Index: HS_24G&BLE_Motion/c
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/c	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/c	(working copy)
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+gensched () {
+if [ -f output/sched.rom ];then rm output/sched.rom; fi
+while [ 1 ];do
+	if [ -n "$1" ];then cat sched/$1.dat >> output/sched.rom; else return; fi
+	shift
+done
+}
+
+#enckey="-k 00000000000000000000000000000000"
+
+cd ${0%/*}
+for f in program/*.prog 
+  do if [[ ! $f =~ "bt.prog" && ! $f =~ "patch.prog" && ! $f =~ "sim.prog" ]] ; then progs="$progs $f"; fi; done
+cat program/bt.prog $progs  > output/bt_program23.meta
+
+case $1 in
+s)
+#	gensched sim usb
+	gensched sim
+#	enckey="-k key -i iv"
+	sed '1,4 c define REVD\ndefine ROMCODE\ndefine SIM' -i output/bt_program23.meta;;
+p)
+	echo 'mem_patch00:0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' > output/sched.rom
+	echo 'mem_lap:00 00 00 00 00 00' >> output/sched.rom
+	sed '3 d' -i output/bt_program23.meta;;
+f)
+	gensched test usb fpga
+	enckey="-k key"
+	sed '2 c define FPGA' -i output/bt_program23.meta;;
+t)
+	echo test;gensched test 109x;;
+d)
+        gensched 109x usb
+	sed '2 c define DONGLE' -i output/bt_program23.meta;;
+m)
+        gensched 109x mouse
+	sed '2 c define MOUSE' -i output/bt_program23.meta;;
+esac
+
+
+for f in format/*.format; do if [[ ! $f =~ "bt.format" && ! $f =~ "command.format" ]] ; then fmts="$fmts $f"; fi; done
+cat format/bt.format $fmts format/command.format > output/bt_format.meta
+perl $UTIL/mergepatch.pl 
+perl $UTIL/memalloc.pl
+cd output
+osiuasm bt_program23 -O-W
+sed 's/\(.*\)\r/\1/' -i bt_program23.meta 
+
+
+defs=( FPGA SIM ROMCODE BLE REVA REVB )
+for i in $(seq 0 $((${#defs[@]} - 1))) ; do
+	grep  "^define ${defs[$i]}$" bt_program23.meta -q
+	tsts[$i]=$?
+done
+
+#for i in $(seq 0 $((${#defs[@]} - 1))) ; do echo test ${tsts[$i]};done
+
+geneep -n $enckey
+
+if [[ $2 == "o" ]];then exit;fi
+
+if [ ${tsts[1]} -eq 0 ] ; then
+	sed '8193,24576d' < romcode.rom > romcode0.rom
+	sed '1,8192d' < romcode.rom > romcode1.rom
+	cp romcode0.rom romcode1.rom ../../sim
+	cp romcode.rom ramcode.rom ../../sim
+	if [ -f eeprom.dat ] ; then cp eeprom.dat ../../sim/ ; fi
+	if [ -f otp.rom ] ; then sed '7 c 1' < otp.rom > ../../sim/otp.rom ; fi
+else
+	if [ ${tsts[0]} -eq 0 ] ; then
+		if [ ${tsts[2]} -eq 0 ] ; then
+			sed '8193,24576d' < romcode.rom > romcode0.rom
+			sed '1,8192d' < romcode.rom > romcode1.rom
+			perl $UTIL/rom2mif.pl < romcode.rom > romcode.mif; mv romcode.mif  ../../fpga/
+			echo fpga
+			if [ -f otp.rom ] ; then perl $UTIL/rom2mif.pl < otp.rom > otp.mif; mv otp.mif ../../fpga/ ; fi
+			if [[ $2 == o ]] ; then exit; fi
+			e ku; e hu ramcode.rom 0
+			e su sched.rom;exit 
+		fi
+#		if [[ $1 == "f" ]] ; then 	../../fpga/p u;sleep 1; e su sched.rom;exit; fi
+	fi
+	if [ ! -s ramcode.rom ] ; then exit; fi
+	if [[ $2 =~ e ]];then 
+		e pu;cd ..;e ep;e ku
+	elif [[ $2 =~ [f] ]];then 
+		e ku;e hu romcode.rom 2000;e hu ramcode.rom 0; e su sched.rom;e ku
+	else
+		if [ -f sched.rom ]; then
+			e ku; e hu ramcode.rom 0;e su sched.rom;e pu;e cu
+		else
+			e ku;e hu
+		fi
+	fi
+fi
+
+cd ..
Index: HS_24G&BLE_Motion/do.bat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/do.bat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/do.bat	(working copy)
@@ -0,0 +1,157 @@
+@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=shutter
+@rem set device_option=antilost
+@rem set device_option=hci
+@rem set device_option=kb
+@set device_option=mouse
+@rem set device_option=le_kb
+@rem set device_option=dongle
+@rem set device_option=module
+@rem set device_option=prcp
+@rem set device_option=car
+@rem set device_option=remote_car
+@echo off
+
+setlocal enabledelayedexpansion
+for /f %%f in ('dir /b /o program\*.prog') do @if not %%f==bt.prog if not %%f==patch.prog if not %%f==sim.prog set progs=!progs! program\%%f
+type program\bt.prog %progs% > output\bt_program23.meta
+for /f %%f in ('dir /b /o format\*.format') do @if not %%f==bt.format if not %%f==command.format set fmts=!fmts! format\%%f
+type format\bt.format %fmts% format\command.format > output\bt_format.meta
+perl util/mergepatch.pl output/bt_program23.meta
+perl util/memalloc.pl output/bt_format.meta
+
+cd output
+osiuasm bt_program23 -O-W
+
+if "%device_option%" equ "hci" (
+  copy ..\sched\hci_boot.dat ..\output\sched.rom
+) else if "%device_option%" equ "kb" (
+copy ..\sched\ssp.dat + ..\sched\kb.dat +  ..\sched\fpga.dat ..\output\sched.rom
+) else if "%device_option%" equ "le_kb" (
+  copy ..\sched\le_kb.dat + ..\sched\fpga.dat ..\output\sched.rom
+) else if "%device_option%" equ "mouse" (
+  copy ..\sched\109x.dat + ..\sched\mouse.dat ..\output\sched.rom
+) else if "%device_option%" equ "module" (
+  copy ..\sched\DM_module.dat + ..\sched\109x.dat ..\output\sched.rom
+) else if "%device_option%" equ "shutter" (
+  copy ..\sched\shutter.dat + ..\sched\109x.dat ..\output\sched.rom
+) else if "%device_option%" equ "antilost" (
+  copy ..\sched\antilost.dat + ..\sched\109x.dat ..\output\sched.rom
+) else if "%device_option%" equ "dongle" (
+  copy  ..\sched\109x.dat + ..\sched\usb.dat ..\output\sched.rom
+) else if "%device_option%" equ "prcp" (
+  copy ..\sched\Le_prcp.dat + ..\sched\fpga.dat ..\output\sched.rom
+) else if "%device_option%" equ "test" (
+  copy ..\sched\test.dat + ..\sched\fpga.dat ..\output\sched.rom
+) else if "%device_option%" equ "car" (
+  copy ..\sched\car.dat + ..\sched\109x.dat ..\output\sched.rom
+) else if "%device_option%" equ "remote_car" (
+  copy ..\sched\remote_car.dat + ..\sched\109x.dat ..\output\sched.rom
+) else (
+
+cd ..
+echo **********************************
+echo Error: illegal device_option !
+echo **********************************
+goto end
+) 
+
+if "%1" equ "eep" (
+	goto genromrevc
+)else (
+  goto downloadram
+)
+
+:geneeprom
+@rem echo on
+@echo Start to generate EEPROM code
+copy ..\sched\mouse.dat ..\output\sched.rom
+
+..\util\geneep ramcode.rom fwram.rom sched.rom %enc% %enckey% a
+perl ..\util\a1bugfix.pl
+osiuasm bt_program23 -O-W
+..\util\geneep ramcode.rom fwram.rom sched.rom %enc% %enckey% a
+goto gen_eep_end
+
+
+
+
+:genromrevb
+echo off
+@echo Start to generate EEPROM code
+..\..\regedr\geneep ramcode.rom fwram.rom sched.rom %enc% %enckey% b
+goto gen_eep_end
+
+
+:genromrevc
+echo off
+@echo Start to generate EEPROM code
+
+geneep -n ramcode.rom sched.rom 0 %enckey% c
+
+ rem geneep -n -k key.txt
+
+cd ..\output
+
+echo eeprom.dat Generated......
+
+if "%device_option%" equ "module" (
+perl eeprom2hciimage_1021s.pl
+echo bt_patch.bin Generated......
+perl bin2array.pl > bt_patch.h
+echo bt_patch.h Generated......
+)
+
+
+:gen_eep_end
+cd ..
+echo **********************************
+echo EEPROM Generated.
+echo The Device is %device_option%. 
+echo Use command "e ep" to download EEPROM.
+echo **********************************
+goto end
+
+
+
+
+:genrom
+@rem echo on
+perl ..\util\rom2mif.pl romcode
+del ..\..\%FPGA_PATH%\romcode.mif
+copy .\romcode.mif ..\..\%FPGA_PATH%\romcode.mif
+perl ..\util\gen_patch_h.pl >%YC_PATCH_FILE%
+copy .\%YC_PATCH_FILE% ..\..\%MV_PATCH%\%YC_PATCH_FILE%
+copy .\%YC_PATCH_FILE% D:\work\yichip\mv_proj\src\inc\%YC_PATCH_FILE%
+cd ..\..\%FPGA_PATH%
+quartus_cdb btspi -c btspi --update_mif
+quartus_asm --read_settings_files=off --write_settings_files=off btspi -c btspi
+quartus_pgm -c USB-Blaster[USB-0] -m jtag -o "p;.\output\btspi.sof" 
+@echo bitstream_compression=on >1
+@echo memory_map_file=on >> 1
+quartus_cpf -c -o 1 -s EP3C55 -d EPCS16 output\btspi.sof output\btspi.jic  
+@rem quartus_pgm -c USB-Blaster[USB-0] -m jtag -o "pi;.\output\btspi.jic"   
+@del 1
+goto end
+
+
+
+:downloadram
+echo on
+@echo Start to download ram code
+e ku
+e hu
+e su sched.rom
+@echo **********************************
+@echo RAM CODE has been downloaded.
+@echo The Device is %device_option%. 
+@echo **********************************
+cd ..
+
+
+:end
Index: HS_24G&BLE_Motion/format/Hid.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/Hid.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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: HS_24G&BLE_Motion/format/app.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app.format	(working copy)
@@ -0,0 +1,324 @@
+
+memalloc(
+
+/* load code */
+1 mem_ucode_status
+2 mem_otp_ucode_flag
+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
+18 mem_check_plap_temp
+
+
+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_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
+4 mem_lpm_delay_after_sniff
+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
+2 mem_0_5_adc_io_data
+2 mem_1v_adc_hvin_data
+2 mem_2v_adc_vinlpm_data
+2 mem_1v_adc_io_data
+2 mem_5v_adc_hvin_data
+2 mem_3v_adc_vinlpm_data
+2 mem_otp_adc_flag
+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
+1 mem_eeprom_wp_gpio
+2 mem_kscan_ptr
+ifdef SPI_SIMULATE
+//spi gpio config
+0 mem_spi_simulate_struct
+1 mem_spi_simulate_cs_gpio
+1 mem_spi_simulate_sclk_gpio
+1 mem_spi_simulate_mosi_gpio
+1 mem_spi_simulate_miso_gpio
+1 mem_spi_simulate_motion_gpio
+//spi slave read byte
+50 mem_spi_simulate_read_byte_slave
+1 mem_spi_simulate_read_byte_slave_temp
+1 mem_spi_simulate_read_length_slave
+1 mem_spi_simulate_read_length_slave_temp
+//spi slave write byte
+50 mem_spi_simulate_write_byte_slave
+1 mem_spi_simulate_write_byte_slave_temp
+1 mem_spi_simulate_write_byte_slave_temp_temp
+1 mem_spi_simulate_write_length_slave
+1 mem_spi_simulate_write_length_slave_temp
+endif
+
+0 mem_key_num_ptr
+2 mem_keyscan_ptr
+
+2 mem_power_param_ptr
+2 mem_24g_head_ptr
+)
+//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
+0x20 FLASH_COMMAND_SECTOR_ERASE
+)
+
+0x0000 otp_ucode_flag
+0x07f0 otp_ucode_aeskey
+
+/* adc data addr and flag */
+(
+0x07e0 OTP_CHIP_FUNCTIONS
+0x07e2 otp_adc_io_0_5V_addr
+0x07e4 otp_adc_hvin_1V_addr
+0x07e6 otp_adc_vinlpm_2V_addr
+0x07e8 otp_adc_io_1V_addr
+0x07ea otp_adc_hvin_5V_addr
+0x07ec otp_adc_vinlpm_3V_addr
+0x07ee otp_adc_flag_addr
+0xaa55 OTP_ADC_FLAG
+)
+
+/* data stored in eeprom */
+(
+0	eeprom_nv_ram
+
+195	eeprom_module_init_flag//2
+
+)
+
+/*mem_app_handshake_flag*/
+(
+0 APP_HANDSHAKE_NULL
+1 APP_HANDSHAKE_DONE
+
+)
+/*mem_device_option*/
+(
+1 dvc_op_hci
+4 dvc_op_dongle
+5 dvc_op_spp
+6 dvc_op_ukey
+7 dvc_op_ir
+
+9 dvc_op_shutter
+10 dvc_op_module
+11 dvc_op_ble_mouse
+12 dvc_op_ble_kb
+13 dvc_op_ble_prcp
+14 dvc_op_car
+15 dvc_op_AntiLost
+16 dvc_op_remote_car
+255 dvc_op_test
+//device option hight 4
+6 dvc_op_mouse
+7 dvc_op_keyboard
+//device option low 2
+(
+0 MODE_3_MOUSE
+1 MODE_4_MOUSE
+)
+)
+
+(
+3 twspi_sclk
+4 twspi_sdio
+)
+
+(
+4 pan_clk_bit
+5 pan_dat_bit
+6 pan_mov_bit
+)
+
+(
+7 otp_uflag_aes
+6 otp_uflag_skip_eep
+5 otp_uflag_skip_flash
+4 otp_uflag_hci
+)
+
+/* ir command */
+(
+1 ircmd_record
+2 ircmd_play
+3 ircmd_write_pulse
+4 ircmd_write_seq
+5 ircmd_write_next
+
+8 ircmd_test_play
+9 ircmd_test_rec
+
+10 ircmd_report_pulse
+11 ircmd_report_seq
+12 ircmd_report_raw
+
+20 ircmd_screen_on
+21 ircmd_screen_off
+)
+
+(
+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
+)
+(
+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
+)
+
Index: HS_24G&BLE_Motion/format/app_antiLost.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_antiLost.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_antiLost.format	(working copy)
@@ -0,0 +1,202 @@
+omemalloc(
+// 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
+)
+
+//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: HS_24G&BLE_Motion/format/app_car.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_car.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_car.format	(working copy)
@@ -0,0 +1,287 @@
+
+
+omemalloc(
+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_24g_received_pac
+400 mem_24g_car_head_ptr
+)
+
+(
+//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
+)
+
+
+
+(
+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: HS_24G&BLE_Motion/format/app_light.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_light.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_light.format	(working copy)
@@ -0,0 +1,34 @@
+omemalloc(
+1 mem_light_pwm0
+1 mem_light_pwm1
+1 mem_light_pwm2
+1 mem_light_pwm3
+1 mem_light_pwm4
+1 mem_light_pwm5
+
+1 mem_light_pairing_enable
+2 mem_light_pairing_timer
+1 mem_light_cnum
+1 mem_light_next_record
+80 mem_light_clist
+
+
+1 mem_light_crr_cmd_count
+1 mem_curr_packet_num
+)
+
+(
+0 LIGHT_GROUP0
+)
+
+(
+0 LIGHT_CMD_PWM0
+1 LIGHT_CMD_PWM1
+2 LIGHT_CMD_PWM2
+3 LIGHT_CMD_PWM3
+4 LIGHT_CMD_PWM4
+5 LIGHT_CMD_PWM5
+6 LIGHT_CMD_AUTO_MODE
+0xff LIGHT_CMD_PAIRING
+
+)
Index: HS_24G&BLE_Motion/format/app_lightc.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_lightc.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_lightc.format	(working copy)
@@ -0,0 +1,30 @@
+omemalloc(
+1 mem_lightc_led_gpio
+6 mem_lightc_row
+6 mem_lightc_col
+
+1 mem_adv_time
+
+20 mem_cmd0_string
+20 mem_cmd1_string
+20 mem_cmd2_string
+20 mem_cmd3_string
+20 mem_cmd4_string
+20 mem_cmd5_string
+20 mem_cmd6_string
+20 mem_cmd7_string
+20 mem_cmd8_string
+20 mem_cmd9_string
+20 mem_cmd10_string
+20 mem_cmd11_string
+20 mem_cmd12_string
+20 mem_cmd13_string
+20 mem_cmd14_string
+20 mem_cmd15_string
+20 mem_cmd16_string
+20 mem_cmd17_string
+20 mem_cmd18_string
+20 mem_cmd19_string
+20 mem_cmd20_string
+)
+
Index: HS_24G&BLE_Motion/format/app_module.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_module.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_module.format	(working copy)
@@ -0,0 +1,221 @@
+
+omemalloc(	
+	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
+
+	//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_le_rx_data_len
+	2 mem_module_le_rx_data_address
+	2 mem_module_le_rx_data_handle
+	//ble write handle
+	2 mem_module_data_write_handle
+	2 mem_module_data_write_handle2
+	//flag
+	1 mem_module_flag
+
+	1 mem_module_hci_notify_len
+	2 mem_module_hci_notify_handle
+	2 mem_module_hci_nofiy_addr
+
+	4 mem_last_transmite_clock
+	
+	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
+)
+
+
+(//mem_module_flag
+//bit0~bit3 config module function
+0 MODULE_FLAG_UART_FLOW_CONTROL
+1 MODULE_FLAG_BLE_SEND_MTU23
+2 MODULE_FLAG_BLE_DATA_ENCRYPT
+
+//bit4~bit7 module states change
+4 MODULE_FLAG_BLE_DATA_FINISH
+5 MOUDLE_TASK_UNSNIFF
+6 MOUDLE_TASK_SNIFF
+
+)
+
+(
+34 NV_DATA_LEN
+-1 DECREASED_ONE
+)
+
+
+
+(
+	10 FLAG_MODULE_READ_VDD_COUNT
+)
+
+(
+	110  DM_REFCOM_BUFF_LEN
+)
+(
+	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
+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
+
+0xff HCI_TEST_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
+0x0b HCI_EVENT_FINISH_PACK_NUM
+0X0C HCI_EVENT_SNIFF_MD_CHANGE
+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
+
+)
+
+
+(//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	PAIRING_PINCODE
+1	PAIRING_JUSTWORK
+2	PAIRING_PASSKEY
+3	PAIRING_CONFIRM
+)
+
+
+(
+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
+)
+
Index: HS_24G&BLE_Motion/format/app_mouse.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_mouse.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_mouse.format	(working copy)
@@ -0,0 +1,432 @@
+
+memalloc(
+2 mem_init_cnt
+)
+//dpi eeprom addr
+
+
+cmemalloc 0(
+// 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_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
+2 mem_mouse_direct_timeout
+2 mem_mouse_no_data_timeout
+2 mem_mouse_discovery_timer
+2 mem_mouse_direct_timer
+2 mem_mouse_no_data_timer
+2 mem_mouse_blank_data_timer
+1 mem_mouse_send_blank_timer
+
+1 mem_mouse_cpi_count
+1 mem_mouse_dpi_button_state
+
+
+//mouse T wheel
+1 mem_wheel_tb_old_pinlevel
+1 mem_wheel_tb_new_pinlevel
+1 mem_wheel_tog 
+1 mem_mouse_tz_data
+1 mem_mouse_tz_data_count
+1 mem_mouse_tz_data_count1
+
+
+1 mem_mwheel_b_old_pinlevel
+1 mem_mwheel_b_new_pinlevel
+1 mem_mwheel_tog 
+1 mem_mouse_z_data
+1 mem_mouse_z_data_count
+1 mem_mouse_z_data_count1
+
+1 mem_reconn_mode
+1 mem_mouse_statue_led_timer  
+1 mem_le_connect_status_flag
+1 mem_le_start_encrypt_timer
+
+7 mem_device_addr_temp
+
+1 mem_adc_read_timer
+1 mem_adc_low_volatage_led_timer_count
+2 mem_adc_reference_voltage
+1 mem_device_number
+2 mem_mouse_flag
+2 mem_mouse_function_enable
+1 mem_combination_select_device_timer_init
+1 mem_combination_select_device_count
+1 mem_select_device_button_statue
+
+1 mem_combination_ui_button_count
+1 mem_bt_discovey_button_statue
+1 mem_sensor_reset_gpio	
+
+1 mem_sensor_id1
+1 mem_sensor_id2
+//eeprom config param
+1 mem_mouse_dpi_led_delay_count
+1 mem_config_sensor_type
+1 mem_config_sensor_motion
+1 mem_lbutton_gpio
+1 mem_rbutton_gpio
+1 mem_mbutton_gpio
+1 mem_bk_button_gpio
+1 mem_fw_button_gpio
+1 mem_dpi_button_gpio
+1 mem_whee_a_data_gpio
+1 mem_whee_b_data_gpio
+1 mem_whee_ta_data_gpio
+1 mem_whee_tb_data_gpio
+1 mem_config_bt_button_gpio
+1 mem_config_select_device_button_gpio
+1 mem_config_paraing_led_gpio
+1 mem_config_low_voltage_alarm_gpio
+1 mem_config_device1_led_gpio
+1 mem_config_device2_led_gpio
+1 mem_config_device3_led_gpio	
+1 mem_sensor_data_gpio
+1 mem_dpi_led_gpio
+1 mem_config_function_enable
+1 mem_config_sensor_angle
+1 mem_select_sensor_angle_gpio
+1 mem_select_adc_gpio
+0 mem_config_end
+//max length 1f								
+4 mem_btclk_sensor
+1 mem_wire_usb_interval
+1 mem_mouse_mode_flag
+1 mem_usb_addr
+3 mem_flash_base
+1 mem_24g_device_number
+1 mem_24g_enter_lpm_timer
+1 mem_mouse_1step_up_count
+1 mem_mouse_2step_up_count
+2 mem_24g_pairing_timer_count
+
+//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
+// sensor led 
+1 mem_mouse_sensor_timer_count
+1 mem_sensor_led_style
+
+//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
+1 mem_reconn_times
+1 mem_reconn_times_init
+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
+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
+0 mem_mouse_information_end
+
+0 mem_mouse_dpi_seting
+1 mem_320x_dpi_1
+1 mem_320x_dpi_2
+1 mem_320x_dpi_3
+1 mem_320x_dpi_4
+
+1 mem_3212_dpi_1
+1 mem_3212_dpi_2
+1 mem_3212_dpi_3
+1 mem_3212_dpi_4
+
+1 mem_3610_dpi_1
+1 mem_3610_dpi_2
+1 mem_3610_dpi_3
+1 mem_3610_dpi_4
+
+1 mem_mouse_24g_enter_lpm_enable
+
+//-------------- patch variable ------------------
+2 mem_le_rx_window_inc
+1 mem_empty_count
+13 mem_rf_init_data_new
+
+1 mem_mouse_clear_sensor_data_flag
+1 mem_mouse_null_enter_hibernate_flag
+1 mem_mouse_null_enter_hibernate_timer
+1 mem_mouse_le_reconnect_flag
+
+33 mem_mouse_data_queue
+1 mem_mouse_data_queue_num
+
+2 mem_random_addr_increase_count
+1 mem_mouse_le_conn_param_reject
+1 mem_lpm_mult_init
+64 mem_mouse_le_uuid_sup
+
+1 mem_mouse_wheel_trigger
+1 mem_mouse_wheel_trigger_timer
+
+1 mem_mouse_enter_sniff_count
+1 mem_mouse_send_switch_req_timer
+
+27 mem_le_tx_buffer0_omemalloc
+27 mem_le_tx_buffer1_omemalloc
+27 mem_le_tx_buffer2_omemalloc
+27 mem_le_tx_buffer3_omemalloc
+
+
+646 mem_mouse_uuid_list
+1 mem_lmi_opcode_temp
+
+1 mem_mouse_long_mult_flag
+1 mem_mouse_le_current_mult_timer
+1 mem_24g_long_sleep_param_update_timer
+1 mem_mouse_mode_config
+
+1 mem_mouse_dpi_blink_count
+1 mem_mouse_adc_last_low_voltage_flag
+
+1 mem_mouse_init_sensor_reset_flag
+
+1 mem_mouse_multi_led_blink_enable
+1 mem_mouse_multi_led_gpio
+1 mem_mouse_multi_led_state
+1 mem_mouse_multi_led_type
+1 mem_mouse_multi_led_on_timer
+1 mem_mouse_multi_led_on_timer_init
+1 mem_mouse_multi_led_blink_timer
+1 mem_mouse_multi_led_blink_timer_init
+1 mem_mouse_multi_led_blink_count
+1 mem_mouse_multi_led_blink_count_limited
+
+1 mem_mouse_multi_led_on_poweron2s_flag
+)
+
+(
+//SPI GPIO 
+0x19 MOUSE_SPI1_CLK_GPIO
+0x1A MOUSE_SPI1_SDIO_GPIO
+0X1E MOUSE_SPI2_CLK_GPIO
+0X1F MOUSE_SPI2_SDIO_GPIO
+//combination
+0x01 MOUSE_L_BUTTON
+0X02 MOUSE_R_BUTTON
+0X04 MOUSE_M_BUTTON
+0X05 MOUSE_LM_BUTTON
+0X06 MOUSE_RM_BUTTON
+0X07 MOUSE_LMR_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
+//bt mode device number
+0x01 MODE_BT_DEVICE1
+0x02 MODE_BT_DEVICE2
+0x03 MODE_BT_DEVICE3
+0x02 MODE_24G_DEVICE
+//mouse  flag
+0X00 WRITE_REQ_ENABLE_FLAG
+0X01 LL_START_ENC_FLAG
+0X02 LL_PAIRING_SUCCESS_FLAG
+
+
+//mouse_function_flag
+0X04 MOUSE_FLAG_LEN
+//1byte
+0X00 MOUSE_SELECT_DEVICE_FLAG
+0X01 MOUSE_CPI_FLAG
+0X02 MOUSE_BT_CANNEL_RECONN_FLAG
+0X03 MOSUE_24G_PAIRING_FLAG
+0X04 MOUSE_LOW_VOLTAGE_FLAG
+0X05 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG
+0X06 MOUSE_LONG_BT_BUTTON_FLAG
+0X07 MOUSE_STORE_EEPROM_FLAG
+0x08 MOUSE_STATUE_UP_FLAG
+0X09 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG
+
+
+//3byte
+0X10 MOUSE_ENABLE_USB
+0X11 MOUSE_ENABLE_24G
+0X12 MOUSE_ENABLE_SPI2
+0X13 MOUSE_ENABLE_FLASH
+0X14 MOUSE_ENABLE_EEPROM
+0X15 MOUSE_ENABLE_STATUE_UP_THREE_LED
+0X16 MOUSE_ENABLE_STATUE_UP
+0X17 MOUSE_ENABLE_DPI_LED_BLINK
+//4byte
+0X18 MOUSE_ENABLE_BLE_RANDOM_ADDRE
+0X19 MOUSE_ENABLE_2K_EEPROM
+0X1A MOUSE_ENABLE_ADC
+0X1B MOUSE_ENABLE_INIT_DELAY
+0X1C MOUSE_ENABLE_DISCOVERY_SENSOR_LED
+0X1D MOUSE_ENABLE_AUTO_24G_PARING
+0X1E MOUSE_ENABLE_WAKEUP_FROM_POWER
+0X1F MOUSE_ENABLE_GPIO_CONTROL_ADC_SENSOR
+
+
+
+//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
+
+
+//mem_config_function_enable
+0 ENABLE_BT_DISCOVERY_BY_GPIO_LED
+1 ENABLE_MODE_LED
+2 ENABLE_LOW_VOLTAGE_LED
+3 ENABLE_DEVICE_LED
+4 ENABLE_BT_BUTTON
+5 ENABLE_SELECT_DEVICE_BY_GPIO_BUTTON
+6 ENABLE_SELECT_DEVICE_BY_SWITCH
+7 ENABLE_SENSOR_MOTION_PIN
+
+0xFF GPIO_DISABLE
+
+
+//DPI button state 
+0x00 DPI_BUTTON_STATE_DOWN
+0x01 DPI_BUTTON_STATE_UP
+
+
+//eeprom address offect
+0X00 MOUSE_INFO_EEPROM_OFFECT
+0X5A MOUSE_DPI_EEPROM_OFFECT	//1byte
+0X5B MOUSE_G24_ADDR_EEPROM_OFFECT	//4bytes
+0X5F MOUSE_RANDOM_ADDR_COUNT_EEPROM_OFFSET	//2bytes
+0X61 MOUSE_DEVICE_MODE_EEPROM_OFFSET	//1byte	
+0X62 MOUSE_EEPROM_MODULE_INIT_FLAG		//eeprom_module_init_flag 2bytes
+
+
+// Sensor id number
+0x30 P32XX_ID1
+0x31 P3065_ID1
+0x3E P3610_ID1
+0x02 P3212_ID2
+0xD1 P3205_TJ3T_ID2
+0XD2 P3204_TJ3L_ID2
+0x54 PKA8_ID2
+0x70 P3065_XY_ID2
+
+
+//Sensor type
+0X00 P3205
+0X01 P3065
+0X02 KA8
+0X03 P3204
+0X04 P3212
+0X05 P3610
+0X06 P3065_XY
+
+
+//p3610 smart enable flag
+0X00 P3610_SMART_ENABLE
+0X01 P3610_SMART_DISABLE
+
+
+//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
+
+
+0x06 MOUSE_FPGA_RF_WORK_DEBUG_GPIO
+0x02 MOUSE_FPGA_DEBUG_GPIO
+
+)
+
+(
+0x01 ADV_FLAG_LIMITED_DISCOVERABLE
+0x04 ADV_FLAG_BREDR_NOT_SUPPORTED
+)
+
+(
+5 TEST_GPIO
+)
+
+(
+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
+)
+
+(
+0x017700 G24_LONG_SLEEP_STEP1	//8ms
+0x36ee80 G24_LONG_SLEEP_STEP2	//300ms
+)
+
+
+(
+0 MOUSE_24G_ONLY
+1 MOUSE_BLE_ONLY
+2 MOUSE_BT_ONLY
+3 MOUSE_BLE_24G_ENABLE
+4 MOUSE_BT_BLE_24G_ENABLE
+)
+(
+0 MULTI_LED_ON
+1 MULTI_LED_BLINK
+)
\ No newline at end of file
Index: HS_24G&BLE_Motion/format/app_remote_car.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_remote_car.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_remote_car.format	(working copy)
@@ -0,0 +1,150 @@
+
+omemalloc(
+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_24g_enter_lpm_enable
+1 mem_remote_car_empty_packet
+400 mem_24g_RC_head_ptr
+)
+
+
+(
+// eeprom config
+0xb0 REMOTE_PARAM_EEPROM_CONFIG_ADDR
+
+)
+
+
+(
+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: HS_24G&BLE_Motion/format/app_shutter.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_shutter.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_shutter.format	(working copy)
@@ -0,0 +1,252 @@
+
+
+omemalloc(
+
+////////////////////////////////////
+//shutter common config
+1 mem_shutter_bluetooth_type
+////////////////////////////////////
+
+//shutter config name by GPIO
+1 mem_shutter_config_enable
+2 mem_shutter_config_otp_base_address
+1 mem_shutter_config_size
+1 mem_shutter_config_select_gpio1
+1 mem_shutter_config_select_gpio2
+1 mem_shutter_config_select_gpio3
+
+2 mem_shutter_config_user_otp_address
+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_dav_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
+
+)
+
+
+
+
+(
+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
+0x913A	BLE_SHUTTER_GATT_LIST
+0x92B8	CLASSIC_SHUTTER_SDP_LIST
+0x949F	BLE_SHUTTER_KEY_VALUE_LIST
+0x94C7	CLASSIC_SHUTTER_KEY_VALUE_LIST
+)
+
+
+(//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: HS_24G&BLE_Motion/format/app_usb.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_usb.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/app_usb.format	(working copy)
@@ -0,0 +1,203 @@
+
+omemalloc(
+
+)
+
+//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
+)
+
+(
+4 USB_STATUS_SETUP
+6 USB_STATUS_NAK
+)
+
+(
+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
+0x01 MAC_BOOT_MODE
+0x02 R_KEY
+0x03 LR_KEY
+)
+
+(
+0x8ffa	HID_KBDATA_ADDR
+0x903a	HID_MSDATA_ADDR
+0x90fe	HID_CONFDATA_ADDR
+)
+
+
+(
+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
+)
+
+
+(
+0x1A0 AT_baud_115200
+0x4e2 AT_baud_38400
+0x1388 AT_baud_9600
+)
+
+(
+0x4e00 mem_module_rx_buf//0x400
+0x4fff mem_module_rx_buf_end
+0x1c00 mem_module_tx_buf
+0x1fff mem_module_tx_buf_end
+)
+
+(
+0x01 BIND_ACKPAYLOAD
+0x02 USER_ACKPAYLOAD
+
+0xcf CMD_OTA
+0xc0 CMD_OTA_START
+0xc1 CMD_OTA_DATA
+0xc2 CMD_OTA_EXIT
+0x55 OTA_STA_SUCCESS
+0xaa OTA_STA_FAIL
+)
+
+(
+0 TIMER_NAK
+640 TIMER_NAK_DELAY
+15 TIMER_WAKEUP
+5000 TIMER_WAKEUP_DELAY
+)
+
Index: HS_24G&BLE_Motion/format/bt.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/bt.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/bt.format	(working copy)
@@ -0,0 +1,1026 @@
+
+	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
+
+3 mem_hci_version
+2 mem_acl_pktlen
+1 mem_sco_pktlen
+2 mem_acl_pktcnt
+2 mem_sco_pktcnt
+
+1 mem_current_sniff_attempt
+1 mem_current_sniff_timeout
+1 mem_sniff_timeout_temp
+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
+	
+
+/* sco & esco */
+1 mem_air_mode
+1 mem_sco_asso_handle
+2 mem_sco_handle
+1 mem_esco_desco
+1 mem_esco_type
+1 mem_neogotiation_state
+1 mem_saved_amaddr
+1 mem_esco_arq
+1 mem_esco_saved_arq
+30 mem_sco_obuf
+30 mem_sco_ibuf
+1 mem_sco_poll
+
+
+
+//page
+1 mem_npage_index
+1 mem_page_mode
+4 mem_page_clk
+
+
+/* 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
+
+
+/*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
+
+
+//debug
+1 mem_debug_config
+1 mem_lch_code
+1 mem_fhs_am_addr
+2 mem_dpll_error
+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
+)
+
+
+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  */
+80 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_mul
+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_chip_functions
+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] */
+3 mem_lpm_config				
+
+1 mem_lpm_xtalcnt
+1 mem_lpm_buckcnt
+1 mem_lpm_ldocnt
+1 mem_lpm_isogate
+1 mem_lpm_isogate_final
+16 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
+
+/*Peripherals*/
+1 mem_uartd_rxitems_got_data
+1 mem_uartd_rxitems_threshold
+2 mem_uartd_rx_timeout
+
+1 mem_loadcode_times
+
+1 mem_tx_lch
+2 mem_tx_len
+
+1 mem_tx_power
+
+1 mem_context_number
+
+1 mem_250k_freq_enable
+
+ifdef DEBUG_RF_INIT
+1 mem_rf_init_data
+endif
+)
+
+(//bluetooth tx power
+0 TX_POWER_0DB
+1 TX_POWER_3DB
+2 TX_POWER_5DB
+3 TX_POWER_f3DB
+4 TX_POWER_f5DB
+
+0x20 TX_POWER_PAIR
+)
+
+
+ifdef RAM_VERSION
+0x4b17 rom_lpm_sleep
+0x4b1d rom_lpm_enter_sleep
+0x4b16 rom_lpm_write_ctrl
+0x6b1a rom_otpd_read_data
+0x6ada rom_otp_write
+else
+0x3b17 rom_lpm_sleep
+0x59e0 rom_save_ucode
+
+0x4219 rom_mem_lpm_xtalcnt
+0x423b rom_mem_patch_ptr
+0x423d rom_mem_patch_len
+
+0x5b1a rom_otpd_read_data
+0x5ada rom_otp_write
+endif
+	/* 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
+
+80 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
+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
+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
+339 param_acl_pktlen
+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
+0x12e904 param_hci_version
+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 */
+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        contru  /* contr 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       contwu   /* 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       interrupts    /* 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 */
+21       ctrl_reg     /* 2023 and after */
+22       jtag_addr    /* load jtag address field, lsb */
+23       freq_index   /* 7 bit read only */
+24       jtag_data    /* wdata to and rdata from jtag */
+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
+/* wire even_train    = freq_mode[4];    // odd even train                            */
+/* wire conn_mode     = 3;    // connection                                           */
+/* wire iqpgscan_mode = 2;    // slave in inquiry and page (not response)             */
+/* wire iqpgresp_mode = 1;    // slave in inquriy and page (response only)            */
+/* wire inqypage_mode = 0;    // master in inquiry and page(response or not response) */
+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 */
+43       host_mode         /* generic stuff for kick starts */
+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		
+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 - 47 */
+(
+
+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_flag
+15 mark_old_packet
+16 mark_longpacket
+17 mark_testmode
+18 mark_ar2
+19 mark_h5tx_rp
+20 mark_h5tx_crc	
+21 mark_h5tx_retransmit
+22 mark_h5rx_pstart
+23 mark_h5_sync
+24 mark_h5_reinit
+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_conext
+40 mark_eeprom_size
+// REVAB:max 35, REVC:max 63
+41 mark_ble_tx_md
+42 mark_ble_rx_md
+43 mark_otp_encrypt
+44 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
+ 
+)
+
+(
+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
+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 send_sco_when_slave
+5 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                            */ 
+
+(
+0 llid0
+1 llid1
+2 nesn
+3 sn
+4 md
+5 wak
+)
+
+/* 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
+)
+
+//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
+
+)
+
+(
+0 bt_disabled
+1 ble_disabled
+2 module_disable
+
+)
+
+(
+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: HS_24G&BLE_Motion/format/command.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/command.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/command.format	(working copy)
@@ -0,0 +1,1384 @@
+
+/* 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
+  ! 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
+  ! 0x0c store          /* write to memory, data from pdata, address from immediate then mem_ptr */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 0
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0c hstore          /* write to memory, data from pdata, address from immediate then mem_ptr */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 1
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x1c istore        /* write to memory, data from pdata, address from regr then mem_ptr */
+  % num_bytes
+  % reg
+  [5] opcode
+  [6] reg            /* hold address */
+  [1] 0
+  [1] 0
+  [4] num_bytes
+  [15] 0
+end
+
+format
+  ! 0x0d fetch          /* read from memory, data into pdata, address from immediate then mem_ptr */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 0
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0d hfetch          /* read from memory, data into pdata, address from immediate then mem_ptr */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 1
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0d crc         /* read from memory, count from loopcnt, put crc result into pdata */
+  % addr
+  [5] opcode
+  [6] 0
+  [1] 0
+  [1] 0
+  [4] 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] reg             /* hold address */
+  [1] 0
+  [1] 0
+  [4] 0
+  [15] 0
+end
+
+
+format
+  ! 0x1d ifetch         /* read from memory, data into pdata, address from regr then mem_ptr */
+  % num_bytes
+  % reg
+  [5] opcode
+  [6] reg             /* hold address */
+  [1] 0
+  [1] 0
+  [4] num_bytes
+  [15] 0
+end
+
+format
+  ! 0x0c storet          /* write to memory, data from temp, address from immediate won't increment */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 0
+  [1] 1
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0c hstoret          /* write to corereg, data from temp, address from immediate won't increment */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 1
+  [1] 1
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x1c istoret        /* write to memory, data from temp, address from regr won't increment */
+  % num_bytes
+  % reg
+  [5] opcode
+  [6] reg            /* hold address */
+  [1] 0
+  [1] 1
+  [4] num_bytes
+  [15] 0
+end
+
+format
+  ! 0x0d fetcht          /* read from memory, data into temp, address from immediate won't increment */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 0
+  [1] 1
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0d hfetcht          /* read from corereg, data into temp, address from immediate won't increment */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 1
+  [1] 1
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x1d ifetcht         /* read from memory, data into temp, address from regr won't increment */
+  % num_bytes
+  % reg
+  [5] opcode
+  [6] reg             /* hold address */
+  [1] 0
+  [1] 1
+  [4] num_bytes
+  [15] 0
+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 mult                  /* immediate mult regr */  /* the product will be ready 17 clks later */
+  % immediate                                   /* use "product" instruction to get the result */
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 16                   /* generate diven pulse to div */
+  [6] null
+  [9] immediate
+end
+
+format
+  ! 0x13 imult           /* pdata mult regr */  /* the product will be ready after 15 nops */
+  % reg                                         /* use product opcode to get the result */
+  [5] opcode
+  [6] reg
+  [6] 16                   /* generate mult pulse to multiplier */
+  [6] null
+  [9] 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
+  ! 3 product              /* harvest mult product */
+  % regw
+  [5] opcode
+  [6] 0
+  [6] 17
+  [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: HS_24G&BLE_Motion/format/g24.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/g24.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/g24.format	(working copy)
@@ -0,0 +1,460 @@
+
+cmemalloc 0 (
+34 mem_24g_rxbuf
+32 mem_24g_txbuf
+34 mem_24g_txpayload
+32 mem_24g_rxpayload
+1 mem_24g_rxdata_length
+1 mem_24g_pid
+1 mem_24g_datalen
+1 mem_24g_data_type
+1 mem_24g_txlen
+2 mem_24g_rx_window
+1 mem_24g_ensure
+2 mem_24g_txfail_cnt
+1 mem_24g_get_ack_fail
+1 mem_24g_retry
+1 mem_24g_ch
+1 mem_24g_current_ch_number
+4 mem_24g_paring_addr
+1 mem_24g_pairing_sm
+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
+4 mem_24g_addr
+1 mem_24g_abort_pac
+2 mem_24g_check_dongle_times
+
+8 mem_24g_enter_hibernate
+4 mem_24g_device_addr
+1 mem_24g_pac_index
+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_max_retry
+1 mem_24g_mode
+
+34 mem_24g_rxdata_temp
+4 mem_24g_rx_addr
+1 mem_dongle_mode_init
+1 mem_dongle_work_mode
+1 mem_dongle_ms_bind_step
+1 mem_dongle_kb_bind_step
+1 mem_dongle_bind_device_status
+8 mem_24g_bind_payload
+1 mem_24g_abort_packet
+1 mem_24g_rf_laststa
+4 mem_24g_hop_btclk
+1 mem_24g_hop_interval
+1 mem_24g_mode_switch
+1 mem_24g_ackpayload_enable
+1 mem_24g_hop_packet
+1 mem_24g_pair_mode
+1 mem_24g_nodata_timer_enable
+1 mem_24g_time_slice
+8 mem_24g_kb_data_sta_data
+8 mem_24g_kb_data_last_data
+3 mem_24g_kb_multikey_sta_data
+3 mem_24g_kb_multikey_last_data
+1 mem_24g_kb_blank_data_enable
+1 mem_24g_kb_mul_blank_data_enable
+1 mem_24g_ms_blank_data_enable
+4 mem_24g_kb_addr
+4 mem_24g_ms_addr
+
+1 mem_24g_dg_last_ch
+1 mem_24g_dg_ch_number
+1 mem_24g_dg_config_ch_once
+1 mem_24g_kb_last_ch
+1 mem_24g_kb_ch_number
+1 mem_24g_kb_config_ch_once
+1 mem_24g_ms_last_ch
+1 mem_24g_ms_ch_number
+1 mem_24g_ms_config_ch_once
+
+2 mem_24g_syncword
+1 mem_24g_syncword_crc8
+1 mem_24g_get_syncword_crc8
+2 mem_24g_ota_sta_pid
+
+1 mem_tx_power_temp
+
+1 mem_rssi_hex
+1 mem_rssi_noise_avg
+1 mem_rssi_noise_index
+1 mem_rssi_signal_index
+1 mem_rssi_noise_dg_avg
+1 mem_rssi_noise_kb_avg
+1 mem_rssi_noise_ms_avg
+1 mem_rssi_noise_dg_index
+1 mem_rssi_noise_kb_index
+1 mem_rssi_noise_ms_index
+8 mem_rssi_signal_buf
+
+1 mem_queue_ele_num
+2 mem_queue_read
+2 mem_queue_write
+0 mem_queue_start
+32 mem_data_ele0
+32 mem_data_ele1
+32 mem_data_ele2
+0 mem_queue_end
+2 mem_queue_temp
+
+2 mem_cb_24g_data
+1 mem_24g_hop_fastly_cnt
+1 mem_24g_hop_pac_retry
+1 mem_24g_rf_hop_ch
+1 mem_24g_rf_last_sta
+1 mem_24g_rf_work_stage
+1 mem_24g_sync_cnt
+1 mem_power_ctrl_pac_succ_cnt
+1 mem_rssi_avg_received
+1 mem_rssi_hex_received
+1 mem_power_ctrl_level
+
+1 mem_seqi
+1 mem_24g_auto_paring_switch
+1 mem_24g_paccnt
+1 mem_24g_transmit_by_interrupt
+1 mem_24g_transmit_by_interrupt_exit_count
+)
+
+(
+//add
+0   offset_24g_rxbuf
+1   offset_24g_rxbuf_add1
+2   offset_24g_rxbuf_add2
+34  offset_24g_txbuf
+66  offset_24g_txpayload
+100 offset_24g_rxpayload
+102 offset_24g_rxpayload_add2
+132 offset_24g_rxdata_length
+133 offset_24g_pid
+134 offset_24g_datalen
+135 offset_24g_data_type
+136 offset_24g_txlen
+137 offset_24g_rx_window
+139 offset_24g_ensure
+140 offset_24g_txfail_cnt
+141 offset_24g_get_ack_fail
+142 offset_24g_tx_without_int
+143 offset_24g_retry
+144 offset_24g_ch
+145 offset_24g_current_ch_number
+146 offset_24g_paring_addr
+150 offset_24g_pairing_sm
+151 offset_24g_ch_map1
+155 offset_24g_ch_map2
+159 offset_24g_ch_map3
+163 offset_24g_ch_map4
+167 offset_24g_tx_btclk
+171 offset_24g_interval
+172 offset_24g_interval_min
+173 offset_24g_interval_max
+174 offset_24g_addr
+178 offset_24g_abort_pac
+179 offset_24g_sync_pac
+180 offset_24g_hop_pac
+181 offset_24g_check_dongle_times
+182 offset_24g_enter_hibernate
+190 offset_24g_device_addr
+194 offset_24g_pac_index
+195 offset_24g_no_ack
+196 offset_24g_sta_crc
+199 offset_24g_last_crc
+202 offset_24g_sta_pid
+203 offset_24g_last_pid
+204 offset_24g_max_retry
+205 offset_24g_mode
+206 offset_24g_rf_last_sta
+207 offset_24g_rf_hop_ch
+208 offset_24g_sync_cnt
+209 offset_24g_hop_pac_retry
+210 offset_24g_rf_work_stage
+211 offset_24g_hop_fastly_cnt
+212 offset_24g_short_sleep_timer
+216 offset_24g_cb_data
+218 offset_24g_cb_lpm_prepare
+220 offset_24g_cb_lpm_before
+222 offset_24g_cb_rxdata_type1
+224 offset_rssi_signal_index
+225 offset_rssi_signal_avg
+226 offset_rssi_signal_buf
+234 offset_rssi_noise_index
+235 offset_rssi_noise_avg
+236 offset_rssi_noise_buf
+244 offset_rssi_ctrl_threshold_down
+245 offset_rssi_noise_dg_index
+246 offset_rssi_noise_kb_index
+247 offset_rssi_noise_ms_index
+248 offset_rssi_noise_dg_avg
+249 offset_rssi_noise_kb_avg
+250 offset_rssi_noise_ms_avg
+251 offset_tx_power_temp
+252 offset_power_ctrl_packet_cnt
+253 offset_power_ctrl_ack_cnt
+254 offset_power_ctrl_level
+255 offset_power_ctrl_txpwr_level2
+//iadd
+256 offset_power_ctrl_txpwr_level1
+257 offset_power_ctrl_txpwr_level0
+258 offset_power_ctrl_threshold_up
+259 offset_power_ctrl_threshold_down
+260 offset_dongle_mode_init
+261 offset_dongle_work_mode
+262 offset_dongle_ms_bind_step
+263 offset_dongle_kb_bind_step
+264 offset_dongle_bind_device_status
+265 offset_24g_rxdata_temp
+267 offset_24g_rxdata_temp_add2
+268 offset_24g_rxdata_temp_add3
+269 offset_24g_rxdata_temp_add4
+299 offset_24g_rx_addr
+303 offset_24g_bind_payload
+304 offset_24g_bind_payload_add1
+305 offset_24g_bind_payload_add2
+309 offset_24g_rf_laststa
+310 offset_24g_hop_btclk
+314 offset_24g_hop_interval
+315 offset_24g_ackpayload_enable
+316 offset_24g_ackpayload
+348 offset_24g_mode_switch
+349 offset_24g_pair_mode
+350 offset_24g_nodata_timer_enable
+351 offset_24g_time_slice
+352 offset_24g_mouse_addr
+356 offset_24g_kb_addr
+360 offset_24g_kb_data_sta_data
+368 offset_24g_kb_data_last_data
+376 offset_24g_kb_multikey_sta_data
+379 offset_24g_kb_multikey_last_data
+382 offset_24g_kb_blank_data_enable
+383 offset_24g_kb_mul_blank_data_enable
+384 offset_24g_ms_blank_data_enable
+385 offset_24g_dg_last_ch
+386 offset_24g_dg_ch_number
+387 offset_24g_dg_config_ch_once
+388 offset_24g_kb_last_ch
+389 offset_24g_kb_ch_number
+390 offset_24g_kb_config_ch_once
+391 offset_24g_ms_last_ch
+392 offset_24g_ms_ch_number
+393 offset_24g_ms_config_ch_once
+394 offset_24g_pair_txpower
+395 offset_24g_auto_pair_switch
+)
+
+(
+3 QUEUE_ELE_COUNT
+32 QUEUE_ELE_LENGTH
+)
+
+(
+3 retry_24g
+1 NO_ACK_24G
+0 WITH_ACK_24G
+
+0 ENSURE_OFF_24G
+1 ENSURE_ON_24G
+
+0x10 ABORT_DATA
+0x40 RSSI_SENSITIVITY
+
+0x4e G24_PAIR_CH
+)
+
+(
+0 disable_24g
+1 tx_24g
+2 rx_24g
+
+0 bit_ack_24g
+)
+
+//mem_24g_interrupt
+(
+0 rx_dr
+1 rx_sync
+4 tx_ds
+5 tx_fail
+)
+
+//mem_24g_data_type
+(
+0x07 bits_data
+//0-2 data type
+3 bit_abort
+4 bit_hop
+5 bit_sync
+//6-7 channel offset
+)
+
+
+
+//mem_24g_pairing_sm
+(
+0 STATE_24G_PAIRING_NULL
+1 STATE_24G_PAIRING_1
+2 STATE_24G_PAIRING_2
+3 STATE_24G_PAIRING_3
+0X11 STATE_24G_PAIRING_1_WAITING_ACK
+0X12 STATE_24G_PAIRING_2_WAITING_ACK
+0X13 STATE_24G_PAIRING_3_WAITING_ACK
+0XFF STATE_24G_PAIRING_SUCCESS
+)
+
+(
+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
+)
+
+(
+0x01 DATATYPE_MOUSE	//mouse
+0x02 DATATYPE_KEYBOARD	//keyboard
+0xAA DATATYPE_BIND		//bind step 1
+0x55 DATATYPE_CONFIG	//bind step 2
+0x22 DATATYPE_OK	//bind step 3
+
+0x01 BIND_MOUSE
+0x02 BIND_KEYBOARD
+)
+
+(
+112 G24_DONGLE_ADDR
+)
+
+(
+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
+)
+
+//user defined cmd
+(
+0xb0 COMMAND_USER_DEFINED
+)
+
+(
+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
+320 TIMER_MS_BLANK_DELAY
+
+12 TIMER_KB_MUL_BLANK
+320 TIMER_KB_MUL_BLANK_DELAY
+
+14 TIMER_KB_BLANK
+320 TIMER_KB_BLANK_DELAY
+)
+
+(
+0 KB_NORMAL_REPORT_ID
+1 MS_REPORT_ID
+3 KB_MULTIKEY_REPORT_ID
+)
+
+(
+7 RSSI_BUF_LEN_SIGNAL
+255 RSSI_BUF_LEN_NOISE
+0x50 RSSI_THRESH_NOISE
+
+0x77 RSSI_DIS_MIN_24G
+0x82 RSSI_DIS_MAX_24G
+
+0x75 RSSI_DIS_MIN_BLE
+0x80 RSSI_DIS_MAX_BLE
+)
+
+(
+//power control
+0x01 TXPWR_0DB
+0x02 TXPWR_3DB
+0x04 TXPWR_5DB
+0x10 TXPWR_f5DB
+
+124 POWER_CTRL_MAX_PACKET_CNT
+
+2 POWER_CTRL_LOSSPAC_THRESH_UP0
+0 POWER_CTRL_LOSSPAC_THRESH_DOWN0
+0x20 POWER_CTRL_RSSI_THRESH_DOWN0
+
+5 POWER_CTRL_LOSSPAC_THRESH_UP1
+0 POWER_CTRL_LOSSPAC_THRESH_DOWN1
+0x60 POWER_CTRL_RSSI_THRESH_DOWN1
+
+10 POWER_CTRL_LOSSPAC_THRESH_UP2
+0 POWER_CTRL_LOSSPAC_THRESH_DOWN2
+0x80 POWER_CTRL_RSSI_THRESH_DOWN2
+)
+
+//mem_send_data_24g_short_lpm
+(
+0 SHORT_LPM_STATE_POLLING 	
+1 SHORT_LPM_STATE_DATA
+2 SHORT_LPM_STATE_NODATA
+3 SHORT_LPM_STATE_BUTTON_WHEEL
+)
+
+(
+81000 G24_8125_INTERVAL_PARAM
+78000 G24_78125_INTERVAL_PARAM
+)
+
+(
+1 G24_TX_TIMER_INT_ENABLE
+0 G24_TX_TIMER_INT_DISABLE
+)
+
Index: HS_24G&BLE_Motion/format/hci.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/hci.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/hci.format	(working copy)
@@ -0,0 +1,570 @@
+
+
+memalloc(
+1 mem_h5rx_ackcnt
+1 mem_check_err_acl_cont
+
+1 mem_rp_packets
+2 mem_packet_type
+
+2 mem_hci_sniff_conn_handle
+2 mem_hci_sniff_max_interval
+2 mem_hci_sniff_min_interval
+2 mem_hci_sniff_attempt
+2 mem_hci_sniff_timeout
+2 mem_voice_setting
+1 mem_retransmission_effort
+2 mem_sco_ptype
+3 mem_extm_uap_restore
+
+2 mem_h5rx_rptr
+1 mem_h5rx_ack
+1 mem_h5tx_ack
+2 mem_h5tx_rptr
+2 mem_h5tx_wptr
+2 mem_h5tx_free
+1 mem_h5rx_tmp
+1 mem_h5tx_seq
+
+2 mem_hci_acl_queue_wptr
+2 mem_hci_acl_queue_rptr
+2 mem_hci_acl_queue_end
+1 mem_hci_acl_queue_wcnt
+1 mem_hci_acl_cnt
+
+2 mem_hci_acl_tx_trigger_wptr //tx via uart
+
+
+1 mem_hci_curr_len
+2 mem_hci_curr_target 
+) 
+
+xmemalloc(
+
+2 mem_baud
+1 mem_hci_lt_rx_state
+)
+
+15 hci_flag_rp
+//mem_hci_options bit map
+(
+1 hci_option_h4
+2 hci_option_protocol2
+3 hci_option_protocol3
+4 hci_option_uart
+5 hci_option_usb
+6 hci_option_phy2
+7 hci_option_phy3
+)
+// UART baud rate @6MHz
+(
+0 uart_ctrl_bit_enable
+3 uart_ctrl_bit_slip_protocol
+
+)
+
+//bit map of core_uart_ctrl
+(
+
+)
+//bit map of core_uart_status
+(
+0 uart_status_tx_fifo_full
+1 uart_status_tx_fifo_empty
+2 uart_status_tx_busy
+3 uart_status_rx_fifo_empty
+
+)
+//HCI H4 LOG related
+(
+0x4850 mem_hci_log
+8 hci_log_size
+100 hci_log_cnt
+
+)
+//HCI H4 Packet TYPE
+(
+0x01 HCI_H4_TYPE_CMD
+0x02 HCI_H4_TYPE_ACL
+0x04 HCI_H4_TYPE_EVENT
+
+)
+// HCI command opcode group field values
+(
+0x01 HCI_OGF_LINK_CONTROL
+0x02 HCI_OGF_LINK_POLICY
+0x03 HCI_OGF_BASEBAND
+0x04 HCI_OGF_INFO
+0x05 HCI_OGF_STATUS
+0x06 HCI_OGF_TEST
+0x08 HCI_OGF_LOW_ENERGY
+0x3e HCI_OGF_LOGO_TESTING
+0x3f HCI_OGF_VENDOR_SPECIFIC
+)
+
+// 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
+)
+
+//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
+)
+
+(
+0x00 HCI_LPM_OFF
+0x01 HCI_LPM_ON
+)
+
+
+(
+33 HOST_WAKE_TIME
+)
+
+(
+1 HCI_RX_WAKE
+0 HCI_RX_READY
+)
+
Index: HS_24G&BLE_Motion/format/kscan_peipherals.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/kscan_peipherals.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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: HS_24G&BLE_Motion/format/l2cap.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/l2cap.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/l2cap.format	(working copy)
@@ -0,0 +1,442 @@
+
+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
+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: HS_24G&BLE_Motion/format/le.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/le.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/le.format	(working copy)
@@ -0,0 +1,723 @@
+
+memalloc(
+56 mem_le_rxbuf
+262 mem_le_l2capbuf
+
+
+/* security temp */
+4 mem_le_mic
+4 mem_le_peer_mic
+//8 mem_le_skdm
+//8 mem_le_skds
+16 mem_le_peer_ltk
+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
+
+2 mem_le_no_using
+1 mem_le_peer_sca
+
+/* should be together */
+1 mem_le_att_opcode
+2 mem_le_att_handle
+
+1 mem_le_err_code
+1 mem_le_ll_pairing_fail_reason
+
+16 mem_le_sk
+
+/* test */
+1 mem_le_testtype
+2 mem_le_test_sync
+2 mem_le_test_pcnt
+
+6 mem_le_rxon_ts
+
+1 mem_le_rx_ll_opcode
+
+2 mem_le_notify_attr_start
+1 mem_le_notify_len
+
+1 mem_cmd_le_create_conn
+
+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
+
+1 mem_le_curr_att_len
+1 mem_le_search_res
+
+1 mem_le_continue_type
+
+)
+
+
+xmemalloc(
+2 mem_le_dsniff
+
+// parameters
+2 mem_le_conn_interval
+1 mem_le_scan_enable
+2 mem_le_scan_interval
+2 mem_le_scan_window
+
+1 mem_le_adv_enable
+1 mem_le_adv_data_len
+31 mem_le_adv_data
+1 mem_le_scan_data_len
+31 mem_le_scan_data
+
+//modified name
+1 mem_le_name_len
+30 mem_le_name
+
+
+5 mem_le_new_map
+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
+
+1 mem_le_txheader
+1 mem_le_txlen
+2 mem_le_txpayload
+2 mem_le_txcid
+1 mem_le_l2cap
+1 mem_le_l2cap_response
+31 mem_le_txbdy
+
+/* smp related */
+5 mem_le_pcnt_tx
+5 mem_le_pcnt_rx
+4 mem_le_last_mic
+4 mem_le_ivm
+4 mem_le_ivs
+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_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
+2 mem_le_notify_handle
+1 mem_le_search_uuid_length
+16 mem_le_search_uuid
+
+
+//START of LE adv parameter structure
+0 mem_le_adv_param
+2 mem_le_adv_interval
+1 mem_le_adv_type
+1 mem_le_adv_own_addr_type
+1 mem_le_adv_direct_addr_type
+6 mem_le_adv_direct_addr
+1 mem_le_adv_channel_map
+//END of LE adv parameter structure
+
+//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
+
+//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
+
+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_enable
+1 mem_le_secure_connect_flag
+1 mem_le_sc_calc
+1 mem_le_secure_connect_state
+1 mem_le_sc_confirm_gkey_flag
+1 mem_le_sc_local_key_invalid
+
+
+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
+
+//for continue
+2 mem_le_l2cap_size
+1 mem_le_packet_len_recved
+
+//for fifo
+1 mem_le_tx_buff_used
+2 mem_le_tx_ptr0
+2 mem_le_tx_ptr1
+2 mem_le_tx_ptr2
+2 mem_le_tx_ptr3
+
+//ble gatt signaling
+1 mem_le_signaling_identifier
+2 mem_le_l2cap_signaling_conn_param_update_rsp_result
+
+1 mem_le_packet_size
+1 mem_le_packet_llid
+2 mem_le_payload_ptr
+
+1 mem_le_md_count
+
+)
+
+
+(
+0x000001 param_le_features
+0x000a06 param_le_version
+0x1d87 param_le_subversion
+1636 param_sifs
+0x1e0 param_clke_cal_le
+0xa0 param_le_sca
+)
+
+(
+0 DEFAULT_STATES
+1 IPHONE_LOST_LTK
+2 MODULE_LOST_LTK
+3 LTK_NOT_LOST
+)
+
+
+(
+27 LE_MAX_PAKET_LEN
+)
+
+/* advertising channel PDU type */
+(
+0 ADV_IND
+1 ADV_DIRECT_IND
+2 ADV_NONCONN_IND
+3 SCAN_REQ
+4 SCAN_RSP
+5 CONNECT_REQ
+6 ADV_SCAN_IND
+)
+
+(
+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
+0xff	GAP_ADTYPE_MANUFACTURER_SPECIFIC
+)
+
+
+	/* LE control packet type */
+	(
+	0x00 LL_CONNECTION_UPDATE_REQ
+	0x01 LL_CHANNEL_MAP_REQ
+	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
+	)
+
+	/* 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
+	)
+
+	/* L2CAP Signaling OPCODE */
+	(
+	0x12 L2CAP_CONNECTION_PARAMETER_UPDATE_REQUEST
+	0x13 L2CAP_CONNECTION_PARAMETER_UPDATE_RESPONSE
+	)
+
+	/* 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
+	)
+	/*	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
+	)
+
+	(// 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
+	)
+
+
+	//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
+	)
+
+
+	//modified_name
+	(
+	0x14 MAX_NAME_LEN
+	0x16 ADV_DATA_NAME_LEN
+	0X20 SPACE
+	
+	)
+	/* 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
+	)
+	/* 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
+	)
+
+	(
+	0x0000 BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_ACCEPTED
+	0x0001 BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_REJECTED
+	)
+
+//	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
+)
+
+// 	le mode
+(
+0 lemode_idle
+1 lemode_slave
+3 lemode_master
+)
+
+
+(
+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
+)
+
+(
+0x00 LE_PAIRING_MODE_NONE
+0x01 LE_PAIRING_MODE_LAGACY_JUSTWORK
+0x02 LE_PAIRING_MODE_LAGACY_PASSKEY
+0x81 LE_PAIRING_MODE_SECURE_CONNECT_JUSTWORK
+0x82 LE_PAIRING_MODE_SECURE_CONNECT_NUMERIC
+0x83 LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY
+
+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
+)
+
+(
+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
+)
+
+
+(
+96000 TIMER_SMP_PAIRING_TIMEOUT //30S
+)
+//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_AUTH
+5 FLAG_LE_PAIRING_AFTER_AUTH
+6 FLAG_LE_PAIRING_SEND_START_ENC_RSP
+7 FLAG_LE_PARING_SEND_ENC_INFORMATION
+8 FLAG_LE_PARING_SEND_MASTER_IDENTIFICATION 
+9 FLAG_LE_PARING_SEND_INDENTITY_INFORMATION
+0xff FLAG_LE_PAIRING_END
+)
+
+
+
+/*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
+)
+
+//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
+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
+
+)
+
+(
+0 BIT_ADV_CHANNEL_MAP_37
+1 BIT_ADV_CHANNEL_MAP_38
+2 BIT_ADV_CHANNEL_MAP_39
+)
+
+
+
Index: HS_24G&BLE_Motion/format/lmp.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/lmp.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/lmp.format	(working copy)
@@ -0,0 +1,224 @@
+
+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_auth_enable
+1 mem_wait_encryption
+
+16 mem_sniff_payload
+4 mem_aurand_send_delay_time
+)
+
+xmemalloc(
+3 mem_lmp_version
+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
+)
+
+	(
+	//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
+	)
+	/* 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
+)
+
Index: HS_24G&BLE_Motion/format/memblocks.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/memblocks.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/memblocks.format	(working copy)
@@ -0,0 +1,64 @@
+//
+//
+//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_l2cap_rxbuff1		//0x400
+0x1400 mem_l2cap_rxbuff2		//0x400
+//end address:0x17ff
+)
+//l2cap TX buffers
+(
+0x1800 mem_tx_buff0		//128
+0x1880 mem_tx_buff1		//128
+0x1900 mem_tx_buff2		//128
+0x1980 mem_tx_buff3		//128
+0x1a00 mem_tx_buff4		//128
+0x1a80 mem_tx_buff5		//128
+0x1b00 mem_tx_buff6		//128
+0x1b80 mem_tx_buff7		//128
+//end address: 0x1bff
+)
+
+(
+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
+)
+
+ifndef REVD 
+(
+0x4b00 memk
+)
+
+
+endif
+
Index: HS_24G&BLE_Motion/format/patch.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/patch.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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: HS_24G&BLE_Motion/format/regs.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/regs.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/regs.format	(working copy)
@@ -0,0 +1,302 @@
+(
+  0x8000 core_chipid
+  0x8003 core_kick
+  0x8005 core_lpm_wr
+  0x8006 core_misc_ctrl
+  0x8007 core_otp_rdata
+  0x8009 core_pcmoutfifo
+  0x8010 core_reset
+  0x8011 core_encrypt
+  0x8015 core_uart_txd
+  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_otp_addr
+  0x8046 core_otp_din
+  0x8047 core_otp_ctrl
+  0x8048 core_otpd_addr
+  0x804a core_otpd_len
+  0x804b core_otpd_ctrl
+  0x804c core_lpm_reg
+  0x804f core_lpm_isogate
+  0x8050 core_clkoff
+  0x8052 core_uart_baud
+  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_trptrp
+  0x8062 core_uart_ctrl
+  0x8063 core_bist_ctrl
+  0x8064 core_pwm_pcnt3
+  0x8066 core_pwm_ncnt3 
+  0x8068 core_pwm_pcnt4
+  0x806a core_pwm_ncnt4
+  0x806c core_pwm_pcnt5
+  0x806e core_pwm_ncnt5
+  0x8070 core_gpio_oe0
+  0x8071 core_gpio_oe1
+  0x8072 core_gpio_oe2
+  0x8073 core_gpio_oe3
+  0x8074 core_gpio_out0
+  0x8075 core_gpio_out1
+  0x8076 core_gpio_out2
+  0x8077 core_gpio_out3
+  0x8078 core_gpio_pu0
+  0x8079 core_gpio_pu1
+  0x807a core_gpio_pu2
+  0x807b core_gpio_pu3
+  0x807c core_gpio_pd0
+  0x807d core_gpio_pd1
+  0x807e core_gpio_pd2
+  0x807f core_gpio_pd3
+  0x8080 core_gpio_sel
+  0x8081 core_gpio_sel1
+  0x8082 core_gpio_sel2
+  0x8083 core_gpio_key0
+  0x8084 core_gpio_key1
+  0x8085 core_gpio_key2
+  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
+  0x80b0 core_enc_ctrl
+  0x80b1 core_cvsd_ctrl
+  0x80b2 core_codec_ctrl
+  0x80b3 core_dec_ctrl
+
+
+
+
+  
+  0x8108 core_misc_status
+  0x8109 core_qdec_cntx
+  0x810a core_qdec_cnty
+  0x810b core_qdec_cntz
+  0x810c core_uart_status
+  0x810d core_uart_rbaud
+  0x810e core_uart_txitems
+  0x8110 core_uart_trptr
+  0x8112 core_uart_rxitems
+  0x8114 core_uart_rdptr
+  0x8116 core_uart_rwptr
+  0x8119 core_kscn_kstat
+  0x811a core_kscn_event
+  0x811b core_kscn_event_num
+  0x811c core_gpio_in
+  0x811d core_gpio_in1
+  0x8124 core_current_otp_addr
+  0x8126 core_otpd_remain
+  0x8128 core_spid_remain
+  0x812a core_iicd_remain
+  0x812c core_dma_status
+  0x812d core_perf_status
+  0x812e core_adc_in
+  0x8134 core_pcminfifo
+  0x8135 core_pcminfifo_remain
+  0x8136 core_pcmoutfifo_remain
+  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
+// dummy regs  
+
+  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
+
+  0x8300 iic_prer_low		
+  0x8301 iic_slave_addr	
+  0x8302 iic_ctr					
+  0x8303 iic_cr					
+  0x8304 iic_rxr					
+  0x8305 iic_txr					
+  0x8306 iic_sr					
+  0x8307 iic_fifo				
+
+  0x8400   mem_b_box          /* entire bank */
+  0x8500   mem_e_box          /* entire bank */
+  0x8600   mem_l_box          /* entire bank */
+
+ifdef REVD
+  0x8700 memk
+endif
+
+  0x8900 rfen_rx
+  0x8901 rfen_tx
+  0x8902 rfen_mdm
+  0x8903 rfen_sn
+  0x8904 rfen_msc
+  0x8905 rfen_ck
+  0x8906 rfen_adc
+  0x890a  rf_iq_gain
+  0x890b  rf_agc_nsat
+  0x890f  rf_adc_goff
+  0x8912 rf_agc_ctrl
+  0x8914 rfen_ulp
+  0x8973 rfen_chgpump
+  0x894b rf_rx_vctrl_reg1
+  0x894c rf_rx_vctrl_reg2
+  0x894d rf_rx_ib_lna
+  0x894e rf_rx_lna_ctrim
+
+  0x8950 rf_bpf_ctrim
+  0x8951 rf_bpf_ib
+  0x8952 rf_adc_rccal
+  0x8952 rf_rccal_ctrl
+  0x8953 rf_rccal_sel
+  0x8955 rf_tx_pa_ib
+  0x8956 rf_tx_pa_gc
+  0x895f rf_pll_rstn
+  0x8964 rf_sdm_en
+  0x8960 rf_pll_intg
+  0x8961 rf_pll_frac
+  0x8963 rf_pll_frachi
+  0x896c rf_afc_cap
+  0x8967 rf_clkpll_bias
+  0x896f rf_clkpll_en
+  0x8968 rf_clkpll_int
+  0x8969 rf_clkpll_frac
+  0x896d rf_balun_ctrim
+  0x8971 rf_adc_mode
+  0x8972 rf_adc_gc
+  0x8973 rf_adc_ch
+  0x8980 rf_rccal_result
+  0x8981 rf_afc_d2a
+  0x8982 rf_rssi
+
+
+0x8a00 core_usb_config		
+0x8a01 core_usb_int_mask	
+0x8a04 core_usb_addr
+0x8a10 core_usb_trig	
+0x8a11 core_usb_stall		
+0x8a12 core_usb_clear		
+0x8a18 core_usb_ep
+0x8a18 core_usb_dfifo0 
+0x8a19 core_usb_dfifo1  
+0x8a1a core_usb_dfifo2 
+0x8a20 core_usb_ep_len
+0x8a26 core_usb_status		
+0x8a27 core_usb_fifo_empty
+0x8a28 core_usb_fifo_full
+
+
+4 rx_freq_offset
+1 tx_freq_offset
+
+/* bit difinitions */
+  4 whiteoff_bit
+  6 clksel_rc
+  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 otpd_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
+)
+
+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
+0x2dc6c00 uart_clk
+0x16E3600 uart_clk_24
+
+//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_CODEC
+	0x0f CLOCK_OFF_UART
+)
+
+
Index: HS_24G&BLE_Motion/format/rfcomm.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/rfcomm.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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_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: HS_24G&BLE_Motion/format/sdp.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/sdp.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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: HS_24G&BLE_Motion/format/security.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/security.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/security.format	(working copy)
@@ -0,0 +1,141 @@
+
+memalloc(
+/* moved from bt.format for 3dh5 1021bytes packet buffer */
+17 mem_rxbuf
+
+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
+
+//p256
+//2 mem_ec_loopc_256
+//32 mem_ax_256
+//32 mem_ay_256
+//32 mem_az_256
+//32 mem_bx_256
+//32 mem_by_256
+//32 mem_bz_256
+//32 mem_cx_256
+//31 mem_cy_256
+//1 mem_cy5_256
+//32 mem_cz_256
+//32 mem_k_256
+
+
+//32 mem_tmp1_256
+//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
+
+32 mem_p_256		
+32 mem_a_256
+32 mem_gx_256
+32 mem_gy_256
+//4 mem_le_keyid
+16 mem_le_slat
+
+
+//64 mem_regext
+//1 mem_regext_index
+
+//16 mem_le_mackey
+
+
+//1 mem_AES_CMAC_flag
+//16 mem_AES_CMAC_temp
+//16 mem_AES_CMAC_M_last
+
+//4 mem_le_gkey
+
+//16 mem_le_r
+
+)
+
+
Index: HS_24G&BLE_Motion/format/simple_pairing.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/simple_pairing.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/simple_pairing.format	(working copy)
@@ -0,0 +1,188 @@
+/* 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
+
+0 mem_sp_flag_start
+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
+
+
+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_sp_local_key_invalid
+
+
+32 mem_le_private_key_256
+32 mem_le_pubkey_local_x_256
+32 mem_le_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
+3 mem_sp_iocap_local
+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
+
+)
+/* 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-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
+)
+
+(
+1 SSP_MODE_SSP_PIN_FLAG
+2 SSP_MODE_PASSKEY_ENTRY_FLAG
+3 SSP_MODE_JUST_WORK_FLAG
+)
+
+(//ssp mode
+0x040003 SSP_MODE_JUST_WORK_IO_CAP_DATA
+0X040001 SSP_MODE_SSP_PIN_IO_CAP_DATA
+0X040002 SSP_MODE_PASSKEY_IO_CAP_DATA
+)
+
+(
+0x00 DISPLAY_ONLY
+0x01 DISPLAY_YESNO
+0x02 KEYBOARD_ONLY
+0x03 NO_INPUT_NO_OUTPUT
+)
+
+(
+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
+)
+
+  
Index: HS_24G&BLE_Motion/format/ui.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/ui.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/ui.format	(working copy)
@@ -0,0 +1,448 @@
+/*****************************************************************************/
+/* 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
+)
+//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: HS_24G&BLE_Motion/format/utility.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/utility.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/utility.format	(working copy)
@@ -0,0 +1,253 @@
+/**
+*  @file:bt_utility_format.upper
+*  @author: lei.zhu
+*  utility header file. inlcude timer
+*  Copyright:  (C)Hanlynn Technology    
+*/
+
+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
+
+1 mem_wakup_from_power_flag
+4 mem_saved_gpio_in
+
+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
+
+1 mem_usb_status
+1 mem_usb_fifo_empty
+1 mem_usb_read_len
+64 mem_usb_rxbuf
+2 mem_bufptr
+1 mem_remain
+20 mem_devicedesc
+2 mem_hidreportdesc_kb
+2 mem_hidreportdesc_m
+100 mem_confdesc
+5 mem_string0
+30 mem_string1
+64 mem_string2
+30 mem_string3
+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
+1 mem_usb_tx_interval
+
+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_setup
+64 mem_usb0_set_report_data
+64 mem_usb0_get_report_data
+1 mem_usb_state
+1 mem_usb_tx_wait
+1 mem_usb_tx_enable
+1 mem_usb_remote_wakeup
+1 mem_usb_clear_remote_wakeup
+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_usb0_data_ready_report
+1 mem_usb_tx_win_enable
+1 mem_usb_tx_mac_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_set_protocol_value
+1 mem_usb_set_protocol_status
+1 mem_usb_get_protocol_flag
+1 mem_usb_idle_flag
+1 mem_usb_idle_rate
+2 mem_usb_setup_bValue_temp
+1 mem_usb0_get_set_report
+1 mem_usb_ep1_data
+1 mem_usb_ep2_data
+1 mem_usb_clear_halt
+16 mem_usb_mouse_data
+16 mem_usb_kb_data
+16 mem_usb_kb_multikey
+8 mem_usb_kb_data_sta_data
+8 mem_usb_kb_data_last_data
+3 mem_usb_kb_multikey_sta_data
+3 mem_usb_kb_multikey_last_data
+1 mem_usb_kb_blank_data_enable
+1 mem_usb_kb_mul_blank_data_enable
+1 mem_usb_test_cnt
+0 mem_usb_clear_mem_end
+1 mem_usb_test_kb
+
+256 mem_rssi_noise_buffer
+256 mem_rssi_noise_dg_buffer
+256 mem_rssi_noise_ms_buffer
+256 mem_rssi_noise_kb_buffer
+32 mem_24g_common_temp
+
+ifdef DEBUGLOG
+1   mem_debuglog_temp
+1   mem_debuglog_type
+1	mem_debuglog_datalen
+2	mem_debuglog_dataval
+2	mem_debuglog_datatype
+1	mem_debuglog_tail
+8	mem_debuglog_pdata
+endif
+
+)
+
+
+(
+/*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
+)
+
+//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_CONN_SM
+	0x1006 DEBUGLOG_DTYPE_UPPER_SM
+	0x1007 DEBUGLOG_DTYPE_PARSE_LMP
+	0x1008 DEBUGLOG_DTYPE_SEND_LMP
+)
+
+//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
+)
+
+//DEBUGLOG_DTYPE_EVENT
+//(
+
+//)
+
+//DEBUGLOG_DTYPE_CMD
+//(
+
+//)
+
+//DEBUGLOG_DTYPE_STATUS
+(
+	0x0000 STATUS_CODE_WAKE
+	0x0001 STATUS_LPM_WAKE
+	0x0004 STATUS_24G_START 
+)
+//DEBUG_DTYPE_MISC
+(
+	0x0000 MISC_LE_RETRANSMIT
+	0x0001 MISC_LOST_MOUSEDATA
+	0x0002 MISC_TXPOWER_0
+	0x0003 MISC_TXPOWER_1
+	0x0004 MISC_TXPOWER_2
+	0x0006 MISC_PULL_MOUSEDATA
+	0x0007 MISC_PUSH_MOUSEDATA
+	0x0008 MISC_LE_RETRANSMIT_MD
+
+
+)
+
+
Index: HS_24G&BLE_Motion/format/var.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/format/var.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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: HS_24G&BLE_Motion/output/bt_format.meta
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/bt_format.meta	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/bt_format.meta	(working copy)
@@ -0,0 +1,9191 @@
+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
+0x4090 mem_current_amaddr
+0x4091 mem_lpm_mode
+0x4092 mem_device_option
+0x4093 mem_scan_mode
+0x4094 mem_last_clkn
+0x4098 mem_features
+0x40a0 mem_lap
+0x40a3 mem_uap
+0x40a4 mem_nap
+0x40a6 mem_npage
+0x40a7 mem_glap
+0x40aa mem_class
+0x40ad mem_iscan_window
+0x40af mem_iscan_interval
+0x40b1 mem_pscan_window
+0x40b3 mem_pscan_interval
+0x40b5 mem_page_interval
+0x40b7 mem_page_window
+0x40b9 mem_page_to
+0x40bb mem_inq_window
+0x40bd mem_fcomp_mul
+0x40be mem_fcomp_div
+0x40bf mem_rx_window_init
+0x40c1 mem_rx_window_sniff
+0x40c3 mem_rf_init_ptr
+0x40c5 mem_last_type
+0x40c6 mem_last_type_esco
+0x40c7 mem_last_type_saved
+0x40c8 mem_retransmission_cnt
+0x40ca mem_next_btclk
+0x40ce mem_rf_rccal
+0x40cf mem_handle_num
+0x40d0 mem_max_slot
+0x40d1 mem_eir_enable
+0x40d2 mem_afh_instant
+0x40d6 mem_afh_error_total
+0x40d8 mem_afh_cfg
+0x40d9 mem_afh_new_mod
+0x40da mem_afh_map_lo
+0x40df mem_afh_map_hi
+0x40e4 mem_afh_used
+0x40e5 mem_afh_index
+0x40e7 mem_afh_map_new
+0x40f2 mem_afh_map
+0x4142 mem_afh_timer
+0x4146 mem_afh_classify_channel_map
+0x4150 mem_chip_functions
+0x4152 mem_lpm_wake_lock
+0x4154 mem_lpm_interval
+0x4156 mem_lpm_overhead
+0x4157 mem_lpm_hibernate_switch
+0x4158 mem_esco_addr
+0x4159 mem_sniff_unint_lost
+0x415a mem_ptt
+0x415b mem_sleep_counter//should be 0x41fc in REVC
+0x415f mem_sleep_counter_all
+0x4163 mem_sleep_clkn
+0x4169 mem_sniff_rcv
+0x416c mem_sniff_lost
+0x416f mem_clks_per_lpo
+0x4172 mem_lpm_mult
+0x4173 mem_lpm_mult_timeout
+0x4174 mem_lpm_mult_cnt
+0x4175 mem_lpm_config
+0x4178 mem_lpm_xtalcnt
+0x4179 mem_lpm_buckcnt
+0x417a mem_lpm_ldocnt
+0x417b mem_lpm_isogate
+0x417c mem_lpm_isogate_final
+0x417d mem_saved_gpio// should be 0x421e in REVC
+0x418d mem_saved_gsel
+0x4190 mem_saved_mark
+0x4198 mem_saved_spidctrl
+0x4199 mem_patch_ptr
+0x419b mem_patch_len
+0x419d mem_timers
+0x41bd mem_link_key_exists
+0x41be mem_link_key
+0x41ce mem_hci_cmd
+0x41cf mem_hci_conn_handle
+0x41d0 mem_hci_plap
+0x41d3 mem_hci_puap
+0x41d4 mem_hci_pnap
+0x41d6 mem_uartd_rxitems_got_data
+0x41d7 mem_uartd_rxitems_threshold
+0x41d8 mem_uartd_rx_timeout
+0x41da mem_loadcode_times
+0x41db mem_tx_lch
+0x41dc mem_tx_len
+0x41de mem_tx_power
+0x41df mem_context_number
+0x41e0 mem_250k_freq_enable
+0x41e1 mem_rf_init_data
+0x41e2 mem_app_handshake_flag
+0x41e3 mem_sniff_param_interval
+0x41e5 mem_sniff_param_attempt
+0x41e7 mem_sniff_param_timeout
+0x41e9 mem_cb_check_wakelock
+0x41eb mem_cb_before_hibernate
+0x41ed mem_cb_before_lpm
+0x41ef mem_cb_le_process
+0x41f1 mem_cb_bt_process
+0x41f3 mem_cb_idle_process
+0x41f5 mem_cb_bb_event_process
+0x41f7 mem_cb_discovry_timeout
+0x41f9 mem_cb_att_write
+0x41fb mem_cb_ble_transmit
+0x41fd mem_cb_event_timer
+0x41ff mem_cb_bt_set_mult
+0x4201 mem_cb_spi_flash_write_complate
+0x4203 mem_eeprom_base
+0x4205 mem_unsniff2sniff_timer_count
+0x4206 mem_wake_up_delay_timer
+0x4207 mem_app_connection_options
+0x4208 mem_app_disconn_reason
+0x420a mem_app_disconn_reason_flag
+0x420c mem_lpm_delay_after_sniff
+0x4210 mem_xrecord_mode
+0x4211 mem_eeprom_block_size
+0x4212 mem_spi_init_clk
+0x4213 mem_spi_init_delay_time
+0x4214 mem_spi_ncs_gpio
+0x4215 mem_nv_data_ptr
+0x4217 mem_nv_data_number
+0x4218 mem_queue_ptr
+0x421a mem_ui_led_struct_num
+0x421b mem_ui_led_struct_ptr
+0x421d mem_0_5_adc_io_data
+0x421f mem_1v_adc_hvin_data
+0x4221 mem_2v_adc_vinlpm_data
+0x4223 mem_1v_adc_io_data
+0x4225 mem_5v_adc_hvin_data
+0x4227 mem_3v_adc_vinlpm_data
+0x4229 mem_otp_adc_flag
+0x422b mem_reference_voltage
+0x422d mem_adc_config_flag
+0x422e mem_adc_channel
+0x422f mem_adc_current_value
+0x4231 mem_adc_power_flag//bit0:low power falg ; bit1:no power flag
+0x4232 mem_spi_write_addr
+0x4235 mem_spi_write_ptr
+0x4237 mem_spi_write_len
+0x4239 mem_spi_write_flash_sm
+0x423a mem_eeprom_wp_gpio
+0x423b mem_kscan_ptr
+0x423d mem_key_num_ptr
+0x423d mem_keyscan_ptr
+0x423f mem_power_param_ptr
+0x4241 mem_24g_head_ptr
+0x4243 mem_baud
+0x4245 mem_hci_lt_rx_state
+0x4246 mem_l2cap_xmem_start
+0x4246 mem_l2cap_tx_multi_offset//0 means single packet
+0x4248 mem_sdp_remote_cid
+0x424a mem_rfcomm_remote_cid
+0x424c mem_hid_ctrl_remote_cid
+0x424e mem_hid_int_remote_cid
+0x4250 mem_sdp_state
+0x4251 mem_rfcomm_state
+0x4252 mem_hid_control_state
+0x4253 mem_hid_interrupt_state
+0x4254 mem_spp_state
+0x4255 mem_ML2CAP_comm_id
+0x4256 mem_used_map
+0x4257 mem_tx_fifo0
+0x4257 mem_tx_fifo0_map
+0x4258 mem_tx_fifo0_ptr
+0x425a mem_tx_fifo1
+0x425a mem_tx_fifo1_map
+0x425b mem_tx_fifo1_ptr
+0x425d mem_tx_fifo2
+0x425d mem_tx_fifo2_map
+0x425e mem_tx_fifo2_ptr
+0x4260 mem_tx_fifo3
+0x4260 mem_tx_fifo3_map
+0x4261 mem_tx_fifo3_ptr
+0x4263 mem_tx_fifo_end
+0x4263 mem_l2cap_lpm_txbuf
+0x4363 mem_l2cap_flow_ctrl_flag
+0x4364 mem_l2cap_pending_item
+0x4365 mem_l2cap_xmem_end
+0x4365 mem_le_dsniff
+0x4367 mem_le_conn_interval
+0x4369 mem_le_scan_enable
+0x436a mem_le_scan_interval
+0x436c mem_le_scan_window
+0x436e mem_le_adv_enable
+0x436f mem_le_adv_data_len
+0x4370 mem_le_adv_data
+0x438f mem_le_scan_data_len
+0x4390 mem_le_scan_data
+0x43af mem_le_name_len
+0x43b0 mem_le_name
+0x43ce mem_le_new_map
+0x43d3 mem_le_new_param
+0x43d3 mem_le_new_transmitwindowsize
+0x43d4 mem_le_new_transmitwindowoffset
+0x43d6 mem_le_new_conninterval
+0x43d8 mem_le_new_connslavelatency
+0x43da mem_le_new_connsupervisiontimeout
+0x43dc mem_le_txheader
+0x43dd mem_le_txlen
+0x43de mem_le_txpayload
+0x43e0 mem_le_txcid
+0x43e2 mem_le_l2cap
+0x43e3 mem_le_l2cap_response
+0x43e4 mem_le_txbdy
+0x4403 mem_le_pcnt_tx
+0x4408 mem_le_pcnt_rx
+0x440d mem_le_last_mic
+0x4411 mem_le_ivm
+0x4415 mem_le_ivs
+0x4419 mem_le_ltk
+0x4429 mem_ltk_exists
+0x442a mem_le_rconfirm
+0x443a mem_le_srand
+0x444a mem_le_iat
+0x444b mem_le_rat
+0x444c mem_le_preq
+0x444d mem_le_preq_iocap
+0x444e mem_le_preq_oob
+0x444f mem_le_preq_auth
+0x4450 mem_le_preq_max_keysize
+0x4451 mem_le_preq_init_key_distribution
+0x4452 mem_le_preq_resp_key_distribution
+0x4453 mem_le_pres
+0x4454 mem_le_pres_iocap
+0x4455 mem_le_pres_oob
+0x4456 mem_le_pres_auth
+0x4457 mem_le_pres_max_keysize
+0x4458 mem_le_pres_init_key_distribution
+0x4459 mem_le_pres_resp_key_distribution
+0x445a mem_le_search_handle_start
+0x445c mem_le_search_handle_end
+0x445e mem_le_att_offset
+0x445e mem_le_search_att_type_length
+0x445f mem_le_search_att_type
+0x446f mem_le_notify_handle
+0x4471 mem_le_search_uuid_length
+0x4472 mem_le_search_uuid
+0x4482 mem_le_adv_param
+0x4482 mem_le_adv_interval
+0x4484 mem_le_adv_type
+0x4485 mem_le_adv_own_addr_type
+0x4486 mem_le_adv_direct_addr_type
+0x4487 mem_le_adv_direct_addr
+0x448d mem_le_adv_channel_map
+0x448e mem_le_conn_param
+0x448e mem_le_conn_peer_addr_type
+0x448f mem_le_conn_peer_addr
+0x4495 mem_le_conn_own_addr_type
+0x4496 mem_le_interval_min
+0x4498 mem_le_interval_max
+0x449a mem_le_latency
+0x449c mem_le_timeout
+0x449e mem_le_scan_params
+0x449e mem_le_scan_type
+0x449f mem_le_scan_own_addr_type
+0x44a0 mem_le_lap
+0x44a3 mem_le_uap
+0x44a4 mem_le_nap
+0x44a6 mem_le_local_mtu
+0x44a8 mem_le_remote_mtu
+0x44aa mem_le_skdm
+0x44b2 mem_le_skds
+0x44ba mem_le_init_superto
+0x44bc mem_ui_le_uuid_table
+0x44be mem_le_secure_connect_enable
+0x44bf mem_le_secure_connect_flag
+0x44c0 mem_le_sc_calc
+0x44c1 mem_le_secure_connect_state
+0x44c2 mem_le_sc_confirm_gkey_flag
+0x44c3 mem_le_sc_local_key_invalid
+0x44c4 mem_le_pairing_state
+0x44c5 mem_le_enc_state
+0x44c6 mem_le_pairing_mode
+0x44c7 mem_le_tk
+0x44cb mem_le_ediv
+0x44cd mem_le_rand
+0x44d5 mem_le_irk
+0x44e5 mem_le_transmit_window
+0x44e9 mem_le_configuration
+0x44ea mem_le_fixed_ltk
+0x44fa mem_le_pairing_handle
+0x44fc mem_le_l2cap_size
+0x44fe mem_le_packet_len_recved
+0x44ff mem_le_tx_buff_used
+0x4500 mem_le_tx_ptr0
+0x4502 mem_le_tx_ptr1
+0x4504 mem_le_tx_ptr2
+0x4506 mem_le_tx_ptr3
+0x4508 mem_le_signaling_identifier
+0x4509 mem_le_l2cap_signaling_conn_param_update_rsp_result
+0x450b mem_le_packet_size
+0x450c mem_le_packet_llid
+0x450d mem_le_payload_ptr
+0x450f mem_le_md_count
+0x4510 mem_lmp_version
+0x4513 mem_lmp_subversion
+0x4515 mem_local_name_length
+0x4516 mem_local_name
+0x4519 mem_local_name2
+0x4559 mem_local_name_end
+0x455a mem_unsniff2sniff_timer
+0x455b mem_switch_flag
+0x455c mem_classic_bt_flag
+0x455d mem_pn_dlci
+0x455e mem_pn_max_frame_size
+0x4560 memFCStemp1
+0x4561 memFCStemp2
+0x4562 memFCStemp3
+0x4563 mem_rfcomm_initiator
+0x4564 mem_remote_spp_channel
+0x4565 mem_HIUfcs_SPP
+0x4566 mem_HIUfcs_SPP_WCredits
+0x4567 mem_rfcomm_send_more_pkt
+0x4568 mem_remote_credits
+0x4569 mem_credit_given
+0x456a mem_ms_channel
+0x456b mem_credit_flag
+0x456c mem_rfcomm_max_frame_size
+0x456e mem_rfcomm_credit_init_data
+0x456f mem_cb_receive_spp_data
+0x4571 mem_nl_rx_data_src
+0x4573 mem_nl_rx_len_all
+0x4575 mem_ui_uuid_table
+0x4577 mem_all_uuid_16bits
+0x458d mem_all_uuid_128bits
+0x45af mem_sdp_l2capch_ptr
+0x45b1 mem_sp_local_key_invalid
+0x45b2 mem_le_private_key_256
+0x45d2 mem_le_pubkey_local_x_256
+0x45f2 mem_le_pubkey_local_y_256
+0x4612 mem_sp_private_key
+0x462a mem_sp_pubkey_local
+0x462a mem_sp_pubkey_local_x
+0x4642 mem_sp_pubkey_local_x_end
+0x4642 mem_sp_pubkey_local_y
+0x465a mem_ssp_enable
+0x465b mem_sp_iocap_local
+0x465e mem_sp_iocap_remote
+0x4661 mem_flag_mode_ssp_pin
+0x4662 mem_ssp_mode_flag
+0x4663 mem_authentication_passkey_times
+0x4664 mem_passkey_1bit
+0x4665 mem_flag_pairing_state
+0x4666 mem_ipc_lock_bt
+0x4667 mem_ipc_lock_c51
+0x4668 mem_ipc_fifo_bt2c51
+0x4670 mem_ipc_fifo_c512bt
+0x4678 mem_ui_button_timer
+0x4679 mem_ui_button_last_state
+0x467a mem_ui_timer_last_btclk
+0x467e mem_discovery_timeout_timer_count
+0x4680 mem_hid_handshake_timer_count
+0x4681 memui_reconnect_mode
+0x4682 mem_ui_state_map
+0x4684 mem_ui_profile_supported
+0x4685 mem_ui_button_timeout
+0x4686 mem_ui_button_gpio
+0x4687 mem_discovery_timeout
+0x4689 mem_pin_length
+0x468a mem_pin
+0x469a mem_antl_lpm_interval
+0x469c mem_antl_adv_interval
+0x469e mem_antl_slow_adv_lpm_interval
+0x46a0 mem_antl_slow_adv_adv_interval
+0x46a2 mem_antl_led_style
+0x46a2 mem_antl_led_type
+0x46a3 mem_antl_led_blink_count
+0x46a4 mem_antl_led_gpio
+0x46a5 mem_antl_led_on_time
+0x46a7 mem_antl_led_off_time
+0x46a9 mem_antl_led_cb_on
+0x46ab mem_antl_led_cb_off
+0x46ad mem_antl_buzzer_style
+0x46ad mem_antl_buzzer_type
+0x46ae mem_antl_buzzer_blink_count
+0x46af mem_antl_buzzer_gpio
+0x46b0 mem_antl_buzzer_on_time
+0x46b2 mem_antl_buzzer_off_time
+0x46b4 mem_antl_buzzer_cb_on
+0x46b6 mem_antl_buzzer_cb_off
+0x46b8 mem_antl_fast_adv_led_style
+0x46b8 mem_antl_fast_adv_led_type
+0x46b9 mem_antl_fast_adv_led_blink_count
+0x46ba mem_antl_fast_adv_led_gpio
+0x46bb mem_antl_fast_adv_led_on_time
+0x46bd mem_antl_fast_adv_led_off_time
+0x46bf mem_antl_slow_adv_led_style
+0x46bf mem_antl_slow_adv_led_type
+0x46c0 mem_antl_slow_adv_led_blink_count
+0x46c1 mem_antl_slow_adv_led_gpio
+0x46c2 mem_antl_slow_adv_led_on_time
+0x46c4 mem_antl_slow_adv_led_off_time
+0x46c6 mem_antl_power_starting_led_style
+0x46c6 mem_antl_power_starting_led_type
+0x46c7 mem_antl_power_starting_led_blink_count
+0x46c8 mem_antl_power_starting_led_gpio
+0x46c9 mem_antl_power_starting_led_on_time
+0x46cb mem_antl_power_starting_led_off_time
+0x46cd mem_antl_power_starting_buzzer_style
+0x46d4 mem_antl_power_off_led_style
+0x46d4 mem_antl_power_off_led_type
+0x46d5 mem_antl_power_off_led_link_count
+0x46d6 mem_antl_power_off_led_gpio
+0x46d7 mem_antl_power_off_led_on_time
+0x46d9 mem_antl_power_off_led_off_time
+0x46db mem_antl_power_off_buzzer_style
+0x46db mem_antl_power_off_buzzer_type
+0x46dc mem_antl_power_off_buzzer_link_count
+0x46dd mem_antl_power_off_buzzer_gpio
+0x46de mem_antl_power_off_buzzer_on_time
+0x46e0 mem_antl_power_off_buzzer_off_time
+0x46e2 mem_antl_alert_led_stlye
+0x46e9 mem_antl_alert_buzzer_stlye
+0x46e9 mem_antl_alert_buzzer_type
+0x46ea mem_antl_alert_buzzer_blink_count
+0x46eb mem_antl_alert_buzzer_gpio
+0x46ec mem_antl_alert_buzzer_on_time
+0x46ee mem_antl_alert_buzzer_off_time
+0x46f0 mem_antl_key_led_style
+0x46f0 mem_antl_key_led_type
+0x46f1 mem_antl_key_led_blink_count
+0x46f2 mem_antl_key_led_gpio
+0x46f3 mem_antl_key_led_on_time
+0x46f5 mem_antl_key_led_off_time
+0x46f7 mem_antl_key_buzzer_style
+0x46fe mem_antl_queue_width
+0x46ff mem_antl_queue_depth
+0x4700 mem_antl_queue_curr_num
+0x4701 mem_antl_queue_read_ptr
+0x4702 mem_antl_queue_write_ptr
+0x4703 mem_antl_queue_buff
+0x4753 mem_antl_key_scan_enable
+0x4754 mem_antl_led_num
+0x4755 mem_antl_led_gpio_map
+0x4759 mem_antl_power_param
+0x4759 mem_antl_power_state
+0x475a mem_antl_power_timer
+0x475b mem_antl_power_off_timeout
+0x475c mem_antl_power_starting_timeout
+0x475d mem_antl_power_off_cb
+0x475f mem_antl_power_starting_cb
+0x4761 mem_antl_power_standby_cb
+0x4763 mem_event_button_up_cb
+0x4765 mem_antl_key_num
+0x4766 mem_cb_antl_key
+0x4768 mem_antl_key_conf0
+0x476c mem_antl_key0_press
+0x477b mem_antl_key0_release
+0x478a mem_antl_conn_updata_procedure_state
+0x478b mem_client_characteristic_configuration_descriptor
+0x478d mem_adc_timer
+0x478f mem_antl_conn_update_timer
+0x4790 mem_antl_send_updata_le_param_timer
+0x4791 mem_antl_le_sleep_timer
+0x4793 mem_antl_fast_adv_timer
+0x4795 mem_antl_fast_adv_timeout
+0x4797 mem_antl_le_sleep_timeout
+0x4799 mem_double_click_timer
+0x479a mem_butten_click_cnt
+0x479b mem_antl_led_state
+0x479c mem_antl_buzzer_state
+0x479d mem_antl_key_state
+0x479e mem_antl_lost_mode
+0x479f mem_alarm_config
+0x47a0 mem_alarm_config_notfy_cnt
+0x47a1 mem_buzzer_pwm_conf
+0x47a7 mem_adc_timeout
+0x47a9 mem_voltage_remain_percent
+0x47aa mem_battery_calculate_set
+0x47aa mem_battery_full_voltage
+0x47ac mem_battery_empty_voltage
+0x47ae mem_battery_low_voltage
+0x47b0 mem_battery_current_voltage
+0x47b2 mem_rx_window_sniff_inc
+0x47b4 mem_interval_increment
+0x47b6 mem_antl_le_interval_min
+0x47b8 mem_antl_le_interval_max
+0x47ba mem_antl_le_latency
+0x47bc mem_antl_le_timeout
+0x47be mem_antl_le_unnormal_interval_min
+0x47c0 mem_antl_le_unnormal_interval_max
+0x47c2 mem_antl_le_unnormal_latency
+0x47c4 mem_antl_le_unnormal_timeout
+0x47c6 mem_AntiLost_le_att_list
+0x469a mem_car_hard_soft_switch
+0x469b mem_car_queue_each_size
+0x469c mem_car__queue_length
+0x469d mem_car_queue_curr_num
+0x469e mem_car_queue_read_ptr
+0x469f mem_car_queue_write_ptr
+0x46a0 mem_car_queue_ele
+0x4718 mem_car_pop_queue_buff
+0x472c mem_car_led_num
+0x472d mem_car_led_map
+0x4737 mem_car_style1_led_type
+0x4738 mem_car_style1_blink_count
+0x4739 mem_car_style1_struct_led_gpio
+0x473a mem_car_style1_on_time
+0x473c mem_car_style1_off_time
+0x473e mem_car_style1_cb_ledon
+0x4740 mem_car_style1_cb_ledoff
+0x4742 mem_car_style2_led_type
+0x4743 mem_car_style2_blink_count
+0x4744 mem_car_style2_struct_led_gpio
+0x4745 mem_car_style2_on_time
+0x4747 mem_car_style2_off_time
+0x4749 mem_car_style2_cb_ledon
+0x474b mem_car_style2_cb_ledoff
+0x474d mem_le_receive_data
+0x474d mem_le_receive_packet_head
+0x474f mem_le_receive_cmd
+0x4750 mem_le_receive_length
+0x4752 mem_le_receive_payload
+0x475c mem_le_receive_checksum
+0x475d mem_motor1_status
+0x475e mem_motor1_speed
+0x475f mem_motor2_status
+0x4760 mem_motor2_speed
+0x4761 mem_motor3_status
+0x4762 mem_motor3_speed
+0x4763 mem_motor1_pwm_set
+0x4763 mem_motor1_pwm_pin1_set
+0x4764 mem_motor1_pwm_pin2_set
+0x4765 mem_motor1_pwm_pin_set
+0x4766 mem_motor1_pwm_channel_set
+0x4767 mem_motor1_pwm_freq_set
+0x476a mem_motor1_pwm_dute_set
+0x476b mem_motor2_pwm_set
+0x476b mem_motor2_pwm_pin1_set
+0x476c mem_motor2_pwm_pin2_set
+0x476d mem_motor2_pwm_pin_set
+0x476e mem_motor2_pwm_channel_set
+0x476f mem_motor2_pwm_freq_set
+0x4772 mem_motor2_pwm_dute_set
+0x4773 mem_motor3_pwm_set
+0x4773 mem_motor3_pwm_pin1_set
+0x4774 mem_motor3_pwm_pin2_set
+0x4775 mem_motor3_pwm_pin_set
+0x4776 mem_motor3_pwm_channel_set
+0x4777 mem_motor3_pwm_freq_set
+0x477a mem_motor3_pwm_dute_set
+0x477b mem_motor_select_p_n
+0x477c mem_car_motor_status
+0x477d mem_car_motor_speed
+0x477e mem_motor_pwm_set
+0x477e mem_motor_pwm_pin1_set
+0x477f mem_motor_pwm_pin2_set
+0x4780 mem_motor_pwm_pin_set
+0x4781 mem_motor_pwm_channel_set
+0x4782 mem_motor_pwm_freq_set
+0x4785 mem_motor_pwm_dute_set
+0x4786 mem_ir_rx_gpio
+0x4787 mem_ir_data
+0x4789 mem_ir_rx_buf
+0x478b mem_ir_receive_clkn
+0x478f mem_ir_notify_data
+0x4792 mem_ir_notify_data_head
+0x4797 mem_ir_notify_data_payload
+0x4799 mem_ir_notify_data_check_sum
+0x479a mem_car_ir_breakdown_check_timer
+0x479b mem_car_ir_breakdown_flag
+0x479c mem_car_led_control
+0x479c mem_car_led1_status
+0x479d mem_car_led2_status
+0x479e mem_car_led3_status
+0x479f mem_car_led4_status
+0x47a0 mem_car_led5_status
+0x47a1 mem_car_led6_status
+0x47a2 mem_car_led7_status
+0x47a3 mem_car_led8_status
+0x47a4 mem_car_led_control_timer
+0x47a5 mem_car_led_blink_status
+0x47a6 mem_car_led_no
+0x47a7 mem_car_info_request
+0x47aa mem_car_info_request_head
+0x47af mem_car_info_request_payload
+0x47b7 mem_car_info_request_checksum
+0x47b8 mem_car_config_param
+0x47b8 mem_car_config_setting_flag
+0x47b9 mem_car_config_device_select
+0x47ba mem_car_config_motor_layout
+0x47bb mem_car_config_ir_enable
+0x47bc mem_car_config_ir_rx_gpio
+0x47bd mem_car_config_pairing_led_conn_status
+0x47be mem_car_config_pairing_led_gpio
+0x47bf mem_car_config_led_num
+0x47c0 mem_car_config_blood_led_gpio
+0x47c0 mem_car_config_blood_led1_gpio
+0x47c1 mem_car_config_blood_led2_gpio
+0x47c2 mem_car_config_blood_led3_gpio
+0x47c3 mem_car_config_blood_led4_gpio
+0x47c4 mem_car_config_blood_led5_gpio
+0x47c5 mem_car_config_blood_led6_gpio
+0x47c6 mem_car_config_blood_led7_gpio
+0x47c7 mem_car_config_blood_led8_gpio
+0x47c8 mem_car_config_bat_notify_enable
+0x47c9 mem_car_config_low_voltage_led_gpio
+0x47ca mem_car_config_low_voltage_percent
+0x47cb mem_car_config_soft_switch_enable
+0x47cc mem_car_config_soft_switch_gpio
+0x47cd mem_car_notify_vdd_count
+0x47ce mem_car_notify_vdd_timer
+0x47cf mem_car_notify_vdd_value_last
+0x47d0 mem_car_notify_vdd_percent
+0x47d1 mem_car_working_flag
+0x47d2 mem_low_bat_flag
+0x47d3 mem_notify_bat_packet
+0x47d6 mem_notify_bat_head
+0x47db mem_notify_bat_payload
+0x47dc mem_notify_bat_check_sum
+0x47dd mem_vdd_notify_flag
+0x47de mem_car_current_vdd_value_temp
+0x47e0 mem_car_last_vdd_value
+0x47e2 mem_vdd_calculate_set
+0x47e2 mem_vdd_full_vol
+0x47e4 mem_vdd_empty_vol
+0x47e6 mem_vdd_low_vol
+0x47e8 mem_vdd_now_vol
+0x47ea mem_car_24g_status
+0x47eb mem_car_24g_no_data_timeout_count
+0x47ed mem_car_24g_no_data_timeout_timer
+0x47ef mem_car_24g_ir_receive_attack_count
+0x47f0 mem_car_24g_go_die_flag
+0x47f1 mem_car_attack_shake_timer
+0x47f2 mem_car_attack_shake_flag
+0x47f3 mem_car_soft_power
+0x47f3 mem_car_power_state
+0x47f4 mem_car_power_timer
+0x47f5 mem_car_power_off_timeout
+0x47f6 mem_car_power_starting_timeout
+0x47f7 mem_car_power_off_cb
+0x47f9 mem_car_power_starting_cb
+0x47fb mem_car_power_standby_cb
+0x47fd mem_car_ui_button_up_cb
+0x47ff mem_car_le_att_list
+0x49f3 mem_car_moto1_blank_timer
+0x49f4 mem_car_moto2_blank_timer
+0x49f5 mem_car_moto3_blank_timer
+0x49f6 mem_car_24g_received_pac
+0x49f7 mem_24g_car_head_ptr
+0x469a mem_light_pwm0
+0x469b mem_light_pwm1
+0x469c mem_light_pwm2
+0x469d mem_light_pwm3
+0x469e mem_light_pwm4
+0x469f mem_light_pwm5
+0x46a0 mem_light_pairing_enable
+0x46a1 mem_light_pairing_timer
+0x46a3 mem_light_cnum
+0x46a4 mem_light_next_record
+0x46a5 mem_light_clist
+0x46f5 mem_light_crr_cmd_count
+0x46f6 mem_curr_packet_num
+0x469a mem_lightc_led_gpio
+0x469b mem_lightc_row
+0x46a1 mem_lightc_col
+0x46a7 mem_adv_time
+0x46a8 mem_cmd0_string
+0x46bc mem_cmd1_string
+0x46d0 mem_cmd2_string
+0x46e4 mem_cmd3_string
+0x46f8 mem_cmd4_string
+0x470c mem_cmd5_string
+0x4720 mem_cmd6_string
+0x4734 mem_cmd7_string
+0x4748 mem_cmd8_string
+0x475c mem_cmd9_string
+0x4770 mem_cmd10_string
+0x4784 mem_cmd11_string
+0x4798 mem_cmd12_string
+0x47ac mem_cmd13_string
+0x47c0 mem_cmd14_string
+0x47d4 mem_cmd15_string
+0x47e8 mem_cmd16_string
+0x47fc mem_cmd17_string
+0x4810 mem_cmd18_string
+0x4824 mem_cmd19_string
+0x4838 mem_cmd20_string
+0x469a mem_soft_version_num
+0x469c mem_module_wake_up_gpio
+0x469d mem_module_state_gpio
+0x469e mem_module_connect_state_gpio
+0x469f mem_current_packet_length
+0x46a1 mem_module_state
+0x46a2 mem_module_mcu_wake_pin
+0x46a3 mem_module_mcu_wake_delay_us
+0x46a7 mem_module_spp_lpm_mult
+0x46a8 mem_module_le_lpm_mult
+0x46a9 mem_module_bluetooth_stauts_by_command
+0x46aa mem_module_uart_rx_buffer
+0x46ac mem_module_uart_rx_buffer_end
+0x46ae mem_module_uart_tx_buffer
+0x46b0 mem_module_uart_tx_buffer_end
+0x46b2 mem_module_read_vdd_flag
+0x46b3 mem_module_read_vdd_count
+0x46b4 mem_module_vdd_quotient
+0x46b5 mem_module_vdd_remainder
+0x46b6 mem_module_le_rx_data_len
+0x46b7 mem_module_le_rx_data_address
+0x46b9 mem_module_le_rx_data_handle
+0x46bb mem_module_data_write_handle
+0x46bd mem_module_data_write_handle2
+0x46bf mem_module_flag
+0x46c0 mem_module_hci_notify_len
+0x46c1 mem_module_hci_notify_handle
+0x46c3 mem_module_hci_nofiy_addr
+0x46c5 mem_last_transmite_clock
+0x46c9 mem_module_uuid_list
+0x47f5 mem_module_uuid_list_end
+0x47f5 mem_module_le_att_list
+0x4a4d mem_module_le_att_list_end
+0x4a4d mem_module_nv_data
+0x4a4d mem_module_nv_data0
+0x4a6f mem_module_nv_data1
+0x4a91 mem_module_nv_data2
+0x4ab3 mem_module_nv_data3
+0x4ad5 mem_module_nv_data4
+0x469a mem_remote_car_hard_soft_switch
+0x469b mem_remote_car_queue_each_size
+0x469c mem_remote_car_queue_length
+0x469d mem_remote_car_queue_curr_num
+0x469e mem_remote_car_queue_read_ptr
+0x469f mem_remote_car_queue_write_ptr
+0x46a0 mem_remote_car_queue_ele
+0x46fa mem_remote_style_led_type
+0x46fb mem_remote_style_blink_count
+0x46fc mem_remote_style_struct_led_gpio
+0x46fd mem_remote_style_on_time
+0x46ff mem_remote_style_off_time
+0x4701 mem_remote_style_cb_ledon
+0x4703 mem_remote_style_cb_ledoff
+0x4705 mem_remote_car_led_num
+0x4706 mem_remote_car_led_map
+0x470e mem_remote_car_keyscan
+0x470e mem_remote_car_key_num
+0x470f mem_cb_remote_car_keyscan
+0x4711 mem_remote_car_key_conf0
+0x4711 mem_remote_car_key_conf0_pin
+0x4712 mem_remote_car_key_conf1
+0x4712 mem_remote_car_key_conf1_pin
+0x4713 mem_remote_car_key_conf2
+0x4713 mem_remote_car_key_conf2_pin
+0x4714 mem_remote_car_key_conf3
+0x4714 mem_remote_car_key_conf3_pin
+0x4715 mem_remote_car_key_conf4
+0x4715 mem_remote_car_key_conf4_pin
+0x4716 mem_remote_car_key_conf5
+0x4716 mem_remote_car_key_conf5_pin
+0x4717 mem_remote_car_key_conf6
+0x4717 mem_remote_car_key_conf6_pin
+0x4718 mem_rocker_negative_flag
+0x4719 mem_rocker_work_status
+0x471a mem_current_vdd_value_default_mid_x
+0x471c mem_current_vdd_value_default_mid_y
+0x471e mem_current_vdd_value_default_mid_temp
+0x4720 mem_current_vdd_default_range
+0x4722 mem_rocker_last_status
+0x4724 mem_rocker_status
+0x4724 mem_rocker_x_status
+0x4725 mem_rocker_y_status
+0x4726 mem_remote_car_config_param
+0x4726 mem_remote_car_config_setting_flag
+0x4727 mem_remote_car_config_key_map
+0x4728 mem_remote_car_config_layout
+0x4729 mem_remote_car_config_connect_led_gpio
+0x472a mem_remote_car_config_check_way
+0x472b mem_remote_car_config_soft_switch_enable
+0x472c mem_remote_car_config_soft_switch_gpio
+0x472d mem_remote_car_config_timeout_shutdown_enable
+0x472e mem_remote_car_24g_motor_packet
+0x472e mem_remote_car_24g_motor_packet_lenght
+0x472f mem_remote_car_24g_motor_send_packet_head
+0x4731 mem_remote_car_24g_motor_send_cmd
+0x4732 mem_remote_car_24g_motor_send_length
+0x4734 mem_remote_car_24g_motor_send_payload
+0x4734 mem_remote_car_24g_motor1_payload
+0x4736 mem_remote_car_24g_motor2_payload
+0x4738 mem_remote_car_24g_motor3_payload
+0x473a mem_remote_car_24g_motor_send_checksum
+0x473b mem_remote_car_24g_fire_packet
+0x473b mem_remote_car_24g_fire_packet_lenght
+0x473c mem_remote_car_24g_fire_send_packet_head
+0x473e mem_remote_car_24g_fire_send_cmd
+0x473f mem_remote_car_24g_fire_send_length
+0x4741 mem_remote_car_24g_fire_send_payload
+0x4743 mem_remote_car_24g_fire_send_checksum
+0x4744 mem_remote_car_24g_tx_temp
+0x4753 mem_remote_car_no_data_timeout
+0x4755 mem_remote_car_no_data_timer
+0x4757 mem_remote_car_soft_power
+0x4757 mem_remote_car_power_state
+0x4758 mem_remote_car_power_timer
+0x4759 mem_remote_car_power_off_timeout
+0x475a mem_remote_car_power_starting_timeout
+0x475b mem_remote_car_power_off_cb
+0x475d mem_remote_car_power_starting_cb
+0x475f mem_remote_car_power_standby_cb
+0x4761 mem_remote_key_status
+0x4762 mem_remote_car_24g_status
+0x4763 mem_remote_car_24g_auto_work_step
+0x4764 mem_remote_car_24g_pair_success_flag
+0x4765 mem_remote_car_24g_enter_lpm_enable
+0x4766 mem_remote_car_empty_packet
+0x4767 mem_24g_RC_head_ptr
+0x469a mem_shutter_bluetooth_type
+0x469b mem_shutter_config_enable
+0x469c mem_shutter_config_otp_base_address
+0x469e mem_shutter_config_size
+0x469f mem_shutter_config_select_gpio1
+0x46a0 mem_shutter_config_select_gpio2
+0x46a1 mem_shutter_config_select_gpio3
+0x46a2 mem_shutter_config_user_otp_address
+0x46a4 mem_shutter_config_eeprom_offset_addr
+0x46a6 mem_shutter_config_eeprom_start_flag
+0x46a8 mem_shutter_config_user_size
+0x46a9 mem_shutter_config_label
+0x46aa mem_shutter_config_otp_addr
+0x46ac mem_classic_shutter_cable_unplug_conut
+0x46ad mem_classic_shutter_hid_disconn_count
+0x46ae mem_classic_shutter_random_mac_offset_addr
+0x46b0 mem_ble_shutter_enable_notify
+0x46b1 mem_ble_shutter_reconn_dav_interval
+0x46b3 mem_ble_shutter_discovery_adv_interval
+0x46b5 mem_ble_shutter_reconn_timeout
+0x46b7 mem_ble_shutter_reconn_timer
+0x46b9 mem_ble_shutter_reconn_blink_on_time
+0x46bb mem_ble_shutter_reconn_blink_off_time
+0x46bd mem_ble_shutter_discovery_blink_on_time
+0x46bf mem_ble_shutter_discovery_blink_off_time
+0x46c1 mem_ble_shutter_interval_min
+0x46c3 mem_ble_shutter_interval_max
+0x46c5 mem_ble_shutter_latency
+0x46c7 mem_ble_shutter_timeout
+0x46c9 mem_ble_shutter_interval_min_new
+0x46cb mem_ble_shutter_interval_max_new
+0x46cd mem_ble_shutter_latency_new
+0x46cf mem_ble_shutter_timeout_new
+0x46d1 mem_classic_shutter_discovery_timeout
+0x46d3 mem_classic_shutter_connect_timeout
+0x46d5 mem_ble_shutter_discovery_timeout
+0x46d7 mem_ble_shutter_connect_timeout
+0x46d9 mem_shutter_sleep_timeout
+0x46db mem_shutter_sleep_timer
+0x46dd mem_shutter_hard_soft_switch_case
+0x46de mem_shutter_soft_switch_button_gpio
+0x46df mem_shutter_soft_switch_power_state
+0x46e0 mem_shutter_soft_switch_poweron_time
+0x46e1 mem_shutter_soft_switch_poweroff_time
+0x46e2 mem_shutter_soft_switch_poweron_callback_function
+0x46e4 mem_shutter_soft_switch_poweroff_callback_function
+0x46e6 mem_shutter_keyscan
+0x46e6 mem_shutter_key_num
+0x46e7 mem_cb_shutter_keycan
+0x46e9 mem_shutter_key_conf0
+0x46ea mem_shutter_key_conf1
+0x46eb mem_shutter_key_conf2
+0x46ec mem_shutter_key_conf3
+0x46ed mem_shutter_key_conf4
+0x46ee mem_shutter_key_conf5
+0x46ef mem_shutter_key_conf6
+0x46f0 mem_shutter_key_conf7
+0x46f1 mem_key0_press
+0x46f6 mem_key1_press
+0x46fb mem_key2_press
+0x4700 mem_key3_press
+0x4705 mem_key4_press
+0x470a mem_key5_press
+0x470f mem_key6_press
+0x4714 mem_key7_press
+0x4719 mem_key0_release
+0x471e mem_key1_release
+0x4723 mem_key2_release
+0x4728 mem_key3_release
+0x472d mem_key4_release
+0x4732 mem_key5_release
+0x4737 mem_key6_release
+0x473c mem_key7_release
+0x4741 mem_ble_data_buffer1
+0x4746 mem_ble_data_buffer2
+0x474b mem_ble_data_buffer3
+0x4750 mem_ble_data_buffer4
+0x4755 mem_ble_data_buffer5
+0x475a mem_ble_data_buffer6
+0x475f mem_ble_data_buffer7
+0x4764 mem_ble_data_buffer8
+0x4769 mem_ble_data_buffer9_58
+0x479b mem_classic_data_buffer
+0x47a0 mem_classic_data_buffer1
+0x47a5 mem_classic_data_buffer2
+0x47aa mem_classic_data_buffer3
+0x47af mem_classic_data_buffer4
+0x47b4 mem_classic_data_buffer5
+0x47b9 mem_classic_data_buffer6
+0x47be mem_classic_data_buffer7
+0x47c3 mem_classic_data_buffer8
+0x47c8 mem_classic_data_buffer9_58
+0x47fa mem_queue_each_size
+0x47fb mem_queue_length
+0x47fc mem_queue_curr_num
+0x47fd mem_queue_read_ptr
+0x47fe mem_queue_write_ptr
+0x47ff mem_queue_ele
+0x481f mem_shutter_nv_data
+0x48c9 mem_shutter_led_struct_app_led
+0x48c9 mem_shutter_led_struct_app_led_type
+0x48ca mem_shutter_led_struct_app_led_blink_count
+0x48cb mem_shutter_led_struct_app_led_gpio
+0x48cc mem_shutter_led_struct_app_led_on_time
+0x48ce mem_shutter_led_struct_app_led_off_time
+0x48d0 mem_shutter_led_struct_app_led_on_callback
+0x48d2 mem_shutter_led_struct_app_led_off_callback
+0x48d4 mem_shutter_power_off_led_style
+0x48d4 mem_shutter_power_off_led_style_type
+0x48d5 mem_shutter_power_off_led_style_blink_count
+0x48d6 mem_shutter_power_off_led_style_gpio
+0x48d7 mem_shutter_power_off_led_style_on_time
+0x48d9 mem_shutter_power_off_led_style_off_time
+0x48db mem_shutter_power_off_led_style_on_callback
+0x48dd mem_shutter_power_off_led_style_off_callback
+0x48df mem_shutter_soft_swtich_botton_down
+0x48e0 mem_shutter_soft_swtich_led_struct_temp
+0x48eb mem_shutter_power_off_timeout
+0x48ec mem_shutter_power_off_timer
+0x469a mem_mouse_key
+0x469b mem_mouse_x
+0x469d mem_mouse_y
+0x469f mem_mouse_z
+0x46a0 mem_mouse_tz
+0x46a1 mem_mouse_xy_h
+0x46a2 mem_sensor_shutter_hi
+0x46a3 mem_sensor_shutter_lo
+0x46a4 mem_sensor_smart_flag
+0x46a5 mem_sensor_squal_reg
+0x46a6 mem_sensor_iqc
+0x46a7 mem_mouse_move_flag
+0x46a8 mem_mouse_direct_timeout
+0x46aa mem_mouse_no_data_timeout
+0x46ac mem_mouse_discovery_timer
+0x46ae mem_mouse_direct_timer
+0x46b0 mem_mouse_no_data_timer
+0x46b2 mem_mouse_blank_data_timer
+0x46b4 mem_mouse_send_blank_timer
+0x46b5 mem_mouse_cpi_count
+0x46b6 mem_mouse_dpi_button_state
+0x46b7 mem_wheel_tb_old_pinlevel
+0x46b8 mem_wheel_tb_new_pinlevel
+0x46b9 mem_wheel_tog
+0x46ba mem_mouse_tz_data
+0x46bb mem_mouse_tz_data_count
+0x46bc mem_mouse_tz_data_count1
+0x46bd mem_mwheel_b_old_pinlevel
+0x46be mem_mwheel_b_new_pinlevel
+0x46bf mem_mwheel_tog
+0x46c0 mem_mouse_z_data
+0x46c1 mem_mouse_z_data_count
+0x46c2 mem_mouse_z_data_count1
+0x46c3 mem_reconn_mode
+0x46c4 mem_mouse_statue_led_timer
+0x46c5 mem_le_connect_status_flag
+0x46c6 mem_le_start_encrypt_timer
+0x46c7 mem_device_addr_temp
+0x46ce mem_adc_read_timer
+0x46cf mem_adc_low_volatage_led_timer_count
+0x46d0 mem_adc_reference_voltage
+0x46d2 mem_device_number
+0x46d3 mem_mouse_flag
+0x46d5 mem_mouse_function_enable
+0x46d7 mem_combination_select_device_timer_init
+0x46d8 mem_combination_select_device_count
+0x46d9 mem_select_device_button_statue
+0x46da mem_combination_ui_button_count
+0x46db mem_bt_discovey_button_statue
+0x46dc mem_sensor_reset_gpio
+0x46dd mem_sensor_id1
+0x46de mem_sensor_id2
+0x46df mem_mouse_dpi_led_delay_count
+0x46e0 mem_config_sensor_type
+0x46e1 mem_config_sensor_motion
+0x46e2 mem_lbutton_gpio
+0x46e3 mem_rbutton_gpio
+0x46e4 mem_mbutton_gpio
+0x46e5 mem_bk_button_gpio
+0x46e6 mem_fw_button_gpio
+0x46e7 mem_dpi_button_gpio
+0x46e8 mem_whee_a_data_gpio
+0x46e9 mem_whee_b_data_gpio
+0x46ea mem_whee_ta_data_gpio
+0x46eb mem_whee_tb_data_gpio
+0x46ec mem_config_bt_button_gpio
+0x46ed mem_config_select_device_button_gpio
+0x46ee mem_config_paraing_led_gpio
+0x46ef mem_config_low_voltage_alarm_gpio
+0x46f0 mem_config_device1_led_gpio
+0x46f1 mem_config_device2_led_gpio
+0x46f2 mem_config_device3_led_gpio
+0x46f3 mem_sensor_data_gpio
+0x46f4 mem_dpi_led_gpio
+0x46f5 mem_config_function_enable
+0x46f6 mem_config_sensor_angle
+0x46f7 mem_select_sensor_angle_gpio
+0x46f8 mem_select_adc_gpio
+0x46f9 mem_config_end
+0x46f9 mem_btclk_sensor
+0x46fd mem_wire_usb_interval
+0x46fe mem_mouse_mode_flag
+0x46ff mem_usb_addr
+0x4700 mem_flash_base
+0x4703 mem_24g_device_number
+0x4704 mem_24g_enter_lpm_timer
+0x4705 mem_mouse_1step_up_count
+0x4706 mem_mouse_2step_up_count
+0x4707 mem_24g_pairing_timer_count
+0x4709 mem_mouse_vdd_calculate_set
+0x4709 mem_mouse_vdd_full_vol
+0x470b mem_mouse_vdd_empty_vol
+0x470d mem_mouse_vdd_low_vol
+0x470f mem_mouse_vdd_now_vol
+0x4711 mem_mouse_sensor_timer_count
+0x4712 mem_sensor_led_style
+0x4713 mem_mouse_led_type
+0x4714 mem_mouse_blink_count
+0x4715 mem_mouse_struct_led_gpio
+0x4716 mem_mouse_on_time
+0x4718 mem_mouse_off_time
+0x471a mem_mouse_cb_ledon
+0x471c mem_mouse_cb_ledoff
+0x471e mem_reconn_times
+0x471f mem_reconn_times_init
+0x4720 mem_mouse_information_start
+0x4720 mem_device_flag
+0x4721 mem_device1_type
+0x4722 mem_device1_addr
+0x4728 mem_device1_link_key
+0x4738 mem_device1_locall_addr
+0x473e mem_device2_type
+0x473f mem_device2_addr
+0x4745 mem_device2_link_key
+0x4755 mem_device2_locall_addr
+0x475b mem_device3_type
+0x475c mem_device3_addr
+0x4762 mem_device3_link_key
+0x4772 mem_device3_locall_addr
+0x4778 mem_store_flag
+0x477a mem_mouse_dpi
+0x477b mem_mouse_24g_addr
+0x477f mem_mouse_information_end
+0x477f mem_mouse_dpi_seting
+0x477f mem_320x_dpi_1
+0x4780 mem_320x_dpi_2
+0x4781 mem_320x_dpi_3
+0x4782 mem_320x_dpi_4
+0x4783 mem_3212_dpi_1
+0x4784 mem_3212_dpi_2
+0x4785 mem_3212_dpi_3
+0x4786 mem_3212_dpi_4
+0x4787 mem_3610_dpi_1
+0x4788 mem_3610_dpi_2
+0x4789 mem_3610_dpi_3
+0x478a mem_3610_dpi_4
+0x478b mem_mouse_24g_enter_lpm_enable
+0x478c mem_le_rx_window_inc
+0x478e mem_empty_count
+0x478f mem_rf_init_data_new
+0x479c mem_mouse_clear_sensor_data_flag
+0x479d mem_mouse_null_enter_hibernate_flag
+0x479e mem_mouse_null_enter_hibernate_timer
+0x479f mem_mouse_le_reconnect_flag
+0x47a0 mem_mouse_data_queue
+0x47c1 mem_mouse_data_queue_num
+0x47c2 mem_random_addr_increase_count
+0x47c4 mem_mouse_le_conn_param_reject
+0x47c5 mem_lpm_mult_init
+0x47c6 mem_mouse_le_uuid_sup
+0x4806 mem_mouse_wheel_trigger
+0x4807 mem_mouse_wheel_trigger_timer
+0x4808 mem_mouse_enter_sniff_count
+0x4809 mem_mouse_send_switch_req_timer
+0x480a mem_le_tx_buffer0_omemalloc
+0x4825 mem_le_tx_buffer1_omemalloc
+0x4840 mem_le_tx_buffer2_omemalloc
+0x485b mem_le_tx_buffer3_omemalloc
+0x4876 mem_mouse_uuid_list
+0x4afc mem_lmi_opcode_temp
+0x4afd mem_mouse_long_mult_flag
+0x4afe mem_mouse_le_current_mult_timer
+0x4aff mem_24g_long_sleep_param_update_timer
+0x4b00 mem_mouse_mode_config
+0x4b01 mem_mouse_dpi_blink_count
+0x4b02 mem_mouse_adc_last_low_voltage_flag
+0x4b03 mem_mouse_init_sensor_reset_flag
+0x4b04 mem_mouse_multi_led_blink_enable
+0x4b05 mem_mouse_multi_led_gpio
+0x4b06 mem_mouse_multi_led_state
+0x4b07 mem_mouse_multi_led_type
+0x4b08 mem_mouse_multi_led_on_timer
+0x4b09 mem_mouse_multi_led_on_timer_init
+0x4b0a mem_mouse_multi_led_blink_timer
+0x4b0b mem_mouse_multi_led_blink_timer_init
+0x4b0c mem_mouse_multi_led_blink_count
+0x4b0d mem_mouse_multi_led_blink_count_limited
+0x4b0e mem_mouse_multi_led_on_poweron2s_flag
+0x4b0f mem_24g_rxbuf
+0x4b31 mem_24g_txbuf
+0x4b51 mem_24g_txpayload
+0x4b73 mem_24g_rxpayload
+0x4b93 mem_24g_rxdata_length
+0x4b94 mem_24g_pid
+0x4b95 mem_24g_datalen
+0x4b96 mem_24g_data_type
+0x4b97 mem_24g_txlen
+0x4b98 mem_24g_rx_window
+0x4b9a mem_24g_ensure
+0x4b9b mem_24g_txfail_cnt
+0x4b9d mem_24g_get_ack_fail
+0x4b9e mem_24g_retry
+0x4b9f mem_24g_ch
+0x4ba0 mem_24g_current_ch_number
+0x4ba1 mem_24g_paring_addr
+0x4ba5 mem_24g_pairing_sm
+0x4ba6 mem_24g_ch_map1
+0x4baa mem_24g_ch_map2
+0x4bae mem_24g_ch_map3
+0x4bb2 mem_24g_ch_map4
+0x4bb6 mem_24g_tx_btclk
+0x4bba mem_24g_interval
+0x4bbb mem_24g_interval_min
+0x4bbc mem_24g_interval_max
+0x4bbd mem_24g_addr
+0x4bc1 mem_24g_abort_pac
+0x4bc2 mem_24g_check_dongle_times
+0x4bc4 mem_24g_enter_hibernate
+0x4bcc mem_24g_device_addr
+0x4bd0 mem_24g_pac_index
+0x4bd1 mem_24g_no_ack
+0x4bd2 mem_24g_sta_crc
+0x4bd5 mem_24g_last_crc
+0x4bd8 mem_24g_sta_pid
+0x4bd9 mem_24g_last_pid
+0x4bda mem_24g_max_retry
+0x4bdb mem_24g_mode
+0x4bdc mem_24g_rxdata_temp
+0x4bfe mem_24g_rx_addr
+0x4c02 mem_dongle_mode_init
+0x4c03 mem_dongle_work_mode
+0x4c04 mem_dongle_ms_bind_step
+0x4c05 mem_dongle_kb_bind_step
+0x4c06 mem_dongle_bind_device_status
+0x4c07 mem_24g_bind_payload
+0x4c0f mem_24g_abort_packet
+0x4c10 mem_24g_rf_laststa
+0x4c11 mem_24g_hop_btclk
+0x4c15 mem_24g_hop_interval
+0x4c16 mem_24g_mode_switch
+0x4c17 mem_24g_ackpayload_enable
+0x4c18 mem_24g_hop_packet
+0x4c19 mem_24g_pair_mode
+0x4c1a mem_24g_nodata_timer_enable
+0x4c1b mem_24g_time_slice
+0x4c1c mem_24g_kb_data_sta_data
+0x4c24 mem_24g_kb_data_last_data
+0x4c2c mem_24g_kb_multikey_sta_data
+0x4c2f mem_24g_kb_multikey_last_data
+0x4c32 mem_24g_kb_blank_data_enable
+0x4c33 mem_24g_kb_mul_blank_data_enable
+0x4c34 mem_24g_ms_blank_data_enable
+0x4c35 mem_24g_kb_addr
+0x4c39 mem_24g_ms_addr
+0x4c3d mem_24g_dg_last_ch
+0x4c3e mem_24g_dg_ch_number
+0x4c3f mem_24g_dg_config_ch_once
+0x4c40 mem_24g_kb_last_ch
+0x4c41 mem_24g_kb_ch_number
+0x4c42 mem_24g_kb_config_ch_once
+0x4c43 mem_24g_ms_last_ch
+0x4c44 mem_24g_ms_ch_number
+0x4c45 mem_24g_ms_config_ch_once
+0x4c46 mem_24g_syncword
+0x4c48 mem_24g_syncword_crc8
+0x4c49 mem_24g_get_syncword_crc8
+0x4c4a mem_24g_ota_sta_pid
+0x4c4c mem_tx_power_temp
+0x4c4d mem_rssi_hex
+0x4c4e mem_rssi_noise_avg
+0x4c4f mem_rssi_noise_index
+0x4c50 mem_rssi_signal_index
+0x4c51 mem_rssi_noise_dg_avg
+0x4c52 mem_rssi_noise_kb_avg
+0x4c53 mem_rssi_noise_ms_avg
+0x4c54 mem_rssi_noise_dg_index
+0x4c55 mem_rssi_noise_kb_index
+0x4c56 mem_rssi_noise_ms_index
+0x4c57 mem_rssi_signal_buf
+0x4c5f mem_queue_ele_num
+0x4c60 mem_queue_read
+0x4c62 mem_queue_write
+0x4c64 mem_queue_start
+0x4c64 mem_data_ele0
+0x4c84 mem_data_ele1
+0x4ca4 mem_data_ele2
+0x4cc4 mem_queue_end
+0x4cc4 mem_queue_temp
+0x4cc6 mem_cb_24g_data
+0x4cc8 mem_24g_hop_fastly_cnt
+0x4cc9 mem_24g_hop_pac_retry
+0x4cca mem_24g_rf_hop_ch
+0x4ccb mem_24g_rf_last_sta
+0x4ccc mem_24g_rf_work_stage
+0x4ccd mem_24g_sync_cnt
+0x4cce mem_power_ctrl_pac_succ_cnt
+0x4ccf mem_rssi_avg_received
+0x4cd0 mem_rssi_hex_received
+0x4cd1 mem_power_ctrl_level
+0x4cd2 mem_seqi
+0x4cd3 mem_24g_auto_paring_switch
+0x4cd4 mem_24g_paccnt
+0x4cd5 mem_24g_transmit_by_interrupt
+0x4cd6 mem_24g_transmit_by_interrupt_exit_count
+
+	width = 32
+	const length = 12000
+
+	/* ========= memory ============== */
+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_hci_version
+0x0083 mem_acl_pktlen
+0x0085 mem_sco_pktlen
+0x0086 mem_acl_pktcnt
+0x0088 mem_sco_pktcnt
+0x008a mem_current_sniff_attempt
+0x008b mem_current_sniff_timeout
+0x008c mem_sniff_timeout_temp
+0x008d mem_nfreq_index_inq
+0x008e mem_nfreq_index_page
+0x008f mem_ninqy_index
+0x0090 mem_fhs_misc
+0x0091 mem_subsniff_instant
+0x0095 mem_subsniff_rate
+0x0096 mem_subsniff_tcmax
+0x0098 mem_subsniff_tsniff
+0x0099 mem_lpm_adjust
+0x009a mem_sync_clke
+0x00a0 mem_lpm_current_mult
+0x00a1 mem_gpio_wakeup_low
+0x00a5 mem_gpio_wakeup_high
+0x00a9 mem_air_mode
+0x00aa mem_sco_asso_handle
+0x00ab mem_sco_handle
+0x00ad mem_esco_desco
+0x00ae mem_esco_type
+0x00af mem_neogotiation_state
+0x00b0 mem_saved_amaddr
+0x00b1 mem_esco_arq
+0x00b2 mem_esco_saved_arq
+0x00b3 mem_sco_obuf
+0x00d1 mem_sco_ibuf
+0x00ef mem_sco_poll
+0x00f0 mem_npage_index
+0x00f1 mem_page_mode
+0x00f2 mem_page_clk
+0x00f6 mem_tst_pktcnt_sync
+0x00f8 mem_tst_pktcnt_hec
+0x00fa mem_tst_pktcnt_crc
+0x00fc mem_tst_pktcnt_dmh
+0x00fe mem_tmp_buffer_head
+0x0101 mem_tmp_buffer
+0x0151 mem_tester_emulate
+0x0152 mem_temp_payload
+0x0152 test_mode_scenario
+0x0153 test_mode_hopping_mode
+0x0154 test_mode_tx_freq
+0x0155 test_mode_rx_freq
+0x0156 test_mode_power_mode
+0x0157 test_mode_poll_period
+0x0158 test_mode_packet_type
+0x0159 test_mode_data_length
+0x015b mem_test_mode_old_debug_config
+0x015c mem_tester_cnt
+0x015d mem_temp_am_addr
+0x015e mem_temp_arq
+0x015f mem_len
+0x0161 mem_clkn_bt
+0x0165 mem_clke_bt
+0x0169 mem_dpll_clkn
+0x016d mem_connection_options
+0x016e mem_nameres_cnt
+0x016f mem_txptr
+0x0171 mem_slot_offset
+0x0173 extm_fhs_misc
+0x0174 extm_newconn_am_addr
+0x0175 extm_class
+0x0178 extm_lap
+0x017b extm_uap
+0x017c extm_nap
+0x017f mem_debug_config
+0x0180 mem_lch_code
+0x0181 mem_fhs_am_addr
+0x0182 mem_dpll_error
+0x0184 mem_select_list_item
+0x0185 mem_temp_reconn_record
+0x0185 mem_record_bt_mode
+0x0186 mem_temp_lap
+0x018c mem_list_item_ptr
+0x018e mem_eir
+
+
+
+(//bluetooth tx power
+0 TX_POWER_0DB
+1 TX_POWER_3DB
+2 TX_POWER_5DB
+3 TX_POWER_f3DB
+4 TX_POWER_f5DB
+
+0x20 TX_POWER_PAIR
+)
+
+
+0x3b17 rom_lpm_sleep
+0x59e0 rom_save_ucode
+
+0x4219 rom_mem_lpm_xtalcnt
+0x423b rom_mem_patch_ptr
+0x423d rom_mem_patch_len
+
+0x5b1a rom_otpd_read_data
+0x5ada rom_otp_write
+	/* 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
+
+80 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 */
+/* 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
+
+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
+339 param_acl_pktlen
+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
+0x12e904 param_hci_version
+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 */
+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        contru  /* contr 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       contwu   /* 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       interrupts    /* 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 */
+21       ctrl_reg     /* 2023 and after */
+22       jtag_addr    /* load jtag address field, lsb */
+23       freq_index   /* 7 bit read only */
+24       jtag_data    /* wdata to and rdata from jtag */
+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
+/* wire even_train    = freq_mode[4];    // odd even train                            */
+/* wire conn_mode     = 3;    // connection                                           */
+/* wire iqpgscan_mode = 2;    // slave in inquiry and page (not response)             */
+/* wire iqpgresp_mode = 1;    // slave in inquriy and page (response only)            */
+/* wire inqypage_mode = 0;    // master in inquiry and page(response or not response) */
+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 */
+43       host_mode         /* generic stuff for kick starts */
+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		
+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 - 47 */
+(
+
+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_flag
+15 mark_old_packet
+16 mark_longpacket
+17 mark_testmode
+18 mark_ar2
+19 mark_h5tx_rp
+20 mark_h5tx_crc	
+21 mark_h5tx_retransmit
+22 mark_h5rx_pstart
+23 mark_h5_sync
+24 mark_h5_reinit
+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_conext
+40 mark_eeprom_size
+// REVAB:max 35, REVC:max 63
+41 mark_ble_tx_md
+42 mark_ble_rx_md
+43 mark_otp_encrypt
+44 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
+ 
+)
+
+(
+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
+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 send_sco_when_slave
+5 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                            */ 
+
+(
+0 llid0
+1 llid1
+2 nesn
+3 sn
+4 md
+5 wak
+)
+
+/* 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
+)
+
+//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
+
+)
+
+(
+0 bt_disabled
+1 ble_disabled
+2 module_disable
+
+)
+
+(
+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
+)
+
+
+
+0x01f2 mem_ucode_status
+0x01f3 mem_otp_ucode_flag
+0x01f5 mem_spid_tbuf/* spid buf: 03 addr[23:16] addr[15:8] addr[7:0] */
+0x01f6 mem_iicd_tbuf/* iicd buf: iic_adr addr[15:8] addr[7:0] iic_adr */
+0x01f6 mem_addr_hi
+0x01f7 mem_addr_mi
+0x01f8 mem_addr_lo
+0x01f9 mem_iicd_addr
+0x01fa mem_spid_rbuf
+0x01fe mem_ucode_buf
+0x0200 mem_ucode_len
+0x0202 mem_sched_addr
+0x0204 mem_ucode_ptr
+0x0206 mem_ucode_keybuf
+0x0216 mem_check_plap_temp
+0x0228 mem_reconnect_flag
+0x0229 mem_switch_fail_master_count
+0x022a mem_app_evt_timer_count
+
+//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
+0x20 FLASH_COMMAND_SECTOR_ERASE
+)
+
+0x0000 otp_ucode_flag
+0x07f0 otp_ucode_aeskey
+
+/* adc data addr and flag */
+(
+0x07e0 OTP_CHIP_FUNCTIONS
+0x07e2 otp_adc_io_0_5V_addr
+0x07e4 otp_adc_hvin_1V_addr
+0x07e6 otp_adc_vinlpm_2V_addr
+0x07e8 otp_adc_io_1V_addr
+0x07ea otp_adc_hvin_5V_addr
+0x07ec otp_adc_vinlpm_3V_addr
+0x07ee otp_adc_flag_addr
+0xaa55 OTP_ADC_FLAG
+)
+
+/* data stored in eeprom */
+(
+0	eeprom_nv_ram
+
+195	eeprom_module_init_flag//2
+
+)
+
+/*mem_app_handshake_flag*/
+(
+0 APP_HANDSHAKE_NULL
+1 APP_HANDSHAKE_DONE
+
+)
+/*mem_device_option*/
+(
+1 dvc_op_hci
+4 dvc_op_dongle
+5 dvc_op_spp
+6 dvc_op_ukey
+7 dvc_op_ir
+
+9 dvc_op_shutter
+10 dvc_op_module
+11 dvc_op_ble_mouse
+12 dvc_op_ble_kb
+13 dvc_op_ble_prcp
+14 dvc_op_car
+15 dvc_op_AntiLost
+16 dvc_op_remote_car
+255 dvc_op_test
+//device option hight 4
+6 dvc_op_mouse
+7 dvc_op_keyboard
+//device option low 2
+(
+0 MODE_3_MOUSE
+1 MODE_4_MOUSE
+)
+)
+
+(
+3 twspi_sclk
+4 twspi_sdio
+)
+
+(
+4 pan_clk_bit
+5 pan_dat_bit
+6 pan_mov_bit
+)
+
+(
+7 otp_uflag_aes
+6 otp_uflag_skip_eep
+5 otp_uflag_skip_flash
+4 otp_uflag_hci
+)
+
+/* ir command */
+(
+1 ircmd_record
+2 ircmd_play
+3 ircmd_write_pulse
+4 ircmd_write_seq
+5 ircmd_write_next
+
+8 ircmd_test_play
+9 ircmd_test_rec
+
+10 ircmd_report_pulse
+11 ircmd_report_seq
+12 ircmd_report_raw
+
+20 ircmd_screen_on
+21 ircmd_screen_off
+)
+
+(
+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
+)
+(
+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
+)
+
+
+//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
+)
+
+
+
+(
+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
+)
+
+
+
+(
+0 LIGHT_GROUP0
+)
+
+(
+0 LIGHT_CMD_PWM0
+1 LIGHT_CMD_PWM1
+2 LIGHT_CMD_PWM2
+3 LIGHT_CMD_PWM3
+4 LIGHT_CMD_PWM4
+5 LIGHT_CMD_PWM5
+6 LIGHT_CMD_AUTO_MODE
+0xff LIGHT_CMD_PAIRING
+
+)
+
+
+
+
+(//mem_module_flag
+//bit0~bit3 config module function
+0 MODULE_FLAG_UART_FLOW_CONTROL
+1 MODULE_FLAG_BLE_SEND_MTU23
+2 MODULE_FLAG_BLE_DATA_ENCRYPT
+
+//bit4~bit7 module states change
+4 MODULE_FLAG_BLE_DATA_FINISH
+5 MOUDLE_TASK_UNSNIFF
+6 MOUDLE_TASK_SNIFF
+
+)
+
+(
+34 NV_DATA_LEN
+-1 DECREASED_ONE
+)
+
+
+
+(
+	10 FLAG_MODULE_READ_VDD_COUNT
+)
+
+(
+	110  DM_REFCOM_BUFF_LEN
+)
+(
+	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
+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
+
+0xff HCI_TEST_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
+0x0b HCI_EVENT_FINISH_PACK_NUM
+0X0C HCI_EVENT_SNIFF_MD_CHANGE
+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
+
+)
+
+
+(//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	PAIRING_PINCODE
+1	PAIRING_JUSTWORK
+2	PAIRING_PASSKEY
+3	PAIRING_CONFIRM
+)
+
+
+(
+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
+)
+
+
+0x022b mem_init_cnt
+//dpi eeprom addr
+
+
+
+(
+//SPI GPIO 
+0x19 MOUSE_SPI1_CLK_GPIO
+0x1A MOUSE_SPI1_SDIO_GPIO
+0X1E MOUSE_SPI2_CLK_GPIO
+0X1F MOUSE_SPI2_SDIO_GPIO
+//combination
+0x01 MOUSE_L_BUTTON
+0X02 MOUSE_R_BUTTON
+0X04 MOUSE_M_BUTTON
+0X05 MOUSE_LM_BUTTON
+0X06 MOUSE_RM_BUTTON
+0X07 MOUSE_LMR_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
+//bt mode device number
+0x01 MODE_BT_DEVICE1
+0x02 MODE_BT_DEVICE2
+0x03 MODE_BT_DEVICE3
+0x02 MODE_24G_DEVICE
+//mouse  flag
+0X00 WRITE_REQ_ENABLE_FLAG
+0X01 LL_START_ENC_FLAG
+0X02 LL_PAIRING_SUCCESS_FLAG
+
+
+//mouse_function_flag
+0X04 MOUSE_FLAG_LEN
+//1byte
+0X00 MOUSE_SELECT_DEVICE_FLAG
+0X01 MOUSE_CPI_FLAG
+0X02 MOUSE_BT_CANNEL_RECONN_FLAG
+0X03 MOSUE_24G_PAIRING_FLAG
+0X04 MOUSE_LOW_VOLTAGE_FLAG
+0X05 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG
+0X06 MOUSE_LONG_BT_BUTTON_FLAG
+0X07 MOUSE_STORE_EEPROM_FLAG
+0x08 MOUSE_STATUE_UP_FLAG
+0X09 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG
+
+
+//3byte
+0X10 MOUSE_ENABLE_USB
+0X11 MOUSE_ENABLE_24G
+0X12 MOUSE_ENABLE_SPI2
+0X13 MOUSE_ENABLE_FLASH
+0X14 MOUSE_ENABLE_EEPROM
+0X15 MOUSE_ENABLE_STATUE_UP_THREE_LED
+0X16 MOUSE_ENABLE_STATUE_UP
+0X17 MOUSE_ENABLE_DPI_LED_BLINK
+//4byte
+0X18 MOUSE_ENABLE_BLE_RANDOM_ADDRE
+0X19 MOUSE_ENABLE_2K_EEPROM
+0X1A MOUSE_ENABLE_ADC
+0X1B MOUSE_ENABLE_INIT_DELAY
+0X1C MOUSE_ENABLE_DISCOVERY_SENSOR_LED
+0X1D MOUSE_ENABLE_AUTO_24G_PARING
+0X1E MOUSE_ENABLE_WAKEUP_FROM_POWER
+0X1F MOUSE_ENABLE_GPIO_CONTROL_ADC_SENSOR
+
+
+
+//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
+
+
+//mem_config_function_enable
+0 ENABLE_BT_DISCOVERY_BY_GPIO_LED
+1 ENABLE_MODE_LED
+2 ENABLE_LOW_VOLTAGE_LED
+3 ENABLE_DEVICE_LED
+4 ENABLE_BT_BUTTON
+5 ENABLE_SELECT_DEVICE_BY_GPIO_BUTTON
+6 ENABLE_SELECT_DEVICE_BY_SWITCH
+7 ENABLE_SENSOR_MOTION_PIN
+
+0xFF GPIO_DISABLE
+
+
+//DPI button state 
+0x00 DPI_BUTTON_STATE_DOWN
+0x01 DPI_BUTTON_STATE_UP
+
+
+//eeprom address offect
+0X00 MOUSE_INFO_EEPROM_OFFECT
+0X5A MOUSE_DPI_EEPROM_OFFECT	//1byte
+0X5B MOUSE_G24_ADDR_EEPROM_OFFECT	//4bytes
+0X5F MOUSE_RANDOM_ADDR_COUNT_EEPROM_OFFSET	//2bytes
+0X61 MOUSE_DEVICE_MODE_EEPROM_OFFSET	//1byte	
+0X62 MOUSE_EEPROM_MODULE_INIT_FLAG		//eeprom_module_init_flag 2bytes
+
+
+// Sensor id number
+0x30 P32XX_ID1
+0x31 P3065_ID1
+0x3E P3610_ID1
+0x02 P3212_ID2
+0xD1 P3205_TJ3T_ID2
+0XD2 P3204_TJ3L_ID2
+0x54 PKA8_ID2
+0x70 P3065_XY_ID2
+
+
+//Sensor type
+0X00 P3205
+0X01 P3065
+0X02 KA8
+0X03 P3204
+0X04 P3212
+0X05 P3610
+0X06 P3065_XY
+
+
+//p3610 smart enable flag
+0X00 P3610_SMART_ENABLE
+0X01 P3610_SMART_DISABLE
+
+
+//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
+
+
+0x06 MOUSE_FPGA_RF_WORK_DEBUG_GPIO
+0x02 MOUSE_FPGA_DEBUG_GPIO
+
+)
+
+(
+0x01 ADV_FLAG_LIMITED_DISCOVERABLE
+0x04 ADV_FLAG_BREDR_NOT_SUPPORTED
+)
+
+(
+5 TEST_GPIO
+)
+
+(
+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
+)
+
+(
+0x017700 G24_LONG_SLEEP_STEP1	//8ms
+0x36ee80 G24_LONG_SLEEP_STEP2	//300ms
+)
+
+
+(
+0 MOUSE_24G_ONLY
+1 MOUSE_BLE_ONLY
+2 MOUSE_BT_ONLY
+3 MOUSE_BLE_24G_ENABLE
+4 MOUSE_BT_BLE_24G_ENABLE
+)
+(
+0 MULTI_LED_ON
+1 MULTI_LED_BLINK
+)
+
+
+(
+// eeprom config
+0xb0 REMOTE_PARAM_EEPROM_CONFIG_ADDR
+
+)
+
+
+(
+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
+0x913A	BLE_SHUTTER_GATT_LIST
+0x92B8	CLASSIC_SHUTTER_SDP_LIST
+0x949F	BLE_SHUTTER_KEY_VALUE_LIST
+0x94C7	CLASSIC_SHUTTER_KEY_VALUE_LIST
+)
+
+
+(//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
+
+)
+
+
+
+//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
+)
+
+(
+4 USB_STATUS_SETUP
+6 USB_STATUS_NAK
+)
+
+(
+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
+0x01 MAC_BOOT_MODE
+0x02 R_KEY
+0x03 LR_KEY
+)
+
+(
+0x8ffa	HID_KBDATA_ADDR
+0x903a	HID_MSDATA_ADDR
+0x90fe	HID_CONFDATA_ADDR
+)
+
+
+(
+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
+)
+
+
+(
+0x1A0 AT_baud_115200
+0x4e2 AT_baud_38400
+0x1388 AT_baud_9600
+)
+
+(
+0x4e00 mem_module_rx_buf//0x400
+0x4fff mem_module_rx_buf_end
+0x1c00 mem_module_tx_buf
+0x1fff mem_module_tx_buf_end
+)
+
+(
+0x01 BIND_ACKPAYLOAD
+0x02 USER_ACKPAYLOAD
+
+0xcf CMD_OTA
+0xc0 CMD_OTA_START
+0xc1 CMD_OTA_DATA
+0xc2 CMD_OTA_EXIT
+0x55 OTA_STA_SUCCESS
+0xaa OTA_STA_FAIL
+)
+
+(
+0 TIMER_NAK
+640 TIMER_NAK_DELAY
+15 TIMER_WAKEUP
+5000 TIMER_WAKEUP_DELAY
+)
+
+
+
+(
+//add
+0   offset_24g_rxbuf
+1   offset_24g_rxbuf_add1
+2   offset_24g_rxbuf_add2
+34  offset_24g_txbuf
+66  offset_24g_txpayload
+100 offset_24g_rxpayload
+102 offset_24g_rxpayload_add2
+132 offset_24g_rxdata_length
+133 offset_24g_pid
+134 offset_24g_datalen
+135 offset_24g_data_type
+136 offset_24g_txlen
+137 offset_24g_rx_window
+139 offset_24g_ensure
+140 offset_24g_txfail_cnt
+141 offset_24g_get_ack_fail
+142 offset_24g_tx_without_int
+143 offset_24g_retry
+144 offset_24g_ch
+145 offset_24g_current_ch_number
+146 offset_24g_paring_addr
+150 offset_24g_pairing_sm
+151 offset_24g_ch_map1
+155 offset_24g_ch_map2
+159 offset_24g_ch_map3
+163 offset_24g_ch_map4
+167 offset_24g_tx_btclk
+171 offset_24g_interval
+172 offset_24g_interval_min
+173 offset_24g_interval_max
+174 offset_24g_addr
+178 offset_24g_abort_pac
+179 offset_24g_sync_pac
+180 offset_24g_hop_pac
+181 offset_24g_check_dongle_times
+182 offset_24g_enter_hibernate
+190 offset_24g_device_addr
+194 offset_24g_pac_index
+195 offset_24g_no_ack
+196 offset_24g_sta_crc
+199 offset_24g_last_crc
+202 offset_24g_sta_pid
+203 offset_24g_last_pid
+204 offset_24g_max_retry
+205 offset_24g_mode
+206 offset_24g_rf_last_sta
+207 offset_24g_rf_hop_ch
+208 offset_24g_sync_cnt
+209 offset_24g_hop_pac_retry
+210 offset_24g_rf_work_stage
+211 offset_24g_hop_fastly_cnt
+212 offset_24g_short_sleep_timer
+216 offset_24g_cb_data
+218 offset_24g_cb_lpm_prepare
+220 offset_24g_cb_lpm_before
+222 offset_24g_cb_rxdata_type1
+224 offset_rssi_signal_index
+225 offset_rssi_signal_avg
+226 offset_rssi_signal_buf
+234 offset_rssi_noise_index
+235 offset_rssi_noise_avg
+236 offset_rssi_noise_buf
+244 offset_rssi_ctrl_threshold_down
+245 offset_rssi_noise_dg_index
+246 offset_rssi_noise_kb_index
+247 offset_rssi_noise_ms_index
+248 offset_rssi_noise_dg_avg
+249 offset_rssi_noise_kb_avg
+250 offset_rssi_noise_ms_avg
+251 offset_tx_power_temp
+252 offset_power_ctrl_packet_cnt
+253 offset_power_ctrl_ack_cnt
+254 offset_power_ctrl_level
+255 offset_power_ctrl_txpwr_level2
+//iadd
+256 offset_power_ctrl_txpwr_level1
+257 offset_power_ctrl_txpwr_level0
+258 offset_power_ctrl_threshold_up
+259 offset_power_ctrl_threshold_down
+260 offset_dongle_mode_init
+261 offset_dongle_work_mode
+262 offset_dongle_ms_bind_step
+263 offset_dongle_kb_bind_step
+264 offset_dongle_bind_device_status
+265 offset_24g_rxdata_temp
+267 offset_24g_rxdata_temp_add2
+268 offset_24g_rxdata_temp_add3
+269 offset_24g_rxdata_temp_add4
+299 offset_24g_rx_addr
+303 offset_24g_bind_payload
+304 offset_24g_bind_payload_add1
+305 offset_24g_bind_payload_add2
+309 offset_24g_rf_laststa
+310 offset_24g_hop_btclk
+314 offset_24g_hop_interval
+315 offset_24g_ackpayload_enable
+316 offset_24g_ackpayload
+348 offset_24g_mode_switch
+349 offset_24g_pair_mode
+350 offset_24g_nodata_timer_enable
+351 offset_24g_time_slice
+352 offset_24g_mouse_addr
+356 offset_24g_kb_addr
+360 offset_24g_kb_data_sta_data
+368 offset_24g_kb_data_last_data
+376 offset_24g_kb_multikey_sta_data
+379 offset_24g_kb_multikey_last_data
+382 offset_24g_kb_blank_data_enable
+383 offset_24g_kb_mul_blank_data_enable
+384 offset_24g_ms_blank_data_enable
+385 offset_24g_dg_last_ch
+386 offset_24g_dg_ch_number
+387 offset_24g_dg_config_ch_once
+388 offset_24g_kb_last_ch
+389 offset_24g_kb_ch_number
+390 offset_24g_kb_config_ch_once
+391 offset_24g_ms_last_ch
+392 offset_24g_ms_ch_number
+393 offset_24g_ms_config_ch_once
+394 offset_24g_pair_txpower
+395 offset_24g_auto_pair_switch
+)
+
+(
+3 QUEUE_ELE_COUNT
+32 QUEUE_ELE_LENGTH
+)
+
+(
+3 retry_24g
+1 NO_ACK_24G
+0 WITH_ACK_24G
+
+0 ENSURE_OFF_24G
+1 ENSURE_ON_24G
+
+0x10 ABORT_DATA
+0x40 RSSI_SENSITIVITY
+
+0x4e G24_PAIR_CH
+)
+
+(
+0 disable_24g
+1 tx_24g
+2 rx_24g
+
+0 bit_ack_24g
+)
+
+//mem_24g_interrupt
+(
+0 rx_dr
+1 rx_sync
+4 tx_ds
+5 tx_fail
+)
+
+//mem_24g_data_type
+(
+0x07 bits_data
+//0-2 data type
+3 bit_abort
+4 bit_hop
+5 bit_sync
+//6-7 channel offset
+)
+
+
+
+//mem_24g_pairing_sm
+(
+0 STATE_24G_PAIRING_NULL
+1 STATE_24G_PAIRING_1
+2 STATE_24G_PAIRING_2
+3 STATE_24G_PAIRING_3
+0X11 STATE_24G_PAIRING_1_WAITING_ACK
+0X12 STATE_24G_PAIRING_2_WAITING_ACK
+0X13 STATE_24G_PAIRING_3_WAITING_ACK
+0XFF STATE_24G_PAIRING_SUCCESS
+)
+
+(
+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
+)
+
+(
+0x01 DATATYPE_MOUSE	//mouse
+0x02 DATATYPE_KEYBOARD	//keyboard
+0xAA DATATYPE_BIND		//bind step 1
+0x55 DATATYPE_CONFIG	//bind step 2
+0x22 DATATYPE_OK	//bind step 3
+
+0x01 BIND_MOUSE
+0x02 BIND_KEYBOARD
+)
+
+(
+112 G24_DONGLE_ADDR
+)
+
+(
+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
+)
+
+//user defined cmd
+(
+0xb0 COMMAND_USER_DEFINED
+)
+
+(
+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
+320 TIMER_MS_BLANK_DELAY
+
+12 TIMER_KB_MUL_BLANK
+320 TIMER_KB_MUL_BLANK_DELAY
+
+14 TIMER_KB_BLANK
+320 TIMER_KB_BLANK_DELAY
+)
+
+(
+0 KB_NORMAL_REPORT_ID
+1 MS_REPORT_ID
+3 KB_MULTIKEY_REPORT_ID
+)
+
+(
+7 RSSI_BUF_LEN_SIGNAL
+255 RSSI_BUF_LEN_NOISE
+0x50 RSSI_THRESH_NOISE
+
+0x77 RSSI_DIS_MIN_24G
+0x82 RSSI_DIS_MAX_24G
+
+0x75 RSSI_DIS_MIN_BLE
+0x80 RSSI_DIS_MAX_BLE
+)
+
+(
+//power control
+0x01 TXPWR_0DB
+0x02 TXPWR_3DB
+0x04 TXPWR_5DB
+0x10 TXPWR_f5DB
+
+124 POWER_CTRL_MAX_PACKET_CNT
+
+2 POWER_CTRL_LOSSPAC_THRESH_UP0
+0 POWER_CTRL_LOSSPAC_THRESH_DOWN0
+0x20 POWER_CTRL_RSSI_THRESH_DOWN0
+
+5 POWER_CTRL_LOSSPAC_THRESH_UP1
+0 POWER_CTRL_LOSSPAC_THRESH_DOWN1
+0x60 POWER_CTRL_RSSI_THRESH_DOWN1
+
+10 POWER_CTRL_LOSSPAC_THRESH_UP2
+0 POWER_CTRL_LOSSPAC_THRESH_DOWN2
+0x80 POWER_CTRL_RSSI_THRESH_DOWN2
+)
+
+//mem_send_data_24g_short_lpm
+(
+0 SHORT_LPM_STATE_POLLING 	
+1 SHORT_LPM_STATE_DATA
+2 SHORT_LPM_STATE_NODATA
+3 SHORT_LPM_STATE_BUTTON_WHEEL
+)
+
+(
+81000 G24_8125_INTERVAL_PARAM
+78000 G24_78125_INTERVAL_PARAM
+)
+
+(
+1 G24_TX_TIMER_INT_ENABLE
+0 G24_TX_TIMER_INT_DISABLE
+)
+
+
+
+0x022d mem_h5rx_ackcnt
+0x022e mem_check_err_acl_cont
+0x022f mem_rp_packets
+0x0230 mem_packet_type
+0x0232 mem_hci_sniff_conn_handle
+0x0234 mem_hci_sniff_max_interval
+0x0236 mem_hci_sniff_min_interval
+0x0238 mem_hci_sniff_attempt
+0x023a mem_hci_sniff_timeout
+0x023c mem_voice_setting
+0x023e mem_retransmission_effort
+0x023f mem_sco_ptype
+0x0241 mem_extm_uap_restore
+0x0244 mem_h5rx_rptr
+0x0246 mem_h5rx_ack
+0x0247 mem_h5tx_ack
+0x0248 mem_h5tx_rptr
+0x024a mem_h5tx_wptr
+0x024c mem_h5tx_free
+0x024e mem_h5rx_tmp
+0x024f mem_h5tx_seq
+0x0250 mem_hci_acl_queue_wptr
+0x0252 mem_hci_acl_queue_rptr
+0x0254 mem_hci_acl_queue_end
+0x0256 mem_hci_acl_queue_wcnt
+0x0257 mem_hci_acl_cnt
+0x0258 mem_hci_acl_tx_trigger_wptr//tx via uart
+0x025a mem_hci_curr_len
+0x025b mem_hci_curr_target
+
+
+15 hci_flag_rp
+//mem_hci_options bit map
+(
+1 hci_option_h4
+2 hci_option_protocol2
+3 hci_option_protocol3
+4 hci_option_uart
+5 hci_option_usb
+6 hci_option_phy2
+7 hci_option_phy3
+)
+// UART baud rate @6MHz
+(
+0 uart_ctrl_bit_enable
+3 uart_ctrl_bit_slip_protocol
+
+)
+
+//bit map of core_uart_ctrl
+(
+
+)
+//bit map of core_uart_status
+(
+0 uart_status_tx_fifo_full
+1 uart_status_tx_fifo_empty
+2 uart_status_tx_busy
+3 uart_status_rx_fifo_empty
+
+)
+//HCI H4 LOG related
+(
+0x4850 mem_hci_log
+8 hci_log_size
+100 hci_log_cnt
+
+)
+//HCI H4 Packet TYPE
+(
+0x01 HCI_H4_TYPE_CMD
+0x02 HCI_H4_TYPE_ACL
+0x04 HCI_H4_TYPE_EVENT
+
+)
+// HCI command opcode group field values
+(
+0x01 HCI_OGF_LINK_CONTROL
+0x02 HCI_OGF_LINK_POLICY
+0x03 HCI_OGF_BASEBAND
+0x04 HCI_OGF_INFO
+0x05 HCI_OGF_STATUS
+0x06 HCI_OGF_TEST
+0x08 HCI_OGF_LOW_ENERGY
+0x3e HCI_OGF_LOGO_TESTING
+0x3f HCI_OGF_VENDOR_SPECIFIC
+)
+
+// 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
+)
+
+//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
+)
+
+(
+0x00 HCI_LPM_OFF
+0x01 HCI_LPM_ON
+)
+
+
+(
+33 HOST_WAKE_TIME
+)
+
+(
+1 HCI_RX_WAKE
+0 HCI_RX_READY
+)
+
+
+(
+/*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
+)
+
+
+
+
+
+
+
+
+//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
+
+
+
+0x025d mem_l2cap_mem_start
+0x025d mem_l2cap_rxbuff1_len
+0x025f mem_l2cap_rxbuff2_len
+0x0261 mem_l2cap_rxbuff_new
+0x0263 mem_l2cap_rxbuff_inuse
+0x0264 mem_l2cap_payload_ptr
+0x0266 mem_l2cap_rx_pkt_length
+0x0268 mem_l2cap_rx_cid
+0x026a mem_l2cap_rx_done
+0x026b mem_l2cap_signal_tx_buff_ptr
+0x026d mem_l2cap_signal_tx_payload_ptr
+0x026f mem_l2cap_signal_tx_length
+0x0271 mem_sdp_tx_buff_ptr
+0x0273 mem_sdp_tx_payload_ptr
+0x0275 mem_sdp_tx_pkt_length
+0x0277 mem_rfcomm_tx_buff_ptr
+0x0279 mem_rfcomm_tx_payload_ptr
+0x027b mem_rfcomm_tx_pkt_length
+0x027d memL2CAP_T1
+0x027f mem_CONTROL_tasks
+0x0280 mem_send_config_req
+0x0281 mem_config_identifier
+0x0282 mem_config_req_dest_CID
+0x0284 mem_rfcomm_malloc_fail_flag
+0x0285 mem_message_to_uppersm
+0x0286 mem_upper_sm_remote_page
+0x0287 mem_upper_sm_reconn
+0x0288 mem_upper_sm_ss
+0x0289 mem_tx_malloc_log
+0x02c9 mem_l2cap_mem_end
+0x02c9 mem_scid
+0x02cb mem_cmd_length
+0x02cd mem_tt2
+0x02cf mem_tt3
+0x02d1 mem_id
+0x02d3 mem_psm
+0x02d5 mem_l2cap_sdpres_delay_time
+
+
+
+//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
+)
+
+
+0x02d9 mem_le_rxbuf
+0x0311 mem_le_l2capbuf
+0x0417 mem_le_mic
+0x041b mem_le_peer_mic
+0x041f mem_le_peer_ltk
+0x042f mem_le_mrand
+0x043f mem_le_state
+0x0440 mem_le_mode
+0x0441 mem_le_tsniff
+0x0443 mem_le_anchor
+0x0447 mem_le_clk_offset
+0x044d mem_le_receive_window
+0x044f mem_le_plap
+0x0455 mem_le_conn_handle
+0x0456 mem_le_arq
+0x0457 mem_le_ch
+0x0458 mem_le_hop
+0x0459 mem_le_event_count
+0x045b mem_le_supervision_timer
+0x045f mem_le_instant
+0x0461 mem_le_channels
+0x0462 mem_le_op
+0x0463 mem_le_access
+0x0467 mem_le_crcinit
+0x046a mem_le_window_size
+0x046b mem_le_slave_latency
+0x046d mem_le_superto
+0x046f mem_le_channel_map
+0x0474 mem_le_no_using
+0x0476 mem_le_peer_sca
+0x0477 mem_le_att_opcode
+0x0478 mem_le_att_handle
+0x047a mem_le_err_code
+0x047b mem_le_ll_pairing_fail_reason
+0x047c mem_le_sk
+0x048c mem_le_testtype
+0x048d mem_le_test_sync
+0x048f mem_le_test_pcnt
+0x0491 mem_le_rxon_ts
+0x0497 mem_le_rx_ll_opcode
+0x0498 mem_le_notify_attr_start
+0x049a mem_le_notify_len
+0x049b mem_cmd_le_create_conn
+0x049c mem_le_cur_attlist_start_ptr
+0x049e mem_le_cur_handle_start
+0x04a0 mem_le_cur_handle_end
+0x04a2 mem_le_cur_uuid_length
+0x04a3 mem_le_cur_uuid
+0x04b3 mem_le_curr_att_len
+0x04b4 mem_le_search_res
+0x04b5 mem_le_continue_type
+
+
+
+
+(
+0x000001 param_le_features
+0x000a06 param_le_version
+0x1d87 param_le_subversion
+1636 param_sifs
+0x1e0 param_clke_cal_le
+0xa0 param_le_sca
+)
+
+(
+0 DEFAULT_STATES
+1 IPHONE_LOST_LTK
+2 MODULE_LOST_LTK
+3 LTK_NOT_LOST
+)
+
+
+(
+27 LE_MAX_PAKET_LEN
+)
+
+/* advertising channel PDU type */
+(
+0 ADV_IND
+1 ADV_DIRECT_IND
+2 ADV_NONCONN_IND
+3 SCAN_REQ
+4 SCAN_RSP
+5 CONNECT_REQ
+6 ADV_SCAN_IND
+)
+
+(
+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
+0xff	GAP_ADTYPE_MANUFACTURER_SPECIFIC
+)
+
+
+	/* LE control packet type */
+	(
+	0x00 LL_CONNECTION_UPDATE_REQ
+	0x01 LL_CHANNEL_MAP_REQ
+	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
+	)
+
+	/* 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
+	)
+
+	/* L2CAP Signaling OPCODE */
+	(
+	0x12 L2CAP_CONNECTION_PARAMETER_UPDATE_REQUEST
+	0x13 L2CAP_CONNECTION_PARAMETER_UPDATE_RESPONSE
+	)
+
+	/* 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
+	)
+	/*	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
+	)
+
+	(// 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
+	)
+
+
+	//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
+	)
+
+
+	//modified_name
+	(
+	0x14 MAX_NAME_LEN
+	0x16 ADV_DATA_NAME_LEN
+	0X20 SPACE
+	
+	)
+	/* 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
+	)
+	/* 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
+	)
+
+	(
+	0x0000 BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_ACCEPTED
+	0x0001 BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_REJECTED
+	)
+
+//	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
+)
+
+// 	le mode
+(
+0 lemode_idle
+1 lemode_slave
+3 lemode_master
+)
+
+
+(
+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
+)
+
+(
+0x00 LE_PAIRING_MODE_NONE
+0x01 LE_PAIRING_MODE_LAGACY_JUSTWORK
+0x02 LE_PAIRING_MODE_LAGACY_PASSKEY
+0x81 LE_PAIRING_MODE_SECURE_CONNECT_JUSTWORK
+0x82 LE_PAIRING_MODE_SECURE_CONNECT_NUMERIC
+0x83 LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY
+
+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
+)
+
+(
+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
+)
+
+
+(
+96000 TIMER_SMP_PAIRING_TIMEOUT //30S
+)
+//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_AUTH
+5 FLAG_LE_PAIRING_AFTER_AUTH
+6 FLAG_LE_PAIRING_SEND_START_ENC_RSP
+7 FLAG_LE_PARING_SEND_ENC_INFORMATION
+8 FLAG_LE_PARING_SEND_MASTER_IDENTIFICATION 
+9 FLAG_LE_PARING_SEND_INDENTITY_INFORMATION
+0xff FLAG_LE_PAIRING_END
+)
+
+
+
+/*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
+)
+
+//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
+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
+
+)
+
+(
+0 BIT_ADV_CHANNEL_MAP_37
+1 BIT_ADV_CHANNEL_MAP_38
+2 BIT_ADV_CHANNEL_MAP_39
+)
+
+
+
+
+0x04b6 mem_lmo_header_length
+0x04b7 mem_lmo_header_opcode
+0x04b8 mem_lmo_payload
+0x04c9 mem_lmi_accepted_opcode
+0x04ca mem_disconn_reason_send
+0x04cb mem_tx_fixed_freq
+0x04cc mem_rx_fixed_freq
+0x04cd mem_ext_features_page
+0x04ce mem_lmpext_ssp_enable
+0x04d0 mem_remote_sppcap
+0x04d1 mem_lmp_conn_state
+0x04d2 mem_soft_timer
+0x04d4 mem_pincode_state
+0x04d5 mem_sres_tid
+0x04d6 mem_accptsco_tid
+0x04d7 mem_auth_enable
+0x04d8 mem_wait_encryption
+0x04d9 mem_sniff_payload
+0x04e9 mem_aurand_send_delay_time
+
+
+	(
+	//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
+	)
+	/* 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
+)
+
+//
+//
+//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_l2cap_rxbuff1		//0x400
+0x1400 mem_l2cap_rxbuff2		//0x400
+//end address:0x17ff
+)
+//l2cap TX buffers
+(
+0x1800 mem_tx_buff0		//128
+0x1880 mem_tx_buff1		//128
+0x1900 mem_tx_buff2		//128
+0x1980 mem_tx_buff3		//128
+0x1a00 mem_tx_buff4		//128
+0x1a80 mem_tx_buff5		//128
+0x1b00 mem_tx_buff6		//128
+0x1b80 mem_tx_buff7		//128
+//end address: 0x1bff
+)
+
+(
+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
+)
+
+
+
+(
+	  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
+  0x8005 core_lpm_wr
+  0x8006 core_misc_ctrl
+  0x8007 core_otp_rdata
+  0x8009 core_pcmoutfifo
+  0x8010 core_reset
+  0x8011 core_encrypt
+  0x8015 core_uart_txd
+  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_otp_addr
+  0x8046 core_otp_din
+  0x8047 core_otp_ctrl
+  0x8048 core_otpd_addr
+  0x804a core_otpd_len
+  0x804b core_otpd_ctrl
+  0x804c core_lpm_reg
+  0x804f core_lpm_isogate
+  0x8050 core_clkoff
+  0x8052 core_uart_baud
+  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_trptrp
+  0x8062 core_uart_ctrl
+  0x8063 core_bist_ctrl
+  0x8064 core_pwm_pcnt3
+  0x8066 core_pwm_ncnt3 
+  0x8068 core_pwm_pcnt4
+  0x806a core_pwm_ncnt4
+  0x806c core_pwm_pcnt5
+  0x806e core_pwm_ncnt5
+  0x8070 core_gpio_oe0
+  0x8071 core_gpio_oe1
+  0x8072 core_gpio_oe2
+  0x8073 core_gpio_oe3
+  0x8074 core_gpio_out0
+  0x8075 core_gpio_out1
+  0x8076 core_gpio_out2
+  0x8077 core_gpio_out3
+  0x8078 core_gpio_pu0
+  0x8079 core_gpio_pu1
+  0x807a core_gpio_pu2
+  0x807b core_gpio_pu3
+  0x807c core_gpio_pd0
+  0x807d core_gpio_pd1
+  0x807e core_gpio_pd2
+  0x807f core_gpio_pd3
+  0x8080 core_gpio_sel
+  0x8081 core_gpio_sel1
+  0x8082 core_gpio_sel2
+  0x8083 core_gpio_key0
+  0x8084 core_gpio_key1
+  0x8085 core_gpio_key2
+  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
+  0x80b0 core_enc_ctrl
+  0x80b1 core_cvsd_ctrl
+  0x80b2 core_codec_ctrl
+  0x80b3 core_dec_ctrl
+
+
+
+
+  
+  0x8108 core_misc_status
+  0x8109 core_qdec_cntx
+  0x810a core_qdec_cnty
+  0x810b core_qdec_cntz
+  0x810c core_uart_status
+  0x810d core_uart_rbaud
+  0x810e core_uart_txitems
+  0x8110 core_uart_trptr
+  0x8112 core_uart_rxitems
+  0x8114 core_uart_rdptr
+  0x8116 core_uart_rwptr
+  0x8119 core_kscn_kstat
+  0x811a core_kscn_event
+  0x811b core_kscn_event_num
+  0x811c core_gpio_in
+  0x811d core_gpio_in1
+  0x8124 core_current_otp_addr
+  0x8126 core_otpd_remain
+  0x8128 core_spid_remain
+  0x812a core_iicd_remain
+  0x812c core_dma_status
+  0x812d core_perf_status
+  0x812e core_adc_in
+  0x8134 core_pcminfifo
+  0x8135 core_pcminfifo_remain
+  0x8136 core_pcmoutfifo_remain
+  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
+// dummy regs  
+
+  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
+
+  0x8300 iic_prer_low		
+  0x8301 iic_slave_addr	
+  0x8302 iic_ctr					
+  0x8303 iic_cr					
+  0x8304 iic_rxr					
+  0x8305 iic_txr					
+  0x8306 iic_sr					
+  0x8307 iic_fifo				
+
+  0x8400   mem_b_box          /* entire bank */
+  0x8500   mem_e_box          /* entire bank */
+  0x8600   mem_l_box          /* entire bank */
+
+  0x8700 memk
+
+  0x8900 rfen_rx
+  0x8901 rfen_tx
+  0x8902 rfen_mdm
+  0x8903 rfen_sn
+  0x8904 rfen_msc
+  0x8905 rfen_ck
+  0x8906 rfen_adc
+  0x890a  rf_iq_gain
+  0x890b  rf_agc_nsat
+  0x890f  rf_adc_goff
+  0x8912 rf_agc_ctrl
+  0x8914 rfen_ulp
+  0x8973 rfen_chgpump
+  0x894b rf_rx_vctrl_reg1
+  0x894c rf_rx_vctrl_reg2
+  0x894d rf_rx_ib_lna
+  0x894e rf_rx_lna_ctrim
+
+  0x8950 rf_bpf_ctrim
+  0x8951 rf_bpf_ib
+  0x8952 rf_adc_rccal
+  0x8952 rf_rccal_ctrl
+  0x8953 rf_rccal_sel
+  0x8955 rf_tx_pa_ib
+  0x8956 rf_tx_pa_gc
+  0x895f rf_pll_rstn
+  0x8964 rf_sdm_en
+  0x8960 rf_pll_intg
+  0x8961 rf_pll_frac
+  0x8963 rf_pll_frachi
+  0x896c rf_afc_cap
+  0x8967 rf_clkpll_bias
+  0x896f rf_clkpll_en
+  0x8968 rf_clkpll_int
+  0x8969 rf_clkpll_frac
+  0x896d rf_balun_ctrim
+  0x8971 rf_adc_mode
+  0x8972 rf_adc_gc
+  0x8973 rf_adc_ch
+  0x8980 rf_rccal_result
+  0x8981 rf_afc_d2a
+  0x8982 rf_rssi
+
+
+0x8a00 core_usb_config		
+0x8a01 core_usb_int_mask	
+0x8a04 core_usb_addr
+0x8a10 core_usb_trig	
+0x8a11 core_usb_stall		
+0x8a12 core_usb_clear		
+0x8a18 core_usb_ep
+0x8a18 core_usb_dfifo0 
+0x8a19 core_usb_dfifo1  
+0x8a1a core_usb_dfifo2 
+0x8a20 core_usb_ep_len
+0x8a26 core_usb_status		
+0x8a27 core_usb_fifo_empty
+0x8a28 core_usb_fifo_full
+
+
+4 rx_freq_offset
+1 tx_freq_offset
+
+/* bit difinitions */
+  4 whiteoff_bit
+  6 clksel_rc
+  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 otpd_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
+)
+
+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
+0x2dc6c00 uart_clk
+0x16E3600 uart_clk_24
+
+//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_CODEC
+	0x0f CLOCK_OFF_UART
+)
+
+
+/*****************************************************************************/
+/* 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 */
+/**********/
+
+0x04ed memRemoteRPNBitRate
+0x04ee memRemotePRNDataBits
+0x04ef memRemotePRNStopBit
+0x04f0 memRemotePRNParity
+0x04f1 memRemotePRNFlowControl
+0x04f2 memRemotePRNXon
+0x04f3 memRemotePRNXoff
+0x04f4 mem_mod2div_temp
+0x04f7 mem_contw_temp
+0x04f9 mem_attrib_list
+0x04fb mem_current_adss
+0x04fc mem_current_channel
+0x04fd mem_current_frame_type
+0x04fe mem_current_fcs
+0x04ff mem_current_length
+0x0501 mem_rfcomm_uih_payload_ptr
+0x0503 mem_uih_cmd_type
+0x0504 mem_uih_length
+0x0506 mem_param_payload_ptr
+0x0508 mem_ms_param
+0x0509 mem_pn_credit_flow_type_info
+0x050a mem_pn_priority
+0x050b mem_pn_acknowledg_timer
+0x050c mem_pn_max_retrans
+0x050d mem_rfcomm_send_adss
+0x050e mem_rfcomm_send_frame_type
+0x050f mem_rfcomm_send_fcs
+0x0510 mem_rfcomm_send_offset
+
+
+
+(
+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
+	)
+0x0511 mem_sdp_mem_start
+0x0511 mem_sdp_uuid_search_ptr
+0x0519 mem_sdp_continue_byte
+0x051b mem_sdp_pduid
+0x051c mem_sdp_transactionid
+0x051e mem_sdp_transactionid_local
+0x0520 mem_sdp_attribute_maxbyte
+0x0522 mem_sdp_record_maxcnt
+0x0524 mem_sdp_record_handle
+0x0528 mem_sdp_LACAP_found
+0x0529 mem_sdp_RFCOMM_found
+0x052a mem_sdp_handle_list
+0x052a mem_sdp_attrib_list
+0x054a mem_sdp_error_code
+0x054c mem_sdp_all_length
+0x054e mem_handle_humber
+0x054f mem_search_uuid
+0x0551 mem_sdp_mem_end
+(
+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
+)
+
+ 
+
+0x0551 mem_rxbuf
+0x0562 mem_random_number
+0x0572 mem_round_key
+0x0582 mem_kinit
+0x0592 mem_input_store
+0x05a2 mem_x
+0x05b2 mem_y
+0x05c1 mem_y15
+0x05c2 mem_key_store
+0x05d3 mem_key_store_end
+0x05d4 memp_ar_key
+0x05d6 memp_ar_input
+0x05d8 mem_ar_hround
+0x05e2 mem_ec_infinite
+0x05e3 mem_ec_loopc
+0x05e5 mem_aes_cmac_data_length
+0x05e6 memdat
+0x05e6 mem_ax
+0x05fe mem_ay
+0x0616 mem_az
+0x062e mem_bx
+0x0646 mem_ax_256//32 bytes
+0x0646 mem_by
+0x065e mem_bz
+0x0666 mem_ay_256// 32 bytes
+0x0676 mem_cx
+0x0686 mem_az_256// 32 bytes
+0x068e mem_cy
+0x06a5 mem_cy5
+0x06a6 mem_bx_256// 32 bytes
+0x06a6 mem_cz
+0x06be mem_k
+0x06c6 mem_by_256// 31 bytes
+0x06d6 mem_align
+0x06e6 mem_bz_256//32 bytes
+0x06e6 mem_tmp1
+0x06e6 memahbak
+0x06fe mem_tmp5
+0x0706 mem_cx_256//32 bytes
+0x0706 memahsave
+0x0716 mem_tmp2
+0x0726 mem_cy_256// 32 bytes
+0x0726 memahsave_end
+0x0726 mem_addr_padding
+0x0727 mem_addr_value/* 12 bytes     */ 
+0x072e mem_tmp3
+0x072e mem_t1
+0x0733 mem_addr_value_end
+0x0736 mem_addr_iocap_end
+0x0745 mem_cy5_256// 1 byte
+0x0746 mem_cz_256// 32 bytes
+0x0746 mem_tmp0
+0x0746 mem_t0
+0x074e mem_tmp0a
+0x075e mem_t2
+0x0766 mem_k_256//32 bytes
+0x0776 mem_t3
+0x0786 mem_tmp1_256//32 bytes
+0x078e mem_t7
+0x07a6 mem_tmp5_256
+0x07c6 mem_tmp2_256
+0x07e6 mem_tmp3_256
+0x07e6 mem_t1_256
+0x0806 mem_tmp0_256
+0x0806 mem_t0_256
+0x0826 mem_t2_256
+0x0846 mem_t3_256
+0x0866 mem_t7_256
+0x0886 mem_p
+0x089e mem_a
+0x08b6 mem_b
+0x08ce mem_gx
+0x08e6 mem_gy
+0x08fe memh0
+0x091e mem_p_256
+0x093e mem_a_256
+0x095e mem_gx_256
+0x097e mem_gy_256
+0x099e mem_le_slat
+
+
+/* simple pairing page */
+
+0x09ae mem_sp_state_start
+0x09ae mem_sp_state
+0x09af mem_master_sp_state
+0x09b0 mem_sp_flag
+0x09b1 mem_master_sp_flag
+0x09b2 mem_sp_calc
+0x09b3 mem_sp_dh_ready
+0x09b4 mem_sp_localsm
+0x09b5 mem_pairing_auth
+0x09b6 mem_sp_flag_start
+0x09b6 mem_sp_local_key_send_count
+0x09b7 mem_sp_remote_key_recv_count
+0x09b8 mem_sp_remote_key_invalid
+0x09b9 mem_sp_dhkey_invalid
+0x09ba mem_gkey
+0x09be mem_le_pubkey_remote_x_256
+0x09c6 mem_sp_pubkey_remote
+0x09c6 mem_sp_pubkey_remote_x
+0x09de mem_sp_pubkey_remote_x_end
+0x09de mem_le_pubkey_remote_y_256
+0x09e6 mem_sp_pubkey_remote_y
+0x09fe mem_le_dhkey_256
+0x0a06 mem_sp_dhkey
+0x0a1e mem_sp_dhkey_end
+0x0a1e mem_sp_random_local
+0x0a2e mem_sp_random_local_end
+0x0a2e mem_sp_random_remote
+0x0a3e mem_sp_random_remote_end
+0x0a3e memresult
+0x0a3e mem_sp_calc_result
+0x0a3e memh
+0x0a42 memg
+0x0a46 memf
+0x0a4a meme
+0x0a4e mem_sp_calc_result_high
+0x0a4e memd
+0x0a52 memc
+0x0a56 memb
+0x0a5a mema
+0x0a5e mem_sp_check_result
+0x0a6e mem_sp_confirm_remote
+0x0a7e mem_sp_prarm_stack
+
+/* 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-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
+)
+
+(
+1 SSP_MODE_SSP_PIN_FLAG
+2 SSP_MODE_PASSKEY_ENTRY_FLAG
+3 SSP_MODE_JUST_WORK_FLAG
+)
+
+(//ssp mode
+0x040003 SSP_MODE_JUST_WORK_IO_CAP_DATA
+0X040001 SSP_MODE_SSP_PIN_IO_CAP_DATA
+0X040002 SSP_MODE_PASSKEY_IO_CAP_DATA
+)
+
+(
+0x00 DISPLAY_ONLY
+0x01 DISPLAY_YESNO
+0x02 KEYBOARD_ONLY
+0x03 NO_INPUT_NO_OUTPUT
+)
+
+(
+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
+)
+
+  
+/*****************************************************************************/
+/* RCS HEADER -- DO NOT ERASE                                                */
+/* $Author: Administrator $                                                           */
+/* $Id: bt_ui_format.upper,v 1.1 2009-09-28 04:06:17 Administrator Exp $     */
+/************************************************************************/
+
+
+	/* ========= memory ============== */
+0x0a8e mem_UI_data_txbuff_length
+0x0a90 mem_ipc_skip_continue_proc
+0x0a91 mem_ui_timer_temp//length 4
+0x0a91 mem_ipc_rega_temp
+
+/************/
+/* 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
+)
+//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
+
+)
+
+
+/**
+*  @file:bt_utility_format.upper
+*  @author: lei.zhu
+*  utility header file. inlcude timer
+*  Copyright:  (C)Hanlynn Technology    
+*/
+
+0x0a95 mem_hold_contr
+0x0a97 mem_hold_contw
+0x0a99 mem_fifo_temp
+0x0a9a mem_pdatatemp
+0x0aa2 mem_temp//8 bytes
+0x0aaa mem_timeup// 4 bytes
+0x0aae mem_rega//4 bytes
+0x0ab2 mem_regb//4 bytes
+0x0ab6 mem_regc//3 bytes
+0x0ab9 mem_contr//2 bytes
+0x0abb mem_contw//2 bytes
+0x0abd mem_wakup_from_power_flag
+0x0abe mem_saved_gpio_in
+0x0ac2 mem_shutter_random_mac_data_temp
+0x0ac2 mem_shutter_config_data_temp
+0x0ac2 mem_le_adv_channel_map_temp
+0x0ac2 mem_le_data_len_temp//1byte
+0x0ac2 mem_tx_fifo_map_temp
+0x0ac2 mem_rpn_dlci//1byte
+0x0ac2 mem_event_cmd_response_content//2byte
+0x0ac2 mem_le_prand//16byte
+0x0ac2 mem_AES_CMAC_k//16 bytes
+0x0ac2 mem_regext_index//1 bytes
+0x0ac2 mem_temp_block0
+0x0ac3 mem_le_data_temp//15bytes
+0x0ac3 mem_temp_block1
+0x0ad2 mem_le_aes_128//16byte
+0x0ad2 mem_regext//64 bytes
+0x0ad2 mem_AES_CMAC_k1//16 bytes
+0x0ad2 mem_temp_block2
+0x0ae2 mem_AES_CMAC_k2//16 bytes
+0x0ae2 mem_temp_block3
+0x0af2 mem_AES_CMAC_temp// 16 bytes
+0x0af2 mem_temp_block4
+0x0b02 mem_AES_CMAC_M_last// 16 bytes
+0x0b02 mem_module_uart_cmd
+0x0b03 mem_module_uart_opcode
+0x0b04 mem_module_uart_len
+0x0b05 mem_module_temp_nl_discard_packet
+0x0b06 mem_temp_block5
+0x0b12 mem_le_mackey//16 bytes
+0x0b12 mem_app_receive_temp
+0x0b12 mem_key_value_temp
+0x0b14 mem_key_value
+0x0b16 mem_key_value_temp1
+0x0b17 mem_key_value_temp2
+0x0b18 mem_key_value_temp3
+0x0b19 mem_key_value_temp4
+0x0b1a mem_key_value_temp5
+0x0b1b mem_key_value_temp6
+0x0b1c mem_temp_block6
+0x0b22 mem_usb_status
+0x0b23 mem_usb_fifo_empty
+0x0b24 mem_usb_read_len
+0x0b25 mem_usb_rxbuf
+0x0b65 mem_bufptr
+0x0b67 mem_remain
+0x0b68 mem_devicedesc
+0x0b7c mem_hidreportdesc_kb
+0x0b7e mem_hidreportdesc_m
+0x0b80 mem_confdesc
+0x0be4 mem_string0
+0x0be9 mem_string1
+0x0c07 mem_string2
+0x0c47 mem_string3
+0x0c65 mem_usb_zero_packet
+0x0c67 mem_usb_ones_packet
+0x0c69 mem_usb_two_packet
+0x0c6b mem_usb0_state
+0x0c6c mem_usb_offline_check_gpio
+0x0c6d mem_usb_tx_interval
+0x0c6e mem_usb_clear_mem_start
+0x0c6e mem_usb_setup
+0x0c6e mem_usb_setup_bmRequestType
+0x0c6f mem_usb_setup_bRequest
+0x0c70 mem_usb_setup_bValue
+0x0c71 mem_usb_setup_bValueH
+0x0c72 mem_usb_setup_wIndex
+0x0c74 mem_usb_setup_bLength
+0x0c75 mem_usb_setup_bLengthH
+0x0c76 mem_usb0_setup
+0x0cb6 mem_usb0_set_report_data
+0x0cf6 mem_usb0_get_report_data
+0x0d36 mem_usb_state
+0x0d37 mem_usb_tx_wait
+0x0d38 mem_usb_tx_enable
+0x0d39 mem_usb_remote_wakeup
+0x0d3a mem_usb_clear_remote_wakeup
+0x0d3b mem_usb_ep0_stall_status
+0x0d3c mem_usb_ep1_stall_status
+0x0d3d mem_usb_ep2_stall_status
+0x0d3e mem_usb_ep3_stall_status
+0x0d3f mem_dsc_info_data_pointer
+0x0d41 mem_dsc_info_len
+0x0d42 mem_usb0_data_ready_report
+0x0d43 mem_usb_tx_win_enable
+0x0d44 mem_usb_tx_mac_enable
+0x0d45 mem_usb_device_enumeration_endflag
+0x0d46 mem_usb_wakestate_onetime_flag
+0x0d47 mem_usb_mac_wakeup_trig
+0x0d48 mem_usb_set_high_addr_flag
+0x0d49 mem_usb_set_protocol_value
+0x0d4a mem_usb_set_protocol_status
+0x0d4b mem_usb_get_protocol_flag
+0x0d4c mem_usb_idle_flag
+0x0d4d mem_usb_idle_rate
+0x0d4e mem_usb_setup_bValue_temp
+0x0d50 mem_usb0_get_set_report
+0x0d51 mem_usb_ep1_data
+0x0d52 mem_usb_ep2_data
+0x0d53 mem_usb_clear_halt
+0x0d54 mem_usb_mouse_data
+0x0d64 mem_usb_kb_data
+0x0d74 mem_usb_kb_multikey
+0x0d84 mem_usb_kb_data_sta_data
+0x0d8c mem_usb_kb_data_last_data
+0x0d94 mem_usb_kb_multikey_sta_data
+0x0d97 mem_usb_kb_multikey_last_data
+0x0d9a mem_usb_kb_blank_data_enable
+0x0d9b mem_usb_kb_mul_blank_data_enable
+0x0d9c mem_usb_test_cnt
+0x0d9d mem_usb_clear_mem_end
+0x0d9d mem_usb_test_kb
+0x0d9e mem_rssi_noise_buffer
+0x0e9e mem_rssi_noise_dg_buffer
+0x0f9e mem_rssi_noise_ms_buffer
+0x109e mem_rssi_noise_kb_buffer
+0x119e mem_24g_common_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
+)
+
+//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_CONN_SM
+	0x1006 DEBUGLOG_DTYPE_UPPER_SM
+	0x1007 DEBUGLOG_DTYPE_PARSE_LMP
+	0x1008 DEBUGLOG_DTYPE_SEND_LMP
+)
+
+//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
+)
+
+//DEBUGLOG_DTYPE_EVENT
+//(
+
+//)
+
+//DEBUGLOG_DTYPE_CMD
+//(
+
+//)
+
+//DEBUGLOG_DTYPE_STATUS
+(
+	0x0000 STATUS_CODE_WAKE
+	0x0001 STATUS_LPM_WAKE
+	0x0004 STATUS_24G_START 
+)
+//DEBUG_DTYPE_MISC
+(
+	0x0000 MISC_LE_RETRANSMIT
+	0x0001 MISC_LOST_MOUSEDATA
+	0x0002 MISC_TXPOWER_0
+	0x0003 MISC_TXPOWER_1
+	0x0004 MISC_TXPOWER_2
+	0x0006 MISC_PULL_MOUSEDATA
+	0x0007 MISC_PUSH_MOUSEDATA
+	0x0008 MISC_LE_RETRANSMIT_MD
+
+
+)
+
+
+/************************************************************************/
+/* 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
+)
+
+
+/* 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
+  ! 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
+  ! 0x0c store          /* write to memory, data from pdata, address from immediate then mem_ptr */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 0
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0c hstore          /* write to memory, data from pdata, address from immediate then mem_ptr */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 1
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x1c istore        /* write to memory, data from pdata, address from regr then mem_ptr */
+  % num_bytes
+  % reg
+  [5] opcode
+  [6] reg            /* hold address */
+  [1] 0
+  [1] 0
+  [4] num_bytes
+  [15] 0
+end
+
+format
+  ! 0x0d fetch          /* read from memory, data into pdata, address from immediate then mem_ptr */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 0
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0d hfetch          /* read from memory, data into pdata, address from immediate then mem_ptr */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 1
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0d crc         /* read from memory, count from loopcnt, put crc result into pdata */
+  % addr
+  [5] opcode
+  [6] 0
+  [1] 0
+  [1] 0
+  [4] 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] reg             /* hold address */
+  [1] 0
+  [1] 0
+  [4] 0
+  [15] 0
+end
+
+
+format
+  ! 0x1d ifetch         /* read from memory, data into pdata, address from regr then mem_ptr */
+  % num_bytes
+  % reg
+  [5] opcode
+  [6] reg             /* hold address */
+  [1] 0
+  [1] 0
+  [4] num_bytes
+  [15] 0
+end
+
+format
+  ! 0x0c storet          /* write to memory, data from temp, address from immediate won't increment */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 0
+  [1] 1
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0c hstoret          /* write to corereg, data from temp, address from immediate won't increment */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 1
+  [1] 1
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x1c istoret        /* write to memory, data from temp, address from regr won't increment */
+  % num_bytes
+  % reg
+  [5] opcode
+  [6] reg            /* hold address */
+  [1] 0
+  [1] 1
+  [4] num_bytes
+  [15] 0
+end
+
+format
+  ! 0x0d fetcht          /* read from memory, data into temp, address from immediate won't increment */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 0
+  [1] 1
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0d hfetcht          /* read from corereg, data into temp, address from immediate won't increment */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 0               /* memory */
+  [1] 1
+  [1] 1
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x1d ifetcht         /* read from memory, data into temp, address from regr won't increment */
+  % num_bytes
+  % reg
+  [5] opcode
+  [6] reg             /* hold address */
+  [1] 0
+  [1] 1
+  [4] num_bytes
+  [15] 0
+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 mult                  /* immediate mult regr */  /* the product will be ready 17 clks later */
+  % immediate                                   /* use "product" instruction to get the result */
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 16                   /* generate diven pulse to div */
+  [6] null
+  [9] immediate
+end
+
+format
+  ! 0x13 imult           /* pdata mult regr */  /* the product will be ready after 15 nops */
+  % reg                                         /* use product opcode to get the result */
+  [5] opcode
+  [6] reg
+  [6] 16                   /* generate mult pulse to multiplier */
+  [6] null
+  [9] 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
+  ! 3 product              /* harvest mult product */
+  % regw
+  [5] opcode
+  [6] 0
+  [6] 17
+  [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: HS_24G&BLE_Motion/output/bt_program23.icode
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/bt_program23.icode	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/bt_program23.icode	(working copy)
@@ -0,0 +1,26331 @@
+ 00000000  0x0000003e bbit1  0x00000008 , 0x00000011 
+ 00000001  0x0000003f beq  0x00000085 , 0x000005e9 
+ 00000002  0x00000040 beq  0x00000089 , 0x000005ae 
+ 00000003  0x00000041 beq  0x00000001 , 0x00000025 
+ 00000004  0x00000042 beq  0x000000a1 , 0x0000002e 
+ 00000005  0x00000043 beq  0x000000a8 , 0x00000033 
+ 00000006  0x00000044 beq  0x000000b1 , 0x00000036 
+ 00000007  0x00000045 beq  0x000000b2 , 0x0000003e 
+ 00000008  0x00000046 beq  0x000000c4 , 0x000000b8 
+ 00000009  0x00000047 beq  0x000000c9 , 0x0000012c 
+ 00000010  0x00000048 beq  0x000000ca , 0x00000130 
+ 00000011  0x00000049 beq  0x000000e3 , 0x000002e9 
+ 00000012  0x0000004a beq  0x000000e6 , 0x000002a8 
+ 00000013  0x0000004b beq  0x000000ea , 0x0000032f 
+ 00000014  0x0000004c beq  0x000000eb , 0x0000033d 
+ 00000015  0x0000004d beq  0x000000ec , 0x00000368 
+ 00000016  0x0000004e branch  0x00002a8e 
+ 00000017  0x00000050 beq  0x00000039 , 0x0000036d 
+ 00000018  0x00000051 beq  0x00000043 , 0x00000375 
+ 00000019  0x00000052 beq  0x0000004a , 0x0000037b 
+ 00000020  0x00000053 beq  0x00000057 , 0x0000037e 
+ 00000021  0x00000054 beq  0x00000063 , 0x00000390 
+ 00000022  0x00000055 beq  0x00000067 , 0x000003ba 
+ 00000023  0x00000056 beq  0x0000006a , 0x000003e3 
+ 00000024  0x00000057 beq  0x00000077 , 0x000003ee 
+ 00000025  0x00000058 beq  0x0000008c , 0x000003fe 
+ 00000026  0x00000059 branch  0x00002a8e 
+ 00000027  0x00000060 copy  0x0000003f , 0x00000011 
+ 00000028  0x00000061 fetcht  0x00000001 , 0x00004c50 
+ 00000029  0x00000062 setarg  0x00004c57 
+ 00000030  0x00000063 iadd  0x00000002 , 0x00000005 
+ 00000031  0x00000064 copy  0x00000011 , 0x0000003f 
+ 00000032  0x00000065 istore  0x00000001 , 0x00000005 
+ 00000033  0x00000066 increase  0x00000001 , 0x00000002 
+ 00000034  0x00000067 and_into  0x00000007 , 0x00000002 
+ 00000035  0x00000068 storet  0x00000001 , 0x00004c50 
+ 00000036  0x00000069 rtn 
+ 00000037  0x0000006c arg  0x000009ae , 0x00000005 
+ 00000038  0x0000006d arg  0x0000000c , 0x00000039 
+ 00000039  0x0000006e call  0x00007ed4 
+ 00000040  0x0000006f call  0x000000ac 
+ 00000041  0x00000070 call  0x00006a03 
+ 00000042  0x00000071 call  0x00005cf6 
+ 00000043  0x00000072 ncall  0x00002c65 , 0x0000002b 
+ 00000044  0x00000073 call  0x00007ccd 
+ 00000045  0x00000074 branch  0x0000200c 
+ 00000046  0x00000078 setarg  0x00000a06 
+ 00000047  0x00000079 store  0x00000003 , 0x00004510 
+ 00000048  0x0000007a setarg  0x00001d87 
+ 00000049  0x0000007b store  0x00000002 , 0x00004513 
+ 00000050  0x0000007c branch  0x00002aa2 
+ 00000051  0x0000007f fetch  0x00000001 , 0x00004806 
+ 00000052  0x00000080 nrtn  0x00000034 
+ 00000053  0x00000081 branch  0x00002b7f 
+ 00000054  0x00000084 rtnmark1  0x00000026 
+ 00000055  0x00000085 fetch  0x00000001 , 0x0000479c 
+ 00000056  0x00000086 beq  0x00000000 , 0x00007fef 
+ 00000057  0x00000087 fetch  0x00000001 , 0x000047c4 
+ 00000058  0x00000088 beq  0x00000001 , 0x00007fef 
+ 00000059  0x00000089 fetch  0x00000002 , 0x00004248 
+ 00000060  0x0000008a nbranch  0x00007fef , 0x00000034 
+ 00000061  0x0000008b branch  0x00007ff1 
+ 00000062  0x0000008e rtnmark0  0x00000026 
+ 00000063  0x0000008f fetch  0x00000001 , 0x00004cd5 
+ 00000064  0x00000090 beq  0x00000001 , 0x00000053 
+ 00000065  0x00000092 call  0x00000463 
+ 00000066  0x00000093 nbranch  0x0000006e , 0x00000028 
+ 00000067  0x00000094 call  0x00000448 
+ 00000068  0x00000096 call  0x00000487 
+ 00000069  0x00000097 fetch  0x00000001 , 0x00004ba5 
+ 00000070  0x00000098 rtnne  0x000000ff 
+ 00000071  0x00000099 call  0x000004e6 
+ 00000072  0x0000009b fetch  0x00000001 , 0x00004cd5 
+ 00000073  0x0000009c rtneq  0x00000001 
+ 00000074  0x0000009e call  0x00002afa 
+ 00000075  0x0000009f fetch  0x00000003 , 0x0000416f 
+ 00000076  0x000000a0 rtn  0x00000034 
+ 00000077  0x000000a1 fetch  0x00000001 , 0x00004091 
+ 00000078  0x000000a2 rtn  0x00000034 
+ 00000079  0x000000a3 call  0x00000093 
+ 00000080  0x000000a4 call  0x00000090 
+ 00000081  0x000000a5 setarg  0x0000ec54 
+ 00000082  0x000000a6 branch  0x00002b93 
+ 00000083  0x000000a8 call  0x000005eb 
+ 00000084  0x000000a9 nrtn  0x00000028 
+ 00000085  0x000000aa call  0x00000065 
+ 00000086  0x000000ab fetch  0x00000001 , 0x00004cd6 
+ 00000087  0x000000ac increase  0x00000001 , 0x0000003f 
+ 00000088  0x000000ad store  0x00000001 , 0x00004cd6 
+ 00000089  0x000000ae sub  0x0000003f , 0x00000019 , 0x0000003e 
+ 00000090  0x000000af call  0x0000005c , 0x00000005 
+ 00000091  0x000000b0 branch  0x00000041 
+ 00000092  0x000000b2 jam  0x00000000 , 0x00004cd5 
+ 00000093  0x000000b3 jam  0x00000000 , 0x00004cd6 
+ 00000094  0x000000b5 jam  0x00000000 , 0x00004bd0 
+ 00000095  0x000000b6 fetch  0x00000001 , 0x00004bbb 
+ 00000096  0x000000b7 store  0x00000001 , 0x00004bba 
+ 00000097  0x000000b8 rtn 
+ 00000098  0x000000ba fetch  0x00000001 , 0x00004bbc 
+ 00000099  0x000000bb store  0x00000001 , 0x00004bba 
+ 00000100  0x000000bc rtn 
+ 00000101  0x000000be fetch  0x00000001 , 0x00004bd0 
+ 00000102  0x000000bf increase  0x00000001 , 0x0000003f 
+ 00000103  0x000000c0 store  0x00000001 , 0x00004bd0 
+ 00000104  0x000000c1 beq  0x00000004 , 0x00000062 
+ 00000105  0x000000c2 beq  0x00000005 , 0x0000005e 
+ 00000106  0x000000c3 rtn 
+ 00000107  0x000000c5 jam  0x00000001 , 0x00004cd5 
+ 00000108  0x000000c6 jam  0x00000000 , 0x00004cd6 
+ 00000109  0x000000c7 rtn 
+ 00000110  0x000000ca fetch  0x00000001 , 0x00004bc1 
+ 00000111  0x000000cb call  0x0000007a , 0x00000034 
+ 00000112  0x000000cd call  0x00002afa 
+ 00000113  0x000000ce fetch  0x00000003 , 0x0000416f 
+ 00000114  0x000000cf rtn  0x00000034 
+ 00000115  0x000000d0 fetch  0x00000001 , 0x00004091 
+ 00000116  0x000000d1 rtn  0x00000034 
+ 00000117  0x000000d2 call  0x00000093 
+ 00000118  0x000000d3 fetch  0x00000008 , 0x00004bc4 
+ 00000119  0x000000d4 call  0x00007f49 
+ 00000120  0x000000d5 storet  0x00000004 , 0x0000415b 
+ 00000121  0x000000d6 branch  0x00002b2a 
+ 00000122  0x000000d9 jam  0x00000001 , 0x00004bc1 
+ 00000123  0x000000da jam  0x00000000 , 0x00004cca 
+ 00000124  0x000000db call  0x00000410 
+ 00000125  0x000000dc store  0x00000001 , 0x00004b31 
+ 00000126  0x000000dd setarg  0x00000000 
+ 00000127  0x000000de store  0x00000007 , 0x00004b32 
+ 00000128  0x000000df fetch  0x00000004 , 0x00004bcc 
+ 00000129  0x000000e0 store  0x00000004 , 0x00004b39 
+ 00000130  0x000000e1 jam  0x0000000c , 0x00004b95 
+ 00000131  0x000000e2 fetch  0x00000001 , 0x00004b96 
+ 00000132  0x000000e3 set1  0x00000003 , 0x0000003f 
+ 00000133  0x000000e4 store  0x00000001 , 0x00004b96 
+ 00000134  0x000000e5 call  0x00000627 
+ 00000135  0x000000e6 call  0x00000467 
+ 00000136  0x000000e7 branch  0x00000044 
+ 00000137  0x000000eb rtnmark1  0x00000026 
+ 00000138  0x000000ec call  0x0000009f 
+ 00000139  0x000000ed call  0x00000093 
+ 00000140  0x000000ee fetch  0x00000001 , 0x00004040 
+ 00000141  0x000000ef bbit0  0x00000000 , 0x00000090 
+ 00000142  0x000000f0 fetch  0x00000001 , 0x000000a0 
+ 00000143  0x000000f1 nrtn  0x00000034 
+ 00000144  0x000000f3 setarg  0x00000000 
+ 00000145  0x000000f4 store  0x00000008 , 0x000000a1 
+ 00000146  0x000000f5 rtn 
+ 00000147  0x000000f8 call  0x0000009c 
+ 00000148  0x000000f9 call  0x00000090 
+ 00000149  0x000000fa call  0x00003ebf 
+ 00000150  0x000000fb hfetch  0x00000004 , 0x00008070 
+ 00000151  0x000000fc hfetcht  0x00000004 , 0x00008078 
+ 00000152  0x000000fd ior  0x00000002 , 0x00000002 
+ 00000153  0x000000fe invert  0x00000002 , 0x00000002 
+ 00000154  0x000000ff hstoret  0x00000004 , 0x0000807c 
+ 00000155  0x00000100 rtn 
+ 00000156  0x00000103 fetch  0x00000001 , 0x00004b03 
+ 00000157  0x00000104 rtn  0x00000034 
+ 00000158  0x00000105 branch  0x000002ea 
+ 00000159  0x00000108 arg  0x00001800 , 0x00000006 
+ 00000160  0x00000109 arg  0x0000480a , 0x00000005 
+ 00000161  0x0000010a call  0x000000aa 
+ 00000162  0x0000010b arg  0x00001900 , 0x00000006 
+ 00000163  0x0000010c arg  0x00004825 , 0x00000005 
+ 00000164  0x0000010d call  0x000000aa 
+ 00000165  0x0000010e arg  0x00001a00 , 0x00000006 
+ 00000166  0x0000010f arg  0x00004840 , 0x00000005 
+ 00000167  0x00000110 call  0x000000aa 
+ 00000168  0x00000111 arg  0x00001b00 , 0x00000006 
+ 00000169  0x00000112 arg  0x0000485b , 0x00000005 
+ 00000170  0x00000114 arg  0x0000001b , 0x00000039 
+ 00000171  0x00000115 branch  0x00007f01 
+ 00000172  0x00000118 arg  0x0000480a , 0x00000006 
+ 00000173  0x00000119 arg  0x00001800 , 0x00000005 
+ 00000174  0x0000011a call  0x000000aa 
+ 00000175  0x0000011b arg  0x00004825 , 0x00000006 
+ 00000176  0x0000011c arg  0x00001900 , 0x00000005 
+ 00000177  0x0000011d call  0x000000aa 
+ 00000178  0x0000011e arg  0x00004840 , 0x00000006 
+ 00000179  0x0000011f arg  0x00001a00 , 0x00000005 
+ 00000180  0x00000120 call  0x000000aa 
+ 00000181  0x00000121 arg  0x0000485b , 0x00000006 
+ 00000182  0x00000122 arg  0x00001b00 , 0x00000005 
+ 00000183  0x00000123 branch  0x000000aa 
+ 00000184  0x00000126 call  0x00003416 
+ 00000185  0x00000127 branch  0x000000c2 , 0x0000002b 
+ 00000186  0x00000128 jam  0x00000020 , 0x00008078 
+ 00000187  0x0000012a call  0x000006c3 
+ 00000188  0x0000012b fetch  0x00000001 , 0x000041de 
+ 00000189  0x0000012c store  0x00000001 , 0x00004c4c 
+ 00000190  0x0000012d call  0x000004d5 
+ 00000191  0x0000012e fetch  0x00000001 , 0x00004685 
+ 00000192  0x0000012f store  0x00000001 , 0x000046da 
+ 00000193  0x00000130 call  0x000043ca 
+ 00000194  0x00000132 call  0x000000c4 
+ 00000195  0x00000133 branch  0x000074b9 
+ 00000196  0x00000136 ncall  0x00000112 , 0x0000002b 
+ 00000197  0x00000137 call  0x000000f1 
+ 00000198  0x00000138 rtn  0x0000002b 
+ 00000199  0x00000139 call  0x0000014d 
+ 00000200  0x0000013a call  0x000002b2 
+ 00000201  0x0000013b beq  0x00000005 , 0x000000df 
+ 00000202  0x0000013c branch  0x00000134 
+ 00000203  0x0000013f fetch  0x00000001 , 0x00004c4c 
+ 00000204  0x00000140 store  0x00000001 , 0x000041de 
+ 00000205  0x00000141 fetch  0x00000001 , 0x00004210 
+ 00000206  0x00000142 beq  0x00000034 , 0x000000d0 
+ 00000207  0x00000143 rtn 
+ 00000208  0x00000148 jam  0x00000001 , 0x0000479f 
+ 00000209  0x00000149 fetch  0x00000002 , 0x000046a8 
+ 00000210  0x0000014a store  0x00000002 , 0x000046ae 
+ 00000211  0x0000014b call  0x00003418 
+ 00000212  0x0000014c call  0x000000d8 
+ 00000213  0x0000014d setarg  0x00000004 
+ 00000214  0x0000014e istore  0x00000001 , 0x00000006 
+ 00000215  0x0000014f branch  0x00007df4 
+ 00000216  0x00000152 arg  0x00004370 , 0x00000011 
+ 00000217  0x00000154 ifetch  0x00000001 , 0x00000011 
+ 00000218  0x00000155 rtn  0x00000034 
+ 00000219  0x00000156 iadd  0x00000006 , 0x00000011 
+ 00000220  0x00000157 ifetch  0x00000001 , 0x00000006 
+ 00000221  0x00000158 rtneq  0x00000001 
+ 00000222  0x00000159 branch  0x000000d9 
+ 00000223  0x0000015c fetch  0x00000004 , 0x000046d3 
+ 00000224  0x0000015d rtnbit0  0x00000011 
+ 00000225  0x0000015e rtnbit1  0x00000003 
+ 00000226  0x0000015f rtnmark1  0x00000026 
+ 00000227  0x00000160 call  0x00004482 
+ 00000228  0x00000161 arg  0x00000003 , 0x00000007 
+ 00000229  0x00000162 call  0x000043ce 
+ 00000230  0x00000163 setarg  0x00000000 
+ 00000231  0x00000164 store  0x00000002 , 0x000046ae 
+ 00000232  0x00000165 store  0x00000001 , 0x000046b4 
+ 00000233  0x00000166 store  0x00000002 , 0x00004bc2 
+ 00000234  0x00000167 call  0x000042ca 
+ 00000235  0x00000168 branch  0x0000051a 
+ 00000236  0x0000016b fetch  0x00000004 , 0x000046d3 
+ 00000237  0x0000016c bbit0  0x00000014 , 0x00003d66 
+ 00000238  0x0000016d fetch  0x00000001 , 0x0000477a 
+ 00000239  0x0000016e beq  0x000000ff , 0x00003d66 
+ 00000240  0x0000016f branch  0x00003d80 
+ 00000241  0x00000172 jam  0x00000076 , 0x00004212 
+ 00000242  0x00000173 branch  0x00003d36 
+ 00000243  0x00000176 call  0x000000f1 
+ 00000244  0x00000177 call  0x000040c0 
+ 00000245  0x00000178 fetch  0x00000001 , 0x000046e0 
+ 00000246  0x00000179 beq  0x00000005 , 0x000040d5 
+ 00000247  0x0000017b call  0x000040d9 
+ 00000248  0x0000017c beq  0x00000030 , 0x00000101 
+ 00000249  0x0000017d beq  0x00000031 , 0x00000103 
+ 00000250  0x0000017e call  0x000040d1 
+ 00000251  0x0000017f nop  0x000003e8 
+ 00000252  0x00000180 branch  0x000000f7 
+ 00000253  0x00000183 jam  0x00000001 , 0x00004b03 
+ 00000254  0x00000184 call  0x0000640f 
+ 00000255  0x00000185 call  0x000000f3 
+ 00000256  0x00000186 branch  0x00006411 
+ 00000257  0x00000189 call  0x00000108 
+ 00000258  0x0000018a branch  0x000040e0 
+ 00000259  0x0000018e call  0x00000108 
+ 00000260  0x0000018f fetch  0x00000001 , 0x000046de 
+ 00000261  0x00000190 beq  0x00000070 , 0x000040e8 
+ 00000262  0x00000191 jam  0x00000001 , 0x000046e0 
+ 00000263  0x00000192 rtn 
+ 00000264  0x00000195 setarg  0x00008006 
+ 00000265  0x00000196 call  0x00006413 
+ 00000266  0x00000197 nop  0x00002ee0 
+ 00000267  0x00000198 branch  0x000000ec 
+ 00000268  0x0000019a setarg  0x00000006 
+ 00000269  0x0000019b call  0x00006414 
+ 00000270  0x0000019c or  0x0000003f , 0x00000008 , 0x0000003f 
+ 00000271  0x0000019d lshift8  0x0000003f , 0x0000003f 
+ 00000272  0x0000019e add  0x0000003f , 0x00000006 , 0x0000003f 
+ 00000273  0x0000019f branch  0x00006413 
+ 00000274  0x000001a2 call  0x0000040a 
+ 00000275  0x000001a4 hfetch  0x00000001 , 0x00008a00 
+ 00000276  0x000001a5 set0  0x00000004 , 0x0000003f 
+ 00000277  0x000001a6 hstore  0x00000001 , 0x00008a00 
+ 00000278  0x000001a7 call  0x00003e6e 
+ 00000279  0x000001a8 call  0x00000208 
+ 00000280  0x000001a9 call  0x00003e1e 
+ 00000281  0x000001aa setarg  0x00000000 
+ 00000282  0x000001ab store  0x00000002 , 0x00004154 
+ 00000283  0x000001ac call  0x00003e54 
+ 00000284  0x000001ad call  0x00005810 
+ 00000285  0x000001ae call  0x00005839 
+ 00000286  0x000001af call  0x0000582c 
+ 00000287  0x000001b0 call  0x00005818 
+ 00000288  0x000001b6 call  0x0000659c 
+ 00000289  0x000001b7 fetch  0x00000004 , 0x000046d3 
+ 00000290  0x000001b8 isolate1  0x00000019 , 0x0000003f 
+ 00000291  0x000001b9 ncall  0x000065c2 , 0x00000001 
+ 00000292  0x000001ba call  0x0000443f 
+ 00000293  0x000001bc call  0x00000128 
+ 00000294  0x000001bd call  0x000001c5 
+ 00000295  0x000001be branch  0x000065df 
+ 00000296  0x000001c2 call  0x000033c4 
+ 00000297  0x000001c3 branch  0x00004316 , 0x00000005 
+ 00000298  0x000001c4 call  0x00000335 
+ 00000299  0x000001c5 branch  0x00003dcb 
+ 00000300  0x000001ca arg  0x00000002 , 0x00000002 
+ 00000301  0x000001cd arg  0x00000aaa , 0x00000011 
+ 00000302  0x000001ce arg  0x00000062 , 0x00000012 
+ 00000303  0x000001cf branch  0x000065d1 
+ 00000304  0x000001d2 arg  0x00000002 , 0x00000002 
+ 00000305  0x000001d3 arg  0x00000a9a , 0x00000011 
+ 00000306  0x000001d4 arg  0x00000062 , 0x00000012 
+ 00000307  0x000001d5 branch  0x000033c8 
+ 00000308  0x000001f1 fetch  0x00000004 , 0x000046d3 
+ 00000309  0x000001f2 bbit0  0x0000001e , 0x0000013b 
+ 00000310  0x000001f3 fetch  0x00000001 , 0x00000abd 
+ 00000311  0x000001f4 isolate0  0x00000003 , 0x0000003f 
+ 00000312  0x000001f5 nbranch  0x0000013b , 0x00000001 
+ 00000313  0x000001f6 call  0x000000f3 
+ 00000314  0x000001f7 call  0x0000010c 
+ 00000315  0x000001f9 fetch  0x00000001 , 0x0000471f 
+ 00000316  0x000001fa store  0x00000001 , 0x0000471e 
+ 00000317  0x000001fb fetch  0x00000001 , 0x000046f5 
+ 00000318  0x000001fc rtnbit1  0x00000006 
+ 00000319  0x000001fe fetch  0x00000004 , 0x000046d3 
+ 00000320  0x000001ff rtnbit0  0x00000011 
+ 00000321  0x00000200 call  0x00000144 
+ 00000322  0x00000201 branch  0x00000571 , 0x00000028 
+ 00000323  0x00000202 branch  0x0000054e 
+ 00000324  0x00000205 arg  0x00000002 , 0x00000039 
+ 00000325  0x00000206 arg  0x00004bbd , 0x00000006 
+ 00000326  0x00000208 call  0x00007fe7 
+ 00000327  0x00000209 setarg  0x0000ffff 
+ 00000328  0x0000020b ifetcht  0x00000002 , 0x00000006 
+ 00000329  0x0000020c isub  0x00000002 , 0x0000003e 
+ 00000330  0x0000020d ncall  0x00007fe9 , 0x00000005 
+ 00000331  0x0000020e loop  0x00000148 
+ 00000332  0x0000020f rtn 
+ 00000333  0x00000212 setarg  0x00000160 
+ 00000334  0x00000213 store  0x00000002 , 0x00004cc6 
+ 00000335  0x00000214 setarg  0x00000164 
+ 00000336  0x00000215 store  0x00000002 , 0x000041ef 
+ 00000337  0x00000216 setarg  0x000003f8 
+ 00000338  0x00000217 store  0x00000002 , 0x000041f9 
+ 00000339  0x00000218 setarg  0x00000089 
+ 00000340  0x00000219 store  0x00000002 , 0x000041ed 
+ 00000341  0x0000021a setarg  0x0000018c 
+ 00000342  0x0000021b store  0x00000002 , 0x000041f5 
+ 00000343  0x0000021c setarg  0x00000179 
+ 00000344  0x0000021d store  0x00000002 , 0x000041f3 
+ 00000345  0x0000021e setarg  0x000001dc 
+ 00000346  0x0000021f store  0x00000002 , 0x000041eb 
+ 00000347  0x00000220 setarg  0x000001ea 
+ 00000348  0x00000221 store  0x00000002 , 0x000041fd 
+ 00000349  0x00000222 setarg  0x00003d36 
+ 00000350  0x00000223 store  0x00000002 , 0x00004201 
+ 00000351  0x00000224 rtn 
+ 00000352  0x00000227 call  0x00004401 
+ 00000353  0x00000228 fetch  0x00000002 , 0x0000469f 
+ 00000354  0x00000229 rtn  0x00000034 
+ 00000355  0x0000022a branch  0x0000006b 
+ 00000356  0x0000022d call  0x00005892 
+ 00000357  0x0000022e nrtn  0x00000034 
+ 00000358  0x0000022f fetch  0x00000001 , 0x000046c5 
+ 00000359  0x00000230 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00000360  0x00000231 rtnne  0x00000003 
+ 00000361  0x00000232 fetch  0x00000001 , 0x0000479c 
+ 00000362  0x00000233 call  0x00000176 , 0x00000034 
+ 00000363  0x00000234 fetch  0x00000004 , 0x000046d3 
+ 00000364  0x00000237 bbit1  0x00000005 , 0x00004179 
+ 00000365  0x00000238 call  0x00003f97 
+ 00000366  0x00000239 nrtn  0x00000028 
+ 00000367  0x0000023b call  0x00000171 
+ 00000368  0x0000023c branch  0x000006c8 
+ 00000369  0x00000240 fetch  0x00000002 , 0x0000469f 
+ 00000370  0x00000241 rtn  0x00000034 
+ 00000371  0x00000242 jam  0x00000001 , 0x00004806 
+ 00000372  0x00000243 jam  0x00000002 , 0x00004807 
+ 00000373  0x00000244 rtn 
+ 00000374  0x00000248 call  0x00005814 
+ 00000375  0x00000249 jam  0x00000001 , 0x0000479c 
+ 00000376  0x0000024a branch  0x00000108 
+ 00000377  0x0000024e call  0x00007e34 
+ 00000378  0x0000024f call  0x0000017c 
+ 00000379  0x00000250 branch  0x00003ee0 
+ 00000380  0x00000253 fetcht  0x00000001 , 0x000046e7 
+ 00000381  0x00000254 call  0x000002db 
+ 00000382  0x00000255 fetcht  0x00000001 , 0x000046e7 
+ 00000383  0x00000256 call  0x0000681d 
+ 00000384  0x00000257 branch  0x0000018a , 0x00000001 
+ 00000385  0x00000258 call  0x000002e4 
+ 00000386  0x0000025a fetch  0x00000001 , 0x000046b6 
+ 00000387  0x0000025b rtneq  0x00000000 
+ 00000388  0x0000025c jam  0x00000000 , 0x000046b6 
+ 00000389  0x0000025d fetch  0x00000001 , 0x0000477a 
+ 00000390  0x0000025e increase  0x00000001 , 0x0000003f 
+ 00000391  0x0000025f and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00000392  0x00000260 store  0x00000001 , 0x0000477a 
+ 00000393  0x00000264 branch  0x00003d74 
+ 00000394  0x00000267 call  0x000002e4 
+ 00000395  0x00000268 branch  0x00003d62 
+ 00000396  0x00000285 copy  0x00000013 , 0x0000003f 
+ 00000397  0x00000286 beq  0x00000014 , 0x00000196 
+ 00000398  0x00000287 beq  0x00000015 , 0x00000199 
+ 00000399  0x00000288 beq  0x00000029 , 0x000001a2 
+ 00000400  0x00000289 beq  0x00000032 , 0x000001a4 
+ 00000401  0x0000028a beq  0x00000040 , 0x000001ab 
+ 00000402  0x0000028b beq  0x00000039 , 0x000001b6 
+ 00000403  0x0000028c beq  0x0000003a , 0x000001c9 
+ 00000404  0x0000028d beq  0x0000003c , 0x000001da 
+ 00000405  0x0000028e branch  0x0000417d 
+ 00000406  0x00000292 call  0x000000fd 
+ 00000407  0x00000293 call  0x000006c3 
+ 00000408  0x00000295 branch  0x000041c3 
+ 00000409  0x00000298 call  0x000001e6 
+ 00000410  0x00000299 setarg  0x00000007 
+ 00000411  0x0000029a store  0x00000002 , 0x00004496 
+ 00000412  0x0000029b store  0x00000002 , 0x00004498 
+ 00000413  0x0000029c jam  0x00000000 , 0x000047c4 
+ 00000414  0x0000029d jam  0x00000000 , 0x0000479c 
+ 00000415  0x0000029e call  0x000006c3 
+ 00000416  0x0000029f call  0x00005816 
+ 00000417  0x000002a0 branch  0x000041d9 
+ 00000418  0x000002a4 jam  0x00000012 , 0x00000a99 
+ 00000419  0x000002a5 branch  0x00007d8f 
+ 00000420  0x000002a8 fetch  0x00000001 , 0x0000479f 
+ 00000421  0x000002a9 beq  0x00000001 , 0x000001a7 
+ 00000422  0x000002aa branch  0x000001a9 
+ 00000423  0x000002ad call  0x000001a2 
+ 00000424  0x000002ae jam  0x00000014 , 0x000046c6 
+ 00000425  0x000002b0 arg  0x00000001 , 0x00000007 
+ 00000426  0x000002b1 branch  0x000041b9 
+ 00000427  0x000002b4 fetch  0x00000002 , 0x00004509 
+ 00000428  0x000002b5 rtneq  0x00000000 
+ 00000429  0x000002b6 fetch  0x00000001 , 0x00000441 
+ 00000430  0x000002b7 rshift2  0x0000003f , 0x0000003f 
+ 00000431  0x000002b8 sub  0x0000003f , 0x0000000c , 0x0000003e 
+ 00000432  0x000002b9 rtn  0x00000002 
+ 00000433  0x000002ba setarg  0x00000009 
+ 00000434  0x000002bb store  0x00000002 , 0x00004496 
+ 00000435  0x000002bc store  0x00000002 , 0x00004498 
+ 00000436  0x000002bd call  0x000001a2 
+ 00000437  0x000002be branch  0x00000384 
+ 00000438  0x000002c3 call  0x000000fd 
+ 00000439  0x000002c5 jam  0x00000001 , 0x0000478b 
+ 00000440  0x000002c6 arg  0x00000003 , 0x00000007 
+ 00000441  0x000002c7 call  0x000043d2 
+ 00000442  0x000002c8 setarg  0x00000000 
+ 00000443  0x000002c9 store  0x00000002 , 0x00004707 
+ 00000444  0x000002ca jam  0x00000000 , 0x000046a7 
+ 00000445  0x000002cc fetch  0x00000001 , 0x000046e0 
+ 00000446  0x000002cd sub  0x0000003f , 0x00000005 , 0x0000003e 
+ 00000447  0x000002ce call  0x00004039 , 0x00000005 
+ 00000448  0x000002cf ncall  0x0000405d , 0x00000005 
+ 00000449  0x000002d1 fetch  0x00000001 , 0x00004c4c 
+ 00000450  0x000002d2 store  0x00000001 , 0x000041de 
+ 00000451  0x000002d6 call  0x000001c5 
+ 00000452  0x000002d7 branch  0x000065d1 
+ 00000453  0x000002da arg  0x00004bbd , 0x00000011 
+ 00000454  0x000002db arg  0x0000005b , 0x00000012 
+ 00000455  0x000002dc arg  0x00000004 , 0x00000002 
+ 00000456  0x000002dd rtn 
+ 00000457  0x000002e6 call  0x000001e6 
+ 00000458  0x000002e7 jam  0x00000000 , 0x00004cd5 
+ 00000459  0x000002e8 fetch  0x00000001 , 0x00004c4c 
+ 00000460  0x000002e9 store  0x00000001 , 0x000041de 
+ 00000461  0x000002ea call  0x00000598 
+ 00000462  0x000002eb fetch  0x00000001 , 0x00004b00 
+ 00000463  0x000002ec bbit1  0x00000000 , 0x000001d7 
+ 00000464  0x000002ed jam  0x00000000 , 0x000041bd 
+ 00000465  0x000002ee call  0x00004316 
+ 00000466  0x000002ef arg  0x00000003 , 0x00000039 
+ 00000467  0x000002f0 arg  0x00004722 , 0x00000006 
+ 00000468  0x000002f1 call  0x00000146 
+ 00000469  0x000002f2 branch  0x000001d7 , 0x00000028 
+ 00000470  0x000002f3 branch  0x000000cb 
+ 00000471  0x000002f6 jam  0x00000001 , 0x0000479d 
+ 00000472  0x000002f7 jam  0x00000028 , 0x0000479e 
+ 00000473  0x000002f8 rtn 
+ 00000474  0x000002fb call  0x000000fd 
+ 00000475  0x000002fc branch  0x00003f8d 
+ 00000476  0x000002ff enable  0x00000028 
+ 00000477  0x00000300 hfetch  0x00000004 , 0x00008138 
+ 00000478  0x00000301 setflag  0x00000028 , 0x0000001a , 0x0000003f 
+ 00000479  0x00000302 hstore  0x00000004 , 0x0000804c 
+ 00000480  0x00000303 call  0x00002c21 
+ 00000481  0x00000304 call  0x000001e6 
+ 00000482  0x00000305 call  0x000074bd 
+ 00000483  0x00000306 call  0x00004482 
+ 00000484  0x00000307 call  0x00003e9f 
+ 00000485  0x00000308 branch  0x00003ebf 
+ 00000486  0x0000030b fetch  0x00000001 , 0x00004b03 
+ 00000487  0x0000030c rtn  0x00000034 
+ 00000488  0x0000030d jam  0x00000000 , 0x00004b03 
+ 00000489  0x0000030e branch  0x0000010c 
+ 00000490  0x00000312 call  0x0000025d 
+ 00000491  0x00000313 call  0x00000297 
+ 00000492  0x00000314 call  0x0000022d 
+ 00000493  0x00000315 call  0x00000230 
+ 00000494  0x00000317 call  0x000001f6 
+ 00000495  0x00000318 call  0x00000254 
+ 00000496  0x00000319 call  0x00000238 
+ 00000497  0x0000031a call  0x00004231 
+ 00000498  0x0000031b call  0x00004234 
+ 00000499  0x0000031c call  0x00004237 
+ 00000500  0x0000031d call  0x0000423a 
+ 00000501  0x0000031e branch  0x00000235 
+ 00000502  0x00000321 fetch  0x00000001 , 0x00004b04 
+ 00000503  0x00000322 rtn  0x00000034 
+ 00000504  0x00000335 fetch  0x00000001 , 0x00004b0a 
+ 00000505  0x00000336 increase  0xffffffff , 0x0000003f 
+ 00000506  0x00000337 store  0x00000001 , 0x00004b0a 
+ 00000507  0x00000338 nrtn  0x00000034 
+ 00000508  0x00000339 fetch  0x00000001 , 0x00004b0b 
+ 00000509  0x0000033a store  0x00000001 , 0x00004b0a 
+ 00000510  0x0000033b fetch  0x00000001 , 0x00004b0d 
+ 00000511  0x0000033c branch  0x00000204 , 0x00000034 
+ 00000512  0x0000033d fetch  0x00000001 , 0x00004b0c 
+ 00000513  0x0000033e branch  0x0000020e , 0x00000034 
+ 00000514  0x0000033f increase  0xffffffff , 0x0000003f 
+ 00000515  0x00000340 store  0x00000001 , 0x00004b0c 
+ 00000516  0x00000342 fetch  0x00000001 , 0x00004b06 
+ 00000517  0x00000343 beq  0x00000001 , 0x00000211 
+ 00000518  0x00000344 beq  0x00000000 , 0x0000020a 
+ 00000519  0x00000345 rtn 
+ 00000520  0x00000347 fetcht  0x00000001 , 0x00004b05 
+ 00000521  0x00000348 branch  0x0000680e 
+ 00000522  0x0000034a jam  0x00000001 , 0x00004b06 
+ 00000523  0x0000034b call  0x00000208 
+ 00000524  0x0000034c fetcht  0x00000001 , 0x00004b05 
+ 00000525  0x0000034d branch  0x00006829 
+ 00000526  0x00000350 jam  0x00000000 , 0x00004b0a 
+ 00000527  0x00000351 jam  0x00000000 , 0x00004b0c 
+ 00000528  0x00000352 jam  0x00000000 , 0x00004b0d 
+ 00000529  0x00000354 fetch  0x00000001 , 0x00004b0c 
+ 00000530  0x00000355 nbranch  0x00000215 , 0x00000034 
+ 00000531  0x00000356 jam  0x00000000 , 0x00004b04 
+ 00000532  0x00000357 jam  0x00000000 , 0x00004b07 
+ 00000533  0x00000359 jam  0x00000000 , 0x00004b08 
+ 00000534  0x0000035a jam  0x00000000 , 0x00004b06 
+ 00000535  0x0000035c fetcht  0x00000001 , 0x00004b05 
+ 00000536  0x0000035d call  0x00006825 
+ 00000537  0x0000035e hfetch  0x00000001 , 0x0000807c 
+ 00000538  0x0000035f set1  0x00000005 , 0x0000003f 
+ 00000539  0x00000360 hstore  0x00000001 , 0x0000807c 
+ 00000540  0x00000361 rtn 
+ 00000541  0x0000036b jam  0x00000001 , 0x00004b0a 
+ 00000542  0x0000036c jam  0x00000005 , 0x00004b0b 
+ 00000543  0x0000036d jam  0x00000000 , 0x00004b0d 
+ 00000544  0x0000036e jam  0x00000001 , 0x00004b0c 
+ 00000545  0x00000370 jam  0x00000001 , 0x00004b04 
+ 00000546  0x00000371 jam  0x00000001 , 0x00004b07 
+ 00000547  0x00000372 rtn 
+ 00000548  0x00000375 fetch  0x00000001 , 0x00004b08 
+ 00000549  0x00000376 nrtn  0x00000034 
+ 00000550  0x00000377 fetch  0x00000001 , 0x00004b0e 
+ 00000551  0x00000378 nrtn  0x00000034 
+ 00000552  0x00000379 branch  0x0000020e 
+ 00000553  0x0000037c jam  0x00000001 , 0x00004b0a 
+ 00000554  0x0000037d jam  0x00000003 , 0x00004b0b 
+ 00000555  0x0000037e jam  0x00000001 , 0x00004b0d 
+ 00000556  0x0000037f branch  0x00000221 
+ 00000557  0x00000383 arg  0x00004809 , 0x00000013 
+ 00000558  0x00000384 arg  0x0000637a , 0x00000012 
+ 00000559  0x00000385 branch  0x0000336d 
+ 00000560  0x00000388 arg  0x00004807 , 0x00000013 
+ 00000561  0x00000389 arg  0x00000233 , 0x00000012 
+ 00000562  0x0000038a branch  0x0000336d 
+ 00000563  0x0000038c jam  0x00000000 , 0x00004806 
+ 00000564  0x0000038d rtn 
+ 00000565  0x00000390 arg  0x000046c6 , 0x00000013 
+ 00000566  0x00000391 arg  0x00003d60 , 0x00000012 
+ 00000567  0x00000392 branch  0x0000336d 
+ 00000568  0x00000395 fetch  0x00000001 , 0x000046f5 
+ 00000569  0x00000396 bbit1  0x00000004 , 0x00004394 
+ 00000570  0x00000398 call  0x000002b2 
+ 00000571  0x00000399 beq  0x00000007 , 0x00000244 
+ 00000572  0x0000039b fetch  0x00000001 , 0x00004685 
+ 00000573  0x0000039c store  0x00000001 , 0x000046da 
+ 00000574  0x0000039d fetch  0x00000001 , 0x000046db 
+ 00000575  0x0000039e rtneq  0x00000001 
+ 00000576  0x0000039f jam  0x00000001 , 0x000046db 
+ 00000577  0x000003a0 arg  0x00000009 , 0x00000007 
+ 00000578  0x000003a1 call  0x000043d2 
+ 00000579  0x000003a2 branch  0x000043ca 
+ 00000580  0x000003a4 jam  0x00000028 , 0x0000479e 
+ 00000581  0x000003a5 call  0x00000247 
+ 00000582  0x000003a6 branch  0x000043b0 
+ 00000583  0x000003a9 arg  0x000046da , 0x00000013 
+ 00000584  0x000003aa arg  0x0000024a , 0x00000012 
+ 00000585  0x000003ab branch  0x0000336d 
+ 00000586  0x000003ae call  0x000001e6 
+ 00000587  0x000003af fetch  0x00000002 , 0x00004682 
+ 00000588  0x000003b0 isolate1  0x0000000b , 0x0000003f 
+ 00000589  0x000003b1 call  0x000042d4 , 0x00000001 
+ 00000590  0x000003b2 fetch  0x00000002 , 0x00004682 
+ 00000591  0x000003b3 isolate1  0x00000007 , 0x0000003f 
+ 00000592  0x000003b4 call  0x00004392 , 0x00000001 
+ 00000593  0x000003b5 arg  0x00000009 , 0x00000007 
+ 00000594  0x000003b6 call  0x000043ce 
+ 00000595  0x000003b7 branch  0x000043b8 
+ 00000596  0x000003ba fetch  0x00000001 , 0x0000479d 
+ 00000597  0x000003bb rtn  0x00000034 
+ 00000598  0x000003bc fetch  0x00000001 , 0x0000479e 
+ 00000599  0x000003bd branch  0x0000025b , 0x00000034 
+ 00000600  0x000003be increase  0xffffffff , 0x0000003f 
+ 00000601  0x000003bf store  0x00000001 , 0x0000479e 
+ 00000602  0x000003c0 rtn 
+ 00000603  0x000003c2 jam  0x00000000 , 0x0000479d 
+ 00000604  0x000003c3 branch  0x0000340a 
+ 00000605  0x000003c7 fetch  0x00000004 , 0x000046d3 
+ 00000606  0x000003c8 rtnbit0  0x0000001a 
+ 00000607  0x000003ca fetch  0x00000001 , 0x00004b0c 
+ 00000608  0x000003cb nrtn  0x00000034 
+ 00000609  0x000003cc fetch  0x00000001 , 0x00004b08 
+ 00000610  0x000003cd nrtn  0x00000034 
+ 00000611  0x000003cf fetch  0x00000001 , 0x000046ce 
+ 00000612  0x000003d0 increase  0x00000001 , 0x0000003f 
+ 00000613  0x000003d1 store  0x00000001 , 0x000046ce 
+ 00000614  0x000003d2 sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00000615  0x000003d3 rtn  0x00000002 
+ 00000616  0x000003d4 jam  0x00000000 , 0x000046ce 
+ 00000617  0x000003d5 call  0x00000278 
+ 00000618  0x000003d6 call  0x00006908 
+ 00000619  0x000003d7 store  0x00000002 , 0x0000470f 
+ 00000620  0x000003d8 arg  0x00004709 , 0x00000011 
+ 00000621  0x000003d9 call  0x00000285 
+ 00000622  0x000003da fetch  0x00000001 , 0x00004231 
+ 00000623  0x000003db bbit1  0x00000001 , 0x0000340a 
+ 00000624  0x000003dc bbit0  0x00000000 , 0x00000273 
+ 00000625  0x000003dd jam  0x00000001 , 0x00004b02 
+ 00000626  0x000003de branch  0x000043e7 
+ 00000627  0x000003e0 call  0x000043e9 
+ 00000628  0x000003e1 fetch  0x00000001 , 0x00004b02 
+ 00000629  0x000003e2 rtn  0x00000034 
+ 00000630  0x000003e3 jam  0x00000000 , 0x00004b02 
+ 00000631  0x000003e6 branch  0x00000211 
+ 00000632  0x000003e9 fetch  0x00000001 , 0x0000422d 
+ 00000633  0x000003ea beq  0x00000002 , 0x0000027b 
+ 00000634  0x000003eb branch  0x000068ec 
+ 00000635  0x000003ed fetcht  0x00000001 , 0x00004b05 
+ 00000636  0x000003ee call  0x000067fb 
+ 00000637  0x000003ef hfetch  0x00000001 , 0x0000807c 
+ 00000638  0x000003f0 set0  0x00000005 , 0x0000003f 
+ 00000639  0x000003f1 hstore  0x00000001 , 0x0000807c 
+ 00000640  0x000003f3 hfetch  0x00000001 , 0x00008078 
+ 00000641  0x000003f4 set0  0x00000005 , 0x0000003f 
+ 00000642  0x000003f5 hstore  0x00000001 , 0x00008078 
+ 00000643  0x000003f6 call  0x000068f4 
+ 00000644  0x000003fa rtn 
+ 00000645  0x000003fd ifetch  0x00000008 , 0x00000011 
+ 00000646  0x000003fe store  0x00000008 , 0x00000a9a 
+ 00000647  0x000003ff fetcht  0x00000002 , 0x00000a9c 
+ 00000648  0x00000400 fetch  0x00000002 , 0x00000aa0 
+ 00000649  0x00000401 mul32  0x0000003f , 0x00000007 , 0x0000003f 
+ 00000650  0x00000402 div  0x0000003f , 0x00000004 
+ 00000651  0x00000403 call  0x00007f86 
+ 00000652  0x00000404 quotient  0x0000003f 
+ 00000653  0x00000405 pincrease  0xfffffff6 
+ 00000654  0x00000406 isub  0x00000002 , 0x0000003e 
+ 00000655  0x00000407 nbranch  0x00006944 , 0x00000002 
+ 00000656  0x00000408 fetcht  0x00000002 , 0x00000a9e 
+ 00000657  0x00000409 isub  0x00000002 , 0x0000003e 
+ 00000658  0x0000040a nbranch  0x00006940 , 0x00000002 
+ 00000659  0x0000040c fetch  0x00000001 , 0x00004231 
+ 00000660  0x0000040d set0  0x00000000 , 0x0000003f 
+ 00000661  0x0000040e store  0x00000001 , 0x00004231 
+ 00000662  0x0000040f rtn 
+ 00000663  0x00000412 fetch  0x00000004 , 0x000046d3 
+ 00000664  0x00000413 rtnbit0  0x00000004 
+ 00000665  0x00000415 fetch  0x00000001 , 0x00004b0c 
+ 00000666  0x00000416 nrtn  0x00000034 
+ 00000667  0x00000417 fetch  0x00000001 , 0x00004b08 
+ 00000668  0x00000418 nrtn  0x00000034 
+ 00000669  0x0000041c fetch  0x00000001 , 0x000046cf 
+ 00000670  0x0000041d pincrease  0x00000001 
+ 00000671  0x0000041e store  0x00000001 , 0x000046cf 
+ 00000672  0x0000041f sub  0x0000003f , 0x00000014 , 0x0000003e 
+ 00000673  0x00000420 ncall  0x000002a6 , 0x00000002 
+ 00000674  0x00000421 fetch  0x00000001 , 0x000046cf 
+ 00000675  0x00000422 sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00000676  0x00000423 branch  0x0000020a , 0x00000002 
+ 00000677  0x00000424 branch  0x00000211 
+ 00000678  0x00000426 jam  0x00000001 , 0x000046cf 
+ 00000679  0x00000427 rtn 
+ 00000680  0x0000042a disable  0x00000028 
+ 00000681  0x0000042b setarg  0x00000000 
+ 00000682  0x0000042c store  0x00000006 , 0x0000469b 
+ 00000683  0x0000042d call  0x00003fb5 
+ 00000684  0x0000042e call  0x00004079 
+ 00000685  0x0000042f call  0x0000407e 
+ 00000686  0x00000430 call  0x000002b0 
+ 00000687  0x00000431 branch  0x00003f9f 
+ 00000688  0x00000434 call  0x000002b2 
+ 00000689  0x00000435 branch  0x0000409a 
+ 00000690  0x00000437 arg  0x00000000 , 0x00000011 
+ 00000691  0x00000438 call  0x000002bd 
+ 00000692  0x00000439 call  0x000002c3 
+ 00000693  0x0000043a call  0x000002c9 
+ 00000694  0x0000043b call  0x000002b9 
+ 00000695  0x0000043c copy  0x00000011 , 0x0000003f 
+ 00000696  0x0000043d rtn 
+ 00000697  0x0000043f fetch  0x00000001 , 0x000046e5 
+ 00000698  0x00000440 rtneq  0x000000ff 
+ 00000699  0x00000441 call  0x000002cf 
+ 00000700  0x00000442 branch  0x000002d5 
+ 00000701  0x00000445 fetcht  0x00000001 , 0x000046e2 
+ 00000702  0x00000446 call  0x000002e4 
+ 00000703  0x00000447 fetcht  0x00000001 , 0x000046e2 
+ 00000704  0x00000448 call  0x0000681d 
+ 00000705  0x00000449 setflag  0x00000001 , 0x00000000 , 0x00000011 
+ 00000706  0x0000044a rtn 
+ 00000707  0x0000044c fetcht  0x00000001 , 0x000046e3 
+ 00000708  0x0000044d call  0x000002e4 
+ 00000709  0x0000044e fetcht  0x00000001 , 0x000046e3 
+ 00000710  0x0000044f call  0x0000681d 
+ 00000711  0x00000450 setflag  0x00000001 , 0x00000001 , 0x00000011 
+ 00000712  0x00000451 rtn 
+ 00000713  0x00000453 fetcht  0x00000001 , 0x000046e4 
+ 00000714  0x00000454 call  0x000002e4 
+ 00000715  0x00000455 fetcht  0x00000001 , 0x000046e4 
+ 00000716  0x00000456 call  0x0000681d 
+ 00000717  0x00000457 setflag  0x00000001 , 0x00000002 , 0x00000011 
+ 00000718  0x00000458 rtn 
+ 00000719  0x0000045a fetcht  0x00000001 , 0x000046e5 
+ 00000720  0x0000045b call  0x000002db 
+ 00000721  0x0000045c fetcht  0x00000001 , 0x000046e5 
+ 00000722  0x0000045d call  0x0000681d 
+ 00000723  0x0000045e nsetflag  0x00000001 , 0x00000003 , 0x00000011 
+ 00000724  0x0000045f branch  0x000002e4 
+ 00000725  0x00000461 fetcht  0x00000001 , 0x000046e6 
+ 00000726  0x00000462 call  0x000002db 
+ 00000727  0x00000463 fetcht  0x00000001 , 0x000046e6 
+ 00000728  0x00000464 call  0x0000681d 
+ 00000729  0x00000465 nsetflag  0x00000001 , 0x00000004 , 0x00000011 
+ 00000730  0x00000466 branch  0x000002e4 
+ 00000731  0x00000468 set0  0x00000007 , 0x00000002 
+ 00000732  0x00000469 arg  0x00008078 , 0x00000005 
+ 00000733  0x0000046a call  0x00006830 
+ 00000734  0x0000046b set1  0x00000007 , 0x00000002 
+ 00000735  0x0000046c arg  0x0000807c , 0x00000005 
+ 00000736  0x0000046d call  0x00006830 
+ 00000737  0x0000046e set0  0x00000007 , 0x00000002 
+ 00000738  0x0000046f arg  0x00008070 , 0x00000005 
+ 00000739  0x00000470 branch  0x00006830 
+ 00000740  0x00000473 set1  0x00000007 , 0x00000002 
+ 00000741  0x00000474 arg  0x00008078 , 0x00000005 
+ 00000742  0x00000475 call  0x00006830 
+ 00000743  0x00000476 set0  0x00000007 , 0x00000002 
+ 00000744  0x00000477 branch  0x000002df 
+ 00000745  0x0000048d call  0x00000329 
+ 00000746  0x0000048e fetch  0x00000001 , 0x000046e0 
+ 00000747  0x0000048f beq  0x00000005 , 0x00003daa 
+ 00000748  0x00000490 beq  0x00000004 , 0x00003d96 
+ 00000749  0x00000491 beq  0x00000006 , 0x00000300 
+ 00000750  0x00000492 beq  0x00000003 , 0x00000300 
+ 00000751  0x00000494 fetch  0x00000001 , 0x0000477a 
+ 00000752  0x00000495 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00000753  0x00000496 call  0x000002f8 , 0x00000005 
+ 00000754  0x00000497 fetch  0x00000001 , 0x0000477a 
+ 00000755  0x00000498 beq  0x00000000 , 0x000002fa 
+ 00000756  0x00000499 beq  0x00000001 , 0x00003d88 
+ 00000757  0x0000049a beq  0x00000002 , 0x000002fc 
+ 00000758  0x0000049b beq  0x00000003 , 0x000002fe 
+ 00000759  0x0000049c branch  0x000002fc 
+ 00000760  0x0000049e jam  0x00000002 , 0x0000477a 
+ 00000761  0x0000049f rtn 
+ 00000762  0x000004a2 jam  0x00000001 , 0x00004b01 
+ 00000763  0x000004a3 branch  0x00003d8a 
+ 00000764  0x000004a5 jam  0x00000002 , 0x00004b01 
+ 00000765  0x000004a6 branch  0x00003d8c 
+ 00000766  0x000004a8 jam  0x00000003 , 0x00004b01 
+ 00000767  0x000004a9 branch  0x00003d8e 
+ 00000768  0x000004ac fetch  0x00000001 , 0x0000477a 
+ 00000769  0x000004ad sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00000770  0x000004ae call  0x00000309 , 0x00000005 
+ 00000771  0x000004af fetch  0x00000001 , 0x0000477a 
+ 00000772  0x000004b0 beq  0x00000000 , 0x0000030b 
+ 00000773  0x000004b1 beq  0x00000001 , 0x0000030f 
+ 00000774  0x000004b2 beq  0x00000002 , 0x00000312 
+ 00000775  0x000004b3 beq  0x00000003 , 0x00000316 
+ 00000776  0x000004b4 branch  0x00000312 
+ 00000777  0x000004b6 jam  0x00000002 , 0x0000477a 
+ 00000778  0x000004b7 rtn 
+ 00000779  0x000004b9 jam  0x00000001 , 0x00004b01 
+ 00000780  0x000004ba fetch  0x00000001 , 0x0000477f 
+ 00000781  0x000004bb increase  0xffffffff , 0x0000003f 
+ 00000782  0x000004bc branch  0x00003dbe 
+ 00000783  0x000004be fetch  0x00000001 , 0x00004780 
+ 00000784  0x000004bf increase  0xffffffff , 0x0000003f 
+ 00000785  0x000004c0 branch  0x00003dbe 
+ 00000786  0x000004c2 jam  0x00000002 , 0x00004b01 
+ 00000787  0x000004c3 fetch  0x00000001 , 0x00004781 
+ 00000788  0x000004c4 increase  0xffffffff , 0x0000003f 
+ 00000789  0x000004c5 branch  0x00003dbe 
+ 00000790  0x000004c7 jam  0x00000003 , 0x00004b01 
+ 00000791  0x000004c8 fetch  0x00000001 , 0x00004782 
+ 00000792  0x000004c9 increase  0xffffffff , 0x0000003f 
+ 00000793  0x000004ca branch  0x00003dbe 
+ 00000794  0x000004cd fetch  0x00000001 , 0x0000477a 
+ 00000795  0x000004ce sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00000796  0x000004cf call  0x000002f8 , 0x00000005 
+ 00000797  0x000004d0 fetch  0x00000001 , 0x0000477a 
+ 00000798  0x000004d1 beq  0x00000000 , 0x00003d9d 
+ 00000799  0x000004d2 beq  0x00000001 , 0x00003d9b 
+ 00000800  0x000004d3 beq  0x00000002 , 0x00003d9f 
+ 00000801  0x000004d4 beq  0x00000003 , 0x00003da1 
+ 00000802  0x000004d5 branch  0x00003d9f 
+ 00000803  0x000004d8 jam  0x00000001 , 0x00004b01 
+ 00000804  0x000004d9 branch  0x00003d9d 
+ 00000805  0x000004db jam  0x00000002 , 0x00004b01 
+ 00000806  0x000004dc branch  0x00003d9f 
+ 00000807  0x000004de jam  0x00000003 , 0x00004b01 
+ 00000808  0x000004df branch  0x00003da1 
+ 00000809  0x000004e1 fetch  0x00000004 , 0x000046d3 
+ 00000810  0x000004e2 rtnbit0  0x00000017 
+ 00000811  0x000004e3 jam  0x0000000a , 0x000046df 
+ 00000812  0x000004e4 fetch  0x00000001 , 0x000046f4 
+ 00000813  0x000004e5 store  0x00000001 , 0x00004715 
+ 00000814  0x000004e6 rtn 
+ 00000815  0x000004e9 jam  0x00000000 , 0x0000479d 
+ 00000816  0x000004ea jam  0x00000000 , 0x0000479e 
+ 00000817  0x000004eb bmark1  0x00000026 , 0x00000333 
+ 00000818  0x000004ec branch  0x0000426d 
+ 00000819  0x000004ee call  0x00000598 
+ 00000820  0x000004ef branch  0x0000426d 
+ 00000821  0x000004f3 call  0x000068a2 
+ 00000822  0x000004f4 fetch  0x00000002 , 0x0000421d 
+ 00000823  0x000004f5 branch  0x0000033a , 0x00000034 
+ 00000824  0x000004f6 store  0x00000002 , 0x000047c2 
+ 00000825  0x000004f8 branch  0x0000035b 
+ 00000826  0x000004fb setarg  0x00001122 
+ 00000827  0x000004fc store  0x00000002 , 0x000047c2 
+ 00000828  0x000004fd branch  0x00000339 
+ 00000829  0x00000500 fetch  0x00000001 , 0x00004c4c 
+ 00000830  0x00000501 store  0x00000001 , 0x000041de 
+ 00000831  0x00000502 jam  0x00000000 , 0x0000479c 
+ 00000832  0x00000503 fetch  0x00000002 , 0x00004682 
+ 00000833  0x00000504 bbit1  0x0000000b , 0x0000034c 
+ 00000834  0x00000505 fetch  0x00000004 , 0x000046d3 
+ 00000835  0x00000506 bbit0  0x00000018 , 0x0000034c 
+ 00000836  0x00000508 call  0x0000035f 
+ 00000837  0x00000509 fetcht  0x00000002 , 0x000047c2 
+ 00000838  0x0000050a increase  0x00000001 , 0x00000002 
+ 00000839  0x0000050b storet  0x00000002 , 0x000047c2 
+ 00000840  0x0000050c storet  0x00000002 , 0x000044a1 
+ 00000841  0x0000050d call  0x0000035b 
+ 00000842  0x0000050e random  0x0000003f 
+ 00000843  0x0000050f store  0x00000001 , 0x000044a0 
+ 00000844  0x00000512 call  0x00003418 
+ 00000845  0x00000513 fetch  0x00000002 , 0x00004687 
+ 00000846  0x00000514 store  0x00000002 , 0x000046ac 
+ 00000847  0x00000515 jam  0x00000006 , 0x0000016d 
+ 00000848  0x00000516 setarg  0x00000000 
+ 00000849  0x00000517 store  0x00000002 , 0x000046b0 
+ 00000850  0x00000518 store  0x00000002 , 0x000046ae 
+ 00000851  0x00000519 arg  0x00000007 , 0x00000007 
+ 00000852  0x0000051a call  0x000043ce 
+ 00000853  0x0000051b call  0x000043ca 
+ 00000854  0x0000051c fetch  0x00000001 , 0x00004092 
+ 00000855  0x0000051d isolate1  0x00000001 , 0x0000003f 
+ 00000856  0x0000051e call  0x00000363 , 0x00000001 
+ 00000857  0x0000051f call  0x000042c4 
+ 00000858  0x00000520 branch  0x0000021d 
+ 00000859  0x00000523 arg  0x00000002 , 0x00000002 
+ 00000860  0x00000524 arg  0x000047c2 , 0x00000011 
+ 00000861  0x00000525 arg  0x0000005f , 0x00000012 
+ 00000862  0x00000526 branch  0x000065d1 
+ 00000863  0x00000529 arg  0x00000002 , 0x00000002 
+ 00000864  0x0000052a arg  0x000047c2 , 0x00000011 
+ 00000865  0x0000052b arg  0x0000005f , 0x00000012 
+ 00000866  0x0000052c branch  0x000065df 
+ 00000867  0x0000052f jam  0x00000000 , 0x0000479f 
+ 00000868  0x00000530 call  0x000000d8 
+ 00000869  0x00000531 setarg  0x00000005 
+ 00000870  0x00000532 istore  0x00000001 , 0x00000006 
+ 00000871  0x00000533 branch  0x00007df4 
+ 00000872  0x00000536 call  0x00000224 
+ 00000873  0x00000537 setarg  0x00000000 
+ 00000874  0x00000538 store  0x00000002 , 0x000046ac 
+ 00000875  0x00000539 call  0x00000108 
+ 00000876  0x0000053a branch  0x000042cb 
+ 00000877  0x0000053d fetch  0x00000001 , 0x0000450f 
+ 00000878  0x0000053e pincrease  0x00000001 
+ 00000879  0x0000053f store  0x00000001 , 0x0000450f 
+ 00000880  0x00000540 beq  0x0000000c , 0x00005395 
+ 00000881  0x00000541 call  0x000055aa 
+ 00000882  0x00000542 call  0x0000561e 
+ 00000883  0x00000543 call  0x000004e6 
+ 00000884  0x00000544 branch  0x0000538f 
+ 00000885  0x00000547 fetch  0x00000001 , 0x00000016 
+ 00000886  0x00000548 increase  0x00000001 , 0x0000003f 
+ 00000887  0x00000549 store  0x00000001 , 0x00000016 
+ 00000888  0x0000054a rtnne  0x00000028 
+ 00000889  0x0000054b jam  0x00000025 , 0x00000016 
+ 00000890  0x0000054c rtn 
+ 00000891  0x0000054f call  0x000029bb 
+ 00000892  0x00000550 call  0x0000001b 
+ 00000893  0x00000551 branch  0x000054a3 
+ 00000894  0x00000554 call  0x00000386 
+ 00000895  0x00000555 branch  0x0000557d 
+ 00000896  0x00000557 fetch  0x00000001 , 0x000047c5 
+ 00000897  0x00000558 store  0x00000001 , 0x00004172 
+ 00000898  0x0000055a jam  0x00000000 , 0x000047c4 
+ 00000899  0x0000055b rtn 
+ 00000900  0x0000055d jam  0x00000001 , 0x000047c4 
+ 00000901  0x0000055e rtn 
+ 00000902  0x00000560 fetch  0x00000001 , 0x000043d6 
+ 00000903  0x00000561 sub  0x0000003f , 0x0000000c , 0x0000003e 
+ 00000904  0x00000562 nbranch  0x00000384 , 0x00000002 
+ 00000905  0x00000563 fetch  0x00000001 , 0x000043d8 
+ 00000906  0x00000564 fetcht  0x00000001 , 0x000047c5 
+ 00000907  0x00000565 isub  0x00000002 , 0x0000003e 
+ 00000908  0x00000566 branch  0x00000380 , 0x00000002 
+ 00000909  0x00000567 fetch  0x00000001 , 0x000043d8 
+ 00000910  0x00000568 store  0x00000001 , 0x00004172 
+ 00000911  0x00000569 branch  0x00000382 
+ 00000912  0x0000056c fetch  0x00000001 , 0x00000456 
+ 00000913  0x0000056d bbit1  0x00000005 , 0x000003a4 
+ 00000914  0x0000056e call  0x000004d8 
+ 00000915  0x0000056f fetch  0x00000001 , 0x0000478e 
+ 00000916  0x00000570 nbranch  0x0000039a , 0x00000034 
+ 00000917  0x00000571 fetch  0x00000001 , 0x0000043f 
+ 00000918  0x00000572 bbit0  0x00000004 , 0x0000039e 
+ 00000919  0x00000573 fetch  0x00000001 , 0x000002da 
+ 00000920  0x00000574 branch  0x0000039e , 0x00000034 
+ 00000921  0x00000575 branch  0x00005664 
+ 00000922  0x00000577 fetch  0x00000001 , 0x0000478e 
+ 00000923  0x00000578 increase  0xffffffff , 0x0000003f 
+ 00000924  0x00000579 store  0x00000001 , 0x0000478e 
+ 00000925  0x0000057a branch  0x00005664 
+ 00000926  0x0000057c fetch  0x00000001 , 0x000044c4 
+ 00000927  0x0000057d bne  0x00000005 , 0x000003a1 
+ 00000928  0x0000057e jam  0x00000003 , 0x0000478e 
+ 00000929  0x00000580 call  0x00005892 
+ 00000930  0x00000581 call  0x000006d0 , 0x00000034 
+ 00000931  0x00000582 branch  0x00005622 
+ 00000932  0x00000585 call  0x000003a6 
+ 00000933  0x00000586 branch  0x000003b2 
+ 00000934  0x00000589 fetch  0x00000001 , 0x000046c5 
+ 00000935  0x0000058a and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00000936  0x0000058b rtnne  0x00000003 
+ 00000937  0x0000058c fetch  0x00000001 , 0x000047c1 
+ 00000938  0x0000058d rtn  0x00000034 
+ 00000939  0x0000058e fetch  0x00000001 , 0x000043dd 
+ 00000940  0x0000058f rtn  0x00000034 
+ 00000941  0x00000590 fetch  0x00000001 , 0x000043dc 
+ 00000942  0x00000591 set1  0x00000004 , 0x0000003f 
+ 00000943  0x00000592 store  0x00000001 , 0x000043dc 
+ 00000944  0x00000593 call  0x00005650 
+ 00000945  0x00000594 rtn 
+ 00000946  0x00000599 branch  0x000004dc 
+ 00000947  0x0000059c fetch  0x00000001 , 0x0000479f 
+ 00000948  0x0000059d rtn  0x00000034 
+ 00000949  0x0000059e fetch  0x00000001 , 0x000046c5 
+ 00000950  0x0000059f and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00000951  0x000005a0 rtneq  0x00000003 
+ 00000952  0x000005a1 jam  0x0000000a , 0x000046c6 
+ 00000953  0x000005a2 rtn 
+ 00000954  0x000005a5 ifetch  0x00000002 , 0x00000006 
+ 00000955  0x000005a6 beq  0x00000004 , 0x000003be 
+ 00000956  0x000005a7 beq  0x00000006 , 0x000003db 
+ 00000957  0x000005a8 branch  0x00005698 
+ 00000958  0x000005aa call  0x00007ea5 
+ 00000959  0x000005ab call  0x000003b3 
+ 00000960  0x000005ac call  0x00007e9f 
+ 00000961  0x000005ad ifetch  0x00000003 , 0x00000006 
+ 00000962  0x000005ae store  0x00000003 , 0x00000477 
+ 00000963  0x000005af beq  0x00000010 , 0x000003cd 
+ 00000964  0x000005b0 rshift8  0x0000003f , 0x00000002 
+ 00000965  0x000005b1 sub  0x00000002 , 0x00000024 , 0x0000003e 
+ 00000966  0x000005b2 branch  0x000058ad , 0x00000002 
+ 00000967  0x000005b3 arg  0x000047c6 , 0x00000002 
+ 00000968  0x000005b4 storet  0x00000002 , 0x000044bc 
+ 00000969  0x000005b5 call  0x000058ad 
+ 00000970  0x000005b6 setarg  0x00008e7a 
+ 00000971  0x000005b7 store  0x00000002 , 0x000044bc 
+ 00000972  0x000005b8 rtn 
+ 00000973  0x000005bb call  0x000059fa 
+ 00000974  0x000005bc call  0x00005879 
+ 00000975  0x000005bd increase  0x00000007 , 0x00000006 
+ 00000976  0x000005be ifetch  0x00000001 , 0x00000006 
+ 00000977  0x000005bf rtnne  0x00000011 
+ 00000978  0x000005c0 increase  0x00000005 , 0x00000006 
+ 00000979  0x000005c1 ifetch  0x00000002 , 0x00000006 
+ 00000980  0x000005c2 arg  0x00001812 , 0x00000002 
+ 00000981  0x000005c3 isub  0x00000002 , 0x0000003e 
+ 00000982  0x000005c4 nrtn  0x00000005 
+ 00000983  0x000005c5 increase  0xfffffffc , 0x00000006 
+ 00000984  0x000005c6 setarg  0x0000002b 
+ 00000985  0x000005c7 istore  0x00000002 , 0x00000006 
+ 00000986  0x000005c8 rtn 
+ 00000987  0x000005cb ifetch  0x00000001 , 0x00000006 
+ 00000988  0x000005cc beq  0x00000005 , 0x000003de 
+ 00000989  0x000005cd branch  0x00005af5 
+ 00000990  0x000005cf call  0x00005b5a 
+ 00000991  0x000005d0 fetch  0x00000001 , 0x0000043f 
+ 00000992  0x000005d1 set0  0x00000005 , 0x0000003f 
+ 00000993  0x000005d2 store  0x00000001 , 0x0000043f 
+ 00000994  0x000005d3 branch  0x00005c8e 
+ 00000995  0x000005d6 fetch  0x00000001 , 0x00000016 
+ 00000996  0x000005d7 bne  0x00000027 , 0x000056f2 
+ 00000997  0x000005d8 call  0x000003e9 
+ 00000998  0x000005d9 arg  0x00000000 , 0x00000007 
+ 00000999  0x000005da fetch  0x00000002 , 0x00004482 
+ 00001000  0x000005db branch  0x00007f08 
+ 00001001  0x000005dd random  0x0000003f 
+ 00001002  0x000005de arg  0x000001ff , 0x00000002 
+ 00001003  0x000005df iand  0x00000002 , 0x0000003f 
+ 00001004  0x000005e0 add  0x0000003f , 0x000000fa , 0x0000003f 
+ 00001005  0x000005e1 branch  0x00003cbe 
+ 00001006  0x000005e4 disable  0x0000002b 
+ 00001007  0x000005e5 branch  0x000003f1 , 0x0000002e 
+ 00001008  0x000005e6 nbranch  0x00005806 , 0x0000002d 
+ 00001009  0x000005e8 call  0x00002bcb 
+ 00001010  0x000005e9 fetch  0x00000002 , 0x000040c1 
+ 00001011  0x000005ea store  0x00000002 , 0x0000044d 
+ 00001012  0x000005eb fetch  0x00000001 , 0x000046c5 
+ 00001013  0x000005ec compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00001014  0x000005ed nbranch  0x00002bde , 0x00000001 
+ 00001015  0x000005ee branch  0x000057fb 
+ 00001016  0x000005f1 fetch  0x00000001 , 0x0000479f 
+ 00001017  0x000005f2 nrtn  0x00000034 
+ 00001018  0x000005f3 fetch  0x00000001 , 0x00000478 
+ 00001019  0x000005f4 sub  0x0000003f , 0x0000001a , 0x0000003f 
+ 00001020  0x000005f5 nrtn  0x00000005 
+ 00001021  0x000005f6 branch  0x00003d60 
+ 00001022  0x000005f9 hfetch  0x00000001 , 0x00008077 
+ 00001023  0x000005fa and_into  0x000000fd , 0x0000003f 
+ 00001024  0x000005fb hstore  0x00000001 , 0x00008077 
+ 00001025  0x000005fc hfetcht  0x00000001 , 0x00008073 
+ 00001026  0x000005fd or_into  0x00000002 , 0x00000002 
+ 00001027  0x000005fe hstoret  0x00000001 , 0x00008073 
+ 00001028  0x000005ff call  0x000063ee 
+ 00001029  0x00000600 and_into  0x000000fd , 0x00000002 
+ 00001030  0x00000601 nop  0x0000000d 
+ 00001031  0x00000602 call  0x000063f2 
+ 00001032  0x00000603 hstoret  0x00000001 , 0x00008073 
+ 00001033  0x00000604 rtn 
+ 00001034  0x0000060b call  0x000068a8 
+ 00001035  0x0000060f fetch  0x00000004 , 0x000040a0 
+ 00001036  0x00000610 store  0x00000004 , 0x00004bcc 
+ 00001037  0x00000611 rtn 
+ 00001038  0x00000615 jam  0x00000001 , 0x00004ccb 
+ 00001039  0x00000616 jam  0x00000000 , 0x00004ccd 
+ 00001040  0x00000618 fetch  0x00000001 , 0x00004b96 
+ 00001041  0x00000619 and_into  0x00000007 , 0x0000003f 
+ 00001042  0x0000061a store  0x00000001 , 0x00004b96 
+ 00001043  0x0000061b rtn 
+ 00001044  0x0000061e fetch  0x00000001 , 0x00004b96 
+ 00001045  0x0000061f set1  0x00000004 , 0x0000003f 
+ 00001046  0x00000620 store  0x00000001 , 0x00004b96 
+ 00001047  0x00000622 store  0x00000001 , 0x00004b51 
+ 00001048  0x00000623 rtn 
+ 00001049  0x00000625 fetch  0x00000001 , 0x00004b96 
+ 00001050  0x00000626 set0  0x00000004 , 0x0000003f 
+ 00001051  0x00000627 store  0x00000001 , 0x00004b96 
+ 00001052  0x00000628 rtn 
+ 00001053  0x0000062b call  0x000004dc 
+ 00001054  0x0000062c fetch  0x00000001 , 0x00004ccc 
+ 00001055  0x0000062d beq  0x00000001 , 0x00000422 
+ 00001056  0x0000062e beq  0x00000002 , 0x00000426 
+ 00001057  0x0000062f rtn 
+ 00001058  0x00000631 jam  0x00000002 , 0x00004ccd 
+ 00001059  0x00000633 jam  0x00000000 , 0x00004cc9 
+ 00001060  0x00000634 jam  0x00000000 , 0x00004ccb 
+ 00001061  0x00000635 branch  0x00000410 
+ 00001062  0x00000638 jam  0x00000000 , 0x00004cca 
+ 00001063  0x00000639 branch  0x00000423 
+ 00001064  0x0000063d fetch  0x00000002 , 0x00004b9b 
+ 00001065  0x0000063e increase  0x00000001 , 0x0000003f 
+ 00001066  0x0000063f store  0x00000002 , 0x00004b9b 
+ 00001067  0x00000640 bbit1  0x0000000a , 0x000004ca 
+ 00001068  0x00000641 fetch  0x00000001 , 0x00004cca 
+ 00001069  0x00000642 beq  0x00000001 , 0x00000431 
+ 00001070  0x00000643 jam  0x00000001 , 0x00004cca 
+ 00001071  0x00000645 fetch  0x00000001 , 0x00004cca 
+ 00001072  0x00000646 bne  0x00000001 , 0x00000410 
+ 00001073  0x00000648 fetch  0x00000001 , 0x00004cc8 
+ 00001074  0x00000649 increase  0x00000001 , 0x0000003f 
+ 00001075  0x0000064a store  0x00000001 , 0x00004cc8 
+ 00001076  0x0000064b beq  0x00000004 , 0x00000438 
+ 00001077  0x0000064c call  0x00000639 
+ 00001078  0x0000064d jam  0x00000002 , 0x00004bda 
+ 00001079  0x0000064e branch  0x00000487 
+ 00001080  0x00000651 call  0x000004dc 
+ 00001081  0x00000652 jam  0x00000000 , 0x00004cc8 
+ 00001082  0x00000653 branch  0x00000410 
+ 00001083  0x00000656 jam  0x00000002 , 0x00004ccd 
+ 00001084  0x00000658 jam  0x00000001 , 0x00004ccb 
+ 00001085  0x00000659 jam  0x00000000 , 0x00004cca 
+ 00001086  0x0000065a branch  0x00000410 
+ 00001087  0x0000065d fetch  0x00000001 , 0x00004ccc 
+ 00001088  0x0000065e beq  0x00000003 , 0x0000043c 
+ 00001089  0x0000065f fetch  0x00000001 , 0x00004b96 
+ 00001090  0x00000660 isolate0  0x00000004 , 0x0000003f 
+ 00001091  0x00000661 branch  0x0000040e , 0x00000001 
+ 00001092  0x00000662 fetch  0x00000001 , 0x00004ccc 
+ 00001093  0x00000663 beq  0x00000001 , 0x0000043b 
+ 00001094  0x00000664 beq  0x00000002 , 0x0000043c 
+ 00001095  0x00000665 rtn 
+ 00001096  0x00000668 fetch  0x00000001 , 0x00004ba5 
+ 00001097  0x00000669 rtnne  0x000000ff 
+ 00001098  0x0000066a call  0x0000044d 
+ 00001099  0x0000066b ncall  0x00000455 , 0x0000002c 
+ 00001100  0x0000066c rtn 
+ 00001101  0x0000066f disable  0x0000002c 
+ 00001102  0x00000670 fetch  0x00000001 , 0x00004ccb 
+ 00001103  0x00000671 rtnne  0x00000001 
+ 00001104  0x00000672 fetch  0x00000001 , 0x00004ccd 
+ 00001105  0x00000673 rtnne  0x00000000 
+ 00001106  0x00000674 jam  0x00000001 , 0x00004ccc 
+ 00001107  0x00000675 jam  0x00000004 , 0x00004bda 
+ 00001108  0x00000676 branch  0x00007feb 
+ 00001109  0x00000679 fetch  0x00000001 , 0x00004ccd 
+ 00001110  0x0000067a branch  0x0000045d , 0x00000034 
+ 00001111  0x0000067b increase  0xffffffff , 0x0000003f 
+ 00001112  0x0000067c store  0x00000001 , 0x00004ccd 
+ 00001113  0x0000067d jam  0x00000002 , 0x00004ccc 
+ 00001114  0x0000067e call  0x00000639 
+ 00001115  0x0000067f jam  0x00000004 , 0x00004bda 
+ 00001116  0x00000680 rtn 
+ 00001117  0x00000683 jam  0x00000003 , 0x00004ccc 
+ 00001118  0x00000684 fetch  0x00000001 , 0x00004cca 
+ 00001119  0x00000685 nbranch  0x0000042f , 0x00000034 
+ 00001120  0x00000686 call  0x00000639 
+ 00001121  0x00000687 jam  0x00000002 , 0x00004bda 
+ 00001122  0x00000688 rtn 
+ 00001123  0x0000068b fetch  0x00000001 , 0x00004ba5 
+ 00001124  0x0000068c bne  0x000000ff , 0x00000523 
+ 00001125  0x0000068e call  0x00000469 
+ 00001126  0x0000068f call  0x00000627 
+ 00001127  0x00000691 jam  0x00000001 , 0x00004b9a 
+ 00001128  0x00000692 rtn 
+ 00001129  0x00000695 fetch  0x00000002 , 0x00004cc6 
+ 00001130  0x00000696 call  0x00007f9c 
+ 00001131  0x00000697 branch  0x0000046f , 0x00000028 
+ 00001132  0x00000698 fetch  0x00000007 , 0x00004b32 
+ 00001133  0x00000699 rtn  0x00000034 
+ 00001134  0x0000069a branch  0x00007fe7 
+ 00001135  0x0000069c jam  0x00000000 , 0x00004bc1 
+ 00001136  0x0000069d add  0x00000011 , 0x00000001 , 0x0000003f 
+ 00001137  0x0000069e store  0x00000001 , 0x00004b95 
+ 00001138  0x0000069f call  0x00000410 
+ 00001139  0x000006a0 store  0x00000001 , 0x00004b31 
+ 00001140  0x000006a1 ifetcht  0x00000001 , 0x00000005 
+ 00001141  0x000006a2 ifetch  0x00000001 , 0x00000012 
+ 00001142  0x000006a3 ior  0x00000002 , 0x0000003f 
+ 00001143  0x000006a4 istore  0x00000001 , 0x00000005 
+ 00001144  0x000006a5 increase  0x00000001 , 0x00000012 
+ 00001145  0x000006a6 arg  0x00000002 , 0x00000039 
+ 00001146  0x000006a8 ifetch  0x00000002 , 0x00000012 
+ 00001147  0x000006ab istore  0x00000002 , 0x00000005 
+ 00001148  0x000006ac increase  0x00000002 , 0x00000012 
+ 00001149  0x000006ad loop  0x0000047a 
+ 00001150  0x000006ae arg  0x00004b37 , 0x00000005 
+ 00001151  0x000006af arg  0x00000002 , 0x00000039 
+ 00001152  0x000006b1 ifetch  0x00000001 , 0x00000012 
+ 00001153  0x000006b2 ifetcht  0x00000001 , 0x00000005 
+ 00001154  0x000006b3 iadd  0x00000002 , 0x0000003f 
+ 00001155  0x000006b4 istore  0x00000001 , 0x00000005 
+ 00001156  0x000006b5 increase  0x00000001 , 0x00000012 
+ 00001157  0x000006b6 loop  0x00000480 
+ 00001158  0x000006b7 rtn 
+ 00001159  0x000006ba jam  0x00000000 , 0x00004b9e 
+ 00001160  0x000006bc arg  0x00000d00 , 0x0000000b 
+ 00001161  0x000006bd until  0x00000023 , 0x00000026 
+ 00001162  0x000006be call  0x000004a3 
+ 00001163  0x000006bf fetch  0x00000001 , 0x00004bd1 
+ 00001164  0x000006c0 rtneq  0x00000001 
+ 00001165  0x000006c1 nbranch  0x000004b2 , 0x00000018 
+ 00001166  0x000006c2 nbranch  0x000004b2 , 0x0000002f 
+ 00001167  0x000006c3 call  0x0000049e 
+ 00001168  0x000006c4 call  0x000004ce 
+ 00001169  0x000006c5 call  0x000004d8 
+ 00001170  0x000006c7 fetch  0x00000001 , 0x00004b94 
+ 00001171  0x000006c8 increase  0x00000001 , 0x0000003f 
+ 00001172  0x000006c9 store  0x00000001 , 0x00004b94 
+ 00001173  0x000006ca fetch  0x00000001 , 0x00004ba5 
+ 00001174  0x000006cb bne  0x000000ff , 0x000004a1 
+ 00001175  0x000006cc call  0x0000043f 
+ 00001176  0x000006ce setarg  0x00000000 
+ 00001177  0x000006cf store  0x00000002 , 0x00004b9b 
+ 00001178  0x000006d0 store  0x00000001 , 0x00004b9d 
+ 00001179  0x000006d1 store  0x00000001 , 0x00004cc9 
+ 00001180  0x000006d2 jam  0x00000000 , 0x00004b9a 
+ 00001181  0x000006d3 rtn 
+ 00001182  0x000006d6 arg  0x00000004 , 0x00000039 
+ 00001183  0x000006d7 arg  0x00004b31 , 0x00000005 
+ 00001184  0x000006d8 branch  0x00007ec6 
+ 00001185  0x000006db call  0x000004d5 
+ 00001186  0x000006dc branch  0x0000053e 
+ 00001187  0x000006df disable  0x0000002f 
+ 00001188  0x000006e0 call  0x000006a2 
+ 00001189  0x000006e3 fetch  0x00000001 , 0x00004bd1 
+ 00001190  0x000006e4 beq  0x00000001 , 0x000004b0 
+ 00001191  0x000006e5 force  0x00000000 , 0x00000015 
+ 00001192  0x000006e6 fetch  0x00000004 , 0x00004bbd 
+ 00001193  0x000006e7 iforce  0x00000009 
+ 00001194  0x000006e8 fetcht  0x00000001 , 0x00000017 
+ 00001195  0x000006e9 call  0x0000291f 
+ 00001196  0x000006ea call  0x00002924 
+ 00001197  0x000006eb call  0x0000065c 
+ 00001198  0x000006ec call  0x0000069a , 0x0000002f 
+ 00001199  0x000006ed rtn 
+ 00001200  0x000006ef call  0x0000069a 
+ 00001201  0x000006f0 branch  0x00000492 
+ 00001202  0x000006f3 fetch  0x00000001 , 0x00004b9d 
+ 00001203  0x000006f4 increase  0x00000001 , 0x0000003f 
+ 00001204  0x000006f5 store  0x00000001 , 0x00004b9d 
+ 00001205  0x000006f6 fetch  0x00000001 , 0x00004ba5 
+ 00001206  0x000006f7 bne  0x000000ff , 0x000004c6 
+ 00001207  0x000006f8 fetcht  0x00000001 , 0x00004b9e 
+ 00001208  0x000006f9 increase  0x00000001 , 0x00000002 
+ 00001209  0x000006fa storet  0x00000001 , 0x00004b9e 
+ 00001210  0x000006fb fetch  0x00000001 , 0x00004bda 
+ 00001211  0x000006fc isub  0x00000002 , 0x0000003f 
+ 00001212  0x000006fd nbranch  0x00000488 , 0x00000034 
+ 00001213  0x000006fe fetch  0x00000001 , 0x00004ccc 
+ 00001214  0x000006ff beq  0x00000003 , 0x00000428 
+ 00001215  0x00000700 fetch  0x00000001 , 0x00004cc9 
+ 00001216  0x00000701 increase  0x00000001 , 0x0000003f 
+ 00001217  0x00000702 store  0x00000001 , 0x00004cc9 
+ 00001218  0x00000703 beq  0x00000002 , 0x0000041d 
+ 00001219  0x00000704 call  0x00000414 
+ 00001220  0x00000705 jam  0x00000001 , 0x00004bda 
+ 00001221  0x00000706 branch  0x00000487 
+ 00001222  0x00000709 fetch  0x00000001 , 0x00004b9d 
+ 00001223  0x0000070a rtnne  0x000000ff 
+ 00001224  0x0000070b jam  0x00000000 , 0x00004b9d 
+ 00001225  0x0000070c branch  0x000004cc 
+ 00001226  0x0000070f setarg  0x00000000 
+ 00001227  0x00000710 store  0x00000002 , 0x00004b9b 
+ 00001228  0x00000712 jam  0x0000003a , 0x00000a99 
+ 00001229  0x00000713 branch  0x00007d86 
+ 00001230  0x00000716 call  0x000005a1 
+ 00001231  0x00000717 fetch  0x00000001 , 0x00004b93 
+ 00001232  0x00000718 rtn  0x00000034 
+ 00001233  0x00000719 iforce  0x00000039 
+ 00001234  0x0000071a arg  0x00004b11 , 0x00000006 
+ 00001235  0x0000071b arg  0x00004b73 , 0x00000005 
+ 00001236  0x0000071c branch  0x00007f01 
+ 00001237  0x0000071f jam  0x00000001 , 0x00004cd1 
+ 00001238  0x00000720 jam  0x00000000 , 0x00004cce 
+ 00001239  0x00000721 rtn 
+ 00001240  0x00000723 fetch  0x00000001 , 0x00004cce 
+ 00001241  0x00000724 increase  0x00000001 , 0x0000003f 
+ 00001242  0x00000725 store  0x00000001 , 0x00004cce 
+ 00001243  0x00000726 rtn 
+ 00001244  0x00000728 fetch  0x00000001 , 0x00004cce 
+ 00001245  0x00000729 sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00001246  0x0000072a ncall  0x000004e4 , 0x00000002 
+ 00001247  0x0000072b fetch  0x00000001 , 0x00004cce 
+ 00001248  0x0000072c rtneq  0x00000000 
+ 00001249  0x0000072d increase  0xffffffff , 0x0000003f 
+ 00001250  0x0000072e store  0x00000001 , 0x00004cce 
+ 00001251  0x0000072f rtn 
+ 00001252  0x00000731 jam  0x00000003 , 0x00004cce 
+ 00001253  0x00000732 rtn 
+ 00001254  0x00000735 fetch  0x00000002 , 0x00004682 
+ 00001255  0x00000736 rtnbit1  0x0000000b 
+ 00001256  0x00000737 rtnbit1  0x00000007 
+ 00001257  0x00000738 rtnbit1  0x00000006 
+ 00001258  0x0000073a arg  0x00004c57 , 0x00000011 
+ 00001259  0x0000073b call  0x00000608 
+ 00001260  0x0000073c storet  0x00000001 , 0x00004ccf 
+ 00001261  0x0000073f isolate1  0x00000026 , 0x00000000 
+ 00001262  0x00000740 call  0x000004f8 , 0x00000001 
+ 00001263  0x00000741 ncall  0x000004fc , 0x00000001 
+ 00001264  0x00000742 isub  0x00000002 , 0x0000003e 
+ 00001265  0x00000743 nbranch  0x00000510 , 0x00000002 
+ 00001266  0x00000745 fetch  0x00000001 , 0x00004cce 
+ 00001267  0x00000746 sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00001268  0x00000747 nbranch  0x00000500 , 0x00000002 
+ 00001269  0x00000748 fetch  0x00000001 , 0x00004cce 
+ 00001270  0x00000749 beq  0x00000000 , 0x00000511 
+ 00001271  0x0000074a rtn 
+ 00001272  0x0000074d setarg  0x00000082 
+ 00001273  0x0000074e rtn 
+ 00001274  0x00000750 setarg  0x00000077 
+ 00001275  0x00000751 rtn 
+ 00001276  0x00000753 setarg  0x00000080 
+ 00001277  0x00000754 rtn 
+ 00001278  0x00000756 setarg  0x00000075 
+ 00001279  0x00000757 rtn 
+ 00001280  0x0000075a fetch  0x00000001 , 0x00004cce 
+ 00001281  0x0000075b rtnne  0x00000020 
+ 00001282  0x0000075c jam  0x00000000 , 0x00004cce 
+ 00001283  0x0000075e fetcht  0x00000001 , 0x00004ccf 
+ 00001284  0x0000075f isolate1  0x00000026 , 0x00000000 
+ 00001285  0x00000760 call  0x000004fa , 0x00000001 
+ 00001286  0x00000761 ncall  0x000004fe , 0x00000001 
+ 00001287  0x00000762 isub  0x00000002 , 0x0000003e 
+ 00001288  0x00000763 nrtn  0x00000002 
+ 00001289  0x00000764 fetch  0x00000001 , 0x00004cd1 
+ 00001290  0x00000765 beq  0x00000000 , 0x00000518 
+ 00001291  0x00000766 increase  0xffffffff , 0x0000003f 
+ 00001292  0x00000767 store  0x00000001 , 0x00004cd1 
+ 00001293  0x00000768 beq  0x00000000 , 0x00000518 
+ 00001294  0x0000076b jam  0x00000000 , 0x000041de 
+ 00001295  0x0000076c rtn 
+ 00001296  0x0000076f jam  0x00000000 , 0x00004cce 
+ 00001297  0x00000771 fetch  0x00000001 , 0x00004cd1 
+ 00001298  0x00000772 beq  0x00000002 , 0x00000516 
+ 00001299  0x00000773 increase  0x00000001 , 0x0000003f 
+ 00001300  0x00000774 store  0x00000001 , 0x00004cd1 
+ 00001301  0x00000775 beq  0x00000001 , 0x0000050e 
+ 00001302  0x00000778 jam  0x00000002 , 0x000041de 
+ 00001303  0x00000779 rtn 
+ 00001304  0x0000077d jam  0x00000004 , 0x000041de 
+ 00001305  0x0000077e rtn 
+ 00001306  0x00000781 set1  0x00000026 , 0x00000000 
+ 00001307  0x00000782 call  0x0000051e 
+ 00001308  0x00000784 jam  0x00000001 , 0x00004ba5 
+ 00001309  0x00000785 rtn 
+ 00001310  0x00000788 jam  0x00000020 , 0x000041de 
+ 00001311  0x00000789 jam  0x00000000 , 0x00004b94 
+ 00001312  0x0000078a jam  0x0000004e , 0x00004b9f 
+ 00001313  0x0000078b fetch  0x00000004 , 0x00004ba1 
+ 00001314  0x0000078c branch  0x00000619 
+ 00001315  0x0000078f fetch  0x00000001 , 0x00004b9a 
+ 00001316  0x00000790 beq  0x00000001 , 0x00007fe7 
+ 00001317  0x00000791 fetch  0x00000001 , 0x00004ba5 
+ 00001318  0x00000792 beq  0x00000001 , 0x0000052a 
+ 00001319  0x00000793 beq  0x00000002 , 0x0000052d 
+ 00001320  0x00000794 beq  0x00000003 , 0x00000530 
+ 00001321  0x00000795 branch  0x00002a8c 
+ 00001322  0x00000798 jam  0x00000011 , 0x00004ba5 
+ 00001323  0x00000799 jam  0x000000aa , 0x0000119e 
+ 00001324  0x0000079a branch  0x00000532 
+ 00001325  0x0000079c jam  0x00000012 , 0x00004ba5 
+ 00001326  0x0000079d jam  0x00000055 , 0x0000119e 
+ 00001327  0x0000079e branch  0x00000532 
+ 00001328  0x000007a0 jam  0x00000013 , 0x00004ba5 
+ 00001329  0x000007a1 jam  0x00000022 , 0x0000119e 
+ 00001330  0x000007a3 fetch  0x00000001 , 0x00004b96 
+ 00001331  0x000007a4 and_into  0x00000007 , 0x0000003f 
+ 00001332  0x000007a5 store  0x00000001 , 0x0000119f 
+ 00001333  0x000007a6 fetch  0x00000004 , 0x00004bcc 
+ 00001334  0x000007a7 store  0x00000004 , 0x000011a0 
+ 00001335  0x000007a9 jam  0x00000000 , 0x000011a4 
+ 00001336  0x000007aa arg  0x0000119e , 0x00000011 
+ 00001337  0x000007ab arg  0x00000007 , 0x00000002 
+ 00001338  0x000007ac call  0x0000059c 
+ 00001339  0x000007ad call  0x00000627 
+ 00001340  0x000007ae call  0x00000467 
+ 00001341  0x000007af branch  0x00007fe7 
+ 00001342  0x000007b2 fetch  0x00000001 , 0x00004ba5 
+ 00001343  0x000007b3 rtneq  0x000000ff 
+ 00001344  0x000007b4 beq  0x00000011 , 0x00000544 
+ 00001345  0x000007b5 beq  0x00000012 , 0x00000546 
+ 00001346  0x000007b6 beq  0x00000013 , 0x00000548 
+ 00001347  0x000007b7 rtn 
+ 00001348  0x000007bb jam  0x00000002 , 0x00004ba5 
+ 00001349  0x000007bc branch  0x00000498 
+ 00001350  0x000007be jam  0x00000003 , 0x00004ba5 
+ 00001351  0x000007bf branch  0x00000498 
+ 00001352  0x000007c1 jam  0x000000ff , 0x00004ba5 
+ 00001353  0x000007c2 jam  0x00000039 , 0x00000a99 
+ 00001354  0x000007c3 call  0x00007d86 
+ 00001355  0x000007c4 fetch  0x00000004 , 0x00004b75 
+ 00001356  0x000007c5 call  0x00000619 
+ 00001357  0x000007c6 branch  0x00000498 
+ 00001358  0x000007c9 set0  0x00000026 , 0x00000000 
+ 00001359  0x000007ca call  0x00000592 
+ 00001360  0x000007cb fetch  0x00000001 , 0x00004ba5 
+ 00001361  0x000007cc rtnne  0x000000ff 
+ 00001362  0x000007cd call  0x00000563 
+ 00001363  0x000007cf setarg  0x00000000 
+ 00001364  0x000007d0 store  0x00000002 , 0x00004bc2 
+ 00001365  0x000007d2 call  0x00002afa 
+ 00001366  0x000007d3 nop  0x000007d0 
+ 00001367  0x000007d4 fetch  0x00000001 , 0x00004bc2 
+ 00001368  0x000007d5 beq  0x000000ff , 0x000004cc 
+ 00001369  0x000007d6 call  0x000004a3 
+ 00001370  0x000007d7 nbranch  0x0000056c , 0x00000018 
+ 00001371  0x000007d8 nbranch  0x0000056c , 0x0000002f 
+ 00001372  0x000007da set1  0x00000026 , 0x00000000 
+ 00001373  0x000007db setarg  0x00000000 
+ 00001374  0x000007dc store  0x00000002 , 0x00004bc2 
+ 00001375  0x000007dd jam  0x0000003c , 0x00000a99 
+ 00001376  0x000007de call  0x00007d86 
+ 00001377  0x000007df call  0x0000049e 
+ 00001378  0x000007e0 branch  0x0000006b 
+ 00001379  0x000007e3 jam  0x000000ff , 0x0000119e 
+ 00001380  0x000007e4 fetch  0x00000001 , 0x00004b96 
+ 00001381  0x000007e5 store  0x00000001 , 0x0000119f 
+ 00001382  0x000007e6 fetch  0x00000004 , 0x00004bcc 
+ 00001383  0x000007e7 store  0x00000004 , 0x000011a0 
+ 00001384  0x000007e8 arg  0x00000006 , 0x00000002 
+ 00001385  0x000007e9 arg  0x0000119e , 0x00000011 
+ 00001386  0x000007ea call  0x0000059c 
+ 00001387  0x000007eb branch  0x00000627 
+ 00001388  0x000007ee fetch  0x00000002 , 0x00004bc2 
+ 00001389  0x000007ef increase  0x00000001 , 0x0000003f 
+ 00001390  0x000007f0 store  0x00000002 , 0x00004bc2 
+ 00001391  0x000007f1 call  0x00000639 
+ 00001392  0x000007f2 branch  0x00000555 
+ 00001393  0x000007f5 set0  0x00000026 , 0x00000000 
+ 00001394  0x000007f6 call  0x0000058e 
+ 00001395  0x000007f7 call  0x00000563 
+ 00001396  0x000007f9 jam  0x00000000 , 0x00004bc2 
+ 00001397  0x000007fb call  0x00002afa 
+ 00001398  0x000007fc nop  0x000007d0 
+ 00001399  0x000007fd fetch  0x00000001 , 0x00004bc2 
+ 00001400  0x000007fe beq  0x000000ff , 0x000004cc 
+ 00001401  0x000007ff call  0x000004a3 
+ 00001402  0x00000800 nbranch  0x00000584 , 0x00000018 
+ 00001403  0x00000801 nbranch  0x00000584 , 0x0000002f 
+ 00001404  0x00000802 call  0x000004ce 
+ 00001405  0x00000803 fetch  0x00000001 , 0x00004c4c 
+ 00001406  0x00000804 store  0x00000001 , 0x000041de 
+ 00001407  0x00000805 fetch  0x00000004 , 0x00004bbd 
+ 00001408  0x00000806 fetcht  0x00000004 , 0x00004ba1 
+ 00001409  0x00000807 isub  0x00000002 , 0x0000003e 
+ 00001410  0x00000808 branch  0x0000051a , 0x00000005 
+ 00001411  0x00000809 branch  0x0000055c 
+ 00001412  0x0000080c fetch  0x00000001 , 0x00004bc2 
+ 00001413  0x0000080d increase  0x00000001 , 0x0000003f 
+ 00001414  0x0000080e store  0x00000001 , 0x00004bc2 
+ 00001415  0x0000080f fetch  0x00000001 , 0x00004cd3 
+ 00001416  0x00000810 increase  0x00000001 , 0x0000003f 
+ 00001417  0x00000811 and_into  0x00000001 , 0x0000003f 
+ 00001418  0x00000812 store  0x00000001 , 0x00004cd3 
+ 00001419  0x00000813 beq  0x00000000 , 0x00000594 
+ 00001420  0x00000814 beq  0x00000001 , 0x00000596 
+ 00001421  0x00000815 rtn 
+ 00001422  0x00000818 jam  0x00000020 , 0x000041de 
+ 00001423  0x00000819 setarg  0x00000f0f 
+ 00001424  0x0000081a store  0x00000002 , 0x00004bbd 
+ 00001425  0x0000081b istore  0x00000002 , 0x00000005 
+ 00001426  0x0000081d call  0x0000061a 
+ 00001427  0x0000081e branch  0x00000639 
+ 00001428  0x00000821 call  0x0000058e 
+ 00001429  0x00000822 branch  0x00000575 
+ 00001430  0x00000825 call  0x0000051e 
+ 00001431  0x00000826 branch  0x00000575 
+ 00001432  0x00000829 set0  0x00000026 , 0x00000000 
+ 00001433  0x0000082a call  0x000053ce 
+ 00001434  0x0000082c arg  0x00000003 , 0x00000007 
+ 00001435  0x0000082d branch  0x000043d2 
+ 00001436  0x00000830 storet  0x00000001 , 0x00004b95 
+ 00001437  0x00000831 copy  0x00000002 , 0x00000039 
+ 00001438  0x00000832 arg  0x00004b31 , 0x00000005 
+ 00001439  0x00000833 copy  0x00000011 , 0x00000006 
+ 00001440  0x00000834 branch  0x00007f01 
+ 00001441  0x00000838 fetch  0x00000001 , 0x00004b10 
+ 00001442  0x00000839 rshift3  0x0000003f , 0x0000003f 
+ 00001443  0x0000083a store  0x00000001 , 0x00004b93 
+ 00001444  0x0000083c increase  0x00000001 , 0x0000003f 
+ 00001445  0x0000083d arg  0x00004b10 , 0x00000006 
+ 00001446  0x0000083e iadd  0x00000006 , 0x00000006 
+ 00001447  0x0000083f ifetch  0x00000003 , 0x00000006 
+ 00001448  0x00000840 store  0x00000003 , 0x00004bd2 
+ 00001449  0x00000842 fetch  0x00000001 , 0x00004b10 
+ 00001450  0x00000843 rshift  0x0000003f , 0x0000003f 
+ 00001451  0x00000844 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00001452  0x00000845 store  0x00000001 , 0x00004bd8 
+ 00001453  0x00000846 rtn 
+ 00001454  0x0000084a storet  0x00000001 , 0x00000017 
+ 00001455  0x0000084b add  0x00000002 , 0x00000000 , 0x00000011 
+ 00001456  0x0000084c call  0x00002981 
+ 00001457  0x0000084d setarg  0x00000500 
+ 00001458  0x0000084e call  0x00002a8f 
+ 00001459  0x00000850 jam  0x00000001 , 0x00008906 
+ 00001460  0x00000851 jam  0x0000003c , 0x00008900 
+ 00001461  0x00000852 jam  0x000000e0 , 0x00008901 
+ 00001462  0x00000853 nop  0x0000000a 
+ 00001463  0x00000854 jam  0x00000001 , 0x00008902 
+ 00001464  0x00000855 jam  0x0000003d , 0x00008902 
+ 00001465  0x00000856 nop  0x0000000a 
+ 00001466  0x00000857 jam  0x000000b7 , 0x00008903 
+ 00001467  0x00000858 nop  0x0000000a 
+ 00001468  0x00000859 jam  0x0000007d , 0x00008902 
+ 00001469  0x0000085a fetch  0x00000001 , 0x000041de 
+ 00001470  0x0000085b beq  0x00000000 , 0x000005c3 
+ 00001471  0x0000085d beq  0x00000002 , 0x000005cb 
+ 00001472  0x0000085f beq  0x00000004 , 0x000005d3 
+ 00001473  0x00000860 beq  0x00000020 , 0x000005e5 
+ 00001474  0x00000861 branch  0x000005c3 
+ 00001475  0x00000864 call  0x000005db 
+ 00001476  0x00000865 jam  0x000000ba , 0x0000894b 
+ 00001477  0x00000866 jam  0x000000d0 , 0x00008955 
+ 00001478  0x00000867 jam  0x000000e0 , 0x00008956 
+ 00001479  0x00000868 jam  0x00000088 , 0x00008957 
+ 00001480  0x00000869 jam  0x0000006c , 0x00008958 
+ 00001481  0x0000086a jam  0x00000010 , 0x00008959 
+ 00001482  0x0000086b branch  0x0000294b 
+ 00001483  0x00000878 call  0x000005e0 
+ 00001484  0x00000879 jam  0x000000ba , 0x0000894b 
+ 00001485  0x0000087a jam  0x000000d0 , 0x00008955 
+ 00001486  0x0000087b jam  0x000000e0 , 0x00008956 
+ 00001487  0x0000087c jam  0x00000088 , 0x00008957 
+ 00001488  0x0000087d jam  0x0000003c , 0x00008958 
+ 00001489  0x0000087e jam  0x00000010 , 0x00008959 
+ 00001490  0x0000087f branch  0x00002953 
+ 00001491  0x0000088c call  0x000005db 
+ 00001492  0x0000088d jam  0x000000ba , 0x0000894b 
+ 00001493  0x0000088e jam  0x000000d0 , 0x00008955 
+ 00001494  0x0000088f jam  0x000000c0 , 0x00008956 
+ 00001495  0x00000890 jam  0x00000088 , 0x00008957 
+ 00001496  0x00000891 jam  0x0000006c , 0x00008958 
+ 00001497  0x00000892 jam  0x00000010 , 0x00008959 
+ 00001498  0x00000893 branch  0x0000295b 
+ 00001499  0x00000896 jam  0x0000005b , 0x0000894c 
+ 00001500  0x00000897 jam  0x00000096 , 0x0000894d 
+ 00001501  0x00000898 jam  0x0000002c , 0x0000894e 
+ 00001502  0x00000899 jam  0x00000046 , 0x0000894f 
+ 00001503  0x0000089a rtn 
+ 00001504  0x0000089d jam  0x000000fb , 0x0000894c 
+ 00001505  0x0000089e jam  0x000000ef , 0x0000894d 
+ 00001506  0x0000089f jam  0x000000ec , 0x0000894e 
+ 00001507  0x000008a0 jam  0x0000005e , 0x0000894f 
+ 00001508  0x000008a1 rtn 
+ 00001509  0x000008a4 jam  0x000000ba , 0x0000894b 
+ 00001510  0x000008a5 jam  0x000000c2 , 0x00008956 
+ 00001511  0x000008a6 jam  0x000000d0 , 0x00008955 
+ 00001512  0x000008a7 rtn 
+ 00001513  0x000008aa force  0x00000008 , 0x00000015 
+ 00001514  0x000008ab branch  0x000028fa 
+ 00001515  0x000008af call  0x00007fe9 
+ 00001516  0x000008b0 fetcht  0x00000004 , 0x00004bb6 
+ 00001517  0x000008b1 copy  0x00000022 , 0x0000003f 
+ 00001518  0x000008b2 isub  0x00000002 , 0x0000003e 
+ 00001519  0x000008b3 ncall  0x00002d18 , 0x00000002 
+ 00001520  0x000008b4 copy  0x0000003f , 0x00000012 
+ 00001521  0x000008b5 fetch  0x00000004 , 0x00004bb6 
+ 00001522  0x000008b6 fetcht  0x00000001 , 0x00004bba 
+ 00001523  0x000008b7 iadd  0x00000002 , 0x00000002 
+ 00001524  0x000008b8 copy  0x00000012 , 0x0000003f 
+ 00001525  0x000008b9 isub  0x00000002 , 0x0000003e 
+ 00001526  0x000008ba nrtn  0x00000002 
+ 00001527  0x000008bb set0  0x0000001c , 0x0000003f 
+ 00001528  0x000008bc store  0x00000004 , 0x00004bb6 
+ 00001529  0x000008bd branch  0x00007fe7 
+ 00001530  0x000008c0 call  0x000029bb 
+ 00001531  0x000008c1 rtn  0x00000034 
+ 00001532  0x000008c2 fetcht  0x00000001 , 0x00004c4f 
+ 00001533  0x000008c3 arg  0x00000d9e , 0x00000011 
+ 00001534  0x000008c4 call  0x00000601 
+ 00001535  0x000008c5 storet  0x00000001 , 0x00004c4f 
+ 00001536  0x000008c6 rtn 
+ 00001537  0x000008c9 copy  0x00000011 , 0x0000003f 
+ 00001538  0x000008ca iadd  0x00000002 , 0x00000005 
+ 00001539  0x000008cb fetch  0x00000001 , 0x00000018 
+ 00001540  0x000008cc istore  0x00000001 , 0x00000005 
+ 00001541  0x000008cd increase  0x00000001 , 0x00000002 
+ 00001542  0x000008ce and_into  0x00000007 , 0x00000002 
+ 00001543  0x000008cf rtn 
+ 00001544  0x000008d1 arg  0x00000000 , 0x00000002 
+ 00001545  0x000008d2 arg  0x00000008 , 0x00000039 
+ 00001546  0x000008d3 copy  0x00000011 , 0x00000006 
+ 00001547  0x000008d5 ifetch  0x00000001 , 0x00000006 
+ 00001548  0x000008d6 iadd  0x00000002 , 0x00000002 
+ 00001549  0x000008d7 loop  0x0000060b 
+ 00001550  0x000008d8 rshift3  0x00000002 , 0x0000003f 
+ 00001551  0x000008d9 copy  0x0000003f , 0x00000002 
+ 00001552  0x000008da rtnmark0  0x00000026 
+ 00001553  0x000008dc div  0x0000003f , 0x0000000a 
+ 00001554  0x000008dd call  0x00007f86 
+ 00001555  0x000008de quotient  0x0000003f 
+ 00001556  0x000008df lshift4  0x0000003f , 0x0000003f 
+ 00001557  0x000008e0 remainder  0x00000002 
+ 00001558  0x000008e1 ior  0x00000002 , 0x00000002 
+ 00001559  0x000008e2 rtn 
+ 00001560  0x000008e3 rtn 
+ 00001561  0x000008e6 store  0x00000004 , 0x00004bbd 
+ 00001562  0x000008ea arg  0x00000000 , 0x00000011 
+ 00001563  0x000008eb arg  0x00000004 , 0x00000039 
+ 00001564  0x000008ec arg  0x00004bbd , 0x00000006 
+ 00001565  0x000008ee ifetch  0x00000001 , 0x00000006 
+ 00001566  0x000008ef iadd  0x00000011 , 0x00000011 
+ 00001567  0x000008f0 loop  0x0000061d 
+ 00001568  0x000008f1 copy  0x00000011 , 0x0000003f 
+ 00001569  0x000008f2 store  0x00000002 , 0x00004c46 
+ 00001570  0x000008f3 fetch  0x00000001 , 0x00004c46 
+ 00001571  0x000008f4 fetcht  0x00000001 , 0x00004c47 
+ 00001572  0x000008f5 iadd  0x00000002 , 0x0000003f 
+ 00001573  0x000008f6 store  0x00000001 , 0x00004c48 
+ 00001574  0x000008f7 rtn 
+ 00001575  0x000008fd fetch  0x00000001 , 0x00004b95 
+ 00001576  0x000008fe increase  0x00000002 , 0x0000003f 
+ 00001577  0x000008ff store  0x00000001 , 0x00004b97 
+ 00001578  0x00000901 fetch  0x00000001 , 0x00004b96 
+ 00001579  0x00000902 store  0x00000001 , 0x00004b51 
+ 00001580  0x00000904 fetch  0x00000001 , 0x00004b95 
+ 00001581  0x00000905 lshift3  0x0000003f , 0x0000003f 
+ 00001582  0x00000906 fetcht  0x00000001 , 0x00004b94 
+ 00001583  0x00000907 and  0x00000002 , 0x00000003 , 0x00000002 
+ 00001584  0x00000908 lshift  0x00000002 , 0x00000002 
+ 00001585  0x00000909 ior  0x00000002 , 0x0000003f 
+ 00001586  0x0000090a fetcht  0x00000001 , 0x00004bd1 
+ 00001587  0x0000090b iadd  0x00000002 , 0x0000003f 
+ 00001588  0x0000090c istore  0x00000001 , 0x00000005 
+ 00001589  0x0000090e fetch  0x00000001 , 0x00004b95 
+ 00001590  0x0000090f iforce  0x00000039 
+ 00001591  0x00000910 arg  0x00004b31 , 0x00000006 
+ 00001592  0x00000911 branch  0x00007f01 
+ 00001593  0x00000914 fetcht  0x00000001 , 0x00004ba0 
+ 00001594  0x00000915 call  0x0000063d 
+ 00001595  0x00000916 storet  0x00000001 , 0x00004ba0 
+ 00001596  0x00000917 rtn 
+ 00001597  0x0000091a call  0x00000641 
+ 00001598  0x0000091b increase  0x00000001 , 0x00000002 
+ 00001599  0x0000091c and_into  0x00000003 , 0x00000002 
+ 00001600  0x0000091d rtn 
+ 00001601  0x00000920 fetch  0x00000001 , 0x00004bbd 
+ 00001602  0x00000921 and_into  0x00000003 , 0x0000003f 
+ 00001603  0x00000922 mul32  0x0000003f , 0x00000004 , 0x00000011 
+ 00001604  0x00000923 setarg  0x00004ba6 
+ 00001605  0x00000924 iadd  0x00000011 , 0x0000003f 
+ 00001606  0x00000925 iadd  0x00000002 , 0x00000006 
+ 00001607  0x00000926 ifetch  0x00000001 , 0x00000006 
+ 00001608  0x00000927 store  0x00000001 , 0x00004b9f 
+ 00001609  0x00000928 rtn 
+ 00001610  0x0000092b disable  0x00000009 
+ 00001611  0x0000092c disable  0x00000007 
+ 00001612  0x0000092d setarg  0x00555555 
+ 00001613  0x0000092e iforce  0x0000000f 
+ 00001614  0x0000092f fetch  0x00000001 , 0x00004b9f 
+ 00001615  0x00000930 reverse  0x0000003f , 0x00000002 
+ 00001616  0x00000931 set1  0x00000001 , 0x00000002 
+ 00001617  0x00000932 rshift  0x00000002 , 0x0000000e 
+ 00001618  0x00000933 rtn 
+ 00001619  0x00000936 call  0x000053c4 
+ 00001620  0x00000937 fetch  0x00000004 , 0x00004bbd 
+ 00001621  0x00000938 iforce  0x00000009 
+ 00001622  0x00000939 call  0x00002918 
+ 00001623  0x0000093a fetcht  0x00000001 , 0x00004b9f 
+ 00001624  0x0000093b call  0x0000291f 
+ 00001625  0x0000093c setarg  0x00000500 
+ 00001626  0x0000093d call  0x00002a8f 
+ 00001627  0x0000093e call  0x00002924 
+ 00001628  0x00000942 call  0x0000064a 
+ 00001629  0x00000943 disable  0x0000002f 
+ 00001630  0x00000944 enable  0x0000000d 
+ 00001631  0x00000945 enable  0x00000021 
+ 00001632  0x00000946 disable  0x00000020 
+ 00001633  0x00000947 enable  0x00000010 
+ 00001634  0x00000948 fetch  0x00000002 , 0x00004b98 
+ 00001635  0x00000949 iforce  0x0000001b 
+ 00001636  0x0000094a correlate  0x0000003e , 0x00000003 
+ 00001637  0x0000094b nbranch  0x0000069e , 0x00000018 
+ 00001638  0x0000094e disable  0x0000000d 
+ 00001639  0x0000094f enable  0x0000000b 
+ 00001640  0x00000950 enable  0x00000007 
+ 00001641  0x00000951 enable  0x00000009 
+ 00001642  0x00000952 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00001643  0x00000953 rshift3  0x0000000c , 0x0000003f 
+ 00001644  0x00000954 store  0x00000001 , 0x00004c49 
+ 00001645  0x00000955 fetcht  0x00000001 , 0x00004c48 
+ 00001646  0x00000956 isub  0x00000002 , 0x0000003e 
+ 00001647  0x00000957 nbranch  0x0000069a , 0x00000005 
+ 00001648  0x00000958 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00001649  0x00000959 rshift3  0x0000000c , 0x0000003f 
+ 00001650  0x0000095a store  0x00000001 , 0x00004b0f 
+ 00001651  0x0000095b fetch  0x00000001 , 0x00004bdb 
+ 00001652  0x0000095c sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00001653  0x0000095d branch  0x0000067a , 0x00000005 
+ 00001654  0x0000095e fetch  0x00000001 , 0x00004b0f 
+ 00001655  0x0000095f fetcht  0x00000001 , 0x00004b96 
+ 00001656  0x00000960 icompare  0x00000007 , 0x00000002 
+ 00001657  0x00000961 nbranch  0x0000069a , 0x00000001 
+ 00001658  0x00000963 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00001659  0x00000964 rshift3  0x0000000c , 0x0000003f 
+ 00001660  0x00000965 istore  0x00000001 , 0x00000005 
+ 00001661  0x00000966 rshift3  0x0000003f , 0x0000003f 
+ 00001662  0x00000967 and  0x0000003f , 0x0000001f , 0x00000039 
+ 00001663  0x00000968 branch  0x00000684 , 0x00000005 
+ 00001664  0x0000096a parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00001665  0x0000096b rshift3  0x0000000c , 0x0000003f 
+ 00001666  0x0000096c istore  0x00000001 , 0x00000005 
+ 00001667  0x0000096d loop  0x00000680 
+ 00001668  0x00000970 copy  0x00000005 , 0x00000011 
+ 00001669  0x00000971 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00001670  0x00000972 rshift3  0x0000000c , 0x0000003f 
+ 00001671  0x00000973 store  0x00000001 , 0x00004cd0 
+ 00001672  0x00000974 copy  0x00000011 , 0x00000005 
+ 00001673  0x00000975 parse  0x00000003 , 0x00000000 , 0x00000018 
+ 00001674  0x00000976 enable  0x00000010 
+ 00001675  0x00000977 arg  0x00000664 , 0x0000001b 
+ 00001676  0x00000978 rshift32  0x0000003f , 0x0000003f 
+ 00001677  0x00000979 rshift16  0x0000003f , 0x0000003f 
+ 00001678  0x0000097a istore  0x00000003 , 0x00000005 
+ 00001679  0x0000097b disable  0x0000000b 
+ 00001680  0x0000097c branch  0x0000069a , 0x00000006 
+ 00001681  0x0000097f enable  0x0000002f 
+ 00001682  0x00000980 fetch  0x00000001 , 0x00000017 
+ 00001683  0x00000981 add  0x0000003f , 0x00000000 , 0x00000011 
+ 00001684  0x00000982 call  0x00002981 
+ 00001685  0x00000983 disable  0x0000000d 
+ 00001686  0x00000984 call  0x00002918 
+ 00001687  0x00000985 fetch  0x00000001 , 0x00004cd0 
+ 00001688  0x00000986 call  0x0000001b 
+ 00001689  0x00000987 rtn 
+ 00001690  0x0000098a disable  0x0000001b 
+ 00001691  0x0000098b disable  0x0000000b 
+ 00001692  0x0000098c call  0x0000264d 
+ 00001693  0x0000098d rtn 
+ 00001694  0x00000990 branch  0x0000069a 
+ 00001695  0x00000993 call  0x00002918 
+ 00001696  0x00000994 fetcht  0x00000001 , 0x00004b9f 
+ 00001697  0x00000995 branch  0x00002933 
+ 00001698  0x00000998 call  0x000053c4 
+ 00001699  0x00000999 fetch  0x00000004 , 0x00004bbd 
+ 00001700  0x0000099a iforce  0x00000009 
+ 00001701  0x0000099b call  0x0000064a 
+ 00001702  0x0000099c call  0x0000069f 
+ 00001703  0x0000099d set1  0x00000000 , 0x00000015 
+ 00001704  0x0000099e enable  0x0000001d 
+ 00001705  0x0000099f enable  0x00000020 
+ 00001706  0x000009a0 disable  0x00000021 
+ 00001707  0x000009a3 rshift16  0x00000009 , 0x0000003f 
+ 00001708  0x000009a4 rshift8  0x0000003f , 0x0000003f 
+ 00001709  0x000009a5 rshift4  0x0000003f , 0x0000003f 
+ 00001710  0x000009a6 inject  0x00000003 , 0x00000028 
+ 00001711  0x000009a7 disable  0x0000001d 
+ 00001712  0x000009a8 enable  0x0000001b 
+ 00001713  0x000009a9 enable  0x00000007 
+ 00001714  0x000009aa enable  0x00000009 
+ 00001715  0x000009ab fetch  0x00000001 , 0x00004c48 
+ 00001716  0x000009ac inject  0x00000003 , 0x00000008 
+ 00001717  0x000009ad fetch  0x00000001 , 0x00004b97 
+ 00001718  0x000009ae iforce  0x00000039 
+ 00001719  0x000009af arg  0x00004b51 , 0x00000006 
+ 00001720  0x000009b1 ifetch  0x00000001 , 0x00000006 
+ 00001721  0x000009b2 inject  0x00000003 , 0x00000008 
+ 00001722  0x000009b3 loop  0x000006b8 
+ 00001723  0x000009b6 enable  0x00000008 
+ 00001724  0x000009b7 inject  0x00000003 , 0x00000018 
+ 00001725  0x000009b8 disable  0x00000008 
+ 00001726  0x000009b9 until  0x0000003e , 0x00000027 
+ 00001727  0x000009ba nop  0x00000064 
+ 00001728  0x000009bb disable  0x0000001d 
+ 00001729  0x000009bc disable  0x0000001b 
+ 00001730  0x000009bd rtn 
+ 00001731  0x000009c2 jam  0x00000007 , 0x000047a0 
+ 00001732  0x000009c3 jam  0x00000004 , 0x000047a1 
+ 00001733  0x000009c4 setarg  0x000047a0 
+ 00001734  0x000009c5 store  0x00000002 , 0x00004218 
+ 00001735  0x000009c6 branch  0x00007e38 
+ 00001736  0x000009c9 arg  0x0000469a , 0x00000011 
+ 00001737  0x000009ca call  0x00007e3d 
+ 00001738  0x000009cb call  0x000006cc , 0x00000028 
+ 00001739  0x000009cd rtn 
+ 00001740  0x000009cf fetch  0x00000001 , 0x000047c1 
+ 00001741  0x000009d0 increase  0x00000001 , 0x0000003f 
+ 00001742  0x000009d1 store  0x00000001 , 0x000047c1 
+ 00001743  0x000009d2 rtn 
+ 00001744  0x000009d5 arg  0x0000469a , 0x00000011 
+ 00001745  0x000009d6 call  0x00007e54 
+ 00001746  0x000009d7 branch  0x000006d4 , 0x00000028 
+ 00001747  0x000009d8 rtn 
+ 00001748  0x000009db call  0x00005652 
+ 00001749  0x000009dc fetch  0x00000001 , 0x000047c1 
+ 00001750  0x000009dd sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00001751  0x000009de ncall  0x00005650 , 0x00000002 
+ 00001752  0x000009df fetch  0x00000001 , 0x000047c1 
+ 00001753  0x000009e0 rtn  0x00000034 
+ 00001754  0x000009e1 increase  0xffffffff , 0x0000003f 
+ 00001755  0x000009e2 store  0x00000001 , 0x000047c1 
+ 00001756  0x000009e3 branch  0x00003f90 
+ 00008192  0x00000a3c call  0x00002abc 
+ 00008193  0x00000a3f bpatch  0x00000000 , 0x00004000 
+ 00008194  0x00000a40 clear_stack 
+ 00008195  0x00000a41 call  0x0000640d 
+ 00008196  0x00000a42 call  0x0000296c 
+ 00008197  0x00000a43 call  0x000065a3 
+ 00008198  0x00000a44 call  0x00002a96 
+ 00008199  0x00000a45 call  0x00004d6a 
+ 00008200  0x00000a46 bpatch  0x00000001 , 0x00004000 
+ 00008201  0x00000a47 call  0x00006a03 
+ 00008202  0x00000a48 call  0x00005cf6 
+ 00008203  0x00000a49 call  0x00007ccc 
+ 00008204  0x00000a4a call  0x000032d8 
+ 00008205  0x00000a4b ncall  0x0000689c , 0x0000002b 
+ 00008206  0x00000a4c bpatch  0x00000002 , 0x00004000 
+ 00008207  0x00000a4d call  0x000032e3 , 0x0000002b 
+ 00008208  0x00000a4e call  0x0000756a 
+ 00008209  0x00000a4f call  0x00002b41 , 0x0000002b 
+ 00008210  0x00000a51 bpatch  0x00000003 , 0x00004000 
+ 00008211  0x00000a52 call  0x000076dc 
+ 00008212  0x00000a53 call  0x00007aaf 
+ 00008213  0x00000a54 call  0x0000756d 
+ 00008214  0x00000a55 call  0x0000535c 
+ 00008215  0x00000a56 bpatch  0x00000004 , 0x00004000 
+ 00008216  0x00000a57 call  0x00002038 
+ 00008217  0x00000a58 call  0x000032ed 
+ 00008218  0x00000a59 call  0x0000208f 
+ 00008219  0x00000a5a call  0x000022f8 
+ 00008220  0x00000a5b call  0x0000236a 
+ 00008221  0x00000a5c call  0x00002021 
+ 00008222  0x00000a5d call  0x00002b6a 
+ 00008223  0x00000a5e call  0x00002c72 
+ 00008224  0x00000a5f branch  0x00002012 
+ 00008225  0x00000a62 call  0x00002026 
+ 00008226  0x00000a63 rtnmark0  0x00000009 
+ 00008227  0x00000a64 set0  0x00000009 , 0x00000000 
+ 00008228  0x00000a65 call  0x00002223 
+ 00008229  0x00000a66 branch  0x000053ce 
+ 00008230  0x00000a69 bpatch  0x00000005 , 0x00004000 
+ 00008231  0x00000a6a call  0x0000225e 
+ 00008232  0x00000a6b nbranch  0x0000202f , 0x00000005 
+ 00008233  0x00000a6c call  0x0000220a 
+ 00008234  0x00000a6d add  0x00000011 , 0x00000001 , 0x00000006 
+ 00008235  0x00000a6e ifetch  0x00000001 , 0x00000006 
+ 00008236  0x00000a6f bbit1  0x00000000 , 0x00005360 
+ 00008237  0x00000a70 bbit1  0x00000001 , 0x00002166 
+ 00008238  0x00000a71 branch  0x000023cf 
+ 00008239  0x00000a73 call  0x0000222b 
+ 00008240  0x00000a74 copy  0x00000039 , 0x0000003e 
+ 00008241  0x00000a75 rtn  0x00000005 
+ 00008242  0x00000a76 call  0x0000220a 
+ 00008243  0x00000a77 fetch  0x00000001 , 0x00000030 
+ 00008244  0x00000a78 bbit1  0x00000003 , 0x000020d3 
+ 00008245  0x00000a79 fetch  0x00000001 , 0x00000031 
+ 00008246  0x00000a7a bbit1  0x00000001 , 0x00002166 
+ 00008247  0x00000a7b branch  0x000023cf 
+ 00008248  0x00000a84 fetch  0x00000001 , 0x000041ce 
+ 00008249  0x00000a85 rtn  0x00000034 
+ 00008250  0x00000a86 beq  0x00000001 , 0x00002048 
+ 00008251  0x00000a87 beq  0x00000002 , 0x0000204d 
+ 00008252  0x00000a88 beq  0x00000003 , 0x00002050 
+ 00008253  0x00000a89 beq  0x00000005 , 0x00002055 
+ 00008254  0x00000a8a beq  0x0000001b , 0x00002045 
+ 00008255  0x00000a8b call  0x00002257 
+ 00008256  0x00000a8c rtn  0x00000005 
+ 00008257  0x00000a8d call  0x0000225a 
+ 00008258  0x00000a8e rtn  0x00000005 
+ 00008259  0x00000a90 jam  0x00000000 , 0x000041ce 
+ 00008260  0x00000a91 rtn 
+ 00008261  0x00000a94 jam  0x0000001b , 0x0000049b 
+ 00008262  0x00000a95 jam  0x00000000 , 0x000041ce 
+ 00008263  0x00000a96 rtn 
+ 00008264  0x00000a99 set1  0x0000001c , 0x00000000 
+ 00008265  0x00000a9a set0  0x0000001e , 0x00000000 
+ 00008266  0x00000a9b jam  0x000000ff , 0x0000008f 
+ 00008267  0x00000a9c jam  0x0000001f , 0x0000008d 
+ 00008268  0x00000a9d branch  0x00002043 
+ 00008269  0x00000aa0 set0  0x0000001c , 0x00000000 
+ 00008270  0x00000aa1 force  0x00000000 , 0x0000001b 
+ 00008271  0x00000aa2 branch  0x00002043 
+ 00008272  0x00000aa5 call  0x0000225a 
+ 00008273  0x00000aa6 rtn  0x00000005 
+ 00008274  0x00000aa7 force  0x00000001 , 0x00000002 
+ 00008275  0x00000aa8 jam  0x00000005 , 0x0000016e 
+ 00008276  0x00000aa9 branch  0x0000205c 
+ 00008277  0x00000aac bpatch  0x00000006 , 0x00004000 
+ 00008278  0x00000aae fetch  0x00000006 , 0x000041d0 
+ 00008279  0x00000aaf branch  0x00002043 , 0x00000034 
+ 00008280  0x00000ab0 jam  0x00000001 , 0x00004681 
+ 00008281  0x00000ab2 jam  0x00000003 , 0x00000055 
+ 00008282  0x00000ab3 branch  0x0000205b 
+ 00008283  0x00000ab6 force  0x00000025 , 0x00000002 
+ 00008284  0x00000ab8 bpatch  0x00000007 , 0x00004000 
+ 00008285  0x00000ab9 fetch  0x00000001 , 0x000000f1 
+ 00008286  0x00000aba branch  0x00002062 , 0x00000034 
+ 00008287  0x00000abb lshift3  0x0000003f , 0x0000003f 
+ 00008288  0x00000abc lshift4  0x0000003f , 0x0000003f 
+ 00008289  0x00000abd increase  0xffffffff , 0x0000003f 
+ 00008290  0x00000abf store  0x00000001 , 0x000040a6 
+ 00008291  0x00000ac0 store  0x00000001 , 0x000000f0 
+ 00008292  0x00000ac1 jam  0x0000001f , 0x0000008e 
+ 00008293  0x00000ac2 set0  0x0000000c , 0x00000000 
+ 00008294  0x00000ac3 call  0x0000223b 
+ 00008295  0x00000ac4 nbranch  0x00002083 , 0x00000005 
+ 00008296  0x00000ac5 call  0x00002a6f 
+ 00008297  0x00000ac6 store  0x00000001 , 0x00000077 
+ 00008298  0x00000ac7 storet  0x00000001 , 0x0000007c 
+ 00008299  0x00000ac8 fetch  0x00000006 , 0x000041d0 
+ 00008300  0x00000ac9 store  0x00000006 , 0x00000040 
+ 00008301  0x00000aca bpatch  0x00000008 , 0x00004001 
+ 00008302  0x00000acb call  0x00007f15 
+ 00008303  0x00000acc force  0x00000000 , 0x0000003f 
+ 00008304  0x00000acd compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00008305  0x00000ace nsetflag  0x00000001 , 0x00000005 , 0x0000003f 
+ 00008306  0x00000acf set1  0x00000003 , 0x0000003f 
+ 00008307  0x00000ad0 store  0x00000001 , 0x00000030 
+ 00008308  0x00000ad1 jam  0x00000003 , 0x00000a99 
+ 00008309  0x00000ad2 call  0x00007d86 
+ 00008310  0x00000ad3 force  0x00000000 , 0x0000003f 
+ 00008311  0x00000ad4 setflag  0x00000001 , 0x00000004 , 0x0000003f 
+ 00008312  0x00000ad5 store  0x00000001 , 0x0000004c 
+ 00008313  0x00000ad6 setarg  0x00000000 
+ 00008314  0x00000ad7 set1  0x00000001 , 0x0000003f 
+ 00008315  0x00000ad8 store  0x00000001 , 0x00000031 
+ 00008316  0x00000ad9 enable  0x00000029 
+ 00008317  0x00000ada call  0x00002223 
+ 00008318  0x00000adb disable  0x00000029 
+ 00008319  0x00000adc force  0x00000003 , 0x00000007 
+ 00008320  0x00000add fetch  0x00000002 , 0x000040b9 
+ 00008321  0x00000ade call  0x00007f08 
+ 00008322  0x00000adf branch  0x00002043 
+ 00008323  0x00000ae1 bpatch  0x00000009 , 0x00004001 
+ 00008324  0x00000ae2 fetch  0x00000006 , 0x000041d0 
+ 00008325  0x00000ae3 store  0x00000006 , 0x00000040 
+ 00008326  0x00000ae4 compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00008327  0x00000ae5 branch  0x00002089 , 0x00000001 
+ 00008328  0x00000ae6 branch  0x00002043 
+ 00008329  0x00000ae8 arg  0x00000101 , 0x00000005 
+ 00008330  0x00000ae9 arg  0x00000008 , 0x00000039 
+ 00008331  0x00000aea call  0x00007ec6 
+ 00008332  0x00000aeb jam  0x00000004 , 0x00000a99 
+ 00008333  0x00000aec call  0x00007d86 
+ 00008334  0x00000aed branch  0x00002043 
+ 00008335  0x00000af5 rtnmark0  0x0000001c 
+ 00008336  0x00000af6 force  0x00000001 , 0x00000007 
+ 00008337  0x00000af7 call  0x00007f16 
+ 00008338  0x00000af8 nsetflag  0x00000034 , 0x0000001c , 0x00000000 
+ 00008339  0x00000af9 nbranch  0x00002095 , 0x00000034 
+ 00008340  0x00000afa rtn 
+ 00008341  0x00000aff bpatch  0x0000000a , 0x00004001 
+ 00008342  0x00000b00 fetcht  0x00000002 , 0x000040bb 
+ 00008343  0x00000b01 force  0x00000004 , 0x00000007 
+ 00008344  0x00000b02 call  0x0000271c 
+ 00008345  0x00000b03 rtn  0x00000028 
+ 00008346  0x00000b04 call  0x000028a4 
+ 00008347  0x00000b05 force  0x00000000 , 0x00000024 
+ 00008348  0x00000b07 rtn  0x00000003 
+ 00008349  0x00000b08 set0  0x0000000b , 0x00000000 
+ 00008350  0x00000b09 set0  0x00000000 , 0x00000000 
+ 00008351  0x00000b0b add  0x00000022 , 0x00000001 , 0x00000021 
+ 00008352  0x00000b0c isolate1  0x0000001e , 0x00000000 
+ 00008353  0x00000b0d setflag  0x00000001 , 0x00000002 , 0x00000024 
+ 00008354  0x00000b0e compare  0x00000000 , 0x00000021 , 0x00000002 
+ 00008355  0x00000b0f nbranch  0x000020be , 0x00000001 
+ 00008356  0x00000b12 bpatch  0x0000000b , 0x00004001 
+ 00008357  0x00000b13 fetch  0x00000001 , 0x00000012 
+ 00008358  0x00000b14 increase  0x00000001 , 0x0000003f 
+ 00008359  0x00000b15 store  0x00000001 , 0x00000012 
+ 00008360  0x00000b16 call  0x000028d8 
+ 00008361  0x00000b17 call  0x000028d2 
+ 00008362  0x00000b18 call  0x000028f2 
+ 00008363  0x00000b19 call  0x00002a51 
+ 00008364  0x00000b1a call  0x00002a56 
+ 00008365  0x00000b1b call  0x00002a64 
+ 00008366  0x00000b1c call  0x0000264d 
+ 00008367  0x00000b1d call  0x000020b1 
+ 00008368  0x00000b1e branch  0x0000209c 
+ 00008369  0x00000b21 bpatch  0x0000000c , 0x00004001 
+ 00008370  0x00000b22 fetch  0x00000001 , 0x0000008d 
+ 00008371  0x00000b23 increase  0xffffffff , 0x0000003f 
+ 00008372  0x00000b24 store  0x00000001 , 0x0000008d 
+ 00008373  0x00000b25 rtn  0x00000002 
+ 00008374  0x00000b26 jam  0x0000001f , 0x0000008d 
+ 00008375  0x00000b27 fetch  0x00000001 , 0x0000008f 
+ 00008376  0x00000b28 increase  0xffffffff , 0x0000003f 
+ 00008377  0x00000b29 store  0x00000001 , 0x0000008f 
+ 00008378  0x00000b2a rtn  0x00000002 
+ 00008379  0x00000b2b setflip  0x0000001e , 0x00000000 
+ 00008380  0x00000b2c jam  0x000000ff , 0x0000008f 
+ 00008381  0x00000b2d rtn 
+ 00008382  0x00000b30 bpatch  0x0000000d , 0x00004001 
+ 00008383  0x00000b31 call  0x000028d8 
+ 00008384  0x00000b32 call  0x000028cc 
+ 00008385  0x00000b33 call  0x000028f2 
+ 00008386  0x00000b34 call  0x00002a5b 
+ 00008387  0x00000b35 call  0x000029eb 
+ 00008388  0x00000b36 call  0x00002a0d 
+ 00008389  0x00000b37 branch  0x000020c8 , 0x00000018 
+ 00008390  0x00000b38 call  0x000020b1 
+ 00008391  0x00000b39 branch  0x0000209f 
+ 00008392  0x00000b3b bpatch  0x0000000e , 0x00004001 
+ 00008393  0x00000b3c call  0x000029bb 
+ 00008394  0x00000b3d call  0x00002a6b 
+ 00008395  0x00000b3e call  0x0000251e 
+ 00008396  0x00000b3f set0  0x00000001 , 0x00000000 
+ 00008397  0x00000b40 rtnmark0  0x0000000b 
+ 00008398  0x00000b42 bpatch  0x0000000f , 0x00004001 
+ 00008399  0x00000b44 fetch  0x00000001 , 0x00000013 
+ 00008400  0x00000b45 increase  0x00000001 , 0x0000003f 
+ 00008401  0x00000b46 store  0x00000001 , 0x00000013 
+ 00008402  0x00000b47 rtn 
+ 00008403  0x00000b50 bpatch  0x00000010 , 0x00004002 
+ 00008404  0x00000b51 enable  0x00000029 
+ 00008405  0x00000b52 enable  0x00000030 
+ 00008406  0x00000b53 fetch  0x00000002 , 0x000040b5 
+ 00008407  0x00000b54 branch  0x000020db , 0x00000034 
+ 00008408  0x00000b55 force  0x00000008 , 0x00000007 
+ 00008409  0x00000b56 call  0x00007f16 
+ 00008410  0x00000b57 nrtn  0x00000034 
+ 00008411  0x00000b59 bpatch  0x00000011 , 0x00004002 
+ 00008412  0x00000b5a fetcht  0x00000002 , 0x000040b7 
+ 00008413  0x00000b5b force  0x00000028 , 0x00000007 
+ 00008414  0x00000b5c call  0x0000271c 
+ 00008415  0x00000b5d branch  0x00002114 , 0x00000028 
+ 00008416  0x00000b5e force  0x00000003 , 0x00000007 
+ 00008417  0x00000b5f call  0x00007f16 
+ 00008418  0x00000b60 nbranch  0x000020f0 , 0x00000034 
+ 00008419  0x00000b61 fetch  0x00000001 , 0x0000004c 
+ 00008420  0x00000b62 bbit1  0x00000004 , 0x000020e6 
+ 00008421  0x00000b63 branch  0x000020e9 
+ 00008422  0x00000b65 arg  0x00000101 , 0x00000005 
+ 00008423  0x00000b66 arg  0x00000008 , 0x00000039 
+ 00008424  0x00000b67 call  0x00007ec6 
+ 00008425  0x00000b69 bpatch  0x00000012 , 0x00004002 
+ 00008426  0x00000b6a jam  0x00000000 , 0x00000030 
+ 00008427  0x00000b6b call  0x00005cf7 
+ 00008428  0x00000b6c jam  0x00000000 , 0x00004681 
+ 00008429  0x00000b6d jam  0x00000013 , 0x00000a99 
+ 00008430  0x00000b6e call  0x00007d86 
+ 00008431  0x00000b6f branch  0x00002114 
+ 00008432  0x00000b72 bpatch  0x00000013 , 0x00004002 
+ 00008433  0x00000b73 force  0x00000000 , 0x0000000b 
+ 00008434  0x00000b74 until  0x00000023 , 0x00000026 
+ 00008435  0x00000b75 fetch  0x00000001 , 0x000000f2 
+ 00008436  0x00000b76 increase  0xffffffff , 0x0000003f 
+ 00008437  0x00000b77 ixor  0x00000022 , 0x0000003f 
+ 00008438  0x00000b78 compare  0x00000000 , 0x0000003f , 0x00000003 
+ 00008439  0x00000b79 nbranch  0x000020f0 , 0x00000001 
+ 00008440  0x00000b7a deposit  0x00000004 
+ 00008441  0x00000b7b store  0x00000001 , 0x00000181 
+ 00008442  0x00000b7c force  0x00000000 , 0x00000026 
+ 00008443  0x00000b7d force  0x00000000 , 0x00000024 
+ 00008444  0x00000b80 bpatch  0x00000014 , 0x00004002 
+ 00008445  0x00000b81 branch  0x00002114 , 0x00000003 
+ 00008446  0x00000b82 call  0x000028dc 
+ 00008447  0x00000b83 arg  0x00000600 , 0x0000000b 
+ 00008448  0x00000b84 until  0x00000023 , 0x00000026 
+ 00008449  0x00000b86 bpatch  0x00000015 , 0x00004002 
+ 00008450  0x00000b87 fetch  0x00000004 , 0x000000f2 
+ 00008451  0x00000b88 iforce  0x00000021 
+ 00008452  0x00000b89 increase  0x00000001 , 0x0000003f 
+ 00008453  0x00000b8a store  0x00000004 , 0x000000f2 
+ 00008454  0x00000b8b isolate1  0x0000000c , 0x00000000 
+ 00008455  0x00000b8c setflag  0x00000001 , 0x00000002 , 0x00000024 
+ 00008456  0x00000b8d compare  0x00000000 , 0x00000021 , 0x00000002 
+ 00008457  0x00000b8e nbranch  0x00002128 , 0x00000001 
+ 00008458  0x00000b8f fetch  0x00000001 , 0x0000000c 
+ 00008459  0x00000b90 increase  0x00000001 , 0x0000003f 
+ 00008460  0x00000b91 store  0x00000001 , 0x0000000c 
+ 00008461  0x00000b92 call  0x000028d2 
+ 00008462  0x00000b93 call  0x00002a51 
+ 00008463  0x00000b94 call  0x00002a56 
+ 00008464  0x00000b95 call  0x00002a64 
+ 00008465  0x00000b96 call  0x0000264d 
+ 00008466  0x00000b97 call  0x0000211a 
+ 00008467  0x00000b98 branch  0x000020fc 
+ 00008468  0x00000b9a bpatch  0x00000016 , 0x00004002 
+ 00008469  0x00000b9b disable  0x00000029 
+ 00008470  0x00000b9c fetch  0x00000002 , 0x000040b5 
+ 00008471  0x00000b9d rtn  0x00000034 
+ 00008472  0x00000b9e force  0x00000008 , 0x00000007 
+ 00008473  0x00000b9f branch  0x00007f08 
+ 00008474  0x00000ba2 bpatch  0x00000017 , 0x00004002 
+ 00008475  0x00000ba3 fetch  0x00000001 , 0x0000008e 
+ 00008476  0x00000ba4 increase  0xffffffff , 0x0000003f 
+ 00008477  0x00000ba5 store  0x00000001 , 0x0000008e 
+ 00008478  0x00000ba6 rtn  0x00000002 
+ 00008479  0x00000ba7 jam  0x0000001f , 0x0000008e 
+ 00008480  0x00000ba8 fetch  0x00000001 , 0x000000f0 
+ 00008481  0x00000ba9 increase  0xffffffff , 0x0000003f 
+ 00008482  0x00000baa store  0x00000001 , 0x000000f0 
+ 00008483  0x00000bab rtn  0x00000002 
+ 00008484  0x00000bac setflip  0x0000000c , 0x00000000 
+ 00008485  0x00000bad fetch  0x00000001 , 0x000040a6 
+ 00008486  0x00000bae store  0x00000001 , 0x000000f0 
+ 00008487  0x00000baf rtn 
+ 00008488  0x00000bb2 bpatch  0x00000018 , 0x00004003 
+ 00008489  0x00000bb3 call  0x000028cc 
+ 00008490  0x00000bb4 call  0x00002a5b 
+ 00008491  0x00000bb5 call  0x000029eb 
+ 00008492  0x00000bb6 call  0x00002a0d 
+ 00008493  0x00000bb7 branch  0x00002130 , 0x00000018 
+ 00008494  0x00000bb8 call  0x0000211a 
+ 00008495  0x00000bb9 branch  0x00002101 
+ 00008496  0x00000bbb call  0x0000264d 
+ 00008497  0x00000bbc fetch  0x00000001 , 0x0000000d 
+ 00008498  0x00000bbd increase  0x00000001 , 0x0000003f 
+ 00008499  0x00000bbe store  0x00000001 , 0x0000000d 
+ 00008500  0x00000bbf force  0x00000000 , 0x0000001b 
+ 00008501  0x00000bc0 fetch  0x00000004 , 0x000000f2 
+ 00008502  0x00000bc2 bpatch  0x00000019 , 0x00004003 
+ 00008503  0x00000bc3 call  0x00002a4f 
+ 00008504  0x00000bc4 call  0x000028dc 
+ 00008505  0x00000bc5 increase  0x00000001 , 0x00000026 
+ 00008506  0x00000bc7 and_into  0x000001fd , 0x00000021 
+ 00008507  0x00000bc8 and_into  0x000001fc , 0x00000024 
+ 00008508  0x00000bc9 call  0x000028d2 
+ 00008509  0x00000bca call  0x00002a51 
+ 00008510  0x00000bcb call  0x00002a56 
+ 00008511  0x00000bcc call  0x00002a64 
+ 00008512  0x00000bcd deposit  0x00000022 
+ 00008513  0x00000bce store  0x00000004 , 0x00000161 
+ 00008514  0x00000bcf force  0x00000000 , 0x00000004 
+ 00008515  0x00000bd0 force  0x00000002 , 0x00000001 
+ 00008516  0x00000bd1 call  0x00002a6b 
+ 00008517  0x00000bd2 call  0x00002766 
+ 00008518  0x00000bd4 bpatch  0x0000001a , 0x00004003 
+ 00008519  0x00000bd5 call  0x00002a4d 
+ 00008520  0x00000bd6 or_into  0x00000002 , 0x00000021 
+ 00008521  0x00000bd7 and_into  0x000001fc , 0x00000024 
+ 00008522  0x00000bd8 call  0x000028cc 
+ 00008523  0x00000bd9 call  0x00002a5b 
+ 00008524  0x00000bda call  0x000029eb 
+ 00008525  0x00000bdb call  0x00002a0d 
+ 00008526  0x00000bdc call  0x0000264d , 0x00000018 
+ 00008527  0x00000bdd branch  0x00002155 , 0x00000018 
+ 00008528  0x00000bde fetch  0x00000001 , 0x00000010 
+ 00008529  0x00000bdf branch  0x000020fc , 0x00000034 
+ 00008530  0x00000be0 increase  0xffffffff , 0x0000003f 
+ 00008531  0x00000be1 store  0x00000001 , 0x00000010 
+ 00008532  0x00000be2 branch  0x00002136 
+ 00008533  0x00000be5 bpatch  0x0000001b , 0x00004003 
+ 00008534  0x00000be6 fetch  0x00000001 , 0x0000000e 
+ 00008535  0x00000be7 increase  0x00000001 , 0x0000003f 
+ 00008536  0x00000be8 store  0x00000001 , 0x0000000e 
+ 00008537  0x00000be9 call  0x00002435 
+ 00008538  0x00000beb call  0x000022f2 
+ 00008539  0x00000bec branch  0x0000215f , 0x00000018 
+ 00008540  0x00000bed call  0x00002455 
+ 00008541  0x00000bee nbranch  0x0000215a , 0x00000034 
+ 00008542  0x00000bef branch  0x000020fc 
+ 00008543  0x00000bf2 bpatch  0x0000001c , 0x00004003 
+ 00008544  0x00000bf3 fetch  0x00000001 , 0x00000030 
+ 00008545  0x00000bf4 set0  0x00000003 , 0x0000003f 
+ 00008546  0x00000bf5 store  0x00000001 , 0x00000030 
+ 00008547  0x00000bf6 call  0x00002440 
+ 00008548  0x00000bf7 disable  0x00000029 
+ 00008549  0x00000bf8 rtn 
+ 00008550  0x00000bfc bpatch  0x0000001d , 0x00004003 
+ 00008551  0x00000bfd enable  0x00000029 
+ 00008552  0x00000bfe enable  0x00000030 
+ 00008553  0x00000bff call  0x000021e1 
+ 00008554  0x00000c00 rtn  0x00000028 
+ 00008555  0x00000c01 call  0x00002c69 
+ 00008556  0x00000c02 call  0x00002a4f 
+ 00008557  0x00000c03 add  0x00000022 , 0x00000001 , 0x00000021 
+ 00008558  0x00000c04 call  0x000028e2 
+ 00008559  0x00000c05 force  0x00000003 , 0x00000024 
+ 00008560  0x00000c06 call  0x00006cc2 
+ 00008561  0x00000c07 call  0x00002489 
+ 00008562  0x00000c08 call  0x000028d2 
+ 00008563  0x00000c09 call  0x00002a51 
+ 00008564  0x00000c0a call  0x00002a56 
+ 00008565  0x00000c0b call  0x00002a64 
+ 00008566  0x00000c0c call  0x00002762 
+ 00008567  0x00000c0e bpatch  0x0000001e , 0x00004003 
+ 00008568  0x00000c0f call  0x00005d08 
+ 00008569  0x00000c10 call  0x000022e4 
+ 00008570  0x00000c11 nbranch  0x00002180 , 0x0000002d 
+ 00008571  0x00000c12 call  0x00002a88 
+ 00008572  0x00000c13 call  0x00002728 
+ 00008573  0x00000c14 fetch  0x00000001 , 0x0000000f 
+ 00008574  0x00000c15 increase  0x00000001 , 0x0000003f 
+ 00008575  0x00000c16 store  0x00000001 , 0x0000000f 
+ 00008576  0x00000c18 bpatch  0x0000001f , 0x00004003 
+ 00008577  0x00000c19 call  0x00006caa 
+ 00008578  0x00000c1a call  0x0000218b 
+ 00008579  0x00000c1b nrtn  0x00000029 
+ 00008580  0x00000c1c call  0x000026f3 
+ 00008581  0x00000c1d nbranch  0x00002188 , 0x00000034 
+ 00008582  0x00000c1f disable  0x00000029 
+ 00008583  0x00000c20 rtn 
+ 00008584  0x00000c23 call  0x00002489 
+ 00008585  0x00000c24 call  0x000022da 
+ 00008586  0x00000c25 branch  0x00002177 
+ 00008587  0x00000c29 branch  0x0000218e , 0x0000002d 
+ 00008588  0x00000c2a call  0x00002a7f 
+ 00008589  0x00000c2b branch  0x0000219c , 0x00000002 
+ 00008590  0x00000c2d call  0x000021a7 
+ 00008591  0x00000c2e nbranch  0x0000219c , 0x00000028 
+ 00008592  0x00000c2f fetch  0x00000001 , 0x0000004c 
+ 00008593  0x00000c30 rtnbit0  0x00000004 
+ 00008594  0x00000c31 rtnbit1  0x00000003 
+ 00008595  0x00000c32 fetch  0x00000001 , 0x0000004b 
+ 00008596  0x00000c33 rtnbit1  0x00000003 
+ 00008597  0x00000c34 call  0x000021ae 
+ 00008598  0x00000c35 nrtn  0x00000034 
+ 00008599  0x00000c36 fetch  0x00000001 , 0x0000016e 
+ 00008600  0x00000c37 increase  0xffffffff , 0x0000003f 
+ 00008601  0x00000c38 store  0x00000001 , 0x0000016e 
+ 00008602  0x00000c39 nrtn  0x00000034 
+ 00008603  0x00000c3a branch  0x00006006 
+ 00008604  0x00000c3d bpatch  0x00000020 , 0x00004004 
+ 00008605  0x00000c3e call  0x0000245d 
+ 00008606  0x00000c3f disable  0x00000029 
+ 00008607  0x00000c40 fetch  0x00000001 , 0x0000004c 
+ 00008608  0x00000c41 bbit1  0x00000004 , 0x000021a2 
+ 00008609  0x00000c42 rtn 
+ 00008610  0x00000c45 fetch  0x00000001 , 0x0000004c 
+ 00008611  0x00000c46 rtnbit1  0x00000003 
+ 00008612  0x00000c48 arg  0x00000101 , 0x00000005 
+ 00008613  0x00000c49 arg  0x00000008 , 0x00000039 
+ 00008614  0x00000c4a branch  0x00007ec6 
+ 00008615  0x00000c4d bpatch  0x00000021 , 0x00004004 
+ 00008616  0x00000c4e enable  0x00000028 
+ 00008617  0x00000c4f fetch  0x00000001 , 0x0000004b 
+ 00008618  0x00000c50 rtnbit0  0x00000003 
+ 00008619  0x00000c51 call  0x000021ae 
+ 00008620  0x00000c52 nrtn  0x00000034 
+ 00008621  0x00000c53 branch  0x00007fe9 
+ 00008622  0x00000c56 fetch  0x00000001 , 0x00000072 
+ 00008623  0x00000c57 increase  0xffffffff , 0x0000003f 
+ 00008624  0x00000c58 store  0x00000001 , 0x00000072 
+ 00008625  0x00000c59 rtn 
+ 00008626  0x00000c5c bpatch  0x00000022 , 0x00004004 
+ 00008627  0x00000c5d fetch  0x00000001 , 0x00000030 
+ 00008628  0x00000c5e bbit1  0x00000007 , 0x000021bb 
+ 00008629  0x00000c5f fetch  0x00000001 , 0x000009b5 
+ 00008630  0x00000c60 branch  0x000021bb , 0x00000034 
+ 00008631  0x00000c61 jam  0x00000000 , 0x000009b5 
+ 00008632  0x00000c62 jam  0x00000018 , 0x00000a99 
+ 00008633  0x00000c63 call  0x00007d86 
+ 00008634  0x00000c64 branch  0x000021bb 
+ 00008635  0x00000c66 bpatch  0x00000023 , 0x00004004 
+ 00008636  0x00000c67 call  0x00002254 
+ 00008637  0x00000c68 fetch  0x00000001 , 0x00000030 
+ 00008638  0x00000c69 set1  0x00000007 , 0x0000003f 
+ 00008639  0x00000c6a store  0x00000001 , 0x00000030 
+ 00008640  0x00000c6b jam  0x00000001 , 0x000041bd 
+ 00008641  0x00000c6c fetch  0x00000001 , 0x00000055 
+ 00008642  0x00000c6d bne  0x00000016 , 0x000021c3 
+ 00008643  0x00000c6f rtn 
+ 00008644  0x00000c72 jam  0x00000001 , 0x000009b5 
+ 00008645  0x00000c74 fetch  0x00000001 , 0x00000030 
+ 00008646  0x00000c75 set0  0x00000007 , 0x0000003f 
+ 00008647  0x00000c76 store  0x00000001 , 0x00000030 
+ 00008648  0x00000c77 rtn 
+ 00008649  0x00000c7c bpatch  0x00000024 , 0x00004004 
+ 00008650  0x00000c7d disable  0x00000028 
+ 00008651  0x00000c7e fetch  0x00000002 , 0x00000032 
+ 00008652  0x00000c7f arg  0x0000ffff , 0x00000002 
+ 00008653  0x00000c80 isub  0x00000002 , 0x0000003e 
+ 00008654  0x00000c81 nrtn  0x00000005 
+ 00008655  0x00000c82 fetch  0x00000004 , 0x00000034 
+ 00008656  0x00000c83 branch  0x000021d3 , 0x00000030 
+ 00008657  0x00000c84 isub  0x00000028 , 0x0000003f 
+ 00008658  0x00000c85 branch  0x000021d4 
+ 00008659  0x00000c87 isub  0x00000022 , 0x0000003f 
+ 00008660  0x00000c89 sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00008661  0x00000c8a nrtn  0x00000002 
+ 00008662  0x00000c8b force  0x00000000 , 0x0000003f 
+ 00008663  0x00000c8c store  0x00000002 , 0x00000032 
+ 00008664  0x00000c8d branch  0x00007fe7 
+ 00008665  0x00000c92 copy  0x0000003f , 0x00000002 
+ 00008666  0x00000c93 bpatch  0x00000025 , 0x00004004 
+ 00008667  0x00000c94 storet  0x00000004 , 0x00000034 
+ 00008668  0x00000c96 jam  0x00000001 , 0x0000455b 
+ 00008669  0x00000c97 setarg  0x0000ffff 
+ 00008670  0x00000c98 store  0x00000002 , 0x00000032 
+ 00008671  0x00000c99 jam  0x00000001 , 0x00000073 
+ 00008672  0x00000c9a rtn 
+ 00008673  0x00000c9e bpatch  0x00000026 , 0x00004004 
+ 00008674  0x00000c9f call  0x000021c9 
+ 00008675  0x00000ca0 nrtn  0x00000028 
+ 00008676  0x00000ca1 disable  0x00000028 
+ 00008677  0x00000ca2 jam  0x00000020 , 0x00000011 
+ 00008678  0x00000ca3 set0  0x0000000b , 0x00000000 
+ 00008679  0x00000ca5 call  0x00002a4f 
+ 00008680  0x00000ca6 call  0x000022e6 
+ 00008681  0x00000ca7 bmark1  0x0000000b , 0x000021f4 
+ 00008682  0x00000ca8 call  0x00002455 
+ 00008683  0x00000ca9 nbranch  0x000021e7 , 0x00000034 
+ 00008684  0x00000cab bpatch  0x00000027 , 0x00004004 
+ 00008685  0x00000cac disable  0x00000028 
+ 00008686  0x00000cad deposit  0x00000022 
+ 00008687  0x00000cae store  0x00000004 , 0x000040ca 
+ 00008688  0x00000caf enable  0x00000030 
+ 00008689  0x00000cb0 enable  0x00000029 
+ 00008690  0x00000cb1 jam  0x0000002a , 0x00000a99 
+ 00008691  0x00000cb2 branch  0x00007d86 
+ 00008692  0x00000cb5 bpatch  0x00000028 , 0x00004005 
+ 00008693  0x00000cb6 call  0x00002a4d 
+ 00008694  0x00000cb7 arg  0x00000010 , 0x00000001 
+ 00008695  0x00000cb8 call  0x000022dc 
+ 00008696  0x00000cb9 disable  0x00000030 
+ 00008697  0x00000cba disable  0x00000029 
+ 00008698  0x00000cbb call  0x00002818 
+ 00008699  0x00000cbc call  0x00002435 
+ 00008700  0x00000cbe bpatch  0x00000029 , 0x00004005 
+ 00008701  0x00000cbf call  0x0000247c 
+ 00008702  0x00000cc0 branch  0x00002202 , 0x0000002d 
+ 00008703  0x00000cc1 call  0x00002455 
+ 00008704  0x00000cc2 nbranch  0x000021fc , 0x00000034 
+ 00008705  0x00000cc3 branch  0x000021ec 
+ 00008706  0x00000cc5 fetch  0x00000001 , 0x00000031 
+ 00008707  0x00000cc6 set0  0x00000001 , 0x0000003f 
+ 00008708  0x00000cc7 store  0x00000001 , 0x00000031 
+ 00008709  0x00000cc8 call  0x00002a88 
+ 00008710  0x00000cc9 call  0x00002841 
+ 00008711  0x00000cca enable  0x00000028 
+ 00008712  0x00000ccb jam  0x0000002b , 0x00000a99 
+ 00008713  0x00000ccc branch  0x00007d86 
+ 00008714  0x00000cd2 bpatch  0x0000002a , 0x00004005 
+ 00008715  0x00000cd3 set1  0x00000009 , 0x00000000 
+ 00008716  0x00000cd4 deposit  0x00000011 
+ 00008717  0x00000cd5 store  0x00000002 , 0x0000001e 
+ 00008718  0x00000cd6 force  0x00000050 , 0x00000039 
+ 00008719  0x00000cd7 arg  0x0000043f , 0x00000005 
+ 00008720  0x00000cd8 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00008721  0x00000cd9 ifetch  0x00000001 , 0x00000006 
+ 00008722  0x00000cda copy  0x00000011 , 0x00000006 
+ 00008723  0x00000cdb bbit1  0x00000000 , 0x00007f01 
+ 00008724  0x00000cdc arg  0x00000030 , 0x00000005 
+ 00008725  0x00000cdd call  0x00007f01 
+ 00008726  0x00000cde disable  0x0000002e 
+ 00008727  0x00000cdf fetch  0x00000001 , 0x00000077 
+ 00008728  0x00000ce0 iforce  0x00000004 
+ 00008729  0x00000ce1 jam  0x00000001 , 0x0000008a 
+ 00008730  0x00000ce2 branch  0x0000221c , 0x00000029 
+ 00008731  0x00000ce3 jam  0x00000001 , 0x0000008a 
+ 00008732  0x00000ce5 fetch  0x00000001 , 0x00000030 
+ 00008733  0x00000ce6 rtnbit0  0x00000001 
+ 00008734  0x00000ce7 fetch  0x00000001 , 0x00000073 
+ 00008735  0x00000ce8 store  0x00000001 , 0x0000008a 
+ 00008736  0x00000ce9 fetch  0x00000001 , 0x00000074 
+ 00008737  0x00000cea store  0x00000001 , 0x0000008b 
+ 00008738  0x00000ceb rtn 
+ 00008739  0x00000cee bpatch  0x0000002b , 0x00004005 
+ 00008740  0x00000cef fetch  0x00000002 , 0x0000001e 
+ 00008741  0x00000cf0 iforce  0x00000005 
+ 00008742  0x00000cf1 force  0x00000050 , 0x00000039 
+ 00008743  0x00000cf2 arg  0x0000043f , 0x00000006 
+ 00008744  0x00000cf3 branch  0x00007f01 , 0x00000036 
+ 00008745  0x00000cf4 arg  0x00000030 , 0x00000006 
+ 00008746  0x00000cf5 branch  0x00007f01 
+ 00008747  0x00000cfa arg  0x00000001 , 0x00000039 
+ 00008748  0x00000cfb fetcht  0x00000001 , 0x00000015 
+ 00008749  0x00000cfd increase  0x00000001 , 0x00000002 
+ 00008750  0x00000cfe compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00008751  0x00000cff nbranch  0x00002231 , 0x00000001 
+ 00008752  0x00000d00 arg  0x00000000 , 0x00000002 
+ 00008753  0x00000d02 storet  0x00000001 , 0x00000015 
+ 00008754  0x00000d03 mul32  0x00000002 , 0x00000050 , 0x0000003f 
+ 00008755  0x00000d04 arg  0x00004040 , 0x00000011 
+ 00008756  0x00000d05 iadd  0x00000011 , 0x00000011 
+ 00008757  0x00000d06 ifetch  0x00000001 , 0x00000011 
+ 00008758  0x00000d07 bbit1  0x00000001 , 0x00002239 
+ 00008759  0x00000d08 rtnbit1  0x00000000 
+ 00008760  0x00000d09 rtnbit1  0x00000003 
+ 00008761  0x00000d0b loop  0x0000222d 
+ 00008762  0x00000d0c rtn 
+ 00008763  0x00000d0f bpatch  0x0000002c , 0x00004005 
+ 00008764  0x00000d10 arg  0x0000226a , 0x00000013 
+ 00008765  0x00000d11 call  0x00002261 
+ 00008766  0x00000d12 nrtn  0x00000005 
+ 00008767  0x00000d13 deposit  0x00000011 
+ 00008768  0x00000d14 store  0x00000002 , 0x0000001e 
+ 00008769  0x00000d15 force  0x00000000 , 0x0000003e 
+ 00008770  0x00000d16 rtn 
+ 00008771  0x00000d1b call  0x00002725 
+ 00008772  0x00000d1c branch  0x0000224b , 0x00000001 
+ 00008773  0x00000d1d fetch  0x00000002 , 0x0000001e 
+ 00008774  0x00000d1e add  0x0000003f , 0x00000017 , 0x00000005 
+ 00008775  0x00000d1f fetch  0x00000001 , 0x00000047 
+ 00008776  0x00000d20 istore  0x00000001 , 0x00000005 
+ 00008777  0x00000d21 arg  0x000022aa , 0x00000013 
+ 00008778  0x00000d22 branch  0x00002261 
+ 00008779  0x00000d25 fetch  0x00000001 , 0x00000047 
+ 00008780  0x00000d26 isolate1  0x00000003 , 0x0000003f 
+ 00008781  0x00000d27 branch  0x00002250 , 0x00000001 
+ 00008782  0x00000d28 force  0x00000001 , 0x0000003e 
+ 00008783  0x00000d29 rtn 
+ 00008784  0x00000d2b force  0x00000000 , 0x0000003e 
+ 00008785  0x00000d2c rtn 
+ 00008786  0x00000d30 arg  0x000022a7 , 0x00000013 
+ 00008787  0x00000d31 branch  0x00002261 
+ 00008788  0x00000d34 fetcht  0x00000002 , 0x0000001e 
+ 00008789  0x00000d35 arg  0x000022cf , 0x00000013 
+ 00008790  0x00000d36 branch  0x00002261 
+ 00008791  0x00000d3b fetcht  0x00000001 , 0x000041cf 
+ 00008792  0x00000d3d arg  0x00002275 , 0x00000013 
+ 00008793  0x00000d3e branch  0x00002261 
+ 00008794  0x00000d41 bpatch  0x0000002d , 0x00004005 
+ 00008795  0x00000d42 fetcht  0x00000006 , 0x000041d0 
+ 00008796  0x00000d44 arg  0x0000226e , 0x00000013 
+ 00008797  0x00000d45 branch  0x00002261 
+ 00008798  0x00000d48 arg  0x0000227b , 0x00000013 
+ 00008799  0x00000d49 branch  0x00002261 
+ 00008800  0x00000d4c arg  0x000022c6 , 0x00000013 
+ 00008801  0x00000d4e bpatch  0x0000002e , 0x00004005 
+ 00008802  0x00000d4f arg  0x00004040 , 0x00000011 
+ 00008803  0x00000d50 arg  0x00000001 , 0x00000039 
+ 00008804  0x00000d52 ifetch  0x00000001 , 0x00000011 
+ 00008805  0x00000d53 copy  0x00000013 , 0x0000003d 
+ 00008806  0x00000d55 increase  0x00000050 , 0x00000011 
+ 00008807  0x00000d56 loop  0x00002264 
+ 00008808  0x00000d57 force  0x00000001 , 0x0000003e 
+ 00008809  0x00000d58 rtn 
+ 00008810  0x00000d5b bbit1  0x00000000 , 0x00002266 
+ 00008811  0x00000d5c bbit1  0x00000003 , 0x00002266 
+ 00008812  0x00000d5d force  0x00000000 , 0x0000003e 
+ 00008813  0x00000d5e rtn 
+ 00008814  0x00000d61 bbit1  0x00000003 , 0x00002270 
+ 00008815  0x00000d62 bbit0  0x00000000 , 0x00002266 
+ 00008816  0x00000d64 add  0x00000011 , 0x00000010 , 0x00000006 
+ 00008817  0x00000d65 ifetch  0x00000006 , 0x00000006 
+ 00008818  0x00000d66 isub  0x00000002 , 0x0000003e 
+ 00008819  0x00000d67 rtn  0x00000005 
+ 00008820  0x00000d68 branch  0x00002266 
+ 00008821  0x00000d6b bbit0  0x00000000 , 0x00002266 
+ 00008822  0x00000d6c add  0x00000011 , 0x00000016 , 0x00000006 
+ 00008823  0x00000d6d ifetch  0x00000001 , 0x00000006 
+ 00008824  0x00000d6e isub  0x00000002 , 0x0000003e 
+ 00008825  0x00000d6f rtn  0x00000005 
+ 00008826  0x00000d70 branch  0x00002266 
+ 00008827  0x00000d73 bbit0  0x00000001 , 0x00002266 
+ 00008828  0x00000d75 call  0x000022b3 
+ 00008829  0x00000d76 call  0x00002297 
+ 00008830  0x00000d77 isub  0x00000002 , 0x0000003f 
+ 00008831  0x00000d78 increase  0x00000001 , 0x0000003f 
+ 00008832  0x00000d79 branch  0x00002291 , 0x00000002 
+ 00008833  0x00000d7a copy  0x00000006 , 0x00000012 
+ 00008834  0x00000d7b store  0x00000009 , 0x00000aa2 
+ 00008835  0x00000d7c fetch  0x00000001 , 0x000044c0 
+ 00008836  0x00000d7d nbranch  0x00002289 , 0x00000034 
+ 00008837  0x00000d7e fetch  0x00000009 , 0x00000aa2 
+ 00008838  0x00000d7f copy  0x00000012 , 0x00000006 
+ 00008839  0x00000d80 increase  0x00000005 , 0x0000003f 
+ 00008840  0x00000d81 branch  0x0000228c 
+ 00008841  0x00000d83 fetch  0x00000009 , 0x00000aa2 
+ 00008842  0x00000d84 copy  0x00000012 , 0x00000006 
+ 00008843  0x00000d85 increase  0x00000014 , 0x0000003f 
+ 00008844  0x00000d87 nbranch  0x00002266 , 0x00000002 
+ 00008845  0x00000d89 copy  0x00000002 , 0x00000021 
+ 00008846  0x00000d8a call  0x000022bf 
+ 00008847  0x00000d8b force  0x00000000 , 0x0000003e 
+ 00008848  0x00000d8c rtn 
+ 00008849  0x00000d90 iforce  0x00000012 
+ 00008850  0x00000d91 add  0x00000011 , 0x00000002 , 0x00000006 
+ 00008851  0x00000d92 ifetch  0x00000002 , 0x00000006 
+ 00008852  0x00000d93 branch  0x0000228d , 0x00000034 
+ 00008853  0x00000d94 call  0x000022bf 
+ 00008854  0x00000d95 branch  0x0000227c 
+ 00008855  0x00000d98 rshift16  0x0000003f , 0x0000000b 
+ 00008856  0x00000d99 rshift8  0x0000000b , 0x0000000b 
+ 00008857  0x00000d9a branch  0x000022a1 , 0x00000005 
+ 00008858  0x00000d9b compare  0x0000000f , 0x0000000b , 0x0000000f 
+ 00008859  0x00000d9c nrtn  0x00000001 
+ 00008860  0x00000d9d rshift16  0x00000002 , 0x0000000b 
+ 00008861  0x00000d9e rshift8  0x0000000b , 0x0000000b 
+ 00008862  0x00000d9f nrtn  0x00000005 
+ 00008863  0x00000da0 set1  0x0000001c , 0x00000002 
+ 00008864  0x00000da1 rtn 
+ 00008865  0x00000da3 rshift16  0x00000002 , 0x0000000b 
+ 00008866  0x00000da4 rshift8  0x0000000b , 0x0000000b 
+ 00008867  0x00000da5 compare  0x0000000f , 0x0000000b , 0x0000000f 
+ 00008868  0x00000da6 nrtn  0x00000001 
+ 00008869  0x00000da7 set1  0x0000001c , 0x0000003f 
+ 00008870  0x00000da8 rtn 
+ 00008871  0x00000dab bbit0  0x00000000 , 0x00002266 
+ 00008872  0x00000dac force  0x00000000 , 0x0000003e 
+ 00008873  0x00000dad rtn 
+ 00008874  0x00000db0 bbit0  0x00000000 , 0x00002266 
+ 00008875  0x00000db1 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00008876  0x00000db2 ifetch  0x00000001 , 0x00000006 
+ 00008877  0x00000db3 bbit1  0x00000000 , 0x00002266 
+ 00008878  0x00000db4 add  0x00000011 , 0x00000017 , 0x00000006 
+ 00008879  0x00000db5 ifetch  0x00000001 , 0x00000006 
+ 00008880  0x00000db6 bbit0  0x00000003 , 0x00002266 
+ 00008881  0x00000db7 force  0x00000000 , 0x0000003e 
+ 00008882  0x00000db8 rtn 
+ 00008883  0x00000dbb add  0x00000011 , 0x00000001 , 0x00000006 
+ 00008884  0x00000dbc ifetcht  0x00000001 , 0x00000006 
+ 00008885  0x00000dbd deposit  0x00000022 
+ 00008886  0x00000dbe isolate1  0x00000001 , 0x00000002 
+ 00008887  0x00000dbf add  0x00000011 , 0x00000004 , 0x00000006 
+ 00008888  0x00000dc0 ifetcht  0x00000004 , 0x00000006 
+ 00008889  0x00000dc1 rtn  0x00000001 
+ 00008890  0x00000dc2 add  0x00000011 , 0x00000008 , 0x00000006 
+ 00008891  0x00000dc3 ifetch  0x00000006 , 0x00000006 
+ 00008892  0x00000dc4 call  0x00002854 
+ 00008893  0x00000dc5 deposit  0x00000028 
+ 00008894  0x00000dc6 rtn 
+ 00008895  0x00000dc9 add  0x00000011 , 0x00000002 , 0x00000006 
+ 00008896  0x00000dca add  0x00000011 , 0x00000004 , 0x00000005 
+ 00008897  0x00000dcb ifetch  0x00000002 , 0x00000006 
+ 00008898  0x00000dcc iadd  0x00000002 , 0x0000000b 
+ 00008899  0x00000dcd deposit  0x0000000b 
+ 00008900  0x00000dce istore  0x00000004 , 0x00000005 
+ 00008901  0x00000dcf branch  0x00005449 
+ 00008902  0x00000dd3 bbit0  0x00000001 , 0x00002266 
+ 00008903  0x00000dd4 call  0x000022b3 
+ 00008904  0x00000dd5 iadd  0x0000001b , 0x0000003f 
+ 00008905  0x00000dd6 iadd  0x0000001b , 0x0000003f 
+ 00008906  0x00000dd7 iadd  0x00000007 , 0x0000003f 
+ 00008907  0x00000dd8 isub  0x00000002 , 0x0000003e 
+ 00008908  0x00000dd9 nbranch  0x00002266 , 0x00000002 
+ 00008909  0x00000dda force  0x00000000 , 0x0000003e 
+ 00008910  0x00000ddb rtn 
+ 00008911  0x00000dde bbit0  0x00000000 , 0x00002266 
+ 00008912  0x00000ddf deposit  0x00000002 
+ 00008913  0x00000de0 isub  0x00000011 , 0x0000003e 
+ 00008914  0x00000de1 branch  0x00002266 , 0x0000003e 
+ 00008915  0x00000de2 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00008916  0x00000de3 ifetch  0x00000001 , 0x00000006 
+ 00008917  0x00000de4 bbit1  0x00000000 , 0x00002266 
+ 00008918  0x00000de5 ifetch  0x00000001 , 0x00000011 
+ 00008919  0x00000de6 set0  0x00000007 , 0x0000003f 
+ 00008920  0x00000de7 istore  0x00000001 , 0x00000011 
+ 00008921  0x00000de8 branch  0x00002266 
+ 00008922  0x00000dec bpatch  0x0000002f , 0x00004005 
+ 00008923  0x00000ded call  0x00002a4f 
+ 00008924  0x00000def add  0x00000022 , 0x00000001 , 0x00000021 
+ 00008925  0x00000df0 call  0x000028e2 
+ 00008926  0x00000df1 force  0x00000003 , 0x00000024 
+ 00008927  0x00000df2 call  0x000028d2 
+ 00008928  0x00000df3 call  0x00002a51 
+ 00008929  0x00000df4 call  0x00002a56 
+ 00008930  0x00000df5 call  0x00002a64 
+ 00008931  0x00000df6 branch  0x00002762 
+ 00008932  0x00000df9 bpatch  0x00000030 , 0x00004006 
+ 00008933  0x00000dfa call  0x00002a4d 
+ 00008934  0x00000dfc add  0x00000022 , 0x00000001 , 0x00000021 
+ 00008935  0x00000dfd call  0x000028e2 
+ 00008936  0x00000dfe force  0x00000003 , 0x00000024 
+ 00008937  0x00000dff call  0x000028cc 
+ 00008938  0x00000e00 call  0x0000242a 
+ 00008939  0x00000e01 call  0x000029f1 
+ 00008940  0x00000e02 call  0x00002a5b 
+ 00008941  0x00000e03 call  0x000029eb 
+ 00008942  0x00000e05 call  0x00002a0d 
+ 00008943  0x00000e06 nrtn  0x00000018 
+ 00008944  0x00000e07 call  0x000029bb 
+ 00008945  0x00000e08 branch  0x0000251c 
+ 00008946  0x00000e0d bpatch  0x00000031 , 0x00004006 
+ 00008947  0x00000e0e fetch  0x00000001 , 0x00000181 
+ 00008948  0x00000e0f iforce  0x00000004 
+ 00008949  0x00000e10 force  0x00000001 , 0x00000001 
+ 00008950  0x00000e11 call  0x000022da 
+ 00008951  0x00000e12 branch  0x000022e4 
+ 00008952  0x00000e1e fetch  0x00000001 , 0x00004093 
+ 00008953  0x00000e1f rtnbit0  0x00000000 
+ 00008954  0x00000e20 force  0x00000004 , 0x00000007 
+ 00008955  0x00000e21 call  0x00007f16 
+ 00008956  0x00000e22 nrtn  0x00000034 
+ 00008957  0x00000e23 fetcht  0x00000002 , 0x000040ad 
+ 00008958  0x00000e24 force  0x00000004 , 0x00000007 
+ 00008959  0x00000e25 call  0x0000271c 
+ 00008960  0x00000e26 rtn  0x00000028 
+ 00008961  0x00000e27 call  0x00002308 
+ 00008962  0x00000e28 force  0x00000004 , 0x00000007 
+ 00008963  0x00000e29 fetch  0x00000002 , 0x000040af 
+ 00008964  0x00000e2a nbranch  0x00007f08 , 0x00000018 
+ 00008965  0x00000e2b random  0x0000003f 
+ 00008966  0x00000e2c iand  0x00000035 , 0x0000003f 
+ 00008967  0x00000e2d branch  0x00007f08 
+ 00008968  0x00000e31 bpatch  0x00000032 , 0x00004006 
+ 00008969  0x00000e32 jam  0x00000000 , 0x00000181 
+ 00008970  0x00000e33 disable  0x00000030 
+ 00008971  0x00000e34 disable  0x0000002e 
+ 00008972  0x00000e35 call  0x000028a4 
+ 00008973  0x00000e36 and  0x00000022 , 0x000001fc , 0x00000021 
+ 00008974  0x00000e37 force  0x00000001 , 0x00000024 
+ 00008975  0x00000e38 call  0x000028d8 
+ 00008976  0x00000e39 call  0x000028cc 
+ 00008977  0x00000e3a setflip  0x0000001d , 0x00000000 
+ 00008978  0x00000e3b fetch  0x00000001 , 0x00000006 
+ 00008979  0x00000e3c increase  0x00000001 , 0x0000003f 
+ 00008980  0x00000e3d store  0x00000001 , 0x00000006 
+ 00008981  0x00000e3e call  0x000028f2 
+ 00008982  0x00000e3f call  0x000029eb 
+ 00008983  0x00000e40 call  0x00002a14 
+ 00008984  0x00000e41 nrtn  0x00000018 
+ 00008985  0x00000e42 bpatch  0x00000033 , 0x00004006 
+ 00008986  0x00000e43 force  0x00000000 , 0x0000001b 
+ 00008987  0x00000e44 call  0x000028f9 
+ 00008988  0x00000e45 fetch  0x00000001 , 0x00000007 
+ 00008989  0x00000e46 increase  0x00000001 , 0x0000003f 
+ 00008990  0x00000e47 store  0x00000001 , 0x00000007 
+ 00008991  0x00000e48 call  0x000028d8 
+ 00008992  0x00000e49 call  0x00002a4d 
+ 00008993  0x00000e4a or_into  0x00000002 , 0x00000021 
+ 00008994  0x00000e4b force  0x00000001 , 0x00000024 
+ 00008995  0x00000e4c call  0x000028d2 
+ 00008996  0x00000e4d call  0x000028f2 
+ 00008997  0x00000e4e call  0x00002a51 
+ 00008998  0x00000e4f call  0x00002a5f 
+ 00008999  0x00000e50 deposit  0x00000022 
+ 00009000  0x00000e51 store  0x00000004 , 0x00000161 
+ 00009001  0x00000e52 call  0x00002a64 
+ 00009002  0x00000e53 force  0x00000002 , 0x00000001 
+ 00009003  0x00000e54 force  0x00000000 , 0x00000004 
+ 00009004  0x00000e55 call  0x00002a6b 
+ 00009005  0x00000e56 call  0x00002766 
+ 00009006  0x00000e57 call  0x00002332 
+ 00009007  0x00000e58 and_into  0x000001fd , 0x00000021 
+ 00009008  0x00000e59 increase  0x00000001 , 0x00000026 
+ 00009009  0x00000e5a rtn 
+ 00009010  0x00000e5d bpatch  0x00000034 , 0x00004006 
+ 00009011  0x00000e5e fetch  0x00000001 , 0x000040d1 
+ 00009012  0x00000e5f rtn  0x00000034 
+ 00009013  0x00000e60 arg  0x0000018e , 0x00000005 
+ 00009014  0x00000e61 fetch  0x00000001 , 0x00004515 
+ 00009015  0x00000e62 copy  0x0000003f , 0x00000039 
+ 00009016  0x00000e63 increase  0x00000001 , 0x0000003f 
+ 00009017  0x00000e64 istore  0x00000001 , 0x00000005 
+ 00009018  0x00000e65 copy  0x00000005 , 0x00000002 
+ 00009019  0x00000e66 increase  0x00000001 , 0x0000003f 
+ 00009020  0x00000e67 store  0x00000002 , 0x000041dc 
+ 00009021  0x00000e68 copy  0x00000002 , 0x00000005 
+ 00009022  0x00000e69 setarg  0x00000009 
+ 00009023  0x00000e6a istore  0x00000001 , 0x00000005 
+ 00009024  0x00000e6b arg  0x00004516 , 0x00000006 
+ 00009025  0x00000e6c call  0x00007f01 
+ 00009026  0x00000e6e arg  0x0000458d , 0x00000013 
+ 00009027  0x00000e6f arg  0x00000004 , 0x00000039 
+ 00009028  0x00000e70 call  0x00002354 
+ 00009029  0x00000e71 arg  0x00004577 , 0x00000013 
+ 00009030  0x00000e72 arg  0x00000001 , 0x00000039 
+ 00009031  0x00000e73 call  0x00002354 
+ 00009032  0x00000e75 force  0x0000000a , 0x00000001 
+ 00009033  0x00000e76 jam  0x00000002 , 0x000041db 
+ 00009034  0x00000e77 setarg  0x0000018e 
+ 00009035  0x00000e78 store  0x00000002 , 0x0000016f 
+ 00009036  0x00000e79 call  0x00002a4d 
+ 00009037  0x00000e7a call  0x000028d2 
+ 00009038  0x00000e7b call  0x00002a51 
+ 00009039  0x00000e7c call  0x00002a5f 
+ 00009040  0x00000e7d call  0x00002a64 
+ 00009041  0x00000e7e call  0x00002a6b 
+ 00009042  0x00000e7f call  0x00002766 
+ 00009043  0x00000e80 rtn 
+ 00009044  0x00000e84 copy  0x00000005 , 0x00000002 
+ 00009045  0x00000e85 copy  0x00000013 , 0x00000006 
+ 00009046  0x00000e86 ifetch  0x00000001 , 0x00000006 
+ 00009047  0x00000e87 rtn  0x00000034 
+ 00009048  0x00000e89 lshift  0x0000003f , 0x0000003f 
+ 00009049  0x00000e8a loop  0x00002358 
+ 00009050  0x00000e8b copy  0x0000003f , 0x00000011 
+ 00009051  0x00000e8c increase  0x00000002 , 0x0000003f 
+ 00009052  0x00000e8d copy  0x0000003f , 0x00000007 
+ 00009053  0x00000e8e fetch  0x00000002 , 0x000041dc 
+ 00009054  0x00000e8f iadd  0x00000007 , 0x0000003f 
+ 00009055  0x00000e90 store  0x00000002 , 0x000041dc 
+ 00009056  0x00000e91 copy  0x00000002 , 0x00000005 
+ 00009057  0x00000e92 copy  0x00000011 , 0x0000003f 
+ 00009058  0x00000e93 increase  0x00000001 , 0x0000003f 
+ 00009059  0x00000e94 istore  0x00000001 , 0x00000005 
+ 00009060  0x00000e95 copy  0x00000013 , 0x00000006 
+ 00009061  0x00000e96 ifetch  0x00000001 , 0x00000006 
+ 00009062  0x00000e97 ifetch  0x00000001 , 0x00000006 
+ 00009063  0x00000e98 istore  0x00000001 , 0x00000005 
+ 00009064  0x00000e99 copy  0x00000011 , 0x00000039 
+ 00009065  0x00000e9a branch  0x00007f01 
+ 00009066  0x00000ea1 fetch  0x00000001 , 0x00004093 
+ 00009067  0x00000ea2 rtnbit0  0x00000001 
+ 00009068  0x00000ea3 force  0x00000005 , 0x00000007 
+ 00009069  0x00000ea4 call  0x00007f16 
+ 00009070  0x00000ea5 nrtn  0x00000034 
+ 00009071  0x00000ea6 fetcht  0x00000002 , 0x000040b1 
+ 00009072  0x00000ea7 force  0x00000028 , 0x00000007 
+ 00009073  0x00000ea8 call  0x0000271c 
+ 00009074  0x00000ea9 rtn  0x00000028 
+ 00009075  0x00000eaa force  0x00000000 , 0x00000004 
+ 00009076  0x00000eab jam  0x00000008 , 0x00000010 
+ 00009077  0x00000eac set0  0x0000000b , 0x00000000 
+ 00009078  0x00000ead call  0x0000237a 
+ 00009079  0x00000eae force  0x00000005 , 0x00000007 
+ 00009080  0x00000eaf fetch  0x00000002 , 0x000040b3 
+ 00009081  0x00000eb0 branch  0x00007f08 
+ 00009082  0x00000eb4 bpatch  0x00000035 , 0x00004006 
+ 00009083  0x00000eb5 disable  0x00000030 
+ 00009084  0x00000eb6 call  0x000028a4 
+ 00009085  0x00000eb7 fetch  0x00000001 , 0x00000008 
+ 00009086  0x00000eb8 increase  0x00000001 , 0x0000003f 
+ 00009087  0x00000eb9 store  0x00000001 , 0x00000008 
+ 00009088  0x00000eba force  0x00000000 , 0x00000026 
+ 00009089  0x00000ebb call  0x000028e2 
+ 00009090  0x00000ebc add  0x00000022 , 0x00000001 , 0x00000021 
+ 00009091  0x00000ebd force  0x00000002 , 0x00000024 
+ 00009092  0x00000ebe bpatch  0x00000036 , 0x00004006 
+ 00009093  0x00000ebf call  0x000028cc 
+ 00009094  0x00000ec0 call  0x000029eb 
+ 00009095  0x00000ec1 call  0x00002a14 
+ 00009096  0x00000ec2 nrtn  0x00000018 
+ 00009097  0x00000ec3 call  0x000028f9 
+ 00009098  0x00000ec4 fetch  0x00000001 , 0x00000009 
+ 00009099  0x00000ec5 increase  0x00000001 , 0x0000003f 
+ 00009100  0x00000ec6 store  0x00000001 , 0x00000009 
+ 00009101  0x00000ec7 force  0x00000000 , 0x0000001b 
+ 00009102  0x00000ec8 call  0x00002a4d 
+ 00009103  0x00000ec9 or_into  0x00000002 , 0x00000021 
+ 00009104  0x00000eca force  0x00000001 , 0x00000024 
+ 00009105  0x00000ecb call  0x000028d2 
+ 00009106  0x00000ecc call  0x00002a51 
+ 00009107  0x00000ecd call  0x00002a5f 
+ 00009108  0x00000ece call  0x00002a64 
+ 00009109  0x00000ecf call  0x0000264d 
+ 00009110  0x00000ed0 force  0x00000000 , 0x00000004 
+ 00009111  0x00000ed1 arg  0x00000600 , 0x0000000b 
+ 00009112  0x00000ed2 until  0x00000029 , 0x00000026 
+ 00009113  0x00000ed3 or_into  0x00000003 , 0x00000028 
+ 00009114  0x00000ed4 and_into  0x000001fd , 0x00000021 
+ 00009115  0x00000ed6 bpatch  0x00000037 , 0x00004006 
+ 00009116  0x00000ed7 increase  0x00000001 , 0x00000026 
+ 00009117  0x00000ed8 call  0x000028cc 
+ 00009118  0x00000ed9 call  0x000029eb 
+ 00009119  0x00000eda call  0x00002a07 
+ 00009120  0x00000edb nbranch  0x000023a4 , 0x00000018 
+ 00009121  0x00000edc call  0x00002a6b 
+ 00009122  0x00000edd call  0x0000251e 
+ 00009123  0x00000ede bmark1  0x0000000b , 0x000023ab 
+ 00009124  0x00000ee0 bpatch  0x00000038 , 0x00004007 
+ 00009125  0x00000ee1 fetch  0x00000001 , 0x00000010 
+ 00009126  0x00000ee2 rtn  0x00000034 
+ 00009127  0x00000ee3 increase  0xffffffff , 0x0000003f 
+ 00009128  0x00000ee4 store  0x00000001 , 0x00000010 
+ 00009129  0x00000ee5 call  0x00002a4f 
+ 00009130  0x00000ee6 branch  0x0000239b 
+ 00009131  0x00000eea bpatch  0x00000039 , 0x00004007 
+ 00009132  0x00000eeb set0  0x00000001 , 0x00000028 
+ 00009133  0x00000eec set1  0x00000000 , 0x00000028 
+ 00009134  0x00000eed fetch  0x00000001 , 0x0000000a 
+ 00009135  0x00000eee increase  0x00000001 , 0x0000003f 
+ 00009136  0x00000eef store  0x00000001 , 0x0000000a 
+ 00009137  0x00000ef0 call  0x00002a4d 
+ 00009138  0x00000ef1 or_into  0x00000002 , 0x00000021 
+ 00009139  0x00000ef2 call  0x000028d2 
+ 00009140  0x00000ef3 call  0x00002a51 
+ 00009141  0x00000ef4 call  0x00002a5f 
+ 00009142  0x00000ef5 call  0x00002a64 
+ 00009143  0x00000ef6 call  0x0000264d 
+ 00009144  0x00000ef8 compare  0x00000003 , 0x00000028 , 0x00000003 
+ 00009145  0x00000ef9 branch  0x000023bc , 0x00000001 
+ 00009146  0x00000efa until  0x0000003e , 0x00000017 
+ 00009147  0x00000efb branch  0x000023b8 
+ 00009148  0x00000efd fetch  0x00000004 , 0x00000165 
+ 00009149  0x00000efe or_into  0x00000003 , 0x0000003f 
+ 00009150  0x00000eff icopy  0x00000028 
+ 00009151  0x00000f02 bpatch  0x0000003a , 0x00004007 
+ 00009152  0x00000f03 fetch  0x00000006 , 0x00000178 
+ 00009153  0x00000f04 store  0x00000006 , 0x00000040 
+ 00009154  0x00000f05 call  0x00002435 
+ 00009155  0x00000f07 call  0x0000247c 
+ 00009156  0x00000f08 branch  0x000023c8 , 0x0000002d 
+ 00009157  0x00000f09 call  0x00002455 
+ 00009158  0x00000f0a nbranch  0x000023c3 , 0x00000034 
+ 00009159  0x00000f0b rtn 
+ 00009160  0x00000f0f bpatch  0x0000003b , 0x00004007 
+ 00009161  0x00000f10 call  0x00002440 
+ 00009162  0x00000f11 call  0x0000223b 
+ 00009163  0x00000f12 nrtn  0x00000005 
+ 00009164  0x00000f13 jam  0x00000000 , 0x00000031 
+ 00009165  0x00000f14 call  0x00002841 
+ 00009166  0x00000f15 branch  0x00002223 
+ 00009167  0x00000f1b bpatch  0x0000003c , 0x00004007 
+ 00009168  0x00000f1c call  0x00002850 
+ 00009169  0x00000f1d call  0x000023f3 
+ 00009170  0x00000f1e rtn  0x00000028 
+ 00009171  0x00000f20 bpatch  0x0000003d , 0x00004007 
+ 00009172  0x00000f21 call  0x00002c69 
+ 00009173  0x00000f22 call  0x00006caa 
+ 00009174  0x00000f23 call  0x00002514 
+ 00009175  0x00000f24 nbranch  0x000023e2 , 0x0000002d 
+ 00009176  0x00000f25 call  0x00002a88 
+ 00009177  0x00000f26 call  0x00006cc2 
+ 00009178  0x00000f27 call  0x00002489 
+ 00009179  0x00000f28 call  0x00002757 
+ 00009180  0x00000f29 call  0x00002728 
+ 00009181  0x00000f2a call  0x00005d08 
+ 00009182  0x00000f2b fetch  0x00000001 , 0x0000000b 
+ 00009183  0x00000f2c increase  0x00000001 , 0x0000003f 
+ 00009184  0x00000f2d store  0x00000001 , 0x0000000b 
+ 00009185  0x00000f2e call  0x00002841 
+ 00009186  0x00000f30 bpatch  0x0000003e , 0x00004007 
+ 00009187  0x00000f31 call  0x00002bb1 
+ 00009188  0x00000f32 call  0x00002a7f 
+ 00009189  0x00000f33 branch  0x000023eb , 0x00000002 
+ 00009190  0x00000f34 call  0x000021a7 
+ 00009191  0x00000f35 nbranch  0x000023eb , 0x00000028 
+ 00009192  0x00000f36 call  0x000026f3 
+ 00009193  0x00000f37 nbranch  0x000023d3 , 0x00000034 
+ 00009194  0x00000f38 rtn 
+ 00009195  0x00000f3b bpatch  0x0000003f , 0x00004007 
+ 00009196  0x00000f3c jam  0x00000000 , 0x00000151 
+ 00009197  0x00000f3d jam  0x00000000 , 0x0000017f 
+ 00009198  0x00000f3e call  0x0000245d 
+ 00009199  0x00000f3f set0  0x00000011 , 0x00000000 
+ 00009200  0x00000f40 call  0x00007fb0 
+ 00009201  0x00000f41 fetch  0x00000001 , 0x00000030 
+ 00009202  0x00000f42 rtn 
+ 00009203  0x00000f46 bpatch  0x00000040 , 0x00004008 
+ 00009204  0x00000f47 call  0x000021c9 
+ 00009205  0x00000f48 nrtn  0x00000028 
+ 00009206  0x00000f49 copy  0x00000004 , 0x00000002 
+ 00009207  0x00000f4a call  0x00002a6f 
+ 00009208  0x00000f4b store  0x00000001 , 0x00000181 
+ 00009209  0x00000f4c copy  0x00000002 , 0x00000004 
+ 00009210  0x00000f4d jam  0x00000020 , 0x00000011 
+ 00009211  0x00000f4f bpatch  0x00000041 , 0x00004008 
+ 00009212  0x00000f50 call  0x00002a4f 
+ 00009213  0x00000f51 force  0x00000002 , 0x00000001 
+ 00009214  0x00000f52 call  0x0000274f 
+ 00009215  0x00000f53 deposit  0x00000022 
+ 00009216  0x00000f54 store  0x00000004 , 0x00000161 
+ 00009217  0x00000f55 call  0x00002762 
+ 00009218  0x00000f56 call  0x00002a4d 
+ 00009219  0x00000f57 enable  0x0000002f 
+ 00009220  0x00000f58 call  0x000024f6 
+ 00009221  0x00000f59 branch  0x0000240d , 0x00000018 
+ 00009222  0x00000f5a call  0x000028f9 
+ 00009223  0x00000f5b call  0x00002455 
+ 00009224  0x00000f5c nbranch  0x000023fb , 0x00000034 
+ 00009225  0x00000f5d rtnmark0  0x00000004 
+ 00009226  0x00000f5e jam  0x00000034 , 0x0000007c 
+ 00009227  0x00000f5f set1  0x00000003 , 0x00000000 
+ 00009228  0x00000f60 rtn 
+ 00009229  0x00000f62 enable  0x00000030 
+ 00009230  0x00000f63 call  0x00002435 
+ 00009231  0x00000f64 call  0x000028a4 
+ 00009232  0x00000f66 bpatch  0x00000042 , 0x00004008 
+ 00009233  0x00000f67 call  0x000022f2 
+ 00009234  0x00000f68 branch  0x00002419 , 0x00000018 
+ 00009235  0x00000f69 call  0x00002455 
+ 00009236  0x00000f6a nbranch  0x00002410 , 0x00000034 
+ 00009237  0x00000f6b disable  0x00000030 
+ 00009238  0x00000f6c deposit  0x00000028 
+ 00009239  0x00000f6d store  0x00000004 , 0x000040ca 
+ 00009240  0x00000f6e rtn 
+ 00009241  0x00000f70 enable  0x00000029 
+ 00009242  0x00000f71 bmark0  0x00000004 , 0x0000241f 
+ 00009243  0x00000f72 set0  0x00000004 , 0x00000000 
+ 00009244  0x00000f73 jam  0x00000003 , 0x0000007c 
+ 00009245  0x00000f74 jam  0x00000033 , 0x0000007d 
+ 00009246  0x00000f75 call  0x000062f8 
+ 00009247  0x00000f77 deposit  0x00000004 
+ 00009248  0x00000f78 store  0x00000001 , 0x00000077 
+ 00009249  0x00000f79 force  0x00000000 , 0x0000003f 
+ 00009250  0x00000f7a store  0x00000006 , 0x00000038 
+ 00009251  0x00000f7b fetch  0x00000001 , 0x00000031 
+ 00009252  0x00000f7c set1  0x00000001 , 0x0000003f 
+ 00009253  0x00000f7d store  0x00000001 , 0x00000031 
+ 00009254  0x00000f7e call  0x00002a88 
+ 00009255  0x00000f7f disable  0x00000029 
+ 00009256  0x00000f80 enable  0x00000028 
+ 00009257  0x00000f81 rtn 
+ 00009258  0x00000f86 bpatch  0x00000043 , 0x00004008 
+ 00009259  0x00000f87 disable  0x0000002d 
+ 00009260  0x00000f88 set0  0x00000005 , 0x00000000 
+ 00009261  0x00000f89 set0  0x0000000a , 0x00000000 
+ 00009262  0x00000f8a set0  0x00000010 , 0x00000000 
+ 00009263  0x00000f8b set0  0x0000000f , 0x00000000 
+ 00009264  0x00000f8c fetch  0x00000001 , 0x00000047 
+ 00009265  0x00000f8d set0  0x00000005 , 0x0000003f 
+ 00009266  0x00000f8e set1  0x00000004 , 0x0000003f 
+ 00009267  0x00000f8f store  0x00000001 , 0x00000047 
+ 00009268  0x00000f90 rtn 
+ 00009269  0x00000f93 bpatch  0x00000044 , 0x00004008 
+ 00009270  0x00000f94 jam  0x00000020 , 0x00000011 
+ 00009271  0x00000f95 jam  0x00000050 , 0x00000047 
+ 00009272  0x00000f96 fetch  0x00000002 , 0x000040bf 
+ 00009273  0x00000f97 store  0x00000002 , 0x0000003e 
+ 00009274  0x00000f98 deposit  0x00000022 
+ 00009275  0x00000f99 store  0x00000004 , 0x000040ca 
+ 00009276  0x00000f9a rtn  0x00000030 
+ 00009277  0x00000f9b deposit  0x00000028 
+ 00009278  0x00000f9c store  0x00000004 , 0x000040ca 
+ 00009279  0x00000f9d rtn 
+ 00009280  0x00000fa0 bpatch  0x00000045 , 0x00004008 
+ 00009281  0x00000fa1 call  0x00005d04 
+ 00009282  0x00000fa2 call  0x00002459 
+ 00009283  0x00000fa3 store  0x00000001 , 0x00000046 
+ 00009284  0x00000fa4 setarg  0x00000000 
+ 00009285  0x00000fa5 store  0x00000002 , 0x0000025d 
+ 00009286  0x00000fa6 setarg  0x00001c80 
+ 00009287  0x00000fa7 store  0x00000002 , 0x00000051 
+ 00009288  0x00000fa8 fetch  0x00000001 , 0x00000030 
+ 00009289  0x00000fa9 set1  0x00000000 , 0x0000003f 
+ 00009290  0x00000faa store  0x00000001 , 0x00000030 
+ 00009291  0x00000fab jam  0x00000000 , 0x0000004b 
+ 00009292  0x00000fac jam  0x00000000 , 0x0000004c 
+ 00009293  0x00000fad jam  0x00000000 , 0x000000a0 
+ 00009294  0x00000fae branch  0x00002a88 
+ 00009295  0x00000fb2 bpatch  0x00000046 , 0x00004008 
+ 00009296  0x00000fb3 force  0x00000000 , 0x0000003f 
+ 00009297  0x00000fb4 store  0x00000008 , 0x000041be 
+ 00009298  0x00000fb5 istore  0x00000008 , 0x00000005 
+ 00009299  0x00000fb6 call  0x000021c5 
+ 00009300  0x00000fb7 branch  0x00002254 
+ 00009301  0x00000fba fetch  0x00000001 , 0x00000011 
+ 00009302  0x00000fbb increase  0xffffffff , 0x0000003f 
+ 00009303  0x00000fbc store  0x00000001 , 0x00000011 
+ 00009304  0x00000fbd rtn 
+ 00009305  0x00000fc0 fetch  0x00000001 , 0x000040cf 
+ 00009306  0x00000fc1 increase  0x00000001 , 0x0000003f 
+ 00009307  0x00000fc2 store  0x00000001 , 0x000040cf 
+ 00009308  0x00000fc3 rtn 
+ 00009309  0x00000fc7 bpatch  0x00000047 , 0x00004008 
+ 00009310  0x00000fc8 fetch  0x00000001 , 0x000041ce 
+ 00009311  0x00000fc9 beq  0x00000003 , 0x00002462 
+ 00009312  0x00000fca fetch  0x00000001 , 0x00000048 
+ 00009313  0x00000fcb bne  0x00000001 , 0x00002466 
+ 00009314  0x00000fcd call  0x00004d06 
+ 00009315  0x00000fce nbranch  0x00002466 , 0x00000005 
+ 00009316  0x00000fcf call  0x000021a4 
+ 00009317  0x00000fd0 jam  0x00000000 , 0x000041ce 
+ 00009318  0x00000fd2 bpatch  0x00000048 , 0x00004009 
+ 00009319  0x00000fd3 call  0x000033af 
+ 00009320  0x00000fd4 call  0x000026e9 
+ 00009321  0x00000fd5 jam  0x00000002 , 0x00000a99 
+ 00009322  0x00000fd6 call  0x00007d86 
+ 00009323  0x00000fd7 call  0x00005cf7 
+ 00009324  0x00000fd8 call  0x00004d6b 
+ 00009325  0x00000fd9 call  0x0000757d 
+ 00009326  0x00000fda fetch  0x00000001 , 0x00000030 
+ 00009327  0x00000fdb set0  0x00000000 
+ 00009328  0x00000fdc store  0x00000001 , 0x00000030 
+ 00009329  0x00000fdd jam  0x00000000 , 0x00004681 
+ 00009330  0x00000fdf fetch  0x00000001 , 0x0000004c 
+ 00009331  0x00000fe0 compare  0x00000000 , 0x0000003f , 0x000000c0 
+ 00009332  0x00000fe1 branch  0x00002476 , 0x00000001 
+ 00009333  0x00000fe2 set0  0x00000001 , 0x00000000 
+ 00009334  0x00000fe4 fetch  0x00000001 , 0x00000047 
+ 00009335  0x00000fe5 bbit0  0x00000003 , 0x00002478 
+ 00009336  0x00000fe7 fetch  0x00000001 , 0x0000004b 
+ 00009337  0x00000fe8 rtnbit0  0x00000006 
+ 00009338  0x00000fe9 set0  0x00000002 , 0x00000000 
+ 00009339  0x00000fea rtn 
+ 00009340  0x00000fed bpatch  0x00000049 , 0x00004009 
+ 00009341  0x00000fee fetch  0x00000001 , 0x00000174 
+ 00009342  0x00000fef rtn  0x00000034 
+ 00009343  0x00000ff0 icopy  0x00000004 
+ 00009344  0x00000ff1 call  0x00002514 
+ 00009345  0x00000ff2 nrtn  0x0000002d 
+ 00009346  0x00000ff3 force  0x00000000 , 0x00000001 
+ 00009347  0x00000ff4 call  0x00002757 
+ 00009348  0x00000ff5 deposit  0x00000004 
+ 00009349  0x00000ff6 store  0x00000001 , 0x00000077 
+ 00009350  0x00000ff7 force  0x00000000 , 0x0000003f 
+ 00009351  0x00000ff8 store  0x00000001 , 0x00000174 
+ 00009352  0x00000ff9 rtn 
+ 00009353  0x00001000 bpatch  0x0000004a , 0x00004009 
+ 00009354  0x00001001 fetch  0x00000001 , 0x00000030 
+ 00009355  0x00001002 bbit0  0x00000002 , 0x00002496 
+ 00009356  0x00001003 force  0x00000007 , 0x00000001 
+ 00009357  0x00001004 bmark0  0x00000007 , 0x00002495 
+ 00009358  0x00001005 call  0x00002725 
+ 00009359  0x00001006 nbranch  0x00002496 , 0x00000001 
+ 00009360  0x00001007 branch  0x00002496 , 0x0000002e 
+ 00009361  0x00001008 call  0x000024c1 
+ 00009362  0x00001009 setarg  0x00000002 
+ 00009363  0x0000100a store  0x00000002 , 0x000040c8 
+ 00009364  0x0000100b rtn 
+ 00009365  0x0000100d nrtn  0x0000002e 
+ 00009366  0x0000100f bpatch  0x0000004b , 0x00004009 
+ 00009367  0x00001010 call  0x00002243 
+ 00009368  0x00001011 nbranch  0x000024a7 , 0x00000005 
+ 00009369  0x00001012 fetch  0x00000001 , 0x00000047 
+ 00009370  0x00001013 bbit0  0x00000003 , 0x000024b0 
+ 00009371  0x00001015 bmark1  0x00000005 , 0x000024b4 
+ 00009372  0x00001016 fetch  0x00000001 , 0x0000017f 
+ 00009373  0x00001017 bbit1  0x00000006 , 0x000024ba 
+ 00009374  0x00001018 fetch  0x00000002 , 0x000040c8 
+ 00009375  0x00001019 increase  0xffffffff , 0x0000003f 
+ 00009376  0x0000101a store  0x00000002 , 0x000040c8 
+ 00009377  0x0000101b branch  0x000024a5 , 0x00000034 
+ 00009378  0x0000101c fetch  0x00000001 , 0x000040c5 
+ 00009379  0x0000101d iforce  0x00000001 
+ 00009380  0x0000101e rtn 
+ 00009381  0x00001021 bpatch  0x0000004c , 0x00004009 
+ 00009382  0x00001022 call  0x00002687 
+ 00009383  0x00001024 call  0x00002725 
+ 00009384  0x00001025 branch  0x000024b0 , 0x00000001 
+ 00009385  0x00001026 call  0x0000600a 
+ 00009386  0x00001027 branch  0x000024be , 0x00000028 
+ 00009387  0x00001028 fetch  0x00000001 , 0x0000004b 
+ 00009388  0x00001029 bbit1  0x00000006 , 0x000024c0 
+ 00009389  0x0000102a bmark1  0x00000005 , 0x000024b4 
+ 00009390  0x0000102b fetch  0x00000001 , 0x0000017f 
+ 00009391  0x0000102c bbit1  0x00000006 , 0x000024ba 
+ 00009392  0x0000102e force  0x00000001 , 0x00000001 
+ 00009393  0x0000102f rtn  0x00000029 
+ 00009394  0x00001030 force  0x00000000 , 0x00000001 
+ 00009395  0x00001031 rtn 
+ 00009396  0x00001033 bpatch  0x0000004d , 0x00004009 
+ 00009397  0x00001034 fetch  0x00000001 , 0x00000019 
+ 00009398  0x00001035 iforce  0x00000001 
+ 00009399  0x00001036 rtnne  0x00000001 
+ 00009400  0x00001037 force  0x00000000 , 0x00000001 
+ 00009401  0x00001038 rtn 
+ 00009402  0x0000103a fetch  0x00000001 , 0x00000158 
+ 00009403  0x0000103b and  0x0000003f , 0x0000000f , 0x00000001 
+ 00009404  0x0000103c set1  0x00000005 , 0x00000000 
+ 00009405  0x0000103d rtn 
+ 00009406  0x0000103f force  0x00000013 , 0x00000001 
+ 00009407  0x00001040 branch  0x000024c1 
+ 00009408  0x00001042 call  0x000024ca 
+ 00009409  0x00001045 bpatch  0x0000004e , 0x00004009 
+ 00009410  0x00001046 fetcht  0x00000001 , 0x00000047 
+ 00009411  0x00001047 set1  0x00000003 , 0x00000002 
+ 00009412  0x00001048 storet  0x00000001 , 0x00000047 
+ 00009413  0x00001049 deposit  0x00000001 
+ 00009414  0x0000104a store  0x00000001 , 0x000040c5 
+ 00009415  0x0000104b setarg  0x0000ffff 
+ 00009416  0x0000104c store  0x00000002 , 0x000040c8 
+ 00009417  0x0000104d rtn 
+ 00009418  0x00001050 bpatch  0x0000004f , 0x00004009 
+ 00009419  0x00001051 fetch  0x00000001 , 0x0000004c 
+ 00009420  0x00001052 isolate1  0x00000005 , 0x0000003f 
+ 00009421  0x00001053 fetch  0x00000002 , 0x000041dc 
+ 00009422  0x00001054 branch  0x000024e0 , 0x00000001 
+ 00009423  0x00001055 force  0x00000003 , 0x00000001 
+ 00009424  0x00001056 sub  0x0000003f , 0x00000011 , 0x0000003e 
+ 00009425  0x00001057 rtn  0x00000002 
+ 00009426  0x00001058 force  0x00000004 , 0x00000001 
+ 00009427  0x00001059 sub  0x0000003f , 0x0000001b , 0x0000003e 
+ 00009428  0x0000105a rtn  0x00000002 
+ 00009429  0x0000105b force  0x0000000a , 0x00000001 
+ 00009430  0x0000105c sub  0x0000003f , 0x00000079 , 0x0000003e 
+ 00009431  0x0000105d rtn  0x00000002 
+ 00009432  0x0000105e force  0x0000000b , 0x00000001 
+ 00009433  0x0000105f sub  0x0000003f , 0x000000b7 , 0x0000003e 
+ 00009434  0x00001060 rtn  0x00000002 
+ 00009435  0x00001061 force  0x0000000e , 0x00000001 
+ 00009436  0x00001062 sub  0x0000003f , 0x000000e0 , 0x0000003e 
+ 00009437  0x00001063 rtn  0x00000002 
+ 00009438  0x00001064 force  0x0000000f , 0x00000001 
+ 00009439  0x00001065 rtn 
+ 00009440  0x00001067 force  0x00000003 , 0x00000001 
+ 00009441  0x00001068 sub  0x0000003f , 0x00000011 , 0x0000003e 
+ 00009442  0x00001069 rtn  0x00000002 
+ 00009443  0x0000106a force  0x00000004 , 0x00000001 
+ 00009444  0x0000106b sub  0x0000003f , 0x00000036 , 0x0000003e 
+ 00009445  0x0000106c rtn  0x00000002 
+ 00009446  0x0000106d force  0x0000000a , 0x00000001 
+ 00009447  0x0000106e arg  0x0000016f , 0x00000002 
+ 00009448  0x0000106f isub  0x00000002 , 0x0000003e 
+ 00009449  0x00001070 nrtn  0x00000002 
+ 00009450  0x00001071 force  0x0000000e , 0x00000001 
+ 00009451  0x00001072 arg  0x000002a7 , 0x00000002 
+ 00009452  0x00001073 isub  0x00000002 , 0x0000003e 
+ 00009453  0x00001074 nrtn  0x00000002 
+ 00009454  0x00001075 force  0x0000000f , 0x00000001 
+ 00009455  0x00001076 rtn 
+ 00009456  0x00001080 fetch  0x00000001 , 0x00000030 
+ 00009457  0x00001081 bbit0  0x00000001 , 0x000024f5 
+ 00009458  0x00001082 fetch  0x00000002 , 0x00000032 
+ 00009459  0x00001083 branch  0x000024f5 , 0x00000034 
+ 00009460  0x00001084 nbranch  0x000024f7 , 0x0000002e 
+ 00009461  0x00001086 call  0x00002a4f 
+ 00009462  0x00001088 add  0x00000028 , 0x00000001 , 0x00000021 
+ 00009463  0x0000108a enable  0x00000010 
+ 00009464  0x0000108b fetch  0x00000002 , 0x0000003e 
+ 00009465  0x0000108c rshift  0x0000003f , 0x0000003f 
+ 00009466  0x0000108d arg  0x00000500 , 0x00000002 
+ 00009467  0x0000108e iadd  0x00000002 , 0x0000003f 
+ 00009468  0x0000108f call  0x00002a24 
+ 00009469  0x00001090 call  0x000028ea 
+ 00009470  0x00001091 force  0x00000003 , 0x00000024 
+ 00009471  0x00001092 call  0x000028cc 
+ 00009472  0x00001093 call  0x0000242a 
+ 00009473  0x00001094 call  0x000029f1 
+ 00009474  0x00001095 bpatch  0x00000050 , 0x0000400a 
+ 00009475  0x00001096 fetch  0x00000002 , 0x0000003e 
+ 00009476  0x00001097 rshift  0x0000003f , 0x0000003f 
+ 00009477  0x00001098 call  0x00002a24 
+ 00009478  0x00001099 call  0x000029eb 
+ 00009479  0x0000109a enable  0x0000000d 
+ 00009480  0x0000109b fetch  0x00000002 , 0x0000003e 
+ 00009481  0x0000109c arg  0x000003bb , 0x00000002 
+ 00009482  0x0000109d iadd  0x00000002 , 0x0000001b 
+ 00009483  0x0000109e correlate  0x0000003e , 0x00000003 
+ 00009484  0x0000109f copy  0x0000001a , 0x00000002 
+ 00009485  0x000010a0 storet  0x00000006 , 0x0000009a 
+ 00009486  0x000010a1 disable  0x0000000d 
+ 00009487  0x000010a2 nrtn  0x00000018 
+ 00009488  0x000010a3 arg  0x000003bb , 0x00000029 
+ 00009489  0x000010a4 copy  0x00000021 , 0x00000028 
+ 00009490  0x000010a5 branch  0x00002b05 , 0x0000002b 
+ 00009491  0x000010a6 rtn 
+ 00009492  0x000010aa bpatch  0x00000051 , 0x0000400a 
+ 00009493  0x000010ab call  0x000024f0 
+ 00009494  0x000010ac nbranch  0x000028f9 , 0x00000018 
+ 00009495  0x000010ad call  0x000029bb 
+ 00009496  0x000010ae bmark0  0x00000011 , 0x0000251c 
+ 00009497  0x000010af fetch  0x00000002 , 0x000000f6 
+ 00009498  0x000010b0 increase  0x00000001 , 0x0000003f 
+ 00009499  0x000010b1 store  0x00000002 , 0x000000f6 
+ 00009500  0x000010b3 rshift  0x00000021 , 0x00000002 
+ 00009501  0x000010b4 or  0x00000002 , 0x00000040 , 0x0000000e 
+ 00009502  0x000010b6 bpatch  0x00000052 , 0x0000400a 
+ 00009503  0x000010b7 enable  0x00000007 
+ 00009504  0x000010b8 enable  0x0000000a 
+ 00009505  0x000010b9 enable  0x0000000b 
+ 00009506  0x000010ba parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00009507  0x000010bb rshift8  0x0000000c , 0x0000003f 
+ 00009508  0x000010bc store  0x00000001 , 0x0000015d 
+ 00009509  0x000010bd parse  0x00000003 , 0x00000000 , 0x00000004 
+ 00009510  0x000010be inject  0x00000000 , 0x00000007 
+ 00009511  0x000010bf copy  0x0000000c , 0x0000003f 
+ 00009512  0x000010c0 store  0x00000001 , 0x00000019 
+ 00009513  0x000010c1 parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00009514  0x000010c2 rshift8  0x0000000c , 0x0000003f 
+ 00009515  0x000010c3 store  0x00000001 , 0x0000015e 
+ 00009516  0x000010c4 fetch  0x00000001 , 0x00000019 
+ 00009517  0x000010c5 sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00009518  0x000010c6 branch  0x00002533 , 0x00000002 
+ 00009519  0x000010c7 beq  0x00000007 , 0x00002533 
+ 00009520  0x000010c8 fetch  0x00000001 , 0x0000004c 
+ 00009521  0x000010c9 isolate1  0x00000005 , 0x0000003f 
+ 00009522  0x000010ca setflag  0x00000001 , 0x00000001 , 0x00000015 
+ 00009523  0x000010cc bpatch  0x00000053 , 0x0000400a 
+ 00009524  0x000010cd parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00009525  0x000010ce disable  0x0000000b 
+ 00009526  0x000010cf disable  0x0000000a 
+ 00009527  0x000010d0 branch  0x00002631 , 0x00000006 
+ 00009528  0x000010d1 bmark0  0x00000011 , 0x0000253c 
+ 00009529  0x000010d2 fetch  0x00000002 , 0x000000f8 
+ 00009530  0x000010d3 increase  0x00000001 , 0x0000003f 
+ 00009531  0x000010d4 store  0x00000002 , 0x000000f8 
+ 00009532  0x000010d6 bpatch  0x00000054 , 0x0000400a 
+ 00009533  0x000010d7 fetch  0x00000001 , 0x0000015d 
+ 00009534  0x000010d8 compare  0x00000000 , 0x0000003f , 0x00000007 
+ 00009535  0x000010d9 setflag  0x00000001 , 0x0000000a , 0x00000000 
+ 00009536  0x000010da branch  0x0000254c , 0x00000001 
+ 00009537  0x000010db icompare  0x00000007 , 0x00000004 
+ 00009538  0x000010dc branch  0x0000254b , 0x00000001 
+ 00009539  0x000010dd bmark0  0x00000007 , 0x0000264d 
+ 00009540  0x000010de fetcht  0x00000001 , 0x000000b0 
+ 00009541  0x000010df icompare  0x00000007 , 0x00000002 
+ 00009542  0x000010e0 nbranch  0x0000264d , 0x00000001 
+ 00009543  0x000010e1 fetch  0x00000001 , 0x00000047 
+ 00009544  0x000010e2 set0  0x00000005 , 0x0000003f 
+ 00009545  0x000010e3 set1  0x00000004 , 0x0000003f 
+ 00009546  0x000010e4 store  0x00000001 , 0x00000047 
+ 00009547  0x000010e6 enable  0x0000002d 
+ 00009548  0x000010e8 bpatch  0x00000055 , 0x0000400a 
+ 00009549  0x000010e9 fetch  0x00000001 , 0x00000019 
+ 00009550  0x000010ea icopy  0x00000001 
+ 00009551  0x000010eb bmark1  0x0000000a , 0x0000255b 
+ 00009552  0x000010ec fetcht  0x00000001 , 0x0000015e 
+ 00009553  0x000010ed fetch  0x00000001 , 0x00000047 
+ 00009554  0x000010ee set0  0x00000000 , 0x0000003f 
+ 00009555  0x000010ef isolate1  0x00000000 , 0x00000002 
+ 00009556  0x000010f0 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00009557  0x000010f1 isolate1  0x00000001 , 0x00000002 
+ 00009558  0x000010f2 setflag  0x00000001 , 0x00000001 , 0x0000003f 
+ 00009559  0x000010f3 store  0x00000001 , 0x00000047 
+ 00009560  0x000010f4 isolate0  0x00000001 , 0x00000002 
+ 00009561  0x000010f5 branch  0x0000255b , 0x00000001 
+ 00009562  0x000010f6 call  0x00002687 
+ 00009563  0x000010f8 bpatch  0x00000056 , 0x0000400a 
+ 00009564  0x000010f9 arg  0x00000000 , 0x00000002 
+ 00009565  0x000010fa call  0x00002a1c 
+ 00009566  0x000010fb and  0x00000001 , 0x0000000f , 0x0000003f 
+ 00009567  0x000010fc beq  0x00000001 , 0x00002587 
+ 00009568  0x000010fd beq  0x00000000 , 0x0000264d 
+ 00009569  0x000010fe beq  0x00000002 , 0x00002659 
+ 00009570  0x000010ff fetcht  0x00000001 , 0x0000015e 
+ 00009571  0x00001100 fetch  0x00000001 , 0x00000047 
+ 00009572  0x00001101 icompare  0x00000004 , 0x00000002 
+ 00009573  0x00001102 nbranch  0x00002569 , 0x00000001 
+ 00009574  0x00001103 bmark0  0x0000000a , 0x00002568 
+ 00009575  0x00001104 bbit0  0x00000007 , 0x00002569 
+ 00009576  0x00001106 set1  0x0000000f , 0x00000000 
+ 00009577  0x00001108 bpatch  0x00000057 , 0x0000400a 
+ 00009578  0x00001109 deposit  0x00000001 
+ 00009579  0x0000110a beq  0x00000003 , 0x00002589 
+ 00009580  0x0000110b beq  0x00000004 , 0x0000258d 
+ 00009581  0x0000110c beq  0x00000007 , 0x00002578 
+ 00009582  0x0000110d beq  0x00000008 , 0x0000258c 
+ 00009583  0x0000110e arg  0x00000004 , 0x00000002 
+ 00009584  0x0000110f call  0x00002a1c 
+ 00009585  0x00001110 beq  0x0000000a , 0x00002588 
+ 00009586  0x00001111 beq  0x0000000b , 0x0000258b 
+ 00009587  0x00001112 arg  0x00000008 , 0x00000002 
+ 00009588  0x00001113 call  0x00002a1c 
+ 00009589  0x00001114 beq  0x0000000e , 0x00002588 
+ 00009590  0x00001115 beq  0x0000000f , 0x0000258b 
+ 00009591  0x00001116 rtn 
+ 00009592  0x0000111a bpatch  0x00000058 , 0x0000400b 
+ 00009593  0x0000111b enable  0x0000000d 
+ 00009594  0x0000111c enable  0x00000009 
+ 00009595  0x0000111d enable  0x0000000e 
+ 00009596  0x0000111e arg  0x000000d1 , 0x00000005 
+ 00009597  0x0000111f force  0x0000001e , 0x00000039 
+ 00009598  0x00001121 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00009599  0x00001122 rshift3  0x0000000c , 0x0000003f 
+ 00009600  0x00001123 istore  0x00000001 , 0x00000005 
+ 00009601  0x00001124 loop  0x0000257e 
+ 00009602  0x00001125 bmark0  0x00000007 , 0x0000264d 
+ 00009603  0x00001126 parse  0x00000003 , 0x00000000 , 0x00000010 
+ 00009604  0x00001127 nsetflag  0x00000006 , 0x00000008 , 0x00000000 
+ 00009605  0x00001128 branch  0x0000263d , 0x00000006 
+ 00009606  0x00001129 branch  0x00002620 
+ 00009607  0x0000112d branch  0x0000264d 
+ 00009608  0x00001131 set1  0x00000010 , 0x00000000 
+ 00009609  0x00001133 enable  0x0000000c 
+ 00009610  0x00001134 branch  0x0000258e 
+ 00009611  0x00001138 set1  0x00000010 , 0x00000000 
+ 00009612  0x0000113a set1  0x00000002 , 0x00000015 
+ 00009613  0x0000113c enable  0x0000000d 
+ 00009614  0x0000113e bpatch  0x00000059 , 0x0000400b 
+ 00009615  0x0000113f bmark1  0x00000001 , 0x0000264d 
+ 00009616  0x00001140 isolate0  0x00000001 , 0x00000015 
+ 00009617  0x00001141 branch  0x0000259a , 0x00000001 
+ 00009618  0x00001142 disable  0x00000007 
+ 00009619  0x00001143 enable  0x0000000d 
+ 00009620  0x00001144 disable  0x0000000c 
+ 00009621  0x00001145 add  0x00000022 , 0x00000002 , 0x0000000b 
+ 00009622  0x00001146 correlate  0x00000022 , 0x00000026 
+ 00009623  0x00001147 nbranch  0x0000263d , 0x00000018 
+ 00009624  0x00001148 set1  0x00000010 , 0x00000000 
+ 00009625  0x00001149 enable  0x00000007 
+ 00009626  0x0000114b bpatch  0x0000005a , 0x0000400b 
+ 00009627  0x0000114c enable  0x0000000e 
+ 00009628  0x0000114d enable  0x00000009 
+ 00009629  0x0000114e parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00009630  0x0000114f rshift8  0x0000000c , 0x0000003f 
+ 00009631  0x00001150 store  0x00000001 , 0x00000180 
+ 00009632  0x00001151 parse  0x00000003 , 0x00000000 , 0x00000005 
+ 00009633  0x00001152 bmark1  0x00000010 , 0x000025a5 
+ 00009634  0x00001153 rshift3  0x0000000c , 0x00000039 
+ 00009635  0x00001154 rshift3  0x00000039 , 0x00000039 
+ 00009636  0x00001155 branch  0x000025a8 
+ 00009637  0x00001157 parse  0x00000003 , 0x00000000 , 0x00000005 
+ 00009638  0x00001158 rshift  0x0000000c , 0x00000039 
+ 00009639  0x00001159 parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00009640  0x0000115b bpatch  0x0000005b , 0x0000400b 
+ 00009641  0x0000115c deposit  0x00000039 
+ 00009642  0x0000115d store  0x00000002 , 0x0000015f 
+ 00009643  0x0000115e branch  0x000025e8 , 0x00000034 
+ 00009644  0x0000115f isub  0x00000035 , 0x0000003e 
+ 00009645  0x00001160 branch  0x0000263d , 0x00000002 
+ 00009646  0x00001161 bpatch  0x0000005c , 0x0000400b 
+ 00009647  0x00001162 set0  0x00000000 , 0x00000000 
+ 00009648  0x00001163 fetch  0x00000001 , 0x00000180 
+ 00009649  0x00001164 and_into  0x00000003 , 0x0000003f 
+ 00009650  0x00001165 arg  0x00000551 , 0x00000005 
+ 00009651  0x00001166 beq  0x00000003 , 0x000025ba 
+ 00009652  0x00001167 bmark1  0x00000011 , 0x000025e4 
+ 00009653  0x00001169 fetch  0x00000001 , 0x00000180 
+ 00009654  0x0000116a and_into  0x00000003 , 0x0000003f 
+ 00009655  0x0000116b beq  0x00000002 , 0x000025bf 
+ 00009656  0x0000116c beq  0x00000001 , 0x000025d3 
+ 00009657  0x0000116d branch  0x0000263d 
+ 00009658  0x00001170 fetch  0x00000002 , 0x0000015f 
+ 00009659  0x00001171 sub  0x0000003f , 0x00000070 , 0x0000003e 
+ 00009660  0x00001172 nbranch  0x0000263d , 0x00000002 
+ 00009661  0x00001173 bmark1  0x0000000f , 0x00002620 
+ 00009662  0x00001174 branch  0x000025e4 
+ 00009663  0x00001178 bpatch  0x0000005d , 0x0000400b 
+ 00009664  0x00001179 bmark1  0x0000000f , 0x00002620 
+ 00009665  0x0000117a fetch  0x00000002 , 0x0000015f 
+ 00009666  0x0000117b arg  0x000002e0 , 0x00000002 
+ 00009667  0x0000117c isub  0x00000002 , 0x0000003e 
+ 00009668  0x0000117d branch  0x0000263d , 0x00000002 
+ 00009669  0x0000117e fetch  0x00000001 , 0x00000263 
+ 00009670  0x0000117f bbit0  0x00000000 , 0x000025c9 
+ 00009671  0x00001180 bbit0  0x00000001 , 0x000025ce 
+ 00009672  0x00001181 branch  0x0000264d 
+ 00009673  0x00001183 jam  0x00000001 , 0x00000261 
+ 00009674  0x00001184 fetch  0x00000002 , 0x0000025d 
+ 00009675  0x00001185 bne  0x00000000 , 0x0000264d 
+ 00009676  0x00001186 arg  0x00001000 , 0x00000005 
+ 00009677  0x00001187 branch  0x000025e4 
+ 00009678  0x00001189 jam  0x00000002 , 0x00000261 
+ 00009679  0x0000118a fetch  0x00000002 , 0x0000025f 
+ 00009680  0x0000118b bne  0x00000000 , 0x0000264d 
+ 00009681  0x0000118c arg  0x00001400 , 0x00000005 
+ 00009682  0x0000118d branch  0x000025e4 
+ 00009683  0x00001190 bpatch  0x0000005e , 0x0000400b 
+ 00009684  0x00001191 bmark1  0x0000000f , 0x00002620 
+ 00009685  0x00001192 fetch  0x00000002 , 0x0000015f 
+ 00009686  0x00001193 arg  0x000002e0 , 0x00000002 
+ 00009687  0x00001194 isub  0x00000002 , 0x0000003e 
+ 00009688  0x00001195 branch  0x0000263d , 0x00000002 
+ 00009689  0x00001196 fetch  0x00000001 , 0x00000261 
+ 00009690  0x00001197 beq  0x00000001 , 0x000025dd 
+ 00009691  0x00001198 beq  0x00000002 , 0x000025e1 
+ 00009692  0x00001199 branch  0x0000264d 
+ 00009693  0x0000119b arg  0x00001000 , 0x00000005 
+ 00009694  0x0000119c fetch  0x00000002 , 0x0000025d 
+ 00009695  0x0000119d iadd  0x00000005 , 0x00000005 
+ 00009696  0x0000119e branch  0x000025e4 
+ 00009697  0x000011a0 arg  0x00001400 , 0x00000005 
+ 00009698  0x000011a1 fetch  0x00000002 , 0x0000025f 
+ 00009699  0x000011a2 iadd  0x00000005 , 0x00000005 
+ 00009700  0x000011a4 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00009701  0x000011a5 rshift3  0x0000000c , 0x0000003f 
+ 00009702  0x000011a6 istore  0x00000001 , 0x00000005 
+ 00009703  0x000011a7 loop  0x000025e4 
+ 00009704  0x000011a9 bpatch  0x0000005f , 0x0000400b 
+ 00009705  0x000011aa parse  0x00000003 , 0x00000000 , 0x00000010 
+ 00009706  0x000011ab branch  0x00002637 , 0x00000006 
+ 00009707  0x000011ac fetch  0x00000001 , 0x00004363 
+ 00009708  0x000011ad beq  0x00000001 , 0x0000264d 
+ 00009709  0x000011ae bmark1  0x00000011 , 0x0000260d 
+ 00009710  0x000011af bmark1  0x0000000f , 0x0000264a 
+ 00009711  0x000011b0 fetch  0x00000001 , 0x00000180 
+ 00009712  0x000011b1 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00009713  0x000011b2 branch  0x0000260d , 0x00000001 
+ 00009714  0x000011b3 fetch  0x00000002 , 0x0000015f 
+ 00009715  0x000011b4 branch  0x0000260d , 0x00000034 
+ 00009716  0x000011b5 bpatch  0x00000060 , 0x0000400c 
+ 00009717  0x000011b6 fetch  0x00000001 , 0x00000261 
+ 00009718  0x000011b7 beq  0x00000001 , 0x000025f9 
+ 00009719  0x000011b8 beq  0x00000002 , 0x00002603 
+ 00009720  0x000011b9 branch  0x00002a8c 
+ 00009721  0x000011bb fetch  0x00000002 , 0x0000025d 
+ 00009722  0x000011bc fetcht  0x00000002 , 0x0000015f 
+ 00009723  0x000011bd iadd  0x00000002 , 0x0000003f 
+ 00009724  0x000011be store  0x00000002 , 0x0000025d 
+ 00009725  0x000011bf beq  0x00000000 , 0x00002a8c 
+ 00009726  0x000011c0 fetcht  0x00000002 , 0x00001000 
+ 00009727  0x000011c1 increase  0x00000004 , 0x00000002 
+ 00009728  0x000011c2 isub  0x00000002 , 0x0000003e 
+ 00009729  0x000011c3 call  0x00002747 , 0x00000005 
+ 00009730  0x000011c4 branch  0x0000260d 
+ 00009731  0x000011c6 fetch  0x00000002 , 0x0000025f 
+ 00009732  0x000011c7 fetcht  0x00000002 , 0x0000015f 
+ 00009733  0x000011c8 iadd  0x00000002 , 0x0000003f 
+ 00009734  0x000011c9 store  0x00000002 , 0x0000025f 
+ 00009735  0x000011ca beq  0x00000000 , 0x00002a8c 
+ 00009736  0x000011cb fetcht  0x00000002 , 0x00001400 
+ 00009737  0x000011cc add  0x00000002 , 0x00000004 , 0x00000002 
+ 00009738  0x000011cd isub  0x00000002 , 0x0000003e 
+ 00009739  0x000011ce call  0x0000274b , 0x00000005 
+ 00009740  0x000011cf branch  0x0000260d 
+ 00009741  0x000011d1 bpatch  0x00000061 , 0x0000400c 
+ 00009742  0x000011d2 fetcht  0x00000001 , 0x0000004c 
+ 00009743  0x000011d3 fetch  0x00000001 , 0x00000180 
+ 00009744  0x000011d4 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00009745  0x000011d5 setflag  0x00000001 , 0x00000006 , 0x00000002 
+ 00009746  0x000011d6 nsetflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00009747  0x000011d7 storet  0x00000001 , 0x0000004c 
+ 00009748  0x000011d8 nbranch  0x00002616 , 0x00000001 
+ 00009749  0x000011d9 set1  0x00000001 , 0x00000000 
+ 00009750  0x000011db bmark0  0x00000011 , 0x00002620 
+ 00009751  0x000011dc isolate1  0x00000006 , 0x00000002 
+ 00009752  0x000011dd branch  0x00002620 , 0x00000001 
+ 00009753  0x000011de fetch  0x00000002 , 0x000000fa 
+ 00009754  0x000011df increase  0x00000001 , 0x0000003f 
+ 00009755  0x000011e0 store  0x00000002 , 0x000000fa 
+ 00009756  0x000011e1 set1  0x00000005 , 0x00000000 
+ 00009757  0x000011e2 set0  0x00000007 , 0x00000002 
+ 00009758  0x000011e3 set0  0x00000001 , 0x00000000 
+ 00009759  0x000011e4 storet  0x00000001 , 0x0000004c 
+ 00009760  0x000011e6 bpatch  0x00000062 , 0x0000400c 
+ 00009761  0x000011e7 fetcht  0x00000001 , 0x0000015e 
+ 00009762  0x000011e8 fetch  0x00000001 , 0x00000047 
+ 00009763  0x000011e9 set1  0x00000005 , 0x0000003f 
+ 00009764  0x000011ea isolate1  0x00000002 , 0x00000002 
+ 00009765  0x000011eb setflag  0x00000001 , 0x00000002 , 0x0000003f 
+ 00009766  0x000011ec isolate1  0x0000000a , 0x00000000 
+ 00009767  0x000011ed setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00009768  0x000011ee store  0x00000001 , 0x00000047 
+ 00009769  0x000011ef fetch  0x00000002 , 0x0000015f 
+ 00009770  0x000011f0 nbranch  0x0000264d , 0x00000034 
+ 00009771  0x000011f1 fetch  0x00000001 , 0x0000004c 
+ 00009772  0x000011f2 set0  0x00000007 , 0x0000003f 
+ 00009773  0x000011f3 store  0x00000001 , 0x0000004c 
+ 00009774  0x000011f4 fetch  0x00000001 , 0x00000180 
+ 00009775  0x000011f5 compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00009776  0x000011f7 branch  0x0000264d 
+ 00009777  0x000011fa bpatch  0x00000063 , 0x0000400c 
+ 00009778  0x000011fb disable  0x0000002d 
+ 00009779  0x000011fc fetch  0x00000002 , 0x0000001a 
+ 00009780  0x000011fd increase  0x00000001 , 0x0000003f 
+ 00009781  0x000011fe store  0x00000002 , 0x0000001a 
+ 00009782  0x000011ff branch  0x0000264d 
+ 00009783  0x00001201 fetch  0x00000002 , 0x0000001c 
+ 00009784  0x00001202 increase  0x00000001 , 0x0000003f 
+ 00009785  0x00001203 store  0x00000002 , 0x0000001c 
+ 00009786  0x00001204 call  0x0000263e 
+ 00009787  0x00001205 bmark0  0x00000011 , 0x0000263d 
+ 00009788  0x00001206 set1  0x00000005 , 0x00000000 
+ 00009789  0x00001208 branch  0x0000264d 
+ 00009790  0x0000120b bpatch  0x00000064 , 0x0000400c 
+ 00009791  0x0000120c fetch  0x00000001 , 0x00000180 
+ 00009792  0x0000120d compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00009793  0x0000120e nbranch  0x00002646 , 0x00000001 
+ 00009794  0x00001210 fetcht  0x00000001 , 0x0000004c 
+ 00009795  0x00001211 set0  0x00000006 , 0x00000002 
+ 00009796  0x00001212 storet  0x00000001 , 0x0000004c 
+ 00009797  0x00001213 rtn 
+ 00009798  0x00001217 fetcht  0x00000001 , 0x0000004c 
+ 00009799  0x00001218 set0  0x00000007 , 0x00000002 
+ 00009800  0x00001219 storet  0x00000001 , 0x0000004c 
+ 00009801  0x0000121a branch  0x00004c0b 
+ 00009802  0x0000121d fetch  0x00000001 , 0x00000047 
+ 00009803  0x0000121e set1  0x00000005 , 0x0000003f 
+ 00009804  0x0000121f store  0x00000001 , 0x00000047 
+ 00009805  0x00001221 bpatch  0x00000065 , 0x0000400c 
+ 00009806  0x00001222 disable  0x0000001d 
+ 00009807  0x00001223 disable  0x0000001c 
+ 00009808  0x00001224 disable  0x0000000d 
+ 00009809  0x00001225 disable  0x0000000c 
+ 00009810  0x00001226 disable  0x00000009 
+ 00009811  0x00001227 disable  0x0000000e 
+ 00009812  0x00001228 disable  0x00000007 
+ 00009813  0x00001229 branch  0x000028f9 , 0x00000021 
+ 00009814  0x0000122a until  0x0000003e , 0x00000027 
+ 00009815  0x0000122b nop  0x00000064 
+ 00009816  0x0000122c branch  0x000028f9 
+ 00009817  0x0000122f bpatch  0x00000066 , 0x0000400c 
+ 00009818  0x00001230 enable  0x00000009 
+ 00009819  0x00001231 enable  0x0000000c 
+ 00009820  0x00001232 parse  0x00000003 , 0x00000000 , 0x00000048 
+ 00009821  0x00001233 isolate1  0x0000003a , 0x0000003f 
+ 00009822  0x00001234 setflag  0x00000001 , 0x00000000 , 0x00000000 
+ 00009823  0x00001235 copy  0x00000020 , 0x00000002 
+ 00009824  0x00001236 ialigned  0x00000020 
+ 00009825  0x00001237 ialigned  0x0000001e 
+ 00009826  0x00001238 pulse  0x00000015 
+ 00009827  0x00001239 setsect  0x00000002 , 0x000fffff 
+ 00009828  0x0000123a setsect  0x00000003 , 0x0000ffff 
+ 00009829  0x0000123b nop  0x00000020 
+ 00009830  0x0000123c iverify  0x0000000d 
+ 00009831  0x0000123d deposit  0x0000002c 
+ 00009832  0x0000123e store  0x00000003 , 0x00000178 
+ 00009833  0x0000123f deposit  0x0000002d 
+ 00009834  0x00001240 store  0x00000001 , 0x0000017b 
+ 00009835  0x00001241 copy  0x00000002 , 0x00000020 
+ 00009836  0x00001242 branch  0x0000266e , 0x00000001 
+ 00009837  0x00001243 branch  0x0000263d 
+ 00009838  0x00001245 bpatch  0x00000067 , 0x0000400c 
+ 00009839  0x00001246 parse  0x00000003 , 0x00000000 , 0x00000048 
+ 00009840  0x00001247 ialigned  0x0000001f 
+ 00009841  0x00001248 ialigned  0x00000004 
+ 00009842  0x00001249 ialigned  0x0000002e 
+ 00009843  0x0000124a ialigned  0x00000012 
+ 00009844  0x0000124b force  0x00000000 , 0x0000003f 
+ 00009845  0x0000124c parse  0x00000003 , 0x00000000 , 0x00000010 
+ 00009846  0x0000124d branch  0x0000263d , 0x00000006 
+ 00009847  0x0000124e setarg  0x0ffffffc 
+ 00009848  0x0000124f iand  0x00000012 , 0x0000003f 
+ 00009849  0x00001250 store  0x00000004 , 0x00000165 
+ 00009850  0x00001251 deposit  0x0000001d 
+ 00009851  0x00001252 store  0x00000003 , 0x00000175 
+ 00009852  0x00001253 deposit  0x0000001c 
+ 00009853  0x00001254 store  0x00000001 , 0x00000173 
+ 00009854  0x00001255 deposit  0x00000004 
+ 00009855  0x00001256 store  0x00000001 , 0x00000174 
+ 00009856  0x00001257 deposit  0x0000002e 
+ 00009857  0x00001258 store  0x00000002 , 0x0000017c 
+ 00009858  0x00001259 deposit  0x00000021 
+ 00009859  0x0000125a inject  0x00000001 , 0x00000020 
+ 00009860  0x0000125b compare  0x00000002 , 0x00000001 , 0x0000000f 
+ 00009861  0x0000125c setflag  0x00000001 , 0x0000000b , 0x00000000 
+ 00009862  0x0000125d branch  0x0000264d 
+ 00009863  0x00001260 bpatch  0x00000068 , 0x0000400d 
+ 00009864  0x00001261 fetch  0x00000001 , 0x00000047 
+ 00009865  0x00001262 rtnbit0  0x00000003 
+ 00009866  0x00001263 set0  0x00000003 , 0x0000003f 
+ 00009867  0x00001264 setflip  0x00000006 , 0x0000003f 
+ 00009868  0x00001265 store  0x00000001 , 0x00000047 
+ 00009869  0x00001266 fetch  0x00000001 , 0x000040c5 
+ 00009870  0x00001267 beq  0x00000013 , 0x0000269c 
+ 00009871  0x00001268 rtneq  0x00000007 
+ 00009872  0x00001269 fetch  0x00000001 , 0x0000004b 
+ 00009873  0x0000126a rtnbit0  0x00000006 , 0x0000003f 
+ 00009874  0x0000126b set0  0x00000006 , 0x0000003f 
+ 00009875  0x0000126c set1  0x00000007 , 0x0000003f 
+ 00009876  0x0000126d store  0x00000001 , 0x0000004b 
+ 00009877  0x0000126e set0  0x00000002 , 0x00000000 
+ 00009878  0x0000126f fetch  0x00000002 , 0x00004246 
+ 00009879  0x00001270 nrtn  0x00000034 
+ 00009880  0x00001271 fetch  0x00000001 , 0x0000004b 
+ 00009881  0x00001272 set0  0x00000007 , 0x0000003f 
+ 00009882  0x00001273 store  0x00000001 , 0x0000004b 
+ 00009883  0x00001274 branch  0x0000525d 
+ 00009884  0x00001277 bpatch  0x00000069 , 0x0000400d 
+ 00009885  0x00001278 fetch  0x00000001 , 0x000004b7 
+ 00009886  0x00001279 rshift  0x0000003f , 0x0000003f 
+ 00009887  0x0000127a beq  0x00000011 , 0x000026b8 
+ 00009888  0x0000127b beq  0x00000012 , 0x000026c0 
+ 00009889  0x0000127c beq  0x00000018 , 0x000026e9 
+ 00009890  0x0000127d beq  0x0000007f , 0x000026a8 
+ 00009891  0x0000127e rtnne  0x00000003 
+ 00009892  0x0000127f fetch  0x00000001 , 0x000004b8 
+ 00009893  0x00001280 beq  0x0000002b , 0x000026b0 
+ 00009894  0x00001281 beq  0x00000011 , 0x000026ab 
+ 00009895  0x00001282 rtn 
+ 00009896  0x00001285 fetch  0x00000001 , 0x000004b8 
+ 00009897  0x00001286 set1  0x00000007 , 0x0000003f 
+ 00009898  0x00001287 rtn 
+ 00009899  0x00001289 rtn  0x00000029 
+ 00009900  0x0000128a fetch  0x00000001 , 0x00000030 
+ 00009901  0x0000128b rtnbit1  0x00000004 
+ 00009902  0x0000128c jam  0x00000031 , 0x0000007c 
+ 00009903  0x0000128d rtn 
+ 00009904  0x00001291 rtn  0x00000029 
+ 00009905  0x00001292 fetch  0x00000001 , 0x00000031 
+ 00009906  0x00001293 isolate1  0x00000004 , 0x0000003f 
+ 00009907  0x00001294 branch  0x000026b5 , 0x00000001 
+ 00009908  0x00001296 rtn 
+ 00009909  0x00001298 set0  0x00000004 , 0x0000003f 
+ 00009910  0x00001299 store  0x00000001 , 0x00000031 
+ 00009911  0x0000129a rtn 
+ 00009912  0x0000129d bpatch  0x0000006a , 0x0000400d 
+ 00009913  0x0000129e fetch  0x00000001 , 0x0000004c 
+ 00009914  0x0000129f set1  0x00000002 , 0x0000003f 
+ 00009915  0x000012a0 store  0x00000001 , 0x0000004c 
+ 00009916  0x000012a1 jam  0x00000001 , 0x00008011 
+ 00009917  0x000012a2 fetch  0x00000001 , 0x00000030 
+ 00009918  0x000012a3 isolate1  0x00000004 , 0x0000003f 
+ 00009919  0x000012a4 rtn 
+ 00009920  0x000012a7 bpatch  0x0000006b , 0x0000400d 
+ 00009921  0x000012a8 fetch  0x00000001 , 0x0000004c 
+ 00009922  0x000012a9 set0  0x00000002 , 0x0000003f 
+ 00009923  0x000012aa store  0x00000001 , 0x0000004c 
+ 00009924  0x000012ab jam  0x00000000 , 0x00008011 
+ 00009925  0x000012ac rtn 
+ 00009926  0x000012b0 bpatch  0x0000006c , 0x0000400d 
+ 00009927  0x000012b1 copy  0x00000022 , 0x0000003f 
+ 00009928  0x000012b2 store  0x00000004 , 0x0000420c 
+ 00009929  0x000012b3 add  0x00000022 , 0x00000003 , 0x00000011 
+ 00009930  0x000012b4 branch  0x000026cc , 0x00000029 
+ 00009931  0x000012b5 add  0x00000028 , 0x00000003 , 0x00000011 
+ 00009932  0x000012b7 fetcht  0x00000002 , 0x00000032 
+ 00009933  0x000012b8 deposit  0x00000011 
+ 00009934  0x000012b9 set0  0x0000001b , 0x0000003f 
+ 00009935  0x000012ba idiv  0x00000002 
+ 00009936  0x000012bb fetch  0x00000002 , 0x00000075 
+ 00009937  0x000012bc call  0x00007f86 
+ 00009938  0x000012bd remainder  0x00000013 
+ 00009939  0x000012be isub  0x00000013 , 0x0000003f 
+ 00009940  0x000012bf branch  0x000026d6 , 0x00000002 
+ 00009941  0x000012c0 iadd  0x00000002 , 0x0000003f 
+ 00009942  0x000012c2 iadd  0x00000011 , 0x0000003f 
+ 00009943  0x000012c3 store  0x00000004 , 0x00000034 
+ 00009944  0x000012c4 jam  0x00000000 , 0x0000455b 
+ 00009945  0x000012c5 fetch  0x00000001 , 0x00000030 
+ 00009946  0x000012c6 set1  0x00000001 , 0x0000003f 
+ 00009947  0x000012c7 store  0x00000001 , 0x00000030 
+ 00009948  0x000012c8 fetch  0x00000001 , 0x00000073 
+ 00009949  0x000012c9 store  0x00000001 , 0x0000008a 
+ 00009950  0x000012ca setarg  0x00000000 
+ 00009951  0x000012cb store  0x00000003 , 0x00004169 
+ 00009952  0x000012cc store  0x00000003 , 0x0000416c 
+ 00009953  0x000012cd store  0x00000001 , 0x00004159 
+ 00009954  0x000012ce jam  0x0000000b , 0x00000a99 
+ 00009955  0x000012cf call  0x00007d86 
+ 00009956  0x000012d0 fetch  0x00000002 , 0x000040c1 
+ 00009957  0x000012d1 store  0x00000002 , 0x0000003e 
+ 00009958  0x000012d2 nrtn  0x00000029 
+ 00009959  0x000012d3 add  0x00000004 , 0xffffffff , 0x00000007 
+ 00009960  0x000012d4 rtn 
+ 00009961  0x000012d7 bpatch  0x0000006d , 0x0000400d 
+ 00009962  0x000012d8 fetch  0x00000001 , 0x00000030 
+ 00009963  0x000012d9 rtnbit0  0x00000001 
+ 00009964  0x000012da set0  0x00000001 , 0x0000003f 
+ 00009965  0x000012db store  0x00000001 , 0x00000030 
+ 00009966  0x000012dc fetch  0x00000002 , 0x000040bf 
+ 00009967  0x000012dd store  0x00000002 , 0x0000003e 
+ 00009968  0x000012de disable  0x0000002b 
+ 00009969  0x000012df jam  0x0000000c , 0x00000a99 
+ 00009970  0x000012e0 branch  0x00007d86 
+ 00009971  0x000012e4 bpatch  0x0000006e , 0x0000400d 
+ 00009972  0x000012e5 enable  0x0000002e 
+ 00009973  0x000012e6 fetch  0x00000001 , 0x00000030 
+ 00009974  0x000012e7 bbit1  0x00000001 , 0x00002700 
+ 00009975  0x000012e8 rtnmark1  0x00000011 
+ 00009976  0x000012e9 fetch  0x00000001 , 0x00000047 
+ 00009977  0x000012ea rtnbit1  0x00000003 
+ 00009978  0x000012eb fetch  0x00000001 , 0x00000048 
+ 00009979  0x000012ec nrtn  0x00000034 
+ 00009980  0x000012ed fetch  0x00000001 , 0x0000004b 
+ 00009981  0x000012ee rtnbit1  0x00000006 
+ 00009982  0x000012f0 force  0x00000000 , 0x0000003f 
+ 00009983  0x000012f1 rtn 
+ 00009984  0x000012f4 bbit0  0x00000002 , 0x0000270f 
+ 00009985  0x000012f5 fetch  0x00000001 , 0x0000008a 
+ 00009986  0x000012f6 beq  0x00000002 , 0x00002706 
+ 00009987  0x000012f7 fetch  0x00000001 , 0x00000047 
+ 00009988  0x000012f8 bbit1  0x00000003 , 0x00002718 
+ 00009989  0x000012f9 bmark0  0x00000008 , 0x00002718 
+ 00009990  0x000012fb nbranch  0x00002718 , 0x00000029 
+ 00009991  0x000012fc fetch  0x00000001 , 0x00000048 
+ 00009992  0x000012fd nbranch  0x00002718 , 0x00000034 
+ 00009993  0x000012ff fetch  0x00000001 , 0x000000ef 
+ 00009994  0x00001300 increase  0xffffffff , 0x0000003f 
+ 00009995  0x00001301 store  0x00000001 , 0x000000ef 
+ 00009996  0x00001302 nbranch  0x000026fe , 0x00000034 
+ 00009997  0x00001303 jam  0x00000010 , 0x000000ef 
+ 00009998  0x00001304 branch  0x00002718 
+ 00009999  0x0000130c fetch  0x00000001 , 0x0000008a 
+ 00010000  0x0000130d bne  0x00000001 , 0x00002718 
+ 00010001  0x0000130e fetch  0x00000001 , 0x0000008b 
+ 00010002  0x0000130f branch  0x00002718 , 0x00000034 
+ 00010003  0x00001310 increase  0xffffffff , 0x0000003f 
+ 00010004  0x00001311 store  0x00000001 , 0x0000008b 
+ 00010005  0x00001312 fetch  0x00000001 , 0x00000047 
+ 00010006  0x00001313 rtnbit1  0x00000003 
+ 00010007  0x00001314 nrtn  0x0000002d 
+ 00010008  0x00001316 fetch  0x00000001 , 0x0000008a 
+ 00010009  0x00001317 increase  0xffffffff , 0x0000003f 
+ 00010010  0x00001318 store  0x00000001 , 0x0000008a 
+ 00010011  0x00001319 rtn 
+ 00010012  0x00001325 bpatch  0x0000006f , 0x0000400d 
+ 00010013  0x00001326 disable  0x00000010 
+ 00010014  0x00001327 copy  0x00000002 , 0x0000001b 
+ 00010015  0x00001328 call  0x00002260 
+ 00010016  0x00001329 disable  0x00000028 
+ 00010017  0x0000132a nrtn  0x00000005 
+ 00010018  0x0000132b force  0x00000000 , 0x0000001b 
+ 00010019  0x0000132c enable  0x00000028 
+ 00010020  0x0000132d rtn 
+ 00010021  0x00001331 fetch  0x00000001 , 0x00004158 
+ 00010022  0x00001332 icompare  0x000000ff , 0x00000004 
+ 00010023  0x00001333 rtn 
+ 00010024  0x00001337 bpatch  0x00000070 , 0x0000400e 
+ 00010025  0x00001338 set0  0x00000001 , 0x00000000 
+ 00010026  0x0000133a jam  0x00000000 , 0x0000026a 
+ 00010027  0x0000133b fetch  0x00000001 , 0x00000263 
+ 00010028  0x0000133c rtn  0x00000034 
+ 00010029  0x0000133d isolate1  0x00000000 , 0x0000003f 
+ 00010030  0x0000133e arg  0x00001000 , 0x00000006 
+ 00010031  0x0000133f call  0x00004d79 , 0x00000001 
+ 00010032  0x00001340 bpatch  0x00000071 , 0x0000400e 
+ 00010033  0x00001341 fetch  0x00000001 , 0x0000026a 
+ 00010034  0x00001342 beq  0x00000001 , 0x0000273b 
+ 00010035  0x00001344 jam  0x00000000 , 0x0000026a 
+ 00010036  0x00001345 fetch  0x00000001 , 0x00000263 
+ 00010037  0x00001346 rtnbit0  0x00000001 
+ 00010038  0x00001347 arg  0x00001400 , 0x00000006 
+ 00010039  0x00001348 call  0x00004d79 
+ 00010040  0x00001349 fetch  0x00000001 , 0x0000026a 
+ 00010041  0x0000134a beq  0x00000001 , 0x00002741 
+ 00010042  0x0000134b rtn 
+ 00010043  0x0000134e fetch  0x00000001 , 0x00000263 
+ 00010044  0x0000134f set0  0x00000000 , 0x0000003f 
+ 00010045  0x00001350 store  0x00000001 , 0x00000263 
+ 00010046  0x00001351 setarg  0x00000000 
+ 00010047  0x00001352 store  0x00000002 , 0x0000025d 
+ 00010048  0x00001353 rtn 
+ 00010049  0x00001355 fetch  0x00000001 , 0x00000263 
+ 00010050  0x00001356 set0  0x00000001 , 0x0000003f 
+ 00010051  0x00001357 store  0x00000001 , 0x00000263 
+ 00010052  0x00001358 setarg  0x00000000 
+ 00010053  0x00001359 store  0x00000002 , 0x0000025f 
+ 00010054  0x0000135a rtn 
+ 00010055  0x0000135d fetch  0x00000001 , 0x00000263 
+ 00010056  0x0000135e set1  0x00000000 , 0x0000003f 
+ 00010057  0x0000135f store  0x00000001 , 0x00000263 
+ 00010058  0x00001360 rtn 
+ 00010059  0x00001363 fetch  0x00000001 , 0x00000263 
+ 00010060  0x00001364 set1  0x00000001 , 0x0000003f 
+ 00010061  0x00001365 store  0x00000001 , 0x00000263 
+ 00010062  0x00001366 rtn 
+ 00010063  0x0000136d bpatch  0x00000072 , 0x0000400e 
+ 00010064  0x0000136e add  0x00000028 , 0x00000001 , 0x00000021 
+ 00010065  0x0000136f call  0x000028ea 
+ 00010066  0x00001370 force  0x00000003 , 0x00000024 
+ 00010067  0x00001371 call  0x000028d2 
+ 00010068  0x00001372 call  0x00002a51 
+ 00010069  0x00001373 call  0x00002a5f 
+ 00010070  0x00001374 branch  0x00002a64 
+ 00010071  0x00001378 bpatch  0x00000073 , 0x0000400e 
+ 00010072  0x00001379 call  0x00002a4d 
+ 00010073  0x0000137a deposit  0x00000028 
+ 00010074  0x0000137b fetcht  0x00000004 , 0x000040ca 
+ 00010075  0x0000137c isub  0x00000002 , 0x0000003f 
+ 00010076  0x0000137d rtnne  0x00000001 
+ 00010077  0x0000137e compare  0x00000000 , 0x00000001 , 0x0000001f 
+ 00010078  0x0000137f nbranch  0x00002761 , 0x00000001 
+ 00010079  0x00001380 fetch  0x00000001 , 0x00000019 
+ 00010080  0x00001381 rtn  0x00000034 
+ 00010081  0x00001383 call  0x0000274f 
+ 00010082  0x00001385 compare  0x00000010 , 0x00000001 , 0x0000001f 
+ 00010083  0x00001386 branch  0x0000264d , 0x00000001 
+ 00010084  0x00001387 rshift  0x00000021 , 0x00000002 
+ 00010085  0x00001388 or  0x00000002 , 0x00000040 , 0x0000000e 
+ 00010086  0x0000138a bpatch  0x00000074 , 0x0000400e 
+ 00010087  0x0000138b enable  0x00000007 
+ 00010088  0x0000138c enable  0x0000000a 
+ 00010089  0x0000138d enable  0x0000001b 
+ 00010090  0x0000138e set0  0x00000010 , 0x00000000 
+ 00010091  0x0000138f deposit  0x00000004 
+ 00010092  0x00001390 inject  0x00000003 , 0x00000003 
+ 00010093  0x00001391 deposit  0x00000001 
+ 00010094  0x00001392 inject  0x00000003 , 0x00000004 
+ 00010095  0x00001393 fetch  0x00000001 , 0x00000047 
+ 00010096  0x00001394 inject  0x00000000 , 0x00000004 
+ 00010097  0x00001395 inject  0x00000003 , 0x00000003 
+ 00010098  0x00001396 enable  0x00000008 
+ 00010099  0x00001397 inject  0x00000003 , 0x00000008 
+ 00010100  0x00001398 disable  0x0000001b 
+ 00010101  0x00001399 disable  0x00000008 
+ 00010102  0x0000139a disable  0x0000000a 
+ 00010103  0x0000139b set0  0x00000002 , 0x00000015 
+ 00010104  0x0000139c arg  0x00000000 , 0x00000002 
+ 00010105  0x0000139d call  0x00002a1c 
+ 00010106  0x0000139e bpatch  0x00000075 , 0x0000400e 
+ 00010107  0x0000139f and  0x00000001 , 0x0000001f , 0x0000003f 
+ 00010108  0x000013a0 beq  0x00000013 , 0x000027b4 
+ 00010109  0x000013a1 beq  0x00000000 , 0x0000264d 
+ 00010110  0x000013a2 beq  0x00000001 , 0x0000264d 
+ 00010111  0x000013a3 beq  0x00000002 , 0x00002797 
+ 00010112  0x000013a4 beq  0x00000003 , 0x000027c5 
+ 00010113  0x000013a5 beq  0x00000004 , 0x000027cb 
+ 00010114  0x000013a6 beq  0x00000007 , 0x0000278c 
+ 00010115  0x000013a7 beq  0x00000008 , 0x000027ca 
+ 00010116  0x000013a8 arg  0x00000004 , 0x00000002 
+ 00010117  0x000013a9 call  0x00002a1c 
+ 00010118  0x000013aa beq  0x0000000a , 0x000027c7 
+ 00010119  0x000013ab beq  0x0000000b , 0x000027cd 
+ 00010120  0x000013ac arg  0x00000008 , 0x00000002 
+ 00010121  0x000013ad call  0x00002a1c 
+ 00010122  0x000013ae beq  0x0000000f , 0x000027cd 
+ 00010123  0x000013af branch  0x000027c7 
+ 00010124  0x000013b3 bpatch  0x00000076 , 0x0000400e 
+ 00010125  0x000013b4 enable  0x0000001d 
+ 00010126  0x000013b5 enable  0x00000009 
+ 00010127  0x000013b6 enable  0x0000000e 
+ 00010128  0x000013b7 force  0x0000001e , 0x00000039 
+ 00010129  0x000013b8 arg  0x000000b3 , 0x00000006 
+ 00010130  0x000013ba ifetch  0x00000001 , 0x00000006 
+ 00010131  0x000013bb inject  0x00000003 , 0x00000008 
+ 00010132  0x000013bc loop  0x00002792 
+ 00010133  0x000013bd bmark1  0x00000007 , 0x000027f7 
+ 00010134  0x000013be branch  0x0000264d 
+ 00010135  0x000013c1 bpatch  0x00000077 , 0x0000400e 
+ 00010136  0x000013c2 fetch  0x00000001 , 0x00000181 
+ 00010137  0x000013c3 icopy  0x00000004 
+ 00010138  0x000013c4 fetch  0x00000001 , 0x00000090 
+ 00010139  0x000013c5 icopy  0x0000001c 
+ 00010140  0x000013c6 fetch  0x00000003 , 0x000040aa 
+ 00010141  0x000013c7 icopy  0x0000001d 
+ 00010142  0x000013c8 fetch  0x00000002 , 0x000040a4 
+ 00010143  0x000013c9 icopy  0x0000002e 
+ 00010144  0x000013ca enable  0x00000009 
+ 00010145  0x000013cb enable  0x0000001c 
+ 00010146  0x000013cc copy  0x00000020 , 0x00000011 
+ 00010147  0x000013cd call  0x000028e2 
+ 00010148  0x000013ce pulse  0x00000015 
+ 00010149  0x000013cf nop  0x00000020 
+ 00010150  0x000013d0 copy  0x00000021 , 0x0000000b 
+ 00010151  0x000013d1 fetch  0x00000004 , 0x00000161 
+ 00010152  0x000013d2 icopy  0x00000021 
+ 00010153  0x000013d3 preload  0x0000001e 
+ 00010154  0x000013d4 set1  0x0000003a , 0x0000003f 
+ 00010155  0x000013d5 inject  0x00000003 , 0x00000048 
+ 00010156  0x000013d6 preload  0x0000001f 
+ 00010157  0x000013d7 inject  0x00000003 , 0x00000048 
+ 00010158  0x000013d8 copy  0x0000000b , 0x00000021 
+ 00010159  0x000013d9 copy  0x00000011 , 0x00000020 
+ 00010160  0x000013da enable  0x00000008 
+ 00010161  0x000013db inject  0x00000003 , 0x00000010 
+ 00010162  0x000013dc disable  0x00000008 
+ 00010163  0x000013dd branch  0x0000264d 
+ 00010164  0x000013e0 bpatch  0x00000078 , 0x0000400f 
+ 00010165  0x000013e1 enable  0x0000000e 
+ 00010166  0x000013e2 enable  0x00000009 
+ 00010167  0x000013e3 enable  0x0000001c 
+ 00010168  0x000013e4 fetch  0x00000001 , 0x000004b6 
+ 00010169  0x000013e5 and  0x0000003f , 0x000001f8 , 0x00000002 
+ 00010170  0x000013e6 arg  0x000004b6 , 0x00000006 
+ 00010171  0x000013e7 increase  0x00000008 , 0x00000002 
+ 00010172  0x000013e9 add  0x00000002 , 0xffffffb8 , 0x00000013 
+ 00010173  0x000013ea nbranch  0x000027c2 , 0x00000002 
+ 00010174  0x000013eb ifetch  0x00000009 , 0x00000006 
+ 00010175  0x000013ec inject  0x00000003 , 0x00000048 
+ 00010176  0x000013ed copy  0x00000013 , 0x00000002 
+ 00010177  0x000013ee branch  0x000027bc 
+ 00010178  0x000013f0 ifetch  0x00000009 , 0x00000006 
+ 00010179  0x000013f1 iinject  0x00000003 , 0x00000002 
+ 00010180  0x000013f2 branch  0x000027f7 
+ 00010181  0x000013f5 enable  0x0000001c 
+ 00010182  0x000013f6 branch  0x000027d0 
+ 00010183  0x000013f9 enable  0x0000001c 
+ 00010184  0x000013fa set1  0x00000010 , 0x00000000 
+ 00010185  0x000013fb branch  0x000027d0 
+ 00010186  0x000013fe set1  0x00000002 , 0x00000015 
+ 00010187  0x00001400 enable  0x0000001d 
+ 00010188  0x00001401 branch  0x000027d0 
+ 00010189  0x00001405 set1  0x00000002 , 0x00000015 
+ 00010190  0x00001406 enable  0x0000001d 
+ 00010191  0x00001407 set1  0x00000010 , 0x00000000 
+ 00010192  0x0000140a bpatch  0x00000079 , 0x0000400f 
+ 00010193  0x0000140b fetch  0x00000001 , 0x0000004c 
+ 00010194  0x0000140c bbit0  0x00000005 , 0x000027e5 
+ 00010195  0x0000140d sub  0x00000001 , 0x00000003 , 0x0000003e 
+ 00010196  0x0000140e branch  0x000027e5 , 0x00000002 
+ 00010197  0x0000140f disable  0x0000000e 
+ 00010198  0x00001410 disable  0x0000001c 
+ 00010199  0x00001411 enable  0x0000001d 
+ 00010200  0x00001412 disable  0x00000007 
+ 00010201  0x00001413 set1  0x00000001 , 0x00000015 
+ 00010202  0x00001414 isolate1  0x00000002 , 0x00000015 
+ 00010203  0x00001415 branch  0x000027df , 0x00000001 
+ 00010204  0x00001416 setarg  0x000abeee 
+ 00010205  0x00001417 inject  0x00000003 , 0x00000014 
+ 00010206  0x00001418 branch  0x000027e3 
+ 00010207  0x0000141a setarg  0x005faeba 
+ 00010208  0x0000141b inject  0x00000003 , 0x00000018 
+ 00010209  0x0000141c setarg  0x00000012 
+ 00010210  0x0000141d inject  0x00000003 , 0x00000006 
+ 00010211  0x0000141f enable  0x00000007 
+ 00010212  0x00001420 set1  0x00000010 , 0x00000000 
+ 00010213  0x00001422 enable  0x0000000e 
+ 00010214  0x00001423 enable  0x00000009 
+ 00010215  0x00001424 bmark1  0x00000005 , 0x00002800 
+ 00010216  0x00001425 fetch  0x00000001 , 0x000041db 
+ 00010217  0x00001426 inject  0x00000003 , 0x00000003 
+ 00010218  0x00001427 fetch  0x00000002 , 0x000041dc 
+ 00010219  0x00001428 iforce  0x00000039 
+ 00010220  0x00001429 bmark1  0x00000010 , 0x000027ef 
+ 00010221  0x0000142a inject  0x00000003 , 0x00000005 
+ 00010222  0x0000142b branch  0x000027f0 
+ 00010223  0x0000142d inject  0x00000003 , 0x0000000d 
+ 00010224  0x0000142f deposit  0x00000039 
+ 00010225  0x00001430 branch  0x000027f7 , 0x00000034 
+ 00010226  0x00001431 fetch  0x00000002 , 0x0000016f 
+ 00010227  0x00001432 iforce  0x00000006 
+ 00010228  0x00001434 ifetch  0x00000001 , 0x00000006 
+ 00010229  0x00001435 inject  0x00000003 , 0x00000008 
+ 00010230  0x00001436 loop  0x000027f4 
+ 00010231  0x0000143a enable  0x00000008 
+ 00010232  0x0000143b inject  0x00000003 , 0x00000010 
+ 00010233  0x0000143c disable  0x00000008 
+ 00010234  0x0000143d call  0x000024c1 
+ 00010235  0x0000143e fetch  0x00000001 , 0x0000004c 
+ 00010236  0x0000143f bbit0  0x00000005 , 0x0000264d 
+ 00010237  0x00001440 force  0x00000000 , 0x0000003f 
+ 00010238  0x00001441 inject  0x00000003 , 0x00000006 
+ 00010239  0x00001442 branch  0x0000264d 
+ 00010240  0x00001446 bpatch  0x0000007a , 0x0000400f 
+ 00010241  0x00001447 bmark1  0x00000010 , 0x00002808 
+ 00010242  0x00001449 fetch  0x00000001 , 0x00000180 
+ 00010243  0x0000144a inject  0x00000003 , 0x00000003 
+ 00010244  0x0000144b fetch  0x00000001 , 0x0000015f 
+ 00010245  0x0000144c iforce  0x00000013 
+ 00010246  0x0000144d inject  0x00000003 , 0x00000005 
+ 00010247  0x0000144e branch  0x0000280d 
+ 00010248  0x00001450 fetch  0x00000001 , 0x00000180 
+ 00010249  0x00001451 inject  0x00000003 , 0x00000003 
+ 00010250  0x00001452 fetch  0x00000002 , 0x0000015f 
+ 00010251  0x00001453 iforce  0x00000013 
+ 00010252  0x00001454 inject  0x00000003 , 0x0000000d 
+ 00010253  0x00001456 arg  0x00000551 , 0x00000006 
+ 00010254  0x00001458 copy  0x00000013 , 0x0000003e 
+ 00010255  0x00001459 branch  0x00002814 , 0x00000005 
+ 00010256  0x0000145a ifetch  0x00000001 , 0x00000006 
+ 00010257  0x0000145b inject  0x00000003 , 0x00000008 
+ 00010258  0x0000145c increase  0xffffffff , 0x00000013 
+ 00010259  0x0000145d branch  0x0000280e 
+ 00010260  0x0000145f fetch  0x00000002 , 0x000000fc 
+ 00010261  0x00001460 increase  0x00000001 , 0x0000003f 
+ 00010262  0x00001461 store  0x00000002 , 0x000000fc 
+ 00010263  0x00001462 branch  0x000027f7 
+ 00010264  0x00001466 fetch  0x00000004 , 0x00000165 
+ 00010265  0x00001467 add  0x0000003f , 0x00000007 , 0x00000011 
+ 00010266  0x00001468 fetch  0x00000002 , 0x00000171 
+ 00010267  0x00001469 nbranch  0x0000281e , 0x00000034 
+ 00010268  0x0000146a increase  0xfffffffd , 0x00000011 
+ 00010269  0x0000146b branch  0x00002826 
+ 00010270  0x0000146d mul32  0x0000003f , 0x0000000c , 0x0000003f 
+ 00010271  0x0000146e hfetcht  0x00000002 , 0x00008040 
+ 00010272  0x0000146f increase  0x00000001 , 0x00000002 
+ 00010273  0x00001471 isub  0x00000002 , 0x0000003f 
+ 00010274  0x00001472 nbranch  0x00002825 , 0x00000002 
+ 00010275  0x00001473 increase  0xffffffff , 0x00000011 
+ 00010276  0x00001474 branch  0x00002821 
+ 00010277  0x00001476 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00010278  0x00001478 until  0x0000003e , 0x00000023 
+ 00010279  0x00001479 compare  0x00000000 , 0x00000022 , 0x00000003 
+ 00010280  0x0000147a nbranch  0x00002826 , 0x00000001 
+ 00010281  0x0000147b iforce  0x00000029 
+ 00010282  0x0000147c copy  0x00000011 , 0x00000028 
+ 00010283  0x0000147d iforce  0x00000029 
+ 00010284  0x0000147e rtn 
+ 00010285  0x00001482 bpatch  0x0000007b , 0x0000400f 
+ 00010286  0x00001483 until  0x0000003e , 0x00000022 
+ 00010287  0x00001484 deposit  0x0000001a 
+ 00010288  0x00001485 iforce  0x00000006 
+ 00010289  0x00001486 rshift16 , 0x0000003f , 0x0000003f 
+ 00010290  0x00001487 isub  0x00000022 , 0x00000039 
+ 00010291  0x00001488 and_into  0x00000003 , 0x00000039 
+ 00010292  0x00001489 nbranch  0x00002837 , 0x00000005 
+ 00010293  0x0000148a force  0x00000000 , 0x0000003f 
+ 00010294  0x0000148b branch  0x0000283b 
+ 00010295  0x0000148d arg  0x00000ea6 , 0x00000002 
+ 00010296  0x0000148e force  0x00000000 , 0x0000003f 
+ 00010297  0x00001490 iadd  0x00000002 , 0x0000003f 
+ 00010298  0x00001491 loop  0x00002839 
+ 00010299  0x00001493 iadd  0x00000006 , 0x0000003f 
+ 00010300  0x00001494 div  0x0000003f , 0x0000000c 
+ 00010301  0x00001495 call  0x00007f86 
+ 00010302  0x00001496 quotient  0x0000003f 
+ 00010303  0x00001497 store  0x00000002 , 0x00000171 
+ 00010304  0x00001498 rtn 
+ 00010305  0x0000149b bpatch  0x0000007c , 0x0000400f 
+ 00010306  0x0000149c deposit  0x0000001a 
+ 00010307  0x0000149d copy  0x00000019 , 0x00000002 
+ 00010308  0x0000149e isub  0x00000002 , 0x0000003e 
+ 00010309  0x0000149f nsetflag  0x00000002 , 0x0000002c , 0x0000003f 
+ 00010310  0x000014a0 isub  0x00000002 , 0x00000002 
+ 00010311  0x000014a1 setarg  0x00000ea6 
+ 00010312  0x000014a2 isolate0  0x0000000f , 0x00000002 
+ 00010313  0x000014a3 branch  0x0000284c , 0x00000001 
+ 00010314  0x000014a4 setarg  0xffff0ea6 
+ 00010315  0x000014a5 iadd  0x00000002 , 0x00000002 
+ 00010316  0x000014a7 storet  0x00000006 , 0x00000447 
+ 00010317  0x000014a8 rtn  0x00000036 
+ 00010318  0x000014a9 storet  0x00000006 , 0x00000038 
+ 00010319  0x000014aa rtn 
+ 00010320  0x000014ad disable  0x00000030 
+ 00010321  0x000014ae fetch  0x00000006 , 0x00000447 
+ 00010322  0x000014af branch  0x00002854 , 0x00000036 
+ 00010323  0x000014b0 fetch  0x00000006 , 0x00000038 
+ 00010324  0x000014b2 iadd  0x00000019 , 0x00000030 
+ 00010325  0x000014b3 increase  0x0000000a , 0x00000030 
+ 00010326  0x000014b4 setarg  0x00000ea6 
+ 00010327  0x000014b5 isub  0x00000030 , 0x0000003f 
+ 00010328  0x000014b6 isolate0  0x0000000f , 0x0000003f 
+ 00010329  0x000014b7 branch  0x0000285e , 0x00000001 
+ 00010330  0x000014b8 setarg  0x0000f15a 
+ 00010331  0x000014b9 iadd  0x00000030 , 0x00000030 
+ 00010332  0x000014bb copy  0x00000030 , 0x0000001a 
+ 00010333  0x000014bc rtn 
+ 00010334  0x000014be force  0x00000000 , 0x0000003e 
+ 00010335  0x000014bf branch  0x0000285c 
+ 00010336  0x000014c7 bpatch  0x0000007d , 0x0000400f 
+ 00010337  0x000014c8 call  0x00002918 
+ 00010338  0x000014c9 copy  0x00000021 , 0x0000003f 
+ 00010339  0x000014ca and_into  0x00000180 , 0x0000003f 
+ 00010340  0x000014cb compare  0x00000003 , 0x00000024 , 0x00000007 
+ 00010341  0x000014cc nbranch  0x00002869 , 0x00000001 
+ 00010342  0x000014cd rshift3  0x0000003f , 0x0000003f 
+ 00010343  0x000014ce iadd  0x00000017 , 0x0000003f 
+ 00010344  0x000014cf branch  0x0000286a 
+ 00010345  0x000014d1 copy  0x00000017 , 0x0000003f 
+ 00010346  0x000014d3 div  0x0000003f , 0x0000004f 
+ 00010347  0x000014d4 pulse  0x00000015 
+ 00010348  0x000014d5 call  0x00007f86 
+ 00010349  0x000014d6 remainder  0x00000011 
+ 00010350  0x000014d7 add  0x00000011 , 0xffffffd8 , 0x00000002 
+ 00010351  0x000014d8 branch  0x00002872 , 0x00000002 
+ 00010352  0x000014d9 lshift  0x00000011 , 0x00000002 
+ 00010353  0x000014da branch  0x00002874 
+ 00010354  0x000014dc lshift  0x00000002 , 0x00000002 
+ 00010355  0x000014dd increase  0x00000001 , 0x00000002 
+ 00010356  0x000014df bpatch  0x0000007e , 0x0000400f 
+ 00010357  0x000014e0 fetch  0x00000001 , 0x00000031 
+ 00010358  0x000014e1 bbit0  0x00000003 , 0x00002885 
+ 00010359  0x000014e3 fetch  0x00000004 , 0x000040d2 
+ 00010360  0x000014e4 isub  0x00000021 , 0x0000003e 
+ 00010361  0x000014e5 branch  0x00002885 , 0x00000002 
+ 00010362  0x000014e6 call  0x000028a4 
+ 00010363  0x000014e7 fetch  0x00000001 , 0x000040d9 
+ 00010364  0x000014e8 rtn  0x00000034 
+ 00010365  0x000014e9 fetch  0x00000001 , 0x00000031 
+ 00010366  0x000014ea set1  0x00000002 , 0x0000003f 
+ 00010367  0x000014eb store  0x00000001 , 0x00000031 
+ 00010368  0x000014ec fetch  0x00000005 , 0x000040e7 
+ 00010369  0x000014ed store  0x00000005 , 0x000040da 
+ 00010370  0x000014ee ifetch  0x00000005 , 0x00000006 
+ 00010371  0x000014ef store  0x00000005 , 0x000040df 
+ 00010372  0x000014f0 call  0x000028a9 
+ 00010373  0x000014f2 fetch  0x00000001 , 0x00000031 
+ 00010374  0x000014f3 rtnbit0  0x00000002 
+ 00010375  0x000014f4 isolate1  0x00000001 , 0x00000021 
+ 00010376  0x000014f5 branch  0x000028a1 , 0x00000001 
+ 00010377  0x000014f6 rshift3  0x00000002 , 0x00000011 
+ 00010378  0x000014f7 and  0x00000002 , 0x00000007 , 0x00000007 
+ 00010379  0x000014f8 setarg  0x000040da 
+ 00010380  0x000014f9 iadd  0x00000011 , 0x00000011 
+ 00010381  0x000014fa ifetch  0x00000001 , 0x00000011 
+ 00010382  0x000014fb qisolate0  0x0000003f 
+ 00010383  0x000014fc branch  0x00002892 , 0x00000001 
+ 00010384  0x000014fd deposit  0x00000002 
+ 00010385  0x000014fe branch  0x0000289e 
+ 00010386  0x00001500 fetch  0x00000001 , 0x000040e4 
+ 00010387  0x00001501 iforce  0x00000012 
+ 00010388  0x00001502 deposit  0x00000021 
+ 00010389  0x00001503 and_into  0x00000180 , 0x0000003f 
+ 00010390  0x00001504 rshift3  0x0000003f , 0x0000003f 
+ 00010391  0x00001505 iadd  0x00000017 , 0x0000003f 
+ 00010392  0x00001506 idiv  0x00000012 
+ 00010393  0x00001507 setarg  0x000040f2 
+ 00010394  0x00001508 call  0x00007f86 
+ 00010395  0x00001509 remainder  0x00000011 
+ 00010396  0x0000150a iadd  0x00000011 , 0x00000006 
+ 00010397  0x0000150b ifetch  0x00000001 , 0x00000006 
+ 00010398  0x0000150d store  0x00000001 , 0x000040e5 
+ 00010399  0x0000150e iforce  0x00000002 
+ 00010400  0x0000150f rtn 
+ 00010401  0x00001512 fetch  0x00000001 , 0x000040e5 
+ 00010402  0x00001513 iforce  0x00000002 
+ 00010403  0x00001514 rtn 
+ 00010404  0x00001517 fetch  0x00000001 , 0x00000031 
+ 00010405  0x00001518 set0  0x00000002 , 0x0000003f 
+ 00010406  0x00001519 set0  0x00000003 , 0x0000003f 
+ 00010407  0x0000151a store  0x00000001 , 0x00000031 
+ 00010408  0x0000151b rtn 
+ 00010409  0x00001522 bpatch  0x0000007f , 0x0000400f 
+ 00010410  0x00001523 arg  0x000040f2 , 0x00000005 
+ 00010411  0x00001524 force  0x0000000a , 0x00000039 
+ 00010412  0x00001525 call  0x00007ec6 
+ 00010413  0x00001526 arg  0x000040f2 , 0x00000005 
+ 00010414  0x00001527 force  0x00000000 , 0x00000013 
+ 00010415  0x00001528 force  0x00000002 , 0x00000007 
+ 00010416  0x0000152a fetch  0x00000005 , 0x000040da 
+ 00010417  0x0000152b iforce  0x00000002 
+ 00010418  0x0000152c compare  0x00000002 , 0x00000007 , 0x000000ff 
+ 00010419  0x0000152d branch  0x000028b5 , 0x00000001 
+ 00010420  0x0000152e rshift  0x00000002 , 0x00000002 
+ 00010421  0x00001530 isolate0  0x00000000 , 0x00000002 
+ 00010422  0x00001531 branch  0x000028b9 , 0x00000001 
+ 00010423  0x00001532 deposit  0x00000013 
+ 00010424  0x00001533 istore  0x00000001 , 0x00000005 
+ 00010425  0x00001535 rshift2  0x00000002 , 0x00000002 
+ 00010426  0x00001536 increase  0x00000002 , 0x00000013 
+ 00010427  0x00001537 compare  0x00000028 , 0x00000013 , 0x000000fe 
+ 00010428  0x00001538 nbranch  0x000028c2 , 0x00000001 
+ 00010429  0x00001539 fetch  0x00000005 , 0x000040df 
+ 00010430  0x0000153a iforce  0x00000002 
+ 00010431  0x0000153b compare  0x00000002 , 0x00000007 , 0x000000ff 
+ 00010432  0x0000153c branch  0x000028c2 , 0x00000001 
+ 00010433  0x0000153d rshift  0x00000002 , 0x00000002 
+ 00010434  0x0000153f sub  0x00000013 , 0x0000004e , 0x0000003e 
+ 00010435  0x00001540 branch  0x000028b5 , 0x00000002 
+ 00010436  0x00001541 force  0x00000001 , 0x00000013 
+ 00010437  0x00001542 increase  0xffffffff , 0x00000007 
+ 00010438  0x00001543 nbranch  0x000028b0 , 0x00000005 
+ 00010439  0x00001544 arg  0x000040f2 , 0x00000011 
+ 00010440  0x00001545 deposit  0x00000005 
+ 00010441  0x00001546 isub  0x00000011 , 0x0000003f 
+ 00010442  0x00001547 store  0x00000001 , 0x000040e4 
+ 00010443  0x00001548 rtn 
+ 00010444  0x0000154b bpatch  0x00000080 , 0x00004010 
+ 00010445  0x0000154c call  0x00002860 
+ 00010446  0x0000154d fetch  0x00000001 , 0x0000017f 
+ 00010447  0x0000154e bbit0  0x00000005 , 0x000028d1 
+ 00010448  0x0000154f fetcht  0x00000001 , 0x000004cc 
+ 00010449  0x00001551 branch  0x0000291f 
+ 00010450  0x00001555 bpatch  0x00000081 , 0x00004010 
+ 00010451  0x00001556 call  0x00002860 
+ 00010452  0x00001557 fetch  0x00000001 , 0x0000017f 
+ 00010453  0x00001558 bbit0  0x00000004 , 0x000028d7 
+ 00010454  0x00001559 fetcht  0x00000001 , 0x000004cb 
+ 00010455  0x0000155b branch  0x00002933 
+ 00010456  0x0000155f force  0x00000000 , 0x0000002d 
+ 00010457  0x00001560 fetch  0x00000003 , 0x000040a7 
+ 00010458  0x00001561 iforce  0x0000002c 
+ 00010459  0x00001562 rtn 
+ 00010460  0x00001565 bpatch  0x00000082 , 0x00004010 
+ 00010461  0x00001566 fetch  0x00000001 , 0x000041d3 
+ 00010462  0x00001567 icopy  0x0000002d 
+ 00010463  0x00001568 fetch  0x00000003 , 0x000041d0 
+ 00010464  0x00001569 icopy  0x0000002c 
+ 00010465  0x0000156a rtn 
+ 00010466  0x0000156d bpatch  0x00000083 , 0x00004010 
+ 00010467  0x0000156e fetch  0x00000002 , 0x000040a4 
+ 00010468  0x0000156f icopy  0x0000002e 
+ 00010469  0x00001570 fetch  0x00000001 , 0x000040a3 
+ 00010470  0x00001571 icopy  0x0000002d 
+ 00010471  0x00001572 fetch  0x00000003 , 0x000040a0 
+ 00010472  0x00001573 icopy  0x0000002c 
+ 00010473  0x00001574 rtn 
+ 00010474  0x00001577 bpatch  0x00000084 , 0x00004010 
+ 00010475  0x00001578 fetch  0x00000002 , 0x00000044 
+ 00010476  0x00001579 icopy  0x0000002e 
+ 00010477  0x0000157a fetch  0x00000001 , 0x00000043 
+ 00010478  0x0000157b icopy  0x0000002d 
+ 00010479  0x0000157c fetch  0x00000003 , 0x00000040 
+ 00010480  0x0000157d icopy  0x0000002c 
+ 00010481  0x0000157e rtn 
+ 00010482  0x00001582 bmark1  0x00000020 , 0x000028f5 
+ 00010483  0x00001583 rtnmark0  0x0000001d 
+ 00010484  0x00001584 rtnmark0  0x0000001f 
+ 00010485  0x00001586 and_into  0xffffff00 , 0x0000002c 
+ 00010486  0x00001587 pulse  0x00000015 
+ 00010487  0x00001588 nop  0x00000020 
+ 00010488  0x00001589 rtn 
+ 00010489  0x0000158d bpatch  0x00000085 , 0x00004010 
+ 00010490  0x0000158e branch  0x0000290a , 0x00000021 
+ 00010491  0x0000158f jam  0x000000d4 , 0x00008955 
+ 00010492  0x00001590 nop  0x00000004 
+ 00010493  0x00001591 jam  0x000000d2 , 0x00008955 
+ 00010494  0x00001592 nop  0x00000004 
+ 00010495  0x00001593 jam  0x000000d1 , 0x00008955 
+ 00010496  0x00001594 nop  0x00000004 
+ 00010497  0x00001595 fetch  0x00000001 , 0x000041de 
+ 00010498  0x00001596 beq  0x00000000 , 0x00002908 
+ 00010499  0x00001597 beq  0x00000001 , 0x00002915 
+ 00010500  0x00001598 beq  0x00000002 , 0x00002908 
+ 00010501  0x00001599 beq  0x00000003 , 0x00002915 
+ 00010502  0x0000159a beq  0x00000004 , 0x00002915 
+ 00010503  0x0000159b beq  0x00000020 , 0x00002915 
+ 00010504  0x0000159e jam  0x000000d0 , 0x00008955 
+ 00010505  0x0000159f jam  0x000000e0 , 0x00008956 
+ 00010506  0x000015a1 force  0x00000000 , 0x00000015 
+ 00010507  0x000015a2 disable  0x00000021 
+ 00010508  0x000015a3 disable  0x00000020 
+ 00010509  0x000015a4 pulse  0x0000001e 
+ 00010510  0x000015a5 jam  0x00000000 , 0x00008902 
+ 00010511  0x000015a6 jam  0x00000000 , 0x00008901 
+ 00010512  0x000015a7 jam  0x00000000 , 0x00008900 
+ 00010513  0x000015a8 jam  0x00000000 , 0x00008903 
+ 00010514  0x000015a9 jam  0x00000070 , 0x00008904 
+ 00010515  0x000015aa jam  0x00000000 , 0x00008906 
+ 00010516  0x000015ab rtn 
+ 00010517  0x000015b1 jam  0x000000d0 , 0x00008955 
+ 00010518  0x000015b2 jam  0x000000c0 , 0x00008956 
+ 00010519  0x000015b3 branch  0x0000290a 
+ 00010520  0x000015b6 bpatch  0x00000086 , 0x00004010 
+ 00010521  0x000015b7 jam  0x00000000 , 0x00008902 
+ 00010522  0x000015b8 jam  0x00000000 , 0x00008901 
+ 00010523  0x000015b9 jam  0x00000018 , 0x00008900 
+ 00010524  0x000015ba jam  0x000000a7 , 0x00008903 
+ 00010525  0x000015bb jam  0x0000007f , 0x00008904 
+ 00010526  0x000015bc rtn 
+ 00010527  0x000015bf bpatch  0x00000087 , 0x00004010 
+ 00010528  0x000015c1 storet  0x00000001 , 0x00000017 
+ 00010529  0x000015c2 add  0x00000002 , 0x00000004 , 0x00000011 
+ 00010530  0x000015c3 jam  0x00000007 , 0x0000896d 
+ 00010531  0x000015c4 branch  0x00002981 
+ 00010532  0x000015c6 bpatch  0x00000088 , 0x00004011 
+ 00010533  0x000015c7 jam  0x000000cf , 0x00008901 
+ 00010534  0x000015c8 nop  0x0000000a 
+ 00010535  0x000015c9 jam  0x000000ff , 0x00008900 
+ 00010536  0x000015ca jam  0x000000af , 0x00008903 
+ 00010537  0x000015cb jam  0x000000ff , 0x00008904 
+ 00010538  0x000015cc nop  0x0000000a 
+ 00010539  0x000015cd jam  0x000000a0 , 0x00008902 
+ 00010540  0x000015ce rtn 
+ 00010541  0x000015d1 fetch  0x00000001 , 0x000041e0 
+ 00010542  0x000015d2 branch  0x00002931 , 0x00000034 
+ 00010543  0x000015d4 add  0x00000002 , 0x00000002 , 0x00000011 
+ 00010544  0x000015d5 rtn 
+ 00010545  0x000015d7 add  0x00000002 , 0x00000000 , 0x00000011 
+ 00010546  0x000015d8 rtn 
+ 00010547  0x000015db bpatch  0x00000089 , 0x00004011 
+ 00010548  0x000015dc storet  0x00000001 , 0x00000017 
+ 00010549  0x000015dd call  0x0000292d 
+ 00010550  0x000015de call  0x00002981 
+ 00010551  0x000015df setarg  0x00000500 
+ 00010552  0x000015e0 call  0x00002a8f 
+ 00010553  0x000015e2 jam  0x00000001 , 0x00008906 
+ 00010554  0x000015e3 jam  0x0000003c , 0x00008900 
+ 00010555  0x000015e4 jam  0x000000e0 , 0x00008901 
+ 00010556  0x000015e5 jam  0x00000012 , 0x0000896d 
+ 00010557  0x000015e6 nop  0x0000000a 
+ 00010558  0x000015e7 jam  0x00000001 , 0x00008902 
+ 00010559  0x000015e8 jam  0x0000003d , 0x00008902 
+ 00010560  0x000015e9 nop  0x0000000a 
+ 00010561  0x000015ea jam  0x000000b7 , 0x00008903 
+ 00010562  0x000015eb nop  0x0000000a 
+ 00010563  0x000015ec jam  0x0000007f , 0x00008902 
+ 00010564  0x000015ee fetch  0x00000001 , 0x000041de 
+ 00010565  0x000015ef beq  0x00000000 , 0x0000294b 
+ 00010566  0x000015f0 beq  0x00000001 , 0x0000294f 
+ 00010567  0x000015f1 beq  0x00000002 , 0x00002953 
+ 00010568  0x000015f2 beq  0x00000003 , 0x00002957 
+ 00010569  0x000015f3 beq  0x00000004 , 0x0000295b 
+ 00010570  0x000015f4 beq  0x00000020 , 0x0000295f 
+ 00010571  0x000015f6 jam  0x000000f0 , 0x00008956 
+ 00010572  0x000015f7 call  0x00002965 
+ 00010573  0x000015f8 jam  0x000000d8 , 0x00008955 
+ 00010574  0x000015f9 rtn 
+ 00010575  0x000015fc jam  0x000000df , 0x00008956 
+ 00010576  0x000015fd call  0x00002965 
+ 00010577  0x000015fe jam  0x000000df , 0x00008955 
+ 00010578  0x000015ff rtn 
+ 00010579  0x00001602 jam  0x000000ff , 0x00008956 
+ 00010580  0x00001603 call  0x00002965 
+ 00010581  0x00001604 jam  0x000000df , 0x00008955 
+ 00010582  0x00001605 rtn 
+ 00010583  0x00001607 jam  0x000000ce , 0x00008956 
+ 00010584  0x00001608 call  0x00002965 
+ 00010585  0x00001609 jam  0x000000d8 , 0x00008955 
+ 00010586  0x0000160a rtn 
+ 00010587  0x0000160d jam  0x000000cb , 0x00008956 
+ 00010588  0x0000160e call  0x00002965 
+ 00010589  0x0000160f jam  0x000000d8 , 0x00008955 
+ 00010590  0x00001610 rtn 
+ 00010591  0x00001613 jam  0x000000d0 , 0x00008955 
+ 00010592  0x00001614 jam  0x000000c0 , 0x00008956 
+ 00010593  0x00001615 jam  0x0000004c , 0x00008957 
+ 00010594  0x00001616 jam  0x0000006c , 0x00008958 
+ 00010595  0x00001617 jam  0x00000050 , 0x00008959 
+ 00010596  0x00001618 rtn 
+ 00010597  0x0000161b nop  0x00000004 
+ 00010598  0x0000161c jam  0x000000d1 , 0x00008955 
+ 00010599  0x0000161d nop  0x00000004 
+ 00010600  0x0000161e jam  0x000000d2 , 0x00008955 
+ 00010601  0x0000161f nop  0x00000004 
+ 00010602  0x00001620 jam  0x000000d4 , 0x00008955 
+ 00010603  0x00001621 rtn 
+ 00010604  0x00001625 jam  0x00000006 , 0x00008042 
+ 00010605  0x00001627 fetch  0x00000002 , 0x000040c3 
+ 00010606  0x00001628 bbit0  0x0000000e , 0x0000296d 
+ 00010607  0x00001629 iforce  0x00000006 
+ 00010608  0x0000162a arg  0x00008900 , 0x00000002 
+ 00010609  0x0000162c ifetch  0x00000001 , 0x00000006 
+ 00010610  0x0000162d beq  0x000000ff , 0x00002977 
+ 00010611  0x0000162e ior  0x00000002 , 0x00000005 
+ 00010612  0x0000162f ifetch  0x00000001 , 0x00000006 
+ 00010613  0x00001630 istore  0x00000001 , 0x00000005 
+ 00010614  0x00001631 branch  0x00002971 
+ 00010615  0x00001633 bpatch  0x0000008a , 0x00004011 
+ 00010616  0x00001634 call  0x00002be5 
+ 00010617  0x00001635 call  0x000029c9 
+ 00010618  0x00001637 setarg  0x000007d0 
+ 00010619  0x00001638 iadd  0x00000022 , 0x0000003f 
+ 00010620  0x00001639 store  0x00000004 , 0x00000169 
+ 00010621  0x0000163a set1  0x00000003 , 0x00000015 
+ 00010622  0x0000163b force  0x00000000 , 0x00000015 
+ 00010623  0x0000163c ncall  0x00002998 , 0x0000002b 
+ 00010624  0x0000163d branch  0x000029ab 
+ 00010625  0x00001641 bpatch  0x0000008b , 0x00004011 
+ 00010626  0x00001642 setarg  0x00000960 
+ 00010627  0x00001643 iadd  0x00000011 , 0x00000002 
+ 00010628  0x00001644 fetch  0x00000001 , 0x000040bd 
+ 00010629  0x00001645 jam  0x00000004 , 0x0000895f 
+ 00010630  0x00001646 imul32  0x00000002 , 0x0000003f 
+ 00010631  0x00001647 fetcht  0x00000001 , 0x000040be 
+ 00010632  0x00001648 idiv  0x00000002 
+ 00010633  0x00001649 call  0x00007f86 
+ 00010634  0x0000164a quotient  0x00000011 
+ 00010635  0x0000164b remainder  0x0000003f 
+ 00010636  0x0000164c lshift16  0x0000003f , 0x0000003f 
+ 00010637  0x0000164d lshift4  0x0000003f , 0x0000003f 
+ 00010638  0x0000164e idiv  0x00000002 
+ 00010639  0x0000164f call  0x00007f86 
+ 00010640  0x00001650 quotient  0x0000003f 
+ 00010641  0x00001651 lshift8  0x0000003f , 0x0000003f 
+ 00010642  0x00001652 lshift  0x0000003f , 0x0000003f 
+ 00010643  0x00001653 ior  0x00000011 , 0x0000003f 
+ 00010644  0x00001654 hstore  0x00000004 , 0x00008960 
+ 00010645  0x00001655 jam  0x00000044 , 0x0000895f 
+ 00010646  0x00001656 jam  0x000000c4 , 0x0000895f 
+ 00010647  0x00001657 rtn 
+ 00010648  0x0000165b bpatch  0x0000008c , 0x00004011 
+ 00010649  0x0000165c jam  0x00000002 , 0x00008906 
+ 00010650  0x0000165d setarg  0x0003d090 
+ 00010651  0x0000165e call  0x00002a8f 
+ 00010652  0x0000165f jam  0x0000007f , 0x00008900 
+ 00010653  0x00001660 nop  0x00000082 
+ 00010654  0x00001661 jam  0x00000030 , 0x00008952 
+ 00010655  0x00001662 jam  0x000000d0 , 0x00008901 
+ 00010656  0x00001663 jam  0x00000070 , 0x00008952 
+ 00010657  0x00001664 jam  0x000000f0 , 0x00008952 
+ 00010658  0x00001665 force  0x00000032 , 0x00000039 
+ 00010659  0x00001667 hfetch  0x00000001 , 0x00008980 
+ 00010660  0x00001668 bbit1  0x00000005 , 0x000029a6 
+ 00010661  0x00001669 loop  0x000029a3 
+ 00010662  0x0000166b store  0x00000001 , 0x000040ce 
+ 00010663  0x0000166c jam  0x00000000 , 0x00008901 
+ 00010664  0x0000166d jam  0x00000000 , 0x00008900 
+ 00010665  0x0000166e jam  0x00000000 , 0x00008906 
+ 00010666  0x0000166f rtn 
+ 00010667  0x00001672 bpatch  0x0000008d , 0x00004011 
+ 00010668  0x00001673 fetch  0x00000001 , 0x000040ce 
+ 00010669  0x00001674 set1  0x00000005 , 0x0000003f 
+ 00010670  0x00001675 hstore  0x00000001 , 0x00008952 
+ 00010671  0x00001676 hfetcht  0x00000001 , 0x00008950 
+ 00010672  0x00001677 and_into  0x00000007 , 0x00000002 
+ 00010673  0x00001678 lshift3  0x0000003f , 0x0000003f 
+ 00010674  0x00001679 ior  0x00000002 , 0x0000003f 
+ 00010675  0x0000167a hstore  0x00000001 , 0x00008950 
+ 00010676  0x0000167b hfetch  0x00000001 , 0x00008951 
+ 00010677  0x0000167c set0  0x00000000 , 0x0000003f 
+ 00010678  0x0000167d hstore  0x00000001 , 0x00008951 
+ 00010679  0x0000167e hfetch  0x00000001 , 0x00008952 
+ 00010680  0x0000167f set0  0x00000005 , 0x0000003f 
+ 00010681  0x00001680 hstore  0x00000001 , 0x00008952 
+ 00010682  0x00001681 rtn 
+ 00010683  0x00001684 bpatch  0x0000008e , 0x00004011 
+ 00010684  0x00001685 hfetch  0x00000002 , 0x00008981 
+ 00010685  0x00001686 rshift4  0x0000003f , 0x0000003f 
+ 00010686  0x00001687 rshift3  0x0000003f , 0x0000003f 
+ 00010687  0x00001688 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00010688  0x0000168a and_into  0x000000ff , 0x0000003f 
+ 00010689  0x0000168b div  0x0000003f , 0x0000000a 
+ 00010690  0x0000168c call  0x00007f86 
+ 00010691  0x0000168d quotient  0x0000003f 
+ 00010692  0x0000168e lshift4  0x0000003f , 0x0000003f 
+ 00010693  0x0000168f remainder  0x00000002 
+ 00010694  0x00001690 ior  0x00000002 , 0x0000003f 
+ 00010695  0x00001691 store  0x00000001 , 0x00000018 
+ 00010696  0x00001692 rtn 
+ 00010697  0x00001696 jam  0x00000006 , 0x00008042 
+ 00010698  0x00001697 hfetch  0x00000001 , 0x0000896b 
+ 00010699  0x00001698 set0  0x00000004 , 0x0000003f 
+ 00010700  0x00001699 set0  0x00000005 , 0x0000003f 
+ 00010701  0x0000169a hstore  0x00000001 , 0x0000896b 
+ 00010702  0x0000169b jam  0x00000000 , 0x00008905 
+ 00010703  0x0000169c jam  0x00000000 , 0x00008904 
+ 00010704  0x0000169d jam  0x00000070 , 0x00008904 
+ 00010705  0x0000169e jam  0x000000ff , 0x00008905 
+ 00010706  0x0000169f hfetch  0x00000001 , 0x0000896b 
+ 00010707  0x000016a0 set1  0x00000004 , 0x0000003f 
+ 00010708  0x000016a1 set1  0x00000005 , 0x0000003f 
+ 00010709  0x000016a2 hstore  0x00000001 , 0x0000896b 
+ 00010710  0x000016a3 call  0x000029e9 
+ 00010711  0x000016a4 hfetch  0x00000001 , 0x00008968 
+ 00010712  0x000016a5 set1  0x00000007 , 0x0000003f 
+ 00010713  0x000016a6 hstore  0x00000001 , 0x00008968 
+ 00010714  0x000016a7 set0  0x00000007 , 0x0000003f 
+ 00010715  0x000016a8 hstore  0x00000001 , 0x00008968 
+ 00010716  0x000016a9 set1  0x00000007 , 0x0000003f 
+ 00010717  0x000016aa hstore  0x00000001 , 0x00008968 
+ 00010718  0x000016ab jam  0x00000005 , 0x00008042 
+ 00010719  0x000016ac nop  0x00000001 
+ 00010720  0x000016ad jam  0x00000004 , 0x00008042 
+ 00010721  0x000016ae hfetch  0x00000001 , 0x0000896b 
+ 00010722  0x000016af and_into  0x000000cf , 0x0000003f 
+ 00010723  0x000016b0 hstore  0x00000001 , 0x0000896b 
+ 00010724  0x000016b1 or_into  0x00000030 , 0x0000003f 
+ 00010725  0x000016b2 hstore  0x00000001 , 0x0000896b 
+ 00010726  0x000016b3 rtn 
+ 00010727  0x000016b7 setarg  0x00000f0f 
+ 00010728  0x000016b8 branch  0x00002c18 
+ 00010729  0x000016bb setarg  0x0000080f 
+ 00010730  0x000016bc branch  0x00002c18 
+ 00010731  0x000016c1 bpatch  0x0000008f , 0x00004011 
+ 00010732  0x000016c2 call  0x00002924 
+ 00010733  0x000016c3 disable  0x00000020 
+ 00010734  0x000016c4 enable  0x00000021 
+ 00010735  0x000016c5 pulse  0x00000016 
+ 00010736  0x000016c6 rtn 
+ 00010737  0x000016c9 bpatch  0x00000090 , 0x00004012 
+ 00010738  0x000016ca fetch  0x00000001 , 0x0000004c 
+ 00010739  0x000016cb isolate1  0x00000002 , 0x0000003f 
+ 00010740  0x000016cc setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00010741  0x000016cd hstore  0x00000001 , 0x00008011 
+ 00010742  0x000016ce arg  0x00000062 , 0x00000006 
+ 00010743  0x000016cf ifetch  0x00000009 , 0x00000006 
+ 00010744  0x000016d0 iforce  0x00000032 
+ 00010745  0x000016d1 ifetch  0x00000007 , 0x00000006 
+ 00010746  0x000016d2 iforce  0x00000033 
+ 00010747  0x000016d3 fetch  0x00000001 , 0x00000054 
+ 00010748  0x000016d4 add  0x0000003f , 0xffffffff , 0x00000034 
+ 00010749  0x000016d5 pulse  0x0000001a 
+ 00010750  0x000016d6 rtn 
+ 00010751  0x000016d9 deposit  0x0000001a 
+ 00010752  0x000016da store  0x00000006 , 0x0000009a 
+ 00010753  0x000016db disable  0x0000000d 
+ 00010754  0x000016dc nbranch  0x000028f9 , 0x00000018 
+ 00010755  0x000016dd arg  0x000003bb , 0x00000029 
+ 00010756  0x000016de increase  0x00000001 , 0x00000028 
+ 00010757  0x000016df and_into  0x000001fc , 0x00000028 
+ 00010758  0x000016e0 rtn 
+ 00010759  0x000016e5 enable  0x0000000d 
+ 00010760  0x000016e7 correlate  0x0000003e , 0x00000017 
+ 00010761  0x000016e8 branch  0x000029ff , 0x00000018 
+ 00010762  0x000016e9 compare  0x00000002 , 0x00000028 , 0x00000002 
+ 00010763  0x000016ea nbranch  0x00002a08 , 0x00000001 
+ 00010764  0x000016eb branch  0x000029ff 
+ 00010765  0x000016ee bpatch  0x00000091 , 0x00004012 
+ 00010766  0x000016ef arg  0x00000600 , 0x0000000b 
+ 00010767  0x000016f0 enable  0x0000000d 
+ 00010768  0x000016f1 correlate  0x00000023 , 0x00000026 
+ 00010769  0x000016f2 disable  0x0000000d 
+ 00010770  0x000016f3 nbranch  0x000028f9 , 0x00000018 
+ 00010771  0x000016f4 rtn 
+ 00010772  0x000016f7 bpatch  0x00000092 , 0x00004012 
+ 00010773  0x000016f8 enable  0x0000000d 
+ 00010774  0x000016f9 correlate  0x0000003e , 0x00000003 
+ 00010775  0x000016fa disable  0x0000000d 
+ 00010776  0x000016fb nbranch  0x000028f9 , 0x00000018 
+ 00010777  0x000016fc arg  0x000003bb , 0x00000029 
+ 00010778  0x000016fd and_into  0x000001fc , 0x00000028 
+ 00010779  0x000016fe rtn 
+ 00010780  0x00001702 bpatch  0x00000093 , 0x00004012 
+ 00010781  0x00001703 iforce  0x00000011 
+ 00010782  0x00001704 deposit  0x00000021 
+ 00010783  0x00001705 iadd  0x00000002 , 0x0000000b 
+ 00010784  0x00001706 copy  0x0000000b , 0x0000003f 
+ 00010785  0x00001707 store  0x00000004 , 0x000040ca 
+ 00010786  0x00001708 deposit  0x00000011 
+ 00010787  0x00001709 rtn 
+ 00010788  0x0000170d copy  0x0000003f , 0x00000002 
+ 00010789  0x0000170e bpatch  0x00000094 , 0x00004012 
+ 00010790  0x0000170f copy  0x00000002 , 0x0000003f 
+ 00010791  0x00001710 call  0x00007f50 
+ 00010792  0x00001711 lshift16  0x00000021 , 0x0000003f 
+ 00010793  0x00001712 set1  0x0000002c , 0x0000003f 
+ 00010794  0x00001713 call  0x00007f39 
+ 00010795  0x00001714 set0  0x0000002c , 0x0000003f 
+ 00010796  0x00001715 call  0x00002a77 
+ 00010797  0x00001716 call  0x00007f39 
+ 00010798  0x00001717 rtn  0x00000028 
+ 00010799  0x00001718 call  0x00007f43 
+ 00010800  0x00001719 iforce  0x0000001b 
+ 00010801  0x0000171a until  0x0000003e , 0x00000003 
+ 00010802  0x0000171b rtn 
+ 00010803  0x0000171f bpatch  0x00000095 , 0x00004012 
+ 00010804  0x00001720 branch  0x00002a38 , 0x00000030 
+ 00010805  0x00001721 until  0x00000029 , 0x00000026 
+ 00010806  0x00001723 copy  0x00000028 , 0x00000002 
+ 00010807  0x00001724 branch  0x00002a3b 
+ 00010808  0x00001726 branch  0x00002a3a , 0x0000002e 
+ 00010809  0x00001727 until  0x00000023 , 0x00000026 
+ 00010810  0x00001729 copy  0x00000022 , 0x00000002 
+ 00010811  0x0000172b branch  0x00002a47 , 0x00000028 
+ 00010812  0x0000172c compare  0x00000001 , 0x00000002 , 0x00000003 
+ 00010813  0x0000172d nbranch  0x00002a33 , 0x00000001 
+ 00010814  0x0000172f bpatch  0x00000096 , 0x00004012 
+ 00010815  0x00001730 fetch  0x00000001 , 0x00000030 
+ 00010816  0x00001731 rtnbit0  0x00000000 
+ 00010817  0x00001732 fetch  0x00000004 , 0x000040ca 
+ 00010818  0x00001733 isub  0x00000002 , 0x0000003f 
+ 00010819  0x00001734 nrtn  0x00000002 
+ 00010820  0x00001735 sub  0x0000003f , 0x000000ff , 0x0000003e 
+ 00010821  0x00001736 branch  0x00002a33 , 0x00000002 
+ 00010822  0x00001737 rtn 
+ 00010823  0x00001739 compare  0x00000003 , 0x00000002 , 0x00000003 
+ 00010824  0x0000173a nbranch  0x00002a33 , 0x00000001 
+ 00010825  0x0000173b branch  0x00002a3e 
+ 00010826  0x0000173e bpatch  0x00000097 , 0x00004012 
+ 00010827  0x0000173f arg  0x00000600 , 0x0000000b 
+ 00010828  0x00001740 branch  0x00002a33 
+ 00010829  0x00001743 disable  0x00000028 
+ 00010830  0x00001744 branch  0x00002a4a 
+ 00010831  0x00001747 enable  0x00000028 
+ 00010832  0x00001748 branch  0x00002a4a 
+ 00010833  0x0000174b bpatch  0x00000098 , 0x00004013 
+ 00010834  0x0000174c call  0x000029f1 
+ 00010835  0x0000174d disable  0x00000021 
+ 00010836  0x0000174e enable  0x00000020 
+ 00010837  0x0000174f rtn 
+ 00010838  0x00001754 bpatch  0x00000099 , 0x00004013 
+ 00010839  0x00001755 arg  0x00000e43 , 0x0000000b 
+ 00010840  0x00001756 until  0x00000023 , 0x00000026 
+ 00010841  0x00001757 pulse  0x00000016 
+ 00010842  0x00001758 rtn 
+ 00010843  0x0000175b bpatch  0x0000009a , 0x00004013 
+ 00010844  0x0000175c arg  0x00000d00 , 0x0000000b 
+ 00010845  0x0000175d until  0x00000023 , 0x00000026 
+ 00010846  0x0000175e rtn 
+ 00010847  0x00001762 bpatch  0x0000009b , 0x00004013 
+ 00010848  0x00001763 arg  0x00000e43 , 0x0000000b 
+ 00010849  0x00001764 until  0x00000029 , 0x00000026 
+ 00010850  0x00001765 pulse  0x00000016 
+ 00010851  0x00001766 rtn 
+ 00010852  0x00001769 bpatch  0x0000009c , 0x00004013 
+ 00010853  0x0000176a preload  0x00000009 
+ 00010854  0x0000176b enable  0x0000001d 
+ 00010855  0x0000176c set1  0x00000000 , 0x00000015 
+ 00010856  0x0000176d inject  0x00000003 , 0x00000048 
+ 00010857  0x0000176e disable  0x0000001d 
+ 00010858  0x0000176f rtn 
+ 00010859  0x00001773 copy  0x00000025 , 0x00000002 
+ 00010860  0x00001774 or_into  0x00000060 , 0x00000002 
+ 00010861  0x00001775 copy  0x00000002 , 0x0000000e 
+ 00010862  0x00001776 rtn 
+ 00010863  0x0000177c bpatch  0x0000009d , 0x00004013 
+ 00010864  0x0000177d fetch  0x00000001 , 0x00004090 
+ 00010865  0x0000177e increase  0x00000001 , 0x0000003f 
+ 00010866  0x0000177f bne  0x00000007 , 0x00002a74 
+ 00010867  0x00001780 force  0x00000001 , 0x0000003f 
+ 00010868  0x00001782 store  0x00000001 , 0x00004090 
+ 00010869  0x00001783 iforce  0x00000004 
+ 00010870  0x00001784 rtn 
+ 00010871  0x00001787 copy  0x00000019 , 0x00000002 
+ 00010872  0x00001788 rtn  0x00000029 
+ 00010873  0x00001789 copy  0x0000001a , 0x00000002 
+ 00010874  0x0000178a rtn 
+ 00010875  0x0000178d deposit  0x00000022 
+ 00010876  0x0000178e rtn  0x00000029 
+ 00010877  0x0000178f deposit  0x00000028 
+ 00010878  0x00001790 rtn 
+ 00010879  0x00001794 bpatch  0x0000009e , 0x00004013 
+ 00010880  0x00001795 fetcht  0x00000004 , 0x0000004d 
+ 00010881  0x00001796 call  0x00002a7b 
+ 00010882  0x00001797 isub  0x00000002 , 0x0000000b 
+ 00010883  0x00001798 deposit  0x0000000b 
+ 00010884  0x00001799 fetcht  0x00000002 , 0x00000051 
+ 00010885  0x0000179a lshift  0x00000002 , 0x00000002 
+ 00010886  0x0000179b isub  0x00000002 , 0x0000003f 
+ 00010887  0x0000179c rtn 
+ 00010888  0x0000179f bpatch  0x0000009f , 0x00004013 
+ 00010889  0x000017a0 call  0x00002a7b 
+ 00010890  0x000017a1 store  0x00000004 , 0x0000004d 
+ 00010891  0x000017a2 rtn 
+ 00010892  0x000017a5 bpatch  0x000000a0 , 0x00004014 
+ 00010893  0x000017a6 branch  0x00002a8c 
+ 00010894  0x000017a9 branch  0x00002a8e 
+ 00010895  0x000017ac rtn  0x00000034 
+ 00010896  0x000017ae rshift  0x0000003f , 0x0000003f 
+ 00010897  0x000017af increase  0xfffffffd , 0x0000003f 
+ 00010898  0x000017b1 increase  0xffffffff , 0x0000003f 
+ 00010899  0x000017b2 nbranch  0x00002a92 , 0x00000005 
+ 00010900  0x000017b3 force  0x00000000 , 0x0000003f 
+ 00010901  0x000017b4 rtn 
+ 00010902  0x000017ba arg  0x00000010 , 0x00000039 
+ 00010903  0x000017bb arg  0x00000000 , 0x00000005 
+ 00010904  0x000017bc call  0x00007ec6 
+ 00010905  0x000017bd arg  0x0000043f , 0x00000005 
+ 00010906  0x000017be arg  0x0000000a , 0x00000039 
+ 00010907  0x000017bf call  0x00007ec6 
+ 00010908  0x000017c0 jam  0x00000000 , 0x000009b2 
+ 00010909  0x000017c1 jam  0x00000000 , 0x00000a99 
+ 00010910  0x000017c2 jam  0x00000000 , 0x0000048c 
+ 00010911  0x000017c3 jam  0x00000000 , 0x0000017f 
+ 00010912  0x000017c4 jam  0x00000000 , 0x000004d1 
+ 00010913  0x000017c5 bpatch  0x000000a1 , 0x00004014 
+ 00010914  0x000017c6 jam  0x00000000 , 0x0000016d 
+ 00010915  0x000017c7 jam  0x00000000 , 0x00000151 
+ 00010916  0x000017c8 jam  0x00000000 , 0x0000015c 
+ 00010917  0x000017c9 setarg  0x009e8b33 
+ 00010918  0x000017ca store  0x00000003 , 0x000040a7 
+ 00010919  0x000017cb setarg  0x00000153 
+ 00010920  0x000017cc store  0x00000002 , 0x00000083 
+ 00010921  0x000017cd jam  0x0000001e , 0x00000085 
+ 00010922  0x000017ce jam  0x00000001 , 0x00000086 
+ 00010923  0x000017cf jam  0x00000007 , 0x00000088 
+ 00010924  0x000017d0 setarg  0x0012e904 
+ 00010925  0x000017d1 store  0x00000003 , 0x00000080 
+ 00010926  0x000017d6 jam  0x00000060 , 0x00000090 
+ 00010927  0x000017d7 jam  0x00000005 , 0x000040d0 
+ 00010928  0x000017d8 jam  0x00000002 , 0x00000014 
+ 00010929  0x000017d9 fetch  0x00000001 , 0x0000465a 
+ 00010930  0x000017da ncall  0x000074c1 , 0x00000034 
+ 00010931  0x000017db fetch  0x00000001 , 0x000044be 
+ 00010932  0x000017dc ncall  0x00007518 , 0x00000034 
+ 00010933  0x000017dd bpatch  0x000000a2 , 0x00004014 
+ 00010934  0x000017de rtn  0x0000002b 
+ 00010935  0x000017df setarg  0x00000000 
+ 00010936  0x000017e0 store  0x00000002 , 0x000041dc 
+ 00010937  0x000017e1 rshift  0x00000022 , 0x0000003f 
+ 00010938  0x000017e2 store  0x00000004 , 0x00004094 
+ 00010939  0x000017e3 rtn 
+ 00010940  0x000017eb setarg  0x0000ee21 
+ 00010941  0x000017ec hstore  0x00000002 , 0x00008050 
+ 00010942  0x000017ed hfetch  0x00000004 , 0x0000811c 
+ 00010943  0x000017ee store  0x00000004 , 0x00000abe 
+ 00010944  0x000017ef hfetch  0x00000001 , 0x0000813e 
+ 00010945  0x000017f0 store  0x00000001 , 0x00000abd 
+ 00010946  0x000017f1 bbit0  0x00000003 , 0x0000645b 
+ 00010947  0x000017f2 enable  0x0000002b 
+ 00010948  0x000017f3 bbit0  0x00000007 , 0x00002acc 
+ 00010949  0x000017f4 disable  0x0000002b 
+ 00010950  0x000017f5 deposit  0x00000027 
+ 00010951  0x000017f6 nbranch  0x00002acc , 0x00000034 
+ 00010952  0x000017f7 hfetch  0x00000001 , 0x0000813b 
+ 00010953  0x000017f8 bbit1  0x00000002 , 0x00002acc 
+ 00010954  0x000017f9 arg  0xffffffff , 0x00000002 
+ 00010955  0x000017fa branch  0x00002b3c 
+ 00010956  0x000017fc hfetch  0x00000003 , 0x0000813c 
+ 00010957  0x000017fd hstore  0x00000003 , 0x0000804c 
+ 00010958  0x000017fe ifetch  0x00000001 , 0x00000006 
+ 00010959  0x000017ff or_into  0x000000ef , 0x0000003f 
+ 00010960  0x00001800 istore  0x00000001 , 0x00000005 
+ 00010961  0x00001801 call  0x00002c23 
+ 00010962  0x00001802 hfetch  0x00000001 , 0x0000804f 
+ 00010963  0x00001803 set1  0x00000004 , 0x0000003f 
+ 00010964  0x00001804 hstore  0x00000001 , 0x0000804f 
+ 00010965  0x00001805 call  0x00002c23 
+ 00010966  0x00001806 call  0x00002adf , 0x0000002b 
+ 00010967  0x00001807 hfetch  0x00000001 , 0x0000804e 
+ 00010968  0x00001808 set0  0x00000003 , 0x0000003f 
+ 00010969  0x00001809 hstore  0x00000001 , 0x0000804e 
+ 00010970  0x0000180a call  0x00002c23 
+ 00010971  0x0000180b nbranch  0x0000645b , 0x0000002b 
+ 00010972  0x0000180c rtnmark0  0x0000002b 
+ 00010973  0x0000180d jam  0x00000008 , 0x00008006 
+ 00010974  0x0000180e rtn 
+ 00010975  0x00001811 fetch  0x00000001 , 0x00004198 
+ 00010976  0x00001812 hstore  0x00000001 , 0x00008086 
+ 00010977  0x00001813 fetch  0x00000003 , 0x0000418d 
+ 00010978  0x00001814 hstore  0x00000003 , 0x00008080 
+ 00010979  0x00001815 fetch  0x00000004 , 0x00004181 
+ 00010980  0x00001816 hstore  0x00000004 , 0x00008074 
+ 00010981  0x00001817 fetch  0x00000004 , 0x0000417d 
+ 00010982  0x00001818 hstore  0x00000004 , 0x00008070 
+ 00010983  0x00001819 fetch  0x00000008 , 0x00004185 
+ 00010984  0x0000181a hstore  0x00000008 , 0x00008078 
+ 00010985  0x0000181b fetch  0x00000008 , 0x00004190 
+ 00010986  0x0000181c iforce  0x00000000 
+ 00010987  0x0000181d hfetch  0x00000008 , 0x00008140 
+ 00010988  0x0000181e store  0x00000008 , 0x000000a1 
+ 00010989  0x0000181f call  0x000064ca 
+ 00010990  0x00001820 rtn 
+ 00010991  0x00001823 deposit  0x00000000 
+ 00010992  0x00001824 store  0x00000008 , 0x00004190 
+ 00010993  0x00001825 hfetch  0x00000008 , 0x00008070 
+ 00010994  0x00001826 store  0x00000008 , 0x0000417d 
+ 00010995  0x00001827 ifetch  0x00000008 , 0x00000006 
+ 00010996  0x00001828 istore  0x00000008 , 0x00000005 
+ 00010997  0x00001829 hfetch  0x00000003 , 0x00008080 
+ 00010998  0x0000182a store  0x00000003 , 0x0000418d 
+ 00010999  0x0000182b hfetch  0x00000001 , 0x00008086 
+ 00011000  0x0000182c store  0x00000001 , 0x00004198 
+ 00011001  0x0000182d branch  0x00002c29 
+ 00011002  0x00001830 hfetch  0x00000001 , 0x00008063 
+ 00011003  0x00001831 nbranch  0x00002b00 , 0x00000034 
+ 00011004  0x00001832 fetch  0x00000003 , 0x0000416f 
+ 00011005  0x00001833 nrtn  0x00000034 
+ 00011006  0x00001834 jam  0x000000c0 , 0x00008063 
+ 00011007  0x00001835 jam  0x00000080 , 0x00008006 
+ 00011008  0x00001837 hfetch  0x00000001 , 0x0000812d 
+ 00011009  0x00001838 rtnbit0  0x00000001 
+ 00011010  0x00001839 hfetch  0x00000003 , 0x00008149 
+ 00011011  0x0000183a store  0x00000003 , 0x0000416f 
+ 00011012  0x0000183b rtn 
+ 00011013  0x00001840 bpatch  0x000000a3 , 0x00004014 
+ 00011014  0x00001841 deposit  0x0000001a 
+ 00011015  0x00001842 call  0x00007f37 
+ 00011016  0x00001843 fetcht  0x00000004 , 0x0000415f 
+ 00011017  0x00001844 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00011018  0x00001845 rtn  0x00000002 
+ 00011019  0x00001846 lshift8  0x0000003f , 0x0000003f 
+ 00011020  0x00001847 lshift4  0x0000003f , 0x0000003f 
+ 00011021  0x00001848 idiv  0x00000002 
+ 00011022  0x00001849 call  0x00007f86 
+ 00011023  0x0000184a quotient  0x0000003f 
+ 00011024  0x0000184b arg  0x000000c8 , 0x00000002 
+ 00011025  0x0000184c call  0x00007f91 
+ 00011026  0x0000184d store  0x00000001 , 0x00000099 
+ 00011027  0x0000184e nbranch  0x00002b15 , 0x00000028 
+ 00011028  0x0000184f sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00011029  0x00001851 fetcht  0x00000003 , 0x0000416f 
+ 00011030  0x00001852 iadd  0x00000002 , 0x0000003f 
+ 00011031  0x00001853 store  0x00000003 , 0x0000416f 
+ 00011032  0x00001855 setarg  0x00000000 
+ 00011033  0x00001856 store  0x00000004 , 0x0000415f 
+ 00011034  0x00001857 rtn 
+ 00011035  0x0000185c fetch  0x00000001 , 0x00004177 
+ 00011036  0x0000185d set1  0x00000002 , 0x0000003f 
+ 00011037  0x0000185e store  0x00000001 , 0x00004177 
+ 00011038  0x0000185f branch  0x00002b23 
+ 00011039  0x00001864 arg  0xffffffff , 0x00000002 
+ 00011040  0x00001865 fetch  0x00000001 , 0x00004176 
+ 00011041  0x00001866 set0  0x00000007 , 0x0000003f 
+ 00011042  0x00001867 store  0x00000001 , 0x00004176 
+ 00011043  0x00001869 bpatch  0x000000a4 , 0x00004014 
+ 00011044  0x0000186a call  0x00002c29 
+ 00011045  0x0000186b fetch  0x00000001 , 0x00004157 
+ 00011046  0x0000186c store  0x00000001 , 0x0000417c 
+ 00011047  0x0000186d fetch  0x00000001 , 0x0000417a 
+ 00011048  0x0000186e set1  0x00000007 , 0x0000003f 
+ 00011049  0x0000186f store  0x00000001 , 0x0000417a 
+ 00011050  0x00001873 bpatch  0x000000a5 , 0x00004014 
+ 00011051  0x00001874 call  0x000029e7 
+ 00011052  0x00001875 fetch  0x00000004 , 0x0000415f 
+ 00011053  0x00001876 iadd  0x00000002 , 0x0000003f 
+ 00011054  0x00001877 store  0x00000004 , 0x0000415f 
+ 00011055  0x00001878 call  0x00002aef 
+ 00011056  0x00001879 fetch  0x00000005 , 0x00004178 
+ 00011057  0x0000187a hstore  0x00000004 , 0x0000804c 
+ 00011058  0x0000187b rshift32  0x0000003f , 0x00000011 
+ 00011059  0x0000187c until  0x0000003e , 0x00000033 
+ 00011060  0x0000187d deposit  0x00000019 
+ 00011061  0x0000187e store  0x00000006 , 0x00004163 
+ 00011062  0x0000187f jam  0x00000002 , 0x00008005 
+ 00011063  0x00001880 until  0x0000003e , 0x00000033 
+ 00011064  0x00001881 until  0x0000003e , 0x00000033 
+ 00011065  0x00001882 deposit  0x00000011 
+ 00011066  0x00001883 hstore  0x00000001 , 0x0000804f 
+ 00011067  0x00001884 jam  0x00000002 , 0x00008005 
+ 00011068  0x00001886 until  0x0000003e , 0x00000033 
+ 00011069  0x00001887 until  0x0000003e , 0x00000033 
+ 00011070  0x00001888 hstoret  0x00000004 , 0x0000804c 
+ 00011071  0x00001889 jam  0x00000010 , 0x00008005 
+ 00011072  0x0000188a until  0x0000003e , 0x0000003f 
+ 00011073  0x00001890 bpatch  0x000000a6 , 0x00004014 
+ 00011074  0x00001891 setarg  0x00000000 
+ 00011075  0x00001892 copy  0x00000027 , 0x0000003e 
+ 00011076  0x00001893 branch  0x00002b4c , 0x00000005 
+ 00011077  0x00001894 hfetch  0x00000001 , 0x0000813c 
+ 00011078  0x00001895 hfetcht  0x00000001 , 0x0000813d 
+ 00011079  0x00001896 isub  0x00000002 , 0x0000003e 
+ 00011080  0x00001897 branch  0x00002b4a , 0x00000002 
+ 00011081  0x00001898 deposit  0x00000002 
+ 00011082  0x0000189a isub  0x00000027 , 0x0000003f 
+ 00011083  0x0000189b increase  0x00000001 , 0x0000003f 
+ 00011084  0x0000189d increase  0x00000008 , 0x0000003f 
+ 00011085  0x0000189e until  0x0000003e , 0x00000033 
+ 00011086  0x0000189f iadd  0x00000031 , 0x0000003f 
+ 00011087  0x000018a0 fetcht  0x00000004 , 0x0000415b 
+ 00011088  0x000018a1 iadd  0x00000002 , 0x0000003f 
+ 00011089  0x000018a2 fetcht  0x00000003 , 0x0000416f 
+ 00011090  0x000018a3 imul32  0x00000002 , 0x0000003f 
+ 00011091  0x000018a4 rshift8  0x0000003f , 0x0000003f 
+ 00011092  0x000018a5 rshift4  0x0000003f , 0x0000003f 
+ 00011093  0x000018a6 increase  0x0000006e , 0x0000003f 
+ 00011094  0x000018a7 arg  0x00000ea6 , 0x00000002 
+ 00011095  0x000018a8 idiv  0x00000002 
+ 00011096  0x000018a9 call  0x00007f86 
+ 00011097  0x000018aa quotient  0x0000003f 
+ 00011098  0x000018ab lshift16  0x0000003f , 0x0000003f 
+ 00011099  0x000018ac remainder  0x00000002 
+ 00011100  0x000018ad ior  0x00000002 , 0x0000003f 
+ 00011101  0x000018ae fetcht  0x00000006 , 0x00004163 
+ 00011102  0x000018af call  0x00007f2c 
+ 00011103  0x000018b0 copy  0x00000002 , 0x00000019 
+ 00011104  0x000018b1 fetch  0x00000006 , 0x00004048 
+ 00011105  0x000018b2 call  0x00002854 
+ 00011106  0x000018b3 deposit  0x0000001a 
+ 00011107  0x000018b4 store  0x00000006 , 0x00000a9a 
+ 00011108  0x000018b5 deposit  0x00000027 
+ 00011109  0x000018b6 istore  0x00000001 , 0x00000005 
+ 00011110  0x000018b7 hfetch  0x00000001 , 0x0000811d 
+ 00011111  0x000018b8 or_into  0x000000f0 , 0x0000003f 
+ 00011112  0x000018b9 istore  0x00000001 , 0x00000005 
+ 00011113  0x000018ba rtn 
+ 00011114  0x000018bd bpatch  0x000000a7 , 0x00004014 
+ 00011115  0x000018be call  0x00002afa 
+ 00011116  0x000018bf fetch  0x00000003 , 0x0000416f 
+ 00011117  0x000018c0 rtn  0x00000034 
+ 00011118  0x000018c1 fetch  0x00000001 , 0x00004091 
+ 00011119  0x000018c2 rtn  0x00000034 
+ 00011120  0x000018c3 fetch  0x00000001 , 0x0000465a 
+ 00011121  0x000018c4 branch  0x00002b74 , 0x00000034 
+ 00011122  0x000018c5 fetch  0x00000001 , 0x000045b1 
+ 00011123  0x000018c6 rtn  0x00000034 
+ 00011124  0x000018c8 fetch  0x00000001 , 0x000044c0 
+ 00011125  0x000018c9 nrtn  0x00000034 
+ 00011126  0x000018ca call  0x00002c3a 
+ 00011127  0x000018cb nrtn  0x00000034 
+ 00011128  0x000018cc fetch  0x00000001 , 0x00004040 
+ 00011129  0x000018cd compare  0x00000003 , 0x0000003f , 0x00000007 
+ 00011130  0x000018ce nbranch  0x00002b9d , 0x00000001 
+ 00011131  0x000018cf fetch  0x00000002 , 0x00004042 
+ 00011132  0x000018d0 rtn  0x00000034 
+ 00011133  0x000018d1 rtn  0x0000002b 
+ 00011134  0x000018d2 bpatch  0x000000a8 , 0x00004015 
+ 00011135  0x000018d4 fetcht  0x00000001 , 0x000000a0 
+ 00011136  0x000018d5 fetch  0x00000002 , 0x00004042 
+ 00011137  0x000018d6 imul32  0x00000002 , 0x0000003f 
+ 00011138  0x000018d7 rshift4  0x00000002 , 0x00000002 
+ 00011139  0x000018d8 rshift2  0x00000002 , 0x00000002 
+ 00011140  0x000018d9 isub  0x00000002 , 0x0000003f 
+ 00011141  0x000018da fetcht  0x00000004 , 0x00004044 
+ 00011142  0x000018db iadd  0x00000002 , 0x0000003f 
+ 00011143  0x000018dc fetcht  0x00000001 , 0x00004156 
+ 00011144  0x000018dd isub  0x00000002 , 0x0000003f 
+ 00011145  0x000018de lshift16  0x0000003f , 0x00000030 
+ 00011146  0x000018df bpatch  0x000000a9 , 0x00004015 
+ 00011147  0x000018e0 fetch  0x00000002 , 0x0000404e 
+ 00011148  0x000018e1 rshift  0x0000003f , 0x0000003f 
+ 00011149  0x000018e2 call  0x00007f50 
+ 00011150  0x000018e3 deposit  0x00000030 
+ 00011151  0x000018e4 call  0x00007f39 
+ 00011152  0x000018e5 copy  0x0000001a , 0x00000002 
+ 00011153  0x000018e6 call  0x00007f37 
+ 00011154  0x000018e7 rtn  0x00000028 
+ 00011155  0x000018e9 call  0x00007f49 
+ 00011156  0x000018eb bpatch  0x000000aa , 0x00004015 
+ 00011157  0x000018ec fetch  0x00000001 , 0x00004178 
+ 00011158  0x000018ed isub  0x00000002 , 0x0000003e 
+ 00011159  0x000018ee branch  0x00002b18 , 0x00000002 
+ 00011160  0x000018ef storet  0x00000004 , 0x0000415b 
+ 00011161  0x000018f0 call  0x00003328 
+ 00011162  0x000018f1 call  0x000052fb 
+ 00011163  0x000018f2 fetcht  0x00000004 , 0x0000415b 
+ 00011164  0x000018f3 branch  0x00002b2a 
+ 00011165  0x000018f6 bpatch  0x000000ab , 0x00004015 
+ 00011166  0x000018f7 fetch  0x00000001 , 0x00004040 
+ 00011167  0x000018f8 rtnbit1  0x00000000 
+ 00011168  0x000018f9 rtnbit1  0x00000003 
+ 00011169  0x000018fa fetch  0x00000001 , 0x0000465a 
+ 00011170  0x000018fb branch  0x00002ba5 , 0x00000034 
+ 00011171  0x000018fc fetch  0x00000001 , 0x000045b1 
+ 00011172  0x000018fd rtn  0x00000034 
+ 00011173  0x000018ff bpatch  0x000000ac , 0x00004015 
+ 00011174  0x00001900 fetch  0x00000001 , 0x0000436e 
+ 00011175  0x00001901 nbranch  0x00002baa , 0x00000034 
+ 00011176  0x00001902 fetch  0x00000001 , 0x00004093 
+ 00011177  0x00001903 rtn  0x00000034 
+ 00011178  0x00001905 fetch  0x00000002 , 0x00004154 
+ 00011179  0x00001906 rtn  0x00000034 
+ 00011180  0x00001908 fetcht  0x00000001 , 0x00004156 
+ 00011181  0x00001909 isub  0x00000002 , 0x0000003f 
+ 00011182  0x0000190a arg  0x00001d4c , 0x00000002 
+ 00011183  0x0000190b imul32  0x00000002 , 0x0000003f 
+ 00011184  0x0000190c branch  0x00002b93 
+ 00011185  0x0000190f bpatch  0x000000ad , 0x00004015 
+ 00011186  0x00001910 disable  0x0000002b 
+ 00011187  0x00001911 fetch  0x00000001 , 0x00000030 
+ 00011188  0x00001912 rtnbit0  0x00000001 
+ 00011189  0x00001913 nbranch  0x00002bd0 , 0x0000002d 
+ 00011190  0x00001914 call  0x00002bcb 
+ 00011191  0x00001915 fetch  0x00000002 , 0x000040c1 
+ 00011192  0x00001916 store  0x00000002 , 0x0000003e 
+ 00011193  0x00001917 fetch  0x00000001 , 0x00000047 
+ 00011194  0x00001918 bbit1  0x00000003 , 0x00002bde 
+ 00011195  0x00001919 bmark0  0x0000000d , 0x00002bde 
+ 00011196  0x0000191a call  0x00005274 
+ 00011197  0x0000191b nbranch  0x00002bde , 0x00000034 
+ 00011198  0x0000191c fetch  0x00000001 , 0x0000455c 
+ 00011199  0x0000191d bbit1  0x00000001 , 0x00002bde 
+ 00011200  0x0000191f jam  0x00000000 , 0x000000a0 
+ 00011201  0x00001920 bmark0  0x0000000d , 0x00002bde 
+ 00011202  0x00001921 fetch  0x00000001 , 0x00004174 
+ 00011203  0x00001922 branch  0x00002be2 , 0x00000034 
+ 00011204  0x00001923 increase  0xffffffff , 0x0000003f 
+ 00011205  0x00001924 store  0x00000001 , 0x00004174 
+ 00011206  0x00001925 rtn 
+ 00011207  0x00001929 arg  0x00000001 , 0x00000007 
+ 00011208  0x0000192a branch  0x000060cd 
+ 00011209  0x0000192d arg  0x00000001 , 0x00000007 
+ 00011210  0x0000192e branch  0x000060d1 
+ 00011211  0x00001933 jam  0x00000000 , 0x00004159 
+ 00011212  0x00001934 fetch  0x00000003 , 0x00004169 
+ 00011213  0x00001935 increase  0x00000001 , 0x0000003f 
+ 00011214  0x00001936 store  0x00000003 , 0x00004169 
+ 00011215  0x00001937 rtn 
+ 00011216  0x0000193a bpatch  0x000000ae , 0x00004015 
+ 00011217  0x0000193b fetcht  0x00000002 , 0x000040c1 
+ 00011218  0x0000193c rshift  0x00000002 , 0x00000002 
+ 00011219  0x0000193d fetch  0x00000002 , 0x0000003e 
+ 00011220  0x0000193e iadd  0x00000002 , 0x0000003f 
+ 00011221  0x0000193f store  0x00000002 , 0x0000003e 
+ 00011222  0x00001941 jam  0x00000000 , 0x000000a0 
+ 00011223  0x00001942 fetch  0x00000003 , 0x0000416c 
+ 00011224  0x00001943 increase  0x00000001 , 0x0000003f 
+ 00011225  0x00001944 store  0x00000003 , 0x0000416c 
+ 00011226  0x00001945 fetch  0x00000001 , 0x00004159 
+ 00011227  0x00001946 increase  0x00000001 , 0x0000003f 
+ 00011228  0x00001947 store  0x00000001 , 0x00004159 
+ 00011229  0x00001948 rtn 
+ 00011230  0x0000194b jam  0x00000000 , 0x000000a0 
+ 00011231  0x0000194c fetch  0x00000001 , 0x00004173 
+ 00011232  0x0000194d store  0x00000001 , 0x00004174 
+ 00011233  0x0000194e rtn 
+ 00011234  0x00001951 fetcht  0x00000001 , 0x00004172 
+ 00011235  0x00001952 storet  0x00000001 , 0x000000a0 
+ 00011236  0x00001953 rtn 
+ 00011237  0x00001956 bpatch  0x000000af , 0x00004015 
+ 00011238  0x00001957 fetch  0x00000001 , 0x00004178 
+ 00011239  0x00001958 nrtn  0x00000034 
+ 00011240  0x00001959 jam  0x00000006 , 0x00008042 
+ 00011241  0x0000195a setarg  0x00000f0c 
+ 00011242  0x0000195b call  0x00002c18 
+ 00011243  0x0000195c setarg  0x00030d40 
+ 00011244  0x0000195d call  0x00002a8f 
+ 00011245  0x0000195e until  0x0000003e , 0x00000033 
+ 00011246  0x0000195f copy  0x00000031 , 0x00000030 
+ 00011247  0x00001960 call  0x000029e7 
+ 00011248  0x00001961 jam  0x00000004 , 0x00008042 
+ 00011249  0x00001962 nop  0x0000000a 
+ 00011250  0x00001963 until  0x0000003e , 0x00000033 
+ 00011251  0x00001964 deposit  0x00000031 
+ 00011252  0x00001965 isub  0x00000030 , 0x0000003f 
+ 00011253  0x00001966 increase  0x00000030 , 0x0000003f 
+ 00011254  0x00001967 arg  0x000000ff , 0x00000002 
+ 00011255  0x00001968 call  0x00007f91 
+ 00011256  0x00001969 store  0x00000001 , 0x00004178 
+ 00011257  0x0000196a nop  0x00007530 
+ 00011258  0x0000196b nop  0x00007530 
+ 00011259  0x0000196c nop  0x00007530 
+ 00011260  0x0000196d rtn 
+ 00011261  0x00001970 fetch  0x00000001 , 0x00004178 
+ 00011262  0x00001971 nrtn  0x00000034 
+ 00011263  0x00001972 jam  0x000000ff , 0x00008044 
+ 00011264  0x00001973 jam  0x00000006 , 0x00008042 
+ 00011265  0x00001974 call  0x000029e7 
+ 00011266  0x00001975 setarg  0x000003e8 
+ 00011267  0x00001976 iadd  0x00000031 , 0x00000030 
+ 00011268  0x00001977 snooze 
+ 00011269  0x00001978 deposit  0x00000031 
+ 00011270  0x00001979 nop  0x00002ee0 
+ 00011271  0x0000197a nop  0x00002ee0 
+ 00011272  0x0000197b nop  0x00002ee0 
+ 00011273  0x0000197c nop  0x00002ee0 
+ 00011274  0x0000197d nop  0x00002ee0 
+ 00011275  0x0000197e nop  0x00002ee0 
+ 00011276  0x0000197f nop  0x00002ee0 
+ 00011277  0x00001980 nop  0x00002ee0 
+ 00011278  0x00001981 nop  0x00002ee0 
+ 00011279  0x00001982 isub  0x00000030 , 0x0000003f 
+ 00011280  0x00001983 add  0x0000003f , 0x00000030 , 0x0000003f 
+ 00011281  0x00001984 arg  0x000000ff , 0x00000002 
+ 00011282  0x00001985 call  0x00007f91 
+ 00011283  0x00001986 store  0x00000001 , 0x00004178 
+ 00011284  0x00001987 nop  0x00007530 
+ 00011285  0x00001988 nop  0x00007530 
+ 00011286  0x00001989 nop  0x00007530 
+ 00011287  0x0000198a rtn 
+ 00011288  0x00001990 arg  0x00000fff , 0x00000005 
+ 00011289  0x00001991 iand  0x00000005 , 0x00000005 
+ 00011290  0x00001992 fetch  0x00000001 , 0x00004175 
+ 00011291  0x00001993 and_into  0x000000f0 , 0x0000003f 
+ 00011292  0x00001994 lshift8  0x0000003f , 0x0000003f 
+ 00011293  0x00001995 ior  0x00000005 , 0x0000003f 
+ 00011294  0x00001996 hstore  0x00000002 , 0x0000804c 
+ 00011295  0x00001997 ifetch  0x00000002 , 0x00000006 
+ 00011296  0x00001998 istore  0x00000002 , 0x00000005 
+ 00011297  0x0000199b setarg  0x00000001 
+ 00011298  0x0000199c branch  0x00002c24 
+ 00011299  0x0000199f setarg  0x00000002 
+ 00011300  0x000019a1 until  0x0000003e , 0x00000033 
+ 00011301  0x000019a2 hstore  0x00000001 , 0x00008005 
+ 00011302  0x000019a3 until  0x0000003e , 0x00000033 
+ 00011303  0x000019a4 until  0x0000003e , 0x00000033 
+ 00011304  0x000019a5 rtn 
+ 00011305  0x000019a9 bpatch  0x000000b0 , 0x00004016 
+ 00011306  0x000019aa fetch  0x00000004 , 0x000000a1 
+ 00011307  0x000019ab hstore  0x00000004 , 0x0000804c 
+ 00011308  0x000019ac setarg  0x00000004 
+ 00011309  0x000019ad call  0x00002c24 
+ 00011310  0x000019ae fetch  0x00000004 , 0x000000a5 
+ 00011311  0x000019af hstore  0x00000004 , 0x0000804c 
+ 00011312  0x000019b0 setarg  0x00000008 
+ 00011313  0x000019b1 branch  0x00002c24 
+ 00011314  0x000019b4 fetch  0x00000002 , 0x00004152 
+ 00011315  0x000019b5 qset1  0x0000003f 
+ 00011316  0x000019b6 store  0x00000002 , 0x00004152 
+ 00011317  0x000019b7 rtn 
+ 00011318  0x000019ba fetch  0x00000002 , 0x00004152 
+ 00011319  0x000019bb qset0  0x0000003f 
+ 00011320  0x000019bc store  0x00000002 , 0x00004152 
+ 00011321  0x000019bd rtn 
+ 00011322  0x000019c2 bpatch  0x000000b1 , 0x00004016 
+ 00011323  0x000019c3 call  0x00003326 
+ 00011324  0x000019c4 fetch  0x00000002 , 0x00004152 
+ 00011325  0x000019c5 copy  0x0000003f , 0x00000011 
+ 00011326  0x000019c6 fetch  0x00000001 , 0x0000004c 
+ 00011327  0x000019c7 isolate1  0x00000006 , 0x0000003f 
+ 00011328  0x000019c8 setflag  0x00000001 , 0x0000000b , 0x00000011 
+ 00011329  0x000019c9 fetch  0x00000001 , 0x00000078 
+ 00011330  0x000019ca fetcht  0x00000001 , 0x0000007c 
+ 00011331  0x000019cb iadd  0x00000002 , 0x0000003f 
+ 00011332  0x000019cc fetcht  0x00000001 , 0x00000048 
+ 00011333  0x000019cd iadd  0x00000002 , 0x0000003f 
+ 00011334  0x000019ce nsetflag  0x00000034 , 0x0000000a , 0x00000011 
+ 00011335  0x000019cf fetch  0x00000001 , 0x000044ff 
+ 00011336  0x000019d0 nsetflag  0x00000034 , 0x00000001 , 0x00000011 
+ 00011337  0x000019d1 fetch  0x00000002 , 0x0000025d 
+ 00011338  0x000019d2 fetcht  0x00000002 , 0x0000025f 
+ 00011339  0x000019d3 iadd  0x00000002 , 0x0000003f 
+ 00011340  0x000019d4 nsetflag  0x00000034 , 0x0000000d , 0x00000011 
+ 00011341  0x000019d5 fetch  0x00000008 , 0x00004668 
+ 00011342  0x000019d6 nsetflag  0x00000034 , 0x0000000f , 0x00000011 
+ 00011343  0x000019d7 fetch  0x00000008 , 0x00004670 
+ 00011344  0x000019d8 nsetflag  0x00000034 , 0x0000000e , 0x00000011 
+ 00011345  0x000019d9 fetch  0x00000001 , 0x000041ce 
+ 00011346  0x000019da nsetflag  0x00000034 , 0x00000008 , 0x00000011 
+ 00011347  0x000019db fetch  0x00000001 , 0x00004092 
+ 00011348  0x000019dc compare  0x0000000a , 0x0000003f , 0x000000ff 
+ 00011349  0x000019dd call  0x00002c5b , 0x00000001 
+ 00011350  0x000019de setarg  0xfffffff8 
+ 00011351  0x000019df iand  0x00000011 , 0x00000011 
+ 00011352  0x000019e0 copy  0x00000011 , 0x0000003f 
+ 00011353  0x000019e1 store  0x00000002 , 0x00004152 
+ 00011354  0x000019e2 rtn 
+ 00011355  0x000019e5 hfetch  0x00000002 , 0x00008112 
+ 00011356  0x000019e6 nsetflag  0x00000034 , 0x00000006 , 0x00000011 
+ 00011357  0x000019e7 hfetch  0x00000002 , 0x0000810e 
+ 00011358  0x000019e8 nsetflag  0x00000034 , 0x00000005 , 0x00000011 
+ 00011359  0x000019e9 rtn 
+ 00011360  0x000019ec hfetch  0x00000004 , 0x00008138 
+ 00011361  0x000019ed set0  0x0000001b , 0x0000003f 
+ 00011362  0x000019ee hstore  0x00000004 , 0x0000804c 
+ 00011363  0x000019ef call  0x00002c21 
+ 00011364  0x000019f0 branch  0x00002a8c 
+ 00011365  0x000019f3 hfetch  0x00000004 , 0x0000813c 
+ 00011366  0x000019f4 set0  0x00000014 , 0x0000003f 
+ 00011367  0x000019f5 hstore  0x00000004 , 0x0000804c 
+ 00011368  0x000019f6 branch  0x00002c23 
+ 00011369  0x000019f9 fetch  0x00000002 , 0x00004150 
+ 00011370  0x000019fa bbit1  0x00000000 , 0x00002a8c 
+ 00011371  0x000019fb rtn 
+ 00011372  0x000019fd fetch  0x00000002 , 0x00004150 
+ 00011373  0x000019fe bbit1  0x00000001 , 0x00002a8c 
+ 00011374  0x000019ff rtn 
+ 00011375  0x00001a01 fetch  0x00000002 , 0x00004150 
+ 00011376  0x00001a02 bbit1  0x00000002 , 0x00002a8c 
+ 00011377  0x00001a03 rtn 
+ 00011378  0x00001a41 bpatch  0x000000b2 , 0x00004016 
+ 00011379  0x00001a42 call  0x00002c7a 
+ 00011380  0x00001a43 add  0x00000013 , 0x000000cd , 0x00000012 
+ 00011381  0x00001a44 ifetch  0x00000001 , 0x00000012 
+ 00011382  0x00001a46 rtneq  0x00000000 
+ 00011383  0x00001a47 beq  0x00000001 , 0x00002d06 
+ 00011384  0x00001a48 beq  0x00000002 , 0x00002c7f 
+ 00011385  0x00001a49 rtn 
+ 00011386  0x00001a4c fetcht  0x00000002 , 0x00004241 
+ 00011387  0x00001a4d copy  0x00000002 , 0x00000013 
+ 00011388  0x00001a4e rtn 
+ 00011389  0x00001a51 call  0x00002f3d 
+ 00011390  0x00001a52 branch  0x0000307d 
+ 00011391  0x00001a55 call  0x00003084 
+ 00011392  0x00001a56 call  0x0000305a 
+ 00011393  0x00001a57 call  0x0000305e 
+ 00011394  0x00001a58 branch  0x000030a2 
+ 00011395  0x00001a5e call  0x00003231 
+ 00011396  0x00001a5f setarg  0x0000004e 
+ 00011397  0x00001a60 call  0x0000322f 
+ 00011398  0x00001a61 call  0x000032ba 
+ 00011399  0x00001a64 add  0x00000013 , 0x00000092 , 0x00000011 
+ 00011400  0x00001a65 ifetch  0x00000004 , 0x00000011 
+ 00011401  0x00001a66 branch  0x0000322c 
+ 00011402  0x00001a69 call  0x00002c7a 
+ 00011403  0x00001a6a add  0x00000013 , 0x00000091 , 0x00000012 
+ 00011404  0x00001a6b ifetcht  0x00000001 , 0x00000012 
+ 00011405  0x00001a6d call  0x00002c90 
+ 00011406  0x00001a6e add  0x00000013 , 0x00000091 , 0x00000005 
+ 00011407  0x00001a70 branch  0x00002e56 
+ 00011408  0x00001a73 call  0x00002c94 
+ 00011409  0x00001a74 increase  0x00000001 , 0x00000002 
+ 00011410  0x00001a75 and_into  0x00000003 , 0x00000002 
+ 00011411  0x00001a76 rtn 
+ 00011412  0x00001a79 add  0x00000013 , 0x000000ae , 0x00000012 
+ 00011413  0x00001a7a ifetch  0x00000001 , 0x00000012 
+ 00011414  0x00001a7c and_into  0x00000003 , 0x0000003f 
+ 00011415  0x00001a7d mul32  0x0000003f , 0x00000004 , 0x00000011 
+ 00011416  0x00001a7e add  0x00000013 , 0x00000097 , 0x0000003f 
+ 00011417  0x00001a80 iadd  0x00000011 , 0x0000003f 
+ 00011418  0x00001a81 iadd  0x00000002 , 0x00000006 
+ 00011419  0x00001a82 ifetch  0x00000001 , 0x00000006 
+ 00011420  0x00001a84 branch  0x0000322f 
+ 00011421  0x00001a87 call  0x0000326c 
+ 00011422  0x00001a88 call  0x0000666a 
+ 00011423  0x00001a89 setarg  0x000007e2 
+ 00011424  0x00001a8a arg  0x00000aa2 , 0x00000011 
+ 00011425  0x00001a8b arg  0x00000004 , 0x00000002 
+ 00011426  0x00001a8c call  0x000066b3 
+ 00011427  0x00001a8d call  0x0000666d 
+ 00011428  0x00001a8e fetch  0x00000004 , 0x00000aa2 
+ 00011429  0x00001a8f call  0x00003227 
+ 00011430  0x00001a91 nrtn  0x00000034 
+ 00011431  0x00001a92 fetch  0x00000004 , 0x000040a0 
+ 00011432  0x00001a94 branch  0x00003227 
+ 00011433  0x00001a97 call  0x00003241 
+ 00011434  0x00001a99 setarg  0x00000000 
+ 00011435  0x00001a9a call  0x0000323f 
+ 00011436  0x00001a9d call  0x0000323a 
+ 00011437  0x00001a9f and_into  0x00000007 , 0x0000003f 
+ 00011438  0x00001aa1 branch  0x0000323c 
+ 00011439  0x00001aa4 call  0x0000323a 
+ 00011440  0x00001aa6 set1  0x00000004 , 0x0000003f 
+ 00011441  0x00001aa7 call  0x0000323c 
+ 00011442  0x00001aaa branch  0x00003235 
+ 00011443  0x00001aad call  0x0000325d 
+ 00011444  0x00001aaf beq  0x00000001 , 0x00002cb7 
+ 00011445  0x00001ab0 beq  0x00000002 , 0x00002cbc 
+ 00011446  0x00001ab1 rtn 
+ 00011447  0x00001ab4 call  0x0000323e 
+ 00011448  0x00001ab7 add  0x00000013 , 0x000000d1 , 0x00000005 
+ 00011449  0x00001ab8 call  0x000032d6 
+ 00011450  0x00001aba call  0x00003242 
+ 00011451  0x00001abc branch  0x00002cac 
+ 00011452  0x00001abf call  0x0000325a 
+ 00011453  0x00001ac1 branch  0x00002cb8 
+ 00011454  0x00001ac4 add  0x00000013 , 0x0000008c , 0x00000011 
+ 00011455  0x00001ac5 ifetch  0x00000001 , 0x00000011 
+ 00011456  0x00001ac7 increase  0x00000001 , 0x0000003f 
+ 00011457  0x00001ac8 add  0x00000013 , 0x0000008c , 0x00000005 
+ 00011458  0x00001ac9 istore  0x00000001 , 0x00000005 
+ 00011459  0x00001acb beq  0x00000020 , 0x00002dd2 
+ 00011460  0x00001acc call  0x00003258 
+ 00011461  0x00001ace beq  0x00000001 , 0x00002cca 
+ 00011462  0x00001acf setarg  0x00000001 
+ 00011463  0x00001ad0 call  0x0000325b 
+ 00011464  0x00001ad3 call  0x00003258 
+ 00011465  0x00001ad5 bne  0x00000001 , 0x00002cac 
+ 00011466  0x00001ad7 add  0x00000013 , 0x000000d3 , 0x00000011 
+ 00011467  0x00001ad8 ifetch  0x00000001 , 0x00000011 
+ 00011468  0x00001ada increase  0x00000001 , 0x0000003f 
+ 00011469  0x00001adb call  0x00002cd5 
+ 00011470  0x00001add beq  0x00000004 , 0x00002cd2 
+ 00011471  0x00001ade call  0x00002c8a 
+ 00011472  0x00001adf call  0x00002d04 
+ 00011473  0x00001ae1 branch  0x00002d8f 
+ 00011474  0x00001ae4 call  0x00002cd4 
+ 00011475  0x00001ae6 branch  0x00002cac 
+ 00011476  0x00001ae9 setarg  0x00000000 
+ 00011477  0x00001aeb add  0x00000013 , 0x000000d3 , 0x00000005 
+ 00011478  0x00001aec branch  0x000032b4 
+ 00011479  0x00001aef call  0x0000323e 
+ 00011480  0x00001af2 call  0x0000325a 
+ 00011481  0x00001af4 call  0x00003241 
+ 00011482  0x00001af6 branch  0x00002cac 
+ 00011483  0x00001af9 call  0x0000325d 
+ 00011484  0x00001afb beq  0x00000003 , 0x00002cd8 
+ 00011485  0x00001afc call  0x0000323a 
+ 00011486  0x00001afe isolate0  0x00000004 , 0x0000003f 
+ 00011487  0x00001aff branch  0x00002ca9 , 0x00000001 
+ 00011488  0x00001b00 call  0x0000325d 
+ 00011489  0x00001b02 beq  0x00000001 , 0x00002cd7 
+ 00011490  0x00001b03 beq  0x00000002 , 0x00002cd8 
+ 00011491  0x00001b04 rtn 
+ 00011492  0x00001b07 call  0x00003253 
+ 00011493  0x00001b09 rtnne  0x000000ff 
+ 00011494  0x00001b0a call  0x00002ce9 
+ 00011495  0x00001b0b ncall  0x00002cf4 , 0x0000002c 
+ 00011496  0x00001b0c rtn 
+ 00011497  0x00001b0f disable  0x0000002c 
+ 00011498  0x00001b10 add  0x00000013 , 0x000000ce , 0x00000011 
+ 00011499  0x00001b11 ifetch  0x00000001 , 0x00000011 
+ 00011500  0x00001b13 rtnne  0x00000001 
+ 00011501  0x00001b14 add  0x00000013 , 0x000000d0 , 0x00000011 
+ 00011502  0x00001b15 ifetch  0x00000001 , 0x00000011 
+ 00011503  0x00001b17 rtnne  0x00000000 
+ 00011504  0x00001b18 setarg  0x00000001 
+ 00011505  0x00001b19 call  0x00002cfd 
+ 00011506  0x00001b1b call  0x00003237 
+ 00011507  0x00001b1d branch  0x00007feb 
+ 00011508  0x00001b20 add  0x00000013 , 0x000000d0 , 0x00000011 
+ 00011509  0x00001b21 ifetch  0x00000001 , 0x00000011 
+ 00011510  0x00001b23 branch  0x00002cff , 0x00000034 
+ 00011511  0x00001b24 increase  0xffffffff , 0x0000003f 
+ 00011512  0x00001b25 call  0x0000323f 
+ 00011513  0x00001b27 setarg  0x00000002 
+ 00011514  0x00001b28 call  0x00002cfd 
+ 00011515  0x00001b2a call  0x00002c8a 
+ 00011516  0x00001b2c branch  0x00003237 
+ 00011517  0x00001b2f add  0x00000013 , 0x000000d2 , 0x00000005 
+ 00011518  0x00001b30 branch  0x000032b4 
+ 00011519  0x00001b34 setarg  0x00000003 
+ 00011520  0x00001b35 call  0x00002cfd 
+ 00011521  0x00001b37 call  0x00003258 
+ 00011522  0x00001b39 nbranch  0x00002cc8 , 0x00000034 
+ 00011523  0x00001b3a call  0x00002c8a 
+ 00011524  0x00001b3d setarg  0x00000002 
+ 00011525  0x00001b3e branch  0x00003238 
+ 00011526  0x00001b41 rtnmark0  0x00000026 
+ 00011527  0x00001b42 set1  0x00000027 , 0x00000000 
+ 00011528  0x00001b43 bpatch  0x000000b3 , 0x00004016 
+ 00011529  0x00001b44 add  0x00000013 , 0x0000008e , 0x00000011 
+ 00011530  0x00001b45 ifetch  0x00000001 , 0x00000011 
+ 00011531  0x00001b47 beq  0x00000001 , 0x00002d0f 
+ 00011532  0x00001b48 call  0x0000306a 
+ 00011533  0x00001b49 nbranch  0x00002d16 , 0x00000028 
+ 00011534  0x00001b4a call  0x00002d1b 
+ 00011535  0x00001b4c add  0x00000013 , 0x0000008e , 0x00000005 
+ 00011536  0x00001b4d call  0x000032d6 
+ 00011537  0x00001b4f call  0x00002d2c 
+ 00011538  0x00001b50 nbranch  0x00002d7d , 0x00000028 
+ 00011539  0x00001b51 call  0x00002ce4 
+ 00011540  0x00001b53 call  0x00002d8f 
+ 00011541  0x00001b54 call  0x00002e7a 
+ 00011542  0x00001b56 set0  0x00000027 , 0x00000000 
+ 00011543  0x00001b57 rtn 
+ 00011544  0x00001b5a rtn  0x00000005 
+ 00011545  0x00001b5b set1  0x0000001c , 0x0000003f 
+ 00011546  0x00001b5c rtn 
+ 00011547  0x00001b5f add  0x00000013 , 0x000000c2 , 0x00000011 
+ 00011548  0x00001b60 ifetch  0x00000001 , 0x00000011 
+ 00011549  0x00001b62 increase  0x00000001 , 0x0000003f 
+ 00011550  0x00001b63 add  0x00000013 , 0x000000c2 , 0x00000005 
+ 00011551  0x00001b64 istore  0x00000001 , 0x00000005 
+ 00011552  0x00001b66 beq  0x00000004 , 0x00002d23 
+ 00011553  0x00001b67 beq  0x00000005 , 0x00002d27 
+ 00011554  0x00001b68 rtn 
+ 00011555  0x00001b6a add  0x00000013 , 0x000000ad , 0x00000011 
+ 00011556  0x00001b6b ifetch  0x00000001 , 0x00000011 
+ 00011557  0x00001b6f add  0x00000013 , 0x000000ab , 0x00000005 
+ 00011558  0x00001b70 branch  0x000032b4 
+ 00011559  0x00001b73 add  0x00000013 , 0x000000c2 , 0x00000005 
+ 00011560  0x00001b74 call  0x000032d6 
+ 00011561  0x00001b76 add  0x00000013 , 0x000000ac , 0x00000011 
+ 00011562  0x00001b77 ifetch  0x00000001 , 0x00000011 
+ 00011563  0x00001b79 branch  0x00002d25 
+ 00011564  0x00001b7c call  0x00003253 
+ 00011565  0x00001b7e bne  0x000000ff , 0x00002eb1 
+ 00011566  0x00001b7f bpatch  0x000000b4 , 0x00004016 
+ 00011567  0x00001b80 call  0x00002d3a 
+ 00011568  0x00001b81 nbranch  0x00002d36 , 0x00000028 
+ 00011569  0x00001b82 call  0x00002d53 
+ 00011570  0x00001b83 call  0x00002e71 
+ 00011571  0x00001b86 setarg  0x00000001 
+ 00011572  0x00001b88 add  0x00000013 , 0x0000008b , 0x00000005 
+ 00011573  0x00001b89 branch  0x000032b4 
+ 00011574  0x00001b8c add  0x00000013 , 0x0000008b , 0x00000011 
+ 00011575  0x00001b8d ifetch  0x00000001 , 0x00000011 
+ 00011576  0x00001b8f beq  0x00000001 , 0x00007fe7 
+ 00011577  0x00001b90 rtn 
+ 00011578  0x00001b94 add  0x00000013 , 0x000000d8 , 0x00000002 
+ 00011579  0x00001b95 ifetch  0x00000002 , 0x00000002 
+ 00011580  0x00001b97 call  0x00007f9c 
+ 00011581  0x00001b98 nrtn  0x00000028 
+ 00011582  0x00001b99 copy  0x00000011 , 0x0000003f 
+ 00011583  0x00001b9a store  0x00000001 , 0x00000aae 
+ 00011584  0x00001b9b add  0x00000013 , 0x000000b2 , 0x00000005 
+ 00011585  0x00001b9c call  0x000032d6 
+ 00011586  0x00001b9e call  0x00002cac 
+ 00011587  0x00001b9f store  0x00000001 , 0x0000119e 
+ 00011588  0x00001ba0 fetch  0x00000001 , 0x00000aae 
+ 00011589  0x00001ba1 copy  0x0000003f , 0x00000011 
+ 00011590  0x00001ba2 add  0x00000011 , 0x00000001 , 0x00000002 
+ 00011591  0x00001ba3 arg  0x0000119f , 0x00000005 
+ 00011592  0x00001ba4 copy  0x00000011 , 0x00000039 
+ 00011593  0x00001ba5 copy  0x00000012 , 0x00000006 
+ 00011594  0x00001ba6 call  0x00007f01 
+ 00011595  0x00001ba7 arg  0x0000119e , 0x00000011 
+ 00011596  0x00001ba9 rtnmark0  0x00000027 
+ 00011597  0x00001baa add  0x00000013 , 0x00000086 , 0x00000005 
+ 00011598  0x00001bab istoret  0x00000001 , 0x00000005 
+ 00011599  0x00001bad copy  0x00000002 , 0x00000039 
+ 00011600  0x00001bae add  0x00000013 , 0x00000022 , 0x00000005 
+ 00011601  0x00001bb0 copy  0x00000011 , 0x00000006 
+ 00011602  0x00001bb1 branch  0x00007f01 
+ 00011603  0x00001bb5 add  0x00000013 , 0x00000086 , 0x00000011 
+ 00011604  0x00001bb6 ifetch  0x00000001 , 0x00000011 
+ 00011605  0x00001bb8 increase  0x00000002 , 0x0000003f 
+ 00011606  0x00001bb9 add  0x00000013 , 0x00000088 , 0x00000005 
+ 00011607  0x00001bba istore  0x00000001 , 0x00000005 
+ 00011608  0x00001bbd call  0x0000323a 
+ 00011609  0x00001bbf call  0x00003235 
+ 00011610  0x00001bc2 add  0x00000013 , 0x00000086 , 0x00000011 
+ 00011611  0x00001bc3 ifetch  0x00000001 , 0x00000011 
+ 00011612  0x00001bc5 lshift3  0x0000003f , 0x0000003f 
+ 00011613  0x00001bc6 add  0x00000013 , 0x00000085 , 0x00000011 
+ 00011614  0x00001bc7 ifetcht  0x00000001 , 0x00000011 
+ 00011615  0x00001bc9 and  0x00000002 , 0x00000003 , 0x00000002 
+ 00011616  0x00001bca lshift  0x00000002 , 0x00000002 
+ 00011617  0x00001bcb ior  0x00000002 , 0x0000003f 
+ 00011618  0x00001bcc add  0x00000013 , 0x000000c3 , 0x00000011 
+ 00011619  0x00001bcd ifetcht  0x00000001 , 0x00000011 
+ 00011620  0x00001bcf iadd  0x00000002 , 0x0000003f 
+ 00011621  0x00001bd0 istore  0x00000001 , 0x00000005 
+ 00011622  0x00001bd2 add  0x00000013 , 0x00000086 , 0x00000011 
+ 00011623  0x00001bd3 ifetch  0x00000001 , 0x00000011 
+ 00011624  0x00001bd5 iforce  0x00000039 
+ 00011625  0x00001bd6 add  0x00000013 , 0x00000022 , 0x00000006 
+ 00011626  0x00001bd8 branch  0x00007f01 
+ 00011627  0x00001bdb call  0x0000324f 
+ 00011628  0x00001bdd call  0x0000325a 
+ 00011629  0x00001bdf call  0x00002e6d 
+ 00011630  0x00001be0 call  0x00002cac 
+ 00011631  0x00001be1 store  0x00000001 , 0x0000119e 
+ 00011632  0x00001be2 call  0x00002d77 
+ 00011633  0x00001be3 call  0x0000323a 
+ 00011634  0x00001be5 set1  0x00000003 , 0x0000003f 
+ 00011635  0x00001be6 call  0x0000323c 
+ 00011636  0x00001be8 call  0x00002d53 
+ 00011637  0x00001be9 call  0x00002d33 
+ 00011638  0x00001bea branch  0x00002d14 
+ 00011639  0x00001bed store  0x00000001 , 0x0000119f 
+ 00011640  0x00001bee call  0x00003224 
+ 00011641  0x00001bf0 store  0x00000004 , 0x000011a0 
+ 00011642  0x00001bf1 arg  0x00000006 , 0x00000002 
+ 00011643  0x00001bf2 arg  0x0000119e , 0x00000011 
+ 00011644  0x00001bf3 branch  0x00002d4c 
+ 00011645  0x00001bf6 add  0x00000013 , 0x000000b2 , 0x00000011 
+ 00011646  0x00001bf7 ifetch  0x00000001 , 0x00000011 
+ 00011647  0x00001bf9 branch  0x00002d6b , 0x00000034 
+ 00011648  0x00001bfc add  0x00000013 , 0x000000da , 0x00000011 
+ 00011649  0x00001bfd ifetch  0x00000002 , 0x00000011 
+ 00011650  0x00001bff branch  0x00007f9c 
+ 00011651  0x00001c02 call  0x00002c7a 
+ 00011652  0x00001c04 call  0x00002afa 
+ 00011653  0x00001c05 fetch  0x00000003 , 0x0000416f 
+ 00011654  0x00001c06 rtn  0x00000034 
+ 00011655  0x00001c07 add  0x00000013 , 0x000000dc , 0x00000002 
+ 00011656  0x00001c08 ifetch  0x00000002 , 0x00000002 
+ 00011657  0x00001c0a call  0x00007f9c 
+ 00011658  0x00001c0b add  0x00000013 , 0x000000b6 , 0x00000002 
+ 00011659  0x00001c0c ifetch  0x00000008 , 0x00000002 
+ 00011660  0x00001c0d call  0x00007f49 
+ 00011661  0x00001c0e storet  0x00000004 , 0x0000415b 
+ 00011662  0x00001c0f branch  0x00002b2a 
+ 00011663  0x00001c12 call  0x00002c7a 
+ 00011664  0x00001c13 add  0x00000013 , 0x0000008f , 0x00000005 
+ 00011665  0x00001c14 call  0x000032d6 
+ 00011666  0x00001c17 call  0x00002da4 
+ 00011667  0x00001c18 nbranch  0x00002dae , 0x00000018 
+ 00011668  0x00001c19 nbranch  0x00002dae , 0x0000002f 
+ 00011669  0x00001c1a call  0x00002dd6 
+ 00011670  0x00001c1b call  0x00002e75 
+ 00011671  0x00001c1d call  0x00002c7a 
+ 00011672  0x00001c1e add  0x00000013 , 0x00000085 , 0x00000011 
+ 00011673  0x00001c1f ifetch  0x00000001 , 0x00000011 
+ 00011674  0x00001c21 increase  0x00000001 , 0x0000003f 
+ 00011675  0x00001c22 call  0x00003232 
+ 00011676  0x00001c24 call  0x00003253 
+ 00011677  0x00001c26 bne  0x000000ff , 0x00002ed0 
+ 00011678  0x00001c27 call  0x00002cdb 
+ 00011679  0x00001c29 setarg  0x00000000 
+ 00011680  0x00001c2a add  0x00000013 , 0x0000008c , 0x00000005 
+ 00011681  0x00001c2b istore  0x00000002 , 0x00000005 
+ 00011682  0x00001c2f setarg  0x00000000 
+ 00011683  0x00001c30 branch  0x00002d34 
+ 00011684  0x00001c34 disable  0x0000002f 
+ 00011685  0x00001c35 call  0x00002df7 
+ 00011686  0x00001c36 call  0x00002c7a 
+ 00011687  0x00001c37 add  0x00000013 , 0x000000c3 , 0x00000011 
+ 00011688  0x00001c38 ifetch  0x00000001 , 0x00000011 
+ 00011689  0x00001c3a beq  0x00000001 , 0x00002dac 
+ 00011690  0x00001c3b call  0x00002e11 
+ 00011691  0x00001c3c branch  0x00002e45 
+ 00011692  0x00001c3e call  0x00002e45 
+ 00011693  0x00001c3f branch  0x00002d97 
+ 00011694  0x00001c43 bpatch  0x000000b5 , 0x00004016 
+ 00011695  0x00001c44 add  0x00000013 , 0x0000008d , 0x00000011 
+ 00011696  0x00001c45 ifetch  0x00000001 , 0x00000011 
+ 00011697  0x00001c47 increase  0x00000001 , 0x0000003f 
+ 00011698  0x00001c48 add  0x00000013 , 0x0000008d , 0x00000005 
+ 00011699  0x00001c49 istore  0x00000001 , 0x00000005 
+ 00011700  0x00001c4b call  0x00003253 
+ 00011701  0x00001c4d bne  0x000000ff , 0x00002dcc 
+ 00011702  0x00001c4e add  0x00000013 , 0x0000008f , 0x00000011 
+ 00011703  0x00001c4f ifetcht  0x00000001 , 0x00000011 
+ 00011704  0x00001c51 increase  0x00000001 , 0x00000002 
+ 00011705  0x00001c52 add  0x00000013 , 0x0000008f , 0x00000005 
+ 00011706  0x00001c53 istoret  0x00000001 , 0x00000005 
+ 00011707  0x00001c55 add  0x00000013 , 0x000000cc , 0x00000011 
+ 00011708  0x00001c56 ifetch  0x00000001 , 0x00000011 
+ 00011709  0x00001c58 isub  0x00000002 , 0x0000003f 
+ 00011710  0x00001c59 nbranch  0x00002d92 , 0x00000034 
+ 00011711  0x00001c5a bpatch  0x000000b6 , 0x00004016 
+ 00011712  0x00001c5b call  0x0000325d 
+ 00011713  0x00001c5d beq  0x00000003 , 0x00002cbe 
+ 00011714  0x00001c5e add  0x00000013 , 0x000000d1 , 0x00000011 
+ 00011715  0x00001c5f ifetch  0x00000001 , 0x00000011 
+ 00011716  0x00001c61 increase  0x00000001 , 0x0000003f 
+ 00011717  0x00001c62 add  0x00000013 , 0x000000d1 , 0x00000005 
+ 00011718  0x00001c63 istore  0x00000001 , 0x00000005 
+ 00011719  0x00001c65 beq  0x00000002 , 0x00002cb3 
+ 00011720  0x00001c66 call  0x00002caf 
+ 00011721  0x00001c67 setarg  0x00000001 
+ 00011722  0x00001c68 call  0x00003238 
+ 00011723  0x00001c6a branch  0x00002d8f 
+ 00011724  0x00001c6d add  0x00000013 , 0x0000008d , 0x00000011 
+ 00011725  0x00001c6e ifetch  0x00000001 , 0x00000011 
+ 00011726  0x00001c70 rtnne  0x000000ff 
+ 00011727  0x00001c71 add  0x00000013 , 0x0000008d , 0x00000005 
+ 00011728  0x00001c72 call  0x000032d6 
+ 00011729  0x00001c74 branch  0x00002dd4 
+ 00011730  0x00001c77 add  0x00000013 , 0x0000008c , 0x00000005 
+ 00011731  0x00001c78 call  0x000032d6 
+ 00011732  0x00001c7b jam  0x0000003a , 0x00000a99 
+ 00011733  0x00001c7c branch  0x00007d86 
+ 00011734  0x00001c7f call  0x00002dde 
+ 00011735  0x00001c80 add  0x00000013 , 0x00000084 , 0x00000011 
+ 00011736  0x00001c81 ifetch  0x00000001 , 0x00000011 
+ 00011737  0x00001c83 rtn  0x00000034 
+ 00011738  0x00001c84 iforce  0x00000039 
+ 00011739  0x00001c85 add  0x00000013 , 0x00000002 , 0x00000006 
+ 00011740  0x00001c87 add  0x00000013 , 0x00000064 , 0x00000005 
+ 00011741  0x00001c89 branch  0x00007f01 
+ 00011742  0x00001c8e call  0x0000325f 
+ 00011743  0x00001c90 rshift3  0x0000003f , 0x0000003f 
+ 00011744  0x00001c91 add  0x00000013 , 0x00000084 , 0x00000005 
+ 00011745  0x00001c92 istore  0x00000001 , 0x00000005 
+ 00011746  0x00001c95 increase  0x00000001 , 0x0000003f 
+ 00011747  0x00001c96 add  0x00000013 , 0x00000001 , 0x00000006 
+ 00011748  0x00001c98 iadd  0x00000006 , 0x00000006 
+ 00011749  0x00001c99 ifetch  0x00000003 , 0x00000006 
+ 00011750  0x00001c9a add  0x00000013 , 0x000000c4 , 0x00000005 
+ 00011751  0x00001c9b istore  0x00000003 , 0x00000005 
+ 00011752  0x00001c9e call  0x0000325f 
+ 00011753  0x00001ca0 rshift  0x0000003f , 0x0000003f 
+ 00011754  0x00001ca1 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00011755  0x00001ca2 add  0x00000013 , 0x000000ca , 0x00000005 
+ 00011756  0x00001ca3 istore  0x00000001 , 0x00000005 
+ 00011757  0x00001ca5 rtn 
+ 00011758  0x00001ca8 disable  0x00000009 
+ 00011759  0x00001ca9 disable  0x00000007 
+ 00011760  0x00001caa setarg  0x00555555 
+ 00011761  0x00001cab iforce  0x0000000f 
+ 00011762  0x00001cac rtn 
+ 00011763  0x00001caf call  0x00002918 
+ 00011764  0x00001cb0 add  0x00000013 , 0x00000090 , 0x00000011 
+ 00011765  0x00001cb1 ifetcht  0x00000001 , 0x00000011 
+ 00011766  0x00001cb3 branch  0x00002933 
+ 00011767  0x00001cb6 call  0x00002dee 
+ 00011768  0x00001cb7 call  0x00002df3 
+ 00011769  0x00001cb8 set1  0x00000000 , 0x00000015 
+ 00011770  0x00001cb9 enable  0x0000001d 
+ 00011771  0x00001cba enable  0x00000020 
+ 00011772  0x00001cbb disable  0x00000021 
+ 00011773  0x00001cbc call  0x000053c4 
+ 00011774  0x00001cbd call  0x0000322a 
+ 00011775  0x00001cbf iforce  0x00000009 
+ 00011776  0x00001cc0 inject  0x00000003 , 0x00000020 
+ 00011777  0x00001cc1 enable  0x00000009 
+ 00011778  0x00001cc2 add  0x00000013 , 0x00000088 , 0x00000011 
+ 00011779  0x00001cc3 ifetch  0x00000001 , 0x00000011 
+ 00011780  0x00001cc5 iforce  0x00000039 
+ 00011781  0x00001cc6 add  0x00000013 , 0x00000042 , 0x00000006 
+ 00011782  0x00001cc9 ifetch  0x00000001 , 0x00000006 
+ 00011783  0x00001cca inject  0x00000003 , 0x00000008 
+ 00011784  0x00001ccb loop  0x00002e06 
+ 00011785  0x00001ccc enable  0x00000008 
+ 00011786  0x00001ccd inject  0x00000003 , 0x00000018 
+ 00011787  0x00001cce disable  0x00000008 
+ 00011788  0x00001ccf until  0x0000003e , 0x00000027 
+ 00011789  0x00001cd0 bpatch  0x000000b7 , 0x00004016 
+ 00011790  0x00001cd1 nop  0x00000064 
+ 00011791  0x00001cd2 disable  0x0000001d 
+ 00011792  0x00001cd3 rtn 
+ 00011793  0x00001cd6 disable  0x0000002f 
+ 00011794  0x00001cd7 force  0x00000000 , 0x00000015 
+ 00011795  0x00001cd8 add  0x00000013 , 0x00000090 , 0x00000011 
+ 00011796  0x00001cd9 ifetcht  0x00000001 , 0x00000011 
+ 00011797  0x00001cdb call  0x0000291f 
+ 00011798  0x00001cdc call  0x00002924 
+ 00011799  0x00001cde call  0x00002dee 
+ 00011800  0x00001cdf enable  0x0000000d 
+ 00011801  0x00001ce0 enable  0x00000021 
+ 00011802  0x00001ce1 disable  0x00000020 
+ 00011803  0x00001ce2 call  0x000053c4 
+ 00011804  0x00001ce3 call  0x0000322a 
+ 00011805  0x00001ce5 iforce  0x00000009 
+ 00011806  0x00001ce6 enable  0x00000010 
+ 00011807  0x00001ce7 add  0x00000013 , 0x00000089 , 0x00000011 
+ 00011808  0x00001ce8 ifetch  0x00000002 , 0x00000011 
+ 00011809  0x00001cea iforce  0x0000001b 
+ 00011810  0x00001ceb correlate  0x0000003e , 0x00000003 
+ 00011811  0x00001cec nbranch  0x00002e4d , 0x00000018 
+ 00011812  0x00001ced enable  0x00000009 
+ 00011813  0x00001cee parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00011814  0x00001cef rshift3  0x0000000c , 0x0000003f 
+ 00011815  0x00001cf0 add  0x00000013 , 0x00000000 , 0x00000005 
+ 00011816  0x00001cf1 istore  0x00000001 , 0x00000005 
+ 00011817  0x00001cf3 add  0x00000013 , 0x000000cd , 0x00000011 
+ 00011818  0x00001cf4 ifetch  0x00000001 , 0x00000011 
+ 00011819  0x00001cf6 beq  0x00000002 , 0x00002e33 
+ 00011820  0x00001cf7 bpatch  0x000000b8 , 0x00004017 
+ 00011821  0x00001cf8 add  0x00000013 , 0x00000000 , 0x00000011 
+ 00011822  0x00001cf9 ifetch  0x00000001 , 0x00000011 
+ 00011823  0x00001cfb add  0x00000013 , 0x00000087 , 0x00000011 
+ 00011824  0x00001cfc ifetcht  0x00000001 , 0x00000011 
+ 00011825  0x00001cfe icompare  0x00000007 , 0x00000002 
+ 00011826  0x00001cff nbranch  0x00002e45 , 0x00000001 
+ 00011827  0x00001d01 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00011828  0x00001d02 rshift3  0x0000000c , 0x0000003f 
+ 00011829  0x00001d03 istore  0x00000001 , 0x00000005 
+ 00011830  0x00001d04 rshift3  0x0000003f , 0x0000003f 
+ 00011831  0x00001d05 and  0x0000003f , 0x0000001f , 0x00000039 
+ 00011832  0x00001d06 branch  0x00002e3d , 0x00000005 
+ 00011833  0x00001d08 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00011834  0x00001d09 rshift3  0x0000000c , 0x0000003f 
+ 00011835  0x00001d0a istore  0x00000001 , 0x00000005 
+ 00011836  0x00001d0b loop  0x00002e39 
+ 00011837  0x00001d0d parse  0x00000003 , 0x00000000 , 0x00000018 
+ 00011838  0x00001d0e rshift32  0x0000003f , 0x0000003f 
+ 00011839  0x00001d0f rshift16  0x0000003f , 0x0000003f 
+ 00011840  0x00001d10 istore  0x00000003 , 0x00000005 
+ 00011841  0x00001d11 branch  0x00002e45 , 0x00000006 
+ 00011842  0x00001d12 enable  0x0000002f 
+ 00011843  0x00001d13 disable  0x0000000d 
+ 00011844  0x00001d14 rtn 
+ 00011845  0x00001d18 disable  0x0000001d 
+ 00011846  0x00001d19 disable  0x0000000d 
+ 00011847  0x00001d1a disable  0x00000009 
+ 00011848  0x00001d1b disable  0x00000007 
+ 00011849  0x00001d1c branch  0x000028f9 , 0x00000021 
+ 00011850  0x00001d1d until  0x0000003e , 0x00000027 
+ 00011851  0x00001d1e nop  0x00000064 
+ 00011852  0x00001d1f branch  0x000028f9 
+ 00011853  0x00001d22 call  0x00002e4f 
+ 00011854  0x00001d23 branch  0x00002e45 
+ 00011855  0x00001d26 call  0x000029bb 
+ 00011856  0x00001d27 rtn  0x00000034 
+ 00011857  0x00001d28 add  0x00000013 , 0x000000ea , 0x00000011 
+ 00011858  0x00001d29 ifetcht  0x00000001 , 0x00000011 
+ 00011859  0x00001d2b arg  0x00000d9e , 0x00000011 
+ 00011860  0x00001d2d call  0x00002e58 
+ 00011861  0x00001d2e add  0x00000013 , 0x000000ea , 0x00000005 
+ 00011862  0x00001d31 istoret  0x00000001 , 0x00000005 
+ 00011863  0x00001d32 rtn 
+ 00011864  0x00001d35 arg  0x000000ff , 0x00000012 
+ 00011865  0x00001d36 branch  0x00002e5a 
+ 00011866  0x00001d49 copy  0x00000011 , 0x0000003f 
+ 00011867  0x00001d4a iadd  0x00000002 , 0x00000005 
+ 00011868  0x00001d4b fetch  0x00000001 , 0x00000018 
+ 00011869  0x00001d4c istore  0x00000001 , 0x00000005 
+ 00011870  0x00001d4d increase  0x00000001 , 0x00000002 
+ 00011871  0x00001d4e copy  0x00000012 , 0x0000003f 
+ 00011872  0x00001d4f iand_into  0x00000002 
+ 00011873  0x00001d50 rtn 
+ 00011874  0x00001d53 arg  0x00000000 , 0x00000002 
+ 00011875  0x00001d54 copy  0x00000011 , 0x00000006 
+ 00011876  0x00001d56 ifetch  0x00000001 , 0x00000006 
+ 00011877  0x00001d57 iadd  0x00000002 , 0x00000002 
+ 00011878  0x00001d58 loop  0x00002e64 
+ 00011879  0x00001d59 rshift8  0x00000002 , 0x00000002 
+ 00011880  0x00001d5a rtn 
+ 00011881  0x00001d5d call  0x00002c7a 
+ 00011882  0x00001d5e call  0x00002e9f 
+ 00011883  0x00001d5f setarg  0x00000001 
+ 00011884  0x00001d60 call  0x00003272 
+ 00011885  0x00001d63 setarg  0x00000000 
+ 00011886  0x00001d64 call  0x00002e73 
+ 00011887  0x00001d66 istore  0x00000001 , 0x00000005 
+ 00011888  0x00001d68 rtn 
+ 00011889  0x00001d6b call  0x00003270 
+ 00011890  0x00001d6d increase  0x00000001 , 0x0000003f 
+ 00011891  0x00001d70 add  0x00000013 , 0x000000fc , 0x00000005 
+ 00011892  0x00001d71 branch  0x000032b4 
+ 00011893  0x00001d76 add  0x00000013 , 0x000000fd , 0x00000011 
+ 00011894  0x00001d77 ifetch  0x00000001 , 0x00000011 
+ 00011895  0x00001d78 increase  0x00000001 , 0x0000003f 
+ 00011896  0x00001d79 add  0x00000013 , 0x000000fd , 0x00000005 
+ 00011897  0x00001d7a branch  0x000032b4 
+ 00011898  0x00001d7d bpatch  0x000000b9 , 0x00004017 
+ 00011899  0x00001d7e call  0x00003270 
+ 00011900  0x00001d80 sub  0x0000003f , 0x0000007c , 0x0000003e 
+ 00011901  0x00001d81 rtn  0x00000002 
+ 00011902  0x00001d82 add  0x00000013 , 0x000000fd , 0x00000011 
+ 00011903  0x00001d83 ifetcht  0x00000001 , 0x00000011 
+ 00011904  0x00001d85 isub  0x00000002 , 0x00000002 
+ 00011905  0x00001d86 call  0x00002e6d 
+ 00011906  0x00001d87 setarg  0x00000102 
+ 00011907  0x00001d88 iadd  0x00000013 , 0x00000011 
+ 00011908  0x00001d89 ifetch  0x00000001 , 0x00000011 
+ 00011909  0x00001d8b isub  0x00000002 , 0x0000003e 
+ 00011910  0x00001d8c nbranch  0x00002e8d , 0x00000002 
+ 00011911  0x00001d8d setarg  0x00000103 
+ 00011912  0x00001d8e iadd  0x00000013 , 0x00000011 
+ 00011913  0x00001d8f ifetch  0x00000001 , 0x00000011 
+ 00011914  0x00001d91 isub  0x00000002 , 0x0000003e 
+ 00011915  0x00001d92 branch  0x00002e99 , 0x00000002 
+ 00011916  0x00001d93 rtn 
+ 00011917  0x00001d96 add  0x00000013 , 0x000000fe , 0x00000011 
+ 00011918  0x00001d97 ifetch  0x00000001 , 0x00000011 
+ 00011919  0x00001d99 beq  0x00000002 , 0x00002e93 
+ 00011920  0x00001d9a increase  0x00000001 , 0x0000003f 
+ 00011921  0x00001d9b call  0x00003272 
+ 00011922  0x00001d9d beq  0x00000001 , 0x00002e9f 
+ 00011923  0x00001d9f setarg  0x0000000a 
+ 00011924  0x00001da0 call  0x000032b0 
+ 00011925  0x00001da2 setarg  0x00000000 
+ 00011926  0x00001da3 call  0x000032b2 
+ 00011927  0x00001da6 add  0x00000013 , 0x000000ff , 0x00000011 
+ 00011928  0x00001da8 branch  0x00002ea5 
+ 00011929  0x00001dab add  0x00000013 , 0x000000fe , 0x00000011 
+ 00011930  0x00001dac ifetch  0x00000001 , 0x00000011 
+ 00011931  0x00001dae beq  0x00000000 , 0x00002ea7 
+ 00011932  0x00001daf increase  0xffffffff , 0x0000003f 
+ 00011933  0x00001db0 call  0x00003272 
+ 00011934  0x00001db2 beq  0x00000000 , 0x00002ea7 
+ 00011935  0x00001db7 setarg  0x00000005 
+ 00011936  0x00001db8 call  0x000032b0 
+ 00011937  0x00001dba setarg  0x00000000 
+ 00011938  0x00001dbb call  0x000032b2 
+ 00011939  0x00001dbe setarg  0x00000100 
+ 00011940  0x00001dc0 iadd  0x00000013 , 0x00000011 
+ 00011941  0x00001dc2 ifetch  0x00000001 , 0x00000011 
+ 00011942  0x00001dc4 branch  0x0000326a 
+ 00011943  0x00001dc9 setarg  0x00000002 
+ 00011944  0x00001dca call  0x000032b0 
+ 00011945  0x00001dcc setarg  0x00000000 
+ 00011946  0x00001dcd call  0x000032b2 
+ 00011947  0x00001dd0 setarg  0x00000101 
+ 00011948  0x00001dd2 branch  0x00002ea4 
+ 00011949  0x00001de1 set1  0x00000026 , 0x00000000 
+ 00011950  0x00001de2 call  0x00002c83 
+ 00011951  0x00001de5 setarg  0x00000001 
+ 00011952  0x00001de6 branch  0x00003256 
+ 00011953  0x00001de9 add  0x00000013 , 0x0000008b , 0x00000011 
+ 00011954  0x00001dea ifetch  0x00000001 , 0x00000011 
+ 00011955  0x00001dec beq  0x00000001 , 0x00007fe7 
+ 00011956  0x00001ded call  0x00003253 
+ 00011957  0x00001def beq  0x00000001 , 0x00002eb9 
+ 00011958  0x00001df0 beq  0x00000002 , 0x00002ebd 
+ 00011959  0x00001df1 beq  0x00000003 , 0x00002ec1 
+ 00011960  0x00001df2 branch  0x00002a8c 
+ 00011961  0x00001df5 setarg  0x00000011 
+ 00011962  0x00001df6 call  0x00003256 
+ 00011963  0x00001df8 jam  0x000000aa , 0x0000119e 
+ 00011964  0x00001df9 branch  0x00002ec4 
+ 00011965  0x00001dfb setarg  0x00000012 
+ 00011966  0x00001dfc call  0x00003256 
+ 00011967  0x00001dfe jam  0x00000055 , 0x0000119e 
+ 00011968  0x00001dff branch  0x00002ec4 
+ 00011969  0x00001e01 setarg  0x00000013 
+ 00011970  0x00001e02 call  0x00003256 
+ 00011971  0x00001e04 jam  0x00000022 , 0x0000119e 
+ 00011972  0x00001e06 call  0x0000323a 
+ 00011973  0x00001e08 and_into  0x00000007 , 0x0000003f 
+ 00011974  0x00001e09 store  0x00000001 , 0x0000119f 
+ 00011975  0x00001e0a call  0x00003224 
+ 00011976  0x00001e0c store  0x00000004 , 0x000011a0 
+ 00011977  0x00001e0e jam  0x00000000 , 0x000011a4 
+ 00011978  0x00001e0f arg  0x0000119e , 0x00000011 
+ 00011979  0x00001e10 arg  0x00000007 , 0x00000002 
+ 00011980  0x00001e11 call  0x00002d4c 
+ 00011981  0x00001e12 call  0x00002d53 
+ 00011982  0x00001e13 call  0x00002d33 
+ 00011983  0x00001e14 branch  0x00007fe7 
+ 00011984  0x00001e17 call  0x00003253 
+ 00011985  0x00001e19 rtneq  0x000000ff 
+ 00011986  0x00001e1a beq  0x00000011 , 0x00002ed6 
+ 00011987  0x00001e1b beq  0x00000012 , 0x00002ed9 
+ 00011988  0x00001e1c beq  0x00000013 , 0x00002edc 
+ 00011989  0x00001e1d rtn 
+ 00011990  0x00001e20 setarg  0x00000002 
+ 00011991  0x00001e21 call  0x00003256 
+ 00011992  0x00001e23 branch  0x00002d9f 
+ 00011993  0x00001e25 setarg  0x00000003 
+ 00011994  0x00001e26 call  0x00003256 
+ 00011995  0x00001e28 branch  0x00002d9f 
+ 00011996  0x00001e2a setarg  0x000000ff 
+ 00011997  0x00001e2b call  0x00003256 
+ 00011998  0x00001e2d jam  0x00000039 , 0x00000a99 
+ 00011999  0x00001e2e call  0x00007d86 
+ 00012000  0x00001e2f add  0x00000013 , 0x00000066 , 0x00000011 
+ 00012001  0x00001e30 ifetch  0x00000004 , 0x00000011 
+ 00012002  0x00001e32 call  0x0000322c 
+ 00012003  0x00001e34 branch  0x00002d9f 
+ 00012004  0x00001e37 set0  0x00000026 , 0x00000000 
+ 00012005  0x00001e38 call  0x00002f08 
+ 00012006  0x00001e39 call  0x00002f22 
+ 00012007  0x00001e3b call  0x00003263 
+ 00012008  0x00001e3d nop  0x000007d0 
+ 00012009  0x00001e3e call  0x00003261 
+ 00012010  0x00001e3f beq  0x000000ff , 0x00002dd4 
+ 00012011  0x00001e40 call  0x00002da4 
+ 00012012  0x00001e41 nbranch  0x00002efa , 0x00000018 
+ 00012013  0x00001e42 nbranch  0x00002efa , 0x0000002f 
+ 00012014  0x00001e43 call  0x00002dd6 
+ 00012015  0x00001e44 call  0x00002c7a 
+ 00012016  0x00001e45 add  0x00000013 , 0x00000092 , 0x00000011 
+ 00012017  0x00001e46 ifetcht  0x00000004 , 0x00000011 
+ 00012018  0x00001e47 call  0x000030be 
+ 00012019  0x00001e48 branch  0x00002ead , 0x00000005 
+ 00012020  0x00001e49 call  0x00002c7a 
+ 00012021  0x00001e4a add  0x00000013 , 0x00000066 , 0x00000011 
+ 00012022  0x00001e4b ifetch  0x00000004 , 0x00000011 
+ 00012023  0x00001e4c beq  0x00000000 , 0x00002ee7 
+ 00012024  0x00001e4d call  0x0000322c 
+ 00012025  0x00001e4e branch  0x00002f1c 
+ 00012026  0x00001e51 call  0x00003261 
+ 00012027  0x00001e52 increase  0x00000001 , 0x0000003f 
+ 00012028  0x00001e53 call  0x00003264 
+ 00012029  0x00001e55 call  0x00002f04 
+ 00012030  0x00001e56 increase  0x00000001 , 0x0000003f 
+ 00012031  0x00001e57 and_into  0x00000001 , 0x0000003f 
+ 00012032  0x00001e58 call  0x00002f06 
+ 00012033  0x00001e59 beq  0x00000000 , 0x00002f0c 
+ 00012034  0x00001e5a beq  0x00000001 , 0x00002f0e 
+ 00012035  0x00001e5b rtn 
+ 00012036  0x00001e5e setarg  0x0000018b 
+ 00012037  0x00001e5f branch  0x000032d0 
+ 00012038  0x00001e61 arg  0x0000018b , 0x00000011 
+ 00012039  0x00001e62 branch  0x000032b3 
+ 00012040  0x00001e65 call  0x00003267 
+ 00012041  0x00001e66 call  0x00003224 
+ 00012042  0x00001e67 call  0x0000322c 
+ 00012043  0x00001e68 branch  0x00002c8a 
+ 00012044  0x00001e6b call  0x00002f08 
+ 00012045  0x00001e6c branch  0x00002ee8 
+ 00012046  0x00001e6f call  0x00002c83 
+ 00012047  0x00001e70 branch  0x00002ee8 
+ 00012048  0x00001e74 set0  0x00000026 , 0x00000000 
+ 00012049  0x00001e75 call  0x00002c8a 
+ 00012050  0x00001e76 call  0x00003253 
+ 00012051  0x00001e78 rtnne  0x000000ff 
+ 00012052  0x00001e79 call  0x00002f22 
+ 00012053  0x00001e7a call  0x00003263 
+ 00012054  0x00001e7d nop  0x000007d0 
+ 00012055  0x00001e7e call  0x00003261 
+ 00012056  0x00001e80 beq  0x000000ff , 0x00002dd4 
+ 00012057  0x00001e81 call  0x00002da4 
+ 00012058  0x00001e82 nbranch  0x00002f27 , 0x00000018 
+ 00012059  0x00001e83 nbranch  0x00002f27 , 0x0000002f 
+ 00012060  0x00001e85 set1  0x00000026 , 0x00000000 
+ 00012061  0x00001e86 call  0x00003263 
+ 00012062  0x00001e87 setarg  0x000000ff 
+ 00012063  0x00001e88 call  0x00003256 
+ 00012064  0x00001e8a jam  0x0000003c , 0x00000a99 
+ 00012065  0x00001e8b branch  0x00007d86 
+ 00012066  0x00001e8e set1  0x00000027 , 0x00000000 
+ 00012067  0x00001e8f jam  0x000000ff , 0x0000119e 
+ 00012068  0x00001e90 call  0x0000323a 
+ 00012069  0x00001e92 call  0x00002d77 
+ 00012070  0x00001e93 branch  0x00002d53 
+ 00012071  0x00001e96 call  0x00003261 
+ 00012072  0x00001e98 increase  0x00000001 , 0x0000003f 
+ 00012073  0x00001e99 call  0x00003264 
+ 00012074  0x00001e9b call  0x00002c8a 
+ 00012075  0x00001e9c branch  0x00002f16 
+ 00012076  0x00001e9f call  0x00003267 
+ 00012077  0x00001ea2 setarg  0x000000ff 
+ 00012078  0x00001ea3 call  0x00003256 
+ 00012079  0x00001ea5 branch  0x00002f10 
+ 00012080  0x00001eaf bpatch  0x000000ba , 0x00004017 
+ 00012081  0x00001eb0 call  0x00002c7a 
+ 00012082  0x00001eb1 setarg  0x000031b0 
+ 00012083  0x00001eb2 add  0x00000013 , 0x000000de , 0x00000005 
+ 00012084  0x00001eb3 istore  0x00000002 , 0x00000005 
+ 00012085  0x00001eb5 call  0x00002f3d 
+ 00012086  0x00001eb6 call  0x000048ea 
+ 00012087  0x00001eb7 call  0x000032b6 
+ 00012088  0x00001eb9 bpatch  0x000000bb , 0x00004017 
+ 00012089  0x00001eba beq  0x00000000 , 0x00003055 
+ 00012090  0x00001ebb beq  0x00000001 , 0x00002f45 
+ 00012091  0x00001ebc beq  0x0000000f , 0x00002f41 
+ 00012092  0x00001ebd branch  0x00002a8c 
+ 00012093  0x00001ec0 call  0x0000326c 
+ 00012094  0x00001ec1 arg  0x00000080 , 0x00000039 
+ 00012095  0x00001ec2 arg  0x00000d9e , 0x00000005 
+ 00012096  0x00001ec3 branch  0x00007ec6 
+ 00012097  0x00001ec6 call  0x00002f4c 
+ 00012098  0x00001ec8 call  0x00002f4f 
+ 00012099  0x00001ec9 call  0x000048d3 
+ 00012100  0x00001eca branch  0x00002f42 
+ 00012101  0x00001ecd bpatch  0x000000bc , 0x00004017 
+ 00012102  0x00001ece call  0x00002f4c 
+ 00012103  0x00001ed0 call  0x00002f4f 
+ 00012104  0x00001ed1 call  0x00002fbd 
+ 00012105  0x00001ed2 call  0x000048d3 
+ 00012106  0x00001ed3 call  0x00003019 
+ 00012107  0x00001ed4 branch  0x00002f47 
+ 00012108  0x00001eda call  0x00003291 
+ 00012109  0x00001edb call  0x00003296 
+ 00012110  0x00001edc branch  0x00003299 
+ 00012111  0x00001edf call  0x0000328f 
+ 00012112  0x00001ee1 rtnne  0x00000000 
+ 00012113  0x00001ee3 call  0x00002f55 
+ 00012114  0x00001ee4 call  0x00002f65 
+ 00012115  0x00001ee5 call  0x0000316b 
+ 00012116  0x00001ee6 branch  0x00002f96 
+ 00012117  0x00001ee9 call  0x00003294 
+ 00012118  0x00001eeb rtnbit1  0x00000000 
+ 00012119  0x00001eec set1  0x00000000 , 0x0000003f 
+ 00012120  0x00001eed call  0x00003297 
+ 00012121  0x00001eef call  0x00003267 
+ 00012122  0x00001ef2 call  0x00003299 
+ 00012123  0x00001ef4 jam  0x00000000 , 0x00000d38 
+ 00012124  0x00001ef5 call  0x0000324f 
+ 00012125  0x00001ef7 call  0x00002f61 
+ 00012126  0x00001ef9 add  0x00000013 , 0x00000000 , 0x00000005 
+ 00012127  0x00001efb arg  0x00000042 , 0x00000039 
+ 00012128  0x00001efc branch  0x00007ed4 
+ 00012129  0x00001eff call  0x00003231 
+ 00012130  0x00001f01 call  0x0000327d 
+ 00012131  0x00001f03 call  0x0000322c 
+ 00012132  0x00001f05 branch  0x00002c8a 
+ 00012133  0x00001f08 bpatch  0x000000bd , 0x00004017 
+ 00012134  0x00001f09 call  0x0000324c 
+ 00012135  0x00001f0b beq  0x00000001 , 0x00002f8d 
+ 00012136  0x00001f0c call  0x00003245 
+ 00012137  0x00001f0e beq  0x00000001 , 0x00002c8a 
+ 00012138  0x00001f0f setarg  0x00000136 
+ 00012139  0x00001f10 iadd  0x00000013 , 0x00000011 
+ 00012140  0x00001f11 ifetcht  0x00000004 , 0x00000011 
+ 00012141  0x00001f13 copy  0x00000022 , 0x0000003f 
+ 00012142  0x00001f14 isub  0x00000002 , 0x0000003e 
+ 00012143  0x00001f15 ncall  0x00002d18 , 0x00000002 
+ 00012144  0x00001f16 copy  0x0000003f , 0x00000012 
+ 00012145  0x00001f17 setarg  0x00000136 
+ 00012146  0x00001f18 iadd  0x00000013 , 0x00000011 
+ 00012147  0x00001f19 ifetch  0x00000004 , 0x00000011 
+ 00012148  0x00001f1a copy  0x0000003f , 0x00000002 
+ 00012149  0x00001f1c setarg  0x0000013a 
+ 00012150  0x00001f1d iadd  0x00000013 , 0x00000011 
+ 00012151  0x00001f1e copy  0x00000002 , 0x0000003f 
+ 00012152  0x00001f1f ifetcht  0x00000001 , 0x00000011 
+ 00012153  0x00001f21 iadd  0x00000002 , 0x00000002 
+ 00012154  0x00001f22 copy  0x00000012 , 0x0000003f 
+ 00012155  0x00001f23 isub  0x00000002 , 0x0000003e 
+ 00012156  0x00001f24 nrtn  0x00000002 
+ 00012157  0x00001f25 set0  0x0000001c , 0x0000003f 
+ 00012158  0x00001f26 setarg  0x00000136 
+ 00012159  0x00001f27 iadd  0x00000013 , 0x00000005 
+ 00012160  0x00001f28 istore  0x00000004 , 0x00000005 
+ 00012161  0x00001f2b call  0x00002c8a 
+ 00012162  0x00001f2c call  0x00003278 
+ 00012163  0x00001f2e increase  0x00000001 , 0x0000003f 
+ 00012164  0x00001f2f call  0x0000327b 
+ 00012165  0x00001f31 rtnne  0x00000002 
+ 00012166  0x00001f32 call  0x0000327a 
+ 00012167  0x00001f36 branch  0x0000324f 
+ 00012168  0x00001f39 copy  0x00000022 , 0x0000003f 
+ 00012169  0x00001f3a arg  0x00000136 , 0x00000011 
+ 00012170  0x00001f3b call  0x000032bf 
+ 00012171  0x00001f3c istore  0x00000004 , 0x00000005 
+ 00012172  0x00001f40 branch  0x0000327a 
+ 00012173  0x00001f43 arg  0x00000d9e , 0x00000011 
+ 00012174  0x00001f44 call  0x00002f94 
+ 00012175  0x00001f45 add  0x00000013 , 0x000000eb , 0x00000005 
+ 00012176  0x00001f46 istoret  0x00000001 , 0x00000005 
+ 00012177  0x00001f48 sub  0x00000002 , 0x00000050 , 0x0000003e 
+ 00012178  0x00001f49 nrtn  0x00000002 
+ 00012179  0x00001f4a branch  0x00002c8a 
+ 00012180  0x00001f4d arg  0x00000100 , 0x00000039 
+ 00012181  0x00001f4e branch  0x00002e62 
+ 00012182  0x00001f51 call  0x00002f99 
+ 00012183  0x00001f52 call  0x00002fa5 
+ 00012184  0x00001f53 branch  0x00002fb1 
+ 00012185  0x00001f56 setarg  0x00000180 
+ 00012186  0x00001f57 call  0x000032d0 
+ 00012187  0x00001f59 rtn  0x00000034 
+ 00012188  0x00001f5a arg  0x0000000b , 0x00000007 
+ 00012189  0x00001f5b call  0x00007f16 
+ 00012190  0x00001f5c nrtn  0x00000034 
+ 00012191  0x00001f5d call  0x000032a7 
+ 00012192  0x00001f60 setarg  0x00000001 
+ 00012193  0x00001f61 store  0x00000001 , 0x00000d54 
+ 00012194  0x00001f62 setarg  0x00000000 
+ 00012195  0x00001f63 istore  0x00000007 , 0x00000005 
+ 00012196  0x00001f64 branch  0x000031b8 
+ 00012197  0x00001f67 setarg  0x0000017e 
+ 00012198  0x00001f68 call  0x000032d0 
+ 00012199  0x00001f6a rtn  0x00000034 
+ 00012200  0x00001f6b arg  0x0000000e , 0x00000007 
+ 00012201  0x00001f6c call  0x00007f16 
+ 00012202  0x00001f6d nrtn  0x00000034 
+ 00012203  0x00001f6e call  0x000032aa 
+ 00012204  0x00001f71 arg  0x00000d64 , 0x00000005 
+ 00012205  0x00001f72 arg  0x00000002 , 0x00000039 
+ 00012206  0x00001f73 call  0x00007ec6 
+ 00012207  0x00001f74 jam  0x00000000 , 0x00000d64 
+ 00012208  0x00001f75 branch  0x000031ed 
+ 00012209  0x00001f78 setarg  0x0000017f 
+ 00012210  0x00001f79 call  0x000032d0 
+ 00012211  0x00001f7b rtn  0x00000034 
+ 00012212  0x00001f7c arg  0x0000000c , 0x00000007 
+ 00012213  0x00001f7d call  0x00007f16 
+ 00012214  0x00001f7e nrtn  0x00000034 
+ 00012215  0x00001f7f call  0x000032ad 
+ 00012216  0x00001f82 arg  0x00000d74 , 0x00000005 
+ 00012217  0x00001f83 arg  0x00000002 , 0x00000039 
+ 00012218  0x00001f84 call  0x00007ec6 
+ 00012219  0x00001f85 jam  0x00000003 , 0x00000d74 
+ 00012220  0x00001f86 branch  0x00003207 
+ 00012221  0x00001f89 call  0x0000328f 
+ 00012222  0x00001f8b rtnne  0x00000001 
+ 00012223  0x00001f8c call  0x00002fc1 
+ 00012224  0x00001f8d branch  0x00002fcb 
+ 00012225  0x00001f90 call  0x00003294 
+ 00012226  0x00001f92 rtnbit1  0x00000001 
+ 00012227  0x00001f93 set1  0x00000001 , 0x0000003f 
+ 00012228  0x00001f94 call  0x00003297 
+ 00012229  0x00001f96 call  0x0000329c 
+ 00012230  0x00001f98 call  0x00002c83 
+ 00012231  0x00001f99 setarg  0x00000000 
+ 00012232  0x00001f9a arg  0x00000106 , 0x00000011 
+ 00012233  0x00001f9b call  0x000032bf 
+ 00012234  0x00001f9d branch  0x000032c5 
+ 00012235  0x00001fa0 call  0x0000316e 
+ 00012236  0x00001fa1 nbranch  0x00002f5e , 0x0000002f 
+ 00012237  0x00001fa2 add  0x00000013 , 0x00000000 , 0x00000006 
+ 00012238  0x00001fa3 setarg  0x00000109 
+ 00012239  0x00001fa4 iadd  0x00000013 , 0x00000005 
+ 00012240  0x00001fa5 arg  0x00000008 , 0x00000039 
+ 00012241  0x00001fa6 call  0x00007f01 
+ 00012242  0x00001fa7 setarg  0x0000010b 
+ 00012243  0x00001fa8 call  0x000032d0 
+ 00012244  0x00001fa9 beq  0x000000aa , 0x00002fd9 
+ 00012245  0x00001faa beq  0x00000055 , 0x00002fed 
+ 00012246  0x00001fab beq  0x00000022 , 0x00003001 
+ 00012247  0x00001fac beq  0x000000ff , 0x00003212 
+ 00012248  0x00001fad branch  0x00002f5e 
+ 00012249  0x00001fb0 call  0x000032bd 
+ 00012250  0x00001fb1 beq  0x00000001 , 0x00002fdd 
+ 00012251  0x00001fb2 beq  0x00000002 , 0x00002fe8 
+ 00012252  0x00001fb3 rtn 
+ 00012253  0x00001fb5 setarg  0x00000001 
+ 00012254  0x00001fb6 call  0x00002ff7 
+ 00012255  0x00001fb9 setarg  0x00000001 
+ 00012256  0x00001fba call  0x00003289 
+ 00012257  0x00001fbd setarg  0x00000080 
+ 00012258  0x00001fbe arg  0x00000130 , 0x00000011 
+ 00012259  0x00001fbf call  0x000032b3 
+ 00012260  0x00001fc1 call  0x0000327d 
+ 00012261  0x00001fc3 arg  0x00000131 , 0x00000011 
+ 00012262  0x00001fc4 call  0x000032bf 
+ 00012263  0x00001fc6 branch  0x0000322d 
+ 00012264  0x00001fc9 setarg  0x00000001 
+ 00012265  0x00001fca call  0x00002fff 
+ 00012266  0x00001fcd setarg  0x00000002 
+ 00012267  0x00001fce call  0x00003289 
+ 00012268  0x00001fd0 branch  0x00002fe1 
+ 00012269  0x00001fd3 call  0x000032bd 
+ 00012270  0x00001fd4 beq  0x00000001 , 0x00002ff1 
+ 00012271  0x00001fd5 beq  0x00000002 , 0x00002ff9 
+ 00012272  0x00001fd6 rtn 
+ 00012273  0x00001fd8 call  0x00002fdf 
+ 00012274  0x00001fd9 setarg  0x00000106 
+ 00012275  0x00001fda call  0x000032d0 
+ 00012276  0x00001fdc beq  0x00000001 , 0x00002ff6 
+ 00012277  0x00001fdd rtn 
+ 00012278  0x00001fdf setarg  0x00000002 
+ 00012279  0x00001fe2 arg  0x00000106 , 0x00000011 
+ 00012280  0x00001fe3 branch  0x000032b3 
+ 00012281  0x00001fe6 call  0x00002fea 
+ 00012282  0x00001fe7 setarg  0x00000107 
+ 00012283  0x00001fe8 call  0x000032d0 
+ 00012284  0x00001fea beq  0x00000001 , 0x00002ffe 
+ 00012285  0x00001feb rtn 
+ 00012286  0x00001fed setarg  0x00000002 
+ 00012287  0x00001ff0 arg  0x00000107 , 0x00000011 
+ 00012288  0x00001ff1 branch  0x000032b3 
+ 00012289  0x00001ff4 call  0x000032bd 
+ 00012290  0x00001ff5 beq  0x00000001 , 0x00003005 
+ 00012291  0x00001ff6 beq  0x00000002 , 0x00003011 
+ 00012292  0x00001ff7 rtn 
+ 00012293  0x00001ff9 setarg  0x00000106 
+ 00012294  0x00001ffa call  0x000032d0 
+ 00012295  0x00001ffc beq  0x00000002 , 0x00003009 
+ 00012296  0x00001ffd rtn 
+ 00012297  0x00001fff call  0x0000328b 
+ 00012298  0x00002001 or_into  0x00000001 , 0x0000003f 
+ 00012299  0x00002002 call  0x0000328d 
+ 00012300  0x00002005 setarg  0x00000000 
+ 00012301  0x00002006 setarg  0x00000106 
+ 00012302  0x00002007 iadd  0x00000013 , 0x00000005 
+ 00012303  0x00002008 istore  0x00000002 , 0x00000005 
+ 00012304  0x00002009 branch  0x00002f5e 
+ 00012305  0x0000200c setarg  0x00000107 
+ 00012306  0x0000200d call  0x000032d0 
+ 00012307  0x0000200f bne  0x00000000 , 0x00003015 
+ 00012308  0x00002010 rtn 
+ 00012309  0x00002012 call  0x0000328b 
+ 00012310  0x00002014 or_into  0x00000002 , 0x0000003f 
+ 00012311  0x00002015 call  0x0000328d 
+ 00012312  0x00002017 branch  0x0000300c 
+ 00012313  0x0000201b fetch  0x00000001 , 0x00000d50 
+ 00012314  0x0000201c rtn  0x00000034 
+ 00012315  0x0000201d jam  0x00000000 , 0x00000d50 
+ 00012316  0x0000201e fetch  0x00000002 , 0x00000d4e 
+ 00012317  0x0000201f arg  0x000002ba , 0x00000002 
+ 00012318  0x00002020 isub  0x00000002 , 0x0000003e 
+ 00012319  0x00002021 nrtn  0x00000005 
+ 00012320  0x00002023 fetch  0x00000001 , 0x00000cb6 
+ 00012321  0x00002024 rtnne  0x000000ba 
+ 00012322  0x00002025 fetch  0x00000001 , 0x00000cb7 
+ 00012323  0x00002026 bpatch  0x000000be , 0x00004017 
+ 00012324  0x00002027 beq  0x000000a0 , 0x0000303b 
+ 00012325  0x00002028 beq  0x000000a1 , 0x0000302c 
+ 00012326  0x00002029 beq  0x000000a6 , 0x00003041 
+ 00012327  0x0000202a beq  0x000000a7 , 0x00003043 
+ 00012328  0x0000202b beq  0x000000a9 , 0x00003049 
+ 00012329  0x0000202c beq  0x000000b0 , 0x0000304d 
+ 00012330  0x0000202e jam  0x00000000 , 0x00000d42 
+ 00012331  0x0000202f rtn 
+ 00012332  0x00002031 fetch  0x00000001 , 0x00000cb8 
+ 00012333  0x00002032 beq  0x00000001 , 0x00003031 
+ 00012334  0x00002033 beq  0x00000084 , 0x00003034 
+ 00012335  0x00002034 beq  0x000000a7 , 0x00003039 
+ 00012336  0x00002035 branch  0x0000302a 
+ 00012337  0x00002037 call  0x0000328b 
+ 00012338  0x00002039 store  0x00000001 , 0x00000cf7 
+ 00012339  0x0000203a branch  0x0000303f 
+ 00012340  0x0000203c call  0x00003291 
+ 00012341  0x0000203e call  0x00003296 
+ 00012342  0x00002040 call  0x0000328b 
+ 00012343  0x00002042 store  0x00000001 , 0x00000cf7 
+ 00012344  0x00002043 branch  0x0000303f 
+ 00012345  0x00002047 jam  0x000000a1 , 0x00000cf7 
+ 00012346  0x00002048 branch  0x0000303f 
+ 00012347  0x0000204b fetch  0x00000001 , 0x00000cb8 
+ 00012348  0x0000204c beq  0x00000081 , 0x0000303e 
+ 00012349  0x0000204e branch  0x0000302a 
+ 00012350  0x00002052 call  0x00003090 
+ 00012351  0x00002054 jam  0x00000001 , 0x00000d42 
+ 00012352  0x00002055 rtn 
+ 00012353  0x0000205b jam  0x00000015 , 0x00000cf7 
+ 00012354  0x0000205c branch  0x0000303f 
+ 00012355  0x0000205f call  0x0000328f 
+ 00012356  0x00002061 beq  0x00000000 , 0x00003047 
+ 00012357  0x00002062 beq  0x00000001 , 0x00003039 
+ 00012358  0x00002064 rtn 
+ 00012359  0x00002066 jam  0x000000a0 , 0x00000cf7 
+ 00012360  0x00002067 branch  0x0000303f 
+ 00012361  0x0000206d jam  0x00000000 , 0x00000cf7 
+ 00012362  0x0000206e jam  0x00000000 , 0x00000cf8 
+ 00012363  0x0000206f jam  0x00000001 , 0x00000cf9 
+ 00012364  0x00002070 branch  0x0000303f 
+ 00012365  0x00002074 call  0x0000329c 
+ 00012366  0x00002075 fetch  0x00000001 , 0x00000cb8 
+ 00012367  0x00002076 increase  0x00000002 , 0x0000003f 
+ 00012368  0x00002077 copy  0x0000003f , 0x00000039 
+ 00012369  0x00002078 arg  0x00000cb6 , 0x00000006 
+ 00012370  0x00002079 setarg  0x0000013c 
+ 00012371  0x0000207a iadd  0x00000013 , 0x00000005 
+ 00012372  0x0000207b branch  0x00007f01 
+ 00012373  0x0000207f bpatch  0x000000bf , 0x00004017 
+ 00012374  0x00002080 call  0x0000307d 
+ 00012375  0x00002082 call  0x00002c7f 
+ 00012376  0x00002083 call  0x000048d3 
+ 00012377  0x00002084 branch  0x00003057 
+ 00012378  0x00002087 call  0x0000328f 
+ 00012379  0x00002089 rtnne  0x00000000 
+ 00012380  0x0000208a call  0x00002f51 
+ 00012381  0x0000208b branch  0x00003098 
+ 00012382  0x0000208e call  0x0000328f 
+ 00012383  0x00002090 rtnne  0x00000001 
+ 00012384  0x00002091 call  0x00002fc1 
+ 00012385  0x00002092 call  0x00002fcb 
+ 00012386  0x00002093 call  0x0000328b 
+ 00012387  0x00002095 rtn  0x00000034 
+ 00012388  0x00002096 call  0x00003286 
+ 00012389  0x00002098 call  0x00002f4c 
+ 00012390  0x00002099 call  0x00003093 
+ 00012391  0x0000209b setarg  0x00000000 
+ 00012392  0x0000209c add  0x00000013 , 0x000000a7 , 0x00000005 
+ 00012393  0x0000209e branch  0x0000322d 
+ 00012394  0x000020a1 call  0x00007fe9 
+ 00012395  0x000020a2 add  0x00000013 , 0x000000a7 , 0x00000011 
+ 00012396  0x000020a3 ifetcht  0x00000004 , 0x00000011 
+ 00012397  0x000020a5 copy  0x00000022 , 0x0000003f 
+ 00012398  0x000020a6 isub  0x00000002 , 0x0000003e 
+ 00012399  0x000020a7 ncall  0x00002d18 , 0x00000002 
+ 00012400  0x000020a8 copy  0x0000003f , 0x00000012 
+ 00012401  0x000020a9 add  0x00000013 , 0x000000a7 , 0x00000011 
+ 00012402  0x000020aa ifetch  0x00000004 , 0x00000011 
+ 00012403  0x000020ac add  0x00000013 , 0x000000ab , 0x00000011 
+ 00012404  0x000020ad ifetcht  0x00000001 , 0x00000011 
+ 00012405  0x000020af iadd  0x00000002 , 0x00000002 
+ 00012406  0x000020b0 copy  0x00000012 , 0x0000003f 
+ 00012407  0x000020b1 isub  0x00000002 , 0x0000003e 
+ 00012408  0x000020b2 nrtn  0x00000002 
+ 00012409  0x000020b3 set0  0x0000001c , 0x0000003f 
+ 00012410  0x000020b4 add  0x00000013 , 0x000000a7 , 0x00000005 
+ 00012411  0x000020b5 istore  0x00000004 , 0x00000005 
+ 00012412  0x000020b7 branch  0x00007fe7 
+ 00012413  0x000020ba setarg  0x00000001 
+ 00012414  0x000020bb call  0x00003287 
+ 00012415  0x000020bd call  0x00003283 
+ 00012416  0x000020bf setarg  0x000000ff 
+ 00012417  0x000020c0 add  0x00000013 , 0x000000ab , 0x00000005 
+ 00012418  0x000020c1 istore  0x00000001 , 0x00000005 
+ 00012419  0x000020c3 branch  0x00003067 
+ 00012420  0x000020c6 setarg  0x0000015c 
+ 00012421  0x000020c7 call  0x000032d0 
+ 00012422  0x000020c9 rtn  0x00000034 
+ 00012423  0x000020ca call  0x0000306a 
+ 00012424  0x000020cb nrtn  0x00000028 
+ 00012425  0x000020cc call  0x00003281 
+ 00012426  0x000020ce increase  0x00000001 , 0x0000003f 
+ 00012427  0x000020cf and_into  0x00000001 , 0x0000003f 
+ 00012428  0x000020d0 call  0x00003284 
+ 00012429  0x000020d2 beq  0x00000000 , 0x00002f4c 
+ 00012430  0x000020d3 beq  0x00000001 , 0x00003090 
+ 00012431  0x000020d4 rtn 
+ 00012432  0x000020da setarg  0x00000001 
+ 00012433  0x000020db call  0x00003292 
+ 00012434  0x000020dc branch  0x00003296 
+ 00012435  0x000020df setarg  0x00000001 
+ 00012436  0x000020e0 call  0x000032a5 
+ 00012437  0x000020e3 setarg  0x00000280 
+ 00012438  0x000020e4 arg  0x00000008 , 0x00000007 
+ 00012439  0x000020e5 branch  0x00007f08 
+ 00012440  0x000020e8 call  0x000032a2 
+ 00012441  0x000020ea rtn  0x00000034 
+ 00012442  0x000020eb arg  0x00000008 , 0x00000007 
+ 00012443  0x000020ec call  0x00007f16 
+ 00012444  0x000020ed nrtn  0x00000034 
+ 00012445  0x000020ee call  0x000032a4 
+ 00012446  0x000020f1 setarg  0x00000007 
+ 00012447  0x000020f2 call  0x00003292 
+ 00012448  0x000020f4 call  0x00003296 
+ 00012449  0x000020f6 branch  0x00002f5e 
+ 00012450  0x000020f9 bpatch  0x000000c0 , 0x00004018 
+ 00012451  0x000020fa call  0x0000328f 
+ 00012452  0x000020fc rtnne  0x00000007 
+ 00012453  0x000020fd call  0x000030cb 
+ 00012454  0x000020fe call  0x000030e0 
+ 00012455  0x000020ff call  0x0000316e 
+ 00012456  0x00002100 nbranch  0x00002f5e , 0x0000002f 
+ 00012457  0x00002102 call  0x000030bc 
+ 00012458  0x00002103 call  0x00003172 , 0x00000005 
+ 00012459  0x00002107 call  0x00002f4c 
+ 00012460  0x00002108 call  0x00003294 
+ 00012461  0x0000210a set1  0x00000000 , 0x0000003f 
+ 00012462  0x0000210b call  0x00003297 
+ 00012463  0x0000210d call  0x00002f5e 
+ 00012464  0x0000210e call  0x00003093 
+ 00012465  0x0000210f call  0x000030bc 
+ 00012466  0x00002110 branch  0x000030c1 , 0x00000005 
+ 00012467  0x00002111 setarg  0x00000164 
+ 00012468  0x00002112 call  0x000032d3 
+ 00012469  0x00002114 call  0x000030be 
+ 00012470  0x00002115 branch  0x000030c5 , 0x00000005 
+ 00012471  0x00002116 setarg  0x00000160 
+ 00012472  0x00002117 call  0x000032d3 
+ 00012473  0x00002119 call  0x000030be 
+ 00012474  0x0000211a branch  0x000030c8 , 0x00000005 
+ 00012475  0x0000211b rtn 
+ 00012476  0x0000211e setarg  0x0000012b 
+ 00012477  0x0000211f call  0x000032d3 
+ 00012478  0x00002122 call  0x0000322a 
+ 00012479  0x00002124 isub  0x00000002 , 0x0000003e 
+ 00012480  0x00002125 rtn 
+ 00012481  0x00002128 setarg  0x00000182 
+ 00012482  0x00002129 call  0x000032d0 
+ 00012483  0x0000212d add  0x00000013 , 0x00000091 , 0x00000005 
+ 00012484  0x0000212e branch  0x000032b4 
+ 00012485  0x00002131 setarg  0x00000185 
+ 00012486  0x00002132 call  0x000032d0 
+ 00012487  0x00002134 branch  0x000030c3 
+ 00012488  0x00002136 setarg  0x00000188 
+ 00012489  0x00002137 call  0x000032d0 
+ 00012490  0x00002139 branch  0x000030c3 
+ 00012491  0x0000213c call  0x00003294 
+ 00012492  0x0000213e rtnbit1  0x00000007 
+ 00012493  0x0000213f set1  0x00000007 , 0x0000003f 
+ 00012494  0x00002140 call  0x00003297 
+ 00012495  0x00002142 call  0x00003283 
+ 00012496  0x00002144 call  0x0000329c 
+ 00012497  0x00002146 setarg  0x00000000 
+ 00012498  0x00002147 add  0x00000013 , 0x000000f5 , 0x00000005 
+ 00012499  0x00002148 istore  0x00000003 , 0x00000005 
+ 00012500  0x0000214a arg  0x00000183 , 0x00000011 
+ 00012501  0x0000214b call  0x000032bf 
+ 00012502  0x0000214c istore  0x00000007 , 0x00000005 
+ 00012503  0x0000214f call  0x000030bc 
+ 00012504  0x00002150 nrtn  0x00000005 
+ 00012505  0x00002151 add  0x00000013 , 0x00000091 , 0x00000011 
+ 00012506  0x00002152 ifetch  0x00000001 , 0x00000011 
+ 00012507  0x00002154 arg  0x00000182 , 0x00000011 
+ 00012508  0x00002155 call  0x000032b3 
+ 00012509  0x00002157 add  0x00000013 , 0x00000090 , 0x00000011 
+ 00012510  0x00002158 ifetch  0x00000001 , 0x00000011 
+ 00012511  0x0000215b branch  0x0000314a 
+ 00012512  0x0000215e bpatch  0x000000c1 , 0x00004018 
+ 00012513  0x0000215f call  0x00003281 
+ 00012514  0x00002161 increase  0x00000001 , 0x0000003f 
+ 00012515  0x00002162 and_into  0x00000003 , 0x0000003f 
+ 00012516  0x00002163 call  0x00003284 
+ 00012517  0x00002166 beq  0x00000000 , 0x0000310e 
+ 00012518  0x00002167 beq  0x00000001 , 0x00003132 
+ 00012519  0x00002168 beq  0x00000002 , 0x000030ea 
+ 00012520  0x00002169 beq  0x00000003 , 0x00003132 
+ 00012521  0x0000216a rtn 
+ 00012522  0x0000216d call  0x00002fdf 
+ 00012523  0x0000216e setarg  0x00000160 
+ 00012524  0x0000216f call  0x0000327e 
+ 00012525  0x00002171 branch  0x000030e0 , 0x00000034 
+ 00012526  0x00002172 call  0x0000322c 
+ 00012527  0x00002174 setarg  0x00000189 
+ 00012528  0x00002175 call  0x000032d0 
+ 00012529  0x00002177 call  0x00003108 , 0x00000034 
+ 00012530  0x00002178 setarg  0x00000187 
+ 00012531  0x00002179 call  0x000032d0 
+ 00012532  0x0000217b call  0x0000322f 
+ 00012533  0x0000217d add  0x00000013 , 0x000000f7 , 0x00000011 
+ 00012534  0x0000217e ifetcht  0x00000001 , 0x00000011 
+ 00012535  0x00002180 arg  0x00000f9e , 0x00000011 
+ 00012536  0x00002181 call  0x00002e58 
+ 00012537  0x00002182 add  0x00000013 , 0x000000f7 , 0x00000005 
+ 00012538  0x00002183 istoret  0x00000001 , 0x00000005 
+ 00012539  0x00002185 call  0x00002f94 
+ 00012540  0x00002186 add  0x00000013 , 0x000000fa , 0x00000005 
+ 00012541  0x00002187 istoret  0x00000001 , 0x00000005 
+ 00012542  0x00002189 sub  0x00000002 , 0x00000050 , 0x0000003e 
+ 00012543  0x0000218a nrtn  0x00000002 
+ 00012544  0x0000218b setarg  0x00000188 
+ 00012545  0x0000218c call  0x00003275 
+ 00012546  0x0000218e call  0x00002c90 
+ 00012547  0x0000218f arg  0x00000188 , 0x00000011 
+ 00012548  0x00002190 call  0x000032c8 
+ 00012549  0x00002191 istoret  0x00000001 , 0x00000005 
+ 00012550  0x00002195 arg  0x00000187 , 0x00000011 
+ 00012551  0x00002196 branch  0x000032b3 
+ 00012552  0x00002199 setarg  0x00000001 
+ 00012553  0x0000219a arg  0x00000189 , 0x00000011 
+ 00012554  0x0000219b call  0x000032b3 
+ 00012555  0x0000219d arg  0x00000000 , 0x00000002 
+ 00012556  0x0000219e call  0x00002c94 
+ 00012557  0x000021a1 branch  0x00003106 
+ 00012558  0x000021a4 call  0x00002fea 
+ 00012559  0x000021a5 setarg  0x00000164 
+ 00012560  0x000021a6 call  0x0000327e 
+ 00012561  0x000021a8 branch  0x000030e0 , 0x00000034 
+ 00012562  0x000021a9 call  0x0000322c 
+ 00012563  0x000021ab setarg  0x00000186 
+ 00012564  0x000021ac call  0x000032d0 
+ 00012565  0x000021ae call  0x0000312c , 0x00000034 
+ 00012566  0x000021af setarg  0x00000184 
+ 00012567  0x000021b0 call  0x000032d0 
+ 00012568  0x000021b2 call  0x0000322f 
+ 00012569  0x000021b4 add  0x00000013 , 0x000000f6 , 0x00000011 
+ 00012570  0x000021b5 ifetcht  0x00000001 , 0x00000011 
+ 00012571  0x000021b7 arg  0x0000109e , 0x00000011 
+ 00012572  0x000021b8 call  0x00002e58 
+ 00012573  0x000021b9 add  0x00000013 , 0x000000f6 , 0x00000005 
+ 00012574  0x000021ba istoret  0x00000001 , 0x00000005 
+ 00012575  0x000021bc call  0x00002f94 
+ 00012576  0x000021bd add  0x00000013 , 0x000000f9 , 0x00000005 
+ 00012577  0x000021be istoret  0x00000001 , 0x00000005 
+ 00012578  0x000021c0 sub  0x00000002 , 0x00000050 , 0x0000003e 
+ 00012579  0x000021c1 nrtn  0x00000002 
+ 00012580  0x000021c2 setarg  0x00000185 
+ 00012581  0x000021c3 call  0x00003275 
+ 00012582  0x000021c5 call  0x00002c90 
+ 00012583  0x000021c6 arg  0x00000185 , 0x00000011 
+ 00012584  0x000021c7 call  0x000032c8 
+ 00012585  0x000021c8 istoret  0x00000001 , 0x00000005 
+ 00012586  0x000021cc arg  0x00000184 , 0x00000011 
+ 00012587  0x000021cd branch  0x000032b3 
+ 00012588  0x000021d0 setarg  0x00000001 
+ 00012589  0x000021d1 arg  0x00000186 , 0x00000011 
+ 00012590  0x000021d2 call  0x000032b3 
+ 00012591  0x000021d4 arg  0x00000000 , 0x00000002 
+ 00012592  0x000021d5 call  0x00002c94 
+ 00012593  0x000021d8 branch  0x0000312a 
+ 00012594  0x000021db call  0x00002fdf 
+ 00012595  0x000021dc call  0x0000327d 
+ 00012596  0x000021de call  0x0000322c 
+ 00012597  0x000021e0 setarg  0x00000183 
+ 00012598  0x000021e1 call  0x000032d0 
+ 00012599  0x000021e3 call  0x0000314c , 0x00000034 
+ 00012600  0x000021e4 call  0x0000314f 
+ 00012601  0x000021e5 add  0x00000013 , 0x000000f5 , 0x00000011 
+ 00012602  0x000021e6 ifetcht  0x00000001 , 0x00000011 
+ 00012603  0x000021e8 arg  0x00000e9e , 0x00000011 
+ 00012604  0x000021e9 call  0x00002e58 
+ 00012605  0x000021ea add  0x00000013 , 0x000000f5 , 0x00000005 
+ 00012606  0x000021eb istoret  0x00000001 , 0x00000005 
+ 00012607  0x000021ed call  0x00002f94 
+ 00012608  0x000021ee add  0x00000013 , 0x000000f8 , 0x00000005 
+ 00012609  0x000021ef istoret  0x00000001 , 0x00000005 
+ 00012610  0x000021f1 sub  0x00000002 , 0x00000050 , 0x0000003e 
+ 00012611  0x000021f2 nrtn  0x00000002 
+ 00012612  0x000021f3 setarg  0x00000182 
+ 00012613  0x000021f4 call  0x00003275 
+ 00012614  0x000021f6 call  0x00002c90 
+ 00012615  0x000021f7 arg  0x00000182 , 0x00000011 
+ 00012616  0x000021f8 call  0x000032c8 
+ 00012617  0x000021f9 istoret  0x00000001 , 0x00000005 
+ 00012618  0x000021fe arg  0x00000181 , 0x00000011 
+ 00012619  0x000021ff branch  0x000032b3 
+ 00012620  0x00002207 setarg  0x00000001 
+ 00012621  0x00002208 arg  0x00000183 , 0x00000011 
+ 00012622  0x00002209 call  0x000032b3 
+ 00012623  0x0000220b setarg  0x00000181 
+ 00012624  0x0000220c call  0x000032d0 
+ 00012625  0x0000220d branch  0x0000322f 
+ 00012626  0x00002212 add  0x00000013 , 0x00000000 , 0x00000011 
+ 00012627  0x00002213 ifetch  0x00000001 , 0x00000011 
+ 00012628  0x00002215 call  0x0000323c 
+ 00012629  0x00002218 call  0x00002dde 
+ 00012630  0x0000221a call  0x0000325f 
+ 00012631  0x0000221c isolate1  0x00000000 , 0x0000003f 
+ 00012632  0x0000221d branch  0x0000315c , 0x00000001 
+ 00012633  0x0000221f call  0x0000315d 
+ 00012634  0x00002220 call  0x00002d53 
+ 00012635  0x00002221 call  0x00002df7 
+ 00012636  0x00002223 branch  0x00002e45 
+ 00012637  0x00002226 bpatch  0x000000c2 , 0x00004018 
+ 00012638  0x00002227 add  0x00000013 , 0x00000086 , 0x00000005 
+ 00012639  0x00002228 call  0x000032d6 
+ 00012640  0x0000222a setarg  0x0000013b 
+ 00012641  0x0000222b call  0x000032d0 
+ 00012642  0x0000222d rtn  0x00000034 
+ 00012643  0x0000222e setarg  0x00000006 
+ 00012644  0x0000222f add  0x00000013 , 0x00000086 , 0x00000005 
+ 00012645  0x00002230 istore  0x00000001 , 0x00000005 
+ 00012646  0x00002232 arg  0x00000006 , 0x00000039 
+ 00012647  0x00002233 setarg  0x0000012f 
+ 00012648  0x00002234 iadd  0x00000013 , 0x00000006 
+ 00012649  0x00002236 add  0x00000013 , 0x00000022 , 0x00000005 
+ 00012650  0x00002238 branch  0x00007f01 
+ 00012651  0x0000223c call  0x0000316e 
+ 00012652  0x0000223d nbranch  0x00002f5e , 0x0000002f 
+ 00012653  0x0000223e branch  0x00003172 
+ 00012654  0x00002241 call  0x00002f5e 
+ 00012655  0x00002242 call  0x00002e11 
+ 00012656  0x00002243 nrtn  0x0000002f 
+ 00012657  0x00002244 branch  0x00003152 
+ 00012658  0x00002247 bpatch  0x000000c3 , 0x00004018 
+ 00012659  0x00002248 call  0x00003188 
+ 00012660  0x00002249 nbranch  0x00002f5e , 0x00000028 
+ 00012661  0x0000224a add  0x00000013 , 0x00000084 , 0x00000011 
+ 00012662  0x0000224b ifetch  0x00000001 , 0x00000011 
+ 00012663  0x0000224d branch  0x00002f5e , 0x00000034 
+ 00012664  0x0000224e increase  0x00000002 , 0x0000003f 
+ 00012665  0x0000224f iforce  0x00000039 
+ 00012666  0x00002250 add  0x00000013 , 0x00000000 , 0x00000006 
+ 00012667  0x00002252 setarg  0x00000109 
+ 00012668  0x00002253 iadd  0x00000013 , 0x00000005 
+ 00012669  0x00002255 call  0x00007f01 
+ 00012670  0x00002256 call  0x00003286 
+ 00012671  0x00002258 call  0x000032b6 
+ 00012672  0x0000225a call  0x00003093 , 0x00000034 
+ 00012673  0x0000225b setarg  0x0000010b 
+ 00012674  0x0000225c call  0x000032d0 
+ 00012675  0x0000225e beq  0x00000001 , 0x0000319e 
+ 00012676  0x0000225f beq  0x00000002 , 0x000031c6 
+ 00012677  0x00002260 beq  0x00000003 , 0x000031f2 
+ 00012678  0x00002261 beq  0x000000ff , 0x00003212 
+ 00012679  0x00002262 branch  0x00002f5e 
+ 00012680  0x00002265 call  0x00002c7a 
+ 00012681  0x00002266 call  0x00007fe9 
+ 00012682  0x00002267 add  0x00000013 , 0x000000ca , 0x00000011 
+ 00012683  0x00002268 ifetch  0x00000001 , 0x00000011 
+ 00012684  0x0000226a add  0x00000013 , 0x000000cb , 0x00000011 
+ 00012685  0x0000226b ifetcht  0x00000001 , 0x00000011 
+ 00012686  0x0000226d isub  0x00000002 , 0x0000003e 
+ 00012687  0x0000226e ncall  0x00007fe7 , 0x00000005 
+ 00012688  0x0000226f add  0x00000013 , 0x000000ca , 0x00000011 
+ 00012689  0x00002270 ifetch  0x00000001 , 0x00000011 
+ 00012690  0x00002272 add  0x00000013 , 0x000000cb , 0x00000005 
+ 00012691  0x00002273 istore  0x00000001 , 0x00000005 
+ 00012692  0x00002275 add  0x00000013 , 0x000000c4 , 0x00000011 
+ 00012693  0x00002276 ifetch  0x00000003 , 0x00000011 
+ 00012694  0x00002278 add  0x00000013 , 0x000000c7 , 0x00000011 
+ 00012695  0x00002279 ifetcht  0x00000003 , 0x00000011 
+ 00012696  0x0000227b isub  0x00000002 , 0x0000003e 
+ 00012697  0x0000227c ncall  0x00007fe7 , 0x00000005 
+ 00012698  0x0000227d add  0x00000013 , 0x000000c4 , 0x00000011 
+ 00012699  0x0000227e ifetch  0x00000003 , 0x00000011 
+ 00012700  0x00002280 add  0x00000013 , 0x000000c7 , 0x00000005 
+ 00012701  0x00002282 branch  0x000032c5 
+ 00012702  0x00002285 call  0x00002f88 
+ 00012703  0x00002286 call  0x0000324c 
+ 00012704  0x00002287 store  0x00000001 , 0x00000aa2 
+ 00012705  0x00002289 call  0x00003274 
+ 00012706  0x0000228a fetch  0x00000001 , 0x00000aa2 
+ 00012707  0x0000228c isolate1  0x00000003 , 0x00000002 
+ 00012708  0x0000228d setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00012709  0x0000228e add  0x00000013 , 0x000000b2 , 0x00000005 
+ 00012710  0x0000228f istore  0x00000001 , 0x00000005 
+ 00012711  0x00002291 beq  0x00000001 , 0x00003216 
+ 00012712  0x00002292 call  0x00003245 
+ 00012713  0x00002294 call  0x00003274 
+ 00012714  0x00002296 isolate1  0x00000004 , 0x00000002 
+ 00012715  0x00002297 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00012716  0x00002298 call  0x00003249 
+ 00012717  0x0000229a add  0x00000013 , 0x000000de , 0x00000011 
+ 00012718  0x0000229b ifetch  0x00000002 , 0x00000011 
+ 00012719  0x0000229d branch  0x00007f9c 
+ 00012720  0x000022a0 setarg  0x00000001 
+ 00012721  0x000022a1 store  0x00000001 , 0x00000d54 
+ 00012722  0x000022a2 call  0x0000329e 
+ 00012723  0x000022a4 istore  0x00000007 , 0x00000005 
+ 00012724  0x000022a5 call  0x0000329e 
+ 00012725  0x000022a7 ncall  0x000031bd , 0x00000034 
+ 00012726  0x000022a8 call  0x0000329e 
+ 00012727  0x000022aa call  0x000031c2 , 0x00000034 
+ 00012728  0x000022ac jam  0x00000020 , 0x00000d52 
+ 00012729  0x000022ae fetch  0x00000001 , 0x00000d38 
+ 00012730  0x000022af set1  0x00000002 , 0x0000003f 
+ 00012731  0x000022b0 store  0x00000001 , 0x00000d38 
+ 00012732  0x000022b1 rtn 
+ 00012733  0x000022b4 setarg  0x00000001 
+ 00012734  0x000022b5 call  0x000032a8 
+ 00012735  0x000022b8 setarg  0x00000140 
+ 00012736  0x000022b9 arg  0x0000000b , 0x00000007 
+ 00012737  0x000022ba branch  0x00007f08 
+ 00012738  0x000022bc call  0x000032a7 
+ 00012739  0x000022bf setarg  0x00000000 
+ 00012740  0x000022c0 arg  0x0000000b , 0x00000007 
+ 00012741  0x000022c1 branch  0x00007f08 
+ 00012742  0x000022c4 call  0x00003274 
+ 00012743  0x000022c6 isolate1  0x00000003 , 0x00000002 
+ 00012744  0x000022c7 branch  0x0000321b , 0x00000001 
+ 00012745  0x000022c8 arg  0x00000d64 , 0x00000005 
+ 00012746  0x000022c9 call  0x000031e0 
+ 00012747  0x000022ca fetch  0x00000008 , 0x00000d64 
+ 00012748  0x000022cb ncall  0x000031e4 , 0x00000034 
+ 00012749  0x000022cc fetch  0x00000008 , 0x00000d64 
+ 00012750  0x000022cd call  0x000031e9 , 0x00000034 
+ 00012751  0x000022ce call  0x00002c7a 
+ 00012752  0x000022cf fetch  0x00000008 , 0x00000d64 
+ 00012753  0x000022d0 arg  0x00000168 , 0x00000011 
+ 00012754  0x000022d1 call  0x000032bf 
+ 00012755  0x000022d2 istore  0x00000008 , 0x00000005 
+ 00012756  0x000022d4 setarg  0x00000170 
+ 00012757  0x000022d5 iadd  0x00000013 , 0x00000011 
+ 00012758  0x000022d6 ifetcht  0x00000008 , 0x00000011 
+ 00012759  0x000022d8 isub  0x00000002 , 0x0000003e 
+ 00012760  0x000022d9 ncall  0x000031ed , 0x00000005 
+ 00012761  0x000022da setarg  0x00000168 
+ 00012762  0x000022db iadd  0x00000013 , 0x00000011 
+ 00012763  0x000022dc ifetch  0x00000008 , 0x00000011 
+ 00012764  0x000022de arg  0x00000170 , 0x00000011 
+ 00012765  0x000022df call  0x000032bf 
+ 00012766  0x000022e0 istore  0x00000008 , 0x00000005 
+ 00012767  0x000022e2 branch  0x00002f5e 
+ 00012768  0x000022e5 setarg  0x0000010b 
+ 00012769  0x000022e6 iadd  0x00000013 , 0x00000006 
+ 00012770  0x000022e8 arg  0x00000009 , 0x00000039 
+ 00012771  0x000022e9 branch  0x00007ff3 
+ 00012772  0x000022ec setarg  0x00000001 
+ 00012773  0x000022ed call  0x000032ab 
+ 00012774  0x000022f0 setarg  0x00000140 
+ 00012775  0x000022f1 arg  0x0000000e , 0x00000007 
+ 00012776  0x000022f2 branch  0x00007f08 
+ 00012777  0x000022f5 call  0x000032aa 
+ 00012778  0x000022f8 setarg  0x00000000 
+ 00012779  0x000022f9 arg  0x0000000e , 0x00000007 
+ 00012780  0x000022fa branch  0x00007f08 
+ 00012781  0x000022fe jam  0x00000010 , 0x00000d51 
+ 00012782  0x000022ff fetch  0x00000001 , 0x00000d38 
+ 00012783  0x00002300 set1  0x00000001 , 0x0000003f 
+ 00012784  0x00002301 store  0x00000001 , 0x00000d38 
+ 00012785  0x00002302 rtn 
+ 00012786  0x00002305 arg  0x00000d74 , 0x00000005 
+ 00012787  0x00002306 call  0x000031e0 
+ 00012788  0x00002307 fetch  0x00000002 , 0x00000d75 
+ 00012789  0x00002308 ncall  0x00003209 , 0x00000034 
+ 00012790  0x00002309 fetch  0x00000002 , 0x00000d75 
+ 00012791  0x0000230a call  0x0000320e , 0x00000034 
+ 00012792  0x0000230b call  0x00002c7a 
+ 00012793  0x0000230c fetch  0x00000003 , 0x00000d74 
+ 00012794  0x0000230d arg  0x00000178 , 0x00000011 
+ 00012795  0x0000230e call  0x000032c4 
+ 00012796  0x00002310 setarg  0x0000017b 
+ 00012797  0x00002311 iadd  0x00000013 , 0x00000011 
+ 00012798  0x00002312 ifetcht  0x00000003 , 0x00000011 
+ 00012799  0x00002314 isub  0x00000002 , 0x0000003e 
+ 00012800  0x00002315 ncall  0x00003207 , 0x00000005 
+ 00012801  0x00002316 setarg  0x00000178 
+ 00012802  0x00002317 iadd  0x00000013 , 0x00000011 
+ 00012803  0x00002318 ifetch  0x00000003 , 0x00000011 
+ 00012804  0x0000231a arg  0x0000017b , 0x00000011 
+ 00012805  0x0000231b call  0x000032c4 
+ 00012806  0x0000231d branch  0x00002f5e 
+ 00012807  0x00002320 jam  0x00000021 , 0x00000d52 
+ 00012808  0x00002321 branch  0x000031b9 
+ 00012809  0x00002324 setarg  0x00000001 
+ 00012810  0x00002325 call  0x000032ae 
+ 00012811  0x00002328 setarg  0x00000140 
+ 00012812  0x00002329 arg  0x0000000c , 0x00000007 
+ 00012813  0x0000232a branch  0x00007f08 
+ 00012814  0x0000232d call  0x000032ad 
+ 00012815  0x00002330 setarg  0x00000000 
+ 00012816  0x00002331 arg  0x0000000c , 0x00000007 
+ 00012817  0x00002332 branch  0x00007f08 
+ 00012818  0x00002335 call  0x000032bd 
+ 00012819  0x00002337 beq  0x00000001 , 0x00003216 
+ 00012820  0x00002338 beq  0x00000002 , 0x0000321b 
+ 00012821  0x00002339 rtn 
+ 00012822  0x0000233b setarg  0x0000010d 
+ 00012823  0x0000233c call  0x0000327e 
+ 00012824  0x0000233d arg  0x00000160 , 0x00000011 
+ 00012825  0x0000233e call  0x000032bf 
+ 00012826  0x00002341 branch  0x0000322d 
+ 00012827  0x00002344 setarg  0x0000010d 
+ 00012828  0x00002345 call  0x0000327e 
+ 00012829  0x00002346 arg  0x00000164 , 0x00000011 
+ 00012830  0x00002347 call  0x000032bf 
+ 00012831  0x0000234a branch  0x0000322d 
+ 00012832  0x0000234d call  0x00002c7a 
+ 00012833  0x0000234e add  0x00000013 , 0x000000cd , 0x00000005 
+ 00012834  0x0000234f istore  0x00000001 , 0x00000005 
+ 00012835  0x00002350 rtn 
+ 00012836  0x00002353 call  0x00002c7a 
+ 00012837  0x00002354 add  0x00000013 , 0x000000be , 0x00000011 
+ 00012838  0x00002355 branch  0x0000327f 
+ 00012839  0x00002357 call  0x00002c7a 
+ 00012840  0x00002358 add  0x00000013 , 0x000000be , 0x00000005 
+ 00012841  0x00002359 branch  0x0000322d 
+ 00012842  0x0000235c add  0x00000013 , 0x000000ae , 0x00000011 
+ 00012843  0x0000235d branch  0x0000327f 
+ 00012844  0x0000235f add  0x00000013 , 0x000000ae , 0x00000005 
+ 00012845  0x00002361 istore  0x00000004 , 0x00000005 
+ 00012846  0x00002362 rtn 
+ 00012847  0x00002365 add  0x00000013 , 0x00000090 , 0x00000005 
+ 00012848  0x00002366 branch  0x000032b4 
+ 00012849  0x00002369 setarg  0x00000000 
+ 00012850  0x0000236b call  0x00002c7a 
+ 00012851  0x0000236c add  0x00000013 , 0x00000085 , 0x00000005 
+ 00012852  0x0000236d branch  0x000032b4 
+ 00012853  0x00002370 add  0x00000013 , 0x00000042 , 0x00000005 
+ 00012854  0x00002371 branch  0x000032b4 
+ 00012855  0x00002374 setarg  0x00000004 
+ 00012856  0x00002376 add  0x00000013 , 0x000000cc , 0x00000005 
+ 00012857  0x00002377 branch  0x000032b4 
+ 00012858  0x0000237a add  0x00000013 , 0x00000087 , 0x00000011 
+ 00012859  0x0000237b branch  0x000032d1 
+ 00012860  0x0000237d add  0x00000013 , 0x00000087 , 0x00000005 
+ 00012861  0x0000237e branch  0x000032b4 
+ 00012862  0x00002381 setarg  0x00000002 
+ 00012863  0x00002383 add  0x00000013 , 0x000000d0 , 0x00000005 
+ 00012864  0x00002384 branch  0x000032b4 
+ 00012865  0x00002387 setarg  0x00000001 
+ 00012866  0x00002389 call  0x00002c7a 
+ 00012867  0x0000238a add  0x00000013 , 0x000000ce , 0x00000005 
+ 00012868  0x0000238b branch  0x000032b4 
+ 00012869  0x0000238e call  0x00002c7a 
+ 00012870  0x0000238f add  0x00000013 , 0x000000b4 , 0x00000011 
+ 00012871  0x00002390 branch  0x000032d1 
+ 00012872  0x00002392 setarg  0x00000001 
+ 00012873  0x00002394 call  0x00002c7a 
+ 00012874  0x00002395 add  0x00000013 , 0x000000b4 , 0x00000005 
+ 00012875  0x00002396 branch  0x000032b4 
+ 00012876  0x00002399 call  0x00002c7a 
+ 00012877  0x0000239a add  0x00000013 , 0x000000b2 , 0x00000011 
+ 00012878  0x0000239b branch  0x000032d1 
+ 00012879  0x0000239d setarg  0x00000001 
+ 00012880  0x0000239f call  0x00002c7a 
+ 00012881  0x000023a0 add  0x00000013 , 0x000000b2 , 0x00000005 
+ 00012882  0x000023a1 branch  0x000032b4 
+ 00012883  0x000023a4 call  0x00002c7a 
+ 00012884  0x000023a5 add  0x00000013 , 0x00000096 , 0x00000011 
+ 00012885  0x000023a6 branch  0x000032d1 
+ 00012886  0x000023a8 add  0x00000013 , 0x00000096 , 0x00000005 
+ 00012887  0x000023a9 branch  0x000032b4 
+ 00012888  0x000023ac add  0x00000013 , 0x000000cf , 0x00000011 
+ 00012889  0x000023ad branch  0x000032d1 
+ 00012890  0x000023af setarg  0x00000000 
+ 00012891  0x000023b1 add  0x00000013 , 0x000000cf , 0x00000005 
+ 00012892  0x000023b2 branch  0x000032b4 
+ 00012893  0x000023b5 add  0x00000013 , 0x000000d2 , 0x00000011 
+ 00012894  0x000023b6 branch  0x000032d1 
+ 00012895  0x000023b9 add  0x00000013 , 0x00000001 , 0x00000011 
+ 00012896  0x000023ba branch  0x000032d1 
+ 00012897  0x000023bd add  0x00000013 , 0x000000b5 , 0x00000011 
+ 00012898  0x000023be branch  0x000032d1 
+ 00012899  0x000023c0 setarg  0x00000000 
+ 00012900  0x000023c2 call  0x00002c7a 
+ 00012901  0x000023c3 add  0x00000013 , 0x000000b5 , 0x00000005 
+ 00012902  0x000023c4 branch  0x000032b4 
+ 00012903  0x000023c7 call  0x00002c7a 
+ 00012904  0x000023c8 add  0x00000013 , 0x000000fb , 0x00000011 
+ 00012905  0x000023c9 ifetch  0x00000001 , 0x00000011 
+ 00012906  0x000023cb store  0x00000001 , 0x000041de 
+ 00012907  0x000023cc rtn 
+ 00012908  0x000023cf call  0x00002c7a 
+ 00012909  0x000023d0 fetch  0x00000001 , 0x000041de 
+ 00012910  0x000023d2 add  0x00000013 , 0x000000fb , 0x00000005 
+ 00012911  0x000023d3 branch  0x000032b4 
+ 00012912  0x000023d6 add  0x00000013 , 0x000000fc , 0x00000011 
+ 00012913  0x000023d7 branch  0x000032d1 
+ 00012914  0x000023da add  0x00000013 , 0x000000fe , 0x00000005 
+ 00012915  0x000023db branch  0x000032b4 
+ 00012916  0x000023de setarg  0x00000109 
+ 00012917  0x000023e0 iadd  0x00000013 , 0x00000011 
+ 00012918  0x000023e1 ifetcht  0x00000001 , 0x00000011 
+ 00012919  0x000023e2 rtn 
+ 00012920  0x000023e5 setarg  0x00000135 
+ 00012921  0x000023e6 branch  0x000032d0 
+ 00012922  0x000023e8 setarg  0x00000000 
+ 00012923  0x000023ea arg  0x00000135 , 0x00000011 
+ 00012924  0x000023eb branch  0x000032b3 
+ 00012925  0x000023ee setarg  0x0000012b 
+ 00012926  0x000023f0 call  0x000032cd 
+ 00012927  0x000023f2 ifetch  0x00000004 , 0x00000011 
+ 00012928  0x000023f3 rtn 
+ 00012929  0x000023f6 setarg  0x0000015f 
+ 00012930  0x000023f7 branch  0x000032d0 
+ 00012931  0x000023f9 setarg  0x00000000 
+ 00012932  0x000023fb arg  0x0000015f , 0x00000011 
+ 00012933  0x000023fc branch  0x000032b3 
+ 00012934  0x000023ff setarg  0x00000000 
+ 00012935  0x00002401 arg  0x0000015c , 0x00000011 
+ 00012936  0x00002402 branch  0x000032b3 
+ 00012937  0x00002405 arg  0x0000012f , 0x00000011 
+ 00012938  0x00002406 branch  0x000032b3 
+ 00012939  0x00002409 setarg  0x00000108 
+ 00012940  0x0000240a branch  0x000032d0 
+ 00012941  0x0000240c arg  0x00000108 , 0x00000011 
+ 00012942  0x0000240d branch  0x000032b3 
+ 00012943  0x00002410 setarg  0x00000105 
+ 00012944  0x00002411 branch  0x000032d0 
+ 00012945  0x00002413 setarg  0x00000000 
+ 00012946  0x00002415 arg  0x00000105 , 0x00000011 
+ 00012947  0x00002416 branch  0x000032b3 
+ 00012948  0x00002419 setarg  0x00000104 
+ 00012949  0x0000241a branch  0x000032d0 
+ 00012950  0x0000241c setarg  0x00000000 
+ 00012951  0x0000241e arg  0x00000104 , 0x00000011 
+ 00012952  0x0000241f branch  0x000032b3 
+ 00012953  0x00002422 setarg  0x00000000 
+ 00012954  0x00002424 arg  0x0000013b , 0x00000011 
+ 00012955  0x00002425 branch  0x000032b3 
+ 00012956  0x00002427 setarg  0x00000001 
+ 00012957  0x00002428 branch  0x0000329a 
+ 00012958  0x0000242b setarg  0x0000010c 
+ 00012959  0x0000242c call  0x000032cd 
+ 00012960  0x0000242d ifetch  0x00000007 , 0x00000011 
+ 00012961  0x0000242e rtn 
+ 00012962  0x00002431 setarg  0x0000015e 
+ 00012963  0x00002432 branch  0x000032d0 
+ 00012964  0x00002434 setarg  0x00000000 
+ 00012965  0x00002436 arg  0x0000015e , 0x00000011 
+ 00012966  0x00002437 branch  0x000032b3 
+ 00012967  0x0000243a setarg  0x00000000 
+ 00012968  0x0000243c arg  0x00000180 , 0x00000011 
+ 00012969  0x0000243d branch  0x000032b3 
+ 00012970  0x00002440 setarg  0x00000000 
+ 00012971  0x00002442 arg  0x0000017e , 0x00000011 
+ 00012972  0x00002443 branch  0x000032b3 
+ 00012973  0x00002446 setarg  0x00000000 
+ 00012974  0x00002448 arg  0x0000017f , 0x00000011 
+ 00012975  0x00002449 branch  0x000032b3 
+ 00012976  0x0000244c arg  0x00000102 , 0x00000011 
+ 00012977  0x0000244d branch  0x000032b3 
+ 00012978  0x00002450 arg  0x00000103 , 0x00000011 
+ 00012979  0x00002452 call  0x000032c7 
+ 00012980  0x00002454 istore  0x00000001 , 0x00000005 
+ 00012981  0x00002455 rtn 
+ 00012982  0x00002458 setarg  0x0000015d 
+ 00012983  0x00002459 branch  0x000032d0 
+ 00012984  0x0000245c arg  0x0000015d , 0x00000011 
+ 00012985  0x0000245d branch  0x000032b3 
+ 00012986  0x00002460 setarg  0x0000018a 
+ 00012987  0x00002461 call  0x000032d0 
+ 00012988  0x00002462 branch  0x0000326a 
+ 00012989  0x00002465 setarg  0x0000010c 
+ 00012990  0x00002466 branch  0x000032d0 
+ 00012991  0x00002469 copy  0x0000003f , 0x00000002 
+ 00012992  0x0000246a copy  0x00000011 , 0x0000003f 
+ 00012993  0x0000246b iadd  0x00000013 , 0x00000005 
+ 00012994  0x0000246c copy  0x00000002 , 0x0000003f 
+ 00012995  0x0000246d rtn 
+ 00012996  0x00002470 call  0x000032bf 
+ 00012997  0x00002472 istore  0x00000003 , 0x00000005 
+ 00012998  0x00002473 rtn 
+ 00012999  0x00002476 call  0x00002c7a 
+ 00013000  0x00002478 copy  0x0000003f , 0x00000012 
+ 00013001  0x00002479 copy  0x00000011 , 0x0000003f 
+ 00013002  0x0000247a iadd  0x00000013 , 0x00000005 
+ 00013003  0x0000247b copy  0x00000012 , 0x0000003f 
+ 00013004  0x0000247c rtn 
+ 00013005  0x0000247f call  0x00002c7a 
+ 00013006  0x00002480 iadd  0x00000013 , 0x00000011 
+ 00013007  0x00002481 rtn 
+ 00013008  0x00002484 call  0x000032cd 
+ 00013009  0x00002486 ifetch  0x00000001 , 0x00000011 
+ 00013010  0x00002487 rtn 
+ 00013011  0x0000248a call  0x000032cd 
+ 00013012  0x0000248b ifetcht  0x00000004 , 0x00000011 
+ 00013013  0x0000248c rtn 
+ 00013014  0x0000248f setarg  0x00000000 
+ 00013015  0x00002490 branch  0x000032b4 
+ 00013016  0x00002495 bpatch  0x000000c4 , 0x00004018 
+ 00013017  0x00002496 fetch  0x00000001 , 0x00004092 
+ 00013018  0x00002497 branch  0x000032d8 , 0x00000034 
+ 00013019  0x00002499 beq  0x00000004 , 0x00002f30 
+ 00013020  0x0000249a beq  0x0000000f , 0x00003436 
+ 00013021  0x0000249b beq  0x00000009 , 0x000045de 
+ 00013022  0x0000249c beq  0x0000000a , 0x0000392a 
+ 00013023  0x0000249d beq  0x0000000e , 0x000035bf 
+ 00013024  0x0000249e beq  0x00000010 , 0x000044a4 
+ 00013025  0x0000249f bbit1  0x00000006 , 0x00003d00 
+ 00013026  0x000024a0 rtn 
+ 00013027  0x000024a3 bpatch  0x000000c5 , 0x00004018 
+ 00013028  0x000024a4 jam  0x00000000 , 0x00000151 
+ 00013029  0x000024a5 jam  0x00000000 , 0x0000017f 
+ 00013030  0x000024a6 jam  0x00000000 , 0x00000180 
+ 00013031  0x000024a7 setarg  0x00000000 
+ 00013032  0x000024a8 store  0x00000005 , 0x000009ae 
+ 00013033  0x000024a9 fetch  0x00000001 , 0x00004092 
+ 00013034  0x000024aa branch  0x000032e3 , 0x00000034 
+ 00013035  0x000024ab beq  0x0000000a , 0x00003962 
+ 00013036  0x000024ad rtn 
+ 00013037  0x000024b1 call  0x00007cd1 
+ 00013038  0x000024b2 call  0x00007d9c 
+ 00013039  0x000024b3 call  0x000032f6 
+ 00013040  0x000024b4 fetch  0x00000002 , 0x000041f3 
+ 00013041  0x000024b5 branch  0x00007f9c 
+ 00013042  0x000024b8 fetch  0x00000002 , 0x000041f1 
+ 00013043  0x000024b9 branch  0x00007f9c 
+ 00013044  0x000024bc fetch  0x00000002 , 0x000041ef 
+ 00013045  0x000024bd branch  0x00007f9c 
+ 00013046  0x000024c0 bpatch  0x000000c6 , 0x00004018 
+ 00013047  0x000024c2 arg  0x00004668 , 0x00000011 
+ 00013048  0x000024c3 call  0x00007fc4 
+ 00013049  0x000024c4 rtn  0x00000034 
+ 00013050  0x000024c6 copy  0x0000003f , 0x00000013 
+ 00013051  0x000024c7 call  0x000032ff 
+ 00013052  0x000024c8 branch  0x00003324 
+ 00013053  0x000024cb arg  0x00000000 , 0x00000013 
+ 00013054  0x000024cc rtn 
+ 00013055  0x000024d2 beq  0x00000001 , 0x00003311 
+ 00013056  0x000024d3 beq  0x00000010 , 0x00003357 
+ 00013057  0x000024d4 beq  0x00000005 , 0x00003335 
+ 00013058  0x000024d5 beq  0x00000012 , 0x0000333c 
+ 00013059  0x000024d6 beq  0x00000006 , 0x00003353 
+ 00013060  0x000024d7 beq  0x00000004 , 0x00003394 
+ 00013061  0x000024d8 beq  0x00000002 , 0x00003399 
+ 00013062  0x000024d9 beq  0x00000013 , 0x00003394 
+ 00013063  0x000024da beq  0x00000014 , 0x0000334b 
+ 00013064  0x000024db beq  0x00000015 , 0x0000334f 
+ 00013065  0x000024dc beq  0x00000003 , 0x0000332e 
+ 00013066  0x000024dd beq  0x0000000b , 0x00003340 
+ 00013067  0x000024de beq  0x0000000c , 0x00003347 
+ 00013068  0x000024e0 beq  0x00000016 , 0x0000335b 
+ 00013069  0x000024e1 beq  0x00000018 , 0x0000332a 
+ 00013070  0x000024e2 beq  0x0000002a , 0x0000331a 
+ 00013071  0x000024e3 beq  0x0000002b , 0x00003318 
+ 00013072  0x000024e4 rtn 
+ 00013073  0x000024e8 fetch  0x00000002 , 0x00004682 
+ 00013074  0x000024e9 set1  0x00000000 , 0x0000003f 
+ 00013075  0x000024ea store  0x00000002 , 0x00004682 
+ 00013076  0x000024eb fetch  0x00000002 , 0x0000420a 
+ 00013077  0x000024ec set0  0x00000000 , 0x0000003f 
+ 00013078  0x000024ed store  0x00000002 , 0x0000420a 
+ 00013079  0x000024ee rtn 
+ 00013080  0x000024f1 jam  0x00000000 , 0x00000229 
+ 00013081  0x000024f2 rtn 
+ 00013082  0x000024f5 fetch  0x00000001 , 0x00000229 
+ 00013083  0x000024f6 increase  0x00000001 , 0x0000003f 
+ 00013084  0x000024f7 store  0x00000001 , 0x00000229 
+ 00013085  0x000024f8 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00013086  0x000024f9 branch  0x000033df , 0x00000002 
+ 00013087  0x000024fa jam  0x00000000 , 0x00000229 
+ 00013088  0x000024fb fetch  0x00000002 , 0x0000420a 
+ 00013089  0x000024fc set1  0x00000009 , 0x0000003f 
+ 00013090  0x000024fd store  0x00000002 , 0x0000420a 
+ 00013091  0x000024fe branch  0x000033e9 
+ 00013092  0x00002501 fetch  0x00000002 , 0x000041f5 
+ 00013093  0x00002502 branch  0x00007f9c 
+ 00013094  0x00002505 fetch  0x00000002 , 0x000041e9 
+ 00013095  0x00002506 branch  0x00007f9c 
+ 00013096  0x00002509 fetch  0x00000002 , 0x000041ed 
+ 00013097  0x0000250a branch  0x00007f9c 
+ 00013098  0x0000250d fetch  0x00000002 , 0x0000420a 
+ 00013099  0x0000250e set1  0x00000001 , 0x0000003f 
+ 00013100  0x0000250f store  0x00000002 , 0x0000420a 
+ 00013101  0x00002510 branch  0x00003412 
+ 00013102  0x00002513 fetch  0x00000002 , 0x00004682 
+ 00013103  0x00002514 set1  0x00000007 , 0x0000003f 
+ 00013104  0x00002515 store  0x00000002 , 0x00004682 
+ 00013105  0x00002516 fetch  0x00000002 , 0x0000420a 
+ 00013106  0x00002517 set1  0x00000002 , 0x0000003f 
+ 00013107  0x00002518 store  0x00000002 , 0x0000420a 
+ 00013108  0x00002519 rtn 
+ 00013109  0x0000251c fetch  0x00000002 , 0x00004682 
+ 00013110  0x0000251d set1  0x00000001 , 0x0000003f 
+ 00013111  0x0000251e store  0x00000002 , 0x00004682 
+ 00013112  0x0000251f fetch  0x00000002 , 0x0000420a 
+ 00013113  0x00002520 set1  0x00000004 , 0x0000003f 
+ 00013114  0x00002521 store  0x00000002 , 0x0000420a 
+ 00013115  0x00002522 rtn 
+ 00013116  0x00002525 fetch  0x00000002 , 0x00004682 
+ 00013117  0x00002526 set1  0x00000003 , 0x0000003f 
+ 00013118  0x00002527 store  0x00000002 , 0x00004682 
+ 00013119  0x00002528 rtn 
+ 00013120  0x0000252b fetch  0x00000002 , 0x00004682 
+ 00013121  0x0000252c set1  0x00000005 , 0x0000003f 
+ 00013122  0x0000252d store  0x00000002 , 0x00004682 
+ 00013123  0x0000252e fetch  0x00000002 , 0x0000420a 
+ 00013124  0x0000252f set1  0x00000003 , 0x0000003f 
+ 00013125  0x00002530 store  0x00000002 , 0x0000420a 
+ 00013126  0x00002531 rtn 
+ 00013127  0x00002534 fetch  0x00000002 , 0x00004682 
+ 00013128  0x00002535 set0  0x00000005 , 0x0000003f 
+ 00013129  0x00002536 store  0x00000002 , 0x00004682 
+ 00013130  0x00002537 rtn 
+ 00013131  0x0000253a fetch  0x00000002 , 0x00004682 
+ 00013132  0x0000253b set1  0x00000009 , 0x0000003f 
+ 00013133  0x0000253c store  0x00000002 , 0x00004682 
+ 00013134  0x0000253d rtn 
+ 00013135  0x00002540 fetch  0x00000002 , 0x00004682 
+ 00013136  0x00002541 set0  0x00000009 , 0x0000003f 
+ 00013137  0x00002542 store  0x00000002 , 0x00004682 
+ 00013138  0x00002543 branch  0x00003418 
+ 00013139  0x00002546 fetch  0x00000002 , 0x00004682 
+ 00013140  0x00002547 set1  0x00000002 , 0x0000003f 
+ 00013141  0x00002548 store  0x00000002 , 0x00004682 
+ 00013142  0x00002549 rtn 
+ 00013143  0x0000254c fetch  0x00000002 , 0x0000420a 
+ 00013144  0x0000254d set1  0x00000000 , 0x0000003f 
+ 00013145  0x0000254e store  0x00000002 , 0x0000420a 
+ 00013146  0x0000254f rtn 
+ 00013147  0x00002552 fetch  0x00000002 , 0x0000420a 
+ 00013148  0x00002553 set1  0x00000008 , 0x0000003f 
+ 00013149  0x00002554 store  0x00000002 , 0x0000420a 
+ 00013150  0x00002555 branch  0x000033e9 
+ 00013151  0x00002559 bpatch  0x000000c7 , 0x00004018 
+ 00013152  0x0000255a store  0x00000001 , 0x0000022a 
+ 00013153  0x0000255c fetch  0x00000001 , 0x0000022a 
+ 00013154  0x0000255d rtn  0x00000034 
+ 00013155  0x0000255e increase  0xffffffff , 0x0000003f 
+ 00013156  0x0000255f store  0x00000001 , 0x0000022a 
+ 00013157  0x00002560 call  0x00007cdd 
+ 00013158  0x00002561 call  0x000033d6 
+ 00013159  0x00002562 call  0x00003387 
+ 00013160  0x00002563 call  0x0000338d 
+ 00013161  0x00002564 call  0x0000651b 
+ 00013162  0x00002565 fetch  0x00000002 , 0x000041fd 
+ 00013163  0x00002566 call  0x00007f9c 
+ 00013164  0x00002567 branch  0x00003361 
+ 00013165  0x0000256d ifetch  0x00000001 , 0x00000013 
+ 00013166  0x0000256e rtn  0x00000034 
+ 00013167  0x0000256f pincrease  0xffffffff 
+ 00013168  0x00002570 istore  0x00000001 , 0x00000013 
+ 00013169  0x00002571 nrtn  0x00000034 
+ 00013170  0x00002572 copy  0x00000012 , 0x0000003f 
+ 00013171  0x00002573 branch  0x00007f9c 
+ 00013172  0x00002578 ifetch  0x00000002 , 0x00000013 
+ 00013173  0x00002579 rtn  0x00000034 
+ 00013174  0x0000257a pincrease  0xffffffff 
+ 00013175  0x0000257b istore  0x00000002 , 0x00000013 
+ 00013176  0x0000257c nrtn  0x00000034 
+ 00013177  0x0000257d copy  0x00000012 , 0x0000003f 
+ 00013178  0x0000257e branch  0x00007f9c 
+ 00013179  0x00002581 fetcht  0x00000002 , 0x0000423f 
+ 00013180  0x00002582 add  0x00000002 , 0x00000001 , 0x00000013 
+ 00013181  0x00002583 arg  0x0000337f , 0x00000012 
+ 00013182  0x00002584 branch  0x0000336d 
+ 00013183  0x00002587 call  0x0000342d 
+ 00013184  0x00002588 beq  0x00000001 , 0x00003382 
+ 00013185  0x0000258a branch  0x0000340a 
+ 00013186  0x0000258c setarg  0x00000002 
+ 00013187  0x0000258d istore  0x00000001 , 0x00000013 
+ 00013188  0x0000258e add  0x00000002 , 0x00000008 , 0x00000012 
+ 00013189  0x00002590 ifetch  0x00000002 , 0x00000012 
+ 00013190  0x00002591 branch  0x00007f9c 
+ 00013191  0x00002594 arg  0x00004205 , 0x00000013 
+ 00013192  0x00002595 arg  0x0000338a , 0x00000012 
+ 00013193  0x00002596 branch  0x0000336d 
+ 00013194  0x00002599 call  0x00002252 
+ 00013195  0x0000259a branch  0x0000340e , 0x00000005 
+ 00013196  0x0000259b rtn 
+ 00013197  0x0000259f arg  0x0000467e , 0x00000013 
+ 00013198  0x000025a0 arg  0x00003390 , 0x00000012 
+ 00013199  0x000025a1 branch  0x00003374 
+ 00013200  0x000025a4 call  0x000033f0 
+ 00013201  0x000025a5 call  0x00003408 
+ 00013202  0x000025a6 fetch  0x00000002 , 0x000041f7 
+ 00013203  0x000025a7 branch  0x00007f9c 
+ 00013204  0x000025ab call  0x000033ac 
+ 00013205  0x000025ad fetch  0x00000002 , 0x00004682 
+ 00013206  0x000025ae set0  0x00000007 , 0x0000003f 
+ 00013207  0x000025af store  0x00000002 , 0x00004682 
+ 00013208  0x000025b0 rtn 
+ 00013209  0x000025b3 jam  0x00000000 , 0x00004205 
+ 00013210  0x000025b4 fetch  0x00000002 , 0x00004682 
+ 00013211  0x000025b5 bbit1  0x00000007 , 0x0000339e 
+ 00013212  0x000025b6 isolate0  0x00000001 , 0x0000003f 
+ 00013213  0x000025b7 call  0x000032fd , 0x00000001 
+ 00013214  0x000025b9 bpatch  0x000000c8 , 0x00004019 
+ 00013215  0x000025ba fetch  0x00000002 , 0x00004682 
+ 00013216  0x000025bb set0  0x00000000 , 0x0000003f 
+ 00013217  0x000025bc set0  0x00000001 , 0x0000003f 
+ 00013218  0x000025bd set0  0x00000002 , 0x0000003f 
+ 00013219  0x000025be set0  0x00000003 , 0x0000003f 
+ 00013220  0x000025bf set0  0x00000007 , 0x0000003f 
+ 00013221  0x000025c0 store  0x00000002 , 0x00004682 
+ 00013222  0x000025c1 branch  0x00003418 
+ 00013223  0x000025c4 call  0x000033a9 
+ 00013224  0x000025c5 branch  0x0000340a 
+ 00013225  0x000025c9 setarg  0x00000000 
+ 00013226  0x000025ca store  0x00000002 , 0x00004208 
+ 00013227  0x000025cb rtn 
+ 00013228  0x000025cd setarg  0x00000000 
+ 00013229  0x000025ce store  0x00000002 , 0x0000420a 
+ 00013230  0x000025cf rtn 
+ 00013231  0x000025d2 fetch  0x00000002 , 0x0000420a 
+ 00013232  0x000025d3 store  0x00000002 , 0x00004208 
+ 00013233  0x000025d4 setarg  0x00000000 
+ 00013234  0x000025d5 store  0x00000002 , 0x0000420a 
+ 00013235  0x000025d6 rtn 
+ 00013236  0x000025d9 fetch  0x00000002 , 0x0000420a 
+ 00013237  0x000025da set1  0x00000007 , 0x0000003f 
+ 00013238  0x000025db store  0x00000002 , 0x00004208 
+ 00013239  0x000025dc setarg  0x00000000 
+ 00013240  0x000025dd store  0x00000002 , 0x0000420a 
+ 00013241  0x000025de rtn 
+ 00013242  0x000025e7 fetch  0x00000001 , 0x00004682 
+ 00013243  0x000025e8 isolate1  0x00000005 , 0x0000003f 
+ 00013244  0x000025e9 rtn 
+ 00013245  0x000025f2 setarg  0x0000aa55 
+ 00013246  0x000025f4 store  0x00000002 , 0x00000aaa 
+ 00013247  0x000025f5 bpatch  0x000000c9 , 0x00004019 
+ 00013248  0x000025f6 arg  0x00000002 , 0x00000002 
+ 00013249  0x000025f7 arg  0x00000aaa , 0x00000011 
+ 00013250  0x000025f8 arg  0x000000c3 , 0x00000012 
+ 00013251  0x000025f9 branch  0x00006606 
+ 00013252  0x000025fd bpatch  0x000000ca , 0x00004019 
+ 00013253  0x000025fe arg  0x00000002 , 0x00000002 
+ 00013254  0x000025ff arg  0x00000a9a , 0x00000011 
+ 00013255  0x00002600 arg  0x000000c3 , 0x00000012 
+ 00013256  0x00002601 call  0x000065df 
+ 00013257  0x00002602 fetch  0x00000002 , 0x00000a9a 
+ 00013258  0x00002603 arg  0x0000aa55 , 0x00000002 
+ 00013259  0x00002604 isub  0x00000002 , 0x0000003e 
+ 00013260  0x00002605 rtn 
+ 00013261  0x00002609 fetch  0x00000001 , 0x0000455a 
+ 00013262  0x0000260a store  0x00000001 , 0x00004205 
+ 00013263  0x0000260b rtn 
+ 00013264  0x0000260e arg  0x00000009 , 0x00000007 
+ 00013265  0x0000260f branch  0x00002c32 
+ 00013266  0x00002612 arg  0x00000009 , 0x00000007 
+ 00013267  0x00002613 branch  0x00002c36 
+ 00013268  0x00002616 jam  0x00000005 , 0x00004206 
+ 00013269  0x00002617 branch  0x000033d0 
+ 00013270  0x0000261a arg  0x00004206 , 0x00000013 
+ 00013271  0x0000261b arg  0x000033d2 , 0x00000012 
+ 00013272  0x0000261c branch  0x0000336d 
+ 00013273  0x0000261f jam  0x00000001 , 0x00004363 
+ 00013274  0x00002620 rtn 
+ 00013275  0x00002623 jam  0x00000000 , 0x00004363 
+ 00013276  0x00002624 rtn 
+ 00013277  0x00002627 jam  0x0000000a , 0x00000a99 
+ 00013278  0x00002628 branch  0x00007d8f 
+ 00013279  0x0000262b jam  0x0000001d , 0x00000a99 
+ 00013280  0x0000262c branch  0x00007d8f 
+ 00013281  0x0000262f bpatch  0x000000cb , 0x00004019 
+ 00013282  0x00002630 fetch  0x00000001 , 0x00004207 
+ 00013283  0x00002631 store  0x00000001 , 0x0000016d 
+ 00013284  0x00002632 jam  0x00000001 , 0x00000228 
+ 00013285  0x00002633 jam  0x00000003 , 0x00000a99 
+ 00013286  0x00002634 branch  0x00007d8f 
+ 00013287  0x00002637 jam  0x0000001e , 0x00000a99 
+ 00013288  0x00002638 branch  0x00007d8f 
+ 00013289  0x0000263b jam  0x00000004 , 0x00000a99 
+ 00013290  0x0000263c branch  0x00007d8f 
+ 00013291  0x0000263f fetch  0x00000002 , 0x00004687 
+ 00013292  0x00002640 store  0x00000002 , 0x0000467e 
+ 00013293  0x00002642 call  0x00003404 
+ 00013294  0x00002644 jam  0x00000001 , 0x00000a99 
+ 00013295  0x00002645 branch  0x00007d8f 
+ 00013296  0x00002648 setarg  0x00000000 
+ 00013297  0x00002649 store  0x00000002 , 0x0000467e 
+ 00013298  0x0000264a jam  0x00000002 , 0x00000a99 
+ 00013299  0x0000264b branch  0x00007d8f 
+ 00013300  0x0000264e jam  0x0000000f , 0x00000a99 
+ 00013301  0x0000264f branch  0x00007d8f 
+ 00013302  0x00002652 jam  0x00000010 , 0x00000a99 
+ 00013303  0x00002653 branch  0x00007d8f 
+ 00013304  0x00002656 jam  0x0000000e , 0x00000a99 
+ 00013305  0x00002657 branch  0x00007d8f 
+ 00013306  0x0000265a jam  0x0000000d , 0x00000a99 
+ 00013307  0x0000265b branch  0x00007d8f 
+ 00013308  0x0000265e jam  0x00000017 , 0x00000a99 
+ 00013309  0x0000265f branch  0x00007d8f 
+ 00013310  0x00002662 jam  0x00000018 , 0x00000a99 
+ 00013311  0x00002663 branch  0x00007d8f 
+ 00013312  0x00002666 jam  0x00000016 , 0x00000a99 
+ 00013313  0x00002667 branch  0x00007d8f 
+ 00013314  0x0000266a jam  0x00000011 , 0x00000a99 
+ 00013315  0x0000266b branch  0x00007d8f 
+ 00013316  0x0000266e jam  0x00000015 , 0x00000a99 
+ 00013317  0x0000266f branch  0x00007d8f 
+ 00013318  0x00002672 jam  0x00000014 , 0x00000a99 
+ 00013319  0x00002673 branch  0x00007d8f 
+ 00013320  0x00002677 jam  0x00000013 , 0x00000a99 
+ 00013321  0x00002678 branch  0x00007d8f 
+ 00013322  0x0000267b jam  0x00000019 , 0x00000a99 
+ 00013323  0x0000267c branch  0x00007d8f 
+ 00013324  0x0000267f jam  0x00000006 , 0x00000a99 
+ 00013325  0x00002680 branch  0x00007d8f 
+ 00013326  0x00002683 jam  0x00000005 , 0x00000a99 
+ 00013327  0x00002684 branch  0x00007d8f 
+ 00013328  0x00002687 jam  0x0000001f , 0x00000a99 
+ 00013329  0x00002688 branch  0x00007d8f 
+ 00013330  0x0000268b jam  0x00000020 , 0x00000a99 
+ 00013331  0x0000268c branch  0x00007d8f 
+ 00013332  0x0000268f jam  0x00000025 , 0x00000a99 
+ 00013333  0x00002690 branch  0x00007d8f 
+ 00013334  0x00002693 set1  0x0000000d , 0x00000000 
+ 00013335  0x00002694 rtn 
+ 00013336  0x00002697 set0  0x0000000d , 0x00000000 
+ 00013337  0x00002698 rtn 
+ 00013338  0x000026ad call  0x0000342d 
+ 00013339  0x000026ae beq  0x00000002 , 0x00003424 
+ 00013340  0x000026b0 setarg  0x00000001 
+ 00013341  0x000026b1 istore  0x00000001 , 0x00000013 
+ 00013342  0x000026b2 add  0x00000002 , 0x00000003 , 0x00000011 
+ 00013343  0x000026b3 add  0x00000002 , 0x00000006 , 0x00000012 
+ 00013344  0x000026b5 ifetcht  0x00000001 , 0x00000011 
+ 00013345  0x000026b6 increase  0x00000001 , 0x00000013 
+ 00013346  0x000026b7 istoret  0x00000001 , 0x00000013 
+ 00013347  0x000026b8 branch  0x00003385 
+ 00013348  0x000026bb setarg  0x00000000 
+ 00013349  0x000026bc istore  0x00000001 , 0x00000013 
+ 00013350  0x000026bd fetch  0x00000002 , 0x00004682 
+ 00013351  0x000026be bbit0  0x00000009 , 0x00003429 
+ 00013352  0x000026bf call  0x00003402 
+ 00013353  0x000026c1 fetcht  0x00000002 , 0x0000423f 
+ 00013354  0x000026c2 add  0x00000002 , 0x00000002 , 0x00000011 
+ 00013355  0x000026c3 add  0x00000002 , 0x00000004 , 0x00000012 
+ 00013356  0x000026c4 branch  0x00003420 
+ 00013357  0x000026c7 fetcht  0x00000002 , 0x0000423f 
+ 00013358  0x000026c8 add  0x00000002 , 0x00000000 , 0x00000013 
+ 00013359  0x000026c9 ifetch  0x00000001 , 0x00000013 
+ 00013360  0x000026ca rtn 
+ 00013361  0x000026cd call  0x0000342d 
+ 00013362  0x000026ce bne  0x00000000 , 0x00003434 
+ 00013363  0x000026cf branch  0x0000340a 
+ 00013364  0x000026d1 add  0x00000002 , 0x0000000a , 0x00000012 
+ 00013365  0x000026d2 branch  0x00003385 
+ 00013366  0x000026d5 rtn  0x0000002b 
+ 00013367  0x000026d6 jam  0x00000000 , 0x00008081 
+ 00013368  0x000026d7 setarg  0x00003463 
+ 00013369  0x000026d8 store  0x00000002 , 0x000041eb 
+ 00013370  0x000026d9 setarg  0x0000696c 
+ 00013371  0x000026da store  0x00000002 , 0x000041ed 
+ 00013372  0x000026db setarg  0x000034f5 
+ 00013373  0x000026dc store  0x00000002 , 0x000041f3 
+ 00013374  0x000026dd setarg  0x000034f4 
+ 00013375  0x000026de store  0x00000002 , 0x000041ef 
+ 00013376  0x000026df setarg  0x0000347e 
+ 00013377  0x000026e0 store  0x00000002 , 0x000041f5 
+ 00013378  0x000026e1 setarg  0x000034b2 
+ 00013379  0x000026e2 store  0x00000002 , 0x000041fd 
+ 00013380  0x000026e3 setarg  0x00003465 
+ 00013381  0x000026e4 store  0x00000002 , 0x000041fb 
+ 00013382  0x000026e5 setarg  0x00003470 
+ 00013383  0x000026e6 store  0x00000002 , 0x000041e9 
+ 00013384  0x000026e7 setarg  0x00003501 
+ 00013385  0x000026e8 store  0x00000002 , 0x000041f9 
+ 00013386  0x000026e9 bpatch  0x000000cc , 0x00004019 
+ 00013387  0x000026ea call  0x0000359b 
+ 00013388  0x000026eb call  0x00006948 
+ 00013389  0x000026ec call  0x000035ad 
+ 00013390  0x000026ed call  0x00007d08 
+ 00013391  0x000026ee call  0x00007cd3 
+ 00013392  0x000026ef setarg  0x0000350b 
+ 00013393  0x000026f0 store  0x00000002 , 0x00004766 
+ 00013394  0x000026f1 setarg  0x000034fc 
+ 00013395  0x000026f2 store  0x00000002 , 0x0000475d 
+ 00013396  0x000026f3 setarg  0x000034f8 
+ 00013397  0x000026f4 store  0x00000002 , 0x0000475f 
+ 00013398  0x000026f5 setarg  0x0000346c 
+ 00013399  0x000026f6 store  0x00000002 , 0x00004761 
+ 00013400  0x000026f7 setarg  0x000035a2 
+ 00013401  0x000026f8 store  0x00000002 , 0x000046a9 
+ 00013402  0x000026f9 setarg  0x000035a4 
+ 00013403  0x000026fa store  0x00000002 , 0x000046ab 
+ 00013404  0x000026fb setarg  0x000035a9 
+ 00013405  0x000026fc store  0x00000002 , 0x000046b4 
+ 00013406  0x000026fd setarg  0x000035a6 
+ 00013407  0x000026fe store  0x00000002 , 0x000046b6 
+ 00013408  0x000026ff fetch  0x00000002 , 0x00004682 
+ 00013409  0x00002700 rtnbit1  0x0000000c 
+ 00013410  0x00002701 branch  0x0000340a 
+ 00013411  0x00002704 call  0x00003586 
+ 00013412  0x00002705 branch  0x0000340a 
+ 00013413  0x00002708 call  0x00005892 
+ 00013414  0x00002709 nrtn  0x00000034 
+ 00013415  0x0000270a arg  0x00000b06 , 0x00000011 
+ 00013416  0x0000270b call  0x00007e54 
+ 00013417  0x0000270c nrtn  0x00000028 
+ 00013418  0x0000270d arg  0x00000b06 , 0x00000006 
+ 00013419  0x0000270e branch  0x00004746 
+ 00013420  0x00002711 fetch  0x00000002 , 0x00004797 
+ 00013421  0x00002712 store  0x00000002 , 0x00004791 
+ 00013422  0x00002713 jam  0x00000001 , 0x00004753 
+ 00013423  0x00002714 branch  0x0000358f 
+ 00013424  0x00002717 fetch  0x00000001 , 0x0000479d 
+ 00013425  0x00002718 beq  0x00000001 , 0x00003479 
+ 00013426  0x00002719 fetch  0x00000002 , 0x00004682 
+ 00013427  0x0000271a bbit0  0x00000009 , 0x00003479 
+ 00013428  0x0000271b fetch  0x00000001 , 0x0000479e 
+ 00013429  0x0000271c beq  0x00000001 , 0x000033d0 
+ 00013430  0x0000271d fetch  0x00000001 , 0x00004700 
+ 00013431  0x0000271e nbranch  0x000033d0 , 0x00000034 
+ 00013432  0x0000271f branch  0x000033d2 
+ 00013433  0x00002722 fetch  0x00000001 , 0x0000479b 
+ 00013434  0x00002723 fetcht  0x00000001 , 0x0000479c 
+ 00013435  0x00002724 ior  0x00000002 , 0x0000003f 
+ 00013436  0x00002725 beq  0x00000001 , 0x000033d0 
+ 00013437  0x00002726 branch  0x000033d2 
+ 00013438  0x00002729 copy  0x00000013 , 0x0000003f 
+ 00013439  0x0000272a beq  0x0000002d , 0x00003431 
+ 00013440  0x0000272b beq  0x00000010 , 0x0000341a 
+ 00013441  0x0000272c beq  0x00000014 , 0x000034df 
+ 00013442  0x0000272d beq  0x00000015 , 0x000034e8 
+ 00013443  0x0000272e beq  0x00000040 , 0x00003485 
+ 00013444  0x0000272f rtn 
+ 00013445  0x00002731 fetch  0x00000002 , 0x00004509 
+ 00013446  0x00002732 beq  0x00000001 , 0x0000348c 
+ 00013447  0x00002734 fetch  0x00000002 , 0x000043d8 
+ 00013448  0x00002735 branch  0x000034a2 , 0x00000034 
+ 00013449  0x00002737 jam  0x00000002 , 0x0000478a 
+ 00013450  0x00002738 jam  0x0000003c , 0x0000478f 
+ 00013451  0x00002739 rtn 
+ 00013452  0x0000273c fetch  0x00000002 , 0x0000449a 
+ 00013453  0x0000273d branch  0x000034a0 , 0x00000034 
+ 00013454  0x0000273f jam  0x00000001 , 0x0000478a 
+ 00013455  0x00002740 fetcht  0x00000002 , 0x000047b4 
+ 00013456  0x00002741 fetch  0x00000002 , 0x00004496 
+ 00013457  0x00002742 iadd  0x00000002 , 0x0000003f 
+ 00013458  0x00002743 store  0x00000002 , 0x00004496 
+ 00013459  0x00002744 copy  0x0000003f , 0x00000011 
+ 00013460  0x00002745 fetch  0x00000002 , 0x00004498 
+ 00013461  0x00002746 iadd  0x00000002 , 0x0000003f 
+ 00013462  0x00002747 store  0x00000002 , 0x00004498 
+ 00013463  0x00002748 iadd  0x00000011 , 0x0000003f 
+ 00013464  0x00002749 rshift  0x0000003f , 0x00000002 
+ 00013465  0x0000274a fetch  0x00000002 , 0x000047c0 
+ 00013466  0x0000274b idiv  0x00000002 
+ 00013467  0x0000274c call  0x00007f86 
+ 00013468  0x0000274d quotient  0x0000003f 
+ 00013469  0x0000274e store  0x00000002 , 0x0000449a 
+ 00013470  0x0000274f jam  0x00000001 , 0x00004790 
+ 00013471  0x00002750 rtn 
+ 00013472  0x00002752 jam  0x00000003 , 0x0000478a 
+ 00013473  0x00002753 rtn 
+ 00013474  0x00002756 jam  0x00000000 , 0x00004172 
+ 00013475  0x00002757 jam  0x00000000 , 0x00004790 
+ 00013476  0x00002758 fetch  0x00000002 , 0x000043d6 
+ 00013477  0x00002759 fetcht  0x00000002 , 0x000047be 
+ 00013478  0x0000275a isub  0x00000002 , 0x0000003e 
+ 00013479  0x0000275b setflag  0x00000002 , 0x00000000 , 0x00000011 
+ 00013480  0x0000275c fetch  0x00000002 , 0x000047c0 
+ 00013481  0x0000275d fetcht  0x00000002 , 0x000043d6 
+ 00013482  0x0000275e isub  0x00000002 , 0x0000003f 
+ 00013483  0x0000275f setflag  0x00000002 , 0x00000001 , 0x00000011 
+ 00013484  0x00002760 compare  0x00000003 , 0x00000011 , 0x00000003 
+ 00013485  0x00002761 rtn  0x00000001 
+ 00013486  0x00002762 fetch  0x00000008 , 0x000047be 
+ 00013487  0x00002763 store  0x00000008 , 0x00004496 
+ 00013488  0x00002764 jam  0x00000001 , 0x00004790 
+ 00013489  0x00002765 rtn 
+ 00013490  0x0000276a call  0x0000337b 
+ 00013491  0x0000276b call  0x000034b9 
+ 00013492  0x0000276c call  0x000034be 
+ 00013493  0x0000276d call  0x000034d5 
+ 00013494  0x0000276e call  0x000034ca 
+ 00013495  0x0000276f call  0x000034c4 
+ 00013496  0x00002770 branch  0x000034d9 
+ 00013497  0x00002774 arg  0x00004799 , 0x00000013 
+ 00013498  0x00002775 arg  0x000034bc , 0x00000012 
+ 00013499  0x00002776 branch  0x0000336d 
+ 00013500  0x00002778 jam  0x00000000 , 0x0000479a 
+ 00013501  0x00002779 rtn 
+ 00013502  0x0000277b arg  0x00004793 , 0x00000013 
+ 00013503  0x0000277c arg  0x000034c1 , 0x00000012 
+ 00013504  0x0000277d branch  0x00003374 
+ 00013505  0x0000277f arg  0x000046bf , 0x00000013 
+ 00013506  0x00002780 arg  0x0000469e , 0x00000012 
+ 00013507  0x00002781 branch  0x00003591 
+ 00013508  0x00002785 arg  0x0000478f , 0x00000013 
+ 00013509  0x00002786 arg  0x000034c7 , 0x00000012 
+ 00013510  0x00002787 branch  0x0000336d 
+ 00013511  0x0000278a fetch  0x00000002 , 0x0000449a 
+ 00013512  0x0000278b store  0x00000001 , 0x00004172 
+ 00013513  0x0000278c rtn 
+ 00013514  0x0000278e arg  0x00004790 , 0x00000013 
+ 00013515  0x0000278f arg  0x000034cd , 0x00000012 
+ 00013516  0x00002790 branch  0x0000336d 
+ 00013517  0x00002792 fetch  0x00000001 , 0x0000043f 
+ 00013518  0x00002793 compare  0x00000000 , 0x0000003f , 0x00000060 
+ 00013519  0x00002794 nbranch  0x000034d3 , 0x00000001 
+ 00013520  0x00002795 jam  0x00000001 , 0x0000478a 
+ 00013521  0x00002796 call  0x00003416 
+ 00013522  0x00002797 branch  0x00005abf 
+ 00013523  0x00002799 jam  0x00000001 , 0x00004790 
+ 00013524  0x0000279a rtn 
+ 00013525  0x0000279d arg  0x00004791 , 0x00000013 
+ 00013526  0x0000279e arg  0x000034d8 , 0x00000012 
+ 00013527  0x0000279f branch  0x00003374 
+ 00013528  0x000027a3 branch  0x0000341a 
+ 00013529  0x000027a8 arg  0x0000478d , 0x00000013 
+ 00013530  0x000027a9 arg  0x000034dc , 0x00000012 
+ 00013531  0x000027aa branch  0x00003374 
+ 00013532  0x000027ac fetch  0x00000002 , 0x000047a7 
+ 00013533  0x000027ad store  0x00000002 , 0x0000478d 
+ 00013534  0x000027ae branch  0x000035af 
+ 00013535  0x000027b2 fetch  0x00000002 , 0x000047a7 
+ 00013536  0x000027b3 store  0x00000002 , 0x0000478d 
+ 00013537  0x000027b4 setarg  0x00000000 
+ 00013538  0x000027b5 store  0x00000002 , 0x00004793 
+ 00013539  0x000027b6 store  0x00000002 , 0x00004791 
+ 00013540  0x000027b7 call  0x0000355c 
+ 00013541  0x000027b8 call  0x00003586 
+ 00013542  0x000027b9 jam  0x00000000 , 0x00004172 
+ 00013543  0x000027ba branch  0x000033f8 
+ 00013544  0x000027c0 setarg  0x00000000 
+ 00013545  0x000027c1 store  0x00000004 , 0x0000478d 
+ 00013546  0x000027c2 store  0x00000003 , 0x0000478a 
+ 00013547  0x000027c3 store  0x00000002 , 0x00004509 
+ 00013548  0x000027c5 jam  0x00000001 , 0x000047a0 
+ 00013549  0x000027c6 fetch  0x00000002 , 0x00004797 
+ 00013550  0x000027c7 store  0x00000002 , 0x00004791 
+ 00013551  0x000027c8 call  0x00007e38 
+ 00013552  0x000027c9 fetch  0x00000001 , 0x00004759 
+ 00013553  0x000027ca rtneq  0x00000000 
+ 00013554  0x000027cb call  0x0000358f 
+ 00013555  0x000027cc branch  0x0000356e 
+ 00013556  0x000027d1 branch  0x00003508 
+ 00013557  0x000027d5 fetch  0x00000001 , 0x00004759 
+ 00013558  0x000027d6 rtnne  0x00000002 
+ 00013559  0x000027d7 branch  0x00003508 
+ 00013560  0x000027dd arg  0x000046cd , 0x00000013 
+ 00013561  0x000027de call  0x00003582 
+ 00013562  0x000027df arg  0x000046c6 , 0x00000013 
+ 00013563  0x000027e1 branch  0x00003584 
+ 00013564  0x000027e4 jam  0x00000000 , 0x0000436e 
+ 00013565  0x000027e5 arg  0x000046db , 0x00000013 
+ 00013566  0x000027e6 call  0x00003582 
+ 00013567  0x000027e7 arg  0x000046d4 , 0x00000013 
+ 00013568  0x000027e8 branch  0x000034fb 
+ 00013569  0x000027eb fetch  0x00000001 , 0x00000477 
+ 00013570  0x000027ec beq  0x00000012 , 0x00003504 
+ 00013571  0x000027ed rtn 
+ 00013572  0x000027ef fetch  0x00000002 , 0x00000478 
+ 00013573  0x000027f1 beq  0x0000000d , 0x00003536 
+ 00013574  0x000027f2 beq  0x0000000b , 0x00003571 
+ 00013575  0x000027f3 rtn 
+ 00013576  0x000027f9 fetch  0x00000001 , 0x00004753 
+ 00013577  0x000027fa rtn  0x00000034 
+ 00013578  0x000027fb branch  0x00006978 
+ 00013579  0x00002800 copy  0x00000011 , 0x0000003f 
+ 00013580  0x00002801 branch  0x00003510 , 0x00000034 
+ 00013581  0x00002803 copy  0x00000007 , 0x0000003f 
+ 00013582  0x00002804 beq  0x00000000 , 0x00003513 
+ 00013583  0x00002805 rtn 
+ 00013584  0x00002807 copy  0x00000007 , 0x0000003f 
+ 00013585  0x00002808 beq  0x00000000 , 0x0000351b 
+ 00013586  0x00002809 rtn 
+ 00013587  0x0000280c jam  0x00000001 , 0x0000479d 
+ 00013588  0x0000280d arg  0x000046f7 , 0x00000013 
+ 00013589  0x0000280e call  0x00003582 
+ 00013590  0x0000280f arg  0x000046f0 , 0x00000013 
+ 00013591  0x00002810 call  0x00003584 
+ 00013592  0x00002811 fetch  0x00000002 , 0x00004682 
+ 00013593  0x00002812 bbit0  0x00000009 , 0x00003532 
+ 00013594  0x00002813 branch  0x00003521 
+ 00013595  0x00002816 jam  0x00000000 , 0x0000479d 
+ 00013596  0x00002817 branch  0x0000351d 
+ 00013597  0x0000281c fetch  0x00000001 , 0x0000479a 
+ 00013598  0x0000281d rtnne  0x00000001 
+ 00013599  0x0000281e jam  0x00000005 , 0x00004799 
+ 00013600  0x0000281f rtn 
+ 00013601  0x00002822 fetch  0x00000001 , 0x0000479a 
+ 00013602  0x00002823 pincrease  0x00000001 
+ 00013603  0x00002824 store  0x00000001 , 0x0000479a 
+ 00013604  0x00002825 beq  0x00000001 , 0x00003527 
+ 00013605  0x00002826 beq  0x00000002 , 0x0000352b 
+ 00013606  0x00002827 rtn 
+ 00013607  0x00002829 call  0x0000355c 
+ 00013608  0x0000282a jam  0x00000001 , 0x00004771 
+ 00013609  0x0000282b arg  0x0000476c , 0x00000013 
+ 00013610  0x0000282c branch  0x00003544 
+ 00013611  0x0000282e jam  0x00000000 , 0x0000479a 
+ 00013612  0x0000282f jam  0x00000002 , 0x00004771 
+ 00013613  0x00002830 arg  0x0000476c , 0x00000013 
+ 00013614  0x00002831 call  0x00003544 
+ 00013615  0x00002832 fetch  0x00000001 , 0x0000479e 
+ 00013616  0x00002833 beq  0x00000001 , 0x00003551 
+ 00013617  0x00002834 rtn 
+ 00013618  0x00002837 fetch  0x00000002 , 0x00004797 
+ 00013619  0x00002838 store  0x00000002 , 0x00004791 
+ 00013620  0x00002839 call  0x0000355c 
+ 00013621  0x0000283a branch  0x0000358f 
+ 00013622  0x0000283e bpatch  0x000000cd , 0x00004019 
+ 00013623  0x0000283f call  0x000036fc 
+ 00013624  0x00002840 ifetch  0x00000001 , 0x00000011 
+ 00013625  0x00002841 beq  0x00000003 , 0x0000353c 
+ 00013626  0x00002842 beq  0x00000007 , 0x00003540 
+ 00013627  0x00002843 rtn 
+ 00013628  0x00002846 fetch  0x00000001 , 0x0000479e 
+ 00013629  0x00002847 beq  0x00000000 , 0x00003551 
+ 00013630  0x00002848 beq  0x00000001 , 0x0000355c 
+ 00013631  0x00002849 rtn 
+ 00013632  0x0000284c ifetch  0x00000001 , 0x00000012 
+ 00013633  0x0000284d beq  0x00000001 , 0x00003564 
+ 00013634  0x0000284e beq  0x00000000 , 0x00003569 
+ 00013635  0x0000284f rtn 
+ 00013636  0x00002857 bpatch  0x000000ce , 0x00004019 
+ 00013637  0x00002858 fetch  0x00000001 , 0x0000478b 
+ 00013638  0x00002859 isolate1  0x00000000 , 0x0000003f 
+ 00013639  0x0000285a nrtn  0x00000001 
+ 00013640  0x0000285b add  0x00000013 , 0x00000006 , 0x00000006 
+ 00013641  0x0000285c ifetch  0x00000002 , 0x00000006 
+ 00013642  0x0000285d byteswap  0x0000003f , 0x0000003f 
+ 00013643  0x0000285e add  0x0000003f , 0x00000005 , 0x00000039 
+ 00013644  0x0000285f add  0x00000013 , 0x00000003 , 0x00000006 
+ 00013645  0x00002860 call  0x000036f0 
+ 00013646  0x00002861 istore  0x00000001 , 0x00000006 
+ 00013647  0x00002862 copy  0x00000013 , 0x00000011 
+ 00013648  0x00002863 branch  0x00007e3d 
+ 00013649  0x0000286a fetch  0x00000001 , 0x00004759 
+ 00013650  0x0000286b rtn  0x00000034 
+ 00013651  0x0000286c jam  0x00000001 , 0x0000479e 
+ 00013652  0x0000286d arg  0x000046e9 , 0x00000013 
+ 00013653  0x0000286e call  0x00003582 
+ 00013654  0x0000286f arg  0x000046e2 , 0x00000013 
+ 00013655  0x00002870 call  0x00003584 
+ 00013656  0x00002871 jam  0x00000004 , 0x00004780 
+ 00013657  0x00002872 jam  0x00000001 , 0x00004783 
+ 00013658  0x00002873 arg  0x0000477b , 0x00000013 
+ 00013659  0x00002874 branch  0x00003544 
+ 00013660  0x00002876 fetch  0x00000001 , 0x0000479e 
+ 00013661  0x00002877 rtn  0x00000034 
+ 00013662  0x00002878 jam  0x00000000 , 0x0000479e 
+ 00013663  0x00002879 call  0x00003586 
+ 00013664  0x0000287a jam  0x00000004 , 0x00004780 
+ 00013665  0x0000287b jam  0x00000000 , 0x00004783 
+ 00013666  0x0000287c arg  0x0000477b , 0x00000013 
+ 00013667  0x0000287d branch  0x00003544 
+ 00013668  0x00002880 jam  0x00000001 , 0x0000479f 
+ 00013669  0x00002881 jam  0x00000007 , 0x00004780 
+ 00013670  0x00002882 jam  0x00000001 , 0x00004783 
+ 00013671  0x00002883 arg  0x0000477b , 0x00000013 
+ 00013672  0x00002884 branch  0x00003544 
+ 00013673  0x00002886 jam  0x00000000 , 0x0000479f 
+ 00013674  0x00002887 jam  0x00000007 , 0x00004780 
+ 00013675  0x00002888 jam  0x00000000 , 0x00004783 
+ 00013676  0x00002889 arg  0x0000477b , 0x00000013 
+ 00013677  0x0000288a branch  0x00003544 
+ 00013678  0x0000288c fetch  0x00000001 , 0x0000479f 
+ 00013679  0x0000288d rtn  0x00000034 
+ 00013680  0x0000288e branch  0x00003551 
+ 00013681  0x00002891 ifetch  0x00000002 , 0x00000011 
+ 00013682  0x00002892 store  0x00000002 , 0x0000478b 
+ 00013683  0x00002893 isolate1  0x00000000 , 0x0000003f 
+ 00013684  0x00002894 nrtn  0x00000001 
+ 00013685  0x00002895 fetch  0x00000001 , 0x000047a0 
+ 00013686  0x00002896 rtn  0x00000034 
+ 00013687  0x00002897 jam  0x00000000 , 0x000047a0 
+ 00013688  0x00002898 fetch  0x00000008 , 0x000047b6 
+ 00013689  0x00002899 store  0x00000008 , 0x00004496 
+ 00013690  0x0000289a jam  0x00000002 , 0x00004790 
+ 00013691  0x0000289b call  0x000035af 
+ 00013692  0x0000289c call  0x000035b9 
+ 00013693  0x0000289d jam  0x00000007 , 0x00004780 
+ 00013694  0x0000289e fetch  0x00000001 , 0x0000479f 
+ 00013695  0x0000289f store  0x00000001 , 0x00004783 
+ 00013696  0x000028a0 arg  0x0000477b , 0x00000013 
+ 00013697  0x000028a1 branch  0x00003544 
+ 00013698  0x000028a6 arg  0x00000001 , 0x00000011 
+ 00013699  0x000028a7 branch  0x00003585 
+ 00013700  0x000028a9 arg  0x00000000 , 0x00000011 
+ 00013701  0x000028ab branch  0x0000358c 
+ 00013702  0x000028ae arg  0x00000000 , 0x00000011 
+ 00013703  0x000028af call  0x00007d19 
+ 00013704  0x000028b0 arg  0x00000001 , 0x00000011 
+ 00013705  0x000028b1 call  0x00007d19 
+ 00013706  0x000028b2 fetch  0x00000001 , 0x000047a1 
+ 00013707  0x000028b3 branch  0x000069d7 
+ 00013708  0x000028b6 call  0x00007d04 
+ 00013709  0x000028b7 arg  0x00000007 , 0x00000039 
+ 00013710  0x000028b8 branch  0x00007d26 
+ 00013711  0x000028bd arg  0x000046b8 , 0x00000013 
+ 00013712  0x000028be arg  0x0000469a , 0x00000012 
+ 00013713  0x000028c0 call  0x00003596 
+ 00013714  0x000028c1 call  0x00003584 
+ 00013715  0x000028c2 fetch  0x00000002 , 0x00004795 
+ 00013716  0x000028c3 store  0x00000002 , 0x00004793 
+ 00013717  0x000028c4 branch  0x000033fa 
+ 00013718  0x000028c7 ifetch  0x00000002 , 0x00000012 
+ 00013719  0x000028c8 store  0x00000002 , 0x00004154 
+ 00013720  0x000028c9 ifetch  0x00000002 , 0x00000006 
+ 00013721  0x000028ca store  0x00000002 , 0x00004482 
+ 00013722  0x000028cb rtn 
+ 00013723  0x000028ce arg  0x00000000 , 0x00000011 
+ 00013724  0x000028cf call  0x000069a6 
+ 00013725  0x000028d0 fetch  0x00000006 , 0x000047a1 
+ 00013726  0x000028d1 store  0x00000006 , 0x00000a9a 
+ 00013727  0x000028d2 call  0x000069ae 
+ 00013728  0x000028d3 fetch  0x00000001 , 0x000047a1 
+ 00013729  0x000028d4 branch  0x000069d7 
+ 00013730  0x000028d7 jam  0x00000001 , 0x0000479b 
+ 00013731  0x000028d8 rtn 
+ 00013732  0x000028da jam  0x00000000 , 0x0000479b 
+ 00013733  0x000028db rtn 
+ 00013734  0x000028e0 jam  0x00000000 , 0x0000479c 
+ 00013735  0x000028e1 fetch  0x00000001 , 0x000047a1 
+ 00013736  0x000028e2 branch  0x000069d7 
+ 00013737  0x000028e5 jam  0x00000001 , 0x0000479c 
+ 00013738  0x000028e6 fetch  0x00000006 , 0x000047a1 
+ 00013739  0x000028e7 store  0x00000006 , 0x00000a9a 
+ 00013740  0x000028e8 branch  0x000069ae 
+ 00013741  0x000028ed jam  0x00000000 , 0x0000422d 
+ 00013742  0x000028ee branch  0x000068a8 
+ 00013743  0x000028f1 call  0x000068eb 
+ 00013744  0x000028f2 call  0x00006908 
+ 00013745  0x000028f3 store  0x00000002 , 0x000047b0 
+ 00013746  0x000028f4 arg  0x000047aa , 0x00000011 
+ 00013747  0x000028f5 call  0x00006930 
+ 00013748  0x000028f6 store  0x00000001 , 0x000047a9 
+ 00013749  0x000028f7 beq  0x00000000 , 0x000035be 
+ 00013750  0x000028f8 sub  0x0000003f , 0x00000064 , 0x0000003e 
+ 00013751  0x000028f9 nbranch  0x000035bc , 0x00000002 
+ 00013752  0x000028fa store  0x00000001 , 0x00004783 
+ 00013753  0x000028fc jam  0x00000005 , 0x00004780 
+ 00013754  0x000028fd arg  0x0000477b , 0x00000013 
+ 00013755  0x000028fe branch  0x00003544 
+ 00013756  0x00002900 jam  0x00000064 , 0x00004783 
+ 00013757  0x00002901 branch  0x000035b9 
+ 00013758  0x00002904 branch  0x0000341a 
+ 00013759  0x00002909 rtn  0x0000002b 
+ 00013760  0x0000290a hfetch  0x00000001 , 0x00008081 
+ 00013761  0x0000290b and_into  0x000000f0 , 0x0000003f 
+ 00013762  0x0000290c hstore  0x00000001 , 0x00008081 
+ 00013763  0x0000290d setarg  0x00003631 
+ 00013764  0x0000290e store  0x00000002 , 0x000041eb 
+ 00013765  0x00002910 setarg  0x00003633 
+ 00013766  0x00002911 store  0x00000002 , 0x000041ed 
+ 00013767  0x00002913 setarg  0x0000340a 
+ 00013768  0x00002914 store  0x00000002 , 0x000041f7 
+ 00013769  0x00002916 setarg  0x00003635 
+ 00013770  0x00002917 store  0x00000002 , 0x000041f3 
+ 00013771  0x00002919 setarg  0x0000364b 
+ 00013772  0x0000291a store  0x00000002 , 0x000041f5 
+ 00013773  0x0000291c setarg  0x000033d0 
+ 00013774  0x0000291d store  0x00000002 , 0x000041e9 
+ 00013775  0x0000291f setarg  0x000036f6 
+ 00013776  0x00002920 store  0x00000002 , 0x000041f9 
+ 00013777  0x00002922 setarg  0x0000367a 
+ 00013778  0x00002923 store  0x00000002 , 0x000041fd 
+ 00013779  0x00002925 call  0x00002c7a 
+ 00013780  0x00002926 setarg  0x00003722 
+ 00013781  0x00002927 add  0x00000013 , 0x000000de , 0x00000005 
+ 00013782  0x00002928 istore  0x00000002 , 0x00000005 
+ 00013783  0x0000292a setarg  0x000035ed 
+ 00013784  0x0000292b store  0x00000002 , 0x0000475b 
+ 00013785  0x0000292d setarg  0x000035ef 
+ 00013786  0x0000292e store  0x00000002 , 0x0000475f 
+ 00013787  0x00002930 bpatch  0x000000cf , 0x00004019 
+ 00013788  0x00002931 call  0x00003628 
+ 00013789  0x00002932 call  0x00007e38 
+ 00013790  0x00002933 jam  0x00000002 , 0x00004172 
+ 00013791  0x00002934 jam  0x00000000 , 0x000049f6 
+ 00013792  0x00002935 fetch  0x00000001 , 0x000047cb 
+ 00013793  0x00002936 store  0x00000001 , 0x0000469a 
+ 00013794  0x00002937 beq  0x00000000 , 0x000035ee 
+ 00013795  0x00002938 fetch  0x00000001 , 0x000047cc 
+ 00013796  0x00002939 store  0x00000001 , 0x00004686 
+ 00013797  0x0000293a jam  0x00000000 , 0x0000436e 
+ 00013798  0x0000293c call  0x0000360f 
+ 00013799  0x0000293d call  0x00007cd3 
+ 00013800  0x0000293e call  0x00007cdd 
+ 00013801  0x0000293f jam  0x00000001 , 0x000047f3 
+ 00013802  0x00002940 fetch  0x00000002 , 0x00004682 
+ 00013803  0x00002941 rtnbit1  0x0000000c 
+ 00013804  0x00002942 branch  0x0000340a 
+ 00013805  0x00002945 branch  0x0000360f 
+ 00013806  0x00002948 jam  0x00000002 , 0x000047f3 
+ 00013807  0x0000294a jam  0x00000001 , 0x0000436e 
+ 00013808  0x0000294b call  0x0000360f 
+ 00013809  0x0000294c arg  0x00000000 , 0x00000011 
+ 00013810  0x0000294d call  0x00007d1e 
+ 00013811  0x0000294f setarg  0x00000020 
+ 00013812  0x00002950 call  0x000046f0 
+ 00013813  0x00002952 arg  0x000043b7 , 0x00000005 
+ 00013814  0x00002953 fetch  0x00000001 , 0x000044a0 
+ 00013815  0x00002955 and  0x0000003f , 0x000000f0 , 0x00000002 
+ 00013816  0x00002956 rshift4  0x00000002 , 0x00000002 
+ 00013817  0x00002957 call  0x00003609 
+ 00013818  0x00002958 istoret  0x00000001 , 0x00000005 
+ 00013819  0x00002959 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00013820  0x0000295a call  0x00003609 
+ 00013821  0x0000295b istoret  0x00000001 , 0x00000005 
+ 00013822  0x0000295c call  0x000057a6 
+ 00013823  0x0000295d fetcht  0x00000001 , 0x000043af 
+ 00013824  0x0000295e copy  0x00000002 , 0x00000039 
+ 00013825  0x0000295f arg  0x00004372 , 0x00000005 
+ 00013826  0x00002960 arg  0x000043b0 , 0x00000006 
+ 00013827  0x00002961 call  0x00007f01 
+ 00013828  0x00002963 fetcht  0x00000001 , 0x000043af 
+ 00013829  0x00002964 copy  0x00000002 , 0x00000039 
+ 00013830  0x00002965 arg  0x00004392 , 0x00000005 
+ 00013831  0x00002966 arg  0x000043b0 , 0x00000006 
+ 00013832  0x00002967 branch  0x00007f01 
+ 00013833  0x00002969 sub  0x00000002 , 0x00000009 , 0x0000003e 
+ 00013834  0x0000296a branch  0x0000360d , 0x00000002 
+ 00013835  0x0000296b add  0x00000002 , 0x00000037 , 0x00000002 
+ 00013836  0x0000296c rtn 
+ 00013837  0x0000296e add  0x00000002 , 0x00000030 , 0x00000002 
+ 00013838  0x0000296f rtn 
+ 00013839  0x00002972 fetch  0x00000001 , 0x000047c0 
+ 00013840  0x00002973 bne  0x000000ff , 0x00003621 
+ 00013841  0x00002975 fetch  0x00000001 , 0x000047be 
+ 00013842  0x00002976 bne  0x000000ff , 0x00003624 
+ 00013843  0x00002978 fetch  0x00000001 , 0x000047c9 
+ 00013844  0x00002979 bne  0x000000ff , 0x00003626 
+ 00013845  0x0000297b fetch  0x00000001 , 0x0000472c 
+ 00013846  0x0000297c copy  0x0000003f , 0x00000039 
+ 00013847  0x0000297d setarg  0x0000472d 
+ 00013848  0x0000297e copy  0x0000003f , 0x00000011 
+ 00013849  0x00002980 copy  0x00000011 , 0x00000006 
+ 00013850  0x00002981 ifetch  0x00000001 , 0x00000006 
+ 00013851  0x00002982 copy  0x00000006 , 0x00000011 
+ 00013852  0x00002983 beq  0x000000ff , 0x0000361f 
+ 00013853  0x00002984 copy  0x0000003f , 0x00000002 
+ 00013854  0x00002985 call  0x0000680e 
+ 00013855  0x00002987 loop  0x00003619 
+ 00013856  0x00002989 rtn 
+ 00013857  0x0000298b fetch  0x00000008 , 0x000047c0 
+ 00013858  0x0000298c store  0x00000008 , 0x0000472f 
+ 00013859  0x0000298d branch  0x00003611 
+ 00013860  0x0000298f store  0x00000001 , 0x0000472d 
+ 00013861  0x00002990 branch  0x00003613 
+ 00013862  0x00002992 store  0x00000001 , 0x0000472e 
+ 00013863  0x00002993 branch  0x00003615 
+ 00013864  0x00002997 arg  0x00000000 , 0x00000011 
+ 00013865  0x00002998 call  0x000069a6 
+ 00013866  0x00002999 call  0x000037e4 
+ 00013867  0x0000299a call  0x00002c7d 
+ 00013868  0x0000299b branch  0x0000362d 
+ 00013869  0x0000299e jam  0x00000064 , 0x000047cf 
+ 00013870  0x0000299f fetch  0x00000001 , 0x000047c9 
+ 00013871  0x000029a0 store  0x00000001 , 0x00004744 
+ 00013872  0x000029a1 branch  0x000068a8 
+ 00013873  0x000029a4 call  0x00006835 
+ 00013874  0x000029a5 branch  0x0000696c 
+ 00013875  0x000029a8 branch  0x0000696c 
+ 00013876  0x000029ad branch  0x00006978 
+ 00013877  0x000029b0 call  0x00003642 
+ 00013878  0x000029b1 call  0x000037ee 
+ 00013879  0x000029b2 call  0x00003639 
+ 00013880  0x000029b3 branch  0x00003634 
+ 00013881  0x000029b6 fetch  0x00000002 , 0x00004682 
+ 00013882  0x000029b7 rtnbit1  0x00000009 
+ 00013883  0x000029b8 fetch  0x00000001 , 0x000049f6 
+ 00013884  0x000029b9 beq  0x00000001 , 0x0000363e 
+ 00013885  0x000029ba rtn 
+ 00013886  0x000029bc fetch  0x00000001 , 0x000047ea 
+ 00013887  0x000029bd rtneq  0x00000001 
+ 00013888  0x000029be jam  0x00000001 , 0x000047ea 
+ 00013889  0x000029bf branch  0x00003654 
+ 00013890  0x000029c2 fetch  0x00000002 , 0x00004682 
+ 00013891  0x000029c3 rtnbit0  0x00000009 
+ 00013892  0x000029c4 call  0x00005892 
+ 00013893  0x000029c5 nrtn  0x00000034 
+ 00013894  0x000029c6 arg  0x00004718 , 0x00000011 
+ 00013895  0x000029c7 call  0x00007e54 
+ 00013896  0x000029c8 nrtn  0x00000028 
+ 00013897  0x000029c9 arg  0x00004718 , 0x00000006 
+ 00013898  0x000029ca branch  0x00004746 
+ 00013899  0x000029cd copy  0x00000013 , 0x0000003f 
+ 00013900  0x000029ce beq  0x0000002d , 0x00003431 
+ 00013901  0x000029cf beq  0x00000010 , 0x0000341a 
+ 00013902  0x000029d0 beq  0x00000014 , 0x00003651 
+ 00013903  0x000029d1 beq  0x00000015 , 0x00003660 
+ 00013904  0x000029d2 rtn 
+ 00013905  0x000029d5 setarg  0x00000000 
+ 00013906  0x000029d6 call  0x00003220 
+ 00013907  0x000029d7 branch  0x00003656 
+ 00013908  0x000029d9 fetch  0x00000002 , 0x000047eb 
+ 00013909  0x000029da store  0x00000002 , 0x000047ed 
+ 00013910  0x000029dc jam  0x00000014 , 0x000047ce 
+ 00013911  0x000029dd jam  0x00000000 , 0x00004091 
+ 00013912  0x000029de call  0x000033f8 
+ 00013913  0x000029df call  0x00003416 
+ 00013914  0x000029e0 fetch  0x00000001 , 0x000047bd 
+ 00013915  0x000029e1 beq  0x00000001 , 0x0000365e 
+ 00013916  0x000029e3 arg  0x00000000 , 0x00000011 
+ 00013917  0x000029e4 branch  0x00007d14 
+ 00013918  0x000029e6 arg  0x00000000 , 0x00000011 
+ 00013919  0x000029e7 branch  0x00007d19 
+ 00013920  0x000029ea setarg  0x00000002 
+ 00013921  0x000029eb call  0x00003220 
+ 00013922  0x000029ed setarg  0x00000000 
+ 00013923  0x000029ee store  0x00000005 , 0x0000479c 
+ 00013924  0x000029ef setarg  0x00000004 
+ 00013925  0x000029f0 call  0x000069d7 
+ 00013926  0x000029f1 setarg  0x00000005 
+ 00013927  0x000029f2 call  0x000069d7 
+ 00013928  0x000029f3 setarg  0x00000014 
+ 00013929  0x000029f4 call  0x000069d7 
+ 00013930  0x000029f5 setarg  0x00000015 
+ 00013931  0x000029f6 call  0x000069d7 
+ 00013932  0x000029f7 setarg  0x00000016 
+ 00013933  0x000029f8 call  0x000069d7 
+ 00013934  0x000029f9 setarg  0x00000007 
+ 00013935  0x000029fa call  0x000069d7 
+ 00013936  0x000029fb call  0x00007e38 
+ 00013937  0x000029fc jam  0x0000000a , 0x0000475e 
+ 00013938  0x000029fd jam  0x0000000a , 0x00004760 
+ 00013939  0x000029fe jam  0x0000000a , 0x00004762 
+ 00013940  0x00002a00 jam  0x00000002 , 0x00004172 
+ 00013941  0x00002a01 arg  0x00000000 , 0x00000011 
+ 00013942  0x00002a02 call  0x00007d1e 
+ 00013943  0x00002a04 setarg  0x00000020 
+ 00013944  0x00002a05 call  0x000046f0 
+ 00013945  0x00002a06 branch  0x000033fa 
+ 00013946  0x00002a0a call  0x0000373b 
+ 00013947  0x00002a0b call  0x0000373e 
+ 00013948  0x00002a0c call  0x00003741 
+ 00013949  0x00002a0d call  0x0000337b 
+ 00013950  0x00002a0e call  0x000036c8 
+ 00013951  0x00002a0f call  0x000036a1 
+ 00013952  0x00002a10 call  0x0000368a 
+ 00013953  0x00002a11 call  0x00003683 
+ 00013954  0x00002a12 branch  0x0000368f 
+ 00013955  0x00002a15 arg  0x0000479a , 0x00000013 
+ 00013956  0x00002a16 arg  0x00003686 , 0x00000012 
+ 00013957  0x00002a17 branch  0x0000336d 
+ 00013958  0x00002a19 call  0x00003847 
+ 00013959  0x00002a1a nrtn  0x00000001 
+ 00013960  0x00002a1b jam  0x00000001 , 0x0000479b 
+ 00013961  0x00002a1c rtn 
+ 00013962  0x00002a1f arg  0x000047ed , 0x00000013 
+ 00013963  0x00002a20 arg  0x0000368d , 0x00000012 
+ 00013964  0x00002a21 branch  0x00003374 
+ 00013965  0x00002a23 jam  0x00000002 , 0x000047ea 
+ 00013966  0x00002a24 branch  0x00003662 
+ 00013967  0x00002a27 arg  0x000047f1 , 0x00000013 
+ 00013968  0x00002a28 arg  0x00003692 , 0x00000012 
+ 00013969  0x00002a29 branch  0x0000336d 
+ 00013970  0x00002a2b fetch  0x00000001 , 0x000047f2 
+ 00013971  0x00002a2c branch  0x0000369e , 0x00000034 
+ 00013972  0x00002a2d jam  0x00000002 , 0x000047f1 
+ 00013973  0x00002a2e jam  0x00000000 , 0x000047f2 
+ 00013974  0x00002a2f setarg  0x00000a02 
+ 00013975  0x00002a30 store  0x00000002 , 0x00004752 
+ 00013976  0x00002a31 fetch  0x00000001 , 0x000047b9 
+ 00013977  0x00002a32 beq  0x00000003 , 0x0000369b 
+ 00013978  0x00002a34 branch  0x00003762 
+ 00013979  0x00002a36 setarg  0x00000a02 
+ 00013980  0x00002a37 store  0x00000002 , 0x00004754 
+ 00013981  0x00002a38 branch  0x00003762 
+ 00013982  0x00002a3a setarg  0x00000000 
+ 00013983  0x00002a3b store  0x00000004 , 0x00004752 
+ 00013984  0x00002a3c branch  0x00003762 
+ 00013985  0x00002a3f fetch  0x00000001 , 0x000047c8 
+ 00013986  0x00002a40 rtn  0x00000034 
+ 00013987  0x00002a41 fetch  0x00000002 , 0x00004682 
+ 00013988  0x00002a42 bbit0  0x00000009 , 0x000036c6 
+ 00013989  0x00002a43 arg  0x000047ce , 0x00000013 
+ 00013990  0x00002a44 arg  0x000036a8 , 0x00000012 
+ 00013991  0x00002a45 branch  0x0000336d 
+ 00013992  0x00002a47 fetch  0x00000001 , 0x000047cd 
+ 00013993  0x00002a48 store  0x00000001 , 0x000047ce 
+ 00013994  0x00002a49 fetch  0x00000001 , 0x000047d1 
+ 00013995  0x00002a4a nrtn  0x00000034 
+ 00013996  0x00002a4c call  0x000068eb 
+ 00013997  0x00002a4d call  0x00006908 
+ 00013998  0x00002a4e store  0x00000002 , 0x000047e8 
+ 00013999  0x00002a4f arg  0x000047e2 , 0x00000011 
+ 00014000  0x00002a50 call  0x00006930 
+ 00014001  0x00002a51 fetcht  0x00000001 , 0x000047cf 
+ 00014002  0x00002a52 isub  0x00000002 , 0x0000003e 
+ 00014003  0x00002a53 branch  0x000036b6 , 0x00000002 
+ 00014004  0x00002a54 store  0x00000001 , 0x000047cf 
+ 00014005  0x00002a55 copy  0x0000003f , 0x00000002 
+ 00014006  0x00002a57 storet  0x00000001 , 0x000047d0 
+ 00014007  0x00002a58 fetch  0x00000001 , 0x000047ca 
+ 00014008  0x00002a59 isub  0x00000002 , 0x0000003e 
+ 00014009  0x00002a5a call  0x000036c1 , 0x00000002 
+ 00014010  0x00002a5b storet  0x00000001 , 0x000047db 
+ 00014011  0x00002a5c arg  0x00000006 , 0x00000039 
+ 00014012  0x00002a5d arg  0x000047d6 , 0x00000006 
+ 00014013  0x00002a5e call  0x000036f0 
+ 00014014  0x00002a5f store  0x00000001 , 0x000047dc 
+ 00014015  0x00002a60 arg  0x000047d3 , 0x00000011 
+ 00014016  0x00002a61 branch  0x00007e3d 
+ 00014017  0x00002a63 fetch  0x00000001 , 0x000047d2 
+ 00014018  0x00002a64 nrtn  0x00000034 
+ 00014019  0x00002a65 jam  0x00000001 , 0x000047d2 
+ 00014020  0x00002a66 arg  0x00000001 , 0x00000011 
+ 00014021  0x00002a67 branch  0x00007d1e 
+ 00014022  0x00002a69 arg  0x00000001 , 0x00000011 
+ 00014023  0x00002a6a branch  0x00007d19 
+ 00014024  0x00002a6d arg  0x000047a4 , 0x00000013 
+ 00014025  0x00002a6e arg  0x000036cb , 0x00000012 
+ 00014026  0x00002a6f branch  0x0000336d 
+ 00014027  0x00002a71 jam  0x00000005 , 0x000047a4 
+ 00014028  0x00002a72 jam  0x00000000 , 0x000047a6 
+ 00014029  0x00002a73 fetch  0x00000001 , 0x000047a5 
+ 00014030  0x00002a74 beq  0x00000001 , 0x000036ee 
+ 00014031  0x00002a75 beq  0x00000000 , 0x000036ec 
+ 00014032  0x00002a77 arg  0x0000479c , 0x00000006 
+ 00014033  0x00002a78 copy  0x00000006 , 0x00000011 
+ 00014034  0x00002a79 arg  0x00000008 , 0x00000039 
+ 00014035  0x00002a7b copy  0x00000011 , 0x00000006 
+ 00014036  0x00002a7c ifetch  0x00000001 , 0x00000006 
+ 00014037  0x00002a7d copy  0x00000006 , 0x00000011 
+ 00014038  0x00002a7e beq  0x00000000 , 0x000036e3 
+ 00014039  0x00002a7f beq  0x00000001 , 0x000036e6 
+ 00014040  0x00002a80 beq  0x00000002 , 0x000036e9 
+ 00014041  0x00002a82 fetch  0x00000001 , 0x000047a6 
+ 00014042  0x00002a83 increase  0x00000001 , 0x0000003f 
+ 00014043  0x00002a84 store  0x00000001 , 0x000047a6 
+ 00014044  0x00002a85 loop  0x000036d3 
+ 00014045  0x00002a86 rtn 
+ 00014046  0x00002a88 fetch  0x00000001 , 0x000047a6 
+ 00014047  0x00002a89 arg  0x000047c0 , 0x00000012 
+ 00014048  0x00002a8a iadd  0x00000012 , 0x00000012 
+ 00014049  0x00002a8b ifetcht  0x00000001 , 0x00000012 
+ 00014050  0x00002a8c rtn 
+ 00014051  0x00002a8e call  0x000036de 
+ 00014052  0x00002a8f call  0x00006825 
+ 00014053  0x00002a90 branch  0x000036d9 
+ 00014054  0x00002a92 call  0x000036de 
+ 00014055  0x00002a93 call  0x00006829 
+ 00014056  0x00002a94 branch  0x000036d9 
+ 00014057  0x00002a96 fetch  0x00000001 , 0x000047a5 
+ 00014058  0x00002a97 beq  0x00000001 , 0x000036e3 
+ 00014059  0x00002a98 branch  0x000036e6 
+ 00014060  0x00002a9a jam  0x00000001 , 0x000047a5 
+ 00014061  0x00002a9b branch  0x000036d0 
+ 00014062  0x00002a9d jam  0x00000000 , 0x000047a5 
+ 00014063  0x00002a9e branch  0x000036d0 
+ 00014064  0x00002aa3 arg  0x00000000 , 0x00000011 
+ 00014065  0x00002aa5 ifetch  0x00000001 , 0x00000006 
+ 00014066  0x00002aa6 iadd  0x00000011 , 0x00000011 
+ 00014067  0x00002aa7 loop  0x000036f1 
+ 00014068  0x00002aa9 and  0x00000011 , 0x000000ff , 0x0000003f 
+ 00014069  0x00002aaa rtn 
+ 00014070  0x00002aad fetch  0x00000001 , 0x00000477 
+ 00014071  0x00002aae beq  0x00000012 , 0x000036f9 
+ 00014072  0x00002aaf rtn 
+ 00014073  0x00002ab1 fetch  0x00000002 , 0x00000478 
+ 00014074  0x00002ab2 beq  0x00000014 , 0x00003710 
+ 00014075  0x00002ab3 rtn 
+ 00014076  0x00002ac0 bpatch  0x000000d0 , 0x0000401a 
+ 00014077  0x00002ac1 ifetch  0x00000005 , 0x00000011 
+ 00014078  0x00002ac2 store  0x00000005 , 0x00000b12 
+ 00014079  0x00002ac3 fetch  0x00000002 , 0x00000b12 
+ 00014080  0x00002ac4 arg  0x00006b5a , 0x00000002 
+ 00014081  0x00002ac5 isub  0x00000002 , 0x0000003e 
+ 00014082  0x00002ac6 nrtn  0x00000005 
+ 00014083  0x00002ac7 fetch  0x00000002 , 0x00000b15 
+ 00014084  0x00002ac8 byteswap  0x0000003f , 0x0000003f 
+ 00014085  0x00002ac9 store  0x00000002 , 0x00000b15 
+ 00014086  0x00002aca copy  0x0000003f , 0x00000039 
+ 00014087  0x00002acb increase  0x00000005 , 0x00000011 
+ 00014088  0x00002acc copy  0x00000011 , 0x00000006 
+ 00014089  0x00002acd arg  0x00000b17 , 0x00000005 
+ 00014090  0x00002ace call  0x00007f01 
+ 00014091  0x00002acf ifetch  0x00000001 , 0x00000006 
+ 00014092  0x00002ad0 store  0x00000001 , 0x00000b21 
+ 00014093  0x00002ad1 arg  0x00000b14 , 0x00000011 
+ 00014094  0x00002ad2 arg  0x00000b17 , 0x00000012 
+ 00014095  0x00002ad3 rtn 
+ 00014096  0x00002ad6 setarg  0x00000000 
+ 00014097  0x00002ad7 store  0x00000005 , 0x00004752 
+ 00014098  0x00002ad8 store  0x00000005 , 0x00004757 
+ 00014099  0x00002ad9 call  0x000036fc 
+ 00014100  0x00002ada copy  0x00000012 , 0x00000006 
+ 00014101  0x00002adb arg  0x00004752 , 0x00000005 
+ 00014102  0x00002adc arg  0x0000000a , 0x00000039 
+ 00014103  0x00002add call  0x00007f01 
+ 00014104  0x00002adf bpatch  0x000000d1 , 0x0000401a 
+ 00014105  0x00002ae0 ifetch  0x00000001 , 0x00000011 
+ 00014106  0x00002ae1 beq  0x00000002 , 0x0000374a 
+ 00014107  0x00002ae2 beq  0x00000003 , 0x0000375c 
+ 00014108  0x00002ae3 beq  0x00000004 , 0x00003762 
+ 00014109  0x00002ae4 beq  0x00000005 , 0x00003762 
+ 00014110  0x00002ae5 beq  0x00000006 , 0x000037b1 
+ 00014111  0x00002ae6 beq  0x00000007 , 0x00003849 
+ 00014112  0x00002ae7 beq  0x00000008 , 0x0000384c 
+ 00014113  0x00002ae8 rtn 
+ 00014114  0x00002aeb fetch  0x00000002 , 0x00004682 
+ 00014115  0x00002aec rtnbit1  0x00000009 
+ 00014116  0x00002aee fetch  0x00000002 , 0x000047eb 
+ 00014117  0x00002aef store  0x00000002 , 0x000047ed 
+ 00014118  0x00002af1 jam  0x00000001 , 0x000049f6 
+ 00014119  0x00002af3 setarg  0x0000010c 
+ 00014120  0x00002af4 call  0x000032cd 
+ 00014121  0x00002af5 call  0x00003710 
+ 00014122  0x00002af7 fetch  0x00000001 , 0x00000b14 
+ 00014123  0x00002af8 beq  0x00000004 , 0x0000372e 
+ 00014124  0x00002af9 beq  0x00000005 , 0x0000372e 
+ 00014125  0x00002afa rtn 
+ 00014126  0x00002afc fetch  0x00000001 , 0x00004752 
+ 00014127  0x00002afd ncall  0x00003735 , 0x00000034 
+ 00014128  0x00002afe fetch  0x00000001 , 0x00004754 
+ 00014129  0x00002aff ncall  0x00003737 , 0x00000034 
+ 00014130  0x00002b00 fetch  0x00000001 , 0x00004756 
+ 00014131  0x00002b01 ncall  0x00003739 , 0x00000034 
+ 00014132  0x00002b02 rtn 
+ 00014133  0x00002b05 jam  0x00000005 , 0x000049f3 
+ 00014134  0x00002b06 rtn 
+ 00014135  0x00002b08 jam  0x00000005 , 0x000049f4 
+ 00014136  0x00002b09 rtn 
+ 00014137  0x00002b0b jam  0x00000005 , 0x000049f5 
+ 00014138  0x00002b0c rtn 
+ 00014139  0x00002b0f arg  0x000049f3 , 0x00000013 
+ 00014140  0x00002b10 arg  0x00003744 , 0x00000012 
+ 00014141  0x00002b11 branch  0x0000336d 
+ 00014142  0x00002b13 arg  0x000049f4 , 0x00000013 
+ 00014143  0x00002b14 arg  0x00003746 , 0x00000012 
+ 00014144  0x00002b15 branch  0x0000336d 
+ 00014145  0x00002b17 arg  0x000049f5 , 0x00000013 
+ 00014146  0x00002b18 arg  0x00003748 , 0x00000012 
+ 00014147  0x00002b19 branch  0x0000336d 
+ 00014148  0x00002b1c jam  0x00000000 , 0x00004752 
+ 00014149  0x00002b1d branch  0x00003762 
+ 00014150  0x00002b1f jam  0x00000000 , 0x00004754 
+ 00014151  0x00002b20 branch  0x00003762 
+ 00014152  0x00002b22 jam  0x00000000 , 0x00004756 
+ 00014153  0x00002b23 branch  0x00003762 
+ 00014154  0x00002b29 call  0x0000374c 
+ 00014155  0x00002b2a branch  0x0000374f 
+ 00014156  0x00002b2c fetch  0x00000001 , 0x00004752 
+ 00014157  0x00002b2d store  0x00000001 , 0x0000475f 
+ 00014158  0x00002b2e branch  0x00003773 
+ 00014159  0x00002b30 fetch  0x00000001 , 0x0000475e 
+ 00014160  0x00002b31 call  0x00003754 
+ 00014161  0x00002b32 fetch  0x00000001 , 0x00004753 
+ 00014162  0x00002b33 store  0x00000001 , 0x0000475d 
+ 00014163  0x00002b34 branch  0x00003770 
+ 00014164  0x00002b36 beq  0x00000002 , 0x00003758 
+ 00014165  0x00002b37 beq  0x00000003 , 0x0000375a 
+ 00014166  0x00002b38 store  0x00000001 , 0x0000475e 
+ 00014167  0x00002b39 rtn 
+ 00014168  0x00002b3b jam  0x00000005 , 0x0000475e 
+ 00014169  0x00002b3c rtn 
+ 00014170  0x00002b3e jam  0x0000000a , 0x0000475e 
+ 00014171  0x00002b3f rtn 
+ 00014172  0x00002b41 fetch  0x00000001 , 0x00004752 
+ 00014173  0x00002b42 call  0x00003754 
+ 00014174  0x00002b43 fetch  0x00000001 , 0x0000475e 
+ 00014175  0x00002b44 call  0x0000379e 
+ 00014176  0x00002b45 call  0x000037a1 
+ 00014177  0x00002b46 branch  0x000069c4 
+ 00014178  0x00002b49 fetch  0x00000001 , 0x000047f0 
+ 00014179  0x00002b4a nrtn  0x00000034 
+ 00014180  0x00002b4b fetch  0x00000006 , 0x00004752 
+ 00014181  0x00002b4c store  0x00000006 , 0x0000475d 
+ 00014182  0x00002b4d fetch  0x00000001 , 0x0000475e 
+ 00014183  0x00002b4e fetcht  0x00000001 , 0x00004760 
+ 00014184  0x00002b4f iand  0x00000002 , 0x0000003f 
+ 00014185  0x00002b50 fetcht  0x00000001 , 0x00004762 
+ 00014186  0x00002b51 iand  0x00000002 , 0x0000003f 
+ 00014187  0x00002b52 call  0x00003779 , 0x00000034 
+ 00014188  0x00002b53 bpatch  0x000000d2 , 0x0000401a 
+ 00014189  0x00002b54 call  0x00003770 
+ 00014190  0x00002b55 call  0x00003773 
+ 00014191  0x00002b56 branch  0x00003776 
+ 00014192  0x00002b58 arg  0x00004763 , 0x00000012 
+ 00014193  0x00002b59 arg  0x0000475d , 0x00000006 
+ 00014194  0x00002b5a branch  0x0000377b 
+ 00014195  0x00002b5c arg  0x0000476b , 0x00000012 
+ 00014196  0x00002b5d arg  0x0000475f , 0x00000006 
+ 00014197  0x00002b5e branch  0x0000377b 
+ 00014198  0x00002b60 arg  0x00004773 , 0x00000012 
+ 00014199  0x00002b61 arg  0x00004761 , 0x00000006 
+ 00014200  0x00002b62 branch  0x0000377b 
+ 00014201  0x00002b64 jam  0x00000000 , 0x000047d1 
+ 00014202  0x00002b65 rtn 
+ 00014203  0x00002b68 ifetch  0x00000001 , 0x00000006 
+ 00014204  0x00002b69 beq  0x00000000 , 0x00003787 
+ 00014205  0x00002b6a beq  0x00000001 , 0x00003780 
+ 00014206  0x00002b6b beq  0x00000002 , 0x00003782 
+ 00014207  0x00002b6c rtn 
+ 00014208  0x00002b6e jam  0x00000000 , 0x0000477b 
+ 00014209  0x00002b6f branch  0x00003783 
+ 00014210  0x00002b71 jam  0x00000001 , 0x0000477b 
+ 00014211  0x00002b72 ifetch  0x00000001 , 0x00000006 
+ 00014212  0x00002b73 store  0x00000001 , 0x0000477d 
+ 00014213  0x00002b74 ifetch  0x00000008 , 0x00000012 
+ 00014214  0x00002b75 branch  0x0000378c 
+ 00014215  0x00002b78 ifetch  0x00000001 , 0x00000012 
+ 00014216  0x00002b79 call  0x000069d7 
+ 00014217  0x00002b7a increase  0x00000001 , 0x00000012 
+ 00014218  0x00002b7b ifetch  0x00000001 , 0x00000012 
+ 00014219  0x00002b7c branch  0x000069d7 
+ 00014220  0x00002b7e store  0x00000008 , 0x0000477e 
+ 00014221  0x00002b7f jam  0x00000001 , 0x000047d1 
+ 00014222  0x00002b80 fetch  0x00000001 , 0x0000477b 
+ 00014223  0x00002b81 beq  0x00000000 , 0x0000379a 
+ 00014224  0x00002b83 fetch  0x00000001 , 0x0000477f 
+ 00014225  0x00002b84 store  0x00000001 , 0x00004780 
+ 00014226  0x00002b85 fetch  0x00000001 , 0x0000477e 
+ 00014227  0x00002b87 call  0x000069d7 
+ 00014228  0x00002b88 fetch  0x00000001 , 0x0000477d 
+ 00014229  0x00002b89 call  0x0000379e 
+ 00014230  0x00002b8a store  0x00000001 , 0x00004785 
+ 00014231  0x00002b8b fetch  0x00000006 , 0x00004780 
+ 00014232  0x00002b8c store  0x00000006 , 0x00000a9a 
+ 00014233  0x00002b8d branch  0x000069ae 
+ 00014234  0x00002b8f fetch  0x00000001 , 0x0000477e 
+ 00014235  0x00002b90 store  0x00000001 , 0x00004780 
+ 00014236  0x00002b91 fetch  0x00000001 , 0x0000477f 
+ 00014237  0x00002b92 branch  0x00003793 
+ 00014238  0x00002b95 mul32  0x0000003f , 0x00000005 , 0x0000003f 
+ 00014239  0x00002b96 add  0x0000003f , 0x00000032 , 0x0000003f 
+ 00014240  0x00002b97 rtn 
+ 00014241  0x00002b99 arg  0x00002ee0 , 0x00000002 
+ 00014242  0x00002b9a imul32  0x00000002 , 0x0000003f 
+ 00014243  0x00002b9b div  0x0000003f , 0x00000064 
+ 00014244  0x00002b9c call  0x00007f86 
+ 00014245  0x00002b9d quotient  0x00000002 
+ 00014246  0x00002b9e copy  0x00000002 , 0x00000011 
+ 00014247  0x00002b9f setarg  0x00002ee0 
+ 00014248  0x00002ba0 isub  0x00000002 , 0x00000012 
+ 00014249  0x00002ba1 rtn 
+ 00014250  0x00002ba5 hfetch  0x00000001 , 0x00008082 
+ 00014251  0x00002ba6 set1  0x00000002 , 0x0000003f 
+ 00014252  0x00002ba7 hstore  0x00000001 , 0x00008082 
+ 00014253  0x00002ba8 setarg  0x0000009e 
+ 00014254  0x00002ba9 hstore  0x00000002 , 0x00008068 
+ 00014255  0x00002baa hstore  0x00000002 , 0x0000806a 
+ 00014256  0x00002bab rtn 
+ 00014257  0x00002bae fetch  0x00000001 , 0x000047f0 
+ 00014258  0x00002baf nrtn  0x00000034 
+ 00014259  0x00002bb0 fetch  0x00000002 , 0x00004752 
+ 00014260  0x00002bb1 store  0x00000002 , 0x00004787 
+ 00014261  0x00002bb2 fetch  0x00000001 , 0x000047ea 
+ 00014262  0x00002bb3 bne  0x00000001 , 0x000037b9 
+ 00014263  0x00002bb4 fetch  0x00000002 , 0x000044a0 
+ 00014264  0x00002bb5 store  0x00000002 , 0x00004787 
+ 00014265  0x00002bb7 bpatch  0x000000d3 , 0x0000401a 
+ 00014266  0x00002bb8 call  0x000037aa 
+ 00014267  0x00002bb9 call  0x000037dc 
+ 00014268  0x00002bba setarg  0x0000bb80 
+ 00014269  0x00002bbb call  0x00002a8f 
+ 00014270  0x00002bbc call  0x000037e0 
+ 00014271  0x00002bbd setarg  0x00001c20 
+ 00014272  0x00002bbe call  0x00002a8f 
+ 00014273  0x00002bbf arg  0x00000010 , 0x00000039 
+ 00014274  0x00002bc1 call  0x000037dc 
+ 00014275  0x00002bc2 fetch  0x00000002 , 0x00004787 
+ 00014276  0x00002bc3 bbit1  0x00000000 , 0x000037c9 
+ 00014277  0x00002bc4 setarg  0x00001c20 
+ 00014278  0x00002bc5 call  0x00002a8f 
+ 00014279  0x00002bc6 call  0x000037e0 
+ 00014280  0x00002bc7 branch  0x000037cc 
+ 00014281  0x00002bca setarg  0x00003840 
+ 00014282  0x00002bcb call  0x00002a8f 
+ 00014283  0x00002bcc call  0x000037e0 
+ 00014284  0x00002bce setarg  0x00001c20 
+ 00014285  0x00002bcf call  0x00002a8f 
+ 00014286  0x00002bd0 fetch  0x00000002 , 0x00004787 
+ 00014287  0x00002bd1 rshift  0x0000003f , 0x0000003f 
+ 00014288  0x00002bd2 store  0x00000002 , 0x00004787 
+ 00014289  0x00002bd3 loop  0x000037c2 
+ 00014290  0x00002bd5 jam  0x00000002 , 0x000047f1 
+ 00014291  0x00002bd6 jam  0x00000001 , 0x000047f2 
+ 00014292  0x00002bd7 setarg  0x00000a01 
+ 00014293  0x00002bd8 store  0x00000002 , 0x00004752 
+ 00014294  0x00002bd9 fetch  0x00000001 , 0x000047b9 
+ 00014295  0x00002bda beq  0x00000003 , 0x000037d9 
+ 00014296  0x00002bdc branch  0x00003762 
+ 00014297  0x00002bde setarg  0x00000a01 
+ 00014298  0x00002bdf store  0x00000002 , 0x00004754 
+ 00014299  0x00002be0 branch  0x00003762 
+ 00014300  0x00002be3 hfetch  0x00000001 , 0x00008085 
+ 00014301  0x00002be4 or_into  0x00000040 , 0x0000003f 
+ 00014302  0x00002be5 hstore  0x00000001 , 0x00008085 
+ 00014303  0x00002be6 rtn 
+ 00014304  0x00002be8 hfetch  0x00000001 , 0x00008085 
+ 00014305  0x00002be9 and_into  0x000000bf , 0x0000003f 
+ 00014306  0x00002bea hstore  0x00000001 , 0x00008085 
+ 00014307  0x00002beb rtn 
+ 00014308  0x00002bee fetch  0x00000001 , 0x000047bb 
+ 00014309  0x00002bef rtneq  0x00000000 
+ 00014310  0x00002bf0 call  0x00002c65 
+ 00014311  0x00002bf1 fetcht  0x00000001 , 0x000047bc 
+ 00014312  0x00002bf2 storet  0x00000001 , 0x00004786 
+ 00014313  0x00002bf3 call  0x000067fb 
+ 00014314  0x00002bf4 call  0x00003847 
+ 00014315  0x00002bf5 nrtn  0x00000001 
+ 00014316  0x00002bf6 jam  0x00000001 , 0x0000479a 
+ 00014317  0x00002bf7 rtn 
+ 00014318  0x00002bfa fetch  0x00000001 , 0x000047bb 
+ 00014319  0x00002bfb rtneq  0x00000000 
+ 00014320  0x00002bfc fetch  0x00000001 , 0x0000479b 
+ 00014321  0x00002bfd nrtn  0x00000034 
+ 00014322  0x00002bfe fetch  0x00000002 , 0x00004682 
+ 00014323  0x00002bff bbit1  0x00000009 , 0x000037f6 
+ 00014324  0x00002c00 fetch  0x00000001 , 0x000047ea 
+ 00014325  0x00002c01 rtnne  0x00000001 
+ 00014326  0x00002c03 bpatch  0x000000d4 , 0x0000401a 
+ 00014327  0x00002c04 call  0x00003847 
+ 00014328  0x00002c05 nrtn  0x00000001 
+ 00014329  0x00002c06 setarg  0x00008ca0 
+ 00014330  0x00002c07 call  0x00002a8f 
+ 00014331  0x00002c08 call  0x00003847 
+ 00014332  0x00002c09 nrtn  0x00000001 
+ 00014333  0x00002c0a call  0x0000383f 
+ 00014334  0x00002c0c call  0x00003842 
+ 00014335  0x00002c0d nrtn  0x00000002 
+ 00014336  0x00002c0e call  0x00003847 
+ 00014337  0x00002c0f branch  0x000037fe , 0x00000001 
+ 00014338  0x00002c10 arg  0x00000000 , 0x00000011 
+ 00014339  0x00002c11 arg  0x00000010 , 0x00000039 
+ 00014340  0x00002c12 call  0x0000383f 
+ 00014341  0x00002c14 call  0x00003842 
+ 00014342  0x00002c15 nrtn  0x00000002 
+ 00014343  0x00002c16 call  0x00003847 
+ 00014344  0x00002c17 nbranch  0x00003805 , 0x00000001 
+ 00014345  0x00002c18 setarg  0x00002a30 
+ 00014346  0x00002c19 call  0x00002a8f 
+ 00014347  0x00002c1a call  0x00003847 
+ 00014348  0x00002c1b branch  0x00003812 , 0x00000001 
+ 00014349  0x00002c1d setarg  0x00000000 
+ 00014350  0x00002c1e rshift  0x00000011 , 0x00000011 
+ 00014351  0x00002c1f ior  0x00000011 , 0x00000011 
+ 00014352  0x00002c20 loop  0x00003805 
+ 00014353  0x00002c21 branch  0x0000381b 
+ 00014354  0x00002c23 setarg  0x00008000 
+ 00014355  0x00002c24 rshift  0x00000011 , 0x00000011 
+ 00014356  0x00002c25 ior  0x00000011 , 0x00000011 
+ 00014357  0x00002c26 call  0x0000383f 
+ 00014358  0x00002c28 call  0x00003842 
+ 00014359  0x00002c29 nrtn  0x00000002 
+ 00014360  0x00002c2a call  0x00003847 
+ 00014361  0x00002c2b branch  0x00003816 , 0x00000001 
+ 00014362  0x00002c2c loop  0x00003805 
+ 00014363  0x00002c2e bpatch  0x000000d5 , 0x0000401a 
+ 00014364  0x00002c2f copy  0x00000011 , 0x0000003f 
+ 00014365  0x00002c30 store  0x00000002 , 0x00004789 
+ 00014366  0x00002c31 store  0x00000002 , 0x00004797 
+ 00014367  0x00002c32 fetch  0x00000001 , 0x000047ea 
+ 00014368  0x00002c33 beq  0x00000001 , 0x00003827 
+ 00014369  0x00002c35 arg  0x00000007 , 0x00000039 
+ 00014370  0x00002c36 arg  0x00004792 , 0x00000006 
+ 00014371  0x00002c37 call  0x000036f0 
+ 00014372  0x00002c38 store  0x00000001 , 0x00004799 
+ 00014373  0x00002c39 arg  0x0000478f , 0x00000011 
+ 00014374  0x00002c3a branch  0x00007e3d 
+ 00014375  0x00002c3d fetch  0x00000001 , 0x000047ef 
+ 00014376  0x00002c3e increase  0x00000001 , 0x0000003f 
+ 00014377  0x00002c3f store  0x00000001 , 0x000047ef 
+ 00014378  0x00002c40 div  0x0000003f , 0x00000002 
+ 00014379  0x00002c41 call  0x00007f86 
+ 00014380  0x00002c42 quotient  0x00000002 
+ 00014381  0x00002c43 remainder  0x0000003f 
+ 00014382  0x00002c44 nbranch  0x00003838 , 0x00000034 
+ 00014383  0x00002c46 fetch  0x00000001 , 0x000047bf 
+ 00014384  0x00002c47 isub  0x00000002 , 0x0000003e 
+ 00014385  0x00002c48 call  0x0000383d , 0x00000005 
+ 00014386  0x00002c49 arg  0x0000479c , 0x0000003f 
+ 00014387  0x00002c4a increase  0xffffffff , 0x00000002 
+ 00014388  0x00002c4b iadd  0x00000002 , 0x00000011 
+ 00014389  0x00002c4c arg  0x00000000 , 0x0000003f 
+ 00014390  0x00002c4d istore  0x00000001 , 0x00000011 
+ 00014391  0x00002c4e rtn 
+ 00014392  0x00002c50 arg  0x0000479c , 0x0000003f 
+ 00014393  0x00002c51 iadd  0x00000002 , 0x00000011 
+ 00014394  0x00002c52 arg  0x00000002 , 0x0000003f 
+ 00014395  0x00002c53 istore  0x00000001 , 0x00000011 
+ 00014396  0x00002c54 rtn 
+ 00014397  0x00002c56 jam  0x00000001 , 0x000047f0 
+ 00014398  0x00002c57 rtn 
+ 00014399  0x00002c59 copy  0x00000022 , 0x0000003f 
+ 00014400  0x00002c5a store  0x00000004 , 0x0000478b 
+ 00014401  0x00002c5b rtn 
+ 00014402  0x00002c5d copy  0x00000022 , 0x0000003f 
+ 00014403  0x00002c5e fetcht  0x00000004 , 0x0000478b 
+ 00014404  0x00002c5f isub  0x00000002 , 0x0000003f 
+ 00014405  0x00002c60 sub  0x0000003f , 0x000000c8 , 0x0000003e 
+ 00014406  0x00002c61 rtn 
+ 00014407  0x00002c64 fetcht  0x00000001 , 0x00004786 
+ 00014408  0x00002c65 branch  0x0000681d 
+ 00014409  0x00002c68 fetch  0x00000008 , 0x00004752 
+ 00014410  0x00002c69 store  0x00000008 , 0x0000479c 
+ 00014411  0x00002c6a rtn 
+ 00014412  0x00002c6d fetch  0x00000001 , 0x000047b9 
+ 00014413  0x00002c6e store  0x00000001 , 0x000047af 
+ 00014414  0x00002c6f fetch  0x00000001 , 0x000047ba 
+ 00014415  0x00002c70 store  0x00000001 , 0x000047b0 
+ 00014416  0x00002c71 fetch  0x00000001 , 0x000047bb 
+ 00014417  0x00002c72 store  0x00000001 , 0x000047b1 
+ 00014418  0x00002c73 arg  0x0000000d , 0x00000039 
+ 00014419  0x00002c74 arg  0x000047aa , 0x00000006 
+ 00014420  0x00002c75 call  0x000036f0 
+ 00014421  0x00002c76 store  0x00000001 , 0x000047b7 
+ 00014422  0x00002c77 arg  0x000047a7 , 0x00000011 
+ 00014423  0x00002c78 branch  0x00007e3d 
+ 00014424  0x00002c7f call  0x000065c2 
+ 00014425  0x00002c80 jam  0x0000007a , 0x000046f6 
+ 00014426  0x00002c81 call  0x0000386d 
+ 00014427  0x00002c82 call  0x00003867 
+ 00014428  0x00002c83 setarg  0x00003860 
+ 00014429  0x00002c84 store  0x00000002 , 0x000041fd 
+ 00014430  0x00002c85 arg  0x00000000 , 0x00000011 
+ 00014431  0x00002c86 branch  0x000069a6 
+ 00014432  0x00002c89 fetch  0x00000002 , 0x000046a1 
+ 00014433  0x00002c8a rtn  0x00000034 
+ 00014434  0x00002c8b increase  0xffffffff , 0x0000003f 
+ 00014435  0x00002c8c store  0x00000002 , 0x000046a1 
+ 00014436  0x00002c8d rtnne  0x00000000 
+ 00014437  0x00002c8e jam  0x00000000 , 0x000046a0 
+ 00014438  0x00002c8f rtn 
+ 00014439  0x00002c92 bpatch  0x000000d6 , 0x0000401a 
+ 00014440  0x00002c93 fetch  0x00000001 , 0x000046a4 
+ 00014441  0x00002c94 sub  0x0000003f , 0x00000028 , 0x0000003e 
+ 00014442  0x00002c95 rtn  0x00000002 
+ 00014443  0x00002c96 jam  0x00000000 , 0x000046a4 
+ 00014444  0x00002c97 rtn 
+ 00014445  0x00002c9a arg  0x000046a4 , 0x00000011 
+ 00014446  0x00002c9b arg  0x00000000 , 0x00000012 
+ 00014447  0x00002c9c arg  0x00000051 , 0x00000002 
+ 00014448  0x00002c9d branch  0x000065df 
+ 00014449  0x00002ca1 disable  0x00000028 
+ 00014450  0x00002ca2 fetch  0x00000001 , 0x000046a3 
+ 00014451  0x00002ca3 copy  0x0000003f , 0x00000039 
+ 00014452  0x00002ca5 arg  0x000046a5 , 0x00000011 
+ 00014453  0x00002ca6 copy  0x00000013 , 0x00000012 
+ 00014454  0x00002ca8 bpatch  0x000000d7 , 0x0000401a 
+ 00014455  0x00002ca9 call  0x0000387c 
+ 00014456  0x00002caa branch  0x00007fe7 , 0x00000005 
+ 00014457  0x00002cac increase  0x00000004 , 0x00000011 
+ 00014458  0x00002cad loop  0x00003876 
+ 00014459  0x00002cae rtn 
+ 00014460  0x00002cb2 bpatch  0x000000d8 , 0x0000401b 
+ 00014461  0x00002cb3 ifetch  0x00000003 , 0x00000011 
+ 00014462  0x00002cb4 ifetcht  0x00000003 , 0x00000012 
+ 00014463  0x00002cb5 isub  0x00000002 , 0x0000003e 
+ 00014464  0x00002cb6 rtn 
+ 00014465  0x00002cb9 bpatch  0x000000d9 , 0x0000401b 
+ 00014466  0x00002cba ifetch  0x00000003 , 0x00000011 
+ 00014467  0x00002cbb ifetcht  0x00000003 , 0x00000012 
+ 00014468  0x00002cbc isub  0x00000002 , 0x0000003e 
+ 00014469  0x00002cbd nrtn  0x00000005 
+ 00014470  0x00002cbe ifetch  0x00000001 , 0x00000006 
+ 00014471  0x00002cbf sub  0x0000003f , 0x00000000 , 0x0000003e 
+ 00014472  0x00002cc0 rtn  0x00000005 
+ 00014473  0x00002cc1 add  0x00000011 , 0x00000003 , 0x00000006 
+ 00014474  0x00002cc2 ifetcht  0x00000001 , 0x00000006 
+ 00014475  0x00002cc3 isub  0x00000002 , 0x0000003e 
+ 00014476  0x00002cc4 rtn 
+ 00014477  0x00002cc8 bpatch  0x000000da , 0x0000401b 
+ 00014478  0x00002cc9 disable  0x00000028 
+ 00014479  0x00002cca fetch  0x00000001 , 0x000046a3 
+ 00014480  0x00002ccb copy  0x0000003f , 0x00000039 
+ 00014481  0x00002ccd arg  0x000046a5 , 0x00000011 
+ 00014482  0x00002cce copy  0x00000013 , 0x00000012 
+ 00014483  0x00002cd0 call  0x00003881 
+ 00014484  0x00002cd1 branch  0x00007fe7 , 0x00000005 
+ 00014485  0x00002cd2 increase  0x00000004 , 0x00000011 
+ 00014486  0x00002cd3 loop  0x00003893 
+ 00014487  0x00002cd4 rtn 
+ 00014488  0x00002cd8 fetch  0x00000001 , 0x00000004 
+ 00014489  0x00002cd9 increase  0x00000001 , 0x0000003f 
+ 00014490  0x00002cda store  0x00000001 , 0x00000004 
+ 00014491  0x00002cdb arg  0x000002e5 , 0x00000013 
+ 00014492  0x00002cde ifetch  0x00000002 , 0x00000013 
+ 00014493  0x00002cdf arg  0x000055aa , 0x00000002 
+ 00014494  0x00002ce0 isub  0x00000002 , 0x0000003e 
+ 00014495  0x00002ce1 nrtn  0x00000005 
+ 00014496  0x00002ce2 copy  0x00000006 , 0x00000013 
+ 00014497  0x00002ce3 ifetcht  0x00000003 , 0x00000013 
+ 00014498  0x00002ce4 setarg  0x00ffffff 
+ 00014499  0x00002ce5 isub  0x00000002 , 0x0000003e 
+ 00014500  0x00002ce6 branch  0x000038a8 , 0x00000005 
+ 00014501  0x00002ce7 call  0x0000388d 
+ 00014502  0x00002ce8 branch  0x000038a8 , 0x00000028 
+ 00014503  0x00002ce9 rtn 
+ 00014504  0x00002cec bpatch  0x000000db , 0x0000401b 
+ 00014505  0x00002ced increase  0x00000004 , 0x00000013 
+ 00014506  0x00002cee ifetch  0x00000001 , 0x00000013 
+ 00014507  0x00002cef fetcht  0x00000001 , 0x000046f6 
+ 00014508  0x00002cf0 isub  0x00000002 , 0x0000003e 
+ 00014509  0x00002cf1 rtn  0x00000005 
+ 00014510  0x00002cf2 store  0x00000001 , 0x000046f6 
+ 00014511  0x00002cf3 fetch  0x00000001 , 0x00000003 
+ 00014512  0x00002cf4 increase  0x00000001 , 0x0000003f 
+ 00014513  0x00002cf5 store  0x00000001 , 0x00000003 
+ 00014514  0x00002cf7 increase  0x00000001 , 0x00000013 
+ 00014515  0x00002cf8 ifetch  0x00000001 , 0x00000013 
+ 00014516  0x00002cf9 store  0x00000001 , 0x000046f5 
+ 00014517  0x00002cfa copy  0x0000003f , 0x00000039 
+ 00014518  0x00002cfb rtn  0x00000034 
+ 00014519  0x00002cfd ifetch  0x00000001 , 0x00000006 
+ 00014520  0x00002cfe beq  0x00000000 , 0x000038c2 
+ 00014521  0x00002cff beq  0x00000001 , 0x000038cf 
+ 00014522  0x00002d00 beq  0x00000002 , 0x000038d4 
+ 00014523  0x00002d01 beq  0x00000003 , 0x000038d9 
+ 00014524  0x00002d02 beq  0x00000004 , 0x000038de 
+ 00014525  0x00002d03 beq  0x00000005 , 0x000038e3 
+ 00014526  0x00002d04 beq  0x00000006 , 0x000038e8 
+ 00014527  0x00002d05 beq  0x000000ff , 0x000038ea 
+ 00014528  0x00002d06 loop  0x000038b7 
+ 00014529  0x00002d07 rtn 
+ 00014530  0x00002d0a copy  0x00000006 , 0x00000013 
+ 00014531  0x00002d0b fetch  0x00000001 , 0x0000469a 
+ 00014532  0x00002d0c store  0x00000001 , 0x00000a9a 
+ 00014533  0x00002d0d arg  0x00000000 , 0x00000002 
+ 00014534  0x00002d0f storet  0x00000001 , 0x00000a9b 
+ 00014535  0x00002d10 setarg  0x00002710 
+ 00014536  0x00002d11 store  0x00000003 , 0x00000a9c 
+ 00014537  0x00002d12 ifetch  0x00000001 , 0x00000013 
+ 00014538  0x00002d13 store  0x00000001 , 0x00000a9f 
+ 00014539  0x00002d14 call  0x000069ae 
+ 00014540  0x00002d15 and  0x00000013 , 0x00000001 , 0x00000006 
+ 00014541  0x00002d16 loop  0x000038b7 
+ 00014542  0x00002d17 rtn 
+ 00014543  0x00002d19 copy  0x00000013 , 0x00000006 
+ 00014544  0x00002d1a fetch  0x00000001 , 0x0000469b 
+ 00014545  0x00002d1b store  0x00000001 , 0x00000a9a 
+ 00014546  0x00002d1c arg  0x00000001 , 0x00000002 
+ 00014547  0x00002d1d branch  0x000038c6 
+ 00014548  0x00002d1f copy  0x00000013 , 0x00000006 
+ 00014549  0x00002d20 fetch  0x00000001 , 0x0000469c 
+ 00014550  0x00002d21 store  0x00000001 , 0x00000a9a 
+ 00014551  0x00002d22 arg  0x00000002 , 0x00000002 
+ 00014552  0x00002d23 branch  0x000038c6 
+ 00014553  0x00002d25 copy  0x00000013 , 0x00000006 
+ 00014554  0x00002d26 fetch  0x00000001 , 0x0000469d 
+ 00014555  0x00002d27 store  0x00000001 , 0x00000a9a 
+ 00014556  0x00002d28 arg  0x00000003 , 0x00000002 
+ 00014557  0x00002d29 branch  0x000038c6 
+ 00014558  0x00002d2b copy  0x00000013 , 0x00000006 
+ 00014559  0x00002d2c fetch  0x00000001 , 0x0000469e 
+ 00014560  0x00002d2d store  0x00000001 , 0x00000a9a 
+ 00014561  0x00002d2e arg  0x00000004 , 0x00000002 
+ 00014562  0x00002d2f branch  0x000038c6 
+ 00014563  0x00002d31 copy  0x00000013 , 0x00000006 
+ 00014564  0x00002d32 fetch  0x00000001 , 0x0000469f 
+ 00014565  0x00002d33 store  0x00000001 , 0x00000a9a 
+ 00014566  0x00002d34 arg  0x00000005 , 0x00000002 
+ 00014567  0x00002d35 branch  0x000038c6 
+ 00014568  0x00002d38 ifetch  0x00000001 , 0x00000006 
+ 00014569  0x00002d39 rtn 
+ 00014570  0x00002d3c copy  0x00000006 , 0x00000013 
+ 00014571  0x00002d3d fetch  0x00000001 , 0x000046a0 
+ 00014572  0x00002d3e bne  0x00000001 , 0x000038ee 
+ 00014573  0x00002d3f call  0x000038f0 
+ 00014574  0x00002d41 and  0x00000013 , 0x00000004 , 0x00000006 
+ 00014575  0x00002d42 rtn 
+ 00014576  0x00002d44 bpatch  0x000000dc , 0x0000401b 
+ 00014577  0x00002d45 call  0x00003871 
+ 00014578  0x00002d46 branch  0x000038fe , 0x00000028 
+ 00014579  0x00002d47 fetch  0x00000001 , 0x000046a4 
+ 00014580  0x00002d48 copy  0x0000003f , 0x00000002 
+ 00014581  0x00002d49 increase  0x00000001 , 0x0000003f 
+ 00014582  0x00002d4a store  0x00000001 , 0x000046a4 
+ 00014583  0x00002d4b call  0x00003867 
+ 00014584  0x00002d4c lshift2  0x00000002 , 0x00000002 
+ 00014585  0x00002d4d setarg  0x000046a5 
+ 00014586  0x00002d4e iadd  0x00000002 , 0x00000005 
+ 00014587  0x00002d4f ifetch  0x00000004 , 0x00000013 
+ 00014588  0x00002d50 istore  0x00000004 , 0x00000005 
+ 00014589  0x00002d51 branch  0x00003903 
+ 00014590  0x00002d53 add  0x00000013 , 0x00000003 , 0x00000006 
+ 00014591  0x00002d54 ifetch  0x00000001 , 0x00000006 
+ 00014592  0x00002d55 rtn  0x00000034 
+ 00014593  0x00002d56 ifetch  0x00000004 , 0x00000013 
+ 00014594  0x00002d57 istore  0x00000004 , 0x00000011 
+ 00014595  0x00002d59 arg  0x000046a4 , 0x00000011 
+ 00014596  0x00002d5a arg  0x00000000 , 0x00000012 
+ 00014597  0x00002d5b arg  0x00000051 , 0x00000002 
+ 00014598  0x00002d5c branch  0x00006606 
+ 00014599  0x00002d64 fetcht  0x00000001 , 0x0000469a 
+ 00014600  0x00002d65 call  0x00006825 
+ 00014601  0x00002d66 rtn 
+ 00014602  0x00002d6c fetcht  0x00000001 , 0x0000469a 
+ 00014603  0x00002d6d call  0x00006829 
+ 00014604  0x00002d70 fetcht  0x00000001 , 0x0000469a 
+ 00014605  0x00002d71 call  0x00006825 
+ 00014606  0x00002d74 call  0x0000391d 
+ 00014607  0x00002d76 fetch  0x00000001 , 0x000046a7 
+ 00014608  0x00002d77 nrtn  0x00000034 
+ 00014609  0x00002d79 call  0x00002c29 
+ 00014610  0x00002d7a hfetch  0x00000004 , 0x00008138 
+ 00014611  0x00002d7b set0  0x0000000f , 0x0000003f 
+ 00014612  0x00002d7c hstore  0x00000004 , 0x0000804c 
+ 00014613  0x00002d7d call  0x00002c21 
+ 00014614  0x00002d7e arg  0xffffffff , 0x00000002 
+ 00014615  0x00002d7f branch  0x00002b2a 
+ 00014616  0x00002d82 fetch  0x00000001 , 0x000046a7 
+ 00014617  0x00002d83 branch  0x000056f9 , 0x00000034 
+ 00014618  0x00002d84 increase  0xffffffff , 0x0000003f 
+ 00014619  0x00002d85 store  0x00000001 , 0x000046a7 
+ 00014620  0x00002d86 branch  0x000056f9 
+ 00014621  0x00002d89 mul32  0x0000003f , 0x00000014 , 0x0000003f 
+ 00014622  0x00002d8a arg  0x000046a8 , 0x00000006 
+ 00014623  0x00002d8b iadd  0x00000006 , 0x00000006 
+ 00014624  0x00002d8c ifetch  0x00000001 , 0x00000006 
+ 00014625  0x00002d8d rtn  0x00000034 
+ 00014626  0x00002d8e copy  0x0000003f , 0x00000011 
+ 00014627  0x00002d8f copy  0x00000011 , 0x00000039 
+ 00014628  0x00002d90 arg  0x00004372 , 0x00000005 
+ 00014629  0x00002d91 call  0x00007f01 
+ 00014630  0x00002d92 copy  0x00000011 , 0x0000003f 
+ 00014631  0x00002d93 increase  0x00000002 , 0x0000003f 
+ 00014632  0x00002d94 store  0x00000001 , 0x0000436f 
+ 00014633  0x00002d95 rtn 
+ 00014634  0x00002d9e rtn  0x0000002b 
+ 00014635  0x00002d9f call  0x000057a3 
+ 00014636  0x00002da0 call  0x000068a8 
+ 00014637  0x00002da1 setarg  0x00003982 
+ 00014638  0x00002da2 store  0x00000002 , 0x000041f3 
+ 00014639  0x00002da3 setarg  0x0000396e 
+ 00014640  0x00002da4 store  0x00000002 , 0x000041f1 
+ 00014641  0x00002da5 setarg  0x00003986 
+ 00014642  0x00002da6 store  0x00000002 , 0x000041f5 
+ 00014643  0x00002da7 setarg  0x0000396d 
+ 00014644  0x00002da8 store  0x00000002 , 0x000041ef 
+ 00014645  0x00002da9 setarg  0x00003969 
+ 00014646  0x00002daa store  0x00000002 , 0x000041e9 
+ 00014647  0x00002dab setarg  0x00003ab7 
+ 00014648  0x00002dac store  0x00000002 , 0x000041fb 
+ 00014649  0x00002dad setarg  0x00003c32 
+ 00014650  0x00002dae store  0x00000002 , 0x0000456f 
+ 00014651  0x00002daf setarg  0x00003cc2 
+ 00014652  0x00002db0 store  0x00000002 , 0x000041f9 
+ 00014653  0x00002db1 setarg  0x00003cd7 
+ 00014654  0x00002db2 store  0x00000002 , 0x000041fd 
+ 00014655  0x00002db4 call  0x0000397f 
+ 00014656  0x00002db5 bpatch  0x000000dd , 0x0000401b 
+ 00014657  0x00002db6 call  0x00003945 
+ 00014658  0x00002db7 call  0x00003964 
+ 00014659  0x00002db8 call  0x00002c6f 
+ 00014660  0x00002db9 branch  0x00003c48 
+ 00014661  0x00002dbd fetch  0x00000004 , 0x000046aa 
+ 00014662  0x00002dbe hstore  0x00000004 , 0x00008054 
+ 00014663  0x00002dc0 fetch  0x00000004 , 0x000046ae 
+ 00014664  0x00002dc1 hstore  0x00000004 , 0x0000805a 
+ 00014665  0x00002dc3 hfetch  0x00000001 , 0x00008081 
+ 00014666  0x00002dc4 or_into  0x00000004 , 0x0000003f 
+ 00014667  0x00002dc5 and_into  0x000000fc , 0x0000003f 
+ 00014668  0x00002dc6 hstore  0x00000001 , 0x00008081 
+ 00014669  0x00002dc7 jam  0x00000000 , 0x00008062 
+ 00014670  0x00002dc9 fetch  0x00000002 , 0x000046aa 
+ 00014671  0x00002dca hstore  0x00000002 , 0x00008058 
+ 00014672  0x00002dcb fetch  0x00000002 , 0x000046ae 
+ 00014673  0x00002dcc hstore  0x00000002 , 0x0000805e 
+ 00014674  0x00002dcd hstore  0x00000002 , 0x00008060 
+ 00014675  0x00002dcf hfetch  0x00000004 , 0x00008078 
+ 00014676  0x00002dd0 set1  0x00000007 , 0x0000003f 
+ 00014677  0x00002dd1 hstore  0x00000004 , 0x00008078 
+ 00014678  0x00002dd3 hfetch  0x00000002 , 0x00008050 
+ 00014679  0x00002dd4 set0  0x0000000f , 0x0000003f 
+ 00014680  0x00002dd5 hstore  0x00000002 , 0x00008050 
+ 00014681  0x00002dd6 call  0x000066ce 
+ 00014682  0x00002dd7 jam  0x00000000 , 0x00008043 
+ 00014683  0x00002dd8 jam  0x00000081 , 0x00008062 
+ 00014684  0x00002dda fetch  0x00000001 , 0x000046bf 
+ 00014685  0x00002ddb isolate1  0x00000000 , 0x0000003f 
+ 00014686  0x00002ddc hfetcht  0x00000001 , 0x00008062 
+ 00014687  0x00002ddd setflag  0x00000001 , 0x00000004 , 0x00000002 
+ 00014688  0x00002dde hstoret  0x00000001 , 0x00008062 
+ 00014689  0x00002ddf rtn 
+ 00014690  0x00002de4 call  0x0000397f 
+ 00014691  0x00002de5 branch  0x00003945 
+ 00014692  0x00002ded fetcht  0x00000001 , 0x0000469e 
+ 00014693  0x00002dee call  0x0000680e 
+ 00014694  0x00002def call  0x000039e6 
+ 00014695  0x00002df1 fetcht  0x00000001 , 0x0000469c 
+ 00014696  0x00002df2 branch  0x000067fb 
+ 00014697  0x00002df5 fetcht  0x00000001 , 0x0000469c 
+ 00014698  0x00002df6 call  0x0000681d 
+ 00014699  0x00002df7 nbranch  0x000033d2 , 0x00000001 
+ 00014700  0x00002df8 branch  0x000033d0 
+ 00014701  0x00002dfc rtn 
+ 00014702  0x00002dff call  0x00003970 
+ 00014703  0x00002e00 branch  0x00003ce9 
+ 00014704  0x00002e03 fetch  0x00000001 , 0x00004682 
+ 00014705  0x00002e04 bbit0  0x00000004 , 0x0000397f 
+ 00014706  0x00002e05 bpatch  0x000000de , 0x0000401b 
+ 00014707  0x00002e06 setarg  0x00003eff 
+ 00014708  0x00002e07 fetcht  0x00000004 , 0x000046c5 
+ 00014709  0x00002e08 iadd  0x00000002 , 0x00000002 
+ 00014710  0x00002e09 copy  0x00000022 , 0x0000003f 
+ 00014711  0x00002e0a isub  0x00000002 , 0x0000003e 
+ 00014712  0x00002e0b nrtn  0x00000002 
+ 00014713  0x00002e0c fetch  0x00000002 , 0x00004682 
+ 00014714  0x00002e0d bbit1  0x00000005 , 0x0000397f 
+ 00014715  0x00002e0e fetch  0x00000001 , 0x000046bf 
+ 00014716  0x00002e0f rtnbit1  0x00000006 
+ 00014717  0x00002e10 call  0x00003cec 
+ 00014718  0x00002e11 call  0x0000340e 
+ 00014719  0x00002e13 copy  0x00000022 , 0x0000003f 
+ 00014720  0x00002e14 store  0x00000004 , 0x000046c5 
+ 00014721  0x00002e15 rtn 
+ 00014722  0x00002e19 call  0x00003ce9 
+ 00014723  0x00002e1a call  0x0000526e 
+ 00014724  0x00002e1b nrtn  0x00000034 
+ 00014725  0x00002e1c branch  0x000039eb 
+ 00014726  0x00002e20 copy  0x00000013 , 0x0000003f 
+ 00014727  0x00002e21 beq  0x00000001 , 0x000039d4 
+ 00014728  0x00002e22 beq  0x00000002 , 0x000039a3 
+ 00014729  0x00002e23 beq  0x00000004 , 0x000039d7 
+ 00014730  0x00002e24 beq  0x00000005 , 0x000039c4 
+ 00014731  0x00002e25 beq  0x00000008 , 0x000039aa 
+ 00014732  0x00002e26 beq  0x00000009 , 0x000039b1 
+ 00014733  0x00002e27 beq  0x0000000a , 0x000039c9 
+ 00014734  0x00002e28 beq  0x0000000b , 0x000039b6 
+ 00014735  0x00002e29 beq  0x0000000c , 0x000039c2 
+ 00014736  0x00002e2a beq  0x00000013 , 0x000039d7 
+ 00014737  0x00002e2b beq  0x00000014 , 0x000039cf 
+ 00014738  0x00002e2c beq  0x00000015 , 0x000039c6 
+ 00014739  0x00002e2d beq  0x00000021 , 0x000039ca 
+ 00014740  0x00002e2e beq  0x00000023 , 0x000039cb 
+ 00014741  0x00002e2f beq  0x00000024 , 0x000039ce 
+ 00014742  0x00002e30 beq  0x00000030 , 0x00003c8a 
+ 00014743  0x00002e31 beq  0x00000031 , 0x00003c8c 
+ 00014744  0x00002e32 beq  0x00000032 , 0x00003c9a 
+ 00014745  0x00002e33 beq  0x00000033 , 0x00003c98 
+ 00014746  0x00002e34 beq  0x00000034 , 0x00003c84 
+ 00014747  0x00002e35 beq  0x00000035 , 0x00003c73 
+ 00014748  0x00002e36 beq  0x00000036 , 0x00003c82 
+ 00014749  0x00002e37 beq  0x00000037 , 0x00003c8e 
+ 00014750  0x00002e38 beq  0x00000038 , 0x00003c90 
+ 00014751  0x00002e39 beq  0x0000003b , 0x00003ca1 
+ 00014752  0x00002e3a beq  0x0000003d , 0x00003c6a 
+ 00014753  0x00002e3b beq  0x00000041 , 0x000039d9 
+ 00014754  0x00002e3c rtn 
+ 00014755  0x00002e40 call  0x0000397f 
+ 00014756  0x00002e41 fetch  0x00000001 , 0x00004665 
+ 00014757  0x00002e42 ncall  0x00003c8e , 0x00000034 
+ 00014758  0x00002e43 call  0x000039d7 
+ 00014759  0x00002e44 fetch  0x00000002 , 0x00004682 
+ 00014760  0x00002e45 rtnbit0  0x00000004 
+ 00014761  0x00002e46 branch  0x000039b1 
+ 00014762  0x00002e49 fetch  0x00000002 , 0x00004682 
+ 00014763  0x00002e4a set1  0x00000004 , 0x0000003f 
+ 00014764  0x00002e4b store  0x00000002 , 0x00004682 
+ 00014765  0x00002e4c fetch  0x00000001 , 0x000046a7 
+ 00014766  0x00002e4d store  0x00000001 , 0x00004172 
+ 00014767  0x00002e4e call  0x000039e6 
+ 00014768  0x00002e4f branch  0x00003c1d 
+ 00014769  0x00002e54 fetch  0x00000002 , 0x00004682 
+ 00014770  0x00002e55 rtnbit0  0x00000004 
+ 00014771  0x00002e56 set0  0x00000004 , 0x0000003f 
+ 00014772  0x00002e57 store  0x00000002 , 0x00004682 
+ 00014773  0x00002e58 branch  0x00003c21 
+ 00014774  0x00002e5e call  0x0000397f 
+ 00014775  0x00002e61 fetch  0x00000002 , 0x00004042 
+ 00014776  0x00002e62 rshift  0x0000003f , 0x0000003f 
+ 00014777  0x00002e63 fetcht  0x00000002 , 0x000041e3 
+ 00014778  0x00002e64 isub  0x00000002 , 0x0000003e 
+ 00014779  0x00002e65 nbranch  0x000039bd , 0x00000005 
+ 00014780  0x00002e66 branch  0x00003416 
+ 00014781  0x00002e68 fetch  0x00000001 , 0x000046bf 
+ 00014782  0x00002e69 rtnbit1  0x00000005 
+ 00014783  0x00002e6a hfetch  0x00000002 , 0x00008112 
+ 00014784  0x00002e6b ncall  0x00003cf0 , 0x00000034 
+ 00014785  0x00002e6c branch  0x0000340c 
+ 00014786  0x00002e6f call  0x00003cee 
+ 00014787  0x00002e70 branch  0x00003418 
+ 00014788  0x00002e73 call  0x0000397f 
+ 00014789  0x00002e74 branch  0x000039dd 
+ 00014790  0x00002e77 call  0x00005816 
+ 00014791  0x00002e78 call  0x000039d7 
+ 00014792  0x00002e79 branch  0x00003c23 
+ 00014793  0x00002e7c branch  0x000033dd 
+ 00014794  0x00002e80 branch  0x00003cee 
+ 00014795  0x00002e84 fetch  0x00000001 , 0x000046bf 
+ 00014796  0x00002e85 bbit0  0x00000005 , 0x0000340e 
+ 00014797  0x00002e86 branch  0x00003cf2 
+ 00014798  0x00002e8a branch  0x00003cf2 
+ 00014799  0x00002e8e call  0x000058ba 
+ 00014800  0x00002e8f call  0x000039dd 
+ 00014801  0x00002e90 fetch  0x00000001 , 0x000046a8 
+ 00014802  0x00002e91 store  0x00000001 , 0x00004172 
+ 00014803  0x00002e92 branch  0x00003c1f 
+ 00014804  0x00002e96 jam  0x00000000 , 0x00004661 
+ 00014805  0x00002e97 call  0x00003cee 
+ 00014806  0x00002e98 branch  0x00003cf2 
+ 00014807  0x00002e9d call  0x00003a52 
+ 00014808  0x00002e9e branch  0x000039db 
+ 00014809  0x00002ea2 call  0x00005cc9 
+ 00014810  0x00002ea3 branch  0x00005b02 
+ 00014811  0x00002ea7 fetcht  0x00000001 , 0x0000469e 
+ 00014812  0x00002ea8 branch  0x00006829 
+ 00014813  0x00002eab call  0x000039df 
+ 00014814  0x00002eac branch  0x000039e6 
+ 00014815  0x00002eaf fetch  0x00000001 , 0x000046a1 
+ 00014816  0x00002eb0 isolate1  0x00000000 , 0x0000003f 
+ 00014817  0x00002eb1 call  0x000033f0 , 0x00000001 
+ 00014818  0x00002eb2 fetch  0x00000001 , 0x000046a1 
+ 00014819  0x00002eb3 isolate1  0x00000001 , 0x0000003f 
+ 00014820  0x00002eb4 call  0x000033f8 , 0x00000001 
+ 00014821  0x00002eb5 rtn 
+ 00014822  0x00002eb7 fetcht  0x00000001 , 0x0000469e 
+ 00014823  0x00002eb8 branch  0x00006825 
+ 00014824  0x00002ebb fetch  0x00000001 , 0x0000456b 
+ 00014825  0x00002ebc rtneq  0x00000000 
+ 00014826  0x00002ebd branch  0x00006c28 
+ 00014827  0x00002ec0 hfetch  0x00000001 , 0x0000810c 
+ 00014828  0x00002ec1 bbit1  0x00000003 , 0x000039e8 
+ 00014829  0x00002ec2 call  0x000066cb 
+ 00014830  0x00002ec3 ifetch  0x00000001 , 0x00000003 
+ 00014831  0x00002ec4 bne  0x00000001 , 0x00003a01 
+ 00014832  0x00002ec5 hfetch  0x00000002 , 0x00008112 
+ 00014833  0x00002ec6 sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00014834  0x00002ec7 rtn  0x00000002 
+ 00014835  0x00002ec8 ifetch  0x00000001 , 0x00000003 
+ 00014836  0x00002ec9 store  0x00000001 , 0x00000b03 
+ 00014837  0x00002eca ifetcht  0x00000001 , 0x00000003 
+ 00014838  0x00002ecb copy  0x00000003 , 0x00000011 
+ 00014839  0x00002ecc storet  0x00000001 , 0x00000b04 
+ 00014840  0x00002ecd add  0x00000002 , 0x00000003 , 0x00000002 
+ 00014841  0x00002ece hfetch  0x00000002 , 0x00008112 
+ 00014842  0x00002ecf isub  0x00000002 , 0x00000002 
+ 00014843  0x00002ed0 nrtn  0x00000002 
+ 00014844  0x00002ed1 jam  0x00000001 , 0x00000b05 
+ 00014845  0x00002ed2 call  0x00003a17 
+ 00014846  0x00002ed3 fetch  0x00000001 , 0x00000b05 
+ 00014847  0x00002ed4 rtneq  0x00000000 
+ 00014848  0x00002ed5 branch  0x00003a12 
+ 00014849  0x00002ed8 call  0x00007ec1 
+ 00014850  0x00002ed9 call  0x00003c79 
+ 00014851  0x00002eda branch  0x00003a04 
+ 00014852  0x00002ede bpatch  0x000000df , 0x0000401b 
+ 00014853  0x00002edf hfetch  0x00000002 , 0x00008112 
+ 00014854  0x00002ee0 rtn  0x00000034 
+ 00014855  0x00002ee1 call  0x000066cb 
+ 00014856  0x00002ee2 ifetch  0x00000001 , 0x00000003 
+ 00014857  0x00002ee3 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00014858  0x00002ee4 ncall  0x00003a16 , 0x00000005 
+ 00014859  0x00002ee5 nbranch  0x00003a04 , 0x00000005 
+ 00014860  0x00002ee6 ifetch  0x00000001 , 0x00000003 
+ 00014861  0x00002ee7 rtneq  0x00000005 
+ 00014862  0x00002ee8 rtneq  0x00000029 
+ 00014863  0x00002ee9 increase  0xffffffff , 0x00000003 
+ 00014864  0x00002eea call  0x00003a16 
+ 00014865  0x00002eeb branch  0x00003a04 
+ 00014866  0x00002eee call  0x000066cb 
+ 00014867  0x00002eef increase  0x00000002 , 0x00000003 
+ 00014868  0x00002ef0 ifetch  0x00000001 , 0x00000003 
+ 00014869  0x00002ef1 iadd  0x00000003 , 0x00000003 
+ 00014870  0x00002ef3 branch  0x000066c8 
+ 00014871  0x00002ef7 bpatch  0x000000e0 , 0x0000401c 
+ 00014872  0x00002ef8 fetch  0x00000001 , 0x00000b03 
+ 00014873  0x00002ef9 beq  0x00000000 , 0x00003a3f 
+ 00014874  0x00002efa beq  0x00000001 , 0x00003a44 
+ 00014875  0x00002efb beq  0x00000002 , 0x00003a49 
+ 00014876  0x00002efc beq  0x00000003 , 0x00003a5f 
+ 00014877  0x00002efd beq  0x00000004 , 0x00003a6b 
+ 00014878  0x00002efe beq  0x00000005 , 0x00003a75 
+ 00014879  0x00002eff beq  0x00000009 , 0x00003a9a 
+ 00014880  0x00002f00 beq  0x0000000b , 0x00003ad7 
+ 00014881  0x00002f01 beq  0x0000000c , 0x00003ad8 
+ 00014882  0x00002f02 beq  0x0000000d , 0x00003aec 
+ 00014883  0x00002f03 beq  0x0000000e , 0x00003af4 
+ 00014884  0x00002f04 beq  0x0000000f , 0x00003afa 
+ 00014885  0x00002f05 beq  0x00000010 , 0x00003b06 
+ 00014886  0x00002f06 beq  0x00000011 , 0x00003b0e 
+ 00014887  0x00002f07 beq  0x00000012 , 0x00003b12 
+ 00014888  0x00002f08 beq  0x00000026 , 0x00003b16 
+ 00014889  0x00002f09 beq  0x00000028 , 0x00003b1d 
+ 00014890  0x00002f0a beq  0x00000029 , 0x00003b2d 
+ 00014891  0x00002f0b beq  0x0000002a , 0x00003b36 
+ 00014892  0x00002f0c beq  0x0000002b , 0x00003b69 
+ 00014893  0x00002f0d beq  0x0000002c , 0x00003b6f 
+ 00014894  0x00002f0e beq  0x00000030 , 0x00003b76 
+ 00014895  0x00002f0f beq  0x00000031 , 0x00003b7c 
+ 00014896  0x00002f10 beq  0x00000032 , 0x00003b90 
+ 00014897  0x00002f11 beq  0x00000033 , 0x00003b98 
+ 00014898  0x00002f12 beq  0x00000034 , 0x00003bbb 
+ 00014899  0x00002f13 beq  0x00000035 , 0x00003bc4 
+ 00014900  0x00002f14 beq  0x00000036 , 0x00003bcd 
+ 00014901  0x00002f15 beq  0x00000037 , 0x00003bd7 
+ 00014902  0x00002f16 beq  0x00000038 , 0x00003bda 
+ 00014903  0x00002f17 beq  0x00000040 , 0x00003be2 
+ 00014904  0x00002f18 beq  0x00000042 , 0x00003bec 
+ 00014905  0x00002f19 beq  0x00000048 , 0x00003bf1 
+ 00014906  0x00002f1a beq  0x00000049 , 0x00003bfc 
+ 00014907  0x00002f1b beq  0x00000051 , 0x00003c02 
+ 00014908  0x00002f1c beq  0x00000061 , 0x00003c06 
+ 00014909  0x00002f1d beq  0x000000ff , 0x00003c15 
+ 00014910  0x00002f1e branch  0x00003c17 
+ 00014911  0x00002f24 fetch  0x00000001 , 0x00000b04 
+ 00014912  0x00002f25 bne  0x00000006 , 0x00003c17 
+ 00014913  0x00002f26 ifetch  0x00000006 , 0x00000003 
+ 00014914  0x00002f27 store  0x00000006 , 0x000040a0 
+ 00014915  0x00002f28 branch  0x00003c1a 
+ 00014916  0x00002f2c fetch  0x00000001 , 0x00000b04 
+ 00014917  0x00002f2d bne  0x00000006 , 0x00003c17 
+ 00014918  0x00002f2e ifetch  0x00000006 , 0x00000003 
+ 00014919  0x00002f2f store  0x00000006 , 0x000044a0 
+ 00014920  0x00002f30 branch  0x00003c1a 
+ 00014921  0x00002f35 fetch  0x00000001 , 0x00000b04 
+ 00014922  0x00002f36 bne  0x00000001 , 0x00003c17 
+ 00014923  0x00002f37 copy  0x00000011 , 0x00000003 
+ 00014924  0x00002f38 call  0x00003c1a 
+ 00014925  0x00002f39 ifetcht  0x00000001 , 0x00000003 
+ 00014926  0x00002f3a storet  0x00000001 , 0x000046a9 
+ 00014927  0x00002f3b fetch  0x00000002 , 0x00004682 
+ 00014928  0x00002f3c rtnbit1  0x00000009 
+ 00014929  0x00002f3d rtnbit1  0x00000000 
+ 00014930  0x00002f3f fetch  0x00000001 , 0x000046a1 
+ 00014931  0x00002f40 isolate1  0x00000000 , 0x0000003f 
+ 00014932  0x00002f41 nbranch  0x00003a58 , 0x00000001 
+ 00014933  0x00002f42 fetcht  0x00000001 , 0x000046a9 
+ 00014934  0x00002f43 and  0x00000002 , 0x00000003 , 0x0000003f 
+ 00014935  0x00002f44 store  0x00000001 , 0x00004093 
+ 00014936  0x00002f46 fetch  0x00000001 , 0x000046a1 
+ 00014937  0x00002f47 isolate1  0x00000001 , 0x0000003f 
+ 00014938  0x00002f48 nrtn  0x00000001 
+ 00014939  0x00002f49 fetcht  0x00000001 , 0x000046a9 
+ 00014940  0x00002f4a isolate1  0x00000002 , 0x00000002 
+ 00014941  0x00002f4b branch  0x000033fa , 0x00000001 
+ 00014942  0x00002f4c branch  0x000033f8 
+ 00014943  0x00002f51 fetch  0x00000001 , 0x00000b04 
+ 00014944  0x00002f52 sub  0x0000003f , 0x00000043 , 0x0000003e 
+ 00014945  0x00002f53 nbranch  0x00003c17 , 0x00000002 
+ 00014946  0x00002f54 store  0x00000001 , 0x00004515 
+ 00014947  0x00002f55 arg  0x00000008 , 0x00000039 
+ 00014948  0x00002f56 call  0x00007ec6 
+ 00014949  0x00002f57 fetch  0x00000001 , 0x00000b04 
+ 00014950  0x00002f58 copy  0x0000003f , 0x00000039 
+ 00014951  0x00002f59 copy  0x00000011 , 0x00000003 
+ 00014952  0x00002f5a arg  0x00004516 , 0x00000005 
+ 00014953  0x00002f5b call  0x000066ea 
+ 00014954  0x00002f5c branch  0x00003c1a 
+ 00014955  0x00002f61 fetch  0x00000001 , 0x00000b04 
+ 00014956  0x00002f62 sub  0x0000003f , 0x0000001d , 0x0000003e 
+ 00014957  0x00002f63 nbranch  0x00003c17 , 0x00000002 
+ 00014958  0x00002f64 store  0x00000001 , 0x000043af 
+ 00014959  0x00002f65 copy  0x0000003f , 0x00000039 
+ 00014960  0x00002f66 copy  0x00000011 , 0x00000003 
+ 00014961  0x00002f67 arg  0x000043b0 , 0x00000005 
+ 00014962  0x00002f68 call  0x000066ea 
+ 00014963  0x00002f69 call  0x000057a3 
+ 00014964  0x00002f6a branch  0x00003c1a 
+ 00014965  0x00002f6f fetch  0x00000001 , 0x00004682 
+ 00014966  0x00002f70 bbit0  0x00000004 , 0x00003c17 
+ 00014967  0x00002f71 call  0x000033ba 
+ 00014968  0x00002f72 branch  0x00003a86 , 0x00000001 
+ 00014969  0x00002f73 jam  0x00000000 , 0x00000b05 
+ 00014970  0x00002f75 call  0x0000397f 
+ 00014971  0x00002f76 fetch  0x00000001 , 0x00004568 
+ 00014972  0x00002f77 rtn  0x00000034 
+ 00014973  0x00002f78 fetch  0x00000002 , 0x00004573 
+ 00014974  0x00002f79 bne  0x00000000 , 0x00003a84 
+ 00014975  0x00002f7a fetch  0x00000001 , 0x00000b04 
+ 00014976  0x00002f7b store  0x00000002 , 0x00004573 
+ 00014977  0x00002f7d copy  0x00000011 , 0x00000003 
+ 00014978  0x00002f80 copy  0x00000003 , 0x0000003f 
+ 00014979  0x00002f81 store  0x00000002 , 0x00004571 
+ 00014980  0x00002f83 call  0x00003a88 
+ 00014981  0x00002f84 branch  0x00006c4d 
+ 00014982  0x00002f87 jam  0x00000000 , 0x00000b05 
+ 00014983  0x00002f88 branch  0x00003cd1 
+ 00014984  0x00002f8b call  0x00003a8e 
+ 00014985  0x00002f8c fetch  0x00000002 , 0x00004573 
+ 00014986  0x00002f8d fetcht  0x00000002 , 0x0000469f 
+ 00014987  0x00002f8e isub  0x00000002 , 0x0000003f 
+ 00014988  0x00002f8f store  0x00000002 , 0x00004573 
+ 00014989  0x00002f90 rtn 
+ 00014990  0x00002f93 fetch  0x00000002 , 0x00004573 
+ 00014991  0x00002f94 arg  0x0000006e , 0x00000002 
+ 00014992  0x00002f95 call  0x00007fdd 
+ 00014993  0x00002f96 fetcht  0x00000002 , 0x0000456c 
+ 00014994  0x00002f97 call  0x00007fdd 
+ 00014995  0x00002f98 fetcht  0x00000002 , 0x0000455e 
+ 00014996  0x00002f99 call  0x00007fdd 
+ 00014997  0x00002f9a store  0x00000002 , 0x0000469f 
+ 00014998  0x00002f9b rtn 
+ 00014999  0x00002f9e jam  0x00000001 , 0x00000b05 
+ 00015000  0x00002f9f jam  0x00000005 , 0x00000b03 
+ 00015001  0x00002fa0 branch  0x00003c1a 
+ 00015002  0x00002fa5 fetch  0x00000002 , 0x00004682 
+ 00015003  0x00002fa6 bbit0  0x00000009 , 0x00003c17 
+ 00015004  0x00002fa7 call  0x00003ad4 
+ 00015005  0x00002fa8 branch  0x00003c17 , 0x00000028 
+ 00015006  0x00002fa9 jam  0x00000000 , 0x00000b05 
+ 00015007  0x00002faa fetch  0x00000001 , 0x000046bf 
+ 00015008  0x00002fab bbit1  0x00000004 , 0x00003ab4 
+ 00015009  0x00002fac fetch  0x00000001 , 0x000046c0 
+ 00015010  0x00002fad nrtn  0x00000034 
+ 00015011  0x00002fae jam  0x00000001 , 0x00000b05 
+ 00015012  0x00002faf ifetch  0x00000002 , 0x00000003 
+ 00015013  0x00002fb0 store  0x00000002 , 0x000046c1 
+ 00015014  0x00002fb1 copy  0x00000003 , 0x0000003f 
+ 00015015  0x00002fb2 store  0x00000002 , 0x000046c3 
+ 00015016  0x00002fb3 fetch  0x00000001 , 0x00000b04 
+ 00015017  0x00002fb4 pincrease  0xfffffffe 
+ 00015018  0x00002fb5 nbranch  0x00003c17 , 0x00000002 
+ 00015019  0x00002fb6 branch  0x00003c17 , 0x00000005 
+ 00015020  0x00002fb7 store  0x00000001 , 0x000046c0 
+ 00015021  0x00002fb8 jam  0x00000000 , 0x00000b05 
+ 00015022  0x00002fb9 call  0x00005814 
+ 00015023  0x00002fba call  0x00003ab7 
+ 00015024  0x00002fbb call  0x00003ab7 
+ 00015025  0x00002fbc call  0x00003ab7 
+ 00015026  0x00002fbd fetch  0x00000001 , 0x000046bf 
+ 00015027  0x00002fbe rtnbit0  0x00000004 
+ 00015028  0x00002fc0 jam  0x00000001 , 0x00000b05 
+ 00015029  0x00002fc1 call  0x00003cf6 
+ 00015030  0x00002fc2 branch  0x00003c1a 
+ 00015031  0x00002fc5 fetch  0x00000001 , 0x000046c0 
+ 00015032  0x00002fc6 rtn  0x00000034 
+ 00015033  0x00002fc7 call  0x00005892 
+ 00015034  0x00002fc8 nrtn  0x00000034 
+ 00015035  0x00002fc9 call  0x00003acf 
+ 00015036  0x00002fca bpatch  0x000000e1 , 0x0000401c 
+ 00015037  0x00002fcb add  0x00000002 , 0xfffffffd , 0x0000003f 
+ 00015038  0x00002fcc fetcht  0x00000001 , 0x000046c0 
+ 00015039  0x00002fcd call  0x00007fdd 
+ 00015040  0x00002fce copy  0x0000003f , 0x00000011 
+ 00015041  0x00002fcf copy  0x00000002 , 0x0000003f 
+ 00015042  0x00002fd0 isub  0x00000011 , 0x0000003f 
+ 00015043  0x00002fd1 store  0x00000001 , 0x000046c0 
+ 00015044  0x00002fd2 fetcht  0x00000002 , 0x000046c1 
+ 00015045  0x00002fd3 call  0x00005a64 
+ 00015046  0x00002fd4 fetch  0x00000002 , 0x000046c3 
+ 00015047  0x00002fd5 copy  0x0000003f , 0x00000003 
+ 00015048  0x00002fd6 copy  0x00000011 , 0x00000039 
+ 00015049  0x00002fd7 call  0x000066ea 
+ 00015050  0x00002fd8 copy  0x00000003 , 0x0000003f 
+ 00015051  0x00002fd9 store  0x00000002 , 0x000046c3 
+ 00015052  0x00002fda fetch  0x00000001 , 0x000046c0 
+ 00015053  0x00002fdb nrtn  0x00000034 
+ 00015054  0x00002fdc branch  0x00003cf4 
+ 00015055  0x00002fe1 arg  0x00000017 , 0x00000002 
+ 00015056  0x00002fe2 fetch  0x00000001 , 0x000046bf 
+ 00015057  0x00002fe3 rtnbit1  0x00000001 
+ 00015058  0x00002fe4 fetcht  0x00000002 , 0x000044a8 
+ 00015059  0x00002fe5 rtn 
+ 00015060  0x00002fe8 fetch  0x00000001 , 0x000046bf 
+ 00015061  0x00002fe9 bbit1  0x00000002 , 0x00005a42 
+ 00015062  0x00002fea branch  0x00007fe9 
+ 00015063  0x00002fef branch  0x00003c4c 
+ 00015064  0x00002ff4 copy  0x00000011 , 0x00000003 
+ 00015065  0x00002ff5 ifetch  0x00000001 , 0x00000003 
+ 00015066  0x00002ff6 beq  0x00000000 , 0x00003adf 
+ 00015067  0x00002ff7 beq  0x00000001 , 0x00003ae2 
+ 00015068  0x00002ff8 beq  0x00000002 , 0x00003ae8 
+ 00015069  0x00002ff9 beq  0x00000003 , 0x00003aea 
+ 00015070  0x00002ffa branch  0x00003c17 
+ 00015071  0x00002ffc call  0x0000612b 
+ 00015072  0x00002ffd jam  0x00000000 , 0x0000465a 
+ 00015073  0x00002ffe branch  0x00003c1a 
+ 00015074  0x00003000 setarg  0x00040003 
+ 00015075  0x00003002 store  0x00000003 , 0x0000465b 
+ 00015076  0x00003003 store  0x00000001 , 0x00004662 
+ 00015077  0x00003004 call  0x00006124 
+ 00015078  0x00003005 jam  0x00000001 , 0x0000465a 
+ 00015079  0x00003006 branch  0x00003c1a 
+ 00015080  0x00003008 setarg  0x00040002 
+ 00015081  0x00003009 branch  0x00003ae3 
+ 00015082  0x0000300c setarg  0x00040001 
+ 00015083  0x0000300d branch  0x00003ae3 
+ 00015084  0x00003011 fetch  0x00000001 , 0x00000b04 
+ 00015085  0x00003012 sub  0x0000003f , 0x00000010 , 0x0000003e 
+ 00015086  0x00003013 nbranch  0x00003c17 , 0x00000002 
+ 00015087  0x00003014 store  0x00000001 , 0x00004689 
+ 00015088  0x00003015 copy  0x0000003f , 0x00000039 
+ 00015089  0x00003016 arg  0x0000468a , 0x00000005 
+ 00015090  0x00003017 call  0x000066fd 
+ 00015091  0x00003018 branch  0x00003c1a 
+ 00015092  0x0000301d copy  0x00000011 , 0x00000003 
+ 00015093  0x0000301e ifetch  0x00000001 , 0x00000003 
+ 00015094  0x0000301f hfetcht  0x00000001 , 0x00008062 
+ 00015095  0x00003020 nsetflag  0x00000034 , 0x00000004 , 0x00000002 
+ 00015096  0x00003021 hstoret  0x00000001 , 0x00008062 
+ 00015097  0x00003022 branch  0x00003c1a 
+ 00015098  0x00003027 fetch  0x00000001 , 0x00000b04 
+ 00015099  0x00003028 copy  0x0000003f , 0x00000039 
+ 00015100  0x00003029 copy  0x00000011 , 0x00000003 
+ 00015101  0x0000302a call  0x00007f58 
+ 00015102  0x0000302b setarg  0x016e3600 
+ 00015103  0x0000302c idiv  0x00000002 
+ 00015104  0x0000302d call  0x00007f86 
+ 00015105  0x0000302e quotient  0x0000003f 
+ 00015106  0x00003030 store  0x00000002 , 0x00004243 
+ 00015107  0x00003031 call  0x00003c1a 
+ 00015108  0x00003032 call  0x00007f9e 
+ 00015109  0x00003033 branch  0x000066ce 
+ 00015110  0x00003038 arg  0x00000002 , 0x00000011 
+ 00015111  0x00003039 arg  0x0000469a , 0x00000012 
+ 00015112  0x0000303a arg  0x00000000 , 0x00000002 
+ 00015113  0x0000303b branch  0x00003c25 
+ 00015114  0x0000303d store  0x00000002 , 0x00000ac2 
+ 00015115  0x0000303e arg  0x00000ac2 , 0x00000012 
+ 00015116  0x0000303f arg  0x00000000 , 0x00000002 
+ 00015117  0x00003040 branch  0x00003c25 
+ 00015118  0x00003045 fetch  0x00000002 , 0x00004682 
+ 00015119  0x00003046 bbit0  0x00000000 , 0x00003c17 
+ 00015120  0x00003048 call  0x00003c1a 
+ 00015121  0x00003049 branch  0x000033e9 
+ 00015122  0x0000304e fetch  0x00000002 , 0x00004682 
+ 00015123  0x0000304f bbit0  0x00000009 , 0x00003c17 
+ 00015124  0x00003051 call  0x00003c1a 
+ 00015125  0x00003052 branch  0x00003402 
+ 00015126  0x00003059 fetch  0x00000001 , 0x00000b04 
+ 00015127  0x0000305a copy  0x0000003f , 0x00000039 
+ 00015128  0x0000305b copy  0x00000011 , 0x00000003 
+ 00015129  0x0000305c fetch  0x00000002 , 0x00004215 
+ 00015130  0x0000305d icopy  0x00000005 
+ 00015131  0x0000305e call  0x000066ea 
+ 00015132  0x0000305f branch  0x00003c1a 
+ 00015133  0x00003064 fetch  0x00000001 , 0x00004682 
+ 00015134  0x00003065 bbit0  0x00000000 , 0x00003c17 
+ 00015135  0x00003066 ifetch  0x00000001 , 0x00000003 
+ 00015136  0x00003067 fetcht  0x00000001 , 0x00004661 
+ 00015137  0x00003068 setflag  0x00000034 , 0x00000000 , 0x00000002 
+ 00015138  0x00003069 set1  0x00000007 , 0x00000002 
+ 00015139  0x0000306a storet  0x00000001 , 0x00004661 
+ 00015140  0x0000306c call  0x00003c1a 
+ 00015141  0x0000306e fetch  0x00000001 , 0x00004661 
+ 00015142  0x0000306f bbit1  0x00000006 , 0x00003b2b 
+ 00015143  0x00003070 rtn 
+ 00015144  0x00003073 jam  0x00000000 , 0x00004661 
+ 00015145  0x00003074 jam  0x00000021 , 0x00000a99 
+ 00015146  0x00003075 branch  0x00007d8f 
+ 00015147  0x00003079 bbit1  0x00000000 , 0x00005f95 
+ 00015148  0x0000307a branch  0x00003b28 
+ 00015149  0x0000307f fetch  0x00000001 , 0x00004682 
+ 00015150  0x00003080 rtnbit0  0x00000004 
+ 00015151  0x00003081 fetch  0x00000001 , 0x0000456b 
+ 00015152  0x00003082 rtneq  0x00000000 
+ 00015153  0x00003083 ifetch  0x00000001 , 0x00000003 
+ 00015154  0x00003084 fetcht  0x00000001 , 0x00004569 
+ 00015155  0x00003085 iadd  0x00000002 , 0x00000002 
+ 00015156  0x00003086 storet  0x00000001 , 0x00004569 
+ 00015157  0x00003087 rtn 
+ 00015158  0x0000308c arg  0x00000040 , 0x00000039 
+ 00015159  0x0000308d arg  0x0000436f , 0x00000005 
+ 00015160  0x0000308e call  0x00007ed4 
+ 00015161  0x0000308f setarg  0x00000000 
+ 00015162  0x00003090 store  0x00000001 , 0x00000ab2 
+ 00015163  0x00003091 copy  0x00000011 , 0x00000003 
+ 00015164  0x00003093 copy  0x00000003 , 0x0000003f 
+ 00015165  0x00003094 store  0x00000002 , 0x00000ab6 
+ 00015166  0x00003095 call  0x00003b64 
+ 00015167  0x00003097 fetch  0x00000001 , 0x00000ab2 
+ 00015168  0x00003098 fetcht  0x00000001 , 0x00000aa2 
+ 00015169  0x00003099 increase  0x00000001 , 0x00000002 
+ 00015170  0x0000309a iadd  0x00000002 , 0x0000003f 
+ 00015171  0x0000309b store  0x00000001 , 0x00000ab2 
+ 00015172  0x0000309d sub  0x0000003f , 0x0000001f , 0x0000003e 
+ 00015173  0x0000309e nbranch  0x00003b50 , 0x00000002 
+ 00015174  0x000030a0 fetcht  0x00000001 , 0x0000436f 
+ 00015175  0x000030a1 setarg  0x00004370 
+ 00015176  0x000030a2 iadd  0x00000002 , 0x0000003f 
+ 00015177  0x000030a3 store  0x00000002 , 0x00000abb 
+ 00015178  0x000030a4 fetcht  0x00000001 , 0x00000aa2 
+ 00015179  0x000030a5 increase  0x00000001 , 0x00000002 
+ 00015180  0x000030a6 fetch  0x00000001 , 0x0000436f 
+ 00015181  0x000030a7 iadd  0x00000002 , 0x0000003f 
+ 00015182  0x000030a8 store  0x00000001 , 0x0000436f 
+ 00015183  0x000030a9 branch  0x00003b59 
+ 00015184  0x000030ab fetcht  0x00000001 , 0x0000438f 
+ 00015185  0x000030ac setarg  0x00004390 
+ 00015186  0x000030ad iadd  0x00000002 , 0x0000003f 
+ 00015187  0x000030ae store  0x00000002 , 0x00000abb 
+ 00015188  0x000030af fetcht  0x00000001 , 0x00000aa2 
+ 00015189  0x000030b0 increase  0x00000001 , 0x00000002 
+ 00015190  0x000030b1 fetch  0x00000001 , 0x0000438f 
+ 00015191  0x000030b2 iadd  0x00000002 , 0x0000003f 
+ 00015192  0x000030b3 store  0x00000001 , 0x0000438f 
+ 00015193  0x000030b5 fetch  0x00000002 , 0x00000abb 
+ 00015194  0x000030b6 copy  0x0000003f , 0x00000005 
+ 00015195  0x000030b7 fetch  0x00000002 , 0x00000ab6 
+ 00015196  0x000030b8 copy  0x0000003f , 0x00000003 
+ 00015197  0x000030ba copy  0x00000002 , 0x00000039 
+ 00015198  0x000030bb call  0x000066ea 
+ 00015199  0x000030bd fetch  0x00000001 , 0x00000b04 
+ 00015200  0x000030be fetcht  0x00000001 , 0x00000ab2 
+ 00015201  0x000030bf isub  0x00000002 , 0x0000003e 
+ 00015202  0x000030c0 nbranch  0x00003b3c , 0x00000005 
+ 00015203  0x000030c1 branch  0x00003c1a 
+ 00015204  0x000030c5 ifetch  0x00000001 , 0x00000003 
+ 00015205  0x000030c6 store  0x00000001 , 0x00000aa2 
+ 00015206  0x000030c7 ifetch  0x00000001 , 0x00000003 
+ 00015207  0x000030c8 store  0x00000001 , 0x00000aae 
+ 00015208  0x000030c9 rtn 
+ 00015209  0x000030ce arg  0x00000000 , 0x00000002 
+ 00015210  0x000030cf arg  0x00000002 , 0x00000011 
+ 00015211  0x000030d0 fetch  0x00000002 , 0x000046b4 
+ 00015212  0x000030d1 store  0x00000002 , 0x00000ac2 
+ 00015213  0x000030d2 arg  0x00000ac2 , 0x00000012 
+ 00015214  0x000030d3 branch  0x00003c25 
+ 00015215  0x000030d8 fetch  0x00000001 , 0x00000b04 
+ 00015216  0x000030d9 bne  0x00000001 , 0x00003c17 
+ 00015217  0x000030da ifetch  0x00000001 , 0x00000003 
+ 00015218  0x000030db store  0x00000001 , 0x000046b2 
+ 00015219  0x000030dc setarg  0x00000000 
+ 00015220  0x000030dd store  0x00000002 , 0x000046b4 
+ 00015221  0x000030de branch  0x00003c1a 
+ 00015222  0x000030e3 ifetch  0x00000004 , 0x00000003 
+ 00015223  0x000030e4 store  0x00000004 , 0x0000468a 
+ 00015224  0x000030e5 jam  0x00000004 , 0x00004689 
+ 00015225  0x000030e6 jam  0x00000000 , 0x00004663 
+ 00015226  0x000030e7 call  0x00003c1a 
+ 00015227  0x000030e8 branch  0x00005f31 
+ 00015228  0x000030ed fetch  0x00000001 , 0x00000b04 
+ 00015229  0x000030ee bne  0x00000003 , 0x00003c17 
+ 00015230  0x000030ef ifetch  0x00000001 , 0x00000003 
+ 00015231  0x000030f0 beq  0x00000000 , 0x00003b82 
+ 00015232  0x000030f1 beq  0x00000001 , 0x00003b8a 
+ 00015233  0x000030f2 branch  0x00003c17 
+ 00015234  0x000030f5 ifetcht  0x00000001 , 0x00000003 
+ 00015235  0x000030f6 ifetch  0x00000001 , 0x00000003 
+ 00015236  0x000030f7 beq  0x00000002 , 0x00003b88 
+ 00015237  0x000030f8 nsetflag  0x00000034 , 0x00000007 , 0x00000002 
+ 00015238  0x000030f9 call  0x000067fb 
+ 00015239  0x000030fa branch  0x00003c1a 
+ 00015240  0x000030fd call  0x00006806 
+ 00015241  0x000030fe branch  0x00003c1a 
+ 00015242  0x00003101 ifetcht  0x00000001 , 0x00000003 
+ 00015243  0x00003102 call  0x00006812 
+ 00015244  0x00003103 ifetch  0x00000001 , 0x00000003 
+ 00015245  0x00003104 isolate1  0x00000000 , 0x0000003f 
+ 00015246  0x00003105 call  0x0000682c 
+ 00015247  0x00003106 branch  0x00003c1a 
+ 00015248  0x0000310b fetch  0x00000001 , 0x00000b04 
+ 00015249  0x0000310c bne  0x00000001 , 0x00003c17 
+ 00015250  0x0000310d ifetcht  0x00000001 , 0x00000003 
+ 00015251  0x0000310e call  0x0000681d 
+ 00015252  0x0000310f setarg  0x00000000 
+ 00015253  0x00003110 nsetflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00015254  0x00003111 arg  0x00000001 , 0x00000011 
+ 00015255  0x00003112 branch  0x00003b0a 
+ 00015256  0x00003117 copy  0x00000011 , 0x00000003 
+ 00015257  0x00003118 ifetch  0x00000001 , 0x00000003 
+ 00015258  0x00003119 copy  0x0000003f , 0x00000002 
+ 00015259  0x0000311a beq  0x00000081 , 0x00003ba3 
+ 00015260  0x0000311b beq  0x00000082 , 0x00003ba8 
+ 00015261  0x0000311c beq  0x00000083 , 0x00003bae 
+ 00015262  0x0000311d store  0x00000001 , 0x000044c6 
+ 00015263  0x0000311e beq  0x00000000 , 0x00003bb3 
+ 00015264  0x0000311f beq  0x00000001 , 0x00003bb6 
+ 00015265  0x00003120 beq  0x00000002 , 0x00003bb8 
+ 00015266  0x00003121 branch  0x00003c17 
+ 00015267  0x00003124 fetch  0x00000001 , 0x000044be 
+ 00015268  0x00003125 branch  0x00003c17 , 0x00000034 
+ 00015269  0x00003126 storet  0x00000001 , 0x000044c6 
+ 00015270  0x00003127 jam  0x0000000d , 0x00004456 
+ 00015271  0x00003128 branch  0x00003bb4 
+ 00015272  0x0000312a fetch  0x00000001 , 0x000044be 
+ 00015273  0x0000312b branch  0x00003c17 , 0x00000034 
+ 00015274  0x0000312c storet  0x00000001 , 0x000044c6 
+ 00015275  0x0000312d jam  0x0000000d , 0x00004456 
+ 00015276  0x0000312e jam  0x00000001 , 0x00004454 
+ 00015277  0x0000312f branch  0x00003c1a 
+ 00015278  0x00003131 fetch  0x00000001 , 0x000044be 
+ 00015279  0x00003132 branch  0x00003c17 , 0x00000034 
+ 00015280  0x00003133 storet  0x00000001 , 0x000044c6 
+ 00015281  0x00003134 jam  0x0000000d , 0x00004456 
+ 00015282  0x00003135 branch  0x00003bb9 
+ 00015283  0x00003137 jam  0x00000000 , 0x00004456 
+ 00015284  0x00003139 jam  0x00000003 , 0x00004454 
+ 00015285  0x0000313a branch  0x00003c1a 
+ 00015286  0x0000313c jam  0x00000005 , 0x00004456 
+ 00015287  0x0000313d branch  0x00003bb4 
+ 00015288  0x0000313f jam  0x00000005 , 0x00004456 
+ 00015289  0x00003141 jam  0x00000000 , 0x00004454 
+ 00015290  0x00003142 branch  0x00003c1a 
+ 00015291  0x00003147 fetch  0x00000001 , 0x00000b04 
+ 00015292  0x00003148 sub  0x0000003f , 0x0000001f , 0x0000003e 
+ 00015293  0x00003149 nbranch  0x00003c17 , 0x00000002 
+ 00015294  0x0000314a store  0x00000001 , 0x0000436f 
+ 00015295  0x0000314b copy  0x0000003f , 0x00000039 
+ 00015296  0x0000314c copy  0x00000011 , 0x00000003 
+ 00015297  0x0000314d arg  0x00004370 , 0x00000005 
+ 00015298  0x0000314e call  0x000066ea 
+ 00015299  0x0000314f branch  0x00003c1a 
+ 00015300  0x00003154 fetch  0x00000001 , 0x00000b04 
+ 00015301  0x00003155 sub  0x0000003f , 0x0000001f , 0x0000003e 
+ 00015302  0x00003156 nbranch  0x00003c17 , 0x00000002 
+ 00015303  0x00003157 store  0x00000001 , 0x0000438f 
+ 00015304  0x00003158 copy  0x0000003f , 0x00000039 
+ 00015305  0x00003159 copy  0x00000011 , 0x00000003 
+ 00015306  0x0000315a arg  0x00004390 , 0x00000005 
+ 00015307  0x0000315b call  0x000066ea 
+ 00015308  0x0000315c branch  0x00003c1a 
+ 00015309  0x00003161 fetch  0x00000002 , 0x00004682 
+ 00015310  0x00003162 bbit0  0x00000009 , 0x00003c17 
+ 00015311  0x00003163 fetch  0x00000001 , 0x00000b04 
+ 00015312  0x00003164 bne  0x00000008 , 0x00003c17 
+ 00015313  0x00003165 copy  0x00000011 , 0x00000003 
+ 00015314  0x00003166 ifetch  0x00000008 , 0x00000003 
+ 00015315  0x00003167 store  0x00000008 , 0x00004496 
+ 00015316  0x00003168 jam  0x00000012 , 0x00000a99 
+ 00015317  0x00003169 call  0x00007d8f 
+ 00015318  0x0000316a branch  0x00003c1a 
+ 00015319  0x0000316f ifetch  0x00000002 , 0x00000003 
+ 00015320  0x00003170 store  0x00000002 , 0x00004482 
+ 00015321  0x00003171 branch  0x00003c1a 
+ 00015322  0x00003176 fetch  0x00000001 , 0x000044c6 
+ 00015323  0x00003177 branch  0x00003c17 , 0x00000034 
+ 00015324  0x00003178 fetch  0x00000001 , 0x000044c4 
+ 00015325  0x00003179 bne  0x00000000 , 0x00003c17 
+ 00015326  0x0000317a fetch  0x00000001 , 0x000044c5 
+ 00015327  0x0000317b bne  0x00000000 , 0x00003c17 
+ 00015328  0x0000317c call  0x00007e25 
+ 00015329  0x0000317d branch  0x00003c1a 
+ 00015330  0x00003182 fetch  0x00000001 , 0x00000b04 
+ 00015331  0x00003183 bne  0x00000005 , 0x00003c17 
+ 00015332  0x00003184 ifetch  0x00000001 , 0x00000003 
+ 00015333  0x00003185 store  0x00000001 , 0x000046a2 
+ 00015334  0x00003186 ifetch  0x00000004 , 0x00000003 
+ 00015335  0x00003187 store  0x00000004 , 0x000046a3 
+ 00015336  0x00003188 fetcht  0x00000001 , 0x000046a2 
+ 00015337  0x00003189 call  0x0000680e 
+ 00015338  0x0000318a call  0x00003cbc 
+ 00015339  0x0000318b branch  0x00003c1a 
+ 00015340  0x00003190 fetch  0x00000001 , 0x00000b04 
+ 00015341  0x00003191 bne  0x00000001 , 0x00003c17 
+ 00015342  0x00003192 ifetch  0x00000001 , 0x00000003 
+ 00015343  0x00003193 store  0x00000001 , 0x000041de 
+ 00015344  0x00003194 branch  0x00003c1a 
+ 00015345  0x00003199 ifetch  0x00000001 , 0x00000003 
+ 00015346  0x0000319a beq  0x00000001 , 0x00003bfa 
+ 00015347  0x0000319b fetch  0x00000001 , 0x000044c1 
+ 00015348  0x0000319c beq  0x00000003 , 0x00003bf8 
+ 00015349  0x0000319d beq  0x00000006 , 0x00003bf8 
+ 00015350  0x0000319e beq  0x00000007 , 0x00003bf8 
+ 00015351  0x0000319f branch  0x00003c17 
+ 00015352  0x000031a1 jam  0x00000001 , 0x000044c2 
+ 00015353  0x000031a2 branch  0x00003c1a 
+ 00015354  0x000031a5 call  0x00005b53 
+ 00015355  0x000031a6 branch  0x00003c1a 
+ 00015356  0x000031ab fetch  0x00000001 , 0x00000b04 
+ 00015357  0x000031ac bne  0x00000001 , 0x00003c17 
+ 00015358  0x000031ad call  0x00003c1a 
+ 00015359  0x000031ae ifetch  0x00000001 , 0x00000003 
+ 00015360  0x000031af branch  0x000060cb , 0x00000034 
+ 00015361  0x000031b0 branch  0x000060c9 
+ 00015362  0x000031b5 call  0x00003c1a 
+ 00015363  0x000031b6 call  0x00007f9e 
+ 00015364  0x000031b7 jam  0x00000001 , 0x00008010 
+ 00015365  0x000031b8 branch  0x00002a8e 
+ 00015366  0x000031bd fetch  0x00000001 , 0x00000b04 
+ 00015367  0x000031be beq  0x00000000 , 0x00003c17 
+ 00015368  0x000031bf ifetch  0x00000001 , 0x00000003 
+ 00015369  0x000031c0 branch  0x00003c13 , 0x00000034 
+ 00015370  0x000031c1 fetch  0x00000001 , 0x00000b04 
+ 00015371  0x000031c2 bne  0x00000005 , 0x00003c17 
+ 00015372  0x000031c3 ifetch  0x00000004 , 0x00000003 
+ 00015373  0x000031c4 arg  0x000f4240 , 0x00000002 
+ 00015374  0x000031c5 isub  0x00000002 , 0x0000003e 
+ 00015375  0x000031c6 branch  0x00003c17 , 0x00000002 
+ 00015376  0x000031c7 store  0x00000004 , 0x000044c7 
+ 00015377  0x000031c8 call  0x0000580c 
+ 00015378  0x000031c9 branch  0x00003c1a 
+ 00015379  0x000031cc call  0x0000580e 
+ 00015380  0x000031cd branch  0x00003c1a 
+ 00015381  0x000031d2 jam  0x00000000 , 0x00004091 
+ 00015382  0x000031d3 branch  0x00003c1a 
+ 00015383  0x000031d9 arg  0x00000001 , 0x00000002 
+ 00015384  0x000031da arg  0x00000000 , 0x00000011 
+ 00015385  0x000031db branch  0x00003c25 
+ 00015386  0x000031df arg  0x00000000 , 0x00000002 
+ 00015387  0x000031e0 arg  0x00000000 , 0x00000011 
+ 00015388  0x000031e1 branch  0x00003c25 
+ 00015389  0x000031e6 jam  0x00000000 , 0x00000b03 
+ 00015390  0x000031e7 branch  0x00003c49 
+ 00015391  0x000031ec jam  0x00000002 , 0x00000b03 
+ 00015392  0x000031ed branch  0x00003c49 
+ 00015393  0x000031f2 jam  0x00000003 , 0x00000b03 
+ 00015394  0x000031f3 branch  0x00003c49 
+ 00015395  0x000031f8 jam  0x00000005 , 0x00000b03 
+ 00015396  0x000031f9 branch  0x00003c49 
+ 00015397  0x00003202 fetch  0x00000001 , 0x00000b03 
+ 00015398  0x00003203 copy  0x0000003f , 0x00000013 
+ 00015399  0x00003204 jam  0x00000006 , 0x00000b03 
+ 00015400  0x00003205 setarg  0x00000002 
+ 00015401  0x00003206 iadd  0x00000011 , 0x0000003f 
+ 00015402  0x00003207 call  0x00003ca7 
+ 00015403  0x00003208 copy  0x00000013 , 0x0000003f 
+ 00015404  0x00003209 istore  0x00000001 , 0x0000000a 
+ 00015405  0x0000320a istoret  0x00000001 , 0x0000000a 
+ 00015406  0x0000320b copy  0x00000011 , 0x00000039 
+ 00015407  0x0000320c copy  0x00000012 , 0x00000006 
+ 00015408  0x0000320d call  0x000066e4 
+ 00015409  0x0000320e branch  0x000066c5 
+ 00015410  0x00003214 call  0x0000397f 
+ 00015411  0x00003215 jam  0x00000007 , 0x00000b03 
+ 00015412  0x00003216 fetch  0x00000001 , 0x000004ff 
+ 00015413  0x00003217 rtn  0x00000034 
+ 00015414  0x00003218 call  0x00003ca7 
+ 00015415  0x00003219 fetch  0x00000001 , 0x000004ff 
+ 00015416  0x0000321a copy  0x0000003f , 0x00000039 
+ 00015417  0x0000321b fetch  0x00000002 , 0x00000501 
+ 00015418  0x0000321c copy  0x0000003f , 0x00000006 
+ 00015419  0x0000321d call  0x000066d1 
+ 00015420  0x0000321e branch  0x000066c5 
+ 00015421  0x00003223 jam  0x00000008 , 0x00000b03 
+ 00015422  0x00003224 fetch  0x00000001 , 0x000046b6 
+ 00015423  0x00003225 icopy  0x00000039 
+ 00015424  0x00003226 increase  0x00000002 , 0x0000003f 
+ 00015425  0x00003227 call  0x00003ca7 
+ 00015426  0x00003228 fetch  0x00000002 , 0x000046b9 
+ 00015427  0x00003229 istore  0x00000002 , 0x0000000a 
+ 00015428  0x0000322a fetch  0x00000002 , 0x000046b7 
+ 00015429  0x0000322b icopy  0x00000006 
+ 00015430  0x0000322c call  0x000066d1 
+ 00015431  0x0000322d branch  0x000066c5 
+ 00015432  0x00003232 jam  0x00000009 , 0x00000b03 
+ 00015433  0x00003234 setarg  0x00000000 
+ 00015434  0x00003235 call  0x00003ca7 
+ 00015435  0x00003236 branch  0x000066c5 
+ 00015436  0x0000323b jam  0x0000000a , 0x00000b03 
+ 00015437  0x0000323c setarg  0x00000001 
+ 00015438  0x0000323d call  0x00003ca7 
+ 00015439  0x0000323f call  0x00003c5d 
+ 00015440  0x00003241 fetch  0x00000002 , 0x00004682 
+ 00015441  0x00003242 arg  0x00000002 , 0x00000007 
+ 00015442  0x00003243 qisolate1  0x0000003f 
+ 00015443  0x00003244 setflag  0x00000001 , 0x00000003 , 0x00000002 
+ 00015444  0x00003246 arg  0x00000009 , 0x00000007 
+ 00015445  0x00003247 qisolate1  0x0000003f 
+ 00015446  0x00003248 setflag  0x00000001 , 0x00000005 , 0x00000002 
+ 00015447  0x0000324a fetch  0x00000001 , 0x00004682 
+ 00015448  0x0000324b arg  0x00000004 , 0x00000007 
+ 00015449  0x0000324c qisolate1  0x0000003f 
+ 00015450  0x0000324d setflag  0x00000001 , 0x00000004 , 0x00000002 
+ 00015451  0x0000324f istoret  0x00000001 , 0x0000000a 
+ 00015452  0x00003250 branch  0x000066c5 
+ 00015453  0x00003255 arg  0x00000000 , 0x00000002 
+ 00015454  0x00003256 fetch  0x00000001 , 0x00004093 
+ 00015455  0x00003257 arg  0x00000000 , 0x00000007 
+ 00015456  0x00003258 qisolate1  0x0000003f 
+ 00015457  0x00003259 setflag  0x00000001 , 0x00000000 , 0x00000002 
+ 00015458  0x0000325a arg  0x00000001 , 0x00000007 
+ 00015459  0x0000325b qisolate1  0x0000003f 
+ 00015460  0x0000325c setflag  0x00000001 , 0x00000001 , 0x00000002 
+ 00015461  0x0000325e fetch  0x00000001 , 0x0000436e 
+ 00015462  0x0000325f arg  0x00000000 , 0x00000007 
+ 00015463  0x00003260 qisolate1  0x0000003f 
+ 00015464  0x00003261 setflag  0x00000001 , 0x00000002 , 0x00000002 
+ 00015465  0x00003262 rtn 
+ 00015466  0x00003267 jam  0x0000000d , 0x00000b03 
+ 00015467  0x00003268 fetch  0x00000001 , 0x00004217 
+ 00015468  0x00003269 mul32  0x0000003f , 0x00000022 , 0x0000003f 
+ 00015469  0x0000326a icopy  0x00000039 
+ 00015470  0x0000326b call  0x00003ca7 
+ 00015471  0x0000326c fetch  0x00000002 , 0x00004215 
+ 00015472  0x0000326d icopy  0x00000006 
+ 00015473  0x0000326e call  0x000066d1 
+ 00015474  0x0000326f branch  0x000066c5 
+ 00015475  0x00003274 jam  0x0000000e , 0x00000b03 
+ 00015476  0x00003275 setarg  0x00000004 
+ 00015477  0x00003276 call  0x00003ca7 
+ 00015478  0x00003277 fetch  0x00000004 , 0x000009ba 
+ 00015479  0x00003278 istore  0x00000004 , 0x0000000a 
+ 00015480  0x00003279 branch  0x000066c5 
+ 00015481  0x0000327e jam  0x0000000f , 0x00000b03 
+ 00015482  0x0000327f hfetch  0x00000002 , 0x00008112 
+ 00015483  0x00003280 arg  0x000000ff , 0x00000002 
+ 00015484  0x00003281 call  0x00007fdd 
+ 00015485  0x00003282 copy  0x0000003f , 0x00000039 
+ 00015486  0x00003283 call  0x00003ca7 
+ 00015487  0x00003284 call  0x000066cb 
+ 00015488  0x00003285 call  0x00006703 
+ 00015489  0x00003286 branch  0x000066c5 
+ 00015490  0x0000328b jam  0x00000010 , 0x00000b03 
+ 00015491  0x0000328c branch  0x00003c49 
+ 00015492  0x00003291 jam  0x00000011 , 0x00000b03 
+ 00015493  0x00003292 setarg  0x00000004 
+ 00015494  0x00003293 call  0x00003ca7 
+ 00015495  0x00003294 fetch  0x00000004 , 0x000044c7 
+ 00015496  0x00003295 istore  0x00000004 , 0x0000000a 
+ 00015497  0x00003296 branch  0x000066c5 
+ 00015498  0x0000329b arg  0x00000180 , 0x00000011 
+ 00015499  0x0000329c branch  0x00003c91 
+ 00015500  0x0000329f arg  0x00000080 , 0x00000011 
+ 00015501  0x000032a0 branch  0x00003c91 
+ 00015502  0x000032a3 arg  0x00000101 , 0x00000011 
+ 00015503  0x000032a4 branch  0x00003c91 
+ 00015504  0x000032a7 arg  0x00000001 , 0x00000011 
+ 00015505  0x000032aa jam  0x00000000 , 0x00004661 
+ 00015506  0x000032ab jam  0x00000014 , 0x00000b03 
+ 00015507  0x000032ac setarg  0x00000002 
+ 00015508  0x000032ad call  0x00003ca7 
+ 00015509  0x000032ae copy  0x00000011 , 0x0000003f 
+ 00015510  0x000032af istore  0x00000002 , 0x0000000a 
+ 00015511  0x000032b0 branch  0x000066c5 
+ 00015512  0x000032b5 arg  0x00000000 , 0x00000013 
+ 00015513  0x000032b6 branch  0x00003c9b 
+ 00015514  0x000032b9 arg  0x00000001 , 0x00000013 
+ 00015515  0x000032bc jam  0x00000015 , 0x00000b03 
+ 00015516  0x000032bd setarg  0x00000001 
+ 00015517  0x000032be call  0x00003ca7 
+ 00015518  0x000032bf copy  0x00000013 , 0x0000003f 
+ 00015519  0x000032c0 istore  0x00000001 , 0x0000000a 
+ 00015520  0x000032c1 branch  0x000066c5 
+ 00015521  0x000032c6 jam  0x0000001d , 0x00000b03 
+ 00015522  0x000032c7 setarg  0x00000004 
+ 00015523  0x000032c8 call  0x00003ca7 
+ 00015524  0x000032c9 fetch  0x00000004 , 0x000009ba 
+ 00015525  0x000032ca istore  0x00000004 , 0x0000000a 
+ 00015526  0x000032cb branch  0x000066c5 
+ 00015527  0x000032d7 jam  0x00000002 , 0x00000b02 
+ 00015528  0x000032d8 store  0x00000001 , 0x00000b04 
+ 00015529  0x000032d9 storet  0x00000008 , 0x00000aa2 
+ 00015530  0x000032da bpatch  0x000000e2 , 0x0000401c 
+ 00015531  0x000032db call  0x00003cb1 
+ 00015532  0x000032dc fetcht  0x00000008 , 0x00000aa2 
+ 00015533  0x000032dd call  0x000066c2 
+ 00015534  0x000032de fetch  0x00000003 , 0x00000b02 
+ 00015535  0x000032df istore  0x00000003 , 0x0000000a 
+ 00015536  0x000032e0 rtn 
+ 00015537  0x000032e4 call  0x00003cba 
+ 00015538  0x000032e5 rtn  0x00000001 
+ 00015539  0x000032e7 call  0x00003cb8 
+ 00015540  0x000032e8 fetch  0x00000004 , 0x000046a3 
+ 00015541  0x000032e9 rshift2  0x0000003f , 0x0000003f 
+ 00015542  0x000032ea rtn  0x00000034 
+ 00015543  0x000032eb branch  0x00003cbe 
+ 00015544  0x000032ef fetcht  0x00000001 , 0x000046a2 
+ 00015545  0x000032f0 branch  0x00006829 
+ 00015546  0x000032f3 fetcht  0x00000001 , 0x000046a2 
+ 00015547  0x000032f4 branch  0x0000681b 
+ 00015548  0x000032f7 fetcht  0x00000001 , 0x000046a2 
+ 00015549  0x000032f8 branch  0x00006825 
+ 00015550  0x000032fc increase  0xffffffff , 0x0000003f 
+ 00015551  0x000032fd nop  0x00000026 
+ 00015552  0x000032fe nbranch  0x00003cbe , 0x00000034 
+ 00015553  0x000032ff rtn 
+ 00015554  0x00003309 call  0x00003ad4 
+ 00015555  0x0000330a rtn  0x00000028 
+ 00015556  0x0000330b copy  0x00000011 , 0x0000003f 
+ 00015557  0x0000330c store  0x00000002 , 0x000046b7 
+ 00015558  0x0000330d copy  0x00000012 , 0x0000003f 
+ 00015559  0x0000330e store  0x00000001 , 0x000046b6 
+ 00015560  0x0000330f fetch  0x00000002 , 0x00000478 
+ 00015561  0x00003310 fetcht  0x00000002 , 0x000046bb 
+ 00015562  0x00003311 isub  0x00000002 , 0x0000003e 
+ 00015563  0x00003312 branch  0x00003ccf , 0x00000005 
+ 00015564  0x00003313 fetcht  0x00000002 , 0x000046bd 
+ 00015565  0x00003314 isub  0x00000002 , 0x0000003e 
+ 00015566  0x00003315 nrtn  0x00000005 
+ 00015567  0x00003317 store  0x00000002 , 0x000046b9 
+ 00015568  0x00003318 branch  0x00003c3d 
+ 00015569  0x0000331e fetch  0x00000001 , 0x000046bf 
+ 00015570  0x0000331f rtnbit1  0x00000005 
+ 00015571  0x00003320 call  0x00003cf0 
+ 00015572  0x00003321 branch  0x0000340c 
+ 00015573  0x00003325 jam  0x00000002 , 0x00004172 
+ 00015574  0x00003326 rtn 
+ 00015575  0x0000332b branch  0x00003cd8 
+ 00015576  0x0000332e fetch  0x00000001 , 0x000046b2 
+ 00015577  0x0000332f rtn  0x00000034 
+ 00015578  0x00003330 fetch  0x00000001 , 0x000046b3 
+ 00015579  0x00003331 rtn  0x00000034 
+ 00015580  0x00003332 increase  0xffffffff , 0x0000003f 
+ 00015581  0x00003333 store  0x00000001 , 0x000046b3 
+ 00015582  0x00003334 nrtn  0x00000034 
+ 00015583  0x00003335 jam  0x0000000a , 0x000046b3 
+ 00015584  0x00003336 call  0x000068eb 
+ 00015585  0x00003337 call  0x00006908 
+ 00015586  0x00003338 div  0x0000003f , 0x00000064 
+ 00015587  0x00003339 call  0x00007f86 
+ 00015588  0x0000333a quotient  0x0000003f 
+ 00015589  0x0000333b remainder  0x00000002 
+ 00015590  0x0000333c store  0x00000001 , 0x000046b4 
+ 00015591  0x0000333d storet  0x00000001 , 0x000046b5 
+ 00015592  0x0000333e rtn 
+ 00015593  0x00003342 call  0x00007fb4 
+ 00015594  0x00003343 branch  0x000033d9 , 0x00000002 
+ 00015595  0x00003344 branch  0x000033db 
+ 00015596  0x00003349 arg  0x00000006 , 0x00000007 
+ 00015597  0x0000334a branch  0x00003cfc 
+ 00015598  0x0000334d arg  0x00000006 , 0x00000007 
+ 00015599  0x0000334e branch  0x00003cf8 
+ 00015600  0x00003351 arg  0x00000005 , 0x00000007 
+ 00015601  0x00003352 branch  0x00003cfc 
+ 00015602  0x00003355 arg  0x00000005 , 0x00000007 
+ 00015603  0x00003356 branch  0x00003cf8 
+ 00015604  0x00003359 arg  0x00000004 , 0x00000007 
+ 00015605  0x0000335a branch  0x00003cfc 
+ 00015606  0x0000335d arg  0x00000004 , 0x00000007 
+ 00015607  0x0000335e branch  0x00003cf8 
+ 00015608  0x00003361 fetch  0x00000001 , 0x000046bf 
+ 00015609  0x00003362 qset0  0x0000003f 
+ 00015610  0x00003363 store  0x00000001 , 0x000046bf 
+ 00015611  0x00003364 rtn 
+ 00015612  0x00003367 fetch  0x00000001 , 0x000046bf 
+ 00015613  0x00003368 qset1  0x0000003f 
+ 00015614  0x00003369 store  0x00000001 , 0x000046bf 
+ 00015615  0x0000336a rtn 
+ 00015616  0x00003375 call  0x00003d39 
+ 00015617  0x00003376 call  0x0000640f 
+ 00015618  0x00003377 call  0x000040c6 
+ 00015619  0x00003378 call  0x00003d66 
+ 00015620  0x00003379 call  0x00006411 
+ 00015621  0x0000337a rtn  0x0000002b 
+ 00015622  0x0000337b call  0x00003d16 
+ 00015623  0x0000337c call  0x00003d19 
+ 00015624  0x0000337f fetch  0x00000004 , 0x000046d3 
+ 00015625  0x00003380 rtnbit1  0x00000010 
+ 00015626  0x00003381 call  0x00003d4e 
+ 00015627  0x00003382 rtnmark1  0x00000026 
+ 00015628  0x00003383 fetch  0x00000002 , 0x00004682 
+ 00015629  0x00003384 bbit1  0x0000000c , 0x000042b0 
+ 00015630  0x00003385 branch  0x000042a2 
+ 00015631  0x00003389 fetch  0x00000004 , 0x000046d3 
+ 00015632  0x0000338a rtnbit0  0x0000001b 
+ 00015633  0x0000338b arg  0x00000014 , 0x00000039 
+ 00015634  0x0000338d setarg  0x00030d40 
+ 00015635  0x0000338e call  0x00002a8f 
+ 00015636  0x0000338f loop  0x00007ec1 
+ 00015637  0x00003390 rtn 
+ 00015638  0x00003394 fetch  0x00000004 , 0x000046d3 
+ 00015639  0x00003395 rtnbit0  0x00000010 
+ 00015640  0x00003396 branch  0x000048ea 
+ 00015641  0x0000339a setarg  0x0000416d 
+ 00015642  0x0000339b store  0x00000002 , 0x000041ef 
+ 00015643  0x0000339c setarg  0x00003f77 
+ 00015644  0x0000339d store  0x00000002 , 0x000041f1 
+ 00015645  0x0000339e setarg  0x00003ebb 
+ 00015646  0x0000339f store  0x00000002 , 0x000041ed 
+ 00015647  0x000033a0 setarg  0x0000417c 
+ 00015648  0x000033a1 store  0x00000002 , 0x000041f5 
+ 00015649  0x000033a2 setarg  0x00003de3 
+ 00015650  0x000033a3 store  0x00000002 , 0x000041f3 
+ 00015651  0x000033a4 setarg  0x00003eb3 
+ 00015652  0x000033a5 store  0x00000002 , 0x000041eb 
+ 00015653  0x000033a6 setarg  0x00003d5b 
+ 00015654  0x000033a7 store  0x00000002 , 0x000041f9 
+ 00015655  0x000033a9 call  0x00002c7a 
+ 00015656  0x000033aa setarg  0x00004401 
+ 00015657  0x000033ab add  0x00000013 , 0x000000d8 , 0x00000005 
+ 00015658  0x000033ac istore  0x00000002 , 0x00000005 
+ 00015659  0x000033ad setarg  0x00004406 
+ 00015660  0x000033ae add  0x00000013 , 0x000000da , 0x00000005 
+ 00015661  0x000033af istore  0x00000002 , 0x00000005 
+ 00015662  0x000033b0 setarg  0x00003ebf 
+ 00015663  0x000033b1 add  0x00000013 , 0x000000dc , 0x00000005 
+ 00015664  0x000033b2 istore  0x00000002 , 0x00000005 
+ 00015665  0x000033b4 setarg  0x000041f9 
+ 00015666  0x000033b5 store  0x00000002 , 0x000041fd 
+ 00015667  0x000033b6 setarg  0x00003d36 
+ 00015668  0x000033b7 store  0x00000002 , 0x00004201 
+ 00015669  0x000033b8 rtn 
+ 00015670  0x000033bb fetch  0x00000004 , 0x000046d3 
+ 00015671  0x000033bc bbit0  0x00000012 , 0x000064d7 
+ 00015672  0x000033bd branch  0x000064da 
+ 00015673  0x000033c0 rtn  0x0000002b 
+ 00015674  0x000033c1 call  0x00002c9d 
+ 00015675  0x000033c2 call  0x00003e6e 
+ 00015676  0x000033c3 call  0x00003e1e 
+ 00015677  0x000033c4 call  0x00003e54 
+ 00015678  0x000033c5 call  0x00005810 
+ 00015679  0x000033c6 call  0x00005839 
+ 00015680  0x000033c7 call  0x0000582c 
+ 00015681  0x000033c8 call  0x00005818 
+ 00015682  0x000033c9 fetch  0x00000004 , 0x000046d3 
+ 00015683  0x000033ca bbit1  0x00000014 , 0x00003d46 
+ 00015684  0x000033cb bbit1  0x00000013 , 0x00004414 
+ 00015685  0x000033cc rtn 
+ 00015686  0x000033cf call  0x0000659c 
+ 00015687  0x000033d0 fetch  0x00000004 , 0x000046d3 
+ 00015688  0x000033d1 isolate1  0x00000019 , 0x0000003f 
+ 00015689  0x000033d2 ncall  0x000065c2 , 0x00000001 
+ 00015690  0x000033d3 call  0x0000443f 
+ 00015691  0x000033d4 call  0x00003dc9 
+ 00015692  0x000033d5 call  0x000041aa 
+ 00015693  0x000033d6 branch  0x000065df 
+ 00015694  0x000033d9 fetch  0x00000004 , 0x000046d3 
+ 00015695  0x000033da bbit0  0x0000001e , 0x00003d53 
+ 00015696  0x000033db fetch  0x00000001 , 0x00000abd 
+ 00015697  0x000033dc isolate0  0x00000003 , 0x0000003f 
+ 00015698  0x000033dd nrtn  0x00000001 
+ 00015699  0x000033df fetch  0x00000001 , 0x0000471f 
+ 00015700  0x000033e0 store  0x00000001 , 0x0000471e 
+ 00015701  0x000033e1 fetch  0x00000001 , 0x000046f5 
+ 00015702  0x000033e2 rtnbit1  0x00000006 
+ 00015703  0x000033e4 fetch  0x00000004 , 0x000046d3 
+ 00015704  0x000033e5 rtnbit0  0x00000011 
+ 00015705  0x000033e6 bbit1  0x0000001d , 0x00002ee4 
+ 00015706  0x000033e7 branch  0x00002f2c 
+ 00015707  0x000033e9 fetch  0x00000001 , 0x00000478 
+ 00015708  0x000033ea sub  0x0000003f , 0x0000001a , 0x0000003f 
+ 00015709  0x000033eb nrtn  0x00000005 
+ 00015710  0x000033ec jam  0x00000012 , 0x00000a99 
+ 00015711  0x000033ed call  0x00007d8f 
+ 00015712  0x000033ef arg  0x00000000 , 0x00000007 
+ 00015713  0x000033f0 branch  0x000041b9 
+ 00015714  0x000033f3 fetch  0x00000001 , 0x000046b6 
+ 00015715  0x000033f4 rtneq  0x00000001 
+ 00015716  0x000033f5 jam  0x00000001 , 0x000046b6 
+ 00015717  0x000033f6 rtn 
+ 00015718  0x000033f8 fetch  0x00000001 , 0x000046e1 
+ 00015719  0x000033f9 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00015720  0x000033fa store  0x00000001 , 0x0000477a 
+ 00015721  0x000033fb branch  0x00003d80 
+ 00015722  0x000033ff fetcht  0x00000001 , 0x000046e7 
+ 00015723  0x00003400 call  0x0000681d 
+ 00015724  0x00003401 nbranch  0x00003d62 , 0x00000001 
+ 00015725  0x00003403 fetch  0x00000001 , 0x000046b6 
+ 00015726  0x00003404 rtneq  0x00000000 
+ 00015727  0x00003405 jam  0x00000000 , 0x000046b6 
+ 00015728  0x00003406 fetch  0x00000001 , 0x0000477a 
+ 00015729  0x00003407 increase  0x00000001 , 0x0000003f 
+ 00015730  0x00003408 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00015731  0x00003409 store  0x00000001 , 0x0000477a 
+ 00015732  0x0000340a call  0x00003d7e 
+ 00015733  0x0000340b fetch  0x00000004 , 0x000046d3 
+ 00015734  0x0000340c bbit1  0x00000014 , 0x0000443b 
+ 00015735  0x0000340d bbit1  0x00000013 , 0x00003d79 
+ 00015736  0x0000340e rtn 
+ 00015737  0x00003410 arg  0x0000001e , 0x00000002 
+ 00015738  0x00003411 call  0x0000680e 
+ 00015739  0x00003412 arg  0x0000001f , 0x00000002 
+ 00015740  0x00003413 call  0x0000680e 
+ 00015741  0x00003414 branch  0x00004435 
+ 00015742  0x00003417 bpatch  0x000000e3 , 0x0000401c 
+ 00015743  0x00003418 call  0x0000424a 
+ 00015744  0x00003419 fetch  0x00000001 , 0x000046e0 
+ 00015745  0x0000341a beq  0x00000005 , 0x00003daa 
+ 00015746  0x0000341b beq  0x00000004 , 0x00003d96 
+ 00015747  0x0000341c fetch  0x00000001 , 0x0000477a 
+ 00015748  0x0000341d beq  0x00000000 , 0x00003d8a 
+ 00015749  0x0000341e beq  0x00000001 , 0x00003d88 
+ 00015750  0x0000341f beq  0x00000002 , 0x00003d8c 
+ 00015751  0x00003420 beq  0x00000003 , 0x00003d8e 
+ 00015752  0x00003422 fetch  0x00000001 , 0x00004780 
+ 00015753  0x00003423 branch  0x00003dbe 
+ 00015754  0x00003425 fetch  0x00000001 , 0x0000477f 
+ 00015755  0x00003426 branch  0x00003dbe 
+ 00015756  0x00003428 fetch  0x00000001 , 0x00004781 
+ 00015757  0x00003429 branch  0x00003dbe 
+ 00015758  0x0000342b fetch  0x00000001 , 0x00004782 
+ 00015759  0x0000342c branch  0x00003dbe 
+ 00015760  0x0000342e fetch  0x00000001 , 0x000046e0 
+ 00015761  0x0000342f rtneq  0x00000006 
+ 00015762  0x00003430 fetch  0x00000001 , 0x000046b5 
+ 00015763  0x00003431 increase  0x00000001 , 0x0000003f 
+ 00015764  0x00003432 store  0x00000001 , 0x000046b5 
+ 00015765  0x00003433 rtn 
+ 00015766  0x00003436 fetch  0x00000001 , 0x0000477a 
+ 00015767  0x00003437 beq  0x00000000 , 0x00003d9d 
+ 00015768  0x00003438 beq  0x00000001 , 0x00003d9b 
+ 00015769  0x00003439 beq  0x00000002 , 0x00003d9f 
+ 00015770  0x0000343a beq  0x00000003 , 0x00003da1 
+ 00015771  0x0000343c fetch  0x00000001 , 0x00004784 
+ 00015772  0x0000343d branch  0x00003da2 
+ 00015773  0x0000343f fetch  0x00000001 , 0x00004783 
+ 00015774  0x00003440 branch  0x00003da2 
+ 00015775  0x00003442 fetch  0x00000001 , 0x00004785 
+ 00015776  0x00003443 branch  0x00003da2 
+ 00015777  0x00003445 fetch  0x00000001 , 0x00004786 
+ 00015778  0x00003447 store  0x00000001 , 0x000046b5 
+ 00015779  0x00003448 lshift8  0x0000003f , 0x0000003f 
+ 00015780  0x00003449 copy  0x0000003f , 0x00000011 
+ 00015781  0x0000344a add  0x0000003f , 0x0000000d , 0x0000003f 
+ 00015782  0x0000344b call  0x00006413 
+ 00015783  0x0000344c copy  0x00000011 , 0x0000003f 
+ 00015784  0x0000344d add  0x0000003f , 0x0000000e , 0x0000003f 
+ 00015785  0x0000344e branch  0x00006413 
+ 00015786  0x00003451 fetch  0x00000001 , 0x0000477a 
+ 00015787  0x00003452 beq  0x00000000 , 0x00003db1 
+ 00015788  0x00003453 beq  0x00000001 , 0x00003daf 
+ 00015789  0x00003454 beq  0x00000002 , 0x00003db3 
+ 00015790  0x00003455 beq  0x00000003 , 0x00003db5 
+ 00015791  0x00003457 fetch  0x00000001 , 0x00004788 
+ 00015792  0x00003458 branch  0x00003db6 
+ 00015793  0x0000345a fetch  0x00000001 , 0x00004787 
+ 00015794  0x0000345b branch  0x00003db6 
+ 00015795  0x0000345d fetch  0x00000001 , 0x00004789 
+ 00015796  0x0000345e branch  0x00003db6 
+ 00015797  0x00003460 fetch  0x00000001 , 0x0000478a 
+ 00015798  0x00003462 store  0x00000001 , 0x000046b5 
+ 00015799  0x00003463 call  0x000040c0 
+ 00015800  0x00003464 fetch  0x00000001 , 0x000046b5 
+ 00015801  0x00003466 add  0x0000003f , 0x00000080 , 0x0000003f 
+ 00015802  0x00003467 lshift8  0x0000003f , 0x0000003f 
+ 00015803  0x00003468 add  0x0000003f , 0x00000005 , 0x0000003f 
+ 00015804  0x00003469 copy  0x0000003f , 0x00000011 
+ 00015805  0x0000346a branch  0x0000415a 
+ 00015806  0x0000346d store  0x00000001 , 0x000046b5 
+ 00015807  0x0000346e call  0x00003d90 
+ 00015808  0x0000346f fetch  0x00000001 , 0x000046b5 
+ 00015809  0x00003470 setarg  0x00000006 
+ 00015810  0x00003471 call  0x00006414 
+ 00015811  0x00003472 and  0x0000003f , 0x000000f8 , 0x00000002 
+ 00015812  0x00003473 fetch  0x00000001 , 0x000046b5 
+ 00015813  0x00003474 iadd  0x00000002 , 0x0000003f 
+ 00015814  0x00003475 lshift8  0x0000003f , 0x0000003f 
+ 00015815  0x00003476 add  0x0000003f , 0x00000006 , 0x0000003f 
+ 00015816  0x00003477 branch  0x00006413 
+ 00015817  0x0000347b call  0x000033c4 
+ 00015818  0x0000347c branch  0x00004316 , 0x00000005 
+ 00015819  0x0000347d call  0x0000441c 
+ 00015820  0x0000347e call  0x000042e4 
+ 00015821  0x0000347f branch  0x000033bd 
+ 00015822  0x00003483 fetch  0x00000002 , 0x00004707 
+ 00015823  0x00003484 rtn  0x00000034 
+ 00015824  0x00003485 fetch  0x00000004 , 0x000046d3 
+ 00015825  0x00003486 rtnbit0  0x00000011 
+ 00015826  0x00003487 rtnbit1  0x00000003 
+ 00015827  0x00003488 rtnmark1  0x00000026 
+ 00015828  0x00003489 call  0x00004083 
+ 00015829  0x0000348a rtnne  0x00000007 
+ 00015830  0x0000348b call  0x00004482 
+ 00015831  0x0000348c arg  0x00000003 , 0x00000007 
+ 00015832  0x0000348d call  0x000043ce 
+ 00015833  0x0000348e setarg  0x00000000 
+ 00015834  0x0000348f store  0x00000002 , 0x000046ae 
+ 00015835  0x00003490 store  0x00000001 , 0x000046b4 
+ 00015836  0x00003491 call  0x00003263 
+ 00015837  0x00003493 fetch  0x00000002 , 0x00004682 
+ 00015838  0x00003494 bbit1  0x00000007 , 0x00004392 
+ 00015839  0x00003495 bbit1  0x00000009 , 0x00003402 
+ 00015840  0x00003496 bbit1  0x00000000 , 0x000033e9 
+ 00015841  0x00003497 call  0x000042ca 
+ 00015842  0x00003498 branch  0x00002ead 
+ 00015843  0x0000349c call  0x00003dce 
+ 00015844  0x0000349d call  0x00007e34 
+ 00015845  0x0000349e call  0x00003d6a 
+ 00015846  0x0000349f call  0x00003de9 
+ 00015847  0x000034a0 call  0x00003ee0 
+ 00015848  0x000034a1 branch  0x00003df7 
+ 00015849  0x000034a3 fetch  0x00000004 , 0x000046d3 
+ 00015850  0x000034a4 rtnbit0  0x00000010 
+ 00015851  0x000034a5 call  0x000048d3 
+ 00015852  0x000034a6 branch  0x000048fd 
+ 00015853  0x000034a9 hfetch  0x00000001 , 0x00008a04 
+ 00015854  0x000034aa bbit0  0x00000007 , 0x00003df1 
+ 00015855  0x000034ab bbit1  0x00000007 , 0x00003df4 
+ 00015856  0x000034ac rtn 
+ 00015857  0x000034ae fetch  0x00000001 , 0x000046ff 
+ 00015858  0x000034af rtnbit0  0x00000007 
+ 00015859  0x000034b0 branch  0x0000659a 
+ 00015860  0x000034b2 fetch  0x00000001 , 0x000046ff 
+ 00015861  0x000034b3 rtnbit1  0x00000007 
+ 00015862  0x000034b4 branch  0x00004381 
+ 00015863  0x000034b7 call  0x00003ded 
+ 00015864  0x000034b8 hfetch  0x00000001 , 0x00008a04 
+ 00015865  0x000034b9 store  0x00000001 , 0x000046ff 
+ 00015866  0x000034ba rtnbit0  0x00000007 
+ 00015867  0x000034bb call  0x00003e07 
+ 00015868  0x000034bc fetch  0x00000004 , 0x000046f9 
+ 00015869  0x000034bd fetcht  0x00000001 , 0x000046fd 
+ 00015870  0x000034be iadd  0x00000002 , 0x00000002 
+ 00015871  0x000034bf copy  0x00000022 , 0x0000003f 
+ 00015872  0x000034c0 isub  0x00000002 , 0x0000003e 
+ 00015873  0x000034c1 nrtn  0x00000002 
+ 00015874  0x000034c2 store  0x00000004 , 0x000046f9 
+ 00015875  0x000034c3 call  0x00003f97 
+ 00015876  0x000034c4 nrtn  0x00000028 
+ 00015877  0x000034c5 jam  0x00000004 , 0x00000d38 
+ 00015878  0x000034c6 branch  0x00003e0f 
+ 00015879  0x000034c9 fetcht  0x00000004 , 0x000046f9 
+ 00015880  0x000034ca copy  0x00000022 , 0x0000003f 
+ 00015881  0x000034cb isub  0x00000002 , 0x0000003e 
+ 00015882  0x000034cc ncall  0x00003e0c , 0x00000002 
+ 00015883  0x000034cd rtn 
+ 00015884  0x000034cf setarg  0x00000000 
+ 00015885  0x000034d0 store  0x00000004 , 0x000046f9 
+ 00015886  0x000034d1 rtn 
+ 00015887  0x000034d6 fetch  0x00000001 , 0x00000d38 
+ 00015888  0x000034d7 rtnbit0  0x00000002 
+ 00015889  0x000034d8 branch  0x00003e12 
+ 00015890  0x000034da hfetch  0x00000001 , 0x00008a04 
+ 00015891  0x000034db rtnbit0  0x00000007 
+ 00015892  0x000034dc jam  0x00000020 , 0x00000d52 
+ 00015893  0x000034dd setarg  0x00000001 
+ 00015894  0x000034de store  0x00000001 , 0x00000d54 
+ 00015895  0x000034df fetch  0x00000007 , 0x0000469a 
+ 00015896  0x000034e0 istore  0x00000007 , 0x00000005 
+ 00015897  0x000034e1 rtn 
+ 00015898  0x000034e5 hfetch  0x00000002 , 0x00008050 
+ 00015899  0x000034e6 set0  0x0000000b , 0x0000003f 
+ 00015900  0x000034e7 hstore  0x00000002 , 0x00008050 
+ 00015901  0x000034e8 rtn 
+ 00015902  0x000034eb setarg  0x00008c00 
+ 00015903  0x000034ec store  0x00000002 , 0x00004575 
+ 00015904  0x000034ed setarg  0x00008e7a 
+ 00015905  0x000034ee store  0x00000002 , 0x000044bc 
+ 00015906  0x000034ef setarg  0x00002402 
+ 00015907  0x000034f0 store  0x00000002 , 0x000040bd 
+ 00015908  0x000034f1 setarg  0x00002580 
+ 00015909  0x000034f2 store  0x00000003 , 0x000040aa 
+ 00015910  0x000034f3 jam  0x00000003 , 0x00004173 
+ 00015911  0x000034f4 jam  0x00000008 , 0x00004156 
+ 00015912  0x000034f5 jam  0x00000001 , 0x000046d9 
+ 00015913  0x000034f6 setarg  0x00000200 
+ 00015914  0x000034f7 store  0x00000002 , 0x00004154 
+ 00015915  0x000034f8 jam  0x00000017 , 0x000044a6 
+ 00015916  0x000034f9 jam  0x00000017 , 0x000044a8 
+ 00015917  0x000034fb setarg  0x00000a77 
+ 00015918  0x000034fc store  0x00000002 , 0x00004212 
+ 00015919  0x0000350c setsect  0x00000000 , 0x00000306 
+ 00015920  0x0000350d setsect  0x00000001 , 0x00004440 
+ 00015921  0x0000350e setsect  0x00000002 , 0x00010000 
+ 00015922  0x0000350f setsect  0x00000003 , 0x00004408 
+ 00015923  0x00003510 store  0x00000009 , 0x00004577 
+ 00015924  0x00003511 setsect  0x00000000 , 0x00001224 
+ 00015925  0x00003512 setsect  0x00000001 , 0x00004000 
+ 00015926  0x00003513 setsect  0x00000002 , 0x00000000 
+ 00015927  0x00003514 istore  0x00000005 , 0x00000005 
+ 00015928  0x00003516 setsect  0x00000000 , 0x0003ffff 
+ 00015929  0x00003517 setsect  0x00000001 , 0x0002fe23 
+ 00015930  0x00003518 setsect  0x00000002 , 0x000199d9 
+ 00015931  0x00003519 setsect  0x00000003 , 0x0000020d 
+ 00015932  0x0000351a store  0x00000008 , 0x00004098 
+ 00015933  0x0000351c setarg  0x0000012c 
+ 00015934  0x0000351d store  0x00000002 , 0x00004707 
+ 00015935  0x0000351e call  0x000057a3 
+ 00015936  0x0000351f fetch  0x00000004 , 0x000046d3 
+ 00015937  0x00003520 rtnbit0  0x0000001f 
+ 00015938  0x00003521 call  0x00003e44 
+ 00015939  0x00003522 branch  0x00003e4c 
+ 00015940  0x00003525 fetcht  0x00000001 , 0x000046f7 
+ 00015941  0x00003526 call  0x000067fb 
+ 00015942  0x00003527 fetcht  0x00000001 , 0x000046f7 
+ 00015943  0x00003528 call  0x0000681d 
+ 00015944  0x00003529 jam  0x00000003 , 0x000046f6 
+ 00015945  0x0000352a rtn  0x00000001 
+ 00015946  0x0000352b jam  0x00000002 , 0x000046f6 
+ 00015947  0x0000352c rtn 
+ 00015948  0x0000352f fetcht  0x00000001 , 0x000046f8 
+ 00015949  0x00003530 call  0x000067fb 
+ 00015950  0x00003531 fetcht  0x00000001 , 0x000046f8 
+ 00015951  0x00003532 call  0x0000681d 
+ 00015952  0x00003533 jam  0x00000000 , 0x0000422d 
+ 00015953  0x00003534 rtn  0x00000001 
+ 00015954  0x00003535 jam  0x00000002 , 0x0000422d 
+ 00015955  0x00003536 rtn 
+ 00015956  0x0000353a fetch  0x00000001 , 0x0000422d 
+ 00015957  0x0000353b beq  0x00000000 , 0x00003e59 
+ 00015958  0x0000353c beq  0x00000001 , 0x00003e62 
+ 00015959  0x0000353d beq  0x00000002 , 0x00003e6b 
+ 00015960  0x0000353e branch  0x00003e59 
+ 00015961  0x00003541 fetcht  0x00000002 , 0x00004221 
+ 00015962  0x00003542 fetch  0x00000002 , 0x00004227 
+ 00015963  0x00003543 isub  0x00000002 , 0x0000003f 
+ 00015964  0x00003544 mul32  0x0000003f , 0x00000014 , 0x0000003f 
+ 00015965  0x00003545 div  0x0000003f , 0x00000064 
+ 00015966  0x00003546 call  0x00007f86 
+ 00015967  0x00003547 quotient  0x0000003f 
+ 00015968  0x00003548 store  0x00000002 , 0x000046d0 
+ 00015969  0x00003549 rtn 
+ 00015970  0x0000354b fetcht  0x00000002 , 0x0000421f 
+ 00015971  0x0000354c fetch  0x00000002 , 0x00004225 
+ 00015972  0x0000354d isub  0x00000002 , 0x0000003f 
+ 00015973  0x0000354e mul32  0x0000003f , 0x000000e6 , 0x0000003f 
+ 00015974  0x0000354f div  0x0000003f , 0x00000190 
+ 00015975  0x00003550 call  0x00007f86 
+ 00015976  0x00003551 quotient  0x0000003f 
+ 00015977  0x00003552 store  0x00000002 , 0x000046d0 
+ 00015978  0x00003553 rtn 
+ 00015979  0x00003555 fetch  0x00000002 , 0x00004223 
+ 00015980  0x00003556 store  0x00000002 , 0x000046d0 
+ 00015981  0x00003557 rtn 
+ 00015982  0x00003559 fetcht  0x00000001 , 0x0000423a 
+ 00015983  0x0000355a call  0x0000680e 
+ 00015984  0x0000355b call  0x000048fb 
+ 00015985  0x0000355c fetcht  0x00000001 , 0x000046e2 
+ 00015986  0x0000355d call  0x000067fb 
+ 00015987  0x0000355e fetcht  0x00000001 , 0x000046e3 
+ 00015988  0x0000355f call  0x000067fb 
+ 00015989  0x00003560 fetcht  0x00000001 , 0x000046e4 
+ 00015990  0x00003561 call  0x000067fb 
+ 00015991  0x00003562 fetcht  0x00000001 , 0x000046f3 
+ 00015992  0x00003563 call  0x000067fb 
+ 00015993  0x00003565 fetcht  0x00000001 , 0x000046dc 
+ 00015994  0x00003566 call  0x0000680e 
+ 00015995  0x00003568 fetcht  0x00000001 , 0x000046e8 
+ 00015996  0x00003569 call  0x000067fb 
+ 00015997  0x0000356b fetcht  0x00000001 , 0x000046e9 
+ 00015998  0x0000356c call  0x000067fb 
+ 00015999  0x0000356e fetcht  0x00000001 , 0x000046ea 
+ 00016000  0x0000356f call  0x000067fb 
+ 00016001  0x00003570 fetcht  0x00000001 , 0x000046eb 
+ 00016002  0x00003571 call  0x000067fb 
+ 00016003  0x00003573 fetcht  0x00000001 , 0x000046e5 
+ 00016004  0x00003574 call  0x000067fb 
+ 00016005  0x00003575 fetcht  0x00000001 , 0x000046e6 
+ 00016006  0x00003576 call  0x000067fb 
+ 00016007  0x00003578 fetcht  0x00000001 , 0x000046ef 
+ 00016008  0x00003579 call  0x0000680e 
+ 00016009  0x0000357b fetcht  0x00000001 , 0x000046f0 
+ 00016010  0x0000357c call  0x0000680e 
+ 00016011  0x0000357e fetcht  0x00000001 , 0x000046f1 
+ 00016012  0x0000357f call  0x0000680e 
+ 00016013  0x00003581 fetcht  0x00000001 , 0x000046f2 
+ 00016014  0x00003582 call  0x0000680e 
+ 00016015  0x00003584 fetcht  0x00000001 , 0x000046f4 
+ 00016016  0x00003585 call  0x0000680e 
+ 00016017  0x00003587 fetcht  0x00000001 , 0x000046ed 
+ 00016018  0x00003588 call  0x000067fb 
+ 00016019  0x0000358a fetcht  0x00000001 , 0x000046ec 
+ 00016020  0x0000358b call  0x000067fb 
+ 00016021  0x0000358d fetcht  0x00000001 , 0x000046e7 
+ 00016022  0x0000358e branch  0x000067fb 
+ 00016023  0x00003591 fetcht  0x00000001 , 0x000046e8 
+ 00016024  0x00003592 call  0x000067dd 
+ 00016025  0x00003593 fetcht  0x00000001 , 0x000046e9 
+ 00016026  0x00003594 call  0x000067dd 
+ 00016027  0x00003595 fetcht  0x00000001 , 0x000046ea 
+ 00016028  0x00003596 call  0x000067dd 
+ 00016029  0x00003597 fetcht  0x00000001 , 0x000046eb 
+ 00016030  0x00003598 branch  0x000067dd 
+ 00016031  0x0000359b fetcht  0x00000001 , 0x000046e8 
+ 00016032  0x0000359c call  0x00003ea7 
+ 00016033  0x0000359d fetcht  0x00000001 , 0x000046e9 
+ 00016034  0x0000359e call  0x00003ea7 
+ 00016035  0x0000359f fetcht  0x00000001 , 0x000046ea 
+ 00016036  0x000035a0 call  0x00003ea7 
+ 00016037  0x000035a1 fetcht  0x00000001 , 0x000046eb 
+ 00016038  0x000035a2 branch  0x00003ea7 
+ 00016039  0x000035a5 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00016040  0x000035a6 rtn  0x00000005 
+ 00016041  0x000035a7 and  0x00000002 , 0x0000007f , 0x00000007 
+ 00016042  0x000035a8 hfetch  0x00000004 , 0x0000811c 
+ 00016043  0x000035a9 qisolate1  0x0000003f 
+ 00016044  0x000035aa hfetch  0x00000004 , 0x00008078 
+ 00016045  0x000035ab qsetflag  0x00000001 , 0x0000003f 
+ 00016046  0x000035ac hstore  0x00000004 , 0x00008078 
+ 00016047  0x000035ad hfetch  0x00000004 , 0x0000807c 
+ 00016048  0x000035ae nqsetflag  0x00000001 , 0x0000003f 
+ 00016049  0x000035af hstore  0x00000004 , 0x0000807c 
+ 00016050  0x000035b0 rtn 
+ 00016051  0x000035b3 enable  0x00000028 
+ 00016052  0x000035b4 hfetch  0x00000004 , 0x00008138 
+ 00016053  0x000035b5 setflag  0x00000028 , 0x0000001a , 0x0000003f 
+ 00016054  0x000035b6 hstore  0x00000004 , 0x0000804c 
+ 00016055  0x000035b7 call  0x00002c21 
+ 00016056  0x000035b8 call  0x00004482 
+ 00016057  0x000035b9 call  0x00003e9f 
+ 00016058  0x000035bb branch  0x00003ebf 
+ 00016059  0x000035c0 call  0x00003ebf 
+ 00016060  0x000035c1 fetch  0x00000001 , 0x000000a0 
+ 00016061  0x000035c2 nrtn  0x00000034 
+ 00016062  0x000035c3 branch  0x000067ed 
+ 00016063  0x000035c6 call  0x00003ee0 
+ 00016064  0x000035c7 arg  0x00000019 , 0x00000002 
+ 00016065  0x000035c8 fetch  0x00000004 , 0x000046d3 
+ 00016066  0x000035c9 isolate1  0x00000012 , 0x0000003f 
+ 00016067  0x000035ca call  0x00003ede , 0x00000001 
+ 00016068  0x000035cb call  0x0000680e 
+ 00016069  0x000035cc call  0x000063ee 
+ 00016070  0x000035d0 fetcht  0x00000001 , 0x000046e2 
+ 00016071  0x000035d1 call  0x000067dd 
+ 00016072  0x000035d2 fetcht  0x00000001 , 0x000046e3 
+ 00016073  0x000035d3 call  0x000067dd 
+ 00016074  0x000035d4 fetcht  0x00000001 , 0x000046e4 
+ 00016075  0x000035d5 call  0x000067dd 
+ 00016076  0x000035d7 fetcht  0x00000001 , 0x000046e5 
+ 00016077  0x000035d8 call  0x000067dd 
+ 00016078  0x000035d9 fetcht  0x00000001 , 0x000046e6 
+ 00016079  0x000035da call  0x000067dd 
+ 00016080  0x000035db fetcht  0x00000001 , 0x000046e7 
+ 00016081  0x000035dc call  0x000067dd 
+ 00016082  0x000035dd fetcht  0x00000001 , 0x000046ed 
+ 00016083  0x000035de call  0x000067dd 
+ 00016084  0x000035df fetcht  0x00000001 , 0x000046e8 
+ 00016085  0x000035e0 call  0x000067dd 
+ 00016086  0x000035e1 fetcht  0x00000001 , 0x000046e9 
+ 00016087  0x000035e2 call  0x000067dd 
+ 00016088  0x000035e3 fetcht  0x00000001 , 0x000046ea 
+ 00016089  0x000035e4 call  0x000067dd 
+ 00016090  0x000035e5 fetcht  0x00000001 , 0x000046eb 
+ 00016091  0x000035e6 call  0x000067dd 
+ 00016092  0x000035e7 fetcht  0x00000001 , 0x000046f3 
+ 00016093  0x000035e8 branch  0x000067e1 
+ 00016094  0x000035ed arg  0x0000001e , 0x00000002 
+ 00016095  0x000035ee rtn 
+ 00016096  0x000035f1 bpatch  0x000000e4 , 0x0000401c 
+ 00016097  0x000035f2 call  0x00003eee 
+ 00016098  0x000035f3 call  0x00003f36 
+ 00016099  0x000035f4 fetch  0x00000001 , 0x000046b8 
+ 00016100  0x000035f5 fetcht  0x00000001 , 0x000046b7 
+ 00016101  0x000035f6 store  0x00000001 , 0x000046b7 
+ 00016102  0x000035f7 isub  0x00000002 , 0x0000003e 
+ 00016103  0x000035f8 nbranch  0x000033d4 , 0x00000005 
+ 00016104  0x000035f9 fetch  0x00000001 , 0x000046be 
+ 00016105  0x000035fa fetcht  0x00000001 , 0x000046bd 
+ 00016106  0x000035fb store  0x00000001 , 0x000046bd 
+ 00016107  0x000035fc isub  0x00000002 , 0x0000003e 
+ 00016108  0x000035fd nbranch  0x000033d4 , 0x00000005 
+ 00016109  0x000035fe rtn 
+ 00016110  0x00003600 fetch  0x00000001 , 0x000046ea 
+ 00016111  0x00003601 rtneq  0x000000ff 
+ 00016112  0x00003602 arg  0x00000000 , 0x00000011 
+ 00016113  0x00003603 fetcht  0x00000001 , 0x000046ea 
+ 00016114  0x00003604 call  0x0000681d 
+ 00016115  0x00003605 setflag  0x00000001 , 0x00000000 , 0x00000011 
+ 00016116  0x00003606 fetcht  0x00000001 , 0x000046eb 
+ 00016117  0x00003607 call  0x0000681d 
+ 00016118  0x00003608 setflag  0x00000001 , 0x00000001 , 0x00000011 
+ 00016119  0x00003609 copy  0x00000011 , 0x0000003f 
+ 00016120  0x0000360a store  0x00000001 , 0x000046b8 
+ 00016121  0x0000360b beq  0x00000001 , 0x00003efe 
+ 00016122  0x0000360c beq  0x00000002 , 0x00003f02 
+ 00016123  0x0000360d fetch  0x00000001 , 0x000046b9 
+ 00016124  0x0000360e bbit1  0x00000007 , 0x00003f0e 
+ 00016125  0x0000360f rtn 
+ 00016126  0x00003612 fetch  0x00000001 , 0x000046b7 
+ 00016127  0x00003613 beq  0x00000000 , 0x00003f06 
+ 00016128  0x00003614 beq  0x00000003 , 0x00003f08 
+ 00016129  0x00003615 rtn 
+ 00016130  0x00003617 fetch  0x00000001 , 0x000046b7 
+ 00016131  0x00003618 beq  0x00000000 , 0x00003f0a 
+ 00016132  0x00003619 beq  0x00000003 , 0x00003f0c 
+ 00016133  0x0000361a rtn 
+ 00016134  0x0000361c jam  0x00000082 , 0x000046b9 
+ 00016135  0x0000361d rtn 
+ 00016136  0x0000361f jam  0x00000081 , 0x000046b9 
+ 00016137  0x00003620 rtn 
+ 00016138  0x00003622 jam  0x00000080 , 0x000046b9 
+ 00016139  0x00003623 rtn 
+ 00016140  0x00003625 jam  0x00000083 , 0x000046b9 
+ 00016141  0x00003626 rtn 
+ 00016142  0x00003628 fetch  0x00000001 , 0x000046b9 
+ 00016143  0x00003629 set0  0x00000007 , 0x0000003f 
+ 00016144  0x0000362a store  0x00000001 , 0x000046b9 
+ 00016145  0x0000362b beq  0x00000000 , 0x00003f16 
+ 00016146  0x0000362c beq  0x00000001 , 0x00003f19 
+ 00016147  0x0000362d beq  0x00000002 , 0x00003f1c 
+ 00016148  0x0000362e beq  0x00000003 , 0x00003f1f 
+ 00016149  0x0000362f rtn 
+ 00016150  0x00003631 fetch  0x00000001 , 0x000046b8 
+ 00016151  0x00003632 beq  0x00000003 , 0x00003f22 
+ 00016152  0x00003633 rtn 
+ 00016153  0x00003635 fetch  0x00000001 , 0x000046b8 
+ 00016154  0x00003636 beq  0x00000000 , 0x00003f22 
+ 00016155  0x00003637 rtn 
+ 00016156  0x00003639 fetch  0x00000001 , 0x000046b8 
+ 00016157  0x0000363a beq  0x00000003 , 0x00003f2c 
+ 00016158  0x0000363b rtn 
+ 00016159  0x0000363d fetch  0x00000001 , 0x000046b8 
+ 00016160  0x0000363e beq  0x00000000 , 0x00003f2c 
+ 00016161  0x0000363f rtn 
+ 00016162  0x00003641 fetch  0x00000001 , 0x000046bc 
+ 00016163  0x00003642 increase  0x00000001 , 0x0000003f 
+ 00016164  0x00003643 store  0x00000001 , 0x000046bc 
+ 00016165  0x00003644 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00016166  0x00003645 rtn  0x00000002 
+ 00016167  0x00003646 jam  0x00000000 , 0x000046bc 
+ 00016168  0x00003647 fetch  0x00000001 , 0x000046ba 
+ 00016169  0x00003648 increase  0x00000001 , 0x0000003f 
+ 00016170  0x00003649 store  0x00000001 , 0x000046ba 
+ 00016171  0x0000364a rtn 
+ 00016172  0x0000364c fetch  0x00000001 , 0x000046bb 
+ 00016173  0x0000364d increase  0x00000001 , 0x0000003f 
+ 00016174  0x0000364e store  0x00000001 , 0x000046bb 
+ 00016175  0x0000364f sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00016176  0x00003650 rtn  0x00000002 
+ 00016177  0x00003651 jam  0x00000000 , 0x000046bb 
+ 00016178  0x00003652 fetch  0x00000001 , 0x000046ba 
+ 00016179  0x00003653 increase  0xffffffff , 0x0000003f 
+ 00016180  0x00003654 store  0x00000001 , 0x000046ba 
+ 00016181  0x00003655 rtn 
+ 00016182  0x00003659 fetch  0x00000001 , 0x000046e8 
+ 00016183  0x0000365a rtneq  0x000000ff 
+ 00016184  0x0000365b arg  0x00000000 , 0x00000011 
+ 00016185  0x0000365c fetcht  0x00000001 , 0x000046e8 
+ 00016186  0x0000365d call  0x0000681d 
+ 00016187  0x0000365e setflag  0x00000001 , 0x00000000 , 0x00000011 
+ 00016188  0x0000365f fetcht  0x00000001 , 0x000046e9 
+ 00016189  0x00003660 call  0x0000681d 
+ 00016190  0x00003661 setflag  0x00000001 , 0x00000001 , 0x00000011 
+ 00016191  0x00003662 copy  0x00000011 , 0x0000003f 
+ 00016192  0x00003663 store  0x00000001 , 0x000046be 
+ 00016193  0x00003664 beq  0x00000001 , 0x00003f46 
+ 00016194  0x00003665 beq  0x00000002 , 0x00003f4a 
+ 00016195  0x00003666 fetch  0x00000001 , 0x000046bf 
+ 00016196  0x00003667 bbit1  0x00000007 , 0x00003f56 
+ 00016197  0x00003668 rtn 
+ 00016198  0x0000366b fetch  0x00000001 , 0x000046bd 
+ 00016199  0x0000366c beq  0x00000000 , 0x00003f4e 
+ 00016200  0x0000366d beq  0x00000003 , 0x00003f50 
+ 00016201  0x0000366e rtn 
+ 00016202  0x00003670 fetch  0x00000001 , 0x000046bd 
+ 00016203  0x00003671 beq  0x00000000 , 0x00003f52 
+ 00016204  0x00003672 beq  0x00000003 , 0x00003f54 
+ 00016205  0x00003673 rtn 
+ 00016206  0x00003675 jam  0x00000082 , 0x000046bf 
+ 00016207  0x00003676 rtn 
+ 00016208  0x00003678 jam  0x00000081 , 0x000046bf 
+ 00016209  0x00003679 rtn 
+ 00016210  0x0000367b jam  0x00000080 , 0x000046bf 
+ 00016211  0x0000367c rtn 
+ 00016212  0x0000367e jam  0x00000083 , 0x000046bf 
+ 00016213  0x0000367f rtn 
+ 00016214  0x00003681 fetch  0x00000001 , 0x000046bf 
+ 00016215  0x00003682 set0  0x00000007 , 0x0000003f 
+ 00016216  0x00003683 store  0x00000001 , 0x000046bf 
+ 00016217  0x00003684 beq  0x00000000 , 0x00003f5e 
+ 00016218  0x00003685 beq  0x00000001 , 0x00003f61 
+ 00016219  0x00003686 beq  0x00000002 , 0x00003f64 
+ 00016220  0x00003687 beq  0x00000003 , 0x00003f67 
+ 00016221  0x00003688 rtn 
+ 00016222  0x0000368a fetch  0x00000001 , 0x000046be 
+ 00016223  0x0000368b beq  0x00000003 , 0x00003f6a 
+ 00016224  0x0000368c rtn 
+ 00016225  0x0000368e fetch  0x00000001 , 0x000046be 
+ 00016226  0x0000368f beq  0x00000000 , 0x00003f6a 
+ 00016227  0x00003690 rtn 
+ 00016228  0x00003692 fetch  0x00000001 , 0x000046be 
+ 00016229  0x00003693 beq  0x00000003 , 0x00003f6f 
+ 00016230  0x00003694 rtn 
+ 00016231  0x00003696 fetch  0x00000001 , 0x000046be 
+ 00016232  0x00003697 beq  0x00000000 , 0x00003f6f 
+ 00016233  0x00003698 rtn 
+ 00016234  0x0000369a jam  0x00000000 , 0x000046c2 
+ 00016235  0x0000369b fetch  0x00000001 , 0x000046c0 
+ 00016236  0x0000369c increase  0x00000001 , 0x0000003f 
+ 00016237  0x0000369d store  0x00000001 , 0x000046c0 
+ 00016238  0x0000369e rtn 
+ 00016239  0x000036a0 jam  0x00000000 , 0x000046c1 
+ 00016240  0x000036a1 fetch  0x00000001 , 0x000046c0 
+ 00016241  0x000036a2 increase  0xffffffff , 0x0000003f 
+ 00016242  0x000036a3 store  0x00000001 , 0x000046c0 
+ 00016243  0x000036a4 rtn 
+ 00016244  0x000036a8 setarg  0x00000002 
+ 00016245  0x000036a9 store  0x00000001 , 0x00004680 
+ 00016246  0x000036aa rtn 
+ 00016247  0x000036ad fetch  0x00000001 , 0x000041e2 
+ 00016248  0x000036ae rtn  0x00000034 
+ 00016249  0x000036af call  0x00005271 
+ 00016250  0x000036b0 nrtn  0x00000034 
+ 00016251  0x000036b1 fetch  0x00000004 , 0x000046d3 
+ 00016252  0x000036b2 bbit1  0x00000003 , 0x00003f8a 
+ 00016253  0x000036b3 bbit1  0x00000000 , 0x00003f8a 
+ 00016254  0x000036b4 bbit1  0x00000005 , 0x00003f8a 
+ 00016255  0x000036b5 call  0x00003f97 
+ 00016256  0x000036b6 nrtn  0x00000028 
+ 00016257  0x000036b8 arg  0x00000009 , 0x00000011 
+ 00016258  0x000036b9 call  0x00004d63 
+ 00016259  0x000036ba fetch  0x00000002 , 0x0000424e 
+ 00016260  0x000036bb istore  0x00000002 , 0x00000005 
+ 00016261  0x000036bc setarg  0x000002a1 
+ 00016262  0x000036bd istore  0x00000002 , 0x00000005 
+ 00016263  0x000036be fetch  0x00000007 , 0x0000469a 
+ 00016264  0x000036bf istore  0x00000007 , 0x00000005 
+ 00016265  0x000036c0 rtn 
+ 00016266  0x000036c4 setarg  0x00000000 
+ 00016267  0x000036c5 store  0x00000007 , 0x0000469a 
+ 00016268  0x000036c6 branch  0x00003f81 
+ 00016269  0x000036ca fetch  0x00000002 , 0x000046aa 
+ 00016270  0x000036cb store  0x00000002 , 0x000046b0 
+ 00016271  0x000036cc rtn 
+ 00016272  0x000036d0 bpatch  0x000000e5 , 0x0000401c 
+ 00016273  0x000036d1 arg  0x00000007 , 0x00000011 
+ 00016274  0x000036d2 fetcht  0x00000002 , 0x0000446f 
+ 00016275  0x000036d3 call  0x00005a64 
+ 00016276  0x000036d4 fetch  0x00000007 , 0x0000469a 
+ 00016277  0x000036d5 istore  0x00000007 , 0x00000005 
+ 00016278  0x000036d6 rtn 
+ 00016279  0x000036d9 bpatch  0x000000e6 , 0x0000401c 
+ 00016280  0x000036da disable  0x00000028 
+ 00016281  0x000036db setarg  0x00000000 
+ 00016282  0x000036dc store  0x00000006 , 0x0000469b 
+ 00016283  0x000036dd call  0x00003fb5 
+ 00016284  0x000036de call  0x00004079 
+ 00016285  0x000036df call  0x0000407e 
+ 00016286  0x000036e0 call  0x00004099 
+ 00016287  0x000036e1 nrtn  0x00000028 
+ 00016288  0x000036e2 call  0x00003f8d 
+ 00016289  0x000036e3 arg  0x00000008 , 0x00000007 
+ 00016290  0x000036e4 branch  0x000043ce 
+ 00016291  0x000036e7 fetch  0x00000002 , 0x0000469b 
+ 00016292  0x000036e8 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00016293  0x000036e9 store  0x00000002 , 0x0000469b 
+ 00016294  0x000036ea branch  0x00007fe7 
+ 00016295  0x000036ec fetch  0x00000002 , 0x0000469d 
+ 00016296  0x000036ed sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00016297  0x000036ee store  0x00000002 , 0x0000469d 
+ 00016298  0x000036ef branch  0x00007fe7 
+ 00016299  0x000036f1 fetch  0x00000002 , 0x0000469d 
+ 00016300  0x000036f2 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00016301  0x000036f3 store  0x00000002 , 0x0000469d 
+ 00016302  0x000036f4 fetch  0x00000002 , 0x0000469b 
+ 00016303  0x000036f5 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00016304  0x000036f6 store  0x00000002 , 0x0000469b 
+ 00016305  0x000036f7 call  0x00004002 
+ 00016306  0x000036f8 branch  0x00007fe7 
+ 00016307  0x000036fa call  0x00004002 
+ 00016308  0x000036fb branch  0x00007fe7 
+ 00016309  0x000036fd fetch  0x00000001 , 0x00004239 
+ 00016310  0x000036fe rtnne  0x00000000 
+ 00016311  0x000036ff fetch  0x00000001 , 0x000046e0 
+ 00016312  0x00003700 beq  0x00000000 , 0x00003fe2 
+ 00016313  0x00003701 beq  0x00000001 , 0x00003fe2 
+ 00016314  0x00003702 beq  0x00000002 , 0x00003fe2 
+ 00016315  0x00003703 beq  0x00000003 , 0x00003fe2 
+ 00016316  0x00003704 beq  0x00000004 , 0x00003fc4 
+ 00016317  0x00003705 beq  0x00000005 , 0x00004010 
+ 00016318  0x00003706 beq  0x00000006 , 0x00003fe2 
+ 00016319  0x00003707 branch  0x00003fe2 
+ 00016320  0x0000370a fetch  0x00000001 , 0x000046a7 
+ 00016321  0x0000370b call  0x0000405d , 0x00000034 
+ 00016322  0x0000370c jam  0x00000001 , 0x000046a7 
+ 00016323  0x0000370d rtn 
+ 00016324  0x00003711 call  0x00003fc0 
+ 00016325  0x00003712 fetcht  0x00000001 , 0x000046f3 
+ 00016326  0x00003713 call  0x0000681d 
+ 00016327  0x00003714 nrtn  0x00000001 
+ 00016328  0x00003716 setarg  0x00000000 
+ 00016329  0x00003717 call  0x00006414 
+ 00016330  0x00003718 bne  0x00000030 , 0x000040d1 
+ 00016331  0x00003719 setarg  0x00000002 
+ 00016332  0x0000371a call  0x00006414 
+ 00016333  0x0000371b rtnbit0  0x00000007 
+ 00016334  0x0000371c call  0x0000405d 
+ 00016335  0x0000371d call  0x00003fde 
+ 00016336  0x0000371e store  0x00000001 , 0x000046a1 
+ 00016337  0x0000371f rshift4  0x0000003f , 0x0000003f 
+ 00016338  0x00003720 call  0x00004169 
+ 00016339  0x00003721 store  0x00000001 , 0x0000469c 
+ 00016340  0x00003722 fetch  0x00000001 , 0x000046a1 
+ 00016341  0x00003723 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00016342  0x00003724 call  0x00004169 
+ 00016343  0x00003725 store  0x00000001 , 0x0000469e 
+ 00016344  0x00003726 fetch  0x00000001 , 0x000046f6 
+ 00016345  0x00003727 beq  0x00000000 , 0x00003fa3 
+ 00016346  0x00003728 beq  0x00000001 , 0x00003fab 
+ 00016347  0x00003729 beq  0x00000002 , 0x00003fa7 
+ 00016348  0x0000372a beq  0x00000003 , 0x00003fb3 
+ 00016349  0x0000372b rtn 
+ 00016350  0x0000372e setarg  0x00000012 
+ 00016351  0x0000372f branch  0x00006414 
+ 00016352  0x00003732 beq  0x00000031 , 0x00003fea 
+ 00016353  0x00003733 branch  0x000040d1 
+ 00016354  0x00003736 call  0x00003fc0 
+ 00016355  0x00003737 disable  0x00000028 
+ 00016356  0x00003738 fetcht  0x00000001 , 0x000046f3 
+ 00016357  0x00003739 call  0x0000681d 
+ 00016358  0x0000373a nrtn  0x00000001 
+ 00016359  0x0000373c setarg  0x00000000 
+ 00016360  0x0000373d call  0x00006414 
+ 00016361  0x0000373e bne  0x00000030 , 0x00003fe0 
+ 00016362  0x00003740 setarg  0x00000002 
+ 00016363  0x00003741 call  0x00006414 
+ 00016364  0x00003742 rtnbit0  0x00000007 
+ 00016365  0x00003743 call  0x0000405d 
+ 00016366  0x00003744 fetch  0x00000001 , 0x0000469b 
+ 00016367  0x00003745 call  0x00004165 
+ 00016368  0x00003746 store  0x00000002 , 0x0000469b 
+ 00016369  0x00003747 fetch  0x00000001 , 0x0000469d 
+ 00016370  0x00003748 call  0x00004165 
+ 00016371  0x00003749 store  0x00000002 , 0x0000469d 
+ 00016372  0x0000374a fetch  0x00000001 , 0x000046f6 
+ 00016373  0x0000374b beq  0x00000000 , 0x00003ffa 
+ 00016374  0x0000374c beq  0x00000001 , 0x00003ffc 
+ 00016375  0x0000374d beq  0x00000002 , 0x00003ffe 
+ 00016376  0x0000374e beq  0x00000003 , 0x00004000 
+ 00016377  0x0000374f rtn 
+ 00016378  0x00003752 call  0x00003fa3 
+ 00016379  0x00003753 branch  0x000040b3 
+ 00016380  0x00003755 call  0x00003fab 
+ 00016381  0x00003756 branch  0x000040b3 
+ 00016382  0x00003758 call  0x00003fa7 
+ 00016383  0x00003759 branch  0x000040b3 
+ 00016384  0x0000375b call  0x00003fb3 
+ 00016385  0x0000375c branch  0x000040b3 
+ 00016386  0x0000375f fetch  0x00000002 , 0x0000469d 
+ 00016387  0x00003760 fetcht  0x00000002 , 0x0000469b 
+ 00016388  0x00003761 store  0x00000002 , 0x0000469b 
+ 00016389  0x00003762 storet  0x00000002 , 0x0000469d 
+ 00016390  0x00003763 rtn 
+ 00016391  0x00003766 call  0x0000640f 
+ 00016392  0x00003767 nop  0x00000064 
+ 00016393  0x00003768 copy  0x00000012 , 0x0000003f 
+ 00016394  0x00003769 call  0x00006414 
+ 00016395  0x0000376a copy  0x0000003f , 0x00000012 
+ 00016396  0x0000376b call  0x00006411 
+ 00016397  0x0000376c nop  0x00000064 
+ 00016398  0x0000376d copy  0x00000012 , 0x0000003f 
+ 00016399  0x0000376e rtn 
+ 00016400  0x00003770 disable  0x00000028 
+ 00016401  0x00003771 fetcht  0x00000001 , 0x000046f3 
+ 00016402  0x00003772 call  0x0000681d 
+ 00016403  0x00003773 nrtn  0x00000001 
+ 00016404  0x00003774 arg  0x00000002 , 0x00000012 
+ 00016405  0x00003775 call  0x00004007 
+ 00016406  0x00003776 rtnbit0  0x00000007 
+ 00016407  0x00003777 arg  0x00000000 , 0x00000012 
+ 00016408  0x00003778 call  0x00004007 
+ 00016409  0x00003779 store  0x00000001 , 0x000046dd 
+ 00016410  0x0000377a bne  0x0000003e , 0x00004145 
+ 00016411  0x0000377b fetch  0x00000001 , 0x000046a7 
+ 00016412  0x0000377c call  0x00004039 , 0x00000034 
+ 00016413  0x0000377d jam  0x00000001 , 0x000046a7 
+ 00016414  0x0000377e call  0x00004039 
+ 00016415  0x0000377f fetch  0x00000001 , 0x000046a1 
+ 00016416  0x00003780 rshift4  0x0000003f , 0x0000003f 
+ 00016417  0x00003781 call  0x00004169 
+ 00016418  0x00003782 store  0x00000001 , 0x0000469c 
+ 00016419  0x00003783 fetch  0x00000001 , 0x000046a1 
+ 00016420  0x00003784 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00016421  0x00003785 call  0x00004169 
+ 00016422  0x00003786 store  0x00000001 , 0x0000469e 
+ 00016423  0x00003787 fetch  0x00000001 , 0x000046f6 
+ 00016424  0x00003788 beq  0x00000000 , 0x00004031 
+ 00016425  0x00003789 beq  0x00000001 , 0x00004035 
+ 00016426  0x0000378a beq  0x00000002 , 0x00004033 
+ 00016427  0x0000378b beq  0x00000003 , 0x00004037 
+ 00016428  0x0000378c rtn 
+ 00016429  0x0000378f fetch  0x00000001 , 0x000046a4 
+ 00016430  0x00003790 beq  0x00000000 , 0x00004051 
+ 00016431  0x00003791 beq  0x00000001 , 0x00004045 
+ 00016432  0x00003792 rtn 
+ 00016433  0x00003796 call  0x00003fa3 
+ 00016434  0x00003797 branch  0x0000402d 
+ 00016435  0x0000379a call  0x00003fa7 
+ 00016436  0x0000379b branch  0x0000402d 
+ 00016437  0x0000379e call  0x00003fab 
+ 00016438  0x0000379f branch  0x0000402d 
+ 00016439  0x000037a2 call  0x00003fb3 
+ 00016440  0x000037a3 branch  0x0000402d 
+ 00016441  0x000037a6 call  0x0000640f 
+ 00016442  0x000037a7 call  0x0000405d 
+ 00016443  0x000037a8 arg  0x00000005 , 0x0000003f 
+ 00016444  0x000037a9 call  0x00006414 
+ 00016445  0x000037aa store  0x00000001 , 0x000046a1 
+ 00016446  0x000037ab arg  0x00000007 , 0x0000003f 
+ 00016447  0x000037ac call  0x00006414 
+ 00016448  0x000037ad store  0x00000001 , 0x000046a2 
+ 00016449  0x000037ae arg  0x00000008 , 0x0000003f 
+ 00016450  0x000037af call  0x00006414 
+ 00016451  0x000037b0 store  0x00000001 , 0x000046a3 
+ 00016452  0x000037b1 branch  0x00006411 
+ 00016453  0x000037b5 fetch  0x00000001 , 0x000046a2 
+ 00016454  0x000037b6 rtnne  0x00000000 
+ 00016455  0x000037b7 fetch  0x00000001 , 0x000046a3 
+ 00016456  0x000037b8 sub  0x0000003f , 0x0000002d , 0x0000003e 
+ 00016457  0x000037b9 rtn  0x00000002 
+ 00016458  0x000037ba jam  0x00000000 , 0x000046a4 
+ 00016459  0x000037bb setarg  0x0000ba41 
+ 00016460  0x000037bc call  0x00006405 
+ 00016461  0x000037bd setarg  0x00000032 
+ 00016462  0x000037be call  0x00006405 
+ 00016463  0x000037bf setarg  0x0000b541 
+ 00016464  0x000037c0 branch  0x00006405 
+ 00016465  0x000037c2 fetch  0x00000001 , 0x000046a2 
+ 00016466  0x000037c3 rtnne  0x00000000 
+ 00016467  0x000037c4 fetch  0x00000001 , 0x000046a3 
+ 00016468  0x000037c5 sub  0x0000003f , 0x0000002d , 0x0000003e 
+ 00016469  0x000037c6 nrtn  0x00000002 
+ 00016470  0x000037c7 jam  0x00000001 , 0x000046a4 
+ 00016471  0x000037c8 setarg  0x0000ba41 
+ 00016472  0x000037c9 call  0x00006405 
+ 00016473  0x000037ca setarg  0x00008032 
+ 00016474  0x000037cb call  0x00006405 
+ 00016475  0x000037cc setarg  0x0000b541 
+ 00016476  0x000037cd branch  0x00006405 
+ 00016477  0x000037d2 arg  0x00000003 , 0x0000003f 
+ 00016478  0x000037d3 call  0x00006414 
+ 00016479  0x000037d4 store  0x00000002 , 0x0000469b 
+ 00016480  0x000037d5 arg  0x00000004 , 0x0000003f 
+ 00016481  0x000037d6 call  0x00006414 
+ 00016482  0x000037d7 store  0x00000002 , 0x0000469d 
+ 00016483  0x000037d8 rtn 
+ 00016484  0x000037db arg  0x0000001b , 0x00000002 
+ 00016485  0x000037dc call  0x000067fb 
+ 00016486  0x000037dd arg  0x0000001b , 0x00000002 
+ 00016487  0x000037de call  0x0000681d 
+ 00016488  0x000037df rtn  0x00000001 
+ 00016489  0x000037e0 hfetch  0x00000001 , 0x00008109 
+ 00016490  0x000037e1 set1  0x00000004 , 0x0000003f 
+ 00016491  0x000037e2 hstore  0x00000001 , 0x00008109 
+ 00016492  0x000037e3 rtn 
+ 00016493  0x000037e6 fetcht  0x00000001 , 0x000046c0 
+ 00016494  0x000037e7 hfetch  0x00000001 , 0x00008109 
+ 00016495  0x000037e8 iadd  0x00000002 , 0x0000003f 
+ 00016496  0x000037e9 rtn  0x00000034 
+ 00016497  0x000037ea store  0x00000001 , 0x0000469f 
+ 00016498  0x000037eb jam  0x00000000 , 0x000046c0 
+ 00016499  0x000037ec branch  0x00007fe7 
+ 00016500  0x000037ee fetcht  0x00000001 , 0x000046c0 
+ 00016501  0x000037ef hfetch  0x00000001 , 0x00008109 
+ 00016502  0x000037f0 iadd  0x00000002 , 0x0000003f 
+ 00016503  0x000037f1 store  0x00000001 , 0x000046c0 
+ 00016504  0x000037f2 rtn 
+ 00016505  0x000037f4 fetch  0x00000001 , 0x000046c0 
+ 00016506  0x000037f5 rtn  0x00000034 
+ 00016507  0x000037f6 store  0x00000001 , 0x0000469f 
+ 00016508  0x000037f7 jam  0x00000000 , 0x000046c0 
+ 00016509  0x000037f8 branch  0x00007fe7 
+ 00016510  0x000037fb fetch  0x00000001 , 0x000046ba 
+ 00016511  0x000037fc rtn  0x00000034 
+ 00016512  0x000037fd store  0x00000001 , 0x000046a0 
+ 00016513  0x000037fe jam  0x00000000 , 0x000046ba 
+ 00016514  0x000037ff branch  0x00007fe7 
+ 00016515  0x00003802 arg  0x00000000 , 0x00000011 
+ 00016516  0x00003803 fetcht  0x00000001 , 0x000046e2 
+ 00016517  0x00003804 call  0x0000681d 
+ 00016518  0x00003805 setflag  0x00000001 , 0x00000000 , 0x00000011 
+ 00016519  0x00003806 fetcht  0x00000001 , 0x000046e3 
+ 00016520  0x00003807 call  0x0000681d 
+ 00016521  0x00003808 setflag  0x00000001 , 0x00000001 , 0x00000011 
+ 00016522  0x00003809 fetcht  0x00000001 , 0x000046e4 
+ 00016523  0x0000380a call  0x0000681d 
+ 00016524  0x0000380b setflag  0x00000001 , 0x00000002 , 0x00000011 
+ 00016525  0x0000380c call  0x00004090 
+ 00016526  0x0000380d copy  0x00000011 , 0x0000003f 
+ 00016527  0x0000380e rtn 
+ 00016528  0x00003810 fetch  0x00000001 , 0x000046e5 
+ 00016529  0x00003811 rtneq  0x000000ff 
+ 00016530  0x00003812 fetcht  0x00000001 , 0x000046e5 
+ 00016531  0x00003813 call  0x0000681d 
+ 00016532  0x00003814 setflag  0x00000001 , 0x00000003 , 0x00000011 
+ 00016533  0x00003815 fetcht  0x00000001 , 0x000046e6 
+ 00016534  0x00003816 call  0x0000681d 
+ 00016535  0x00003817 setflag  0x00000001 , 0x00000004 , 0x00000011 
+ 00016536  0x00003818 rtn 
+ 00016537  0x0000381b call  0x00004083 
+ 00016538  0x0000381c call  0x000040a8 
+ 00016539  0x0000381d call  0x000040a3 
+ 00016540  0x0000381e copy  0x00000011 , 0x0000003f 
+ 00016541  0x0000381f fetcht  0x00000001 , 0x0000469a 
+ 00016542  0x00003820 store  0x00000001 , 0x0000469a 
+ 00016543  0x00003821 ixor  0x00000002 , 0x0000003f 
+ 00016544  0x00003822 sub  0x0000003f , 0x00000000 , 0x0000003e 
+ 00016545  0x00003823 rtn  0x00000005 
+ 00016546  0x00003824 branch  0x00007fe7 
+ 00016547  0x00003827 rtnmark0  0x00000026 
+ 00016548  0x00003828 copy  0x00000011 , 0x0000003f 
+ 00016549  0x00003829 rtn  0x00000034 
+ 00016550  0x0000382a store  0x00000001 , 0x0000469a 
+ 00016551  0x0000382b branch  0x00007fe7 
+ 00016552  0x0000382f fetch  0x00000002 , 0x00004682 
+ 00016553  0x00003830 bbit1  0x00000009 , 0x000040ad 
+ 00016554  0x00003831 fetch  0x00000002 , 0x00004682 
+ 00016555  0x00003832 bbit1  0x00000000 , 0x000040b0 
+ 00016556  0x00003833 rtn 
+ 00016557  0x00003835 copy  0x00000011 , 0x0000003f 
+ 00016558  0x00003836 nbranch  0x00005820 , 0x00000034 
+ 00016559  0x00003837 branch  0x00005822 
+ 00016560  0x00003839 copy  0x00000011 , 0x0000003f 
+ 00016561  0x0000383a nbranch  0x00002bc7 , 0x00000034 
+ 00016562  0x0000383b branch  0x00002bc9 
+ 00016563  0x0000383f bpatch  0x000000e7 , 0x0000401c 
+ 00016564  0x00003840 arg  0x0000001a , 0x00000002 
+ 00016565  0x00003841 fetch  0x00000004 , 0x000046d3 
+ 00016566  0x00003842 isolate1  0x00000012 , 0x0000003f 
+ 00016567  0x00003843 call  0x000040be , 0x00000001 
+ 00016568  0x00003844 call  0x0000681d 
+ 00016569  0x00003845 rtn  0x00000001 
+ 00016570  0x00003846 setarg  0x0000000a 
+ 00016571  0x00003847 call  0x00006414 
+ 00016572  0x00003848 nop  0x000003e8 
+ 00016573  0x00003849 branch  0x000040b3 
+ 00016574  0x0000384b arg  0x0000001f , 0x00000002 
+ 00016575  0x0000384c rtn 
+ 00016576  0x0000384f fetch  0x00000004 , 0x000046d3 
+ 00016577  0x00003850 bbit1  0x00000012 , 0x000040c4 
+ 00016578  0x00003852 arg  0x0000001a , 0x00000002 
+ 00016579  0x00003853 branch  0x000067fe 
+ 00016580  0x00003855 arg  0x0000001f , 0x00000002 
+ 00016581  0x00003856 branch  0x000067fe 
+ 00016582  0x0000385a call  0x00003d36 
+ 00016583  0x0000385b rtn  0x0000002b 
+ 00016584  0x0000385c call  0x000040c0 
+ 00016585  0x0000385d fetch  0x00000001 , 0x000046e0 
+ 00016586  0x0000385e beq  0x00000005 , 0x000040d5 
+ 00016587  0x00003860 call  0x000040d9 
+ 00016588  0x00003861 beq  0x00000030 , 0x000040e0 
+ 00016589  0x00003862 beq  0x00000031 , 0x000040ea 
+ 00016590  0x00003863 call  0x000040d1 
+ 00016591  0x00003864 nop  0x000003e8 
+ 00016592  0x00003865 branch  0x000040cb 
+ 00016593  0x00003867 bpatch  0x000000e8 , 0x0000401d 
+ 00016594  0x00003868 fetch  0x00000004 , 0x000046d3 
+ 00016595  0x00003869 bbit1  0x00000012 , 0x000063e0 
+ 00016596  0x0000386a branch  0x000063d1 
+ 00016597  0x0000386d call  0x000040d9 
+ 00016598  0x0000386e beq  0x0000003e , 0x0000414b 
+ 00016599  0x0000386f call  0x00004145 
+ 00016600  0x00003870 branch  0x000040d5 
+ 00016601  0x00003873 setarg  0x00000001 
+ 00016602  0x00003874 call  0x00006414 
+ 00016603  0x00003875 store  0x00000001 , 0x000046de 
+ 00016604  0x00003876 setarg  0x00000000 
+ 00016605  0x00003877 call  0x00006414 
+ 00016606  0x00003878 store  0x00000001 , 0x000046dd 
+ 00016607  0x00003879 rtn 
+ 00016608  0x0000387b fetch  0x00000001 , 0x000046de 
+ 00016609  0x0000387c beq  0x000000d1 , 0x00004139 
+ 00016610  0x0000387d beq  0x000000d2 , 0x000040f8 
+ 00016611  0x0000387e beq  0x00000002 , 0x000040ee 
+ 00016612  0x0000387f beq  0x00000054 , 0x000040e6 
+ 00016613  0x00003880 rtn 
+ 00016614  0x00003882 jam  0x00000002 , 0x000046e0 
+ 00016615  0x00003883 rtn 
+ 00016616  0x00003885 jam  0x00000006 , 0x000046e0 
+ 00016617  0x00003886 rtn 
+ 00016618  0x00003888 fetch  0x00000001 , 0x000046de 
+ 00016619  0x00003889 beq  0x00000070 , 0x000040e8 
+ 00016620  0x0000388a jam  0x00000001 , 0x000046e0 
+ 00016621  0x0000388b rtn 
+ 00016622  0x0000388d jam  0x00000004 , 0x000046e0 
+ 00016623  0x0000388e call  0x000040f6 
+ 00016624  0x0000388f setarg  0x00003426 
+ 00016625  0x00003890 call  0x00006413 
+ 00016626  0x00003891 setarg  0x00000419 
+ 00016627  0x00003892 call  0x00006413 
+ 00016628  0x00003894 setarg  0x00000009 
+ 00016629  0x00003895 branch  0x00006413 
+ 00016630  0x00003897 setarg  0x00005a09 
+ 00016631  0x00003898 branch  0x00006413 
+ 00016632  0x0000389b jam  0x00000003 , 0x000046e0 
+ 00016633  0x0000389c call  0x000040f6 
+ 00016634  0x0000389d setarg  0x00000f0d 
+ 00016635  0x0000389e call  0x00006413 
+ 00016636  0x0000389f setarg  0x0000e31d 
+ 00016637  0x000038a0 call  0x00006413 
+ 00016638  0x000038a1 setarg  0x0000d27d 
+ 00016639  0x000038a2 call  0x00006413 
+ 00016640  0x000038a3 call  0x00004102 
+ 00016641  0x000038a4 branch  0x0000411a 
+ 00016642  0x000038a7 setarg  0x0000351b 
+ 00016643  0x000038a8 call  0x00006413 
+ 00016644  0x000038a9 setarg  0x0000b428 
+ 00016645  0x000038aa call  0x00006413 
+ 00016646  0x000038ab setarg  0x00004629 
+ 00016647  0x000038ac call  0x00006413 
+ 00016648  0x000038ad setarg  0x0000962a 
+ 00016649  0x000038ae call  0x00006413 
+ 00016650  0x000038af setarg  0x00008c2b 
+ 00016651  0x000038b0 call  0x00006413 
+ 00016652  0x000038b1 setarg  0x00006e2c 
+ 00016653  0x000038b2 call  0x00006413 
+ 00016654  0x000038b3 setarg  0x0000642d 
+ 00016655  0x000038b4 call  0x00006413 
+ 00016656  0x000038b5 setarg  0x00005f38 
+ 00016657  0x000038b6 call  0x00006413 
+ 00016658  0x000038b7 setarg  0x00000f39 
+ 00016659  0x000038b8 call  0x00006413 
+ 00016660  0x000038b9 setarg  0x0000323a 
+ 00016661  0x000038ba call  0x00006413 
+ 00016662  0x000038bb setarg  0x0000473b 
+ 00016663  0x000038bc call  0x00006413 
+ 00016664  0x000038bd setarg  0x00001042 
+ 00016665  0x000038be branch  0x00006413 
+ 00016666  0x000038c0 setarg  0x00002e54 
+ 00016667  0x000038c1 call  0x00006413 
+ 00016668  0x000038c2 setarg  0x0000f255 
+ 00016669  0x000038c3 call  0x00006413 
+ 00016670  0x000038c4 setarg  0x0000f461 
+ 00016671  0x000038c5 call  0x00006413 
+ 00016672  0x000038c6 setarg  0x00007063 
+ 00016673  0x000038c7 call  0x00006413 
+ 00016674  0x000038c8 setarg  0x00005275 
+ 00016675  0x000038c9 call  0x00006413 
+ 00016676  0x000038ca setarg  0x00004176 
+ 00016677  0x000038cb call  0x00006413 
+ 00016678  0x000038cc setarg  0x0000ed77 
+ 00016679  0x000038cd call  0x00006413 
+ 00016680  0x000038ce setarg  0x00002378 
+ 00016681  0x000038cf call  0x00006413 
+ 00016682  0x000038d0 setarg  0x00004679 
+ 00016683  0x000038d1 call  0x00006413 
+ 00016684  0x000038d2 setarg  0x0000e57a 
+ 00016685  0x000038d3 call  0x00006413 
+ 00016686  0x000038d4 setarg  0x0000487c 
+ 00016687  0x000038d5 call  0x00006413 
+ 00016688  0x000038d6 setarg  0x0000777e 
+ 00016689  0x000038d7 call  0x00006413 
+ 00016690  0x000038d8 setarg  0x0000017f 
+ 00016691  0x000038d9 call  0x00006413 
+ 00016692  0x000038da setarg  0x0000000b 
+ 00016693  0x000038db call  0x00006413 
+ 00016694  0x000038dc setarg  0x0000007f 
+ 00016695  0x000038dd call  0x00006413 
+ 00016696  0x000038de branch  0x000040f4 
+ 00016697  0x000038e2 jam  0x00000000 , 0x000046e0 
+ 00016698  0x000038e3 call  0x000040f6 
+ 00016699  0x000038e4 setarg  0x0000100d 
+ 00016700  0x000038e5 call  0x00006413 
+ 00016701  0x000038e6 setarg  0x0000ed1d 
+ 00016702  0x000038e7 call  0x00006413 
+ 00016703  0x000038e8 setarg  0x0000807d 
+ 00016704  0x000038e9 call  0x00006413 
+ 00016705  0x000038ea call  0x00004102 
+ 00016706  0x000038eb setarg  0x00000943 
+ 00016707  0x000038ec call  0x00006413 
+ 00016708  0x000038ed branch  0x0000411a 
+ 00016709  0x000038f1 fetcht  0x00000001 , 0x000046dc 
+ 00016710  0x000038f2 call  0x00006829 
+ 00016711  0x000038f3 call  0x00007ec1 
+ 00016712  0x000038f4 fetcht  0x00000001 , 0x000046dc 
+ 00016713  0x000038f5 call  0x00006825 
+ 00016714  0x000038f6 branch  0x00007ec1 
+ 00016715  0x000038f9 jam  0x00000005 , 0x000046e0 
+ 00016716  0x000038fa setarg  0x0000ba41 
+ 00016717  0x000038fb call  0x00006405 
+ 00016718  0x000038fc setarg  0x00000d11 
+ 00016719  0x000038fd call  0x00006405 
+ 00016720  0x000038fe setarg  0x0000041b 
+ 00016721  0x000038ff call  0x00006405 
+ 00016722  0x00003900 setarg  0x0000041c 
+ 00016723  0x00003901 call  0x00006405 
+ 00016724  0x00003902 setarg  0x00000f1d 
+ 00016725  0x00003903 call  0x00006405 
+ 00016726  0x00003904 setarg  0x00000032 
+ 00016727  0x00003905 call  0x00006405 
+ 00016728  0x00003906 setarg  0x0000b541 
+ 00016729  0x00003907 branch  0x00006405 
+ 00016730  0x0000390c setarg  0x0000ba41 
+ 00016731  0x0000390d call  0x00006405 
+ 00016732  0x0000390e nop  0x00000fa0 
+ 00016733  0x0000390f setarg  0x0000ff7f 
+ 00016734  0x00003910 call  0x00006405 
+ 00016735  0x00003911 copy  0x00000011 , 0x0000003f 
+ 00016736  0x00003912 call  0x00006405 
+ 00016737  0x00003913 setarg  0x0000007f 
+ 00016738  0x00003914 call  0x00006405 
+ 00016739  0x00003915 setarg  0x0000b541 
+ 00016740  0x00003916 branch  0x00006405 
+ 00016741  0x00003919 rtnbit0  0x00000007 
+ 00016742  0x0000391a arg  0x0000ff00 , 0x00000002 
+ 00016743  0x0000391b ior  0x00000002 , 0x0000003f 
+ 00016744  0x0000391c rtn 
+ 00016745  0x0000391f rtnbit0  0x00000003 
+ 00016746  0x00003920 arg  0x000000f0 , 0x00000002 
+ 00016747  0x00003921 ior  0x00000002 , 0x0000003f 
+ 00016748  0x00003922 rtn 
+ 00016749  0x00003926 call  0x00005892 
+ 00016750  0x00003927 nrtn  0x00000034 
+ 00016751  0x00003928 fetch  0x00000001 , 0x000046c5 
+ 00016752  0x00003929 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00016753  0x0000392a rtnne  0x00000003 
+ 00016754  0x0000392b fetch  0x00000004 , 0x000046d3 
+ 00016755  0x0000392c bbit1  0x00000003 , 0x00004179 
+ 00016756  0x0000392d bbit1  0x00000000 , 0x00004179 
+ 00016757  0x0000392e bbit1  0x00000005 , 0x00004179 
+ 00016758  0x0000392f call  0x00003f97 
+ 00016759  0x00003930 nrtn  0x00000028 
+ 00016760  0x00003931 branch  0x00003f90 
+ 00016761  0x00003934 setarg  0x00000000 
+ 00016762  0x00003935 store  0x00000007 , 0x0000469a 
+ 00016763  0x00003936 branch  0x00003f90 
+ 00016764  0x00003939 copy  0x00000013 , 0x0000003f 
+ 00016765  0x0000393a beq  0x00000014 , 0x000041c3 
+ 00016766  0x0000393b beq  0x00000001 , 0x000042ca 
+ 00016767  0x0000393c beq  0x00000015 , 0x000041d9 
+ 00016768  0x0000393d beq  0x00000002 , 0x000041d9 
+ 00016769  0x0000393e beq  0x00000005 , 0x000041d6 
+ 00016770  0x0000393f beq  0x00000010 , 0x0000426c 
+ 00016771  0x00003940 beq  0x00000012 , 0x0000429b 
+ 00016772  0x00003941 beq  0x00000006 , 0x000041d5 
+ 00016773  0x00003942 beq  0x00000004 , 0x000041cc 
+ 00016774  0x00003943 beq  0x00000013 , 0x000041cc 
+ 00016775  0x00003944 beq  0x0000000a , 0x000041ca 
+ 00016776  0x00003945 beq  0x0000002e , 0x000033cd 
+ 00016777  0x00003946 beq  0x00000031 , 0x000041b4 
+ 00016778  0x00003947 beq  0x00000032 , 0x000041b6 
+ 00016779  0x00003948 beq  0x0000003e , 0x00004191 
+ 00016780  0x00003949 beq  0x00000027 , 0x0000438e 
+ 00016781  0x0000394a beq  0x00000039 , 0x0000419c 
+ 00016782  0x0000394b beq  0x0000003a , 0x00004192 
+ 00016783  0x0000394c beq  0x0000003c , 0x0000419a 
+ 00016784  0x0000394d rtn 
+ 00016785  0x00003951 branch  0x00003410 
+ 00016786  0x00003954 jam  0x00000001 , 0x0000478b 
+ 00016787  0x00003955 fetch  0x00000001 , 0x0000471e 
+ 00016788  0x00003956 nbranch  0x00004492 , 0x00000034 
+ 00016789  0x00003957 fetch  0x00000001 , 0x00004720 
+ 00016790  0x00003958 fetcht  0x00000001 , 0x00004703 
+ 00016791  0x00003959 isub  0x00000002 , 0x0000003e 
+ 00016792  0x0000395a branch  0x0000340a , 0x00000005 
+ 00016793  0x0000395b rtn 
+ 00016794  0x0000395d jam  0x00000001 , 0x0000478b 
+ 00016795  0x0000395e rtn 
+ 00016796  0x00003960 jam  0x00000001 , 0x0000478b 
+ 00016797  0x00003961 arg  0x00000003 , 0x00000007 
+ 00016798  0x00003962 call  0x000043d2 
+ 00016799  0x00003963 setarg  0x00000000 
+ 00016800  0x00003964 store  0x00000002 , 0x00004707 
+ 00016801  0x00003965 jam  0x00000000 , 0x000046a7 
+ 00016802  0x00003967 fetch  0x00000001 , 0x000046e0 
+ 00016803  0x00003968 sub  0x0000003f , 0x00000005 , 0x0000003e 
+ 00016804  0x00003969 call  0x00004039 , 0x00000005 
+ 00016805  0x0000396a ncall  0x0000405d , 0x00000005 
+ 00016806  0x0000396c fetch  0x00000001 , 0x00000004 , 0x000046d3 
+ 00016807  0x0000396d bbit1  0x00000013 , 0x000041af 
+ 00016808  0x0000396e call  0x000041aa 
+ 00016809  0x0000396f branch  0x000065d1 
+ 00016810  0x00003972 call  0x00002c7a 
+ 00016811  0x00003973 add  0x00000013 , 0x000000ae , 0x00000011 
+ 00016812  0x00003974 arg  0x0000005b , 0x00000012 
+ 00016813  0x00003975 arg  0x00000004 , 0x00000002 
+ 00016814  0x00003976 rtn 
+ 00016815  0x00003979 call  0x00002c7a 
+ 00016816  0x0000397a add  0x00000013 , 0x000000ae , 0x00000012 
+ 00016817  0x0000397b ifetch  0x00000001 , 0x00000012 
+ 00016818  0x0000397c store  0x00000001 , 0x0000477b 
+ 00016819  0x0000397d branch  0x00004435 
+ 00016820  0x00003981 arg  0x00000002 , 0x00000007 
+ 00016821  0x00003982 branch  0x000041b9 
+ 00016822  0x00003984 jam  0x00000002 , 0x000046c6 
+ 00016823  0x00003985 arg  0x00000001 , 0x00000007 
+ 00016824  0x00003986 branch  0x000041b9 
+ 00016825  0x0000398a fetch  0x00000001 , 0x000046c5 
+ 00016826  0x0000398b qset1  0x0000003f 
+ 00016827  0x0000398c store  0x00000001 , 0x000046c5 
+ 00016828  0x0000398d rtn 
+ 00016829  0x00003990 fetch  0x00000001 , 0x000046c5 
+ 00016830  0x00003991 qset0  0x0000003f 
+ 00016831  0x00003992 store  0x00000001 , 0x000046c5 
+ 00016832  0x00003993 rtn 
+ 00016833  0x00003995 jam  0x00000000 , 0x000046c5 
+ 00016834  0x00003996 rtn 
+ 00016835  0x00003999 fetch  0x00000002 , 0x0000420a 
+ 00016836  0x0000399a set0  0x00000000 , 0x0000003f 
+ 00016837  0x0000399b store  0x00000002 , 0x0000420a 
+ 00016838  0x0000399c setarg  0x00000000 
+ 00016839  0x0000399d store  0x00000002 , 0x000046ae 
+ 00016840  0x0000399e call  0x00003f8d 
+ 00016841  0x0000399f branch  0x000042ca 
+ 00016842  0x000039a2 call  0x000063cb 
+ 00016843  0x000039a3 branch  0x000033dd 
+ 00016844  0x000039a6 fetch  0x00000001 , 0x0000471e 
+ 00016845  0x000039a7 nbranch  0x00004492 , 0x00000034 
+ 00016846  0x000039a8 fetch  0x00000002 , 0x00004682 
+ 00016847  0x000039a9 bbit1  0x0000000c , 0x000042b0 
+ 00016848  0x000039aa fetch  0x00000004 , 0x000046d3 
+ 00016849  0x000039ab bbit1  0x00000000 , 0x000041d7 
+ 00016850  0x000039ac bbit1  0x00000005 , 0x000042b0 
+ 00016851  0x000039ad bbit1  0x00000003 , 0x00002ead 
+ 00016852  0x000039ae branch  0x000033a7 
+ 00016853  0x000039b2 branch  0x00003f74 
+ 00016854  0x000039b5 rtn 
+ 00016855  0x000039b8 call  0x000043c0 
+ 00016856  0x000039b9 branch  0x0000659a 
+ 00016857  0x000039bc bpatch  0x000000e9 , 0x0000401d 
+ 00016858  0x000039bd call  0x000041e7 
+ 00016859  0x000039be fetch  0x00000004 , 0x000046d3 
+ 00016860  0x000039bf bbit1  0x00000000 , 0x000041d7 
+ 00016861  0x000039c0 bbit1  0x00000003 , 0x00002ead 
+ 00016862  0x000039c1 fetch  0x00000001 , 0x0000471e 
+ 00016863  0x000039c2 nbranch  0x00004492 , 0x00000034 
+ 00016864  0x000039c3 fetch  0x00000002 , 0x00004208 
+ 00016865  0x000039c4 bbit1  0x00000007 , 0x000041f5 
+ 00016866  0x000039c5 bbit1  0x00000000 , 0x000033a9 
+ 00016867  0x000039c6 bbit1  0x00000001 , 0x000041ef 
+ 00016868  0x000039c7 bbit1  0x00000002 , 0x000041f2 
+ 00016869  0x000039c8 bbit1  0x00000003 , 0x000041f2 
+ 00016870  0x000039c9 branch  0x000042b0 
+ 00016871  0x000039cb setarg  0x00000000 
+ 00016872  0x000039cc store  0x00000008 , 0x000046b7 
+ 00016873  0x000039cd istore  0x00000004 , 0x00000005 
+ 00016874  0x000039ce jam  0x00000000 , 0x000046b4 
+ 00016875  0x000039cf jam  0x00000000 , 0x000046a7 
+ 00016876  0x000039d0 jam  0x00000000 , 0x000041e2 
+ 00016877  0x000039d1 jam  0x00000000 , 0x00004429 
+ 00016878  0x000039d2 rtn 
+ 00016879  0x000039d5 bbit1  0x00000005 , 0x000041f2 
+ 00016880  0x000039d6 bbit1  0x00000003 , 0x000041f2 
+ 00016881  0x000039d7 branch  0x000042b0 
+ 00016882  0x000039d9 fetch  0x00000002 , 0x00004682 
+ 00016883  0x000039da bbit1  0x0000000c , 0x000042b0 
+ 00016884  0x000039db branch  0x000033a7 
+ 00016885  0x000039de call  0x000041c1 
+ 00016886  0x000039df fetch  0x00000002 , 0x00004208 
+ 00016887  0x000039e0 bbit1  0x00000000 , 0x000033a9 
+ 00016888  0x000039e1 branch  0x000033a7 
+ 00016889  0x000039e4 call  0x000043d6 
+ 00016890  0x000039e5 call  0x00004243 
+ 00016891  0x000039e6 call  0x00004246 
+ 00016892  0x000039e7 call  0x00004250 
+ 00016893  0x000039e8 call  0x0000445d 
+ 00016894  0x000039ea call  0x00004443 
+ 00016895  0x000039eb call  0x00004333 
+ 00016896  0x000039ec call  0x000043a5 
+ 00016897  0x000039ed call  0x000043eb 
+ 00016898  0x000039ee call  0x00004209 
+ 00016899  0x000039ef call  0x00004231 
+ 00016900  0x000039f0 call  0x00004234 
+ 00016901  0x000039f1 call  0x00004237 
+ 00016902  0x000039f2 call  0x0000423a 
+ 00016903  0x000039f3 call  0x0000423d 
+ 00016904  0x000039f4 branch  0x00004240 
+ 00016905  0x000039f9 fetch  0x00000001 , 0x00004711 
+ 00016906  0x000039fa rtn  0x00000034 
+ 00016907  0x000039fb increase  0xffffffff , 0x0000003f 
+ 00016908  0x000039fc store  0x00000001 , 0x00004711 
+ 00016909  0x000039fd nrtn  0x00000034 
+ 00016910  0x000039fe branch  0x0000420f 
+ 00016911  0x00003a00 fetch  0x00000001 , 0x00004712 
+ 00016912  0x00003a01 rtneq  0x00000000 
+ 00016913  0x00003a02 beq  0x00000005 , 0x00004216 
+ 00016914  0x00003a04 call  0x00004225 
+ 00016915  0x00003a05 jam  0x00000005 , 0x00004712 
+ 00016916  0x00003a06 jam  0x00000005 , 0x00004711 
+ 00016917  0x00003a07 rtn 
+ 00016918  0x00003a09 call  0x0000422c 
+ 00016919  0x00003a0a jam  0x00000004 , 0x00004712 
+ 00016920  0x00003a0b jam  0x00000005 , 0x00004711 
+ 00016921  0x00003a0c rtn 
+ 00016922  0x00003a10 setarg  0x00008006 
+ 00016923  0x00003a11 call  0x00006413 
+ 00016924  0x00003a12 nop  0x000003e8 
+ 00016925  0x00003a13 jam  0x00000000 , 0x00004711 
+ 00016926  0x00003a14 jam  0x00000000 , 0x00004712 
+ 00016927  0x00003a15 branch  0x000040e0 
+ 00016928  0x00003a18 setarg  0x0000a006 
+ 00016929  0x00003a19 call  0x00006413 
+ 00016930  0x00003a1a setarg  0x0000a005 
+ 00016931  0x00003a1b branch  0x00006413 
+ 00016932  0x00003a1d jam  0x00000000 , 0x00004711 
+ 00016933  0x00003a1f fetch  0x00000001 , 0x000046e0 
+ 00016934  0x00003a20 beq  0x00000004 , 0x00004220 
+ 00016935  0x00003a21 setarg  0x00000106 
+ 00016936  0x00003a22 call  0x00006413 
+ 00016937  0x00003a23 setarg  0x0000a105 
+ 00016938  0x00003a24 branch  0x00006413 
+ 00016939  0x00003a27 jam  0x00000000 , 0x00004711 
+ 00016940  0x00003a29 setarg  0x00000906 
+ 00016941  0x00003a2a branch  0x00006413 
+ 00016942  0x00003a2c jam  0x00000005 , 0x00004711 
+ 00016943  0x00003a2d jam  0x00000001 , 0x00004712 
+ 00016944  0x00003a2e rtn 
+ 00016945  0x00003a31 arg  0x00004680 , 0x00000013 
+ 00016946  0x00003a32 arg  0x0000429b , 0x00000012 
+ 00016947  0x00003a33 branch  0x0000336d 
+ 00016948  0x00003a36 arg  0x000046ac , 0x00000013 
+ 00016949  0x00003a37 arg  0x00004264 , 0x00000012 
+ 00016950  0x00003a38 branch  0x00003374 
+ 00016951  0x00003a3b arg  0x000046ae , 0x00000013 
+ 00016952  0x00003a3c arg  0x00004266 , 0x00000012 
+ 00016953  0x00003a3d branch  0x00003374 
+ 00016954  0x00003a40 arg  0x000046b0 , 0x00000013 
+ 00016955  0x00003a41 arg  0x0000426a , 0x00000012 
+ 00016956  0x00003a42 branch  0x00003374 
+ 00016957  0x00003a45 arg  0x000046c4 , 0x00000013 
+ 00016958  0x00003a46 arg  0x00004478 , 0x00000012 
+ 00016959  0x00003a47 branch  0x0000336d 
+ 00016960  0x00003a4c arg  0x000046c6 , 0x00000013 
+ 00016961  0x00003a4d arg  0x0000425e , 0x00000012 
+ 00016962  0x00003a4e branch  0x0000336d 
+ 00016963  0x00003a51 arg  0x00004704 , 0x00000013 
+ 00016964  0x00003a52 arg  0x00004249 , 0x00000012 
+ 00016965  0x00003a53 branch  0x0000336d 
+ 00016966  0x00003a56 arg  0x00004707 , 0x00000013 
+ 00016967  0x00003a57 arg  0x00004249 , 0x00000012 
+ 00016968  0x00003a58 branch  0x00003374 
+ 00016969  0x00003a5b rtn 
+ 00016970  0x00003a5f fetch  0x00000004 , 0x000046d3 
+ 00016971  0x00003a60 rtnbit0  0x00000017 
+ 00016972  0x00003a61 jam  0x0000000a , 0x000046df 
+ 00016973  0x00003a62 fetch  0x00000001 , 0x000046f4 
+ 00016974  0x00003a63 store  0x00000001 , 0x00004715 
+ 00016975  0x00003a64 rtn 
+ 00016976  0x00003a68 arg  0x000046df , 0x00000013 
+ 00016977  0x00003a69 arg  0x00004253 , 0x00000012 
+ 00016978  0x00003a6a branch  0x0000336d 
+ 00016979  0x00003a6c fetch  0x00000001 , 0x000046f4 
+ 00016980  0x00003a6d store  0x00000001 , 0x00004715 
+ 00016981  0x00003a6e setarg  0x00000190 
+ 00016982  0x00003a6f store  0x00000002 , 0x00004716 
+ 00016983  0x00003a70 store  0x00000002 , 0x00004718 
+ 00016984  0x00003a71 arg  0x00000000 , 0x00000011 
+ 00016985  0x00003a72 fetcht  0x00000001 , 0x0000477a 
+ 00016986  0x00003a73 increase  0x00000001 , 0x00000002 
+ 00016987  0x00003a74 storet  0x00000001 , 0x00004714 
+ 00016988  0x00003a75 jam  0x00000001 , 0x00004713 
+ 00016989  0x00003a76 rtn 
+ 00016990  0x00003a79 fetch  0x00000001 , 0x000046c5 
+ 00016991  0x00003a7a rtnbit1  0x00000002 
+ 00016992  0x00003a7b jam  0x00000012 , 0x00000a99 
+ 00016993  0x00003a7c call  0x00007d8f 
+ 00016994  0x00003a7d arg  0x00000000 , 0x00000007 
+ 00016995  0x00003a7e branch  0x000041b9 
+ 00016996  0x00003a82 call  0x000042ca 
+ 00016997  0x00003a83 branch  0x0000340a 
+ 00016998  0x00003a86 call  0x000033f6 
+ 00016999  0x00003a87 fetch  0x00000001 , 0x0000471e 
+ 00017000  0x00003a88 nbranch  0x00004492 , 0x00000034 
+ 00017001  0x00003a89 branch  0x0000340a 
+ 00017002  0x00003a8c bmark1  0x00000026 , 0x00007e1d 
+ 00017003  0x00003a8d branch  0x00004386 
+ 00017004  0x00003a92 bpatch  0x000000ea , 0x0000401d 
+ 00017005  0x00003a93 jam  0x00000000 , 0x000046b4 
+ 00017006  0x00003a94 call  0x00004386 
+ 00017007  0x00003a95 call  0x000041c1 
+ 00017008  0x00003a96 branch  0x000042b0 
+ 00017009  0x00003a9b fetch  0x00000006 , 0x000041d0 
+ 00017010  0x00003a9c branch  0x000033eb , 0x00000034 
+ 00017011  0x00003a9d call  0x0000427e 
+ 00017012  0x00003a9e jam  0x00000017 , 0x0000016d 
+ 00017013  0x00003a9f fetch  0x00000001 , 0x0000465a 
+ 00017014  0x00003aa0 nbranch  0x000033e1 , 0x00000034 
+ 00017015  0x00003aa1 jam  0x00000004 , 0x0000016d 
+ 00017016  0x00003aa2 branch  0x000033e1 
+ 00017017  0x00003aa5 fetch  0x00000002 , 0x000046a8 
+ 00017018  0x00003aa6 store  0x00000002 , 0x000046ae 
+ 00017019  0x00003aa7 call  0x0000427e 
+ 00017020  0x00003aa8 call  0x00003418 
+ 00017021  0x00003aa9 branch  0x00007df4 
+ 00017022  0x00003aac setarg  0x000000c8 
+ 00017023  0x00003aad store  0x00000002 , 0x00004716 
+ 00017024  0x00003aae store  0x00000002 , 0x00004718 
+ 00017025  0x00003aaf branch  0x00004285 
+ 00017026  0x00003ab2 setarg  0x000003e8 
+ 00017027  0x00003ab3 store  0x00000002 , 0x00004716 
+ 00017028  0x00003ab4 store  0x00000002 , 0x00004718 
+ 00017029  0x00003ab6 fetch  0x00000001 , 0x00004720 
+ 00017030  0x00003ab7 beq  0x00000001 , 0x0000428a 
+ 00017031  0x00003ab8 beq  0x00000002 , 0x0000428c 
+ 00017032  0x00003ab9 beq  0x00000003 , 0x0000428e 
+ 00017033  0x00003aba rtn 
+ 00017034  0x00003abc fetch  0x00000001 , 0x000046f0 
+ 00017035  0x00003abd branch  0x0000428f 
+ 00017036  0x00003abf fetch  0x00000001 , 0x000046f1 
+ 00017037  0x00003ac0 branch  0x0000428f 
+ 00017038  0x00003ac2 fetch  0x00000001 , 0x000046f2 
+ 00017039  0x00003ac4 store  0x00000001 , 0x00000aa2 
+ 00017040  0x00003ac5 call  0x00004482 
+ 00017041  0x00003ac6 fetch  0x00000001 , 0x00000aa2 
+ 00017042  0x00003ac7 store  0x00000001 , 0x00004715 
+ 00017043  0x00003ac8 arg  0x00000000 , 0x00000011 
+ 00017044  0x00003ac9 jam  0x00000001 , 0x00004713 
+ 00017045  0x00003aca branch  0x00007d1e 
+ 00017046  0x00003acd arg  0x00000000 , 0x00000011 
+ 00017047  0x00003ace branch  0x00007d19 
+ 00017048  0x00003ad0 arg  0x00000000 , 0x00000011 
+ 00017049  0x00003ad1 branch  0x00007d14 
+ 00017050  0x00003ad4 branch  0x000041c1 
+ 00017051  0x00003ad7 jam  0x00000001 , 0x000041e2 
+ 00017052  0x00003ad8 call  0x00003416 
+ 00017053  0x00003ad9 call  0x00003412 
+ 00017054  0x00003ada setarg  0x00000000 
+ 00017055  0x00003adb store  0x00000002 , 0x0000467e 
+ 00017056  0x00003adc store  0x00000001 , 0x00004680 
+ 00017057  0x00003add branch  0x0000340e 
+ 00017058  0x00003ae0 call  0x0000435f 
+ 00017059  0x00003ae1 fetch  0x00000001 , 0x00004720 
+ 00017060  0x00003ae2 fetcht  0x00000001 , 0x00004703 
+ 00017061  0x00003ae3 isub  0x00000002 , 0x0000003e 
+ 00017062  0x00003ae4 branch  0x000042ab , 0x00000005 
+ 00017063  0x00003ae5 fetch  0x00000001 , 0x00004210 
+ 00017064  0x00003ae6 beq  0x00000033 , 0x00004271 
+ 00017065  0x00003ae7 beq  0x00000034 , 0x00004279 
+ 00017066  0x00003ae8 branch  0x000042b0 
+ 00017067  0x00003aea call  0x00003d57 
+ 00017068  0x00003aeb rtnmark1  0x00000026 
+ 00017069  0x00003aec fetch  0x00000001 , 0x0000471e 
+ 00017070  0x00003aed nbranch  0x00004492 , 0x00000034 
+ 00017071  0x00003aee rtn 
+ 00017072  0x00003af1 bpatch  0x000000eb , 0x0000401d 
+ 00017073  0x00003af2 fetch  0x00000002 , 0x00004682 
+ 00017074  0x00003af3 bbit1  0x0000000b , 0x000042b7 
+ 00017075  0x00003af4 fetch  0x00000004 , 0x000046d3 
+ 00017076  0x00003af5 bbit0  0x00000018 , 0x000042b7 
+ 00017077  0x00003af6 random  0x0000003f 
+ 00017078  0x00003af7 store  0x00000001 , 0x000044a1 
+ 00017079  0x00003af9 call  0x00003418 
+ 00017080  0x00003afa fetch  0x00000002 , 0x00004687 
+ 00017081  0x00003afb store  0x00000002 , 0x000046ac 
+ 00017082  0x00003afc jam  0x00000006 , 0x0000016d 
+ 00017083  0x00003afd setarg  0x00000000 
+ 00017084  0x00003afe store  0x00000002 , 0x000046b0 
+ 00017085  0x00003aff store  0x00000002 , 0x000046ae 
+ 00017086  0x00003b00 arg  0x00000007 , 0x00000007 
+ 00017087  0x00003b01 call  0x000043ce 
+ 00017088  0x00003b02 call  0x000043ca 
+ 00017089  0x00003b03 fetch  0x00000001 , 0x00004092 
+ 00017090  0x00003b04 isolate1  0x00000001 , 0x0000003f 
+ 00017091  0x00003b05 call  0x00007df4 , 0x00000001 
+ 00017092  0x00003b06 fetch  0x00000001 , 0x00004092 
+ 00017093  0x00003b07 isolate1  0x00000000 , 0x0000003f 
+ 00017094  0x00003b08 call  0x00007ddd , 0x00000001 
+ 00017095  0x00003b09 fetch  0x00000004 , 0x000046d3 
+ 00017096  0x00003b0a bbit1  0x0000001c , 0x0000422e 
+ 00017097  0x00003b0b branch  0x00004282 
+ 00017098  0x00003b0e bpatch  0x000000ec , 0x0000401d 
+ 00017099  0x00003b0f fetch  0x00000001 , 0x00004092 
+ 00017100  0x00003b10 isolate1  0x00000001 , 0x0000003f 
+ 00017101  0x00003b11 call  0x000042d4 , 0x00000001 
+ 00017102  0x00003b12 fetch  0x00000001 , 0x00004092 
+ 00017103  0x00003b13 isolate1  0x00000000 , 0x0000003f 
+ 00017104  0x00003b14 call  0x000042d7 , 0x00000001 
+ 00017105  0x00003b15 fetch  0x00000004 , 0x000046d3 
+ 00017106  0x00003b16 bbit1  0x0000001c , 0x0000421a 
+ 00017107  0x00003b17 branch  0x00004482 
+ 00017108  0x00003b19 setarg  0x00000000 
+ 00017109  0x00003b1a store  0x00000002 , 0x000046ae 
+ 00017110  0x00003b1b branch  0x00007dfa 
+ 00017111  0x00003b1d setarg  0x00000000 
+ 00017112  0x00003b1e store  0x00000002 , 0x000046ac 
+ 00017113  0x00003b1f branch  0x00007de2 
+ 00017114  0x00003b26 fetch  0x00000004 , 0x000046d3 
+ 00017115  0x00003b27 rtnbit0  0x00000007 
+ 00017116  0x00003b28 arg  0x00000007 , 0x00000007 
+ 00017117  0x00003b29 call  0x000043d2 
+ 00017118  0x00003b2a call  0x000042e8 
+ 00017119  0x00003b2c call  0x000042fb 
+ 00017120  0x00003b2d fetch  0x00000004 , 0x000046d3 
+ 00017121  0x00003b2e bbit1  0x00000013 , 0x00004435 
+ 00017122  0x00003b2f bbit1  0x00000014 , 0x000042e4 
+ 00017123  0x00003b30 rtn 
+ 00017124  0x00003b32 arg  0x00000058 , 0x00000002 
+ 00017125  0x00003b33 arg  0x00004720 , 0x00000011 
+ 00017126  0x00003b34 arg  0x00000000 , 0x00000012 
+ 00017127  0x00003b35 branch  0x000065d1 
+ 00017128  0x00003b38 fetch  0x00000001 , 0x00000185 
+ 00017129  0x00003b39 beq  0x00000034 , 0x000042ec 
+ 00017130  0x00003b3a beq  0x00000033 , 0x000042ef 
+ 00017131  0x00003b3b rtn 
+ 00017132  0x00003b3d store  0x00000001 , 0x000046c7 
+ 00017133  0x00003b3e fetch  0x00000006 , 0x0000044f 
+ 00017134  0x00003b3f branch  0x000042f1 
+ 00017135  0x00003b41 store  0x00000001 , 0x000046c7 
+ 00017136  0x00003b42 fetch  0x00000006 , 0x00000040 
+ 00017137  0x00003b44 store  0x00000006 , 0x000046c8 
+ 00017138  0x00003b45 fetch  0x00000007 , 0x000046c7 
+ 00017139  0x00003b46 arg  0x00004721 , 0x00000006 
+ 00017140  0x00003b47 arg  0x00000003 , 0x00000039 
+ 00017141  0x00003b49 ifetcht  0x00000007 , 0x00000006 
+ 00017142  0x00003b4a isub  0x00000002 , 0x0000003e 
+ 00017143  0x00003b4b branch  0x00004310 , 0x00000005 
+ 00017144  0x00003b4c increase  0x00000016 , 0x00000006 
+ 00017145  0x00003b4d loop  0x000042f5 
+ 00017146  0x00003b4e rtn 
+ 00017147  0x00003b50 arg  0x00004721 , 0x00000011 
+ 00017148  0x00003b51 fetch  0x00000001 , 0x00004720 
+ 00017149  0x00003b52 increase  0xffffffff , 0x0000003f 
+ 00017150  0x00003b53 mul32  0x0000003f , 0x0000001d , 0x0000003f 
+ 00017151  0x00003b54 iadd  0x00000011 , 0x00000011 
+ 00017152  0x00003b55 fetch  0x00000001 , 0x00000185 
+ 00017153  0x00003b56 istore  0x00000001 , 0x00000011 
+ 00017154  0x00003b57 beq  0x00000034 , 0x00004305 
+ 00017155  0x00003b58 beq  0x00000033 , 0x0000430c 
+ 00017156  0x00003b59 rtn 
+ 00017157  0x00003b5c fetch  0x00000006 , 0x0000044f 
+ 00017158  0x00003b5d istore  0x00000006 , 0x00000005 
+ 00017159  0x00003b5e arg  0x00004419 , 0x00000006 
+ 00017160  0x00003b5f call  0x00007ebf 
+ 00017161  0x00003b60 fetch  0x00000006 , 0x000044a0 
+ 00017162  0x00003b61 istore  0x00000006 , 0x00000005 
+ 00017163  0x00003b62 rtn 
+ 00017164  0x00003b64 fetch  0x00000006 , 0x00000040 
+ 00017165  0x00003b65 istore  0x00000006 , 0x00000005 
+ 00017166  0x00003b66 arg  0x000041be , 0x00000006 
+ 00017167  0x00003b67 branch  0x00007ebf 
+ 00017168  0x00003b6a increase  0xfffffffa , 0x00000006 
+ 00017169  0x00003b6b copy  0x00000006 , 0x00000005 
+ 00017170  0x00003b6c fetcht  0x00000006 , 0x000046c8 
+ 00017171  0x00003b6d increase  0x00000003 , 0x00000002 
+ 00017172  0x00003b6e istoret  0x00000006 , 0x00000005 
+ 00017173  0x00003b6f rtn 
+ 00017174  0x00003b74 arg  0x00000058 , 0x00000002 
+ 00017175  0x00003b75 arg  0x00004720 , 0x00000011 
+ 00017176  0x00003b76 arg  0x00000000 , 0x00000012 
+ 00017177  0x00003b77 call  0x000065df 
+ 00017178  0x00003b79 arg  0x00004721 , 0x00000011 
+ 00017179  0x00003b7a fetch  0x00000001 , 0x00004720 
+ 00017180  0x00003b7b fetcht  0x00000001 , 0x00004703 
+ 00017181  0x00003b7c isub  0x00000002 , 0x0000003e 
+ 00017182  0x00003b7d rtn  0x00000005 
+ 00017183  0x00003b7e increase  0xffffffff , 0x0000003f 
+ 00017184  0x00003b7f mul32  0x0000003f , 0x0000001d , 0x0000003f 
+ 00017185  0x00003b80 iadd  0x00000011 , 0x00000011 
+ 00017186  0x00003b81 ifetch  0x00000001 , 0x00000011 
+ 00017187  0x00003b82 store  0x00000001 , 0x00004210 
+ 00017188  0x00003b83 beq  0x00000033 , 0x00004327 
+ 00017189  0x00003b84 beq  0x00000034 , 0x0000432c 
+ 00017190  0x00003b85 rtn 
+ 00017191  0x00003b88 ifetch  0x00000006 , 0x00000006 
+ 00017192  0x00003b8a store  0x00000006 , 0x000041d0 
+ 00017193  0x00003b8b arg  0x000041be , 0x00000005 
+ 00017194  0x00003b8c call  0x00007ebf 
+ 00017195  0x00003b8d branch  0x000067d7 
+ 00017196  0x00003b90 ifetch  0x00000006 , 0x00000006 
+ 00017197  0x00003b92 store  0x00000006 , 0x000041d0 
+ 00017198  0x00003b93 arg  0x00004419 , 0x00000005 
+ 00017199  0x00003b94 call  0x00007ebf 
+ 00017200  0x00003b95 ifetch  0x00000006 , 0x00000006 
+ 00017201  0x00003b96 store  0x00000006 , 0x000044a0 
+ 00017202  0x00003b97 rtn 
+ 00017203  0x00003b9b fetch  0x00000001 , 0x000046f5 
+ 00017204  0x00003b9c bbit1  0x00000005 , 0x00004349 
+ 00017205  0x00003b9d bbit1  0x00000006 , 0x00004359 
+ 00017206  0x00003b9e branch  0x00004337 
+ 00017207  0x00003ba1 call  0x00004083 
+ 00017208  0x00003ba2 beq  0x00000006 , 0x0000433e 
+ 00017209  0x00003ba4 jam  0x0000001e , 0x000046d8 
+ 00017210  0x00003ba5 fetch  0x00000001 , 0x000046d9 
+ 00017211  0x00003ba6 rtneq  0x00000001 
+ 00017212  0x00003ba7 jam  0x00000001 , 0x000046d9 
+ 00017213  0x00003ba8 rtn 
+ 00017214  0x00003bab call  0x00004343 
+ 00017215  0x00003bac fetch  0x00000001 , 0x000046d9 
+ 00017216  0x00003bad rtneq  0x00000000 
+ 00017217  0x00003bae jam  0x00000000 , 0x000046d9 
+ 00017218  0x00003baf branch  0x000043c0 
+ 00017219  0x00003bb2 fetch  0x00000001 , 0x000046d8 
+ 00017220  0x00003bb3 rtn  0x00000034 
+ 00017221  0x00003bb4 pincrease  0xffffffff 
+ 00017222  0x00003bb5 store  0x00000001 , 0x000046d8 
+ 00017223  0x00003bb6 nrtn  0x00000034 
+ 00017224  0x00003bb7 branch  0x00004370 
+ 00017225  0x00003bba fetch  0x00000001 , 0x000046ed 
+ 00017226  0x00003bbb rtneq  0x000000ff 
+ 00017227  0x00003bbc fetcht  0x00000001 , 0x000046ed 
+ 00017228  0x00003bbd call  0x0000681d 
+ 00017229  0x00003bbe branch  0x00004354 , 0x00000001 
+ 00017230  0x00003bc0 fetch  0x00000001 , 0x000046d9 
+ 00017231  0x00003bc1 rtneq  0x00000001 
+ 00017232  0x00003bc2 jam  0x00000001 , 0x000046d9 
+ 00017233  0x00003bc3 fetch  0x00000004 , 0x000046d3 
+ 00017234  0x00003bc4 rtnbit1  0x00000006 
+ 00017235  0x00003bc5 branch  0x00004370 
+ 00017236  0x00003bc8 fetch  0x00000001 , 0x000046d9 
+ 00017237  0x00003bc9 rtneq  0x00000000 
+ 00017238  0x00003bca jam  0x00000000 , 0x000046d9 
+ 00017239  0x00003bcb arg  0x00000006 , 0x00000007 
+ 00017240  0x00003bcc branch  0x000043d2 
+ 00017241  0x00003bd1 fetch  0x00000001 , 0x00000004 , 0x000046d3 
+ 00017242  0x00003bd2 rtnbit0  0x00000006 
+ 00017243  0x00003bd3 fetch  0x00000001 , 0x00004720 
+ 00017244  0x00003bd4 beq  0x00000001 , 0x00004369 
+ 00017245  0x00003bd5 beq  0x00000002 , 0x0000436c 
+ 00017246  0x00003bd6 rtn 
+ 00017247  0x00003bd8 fetch  0x00000001 , 0x00000004 , 0x000046d3 
+ 00017248  0x00003bd9 rtnbit0  0x00000006 
+ 00017249  0x00003bda fetcht  0x00000001 , 0x000046ed 
+ 00017250  0x00003bdb call  0x0000681d 
+ 00017251  0x00003bdc branch  0x00004366 , 0x00000001 
+ 00017252  0x00003bde jam  0x00000001 , 0x00004720 
+ 00017253  0x00003bdf rtn 
+ 00017254  0x00003be1 fetch  0x00000001 , 0x00004703 
+ 00017255  0x00003be2 store  0x00000001 , 0x00004720 
+ 00017256  0x00003be3 rtn 
+ 00017257  0x00003be5 fetcht  0x00000001 , 0x000046ed 
+ 00017258  0x00003be6 nbranch  0x00004370 , 0x00000001 
+ 00017259  0x00003be7 rtn 
+ 00017260  0x00003be9 fetcht  0x00000001 , 0x000046ed 
+ 00017261  0x00003bea call  0x0000681d 
+ 00017262  0x00003beb branch  0x00004354 , 0x00000001 
+ 00017263  0x00003bec rtn 
+ 00017264  0x00003bf2 fetcht  0x00000001 , 0x00004720 
+ 00017265  0x00003bf3 increase  0x00000001 , 0x00000002 
+ 00017266  0x00003bf4 fetch  0x00000001 , 0x000046d2 
+ 00017267  0x00003bf5 isub  0x00000002 , 0x0000003e 
+ 00017268  0x00003bf6 ncall  0x000043cc , 0x00000002 
+ 00017269  0x00003bf7 storet  0x00000001 , 0x00004720 
+ 00017270  0x00003bf8 jam  0x00000000 , 0x000041bd 
+ 00017271  0x00003bf9 call  0x0000437a 
+ 00017272  0x00003bfa call  0x000043c0 
+ 00017273  0x00003bfc branch  0x0000437e 
+ 00017274  0x00003bff arg  0x00000001 , 0x00000002 
+ 00017275  0x00003c00 arg  0x00004720 , 0x00000011 
+ 00017276  0x00003c01 arg  0x00000000 , 0x00000012 
+ 00017277  0x00003c02 branch  0x00006606 
+ 00017278  0x00003c05 call  0x00004381 
+ 00017279  0x00003c06 call  0x000043c2 
+ 00017280  0x00003c07 branch  0x000041d7 
+ 00017281  0x00003c09 fetch  0x00000002 , 0x00004682 
+ 00017282  0x00003c0a bbit1  0x00000007 , 0x00004392 
+ 00017283  0x00003c0b bbit1  0x00000009 , 0x00003402 
+ 00017284  0x00003c0c bbit1  0x00000000 , 0x000033e9 
+ 00017285  0x00003c0d branch  0x000042ca 
+ 00017286  0x00003c10 bpatch  0x000000ed , 0x0000401d 
+ 00017287  0x00003c11 setarg  0x00000000 
+ 00017288  0x00003c12 store  0x00000002 , 0x000046b0 
+ 00017289  0x00003c13 fetch  0x00000002 , 0x00004682 
+ 00017290  0x00003c14 bbit1  0x00000009 , 0x00003402 
+ 00017291  0x00003c15 fetch  0x00000002 , 0x00004682 
+ 00017292  0x00003c16 bbit1  0x00000000 , 0x000033e9 
+ 00017293  0x00003c17 rtn 
+ 00017294  0x00003c1a setarg  0x00000001 
+ 00017295  0x00003c1b store  0x00000006 , 0x00000040 
+ 00017296  0x00003c1c jam  0x00000033 , 0x00000185 
+ 00017297  0x00003c1d branch  0x000042df 
+ 00017298  0x00003c21 call  0x000043c4 
+ 00017299  0x00003c22 branch  0x00007e2f 
+ 00017300  0x00003c25 fetch  0x00000001 , 0x000046ec 
+ 00017301  0x00003c26 rtneq  0x000000ff 
+ 00017302  0x00003c27 fetcht  0x00000001 , 0x000046ec 
+ 00017303  0x00003c28 call  0x0000681d 
+ 00017304  0x00003c29 branch  0x0000439f , 0x00000001 
+ 00017305  0x00003c2b fetch  0x00000001 , 0x00004685 
+ 00017306  0x00003c2c store  0x00000001 , 0x000046da 
+ 00017307  0x00003c2d fetch  0x00000001 , 0x000046db 
+ 00017308  0x00003c2e rtneq  0x00000001 
+ 00017309  0x00003c2f jam  0x00000001 , 0x000046db 
+ 00017310  0x00003c30 branch  0x000043ca 
+ 00017311  0x00003c32 call  0x000043b5 
+ 00017312  0x00003c33 fetch  0x00000001 , 0x000046db 
+ 00017313  0x00003c34 rtneq  0x00000000 
+ 00017314  0x00003c35 jam  0x00000000 , 0x000046db 
+ 00017315  0x00003c36 call  0x00007e2f 
+ 00017316  0x00003c37 branch  0x000043c8 
+ 00017317  0x00003c3b fetch  0x00000001 , 0x000046f5 
+ 00017318  0x00003c3c bbit1  0x00000004 , 0x00004394 
+ 00017319  0x00003c3e call  0x00004083 
+ 00017320  0x00003c3f beq  0x00000007 , 0x000043af 
+ 00017321  0x00003c41 fetch  0x00000001 , 0x00004685 
+ 00017322  0x00003c42 store  0x00000001 , 0x000046da 
+ 00017323  0x00003c43 fetch  0x00000001 , 0x000046db 
+ 00017324  0x00003c44 rtneq  0x00000001 
+ 00017325  0x00003c45 jam  0x00000001 , 0x000046db 
+ 00017326  0x00003c46 branch  0x000043ca 
+ 00017327  0x00003c4a call  0x000043b5 
+ 00017328  0x00003c4b fetch  0x00000001 , 0x000046db 
+ 00017329  0x00003c4c rtneq  0x00000000 
+ 00017330  0x00003c4d jam  0x00000000 , 0x000046db 
+ 00017331  0x00003c4e call  0x00007e2f 
+ 00017332  0x00003c4f branch  0x000043c8 
+ 00017333  0x00003c52 arg  0x000046da , 0x00000013 
+ 00017334  0x00003c53 arg  0x000043b8 , 0x00000012 
+ 00017335  0x00003c54 branch  0x0000336d 
+ 00017336  0x00003c57 arg  0x00000006 , 0x00000007 
+ 00017337  0x00003c58 call  0x000043ce 
+ 00017338  0x00003c59 call  0x00003357 
+ 00017339  0x00003c5a branch  0x0000426c 
+ 00017340  0x00003c5e arg  0x00000001 , 0x00000007 
+ 00017341  0x00003c5f branch  0x000043ce 
+ 00017342  0x00003c61 arg  0x00000001 , 0x00000007 
+ 00017343  0x00003c62 branch  0x000043d2 
+ 00017344  0x00003c64 arg  0x00000000 , 0x00000007 
+ 00017345  0x00003c65 branch  0x000043ce 
+ 00017346  0x00003c67 arg  0x00000000 , 0x00000007 
+ 00017347  0x00003c68 branch  0x000043d2 
+ 00017348  0x00003c6a arg  0x00000002 , 0x00000007 
+ 00017349  0x00003c6b branch  0x000043ce 
+ 00017350  0x00003c6d arg  0x00000002 , 0x00000007 
+ 00017351  0x00003c6e branch  0x000043d2 
+ 00017352  0x00003c70 arg  0x00000005 , 0x00000007 
+ 00017353  0x00003c71 branch  0x000043ce 
+ 00017354  0x00003c73 arg  0x00000005 , 0x00000007 
+ 00017355  0x00003c74 branch  0x000043d2 
+ 00017356  0x00003c79 arg  0x00000001 , 0x00000002 
+ 00017357  0x00003c7a rtn 
+ 00017358  0x00003c7d fetch  0x00000004 , 0x000046d3 
+ 00017359  0x00003c7e qset1  0x0000003f 
+ 00017360  0x00003c7f store  0x00000004 , 0x000046d3 
+ 00017361  0x00003c80 rtn 
+ 00017362  0x00003c83 fetch  0x00000004 , 0x000046d3 
+ 00017363  0x00003c84 qset0  0x0000003f 
+ 00017364  0x00003c85 store  0x00000004 , 0x000046d3 
+ 00017365  0x00003c86 rtn 
+ 00017366  0x00003c89 fetch  0x00000004 , 0x000046d3 
+ 00017367  0x00003c8a rtnbit0  0x0000001a 
+ 00017368  0x00003c8b fetch  0x00000001 , 0x000046ce 
+ 00017369  0x00003c8c increase  0x00000001 , 0x0000003f 
+ 00017370  0x00003c8d store  0x00000001 , 0x000046ce 
+ 00017371  0x00003c8e sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00017372  0x00003c8f rtn  0x00000002 
+ 00017373  0x00003c90 jam  0x00000000 , 0x000046ce 
+ 00017374  0x00003c91 call  0x000068eb 
+ 00017375  0x00003c92 call  0x00006908 
+ 00017376  0x00003c93 store  0x00000002 , 0x0000470f 
+ 00017377  0x00003c94 arg  0x00004709 , 0x00000011 
+ 00017378  0x00003c95 call  0x00006930 
+ 00017379  0x00003c96 fetch  0x00000001 , 0x00004231 
+ 00017380  0x00003c97 bbit1  0x00000001 , 0x000044a0 
+ 00017381  0x00003c98 bbit0  0x00000000 , 0x000043e9 
+ 00017382  0x00003c99 branch  0x000043e7 
+ 00017383  0x00003c9b arg  0x00000004 , 0x00000007 
+ 00017384  0x00003c9c branch  0x000043ce 
+ 00017385  0x00003c9e arg  0x00000004 , 0x00000007 
+ 00017386  0x00003c9f branch  0x000043d2 
+ 00017387  0x00003ca2 fetch  0x00000004 , 0x000046d3 
+ 00017388  0x00003ca3 rtnbit0  0x00000004 
+ 00017389  0x00003ca4 fetch  0x00000001 , 0x000046ef 
+ 00017390  0x00003ca5 store  0x00000001 , 0x00004715 
+ 00017391  0x00003ca6 fetch  0x00000001 , 0x000046cf 
+ 00017392  0x00003ca7 pincrease  0x00000001 
+ 00017393  0x00003ca8 store  0x00000001 , 0x000046cf 
+ 00017394  0x00003ca9 sub  0x0000003f , 0x00000014 , 0x0000003e 
+ 00017395  0x00003caa ncall  0x000043f9 , 0x00000002 
+ 00017396  0x00003cab beq  0x00000002 , 0x000043fb 
+ 00017397  0x00003cac beq  0x00000004 , 0x000043fe 
+ 00017398  0x00003cad beq  0x00000006 , 0x000043fb 
+ 00017399  0x00003cae beq  0x00000008 , 0x000043fe 
+ 00017400  0x00003caf rtn 
+ 00017401  0x00003cb1 jam  0x00000001 , 0x000046cf 
+ 00017402  0x00003cb2 branch  0x000043fe 
+ 00017403  0x00003cb4 arg  0x00000000 , 0x00000011 
+ 00017404  0x00003cb5 jam  0x00000002 , 0x00004713 
+ 00017405  0x00003cb6 branch  0x00007d14 
+ 00017406  0x00003cb8 arg  0x00000000 , 0x00000011 
+ 00017407  0x00003cb9 jam  0x00000002 , 0x00004713 
+ 00017408  0x00003cba branch  0x00007d19 
+ 00017409  0x00003cbd call  0x00003f97 
+ 00017410  0x00003cbe nrtn  0x00000028 
+ 00017411  0x00003cbf arg  0x00000007 , 0x00000011 
+ 00017412  0x00003cc0 arg  0x0000469a , 0x00000012 
+ 00017413  0x00003cc1 rtn 
+ 00017414  0x00003cc4 fetch  0x00000001 , 0x0000478b 
+ 00017415  0x00003cc5 rtn  0x00000034 
+ 00017416  0x00003cc7 fetcht  0x00000001 , 0x000046e7 
+ 00017417  0x00003cc8 call  0x0000681d 
+ 00017418  0x00003cc9 call  0x00004410 , 0x00000001 
+ 00017419  0x00003cca fetch  0x00000001 , 0x00004704 
+ 00017420  0x00003ccb nrtn  0x00000034 
+ 00017421  0x00003ccc call  0x00004083 
+ 00017422  0x00003ccd nrtn  0x00000034 
+ 00017423  0x00003cce branch  0x00002d83 
+ 00017424  0x00003cd1 fetch  0x00000001 , 0x000046e7 
+ 00017425  0x00003cd2 rtneq  0x000000ff 
+ 00017426  0x00003cd3 jam  0x0000000a , 0x00004704 
+ 00017427  0x00003cd4 rtn 
+ 00017428  0x00003cd8 call  0x00004423 
+ 00017429  0x00003cd9 fetch  0x00000002 , 0x00004778 
+ 00017430  0x00003cda arg  0x0000aa55 , 0x00000002 
+ 00017431  0x00003cdb isub  0x00000002 , 0x0000003e 
+ 00017432  0x00003cdc branch  0x0000442b , 0x00000005 
+ 00017433  0x00003cdd storet  0x00000002 , 0x00004778 
+ 00017434  0x00003cde call  0x0000441c 
+ 00017435  0x00003cdf branch  0x00004435 
+ 00017436  0x00003ce1 fetch  0x00000006 , 0x000044a0 
+ 00017437  0x00003ce2 store  0x00000006 , 0x00004738 
+ 00017438  0x00003ce3 add  0x0000003f , 0x00000100 , 0x0000003f 
+ 00017439  0x00003ce4 store  0x00000006 , 0x00004755 
+ 00017440  0x00003ce5 add  0x0000003f , 0x00000100 , 0x0000003f 
+ 00017441  0x00003ce6 store  0x00000006 , 0x00004772 
+ 00017442  0x00003ce7 rtn 
+ 00017443  0x00003ceb setarg  0x00004778 
+ 00017444  0x00003cec arg  0x00004720 , 0x00000002 
+ 00017445  0x00003ced isub  0x00000002 , 0x00000002 
+ 00017446  0x00003cee fetch  0x00000003 , 0x00004700 
+ 00017447  0x00003cef iadd  0x00000002 , 0x0000003f 
+ 00017448  0x00003cf0 arg  0x00000002 , 0x00000002 
+ 00017449  0x00003cf1 arg  0x00004778 , 0x00000011 
+ 00017450  0x00003cf2 branch  0x00006562 
+ 00017451  0x00003cf6 setarg  0x0000477f 
+ 00017452  0x00003cf7 arg  0x00004720 , 0x00000002 
+ 00017453  0x00003cf8 isub  0x00000002 , 0x00000002 
+ 00017454  0x00003cf9 fetch  0x00000003 , 0x00004700 
+ 00017455  0x00003cfa arg  0x00004720 , 0x00000011 
+ 00017456  0x00003cfb call  0x00006562 
+ 00017457  0x00003cfc call  0x0000431a 
+ 00017458  0x00003cfd fetch  0x00000004 , 0x0000477b 
+ 00017459  0x00003cfe call  0x00002c7a 
+ 00017460  0x00003cff branch  0x0000322c 
+ 00017461  0x00003d02 setarg  0x0000477f 
+ 00017462  0x00003d03 arg  0x00004720 , 0x00000002 
+ 00017463  0x00003d04 isub  0x00000002 , 0x00000002 
+ 00017464  0x00003d05 arg  0x00004720 , 0x00000011 
+ 00017465  0x00003d06 fetch  0x00000003 , 0x00004700 
+ 00017466  0x00003d07 branch  0x00006514 
+ 00017467  0x00003d0a arg  0x00000001 , 0x00000002 
+ 00017468  0x00003d0b arg  0x0000477a , 0x00000011 
+ 00017469  0x00003d0c arg  0x0000005a , 0x00000012 
+ 00017470  0x00003d0d branch  0x000065d1 
+ 00017471  0x00003d10 arg  0x00000001 , 0x00000002 
+ 00017472  0x00003d11 arg  0x0000477a , 0x00000011 
+ 00017473  0x00003d12 arg  0x0000005a , 0x00000012 
+ 00017474  0x00003d13 branch  0x000065df 
+ 00017475  0x00003d16 rtnmark1  0x00000026 
+ 00017476  0x00003d17 fetch  0x00000004 , 0x000046d3 
+ 00017477  0x00003d18 rtnbit0  0x00000016 
+ 00017478  0x00003d19 fetch  0x00000001 , 0x00004705 
+ 00017479  0x00003d1a pincrease  0x00000001 
+ 00017480  0x00003d1b and  0x0000003f , 0x00000007 , 0x0000003f 
+ 00017481  0x00003d1c store  0x00000001 , 0x00004705 
+ 00017482  0x00003d1d rtnne  0x00000007 
+ 00017483  0x00003d1e fetch  0x00000002 , 0x00004682 
+ 00017484  0x00003d1f bbit1  0x00000000 , 0x0000444f 
+ 00017485  0x00003d20 bbit1  0x00000009 , 0x0000444f 
+ 00017486  0x00003d21 rtn 
+ 00017487  0x00003d27 bpatch  0x000000ee , 0x0000401d 
+ 00017488  0x00003d28 fetch  0x00000001 , 0x00004706 
+ 00017489  0x00003d29 nrtn  0x00000034 
+ 00017490  0x00003d2a fetch  0x00000004 , 0x000046d3 
+ 00017491  0x00003d2b rtnbit0  0x00000008 
+ 00017492  0x00003d2c fetch  0x00000001 , 0x000046a5 
+ 00017493  0x00003d2d call  0x000063fb 
+ 00017494  0x00003d2e store  0x00000001 , 0x000046a6 
+ 00017495  0x00003d2f sub  0x0000003f , 0x00000010 , 0x0000003e 
+ 00017496  0x00003d30 branch  0x0000445b , 0x00000002 
+ 00017497  0x00003d31 jam  0x00000000 , 0x00004706 
+ 00017498  0x00003d32 rtn 
+ 00017499  0x00003d35 jam  0x0000001e , 0x00004706 
+ 00017500  0x00003d36 rtn 
+ 00017501  0x00003d38 arg  0x00004706 , 0x00000013 
+ 00017502  0x00003d39 arg  0x00004460 , 0x00000012 
+ 00017503  0x00003d3a branch  0x0000336d 
+ 00017504  0x00003d3d fetch  0x00000001 , 0x000046a5 
+ 00017505  0x00003d3e call  0x00006414 
+ 00017506  0x00003d3f sub  0x0000003f , 0x00000010 , 0x0000003e 
+ 00017507  0x00003d40 nrtn  0x00000002 
+ 00017508  0x00003d41 fetch  0x00000004 , 0x000046d3 
+ 00017509  0x00003d42 rtnbit0  0x00000008 
+ 00017510  0x00003d43 arg  0x00000008 , 0x00000007 
+ 00017511  0x00003d44 call  0x000043d2 
+ 00017512  0x00003d45 jam  0x00000000 , 0x00004172 
+ 00017513  0x00003d46 jam  0x0000001e , 0x000046c4 
+ 00017514  0x00003d47 call  0x00004482 
+ 00017515  0x00003d48 fetch  0x00000004 , 0x000046d3 
+ 00017516  0x00003d49 bbit1  0x00000015 , 0x00004471 
+ 00017517  0x00003d4b fetch  0x00000001 , 0x00004720 
+ 00017518  0x00003d4c beq  0x00000001 , 0x00004489 
+ 00017519  0x00003d4d beq  0x00000002 , 0x00004476 
+ 00017520  0x00003d4e rtn 
+ 00017521  0x00003d50 fetch  0x00000001 , 0x00004720 
+ 00017522  0x00003d51 beq  0x00000001 , 0x00004489 
+ 00017523  0x00003d52 beq  0x00000002 , 0x0000448c 
+ 00017524  0x00003d53 beq  0x00000003 , 0x0000448f 
+ 00017525  0x00003d54 rtn 
+ 00017526  0x00003d57 fetch  0x00000001 , 0x000046f0 
+ 00017527  0x00003d58 branch  0x0000428f 
+ 00017528  0x00003d5d jam  0x00000020 , 0x00004172 
+ 00017529  0x00003d5e branch  0x00004482 
+ 00017530  0x00003d63 fetch  0x00000001 , 0x000046f0 
+ 00017531  0x00003d64 rtneq  0x000000ff 
+ 00017532  0x00003d65 store  0x00000001 , 0x00004715 
+ 00017533  0x00003d66 branch  0x00004296 
+ 00017534  0x00003d69 fetch  0x00000001 , 0x000046f1 
+ 00017535  0x00003d6a rtneq  0x000000ff 
+ 00017536  0x00003d6b store  0x00000001 , 0x00004715 
+ 00017537  0x00003d6c branch  0x00004296 
+ 00017538  0x00003d6f call  0x00004296 
+ 00017539  0x00003d70 call  0x0000447a 
+ 00017540  0x00003d71 call  0x0000447e 
+ 00017541  0x00003d73 fetch  0x00000001 , 0x000046f2 
+ 00017542  0x00003d74 rtneq  0x000000ff 
+ 00017543  0x00003d75 store  0x00000001 , 0x00004715 
+ 00017544  0x00003d76 branch  0x00004296 
+ 00017545  0x00003d79 fetch  0x00000001 , 0x000046f0 
+ 00017546  0x00003d7a store  0x00000001 , 0x00004715 
+ 00017547  0x00003d7b branch  0x00004298 
+ 00017548  0x00003d7d fetch  0x00000001 , 0x000046f1 
+ 00017549  0x00003d7e store  0x00000001 , 0x00004715 
+ 00017550  0x00003d7f branch  0x00004298 
+ 00017551  0x00003d81 fetch  0x00000001 , 0x000046f2 
+ 00017552  0x00003d82 store  0x00000001 , 0x00004715 
+ 00017553  0x00003d83 branch  0x00004298 
+ 00017554  0x00003d88 bpatch  0x000000ef , 0x0000401d 
+ 00017555  0x00003d89 fetch  0x00000001 , 0x0000471e 
+ 00017556  0x00003d8a increase  0xffffffff , 0x0000003f 
+ 00017557  0x00003d8b store  0x00000001 , 0x0000471e 
+ 00017558  0x00003d8c fetcht  0x00000001 , 0x00004720 
+ 00017559  0x00003d8d increase  0x00000001 , 0x00000002 
+ 00017560  0x00003d8e fetch  0x00000001 , 0x000046d2 
+ 00017561  0x00003d8f isub  0x00000002 , 0x0000003e 
+ 00017562  0x00003d90 ncall  0x000043cc , 0x00000002 
+ 00017563  0x00003d91 storet  0x00000001 , 0x00004720 
+ 00017564  0x00003d92 jam  0x00000000 , 0x000041bd 
+ 00017565  0x00003d93 call  0x0000437a 
+ 00017566  0x00003d94 call  0x000042fb 
+ 00017567  0x00003d95 branch  0x000042a2 
+ 00017568  0x00003d98 call  0x00004482 
+ 00017569  0x00003d99 setarg  0x00000000 
+ 00017570  0x00003d9a store  0x00000008 , 0x000000a1 
+ 00017571  0x00003d9b branch  0x00002b1f 
+ 00017572  0x00003da7 rtn  0x0000002b 
+ 00017573  0x00003da8 hfetch  0x00000001 , 0x00008081 
+ 00017574  0x00003da9 and_into  0x000000f0 , 0x0000003f 
+ 00017575  0x00003daa hstore  0x00000001 , 0x00008081 
+ 00017576  0x00003dab call  0x00006948 
+ 00017577  0x00003dac setarg  0x000044e6 
+ 00017578  0x00003dad store  0x00000002 , 0x000041eb 
+ 00017579  0x00003daf setarg  0x000044e9 
+ 00017580  0x00003db0 store  0x00000002 , 0x000041ed 
+ 00017581  0x00003db2 setarg  0x000044ef 
+ 00017582  0x00003db3 store  0x00000002 , 0x000041f3 
+ 00017583  0x00003db5 setarg  0x000044f2 
+ 00017584  0x00003db6 store  0x00000002 , 0x000041f5 
+ 00017585  0x00003db8 setarg  0x000033d0 
+ 00017586  0x00003db9 store  0x00000002 , 0x000041e9 
+ 00017587  0x00003dbb call  0x00002c7a 
+ 00017588  0x00003dbc setarg  0x000045c2 
+ 00017589  0x00003dbd add  0x00000013 , 0x000000d8 , 0x00000005 
+ 00017590  0x00003dbe istore  0x00000002 , 0x00000005 
+ 00017591  0x00003dc0 setarg  0x000044ea 
+ 00017592  0x00003dc1 add  0x00000013 , 0x000000da , 0x00000005 
+ 00017593  0x00003dc2 istore  0x00000002 , 0x00000005 
+ 00017594  0x00003dc4 setarg  0x000044e9 
+ 00017595  0x00003dc5 add  0x00000013 , 0x000000dc , 0x00000005 
+ 00017596  0x00003dc6 istore  0x00000002 , 0x00000005 
+ 00017597  0x00003dc8 setarg  0x0000450e 
+ 00017598  0x00003dc9 store  0x00000002 , 0x000041fd 
+ 00017599  0x00003dcb setarg  0x000044da 
+ 00017600  0x00003dcc store  0x00000002 , 0x0000475b 
+ 00017601  0x00003dce setarg  0x000044d6 
+ 00017602  0x00003dcf store  0x00000002 , 0x0000475f 
+ 00017603  0x00003dd1 setarg  0x00004560 
+ 00017604  0x00003dd2 store  0x00000002 , 0x0000470f 
+ 00017605  0x00003dd4 bpatch  0x000000f0 , 0x0000401e 
+ 00017606  0x00003dd5 call  0x000044e2 
+ 00017607  0x00003dd6 call  0x00007e38 
+ 00017608  0x00003dd7 jam  0x00000002 , 0x00004172 
+ 00017609  0x00003dd8 fetch  0x00000001 , 0x0000472b 
+ 00017610  0x00003dd9 store  0x00000001 , 0x0000469a 
+ 00017611  0x00003dda beq  0x00000000 , 0x000044d5 
+ 00017612  0x00003ddb fetch  0x00000001 , 0x0000472c 
+ 00017613  0x00003ddc store  0x00000001 , 0x00004686 
+ 00017614  0x00003dde call  0x000044db 
+ 00017615  0x00003ddf call  0x00007cd3 
+ 00017616  0x00003de0 call  0x00007cdd 
+ 00017617  0x00003de1 jam  0x00000001 , 0x00004757 
+ 00017618  0x00003de2 fetch  0x00000002 , 0x00004682 
+ 00017619  0x00003de3 rtnbit1  0x0000000c 
+ 00017620  0x00003de4 branch  0x0000340a 
+ 00017621  0x00003de9 jam  0x00000002 , 0x00004757 
+ 00017622  0x00003deb call  0x000044db 
+ 00017623  0x00003ded arg  0x00000000 , 0x00000011 
+ 00017624  0x00003dee call  0x00007d1e 
+ 00017625  0x00003df0 branch  0x00002ee4 
+ 00017626  0x00003df3 branch  0x000044db 
+ 00017627  0x00003df6 bpatch  0x000000f1 , 0x0000401e 
+ 00017628  0x00003df7 fetch  0x00000001 , 0x00004729 
+ 00017629  0x00003df8 bne  0x000000ff , 0x000044e0 
+ 00017630  0x00003dfa fetcht  0x00000001 , 0x00004706 
+ 00017631  0x00003dfb branch  0x0000680e 
+ 00017632  0x00003dfd store  0x00000001 , 0x00004706 
+ 00017633  0x00003dfe branch  0x000044de 
+ 00017634  0x00003e02 call  0x00002c9d 
+ 00017635  0x00003e03 fetch  0x00000002 , 0x00004753 
+ 00017636  0x00003e04 store  0x00000002 , 0x00004755 
+ 00017637  0x00003e05 branch  0x00004515 
+ 00017638  0x00003e0d call  0x00006835 
+ 00017639  0x00003e0e call  0x000044e9 
+ 00017640  0x00003e0f branch  0x0000340a 
+ 00017641  0x00003e12 branch  0x0000696c 
+ 00017642  0x00003e15 fetch  0x00000001 , 0x00004765 
+ 00017643  0x00003e16 rtn  0x00000034 
+ 00017644  0x00003e18 branch  0x00002d83 
+ 00017645  0x00003e1b rtn 
+ 00017646  0x00003e1e branch  0x00006978 
+ 00017647  0x00003e21 call  0x00004544 
+ 00017648  0x00003e22 call  0x00004503 
+ 00017649  0x00003e23 branch  0x000044ee 
+ 00017650  0x00003e26 copy  0x00000013 , 0x0000003f 
+ 00017651  0x00003e27 beq  0x0000002d , 0x00003431 
+ 00017652  0x00003e28 beq  0x00000010 , 0x0000341a 
+ 00017653  0x00003e29 beq  0x00000039 , 0x000044fb 
+ 00017654  0x00003e2a beq  0x0000003c , 0x000044ff 
+ 00017655  0x00003e2b beq  0x0000003a , 0x000044f9 
+ 00017656  0x00003e2c rtn 
+ 00017657  0x00003e2f jam  0x00000001 , 0x00004765 
+ 00017658  0x00003e30 rtn 
+ 00017659  0x00003e33 jam  0x00000001 , 0x00004765 
+ 00017660  0x00003e34 jam  0x00000001 , 0x00004763 
+ 00017661  0x00003e35 jam  0x00000001 , 0x00004764 
+ 00017662  0x00003e36 rtn 
+ 00017663  0x00003e39 jam  0x00000001 , 0x00004765 
+ 00017664  0x00003e3a jam  0x00000001 , 0x00004763 
+ 00017665  0x00003e3b jam  0x00000001 , 0x00004764 
+ 00017666  0x00003e3c rtn 
+ 00017667  0x00003e3f fetch  0x00000001 , 0x00004763 
+ 00017668  0x00003e40 rtneq  0x00000000 
+ 00017669  0x00003e41 fetch  0x00000001 , 0x00004762 
+ 00017670  0x00003e42 rtneq  0x00000001 
+ 00017671  0x00003e43 jam  0x00000001 , 0x00004762 
+ 00017672  0x00003e45 arg  0x00000000 , 0x00000011 
+ 00017673  0x00003e46 branch  0x00007d19 
+ 00017674  0x00003e48 arg  0x00000000 , 0x00000011 
+ 00017675  0x00003e49 call  0x00007d19 
+ 00017676  0x00003e4a call  0x000044db 
+ 00017677  0x00003e4b branch  0x0000340a 
+ 00017678  0x00003e4e call  0x0000337b 
+ 00017679  0x00003e4f branch  0x00004510 
+ 00017680  0x00003e52 fetch  0x00000001 , 0x0000472d 
+ 00017681  0x00003e53 rtn  0x00000034 
+ 00017682  0x00003e54 arg  0x00004755 , 0x00000013 
+ 00017683  0x00003e55 arg  0x0000450a , 0x00000012 
+ 00017684  0x00003e56 branch  0x00003374 
+ 00017685  0x00003e5a call  0x0000451a 
+ 00017686  0x00003e5b storet  0x00000002 , 0x0000471a 
+ 00017687  0x00003e5c call  0x0000451f 
+ 00017688  0x00003e5d storet  0x00000002 , 0x0000471c 
+ 00017689  0x00003e5e rtn 
+ 00017690  0x00003e61 fetch  0x00000002 , 0x0000471a 
+ 00017691  0x00003e62 store  0x00000002 , 0x0000471e 
+ 00017692  0x00003e63 call  0x00004540 
+ 00017693  0x00003e64 call  0x00004525 
+ 00017694  0x00003e65 store  0x00000001 , 0x00004724 
+ 00017695  0x00003e67 fetch  0x00000002 , 0x0000471c 
+ 00017696  0x00003e68 store  0x00000002 , 0x0000471e 
+ 00017697  0x00003e69 call  0x00004542 
+ 00017698  0x00003e6a call  0x00004525 
+ 00017699  0x00003e6b store  0x00000001 , 0x00004725 
+ 00017700  0x00003e6c rtn 
+ 00017701  0x00003e6e fetch  0x00000002 , 0x00004720 
+ 00017702  0x00003e6f copy  0x0000003f , 0x00000011 
+ 00017703  0x00003e70 fetch  0x00000002 , 0x0000471e 
+ 00017704  0x00003e71 call  0x0000452e 
+ 00017705  0x00003e72 fetch  0x00000001 , 0x00004719 
+ 00017706  0x00003e73 nbranch  0x00004537 , 0x00000034 
+ 00017707  0x00003e74 nrtn  0x00000002 
+ 00017708  0x00003e75 fetcht  0x00000002 , 0x0000471e 
+ 00017709  0x00003e76 rtn 
+ 00017710  0x00003e78 isub  0x00000002 , 0x0000003f 
+ 00017711  0x00003e79 branch  0x00004534 , 0x00000002 
+ 00017712  0x00003e7a sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00017713  0x00003e7b jam  0x00000001 , 0x00004718 
+ 00017714  0x00003e7c isub  0x00000011 , 0x0000003e 
+ 00017715  0x00003e7d rtn 
+ 00017716  0x00003e7f jam  0x00000000 , 0x00004718 
+ 00017717  0x00003e80 isub  0x00000011 , 0x0000003e 
+ 00017718  0x00003e81 rtn 
+ 00017719  0x00003e83 nbranch  0x0000453e , 0x00000002 
+ 00017720  0x00003e84 fetch  0x00000001 , 0x00004718 
+ 00017721  0x00003e85 nbranch  0x0000453c , 0x00000034 
+ 00017722  0x00003e87 setarg  0x00000001 
+ 00017723  0x00003e88 rtn 
+ 00017724  0x00003e8a setarg  0x00000002 
+ 00017725  0x00003e8b rtn 
+ 00017726  0x00003e8d setarg  0x00000000 
+ 00017727  0x00003e8e rtn 
+ 00017728  0x00003e90 jam  0x00000033 , 0x0000422e 
+ 00017729  0x00003e91 branch  0x000068eb 
+ 00017730  0x00003e93 jam  0x00000034 , 0x0000422e 
+ 00017731  0x00003e94 branch  0x000068eb 
+ 00017732  0x00003e98 fetch  0x00000001 , 0x0000472a 
+ 00017733  0x00003e99 rtnne  0x00000001 
+ 00017734  0x00003e9b bpatch  0x000000f2 , 0x0000401e 
+ 00017735  0x00003e9c jam  0x00000001 , 0x00004719 
+ 00017736  0x00003e9d call  0x0000451a 
+ 00017737  0x00003e9e fetch  0x00000002 , 0x00004724 
+ 00017738  0x00003e9f fetcht  0x00000002 , 0x00004722 
+ 00017739  0x00003ea0 isub  0x00000002 , 0x0000003e 
+ 00017740  0x00003ea1 rtn  0x00000005 
+ 00017741  0x00003ea2 store  0x00000002 , 0x00004722 
+ 00017742  0x00003ea3 call  0x00004550 
+ 00017743  0x00003ea4 branch  0x00004554 
+ 00017744  0x00003ea7 fetch  0x00000001 , 0x00004724 
+ 00017745  0x00003ea8 branch  0x0000455a , 0x00000034 
+ 00017746  0x00003ea9 increase  0xffffffff , 0x0000003f 
+ 00017747  0x00003eaa branch  0x00004557 
+ 00017748  0x00003eac fetch  0x00000001 , 0x00004725 
+ 00017749  0x00003ead branch  0x0000455d , 0x00000034 
+ 00017750  0x00003eae increase  0x00000001 , 0x0000003f 
+ 00017751  0x00003eb0 copy  0x0000003f , 0x00000007 
+ 00017752  0x00003eb1 arg  0x00000001 , 0x00000011 
+ 00017753  0x00003eb2 branch  0x00004560 
+ 00017754  0x00003eb5 arg  0x00000000 , 0x00000007 
+ 00017755  0x00003eb6 arg  0x00000000 , 0x00000011 
+ 00017756  0x00003eb7 branch  0x00004560 
+ 00017757  0x00003eb9 arg  0x00000002 , 0x00000007 
+ 00017758  0x00003eba arg  0x00000000 , 0x00000011 
+ 00017759  0x00003ebb branch  0x00004560 
+ 00017760  0x00003ebe copy  0x00000011 , 0x0000003f 
+ 00017761  0x00003ebf store  0x00000001 , 0x00004761 
+ 00017762  0x00003ec0 fetch  0x00000001 , 0x00004763 
+ 00017763  0x00003ec1 beq  0x00000000 , 0x00002ee4 
+ 00017764  0x00003ec2 fetch  0x00000002 , 0x00004753 
+ 00017765  0x00003ec3 store  0x00000002 , 0x00004755 
+ 00017766  0x00003ec4 fetch  0x00000001 , 0x00004761 
+ 00017767  0x00003ec5 branch  0x00004580 , 0x00000034 
+ 00017768  0x00003ec7 bpatch  0x000000f3 , 0x0000401e 
+ 00017769  0x00003ec8 arg  0x00000000 , 0x00000011 
+ 00017770  0x00003ec9 call  0x00007d14 
+ 00017771  0x00003ecb copy  0x00000007 , 0x0000003f 
+ 00017772  0x00003ecc beq  0x00000004 , 0x000045a3 
+ 00017773  0x00003ecd beq  0x00000005 , 0x000045a5 
+ 00017774  0x00003ece beq  0x00000006 , 0x000045a7 
+ 00017775  0x00003ed2 call  0x0000458b 
+ 00017776  0x00003ed3 beq  0x00000000 , 0x00004574 
+ 00017777  0x00003ed4 beq  0x00000002 , 0x0000457a 
+ 00017778  0x00003ed5 beq  0x00000003 , 0x00004574 
+ 00017779  0x00003ed6 rtn 
+ 00017780  0x00003ed9 copy  0x00000007 , 0x0000003f 
+ 00017781  0x00003eda beq  0x00000000 , 0x0000458f 
+ 00017782  0x00003edb beq  0x00000001 , 0x00004591 
+ 00017783  0x00003edc beq  0x00000002 , 0x00004593 
+ 00017784  0x00003edd beq  0x00000003 , 0x00004595 
+ 00017785  0x00003ede rtn 
+ 00017786  0x00003ee1 copy  0x00000007 , 0x0000003f 
+ 00017787  0x00003ee2 beq  0x00000000 , 0x00004597 
+ 00017788  0x00003ee3 beq  0x00000001 , 0x0000459a 
+ 00017789  0x00003ee4 beq  0x00000002 , 0x0000459d 
+ 00017790  0x00003ee5 beq  0x00000003 , 0x000045a0 
+ 00017791  0x00003ee6 rtn 
+ 00017792  0x00003ee9 bpatch  0x000000f4 , 0x0000401e 
+ 00017793  0x00003eea arg  0x00000000 , 0x00000011 
+ 00017794  0x00003eeb call  0x00007d19 
+ 00017795  0x00003eed copy  0x00000007 , 0x0000003f 
+ 00017796  0x00003eee beq  0x00000004 , 0x000045bc 
+ 00017797  0x00003eef beq  0x00000005 , 0x000045bc 
+ 00017798  0x00003ef3 call  0x0000458b 
+ 00017799  0x00003ef4 beq  0x00000000 , 0x000045a9 
+ 00017800  0x00003ef5 beq  0x00000002 , 0x000045af 
+ 00017801  0x00003ef6 beq  0x00000003 , 0x000045a9 
+ 00017802  0x00003ef7 rtn 
+ 00017803  0x00003efa fetch  0x00000001 , 0x00004728 
+ 00017804  0x00003efb fetcht  0x00000001 , 0x00004727 
+ 00017805  0x00003efc ior  0x00000002 , 0x0000003f 
+ 00017806  0x00003efd rtn 
+ 00017807  0x00003f01 jam  0x00000001 , 0x00004734 
+ 00017808  0x00003f02 branch  0x000045be 
+ 00017809  0x00003f04 jam  0x00000002 , 0x00004734 
+ 00017810  0x00003f05 branch  0x000045be 
+ 00017811  0x00003f07 jam  0x00000001 , 0x00004736 
+ 00017812  0x00003f08 branch  0x000045be 
+ 00017813  0x00003f0a jam  0x00000002 , 0x00004736 
+ 00017814  0x00003f0b branch  0x000045be 
+ 00017815  0x00003f0f jam  0x00000001 , 0x00004734 
+ 00017816  0x00003f10 jam  0x00000001 , 0x00004736 
+ 00017817  0x00003f11 branch  0x000045be 
+ 00017818  0x00003f13 jam  0x00000002 , 0x00004734 
+ 00017819  0x00003f14 jam  0x00000002 , 0x00004736 
+ 00017820  0x00003f15 branch  0x000045be 
+ 00017821  0x00003f17 jam  0x00000002 , 0x00004734 
+ 00017822  0x00003f18 jam  0x00000001 , 0x00004736 
+ 00017823  0x00003f19 branch  0x000045be 
+ 00017824  0x00003f1b jam  0x00000001 , 0x00004734 
+ 00017825  0x00003f1c jam  0x00000002 , 0x00004736 
+ 00017826  0x00003f1d branch  0x000045be 
+ 00017827  0x00003f21 jam  0x00000001 , 0x00004738 
+ 00017828  0x00003f22 branch  0x000045be 
+ 00017829  0x00003f24 jam  0x00000002 , 0x00004738 
+ 00017830  0x00003f25 branch  0x000045be 
+ 00017831  0x00003f28 jam  0x00000001 , 0x00004741 
+ 00017832  0x00003f29 branch  0x000045c0 
+ 00017833  0x00003f2c copy  0x00000007 , 0x0000003f 
+ 00017834  0x00003f2d beq  0x00000000 , 0x000045b5 
+ 00017835  0x00003f2e beq  0x00000001 , 0x000045b5 
+ 00017836  0x00003f2f beq  0x00000002 , 0x000045b7 
+ 00017837  0x00003f30 beq  0x00000003 , 0x000045b7 
+ 00017838  0x00003f31 rtn 
+ 00017839  0x00003f34 copy  0x00000007 , 0x0000003f 
+ 00017840  0x00003f35 beq  0x00000000 , 0x000045b9 
+ 00017841  0x00003f36 beq  0x00000001 , 0x000045b9 
+ 00017842  0x00003f37 beq  0x00000002 , 0x000045b9 
+ 00017843  0x00003f38 beq  0x00000003 , 0x000045b9 
+ 00017844  0x00003f39 rtn 
+ 00017845  0x00003f3d jam  0x00000000 , 0x00004734 
+ 00017846  0x00003f3e branch  0x000045be 
+ 00017847  0x00003f41 jam  0x00000000 , 0x00004736 
+ 00017848  0x00003f42 branch  0x000045be 
+ 00017849  0x00003f48 jam  0x00000000 , 0x00004734 
+ 00017850  0x00003f49 jam  0x00000000 , 0x00004736 
+ 00017851  0x00003f4a branch  0x000045be 
+ 00017852  0x00003f4e jam  0x00000000 , 0x00004738 
+ 00017853  0x00003f4f branch  0x000045be 
+ 00017854  0x00003f52 arg  0x0000472e , 0x00000011 
+ 00017855  0x00003f53 branch  0x00007e3d 
+ 00017856  0x00003f55 arg  0x0000473b , 0x00000011 
+ 00017857  0x00003f56 branch  0x00007e3d 
+ 00017858  0x00003f59 fetch  0x00000001 , 0x00004764 
+ 00017859  0x00003f5a beq  0x00000001 , 0x000045cc 
+ 00017860  0x00003f5b arg  0x00004744 , 0x00000011 
+ 00017861  0x00003f5c call  0x00007e54 
+ 00017862  0x00003f5d nbranch  0x000045d1 , 0x00000028 
+ 00017863  0x00003f5f arg  0x00004744 , 0x00000006 
+ 00017864  0x00003f60 ifetch  0x00000001 , 0x00000006 
+ 00017865  0x00003f61 copy  0x0000003f , 0x00000011 
+ 00017866  0x00003f62 arg  0x00004745 , 0x00000012 
+ 00017867  0x00003f65 rtn 
+ 00017868  0x00003f68 jam  0x00000000 , 0x00004764 
+ 00017869  0x00003f69 enable  0x00000028 
+ 00017870  0x00003f6a arg  0x00000001 , 0x00000011 
+ 00017871  0x00003f6b arg  0x00004766 , 0x00000012 
+ 00017872  0x00003f6c rtn 
+ 00017873  0x00003f6f fetch  0x00000001 , 0x00004747 
+ 00017874  0x00003f70 beq  0x00000004 , 0x000045d5 
+ 00017875  0x00003f71 beq  0x00000005 , 0x000045d5 
+ 00017876  0x00003f72 rtn 
+ 00017877  0x00003f74 fetch  0x00000001 , 0x0000474a 
+ 00017878  0x00003f75 nbranch  0x000045dc , 0x00000034 
+ 00017879  0x00003f76 fetch  0x00000001 , 0x0000474c 
+ 00017880  0x00003f77 nbranch  0x000045dc , 0x00000034 
+ 00017881  0x00003f78 fetch  0x00000001 , 0x0000474e 
+ 00017882  0x00003f79 nbranch  0x000045dc , 0x00000034 
+ 00017883  0x00003f7a rtn 
+ 00017884  0x00003f7c enable  0x00000028 
+ 00017885  0x00003f7d branch  0x000045c7 
+ 00017886  0x00003f86 rtn  0x0000002b 
+ 00017887  0x00003f87 hfetch  0x00000001 , 0x00008081 
+ 00017888  0x00003f88 and_into  0x000000fc , 0x0000003f 
+ 00017889  0x00003f89 hstore  0x00000001 , 0x00008081 
+ 00017890  0x00003f8a setarg  0x000046b4 
+ 00017891  0x00003f8b store  0x00000002 , 0x000041eb 
+ 00017892  0x00003f8d setarg  0x000046b3 
+ 00017893  0x00003f8e store  0x00000002 , 0x000041ed 
+ 00017894  0x00003f90 setarg  0x0000340a 
+ 00017895  0x00003f91 store  0x00000002 , 0x000041f7 
+ 00017896  0x00003f93 setarg  0x000046b1 
+ 00017897  0x00003f94 store  0x00000002 , 0x000041f3 
+ 00017898  0x00003f96 setarg  0x00004612 
+ 00017899  0x00003f97 store  0x00000002 , 0x000041f5 
+ 00017900  0x00003f99 setarg  0x0000460c 
+ 00017901  0x00003f9a store  0x00000002 , 0x000041e9 
+ 00017902  0x00003f9c setarg  0x0000476a 
+ 00017903  0x00003f9d store  0x00000002 , 0x000041f9 
+ 00017904  0x00003f9f setarg  0x00004686 
+ 00017905  0x00003fa0 store  0x00000002 , 0x000041fd 
+ 00017906  0x00003fa2 setarg  0x00004729 
+ 00017907  0x00003fa3 store  0x00000002 , 0x000046e7 
+ 00017908  0x00003fa5 setarg  0x00004806 
+ 00017909  0x00003fa6 store  0x00000002 , 0x000046e2 
+ 00017910  0x00003fa7 setarg  0x00004807 
+ 00017911  0x00003fa8 store  0x00000002 , 0x000046e4 
+ 00017912  0x00003faa call  0x000057a3 
+ 00017913  0x00003fab call  0x000047da 
+ 00017914  0x00003fac call  0x00004788 
+ 00017915  0x00003fad call  0x0000476d 
+ 00017916  0x00003fae call  0x00006948 
+ 00017917  0x00003faf call  0x0000477a 
+ 00017918  0x00003fb0 call  0x00007e38 
+ 00017919  0x00003fb1 call  0x00007d08 
+ 00017920  0x00003fb2 call  0x00004793 
+ 00017921  0x00003fb3 call  0x000047c7 
+ 00017922  0x00003fb5 bpatch  0x000000f5 , 0x0000401e 
+ 00017923  0x00003fb6 call  0x0000464f 
+ 00017924  0x00003fb7 fetch  0x00000001 , 0x000046dd 
+ 00017925  0x00003fb8 beq  0x00000000 , 0x00004609 
+ 00017926  0x00003fb9 fetch  0x00000001 , 0x000046de 
+ 00017927  0x00003fba store  0x00000001 , 0x00004686 
+ 00017928  0x00003fbb branch  0x0000480e 
+ 00017929  0x00003fbf jam  0x000000ff , 0x00004686 
+ 00017930  0x00003fc0 jam  0x00000001 , 0x000046df 
+ 00017931  0x00003fc1 branch  0x000046d9 
+ 00017932  0x00003fc6 fetch  0x00000001 , 0x000046df 
+ 00017933  0x00003fc7 beq  0x00000002 , 0x000033d0 
+ 00017934  0x00003fc8 call  0x0000527e 
+ 00017935  0x00003fc9 fetch  0x00000001 , 0x00004256 
+ 00017936  0x00003fca nbranch  0x000033d0 , 0x00000034 
+ 00017937  0x00003fcb branch  0x000033d2 
+ 00017938  0x00003fd0 copy  0x00000013 , 0x0000003f 
+ 00017939  0x00003fd2 beq  0x00000001 , 0x00004626 
+ 00017940  0x00003fd3 beq  0x00000002 , 0x00004629 
+ 00017941  0x00003fd4 beq  0x00000004 , 0x00004631 
+ 00017942  0x00003fd5 beq  0x00000005 , 0x00004633 
+ 00017943  0x00003fd6 beq  0x00000006 , 0x00004635 
+ 00017944  0x00003fd7 beq  0x00000007 , 0x00004638 
+ 00017945  0x00003fd8 beq  0x00000012 , 0x0000463c 
+ 00017946  0x00003fd9 beq  0x00000013 , 0x00004644 
+ 00017947  0x00003fda beq  0x00000027 , 0x00004645 
+ 00017948  0x00003fdb beq  0x0000002e , 0x00004648 
+ 00017949  0x00003fdc beq  0x0000003d , 0x00004649 
+ 00017950  0x00003fde beq  0x00000014 , 0x00004658 
+ 00017951  0x00003fdf beq  0x00000015 , 0x0000465c 
+ 00017952  0x00003fe0 beq  0x0000003f , 0x0000465f 
+ 00017953  0x00003fe1 beq  0x00000040 , 0x00004665 
+ 00017954  0x00003fe3 beq  0x00000010 , 0x0000466b 
+ 00017955  0x00003fe4 beq  0x0000002c , 0x0000466c 
+ 00017956  0x00003fe5 beq  0x0000002d , 0x00004677 
+ 00017957  0x00003fe6 rtn 
+ 00017958  0x00003fec jam  0x00000000 , 0x000046ad 
+ 00017959  0x00003fed jam  0x00000000 , 0x000046ac 
+ 00017960  0x00003fee rtn 
+ 00017961  0x00003ff2 call  0x0000462b 
+ 00017962  0x00003ff3 branch  0x00004631 
+ 00017963  0x00003ff6 jam  0x00000000 , 0x000041e2 
+ 00017964  0x00003ff7 jam  0x00000000 , 0x00004680 
+ 00017965  0x00003ff8 jam  0x00000000 , 0x00004205 
+ 00017966  0x00003ff9 jam  0x00000000 , 0x000046ac 
+ 00017967  0x00003ffa jam  0x00000000 , 0x000046ad 
+ 00017968  0x00003ffb branch  0x00007e38 
+ 00017969  0x00003fff call  0x000033a9 
+ 00017970  0x00004000 branch  0x000046c2 
+ 00017971  0x00004004 call  0x000046b6 
+ 00017972  0x00004005 branch  0x00003408 
+ 00017973  0x00004009 setarg  0x00000002 
+ 00017974  0x0000400a store  0x00000001 , 0x00004680 
+ 00017975  0x0000400b rtn 
+ 00017976  0x0000400f jam  0x00000000 , 0x000046ac 
+ 00017977  0x00004010 setarg  0x00000001 
+ 00017978  0x00004011 store  0x00000001 , 0x000046ad 
+ 00017979  0x00004012 rtn 
+ 00017980  0x00004016 fetch  0x00000001 , 0x000041e2 
+ 00017981  0x00004017 rtneq  0x00000001 
+ 00017982  0x00004018 jam  0x00000001 , 0x000041e2 
+ 00017983  0x00004019 call  0x00003416 
+ 00017984  0x0000401a call  0x00003414 
+ 00017985  0x0000401b call  0x000046b6 
+ 00017986  0x0000401c call  0x00003408 
+ 00017987  0x0000401d branch  0x0000340e 
+ 00017988  0x00004021 branch  0x00004631 
+ 00017989  0x00004025 setarg  0x00000005 
+ 00017990  0x00004026 store  0x00000001 , 0x000046ac 
+ 00017991  0x00004027 rtn 
+ 00017992  0x0000402b branch  0x000033cd 
+ 00017993  0x00004030 arg  0x00000000 , 0x00000012 
+ 00017994  0x00004031 fetch  0x00000001 , 0x00004217 
+ 00017995  0x00004032 mul32  0x0000003f , 0x00000022 , 0x00000002 
+ 00017996  0x00004033 fetch  0x00000002 , 0x00004215 
+ 00017997  0x00004034 copy  0x0000003f , 0x00000011 
+ 00017998  0x00004035 branch  0x00006606 
+ 00017999  0x00004038 arg  0x00000000 , 0x00000012 
+ 00018000  0x00004039 fetch  0x00000001 , 0x0000469a 
+ 00018001  0x0000403a rtnbit0  0x00000001 
+ 00018002  0x0000403b fetch  0x00000001 , 0x00004217 
+ 00018003  0x0000403c rtn  0x00000034 
+ 00018004  0x0000403d mul32  0x0000003f , 0x00000022 , 0x00000002 
+ 00018005  0x0000403e fetch  0x00000002 , 0x00004215 
+ 00018006  0x0000403f copy  0x0000003f , 0x00000011 
+ 00018007  0x00004040 branch  0x000065df 
+ 00018008  0x00004045 call  0x000046b6 
+ 00018009  0x00004046 setarg  0x00000000 
+ 00018010  0x00004047 store  0x00000002 , 0x000046b7 
+ 00018011  0x00004048 branch  0x00003408 
+ 00018012  0x0000404c call  0x00007e38 
+ 00018013  0x0000404d jam  0x00000000 , 0x000046b0 
+ 00018014  0x0000404e branch  0x000046d9 
+ 00018015  0x00004052 call  0x00007e38 
+ 00018016  0x00004053 jam  0x00000001 , 0x000046b0 
+ 00018017  0x00004054 fetch  0x00000008 , 0x000046c1 
+ 00018018  0x00004055 store  0x00000008 , 0x00004496 
+ 00018019  0x00004056 call  0x00003416 
+ 00018020  0x00004057 branch  0x00005abf 
+ 00018021  0x0000405b fetch  0x00000002 , 0x00004509 
+ 00018022  0x0000405c rtneq  0x00000000 
+ 00018023  0x0000405d fetch  0x00000008 , 0x000046c9 
+ 00018024  0x0000405e rtn  0x00000034 
+ 00018025  0x0000405f store  0x00000008 , 0x00004496 
+ 00018026  0x00004060 branch  0x00005abf 
+ 00018027  0x00004065 branch  0x0000481f 
+ 00018028  0x00004068 fetch  0x00000001 , 0x000046dd 
+ 00018029  0x00004069 rtneq  0x00000000 
+ 00018030  0x0000406a fetch  0x00000001 , 0x000046df 
+ 00018031  0x0000406b rtnne  0x00000001 
+ 00018032  0x0000406c call  0x00004672 
+ 00018033  0x0000406d branch  0x00003406 
+ 00018034  0x00004070 jam  0x00000001 , 0x000048df 
+ 00018035  0x00004071 arg  0x0000000b , 0x00000039 
+ 00018036  0x00004072 arg  0x000048e0 , 0x00000005 
+ 00018037  0x00004073 arg  0x000048c9 , 0x00000006 
+ 00018038  0x00004074 branch  0x00007f01 
+ 00018039  0x00004077 fetch  0x00000001 , 0x000046dd 
+ 00018040  0x00004078 rtneq  0x00000000 
+ 00018041  0x00004079 fetch  0x00000001 , 0x000046df 
+ 00018042  0x0000407a beq  0x00000001 , 0x0000467c 
+ 00018043  0x0000407b branch  0x0000481b 
+ 00018044  0x0000407e fetch  0x00000001 , 0x000048df 
+ 00018045  0x0000407f rtnne  0x00000001 
+ 00018046  0x00004080 jam  0x00000000 , 0x000048df 
+ 00018047  0x00004081 fetch  0x00000002 , 0x00004682 
+ 00018048  0x00004082 bbit1  0x00000000 , 0x00003408 
+ 00018049  0x00004083 bbit1  0x00000009 , 0x00003408 
+ 00018050  0x00004084 arg  0x0000000b , 0x00000039 
+ 00018051  0x00004085 arg  0x000048e0 , 0x00000006 
+ 00018052  0x00004086 arg  0x000048c9 , 0x00000005 
+ 00018053  0x00004087 branch  0x00007f01 
+ 00018054  0x0000408e call  0x0000468c 
+ 00018055  0x00004091 call  0x00004693 
+ 00018056  0x00004094 call  0x0000469e 
+ 00018057  0x00004095 call  0x000046a6 
+ 00018058  0x00004096 call  0x000046a9 
+ 00018059  0x00004099 branch  0x000046ac 
+ 00018060  0x0000409e arg  0x000046db , 0x00000013 
+ 00018061  0x0000409f arg  0x0000468f , 0x00000012 
+ 00018062  0x000040a0 branch  0x00003374 
+ 00018063  0x000040a2 jam  0x00000002 , 0x000046df 
+ 00018064  0x000040a3 call  0x00003408 
+ 00018065  0x000040a4 call  0x000046f4 
+ 00018066  0x000040a5 branch  0x0000480b 
+ 00018067  0x000040a9 arg  0x000048ec , 0x00000013 
+ 00018068  0x000040aa arg  0x00004696 , 0x00000012 
+ 00018069  0x000040ab branch  0x0000336d 
+ 00018070  0x000040ae fetch  0x00000002 , 0x00004682 
+ 00018071  0x000040af bbit1  0x00000009 , 0x0000480b 
+ 00018072  0x000040b0 bbit1  0x00000000 , 0x0000480b 
+ 00018073  0x000040b1 fetch  0x00000001 , 0x000048c9 
+ 00018074  0x000040b2 beq  0x00000001 , 0x0000480b 
+ 00018075  0x000040b3 beq  0x00000004 , 0x0000480b 
+ 00018076  0x000040b4 beq  0x00000005 , 0x0000480b 
+ 00018077  0x000040b5 branch  0x0000340a 
+ 00018078  0x000040ba arg  0x000046ac , 0x00000013 
+ 00018079  0x000040bb arg  0x000046a1 , 0x00000012 
+ 00018080  0x000040bc branch  0x0000336d 
+ 00018081  0x000040bf fetch  0x00000001 , 0x0000027f 
+ 00018082  0x000040c0 set1  0x00000000 , 0x0000003f 
+ 00018083  0x000040c1 set1  0x00000007 , 0x0000003f 
+ 00018084  0x000040c2 store  0x00000001 , 0x0000027f 
+ 00018085  0x000040c3 rtn 
+ 00018086  0x000040c6 arg  0x00004680 , 0x00000013 
+ 00018087  0x000040c7 arg  0x0000463c , 0x00000012 
+ 00018088  0x000040c8 branch  0x0000336d 
+ 00018089  0x000040cb arg  0x000046ad , 0x00000013 
+ 00018090  0x000040cc arg  0x000033e9 , 0x00000012 
+ 00018091  0x000040cd branch  0x0000336d 
+ 00018092  0x000040d3 fetch  0x00000001 , 0x000046df 
+ 00018093  0x000040d4 rtnne  0x00000001 
+ 00018094  0x000040d5 arg  0x000046b7 , 0x00000013 
+ 00018095  0x000040d6 arg  0x000046c2 , 0x00000012 
+ 00018096  0x000040d7 branch  0x00003374 
+ 00018097  0x000040db call  0x0000473a 
+ 00018098  0x000040dc branch  0x00006978 
+ 00018099  0x000040e0 branch  0x0000696c 
+ 00018100  0x000040e3 call  0x00006835 
+ 00018101  0x000040e4 branch  0x000046b3 
+ 00018102  0x000040eb fetch  0x00000001 , 0x0000469a 
+ 00018103  0x000040ec bbit1  0x00000001 , 0x000046be 
+ 00018104  0x000040ed bbit1  0x00000000 , 0x000046ba 
+ 00018105  0x000040ee rtn 
+ 00018106  0x000040f1 fetch  0x00000002 , 0x000046d7 
+ 00018107  0x000040f2 store  0x00000002 , 0x000046d9 
+ 00018108  0x000040f3 store  0x00000002 , 0x000046db 
+ 00018109  0x000040f4 branch  0x000033f8 
+ 00018110  0x000040f7 fetch  0x00000002 , 0x000046d3 
+ 00018111  0x000040f8 store  0x00000002 , 0x000046d9 
+ 00018112  0x000040f9 store  0x00000002 , 0x000046db 
+ 00018113  0x000040fa branch  0x000033f0 
+ 00018114  0x000040fd fetch  0x00000001 , 0x000046df 
+ 00018115  0x000040fe rtnne  0x00000001 
+ 00018116  0x000040ff fetch  0x00000001 , 0x0000469a 
+ 00018117  0x00004100 bbit1  0x00000001 , 0x000046c8 
+ 00018118  0x00004101 bbit1  0x00000000 , 0x000046cc 
+ 00018119  0x00004102 rtn 
+ 00018120  0x00004105 fetch  0x00000002 , 0x000046d1 ,
+ 00018121  0x00004106 store  0x00000002 , 0x000046d9 
+ 00018122  0x00004107 store  0x00000002 , 0x000046db 
+ 00018123  0x00004108 branch  0x000033eb 
+ 00018124  0x0000410b fetch  0x00000002 , 0x00004682 
+ 00018125  0x0000410c rtnbit1  0x00000009 
+ 00018126  0x0000410d fetch  0x00000002 , 0x000046d5 
+ 00018127  0x0000410e store  0x00000002 , 0x000046d9 
+ 00018128  0x0000410f store  0x00000002 , 0x000046db 
+ 00018129  0x00004110 fetch  0x00000002 , 0x000046b3 
+ 00018130  0x00004111 call  0x000046f0 
+ 00018131  0x00004112 call  0x00003404 
+ 00018132  0x00004113 fetch  0x00000004 , 0x000046bd 
+ 00018133  0x00004114 store  0x00000004 , 0x000048cc 
+ 00018134  0x00004115 fetch  0x00000002 , 0x00004682 
+ 00018135  0x00004116 rtnbit1  0x0000000b 
+ 00018136  0x00004117 branch  0x000033fa 
+ 00018137  0x0000411b fetch  0x00000001 , 0x000046df 
+ 00018138  0x0000411c rtnne  0x00000001 
+ 00018139  0x0000411d fetch  0x00000001 , 0x0000469a 
+ 00018140  0x0000411e bbit1  0x00000001 , 0x000046df 
+ 00018141  0x0000411f bbit1  0x00000000 , 0x000046e4 
+ 00018142  0x00004120 rtn 
+ 00018143  0x00004123 call  0x000046f8 
+ 00018144  0x00004124 branch  0x000046c2 , 0x00000034 
+ 00018145  0x00004125 call  0x00003406 
+ 00018146  0x00004126 call  0x000033f0 
+ 00018147  0x00004127 branch  0x000033e1 
+ 00018148  0x0000412a fetch  0x00000002 , 0x000046b7 
+ 00018149  0x0000412b fetcht  0x00000002 , 0x000046b5 
+ 00018150  0x0000412c storet  0x00000002 , 0x000046b7 
+ 00018151  0x0000412d nrtn  0x00000034 
+ 00018152  0x0000412e fetch  0x00000002 , 0x000046b1 
+ 00018153  0x0000412f call  0x000046f0 
+ 00018154  0x00004130 call  0x00003404 
+ 00018155  0x00004131 fetch  0x00000004 , 0x000046b9 
+ 00018156  0x00004132 store  0x00000004 , 0x000048cc 
+ 00018157  0x00004133 fetch  0x00000002 , 0x00004682 
+ 00018158  0x00004134 rtnbit1  0x0000000b 
+ 00018159  0x00004135 branch  0x000033fa 
+ 00018160  0x00004139 store  0x00000002 , 0x00004154 
+ 00018161  0x0000413a increase  0xfffffffc , 0x0000003f 
+ 00018162  0x0000413b store  0x00000002 , 0x00004482 
+ 00018163  0x0000413c rtn 
+ 00018164  0x00004140 fetch  0x00000002 , 0x00004682 
+ 00018165  0x00004141 bbit1  0x00000009 , 0x00003402 
+ 00018166  0x00004142 bbit1  0x00000000 , 0x000033e9 
+ 00018167  0x00004143 branch  0x000046b6 
+ 00018168  0x00004148 fetch  0x00000001 , 0x00004217 
+ 00018169  0x00004149 copy  0x0000003f , 0x00000039 
+ 00018170  0x0000414a fetch  0x00000002 , 0x00004215 
+ 00018171  0x0000414b copy  0x0000003f , 0x00000011 
+ 00018172  0x0000414d ifetch  0x00000002 , 0x00000011 
+ 00018173  0x0000414e beq  0x00000000 , 0x00004701 
+ 00018174  0x0000414f increase  0x00000022 , 0x00000011 
+ 00018175  0x00004150 loop  0x000046fc 
+ 00018176  0x00004151 branch  0x00007ff1 
+ 00018177  0x00004154 ifetch  0x00000006 , 0x00000006 
+ 00018178  0x00004155 store  0x00000006 , 0x000041d0 
+ 00018179  0x00004156 increase  0x0000000a , 0x00000006 
+ 00018180  0x00004157 arg  0x000041be , 0x00000005 
+ 00018181  0x00004158 call  0x00007ebf 
+ 00018182  0x00004159 call  0x000067d7 
+ 00018183  0x0000415a branch  0x00007fef 
+ 00018184  0x00004161 call  0x00007fe9 
+ 00018185  0x00004162 fetch  0x00000002 , 0x00004682 
+ 00018186  0x00004163 bbit1  0x00000000 , 0x0000470d 
+ 00018187  0x00004164 bbit1  0x00000009 , 0x00004710 
+ 00018188  0x00004165 rtn 
+ 00018189  0x00004168 fetch  0x00000001 , 0x00004253 
+ 00018190  0x00004169 rtnne  0x0000003f 
+ 00018191  0x0000416a branch  0x00007fe7 
+ 00018192  0x0000416d fetch  0x00000001 , 0x000046b0 
+ 00018193  0x0000416e rtn  0x00000034 
+ 00018194  0x0000416f branch  0x00007fe7 
+ 00018195  0x00004175 call  0x00007fe9 
+ 00018196  0x00004176 fetch  0x00000002 , 0x00004682 
+ 00018197  0x00004177 rtnbit1  0x00000000 
+ 00018198  0x00004178 rtnbit1  0x00000009 
+ 00018199  0x00004179 branch  0x00007fe7 
+ 00018200  0x0000417e fetch  0x00000001 , 0x0000469a 
+ 00018201  0x0000417f bbit1  0x00000001 , 0x0000471c 
+ 00018202  0x00004180 bbit1  0x00000000 , 0x0000471f 
+ 00018203  0x00004181 rtn 
+ 00018204  0x00004184 fetch  0x00000001 , 0x00004093 
+ 00018205  0x00004185 rtnne  0x00000003 
+ 00018206  0x00004186 branch  0x000046d9 
+ 00018207  0x00004189 branch  0x000046d9 
+ 00018208  0x0000418d disable  0x0000002c 
+ 00018209  0x0000418e fetch  0x00000002 , 0x000046d9 
+ 00018210  0x0000418f store  0x00000002 , 0x000046db 
+ 00018211  0x00004191 call  0x00004713 
+ 00018212  0x00004192 branch  0x00004718 , 0x00000028 
+ 00018213  0x00004194 call  0x00004708 
+ 00018214  0x00004195 nrtn  0x00000028 
+ 00018215  0x00004196 enable  0x0000002c 
+ 00018216  0x00004197 rtn 
+ 00018217  0x0000419c call  0x00004720 
+ 00018218  0x0000419d nrtn  0x0000002c 
+ 00018219  0x0000419e deposit  0x00000011 
+ 00018220  0x0000419f branch  0x00004730 , 0x00000034 
+ 00018221  0x000041a1 call  0x00003406 
+ 00018222  0x000041a2 arg  0x000046f1 , 0x00000013 
+ 00018223  0x000041a3 branch  0x00004732 
+ 00018224  0x000041a6 call  0x00003408 
+ 00018225  0x000041a7 arg  0x00004719 , 0x00000013 
+ 00018226  0x000041aa arg  0x00000005 , 0x0000003f 
+ 00018227  0x000041ab imul32  0x00000007 , 0x0000003f 
+ 00018228  0x000041ac iadd  0x00000013 , 0x00000013 
+ 00018229  0x000041b0 ifetch  0x00000001 , 0x00000013 
+ 00018230  0x000041b1 rtn  0x00000034 
+ 00018231  0x000041b2 call  0x00004762 
+ 00018232  0x000041b3 increase  0x00000001 , 0x00000013 
+ 00018233  0x000041b4 branch  0x00004735 
+ 00018234  0x000041b8 fetch  0x00000002 , 0x00004682 
+ 00018235  0x000041b9 bbit1  0x00000009 , 0x0000473e 
+ 00018236  0x000041ba bbit1  0x00000000 , 0x0000474e 
+ 00018237  0x000041bb rtn 
+ 00018238  0x000041be call  0x00005892 
+ 00018239  0x000041bf nrtn  0x00000034 
+ 00018240  0x000041c0 call  0x00004765 
+ 00018241  0x000041c1 nrtn  0x00000028 
+ 00018242  0x000041c2 pincrease  0xffffffff 
+ 00018243  0x000041c3 mul32  0x0000003f , 0x00000005 , 0x0000003f 
+ 00018244  0x000041c4 arg  0x00004741 , 0x00000002 
+ 00018245  0x000041c5 iadd  0x00000002 , 0x00000006 
+ 00018246  0x000041c7 ifetch  0x00000001 , 0x00000006 
+ 00018247  0x000041c8 copy  0x0000003f , 0x00000011 
+ 00018248  0x000041c9 ifetcht  0x00000002 , 0x00000006 
+ 00018249  0x000041ca call  0x00007ea5 
+ 00018250  0x000041cb call  0x00005a64 
+ 00018251  0x000041cc copy  0x00000011 , 0x00000039 
+ 00018252  0x000041cd call  0x00007e9f 
+ 00018253  0x000041ce branch  0x00007f01 
+ 00018254  0x000041d2 call  0x00005271 
+ 00018255  0x000041d3 nrtn  0x00000034 
+ 00018256  0x000041d4 call  0x00004765 
+ 00018257  0x000041d5 nrtn  0x00000028 
+ 00018258  0x000041d6 pincrease  0xffffffff 
+ 00018259  0x000041d7 mul32  0x0000003f , 0x00000005 , 0x0000003f 
+ 00018260  0x000041d8 arg  0x000047a0 , 0x00000002 
+ 00018261  0x000041d9 iadd  0x00000002 , 0x00000006 
+ 00018262  0x000041da ifetch  0x00000005 , 0x00000006 
+ 00018263  0x000041db store  0x00000005 , 0x0000479b 
+ 00018264  0x000041dd fetch  0x00000001 , 0x0000479b 
+ 00018265  0x000041de copy  0x0000003f , 0x00000011 
+ 00018266  0x000041df call  0x00004d63 
+ 00018267  0x000041e0 fetch  0x00000002 , 0x0000424e 
+ 00018268  0x000041e1 istore  0x00000002 , 0x00000005 
+ 00018269  0x000041e2 setarg  0x000000a1 
+ 00018270  0x000041e3 istore  0x00000001 , 0x00000005 
+ 00018271  0x000041e4 fetch  0x00000004 , 0x0000479c 
+ 00018272  0x000041e5 istore  0x00000009 , 0x00000005 
+ 00018273  0x000041e6 rtn 
+ 00018274  0x000041eb store  0x00000001 , 0x00000a9a 
+ 00018275  0x000041ec arg  0x00000a9a , 0x00000011 
+ 00018276  0x000041ed branch  0x00007e3d 
+ 00018277  0x000041f0 arg  0x00000a9a , 0x00000011 
+ 00018278  0x000041f1 call  0x00007e54 
+ 00018279  0x000041f2 nrtn  0x00000028 
+ 00018280  0x000041f3 fetch  0x00000001 , 0x00000a9a 
+ 00018281  0x000041f4 rtn 
+ 00018282  0x000041f8 fetch  0x00000002 , 0x00000478 
+ 00018283  0x000041f9 beq  0x00000018 , 0x0000465f 
+ 00018284  0x000041fa rtn 
+ 00018285  0x000041fd setarg  0x00000002 
+ 00018286  0x000041fe store  0x00000001 , 0x000048eb 
+ 00018287  0x00004200 setarg  0x00200008 
+ 00018288  0x00004201 store  0x00000004 , 0x000046c1 
+ 00018289  0x00004202 setarg  0x012c0005 
+ 00018290  0x00004203 istore  0x00000004 , 0x00000005 
+ 00018291  0x00004206 jam  0x00000017 , 0x000044a6 
+ 00018292  0x00004209 setarg  0x0000001b 
+ 00018293  0x0000420a store  0x00000002 , 0x000044fa 
+ 00018294  0x0000420b call  0x00005810 
+ 00018295  0x0000420c call  0x0000582c 
+ 00018296  0x0000420d call  0x00005839 
+ 00018297  0x0000420e branch  0x00005818 
+ 00018298  0x00004213 arg  0x00000028 , 0x00000039 
+ 00018299  0x00004214 arg  0x00004741 , 0x00000005 
+ 00018300  0x00004215 arg  0x0000949f , 0x00000006 
+ 00018301  0x00004216 call  0x00007ef4 
+ 00018302  0x00004217 arg  0x00000028 , 0x00000039 
+ 00018303  0x00004218 arg  0x000047a0 , 0x00000005 
+ 00018304  0x00004219 arg  0x000094c7 , 0x00000006 
+ 00018305  0x0000421a branch  0x00007ef4 
+ 00018306  0x0000421e arg  0x0000017e , 0x00000039 
+ 00018307  0x0000421f arg  0x0000913a , 0x00000006 
+ 00018308  0x00004220 branch  0x00007ef4 
+ 00018309  0x00004224 arg  0x000001e7 , 0x00000039 
+ 00018310  0x00004225 arg  0x000092b8 , 0x00000006 
+ 00018311  0x00004226 branch  0x00007ef4 
+ 00018312  0x0000422b call  0x000047ae 
+ 00018313  0x0000422c nrtn  0x00000028 
+ 00018314  0x0000422d fetch  0x00000001 , 0x0000469f 
+ 00018315  0x0000422e call  0x00004790 
+ 00018316  0x0000422f fetch  0x00000001 , 0x000046a0 
+ 00018317  0x00004230 call  0x00004790 
+ 00018318  0x00004231 fetch  0x00000001 , 0x000046a1 
+ 00018319  0x00004232 branch  0x00004790 
+ 00018320  0x00004235 rtn  0x00000034 
+ 00018321  0x00004236 or  0x0000003f , 0x00000080 , 0x00000002 
+ 00018322  0x00004237 branch  0x000067f9 
+ 00018323  0x0000423b call  0x000047ae 
+ 00018324  0x0000423c nrtn  0x00000028 
+ 00018325  0x0000423d call  0x00004797 
+ 00018326  0x0000423e branch  0x000047b4 
+ 00018327  0x00004241 arg  0x00000000 , 0x00000011 
+ 00018328  0x00004242 fetch  0x00000001 , 0x0000469f 
+ 00018329  0x00004243 call  0x000047a9 
+ 00018330  0x00004244 nsetflag  0x00000034 , 0x00000000 , 0x00000011 
+ 00018331  0x00004245 fetch  0x00000001 , 0x000046a0 
+ 00018332  0x00004246 call  0x000047a9 
+ 00018333  0x00004247 nsetflag  0x00000034 , 0x00000001 , 0x00000011 
+ 00018334  0x00004248 fetch  0x00000001 , 0x000046a1 
+ 00018335  0x00004249 call  0x000047a9 
+ 00018336  0x0000424a nsetflag  0x00000034 , 0x00000002 , 0x00000011 
+ 00018337  0x0000424b copy  0x00000011 , 0x0000003f 
+ 00018338  0x0000424c store  0x00000001 , 0x000046a9 
+ 00018339  0x0000424d fetch  0x00000001 , 0x0000469e 
+ 00018340  0x0000424e imul32  0x00000011 , 0x0000003f 
+ 00018341  0x0000424f fetcht  0x00000002 , 0x0000469c 
+ 00018342  0x00004250 iadd  0x00000002 , 0x0000003f 
+ 00018343  0x00004251 store  0x00000002 , 0x000046aa 
+ 00018344  0x00004252 rtn 
+ 00018345  0x00004255 rtn  0x00000034 
+ 00018346  0x00004256 or  0x0000003f , 0x00000080 , 0x00000002 
+ 00018347  0x00004257 call  0x0000681d 
+ 00018348  0x00004258 nbranch  0x00007ff1 , 0x00000001 
+ 00018349  0x00004259 branch  0x00007fef 
+ 00018350  0x0000425d call  0x00007fe9 
+ 00018351  0x0000425e fetch  0x00000001 , 0x000046a8 
+ 00018352  0x0000425f nrtn  0x00000034 
+ 00018353  0x00004260 fetch  0x00000001 , 0x0000469b 
+ 00018354  0x00004261 rtn  0x00000034 
+ 00018355  0x00004262 branch  0x00007fe7 
+ 00018356  0x00004266 call  0x0000666a 
+ 00018357  0x00004267 fetch  0x00000002 , 0x000046aa 
+ 00018358  0x00004268 arg  0x00000ac2 , 0x00000011 
+ 00018359  0x00004269 fetcht  0x00000001 , 0x0000469e 
+ 00018360  0x0000426a call  0x000066b3 
+ 00018361  0x0000426b call  0x0000666d 
+ 00018362  0x0000426d fetch  0x00000001 , 0x00000ac2 
+ 00018363  0x0000426e copy  0x0000003f , 0x00000039 
+ 00018364  0x0000426f store  0x00000001 , 0x000043af 
+ 00018365  0x00004270 call  0x00007ef4 
+ 00018366  0x00004271 fetch  0x00000001 , 0x00000ac2 
+ 00018367  0x00004272 copy  0x0000003f , 0x00000039 
+ 00018368  0x00004273 store  0x00000001 , 0x00004515 
+ 00018369  0x00004274 call  0x00007ef4 
+ 00018370  0x00004275 ifetch  0x00000001 , 0x00000006 
+ 00018371  0x00004276 store  0x00000001 , 0x000046e6 
+ 00018372  0x00004277 ifetch  0x00000001 , 0x00000006 
+ 00018373  0x00004278 store  0x00000001 , 0x000046dd 
+ 00018374  0x00004279 rtn 
+ 00018375  0x0000427d fetch  0x00000001 , 0x0000469a 
+ 00018376  0x0000427e rtnbit0  0x00000001 
+ 00018377  0x0000427f arg  0x00000003 , 0x00000002 
+ 00018378  0x00004280 fetch  0x00000002 , 0x000046a4 
+ 00018379  0x00004281 copy  0x0000003f , 0x00000012 
+ 00018380  0x00004282 arg  0x000046a6 , 0x00000011 
+ 00018381  0x00004283 call  0x000065df 
+ 00018382  0x00004284 fetcht  0x00000002 , 0x000046a6 
+ 00018383  0x00004285 setarg  0x00001b3a 
+ 00018384  0x00004286 isub  0x00000002 , 0x0000003e 
+ 00018385  0x00004287 nrtn  0x00000005 
+ 00018386  0x00004288 fetch  0x00000001 , 0x000046a8 
+ 00018387  0x00004289 rtn  0x00000034 
+ 00018388  0x0000428a copy  0x0000003f , 0x00000002 
+ 00018389  0x0000428b fetch  0x00000002 , 0x000046a4 
+ 00018390  0x0000428c add  0x0000003f , 0x00000003 , 0x00000012 
+ 00018391  0x0000428d arg  0x00000ac2 , 0x00000011 
+ 00018392  0x0000428e call  0x000065df 
+ 00018393  0x0000428f branch  0x000047e8 
+ 00018394  0x00004292 fetch  0x00000002 , 0x000046a2 
+ 00018395  0x00004293 rtn  0x00000034 
+ 00018396  0x00004294 call  0x0000666a 
+ 00018397  0x00004295 arg  0x00000001 , 0x00000002 
+ 00018398  0x00004296 arg  0x000046a8 , 0x00000011 
+ 00018399  0x00004297 call  0x000066b3 
+ 00018400  0x00004299 fetch  0x00000001 , 0x000046a8 
+ 00018401  0x0000429a rtn  0x00000034 
+ 00018402  0x0000429c fetch  0x00000002 , 0x000046a2 
+ 00018403  0x0000429d pincrease  0x00000001 
+ 00018404  0x0000429e arg  0x00000ac2 , 0x00000011 
+ 00018405  0x0000429f fetcht  0x00000001 , 0x000046a8 
+ 00018406  0x000042a0 call  0x000066b3 
+ 00018407  0x000042a1 call  0x0000666d 
+ 00018408  0x000042a3 call  0x000047ba 
+ 00018409  0x000042a5 ifetch  0x00000002 , 0x00000006 
+ 00018410  0x000042a6 rtn  0x00000034 
+ 00018411  0x000042a7 copy  0x0000003f , 0x00000005 
+ 00018412  0x000042a8 ifetcht  0x00000001 , 0x00000006 
+ 00018413  0x000042a9 copy  0x00000002 , 0x00000039 
+ 00018414  0x000042aa call  0x00007f01 
+ 00018415  0x000042ab branch  0x000047e9 
+ 00018416  0x000042b0 fetch  0x00000001 , 0x0000469a 
+ 00018417  0x000042b1 rtnbit0  0x00000001 
+ 00018418  0x000042b2 fetch  0x00000002 , 0x000046ae 
+ 00018419  0x000042b3 copy  0x0000003f , 0x00000012 
+ 00018420  0x000042b4 arg  0x00000004 , 0x00000002 
+ 00018421  0x000042b5 arg  0x00000ac2 , 0x00000011 
+ 00018422  0x000042b6 call  0x000065df 
+ 00018423  0x000042b7 fetch  0x00000001 , 0x00000ac2 
+ 00018424  0x000042b8 bne  0x00000001 , 0x000047f9 
+ 00018425  0x000042ba setarg  0x00000001 
+ 00018426  0x000042bb store  0x00000001 , 0x00000ac2 
+ 00018427  0x000042bc force  0x00000003 , 0x00000039 
+ 00018428  0x000042bd call  0x0000630d 
+ 00018429  0x000042be fetch  0x00000002 , 0x000046ae 
+ 00018430  0x000042bf copy  0x0000003f , 0x00000012 
+ 00018431  0x000042c0 arg  0x00000004 , 0x00000002 
+ 00018432  0x000042c1 arg  0x00000ac2 , 0x00000011 
+ 00018433  0x000042c2 call  0x00006606 
+ 00018434  0x000042c4 fetch  0x00000003 , 0x00000ac3 
+ 00018435  0x000042c5 store  0x00000003 , 0x000040a0 
+ 00018436  0x000042c6 store  0x00000003 , 0x000044a0 
+ 00018437  0x000042c7 rtn 
+ 00018438  0x000042cb branch  0x000046d9 
+ 00018439  0x000042cf arg  0x00000000 , 0x00000011 
+ 00018440  0x000042d0 arg  0x000048d4 , 0x00000013 
+ 00018441  0x000042d1 call  0x00007d24 
+ 00018442  0x000042d2 call  0x000046f4 
+ 00018443  0x000042d4 fetch  0x00000001 , 0x000048eb 
+ 00018444  0x000042d5 store  0x00000001 , 0x000048ec 
+ 00018445  0x000042d6 rtn 
+ 00018446  0x000042db setarg  0x00000000 
+ 00018447  0x000042dc call  0x00004816 
+ 00018448  0x000042dd jam  0x00000001 , 0x00004679 
+ 00018449  0x000042de call  0x00007cd3 
+ 00018450  0x000042df call  0x00007cdd 
+ 00018451  0x000042e0 fetch  0x00000002 , 0x00004682 
+ 00018452  0x000042e1 rtnbit1  0x0000000c 
+ 00018453  0x000042e2 branch  0x0000340a 
+ 00018454  0x000042e5 fetcht  0x00000002 , 0x0000423f 
+ 00018455  0x000042e6 istore  0x00000001 , 0x00000002 
+ 00018456  0x000042e7 ifetch  0x00000001 , 0x00000005 
+ 00018457  0x000042e8 store  0x00000001 , 0x00004685 
+ 00018458  0x000042e9 rtn 
+ 00018459  0x000042ed fetch  0x00000002 , 0x0000423f 
+ 00018460  0x000042ee ifetch  0x00000001 , 0x0000003f 
+ 00018461  0x000042ef rtnne  0x00000000 
+ 00018462  0x000042f0 branch  0x0000340a 
+ 00018463  0x000042f4 fetcht  0x00000002 , 0x0000423f 
+ 00018464  0x000042f5 ifetch  0x00000001 , 0x00000002 
+ 00018465  0x000042f6 beq  0x00000001 , 0x0000482a 
+ 00018466  0x000042f8 setarg  0x00000001 
+ 00018467  0x000042f9 fetcht  0x00000002 , 0x0000423f 
+ 00018468  0x000042fa istore  0x00000001 , 0x00000002 
+ 00018469  0x000042fb add  0x00000002 , 0x00000002 , 0x00000006 
+ 00018470  0x000042fc ifetch  0x00000001 , 0x00000006 
+ 00018471  0x000042fd istore  0x00000001 , 0x00004685 
+ 00018472  0x000042fe ifetch  0x00000002 , 0x00000006 
+ 00018473  0x000042ff branch  0x00007f9c 
+ 00018474  0x00004302 setarg  0x00000002 
+ 00018475  0x00004303 call  0x00004816 
+ 00018476  0x00004304 add  0x00000002 , 0x00000005 , 0x00000006 
+ 00018477  0x00004305 ifetch  0x00000002 , 0x00000006 
+ 00018478  0x00004306 branch  0x0000340a , 0x00000034 
+ 00018479  0x00004307 branch  0x00007f9c 
+ 00018480  0x0000430e store  0x00000006 , 0x00000101 
+ 00018481  0x0000430f fetch  0x00000001 , 0x00000101 
+ 00018482  0x00004310 store  0x00000001 , 0x0000010c 
+ 00018483  0x00004311 ifetch  0x00000001 , 0x00000006 
+ 00018484  0x00004312 store  0x00000001 , 0x0000010b 
+ 00018485  0x00004313 ifetch  0x00000001 , 0x00000006 
+ 00018486  0x00004314 store  0x00000001 , 0x0000010a 
+ 00018487  0x00004315 ifetch  0x00000001 , 0x00000006 
+ 00018488  0x00004316 store  0x00000001 , 0x00000109 
+ 00018489  0x00004317 ifetch  0x00000001 , 0x00000006 
+ 00018490  0x00004318 store  0x00000001 , 0x00000108 
+ 00018491  0x00004319 ifetch  0x00000001 , 0x00000006 
+ 00018492  0x0000431a store  0x00000001 , 0x00000107 
+ 00018493  0x0000431b fetch  0x00000006 , 0x00000107 
+ 00018494  0x0000431c rtn 
+ 00018495  0x0000431f call  0x000068a2 
+ 00018496  0x00004320 fetch  0x00000001 , 0x00004223 
+ 00018497  0x00004321 store  0x00000001 , 0x000044a0 
+ 00018498  0x00004322 fetch  0x00000001 , 0x00004225 
+ 00018499  0x00004323 istore  0x00000001 , 0x00000005 
+ 00018500  0x00004324 fetch  0x00000001 , 0x00004227 
+ 00018501  0x00004325 istore  0x00000001 , 0x00000005 
+ 00018502  0x00004326 fetch  0x00000003 , 0x000044a0 
+ 00018503  0x00004327 store  0x00000003 , 0x000040a0 
+ 00018504  0x00004328 rtn 
+ 00018505  0x00004335 fetch  0x00000002 , 0x00004203 
+ 00018506  0x00004336 iadd  0x00000012 , 0x0000003f 
+ 00018507  0x00004337 byteswap  0x0000003f , 0x0000003f 
+ 00018508  0x00004338 store  0x00000002 , 0x000001f7 
+ 00018509  0x00004339 copy  0x00000002 , 0x00000012 
+ 00018510  0x0000433b call  0x0000489b 
+ 00018511  0x0000433c setarg  0x000000a0 
+ 00018512  0x0000433d call  0x0000488d 
+ 00018513  0x0000433e fetch  0x00000001 , 0x000001f7 
+ 00018514  0x0000433f call  0x0000488d 
+ 00018515  0x00004340 bmark1  0x00000028 , 0x00004856 
+ 00018516  0x00004341 fetch  0x00000001 , 0x000001f8 
+ 00018517  0x00004342 call  0x0000488d 
+ 00018518  0x00004344 call  0x000048a1 
+ 00018519  0x00004346 call  0x0000489b 
+ 00018520  0x00004347 setarg  0x000000a1 
+ 00018521  0x00004348 call  0x0000488d 
+ 00018522  0x0000434b call  0x0000487f 
+ 00018523  0x0000434c istore  0x00000001 , 0x00000011 
+ 00018524  0x0000434d increase  0x00000001 , 0x00000011 
+ 00018525  0x0000434e increase  0xffffffff , 0x00000012 
+ 00018526  0x0000434f nbranch  0x0000485a , 0x00000005 
+ 00018527  0x00004350 branch  0x000048a1 
+ 00018528  0x0000435c byteswap  0x00000012 , 0x0000003f 
+ 00018529  0x0000435d store  0x00000002 , 0x000001f7 
+ 00018530  0x0000435e copy  0x00000002 , 0x00000012 
+ 00018531  0x00004360 call  0x0000489b 
+ 00018532  0x00004361 setarg  0x000000a0 
+ 00018533  0x00004362 call  0x0000488d 
+ 00018534  0x00004364 fetch  0x00000001 , 0x000001f7 
+ 00018535  0x00004365 call  0x0000488d 
+ 00018536  0x00004366 bmark1  0x00000028 , 0x0000486b 
+ 00018537  0x00004367 fetch  0x00000001 , 0x000001f8 
+ 00018538  0x00004368 call  0x0000488d 
+ 00018539  0x0000436a ifetch  0x00000001 , 0x00000011 
+ 00018540  0x0000436b call  0x0000488d 
+ 00018541  0x0000436c increase  0x00000001 , 0x00000011 
+ 00018542  0x0000436d increase  0xffffffff , 0x00000012 
+ 00018543  0x0000436e nbranch  0x0000486b , 0x00000005 
+ 00018544  0x0000436f branch  0x000048a1 
+ 00018545  0x00004374 arg  0x0000000a , 0x00000039 
+ 00018546  0x00004375 call  0x000048be 
+ 00018547  0x00004376 call  0x000048a6 
+ 00018548  0x00004377 call  0x000048d2 
+ 00018549  0x00004379 call  0x000048c7 
+ 00018550  0x0000437a branch  0x000048a9 , 0x00000034 
+ 00018551  0x0000437b loop  0x00004875 
+ 00018552  0x0000437c branch  0x000048a9 
+ 00018553  0x00004381 call  0x000048a9 
+ 00018554  0x00004382 call  0x000048af 
+ 00018555  0x00004383 call  0x000048d2 
+ 00018556  0x00004384 call  0x000048a6 
+ 00018557  0x00004385 call  0x000048d2 
+ 00018558  0x00004386 branch  0x000048a9 
+ 00018559  0x0000438c arg  0x00000008 , 0x00000039 
+ 00018560  0x0000438d arg  0x00000000 , 0x00000013 
+ 00018561  0x0000438e call  0x000048be 
+ 00018562  0x00004390 call  0x000048a6 
+ 00018563  0x00004391 call  0x000048d2 
+ 00018564  0x00004392 lshift  0x00000013 , 0x00000013 
+ 00018565  0x00004393 call  0x000048c7 
+ 00018566  0x00004394 iadd  0x00000013 , 0x00000013 
+ 00018567  0x00004395 call  0x000048d2 
+ 00018568  0x00004396 call  0x000048a9 
+ 00018569  0x00004397 loop  0x00004882 
+ 00018570  0x00004398 call  0x00004879 
+ 00018571  0x00004399 copy  0x00000013 , 0x0000003f 
+ 00018572  0x0000439a rtn 
+ 00018573  0x0000439f arg  0x00000008 , 0x00000039 
+ 00018574  0x000043a0 copy  0x0000003f , 0x00000013 
+ 00018575  0x000043a1 call  0x000048a9 
+ 00018576  0x000043a3 isolate1  0x00000007 , 0x00000013 
+ 00018577  0x000043a4 call  0x000048ac , 0x00000001 
+ 00018578  0x000043a5 ncall  0x000048af , 0x00000001 
+ 00018579  0x000043a6 lshift  0x00000013 , 0x00000013 
+ 00018580  0x000043a7 call  0x000048d2 
+ 00018581  0x000043a8 call  0x000048a6 
+ 00018582  0x000043a9 call  0x000048d2 
+ 00018583  0x000043aa call  0x000048a9 
+ 00018584  0x000043ab call  0x000048d2 
+ 00018585  0x000043ac loop  0x00004890 
+ 00018586  0x000043ad branch  0x00004871 
+ 00018587  0x000043b2 call  0x000048ac 
+ 00018588  0x000043b3 call  0x000048a6 
+ 00018589  0x000043b4 call  0x000048d2 
+ 00018590  0x000043b5 call  0x000048af 
+ 00018591  0x000043b6 call  0x000048d2 
+ 00018592  0x000043b7 branch  0x000048a9 
+ 00018593  0x000043bc call  0x000048af 
+ 00018594  0x000043bd call  0x000048a6 
+ 00018595  0x000043be call  0x000048d2 
+ 00018596  0x000043bf call  0x000048ac 
+ 00018597  0x000043c0 branch  0x000048d2 
+ 00018598  0x000043c5 enable  0x00000028 
+ 00018599  0x000043c6 fetch  0x00000001 , 0x00004ffe 
+ 00018600  0x000043c7 branch  0x000048b2 
+ 00018601  0x000043cb disable  0x00000028 
+ 00018602  0x000043cc fetch  0x00000001 , 0x00004ffe 
+ 00018603  0x000043cd branch  0x000048b2 
+ 00018604  0x000043d1 enable  0x00000028 
+ 00018605  0x000043d2 fetch  0x00000001 , 0x00004fff 
+ 00018606  0x000043d3 branch  0x000048b2 
+ 00018607  0x000043d7 disable  0x00000028 
+ 00018608  0x000043d8 fetch  0x00000001 , 0x00004fff 
+ 00018609  0x000043d9 branch  0x000048b2 
+ 00018610  0x000043df and  0x0000003f , 0x00000007 , 0x00000007 
+ 00018611  0x000043e0 rshift3  0x0000003f , 0x0000003f 
+ 00018612  0x000043e1 arg  0x00008070 , 0x00000002 
+ 00018613  0x000043e2 iadd  0x00000002 , 0x00000002 
+ 00018614  0x000043e3 ifetch  0x00000001 , 0x00000002 
+ 00018615  0x000043e4 qset1  0x0000003f 
+ 00018616  0x000043e5 istore  0x00000001 , 0x00000002 
+ 00018617  0x000043e6 increase  0x00000004 , 0x00000002 
+ 00018618  0x000043e7 ifetch  0x00000001 , 0x00000002 
+ 00018619  0x000043e8 qsetflag  0x00000028 , 0x0000003f 
+ 00018620  0x000043e9 istore  0x00000001 , 0x00000002 
+ 00018621  0x000043ea rtn 
+ 00018622  0x000043ee fetch  0x00000001 , 0x00004fff 
+ 00018623  0x000043ef and  0x0000003f , 0x00000007 , 0x00000007 
+ 00018624  0x000043f0 rshift3  0x0000003f , 0x0000003f 
+ 00018625  0x000043f1 arg  0x00008070 , 0x00000002 
+ 00018626  0x000043f2 iadd  0x00000002 , 0x00000002 
+ 00018627  0x000043f3 ifetch  0x00000001 , 0x00000002 
+ 00018628  0x000043f4 qset0  0x0000003f 
+ 00018629  0x000043f5 istore  0x00000001 , 0x00000002 
+ 00018630  0x000043f6 rtn 
+ 00018631  0x000043fc nop  0x00000004 
+ 00018632  0x000043fd fetch  0x00000001 , 0x00004fff 
+ 00018633  0x000043fe and  0x0000003f , 0x00000007 , 0x00000007 
+ 00018634  0x000043ff rshift3  0x0000003f , 0x0000003f 
+ 00018635  0x00004400 arg  0x0000811c , 0x00000002 
+ 00018636  0x00004401 iadd  0x00000002 , 0x00000002 
+ 00018637  0x00004402 setarg  0x00000000 
+ 00018638  0x00004403 ifetcht  0x00000001 , 0x00000002 
+ 00018639  0x00004404 qisolate1  0x00000002 
+ 00018640  0x00004405 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00018641  0x00004406 rtn 
+ 00018642  0x0000440b rtn 
+ 00018643  0x00004412 bpatch  0x000000f6 , 0x0000401e 
+ 00018644  0x00004413 hfetch  0x00000001 , 0x00008a26 
+ 00018645  0x00004414 isolate1  0x00000007 , 0x0000003f 
+ 00018646  0x00004415 call  0x000048ea , 0x00000001 
+ 00018647  0x00004416 call  0x0000492e 
+ 00018648  0x00004417 hfetch  0x00000001 , 0x00008a26 
+ 00018649  0x00004418 store  0x00000001 , 0x00000b22 
+ 00018650  0x00004419 hfetch  0x00000001 , 0x00008a27 
+ 00018651  0x0000441a store  0x00000001 , 0x00000b23 
+ 00018652  0x0000441b hstore  0x00000001 , 0x00008a27 
+ 00018653  0x0000441c pinvert 
+ 00018654  0x0000441d fetcht  0x00000001 , 0x00000d37 
+ 00018655  0x0000441e iand  0x00000002 , 0x0000003f 
+ 00018656  0x0000441f store  0x00000001 , 0x00000d37 
+ 00018657  0x00004420 jam  0x000000e0 , 0x00008a26 
+ 00018658  0x00004421 fetch  0x00000001 , 0x00000b23 
+ 00018659  0x00004422 compare  0x00000001 , 0x0000003f , 0x00000001 
+ 00018660  0x00004423 call  0x00004941 , 0x00000001 
+ 00018661  0x00004424 fetch  0x00000001 , 0x00000b22 
+ 00018662  0x00004425 compare  0x00000001 , 0x0000003f , 0x00000001 
+ 00018663  0x00004426 call  0x0000494a , 0x00000001 
+ 00018664  0x00004427 call  0x00004b61 
+ 00018665  0x00004428 branch  0x00004903 
+ 00018666  0x0000442b bpatch  0x000000f7 , 0x0000401e 
+ 00018667  0x0000442c call  0x00004919 
+ 00018668  0x0000442d jam  0x00000000 , 0x00008a00 
+ 00018669  0x0000442e nop  0x00002710 
+ 00018670  0x0000442f jam  0x000000c0 , 0x00008a10 
+ 00018671  0x00004430 hfetch  0x00000002 , 0x00008050 
+ 00018672  0x00004431 set0  0x0000000a , 0x0000003f 
+ 00018673  0x00004432 hstore  0x00000002 , 0x00008050 
+ 00018674  0x00004433 jam  0x0000003c , 0x00008a00 
+ 00018675  0x00004434 jam  0x000000ff , 0x00008a26 
+ 00018676  0x00004435 jam  0x000000ff , 0x00008a27 
+ 00018677  0x00004436 jam  0x00000000 , 0x00008a04 
+ 00018678  0x00004437 jam  0x00000002 , 0x00000c6b 
+ 00018679  0x00004438 setarg  0x00000d9d 
+ 00018680  0x00004439 arg  0x00000c6e , 0x00000005 
+ 00018681  0x0000443a isub  0x00000005 , 0x00000039 
+ 00018682  0x0000443b branch  0x00007ed4 
+ 00018683  0x0000443e fetcht  0x00000001 , 0x00000c6c 
+ 00018684  0x0000443f branch  0x000067fb 
+ 00018685  0x00004441 fetch  0x00000001 , 0x00000d45 
+ 00018686  0x00004442 rtn  0x00000034 
+ 00018687  0x00004443 fetcht  0x00000001 , 0x00000c6c 
+ 00018688  0x00004444 call  0x0000681d 
+ 00018689  0x00004445 branch  0x000048ea , 0x00000001 
+ 00018690  0x00004446 rtn 
+ 00018691  0x0000444a arg  0x00000000 , 0x00000007 
+ 00018692  0x0000444b call  0x00007f16 
+ 00018693  0x0000444c nrtn  0x00000034 
+ 00018694  0x0000444d fetch  0x00000001 , 0x00000d46 
+ 00018695  0x0000444e nrtn  0x00000034 
+ 00018696  0x0000444f fetch  0x00000001 , 0x00000d45 
+ 00018697  0x00004450 ncall  0x00004bb7 , 0x00000034 
+ 00018698  0x00004451 rtn 
+ 00018699  0x00004454 arg  0x00000b68 , 0x00000005 
+ 00018700  0x00004455 setsect  0x00000000 , 0x00011212 
+ 00018701  0x00004456 setsect  0x00000001 , 0x00008000 
+ 00018702  0x00004457 setsect  0x00000002 , 0x00000000 
+ 00018703  0x00004458 setsect  0x00000003 , 0x00010000 
+ 00018704  0x00004459 istore  0x00000009 , 0x00000005 
+ 00018705  0x0000445a setsect  0x00000000 , 0x00022412 
+ 00018706  0x0000445b setsect  0x00000001 , 0x00008604 
+ 00018707  0x0000445c setsect  0x00000002 , 0x00001000 
+ 00018708  0x0000445d setsect  0x00000003 , 0x00000008 
+ 00018709  0x0000445e istore  0x00000009 , 0x00000005 
+ 00018710  0x0000445f setsect  0x00000000 , 0x00000001 
+ 00018711  0x00004460 istore  0x00000001 , 0x00000005 
+ 00018712  0x00004461 rtn 
+ 00018713  0x00004464 jam  0x00000002 , 0x00000c6b 
+ 00018714  0x00004465 setarg  0x00000000 
+ 00018715  0x00004466 store  0x00000001 , 0x00000b67 
+ 00018716  0x00004467 store  0x00000002 , 0x00000c65 
+ 00018717  0x00004468 pincrease  0x00000001 
+ 00018718  0x00004469 store  0x00000002 , 0x00000c67 
+ 00018719  0x0000446a pincrease  0x00000001 
+ 00018720  0x0000446b store  0x00000002 , 0x00000c69 
+ 00018721  0x0000446c setarg  0x00008ffa 
+ 00018722  0x0000446d store  0x00000002 , 0x00000b7c 
+ 00018723  0x0000446e setarg  0x0000903a 
+ 00018724  0x0000446f store  0x00000002 , 0x00000b7e 
+ 00018725  0x00004470 arg  0x00000b80 , 0x00000005 
+ 00018726  0x00004471 arg  0x000090fe , 0x00000006 
+ 00018727  0x00004472 call  0x00007eb3 
+ 00018728  0x00004473 fetch  0x00000001 , 0x00000c6d 
+ 00018729  0x00004474 ncall  0x0000492b , 0x00000034 
+ 00018730  0x00004475 branch  0x0000490b 
+ 00018731  0x00004478 store  0x00000001 , 0x00000ba2 
+ 00018732  0x00004479 store  0x00000001 , 0x00000bbb 
+ 00018733  0x0000447a rtn 
+ 00018734  0x0000447c hfetch  0x00000001 , 0x00008a26 
+ 00018735  0x0000447d bbit1  0x00000006 , 0x00004931 
+ 00018736  0x0000447e rtn 
+ 00018737  0x00004481 call  0x00004936 
+ 00018738  0x00004482 call  0x00007f15 
+ 00018739  0x00004483 setarg  0x00000280 
+ 00018740  0x00004484 arg  0x00000000 , 0x00000007 
+ 00018741  0x00004485 branch  0x00007f08 
+ 00018742  0x00004488 fetch  0x00000001 , 0x00000d36 
+ 00018743  0x00004489 bne  0x00000002 , 0x0000493b 
+ 00018744  0x0000448a jam  0x00000000 , 0x00000d46 
+ 00018745  0x0000448b jam  0x00000000 , 0x00000d47 
+ 00018746  0x0000448c rtn 
+ 00018747  0x0000448e fetch  0x00000001 , 0x00000d53 
+ 00018748  0x0000448f rtn  0x00000034 
+ 00018749  0x00004490 jam  0x00000000 , 0x00000d53 
+ 00018750  0x00004491 jam  0x00000002 , 0x00000d36 
+ 00018751  0x00004492 jam  0x00000001 , 0x00000d45 
+ 00018752  0x00004493 rtn 
+ 00018753  0x00004496 jam  0x00000001 , 0x00008a27 
+ 00018754  0x00004497 branch  0x00004b37 
+ 00018755  0x0000449a fetch  0x00000001 , 0x00000b22 
+ 00018756  0x0000449b bbit1  0x00000004 , 0x00004955 
+ 00018757  0x0000449c rtn 
+ 00018758  0x0000449f hfetch  0x00000001 , 0x00008a18 
+ 00018759  0x000044a0 istore  0x00000001 , 0x00000005 
+ 00018760  0x000044a1 loop  0x00004946 
+ 00018761  0x000044a2 rtn 
+ 00018762  0x000044a5 bpatch  0x000000f8 , 0x0000401f 
+ 00018763  0x000044a6 jam  0x00000011 , 0x00008a26 
+ 00018764  0x000044a7 hfetch  0x00000001 , 0x00008a20 
+ 00018765  0x000044a8 store  0x00000001 , 0x00000b24 
+ 00018766  0x000044a9 copy  0x0000003f , 0x00000039 
+ 00018767  0x000044aa branch  0x00004943 , 0x00000034 
+ 00018768  0x000044ab arg  0x00000c6e , 0x00000005 
+ 00018769  0x000044ac call  0x00004946 
+ 00018770  0x000044ad fetch  0x00000001 , 0x00000b24 
+ 00018771  0x000044ae sub  0x0000003f , 0x00000007 , 0x0000003e 
+ 00018772  0x000044af rtn  0x00000002 
+ 00018773  0x000044b1 fetch  0x00000001 , 0x00000c6e 
+ 00018774  0x000044b2 and_into  0x00000080 , 0x0000003f 
+ 00018775  0x000044b3 beq  0x00000080 , 0x0000495a 
+ 00018776  0x000044b4 beq  0x00000000 , 0x00004962 
+ 00018777  0x000044b5 branch  0x00002a8c 
+ 00018778  0x000044b8 fetch  0x00000001 , 0x00000c6e 
+ 00018779  0x000044b9 rshift4  0x0000003f , 0x0000003f 
+ 00018780  0x000044ba rshift  0x0000003f , 0x0000003f 
+ 00018781  0x000044bb and_into  0x00000003 , 0x0000003f 
+ 00018782  0x000044bc beq  0x00000000 , 0x0000496a 
+ 00018783  0x000044bd beq  0x00000001 , 0x00004970 
+ 00018784  0x000044be beq  0x00000002 , 0x00004975 
+ 00018785  0x000044bf branch  0x00002a8c 
+ 00018786  0x000044c2 fetch  0x00000001 , 0x00000c6e 
+ 00018787  0x000044c3 rshift4  0x0000003f , 0x0000003f 
+ 00018788  0x000044c4 rshift  0x0000003f , 0x0000003f 
+ 00018789  0x000044c5 and_into  0x00000003 , 0x0000003f 
+ 00018790  0x000044c6 beq  0x00000000 , 0x00004976 
+ 00018791  0x000044c7 beq  0x00000001 , 0x0000497e 
+ 00018792  0x000044c8 beq  0x00000002 , 0x00004983 
+ 00018793  0x000044c9 branch  0x00002a8c 
+ 00018794  0x000044cc fetch  0x00000001 , 0x00000c6f 
+ 00018795  0x000044cd beq  0x00000008 , 0x0000498a 
+ 00018796  0x000044ce beq  0x00000006 , 0x000049a0 
+ 00018797  0x000044cf beq  0x0000000a , 0x000049ea 
+ 00018798  0x000044d0 beq  0x00000000 , 0x000049fc 
+ 00018799  0x000044d1 branch  0x00004984 
+ 00018800  0x000044d4 fetch  0x00000001 , 0x00000c6f 
+ 00018801  0x000044d5 beq  0x00000002 , 0x00004a2f 
+ 00018802  0x000044d6 beq  0x00000001 , 0x00004a33 
+ 00018803  0x000044d7 beq  0x00000003 , 0x00004a45 
+ 00018804  0x000044d8 branch  0x00004984 
+ 00018805  0x000044db branch  0x00004984 
+ 00018806  0x000044de fetch  0x00000001 , 0x00000c6f 
+ 00018807  0x000044df beq  0x00000001 , 0x00004a4f 
+ 00018808  0x000044e0 beq  0x00000003 , 0x00004a79 
+ 00018809  0x000044e1 beq  0x00000005 , 0x00004aa3 
+ 00018810  0x000044e2 beq  0x00000009 , 0x00004abc 
+ 00018811  0x000044e3 beq  0x0000000b , 0x00004ad7 
+ 00018812  0x000044e4 beq  0x00000007 , 0x00004984 
+ 00018813  0x000044e5 branch  0x00004984 
+ 00018814  0x000044e8 fetch  0x00000001 , 0x00000c6f 
+ 00018815  0x000044e9 beq  0x0000000a , 0x00004ae8 
+ 00018816  0x000044ea beq  0x00000009 , 0x00004af9 
+ 00018817  0x000044eb beq  0x0000000b , 0x00004b11 
+ 00018818  0x000044ec branch  0x00004984 
+ 00018819  0x000044ef branch  0x00004984 
+ 00018820  0x000044f2 hfetch  0x00000001 , 0x00008a11 
+ 00018821  0x000044f3 set1  0x00000000 , 0x0000003f 
+ 00018822  0x000044f4 hstore  0x00000001 , 0x00008a11 
+ 00018823  0x000044f5 branch  0x00004988 
+ 00018824  0x000044f8 jam  0x00000040 , 0x00008a12 
+ 00018825  0x000044f9 rtn 
+ 00018826  0x000044fc fetch  0x00000001 , 0x00000c6e 
+ 00018827  0x000044fd bne  0x00000080 , 0x00004984 
+ 00018828  0x000044fe fetch  0x00000001 , 0x00000c72 
+ 00018829  0x000044ff bne  0x00000000 , 0x00004984 
+ 00018830  0x00004500 fetch  0x00000001 , 0x00000c73 
+ 00018831  0x00004501 bne  0x00000000 , 0x00004984 
+ 00018832  0x00004502 fetch  0x00000001 , 0x00000c74 
+ 00018833  0x00004503 bne  0x00000001 , 0x00004984 
+ 00018834  0x00004504 fetch  0x00000001 , 0x00000c75 
+ 00018835  0x00004505 bne  0x00000000 , 0x00004984 
+ 00018836  0x00004506 fetch  0x00000001 , 0x00000c70 
+ 00018837  0x00004507 bne  0x00000000 , 0x00004984 
+ 00018838  0x00004508 fetch  0x00000001 , 0x00000c71 
+ 00018839  0x00004509 bne  0x00000000 , 0x00004984 
+ 00018840  0x0000450a fetch  0x00000001 , 0x00000c6b 
+ 00018841  0x0000450b beq  0x00000004 , 0x0000499c 
+ 00018842  0x0000450c beq  0x00000003 , 0x0000499e 
+ 00018843  0x0000450d branch  0x00004984 
+ 00018844  0x00004510 arg  0x00000001 , 0x00000012 
+ 00018845  0x00004511 branch  0x00004a14 
+ 00018846  0x00004514 arg  0x00000001 , 0x00000012 
+ 00018847  0x00004515 branch  0x00004a12 
+ 00018848  0x00004518 bpatch  0x000000f9 , 0x0000401f 
+ 00018849  0x00004519 set0  0x00000023 , 0x00000000 
+ 00018850  0x0000451a fetch  0x00000001 , 0x00000c71 
+ 00018851  0x0000451b beq  0x00000001 , 0x000049b6 
+ 00018852  0x0000451c beq  0x00000002 , 0x000049cf 
+ 00018853  0x0000451d beq  0x00000003 , 0x000049d2 
+ 00018854  0x0000451e beq  0x00000021 , 0x000049a9 
+ 00018855  0x0000451f beq  0x00000022 , 0x000049e0 
+ 00018856  0x00004520 branch  0x00004984 
+ 00018857  0x00004523 jam  0x00000000 , 0x00000d4b 
+ 00018858  0x00004524 fetch  0x00000001 , 0x00000c72 
+ 00018859  0x00004525 beq  0x00000000 , 0x000049ae 
+ 00018860  0x00004526 beq  0x00000001 , 0x000049b2 
+ 00018861  0x00004527 branch  0x00004984 
+ 00018862  0x0000452a arg  0x00000b93 , 0x00000011 
+ 00018863  0x0000452b ifetch  0x00000001 , 0x00000011 
+ 00018864  0x0000452c iforce  0x00000012 
+ 00018865  0x0000452d branch  0x00004b21 
+ 00018866  0x00004530 arg  0x00000bac , 0x00000011 
+ 00018867  0x00004531 ifetch  0x00000001 , 0x00000011 
+ 00018868  0x00004532 iforce  0x00000012 
+ 00018869  0x00004533 branch  0x00004b21 
+ 00018870  0x00004539 fetch  0x00000001 , 0x00000d48 
+ 00018871  0x0000453a ncall  0x000049c7 , 0x00000034 
+ 00018872  0x0000453b setarg  0x00000b68 
+ 00018873  0x0000453c fetcht  0x00000001 , 0x00000b68 
+ 00018874  0x0000453e store  0x00000002 , 0x00000d3f 
+ 00018875  0x0000453f storet  0x00000001 , 0x00000d41 
+ 00018876  0x00004540 fetch  0x00000001 , 0x00000c74 
+ 00018877  0x00004541 isub  0x00000002 , 0x0000003e 
+ 00018878  0x00004542 nbranch  0x000049c5 , 0x00000002 
+ 00018879  0x00004544 fetch  0x00000001 , 0x00000d41 
+ 00018880  0x00004546 iforce  0x00000012 
+ 00018881  0x00004547 fetch  0x00000002 , 0x00000d3f 
+ 00018882  0x00004548 add  0x0000003f , 0x00000001 , 0x0000003f 
+ 00018883  0x00004549 iforce  0x00000011 
+ 00018884  0x0000454a branch  0x00004b21 
+ 00018885  0x0000454c fetch  0x00000001 , 0x00000c74 
+ 00018886  0x0000454d branch  0x000049c0 
+ 00018887  0x00004550 hfetch  0x00000001 , 0x00008a04 
+ 00018888  0x00004551 ncall  0x000049cb , 0x00000034 
+ 00018889  0x00004552 jam  0x00000000 , 0x00000d48 
+ 00018890  0x00004553 rtn 
+ 00018891  0x00004555 hfetch  0x00000001 , 0x00008a04 
+ 00018892  0x00004556 set1  0x00000007 , 0x0000003f 
+ 00018893  0x00004557 hstore  0x00000001 , 0x00008a04 
+ 00018894  0x00004558 rtn 
+ 00018895  0x0000455b setarg  0x00000b80 
+ 00018896  0x0000455c fetcht  0x00000001 , 0x00000b80 
+ 00018897  0x0000455d branch  0x000049ba 
+ 00018898  0x00004560 fetch  0x00000001 , 0x00000c70 
+ 00018899  0x00004561 sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00018900  0x00004562 nbranch  0x00004984 , 0x00000002 
+ 00018901  0x00004563 fetch  0x00000001 , 0x00000c70 
+ 00018902  0x00004564 arg  0x00000be4 , 0x00000011 
+ 00018903  0x00004565 beq  0x00000000 , 0x00004b1e 
+ 00018904  0x00004566 set1  0x00000023 , 0x00000000 
+ 00018905  0x00004567 arg  0x00000be9 , 0x00000011 
+ 00018906  0x00004568 beq  0x00000001 , 0x00004b1e 
+ 00018907  0x00004569 arg  0x00000c07 , 0x00000011 
+ 00018908  0x0000456a beq  0x00000002 , 0x00004b1e 
+ 00018909  0x0000456b arg  0x00000c47 , 0x00000011 
+ 00018910  0x0000456c beq  0x00000003 , 0x00004b1e 
+ 00018911  0x0000456d rtn 
+ 00018912  0x00004570 fetch  0x00000002 , 0x00000c72 
+ 00018913  0x00004571 beq  0x00000001 , 0x000049e5 
+ 00018914  0x00004572 fetch  0x00000002 , 0x00000b7c 
+ 00018915  0x00004573 copy  0x0000003f , 0x00000011 
+ 00018916  0x00004575 branch  0x00004b1e 
+ 00018917  0x00004577 jam  0x00000001 , 0x00000d45 
+ 00018918  0x00004578 jam  0x00000001 , 0x00000d36 
+ 00018919  0x00004579 fetch  0x00000002 , 0x00000b7e 
+ 00018920  0x0000457a copy  0x0000003f , 0x00000011 
+ 00018921  0x0000457c branch  0x00004b1e 
+ 00018922  0x00004580 fetch  0x00000001 , 0x00000c6b 
+ 00018923  0x00004581 bne  0x00000004 , 0x00004984 
+ 00018924  0x00004582 fetch  0x00000001 , 0x00000c6e 
+ 00018925  0x00004583 bne  0x00000081 , 0x00004984 
+ 00018926  0x00004584 fetch  0x00000001 , 0x00000c70 
+ 00018927  0x00004585 bne  0x00000000 , 0x00004984 
+ 00018928  0x00004586 fetch  0x00000001 , 0x00000c71 
+ 00018929  0x00004587 bne  0x00000000 , 0x00004984 
+ 00018930  0x00004588 fetch  0x00000001 , 0x00000c74 
+ 00018931  0x00004589 bne  0x00000001 , 0x00004984 
+ 00018932  0x0000458a fetch  0x00000001 , 0x00000c75 
+ 00018933  0x0000458b bne  0x00000000 , 0x00004984 
+ 00018934  0x0000458c fetch  0x00000001 , 0x00000c72 
+ 00018935  0x0000458d bne  0x00000000 , 0x00004984 
+ 00018936  0x0000458e fetch  0x00000001 , 0x00000c73 
+ 00018937  0x0000458f bne  0x00000000 , 0x00004984 
+ 00018938  0x00004590 arg  0x00000001 , 0x00000012 
+ 00018939  0x00004591 branch  0x00004a12 
+ 00018940  0x00004595 fetch  0x00000001 , 0x00000c6b 
+ 00018941  0x00004596 beq  0x00000002 , 0x00004984 
+ 00018942  0x00004597 fetch  0x00000001 , 0x00000c70 
+ 00018943  0x00004598 bne  0x00000000 , 0x00004984 
+ 00018944  0x00004599 fetch  0x00000001 , 0x00000c71 
+ 00018945  0x0000459a bne  0x00000000 , 0x00004984 
+ 00018946  0x0000459b fetch  0x00000001 , 0x00000c74 
+ 00018947  0x0000459c bne  0x00000002 , 0x00004984 
+ 00018948  0x0000459d fetch  0x00000001 , 0x00000c75 
+ 00018949  0x0000459e bne  0x00000000 , 0x00004984 
+ 00018950  0x0000459f fetch  0x00000001 , 0x00000c73 
+ 00018951  0x000045a0 bne  0x00000000 , 0x00004984 
+ 00018952  0x000045a1 fetch  0x00000001 , 0x00000c6e 
+ 00018953  0x000045a2 beq  0x00000080 , 0x00004a0d 
+ 00018954  0x000045a3 beq  0x00000081 , 0x00004a18 
+ 00018955  0x000045a4 beq  0x00000082 , 0x00004a1c 
+ 00018956  0x000045a5 branch  0x00004984 
+ 00018957  0x000045a8 fetch  0x00000001 , 0x00000c72 
+ 00018958  0x000045a9 bne  0x00000000 , 0x00004984 
+ 00018959  0x000045aa arg  0x00000002 , 0x00000012 
+ 00018960  0x000045ab fetch  0x00000001 , 0x00000d39 
+ 00018961  0x000045ac beq  0x00000001 , 0x00004a16 
+ 00018962  0x000045af arg  0x00000c65 , 0x00000011 
+ 00018963  0x000045b0 branch  0x00004b21 
+ 00018964  0x000045b2 arg  0x00000c67 , 0x00000011 
+ 00018965  0x000045b3 branch  0x00004b21 
+ 00018966  0x000045b5 arg  0x00000c69 , 0x00000011 
+ 00018967  0x000045b6 branch  0x00004b21 
+ 00018968  0x000045b9 fetch  0x00000001 , 0x00000c6b 
+ 00018969  0x000045ba bne  0x00000004 , 0x00004984 
+ 00018970  0x000045bb arg  0x00000002 , 0x00000012 
+ 00018971  0x000045bc branch  0x00004a12 
+ 00018972  0x000045bf fetch  0x00000001 , 0x00000c6b 
+ 00018973  0x000045c0 bne  0x00000004 , 0x00004984 
+ 00018974  0x000045c1 fetch  0x00000001 , 0x00000c72 
+ 00018975  0x000045c2 beq  0x00000081 , 0x00004a29 
+ 00018976  0x000045c3 beq  0x00000082 , 0x00004a2b 
+ 00018977  0x000045c4 beq  0x00000083 , 0x00004a2d 
+ 00018978  0x000045c5 and_into  0x0000007f , 0x0000003f 
+ 00018979  0x000045c6 beq  0x00000000 , 0x00004a25 
+ 00018980  0x000045c7 branch  0x00004984 
+ 00018981  0x000045ca fetch  0x00000001 , 0x00000d3b 
+ 00018982  0x000045cc arg  0x00000002 , 0x00000012 
+ 00018983  0x000045cd beq  0x00000001 , 0x00004a14 
+ 00018984  0x000045ce branch  0x00004a12 
+ 00018985  0x000045d0 fetch  0x00000001 , 0x00000d3c 
+ 00018986  0x000045d1 branch  0x00004a26 
+ 00018987  0x000045d3 fetch  0x00000001 , 0x00000d3d 
+ 00018988  0x000045d4 branch  0x00004a26 
+ 00018989  0x000045d6 fetch  0x00000001 , 0x00000d3e 
+ 00018990  0x000045d7 branch  0x00004a26 
+ 00018991  0x000045da jam  0x00000001 , 0x00000d4c 
+ 00018992  0x000045db arg  0x00000d4d , 0x00000011 
+ 00018993  0x000045dc arg  0x00000001 , 0x00000012 
+ 00018994  0x000045dd branch  0x00004b21 
+ 00018995  0x000045e0 fetch  0x00000002 , 0x00000c70 
+ 00018996  0x000045e1 arg  0x000001ba , 0x00000002 
+ 00018997  0x000045e2 isub  0x00000002 , 0x0000003e 
+ 00018998  0x000045e3 nbranch  0x00004984 , 0x00000005 
+ 00018999  0x000045e4 set0  0x00000023 , 0x00000000 
+ 00019000  0x000045e6 fetch  0x00000001 , 0x00000d42 
+ 00019001  0x000045e7 nbranch  0x00004a42 , 0x00000034 
+ 00019002  0x000045e8 jam  0x00000000 , 0x00000cf6 
+ 00019003  0x000045ea fetch  0x00000001 , 0x00000c74 
+ 00019004  0x000045eb iforce  0x00000012 
+ 00019005  0x000045ec arg  0x00000cf6 , 0x00000011 
+ 00019006  0x000045ed call  0x00004b21 
+ 00019007  0x000045ef arg  0x00000cf6 , 0x00000005 
+ 00019008  0x000045f0 arg  0x00000008 , 0x00000039 
+ 00019009  0x000045f1 branch  0x00007ec6 
+ 00019010  0x000045f3 jam  0x00000000 , 0x00000d42 
+ 00019011  0x000045f4 jam  0x00000001 , 0x00000cf6 
+ 00019012  0x000045f5 branch  0x00004a3b 
+ 00019013  0x000045f8 fetch  0x00000001 , 0x00000c74 
+ 00019014  0x000045f9 bne  0x00000001 , 0x00004984 
+ 00019015  0x000045fa jam  0x00000001 , 0x00000d4b 
+ 00019016  0x000045fb arg  0x00000001 , 0x00000012 
+ 00019017  0x000045fc fetch  0x00000001 , 0x00000d49 
+ 00019018  0x000045fd beq  0x00000000 , 0x00004a4d 
+ 00019019  0x000045fe beq  0x00000001 , 0x00004a4e 
+ 00019020  0x000045ff branch  0x00004a12 
+ 00019021  0x00004601 branch  0x00004a14 
+ 00019022  0x00004603 branch  0x00004a12 
+ 00019023  0x00004609 fetch  0x00000001 , 0x00000c6b 
+ 00019024  0x0000460a bne  0x00000004 , 0x00004984 
+ 00019025  0x0000460b fetch  0x00000001 , 0x00000c74 
+ 00019026  0x0000460c bne  0x00000000 , 0x00004984 
+ 00019027  0x0000460d fetch  0x00000001 , 0x00000c75 
+ 00019028  0x0000460e bne  0x00000000 , 0x00004984 
+ 00019029  0x0000460f fetch  0x00000001 , 0x00000c71 
+ 00019030  0x00004610 bne  0x00000000 , 0x00004984 
+ 00019031  0x00004611 fetch  0x00000001 , 0x00000c73 
+ 00019032  0x00004612 bne  0x00000000 , 0x00004984 
+ 00019033  0x00004613 fetch  0x00000001 , 0x00000c6e 
+ 00019034  0x00004614 beq  0x00000000 , 0x00004a5e 
+ 00019035  0x00004615 beq  0x00000001 , 0x00004a66 
+ 00019036  0x00004616 beq  0x00000002 , 0x00004a67 
+ 00019037  0x00004617 branch  0x00004984 
+ 00019038  0x0000461a fetch  0x00000001 , 0x00000c70 
+ 00019039  0x0000461b bne  0x00000001 , 0x00004984 
+ 00019040  0x0000461c hfetch  0x00000001 , 0x00008a00 
+ 00019041  0x0000461d set0  0x00000007 , 0x0000003f 
+ 00019042  0x0000461e hstore  0x00000001 , 0x00008a00 
+ 00019043  0x0000461f jam  0x00000000 , 0x00000d39 
+ 00019044  0x00004620 jam  0x00000001 , 0x00000d3a 
+ 00019045  0x00004621 branch  0x00004988 
+ 00019046  0x00004624 branch  0x00004984 
+ 00019047  0x00004627 fetch  0x00000001 , 0x00000c70 
+ 00019048  0x00004628 bne  0x00000000 , 0x00004984 
+ 00019049  0x00004629 fetch  0x00000001 , 0x00000c72 
+ 00019050  0x0000462a beq  0x00000081 , 0x00004a72 
+ 00019051  0x0000462b beq  0x00000082 , 0x00004a75 
+ 00019052  0x0000462c beq  0x00000083 , 0x00004a77 
+ 00019053  0x0000462d and_into  0x0000007f , 0x0000003f 
+ 00019054  0x0000462e beq  0x00000000 , 0x00004a70 
+ 00019055  0x0000462f branch  0x00004984 
+ 00019056  0x00004632 jam  0x00000000 , 0x00000d3b 
+ 00019057  0x00004633 branch  0x00004988 
+ 00019058  0x00004635 jam  0x00000000 , 0x00000d3c 
+ 00019059  0x00004637 jam  0x00000001 , 0x00000d53 
+ 00019060  0x00004638 branch  0x00004988 
+ 00019061  0x0000463a jam  0x00000000 , 0x00000d3d 
+ 00019062  0x0000463b branch  0x00004a73 
+ 00019063  0x0000463d jam  0x00000000 , 0x00000d3e 
+ 00019064  0x0000463e branch  0x00004a73 
+ 00019065  0x00004642 fetch  0x00000001 , 0x00000c74 
+ 00019066  0x00004643 bne  0x00000000 , 0x00004984 
+ 00019067  0x00004644 fetch  0x00000001 , 0x00000c75 
+ 00019068  0x00004645 bne  0x00000000 , 0x00004984 
+ 00019069  0x00004646 fetch  0x00000001 , 0x00000c6e 
+ 00019070  0x00004647 beq  0x00000000 , 0x00004a82 
+ 00019071  0x00004648 beq  0x00000001 , 0x00004a8f 
+ 00019072  0x00004649 beq  0x00000002 , 0x00004a90 
+ 00019073  0x0000464a branch  0x00004984 
+ 00019074  0x0000464d fetch  0x00000001 , 0x00000c70 
+ 00019075  0x0000464e bne  0x00000001 , 0x00004984 
+ 00019076  0x0000464f hfetch  0x00000001 , 0x00008a00 
+ 00019077  0x00004650 set1  0x00000007 , 0x0000003f 
+ 00019078  0x00004651 hstore  0x00000001 , 0x00008a00 
+ 00019079  0x00004652 jam  0x00000001 , 0x00000d39 
+ 00019080  0x00004653 jam  0x00000003 , 0x00000d36 
+ 00019081  0x00004654 jam  0x00000000 , 0x00000d43 
+ 00019082  0x00004655 call  0x00004988 
+ 00019083  0x00004657 call  0x00007f15 
+ 00019084  0x00004658 setarg  0x00001388 
+ 00019085  0x00004659 arg  0x0000000f , 0x00000007 
+ 00019086  0x0000465a branch  0x00007f08 
+ 00019087  0x0000465d branch  0x00004984 
+ 00019088  0x00004660 fetch  0x00000001 , 0x00000c70 
+ 00019089  0x00004661 bne  0x00000000 , 0x00004984 
+ 00019090  0x00004662 fetch  0x00000001 , 0x00000c71 
+ 00019091  0x00004663 bne  0x00000000 , 0x00004984 
+ 00019092  0x00004664 fetch  0x00000001 , 0x00000c72 
+ 00019093  0x00004665 beq  0x00000081 , 0x00004a9d 
+ 00019094  0x00004666 beq  0x00000082 , 0x00004a9f 
+ 00019095  0x00004667 beq  0x00000083 , 0x00004aa1 
+ 00019096  0x00004668 and_into  0x0000007f , 0x0000003f 
+ 00019097  0x00004669 beq  0x00000000 , 0x00004a9b 
+ 00019098  0x0000466a branch  0x00004984 
+ 00019099  0x0000466d jam  0x00000001 , 0x00000d3b 
+ 00019100  0x0000466e branch  0x00004988 
+ 00019101  0x00004670 jam  0x00000001 , 0x00000d3c 
+ 00019102  0x00004671 branch  0x00004988 
+ 00019103  0x00004673 jam  0x00000001 , 0x00000d3d 
+ 00019104  0x00004674 branch  0x00004988 
+ 00019105  0x00004676 jam  0x00000001 , 0x00000d3e 
+ 00019106  0x00004677 branch  0x00004988 
+ 00019107  0x0000467b fetch  0x00000001 , 0x00000c6e 
+ 00019108  0x0000467c bne  0x00000000 , 0x00004984 
+ 00019109  0x0000467d fetch  0x00000001 , 0x00000c72 
+ 00019110  0x0000467e bne  0x00000000 , 0x00004984 
+ 00019111  0x0000467f fetch  0x00000001 , 0x00000c73 
+ 00019112  0x00004680 bne  0x00000000 , 0x00004984 
+ 00019113  0x00004681 fetch  0x00000001 , 0x00000c74 
+ 00019114  0x00004682 bne  0x00000000 , 0x00004984 
+ 00019115  0x00004683 fetch  0x00000001 , 0x00000c75 
+ 00019116  0x00004684 bne  0x00000000 , 0x00004984 
+ 00019117  0x00004685 fetch  0x00000001 , 0x00000c71 
+ 00019118  0x00004686 bne  0x00000000 , 0x00004984 
+ 00019119  0x00004687 fetch  0x00000001 , 0x00000c70 
+ 00019120  0x00004688 and_into  0x00000080 , 0x0000003f 
+ 00019121  0x00004689 bne  0x00000000 , 0x00004984 
+ 00019122  0x0000468a fetch  0x00000001 , 0x00000c70 
+ 00019123  0x0000468b bne  0x00000000 , 0x00004aba 
+ 00019124  0x0000468d jam  0x00000002 , 0x00000c6b 
+ 00019125  0x0000468f fetch  0x00000001 , 0x00000c70 
+ 00019126  0x00004690 hstore  0x00000001 , 0x00008a04 
+ 00019127  0x00004691 call  0x00004988 
+ 00019128  0x00004692 jam  0x00000001 , 0x00000d48 
+ 00019129  0x00004693 rtn 
+ 00019130  0x00004695 jam  0x00000003 , 0x00000c6b 
+ 00019131  0x00004696 branch  0x00004ab5 
+ 00019132  0x0000469a fetch  0x00000001 , 0x00000c6b 
+ 00019133  0x0000469b beq  0x00000002 , 0x00004984 
+ 00019134  0x0000469c fetch  0x00000001 , 0x00000c6e 
+ 00019135  0x0000469d bne  0x00000000 , 0x00004984 
+ 00019136  0x0000469e fetch  0x00000001 , 0x00000c72 
+ 00019137  0x0000469f bne  0x00000000 , 0x00004984 
+ 00019138  0x000046a0 fetch  0x00000001 , 0x00000c73 
+ 00019139  0x000046a1 bne  0x00000000 , 0x00004984 
+ 00019140  0x000046a2 fetch  0x00000001 , 0x00000c74 
+ 00019141  0x000046a3 bne  0x00000000 , 0x00004984 
+ 00019142  0x000046a4 fetch  0x00000001 , 0x00000c75 
+ 00019143  0x000046a5 bne  0x00000000 , 0x00004984 
+ 00019144  0x000046a6 fetch  0x00000001 , 0x00000c71 
+ 00019145  0x000046a7 bne  0x00000000 , 0x00004984 
+ 00019146  0x000046a8 fetch  0x00000001 , 0x00000c70 
+ 00019147  0x000046a9 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00019148  0x000046aa nbranch  0x00004984 , 0x00000002 
+ 00019149  0x000046ab fetch  0x00000001 , 0x00000c6b 
+ 00019150  0x000046ac beq  0x00000003 , 0x00004ad1 
+ 00019151  0x000046ad beq  0x00000004 , 0x00004ad1 
+ 00019152  0x000046ae branch  0x00004984 
+ 00019153  0x000046b2 fetch  0x00000001 , 0x00000c70 
+ 00019154  0x000046b3 beq  0x00000000 , 0x00004ad5 
+ 00019155  0x000046b4 jam  0x00000004 , 0x00000c6b 
+ 00019156  0x000046b5 branch  0x00004988 
+ 00019157  0x000046b7 jam  0x00000003 , 0x00000c6b 
+ 00019158  0x000046b8 branch  0x00004988 
+ 00019159  0x000046bc fetch  0x00000001 , 0x00000c6b 
+ 00019160  0x000046bd bne  0x00000004 , 0x00004984 
+ 00019161  0x000046be fetch  0x00000001 , 0x00000c6e 
+ 00019162  0x000046bf bne  0x00000001 , 0x00004984 
+ 00019163  0x000046c0 fetch  0x00000001 , 0x00000c70 
+ 00019164  0x000046c1 bne  0x00000000 , 0x00004984 
+ 00019165  0x000046c2 fetch  0x00000001 , 0x00000c71 
+ 00019166  0x000046c3 bne  0x00000000 , 0x00004984 
+ 00019167  0x000046c4 fetch  0x00000001 , 0x00000c74 
+ 00019168  0x000046c5 bne  0x00000000 , 0x00004984 
+ 00019169  0x000046c6 fetch  0x00000001 , 0x00000c75 
+ 00019170  0x000046c7 bne  0x00000000 , 0x00004984 
+ 00019171  0x000046c8 fetch  0x00000001 , 0x00000c72 
+ 00019172  0x000046c9 bne  0x00000000 , 0x00004984 
+ 00019173  0x000046ca fetch  0x00000001 , 0x00000c73 
+ 00019174  0x000046cb bne  0x00000000 , 0x00004984 
+ 00019175  0x000046cc branch  0x00004988 
+ 00019176  0x000046d0 jam  0x00000001 , 0x00000d4c 
+ 00019177  0x000046d1 fetch  0x00000001 , 0x00000c71 
+ 00019178  0x000046d2 store  0x00000001 , 0x00000d4d 
+ 00019179  0x000046d3 fetch  0x00000001 , 0x00000c72 
+ 00019180  0x000046d4 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00019181  0x000046d5 call  0x00004af5 , 0x00000005 
+ 00019182  0x000046d6 fetch  0x00000001 , 0x00000d36 
+ 00019183  0x000046d7 bne  0x00000004 , 0x00004988 
+ 00019184  0x000046d8 jam  0x00000002 , 0x00000d36 
+ 00019185  0x000046d9 call  0x00004988 
+ 00019186  0x000046da nop  0x00007530 
+ 00019187  0x000046db nop  0x00007530 
+ 00019188  0x000046dc rtn 
+ 00019189  0x000046de jam  0x00000001 , 0x00000d45 
+ 00019190  0x000046df jam  0x00000000 , 0x00000d3a 
+ 00019191  0x000046e0 jam  0x00000004 , 0x00000d36 
+ 00019192  0x000046e1 rtn 
+ 00019193  0x000046e5 jam  0x00000001 , 0x00000d50 
+ 00019194  0x000046e6 call  0x00004b03 
+ 00019195  0x000046e7 fetch  0x00000002 , 0x00000c70 
+ 00019196  0x000046e8 store  0x00000002 , 0x00000d4e 
+ 00019197  0x000046e9 fetch  0x00000001 , 0x00000c74 
+ 00019198  0x000046ea iforce  0x00000039 
+ 00019199  0x000046eb arg  0x00000c76 , 0x00000006 
+ 00019200  0x000046ec arg  0x00000cb6 , 0x00000005 
+ 00019201  0x000046ed call  0x00007f01 
+ 00019202  0x000046ee branch  0x00004988 
+ 00019203  0x000046f1 fetch  0x00000002 , 0x00000c70 
+ 00019204  0x000046f2 arg  0x00000200 , 0x00000002 
+ 00019205  0x000046f3 isub  0x00000002 , 0x0000003e 
+ 00019206  0x000046f4 nrtn  0x00000005 
+ 00019207  0x000046f5 fetch  0x00000002 , 0x00000c72 
+ 00019208  0x000046f6 arg  0x00000000 , 0x00000002 
+ 00019209  0x000046f7 isub  0x00000002 , 0x0000003e 
+ 00019210  0x000046f8 nrtn  0x00000005 
+ 00019211  0x000046f9 fetch  0x00000002 , 0x00000c74 
+ 00019212  0x000046fa arg  0x00000001 , 0x00000002 
+ 00019213  0x000046fb isub  0x00000002 , 0x0000003e 
+ 00019214  0x000046fc nrtn  0x00000005 
+ 00019215  0x000046fd jam  0x00000001 , 0x00000d43 
+ 00019216  0x000046fe rtn 
+ 00019217  0x00004702 fetch  0x00000001 , 0x00000c74 
+ 00019218  0x00004703 bne  0x00000000 , 0x00004984 
+ 00019219  0x00004704 fetch  0x00000001 , 0x00000c70 
+ 00019220  0x00004705 beq  0x00000000 , 0x00004b17 
+ 00019221  0x00004706 beq  0x00000001 , 0x00004b1a 
+ 00019222  0x00004707 branch  0x00004984 
+ 00019223  0x00004709 jam  0x00000000 , 0x00000d4a 
+ 00019224  0x0000470a jam  0x00000001 , 0x00000d49 
+ 00019225  0x0000470b branch  0x00004988 
+ 00019226  0x0000470d jam  0x00000001 , 0x00000d44 
+ 00019227  0x0000470e jam  0x00000001 , 0x00000d4a 
+ 00019228  0x0000470f jam  0x00000000 , 0x00000d49 
+ 00019229  0x00004710 branch  0x00004988 
+ 00019230  0x00004714 ifetch  0x00000001 , 0x00000011 
+ 00019231  0x00004715 iforce  0x00000012 
+ 00019232  0x00004716 increase  0x00000001 , 0x00000011 
+ 00019233  0x00004719 bpatch  0x000000fa , 0x0000401f 
+ 00019234  0x0000471a bmark0  0x00000023 , 0x00004b2c 
+ 00019235  0x0000471b add  0x00000012 , 0x00000001 , 0x0000003f 
+ 00019236  0x0000471c lshift  0x0000003f , 0x0000003f 
+ 00019237  0x0000471d hstore  0x00000001 , 0x00008a18 
+ 00019238  0x0000471e jam  0x00000003 , 0x00008a18 
+ 00019239  0x0000471f fetch  0x00000001 , 0x00000c74 
+ 00019240  0x00004720 increase  0xfffffffe , 0x0000003f 
+ 00019241  0x00004721 rshift  0x0000003f , 0x0000003f 
+ 00019242  0x00004722 store  0x00000001 , 0x00000c74 
+ 00019243  0x00004723 beq  0x00000000 , 0x00004b35 
+ 00019244  0x00004725 fetch  0x00000002 , 0x00000c74 
+ 00019245  0x00004726 isub  0x00000012 , 0x0000003e 
+ 00019246  0x00004727 branch  0x00004b30 , 0x00000002 
+ 00019247  0x00004728 copy  0x0000003f , 0x00000012 
+ 00019248  0x0000472a deposit  0x00000011 
+ 00019249  0x0000472b store  0x00000002 , 0x00000b65 
+ 00019250  0x0000472c deposit  0x00000012 
+ 00019251  0x0000472d store  0x00000001 , 0x00000b67 
+ 00019252  0x0000472e branch  0x00004b37 
+ 00019253  0x00004731 arg  0x00000000 , 0x00000007 
+ 00019254  0x00004732 branch  0x00004b57 
+ 00019255  0x00004736 bpatch  0x000000fb , 0x0000401f 
+ 00019256  0x00004737 fetch  0x00000001 , 0x00000b67 
+ 00019257  0x00004738 rtn  0x00000034 
+ 00019258  0x00004739 copy  0x0000003f , 0x00000039 
+ 00019259  0x0000473a sub  0x0000003f , 0x00000040 , 0x0000003e 
+ 00019260  0x0000473b branch  0x00004b3e , 0x00000002 
+ 00019261  0x0000473c arg  0x00000040 , 0x00000039 
+ 00019262  0x0000473e fetch  0x00000001 , 0x00000b67 
+ 00019263  0x0000473f isub  0x00000039 , 0x0000003f 
+ 00019264  0x00004740 store  0x00000001 , 0x00000b67 
+ 00019265  0x00004741 fetch  0x00000002 , 0x00000b65 
+ 00019266  0x00004742 copy  0x0000003f , 0x00000006 
+ 00019267  0x00004744 ifetch  0x00000001 , 0x00000006 
+ 00019268  0x00004745 hstore  0x00000001 , 0x00008a18 
+ 00019269  0x00004746 bmark0  0x00000023 , 0x00004b47 
+ 00019270  0x00004747 jam  0x00000000 , 0x00008a18 
+ 00019271  0x00004749 loop  0x00004b43 
+ 00019272  0x0000474a copy  0x00000006 , 0x0000003f 
+ 00019273  0x0000474b store  0x00000002 , 0x00000b65 
+ 00019274  0x0000474c arg  0x00000000 , 0x00000007 
+ 00019275  0x0000474d call  0x00004b57 
+ 00019276  0x0000474e fetch  0x00000001 , 0x00000b67 
+ 00019277  0x0000474f nrtn  0x00000034 
+ 00019278  0x00004750 fetch  0x00000001 , 0x00000d36 
+ 00019279  0x00004751 rtnne  0x00000001 
+ 00019280  0x00004752 jam  0x00000002 , 0x00000d36 
+ 00019281  0x00004753 rtn 
+ 00019282  0x00004757 arg  0x00008a19 , 0x00000011 
+ 00019283  0x00004758 arg  0x00000001 , 0x00000007 
+ 00019284  0x0000475a ifetch  0x00000001 , 0x00000006 
+ 00019285  0x0000475b istore  0x00000001 , 0x00000011 
+ 00019286  0x0000475c loop  0x00004b54 
+ 00019287  0x0000475e setarg  0x00000000 
+ 00019288  0x0000475f qset1  0x0000003f 
+ 00019289  0x00004760 hstore  0x00000001 , 0x00008a10 
+ 00019290  0x00004761 fetcht  0x00000001 , 0x00000d37 
+ 00019291  0x00004762 ior  0x00000002 , 0x0000003f 
+ 00019292  0x00004763 store  0x00000001 , 0x00000d37 
+ 00019293  0x00004764 rtn 
+ 00019294  0x00004767 arg  0x00000002 , 0x00000007 
+ 00019295  0x00004768 arg  0x00008a1a , 0x00000011 
+ 00019296  0x00004769 branch  0x00004b54 
+ 00019297  0x0000476c bpatch  0x000000fc , 0x0000401f 
+ 00019298  0x0000476d fetch  0x00000001 , 0x00000d38 
+ 00019299  0x0000476e rtn  0x00000034 
+ 00019300  0x0000476f fetch  0x00000001 , 0x00000d37 
+ 00019301  0x00004770 nbranch  0x00004bac , 0x00000034 
+ 00019302  0x00004771 fetch  0x00000001 , 0x00000d45 
+ 00019303  0x00004772 branch  0x00004b86 , 0x00000034 
+ 00019304  0x00004773 fetch  0x00000001 , 0x00000d36 
+ 00019305  0x00004774 beq  0x00000003 , 0x00004bbf 
+ 00019306  0x00004775 bne  0x00000002 , 0x00004b86 
+ 00019307  0x00004776 fetch  0x00000001 , 0x00000d3a 
+ 00019308  0x00004777 nbranch  0x00004b86 , 0x00000034 
+ 00019309  0x00004778 call  0x00004b6f 
+ 00019310  0x00004779 branch  0x00004b7a 
+ 00019311  0x0000477c fetch  0x00000001 , 0x00000d38 
+ 00019312  0x0000477d rtnbit0  0x00000001 
+ 00019313  0x0000477e fetch  0x00000001 , 0x00000d37 
+ 00019314  0x0000477f rtnbit1  0x00000001 
+ 00019315  0x00004780 fetch  0x00000001 , 0x00000d38 
+ 00019316  0x00004781 set0  0x00000001 , 0x0000003f 
+ 00019317  0x00004782 store  0x00000001 , 0x00000d38 
+ 00019318  0x00004783 fetch  0x00000001 , 0x00000d51 
+ 00019319  0x00004784 rtn  0x00000034 
+ 00019320  0x00004785 beq  0x00000010 , 0x00004ba8 
+ 00019321  0x00004786 branch  0x00002a8c 
+ 00019322  0x00004789 fetch  0x00000001 , 0x00000d38 
+ 00019323  0x0000478a rtnbit0  0x00000002 
+ 00019324  0x0000478b fetch  0x00000001 , 0x00000d37 
+ 00019325  0x0000478c rtnbit1  0x00000002 
+ 00019326  0x0000478d fetch  0x00000001 , 0x00000d38 
+ 00019327  0x0000478e set0  0x00000002 , 0x0000003f 
+ 00019328  0x0000478f store  0x00000001 , 0x00000d38 
+ 00019329  0x00004790 fetch  0x00000001 , 0x00000d52 
+ 00019330  0x00004791 rtn  0x00000034 
+ 00019331  0x00004792 beq  0x00000020 , 0x00004b89 
+ 00019332  0x00004793 beq  0x00000021 , 0x00004ba4 
+ 00019333  0x00004794 branch  0x00002a8c 
+ 00019334  0x00004798 arg  0x00000d54 , 0x00000005 
+ 00019335  0x00004799 arg  0x00000006 , 0x00000039 
+ 00019336  0x0000479a branch  0x00007ec6 
+ 00019337  0x0000479d fetch  0x00000001 , 0x00000d4c 
+ 00019338  0x0000479e fetcht  0x00000001 , 0x00000d4b 
+ 00019339  0x0000479f iand  0x00000002 , 0x0000003f 
+ 00019340  0x000047a0 branch  0x00004ba0 , 0x00000034 
+ 00019341  0x000047a1 fetcht  0x00000001 , 0x00000d4a 
+ 00019342  0x000047a2 iadd  0x00000002 , 0x0000003f 
+ 00019343  0x000047a3 beq  0x00000001 , 0x00004b91 
+ 00019344  0x000047a4 branch  0x00004ba0 
+ 00019345  0x000047a7 jam  0x00000000 , 0x00000d52 
+ 00019346  0x000047a9 fetch  0x00000001 , 0x00000d55 
+ 00019347  0x000047aa beq  0x00000002 , 0x00004ba1 
+ 00019348  0x000047ab beq  0x00000003 , 0x00004ba1 
+ 00019349  0x000047ac fetch  0x00000001 , 0x00000d55 
+ 00019350  0x000047ad store  0x00000001 , 0x00000d54 
+ 00019351  0x000047ae fetch  0x00000001 , 0x00000d56 
+ 00019352  0x000047af istore  0x00000001 , 0x00000005 
+ 00019353  0x000047b0 fetch  0x00000001 , 0x00000d58 
+ 00019354  0x000047b1 istore  0x00000001 , 0x00000005 
+ 00019355  0x000047b2 fetch  0x00000001 , 0x00000d5a 
+ 00019356  0x000047b3 istore  0x00000001 , 0x00000005 
+ 00019357  0x000047b4 arg  0x00000004 , 0x00000039 
+ 00019358  0x000047b5 arg  0x00000d54 , 0x00000006 
+ 00019359  0x000047b6 branch  0x00004b5e 
+ 00019360  0x000047b9 jam  0x00000000 , 0x00000d52 
+ 00019361  0x000047bb arg  0x00000008 , 0x00000039 
+ 00019362  0x000047bc arg  0x00000d54 , 0x00000006 
+ 00019363  0x000047bd branch  0x00004b5e 
+ 00019364  0x000047c0 jam  0x00000000 , 0x00000d52 
+ 00019365  0x000047c1 arg  0x00000003 , 0x00000039 
+ 00019366  0x000047c2 arg  0x00000d74 , 0x00000006 
+ 00019367  0x000047c3 branch  0x00004b5e 
+ 00019368  0x000047c6 jam  0x00000000 , 0x00000d51 
+ 00019369  0x000047c7 arg  0x00000008 , 0x00000039 
+ 00019370  0x000047c8 arg  0x00000d64 , 0x00000006 
+ 00019371  0x000047c9 branch  0x00004b52 
+ 00019372  0x000047cc fetch  0x00000001 , 0x00000d36 
+ 00019373  0x000047cd beq  0x00000003 , 0x00004bb0 
+ 00019374  0x000047ce beq  0x00000002 , 0x00004bb2 
+ 00019375  0x000047cf rtn 
+ 00019376  0x000047d1 jam  0x00000000 , 0x00000d37 
+ 00019377  0x000047d2 rtn 
+ 00019378  0x000047d4 hfetch  0x00000001 , 0x00008a00 
+ 00019379  0x000047d5 set1  0x00000007 , 0x0000003f 
+ 00019380  0x000047d6 hstore  0x00000001 , 0x00008a00 
+ 00019381  0x000047d7 jam  0x00000001 , 0x00000d47 
+ 00019382  0x000047d8 rtn 
+ 00019383  0x000047db fetch  0x00000001 , 0x00000d36 
+ 00019384  0x000047dc rtneq  0x00000003 
+ 00019385  0x000047dd beq  0x00000002 , 0x00004bbb 
+ 00019386  0x000047de rtn 
+ 00019387  0x000047e0 fetch  0x00000001 , 0x00000d47 
+ 00019388  0x000047e1 rtn  0x00000034 
+ 00019389  0x000047e2 jam  0x00000001 , 0x00000d46 
+ 00019390  0x000047e3 branch  0x00004bc2 
+ 00019391  0x000047e6 arg  0x0000000f , 0x00000007 
+ 00019392  0x000047e7 call  0x00007f16 
+ 00019393  0x000047e8 nrtn  0x00000034 
+ 00019394  0x000047ea hfetch  0x00000001 , 0x00008a00 
+ 00019395  0x000047eb rtnbit0  0x00000007 
+ 00019396  0x000047ec jam  0x000000fc , 0x00008a00 
+ 00019397  0x000047ed nop  0x00007530 
+ 00019398  0x000047ee jam  0x0000003c , 0x00008a00 
+ 00019399  0x000047ef rtn 
+ 00019400  0x000047f7 bpatch  0x000000fd , 0x0000401f 
+ 00019401  0x000047f8 fetch  0x00000001 , 0x000041ce 
+ 00019402  0x000047f9 nrtn  0x00000034 
+ 00019403  0x000047fb call  0x00004bce 
+ 00019404  0x000047fc ncall  0x00004be6 , 0x00000028 
+ 00019405  0x000047fd rtn 
+ 00019406  0x00004800 bpatch  0x000000fe , 0x0000401f 
+ 00019407  0x00004801 copy  0x00000003 , 0x00000011 
+ 00019408  0x00004802 arg  0x00000004 , 0x00000002 
+ 00019409  0x00004803 ifetch  0x00000001 , 0x00000003 
+ 00019410  0x00004804 beq  0x00000001 , 0x00004bd8 
+ 00019411  0x00004805 increase  0x00000001 , 0x00000002 
+ 00019412  0x00004806 beq  0x00000002 , 0x00004bd8 
+ 00019413  0x00004807 copy  0x00000003 , 0x0000003f 
+ 00019414  0x00004808 hstore  0x00000002 , 0x00008058 
+ 00019415  0x00004809 rtn 
+ 00019416  0x0000480b hfetch  0x00000002 , 0x00008112 
+ 00019417  0x0000480c isub  0x00000002 , 0x0000003e 
+ 00019418  0x0000480d nbranch  0x00004bd8 , 0x00000002 
+ 00019419  0x0000480f disable  0x00000028 
+ 00019420  0x00004810 copy  0x00000011 , 0x00000003 
+ 00019421  0x00004811 call  0x00004bee 
+ 00019422  0x00004812 iadd  0x00000002 , 0x00000002 
+ 00019423  0x00004814 hfetch  0x00000002 , 0x00008112 
+ 00019424  0x00004815 isub  0x00000002 , 0x0000003e 
+ 00019425  0x00004816 nbranch  0x00004bdf , 0x00000002 
+ 00019426  0x00004817 copy  0x00000011 , 0x00000003 
+ 00019427  0x00004818 ifetch  0x00000001 , 0x00000003 
+ 00019428  0x00004819 beq  0x00000001 , 0x00004c3f 
+ 00019429  0x0000481a branch  0x00002a8c 
+ 00019430  0x0000481d bpatch  0x000000ff , 0x0000401f 
+ 00019431  0x0000481e hfetch  0x00000002 , 0x00008058 
+ 00019432  0x0000481f iforce  0x00000003 
+ 00019433  0x00004820 call  0x00004bee 
+ 00019434  0x00004821 iadd  0x00000003 , 0x00000003 
+ 00019435  0x00004822 deposit  0x00000003 
+ 00019436  0x00004823 hstore  0x00000002 , 0x00008058 
+ 00019437  0x00004824 rtn 
+ 00019438  0x0000482a ifetch  0x00000001 , 0x00000003 
+ 00019439  0x0000482b increase  0x00000002 , 0x00000003 
+ 00019440  0x0000482c beq  0x00000002 , 0x00004bf3 
+ 00019441  0x0000482d ifetch  0x00000001 , 0x00000003 
+ 00019442  0x0000482e rtn 
+ 00019443  0x00004830 ifetch  0x00000002 , 0x00000003 
+ 00019444  0x00004831 rtn 
+ 00019445  0x00004834 hfetch  0x00000002 , 0x0000805e 
+ 00019446  0x00004835 increase  0xfffffffb , 0x0000000a 
+ 00019447  0x00004836 iadd  0x0000000a , 0x0000000a 
+ 00019448  0x00004837 rtn 
+ 00019449  0x0000483a arg  0x00000004 , 0x00000002 
+ 00019450  0x0000483b branch  0x00004bfc 
+ 00019451  0x0000483d arg  0x00000002 , 0x00000002 
+ 00019452  0x0000483f bpatchx  0x00000000 , 0x00004020 
+ 00019453  0x00004840 increase  0x00000001 , 0x00000039 
+ 00019454  0x00004841 hfetch  0x00000002 , 0x0000805e 
+ 00019455  0x00004842 copy  0x0000003f , 0x0000000a 
+ 00019456  0x00004843 copy  0x00000039 , 0x0000003f 
+ 00019457  0x00004844 istoret  0x00000001 , 0x0000000a 
+ 00019458  0x00004845 increase  0xffffffff , 0x0000003f 
+ 00019459  0x00004846 iadd  0x0000000a , 0x0000000a 
+ 00019460  0x00004847 copy  0x0000000a , 0x0000003f 
+ 00019461  0x00004848 store  0x00000002 , 0x00000258 
+ 00019462  0x00004849 copy  0x00000002 , 0x0000003f 
+ 00019463  0x0000484a rtneq  0x00000002 
+ 00019464  0x0000484b fetch  0x00000002 , 0x00000258 
+ 00019465  0x0000484c hstore  0x00000002 , 0x0000805e 
+ 00019466  0x0000484d branch  0x00004c0b 
+ 00019467  0x00004851 setarg  0x00000000 
+ 00019468  0x00004852 store  0x00000002 , 0x00000258 
+ 00019469  0x00004853 rtn 
+ 00019470  0x0000485b rtn  0x0000002b 
+ 00019471  0x0000485c setarg  0x00004d28 
+ 00019472  0x0000485d store  0x00000002 , 0x000041f3 
+ 00019473  0x0000485f setarg  0x000001a0 
+ 00019474  0x00004860 store  0x00000002 , 0x00004243 
+ 00019475  0x00004862 setarg  0x00001800 
+ 00019476  0x00004863 hstore  0x00000002 , 0x00008054 
+ 00019477  0x00004864 setarg  0x00001bff 
+ 00019478  0x00004865 hstore  0x00000002 , 0x00008056 
+ 00019479  0x00004866 setarg  0x00001c00 
+ 00019480  0x00004867 hstore  0x00000002 , 0x0000805a 
+ 00019481  0x00004868 call  0x00004c28 
+ 00019482  0x0000486a jam  0x00000000 , 0x00008062 
+ 00019483  0x0000486b setarg  0x00001c00 
+ 00019484  0x0000486c hstore  0x00000002 , 0x0000805e 
+ 00019485  0x0000486d hstore  0x00000002 , 0x00008060 
+ 00019486  0x0000486e setarg  0x00001800 
+ 00019487  0x0000486f hstore  0x00000002 , 0x00008058 
+ 00019488  0x00004870 store  0x00000002 , 0x00000244 
+ 00019489  0x00004872 hfetch  0x00000002 , 0x00008050 
+ 00019490  0x00004873 set0  0x0000000f , 0x0000003f 
+ 00019491  0x00004874 hstore  0x00000002 , 0x00008050 
+ 00019492  0x00004875 call  0x000066ce 
+ 00019493  0x00004876 jam  0x00000001 , 0x00008043 
+ 00019494  0x00004877 jam  0x00000081 , 0x00008062 
+ 00019495  0x00004878 rtn 
+ 00019496  0x0000487b setarg  0x00001fff 
+ 00019497  0x0000487c hstore  0x00000002 , 0x0000805c 
+ 00019498  0x0000487d hfetch  0x00000001 , 0x00008081 
+ 00019499  0x0000487e or_into  0x00000007 , 0x0000003f 
+ 00019500  0x0000487f hstore  0x00000001 , 0x00008081 
+ 00019501  0x00004880 rtn 
+ 00019502  0x00004884 bpatchx  0x00000001 , 0x00004020 
+ 00019503  0x00004885 hfetch  0x00000001 , 0x0000810c 
+ 00019504  0x00004886 iforce  0x00000012 
+ 00019505  0x00004887 bbit0  0x00000003 , 0x00004c37 
+ 00019506  0x00004888 hfetch  0x00000002 , 0x00008112 
+ 00019507  0x00004889 iforce  0x00000013 
+ 00019508  0x0000488a arg  0x0000044f , 0x00000002 
+ 00019509  0x0000488b isub  0x00000002 , 0x0000003e 
+ 00019510  0x0000488c nrtn  0x00000005 
+ 00019511  0x0000488e hfetch  0x00000002 , 0x00008058 
+ 00019512  0x0000488f iforce  0x00000003 
+ 00019513  0x00004890 branch  0x00004bc8 
+ 00019514  0x00004893 hfetcht  0x00000001 , 0x0000810c 
+ 00019515  0x00004894 isolate1  0x00000006 , 0x00000002 
+ 00019516  0x00004895 branch  0x00004c3a , 0x00000001 
+ 00019517  0x00004896 hstore  0x00000001 , 0x00008015 
+ 00019518  0x00004897 rtn 
+ 00019519  0x0000489a bpatchx  0x00000002 , 0x00004020 
+ 00019520  0x0000489b fetch  0x00000001 , 0x000041ce 
+ 00019521  0x0000489c branch  0x00004c44 , 0x00000034 
+ 00019522  0x0000489d enable  0x00000028 
+ 00019523  0x0000489e rtn 
+ 00019524  0x000048a0 ifetch  0x00000002 , 0x00000003 
+ 00019525  0x000048a1 iforce  0x00000030 
+ 00019526  0x000048a2 iforce  0x00000007 
+ 00019527  0x000048a3 ifetch  0x00000001 , 0x00000003 
+ 00019528  0x000048a4 iforce  0x00000002 
+ 00019529  0x000048a5 rshift2  0x00000030 , 0x0000003f 
+ 00019530  0x000048a6 rshift8  0x0000003f , 0x0000003f 
+ 00019531  0x000048a7 beq  0x0000003f , 0x00004c4d 
+ 00019532  0x000048a8 rtn 
+ 00019533  0x000048ac bpatchx  0x00000003 , 0x00004020 
+ 00019534  0x000048ad deposit  0x00000007 
+ 00019535  0x000048ae beq  0x00000000 , 0x00004cdc 
+ 00019536  0x000048af beq  0x00000001 , 0x00004c66 
+ 00019537  0x000048b0 beq  0x00000002 , 0x00004c6b 
+ 00019538  0x000048b1 beq  0x00000003 , 0x00004c7a 
+ 00019539  0x000048b2 beq  0x00000004 , 0x00004cb3 
+ 00019540  0x000048b3 beq  0x00000005 , 0x00004cdc 
+ 00019541  0x000048b4 beq  0x00000006 , 0x00004cc6 
+ 00019542  0x000048b5 beq  0x00000007 , 0x00004c5c 
+ 00019543  0x000048b7 beq  0x00000010 , 0x00004cc9 
+ 00019544  0x000048b8 beq  0x00000011 , 0x00004cd1 
+ 00019545  0x000048b9 beq  0x00000012 , 0x00004ca5 
+ 00019546  0x000048ba beq  0x00000013 , 0x00004c85 
+ 00019547  0x000048bb branch  0x00004cdc 
+ 00019548  0x000048be call  0x00004cdc 
+ 00019549  0x000048bf call  0x00007f9e 
+ 00019550  0x000048c0 call  0x0000688c 
+ 00019551  0x000048c2 call  0x000033d2 
+ 00019552  0x000048c3 call  0x000033d9 
+ 00019553  0x000048c4 branch  0x0000688f 
+ 00019554  0x000048c7 jam  0x00000000 , 0x00004245 
+ 00019555  0x000048c8 call  0x000033d0 
+ 00019556  0x000048c9 call  0x00004c13 
+ 00019557  0x000048ca branch  0x000033db 
+ 00019558  0x000048cd call  0x00004cf2 
+ 00019559  0x000048ce hfetch  0x00000002 , 0x00008000 
+ 00019560  0x000048cf istore  0x00000002 , 0x0000000a 
+ 00019561  0x000048d0 force  0x00000006 , 0x00000039 
+ 00019562  0x000048d1 branch  0x00004cdd 
+ 00019563  0x000048d4 ifetch  0x00000002 , 0x00000003 
+ 00019564  0x000048d5 store  0x00000002 , 0x00004243 
+ 00019565  0x000048d6 hstore  0x00000002 , 0x00008052 
+ 00019566  0x000048d7 rtn 
+ 00019567  0x000048dc ifetch  0x00000001 , 0x00000003 
+ 00019568  0x000048dd copy  0x0000003f , 0x00000002 
+ 00019569  0x000048de hstore  0x00000001 , 0x00008024 
+ 00019570  0x000048df ifetch  0x00000001 , 0x00000003 
+ 00019571  0x000048e0 iadd  0x00000002 , 0x00000002 
+ 00019572  0x000048e1 set1  0x00000007 , 0x0000003f 
+ 00019573  0x000048e2 hstore  0x00000001 , 0x00008023 
+ 00019574  0x000048e3 ifetch  0x00000001 , 0x00000003 
+ 00019575  0x000048e4 iadd  0x00000002 , 0x00000002 
+ 00019576  0x000048e5 copy  0x0000003f , 0x00000039 
+ 00019577  0x000048e6 rtn 
+ 00019578  0x000048e9 bmark1  0x0000002b , 0x00004cc4 
+ 00019579  0x000048ea call  0x00004c6f 
+ 00019580  0x000048ec ifetch  0x00000001 , 0x00000003 
+ 00019581  0x000048ed hstore  0x00000001 , 0x00008025 
+ 00019582  0x000048ee iadd  0x00000002 , 0x00000002 
+ 00019583  0x000048ef loop  0x00004c7c 
+ 00019584  0x000048f1 and  0x00000002 , 0x000000ff , 0x00000002 
+ 00019585  0x000048f2 ifetch  0x00000001 , 0x00000003 
+ 00019586  0x000048f3 isub  0x00000002 , 0x0000003e 
+ 00019587  0x000048f4 nbranch  0x00004cc4 , 0x00000005 
+ 00019588  0x000048f5 branch  0x00004cdc 
+ 00019589  0x000048f9 bmark0  0x0000002b , 0x00004cc4 
+ 00019590  0x000048fa call  0x00004c6f 
+ 00019591  0x000048fb store  0x00000008 , 0x00000a9a 
+ 00019592  0x000048fd call  0x00007422 
+ 00019593  0x000048fe arg  0x00000010 , 0x00000039 
+ 00019594  0x000048ff arg  0x00000ac2 , 0x00000005 
+ 00019595  0x00004900 call  0x00004ca0 
+ 00019596  0x00004901 storet  0x00000008 , 0x00000aa2 
+ 00019597  0x00004902 arg  0x00000ad2 , 0x00000005 
+ 00019598  0x00004903 call  0x00007497 
+ 00019599  0x00004904 arg  0x00000ad2 , 0x00000011 
+ 00019600  0x00004905 arg  0x00000ac2 , 0x00000012 
+ 00019601  0x00004906 arg  0x00000ae2 , 0x00000005 
+ 00019602  0x00004907 call  0x00007352 
+ 00019603  0x00004908 arg  0x00000010 , 0x00000039 
+ 00019604  0x00004909 arg  0x00000ae2 , 0x00000006 
+ 00019605  0x0000490a call  0x00004c9c 
+ 00019606  0x0000490b fetcht  0x00000008 , 0x00000aa2 
+ 00019607  0x0000490c fetch  0x00000008 , 0x00000a9a 
+ 00019608  0x0000490d increase  0xfffffff0 , 0x0000003f 
+ 00019609  0x0000490e store  0x00000008 , 0x00000a9a 
+ 00019610  0x0000490f nbranch  0x00004c88 , 0x00000034 
+ 00019611  0x00004910 branch  0x00004c80 
+ 00019612  0x00004913 ifetch  0x00000001 , 0x00000006 
+ 00019613  0x00004914 hstore  0x00000001 , 0x00008025 
+ 00019614  0x00004915 loop  0x00004c9c 
+ 00019615  0x00004916 rtn 
+ 00019616  0x00004919 ifetch  0x00000001 , 0x00000003 
+ 00019617  0x0000491a istore  0x00000001 , 0x00000005 
+ 00019618  0x0000491b iadd  0x00000002 , 0x00000002 
+ 00019619  0x0000491c loop  0x00004ca0 
+ 00019620  0x0000491d rtn 
+ 00019621  0x00004920 bmark0  0x0000002b , 0x00004cc4 
+ 00019622  0x00004921 arg  0x00000000 , 0x00000002 
+ 00019623  0x00004922 arg  0x00000010 , 0x00000039 
+ 00019624  0x00004923 arg  0x00000ac2 , 0x00000005 
+ 00019625  0x00004924 call  0x00004ca0 
+ 00019626  0x00004925 hfetch  0x00000001 , 0x00008085 
+ 00019627  0x00004926 and_into  0x000000fd , 0x0000003f 
+ 00019628  0x00004927 hstore  0x00000001 , 0x00008085 
+ 00019629  0x00004928 arg  0x00000ac2 , 0x00000006 
+ 00019630  0x00004929 arg  0x00000010 , 0x00000039 
+ 00019631  0x0000492a call  0x00007478 
+ 00019632  0x0000492b call  0x00007428 
+ 00019633  0x0000492c call  0x00007491 
+ 00019634  0x0000492d branch  0x00004c80 
+ 00019635  0x00004931 arg  0x00000020 , 0x00000039 
+ 00019636  0x00004932 arg  0x00004000 , 0x00000005 
+ 00019637  0x00004933 arg  0x00000000 , 0x00000002 
+ 00019638  0x00004935 ifetch  0x00000001 , 0x00000003 
+ 00019639  0x00004936 istore  0x00000001 , 0x00000005 
+ 00019640  0x00004937 iadd  0x00000002 , 0x00000002 
+ 00019641  0x00004938 loop  0x00004cb6 
+ 00019642  0x00004939 and  0x00000002 , 0x000000ff , 0x00000002 
+ 00019643  0x0000493a ifetch  0x00000001 , 0x00000003 
+ 00019644  0x0000493b isub  0x00000002 , 0x0000003e 
+ 00019645  0x0000493c nbranch  0x00004cc4 , 0x00000005 
+ 00019646  0x0000493d jam  0x00000000 , 0x00008023 
+ 00019647  0x0000493e call  0x00004cdc 
+ 00019648  0x0000493f call  0x00004be6 
+ 00019649  0x00004940 call  0x000064a3 
+ 00019650  0x00004941 call  0x00007f9e 
+ 00019651  0x00004942 branch  0x00002001 
+ 00019652  0x00004945 jam  0x00000000 , 0x00008023 
+ 00019653  0x00004946 branch  0x00002000 
+ 00019654  0x00004949 ifetch  0x00000006 , 0x00000003 
+ 00019655  0x0000494a store  0x00000006 , 0x000040a0 
+ 00019656  0x0000494b branch  0x00004cdc 
+ 00019657  0x0000494f ifetch  0x00000001 , 0x00000003 
+ 00019658  0x00004950 store  0x00000001 , 0x0000025a 
+ 00019659  0x00004951 copy  0x0000003f , 0x00000039 
+ 00019660  0x00004952 ifetch  0x00000002 , 0x00000003 
+ 00019661  0x00004953 store  0x00000002 , 0x0000025b 
+ 00019662  0x00004954 copy  0x0000003f , 0x00000005 
+ 00019663  0x00004955 call  0x000066fd 
+ 00019664  0x00004956 branch  0x00004cdc 
+ 00019665  0x0000495a ifetch  0x00000001 , 0x00000003 
+ 00019666  0x0000495b store  0x00000001 , 0x0000025a 
+ 00019667  0x0000495c copy  0x0000003f , 0x00000039 
+ 00019668  0x0000495d ifetch  0x00000002 , 0x00000003 
+ 00019669  0x0000495e store  0x00000002 , 0x0000025b 
+ 00019670  0x0000495f arg  0x00001000 , 0x00000005 
+ 00019671  0x00004960 call  0x000066fd 
+ 00019672  0x00004961 fetcht  0x00000001 , 0x0000025a 
+ 00019673  0x00004962 arg  0x00001000 , 0x00000011 
+ 00019674  0x00004963 fetch  0x00000002 , 0x0000025b 
+ 00019675  0x00004964 branch  0x00006608 
+ 00019676  0x0000496a force  0x00000004 , 0x00000039 
+ 00019677  0x0000496c call  0x00004cf4 
+ 00019678  0x0000496d force  0x00000001 , 0x0000003f 
+ 00019679  0x0000496e istore  0x00000001 , 0x0000000a 
+ 00019680  0x0000496f deposit  0x00000030 
+ 00019681  0x00004970 istore  0x00000003 , 0x0000000a 
+ 00019682  0x00004971 force  0x0000000e , 0x00000007 
+ 00019683  0x00004973 bpatchx  0x00000004 , 0x00004020 
+ 00019684  0x00004974 call  0x00004cf6 
+ 00019685  0x00004975 deposit  0x00000007 
+ 00019686  0x00004976 istore  0x00000001 , 0x0000000a 
+ 00019687  0x00004977 deposit  0x00000039 
+ 00019688  0x00004978 istore  0x00000001 , 0x0000000a 
+ 00019689  0x0000497a force  0x00000005 , 0x00000007 
+ 00019690  0x0000497b increase  0x00000002 , 0x00000039 
+ 00019691  0x0000497d branch  0x00004bf9 
+ 00019692  0x00004980 force  0x000000ff , 0x00000007 
+ 00019693  0x00004981 call  0x00004cf4 
+ 00019694  0x00004982 setarg  0x00000001 
+ 00019695  0x00004983 istore  0x00000001 , 0x0000000a 
+ 00019696  0x00004984 force  0x00000001 , 0x00000039 
+ 00019697  0x00004985 branch  0x00004ce3 
+ 00019698  0x00004988 force  0x0000000c , 0x0000000a 
+ 00019699  0x00004989 branch  0x00004cf7 
+ 00019700  0x0000498c force  0x00000008 , 0x0000000a 
+ 00019701  0x0000498d branch  0x00004cf7 
+ 00019702  0x00004990 force  0x00000006 , 0x0000000a 
+ 00019703  0x00004992 branch  0x00004bf5 
+ 00019704  0x00004997 pulse  0x0000000f 
+ 00019705  0x00004998 enable  0x00000009 
+ 00019706  0x0000499a ifetch  0x00000001 , 0x0000000a 
+ 00019707  0x0000499b inject  0x00000000 , 0x00000008 
+ 00019708  0x0000499c loop  0x00004cfa 
+ 00019709  0x0000499d enable  0x00000008 
+ 00019710  0x0000499e inject  0x00000000 , 0x00000010 
+ 00019711  0x0000499f disable  0x00000008 
+ 00019712  0x000049a0 disable  0x00000009 
+ 00019713  0x000049a1 disable  0x0000000f 
+ 00019714  0x000049a2 byteswap  0x0000003f , 0x0000003f 
+ 00019715  0x000049a3 rtn 
+ 00019716  0x000049a8 jam  0x00000000 , 0x000041ce 
+ 00019717  0x000049a9 rtn 
+ 00019718  0x000049ab fetch  0x00000006 , 0x000041d0 
+ 00019719  0x000049ac fetcht  0x00000006 , 0x00000040 
+ 00019720  0x000049ad isub  0x00000002 , 0x0000003e 
+ 00019721  0x000049ae rtn 
+ 00019722  0x000049b4 fetch  0x00000001 , 0x0000004b 
+ 00019723  0x000049b5 bbit1  0x00000002 , 0x00004d0f 
+ 00019724  0x000049b6 call  0x000062ef 
+ 00019725  0x000049b7 jam  0x00000008 , 0x0000007c 
+ 00019726  0x000049b8 branch  0x00004d04 
+ 00019727  0x000049ba set0  0x00000002 , 0x0000003f 
+ 00019728  0x000049bb store  0x00000001 , 0x0000004b 
+ 00019729  0x000049bc call  0x00006001 
+ 00019730  0x000049bd setarg  0x00000000 
+ 00019731  0x000049be setflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00019732  0x000049bf store  0x00000001 , 0x0000007f 
+ 00019733  0x000049c0 branch  0x00004d04 
+ 00019734  0x000049c1 rtn 
+ 00019735  0x000049c3 jam  0x00000017 , 0x0000007c 
+ 00019736  0x000049c4 arg  0x000004d9 , 0x00000005 
+ 00019737  0x000049c5 setarg  0x00000000 
+ 00019738  0x000049c6 isolate1  0x0000001b , 0x00000028 
+ 00019739  0x000049c7 setflag  0x00000001 , 0x00000001 , 0x0000003f 
+ 00019740  0x000049c8 istore  0x00000001 , 0x00000005 
+ 00019741  0x000049c9 setarg  0x00000000 
+ 00019742  0x000049ca istore  0x00000002 , 0x00000005 
+ 00019743  0x000049cb fetch  0x00000002 , 0x000041e3 
+ 00019744  0x000049cc istore  0x00000002 , 0x00000005 
+ 00019745  0x000049cd fetch  0x00000001 , 0x000041e5 
+ 00019746  0x000049ce istore  0x00000002 , 0x00000005 
+ 00019747  0x000049cf fetch  0x00000001 , 0x000041e7 
+ 00019748  0x000049d0 istore  0x00000002 , 0x00000005 
+ 00019749  0x000049d1 branch  0x00004d04 
+ 00019750  0x000049d4 jam  0x00000018 , 0x0000007c 
+ 00019751  0x000049d5 branch  0x00004d04 
+ 00019752  0x000049d8 call  0x00006899 
+ 00019753  0x000049d9 rtn  0x00000001 
+ 00019754  0x000049da arg  0x00000007 , 0x00000002 
+ 00019755  0x000049db call  0x0000681d 
+ 00019756  0x000049dc nbranch  0x00004d2f , 0x00000001 
+ 00019757  0x000049dd jam  0x00000001 , 0x00004245 
+ 00019758  0x000049de rtn 
+ 00019759  0x000049e0 fetch  0x00000001 , 0x00004245 
+ 00019760  0x000049e1 rtnne  0x00000001 
+ 00019761  0x000049e2 call  0x00004c62 
+ 00019762  0x000049e3 branch  0x00004cec 
+ 00019763  0x000049f2 bpatchx  0x00000005 , 0x00004020 
+ 00019764  0x000049f3 fetch  0x00000002 , 0x00000264 
+ 00019765  0x000049f4 copy  0x0000003f , 0x00000006 
+ 00019766  0x000049f5 ifetch  0x00000001 , 0x00000006 
+ 00019767  0x000049f6 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00019768  0x000049f7 rshift4  0x0000003f , 0x0000003f 
+ 00019769  0x000049f8 beq  0x00000009 , 0x00004d53 
+ 00019770  0x000049f9 beq  0x00000007 , 0x00004d53 
+ 00019771  0x000049fa beq  0x0000000a , 0x00004d5f 
+ 00019772  0x000049fb beq  0x00000005 , 0x00004d4b 
+ 00019773  0x000049fc beq  0x00000001 , 0x00004d3f 
+ 00019774  0x000049fd rtn 
+ 00019775  0x00004a00 copy  0x00000002 , 0x0000003f 
+ 00019776  0x00004a01 beq  0x00000005 , 0x00004d43 
+ 00019777  0x00004a02 beq  0x00000003 , 0x00004d4a 
+ 00019778  0x00004a03 rtn 
+ 00019779  0x00004a06 jam  0x00000027 , 0x00000a99 
+ 00019780  0x00004a07 call  0x00007d86 
+ 00019781  0x00004a08 fetch  0x00000001 , 0x00004092 
+ 00019782  0x00004a09 rtnbit0  0x00000006 
+ 00019783  0x00004a0a copy  0x00000002 , 0x0000003f 
+ 00019784  0x00004a0b beq  0x00000005 , 0x0000438e 
+ 00019785  0x00004a0c rtn 
+ 00019786  0x00004a0e rtn 
+ 00019787  0x00004a11 call  0x00004d5f 
+ 00019788  0x00004a12 arg  0x00000001 , 0x00000011 
+ 00019789  0x00004a13 call  0x00004d63 
+ 00019790  0x00004a14 fetch  0x00000002 , 0x0000424c 
+ 00019791  0x00004a15 istore  0x00000002 , 0x00000005 
+ 00019792  0x00004a16 setarg  0x00000000 
+ 00019793  0x00004a17 istore  0x00000001 , 0x00000005 
+ 00019794  0x00004a18 rtn 
+ 00019795  0x00004a1b arg  0x00000001 , 0x00000011 
+ 00019796  0x00004a1c call  0x00004d63 
+ 00019797  0x00004a1d fetch  0x00000002 , 0x0000424c 
+ 00019798  0x00004a1e istore  0x00000002 , 0x00000005 
+ 00019799  0x00004a1f setarg  0x00000000 
+ 00019800  0x00004a20 istore  0x00000001 , 0x00000005 
+ 00019801  0x00004a21 jam  0x00000001 , 0x00000a8e 
+ 00019802  0x00004a22 fetch  0x00000001 , 0x00004252 
+ 00019803  0x00004a23 set1  0x00000006 
+ 00019804  0x00004a24 store  0x00000001 , 0x00004252 
+ 00019805  0x00004a25 jam  0x00000012 , 0x00000a99 
+ 00019806  0x00004a26 branch  0x00007d86 
+ 00019807  0x00004a29 ifetch  0x00000001 , 0x00000006 
+ 00019808  0x00004a2a beq  0x00000001 , 0x00004d62 
+ 00019809  0x00004a2b rtn 
+ 00019810  0x00004a2e rtn 
+ 00019811  0x00004a32 call  0x00005240 
+ 00019812  0x00004a33 copy  0x00000011 , 0x00000002 
+ 00019813  0x00004a34 storet  0x00000001 , 0x00000a8e 
+ 00019814  0x00004a35 copy  0x0000003f , 0x00000005 
+ 00019815  0x00004a36 copy  0x00000011 , 0x0000003f 
+ 00019816  0x00004a37 istore  0x00000002 , 0x00000005 
+ 00019817  0x00004a38 rtn 
+ 00019818  0x00004a4a branch  0x00004d6f , 0x0000002b 
+ 00019819  0x00004a4c setarg  0x00004365 
+ 00019820  0x00004a4d arg  0x00004246 , 0x00000005 
+ 00019821  0x00004a4e isub  0x00000005 , 0x00000039 
+ 00019822  0x00004a4f call  0x00007ed4 
+ 00019823  0x00004a51 bpatchx  0x00000006 , 0x00004020 
+ 00019824  0x00004a52 setarg  0x00000551 
+ 00019825  0x00004a53 arg  0x00000511 , 0x00000005 
+ 00019826  0x00004a54 isub  0x00000005 , 0x00000039 
+ 00019827  0x00004a55 call  0x00007ed4 
+ 00019828  0x00004a56 setarg  0x000002c9 
+ 00019829  0x00004a57 arg  0x0000025d , 0x00000005 
+ 00019830  0x00004a58 isub  0x00000005 , 0x00000039 
+ 00019831  0x00004a59 call  0x00007ed4 
+ 00019832  0x00004a5a branch  0x00005318 
+ 00019833  0x00004a5d bpatchx  0x00000007 , 0x00004020 
+ 00019834  0x00004a5e copy  0x00000006 , 0x00000002 
+ 00019835  0x00004a61 copy  0x00000002 , 0x00000006 
+ 00019836  0x00004a62 ifetch  0x00000002 , 0x00000006 
+ 00019837  0x00004a63 store  0x00000002 , 0x00000266 
+ 00019838  0x00004a64 ifetch  0x00000002 , 0x00000006 
+ 00019839  0x00004a65 store  0x00000002 , 0x00000268 
+ 00019840  0x00004a66 deposit  0x00000006 
+ 00019841  0x00004a67 store  0x00000002 , 0x00000264 
+ 00019842  0x00004a68 fetch  0x00000001 , 0x00004681 
+ 00019843  0x00004a69 beq  0x00000000 , 0x00004d85 
+ 00019844  0x00004a6a branch  0x000050ef 
+ 00019845  0x00004a6d fetch  0x00000002 , 0x00000266 
+ 00019846  0x00004a6e branch  0x00004dfc , 0x00000034 
+ 00019847  0x00004a6f bpatchx  0x00000008 , 0x00004021 
+ 00019848  0x00004a70 fetch  0x00000001 , 0x00000268 
+ 00019849  0x00004a71 beq  0x00000001 , 0x00004d9d 
+ 00019850  0x00004a73 beq  0x00000050 , 0x00004de0 
+ 00019851  0x00004a74 beq  0x00000051 , 0x00004df5 
+ 00019852  0x00004a75 beq  0x00000052 , 0x00004df3 
+ 00019853  0x00004a76 beq  0x00000053 , 0x00004df3 
+ 00019854  0x00004a77 branch  0x00004dfc 
+ 00019855  0x00004a7c bpatchx  0x00000009 , 0x00004021 
+ 00019856  0x00004a7d call  0x0000527e 
+ 00019857  0x00004a7e fetch  0x00000001 , 0x00004256 
+ 00019858  0x00004a7f beq  0x00000000 , 0x00004d9b 
+ 00019859  0x00004a80 beq  0x00000001 , 0x00004d9b 
+ 00019860  0x00004a81 beq  0x00000002 , 0x00004d9b 
+ 00019861  0x00004a82 beq  0x00000003 , 0x00004d9b 
+ 00019862  0x00004a83 beq  0x00000081 , 0x00004d9b 
+ 00019863  0x00004a84 beq  0x000000c0 , 0x00004d9b 
+ 00019864  0x00004a85 beq  0x00000080 , 0x00004d9b 
+ 00019865  0x00004a86 beq  0x00000040 , 0x00004d9b 
+ 00019866  0x00004a87 rtn 
+ 00019867  0x00004a8a setarg  0x00000000 
+ 00019868  0x00004a8b rtn 
+ 00019869  0x00004a8f call  0x00004d8f 
+ 00019870  0x00004a90 nrtn  0x00000034 
+ 00019871  0x00004a92 call  0x000052b8 
+ 00019872  0x00004a93 call  0x00004e01 
+ 00019873  0x00004a94 fetcht  0x00000002 , 0x0000026f 
+ 00019874  0x00004a95 branch  0x00004dfb , 0x00000034 
+ 00019875  0x00004a96 call  0x000052c1 
+ 00019876  0x00004a97 fetch  0x00000002 , 0x0000026f 
+ 00019877  0x00004a98 istore  0x00000002 , 0x00000005 
+ 00019878  0x00004a99 force  0x00000001 , 0x0000003f 
+ 00019879  0x00004a9a istore  0x00000002 , 0x00000005 
+ 00019880  0x00004a9b branch  0x00004dfc 
+ 00019881  0x00004a9e fetch  0x00000001 , 0x00004364 
+ 00019882  0x00004a9f rtn  0x00000034 
+ 00019883  0x00004aa0 copy  0x0000003f , 0x00000011 
+ 00019884  0x00004aa1 bpatchx  0x0000000a , 0x00004021 
+ 00019885  0x00004aa2 fetch  0x00000004 , 0x000002d5 
+ 00019886  0x00004aa3 arg  0x00000100 , 0x00000002 
+ 00019887  0x00004aa4 iadd  0x00000002 , 0x00000002 
+ 00019888  0x00004aa5 copy  0x00000022 , 0x0000003f 
+ 00019889  0x00004aa6 isub  0x00000002 , 0x0000003e 
+ 00019890  0x00004aa7 nrtn  0x00000002 
+ 00019891  0x00004aa8 jam  0x00000000 , 0x00004364 
+ 00019892  0x00004aa9 copy  0x00000011 , 0x0000003f 
+ 00019893  0x00004aaa beq  0x00000050 , 0x00004db7 
+ 00019894  0x00004aab branch  0x00002a8c 
+ 00019895  0x00004aad arg  0x00000000 , 0x00000008 
+ 00019896  0x00004aae call  0x000052b8 
+ 00019897  0x00004aaf call  0x00004e7a 
+ 00019898  0x00004ab0 call  0x000052c3 
+ 00019899  0x00004ab1 call  0x00007ea8 
+ 00019900  0x00004ab2 call  0x00004ead 
+ 00019901  0x00004ab3 call  0x000052c1 
+ 00019902  0x00004ab5 setarg  0x0000000c 
+ 00019903  0x00004ab6 istore  0x00000002 , 0x00000005 
+ 00019904  0x00004ab7 force  0x00000001 , 0x0000003f 
+ 00019905  0x00004ab8 istore  0x00000002 , 0x00000005 
+ 00019906  0x00004ab9 branch  0x00004dfc 
+ 00019907  0x00004abe bpatchx  0x0000000b , 0x00004021 
+ 00019908  0x00004abf fetch  0x00000002 , 0x00000275 
+ 00019909  0x00004ac0 increase  0x00000004 , 0x0000003f 
+ 00019910  0x00004ac1 rshift4  0x0000003f , 0x0000003f 
+ 00019911  0x00004ac2 rshift3  0x0000003f , 0x0000003f 
+ 00019912  0x00004ac3 add  0x0000003f , 0x00000001 , 0x00000002 
+ 00019913  0x00004ac4 arg  0x00004260 , 0x00000006 
+ 00019914  0x00004ac5 ifetch  0x00000003 , 0x00000006 
+ 00019915  0x00004ac6 rtn  0x00000034 
+ 00019916  0x00004ac7 store  0x00000003 , 0x00000ac2 
+ 00019917  0x00004ac8 fetch  0x00000001 , 0x00000ac2 
+ 00019918  0x00004ac9 copy  0x0000003f , 0x00000011 
+ 00019919  0x00004aca call  0x00004dd3 
+ 00019920  0x00004acb copy  0x00000012 , 0x0000003f 
+ 00019921  0x00004acc store  0x00000001 , 0x00004260 
+ 00019922  0x00004acd rtn 
+ 00019923  0x00004ad0 arg  0x00000000 , 0x00000007 
+ 00019924  0x00004ad1 arg  0x00000000 , 0x00000012 
+ 00019925  0x00004ad4 sub  0x00000007 , 0x00000007 , 0x0000003e 
+ 00019926  0x00004ad5 nrtn  0x00000002 
+ 00019927  0x00004ad6 qisolate1  0x00000011 
+ 00019928  0x00004ad7 branch  0x00004dda , 0x00000001 
+ 00019929  0x00004ad8 branch  0x00004dde 
+ 00019930  0x00004adb copy  0x00000002 , 0x0000003f 
+ 00019931  0x00004adc branch  0x00004dde , 0x00000034 
+ 00019932  0x00004add qset1  0x00000012 
+ 00019933  0x00004ade increase  0xffffffff , 0x00000002 
+ 00019934  0x00004ae1 increase  0x00000001 , 0x00000007 
+ 00019935  0x00004ae2 branch  0x00004dd5 
+ 00019936  0x00004ae5 call  0x00005274 
+ 00019937  0x00004ae6 nrtn  0x00000034 
+ 00019938  0x00004ae7 call  0x00004d8f 
+ 00019939  0x00004ae8 nrtn  0x00000034 
+ 00019940  0x00004ae9 call  0x000052c5 
+ 00019941  0x00004aea call  0x00006e11 
+ 00019942  0x00004aeb call  0x00004dc3 
+ 00019943  0x00004aec branch  0x00004dec 
+ 00019944  0x00004af0 call  0x00005274 
+ 00019945  0x00004af1 nrtn  0x00000034 
+ 00019946  0x00004af2 call  0x000052c5 
+ 00019947  0x00004af3 call  0x00006e11 
+ 00019948  0x00004af5 call  0x000052ce 
+ 00019949  0x00004af6 fetch  0x00000002 , 0x00000275 
+ 00019950  0x00004af7 branch  0x00004dfb , 0x00000034 
+ 00019951  0x00004af8 istore  0x00000002 , 0x00000005 
+ 00019952  0x00004af9 fetch  0x00000002 , 0x00004248 
+ 00019953  0x00004afa istore  0x00000002 , 0x00000005 
+ 00019954  0x00004afb branch  0x00004dfc 
+ 00019955  0x00004afe call  0x00004d33 
+ 00019956  0x00004aff branch  0x00004dfc 
+ 00019957  0x00004b02 bpatchx  0x0000000c , 0x00004021 
+ 00019958  0x00004b03 jam  0x00000000 , 0x00000284 
+ 00019959  0x00004b04 call  0x00006a8a 
+ 00019960  0x00004b05 fetch  0x00000001 , 0x00000284 
+ 00019961  0x00004b06 rtneq  0x00000001 
+ 00019962  0x00004b07 branch  0x00004dfc 
+ 00019963  0x00004b09 call  0x00005264 
+ 00019964  0x00004b0c setarg  0x00000000 
+ 00019965  0x00004b0d store  0x00000002 , 0x00000266 
+ 00019966  0x00004b0e store  0x00000002 , 0x00000268 
+ 00019967  0x00004b0f jam  0x00000001 , 0x0000026a 
+ 00019968  0x00004b10 rtn 
+ 00019969  0x00004b13 bpatchx  0x0000000d , 0x00004021 
+ 00019970  0x00004b14 call  0x000052c3 
+ 00019971  0x00004b15 force  0x00000000 , 0x00000012 
+ 00019972  0x00004b16 fetch  0x00000002 , 0x00000266 
+ 00019973  0x00004b17 copy  0x0000003f , 0x00000013 
+ 00019974  0x00004b18 fetch  0x00000002 , 0x00000264 
+ 00019975  0x00004b19 iforce  0x00000006 
+ 00019976  0x00004b1b call  0x00004e10 
+ 00019977  0x00004b1c deposit  0x00000013 
+ 00019978  0x00004b1d increase  0xfffffffc , 0x00000013 
+ 00019979  0x00004b1e increase  0xfffffffc , 0x0000003f 
+ 00019980  0x00004b1f nbranch  0x00004e08 , 0x00000034 
+ 00019981  0x00004b20 copy  0x00000012 , 0x0000003f 
+ 00019982  0x00004b21 store  0x00000002 , 0x0000026f 
+ 00019983  0x00004b22 rtn 
+ 00019984  0x00004b25 bpatchx  0x0000000e , 0x00004021 
+ 00019985  0x00004b26 ifetch  0x00000001 , 0x00000006 
+ 00019986  0x00004b27 beq  0x00000001 , 0x00004e49 
+ 00019987  0x00004b28 beq  0x00000002 , 0x00004e51 
+ 00019988  0x00004b29 beq  0x00000003 , 0x00004ed5 
+ 00019989  0x00004b2a beq  0x00000004 , 0x00004f05 
+ 00019990  0x00004b2b beq  0x00000005 , 0x00004fa2 
+ 00019991  0x00004b2c beq  0x00000006 , 0x00004fcb 
+ 00019992  0x00004b2d beq  0x00000007 , 0x0000501b 
+ 00019993  0x00004b2e beq  0x00000008 , 0x00005050 
+ 00019994  0x00004b2f beq  0x00000009 , 0x00005060 
+ 00019995  0x00004b30 beq  0x0000000a , 0x00004e1f 
+ 00019996  0x00004b31 beq  0x0000000b , 0x00005061 
+ 00019997  0x00004b32 call  0x00005062 
+ 00019998  0x00004b34 rtn 
+ 00019999  0x00004b37 ifetch  0x00000001 , 0x00000006 
+ 00020000  0x00004b38 copy  0x0000003f , 0x00000007 
+ 00020001  0x00004b39 ifetch  0x00000002 , 0x00000006 
+ 00020002  0x00004b3a copy  0x0000003f , 0x00000011 
+ 00020003  0x00004b3b copy  0x00000013 , 0x0000003f 
+ 00020004  0x00004b3c isub  0x00000011 , 0x00000013 
+ 00020005  0x00004b3d setarg  0x0000000b 
+ 00020006  0x00004b3e istore  0x00000001 , 0x00000005 
+ 00020007  0x00004b3f copy  0x00000007 , 0x0000003f 
+ 00020008  0x00004b40 istore  0x00000001 , 0x00000005 
+ 00020009  0x00004b41 ifetch  0x00000002 , 0x00000006 
+ 00020010  0x00004b43 beq  0x00000002 , 0x00004e2d 
+ 00020011  0x00004b44 beq  0x00000003 , 0x00004e33 
+ 00020012  0x00004b45 rtn 
+ 00020013  0x00004b47 setarg  0x00020008 
+ 00020014  0x00004b48 istore  0x00000006 , 0x00000005 
+ 00020015  0x00004b49 setarg  0x00000280 
+ 00020016  0x00004b4a istore  0x00000004 , 0x00000005 
+ 00020017  0x00004b4b force  0x0000000c , 0x0000003f 
+ 00020018  0x00004b4c branch  0x00004e38 
+ 00020019  0x00004b4e setarg  0x0003000c 
+ 00020020  0x00004b4f istore  0x00000006 , 0x00000005 
+ 00020021  0x00004b50 setarg  0x00000006 
+ 00020022  0x00004b51 istore  0x00000008 , 0x00000005 
+ 00020023  0x00004b52 force  0x00000010 , 0x0000003f 
+ 00020024  0x00004b54 iadd  0x00000012 , 0x00000012 
+ 00020025  0x00004b55 branch  0x00004e1e 
+ 00020026  0x00004b58 ifetch  0x00000001 , 0x00000006 
+ 00020027  0x00004b59 copy  0x0000003f , 0x00000007 
+ 00020028  0x00004b5a ifetch  0x00000002 , 0x00000006 
+ 00020029  0x00004b5b copy  0x0000003f , 0x00000011 
+ 00020030  0x00004b5c ifetch  0x00000002 , 0x00000006 
+ 00020031  0x00004b5d store  0x00000002 , 0x00000aa2 
+ 00020032  0x00004b5e copy  0x00000013 , 0x0000003f 
+ 00020033  0x00004b5f isub  0x00000011 , 0x00000013 
+ 00020034  0x00004b60 call  0x000052c3 
+ 00020035  0x00004b61 setarg  0x0000000b 
+ 00020036  0x00004b62 istore  0x00000001 , 0x00000005 
+ 00020037  0x00004b63 copy  0x00000007 , 0x0000003f 
+ 00020038  0x00004b64 istore  0x00000001 , 0x00000005 
+ 00020039  0x00004b65 fetch  0x00000002 , 0x00000aa2 
+ 00020040  0x00004b66 branch  0x00004e2a 
+ 00020041  0x00004b6b ifetch  0x00000001 , 0x00000006 
+ 00020042  0x00004b6c copy  0x0000003f , 0x00000007 
+ 00020043  0x00004b6d ifetch  0x00000002 , 0x00000006 
+ 00020044  0x00004b6e copy  0x0000003f , 0x00000011 
+ 00020045  0x00004b6f iadd  0x00000006 , 0x00000006 
+ 00020046  0x00004b70 copy  0x00000013 , 0x0000003f 
+ 00020047  0x00004b71 isub  0x00000011 , 0x00000013 
+ 00020048  0x00004b73 branch  0x00004e1e 
+ 00020049  0x00004b76 call  0x00007ea8 
+ 00020050  0x00004b79 call  0x00007ead 
+ 00020051  0x00004b7a arg  0x00000000 , 0x00000008 
+ 00020052  0x00004b7b ifetch  0x00000001 , 0x00000006 
+ 00020053  0x00004b7c copy  0x0000003f , 0x00000007 
+ 00020054  0x00004b7d ifetch  0x00000002 , 0x00000006 
+ 00020055  0x00004b7e copy  0x0000003f , 0x00000011 
+ 00020056  0x00004b7f ifetch  0x00000002 , 0x00000006 
+ 00020057  0x00004b80 copy  0x0000003f , 0x00000002 
+ 00020058  0x00004b81 ifetch  0x00000002 , 0x00000006 
+ 00020059  0x00004b82 copy  0x0000003f , 0x0000000b 
+ 00020060  0x00004b83 bpatchx  0x0000000f , 0x00004021 
+ 00020061  0x00004b84 copy  0x00000002 , 0x0000003f 
+ 00020062  0x00004b85 beq  0x00000001 , 0x00004e64 
+ 00020063  0x00004b86 beq  0x00000003 , 0x00004e86 
+ 00020064  0x00004b87 beq  0x00000011 , 0x00004e92 
+ 00020065  0x00004b88 beq  0x00000013 , 0x00004e9d 
+ 00020066  0x00004b89 call  0x00005062 
+ 00020067  0x00004b8a branch  0x00004ed4 
+ 00020068  0x00004b8d call  0x00007ea8 
+ 00020069  0x00004b8e arg  0x00000050 , 0x00000002 
+ 00020070  0x00004b8f fetch  0x00000002 , 0x00004248 
+ 00020071  0x00004b90 nbranch  0x00004ece , 0x00000034 
+ 00020072  0x00004b91 copy  0x0000000b , 0x0000003f 
+ 00020073  0x00004b92 store  0x00000002 , 0x00004248 
+ 00020074  0x00004b93 copy  0x00000022 , 0x0000003f 
+ 00020075  0x00004b94 store  0x00000004 , 0x000002d5 
+ 00020076  0x00004b95 call  0x00004e6e 
+ 00020077  0x00004b96 branch  0x00004ea9 
+ 00020078  0x00004b99 storet  0x00000002 , 0x000002d3 
+ 00020079  0x00004b9a deposit  0x0000000b 
+ 00020080  0x00004b9b store  0x00000002 , 0x000002c9 
+ 00020081  0x00004b9c deposit  0x00000011 
+ 00020082  0x00004b9d store  0x00000002 , 0x000002cb 
+ 00020083  0x00004b9e deposit  0x00000012 
+ 00020084  0x00004b9f store  0x00000002 , 0x000002cd 
+ 00020085  0x00004ba0 deposit  0x00000013 
+ 00020086  0x00004ba1 store  0x00000002 , 0x000002cf 
+ 00020087  0x00004ba2 deposit  0x00000007 
+ 00020088  0x00004ba3 store  0x00000002 , 0x000002d1 
+ 00020089  0x00004ba4 rtn 
+ 00020090  0x00004ba7 fetcht  0x00000002 , 0x000002d3 
+ 00020091  0x00004ba8 fetch  0x00000002 , 0x000002c9 
+ 00020092  0x00004ba9 copy  0x0000003f , 0x0000000b 
+ 00020093  0x00004baa fetch  0x00000002 , 0x000002cb 
+ 00020094  0x00004bab copy  0x0000003f , 0x00000011 
+ 00020095  0x00004bac fetch  0x00000002 , 0x000002cd 
+ 00020096  0x00004bad copy  0x0000003f , 0x00000012 
+ 00020097  0x00004bae fetch  0x00000002 , 0x000002cf 
+ 00020098  0x00004baf copy  0x0000003f , 0x00000013 
+ 00020099  0x00004bb0 fetch  0x00000002 , 0x000002d1 
+ 00020100  0x00004bb1 copy  0x0000003f , 0x00000007 
+ 00020101  0x00004bb2 rtn 
+ 00020102  0x00004bb5 call  0x00007ea8 
+ 00020103  0x00004bb6 setarg  0x00000051 
+ 00020104  0x00004bb7 arg  0x00000051 , 0x00000002 
+ 00020105  0x00004bb8 fetch  0x00000002 , 0x0000424a 
+ 00020106  0x00004bb9 nbranch  0x00004ece , 0x00000034 
+ 00020107  0x00004bba copy  0x0000000b , 0x0000003f 
+ 00020108  0x00004bbb store  0x00000002 , 0x0000424a 
+ 00020109  0x00004bbc fetch  0x00000001 , 0x00004251 
+ 00020110  0x00004bbd set1  0x00000000 , 0x0000003f 
+ 00020111  0x00004bbe set1  0x00000001 , 0x0000003f 
+ 00020112  0x00004bbf store  0x00000001 , 0x00004251 
+ 00020113  0x00004bc0 branch  0x00004eb1 
+ 00020114  0x00004bc2 call  0x00007ea8 
+ 00020115  0x00004bc3 arg  0x00000052 , 0x00000002 
+ 00020116  0x00004bc4 fetch  0x00000002 , 0x0000424c 
+ 00020117  0x00004bc5 nbranch  0x00004ece , 0x00000034 
+ 00020118  0x00004bc6 copy  0x0000000b , 0x0000003f 
+ 00020119  0x00004bc7 store  0x00000002 , 0x0000424c 
+ 00020120  0x00004bc8 fetch  0x00000001 , 0x00004252 
+ 00020121  0x00004bc9 set1  0x00000000 , 0x0000003f 
+ 00020122  0x00004bca set1  0x00000001 , 0x0000003f 
+ 00020123  0x00004bcb store  0x00000001 , 0x00004252 
+ 00020124  0x00004bcc branch  0x00004eb1 
+ 00020125  0x00004bce call  0x00007ea8 
+ 00020126  0x00004bcf deposit  0x0000001a 
+ 00020127  0x00004bd0 arg  0x00000053 , 0x00000002 
+ 00020128  0x00004bd1 fetch  0x00000002 , 0x0000424e 
+ 00020129  0x00004bd2 nbranch  0x00004ece , 0x00000034 
+ 00020130  0x00004bd3 copy  0x0000000b , 0x0000003f 
+ 00020131  0x00004bd4 store  0x00000002 , 0x0000424e 
+ 00020132  0x00004bd5 fetch  0x00000001 , 0x00004253 
+ 00020133  0x00004bd6 set1  0x00000000 , 0x0000003f 
+ 00020134  0x00004bd7 set1  0x00000001 , 0x0000003f 
+ 00020135  0x00004bd8 store  0x00000001 , 0x00004253 
+ 00020136  0x00004bd9 branch  0x00004eb1 
+ 00020137  0x00004bdc setarg  0x00000001 
+ 00020138  0x00004bdd store  0x00000002 , 0x0000027d 
+ 00020139  0x00004bde jam  0x00000050 , 0x00004364 
+ 00020140  0x00004bdf branch  0x00004eb3 
+ 00020141  0x00004be1 fetch  0x00000001 , 0x00004250 
+ 00020142  0x00004be2 set1  0x00000000 , 0x0000003f 
+ 00020143  0x00004be3 set1  0x00000001 , 0x0000003f 
+ 00020144  0x00004be4 store  0x00000001 , 0x00004250 
+ 00020145  0x00004be6 setarg  0x00000000 
+ 00020146  0x00004be7 store  0x00000002 , 0x0000027d 
+ 00020147  0x00004be9 bpatchx  0x00000010 , 0x00004022 
+ 00020148  0x00004bea call  0x00007ead 
+ 00020149  0x00004beb setarg  0x00000003 
+ 00020150  0x00004bec istore  0x00000001 , 0x00000005 
+ 00020151  0x00004bed copy  0x00000007 , 0x0000003f 
+ 00020152  0x00004bee istore  0x00000001 , 0x00000005 
+ 00020153  0x00004bef setarg  0x00000008 
+ 00020154  0x00004bf0 istore  0x00000002 , 0x00000005 
+ 00020155  0x00004bf1 copy  0x00000002 , 0x0000003f 
+ 00020156  0x00004bf2 istore  0x00000002 , 0x00000005 
+ 00020157  0x00004bf3 copy  0x0000000b , 0x0000003f 
+ 00020158  0x00004bf4 istore  0x00000002 , 0x00000005 
+ 00020159  0x00004bf5 fetch  0x00000002 , 0x0000027d 
+ 00020160  0x00004bf6 beq  0x00000001 , 0x00004ec9 
+ 00020161  0x00004bf7 isolate0  0x00000000 , 0x00000008 
+ 00020162  0x00004bf8 branch  0x00004ec4 , 0x00000001 
+ 00020163  0x00004bf9 setarg  0x00000004 
+ 00020164  0x00004bfb istore  0x00000002 , 0x00000005 
+ 00020165  0x00004bfc force  0x00000000 , 0x0000003f 
+ 00020166  0x00004bfd istore  0x00000002 , 0x00000005 
+ 00020167  0x00004bfe setarg  0x0000000c 
+ 00020168  0x00004bff branch  0x00004ed0 
+ 00020169  0x00004c01 istore  0x00000002 , 0x00000005 
+ 00020170  0x00004c02 force  0x00000002 , 0x0000003f 
+ 00020171  0x00004c03 istore  0x00000002 , 0x00000005 
+ 00020172  0x00004c04 setarg  0x0000000c 
+ 00020173  0x00004c05 branch  0x00004ed0 
+ 00020174  0x00004c08 set1  0x00000000 , 0x00000008 
+ 00020175  0x00004c09 branch  0x00004eb1 
+ 00020176  0x00004c0b iadd  0x00000012 , 0x00000012 
+ 00020177  0x00004c0c copy  0x00000013 , 0x0000003f 
+ 00020178  0x00004c0d isub  0x00000011 , 0x00000013 
+ 00020179  0x00004c0e branch  0x00004ed4 
+ 00020180  0x00004c10 branch  0x00004e1e 
+ 00020181  0x00004c13 ifetch  0x00000001 , 0x00000006 
+ 00020182  0x00004c14 copy  0x0000003f , 0x00000007 
+ 00020183  0x00004c15 ifetch  0x00000002 , 0x00000006 
+ 00020184  0x00004c16 copy  0x0000003f , 0x00000011 
+ 00020185  0x00004c17 copy  0x00000013 , 0x0000003f 
+ 00020186  0x00004c18 isub  0x00000011 , 0x00000013 
+ 00020187  0x00004c19 ifetch  0x00000002 , 0x00000006 
+ 00020188  0x00004c1a copy  0x0000003f , 0x0000000b 
+ 00020189  0x00004c1b ifetch  0x00000002 , 0x00000006 
+ 00020190  0x00004c1c copy  0x0000003f , 0x00000002 
+ 00020191  0x00004c1d bpatchx  0x00000011 , 0x00004022 
+ 00020192  0x00004c1e setarg  0x00000050 
+ 00020193  0x00004c1f isub  0x00000002 , 0x0000003e 
+ 00020194  0x00004c20 branch  0x00004eed , 0x00000005 
+ 00020195  0x00004c21 setarg  0x00000051 
+ 00020196  0x00004c22 isub  0x00000002 , 0x0000003e 
+ 00020197  0x00004c23 branch  0x00004ef3 , 0x00000005 
+ 00020198  0x00004c24 setarg  0x00000052 
+ 00020199  0x00004c25 isub  0x00000002 , 0x0000003e 
+ 00020200  0x00004c26 branch  0x00004eff , 0x00000005 
+ 00020201  0x00004c27 setarg  0x00000053 
+ 00020202  0x00004c28 isub  0x00000002 , 0x0000003e 
+ 00020203  0x00004c29 branch  0x00004ef9 , 0x00000005 
+ 00020204  0x00004c2a rtn 
+ 00020205  0x00004c2d copy  0x0000000b , 0x0000003f 
+ 00020206  0x00004c2e store  0x00000002 , 0x00004248 
+ 00020207  0x00004c2f fetch  0x00000001 , 0x00004250 
+ 00020208  0x00004c30 set1  0x00000001 , 0x0000003f 
+ 00020209  0x00004c31 store  0x00000001 , 0x00004250 
+ 00020210  0x00004c32 branch  0x00004e1e 
+ 00020211  0x00004c34 copy  0x0000000b , 0x0000003f 
+ 00020212  0x00004c35 store  0x00000002 , 0x0000424a 
+ 00020213  0x00004c36 fetch  0x00000001 , 0x00004251 
+ 00020214  0x00004c37 set1  0x00000001 , 0x0000003f 
+ 00020215  0x00004c38 store  0x00000001 , 0x00004251 
+ 00020216  0x00004c39 rtn 
+ 00020217  0x00004c3b copy  0x0000000b , 0x0000003f 
+ 00020218  0x00004c3c store  0x00000002 , 0x0000424c 
+ 00020219  0x00004c3d fetch  0x00000001 , 0x00004253 
+ 00020220  0x00004c3e set1  0x00000001 , 0x0000003f 
+ 00020221  0x00004c3f store  0x00000001 , 0x00004253 
+ 00020222  0x00004c40 rtn 
+ 00020223  0x00004c42 copy  0x0000000b , 0x0000003f 
+ 00020224  0x00004c43 store  0x00000002 , 0x0000424e 
+ 00020225  0x00004c44 fetch  0x00000001 , 0x00004252 
+ 00020226  0x00004c45 set1  0x00000001 , 0x0000003f 
+ 00020227  0x00004c46 store  0x00000001 , 0x00004252 
+ 00020228  0x00004c47 rtn 
+ 00020229  0x00004c4a ifetch  0x00000001 , 0x00000006 
+ 00020230  0x00004c4b copy  0x0000003f , 0x00000007 
+ 00020231  0x00004c4c ifetch  0x00000002 , 0x00000006 
+ 00020232  0x00004c4d copy  0x0000003f , 0x00000011 
+ 00020233  0x00004c4e copy  0x00000013 , 0x0000003f 
+ 00020234  0x00004c4f isub  0x00000011 , 0x00000013 
+ 00020235  0x00004c50 ifetch  0x00000002 , 0x00000006 
+ 00020236  0x00004c51 copy  0x0000003f , 0x00000002 
+ 00020237  0x00004c52 copy  0x00000002 , 0x00000011 
+ 00020238  0x00004c53 bpatchx  0x00000012 , 0x00004022 
+ 00020239  0x00004c54 setarg  0x00000050 
+ 00020240  0x00004c55 isub  0x00000002 , 0x0000003e 
+ 00020241  0x00004c56 branch  0x00004f1c , 0x00000005 
+ 00020242  0x00004c57 setarg  0x00000051 
+ 00020243  0x00004c58 isub  0x00000002 , 0x0000003e 
+ 00020244  0x00004c59 branch  0x00004f3a , 0x00000005 
+ 00020245  0x00004c5a setarg  0x00000052 
+ 00020246  0x00004c5b isub  0x00000002 , 0x0000003e 
+ 00020247  0x00004c5c branch  0x00004f26 , 0x00000005 
+ 00020248  0x00004c5d setarg  0x00000053 
+ 00020249  0x00004c5e isub  0x00000002 , 0x0000003e 
+ 00020250  0x00004c5f branch  0x00004f30 , 0x00000005 
+ 00020251  0x00004c60 branch  0x00005062 
+ 00020252  0x00004c63 copy  0x00000005 , 0x0000000b 
+ 00020253  0x00004c64 fetch  0x00000001 , 0x00004250 
+ 00020254  0x00004c65 set1  0x00000004 , 0x0000003f 
+ 00020255  0x00004c66 set1  0x00000003 , 0x0000003f 
+ 00020256  0x00004c68 store  0x00000001 , 0x00004250 
+ 00020257  0x00004c69 copy  0x0000000b , 0x00000005 
+ 00020258  0x00004c6a arg  0x00000050 , 0x0000000b 
+ 00020259  0x00004c6b fetch  0x00000002 , 0x00004248 
+ 00020260  0x00004c6c copy  0x0000003f , 0x00000002 
+ 00020261  0x00004c6d branch  0x00004f43 
+ 00020262  0x00004c6f copy  0x00000005 , 0x0000000b 
+ 00020263  0x00004c70 fetch  0x00000001 , 0x00004252 
+ 00020264  0x00004c71 set1  0x00000004 , 0x0000003f 
+ 00020265  0x00004c72 set1  0x00000003 , 0x0000003f 
+ 00020266  0x00004c74 store  0x00000001 , 0x00004252 
+ 00020267  0x00004c75 copy  0x0000000b , 0x00000005 
+ 00020268  0x00004c76 arg  0x00000052 , 0x0000000b 
+ 00020269  0x00004c77 fetch  0x00000002 , 0x0000424c 
+ 00020270  0x00004c78 copy  0x0000003f , 0x00000002 
+ 00020271  0x00004c79 branch  0x00004f43 
+ 00020272  0x00004c7b copy  0x00000005 , 0x0000000b 
+ 00020273  0x00004c7c fetch  0x00000001 , 0x00004253 
+ 00020274  0x00004c7d set1  0x00000004 , 0x0000003f 
+ 00020275  0x00004c7e set1  0x00000003 , 0x0000003f 
+ 00020276  0x00004c80 store  0x00000001 , 0x00004253 
+ 00020277  0x00004c81 copy  0x0000000b , 0x00000005 
+ 00020278  0x00004c82 arg  0x00000053 , 0x0000000b 
+ 00020279  0x00004c83 fetch  0x00000002 , 0x0000424e 
+ 00020280  0x00004c84 copy  0x0000003f , 0x00000002 
+ 00020281  0x00004c85 branch  0x00004f43 
+ 00020282  0x00004c87 copy  0x00000005 , 0x0000000b 
+ 00020283  0x00004c88 fetch  0x00000001 , 0x00004251 
+ 00020284  0x00004c89 set1  0x00000004 , 0x0000003f 
+ 00020285  0x00004c8a set1  0x00000003 , 0x0000003f 
+ 00020286  0x00004c8c store  0x00000001 , 0x00004251 
+ 00020287  0x00004c8e copy  0x0000000b , 0x00000005 
+ 00020288  0x00004c8f arg  0x00000051 , 0x0000000b 
+ 00020289  0x00004c90 fetch  0x00000002 , 0x0000424a 
+ 00020290  0x00004c91 copy  0x0000003f , 0x00000002 
+ 00020291  0x00004c93 bpatchx  0x00000013 , 0x00004022 
+ 00020292  0x00004c94 setarg  0x00000005 
+ 00020293  0x00004c95 istore  0x00000001 , 0x00000005 
+ 00020294  0x00004c96 copy  0x00000007 , 0x0000003f 
+ 00020295  0x00004c97 istore  0x00000001 , 0x00000005 
+ 00020296  0x00004c98 setarg  0x00000006 
+ 00020297  0x00004c99 istore  0x00000002 , 0x00000005 
+ 00020298  0x00004c9a copy  0x00000002 , 0x0000003f 
+ 00020299  0x00004c9b istore  0x00000002 , 0x00000005 
+ 00020300  0x00004c9c force  0x00000000 , 0x0000003f 
+ 00020301  0x00004c9d istore  0x00000002 , 0x00000005 
+ 00020302  0x00004c9e force  0x00000000 , 0x0000003f 
+ 00020303  0x00004c9f istore  0x00000002 , 0x00000005 
+ 00020304  0x00004ca0 force  0x0000000a , 0x0000003f 
+ 00020305  0x00004ca1 iadd  0x00000012 , 0x00000012 
+ 00020306  0x00004ca3 storet  0x00000002 , 0x00000282 
+ 00020307  0x00004ca4 copy  0x00000007 , 0x0000003f 
+ 00020308  0x00004ca5 store  0x00000001 , 0x00000281 
+ 00020309  0x00004ca6 force  0x00000050 , 0x0000003f 
+ 00020310  0x00004ca7 icompare  0x000000ff , 0x0000000b 
+ 00020311  0x00004ca8 branch  0x00004f59 , 0x00000001 
+ 00020312  0x00004ca9 increase  0x00000001 , 0x0000003f 
+ 00020313  0x00004cac rtn 
+ 00020314  0x00004cae disable  0x00000028 
+ 00020315  0x00004caf rtnbit1  0x00000002 , 0x0000003f 
+ 00020316  0x00004cb0 rtnbit0  0x00000000 , 0x0000003f 
+ 00020317  0x00004cb1 rtnbit0  0x00000001 , 0x0000003f 
+ 00020318  0x00004cb2 set1  0x00000002 , 0x0000003f 
+ 00020319  0x00004cb3 copy  0x00000006 , 0x00000005 
+ 00020320  0x00004cb4 increase  0xffffffff , 0x00000005 
+ 00020321  0x00004cb5 istore  0x00000001 , 0x00000005 
+ 00020322  0x00004cb6 enable  0x00000028 
+ 00020323  0x00004cb7 rtn 
+ 00020324  0x00004cba fetch  0x00000001 , 0x00004250 
+ 00020325  0x00004cbb call  0x00004f5a 
+ 00020326  0x00004cbc nbranch  0x00004f6b , 0x00000028 
+ 00020327  0x00004cbd jam  0x00000050 , 0x00000280 
+ 00020328  0x00004cbe fetch  0x00000002 , 0x00004248 
+ 00020329  0x00004cbf store  0x00000002 , 0x00000282 
+ 00020330  0x00004cc0 branch  0x00004f7f 
+ 00020331  0x00004cc2 fetch  0x00000001 , 0x00004251 
+ 00020332  0x00004cc3 call  0x00004f5a 
+ 00020333  0x00004cc4 nbranch  0x00004f72 , 0x00000028 
+ 00020334  0x00004cc5 jam  0x00000051 , 0x00000280 
+ 00020335  0x00004cc6 fetch  0x00000002 , 0x0000424a 
+ 00020336  0x00004cc7 store  0x00000002 , 0x00000282 
+ 00020337  0x00004cc8 branch  0x00004f7f 
+ 00020338  0x00004cca fetch  0x00000001 , 0x00004252 
+ 00020339  0x00004ccb call  0x00004f5a 
+ 00020340  0x00004ccc nbranch  0x00004f79 , 0x00000028 
+ 00020341  0x00004ccd jam  0x00000052 , 0x00000280 
+ 00020342  0x00004cce fetch  0x00000002 , 0x0000424c 
+ 00020343  0x00004ccf store  0x00000002 , 0x00000282 
+ 00020344  0x00004cd0 branch  0x00004f7f 
+ 00020345  0x00004cd2 fetch  0x00000001 , 0x00004253 
+ 00020346  0x00004cd3 call  0x00004f5a 
+ 00020347  0x00004cd4 nrtn  0x00000028 
+ 00020348  0x00004cd5 jam  0x00000053 , 0x00000280 
+ 00020349  0x00004cd6 fetch  0x00000002 , 0x0000424e 
+ 00020350  0x00004cd7 store  0x00000002 , 0x00000282 
+ 00020351  0x00004cdb bpatchx  0x00000014 , 0x00004022 
+ 00020352  0x00004cdc call  0x0000523a 
+ 00020353  0x00004cdd call  0x000052b8 
+ 00020354  0x00004cde force  0x00000000 , 0x00000012 
+ 00020355  0x00004cdf call  0x000052c3 
+ 00020356  0x00004ce0 force  0x00000004 , 0x0000003f 
+ 00020357  0x00004ce1 istore  0x00000001 , 0x00000005 
+ 00020358  0x00004ce2 fetch  0x00000001 , 0x00004255 
+ 00020359  0x00004ce3 istore  0x00000001 , 0x00000005 
+ 00020360  0x00004ce4 setarg  0x00000008 
+ 00020361  0x00004ce5 istore  0x00000002 , 0x00000005 
+ 00020362  0x00004ce6 fetch  0x00000002 , 0x00000282 
+ 00020363  0x00004ce7 istore  0x00000002 , 0x00000005 
+ 00020364  0x00004ce8 setarg  0x00000000 
+ 00020365  0x00004ce9 istore  0x00000002 , 0x00000005 
+ 00020366  0x00004cea force  0x00000001 , 0x0000003f 
+ 00020367  0x00004ceb istore  0x00000001 , 0x00000005 
+ 00020368  0x00004cec force  0x00000002 , 0x0000003f 
+ 00020369  0x00004ced istore  0x00000001 , 0x00000005 
+ 00020370  0x00004cee fetch  0x00000001 , 0x00000280 
+ 00020371  0x00004cef beq  0x00000051 , 0x00004f97 
+ 00020372  0x00004cf0 setarg  0x00000030 
+ 00020373  0x00004cf1 istore  0x00000002 , 0x00000005 
+ 00020374  0x00004cf2 branch  0x00004f99 
+ 00020375  0x00004cf4 setarg  0x000003e3 
+ 00020376  0x00004cf5 istore  0x00000002 , 0x00000005 
+ 00020377  0x00004cf7 arg  0x0000000c , 0x00000002 
+ 00020378  0x00004cf8 storet  0x00000002 , 0x0000026f 
+ 00020379  0x00004cf9 call  0x000052c1 
+ 00020380  0x00004cfa fetch  0x00000002 , 0x0000026f 
+ 00020381  0x00004cfb istore  0x00000002 , 0x00000005 
+ 00020382  0x00004cfc force  0x00000001 , 0x0000003f 
+ 00020383  0x00004cfd istore  0x00000002 , 0x00000005 
+ 00020384  0x00004cfe jam  0x00000000 , 0x00000280 
+ 00020385  0x00004d00 branch  0x00004e1e 
+ 00020386  0x00004d03 increase  0x00000001 , 0x00000006 
+ 00020387  0x00004d04 ifetch  0x00000002 , 0x00000006 
+ 00020388  0x00004d05 copy  0x0000003f , 0x00000011 
+ 00020389  0x00004d06 copy  0x00000013 , 0x0000003f 
+ 00020390  0x00004d07 isub  0x00000011 , 0x00000013 
+ 00020391  0x00004d08 ifetch  0x00000002 , 0x00000006 
+ 00020392  0x00004d09 copy  0x0000003f , 0x00000011 
+ 00020393  0x00004d0a bpatchx  0x00000015 , 0x00004022 
+ 00020394  0x00004d0b setarg  0x00000050 
+ 00020395  0x00004d0c isub  0x00000011 , 0x0000003e 
+ 00020396  0x00004d0d branch  0x00004fba , 0x00000005 
+ 00020397  0x00004d0e setarg  0x00000051 
+ 00020398  0x00004d0f isub  0x00000011 , 0x0000003e 
+ 00020399  0x00004d10 branch  0x00004fbe , 0x00000005 
+ 00020400  0x00004d11 setarg  0x00000052 
+ 00020401  0x00004d12 isub  0x00000011 , 0x0000003e 
+ 00020402  0x00004d13 branch  0x00004fc2 , 0x00000005 
+ 00020403  0x00004d14 setarg  0x00000053 
+ 00020404  0x00004d15 isub  0x00000011 , 0x0000003e 
+ 00020405  0x00004d16 branch  0x00004fc6 , 0x00000005 
+ 00020406  0x00004d17 increase  0x00000002 , 0x00000006 
+ 00020407  0x00004d18 ifetch  0x00000002 , 0x00000006 
+ 00020408  0x00004d19 iforce  0x0000003e 
+ 00020409  0x00004d1a branch  0x00004e1e 
+ 00020410  0x00004d1c fetch  0x00000001 , 0x00004250 
+ 00020411  0x00004d1d set1  0x00000005 , 0x0000003f 
+ 00020412  0x00004d1e store  0x00000001 , 0x00004250 
+ 00020413  0x00004d1f branch  0x00004e1e 
+ 00020414  0x00004d21 fetch  0x00000001 , 0x00004251 
+ 00020415  0x00004d22 set1  0x00000005 , 0x0000003f 
+ 00020416  0x00004d23 store  0x00000001 , 0x00004251 
+ 00020417  0x00004d24 branch  0x00004e1e 
+ 00020418  0x00004d26 fetch  0x00000001 , 0x00004252 
+ 00020419  0x00004d27 set1  0x00000005 , 0x0000003f 
+ 00020420  0x00004d28 store  0x00000001 , 0x00004252 
+ 00020421  0x00004d29 branch  0x00004e1e 
+ 00020422  0x00004d2b fetch  0x00000001 , 0x00004253 
+ 00020423  0x00004d2c set1  0x00000005 , 0x0000003f 
+ 00020424  0x00004d2d store  0x00000001 , 0x00004253 
+ 00020425  0x00004d2e jam  0x00000006 , 0x00000a99 
+ 00020426  0x00004d2f branch  0x00007d86 
+ 00020427  0x00004d34 ifetch  0x00000001 , 0x00000006 
+ 00020428  0x00004d35 copy  0x0000003f , 0x00000007 
+ 00020429  0x00004d36 ifetch  0x00000002 , 0x00000006 
+ 00020430  0x00004d37 copy  0x0000003f , 0x00000011 
+ 00020431  0x00004d38 copy  0x00000013 , 0x0000003f 
+ 00020432  0x00004d39 isub  0x00000011 , 0x00000013 
+ 00020433  0x00004d3a ifetch  0x00000002 , 0x00000006 
+ 00020434  0x00004d3b copy  0x0000003f , 0x00000011 
+ 00020435  0x00004d3c ifetch  0x00000002 , 0x00000006 
+ 00020436  0x00004d3d copy  0x0000003f , 0x0000000b 
+ 00020437  0x00004d3e copy  0x00000011 , 0x00000002 
+ 00020438  0x00004d3f call  0x00007ea8 
+ 00020439  0x00004d40 bpatchx  0x00000016 , 0x00004022 
+ 00020440  0x00004d41 setarg  0x00000050 
+ 00020441  0x00004d42 isub  0x00000002 , 0x0000003e 
+ 00020442  0x00004d43 branch  0x00004ff2 , 0x00000005 
+ 00020443  0x00004d44 setarg  0x00000051 
+ 00020444  0x00004d45 isub  0x00000002 , 0x0000003e 
+ 00020445  0x00004d46 branch  0x00005002 , 0x00000005 
+ 00020446  0x00004d47 setarg  0x00000052 
+ 00020447  0x00004d48 isub  0x00000002 , 0x0000003e 
+ 00020448  0x00004d49 branch  0x00004fe6 , 0x00000005 
+ 00020449  0x00004d4a setarg  0x00000053 
+ 00020450  0x00004d4b isub  0x00000002 , 0x0000003e 
+ 00020451  0x00004d4c branch  0x00004fec , 0x00000005 
+ 00020452  0x00004d4d call  0x00005062 
+ 00020453  0x00004d4e branch  0x00005017 
+ 00020454  0x00004d50 copy  0x0000000b , 0x00000002 
+ 00020455  0x00004d51 fetch  0x00000002 , 0x0000424c 
+ 00020456  0x00004d52 isub  0x00000002 , 0x0000003e 
+ 00020457  0x00004d53 branch  0x00004ff8 , 0x00000005 
+ 00020458  0x00004d54 call  0x00005062 
+ 00020459  0x00004d55 branch  0x00005017 
+ 00020460  0x00004d57 copy  0x0000000b , 0x00000002 
+ 00020461  0x00004d58 fetch  0x00000002 , 0x0000424e 
+ 00020462  0x00004d59 isub  0x00000002 , 0x0000003e 
+ 00020463  0x00004d5a branch  0x00004ffa , 0x00000005 
+ 00020464  0x00004d5b call  0x00005062 
+ 00020465  0x00004d5c branch  0x00005017 
+ 00020466  0x00004d5f copy  0x0000000b , 0x00000002 
+ 00020467  0x00004d60 fetch  0x00000002 , 0x00004248 
+ 00020468  0x00004d61 isub  0x00000002 , 0x0000003e 
+ 00020469  0x00004d62 branch  0x00004ffe , 0x00000005 
+ 00020470  0x00004d63 call  0x00005062 
+ 00020471  0x00004d64 branch  0x00005017 
+ 00020472  0x00004d66 call  0x00005079 
+ 00020473  0x00004d67 branch  0x0000500a 
+ 00020474  0x00004d69 call  0x0000507f 
+ 00020475  0x00004d6a fetch  0x00000002 , 0x0000424c 
+ 00020476  0x00004d6b branch  0x0000500a , 0x00000034 
+ 00020477  0x00004d73 branch  0x0000500a 
+ 00020478  0x00004d76 call  0x00005074 
+ 00020479  0x00004d77 fetch  0x00000001 , 0x00000288 
+ 00020480  0x00004d78 nbranch  0x0000500a , 0x00000034 
+ 00020481  0x00004d7b branch  0x0000500a 
+ 00020482  0x00004d7d copy  0x0000000b , 0x00000002 
+ 00020483  0x00004d7e fetch  0x00000002 , 0x0000424a 
+ 00020484  0x00004d7f isub  0x00000002 , 0x0000003e 
+ 00020485  0x00004d80 branch  0x00005008 , 0x00000005 
+ 00020486  0x00004d81 call  0x00005062 
+ 00020487  0x00004d82 branch  0x00005017 
+ 00020488  0x00004d84 call  0x0000506f 
+ 00020489  0x00004d85 branch  0x0000500a 
+ 00020490  0x00004d87 call  0x00007ead 
+ 00020491  0x00004d88 setarg  0x00000007 
+ 00020492  0x00004d89 istore  0x00000001 , 0x00000005 
+ 00020493  0x00004d8a copy  0x00000007 , 0x0000003f 
+ 00020494  0x00004d8b istore  0x00000001 , 0x00000005 
+ 00020495  0x00004d8c setarg  0x00000004 
+ 00020496  0x00004d8d istore  0x00000002 , 0x00000005 
+ 00020497  0x00004d8e copy  0x00000011 , 0x0000003f 
+ 00020498  0x00004d8f istore  0x00000002 , 0x00000005 
+ 00020499  0x00004d90 copy  0x0000000b , 0x0000003f 
+ 00020500  0x00004d91 istore  0x00000002 , 0x00000005 
+ 00020501  0x00004d92 force  0x00000008 , 0x0000003f 
+ 00020502  0x00004d93 branch  0x00005019 
+ 00020503  0x00004d95 call  0x00007ead 
+ 00020504  0x00004d96 branch  0x00005019 
+ 00020505  0x00004d98 iadd  0x00000012 , 0x00000012 
+ 00020506  0x00004d99 branch  0x00004e1e 
+ 00020507  0x00004d9b ifetch  0x00000001 , 0x00000006 
+ 00020508  0x00004d9c copy  0x0000003f , 0x00000007 
+ 00020509  0x00004d9d ifetch  0x00000002 , 0x00000006 
+ 00020510  0x00004d9e copy  0x0000003f , 0x00000011 
+ 00020511  0x00004d9f copy  0x00000013 , 0x0000003f 
+ 00020512  0x00004da0 isub  0x00000011 , 0x00000013 
+ 00020513  0x00004da1 ifetch  0x00000002 , 0x00000006 
+ 00020514  0x00004da2 copy  0x0000003f , 0x0000000b 
+ 00020515  0x00004da3 ifetch  0x00000002 , 0x00000006 
+ 00020516  0x00004da4 copy  0x0000003f , 0x00000002 
+ 00020517  0x00004da5 call  0x00007ea8 
+ 00020518  0x00004da6 bpatchx  0x00000017 , 0x00004022 
+ 00020519  0x00004da7 setarg  0x00000050 
+ 00020520  0x00004da8 isub  0x00000002 , 0x0000003e 
+ 00020521  0x00004da9 branch  0x00005035 , 0x00000005 
+ 00020522  0x00004daa setarg  0x00000051 
+ 00020523  0x00004dab isub  0x00000002 , 0x0000003e 
+ 00020524  0x00004dac branch  0x0000503b , 0x00000005 
+ 00020525  0x00004dad setarg  0x00000052 
+ 00020526  0x00004dae isub  0x00000002 , 0x0000003e 
+ 00020527  0x00004daf branch  0x00005041 , 0x00000005 
+ 00020528  0x00004db0 setarg  0x00000053 
+ 00020529  0x00004db1 isub  0x00000002 , 0x0000003e 
+ 00020530  0x00004db2 branch  0x00005047 , 0x00000005 
+ 00020531  0x00004db3 call  0x00005062 
+ 00020532  0x00004db4 branch  0x0000504f 
+ 00020533  0x00004db6 copy  0x00000002 , 0x00000011 
+ 00020534  0x00004db7 copy  0x0000000b , 0x00000002 
+ 00020535  0x00004db8 fetch  0x00000002 , 0x00004248 
+ 00020536  0x00004db9 isub  0x00000002 , 0x0000003e 
+ 00020537  0x00004dba call  0x00005074 , 0x00000005 
+ 00020538  0x00004dbb branch  0x0000504d 
+ 00020539  0x00004dbd copy  0x00000002 , 0x00000011 
+ 00020540  0x00004dbe copy  0x0000000b , 0x00000002 
+ 00020541  0x00004dbf fetch  0x00000002 , 0x0000424a 
+ 00020542  0x00004dc0 isub  0x00000002 , 0x0000003e 
+ 00020543  0x00004dc1 call  0x0000506f , 0x00000005 
+ 00020544  0x00004dc2 branch  0x0000504d 
+ 00020545  0x00004dc4 copy  0x00000002 , 0x00000011 
+ 00020546  0x00004dc5 copy  0x0000000b , 0x00000002 
+ 00020547  0x00004dc6 fetch  0x00000002 , 0x0000424c 
+ 00020548  0x00004dc7 isub  0x00000002 , 0x0000003e 
+ 00020549  0x00004dc8 call  0x00005079 , 0x00000005 
+ 00020550  0x00004dc9 branch  0x0000504d 
+ 00020551  0x00004dcb copy  0x00000002 , 0x00000011 
+ 00020552  0x00004dcc copy  0x0000000b , 0x00000002 
+ 00020553  0x00004dcd fetch  0x00000002 , 0x0000424e 
+ 00020554  0x00004dce isub  0x00000002 , 0x0000003e 
+ 00020555  0x00004dcf call  0x0000507f , 0x00000005 
+ 00020556  0x00004dd0 branch  0x0000504d 
+ 00020557  0x00004dd2 call  0x00007ead 
+ 00020558  0x00004dd3 branch  0x00004e1e 
+ 00020559  0x00004dd5 branch  0x00004e1e 
+ 00020560  0x00004dd9 ifetch  0x00000001 , 0x00000006 
+ 00020561  0x00004dda copy  0x0000003f , 0x00000007 
+ 00020562  0x00004ddb ifetch  0x00000002 , 0x00000006 
+ 00020563  0x00004ddc copy  0x0000003f , 0x00000011 
+ 00020564  0x00004ddd iadd  0x00000006 , 0x00000006 
+ 00020565  0x00004dde setarg  0x00000009 
+ 00020566  0x00004ddf istore  0x00000001 , 0x00000005 
+ 00020567  0x00004de0 copy  0x00000007 , 0x0000003f 
+ 00020568  0x00004de1 istore  0x00000001 , 0x00000005 
+ 00020569  0x00004de2 force  0x00000000 , 0x0000003f 
+ 00020570  0x00004de3 istore  0x00000002 , 0x00000005 
+ 00020571  0x00004de4 force  0x00000004 , 0x0000003f 
+ 00020572  0x00004de5 iadd  0x00000012 , 0x00000012 
+ 00020573  0x00004de6 copy  0x00000013 , 0x0000003f 
+ 00020574  0x00004de7 isub  0x00000011 , 0x00000013 
+ 00020575  0x00004de8 branch  0x00004e1e 
+ 00020576  0x00004dea branch  0x00004e1e 
+ 00020577  0x00004ded branch  0x00004e1e 
+ 00020578  0x00004def force  0x00000000 , 0x00000012 
+ 00020579  0x00004df0 call  0x000052c3 
+ 00020580  0x00004df1 setarg  0x00000001 
+ 00020581  0x00004df2 istore  0x00000001 , 0x00000005 
+ 00020582  0x00004df3 copy  0x00000007 , 0x0000003f 
+ 00020583  0x00004df4 istore  0x00000001 , 0x00000005 
+ 00020584  0x00004df5 setarg  0x00000002 
+ 00020585  0x00004df6 istore  0x00000002 , 0x00000005 
+ 00020586  0x00004df7 setarg  0x00000000 
+ 00020587  0x00004df8 istore  0x00000002 , 0x00000005 
+ 00020588  0x00004df9 increase  0x00000006 , 0x00000012 
+ 00020589  0x00004dfa arg  0x00000004 , 0x00000013 
+ 00020590  0x00004dfb branch  0x00004e1e 
+ 00020591  0x00004e00 setarg  0x00000000 
+ 00020592  0x00004e01 store  0x00000002 , 0x0000027b 
+ 00020593  0x00004e02 store  0x00000002 , 0x0000424a 
+ 00020594  0x00004e03 jam  0x00000000 , 0x00004251 
+ 00020595  0x00004e04 rtn 
+ 00020596  0x00004e06 setarg  0x00000000 
+ 00020597  0x00004e07 store  0x00000002 , 0x00000275 
+ 00020598  0x00004e08 store  0x00000002 , 0x00004248 
+ 00020599  0x00004e09 jam  0x00000000 , 0x00004250 
+ 00020600  0x00004e0a rtn 
+ 00020601  0x00004e0c setarg  0x00000000 
+ 00020602  0x00004e0d store  0x00000002 , 0x0000424c 
+ 00020603  0x00004e0e jam  0x00000000 , 0x00004252 
+ 00020604  0x00004e0f fetch  0x00000001 , 0x00004253 
+ 00020605  0x00004e10 beq  0x00000000 , 0x00005085 
+ 00020606  0x00004e11 rtn 
+ 00020607  0x00004e14 setarg  0x00000000 
+ 00020608  0x00004e15 store  0x00000002 , 0x0000424e 
+ 00020609  0x00004e16 jam  0x00000000 , 0x00004253 
+ 00020610  0x00004e17 fetch  0x00000001 , 0x00004252 
+ 00020611  0x00004e18 beq  0x00000000 , 0x00005085 
+ 00020612  0x00004e19 rtn 
+ 00020613  0x00004e1c jam  0x00000007 , 0x00000a99 
+ 00020614  0x00004e1d branch  0x00007d86 
+ 00020615  0x00004e20 fetch  0x00000001 , 0x0000027f 
+ 00020616  0x00004e21 set0  0x00000000 , 0x0000003f 
+ 00020617  0x00004e22 store  0x00000001 , 0x0000027f 
+ 00020618  0x00004e23 fetch  0x00000002 , 0x0000424e 
+ 00020619  0x00004e24 rtn  0x00000034 
+ 00020620  0x00004e25 call  0x000052b8 
+ 00020621  0x00004e26 fetch  0x00000002 , 0x0000424e 
+ 00020622  0x00004e27 copy  0x0000003f , 0x00000011 
+ 00020623  0x00004e28 force  0x00000053 , 0x00000012 
+ 00020624  0x00004e29 branch  0x0000509a 
+ 00020625  0x00004e2b fetch  0x00000001 , 0x0000027f 
+ 00020626  0x00004e2c set0  0x00000007 , 0x0000003f 
+ 00020627  0x00004e2d store  0x00000001 , 0x0000027f 
+ 00020628  0x00004e2e fetch  0x00000002 , 0x0000424c 
+ 00020629  0x00004e2f rtn  0x00000034 
+ 00020630  0x00004e30 call  0x000052b8 
+ 00020631  0x00004e31 fetch  0x00000002 , 0x0000424c 
+ 00020632  0x00004e32 copy  0x0000003f , 0x00000011 
+ 00020633  0x00004e33 force  0x00000052 , 0x00000012 
+ 00020634  0x00004e35 call  0x0000523a 
+ 00020635  0x00004e36 call  0x000052c3 
+ 00020636  0x00004e37 force  0x00000006 , 0x0000003f 
+ 00020637  0x00004e38 istore  0x00000001 , 0x00000005 
+ 00020638  0x00004e39 fetch  0x00000001 , 0x00004255 
+ 00020639  0x00004e3a istore  0x00000001 , 0x00000005 
+ 00020640  0x00004e3b setarg  0x00000004 
+ 00020641  0x00004e3c istore  0x00000002 , 0x00000005 
+ 00020642  0x00004e3d copy  0x00000011 , 0x0000003f 
+ 00020643  0x00004e3e istore  0x00000002 , 0x00000005 
+ 00020644  0x00004e3f copy  0x00000012 , 0x0000003f 
+ 00020645  0x00004e40 istore  0x00000002 , 0x00000005 
+ 00020646  0x00004e41 force  0x00000008 , 0x00000002 
+ 00020647  0x00004e42 branch  0x000050de 
+ 00020648  0x00004e45 bpatchx  0x00000018 , 0x00004023 
+ 00020649  0x00004e46 call  0x0000523a 
+ 00020650  0x00004e47 call  0x000052c3 
+ 00020651  0x00004e48 setarg  0x00000002 
+ 00020652  0x00004e49 istore  0x00000001 , 0x00000005 
+ 00020653  0x00004e4a fetch  0x00000001 , 0x00004255 
+ 00020654  0x00004e4b istore  0x00000001 , 0x00000005 
+ 00020655  0x00004e4c setarg  0x00000004 
+ 00020656  0x00004e4d istore  0x00000002 , 0x00000005 
+ 00020657  0x00004e4e copy  0x00000002 , 0x0000003f 
+ 00020658  0x00004e4f istore  0x00000002 , 0x00000005 
+ 00020659  0x00004e50 copy  0x0000000b , 0x0000003f 
+ 00020660  0x00004e51 istore  0x00000002 , 0x00000005 
+ 00020661  0x00004e52 arg  0x00000008 , 0x00000002 
+ 00020662  0x00004e53 branch  0x000050de 
+ 00020663  0x00004e55 bpatchx  0x00000019 , 0x00004023 
+ 00020664  0x00004e56 call  0x0000523a 
+ 00020665  0x00004e57 call  0x000052c3 
+ 00020666  0x00004e58 setarg  0x00000004 
+ 00020667  0x00004e59 istore  0x00000001 , 0x00000005 
+ 00020668  0x00004e5a fetch  0x00000001 , 0x00004255 
+ 00020669  0x00004e5b istore  0x00000001 , 0x00000005 
+ 00020670  0x00004e5c setarg  0x00000008 
+ 00020671  0x00004e5d istore  0x00000002 , 0x00000005 
+ 00020672  0x00004e5f copy  0x00000002 , 0x0000003f 
+ 00020673  0x00004e61 istore  0x00000002 , 0x00000005 
+ 00020674  0x00004e62 setarg  0x00000000 
+ 00020675  0x00004e63 istore  0x00000002 , 0x00000005 
+ 00020676  0x00004e64 setarg  0x00000001 
+ 00020677  0x00004e65 istore  0x00000001 , 0x00000005 
+ 00020678  0x00004e66 setarg  0x00000002 
+ 00020679  0x00004e67 istore  0x00000001 , 0x00000005 
+ 00020680  0x00004e68 setarg  0x000003e3 
+ 00020681  0x00004e69 istore  0x00000002 , 0x00000005 
+ 00020682  0x00004e6a arg  0x0000000c , 0x00000002 
+ 00020683  0x00004e6b branch  0x000050de 
+ 00020684  0x00004e6d bpatchx  0x0000001a , 0x00004023 
+ 00020685  0x00004e6e call  0x0000523a 
+ 00020686  0x00004e6f call  0x000052c3 
+ 00020687  0x00004e70 setarg  0x00000006 
+ 00020688  0x00004e71 istore  0x00000001 , 0x00000005 
+ 00020689  0x00004e72 fetch  0x00000001 , 0x00004255 
+ 00020690  0x00004e73 increase  0x00000001 , 0x0000003f 
+ 00020691  0x00004e74 copy  0x00000005 , 0x00000011 
+ 00020692  0x00004e75 store  0x00000001 , 0x00004255 
+ 00020693  0x00004e76 copy  0x00000011 , 0x00000005 
+ 00020694  0x00004e77 istore  0x00000001 , 0x00000005 
+ 00020695  0x00004e78 setarg  0x00000004 
+ 00020696  0x00004e79 istore  0x00000002 , 0x00000005 
+ 00020697  0x00004e7a copy  0x00000002 , 0x0000003f 
+ 00020698  0x00004e7b istore  0x00000002 , 0x00000005 
+ 00020699  0x00004e7c copy  0x0000000b , 0x0000003f 
+ 00020700  0x00004e7d istore  0x00000002 , 0x00000005 
+ 00020701  0x00004e7e arg  0x00000008 , 0x00000002 
+ 00020702  0x00004e82 storet  0x00000002 , 0x0000026f 
+ 00020703  0x00004e83 copy  0x00000002 , 0x0000003f 
+ 00020704  0x00004e84 branch  0x00005264 , 0x00000034 
+ 00020705  0x00004e85 call  0x000052c1 
+ 00020706  0x00004e86 fetch  0x00000002 , 0x0000026f 
+ 00020707  0x00004e87 istore  0x00000002 , 0x00000005 
+ 00020708  0x00004e88 force  0x00000001 , 0x0000003f 
+ 00020709  0x00004e89 istore  0x00000002 , 0x00000005 
+ 00020710  0x00004e8a rtn 
+ 00020711  0x00004e8d fetch  0x00000002 , 0x00000275 
+ 00020712  0x00004e8e branch  0x00002a8c , 0x00000034 
+ 00020713  0x00004e8f call  0x000052ce 
+ 00020714  0x00004e90 fetch  0x00000002 , 0x00000275 
+ 00020715  0x00004e91 istore  0x00000002 , 0x00000005 
+ 00020716  0x00004e92 fetch  0x00000002 , 0x00004248 
+ 00020717  0x00004e93 istore  0x00000002 , 0x00000005 
+ 00020718  0x00004e94 rtn 
+ 00020719  0x00004e96 fetch  0x00000002 , 0x00000266 
+ 00020720  0x00004e97 branch  0x00004dfc , 0x00000034 
+ 00020721  0x00004e98 bpatchx  0x0000001b , 0x00004023 
+ 00020722  0x00004e99 fetch  0x00000001 , 0x00000268 
+ 00020723  0x00004e9a beq  0x00000001 , 0x000050f9 
+ 00020724  0x00004e9b beq  0x00000050 , 0x00004de8 
+ 00020725  0x00004e9c beq  0x00000051 , 0x00004df5 
+ 00020726  0x00004e9d beq  0x00000052 , 0x00004df3 
+ 00020727  0x00004e9e beq  0x00000053 , 0x00004df3 
+ 00020728  0x00004e9f branch  0x00004dfc 
+ 00020729  0x00004ea2 bpatchx  0x0000001c , 0x00004023 
+ 00020730  0x00004ea3 call  0x000052b8 
+ 00020731  0x00004ea4 force  0x00000000 , 0x00000012 
+ 00020732  0x00004ea5 call  0x000052c3 
+ 00020733  0x00004ea6 copy  0x0000003f , 0x00000005 
+ 00020734  0x00004ea7 fetch  0x00000002 , 0x00000266 
+ 00020735  0x00004ea8 copy  0x0000003f , 0x00000013 
+ 00020736  0x00004ea9 fetch  0x00000002 , 0x00000264 
+ 00020737  0x00004eaa iforce  0x00000006 
+ 00020738  0x00004eac call  0x00005108 
+ 00020739  0x00004ead increase  0xfffffffc , 0x00000013 
+ 00020740  0x00004eae nbranch  0x00005102 , 0x00000005 
+ 00020741  0x00004eaf copy  0x00000012 , 0x00000002 
+ 00020742  0x00004eb0 call  0x000050de 
+ 00020743  0x00004eb1 branch  0x00004dfc 
+ 00020744  0x00004eb4 ifetch  0x00000001 , 0x00000006 
+ 00020745  0x00004eb5 beq  0x00000002 , 0x00005113 
+ 00020746  0x00004eb6 beq  0x00000001 , 0x00005116 
+ 00020747  0x00004eb7 beq  0x00000003 , 0x00005120 
+ 00020748  0x00004eb8 beq  0x00000005 , 0x0000515c 
+ 00020749  0x00004eb9 beq  0x00000004 , 0x0000518e 
+ 00020750  0x00004eba beq  0x00000007 , 0x00005213 
+ 00020751  0x00004ebb beq  0x00000006 , 0x000051e1 
+ 00020752  0x00004ebc beq  0x00000008 , 0x00005050 
+ 00020753  0x00004ebd beq  0x0000000a , 0x00004e3a 
+ 00020754  0x00004ebe branch  0x0000522e 
+ 00020755  0x00004ec1 call  0x00007ea8 
+ 00020756  0x00004ec3 call  0x00007ead 
+ 00020757  0x00004ec4 branch  0x00004e51 
+ 00020758  0x00004ec6 ifetch  0x00000001 , 0x00000006 
+ 00020759  0x00004ec7 copy  0x0000003f , 0x00000007 
+ 00020760  0x00004ec8 ifetch  0x00000002 , 0x00000006 
+ 00020761  0x00004ec9 copy  0x0000003f , 0x00000011 
+ 00020762  0x00004eca copy  0x00000013 , 0x0000003f 
+ 00020763  0x00004ecb isub  0x00000011 , 0x00000013 
+ 00020764  0x00004ecd ifetch  0x00000001 , 0x00000006 
+ 00020765  0x00004ece increase  0xffffffff , 0x00000011 
+ 00020766  0x00004ecf nbranch  0x0000511c , 0x00000005 
+ 00020767  0x00004ed0 rtn 
+ 00020768  0x00004ed2 ifetch  0x00000001 , 0x00000006 
+ 00020769  0x00004ed3 copy  0x0000003f , 0x00000007 
+ 00020770  0x00004ed4 ifetch  0x00000002 , 0x00000006 
+ 00020771  0x00004ed5 copy  0x0000003f , 0x00000011 
+ 00020772  0x00004ed6 ifetch  0x00000002 , 0x00000006 
+ 00020773  0x00004ed7 copy  0x0000003f , 0x0000000b 
+ 00020774  0x00004ed8 ifetch  0x00000002 , 0x00000006 
+ 00020775  0x00004ed9 copy  0x0000003f , 0x00000002 
+ 00020776  0x00004eda ifetch  0x00000002 , 0x00000006 
+ 00020777  0x00004edb sub  0x0000003f , 0x00000000 , 0x0000003e 
+ 00020778  0x00004edc branch  0x00005132 , 0x00000005 
+ 00020779  0x00004edd beq  0x00000002 , 0x0000512e 
+ 00020780  0x00004ede beq  0x00000004 , 0x0000512e 
+ 00020781  0x00004edf branch  0x00005130 
+ 00020782  0x00004ee1 jam  0x00000016 , 0x00000a99 
+ 00020783  0x00004ee2 call  0x00007d86 
+ 00020784  0x00004ee4 ifetch  0x00000002 , 0x00000006 
+ 00020785  0x00004ee5 branch  0x00005159 
+ 00020786  0x00004ee7 call  0x00007ea8 
+ 00020787  0x00004eeb bpatchx  0x0000001d , 0x00004023 
+ 00020788  0x00004eec setarg  0x00000050 
+ 00020789  0x00004eed isub  0x00000002 , 0x0000003e 
+ 00020790  0x00004eee branch  0x00005141 , 0x00000005 
+ 00020791  0x00004eef setarg  0x00000051 
+ 00020792  0x00004ef0 isub  0x00000002 , 0x0000003e 
+ 00020793  0x00004ef1 branch  0x00005147 , 0x00000005 
+ 00020794  0x00004ef2 setarg  0x00000053 
+ 00020795  0x00004ef3 isub  0x00000002 , 0x0000003e 
+ 00020796  0x00004ef4 branch  0x00005153 , 0x00000005 
+ 00020797  0x00004ef5 setarg  0x00000052 
+ 00020798  0x00004ef6 isub  0x00000002 , 0x0000003e 
+ 00020799  0x00004ef7 branch  0x0000514d , 0x00000005 
+ 00020800  0x00004ef8 branch  0x00005159 
+ 00020801  0x00004efa copy  0x0000000b , 0x0000003f 
+ 00020802  0x00004efb store  0x00000002 , 0x00004248 
+ 00020803  0x00004efc fetch  0x00000001 , 0x00004250 
+ 00020804  0x00004efd set1  0x00000001 
+ 00020805  0x00004efe store  0x00000001 , 0x00004250 
+ 00020806  0x00004eff branch  0x00005158 
+ 00020807  0x00004f01 copy  0x0000000b , 0x0000003f 
+ 00020808  0x00004f02 store  0x00000002 , 0x0000424a 
+ 00020809  0x00004f03 fetch  0x00000001 , 0x00004251 
+ 00020810  0x00004f04 set1  0x00000001 
+ 00020811  0x00004f05 store  0x00000001 , 0x00004251 
+ 00020812  0x00004f06 branch  0x00005158 
+ 00020813  0x00004f08 copy  0x0000000b , 0x0000003f 
+ 00020814  0x00004f09 store  0x00000002 , 0x0000424c 
+ 00020815  0x00004f0a fetch  0x00000001 , 0x00004252 
+ 00020816  0x00004f0b set1  0x00000001 
+ 00020817  0x00004f0c store  0x00000001 , 0x00004252 
+ 00020818  0x00004f0d branch  0x00005158 
+ 00020819  0x00004f0f copy  0x0000000b , 0x0000003f 
+ 00020820  0x00004f10 store  0x00000002 , 0x0000424e 
+ 00020821  0x00004f11 fetch  0x00000001 , 0x00004253 
+ 00020822  0x00004f12 set1  0x00000001 
+ 00020823  0x00004f13 store  0x00000001 , 0x00004253 
+ 00020824  0x00004f17 call  0x00007ead 
+ 00020825  0x00004f19 copy  0x00000013 , 0x0000003f 
+ 00020826  0x00004f1a isub  0x00000011 , 0x00000013 
+ 00020827  0x00004f1b rtn 
+ 00020828  0x00004f1e ifetch  0x00000001 , 0x00000006 
+ 00020829  0x00004f1f copy  0x0000003f , 0x00000007 
+ 00020830  0x00004f20 ifetch  0x00000002 , 0x00000006 
+ 00020831  0x00004f21 copy  0x0000003f , 0x00000011 
+ 00020832  0x00004f22 copy  0x00000013 , 0x0000003f 
+ 00020833  0x00004f23 isub  0x00000011 , 0x00000013 
+ 00020834  0x00004f24 ifetch  0x00000002 , 0x00000006 
+ 00020835  0x00004f25 copy  0x0000003f , 0x0000000b 
+ 00020836  0x00004f26 ifetch  0x00000002 , 0x00000006 
+ 00020837  0x00004f27 ifetch  0x00000002 , 0x00000006 
+ 00020838  0x00004f28 nbranch  0x00005188 , 0x00000034 
+ 00020839  0x00004f29 call  0x00007ea8 
+ 00020840  0x00004f2d copy  0x0000000b , 0x00000002 
+ 00020841  0x00004f2e bpatchx  0x0000001e , 0x00004023 
+ 00020842  0x00004f2f setarg  0x00000050 
+ 00020843  0x00004f30 isub  0x00000002 , 0x0000003e 
+ 00020844  0x00004f31 branch  0x00005176 , 0x00000005 
+ 00020845  0x00004f32 setarg  0x00000051 
+ 00020846  0x00004f33 isub  0x00000002 , 0x0000003e 
+ 00020847  0x00004f34 branch  0x0000517a , 0x00000005 
+ 00020848  0x00004f35 setarg  0x00000052 
+ 00020849  0x00004f36 isub  0x00000002 , 0x0000003e 
+ 00020850  0x00004f37 branch  0x0000517e , 0x00000005 
+ 00020851  0x00004f38 setarg  0x00000053 
+ 00020852  0x00004f39 isub  0x00000002 , 0x0000003e 
+ 00020853  0x00004f3a branch  0x00005182 , 0x00000005 
+ 00020854  0x00004f3c fetch  0x00000001 , 0x00004250 
+ 00020855  0x00004f3d set1  0x00000005 
+ 00020856  0x00004f3e store  0x00000001 , 0x00004250 
+ 00020857  0x00004f3f rtn 
+ 00020858  0x00004f41 fetch  0x00000001 , 0x00004251 
+ 00020859  0x00004f42 set1  0x00000005 
+ 00020860  0x00004f43 store  0x00000001 , 0x00004251 
+ 00020861  0x00004f44 rtn 
+ 00020862  0x00004f46 fetch  0x00000001 , 0x00004252 
+ 00020863  0x00004f47 set1  0x00000005 
+ 00020864  0x00004f48 store  0x00000001 , 0x00004252 
+ 00020865  0x00004f49 rtn 
+ 00020866  0x00004f4b fetch  0x00000001 , 0x00004253 
+ 00020867  0x00004f4c set1  0x00000005 
+ 00020868  0x00004f4d store  0x00000001 , 0x00004253 
+ 00020869  0x00004f4e jam  0x00000006 , 0x00000a99 
+ 00020870  0x00004f4f branch  0x00007d86 
+ 00020871  0x00004f53 call  0x00007ead 
+ 00020872  0x00004f55 increase  0xfffffffa , 0x00000011 
+ 00020873  0x00004f57 branch  0x0000518d , 0x00000005 
+ 00020874  0x00004f58 increase  0x00000001 , 0x00000006 
+ 00020875  0x00004f59 increase  0xffffffff , 0x00000011 
+ 00020876  0x00004f5a branch  0x00005189 
+ 00020877  0x00004f5c rtn 
+ 00020878  0x00004f5e ifetch  0x00000001 , 0x00000006 
+ 00020879  0x00004f5f copy  0x0000003f , 0x00000007 
+ 00020880  0x00004f60 ifetch  0x00000002 , 0x00000006 
+ 00020881  0x00004f61 copy  0x0000003f , 0x00000011 
+ 00020882  0x00004f62 copy  0x00000013 , 0x0000003f 
+ 00020883  0x00004f63 isub  0x00000011 , 0x00000013 
+ 00020884  0x00004f64 ifetch  0x00000002 , 0x00000006 
+ 00020885  0x00004f65 increase  0x00000002 , 0x00000006 
+ 00020886  0x00004f66 copy  0x0000003f , 0x00000002 
+ 00020887  0x00004f67 setarg  0x00000005 
+ 00020888  0x00004f68 istore  0x00000001 , 0x00000005 
+ 00020889  0x00004f69 copy  0x00000007 , 0x0000003f 
+ 00020890  0x00004f6a istore  0x00000001 , 0x00000005 
+ 00020891  0x00004f6b increase  0x00000002 , 0x00000011 
+ 00020892  0x00004f6c copy  0x00000011 , 0x0000003f 
+ 00020893  0x00004f6d istore  0x00000002 , 0x00000005 
+ 00020894  0x00004f6e call  0x00007ea8 
+ 00020895  0x00004f6f bpatchx  0x0000001f , 0x00004023 
+ 00020896  0x00004f70 setarg  0x00000050 
+ 00020897  0x00004f71 isub  0x00000002 , 0x0000003e 
+ 00020898  0x00004f72 branch  0x000051ad , 0x00000005 
+ 00020899  0x00004f73 setarg  0x00000051 
+ 00020900  0x00004f74 isub  0x00000002 , 0x0000003e 
+ 00020901  0x00004f75 branch  0x000051be , 0x00000005 
+ 00020902  0x00004f76 setarg  0x00000052 
+ 00020903  0x00004f77 isub  0x00000002 , 0x0000003e 
+ 00020904  0x00004f78 branch  0x000051c4 , 0x00000005 
+ 00020905  0x00004f79 setarg  0x00000053 
+ 00020906  0x00004f7a isub  0x00000002 , 0x0000003e 
+ 00020907  0x00004f7b branch  0x000051ca , 0x00000005 
+ 00020908  0x00004f7c branch  0x000051cf 
+ 00020909  0x00004f7e fetch  0x00000001 , 0x00004250 
+ 00020910  0x00004f7f set1  0x00000004 , 0x0000003f 
+ 00020911  0x00004f80 set1  0x00000003 , 0x0000003f 
+ 00020912  0x00004f81 store  0x00000001 , 0x00004250 
+ 00020913  0x00004f82 bbit1  0x00000002 , 0x000051bb 
+ 00020914  0x00004f83 fetcht  0x00000001 , 0x0000027f 
+ 00020915  0x00004f84 set1  0x00000006 , 0x00000002 
+ 00020916  0x00004f85 storet  0x00000001 , 0x0000027f 
+ 00020917  0x00004f86 copy  0x00000007 , 0x0000003f 
+ 00020918  0x00004f87 increase  0x00000001 , 0x0000003f 
+ 00020919  0x00004f88 store  0x00000001 , 0x00000281 
+ 00020920  0x00004f89 fetch  0x00000001 , 0x00004250 
+ 00020921  0x00004f8a set1  0x00000002 , 0x0000003f 
+ 00020922  0x00004f8b store  0x00000001 , 0x00004250 
+ 00020923  0x00004f8d fetch  0x00000002 , 0x00004248 
+ 00020924  0x00004f8e store  0x00000002 , 0x00000282 
+ 00020925  0x00004f8f branch  0x000051cf 
+ 00020926  0x00004f91 fetch  0x00000001 , 0x00004251 
+ 00020927  0x00004f92 set1  0x00000004 , 0x0000003f 
+ 00020928  0x00004f93 set1  0x00000003 , 0x0000003f 
+ 00020929  0x00004f94 store  0x00000001 , 0x00004251 
+ 00020930  0x00004f95 fetch  0x00000002 , 0x0000424a 
+ 00020931  0x00004f96 branch  0x000051cf 
+ 00020932  0x00004f98 fetch  0x00000001 , 0x00004252 
+ 00020933  0x00004f99 set1  0x00000004 , 0x0000003f 
+ 00020934  0x00004f9a set1  0x00000003 , 0x0000003f 
+ 00020935  0x00004f9b store  0x00000001 , 0x00004252 
+ 00020936  0x00004f9c fetch  0x00000002 , 0x0000424c 
+ 00020937  0x00004f9d branch  0x000051cf 
+ 00020938  0x00004f9f fetch  0x00000001 , 0x00004253 
+ 00020939  0x00004fa0 set1  0x00000004 , 0x0000003f 
+ 00020940  0x00004fa1 set1  0x00000003 , 0x0000003f 
+ 00020941  0x00004fa2 store  0x00000001 , 0x00004253 
+ 00020942  0x00004fa3 fetch  0x00000002 , 0x0000424e 
+ 00020943  0x00004fa7 copy  0x0000003f , 0x0000000b 
+ 00020944  0x00004fa8 call  0x00007ead 
+ 00020945  0x00004faa copy  0x0000000b , 0x0000003f 
+ 00020946  0x00004fac istore  0x00000002 , 0x00000005 
+ 00020947  0x00004fad force  0x00000000 , 0x0000003f 
+ 00020948  0x00004fae istore  0x00000002 , 0x00000005 
+ 00020949  0x00004faf force  0x00000000 , 0x0000003f 
+ 00020950  0x00004fb0 istore  0x00000002 , 0x00000005 
+ 00020951  0x00004fb1 force  0x0000000a , 0x0000003f 
+ 00020952  0x00004fb2 iadd  0x00000012 , 0x00000012 
+ 00020953  0x00004fb3 increase  0xfffffffa , 0x00000011 
+ 00020954  0x00004fb5 branch  0x000051e0 , 0x00000005 
+ 00020955  0x00004fb6 ifetch  0x00000001 , 0x00000006 
+ 00020956  0x00004fb7 istore  0x00000001 , 0x00000005 
+ 00020957  0x00004fb8 increase  0x00000001 , 0x00000012 
+ 00020958  0x00004fb9 increase  0xffffffff , 0x00000011 
+ 00020959  0x00004fba branch  0x000051da 
+ 00020960  0x00004fbc rtn 
+ 00020961  0x00004fbe ifetch  0x00000001 , 0x00000006 
+ 00020962  0x00004fbf copy  0x0000003f , 0x00000007 
+ 00020963  0x00004fc0 ifetch  0x00000002 , 0x00000006 
+ 00020964  0x00004fc1 copy  0x0000003f , 0x00000011 
+ 00020965  0x00004fc2 copy  0x00000013 , 0x0000003f 
+ 00020966  0x00004fc3 isub  0x00000011 , 0x00000013 
+ 00020967  0x00004fc5 ifetch  0x00000002 , 0x00000006 
+ 00020968  0x00004fc6 copy  0x0000003f , 0x00000011 
+ 00020969  0x00004fc7 ifetch  0x00000002 , 0x00000006 
+ 00020970  0x00004fc8 copy  0x0000003f , 0x0000000b 
+ 00020971  0x00004fc9 call  0x00007ea8 
+ 00020972  0x00004fca bpatchx  0x00000020 , 0x00004024 
+ 00020973  0x00004fcb setarg  0x00000050 
+ 00020974  0x00004fcc copy  0x00000011 , 0x00000002 
+ 00020975  0x00004fcd isub  0x00000002 , 0x0000003e 
+ 00020976  0x00004fce branch  0x000051fa , 0x00000005 
+ 00020977  0x00004fcf setarg  0x00000052 
+ 00020978  0x00004fd0 copy  0x00000011 , 0x00000002 
+ 00020979  0x00004fd1 isub  0x00000002 , 0x0000003e 
+ 00020980  0x00004fd2 branch  0x000051ff , 0x00000005 
+ 00020981  0x00004fd3 setarg  0x00000053 
+ 00020982  0x00004fd4 copy  0x00000011 , 0x00000002 
+ 00020983  0x00004fd5 isub  0x00000002 , 0x0000003e 
+ 00020984  0x00004fd6 branch  0x00005201 , 0x00000005 
+ 00020985  0x00004fd7 branch  0x00005203 
+ 00020986  0x00004fd9 setarg  0x00000000 
+ 00020987  0x00004fda store  0x00000002 , 0x00000275 
+ 00020988  0x00004fdb store  0x00000002 , 0x00004248 
+ 00020989  0x00004fdc store  0x00000001 , 0x00004250 
+ 00020990  0x00004fdd branch  0x00005205 
+ 00020991  0x00004fdf call  0x00005079 
+ 00020992  0x00004fe0 branch  0x00005205 
+ 00020993  0x00004fe2 call  0x0000507f 
+ 00020994  0x00004fe8 branch  0x00005205 
+ 00020995  0x00004fea setarg  0x00000000 
+ 00020996  0x00004feb store  0x00000002 , 0x0000027b 
+ 00020997  0x00004fed call  0x00007ead 
+ 00020998  0x00004fee setarg  0x00000007 
+ 00020999  0x00004fef istore  0x00000001 , 0x00000005 
+ 00021000  0x00004ff0 copy  0x00000007 , 0x0000003f 
+ 00021001  0x00004ff1 istore  0x00000001 , 0x00000005 
+ 00021002  0x00004ff2 setarg  0x00000004 
+ 00021003  0x00004ff3 istore  0x00000002 , 0x00000005 
+ 00021004  0x00004ff4 copy  0x00000011 , 0x0000003f 
+ 00021005  0x00004ff5 istore  0x00000002 , 0x00000005 
+ 00021006  0x00004ff6 copy  0x0000000b , 0x0000003f 
+ 00021007  0x00004ff7 istore  0x00000002 , 0x00000005 
+ 00021008  0x00004ff8 force  0x00000008 , 0x0000003f 
+ 00021009  0x00004ff9 iadd  0x00000012 , 0x00000012 
+ 00021010  0x00004ffa rtn 
+ 00021011  0x00004ffd ifetch  0x00000001 , 0x00000006 
+ 00021012  0x00004ffe copy  0x0000003f , 0x00000007 
+ 00021013  0x00004fff ifetch  0x00000002 , 0x00000006 
+ 00021014  0x00005000 copy  0x0000003f , 0x00000011 
+ 00021015  0x00005001 ifetch  0x00000002 , 0x00000006 
+ 00021016  0x00005002 copy  0x0000003f , 0x0000000b 
+ 00021017  0x00005003 ifetch  0x00000002 , 0x00000006 
+ 00021018  0x00005004 copy  0x0000003f , 0x00000002 
+ 00021019  0x00005005 call  0x00007ea8 
+ 00021020  0x00005006 bpatchx  0x00000021 , 0x00004024 
+ 00021021  0x00005007 fetch  0x00000001 , 0x00004255 
+ 00021022  0x00005008 icompare  0x000000ff , 0x00000007 
+ 00021023  0x00005009 nbranch  0x0000522a , 0x00000001 
+ 00021024  0x0000500a setarg  0x00000050 
+ 00021025  0x0000500b isub  0x00000002 , 0x0000003e 
+ 00021026  0x0000500c branch  0x00005227 , 0x00000005 
+ 00021027  0x0000500d setarg  0x00000051 
+ 00021028  0x0000500e isub  0x00000002 , 0x0000003e 
+ 00021029  0x0000500f branch  0x0000522a , 0x00000005 
+ 00021030  0x00005010 branch  0x0000522a 
+ 00021031  0x00005012 jam  0x00000000 , 0x00004248 
+ 00021032  0x00005013 jam  0x00000000 , 0x00004250 
+ 00021033  0x00005014 branch  0x0000522a 
+ 00021034  0x00005019 call  0x00007ead 
+ 00021035  0x0000501a copy  0x00000013 , 0x0000003f 
+ 00021036  0x0000501b isub  0x00000011 , 0x00000013 
+ 00021037  0x0000501c rtn 
+ 00021038  0x0000501f setarg  0x00000001 
+ 00021039  0x00005020 istore  0x00000001 , 0x00000005 
+ 00021040  0x00005021 ifetch  0x00000001 , 0x00000006 
+ 00021041  0x00005022 istore  0x00000001 , 0x00000005 
+ 00021042  0x00005023 setarg  0x00000002 
+ 00021043  0x00005024 istore  0x00000002 , 0x00000005 
+ 00021044  0x00005025 setarg  0x00000000 
+ 00021045  0x00005026 istore  0x00000002 , 0x00000005 
+ 00021046  0x00005027 setarg  0x00000006 
+ 00021047  0x00005028 iadd  0x00000012 , 0x00000012 
+ 00021048  0x00005029 force  0x00000004 , 0x00000013 
+ 00021049  0x0000502a rtn 
+ 00021050  0x0000502e fetch  0x00000001 , 0x00004255 
+ 00021051  0x0000502f increase  0x00000001 , 0x0000003f 
+ 00021052  0x00005030 bne  0x00000000 , 0x0000523e 
+ 00021053  0x00005031 increase  0x00000001 , 0x0000003f 
+ 00021054  0x00005033 store  0x00000001 , 0x00004255 
+ 00021055  0x00005034 rtn 
+ 00021056  0x0000503f bpatchx  0x00000022 , 0x00004024 
+ 00021057  0x00005040 arg  0x00000000 , 0x00000012 
+ 00021058  0x00005041 call  0x0000526e 
+ 00021059  0x00005042 nbranch  0x00002a8c , 0x00000034 
+ 00021060  0x00005043 call  0x0000527e 
+ 00021061  0x00005044 arg  0x00001800 , 0x00000012 
+ 00021062  0x00005045 arg  0x00000000 , 0x00000007 
+ 00021063  0x00005047 fetcht  0x00000001 , 0x00004256 
+ 00021064  0x00005048 qisolate1  0x00000002 
+ 00021065  0x00005049 branch  0x0000524f , 0x00000001 
+ 00021066  0x0000504a call  0x000052a0 
+ 00021067  0x0000504b sub  0x0000000b , 0x00000000 , 0x0000003e 
+ 00021068  0x0000504c branch  0x0000524f , 0x00000002 
+ 00021069  0x0000504d call  0x00005288 
+ 00021070  0x0000504e branch  0x00005255 
+ 00021071  0x00005050 increase  0x00000080 , 0x00000012 
+ 00021072  0x00005051 increase  0x00000001 , 0x00000007 
+ 00021073  0x00005052 setarg  0x00000008 
+ 00021074  0x00005053 isub  0x00000007 , 0x0000003e 
+ 00021075  0x00005054 branch  0x00005247 , 0x00000002 
+ 00021076  0x00005055 arg  0x00000000 , 0x00000012 
+ 00021077  0x00005057 copy  0x00000012 , 0x0000003f 
+ 00021078  0x00005058 branch  0x00002a8c , 0x00000034 
+ 00021079  0x00005059 rtn 
+ 00021080  0x00005062 bpatchx  0x00000023 , 0x00004024 
+ 00021081  0x00005063 call  0x00005277 
+ 00021082  0x00005064 increase  0x00000001 , 0x00000006 
+ 00021083  0x00005065 ifetch  0x00000002 , 0x00000006 
+ 00021084  0x00005066 rtn 
+ 00021085  0x0000506d bpatchx  0x00000024 , 0x00004024 
+ 00021086  0x0000506e call  0x00005277 
+ 00021087  0x0000506f copy  0x00000006 , 0x00000005 
+ 00021088  0x00005070 copy  0x00000006 , 0x00000002 
+ 00021089  0x00005071 setarg  0x00000000 
+ 00021090  0x00005072 istore  0x00000003 , 0x00000005 
+ 00021091  0x00005073 rtn 
+ 00021092  0x00005079 bpatchx  0x00000025 , 0x00004024 
+ 00021093  0x0000507a call  0x00005274 
+ 00021094  0x0000507b branch  0x00002a8c , 0x00000034 
+ 00021095  0x0000507c fetch  0x00000003 , 0x0000425d 
+ 00021096  0x0000507d store  0x00000003 , 0x00004260 
+ 00021097  0x0000507e fetch  0x00000003 , 0x0000425a 
+ 00021098  0x0000507f store  0x00000003 , 0x0000425d 
+ 00021099  0x00005080 fetch  0x00000003 , 0x00004257 
+ 00021100  0x00005081 store  0x00000003 , 0x0000425a 
+ 00021101  0x00005082 rtn 
+ 00021102  0x00005089 bpatchx  0x00000026 , 0x00004024 
+ 00021103  0x0000508a fetch  0x00000003 , 0x00004257 
+ 00021104  0x0000508b rtn 
+ 00021105  0x00005092 bpatchx  0x00000027 , 0x00004024 
+ 00021106  0x00005093 fetch  0x00000003 , 0x0000425a 
+ 00021107  0x00005094 rtn 
+ 00021108  0x0000509b bpatchx  0x00000028 , 0x00004025 
+ 00021109  0x0000509c fetch  0x00000003 , 0x00004260 
+ 00021110  0x0000509d rtn 
+ 00021111  0x000050a3 call  0x00005274 
+ 00021112  0x000050a4 branch  0x00002a8c , 0x00000034 
+ 00021113  0x000050a5 arg  0x00004257 , 0x00000006 
+ 00021114  0x000050a7 ifetch  0x00000003 , 0x00000006 
+ 00021115  0x000050a8 branch  0x0000527a , 0x00000034 
+ 00021116  0x000050a9 increase  0xfffffffd , 0x00000006 
+ 00021117  0x000050aa rtn 
+ 00021118  0x000050b2 bpatchx  0x00000029 , 0x00004025 
+ 00021119  0x000050b3 arg  0x00000004 , 0x00000039 
+ 00021120  0x000050b4 arg  0x00004257 , 0x00000006 
+ 00021121  0x000050b5 arg  0x00000000 , 0x00000002 
+ 00021122  0x000050b7 ifetch  0x00000003 , 0x00000006 
+ 00021123  0x000050b8 and  0x0000003f , 0x000000ff , 0x0000003f 
+ 00021124  0x000050b9 ior  0x00000002 , 0x00000002 
+ 00021125  0x000050ba loop  0x00005282 
+ 00021126  0x000050bb storet  0x00000001 , 0x00004256 
+ 00021127  0x000050bc rtn 
+ 00021128  0x000050c5 bpatchx  0x0000002a , 0x00004025 
+ 00021129  0x000050c6 call  0x0000526e 
+ 00021130  0x000050c7 nbranch  0x00002a8c , 0x00000034 
+ 00021131  0x000050c8 call  0x00005274 
+ 00021132  0x000050c9 branch  0x00005295 , 0x00000034 
+ 00021133  0x000050ca fetch  0x00000003 , 0x0000425a 
+ 00021134  0x000050cb store  0x00000003 , 0x00004257 
+ 00021135  0x000050cc ifetch  0x00000003 , 0x00000006 
+ 00021136  0x000050cd istore  0x00000003 , 0x00000005 
+ 00021137  0x000050ce ifetch  0x00000003 , 0x00000006 
+ 00021138  0x000050cf istore  0x00000003 , 0x00000005 
+ 00021139  0x000050d0 setarg  0x00000000 
+ 00021140  0x000050d1 istore  0x00000003 , 0x00000005 
+ 00021141  0x000050d3 arg  0x00000000 , 0x00000002 
+ 00021142  0x000050d4 copy  0x0000000b , 0x0000003f 
+ 00021143  0x000050d5 iadd  0x00000007 , 0x0000003f 
+ 00021144  0x000050d7 qset1  0x00000002 
+ 00021145  0x000050d8 increase  0x00000001 , 0x00000007 
+ 00021146  0x000050d9 isub  0x00000007 , 0x0000003e 
+ 00021147  0x000050da nbranch  0x00005298 , 0x00000005 
+ 00021148  0x000050dc lshift8  0x00000012 , 0x0000003f 
+ 00021149  0x000050dd ior  0x00000002 , 0x0000003f 
+ 00021150  0x000050de store  0x00000003 , 0x00004260 
+ 00021151  0x000050df rtn 
+ 00021152  0x000050ea bpatchx  0x0000002b , 0x00004025 
+ 00021153  0x000050eb call  0x0000527e 
+ 00021154  0x000050ec copy  0x00000007 , 0x00000013 
+ 00021155  0x000050ed arg  0x00000000 , 0x00000002 
+ 00021156  0x000050ee arg  0x00000000 , 0x0000000b 
+ 00021157  0x000050f1 copy  0x00000007 , 0x0000003f 
+ 00021158  0x000050f2 beq  0x00000008 , 0x000052b0 
+ 00021159  0x000050f3 fetch  0x00000001 , 0x00004256 
+ 00021160  0x000050f4 qisolate1  0x0000003f 
+ 00021161  0x000050f5 branch  0x000052b0 , 0x00000001 
+ 00021162  0x000050f6 increase  0x00000080 , 0x00000002 
+ 00021163  0x000050f7 increase  0x00000001 , 0x00000007 
+ 00021164  0x000050f8 copy  0x00000011 , 0x0000003f 
+ 00021165  0x000050f9 isub  0x00000002 , 0x0000003e 
+ 00021166  0x000050fa branch  0x000052b0 , 0x00000005 
+ 00021167  0x000050fb branch  0x000052a5 , 0x00000002 
+ 00021168  0x000050fd copy  0x00000002 , 0x0000003f 
+ 00021169  0x000050fe isub  0x00000011 , 0x0000003e 
+ 00021170  0x000050ff nbranch  0x000052b6 , 0x00000002 
+ 00021171  0x00005100 copy  0x00000007 , 0x0000003f 
+ 00021172  0x00005101 copy  0x00000013 , 0x00000002 
+ 00021173  0x00005102 isub  0x00000002 , 0x0000000b 
+ 00021174  0x00005104 copy  0x00000013 , 0x00000007 
+ 00021175  0x00005105 rtn 
+ 00021176  0x00005109 bpatchx  0x0000002c , 0x00004025 
+ 00021177  0x0000510a arg  0x0000007f , 0x00000011 
+ 00021178  0x0000510b call  0x00005240 
+ 00021179  0x0000510c store  0x00000002 , 0x0000026b 
+ 00021180  0x0000510d increase  0x00000004 , 0x0000003f 
+ 00021181  0x0000510e store  0x00000002 , 0x0000026d 
+ 00021182  0x0000510f setarg  0x00000000 
+ 00021183  0x00005110 store  0x00000002 , 0x0000026f 
+ 00021184  0x00005111 rtn 
+ 00021185  0x00005114 fetch  0x00000002 , 0x0000026b 
+ 00021186  0x00005115 branch  0x000052e2 
+ 00021187  0x00005118 fetch  0x00000002 , 0x0000026d 
+ 00021188  0x00005119 branch  0x000052e2 
+ 00021189  0x0000511d bpatchx  0x0000002d , 0x00004025 
+ 00021190  0x0000511e arg  0x000000fa , 0x00000011 
+ 00021191  0x0000511f call  0x00005240 
+ 00021192  0x00005120 store  0x00000002 , 0x00000271 
+ 00021193  0x00005121 increase  0x00000004 , 0x0000003f 
+ 00021194  0x00005122 store  0x00000002 , 0x00000273 
+ 00021195  0x00005123 setarg  0x00000000 
+ 00021196  0x00005124 store  0x00000002 , 0x00000275 
+ 00021197  0x00005125 rtn 
+ 00021198  0x00005128 fetch  0x00000002 , 0x00000271 
+ 00021199  0x00005129 branch  0x000052e2 
+ 00021200  0x0000512c fetch  0x00000002 , 0x00000273 
+ 00021201  0x0000512d branch  0x000052e2 
+ 00021202  0x00005131 bpatchx  0x0000002e , 0x00004025 
+ 00021203  0x00005132 call  0x00007e7c 
+ 00021204  0x00005133 jam  0x00000001 , 0x00000284 
+ 00021205  0x00005134 call  0x0000526e 
+ 00021206  0x00005135 nrtn  0x00000034 
+ 00021207  0x00005136 arg  0x0000007f , 0x00000011 
+ 00021208  0x00005137 call  0x00005240 
+ 00021209  0x00005138 store  0x00000002 , 0x00000277 
+ 00021210  0x00005139 increase  0x00000004 , 0x0000003f 
+ 00021211  0x0000513a store  0x00000002 , 0x00000279 
+ 00021212  0x0000513b setarg  0x00000000 
+ 00021213  0x0000513c store  0x00000002 , 0x0000027b 
+ 00021214  0x0000513d jam  0x00000000 , 0x00000284 
+ 00021215  0x0000513e branch  0x00007e8c 
+ 00021216  0x00005141 fetch  0x00000002 , 0x00000277 
+ 00021217  0x00005142 branch  0x000052e2 
+ 00021218  0x00005145 branch  0x00002a8c , 0x00000034 
+ 00021219  0x00005146 copy  0x0000003f , 0x00000005 
+ 00021220  0x00005147 rtn 
+ 00021221  0x0000514b bpatchx  0x0000002f , 0x00004025 
+ 00021222  0x0000514c arg  0x00000000 , 0x00000012 
+ 00021223  0x0000514d arg  0x00004257 , 0x00000011 
+ 00021224  0x0000514e increase  0xfffffffe , 0x00000011 
+ 00021225  0x00005150 increase  0x00000002 , 0x00000011 
+ 00021226  0x00005151 setarg  0x00004263 
+ 00021227  0x00005152 isub  0x00000011 , 0x0000003e 
+ 00021228  0x00005153 branch  0x000052f5 , 0x00000005 
+ 00021229  0x00005154 ifetch  0x00000001 , 0x00000011 
+ 00021230  0x00005155 increase  0x00000001 , 0x00000011 
+ 00021231  0x00005156 branch  0x000052e9 , 0x00000034 
+ 00021232  0x00005157 ifetcht  0x00000002 , 0x00000011 
+ 00021233  0x00005158 ifetch  0x00000002 , 0x00000002 
+ 00021234  0x00005159 iadd  0x00000012 , 0x00000012 
+ 00021235  0x0000515a increase  0x00000004 , 0x00000012 
+ 00021236  0x0000515b branch  0x000052e9 
+ 00021237  0x0000515d copy  0x00000012 , 0x0000003f 
+ 00021238  0x0000515e rtn 
+ 00021239  0x00005162 arg  0x0000000c , 0x00000007 
+ 00021240  0x00005163 branch  0x00002c32 
+ 00021241  0x00005166 arg  0x0000000c , 0x00000007 
+ 00021242  0x00005167 branch  0x00002c36 
+ 00021243  0x0000516a bpatchx  0x00000030 , 0x00004026 
+ 00021244  0x0000516b call  0x0000527e 
+ 00021245  0x0000516c fetch  0x00000001 , 0x00004256 
+ 00021246  0x0000516d rtn  0x00000034 
+ 00021247  0x0000516e call  0x000052e5 
+ 00021248  0x0000516f arg  0x00000100 , 0x00000002 
+ 00021249  0x00005170 isub  0x00000002 , 0x0000003e 
+ 00021250  0x00005171 branch  0x000052f7 , 0x00000002 
+ 00021251  0x00005172 call  0x000052f9 
+ 00021252  0x00005173 arg  0x00004263 , 0x00000005 
+ 00021253  0x00005174 arg  0x00004257 , 0x00000011 
+ 00021254  0x00005176 setarg  0x00004263 
+ 00021255  0x00005177 isub  0x00000011 , 0x0000003e 
+ 00021256  0x00005178 rtn  0x00000005 
+ 00021257  0x00005179 ifetch  0x00000001 , 0x00000011 
+ 00021258  0x0000517a increase  0x00000001 , 0x00000011 
+ 00021259  0x0000517b nbranch  0x0000530f , 0x00000034 
+ 00021260  0x0000517c istore  0x00000002 , 0x00000005 
+ 00021261  0x0000517d increase  0x00000002 , 0x00000011 
+ 00021262  0x0000517e branch  0x00005306 
+ 00021263  0x00005180 ifetch  0x00000002 , 0x00000011 
+ 00021264  0x00005181 increase  0x00000002 , 0x00000011 
+ 00021265  0x00005182 copy  0x0000003f , 0x00000006 
+ 00021266  0x00005183 ifetch  0x00000002 , 0x00000006 
+ 00021267  0x00005184 istore  0x00000002 , 0x00000005 
+ 00021268  0x00005185 copy  0x0000003f , 0x00000039 
+ 00021269  0x00005186 increase  0x00000002 , 0x00000039 
+ 00021270  0x00005187 call  0x00007f01 
+ 00021271  0x00005188 branch  0x00005306 
+ 00021272  0x0000518b bpatchx  0x00000031 , 0x00004026 
+ 00021273  0x0000518c call  0x0000527e 
+ 00021274  0x0000518d fetch  0x00000001 , 0x00004256 
+ 00021275  0x0000518e rtn  0x00000034 
+ 00021276  0x0000518f arg  0x00004258 , 0x00000011 
+ 00021277  0x00005190 increase  0xfffffffd , 0x00000011 
+ 00021278  0x00005191 arg  0x00004263 , 0x00000006 
+ 00021279  0x00005193 increase  0x00000003 , 0x00000011 
+ 00021280  0x00005194 setarg  0x00004264 
+ 00021281  0x00005195 isub  0x00000011 , 0x0000003e 
+ 00021282  0x00005196 rtn  0x00000005 
+ 00021283  0x00005197 ifetch  0x00000002 , 0x00000006 
+ 00021284  0x00005198 branch  0x0000531f , 0x00000034 
+ 00021285  0x00005199 increase  0x00000004 , 0x0000003f 
+ 00021286  0x0000519a copy  0x0000003f , 0x00000039 
+ 00021287  0x0000519b copy  0x00000006 , 0x00000012 
+ 00021288  0x0000519c ifetch  0x00000002 , 0x00000011 
+ 00021289  0x0000519d copy  0x0000003f , 0x00000005 
+ 00021290  0x0000519e copy  0x00000012 , 0x00000006 
+ 00021291  0x0000519f increase  0xfffffffe , 0x00000006 
+ 00021292  0x000051a0 call  0x00007f01 
+ 00021293  0x000051a1 branch  0x0000531f 
+ 00021294  0x000051ac bpatchx  0x00000032 , 0x00004026 
+ 00021295  0x000051ad disable  0x0000002b 
+ 00021296  0x000051ae jam  0x00000001 , 0x00000455 
+ 00021297  0x000051af jam  0x00000003 , 0x0000043f 
+ 00021298  0x000051b0 jam  0x00000001 , 0x00000456 
+ 00021299  0x000051b1 setarg  0xffffffff 
+ 00021300  0x000051b2 store  0x00000002 , 0x00000459 
+ 00021301  0x000051b3 force  0x00000000 , 0x0000003f 
+ 00021302  0x000051b4 store  0x00000001 , 0x00000457 
+ 00021303  0x000051b5 store  0x00000001 , 0x00000462 
+ 00021304  0x000051b6 store  0x00000003 , 0x00004169 
+ 00021305  0x000051b7 store  0x00000003 , 0x0000416c 
+ 00021306  0x000051b8 store  0x00000005 , 0x00004403 
+ 00021307  0x000051b9 set1  0x00000027 , 0x0000003f 
+ 00021308  0x000051ba store  0x00000005 , 0x00004408 
+ 00021309  0x000051bb jam  0x00000001 , 0x000043dc 
+ 00021310  0x000051bc jam  0x00000000 , 0x000043dd 
+ 00021311  0x000051bd branch  0x000056ed 
+ 00021312  0x000051c0 bpatchx  0x00000033 , 0x00004026 
+ 00021313  0x000051c1 enable  0x00000029 
+ 00021314  0x000051c2 jam  0x00000003 , 0x00000440 
+ 00021315  0x000051c3 jam  0x00000001 , 0x00000478 
+ 00021316  0x000051c4 jam  0x00000001 , 0x0000445a 
+ 00021317  0x000051c5 setarg  0x0000ffff 
+ 00021318  0x000051c6 store  0x00000002 , 0x0000445c 
+ 00021319  0x000051c7 force  0x00000000 , 0x0000003f 
+ 00021320  0x000051c8 store  0x00000005 , 0x00004408 
+ 00021321  0x000051c9 set1  0x00000027 , 0x0000003f 
+ 00021322  0x000051ca store  0x00000005 , 0x00004403 
+ 00021323  0x000051cb branch  0x0000532e 
+ 00021324  0x000051cf bpatchx  0x00000034 , 0x00004026 
+ 00021325  0x000051d0 disable  0x00000029 
+ 00021326  0x000051d1 setarg  0x00000017 
+ 00021327  0x000051d2 store  0x00000002 , 0x000044a8 
+ 00021328  0x000051d3 jam  0x00000001 , 0x00000440 
+ 00021329  0x000051d4 jam  0x00000000 , 0x0000436e 
+ 00021330  0x000051d5 jam  0x00000000 , 0x000000a0 
+ 00021331  0x000051d6 jam  0x00000000 , 0x000044c4 
+ 00021332  0x000051d7 jam  0x00000000 , 0x000044c5 
+ 00021333  0x000051d8 fetch  0x00000002 , 0x0000046d 
+ 00021334  0x000051d9 store  0x00000002 , 0x000044ba 
+ 00021335  0x000051da fetch  0x00000002 , 0x00000441 
+ 00021336  0x000051db mul32  0x0000003f , 0x00000005 , 0x0000003f 
+ 00021337  0x000051dc rshift4  0x0000003f , 0x0000003f 
+ 00021338  0x000051dd store  0x00000002 , 0x0000046d 
+ 00021339  0x000051de branch  0x0000532e 
+ 00021340  0x000051e5 call  0x000053c4 
+ 00021341  0x000051e6 call  0x000055e8 
+ 00021342  0x000051e7 call  0x000056f0 
+ 00021343  0x000051e8 branch  0x000053ce 
+ 00021344  0x000051eb bpatchx  0x00000035 , 0x00004026 
+ 00021345  0x000051ec call  0x000053c4 
+ 00021346  0x000051ed call  0x000032f4 
+ 00021347  0x000051ee fetch  0x00000001 , 0x00000440 
+ 00021348  0x000051ef beq  0x00000003 , 0x00005366 
+ 00021349  0x000051f0 branch  0x0000537a 
+ 00021350  0x000051f7 bpatchx  0x00000036 , 0x00004026 
+ 00021351  0x000051f8 enable  0x00000029 
+ 00021352  0x000051f9 call  0x000056e4 
+ 00021353  0x000051fa branch  0x00005377 , 0x00000002 
+ 00021354  0x000051fb call  0x00002c6c 
+ 00021355  0x000051fc call  0x00005413 
+ 00021356  0x000051fd call  0x0000561e 
+ 00021357  0x000051fe disable  0x0000002d 
+ 00021358  0x000051ff call  0x000054bf 
+ 00021359  0x00005200 nrtn  0x0000002d 
+ 00021360  0x00005201 bpatchx  0x00000037 , 0x00004026 
+ 00021361  0x00005202 fetch  0x00000001 , 0x00000005 
+ 00021362  0x00005203 increase  0x00000001 , 0x0000003f 
+ 00021363  0x00005204 store  0x00000001 , 0x00000005 
+ 00021364  0x00005205 call  0x000055aa 
+ 00021365  0x00005206 disable  0x00000029 
+ 00021366  0x00005207 rtn 
+ 00021367  0x0000520a call  0x000053a9 
+ 00021368  0x0000520b disable  0x00000029 
+ 00021369  0x0000520c rtn 
+ 00021370  0x00005212 bpatchx  0x00000038 , 0x00004027 
+ 00021371  0x00005213 jam  0x00000000 , 0x0000450f 
+ 00021372  0x00005214 call  0x00007aaf 
+ 00021373  0x00005215 call  0x00005c18 
+ 00021374  0x00005216 disable  0x0000002e 
+ 00021375  0x00005217 call  0x000056e4 
+ 00021376  0x00005218 branch  0x000053a9 , 0x00000002 
+ 00021377  0x00005219 call  0x00002c6c 
+ 00021378  0x0000521a call  0x00005413 
+ 00021379  0x0000521b call  0x00005489 
+ 00021380  0x0000521c nbranch  0x0000539b , 0x00000018 
+ 00021381  0x0000521d call  0x000053b7 
+ 00021382  0x0000521e branch  0x00005388 , 0x0000002d 
+ 00021383  0x0000521f branch  0x00005395 
+ 00021384  0x00005223 bpatchx  0x00000039 , 0x00004027 
+ 00021385  0x00005224 fetch  0x00000001 , 0x0000450f 
+ 00021386  0x00005225 pincrease  0x00000001 
+ 00021387  0x00005226 store  0x00000001 , 0x0000450f 
+ 00021388  0x00005227 beq  0x0000000c , 0x00005395 
+ 00021389  0x00005228 call  0x000055aa 
+ 00021390  0x00005229 call  0x0000561e 
+ 00021391  0x0000522a call  0x000054c7 
+ 00021392  0x0000522b call  0x0000567e 
+ 00021393  0x0000522c fetch  0x00000002 , 0x000041fb 
+ 00021394  0x0000522d call  0x00007f9c 
+ 00021395  0x0000522e call  0x000053a0 
+ 00021396  0x0000522f branch  0x000053a4 , 0x00000028 
+ 00021397  0x00005231 bpatchx  0x0000003a , 0x00004027 
+ 00021398  0x00005232 call  0x00005be4 
+ 00021399  0x00005233 call  0x00005bdb 
+ 00021400  0x00005234 call  0x00007d9c 
+ 00021401  0x00005235 fetch  0x00000001 , 0x00000462 
+ 00021402  0x00005236 bbit1  0x00000003 , 0x000053a9 
+ 00021403  0x00005238 bpatchx  0x0000003b , 0x00004027 
+ 00021404  0x00005239 call  0x000057f4 
+ 00021405  0x0000523a call  0x0000559d 
+ 00021406  0x0000523b call  0x00005575 
+ 00021407  0x0000523c branch  0x00002841 
+ 00021408  0x00005240 disable  0x00000028 
+ 00021409  0x00005241 bmark1  0x0000002a , 0x00007fe7 
+ 00021410  0x00005242 bmark1  0x00000029 , 0x00007fe7 
+ 00021411  0x00005243 rtn 
+ 00021412  0x00005247 bpatchx  0x0000003c , 0x00004027 
+ 00021413  0x00005248 enable  0x0000002e 
+ 00021414  0x00005249 call  0x000054c1 
+ 00021415  0x0000524a branch  0x00005388 , 0x0000002d 
+ 00021416  0x0000524b branch  0x00005395 
+ 00021417  0x00005251 bpatchx  0x0000003d , 0x00004027 
+ 00021418  0x00005252 call  0x000053af 
+ 00021419  0x00005253 call  0x000033b4 
+ 00021420  0x00005254 call  0x00007a77 
+ 00021421  0x00005255 jam  0x00000015 , 0x00000a99 
+ 00021422  0x00005256 branch  0x00007d86 
+ 00021423  0x00005259 setarg  0x00000000 
+ 00021424  0x0000525a store  0x00000009 , 0x000044ff 
+ 00021425  0x0000525b jam  0x00000000 , 0x00000455 
+ 00021426  0x0000525c jam  0x00000000 , 0x00000440 
+ 00021427  0x0000525d jam  0x00000000 , 0x0000043f 
+ 00021428  0x0000525e jam  0x00000000 , 0x000044c5 
+ 00021429  0x0000525f jam  0x00000000 , 0x000044c4 
+ 00021430  0x00005260 rtn 
+ 00021431  0x00005263 bpatchx  0x0000003e , 0x00004027 
+ 00021432  0x00005264 fetch  0x00000001 , 0x00000005 
+ 00021433  0x00005265 increase  0x00000001 , 0x0000003f 
+ 00021434  0x00005266 store  0x00000001 , 0x00000005 
+ 00021435  0x00005267 fetch  0x00000001 , 0x0000043f 
+ 00021436  0x00005268 rtnbit1  0x00000003 
+ 00021437  0x00005269 set1  0x00000003 
+ 00021438  0x0000526a store  0x00000001 , 0x0000043f 
+ 00021439  0x0000526b fetch  0x00000002 , 0x000044ba 
+ 00021440  0x0000526c store  0x00000002 , 0x0000046d 
+ 00021441  0x0000526d setarg  0x00000000 
+ 00021442  0x0000526e store  0x00000004 , 0x000044e5 
+ 00021443  0x0000526f rtn 
+ 00021444  0x00005273 bpatchx  0x0000003f , 0x00004027 
+ 00021445  0x00005274 jam  0x00000036 , 0x0000890f 
+ 00021446  0x00005275 jam  0x0000005f , 0x0000890b 
+ 00021447  0x00005276 enable  0x00000036 
+ 00021448  0x00005277 jam  0x00000007 , 0x00008914 
+ 00021449  0x00005278 call  0x00002c6c 
+ 00021450  0x00005279 fetch  0x00000001 , 0x000041e0 
+ 00021451  0x0000527a rtn  0x00000034 
+ 00021452  0x0000527b jam  0x000000b8 , 0x0000890a 
+ 00021453  0x0000527c rtn 
+ 00021454  0x0000527f bpatchx  0x00000040 , 0x00004028 
+ 00021455  0x00005280 jam  0x0000002e , 0x0000890f 
+ 00021456  0x00005281 jam  0x000000ff , 0x0000890b 
+ 00021457  0x00005282 disable  0x00000036 
+ 00021458  0x00005283 jam  0x00000003 , 0x00008914 
+ 00021459  0x00005284 arg  0x00000000 , 0x0000001b 
+ 00021460  0x00005285 rtn 
+ 00021461  0x00005288 disable  0x00000009 
+ 00021462  0x00005289 disable  0x00000007 
+ 00021463  0x0000528a fetch  0x00000003 , 0x00000467 
+ 00021464  0x0000528b iforce  0x0000000f 
+ 00021465  0x0000528c fetch  0x00000001 , 0x00000016 
+ 00021466  0x0000528d reverse  0x0000003f , 0x00000002 
+ 00021467  0x0000528e set1  0x00000001 , 0x00000002 
+ 00021468  0x0000528f rshift  0x00000002 , 0x0000000e 
+ 00021469  0x00005290 rtn 
+ 00021470  0x00005294 call  0x000053e6 
+ 00021471  0x00005295 call  0x0000291f 
+ 00021472  0x00005296 setarg  0x00000500 
+ 00021473  0x00005297 call  0x00002a8f 
+ 00021474  0x00005298 branch  0x00002924 
+ 00021475  0x0000529b branch  0x00002939 , 0x0000002d 
+ 00021476  0x0000529d call  0x000053e6 
+ 00021477  0x0000529e branch  0x00002933 
+ 00021478  0x000052a0 bpatchx  0x00000041 , 0x00004028 
+ 00021479  0x000052a1 call  0x00002918 
+ 00021480  0x000052a2 fetch  0x00000001 , 0x0000048c 
+ 00021481  0x000052a3 nbranch  0x000053f9 , 0x00000034 
+ 00021482  0x000052a4 fetch  0x00000001 , 0x00000016 
+ 00021483  0x000052a5 sub  0x0000003f , 0x00000024 , 0x0000003e 
+ 00021484  0x000052a6 branch  0x000053f3 , 0x00000002 
+ 00021485  0x000052a7 force  0x00000000 , 0x00000002 
+ 00021486  0x000052a8 rtneq  0x00000025 
+ 00021487  0x000052a9 force  0x00000018 , 0x00000002 
+ 00021488  0x000052aa rtneq  0x00000026 
+ 00021489  0x000052ab force  0x0000004e , 0x00000002 
+ 00021490  0x000052ac rtn 
+ 00021491  0x000052af sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00021492  0x000052b0 branch  0x000053f6 , 0x00000002 
+ 00021493  0x000052b1 increase  0x00000001 , 0x0000003f 
+ 00021494  0x000052b4 lshift  0x0000003f , 0x0000003f 
+ 00021495  0x000052b5 add  0x0000003f , 0x00000002 , 0x00000002 
+ 00021496  0x000052b6 rtn 
+ 00021497  0x000052b9 fetch  0x00000001 , 0x00000016 
+ 00021498  0x000052ba lshift  0x0000003f , 0x00000002 
+ 00021499  0x000052bb rtn 
+ 00021500  0x000052be arg  0x000001f4 , 0x00000002 
+ 00021501  0x000052bf rtn  0x00000034 
+ 00021502  0x000052c0 arg  0x000000fa , 0x00000002 
+ 00021503  0x000052c1 rtneq  0x00000001 
+ 00021504  0x000052c2 arg  0x00000096 , 0x00000002 
+ 00021505  0x000052c3 rtneq  0x00000002 
+ 00021506  0x000052c4 arg  0x00000064 , 0x00000002 
+ 00021507  0x000052c5 rtneq  0x00000003 
+ 00021508  0x000052c6 arg  0x0000004b , 0x00000002 
+ 00021509  0x000052c7 rtneq  0x00000004 
+ 00021510  0x000052c8 arg  0x00000032 , 0x00000002 
+ 00021511  0x000052c9 rtneq  0x00000005 
+ 00021512  0x000052ca arg  0x00000028 , 0x00000002 
+ 00021513  0x000052cb rtneq  0x00000006 
+ 00021514  0x000052cc arg  0x00000014 , 0x00000002 
+ 00021515  0x000052cd rtn 
+ 00021516  0x000052d2 setarg  0x008e89be 
+ 00021517  0x000052d3 lshift8  0x0000003f , 0x0000003f 
+ 00021518  0x000052d4 or_into  0x000000d6 , 0x0000003f 
+ 00021519  0x000052d5 iforce  0x00000009 
+ 00021520  0x000052d6 setarg  0x00555555 
+ 00021521  0x000052d7 store  0x00000003 , 0x00000467 
+ 00021522  0x000052d8 rtn 
+ 00021523  0x000052db bpatchx  0x00000042 , 0x00004028 
+ 00021524  0x000052dc enable  0x00000010 
+ 00021525  0x000052dd fetch  0x00000004 , 0x00000463 
+ 00021526  0x000052de iforce  0x00000009 
+ 00021527  0x000052df call  0x00005466 
+ 00021528  0x000052e0 setarg  0x00000200 
+ 00021529  0x000052e1 branch  0x0000541c , 0x00000029 
+ 00021530  0x000052e2 fetch  0x00000002 , 0x0000044d 
+ 00021531  0x000052e3 rshift  0x0000003f , 0x0000003f 
+ 00021532  0x000052e5 arg  0x00000500 , 0x00000002 
+ 00021533  0x000052e6 iadd  0x00000002 , 0x0000003f 
+ 00021534  0x000052e7 call  0x00002a24 
+ 00021535  0x000052e8 deposit  0x0000001a 
+ 00021536  0x000052e9 store  0x00000006 , 0x00000491 
+ 00021537  0x000052ea rtn 
+ 00021538  0x000052ed bpatchx  0x00000043 , 0x00004028 
+ 00021539  0x000052ee fetch  0x00000001 , 0x00000016 
+ 00021540  0x000052ef beq  0x00000025 , 0x00005428 
+ 00021541  0x000052f0 beq  0x00000026 , 0x0000542e 
+ 00021542  0x000052f1 beq  0x00000027 , 0x00005434 
+ 00021543  0x000052f2 branch  0x00005434 
+ 00021544  0x000052f5 fetcht  0x00000001 , 0x0000448d 
+ 00021545  0x000052f6 isolate1  0x00000001 , 0x00000002 
+ 00021546  0x000052f7 branch  0x0000543f , 0x00000001 
+ 00021547  0x000052f8 isolate1  0x00000002 , 0x00000002 
+ 00021548  0x000052f9 branch  0x00005444 , 0x00000001 
+ 00021549  0x000052fa branch  0x0000543a 
+ 00021550  0x000052fe fetcht  0x00000001 , 0x0000448d 
+ 00021551  0x000052ff isolate1  0x00000002 , 0x00000002 
+ 00021552  0x00005300 branch  0x00005444 , 0x00000001 
+ 00021553  0x00005301 isolate1  0x00000000 , 0x00000002 
+ 00021554  0x00005302 branch  0x0000543a , 0x00000001 
+ 00021555  0x00005303 branch  0x0000543f 
+ 00021556  0x00005307 fetcht  0x00000001 , 0x0000448d 
+ 00021557  0x00005308 isolate1  0x00000000 , 0x00000002 
+ 00021558  0x00005309 branch  0x0000543a , 0x00000001 
+ 00021559  0x0000530a isolate1  0x00000001 , 0x00000002 
+ 00021560  0x0000530b branch  0x0000543f , 0x00000001 
+ 00021561  0x0000530c branch  0x00005444 
+ 00021562  0x00005311 jam  0x00000025 , 0x00000016 
+ 00021563  0x00005312 fetch  0x00000001 , 0x00000ac2 
+ 00021564  0x00005313 set1  0x00000000 , 0x0000003f 
+ 00021565  0x00005314 store  0x00000001 , 0x00000ac2 
+ 00021566  0x00005315 rtn 
+ 00021567  0x00005318 jam  0x00000026 , 0x00000016 
+ 00021568  0x00005319 fetch  0x00000001 , 0x00000ac2 
+ 00021569  0x0000531a set1  0x00000001 , 0x0000003f 
+ 00021570  0x0000531b store  0x00000001 , 0x00000ac2 
+ 00021571  0x0000531c rtn 
+ 00021572  0x0000531f jam  0x00000027 , 0x00000016 
+ 00021573  0x00005320 fetch  0x00000001 , 0x00000ac2 
+ 00021574  0x00005321 set1  0x00000002 , 0x0000003f 
+ 00021575  0x00005322 store  0x00000001 , 0x00000ac2 
+ 00021576  0x00005323 rtn 
+ 00021577  0x00005328 bpatchx  0x00000044 , 0x00004028 
+ 00021578  0x00005329 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00021579  0x0000532a ifetch  0x00000001 , 0x00000006 
+ 00021580  0x0000532b rtnbit0  0x00000000 
+ 00021581  0x0000532c add  0x00000011 , 0x0000001a , 0x00000005 
+ 00021582  0x0000532d ifetch  0x00000002 , 0x00000005 
+ 00021583  0x0000532e increase  0x00000001 , 0x0000003f 
+ 00021584  0x0000532f istore  0x00000002 , 0x00000005 
+ 00021585  0x00005330 add  0x00000011 , 0x00000019 , 0x00000006 
+ 00021586  0x00005331 ifetch  0x00000001 , 0x00000006 
+ 00021587  0x00005332 add  0x00000011 , 0x00000018 , 0x00000005 
+ 00021588  0x00005333 ifetcht  0x00000001 , 0x00000005 
+ 00021589  0x00005334 iadd  0x00000002 , 0x0000003f 
+ 00021590  0x00005335 sub  0x0000003f , 0x00000024 , 0x0000003e 
+ 00021591  0x00005336 branch  0x00005459 , 0x00000002 
+ 00021592  0x00005337 increase  0xffffffdb , 0x0000003f 
+ 00021593  0x00005339 istore  0x00000001 , 0x00000005 
+ 00021594  0x0000533a rtn 
+ 00021595  0x0000533e bpatchx  0x00000045 , 0x00004028 
+ 00021596  0x0000533f fetch  0x00000005 , 0x0000046f 
+ 00021597  0x00005340 force  0x00000000 , 0x00000002 
+ 00021598  0x00005341 force  0x00000025 , 0x00000039 
+ 00021599  0x00005343 bbit0  0x00000000 , 0x00005461 
+ 00021600  0x00005344 increase  0x00000001 , 0x00000002 
+ 00021601  0x00005346 rshift  0x0000003f , 0x0000003f 
+ 00021602  0x00005347 loop  0x0000545f 
+ 00021603  0x00005348 add  0x00000002 , 0xffffffff , 0x0000003f 
+ 00021604  0x00005349 store  0x00000001 , 0x00000461 
+ 00021605  0x0000534a rtn 
+ 00021606  0x0000534d bpatchx  0x00000046 , 0x00004028 
+ 00021607  0x0000534e fetch  0x00000001 , 0x00000457 
+ 00021608  0x0000534f iforce  0x00000007 
+ 00021609  0x00005350 fetcht  0x00000005 , 0x0000046f 
+ 00021610  0x00005351 qisolate1  0x00000002 
+ 00021611  0x00005352 branch  0x0000547c , 0x00000001 
+ 00021612  0x00005354 bpatchx  0x00000047 , 0x00004028 
+ 00021613  0x00005355 fetch  0x00000001 , 0x00000461 
+ 00021614  0x00005356 isub  0x00000007 , 0x0000003f 
+ 00021615  0x00005357 branch  0x00005472 , 0x00000002 
+ 00021616  0x00005358 sub  0x0000003f , 0xffffffff , 0x00000007 
+ 00021617  0x00005359 branch  0x0000546c 
+ 00021618  0x0000535b copy  0x00000007 , 0x00000039 
+ 00021619  0x0000535c force  0x00000000 , 0x00000007 
+ 00021620  0x0000535e qisolate1  0x00000002 
+ 00021621  0x0000535f branch  0x00005477 , 0x00000001 
+ 00021622  0x00005360 increase  0x00000001 , 0x00000039 
+ 00021623  0x00005362 deposit  0x00000039 
+ 00021624  0x00005363 branch  0x0000547c , 0x00000034 
+ 00021625  0x00005364 increase  0x00000001 , 0x00000007 
+ 00021626  0x00005365 increase  0xffffffff , 0x00000039 
+ 00021627  0x00005366 branch  0x00005474 
+ 00021628  0x00005368 deposit  0x00000007 
+ 00021629  0x00005369 store  0x00000001 , 0x00000016 
+ 00021630  0x0000536a rtn 
+ 00021631  0x0000536e branch  0x00005482 , 0x00000029 
+ 00021632  0x0000536f until  0x0000003e , 0x00000003 
+ 00021633  0x00005370 rtn 
+ 00021634  0x00005373 arg  0x00000ea0 , 0x0000000b 
+ 00021635  0x00005374 until  0x00000023 , 0x00000026 
+ 00021636  0x00005375 rtn 
+ 00021637  0x00005378 disable  0x00000010 
+ 00021638  0x00005379 fetch  0x00000002 , 0x0000436c 
+ 00021639  0x0000537a copy  0x0000003f , 0x0000000b 
+ 00021640  0x0000537b branch  0x0000548e 
+ 00021641  0x0000537f bpatchx  0x00000048 , 0x00004029 
+ 00021642  0x00005380 enable  0x00000010 
+ 00021643  0x00005381 fetch  0x00000002 , 0x0000044d 
+ 00021644  0x00005382 fetcht  0x00000004 , 0x000044e5 
+ 00021645  0x00005383 iadd  0x00000002 , 0x0000000b 
+ 00021646  0x00005385 call  0x000053de 
+ 00021647  0x00005387 bpatchx  0x00000049 , 0x00004029 
+ 00021648  0x00005388 call  0x000053d5 
+ 00021649  0x00005389 disable  0x0000002d 
+ 00021650  0x0000538a enable  0x0000000d 
+ 00021651  0x0000538b enable  0x00000021 
+ 00021652  0x0000538c disable  0x00000020 
+ 00021653  0x0000538d copy  0x0000000b , 0x0000001b 
+ 00021654  0x0000538e correlate  0x0000003e , 0x00000003 
+ 00021655  0x0000538f branch  0x0000549a , 0x0000002e 
+ 00021656  0x00005390 copy  0x0000001a , 0x00000002 
+ 00021657  0x00005391 storet  0x00000006 , 0x0000009a 
+ 00021658  0x00005393 nbranch  0x0000264d , 0x00000018 
+ 00021659  0x00005394 branch  0x000054a1 , 0x0000002e 
+ 00021660  0x00005395 arg  0x000001e0 , 0x00000029 
+ 00021661  0x00005396 copy  0x00000021 , 0x00000028 
+ 00021662  0x00005397 fetch  0x00000001 , 0x0000043f 
+ 00021663  0x00005398 bbit0  0x00000003 , 0x000054a1 
+ 00021664  0x00005399 call  0x00002b05 , 0x0000002b 
+ 00021665  0x0000539b bpatchx  0x0000004a , 0x00004029 
+ 00021666  0x0000539c call  0x000029bb 
+ 00021667  0x0000539d enable  0x00000007 
+ 00021668  0x0000539e enable  0x00000009 
+ 00021669  0x0000539f parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00021670  0x000053a0 rshift3  0x0000000c , 0x0000003f 
+ 00021671  0x000053a1 store  0x00000001 , 0x000002d9 
+ 00021672  0x000053a2 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00021673  0x000053a3 rshift3  0x0000000c , 0x0000003f 
+ 00021674  0x000053a4 istore  0x00000001 , 0x00000005 
+ 00021675  0x000053a5 and  0x0000003f , 0x0000003f , 0x00000039 
+ 00021676  0x000053a6 branch  0x000054b1 , 0x00000005 
+ 00021677  0x000053a9 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00021678  0x000053aa rshift3  0x0000000c , 0x0000003f 
+ 00021679  0x000053ab istore  0x00000001 , 0x00000005 
+ 00021680  0x000053ac loop  0x000054ad 
+ 00021681  0x000053af bpatchx  0x0000004b , 0x00004029 
+ 00021682  0x000053b0 parse  0x00000003 , 0x00000000 , 0x00000018 
+ 00021683  0x000053b1 enable  0x00000010 
+ 00021684  0x000053b2 arg  0x00000664 , 0x0000001b 
+ 00021685  0x000053b3 rshift32  0x0000003f , 0x0000003f 
+ 00021686  0x000053b4 rshift16  0x0000003f , 0x0000003f 
+ 00021687  0x000053b5 istore  0x00000003 , 0x00000005 
+ 00021688  0x000053b6 branch  0x0000264d , 0x00000006 
+ 00021689  0x000053b7 enable  0x0000002d 
+ 00021690  0x000053b8 fetch  0x00000001 , 0x00000017 
+ 00021691  0x000053b9 add  0x0000003f , 0x00000000 , 0x00000011 
+ 00021692  0x000053ba call  0x00002981 
+ 00021693  0x000053bb disable  0x0000000d 
+ 00021694  0x000053bc branch  0x00002918 
+ 00021695  0x000053bf bpatchx  0x0000004c , 0x00004029 
+ 00021696  0x000053c0 call  0x000054c9 
+ 00021697  0x000053c2 fetcht  0x00000001 , 0x00000017 
+ 00021698  0x000053c3 call  0x0000291f 
+ 00021699  0x000053c4 call  0x00002924 
+ 00021700  0x000053c5 enable  0x00000010 
+ 00021701  0x000053c6 arg  0x0000157c , 0x0000000b 
+ 00021702  0x000053c7 branch  0x0000548f 
+ 00021703  0x000053ca call  0x000054c9 
+ 00021704  0x000053cb branch  0x0000264d 
+ 00021705  0x000053ce bpatchx  0x0000004d , 0x00004029 
+ 00021706  0x000053cf call  0x000053d5 
+ 00021707  0x000053d0 call  0x000053e3 
+ 00021708  0x000053d1 branch  0x000054cd 
+ 00021709  0x000053d4 set1  0x00000000 , 0x00000015 
+ 00021710  0x000053d5 enable  0x0000001d 
+ 00021711  0x000053d6 enable  0x00000020 
+ 00021712  0x000053d7 disable  0x00000021 
+ 00021713  0x000053d8 call  0x0000547f 
+ 00021714  0x000053d9 rshift16  0x00000009 , 0x0000003f 
+ 00021715  0x000053da rshift8  0x0000003f , 0x0000003f 
+ 00021716  0x000053db rshift4  0x0000003f , 0x0000003f 
+ 00021717  0x000053dc inject  0x00000003 , 0x00000028 
+ 00021718  0x000053dd enable  0x00000007 
+ 00021719  0x000053de enable  0x00000009 
+ 00021720  0x000053df bpatchx  0x0000004e , 0x00004029 
+ 00021721  0x000053e0 fetch  0x00000001 , 0x000043dc 
+ 00021722  0x000053e1 inject  0x00000003 , 0x00000008 
+ 00021723  0x000053e2 ifetch  0x00000001 , 0x00000006 
+ 00021724  0x000053e3 and  0x0000003f , 0x0000003f , 0x00000039 
+ 00021725  0x000053e4 inject  0x00000003 , 0x00000008 
+ 00021726  0x000053e5 branch  0x000054e2 , 0x00000005 
+ 00021727  0x000053e7 ifetch  0x00000001 , 0x00000006 
+ 00021728  0x000053e8 inject  0x00000003 , 0x00000008 
+ 00021729  0x000053e9 loop  0x000054df 
+ 00021730  0x000053ec enable  0x00000008 
+ 00021731  0x000053ed inject  0x00000003 , 0x00000018 
+ 00021732  0x000053ee disable  0x00000008 
+ 00021733  0x000053ef until  0x0000003e , 0x00000027 
+ 00021734  0x000053f0 nop  0x00000064 
+ 00021735  0x000053f1 disable  0x0000001d 
+ 00021736  0x000053f2 rtn 
+ 00021737  0x000053f5 bpatchx  0x0000004f , 0x00004029 
+ 00021738  0x000053f6 fetch  0x00000001 , 0x00004484 
+ 00021739  0x000053f7 beq  0x00000001 , 0x000054f9 
+ 00021740  0x000053f8 fetch  0x00000001 , 0x00004485 
+ 00021741  0x000053f9 lshift4  0x0000003f , 0x0000003f 
+ 00021742  0x000053fa lshift2  0x0000003f , 0x0000003f 
+ 00021743  0x000053fb store  0x00000001 , 0x000043dc 
+ 00021744  0x000053fc fetcht  0x00000001 , 0x0000436f 
+ 00021745  0x000053fd add  0x00000002 , 0x00000006 , 0x0000003f 
+ 00021746  0x000053fe store  0x00000001 , 0x000043dd 
+ 00021747  0x000053ff fetch  0x00000006 , 0x000044a0 
+ 00021748  0x00005400 store  0x00000006 , 0x000043de 
+ 00021749  0x00005401 copy  0x00000002 , 0x00000039 
+ 00021750  0x00005402 arg  0x00004370 , 0x00000006 
+ 00021751  0x00005403 call  0x00007ef4 
+ 00021752  0x00005404 branch  0x00005504 
+ 00021753  0x00005406 fetch  0x00000001 , 0x00004486 
+ 00021754  0x00005407 lshift4  0x0000003f , 0x0000003f 
+ 00021755  0x00005408 lshift2  0x0000003f , 0x0000003f 
+ 00021756  0x00005409 increase  0x00000001 , 0x0000003f 
+ 00021757  0x0000540a store  0x00000001 , 0x000043dc 
+ 00021758  0x0000540b setarg  0x0000000c 
+ 00021759  0x0000540c store  0x00000001 , 0x000043dd 
+ 00021760  0x0000540d fetch  0x00000006 , 0x000044a0 
+ 00021761  0x0000540e store  0x00000006 , 0x000043de 
+ 00021762  0x0000540f fetch  0x00000006 , 0x000041d0 
+ 00021763  0x00005410 istore  0x00000006 , 0x00000005 
+ 00021764  0x00005412 bpatchx  0x00000050 , 0x0000402a 
+ 00021765  0x00005413 fetch  0x00000001 , 0x00000000 
+ 00021766  0x00005414 increase  0x00000001 , 0x0000003f 
+ 00021767  0x00005415 store  0x00000001 , 0x00000000 
+ 00021768  0x00005416 arg  0x00000708 , 0x0000001b 
+ 00021769  0x00005417 disable  0x0000002d 
+ 00021770  0x00005418 branch  0x000054bf 
+ 00021771  0x0000541b bpatchx  0x00000051 , 0x0000402a 
+ 00021772  0x0000541c fetch  0x00000001 , 0x0000449e 
+ 00021773  0x0000541d rtnne  0x00000001 
+ 00021774  0x0000541e fetch  0x00000001 , 0x00000000 
+ 00021775  0x0000541f increase  0x00000001 , 0x0000003f 
+ 00021776  0x00005420 store  0x00000001 , 0x00000000 
+ 00021777  0x00005421 arg  0x00000c03 , 0x00000002 
+ 00021778  0x00005422 fetch  0x00000001 , 0x0000449f 
+ 00021779  0x00005423 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00021780  0x00005424 copy  0x00000011 , 0x0000003f 
+ 00021781  0x00005425 nsetflag  0x00000034 , 0x00000007 , 0x00000002 
+ 00021782  0x00005426 storet  0x00000002 , 0x000043dc 
+ 00021783  0x00005427 fetch  0x00000006 , 0x000044a0 
+ 00021784  0x00005428 istore  0x00000006 , 0x00000005 
+ 00021785  0x00005429 fetch  0x00000006 , 0x0000044f 
+ 00021786  0x0000542a istore  0x00000006 , 0x00000005 
+ 00021787  0x0000542b branch  0x000054bf 
+ 00021788  0x0000542f bpatchx  0x00000052 , 0x0000402a 
+ 00021789  0x00005430 arg  0x00000004 , 0x00000002 
+ 00021790  0x00005431 fetch  0x00000001 , 0x00004485 
+ 00021791  0x00005432 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00021792  0x00005433 storet  0x00000001 , 0x000043dc 
+ 00021793  0x00005434 fetcht  0x00000001 , 0x0000438f 
+ 00021794  0x00005435 add  0x00000002 , 0x00000006 , 0x0000003f 
+ 00021795  0x00005436 store  0x00000001 , 0x000043dd 
+ 00021796  0x00005437 fetch  0x00000006 , 0x000044a0 
+ 00021797  0x00005438 store  0x00000006 , 0x000043de 
+ 00021798  0x00005439 arg  0x00004390 , 0x00000006 
+ 00021799  0x0000543a copy  0x00000002 , 0x00000039 
+ 00021800  0x0000543b call  0x00007ef4 
+ 00021801  0x0000543c call  0x000054c7 
+ 00021802  0x0000543d branch  0x00005706 
+ 00021803  0x00005440 bpatchx  0x00000053 , 0x0000402a 
+ 00021804  0x00005441 force  0xffffffff , 0x0000003f 
+ 00021805  0x00005442 setsect  0x00000002 , 0x00000001 
+ 00021806  0x00005443 store  0x00000005 , 0x0000046f 
+ 00021807  0x00005444 call  0x0000545b 
+ 00021808  0x00005445 force  0x00000004 , 0x00000039 
+ 00021809  0x00005446 arg  0x00000463 , 0x00000005 
+ 00021810  0x00005447 call  0x0000630d 
+ 00021811  0x00005448 fetch  0x00000002 , 0x0000449c 
+ 00021812  0x00005449 store  0x00000002 , 0x0000046d 
+ 00021813  0x0000544b random  0x0000003f 
+ 00021814  0x0000544c and_into  0x0000000f , 0x0000003f 
+ 00021815  0x0000544d sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00021816  0x0000544e branch  0x00005535 , 0x00000002 
+ 00021817  0x0000544f store  0x00000001 , 0x00000458 
+ 00021818  0x00005450 store  0x00000001 , 0x000006e6 
+ 00021819  0x00005451 bpatchx  0x00000054 , 0x0000402a 
+ 00021820  0x00005452 fetcht  0x00000002 , 0x00004367 
+ 00021821  0x00005453 storet  0x00000002 , 0x00000441 
+ 00021822  0x00005454 copy  0x00000002 , 0x00000013 
+ 00021823  0x00005455 add  0x00000022 , 0x00000007 , 0x0000003f 
+ 00021824  0x00005456 idiv  0x00000013 
+ 00021825  0x00005457 call  0x00007f86 
+ 00021826  0x00005458 remainder  0x00000011 
+ 00021827  0x00005459 isub  0x00000011 , 0x0000003f 
+ 00021828  0x0000545a iadd  0x00000013 , 0x0000003f 
+ 00021829  0x0000545b fetcht  0x00000002 , 0x00004365 
+ 00021830  0x0000545c iadd  0x00000002 , 0x0000003f 
+ 00021831  0x0000545d store  0x00000004 , 0x00000443 
+ 00021832  0x0000545e isub  0x00000022 , 0x00000011 
+ 00021833  0x0000545f increase  0xfffffffa , 0x00000011 
+ 00021834  0x00005460 arg  0x00002205 , 0x00000012 
+ 00021835  0x00005461 fetch  0x00000001 , 0x00004495 
+ 00021836  0x00005462 nsetflag  0x00000034 , 0x00000006 , 0x00000012 
+ 00021837  0x00005463 fetch  0x00000001 , 0x0000448e 
+ 00021838  0x00005464 nsetflag  0x00000034 , 0x00000007 , 0x00000012 
+ 00021839  0x00005465 copy  0x00000012 , 0x0000003f 
+ 00021840  0x00005466 store  0x00000002 , 0x000043dc 
+ 00021841  0x00005467 fetch  0x00000006 , 0x000044a0 
+ 00021842  0x00005468 istore  0x00000006 , 0x00000005 
+ 00021843  0x00005469 fetch  0x00000006 , 0x0000044f 
+ 00021844  0x0000546a istore  0x00000006 , 0x00000005 
+ 00021845  0x0000546b fetch  0x00000004 , 0x00000463 
+ 00021846  0x0000546c istore  0x00000004 , 0x00000005 
+ 00021847  0x0000546d random  0x0000003f 
+ 00021848  0x0000546e istore  0x00000002 , 0x00000005 
+ 00021849  0x0000546f random  0x0000003f 
+ 00021850  0x00005470 istore  0x00000001 , 0x00000005 
+ 00021851  0x00005471 force  0x00000002 , 0x0000003f 
+ 00021852  0x00005472 istore  0x00000001 , 0x00000005 
+ 00021853  0x00005473 rshift2  0x00000011 , 0x0000003f 
+ 00021854  0x00005474 istore  0x00000002 , 0x00000005 
+ 00021855  0x00005475 rshift2  0x00000013 , 0x0000003f 
+ 00021856  0x00005476 istore  0x00000002 , 0x00000005 
+ 00021857  0x00005477 bpatchx  0x00000055 , 0x0000402a 
+ 00021858  0x00005478 setarg  0x00000000 
+ 00021859  0x00005479 istore  0x00000002 , 0x00000005 
+ 00021860  0x0000547a fetch  0x00000002 , 0x0000449c 
+ 00021861  0x0000547b istore  0x00000002 , 0x00000005 
+ 00021862  0x0000547c fetch  0x00000005 , 0x0000046f 
+ 00021863  0x0000547d istore  0x00000005 , 0x00000005 
+ 00021864  0x0000547e fetch  0x00000001 , 0x00000458 
+ 00021865  0x0000547f arg  0x000000a0 , 0x00000002 
+ 00021866  0x00005480 ior  0x00000002 , 0x0000003f 
+ 00021867  0x00005481 istore  0x00000001 , 0x00000005 
+ 00021868  0x00005482 call  0x000054c7 
+ 00021869  0x00005483 setarg  0x000043dc 
+ 00021870  0x00005484 add  0x0000003f , 0x00000012 , 0x00000006 
+ 00021871  0x00005485 ifetch  0x00000003 , 0x00000006 
+ 00021872  0x00005486 store  0x00000003 , 0x00000467 
+ 00021873  0x00005487 rtn 
+ 00021874  0x0000548a bpatchx  0x00000056 , 0x0000402a 
+ 00021875  0x0000548b disable  0x00000029 
+ 00021876  0x0000548c branch  0x0000540c 
+ 00021877  0x00005491 fetch  0x00000001 , 0x0000043f 
+ 00021878  0x00005492 rtnbit0  0x00000005 
+ 00021879  0x00005493 fetch  0x00000002 , 0x00000459 
+ 00021880  0x00005494 fetcht  0x00000002 , 0x0000045f 
+ 00021881  0x00005495 isub  0x00000002 , 0x0000003f 
+ 00021882  0x00005496 nrtn  0x00000002 
+ 00021883  0x00005497 store  0x00000002 , 0x00000a9a 
+ 00021884  0x00005498 bpatchx  0x00000057 , 0x0000402a 
+ 00021885  0x00005499 fetch  0x00000001 , 0x0000043f 
+ 00021886  0x0000549a set0  0x00000005 , 0x0000003f 
+ 00021887  0x0000549b set0  0x00000003 , 0x0000003f 
+ 00021888  0x0000549c store  0x00000001 , 0x0000043f 
+ 00021889  0x0000549d fetch  0x00000004 , 0x00000443 
+ 00021890  0x0000549e fetcht  0x00000002 , 0x00000441 
+ 00021891  0x0000549f storet  0x00000002 , 0x00000aa2 
+ 00021892  0x000054a0 isub  0x00000002 , 0x00000011 
+ 00021893  0x000054a1 bpatchx  0x00000058 , 0x0000402b 
+ 00021894  0x000054a2 fetch  0x00000001 , 0x000043d3 
+ 00021895  0x000054a3 store  0x00000001 , 0x0000046a 
+ 00021896  0x000054a4 ifetcht  0x00000002 , 0x00000006 
+ 00021897  0x000054a5 ifetch  0x00000002 , 0x00000006 
+ 00021898  0x000054a6 lshift2  0x0000003f , 0x0000003f 
+ 00021899  0x000054a7 store  0x00000002 , 0x00000441 
+ 00021900  0x000054a8 lshift2  0x00000002 , 0x00000002 
+ 00021901  0x000054a9 iadd  0x00000002 , 0x0000003f 
+ 00021902  0x000054aa ifetcht  0x00000004 , 0x00000006 
+ 00021903  0x000054ab storet  0x00000004 , 0x0000046b 
+ 00021904  0x000054ac iadd  0x00000011 , 0x0000003f 
+ 00021905  0x000054ad copy  0x0000003f , 0x00000014 
+ 00021906  0x000054ae fetch  0x00000002 , 0x00000441 
+ 00021907  0x000054af fetcht  0x00000002 , 0x00000aa2 
+ 00021908  0x000054b0 isub  0x00000002 , 0x0000003f 
+ 00021909  0x000054b1 fetcht  0x00000002 , 0x00000a9a 
+ 00021910  0x000054b2 imul32  0x00000002 , 0x0000003f 
+ 00021911  0x000054b3 iadd  0x00000014 , 0x0000003f 
+ 00021912  0x000054b4 store  0x00000004 , 0x00000443 
+ 00021913  0x000054b5 call  0x00005713 
+ 00021914  0x000054b6 fetch  0x00000002 , 0x0000046d 
+ 00021915  0x000054b7 store  0x00000002 , 0x000044ba 
+ 00021916  0x000054b8 rtn 
+ 00021917  0x000054bc bpatchx  0x00000059 , 0x0000402b 
+ 00021918  0x000054bd fetch  0x00000001 , 0x0000043f 
+ 00021919  0x000054be rtnbit0  0x00000006 
+ 00021920  0x000054bf fetch  0x00000002 , 0x00000459 
+ 00021921  0x000054c0 fetcht  0x00000002 , 0x0000045f 
+ 00021922  0x000054c1 isub  0x00000002 , 0x0000003f 
+ 00021923  0x000054c2 nrtn  0x00000002 
+ 00021924  0x000054c3 fetch  0x00000001 , 0x0000043f 
+ 00021925  0x000054c4 set0  0x00000006 , 0x0000003f 
+ 00021926  0x000054c5 store  0x00000001 , 0x0000043f 
+ 00021927  0x000054c6 fetch  0x00000005 , 0x000043ce 
+ 00021928  0x000054c7 store  0x00000005 , 0x0000046f 
+ 00021929  0x000054c8 branch  0x0000545b 
+ 00021930  0x000054cc bpatchx  0x0000005a , 0x0000402b 
+ 00021931  0x000054cd call  0x000056ed 
+ 00021932  0x000054ce call  0x000055c0 
+ 00021933  0x000054cf fetch  0x00000001 , 0x000002d9 
+ 00021934  0x000054d0 isolate1  0x00000004 , 0x0000003f 
+ 00021935  0x000054d1 setflag  0x00000001 , 0x0000002a , 0x00000000 
+ 00021936  0x000054d2 rshift  0x0000003f , 0x0000003f 
+ 00021937  0x000054d3 ixor  0x00000002 , 0x0000003f 
+ 00021938  0x000054d4 isolate1  0x00000002 , 0x0000003f 
+ 00021939  0x000054d5 setflag  0x00000001 , 0x0000000f , 0x00000000 
+ 00021940  0x000054d6 rtnmark1  0x0000000f 
+ 00021941  0x000054d7 fetch  0x00000001 , 0x000002da 
+ 00021942  0x000054d8 branch  0x000055bc , 0x00000034 
+ 00021943  0x000054d9 fetch  0x00000001 , 0x0000043f 
+ 00021944  0x000054da bbit0  0x00000004 , 0x000055bc 
+ 00021945  0x000054db call  0x0000748d 
+ 00021946  0x000054dc call  0x000073fb 
+ 00021947  0x000054dd nrtn  0x00000034 
+ 00021948  0x000054df fetcht  0x00000001 , 0x00000456 
+ 00021949  0x000054e0 setflip  0x00000002 , 0x00000002 
+ 00021950  0x000054e1 storet  0x00000001 , 0x00000456 
+ 00021951  0x000054e2 rtn 
+ 00021952  0x000054e6 bpatchx  0x0000005b , 0x0000402b 
+ 00021953  0x000054e7 fetcht  0x00000001 , 0x00000456 
+ 00021954  0x000054e8 isolate0  0x00000005 , 0x00000002 
+ 00021955  0x000054e9 rtn  0x00000001 
+ 00021956  0x000054ea fetch  0x00000001 , 0x000002d9 
+ 00021957  0x000054eb lshift  0x0000003f , 0x0000003f 
+ 00021958  0x000054ec ixor  0x00000002 , 0x0000003f 
+ 00021959  0x000054ed rtnbit0  0x00000003 
+ 00021960  0x000054ee set0  0x00000005 , 0x00000002 
+ 00021961  0x000054ef setflip  0x00000003 , 0x00000002 
+ 00021962  0x000054f0 storet  0x00000001 , 0x00000456 
+ 00021963  0x000054f1 compare  0x00000003 , 0x00000002 , 0x00000003 
+ 00021964  0x000054f2 nrtn  0x00000001 
+ 00021965  0x000054f3 fetch  0x00000001 , 0x000043de 
+ 00021966  0x000054f4 beq  0x00000005 , 0x000055d2 
+ 00021967  0x000054f5 fetch  0x00000001 , 0x000044c5 
+ 00021968  0x000054f6 beq  0x00000002 , 0x000055d6 
+ 00021969  0x000054f7 rtn 
+ 00021970  0x000054fb fetch  0x00000001 , 0x0000043f 
+ 00021971  0x000054fc set1  0x00000004 , 0x0000003f 
+ 00021972  0x000054fd store  0x00000001 , 0x0000043f 
+ 00021973  0x000054fe rtn 
+ 00021974  0x00005501 bpatchx  0x0000005c , 0x0000402b 
+ 00021975  0x00005502 jam  0x00000000 , 0x000044c5 
+ 00021976  0x00005503 arg  0x00000000 , 0x0000003f 
+ 00021977  0x00005504 store  0x00000004 , 0x0000440d 
+ 00021978  0x00005505 store  0x00000005 , 0x00004403 
+ 00021979  0x00005506 set1  0x00000027 , 0x0000003f 
+ 00021980  0x00005507 store  0x00000005 , 0x00004408 
+ 00021981  0x00005508 fetch  0x00000001 , 0x0000043f 
+ 00021982  0x00005509 set0  0x00000004 , 0x0000003f 
+ 00021983  0x0000550a store  0x00000001 , 0x0000043f 
+ 00021984  0x0000550b rtn 
+ 00021985  0x0000550f bpatchx  0x0000005d , 0x0000402b 
+ 00021986  0x00005510 call  0x00005422 
+ 00021987  0x00005511 call  0x00005485 
+ 00021988  0x00005512 fetch  0x00000001 , 0x00000001 
+ 00021989  0x00005513 increase  0x00000001 , 0x0000003f 
+ 00021990  0x00005514 store  0x00000001 , 0x00000001 
+ 00021991  0x00005515 rtn 
+ 00021992  0x00005519 bpatchx  0x0000005e , 0x0000402b 
+ 00021993  0x0000551a fetch  0x00000001 , 0x00004369 
+ 00021994  0x0000551b rtnne  0x00000001 
+ 00021995  0x0000551c arg  0x00000002 , 0x00000007 
+ 00021996  0x0000551d call  0x00007f16 
+ 00021997  0x0000551e nrtn  0x00000034 
+ 00021998  0x0000551f fetch  0x00000002 , 0x0000436a 
+ 00021999  0x00005520 fetcht  0x00000002 , 0x0000436c 
+ 00022000  0x00005521 isub  0x00000002 , 0x0000003f 
+ 00022001  0x00005522 arg  0x00000002 , 0x00000007 
+ 00022002  0x00005523 call  0x00007f08 
+ 00022003  0x00005524 disable  0x00000029 
+ 00022004  0x00005525 call  0x00005572 
+ 00022005  0x00005526 call  0x000055e1 
+ 00022006  0x00005527 nrtn  0x0000002d 
+ 00022007  0x00005528 bpatchx  0x0000005f , 0x0000402b 
+ 00022008  0x00005529 fetch  0x00000006 , 0x000002db 
+ 00022009  0x0000552a store  0x00000006 , 0x0000044f 
+ 00022010  0x0000552d fetch  0x00000001 , 0x00000002 
+ 00022011  0x0000552e increase  0x00000001 , 0x0000003f 
+ 00022012  0x0000552f store  0x00000001 , 0x00000002 
+ 00022013  0x00005530 call  0x00005608 
+ 00022014  0x00005531 rtn  0x00000029 
+ 00022015  0x00005532 call  0x0000550b 
+ 00022016  0x00005533 nrtn  0x0000002d 
+ 00022017  0x00005534 bpatchx  0x00000060 , 0x0000402c 
+ 00022018  0x00005535 fetch  0x00000001 , 0x00000004 
+ 00022019  0x00005536 increase  0x00000001 , 0x0000003f 
+ 00022020  0x00005537 store  0x00000001 , 0x00000004 
+ 00022021  0x00005538 fetch  0x00000009 , 0x000002e1 
+ 00022022  0x00005539 store  0x00000009 , 0x00000101 
+ 00022023  0x0000553a rtn 
+ 00022024  0x0000553d bpatchx  0x00000061 , 0x0000402c 
+ 00022025  0x0000553e fetch  0x00000001 , 0x0000049b 
+ 00022026  0x0000553f rtnne  0x0000001b 
+ 00022027  0x00005540 fetch  0x00000006 , 0x0000044f 
+ 00022028  0x00005541 fetcht  0x00000006 , 0x0000448f 
+ 00022029  0x00005542 isub  0x00000002 , 0x0000003e 
+ 00022030  0x00005543 nrtn  0x00000005 
+ 00022031  0x00005544 call  0x0000223b 
+ 00022032  0x00005545 nrtn  0x00000005 
+ 00022033  0x00005546 call  0x0000552b 
+ 00022034  0x00005547 call  0x00005340 
+ 00022035  0x00005548 bpatchx  0x00000062 , 0x0000402c 
+ 00022036  0x00005549 jam  0x00000000 , 0x000041ce 
+ 00022037  0x0000554a jam  0x00000000 , 0x00000476 
+ 00022038  0x0000554b jam  0x00000000 , 0x00004369 
+ 00022039  0x0000554c jam  0x00000000 , 0x0000049b 
+ 00022040  0x0000554d branch  0x00002223 
+ 00022041  0x00005550 arg  0x00000001 , 0x00000011 
+ 00022042  0x00005551 fetch  0x00000001 , 0x000002d9 
+ 00022043  0x00005552 rtnbit1  0x00000006 
+ 00022044  0x00005553 arg  0x00000000 , 0x00000011 
+ 00022045  0x00005554 rtn 
+ 00022046  0x00005559 bpatchx  0x00000063 , 0x0000402c 
+ 00022047  0x0000555a fetch  0x00000001 , 0x00000456 
+ 00022048  0x0000555b rtnbit1  0x00000005 
+ 00022049  0x0000555c call  0x00005642 
+ 00022050  0x0000555d call  0x00005873 
+ 00022051  0x0000555e branch  0x00005664 , 0x00000034 
+ 00022052  0x0000555f ifetch  0x00000001 , 0x00000006 
+ 00022053  0x00005560 ifetcht  0x00000001 , 0x00000006 
+ 00022054  0x00005561 copy  0x00000002 , 0x00000011 
+ 00022055  0x00005562 isub  0x00000011 , 0x0000003f 
+ 00022056  0x00005563 arg  0x0000001b , 0x00000002 
+ 00022057  0x00005564 call  0x00007fdd 
+ 00022058  0x00005565 copy  0x0000003f , 0x00000002 
+ 00022059  0x00005566 ifetch  0x00000001 , 0x00000006 
+ 00022060  0x00005567 copy  0x0000003f , 0x00000001 
+ 00022061  0x00005568 copy  0x00000011 , 0x0000003f 
+ 00022062  0x00005569 iadd  0x00000006 , 0x00000006 
+ 00022063  0x0000556a arg  0x000043de , 0x00000005 
+ 00022064  0x0000556b copy  0x00000002 , 0x00000039 
+ 00022065  0x0000556c call  0x00007f01 
+ 00022066  0x0000556d call  0x00005654 
+ 00022067  0x0000556e call  0x00005666 
+ 00022068  0x00005570 call  0x00005873 
+ 00022069  0x00005571 ifetch  0x00000001 , 0x00000006 
+ 00022070  0x00005572 copy  0x0000003f , 0x00000011 
+ 00022071  0x00005573 copy  0x00000006 , 0x00000013 
+ 00022072  0x00005574 ifetcht  0x00000001 , 0x00000006 
+ 00022073  0x00005575 copy  0x00000002 , 0x00000012 
+ 00022074  0x00005576 isub  0x00000012 , 0x0000003f 
+ 00022075  0x00005577 arg  0x0000001b , 0x00000002 
+ 00022076  0x00005578 call  0x00007fdd 
+ 00022077  0x00005579 iadd  0x00000012 , 0x0000003f 
+ 00022078  0x0000557a istore  0x00000001 , 0x00000013 
+ 00022079  0x0000557b isub  0x00000011 , 0x0000003e 
+ 00022080  0x0000557c nrtn  0x00000005 
+ 00022081  0x0000557d branch  0x00005896 
+ 00022082  0x00005581 call  0x00005649 
+ 00022083  0x00005582 rtnmark1  0x00000029 
+ 00022084  0x00005583 fetch  0x00000001 , 0x000044e9 
+ 00022085  0x00005584 bbit0  0x00000002 , 0x00005652 
+ 00022086  0x00005585 call  0x00005876 
+ 00022087  0x00005586 branch  0x00005652 , 0x00000034 
+ 00022088  0x00005587 branch  0x00005650 
+ 00022089  0x0000558b call  0x00005873 
+ 00022090  0x0000558c branch  0x00005652 , 0x00000034 
+ 00022091  0x0000558d ifetch  0x00000001 , 0x00000006 
+ 00022092  0x0000558e ifetcht  0x00000001 , 0x00000006 
+ 00022093  0x0000558f isub  0x00000002 , 0x0000003f 
+ 00022094  0x00005590 sub  0x0000003f , 0x0000001b , 0x0000003e 
+ 00022095  0x00005591 branch  0x00005652 , 0x00000002 
+ 00022096  0x00005593 set1  0x00000029 , 0x00000000 
+ 00022097  0x00005594 rtn 
+ 00022098  0x00005597 set0  0x00000029 , 0x00000000 
+ 00022099  0x00005598 rtn 
+ 00022100  0x0000559b copy  0x00000011 , 0x0000003f 
+ 00022101  0x0000559c rtn  0x00000034 
+ 00022102  0x0000559d arg  0x00000001 , 0x00000001 
+ 00022103  0x0000559e rtn 
+ 00022104  0x000055a2 bpatchx  0x00000064 , 0x0000402c 
+ 00022105  0x000055a3 increase  0x00000001 , 0x00000002 
+ 00022106  0x000055a4 call  0x0000576a 
+ 00022107  0x000055a5 increase  0xfffffffe , 0x00000006 
+ 00022108  0x000055a6 ifetch  0x00000002 , 0x00000006 
+ 00022109  0x000055a7 arg  0x00002902 , 0x00000002 
+ 00022110  0x000055a8 isub  0x00000002 , 0x0000003e 
+ 00022111  0x000055a9 nrtn  0x00000005 
+ 00022112  0x000055aa increase  0x00000001 , 0x00000006 
+ 00022113  0x000055ab copy  0x00000006 , 0x00000011 
+ 00022114  0x000055ac ifetch  0x00000001 , 0x00000006 
+ 00022115  0x000055ad rtn 
+ 00022116  0x000055b1 force  0x00000000 , 0x00000002 
+ 00022117  0x000055b2 force  0x00000001 , 0x00000001 
+ 00022118  0x000055b5 bpatchx  0x00000065 , 0x0000402c 
+ 00022119  0x000055b6 storet  0x00000001 , 0x000043dd 
+ 00022120  0x000055b7 fetcht  0x00000001 , 0x00000456 
+ 00022121  0x000055b8 set1  0x00000005 , 0x00000002 
+ 00022122  0x000055b9 and  0x00000002 , 0x000000fc , 0x0000003f 
+ 00022123  0x000055ba ior  0x00000001 , 0x0000003f 
+ 00022124  0x000055bb store  0x00000001 , 0x00000456 
+ 00022125  0x000055bc and_into  0x0000001f , 0x0000003f 
+ 00022126  0x000055bd isolate1  0x00000029 , 0x00000000 
+ 00022127  0x000055be setflag  0x00000001 , 0x00000004 , 0x0000003f 
+ 00022128  0x000055bf store  0x00000001 , 0x000043dc 
+ 00022129  0x000055c1 fetch  0x00000001 , 0x000043dc 
+ 00022130  0x000055c2 compare  0x00000001 , 0x00000001 , 0x00000003 
+ 00022131  0x000055c3 nbranch  0x00005676 , 0x00000001 
+ 00022132  0x000055c4 fetch  0x00000001 , 0x000043dd 
+ 00022133  0x000055c5 rtn  0x00000034 
+ 00022134  0x000055c7 fetch  0x00000001 , 0x0000043f 
+ 00022135  0x000055c8 rtnbit0  0x00000004 
+ 00022136  0x000055c9 call  0x0000748d 
+ 00022137  0x000055ca branch  0x000073e3 
+ 00022138  0x000055ce arg  0x00000000 , 0x00000007 
+ 00022139  0x000055cf branch  0x00002c32 
+ 00022140  0x000055d2 arg  0x00000000 , 0x00000007 
+ 00022141  0x000055d3 branch  0x00002c36 
+ 00022142  0x000055d7 bpatchx  0x00000066 , 0x0000402c 
+ 00022143  0x000055d8 rtnmark1  0x0000000f 
+ 00022144  0x000055d9 call  0x00005890 
+ 00022145  0x000055da nrtn  0x00000034 
+ 00022146  0x000055db fetch  0x00000001 , 0x000002d9 
+ 00022147  0x000055dc and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00022148  0x000055dd store  0x00000001 , 0x0000450c 
+ 00022149  0x000055de ifetch  0x00000001 , 0x00000006 
+ 00022150  0x000055df and  0x0000003f , 0x0000001f , 0x0000003f 
+ 00022151  0x000055e0 store  0x00000001 , 0x0000450b 
+ 00022152  0x000055e1 rtn  0x00000034 
+ 00022153  0x000055e2 copy  0x00000006 , 0x0000003f 
+ 00022154  0x000055e3 store  0x00000002 , 0x0000450d 
+ 00022155  0x000055e4 fetch  0x00000001 , 0x0000450c 
+ 00022156  0x000055e5 beq  0x00000003 , 0x00005c64 
+ 00022157  0x000055e7 call  0x0000569a 
+ 00022158  0x000055e8 nbranch  0x0000567a , 0x00000028 
+ 00022159  0x000055e9 call  0x0000567c 
+ 00022160  0x000055ea fetch  0x00000002 , 0x0000450d 
+ 00022161  0x000055eb copy  0x0000003f , 0x00000006 
+ 00022162  0x000055ec ifetch  0x00000002 , 0x00000006 
+ 00022163  0x000055ed store  0x00000002 , 0x000044fc 
+ 00022164  0x000055ee bpatchx  0x00000067 , 0x0000402c 
+ 00022165  0x000055ef ifetch  0x00000002 , 0x00000006 
+ 00022166  0x000055f0 beq  0x00000004 , 0x000058ab 
+ 00022167  0x000055f1 beq  0x00000006 , 0x00005af4 
+ 00022168  0x000055f2 beq  0x00000005 , 0x00005ab6 
+ 00022169  0x000055f3 rtn 
+ 00022170  0x000055f7 fetch  0x00000001 , 0x0000450c 
+ 00022171  0x000055f8 beq  0x00000002 , 0x000056a9 
+ 00022172  0x000055f9 beq  0x00000001 , 0x000056c1 
+ 00022173  0x000055fa rtn 
+ 00022174  0x00005600 call  0x00007fe7 
+ 00022175  0x00005601 arg  0x00000004 , 0x00000002 
+ 00022176  0x00005602 isub  0x0000003f , 0x0000003e 
+ 00022177  0x00005603 rtn  0x00000005 
+ 00022178  0x00005604 arg  0x00000005 , 0x00000002 
+ 00022179  0x00005605 isub  0x0000003f , 0x0000003e 
+ 00022180  0x00005606 rtn  0x00000005 
+ 00022181  0x00005607 arg  0x00000006 , 0x00000002 
+ 00022182  0x00005608 isub  0x0000003f , 0x0000003e 
+ 00022183  0x00005609 rtn  0x00000005 
+ 00022184  0x0000560a branch  0x00007fe9 
+ 00022185  0x0000560e fetch  0x00000002 , 0x0000450d 
+ 00022186  0x0000560f copy  0x0000003f , 0x00000006 
+ 00022187  0x00005610 ifetch  0x00000002 , 0x00000006 
+ 00022188  0x00005611 store  0x00000002 , 0x000044fc 
+ 00022189  0x00005612 ifetch  0x00000002 , 0x00000006 
+ 00022190  0x00005613 call  0x0000569e 
+ 00022191  0x00005614 nrtn  0x00000028 
+ 00022192  0x00005615 fetcht  0x00000001 , 0x0000450b 
+ 00022193  0x00005616 storet  0x00000001 , 0x000044fe 
+ 00022194  0x00005617 fetch  0x00000002 , 0x000044fc 
+ 00022195  0x00005618 increase  0x00000004 , 0x0000003f 
+ 00022196  0x00005619 isub  0x00000002 , 0x0000003e 
+ 00022197  0x0000561a branch  0x00007fe7 , 0x00000005 
+ 00022198  0x0000561b fetch  0x00000001 , 0x0000450b 
+ 00022199  0x0000561c copy  0x0000003f , 0x00000039 
+ 00022200  0x0000561d arg  0x00000311 , 0x00000005 
+ 00022201  0x0000561e fetch  0x00000002 , 0x0000450d 
+ 00022202  0x0000561f copy  0x0000003f , 0x00000006 
+ 00022203  0x00005620 call  0x00007f01 
+ 00022204  0x00005621 branch  0x00007fe9 
+ 00022205  0x00005627 call  0x00007fe7 
+ 00022206  0x00005628 fetch  0x00000001 , 0x000044fe 
+ 00022207  0x00005629 nrtn  0x00000034 
+ 00022208  0x0000562a branch  0x00007fe9 
+ 00022209  0x0000562d call  0x000056bd 
+ 00022210  0x0000562e nrtn  0x00000028 
+ 00022211  0x0000562f fetch  0x00000001 , 0x000044fe 
+ 00022212  0x00005630 arg  0x00000311 , 0x00000005 
+ 00022213  0x00005631 iadd  0x00000005 , 0x00000011 
+ 00022214  0x00005632 fetcht  0x00000001 , 0x0000450b 
+ 00022215  0x00005633 iadd  0x00000002 , 0x0000003f 
+ 00022216  0x00005634 store  0x00000001 , 0x000044fe 
+ 00022217  0x00005635 fetch  0x00000001 , 0x0000450b 
+ 00022218  0x00005636 copy  0x0000003f , 0x00000039 
+ 00022219  0x00005637 copy  0x00000011 , 0x00000005 
+ 00022220  0x00005638 fetch  0x00000002 , 0x0000450d 
+ 00022221  0x00005639 copy  0x0000003f , 0x00000006 
+ 00022222  0x0000563a call  0x00007ef4 
+ 00022223  0x0000563b setarg  0x00000311 
+ 00022224  0x0000563c store  0x00000002 , 0x0000450d 
+ 00022225  0x0000563d fetch  0x00000002 , 0x000044fc 
+ 00022226  0x0000563e increase  0x00000004 , 0x0000003f 
+ 00022227  0x0000563f fetcht  0x00000001 , 0x000044fe 
+ 00022228  0x00005640 isub  0x00000002 , 0x0000003e 
+ 00022229  0x00005641 branch  0x00007fe7 , 0x00000005 
+ 00022230  0x00005642 branch  0x00007fe9 
+ 00022231  0x00005649 call  0x00007ea5 
+ 00022232  0x0000564a arg  0x0000445e , 0x00000005 
+ 00022233  0x0000564c fetch  0x00000002 , 0x000044fc 
+ 00022234  0x0000564d increase  0xfffffffb , 0x0000003f 
+ 00022235  0x0000564f istore  0x00000001 , 0x00000005 
+ 00022236  0x00005650 copy  0x0000003f , 0x00000039 
+ 00022237  0x00005651 call  0x00007e9f 
+ 00022238  0x00005652 branch  0x00007ef4 
+ 00022239  0x00005655 call  0x00007ea5 
+ 00022240  0x00005656 arg  0x00004471 , 0x00000005 
+ 00022241  0x00005657 branch  0x000056d9 
+ 00022242  0x0000565c fetch  0x00000002 , 0x000041f9 
+ 00022243  0x0000565d branch  0x00007f9c 
+ 00022244  0x00005660 fetcht  0x00000004 , 0x0000045b 
+ 00022245  0x00005661 call  0x00002a7b 
+ 00022246  0x00005662 isub  0x00000002 , 0x0000000b 
+ 00022247  0x00005663 deposit  0x0000000b 
+ 00022248  0x00005664 fetcht  0x00000002 , 0x0000046d 
+ 00022249  0x00005665 lshift4  0x00000002 , 0x00000002 
+ 00022250  0x00005666 lshift  0x00000002 , 0x00000002 
+ 00022251  0x00005667 isub  0x00000002 , 0x0000003f 
+ 00022252  0x00005668 rtn 
+ 00022253  0x0000566b call  0x00002a7b 
+ 00022254  0x0000566c store  0x00000004 , 0x0000045b 
+ 00022255  0x0000566d rtn 
+ 00022256  0x00005671 jam  0x00000024 , 0x00000016 
+ 00022257  0x00005672 jam  0x00000000 , 0x00000ac2 
+ 00022258  0x00005674 bpatchx  0x00000068 , 0x0000402d 
+ 00022259  0x00005675 fetch  0x00000001 , 0x0000436e 
+ 00022260  0x00005676 rtn  0x00000034 
+ 00022261  0x00005677 arg  0x00000000 , 0x00000007 
+ 00022262  0x00005678 call  0x00007f16 
+ 00022263  0x00005679 nrtn  0x00000034 
+ 00022264  0x0000567a bpatchx  0x00000069 , 0x0000402d 
+ 00022265  0x0000567c disable  0x00000029 
+ 00022266  0x0000567d enable  0x00000010 
+ 00022267  0x0000567e call  0x00005572 
+ 00022268  0x0000567f call  0x00005422 
+ 00022269  0x00005680 call  0x000054e9 
+ 00022270  0x00005681 nbranch  0x00005706 , 0x0000002d 
+ 00022271  0x00005682 fetch  0x00000001 , 0x00000003 
+ 00022272  0x00005683 increase  0x00000001 , 0x0000003f 
+ 00022273  0x00005684 store  0x00000001 , 0x00000003 
+ 00022274  0x00005685 fetch  0x00000001 , 0x000002d9 
+ 00022275  0x00005686 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00022276  0x00005687 beq  0x00000003 , 0x0000551c 
+ 00022277  0x00005688 beq  0x00000005 , 0x00005728 
+ 00022278  0x0000568a bpatchx  0x0000006a , 0x0000402d 
+ 00022279  0x0000568b random  0x0000003f 
+ 00022280  0x0000568c arg  0x000001ff , 0x00000002 
+ 00022281  0x0000568d iand  0x00000002 , 0x0000003f 
+ 00022282  0x0000568e add  0x0000003f , 0x000000fa , 0x0000003f 
+ 00022283  0x0000568f call  0x00003cbe 
+ 00022284  0x00005690 fetch  0x00000001 , 0x00000ac2 
+ 00022285  0x00005691 fetcht  0x00000001 , 0x0000448d 
+ 00022286  0x00005692 isub  0x00000002 , 0x0000003e 
+ 00022287  0x00005693 nbranch  0x000056f2 , 0x00000005 
+ 00022288  0x00005694 arg  0x00000000 , 0x00000007 
+ 00022289  0x00005695 fetch  0x00000002 , 0x00004482 
+ 00022290  0x00005696 branch  0x00007f08 
+ 00022291  0x0000569a bpatchx  0x0000006b , 0x0000402d 
+ 00022292  0x0000569b fetch  0x00000001 , 0x00000476 
+ 00022293  0x0000569c call  0x000053fc 
+ 00022294  0x0000569d fetch  0x00000002 , 0x00000441 
+ 00022295  0x0000569e imul32  0x00000002 , 0x0000003f 
+ 00022296  0x0000569f arg  0x00000177 , 0x00000002 
+ 00022297  0x000056a0 imul32  0x00000002 , 0x0000003f 
+ 00022298  0x000056a1 arg  0x000186a0 , 0x00000002 
+ 00022299  0x000056a2 idiv  0x00000002 
+ 00022300  0x000056a3 fetch  0x00000001 , 0x0000046a 
+ 00022301  0x000056a4 arg  0x00004e20 , 0x00000002 
+ 00022302  0x000056a5 imul32  0x00000002 , 0x0000003f 
+ 00022303  0x000056a6 iadd  0x00000002 , 0x0000003f 
+ 00022304  0x000056a7 store  0x00000004 , 0x000044e5 
+ 00022305  0x000056a8 bpatchx  0x0000006c , 0x0000402d 
+ 00022306  0x000056a9 fetch  0x00000002 , 0x000040c1 
+ 00022307  0x000056aa call  0x00007f86 
+ 00022308  0x000056ab quotient  0x00000002 
+ 00022309  0x000056ac iadd  0x00000002 , 0x0000003f 
+ 00022310  0x000056ad store  0x00000002 , 0x0000044d 
+ 00022311  0x000056ae rtn 
+ 00022312  0x000056b1 bpatchx  0x0000006d , 0x0000402d 
+ 00022313  0x000056b2 fetch  0x00000006 , 0x000002e1 
+ 00022314  0x000056b3 fetcht  0x00000006 , 0x000044a0 
+ 00022315  0x000056b4 isub  0x00000002 , 0x0000003e 
+ 00022316  0x000056b5 nrtn  0x00000005 
+ 00022317  0x000056b6 call  0x00005619 
+ 00022318  0x000056b7 copy  0x00000011 , 0x0000003f 
+ 00022319  0x000056b8 store  0x00000001 , 0x0000448e 
+ 00022320  0x000056b9 fetch  0x00000007 , 0x000002ee 
+ 00022321  0x000056ba store  0x00000007 , 0x00000101 
+ 00022322  0x000056bb ifetch  0x00000008 , 0x00000006 
+ 00022323  0x000056bc istore  0x00000008 , 0x00000005 
+ 00022324  0x000056bd fetch  0x00000006 , 0x000002db 
+ 00022325  0x000056be store  0x00000006 , 0x0000044f 
+ 00022326  0x000056bf increase  0x00000006 , 0x00000006 
+ 00022327  0x000056c0 ifetch  0x00000008 , 0x00000006 
+ 00022328  0x000056c1 store  0x00000008 , 0x00000463 
+ 00022329  0x000056c2 ifetcht  0x00000002 , 0x00000006 
+ 00022330  0x000056c3 bpatchx  0x0000006e , 0x0000402d 
+ 00022331  0x000056c4 lshift2  0x00000002 , 0x00000002 
+ 00022332  0x000056c5 ifetch  0x00000002 , 0x00000006 
+ 00022333  0x000056c6 lshift2  0x0000003f , 0x0000003f 
+ 00022334  0x000056c7 store  0x00000002 , 0x00000441 
+ 00022335  0x000056c8 store  0x00000004 , 0x00000443 
+ 00022336  0x000056c9 isub  0x00000002 , 0x0000003f 
+ 00022337  0x000056ca add  0x0000003f , 0xfffffffe , 0x00000028 
+ 00022338  0x000056cb ifetch  0x00000009 , 0x00000006 
+ 00022339  0x000056cc store  0x00000009 , 0x0000046b 
+ 00022340  0x000056cd bpatchx  0x0000006f , 0x0000402d 
+ 00022341  0x000056ce ifetch  0x00000001 , 0x00000006 
+ 00022342  0x000056cf rshift4  0x0000003f , 0x00000002 
+ 00022343  0x000056d0 rshift  0x00000002 , 0x00000002 
+ 00022344  0x000056d1 storet  0x00000001 , 0x00000476 
+ 00022345  0x000056d2 and_into  0x0000001f , 0x0000003f 
+ 00022346  0x000056d3 store  0x00000001 , 0x00000458 
+ 00022347  0x000056d4 call  0x00005713 
+ 00022348  0x000056d5 call  0x0000545b 
+ 00022349  0x000056d6 call  0x0000534c 
+ 00022350  0x000056d7 call  0x0000223b 
+ 00022351  0x000056d8 nrtn  0x00000005 
+ 00022352  0x000056d9 bpatchx  0x00000070 , 0x0000402e 
+ 00022353  0x000056da call  0x00002841 
+ 00022354  0x000056db call  0x00005ad3 
+ 00022355  0x000056dc jam  0x00000014 , 0x00000a99 
+ 00022356  0x000056dd call  0x00007d86 
+ 00022357  0x000056de branch  0x00002223 
+ 00022358  0x000056e2 bpatchx  0x00000071 , 0x0000402e 
+ 00022359  0x000056e3 fetch  0x00000002 , 0x0000445a 
+ 00022360  0x000056e4 iforce  0x00000012 
+ 00022361  0x000056e5 fetch  0x00000002 , 0x0000445c 
+ 00022362  0x000056e6 iforce  0x00000013 
+ 00022363  0x000056e7 fetch  0x00000002 , 0x000044bc 
+ 00022364  0x000056e8 iforce  0x00000006 
+ 00022365  0x000056e9 enable  0x00000028 
+ 00022366  0x000056ea rtn 
+ 00022367  0x000056ee ifetch  0x00000002 , 0x00000006 
+ 00022368  0x000056ef rtn  0x00000034 
+ 00022369  0x000056f0 isub  0x00000012 , 0x0000003e 
+ 00022370  0x000056f1 nrtn  0x00000002 
+ 00022371  0x000056f2 isub  0x00000013 , 0x0000003e 
+ 00022372  0x000056f3 rtn  0x00000005 
+ 00022373  0x000056f4 branch  0x00005768 , 0x00000002 
+ 00022374  0x000056f5 force  0x00000001 , 0x0000003e 
+ 00022375  0x000056f6 rtn 
+ 00022376  0x000056f8 force  0x00000000 , 0x0000003f 
+ 00022377  0x000056f9 rtn 
+ 00022378  0x000056fe call  0x0000576d 
+ 00022379  0x000056ff branch  0x00005779 , 0x00000005 
+ 00022380  0x00005700 rtn 
+ 00022381  0x00005703 bpatchx  0x00000072 , 0x0000402e 
+ 00022382  0x00005704 fetch  0x00000002 , 0x000044bc 
+ 00022383  0x00005705 iforce  0x00000006 
+ 00022384  0x00005707 ifetch  0x00000002 , 0x00000006 
+ 00022385  0x00005708 rtn  0x00000034 
+ 00022386  0x00005709 isub  0x00000002 , 0x0000003e 
+ 00022387  0x0000570a rtn  0x00000005 
+ 00022388  0x0000570b ifetch  0x00000001 , 0x00000006 
+ 00022389  0x0000570c iadd  0x00000006 , 0x00000006 
+ 00022390  0x0000570d ifetch  0x00000001 , 0x00000006 
+ 00022391  0x0000570e iadd  0x00000006 , 0x00000006 
+ 00022392  0x0000570f branch  0x00005770 
+ 00022393  0x00005711 ifetch  0x00000001 , 0x00000006 
+ 00022394  0x00005712 iadd  0x00000006 , 0x00000006 
+ 00022395  0x00005713 rtn 
+ 00022396  0x00005718 bpatchx  0x00000073 , 0x0000402e 
+ 00022397  0x00005719 fetch  0x00000002 , 0x000044bc 
+ 00022398  0x0000571a iforce  0x00000006 
+ 00022399  0x0000571c ifetch  0x00000002 , 0x00000006 
+ 00022400  0x0000571d rtn  0x00000034 
+ 00022401  0x0000571e ifetch  0x00000001 , 0x00000006 
+ 00022402  0x0000571f iadd  0x00000006 , 0x00000006 
+ 00022403  0x00005720 increase  0xfffffffe , 0x00000006 
+ 00022404  0x00005721 ifetch  0x00000002 , 0x00000006 
+ 00022405  0x00005722 isub  0x00000002 , 0x0000003e 
+ 00022406  0x00005723 rtn  0x00000005 
+ 00022407  0x00005724 ifetch  0x00000001 , 0x00000006 
+ 00022408  0x00005725 iadd  0x00000006 , 0x00000006 
+ 00022409  0x00005726 branch  0x0000577f 
+ 00022410  0x0000572b fetch  0x00000002 , 0x0000049c 
+ 00022411  0x0000572c branch  0x0000578e 
+ 00022412  0x0000572f bpatchx  0x00000074 , 0x0000402e 
+ 00022413  0x00005730 fetch  0x00000002 , 0x000044bc 
+ 00022414  0x00005732 iforce  0x00000006 
+ 00022415  0x00005733 copy  0x00000002 , 0x00000011 
+ 00022416  0x00005735 ifetch  0x00000002 , 0x00000006 
+ 00022417  0x00005736 branch  0x00005799 , 0x00000034 
+ 00022418  0x00005737 isub  0x00000011 , 0x0000003e 
+ 00022419  0x00005738 branch  0x0000579a , 0x00000005 
+ 00022420  0x00005739 ifetch  0x00000001 , 0x00000006 
+ 00022421  0x0000573a iadd  0x00000006 , 0x00000006 
+ 00022422  0x0000573b ifetch  0x00000001 , 0x00000006 
+ 00022423  0x0000573c iadd  0x00000006 , 0x00000006 
+ 00022424  0x0000573d branch  0x00005790 
+ 00022425  0x0000573f branch  0x00007fef 
+ 00022426  0x00005742 ifetch  0x00000001 , 0x00000006 
+ 00022427  0x00005743 store  0x00000001 , 0x000004a2 
+ 00022428  0x00005744 copy  0x0000003f , 0x00000039 
+ 00022429  0x00005745 arg  0x000004a3 , 0x00000005 
+ 00022430  0x00005746 call  0x00007ef4 
+ 00022431  0x00005747 ifetch  0x00000001 , 0x00000006 
+ 00022432  0x00005748 store  0x00000001 , 0x000004b3 
+ 00022433  0x00005749 call  0x00007ea5 
+ 00022434  0x0000574a branch  0x00007ff1 
+ 00022435  0x0000574e bpatchx  0x00000075 , 0x0000402e 
+ 00022436  0x0000574f call  0x000057a6 
+ 00022437  0x00005750 branch  0x000057b8 
+ 00022438  0x00005753 arg  0x00002a00 , 0x00000002 
+ 00022439  0x00005754 call  0x0000577c 
+ 00022440  0x00005755 rtn  0x00000034 
+ 00022441  0x00005756 ifetch  0x00000001 , 0x00000006 
+ 00022442  0x00005757 copy  0x00000006 , 0x00000005 
+ 00022443  0x00005758 fetcht  0x00000001 , 0x000043af 
+ 00022444  0x00005759 copy  0x00000002 , 0x00000039 
+ 00022445  0x0000575a isub  0x00000002 , 0x0000003e 
+ 00022446  0x0000575b nbranch  0x000057b5 , 0x00000002 
+ 00022447  0x0000575c isub  0x00000002 , 0x00000002 
+ 00022448  0x0000575d arg  0x000043b0 , 0x00000006 
+ 00022449  0x0000575e call  0x00007f01 
+ 00022450  0x0000575f copy  0x00000002 , 0x00000039 
+ 00022451  0x00005760 ncall  0x000057f0 , 0x00000005 
+ 00022452  0x00005761 rtn 
+ 00022453  0x00005763 copy  0x0000003f , 0x00000039 
+ 00022454  0x00005764 arg  0x000043b0 , 0x00000006 
+ 00022455  0x00005765 branch  0x00007ef4 
+ 00022456  0x00005769 arg  0x0000438f , 0x00000013 
+ 00022457  0x0000576a arg  0x00004370 , 0x00000011 
+ 00022458  0x0000576b call  0x000057c5 
+ 00022459  0x0000576c setarg  0x00000000 
+ 00022460  0x0000576d setflag  0x00000028 , 0x00000000 , 0x0000003f 
+ 00022461  0x0000576e store  0x00000001 , 0x00000a9a 
+ 00022462  0x0000576f arg  0x000043af , 0x00000013 
+ 00022463  0x00005770 arg  0x00004390 , 0x00000011 
+ 00022464  0x00005771 call  0x000057c5 
+ 00022465  0x00005772 rtn  0x00000028 
+ 00022466  0x00005773 fetch  0x00000001 , 0x00000a9a 
+ 00022467  0x00005774 branch  0x00002a8c , 0x00000034 
+ 00022468  0x00005775 rtn 
+ 00022469  0x00005779 bpatchx  0x00000076 , 0x0000402e 
+ 00022470  0x0000577a call  0x00007fe7 
+ 00022471  0x0000577b call  0x00007eda 
+ 00022472  0x0000577c arg  0x00000000 , 0x00000012 
+ 00022473  0x0000577d arg  0x00000ac3 , 0x00000005 
+ 00022474  0x0000577e call  0x000057df 
+ 00022475  0x0000577f fetch  0x00000001 , 0x000043af 
+ 00022476  0x00005780 add  0x0000003f , 0x00000001 , 0x00000002 
+ 00022477  0x00005781 iadd  0x00000012 , 0x00000011 
+ 00022478  0x00005782 increase  0x00000002 , 0x00000011 
+ 00022479  0x00005783 sub  0x00000011 , 0x0000001f , 0x0000003e 
+ 00022480  0x00005784 nbranch  0x000057dd , 0x00000002 
+ 00022481  0x00005785 istoret  0x00000001 , 0x00000005 
+ 00022482  0x00005786 arg  0x00000009 , 0x00000002 
+ 00022483  0x00005787 istoret  0x00000001 , 0x00000005 
+ 00022484  0x00005788 iforce  0x00000039 
+ 00022485  0x00005789 call  0x00007ef4 
+ 00022486  0x0000578a copy  0x00000011 , 0x00000012 
+ 00022487  0x0000578c deposit  0x00000012 
+ 00022488  0x0000578d store  0x00000001 , 0x00000ac2 
+ 00022489  0x0000578e arg  0x00000ac2 , 0x00000006 
+ 00022490  0x0000578f setarg  0xffffffe0 
+ 00022491  0x00005790 iadd  0x00000013 , 0x00000005 
+ 00022492  0x00005791 branch  0x00007ebd 
+ 00022493  0x00005794 call  0x00007fe9 
+ 00022494  0x00005795 branch  0x000057d7 
+ 00022495  0x00005798 ifetch  0x00000001 , 0x00000011 
+ 00022496  0x00005799 rtn  0x00000034 
+ 00022497  0x0000579a pincrease  0x00000001 
+ 00022498  0x0000579b ifetcht  0x00000001 , 0x00000006 
+ 00022499  0x0000579c sub  0x00000002 , 0x00000009 , 0x0000003e 
+ 00022500  0x0000579d branch  0x000057ee , 0x00000005 
+ 00022501  0x0000579e iadd  0x00000012 , 0x00000012 
+ 00022502  0x0000579f copy  0x00000011 , 0x00000006 
+ 00022503  0x000057a0 iforce  0x00000039 
+ 00022504  0x000057a1 call  0x00007ef4 
+ 00022505  0x000057a2 copy  0x00000006 , 0x00000011 
+ 00022506  0x000057a4 deposit  0x00000011 
+ 00022507  0x000057a5 isub  0x00000013 , 0x0000003e 
+ 00022508  0x000057a6 rtn  0x00000002 
+ 00022509  0x000057a7 branch  0x000057df 
+ 00022510  0x000057aa iadd  0x00000011 , 0x00000011 
+ 00022511  0x000057ab branch  0x000057ea 
+ 00022512  0x000057af setarg  0x00000020 
+ 00022513  0x000057b0 istore  0x00000001 , 0x00000005 
+ 00022514  0x000057b1 loop  0x000057f0 
+ 00022515  0x000057b2 rtn 
+ 00022516  0x000057b6 bpatchx  0x00000077 , 0x0000402e 
+ 00022517  0x000057b7 disable  0x0000002b 
+ 00022518  0x000057b8 branch  0x000057f8 , 0x0000002e 
+ 00022519  0x000057b9 nbranch  0x00005806 , 0x0000002d 
+ 00022520  0x000057bb call  0x00002bcb 
+ 00022521  0x000057bc fetch  0x00000002 , 0x000040c1 
+ 00022522  0x000057bd store  0x00000002 , 0x0000044d 
+ 00022523  0x000057bf nbranch  0x00002bde , 0x0000002d 
+ 00022524  0x000057c0 bmark1  0x0000000f , 0x00002bde 
+ 00022525  0x000057c2 fetch  0x00000001 , 0x0000450b 
+ 00022526  0x000057c3 nbranch  0x00002bde , 0x00000034 
+ 00022527  0x000057c4 fetch  0x00000001 , 0x000043dd 
+ 00022528  0x000057c5 nbranch  0x00002bde , 0x00000034 
+ 00022529  0x000057c7 fetch  0x00000001 , 0x000044e9 
+ 00022530  0x000057c8 bbit1  0x00000005 , 0x00002bde 
+ 00022531  0x000057ca fetch  0x00000001 , 0x0000043f 
+ 00022532  0x000057cb bbit1  0x00000005 , 0x00002bde 
+ 00022533  0x000057cc branch  0x00002bc0 
+ 00022534  0x000057cf fetcht  0x00000002 , 0x000040c1 
+ 00022535  0x000057d0 rshift  0x00000002 , 0x00000002 
+ 00022536  0x000057d1 fetch  0x00000002 , 0x0000044d 
+ 00022537  0x000057d2 iadd  0x00000002 , 0x0000003f 
+ 00022538  0x000057d3 store  0x00000002 , 0x0000044d 
+ 00022539  0x000057d4 branch  0x00002bd6 
+ 00022540  0x000057d8 arg  0x00000000 , 0x00000007 
+ 00022541  0x000057d9 branch  0x00005824 
+ 00022542  0x000057dc arg  0x00000000 , 0x00000007 
+ 00022543  0x000057dd branch  0x00005828 
+ 00022544  0x000057e0 arg  0x00000001 , 0x00000007 
+ 00022545  0x000057e1 branch  0x00005824 
+ 00022546  0x000057e4 arg  0x00000001 , 0x00000007 
+ 00022547  0x000057e5 branch  0x00005828 
+ 00022548  0x000057e8 arg  0x00000002 , 0x00000007 
+ 00022549  0x000057e9 branch  0x00005824 
+ 00022550  0x000057ec arg  0x00000002 , 0x00000007 
+ 00022551  0x000057ed branch  0x00005828 
+ 00022552  0x000057f0 arg  0x00000003 , 0x00000007 
+ 00022553  0x000057f1 branch  0x00005824 
+ 00022554  0x000057f4 arg  0x00000003 , 0x00000007 
+ 00022555  0x000057f5 branch  0x00005828 
+ 00022556  0x000057f8 arg  0x00000004 , 0x00000007 
+ 00022557  0x000057f9 branch  0x00005824 
+ 00022558  0x000057fc arg  0x00000004 , 0x00000007 
+ 00022559  0x000057fd branch  0x00005828 
+ 00022560  0x00005800 arg  0x00000005 , 0x00000007 
+ 00022561  0x00005801 branch  0x00005824 
+ 00022562  0x00005804 arg  0x00000005 , 0x00000007 
+ 00022563  0x00005805 branch  0x00005828 
+ 00022564  0x00005809 fetch  0x00000001 , 0x000044e9 
+ 00022565  0x0000580a qset1  0x0000003f 
+ 00022566  0x0000580b store  0x00000001 , 0x000044e9 
+ 00022567  0x0000580c rtn 
+ 00022568  0x0000580f fetch  0x00000001 , 0x000044e9 
+ 00022569  0x00005810 qset0  0x0000003f 
+ 00022570  0x00005811 store  0x00000001 , 0x000044e9 
+ 00022571  0x00005812 rtn 
+ 00022572  0x00005815 setarg  0x00112233 
+ 00022573  0x00005816 store  0x00000003 , 0x000044ea 
+ 00022574  0x00005817 setarg  0x00445566 
+ 00022575  0x00005818 istore  0x00000003 , 0x00000005 
+ 00022576  0x00005819 setarg  0x00778899 
+ 00022577  0x0000581a istore  0x00000003 , 0x00000005 
+ 00022578  0x0000581b setarg  0x00001122 
+ 00022579  0x0000581c istore  0x00000003 , 0x00000005 
+ 00022580  0x0000581d setarg  0x00334455 
+ 00022581  0x0000581e istore  0x00000003 , 0x00000005 
+ 00022582  0x0000581f setarg  0x00000066 
+ 00022583  0x00005820 istore  0x00000001 , 0x00000005 
+ 00022584  0x00005821 rtn 
+ 00022585  0x00005825 setarg  0x01000302 
+ 00022586  0x00005826 store  0x00000004 , 0x00004453 
+ 00022587  0x00005827 setarg  0x00010010 
+ 00022588  0x00005828 store  0x00000003 , 0x00004457 
+ 00022589  0x00005829 jam  0x00000001 , 0x000044c6 
+ 00022590  0x0000582a rtn 
+ 00022591  0x0000582f arg  0x00000000 , 0x00000011 
+ 00022592  0x00005830 arg  0x00000001 , 0x00000001 
+ 00022593  0x00005831 branch  0x00005850 
+ 00022594  0x00005836 arg  0x00000003 , 0x00000001 
+ 00022595  0x00005837 call  0x00005850 
+ 00022596  0x00005838 copy  0x00000012 , 0x0000003f 
+ 00022597  0x00005839 istore  0x00000001 , 0x00000005 
+ 00022598  0x0000583a rtn 
+ 00022599  0x0000583f force  0x00000002 , 0x00000001 
+ 00022600  0x00005840 increase  0x00000004 , 0x00000011 
+ 00022601  0x00005841 call  0x00005850 
+ 00022602  0x00005842 increase  0xfffffffc , 0x00000011 
+ 00022603  0x00005843 copy  0x00000011 , 0x0000003f 
+ 00022604  0x00005844 istore  0x00000002 , 0x00000005 
+ 00022605  0x00005845 copy  0x00000012 , 0x0000003f 
+ 00022606  0x00005846 istore  0x00000002 , 0x00000005 
+ 00022607  0x00005847 rtn 
+ 00022608  0x0000584c sub  0x00000011 , 0x000000f0 , 0x0000003e 
+ 00022609  0x0000584d nbranch  0x00002a8c , 0x00000002 
+ 00022610  0x0000584e fetch  0x00000001 , 0x000044ff 
+ 00022611  0x0000584f arg  0x00000001 , 0x00000002 
+ 00022612  0x00005850 arg  0x00000004 , 0x00000039 
+ 00022613  0x00005852 iand  0x00000002 , 0x0000003e 
+ 00022614  0x00005853 branch  0x0000585a , 0x00000005 
+ 00022615  0x00005854 lshift  0x00000002 , 0x00000002 
+ 00022616  0x00005855 loop  0x00005855 
+ 00022617  0x00005856 branch  0x00002a8c 
+ 00022618  0x00005858 ixor  0x00000002 , 0x0000003f 
+ 00022619  0x00005859 store  0x00000001 , 0x000044ff 
+ 00022620  0x0000585a sub  0x00000039 , 0x00000004 , 0x0000003f 
+ 00022621  0x0000585b lshift4  0x0000003f , 0x0000003f 
+ 00022622  0x0000585c lshift4  0x0000003f , 0x0000003f 
+ 00022623  0x0000585d arg  0x00001800 , 0x00000002 
+ 00022624  0x0000585e iadd  0x00000002 , 0x00000002 
+ 00022625  0x00005860 arg  0x00000000 , 0x00000039 
+ 00022626  0x00005861 arg  0x00004500 , 0x00000006 
+ 00022627  0x00005863 ifetch  0x00000002 , 0x00000006 
+ 00022628  0x00005864 branch  0x00005869 , 0x00000034 
+ 00022629  0x00005865 copy  0x00000039 , 0x0000003f 
+ 00022630  0x00005866 increase  0x00000001 , 0x00000039 
+ 00022631  0x00005867 bne  0x00000004 , 0x00005863 
+ 00022632  0x00005868 branch  0x00002a8c 
+ 00022633  0x0000586c increase  0xfffffffe , 0x00000006 
+ 00022634  0x0000586d istoret  0x00000002 , 0x00000006 
+ 00022635  0x0000586e copy  0x00000002 , 0x00000005 
+ 00022636  0x0000586f copy  0x00000011 , 0x0000003f 
+ 00022637  0x00005870 istore  0x00000001 , 0x00000005 
+ 00022638  0x00005871 setarg  0x00000000 
+ 00022639  0x00005872 istore  0x00000001 , 0x00000005 
+ 00022640  0x00005873 copy  0x00000001 , 0x0000003f 
+ 00022641  0x00005874 istore  0x00000001 , 0x00000005 
+ 00022642  0x00005875 rtn 
+ 00022643  0x0000587a fetch  0x00000002 , 0x00004500 
+ 00022644  0x0000587b copy  0x0000003f , 0x00000006 
+ 00022645  0x0000587c rtn 
+ 00022646  0x0000587f fetch  0x00000002 , 0x00004502 
+ 00022647  0x00005880 copy  0x0000003f , 0x00000006 
+ 00022648  0x00005881 rtn 
+ 00022649  0x00005884 call  0x0000587c 
+ 00022650  0x00005885 copy  0x0000003f , 0x00000006 
+ 00022651  0x00005886 rtn 
+ 00022652  0x00005888 fetch  0x00000002 , 0x00004506 
+ 00022653  0x00005889 nrtn  0x00000034 
+ 00022654  0x0000588a fetch  0x00000002 , 0x00004504 
+ 00022655  0x0000588b nrtn  0x00000034 
+ 00022656  0x0000588c fetch  0x00000002 , 0x00004502 
+ 00022657  0x0000588d nrtn  0x00000034 
+ 00022658  0x0000588e fetch  0x00000002 , 0x00004500 
+ 00022659  0x0000588f rtn 
+ 00022660  0x00005892 call  0x00005873 
+ 00022661  0x00005893 increase  0x00000003 , 0x00000006 
+ 00022662  0x00005894 rtn 
+ 00022663  0x00005897 call  0x00005873 
+ 00022664  0x00005898 increase  0x00000007 , 0x00000006 
+ 00022665  0x00005899 rtn 
+ 00022666  0x0000589c call  0x00005879 
+ 00022667  0x0000589d increase  0x00000007 , 0x00000006 
+ 00022668  0x0000589e rtn 
+ 00022669  0x000058a1 call  0x00005879 
+ 00022670  0x000058a2 increase  0x00000003 , 0x00000006 
+ 00022671  0x000058a3 rtn 
+ 00022672  0x000058a8 fetch  0x00000002 , 0x00004506 
+ 00022673  0x000058a9 rtn 
+ 00022674  0x000058ad fetch  0x00000002 , 0x00004504 
+ 00022675  0x000058ae rtn 
+ 00022676  0x000058b2 fetch  0x00000002 , 0x00004500 
+ 00022677  0x000058b3 rtn 
+ 00022678  0x000058b7 fetch  0x00000002 , 0x00004500 
+ 00022679  0x000058b8 arg  0x00001800 , 0x00000002 
+ 00022680  0x000058b9 isub  0x00000002 , 0x0000003f 
+ 00022681  0x000058ba rshift4  0x0000003f , 0x0000003f 
+ 00022682  0x000058bb rshift4  0x0000003f , 0x00000007 
+ 00022683  0x000058bc fetch  0x00000001 , 0x000044ff 
+ 00022684  0x000058bd qset0  0x0000003f 
+ 00022685  0x000058be store  0x00000001 , 0x000044ff 
+ 00022686  0x000058bf arg  0x00000000 , 0x00000039 
+ 00022687  0x000058c1 lshift  0x00000039 , 0x0000003f 
+ 00022688  0x000058c2 arg  0x00004502 , 0x00000002 
+ 00022689  0x000058c3 iadd  0x00000002 , 0x00000002 
+ 00022690  0x000058c4 ifetch  0x00000002 , 0x00000002 
+ 00022691  0x000058c5 increase  0xfffffffe , 0x00000002 
+ 00022692  0x000058c6 istore  0x00000002 , 0x00000002 
+ 00022693  0x000058c7 copy  0x00000039 , 0x0000003f 
+ 00022694  0x000058c8 increase  0x00000001 , 0x00000039 
+ 00022695  0x000058c9 bne  0x00000003 , 0x0000589f 
+ 00022696  0x000058ca setarg  0x00000000 
+ 00022697  0x000058cb istore  0x00000002 , 0x00000002 
+ 00022698  0x000058cc rtn 
+ 00022699  0x000058d3 ifetch  0x00000003 , 0x00000006 
+ 00022700  0x000058d4 store  0x00000003 , 0x00000477 
+ 00022701  0x000058d5 beq  0x00000002 , 0x000058c1 
+ 00022702  0x000058d6 beq  0x00000003 , 0x000058c9 
+ 00022703  0x000058d7 beq  0x00000004 , 0x000058cc 
+ 00022704  0x000058d8 beq  0x00000006 , 0x000058f2 
+ 00022705  0x000058d9 beq  0x00000008 , 0x0000593f 
+ 00022706  0x000058da beq  0x0000000a , 0x000059bc 
+ 00022707  0x000058db beq  0x0000000c , 0x000059e4 
+ 00022708  0x000058dc beq  0x00000010 , 0x000059fa 
+ 00022709  0x000058dd beq  0x00000012 , 0x00005a2f 
+ 00022710  0x000058de beq  0x00000016 , 0x00005a48 
+ 00022711  0x000058df beq  0x00000018 , 0x00005a5b 
+ 00022712  0x000058e0 beq  0x00000052 , 0x00005a60 
+ 00022713  0x000058e1 rtn 
+ 00022714  0x000058e5 force  0x00000003 , 0x00000011 
+ 00022715  0x000058e6 call  0x00005a82 
+ 00022716  0x000058e7 setarg  0x00000002 
+ 00022717  0x000058e8 istore  0x00000001 , 0x00000005 
+ 00022718  0x000058e9 fetch  0x00000002 , 0x000044a6 
+ 00022719  0x000058ea istore  0x00000002 , 0x00000005 
+ 00022720  0x000058eb rtn 
+ 00022721  0x000058ef call  0x000058c9 
+ 00022722  0x000058f1 force  0x00000003 , 0x00000011 
+ 00022723  0x000058f2 call  0x00005a82 
+ 00022724  0x000058f3 setarg  0x00000003 
+ 00022725  0x000058f4 istore  0x00000001 , 0x00000005 
+ 00022726  0x000058f5 fetch  0x00000002 , 0x000044a6 
+ 00022727  0x000058f6 istore  0x00000002 , 0x00000005 
+ 00022728  0x000058f7 rtn 
+ 00022729  0x000058fa rshift8  0x0000003f , 0x0000003f 
+ 00022730  0x000058fb store  0x00000002 , 0x000044a8 
+ 00022731  0x000058fc rtn 
+ 00022732  0x000058ff call  0x00005ab1 
+ 00022733  0x00005900 call  0x00007fe7 
+ 00022734  0x00005901 branch  0x000058cf 
+ 00022735  0x00005904 arg  0x00000003 , 0x0000000b 
+ 00022736  0x00005905 call  0x00005756 
+ 00022737  0x00005907 call  0x0000575f 
+ 00022738  0x00005908 branch  0x000058f0 , 0x00000034 
+ 00022739  0x00005909 nbranch  0x000058ed , 0x00000002 
+ 00022740  0x0000590a increase  0xfffffffe , 0x00000006 
+ 00022741  0x0000590b call  0x00007ea5 
+ 00022742  0x0000590c call  0x00007e9c 
+ 00022743  0x0000590d nbranch  0x000058e1 , 0x00000028 
+ 00022744  0x0000590e call  0x00007e85 
+ 00022745  0x0000590f call  0x00007fe9 
+ 00022746  0x00005910 force  0x00000014 , 0x00000011 
+ 00022747  0x00005911 call  0x00005a82 
+ 00022748  0x00005912 call  0x00007e95 
+ 00022749  0x00005913 setarg  0x00000005 
+ 00022750  0x00005914 istore  0x00000001 , 0x00000005 
+ 00022751  0x00005915 setarg  0x00000001 
+ 00022752  0x00005916 istore  0x00000001 , 0x00000005 
+ 00022753  0x00005918 call  0x00007e9f 
+ 00022754  0x00005919 ifetch  0x00000002 , 0x00000006 
+ 00022755  0x0000591a istore  0x00000002 , 0x00000005 
+ 00022756  0x0000591b ifetch  0x00000001 , 0x00000006 
+ 00022757  0x0000591c copy  0x0000003f , 0x00000039 
+ 00022758  0x0000591d call  0x00007f01 
+ 00022759  0x0000591e call  0x00007ea2 
+ 00022760  0x0000591f increase  0xffffffff , 0x0000000b 
+ 00022761  0x00005920 branch  0x000058f0 , 0x00000005 
+ 00022762  0x00005922 ifetch  0x00000001 , 0x00000006 
+ 00022763  0x00005923 iadd  0x00000006 , 0x00000006 
+ 00022764  0x00005924 branch  0x000058d1 
+ 00022765  0x00005926 ifetch  0x00000001 , 0x00000006 
+ 00022766  0x00005927 iadd  0x00000006 , 0x00000006 
+ 00022767  0x00005928 branch  0x000058ea 
+ 00022768  0x0000592a branch  0x00005a76 , 0x00000028 
+ 00022769  0x0000592b branch  0x00005aa5 
+ 00022770  0x0000592f call  0x00005ab1 
+ 00022771  0x00005930 ifetch  0x00000002 , 0x00000006 
+ 00022772  0x00005931 store  0x00000002 , 0x00004472 
+ 00022773  0x00005932 call  0x00007ea5 
+ 00022774  0x00005933 arg  0x0000445e , 0x00000005 
+ 00022775  0x00005934 fetch  0x00000002 , 0x000044fc 
+ 00022776  0x00005935 increase  0xfffffff9 , 0x0000003f 
+ 00022777  0x00005936 call  0x000056db 
+ 00022778  0x00005937 branch  0x00005905 
+ 00022779  0x0000593b disable  0x00000028 
+ 00022780  0x0000593c fetcht  0x00000002 , 0x0000445a 
+ 00022781  0x0000593d fetch  0x00000002 , 0x0000445c 
+ 00022782  0x0000593e isub  0x00000002 , 0x0000003e 
+ 00022783  0x0000593f nbranch  0x00005902 , 0x00000002 
+ 00022784  0x00005940 deposit  0x00000002 
+ 00022785  0x00005941 rtnne  0x00000000 
+ 00022786  0x00005943 enable  0x00000028 
+ 00022787  0x00005944 jam  0x00000001 , 0x0000047a 
+ 00022788  0x00005945 branch  0x00005a77 
+ 00022789  0x00005949 call  0x000058fb 
+ 00022790  0x0000594a rtn  0x00000028 
+ 00022791  0x0000594b fetcht  0x00000002 , 0x00004472 
+ 00022792  0x0000594c setarg  0x00002800 
+ 00022793  0x0000594d isub  0x00000002 , 0x0000003e 
+ 00022794  0x0000594e branch  0x0000590c , 0x00000005 
+ 00022795  0x0000594f branch  0x00005a76 
+ 00022796  0x00005953 jam  0x00000000 , 0x000004b4 
+ 00022797  0x00005954 fetcht  0x00000002 , 0x0000445a 
+ 00022798  0x00005955 storet  0x00000002 , 0x00000aa2 
+ 00022799  0x00005956 call  0x0000578c 
+ 00022800  0x00005957 nbranch  0x00005a76 , 0x00000034 
+ 00022801  0x00005959 fetcht  0x00000002 , 0x00000aa2 
+ 00022802  0x0000595a call  0x0000578c 
+ 00022803  0x0000595b nbranch  0x00005925 , 0x00000034 
+ 00022804  0x0000595c copy  0x00000006 , 0x00000011 
+ 00022805  0x0000595d fetch  0x00000001 , 0x000004b3 
+ 00022806  0x0000595e copy  0x0000003f , 0x00000039 
+ 00022807  0x0000595f fetcht  0x00000001 , 0x0000445e 
+ 00022808  0x00005960 isub  0x00000002 , 0x0000003e 
+ 00022809  0x00005961 nbranch  0x00005921 , 0x00000005 
+ 00022810  0x00005962 arg  0x0000445f , 0x00000012 
+ 00022811  0x00005963 call  0x00007f88 
+ 00022812  0x00005965 branch  0x00005928 , 0x00000005 
+ 00022813  0x00005967 fetch  0x00000002 , 0x000004a3 
+ 00022814  0x00005968 fetcht  0x00000002 , 0x00004472 
+ 00022815  0x00005969 isub  0x00000002 , 0x0000003e 
+ 00022816  0x0000596a branch  0x00005930 , 0x00000005 
+ 00022817  0x0000596c fetch  0x00000002 , 0x00000aa2 
+ 00022818  0x0000596d increase  0x00000001 , 0x0000003f 
+ 00022819  0x0000596e store  0x00000002 , 0x00000aa2 
+ 00022820  0x0000596f branch  0x00005911 
+ 00022821  0x00005972 fetch  0x00000001 , 0x000004b4 
+ 00022822  0x00005973 beq  0x00000001 , 0x00005930 
+ 00022823  0x00005974 branch  0x00005a76 
+ 00022824  0x00005978 fetch  0x00000002 , 0x000004a3 
+ 00022825  0x00005979 fetcht  0x00000002 , 0x00004472 
+ 00022826  0x0000597a isub  0x00000002 , 0x0000003e 
+ 00022827  0x0000597b nbranch  0x00005921 , 0x00000005 
+ 00022828  0x0000597c jam  0x00000001 , 0x000004b4 
+ 00022829  0x0000597e fetcht  0x00000002 , 0x00000aa2 
+ 00022830  0x0000597f storet  0x00000002 , 0x0000049e 
+ 00022831  0x00005980 branch  0x00005921 
+ 00022832  0x00005983 fetch  0x00000001 , 0x000004b4 
+ 00022833  0x00005984 beq  0x00000000 , 0x00005921 
+ 00022834  0x00005985 jam  0x00000002 , 0x000004b4 
+ 00022835  0x00005986 fetcht  0x00000002 , 0x00000aa2 
+ 00022836  0x00005987 increase  0xffffffff , 0x00000002 
+ 00022837  0x00005988 storet  0x00000002 , 0x000004a0 
+ 00022838  0x0000598b arg  0x00000005 , 0x00000011 
+ 00022839  0x0000598c call  0x00005a82 
+ 00022840  0x0000598d setarg  0x00000007 
+ 00022841  0x0000598e istore  0x00000001 , 0x00000005 
+ 00022842  0x0000598f fetch  0x00000002 , 0x0000049e 
+ 00022843  0x00005990 istore  0x00000002 , 0x00000005 
+ 00022844  0x00005991 fetch  0x00000002 , 0x000004a0 
+ 00022845  0x00005992 istore  0x00000002 , 0x00000005 
+ 00022846  0x00005993 rtn 
+ 00022847  0x00005998 call  0x00005ab1 
+ 00022848  0x00005999 call  0x000056df 
+ 00022849  0x0000599a branch  0x00005942 
+ 00022850  0x0000599d fetcht  0x00000002 , 0x0000445a 
+ 00022851  0x0000599e storet  0x00000002 , 0x00000aa2 
+ 00022852  0x0000599f call  0x00005756 
+ 00022853  0x000059a0 call  0x0000576d 
+ 00022854  0x000059a1 increase  0xfffffffe , 0x00000006 
+ 00022855  0x000059a2 copy  0x00000006 , 0x0000003f 
+ 00022856  0x000059a3 store  0x00000002 , 0x0000049c 
+ 00022857  0x000059a5 fetcht  0x00000002 , 0x00004472 
+ 00022858  0x000059a6 setarg  0x00002a00 
+ 00022859  0x000059a7 isub  0x00000002 , 0x0000003e 
+ 00022860  0x000059a8 branch  0x000059a8 , 0x00000005 
+ 00022861  0x000059a9 setarg  0x00002803 
+ 00022862  0x000059aa isub  0x00000002 , 0x0000003e 
+ 00022863  0x000059ab nbranch  0x00005990 , 0x00000005 
+ 00022864  0x000059ac arg  0x00000002 , 0x0000000b 
+ 00022865  0x000059ae call  0x00005a88 
+ 00022866  0x000059af nbranch  0x0000596d , 0x00000002 
+ 00022867  0x000059b0 fetcht  0x00000002 , 0x00000aa2 
+ 00022868  0x000059b1 call  0x0000578a 
+ 00022869  0x000059b2 beq  0x00000001 , 0x0000596d 
+ 00022870  0x000059b3 call  0x00005a94 
+ 00022871  0x000059b4 nbranch  0x0000596b , 0x00000005 
+ 00022872  0x000059b5 nbranch  0x0000596f , 0x00000028 
+ 00022873  0x000059b6 disable  0x00000028 
+ 00022874  0x000059b7 arg  0x00000014 , 0x00000011 
+ 00022875  0x000059b8 call  0x00005a82 
+ 00022876  0x000059b9 setarg  0x00000009 
+ 00022877  0x000059ba istore  0x00000001 , 0x00000005 
+ 00022878  0x000059bb copy  0x00000005 , 0x00000030 
+ 00022879  0x000059bc increase  0x00000001 , 0x00000005 
+ 00022880  0x000059be call  0x0000597d 
+ 00022881  0x000059bf call  0x00005a84 
+ 00022882  0x000059c0 call  0x0000578a 
+ 00022883  0x000059c1 call  0x00005984 
+ 00022884  0x000059c2 fetch  0x00000001 , 0x000004a2 
+ 00022885  0x000059c3 increase  0x00000005 , 0x0000003f 
+ 00022886  0x000059c4 istore  0x00000001 , 0x00000030 
+ 00022887  0x000059c5 fetch  0x00000001 , 0x000004a2 
+ 00022888  0x000059c6 beq  0x00000010 , 0x0000596d 
+ 00022889  0x000059c7 increase  0xffffffff , 0x0000000b 
+ 00022890  0x000059c8 branch  0x0000596d , 0x00000005 
+ 00022891  0x000059ca call  0x00005a84 
+ 00022892  0x000059cb branch  0x00005951 
+ 00022893  0x000059cd branch  0x00005a76 , 0x00000028 
+ 00022894  0x000059ce branch  0x00005aa5 
+ 00022895  0x000059d1 call  0x00005a97 
+ 00022896  0x000059d2 call  0x00005a84 
+ 00022897  0x000059d3 call  0x0000578a 
+ 00022898  0x000059d4 fetch  0x00000001 , 0x000004a2 
+ 00022899  0x000059d5 beq  0x00000010 , 0x0000596d 
+ 00022900  0x000059d7 call  0x00007e9c 
+ 00022901  0x000059d8 fetch  0x00000002 , 0x00000aa2 
+ 00022902  0x000059d9 increase  0xffffffff , 0x0000003f 
+ 00022903  0x000059da istore  0x00000002 , 0x00000005 
+ 00022904  0x000059db call  0x00005aa1 
+ 00022905  0x000059dc call  0x00005984 
+ 00022906  0x000059dd increase  0xffffffff , 0x0000000b 
+ 00022907  0x000059de branch  0x0000596d , 0x00000005 
+ 00022908  0x000059df branch  0x0000596b 
+ 00022909  0x000059e3 fetch  0x00000002 , 0x00000aa2 
+ 00022910  0x000059e4 istore  0x00000002 , 0x00000005 
+ 00022911  0x000059e6 fetch  0x00000001 , 0x000004b3 
+ 00022912  0x000059e7 copy  0x0000003f , 0x00000039 
+ 00022913  0x000059e8 call  0x00007e9f 
+ 00022914  0x000059e9 call  0x00007ef4 
+ 00022915  0x000059ea branch  0x00007ea2 
+ 00022916  0x000059ec call  0x00007e9c 
+ 00022917  0x000059ed fetch  0x00000002 , 0x00000aa2 
+ 00022918  0x000059ee istore  0x00000002 , 0x00000005 
+ 00022919  0x000059ef call  0x00007ea2 
+ 00022920  0x000059f0 fetch  0x00000001 , 0x000004a2 
+ 00022921  0x000059f1 copy  0x0000003f , 0x00000039 
+ 00022922  0x000059f2 call  0x00007e9c 
+ 00022923  0x000059f3 call  0x00007e9f 
+ 00022924  0x000059f4 isub  0x00000039 , 0x00000006 
+ 00022925  0x000059f5 increase  0xffffffff , 0x00000006 
+ 00022926  0x000059f6 call  0x00007ef4 
+ 00022927  0x000059f7 branch  0x00007ea2 
+ 00022928  0x000059fc fetcht  0x00000002 , 0x0000445a 
+ 00022929  0x000059fd storet  0x00000002 , 0x00000aa2 
+ 00022930  0x000059ff call  0x00005a88 
+ 00022931  0x00005a00 nbranch  0x00005a76 , 0x00000002 
+ 00022932  0x00005a01 call  0x0000578a 
+ 00022933  0x00005a02 beq  0x00000001 , 0x00005a76 
+ 00022934  0x00005a03 call  0x00005a94 
+ 00022935  0x00005a04 nbranch  0x000059a6 , 0x00000005 
+ 00022936  0x00005a07 arg  0x00000014 , 0x00000011 
+ 00022937  0x00005a08 call  0x00005a82 
+ 00022938  0x00005a09 setarg  0x00000009 
+ 00022939  0x00005a0a istore  0x00000001 , 0x00000005 
+ 00022940  0x00005a0b fetch  0x00000001 , 0x000004b3 
+ 00022941  0x00005a0c copy  0x0000003f , 0x00000039 
+ 00022942  0x00005a0d increase  0x00000002 , 0x0000003f 
+ 00022943  0x00005a0e istore  0x00000001 , 0x00000005 
+ 00022944  0x00005a0f fetch  0x00000002 , 0x00000aa2 
+ 00022945  0x00005a10 istore  0x00000002 , 0x00000005 
+ 00022946  0x00005a11 call  0x00007e9f 
+ 00022947  0x00005a12 call  0x00007ef4 
+ 00022948  0x00005a13 call  0x00007ea2 
+ 00022949  0x00005a14 branch  0x00005aa5 
+ 00022950  0x00005a17 call  0x00005a84 
+ 00022951  0x00005a18 branch  0x00005992 
+ 00022952  0x00005a1c arg  0x00002a00 , 0x00000002 
+ 00022953  0x00005a1d call  0x0000577c 
+ 00022954  0x00005a1e rtn  0x00000034 
+ 00022955  0x00005a1f increase  0xfffffffb , 0x00000006 
+ 00022956  0x00005a20 ifetch  0x00000002 , 0x00000006 
+ 00022957  0x00005a21 store  0x00000002 , 0x00000aa2 
+ 00022958  0x00005a22 arg  0x00000014 , 0x00000011 
+ 00022959  0x00005a23 call  0x00005a82 
+ 00022960  0x00005a24 setarg  0x00000009 
+ 00022961  0x00005a25 istore  0x00000001 , 0x00000005 
+ 00022962  0x00005a26 fetch  0x00000001 , 0x000043af 
+ 00022963  0x00005a27 copy  0x0000003f , 0x00000039 
+ 00022964  0x00005a28 increase  0x00000002 , 0x0000003f 
+ 00022965  0x00005a29 istore  0x00000001 , 0x00000005 
+ 00022966  0x00005a2a fetch  0x00000002 , 0x00000aa2 
+ 00022967  0x00005a2b istore  0x00000002 , 0x00000005 
+ 00022968  0x00005a2c arg  0x000043b0 , 0x00000006 
+ 00022969  0x00005a2d call  0x00007ef4 
+ 00022970  0x00005a2e call  0x00007ea2 
+ 00022971  0x00005a2f branch  0x00005aa5 
+ 00022972  0x00005a34 fetcht  0x00000002 , 0x00000478 
+ 00022973  0x00005a35 fetch  0x00000001 , 0x000044e9 
+ 00022974  0x00005a36 bbit1  0x00000003 , 0x000059dd 
+ 00022975  0x00005a39 call  0x0000576a 
+ 00022976  0x00005a3a branch  0x00005a76 , 0x00000034 
+ 00022977  0x00005a3b increase  0xfffffffe , 0x00000006 
+ 00022978  0x00005a3c ifetch  0x00000002 , 0x00000006 
+ 00022979  0x00005a3d arg  0x00002a00 , 0x00000002 
+ 00022980  0x00005a3e isub  0x00000002 , 0x0000003e 
+ 00022981  0x00005a3f branch  0x000059d3 , 0x00000005 
+ 00022982  0x00005a40 ifetch  0x00000001 , 0x00000006 
+ 00022983  0x00005a41 sub  0x0000003f , 0x00000016 , 0x0000003e 
+ 00022984  0x00005a42 branch  0x000059ca , 0x00000002 
+ 00022985  0x00005a43 force  0x00000016 , 0x0000003f 
+ 00022986  0x00005a45 copy  0x0000003f , 0x00000013 
+ 00022987  0x00005a46 call  0x00007ea5 
+ 00022988  0x00005a47 add  0x00000013 , 0x00000001 , 0x00000011 
+ 00022989  0x00005a48 call  0x00005a82 
+ 00022990  0x00005a49 setarg  0x0000000b 
+ 00022991  0x00005a4a istore  0x00000001 , 0x00000005 
+ 00022992  0x00005a4b copy  0x00000013 , 0x00000039 
+ 00022993  0x00005a4c call  0x00007e9f 
+ 00022994  0x00005a4d branch  0x00007f01 
+ 00022995  0x00005a50 call  0x00007ea5 
+ 00022996  0x00005a51 fetch  0x00000001 , 0x000043af 
+ 00022997  0x00005a52 add  0x0000003f , 0x00000001 , 0x00000011 
+ 00022998  0x00005a53 call  0x00005a82 
+ 00022999  0x00005a54 setarg  0x0000000b 
+ 00023000  0x00005a55 istore  0x00000001 , 0x00000005 
+ 00023001  0x00005a56 fetch  0x00000001 , 0x000043af 
+ 00023002  0x00005a57 copy  0x0000003f , 0x00000039 
+ 00023003  0x00005a58 arg  0x000043b0 , 0x00000006 
+ 00023004  0x00005a59 branch  0x00007f01 
+ 00023005  0x00005a5d fetch  0x00000002 , 0x000044fa 
+ 00023006  0x00005a5e isub  0x00000002 , 0x0000003e 
+ 00023007  0x00005a5f nbranch  0x000059bf , 0x00000005 
+ 00023008  0x00005a61 call  0x00005a42 
+ 00023009  0x00005a62 nbranch  0x000059bf , 0x00000028 
+ 00023010  0x00005a63 jam  0x00000005 , 0x0000047a 
+ 00023011  0x00005a64 branch  0x00005a77 
+ 00023012  0x00005a68 ifetch  0x00000002 , 0x00000006 
+ 00023013  0x00005a69 store  0x00000002 , 0x0000445e 
+ 00023014  0x00005a6b arg  0x00000014 , 0x00000011 
+ 00023015  0x00005a6c call  0x00005a82 
+ 00023016  0x00005a6d setarg  0x0000000d 
+ 00023017  0x00005a6e istore  0x00000001 , 0x00000005 
+ 00023018  0x00005a6f fetch  0x00000002 , 0x0000445e 
+ 00023019  0x00005a70 iforce  0x00000011 
+ 00023020  0x00005a71 fetcht  0x00000002 , 0x00000478 
+ 00023021  0x00005a72 call  0x0000576a 
+ 00023022  0x00005a73 branch  0x00005a76 , 0x00000034 
+ 00023023  0x00005a74 ifetch  0x00000001 , 0x00000006 
+ 00023024  0x00005a75 isub  0x00000011 , 0x00000039 
+ 00023025  0x00005a76 nbranch  0x00005a76 , 0x00000002 
+ 00023026  0x00005a77 sub  0x00000039 , 0x00000016 , 0x0000003e 
+ 00023027  0x00005a78 branch  0x000059f5 , 0x00000002 
+ 00023028  0x00005a79 force  0x00000016 , 0x00000039 
+ 00023029  0x00005a7b deposit  0x00000011 
+ 00023030  0x00005a7c iadd  0x00000006 , 0x00000006 
+ 00023031  0x00005a7d call  0x00007ef4 
+ 00023032  0x00005a7e call  0x00007ea2 
+ 00023033  0x00005a7f branch  0x00005aa5 
+ 00023034  0x00005a83 call  0x00005ab1 
+ 00023035  0x00005a84 call  0x000056d7 
+ 00023036  0x00005a85 branch  0x000059fd 
+ 00023037  0x00005a8b arg  0x00000002 , 0x0000000b 
+ 00023038  0x00005a8c fetcht  0x00000002 , 0x0000445a 
+ 00023039  0x00005a90 storet  0x00000002 , 0x00000aa2 
+ 00023040  0x00005a91 call  0x00005756 
+ 00023041  0x00005a92 call  0x0000576d 
+ 00023042  0x00005a93 increase  0xfffffffe , 0x00000006 
+ 00023043  0x00005a94 copy  0x00000006 , 0x0000003f 
+ 00023044  0x00005a95 store  0x00000002 , 0x0000049c 
+ 00023045  0x00005a97 call  0x00005a88 
+ 00023046  0x00005a98 nbranch  0x00005a25 , 0x00000002 
+ 00023047  0x00005a99 fetcht  0x00000002 , 0x00000aa2 
+ 00023048  0x00005a9a call  0x0000578a 
+ 00023049  0x00005a9b beq  0x00000001 , 0x00005a28 
+ 00023050  0x00005a9d call  0x00005a8c 
+ 00023051  0x00005a9e nbranch  0x00005a23 , 0x00000005 
+ 00023052  0x00005a9f copy  0x0000000b , 0x0000003f 
+ 00023053  0x00005aa0 beq  0x00000000 , 0x00005a28 
+ 00023054  0x00005aa1 nbranch  0x00005a19 , 0x00000028 
+ 00023055  0x00005aa2 disable  0x00000028 
+ 00023056  0x00005aa4 arg  0x00000014 , 0x00000011 
+ 00023057  0x00005aa5 call  0x00005a82 
+ 00023058  0x00005aa6 setarg  0x00000011 
+ 00023059  0x00005aa7 istore  0x00000001 , 0x00000005 
+ 00023060  0x00005aa8 fetch  0x00000001 , 0x000004b3 
+ 00023061  0x00005aa9 increase  0x00000004 , 0x0000003f 
+ 00023062  0x00005aaa istore  0x00000001 , 0x00000005 
+ 00023063  0x00005aab call  0x00007ea2 
+ 00023064  0x00005aac branch  0x00005a1f 
+ 00023065  0x00005aae fetch  0x00000001 , 0x000004b3 
+ 00023066  0x00005aaf beq  0x00000010 , 0x00005a28 
+ 00023067  0x00005ab0 fetch  0x00000002 , 0x00000aa2 
+ 00023068  0x00005ab1 increase  0xffffffff , 0x0000003f 
+ 00023069  0x00005ab2 store  0x00000002 , 0x000004a0 
+ 00023070  0x00005ab3 call  0x00005a9c 
+ 00023071  0x00005ab5 fetch  0x00000002 , 0x00000aa2 
+ 00023072  0x00005ab6 store  0x00000002 , 0x0000049e 
+ 00023073  0x00005ab7 call  0x00005a97 
+ 00023074  0x00005ab8 increase  0xffffffff , 0x0000000b 
+ 00023075  0x00005abb call  0x00005a84 
+ 00023076  0x00005abc branch  0x00005a05 
+ 00023077  0x00005abf fetch  0x00000002 , 0x00000aa2 
+ 00023078  0x00005ac0 store  0x00000002 , 0x000004a0 
+ 00023079  0x00005ac1 branch  0x00005a2c 
+ 00023080  0x00005ac3 fetch  0x00000002 , 0x00000aa2 
+ 00023081  0x00005ac4 increase  0xffffffff , 0x0000003f 
+ 00023082  0x00005ac5 store  0x00000002 , 0x000004a0 
+ 00023083  0x00005ac6 branch  0x00005a2c 
+ 00023084  0x00005ac8 branch  0x00005a76 , 0x00000028 
+ 00023085  0x00005ac9 call  0x00005a9c 
+ 00023086  0x00005aca branch  0x00005aa5 
+ 00023087  0x00005ad0 copy  0x00000006 , 0x00000011 
+ 00023088  0x00005ad1 fetch  0x00000002 , 0x000044fc 
+ 00023089  0x00005ad2 add  0x0000003f , 0xfffffffd , 0x00000012 
+ 00023090  0x00005ad3 call  0x000056e2 
+ 00023091  0x00005ad5 fetch  0x00000001 , 0x000044e9 
+ 00023092  0x00005ad6 bbit0  0x00000004 , 0x00005a3d 
+ 00023093  0x00005ad8 fetcht  0x00000002 , 0x00000478 
+ 00023094  0x00005ad9 fetch  0x00000002 , 0x000044fa 
+ 00023095  0x00005ada isub  0x00000002 , 0x0000003e 
+ 00023096  0x00005adb nbranch  0x00005a3d , 0x00000005 
+ 00023097  0x00005adc call  0x00005a42 
+ 00023098  0x00005add nbranch  0x00005a3d , 0x00000028 
+ 00023099  0x00005ade jam  0x00000005 , 0x0000047a 
+ 00023100  0x00005adf branch  0x00005a77 
+ 00023101  0x00005ae2 force  0x00000001 , 0x00000011 
+ 00023102  0x00005ae3 call  0x00005a82 
+ 00023103  0x00005ae4 setarg  0x00000013 
+ 00023104  0x00005ae5 istore  0x00000001 , 0x00000005 
+ 00023105  0x00005ae6 rtn 
+ 00023106  0x00005ae9 call  0x00007fe9 
+ 00023107  0x00005aea fetch  0x00000001 , 0x000044c6 
+ 00023108  0x00005aeb rtneq  0x00000000 
+ 00023109  0x00005aec fetch  0x00000001 , 0x00004040 
+ 00023110  0x00005aed rtnbit1  0x00000004 
+ 00023111  0x00005aee branch  0x00007fe7 
+ 00023112  0x00005af2 add  0x00000006 , 0x00000002 , 0x00000011 
+ 00023113  0x00005af3 fetch  0x00000002 , 0x000044fc 
+ 00023114  0x00005af4 add  0x0000003f , 0xfffffffb , 0x00000012 
+ 00023115  0x00005af5 call  0x000056e2 
+ 00023116  0x00005af6 branch  0x00005a4d 
+ 00023117  0x00005afa fetch  0x00000002 , 0x000044fc 
+ 00023118  0x00005afb copy  0x0000003f , 0x00000011 
+ 00023119  0x00005afc call  0x00005a82 
+ 00023120  0x00005afd setarg  0x00000017 
+ 00023121  0x00005afe istore  0x00000001 , 0x00000005 
+ 00023122  0x00005aff fetch  0x00000002 , 0x00000478 
+ 00023123  0x00005b00 istore  0x00000002 , 0x00000005 
+ 00023124  0x00005b01 fetch  0x00000002 , 0x000044fc 
+ 00023125  0x00005b02 add  0x0000003f , 0xfffffffb , 0x00000039 
+ 00023126  0x00005b03 fetch  0x00000002 , 0x0000450d 
+ 00023127  0x00005b04 add  0x0000003f , 0x00000007 , 0x00000006 
+ 00023128  0x00005b05 ifetch  0x00000002 , 0x00000006 
+ 00023129  0x00005b06 istore  0x00000002 , 0x00000005 
+ 00023130  0x00005b07 branch  0x00007ef4 
+ 00023131  0x00005b0e force  0x00000001 , 0x00000011 
+ 00023132  0x00005b0f call  0x00005a82 
+ 00023133  0x00005b10 setarg  0x00000019 
+ 00023134  0x00005b11 istore  0x00000001 , 0x00000005 
+ 00023135  0x00005b12 rtn 
+ 00023136  0x00005b17 copy  0x00000006 , 0x00000011 
+ 00023137  0x00005b18 fetch  0x00000002 , 0x000044fc 
+ 00023138  0x00005b19 add  0x0000003f , 0xfffffffd , 0x00000012 
+ 00023139  0x00005b1a branch  0x000056e2 
+ 00023140  0x00005b20 copy  0x00000002 , 0x00000013 
+ 00023141  0x00005b21 increase  0x00000003 , 0x00000011 
+ 00023142  0x00005b22 call  0x00005a82 
+ 00023143  0x00005b23 increase  0xfffffffd , 0x00000011 
+ 00023144  0x00005b24 setarg  0x0000001b 
+ 00023145  0x00005b25 istore  0x00000001 , 0x00000005 
+ 00023146  0x00005b26 copy  0x00000013 , 0x00000002 
+ 00023147  0x00005b27 istoret  0x00000002 , 0x00000005 
+ 00023148  0x00005b28 rtn 
+ 00023149  0x00005b2c copy  0x00000002 , 0x00000013 
+ 00023150  0x00005b2d increase  0x00000003 , 0x00000011 
+ 00023151  0x00005b2e call  0x00005a82 
+ 00023152  0x00005b2f increase  0xfffffffd , 0x00000011 
+ 00023153  0x00005b30 setarg  0x0000001d 
+ 00023154  0x00005b31 istore  0x00000001 , 0x00000005 
+ 00023155  0x00005b32 copy  0x00000013 , 0x00000002 
+ 00023156  0x00005b33 istoret  0x00000002 , 0x00000005 
+ 00023157  0x00005b34 rtn 
+ 00023158  0x00005b3a jam  0x0000000a , 0x0000047a 
+ 00023159  0x00005b3c force  0x00000005 , 0x00000011 
+ 00023160  0x00005b3d call  0x00005a82 
+ 00023161  0x00005b3e setarg  0x00000001 
+ 00023162  0x00005b3f istore  0x00000001 , 0x00000005 
+ 00023163  0x00005b40 fetch  0x00000001 , 0x00000477 
+ 00023164  0x00005b41 istore  0x00000001 , 0x00000005 
+ 00023165  0x00005b42 fetch  0x00000002 , 0x00000478 
+ 00023166  0x00005b43 istore  0x00000002 , 0x00000005 
+ 00023167  0x00005b44 fetch  0x00000001 , 0x0000047a 
+ 00023168  0x00005b45 istore  0x00000001 , 0x00000005 
+ 00023169  0x00005b46 rtn 
+ 00023170  0x00005b4a force  0x00000004 , 0x00000012 
+ 00023171  0x00005b4b branch  0x00005847 
+ 00023172  0x00005b4f fetcht  0x00000002 , 0x00000aa2 
+ 00023173  0x00005b50 increase  0x00000001 , 0x00000002 
+ 00023174  0x00005b51 storet  0x00000002 , 0x00000aa2 
+ 00023175  0x00005b52 rtn 
+ 00023176  0x00005b55 fetcht  0x00000002 , 0x00000aa2 
+ 00023177  0x00005b56 fetch  0x00000002 , 0x0000445c 
+ 00023178  0x00005b57 isub  0x00000002 , 0x0000003e 
+ 00023179  0x00005b58 rtn 
+ 00023180  0x00005b5c fetcht  0x00000001 , 0x0000445e 
+ 00023181  0x00005b5d arg  0x0000445f , 0x00000011 
+ 00023182  0x00005b5f fetch  0x00000001 , 0x000004a2 
+ 00023183  0x00005b60 copy  0x0000003f , 0x00000039 
+ 00023184  0x00005b61 isub  0x00000002 , 0x0000003e 
+ 00023185  0x00005b62 nrtn  0x00000005 
+ 00023186  0x00005b63 arg  0x000004a3 , 0x00000012 
+ 00023187  0x00005b64 branch  0x00007f88 
+ 00023188  0x00005b67 fetcht  0x00000001 , 0x00004471 
+ 00023189  0x00005b68 arg  0x00004472 , 0x00000011 
+ 00023190  0x00005b69 branch  0x00005a8e 
+ 00023191  0x00005b6d fetch  0x00000001 , 0x000004b3 
+ 00023192  0x00005b6e store  0x00000001 , 0x00000101 
+ 00023193  0x00005b6f copy  0x0000003f , 0x00000039 
+ 00023194  0x00005b70 call  0x00007e9f 
+ 00023195  0x00005b71 branch  0x00007ef4 
+ 00023196  0x00005b75 call  0x00007e9c 
+ 00023197  0x00005b76 fetch  0x00000002 , 0x0000049e 
+ 00023198  0x00005b77 istore  0x00000002 , 0x00000005 
+ 00023199  0x00005b78 fetch  0x00000002 , 0x000004a0 
+ 00023200  0x00005b79 istore  0x00000002 , 0x00000005 
+ 00023201  0x00005b7b fetch  0x00000001 , 0x00000101 
+ 00023202  0x00005b7c copy  0x0000003f , 0x00000039 
+ 00023203  0x00005b7d call  0x00007ef4 
+ 00023204  0x00005b7e branch  0x00007ea2 
+ 00023205  0x00005b83 call  0x00007e9c 
+ 00023206  0x00005b84 call  0x0000588a 
+ 00023207  0x00005b85 copy  0x00000005 , 0x0000003f 
+ 00023208  0x00005b86 isub  0x00000006 , 0x00000011 
+ 00023209  0x00005b87 call  0x0000588d 
+ 00023210  0x00005b88 copy  0x00000011 , 0x0000003f 
+ 00023211  0x00005b89 istore  0x00000002 , 0x00000006 
+ 00023212  0x00005b8a increase  0x00000004 , 0x00000011 
+ 00023213  0x00005b8b call  0x00005879 
+ 00023214  0x00005b8c copy  0x00000011 , 0x0000003f 
+ 00023215  0x00005b8d istore  0x00000001 , 0x00000006 
+ 00023216  0x00005b8e rtn 
+ 00023217  0x00005b92 rshift8  0x0000003f , 0x0000003f 
+ 00023218  0x00005b93 store  0x00000002 , 0x0000445a 
+ 00023219  0x00005b94 ifetch  0x00000002 , 0x00000006 
+ 00023220  0x00005b95 store  0x00000002 , 0x0000445c 
+ 00023221  0x00005b96 rtn 
+ 00023222  0x00005b9c ifetch  0x00000001 , 0x00000006 
+ 00023223  0x00005b9d ifetcht  0x00000001 , 0x00000006 
+ 00023224  0x00005b9e ifetcht  0x00000002 , 0x00000006 
+ 00023225  0x00005b9f beq  0x00000013 , 0x00005abb 
+ 00023226  0x00005ba0 rtn 
+ 00023227  0x00005ba2 ifetch  0x00000002 , 0x00000006 
+ 00023228  0x00005ba3 store  0x00000002 , 0x00004509 
+ 00023229  0x00005ba4 jam  0x00000040 , 0x00000a99 
+ 00023230  0x00005ba5 branch  0x00007d86 
+ 00023231  0x00005bac arg  0x0000000c , 0x00000011 
+ 00023232  0x00005bad arg  0x00000012 , 0x00000013 
+ 00023233  0x00005bae call  0x00005ac7 
+ 00023234  0x00005baf setarg  0x00000008 
+ 00023235  0x00005bb0 istore  0x00000002 , 0x00000005 
+ 00023236  0x00005bb1 fetch  0x00000008 , 0x00004496 
+ 00023237  0x00005bb2 istore  0x00000008 , 0x00000005 
+ 00023238  0x00005bb3 rtn 
+ 00023239  0x00005bb8 call  0x00005acf 
+ 00023240  0x00005bb9 arg  0x00000005 , 0x00000012 
+ 00023241  0x00005bba call  0x00005847 
+ 00023242  0x00005bbb copy  0x00000013 , 0x0000003f 
+ 00023243  0x00005bbc istore  0x00000001 , 0x00000005 
+ 00023244  0x00005bbd fetch  0x00000001 , 0x00004508 
+ 00023245  0x00005bbe istore  0x00000001 , 0x00000005 
+ 00023246  0x00005bbf rtn 
+ 00023247  0x00005bc3 fetch  0x00000001 , 0x00004508 
+ 00023248  0x00005bc5 pincrease  0x00000001 
+ 00023249  0x00005bc6 store  0x00000001 , 0x00004508 
+ 00023250  0x00005bc7 rtnne  0x00000000 
+ 00023251  0x00005bca jam  0x00000001 , 0x00004508 
+ 00023252  0x00005bcb rtn 
+ 00023253  0x00005bd1 fetch  0x00000001 , 0x000044c6 
+ 00023254  0x00005bd2 beq  0x00000000 , 0x00005ae4 
+ 00023255  0x00005bd3 beq  0x00000001 , 0x00005ae7 
+ 00023256  0x00005bd4 beq  0x00000002 , 0x00005ae9 
+ 00023257  0x00005bd5 beq  0x00000081 , 0x00005add 
+ 00023258  0x00005bd6 beq  0x00000082 , 0x00005adf 
+ 00023259  0x00005bd7 beq  0x00000083 , 0x00005ae2 
+ 00023260  0x00005bd8 rtn 
+ 00023261  0x00005bdb jam  0x0000000d , 0x00004456 
+ 00023262  0x00005bdc branch  0x00005ae5 
+ 00023263  0x00005bde jam  0x0000000d , 0x00004456 
+ 00023264  0x00005bdf jam  0x00000001 , 0x00004454 
+ 00023265  0x00005be0 rtn 
+ 00023266  0x00005be2 jam  0x0000000d , 0x00004456 
+ 00023267  0x00005be3 branch  0x00005aea 
+ 00023268  0x00005be5 jam  0x00000000 , 0x00004456 
+ 00023269  0x00005be7 jam  0x00000003 , 0x00004454 
+ 00023270  0x00005be8 rtn 
+ 00023271  0x00005bea jam  0x00000005 , 0x00004456 
+ 00023272  0x00005beb branch  0x00005ae5 
+ 00023273  0x00005bed jam  0x00000005 , 0x00004456 
+ 00023274  0x00005bef jam  0x00000000 , 0x00004454 
+ 00023275  0x00005bf0 rtn 
+ 00023276  0x00005bf4 fetch  0x00000001 , 0x00004456 
+ 00023277  0x00005bf5 set1  0x00000003 , 0x0000003f 
+ 00023278  0x00005bf6 store  0x00000001 , 0x00004456 
+ 00023279  0x00005bf7 rtn 
+ 00023280  0x00005bf9 fetch  0x00000001 , 0x00004456 
+ 00023281  0x00005bfa set0  0x00000003 , 0x0000003f 
+ 00023282  0x00005bfb store  0x00000001 , 0x00004456 
+ 00023283  0x00005bfc rtn 
+ 00023284  0x00005bff ifetch  0x00000001 , 0x00000006 
+ 00023285  0x00005c00 beq  0x00000001 , 0x00005b09 
+ 00023286  0x00005c02 beq  0x00000003 , 0x00005b30 
+ 00023287  0x00005c03 beq  0x00000004 , 0x00005b4d 
+ 00023288  0x00005c04 beq  0x00000005 , 0x00005b5a 
+ 00023289  0x00005c05 beq  0x00000006 , 0x00005b80 
+ 00023290  0x00005c06 beq  0x00000007 , 0x00005bc4 
+ 00023291  0x00005c07 beq  0x00000008 , 0x00005baf 
+ 00023292  0x00005c08 beq  0x00000009 , 0x00005bc0 
+ 00023293  0x00005c09 beq  0x0000000a , 0x00005bc4 
+ 00023294  0x00005c0a beq  0x0000000b , 0x00005bc4 
+ 00023295  0x00005c0b beq  0x0000000c , 0x00005bc5 
+ 00023296  0x00005c0c beq  0x0000000d , 0x00005bca 
+ 00023297  0x00005c0d rtn 
+ 00023298  0x00005c12 force  0x00000002 , 0x00000011 
+ 00023299  0x00005c13 call  0x00005c62 
+ 00023300  0x00005c14 setarg  0x0000000b 
+ 00023301  0x00005c15 istore  0x00000001 , 0x00000005 
+ 00023302  0x00005c16 fetch  0x00000001 , 0x00004456 
+ 00023303  0x00005c17 istore  0x00000001 , 0x00000005 
+ 00023304  0x00005c18 rtn 
+ 00023305  0x00005c1b store  0x00000001 , 0x0000444c 
+ 00023306  0x00005c1c ifetch  0x00000006 , 0x00000006 
+ 00023307  0x00005c1d istore  0x00000006 , 0x00000005 
+ 00023308  0x00005c1e fetch  0x00000001 , 0x000044c6 
+ 00023309  0x00005c1f beq  0x00000000 , 0x00005b5f 
+ 00023310  0x00005c20 call  0x00005b2b 
+ 00023311  0x00005c21 call  0x00005b26 
+ 00023312  0x00005c22 jam  0x00000003 , 0x000044c4 
+ 00023313  0x00005c23 fetch  0x00000001 , 0x0000444d 
+ 00023314  0x00005c24 beq  0x00000000 , 0x00005b18 
+ 00023315  0x00005c25 beq  0x00000001 , 0x00005b18 
+ 00023316  0x00005c26 beq  0x00000003 , 0x00005b18 
+ 00023317  0x00005c27 fetch  0x00000001 , 0x000044c6 
+ 00023318  0x00005c28 beq  0x00000002 , 0x00005b1b 
+ 00023319  0x00005c29 rtneq  0x00000083 
+ 00023320  0x00005c2b arg  0x00000000 , 0x0000003f 
+ 00023321  0x00005c2c store  0x00000004 , 0x000044c7 
+ 00023322  0x00005c2d rtn 
+ 00023323  0x00005c30 fetch  0x00000001 , 0x000044e9 
+ 00023324  0x00005c31 bbit1  0x00000000 , 0x00005b24 
+ 00023325  0x00005c33 arg  0x000044c7 , 0x00000011 
+ 00023326  0x00005c34 copy  0x00000011 , 0x00000005 
+ 00023327  0x00005c35 arg  0x00000003 , 0x00000039 
+ 00023328  0x00005c36 call  0x0000630d 
+ 00023329  0x00005c37 fetch  0x00000002 , 0x000044c9 
+ 00023330  0x00005c38 and_into  0x00000007 , 0x0000003f 
+ 00023331  0x00005c39 store  0x00000002 , 0x000044c9 
+ 00023332  0x00005c3b jam  0x00000034 , 0x00000a99 
+ 00023333  0x00005c3c branch  0x00007d86 
+ 00023334  0x00005c3f fetch  0x00000001 , 0x0000444f 
+ 00023335  0x00005c40 rtnbit1  0x00000003 
+ 00023336  0x00005c41 fetch  0x00000001 , 0x000044c6 
+ 00023337  0x00005c42 rtnbit0  0x00000007 
+ 00023338  0x00005c43 branch  0x00003402 
+ 00023339  0x00005c46 force  0x00000007 , 0x00000011 
+ 00023340  0x00005c47 call  0x00005c62 
+ 00023341  0x00005c48 fetch  0x00000007 , 0x00004453 
+ 00023342  0x00005c49 istore  0x00000007 , 0x00000005 
+ 00023343  0x00005c4a rtn 
+ 00023344  0x00005c4e copy  0x00000006 , 0x00000011 
+ 00023345  0x00005c4f fetch  0x00000001 , 0x000044c6 
+ 00023346  0x00005c50 beq  0x00000083 , 0x00005b37 
+ 00023347  0x00005c51 copy  0x00000011 , 0x00000006 
+ 00023348  0x00005c52 arg  0x0000442a , 0x00000005 
+ 00023349  0x00005c53 call  0x00007ebf 
+ 00023350  0x00005c54 branch  0x00005b3d 
+ 00023351  0x00005c56 copy  0x00000011 , 0x00000006 
+ 00023352  0x00005c57 arg  0x0000442a , 0x00000005 
+ 00023353  0x00005c58 call  0x00007ebf 
+ 00023354  0x00005c59 jam  0x00000002 , 0x000044bf 
+ 00023355  0x00005c5a jam  0x00000008 , 0x000044c1 
+ 00023356  0x00005c5b rtn 
+ 00023357  0x00005c5f fetch  0x00000001 , 0x000044c6 
+ 00023358  0x00005c60 bbit1  0x00000007 , 0x00005b45 
+ 00023359  0x00005c61 call  0x0000739c 
+ 00023360  0x00005c62 force  0x00000011 , 0x00000011 
+ 00023361  0x00005c63 call  0x00005c62 
+ 00023362  0x00005c64 setarg  0x00000003 
+ 00023363  0x00005c65 istore  0x00000001 , 0x00000005 
+ 00023364  0x00005c66 branch  0x00007497 
+ 00023365  0x00005c6a arg  0x0000443a , 0x00000005 
+ 00023366  0x00005c6b call  0x0000630c 
+ 00023367  0x00005c6c call  0x000071c5 
+ 00023368  0x00005c6d force  0x00000011 , 0x00000011 
+ 00023369  0x00005c6e call  0x00005c62 
+ 00023370  0x00005c6f setarg  0x00000003 
+ 00023371  0x00005c70 istore  0x00000001 , 0x00000005 
+ 00023372  0x00005c71 branch  0x00007201 
+ 00023373  0x00005c76 copy  0x00000006 , 0x00000011 
+ 00023374  0x00005c77 fetch  0x00000001 , 0x000044c6 
+ 00023375  0x00005c78 bbit1  0x00000007 , 0x00005b61 
+ 00023376  0x00005c79 copy  0x00000011 , 0x00000006 
+ 00023377  0x00005c7a call  0x00007394 
+ 00023378  0x00005c7b branch  0x00005b75 , 0x00000005 
+ 00023379  0x00005c7d jam  0x00000004 , 0x0000047b 
+ 00023380  0x00005c7f force  0x00000002 , 0x00000011 
+ 00023381  0x00005c80 call  0x00005c62 
+ 00023382  0x00005c81 setarg  0x00000005 
+ 00023383  0x00005c82 istore  0x00000001 , 0x00000005 
+ 00023384  0x00005c83 fetch  0x00000001 , 0x0000047b 
+ 00023385  0x00005c84 istore  0x00000001 , 0x00000005 
+ 00023386  0x00005c86 force  0x0000000a , 0x00000007 
+ 00023387  0x00005c87 call  0x00007f07 
+ 00023388  0x00005c88 jam  0x00000000 , 0x000044c4 
+ 00023389  0x00005c89 jam  0x00000030 , 0x00000a99 
+ 00023390  0x00005c8a branch  0x00007d86 
+ 00023391  0x00005c8d jam  0x00000005 , 0x0000047b 
+ 00023392  0x00005c8e branch  0x00005b54 
+ 00023393  0x00005c92 arg  0x0000042f , 0x00000005 
+ 00023394  0x00005c93 copy  0x00000011 , 0x00000006 
+ 00023395  0x00005c94 call  0x00007ebf 
+ 00023396  0x00005c95 fetch  0x00000001 , 0x000044c6 
+ 00023397  0x00005c96 beq  0x00000083 , 0x00005b6c 
+ 00023398  0x00005c97 call  0x0000714f 
+ 00023399  0x00005c9a call  0x00005b7a 
+ 00023400  0x00005c9b fetch  0x00000001 , 0x000044c6 
+ 00023401  0x00005c9c rtnne  0x00000082 
+ 00023402  0x00005c9d jam  0x0000003b , 0x00000a99 
+ 00023403  0x00005c9e branch  0x00007d86 
+ 00023404  0x00005ca1 call  0x000071ba 
+ 00023405  0x00005ca2 arg  0x00000af2 , 0x00000005 
+ 00023406  0x00005ca3 call  0x00007201 
+ 00023407  0x00005ca4 arg  0x00000af2 , 0x00000011 
+ 00023408  0x00005ca5 arg  0x0000442a , 0x00000012 
+ 00023409  0x00005ca6 arg  0x00000010 , 0x00000039 
+ 00023410  0x00005ca7 call  0x00007f88 
+ 00023411  0x00005ca8 nbranch  0x00005b53 , 0x00000005 
+ 00023412  0x00005ca9 branch  0x00005b7a 
+ 00023413  0x00005cac call  0x00007390 
+ 00023414  0x00005cad jam  0x00000031 , 0x00000a99 
+ 00023415  0x00005cae call  0x00007d86 
+ 00023416  0x00005caf jam  0x00000001 , 0x00004429 
+ 00023417  0x00005cb0 jam  0x00000005 , 0x000044c4 
+ 00023418  0x00005cb3 force  0x00000011 , 0x00000011 
+ 00023419  0x00005cb4 call  0x00005c62 
+ 00023420  0x00005cb5 setarg  0x00000004 
+ 00023421  0x00005cb6 istore  0x00000001 , 0x00000005 
+ 00023422  0x00005cb7 arg  0x0000443a , 0x00000006 
+ 00023423  0x00005cb8 branch  0x00007ebf 
+ 00023424  0x00005cbb arg  0x0000041f , 0x00000005 
+ 00023425  0x00005cbc branch  0x00007ebf 
+ 00023426  0x00005cbf force  0x00000011 , 0x00000011 
+ 00023427  0x00005cc0 call  0x00005c62 
+ 00023428  0x00005cc1 setarg  0x00000006 
+ 00023429  0x00005cc2 istore  0x00000001 , 0x00000005 
+ 00023430  0x00005cc3 fetch  0x00000001 , 0x000044e9 
+ 00023431  0x00005cc4 bbit1  0x00000001 , 0x00005b8a 
+ 00023432  0x00005cc5 arg  0x00004419 , 0x00000006 
+ 00023433  0x00005cc6 branch  0x00007ebf 
+ 00023434  0x00005cc9 arg  0x000044ea , 0x00000006 
+ 00023435  0x00005cca branch  0x00007ebf 
+ 00023436  0x00005cce arg  0x000044cb , 0x00000005 
+ 00023437  0x00005ccf force  0x0000000a , 0x00000039 
+ 00023438  0x00005cd0 call  0x0000630d 
+ 00023439  0x00005cd1 force  0x0000000b , 0x00000011 
+ 00023440  0x00005cd2 call  0x00005c62 
+ 00023441  0x00005cd3 setarg  0x00000007 
+ 00023442  0x00005cd4 istore  0x00000001 , 0x00000005 
+ 00023443  0x00005cd5 fetch  0x00000002 , 0x000044cb 
+ 00023444  0x00005cd6 istore  0x00000002 , 0x00000005 
+ 00023445  0x00005cd7 fetch  0x00000008 , 0x000044cd 
+ 00023446  0x00005cd8 istore  0x00000008 , 0x00000005 
+ 00023447  0x00005cd9 rtn 
+ 00023448  0x00005cdc force  0x00000011 , 0x00000011 
+ 00023449  0x00005cdd call  0x00005c62 
+ 00023450  0x00005cde setarg  0x00000008 
+ 00023451  0x00005cdf istore  0x00000001 , 0x00000005 
+ 00023452  0x00005ce0 setarg  0x00000000 
+ 00023453  0x00005ce1 istore  0x00000008 , 0x00000005 
+ 00023454  0x00005ce2 istore  0x00000008 , 0x00000005 
+ 00023455  0x00005ce3 rtn 
+ 00023456  0x00005ce7 force  0x00000008 , 0x00000011 
+ 00023457  0x00005ce8 call  0x00005c62 
+ 00023458  0x00005ce9 setarg  0x00000009 
+ 00023459  0x00005cea istore  0x00000001 , 0x00000005 
+ 00023460  0x00005ceb fetch  0x00000001 , 0x00004495 
+ 00023461  0x00005cec istore  0x00000001 , 0x00000005 
+ 00023462  0x00005ced fetch  0x00000006 , 0x000044a0 
+ 00023463  0x00005cee istore  0x00000006 , 0x00000005 
+ 00023464  0x00005cef rtn 
+ 00023465  0x00005cf3 jam  0x00000008 , 0x0000047b 
+ 00023466  0x00005cf4 branch  0x00005b54 
+ 00023467  0x00005cf7 fetch  0x00000001 , 0x00004458 
+ 00023468  0x00005cf8 fetcht  0x00000001 , 0x00004458 
+ 00023469  0x00005cf9 iand  0x00000002 , 0x0000003f 
+ 00023470  0x00005cfa rtn 
+ 00023471  0x00005cfd arg  0x000044d5 , 0x00000005 
+ 00023472  0x00005cfe call  0x00007ebf 
+ 00023473  0x00005cff call  0x00005bab 
+ 00023474  0x00005d00 isolate0  0x00000001 , 0x0000003f 
+ 00023475  0x00005d01 branch  0x00005ba9 , 0x00000001 
+ 00023476  0x00005d02 fetch  0x00000001 , 0x00004092 
+ 00023477  0x00005d03 rtnne  0x0000000a 
+ 00023478  0x00005d04 call  0x00005bb9 
+ 00023479  0x00005d05 nrtn  0x00000028 
+ 00023480  0x00005d06 branch  0x00003410 
+ 00023481  0x00005d0a call  0x00007fe9 
+ 00023482  0x00005d0b fetch  0x00000001 , 0x0000448e 
+ 00023483  0x00005d0c rtneq  0x00000000 
+ 00023484  0x00005d0d fetch  0x00000001 , 0x00000454 
+ 00023485  0x00005d0e compare  0x000000c0 , 0x0000003f , 0x000000c0 
+ 00023486  0x00005d0f rtn  0x00000001 
+ 00023487  0x00005d10 branch  0x00007fe7 
+ 00023488  0x00005d13 call  0x00005bab 
+ 00023489  0x00005d14 isolate0  0x00000001 , 0x0000003f 
+ 00023490  0x00005d15 branch  0x00005ba9 , 0x00000001 
+ 00023491  0x00005d16 rtn 
+ 00023492  0x00005d1b rtn 
+ 00023493  0x00005d1e arg  0x000009be , 0x00000005 
+ 00023494  0x00005d1f call  0x00007eb3 
+ 00023495  0x00005d20 jam  0x00000002 , 0x000044bf 
+ 00023496  0x00005d21 jam  0x00000001 , 0x000044c1 
+ 00023497  0x00005d22 rtn 
+ 00023498  0x00005d25 arg  0x00000a6e , 0x00000005 
+ 00023499  0x00005d26 call  0x00007ebf 
+ 00023500  0x00005d27 jam  0x00000006 , 0x000044c1 
+ 00023501  0x00005d28 jam  0x00000002 , 0x000044bf 
+ 00023502  0x00005d29 rtn 
+ 00023503  0x00005d2c force  0x00000041 , 0x00000011 
+ 00023504  0x00005d2d call  0x00005c62 
+ 00023505  0x00005d2e setarg  0x0000000c 
+ 00023506  0x00005d2f istore  0x00000001 , 0x00000005 
+ 00023507  0x00005d30 arg  0x000045d2 , 0x00000006 
+ 00023508  0x00005d31 branch  0x00007eb3 
+ 00023509  0x00005d34 call  0x00007166 
+ 00023510  0x00005d35 force  0x00000011 , 0x00000011 
+ 00023511  0x00005d36 call  0x00005c62 
+ 00023512  0x00005d37 setarg  0x0000000d 
+ 00023513  0x00005d38 istore  0x00000001 , 0x00000005 
+ 00023514  0x00005d39 branch  0x00007201 
+ 00023515  0x00005d3d fetch  0x00000001 , 0x000044c4 
+ 00023516  0x00005d3e rtneq  0x000000ff 
+ 00023517  0x00005d3f arg  0x00000003 , 0x00000002 
+ 00023518  0x00005d40 isub  0x00000002 , 0x0000003e 
+ 00023519  0x00005d41 nrtn  0x00000002 
+ 00023520  0x00005d42 arg  0x0000000a , 0x00000007 
+ 00023521  0x00005d43 call  0x00007f16 
+ 00023522  0x00005d44 nrtn  0x00000034 
+ 00023523  0x00005d45 branch  0x00005ba9 
+ 00023524  0x00005d48 bpatchx  0x00000078 , 0x0000402f 
+ 00023525  0x00005d49 fetch  0x00000001 , 0x000044c4 
+ 00023526  0x00005d4a beq  0x00000000 , 0x00005bef 
+ 00023527  0x00005d4b beq  0x00000001 , 0x00005bf5 
+ 00023528  0x00005d4c beq  0x00000002 , 0x00005bef 
+ 00023529  0x00005d4d beq  0x00000003 , 0x00005bf7 
+ 00023530  0x00005d4e beq  0x00000005 , 0x00005bfb 
+ 00023531  0x00005d4f beq  0x00000007 , 0x00005c07 
+ 00023532  0x00005d50 beq  0x00000008 , 0x00005c09 
+ 00023533  0x00005d51 beq  0x00000009 , 0x00005c10 
+ 00023534  0x00005d52 rtn 
+ 00023535  0x00005d56 fetch  0x00000001 , 0x000044c5 
+ 00023536  0x00005d57 rtnne  0x00000004 
+ 00023537  0x00005d58 jam  0x000000ff , 0x000044c5 
+ 00023538  0x00005d59 jam  0x000000ff , 0x000044c4 
+ 00023539  0x00005d5a jam  0x0000003f , 0x00000a99 
+ 00023540  0x00005d5b branch  0x00007d86 
+ 00023541  0x00005d5f jam  0x00000002 , 0x000044c4 
+ 00023542  0x00005d60 branch  0x00005b02 
+ 00023543  0x00005d63 jam  0x00000004 , 0x000044c4 
+ 00023544  0x00005d64 setarg  0x00017700 
+ 00023545  0x00005d65 arg  0x0000000a , 0x00000007 
+ 00023546  0x00005d66 branch  0x00007f08 
+ 00023547  0x00005d69 fetch  0x00000001 , 0x000044c5 
+ 00023548  0x00005d6a beq  0x00000004 , 0x00005bfe 
+ 00023549  0x00005d6b rtn 
+ 00023550  0x00005d6e jam  0x00000007 , 0x000044c4 
+ 00023551  0x00005d6f jam  0x00000029 , 0x00000a99 
+ 00023552  0x00005d70 call  0x00007d86 
+ 00023553  0x00005d71 call  0x00005b82 
+ 00023554  0x00005d72 fetch  0x00000001 , 0x00004092 
+ 00023555  0x00005d73 rtnne  0x0000000a 
+ 00023556  0x00005d74 call  0x00005bb9 
+ 00023557  0x00005d75 rtn  0x00000028 
+ 00023558  0x00005d76 branch  0x00003410 
+ 00023559  0x00005d7a jam  0x00000008 , 0x000044c4 
+ 00023560  0x00005d7b branch  0x00005b8c 
+ 00023561  0x00005d7e fetch  0x00000001 , 0x00004452 
+ 00023562  0x00005d7f fetcht  0x00000001 , 0x00004459 
+ 00023563  0x00005d80 iand  0x00000002 , 0x0000003f 
+ 00023564  0x00005d81 isolate0  0x00000001 , 0x0000003f 
+ 00023565  0x00005d82 branch  0x00005c12 , 0x00000001 
+ 00023566  0x00005d83 jam  0x00000009 , 0x000044c4 
+ 00023567  0x00005d84 branch  0x00005b98 
+ 00023568  0x00005d87 call  0x00005ba0 
+ 00023569  0x00005d88 branch  0x00005c12 
+ 00023570  0x00005d8c force  0x0000000a , 0x00000007 
+ 00023571  0x00005d8d call  0x00007f07 
+ 00023572  0x00005d8e jam  0x000000ff , 0x000044c5 
+ 00023573  0x00005d8f jam  0x000000ff , 0x000044c4 
+ 00023574  0x00005d90 jam  0x0000003e , 0x00000a99 
+ 00023575  0x00005d91 branch  0x00007d86 
+ 00023576  0x00005d96 bpatchx  0x00000079 , 0x0000402f 
+ 00023577  0x00005d97 fetch  0x00000001 , 0x000044c6 
+ 00023578  0x00005d98 rtnbit0  0x00000007 
+ 00023579  0x00005d99 fetch  0x00000001 , 0x000044bf 
+ 00023580  0x00005d9a rtnne  0x00000002 
+ 00023581  0x00005d9b jam  0x00000000 , 0x000044bf 
+ 00023582  0x00005d9c fetch  0x00000001 , 0x000044c1 
+ 00023583  0x00005d9d beq  0x00000001 , 0x00005c58 
+ 00023584  0x00005d9e beq  0x00000002 , 0x00005c5f 
+ 00023585  0x00005d9f beq  0x00000003 , 0x00005c52 
+ 00023586  0x00005da0 beq  0x00000006 , 0x00005c39 
+ 00023587  0x00005da1 beq  0x00000007 , 0x00005c30 
+ 00023588  0x00005da2 beq  0x00000008 , 0x00005c26 
+ 00023589  0x00005da3 rtn 
+ 00023590  0x00005da7 fetch  0x00000001 , 0x00004663 
+ 00023591  0x00005da8 copy  0x0000003f , 0x00000007 
+ 00023592  0x00005da9 increase  0x00000001 , 0x0000003f 
+ 00023593  0x00005daa store  0x00000001 , 0x00004663 
+ 00023594  0x00005dab fetch  0x00000004 , 0x000044c7 
+ 00023595  0x00005dac qisolate1  0x0000003f 
+ 00023596  0x00005dad setarg  0x00000080 
+ 00023597  0x00005dae setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00023598  0x00005daf store  0x00000001 , 0x00004664 
+ 00023599  0x00005db0 branch  0x00005c55 
+ 00023600  0x00005db3 fetch  0x00000001 , 0x000044c2 
+ 00023601  0x00005db4 jam  0x00000000 , 0x000044c2 
+ 00023602  0x00005db5 beq  0x00000001 , 0x00005c35 
+ 00023603  0x00005db6 jam  0x00000002 , 0x000044bf 
+ 00023604  0x00005db7 rtn 
+ 00023605  0x00005dba jam  0x00000031 , 0x00000a99 
+ 00023606  0x00005dbb call  0x00007d86 
+ 00023607  0x00005dbc jam  0x00000005 , 0x000044c4 
+ 00023608  0x00005dbd branch  0x00005bd5 
+ 00023609  0x00005dc0 fetch  0x00000001 , 0x000009b9 
+ 00023610  0x00005dc1 beq  0x00000003 , 0x00005c3d 
+ 00023611  0x00005dc2 jam  0x00000002 , 0x000044bf 
+ 00023612  0x00005dc3 rtn 
+ 00023613  0x00005dc6 call  0x0000718d 
+ 00023614  0x00005dca fetch  0x00000001 , 0x000044c6 
+ 00023615  0x00005dcb beq  0x00000083 , 0x00005c41 
+ 00023616  0x00005dcc call  0x00005b18 
+ 00023617  0x00005dce call  0x0000717a 
+ 00023618  0x00005dcf arg  0x00000af2 , 0x00000011 
+ 00023619  0x00005dd0 arg  0x00000a6e , 0x00000012 
+ 00023620  0x00005dd1 arg  0x00000010 , 0x00000039 
+ 00023621  0x00005dd2 call  0x00007f88 
+ 00023622  0x00005dd3 branch  0x00005c49 , 0x00000005 
+ 00023623  0x00005dd5 jam  0x0000000b , 0x0000047b 
+ 00023624  0x00005dd6 branch  0x00005b54 
+ 00023625  0x00005dda call  0x00007595 
+ 00023626  0x00005ddb nbranch  0x00005c47 , 0x00000005 
+ 00023627  0x00005ddc jam  0x00000001 , 0x00004429 
+ 00023628  0x00005ddd fetch  0x00000001 , 0x000044c6 
+ 00023629  0x00005dde beq  0x00000081 , 0x00005c35 
+ 00023630  0x00005ddf beq  0x00000083 , 0x00005c35 
+ 00023631  0x00005de0 jam  0x00000002 , 0x000044bf 
+ 00023632  0x00005de1 jam  0x00000007 , 0x000044c1 
+ 00023633  0x00005de2 rtn 
+ 00023634  0x00005de5 fetch  0x00000001 , 0x000044c6 
+ 00023635  0x00005de6 beq  0x00000083 , 0x00005c56 
+ 00023636  0x00005de7 jam  0x00000000 , 0x00004664 
+ 00023637  0x00005de9 branch  0x00005b3d 
+ 00023638  0x00005def jam  0x00000000 , 0x00004663 
+ 00023639  0x00005df0 branch  0x00005b1b 
+ 00023640  0x00005df4 jam  0x00000002 , 0x000044bf 
+ 00023641  0x00005df5 fetch  0x00000001 , 0x000044c3 
+ 00023642  0x00005df6 beq  0x00000003 , 0x00005c5c 
+ 00023643  0x00005df8 rtn 
+ 00023644  0x00005dfb jam  0x00000002 , 0x000044c1 
+ 00023645  0x00005dfc jam  0x00000000 , 0x000009b9 
+ 00023646  0x00005dfd branch  0x00007a99 
+ 00023647  0x00005e00 jam  0x00000002 , 0x000044bf 
+ 00023648  0x00005e01 jam  0x00000003 , 0x000044c1 
+ 00023649  0x00005e02 branch  0x00005bcf 
+ 00023650  0x00005e07 force  0x00000006 , 0x00000012 
+ 00023651  0x00005e08 branch  0x00005847 
+ 00023652  0x00005e0d fetch  0x00000001 , 0x000002db 
+ 00023653  0x00005e0e beq  0x00000000 , 0x00005c7b 
+ 00023654  0x00005e0f beq  0x00000001 , 0x00005c83 
+ 00023655  0x00005e10 beq  0x00000002 , 0x00005c8e 
+ 00023656  0x00005e11 beq  0x00000003 , 0x00005caa 
+ 00023657  0x00005e12 beq  0x00000004 , 0x00005ce1 
+ 00023658  0x00005e13 beq  0x00000005 , 0x00005ce6 
+ 00023659  0x00005e14 beq  0x00000006 , 0x00005cea 
+ 00023660  0x00005e15 beq  0x00000007 , 0x00005cf5 
+ 00023661  0x00005e16 beq  0x00000008 , 0x00005c99 
+ 00023662  0x00005e17 beq  0x00000009 , 0x00005cf5 
+ 00023663  0x00005e18 beq  0x0000000a , 0x00005cef 
+ 00023664  0x00005e19 beq  0x0000000b , 0x00005cf5 
+ 00023665  0x00005e1a beq  0x0000000c , 0x00005c9f 
+ 00023666  0x00005e1b beq  0x0000000d , 0x00005cf5 
+ 00023667  0x00005e1c beq  0x00000012 , 0x00005ca6 
+ 00023668  0x00005e1d beq  0x00000013 , 0x00005cf5 
+ 00023669  0x00005e1e arg  0x00000002 , 0x00000011 
+ 00023670  0x00005e1f arg  0x00000007 , 0x00000012 
+ 00023671  0x00005e20 call  0x00005842 
+ 00023672  0x00005e21 fetch  0x00000001 , 0x000002db 
+ 00023673  0x00005e22 istore  0x00000001 , 0x00000005 
+ 00023674  0x00005e23 rtn 
+ 00023675  0x00005e27 ifetch  0x00000009 , 0x00000006 
+ 00023676  0x00005e28 store  0x00000009 , 0x000043d3 
+ 00023677  0x00005e29 ifetch  0x00000002 , 0x00000006 
+ 00023678  0x00005e2a store  0x00000002 , 0x0000045f 
+ 00023679  0x00005e2b fetch  0x00000001 , 0x0000043f 
+ 00023680  0x00005e2c set1  0x00000005 , 0x0000003f 
+ 00023681  0x00005e2d store  0x00000001 , 0x0000043f 
+ 00023682  0x00005e2e rtn 
+ 00023683  0x00005e31 ifetch  0x00000005 , 0x00000006 
+ 00023684  0x00005e32 store  0x00000005 , 0x000043ce 
+ 00023685  0x00005e33 ifetch  0x00000002 , 0x00000006 
+ 00023686  0x00005e34 store  0x00000002 , 0x0000045f 
+ 00023687  0x00005e35 fetcht  0x00000002 , 0x00000459 
+ 00023688  0x00005e36 isub  0x00000002 , 0x0000003e 
+ 00023689  0x00005e37 nbranch  0x00005c8e , 0x00000002 
+ 00023690  0x00005e38 fetch  0x00000001 , 0x0000043f 
+ 00023691  0x00005e39 set1  0x00000006 , 0x0000003f 
+ 00023692  0x00005e3a store  0x00000001 , 0x0000043f 
+ 00023693  0x00005e3b rtn 
+ 00023694  0x00005e3f setarg  0x00000014 
+ 00023695  0x00005e40 store  0x00000002 , 0x0000046d 
+ 00023696  0x00005e41 store  0x00000002 , 0x000044ba 
+ 00023697  0x00005e42 rtn 
+ 00023698  0x00005e45 arg  0x00000013 , 0x00000013 
+ 00023699  0x00005e49 arg  0x00000002 , 0x00000011 
+ 00023700  0x00005e4a arg  0x00000002 , 0x00000012 
+ 00023701  0x00005e4b call  0x00005842 
+ 00023702  0x00005e4c copy  0x00000013 , 0x0000003f 
+ 00023703  0x00005e4d istore  0x00000001 , 0x00000005 
+ 00023704  0x00005e4e rtn 
+ 00023705  0x00005e53 arg  0x00000009 , 0x00000011 
+ 00023706  0x00005e54 arg  0x00000009 , 0x00000012 
+ 00023707  0x00005e55 call  0x00005842 
+ 00023708  0x00005e56 setarg  0x00000001 
+ 00023709  0x00005e57 istore  0x00000008 , 0x00000005 
+ 00023710  0x00005e58 rtn 
+ 00023711  0x00005e5c rtn  0x00000029 
+ 00023712  0x00005e5e arg  0x00000006 , 0x00000011 
+ 00023713  0x00005e5f arg  0x0000000c , 0x00000012 
+ 00023714  0x00005e60 call  0x00005842 
+ 00023715  0x00005e61 fetch  0x00000005 , 0x00004510 
+ 00023716  0x00005e62 istore  0x00000005 , 0x00000005 
+ 00023717  0x00005e63 rtn 
+ 00023718  0x00005e67 arg  0x00000013 , 0x00000012 
+ 00023719  0x00005e68 branch  0x00005ca8 
+ 00023720  0x00005e6c arg  0x00000001 , 0x00000011 
+ 00023721  0x00005e6d branch  0x00005842 
+ 00023722  0x00005e71 ifetch  0x00000008 , 0x00000006 
+ 00023723  0x00005e72 store  0x00000008 , 0x000044cd 
+ 00023724  0x00005e73 ifetch  0x00000002 , 0x00000006 
+ 00023725  0x00005e74 store  0x00000002 , 0x000044cb 
+ 00023726  0x00005e75 ifetch  0x00000008 , 0x00000006 
+ 00023727  0x00005e76 store  0x00000008 , 0x000044aa 
+ 00023728  0x00005e77 ifetch  0x00000004 , 0x00000006 
+ 00023729  0x00005e78 store  0x00000004 , 0x00004411 
+ 00023730  0x00005e79 call  0x00005ccf 
+ 00023731  0x00005e7a bpatchx  0x0000007a , 0x0000402f 
+ 00023732  0x00005e7b fetch  0x00000001 , 0x000044c4 
+ 00023733  0x00005e7c beq  0x00000005 , 0x00005cbc 
+ 00023734  0x00005e7d fetch  0x00000001 , 0x000044e9 
+ 00023735  0x00005e7e bbit1  0x00000001 , 0x00005cbf 
+ 00023736  0x00005e7f fetch  0x00000001 , 0x00004217 
+ 00023737  0x00005e80 ncall  0x000067be , 0x00000034 
+ 00023738  0x00005e81 fetch  0x00000001 , 0x00004429 
+ 00023739  0x00005e82 beq  0x00000000 , 0x00005cc4 
+ 00023740  0x00005e84 jam  0x00000001 , 0x000044c5 
+ 00023741  0x00005e85 call  0x00005cdd 
+ 00023742  0x00005e86 branch  0x000073a2 
+ 00023743  0x00005e89 jam  0x00000001 , 0x00004429 
+ 00023744  0x00005e8a arg  0x000044ea , 0x00000006 
+ 00023745  0x00005e8b arg  0x00004419 , 0x00000005 
+ 00023746  0x00005e8c call  0x00007ebf 
+ 00023747  0x00005e8d branch  0x00005cbc 
+ 00023748  0x00005e91 bpatchx  0x0000007b , 0x0000402f 
+ 00023749  0x00005e92 jam  0x00000000 , 0x000044c5 
+ 00023750  0x00005e93 jam  0x00000000 , 0x000044c4 
+ 00023751  0x00005e94 jam  0x00000041 , 0x00000a99 
+ 00023752  0x00005e95 branch  0x00007d86 
+ 00023753  0x00005e98 arg  0x00000002 , 0x00000011 
+ 00023754  0x00005e99 arg  0x0000000d , 0x00000012 
+ 00023755  0x00005e9a call  0x00005842 
+ 00023756  0x00005e9b setarg  0x00000006 
+ 00023757  0x00005e9c istore  0x00000001 , 0x00000005 
+ 00023758  0x00005e9d rtn 
+ 00023759  0x00005ea0 arg  0x000044b2 , 0x00000005 
+ 00023760  0x00005ea1 force  0x00000008 , 0x00000039 
+ 00023761  0x00005ea2 call  0x0000630d 
+ 00023762  0x00005ea3 arg  0x00004415 , 0x00000005 
+ 00023763  0x00005ea4 force  0x00000004 , 0x00000039 
+ 00023764  0x00005ea5 call  0x0000630d 
+ 00023765  0x00005ea6 arg  0x0000000d , 0x00000011 
+ 00023766  0x00005ea7 arg  0x00000004 , 0x00000012 
+ 00023767  0x00005ea8 call  0x00005842 
+ 00023768  0x00005ea9 fetch  0x00000008 , 0x000044b2 
+ 00023769  0x00005eaa istore  0x00000008 , 0x00000005 
+ 00023770  0x00005eab fetch  0x00000004 , 0x00004415 
+ 00023771  0x00005eac istore  0x00000004 , 0x00000005 
+ 00023772  0x00005ead rtn 
+ 00023773  0x00005eb0 arg  0x00000005 , 0x00000012 
+ 00023774  0x00005eb1 branch  0x00005ca8 
+ 00023775  0x00005eb4 arg  0x00000006 , 0x00000012 
+ 00023776  0x00005eb5 branch  0x00005ca8 
+ 00023777  0x00005eb9 ifetch  0x00000008 , 0x00000006 
+ 00023778  0x00005eba store  0x00000008 , 0x000044b2 
+ 00023779  0x00005ebb ifetch  0x00000004 , 0x00000006 
+ 00023780  0x00005ebc store  0x00000004 , 0x00004415 
+ 00023781  0x00005ebd branch  0x000073a2 
+ 00023782  0x00005ec0 fetch  0x00000001 , 0x0000043f 
+ 00023783  0x00005ec1 set1  0x00000004 , 0x0000003f 
+ 00023784  0x00005ec2 store  0x00000001 , 0x0000043f 
+ 00023785  0x00005ec3 rtn 
+ 00023786  0x00005ec6 rtn  0x00000029 
+ 00023787  0x00005ec7 jam  0x00000032 , 0x00000a99 
+ 00023788  0x00005ec8 call  0x00007d86 
+ 00023789  0x00005ec9 jam  0x00000004 , 0x000044c5 
+ 00023790  0x00005eca branch  0x00005cdf 
+ 00023791  0x00005ecd jam  0x00000002 , 0x000044c5 
+ 00023792  0x00005ece call  0x00005cf3 
+ 00023793  0x00005ecf jam  0x00000033 , 0x00000a99 
+ 00023794  0x00005ed0 branch  0x00007d86 
+ 00023795  0x00005ed3 arg  0x0000000b , 0x00000012 
+ 00023796  0x00005ed4 branch  0x00005ca8 
+ 00023797  0x00005edc rtn 
+ 00023798  0x00005ee4 rtn  0x0000002b 
+ 00023799  0x00005ee6 bpatchx  0x0000007c , 0x0000402f 
+ 00023800  0x00005ee7 setarg  0x00000000 
+ 00023801  0x00005ee8 store  0x00000001 , 0x00000048 
+ 00023802  0x00005ee9 store  0x00000001 , 0x00000055 
+ 00023803  0x00005eea store  0x00000001 , 0x00000078 
+ 00023804  0x00005eeb store  0x00000001 , 0x0000007c 
+ 00023805  0x00005eec store  0x00000001 , 0x00004158 
+ 00023806  0x00005eed store  0x00000001 , 0x000004d7 
+ 00023807  0x00005eee store  0x00000001 , 0x0000016d 
+ 00023808  0x00005eef store  0x00000001 , 0x000009b5 
+ 00023809  0x00005ef0 jam  0x00000000 , 0x0000455b 
+ 00023810  0x00005ef1 jam  0x00000000 , 0x00000229 
+ 00023811  0x00005ef2 jam  0x00000000 , 0x000004d8 
+ 00023812  0x00005ef4 jam  0x00000000 , 0x000009b5 
+ 00023813  0x00005ef5 jam  0x00000000 , 0x000009b4 
+ 00023814  0x00005ef6 jam  0x00000000 , 0x000004d1 
+ 00023815  0x00005ef9 rtn 
+ 00023816  0x00005efc bpatchx  0x0000007d , 0x0000402f 
+ 00023817  0x00005efd call  0x000062ff , 0x00000029 
+ 00023818  0x00005efe ncall  0x00006303 , 0x00000029 
+ 00023819  0x00005eff call  0x000062bc 
+ 00023820  0x00005f00 nrtn  0x00000034 
+ 00023821  0x00005f01 fetch  0x00000001 , 0x0000004c 
+ 00023822  0x00005f02 rtnbit0  0x00000006 
+ 00023823  0x00005f03 set0  0x00000006 , 0x0000003f 
+ 00023824  0x00005f04 set0  0x00000001 , 0x00000000 
+ 00023825  0x00005f05 store  0x00000001 , 0x0000004c 
+ 00023826  0x00005f06 fetch  0x00000001 , 0x00000551 
+ 00023827  0x00005f07 fetcht  0x00000001 , 0x0000004c 
+ 00023828  0x00005f08 isolate1  0x00000000 , 0x0000003f 
+ 00023829  0x00005f09 setflag  0x00000001 , 0x00000001 , 0x00000002 
+ 00023830  0x00005f0a storet  0x00000001 , 0x0000004c 
+ 00023831  0x00005f0b and_into  0x00000002 , 0x00000002 
+ 00023832  0x00005f0c storet  0x00000001 , 0x0000007f 
+ 00023833  0x00005f0d fetcht  0x00000001 , 0x0000004c 
+ 00023834  0x00005f0e rshift  0x0000003f , 0x0000003f 
+ 00023835  0x00005f0f store  0x00000001 , 0x0000007d 
+ 00023836  0x00005f10 bpatchx  0x0000007e , 0x0000402f 
+ 00023837  0x00005f11 fetch  0x00000001 , 0x0000007d 
+ 00023838  0x00005f12 beq  0x0000007f , 0x00005d66 
+ 00023839  0x00005f13 beq  0x00000003 , 0x00005db1 
+ 00023840  0x00005f14 beq  0x00000004 , 0x00005dc2 
+ 00023841  0x00005f15 beq  0x0000003c , 0x00005d59 
+ 00023842  0x00005f16 beq  0x00000005 , 0x00005d55 
+ 00023843  0x00005f17 beq  0x0000000f , 0x00005fa8 
+ 00023844  0x00005f18 beq  0x00000010 , 0x00005e24 
+ 00023845  0x00005f19 beq  0x00000023 , 0x00005e42 
+ 00023846  0x00005f1a beq  0x00000039 , 0x00005fc1 
+ 00023847  0x00005f1b beq  0x00000038 , 0x00005fbc 
+ 00023848  0x00005f1c beq  0x00000031 , 0x00005e27 
+ 00023849  0x00005f1d beq  0x00000037 , 0x00005eb0 
+ 00023850  0x00005f1e beq  0x00000027 , 0x00005eac 
+ 00023851  0x00005f1f beq  0x00000033 , 0x00005ea9 
+ 00023852  0x00005f20 beq  0x00000025 , 0x00005eae 
+ 00023853  0x00005f21 beq  0x00000026 , 0x00005e3e 
+ 00023854  0x00005f22 beq  0x00000007 , 0x00005e36 
+ 00023855  0x00005f23 beq  0x0000002d , 0x00005e2d 
+ 00023856  0x00005f24 beq  0x0000002e , 0x00005e2e 
+ 00023857  0x00005f25 beq  0x00000001 , 0x00005ea5 
+ 00023858  0x00005f26 beq  0x00000002 , 0x00005e90 
+ 00023859  0x00005f27 beq  0x00000028 , 0x00005fb3 
+ 00023860  0x00005f28 beq  0x00000009 , 0x00005e86 
+ 00023861  0x00005f29 beq  0x0000000b , 0x00005e5f 
+ 00023862  0x00005f2a beq  0x00000008 , 0x00005e43 
+ 00023863  0x00005f2b beq  0x0000000c , 0x00005e6a 
+ 00023864  0x00005f2c beq  0x0000001f , 0x00005e3a 
+ 00023865  0x00005f2d beq  0x00000020 , 0x00005e3c 
+ 00023866  0x00005f2e beq  0x00000021 , 0x00005eca 
+ 00023867  0x00005f2f beq  0x00000022 , 0x00005eca 
+ 00023868  0x00005f30 beq  0x00000035 , 0x00005ecb 
+ 00023869  0x00005f31 beq  0x00000036 , 0x00005ecc 
+ 00023870  0x00005f32 beq  0x00000024 , 0x00005eca 
+ 00023871  0x00005f33 beq  0x00000034 , 0x00005ecd 
+ 00023872  0x00005f34 beq  0x00000017 , 0x00005ed6 
+ 00023873  0x00005f35 beq  0x00000011 , 0x00005ef2 
+ 00023874  0x00005f36 beq  0x00000012 , 0x00005ef6 
+ 00023875  0x00005f37 beq  0x00000013 , 0x00005ef8 
+ 00023876  0x00005f38 beq  0x0000000d , 0x00005f0a 
+ 00023877  0x00005f39 beq  0x0000000e , 0x00005f0a 
+ 00023878  0x00005f3a beq  0x0000002f , 0x00005eaa 
+ 00023879  0x00005f3b beq  0x00000030 , 0x00005f0a 
+ 00023880  0x00005f3c beq  0x0000000a , 0x00005f0a 
+ 00023881  0x00005f3d beq  0x00000018 , 0x00005f0b 
+ 00023882  0x00005f3e beq  0x00000032 , 0x00005f0a 
+ 00023883  0x00005f3f beq  0x0000003d , 0x00005f10 
+ 00023884  0x00005f40 beq  0x0000003e , 0x00005f51 
+ 00023885  0x00005f41 beq  0x0000003f , 0x00005f4b 
+ 00023886  0x00005f42 beq  0x00000040 , 0x00005f78 
+ 00023887  0x00005f43 beq  0x00000041 , 0x00005f8a 
+ 00023888  0x00005f44 beq  0x00000006 , 0x00005fa7 
+ 00023889  0x00005f45 beq  0x0000003a , 0x00005d57 
+ 00023890  0x00005f49 jam  0x00000019 , 0x0000007e 
+ 00023891  0x00005f4b jam  0x00000004 , 0x0000007c 
+ 00023892  0x00005f4c rtn 
+ 00023893  0x00005f4f jam  0x00000006 , 0x0000007c 
+ 00023894  0x00005f50 rtn 
+ 00023895  0x00005f53 jam  0x0000003b , 0x0000007c 
+ 00023896  0x00005f54 rtn 
+ 00023897  0x00005f57 fetch  0x00000004 , 0x00000552 
+ 00023898  0x00005f58 lshift  0x0000003f , 0x0000003f 
+ 00023899  0x00005f59 store  0x00000004 , 0x000040d2 
+ 00023900  0x00005f5a fetch  0x00000001 , 0x00000556 
+ 00023901  0x00005f5b store  0x00000001 , 0x000040d9 
+ 00023902  0x00005f5c fetch  0x00000005 , 0x00000557 
+ 00023903  0x00005f5d store  0x00000005 , 0x000040e7 
+ 00023904  0x00005f5e fetch  0x00000005 , 0x0000055c 
+ 00023905  0x00005f5f istore  0x00000005 , 0x00000005 
+ 00023906  0x00005f60 fetch  0x00000001 , 0x00000031 
+ 00023907  0x00005f61 set1  0x00000003 , 0x0000003f 
+ 00023908  0x00005f62 store  0x00000001 , 0x00000031 
+ 00023909  0x00005f63 rtn 
+ 00023910  0x00005f65 bpatchx  0x0000007f , 0x0000402f 
+ 00023911  0x00005f66 fetch  0x00000001 , 0x00000552 
+ 00023912  0x00005f67 set1  0x00000007 , 0x0000003f 
+ 00023913  0x00005f68 store  0x00000001 , 0x0000007d 
+ 00023914  0x00005f69 beq  0x00000081 , 0x00005d88 
+ 00023915  0x00005f6a beq  0x00000082 , 0x00005d8d 
+ 00023916  0x00005f6b beq  0x00000095 , 0x00005eb1 
+ 00023917  0x00005f6c beq  0x00000096 , 0x00005eca 
+ 00023918  0x00005f6d beq  0x0000008b , 0x00005ebf 
+ 00023919  0x00005f6e beq  0x00000083 , 0x00005da5 
+ 00023920  0x00005f6f beq  0x00000084 , 0x00005da7 
+ 00023921  0x00005f70 beq  0x00000090 , 0x00005d7a 
+ 00023922  0x00005f71 beq  0x00000097 , 0x00005d9e 
+ 00023923  0x00005f72 beq  0x00000098 , 0x00005da3 
+ 00023924  0x00005f73 beq  0x00000099 , 0x00005d7d 
+ 00023925  0x00005f74 beq  0x0000009a , 0x00005d80 
+ 00023926  0x00005f75 rtneq  0x00000084 
+ 00023927  0x00005f79 jam  0x00000082 , 0x0000007c 
+ 00023928  0x00005f7a jam  0x00000019 , 0x0000007e 
+ 00023929  0x00005f7c rtn 
+ 00023930  0x00005f7e jam  0x00000082 , 0x0000007c 
+ 00023931  0x00005f7f jam  0x0000002e , 0x0000007e 
+ 00023932  0x00005f80 rtn 
+ 00023933  0x00005f83 call  0x00005d82 
+ 00023934  0x00005f84 jam  0x0000009a , 0x0000007c 
+ 00023935  0x00005f85 rtn 
+ 00023936  0x00005f88 call  0x00005d82 
+ 00023937  0x00005f89 branch  0x00005d86 
+ 00023938  0x00005f8c arg  0x0000465e , 0x00000005 
+ 00023939  0x00005f8d fetch  0x00000003 , 0x00000553 
+ 00023940  0x00005f8e istore  0x00000003 , 0x00000005 
+ 00023941  0x00005f8f rtn 
+ 00023942  0x00005f92 branch  0x000076d8 , 0x00000001 
+ 00023943  0x00005f93 rtn 
+ 00023944  0x00005f95 fetch  0x00000001 , 0x00000554 
+ 00023945  0x00005f96 set1  0x00000007 , 0x0000003f 
+ 00023946  0x00005f97 store  0x00000001 , 0x000004c9 
+ 00023947  0x00005f98 beq  0x0000008b , 0x00005d92 
+ 00023948  0x00005f99 rtn 
+ 00023949  0x00005f9d fetch  0x00000001 , 0x00000554 
+ 00023950  0x00005f9e set1  0x00000007 , 0x0000003f 
+ 00023951  0x00005f9f store  0x00000001 , 0x000004c9 
+ 00023952  0x00005fa0 beq  0x0000008b , 0x00005d96 
+ 00023953  0x00005fa1 rtn 
+ 00023954  0x00005fa4 fetch  0x00000001 , 0x0000415a 
+ 00023955  0x00005fa5 fetcht  0x00000001 , 0x0000004c 
+ 00023956  0x00005fa6 nsetflag  0x00000034 , 0x00000005 , 0x00000002 
+ 00023957  0x00005fa7 storet  0x00000001 , 0x0000004c 
+ 00023958  0x00005fa9 fetch  0x00000001 , 0x00000030 
+ 00023959  0x00005faa rtnbit0  0x00000005 
+ 00023960  0x00005fab set0  0x00000005 , 0x0000003f 
+ 00023961  0x00005fac store  0x00000001 , 0x00000030 
+ 00023962  0x00005fad fetch  0x00000001 , 0x000004d7 
+ 00023963  0x00005fae nrtn  0x00000034 
+ 00023964  0x00005faf jam  0x00000031 , 0x0000007c 
+ 00023965  0x00005fb0 rtn 
+ 00023966  0x00005fb3 nbranch  0x00005da1 , 0x00000029 
+ 00023967  0x00005fb4 jam  0x00000012 , 0x0000007c 
+ 00023968  0x00005fb5 branch  0x000062eb 
+ 00023969  0x00005fb8 jam  0x00000097 , 0x0000007c 
+ 00023970  0x00005fb9 rtn 
+ 00023971  0x00005fbe call  0x000062eb 
+ 00023972  0x00005fbf branch  0x00005ffe 
+ 00023973  0x00005fc2 jam  0x00000084 , 0x0000007c 
+ 00023974  0x00005fc3 rtn 
+ 00023975  0x00005fc6 fetcht  0x00000001 , 0x00000555 
+ 00023976  0x00005fc7 and  0x00000002 , 0x00000001 , 0x00000002 
+ 00023977  0x00005fc8 storet  0x00000001 , 0x000004d0 
+ 00023978  0x00005fc9 fetch  0x00000001 , 0x000041ce 
+ 00023979  0x00005fca bne  0x00000051 , 0x00005dad 
+ 00023980  0x00005fcb jam  0x00000000 , 0x000041ce 
+ 00023981  0x00005fcd fetch  0x00000001 , 0x00000055 
+ 00023982  0x00005fce rtnne  0x00000015 
+ 00023983  0x00005fcf jam  0x00000004 , 0x00000055 
+ 00023984  0x00005fd0 branch  0x0000631b 
+ 00023985  0x00005fd3 bpatchx  0x00000080 , 0x00004030 
+ 00023986  0x00005fd4 fetch  0x00000001 , 0x00000552 
+ 00023987  0x00005fd5 store  0x00000001 , 0x000004c9 
+ 00023988  0x00005fd6 beq  0x00000033 , 0x00005dd8 
+ 00023989  0x00005fd7 beq  0x00000008 , 0x00005de7 
+ 00023990  0x00005fd8 beq  0x0000000f , 0x00005dee 
+ 00023991  0x00005fd9 beq  0x00000010 , 0x00005df4 
+ 00023992  0x00005fda beq  0x00000011 , 0x00005df5 
+ 00023993  0x00005fdb beq  0x00000012 , 0x00005dfd 
+ 00023994  0x00005fdc beq  0x00000018 , 0x00005e13 
+ 00023995  0x00005fdd beq  0x00000017 , 0x00005e16 
+ 00023996  0x00005fde beq  0x00000013 , 0x00005dcf 
+ 00023997  0x00005fe0 beq  0x0000003d , 0x00005f1e 
+ 00023998  0x00005fe1 beq  0x0000003e , 0x00005f6a 
+ 00023999  0x00005fe2 beq  0x00000040 , 0x00005f20 
+ 00024000  0x00005fe3 beq  0x00000041 , 0x00005f3d 
+ 00024001  0x00005fe4 rtn 
+ 00024002  0x00005fe7 bpatchx  0x00000081 , 0x00004030 
+ 00024003  0x00005fe8 fetch  0x00000001 , 0x00000552 
+ 00024004  0x00005fe9 store  0x00000001 , 0x000004c9 
+ 00024005  0x00005fea beq  0x00000001 , 0x00005e0a 
+ 00024006  0x00005feb beq  0x00000033 , 0x00005de2 
+ 00024007  0x00005fec beq  0x0000000b , 0x00005dfe 
+ 00024008  0x00005fed beq  0x00000008 , 0x00005e01 
+ 00024009  0x00005fee beq  0x00000013 , 0x00005dd2 
+ 00024010  0x00005ff0 beq  0x00000040 , 0x00005e0b 
+ 00024011  0x00005ff1 beq  0x00000041 , 0x00005e0e 
+ 00024012  0x00005ff2 beq  0x00000018 , 0x00005e11 
+ 00024013  0x00005ff3 beq  0x00000017 , 0x00005e22 
+ 00024014  0x00005ff4 rtn 
+ 00024015  0x00005ff7 jam  0x00000020 , 0x00000a99 
+ 00024016  0x00005ff8 call  0x00007d86 
+ 00024017  0x00005ff9 branch  0x000021dc 
+ 00024018  0x00005ffb jam  0x00000019 , 0x00000a99 
+ 00024019  0x00005ffc call  0x00007d86 
+ 00024020  0x00005ffd jam  0x00000002 , 0x0000455b 
+ 00024021  0x00005ffe setarg  0x00000050 
+ 00024022  0x00005fff arg  0x00000006 , 0x00000007 
+ 00024023  0x00006000 branch  0x00007f08 
+ 00024024  0x00006006 fetch  0x00000001 , 0x000004d1 
+ 00024025  0x00006007 set1  0x00000000 , 0x0000003f 
+ 00024026  0x00006008 store  0x00000001 , 0x000004d1 
+ 00024027  0x00006009 jam  0x00000001 , 0x00000a99 
+ 00024028  0x0000600a call  0x00007d86 
+ 00024029  0x0000600b jam  0x0000008b , 0x0000007c 
+ 00024030  0x0000600f fetch  0x00000001 , 0x00000055 
+ 00024031  0x00006010 bne  0x00000005 , 0x00005d07 
+ 00024032  0x00006013 jam  0x00000006 , 0x00000055 
+ 00024033  0x00006014 rtn 
+ 00024034  0x0000601d jam  0x0000000b , 0x000004ca 
+ 00024035  0x0000601e jam  0x00000007 , 0x0000007c 
+ 00024036  0x00006020 jam  0x00000000 , 0x00000055 
+ 00024037  0x00006022 branch  0x00005d07 , 0x00000001 
+ 00024038  0x00006023 rtn 
+ 00024039  0x00006026 fetch  0x00000001 , 0x000041bd 
+ 00024040  0x00006027 nrtn  0x00000034 
+ 00024041  0x00006028 call  0x0000244f 
+ 00024042  0x00006029 call  0x00005ffc 
+ 00024043  0x0000602a rtn  0x00000029 
+ 00024044  0x0000602b set1  0x00000021 , 0x00000000 
+ 00024045  0x0000602c rtn 
+ 00024046  0x0000602f nrtn  0x00000029 
+ 00024047  0x00006030 jam  0x00000010 , 0x0000007c 
+ 00024048  0x00006031 fetch  0x00000001 , 0x0000004c 
+ 00024049  0x00006032 rtnbit0  0x00000002 
+ 00024050  0x00006033 jam  0x00000012 , 0x0000007c 
+ 00024051  0x00006034 rtn 
+ 00024052  0x00006037 branch  0x00005ffe 
+ 00024053  0x0000603a call  0x00006059 
+ 00024054  0x0000603b fetch  0x00000001 , 0x00000030 
+ 00024055  0x0000603c rtnbit1  0x00000004 
+ 00024056  0x0000603d jam  0x00000031 , 0x0000007c 
+ 00024057  0x0000603e fetch  0x00000001 , 0x00000055 
+ 00024058  0x0000603f rtnne  0x0000000a 
+ 00024059  0x00006040 jam  0x0000000b , 0x00000055 
+ 00024060  0x00006041 rtn 
+ 00024061  0x0000604b rtn 
+ 00024062  0x0000604f jam  0x00000007 , 0x0000007c 
+ 00024063  0x00006050 jam  0x00000013 , 0x000004ca 
+ 00024064  0x00006051 rtn 
+ 00024065  0x00006054 fetch  0x00000001 , 0x00000553 
+ 00024066  0x00006055 beq  0x00000006 , 0x00005e07 
+ 00024067  0x00006056 rtnne  0x00000018 
+ 00024068  0x00006057 jam  0x00000018 , 0x000004ca 
+ 00024069  0x00006058 jam  0x00000007 , 0x0000007c 
+ 00024070  0x00006059 rtn 
+ 00024071  0x0000605b jam  0x00000006 , 0x000004ca 
+ 00024072  0x0000605c jam  0x00000007 , 0x0000007c 
+ 00024073  0x0000605d rtn 
+ 00024074  0x00006060 rtn 
+ 00024075  0x00006063 jam  0x00000000 , 0x000009ae 
+ 00024076  0x00006064 jam  0x00000007 , 0x0000007c 
+ 00024077  0x00006065 branch  0x00005d07 
+ 00024078  0x00006068 jam  0x00000000 , 0x000009ae 
+ 00024079  0x00006069 jam  0x00000007 , 0x0000007c 
+ 00024080  0x0000606a branch  0x00005d07 
+ 00024081  0x0000606c jam  0x00000024 , 0x00000a99 
+ 00024082  0x0000606d branch  0x00007d86 
+ 00024083  0x00006070 jam  0x00000023 , 0x00000a99 
+ 00024084  0x00006071 call  0x00007d86 
+ 00024085  0x00006072 branch  0x000026e9 
+ 00024086  0x00006075 jam  0x00000022 , 0x00000a99 
+ 00024087  0x00006076 call  0x00007d86 
+ 00024088  0x00006077 setarg  0x00000000 
+ 00024089  0x00006078 store  0x00000002 , 0x00000075 
+ 00024090  0x00006079 fetch  0x00000002 , 0x000041e3 
+ 00024091  0x0000607a lshift  0x0000003f , 0x0000003f 
+ 00024092  0x0000607b store  0x00000002 , 0x00000032 
+ 00024093  0x0000607c fetch  0x00000001 , 0x000041e5 
+ 00024094  0x0000607d store  0x00000001 , 0x00000073 
+ 00024095  0x0000607e fetch  0x00000001 , 0x000041e7 
+ 00024096  0x0000607f store  0x00000001 , 0x00000074 
+ 00024097  0x00006080 branch  0x000026c6 
+ 00024098  0x00006083 jam  0x00000021 , 0x00000a99 
+ 00024099  0x00006084 branch  0x00007d86 
+ 00024100  0x00006087 fetcht  0x00000001 , 0x00000552 
+ 00024101  0x00006088 storet  0x00000001 , 0x00000054 
+ 00024102  0x00006089 branch  0x00005e38 
+ 00024103  0x0000608c fetch  0x00000001 , 0x000004d1 
+ 00024104  0x0000608d set1  0x00000002 , 0x0000003f 
+ 00024105  0x0000608e store  0x00000001 , 0x000004d1 
+ 00024106  0x0000608f rtnbit1  0x00000003 
+ 00024107  0x00006090 jam  0x00000031 , 0x0000007c 
+ 00024108  0x00006091 branch  0x00005d07 
+ 00024109  0x00006096 rtn 
+ 00024110  0x00006099 fetch  0x00000001 , 0x000040d0 
+ 00024111  0x0000609a fetcht  0x00000001 , 0x00000552 
+ 00024112  0x0000609b isub  0x00000002 , 0x0000003e 
+ 00024113  0x0000609d branch  0x00005e38 , 0x00000002 
+ 00024114  0x0000609e jam  0x00000004 , 0x0000007c 
+ 00024115  0x0000609f jam  0x0000001f , 0x0000007e 
+ 00024116  0x000060a0 jam  0x0000002e , 0x0000007d 
+ 00024117  0x000060a1 rtn 
+ 00024118  0x000060a4 call  0x00006157 
+ 00024119  0x000060a5 branch  0x00005e38 
+ 00024120  0x000060a8 jam  0x00000003 , 0x0000007c 
+ 00024121  0x000060a9 rtn 
+ 00024122  0x000060ac jam  0x00000021 , 0x0000007c 
+ 00024123  0x000060ad rtn 
+ 00024124  0x000060b0 jam  0x00000022 , 0x0000007c 
+ 00024125  0x000060b1 rtn 
+ 00024126  0x000060b4 fetch  0x00000001 , 0x00000055 
+ 00024127  0x000060b5 rtneq  0x00000013 
+ 00024128  0x000060b7 jam  0x00000002 , 0x00000055 
+ 00024129  0x000060b9 rtn 
+ 00024130  0x000060bd rtn 
+ 00024131  0x000060c0 call  0x00005ff9 
+ 00024132  0x000060c1 jam  0x00000001 , 0x000004d4 
+ 00024133  0x000060c2 jam  0x0000000a , 0x00000a99 
+ 00024134  0x000060c3 call  0x00007d86 
+ 00024135  0x000060c5 call  0x000062f3 
+ 00024136  0x000060c6 nbranch  0x00006001 , 0x00000001 
+ 00024137  0x000060c8 nbranch  0x00005e4e , 0x00000029 
+ 00024138  0x000060c9 jam  0x00000004 , 0x0000007c 
+ 00024139  0x000060ca jam  0x00000008 , 0x0000007d 
+ 00024140  0x000060cb jam  0x00000023 , 0x0000007e 
+ 00024141  0x000060cc rtn 
+ 00024142  0x000060ce fetch  0x00000001 , 0x0000004b 
+ 00024143  0x000060cf set1  0x00000002 , 0x0000003f 
+ 00024144  0x000060d0 store  0x00000001 , 0x0000004b 
+ 00024145  0x000060d1 rtn 
+ 00024146  0x000060d5 fetcht  0x00000001 , 0x0000004c 
+ 00024147  0x000060d6 nsetflag  0x00000034 , 0x00000001 , 0x00000002 
+ 00024148  0x000060d7 storet  0x00000001 , 0x0000004c 
+ 00024149  0x000060d8 rtn 
+ 00024150  0x000060dc fetch  0x00000001 , 0x0000007f 
+ 00024151  0x000060dd rshift  0x0000003f , 0x0000003f 
+ 00024152  0x000060de and_into  0x00000001 , 0x0000003f 
+ 00024153  0x000060df rtn 
+ 00024154  0x000060e2 fetch  0x00000001 , 0x00004217 
+ 00024155  0x000060e3 rtn  0x00000034 
+ 00024156  0x000060e4 fetch  0x00000001 , 0x000009b5 
+ 00024157  0x000060e5 call  0x000067b2 , 0x00000034 
+ 00024158  0x000060e6 rtn 
+ 00024159  0x000060e9 call  0x00005e5a 
+ 00024160  0x000060ea call  0x00005e56 
+ 00024161  0x000060eb store  0x00000001 , 0x000004d5 
+ 00024162  0x000060ec call  0x00005ff9 
+ 00024163  0x000060ed jam  0x0000000c , 0x0000007c 
+ 00024164  0x000060ee fetch  0x00000001 , 0x000041bd 
+ 00024165  0x000060ef nrtn  0x00000034 
+ 00024166  0x000060f0 fetch  0x00000001 , 0x00000030 
+ 00024167  0x000060f1 rtnbit1  0x00000006 
+ 00024168  0x000060f2 jam  0x00000006 , 0x0000007e 
+ 00024169  0x000060f3 branch  0x00005d53 
+ 00024170  0x000060f6 arg  0x00000040 , 0x00000011 
+ 00024171  0x000060f7 call  0x00007288 
+ 00024172  0x000060f8 fetch  0x00000004 , 0x00000552 
+ 00024173  0x000060f9 fetcht  0x00000004 , 0x00000592 
+ 00024174  0x000060fa isub  0x00000002 , 0x0000003e 
+ 00024175  0x000060fb branch  0x00005e73 , 0x00000005 
+ 00024176  0x000060fc jam  0x00000007 , 0x0000007c 
+ 00024177  0x000060fd jam  0x00000005 , 0x000004ca 
+ 00024178  0x000060fe rtn 
+ 00024179  0x00006100 call  0x00005e77 
+ 00024180  0x00006101 fetch  0x00000001 , 0x0000465a 
+ 00024181  0x00006102 branch  0x00005f3e , 0x00000034 
+ 00024182  0x00006103 rtn 
+ 00024183  0x00006107 call  0x00007386 
+ 00024184  0x00006108 call  0x000021b2 
+ 00024185  0x00006109 fetch  0x00000001 , 0x0000004b 
+ 00024186  0x0000610a isolate1  0x00000001 , 0x0000003f 
+ 00024187  0x0000610b set0  0x00000001 , 0x0000003f 
+ 00024188  0x0000610c store  0x00000001 , 0x0000004b 
+ 00024189  0x0000610d fetch  0x00000001 , 0x00000055 
+ 00024190  0x0000610e beq  0x00000019 , 0x00005e81 
+ 00024191  0x0000610f beq  0x00000018 , 0x00005e81 
+ 00024192  0x00006110 rtn 
+ 00024193  0x00006112 fetch  0x00000001 , 0x000009b5 
+ 00024194  0x00006113 rtnne  0x00000000 
+ 00024195  0x00006114 fetch  0x00000001 , 0x0000004c 
+ 00024196  0x00006115 rtnbit1  0x00000002 
+ 00024197  0x00006116 branch  0x000063b1 
+ 00024198  0x00006119 arg  0x00000552 , 0x00000011 
+ 00024199  0x0000611a arg  0x00000582 , 0x00000012 
+ 00024200  0x0000611b arg  0x00000562 , 0x00000005 
+ 00024201  0x0000611c call  0x00007352 
+ 00024202  0x0000611d arg  0x00000040 , 0x00000011 
+ 00024203  0x0000611e call  0x00006311 
+ 00024204  0x0000611f jam  0x0000000b , 0x0000007c 
+ 00024205  0x00006120 fetch  0x00000001 , 0x00000030 
+ 00024206  0x00006121 bbit0  0x00000006 , 0x00005ffc 
+ 00024207  0x00006122 rtn 
+ 00024208  0x00006125 fetch  0x00000002 , 0x0000015f 
+ 00024209  0x00006126 add  0x0000003f , 0xfffffffd , 0x00000039 
+ 00024210  0x00006127 fetcht  0x00000001 , 0x00000552 
+ 00024211  0x00006128 setarg  0x00000101 
+ 00024212  0x00006129 iadd  0x00000002 , 0x00000005 
+ 00024213  0x0000612a arg  0x00000554 , 0x00000006 
+ 00024214  0x0000612b call  0x00007f01 
+ 00024215  0x0000612c fetcht  0x00000001 , 0x00000053 
+ 00024216  0x0000612d fetch  0x00000001 , 0x00000553 
+ 00024217  0x0000612e isub  0x00000002 , 0x0000003f 
+ 00024218  0x0000612f sub  0x0000003f , 0x0000000e , 0x0000003e 
+ 00024219  0x00006130 branch  0x00005ea0 , 0x00000002 
+ 00024220  0x00006131 add  0x00000002 , 0x0000000e , 0x0000003f 
+ 00024221  0x00006132 store  0x00000001 , 0x00000053 
+ 00024222  0x00006133 jam  0x00000001 , 0x0000007c 
+ 00024223  0x00006134 rtn 
+ 00024224  0x00006136 fetch  0x00000001 , 0x0000004c 
+ 00024225  0x00006137 set1  0x00000003 , 0x0000003f 
+ 00024226  0x00006138 store  0x00000001 , 0x0000004c 
+ 00024227  0x00006139 bbit1  0x00000004 , 0x00006006 
+ 00024228  0x0000613a rtn 
+ 00024229  0x0000613c fetch  0x00000001 , 0x00000552 
+ 00024230  0x0000613d store  0x00000001 , 0x0000007d 
+ 00024231  0x0000613e jam  0x00000002 , 0x0000007c 
+ 00024232  0x0000613f rtn 
+ 00024233  0x00006142 branch  0x00005e38 
+ 00024234  0x00006145 jam  0x00000030 , 0x0000007c 
+ 00024235  0x00006146 rtn 
+ 00024236  0x00006149 jam  0x00000028 , 0x0000007c 
+ 00024237  0x0000614a rtn 
+ 00024238  0x0000614d jam  0x00000026 , 0x0000007c 
+ 00024239  0x0000614e rtn 
+ 00024240  0x00006153 rtn 
+ 00024241  0x00006158 fetch  0x00000002 , 0x00000032 
+ 00024242  0x00006159 iforce  0x00000002 
+ 00024243  0x0000615a fetch  0x00000001 , 0x00000553 
+ 00024244  0x0000615b store  0x00000001 , 0x00000095 
+ 00024245  0x0000615c imul32  0x00000002 , 0x00000002 
+ 00024246  0x0000615d fetch  0x00000002 , 0x00000554 
+ 00024247  0x0000615e lshift  0x0000003f , 0x0000003f 
+ 00024248  0x0000615f store  0x00000002 , 0x00000096 
+ 00024249  0x00006160 fetch  0x00000004 , 0x00000556 
+ 00024250  0x00006161 lshift  0x0000003f , 0x0000003f 
+ 00024251  0x00006162 store  0x00000004 , 0x00000091 
+ 00024252  0x00006164 deposit  0x00000002 
+ 00024253  0x00006165 store  0x00000002 , 0x00000098 
+ 00024254  0x00006166 rtn 
+ 00024255  0x00006168 fetcht  0x00000001 , 0x0000415a 
+ 00024256  0x00006169 fetch  0x00000001 , 0x00000553 
+ 00024257  0x0000616a ixor  0x00000002 , 0x0000003e 
+ 00024258  0x0000616b nbranch  0x00005d77 , 0x00000005 
+ 00024259  0x0000616c isolate1  0x00000000 , 0x0000003f 
+ 00024260  0x0000616d fetch  0x00000001 , 0x0000004c 
+ 00024261  0x0000616e setflag  0x00000001 , 0x00000005 , 0x0000003f 
+ 00024262  0x0000616f store  0x00000001 , 0x0000004c 
+ 00024263  0x00006170 jam  0x00000081 , 0x0000007c 
+ 00024264  0x00006171 jam  0x0000008b , 0x0000007d 
+ 00024265  0x00006172 rtn 
+ 00024266  0x00006179 rtn 
+ 00024267  0x0000617c branch  0x00005e38 
+ 00024268  0x00006180 branch  0x00005e38 
+ 00024269  0x00006185 fetch  0x00000002 , 0x00000552 
+ 00024270  0x00006186 store  0x00000002 , 0x00000171 
+ 00024271  0x00006187 rtn 
+ 00024272  0x0000618a fetch  0x00000002 , 0x00000555 
+ 00024273  0x0000618b fetcht  0x00000001 , 0x00004172 
+ 00024274  0x0000618c imul32  0x00000002 , 0x0000003f 
+ 00024275  0x0000618d arg  0x00000640 , 0x00000002 
+ 00024276  0x0000618e isub  0x00000002 , 0x0000003e 
+ 00024277  0x00006190 rtn 
+ 00024278  0x00006193 fetch  0x00000002 , 0x00000557 
+ 00024279  0x00006194 branch  0x00005ef0 , 0x00000034 
+ 00024280  0x00006195 call  0x00005ed0 
+ 00024281  0x00006196 branch  0x00005ef0 , 0x00000002 
+ 00024282  0x00006197 fetch  0x00000001 , 0x00004092 
+ 00024283  0x00006198 sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00024284  0x00006199 call  0x00003cd5 , 0x00000005 
+ 00024285  0x0000619a fetch  0x00000001 , 0x00000030 
+ 00024286  0x0000619b bbit1  0x00000001 , 0x00005ef0 
+ 00024287  0x0000619c fetch  0x00000002 , 0x00000553 
+ 00024288  0x0000619d lshift  0x0000003f , 0x0000003f 
+ 00024289  0x0000619e store  0x00000002 , 0x00000075 
+ 00024290  0x0000619f fetch  0x00000002 , 0x00000555 
+ 00024291  0x000061a0 lshift  0x0000003f , 0x0000003f 
+ 00024292  0x000061a1 store  0x00000002 , 0x00000032 
+ 00024293  0x000061a2 fetch  0x00000002 , 0x00000557 
+ 00024294  0x000061a3 store  0x00000001 , 0x00000073 
+ 00024295  0x000061a4 iforce  0x00000002 
+ 00024296  0x000061a5 fetch  0x00000002 , 0x00000559 
+ 00024297  0x000061a6 store  0x00000001 , 0x00000074 
+ 00024298  0x000061a7 isub  0x00000002 , 0x0000003e 
+ 00024299  0x000061a8 nbranch  0x00005eed , 0x00000002 
+ 00024300  0x000061a9 store  0x00000001 , 0x00000073 
+ 00024301  0x000061ac jam  0x00000003 , 0x0000007c 
+ 00024302  0x000061ad jam  0x00000017 , 0x0000007d 
+ 00024303  0x000061ae rtn 
+ 00024304  0x000061b1 jam  0x00000024 , 0x0000007e 
+ 00024305  0x000061b2 branch  0x00005d53 
+ 00024306  0x000061b5 call  0x00005e38 
+ 00024307  0x000061b6 call  0x00005ff9 
+ 00024308  0x000061b7 call  0x0000728b 
+ 00024309  0x000061b8 branch  0x000026b8 
+ 00024310  0x000061bb call  0x00005e38 
+ 00024311  0x000061bc branch  0x000026c0 
+ 00024312  0x000061c0 fetch  0x00000004 , 0x00000552 
+ 00024313  0x000061c1 lshift  0x0000003f , 0x0000003f 
+ 00024314  0x000061c3 branch  0x00005f04 , 0x00000029 
+ 00024315  0x000061c4 fetcht  0x00000001 , 0x000041bd 
+ 00024316  0x000061c5 nbranch  0x00005f01 , 0x00000034 
+ 00024317  0x000061c7 jam  0x00000004 , 0x0000007c 
+ 00024318  0x000061c8 jam  0x00000013 , 0x0000007d 
+ 00024319  0x000061c9 jam  0x00000024 , 0x0000007e 
+ 00024320  0x000061ca rtn 
+ 00024321  0x000061cc jam  0x00000034 , 0x0000007c 
+ 00024322  0x000061cd jam  0x00000000 , 0x00000055 
+ 00024323  0x000061ce branch  0x000021d9 
+ 00024324  0x000061d1 call  0x000021d9 
+ 00024325  0x000061d2 set1  0x00000022 , 0x00000000 
+ 00024326  0x000061d3 fetch  0x00000001 , 0x0000016d 
+ 00024327  0x000061d4 set0  0x00000002 , 0x0000003f 
+ 00024328  0x000061d5 store  0x00000001 , 0x0000016d 
+ 00024329  0x000061d6 branch  0x00005e38 
+ 00024330  0x000061df rtn 
+ 00024331  0x000061e3 jam  0x00000003 , 0x0000007c 
+ 00024332  0x000061e4 jam  0x00000018 , 0x0000007d 
+ 00024333  0x000061e5 jam  0x0000002e , 0x00000a99 
+ 00024334  0x000061e6 call  0x00007d86 
+ 00024335  0x000061e7 branch  0x000026e9 
+ 00024336  0x000061ea fetch  0x00000001 , 0x00000552 
+ 00024337  0x000061eb bne  0x00000001 , 0x00005f1c 
+ 00024338  0x000061ec fetch  0x00000001 , 0x00000553 
+ 00024339  0x000061ed bne  0x00000001 , 0x00005f1c 
+ 00024340  0x000061ee fetch  0x00000001 , 0x00000554 
+ 00024341  0x000061ef bne  0x00000030 , 0x00005f1c 
+ 00024342  0x000061f0 call  0x000062fc 
+ 00024343  0x000061f1 branch  0x00005f19 , 0x00000001 
+ 00024344  0x000061f2 jam  0x00000001 , 0x000009ae 
+ 00024345  0x000061f4 jam  0x00000003 , 0x0000007c 
+ 00024346  0x000061f5 jam  0x0000003d , 0x0000007d 
+ 00024347  0x000061f6 branch  0x00005d07 
+ 00024348  0x000061f9 jam  0x00000024 , 0x0000007e 
+ 00024349  0x000061fa branch  0x00005d53 
+ 00024350  0x000061ff jam  0x0000003e , 0x0000007c 
+ 00024351  0x00006201 rtn 
+ 00024352  0x00006203 fetch  0x00000001 , 0x00004662 
+ 00024353  0x00006204 beq  0x00000001 , 0x00005f27 
+ 00024354  0x00006205 beq  0x00000002 , 0x00005f2b 
+ 00024355  0x00006207 call  0x000062fc 
+ 00024356  0x00006208 rtn  0x00000001 
+ 00024357  0x00006209 jam  0x00000008 , 0x000009ae 
+ 00024358  0x0000620a rtn 
+ 00024359  0x0000620d call  0x00007962 
+ 00024360  0x0000620e jam  0x00000035 , 0x00000a99 
+ 00024361  0x0000620f call  0x00007d86 
+ 00024362  0x00006210 branch  0x00005f23 
+ 00024363  0x00006214 call  0x000062fc 
+ 00024364  0x00006215 rtn  0x00000001 
+ 00024365  0x00006216 fetch  0x00000001 , 0x00004663 
+ 00024366  0x00006217 beq  0x00000013 , 0x00005f3b 
+ 00024367  0x00006218 increase  0x00000001 , 0x0000003f 
+ 00024368  0x00006219 store  0x00000001 , 0x00004663 
+ 00024369  0x0000621d jam  0x00000001 , 0x000009b0 
+ 00024370  0x0000621e jam  0x00000004 , 0x000009ae 
+ 00024371  0x0000621f fetch  0x00000001 , 0x00004663 
+ 00024372  0x00006220 copy  0x0000003f , 0x00000007 
+ 00024373  0x00006221 fetch  0x00000006 , 0x0000468a 
+ 00024374  0x00006222 qisolate1  0x0000003f 
+ 00024375  0x00006223 setarg  0x00000080 
+ 00024376  0x00006224 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00024377  0x00006225 store  0x00000001 , 0x00004664 
+ 00024378  0x00006226 rtn 
+ 00024379  0x00006229 jam  0x00000008 , 0x000009ae 
+ 00024380  0x0000622a rtn 
+ 00024381  0x0000622d call  0x00005f43 
+ 00024382  0x0000622f fetch  0x00000001 , 0x00004665 
+ 00024383  0x00006230 rtn  0x00000034 
+ 00024384  0x00006231 jam  0x00000000 , 0x00004665 
+ 00024385  0x00006232 jam  0x00000038 , 0x00000a99 
+ 00024386  0x00006233 branch  0x00007d86 
+ 00024387  0x00006238 call  0x000062fc 
+ 00024388  0x00006239 ncall  0x00007965 , 0x00000001 
+ 00024389  0x0000623a call  0x00007975 , 0x00000001 
+ 00024390  0x0000623b call  0x000062fc 
+ 00024391  0x0000623c rtn  0x00000001 
+ 00024392  0x0000623d jam  0x0000000c , 0x000009ae 
+ 00024393  0x0000623e jam  0x00000001 , 0x000009b0 
+ 00024394  0x0000623f rtn 
+ 00024395  0x00006242 arg  0x00000a6e , 0x00000005 
+ 00024396  0x00006243 arg  0x00000552 , 0x00000006 
+ 00024397  0x00006244 call  0x00007ebf 
+ 00024398  0x00006245 fetch  0x00000001 , 0x00004662 
+ 00024399  0x00006246 rtneq  0x00000002 
+ 00024400  0x00006247 branch  0x000076d8 
+ 00024401  0x0000624a fetch  0x00000001 , 0x000009af 
+ 00024402  0x0000624b beq  0x00000007 , 0x00005f55 
+ 00024403  0x0000624c fetch  0x00000001 , 0x000009ae 
+ 00024404  0x0000624d bne  0x00000001 , 0x00005f68 
+ 00024405  0x0000624f fetch  0x00000001 , 0x000009b7 
+ 00024406  0x00006250 sub  0x0000003f , 0x00000020 , 0x00000005 
+ 00024407  0x00006251 nbranch  0x00005f68 , 0x00000002 
+ 00024408  0x00006252 arg  0x000009c6 , 0x00000005 
+ 00024409  0x00006253 iadd  0x00000005 , 0x00000005 
+ 00024410  0x00006254 fetch  0x00000008 , 0x00000552 
+ 00024411  0x00006255 istore  0x00000008 , 0x00000005 
+ 00024412  0x00006256 fetch  0x00000008 , 0x0000055a 
+ 00024413  0x00006257 istore  0x00000008 , 0x00000005 
+ 00024414  0x00006258 fetch  0x00000001 , 0x000009b7 
+ 00024415  0x00006259 increase  0x00000010 , 0x0000003f 
+ 00024416  0x0000625a store  0x00000001 , 0x000009b7 
+ 00024417  0x0000625b bne  0x00000030 , 0x00005e38 
+ 00024418  0x0000625d call  0x000062fc 
+ 00024419  0x0000625e branch  0x00005e38 , 0x00000001 
+ 00024420  0x0000625f jam  0x00000001 , 0x000009b8 
+ 00024421  0x00006260 jam  0x00000002 , 0x000009ae 
+ 00024422  0x00006261 jam  0x00000001 , 0x000009b0 
+ 00024423  0x00006262 branch  0x00005e38 
+ 00024424  0x00006264 jam  0x00000024 , 0x0000007e 
+ 00024425  0x00006265 branch  0x00005d53 
+ 00024426  0x00006267 fetch  0x00000001 , 0x000009b6 
+ 00024427  0x00006268 beq  0x00000030 , 0x00005f6e 
+ 00024428  0x00006269 jam  0x0000003e , 0x0000007c 
+ 00024429  0x0000626a branch  0x00005d07 
+ 00024430  0x0000626d call  0x000062fc 
+ 00024431  0x0000626e branch  0x00005f77 , 0x00000001 
+ 00024432  0x0000626f fetch  0x00000001 , 0x00004662 
+ 00024433  0x00006270 beq  0x00000002 , 0x00005f75 
+ 00024434  0x00006271 jam  0x00000001 , 0x000009b0 
+ 00024435  0x00006272 jam  0x00000004 , 0x000009ae 
+ 00024436  0x00006273 branch  0x00005d07 
+ 00024437  0x00006276 jam  0x00000036 , 0x00000a99 
+ 00024438  0x00006277 branch  0x00007d86 
+ 00024439  0x0000627c branch  0x00005d07 
+ 00024440  0x0000627f fetch  0x00000001 , 0x000009af 
+ 00024441  0x00006280 beq  0x00000007 , 0x00005f7c 
+ 00024442  0x00006281 fetch  0x00000001 , 0x000009ae 
+ 00024443  0x00006282 bne  0x00000006 , 0x00005f88 
+ 00024444  0x00006284 arg  0x00000a2e , 0x00000005 
+ 00024445  0x00006285 fetch  0x00000008 , 0x00000552 
+ 00024446  0x00006286 istore  0x00000008 , 0x00000005 
+ 00024447  0x00006287 fetch  0x00000008 , 0x0000055a 
+ 00024448  0x00006288 istore  0x00000008 , 0x00000005 
+ 00024449  0x00006289 call  0x000062fc 
+ 00024450  0x0000628a branch  0x00005f86 , 0x00000001 
+ 00024451  0x0000628b jam  0x00000007 , 0x000009ae 
+ 00024452  0x0000628c jam  0x00000001 , 0x000009b0 
+ 00024453  0x0000628d branch  0x00005e38 
+ 00024454  0x0000628f jam  0x00000004 , 0x000009af 
+ 00024455  0x00006290 branch  0x000076d8 
+ 00024456  0x00006294 jam  0x00000024 , 0x0000007e 
+ 00024457  0x00006295 branch  0x00005d53 
+ 00024458  0x00006298 fetch  0x00000001 , 0x000009af 
+ 00024459  0x00006299 beq  0x0000000b , 0x00005f8e 
+ 00024460  0x0000629a fetch  0x00000001 , 0x000009ae 
+ 00024461  0x0000629b bne  0x00000008 , 0x00005f9d 
+ 00024462  0x0000629d arg  0x00000a5e , 0x00000005 
+ 00024463  0x0000629e arg  0x00000552 , 0x00000006 
+ 00024464  0x0000629f call  0x00007ebf 
+ 00024465  0x000062a0 call  0x000062fc 
+ 00024466  0x000062a1 branch  0x00005f9a , 0x00000001 
+ 00024467  0x000062a2 fetch  0x00000001 , 0x00004662 
+ 00024468  0x000062a3 beq  0x00000001 , 0x00005f9f 
+ 00024469  0x000062a5 jam  0x00000000 , 0x00004661 
+ 00024470  0x000062a6 jam  0x00000009 , 0x000009ae 
+ 00024471  0x000062a7 jam  0x00000001 , 0x000009b0 
+ 00024472  0x000062a8 jam  0x00000041 , 0x0000007d 
+ 00024473  0x000062a9 branch  0x00005d07 
+ 00024474  0x000062ac jam  0x00000009 , 0x000009af 
+ 00024475  0x000062ad jam  0x00000001 , 0x000009b1 
+ 00024476  0x000062ae branch  0x00005d07 
+ 00024477  0x000062b0 jam  0x00000024 , 0x0000007e 
+ 00024478  0x000062b1 branch  0x00005d53 
+ 00024479  0x000062b4 fetch  0x00000001 , 0x00004661 
+ 00024480  0x000062b5 bbit1  0x00000007 , 0x00005fa4 
+ 00024481  0x000062b6 set1  0x00000006 , 0x0000003f 
+ 00024482  0x000062b7 store  0x00000001 , 0x00004661 
+ 00024483  0x000062b8 rtn 
+ 00024484  0x000062bb bbit1  0x00000000 , 0x00005f95 
+ 00024485  0x000062bc jam  0x00000000 , 0x00004661 
+ 00024486  0x000062bd branch  0x00005f9d 
+ 00024487  0x000062c1 branch  0x00005d07 
+ 00024488  0x000062c4 fetch  0x00000001 , 0x0000016d 
+ 00024489  0x000062c5 set0  0x00000001 
+ 00024490  0x000062c6 store  0x00000001 , 0x0000016d 
+ 00024491  0x000062c7 call  0x00005e38 
+ 00024492  0x000062c8 nrtn  0x00000029 
+ 00024493  0x000062c9 fetch  0x00000001 , 0x00000552 
+ 00024494  0x000062ca fetcht  0x00000001 , 0x0000004b 
+ 00024495  0x000062cb setflag  0x00000034 , 0x00000004 , 0x00000002 
+ 00024496  0x000062cc nsetflag  0x00000034 , 0x00000005 , 0x00000002 
+ 00024497  0x000062cd storet  0x00000001 , 0x0000004b 
+ 00024498  0x000062ce rtn 
+ 00024499  0x000062d1 fetcht  0x00000008 , 0x00000552 
+ 00024500  0x000062d3 fetch  0x00000001 , 0x00000055 
+ 00024501  0x000062d4 rtnne  0x00000003 
+ 00024502  0x000062d6 fetch  0x00000001 , 0x0000016d 
+ 00024503  0x000062d7 bbit0  0x00000004 , 0x00005fba 
+ 00024504  0x000062d9 jam  0x00000014 , 0x00000055 
+ 00024505  0x000062da rtn 
+ 00024506  0x000062dc jam  0x00000004 , 0x00000055 
+ 00024507  0x000062dd rtn 
+ 00024508  0x000062df fetch  0x00000001 , 0x0000017f 
+ 00024509  0x000062e0 store  0x00000001 , 0x0000015b 
+ 00024510  0x000062e1 jam  0x00000003 , 0x0000007c 
+ 00024511  0x000062e2 jam  0x00000038 , 0x0000007d 
+ 00024512  0x000062e3 rtn 
+ 00024513  0x000062e7 jam  0x00000003 , 0x0000007c 
+ 00024514  0x000062e8 jam  0x00000039 , 0x0000007d 
+ 00024515  0x000062e9 force  0x00000009 , 0x00000039 
+ 00024516  0x000062ea arg  0x00000552 , 0x00000006 
+ 00024517  0x000062eb arg  0x00000152 , 0x00000005 
+ 00024518  0x000062ed ifetch  0x00000001 , 0x00000006 
+ 00024519  0x000062ee xor_into  0x00000055 , 0x0000003f 
+ 00024520  0x000062ef istore  0x00000001 , 0x00000005 
+ 00024521  0x000062f0 loop  0x00005fc6 
+ 00024522  0x000062f1 fetch  0x00000001 , 0x00000152 
+ 00024523  0x000062f2 fetcht  0x00000001 , 0x00000151 
+ 00024524  0x000062f3 set0  0x00000007 , 0x00000002 
+ 00024525  0x000062f4 set0  0x00000004 , 0x00000002 
+ 00024526  0x000062f5 beq  0x000000ff , 0x00005fda 
+ 00024527  0x000062f6 beq  0x00000000 , 0x00005ff3 
+ 00024528  0x000062f7 beq  0x00000005 , 0x00005fe7 
+ 00024529  0x000062f8 beq  0x00000007 , 0x00005fe6 
+ 00024530  0x000062f9 beq  0x00000006 , 0x00005fe7 
+ 00024531  0x000062fa beq  0x00000008 , 0x00005fe6 
+ 00024532  0x000062fb beq  0x00000001 , 0x00005fdf 
+ 00024533  0x000062fc beq  0x00000002 , 0x00005fdf 
+ 00024534  0x000062fd beq  0x00000003 , 0x00005fdf 
+ 00024535  0x000062fe beq  0x00000009 , 0x00005fdf 
+ 00024536  0x000062ff beq  0x00000004 , 0x00005fdf 
+ 00024537  0x00006300 rtn 
+ 00024538  0x00006303 fetch  0x00000001 , 0x00000151 
+ 00024539  0x00006304 set1  0x00000003 , 0x0000003f 
+ 00024540  0x00006305 set1  0x00000002 , 0x0000003f 
+ 00024541  0x00006306 store  0x00000001 , 0x00000151 
+ 00024542  0x00006307 rtn 
+ 00024543  0x00006309 set1  0x00000004 , 0x00000002 
+ 00024544  0x0000630a jam  0x00000005 , 0x00000180 
+ 00024545  0x0000630b fetch  0x00000002 , 0x00000159 
+ 00024546  0x0000630c iforce  0x00000039 
+ 00024547  0x0000630d store  0x00000002 , 0x0000015f 
+ 00024548  0x0000630e arg  0x00000551 , 0x00000005 
+ 00024549  0x0000630f call  0x00007f73 
+ 00024550  0x00006311 set1  0x00000007 , 0x00000002 
+ 00024551  0x00006313 set1  0x00000002 , 0x00000002 
+ 00024552  0x00006314 force  0x00000000 , 0x0000003f 
+ 00024553  0x00006315 store  0x00000001 , 0x0000000b 
+ 00024554  0x00006316 store  0x00000002 , 0x000000fa 
+ 00024555  0x00006317 store  0x00000002 , 0x000000fc 
+ 00024556  0x00006318 store  0x00000002 , 0x000000f8 
+ 00024557  0x00006319 store  0x00000002 , 0x000000f6 
+ 00024558  0x0000631a fetch  0x00000001 , 0x00000153 
+ 00024559  0x0000631b compare  0x00000000 , 0x0000003f , 0x000000ff 
+ 00024560  0x0000631c setflag  0x00000001 , 0x00000006 , 0x00000002 
+ 00024561  0x0000631d storet  0x00000001 , 0x00000151 
+ 00024562  0x0000631e rtn 
+ 00024563  0x00006321 set0  0x00000011 , 0x00000000 
+ 00024564  0x00006322 jam  0x00000000 , 0x00000151 
+ 00024565  0x00006323 fetch  0x00000001 , 0x0000017f 
+ 00024566  0x00006324 set0  0x00000006 , 0x0000003f 
+ 00024567  0x00006325 store  0x00000001 , 0x0000017f 
+ 00024568  0x00006326 rtn 
+ 00024569  0x0000632d arg  0x00000552 , 0x00000006 
+ 00024570  0x0000632e arg  0x00000562 , 0x00000005 
+ 00024571  0x0000632f branch  0x00007ebf 
+ 00024572  0x00006332 jam  0x00000009 , 0x0000007c 
+ 00024573  0x00006333 rtn 
+ 00024574  0x00006336 nrtn  0x00000029 
+ 00024575  0x00006337 jam  0x00000011 , 0x0000007c 
+ 00024576  0x00006338 rtn 
+ 00024577  0x0000633b arg  0x000040a0 , 0x00000011 
+ 00024578  0x0000633c call  0x00007255 
+ 00024579  0x0000633d jam  0x00000003 , 0x0000007c 
+ 00024580  0x0000633e jam  0x00000008 , 0x0000007d 
+ 00024581  0x0000633f rtn 
+ 00024582  0x00006342 jam  0x0000000a , 0x00000072 
+ 00024583  0x00006343 jam  0x00000007 , 0x0000007c 
+ 00024584  0x00006344 jam  0x00000016 , 0x000004ca 
+ 00024585  0x00006345 rtn 
+ 00024586  0x0000634c bpatchx  0x00000082 , 0x00004030 
+ 00024587  0x0000634d disable  0x00000028 
+ 00024588  0x0000634e call  0x000062c1 
+ 00024589  0x0000634f fetch  0x00000001 , 0x00000048 
+ 00024590  0x00006350 rtn  0x00000034 
+ 00024591  0x00006355 bbit1  0x00000007 , 0x0000603f 
+ 00024592  0x00006357 beq  0x00000001 , 0x0000616f 
+ 00024593  0x00006358 beq  0x00000002 , 0x000060e4 
+ 00024594  0x00006359 beq  0x00000003 , 0x0000604a 
+ 00024595  0x0000635a beq  0x00000004 , 0x00006060 
+ 00024596  0x0000635b beq  0x00000027 , 0x000061db 
+ 00024597  0x0000635c beq  0x00000028 , 0x00006108 
+ 00024598  0x0000635d beq  0x00000030 , 0x000060f4 
+ 00024599  0x0000635e beq  0x00000025 , 0x000061d6 
+ 00024600  0x0000635f beq  0x00000026 , 0x00006103 
+ 00024601  0x00006360 beq  0x00000031 , 0x000061c3 
+ 00024602  0x00006361 beq  0x00000037 , 0x0000616a 
+ 00024603  0x00006362 beq  0x00000033 , 0x0000615c 
+ 00024604  0x00006363 beq  0x00000008 , 0x00006259 
+ 00024605  0x00006364 beq  0x00000009 , 0x0000624f 
+ 00024606  0x00006365 beq  0x0000000b , 0x00006264 
+ 00024607  0x00006366 beq  0x0000000c , 0x0000626d 
+ 00024608  0x00006367 beq  0x0000000f , 0x00006162 
+ 00024609  0x00006368 beq  0x00000010 , 0x00006292 
+ 00024610  0x00006369 beq  0x00000011 , 0x00006288 
+ 00024611  0x0000636a beq  0x00000007 , 0x00006152 
+ 00024612  0x0000636b beq  0x0000002a , 0x0000617e 
+ 00024613  0x0000636c beq  0x0000000a , 0x0000617f 
+ 00024614  0x0000636e beq  0x0000001f , 0x000061bc 
+ 00024615  0x0000636f beq  0x00000006 , 0x000060f9 
+ 00024616  0x00006370 beq  0x00000021 , 0x0000615f 
+ 00024617  0x00006371 beq  0x0000002d , 0x000061b2 
+ 00024618  0x00006372 beq  0x0000002e , 0x000061b7 
+ 00024619  0x00006373 beq  0x00000022 , 0x0000615f 
+ 00024620  0x00006374 beq  0x00000034 , 0x00006180 
+ 00024621  0x00006375 beq  0x00000013 , 0x00006195 
+ 00024622  0x00006376 beq  0x00000017 , 0x000061a4 
+ 00024623  0x00006377 beq  0x00000012 , 0x0000628f 
+ 00024624  0x00006378 beq  0x0000002f , 0x000061aa 
+ 00024625  0x00006379 beq  0x00000018 , 0x000061af 
+ 00024626  0x0000637a beq  0x0000003d , 0x000061ff 
+ 00024627  0x0000637b beq  0x0000003e , 0x0000620b 
+ 00024628  0x0000637c beq  0x0000003f , 0x0000621d 
+ 00024629  0x0000637d beq  0x00000040 , 0x00006227 
+ 00024630  0x0000637e beq  0x00000041 , 0x0000623c 
+ 00024631  0x0000637f beq  0x00000023 , 0x0000624b 
+ 00024632  0x00006380 beq  0x0000003b , 0x00006246 
+ 00024633  0x00006382 beq  0x00000005 , 0x0000624c 
+ 00024634  0x00006383 beq  0x00000029 , 0x0000624d 
+ 00024635  0x00006384 beq  0x00000038 , 0x0000624e 
+ 00024636  0x00006385 beq  0x00000039 , 0x00006175 
+ 00024637  0x00006387 branch  0x00002a8c 
+ 00024638  0x00006388 rtn 
+ 00024639  0x0000638a beq  0x00000081 , 0x0000606d 
+ 00024640  0x0000638b beq  0x00000084 , 0x00006099 
+ 00024641  0x0000638c beq  0x00000082 , 0x00006076 
+ 00024642  0x0000638d beq  0x00000083 , 0x0000610d 
+ 00024643  0x0000638e beq  0x0000008b , 0x00006118 
+ 00024644  0x0000638f beq  0x00000097 , 0x0000614e 
+ 00024645  0x00006390 beq  0x00000099 , 0x000060d5 
+ 00024646  0x00006391 beq  0x0000009a , 0x000060a4 
+ 00024647  0x00006392 beq  0x00000095 , 0x000060da 
+ 00024648  0x00006393 beq  0x00000096 , 0x000060db 
+ 00024649  0x00006394 branch  0x00002a8c 
+ 00024650  0x0000639b force  0x00000002 , 0x0000003f 
+ 00024651  0x0000639c call  0x00006298 
+ 00024652  0x0000639d fetch  0x00000001 , 0x00000049 
+ 00024653  0x0000639e istore  0x00000001 , 0x00000005 
+ 00024654  0x0000639f call  0x000062a7 
+ 00024655  0x000063a0 bpatchx  0x00000083 , 0x00004030 
+ 00024656  0x000063a1 fetch  0x00000001 , 0x00000049 
+ 00024657  0x000063a2 beq  0x00000008 , 0x00006080 
+ 00024658  0x000063a3 beq  0x0000000f , 0x00006084 
+ 00024659  0x000063a4 beq  0x00000010 , 0x0000608f 
+ 00024660  0x000063a5 beq  0x00000017 , 0x0000605f 
+ 00024661  0x000063a6 beq  0x00000033 , 0x00006092 
+ 00024662  0x000063a7 beq  0x00000041 , 0x00006098 
+ 00024663  0x000063a8 beq  0x00000011 , 0x00006059 
+ 00024664  0x000063a9 rtn 
+ 00024665  0x000063ac fetch  0x00000001 , 0x00000055 
+ 00024666  0x000063ad rtn  0x00000034 
+ 00024667  0x000063ae jam  0x0000001b , 0x00000055 
+ 00024668  0x000063af setarg  0x0000000c 
+ 00024669  0x000063b0 arg  0x00000007 , 0x00000007 
+ 00024670  0x000063b1 branch  0x00007f08 
+ 00024671  0x000063b4 branch  0x000026c6 
+ 00024672  0x000063b6 force  0x00000003 , 0x0000003f 
+ 00024673  0x000063b7 call  0x00006298 
+ 00024674  0x000063b8 fetch  0x00000001 , 0x00000049 
+ 00024675  0x000063b9 beq  0x0000000b , 0x00006068 
+ 00024676  0x000063ba istore  0x00000001 , 0x00000005 
+ 00024677  0x000063bb fetch  0x00000001 , 0x0000004a 
+ 00024678  0x000063bc istore  0x00000001 , 0x00000005 
+ 00024679  0x000063bd branch  0x000062a7 
+ 00024680  0x000063c0 istore  0x00000001 , 0x00000005 
+ 00024681  0x000063c1 fetch  0x00000001 , 0x0000004a 
+ 00024682  0x000063c2 istore  0x00000001 , 0x00000005 
+ 00024683  0x000063c3 arg  0x000004d5 , 0x00000002 
+ 00024684  0x000063c4 branch  0x000062e2 
+ 00024685  0x000063c7 force  0x00000004 , 0x00000007 
+ 00024686  0x000063c8 call  0x000062a0 
+ 00024687  0x000063c9 setarg  0x0000007f 
+ 00024688  0x000063ca istore  0x00000001 , 0x00000005 
+ 00024689  0x000063cb fetch  0x00000001 , 0x00000049 
+ 00024690  0x000063cc set0  0x00000007 , 0x0000003f 
+ 00024691  0x000063cd istore  0x00000001 , 0x00000005 
+ 00024692  0x000063ce fetch  0x00000001 , 0x00000049 
+ 00024693  0x000063cf branch  0x000062a7 
+ 00024694  0x000063d2 force  0x00000005 , 0x00000007 
+ 00024695  0x000063d3 call  0x000062a0 
+ 00024696  0x000063d4 setarg  0x0000007f 
+ 00024697  0x000063d5 istore  0x00000001 , 0x00000005 
+ 00024698  0x000063d6 fetch  0x00000001 , 0x00000049 
+ 00024699  0x000063d7 set0  0x00000007 , 0x0000003f 
+ 00024700  0x000063d8 istore  0x00000001 , 0x00000005 
+ 00024701  0x000063d9 fetch  0x00000001 , 0x0000004a 
+ 00024702  0x000063da istore  0x00000001 , 0x00000005 
+ 00024703  0x000063db branch  0x000062a7 
+ 00024704  0x000063df call  0x0000244f 
+ 00024705  0x000063e0 call  0x000062f3 
+ 00024706  0x000063e1 rtn  0x00000001 
+ 00024707  0x000063e2 branch  0x00005ffc 
+ 00024708  0x000063e5 fetch  0x00000001 , 0x0000004b 
+ 00024709  0x000063e6 bbit1  0x00000005 , 0x0000608b 
+ 00024710  0x000063e7 rtnbit0  0x00000004 
+ 00024711  0x000063e8 jam  0x00000012 , 0x0000007c 
+ 00024712  0x000063e9 set0  0x00000004 , 0x0000003f 
+ 00024713  0x000063ea call  0x000062eb 
+ 00024714  0x000063eb branch  0x0000608d 
+ 00024715  0x000063ed jam  0x00000010 , 0x0000007c 
+ 00024716  0x000063ee set0  0x00000005 , 0x0000003f 
+ 00024717  0x000063f0 store  0x00000001 , 0x0000004b 
+ 00024718  0x000063f1 rtn 
+ 00024719  0x000063f4 call  0x000062fc 
+ 00024720  0x000063f5 branch  0x00005ffe , 0x00000001 
+ 00024721  0x000063f6 rtn 
+ 00024722  0x000063f9 jam  0x0000008b , 0x0000007c 
+ 00024723  0x000063fb fetch  0x00000001 , 0x000004d1 
+ 00024724  0x000063fc set1  0x00000000 , 0x0000003f 
+ 00024725  0x000063fd store  0x00000001 , 0x000004d1 
+ 00024726  0x000063fe jam  0x00000001 , 0x00000a99 
+ 00024727  0x000063ff branch  0x00007d86 
+ 00024728  0x00006403 rtn 
+ 00024729  0x00006408 force  0x0000000c , 0x00000007 
+ 00024730  0x00006409 call  0x000062a0 
+ 00024731  0x0000640a setarg  0x00000001 
+ 00024732  0x0000640b istore  0x00000001 , 0x00000005 
+ 00024733  0x0000640c fetch  0x00000002 , 0x000004ce 
+ 00024734  0x0000640d istore  0x00000002 , 0x00000005 
+ 00024735  0x0000640e setarg  0x00000000 
+ 00024736  0x0000640f istore  0x00000003 , 0x00000005 
+ 00024737  0x00006410 setarg  0x00000000 
+ 00024738  0x00006411 istore  0x00000004 , 0x00000005 
+ 00024739  0x00006412 branch  0x000062b0 
+ 00024740  0x00006414 force  0x00000005 , 0x00000007 
+ 00024741  0x00006415 call  0x000062a0 
+ 00024742  0x00006416 fetch  0x00000003 , 0x0000465b 
+ 00024743  0x00006417 istore  0x00000003 , 0x00000005 
+ 00024744  0x00006418 call  0x000062b0 
+ 00024745  0x00006419 jam  0x00000001 , 0x00004665 
+ 00024746  0x0000641a fetch  0x00000001 , 0x0000465b 
+ 00024747  0x0000641b beq  0x00000001 , 0x000060b5 
+ 00024748  0x0000641c beq  0x00000002 , 0x000060af 
+ 00024749  0x0000641d beq  0x00000003 , 0x000060bb 
+ 00024750  0x0000641e rtn 
+ 00024751  0x00006421 fetch  0x00000001 , 0x0000465e 
+ 00024752  0x00006422 beq  0x00000000 , 0x000060c7 
+ 00024753  0x00006423 beq  0x00000001 , 0x000060c7 
+ 00024754  0x00006424 beq  0x00000002 , 0x000060c7 
+ 00024755  0x00006425 beq  0x00000003 , 0x000060c1 
+ 00024756  0x00006426 rtn 
+ 00024757  0x0000642a fetch  0x00000001 , 0x0000465e 
+ 00024758  0x0000642b beq  0x00000000 , 0x000060c1 
+ 00024759  0x0000642c beq  0x00000001 , 0x000060c5 
+ 00024760  0x0000642d beq  0x00000002 , 0x000060c7 
+ 00024761  0x0000642e beq  0x00000003 , 0x000060c1 
+ 00024762  0x0000642f rtn 
+ 00024763  0x00006433 fetch  0x00000001 , 0x0000465e 
+ 00024764  0x00006434 beq  0x00000000 , 0x000060c1 
+ 00024765  0x00006435 beq  0x00000001 , 0x000060c1 
+ 00024766  0x00006436 beq  0x00000002 , 0x000060c1 
+ 00024767  0x00006437 beq  0x00000003 , 0x000060c1 
+ 00024768  0x00006438 rtn 
+ 00024769  0x00006442 jam  0x00000003 , 0x00004662 
+ 00024770  0x00006443 fetch  0x00000001 , 0x0000455c 
+ 00024771  0x00006444 bbit1  0x00000000 , 0x000033e9 
+ 00024772  0x00006445 rtn 
+ 00024773  0x00006449 jam  0x00000001 , 0x00004662 
+ 00024774  0x0000644a rtn 
+ 00024775  0x00006451 jam  0x00000002 , 0x00004662 
+ 00024776  0x00006452 rtn 
+ 00024777  0x00006456 arg  0x00000000 , 0x00000007 
+ 00024778  0x00006457 branch  0x000060cd 
+ 00024779  0x0000645a arg  0x00000000 , 0x00000007 
+ 00024780  0x0000645b branch  0x000060d1 
+ 00024781  0x0000645e fetch  0x00000001 , 0x0000455c 
+ 00024782  0x0000645f qset1  0x0000003f 
+ 00024783  0x00006460 store  0x00000001 , 0x0000455c 
+ 00024784  0x00006461 rtn 
+ 00024785  0x00006464 fetch  0x00000001 , 0x0000455c 
+ 00024786  0x00006465 qset0  0x0000003f 
+ 00024787  0x00006466 store  0x00000001 , 0x0000455c 
+ 00024788  0x00006467 rtn 
+ 00024789  0x0000646b force  0x00000005 , 0x00000007 
+ 00024790  0x0000646c call  0x000062a0 
+ 00024791  0x0000646d fetch  0x00000003 , 0x0000465b 
+ 00024792  0x0000646e istore  0x00000003 , 0x00000005 
+ 00024793  0x0000646f branch  0x000062b2 
+ 00024794  0x00006474 rtn 
+ 00024795  0x00006476 force  0x00000009 , 0x00000007 
+ 00024796  0x00006477 call  0x000062a0 
+ 00024797  0x00006478 fetch  0x00000001 , 0x00000095 
+ 00024798  0x00006479 istore  0x00000001 , 0x00000005 
+ 00024799  0x0000647a fetch  0x00000002 , 0x00000096 
+ 00024800  0x0000647b istore  0x00000002 , 0x00000005 
+ 00024801  0x0000647c fetch  0x00000004 , 0x00000091 
+ 00024802  0x0000647d istore  0x00000004 , 0x00000005 
+ 00024803  0x0000647e branch  0x000062b0 
+ 00024804  0x00006481 force  0x00000011 , 0x0000003f 
+ 00024805  0x00006482 call  0x00006298 
+ 00024806  0x00006483 fetch  0x00000001 , 0x00000049 
+ 00024807  0x00006484 copy  0x0000003f , 0x00000002 
+ 00024808  0x00006485 beq  0x00000000 , 0x000060ec 
+ 00024809  0x00006486 beq  0x0000000e , 0x000060ec 
+ 00024810  0x00006487 beq  0x0000001c , 0x000060ec 
+ 00024811  0x00006488 rtn 
+ 00024812  0x0000648a istore  0x00000001 , 0x00000005 
+ 00024813  0x0000648b fetch  0x00000001 , 0x00004515 
+ 00024814  0x0000648c istore  0x00000001 , 0x00000005 
+ 00024815  0x0000648d arg  0x0000000e , 0x00000039 
+ 00024816  0x0000648e setarg  0x00004516 
+ 00024817  0x0000648f iadd  0x00000002 , 0x00000006 
+ 00024818  0x00006490 call  0x00007f01 
+ 00024819  0x00006491 branch  0x000062b0 
+ 00024820  0x00006495 force  0x00000003 , 0x0000003f 
+ 00024821  0x00006496 call  0x00006298 
+ 00024822  0x00006497 setarg  0x00000114 
+ 00024823  0x00006498 istore  0x00000002 , 0x00000005 
+ 00024824  0x00006499 branch  0x000062b0 
+ 00024825  0x0000649d force  0x00000003 , 0x0000003f 
+ 00024826  0x0000649e call  0x00006298 
+ 00024827  0x0000649f fetch  0x00000004 , 0x00000165 
+ 00024828  0x000064a0 isub  0x00000022 , 0x0000003f 
+ 00024829  0x000064a1 branch  0x000060ff , 0x00000029 
+ 00024830  0x000064a2 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00024831  0x000064a5 rshift2  0x0000003f , 0x0000003f 
+ 00024832  0x000064a6 set0  0x0000000f , 0x0000003f 
+ 00024833  0x000064a7 istore  0x00000002 , 0x00000005 
+ 00024834  0x000064a8 branch  0x000062b0 
+ 00024835  0x000064ab force  0x00000006 , 0x0000003f 
+ 00024836  0x000064ac call  0x00006298 
+ 00024837  0x000064ad fetch  0x00000005 , 0x00004510 
+ 00024838  0x000064ae istore  0x00000005 , 0x00000005 
+ 00024839  0x000064af branch  0x000062b0 
+ 00024840  0x000064b2 force  0x00000009 , 0x0000003f 
+ 00024841  0x000064b3 call  0x00006298 
+ 00024842  0x000064b4 fetch  0x00000008 , 0x00004098 
+ 00024843  0x000064b5 istore  0x00000008 , 0x00000005 
+ 00024844  0x000064b6 branch  0x000062b0 
+ 00024845  0x000064be force  0x0000000c , 0x00000007 
+ 00024846  0x000064bf call  0x000062a0 
+ 00024847  0x000064c0 setarg  0x00000001 
+ 00024848  0x000064c1 istore  0x00000001 , 0x00000005 
+ 00024849  0x000064c2 fetch  0x00000002 , 0x000004ce 
+ 00024850  0x000064c3 istore  0x00000002 , 0x00000005 
+ 00024851  0x000064c4 setarg  0x00000000 
+ 00024852  0x000064c5 istore  0x00000003 , 0x00000005 
+ 00024853  0x000064c6 setarg  0x00000000 
+ 00024854  0x000064c7 istore  0x00000004 , 0x00000005 
+ 00024855  0x000064c8 branch  0x000062b2 
+ 00024856  0x000064cb force  0x00000003 , 0x00000007 
+ 00024857  0x000064cc call  0x000062a0 
+ 00024858  0x000064cd fetch  0x00000001 , 0x0000415a 
+ 00024859  0x000064ce istore  0x00000001 , 0x00000005 
+ 00024860  0x000064cf disable  0x00000028 
+ 00024861  0x000064d0 call  0x000062b2 
+ 00024862  0x000064d1 nrtn  0x00000028 
+ 00024863  0x000064d2 nrtn  0x00000029 
+ 00024864  0x000064d3 fetch  0x00000001 , 0x000040d8 
+ 00024865  0x000064d4 rtnbit0  0x00000000 
+ 00024866  0x000064d5 call  0x00006132 
+ 00024867  0x000064d6 branch  0x0000613c 
+ 00024868  0x000064da bpatchx  0x00000084 , 0x00004030 
+ 00024869  0x000064db fetch  0x00000001 , 0x0000409e 
+ 00024870  0x000064dc set1  0x00000003 , 0x0000003f 
+ 00024871  0x000064dd store  0x00000001 , 0x0000409e 
+ 00024872  0x000064de setarg  0x00000101 
+ 00024873  0x000064df store  0x00000002 , 0x000004ce 
+ 00024874  0x000064e0 rtn 
+ 00024875  0x000064e3 bpatchx  0x00000085 , 0x00004030 
+ 00024876  0x000064e4 fetch  0x00000001 , 0x0000409e 
+ 00024877  0x000064e5 set0  0x00000003 , 0x0000003f 
+ 00024878  0x000064e6 store  0x00000001 , 0x0000409e 
+ 00024879  0x000064e7 setarg  0x00000000 
+ 00024880  0x000064e8 store  0x00000002 , 0x000004ce 
+ 00024881  0x000064e9 rtn 
+ 00024882  0x000064ec jam  0x00000003 , 0x000040d8 
+ 00024883  0x000064ed setarg  0x00000000 
+ 00024884  0x000064ee store  0x00000004 , 0x00004142 
+ 00024885  0x000064ef arg  0x000040da , 0x00000005 
+ 00024886  0x000064f0 call  0x00006140 
+ 00024887  0x000064f1 arg  0x000040e7 , 0x00000005 
+ 00024888  0x000064f2 call  0x00006140 
+ 00024889  0x000064f3 arg  0x00004146 , 0x00000005 
+ 00024890  0x000064f4 call  0x00006140 
+ 00024891  0x000064f5 branch  0x00006147 
+ 00024892  0x000064f7 arg  0x000040e7 , 0x00000005 
+ 00024893  0x000064f8 call  0x00006140 
+ 00024894  0x000064f9 call  0x00006147 
+ 00024895  0x000064fa branch  0x0000614a 
+ 00024896  0x000064fe setarg  0x00ffffff 
+ 00024897  0x000064ff istore  0x00000003 , 0x00000005 
+ 00024898  0x00006500 istore  0x00000003 , 0x00000005 
+ 00024899  0x00006501 istore  0x00000003 , 0x00000005 
+ 00024900  0x00006502 setarg  0x0000007f 
+ 00024901  0x00006503 istore  0x00000001 , 0x00000005 
+ 00024902  0x00006504 rtn 
+ 00024903  0x00006506 setarg  0x00000000 
+ 00024904  0x00006507 store  0x00000002 , 0x000040d6 
+ 00024905  0x00006508 rtn 
+ 00024906  0x0000650a fetch  0x00000001 , 0x000040d8 
+ 00024907  0x0000650b set1  0x00000002 , 0x0000003f 
+ 00024908  0x0000650c store  0x00000001 , 0x000040d8 
+ 00024909  0x0000650d rtn 
+ 00024910  0x00006511 force  0x00000002 , 0x00000007 
+ 00024911  0x00006512 call  0x000062a0 
+ 00024912  0x00006513 nbranch  0x000062b0 , 0x00000029 
+ 00024913  0x00006515 branch  0x000062b2 
+ 00024914  0x0000651a force  0x00000002 , 0x0000003f 
+ 00024915  0x0000651b call  0x00006298 
+ 00024916  0x0000651c fetch  0x00000001 , 0x000004ca 
+ 00024917  0x0000651d istore  0x00000001 , 0x00000005 
+ 00024918  0x0000651e call  0x000062b2 
+ 00024919  0x00006520 fetch  0x00000001 , 0x0000004b 
+ 00024920  0x00006521 set1  0x00000003 , 0x0000003f 
+ 00024921  0x00006522 store  0x00000001 , 0x0000004b 
+ 00024922  0x00006523 jam  0x00000032 , 0x00000072 
+ 00024923  0x00006524 rtn 
+ 00024924  0x00006528 force  0x00000001 , 0x0000003f 
+ 00024925  0x00006529 call  0x00006298 
+ 00024926  0x0000652a branch  0x000062b2 
+ 00024927  0x0000652c force  0x00000001 , 0x0000003f 
+ 00024928  0x0000652d call  0x00006298 
+ 00024929  0x0000652e branch  0x000062b0 
+ 00024930  0x00006532 force  0x00000002 , 0x0000003f 
+ 00024931  0x00006533 call  0x00006298 
+ 00024932  0x00006534 fetch  0x00000001 , 0x0000004c 
+ 00024933  0x00006535 isolate0  0x00000002 , 0x0000003f 
+ 00024934  0x00006536 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00024935  0x00006537 and_into  0x00000001 , 0x0000003f 
+ 00024936  0x00006538 istore  0x00000001 , 0x00000005 
+ 00024937  0x00006539 branch  0x000062b2 
+ 00024938  0x0000653d force  0x00000003 , 0x0000003f 
+ 00024939  0x0000653e call  0x00006298 
+ 00024940  0x0000653f fetch  0x00000002 , 0x00000051 
+ 00024941  0x00006540 istore  0x00000002 , 0x00000005 
+ 00024942  0x00006541 branch  0x000062b2 
+ 00024943  0x00006544 jam  0x000000fa , 0x00000072 
+ 00024944  0x00006545 force  0x00000002 , 0x0000003f 
+ 00024945  0x00006546 call  0x00006298 
+ 00024946  0x00006547 fetch  0x00000001 , 0x00000053 
+ 00024947  0x00006548 istore  0x00000001 , 0x00000005 
+ 00024948  0x00006549 branch  0x000062b2 
+ 00024949  0x0000654c force  0x0000000a , 0x0000003f 
+ 00024950  0x0000654d call  0x00006298 
+ 00024951  0x0000654e arg  0x00000152 , 0x00000006 
+ 00024952  0x0000654f force  0x00000009 , 0x00000039 
+ 00024953  0x00006551 ifetch  0x00000001 , 0x00000006 
+ 00024954  0x00006552 xor_into  0x00000055 , 0x0000003f 
+ 00024955  0x00006553 istore  0x00000001 , 0x00000005 
+ 00024956  0x00006554 loop  0x00006179 
+ 00024957  0x00006555 branch  0x000062b2 
+ 00024958  0x00006558 branch  0x000062b2 
+ 00024959  0x0000655a branch  0x000062b2 
+ 00024960  0x0000655d rtn  0x00000029 
+ 00024961  0x0000655e call  0x0000282d 
+ 00024962  0x0000655f force  0x00000009 , 0x0000003f 
+ 00024963  0x00006560 call  0x00006298 
+ 00024964  0x00006561 fetch  0x00000002 , 0x00000171 
+ 00024965  0x00006562 istore  0x00000002 , 0x00000005 
+ 00024966  0x00006563 fetch  0x00000003 , 0x000040a0 
+ 00024967  0x00006564 istore  0x00000003 , 0x00000005 
+ 00024968  0x00006565 fetch  0x00000001 , 0x000040a3 
+ 00024969  0x00006566 istore  0x00000001 , 0x00000005 
+ 00024970  0x00006567 fetch  0x00000002 , 0x000040a4 
+ 00024971  0x00006568 istore  0x00000002 , 0x00000005 
+ 00024972  0x00006569 bmark0  0x00000003 , 0x00006191 
+ 00024973  0x0000656a set0  0x00000003 , 0x00000000 
+ 00024974  0x0000656b call  0x000062b2 
+ 00024975  0x0000656c jam  0x00000013 , 0x0000007c 
+ 00024976  0x0000656d rtn 
+ 00024977  0x0000656f call  0x000062b0 
+ 00024978  0x00006570 jam  0x00000003 , 0x0000007c 
+ 00024979  0x00006571 jam  0x00000013 , 0x0000007d 
+ 00024980  0x00006572 rtn 
+ 00024981  0x00006575 arg  0x00000200 , 0x00000002 
+ 00024982  0x00006576 branch  0x00006199 , 0x00000029 
+ 00024983  0x00006577 deposit  0x00000028 
+ 00024984  0x00006578 branch  0x0000619a 
+ 00024985  0x0000657a deposit  0x00000022 
+ 00024986  0x0000657c deposit  0x00000021 
+ 00024987  0x0000657d iadd  0x00000002 , 0x0000003f 
+ 00024988  0x0000657e and_into  0x000001fc , 0x0000003f 
+ 00024989  0x0000657f store  0x00000004 , 0x00000034 
+ 00024990  0x00006580 force  0x00000005 , 0x0000003f 
+ 00024991  0x00006581 call  0x00006298 
+ 00024992  0x00006582 fetch  0x00000004 , 0x00000034 
+ 00024993  0x00006583 rshift  0x0000003f , 0x0000003f 
+ 00024994  0x00006584 istore  0x00000004 , 0x00000005 
+ 00024995  0x00006585 branch  0x000062b2 
+ 00024996  0x00006588 force  0x0000000a , 0x0000003f 
+ 00024997  0x00006589 call  0x00006298 
+ 00024998  0x0000658a arg  0x000004d9 , 0x00000006 
+ 00024999  0x0000658b ifetch  0x00000009 , 0x00000006 
+ 00025000  0x0000658c istore  0x00000009 , 0x00000005 
+ 00025001  0x0000658d branch  0x000062b2 
+ 00025002  0x00006592 force  0x00000003 , 0x0000003f 
+ 00025003  0x00006593 call  0x00006298 
+ 00025004  0x00006594 setarg  0x00000114 
+ 00025005  0x00006595 istore  0x00000002 , 0x00000005 
+ 00025006  0x00006596 branch  0x000062b2 
+ 00025007  0x0000659a force  0x00000001 , 0x0000003f 
+ 00025008  0x0000659b call  0x00006298 
+ 00025009  0x000065a4 branch  0x000062b2 
+ 00025010  0x000065a8 force  0x00000002 , 0x0000003f 
+ 00025011  0x000065a9 call  0x00006298 
+ 00025012  0x000065aa fetch  0x00000001 , 0x000040d0 
+ 00025013  0x000065ab istore  0x00000001 , 0x00000005 
+ 00025014  0x000065ac branch  0x000062b2 
+ 00025015  0x000065b0 force  0x00000002 , 0x0000003f 
+ 00025016  0x000065b1 call  0x00006298 
+ 00025017  0x000065b2 setarg  0x00000005 
+ 00025018  0x000065b3 istore  0x00000001 , 0x00000005 
+ 00025019  0x000065b4 branch  0x000062b2 
+ 00025020  0x000065b8 force  0x00000002 , 0x0000003f 
+ 00025021  0x000065b9 call  0x00006298 
+ 00025022  0x000065ba setarg  0x00000000 
+ 00025023  0x000065bb istore  0x00000001 , 0x00000005 
+ 00025024  0x000065bc branch  0x000062b2 
+ 00025025  0x000065c0 jam  0x0000002e , 0x0000007c 
+ 00025026  0x000065c1 rtn 
+ 00025027  0x000065c3 fetch  0x00000001 , 0x00004092 
+ 00025028  0x000065c4 sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00025029  0x000065c5 call  0x000061c1 , 0x00000005 
+ 00025030  0x000065c6 fetch  0x00000001 , 0x00000030 
+ 00025031  0x000065c7 set1  0x00000004 , 0x0000003f 
+ 00025032  0x000065c8 store  0x00000001 , 0x00000030 
+ 00025033  0x000065c9 copy  0x00000022 , 0x0000003f 
+ 00025034  0x000065ca store  0x00000004 , 0x000004e9 
+ 00025035  0x000065cb fetch  0x00000001 , 0x000004d1 
+ 00025036  0x000065cc bbit1  0x00000003 , 0x000061d4 
+ 00025037  0x000065cd set1  0x00000003 , 0x0000003f 
+ 00025038  0x000065ce store  0x00000001 , 0x000004d1 
+ 00025039  0x000065cf jam  0x00000005 , 0x00000a99 
+ 00025040  0x000065d0 call  0x00007d86 
+ 00025041  0x000065d1 force  0x00000001 , 0x0000003f 
+ 00025042  0x000065d2 call  0x00006298 
+ 00025043  0x000065d3 branch  0x000062b2 
+ 00025044  0x000065d5 jam  0x00000000 , 0x00000048 
+ 00025045  0x000065d6 rtn 
+ 00025046  0x000065d9 force  0x00000006 , 0x0000003f 
+ 00025047  0x000065da call  0x00006298 
+ 00025048  0x000065db fetch  0x00000005 , 0x00004510 
+ 00025049  0x000065dc istore  0x00000005 , 0x00000005 
+ 00025050  0x000065dd branch  0x000062b2 
+ 00025051  0x000065e0 force  0x00000009 , 0x0000003f 
+ 00025052  0x000065e1 call  0x00006298 
+ 00025053  0x000065e2 fetch  0x00000008 , 0x00004098 
+ 00025054  0x000065e3 istore  0x00000008 , 0x00000005 
+ 00025055  0x000065e4 branch  0x000062b2 
+ 00025056  0x000065e7 jam  0x00000001 , 0x000009b1 
+ 00025057  0x000065e8 fetch  0x00000001 , 0x000045b1 
+ 00025058  0x000065e9 rtnne  0x00000001 
+ 00025059  0x000065ea jam  0x00000013 , 0x000009af 
+ 00025060  0x000065eb rtn 
+ 00025061  0x000065ee call  0x000062ef 
+ 00025062  0x000065ef jam  0x00000099 , 0x0000007c 
+ 00025063  0x000065f0 jam  0x00000003 , 0x000009af 
+ 00025064  0x000065f1 rtn 
+ 00025065  0x000065f5 call  0x000062ef 
+ 00025066  0x000065f6 jam  0x0000003d , 0x0000007c 
+ 00025067  0x000065f7 jam  0x00000007 , 0x000009af 
+ 00025068  0x000065f8 rtn 
+ 00025069  0x000065fb arg  0x00000a4e , 0x00000011 
+ 00025070  0x000065fc arg  0x00000a6e , 0x00000012 
+ 00025071  0x000065fd arg  0x00000010 , 0x00000039 
+ 00025072  0x000065fe call  0x00007f88 
+ 00025073  0x000065ff branch  0x000061f7 , 0x00000005 
+ 00025074  0x00006600 jam  0x00000000 , 0x000009af 
+ 00025075  0x00006601 call  0x000076da 
+ 00025076  0x00006602 jam  0x00000024 , 0x0000007e 
+ 00025077  0x00006603 jam  0x00000040 , 0x0000007d 
+ 00025078  0x00006604 branch  0x00005d53 
+ 00025079  0x00006606 jam  0x0000000a , 0x000009af 
+ 00025080  0x00006607 call  0x000076d8 
+ 00025081  0x00006608 jam  0x00000040 , 0x0000007d 
+ 00025082  0x00006609 branch  0x00005e38 
+ 00025083  0x0000660e jam  0x00000040 , 0x0000007c 
+ 00025084  0x0000660f rtn 
+ 00025085  0x00006616 jam  0x0000003d , 0x0000007c 
+ 00025086  0x00006618 rtn 
+ 00025087  0x0000661f jam  0x00000000 , 0x000009b6 
+ 00025088  0x00006620 force  0x00000004 , 0x0000003f 
+ 00025089  0x00006621 call  0x00006298 
+ 00025090  0x00006622 force  0x00000001 , 0x0000003f 
+ 00025091  0x00006623 istore  0x00000001 , 0x00000005 
+ 00025092  0x00006624 force  0x00000001 , 0x0000003f 
+ 00025093  0x00006625 istore  0x00000001 , 0x00000005 
+ 00025094  0x00006626 force  0x00000030 , 0x0000003f 
+ 00025095  0x00006627 istore  0x00000001 , 0x00000005 
+ 00025096  0x00006628 call  0x000062fc 
+ 00025097  0x00006629 branch  0x000062b2 , 0x00000001 
+ 00025098  0x0000662a branch  0x000062b0 
+ 00025099  0x0000662e force  0x00000011 , 0x0000003f 
+ 00025100  0x0000662f call  0x00006298 
+ 00025101  0x00006630 fetch  0x00000001 , 0x000009b6 
+ 00025102  0x00006631 arg  0x0000462a , 0x00000006 
+ 00025103  0x00006632 iadd  0x00000006 , 0x00000006 
+ 00025104  0x00006633 ifetch  0x00000008 , 0x00000006 
+ 00025105  0x00006634 istore  0x00000008 , 0x00000005 
+ 00025106  0x00006635 ifetch  0x00000008 , 0x00000006 
+ 00025107  0x00006636 istore  0x00000008 , 0x00000005 
+ 00025108  0x00006637 fetch  0x00000001 , 0x000009b6 
+ 00025109  0x00006638 increase  0x00000010 , 0x0000003f 
+ 00025110  0x00006639 store  0x00000001 , 0x000009b6 
+ 00025111  0x0000663a call  0x000062fc 
+ 00025112  0x0000663b branch  0x000062b2 , 0x00000001 
+ 00025113  0x0000663c branch  0x000062b0 
+ 00025114  0x00006640 jam  0x00000006 , 0x000009ae 
+ 00025115  0x00006641 jam  0x0000003f , 0x0000007c 
+ 00025116  0x00006642 rtn 
+ 00025117  0x00006646 force  0x00000011 , 0x0000003f 
+ 00025118  0x00006647 call  0x00006298 
+ 00025119  0x00006648 arg  0x00000a4e , 0x00000006 
+ 00025120  0x00006649 ifetch  0x00000008 , 0x00000006 
+ 00025121  0x0000664a istore  0x00000008 , 0x00000005 
+ 00025122  0x0000664b ifetch  0x00000008 , 0x00000006 
+ 00025123  0x0000664c istore  0x00000008 , 0x00000005 
+ 00025124  0x0000664d branch  0x000062b0 
+ 00025125  0x00006650 jam  0x00000040 , 0x0000007c 
+ 00025126  0x00006651 rtn 
+ 00025127  0x00006655 call  0x000062fc 
+ 00025128  0x00006656 call  0x00007612 , 0x00000001 
+ 00025129  0x00006657 force  0x00000011 , 0x0000003f 
+ 00025130  0x00006658 call  0x00006298 
+ 00025131  0x00006659 arg  0x00000a1e , 0x00000006 
+ 00025132  0x0000665a ifetch  0x00000008 , 0x00000006 
+ 00025133  0x0000665b istore  0x00000008 , 0x00000005 
+ 00025134  0x0000665c ifetch  0x00000008 , 0x00000006 
+ 00025135  0x0000665d istore  0x00000008 , 0x00000005 
+ 00025136  0x0000665e call  0x000062fc 
+ 00025137  0x0000665f nbranch  0x000062b0 , 0x00000001 
+ 00025138  0x00006660 branch  0x000062b2 , 0x00000001 
+ 00025139  0x00006664 jam  0x0000000f , 0x000009af 
+ 00025140  0x00006666 call  0x000062ef 
+ 00025141  0x00006667 jam  0x0000000b , 0x0000007c 
+ 00025142  0x00006668 call  0x00006307 
+ 00025143  0x00006669 branch  0x0000764e , 0x00000001 
+ 00025144  0x0000666a branch  0x00007658 
+ 00025145  0x0000666c call  0x000062eb 
+ 00025146  0x0000666e jam  0x00000041 , 0x0000007c 
+ 00025147  0x0000666f rtn 
+ 00025148  0x00006672 force  0x00000011 , 0x0000003f 
+ 00025149  0x00006673 call  0x00006298 
+ 00025150  0x00006674 arg  0x00000a4e , 0x00000006 
+ 00025151  0x00006675 ifetch  0x00000008 , 0x00000006 
+ 00025152  0x00006676 istore  0x00000008 , 0x00000005 
+ 00025153  0x00006677 ifetch  0x00000008 , 0x00000006 
+ 00025154  0x00006678 istore  0x00000008 , 0x00000005 
+ 00025155  0x00006679 call  0x000062fc 
+ 00025156  0x0000667a nbranch  0x000062b0 , 0x00000001 
+ 00025157  0x0000667b branch  0x000062b2 , 0x00000001 
+ 00025158  0x0000667e force  0x00000003 , 0x0000003f 
+ 00025159  0x0000667f call  0x00006298 
+ 00025160  0x00006680 setarg  0x0000fffe 
+ 00025161  0x00006681 istore  0x00000002 , 0x00000005 
+ 00025162  0x00006682 branch  0x000062b0 
+ 00025163  0x00006685 branch  0x000062b2 
+ 00025164  0x00006687 branch  0x000062b2 
+ 00025165  0x00006689 branch  0x000062b2 
+ 00025166  0x0000668b branch  0x000062b2 
+ 00025167  0x00006691 call  0x0000630b 
+ 00025168  0x00006692 arg  0x000040a0 , 0x00000011 
+ 00025169  0x00006693 call  0x00006311 
+ 00025170  0x00006694 force  0x00000011 , 0x0000003f 
+ 00025171  0x00006695 call  0x00006298 
+ 00025172  0x00006696 arg  0x00000582 , 0x00000011 
+ 00025173  0x00006697 arg  0x00000562 , 0x00000012 
+ 00025174  0x00006698 call  0x00007352 
+ 00025175  0x00006699 nbranch  0x000062a7 , 0x00000029 
+ 00025176  0x0000669a branch  0x000062ad 
+ 00025177  0x0000669d call  0x0000630b 
+ 00025178  0x0000669e arg  0x00000040 , 0x00000011 
+ 00025179  0x0000669f call  0x00007255 
+ 00025180  0x000066a1 force  0x00000011 , 0x0000003f 
+ 00025181  0x000066a2 call  0x00006298 
+ 00025182  0x000066a3 arg  0x00000562 , 0x00000006 
+ 00025183  0x000066a4 call  0x00007ebf 
+ 00025184  0x000066a5 fetch  0x00000001 , 0x00000055 
+ 00025185  0x000066a6 beq  0x00000019 , 0x000062b2 
+ 00025186  0x000066a7 beq  0x00000018 , 0x000062b2 
+ 00025187  0x000066a8 branch  0x000062ad 
+ 00025188  0x000066ab fetch  0x00000001 , 0x000009b5 
+ 00025189  0x000066ac branch  0x0000626a , 0x00000034 
+ 00025190  0x000066ad call  0x000062fc 
+ 00025191  0x000066ae call  0x000062ef , 0x00000001 
+ 00025192  0x000066af ncall  0x000062eb , 0x00000001 
+ 00025193  0x000066b0 branch  0x0000626b 
+ 00025194  0x000066b2 call  0x000062ef 
+ 00025195  0x000066b4 call  0x0000630b 
+ 00025196  0x000066b5 branch  0x0000625c 
+ 00025197  0x000066b8 arg  0x000040a0 , 0x00000011 
+ 00025198  0x000066b9 call  0x00007288 
+ 00025199  0x000066ba force  0x00000005 , 0x0000003f 
+ 00025200  0x000066bb call  0x00006298 
+ 00025201  0x000066bc fetch  0x00000004 , 0x00000592 
+ 00025202  0x000066bd istore  0x00000004 , 0x00000005 
+ 00025203  0x000066be arg  0x000004d5 , 0x00000002 
+ 00025204  0x000066bf call  0x000062e2 
+ 00025205  0x000066c0 call  0x00007386 
+ 00025206  0x000066c1 call  0x000062fc 
+ 00025207  0x000066c2 branch  0x0000627c , 0x00000001 
+ 00025208  0x000066c3 jam  0x00000001 , 0x000004d8 
+ 00025209  0x000066c4 fetch  0x00000001 , 0x000009b5 
+ 00025210  0x000066c5 rtn  0x00000034 
+ 00025211  0x000066c6 jam  0x0000000b , 0x0000007c 
+ 00025212  0x000066c8 fetch  0x00000001 , 0x000041bd 
+ 00025213  0x000066c9 rtn  0x00000034 
+ 00025214  0x000066cb call  0x000062fc 
+ 00025215  0x000066cc nbranch  0x00006284 , 0x00000001 
+ 00025216  0x000066cd fetch  0x00000001 , 0x000004d7 
+ 00025217  0x000066ce rtn  0x00000034 
+ 00025218  0x000066cf jam  0x0000000f , 0x0000007c 
+ 00025219  0x000066d0 rtn 
+ 00025220  0x000066d2 rtnmark0  0x00000021 
+ 00025221  0x000066d3 set0  0x00000021 , 0x00000000 
+ 00025222  0x000066d4 jam  0x0000000f , 0x0000007c 
+ 00025223  0x000066d5 rtn 
+ 00025224  0x000066da call  0x0000630b 
+ 00025225  0x000066db call  0x0000728b 
+ 00025226  0x000066dc force  0x00000011 , 0x0000003f 
+ 00025227  0x000066dd call  0x00006298 
+ 00025228  0x000066de arg  0x00000562 , 0x00000006 
+ 00025229  0x000066df call  0x00007ebf 
+ 00025230  0x000066e0 branch  0x000062ad 
+ 00025231  0x000066e3 force  0x00000001 , 0x0000003f 
+ 00025232  0x000066e4 call  0x00006298 
+ 00025233  0x000066e5 branch  0x000062ad 
+ 00025234  0x000066e8 force  0x00000002 , 0x0000003f 
+ 00025235  0x000066e9 call  0x00006298 
+ 00025236  0x000066ea force  0x00000010 , 0x0000003f 
+ 00025237  0x000066eb istore  0x00000001 , 0x00000005 
+ 00025238  0x000066ec store  0x00000001 , 0x00000054 
+ 00025239  0x000066ed branch  0x000062ad 
+ 00025240  0x000066f1 lshift3  0x0000003f , 0x0000003f 
+ 00025241  0x000066f2 or_into  0x00000007 , 0x0000003f 
+ 00025242  0x000066f3 store  0x00000001 , 0x000004b6 
+ 00025243  0x000066f4 arg  0x00000011 , 0x00000039 
+ 00025244  0x000066f5 arg  0x000004b8 , 0x00000005 
+ 00025245  0x000066f6 call  0x00007ed4 
+ 00025246  0x000066f7 arg  0x000004b8 , 0x00000005 
+ 00025247  0x000066f8 rtn 
+ 00025248  0x000066fb and  0x0000003f , 0x0000007f , 0x00000011 
+ 00025249  0x000066fc jam  0x0000007f , 0x00000048 
+ 00025250  0x000066fd deposit  0x00000007 
+ 00025251  0x000066fe call  0x00006298 
+ 00025252  0x000066ff deposit  0x00000011 
+ 00025253  0x00006700 istore  0x00000001 , 0x00000005 
+ 00025254  0x00006701 rtn 
+ 00025255  0x00006704 fetch  0x00000001 , 0x00000048 
+ 00025256  0x00006705 lshift  0x0000003f , 0x0000003f 
+ 00025257  0x00006706 fetcht  0x00000001 , 0x0000004c 
+ 00025258  0x00006707 isolate1  0x00000001 , 0x00000002 
+ 00025259  0x00006708 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00025260  0x00006709 branch  0x000062b7 
+ 00025261  0x0000670d fetcht  0x00000001 , 0x0000004c 
+ 00025262  0x0000670e and_into  0x00000001 , 0x00000002 
+ 00025263  0x0000670f branch  0x000062b3 
+ 00025264  0x00006712 force  0x00000000 , 0x00000002 
+ 00025265  0x00006713 branch  0x000062b3 
+ 00025266  0x00006716 force  0x00000001 , 0x00000002 
+ 00025267  0x00006718 fetch  0x00000001 , 0x00000048 
+ 00025268  0x00006719 lshift  0x0000003f , 0x0000003f 
+ 00025269  0x0000671a setflag  0x00000029 , 0x00000000 , 0x0000003f 
+ 00025270  0x0000671b ixor  0x00000002 , 0x0000003f 
+ 00025271  0x0000671d store  0x00000001 , 0x000004b7 
+ 00025272  0x0000671e jam  0x00000000 , 0x00000048 
+ 00025273  0x0000671f call  0x000062c7 
+ 00025274  0x00006720 enable  0x00000028 
+ 00025275  0x00006721 rtn 
+ 00025276  0x00006725 fetch  0x00000001 , 0x0000007c 
+ 00025277  0x00006726 rtn  0x00000034 
+ 00025278  0x00006727 call  0x000062c1 
+ 00025279  0x00006728 fetch  0x00000001 , 0x0000007c 
+ 00025280  0x00006729 rtn 
+ 00025281  0x0000672c bpatchx  0x00000086 , 0x00004030 
+ 00025282  0x0000672d fetch  0x00000001 , 0x00000048 
+ 00025283  0x0000672e branch  0x000062c7 , 0x00000034 
+ 00025284  0x0000672f fetch  0x00000001 , 0x00000078 
+ 00025285  0x00006730 nrtn  0x00000034 
+ 00025286  0x00006731 branch  0x000062d1 
+ 00025287  0x00006733 fetch  0x00000001 , 0x00000078 
+ 00025288  0x00006734 branch  0x000062d7 , 0x00000034 
+ 00025289  0x00006735 fetch  0x00000003 , 0x00000078 
+ 00025290  0x00006736 store  0x00000003 , 0x00000048 
+ 00025291  0x00006737 fetcht  0x00000001 , 0x0000007b 
+ 00025292  0x00006738 fetch  0x00000001 , 0x0000004c 
+ 00025293  0x00006739 set0  0x00000001 , 0x0000003f 
+ 00025294  0x0000673a ior  0x00000002 , 0x0000003f 
+ 00025295  0x0000673b store  0x00000001 , 0x0000004c 
+ 00025296  0x0000673c jam  0x00000000 , 0x00000078 
+ 00025297  0x0000673e fetch  0x00000001 , 0x0000007c 
+ 00025298  0x0000673f rtn  0x00000034 
+ 00025299  0x00006740 fetch  0x00000004 , 0x0000007c 
+ 00025300  0x00006741 store  0x00000004 , 0x00000078 
+ 00025301  0x00006742 jam  0x00000000 , 0x0000007c 
+ 00025302  0x00006743 rtn 
+ 00025303  0x00006745 fetch  0x00000001 , 0x0000007c 
+ 00025304  0x00006746 rtn  0x00000034 
+ 00025305  0x00006747 fetch  0x00000003 , 0x0000007c 
+ 00025306  0x00006748 store  0x00000003 , 0x00000048 
+ 00025307  0x00006749 fetcht  0x00000001 , 0x0000007f 
+ 00025308  0x0000674a fetch  0x00000001 , 0x0000004c 
+ 00025309  0x0000674b set0  0x00000001 , 0x0000003f 
+ 00025310  0x0000674c ior  0x00000002 , 0x0000003f 
+ 00025311  0x0000674d store  0x00000001 , 0x0000004c 
+ 00025312  0x0000674e jam  0x00000000 , 0x0000007c 
+ 00025313  0x0000674f rtn 
+ 00025314  0x00006753 bpatchx  0x00000087 , 0x00004030 
+ 00025315  0x00006754 fetch  0x00000001 , 0x0000004c 
+ 00025316  0x00006755 copy  0x0000003f , 0x00000013 
+ 00025317  0x00006756 ifetch  0x00000001 , 0x00000002 
+ 00025318  0x00006757 call  0x00005e52 
+ 00025319  0x00006758 call  0x000062a7 
+ 00025320  0x00006759 copy  0x00000013 , 0x0000003f 
+ 00025321  0x0000675a store  0x00000001 , 0x0000004c 
+ 00025322  0x0000675b rtn 
+ 00025323  0x0000675e fetcht  0x00000001 , 0x0000004c 
+ 00025324  0x0000675f set0  0x00000000 , 0x00000002 
+ 00025325  0x00006760 storet  0x00000001 , 0x0000004c 
+ 00025326  0x00006761 rtn 
+ 00025327  0x00006764 fetcht  0x00000001 , 0x0000004c 
+ 00025328  0x00006765 set1  0x00000000 , 0x00000002 
+ 00025329  0x00006766 storet  0x00000001 , 0x0000004c 
+ 00025330  0x00006767 rtn 
+ 00025331  0x0000676b nsetflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00025332  0x0000676c fetcht  0x00000001 , 0x0000004c 
+ 00025333  0x0000676d ixor  0x00000002 , 0x0000003f 
+ 00025334  0x0000676e isolate1  0x00000001 , 0x0000003f 
+ 00025335  0x0000676f rtn 
+ 00025336  0x00006773 fetch  0x00000001 , 0x0000004c 
+ 00025337  0x00006774 setflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00025338  0x00006775 store  0x00000001 , 0x0000004c 
+ 00025339  0x00006776 rtn 
+ 00025340  0x0000677a fetch  0x00000001 , 0x000009b4 
+ 00025341  0x0000677b compare  0x00000001 , 0x0000003f , 0x0000007f 
+ 00025342  0x0000677c rtn 
+ 00025343  0x0000677e fetch  0x00000001 , 0x000009b4 
+ 00025344  0x0000677f set1  0x00000007 , 0x0000003f 
+ 00025345  0x00006780 store  0x00000001 , 0x000009b4 
+ 00025346  0x00006781 rtn 
+ 00025347  0x00006783 fetch  0x00000001 , 0x000009b4 
+ 00025348  0x00006784 set0  0x00000007 , 0x0000003f 
+ 00025349  0x00006785 store  0x00000001 , 0x000009b4 
+ 00025350  0x00006786 rtn 
+ 00025351  0x00006788 fetch  0x00000001 , 0x000009b4 
+ 00025352  0x00006789 isolate1  0x00000007 , 0x0000003f 
+ 00025353  0x0000678a store  0x00000001 , 0x000009b4 
+ 00025354  0x0000678b rtn 
+ 00025355  0x0000678f arg  0x00000562 , 0x00000005 
+ 00025356  0x00006791 force  0x00000010 , 0x00000039 
+ 00025357  0x00006794 random  0x0000003f 
+ 00025358  0x00006795 istore  0x00000001 , 0x00000005 
+ 00025359  0x00006796 loop  0x0000630d 
+ 00025360  0x00006797 rtn 
+ 00025361  0x0000679a call  0x00007259 
+ 00025362  0x0000679b arg  0x000041be , 0x00000011 
+ 00025363  0x0000679c arg  0x00000592 , 0x00000012 
+ 00025364  0x0000679d ifetch  0x00000008 , 0x00000011 
+ 00025365  0x0000679e fetcht  0x00000001 , 0x00000030 
+ 00025366  0x0000679f nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00025367  0x000067a0 storet  0x00000001 , 0x00000030 
+ 00025368  0x000067a1 copy  0x00000011 , 0x00000005 
+ 00025369  0x000067a2 call  0x00007352 
+ 00025370  0x000067a3 branch  0x000021c4 
+ 00025371  0x000067ab bpatchx  0x00000088 , 0x00004031 
+ 00025372  0x000067ad call  0x000062bc 
+ 00025373  0x000067ae nrtn  0x00000034 
+ 00025374  0x000067b0 fetch  0x00000001 , 0x00000055 
+ 00025375  0x000067b1 rtn  0x00000034 
+ 00025376  0x000067b5 beq  0x00000004 , 0x0000636f 
+ 00025377  0x000067b6 beq  0x00000005 , 0x00006374 
+ 00025378  0x000067b7 beq  0x00000002 , 0x00006366 
+ 00025379  0x000067b8 beq  0x00000003 , 0x0000637c 
+ 00025380  0x000067b9 beq  0x0000000e , 0x00006369 
+ 00025381  0x000067ba beq  0x00000006 , 0x00006398 
+ 00025382  0x000067bb beq  0x00000007 , 0x000063b0 
+ 00025383  0x000067bc beq  0x00000009 , 0x000063b1 
+ 00025384  0x000067bd beq  0x0000000a , 0x000063ba 
+ 00025385  0x000067be beq  0x0000000b , 0x000063be 
+ 00025386  0x000067bf beq  0x0000000c , 0x00006386 
+ 00025387  0x000067c0 beq  0x0000000d , 0x00006389 
+ 00025388  0x000067c1 beq  0x0000000f , 0x0000638f 
+ 00025389  0x000067c2 beq  0x00000012 , 0x00006359 
+ 00025390  0x000067c3 beq  0x00000013 , 0x0000637c 
+ 00025391  0x000067c4 beq  0x00000010 , 0x0000635c 
+ 00025392  0x000067c5 beq  0x00000014 , 0x00006356 
+ 00025393  0x000067c6 beq  0x00000015 , 0x0000637c 
+ 00025394  0x000067c7 beq  0x00000016 , 0x00006350 
+ 00025395  0x000067c8 beq  0x00000018 , 0x00006355 
+ 00025396  0x000067c9 beq  0x00000017 , 0x00006349 
+ 00025397  0x000067ca beq  0x00000019 , 0x0000634f 
+ 00025398  0x000067cb beq  0x0000001a , 0x0000633a 
+ 00025399  0x000067cc beq  0x0000001b , 0x00006344 
+ 00025400  0x000067cd jam  0x00000000 , 0x00000055 
+ 00025401  0x000067cf rtn 
+ 00025402  0x000067d1 fetch  0x00000001 , 0x000004d1 
+ 00025403  0x000067d2 rtnbit0  0x00000002 
+ 00025404  0x000067d3 rtnbit0  0x00000003 
+ 00025405  0x000067d4 jam  0x00000000 , 0x00000055 
+ 00025406  0x000067d5 call  0x00006340 
+ 00025407  0x000067d6 branch  0x00006cef 
+ 00025408  0x000067d9 fetch  0x00000001 , 0x0000016d 
+ 00025409  0x000067da rtnbit0  0x00000001 
+ 00025410  0x000067db jam  0x0000000a , 0x00000055 
+ 00025411  0x000067dc rtn 
+ 00025412  0x000067df arg  0x00000007 , 0x00000007 
+ 00025413  0x000067e0 call  0x00007f16 
+ 00025414  0x000067e1 nrtn  0x00000034 
+ 00025415  0x000067e2 jam  0x0000001a , 0x00000055 
+ 00025416  0x000067e3 rtn 
+ 00025417  0x000067e6 fetch  0x00000001 , 0x0000016d 
+ 00025418  0x000067e7 set0  0x00000000 , 0x0000003f 
+ 00025419  0x000067e8 store  0x00000001 , 0x0000016d 
+ 00025420  0x000067e9 jam  0x00000019 , 0x00000055 
+ 00025421  0x000067ea jam  0x0000000b , 0x0000007c 
+ 00025422  0x000067eb rtn 
+ 00025423  0x000067ed rtn 
+ 00025424  0x000067ef fetch  0x00000001 , 0x000004d4 
+ 00025425  0x000067f0 rtnne  0x00000002 
+ 00025426  0x000067f1 call  0x000063c0 
+ 00025427  0x000067f2 jam  0x00000018 , 0x00000055 
+ 00025428  0x000067f3 rtn 
+ 00025429  0x000067f6 rtn 
+ 00025430  0x000067f8 jam  0x00000015 , 0x00000055 
+ 00025431  0x000067f9 jam  0x00000083 , 0x0000007c 
+ 00025432  0x000067fa rtn 
+ 00025433  0x000067fc jam  0x00000013 , 0x00000055 
+ 00025434  0x000067fd jam  0x00000025 , 0x0000007c 
+ 00025435  0x000067fe rtn 
+ 00025436  0x00006801 fetch  0x00000001 , 0x0000455b 
+ 00025437  0x00006802 rtneq  0x00000000 
+ 00025438  0x00006803 beq  0x00000001 , 0x00006364 
+ 00025439  0x00006804 arg  0x00000006 , 0x00000007 
+ 00025440  0x00006805 call  0x00007f16 
+ 00025441  0x00006806 nrtn  0x00000034 
+ 00025442  0x00006807 jam  0x00000000 , 0x0000455b 
+ 00025443  0x00006808 branch  0x0000637d 
+ 00025444  0x0000680a rtn  0x00000029 
+ 00025445  0x0000680b branch  0x00006398 
+ 00025446  0x0000680e jam  0x00000003 , 0x00000055 
+ 00025447  0x0000680f jam  0x00000027 , 0x0000007c 
+ 00025448  0x00006810 rtn 
+ 00025449  0x00006812 jam  0x00000013 , 0x0000007c 
+ 00025450  0x00006813 set1  0x00000003 , 0x00000000 
+ 00025451  0x00006814 jam  0x00000005 , 0x00000055 
+ 00025452  0x00006815 setarg  0x000001ff 
+ 00025453  0x00006816 store  0x00000002 , 0x000004d2 
+ 00025454  0x00006817 rtn 
+ 00025455  0x00006819 jam  0x00000005 , 0x00000055 
+ 00025456  0x0000681a jam  0x000000ff , 0x000004d2 
+ 00025457  0x0000681b set0  0x00000022 , 0x00000000 
+ 00025458  0x0000681c jam  0x00000033 , 0x0000007c 
+ 00025459  0x0000681d branch  0x00005d04 
+ 00025460  0x0000681f rtnmark1  0x00000022 
+ 00025461  0x00006820 fetch  0x00000002 , 0x000004d2 
+ 00025462  0x00006821 sub  0x0000003f , 0x00000001 , 0x0000003f 
+ 00025463  0x00006822 branch  0x0000637a , 0x00000005 
+ 00025464  0x00006823 store  0x00000002 , 0x000004d2 
+ 00025465  0x00006824 rtn 
+ 00025466  0x00006826 jam  0x0000000e , 0x00000055 
+ 00025467  0x00006827 rtn 
+ 00025468  0x0000682a rtn 
+ 00025469  0x0000682d fetch  0x00000001 , 0x000004d1 
+ 00025470  0x0000682e rtnbit0  0x00000003 
+ 00025471  0x0000682f rtnbit0  0x00000002 
+ 00025472  0x00006830 fetch  0x00000001 , 0x0000016d 
+ 00025473  0x00006831 set0  0x00000002 , 0x0000003f 
+ 00025474  0x00006832 store  0x00000001 , 0x0000016d 
+ 00025475  0x00006833 jam  0x00000013 , 0x0000007c 
+ 00025476  0x00006834 jam  0x00000010 , 0x00000055 
+ 00025477  0x00006835 rtn 
+ 00025478  0x00006838 jam  0x0000000d , 0x00000055 
+ 00025479  0x00006839 jam  0x00000031 , 0x0000007c 
+ 00025480  0x0000683a rtn 
+ 00025481  0x0000683d fetch  0x00000001 , 0x000004d1 
+ 00025482  0x0000683e rtnbit0  0x00000002 
+ 00025483  0x0000683f jam  0x00000000 , 0x00000055 
+ 00025484  0x00006841 rtn 
+ 00025485  0x00006843 jam  0x00000006 , 0x00000055 
+ 00025486  0x00006844 rtn 
+ 00025487  0x00006847 fetch  0x00000001 , 0x000004d2 
+ 00025488  0x00006848 increase  0xffffffff , 0x0000003f 
+ 00025489  0x00006849 branch  0x00006394 , 0x00000034 
+ 00025490  0x0000684a store  0x00000001 , 0x000004d2 
+ 00025491  0x0000684b rtn 
+ 00025492  0x0000684d jam  0x00000007 , 0x0000007c 
+ 00025493  0x0000684e jam  0x00000016 , 0x000004ca 
+ 00025494  0x0000684f jam  0x00000000 , 0x00000055 
+ 00025495  0x00006850 rtn 
+ 00025496  0x00006853 fetch  0x00000001 , 0x0000016d 
+ 00025497  0x00006854 bbit1  0x00000002 , 0x0000637d 
+ 00025498  0x00006855 bbit1  0x00000000 , 0x0000639d 
+ 00025499  0x00006857 jam  0x0000001a , 0x00000055 
+ 00025500  0x00006858 rtn 
+ 00025501  0x0000685a fetch  0x00000001 , 0x000041bd 
+ 00025502  0x0000685b branch  0x000063a9 , 0x00000034 
+ 00025503  0x0000685c fetch  0x00000001 , 0x000004d1 
+ 00025504  0x0000685d rtnbit0  0x00000003 
+ 00025505  0x0000685e rtnbit0  0x00000002 
+ 00025506  0x0000685f fetch  0x00000004 , 0x000004e9 
+ 00025507  0x00006860 arg  0x00000064 , 0x00000002 
+ 00025508  0x00006861 iadd  0x00000002 , 0x00000002 
+ 00025509  0x00006862 copy  0x00000022 , 0x0000003f 
+ 00025510  0x00006863 isub  0x00000002 , 0x0000003e 
+ 00025511  0x00006864 nrtn  0x00000002 
+ 00025512  0x00006865 branch  0x00006349 
+ 00025513  0x0000686a jam  0x00000016 , 0x00000055 
+ 00025514  0x0000686b jam  0x00000004 , 0x00004689 
+ 00025515  0x0000686c setarg  0x00003030 
+ 00025516  0x0000686d store  0x00000002 , 0x0000468a 
+ 00025517  0x0000686e istore  0x00000002 , 0x00000005 
+ 00025518  0x0000686f jam  0x00000002 , 0x000004d4 
+ 00025519  0x00006870 branch  0x00006350 
+ 00025520  0x00006873 rtn 
+ 00025521  0x00006875 fetch  0x00000001 , 0x0000016d 
+ 00025522  0x00006876 bbit1  0x00000001 , 0x000063b5 
+ 00025523  0x00006877 jam  0x0000001a , 0x00000055 
+ 00025524  0x00006878 rtn 
+ 00025525  0x0000687b fetch  0x00000001 , 0x0000016d 
+ 00025526  0x0000687c set0  0x00000001 , 0x0000003f 
+ 00025527  0x0000687d store  0x00000001 , 0x0000016d 
+ 00025528  0x0000687e jam  0x0000000f , 0x0000007c 
+ 00025529  0x0000687f rtn 
+ 00025530  0x00006882 fetch  0x00000001 , 0x000004d8 
+ 00025531  0x00006883 rtn  0x00000034 
+ 00025532  0x00006884 jam  0x00000000 , 0x00000055 
+ 00025533  0x00006885 branch  0x000063b5 
+ 00025534  0x00006888 jam  0x0000000c , 0x00000055 
+ 00025535  0x00006889 rtn 
+ 00025536  0x0000688c fetch  0x00000001 , 0x0000004b 
+ 00025537  0x0000688d bbit1  0x00000002 , 0x000063c5 
+ 00025538  0x0000688e call  0x000062ef 
+ 00025539  0x0000688f jam  0x00000008 , 0x0000007c 
+ 00025540  0x00006890 branch  0x00004d04 
+ 00025541  0x00006892 fetch  0x00000001 , 0x0000004b 
+ 00025542  0x00006893 set0  0x00000002 , 0x0000003f 
+ 00025543  0x00006894 store  0x00000001 , 0x0000004b 
+ 00025544  0x00006895 call  0x00006001 
+ 00025545  0x00006896 call  0x000062f8 
+ 00025546  0x00006897 branch  0x00004d04 
+ 00025547  0x0000689a setarg  0x00000004 
+ 00025548  0x0000689b store  0x00000001 , 0x00004689 
+ 00025549  0x0000689c setarg  0x00003030 
+ 00025550  0x0000689d istore  0x00000002 , 0x00000005 
+ 00025551  0x0000689e istore  0x00000002 , 0x00000005 
+ 00025552  0x0000689f rtn 
+ 00025553  0x000068a6 bpatchx  0x0000008c , 0x00004031 
+ 00025554  0x000068a7 hfetch  0x00000001 , 0x00008073 
+ 00025555  0x000068a8 arg  0x00000006 , 0x00000002 
+ 00025556  0x000068a9 ior  0x00000002 , 0x0000003f 
+ 00025557  0x000068aa hstore  0x00000001 , 0x00008073 
+ 00025558  0x000068ab hfetch  0x00000001 , 0x00008077 
+ 00025559  0x000068ac ior  0x00000002 , 0x0000003f 
+ 00025560  0x000068ad hstore  0x00000001 , 0x00008077 
+ 00025561  0x000068ae call  0x000063ee 
+ 00025562  0x000068af hfetch  0x00000001 , 0x00008077 
+ 00025563  0x000068b0 set0  0x00000001 , 0x0000003f 
+ 00025564  0x000068b1 set0  0x00000002 , 0x0000003f 
+ 00025565  0x000068b2 hstore  0x00000001 , 0x00008077 
+ 00025566  0x000068b3 nop  0x0000001e 
+ 00025567  0x000068b4 branch  0x000063f2 
+ 00025568  0x000068b7 hfetch  0x00000001 , 0x00008073 
+ 00025569  0x000068b8 arg  0x000000c0 , 0x00000002 
+ 00025570  0x000068b9 ior  0x00000002 , 0x0000003f 
+ 00025571  0x000068ba hstore  0x00000001 , 0x00008073 
+ 00025572  0x000068bb hfetch  0x00000001 , 0x00008077 
+ 00025573  0x000068bc ior  0x00000002 , 0x0000003f 
+ 00025574  0x000068bd hstore  0x00000001 , 0x00008077 
+ 00025575  0x000068be call  0x000063ee 
+ 00025576  0x000068bf hfetch  0x00000001 , 0x00008077 
+ 00025577  0x000068c0 set0  0x00000006 , 0x0000003f 
+ 00025578  0x000068c1 set0  0x00000007 , 0x0000003f 
+ 00025579  0x000068c2 hstore  0x00000001 , 0x00008077 
+ 00025580  0x000068c3 nop  0x0000001e 
+ 00025581  0x000068c4 branch  0x000063f6 
+ 00025582  0x000068c7 hfetch  0x00000001 , 0x00008081 
+ 00025583  0x000068c8 and  0x0000003f , 0x000000fc , 0x0000003f 
+ 00025584  0x000068c9 hstore  0x00000001 , 0x00008081 
+ 00025585  0x000068ca rtn 
+ 00025586  0x000068cc hfetch  0x00000001 , 0x00008081 
+ 00025587  0x000068cd or  0x0000003f , 0x00000001 , 0x0000003f 
+ 00025588  0x000068ce hstore  0x00000001 , 0x00008081 
+ 00025589  0x000068cf rtn 
+ 00025590  0x000068d1 hfetch  0x00000001 , 0x00008081 
+ 00025591  0x000068d2 or  0x0000003f , 0x00000003 , 0x0000003f 
+ 00025592  0x000068d3 set0  0x00000004 , 0x0000003f 
+ 00025593  0x000068d4 hstore  0x00000001 , 0x00008081 
+ 00025594  0x000068d5 rtn 
+ 00025595  0x000068da copy  0x0000003f , 0x00000012 
+ 00025596  0x000068db call  0x0000640f 
+ 00025597  0x000068dc nop  0x00000064 
+ 00025598  0x000068dd copy  0x00000012 , 0x0000003f 
+ 00025599  0x000068de call  0x00006414 
+ 00025600  0x000068df copy  0x0000003f , 0x00000012 
+ 00025601  0x000068e0 call  0x00006411 
+ 00025602  0x000068e1 nop  0x00000064 
+ 00025603  0x000068e2 copy  0x00000012 , 0x0000003f 
+ 00025604  0x000068e3 rtn 
+ 00025605  0x000068e6 copy  0x0000003f , 0x00000012 
+ 00025606  0x000068e7 call  0x0000640f 
+ 00025607  0x000068e8 nop  0x00000064 
+ 00025608  0x000068e9 copy  0x00000012 , 0x0000003f 
+ 00025609  0x000068ea call  0x00006413 
+ 00025610  0x000068eb call  0x00006411 
+ 00025611  0x000068ec nop  0x00000064 
+ 00025612  0x000068ed rtn 
+ 00025613  0x000068f1 fetcht  0x00000001 , 0x00004214 
+ 00025614  0x000068f2 branch  0x0000680e 
+ 00025615  0x000068f6 fetcht  0x00000001 , 0x00004214 
+ 00025616  0x000068f7 branch  0x00006829 
+ 00025617  0x000068fb fetcht  0x00000001 , 0x00004214 
+ 00025618  0x000068fc branch  0x00006825 
+ 00025619  0x00006900 branch  0x000064ec 
+ 00025620  0x00006903 branch  0x000064f3 
+ 00025621  0x0000690b nbranch  0x00006419 , 0x00000028 
+ 00025622  0x0000690c hfetch  0x00000001 , 0x00008085 
+ 00025623  0x0000690d or_into  0x00000002 , 0x0000003f 
+ 00025624  0x0000690e hstore  0x00000001 , 0x00008085 
+ 00025625  0x00006910 copy  0x00000002 , 0x0000003e 
+ 00025626  0x00006911 branch  0x0000641c , 0x00000005 
+ 00025627  0x00006912 copy  0x00000013 , 0x0000003d 
+ 00025628  0x00006914 isolate0  0x00000000 , 0x0000003e 
+ 00025629  0x00006915 branch  0x000064b9 
+ 00025630  0x00006919 force  0x00000004 , 0x00000002 
+ 00025631  0x0000691b arg  0x000001fe , 0x00000011 
+ 00025632  0x0000691c hfetch  0x00000001 , 0x00008085 
+ 00025633  0x0000691d and_into  0x000000fd , 0x0000003f 
+ 00025634  0x0000691e hstore  0x00000001 , 0x00008085 
+ 00025635  0x0000691f call  0x00006419 
+ 00025636  0x00006920 arg  0x000055aa , 0x00000011 
+ 00025637  0x00006921 fetch  0x00000002 , 0x000001fe 
+ 00025638  0x00006922 ifetcht  0x00000002 , 0x00000006 
+ 00025639  0x00006923 isub  0x00000011 , 0x0000003e 
+ 00025640  0x00006924 rtn 
+ 00025641  0x00006927 arg  0x00000002 , 0x00000002 
+ 00025642  0x00006928 arg  0x00000204 , 0x00000011 
+ 00025643  0x00006929 call  0x00006419 
+ 00025644  0x0000692a fetch  0x00000002 , 0x00000204 
+ 00025645  0x0000692b store  0x00000002 , 0x000001f7 
+ 00025646  0x0000692c call  0x00006430 , 0x00000028 
+ 00025647  0x0000692d rtn 
+ 00025648  0x00006930 arg  0x00000010 , 0x00000002 
+ 00025649  0x00006931 arg  0x00000206 , 0x00000011 
+ 00025650  0x00006932 hfetch  0x00000001 , 0x00008085 
+ 00025651  0x00006933 and_into  0x000000fd , 0x0000003f 
+ 00025652  0x00006934 hstore  0x00000001 , 0x00008085 
+ 00025653  0x00006935 call  0x00006419 
+ 00025654  0x00006936 arg  0x00000206 , 0x00000006 
+ 00025655  0x00006937 arg  0x00000010 , 0x00000039 
+ 00025656  0x00006938 call  0x00007478 
+ 00025657  0x00006939 call  0x00007428 
+ 00025658  0x0000693a call  0x00007491 
+ 00025659  0x0000693b branch  0x00007422 
+ 00025660  0x0000693e disable  0x0000002d 
+ 00025661  0x0000693f call  0x0000641e 
+ 00025662  0x00006940 nrtn  0x00000005 
+ 00025663  0x00006941 enable  0x0000002d 
+ 00025664  0x00006942 jam  0x00000080 , 0x00008023 
+ 00025665  0x00006943 jam  0x00000000 , 0x00008022 
+ 00025666  0x00006944 jam  0x00000000 , 0x00008024 
+ 00025667  0x00006945 arg  0x00008025 , 0x00000011 
+ 00025668  0x00006946 call  0x00006415 
+ 00025669  0x00006947 jam  0x00000000 , 0x00008023 
+ 00025670  0x00006949 arg  0x00000006 , 0x00000002 
+ 00025671  0x0000694a call  0x0000641f 
+ 00025672  0x0000694b nrtn  0x00000005 
+ 00025673  0x0000694c ifetch  0x00000002 , 0x00000006 
+ 00025674  0x0000694d iforce  0x00000011 
+ 00025675  0x0000694e call  0x00006419 
+ 00025676  0x0000694f branch  0x00006446 
+ 00025677  0x00006954 call  0x00007f99 
+ 00025678  0x00006955 setarg  0x00001000 
+ 00025679  0x00006956 store  0x00000002 , 0x000001f7 
+ 00025680  0x00006957 arg  0x000065e5 , 0x00000013 
+ 00025681  0x00006958 arg  0x00000002 , 0x00000039 
+ 00025682  0x0000695a call  0x0000641e 
+ 00025683  0x0000695b nrtn  0x00000005 
+ 00025684  0x0000695c fetch  0x00000002 , 0x000001f7 
+ 00025685  0x0000695d byteswap  0x0000003f , 0x0000003f 
+ 00025686  0x0000695e iadd  0x00000002 , 0x0000003f 
+ 00025687  0x0000695f byteswap  0x0000003f , 0x0000003f 
+ 00025688  0x00006960 store  0x00000002 , 0x000001f7 
+ 00025689  0x00006961 loop  0x00006452 
+ 00025690  0x00006962 branch  0x00006446 
+ 00025691  0x00006965 call  0x00007f99 
+ 00025692  0x00006966 disable  0x00000028 
+ 00025693  0x00006967 call  0x0000666a 
+ 00025694  0x00006968 setarg  0x00000000 
+ 00025695  0x00006969 arg  0x000001f3 , 0x00000011 
+ 00025696  0x0000696a arg  0x00000002 , 0x00000002 
+ 00025697  0x0000696b call  0x000066b3 
+ 00025698  0x0000696c fetch  0x00000002 , 0x000001f3 
+ 00025699  0x0000696d bbit0  0x00000007 , 0x0000646e 
+ 00025700  0x0000696e jam  0x00000025 , 0x00008050 
+ 00025701  0x0000696f setarg  0x000007f0 
+ 00025702  0x00006970 arg  0x00000206 , 0x00000011 
+ 00025703  0x00006971 arg  0x00000010 , 0x00000002 
+ 00025704  0x00006972 call  0x000066b3 
+ 00025705  0x00006973 jam  0x00000008 , 0x00008006 
+ 00025706  0x00006974 set1  0x0000002b , 0x00000000 
+ 00025707  0x00006975 arg  0x00000206 , 0x00000006 
+ 00025708  0x00006976 call  0x00007484 
+ 00025709  0x00006977 enable  0x00000028 
+ 00025710  0x00006979 jam  0x00000000 , 0x000041da 
+ 00025711  0x0000697b call  0x000064b0 
+ 00025712  0x0000697c fetch  0x00000002 , 0x000001f3 
+ 00025713  0x0000697d byteswap  0x0000003f , 0x0000003f 
+ 00025714  0x0000697e arg  0x000007ff , 0x00000002 
+ 00025715  0x0000697f iand  0x00000002 , 0x0000003f 
+ 00025716  0x00006980 branch  0x0000647b , 0x00000005 
+ 00025717  0x00006981 call  0x0000666f 
+ 00025718  0x00006982 arg  0x000066b8 , 0x00000013 
+ 00025719  0x00006983 call  0x00006430 , 0x00000028 
+ 00025720  0x00006984 call  0x0000643c 
+ 00025721  0x00006985 fetch  0x00000001 , 0x000001f2 
+ 00025722  0x00006986 bbit0  0x00000000 , 0x0000646f 
+ 00025723  0x00006989 call  0x0000666d 
+ 00025724  0x0000698a jam  0x00000000 , 0x000041da 
+ 00025725  0x0000698c call  0x000064b0 
+ 00025726  0x0000698d call  0x000065c2 
+ 00025727  0x0000698e fetch  0x00000001 , 0x000001f3 
+ 00025728  0x0000698f bbit1  0x00000006 , 0x0000648e 
+ 00025729  0x00006990 call  0x000064aa 
+ 00025730  0x00006991 nbranch  0x00006486 , 0x0000002d 
+ 00025731  0x00006992 fetch  0x00000001 , 0x000001f2 
+ 00025732  0x00006993 bbit0  0x00000000 , 0x0000647d 
+ 00025733  0x00006994 branch  0x0000649b 
+ 00025734  0x00006996 call  0x000065bf 
+ 00025735  0x00006997 fetch  0x00000001 , 0x000001f3 
+ 00025736  0x00006998 bbit1  0x00000006 , 0x0000648e 
+ 00025737  0x00006999 call  0x000064aa 
+ 00025738  0x0000699a nbranch  0x0000648e , 0x0000002d 
+ 00025739  0x0000699b fetch  0x00000001 , 0x000001f2 
+ 00025740  0x0000699c bbit0  0x00000000 , 0x0000647d 
+ 00025741  0x0000699d branch  0x0000649b 
+ 00025742  0x000069a0 jam  0x00000000 , 0x000041da 
+ 00025743  0x000069a2 call  0x000064b0 
+ 00025744  0x000069a3 fetch  0x00000001 , 0x000001f3 
+ 00025745  0x000069a4 bbit1  0x00000005 , 0x0000649b 
+ 00025746  0x000069a5 setarg  0x00000000 
+ 00025747  0x000069a6 store  0x00000003 , 0x000001f6 
+ 00025748  0x000069a7 call  0x00006502 
+ 00025749  0x000069a8 arg  0x00006578 , 0x00000013 
+ 00025750  0x000069a9 call  0x00006429 
+ 00025751  0x000069aa call  0x0000643c 
+ 00025752  0x000069ab nbranch  0x0000649b , 0x0000002d 
+ 00025753  0x000069ac fetch  0x00000001 , 0x000001f2 
+ 00025754  0x000069ad bbit0  0x00000000 , 0x0000648f 
+ 00025755  0x000069b0 bmark1  0x0000002b , 0x0000649d 
+ 00025756  0x000069b1 call  0x000064a3 
+ 00025757  0x000069b3 fetch  0x00000001 , 0x000001f3 
+ 00025758  0x000069b4 bbit0  0x00000004 , 0x000064a3 
+ 00025759  0x000069b5 jam  0x00000021 , 0x00008050 
+ 00025760  0x000069b6 call  0x00004c0e 
+ 00025761  0x000069b8 call  0x00004c2e 
+ 00025762  0x000069b9 branch  0x000064a1 
+ 00025763  0x000069bc setarg  0x00000000 
+ 00025764  0x000069bd store  0x00000008 , 0x00000206 
+ 00025765  0x000069be store  0x00000008 , 0x0000020e 
+ 00025766  0x000069bf force  0x00000004 , 0x00000038 
+ 00025767  0x000069c0 call  0x00007492 
+ 00025768  0x000069c1 jam  0x00000021 , 0x00008050 
+ 00025769  0x000069c2 rtn 
+ 00025770  0x000069c6 setarg  0x00000000 
+ 00025771  0x000069c7 store  0x00000002 , 0x000001f7 
+ 00025772  0x000069c8 arg  0x000065e5 , 0x00000013 
+ 00025773  0x000069c9 call  0x000065a3 
+ 00025774  0x000069ca call  0x00006429 
+ 00025775  0x000069cb branch  0x0000643c 
+ 00025776  0x000069cf fetch  0x00000001 , 0x000041da 
+ 00025777  0x000069d0 increase  0x00000001 , 0x0000003f 
+ 00025778  0x000069d1 sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00025779  0x000069d2 nbranch  0x000064b6 , 0x00000002 
+ 00025780  0x000069d3 store  0x00000001 , 0x000041da 
+ 00025781  0x000069d4 rtn 
+ 00025782  0x000069d7 call  0x000064a3 
+ 00025783  0x000069d8 call  0x00007fa1 
+ 00025784  0x000069d9 rtn 
+ 00025785  0x000069de fetch  0x00000001 , 0x000001f2 
+ 00025786  0x000069df lshift  0x0000003f , 0x0000003f 
+ 00025787  0x000069e0 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00025788  0x000069e1 isolate0  0x0000000f , 0x00000011 
+ 00025789  0x000069e2 rtn  0x00000001 
+ 00025790  0x000069e3 store  0x00000001 , 0x000001f2 
+ 00025791  0x000069e4 rtn 
+ 00025792  0x000069e8 hfetch  0x00000001 , 0x00008085 
+ 00025793  0x000069e9 rtnbit0  0x00000001 
+ 00025794  0x000069ea branch  0x000064c6 
+ 00025795  0x000069ec hfetch  0x00000001 , 0x0000812c 
+ 00025796  0x000069ed qisolate1  0x0000003f 
+ 00025797  0x000069ee rtn  0x00000001 
+ 00025798  0x000069f0 hfetch  0x00000001 , 0x00008108 
+ 00025799  0x000069f1 bbit0  0x00000001 , 0x000064c3 
+ 00025800  0x000069f2 call  0x00007422 
+ 00025801  0x000069f3 branch  0x000064c3 
+ 00025802  0x000069f8 fetch  0x00000002 , 0x00004199 
+ 00025803  0x000069f9 rtn  0x00000034 
+ 00025804  0x000069fa jam  0x00000080 , 0x00008023 
+ 00025805  0x000069fb jam  0x00000000 , 0x00008022 
+ 00025806  0x000069fc jam  0x00000000 , 0x00008024 
+ 00025807  0x000069fd fetcht  0x00000002 , 0x0000419b 
+ 00025808  0x000069fe lshift2  0x00000002 , 0x00000039 
+ 00025809  0x000069ff iforce  0x00000006 
+ 00025810  0x00006a01 ifetch  0x00000001 , 0x00000006 
+ 00025811  0x00006a02 hstore  0x00000001 , 0x00008025 
+ 00025812  0x00006a03 loop  0x000064d2 
+ 00025813  0x00006a04 jam  0x00000000 , 0x00008023 
+ 00025814  0x00006a05 rtn 
+ 00025815  0x00006a0b bpatchx  0x0000008d , 0x00004031 
+ 00025816  0x00006a0c call  0x000064dd 
+ 00025817  0x00006a0d branch  0x000063f2 
+ 00025818  0x00006a10 call  0x000064dd 
+ 00025819  0x00006a11 call  0x000063ee 
+ 00025820  0x00006a12 branch  0x000063f6 
+ 00025821  0x00006a15 fetch  0x00000001 , 0x00004212 
+ 00025822  0x00006a16 hstore  0x00000001 , 0x00008086 
+ 00025823  0x00006a17 fetch  0x00000001 , 0x00004213 
+ 00025824  0x00006a18 hstore  0x00000001 , 0x00008087 
+ 00025825  0x00006a19 setarg  0x000001f5 
+ 00025826  0x00006a1a hstore  0x00000002 , 0x0000808a 
+ 00025827  0x00006a1b setarg  0x000001fa 
+ 00025828  0x00006a1c hstore  0x00000002 , 0x0000808c 
+ 00025829  0x00006a1d branch  0x000063ee 
+ 00025830  0x00006a20 hfetch  0x00000001 , 0x00008086 
+ 00025831  0x00006a21 set1  0x00000007 , 0x0000003f 
+ 00025832  0x00006a22 hstore  0x00000001 , 0x00008086 
+ 00025833  0x00006a23 set0  0x00000007 , 0x0000003f 
+ 00025834  0x00006a24 hstore  0x00000001 , 0x00008086 
+ 00025835  0x00006a25 rtn 
+ 00025836  0x00006a2a set1  0x00000007 , 0x0000003f 
+ 00025837  0x00006a2b store  0x00000002 , 0x000001f5 
+ 00025838  0x00006a2c bpatchx  0x0000008e , 0x00004031 
+ 00025839  0x00006a2d jam  0x00000002 , 0x00008088 
+ 00025840  0x00006a2e jam  0x00000000 , 0x0000808e 
+ 00025841  0x00006a2f jam  0x00000002 , 0x00008006 
+ 00025842  0x00006a30 branch  0x000064fc 
+ 00025843  0x00006a34 force  0x00000001 , 0x00000002 
+ 00025844  0x00006a38 store  0x00000001 , 0x000001f5 
+ 00025845  0x00006a39 bpatchx  0x0000008f , 0x00004031 
+ 00025846  0x00006a3a jam  0x00000001 , 0x00008088 
+ 00025847  0x00006a3b hstoret  0x00000002 , 0x0000808e 
+ 00025848  0x00006a3c jam  0x00000002 , 0x00008006 
+ 00025849  0x00006a3d call  0x000064fc 
+ 00025850  0x00006a3e fetch  0x00000001 , 0x000001fa 
+ 00025851  0x00006a3f rtn 
+ 00025852  0x00006a42 fetch  0x00000002 , 0x000040d6 
+ 00025853  0x00006a43 increase  0x00000001 , 0x0000003f 
+ 00025854  0x00006a44 store  0x00000002 , 0x000040d6 
+ 00025855  0x00006a45 hfetch  0x00000001 , 0x0000812c 
+ 00025856  0x00006a46 bbit0  0x00000003 , 0x000064fc 
+ 00025857  0x00006a47 rtn 
+ 00025858  0x00006a4a jam  0x00000040 , 0x00008086 
+ 00025859  0x00006a4b jam  0x00000000 , 0x00008087 
+ 00025860  0x00006a4c hfetch  0x00000001 , 0x00008081 
+ 00025861  0x00006a4d set0  0x00000000 , 0x0000003f 
+ 00025862  0x00006a4e set1  0x00000001 , 0x0000003f 
+ 00025863  0x00006a4f hstore  0x00000001 , 0x00008081 
+ 00025864  0x00006a50 setarg  0x00000000 
+ 00025865  0x00006a51 store  0x00000004 , 0x000001f5 
+ 00025866  0x00006a52 rtn 
+ 00025867  0x00006a56 setarg  0x00000000 
+ 00025868  0x00006a57 hstore  0x00000002 , 0x0000808e 
+ 00025869  0x00006a58 setarg  0x00000001 
+ 00025870  0x00006a59 hstore  0x00000002 , 0x00008088 
+ 00025871  0x00006a5a setarg  0x000001f5 
+ 00025872  0x00006a5b hstore  0x00000002 , 0x0000808a 
+ 00025873  0x00006a5c jam  0x00000006 , 0x000001f5 
+ 00025874  0x00006a5d jam  0x00000002 , 0x00008006 
+ 00025875  0x00006a5e branch  0x000064fc 
+ 00025876  0x00006a6e disable  0x00000028 
+ 00025877  0x00006a6f copy  0x0000003f , 0x00000012 
+ 00025878  0x00006a70 fetch  0x00000001 , 0x00004239 
+ 00025879  0x00006a71 rtnne  0x00000000 
+ 00025880  0x00006a72 enable  0x00000028 
+ 00025881  0x00006a73 copy  0x00000012 , 0x0000003f 
+ 00025882  0x00006a74 branch  0x00006522 
+ 00025883  0x00006a78 fetch  0x00000001 , 0x00004239 
+ 00025884  0x00006a79 beq  0x00000001 , 0x00006522 
+ 00025885  0x00006a7a beq  0x00000002 , 0x00006528 
+ 00025886  0x00006a7b beq  0x00000003 , 0x00006530 
+ 00025887  0x00006a7c beq  0x00000004 , 0x00006537 
+ 00025888  0x00006a7d beq  0x00000005 , 0x0000653d 
+ 00025889  0x00006a7e rtn 
+ 00025890  0x00006a81 store  0x00000003 , 0x00004232 
+ 00025891  0x00006a82 copy  0x00000011 , 0x0000003f 
+ 00025892  0x00006a83 store  0x00000002 , 0x00004235 
+ 00025893  0x00006a84 storet  0x00000002 , 0x00004237 
+ 00025894  0x00006a85 jam  0x00000002 , 0x00004239 
+ 00025895  0x00006a86 branch  0x00006502 
+ 00025896  0x00006a88 call  0x00006502 
+ 00025897  0x00006a89 jam  0x00000003 , 0x00004239 
+ 00025898  0x00006a8a call  0x0000650b 
+ 00025899  0x00006a8b arg  0x000001f5 , 0x00000011 
+ 00025900  0x00006a8c fetch  0x00000003 , 0x00004232 
+ 00025901  0x00006a8d jam  0x00000004 , 0x00008088 
+ 00025902  0x00006a8e arg  0x00000020 , 0x00000002 
+ 00025903  0x00006a8f branch  0x00006556 
+ 00025904  0x00006a92 call  0x00006502 
+ 00025905  0x00006a93 call  0x0000650b 
+ 00025906  0x00006a94 setarg  0x00000005 
+ 00025907  0x00006a95 call  0x000064f3 
+ 00025908  0x00006a96 rtnbit1  0x00000000 
+ 00025909  0x00006a97 jam  0x00000004 , 0x00004239 
+ 00025910  0x00006a98 rtn 
+ 00025911  0x00006a9a call  0x00006502 
+ 00025912  0x00006a9b jam  0x00000005 , 0x00004239 
+ 00025913  0x00006a9c call  0x0000650b 
+ 00025914  0x00006a9d call  0x0000654a 
+ 00025915  0x00006a9e call  0x00006552 
+ 00025916  0x00006a9f branch  0x00006545 
+ 00025917  0x00006aa1 call  0x00006502 
+ 00025918  0x00006aa2 call  0x0000650b 
+ 00025919  0x00006aa3 setarg  0x00000005 
+ 00025920  0x00006aa4 call  0x000064f3 
+ 00025921  0x00006aa5 rtnbit1  0x00000000 
+ 00025922  0x00006aa6 jam  0x00000000 , 0x00004239 
+ 00025923  0x00006aa7 fetch  0x00000002 , 0x00004201 
+ 00025924  0x00006aa8 branch  0x00007f9c 
+ 00025925  0x00006aaa fetch  0x00000004 , 0x00000aa2 
+ 00025926  0x00006aab fetcht  0x00000002 , 0x00004235 
+ 00025927  0x00006aac increase  0xfffffffc , 0x00000002 
+ 00025928  0x00006aad istore  0x00000004 , 0x00000002 
+ 00025929  0x00006aae rtn 
+ 00025930  0x00006ab0 fetcht  0x00000002 , 0x00004235 
+ 00025931  0x00006ab1 copy  0x00000002 , 0x00000011 
+ 00025932  0x00006ab2 increase  0xfffffffc , 0x00000002 
+ 00025933  0x00006ab3 ifetch  0x00000004 , 0x00000002 
+ 00025934  0x00006ab4 store  0x00000004 , 0x00000aa2 
+ 00025935  0x00006ab5 fetcht  0x00000002 , 0x00004237 
+ 00025936  0x00006ab6 fetch  0x00000003 , 0x00004232 
+ 00025937  0x00006ab7 rtn 
+ 00025938  0x00006abc increase  0x00000004 , 0x00000002 
+ 00025939  0x00006abd hstoret  0x00000002 , 0x00008088 
+ 00025940  0x00006abe arg  0x00000002 , 0x00000002 
+ 00025941  0x00006abf increase  0xfffffffc , 0x00000011 
+ 00025942  0x00006ac2 istoret  0x00000001 , 0x00000011 
+ 00025943  0x00006ac3 rshift16  0x0000003f , 0x00000002 
+ 00025944  0x00006ac4 istoret  0x00000001 , 0x00000005 
+ 00025945  0x00006ac5 rshift8  0x0000003f , 0x00000002 
+ 00025946  0x00006ac6 istoret  0x00000001 , 0x00000005 
+ 00025947  0x00006ac7 istore  0x00000001 , 0x00000005 
+ 00025948  0x00006ac8 deposit  0x00000011 
+ 00025949  0x00006ac9 hstore  0x00000002 , 0x0000808a 
+ 00025950  0x00006aca setarg  0x00000000 
+ 00025951  0x00006acb hstore  0x00000002 , 0x0000808e 
+ 00025952  0x00006acc jam  0x00000002 , 0x00008006 
+ 00025953  0x00006acd branch  0x000064fc 
+ 00025954  0x00006ad2 hstoret  0x00000002 , 0x0000808e 
+ 00025955  0x00006ad3 rshift16  0x0000003f , 0x00000002 
+ 00025956  0x00006ad4 storet  0x00000001 , 0x000001f6 
+ 00025957  0x00006ad5 rshift8  0x0000003f , 0x00000002 
+ 00025958  0x00006ad6 storet  0x00000001 , 0x000001f7 
+ 00025959  0x00006ad7 store  0x00000001 , 0x000001f8 
+ 00025960  0x00006ad8 setarg  0x00000004 
+ 00025961  0x00006ad9 hstore  0x00000002 , 0x00008088 
+ 00025962  0x00006ada jam  0x00000003 , 0x000001f5 
+ 00025963  0x00006adb setarg  0x000001f5 
+ 00025964  0x00006adc hstore  0x00000002 , 0x0000808a 
+ 00025965  0x00006add deposit  0x00000011 
+ 00025966  0x00006ade hstore  0x00000002 , 0x0000808c 
+ 00025967  0x00006adf hfetch  0x00000001 , 0x00008086 
+ 00025968  0x00006ae0 isolate0  0x0000000f , 0x00000011 
+ 00025969  0x00006ae1 setflag  0x00000001 , 0x00000006 , 0x0000003f 
+ 00025970  0x00006ae2 hstore  0x00000001 , 0x00008086 
+ 00025971  0x00006ae3 jam  0x00000002 , 0x00008006 
+ 00025972  0x00006ae5 hfetch  0x00000001 , 0x0000812c 
+ 00025973  0x00006ae6 bbit1  0x00000007 , 0x00006574 
+ 00025974  0x00006ae7 arg  0x00000003 , 0x00000007 
+ 00025975  0x00006ae8 branch  0x000064fc 
+ 00025976  0x00006aed hstoret  0x00000002 , 0x0000808e 
+ 00025977  0x00006aee setarg  0x00000004 
+ 00025978  0x00006aef hstore  0x00000002 , 0x00008088 
+ 00025979  0x00006af0 jam  0x00000003 , 0x000001f5 
+ 00025980  0x00006af1 setarg  0x000001f5 
+ 00025981  0x00006af2 hstore  0x00000002 , 0x0000808a 
+ 00025982  0x00006af3 deposit  0x00000011 
+ 00025983  0x00006af4 hstore  0x00000002 , 0x0000808c 
+ 00025984  0x00006af5 hfetch  0x00000001 , 0x00008086 
+ 00025985  0x00006af6 isolate0  0x0000000f , 0x00000011 
+ 00025986  0x00006af7 setflag  0x00000001 , 0x00000006 , 0x0000003f 
+ 00025987  0x00006af8 hstore  0x00000001 , 0x00008086 
+ 00025988  0x00006af9 jam  0x00000002 , 0x00008006 
+ 00025989  0x00006afb hfetch  0x00000001 , 0x0000812c 
+ 00025990  0x00006afc bbit1  0x00000007 , 0x00006585 
+ 00025991  0x00006afd arg  0x00000003 , 0x00000007 
+ 00025992  0x00006afe call  0x000064c0 
+ 00025993  0x00006aff call  0x000064fc 
+ 00025994  0x00006b00 isolate1  0x00000002 , 0x0000003f 
+ 00025995  0x00006b01 call  0x000064b9 
+ 00025996  0x00006b02 fetch  0x00000001 , 0x000001f6 
+ 00025997  0x00006b03 lshift16  0x0000003f , 0x00000012 
+ 00025998  0x00006b04 fetch  0x00000001 , 0x000001f7 
+ 00025999  0x00006b05 lshift8  0x0000003f , 0x0000003f 
+ 00026000  0x00006b06 ior  0x00000012 , 0x00000012 
+ 00026001  0x00006b07 fetch  0x00000001 , 0x000001f8 
+ 00026002  0x00006b08 ior  0x00000012 , 0x0000003f 
+ 00026003  0x00006b09 iadd  0x00000002 , 0x0000003f 
+ 00026004  0x00006b0a store  0x00000001 , 0x000001f8 
+ 00026005  0x00006b0b rshift8  0x0000003f , 0x0000003f 
+ 00026006  0x00006b0c store  0x00000001 , 0x000001f7 
+ 00026007  0x00006b0d rshift8  0x0000003f , 0x0000003f 
+ 00026008  0x00006b0e store  0x00000001 , 0x000001f6 
+ 00026009  0x00006b0f rtn 
+ 00026010  0x00006b15 jam  0x00000001 , 0x00008010 
+ 00026011  0x00006b16 rtn 
+ 00026012  0x00006b1d jam  0x0000000c , 0x00008091 
+ 00026013  0x00006b1e jam  0x0000000d , 0x00008092 
+ 00026014  0x00006b1f jam  0x0000000d , 0x00008093 
+ 00026015  0x00006b20 jam  0x0000000d , 0x00008094 
+ 00026016  0x00006b21 jam  0x0000000d , 0x00008095 
+ 00026017  0x00006b22 jam  0x0000000c , 0x00008096 
+ 00026018  0x00006b23 branch  0x000065a9 
+ 00026019  0x00006b27 jam  0x00000005 , 0x00008091 
+ 00026020  0x00006b28 jam  0x00000007 , 0x00008092 
+ 00026021  0x00006b29 jam  0x00000007 , 0x00008093 
+ 00026022  0x00006b2a jam  0x00000007 , 0x00008094 
+ 00026023  0x00006b2b jam  0x00000007 , 0x00008095 
+ 00026024  0x00006b2c jam  0x00000005 , 0x00008096 
+ 00026025  0x00006b2e hfetch  0x00000001 , 0x0000807b 
+ 00026026  0x00006b2f or_into  0x000000c0 , 0x0000003f 
+ 00026027  0x00006b30 hstore  0x00000001 , 0x0000807b 
+ 00026028  0x00006b31 hfetch  0x00000001 , 0x00008081 
+ 00026029  0x00006b32 or_into  0x00000010 , 0x0000003f 
+ 00026030  0x00006b33 hstore  0x00000001 , 0x00008081 
+ 00026031  0x00006b34 rtn 
+ 00026032  0x00006b39 hfetch  0x00000001 , 0x0000812c 
+ 00026033  0x00006b3a bbit0  0x00000005 , 0x000065b0 
+ 00026034  0x00006b3b rtn 
+ 00026035  0x00006b44 hstore  0x00000002 , 0x00008098 
+ 00026036  0x00006b45 deposit  0x00000011 
+ 00026037  0x00006b46 hstore  0x00000002 , 0x0000809a 
+ 00026038  0x00006b47 deposit  0x00000012 
+ 00026039  0x00006b48 hstore  0x00000002 , 0x0000809c 
+ 00026040  0x00006b49 deposit  0x00000002 
+ 00026041  0x00006b4a hstore  0x00000002 , 0x0000809e 
+ 00026042  0x00006b4b arg  0x00000001 , 0x00000002 
+ 00026043  0x00006b4c nsetflag  0x00000034 , 0x00000001 , 0x00000002 
+ 00026044  0x00006b4d hstore  0x00000001 , 0x00008090 
+ 00026045  0x00006b4e jam  0x00000004 , 0x00008006 
+ 00026046  0x00006b4f branch  0x000065b0 
+ 00026047  0x00006b53 set1  0x00000028 , 0x00000000 
+ 00026048  0x00006b54 jam  0x00000008 , 0x00004211 
+ 00026049  0x00006b55 rtn 
+ 00026050  0x00006b58 set0  0x00000028 , 0x00000000 
+ 00026051  0x00006b59 jam  0x00000020 , 0x00004211 
+ 00026052  0x00006b5a rtn 
+ 00026053  0x00006b5e fetch  0x00000001 , 0x00004203 
+ 00026054  0x00006b5f iadd  0x00000012 , 0x0000003f 
+ 00026055  0x00006b60 store  0x00000001 , 0x000001f7 
+ 00026056  0x00006b61 branch  0x000065cc 
+ 00026057  0x00006b64 fetch  0x00000002 , 0x000001f7 
+ 00026058  0x00006b65 byteswap  0x0000003f , 0x0000003f 
+ 00026059  0x00006b66 store  0x00000001 , 0x000001f7 
+ 00026060  0x00006b6c setarg  0x00000003 
+ 00026061  0x00006b6d hstore  0x00000002 , 0x00008098 
+ 00026062  0x00006b6e jam  0x000000a0 , 0x000001f6 
+ 00026063  0x00006b6f jam  0x000000a1 , 0x000001f8 
+ 00026064  0x00006b70 branch  0x000065eb 
+ 00026065  0x00006b77 storet  0x00000002 , 0x00000aa2 
+ 00026066  0x00006b78 call  0x000065d6 
+ 00026067  0x00006b79 fetcht  0x00000002 , 0x00000aa2 
+ 00026068  0x00006b7a call  0x00006606 
+ 00026069  0x00006b7b branch  0x000065dd 
+ 00026070  0x00006b7e fetch  0x00000001 , 0x0000423a 
+ 00026071  0x00006b7f rtneq  0x000000ff 
+ 00026072  0x00006b80 bbit0  0x00000006 , 0x000065db 
+ 00026073  0x00006b81 setarg  0x000249f0 
+ 00026074  0x00006b82 call  0x00002a8f 
+ 00026075  0x00006b84 fetcht  0x00000001 , 0x0000423a 
+ 00026076  0x00006b85 branch  0x00006829 
+ 00026077  0x00006b88 fetcht  0x00000001 , 0x0000423a 
+ 00026078  0x00006b89 branch  0x00006825 
+ 00026079  0x00006b8f bpatchx  0x00000090 , 0x00004032 
+ 00026080  0x00006b90 bmark1  0x00000028 , 0x000065c5 
+ 00026081  0x00006b91 fetch  0x00000002 , 0x00004203 
+ 00026082  0x00006b92 iadd  0x00000012 , 0x0000003f 
+ 00026083  0x00006b93 byteswap  0x0000003f , 0x0000003f 
+ 00026084  0x00006b94 store  0x00000002 , 0x000001f7 
+ 00026085  0x00006b98 bpatchx  0x00000091 , 0x00004032 
+ 00026086  0x00006b99 bmark1  0x00000028 , 0x000065c9 
+ 00026087  0x00006b9a setarg  0x00000004 
+ 00026088  0x00006b9b hstore  0x00000002 , 0x00008098 
+ 00026089  0x00006b9c jam  0x000000a0 , 0x000001f6 
+ 00026090  0x00006b9d jam  0x000000a1 , 0x000001f9 
+ 00026091  0x00006b9f setarg  0x000001f6 
+ 00026092  0x00006ba0 hstore  0x00000002 , 0x0000809a 
+ 00026093  0x00006ba1 hstoret  0x00000002 , 0x0000809e 
+ 00026094  0x00006ba2 deposit  0x00000011 
+ 00026095  0x00006ba3 hstore  0x00000002 , 0x0000809c 
+ 00026096  0x00006ba4 setarg  0x00000002 
+ 00026097  0x00006ba5 isolate0  0x0000000f , 0x00000011 
+ 00026098  0x00006ba6 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00026099  0x00006ba7 hstore  0x00000001 , 0x00008090 
+ 00026100  0x00006ba8 jam  0x00000004 , 0x00008006 
+ 00026101  0x00006ba9 arg  0x00000005 , 0x00000007 
+ 00026102  0x00006baa call  0x000064c0 
+ 00026103  0x00006bab call  0x000065b0 
+ 00026104  0x00006bac isolate1  0x00000004 , 0x0000003f 
+ 00026105  0x00006bad call  0x000064b9 
+ 00026106  0x00006bae bmark1  0x00000028 , 0x00006601 
+ 00026107  0x00006baf fetch  0x00000002 , 0x000001f7 
+ 00026108  0x00006bb0 byteswap  0x0000003f , 0x0000003f 
+ 00026109  0x00006bb1 iadd  0x00000002 , 0x0000003f 
+ 00026110  0x00006bb2 byteswap  0x0000003f , 0x0000003f 
+ 00026111  0x00006bb3 store  0x00000002 , 0x000001f7 
+ 00026112  0x00006bb4 rtn 
+ 00026113  0x00006bb7 fetch  0x00000001 , 0x000001f7 
+ 00026114  0x00006bb8 iadd  0x00000002 , 0x0000003f 
+ 00026115  0x00006bb9 byteswap  0x0000003f , 0x0000003f 
+ 00026116  0x00006bba store  0x00000002 , 0x000001f7 
+ 00026117  0x00006bbb rtn 
+ 00026118  0x00006bc2 fetch  0x00000002 , 0x00004203 
+ 00026119  0x00006bc3 iadd  0x00000012 , 0x0000003f 
+ 00026120  0x00006bc7 store  0x00000002 , 0x00000a9a 
+ 00026121  0x00006bc8 bpatchx  0x00000092 , 0x00004032 
+ 00026122  0x00006bc9 storet  0x00000002 , 0x00000aa2 
+ 00026123  0x00006bca copy  0x00000011 , 0x0000003f 
+ 00026124  0x00006bcb store  0x00000002 , 0x00000ab9 
+ 00026125  0x00006bcd call  0x0000661d 
+ 00026126  0x00006bcf fetcht  0x00000002 , 0x00000ab2 
+ 00026127  0x00006bd0 fetch  0x00000002 , 0x00000ab9 
+ 00026128  0x00006bd1 copy  0x0000003f , 0x00000011 
+ 00026129  0x00006bd2 fetch  0x00000002 , 0x00000a9a 
+ 00026130  0x00006bd4 call  0x0000663d 
+ 00026131  0x00006bd6 fetch  0x00000002 , 0x00000ab2 
+ 00026132  0x00006bd7 fetcht  0x00000002 , 0x00000ab9 
+ 00026133  0x00006bd8 iadd  0x00000002 , 0x00000002 
+ 00026134  0x00006bd9 storet  0x00000002 , 0x00000ab9 
+ 00026135  0x00006bda fetcht  0x00000002 , 0x00000a9a 
+ 00026136  0x00006bdb iadd  0x00000002 , 0x00000002 
+ 00026137  0x00006bdc storet  0x00000002 , 0x00000a9a 
+ 00026138  0x00006bdd fetch  0x00000002 , 0x00000aa2 
+ 00026139  0x00006bde nbranch  0x0000660d , 0x00000034 
+ 00026140  0x00006bdf rtn 
+ 00026141  0x00006be8 bpatchx  0x00000093 , 0x00004032 
+ 00026142  0x00006be9 fetch  0x00000001 , 0x00004211 
+ 00026143  0x00006bea increase  0xffffffff , 0x0000003f 
+ 00026144  0x00006beb fetcht  0x00000002 , 0x00000a9a 
+ 00026145  0x00006bec ior  0x00000002 , 0x0000003f 
+ 00026146  0x00006bed increase  0x00000001 , 0x0000003f 
+ 00026147  0x00006bee store  0x00000003 , 0x00000ab6 
+ 00026148  0x00006bf0 fetch  0x00000002 , 0x00000aa2 
+ 00026149  0x00006bf1 iadd  0x00000002 , 0x0000003f 
+ 00026150  0x00006bf3 fetcht  0x00000003 , 0x00000ab6 
+ 00026151  0x00006bf4 isub  0x00000002 , 0x0000003f 
+ 00026152  0x00006bf5 nbranch  0x0000662f , 0x00000002 
+ 00026153  0x00006bf6 store  0x00000002 , 0x00000aa2 
+ 00026154  0x00006bf7 fetch  0x00000003 , 0x00000ab6 
+ 00026155  0x00006bf8 fetcht  0x00000002 , 0x00000a9a 
+ 00026156  0x00006bf9 isub  0x00000002 , 0x0000003f 
+ 00026157  0x00006bfa store  0x00000002 , 0x00000ab2 
+ 00026158  0x00006bfb rtn 
+ 00026159  0x00006bfd fetch  0x00000002 , 0x00000aa2 
+ 00026160  0x00006bfe store  0x00000002 , 0x00000ab2 
+ 00026161  0x00006bff setarg  0x00000000 
+ 00026162  0x00006c00 store  0x00000002 , 0x00000aa2 
+ 00026163  0x00006c01 rtn 
+ 00026164  0x00006c04 increase  0x00000002 , 0x00000002 
+ 00026165  0x00006c05 hstoret  0x00000002 , 0x00008098 
+ 00026166  0x00006c06 increase  0xfffffffe , 0x00000011 
+ 00026167  0x00006c07 ifetcht  0x00000003 , 0x00000011 
+ 00026168  0x00006c08 copy  0x00000002 , 0x00000012 
+ 00026169  0x00006c09 arg  0x000000a0 , 0x00000002 
+ 00026170  0x00006c0a istoret  0x00000001 , 0x00000011 
+ 00026171  0x00006c0c istore  0x00000001 , 0x00000005 
+ 00026172  0x00006c0d branch  0x0000664a 
+ 00026173  0x00006c11 copy  0x0000003f , 0x00000012 
+ 00026174  0x00006c12 bpatchx  0x00000094 , 0x00004032 
+ 00026175  0x00006c13 bmark1  0x00000028 , 0x00006634 
+ 00026176  0x00006c14 copy  0x00000012 , 0x0000003f 
+ 00026177  0x00006c15 increase  0x00000003 , 0x00000002 
+ 00026178  0x00006c16 hstoret  0x00000002 , 0x00008098 
+ 00026179  0x00006c17 increase  0xfffffffd , 0x00000011 
+ 00026180  0x00006c18 ifetcht  0x00000003 , 0x00000011 
+ 00026181  0x00006c19 copy  0x00000002 , 0x00000012 
+ 00026182  0x00006c1a arg  0x000000a0 , 0x00000002 
+ 00026183  0x00006c1b istoret  0x00000001 , 0x00000011 
+ 00026184  0x00006c1c byteswap  0x0000003f , 0x0000003f 
+ 00026185  0x00006c1d istore  0x00000002 , 0x00000005 
+ 00026186  0x00006c1f deposit  0x00000011 
+ 00026187  0x00006c20 hstore  0x00000002 , 0x0000809a 
+ 00026188  0x00006c21 setarg  0x00000000 
+ 00026189  0x00006c22 hstore  0x00000002 , 0x0000809e 
+ 00026190  0x00006c23 jam  0x00000001 , 0x00008090 
+ 00026191  0x00006c24 jam  0x00000004 , 0x00008006 
+ 00026192  0x00006c25 call  0x000065b0 
+ 00026193  0x00006c26 copy  0x00000012 , 0x0000003f 
+ 00026194  0x00006c27 istore  0x00000003 , 0x00000011 
+ 00026195  0x00006c2a bpatchx  0x00000095 , 0x00004032 
+ 00026196  0x00006c2b jam  0x00000000 , 0x000001f9 
+ 00026197  0x00006c2d setarg  0x00000001 
+ 00026198  0x00006c2e hstore  0x00000002 , 0x00008098 
+ 00026199  0x00006c2f jam  0x000000a0 , 0x000001f6 
+ 00026200  0x00006c30 setarg  0x000001f6 
+ 00026201  0x00006c31 hstore  0x00000002 , 0x0000809a 
+ 00026202  0x00006c32 setarg  0x00000000 
+ 00026203  0x00006c33 hstore  0x00000002 , 0x0000809e 
+ 00026204  0x00006c34 hstore  0x00000002 , 0x0000809c 
+ 00026205  0x00006c35 setarg  0x00000003 
+ 00026206  0x00006c36 hstore  0x00000001 , 0x00008090 
+ 00026207  0x00006c37 jam  0x00000004 , 0x00008006 
+ 00026208  0x00006c38 call  0x000065b0 
+ 00026209  0x00006c39 hfetch  0x00000001 , 0x0000812c 
+ 00026210  0x00006c3a rtnbit0  0x00000006 
+ 00026211  0x00006c3b nop  0x000005dc 
+ 00026212  0x00006c3c fetch  0x00000001 , 0x000001f9 
+ 00026213  0x00006c3d increase  0x00000001 , 0x0000003f 
+ 00026214  0x00006c3e store  0x00000001 , 0x000001f9 
+ 00026215  0x00006c3f sub  0x0000003f , 0x00000028 , 0x0000003e 
+ 00026216  0x00006c40 nrtn  0x00000002 
+ 00026217  0x00006c41 branch  0x00006655 
+ 00026218  0x00006c46 jam  0x00000070 , 0x00008973 
+ 00026219  0x00006c47 nop  0x00000bb8 
+ 00026220  0x00006c48 rtn 
+ 00026221  0x00006c4b jam  0x00000030 , 0x00008973 
+ 00026222  0x00006c4c rtn 
+ 00026223  0x00006c4f lshift3  0x0000003f , 0x0000003f 
+ 00026224  0x00006c50 hstore  0x00000002 , 0x00008045 
+ 00026225  0x00006c51 jam  0x00000000 , 0x0000804b 
+ 00026226  0x00006c52 rtn 
+ 00026227  0x00006c56 call  0x0000666f 
+ 00026228  0x00006c57 call  0x000066a0 
+ 00026229  0x00006c59 ifetcht  0x00000001 , 0x00000011 
+ 00026230  0x00006c5a increase  0x00000001 , 0x00000011 
+ 00026231  0x00006c5b force  0x00000000 , 0x00000007 
+ 00026232  0x00006c5d qisolate0  0x00000002 
+ 00026233  0x00006c5e branch  0x00006697 , 0x00000001 
+ 00026234  0x00006c5f hfetch  0x00000001 , 0x00008046 
+ 00026235  0x00006c60 set1  0x00000006 , 0x0000003f 
+ 00026236  0x00006c61 set1  0x00000007 , 0x0000003f 
+ 00026237  0x00006c62 hstore  0x00000001 , 0x00008046 
+ 00026238  0x00006c63 jam  0x00000002 , 0x00008047 
+ 00026239  0x00006c64 jam  0x00000082 , 0x00008047 
+ 00026240  0x00006c65 set0  0x00000007 , 0x0000003f 
+ 00026241  0x00006c66 hstore  0x00000001 , 0x00008046 
+ 00026242  0x00006c67 jam  0x0000008a , 0x00008047 
+ 00026243  0x00006c68 nop  0x0000000b 
+ 00026244  0x00006c69 jam  0x000000ca , 0x00008047 
+ 00026245  0x00006c6a nop  0x00000021 
+ 00026246  0x00006c6b jam  0x0000004a , 0x00008047 
+ 00026247  0x00006c6c nop  0x0000002c 
+ 00026248  0x00006c6d jam  0x000000ca , 0x00008047 
+ 00026249  0x00006c6e nop  0x00000016 
+ 00026250  0x00006c6f jam  0x0000008a , 0x00008047 
+ 00026251  0x00006c70 nop  0x00000021 
+ 00026252  0x00006c71 jam  0x00000082 , 0x00008047 
+ 00026253  0x00006c72 nop  0x00000001 
+ 00026254  0x00006c73 jam  0x00000092 , 0x00008047 
+ 00026255  0x00006c74 nop  0x0000000a 
+ 00026256  0x00006c75 jam  0x000000b2 , 0x00008047 
+ 00026257  0x00006c76 hfetch  0x00000001 , 0x00008007 
+ 00026258  0x00006c77 jam  0x00000092 , 0x00008047 
+ 00026259  0x00006c78 nop  0x00000001 
+ 00026260  0x00006c79 jam  0x00000082 , 0x00008047 
+ 00026261  0x00006c7a qisolate0  0x0000003f 
+ 00026262  0x00006c7b branch  0x00006678 , 0x00000001 
+ 00026263  0x00006c7d hfetch  0x00000002 , 0x00008045 
+ 00026264  0x00006c7e increase  0x00000001 , 0x0000003f 
+ 00026265  0x00006c7f hstore  0x00000002 , 0x00008045 
+ 00026266  0x00006c80 increase  0x00000001 , 0x00000007 
+ 00026267  0x00006c81 compare  0x00000008 , 0x00000007 , 0x0000000f 
+ 00026268  0x00006c82 nbranch  0x00006678 , 0x00000001 
+ 00026269  0x00006c83 loop  0x00006675 
+ 00026270  0x00006c84 jam  0x00000083 , 0x00008047 
+ 00026271  0x00006c85 rtn 
+ 00026272  0x00006c88 jam  0x00000082 , 0x00008047 
+ 00026273  0x00006c89 nop  0x0000000c 
+ 00026274  0x00006c8a jam  0x00000080 , 0x00008047 
+ 00026275  0x00006c8b jam  0x00000082 , 0x00008047 
+ 00026276  0x00006c8c nop  0x00000096 
+ 00026277  0x00006c8d rtn 
+ 00026278  0x00006c91 call  0x000066a0 
+ 00026279  0x00006c92 jam  0x000000a2 , 0x00008047 
+ 00026280  0x00006c93 deposit  0x00000011 
+ 00026281  0x00006c94 hstore  0x00000002 , 0x00008048 
+ 00026282  0x00006c95 set1  0x0000000b , 0x00000002 
+ 00026283  0x00006c96 isolate0  0x0000000f , 0x0000003f 
+ 00026284  0x00006c97 setflag  0x00000001 , 0x0000000f , 0x00000002 
+ 00026285  0x00006c98 hstoret  0x00000002 , 0x0000804a 
+ 00026286  0x00006c99 jam  0x00000001 , 0x00008006 
+ 00026287  0x00006c9a rtn 
+ 00026288  0x00006c9d hfetch  0x00000001 , 0x0000812c 
+ 00026289  0x00006c9e bbit0  0x00000001 , 0x000066b0 
+ 00026290  0x00006c9f rtn 
+ 00026291  0x00006ca3 call  0x0000666f 
+ 00026292  0x00006ca4 call  0x000066a6 
+ 00026293  0x00006ca5 call  0x000066b0 
+ 00026294  0x00006ca6 jam  0x00000083 , 0x00008047 
+ 00026295  0x00006ca7 rtn 
+ 00026296  0x00006cad hfetch  0x00000002 , 0x00008124 
+ 00026297  0x00006cae hstore  0x00000002 , 0x00008045 
+ 00026298  0x00006caf call  0x000066a6 
+ 00026299  0x00006cb0 arg  0x00000001 , 0x00000007 
+ 00026300  0x00006cb1 call  0x000064c0 
+ 00026301  0x00006cb2 call  0x000066b0 
+ 00026302  0x00006cb3 isolate1  0x00000000 , 0x0000003f 
+ 00026303  0x00006cb4 call  0x000064b9 
+ 00026304  0x00006cb5 jam  0x00000083 , 0x00008047 
+ 00026305  0x00006cb6 rtn 
+ 00026306  0x00006cba hfetch  0x00000002 , 0x0000805e 
+ 00026307  0x00006cbb iforce  0x0000000a 
+ 00026308  0x00006cbc rtn 
+ 00026309  0x00006cbf deposit  0x0000000a 
+ 00026310  0x00006cc0 hstore  0x00000002 , 0x0000805e 
+ 00026311  0x00006cc1 rtn 
+ 00026312  0x00006cc4 deposit  0x00000003 
+ 00026313  0x00006cc5 hstore  0x00000002 , 0x00008058 
+ 00026314  0x00006cc6 rtn 
+ 00026315  0x00006cc9 hfetch  0x00000002 , 0x00008058 
+ 00026316  0x00006cca copy  0x0000003f , 0x00000003 
+ 00026317  0x00006ccb rtn 
+ 00026318  0x00006cce fetch  0x00000002 , 0x00004243 
+ 00026319  0x00006ccf hstore  0x00000002 , 0x00008052 
+ 00026320  0x00006cd0 rtn 
+ 00026321  0x00006cd3 deposit  0x00000039 
+ 00026322  0x00006cd4 rtn  0x00000034 
+ 00026323  0x00006cd6 increase  0xfffffff8 , 0x00000039 
+ 00026324  0x00006cd7 call  0x000066de , 0x00000002 
+ 00026325  0x00006cd8 rtn  0x00000005 
+ 00026326  0x00006cd9 branch  0x000066d3 , 0x00000002 
+ 00026327  0x00006cda increase  0x00000008 , 0x00000039 
+ 00026328  0x00006cdc increase  0xfffffffc , 0x00000039 
+ 00026329  0x00006cdd call  0x000066e1 , 0x00000002 
+ 00026330  0x00006cde rtn  0x00000005 
+ 00026331  0x00006cdf branch  0x000066d8 , 0x00000002 
+ 00026332  0x00006ce0 increase  0x00000004 , 0x00000039 
+ 00026333  0x00006ce1 branch  0x000066e4 
+ 00026334  0x00006ce4 ifetch  0x00000008 , 0x00000006 
+ 00026335  0x00006ce5 istore  0x00000008 , 0x0000000a 
+ 00026336  0x00006ce6 rtn 
+ 00026337  0x00006ce9 ifetch  0x00000004 , 0x00000006 
+ 00026338  0x00006cea istore  0x00000004 , 0x0000000a 
+ 00026339  0x00006ceb rtn 
+ 00026340  0x00006cee deposit  0x00000039 
+ 00026341  0x00006cef rtn  0x00000034 
+ 00026342  0x00006cf1 ifetch  0x00000001 , 0x00000006 
+ 00026343  0x00006cf2 istore  0x00000001 , 0x0000000a 
+ 00026344  0x00006cf3 loop  0x000066e6 
+ 00026345  0x00006cf4 rtn 
+ 00026346  0x00006cf7 deposit  0x00000039 
+ 00026347  0x00006cf8 rtn  0x00000034 
+ 00026348  0x00006cfa increase  0xfffffff8 , 0x00000039 
+ 00026349  0x00006cfb call  0x000066f7 , 0x00000002 
+ 00026350  0x00006cfc rtn  0x00000005 
+ 00026351  0x00006cfd branch  0x000066ec , 0x00000002 
+ 00026352  0x00006cfe increase  0x00000008 , 0x00000039 
+ 00026353  0x00006d00 increase  0xfffffffc , 0x00000039 
+ 00026354  0x00006d01 call  0x000066fa , 0x00000002 
+ 00026355  0x00006d02 rtn  0x00000005 
+ 00026356  0x00006d03 branch  0x000066f1 , 0x00000002 
+ 00026357  0x00006d04 increase  0x00000004 , 0x00000039 
+ 00026358  0x00006d05 branch  0x000066fd 
+ 00026359  0x00006d08 ifetch  0x00000008 , 0x00000003 
+ 00026360  0x00006d09 istore  0x00000008 , 0x00000005 
+ 00026361  0x00006d0a rtn 
+ 00026362  0x00006d0d ifetch  0x00000004 , 0x00000003 
+ 00026363  0x00006d0e istore  0x00000004 , 0x00000005 
+ 00026364  0x00006d0f rtn 
+ 00026365  0x00006d13 deposit  0x00000039 
+ 00026366  0x00006d14 rtn  0x00000034 
+ 00026367  0x00006d16 ifetch  0x00000001 , 0x00000003 
+ 00026368  0x00006d17 istore  0x00000001 , 0x00000005 
+ 00026369  0x00006d18 loop  0x000066ff 
+ 00026370  0x00006d19 rtn 
+ 00026371  0x00006d1d deposit  0x00000039 
+ 00026372  0x00006d1e rtn  0x00000034 
+ 00026373  0x00006d20 ifetch  0x00000001 , 0x00000003 
+ 00026374  0x00006d21 istore  0x00000001 , 0x0000000a 
+ 00026375  0x00006d22 loop  0x00006705 
+ 00026376  0x00006d23 rtn 
+ 00026377  0x00006d29 jam  0x0000003d , 0x00000a99 
+ 00026378  0x00006d2a branch  0x00007d86 
+ 00026379  0x00006d2e bpatchx  0x00000096 , 0x00004032 
+ 00026380  0x00006d2f fetch  0x00000001 , 0x00004217 
+ 00026381  0x00006d30 rtn  0x00000034 
+ 00026382  0x00006d31 call  0x000067a3 
+ 00026383  0x00006d32 call  0x000067a9 , 0x00000005 
+ 00026384  0x00006d33 call  0x0000673e 
+ 00026385  0x00006d35 fetch  0x00000001 , 0x00004217 
+ 00026386  0x00006d36 icopy  0x00000013 
+ 00026387  0x00006d37 fetcht  0x00000002 , 0x00004215 
+ 00026388  0x00006d38 storet  0x00000002 , 0x0000018c 
+ 00026389  0x00006d3a copy  0x00000013 , 0x0000003f 
+ 00026390  0x00006d3b branch  0x00006709 , 0x00000034 
+ 00026391  0x00006d3c increase  0xffffffff , 0x00000013 
+ 00026392  0x00006d3d copy  0x00000002 , 0x00000011 
+ 00026393  0x00006d3e ifetch  0x00000001 , 0x00000011 
+ 00026394  0x00006d3f fetcht  0x00000001 , 0x00000184 
+ 00026395  0x00006d40 isub  0x00000002 , 0x0000003e 
+ 00026396  0x00006d41 call  0x00006725 , 0x00000005 
+ 00026397  0x00006d42 branch  0x00006721 , 0x00000002 
+ 00026398  0x00006d43 ifetch  0x00000001 , 0x00000011 
+ 00026399  0x00006d44 increase  0x00000001 , 0x0000003f 
+ 00026400  0x00006d45 istore  0x00000001 , 0x00000011 
+ 00026401  0x00006d47 fetcht  0x00000002 , 0x0000018c 
+ 00026402  0x00006d48 increase  0x00000022 , 0x00000002 
+ 00026403  0x00006d49 storet  0x00000002 , 0x0000018c 
+ 00026404  0x00006d4a branch  0x00006715 
+ 00026405  0x00006d4d setarg  0x00000000 
+ 00026406  0x00006d4e istore  0x00000001 , 0x00000011 
+ 00026407  0x00006d4f fetch  0x00000001 , 0x00000185 
+ 00026408  0x00006d50 istore  0x00000001 , 0x00000005 
+ 00026409  0x00006d51 bne  0x00000033 , 0x00006733 
+ 00026410  0x00006d52 arg  0x000041be , 0x00000012 
+ 00026411  0x00006d54 ifetch  0x00000006 , 0x00000006 
+ 00026412  0x00006d55 istore  0x00000008 , 0x00000005 
+ 00026413  0x00006d56 setarg  0x00000000 
+ 00026414  0x00006d57 istore  0x00000008 , 0x00000005 
+ 00026415  0x00006d58 copy  0x00000012 , 0x00000006 
+ 00026416  0x00006d5a call  0x00007ebf 
+ 00026417  0x00006d5b force  0x00000001 , 0x0000003e 
+ 00026418  0x00006d5c rtn 
+ 00026419  0x00006d5f beq  0x00000036 , 0x00006737 
+ 00026420  0x00006d60 beq  0x00000037 , 0x0000673b 
+ 00026421  0x00006d61 arg  0x00004419 , 0x00000012 
+ 00026422  0x00006d62 branch  0x0000672b 
+ 00026423  0x00006d65 arg  0x000044d5 , 0x00000006 
+ 00026424  0x00006d66 call  0x00007ebf 
+ 00026425  0x00006d68 arg  0x00004419 , 0x00000006 
+ 00026426  0x00006d69 branch  0x00006730 
+ 00026427  0x00006d6c arg  0x000044cd , 0x00000006 
+ 00026428  0x00006d6d call  0x00007ebf 
+ 00026429  0x00006d6e branch  0x00006739 
+ 00026430  0x00006d72 call  0x00007fe9 
+ 00026431  0x00006d73 fetch  0x00000001 , 0x00004217 
+ 00026432  0x00006d74 rtn  0x00000034 
+ 00026433  0x00006d75 fetch  0x00000002 , 0x00004682 
+ 00026434  0x00006d76 bbit1  0x00000000 , 0x00006754 
+ 00026435  0x00006d78 bpatchx  0x00000097 , 0x00004032 
+ 00026436  0x00006d79 fetch  0x00000001 , 0x0000448e 
+ 00026437  0x00006d7a beq  0x00000000 , 0x0000674d 
+ 00026438  0x00006d7b fetch  0x00000001 , 0x00000454 
+ 00026439  0x00006d7c compare  0x000000c0 , 0x0000003f , 0x000000c0 
+ 00026440  0x00006d7d branch  0x0000674d , 0x00000001 
+ 00026441  0x00006d7e compare  0x00000040 , 0x0000003f , 0x000000c0 
+ 00026442  0x00006d7f branch  0x00006752 , 0x00000001 
+ 00026443  0x00006d80 compare  0x00000000 , 0x0000003f , 0x000000c0 
+ 00026444  0x00006d81 branch  0x00006750 , 0x00000001 
+ 00026445  0x00006d83 jam  0x00000035 , 0x00000185 
+ 00026446  0x00006d84 fetch  0x00000006 , 0x0000044f 
+ 00026447  0x00006d85 branch  0x00006757 
+ 00026448  0x00006d88 jam  0x00000037 , 0x00000185 
+ 00026449  0x00006d89 branch  0x00006757 
+ 00026450  0x00006d8d jam  0x00000036 , 0x00000185 
+ 00026451  0x00006d8e branch  0x00006757 
+ 00026452  0x00006d92 bpatchx  0x00000098 , 0x00004033 
+ 00026453  0x00006d93 jam  0x00000033 , 0x00000185 
+ 00026454  0x00006d94 fetch  0x00000006 , 0x00000040 
+ 00026455  0x00006d96 store  0x00000006 , 0x00000186 
+ 00026456  0x00006d97 fetch  0x00000002 , 0x00004215 
+ 00026457  0x00006d98 ifetcht  0x00000001 , 0x0000003f 
+ 00026458  0x00006d99 pincrease  0x00000001 
+ 00026459  0x00006d9a store  0x00000002 , 0x0000018c 
+ 00026460  0x00006d9b storet  0x00000001 , 0x00000184 
+ 00026461  0x00006d9c fetch  0x00000001 , 0x00004217 
+ 00026462  0x00006d9d icopy  0x00000013 
+ 00026463  0x00006d9f fetch  0x00000002 , 0x0000018c 
+ 00026464  0x00006da0 copy  0x0000003f , 0x00000011 
+ 00026465  0x00006da1 call  0x0000676f 
+ 00026466  0x00006da2 rtn  0x00000028 
+ 00026467  0x00006da3 fetcht  0x00000002 , 0x0000018c 
+ 00026468  0x00006da4 increase  0x00000022 , 0x00000002 
+ 00026469  0x00006da5 storet  0x00000002 , 0x0000018c 
+ 00026470  0x00006da6 increase  0xffffffff , 0x00000002 
+ 00026471  0x00006da7 ifetch  0x00000001 , 0x00000002 
+ 00026472  0x00006da8 store  0x00000001 , 0x00000184 
+ 00026473  0x00006da9 increase  0xffffffff , 0x00000013 
+ 00026474  0x00006daa nbranch  0x0000675f , 0x00000005 
+ 00026475  0x00006dab fetch  0x00000001 , 0x00004217 
+ 00026476  0x00006dac pincrease  0xffffffff 
+ 00026477  0x00006dad store  0x00000001 , 0x00000184 
+ 00026478  0x00006dae rtn 
+ 00026479  0x00006db0 fetch  0x00000001 , 0x00000185 
+ 00026480  0x00006db1 bne  0x00000033 , 0x00006776 
+ 00026481  0x00006db3 arg  0x00000185 , 0x00000012 
+ 00026482  0x00006db4 arg  0x00000007 , 0x00000039 
+ 00026483  0x00006db5 call  0x00007f88 
+ 00026484  0x00006db6 branch  0x00007fe7 , 0x00000005 
+ 00026485  0x00006db7 rtn 
+ 00026486  0x00006dba beq  0x00000036 , 0x00006779 
+ 00026487  0x00006dbb beq  0x00000037 , 0x00006794 
+ 00026488  0x00006dbc branch  0x00006771 
+ 00026489  0x00006dbf ifetcht  0x00000001 , 0x00000011 
+ 00026490  0x00006dc0 isub  0x00000002 , 0x0000003e 
+ 00026491  0x00006dc1 nrtn  0x00000005 
+ 00026492  0x00006dc2 arg  0x00000ac2 , 0x00000005 
+ 00026493  0x00006dc3 arg  0x00000010 , 0x00000039 
+ 00026494  0x00006dc4 call  0x00007ed4 
+ 00026495  0x00006dc5 fetch  0x00000003 , 0x00000452 
+ 00026496  0x00006dc6 store  0x00000003 , 0x00000ac2 
+ 00026497  0x00006dc7 call  0x0000678b 
+ 00026498  0x00006dc8 fetch  0x00000002 , 0x00000adf 
+ 00026499  0x00006dc9 byteswap  0x0000003f , 0x0000003f 
+ 00026500  0x00006dca lshift8  0x0000003f , 0x00000002 
+ 00026501  0x00006dcb ifetch  0x00000001 , 0x00000006 
+ 00026502  0x00006dcc iadd  0x00000002 , 0x0000003f 
+ 00026503  0x00006dcd fetcht  0x00000003 , 0x0000044f 
+ 00026504  0x00006dce isub  0x00000002 , 0x0000003e 
+ 00026505  0x00006dcf branch  0x00007fe7 , 0x00000005 
+ 00026506  0x00006dd0 rtn 
+ 00026507  0x00006dd4 arg  0x00000ac2 , 0x00000006 
+ 00026508  0x00006dd5 call  0x00007486 
+ 00026509  0x00006dd7 ifetch  0x00000001 , 0x00000011 
+ 00026510  0x00006dd8 call  0x00007487 
+ 00026511  0x00006dd9 force  0x00000038 , 0x00000036 
+ 00026512  0x00006dda force  0x00000000 , 0x00000036 
+ 00026513  0x00006ddb call  0x0000741d 
+ 00026514  0x00006ddc arg  0x00000ad2 , 0x00000005 
+ 00026515  0x00006ddd branch  0x00007497 
+ 00026516  0x00006de0 ifetcht  0x00000001 , 0x00000011 
+ 00026517  0x00006de1 isub  0x00000002 , 0x0000003e 
+ 00026518  0x00006de2 nrtn  0x00000005 
+ 00026519  0x00006de3 copy  0x00000006 , 0x00000011 
+ 00026520  0x00006de4 add  0x00000006 , 0x00000008 , 0x00000013 
+ 00026521  0x00006de5 arg  0x000044cd , 0x00000012 
+ 00026522  0x00006de6 arg  0x00000008 , 0x00000039 
+ 00026523  0x00006de7 call  0x00007f88 
+ 00026524  0x00006de8 branch  0x00007fe7 , 0x00000005 
+ 00026525  0x00006de9 copy  0x00000013 , 0x00000011 
+ 00026526  0x00006dea arg  0x000044d5 , 0x00000012 
+ 00026527  0x00006deb arg  0x00000008 , 0x00000039 
+ 00026528  0x00006dec call  0x00007f88 
+ 00026529  0x00006ded branch  0x00007fe7 , 0x00000005 
+ 00026530  0x00006dee rtn 
+ 00026531  0x00006df1 fetch  0x00000002 , 0x00004215 
+ 00026532  0x00006df2 ifetcht  0x00000001 , 0x0000003f 
+ 00026533  0x00006df3 pincrease  0x00000022 
+ 00026534  0x00006df4 ifetch  0x00000001 , 0x0000003f 
+ 00026535  0x00006df5 isub  0x00000002 , 0x0000003e 
+ 00026536  0x00006df6 rtn 
+ 00026537  0x00006df9 fetch  0x00000001 , 0x00004217 
+ 00026538  0x00006dfa icopy  0x00000039 
+ 00026539  0x00006dfb fetcht  0x00000002 , 0x00004215 
+ 00026540  0x00006dfc setarg  0x00000000 
+ 00026541  0x00006dfe istore  0x00000001 , 0x00000002 
+ 00026542  0x00006dff increase  0x00000022 , 0x00000002 
+ 00026543  0x00006e00 pincrease  0x00000001 
+ 00026544  0x00006e01 loop  0x000067ad 
+ 00026545  0x00006e02 rtn 
+ 00026546  0x00006e05 bpatchx  0x00000099 , 0x00004033 
+ 00026547  0x00006e06 call  0x0000673e 
+ 00026548  0x00006e07 fetch  0x00000001 , 0x00000030 
+ 00026549  0x00006e08 setflag  0x00000028 , 0x00000006 , 0x0000003f 
+ 00026550  0x00006e09 store  0x00000001 , 0x00000030 
+ 00026551  0x00006e0a nbranch  0x000067bc , 0x00000028 
+ 00026552  0x00006e0b add  0x00000011 , 0x0000000a , 0x00000006 
+ 00026553  0x00006e0d arg  0x000041be , 0x00000005 
+ 00026554  0x00006e0e call  0x00007ebf 
+ 00026555  0x00006e0f branch  0x000067d7 
+ 00026556  0x00006e11 jam  0x00000000 , 0x000041bd 
+ 00026557  0x00006e12 rtn 
+ 00026558  0x00006e15 fetch  0x00000009 , 0x000044cb 
+ 00026559  0x00006e16 branch  0x000067ca , 0x00000034 
+ 00026560  0x00006e17 call  0x0000673e 
+ 00026561  0x00006e18 nbranch  0x000067ca , 0x00000028 
+ 00026562  0x00006e19 fetch  0x00000002 , 0x0000018c 
+ 00026563  0x00006e1a add  0x0000003f , 0x00000001 , 0x00000006 
+ 00026564  0x00006e1b arg  0x000044d5 , 0x00000005 
+ 00026565  0x00006e1c call  0x00007ebf 
+ 00026566  0x00006e1d arg  0x00004419 , 0x00000005 
+ 00026567  0x00006e1e call  0x00007ebf 
+ 00026568  0x00006e1f jam  0x00000001 , 0x00004429 
+ 00026569  0x00006e20 rtn 
+ 00026570  0x00006e23 jam  0x00000000 , 0x00004429 
+ 00026571  0x00006e24 rtn 
+ 00026572  0x00006e28 fetch  0x00000006 , 0x0000044f 
+ 00026573  0x00006e29 store  0x00000006 , 0x00000186 
+ 00026574  0x00006e2a jam  0x00000034 , 0x00000185 
+ 00026575  0x00006e2b branch  0x000067d3 
+ 00026576  0x00006e2d fetch  0x00000006 , 0x00000040 
+ 00026577  0x00006e2e store  0x00000006 , 0x00000186 
+ 00026578  0x00006e2f jam  0x00000033 , 0x00000185 
+ 00026579  0x00006e31 fetch  0x00000001 , 0x00004092 
+ 00026580  0x00006e32 beq  0x0000000a , 0x0000670b 
+ 00026581  0x00006e33 bbit1  0x00000006 , 0x000042da 
+ 00026582  0x00006e34 rtn 
+ 00026583  0x00006e38 fetch  0x00000008 , 0x000041be 
+ 00026584  0x00006e39 fetcht  0x00000008 , 0x000041c6 
+ 00026585  0x00006e3a ior  0x00000002 , 0x0000003f 
+ 00026586  0x00006e3b rtn  0x00000034 
+ 00026587  0x00006e3c jam  0x00000001 , 0x000041bd 
+ 00026588  0x00006e3d rtn 
+ 00026589  0x00006e45 bpatchx  0x0000009a , 0x00004033 
+ 00026590  0x00006e46 set1  0x00000007 , 0x00000002 
+ 00026591  0x00006e47 call  0x0000681d 
+ 00026592  0x00006e48 nsetflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00026593  0x00006e4e bpatchx  0x0000009b , 0x00004033 
+ 00026594  0x00006e4f sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00026595  0x00006e50 rtn  0x00000005 
+ 00026596  0x00006e51 isolate0  0x00000007 , 0x00000002 
+ 00026597  0x00006e52 and  0x00000002 , 0x0000001f , 0x00000007 
+ 00026598  0x00006e53 fetch  0x00000004 , 0x000000a1 
+ 00026599  0x00006e54 qsetflag  0x00000001 , 0x0000003f 
+ 00026600  0x00006e55 store  0x00000004 , 0x000000a1 
+ 00026601  0x00006e56 fetch  0x00000004 , 0x000000a5 
+ 00026602  0x00006e57 nqsetflag  0x00000001 , 0x0000003f 
+ 00026603  0x00006e58 store  0x00000004 , 0x000000a5 
+ 00026604  0x00006e59 rtn 
+ 00026605  0x00006e5d bpatchx  0x0000009c , 0x00004033 
+ 00026606  0x00006e5e sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00026607  0x00006e5f rtn  0x00000005 
+ 00026608  0x00006e60 isolate0  0x00000007 , 0x00000002 
+ 00026609  0x00006e61 and  0x00000002 , 0x0000001f , 0x00000007 
+ 00026610  0x00006e62 fetch  0x00000004 , 0x000000a1 
+ 00026611  0x00006e63 qset0  0x0000003f 
+ 00026612  0x00006e64 store  0x00000004 , 0x000000a1 
+ 00026613  0x00006e65 fetch  0x00000004 , 0x000000a5 
+ 00026614  0x00006e66 qset0  0x0000003f 
+ 00026615  0x00006e67 store  0x00000004 , 0x000000a5 
+ 00026616  0x00006e68 rtn 
+ 00026617  0x00006e6c call  0x000067ed 
+ 00026618  0x00006e6d branch  0x000067fe 
+ 00026619  0x00006e71 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00026620  0x00006e72 rtn  0x00000005 
+ 00026621  0x00006e73 ncall  0x000067e1 , 0x0000002b 
+ 00026622  0x00006e76 arg  0x0000807c , 0x00000005 
+ 00026623  0x00006e77 call  0x00006830 
+ 00026624  0x00006e78 setflip  0x00000007 , 0x00000002 
+ 00026625  0x00006e79 arg  0x00008078 , 0x00000005 
+ 00026626  0x00006e7a call  0x00006830 
+ 00026627  0x00006e7b set0  0x00000007 , 0x00000002 
+ 00026628  0x00006e7c arg  0x00008070 , 0x00000005 
+ 00026629  0x00006e7d branch  0x00006830 
+ 00026630  0x00006e81 arg  0x0000807c , 0x00000005 
+ 00026631  0x00006e82 call  0x00006830 
+ 00026632  0x00006e83 set0  0x00000007 , 0x00000002 
+ 00026633  0x00006e84 arg  0x00008078 , 0x00000005 
+ 00026634  0x00006e85 call  0x00006830 
+ 00026635  0x00006e86 set0  0x00000007 , 0x00000002 
+ 00026636  0x00006e87 arg  0x00008070 , 0x00000005 
+ 00026637  0x00006e88 branch  0x00006830 
+ 00026638  0x00006e8d sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00026639  0x00006e8e rtn  0x00000005 
+ 00026640  0x00006e8f setflip  0x00000007 , 0x00000002 
+ 00026641  0x00006e90 call  0x0000682f 
+ 00026642  0x00006e92 set1  0x00000007 , 0x00000002 
+ 00026643  0x00006e93 arg  0x00008070 , 0x00000005 
+ 00026644  0x00006e94 branch  0x00006830 
+ 00026645  0x00006e97 and  0x00000002 , 0x00000007 , 0x00000007 
+ 00026646  0x00006e98 rshift3  0x00000002 , 0x0000003f 
+ 00026647  0x00006e99 and_into  0x00000003 , 0x0000003f 
+ 00026648  0x00006e9a iadd  0x00000005 , 0x00000005 
+ 00026649  0x00006e9b ifetch  0x00000001 , 0x00000005 
+ 00026650  0x00006e9c rtn 
+ 00026651  0x00006e9f arg  0x00008074 , 0x00000005 
+ 00026652  0x00006ea0 branch  0x0000681e 
+ 00026653  0x00006ea5 arg  0x0000811c , 0x00000005 
+ 00026654  0x00006ea7 call  0x00006815 
+ 00026655  0x00006ea8 isolate1  0x00000007 , 0x00000002 
+ 00026656  0x00006ea9 branch  0x00006823 , 0x00000001 
+ 00026657  0x00006eaa qisolate0  0x0000003f 
+ 00026658  0x00006eab rtn 
+ 00026659  0x00006ead qisolate1  0x0000003f 
+ 00026660  0x00006eae rtn 
+ 00026661  0x00006eb1 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00026662  0x00006eb2 rtn  0x00000005 
+ 00026663  0x00006eb3 isolate1  0x00000007 , 0x0000003e 
+ 00026664  0x00006eb4 branch  0x0000682c 
+ 00026665  0x00006eb7 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00026666  0x00006eb8 rtn  0x00000005 
+ 00026667  0x00006eb9 isolate0  0x00000007 , 0x0000003e 
+ 00026668  0x00006ebd setarg  0x00000000 
+ 00026669  0x00006ebe nsetflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00026670  0x00006ebf ixor  0x00000002 , 0x00000002 
+ 00026671  0x00006ec3 arg  0x00008074 , 0x00000005 
+ 00026672  0x00006ec7 call  0x00006815 
+ 00026673  0x00006ec8 isolate1  0x00000007 , 0x00000002 
+ 00026674  0x00006ec9 qsetflag  0x00000001 , 0x0000003f 
+ 00026675  0x00006eca istore  0x00000001 , 0x00000005 
+ 00026676  0x00006ecb rtn 
+ 00026677  0x00006ece arg  0xffffffff , 0x00000011 
+ 00026678  0x00006ecf hfetch  0x00000001 , 0x00008081 
+ 00026679  0x00006ed0 compare  0x00000002 , 0x0000003f , 0x00000003 
+ 00026680  0x00006ed1 call  0x00006878 , 0x00000001 
+ 00026681  0x00006ed3 compare  0x00000001 , 0x0000003f , 0x00000003 
+ 00026682  0x00006ed4 call  0x0000687a , 0x00000001 
+ 00026683  0x00006ed6 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00026684  0x00006ed7 call  0x0000687a , 0x00000001 
+ 00026685  0x00006ed9 isolate1  0x00000002 , 0x0000003f 
+ 00026686  0x00006eda call  0x00006874 , 0x00000001 
+ 00026687  0x00006edc isolate1  0x00000003 , 0x0000003f 
+ 00026688  0x00006edd call  0x00006876 , 0x00000001 
+ 00026689  0x00006edf isolate1  0x00000004 , 0x0000003f 
+ 00026690  0x00006ee0 call  0x0000687c , 0x00000001 
+ 00026691  0x00006ee2 isolate1  0x00000006 , 0x0000003f 
+ 00026692  0x00006ee3 nsetflag  0x00000001 , 0x00000004 , 0x00000011 
+ 00026693  0x00006ee5 isolate1  0x00000007 , 0x0000003f 
+ 00026694  0x00006ee6 nsetflag  0x00000001 , 0x00000005 , 0x00000011 
+ 00026695  0x00006ee8 hfetch  0x00000001 , 0x00008082 
+ 00026696  0x00006ee9 isolate1  0x00000000 , 0x0000003f 
+ 00026697  0x00006eea nsetflag  0x00000001 , 0x0000001b , 0x00000011 
+ 00026698  0x00006eeb isolate1  0x00000001 , 0x0000003f 
+ 00026699  0x00006eec nsetflag  0x00000001 , 0x0000001c , 0x00000011 
+ 00026700  0x00006eed isolate1  0x00000002 , 0x0000003f 
+ 00026701  0x00006eee nsetflag  0x00000001 , 0x00000003 , 0x00000011 
+ 00026702  0x00006eef isolate1  0x00000003 , 0x0000003f 
+ 00026703  0x00006ef0 nsetflag  0x00000001 , 0x00000008 , 0x00000011 
+ 00026704  0x00006ef1 isolate1  0x00000004 , 0x0000003f 
+ 00026705  0x00006ef2 nsetflag  0x00000001 , 0x00000014 , 0x00000011 
+ 00026706  0x00006ef3 isolate1  0x00000005 , 0x0000003f 
+ 00026707  0x00006ef4 nsetflag  0x00000001 , 0x00000015 , 0x00000011 
+ 00026708  0x00006ef5 isolate1  0x00000006 , 0x0000003f 
+ 00026709  0x00006ef6 nsetflag  0x00000001 , 0x00000016 , 0x00000011 
+ 00026710  0x00006ef7 isolate1  0x00000007 , 0x0000003f 
+ 00026711  0x00006ef8 nsetflag  0x00000001 , 0x00000017 , 0x00000011 
+ 00026712  0x00006efa hfetch  0x00000001 , 0x00008080 
+ 00026713  0x00006efb isolate1  0x00000000 , 0x0000003f 
+ 00026714  0x00006efc nsetflag  0x00000001 , 0x00000005 , 0x00000011 
+ 00026715  0x00006efd isolate1  0x00000001 , 0x0000003f 
+ 00026716  0x00006efe nsetflag  0x00000001 , 0x00000006 , 0x00000011 
+ 00026717  0x00006eff isolate1  0x00000002 , 0x0000003f 
+ 00026718  0x00006f00 nsetflag  0x00000001 , 0x00000007 , 0x00000011 
+ 00026719  0x00006f01 isolate1  0x00000003 , 0x0000003f 
+ 00026720  0x00006f02 nsetflag  0x00000001 , 0x00000012 , 0x00000011 
+ 00026721  0x00006f03 isolate1  0x00000004 , 0x0000003f 
+ 00026722  0x00006f04 nsetflag  0x00000001 , 0x00000013 , 0x00000011 
+ 00026723  0x00006f05 isolate1  0x00000005 , 0x0000003f 
+ 00026724  0x00006f06 nsetflag  0x00000001 , 0x00000014 , 0x00000011 
+ 00026725  0x00006f07 isolate1  0x00000006 , 0x0000003f 
+ 00026726  0x00006f08 nsetflag  0x00000001 , 0x00000015 , 0x00000011 
+ 00026727  0x00006f09 isolate1  0x00000007 , 0x0000003f 
+ 00026728  0x00006f0a nsetflag  0x00000001 , 0x00000016 , 0x00000011 
+ 00026729  0x00006f0c hfetch  0x00000001 , 0x00008062 
+ 00026730  0x00006f0d isolate1  0x00000004 , 0x0000003f 
+ 00026731  0x00006f0e call  0x0000687e , 0x00000001 
+ 00026732  0x00006f0f bpatchx  0x0000009d , 0x00004033 
+ 00026733  0x00006f11 hfetch  0x00000004 , 0x00008078 
+ 00026734  0x00006f12 hfetcht  0x00000004 , 0x0000807c 
+ 00026735  0x00006f13 ior  0x00000002 , 0x0000003f 
+ 00026736  0x00006f14 invert  0x0000003f , 0x0000003f 
+ 00026737  0x00006f15 iand  0x00000011 , 0x0000003f 
+ 00026738  0x00006f17 hstore  0x00000004 , 0x00008070 
+ 00026739  0x00006f18 rtn 
+ 00026740  0x00006f1c arg  0x00000006 , 0x00000007 
+ 00026741  0x00006f1d branch  0x00006884 
+ 00026742  0x00006f1f arg  0x00000009 , 0x00000007 
+ 00026743  0x00006f20 branch  0x00006882 
+ 00026744  0x00006f22 arg  0x00000017 , 0x00000007 
+ 00026745  0x00006f23 branch  0x00006882 
+ 00026746  0x00006f25 arg  0x00000019 , 0x00000007 
+ 00026747  0x00006f26 branch  0x00006884 
+ 00026748  0x00006f28 arg  0x0000001e , 0x00000007 
+ 00026749  0x00006f29 branch  0x00006884 
+ 00026750  0x00006f2b arg  0x00000002 , 0x00000007 
+ 00026751  0x00006f2c branch  0x00006884 
+ 00026752  0x00006f2e arg  0x00000001 , 0x00000039 
+ 00026753  0x00006f2f branch  0x00006885 
+ 00026754  0x00006f31 arg  0x00000004 , 0x00000039 
+ 00026755  0x00006f32 branch  0x00006885 
+ 00026756  0x00006f34 arg  0x00000002 , 0x00000039 
+ 00026757  0x00006f36 qset0  0x00000011 
+ 00026758  0x00006f37 increase  0x00000001 , 0x00000007 
+ 00026759  0x00006f38 loop  0x00006885 
+ 00026760  0x00006f39 rtn 
+ 00026761  0x00006f42 call  0x00006895 
+ 00026762  0x00006f43 arg  0x00000006 , 0x00000002 
+ 00026763  0x00006f44 branch  0x0000680e 
+ 00026764  0x00006f47 call  0x00006889 
+ 00026765  0x00006f48 arg  0x00000006 , 0x00000002 
+ 00026766  0x00006f49 branch  0x00006825 
+ 00026767  0x00006f4e call  0x00006895 
+ 00026768  0x00006f4f hfetch  0x00000001 , 0x00008078 
+ 00026769  0x00006f50 set1  0x00000007 , 0x0000003f 
+ 00026770  0x00006f51 hstore  0x00000001 , 0x00008078 
+ 00026771  0x00006f52 arg  0x00000007 , 0x00000002 
+ 00026772  0x00006f53 branch  0x000067fb 
+ 00026773  0x00006f56 hfetch  0x00000001 , 0x00008081 
+ 00026774  0x00006f57 and_into  0x000000fb , 0x0000003f 
+ 00026775  0x00006f58 hstore  0x00000001 , 0x00008081 
+ 00026776  0x00006f59 rtn 
+ 00026777  0x00006f5c hfetch  0x00000001 , 0x00008081 
+ 00026778  0x00006f5d isolate1  0x00000002 , 0x0000003f 
+ 00026779  0x00006f5e rtn 
+ 00026780  0x00006f61 call  0x0000666a 
+ 00026781  0x00006f62 setarg  0x000007e0 
+ 00026782  0x00006f63 arg  0x00004150 , 0x00000011 
+ 00026783  0x00006f64 arg  0x00000002 , 0x00000002 
+ 00026784  0x00006f65 call  0x000066b3 
+ 00026785  0x00006f66 branch  0x0000666d 
+ 00026786  0x00006f6a call  0x0000666a 
+ 00026787  0x00006f6b setarg  0x000007e2 
+ 00026788  0x00006f6c arg  0x0000421d , 0x00000011 
+ 00026789  0x00006f6d arg  0x0000000e , 0x00000002 
+ 00026790  0x00006f6e call  0x000066b3 
+ 00026791  0x00006f6f branch  0x0000666d 
+ 00026792  0x00006f74 bpatchx  0x0000009e , 0x00004033 
+ 00026793  0x00006f76 call  0x000068a2 
+ 00026794  0x00006f78 fetch  0x00000001 , 0x0000422d 
+ 00026795  0x00006f79 beq  0x00000000 , 0x000068af 
+ 00026796  0x00006f7a beq  0x00000001 , 0x000068c3 
+ 00026797  0x00006f7b beq  0x00000002 , 0x000068d7 
+ 00026798  0x00006f7c rtn 
+ 00026799  0x00006f7f fetcht  0x00000002 , 0x00004229 
+ 00026800  0x00006f80 setarg  0x0000aa55 
+ 00026801  0x00006f81 isub  0x00000002 , 0x0000003e 
+ 00026802  0x00006f82 branch  0x000068b8 , 0x00000005 
+ 00026803  0x00006f83 setarg  0x00004dfa 
+ 00026804  0x00006f84 store  0x00000002 , 0x00004227 
+ 00026805  0x00006f85 setarg  0x00004894 
+ 00026806  0x00006f86 store  0x00000002 , 0x00004221 
+ 00026807  0x00006f87 branch  0x000068c0 
+ 00026808  0x00006f8a fetch  0x00000002 , 0x00004227 
+ 00026809  0x00006f8b nbranch  0x000068bc , 0x00000034 
+ 00026810  0x00006f8c setarg  0x00004dfa 
+ 00026811  0x00006f8d store  0x00000002 , 0x00004227 
+ 00026812  0x00006f8f fetch  0x00000002 , 0x00004221 
+ 00026813  0x00006f90 nbranch  0x000068c0 , 0x00000034 
+ 00026814  0x00006f91 setarg  0x00004894 
+ 00026815  0x00006f92 store  0x00000002 , 0x00004221 
+ 00026816  0x00006f94 setarg  0x00000064 
+ 00026817  0x00006f95 store  0x00000002 , 0x0000422b 
+ 00026818  0x00006f96 rtn 
+ 00026819  0x00006f99 fetcht  0x00000002 , 0x00004229 
+ 00026820  0x00006f9a setarg  0x0000aa55 
+ 00026821  0x00006f9b isub  0x00000002 , 0x0000003e 
+ 00026822  0x00006f9c branch  0x000068cc , 0x00000005 
+ 00026823  0x00006f9d setarg  0x00005932 
+ 00026824  0x00006f9e store  0x00000002 , 0x00004225 
+ 00026825  0x00006f9f setarg  0x00004323 
+ 00026826  0x00006fa0 store  0x00000002 , 0x0000421f 
+ 00026827  0x00006fa1 branch  0x000068d4 
+ 00026828  0x00006fa4 fetch  0x00000002 , 0x00004225 
+ 00026829  0x00006fa5 nbranch  0x000068d0 , 0x00000034 
+ 00026830  0x00006fa6 setarg  0x00005932 
+ 00026831  0x00006fa7 store  0x00000002 , 0x00004225 
+ 00026832  0x00006fa9 fetch  0x00000002 , 0x0000421f 
+ 00026833  0x00006faa nbranch  0x000068d4 , 0x00000034 
+ 00026834  0x00006fab setarg  0x00004323 
+ 00026835  0x00006fac store  0x00000002 , 0x0000421f 
+ 00026836  0x00006fae setarg  0x00000190 
+ 00026837  0x00006faf store  0x00000002 , 0x0000422b 
+ 00026838  0x00006fb0 rtn 
+ 00026839  0x00006fb3 fetcht  0x00000002 , 0x00004229 
+ 00026840  0x00006fb4 setarg  0x0000aa55 
+ 00026841  0x00006fb5 isub  0x00000002 , 0x0000003e 
+ 00026842  0x00006fb6 branch  0x000068e0 , 0x00000005 
+ 00026843  0x00006fb7 setarg  0x00006946 
+ 00026844  0x00006fb8 store  0x00000002 , 0x00004223 
+ 00026845  0x00006fb9 setarg  0x00005377 
+ 00026846  0x00006fba store  0x00000002 , 0x0000421d 
+ 00026847  0x00006fbb branch  0x000068e8 
+ 00026848  0x00006fbe fetch  0x00000002 , 0x00004223 
+ 00026849  0x00006fbf nbranch  0x000068e4 , 0x00000034 
+ 00026850  0x00006fc0 setarg  0x00006946 
+ 00026851  0x00006fc1 store  0x00000002 , 0x00004223 
+ 00026852  0x00006fc3 fetch  0x00000002 , 0x0000421d 
+ 00026853  0x00006fc4 nbranch  0x000068e8 , 0x00000034 
+ 00026854  0x00006fc5 setarg  0x00005377 
+ 00026855  0x00006fc6 store  0x00000002 , 0x0000421d 
+ 00026856  0x00006fc8 setarg  0x00000032 
+ 00026857  0x00006fc9 store  0x00000002 , 0x0000422b 
+ 00026858  0x00006fca rtn 
+ 00026859  0x00006fce fetch  0x00000001 , 0x0000422d 
+ 00026860  0x00006fcf beq  0x00000000 , 0x000068f0 
+ 00026861  0x00006fd0 beq  0x00000001 , 0x000068f2 
+ 00026862  0x00006fd1 beq  0x00000002 , 0x000068f4 
+ 00026863  0x00006fd2 rtn 
+ 00026864  0x00006fd4 jam  0x000000bf , 0x00008971 
+ 00026865  0x00006fd5 branch  0x000068f8 
+ 00026866  0x00006fd7 jam  0x000000af , 0x00008971 
+ 00026867  0x00006fd8 branch  0x000068f8 
+ 00026868  0x00006fda jam  0x0000008f , 0x00008971 
+ 00026869  0x00006fdb fetch  0x00000001 , 0x0000422e 
+ 00026870  0x00006fdc hstore  0x00000001 , 0x00008973 
+ 00026871  0x00006fdd branch  0x000068f8 
+ 00026872  0x00006fdf bpatchx  0x0000009f , 0x00004033 
+ 00026873  0x00006fe0 hfetch  0x00000001 , 0x00008053 
+ 00026874  0x00006fe1 set1  0x00000007 , 0x0000003f 
+ 00026875  0x00006fe2 hstore  0x00000001 , 0x00008053 
+ 00026876  0x00006fe3 hfetch  0x00000001 , 0x00008973 
+ 00026877  0x00006fe4 or_into  0x00000030 , 0x0000003f 
+ 00026878  0x00006fe5 hstore  0x00000001 , 0x00008973 
+ 00026879  0x00006fe6 jam  0x0000007c , 0x00008906 
+ 00026880  0x00006fe7 jam  0x000000aa , 0x00008972 
+ 00026881  0x00006fe8 nop  0x00001388 
+ 00026882  0x00006fe9 hfetcht  0x00000002 , 0x00008150 
+ 00026883  0x00006fea hfetch  0x00000001 , 0x00008053 
+ 00026884  0x00006feb set0  0x00000007 , 0x0000003f 
+ 00026885  0x00006fec hstore  0x00000001 , 0x00008053 
+ 00026886  0x00006fed storet  0x00000002 , 0x0000422f 
+ 00026887  0x00006fee rtn 
+ 00026888  0x00006ff1 bpatchx  0x000000a0 , 0x00004034 
+ 00026889  0x00006ff2 fetch  0x00000001 , 0x0000422d 
+ 00026890  0x00006ff3 beq  0x00000000 , 0x0000690e 
+ 00026891  0x00006ff4 beq  0x00000001 , 0x00006912 
+ 00026892  0x00006ff5 beq  0x00000002 , 0x00006916 
+ 00026893  0x00006ff6 rtn 
+ 00026894  0x00006ff9 fetch  0x00000002 , 0x00004227 
+ 00026895  0x00006ffa fetcht  0x00000002 , 0x00004221 
+ 00026896  0x00006ffb arg  0x000000c8 , 0x00000013 
+ 00026897  0x00006ffc branch  0x0000691a 
+ 00026898  0x00006fff fetch  0x00000002 , 0x00004225 
+ 00026899  0x00007000 fetcht  0x00000002 , 0x0000421f 
+ 00026900  0x00007001 arg  0x00000064 , 0x00000013 
+ 00026901  0x00007002 branch  0x0000691a 
+ 00026902  0x00007005 fetch  0x00000002 , 0x00004223 
+ 00026903  0x00007006 fetcht  0x00000002 , 0x0000421d 
+ 00026904  0x00007007 arg  0x00000032 , 0x00000013 
+ 00026905  0x00007008 branch  0x0000691a 
+ 00026906  0x0000700b isub  0x00000002 , 0x00000011 
+ 00026907  0x0000700c fetch  0x00000002 , 0x0000422f 
+ 00026908  0x0000700d isub  0x00000002 , 0x0000003f 
+ 00026909  0x0000700e nbranch  0x00006927 , 0x00000002 
+ 00026910  0x0000700f fetcht  0x00000002 , 0x0000422b 
+ 00026911  0x00007010 imul32  0x00000002 , 0x00000012 
+ 00026912  0x00007011 copy  0x00000013 , 0x0000003f 
+ 00026913  0x00007012 imul32  0x00000011 , 0x0000003f 
+ 00026914  0x00007013 iadd  0x00000012 , 0x0000003f 
+ 00026915  0x00007015 idiv  0x00000011 
+ 00026916  0x00007016 call  0x00007f86 
+ 00026917  0x00007017 quotient  0x0000003f 
+ 00026918  0x00007018 rtn 
+ 00026919  0x0000701b copy  0x00000002 , 0x0000003f 
+ 00026920  0x0000701c fetcht  0x00000002 , 0x0000422f 
+ 00026921  0x0000701d isub  0x00000002 , 0x0000003f 
+ 00026922  0x0000701e fetcht  0x00000002 , 0x0000422b 
+ 00026923  0x0000701f imul32  0x00000002 , 0x00000012 
+ 00026924  0x00007020 copy  0x00000013 , 0x0000003f 
+ 00026925  0x00007021 imul32  0x00000011 , 0x0000003f 
+ 00026926  0x00007022 isub  0x00000012 , 0x0000003f 
+ 00026927  0x00007023 branch  0x00006923 
+ 00026928  0x0000702f ifetch  0x00000008 , 0x00000011 
+ 00026929  0x00007030 store  0x00000008 , 0x00000a9a 
+ 00026930  0x00007031 fetch  0x00000002 , 0x00000a9a 
+ 00026931  0x00007032 fetcht  0x00000002 , 0x00000a9c 
+ 00026932  0x00007033 isub  0x00000002 , 0x00000011 
+ 00026933  0x00007034 fetch  0x00000002 , 0x00000aa0 
+ 00026934  0x00007035 isub  0x00000002 , 0x00000012 
+ 00026935  0x00007036 fetcht  0x00000002 , 0x00000a9e 
+ 00026936  0x00007037 isub  0x00000002 , 0x0000003e 
+ 00026937  0x00007038 ncall  0x00006940 , 0x00000002 
+ 00026938  0x00007039 mul32  0x00000012 , 0x00000064 , 0x0000003f 
+ 00026939  0x0000703a idiv  0x00000011 
+ 00026940  0x0000703b call  0x00007f86 
+ 00026941  0x0000703c quotient  0x0000003f 
+ 00026942  0x0000703d call  0x00006944 , 0x00000034 
+ 00026943  0x0000703e rtn 
+ 00026944  0x00007040 fetch  0x00000001 , 0x00004231 
+ 00026945  0x00007041 set1  0x00000000 , 0x0000003f 
+ 00026946  0x00007042 store  0x00000001 , 0x00004231 
+ 00026947  0x00007043 rtn 
+ 00026948  0x00007045 fetcht  0x00000001 , 0x00004231 
+ 00026949  0x00007046 set1  0x00000001 , 0x00000002 
+ 00026950  0x00007047 storet  0x00000001 , 0x00004231 
+ 00026951  0x00007048 rtn 
+ 00026952  0x0000704e fetch  0x00000002 , 0x0000423d 
+ 00026953  0x0000704f ifetch  0x00000001 , 0x0000003f 
+ 00026954  0x00007051 rtn  0x00000034 
+ 00026955  0x00007052 copy  0x0000003f , 0x00000039 
+ 00026956  0x00007054 fetch  0x00000002 , 0x0000423d 
+ 00026957  0x00007055 increase  0x00000003 , 0x0000003f 
+ 00026958  0x00007056 copy  0x0000003f , 0x00000011 
+ 00026959  0x00007058 ifetcht  0x00000001 , 0x00000011 
+ 00026960  0x00007059 call  0x000067fb 
+ 00026961  0x0000705a increase  0x00000001 , 0x00000011 
+ 00026962  0x0000705b loop  0x0000694f 
+ 00026963  0x0000705d rtn 
+ 00026964  0x00007060 fetch  0x00000002 , 0x0000423d 
+ 00026965  0x00007061 increase  0x00000003 , 0x0000003f 
+ 00026966  0x00007062 copy  0x0000003f , 0x00000011 
+ 00026967  0x00007064 force  0x00000000 , 0x00000012 
+ 00026968  0x00007065 jam  0x00000000 , 0x00000b12 
+ 00026969  0x00007067 ifetcht  0x00000001 , 0x00000011 
+ 00026970  0x00007068 call  0x0000681d 
+ 00026971  0x00007069 bpatchx  0x000000a1 , 0x00004034 
+ 00026972  0x0000706a fetch  0x00000002 , 0x00000b12 
+ 00026973  0x0000706b copy  0x00000012 , 0x00000007 
+ 00026974  0x0000706c qsetflag  0x00000001 , 0x0000003f 
+ 00026975  0x0000706d store  0x00000002 , 0x00000b12 
+ 00026976  0x0000706e increase  0x00000001 , 0x00000011 
+ 00026977  0x0000706f increase  0x00000001 , 0x00000012 
+ 00026978  0x00007070 fetch  0x00000002 , 0x0000423d 
+ 00026979  0x00007071 ifetch  0x00000001 , 0x0000003f 
+ 00026980  0x00007073 ixor  0x00000012 , 0x0000003e 
+ 00026981  0x00007074 nbranch  0x00006959 , 0x00000005 
+ 00026982  0x00007075 fetch  0x00000002 , 0x00000b12 
+ 00026983  0x00007076 fetcht  0x00000002 , 0x00000b14 
+ 00026984  0x00007077 ixor  0x00000002 , 0x0000003e 
+ 00026985  0x00007078 rtn  0x00000005 
+ 00026986  0x00007079 enable  0x00000028 
+ 00026987  0x0000707a rtn 
+ 00026988  0x0000707d fetch  0x00000002 , 0x0000423d 
+ 00026989  0x0000707e ifetch  0x00000001 , 0x0000003f 
+ 00026990  0x00007080 rtn  0x00000034 
+ 00026991  0x00007081 copy  0x0000003f , 0x00000039 
+ 00026992  0x00007082 fetch  0x00000002 , 0x0000423d 
+ 00026993  0x00007083 increase  0x00000003 , 0x0000003f 
+ 00026994  0x00007084 copy  0x0000003f , 0x00000011 
+ 00026995  0x00007086 ifetcht  0x00000001 , 0x00000011 
+ 00026996  0x00007087 call  0x000067dd 
+ 00026997  0x00007088 increase  0x00000001 , 0x00000011 
+ 00026998  0x00007089 loop  0x00006973 
+ 00026999  0x0000708b rtn 
+ 00027000  0x0000708e arg  0x00000009 , 0x00000007 
+ 00027001  0x0000708f call  0x00007f16 
+ 00027002  0x00007090 nrtn  0x00000034 
+ 00027003  0x00007091 setarg  0x00000020 
+ 00027004  0x00007092 arg  0x00000009 , 0x00000007 
+ 00027005  0x00007093 call  0x00007f08 
+ 00027006  0x00007094 disable  0x00000028 
+ 00027007  0x00007095 call  0x0000696c 
+ 00027008  0x00007096 bpatchx  0x000000a2 , 0x00004034 
+ 00027009  0x00007097 fetch  0x00000002 , 0x0000423d 
+ 00027010  0x00007098 ifetch  0x00000001 , 0x0000003f 
+ 00027011  0x0000709a rtn  0x00000034 
+ 00027012  0x0000709b call  0x00006954 
+ 00027013  0x0000709c nbranch  0x00007d02 , 0x00000028 
+ 00027014  0x0000709d call  0x00007d00 
+ 00027015  0x0000709e disable  0x00000028 
+ 00027016  0x0000709f fetch  0x00000002 , 0x00000b12 
+ 00027017  0x000070a0 store  0x00000002 , 0x00000b19 
+ 00027018  0x000070a1 jam  0x00000000 , 0x00000b1b 
+ 00027019  0x000070a2 force  0x00000000 , 0x00000007 
+ 00027020  0x000070a4 fetch  0x00000002 , 0x00000b14 
+ 00027021  0x000070a5 rshift  0x0000003f , 0x00000002 
+ 00027022  0x000070a6 storet  0x00000002 , 0x00000b14 
+ 00027023  0x000070a7 and  0x0000003f , 0x00000001 , 0x0000003f 
+ 00027024  0x000070a8 fetcht  0x00000002 , 0x00000b19 
+ 00027025  0x000070a9 and  0x00000002 , 0x00000001 , 0x00000011 
+ 00027026  0x000070aa rshift  0x00000002 , 0x00000002 
+ 00027027  0x000070ab storet  0x00000002 , 0x00000b19 
+ 00027028  0x000070ac ixor  0x00000011 , 0x0000003e 
+ 00027029  0x000070ad ncall  0x000069a1 , 0x00000005 
+ 00027030  0x000070ae fetch  0x00000002 , 0x0000423d 
+ 00027031  0x000070af ifetch  0x00000001 , 0x0000003f 
+ 00027032  0x000070b1 fetcht  0x00000001 , 0x00000b1b 
+ 00027033  0x000070b2 increase  0x00000001 , 0x00000002 
+ 00027034  0x000070b3 storet  0x00000001 , 0x00000b1b 
+ 00027035  0x000070b4 copy  0x00000002 , 0x00000007 
+ 00027036  0x000070b5 ixor  0x00000007 , 0x0000003e 
+ 00027037  0x000070b6 nbranch  0x0000698c , 0x00000005 
+ 00027038  0x000070b7 fetch  0x00000002 , 0x00000b12 
+ 00027039  0x000070b8 store  0x00000002 , 0x00000b14 
+ 00027040  0x000070b9 rtn 
+ 00027041  0x000070bb bpatchx  0x000000a3 , 0x00004034 
+ 00027042  0x000070bc fetch  0x00000002 , 0x0000423d 
+ 00027043  0x000070bd increase  0x00000001 , 0x0000003f 
+ 00027044  0x000070be ifetch  0x00000002 , 0x0000003f 
+ 00027045  0x000070bf branch  0x00007f9c 
+ 00027046  0x000070cb hfetch  0x00000001 , 0x00008042 
+ 00027047  0x000070cc ior  0x00000011 , 0x0000003f 
+ 00027048  0x000070cd hstore  0x00000001 , 0x00008042 
+ 00027049  0x000070ce hfetch  0x00000002 , 0x00008050 
+ 00027050  0x000070cf set0  0x0000000d , 0x0000003f 
+ 00027051  0x000070d0 hstore  0x00000002 , 0x00008050 
+ 00027052  0x000070d1 nop  0x00000064 
+ 00027053  0x000070d2 rtn 
+ 00027054  0x000070de fetcht  0x00000003 , 0x00000a9c 
+ 00027055  0x000070df setarg  0x00b71b00 
+ 00027056  0x000070e0 idiv  0x00000002 
+ 00027057  0x000070e1 call  0x00007f86 
+ 00027058  0x000070e2 quotient  0x00000002 
+ 00027059  0x000070e3 fetch  0x00000001 , 0x00000a9f 
+ 00027060  0x000070e4 imul32  0x00000002 , 0x0000003f 
+ 00027061  0x000070e5 div  0x0000003f , 0x00000064 
+ 00027062  0x000070e6 call  0x00007f86 
+ 00027063  0x000070e7 quotient  0x00000011 
+ 00027064  0x000070e8 copy  0x00000002 , 0x0000003f 
+ 00027065  0x000070e9 isub  0x00000011 , 0x00000012 
+ 00027066  0x000070ea fetch  0x00000001 , 0x00000a9b 
+ 00027067  0x000070eb call  0x000069be 
+ 00027068  0x000070ec fetch  0x00000001 , 0x00000a9a 
+ 00027069  0x000070ed branch  0x000069d5 
+ 00027070  0x000070f1 beq  0x00000000 , 0x000069c4 
+ 00027071  0x000070f2 beq  0x00000001 , 0x000069c6 
+ 00027072  0x000070f3 beq  0x00000002 , 0x000069c8 
+ 00027073  0x000070f4 beq  0x00000003 , 0x000069ca 
+ 00027074  0x000070f5 beq  0x00000004 , 0x000069cc 
+ 00027075  0x000070f6 beq  0x00000005 , 0x000069ce 
+ 00027076  0x000070f8 arg  0x000080a0 , 0x00000005 
+ 00027077  0x000070f9 branch  0x000069d0 
+ 00027078  0x000070fb arg  0x000080a4 , 0x00000005 
+ 00027079  0x000070fc branch  0x000069d0 
+ 00027080  0x000070fe arg  0x000080a8 , 0x00000005 
+ 00027081  0x000070ff branch  0x000069d0 
+ 00027082  0x00007101 arg  0x00008064 , 0x00000005 
+ 00027083  0x00007102 branch  0x000069d0 
+ 00027084  0x00007104 arg  0x00008068 , 0x00000005 
+ 00027085  0x00007105 branch  0x000069d0 
+ 00027086  0x00007107 arg  0x0000806c , 0x00000005 
+ 00027087  0x00007108 branch  0x000069d0 
+ 00027088  0x0000710a copy  0x00000011 , 0x0000003f 
+ 00027089  0x0000710b istore  0x00000002 , 0x00000005 
+ 00027090  0x0000710c copy  0x00000012 , 0x0000003f 
+ 00027091  0x0000710d istore  0x00000002 , 0x00000005 
+ 00027092  0x0000710e rtn 
+ 00027093  0x00007113 enable  0x00000028 
+ 00027094  0x00007114 branch  0x000069d8 
+ 00027095  0x00007116 disable  0x00000028 
+ 00027096  0x00007118 beq  0x00000004 , 0x000069e3 
+ 00027097  0x00007119 beq  0x00000005 , 0x000069e5 
+ 00027098  0x0000711a beq  0x0000001b , 0x000069e7 
+ 00027099  0x0000711b beq  0x0000001c , 0x000069e9 
+ 00027100  0x0000711c beq  0x00000003 , 0x000069eb 
+ 00027101  0x0000711d beq  0x00000008 , 0x000069ed 
+ 00027102  0x0000711e beq  0x00000014 , 0x000069ef 
+ 00027103  0x0000711f beq  0x00000015 , 0x000069f1 
+ 00027104  0x00007120 beq  0x00000016 , 0x000069f3 
+ 00027105  0x00007121 beq  0x00000017 , 0x000069f5 
+ 00027106  0x00007122 rtn 
+ 00027107  0x00007126 arg  0x00000006 , 0x00000007 
+ 00027108  0x00007127 branch  0x000069ff 
+ 00027109  0x00007129 arg  0x00000007 , 0x00000007 
+ 00027110  0x0000712a branch  0x000069ff 
+ 00027111  0x0000712c arg  0x00000008 , 0x00000007 
+ 00027112  0x0000712d branch  0x000069ff 
+ 00027113  0x0000712f arg  0x00000009 , 0x00000007 
+ 00027114  0x00007130 branch  0x000069ff 
+ 00027115  0x00007132 arg  0x0000000a , 0x00000007 
+ 00027116  0x00007133 branch  0x000069ff 
+ 00027117  0x00007135 arg  0x0000000b , 0x00000007 
+ 00027118  0x00007136 branch  0x000069ff 
+ 00027119  0x00007138 arg  0x0000000c , 0x00000007 
+ 00027120  0x00007139 branch  0x00006a01 
+ 00027121  0x0000713b arg  0x0000000d , 0x00000007 
+ 00027122  0x0000713c branch  0x00006a01 
+ 00027123  0x0000713e arg  0x0000000e , 0x00000007 
+ 00027124  0x0000713f branch  0x00006a01 
+ 00027125  0x00007141 arg  0x0000000f , 0x00000007 
+ 00027126  0x00007142 branch  0x00006a01 
+ 00027127  0x00007145 hfetch  0x00000002 , 0x00008081 
+ 00027128  0x00007146 qsetflag  0x00000028 , 0x0000003f 
+ 00027129  0x00007147 hstore  0x00000002 , 0x00008081 
+ 00027130  0x00007148 copy  0x00000011 , 0x00000007 
+ 00027131  0x00007149 hfetch  0x00000001 , 0x00008085 
+ 00027132  0x0000714a qsetflag  0x00000028 , 0x0000003f 
+ 00027133  0x0000714b hstore  0x00000001 , 0x00008085 
+ 00027134  0x0000714c rtn 
+ 00027135  0x0000714f add  0x00000007 , 0xfffffffc , 0x00000011 
+ 00027136  0x00007150 branch  0x000069f7 
+ 00027137  0x00007153 add  0x00000007 , 0xfffffff6 , 0x00000011 
+ 00027138  0x00007154 branch  0x000069f7 
+ 00027139  0x0000715a rtn  0x0000002b 
+ 00027140  0x0000715b jam  0x00000000 , 0x00004567 
+ 00027141  0x0000715c jam  0x00000003 , 0x000004ed 
+ 00027142  0x0000715d jam  0x00000003 , 0x000004ee 
+ 00027143  0x0000715e jam  0x00000011 , 0x000004f2 
+ 00027144  0x0000715f jam  0x00000013 , 0x000004f3 
+ 00027145  0x00007160 setarg  0x00000000 
+ 00027146  0x00007161 store  0x00000003 , 0x000004ef 
+ 00027147  0x00007162 store  0x00000001 , 0x00004254 
+ 00027148  0x00007163 jam  0x00000000 , 0x00004681 
+ 00027149  0x00007166 bpatchx  0x000000a4 , 0x00004034 
+ 00027150  0x00007167 setarg  0x00000000 
+ 00027151  0x00007168 store  0x00000001 , 0x00004254 
+ 00027152  0x00007169 store  0x00000001 , 0x00004564 
+ 00027153  0x0000716a store  0x00000001 , 0x0000455d 
+ 00027154  0x0000716b fetch  0x00000001 , 0x0000456b 
+ 00027155  0x0000716c beq  0x00000001 , 0x00006a16 
+ 00027156  0x0000716d jam  0x00000050 , 0x00004569 
+ 00027157  0x0000716e rtn 
+ 00027158  0x00007171 jam  0x00000000 , 0x00004569 
+ 00027159  0x00007172 rtn 
+ 00027160  0x00007175 or_into  0x00000002 , 0x00000002 
+ 00027161  0x00007176 rtn 
+ 00027162  0x00007183 copy  0x00000002 , 0x0000003f 
+ 00027163  0x00007184 reverse  0x0000003f , 0x0000003f 
+ 00027164  0x00007185 store  0x00000001 , 0x00004562 
+ 00027165  0x00007186 force  0x0000003f , 0x0000003f 
+ 00027166  0x00007187 reverse  0x0000003f , 0x0000003f 
+ 00027167  0x00007188 store  0x00000001 , 0x00004561 
+ 00027168  0x00007189 force  0x00000001 , 0x0000003f 
+ 00027169  0x0000718a reverse  0x0000003f , 0x0000003f 
+ 00027170  0x0000718b store  0x00000001 , 0x00004560 
+ 00027171  0x0000718c call  0x00006a50 
+ 00027172  0x0000718d copy  0x00000002 , 0x0000003f 
+ 00027173  0x0000718e rtn 
+ 00027174  0x00007190 reverse  0x0000003f , 0x0000003f 
+ 00027175  0x00007191 store  0x00000001 , 0x00004562 
+ 00027176  0x00007192 force  0x00000073 , 0x0000003f 
+ 00027177  0x00007193 reverse  0x0000003f , 0x0000003f 
+ 00027178  0x00007194 store  0x00000001 , 0x00004561 
+ 00027179  0x00007195 force  0x00000001 , 0x0000003f 
+ 00027180  0x00007196 reverse  0x0000003f , 0x0000003f 
+ 00027181  0x00007197 store  0x00000001 , 0x00004560 
+ 00027182  0x00007198 branch  0x00006a50 
+ 00027183  0x0000719b fetch  0x00000001 , 0x00004563 
+ 00027184  0x0000719c branch  0x00006a33 , 0x00000034 
+ 00027185  0x0000719d setarg  0x00000070 
+ 00027186  0x0000719e rtn 
+ 00027187  0x000071a0 setarg  0x000000aa 
+ 00027188  0x000071a1 rtn 
+ 00027189  0x000071a4 reverse  0x0000003f , 0x0000003f 
+ 00027190  0x000071a5 store  0x00000001 , 0x00004562 
+ 00027191  0x000071a6 force  0x000000ef , 0x0000003f 
+ 00027192  0x000071a7 call  0x00006a44 
+ 00027193  0x000071a8 fetcht  0x00000002 , 0x000004f7 
+ 00027194  0x000071a9 copy  0x00000002 , 0x00000005 
+ 00027195  0x000071aa istore  0x00000001 , 0x00000005 
+ 00027196  0x000071ab copy  0x00000005 , 0x00000002 
+ 00027197  0x000071ac storet  0x00000002 , 0x000004f7 
+ 00027198  0x000071ad force  0x000000ff , 0x0000003f 
+ 00027199  0x000071ae call  0x00006a44 
+ 00027200  0x000071af fetcht  0x00000002 , 0x000004f7 
+ 00027201  0x000071b0 copy  0x00000002 , 0x00000005 
+ 00027202  0x000071b1 istore  0x00000001 , 0x00000005 
+ 00027203  0x000071b2 rtn 
+ 00027204  0x000071bc reverse  0x0000003f , 0x0000003f 
+ 00027205  0x000071bd store  0x00000001 , 0x00004561 
+ 00027206  0x000071be fetch  0x00000002 , 0x00004561 
+ 00027207  0x000071bf lshift8  0x0000003f , 0x0000003f 
+ 00027208  0x000071c0 store  0x00000003 , 0x000004f4 
+ 00027209  0x000071c1 arg  0x00000107 , 0x00000011 
+ 00027210  0x000071c2 arg  0x0000000f , 0x00000012 
+ 00027211  0x000071c3 call  0x00006a5d 
+ 00027212  0x000071c4 xor_into  0x000000d7 , 0x0000003f 
+ 00027213  0x000071c5 invert  0x0000003f , 0x0000003f 
+ 00027214  0x000071c6 reverse  0x0000003f , 0x0000003f 
+ 00027215  0x000071c7 rtn 
+ 00027216  0x000071d2 fetch  0x00000003 , 0x00004560 
+ 00027217  0x000071d3 store  0x00000003 , 0x000004f4 
+ 00027218  0x000071d4 arg  0x00000107 , 0x00000011 
+ 00027219  0x000071d5 arg  0x0000000f , 0x00000012 
+ 00027220  0x000071d6 call  0x00006a5d 
+ 00027221  0x000071d7 lshift8  0x0000003f , 0x0000003f 
+ 00027222  0x000071d8 arg  0x00000007 , 0x00000012 
+ 00027223  0x000071d9 call  0x00006a5d 
+ 00027224  0x000071da xor_into  0x0000002b , 0x0000003f 
+ 00027225  0x000071db invert  0x0000003f , 0x0000003f 
+ 00027226  0x000071dc reverse  0x0000003f , 0x0000003f 
+ 00027227  0x000071dd copy  0x0000003f , 0x00000002 
+ 00027228  0x000071de rtn 
+ 00027229  0x000071e1 arg  0x00000000 , 0x00000013 
+ 00027230  0x000071e2 copy  0x00000012 , 0x00000039 
+ 00027231  0x000071e3 call  0x00007e71 
+ 00027232  0x000071e4 icopy  0x00000002 
+ 00027233  0x000071ea copy  0x00000002 , 0x0000003f 
+ 00027234  0x000071eb lshift  0x00000013 , 0x00000013 
+ 00027235  0x000071ec bbit0  0x00000008 , 0x00006a66 
+ 00027236  0x000071ed ixor  0x00000011 , 0x00000002 
+ 00027237  0x000071ee increase  0x00000001 , 0x00000013 
+ 00027238  0x000071f0 lshift  0x00000002 , 0x00000002 
+ 00027239  0x000071f1 fetch  0x00000003 , 0x000004f4 
+ 00027240  0x000071f2 increase  0xffffffff , 0x00000012 
+ 00027241  0x000071f3 compare  0x000000ff , 0x00000012 , 0x000000ff 
+ 00027242  0x000071f4 branch  0x00006a70 , 0x00000001 
+ 00027243  0x000071f5 copy  0x00000012 , 0x00000039 
+ 00027244  0x000071f6 call  0x00007e71 
+ 00027245  0x000071f7 isolate1  0x00000000 , 0x0000003f 
+ 00027246  0x000071f8 setflag  0x00000001 , 0x00000000 , 0x00000002 
+ 00027247  0x000071f9 branch  0x00006a61 
+ 00027248  0x000071fc rshift  0x00000002 , 0x0000003f 
+ 00027249  0x000071fd rtn 
+ 00027250  0x00007200 fetcht  0x00000001 , 0x0000455d 
+ 00027251  0x00007203 lshift2  0x00000002 , 0x00000002 
+ 00027252  0x00007204 set1  0x00000000 , 0x00000002 
+ 00027253  0x00007205 fetch  0x00000001 , 0x00004563 
+ 00027254  0x00007206 ncall  0x00006a18 , 0x00000034 
+ 00027255  0x00007207 storet  0x00000001 , 0x0000050d 
+ 00027256  0x00007208 rtn 
+ 00027257  0x0000720c lshift  0x00000002 , 0x00000002 
+ 00027258  0x0000720d fetch  0x00000001 , 0x00004563 
+ 00027259  0x0000720e setflag  0x00000034 , 0x00000000 , 0x00000002 
+ 00027260  0x00007210 rtn 
+ 00027261  0x00007212 fetcht  0x00000001 , 0x000004fc 
+ 00027262  0x00007213 jam  0x000000d7 , 0x000004fe 
+ 00027263  0x00007214 call  0x00006bb6 
+ 00027264  0x00007215 fetch  0x00000001 , 0x00004251 
+ 00027265  0x00007216 set1  0x00000006 , 0x0000003f 
+ 00027266  0x00007217 set1  0x00000007 , 0x0000003f 
+ 00027267  0x00007218 store  0x00000001 , 0x00004251 
+ 00027268  0x00007219 jam  0x00000000 , 0x00004563 
+ 00027269  0x0000721a branch  0x00006b97 
+ 00027270  0x0000721c fetch  0x00000001 , 0x00004251 
+ 00027271  0x0000721d set1  0x00000007 , 0x0000003f 
+ 00027272  0x0000721e store  0x00000001 , 0x00004251 
+ 00027273  0x0000721f branch  0x00006b97 
+ 00027274  0x00007223 bpatchx  0x000000a5 , 0x00004034 
+ 00027275  0x00007224 fetch  0x00000001 , 0x00004681 
+ 00027276  0x00007225 beq  0x00000000 , 0x00006a8e 
+ 00027277  0x00007226 branch  0x00006b4c 
+ 00027278  0x00007229 fetch  0x00000002 , 0x00000264 
+ 00027279  0x0000722a copy  0x0000003f , 0x00000006 
+ 00027280  0x0000722b call  0x00006ab8 
+ 00027281  0x0000722c fetch  0x00000001 , 0x000004fc 
+ 00027282  0x0000722d beq  0x00000000 , 0x00006a94 
+ 00027283  0x0000722e branch  0x00006b18 
+ 00027284  0x00007230 bpatchx  0x000000a6 , 0x00004034 
+ 00027285  0x00007231 fetch  0x00000001 , 0x000004fd 
+ 00027286  0x00007232 beq  0x0000003f , 0x00006a7d 
+ 00027287  0x00007233 beq  0x00000073 , 0x00006a86 
+ 00027288  0x00007234 beq  0x000000ef , 0x00006a9b 
+ 00027289  0x00007235 beq  0x00000053 , 0x00006b44 
+ 00027290  0x00007236 rtn 
+ 00027291  0x0000723a fetch  0x00000002 , 0x00000501 
+ 00027292  0x0000723b copy  0x0000003f , 0x00000006 
+ 00027293  0x0000723c call  0x00006ac3 
+ 00027294  0x0000723d fetch  0x00000001 , 0x00000503 
+ 00027295  0x0000723e beq  0x00000041 , 0x00006aa5 
+ 00027296  0x0000723f beq  0x00000040 , 0x00006aad 
+ 00027297  0x00007240 beq  0x00000071 , 0x00006ae6 
+ 00027298  0x00007241 beq  0x00000070 , 0x00006af2 
+ 00027299  0x00007242 beq  0x00000049 , 0x00006afd 
+ 00027300  0x00007243 branch  0x00006b97 
+ 00027301  0x00007246 call  0x00006aaf 
+ 00027302  0x00007248 branch  0x00006aa7 
+ 00027303  0x0000724b fetch  0x00000001 , 0x00004254 
+ 00027304  0x0000724c set1  0x00000000 , 0x0000003f 
+ 00027305  0x0000724d set1  0x00000001 , 0x0000003f 
+ 00027306  0x0000724e store  0x00000001 , 0x00004254 
+ 00027307  0x0000724f call  0x00006be0 
+ 00027308  0x00007250 branch  0x00006b97 
+ 00027309  0x00007253 call  0x00006aaf 
+ 00027310  0x00007254 branch  0x00006b97 
+ 00027311  0x00007257 call  0x00006acb 
+ 00027312  0x00007258 branch  0x00006ad7 
+ 00027313  0x0000725b call  0x00006acb 
+ 00027314  0x0000725c ifetch  0x00000001 , 0x00000006 
+ 00027315  0x0000725d rshift3  0x0000003f , 0x0000003f 
+ 00027316  0x0000725e store  0x00000001 , 0x0000456a 
+ 00027317  0x0000725f ifetch  0x00000001 , 0x00000006 
+ 00027318  0x00007260 store  0x00000001 , 0x00000508 
+ 00027319  0x00007261 rtn 
+ 00027320  0x00007265 ifetch  0x00000001 , 0x00000006 
+ 00027321  0x00007266 store  0x00000001 , 0x000004fb 
+ 00027322  0x00007267 rshift3  0x0000003f , 0x0000003f 
+ 00027323  0x00007268 store  0x00000001 , 0x000004fc 
+ 00027324  0x00007269 ifetch  0x00000001 , 0x00000006 
+ 00027325  0x0000726a store  0x00000001 , 0x000004fd 
+ 00027326  0x0000726c call  0x00006ace 
+ 00027327  0x0000726d storet  0x00000002 , 0x000004ff 
+ 00027328  0x0000726e copy  0x00000006 , 0x0000003f 
+ 00027329  0x0000726f store  0x00000002 , 0x00000501 
+ 00027330  0x00007270 rtn 
+ 00027331  0x00007273 ifetch  0x00000001 , 0x00000006 
+ 00027332  0x00007274 rshift  0x0000003f , 0x0000003f 
+ 00027333  0x00007275 store  0x00000001 , 0x00000503 
+ 00027334  0x00007276 call  0x00006ace 
+ 00027335  0x00007277 storet  0x00000002 , 0x00000504 
+ 00027336  0x00007278 copy  0x00000006 , 0x0000003f 
+ 00027337  0x00007279 store  0x00000002 , 0x00000506 
+ 00027338  0x0000727a rtn 
+ 00027339  0x0000727e fetch  0x00000002 , 0x00000506 
+ 00027340  0x0000727f copy  0x0000003f , 0x00000006 
+ 00027341  0x00007280 rtn 
+ 00027342  0x00007283 ifetch  0x00000001 , 0x00000006 
+ 00027343  0x00007284 copy  0x0000003f , 0x00000002 
+ 00027344  0x00007285 rshift  0x00000002 , 0x00000002 
+ 00027345  0x00007286 rtnbit1  0x00000000 
+ 00027346  0x00007287 ifetch  0x00000001 , 0x00000006 
+ 00027347  0x00007288 lshift3  0x0000003f , 0x0000003f 
+ 00027348  0x00007289 lshift4  0x0000003f , 0x0000003f 
+ 00027349  0x0000728a iadd  0x00000002 , 0x00000002 
+ 00027350  0x0000728b rtn 
+ 00027351  0x0000728e ifetch  0x00000001 , 0x00000006 
+ 00027352  0x0000728f store  0x00000001 , 0x0000455d 
+ 00027353  0x00007290 ifetch  0x00000001 , 0x00000006 
+ 00027354  0x00007291 store  0x00000001 , 0x00000509 
+ 00027355  0x00007292 ifetch  0x00000001 , 0x00000006 
+ 00027356  0x00007293 store  0x00000001 , 0x0000050a 
+ 00027357  0x00007294 ifetch  0x00000001 , 0x00000006 
+ 00027358  0x00007295 store  0x00000001 , 0x0000050b 
+ 00027359  0x00007296 ifetch  0x00000002 , 0x00000006 
+ 00027360  0x00007297 store  0x00000002 , 0x0000455e 
+ 00027361  0x00007298 ifetch  0x00000001 , 0x00000006 
+ 00027362  0x00007299 store  0x00000001 , 0x0000050c 
+ 00027363  0x0000729a ifetch  0x00000001 , 0x00000006 
+ 00027364  0x0000729b store  0x00000001 , 0x00004568 
+ 00027365  0x0000729c rtn 
+ 00027366  0x000072a0 call  0x00006ab1 
+ 00027367  0x000072a2 branch  0x00006ae8 
+ 00027368  0x000072a5 fetch  0x00000001 , 0x00004254 
+ 00027369  0x000072a6 set1  0x00000005 , 0x0000003f 
+ 00027370  0x000072a7 set1  0x00000006 , 0x0000003f 
+ 00027371  0x000072a8 store  0x00000001 , 0x00004254 
+ 00027372  0x000072a9 fetcht  0x00000001 , 0x0000455d 
+ 00027373  0x000072aa lshift2  0x00000002 , 0x00000002 
+ 00027374  0x000072ab or_into  0x00000003 , 0x00000002 
+ 00027375  0x000072ac call  0x00006c11 
+ 00027376  0x000072ad jam  0x00000003 , 0x00004567 
+ 00027377  0x000072ae branch  0x00006b97 
+ 00027378  0x000072b1 jam  0x00000008 , 0x00000a99 
+ 00027379  0x000072b2 call  0x00007d86 
+ 00027380  0x000072b3 call  0x00006ab1 
+ 00027381  0x000072b4 fetch  0x00000001 , 0x0000456a 
+ 00027382  0x000072b5 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00027383  0x000072b6 branch  0x00006af9 , 0x00000005 
+ 00027384  0x000072b7 branch  0x00002a8c 
+ 00027385  0x000072b9 fetch  0x00000001 , 0x00004254 
+ 00027386  0x000072ba set1  0x00000007 , 0x0000003f 
+ 00027387  0x000072bb store  0x00000001 , 0x00004254 
+ 00027388  0x000072bc branch  0x00006b97 
+ 00027389  0x000072bf call  0x00006acb 
+ 00027390  0x000072c0 ifetch  0x00000001 , 0x00000006 
+ 00027391  0x000072c1 store  0x00000001 , 0x00000ac2 
+ 00027392  0x000072c2 call  0x000052d2 
+ 00027393  0x000072c3 call  0x000052e0 
+ 00027394  0x000072c4 setarg  0x0000000e 
+ 00027395  0x000072c5 istore  0x00000002 , 0x00000005 
+ 00027396  0x000072c6 fetch  0x00000002 , 0x0000424a 
+ 00027397  0x000072c7 istore  0x00000002 , 0x00000005 
+ 00027398  0x000072c8 fetch  0x00000001 , 0x00004563 
+ 00027399  0x000072ca lshift  0x0000003f , 0x0000003f 
+ 00027400  0x000072cb set1  0x00000000 , 0x0000003f 
+ 00027401  0x000072cc istore  0x00000001 , 0x00000005 
+ 00027402  0x000072cd bpatchx  0x000000a7 , 0x00004034 
+ 00027403  0x000072ce setarg  0x000015ef 
+ 00027404  0x000072cf istore  0x00000002 , 0x00000005 
+ 00027405  0x000072d0 setarg  0x00001191 
+ 00027406  0x000072d1 istore  0x00000002 , 0x00000005 
+ 00027407  0x000072d4 fetch  0x00000001 , 0x00000ac2 
+ 00027408  0x000072d5 istore  0x00000001 , 0x00000005 
+ 00027409  0x000072d6 setarg  0x00000007 
+ 00027410  0x000072d7 istore  0x00000005 , 0x00000005 
+ 00027411  0x000072da setarg  0x00000001 
+ 00027412  0x000072db istore  0x00000002 , 0x00000005 
+ 00027413  0x000072de call  0x00006a2f 
+ 00027414  0x000072df istore  0x00000001 , 0x00000005 
+ 00027415  0x000072e0 rtn 
+ 00027416  0x000072e5 branch  0x00006b19 
+ 00027417  0x000072e8 bpatchx  0x000000a8 , 0x00004035 
+ 00027418  0x000072e9 fetch  0x00000001 , 0x000004fd 
+ 00027419  0x000072ea beq  0x00000073 , 0x00006b21 
+ 00027420  0x000072eb beq  0x0000003f , 0x00006b25 
+ 00027421  0x000072ec beq  0x000000ef , 0x00006b3f 
+ 00027422  0x000072ed beq  0x000000ff , 0x00006b37 
+ 00027423  0x000072ee beq  0x00000053 , 0x00006b46 
+ 00027424  0x000072ef rtn 
+ 00027425  0x000072f1 fetch  0x00000001 , 0x00004254 
+ 00027426  0x000072f2 set1  0x00000003 , 0x0000003f 
+ 00027427  0x000072f3 store  0x00000001 , 0x00004254 
+ 00027428  0x000072f4 branch  0x00006b97 
+ 00027429  0x000072f6 fetch  0x00000001 , 0x00004254 
+ 00027430  0x000072f7 set1  0x00000003 , 0x0000003f 
+ 00027431  0x000072f8 set1  0x00000002 , 0x0000003f 
+ 00027432  0x000072f9 store  0x00000001 , 0x00004254 
+ 00027433  0x000072fa fetch  0x00000001 , 0x000004fb 
+ 00027434  0x000072fb call  0x00006a26 
+ 00027435  0x000072fc store  0x00000001 , 0x000004fe 
+ 00027436  0x000072fd call  0x00006bb6 
+ 00027437  0x000072fe fetch  0x00000001 , 0x000004fb 
+ 00027438  0x000072ff rshift2  0x0000003f , 0x0000003f 
+ 00027439  0x00007300 store  0x00000001 , 0x0000455d 
+ 00027440  0x00007301 lshift2  0x0000003f , 0x0000003f 
+ 00027441  0x00007302 set0  0x00000001 , 0x0000003f 
+ 00027442  0x00007303 set1  0x00000000 , 0x0000003f 
+ 00027443  0x00007304 arg  0x00004565 , 0x00000002 
+ 00027444  0x00007305 storet  0x00000002 , 0x000004f7 
+ 00027445  0x00007306 call  0x00006a35 
+ 00027446  0x00007307 branch  0x00006b97 
+ 00027447  0x0000730a fetch  0x00000002 , 0x00000501 
+ 00027448  0x0000730b copy  0x0000003f , 0x00000006 
+ 00027449  0x0000730c increase  0x00000001 , 0x0000003f 
+ 00027450  0x0000730d store  0x00000002 , 0x00000501 
+ 00027451  0x0000730e ifetch  0x00000001 , 0x00000006 
+ 00027452  0x0000730f fetcht  0x00000001 , 0x00004568 
+ 00027453  0x00007310 iadd  0x00000002 , 0x0000003f 
+ 00027454  0x00007311 store  0x00000001 , 0x00004568 
+ 00027455  0x00007313 call  0x00006c42 
+ 00027456  0x00007315 call  0x00006a72 
+ 00027457  0x00007316 call  0x00006c28 
+ 00027458  0x00007317 call  0x00006c4b 
+ 00027459  0x00007318 branch  0x00006b97 
+ 00027460  0x0000731b jam  0x00000009 , 0x00000a99 
+ 00027461  0x0000731c call  0x00007d86 
+ 00027462  0x0000731e call  0x00006a0d 
+ 00027463  0x0000731f fetch  0x00000001 , 0x000004fb 
+ 00027464  0x00007320 call  0x00006a26 
+ 00027465  0x00007321 store  0x00000001 , 0x000004fe 
+ 00027466  0x00007322 call  0x00006bb6 
+ 00027467  0x00007323 branch  0x00006b97 
+ 00027468  0x00007329 fetch  0x00000002 , 0x00000264 
+ 00027469  0x0000732a copy  0x0000003f , 0x00000006 
+ 00027470  0x0000732b call  0x00006ab8 
+ 00027471  0x0000732c fetch  0x00000001 , 0x000004fc 
+ 00027472  0x0000732d beq  0x00000000 , 0x00006b52 
+ 00027473  0x0000732e branch  0x00006b86 
+ 00027474  0x00007331 bpatchx  0x000000a9 , 0x00004035 
+ 00027475  0x00007332 fetch  0x00000001 , 0x000004fd 
+ 00027476  0x00007333 beq  0x0000003f , 0x00006a7d 
+ 00027477  0x00007334 beq  0x00000073 , 0x00006a86 
+ 00027478  0x00007335 beq  0x000000ef , 0x00006b58 
+ 00027479  0x00007336 branch  0x00006b97 
+ 00027480  0x00007338 fetch  0x00000002 , 0x00000501 
+ 00027481  0x00007339 copy  0x0000003f , 0x00000006 
+ 00027482  0x0000733a call  0x00006ac3 
+ 00027483  0x0000733b fetch  0x00000001 , 0x00000503 
+ 00027484  0x0000733c beq  0x00000041 , 0x00006b61 
+ 00027485  0x0000733d beq  0x00000040 , 0x00006b61 
+ 00027486  0x0000733e beq  0x00000071 , 0x00006b6c 
+ 00027487  0x0000733f beq  0x00000070 , 0x00006b7c 
+ 00027488  0x00007340 branch  0x00006b97 
+ 00027489  0x00007343 call  0x00006aaf 
+ 00027490  0x00007344 fetch  0x00000001 , 0x0000455d 
+ 00027491  0x00007345 rshift  0x0000003f , 0x0000003f 
+ 00027492  0x00007346 fetcht  0x00000001 , 0x00004564 
+ 00027493  0x00007347 isub  0x00000002 , 0x0000003e 
+ 00027494  0x00007348 branch  0x00006b68 , 0x00000005 
+ 00027495  0x00007349 branch  0x00002a8c 
+ 00027496  0x0000734b fetch  0x00000001 , 0x00004254 
+ 00027497  0x0000734c set1  0x00000001 , 0x0000003f 
+ 00027498  0x0000734d store  0x00000001 , 0x00004254 
+ 00027499  0x0000734e branch  0x00006b97 
+ 00027500  0x00007351 call  0x00006ab1 
+ 00027501  0x00007352 fetch  0x00000001 , 0x0000456a 
+ 00027502  0x00007353 fetcht  0x00000001 , 0x00004564 
+ 00027503  0x00007354 isub  0x00000002 , 0x0000003e 
+ 00027504  0x00007355 branch  0x00006b73 , 0x00000005 
+ 00027505  0x00007356 branch  0x00002a8c 
+ 00027506  0x00007357 branch  0x00006b97 
+ 00027507  0x00007359 fetch  0x00000001 , 0x00004254 
+ 00027508  0x0000735a set1  0x00000005 , 0x0000003f 
+ 00027509  0x0000735b set1  0x00000006 , 0x0000003f 
+ 00027510  0x0000735c store  0x00000001 , 0x00004254 
+ 00027511  0x0000735d fetcht  0x00000001 , 0x0000455d 
+ 00027512  0x0000735e lshift2  0x00000002 , 0x00000002 
+ 00027513  0x0000735f or_into  0x00000003 , 0x00000002 
+ 00027514  0x00007360 call  0x00006c11 
+ 00027515  0x00007361 branch  0x00006b97 
+ 00027516  0x00007364 call  0x00006ab1 
+ 00027517  0x00007365 fetch  0x00000001 , 0x0000456a 
+ 00027518  0x00007366 fetcht  0x00000001 , 0x00004564 
+ 00027519  0x00007367 isub  0x00000002 , 0x0000003e 
+ 00027520  0x00007368 branch  0x00006b82 , 0x00000005 
+ 00027521  0x00007369 branch  0x00002a8c 
+ 00027522  0x0000736b fetch  0x00000001 , 0x00004254 
+ 00027523  0x0000736c set1  0x00000007 , 0x0000003f 
+ 00027524  0x0000736d store  0x00000001 , 0x00004254 
+ 00027525  0x0000736e branch  0x00006b97 
+ 00027526  0x00007371 fetch  0x00000001 , 0x000004fc 
+ 00027527  0x00007372 fetcht  0x00000001 , 0x00004564 
+ 00027528  0x00007373 isub  0x00000002 , 0x0000003e 
+ 00027529  0x00007374 branch  0x00006b8c , 0x00000005 
+ 00027530  0x00007375 branch  0x00002a8c 
+ 00027531  0x00007376 branch  0x00006b97 
+ 00027532  0x00007379 fetch  0x00000001 , 0x000004fd 
+ 00027533  0x0000737a beq  0x00000073 , 0x00006b91 
+ 00027534  0x0000737b beq  0x000000ef , 0x00006b3f 
+ 00027535  0x0000737c beq  0x000000ff , 0x00006b37 
+ 00027536  0x0000737d beq  0x00000053 , 0x00006b96 
+ 00027537  0x0000737f fetch  0x00000001 , 0x00004254 
+ 00027538  0x00007380 set1  0x00000003 , 0x0000003f 
+ 00027539  0x00007381 store  0x00000001 , 0x00004254 
+ 00027540  0x00007382 branch  0x00006b97 
+ 00027541  0x00007384 branch  0x00006b95 
+ 00027542  0x00007386 branch  0x00006b46 
+ 00027543  0x00007388 rtn 
+ 00027544  0x0000738b fetch  0x00000001 , 0x00004567 
+ 00027545  0x0000738c rtn  0x00000034 
+ 00027546  0x0000738d beq  0x00000003 , 0x00006b9c 
+ 00027547  0x0000738e branch  0x00002a8c 
+ 00027548  0x00007391 jam  0x00000000 , 0x00004567 
+ 00027549  0x00007392 call  0x000052d2 
+ 00027550  0x00007393 arg  0x00000001 , 0x00000002 
+ 00027551  0x00007394 fetcht  0x00000001 , 0x0000455d 
+ 00027552  0x00007395 lshift2  0x00000002 , 0x00000002 
+ 00027553  0x00007397 or_into  0x00000003 , 0x00000002 
+ 00027554  0x00007398 arg  0x000000aa , 0x00000011 
+ 00027555  0x00007399 call  0x00006bfc 
+ 00027556  0x0000739a call  0x000052e0 
+ 00027557  0x0000739b copy  0x00000005 , 0x00000006 
+ 00027558  0x0000739c ifetch  0x00000002 , 0x00000006 
+ 00027559  0x0000739d branch  0x00002a8c , 0x00000034 
+ 00027560  0x0000739e rtn 
+ 00027561  0x000073a1 call  0x000052e0 
+ 00027562  0x000073a2 setarg  0x00000004 
+ 00027563  0x000073a3 istore  0x00000002 , 0x00000005 
+ 00027564  0x000073a4 fetch  0x00000002 , 0x0000424a 
+ 00027565  0x000073a5 istore  0x00000002 , 0x00000005 
+ 00027566  0x000073a6 fetch  0x00000001 , 0x000004fb 
+ 00027567  0x000073a7 istore  0x00000001 , 0x00000005 
+ 00027568  0x000073a8 bpatchx  0x000000aa , 0x00004035 
+ 00027569  0x000073a9 setarg  0x0000013f 
+ 00027570  0x000073aa istore  0x00000002 , 0x00000005 
+ 00027571  0x000073ab fetch  0x00000001 , 0x000004fe 
+ 00027572  0x000073ac istore  0x00000001 , 0x00000005 
+ 00027573  0x000073ad rtn 
+ 00027574  0x000073af call  0x000052d2 
+ 00027575  0x000073b0 call  0x000052e0 
+ 00027576  0x000073b1 setarg  0x00000004 
+ 00027577  0x000073b2 istore  0x00000002 , 0x00000005 
+ 00027578  0x000073b3 fetch  0x00000002 , 0x0000424a 
+ 00027579  0x000073b4 istore  0x00000002 , 0x00000005 
+ 00027580  0x000073b5 fetch  0x00000001 , 0x000004fb 
+ 00027581  0x000073b6 istore  0x00000001 , 0x00000005 
+ 00027582  0x000073b7 bpatchx  0x000000ab , 0x00004035 
+ 00027583  0x000073b8 setarg  0x00000173 
+ 00027584  0x000073b9 istore  0x00000002 , 0x00000005 
+ 00027585  0x000073ba fetch  0x00000001 , 0x000004fe 
+ 00027586  0x000073bb istore  0x00000001 , 0x00000005 
+ 00027587  0x000073bc rtn 
+ 00027588  0x000073be call  0x000052e0 
+ 00027589  0x000073bf setarg  0x0000000e 
+ 00027590  0x000073c0 istore  0x00000002 , 0x00000005 
+ 00027591  0x000073c1 fetch  0x00000002 , 0x0000424a 
+ 00027592  0x000073c2 istore  0x00000002 , 0x00000005 
+ 00027593  0x000073c3 fetch  0x00000001 , 0x00004563 
+ 00027594  0x000073c4 lshift  0x0000003f , 0x0000003f 
+ 00027595  0x000073c5 set1  0x00000000 , 0x0000003f 
+ 00027596  0x000073c6 istore  0x00000001 , 0x00000005 
+ 00027597  0x000073c7 bpatchx  0x000000ac , 0x00004035 
+ 00027598  0x000073c8 setarg  0x000015ef 
+ 00027599  0x000073c9 istore  0x00000002 , 0x00000005 
+ 00027600  0x000073ca setarg  0x00001183 
+ 00027601  0x000073cb istore  0x00000002 , 0x00000005 
+ 00027602  0x000073cc copy  0x00000002 , 0x0000003f 
+ 00027603  0x000073cd istore  0x00000001 , 0x00000005 
+ 00027604  0x000073ce setarg  0x000000f0 
+ 00027605  0x000073cf istore  0x00000003 , 0x00000005 
+ 00027606  0x000073d0 setarg  0x0000007f 
+ 00027607  0x000073d1 istore  0x00000002 , 0x00000005 
+ 00027608  0x000073d2 setarg  0x00000000 
+ 00027609  0x000073d3 istore  0x00000001 , 0x00000005 
+ 00027610  0x000073d4 setarg  0x00000001 
+ 00027611  0x000073d5 istore  0x00000001 , 0x00000005 
+ 00027612  0x000073d6 call  0x00006a2f 
+ 00027613  0x000073d7 istore  0x00000001 , 0x00000005 
+ 00027614  0x000073d8 jam  0x00000010 , 0x00004569 
+ 00027615  0x000073d9 rtn 
+ 00027616  0x000073db call  0x000052d2 
+ 00027617  0x000073dc call  0x000052e0 
+ 00027618  0x000073dd setarg  0x0000000e 
+ 00027619  0x000073de istore  0x00000002 , 0x00000005 
+ 00027620  0x000073df fetch  0x00000002 , 0x0000424a 
+ 00027621  0x000073e0 istore  0x00000002 , 0x00000005 
+ 00027622  0x000073e1 fetch  0x00000001 , 0x00004563 
+ 00027623  0x000073e2 lshift  0x0000003f , 0x0000003f 
+ 00027624  0x000073e3 set1  0x00000000 , 0x0000003f 
+ 00027625  0x000073e4 istore  0x00000001 , 0x00000005 
+ 00027626  0x000073e5 bpatchx  0x000000ad , 0x00004035 
+ 00027627  0x000073e6 setarg  0x000015ef 
+ 00027628  0x000073e7 istore  0x00000002 , 0x00000005 
+ 00027629  0x000073e8 setarg  0x00001181 
+ 00027630  0x000073e9 istore  0x00000002 , 0x00000005 
+ 00027631  0x000073ea fetch  0x00000001 , 0x0000455d 
+ 00027632  0x000073eb istore  0x00000001 , 0x00000005 
+ 00027633  0x000073ec setarg  0x000000e0 
+ 00027634  0x000073ed istore  0x00000003 , 0x00000005 
+ 00027635  0x000073ee fetch  0x00000002 , 0x0000456c 
+ 00027636  0x000073ef istore  0x00000002 , 0x00000005 
+ 00027637  0x000073f0 setarg  0x00000000 
+ 00027638  0x000073f1 istore  0x00000001 , 0x00000005 
+ 00027639  0x000073f2 fetch  0x00000001 , 0x0000456e 
+ 00027640  0x000073f3 istore  0x00000001 , 0x00000005 
+ 00027641  0x000073f4 call  0x00006a2f 
+ 00027642  0x000073f5 istore  0x00000001 , 0x00000005 
+ 00027643  0x000073f6 rtn 
+ 00027644  0x000073f8 call  0x000052e0 
+ 00027645  0x000073f9 setarg  0x00000008 
+ 00027646  0x000073fa istore  0x00000002 , 0x00000005 
+ 00027647  0x000073fb fetch  0x00000002 , 0x0000424a 
+ 00027648  0x000073fc istore  0x00000002 , 0x00000005 
+ 00027649  0x000073fd fetch  0x00000001 , 0x00004563 
+ 00027650  0x000073fe lshift  0x0000003f , 0x0000003f 
+ 00027651  0x000073ff set1  0x00000000 , 0x0000003f 
+ 00027652  0x00007400 istore  0x00000001 , 0x00000005 
+ 00027653  0x00007401 bpatchx  0x000000ae , 0x00004035 
+ 00027654  0x00007402 setarg  0x000009ef 
+ 00027655  0x00007403 istore  0x00000002 , 0x00000005 
+ 00027656  0x00007404 setarg  0x000005e3 
+ 00027657  0x00007405 istore  0x00000002 , 0x00000005 
+ 00027658  0x00007406 copy  0x00000002 , 0x0000003f 
+ 00027659  0x00007407 istore  0x00000001 , 0x00000005 
+ 00027660  0x00007408 setarg  0x0000008d 
+ 00027661  0x00007409 istore  0x00000001 , 0x00000005 
+ 00027662  0x0000740a call  0x00006a2f 
+ 00027663  0x0000740b istore  0x00000001 , 0x00000005 
+ 00027664  0x0000740c rtn 
+ 00027665  0x0000740f call  0x000052d2 
+ 00027666  0x00007410 call  0x000052e0 
+ 00027667  0x00007411 setarg  0x00000008 
+ 00027668  0x00007412 istore  0x00000002 , 0x00000005 
+ 00027669  0x00007413 fetch  0x00000002 , 0x0000424a 
+ 00027670  0x00007414 istore  0x00000002 , 0x00000005 
+ 00027671  0x00007415 copy  0x00000002 , 0x0000000b 
+ 00027672  0x00007416 fetch  0x00000001 , 0x00004563 
+ 00027673  0x00007417 lshift  0x0000003f , 0x0000003f 
+ 00027674  0x00007418 set1  0x00000000 , 0x0000003f 
+ 00027675  0x00007419 istore  0x00000001 , 0x00000005 
+ 00027676  0x0000741a bpatchx  0x000000af , 0x00004035 
+ 00027677  0x0000741b setarg  0x000009ef 
+ 00027678  0x0000741c istore  0x00000002 , 0x00000005 
+ 00027679  0x0000741d setarg  0x000005e1 
+ 00027680  0x0000741e istore  0x00000002 , 0x00000005 
+ 00027681  0x0000741f copy  0x0000000b , 0x0000003f 
+ 00027682  0x00007420 istore  0x00000001 , 0x00000005 
+ 00027683  0x00007421 setarg  0x0000008d 
+ 00027684  0x00007422 istore  0x00000001 , 0x00000005 
+ 00027685  0x00007423 call  0x00006a2f 
+ 00027686  0x00007424 istore  0x00000001 , 0x00000005 
+ 00027687  0x00007425 rtn 
+ 00027688  0x00007428 bpatchx  0x000000b0 , 0x00004036 
+ 00027689  0x00007429 fetch  0x00000001 , 0x00004569 
+ 00027690  0x0000742a rtn  0x00000034 
+ 00027691  0x0000742b hfetch  0x00000002 , 0x00008112 
+ 00027692  0x0000742c nrtn  0x00000034 
+ 00027693  0x0000742d copy  0x00000011 , 0x0000003f 
+ 00027694  0x0000742e store  0x00000001 , 0x00000a9b 
+ 00027695  0x0000742f storet  0x00000001 , 0x00000a9a 
+ 00027696  0x00007430 call  0x0000526e 
+ 00027697  0x00007431 nrtn  0x00000034 
+ 00027698  0x00007432 call  0x000052d2 
+ 00027699  0x00007433 call  0x000052e0 
+ 00027700  0x00007434 setarg  0x00000005 
+ 00027701  0x00007435 istore  0x00000002 , 0x00000005 
+ 00027702  0x00007436 fetch  0x00000002 , 0x0000424a 
+ 00027703  0x00007437 istore  0x00000002 , 0x00000005 
+ 00027704  0x00007438 fetch  0x00000001 , 0x0000050d 
+ 00027705  0x00007439 istore  0x00000001 , 0x00000005 
+ 00027706  0x0000743a setarg  0x000001ff 
+ 00027707  0x0000743b istore  0x00000002 , 0x00000005 
+ 00027708  0x0000743c fetch  0x00000001 , 0x00004569 
+ 00027709  0x0000743d istore  0x00000001 , 0x00000005 
+ 00027710  0x0000743e fetch  0x00000001 , 0x00004566 
+ 00027711  0x0000743f istore  0x00000001 , 0x00000005 
+ 00027712  0x00007440 jam  0x00000000 , 0x00004569 
+ 00027713  0x00007441 rtn 
+ 00027714  0x00007444 bpatchx  0x000000b1 , 0x00004036 
+ 00027715  0x00007445 fetch  0x00000001 , 0x0000456b 
+ 00027716  0x00007446 rtneq  0x00000001 
+ 00027717  0x00007447 fetch  0x00000002 , 0x000004ff 
+ 00027718  0x00007448 rtn  0x00000034 
+ 00027719  0x00007449 fetch  0x00000001 , 0x00004569 
+ 00027720  0x0000744a increase  0x00000001 , 0x0000003f 
+ 00027721  0x0000744b store  0x00000001 , 0x00004569 
+ 00027722  0x0000744c rtn 
+ 00027723  0x0000744f fetch  0x00000002 , 0x0000456f 
+ 00027724  0x00007450 branch  0x00007f9c 
+ 00027725  0x00007453 bpatchx  0x000000b2 , 0x00004036 
+ 00027726  0x00007455 fetch  0x00000001 , 0x00004568 
+ 00027727  0x00007456 rtn  0x00000034 
+ 00027728  0x00007457 increase  0xffffffff , 0x0000003f 
+ 00027729  0x00007458 store  0x00000001 , 0x00004568 
+ 00027730  0x00007459 fetch  0x00000002 , 0x0000455e 
+ 00027731  0x0000745a fetcht  0x00000002 , 0x0000469f 
+ 00027732  0x0000745b isub  0x00000002 , 0x0000003e 
+ 00027733  0x0000745c branch  0x00006c57 , 0x00000002 
+ 00027734  0x0000745d store  0x00000002 , 0x0000469f 
+ 00027735  0x0000745f fetch  0x00000001 , 0x00004569 
+ 00027736  0x00007460 branch  0x00006c5f , 0x00000034 
+ 00027737  0x00007461 jam  0x00000001 , 0x00000510 
+ 00027738  0x00007462 fetch  0x00000001 , 0x00004566 
+ 00027739  0x00007463 store  0x00000001 , 0x0000050f 
+ 00027740  0x00007464 setarg  0x000000ff 
+ 00027741  0x00007465 store  0x00000001 , 0x0000050e 
+ 00027742  0x00007466 branch  0x00006c64 
+ 00027743  0x00007468 jam  0x00000000 , 0x00000510 
+ 00027744  0x00007469 fetch  0x00000001 , 0x00004565 
+ 00027745  0x0000746a store  0x00000001 , 0x0000050f 
+ 00027746  0x0000746b setarg  0x000000ef 
+ 00027747  0x0000746c store  0x00000001 , 0x0000050e 
+ 00027748  0x0000746e bpatchx  0x000000b3 , 0x00004036 
+ 00027749  0x0000746f fetch  0x00000002 , 0x0000469f 
+ 00027750  0x00007470 sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00027751  0x00007471 branch  0x00006c6b , 0x00000002 
+ 00027752  0x00007472 fetch  0x00000001 , 0x00000510 
+ 00027753  0x00007473 increase  0x00000001 , 0x0000003f 
+ 00027754  0x00007474 store  0x00000001 , 0x00000510 
+ 00027755  0x00007476 call  0x00006a72 
+ 00027756  0x00007477 fetch  0x00000002 , 0x0000469f 
+ 00027757  0x00007478 increase  0x00000008 , 0x0000003f 
+ 00027758  0x00007479 fetcht  0x00000001 , 0x00000510 
+ 00027759  0x0000747a iadd  0x00000002 , 0x00000011 
+ 00027760  0x0000747c call  0x00005240 
+ 00027761  0x0000747d store  0x00000002 , 0x00000277 
+ 00027762  0x0000747e increase  0x00000004 , 0x0000003f 
+ 00027763  0x0000747f store  0x00000002 , 0x00000279 
+ 00027764  0x00007480 copy  0x0000003f , 0x00000005 
+ 00027765  0x00007481 fetch  0x00000001 , 0x0000050d 
+ 00027766  0x00007482 istore  0x00000001 , 0x00000005 
+ 00027767  0x00007483 fetch  0x00000001 , 0x0000050e 
+ 00027768  0x00007484 istore  0x00000001 , 0x00000005 
+ 00027769  0x00007485 call  0x00006c95 
+ 00027770  0x00007486 call  0x00006ca6 
+ 00027771  0x00007487 bpatchx  0x000000b4 , 0x00004036 
+ 00027772  0x00007488 fetch  0x00000002 , 0x00004571 
+ 00027773  0x00007489 copy  0x0000003f , 0x00000003 
+ 00027774  0x0000748a fetch  0x00000002 , 0x0000469f 
+ 00027775  0x0000748b copy  0x0000003f , 0x00000039 
+ 00027776  0x0000748c call  0x000066ea 
+ 00027777  0x0000748d copy  0x00000005 , 0x00000002 
+ 00027778  0x0000748e copy  0x00000003 , 0x0000003f 
+ 00027779  0x0000748f store  0x00000002 , 0x00004571 
+ 00027780  0x00007490 copy  0x00000002 , 0x00000005 
+ 00027781  0x00007491 fetch  0x00000001 , 0x0000050f 
+ 00027782  0x00007492 istore  0x00000001 , 0x00000005 
+ 00027783  0x00007493 fetch  0x00000002 , 0x00000277 
+ 00027784  0x00007494 copy  0x0000003f , 0x00000005 
+ 00027785  0x00007495 fetch  0x00000002 , 0x0000469f 
+ 00027786  0x00007496 fetcht  0x00000001 , 0x00000510 
+ 00027787  0x00007497 iadd  0x00000002 , 0x0000003f 
+ 00027788  0x00007498 increase  0x00000004 , 0x0000003f 
+ 00027789  0x00007499 istore  0x00000002 , 0x00000005 
+ 00027790  0x0000749a fetch  0x00000002 , 0x0000424a 
+ 00027791  0x0000749b istore  0x00000002 , 0x00000005 
+ 00027792  0x0000749c jam  0x00000000 , 0x00004569 
+ 00027793  0x0000749d fetch  0x00000002 , 0x00004573 
+ 00027794  0x0000749e beq  0x00000000 , 0x00003a97 
+ 00027795  0x0000749f jam  0x00000000 , 0x00000b05 
+ 00027796  0x000074a0 rtn 
+ 00027797  0x000074a3 bpatchx  0x000000b5 , 0x00004036 
+ 00027798  0x000074a4 fetch  0x00000002 , 0x0000469f 
+ 00027799  0x000074a5 sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00027800  0x000074a6 nbranch  0x00006c9d , 0x00000002 
+ 00027801  0x000074a7 lshift  0x0000003f , 0x0000003f 
+ 00027802  0x000074a8 set1  0x00000000 , 0x0000003f 
+ 00027803  0x000074a9 istore  0x00000001 , 0x00000005 
+ 00027804  0x000074aa rtn 
+ 00027805  0x000074ac fetch  0x00000002 , 0x0000469f 
+ 00027806  0x000074ad rshift3  0x0000003f , 0x0000003f 
+ 00027807  0x000074ae rshift4  0x0000003f , 0x00000002 
+ 00027808  0x000074af and_into  0x0000007f , 0x0000003f 
+ 00027809  0x000074b0 lshift  0x0000003f , 0x0000003f 
+ 00027810  0x000074b1 set0  0x00000000 , 0x0000003f 
+ 00027811  0x000074b2 istore  0x00000001 , 0x00000005 
+ 00027812  0x000074b3 istoret  0x00000001 , 0x00000005 
+ 00027813  0x000074b4 rtn 
+ 00027814  0x000074b6 fetch  0x00000001 , 0x00004569 
+ 00027815  0x000074b7 rtn  0x00000034 
+ 00027816  0x000074b8 istore  0x00000001 , 0x00000005 
+ 00027817  0x000074b9 rtn 
+ 00027818  0x000074bf bpatchx  0x000000b6 , 0x00004036 
+ 00027819  0x000074c0 call  0x00007d9c 
+ 00027820  0x000074c1 call  0x000032f6 
+ 00027821  0x000074c2 call  0x0000631b 
+ 00027822  0x000074c4 bpatchx  0x000000b7 , 0x00004036 
+ 00027823  0x000074c5 call  0x000076dc 
+ 00027824  0x000074c6 call  0x000076b5 
+ 00027825  0x000074c7 call  0x000076c6 
+ 00027826  0x000074ca call  0x0000526e 
+ 00027827  0x000074cb nrtn  0x00000034 
+ 00027828  0x000074cd call  0x00004da9 
+ 00027829  0x000074ce call  0x0000526e 
+ 00027830  0x000074cf nrtn  0x00000034 
+ 00027831  0x000074d0 bpatchx  0x000000b8 , 0x00004037 
+ 00027832  0x000074d2 call  0x00006cf5 
+ 00027833  0x000074d3 call  0x00004f64 
+ 00027834  0x000074d4 call  0x00006b98 
+ 00027835  0x000074d6 call  0x00006cbe 
+ 00027836  0x000074d7 bpatchx  0x000000b9 , 0x00004037 
+ 00027837  0x000074da branch  0x000032f2 
+ 00027838  0x000074dd fetch  0x00000001 , 0x0000027f 
+ 00027839  0x000074de bbit1  0x00000000 , 0x00005087 
+ 00027840  0x000074df bbit1  0x00000007 , 0x00005091 
+ 00027841  0x000074e0 rtn 
+ 00027842  0x000074e3 bpatchx  0x000000ba , 0x00004037 
+ 00027843  0x000074e4 call  0x00005274 
+ 00027844  0x000074e5 rtn  0x00000034 
+ 00027845  0x000074e6 fetch  0x00000001 , 0x0000004b 
+ 00027846  0x000074e7 rtnbit1  0x00000006 
+ 00027847  0x000074e8 call  0x00005258 
+ 00027848  0x000074e9 store  0x00000002 , 0x0000016f 
+ 00027849  0x000074ea copy  0x0000003f , 0x00000006 
+ 00027850  0x000074eb ifetch  0x00000002 , 0x00000006 
+ 00027851  0x000074ec increase  0x00000004 , 0x0000003f 
+ 00027852  0x000074ed store  0x00000002 , 0x000041dc 
+ 00027853  0x000074ee jam  0x00000006 , 0x000041db 
+ 00027854  0x000074ef bpatchx  0x000000bb , 0x00004037 
+ 00027855  0x000074f0 fetch  0x00000002 , 0x00004246 
+ 00027856  0x000074f1 branch  0x00006cdd , 0x00000034 
+ 00027857  0x000074f2 fetch  0x00000001 , 0x0000004b 
+ 00027858  0x000074f3 rtnbit0  0x00000007 
+ 00027859  0x000074f4 set0  0x00000007 , 0x0000003f 
+ 00027860  0x000074f5 store  0x00000001 , 0x0000004b 
+ 00027861  0x000074f6 jam  0x00000005 , 0x000041db 
+ 00027862  0x000074f7 fetcht  0x00000002 , 0x00004246 
+ 00027863  0x000074f8 fetch  0x00000002 , 0x0000016f 
+ 00027864  0x000074f9 iadd  0x00000002 , 0x0000003f 
+ 00027865  0x000074fa store  0x00000002 , 0x0000016f 
+ 00027866  0x000074fb fetch  0x00000002 , 0x000041dc 
+ 00027867  0x000074fc isub  0x00000002 , 0x0000003f 
+ 00027868  0x000074fd store  0x00000002 , 0x000041dc 
+ 00027869  0x000074ff bpatchx  0x000000bc , 0x00004037 
+ 00027870  0x00007500 fetch  0x00000002 , 0x000041dc 
+ 00027871  0x00007501 branch  0x00002a8c , 0x00000034 
+ 00027872  0x00007502 arg  0x00000104 , 0x00000002 
+ 00027873  0x00007503 isub  0x00000002 , 0x0000003f 
+ 00027874  0x00007504 nbranch  0x00006ce9 , 0x00000002 
+ 00027875  0x00007505 bpatchx  0x000000bd , 0x00004037 
+ 00027876  0x00007506 storet  0x00000002 , 0x000041dc 
+ 00027877  0x00007507 fetch  0x00000002 , 0x00004246 
+ 00027878  0x00007508 iadd  0x00000002 , 0x0000003f 
+ 00027879  0x00007509 store  0x00000002 , 0x00004246 
+ 00027880  0x0000750a branch  0x00006ceb 
+ 00027881  0x0000750c setarg  0x00000000 
+ 00027882  0x0000750d store  0x00000002 , 0x00004246 
+ 00027883  0x0000750f fetch  0x00000001 , 0x0000004b 
+ 00027884  0x00007510 set1  0x00000006 , 0x0000003f 
+ 00027885  0x00007511 store  0x00000001 , 0x0000004b 
+ 00027886  0x00007512 rtn 
+ 00027887  0x00007515 fetch  0x00000001 , 0x00004684 
+ 00027888  0x00007516 bbit1  0x00000000 , 0x00006cf3 
+ 00027889  0x00007517 jam  0x00000001 , 0x00000287 
+ 00027890  0x00007518 rtn 
+ 00027891  0x0000751a jam  0x0000000f , 0x00000287 
+ 00027892  0x0000751b rtn 
+ 00027893  0x0000751e fetch  0x00000001 , 0x00004681 
+ 00027894  0x0000751f nbranch  0x00006cfb , 0x00000034 
+ 00027895  0x00007521 fetch  0x00000001 , 0x00000286 
+ 00027896  0x00007523 rtn  0x00000034 
+ 00027897  0x00007525 jam  0x00000000 , 0x00000286 
+ 00027898  0x00007527 rtn 
+ 00027899  0x0000752b bpatchx  0x000000be , 0x00004037 
+ 00027900  0x0000752c fetch  0x00000001 , 0x00000287 
+ 00027901  0x0000752d rtn  0x00000034 
+ 00027902  0x0000752e beq  0x00000001 , 0x00006d1b 
+ 00027903  0x0000752f beq  0x00000002 , 0x00006d74 
+ 00027904  0x00007530 beq  0x00000003 , 0x00006d21 
+ 00027905  0x00007531 beq  0x00000004 , 0x00006d78 
+ 00027906  0x00007532 beq  0x0000003b , 0x00006d2b 
+ 00027907  0x00007533 beq  0x0000003c , 0x00006d7b 
+ 00027908  0x00007534 beq  0x0000000d , 0x00006d30 
+ 00027909  0x00007535 beq  0x0000000e , 0x00006d80 
+ 00027910  0x00007536 beq  0x0000000f , 0x00006d33 
+ 00027911  0x00007537 beq  0x00000010 , 0x00006d86 
+ 00027912  0x00007538 beq  0x00000011 , 0x00006d39 
+ 00027913  0x00007539 beq  0x00000012 , 0x00006d8a 
+ 00027914  0x0000753a beq  0x00000013 , 0x00006d3f 
+ 00027915  0x0000753b beq  0x00000014 , 0x00006d8e 
+ 00027916  0x0000753c beq  0x00000015 , 0x00006d45 
+ 00027917  0x0000753d beq  0x00000016 , 0x00006d92 
+ 00027918  0x0000753e beq  0x00000017 , 0x00006d4b 
+ 00027919  0x0000753f beq  0x00000018 , 0x00006d97 
+ 00027920  0x00007540 beq  0x00000019 , 0x00006d51 
+ 00027921  0x00007541 beq  0x0000001a , 0x00006d9b 
+ 00027922  0x00007542 beq  0x0000001b , 0x00006d57 
+ 00027923  0x00007543 beq  0x0000001c , 0x00006d9f 
+ 00027924  0x00007544 beq  0x0000001d , 0x00006d5d 
+ 00027925  0x00007545 beq  0x0000001e , 0x00006da4 
+ 00027926  0x00007546 beq  0x0000001f , 0x00006d63 
+ 00027927  0x00007547 beq  0x00000020 , 0x00006da8 
+ 00027928  0x00007548 beq  0x00000021 , 0x00006d6e 
+ 00027929  0x00007549 beq  0x00000022 , 0x00006dac 
+ 00027930  0x0000754b rtn 
+ 00027931  0x0000754d call  0x00006db7 
+ 00027932  0x0000754e jam  0x00000002 , 0x00000287 
+ 00027933  0x0000754f fetch  0x00000001 , 0x00004250 
+ 00027934  0x00007550 set1  0x00000000 , 0x0000003f 
+ 00027935  0x00007551 store  0x00000001 , 0x00004250 
+ 00027936  0x00007552 rtn 
+ 00027937  0x00007554 jam  0x00000004 , 0x00000287 
+ 00027938  0x00007555 fetch  0x00000001 , 0x00004250 
+ 00027939  0x00007556 rtnbit1  0x00000002 
+ 00027940  0x00007557 jam  0x00000003 , 0x00000287 
+ 00027941  0x00007558 call  0x00006dbe 
+ 00027942  0x00007559 jam  0x00000004 , 0x00000287 
+ 00027943  0x0000755a fetch  0x00000001 , 0x00004250 
+ 00027944  0x0000755b set1  0x00000002 , 0x0000003f 
+ 00027945  0x0000755c store  0x00000001 , 0x00004250 
+ 00027946  0x0000755d rtn 
+ 00027947  0x0000755f call  0x00005274 
+ 00027948  0x00007560 nrtn  0x00000034 
+ 00027949  0x00007561 call  0x00006dcd 
+ 00027950  0x00007562 jam  0x0000003c , 0x00000287 
+ 00027951  0x00007563 rtn 
+ 00027952  0x00007565 call  0x00006dc3 
+ 00027953  0x00007566 jam  0x0000000e , 0x00000287 
+ 00027954  0x00007567 rtn 
+ 00027955  0x00007569 call  0x00006ddd 
+ 00027956  0x0000756a jam  0x00000010 , 0x00000287 
+ 00027957  0x0000756b fetch  0x00000001 , 0x00004252 
+ 00027958  0x0000756c set1  0x00000000 , 0x0000003f 
+ 00027959  0x0000756d store  0x00000001 , 0x00004252 
+ 00027960  0x0000756e rtn 
+ 00027961  0x00007570 call  0x00006de4 
+ 00027962  0x00007571 jam  0x00000012 , 0x00000287 
+ 00027963  0x00007572 fetch  0x00000001 , 0x00004252 
+ 00027964  0x00007573 set1  0x00000002 , 0x0000003f 
+ 00027965  0x00007574 store  0x00000001 , 0x00004252 
+ 00027966  0x00007575 rtn 
+ 00027967  0x00007577 call  0x00006de9 
+ 00027968  0x00007578 jam  0x00000014 , 0x00000287 
+ 00027969  0x00007579 fetch  0x00000001 , 0x00004253 
+ 00027970  0x0000757a set1  0x00000000 , 0x0000003f 
+ 00027971  0x0000757b store  0x00000001 , 0x00004253 
+ 00027972  0x0000757c rtn 
+ 00027973  0x0000757e call  0x00006df0 
+ 00027974  0x0000757f jam  0x00000016 , 0x00000287 
+ 00027975  0x00007580 fetch  0x00000001 , 0x00004253 
+ 00027976  0x00007581 set1  0x00000002 , 0x0000003f 
+ 00027977  0x00007582 store  0x00000001 , 0x00004253 
+ 00027978  0x00007583 rtn 
+ 00027979  0x00007585 call  0x00006dd1 
+ 00027980  0x00007586 jam  0x00000018 , 0x00000287 
+ 00027981  0x00007587 fetch  0x00000001 , 0x00004251 
+ 00027982  0x00007588 set1  0x00000000 , 0x0000003f 
+ 00027983  0x00007589 store  0x00000001 , 0x00004251 
+ 00027984  0x0000758a rtn 
+ 00027985  0x0000758c call  0x00006dd8 
+ 00027986  0x0000758d jam  0x0000001a , 0x00000287 
+ 00027987  0x0000758e fetch  0x00000001 , 0x00004251 
+ 00027988  0x0000758f set1  0x00000002 , 0x0000003f 
+ 00027989  0x00007590 store  0x00000001 , 0x00004251 
+ 00027990  0x00007591 rtn 
+ 00027991  0x00007593 call  0x00006df5 
+ 00027992  0x00007594 jam  0x0000001c , 0x00000287 
+ 00027993  0x00007595 fetch  0x00000001 , 0x00004251 
+ 00027994  0x00007596 set1  0x00000006 , 0x0000003f 
+ 00027995  0x00007597 store  0x00000001 , 0x00004251 
+ 00027996  0x00007598 rtn 
+ 00027997  0x0000759a call  0x00006dfc 
+ 00027998  0x0000759b fetch  0x00000001 , 0x00004254 
+ 00027999  0x0000759c set1  0x00000000 
+ 00028000  0x0000759d store  0x00000001 , 0x00004254 
+ 00028001  0x0000759e jam  0x0000001e , 0x00000287 
+ 00028002  0x0000759f rtn 
+ 00028003  0x000075a1 call  0x00006e02 
+ 00028004  0x000075a2 fetch  0x00000001 , 0x00004254 
+ 00028005  0x000075a3 set1  0x00000002 
+ 00028006  0x000075a4 store  0x00000001 , 0x00004254 
+ 00028007  0x000075a5 jam  0x00000020 , 0x00000287 
+ 00028008  0x000075a6 fetch  0x00000001 , 0x00004564 
+ 00028009  0x000075a7 lshift3  0x0000003f , 0x0000003f 
+ 00028010  0x000075a8 or_into  0x00000003 , 0x0000003f 
+ 00028011  0x000075a9 arg  0x00004565 , 0x00000002 
+ 00028012  0x000075aa storet  0x00000002 , 0x000004f7 
+ 00028013  0x000075ab branch  0x00006a35 
+ 00028014  0x000075ad call  0x00006e0c 
+ 00028015  0x000075ae fetch  0x00000001 , 0x00004254 
+ 00028016  0x000075af set1  0x00000004 
+ 00028017  0x000075b0 store  0x00000001 , 0x00004254 
+ 00028018  0x000075b1 jam  0x00000022 , 0x00000287 
+ 00028019  0x000075b2 rtn 
+ 00028020  0x000075b5 fetch  0x00000001 , 0x00004250 
+ 00028021  0x000075b6 rtnbit0  0x00000001 
+ 00028022  0x000075b7 jam  0x00000003 , 0x00000287 
+ 00028023  0x000075b8 branch  0x00006cfb 
+ 00028024  0x000075ba fetch  0x00000001 , 0x00004250 
+ 00028025  0x000075bb rtnne  0x0000003f 
+ 00028026  0x000075bc jam  0x0000003b , 0x00000287 
+ 00028027  0x000075be fetch  0x00000001 , 0x00000285 
+ 00028028  0x000075bf rtnne  0x00000017 
+ 00028029  0x000075c0 jam  0x00000000 , 0x00000285 
+ 00028030  0x000075c1 jam  0x0000000d , 0x00000287 
+ 00028031  0x000075c2 branch  0x00006cfb 
+ 00028032  0x000075c4 fetch  0x00000001 , 0x00004250 
+ 00028033  0x000075c5 nrtn  0x00000034 
+ 00028034  0x000075c6 fetch  0x00000001 , 0x00004684 
+ 00028035  0x000075c7 bbit1  0x00000000 , 0x00006daf 
+ 00028036  0x000075c8 bbit1  0x00000006 , 0x00006db1 
+ 00028037  0x000075c9 branch  0x00006db5 
+ 00028038  0x000075cb fetch  0x00000001 , 0x00004252 
+ 00028039  0x000075cc rtnbit0  0x00000001 
+ 00028040  0x000075cd jam  0x00000011 , 0x00000287 
+ 00028041  0x000075ce branch  0x00006cfb 
+ 00028042  0x000075d0 fetch  0x00000001 , 0x00004252 
+ 00028043  0x000075d1 rtnne  0x0000003f 
+ 00028044  0x000075d2 jam  0x00000013 , 0x00000287 
+ 00028045  0x000075d3 branch  0x00006cfb 
+ 00028046  0x000075d5 fetch  0x00000001 , 0x00004253 
+ 00028047  0x000075d6 rtnbit0  0x00000001 
+ 00028048  0x000075d7 jam  0x00000015 , 0x00000287 
+ 00028049  0x000075d8 branch  0x00006cfb 
+ 00028050  0x000075da fetch  0x00000001 , 0x00004253 
+ 00028051  0x000075db rtnne  0x0000003f 
+ 00028052  0x000075dc fetch  0x00000001 , 0x00004684 
+ 00028053  0x000075dd bbit1  0x00000006 , 0x00006db1 
+ 00028054  0x000075de branch  0x00006db5 
+ 00028055  0x000075e0 fetch  0x00000001 , 0x00004251 
+ 00028056  0x000075e1 rtnbit0  0x00000001 
+ 00028057  0x000075e2 jam  0x00000019 , 0x00000287 
+ 00028058  0x000075e3 branch  0x00006cfb 
+ 00028059  0x000075e5 fetch  0x00000001 , 0x00004251 
+ 00028060  0x000075e6 rtnne  0x0000003f 
+ 00028061  0x000075e7 jam  0x0000001b , 0x00000287 
+ 00028062  0x000075e8 branch  0x00006cfb 
+ 00028063  0x000075ea fetch  0x00000001 , 0x00004251 
+ 00028064  0x000075eb rtnne  0x000000ff 
+ 00028065  0x000075ec fetch  0x00000001 , 0x00004684 
+ 00028066  0x000075ed bbit1  0x00000006 , 0x00006db3 
+ 00028067  0x000075ee branch  0x00006db5 
+ 00028068  0x000075f0 fetch  0x00000001 , 0x00004254 
+ 00028069  0x000075f1 rtnbit0  0x00000001 
+ 00028070  0x000075f2 jam  0x0000001f , 0x00000287 
+ 00028071  0x000075f3 branch  0x00006cfb 
+ 00028072  0x000075f5 fetch  0x00000001 , 0x00004254 
+ 00028073  0x000075f6 rtnbit0  0x00000003 
+ 00028074  0x000075f7 jam  0x00000021 , 0x00000287 
+ 00028075  0x000075f8 branch  0x00006cfb 
+ 00028076  0x000075fa fetch  0x00000001 , 0x00004254 
+ 00028077  0x000075fb rtnne  0x000000ff 
+ 00028078  0x000075fc branch  0x00006db5 
+ 00028079  0x000075ff jam  0x0000000f , 0x00000287 
+ 00028080  0x00007600 branch  0x00006cfb 
+ 00028081  0x00007603 jam  0x00000017 , 0x00000287 
+ 00028082  0x00007604 branch  0x00006cfb 
+ 00028083  0x00007606 jam  0x0000001d , 0x00000287 
+ 00028084  0x00007607 branch  0x00006cfb 
+ 00028085  0x0000760c jam  0x00000000 , 0x00000287 
+ 00028086  0x0000760d rtn 
+ 00028087  0x0000760f bpatchx  0x000000bf , 0x00004037 
+ 00028088  0x00007610 call  0x000052b8 
+ 00028089  0x00007611 setarg  0x00000001 
+ 00028090  0x00007612 copy  0x0000003f , 0x00000002 
+ 00028091  0x00007613 setarg  0x00000050 
+ 00028092  0x00007614 copy  0x0000003f , 0x0000000b 
+ 00028093  0x00007615 branch  0x000050a8 
+ 00028094  0x00007618 bpatchx  0x000000c0 , 0x00004038 
+ 00028095  0x00007619 call  0x000052b8 
+ 00028096  0x0000761a fetch  0x00000002 , 0x00004248 
+ 00028097  0x0000761b copy  0x0000003f , 0x00000002 
+ 00028098  0x0000761c branch  0x000050b7 
+ 00028099  0x0000761f bpatchx  0x000000c1 , 0x00004038 
+ 00028100  0x00007620 call  0x000052b8 
+ 00028101  0x00007621 fetch  0x00000002 , 0x00004248 
+ 00028102  0x00007622 copy  0x0000003f , 0x00000002 
+ 00028103  0x00007623 arg  0x00000050 , 0x0000000b 
+ 00028104  0x00007624 call  0x000050cc 
+ 00028105  0x00007625 fetch  0x00000001 , 0x00004250 
+ 00028106  0x00007626 set0  0x00000005 , 0x0000003f 
+ 00028107  0x00007627 store  0x00000001 , 0x00004250 
+ 00028108  0x00007628 rtn 
+ 00028109  0x0000762b bpatchx  0x000000c2 , 0x00004038 
+ 00028110  0x0000762c call  0x000052c5 
+ 00028111  0x0000762d call  0x00007138 
+ 00028112  0x0000762e branch  0x000050e7 
+ 00028113  0x00007631 bpatchx  0x000000c3 , 0x00004038 
+ 00028114  0x00007632 call  0x000052b8 
+ 00028115  0x00007633 setarg  0x00000003 
+ 00028116  0x00007634 copy  0x0000003f , 0x00000002 
+ 00028117  0x00007635 setarg  0x00000051 
+ 00028118  0x00007636 copy  0x0000003f , 0x0000000b 
+ 00028119  0x00007637 branch  0x000050a8 
+ 00028120  0x0000763a bpatchx  0x000000c4 , 0x00004038 
+ 00028121  0x0000763b call  0x000052b8 
+ 00028122  0x0000763c fetch  0x00000002 , 0x0000424a 
+ 00028123  0x0000763d copy  0x0000003f , 0x00000002 
+ 00028124  0x0000763e branch  0x000050b7 
+ 00028125  0x00007641 bpatchx  0x000000c5 , 0x00004038 
+ 00028126  0x00007642 call  0x000052b8 
+ 00028127  0x00007643 setarg  0x00000011 
+ 00028128  0x00007644 copy  0x0000003f , 0x00000002 
+ 00028129  0x00007645 setarg  0x00000052 
+ 00028130  0x00007646 copy  0x0000003f , 0x0000000b 
+ 00028131  0x00007647 branch  0x000050a8 
+ 00028132  0x0000764a bpatchx  0x000000c6 , 0x00004038 
+ 00028133  0x0000764b call  0x000052b8 
+ 00028134  0x0000764c fetch  0x00000002 , 0x0000424c 
+ 00028135  0x0000764d copy  0x0000003f , 0x00000002 
+ 00028136  0x0000764e branch  0x000050b7 
+ 00028137  0x00007651 bpatchx  0x000000c7 , 0x00004038 
+ 00028138  0x00007652 call  0x000052b8 
+ 00028139  0x00007653 setarg  0x00000013 
+ 00028140  0x00007654 copy  0x0000003f , 0x00000002 
+ 00028141  0x00007655 setarg  0x00000053 
+ 00028142  0x00007656 copy  0x0000003f , 0x0000000b 
+ 00028143  0x00007657 branch  0x000050a8 
+ 00028144  0x0000765a bpatchx  0x000000c8 , 0x00004039 
+ 00028145  0x0000765b call  0x000052b8 
+ 00028146  0x0000765c fetch  0x00000002 , 0x0000424e 
+ 00028147  0x0000765d copy  0x0000003f , 0x00000002 
+ 00028148  0x0000765e branch  0x000050b7 
+ 00028149  0x00007661 bpatchx  0x000000c9 , 0x00004039 
+ 00028150  0x00007662 call  0x000052d2 
+ 00028151  0x00007664 jam  0x00000003 , 0x000004fb 
+ 00028152  0x00007665 jam  0x0000001c , 0x000004fe 
+ 00028153  0x00007666 call  0x00006ba9 
+ 00028154  0x00007667 jam  0x00000001 , 0x00004563 
+ 00028155  0x00007668 rtn 
+ 00028156  0x0000766b bpatchx  0x000000ca , 0x00004039 
+ 00028157  0x0000766c call  0x000052d2 
+ 00028158  0x0000766d fetcht  0x00000001 , 0x00004564 
+ 00028159  0x0000766e call  0x00006a79 
+ 00028160  0x0000766f storet  0x00000001 , 0x0000455d 
+ 00028161  0x00007670 branch  0x00006bc4 
+ 00028162  0x00007673 bpatchx  0x000000cb , 0x00004039 
+ 00028163  0x00007674 call  0x000052d2 
+ 00028164  0x00007675 fetcht  0x00000001 , 0x0000455d 
+ 00028165  0x00007676 call  0x00006a73 
+ 00028166  0x00007677 call  0x00006a1a 
+ 00028167  0x00007678 store  0x00000001 , 0x000004fe 
+ 00028168  0x00007679 fetcht  0x00000001 , 0x0000455d 
+ 00028169  0x0000767a call  0x00006a73 
+ 00028170  0x0000767b storet  0x00000001 , 0x000004fb 
+ 00028171  0x0000767c branch  0x00006ba9 
+ 00028172  0x0000767f bpatchx  0x000000cc , 0x00004039 
+ 00028173  0x00007680 call  0x000052d2 
+ 00028174  0x00007681 fetcht  0x00000001 , 0x0000455d 
+ 00028175  0x00007682 call  0x00006a73 
+ 00028176  0x00007683 branch  0x00006bfc 
+ 00028177  0x00007691 bpatchx  0x000000cd , 0x00004039 
+ 00028178  0x00007692 fetch  0x00000002 , 0x00000264 
+ 00028179  0x00007693 iforce  0x00000006 
+ 00028180  0x00007696 ifetch  0x00000001 , 0x00000006 
+ 00028181  0x00007697 copy  0x0000003f , 0x00000012 
+ 00028182  0x00007698 store  0x00000001 , 0x0000051b 
+ 00028183  0x00007699 ifetch  0x00000002 , 0x00000006 
+ 00028184  0x0000769a store  0x00000002 , 0x0000051c 
+ 00028185  0x0000769b ifetch  0x00000001 , 0x00000006 
+ 00028186  0x0000769c lshift8  0x0000003f , 0x0000000b 
+ 00028187  0x0000769d ifetch  0x00000001 , 0x00000006 
+ 00028188  0x0000769e iadd  0x0000000b , 0x0000000b 
+ 00028189  0x0000769f bpatchx  0x000000ce , 0x00004039 
+ 00028190  0x000076a0 copy  0x00000006 , 0x00000002 
+ 00028191  0x000076a1 arg  0x00000004 , 0x00000039 
+ 00028192  0x000076a2 arg  0x0000052a , 0x00000005 
+ 00028193  0x000076a3 call  0x00007ec6 
+ 00028194  0x000076a4 copy  0x00000002 , 0x00000006 
+ 00028195  0x000076a5 deposit  0x00000012 
+ 00028196  0x000076a6 beq  0x00000001 , 0x00006fba 
+ 00028197  0x000076a7 beq  0x00000002 , 0x00006e2c 
+ 00028198  0x000076a8 beq  0x00000003 , 0x00006fba 
+ 00028199  0x000076a9 beq  0x00000004 , 0x00006e54 
+ 00028200  0x000076aa beq  0x00000005 , 0x00006fba 
+ 00028201  0x000076ab beq  0x00000006 , 0x00006f02 
+ 00028202  0x000076ac beq  0x00000007 , 0x00006fba 
+ 00028203  0x000076ad branch  0x00006fc1 
+ 00028204  0x000076b9 bpatchx  0x000000cf , 0x00004039 
+ 00028205  0x000076ba call  0x00006fd0 
+ 00028206  0x000076bb compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00028207  0x000076bc branch  0x00007040 , 0x00000001 
+ 00028208  0x000076bd compare  0x000000ff , 0x00000002 , 0x000000ff 
+ 00028209  0x000076be branch  0x00006fc4 , 0x00000001 
+ 00028210  0x000076c0 ifetch  0x00000002 , 0x00000006 
+ 00028211  0x000076c1 store  0x00000002 , 0x00000522 
+ 00028212  0x000076c2 increase  0xfffffffe , 0x0000000b 
+ 00028213  0x000076c4 increase  0xffffffff , 0x0000000b 
+ 00028214  0x000076c5 nbranch  0x00006fbe , 0x00000005 
+ 00028215  0x000076c6 arg  0x00000511 , 0x0000000b 
+ 00028216  0x000076c7 ifetch  0x00000002 , 0x0000000b 
+ 00028217  0x000076c8 rtn  0x00000034 
+ 00028218  0x000076c9 call  0x00007082 
+ 00028219  0x000076ca call  0x000052d0 
+ 00028220  0x000076cb force  0x00000003 , 0x0000003f 
+ 00028221  0x000076cc istore  0x00000001 , 0x00000005 
+ 00028222  0x000076cd fetch  0x00000002 , 0x0000051c 
+ 00028223  0x000076ce istore  0x00000002 , 0x00000005 
+ 00028224  0x000076cf lshift2  0x00000007 , 0x0000003f 
+ 00028225  0x000076d0 add  0x0000003f , 0x00000005 , 0x0000003f 
+ 00028226  0x000076d1 add  0x0000003f , 0x00000005 , 0x00000013 
+ 00028227  0x000076d2 byteswap  0x0000003f , 0x0000003f 
+ 00028228  0x000076d3 istore  0x00000002 , 0x00000005 
+ 00028229  0x000076d4 deposit  0x00000007 
+ 00028230  0x000076d5 byteswap  0x0000003f , 0x0000003f 
+ 00028231  0x000076d6 istore  0x00000002 , 0x00000005 
+ 00028232  0x000076d7 istore  0x00000002 , 0x00000005 
+ 00028233  0x000076d8 arg  0x0000052a , 0x00000006 
+ 00028234  0x000076d9 copy  0x00000007 , 0x00000039 
+ 00028235  0x000076da branch  0x00006e4f , 0x00000005 
+ 00028236  0x000076dc ifetch  0x00000004 , 0x00000006 
+ 00028237  0x000076dd istore  0x00000004 , 0x00000005 
+ 00028238  0x000076de loop  0x00006e4c 
+ 00028239  0x000076e0 force  0x00000000 , 0x0000003f 
+ 00028240  0x000076e1 istore  0x00000001 , 0x00000005 
+ 00028241  0x000076e2 deposit  0x00000013 
+ 00028242  0x000076e3 store  0x00000002 , 0x00000275 
+ 00028243  0x000076e5 rtn 
+ 00028244  0x000076f1 bpatchx  0x000000d0 , 0x0000403a 
+ 00028245  0x000076f2 ifetch  0x00000004 , 0x00000006 
+ 00028246  0x000076f3 store  0x00000004 , 0x00000524 
+ 00028247  0x000076f4 increase  0xfffffffc , 0x0000000b 
+ 00028248  0x000076f5 call  0x00006f2e 
+ 00028249  0x000076f6 store  0x00000002 , 0x00000520 
+ 00028250  0x000076f7 increase  0xfffffffe , 0x0000000b 
+ 00028251  0x000076f8 call  0x00007028 
+ 00028252  0x000076f9 branch  0x00006fc4 , 0x00000005 
+ 00028253  0x000076fa compare  0x00000005 , 0x00000011 , 0x000000ff 
+ 00028254  0x000076fc branch  0x00006e62 , 0x00000001 
+ 00028255  0x000076fe arg  0x0000052a , 0x00000005 
+ 00028256  0x000076ff force  0x00000000 , 0x00000007 
+ 00028257  0x00007700 branch  0x00006e71 
+ 00028258  0x00007702 ifetch  0x00000001 , 0x00000006 
+ 00028259  0x00007703 bne  0x0000000a , 0x00006fc4 
+ 00028260  0x00007704 ifetch  0x00000002 , 0x00000006 
+ 00028261  0x00007705 nbranch  0x00006e6f , 0x00000034 
+ 00028262  0x00007706 ifetch  0x00000001 , 0x00000006 
+ 00028263  0x00007707 bne  0x000000ff , 0x00006e6d 
+ 00028264  0x00007708 ifetch  0x00000001 , 0x00000006 
+ 00028265  0x00007709 bne  0x000000ff , 0x00006e6b 
+ 00028266  0x0000770a branch  0x00006eb8 
+ 00028267  0x0000770c increase  0xfffffffb , 0x00000006 
+ 00028268  0x0000770d branch  0x00006e5f 
+ 00028269  0x0000770f increase  0xfffffffc , 0x00000006 
+ 00028270  0x00007710 branch  0x00006e5f 
+ 00028271  0x00007712 increase  0xfffffffd , 0x00000006 
+ 00028272  0x00007713 branch  0x00006e5f 
+ 00028273  0x00007715 ifetch  0x00000001 , 0x00000006 
+ 00028274  0x00007716 beq  0x00000009 , 0x00006e86 
+ 00028275  0x00007717 beq  0x0000000a , 0x00006e74 
+ 00028276  0x00007719 ifetch  0x00000002 , 0x00000006 
+ 00028277  0x0000771a istore  0x00000002 , 0x00000005 
+ 00028278  0x0000771b increase  0x00000001 , 0x00000007 
+ 00028279  0x0000771c byteswap  0x0000003f , 0x00000012 
+ 00028280  0x0000771d ifetch  0x00000002 , 0x00000006 
+ 00028281  0x0000771e byteswap  0x0000003f , 0x0000003f 
+ 00028282  0x00007720 increase  0x00000001 , 0x00000012 
+ 00028283  0x00007721 isub  0x00000012 , 0x0000003e 
+ 00028284  0x00007722 nbranch  0x00006e83 , 0x00000002 
+ 00028285  0x00007723 copy  0x0000003f , 0x00000013 
+ 00028286  0x00007724 byteswap  0x00000012 , 0x0000003f 
+ 00028287  0x00007725 istore  0x00000002 , 0x00000005 
+ 00028288  0x00007726 increase  0x00000001 , 0x00000007 
+ 00028289  0x00007727 copy  0x00000013 , 0x0000003f 
+ 00028290  0x00007728 branch  0x00006e7a 
+ 00028291  0x0000772a increase  0xfffffffb , 0x0000000b 
+ 00028292  0x0000772b increase  0xfffffffb , 0x00000011 
+ 00028293  0x0000772c branch  0x00006e8b 
+ 00028294  0x0000772e ifetch  0x00000002 , 0x00000006 
+ 00028295  0x0000772f istore  0x00000002 , 0x00000005 
+ 00028296  0x00007730 increase  0x00000001 , 0x00000007 
+ 00028297  0x00007731 increase  0xfffffffd , 0x0000000b 
+ 00028298  0x00007732 increase  0xfffffffd , 0x00000011 
+ 00028299  0x00007734 nbranch  0x00006fc4 , 0x00000002 
+ 00028300  0x00007735 nbranch  0x00006e71 , 0x00000005 
+ 00028301  0x00007736 increase  0xffffffff , 0x0000000b 
+ 00028302  0x00007737 nbranch  0x00006fc4 , 0x00000005 
+ 00028303  0x00007739 call  0x000052d0 
+ 00028304  0x0000773a increase  0x0000000a , 0x00000005 
+ 00028305  0x0000773b arg  0x0000052a , 0x00000011 
+ 00028306  0x0000773d copy  0x00000007 , 0x0000003f 
+ 00028307  0x0000773e branch  0x00006ea5 , 0x00000034 
+ 00028308  0x0000773f ifetch  0x00000002 , 0x00000011 
+ 00028309  0x00007740 branch  0x00006ea5 , 0x00000034 
+ 00028310  0x00007741 iforce  0x00000012 
+ 00028311  0x00007742 fetch  0x00000004 , 0x00000524 
+ 00028312  0x00007743 iforce  0x00000002 
+ 00028313  0x00007744 call  0x000070e7 
+ 00028314  0x00007745 copy  0x00000006 , 0x0000003f 
+ 00028315  0x00007746 branch  0x00006ea2 , 0x00000034 
+ 00028316  0x00007747 increase  0xfffffffd , 0x00000006 
+ 00028317  0x00007748 ifetch  0x00000003 , 0x00000006 
+ 00028318  0x00007749 istore  0x00000003 , 0x00000005 
+ 00028319  0x0000774a call  0x0000705b 
+ 00028320  0x0000774b iforce  0x00000039 
+ 00028321  0x0000774c call  0x00007f01 
+ 00028322  0x0000774e increase  0x00000002 , 0x00000011 
+ 00028323  0x0000774f increase  0xffffffff , 0x00000007 
+ 00028324  0x00007750 branch  0x00006e92 
+ 00028325  0x00007753 arg  0x00000005 , 0x00000011 
+ 00028326  0x00007754 call  0x00006f84 
+ 00028327  0x00007755 fetch  0x00000002 , 0x00000275 
+ 00028328  0x00007756 beq  0x0000000b , 0x00007043 
+ 00028329  0x00007757 branch  0x00006f9a 
+ 00028330  0x0000775b ifetch  0x00000001 , 0x00000006 
+ 00028331  0x0000775c beq  0x00000000 , 0x00006eae 
+ 00028332  0x0000775d beq  0x00000001 , 0x00006eb0 
+ 00028333  0x0000775e beq  0x00000002 , 0x00006eb3 
+ 00028334  0x00007760 increase  0xffffffff , 0x0000000b 
+ 00028335  0x00007761 branch  0x00006eb6 
+ 00028336  0x00007763 ifetch  0x00000001 , 0x00000006 
+ 00028337  0x00007764 increase  0xfffffffe , 0x0000000b 
+ 00028338  0x00007765 branch  0x00006eb6 
+ 00028339  0x00007767 ifetch  0x00000002 , 0x00000006 
+ 00028340  0x00007768 byteswap  0x0000003f , 0x0000003f 
+ 00028341  0x00007769 increase  0xfffffffd , 0x0000000b 
+ 00028342  0x0000776b store  0x00000002 , 0x00000519 
+ 00028343  0x0000776c rtn 
+ 00028344  0x0000776f increase  0xfffffffb , 0x0000000b 
+ 00028345  0x00007770 call  0x00006eaa 
+ 00028346  0x00007771 nbranch  0x00006fbe , 0x00000005 
+ 00028347  0x00007772 fetcht  0x00000004 , 0x00000524 
+ 00028348  0x00007773 call  0x000070b1 
+ 00028349  0x00007774 nbranch  0x00006fbb , 0x00000005 
+ 00028350  0x00007775 copy  0x00000006 , 0x00000011 
+ 00028351  0x00007776 call  0x000052d0 
+ 00028352  0x00007777 copy  0x00000011 , 0x00000006 
+ 00028353  0x00007778 increase  0x00000003 , 0x00000005 
+ 00028354  0x00007779 copy  0x00000006 , 0x0000000b 
+ 00028355  0x0000777a call  0x00007062 
+ 00028356  0x0000777b copy  0x0000003f , 0x00000011 
+ 00028357  0x0000777d fetch  0x00000002 , 0x00000519 
+ 00028358  0x0000777e copy  0x0000003f , 0x00000012 
+ 00028359  0x0000777f copy  0x00000011 , 0x0000003f 
+ 00028360  0x00007780 isub  0x00000012 , 0x00000012 
+ 00028361  0x00007781 fetch  0x00000002 , 0x00000520 
+ 00028362  0x00007782 isub  0x00000012 , 0x0000003e 
+ 00028363  0x00007783 nbranch  0x00006ee7 , 0x00000002 
+ 00028364  0x00007785 disable  0x00000028 
+ 00028365  0x00007786 fetch  0x00000002 , 0x00000519 
+ 00028366  0x00007787 branch  0x00006eda , 0x00000034 
+ 00028367  0x00007788 iadd  0x0000000b , 0x00000006 
+ 00028368  0x00007789 increase  0x00000003 , 0x00000012 
+ 00028369  0x0000778a copy  0x00000012 , 0x00000039 
+ 00028370  0x0000778b copy  0x00000039 , 0x0000003f 
+ 00028371  0x0000778c increase  0x00000003 , 0x0000003f 
+ 00028372  0x0000778d byteswap  0x0000003f , 0x0000003f 
+ 00028373  0x0000778e istore  0x00000002 , 0x00000005 
+ 00028374  0x0000778f copy  0x00000039 , 0x0000003f 
+ 00028375  0x00007790 byteswap  0x0000003f , 0x0000003f 
+ 00028376  0x00007791 istore  0x00000002 , 0x00000005 
+ 00028377  0x00007792 branch  0x00006ef5 
+ 00028378  0x00007794 add  0x00000011 , 0x00000006 , 0x00000039 
+ 00028379  0x00007795 branch  0x00006ede , 0x00000028 
+ 00028380  0x00007796 byteswap  0x00000039 , 0x0000003f 
+ 00028381  0x00007797 branch  0x00006ee1 
+ 00028382  0x00007799 copy  0x00000039 , 0x0000003f 
+ 00028383  0x0000779a increase  0x00000002 , 0x0000003f 
+ 00028384  0x0000779b byteswap  0x0000003f , 0x0000003f 
+ 00028385  0x0000779d istore  0x00000002 , 0x00000005 
+ 00028386  0x0000779e increase  0xfffffffd , 0x00000039 
+ 00028387  0x0000779f byteswap  0x00000039 , 0x0000003f 
+ 00028388  0x000077a0 istore  0x00000002 , 0x00000005 
+ 00028389  0x000077a1 copy  0x0000000b , 0x00000006 
+ 00028390  0x000077a2 branch  0x00006ef5 
+ 00028391  0x000077a4 enable  0x00000028 
+ 00028392  0x000077a6 fetch  0x00000002 , 0x00000520 
+ 00028393  0x000077a7 copy  0x0000003f , 0x00000011 
+ 00028394  0x000077a8 copy  0x00000011 , 0x00000039 
+ 00028395  0x000077a9 fetch  0x00000002 , 0x00000519 
+ 00028396  0x000077aa branch  0x00006eda , 0x00000034 
+ 00028397  0x000077ab iadd  0x0000000b , 0x00000006 
+ 00028398  0x000077ac copy  0x00000011 , 0x0000003f 
+ 00028399  0x000077ad increase  0x00000005 , 0x0000003f 
+ 00028400  0x000077ae byteswap  0x0000003f , 0x0000003f 
+ 00028401  0x000077af istore  0x00000002 , 0x00000005 
+ 00028402  0x000077b0 copy  0x00000011 , 0x0000003f 
+ 00028403  0x000077b1 byteswap  0x0000003f , 0x0000003f 
+ 00028404  0x000077b2 istore  0x00000002 , 0x00000005 
+ 00028405  0x000077b4 call  0x00007f01 
+ 00028406  0x000077b5 nbranch  0x00006efe , 0x00000028 
+ 00028407  0x000077b6 force  0x00000002 , 0x0000003f 
+ 00028408  0x000077b7 istore  0x00000001 , 0x00000005 
+ 00028409  0x000077b8 copy  0x00000006 , 0x0000003f 
+ 00028410  0x000077b9 isub  0x0000000b , 0x0000003f 
+ 00028411  0x000077ba byteswap  0x0000003f , 0x0000003f 
+ 00028412  0x000077bb istore  0x00000002 , 0x00000005 
+ 00028413  0x000077bc branch  0x00006f00 
+ 00028414  0x000077be force  0x00000000 , 0x0000003f 
+ 00028415  0x000077bf istore  0x00000001 , 0x00000005 
+ 00028416  0x000077c1 arg  0x00000005 , 0x00000011 
+ 00028417  0x000077c2 branch  0x00006fb0 
+ 00028418  0x000077ce bpatchx  0x000000d1 , 0x0000403a 
+ 00028419  0x000077cf call  0x00006fd0 
+ 00028420  0x000077d0 compare  0x000000ff , 0x00000002 , 0x000000ff 
+ 00028421  0x000077d1 branch  0x00006fc4 , 0x00000001 
+ 00028422  0x000077d2 call  0x00006f2e 
+ 00028423  0x000077d3 store  0x00000002 , 0x00000520 
+ 00028424  0x000077d4 increase  0xfffffffe , 0x0000000b 
+ 00028425  0x000077d5 call  0x00007028 
+ 00028426  0x000077d6 arg  0x0000052a , 0x00000005 
+ 00028427  0x000077d7 force  0x00000000 , 0x00000007 
+ 00028428  0x000077d9 ifetch  0x00000001 , 0x00000006 
+ 00028429  0x000077da beq  0x0000000a , 0x00006f36 
+ 00028430  0x000077db ifetch  0x00000002 , 0x00000006 
+ 00028431  0x000077dc istore  0x00000002 , 0x00000005 
+ 00028432  0x000077dd increase  0x00000001 , 0x00000007 
+ 00028433  0x000077de increase  0xfffffffd , 0x0000000b 
+ 00028434  0x000077df increase  0xfffffffd , 0x00000011 
+ 00028435  0x000077e0 nbranch  0x00006fc4 , 0x00000002 
+ 00028436  0x000077e1 nbranch  0x00006f0c , 0x00000005 
+ 00028437  0x000077e2 increase  0xffffffff , 0x0000000b 
+ 00028438  0x000077e3 nbranch  0x00006fc4 , 0x00000005 
+ 00028439  0x000077e4 call  0x000052d0 
+ 00028440  0x000077e5 increase  0x0000000d , 0x00000005 
+ 00028441  0x000077e6 fetch  0x00000002 , 0x00000511 
+ 00028442  0x000077e7 iforce  0x00000013 
+ 00028443  0x000077e8 arg  0x0000052a , 0x00000011 
+ 00028444  0x000077ea ifetch  0x00000002 , 0x00000011 
+ 00028445  0x000077eb branch  0x00006f29 , 0x00000034 
+ 00028446  0x000077ec iforce  0x00000012 
+ 00028447  0x000077ed call  0x000070c6 
+ 00028448  0x000077ee branch  0x00006f27 , 0x00000034 
+ 00028449  0x000077ef increase  0xfffffffd , 0x00000006 
+ 00028450  0x000077f0 ifetch  0x00000003 , 0x00000006 
+ 00028451  0x000077f1 istore  0x00000003 , 0x00000005 
+ 00028452  0x000077f2 call  0x0000705b 
+ 00028453  0x000077f3 iforce  0x00000039 
+ 00028454  0x000077f4 call  0x00007f01 
+ 00028455  0x000077f6 increase  0x00000002 , 0x00000011 
+ 00028456  0x000077f7 branch  0x00006f1c 
+ 00028457  0x000077fa call  0x00006f83 
+ 00028458  0x000077fb fetch  0x00000002 , 0x00000275 
+ 00028459  0x000077fc beq  0x0000000e , 0x00007046 
+ 00028460  0x000077fd call  0x00006f9a 
+ 00028461  0x000077fe branch  0x00006f9a 
+ 00028462  0x00007802 ifetch  0x00000002 , 0x00000006 
+ 00028463  0x00007803 byteswap  0x0000003f , 0x0000003f 
+ 00028464  0x00007804 increase  0xfffffffd , 0x0000003f 
+ 00028465  0x00007805 arg  0x000000c8 , 0x00000002 
+ 00028466  0x00007806 isub  0x00000002 , 0x0000003e 
+ 00028467  0x00007807 nrtn  0x00000002 
+ 00028468  0x00007808 setarg  0x000000c8 
+ 00028469  0x00007809 rtn 
+ 00028470  0x0000780d increase  0x00000004 , 0x00000006 
+ 00028471  0x0000780e increase  0xfffffffb , 0x0000000b 
+ 00028472  0x0000780f increase  0xfffffffb , 0x00000011 
+ 00028473  0x00007810 nbranch  0x00006fc4 , 0x00000005 
+ 00028474  0x00007811 call  0x00006eaa 
+ 00028475  0x00007812 nbranch  0x00006fbe , 0x00000005 
+ 00028476  0x00007813 arg  0x00000511 , 0x0000000b 
+ 00028477  0x00007814 call  0x00007082 
+ 00028478  0x00007815 deposit  0x00000007 
+ 00028479  0x00007816 branch  0x00007046 , 0x00000034 
+ 00028480  0x00007817 store  0x00000001 , 0x0000054e 
+ 00028481  0x00007819 copy  0x00000012 , 0x0000003f 
+ 00028482  0x0000781a store  0x00000002 , 0x0000054c 
+ 00028483  0x0000781b arg  0x00000000 , 0x00000007 
+ 00028484  0x0000781c arg  0x00000000 , 0x00000011 
+ 00028485  0x0000781d call  0x000052d0 
+ 00028486  0x0000781e increase  0x0000000a , 0x00000005 
+ 00028487  0x00007820 call  0x00006f6c 
+ 00028488  0x00007821 nbranch  0x00002a8c , 0x00000028 
+ 00028489  0x00007822 copy  0x00000006 , 0x0000000b 
+ 00028490  0x00007823 copy  0x0000003f , 0x00000013 
+ 00028491  0x00007824 iadd  0x00000011 , 0x00000011 
+ 00028492  0x00007827 fetch  0x00000002 , 0x00000519 
+ 00028493  0x00007828 copy  0x0000003f , 0x00000012 
+ 00028494  0x00007829 branch  0x00006f75 , 0x00000034 
+ 00028495  0x0000782b copy  0x00000011 , 0x0000003f 
+ 00028496  0x0000782c isub  0x00000012 , 0x00000012 
+ 00028497  0x0000782d branch  0x00006f67 , 0x00000005 
+ 00028498  0x0000782e nbranch  0x00006f67 , 0x00000002 
+ 00028499  0x0000782f fetch  0x00000002 , 0x00000520 
+ 00028500  0x00007830 isub  0x00000012 , 0x0000003e 
+ 00028501  0x00007831 branch  0x00006f5e , 0x00000005 
+ 00028502  0x00007832 nbranch  0x00006f5e , 0x00000002 
+ 00028503  0x00007836 copy  0x00000012 , 0x00000039 
+ 00028504  0x00007837 call  0x00006f61 
+ 00028505  0x00007838 fetch  0x00000001 , 0x0000054e 
+ 00028506  0x00007839 increase  0x00000001 , 0x00000007 
+ 00028507  0x0000783a isub  0x00000007 , 0x0000003e 
+ 00028508  0x0000783b branch  0x00006f83 , 0x00000005 
+ 00028509  0x0000783c branch  0x00006fa0 
+ 00028510  0x0000783f copy  0x0000003f , 0x00000039 
+ 00028511  0x00007840 call  0x00006f61 
+ 00028512  0x00007841 branch  0x00006fa0 
+ 00028513  0x00007844 increase  0xfffffffd , 0x00000005 
+ 00028514  0x00007845 copy  0x00000039 , 0x00000002 
+ 00028515  0x00007846 copy  0x00000013 , 0x0000003f 
+ 00028516  0x00007847 isub  0x00000012 , 0x0000003f 
+ 00028517  0x00007848 iadd  0x0000000b , 0x00000006 
+ 00028518  0x00007849 branch  0x00007f01 
+ 00028519  0x0000784c fetch  0x00000001 , 0x0000054e 
+ 00028520  0x0000784d increase  0x00000001 , 0x00000007 
+ 00028521  0x0000784e isub  0x00000007 , 0x0000003e 
+ 00028522  0x0000784f rtn  0x00000005 
+ 00028523  0x00007850 branch  0x00006f47 
+ 00028524  0x00007853 call  0x00007fe9 
+ 00028525  0x00007854 arg  0x0000052a , 0x00000006 
+ 00028526  0x00007855 lshift2  0x00000007 , 0x0000003f 
+ 00028527  0x00007856 iadd  0x00000006 , 0x00000006 
+ 00028528  0x00007857 ifetcht  0x00000004 , 0x00000006 
+ 00028529  0x00007858 call  0x000070b1 
+ 00028530  0x00007859 nrtn  0x00000005 
+ 00028531  0x0000785a call  0x0000705b 
+ 00028532  0x0000785b branch  0x00007fe7 
+ 00028533  0x0000785e fetch  0x00000002 , 0x00000520 
+ 00028534  0x0000785f isub  0x00000011 , 0x0000003e 
+ 00028535  0x00007860 nbranch  0x00006f8f , 0x00000002 
+ 00028536  0x00007861 copy  0x00000011 , 0x00000039 
+ 00028537  0x00007862 copy  0x00000039 , 0x00000002 
+ 00028538  0x00007863 copy  0x0000000b , 0x00000006 
+ 00028539  0x00007864 call  0x00007f01 
+ 00028540  0x00007865 fetch  0x00000002 , 0x0000054c 
+ 00028541  0x00007866 isub  0x00000011 , 0x0000003e 
+ 00028542  0x00007867 branch  0x00006f81 , 0x00000005 
+ 00028543  0x00007869 call  0x00006fa0 
+ 00028544  0x0000786a branch  0x00006f94 
+ 00028545  0x0000786d call  0x00006f83 
+ 00028546  0x0000786e branch  0x00006f94 
+ 00028547  0x00007871 arg  0x00000007 , 0x00000011 
+ 00028548  0x00007873 force  0x00000000 , 0x0000003f 
+ 00028549  0x00007874 istore  0x00000001 , 0x00000005 
+ 00028550  0x00007875 call  0x00006fb0 
+ 00028551  0x00007876 fetcht  0x00000002 , 0x00000275 
+ 00028552  0x00007877 increase  0xfffffffb , 0x00000002 
+ 00028553  0x00007878 byteswap  0x00000002 , 0x0000003f 
+ 00028554  0x00007879 istore  0x00000002 , 0x00000005 
+ 00028555  0x0000787a increase  0xfffffffd , 0x00000002 
+ 00028556  0x0000787b byteswap  0x00000002 , 0x0000003f 
+ 00028557  0x0000787c istore  0x00000002 , 0x00000005 
+ 00028558  0x0000787d rtn 
+ 00028559  0x00007880 copy  0x0000003f , 0x00000039 
+ 00028560  0x00007881 copy  0x00000039 , 0x00000002 
+ 00028561  0x00007882 copy  0x0000000b , 0x00000006 
+ 00028562  0x00007883 call  0x00007f01 
+ 00028563  0x00007884 call  0x00006fa0 
+ 00028564  0x00007886 setarg  0x00000036 
+ 00028565  0x00007887 istore  0x00000001 , 0x00000005 
+ 00028566  0x00007888 fetch  0x00000002 , 0x0000054c 
+ 00028567  0x00007889 byteswap  0x0000003f , 0x0000003f 
+ 00028568  0x0000788a istore  0x00000002 , 0x00000005 
+ 00028569  0x0000788b rtn 
+ 00028570  0x0000788e setarg  0x00000036 
+ 00028571  0x0000788f istore  0x00000001 , 0x00000005 
+ 00028572  0x00007890 increase  0xfffffffd , 0x00000002 
+ 00028573  0x00007891 byteswap  0x00000002 , 0x0000003f 
+ 00028574  0x00007892 istore  0x00000002 , 0x00000005 
+ 00028575  0x00007893 rtn 
+ 00028576  0x00007896 arg  0x00000007 , 0x00000011 
+ 00028577  0x00007897 setarg  0x00000002 
+ 00028578  0x00007898 istore  0x00000001 , 0x00000005 
+ 00028579  0x00007899 fetch  0x00000002 , 0x00000519 
+ 00028580  0x0000789a iadd  0x00000002 , 0x00000002 
+ 00028581  0x0000789b byteswap  0x00000002 , 0x0000003f 
+ 00028582  0x0000789c istore  0x00000002 , 0x00000005 
+ 00028583  0x0000789d call  0x00006fb0 
+ 00028584  0x0000789e fetcht  0x00000002 , 0x00000275 
+ 00028585  0x0000789f increase  0xfffffffb , 0x00000002 
+ 00028586  0x000078a0 byteswap  0x00000002 , 0x0000003f 
+ 00028587  0x000078a1 istore  0x00000002 , 0x00000005 
+ 00028588  0x000078a2 increase  0xfffffffb , 0x00000002 
+ 00028589  0x000078a3 byteswap  0x00000002 , 0x0000003f 
+ 00028590  0x000078a4 istore  0x00000002 , 0x00000005 
+ 00028591  0x000078a5 rtn 
+ 00028592  0x000078a8 fetch  0x00000002 , 0x00000273 
+ 00028593  0x000078a9 isub  0x00000005 , 0x0000003f 
+ 00028594  0x000078aa sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00028595  0x000078ab store  0x00000002 , 0x00000275 
+ 00028596  0x000078ac call  0x000052d0 
+ 00028597  0x000078ad copy  0x00000011 , 0x0000003f 
+ 00028598  0x000078ae istore  0x00000001 , 0x00000005 
+ 00028599  0x000078af fetch  0x00000002 , 0x0000051c 
+ 00028600  0x000078b0 istore  0x00000002 , 0x00000005 
+ 00028601  0x000078b1 rtn 
+ 00028602  0x000078c2 rtn 
+ 00028603  0x000078e4 setarg  0x00000200 
+ 00028604  0x000078e5 store  0x00000002 , 0x0000054a 
+ 00028605  0x000078e6 branch  0x00006fc6 
+ 00028606  0x000078e8 setarg  0x00000400 
+ 00028607  0x000078e9 store  0x00000002 , 0x0000054a 
+ 00028608  0x000078ea branch  0x00006fc6 
+ 00028609  0x000078ec setarg  0x00000600 
+ 00028610  0x000078ed store  0x00000002 , 0x0000054a 
+ 00028611  0x000078ee branch  0x00006fc6 
+ 00028612  0x000078f0 setarg  0x00000300 
+ 00028613  0x000078f1 store  0x00000002 , 0x0000054a 
+ 00028614  0x000078f3 call  0x000052d0 
+ 00028615  0x000078f4 istore  0x00000001 , 0x00000005 
+ 00028616  0x000078f5 fetch  0x00000002 , 0x0000051c 
+ 00028617  0x000078f6 istore  0x00000002 , 0x00000005 
+ 00028618  0x000078f7 setarg  0x00000200 
+ 00028619  0x000078f8 istore  0x00000002 , 0x00000005 
+ 00028620  0x000078f9 fetch  0x00000002 , 0x0000054a 
+ 00028621  0x000078fa istore  0x00000002 , 0x00000005 
+ 00028622  0x000078fb jam  0x00000007 , 0x00000275 
+ 00028623  0x000078fc rtn 
+ 00028624  0x00007902 arg  0x00000000 , 0x00000012 
+ 00028625  0x00007903 force  0x00000000 , 0x00000002 
+ 00028626  0x00007904 arg  0x00000511 , 0x00000005 
+ 00028627  0x00007905 call  0x00007028 
+ 00028628  0x00007906 branch  0x00007026 , 0x00000005 
+ 00028629  0x00007908 increase  0x00000001 , 0x00000012 
+ 00028630  0x00007909 ifetch  0x00000001 , 0x00000006 
+ 00028631  0x0000790a increase  0xffffffff , 0x00000011 
+ 00028632  0x0000790b increase  0xffffffff , 0x0000000b 
+ 00028633  0x0000790c compare  0x00000018 , 0x0000003f , 0x000000f8 
+ 00028634  0x0000790d nbranch  0x00007026 , 0x00000001 
+ 00028635  0x0000790e compare  0x00000004 , 0x0000003f , 0x00000007 
+ 00028636  0x0000790f nbranch  0x00006ff3 , 0x00000001 
+ 00028637  0x00007910 force  0x00000001 , 0x00000002 
+ 00028638  0x00007912 ifetch  0x00000001 , 0x00000006 
+ 00028639  0x00007913 increase  0xffffffff , 0x00000011 
+ 00028640  0x00007914 increase  0xffffffff , 0x0000000b 
+ 00028641  0x00007915 bne  0x00000000 , 0x00006fe7 
+ 00028642  0x00007916 ifetch  0x00000001 , 0x00000006 
+ 00028643  0x00007917 increase  0xffffffff , 0x00000011 
+ 00028644  0x00007918 increase  0xffffffff , 0x0000000b 
+ 00028645  0x00007919 beq  0x00000000 , 0x00006ff8 
+ 00028646  0x0000791a branch  0x00006fea 
+ 00028647  0x0000791c increase  0x00000001 , 0x00000006 
+ 00028648  0x0000791d increase  0xffffffff , 0x00000011 
+ 00028649  0x0000791e increase  0xffffffff , 0x0000000b 
+ 00028650  0x00007920 increase  0x00000002 , 0x00000006 
+ 00028651  0x00007921 increase  0xfffffffe , 0x00000011 
+ 00028652  0x00007922 increase  0xfffffffe , 0x0000000b 
+ 00028653  0x00007923 compare  0x00000000 , 0x00000002 , 0x000000ff 
+ 00028654  0x00007924 branch  0x00007020 , 0x00000001 
+ 00028655  0x00007925 increase  0x0000000c , 0x00000006 
+ 00028656  0x00007926 increase  0xfffffff4 , 0x00000011 
+ 00028657  0x00007927 increase  0xfffffff4 , 0x0000000b 
+ 00028658  0x00007928 branch  0x00007020 
+ 00028659  0x0000792a compare  0x00000002 , 0x0000003f , 0x00000007 
+ 00028660  0x0000792b nbranch  0x00006ff6 , 0x00000001 
+ 00028661  0x0000792c branch  0x00006fde 
+ 00028662  0x0000792e compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00028663  0x0000792f nbranch  0x00007026 , 0x00000001 
+ 00028664  0x00007931 increase  0xfffffffe , 0x00000011 
+ 00028665  0x00007932 increase  0xfffffffe , 0x0000000b 
+ 00028666  0x00007933 ifetch  0x00000002 , 0x00000006 
+ 00028667  0x00007934 sub  0x00000012 , 0x00000004 , 0x0000003e 
+ 00028668  0x00007935 branch  0x00006ffe , 0x00000005 
+ 00028669  0x00007936 istore  0x00000002 , 0x00000005 
+ 00028670  0x00007938 compare  0x00000000 , 0x00000002 , 0x000000ff 
+ 00028671  0x00007939 branch  0x00007020 , 0x00000001 
+ 00028672  0x0000793a copy  0x00000006 , 0x00000002 
+ 00028673  0x0000793b ifetch  0x00000001 , 0x00000006 
+ 00028674  0x0000793c bne  0x00000000 , 0x00007019 
+ 00028675  0x0000793d ifetch  0x00000001 , 0x00000006 
+ 00028676  0x0000793e bne  0x00000000 , 0x00007019 
+ 00028677  0x0000793f ifetch  0x00000001 , 0x00000006 
+ 00028678  0x00007940 bne  0x00000010 , 0x00007019 
+ 00028679  0x00007941 ifetch  0x00000001 , 0x00000006 
+ 00028680  0x00007942 bne  0x00000000 , 0x00007019 
+ 00028681  0x00007943 ifetch  0x00000001 , 0x00000006 
+ 00028682  0x00007944 bne  0x00000080 , 0x00007019 
+ 00028683  0x00007945 ifetch  0x00000001 , 0x00000006 
+ 00028684  0x00007946 bne  0x00000000 , 0x00007019 
+ 00028685  0x00007947 ifetch  0x00000001 , 0x00000006 
+ 00028686  0x00007948 bne  0x00000000 , 0x00007019 
+ 00028687  0x00007949 ifetch  0x00000001 , 0x00000006 
+ 00028688  0x0000794a bne  0x00000080 , 0x00007019 
+ 00028689  0x0000794b ifetch  0x00000001 , 0x00000006 
+ 00028690  0x0000794c bne  0x0000005f , 0x00007019 
+ 00028691  0x0000794d ifetch  0x00000001 , 0x00000006 
+ 00028692  0x0000794e bne  0x0000009b , 0x00007019 
+ 00028693  0x0000794f ifetch  0x00000001 , 0x00000006 
+ 00028694  0x00007950 bne  0x00000034 , 0x00007019 
+ 00028695  0x00007951 ifetch  0x00000001 , 0x00000006 
+ 00028696  0x00007952 beq  0x000000fb , 0x0000701e 
+ 00028697  0x00007954 copy  0x00000002 , 0x00000006 
+ 00028698  0x00007956 increase  0x0000000c , 0x00000006 
+ 00028699  0x00007957 force  0x00000000 , 0x00000007 
+ 00028700  0x00007958 force  0x00000000 , 0x00000002 
+ 00028701  0x00007959 branch  0x0000701e 
+ 00028702  0x0000795c increase  0xfffffff4 , 0x0000000b 
+ 00028703  0x0000795d increase  0xfffffff4 , 0x00000011 
+ 00028704  0x0000795f force  0x00000000 , 0x00000002 
+ 00028705  0x00007960 compare  0x00000000 , 0x00000011 , 0x000000ff 
+ 00028706  0x00007961 nbranch  0x00006fd5 , 0x00000001 
+ 00028707  0x00007962 force  0x00000000 , 0x0000003f 
+ 00028708  0x00007963 istore  0x00000002 , 0x00000005 
+ 00028709  0x00007964 rtn 
+ 00028710  0x00007966 arg  0x000000ff , 0x00000002 
+ 00028711  0x00007967 rtn 
+ 00028712  0x00007972 bpatchx  0x000000d4 , 0x0000403a 
+ 00028713  0x00007973 ifetch  0x00000001 , 0x00000006 
+ 00028714  0x00007974 increase  0xffffffff , 0x0000000b 
+ 00028715  0x00007975 compare  0x00000030 , 0x0000003f , 0x000000f8 
+ 00028716  0x00007976 nbranch  0x0000703e , 0x00000001 
+ 00028717  0x00007977 compare  0x00000007 , 0x0000003f , 0x00000007 
+ 00028718  0x00007978 branch  0x00007037 , 0x00000001 
+ 00028719  0x00007979 compare  0x00000006 , 0x0000003f , 0x00000007 
+ 00028720  0x0000797a branch  0x00007039 , 0x00000001 
+ 00028721  0x0000797b compare  0x00000005 , 0x0000003f , 0x00000007 
+ 00028722  0x0000797c nbranch  0x0000703e , 0x00000001 
+ 00028723  0x0000797e ifetch  0x00000001 , 0x00000006 
+ 00028724  0x0000797f copy  0x0000003f , 0x00000011 
+ 00028725  0x00007980 increase  0xffffffff , 0x0000000b 
+ 00028726  0x00007981 branch  0x0000703c 
+ 00028727  0x00007983 increase  0x00000002 , 0x00000006 
+ 00028728  0x00007984 increase  0xfffffffe , 0x0000000b 
+ 00028729  0x00007986 ifetch  0x00000002 , 0x00000006 
+ 00028730  0x00007987 byteswap  0x0000003f , 0x00000011 
+ 00028731  0x00007988 increase  0xfffffffe , 0x0000000b 
+ 00028732  0x0000798a force  0x00000001 , 0x0000003f 
+ 00028733  0x0000798b rtn 
+ 00028734  0x0000798d force  0x00000000 , 0x0000003f 
+ 00028735  0x0000798e rtn 
+ 00028736  0x00007999 setarg  0x00000003 
+ 00028737  0x0000799a store  0x00000001 , 0x0000051b 
+ 00028738  0x0000799b branch  0x00007048 
+ 00028739  0x0000799d setarg  0x00000005 
+ 00028740  0x0000799e store  0x00000001 , 0x0000051b 
+ 00028741  0x0000799f branch  0x00007048 
+ 00028742  0x000079a1 setarg  0x00000007 
+ 00028743  0x000079a2 store  0x00000001 , 0x0000051b 
+ 00028744  0x000079a4 call  0x000052d0 
+ 00028745  0x000079a7 fetch  0x00000001 , 0x0000051b 
+ 00028746  0x000079a8 copy  0x0000003f , 0x00000012 
+ 00028747  0x000079a9 istore  0x00000001 , 0x00000005 
+ 00028748  0x000079aa fetch  0x00000002 , 0x0000051c 
+ 00028749  0x000079ab istore  0x00000002 , 0x00000005 
+ 00028750  0x000079ac setarg  0x00000500 
+ 00028751  0x000079ad istore  0x00000002 , 0x00000005 
+ 00028752  0x000079ae compare  0x00000005 , 0x00000012 , 0x000000ff 
+ 00028753  0x000079af branch  0x00007057 , 0x00000001 
+ 00028754  0x000079b0 compare  0x00000007 , 0x00000012 , 0x000000ff 
+ 00028755  0x000079b1 branch  0x00007057 , 0x00000001 
+ 00028756  0x000079b2 setarg  0x00000000 
+ 00028757  0x000079b3 istore  0x00000005 , 0x00000005 
+ 00028758  0x000079b4 branch  0x00007059 
+ 00028759  0x000079b7 setarg  0x00350200 
+ 00028760  0x000079b8 istore  0x00000005 , 0x00000005 
+ 00028761  0x000079ba jam  0x0000000a , 0x00000275 
+ 00028762  0x000079bb rtn 
+ 00028763  0x000079bf call  0x00007ea2 
+ 00028764  0x000079c0 call  0x00007ea5 
+ 00028765  0x000079c1 call  0x00007062 
+ 00028766  0x000079c2 call  0x00007e9c 
+ 00028767  0x000079c3 call  0x00007e9f 
+ 00028768  0x000079c4 copy  0x00000002 , 0x0000003f 
+ 00028769  0x000079c5 rtn 
+ 00028770  0x000079c9 ifetch  0x00000001 , 0x00000006 
+ 00028771  0x000079ca and  0x0000003f , 0x00000007 , 0x00000039 
+ 00028772  0x000079cb rshift3  0x0000003f , 0x0000003f 
+ 00028773  0x000079cc bne  0x00000000 , 0x0000706c 
+ 00028774  0x000079ce force  0x00000001 , 0x0000003f 
+ 00028775  0x000079cf force  0x00000001 , 0x00000002 
+ 00028776  0x000079d0 rtn 
+ 00028777  0x000079d3 call  0x00007e76 
+ 00028778  0x000079d4 add  0x0000003f , 0x00000001 , 0x00000002 
+ 00028779  0x000079d5 rtn 
+ 00028780  0x000079d7 deposit  0x00000039 
+ 00028781  0x000079d8 sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00028782  0x000079d9 branch  0x00007069 , 0x00000002 
+ 00028783  0x000079da beq  0x00000005 , 0x00007073 
+ 00028784  0x000079db beq  0x00000006 , 0x00007076 
+ 00028785  0x000079dc beq  0x00000007 , 0x0000707a 
+ 00028786  0x000079dd rtn 
+ 00028787  0x000079e0 ifetch  0x00000001 , 0x00000006 
+ 00028788  0x000079e1 add  0x0000003f , 0x00000002 , 0x00000002 
+ 00028789  0x000079e2 rtn 
+ 00028790  0x000079e4 ifetch  0x00000002 , 0x00000006 
+ 00028791  0x000079e5 byteswap  0x0000003f , 0x0000003f 
+ 00028792  0x000079e6 add  0x0000003f , 0x00000003 , 0x00000002 
+ 00028793  0x000079e7 rtn 
+ 00028794  0x000079e9 ifetch  0x00000002 , 0x00000006 
+ 00028795  0x000079ea byteswap  0x0000003f , 0x0000003f 
+ 00028796  0x000079eb ifetcht  0x00000002 , 0x00000006 
+ 00028797  0x000079ec byteswap  0x00000002 , 0x00000002 
+ 00028798  0x000079ed lshift16  0x00000002 , 0x00000002 
+ 00028799  0x000079ee iadd  0x00000002 , 0x0000003f 
+ 00028800  0x000079ef add  0x0000003f , 0x00000005 , 0x00000002 
+ 00028801  0x000079f0 rtn 
+ 00028802  0x000079f7 bpatchx  0x000000d5 , 0x0000403a 
+ 00028803  0x000079f8 force  0x00000000 , 0x00000007 
+ 00028804  0x000079f9 arg  0x00000000 , 0x00000012 
+ 00028805  0x000079fa arg  0x0000052a , 0x00000005 
+ 00028806  0x000079fc ifetch  0x00000002 , 0x0000000b 
+ 00028807  0x000079fd rtn  0x00000034 
+ 00028808  0x000079fe call  0x0000708d 
+ 00028809  0x000079ff copy  0x00000007 , 0x0000003f 
+ 00028810  0x00007a00 rtneq  0x00000007 
+ 00028811  0x00007a01 increase  0x00000002 , 0x0000000b 
+ 00028812  0x00007a02 branch  0x00007086 
+ 00028813  0x00007a06 iforce  0x00000013 
+ 00028814  0x00007a08 fetch  0x00000002 , 0x00004575 
+ 00028815  0x00007a09 iforce  0x00000006 
+ 00028816  0x00007a0b copy  0x00000007 , 0x0000003f 
+ 00028817  0x00007a0c rtneq  0x00000007 
+ 00028818  0x00007a0d disable  0x00000028 
+ 00028819  0x00007a0e ifetch  0x00000001 , 0x00000006 
+ 00028820  0x00007a0f rtn  0x00000034 
+ 00028821  0x00007a10 iforce  0x00000039 
+ 00028822  0x00007a12 ifetch  0x00000002 , 0x00000006 
+ 00028823  0x00007a13 isub  0x00000013 , 0x0000003e 
+ 00028824  0x00007a14 nbranch  0x0000709a , 0x00000005 
+ 00028825  0x00007a15 enable  0x00000028 
+ 00028826  0x00007a17 loop  0x00007096 
+ 00028827  0x00007a18 ifetcht  0x00000004 , 0x00000006 
+ 00028828  0x00007a19 copy  0x00000006 , 0x00000011 
+ 00028829  0x00007a1a nbranch  0x000070ad , 0x00000028 
+ 00028830  0x00007a1b arg  0x0000052a , 0x00000006 
+ 00028831  0x00007a1c arg  0x00000007 , 0x00000039 
+ 00028832  0x00007a1e ifetch  0x00000004 , 0x00000006 
+ 00028833  0x00007a1f branch  0x000070a6 , 0x00000034 
+ 00028834  0x00007a20 isub  0x00000002 , 0x0000003e 
+ 00028835  0x00007a21 branch  0x000070ad , 0x00000005 
+ 00028836  0x00007a22 loop  0x000070a0 
+ 00028837  0x00007a23 rtn 
+ 00028838  0x00007a25 istoret  0x00000004 , 0x00000005 
+ 00028839  0x00007a26 increase  0x00000001 , 0x00000007 
+ 00028840  0x00007a27 copy  0x00000011 , 0x00000006 
+ 00028841  0x00007a28 call  0x0000705b 
+ 00028842  0x00007a29 iadd  0x00000012 , 0x00000012 
+ 00028843  0x00007a2a iadd  0x00000006 , 0x00000006 
+ 00028844  0x00007a2b branch  0x00007090 
+ 00028845  0x00007a2d copy  0x00000011 , 0x00000006 
+ 00028846  0x00007a2e call  0x00007062 
+ 00028847  0x00007a2f iadd  0x00000006 , 0x00000006 
+ 00028848  0x00007a30 branch  0x00007090 
+ 00028849  0x00007a37 bpatchx  0x000000d6 , 0x0000403a 
+ 00028850  0x00007a38 fetch  0x00000002 , 0x00004575 
+ 00028851  0x00007a39 iforce  0x00000006 
+ 00028852  0x00007a3b ifetch  0x00000001 , 0x00000006 
+ 00028853  0x00007a3c branch  0x00007fe3 , 0x00000034 
+ 00028854  0x00007a3d lshift  0x0000003f , 0x0000003f 
+ 00028855  0x00007a3e iadd  0x00000006 , 0x00000006 
+ 00028856  0x00007a3f ifetch  0x00000004 , 0x00000006 
+ 00028857  0x00007a40 isub  0x00000002 , 0x0000003e 
+ 00028858  0x00007a41 rtn  0x00000005 
+ 00028859  0x00007a42 deposit  0x00000005 
+ 00028860  0x00007a43 store  0x00000002 , 0x00000abb 
+ 00028861  0x00007a44 storet  0x00000008 , 0x00000aa2 
+ 00028862  0x00007a45 call  0x00007062 
+ 00028863  0x00007a46 iadd  0x00000006 , 0x00000006 
+ 00028864  0x00007a47 copy  0x00000006 , 0x0000003f 
+ 00028865  0x00007a48 fetcht  0x00000002 , 0x00000abb 
+ 00028866  0x00007a49 copy  0x00000002 , 0x00000005 
+ 00028867  0x00007a4a fetcht  0x00000008 , 0x00000aa2 
+ 00028868  0x00007a4b copy  0x0000003f , 0x00000006 
+ 00028869  0x00007a4c branch  0x000070b4 
+ 00028870  0x00007a53 bpatchx  0x000000d7 , 0x0000403a 
+ 00028871  0x00007a54 fetch  0x00000002 , 0x00004575 
+ 00028872  0x00007a55 iforce  0x00000006 
+ 00028873  0x00007a57 ifetch  0x00000001 , 0x00000006 
+ 00028874  0x00007a58 branch  0x000070e4 , 0x00000034 
+ 00028875  0x00007a59 iforce  0x00000039 
+ 00028876  0x00007a5b ifetch  0x00000002 , 0x00000006 
+ 00028877  0x00007a5c isub  0x00000013 , 0x0000003e 
+ 00028878  0x00007a5d branch  0x000070d4 , 0x00000005 
+ 00028879  0x00007a5e loop  0x000070cc 
+ 00028880  0x00007a5f increase  0x00000004 , 0x00000006 
+ 00028881  0x00007a60 call  0x00007062 
+ 00028882  0x00007a61 iadd  0x00000006 , 0x00000006 
+ 00028883  0x00007a62 branch  0x000070c9 
+ 00028884  0x00007a64 increase  0xffffffff , 0x00000039 
+ 00028885  0x00007a65 lshift  0x00000039 , 0x0000003f 
+ 00028886  0x00007a66 iadd  0x00000006 , 0x00000006 
+ 00028887  0x00007a67 increase  0x00000004 , 0x00000006 
+ 00028888  0x00007a68 call  0x00007062 
+ 00028889  0x00007a69 iadd  0x00000006 , 0x0000000b 
+ 00028890  0x00007a6b increase  0x00000001 , 0x00000006 
+ 00028891  0x00007a6c ifetch  0x00000002 , 0x00000006 
+ 00028892  0x00007a6d isub  0x00000012 , 0x0000003e 
+ 00028893  0x00007a71 branch  0x00007fef , 0x00000005 
+ 00028894  0x00007a72 call  0x0000705b 
+ 00028895  0x00007a73 iadd  0x00000006 , 0x00000006 
+ 00028896  0x00007a74 deposit  0x0000000b 
+ 00028897  0x00007a75 isub  0x00000006 , 0x0000003e 
+ 00028898  0x00007a76 branch  0x000070e4 , 0x00000005 
+ 00028899  0x00007a77 branch  0x000070da 
+ 00028900  0x00007a79 force  0x00000000 , 0x00000006 
+ 00028901  0x00007a7a force  0x00000000 , 0x0000003f 
+ 00028902  0x00007a7b rtn 
+ 00028903  0x00007a82 bpatchx  0x000000d8 , 0x0000403b 
+ 00028904  0x00007a83 fetch  0x00000002 , 0x00004575 
+ 00028905  0x00007a84 iforce  0x00000006 
+ 00028906  0x00007a86 ifetch  0x00000001 , 0x00000006 
+ 00028907  0x00007a87 branch  0x00007100 , 0x00000034 
+ 00028908  0x00007a88 lshift  0x0000003f , 0x0000003f 
+ 00028909  0x00007a89 iadd  0x00000006 , 0x00000006 
+ 00028910  0x00007a8a ifetch  0x00000004 , 0x00000006 
+ 00028911  0x00007a8b isub  0x00000002 , 0x0000003e 
+ 00028912  0x00007a8c branch  0x000070f4 , 0x00000005 
+ 00028913  0x00007a8d call  0x00007062 
+ 00028914  0x00007a8e iadd  0x00000006 , 0x00000006 
+ 00028915  0x00007a8f branch  0x000070ea 
+ 00028916  0x00007a91 call  0x00007062 
+ 00028917  0x00007a92 iadd  0x00000006 , 0x0000000b 
+ 00028918  0x00007a94 increase  0x00000001 , 0x00000006 
+ 00028919  0x00007a95 ifetch  0x00000002 , 0x00000006 
+ 00028920  0x00007a96 isub  0x00000012 , 0x0000003e 
+ 00028921  0x00007a97 rtn  0x00000005 
+ 00028922  0x00007a98 call  0x0000705b 
+ 00028923  0x00007a99 iadd  0x00000006 , 0x00000006 
+ 00028924  0x00007a9a deposit  0x0000000b 
+ 00028925  0x00007a9b isub  0x00000006 , 0x0000003e 
+ 00028926  0x00007a9c branch  0x00007100 , 0x00000005 
+ 00028927  0x00007a9d branch  0x000070f6 
+ 00028928  0x00007a9f force  0x00000000 , 0x00000006 
+ 00028929  0x00007aa0 rtn 
+ 00028930  0x00007aa5 arg  0x00000400 , 0x00000012 
+ 00028931  0x00007aa6 call  0x000070f4 
+ 00028932  0x00007aa7 arg  0x00000300 , 0x00000012 
+ 00028933  0x00007aa8 call  0x0000710d 
+ 00028934  0x00007aa9 nrtn  0x00000028 
+ 00028935  0x00007aaa sub  0x00000011 , 0x00000003 , 0x0000003e 
+ 00028936  0x00007aab branch  0x00007fe9 , 0x00000002 
+ 00028937  0x00007aac ifetch  0x00000001 , 0x00000006 
+ 00028938  0x00007aad bne  0x00000008 , 0x00007fe9 
+ 00028939  0x00007aae ifetch  0x00000001 , 0x00000006 
+ 00028940  0x00007aaf rtn 
+ 00028941  0x00007ab5 bpatchx  0x000000d9 , 0x0000403b 
+ 00028942  0x00007ab6 call  0x00007062 
+ 00028943  0x00007ab7 copy  0x0000003f , 0x00000011 
+ 00028944  0x00007ab9 ifetch  0x00000001 , 0x00000006 
+ 00028945  0x00007aba and  0x0000003f , 0x00000007 , 0x00000039 
+ 00028946  0x00007abb rshift3  0x0000003f , 0x0000003f 
+ 00028947  0x00007abc sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00028948  0x00007abd branch  0x00007129 , 0x00000005 
+ 00028949  0x00007abe copy  0x00000039 , 0x0000003f 
+ 00028950  0x00007abf beq  0x00000005 , 0x00007120 
+ 00028951  0x00007ac0 beq  0x00000006 , 0x00007123 
+ 00028952  0x00007ac1 beq  0x00000007 , 0x00007126 
+ 00028953  0x00007ac2 increase  0xffffffff , 0x00000006 
+ 00028954  0x00007ac3 call  0x00007062 
+ 00028955  0x00007ac4 iadd  0x00000006 , 0x00000006 
+ 00028956  0x00007ac5 copy  0x00000011 , 0x0000003f 
+ 00028957  0x00007ac6 isub  0x00000002 , 0x00000011 
+ 00028958  0x00007ac7 branch  0x00007fe9 , 0x00000005 
+ 00028959  0x00007ac8 branch  0x00007110 
+ 00028960  0x00007acb increase  0xfffffffe , 0x00000011 
+ 00028961  0x00007acc increase  0x00000001 , 0x00000006 
+ 00028962  0x00007acd branch  0x00007110 
+ 00028963  0x00007acf increase  0xfffffffd , 0x00000011 
+ 00028964  0x00007ad0 increase  0x00000002 , 0x00000006 
+ 00028965  0x00007ad1 branch  0x00007110 
+ 00028966  0x00007ad3 increase  0xfffffffb , 0x00000011 
+ 00028967  0x00007ad4 increase  0x00000004 , 0x00000006 
+ 00028968  0x00007ad5 branch  0x00007110 
+ 00028969  0x00007ad8 increase  0xffffffff , 0x00000011 
+ 00028970  0x00007ad9 copy  0x00000039 , 0x0000003f 
+ 00028971  0x00007ada beq  0x00000001 , 0x00007132 
+ 00028972  0x00007adb beq  0x00000002 , 0x00007130 
+ 00028973  0x00007adc beq  0x00000004 , 0x0000712f 
+ 00028974  0x00007add branch  0x00007fe9 
+ 00028975  0x00007adf increase  0xfffffff4 , 0x00000011 
+ 00028976  0x00007ae1 ifetch  0x00000002 , 0x00000006 
+ 00028977  0x00007ae2 increase  0xfffffffe , 0x00000011 
+ 00028978  0x00007ae4 ifetch  0x00000002 , 0x00000006 
+ 00028979  0x00007ae5 isub  0x00000012 , 0x0000003e 
+ 00028980  0x00007ae6 branch  0x00007fe7 , 0x00000005 
+ 00028981  0x00007ae7 increase  0xfffffffe , 0x00000011 
+ 00028982  0x00007ae8 branch  0x00007fe9 , 0x00000005 
+ 00028983  0x00007ae9 branch  0x00007110 
+ 00028984  0x00007b25 call  0x000052d0 
+ 00028985  0x00007b26 copy  0x0000003f , 0x00000005 
+ 00028986  0x00007b27 setarg  0x00000006 
+ 00028987  0x00007b28 istore  0x00000001 , 0x00000005 
+ 00028988  0x00007b29 setarg  0x0000006e 
+ 00028989  0x00007b2a istore  0x00000002 , 0x00000005 
+ 00028990  0x00007b2b setarg  0x00000f00 
+ 00028991  0x00007b2c istore  0x00000002 , 0x00000005 
+ 00028992  0x00007b2d setarg  0x001a0535 
+ 00028993  0x00007b2e istore  0x00000003 , 0x00000005 
+ 00028994  0x00007b2f setarg  0x00000111 
+ 00028995  0x00007b30 lshift16  0x0000003f , 0x0000003f 
+ 00028996  0x00007b31 istore  0x00000004 , 0x00000005 
+ 00028997  0x00007b32 setarg  0x00002600 
+ 00028998  0x00007b33 istore  0x00000002 , 0x00000005 
+ 00028999  0x00007b34 setarg  0x00000335 
+ 00029000  0x00007b35 istore  0x00000002 , 0x00000005 
+ 00029001  0x00007b36 setarg  0x00000009 
+ 00029002  0x00007b37 istore  0x00000002 , 0x00000005 
+ 00029003  0x00007b38 setarg  0x00000004 
+ 00029004  0x00007b39 istore  0x00000002 , 0x00000005 
+ 00029005  0x00007b3a jam  0x00000014 , 0x00000275 
+ 00029006  0x00007b3b rtn 
+ 00029007  0x00007b40 bpatchx  0x000000da , 0x0000403b 
+ 00029008  0x00007b41 jam  0x00000050 , 0x000005e5 
+ 00029009  0x00007b42 arg  0x000005e6 , 0x00000005 
+ 00029010  0x00007b43 arg  0x0000443a , 0x00000006 
+ 00029011  0x00007b44 call  0x00007ebf 
+ 00029012  0x00007b45 arg  0x000045d2 , 0x00000006 
+ 00029013  0x00007b46 call  0x00007ebd 
+ 00029014  0x00007b47 arg  0x000009be , 0x00000006 
+ 00029015  0x00007b48 call  0x00007ebd 
+ 00029016  0x00007b49 call  0x0000720a 
+ 00029017  0x00007b4a arg  0x0000042f , 0x00000006 
+ 00029018  0x00007b4b call  0x00007205 
+ 00029019  0x00007b4c call  0x000071d0 
+ 00029020  0x00007b4e arg  0x00000af2 , 0x00000005 
+ 00029021  0x00007b4f call  0x00007201 
+ 00029022  0x00007b50 setarg  0x000f4240 
+ 00029023  0x00007b51 copy  0x0000003f , 0x00000011 
+ 00029024  0x00007b52 fetch  0x00000004 , 0x00000af2 
+ 00029025  0x00007b53 idiv  0x00000011 
+ 00029026  0x00007b54 call  0x00007f86 
+ 00029027  0x00007b55 remainder  0x0000003f 
+ 00029028  0x00007b56 store  0x00000004 , 0x000009ba 
+ 00029029  0x00007b58 rtn 
+ 00029030  0x00007b5b jam  0x00000041 , 0x000005e5 
+ 00029031  0x00007b5c arg  0x000005e6 , 0x00000005 
+ 00029032  0x00007b5d call  0x000071b5 
+ 00029033  0x00007b5e call  0x000071b0 
+ 00029034  0x00007b5f fetch  0x00000003 , 0x00004454 
+ 00029035  0x00007b60 istore  0x00000003 , 0x00000005 
+ 00029036  0x00007b63 call  0x00007176 
+ 00029037  0x00007b65 arg  0x0000042f , 0x00000006 
+ 00029038  0x00007b66 call  0x00007ebf 
+ 00029039  0x00007b67 arg  0x0000443a , 0x00000006 
+ 00029040  0x00007b68 call  0x00007ebf 
+ 00029041  0x00007b69 call  0x0000720a 
+ 00029042  0x00007b6a arg  0x00000b12 , 0x00000006 
+ 00029043  0x00007b6b arg  0x00000ac2 , 0x00000005 
+ 00029044  0x00007b6c call  0x00007ebf 
+ 00029045  0x00007b6e branch  0x000071d0 
+ 00029046  0x00007b73 fetch  0x00000004 , 0x000044c7 
+ 00029047  0x00007b74 istore  0x00000004 , 0x00000005 
+ 00029048  0x00007b75 call  0x00007ecd 
+ 00029049  0x00007b76 branch  0x00007eca 
+ 00029050  0x00007b79 bpatchx  0x000000db , 0x0000403b 
+ 00029051  0x00007b7a jam  0x00000041 , 0x000005e5 
+ 00029052  0x00007b7b arg  0x000005e6 , 0x00000005 
+ 00029053  0x00007b7c call  0x000071b0 
+ 00029054  0x00007b7d call  0x000071b5 
+ 00029055  0x00007b7e fetch  0x00000003 , 0x0000444d 
+ 00029056  0x00007b7f istore  0x00000003 , 0x00000005 
+ 00029057  0x00007b82 call  0x00007176 
+ 00029058  0x00007b83 arg  0x0000443a , 0x00000006 
+ 00029059  0x00007b84 call  0x00007ebf 
+ 00029060  0x00007b85 arg  0x0000042f , 0x00000006 
+ 00029061  0x00007b86 call  0x00007ebf 
+ 00029062  0x00007b87 call  0x0000720a 
+ 00029063  0x00007b88 arg  0x00000b12 , 0x00000006 
+ 00029064  0x00007b89 arg  0x00000ac2 , 0x00000005 
+ 00029065  0x00007b8a call  0x00007ebf 
+ 00029066  0x00007b8c call  0x000071d0 
+ 00029067  0x00007b8d arg  0x00000af2 , 0x00000005 
+ 00029068  0x00007b8e branch  0x00007201 
+ 00029069  0x00007b91 jam  0x00000020 , 0x000005e5 
+ 00029070  0x00007b92 arg  0x000009fe , 0x00000006 
+ 00029071  0x00007b93 arg  0x000005e6 , 0x00000005 
+ 00029072  0x00007b94 call  0x00007ebd 
+ 00029073  0x00007b95 call  0x0000720a 
+ 00029074  0x00007b96 arg  0x0000099e , 0x00000006 
+ 00029075  0x00007b97 call  0x00007205 
+ 00029076  0x00007b98 call  0x000071d0 
+ 00029077  0x00007b99 arg  0x00000ac2 , 0x00000005 
+ 00029078  0x00007b9a call  0x00007497 
+ 00029079  0x00007b9b arg  0x00000001 , 0x00000002 
+ 00029080  0x00007b9c call  0x0000719f 
+ 00029081  0x00007b9d arg  0x00004419 , 0x00000005 
+ 00029082  0x00007b9e call  0x00007201 
+ 00029083  0x00007b9f arg  0x00000000 , 0x00000002 
+ 00029084  0x00007ba0 call  0x0000719f 
+ 00029085  0x00007ba1 arg  0x00000b12 , 0x00000005 
+ 00029086  0x00007ba3 branch  0x00007497 
+ 00029087  0x00007ba7 bpatchx  0x000000dc , 0x0000403b 
+ 00029088  0x00007ba8 jam  0x00000035 , 0x000005e5 
+ 00029089  0x00007ba9 setarg  0x00000100 
+ 00029090  0x00007baa store  0x00000002 , 0x000005e6 
+ 00029091  0x00007bab call  0x000071b0 
+ 00029092  0x00007bac call  0x000071b5 
+ 00029093  0x00007bad arg  0x0000443a , 0x00000006 
+ 00029094  0x00007bae call  0x00007ebf 
+ 00029095  0x00007baf arg  0x0000042f , 0x00000006 
+ 00029096  0x00007bb0 call  0x00007ebf 
+ 00029097  0x00007bb2 setarg  0x00006c65 
+ 00029098  0x00007bb3 istore  0x00000002 , 0x00000005 
+ 00029099  0x00007bb4 setarg  0x00006274 
+ 00029100  0x00007bb5 istore  0x00000002 , 0x00000005 
+ 00029101  0x00007bb6 istoret  0x00000001 , 0x00000005 
+ 00029102  0x00007bb7 call  0x0000720a 
+ 00029103  0x00007bb8 branch  0x000071d0 
+ 00029104  0x00007bbb fetch  0x00000006 , 0x000044a0 
+ 00029105  0x00007bbc istore  0x00000006 , 0x00000005 
+ 00029106  0x00007bbd fetch  0x00000001 , 0x00004495 
+ 00029107  0x00007bbe istore  0x00000001 , 0x00000005 
+ 00029108  0x00007bbf rtn 
+ 00029109  0x00007bc2 fetch  0x00000006 , 0x0000044f 
+ 00029110  0x00007bc3 istore  0x00000006 , 0x00000005 
+ 00029111  0x00007bc8 fetch  0x00000001 , 0x0000448e 
+ 00029112  0x00007bc9 istore  0x00000001 , 0x00000005 
+ 00029113  0x00007bca rtn 
+ 00029114  0x00007bcd jam  0x00000041 , 0x000005e5 
+ 00029115  0x00007bce fetch  0x00000001 , 0x00004664 
+ 00029116  0x00007bcf store  0x00000001 , 0x000005e6 
+ 00029117  0x00007bd0 arg  0x000045d2 , 0x00000006 
+ 00029118  0x00007bd1 call  0x00007ebd 
+ 00029119  0x00007bd2 arg  0x000009be , 0x00000006 
+ 00029120  0x00007bd3 call  0x00007ebd 
+ 00029121  0x00007bd4 call  0x0000720a 
+ 00029122  0x00007bd5 arg  0x0000042f , 0x00000006 
+ 00029123  0x00007bd6 call  0x00007205 
+ 00029124  0x00007bd7 branch  0x000071d0 
+ 00029125  0x00007bdb jam  0x00000041 , 0x000005e5 
+ 00029126  0x00007bdc fetch  0x00000001 , 0x00004664 
+ 00029127  0x00007bdd store  0x00000001 , 0x000005e6 
+ 00029128  0x00007bde arg  0x000009be , 0x00000006 
+ 00029129  0x00007bdf call  0x00007ebd 
+ 00029130  0x00007be0 arg  0x000045d2 , 0x00000006 
+ 00029131  0x00007be1 call  0x00007ebd 
+ 00029132  0x00007be2 call  0x0000720a 
+ 00029133  0x00007be3 arg  0x0000443a , 0x00000006 
+ 00029134  0x00007be4 call  0x00007205 
+ 00029135  0x00007be5 branch  0x000071d0 
+ 00029136  0x00007be8 bpatchx  0x000000dd , 0x0000403b 
+ 00029137  0x00007be9 call  0x0000721f 
+ 00029138  0x00007bed fetch  0x00000001 , 0x000005e5 
+ 00029139  0x00007bee copy  0x0000003f , 0x00000002 
+ 00029140  0x00007bf0 increase  0x0000000f , 0x0000003f 
+ 00029141  0x00007bf1 rshift4  0x0000003f , 0x0000003f 
+ 00029142  0x00007bf2 copy  0x0000003f , 0x00000012 
+ 00029143  0x00007bf3 branch  0x000071e2 , 0x00000034 
+ 00029144  0x00007bf4 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00029145  0x00007bf5 nbranch  0x000071e5 , 0x00000034 
+ 00029146  0x00007bf7 arg  0x00000ad2 , 0x00000013 
+ 00029147  0x00007bf8 arg  0x000005e6 , 0x0000003f 
+ 00029148  0x00007bf9 increase  0xfffffff0 , 0x0000003f 
+ 00029149  0x00007bfc iadd  0x00000002 , 0x00000011 
+ 00029150  0x00007bfd arg  0x00000b02 , 0x00000005 
+ 00029151  0x00007bfe arg  0x00000004 , 0x00000039 
+ 00029152  0x00007bff call  0x00007edd 
+ 00029153  0x00007c03 branch  0x000071f0 
+ 00029154  0x00007c06 arg  0x00000001 , 0x00000012 
+ 00029155  0x00007c07 arg  0x00000000 , 0x00000011 
+ 00029156  0x00007c09 branch  0x000071e6 
+ 00029157  0x00007c0e and  0x00000002 , 0x0000000f , 0x00000011 
+ 00029158  0x00007c10 arg  0x000005e6 , 0x0000003f 
+ 00029159  0x00007c11 iadd  0x00000002 , 0x0000003f 
+ 00029160  0x00007c12 isub  0x00000011 , 0x00000006 
+ 00029161  0x00007c14 arg  0x00000af2 , 0x00000005 
+ 00029162  0x00007c15 call  0x00007245 
+ 00029163  0x00007c17 arg  0x00000ae2 , 0x00000013 
+ 00029164  0x00007c18 arg  0x00000af2 , 0x00000011 
+ 00029165  0x00007c19 arg  0x00000b02 , 0x00000005 
+ 00029166  0x00007c1a arg  0x00000004 , 0x00000039 
+ 00029167  0x00007c1b call  0x00007edd 
+ 00029168  0x00007c27 call  0x00007491 
+ 00029169  0x00007c28 call  0x00007428 
+ 00029170  0x00007c2b arg  0x000005e6 , 0x00000006 
+ 00029171  0x00007c2e increase  0xffffffff , 0x00000012 
+ 00029172  0x00007c2f deposit  0x00000012 
+ 00029173  0x00007c30 branch  0x000071f9 , 0x00000034 
+ 00029174  0x00007c31 call  0x00007486 
+ 00029175  0x00007c32 call  0x00007422 
+ 00029176  0x00007c33 branch  0x000071f3 
+ 00029177  0x00007c36 arg  0x00000af2 , 0x00000005 
+ 00029178  0x00007c37 call  0x00007497 
+ 00029179  0x00007c38 arg  0x00000b02 , 0x00000006 
+ 00029180  0x00007c39 call  0x00007486 
+ 00029181  0x00007c3a call  0x00007428 
+ 00029182  0x00007c3b arg  0x00000af2 , 0x00000006 
+ 00029183  0x00007c3c call  0x00007486 
+ 00029184  0x00007c3d branch  0x00007422 
+ 00029185  0x00007c43 copy  0x00000005 , 0x00000011 
+ 00029186  0x00007c44 call  0x00007497 
+ 00029187  0x00007c46 arg  0x00000010 , 0x00000039 
+ 00029188  0x00007c47 branch  0x00007ee5 
+ 00029189  0x00007c4a arg  0x00000ac2 , 0x00000005 
+ 00029190  0x00007c4b call  0x00007ebf 
+ 00029191  0x00007c4d arg  0x00000010 , 0x00000039 
+ 00029192  0x00007c4e arg  0x00000ac2 , 0x00000011 
+ 00029193  0x00007c4f branch  0x00007ee5 
+ 00029194  0x00007c52 fetch  0x00000001 , 0x000005e5 
+ 00029195  0x00007c53 copy  0x0000003f , 0x00000039 
+ 00029196  0x00007c54 arg  0x000005e6 , 0x00000011 
+ 00029197  0x00007c55 branch  0x00007ee5 
+ 00029198  0x00007c58 ifetch  0x00000001 , 0x00000011 
+ 00029199  0x00007c59 lshift  0x0000003f , 0x0000003f 
+ 00029200  0x00007c5a isolate1  0x00000000 , 0x00000013 
+ 00029201  0x00007c5b setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00029202  0x00007c5c isolate1  0x00000008 , 0x0000003f 
+ 00029203  0x00007c5d setflag  0x00000001 , 0x00000000 , 0x00000013 
+ 00029204  0x00007c5e istore  0x00000001 , 0x00000011 
+ 00029205  0x00007c5f increase  0xffffffff , 0x00000011 
+ 00029206  0x00007c60 loop  0x0000720e 
+ 00029207  0x00007c61 rtn 
+ 00029208  0x00007c64 arg  0x00000ad2 , 0x00000011 
+ 00029209  0x00007c66 increase  0x0000000f , 0x00000011 
+ 00029210  0x00007c67 force  0x00000010 , 0x00000039 
+ 00029211  0x00007c68 force  0x00000000 , 0x00000013 
+ 00029212  0x00007c69 branch  0x0000720e 
+ 00029213  0x00007c6c arg  0x00000ae2 , 0x00000011 
+ 00029214  0x00007c6d branch  0x00007219 
+ 00029215  0x00007c71 arg  0x00000ac2 , 0x00000006 
+ 00029216  0x00007c72 call  0x00007484 
+ 00029217  0x00007c75 force  0x00000008 , 0x00000038 
+ 00029218  0x00007c76 call  0x00007492 
+ 00029219  0x00007c77 call  0x00007491 
+ 00029220  0x00007c78 call  0x0000741f 
+ 00029221  0x00007c7d arg  0x00000ad2 , 0x00000005 
+ 00029222  0x00007c7e call  0x00007497 
+ 00029223  0x00007c80 bpatchx  0x000000de , 0x0000403b 
+ 00029224  0x00007c81 fetch  0x00000001 , 0x00000ad2 
+ 00029225  0x00007c82 isolate1  0x00000007 , 0x0000003f 
+ 00029226  0x00007c83 nbranch  0x00007230 , 0x00000001 
+ 00029227  0x00007c84 call  0x00007218 
+ 00029228  0x00007c87 arg  0x00000ad2 , 0x00000013 
+ 00029229  0x00007c89 arg  0x00000ad2 , 0x00000005 
+ 00029230  0x00007c8c call  0x0000723a 
+ 00029231  0x00007c8d branch  0x00007231 
+ 00029232  0x00007c8f call  0x00007218 
+ 00029233  0x00007c92 arg  0x00000ad2 , 0x00000006 
+ 00029234  0x00007c93 arg  0x00000ae2 , 0x00000005 
+ 00029235  0x00007c94 call  0x00007ebf 
+ 00029236  0x00007c95 fetch  0x00000001 , 0x00000ae2 
+ 00029237  0x00007c96 isolate1  0x00000007 , 0x0000003f 
+ 00029238  0x00007c97 nbranch  0x0000721d , 0x00000001 
+ 00029239  0x00007c98 call  0x0000721d 
+ 00029240  0x00007c9a arg  0x00000ae2 , 0x00000013 
+ 00029241  0x00007c9c arg  0x00000ae2 , 0x00000005 
+ 00029242  0x00007ca3 arg  0x00000003 , 0x00000039 
+ 00029243  0x00007ca5 arg  0x00000000 , 0x00000002 
+ 00029244  0x00007ca6 call  0x00007241 
+ 00029245  0x00007ca7 increase  0x00000004 , 0x00000013 
+ 00029246  0x00007ca8 loop  0x0000723b 
+ 00029247  0x00007ca9 arg  0x00008700 , 0x00000002 
+ 00029248  0x00007caa lshift16  0x00000002 , 0x00000002 
+ 00029249  0x00007cac ifetch  0x00000004 , 0x00000013 
+ 00029250  0x00007cad ixor  0x00000002 , 0x0000003f 
+ 00029251  0x00007cae istore  0x00000004 , 0x00000005 
+ 00029252  0x00007caf rtn 
+ 00029253  0x00007cb6 bpatchx  0x000000df , 0x0000403b 
+ 00029254  0x00007cb7 arg  0x00000010 , 0x00000039 
+ 00029255  0x00007cb8 arg  0x00000000 , 0x0000003f 
+ 00029256  0x00007cba isub  0x00000011 , 0x0000003e 
+ 00029257  0x00007cbb branch  0x00007250 , 0x00000005 
+ 00029258  0x00007cbc branch  0x00007253 , 0x00000002 
+ 00029259  0x00007cbd ifetcht  0x00000001 , 0x00000006 
+ 00029260  0x00007cbe istoret  0x00000001 , 0x00000005 
+ 00029261  0x00007cc0 increase  0x00000001 , 0x0000003f 
+ 00029262  0x00007cc1 loop  0x00007248 
+ 00029263  0x00007cc2 rtn 
+ 00029264  0x00007cc4 arg  0x00000080 , 0x00000002 
+ 00029265  0x00007cc6 istoret  0x00000001 , 0x00000005 
+ 00029266  0x00007cc7 branch  0x0000724d 
+ 00029267  0x00007cca arg  0x00000000 , 0x00000002 
+ 00029268  0x00007ccb branch  0x00007251 
+ 00029269  0x00007ccf call  0x00007268 
+ 00029270  0x00007cd0 arg  0x00000592 , 0x00000006 
+ 00029271  0x00007cd1 arg  0x00000582 , 0x00000005 
+ 00029272  0x00007cd2 branch  0x00007ebf 
+ 00029273  0x00007cd6 disable  0x00000028 
+ 00029274  0x00007cd7 call  0x0000735f 
+ 00029275  0x00007cd8 arg  0x00000562 , 0x00000006 
+ 00029276  0x00007cd9 arg  0x000005a2 , 0x00000005 
+ 00029277  0x00007cda force  0x0000000f , 0x00000039 
+ 00029278  0x00007cdb call  0x00007f01 
+ 00029279  0x00007cdc ifetch  0x00000001 , 0x00000006 
+ 00029280  0x00007cdd xor_into  0x00000006 , 0x0000003f 
+ 00029281  0x00007cde istore  0x00000001 , 0x00000005 
+ 00029282  0x00007cdf setarg  0x000005b2 
+ 00029283  0x00007ce0 store  0x00000002 , 0x000005d6 
+ 00029284  0x00007ce1 setarg  0x000005a2 
+ 00029285  0x00007ce2 store  0x00000002 , 0x000005d4 
+ 00029286  0x00007ce3 set1  0x00000012 , 0x00000000 
+ 00029287  0x00007ce4 branch  0x000072a8 
+ 00029288  0x00007ce9 fetcht  0x00000001 , 0x00004689 
+ 00029289  0x00007cea force  0x00000010 , 0x00000012 
+ 00029290  0x00007ceb add  0x00000002 , 0x00000006 , 0x00000013 
+ 00029291  0x00007cec sub  0x00000013 , 0x00000010 , 0x0000003e 
+ 00029292  0x00007ced branch  0x0000726e , 0x00000002 
+ 00029293  0x00007cee force  0x00000010 , 0x00000013 
+ 00029294  0x00007cf0 arg  0x000005a2 , 0x00000005 
+ 00029295  0x00007cf2 arg  0x0000468a , 0x00000006 
+ 00029296  0x00007cf3 copy  0x00000002 , 0x00000039 
+ 00029297  0x00007cf4 disable  0x00000028 
+ 00029298  0x00007cf6 ifetch  0x00000001 , 0x00000006 
+ 00029299  0x00007cf7 istore  0x00000001 , 0x00000005 
+ 00029300  0x00007cf8 increase  0xffffffff , 0x00000012 
+ 00029301  0x00007cf9 branch  0x0000727c , 0x00000005 
+ 00029302  0x00007cfa loop  0x00007272 
+ 00029303  0x00007cfb branch  0x0000726f , 0x00000028 
+ 00029304  0x00007cfc enable  0x00000028 
+ 00029305  0x00007cfd force  0x00000006 , 0x00000039 
+ 00029306  0x00007cfe copy  0x00000011 , 0x00000006 
+ 00029307  0x00007cff branch  0x00007272 
+ 00029308  0x00007d01 arg  0x00000562 , 0x00000006 
+ 00029309  0x00007d02 arg  0x000005b2 , 0x00000005 
+ 00029310  0x00007d03 call  0x00007ebf 
+ 00029311  0x00007d04 fetch  0x00000001 , 0x000005c1 
+ 00029312  0x00007d05 ixor  0x00000013 , 0x0000003f 
+ 00029313  0x00007d06 store  0x00000001 , 0x000005c1 
+ 00029314  0x00007d07 setarg  0x000005b2 
+ 00029315  0x00007d08 store  0x00000002 , 0x000005d6 
+ 00029316  0x00007d09 setarg  0x000005a2 
+ 00029317  0x00007d0a store  0x00000002 , 0x000005d4 
+ 00029318  0x00007d0b set1  0x00000012 , 0x00000000 
+ 00029319  0x00007d0c branch  0x000072a8 
+ 00029320  0x00007d12 disable  0x00000028 
+ 00029321  0x00007d13 call  0x0000735f 
+ 00029322  0x00007d14 branch  0x00007292 
+ 00029323  0x00007d17 arg  0x00000056 , 0x00000011 
+ 00029324  0x00007d18 enable  0x00000028 
+ 00029325  0x00007d19 call  0x0000735f 
+ 00029326  0x00007d1a call  0x00007292 
+ 00029327  0x00007d1b arg  0x00000592 , 0x00000006 
+ 00029328  0x00007d1c arg  0x00000062 , 0x00000005 
+ 00029329  0x00007d1d branch  0x00007ebf 
+ 00029330  0x00007d21 setarg  0x00000562 
+ 00029331  0x00007d22 store  0x00000002 , 0x000005d6 
+ 00029332  0x00007d23 setarg  0x000041be 
+ 00029333  0x00007d24 store  0x00000002 , 0x000005d4 
+ 00029334  0x00007d25 set0  0x00000012 , 0x00000000 
+ 00029335  0x00007d26 call  0x000072a8 
+ 00029336  0x00007d27 arg  0x00000592 , 0x00000011 
+ 00029337  0x00007d28 arg  0x00000562 , 0x00000012 
+ 00029338  0x00007d29 arg  0x000005a2 , 0x00000005 
+ 00029339  0x00007d2a call  0x00007352 
+ 00029340  0x00007d2b arg  0x000005a2 , 0x00000011 
+ 00029341  0x00007d2c arg  0x000005b2 , 0x00000012 
+ 00029342  0x00007d2d copy  0x00000012 , 0x00000005 
+ 00029343  0x00007d2e enable  0x00000028 
+ 00029344  0x00007d2f call  0x00007350 
+ 00029345  0x00007d30 call  0x0000736a 
+ 00029346  0x00007d31 setarg  0x000005b2 
+ 00029347  0x00007d32 store  0x00000002 , 0x000005d6 
+ 00029348  0x00007d33 setarg  0x000005a2 
+ 00029349  0x00007d34 store  0x00000002 , 0x000005d4 
+ 00029350  0x00007d35 set1  0x00000012 , 0x00000000 
+ 00029351  0x00007d36 branch  0x000072a8 
+ 00029352  0x00007d3b jam  0x00000000 , 0x000005d8 
+ 00029353  0x00007d3c fetch  0x00000002 , 0x000005d4 
+ 00029354  0x00007d3d iforce  0x00000006 
+ 00029355  0x00007d3e arg  0x000005c2 , 0x00000005 
+ 00029356  0x00007d3f call  0x00007ebf 
+ 00029357  0x00007d40 fetch  0x00000002 , 0x000005d6 
+ 00029358  0x00007d41 iforce  0x00000006 
+ 00029359  0x00007d42 arg  0x00000592 , 0x00000005 
+ 00029360  0x00007d43 call  0x00007ebf 
+ 00029361  0x00007d46 call  0x000072cf 
+ 00029362  0x00007d47 disable  0x00000028 
+ 00029363  0x00007d48 bmark0  0x00000012 , 0x000072b9 
+ 00029364  0x00007d49 fetch  0x00000001 , 0x000005d8 
+ 00029365  0x00007d4a bne  0x00000004 , 0x000072b9 
+ 00029366  0x00007d4b fetch  0x00000002 , 0x000005d6 
+ 00029367  0x00007d4c iforce  0x00000012 
+ 00029368  0x00007d4d call  0x00007301 
+ 00029369  0x00007d4f call  0x00007300 
+ 00029370  0x00007d50 call  0x00007313 
+ 00029371  0x00007d51 fetch  0x00000001 , 0x000005d8 
+ 00029372  0x00007d52 increase  0x00000001 , 0x0000003f 
+ 00029373  0x00007d53 store  0x00000001 , 0x000005d8 
+ 00029374  0x00007d55 call  0x000072cf 
+ 00029375  0x00007d56 enable  0x00000028 
+ 00029376  0x00007d57 call  0x00007300 
+ 00029377  0x00007d58 call  0x00007322 
+ 00029378  0x00007d59 call  0x00007331 
+ 00029379  0x00007d5a call  0x00007322 
+ 00029380  0x00007d5b call  0x00007331 
+ 00029381  0x00007d5c call  0x00007322 
+ 00029382  0x00007d5d call  0x00007331 
+ 00029383  0x00007d5e call  0x00007322 
+ 00029384  0x00007d5f fetch  0x00000001 , 0x000005d8 
+ 00029385  0x00007d60 increase  0x00000001 , 0x0000003f 
+ 00029386  0x00007d61 store  0x00000001 , 0x000005d8 
+ 00029387  0x00007d62 bne  0x00000010 , 0x000072b1 
+ 00029388  0x00007d63 call  0x000072cf 
+ 00029389  0x00007d64 disable  0x00000028 
+ 00029390  0x00007d65 branch  0x00007300 
+ 00029391  0x00007d6a fetch  0x00000001 , 0x000005d8 
+ 00029392  0x00007d6b arg  0x000005c2 , 0x00000006 
+ 00029393  0x00007d6c branch  0x000072f6 , 0x00000034 
+ 00029394  0x00007d6d iforce  0x00000012 
+ 00029395  0x00007d6e force  0x00000011 , 0x00000039 
+ 00029396  0x00007d6f copy  0x00000006 , 0x00000005 
+ 00029397  0x00007d71 ifetch  0x00000001 , 0x00000006 
+ 00029398  0x00007d72 lshift3  0x0000003f , 0x00000002 
+ 00029399  0x00007d73 rshift2  0x0000003f , 0x0000003f 
+ 00029400  0x00007d74 rshift3  0x0000003f , 0x0000003f 
+ 00029401  0x00007d75 ior  0x00000002 , 0x0000003f 
+ 00029402  0x00007d76 istore  0x00000001 , 0x00000005 
+ 00029403  0x00007d77 loop  0x000072d5 
+ 00029404  0x00007d78 setarg  0x000005c2 
+ 00029405  0x00007d79 iadd  0x00000012 , 0x00000006 
+ 00029406  0x00007d7a force  0x00000010 , 0x00000039 
+ 00029407  0x00007d7b arg  0x00000572 , 0x00000005 
+ 00029408  0x00007d7d ifetch  0x00000001 , 0x00000006 
+ 00029409  0x00007d7e istore  0x00000001 , 0x00000005 
+ 00029410  0x00007d7f compare  0x000005d3 , 0x00000006 , 0x000000ff 
+ 00029411  0x00007d80 nbranch  0x000072e5 , 0x00000001 
+ 00029412  0x00007d81 increase  0xffffffef , 0x00000006 
+ 00029413  0x00007d83 loop  0x000072e0 
+ 00029414  0x00007d84 force  0x00000000 , 0x00000011 
+ 00029415  0x00007d85 add  0x00000012 , 0xffffffff , 0x00000013 
+ 00029416  0x00007d86 lshift2  0x00000013 , 0x00000013 
+ 00029417  0x00007d87 lshift2  0x00000013 , 0x00000013 
+ 00029418  0x00007d88 call  0x000074b9 
+ 00029419  0x00007d89 setarg  0x00008400 
+ 00029420  0x00007d8a iadd  0x00000013 , 0x00000013 
+ 00029421  0x00007d8b arg  0x00000572 , 0x00000005 
+ 00029422  0x00007d8c force  0x00000010 , 0x00000039 
+ 00029423  0x00007d8e ifetcht  0x00000001 , 0x00000013 
+ 00029424  0x00007d8f ifetch  0x00000001 , 0x00000005 
+ 00029425  0x00007d90 iadd  0x00000002 , 0x0000003f 
+ 00029426  0x00007d91 istore  0x00000001 , 0x00000005 
+ 00029427  0x00007d92 increase  0x00000001 , 0x00000013 
+ 00029428  0x00007d93 loop  0x000072ef 
+ 00029429  0x00007d94 branch  0x000074bd 
+ 00029430  0x00007d97 force  0x00000010 , 0x00000039 
+ 00029431  0x00007d98 force  0x00000000 , 0x00000002 
+ 00029432  0x00007d9a ifetch  0x00000001 , 0x00000006 
+ 00029433  0x00007d9b ixor  0x00000002 , 0x00000002 
+ 00029434  0x00007d9c loop  0x000072f8 
+ 00029435  0x00007d9d deposit  0x00000002 
+ 00029436  0x00007d9e istore  0x00000001 , 0x00000006 
+ 00029437  0x00007d9f arg  0x000005c2 , 0x00000006 
+ 00029438  0x00007da0 arg  0x00000572 , 0x00000005 
+ 00029439  0x00007da1 branch  0x00007ebf 
+ 00029440  0x00007da4 arg  0x00000572 , 0x00000012 
+ 00029441  0x00007da6 force  0x00000010 , 0x00000039 
+ 00029442  0x00007da7 arg  0x00000592 , 0x00000011 
+ 00029443  0x00007da8 copy  0x00000011 , 0x00000005 
+ 00029444  0x00007daa ifetcht  0x00000001 , 0x00000011 
+ 00029445  0x00007dab ifetch  0x00000001 , 0x00000012 
+ 00029446  0x00007dac ixor  0x00000002 , 0x00000030 
+ 00029447  0x00007dad and  0x00000039 , 0x00000003 , 0x00000013 
+ 00029448  0x00007dae nbranch  0x0000730a , 0x00000028 
+ 00029449  0x00007daf xor_into  0x00000003 , 0x00000013 
+ 00029450  0x00007db1 sub  0x00000013 , 0x00000001 , 0x00000013 
+ 00029451  0x00007db2 branch  0x0000730d , 0x00000002 
+ 00029452  0x00007db3 iadd  0x00000002 , 0x00000030 
+ 00029453  0x00007db5 deposit  0x00000030 
+ 00029454  0x00007db6 istore  0x00000001 , 0x00000005 
+ 00029455  0x00007db7 increase  0x00000001 , 0x00000011 
+ 00029456  0x00007db8 increase  0x00000001 , 0x00000012 
+ 00029457  0x00007db9 loop  0x00007304 
+ 00029458  0x00007dba rtn 
+ 00029459  0x00007dbd call  0x000074b9 
+ 00029460  0x00007dbe force  0x00000010 , 0x00000039 
+ 00029461  0x00007dbf arg  0x00000592 , 0x00000011 
+ 00029462  0x00007dc1 ifetch  0x00000001 , 0x00000011 
+ 00029463  0x00007dc2 arg  0x00008500 , 0x00000006 
+ 00029464  0x00007dc3 and  0x00000039 , 0x00000003 , 0x00000013 
+ 00029465  0x00007dc4 sub  0x00000013 , 0x00000001 , 0x0000003e 
+ 00029466  0x00007dc5 branch  0x0000731c , 0x00000002 
+ 00029467  0x00007dc6 arg  0x00008600 , 0x00000006 
+ 00029468  0x00007dc8 iadd  0x00000006 , 0x00000006 
+ 00029469  0x00007dc9 ifetch  0x00000001 , 0x00000006 
+ 00029470  0x00007dca istore  0x00000001 , 0x00000011 
+ 00029471  0x00007dcb increase  0x00000001 , 0x00000011 
+ 00029472  0x00007dcc loop  0x00007316 
+ 00029473  0x00007dcd branch  0x000074bd 
+ 00029474  0x00007dd0 force  0x00000008 , 0x00000039 
+ 00029475  0x00007dd1 arg  0x00000592 , 0x00000006 
+ 00029476  0x00007dd2 copy  0x00000006 , 0x00000005 
+ 00029477  0x00007dd4 ifetch  0x00000001 , 0x00000006 
+ 00029478  0x00007dd5 iforce  0x00000011 
+ 00029479  0x00007dd6 ifetch  0x00000001 , 0x00000006 
+ 00029480  0x00007dd7 iforce  0x00000012 
+ 00029481  0x00007dd8 lshift  0x00000011 , 0x0000003f 
+ 00029482  0x00007dd9 iadd  0x00000012 , 0x0000003f 
+ 00029483  0x00007dda istore  0x00000001 , 0x00000005 
+ 00029484  0x00007ddb deposit  0x00000011 
+ 00029485  0x00007ddc iadd  0x00000012 , 0x0000003f 
+ 00029486  0x00007ddd istore  0x00000001 , 0x00000005 
+ 00029487  0x00007dde loop  0x00007325 
+ 00029488  0x00007ddf rtn 
+ 00029489  0x00007de3 setarg  0x008ae42c 
+ 00029490  0x00007de4 iforce  0x00000002 
+ 00029491  0x00007de5 force  0x00000007 , 0x00000039 
+ 00029492  0x00007de6 call  0x00007340 
+ 00029493  0x00007de7 setarg  0x000d751b 
+ 00029494  0x00007de8 iforce  0x00000002 
+ 00029495  0x00007de9 force  0x00000005 , 0x00000039 
+ 00029496  0x00007dea call  0x00007340 
+ 00029497  0x00007deb fetch  0x00000001 , 0x000005a1 
+ 00029498  0x00007dec iforce  0x00000011 
+ 00029499  0x00007ded fetch  0x00000001 , 0x00000595 
+ 00029500  0x00007dee store  0x00000001 , 0x000005a1 
+ 00029501  0x00007def deposit  0x00000011 
+ 00029502  0x00007df0 store  0x00000001 , 0x00000595 
+ 00029503  0x00007df1 rtn 
+ 00029504  0x00007df4 and  0x00000002 , 0x0000000f , 0x00000012 
+ 00029505  0x00007df6 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00029506  0x00007df7 arg  0x00000592 , 0x00000005 
+ 00029507  0x00007df8 iadd  0x00000005 , 0x00000005 
+ 00029508  0x00007df9 ifetch  0x00000001 , 0x00000005 
+ 00029509  0x00007dfa iforce  0x00000013 
+ 00029510  0x00007dfb deposit  0x00000011 
+ 00029511  0x00007dfc istore  0x00000001 , 0x00000005 
+ 00029512  0x00007dfd copy  0x00000013 , 0x00000011 
+ 00029513  0x00007dfe rshift4  0x00000002 , 0x00000002 
+ 00029514  0x00007dff loop  0x00007341 
+ 00029515  0x00007e00 setarg  0x00000592 
+ 00029516  0x00007e01 iadd  0x00000012 , 0x00000005 
+ 00029517  0x00007e02 deposit  0x00000011 
+ 00029518  0x00007e03 istore  0x00000001 , 0x00000005 
+ 00029519  0x00007e04 rtn 
+ 00029520  0x00007e07 enable  0x00000028 
+ 00029521  0x00007e08 branch  0x00007353 
+ 00029522  0x00007e0b disable  0x00000028 
+ 00029523  0x00007e0d force  0x00000010 , 0x00000039 
+ 00029524  0x00007e0f ifetcht  0x00000001 , 0x00000011 
+ 00029525  0x00007e10 ifetch  0x00000001 , 0x00000012 
+ 00029526  0x00007e11 branch  0x00007359 , 0x00000028 
+ 00029527  0x00007e12 ixor  0x00000002 , 0x0000003f 
+ 00029528  0x00007e13 branch  0x0000735a 
+ 00029529  0x00007e15 iadd  0x00000002 , 0x0000003f 
+ 00029530  0x00007e17 istore  0x00000001 , 0x00000005 
+ 00029531  0x00007e18 increase  0x00000001 , 0x00000011 
+ 00029532  0x00007e19 increase  0x00000001 , 0x00000012 
+ 00029533  0x00007e1a loop  0x00007354 
+ 00029534  0x00007e1b rtn 
+ 00029535  0x00007e1f arg  0x000005b2 , 0x00000005 
+ 00029536  0x00007e20 ifetch  0x00000006 , 0x00000011 
+ 00029537  0x00007e21 istore  0x00000006 , 0x00000005 
+ 00029538  0x00007e22 branch  0x00007365 , 0x00000028 
+ 00029539  0x00007e23 ifetch  0x00000006 , 0x00000011 
+ 00029540  0x00007e24 branch  0x00007366 
+ 00029541  0x00007e26 ifetch  0x00000006 , 0x00000006 
+ 00029542  0x00007e28 istore  0x00000006 , 0x00000005 
+ 00029543  0x00007e29 ifetch  0x00000004 , 0x00000011 
+ 00029544  0x00007e2a istore  0x00000004 , 0x00000005 
+ 00029545  0x00007e2b rtn 
+ 00029546  0x00007e2e arg  0x000041be , 0x00000006 
+ 00029547  0x00007e2f arg  0x000005a2 , 0x00000005 
+ 00029548  0x00007e30 arg  0x00000000 , 0x00000002 
+ 00029549  0x00007e31 setarg  0x008395a7 
+ 00029550  0x00007e32 call  0x0000738b 
+ 00029551  0x00007e33 setarg  0x00b3c1df 
+ 00029552  0x00007e34 call  0x0000738b 
+ 00029553  0x00007e35 setarg  0x0000e5e9 
+ 00029554  0x00007e36 call  0x0000738c 
+ 00029555  0x00007e37 copy  0x00000002 , 0x00000014 
+ 00029556  0x00007e38 disable  0x00000028 
+ 00029557  0x00007e39 call  0x00007379 
+ 00029558  0x00007e3a copy  0x00000014 , 0x00000002 
+ 00029559  0x00007e3b enable  0x00000028 
+ 00029560  0x00007e3c branch  0x00007379 
+ 00029561  0x00007e3f force  0x00000008 , 0x00000039 
+ 00029562  0x00007e41 ifetch  0x00000001 , 0x00000006 
+ 00029563  0x00007e42 compare  0x00000001 , 0x00000039 , 0x00000001 
+ 00029564  0x00007e43 branch  0x00007380 , 0x00000028 
+ 00029565  0x00007e44 branch  0x00007381 , 0x00000001 
+ 00029566  0x00007e46 iadd  0x00000002 , 0x0000003f 
+ 00029567  0x00007e47 branch  0x00007382 
+ 00029568  0x00007e49 branch  0x0000737e , 0x00000001 
+ 00029569  0x00007e4b ixor  0x00000002 , 0x0000003f 
+ 00029570  0x00007e4d istore  0x00000001 , 0x00000005 
+ 00029571  0x00007e4e rshift8  0x00000002 , 0x00000002 
+ 00029572  0x00007e4f loop  0x0000737a 
+ 00029573  0x00007e50 rtn 
+ 00029574  0x00007e53 fetch  0x00000006 , 0x00000596 
+ 00029575  0x00007e54 store  0x00000006 , 0x00000056 
+ 00029576  0x00007e55 ifetch  0x00000006 , 0x00000006 
+ 00029577  0x00007e56 istore  0x00000006 , 0x00000005 
+ 00029578  0x00007e57 rtn 
+ 00029579  0x00007e5a lshift8  0x00000002 , 0x00000002 
+ 00029580  0x00007e5c lshift16  0x00000002 , 0x00000002 
+ 00029581  0x00007e5d ior  0x00000002 , 0x00000002 
+ 00029582  0x00007e5e rtn 
+ 00029583  0x00007e63 branch  0x0000738f 
+ 00029584  0x00007e68 bpatchx  0x000000e0 , 0x0000403c 
+ 00029585  0x00007e69 call  0x0000742b 
+ 00029586  0x00007e6a arg  0x00004419 , 0x00000005 
+ 00029587  0x00007e6b branch  0x00007497 
+ 00029588  0x00007e6f arg  0x0000443a , 0x00000005 
+ 00029589  0x00007e70 branch  0x00007397 , 0x00000029 
+ 00029590  0x00007e71 arg  0x0000042f , 0x00000005 
+ 00029591  0x00007e73 copy  0x00000006 , 0x00000011 
+ 00029592  0x00007e74 call  0x00007ebf 
+ 00029593  0x00007e75 call  0x00007440 
+ 00029594  0x00007e76 arg  0x0000442a , 0x00000006 
+ 00029595  0x00007e77 branch  0x000074b0 
+ 00029596  0x00007e7a arg  0x0000042f , 0x00000011 
+ 00029597  0x00007e7b branch  0x0000739f , 0x00000029 
+ 00029598  0x00007e7c arg  0x0000443a , 0x00000011 
+ 00029599  0x00007e7e copy  0x00000011 , 0x00000005 
+ 00029600  0x00007e7f call  0x0000630c 
+ 00029601  0x00007e80 branch  0x00007440 
+ 00029602  0x00007e83 arg  0x000044aa , 0x00000006 
+ 00029603  0x00007e84 call  0x00007486 
+ 00029604  0x00007e85 arg  0x00004419 , 0x00000006 
+ 00029605  0x00007e86 call  0x00007487 
+ 00029606  0x00007e87 force  0x00000038 , 0x00000036 
+ 00029607  0x00007e88 force  0x00000000 , 0x00000036 
+ 00029608  0x00007e89 call  0x0000741d 
+ 00029609  0x00007e8a arg  0x0000047c , 0x00000005 
+ 00029610  0x00007e8b branch  0x00007497 
+ 00029611  0x00007e8f force  0x00000049 , 0x0000003f 
+ 00029612  0x00007e90 branch  0x000073ae 
+ 00029613  0x00007e92 force  0x00000001 , 0x0000003f 
+ 00029614  0x00007e94 force  0x00000000 , 0x00000038 
+ 00029615  0x00007e95 lshift8  0x00000002 , 0x0000002f 
+ 00029616  0x00007e96 ior  0x0000002f , 0x0000002f 
+ 00029617  0x00007e97 increase  0x00000001 , 0x00000038 
+ 00029618  0x00007e98 rshift8  0x00000002 , 0x0000002f 
+ 00029619  0x00007e99 rshift16  0x0000002f , 0x0000002f 
+ 00029620  0x00007e9a fetch  0x00000002 , 0x00004411 
+ 00029621  0x00007e9b lshift16 , 0x0000003f , 0x0000003f 
+ 00029622  0x00007e9c ior  0x0000002f , 0x0000002f 
+ 00029623  0x00007e9d increase  0x00000001 , 0x00000038 
+ 00029624  0x00007e9e ifetch  0x00000004 , 0x00000006 
+ 00029625  0x00007e9f iforce  0x0000002f 
+ 00029626  0x00007ea0 increase  0x00000001 , 0x00000038 
+ 00029627  0x00007ea1 ifetch  0x00000002 , 0x00000006 
+ 00029628  0x00007ea2 byteswap  0x00000011 , 0x0000002f 
+ 00029629  0x00007ea3 lshift16  0x0000002f , 0x0000002f 
+ 00029630  0x00007ea4 ior  0x0000002f , 0x0000002f 
+ 00029631  0x00007ea5 increase  0x00000001 , 0x00000038 
+ 00029632  0x00007ea6 rtn 
+ 00029633  0x00007eab add  0x00000013 , 0x00000001 , 0x00000006 
+ 00029634  0x00007eac ifetch  0x00000001 , 0x00000006 
+ 00029635  0x00007ead iforce  0x00000011 
+ 00029636  0x00007eae call  0x000073ab 
+ 00029637  0x00007eaf call  0x0000741f 
+ 00029638  0x00007eb1 force  0x00000000 , 0x00000038 
+ 00029639  0x00007eb2 ifetch  0x00000001 , 0x00000013 
+ 00029640  0x00007eb3 and_into  0x00000003 , 0x0000003f 
+ 00029641  0x00007eb4 lshift16  0x0000003f , 0x0000002f 
+ 00029642  0x00007eb5 set1  0x00000008 , 0x0000002f 
+ 00029643  0x00007eb6 call  0x0000748f 
+ 00029644  0x00007eb7 call  0x00007422 
+ 00029645  0x00007eb9 copy  0x00000011 , 0x00000039 
+ 00029646  0x00007eba add  0x00000013 , 0x00000002 , 0x00000006 
+ 00029647  0x00007ebb call  0x0000746e 
+ 00029648  0x00007ebd call  0x00007478 
+ 00029649  0x00007ebe call  0x00007422 
+ 00029650  0x00007ebf deposit  0x00000039 
+ 00029651  0x00007ec0 branch  0x000073d5 , 0x00000034 
+ 00029652  0x00007ec1 branch  0x000073d0 
+ 00029653  0x00007ec3 force  0x0000000c , 0x00000038 
+ 00029654  0x00007ec4 deposit  0x0000002f 
+ 00029655  0x00007ec5 store  0x00000004 , 0x00000417 
+ 00029656  0x00007ec6 rtn 
+ 00029657  0x00007ec9 increase  0x00000001 , 0x00000011 
+ 00029658  0x00007eca call  0x000073ad 
+ 00029659  0x00007ecb copy  0x00000013 , 0x00000006 
+ 00029660  0x00007ecc call  0x00007482 
+ 00029661  0x00007ecd call  0x00007425 
+ 00029662  0x00007ece call  0x0000749e 
+ 00029663  0x00007ecf increase  0x00000010 , 0x00000013 
+ 00029664  0x00007ed0 increase  0xfffffff0 , 0x00000012 
+ 00029665  0x00007ed1 branch  0x000073d9 , 0x00000002 
+ 00029666  0x00007ed2 rtn 
+ 00029667  0x00007ed5 bpatchx  0x000000e1 , 0x0000403c 
+ 00029668  0x00007ed6 arg  0x000043dc , 0x00000013 
+ 00029669  0x00007ed7 fetcht  0x00000005 , 0x00004403 
+ 00029670  0x00007ed8 call  0x000073c1 
+ 00029671  0x00007ed9 force  0x00000008 , 0x00000038 
+ 00029672  0x00007eda iforce  0x0000002f 
+ 00029673  0x00007edb force  0x00000000 , 0x00000011 
+ 00029674  0x00007edc call  0x000073ad 
+ 00029675  0x00007edd call  0x00007425 
+ 00029676  0x00007ede arg  0x000043de , 0x00000013 
+ 00029677  0x00007edf fetch  0x00000001 , 0x000043dd 
+ 00029678  0x00007ee0 add  0x0000003f , 0xffffffff , 0x00000012 
+ 00029679  0x00007ee1 iadd  0x00000013 , 0x00000005 
+ 00029680  0x00007ee2 force  0x0000000c , 0x00000038 
+ 00029681  0x00007ee3 deposit  0x0000002f 
+ 00029682  0x00007ee4 istore  0x00000004 , 0x00000005 
+ 00029683  0x00007ee5 call  0x000073d9 
+ 00029684  0x00007ee6 fetch  0x00000001 , 0x000043dd 
+ 00029685  0x00007ee7 increase  0x00000004 , 0x0000003f 
+ 00029686  0x00007ee8 store  0x00000001 , 0x000043dd 
+ 00029687  0x00007ee9 fetcht  0x00000005 , 0x00004403 
+ 00029688  0x00007eea increase  0x00000001 , 0x00000002 
+ 00029689  0x00007eeb storet  0x00000005 , 0x00004403 
+ 00029690  0x00007eec rtn 
+ 00029691  0x00007eef bpatchx  0x000000e2 , 0x0000403c 
+ 00029692  0x00007ef0 fetch  0x00000001 , 0x000002da 
+ 00029693  0x00007ef1 sub  0x0000003f , 0x00000014 , 0x0000003e 
+ 00029694  0x00007ef2 branch  0x000073ff , 0x00000002 
+ 00029695  0x00007ef4 arg  0x000002db , 0x00000013 
+ 00029696  0x00007ef5 add  0x0000003f , 0xffffffff , 0x00000012 
+ 00029697  0x00007ef6 increase  0xfffffffc , 0x0000003f 
+ 00029698  0x00007ef7 store  0x00000001 , 0x000002da 
+ 00029699  0x00007ef8 iadd  0x00000013 , 0x00000006 
+ 00029700  0x00007ef9 ifetch  0x00000004 , 0x00000006 
+ 00029701  0x00007efa force  0x00000008 , 0x00000038 
+ 00029702  0x00007efb iforce  0x0000002f 
+ 00029703  0x00007efc force  0x00000000 , 0x00000011 
+ 00029704  0x00007efd fetcht  0x00000005 , 0x00004408 
+ 00029705  0x00007efe call  0x000073ad 
+ 00029706  0x00007eff call  0x00007425 
+ 00029707  0x00007f00 force  0x0000000c , 0x00000038 
+ 00029708  0x00007f01 deposit  0x0000002f 
+ 00029709  0x00007f02 store  0x00000004 , 0x0000041b 
+ 00029710  0x00007f03 call  0x000073d9 
+ 00029711  0x00007f04 arg  0x000002d9 , 0x00000013 
+ 00029712  0x00007f05 call  0x000073c1 
+ 00029713  0x00007f06 fetcht  0x00000004 , 0x0000041b 
+ 00029714  0x00007f07 isub  0x00000002 , 0x0000003f 
+ 00029715  0x00007f08 nrtn  0x00000034 
+ 00029716  0x00007f09 fetch  0x00000004 , 0x0000440d 
+ 00029717  0x00007f0a isub  0x00000002 , 0x0000003f 
+ 00029718  0x00007f0b rtn  0x00000034 
+ 00029719  0x00007f0c storet  0x00000004 , 0x0000440d 
+ 00029720  0x00007f0d fetch  0x00000005 , 0x00004408 
+ 00029721  0x00007f0e increase  0x00000001 , 0x0000003f 
+ 00029722  0x00007f0f store  0x00000005 , 0x00004408 
+ 00029723  0x00007f10 force  0x00000000 , 0x0000003f 
+ 00029724  0x00007f11 rtn 
+ 00029725  0x00007f14 nbranch  0x0000741d , 0x00000037 
+ 00029726  0x00007f15 rtn 
+ 00029727  0x00007f18 force  0x00000030 , 0x00000036 
+ 00029728  0x00007f19 force  0x00000000 , 0x00000036 
+ 00029729  0x00007f1a branch  0x0000741d 
+ 00029730  0x00007f1d force  0x00000032 , 0x00000036 
+ 00029731  0x00007f1e force  0x00000002 , 0x00000036 
+ 00029732  0x00007f1f branch  0x0000741d 
+ 00029733  0x00007f22 force  0x00000034 , 0x00000036 
+ 00029734  0x00007f23 force  0x00000004 , 0x00000036 
+ 00029735  0x00007f24 branch  0x0000741d 
+ 00029736  0x00007f28 force  0x00000001 , 0x00000036 
+ 00029737  0x00007f29 force  0x00000000 , 0x00000036 
+ 00029738  0x00007f2a rtn 
+ 00029739  0x00007f2c force  0x00000000 , 0x00000038 
+ 00029740  0x00007f2d fetch  0x00000004 , 0x0000042f 
+ 00029741  0x00007f2e iforce  0x0000002f 
+ 00029742  0x00007f2f increase  0x00000001 , 0x00000038 
+ 00029743  0x00007f30 ifetch  0x00000004 , 0x00000006 
+ 00029744  0x00007f31 iforce  0x0000002f 
+ 00029745  0x00007f32 increase  0x00000001 , 0x00000038 
+ 00029746  0x00007f33 fetch  0x00000004 , 0x0000443a 
+ 00029747  0x00007f34 iforce  0x0000002f 
+ 00029748  0x00007f35 increase  0x00000001 , 0x00000038 
+ 00029749  0x00007f36 ifetch  0x00000004 , 0x00000006 
+ 00029750  0x00007f37 iforce  0x0000002f 
+ 00029751  0x00007f38 increase  0x00000001 , 0x00000038 
+ 00029752  0x00007f39 call  0x00007492 
+ 00029753  0x00007f3a increase  0xfffffffc , 0x00000038 
+ 00029754  0x00007f3b fetch  0x00000004 , 0x000044c7 
+ 00029755  0x00007f3c copy  0x0000003f , 0x0000002f 
+ 00029756  0x00007f3d increase  0x00000004 , 0x00000038 
+ 00029757  0x00007f3e force  0x00000038 , 0x00000036 
+ 00029758  0x00007f3f force  0x00000008 , 0x00000036 
+ 00029759  0x00007f40 branch  0x0000741d 
+ 00029760  0x00007f44 bpatchx  0x000000e3 , 0x0000403c 
+ 00029761  0x00007f45 fetch  0x00000006 , 0x000044a0 
+ 00029762  0x00007f46 fetcht  0x00000006 , 0x0000044f 
+ 00029763  0x00007f47 branch  0x00007446 , 0x00000029 
+ 00029764  0x00007f48 fetch  0x00000006 , 0x0000044f 
+ 00029765  0x00007f49 fetcht  0x00000006 , 0x000044a0 
+ 00029766  0x00007f4b force  0x00000008 , 0x00000038 
+ 00029767  0x00007f4c copy  0x00000002 , 0x0000002f 
+ 00029768  0x00007f4d increase  0x00000001 , 0x00000038 
+ 00029769  0x00007f4e rshift32  0x00000002 , 0x0000002f 
+ 00029770  0x00007f4f lshift16  0x0000003f , 0x0000003f 
+ 00029771  0x00007f50 ior  0x0000002f , 0x0000002f 
+ 00029772  0x00007f51 increase  0x00000001 , 0x00000038 
+ 00029773  0x00007f52 rshift32  0x0000003f , 0x0000002f 
+ 00029774  0x00007f53 increase  0x00000001 , 0x00000038 
+ 00029775  0x00007f54 force  0x00000000 , 0x0000002f 
+ 00029776  0x00007f55 force  0x00000000 , 0x0000003f 
+ 00029777  0x00007f56 fetch  0x00000001 , 0x0000448e 
+ 00029778  0x00007f57 fetcht  0x00000001 , 0x00004485 
+ 00029779  0x00007f58 nbranch  0x00007456 , 0x00000029 
+ 00029780  0x00007f5a fetch  0x00000001 , 0x00004495 
+ 00029781  0x00007f5b fetcht  0x00000001 , 0x0000448e 
+ 00029782  0x00007f5d store  0x00000001 , 0x0000444a 
+ 00029783  0x00007f5e storet  0x00000001 , 0x0000444b 
+ 00029784  0x00007f5f force  0x00000000 , 0x00000038 
+ 00029785  0x00007f60 arg  0x0000444a , 0x00000012 
+ 00029786  0x00007f61 force  0x00000004 , 0x00000039 
+ 00029787  0x00007f63 ifetch  0x00000004 , 0x00000011 
+ 00029788  0x00007f64 ifetcht  0x00000004 , 0x00000012 
+ 00029789  0x00007f65 ixor  0x00000002 , 0x0000002f 
+ 00029790  0x00007f66 increase  0x00000001 , 0x00000038 
+ 00029791  0x00007f67 increase  0x00000004 , 0x00000011 
+ 00029792  0x00007f68 increase  0x00000004 , 0x00000012 
+ 00029793  0x00007f69 loop  0x0000745b 
+ 00029794  0x00007f6a call  0x00007492 
+ 00029795  0x00007f6b increase  0xfffffffc , 0x00000038 
+ 00029796  0x00007f6c fetch  0x00000004 , 0x000044c7 
+ 00029797  0x00007f6d copy  0x0000003f , 0x0000002f 
+ 00029798  0x00007f6e increase  0x00000004 , 0x00000038 
+ 00029799  0x00007f6f force  0x00000038 , 0x00000036 
+ 00029800  0x00007f70 force  0x0000000c , 0x00000036 
+ 00029801  0x00007f71 call  0x0000741d 
+ 00029802  0x00007f73 call  0x00007491 
+ 00029803  0x00007f74 force  0x0000003a , 0x00000036 
+ 00029804  0x00007f75 force  0x00000008 , 0x00000036 
+ 00029805  0x00007f76 branch  0x0000741d 
+ 00029806  0x00007f79 compare  0x00000000 , 0x00000039 , 0x00000003 
+ 00029807  0x00007f7a rtn  0x00000001 
+ 00029808  0x00007f7b deposit  0x00000006 
+ 00029809  0x00007f7c iadd  0x00000039 , 0x00000005 
+ 00029810  0x00007f7d force  0x00000000 , 0x0000003f 
+ 00029811  0x00007f7f istore  0x00000001 , 0x00000005 
+ 00029812  0x00007f80 increase  0x00000001 , 0x00000039 
+ 00029813  0x00007f81 compare  0x00000000 , 0x00000039 , 0x00000003 
+ 00029814  0x00007f82 rtn  0x00000001 
+ 00029815  0x00007f83 branch  0x00007473 
+ 00029816  0x00007f86 force  0x00000000 , 0x00000038 
+ 00029817  0x00007f88 deposit  0x00000039 
+ 00029818  0x00007f89 branch  0x0000747d , 0x00000034 
+ 00029819  0x00007f8a ifetch  0x00000004 , 0x00000006 
+ 00029820  0x00007f8b increase  0xfffffffc , 0x00000039 
+ 00029821  0x00007f8d iforce  0x0000002f 
+ 00029822  0x00007f8e increase  0x00000001 , 0x00000038 
+ 00029823  0x00007f8f compare  0x00000004 , 0x00000038 , 0x0000000f 
+ 00029824  0x00007f90 rtn  0x00000001 
+ 00029825  0x00007f91 branch  0x00007479 
+ 00029826  0x00007f94 force  0x00000008 , 0x00000038 
+ 00029827  0x00007f95 branch  0x00007487 
+ 00029828  0x00007f97 force  0x00000004 , 0x00000038 
+ 00029829  0x00007f98 branch  0x00007487 
+ 00029830  0x00007f9a force  0x00000000 , 0x00000038 
+ 00029831  0x00007f9c force  0x00000004 , 0x00000039 
+ 00029832  0x00007f9e ifetch  0x00000004 , 0x00000006 
+ 00029833  0x00007f9f iforce  0x0000002f 
+ 00029834  0x00007fa0 increase  0x00000001 , 0x00000038 
+ 00029835  0x00007fa1 loop  0x00007488 
+ 00029836  0x00007fa2 rtn 
+ 00029837  0x00007fa5 arg  0x0000047c , 0x00000006 
+ 00029838  0x00007fa6 branch  0x00007484 
+ 00029839  0x00007fa9 force  0x00000004 , 0x00000039 
+ 00029840  0x00007faa branch  0x00007494 
+ 00029841  0x00007fad force  0x00000000 , 0x00000038 
+ 00029842  0x00007faf force  0x00000004 , 0x00000039 
+ 00029843  0x00007fb1 force  0x00000000 , 0x0000002f 
+ 00029844  0x00007fb3 increase  0x00000001 , 0x00000038 
+ 00029845  0x00007fb4 loop  0x00007493 
+ 00029846  0x00007fb5 rtn 
+ 00029847  0x00007fb8 force  0x0000000c , 0x00000038 
+ 00029848  0x00007fb9 force  0x00000004 , 0x00000039 
+ 00029849  0x00007fbb deposit  0x0000002f 
+ 00029850  0x00007fbc istore  0x00000004 , 0x00000005 
+ 00029851  0x00007fbd increase  0x00000001 , 0x00000038 
+ 00029852  0x00007fbe loop  0x00007499 
+ 00029853  0x00007fbf rtn 
+ 00029854  0x00007fc2 force  0x0000000c , 0x00000038 
+ 00029855  0x00007fc3 copy  0x00000013 , 0x00000005 
+ 00029856  0x00007fc4 add  0x00000012 , 0x00000001 , 0x00000039 
+ 00029857  0x00007fc5 sub  0x00000039 , 0x0000000f , 0x0000003e 
+ 00029858  0x00007fc6 branch  0x000074a4 , 0x00000002 
+ 00029859  0x00007fc7 force  0x00000010 , 0x00000039 
+ 00029860  0x00007fc9 deposit  0x0000002f 
+ 00029861  0x00007fca sub  0x00000039 , 0x00000003 , 0x0000003e 
+ 00029862  0x00007fcb branch  0x000074ac , 0x00000002 
+ 00029863  0x00007fcc istore  0x00000004 , 0x00000005 
+ 00029864  0x00007fcd increase  0xfffffffc , 0x00000039 
+ 00029865  0x00007fce rtn  0x00000005 
+ 00029866  0x00007fcf increase  0x00000001 , 0x00000038 
+ 00029867  0x00007fd0 branch  0x000074a4 
+ 00029868  0x00007fd2 istore  0x00000001 , 0x00000005 
+ 00029869  0x00007fd3 rshift8  0x0000003f , 0x0000003f 
+ 00029870  0x00007fd4 loop  0x000074ac 
+ 00029871  0x00007fd5 rtn 
+ 00029872  0x00007fd9 force  0x0000000c , 0x00000038 
+ 00029873  0x00007fda force  0x00000004 , 0x00000039 
+ 00029874  0x00007fdc ifetch  0x00000004 , 0x00000006 
+ 00029875  0x00007fdd isub  0x0000002f , 0x0000003e 
+ 00029876  0x00007fde nrtn  0x00000005 
+ 00029877  0x00007fdf increase  0x00000001 , 0x00000038 
+ 00029878  0x00007fe0 loop  0x000074b2 
+ 00029879  0x00007fe1 force  0x00000000 , 0x0000003e 
+ 00029880  0x00007fe2 rtn 
+ 00029881  0x00007fe5 hfetch  0x00000001 , 0x00008050 
+ 00029882  0x00007fe6 set0  0x00000000 , 0x0000003f 
+ 00029883  0x00007fe7 hstore  0x00000001 , 0x00008050 
+ 00029884  0x00007fe8 rtn 
+ 00029885  0x00007feb hfetch  0x00000001 , 0x00008050 
+ 00029886  0x00007fec set1  0x00000000 , 0x0000003f 
+ 00029887  0x00007fed hstore  0x00000001 , 0x00008050 
+ 00029888  0x00007fee rtn 
+ 00029889  0x00007ff1 arg  0x00000886 , 0x00000005 
+ 00029890  0x00007ff2 setsect  0x00000000 , 0x0003ffff 
+ 00029891  0x00007ff3 setsect  0x00000001 , 0x0003ffff 
+ 00029892  0x00007ff4 setsect  0x00000002 , 0x0003ffff 
+ 00029893  0x00007ff5 setsect  0x00000003 , 0x0003fbff 
+ 00029894  0x00007ff6 istore  0x00000009 , 0x00000005 
+ 00029895  0x00007ff7 setsect  0x00000000 , 0x0003ffff 
+ 00029896  0x00007ff8 setsect  0x00000001 , 0x0003ffff 
+ 00029897  0x00007ff9 setsect  0x00000002 , 0x0003ffff 
+ 00029898  0x00007ffa setsect  0x00000003 , 0x0003ffff 
+ 00029899  0x00007ffb istore  0x00000009 , 0x00000005 
+ 00029900  0x00007ffc setsect  0x00000000 , 0x0003ffff 
+ 00029901  0x00007ffd setsect  0x00000001 , 0x0003ffff 
+ 00029902  0x00007ffe setsect  0x00000002 , 0x0003cfff 
+ 00029903  0x00007fff setsect  0x00000003 , 0x0003ffff 
+ 00029904  0x00008000 istore  0x00000009 , 0x00000005 
+ 00029905  0x00008001 setsect  0x00000000 , 0x0003ffff 
+ 00029906  0x00008002 setsect  0x00000001 , 0x0003ffff 
+ 00029907  0x00008003 setsect  0x00000002 , 0x0003ffef 
+ 00029908  0x00008004 setsect  0x00000003 , 0x0003ffff 
+ 00029909  0x00008005 istore  0x00000009 , 0x00000005 
+ 00029910  0x00008006 setsect  0x00000000 , 0x0003ffff 
+ 00029911  0x00008007 setsect  0x00000001 , 0x0003ffff 
+ 00029912  0x00008008 setsect  0x00000002 , 0x0003ffff 
+ 00029913  0x00008009 setsect  0x00000003 , 0x0003ffff 
+ 00029914  0x0000800a istore  0x00000009 , 0x00000005 
+ 00029915  0x0000800b setsect  0x00000000 , 0x0003ffff 
+ 00029916  0x0000800c setsect  0x00000001 , 0x00026c7f 
+ 00029917  0x0000800d setsect  0x00000002 , 0x0000146b 
+ 00029918  0x0000800e setsect  0x00000003 , 0x00037bb3 
+ 00029919  0x0000800f istore  0x00000009 , 0x00000005 
+ 00029920  0x00008010 setsect  0x00000000 , 0x0001feb8 
+ 00029921  0x00008011 setsect  0x00000001 , 0x00010c12 
+ 00029922  0x00008012 setsect  0x00000002 , 0x0002b722 
+ 00029923  0x00008013 setsect  0x00000003 , 0x00029fa6 
+ 00029924  0x00008014 istore  0x00000009 , 0x00000005 
+ 00029925  0x00008015 setsect  0x00000000 , 0x0000e70f 
+ 00029926  0x00008016 setsect  0x00000001 , 0x00016720 
+ 00029927  0x00008017 setsect  0x00000002 , 0x0000519e 
+ 00029928  0x00008018 setsect  0x00000003 , 0x00019084 
+ 00029929  0x00008019 istore  0x00000009 , 0x00000005 
+ 00029930  0x0000801a setsect  0x00000000 , 0x00031012 
+ 00029931  0x0000801b setsect  0x00000001 , 0x000360bf 
+ 00029932  0x0000801c setsect  0x00000002 , 0x0003f0af 
+ 00029933  0x0000801d setsect  0x00000003 , 0x000003d3 
+ 00029934  0x0000801e istore  0x00000009 , 0x00000005 
+ 00029935  0x0000801f setsect  0x00000000 , 0x0003a188 
+ 00029936  0x00008020 setsect  0x00000001 , 0x00003ad0 
+ 00029937  0x00008021 setsect  0x00000002 , 0x0003cbf2 
+ 00029938  0x00008022 setsect  0x00000003 , 0x000243d9 
+ 00029939  0x00008023 istore  0x00000009 , 0x00000005 
+ 00029940  0x00008024 setsect  0x00000000 , 0x0002b030 
+ 00029941  0x00008025 setsect  0x00000001 , 0x00036a03 
+ 00029942  0x00008026 setsect  0x00000002 , 0x00011188 
+ 00029943  0x00008027 setsect  0x00000003 , 0x0001e520 
+ 00029944  0x00008028 istore  0x00000009 , 0x00000005 
+ 00029945  0x00008029 setsect  0x00000000 , 0x0003a11e 
+ 00029946  0x0000802a setsect  0x00000001 , 0x0000fe5d 
+ 00029947  0x0000802b setsect  0x00000002 , 0x0000dd57 
+ 00029948  0x0000802c setsect  0x00000003 , 0x0001ac93 
+ 00029949  0x0000802d istore  0x00000009 , 0x00000005 
+ 00029950  0x0000802e setsect  0x00000000 , 0x000011ed 
+ 00029951  0x0000802f setsect  0x00000001 , 0x000218c4 
+ 00029952  0x00008030 setsect  0x00000002 , 0x00008da7 
+ 00029953  0x00008031 setsect  0x00000003 , 0x000257ff 
+ 00029954  0x00008032 istore  0x00000009 , 0x00000005 
+ 00029955  0x00008033 setsect  0x00000000 , 0x0003192b 
+ 00029956  0x00008034 setsect  0x00000001 , 0x00034641 
+ 00029957  0x00008035 setsect  0x00000002 , 0x0001be0c 
+ 00029958  0x00008036 setsect  0x00000003 , 0x000366ad 
+ 00029959  0x00008037 istore  0x00000009 , 0x00000005 
+ 00029960  0x00008038 setsect  0x00000000 , 0x00001f83 
+ 00029961  0x00008039 setsect  0x00000001 , 0x00015a23 
+ 00029962  0x0000803a setsect  0x00000002 , 0x0003f9b0 
+ 00029963  0x0000803b setsect  0x00000003 , 0x00003949 
+ 00029964  0x0000803c istore  0x00000009 , 0x00000005 
+ 00029965  0x0000803d setsect  0x00000000 , 0x00013a51 
+ 00029966  0x0000803e setsect  0x00000001 , 0x000153fd 
+ 00029967  0x0000803f setsect  0x00000002 , 0x0003372a 
+ 00029968  0x00008040 setsect  0x00000003 , 0x0000f1bb 
+ 00029969  0x00008041 istore  0x00000009 , 0x00000005 
+ 00029970  0x00008042 setsect  0x00000000 , 0x0003ae85 
+ 00029971  0x00008043 setsect  0x00000001 , 0x0001eed9 
+ 00029972  0x00008044 setsect  0x00000002 , 0x00009e66 
+ 00029973  0x00008045 setsect  0x00000003 , 0x000001a8 
+ 00029974  0x00008046 istore  0x00000008 , 0x00000005 
+ 00029975  0x00008047 rtn 
+ 00029976  0x0000804c arg  0x0000091e , 0x00000005 
+ 00029977  0x0000804d setsect  0x00000000 , 0x0003ffff 
+ 00029978  0x0000804e setsect  0x00000001 , 0x0003ffff 
+ 00029979  0x0000804f setsect  0x00000002 , 0x0003ffff 
+ 00029980  0x00008050 setsect  0x00000003 , 0x0003ffff 
+ 00029981  0x00008051 istore  0x00000009 , 0x00000005 
+ 00029982  0x00008052 setsect  0x00000000 , 0x0003ffff 
+ 00029983  0x00008053 setsect  0x00000001 , 0x0000003f 
+ 00029984  0x00008054 setsect  0x00000002 , 0x00000000 
+ 00029985  0x00008055 setsect  0x00000003 , 0x00000000 
+ 00029986  0x00008056 istore  0x00000009 , 0x00000005 
+ 00029987  0x00008057 setsect  0x00000000 , 0x00000000 
+ 00029988  0x00008058 setsect  0x00000001 , 0x00000000 
+ 00029989  0x00008059 setsect  0x00000002 , 0x00001000 
+ 00029990  0x0000805a setsect  0x00000003 , 0x00000000 
+ 00029991  0x0000805b istore  0x00000009 , 0x00000005 
+ 00029992  0x0000805c setsect  0x00000000 , 0x0003ff00 
+ 00029993  0x0000805d setsect  0x00000001 , 0x0003ffff 
+ 00029994  0x0000805e setsect  0x00000002 , 0x0003ffcf 
+ 00029995  0x0000805f setsect  0x00000003 , 0x0003ffff 
+ 00029996  0x00008060 istore  0x00000009 , 0x00000005 
+ 00029997  0x00008061 setsect  0x00000000 , 0x0003ffff 
+ 00029998  0x00008062 setsect  0x00000001 , 0x0003ffff 
+ 00029999  0x00008063 setsect  0x00000002 , 0x0003ffff 
+ 00030000  0x00008064 setsect  0x00000003 , 0x000003ff 
+ 00030001  0x00008065 istore  0x00000009 , 0x00000005 
+ 00030002  0x00008066 setsect  0x00000000 , 0x00000000 
+ 00030003  0x00008067 setsect  0x00000001 , 0x00000000 
+ 00030004  0x00008068 setsect  0x00000002 , 0x00000000 
+ 00030005  0x00008069 setsect  0x00000003 , 0x00000000 
+ 00030006  0x0000806a istore  0x00000009 , 0x00000005 
+ 00030007  0x0000806b setsect  0x00000000 , 0x00010000 
+ 00030008  0x0000806c setsect  0x00000001 , 0x00000000 
+ 00030009  0x0000806d setsect  0x00000002 , 0x0003f000 
+ 00030010  0x0000806e setsect  0x00000003 , 0x0003ffff 
+ 00030011  0x0000806f istore  0x00000009 , 0x00000005 
+ 00030012  0x00008070 setsect  0x00000000 , 0x000296ff 
+ 00030013  0x00008071 setsect  0x00000001 , 0x00022630 
+ 00030014  0x00008072 setsect  0x00000002 , 0x0003945d 
+ 00030015  0x00008073 setsect  0x00000003 , 0x0003d284 
+ 00030016  0x00008074 istore  0x00000009 , 0x00000005 
+ 00030017  0x00008075 setsect  0x00000000 , 0x000333a0 
+ 00030018  0x00008076 setsect  0x00000001 , 0x00004b7a 
+ 00030019  0x00008077 setsect  0x00000002 , 0x000037d8 
+ 00030020  0x00008078 setsect  0x00000003 , 0x0003c9dc 
+ 00030021  0x00008079 istore  0x00000009 , 0x00000005 
+ 00030022  0x0000807a setsect  0x00000000 , 0x0003a440 
+ 00030023  0x0000807b setsect  0x00000001 , 0x0001b958 
+ 00030024  0x0000807c setsect  0x00000002 , 0x00038bce 
+ 00030025  0x0000807d setsect  0x00000003 , 0x0001091f 
+ 00030026  0x0000807e istore  0x00000009 , 0x00000005 
+ 00030027  0x0000807f setsect  0x00000000 , 0x0002e12c 
+ 00030028  0x00008080 setsect  0x00000001 , 0x0001f47c 
+ 00030029  0x00008081 setsect  0x00000002 , 0x000356b1 
+ 00030030  0x00008082 setsect  0x00000003 , 0x0002fd47 
+ 00030031  0x00008083 istore  0x00000009 , 0x00000005 
+ 00030032  0x00008084 setsect  0x00000000 , 0x00006837 
+ 00030033  0x00008085 setsect  0x00000001 , 0x0002ed90 
+ 00030034  0x00008086 setsect  0x00000002 , 0x0001ecec 
+ 00030035  0x00008087 setsect  0x00000003 , 0x0001acc5 
+ 00030036  0x00008088 istore  0x00000009 , 0x00000005 
+ 00030037  0x00008089 setsect  0x00000000 , 0x00023357 
+ 00030038  0x0000808a setsect  0x00000001 , 0x00018af3 
+ 00030039  0x0000808b setsect  0x00000002 , 0x0000f9e1 
+ 00030040  0x0000808c setsect  0x00000003 , 0x000129f0 
+ 00030041  0x0000808d istore  0x00000009 , 0x00000005 
+ 00030042  0x0000808e setsect  0x00000000 , 0x0002e7eb 
+ 00030043  0x0000808f setsect  0x00000001 , 0x0003e6e3 
+ 00030044  0x00008090 setsect  0x00000002 , 0x0003e1a7 
+ 00030045  0x00008091 setsect  0x00000003 , 0x00010b8b 
+ 00030046  0x00008092 istore  0x00000009 , 0x00000005 
+ 00030047  0x00008093 setsect  0x00000000 , 0x00024fe3 
+ 00030048  0x00008094 setsect  0x00000001 , 0x000020ef 
+ 00030049  0x00008095 setsect  0x00000002 , 0x0001b5a6 
+ 00030050  0x00008096 setsect  0x00000003 , 0x0000dc2f 
+ 00030051  0x00008097 istore  0x00000009 , 0x00000005 
+ 00030052  0x00008098 setsect  0x00000000 , 0x00013860 
+ 00030053  0x00008099 setsect  0x00000001 , 0x0002bd69 
+ 00030054  0x0000809a setsect  0x00000002 , 0x0000391a 
+ 00030055  0x0000809b setsect  0x00000003 , 0x0001b222 
+ 00030056  0x0000809c istore  0x00000009 , 0x00000005 
+ 00030057  0x0000809d rtn 
+ 00030058  0x000080a1 fetch  0x00000001 , 0x0000465a 
+ 00030059  0x000080a2 nbranch  0x0000757d , 0x00000034 
+ 00030060  0x000080a3 branch  0x00007a77 
+ 00030061  0x000080a6 bpatchx  0x000000e4 , 0x0000403c 
+ 00030062  0x000080a7 fetch  0x00000001 , 0x0000465a 
+ 00030063  0x000080a8 rtn  0x00000034 
+ 00030064  0x000080a9 fetch  0x00000001 , 0x000045b1 
+ 00030065  0x000080aa rtnne  0x00000001 
+ 00030066  0x000080ab fetch  0x00000001 , 0x000044be 
+ 00030067  0x000080ac rtn  0x00000034 
+ 00030068  0x000080ad fetch  0x00000001 , 0x000044c3 
+ 00030069  0x000080ae rtneq  0x00000003 
+ 00030070  0x000080af fetch  0x00000002 , 0x00004682 
+ 00030071  0x000080b0 bbit1  0x00000000 , 0x0000757b 
+ 00030072  0x000080b1 fetch  0x00000001 , 0x000044c0 
+ 00030073  0x000080b2 beq  0x00000000 , 0x00007a77 
+ 00030074  0x000080b3 rtn 
+ 00030075  0x000080b5 jam  0x00000000 , 0x000044c0 
+ 00030076  0x000080b6 rtn 
+ 00030077  0x000080ba bpatchx  0x000000e5 , 0x0000403c 
+ 00030078  0x000080bb fetch  0x00000001 , 0x0000465a 
+ 00030079  0x000080bc branch  0x0000612b , 0x00000034 
+ 00030080  0x000080bd call  0x00006124 
+ 00030081  0x000080be call  0x00007583 
+ 00030082  0x000080bf branch  0x0000766d 
+ 00030083  0x000080c2 setarg  0x00000000 
+ 00030084  0x000080c3 store  0x00000008 , 0x000009ae 
+ 00030085  0x000080c4 store  0x00000004 , 0x000009b6 
+ 00030086  0x000080c5 store  0x00000007 , 0x0000465e 
+ 00030087  0x000080c6 rtn 
+ 00030088  0x000080c9 jam  0x00000001 , 0x000009b0 
+ 00030089  0x000080ca branch  0x0000758d 
+ 00030090  0x000080cc fetch  0x00000001 , 0x000045b1 
+ 00030091  0x000080cd beq  0x00000001 , 0x0000768a 
+ 00030092  0x000080ce branch  0x00002a8c 
+ 00030093  0x000080d0 fetch  0x00000001 , 0x000045b1 
+ 00030094  0x000080d1 beq  0x00000001 , 0x00007590 
+ 00030095  0x000080d2 branch  0x0000766d 
+ 00030096  0x000080d5 call  0x0000768a 
+ 00030097  0x000080d6 fetch  0x00000001 , 0x000009af 
+ 00030098  0x000080d7 nrtn  0x00000034 
+ 00030099  0x000080d8 jam  0x00000003 , 0x000009ae 
+ 00030100  0x000080d9 rtn 
+ 00030101  0x000080dd call  0x000075b0 
+ 00030102  0x000080de arg  0x000009de , 0x00000011 
+ 00030103  0x000080df arg  0x00000866 , 0x00000005 
+ 00030104  0x000080e0 call  0x00007c79 
+ 00030105  0x000080e1 arg  0x000009be , 0x00000011 
+ 00030106  0x000080e2 arg  0x00000826 , 0x00000005 
+ 00030107  0x000080e3 call  0x00007c79 
+ 00030108  0x000080e4 arg  0x00000826 , 0x00000011 
+ 00030109  0x000080e5 arg  0x000009be , 0x00000012 
+ 00030110  0x000080e6 arg  0x00000826 , 0x00000005 
+ 00030111  0x000080e7 call  0x00007be1 
+ 00030112  0x000080e8 arg  0x0000093e , 0x00000011 
+ 00030113  0x000080e9 arg  0x000009be , 0x00000012 
+ 00030114  0x000080ea arg  0x00000846 , 0x00000005 
+ 00030115  0x000080eb call  0x00007be1 
+ 00030116  0x000080ec arg  0x00000846 , 0x00000011 
+ 00030117  0x000080ed arg  0x00000826 , 0x00000012 
+ 00030118  0x000080ee arg  0x00000826 , 0x00000005 
+ 00030119  0x000080ef call  0x00007c7d 
+ 00030120  0x000080f0 arg  0x00000806 , 0x00000011 
+ 00030121  0x000080f1 arg  0x00000826 , 0x00000012 
+ 00030122  0x000080f2 arg  0x00000806 , 0x00000005 
+ 00030123  0x000080f3 call  0x00007c7d 
+ 00030124  0x000080f4 arg  0x00000020 , 0x00000039 
+ 00030125  0x000080f5 arg  0x00000866 , 0x00000011 
+ 00030126  0x000080f6 arg  0x00000806 , 0x00000012 
+ 00030127  0x000080f7 branch  0x00007f88 
+ 00030128  0x000080fa arg  0x0000097e , 0x00000011 
+ 00030129  0x000080fb arg  0x00000806 , 0x00000005 
+ 00030130  0x000080fc call  0x00007c79 
+ 00030131  0x000080fd arg  0x0000095e , 0x00000011 
+ 00030132  0x000080fe arg  0x00000826 , 0x00000005 
+ 00030133  0x000080ff call  0x00007c79 
+ 00030134  0x00008100 arg  0x00000826 , 0x00000011 
+ 00030135  0x00008101 arg  0x0000095e , 0x00000012 
+ 00030136  0x00008102 arg  0x00000826 , 0x00000005 
+ 00030137  0x00008103 call  0x00007be1 
+ 00030138  0x00008104 arg  0x0000093e , 0x00000011 
+ 00030139  0x00008105 arg  0x0000095e , 0x00000012 
+ 00030140  0x00008106 arg  0x00000846 , 0x00000005 
+ 00030141  0x00008107 call  0x00007be1 
+ 00030142  0x00008108 arg  0x00000846 , 0x00000011 
+ 00030143  0x00008109 arg  0x00000826 , 0x00000012 
+ 00030144  0x0000810a arg  0x00000826 , 0x00000005 
+ 00030145  0x0000810b call  0x00007c7d 
+ 00030146  0x0000810c arg  0x00000806 , 0x00000011 
+ 00030147  0x0000810d arg  0x00000826 , 0x00000012 
+ 00030148  0x0000810e arg  0x00000806 , 0x00000005 
+ 00030149  0x0000810f branch  0x00007c96 
+ 00030150  0x00008112 call  0x000075e1 
+ 00030151  0x00008113 arg  0x000009e6 , 0x00000011 
+ 00030152  0x00008114 arg  0x00000866 , 0x00000005 
+ 00030153  0x00008115 call  0x000077a8 
+ 00030154  0x00008116 arg  0x000009c6 , 0x00000011 
+ 00030155  0x00008117 arg  0x00000826 , 0x00000005 
+ 00030156  0x00008118 call  0x000077a8 
+ 00030157  0x00008119 arg  0x00000826 , 0x00000011 
+ 00030158  0x0000811a arg  0x000009c6 , 0x00000012 
+ 00030159  0x0000811b arg  0x00000826 , 0x00000005 
+ 00030160  0x0000811c call  0x00007786 
+ 00030161  0x0000811d arg  0x0000089e , 0x00000011 
+ 00030162  0x0000811e arg  0x000009c6 , 0x00000012 
+ 00030163  0x0000811f arg  0x00000846 , 0x00000005 
+ 00030164  0x00008120 call  0x00007786 
+ 00030165  0x00008121 arg  0x00000846 , 0x00000011 
+ 00030166  0x00008122 arg  0x00000826 , 0x00000012 
+ 00030167  0x00008123 arg  0x00000826 , 0x00000005 
+ 00030168  0x00008124 call  0x00007755 
+ 00030169  0x00008125 arg  0x00000806 , 0x00000011 
+ 00030170  0x00008126 arg  0x00000826 , 0x00000012 
+ 00030171  0x00008127 arg  0x00000806 , 0x00000005 
+ 00030172  0x00008128 call  0x00007755 
+ 00030173  0x00008129 arg  0x00000018 , 0x00000039 
+ 00030174  0x0000812a arg  0x00000866 , 0x00000011 
+ 00030175  0x0000812b arg  0x00000806 , 0x00000012 
+ 00030176  0x0000812c branch  0x00007f88 
+ 00030177  0x0000812f arg  0x000008e6 , 0x00000011 
+ 00030178  0x00008130 arg  0x00000806 , 0x00000005 
+ 00030179  0x00008131 call  0x000077a8 
+ 00030180  0x00008132 arg  0x000008ce , 0x00000011 
+ 00030181  0x00008133 arg  0x00000826 , 0x00000005 
+ 00030182  0x00008134 call  0x000077a8 
+ 00030183  0x00008135 arg  0x00000826 , 0x00000011 
+ 00030184  0x00008136 arg  0x000008ce , 0x00000012 
+ 00030185  0x00008137 arg  0x00000826 , 0x00000005 
+ 00030186  0x00008138 call  0x00007786 
+ 00030187  0x00008139 arg  0x0000089e , 0x00000011 
+ 00030188  0x0000813a arg  0x000008ce , 0x00000012 
+ 00030189  0x0000813b arg  0x00000846 , 0x00000005 
+ 00030190  0x0000813c call  0x00007786 
+ 00030191  0x0000813d arg  0x00000846 , 0x00000011 
+ 00030192  0x0000813e arg  0x00000826 , 0x00000012 
+ 00030193  0x0000813f arg  0x00000826 , 0x00000005 
+ 00030194  0x00008140 call  0x00007755 
+ 00030195  0x00008141 arg  0x00000806 , 0x00000011 
+ 00030196  0x00008142 arg  0x00000826 , 0x00000012 
+ 00030197  0x00008143 arg  0x00000806 , 0x00000005 
+ 00030198  0x00008144 branch  0x00007758 
+ 00030199  0x00008148 fetch  0x00000001 , 0x000009b2 
+ 00030200  0x00008149 bne  0x00000000 , 0x00007615 
+ 00030201  0x0000814a call  0x00007612 
+ 00030202  0x0000814b arg  0x00000a7e , 0x00000005 
+ 00030203  0x0000814c setarg  0x00000a2e 
+ 00030204  0x0000814d istore  0x00000002 , 0x00000005 
+ 00030205  0x0000814e setarg  0x00004642 
+ 00030206  0x0000814f istore  0x00000002 , 0x00000005 
+ 00030207  0x00008150 setarg  0x000009de 
+ 00030208  0x00008151 istore  0x00000002 , 0x00000005 
+ 00030209  0x00008152 branch  0x00007609 
+ 00030210  0x00008154 arg  0x00000a7e , 0x00000005 
+ 00030211  0x00008155 setarg  0x00000a3e 
+ 00030212  0x00008156 istore  0x00000002 , 0x00000005 
+ 00030213  0x00008157 setarg  0x000009de 
+ 00030214  0x00008158 istore  0x00000002 , 0x00000005 
+ 00030215  0x00008159 setarg  0x00004642 
+ 00030216  0x0000815a istore  0x00000002 , 0x00000005 
+ 00030217  0x0000815c call  0x000079a0 
+ 00030218  0x0000815d fetch  0x00000001 , 0x000009af 
+ 00030219  0x0000815e beq  0x00000004 , 0x0000760f 
+ 00030220  0x0000815f jam  0x00000001 , 0x000009b0 
+ 00030221  0x00008160 jam  0x00000005 , 0x000009ae 
+ 00030222  0x00008161 rtn 
+ 00030223  0x00008163 jam  0x00000014 , 0x000009af 
+ 00030224  0x00008164 call  0x0000758a 
+ 00030225  0x00008165 branch  0x000076d8 
+ 00030226  0x00008168 arg  0x00000a1e , 0x00000005 
+ 00030227  0x00008169 force  0x00000008 , 0x00000007 
+ 00030228  0x0000816a branch  0x000076a2 
+ 00030229  0x0000816d jam  0x00000001 , 0x000009b0 
+ 00030230  0x0000816e rtn 
+ 00030231  0x00008172 bpatchx  0x000000e6 , 0x0000403c 
+ 00030232  0x00008173 arg  0x00000727 , 0x00000005 
+ 00030233  0x00008174 fetch  0x00000006 , 0x000040a0 
+ 00030234  0x00008175 istore  0x00000006 , 0x00000005 
+ 00030235  0x00008176 fetch  0x00000006 , 0x00000040 
+ 00030236  0x00008177 istore  0x00000006 , 0x00000005 
+ 00030237  0x00008178 fetch  0x00000003 , 0x0000465e 
+ 00030238  0x00008179 istore  0x00000003 , 0x00000005 
+ 00030239  0x0000817b call  0x00007a0d 
+ 00030240  0x0000817d arg  0x00000a4e , 0x00000011 
+ 00030241  0x0000817e arg  0x00000a5e , 0x00000012 
+ 00030242  0x0000817f force  0x00000004 , 0x00000007 
+ 00030243  0x00008180 call  0x000076a7 
+ 00030244  0x00008181 nbranch  0x00007631 , 0x00000001 
+ 00030245  0x00008183 call  0x00007628 
+ 00030246  0x00008184 jam  0x00000041 , 0x0000007d 
+ 00030247  0x00008185 branch  0x000062f8 
+ 00030248  0x00008188 fetch  0x00000001 , 0x000009af 
+ 00030249  0x00008189 beq  0x00000009 , 0x0000762e 
+ 00030250  0x0000818a jam  0x0000000a , 0x000009ae 
+ 00030251  0x0000818b jam  0x00000001 , 0x000009b0 
+ 00030252  0x0000818c jam  0x00000003 , 0x0000007c 
+ 00030253  0x0000818d rtn 
+ 00030254  0x0000818f jam  0x00000003 , 0x0000007c 
+ 00030255  0x00008190 jam  0x00000015 , 0x000009af 
+ 00030256  0x00008191 branch  0x000076d8 
+ 00030257  0x00008195 fetch  0x00000001 , 0x000009af 
+ 00030258  0x00008196 beq  0x00000009 , 0x00007637 
+ 00030259  0x00008197 jam  0x00000000 , 0x000009ae 
+ 00030260  0x00008198 jam  0x00000004 , 0x0000007c 
+ 00030261  0x0000819a jam  0x00000005 , 0x0000007e 
+ 00030262  0x0000819b rtn 
+ 00030263  0x0000819d jam  0x00000004 , 0x0000007c 
+ 00030264  0x0000819e jam  0x00000000 , 0x000009af 
+ 00030265  0x0000819f rtn 
+ 00030266  0x000081a2 fetch  0x00000001 , 0x000009b3 
+ 00030267  0x000081a3 beq  0x00000001 , 0x0000763e 
+ 00030268  0x000081a4 jam  0x0000000a , 0x000009af 
+ 00030269  0x000081a5 branch  0x000076d8 
+ 00030270  0x000081a7 arg  0x00000727 , 0x00000005 
+ 00030271  0x000081a8 fetch  0x00000006 , 0x00000040 
+ 00030272  0x000081a9 istore  0x00000006 , 0x00000005 
+ 00030273  0x000081aa fetch  0x00000006 , 0x000040a0 
+ 00030274  0x000081ab istore  0x00000006 , 0x00000005 
+ 00030275  0x000081ac fetch  0x00000003 , 0x0000465b 
+ 00030276  0x000081ad istore  0x00000003 , 0x00000005 
+ 00030277  0x000081af call  0x00007a24 
+ 00030278  0x000081b0 fetch  0x00000001 , 0x000009af 
+ 00030279  0x000081b1 beq  0x0000000a , 0x0000764b 
+ 00030280  0x000081b2 jam  0x0000000b , 0x000009ae 
+ 00030281  0x000081b3 jam  0x00000001 , 0x000009b0 
+ 00030282  0x000081b4 rtn 
+ 00030283  0x000081b6 jam  0x0000000b , 0x000009af 
+ 00030284  0x000081b7 jam  0x00000001 , 0x000009b1 
+ 00030285  0x000081b8 rtn 
+ 00030286  0x000081bb arg  0x00000a7e , 0x00000005 
+ 00030287  0x000081bc fetch  0x00000006 , 0x00000040 
+ 00030288  0x000081bd istore  0x00000006 , 0x00000005 
+ 00030289  0x000081be fetch  0x00000006 , 0x000040a0 
+ 00030290  0x000081bf istore  0x00000006 , 0x00000005 
+ 00030291  0x000081c0 setarg  0x00000a2e 
+ 00030292  0x000081c1 istore  0x00000002 , 0x00000005 
+ 00030293  0x000081c2 setarg  0x00000a3e 
+ 00030294  0x000081c3 istore  0x00000002 , 0x00000005 
+ 00030295  0x000081c4 branch  0x00007662 
+ 00030296  0x000081c6 jam  0x0000000f , 0x000009ae 
+ 00030297  0x000081c7 arg  0x00000a7e , 0x00000005 
+ 00030298  0x000081c8 fetch  0x00000006 , 0x000040a0 
+ 00030299  0x000081c9 istore  0x00000006 , 0x00000005 
+ 00030300  0x000081ca fetch  0x00000006 , 0x00000040 
+ 00030301  0x000081cb istore  0x00000006 , 0x00000005 
+ 00030302  0x000081cc setarg  0x00000a3e 
+ 00030303  0x000081cd istore  0x00000002 , 0x00000005 
+ 00030304  0x000081ce setarg  0x00000a2e 
+ 00030305  0x000081cf istore  0x00000002 , 0x00000005 
+ 00030306  0x000081d2 arg  0x00000727 , 0x00000005 
+ 00030307  0x000081d3 fetch  0x00000006 , 0x00000a7e 
+ 00030308  0x000081d4 istore  0x00000006 , 0x00000005 
+ 00030309  0x000081d5 fetch  0x00000006 , 0x00000a84 
+ 00030310  0x000081d6 istore  0x00000006 , 0x00000005 
+ 00030311  0x000081d8 call  0x000079d7 
+ 00030312  0x000081db jam  0x00000001 , 0x000041bd 
+ 00030313  0x000081dc arg  0x000041be , 0x00000005 
+ 00030314  0x000081dd arg  0x00000a4e , 0x00000006 
+ 00030315  0x000081de call  0x00007ebf 
+ 00030316  0x000081df branch  0x000021c4 
+ 00030317  0x000081e3 bpatchx  0x000000e7 , 0x0000403c 
+ 00030318  0x000081e4 fetch  0x00000001 , 0x000045b1 
+ 00030319  0x000081e5 rtnne  0x00000000 
+ 00030320  0x000081e6 fetch  0x00000001 , 0x000009b2 
+ 00030321  0x000081e7 rtnne  0x00000000 
+ 00030322  0x000081e8 arg  0x00004612 , 0x00000005 
+ 00030323  0x000081e9 force  0x0000000b , 0x00000007 
+ 00030324  0x000081ea call  0x000076a2 
+ 00030325  0x000081eb random  0x0000003f 
+ 00030326  0x000081ec rshift  0x0000003f , 0x0000003f 
+ 00030327  0x000081ed istore  0x00000002 , 0x00000005 
+ 00030328  0x000081ef arg  0x000006be , 0x00000005 
+ 00030329  0x000081f0 arg  0x00004612 , 0x00000006 
+ 00030330  0x000081f1 call  0x00007ebe 
+ 00030331  0x000081f3 arg  0x000005e6 , 0x00000005 
+ 00030332  0x000081f4 arg  0x000008ce , 0x00000006 
+ 00030333  0x000081f5 call  0x00007ebc 
+ 00030334  0x000081f7 arg  0x00000616 , 0x00000005 
+ 00030335  0x000081f8 call  0x00007ec5 
+ 00030336  0x000081f9 jam  0x00000001 , 0x00000616 
+ 00030337  0x000081fb call  0x00007a5d 
+ 00030338  0x000081fc jam  0x00000001 , 0x000009b2 
+ 00030339  0x000081fd rtn 
+ 00030340  0x00008200 arg  0x0000462a , 0x00000005 
+ 00030341  0x00008201 arg  0x0000062e , 0x00000006 
+ 00030342  0x00008202 call  0x00007ebc 
+ 00030343  0x00008203 jam  0x00000001 , 0x000045b1 
+ 00030344  0x00008204 jam  0x00000000 , 0x000009b2 
+ 00030345  0x00008205 rtn 
+ 00030346  0x00008208 bpatchx  0x000000e8 , 0x0000403d 
+ 00030347  0x00008209 fetch  0x00000001 , 0x000009b9 
+ 00030348  0x0000820a rtnne  0x00000000 
+ 00030349  0x0000820b fetch  0x00000001 , 0x000009b2 
+ 00030350  0x0000820c rtnne  0x00000000 
+ 00030351  0x0000820e arg  0x000006be , 0x00000005 
+ 00030352  0x0000820f arg  0x00004612 , 0x00000006 
+ 00030353  0x00008210 call  0x00007ebe 
+ 00030354  0x00008212 arg  0x000005e6 , 0x00000005 
+ 00030355  0x00008213 arg  0x000009c6 , 0x00000006 
+ 00030356  0x00008214 call  0x00007ebc 
+ 00030357  0x00008216 arg  0x00000616 , 0x00000005 
+ 00030358  0x00008217 call  0x00007ec5 
+ 00030359  0x00008218 jam  0x00000001 , 0x00000616 
+ 00030360  0x0000821a call  0x00007a5d 
+ 00030361  0x0000821b jam  0x00000002 , 0x000009b2 
+ 00030362  0x0000821c rtn 
+ 00030363  0x0000821f jam  0x00000001 , 0x000009b3 
+ 00030364  0x00008220 arg  0x00000a06 , 0x00000005 
+ 00030365  0x00008221 arg  0x0000062e , 0x00000006 
+ 00030366  0x00008222 call  0x00007ebe 
+ 00030367  0x00008223 jam  0x00000001 , 0x000009b9 
+ 00030368  0x00008224 jam  0x00000000 , 0x000009b2 
+ 00030369  0x00008225 rtn 
+ 00030370  0x00008228 increase  0xffffffff , 0x00000007 
+ 00030371  0x00008229 nrtn  0x00000002 
+ 00030372  0x0000822a random  0x0000003f 
+ 00030373  0x0000822b istore  0x00000002 , 0x00000005 
+ 00030374  0x0000822c branch  0x000076a2 
+ 00030375  0x0000822e increase  0xffffffff , 0x00000007 
+ 00030376  0x0000822f nbranch  0x000076b3 , 0x00000002 
+ 00030377  0x00008230 ifetch  0x00000004 , 0x00000011 
+ 00030378  0x00008231 copy  0x0000003f , 0x00000002 
+ 00030379  0x00008232 ifetch  0x00000004 , 0x00000012 
+ 00030380  0x00008233 iflip  0x00000002 , 0x0000003f 
+ 00030381  0x00008234 nbranch  0x000076b1 , 0x00000005 
+ 00030382  0x00008235 increase  0x00000004 , 0x00000011 
+ 00030383  0x00008236 increase  0x00000004 , 0x00000012 
+ 00030384  0x00008237 branch  0x000076a7 
+ 00030385  0x00008239 disable  0x00000001 
+ 00030386  0x0000823a rtn 
+ 00030387  0x0000823c enable  0x00000001 
+ 00030388  0x0000823d rtn 
+ 00030389  0x00008245 bpatchx  0x000000e9 , 0x0000403d 
+ 00030390  0x00008246 fetch  0x00000001 , 0x000009b0 
+ 00030391  0x00008247 rtn  0x00000034 
+ 00030392  0x00008248 call  0x000062bc 
+ 00030393  0x00008249 nrtn  0x00000034 
+ 00030394  0x0000824a jam  0x00000000 , 0x000009b0 
+ 00030395  0x0000824b fetch  0x00000001 , 0x000009ae 
+ 00030396  0x0000824c beq  0x00000003 , 0x000061fd 
+ 00030397  0x0000824d beq  0x00000005 , 0x0000621a 
+ 00030398  0x0000824e beq  0x00000007 , 0x00006225 
+ 00030399  0x0000824f beq  0x0000000b , 0x0000623a 
+ 00030400  0x00008250 beq  0x00000002 , 0x00007588 
+ 00030401  0x00008251 beq  0x00000004 , 0x000075f7 
+ 00030402  0x00008252 beq  0x00000009 , 0x00007617 
+ 00030403  0x00008253 beq  0x0000000a , 0x0000763a 
+ 00030404  0x00008254 beq  0x0000000c , 0x00007658 
+ 00030405  0x00008256 rtn 
+ 00030406  0x00008259 bpatchx  0x000000ea , 0x0000403d 
+ 00030407  0x0000825a fetch  0x00000001 , 0x000009b1 
+ 00030408  0x0000825b rtn  0x00000034 
+ 00030409  0x0000825c call  0x000062bc 
+ 00030410  0x0000825d nrtn  0x00000034 
+ 00030411  0x0000825e jam  0x00000000 , 0x000009b1 
+ 00030412  0x0000825f fetch  0x00000001 , 0x000009af 
+ 00030413  0x00008260 beq  0x00000012 , 0x000061e0 
+ 00030414  0x00008261 beq  0x00000013 , 0x000061e5 
+ 00030415  0x00008262 beq  0x00000003 , 0x000061e9 
+ 00030416  0x00008263 beq  0x00000004 , 0x00007602 
+ 00030417  0x00008264 beq  0x00000014 , 0x000061ed 
+ 00030418  0x00008265 beq  0x00000007 , 0x000061fb 
+ 00030419  0x00008266 beq  0x0000000a , 0x0000763a 
+ 00030420  0x00008267 beq  0x0000000b , 0x00006239 
+ 00030421  0x00008268 beq  0x00000009 , 0x00007617 
+ 00030422  0x00008269 beq  0x00000015 , 0x00006233 
+ 00030423  0x0000826a rtn 
+ 00030424  0x0000826d jam  0x00000001 , 0x000009b1 
+ 00030425  0x0000826e rtn 
+ 00030426  0x00008271 jam  0x00000000 , 0x000009b1 
+ 00030427  0x00008272 rtn 
+ 00030428  0x00008274 bpatchx  0x000000eb , 0x0000403d 
+ 00030429  0x00008275 fetch  0x00000001 , 0x0000465a 
+ 00030430  0x00008276 rtn  0x00000034 
+ 00030431  0x00008277 fetch  0x00000001 , 0x000009b2 
+ 00030432  0x00008278 rtn  0x00000034 
+ 00030433  0x00008279 increase  0x00000080 , 0x0000003f 
+ 00030434  0x0000827a store  0x00000001 , 0x000009b2 
+ 00030435  0x0000827b rtnbit1  0x00000007 
+ 00030436  0x0000827c fetch  0x00000001 , 0x000005e3 
+ 00030437  0x0000827d branch  0x000076e7 , 0x00000034 
+ 00030438  0x0000827e branch  0x00007a68 
+ 00030439  0x00008281 call  0x000078d3 
+ 00030440  0x00008282 fetch  0x00000001 , 0x000009b2 
+ 00030441  0x00008283 beq  0x00000001 , 0x00007684 
+ 00030442  0x00008284 beq  0x00000002 , 0x0000769b 
+ 00030443  0x00008285 rtn 
+ 00030444  0x00008289 and  0x0000003f , 0x00000007 , 0x00000007 
+ 00030445  0x0000828a rshift3  0x0000003f , 0x0000003f 
+ 00030446  0x0000828b iadd  0x00000006 , 0x00000006 
+ 00030447  0x0000828c ifetch  0x00000001 , 0x00000006 
+ 00030448  0x0000828d qisolate0  0x0000003f 
+ 00030449  0x0000828e rtn 
+ 00030450  0x00008292 call  0x00007ebe 
+ 00030451  0x00008293 call  0x00007ebe 
+ 00030452  0x00008294 branch  0x00007ebe 
+ 00030453  0x00008298 ifetch  0x00000008 , 0x00000006 
+ 00030454  0x00008299 nrtn  0x00000034 
+ 00030455  0x0000829a ifetch  0x00000008 , 0x00000006 
+ 00030456  0x0000829b nrtn  0x00000034 
+ 00030457  0x0000829c ifetch  0x00000008 , 0x00000006 
+ 00030458  0x0000829d rtn 
+ 00030459  0x000082a3 ifetch  0x00000004 , 0x00000011 
+ 00030460  0x000082a4 iforce  0x00000002 
+ 00030461  0x000082a5 ifetch  0x00000004 , 0x00000012 
+ 00030462  0x000082a6 isub  0x00000002 , 0x0000003e 
+ 00030463  0x000082a7 nrtn  0x00000005 
+ 00030464  0x000082a8 increase  0x00000004 , 0x00000011 
+ 00030465  0x000082a9 increase  0x00000004 , 0x00000012 
+ 00030466  0x000082aa loop  0x000076fb 
+ 00030467  0x000082ab rtn 
+ 00030468  0x000082af force  0x00000006 , 0x00000039 
+ 00030469  0x000082b0 increase  0x00000014 , 0x00000011 
+ 00030470  0x000082b1 increase  0x00000014 , 0x00000012 
+ 00030471  0x000082b3 ifetch  0x00000004 , 0x00000012 
+ 00030472  0x000082b4 iforce  0x00000002 
+ 00030473  0x000082b5 ifetch  0x00000004 , 0x00000011 
+ 00030474  0x000082b6 isub  0x00000002 , 0x0000003f 
+ 00030475  0x000082b7 nrtn  0x00000002 
+ 00030476  0x000082b8 nrtn  0x00000034 
+ 00030477  0x000082b9 increase  0xfffffffc , 0x00000011 
+ 00030478  0x000082ba increase  0xfffffffc , 0x00000012 
+ 00030479  0x000082bb loop  0x00007707 
+ 00030480  0x000082bc rtn 
+ 00030481  0x000082bf force  0x00000006 , 0x00000039 
+ 00030482  0x000082c0 force  0x00000000 , 0x00000013 
+ 00030483  0x000082c2 ifetch  0x00000004 , 0x00000011 
+ 00030484  0x000082c3 iforce  0x00000002 
+ 00030485  0x000082c4 ifetch  0x00000004 , 0x00000012 
+ 00030486  0x000082c5 iadd  0x00000002 , 0x0000003f 
+ 00030487  0x000082c6 iadd  0x00000013 , 0x0000003f 
+ 00030488  0x000082c7 istore  0x00000004 , 0x00000005 
+ 00030489  0x000082c8 isolate1  0x00000020 , 0x0000003f 
+ 00030490  0x000082c9 setflag  0x00000001 , 0x00000000 , 0x00000013 
+ 00030491  0x000082ca increase  0x00000004 , 0x00000011 
+ 00030492  0x000082cb increase  0x00000004 , 0x00000012 
+ 00030493  0x000082cc loop  0x00007713 
+ 00030494  0x000082cd rtn 
+ 00030495  0x000082d0 force  0x00000006 , 0x00000039 
+ 00030496  0x000082d1 force  0x00000000 , 0x00000013 
+ 00030497  0x000082d3 ifetch  0x00000004 , 0x00000012 
+ 00030498  0x000082d4 iforce  0x00000002 
+ 00030499  0x000082d5 ifetch  0x00000004 , 0x00000011 
+ 00030500  0x000082d6 isub  0x00000002 , 0x0000003f 
+ 00030501  0x000082d7 isub  0x00000013 , 0x0000003f 
+ 00030502  0x000082d8 istore  0x00000004 , 0x00000005 
+ 00030503  0x000082d9 isolate1  0x00000020 , 0x0000003f 
+ 00030504  0x000082da setflag  0x00000001 , 0x00000000 , 0x00000013 
+ 00030505  0x000082db increase  0x00000004 , 0x00000011 
+ 00030506  0x000082dc increase  0x00000004 , 0x00000012 
+ 00030507  0x000082dd loop  0x00007721 
+ 00030508  0x000082de rtn 
+ 00030509  0x000082e1 force  0x00000006 , 0x00000039 
+ 00030510  0x000082e2 increase  0x00000014 , 0x00000011 
+ 00030511  0x000082e4 force  0x00000000 , 0x00000013 
+ 00030512  0x000082e6 ifetch  0x00000004 , 0x00000011 
+ 00030513  0x000082e7 isolate1  0x00000000 , 0x0000003f 
+ 00030514  0x000082e8 setflag  0x00000001 , 0x00000001 , 0x00000013 
+ 00030515  0x000082e9 rshift  0x0000003f , 0x0000003f 
+ 00030516  0x000082ea isolate1  0x00000000 , 0x00000013 
+ 00030517  0x000082eb setflag  0x00000001 , 0x0000001f , 0x0000003f 
+ 00030518  0x000082ec istore  0x00000004 , 0x00000011 
+ 00030519  0x000082ed increase  0xfffffffc , 0x00000011 
+ 00030520  0x000082ee rshift  0x00000013 , 0x00000013 
+ 00030521  0x000082ef loop  0x00007730 
+ 00030522  0x000082f0 rtn 
+ 00030523  0x000082f3 force  0x00000006 , 0x00000039 
+ 00030524  0x000082f4 force  0x00000000 , 0x00000013 
+ 00030525  0x000082f6 ifetch  0x00000004 , 0x00000011 
+ 00030526  0x000082f7 isolate1  0x0000001f , 0x0000003f 
+ 00030527  0x000082f8 setflag  0x00000001 , 0x00000001 , 0x00000013 
+ 00030528  0x000082f9 lshift  0x0000003f , 0x0000003f 
+ 00030529  0x000082fa isolate1  0x00000000 , 0x00000013 
+ 00030530  0x000082fb setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00030531  0x000082fc istore  0x00000004 , 0x00000011 
+ 00030532  0x000082fd increase  0x00000004 , 0x00000011 
+ 00030533  0x000082fe rshift  0x00000013 , 0x00000013 
+ 00030534  0x000082ff loop  0x0000773d 
+ 00030535  0x00008300 rtn 
+ 00030536  0x00008303 call  0x0000773b 
+ 00030537  0x00008305 isolate1  0x00000000 , 0x00000013 
+ 00030538  0x00008306 branch  0x00007751 , 0x00000001 
+ 00030539  0x00008307 arg  0x00000886 , 0x00000012 
+ 00030540  0x00008308 copy  0x00000011 , 0x00000013 
+ 00030541  0x00008309 increase  0xffffffe8 , 0x00000011 
+ 00030542  0x0000830a call  0x00007704 
+ 00030543  0x0000830b nrtn  0x00000002 
+ 00030544  0x0000830c copy  0x00000013 , 0x00000011 
+ 00030545  0x0000830e increase  0xffffffe8 , 0x00000011 
+ 00030546  0x0000830f arg  0x00000886 , 0x00000012 
+ 00030547  0x00008310 copy  0x00000011 , 0x00000005 
+ 00030548  0x00008311 branch  0x0000771f 
+ 00030549  0x00008315 call  0x00007711 
+ 00030550  0x00008316 copy  0x00000005 , 0x00000011 
+ 00030551  0x00008317 branch  0x00007749 
+ 00030552  0x0000831a call  0x0000771f 
+ 00030553  0x0000831b isolate0  0x00000000 , 0x00000013 
+ 00030554  0x0000831c rtn  0x00000001 
+ 00030555  0x0000831d arg  0x00000886 , 0x00000012 
+ 00030556  0x0000831e add  0x00000005 , 0xffffffe8 , 0x00000011 
+ 00030557  0x0000831f copy  0x00000011 , 0x00000005 
+ 00030558  0x00008320 branch  0x00007711 
+ 00030559  0x00008324 copy  0x00000005 , 0x0000000b 
+ 00030560  0x00008325 copy  0x00000011 , 0x00000030 
+ 00030561  0x00008326 arg  0x00000716 , 0x00000012 
+ 00030562  0x00008327 copy  0x00000012 , 0x00000005 
+ 00030563  0x00008328 add  0x00000011 , 0x00000018 , 0x00000006 
+ 00030564  0x00008329 ifetch  0x00000008 , 0x00000006 
+ 00030565  0x0000832a istore  0x00000008 , 0x00000005 
+ 00030566  0x0000832b istore  0x00000008 , 0x00000005 
+ 00030567  0x0000832c force  0x00000000 , 0x0000003f 
+ 00030568  0x0000832d istore  0x00000008 , 0x00000005 
+ 00030569  0x0000832e copy  0x0000000b , 0x00000005 
+ 00030570  0x0000832f call  0x00007755 
+ 00030571  0x00008330 arg  0x00000716 , 0x00000012 
+ 00030572  0x00008331 copy  0x00000012 , 0x00000005 
+ 00030573  0x00008332 force  0x00000000 , 0x0000003f 
+ 00030574  0x00008333 istore  0x00000008 , 0x00000005 
+ 00030575  0x00008334 add  0x00000030 , 0x00000020 , 0x00000006 
+ 00030576  0x00008335 ifetch  0x00000008 , 0x00000006 
+ 00030577  0x00008336 istore  0x00000008 , 0x00000005 
+ 00030578  0x00008337 istore  0x00000008 , 0x00000005 
+ 00030579  0x00008338 copy  0x0000000b , 0x00000011 
+ 00030580  0x00008339 copy  0x00000011 , 0x00000005 
+ 00030581  0x0000833a call  0x00007755 
+ 00030582  0x0000833b arg  0x00000716 , 0x00000012 
+ 00030583  0x0000833c copy  0x00000012 , 0x00000005 
+ 00030584  0x0000833d add  0x00000030 , 0x00000028 , 0x00000006 
+ 00030585  0x0000833e ifetch  0x00000008 , 0x00000006 
+ 00030586  0x0000833f istore  0x00000008 , 0x00000005 
+ 00030587  0x00008340 istore  0x00000008 , 0x00000005 
+ 00030588  0x00008341 istore  0x00000008 , 0x00000005 
+ 00030589  0x00008342 copy  0x0000000b , 0x00000011 
+ 00030590  0x00008343 copy  0x00000011 , 0x00000005 
+ 00030591  0x00008344 branch  0x00007755 
+ 00030592  0x00008348 force  0x00000006 , 0x00000039 
+ 00030593  0x0000834a ifetch  0x00000004 , 0x00000006 
+ 00030594  0x0000834b iforce  0x0000002f 
+ 00030595  0x0000834c increase  0x00000001 , 0x00000038 
+ 00030596  0x0000834d loop  0x00007781 
+ 00030597  0x0000834e rtn 
+ 00030598  0x00008353 copy  0x00000005 , 0x0000000b 
+ 00030599  0x00008354 arg  0x000006e6 , 0x00000005 
+ 00030600  0x00008355 call  0x00007ec5 
+ 00030601  0x00008356 arg  0x000006e6 , 0x00000005 
+ 00030602  0x00008357 copy  0x00000011 , 0x00000006 
+ 00030603  0x00008358 force  0x00000000 , 0x00000038 
+ 00030604  0x00008359 call  0x00007780 
+ 00030605  0x0000835a copy  0x00000012 , 0x00000006 
+ 00030606  0x0000835b call  0x00007780 
+ 00030607  0x0000835c force  0x00000000 , 0x00000012 
+ 00030608  0x0000835e force  0x00000000 , 0x00000002 
+ 00030609  0x0000835f force  0x00000006 , 0x00000013 
+ 00030610  0x00008361 ifetch  0x00000004 , 0x00000005 
+ 00030611  0x00008362 iforce  0x00000011 
+ 00030612  0x00008363 copy  0x00000012 , 0x00000038 
+ 00030613  0x00008364 deposit  0x0000002f 
+ 00030614  0x00008365 copy  0x00000013 , 0x00000038 
+ 00030615  0x00008366 imul32  0x0000002f , 0x0000003f 
+ 00030616  0x00008367 iadd  0x00000011 , 0x0000003f 
+ 00030617  0x00008368 iadd  0x00000002 , 0x0000003f 
+ 00030618  0x00008369 istore  0x00000004 , 0x00000005 
+ 00030619  0x0000836a rshift32  0x0000003f , 0x00000002 
+ 00030620  0x0000836b increase  0x00000001 , 0x00000013 
+ 00030621  0x0000836c compare  0x0000000c , 0x00000013 , 0x000000ff 
+ 00030622  0x0000836d nbranch  0x00007792 , 0x00000001 
+ 00030623  0x0000836e deposit  0x00000002 
+ 00030624  0x0000836f istore  0x00000004 , 0x00000005 
+ 00030625  0x00008370 increase  0xffffffe8 , 0x00000005 
+ 00030626  0x00008371 increase  0x00000001 , 0x00000012 
+ 00030627  0x00008372 compare  0x00000006 , 0x00000012 , 0x000000ff 
+ 00030628  0x00008373 nbranch  0x00007790 , 0x00000001 
+ 00030629  0x00008374 arg  0x000006e6 , 0x00000011 
+ 00030630  0x00008375 copy  0x0000000b , 0x00000005 
+ 00030631  0x00008376 branch  0x0000775f 
+ 00030632  0x0000837a copy  0x00000011 , 0x00000012 
+ 00030633  0x0000837b branch  0x00007786 
+ 00030634  0x0000837e copy  0x00000011 , 0x00000030 
+ 00030635  0x00008380 copy  0x00000030 , 0x00000011 
+ 00030636  0x00008381 ifetch  0x00000001 , 0x00000011 
+ 00030637  0x00008382 isolate1  0x00000000 , 0x0000003f 
+ 00030638  0x00008383 rtn  0x00000001 
+ 00030639  0x00008384 call  0x0000772d 
+ 00030640  0x00008385 ifetch  0x00000001 , 0x00000012 
+ 00030641  0x00008386 isolate0  0x00000000 , 0x0000003f 
+ 00030642  0x00008387 branch  0x000077ba , 0x00000001 
+ 00030643  0x00008388 arg  0x00000886 , 0x00000011 
+ 00030644  0x00008389 copy  0x00000012 , 0x00000005 
+ 00030645  0x0000838a call  0x00007711 
+ 00030646  0x0000838b ifetch  0x00000001 , 0x00000012 
+ 00030647  0x0000838c iadd  0x00000013 , 0x0000003f 
+ 00030648  0x0000838d istore  0x00000001 , 0x00000012 
+ 00030649  0x0000838e increase  0xffffffe8 , 0x00000012 
+ 00030650  0x00008390 add  0x00000012 , 0x00000018 , 0x00000011 
+ 00030651  0x00008391 force  0x00000007 , 0x00000039 
+ 00030652  0x00008392 call  0x0000772f 
+ 00030653  0x00008393 branch  0x000077ab 
+ 00030654  0x00008397 copy  0x00000005 , 0x0000000b 
+ 00030655  0x00008398 arg  0x00000746 , 0x00000005 
+ 00030656  0x00008399 call  0x00007ec5 
+ 00030657  0x0000839a force  0x00000000 , 0x0000003f 
+ 00030658  0x0000839b store  0x00000004 , 0x000006fe 
+ 00030659  0x0000839c store  0x00000004 , 0x0000075e 
+ 00030660  0x0000839d jam  0x00000001 , 0x00000746 
+ 00030661  0x0000839e arg  0x000006e6 , 0x00000005 
+ 00030662  0x0000839f call  0x00007ec5 
+ 00030663  0x000083a0 arg  0x00000886 , 0x00000006 
+ 00030664  0x000083a1 arg  0x00000716 , 0x00000005 
+ 00030665  0x000083a2 call  0x00007ebe 
+ 00030666  0x000083a3 copy  0x00000011 , 0x00000006 
+ 00030667  0x000083a4 arg  0x0000072e , 0x00000005 
+ 00030668  0x000083a5 call  0x00007ebe 
+ 00030669  0x000083a7 arg  0x0000072e , 0x00000006 
+ 00030670  0x000083a8 call  0x000076f5 
+ 00030671  0x000083a9 branch  0x000077f6 , 0x00000034 
+ 00030672  0x000083aa arg  0x0000072e , 0x00000011 
+ 00030673  0x000083ab arg  0x00000746 , 0x00000012 
+ 00030674  0x000083ac call  0x000077aa 
+ 00030675  0x000083ae arg  0x00000716 , 0x00000011 
+ 00030676  0x000083af arg  0x000006e6 , 0x00000012 
+ 00030677  0x000083b0 call  0x000077aa 
+ 00030678  0x000083b1 arg  0x0000072e , 0x00000011 
+ 00030679  0x000083b2 arg  0x00000716 , 0x00000012 
+ 00030680  0x000083b3 call  0x00007704 
+ 00030681  0x000083b4 branch  0x000077e8 , 0x00000002 
+ 00030682  0x000083b5 arg  0x00000716 , 0x00000011 
+ 00030683  0x000083b6 arg  0x0000072e , 0x00000012 
+ 00030684  0x000083b7 copy  0x00000011 , 0x00000005 
+ 00030685  0x000083b8 call  0x0000771f 
+ 00030686  0x000083b9 arg  0x00000746 , 0x00000011 
+ 00030687  0x000083ba arg  0x000006e6 , 0x00000012 
+ 00030688  0x000083bb copy  0x00000012 , 0x00000005 
+ 00030689  0x000083bc call  0x00007711 
+ 00030690  0x000083bd ifetch  0x00000001 , 0x00000011 
+ 00030691  0x000083be iadd  0x00000013 , 0x00000013 
+ 00030692  0x000083bf ifetch  0x00000001 , 0x00000012 
+ 00030693  0x000083c0 iadd  0x00000013 , 0x0000003f 
+ 00030694  0x000083c1 istore  0x00000001 , 0x00000012 
+ 00030695  0x000083c2 branch  0x000077cd 
+ 00030696  0x000083c4 arg  0x0000072e , 0x00000011 
+ 00030697  0x000083c5 arg  0x00000716 , 0x00000012 
+ 00030698  0x000083c6 copy  0x00000011 , 0x00000005 
+ 00030699  0x000083c7 call  0x0000771f 
+ 00030700  0x000083c8 arg  0x000006e6 , 0x00000011 
+ 00030701  0x000083c9 arg  0x00000746 , 0x00000012 
+ 00030702  0x000083ca copy  0x00000012 , 0x00000005 
+ 00030703  0x000083cb call  0x00007711 
+ 00030704  0x000083cc ifetch  0x00000001 , 0x00000011 
+ 00030705  0x000083cd iadd  0x00000013 , 0x00000013 
+ 00030706  0x000083ce ifetch  0x00000001 , 0x00000012 
+ 00030707  0x000083cf iadd  0x00000013 , 0x0000003f 
+ 00030708  0x000083d0 istore  0x00000001 , 0x00000012 
+ 00030709  0x000083d1 branch  0x000077cd 
+ 00030710  0x000083d3 arg  0x00000746 , 0x00000005 
+ 00030711  0x000083d4 call  0x00007ec5 
+ 00030712  0x000083d5 fetch  0x00000001 , 0x000006fe 
+ 00030713  0x000083d6 store  0x00000001 , 0x00000746 
+ 00030714  0x000083d7 store  0x00000001 , 0x0000074e 
+ 00030715  0x000083d8 arg  0x00000746 , 0x00000011 
+ 00030716  0x000083d9 arg  0x000006e6 , 0x00000012 
+ 00030717  0x000083da copy  0x00000012 , 0x00000005 
+ 00030718  0x000083db call  0x00007755 
+ 00030719  0x000083dc arg  0x00000886 , 0x00000011 
+ 00030720  0x000083dd arg  0x000006e6 , 0x00000012 
+ 00030721  0x000083de copy  0x0000000b , 0x00000005 
+ 00030722  0x000083df branch  0x00007758 
+ 00030723  0x000083e5 arg  0x000006a6 , 0x00000011 
+ 00030724  0x000083e6 arg  0x0000075e , 0x00000005 
+ 00030725  0x000083e7 call  0x000077a8 
+ 00030726  0x000083e8 arg  0x0000075e , 0x00000011 
+ 00030727  0x000083e9 arg  0x00000776 , 0x00000005 
+ 00030728  0x000083ea call  0x000077a8 
+ 00030729  0x000083eb arg  0x0000089e , 0x00000011 
+ 00030730  0x000083ec arg  0x00000776 , 0x00000012 
+ 00030731  0x000083ed arg  0x00000776 , 0x00000005 
+ 00030732  0x000083ee call  0x00007786 
+ 00030733  0x000083ef arg  0x00000676 , 0x00000011 
+ 00030734  0x000083f0 arg  0x0000075e , 0x00000005 
+ 00030735  0x000083f1 call  0x000077a8 
+ 00030736  0x000083f2 arg  0x0000075e , 0x00000006 
+ 00030737  0x000083f3 arg  0x0000072e , 0x00000005 
+ 00030738  0x000083f4 call  0x00007ebe 
+ 00030739  0x000083f5 arg  0x0000072e , 0x00000011 
+ 00030740  0x000083f6 call  0x00007748 
+ 00030741  0x000083f7 arg  0x0000075e , 0x00000011 
+ 00030742  0x000083f8 arg  0x0000072e , 0x00000012 
+ 00030743  0x000083f9 arg  0x0000075e , 0x00000005 
+ 00030744  0x000083fa call  0x00007755 
+ 00030745  0x000083fb arg  0x0000075e , 0x00000011 
+ 00030746  0x000083fc arg  0x00000776 , 0x00000012 
+ 00030747  0x000083fd arg  0x0000075e , 0x00000005 
+ 00030748  0x000083fe call  0x00007755 
+ 00030749  0x000083ff arg  0x00000676 , 0x00000006 
+ 00030750  0x00008400 arg  0x0000072e , 0x00000005 
+ 00030751  0x00008401 call  0x00007ebe 
+ 00030752  0x00008402 arg  0x0000068e , 0x00000011 
+ 00030753  0x00008403 arg  0x00000776 , 0x00000005 
+ 00030754  0x00008404 call  0x000077a8 
+ 00030755  0x00008405 arg  0x0000072e , 0x00000011 
+ 00030756  0x00008406 call  0x00007748 
+ 00030757  0x00008407 arg  0x0000072e , 0x00000011 
+ 00030758  0x00008408 call  0x00007748 
+ 00030759  0x00008409 arg  0x0000072e , 0x00000011 
+ 00030760  0x0000840a arg  0x00000776 , 0x00000012 
+ 00030761  0x0000840b arg  0x0000072e , 0x00000005 
+ 00030762  0x0000840c call  0x00007786 
+ 00030763  0x0000840d arg  0x00000776 , 0x00000011 
+ 00030764  0x0000840e arg  0x00000746 , 0x00000005 
+ 00030765  0x0000840f call  0x000077a8 
+ 00030766  0x00008410 arg  0x00000746 , 0x00000011 
+ 00030767  0x00008411 call  0x00007748 
+ 00030768  0x00008412 arg  0x00000746 , 0x00000011 
+ 00030769  0x00008413 call  0x00007748 
+ 00030770  0x00008414 arg  0x00000746 , 0x00000011 
+ 00030771  0x00008415 call  0x00007748 
+ 00030772  0x00008416 arg  0x0000068e , 0x00000006 
+ 00030773  0x00008417 arg  0x00000776 , 0x00000005 
+ 00030774  0x00008418 call  0x00007ebe 
+ 00030775  0x00008419 arg  0x00000776 , 0x00000011 
+ 00030776  0x0000841a call  0x00007748 
+ 00030777  0x0000841b arg  0x00000776 , 0x00000011 
+ 00030778  0x0000841c arg  0x000006a6 , 0x00000012 
+ 00030779  0x0000841d arg  0x000006a6 , 0x00000005 
+ 00030780  0x0000841e call  0x00007786 
+ 00030781  0x0000841f arg  0x0000075e , 0x00000011 
+ 00030782  0x00008420 arg  0x00000776 , 0x00000005 
+ 00030783  0x00008421 call  0x000077a8 
+ 00030784  0x00008422 arg  0x00000776 , 0x00000011 
+ 00030785  0x00008423 arg  0x0000072e , 0x00000012 
+ 00030786  0x00008424 arg  0x00000776 , 0x00000005 
+ 00030787  0x00008425 call  0x00007758 
+ 00030788  0x00008426 arg  0x00000776 , 0x00000011 
+ 00030789  0x00008427 arg  0x0000072e , 0x00000012 
+ 00030790  0x00008428 arg  0x00000676 , 0x00000005 
+ 00030791  0x00008429 call  0x00007758 
+ 00030792  0x0000842a arg  0x0000072e , 0x00000011 
+ 00030793  0x0000842b arg  0x00000676 , 0x00000012 
+ 00030794  0x0000842c arg  0x00000776 , 0x00000005 
+ 00030795  0x0000842d call  0x00007758 
+ 00030796  0x0000842e arg  0x00000776 , 0x00000011 
+ 00030797  0x0000842f arg  0x0000075e , 0x00000012 
+ 00030798  0x00008430 arg  0x00000776 , 0x00000005 
+ 00030799  0x00008431 call  0x00007786 
+ 00030800  0x00008432 arg  0x00000776 , 0x00000011 
+ 00030801  0x00008433 arg  0x00000746 , 0x00000012 
+ 00030802  0x00008434 arg  0x0000068e , 0x00000005 
+ 00030803  0x00008435 branch  0x00007758 
+ 00030804  0x0000843a arg  0x00000616 , 0x00000011 
+ 00030805  0x0000843b arg  0x0000078e , 0x00000005 
+ 00030806  0x0000843c call  0x000077a8 
+ 00030807  0x0000843d arg  0x00000676 , 0x00000011 
+ 00030808  0x0000843e arg  0x0000078e , 0x00000012 
+ 00030809  0x0000843f arg  0x00000746 , 0x00000005 
+ 00030810  0x00008440 call  0x00007786 
+ 00030811  0x00008441 arg  0x00000616 , 0x00000011 
+ 00030812  0x00008442 arg  0x0000078e , 0x00000012 
+ 00030813  0x00008443 arg  0x0000078e , 0x00000005 
+ 00030814  0x00008444 call  0x00007786 
+ 00030815  0x00008445 arg  0x0000068e , 0x00000011 
+ 00030816  0x00008446 arg  0x0000078e , 0x00000012 
+ 00030817  0x00008447 arg  0x0000072e , 0x00000005 
+ 00030818  0x00008448 call  0x00007786 
+ 00030819  0x00008449 arg  0x000006a6 , 0x00000011 
+ 00030820  0x0000844a arg  0x0000078e , 0x00000005 
+ 00030821  0x0000844b call  0x000077a8 
+ 00030822  0x0000844c arg  0x000005e6 , 0x00000011 
+ 00030823  0x0000844d arg  0x0000078e , 0x00000012 
+ 00030824  0x0000844e arg  0x0000075e , 0x00000005 
+ 00030825  0x0000844f call  0x00007786 
+ 00030826  0x00008450 arg  0x000006a6 , 0x00000011 
+ 00030827  0x00008451 arg  0x0000078e , 0x00000012 
+ 00030828  0x00008452 arg  0x0000078e , 0x00000005 
+ 00030829  0x00008453 call  0x00007786 
+ 00030830  0x00008454 arg  0x000005fe , 0x00000011 
+ 00030831  0x00008455 arg  0x0000078e , 0x00000012 
+ 00030832  0x00008456 arg  0x00000776 , 0x00000005 
+ 00030833  0x00008457 call  0x00007786 
+ 00030834  0x00008458 arg  0x00000746 , 0x00000011 
+ 00030835  0x00008459 arg  0x0000075e , 0x00000012 
+ 00030836  0x0000845a arg  0x0000078e , 0x00000005 
+ 00030837  0x0000845b call  0x00007758 
+ 00030838  0x0000845c arg  0x00000746 , 0x00000011 
+ 00030839  0x0000845d arg  0x0000075e , 0x00000012 
+ 00030840  0x0000845e arg  0x00000746 , 0x00000005 
+ 00030841  0x0000845f call  0x00007755 
+ 00030842  0x00008460 arg  0x0000072e , 0x00000011 
+ 00030843  0x00008461 arg  0x00000776 , 0x00000012 
+ 00030844  0x00008462 arg  0x0000075e , 0x00000005 
+ 00030845  0x00008463 call  0x00007758 
+ 00030846  0x00008464 arg  0x0000072e , 0x00000011 
+ 00030847  0x00008465 arg  0x00000776 , 0x00000012 
+ 00030848  0x00008466 arg  0x0000072e , 0x00000005 
+ 00030849  0x00008467 call  0x00007755 
+ 00030850  0x00008468 arg  0x0000072e , 0x00000011 
+ 00030851  0x00008469 arg  0x0000078e , 0x00000012 
+ 00030852  0x0000846a arg  0x0000072e , 0x00000005 
+ 00030853  0x0000846b call  0x00007786 
+ 00030854  0x0000846c arg  0x000006a6 , 0x00000011 
+ 00030855  0x0000846d arg  0x00000616 , 0x00000012 
+ 00030856  0x0000846e arg  0x00000776 , 0x00000005 
+ 00030857  0x0000846f call  0x00007786 
+ 00030858  0x00008470 arg  0x00000776 , 0x00000011 
+ 00030859  0x00008471 arg  0x0000078e , 0x00000012 
+ 00030860  0x00008472 arg  0x000006a6 , 0x00000005 
+ 00030861  0x00008473 call  0x00007786 
+ 00030862  0x00008474 arg  0x0000078e , 0x00000011 
+ 00030863  0x00008475 arg  0x0000078e , 0x00000005 
+ 00030864  0x00008476 call  0x000077a8 
+ 00030865  0x00008477 arg  0x0000078e , 0x00000011 
+ 00030866  0x00008478 arg  0x00000746 , 0x00000012 
+ 00030867  0x00008479 arg  0x00000776 , 0x00000005 
+ 00030868  0x0000847a call  0x00007786 
+ 00030869  0x0000847b arg  0x0000078e , 0x00000011 
+ 00030870  0x0000847c arg  0x0000072e , 0x00000012 
+ 00030871  0x0000847d arg  0x0000072e , 0x00000005 
+ 00030872  0x0000847e call  0x00007786 
+ 00030873  0x0000847f arg  0x0000075e , 0x00000011 
+ 00030874  0x00008480 arg  0x00000676 , 0x00000005 
+ 00030875  0x00008481 call  0x000077a8 
+ 00030876  0x00008482 arg  0x00000676 , 0x00000011 
+ 00030877  0x00008483 arg  0x00000776 , 0x00000012 
+ 00030878  0x00008484 arg  0x00000676 , 0x00000005 
+ 00030879  0x00008485 call  0x00007758 
+ 00030880  0x00008486 arg  0x00000676 , 0x00000006 
+ 00030881  0x00008487 arg  0x0000078e , 0x00000005 
+ 00030882  0x00008488 call  0x00007ebe 
+ 00030883  0x00008489 arg  0x0000078e , 0x00000011 
+ 00030884  0x0000848a call  0x00007748 
+ 00030885  0x0000848b arg  0x00000776 , 0x00000011 
+ 00030886  0x0000848c arg  0x0000078e , 0x00000012 
+ 00030887  0x0000848d arg  0x00000776 , 0x00000005 
+ 00030888  0x0000848e call  0x00007758 
+ 00030889  0x0000848f arg  0x00000776 , 0x00000011 
+ 00030890  0x00008490 arg  0x0000075e , 0x00000012 
+ 00030891  0x00008491 arg  0x0000075e , 0x00000005 
+ 00030892  0x00008492 call  0x00007786 
+ 00030893  0x00008493 arg  0x0000075e , 0x00000011 
+ 00030894  0x00008494 arg  0x0000072e , 0x00000012 
+ 00030895  0x00008495 arg  0x0000068e , 0x00000005 
+ 00030896  0x00008496 call  0x00007758 
+ 00030897  0x00008497 arg  0x0000068e , 0x00000011 
+ 00030898  0x00008498 arg  0x00000886 , 0x00000012 
+ 00030899  0x00008499 arg  0x0000068e , 0x00000005 
+ 00030900  0x0000849a force  0x00000000 , 0x00000013 
+ 00030901  0x0000849b fetch  0x00000001 , 0x0000068e 
+ 00030902  0x0000849c isolate1  0x00000000 , 0x0000003f 
+ 00030903  0x0000849d call  0x00007711 , 0x00000001 
+ 00030904  0x0000849e copy  0x00000013 , 0x00000030 
+ 00030905  0x0000849f arg  0x0000068e , 0x00000011 
+ 00030906  0x000084a0 call  0x0000772d 
+ 00030907  0x000084a1 fetch  0x00000001 , 0x000006a5 
+ 00030908  0x000084a2 isolate1  0x00000000 , 0x00000030 
+ 00030909  0x000084a3 setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00030910  0x000084a4 store  0x00000001 , 0x000006a5 
+ 00030911  0x000084a5 rtn 
+ 00030912  0x000084aa fetch  0x00000001 , 0x000005e3 
+ 00030913  0x000084ab increase  0xffffffff , 0x0000003f 
+ 00030914  0x000084ac nrtn  0x00000002 
+ 00030915  0x000084ad store  0x00000001 , 0x000005e3 
+ 00030916  0x000084ae fetch  0x00000001 , 0x000005e2 
+ 00030917  0x000084af call  0x00007803 , 0x00000034 
+ 00030918  0x000084b0 fetch  0x00000001 , 0x000005e3 
+ 00030919  0x000084b1 arg  0x000006be , 0x00000006 
+ 00030920  0x000084b2 call  0x000076ec 
+ 00030921  0x000084b3 branch  0x000078c0 , 0x00000001 
+ 00030922  0x000084b4 fetch  0x00000001 , 0x000005e2 
+ 00030923  0x000084b5 nbranch  0x000078ce , 0x00000034 
+ 00030924  0x000084b6 call  0x00007854 
+ 00030925  0x000084b7 branch  0x000078c0 
+ 00030926  0x000084b9 jam  0x00000000 , 0x000005e2 
+ 00030927  0x000084ba arg  0x000005e6 , 0x00000006 
+ 00030928  0x000084bb arg  0x00000676 , 0x00000005 
+ 00030929  0x000084bc call  0x000076f2 
+ 00030930  0x000084bd branch  0x000078c0 
+ 00030931  0x000084c1 arg  0x000006a6 , 0x00000011 
+ 00030932  0x000084c2 arg  0x00000776 , 0x00000005 
+ 00030933  0x000084c3 call  0x000077be 
+ 00030934  0x000084c4 arg  0x00000776 , 0x00000011 
+ 00030935  0x000084c5 arg  0x0000072e , 0x00000005 
+ 00030936  0x000084c6 call  0x000077a8 
+ 00030937  0x000084c7 arg  0x00000676 , 0x00000011 
+ 00030938  0x000084c8 arg  0x0000072e , 0x00000012 
+ 00030939  0x000084c9 arg  0x0000062e , 0x00000005 
+ 00030940  0x000084ca call  0x00007786 
+ 00030941  0x000084cb arg  0x00000776 , 0x00000011 
+ 00030942  0x000084cc arg  0x0000072e , 0x00000012 
+ 00030943  0x000084cd arg  0x0000075e , 0x00000005 
+ 00030944  0x000084ce call  0x00007786 
+ 00030945  0x000084cf arg  0x0000068e , 0x00000011 
+ 00030946  0x000084d0 arg  0x0000075e , 0x00000012 
+ 00030947  0x000084d1 arg  0x00000646 , 0x00000005 
+ 00030948  0x000084d2 branch  0x00007786 
+ 00030949  0x000084d7 ifetch  0x00000004 , 0x00000006 
+ 00030950  0x000084d8 force  0x00000004 , 0x00000011 
+ 00030951  0x000084d9 increase  0x00000003 , 0x00000005 
+ 00030952  0x000084db istore  0x00000001 , 0x00000005 
+ 00030953  0x000084dc rshift8  0x0000003f , 0x0000003f 
+ 00030954  0x000084dd increase  0xfffffffe , 0x00000005 
+ 00030955  0x000084de increase  0xffffffff , 0x00000011 
+ 00030956  0x000084df nbranch  0x000078e8 , 0x00000005 
+ 00030957  0x000084e0 increase  0x00000005 , 0x00000005 
+ 00030958  0x000084e1 loop  0x000078e5 
+ 00030959  0x000084e2 rtn 
+ 00030960  0x000084e6 lshift2  0x00000007 , 0x0000003f 
+ 00030961  0x000084e7 iadd  0x0000000b , 0x00000006 
+ 00030962  0x000084e8 ifetch  0x00000004 , 0x00000006 
+ 00030963  0x000084e9 rtn 
+ 00030964  0x000084ec force  0x00000010 , 0x00000030 
+ 00030965  0x000084ed arg  0x000005e6 , 0x0000000b 
+ 00030966  0x000084ef add  0x00000030 , 0xfffffff9 , 0x00000007 
+ 00030967  0x000084f0 call  0x000078f0 
+ 00030968  0x000084f1 iforce  0x00000002 
+ 00030969  0x000084f2 add  0x00000030 , 0xfffffff0 , 0x00000007 
+ 00030970  0x000084f3 call  0x000078f0 
+ 00030971  0x000084f4 iadd  0x00000002 , 0x00000002 
+ 00030972  0x000084f5 add  0x00000030 , 0xfffffffe , 0x00000007 
+ 00030973  0x000084f6 call  0x000078f0 
+ 00030974  0x000084f7 shasx  0x0000003f , 0x00000001 , 0x0000003f 
+ 00030975  0x000084f8 iadd  0x00000002 , 0x00000002 
+ 00030976  0x000084f9 add  0x00000030 , 0xfffffff1 , 0x00000007 
+ 00030977  0x000084fa call  0x000078f0 
+ 00030978  0x000084fb shasx  0x0000003f , 0x00000000 , 0x0000003f 
+ 00030979  0x000084fc iadd  0x00000002 , 0x00000002 
+ 00030980  0x000084fd lshift2  0x00000030 , 0x0000003f 
+ 00030981  0x000084fe iadd  0x0000000b , 0x00000005 
+ 00030982  0x000084ff istoret  0x00000004 , 0x00000005 
+ 00030983  0x00008500 increase  0x00000001 , 0x00000030 
+ 00030984  0x00008501 compare  0x00000040 , 0x00000030 , 0x000000ff 
+ 00030985  0x00008502 nbranch  0x000078f6 , 0x00000001 
+ 00030986  0x00008503 rtn 
+ 00030987  0x00008507 arg  0x000008fe , 0x00000006 
+ 00030988  0x00008508 force  0x00000007 , 0x00000038 
+ 00030989  0x0000850a ifetch  0x00000004 , 0x00000006 
+ 00030990  0x0000850b iforce  0x0000002f 
+ 00030991  0x0000850c increase  0xffffffff , 0x00000038 
+ 00030992  0x0000850d branch  0x0000790d , 0x00000002 
+ 00030993  0x0000850e rtn 
+ 00030994  0x00008511 bpatchx  0x000000ec , 0x0000403d 
+ 00030995  0x00008512 call  0x000078f4 
+ 00030996  0x00008513 arg  0x000006e6 , 0x00000005 
+ 00030997  0x00008514 force  0x00000000 , 0x00000038 
+ 00030998  0x00008516 deposit  0x0000002f 
+ 00030999  0x00008517 istore  0x00000004 , 0x00000005 
+ 00031000  0x00008518 increase  0x00000001 , 0x00000038 
+ 00031001  0x00008519 compare  0x00000008 , 0x00000038 , 0x000000ff 
+ 00031002  0x0000851a nbranch  0x00007916 , 0x00000001 
+ 00031003  0x0000851b call  0x000074b9 
+ 00031004  0x0000851c arg  0x00008700 , 0x0000000b 
+ 00031005  0x0000851d arg  0x000005e6 , 0x00000030 
+ 00031006  0x0000851e force  0x00000040 , 0x00000039 
+ 00031007  0x00008520 ifetcht  0x00000004 , 0x00000030 
+ 00031008  0x00008521 ifetch  0x00000004 , 0x0000000b 
+ 00031009  0x00008522 increase  0x00000004 , 0x0000000b 
+ 00031010  0x00008523 increase  0x00000004 , 0x00000030 
+ 00031011  0x00008524 iadd  0x00000002 , 0x0000003f 
+ 00031012  0x00008525 force  0x00000007 , 0x00000038 
+ 00031013  0x00008526 iadd  0x0000002f , 0x00000002 
+ 00031014  0x00008527 force  0x00000004 , 0x00000038 
+ 00031015  0x00008528 shasx  0x0000002f , 0x00000003 , 0x0000003f 
+ 00031016  0x00008529 iadd  0x00000002 , 0x00000002 
+ 00031017  0x0000852a force  0x00000005 , 0x00000038 
+ 00031018  0x0000852b deposit  0x0000002f 
+ 00031019  0x0000852c force  0x00000006 , 0x00000038 
+ 00031020  0x0000852d ixor  0x0000002f , 0x0000003f 
+ 00031021  0x0000852e force  0x00000004 , 0x00000038 
+ 00031022  0x0000852f iand  0x0000002f , 0x0000003f 
+ 00031023  0x00008530 force  0x00000006 , 0x00000038 
+ 00031024  0x00008531 ixor  0x0000002f , 0x0000003f 
+ 00031025  0x00008532 iadd  0x00000002 , 0x00000002 
+ 00031026  0x00008533 force  0x00000007 , 0x00000038 
+ 00031027  0x00008534 copy  0x00000002 , 0x0000002f 
+ 00031028  0x00008535 force  0x00000003 , 0x00000038 
+ 00031029  0x00008536 deposit  0x0000002f 
+ 00031030  0x00008537 iadd  0x00000002 , 0x0000002f 
+ 00031031  0x00008538 force  0x00000000 , 0x00000038 
+ 00031032  0x00008539 deposit  0x0000002f 
+ 00031033  0x0000853a force  0x00000001 , 0x00000038 
+ 00031034  0x0000853b iand  0x0000002f , 0x00000002 
+ 00031035  0x0000853c ior  0x0000002f , 0x0000003f 
+ 00031036  0x0000853d force  0x00000002 , 0x00000038 
+ 00031037  0x0000853e iand  0x0000002f , 0x0000003f 
+ 00031038  0x0000853f ior  0x00000002 , 0x00000002 
+ 00031039  0x00008540 force  0x00000000 , 0x00000038 
+ 00031040  0x00008541 shasx  0x0000002f , 0x00000002 , 0x0000003f 
+ 00031041  0x00008542 iadd  0x00000002 , 0x0000003f 
+ 00031042  0x00008543 force  0x00000007 , 0x00000038 
+ 00031043  0x00008544 iadd  0x0000002f , 0x0000002f 
+ 00031044  0x00008545 regexrot 
+ 00031045  0x00008546 loop  0x0000791f 
+ 00031046  0x00008547 arg  0x000006e6 , 0x00000006 
+ 00031047  0x00008548 force  0x00000000 , 0x00000038 
+ 00031048  0x0000854a ifetch  0x00000004 , 0x00000006 
+ 00031049  0x0000854b iadd  0x0000002f , 0x0000002f 
+ 00031050  0x0000854c increase  0x00000001 , 0x00000038 
+ 00031051  0x0000854d compare  0x00000008 , 0x00000038 , 0x000000ff 
+ 00031052  0x0000854e nbranch  0x00007948 , 0x00000001 
+ 00031053  0x0000854f branch  0x000074bd 
+ 00031054  0x00008553 arg  0x00000a3e , 0x00000005 
+ 00031055  0x00008554 force  0x00000007 , 0x00000038 
+ 00031056  0x00008556 deposit  0x0000002f 
+ 00031057  0x00008557 istore  0x00000004 , 0x00000005 
+ 00031058  0x00008558 increase  0xffffffff , 0x00000038 
+ 00031059  0x00008559 branch  0x00007950 , 0x00000002 
+ 00031060  0x0000855a rtn 
+ 00031061  0x0000855e arg  0x000005e6 , 0x00000005 
+ 00031062  0x0000855f increase  0xfffffffc , 0x00000006 
+ 00031063  0x00008560 sub  0x00000039 , 0x00000010 , 0x00000011 
+ 00031064  0x00008562 ifetch  0x00000004 , 0x00000006 
+ 00031065  0x00008563 ixor  0x00000002 , 0x0000003f 
+ 00031066  0x00008564 istore  0x00000004 , 0x00000005 
+ 00031067  0x00008565 increase  0xfffffff8 , 0x00000006 
+ 00031068  0x00008566 loop  0x00007958 
+ 00031069  0x00008567 copy  0x00000011 , 0x00000039 
+ 00031070  0x00008568 deposit  0x00000002 
+ 00031071  0x0000856a istore  0x00000004 , 0x00000005 
+ 00031072  0x0000856b loop  0x0000795f 
+ 00031073  0x0000856c rtn 
+ 00031074  0x0000856f call  0x00007967 
+ 00031075  0x00008570 call  0x0000794e 
+ 00031076  0x00008571 branch  0x0000798d 
+ 00031077  0x00008574 call  0x00007967 
+ 00031078  0x00008575 branch  0x0000798d 
+ 00031079  0x00008578 arg  0x000009de , 0x00000006 
+ 00031080  0x00008579 arg  0x000005e6 , 0x00000005 
+ 00031081  0x0000857a force  0x00000006 , 0x00000039 
+ 00031082  0x0000857b call  0x00007a71 
+ 00031083  0x0000857c arg  0x00004642 , 0x00000006 
+ 00031084  0x0000857d force  0x00000006 , 0x00000039 
+ 00031085  0x0000857e call  0x00007a71 
+ 00031086  0x0000857f arg  0x00000a3e , 0x00000006 
+ 00031087  0x00008580 call  0x00007a70 
+ 00031088  0x00008581 call  0x0000790b 
+ 00031089  0x00008582 call  0x00007912 
+ 00031090  0x00008583 arg  0x00000a2e , 0x00000006 
+ 00031091  0x00008584 arg  0x000005e6 , 0x00000005 
+ 00031092  0x00008585 branch  0x00007984 
+ 00031093  0x00008588 arg  0x00004642 , 0x00000006 
+ 00031094  0x00008589 arg  0x000005e6 , 0x00000005 
+ 00031095  0x0000858a force  0x00000006 , 0x00000039 
+ 00031096  0x0000858b call  0x00007a71 
+ 00031097  0x0000858c arg  0x000009de , 0x00000006 
+ 00031098  0x0000858d force  0x00000006 , 0x00000039 
+ 00031099  0x0000858e call  0x00007a71 
+ 00031100  0x0000858f arg  0x00000a2e , 0x00000006 
+ 00031101  0x00008590 call  0x00007a70 
+ 00031102  0x00008591 call  0x0000790b 
+ 00031103  0x00008592 call  0x00007912 
+ 00031104  0x00008593 arg  0x00000a3e , 0x00000006 
+ 00031105  0x00008594 arg  0x000005e6 , 0x00000005 
+ 00031106  0x00008595 call  0x00007984 
+ 00031107  0x00008596 branch  0x0000798d 
+ 00031108  0x00008599 call  0x00007a70 
+ 00031109  0x0000859a setarg  0x00800000 
+ 00031110  0x0000859b lshift8  0x0000003f , 0x0000003f 
+ 00031111  0x0000859c istore  0x00000004 , 0x00000005 
+ 00031112  0x0000859d force  0x00000005 , 0x00000039 
+ 00031113  0x0000859e call  0x00007ec6 
+ 00031114  0x0000859f setarg  0x00000280 
+ 00031115  0x000085a0 istore  0x00000004 , 0x00000005 
+ 00031116  0x000085a1 branch  0x00007912 
+ 00031117  0x000085a3 fetch  0x00000004 , 0x00000a3e 
+ 00031118  0x000085a5 arg  0x000003e8 , 0x00000011 
+ 00031119  0x000085a6 idiv  0x00000011 
+ 00031120  0x000085a7 call  0x00007f86 
+ 00031121  0x000085a8 remainder  0x0000003f 
+ 00031122  0x000085a9 store  0x00000004 , 0x000009ba 
+ 00031123  0x000085aa quotient  0x0000003f 
+ 00031124  0x000085ab arg  0x000003e8 , 0x00000011 
+ 00031125  0x000085ac idiv  0x00000011 
+ 00031126  0x000085ad call  0x00007f86 
+ 00031127  0x000085ae remainder  0x0000003f 
+ 00031128  0x000085af arg  0x000003e8 , 0x00000011 
+ 00031129  0x000085b0 imul32  0x00000011 , 0x0000003f 
+ 00031130  0x000085b1 fetcht  0x00000004 , 0x000009ba 
+ 00031131  0x000085b2 iadd  0x00000002 , 0x0000003f 
+ 00031132  0x000085b3 store  0x00000004 , 0x000009ba 
+ 00031133  0x000085b4 rtn 
+ 00031134  0x000085b7 jam  0x00000000 , 0x00004664 
+ 00031135  0x000085b8 branch  0x000079a2 
+ 00031136  0x000085bb fetch  0x00000001 , 0x00004662 
+ 00031137  0x000085bc bne  0x00000002 , 0x0000799e 
+ 00031138  0x000085be bpatchx  0x000000ed , 0x0000403d 
+ 00031139  0x000085bf setarg  0x00363636 
+ 00031140  0x000085c0 lshift8  0x0000003f , 0x00000002 
+ 00031141  0x000085c1 or_into  0x00000036 , 0x00000002 
+ 00031142  0x000085c2 fetch  0x00000002 , 0x00000a7e 
+ 00031143  0x000085c3 copy  0x0000003f , 0x00000006 
+ 00031144  0x000085c4 force  0x00000004 , 0x00000039 
+ 00031145  0x000085c5 call  0x00007955 
+ 00031146  0x000085c6 call  0x0000790b 
+ 00031147  0x000085c7 call  0x00007912 
+ 00031148  0x000085c8 fetch  0x00000002 , 0x00000a80 
+ 00031149  0x000085c9 copy  0x0000003f , 0x00000006 
+ 00031150  0x000085ca arg  0x000005e6 , 0x00000005 
+ 00031151  0x000085cb force  0x00000006 , 0x00000039 
+ 00031152  0x000085cc call  0x00007a71 
+ 00031153  0x000085cd fetch  0x00000002 , 0x00000a82 
+ 00031154  0x000085ce copy  0x0000003f , 0x00000006 
+ 00031155  0x000085cf force  0x00000006 , 0x00000039 
+ 00031156  0x000085d0 call  0x00007a71 
+ 00031157  0x000085d1 setarg  0x00800000 
+ 00031158  0x000085d2 istore  0x00000003 , 0x00000005 
+ 00031159  0x000085d4 fetch  0x00000001 , 0x00004664 
+ 00031160  0x000085d6 istore  0x00000001 , 0x00000005 
+ 00031161  0x000085d7 force  0x00000000 , 0x0000003f 
+ 00031162  0x000085d8 istore  0x00000008 , 0x00000005 
+ 00031163  0x000085d9 setarg  0x00000388 
+ 00031164  0x000085da istore  0x00000004 , 0x00000005 
+ 00031165  0x000085db call  0x00007912 
+ 00031166  0x000085dc call  0x0000794e 
+ 00031167  0x000085dd arg  0x00000a3e , 0x00000006 
+ 00031168  0x000085de arg  0x00000706 , 0x00000005 
+ 00031169  0x000085df call  0x00007ebd 
+ 00031170  0x000085e1 setarg  0x005c5c5c 
+ 00031171  0x000085e2 lshift8  0x0000003f , 0x00000002 
+ 00031172  0x000085e3 or_into  0x0000005c , 0x00000002 
+ 00031173  0x000085e4 fetch  0x00000002 , 0x00000a7e 
+ 00031174  0x000085e5 copy  0x0000003f , 0x00000006 
+ 00031175  0x000085e6 force  0x00000004 , 0x00000039 
+ 00031176  0x000085e7 call  0x00007955 
+ 00031177  0x000085e8 call  0x0000790b 
+ 00031178  0x000085e9 call  0x00007912 
+ 00031179  0x000085ea arg  0x00000726 , 0x00000006 
+ 00031180  0x000085eb arg  0x000005e6 , 0x00000005 
+ 00031181  0x000085ec force  0x00000008 , 0x00000039 
+ 00031182  0x000085ed call  0x00007a71 
+ 00031183  0x000085ee setarg  0x00800000 
+ 00031184  0x000085ef lshift8  0x0000003f , 0x0000003f 
+ 00031185  0x000085f0 istore  0x00000004 , 0x00000005 
+ 00031186  0x000085f1 call  0x00007ec5 
+ 00031187  0x000085f2 setarg  0x00000300 
+ 00031188  0x000085f3 istore  0x00000004 , 0x00000005 
+ 00031189  0x000085f4 call  0x00007912 
+ 00031190  0x000085f5 branch  0x0000794e 
+ 00031191  0x000085f9 setarg  0x00363636 
+ 00031192  0x000085fa lshift8  0x0000003f , 0x00000002 
+ 00031193  0x000085fb or_into  0x00000036 , 0x00000002 
+ 00031194  0x000085fc arg  0x00000a1e , 0x00000006 
+ 00031195  0x000085fd force  0x00000006 , 0x00000039 
+ 00031196  0x000085fe call  0x00007955 
+ 00031197  0x000085ff call  0x0000790b 
+ 00031198  0x00008600 call  0x00007912 
+ 00031199  0x00008601 fetch  0x00000002 , 0x00000a8a 
+ 00031200  0x00008602 copy  0x0000003f , 0x00000006 
+ 00031201  0x00008603 arg  0x000005e6 , 0x00000005 
+ 00031202  0x00008604 call  0x00007a70 
+ 00031203  0x00008605 fetch  0x00000002 , 0x00000a8c 
+ 00031204  0x00008606 copy  0x0000003f , 0x00000006 
+ 00031205  0x00008607 call  0x00007a70 
+ 00031206  0x00008609 setarg  0x0062746c 
+ 00031207  0x0000860a lshift8  0x0000003f , 0x0000003f 
+ 00031208  0x0000860b or_into  0x0000006b , 0x0000003f 
+ 00031209  0x0000860c istore  0x00000004 , 0x00000005 
+ 00031210  0x0000860d arg  0x00000733 , 0x00000006 
+ 00031211  0x0000860e force  0x00000003 , 0x00000039 
+ 00031212  0x0000860f call  0x00007a71 
+ 00031213  0x00008611 setarg  0x00800000 
+ 00031214  0x00008612 lshift8  0x0000003f , 0x0000003f 
+ 00031215  0x00008613 istore  0x00000004 , 0x00000005 
+ 00031216  0x00008614 force  0x00000000 , 0x0000003f 
+ 00031217  0x00008615 istore  0x00000008 , 0x00000005 
+ 00031218  0x00008616 setarg  0x00000380 
+ 00031219  0x00008617 istore  0x00000004 , 0x00000005 
+ 00031220  0x00008618 call  0x00007912 
+ 00031221  0x0000861a call  0x0000794e 
+ 00031222  0x0000861b arg  0x00000a3e , 0x00000006 
+ 00031223  0x0000861c arg  0x00000706 , 0x00000005 
+ 00031224  0x0000861d call  0x00007ebd 
+ 00031225  0x0000861f setarg  0x005c5c5c 
+ 00031226  0x00008620 lshift8  0x0000003f , 0x00000002 
+ 00031227  0x00008621 or_into  0x0000005c , 0x00000002 
+ 00031228  0x00008622 arg  0x00000a1e , 0x00000006 
+ 00031229  0x00008623 force  0x00000006 , 0x00000039 
+ 00031230  0x00008624 call  0x00007955 
+ 00031231  0x00008625 call  0x0000790b 
+ 00031232  0x00008626 call  0x00007912 
+ 00031233  0x00008627 arg  0x00000726 , 0x00000006 
+ 00031234  0x00008628 arg  0x000005e6 , 0x00000005 
+ 00031235  0x00008629 force  0x00000008 , 0x00000039 
+ 00031236  0x0000862a call  0x00007a71 
+ 00031237  0x0000862b setarg  0x00800000 
+ 00031238  0x0000862c lshift8  0x0000003f , 0x0000003f 
+ 00031239  0x0000862d istore  0x00000004 , 0x00000005 
+ 00031240  0x0000862e call  0x00007ec5 
+ 00031241  0x0000862f setarg  0x00000300 
+ 00031242  0x00008630 istore  0x00000004 , 0x00000005 
+ 00031243  0x00008631 call  0x00007912 
+ 00031244  0x00008632 branch  0x0000794e 
+ 00031245  0x00008636 fetch  0x00000001 , 0x00004662 
+ 00031246  0x00008637 bne  0x00000002 , 0x00007a1e 
+ 00031247  0x00008639 bpatchx  0x000000ee , 0x0000403d 
+ 00031248  0x0000863a setarg  0x00363636 
+ 00031249  0x0000863b lshift8  0x0000003f , 0x00000002 
+ 00031250  0x0000863c or_into  0x00000036 , 0x00000002 
+ 00031251  0x0000863d arg  0x00000a1e , 0x00000006 
+ 00031252  0x0000863e force  0x00000006 , 0x00000039 
+ 00031253  0x0000863f call  0x00007955 
+ 00031254  0x00008640 call  0x0000790b 
+ 00031255  0x00008641 call  0x00007912 
+ 00031256  0x00008642 arg  0x00000a3e , 0x00000006 
+ 00031257  0x00008643 arg  0x000005e6 , 0x00000005 
+ 00031258  0x00008644 call  0x00007a70 
+ 00031259  0x00008645 arg  0x00000a2e , 0x00000006 
+ 00031260  0x00008646 call  0x00007a70 
+ 00031261  0x00008647 branch  0x00007a33 
+ 00031262  0x0000864a setarg  0x00000000 
+ 00031263  0x0000864b store  0x00000004 , 0x0000468a 
+ 00031264  0x0000864c branch  0x00007a0f 
+ 00031265  0x0000864f setarg  0x00000000 
+ 00031266  0x00008650 store  0x00000004 , 0x0000468a 
+ 00031267  0x00008651 branch  0x00007a26 
+ 00031268  0x00008655 fetch  0x00000001 , 0x00004662 
+ 00031269  0x00008656 bne  0x00000002 , 0x00007a21 
+ 00031270  0x00008658 setarg  0x00363636 
+ 00031271  0x00008659 lshift8  0x0000003f , 0x00000002 
+ 00031272  0x0000865a or_into  0x00000036 , 0x00000002 
+ 00031273  0x0000865b arg  0x00000a1e , 0x00000006 
+ 00031274  0x0000865c force  0x00000006 , 0x00000039 
+ 00031275  0x0000865d call  0x00007955 
+ 00031276  0x0000865e call  0x0000790b 
+ 00031277  0x0000865f call  0x00007912 
+ 00031278  0x00008661 arg  0x00000a2e , 0x00000006 
+ 00031279  0x00008662 arg  0x000005e6 , 0x00000005 
+ 00031280  0x00008663 call  0x00007a70 
+ 00031281  0x00008664 arg  0x00000a3e , 0x00000006 
+ 00031282  0x00008665 call  0x00007a70 
+ 00031283  0x00008667 setarg  0x00000000 
+ 00031284  0x00008668 istore  0x00000008 , 0x00000005 
+ 00031285  0x00008669 istore  0x00000004 , 0x00000005 
+ 00031286  0x0000866a fetch  0x00000004 , 0x0000468a 
+ 00031287  0x0000866b istore  0x00000004 , 0x00000005 
+ 00031288  0x0000866d copy  0x00000005 , 0x00000002 
+ 00031289  0x0000866e jam  0x00000080 , 0x00000726 
+ 00031290  0x0000866f copy  0x00000002 , 0x00000005 
+ 00031291  0x00008670 arg  0x00000736 , 0x00000006 
+ 00031292  0x00008671 call  0x00007a70 
+ 00031293  0x00008673 call  0x00007912 
+ 00031294  0x00008675 arg  0x000005e6 , 0x00000005 
+ 00031295  0x00008676 force  0x00000007 , 0x00000039 
+ 00031296  0x00008677 call  0x00007ec6 
+ 00031297  0x00008678 istore  0x00000004 , 0x00000005 
+ 00031298  0x00008679 setarg  0x000003f8 
+ 00031299  0x0000867a istore  0x00000004 , 0x00000005 
+ 00031300  0x0000867b call  0x00007912 
+ 00031301  0x0000867c call  0x0000794e 
+ 00031302  0x0000867e arg  0x00000a3e , 0x00000006 
+ 00031303  0x0000867f arg  0x00000706 , 0x00000005 
+ 00031304  0x00008680 call  0x00007ebd 
+ 00031305  0x00008682 setarg  0x005c5c5c 
+ 00031306  0x00008683 lshift8  0x0000003f , 0x00000002 
+ 00031307  0x00008684 or_into  0x0000005c , 0x00000002 
+ 00031308  0x00008685 arg  0x00000a1e , 0x00000006 
+ 00031309  0x00008686 force  0x00000006 , 0x00000039 
+ 00031310  0x00008687 call  0x00007955 
+ 00031311  0x00008688 call  0x0000790b 
+ 00031312  0x00008689 call  0x00007912 
+ 00031313  0x0000868a arg  0x00000726 , 0x00000006 
+ 00031314  0x0000868b arg  0x000005e6 , 0x00000005 
+ 00031315  0x0000868c force  0x00000008 , 0x00000039 
+ 00031316  0x0000868d call  0x00007a71 
+ 00031317  0x0000868e setarg  0x00800000 
+ 00031318  0x0000868f lshift8  0x0000003f , 0x0000003f 
+ 00031319  0x00008690 istore  0x00000004 , 0x00000005 
+ 00031320  0x00008691 call  0x00007ec5 
+ 00031321  0x00008692 setarg  0x00000300 
+ 00031322  0x00008693 istore  0x00000004 , 0x00000005 
+ 00031323  0x00008694 call  0x00007912 
+ 00031324  0x00008695 branch  0x0000794e 
+ 00031325  0x0000869d jam  0x000000c0 , 0x000005e3 
+ 00031326  0x0000869f fetch  0x00000001 , 0x000005e3 
+ 00031327  0x000086a0 rtn  0x00000034 
+ 00031328  0x000086a1 increase  0xffffffff , 0x0000003f 
+ 00031329  0x000086a2 store  0x00000001 , 0x000005e3 
+ 00031330  0x000086a3 arg  0x000006be , 0x00000006 
+ 00031331  0x000086a4 call  0x000076ec 
+ 00031332  0x000086a5 branch  0x00007a5e , 0x00000001 
+ 00031333  0x000086a6 arg  0x000005e6 , 0x00000006 
+ 00031334  0x000086a7 arg  0x00000676 , 0x00000005 
+ 00031335  0x000086a8 branch  0x000076f2 
+ 00031336  0x000086ab call  0x00007803 
+ 00031337  0x000086ac fetch  0x00000001 , 0x000005e3 
+ 00031338  0x000086ad increase  0xffffffff , 0x0000003f 
+ 00031339  0x000086ae store  0x00000001 , 0x000005e3 
+ 00031340  0x000086af arg  0x000006be , 0x00000006 
+ 00031341  0x000086b0 call  0x000076ec 
+ 00031342  0x000086b1 rtn  0x00000001 
+ 00031343  0x000086b2 branch  0x00007854 
+ 00031344  0x000086b5 force  0x00000004 , 0x00000039 
+ 00031345  0x000086b7 increase  0xfffffffc , 0x00000006 
+ 00031346  0x000086b9 ifetch  0x00000004 , 0x00000006 
+ 00031347  0x000086ba istore  0x00000004 , 0x00000005 
+ 00031348  0x000086bb increase  0xfffffff8 , 0x00000006 
+ 00031349  0x000086bc loop  0x00007a72 
+ 00031350  0x000086bd rtn 
+ 00031351  0x000086c3 bpatchx  0x000000ef , 0x0000403d 
+ 00031352  0x000086c4 fetch  0x00000001 , 0x000044be 
+ 00031353  0x000086c5 branch  0x00005af0 , 0x00000034 
+ 00031354  0x000086c6 call  0x00005aec 
+ 00031355  0x000086c7 call  0x00007583 
+ 00031356  0x000086c9 branch  0x00007a7d 
+ 00031357  0x000086cf fetch  0x00000001 , 0x000044c3 
+ 00031358  0x000086d0 rtnne  0x00000000 
+ 00031359  0x000086d1 fetch  0x00000001 , 0x000044c0 
+ 00031360  0x000086d2 rtnne  0x00000000 
+ 00031361  0x000086d4 arg  0x000045b2 , 0x00000005 
+ 00031362  0x000086d5 force  0x0000000f , 0x00000007 
+ 00031363  0x000086d6 call  0x000076a2 
+ 00031364  0x000086d7 random  0x0000003f 
+ 00031365  0x000086d8 rshift  0x0000003f , 0x0000003f 
+ 00031366  0x000086d9 istore  0x00000002 , 0x00000005 
+ 00031367  0x000086db arg  0x00000766 , 0x00000005 
+ 00031368  0x000086dc arg  0x000045b2 , 0x00000006 
+ 00031369  0x000086dd call  0x00007ebd 
+ 00031370  0x000086df arg  0x00000646 , 0x00000005 
+ 00031371  0x000086e0 arg  0x0000095e , 0x00000006 
+ 00031372  0x000086e1 call  0x00007eb3 
+ 00031373  0x000086e3 arg  0x00000686 , 0x00000005 
+ 00031374  0x000086e4 call  0x00007ed0 
+ 00031375  0x000086e5 jam  0x00000001 , 0x00000686 
+ 00031376  0x000086e7 call  0x00007ac7 
+ 00031377  0x000086e8 jam  0x00000003 , 0x000044c0 
+ 00031378  0x000086e9 rtn 
+ 00031379  0x000086ec arg  0x000045d2 , 0x00000005 
+ 00031380  0x000086ed arg  0x000006a6 , 0x00000006 
+ 00031381  0x000086ee call  0x00007eb3 
+ 00031382  0x000086ef jam  0x00000003 , 0x000044c3 
+ 00031383  0x000086f0 jam  0x00000000 , 0x000044c0 
+ 00031384  0x000086f1 rtn 
+ 00031385  0x000086f6 fetch  0x00000001 , 0x000009b9 
+ 00031386  0x000086f7 rtnne  0x00000000 
+ 00031387  0x000086f8 fetch  0x00000001 , 0x000044c0 
+ 00031388  0x000086f9 rtnne  0x00000000 
+ 00031389  0x000086fb arg  0x00000766 , 0x00000005 
+ 00031390  0x000086fc arg  0x000045b2 , 0x00000006 
+ 00031391  0x000086fd call  0x00007ebd 
+ 00031392  0x000086ff arg  0x00000646 , 0x00000005 
+ 00031393  0x00008700 arg  0x000009be , 0x00000006 
+ 00031394  0x00008701 call  0x00007eb3 
+ 00031395  0x00008703 arg  0x00000686 , 0x00000005 
+ 00031396  0x00008704 call  0x00007ed0 
+ 00031397  0x00008705 jam  0x00000001 , 0x00000686 
+ 00031398  0x00008707 call  0x00007ac7 
+ 00031399  0x00008708 jam  0x00000004 , 0x000044c0 
+ 00031400  0x00008709 rtn 
+ 00031401  0x0000870e arg  0x000009fe , 0x00000005 
+ 00031402  0x0000870f arg  0x000006a6 , 0x00000006 
+ 00031403  0x00008710 call  0x00007ebd 
+ 00031404  0x00008711 jam  0x00000003 , 0x000009b9 
+ 00031405  0x00008712 jam  0x00000000 , 0x000044c0 
+ 00031406  0x00008713 rtn 
+ 00031407  0x00008718 fetch  0x00000001 , 0x000044be 
+ 00031408  0x00008719 rtn  0x00000034 
+ 00031409  0x0000871a fetch  0x00000001 , 0x000044c0 
+ 00031410  0x0000871b rtn  0x00000034 
+ 00031411  0x0000871c increase  0x00000080 , 0x0000003f 
+ 00031412  0x0000871d store  0x00000001 , 0x000044c0 
+ 00031413  0x0000871e rtnbit1  0x00000007 
+ 00031414  0x0000871f fetch  0x00000002 , 0x000005e3 
+ 00031415  0x00008720 branch  0x00007ab9 , 0x00000034 
+ 00031416  0x00008721 branch  0x00007abf 
+ 00031417  0x00008724 bpatchx  0x000000f0 , 0x0000403e 
+ 00031418  0x00008725 call  0x00007ad4 
+ 00031419  0x00008726 fetch  0x00000001 , 0x000044c0 
+ 00031420  0x00008727 beq  0x00000003 , 0x00007a93 
+ 00031421  0x00008728 beq  0x00000004 , 0x00007aa9 
+ 00031422  0x00008729 rtn 
+ 00031423  0x0000872d call  0x00007ae6 
+ 00031424  0x0000872e fetch  0x00000002 , 0x000005e3 
+ 00031425  0x0000872f increase  0xffffffff , 0x0000003f 
+ 00031426  0x00008730 store  0x00000002 , 0x000005e3 
+ 00031427  0x00008731 arg  0x00000766 , 0x00000006 
+ 00031428  0x00008732 call  0x000076ec 
+ 00031429  0x00008733 rtn  0x00000001 
+ 00031430  0x00008734 branch  0x00007b37 
+ 00031431  0x00008737 bpatchx  0x000000f1 , 0x0000403e 
+ 00031432  0x00008738 setarg  0x00000100 , 0x0000003f 
+ 00031433  0x00008739 store  0x00000002 , 0x000005e3 
+ 00031434  0x0000873b fetch  0x00000002 , 0x000005e3 
+ 00031435  0x0000873c rtn  0x00000034 
+ 00031436  0x0000873d increase  0xffffffff , 0x0000003f 
+ 00031437  0x0000873e store  0x00000002 , 0x000005e3 
+ 00031438  0x0000873f arg  0x00000766 , 0x00000006 
+ 00031439  0x00008740 call  0x000076ec 
+ 00031440  0x00008741 branch  0x00007aca , 0x00000001 
+ 00031441  0x00008742 arg  0x00000646 , 0x00000006 
+ 00031442  0x00008743 arg  0x00000706 , 0x00000005 
+ 00031443  0x00008744 branch  0x00007eb2 
+ 00031444  0x00008748 arg  0x00000746 , 0x00000011 
+ 00031445  0x00008749 arg  0x00000846 , 0x00000005 
+ 00031446  0x0000874a call  0x00007ba3 
+ 00031447  0x0000874b arg  0x00000846 , 0x00000011 
+ 00031448  0x0000874c arg  0x000007e6 , 0x00000005 
+ 00031449  0x0000874d call  0x00007c79 
+ 00031450  0x0000874e arg  0x00000706 , 0x00000011 
+ 00031451  0x0000874f arg  0x000007e6 , 0x00000012 
+ 00031452  0x00008750 arg  0x000006a6 , 0x00000005 
+ 00031453  0x00008751 call  0x00007be1 
+ 00031454  0x00008752 arg  0x00000846 , 0x00000011 
+ 00031455  0x00008753 arg  0x000007e6 , 0x00000012 
+ 00031456  0x00008754 arg  0x00000826 , 0x00000005 
+ 00031457  0x00008755 call  0x00007be1 
+ 00031458  0x00008756 arg  0x00000726 , 0x00000011 
+ 00031459  0x00008757 arg  0x00000826 , 0x00000012 
+ 00031460  0x00008758 arg  0x000006c6 , 0x00000005 
+ 00031461  0x00008759 branch  0x00007be1 
+ 00031462  0x0000875c arg  0x00000746 , 0x00000011 
+ 00031463  0x0000875d arg  0x00000826 , 0x00000005 
+ 00031464  0x0000875e call  0x00007c79 
+ 00031465  0x0000875f arg  0x00000826 , 0x00000011 
+ 00031466  0x00008760 arg  0x00000846 , 0x00000005 
+ 00031467  0x00008761 call  0x00007c79 
+ 00031468  0x00008763 arg  0x0000093e , 0x00000011 
+ 00031469  0x00008764 arg  0x00000846 , 0x00000012 
+ 00031470  0x00008765 arg  0x00000846 , 0x00000005 
+ 00031471  0x00008766 call  0x00007be1 
+ 00031472  0x00008767 arg  0x00000706 , 0x00000011 
+ 00031473  0x00008768 arg  0x00000826 , 0x00000005 
+ 00031474  0x00008769 call  0x00007c79 
+ 00031475  0x0000876b arg  0x00000826 , 0x00000006 
+ 00031476  0x0000876c arg  0x000007e6 , 0x00000005 
+ 00031477  0x0000876d call  0x00007ebd 
+ 00031478  0x0000876e arg  0x000007e6 , 0x00000011 
+ 00031479  0x0000876f call  0x00007c80 
+ 00031480  0x00008770 arg  0x00000826 , 0x00000011 
+ 00031481  0x00008771 arg  0x000007e6 , 0x00000012 
+ 00031482  0x00008772 arg  0x00000826 , 0x00000005 
+ 00031483  0x00008773 call  0x00007c7d 
+ 00031484  0x00008775 arg  0x00000826 , 0x00000011 
+ 00031485  0x00008776 arg  0x00000846 , 0x00000012 
+ 00031486  0x00008777 arg  0x00000826 , 0x00000005 
+ 00031487  0x00008778 call  0x00007c7d 
+ 00031488  0x0000877a arg  0x00000706 , 0x00000006 
+ 00031489  0x0000877b arg  0x000007e6 , 0x00000005 
+ 00031490  0x0000877c call  0x00007ebd 
+ 00031491  0x0000877d arg  0x00000726 , 0x00000011 
+ 00031492  0x0000877e arg  0x00000846 , 0x00000005 
+ 00031493  0x0000877f call  0x00007c79 
+ 00031494  0x00008780 arg  0x000007e6 , 0x00000011 
+ 00031495  0x00008781 call  0x00007c80 
+ 00031496  0x00008782 arg  0x000007e6 , 0x00000011 
+ 00031497  0x00008783 call  0x00007c80 
+ 00031498  0x00008784 arg  0x000007e6 , 0x00000011 
+ 00031499  0x00008785 arg  0x00000846 , 0x00000012 
+ 00031500  0x00008786 arg  0x000007e6 , 0x00000005 
+ 00031501  0x00008787 call  0x00007be1 
+ 00031502  0x00008788 arg  0x00000846 , 0x00000011 
+ 00031503  0x00008789 arg  0x00000806 , 0x00000005 
+ 00031504  0x0000878a call  0x00007c79 
+ 00031505  0x0000878b arg  0x00000806 , 0x00000011 
+ 00031506  0x0000878c call  0x00007c80 
+ 00031507  0x0000878d arg  0x00000806 , 0x00000011 
+ 00031508  0x0000878e call  0x00007c80 
+ 00031509  0x0000878f arg  0x00000806 , 0x00000011 
+ 00031510  0x00008790 call  0x00007c80 
+ 00031511  0x00008791 arg  0x00000726 , 0x00000006 
+ 00031512  0x00008792 arg  0x00000846 , 0x00000005 
+ 00031513  0x00008793 call  0x00007ebd 
+ 00031514  0x00008794 arg  0x00000846 , 0x00000011 
+ 00031515  0x00008795 call  0x00007c80 
+ 00031516  0x00008796 arg  0x00000846 , 0x00000011 
+ 00031517  0x00008797 arg  0x00000746 , 0x00000012 
+ 00031518  0x00008798 arg  0x00000746 , 0x00000005 
+ 00031519  0x00008799 call  0x00007be1 
+ 00031520  0x0000879c arg  0x00000826 , 0x00000011 
+ 00031521  0x0000879d arg  0x00000846 , 0x00000005 
+ 00031522  0x0000879e call  0x00007c79 
+ 00031523  0x000087a0 arg  0x00000846 , 0x00000011 
+ 00031524  0x000087a1 arg  0x000007e6 , 0x00000012 
+ 00031525  0x000087a2 arg  0x00000846 , 0x00000005 
+ 00031526  0x000087a3 call  0x00007c96 
+ 00031527  0x000087a4 arg  0x00000846 , 0x00000011 
+ 00031528  0x000087a5 arg  0x000007e6 , 0x00000012 
+ 00031529  0x000087a6 arg  0x00000706 , 0x00000005 
+ 00031530  0x000087a7 call  0x00007c96 
+ 00031531  0x000087a8 arg  0x000007e6 , 0x00000011 
+ 00031532  0x000087a9 arg  0x00000706 , 0x00000012 
+ 00031533  0x000087aa arg  0x00000846 , 0x00000005 
+ 00031534  0x000087ab call  0x00007c96 
+ 00031535  0x000087ac arg  0x00000846 , 0x00000011 
+ 00031536  0x000087ad arg  0x00000826 , 0x00000012 
+ 00031537  0x000087ae arg  0x00000846 , 0x00000005 
+ 00031538  0x000087af call  0x00007be1 
+ 00031539  0x000087b0 arg  0x00000846 , 0x00000011 
+ 00031540  0x000087b1 arg  0x00000806 , 0x00000012 
+ 00031541  0x000087b2 arg  0x00000726 , 0x00000005 
+ 00031542  0x000087b3 branch  0x00007c96 
+ 00031543  0x000087b7 arg  0x00000686 , 0x00000011 
+ 00031544  0x000087b8 arg  0x00000866 , 0x00000005 
+ 00031545  0x000087b9 call  0x00007c79 
+ 00031546  0x000087ba arg  0x00000706 , 0x00000011 
+ 00031547  0x000087bb arg  0x00000866 , 0x00000012 
+ 00031548  0x000087bc arg  0x00000806 , 0x00000005 
+ 00031549  0x000087bd call  0x00007be1 
+ 00031550  0x000087c0 arg  0x00000686 , 0x00000011 
+ 00031551  0x000087c1 arg  0x00000866 , 0x00000012 
+ 00031552  0x000087c2 arg  0x00000866 , 0x00000005 
+ 00031553  0x000087c3 call  0x00007be1 
+ 00031554  0x000087c4 arg  0x00000726 , 0x00000011 
+ 00031555  0x000087c5 arg  0x00000866 , 0x00000012 
+ 00031556  0x000087c6 arg  0x000007e6 , 0x00000005 
+ 00031557  0x000087c7 call  0x00007be1 
+ 00031558  0x000087ca arg  0x00000746 , 0x00000011 
+ 00031559  0x000087cb arg  0x00000866 , 0x00000005 
+ 00031560  0x000087cc call  0x00007c79 
+ 00031561  0x000087cd arg  0x00000646 , 0x00000011 
+ 00031562  0x000087ce arg  0x00000866 , 0x00000012 
+ 00031563  0x000087cf arg  0x00000826 , 0x00000005 
+ 00031564  0x000087d0 call  0x00007be1 
+ 00031565  0x000087d2 arg  0x00000746 , 0x00000011 
+ 00031566  0x000087d3 arg  0x00000866 , 0x00000012 
+ 00031567  0x000087d4 arg  0x00000866 , 0x00000005 
+ 00031568  0x000087d5 call  0x00007be1 
+ 00031569  0x000087d6 arg  0x00000666 , 0x00000011 
+ 00031570  0x000087d7 arg  0x00000866 , 0x00000012 
+ 00031571  0x000087d8 arg  0x00000846 , 0x00000005 
+ 00031572  0x000087d9 call  0x00007be1 
+ 00031573  0x000087de arg  0x00000806 , 0x00000012 
+ 00031574  0x000087df arg  0x00000826 , 0x00000011 
+ 00031575  0x000087e0 arg  0x00000866 , 0x00000005 
+ 00031576  0x000087e1 call  0x00007c96 
+ 00031577  0x000087e2 arg  0x00000806 , 0x00000011 
+ 00031578  0x000087e3 arg  0x00000826 , 0x00000012 
+ 00031579  0x000087e4 arg  0x00000806 , 0x00000005 
+ 00031580  0x000087e5 call  0x00007c7d 
+ 00031581  0x000087e8 arg  0x000007e6 , 0x00000012 
+ 00031582  0x000087e9 arg  0x00000846 , 0x00000011 
+ 00031583  0x000087ea arg  0x00000826 , 0x00000005 
+ 00031584  0x000087eb call  0x00007c96 
+ 00031585  0x000087ec arg  0x000007e6 , 0x00000011 
+ 00031586  0x000087ed arg  0x00000846 , 0x00000012 
+ 00031587  0x000087ee arg  0x000007e6 , 0x00000005 
+ 00031588  0x000087ef call  0x00007c7d 
+ 00031589  0x000087f0 arg  0x000007e6 , 0x00000011 
+ 00031590  0x000087f1 arg  0x00000866 , 0x00000012 
+ 00031591  0x000087f2 arg  0x000007e6 , 0x00000005 
+ 00031592  0x000087f3 call  0x00007be1 
+ 00031593  0x000087f4 arg  0x00000746 , 0x00000011 
+ 00031594  0x000087f5 arg  0x00000686 , 0x00000012 
+ 00031595  0x000087f6 arg  0x00000846 , 0x00000005 
+ 00031596  0x000087f7 call  0x00007be1 
+ 00031597  0x000087f8 arg  0x00000846 , 0x00000011 
+ 00031598  0x000087f9 arg  0x00000866 , 0x00000012 
+ 00031599  0x000087fa arg  0x00000746 , 0x00000005 
+ 00031600  0x000087fb call  0x00007be1 
+ 00031601  0x000087fd arg  0x00000866 , 0x00000011 
+ 00031602  0x000087fe arg  0x00000866 , 0x00000005 
+ 00031603  0x000087ff call  0x00007c79 
+ 00031604  0x00008800 arg  0x00000866 , 0x00000011 
+ 00031605  0x00008801 arg  0x00000806 , 0x00000012 
+ 00031606  0x00008802 arg  0x00000846 , 0x00000005 
+ 00031607  0x00008803 call  0x00007be1 
+ 00031608  0x00008804 arg  0x00000866 , 0x00000011 
+ 00031609  0x00008805 arg  0x000007e6 , 0x00000012 
+ 00031610  0x00008806 arg  0x000007e6 , 0x00000005 
+ 00031611  0x00008807 call  0x00007be1 
+ 00031612  0x00008808 arg  0x00000826 , 0x00000011 
+ 00031613  0x00008809 arg  0x00000706 , 0x00000005 
+ 00031614  0x0000880a call  0x00007c79 
+ 00031615  0x0000880b arg  0x00000706 , 0x00000011 
+ 00031616  0x0000880c arg  0x00000846 , 0x00000012 
+ 00031617  0x0000880d arg  0x00000706 , 0x00000005 
+ 00031618  0x0000880e call  0x00007c96 
+ 00031619  0x0000880f arg  0x00000706 , 0x00000006 
+ 00031620  0x00008810 arg  0x00000866 , 0x00000005 
+ 00031621  0x00008811 call  0x00007ebd 
+ 00031622  0x00008812 arg  0x00000866 , 0x00000011 
+ 00031623  0x00008813 call  0x00007c80 
+ 00031624  0x00008814 arg  0x00000846 , 0x00000011 
+ 00031625  0x00008815 arg  0x00000866 , 0x00000012 
+ 00031626  0x00008816 arg  0x00000846 , 0x00000005 
+ 00031627  0x00008817 call  0x00007c96 
+ 00031628  0x00008818 arg  0x00000846 , 0x00000011 
+ 00031629  0x00008819 arg  0x00000826 , 0x00000012 
+ 00031630  0x0000881a arg  0x00000826 , 0x00000005 
+ 00031631  0x0000881b call  0x00007be1 
+ 00031632  0x0000881c arg  0x00000826 , 0x00000011 
+ 00031633  0x0000881d arg  0x000007e6 , 0x00000012 
+ 00031634  0x0000881e arg  0x00000726 , 0x00000005 
+ 00031635  0x0000881f call  0x00007c96 
+ 00031636  0x00008820 arg  0x00000726 , 0x00000011 
+ 00031637  0x00008821 arg  0x0000091e , 0x00000012 
+ 00031638  0x00008822 arg  0x00000726 , 0x00000005 
+ 00031639  0x00008823 force  0x00000000 , 0x00000013 
+ 00031640  0x00008824 fetch  0x00000001 , 0x00000726 
+ 00031641  0x00008825 isolate1  0x00000000 , 0x0000003f 
+ 00031642  0x00008826 call  0x00007c7b , 0x00000001 
+ 00031643  0x00008827 copy  0x00000013 , 0x00000030 
+ 00031644  0x00008828 arg  0x00000726 , 0x00000011 
+ 00031645  0x00008829 call  0x00007cab 
+ 00031646  0x0000882a fetch  0x00000001 , 0x00000745 
+ 00031647  0x0000882b isolate1  0x00000000 , 0x00000030 
+ 00031648  0x0000882c setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00031649  0x0000882d store  0x00000001 , 0x00000745 
+ 00031650  0x0000882e rtn 
+ 00031651  0x00008831 copy  0x00000005 , 0x0000000b 
+ 00031652  0x00008832 arg  0x00000806 , 0x00000005 
+ 00031653  0x00008833 call  0x00007ed0 
+ 00031654  0x00008834 force  0x00000000 , 0x0000003f 
+ 00031655  0x00008836 store  0x00000004 , 0x00000826 
+ 00031656  0x00008837 jam  0x00000001 , 0x00000806 
+ 00031657  0x00008838 arg  0x00000786 , 0x00000005 
+ 00031658  0x00008839 call  0x00007ed2 
+ 00031659  0x0000883a arg  0x0000091e , 0x00000006 
+ 00031660  0x0000883b arg  0x000007c6 , 0x00000005 
+ 00031661  0x0000883c call  0x00007ebd 
+ 00031662  0x0000883d copy  0x00000011 , 0x00000006 
+ 00031663  0x0000883e arg  0x000007e6 , 0x00000005 
+ 00031664  0x0000883f call  0x00007ebd 
+ 00031665  0x00008846 arg  0x000007e6 , 0x00000006 
+ 00031666  0x00008847 call  0x00007cb5 
+ 00031667  0x00008848 branch  0x00007bda , 0x00000034 
+ 00031668  0x0000884d arg  0x000007e6 , 0x00000011 
+ 00031669  0x0000884e arg  0x00000806 , 0x00000012 
+ 00031670  0x0000884f call  0x00007cb8 
+ 00031671  0x00008850 arg  0x000007c6 , 0x00000011 
+ 00031672  0x00008851 arg  0x00000786 , 0x00000012 
+ 00031673  0x00008852 call  0x00007cb8 
+ 00031674  0x00008854 arg  0x000007e6 , 0x00000011 
+ 00031675  0x00008855 arg  0x000007c6 , 0x00000012 
+ 00031676  0x00008856 call  0x00007cb1 
+ 00031677  0x00008857 branch  0x00007bcc , 0x00000002 
+ 00031678  0x00008858 arg  0x000007c6 , 0x00000011 
+ 00031679  0x00008859 arg  0x000007e6 , 0x00000012 
+ 00031680  0x0000885a copy  0x00000011 , 0x00000005 
+ 00031681  0x0000885b call  0x00007ca9 
+ 00031682  0x0000885c arg  0x00000806 , 0x00000011 
+ 00031683  0x0000885d arg  0x00000786 , 0x00000012 
+ 00031684  0x0000885e copy  0x00000012 , 0x00000005 
+ 00031685  0x0000885f call  0x00007c7b 
+ 00031686  0x00008860 ifetch  0x00000001 , 0x00000011 
+ 00031687  0x00008861 iadd  0x00000013 , 0x00000013 
+ 00031688  0x00008862 ifetch  0x00000001 , 0x00000012 
+ 00031689  0x00008863 iadd  0x00000013 , 0x0000003f 
+ 00031690  0x00008864 istore  0x00000001 , 0x00000012 
+ 00031691  0x00008865 branch  0x00007bb1 
+ 00031692  0x00008867 arg  0x000007e6 , 0x00000011 
+ 00031693  0x00008868 arg  0x000007c6 , 0x00000012 
+ 00031694  0x00008869 copy  0x00000011 , 0x00000005 
+ 00031695  0x0000886a call  0x00007ca9 
+ 00031696  0x0000886b arg  0x00000786 , 0x00000011 
+ 00031697  0x0000886c arg  0x00000806 , 0x00000012 
+ 00031698  0x0000886d copy  0x00000012 , 0x00000005 
+ 00031699  0x0000886e call  0x00007c7b 
+ 00031700  0x0000886f ifetch  0x00000001 , 0x00000011 
+ 00031701  0x00008870 iadd  0x00000013 , 0x00000013 
+ 00031702  0x00008871 ifetch  0x00000001 , 0x00000012 
+ 00031703  0x00008872 iadd  0x00000013 , 0x0000003f 
+ 00031704  0x00008873 istore  0x00000001 , 0x00000012 
+ 00031705  0x00008874 branch  0x00007bb1 
+ 00031706  0x00008877 arg  0x00000786 , 0x00000011 
+ 00031707  0x00008878 copy  0x0000000b , 0x00000005 
+ 00031708  0x00008879 call  0x00007c0a 
+ 00031709  0x0000887b arg  0x0000091e , 0x00000011 
+ 00031710  0x0000887c copy  0x0000000b , 0x00000012 
+ 00031711  0x0000887d copy  0x0000000b , 0x00000005 
+ 00031712  0x0000887e branch  0x00007c96 
+ 00031713  0x00008882 copy  0x00000005 , 0x0000000b 
+ 00031714  0x00008884 force  0x00000000 , 0x00000038 
+ 00031715  0x00008886 arg  0x00000786 , 0x00000005 
+ 00031716  0x00008887 call  0x00007ed2 
+ 00031717  0x00008888 arg  0x00000ad2 , 0x00000005 
+ 00031718  0x00008889 call  0x00007ed2 
+ 00031719  0x0000888d copy  0x00000011 , 0x00000006 
+ 00031720  0x0000888f jam  0x00000000 , 0x00000ad2 
+ 00031721  0x00008890 setarg  0x00000000 
+ 00031722  0x00008891 call  0x00007c73 
+ 00031723  0x00008892 copy  0x00000012 , 0x00000006 
+ 00031724  0x00008893 call  0x00007c77 
+ 00031725  0x00008896 force  0x00000000 , 0x00000007 
+ 00031726  0x00008897 arg  0x00000786 , 0x00000005 
+ 00031727  0x0000889b arg  0x00000ad2 , 0x00000002 
+ 00031728  0x0000889c copy  0x00000007 , 0x00000012 
+ 00031729  0x0000889d lshift2  0x00000012 , 0x0000003f 
+ 00031730  0x0000889f iadd  0x00000002 , 0x00000012 
+ 00031731  0x000088a0 force  0x00000000 , 0x00000002 
+ 00031732  0x000088a1 force  0x00000000 , 0x00000013 
+ 00031733  0x000088a7 ifetch  0x00000004 , 0x00000005 
+ 00031734  0x000088a8 iforce  0x00000011 
+ 00031735  0x000088ab ifetch  0x00000004 , 0x00000012 
+ 00031736  0x000088ac copy  0x00000013 , 0x00000038 
+ 00031737  0x000088ad imul32  0x0000002f , 0x0000003f 
+ 00031738  0x000088ae iadd  0x00000011 , 0x0000003f 
+ 00031739  0x000088af iadd  0x00000002 , 0x0000003f 
+ 00031740  0x000088b0 istore  0x00000004 , 0x00000005 
+ 00031741  0x000088b1 rshift32  0x0000003f , 0x00000002 
+ 00031742  0x000088b2 increase  0x00000001 , 0x00000013 
+ 00031743  0x000088b3 compare  0x00000008 , 0x00000013 , 0x000000ff 
+ 00031744  0x000088b4 nbranch  0x00007bf5 , 0x00000001 
+ 00031745  0x000088b6 deposit  0x00000002 
+ 00031746  0x000088b7 istore  0x00000004 , 0x00000005 
+ 00031747  0x000088b8 increase  0xffffffe0 , 0x00000005 
+ 00031748  0x000088bb increase  0x00000001 , 0x00000007 
+ 00031749  0x000088bc compare  0x00000008 , 0x00000007 , 0x000000ff 
+ 00031750  0x000088bd nbranch  0x00007bef , 0x00000001 
+ 00031751  0x000088be arg  0x00000786 , 0x00000011 
+ 00031752  0x000088bf copy  0x0000000b , 0x00000005 
+ 00031753  0x000088c0 branch  0x00007c0a 
+ 00031754  0x000088c3 bpatchx  0x000000f2 , 0x0000403e 
+ 00031755  0x000088c4 copy  0x00000005 , 0x0000000b 
+ 00031756  0x000088c5 copy  0x00000011 , 0x00000030 
+ 00031757  0x000088c6 arg  0x000007c6 , 0x00000012 
+ 00031758  0x000088c7 copy  0x00000012 , 0x00000005 
+ 00031759  0x000088c8 call  0x00007ecd 
+ 00031760  0x000088c9 istore  0x00000008 , 0x00000005 
+ 00031761  0x000088ca add  0x00000011 , 0x0000002c , 0x00000006 
+ 00031762  0x000088cb call  0x00007eb9 
+ 00031763  0x000088cc call  0x00007eb5 
+ 00031764  0x000088cd copy  0x00000012 , 0x00000011 
+ 00031765  0x000088ce call  0x00007c80 
+ 00031766  0x000088cf arg  0x000007c6 , 0x00000012 
+ 00031767  0x000088d0 copy  0x00000030 , 0x00000011 
+ 00031768  0x000088d1 copy  0x0000000b , 0x00000005 
+ 00031769  0x000088d2 call  0x00007c7d 
+ 00031770  0x000088d4 arg  0x000007c6 , 0x00000012 
+ 00031771  0x000088d5 copy  0x00000012 , 0x00000005 
+ 00031772  0x000088d6 call  0x00007ecd 
+ 00031773  0x000088d7 istore  0x00000008 , 0x00000005 
+ 00031774  0x000088d8 add  0x00000030 , 0x00000030 , 0x00000006 
+ 00031775  0x000088d9 call  0x00007ebf 
+ 00031776  0x000088da call  0x00007ecd 
+ 00031777  0x000088db copy  0x00000012 , 0x00000011 
+ 00031778  0x000088dc call  0x00007c80 
+ 00031779  0x000088e0 arg  0x000007c6 , 0x00000012 
+ 00031780  0x000088e1 copy  0x0000000b , 0x00000011 
+ 00031781  0x000088e2 copy  0x00000011 , 0x00000005 
+ 00031782  0x000088e3 call  0x00007c7d 
+ 00031783  0x000088e7 arg  0x000007c6 , 0x00000012 
+ 00031784  0x000088e8 copy  0x00000012 , 0x00000005 
+ 00031785  0x000088e9 add  0x00000030 , 0x00000020 , 0x00000006 
+ 00031786  0x000088ea call  0x00007eb5 
+ 00031787  0x000088eb call  0x00007ecd 
+ 00031788  0x000088ec istore  0x00000008 , 0x00000005 
+ 00031789  0x000088ed add  0x00000030 , 0x00000038 , 0x00000006 
+ 00031790  0x000088ee call  0x00007eb9 
+ 00031791  0x000088ef copy  0x0000000b , 0x00000011 
+ 00031792  0x000088f0 copy  0x00000011 , 0x00000005 
+ 00031793  0x000088f1 call  0x00007c7d 
+ 00031794  0x000088f5 arg  0x000007c6 , 0x00000012 
+ 00031795  0x000088f6 copy  0x00000012 , 0x00000005 
+ 00031796  0x000088f7 add  0x00000030 , 0x00000024 , 0x00000006 
+ 00031797  0x000088f8 call  0x00007eb5 
+ 00031798  0x000088f9 add  0x00000030 , 0x00000034 , 0x00000006 
+ 00031799  0x000088fa call  0x00007eb5 
+ 00031800  0x000088fb add  0x00000030 , 0x00000034 , 0x00000006 
+ 00031801  0x000088fc call  0x00007eb6 
+ 00031802  0x000088fd add  0x00000030 , 0x00000020 , 0x00000006 
+ 00031803  0x000088fe call  0x00007eb6 
+ 00031804  0x000088ff copy  0x0000000b , 0x00000011 
+ 00031805  0x00008900 copy  0x00000011 , 0x00000005 
+ 00031806  0x00008901 call  0x00007c7d 
+ 00031807  0x00008904 arg  0x000007c6 , 0x00000012 
+ 00031808  0x00008905 copy  0x00000012 , 0x00000005 
+ 00031809  0x00008906 add  0x00000030 , 0x0000002c , 0x00000006 
+ 00031810  0x00008907 call  0x00007eb5 
+ 00031811  0x00008908 call  0x00007ecd 
+ 00031812  0x00008909 istore  0x00000008 , 0x00000005 
+ 00031813  0x0000890a add  0x00000030 , 0x00000020 , 0x00000006 
+ 00031814  0x0000890b call  0x00007eb6 
+ 00031815  0x0000890c add  0x00000030 , 0x00000028 , 0x00000006 
+ 00031816  0x0000890d call  0x00007eb6 
+ 00031817  0x0000890e copy  0x0000000b , 0x00000011 
+ 00031818  0x0000890f copy  0x00000011 , 0x00000005 
+ 00031819  0x00008910 call  0x00007c96 
+ 00031820  0x00008913 arg  0x000007c6 , 0x00000012 
+ 00031821  0x00008914 copy  0x00000012 , 0x00000005 
+ 00031822  0x00008915 add  0x00000030 , 0x00000030 , 0x00000006 
+ 00031823  0x00008916 call  0x00007eb9 
+ 00031824  0x00008917 call  0x00007eb9 
+ 00031825  0x00008918 force  0x00000000 , 0x0000003f 
+ 00031826  0x00008919 istore  0x00000008 , 0x00000005 
+ 00031827  0x0000891a add  0x00000030 , 0x00000024 , 0x00000006 
+ 00031828  0x0000891b call  0x00007eb6 
+ 00031829  0x0000891c add  0x00000030 , 0x0000002c , 0x00000006 
+ 00031830  0x0000891d call  0x00007eb6 
+ 00031831  0x0000891e copy  0x0000000b , 0x00000011 
+ 00031832  0x0000891f copy  0x00000011 , 0x00000005 
+ 00031833  0x00008920 call  0x00007c96 
+ 00031834  0x00008923 arg  0x000007c6 , 0x00000012 
+ 00031835  0x00008924 copy  0x00000012 , 0x00000005 
+ 00031836  0x00008925 add  0x00000030 , 0x00000034 , 0x00000006 
+ 00031837  0x00008926 call  0x00007eb5 
+ 00031838  0x00008927 add  0x00000030 , 0x00000020 , 0x00000006 
+ 00031839  0x00008928 call  0x00007eb5 
+ 00031840  0x00008929 call  0x00007ecd 
+ 00031841  0x0000892a add  0x00000030 , 0x00000030 , 0x00000006 
+ 00031842  0x0000892b call  0x00007eb6 
+ 00031843  0x0000892c copy  0x0000000b , 0x00000011 
+ 00031844  0x0000892d copy  0x00000011 , 0x00000005 
+ 00031845  0x0000892e call  0x00007c96 
+ 00031846  0x00008931 arg  0x000007c6 , 0x00000012 
+ 00031847  0x00008932 copy  0x00000012 , 0x00000005 
+ 00031848  0x00008933 add  0x00000030 , 0x00000038 , 0x00000006 
+ 00031849  0x00008934 call  0x00007eb9 
+ 00031850  0x00008935 call  0x00007ecd 
+ 00031851  0x00008936 add  0x00000030 , 0x00000024 , 0x00000006 
+ 00031852  0x00008937 call  0x00007eb5 
+ 00031853  0x00008938 call  0x00007ecd 
+ 00031854  0x00008939 add  0x00000030 , 0x00000034 , 0x00000006 
+ 00031855  0x0000893a call  0x00007eb6 
+ 00031856  0x0000893b copy  0x0000000b , 0x00000011 
+ 00031857  0x0000893c copy  0x00000011 , 0x00000005 
+ 00031858  0x0000893d branch  0x00007c96 
+ 00031859  0x00008941 force  0x00000020 , 0x00000039 
+ 00031860  0x00008942 arg  0x00000ad2 , 0x00000005 
+ 00031861  0x00008943 iadd  0x00000005 , 0x00000005 
+ 00031862  0x00008944 branch  0x00007f01 
+ 00031863  0x00008947 force  0x00000008 , 0x00000039 
+ 00031864  0x00008948 branch  0x00007781 
+ 00031865  0x0000894b copy  0x00000011 , 0x00000012 
+ 00031866  0x0000894c branch  0x00007be1 
+ 00031867  0x0000894f force  0x00000008 , 0x00000039 
+ 00031868  0x00008950 branch  0x00007712 
+ 00031869  0x00008953 call  0x00007c7b 
+ 00031870  0x00008954 copy  0x00000005 , 0x00000011 
+ 00031871  0x00008955 branch  0x00007c81 
+ 00031872  0x00008958 call  0x00007cae 
+ 00031873  0x0000895a isolate1  0x00000000 , 0x00000013 
+ 00031874  0x0000895b branch  0x00007c8a , 0x00000001 
+ 00031875  0x0000895c arg  0x0000091e , 0x00000012 
+ 00031876  0x0000895d copy  0x00000011 , 0x00000013 
+ 00031877  0x0000895e increase  0xffffffe0 , 0x00000011 
+ 00031878  0x0000895f call  0x00007cb1 
+ 00031879  0x00008960 nrtn  0x00000002 
+ 00031880  0x00008961 copy  0x00000013 , 0x00000011 
+ 00031881  0x00008962 branch  0x00007c92 
+ 00031882  0x00008965 call  0x00007c92 
+ 00031883  0x00008967 copy  0x00000011 , 0x00000013 
+ 00031884  0x00008968 increase  0xffffffe0 , 0x00000011 
+ 00031885  0x00008969 arg  0x0000091e , 0x00000012 
+ 00031886  0x0000896a call  0x00007cb1 
+ 00031887  0x0000896b nrtn  0x00000002 
+ 00031888  0x0000896c copy  0x00000013 , 0x00000011 
+ 00031889  0x0000896d branch  0x00007c92 
+ 00031890  0x00008971 increase  0xffffffe0 , 0x00000011 
+ 00031891  0x00008972 arg  0x0000091e , 0x00000012 
+ 00031892  0x00008973 copy  0x00000011 , 0x00000005 
+ 00031893  0x00008974 branch  0x00007ca9 
+ 00031894  0x0000897a call  0x00007ca9 
+ 00031895  0x0000897c branch  0x00007ca0 , 0x00000001 
+ 00031896  0x0000897f add  0x00000005 , 0xffffffe0 , 0x00000011 
+ 00031897  0x00008980 arg  0x0000091e , 0x00000012 
+ 00031898  0x00008981 call  0x00007cb1 
+ 00031899  0x00008982 nrtn  0x00000002 
+ 00031900  0x00008983 arg  0x0000091e , 0x00000012 
+ 00031901  0x00008984 add  0x00000005 , 0xffffffe0 , 0x00000011 
+ 00031902  0x00008986 copy  0x00000011 , 0x00000005 
+ 00031903  0x00008987 branch  0x00007ca9 
+ 00031904  0x00008989 add  0x00000005 , 0xffffffe0 , 0x00000011 
+ 00031905  0x0000898a arg  0x0000091e , 0x00000012 
+ 00031906  0x0000898b copy  0x00000011 , 0x00000005 
+ 00031907  0x0000898c call  0x00007c7b 
+ 00031908  0x0000898e rtn  0x00000001 
+ 00031909  0x0000898f add  0x00000005 , 0xffffffe0 , 0x00000011 
+ 00031910  0x00008990 arg  0x0000091e , 0x00000012 
+ 00031911  0x00008991 copy  0x00000011 , 0x00000005 
+ 00031912  0x00008992 branch  0x00007c7b 
+ 00031913  0x00008997 force  0x00000008 , 0x00000039 
+ 00031914  0x00008998 branch  0x00007720 
+ 00031915  0x0000899b force  0x00000008 , 0x00000039 
+ 00031916  0x0000899c increase  0x0000001c , 0x00000011 
+ 00031917  0x0000899d branch  0x0000772f 
+ 00031918  0x000089a0 force  0x00000008 , 0x00000039 
+ 00031919  0x000089a1 force  0x00000000 , 0x00000013 
+ 00031920  0x000089a2 branch  0x0000773d 
+ 00031921  0x000089a5 force  0x00000008 , 0x00000039 
+ 00031922  0x000089a6 increase  0x0000001c , 0x00000011 
+ 00031923  0x000089a7 increase  0x0000001c , 0x00000012 
+ 00031924  0x000089a8 branch  0x00007707 
+ 00031925  0x000089ac ifetch  0x00000008 , 0x00000006 
+ 00031926  0x000089ad nrtn  0x00000034 
+ 00031927  0x000089ae branch  0x000076f5 
+ 00031928  0x000089b4 copy  0x00000011 , 0x00000030 
+ 00031929  0x000089b6 copy  0x00000030 , 0x00000011 
+ 00031930  0x000089b7 ifetch  0x00000001 , 0x00000011 
+ 00031931  0x000089b8 isolate1  0x00000000 , 0x0000003f 
+ 00031932  0x000089b9 rtn  0x00000001 
+ 00031933  0x000089ba call  0x00007cab 
+ 00031934  0x000089bb ifetch  0x00000001 , 0x00000012 
+ 00031935  0x000089bc isolate0  0x00000000 , 0x0000003f 
+ 00031936  0x000089bd branch  0x00007cc8 , 0x00000001 
+ 00031937  0x000089be arg  0x0000091e , 0x00000011 
+ 00031938  0x000089bf copy  0x00000012 , 0x00000005 
+ 00031939  0x000089c0 call  0x00007c7b 
+ 00031940  0x000089c1 ifetch  0x00000001 , 0x00000012 
+ 00031941  0x000089c2 iadd  0x00000013 , 0x0000003f 
+ 00031942  0x000089c3 istore  0x00000001 , 0x00000012 
+ 00031943  0x000089c4 increase  0xffffffe0 , 0x00000012 
+ 00031944  0x000089c6 add  0x00000012 , 0x00000020 , 0x00000011 
+ 00031945  0x000089c7 force  0x00000009 , 0x00000039 
+ 00031946  0x000089c8 call  0x0000772f 
+ 00031947  0x000089c9 branch  0x00007cb9 
+ 00031948  0x000089ce call  0x00002c65 
+ 00031949  0x000089cf rtn  0x0000002b 
+ 00031950  0x000089d0 call  0x00007cd3 
+ 00031951  0x000089d1 call  0x00007d75 
+ 00031952  0x000089d2 branch  0x00007d08 
+ 00031953  0x000089d5 call  0x00007d29 
+ 00031954  0x000089d7 branch  0x00007d64 
+ 00031955  0x000089da fetch  0x00000001 , 0x00004686 
+ 00031956  0x000089db rtneq  0x000000ff 
+ 00031957  0x000089dc iforce  0x00000002 
+ 00031958  0x000089dd call  0x0000680e 
+ 00031959  0x000089de fetcht  0x00000001 , 0x00004686 
+ 00031960  0x000089df call  0x00006825 
+ 00031961  0x000089e0 nop  0x00000064 
+ 00031962  0x000089e1 fetcht  0x00000001 , 0x00004686 
+ 00031963  0x000089e2 call  0x000067fb 
+ 00031964  0x000089e3 branch  0x00007cdd 
+ 00031965  0x000089e8 bpatchx  0x000000f3 , 0x0000403e 
+ 00031966  0x000089e9 fetch  0x00000001 , 0x00004686 
+ 00031967  0x000089ea rtneq  0x000000ff 
+ 00031968  0x000089eb copy  0x0000003f , 0x00000002 
+ 00031969  0x000089ec call  0x0000681d 
+ 00031970  0x000089ed nbranch  0x00007cef , 0x00000001 
+ 00031971  0x000089f0 call  0x00007cf9 
+ 00031972  0x000089f1 fetch  0x00000002 , 0x00004682 
+ 00031973  0x000089f2 set1  0x0000000c 
+ 00031974  0x000089f3 store  0x00000002 , 0x00004682 
+ 00031975  0x000089f4 fetch  0x00000001 , 0x00004679 
+ 00031976  0x000089f5 rtneq  0x00000000 
+ 00031977  0x000089f6 jam  0x00000000 , 0x00004679 
+ 00031978  0x000089f8 fetch  0x00000001 , 0x00004685 
+ 00031979  0x000089f9 store  0x00000001 , 0x00004678 
+ 00031980  0x000089fa call  0x00007d00 
+ 00031981  0x000089fb jam  0x0000002c , 0x00000a99 
+ 00031982  0x000089fc branch  0x00007d86 
+ 00031983  0x000089fe fetch  0x00000002 , 0x00004682 
+ 00031984  0x000089ff set0  0x0000000c 
+ 00031985  0x00008a00 store  0x00000002 , 0x00004682 
+ 00031986  0x00008a01 fetch  0x00000001 , 0x00004679 
+ 00031987  0x00008a02 rtneq  0x00000001 
+ 00031988  0x00008a03 jam  0x00000001 , 0x00004679 
+ 00031989  0x00008a05 jam  0x00000000 , 0x00004678 
+ 00031990  0x00008a06 call  0x00007d02 
+ 00031991  0x00008a07 jam  0x0000002d , 0x00000a99 
+ 00031992  0x00008a08 branch  0x00007d86 
+ 00031993  0x00008a0b fetch  0x00000001 , 0x00004678 
+ 00031994  0x00008a0c rtn  0x00000034 
+ 00031995  0x00008a0d increase  0xffffffff , 0x0000003f 
+ 00031996  0x00008a0e store  0x00000001 , 0x00004678 
+ 00031997  0x00008a0f nrtn  0x00000034 
+ 00031998  0x00008a11 jam  0x00000010 , 0x00000a99 
+ 00031999  0x00008a12 branch  0x00007d86 
+ 00032000  0x00008a15 arg  0x00000007 , 0x00000007 
+ 00032001  0x00008a16 branch  0x00002c32 
+ 00032002  0x00008a19 arg  0x00000007 , 0x00000007 
+ 00032003  0x00008a1a branch  0x00002c36 
+ 00032004  0x00008a31 fetch  0x00000002 , 0x0000421b 
+ 00032005  0x00008a32 mul32  0x00000011 , 0x0000000b , 0x00000012 
+ 00032006  0x00008a33 iadd  0x00000012 , 0x00000012 
+ 00032007  0x00008a34 rtn 
+ 00032008  0x00008a38 fetch  0x00000001 , 0x0000421a 
+ 00032009  0x00008a39 rtn  0x00000034 
+ 00032010  0x00008a3a copy  0x0000003f , 0x00000039 
+ 00032011  0x00008a3b fetch  0x00000002 , 0x0000421b 
+ 00032012  0x00008a3c copy  0x0000003f , 0x00000012 
+ 00032013  0x00008a3e add  0x00000012 , 0x00000002 , 0x00000013 
+ 00032014  0x00008a3f ifetcht  0x00000001 , 0x00000013 
+ 00032015  0x00008a40 call  0x0000680e 
+ 00032016  0x00008a41 call  0x00007d32 
+ 00032017  0x00008a42 increase  0x0000000b , 0x00000012 
+ 00032018  0x00008a43 loop  0x00007d0d 
+ 00032019  0x00008a44 rtn 
+ 00032020  0x00008a49 call  0x00007d04 
+ 00032021  0x00008a4a setarg  0x00000002 
+ 00032022  0x00008a4b istore  0x00000001 , 0x00000012 
+ 00032023  0x00008a4c call  0x00007d5e 
+ 00032024  0x00008a4d branch  0x00007d35 
+ 00032025  0x00008a53 call  0x00007d04 
+ 00032026  0x00008a54 setarg  0x00000003 
+ 00032027  0x00008a55 istore  0x00000001 , 0x00000012 
+ 00032028  0x00008a56 call  0x00007d5e 
+ 00032029  0x00008a57 branch  0x00007d32 
+ 00032030  0x00008a5c call  0x00007d04 
+ 00032031  0x00008a5d setarg  0x00000001 
+ 00032032  0x00008a5e istore  0x00000001 , 0x00000012 
+ 00032033  0x00008a5f setarg  0x000000ff 
+ 00032034  0x00008a60 istore  0x00000001 , 0x00000005 
+ 00032035  0x00008a61 branch  0x00007d32 
+ 00032036  0x00008a67 call  0x00007d04 
+ 00032037  0x00008a68 arg  0x0000000b , 0x00000039 
+ 00032038  0x00008a69 copy  0x00000013 , 0x00000006 
+ 00032039  0x00008a6a copy  0x00000012 , 0x00000005 
+ 00032040  0x00008a6b branch  0x00007ef4 
+ 00032041  0x00008a70 fetch  0x00000001 , 0x0000421a 
+ 00032042  0x00008a71 rtn  0x00000034 
+ 00032043  0x00008a72 arg  0x00000000 , 0x00000011 
+ 00032044  0x00008a74 call  0x00007d38 
+ 00032045  0x00008a75 increase  0x00000001 , 0x00000011 
+ 00032046  0x00008a76 fetch  0x00000001 , 0x0000421a 
+ 00032047  0x00008a77 isub  0x00000011 , 0x0000003e 
+ 00032048  0x00008a78 rtn  0x00000005 
+ 00032049  0x00008a79 branch  0x00007d2c 
+ 00032050  0x00008a7d add  0x00000012 , 0x00000002 , 0x00000013 
+ 00032051  0x00008a7e ifetcht  0x00000001 , 0x00000013 
+ 00032052  0x00008a7f branch  0x00006825 
+ 00032053  0x00008a83 add  0x00000012 , 0x00000002 , 0x00000013 
+ 00032054  0x00008a84 ifetcht  0x00000001 , 0x00000013 
+ 00032055  0x00008a85 branch  0x00006829 
+ 00032056  0x00008a8a add  0x00000011 , 0x0000000b , 0x00000007 
+ 00032057  0x00008a8b call  0x00007f16 
+ 00032058  0x00008a8c nrtn  0x00000034 
+ 00032059  0x00008a8e call  0x00007d04 
+ 00032060  0x00008a90 ifetch  0x00000001 , 0x00000012 
+ 00032061  0x00008a92 beq  0x00000002 , 0x00007d35 
+ 00032062  0x00008a93 beq  0x00000003 , 0x00007d32 
+ 00032063  0x00008a94 beq  0x00000000 , 0x00007d32 
+ 00032064  0x00008a95 beq  0x00000005 , 0x00007d4c 
+ 00032065  0x00008a97 call  0x00007d35 
+ 00032066  0x00008a98 add  0x00000012 , 0x00000007 , 0x00000013 
+ 00032067  0x00008a99 call  0x00007e7c 
+ 00032068  0x00008a9a ifetch  0x00000002 , 0x00000013 
+ 00032069  0x00008a9b call  0x00007f9c 
+ 00032070  0x00008a9c call  0x00007e8c 
+ 00032071  0x00008a9d setarg  0x00000005 
+ 00032072  0x00008a9e istore  0x00000001 , 0x00000012 
+ 00032073  0x00008a9f add  0x00000012 , 0x00000003 , 0x00000013 
+ 00032074  0x00008aa0 ifetch  0x00000002 , 0x00000013 
+ 00032075  0x00008aa1 branch  0x00007d5c 
+ 00032076  0x00008aa5 call  0x00007d32 
+ 00032077  0x00008aa6 add  0x00000012 , 0x00000009 , 0x00000013 
+ 00032078  0x00008aa7 call  0x00007e7c 
+ 00032079  0x00008aa8 ifetch  0x00000002 , 0x00000013 
+ 00032080  0x00008aa9 call  0x00007f9c 
+ 00032081  0x00008aaa call  0x00007e8c 
+ 00032082  0x00008aac add  0x00000012 , 0x00000001 , 0x00000013 
+ 00032083  0x00008aad ifetch  0x00000001 , 0x00000013 
+ 00032084  0x00008aae beq  0x000000ff , 0x00007d58 
+ 00032085  0x00008aaf increase  0xffffffff , 0x0000003f 
+ 00032086  0x00008ab0 istore  0x00000001 , 0x00000013 
+ 00032087  0x00008ab1 branch  0x00007d19 , 0x00000034 
+ 00032088  0x00008ab3 setarg  0x00000004 
+ 00032089  0x00008ab4 istore  0x00000001 , 0x00000012 
+ 00032090  0x00008ab5 add  0x00000012 , 0x00000005 , 0x00000013 
+ 00032091  0x00008ab6 ifetch  0x00000002 , 0x00000013 
+ 00032092  0x00008ab8 add  0x00000011 , 0x0000000b , 0x00000007 
+ 00032093  0x00008ab9 branch  0x00007f08 
+ 00032094  0x00008abc setarg  0x00000000 
+ 00032095  0x00008abd branch  0x00007d5c 
+ 00032096  0x00008ac4 setarg  0x00001000 
+ 00032097  0x00008ac5 lshift16  0x0000003f , 0x0000003f 
+ 00032098  0x00008ac6 iadd  0x00000012 , 0x00000012 
+ 00032099  0x00008ac7 rtn 
+ 00032100  0x00008aca bpatchx  0x000000f4 , 0x0000403e 
+ 00032101  0x00008acb arg  0x00000000 , 0x00000011 
+ 00032102  0x00008acc fetcht  0x00000004 , 0x0000467a 
+ 00032103  0x00008acd copy  0x00000022 , 0x00000012 
+ 00032104  0x00008ace copy  0x00000012 , 0x0000003f 
+ 00032105  0x00008acf isub  0x00000002 , 0x0000003e 
+ 00032106  0x00008ad0 ncall  0x00007d60 , 0x00000002 
+ 00032107  0x00008ad3 copy  0x00000012 , 0x0000003f 
+ 00032108  0x00008ad4 increase  0x000000a0 , 0x00000002 
+ 00032109  0x00008ad5 increase  0x000000a0 , 0x00000002 
+ 00032110  0x00008ad6 isub  0x00000002 , 0x0000003e 
+ 00032111  0x00008ad7 nbranch  0x00007d78 , 0x00000002 
+ 00032112  0x00008ad8 increase  0x00000001 , 0x00000011 
+ 00032113  0x00008ad9 and  0x00000011 , 0x0000000f , 0x0000003f 
+ 00032114  0x00008ada nbranch  0x00007d6b , 0x00000034 
+ 00032115  0x00008adb arg  0x00000000 , 0x00000011 
+ 00032116  0x00008adc call  0x00007d7f 
+ 00032117  0x00008ade copy  0x00000022 , 0x0000003f 
+ 00032118  0x00008adf store  0x00000004 , 0x0000467a 
+ 00032119  0x00008ae0 rtn 
+ 00032120  0x00008ae2 bpatchx  0x000000f5 , 0x0000403e 
+ 00032121  0x00008ae3 copy  0x00000011 , 0x0000003f 
+ 00032122  0x00008ae4 rtn  0x00000034 
+ 00032123  0x00008ae5 increase  0xffffff60 , 0x00000002 
+ 00032124  0x00008ae6 increase  0xffffff60 , 0x00000002 
+ 00032125  0x00008ae7 set0  0x0000001c , 0x00000002 
+ 00032126  0x00008ae8 storet  0x00000004 , 0x0000467a 
+ 00032127  0x00008aea branch  0x0000335f 
+ 00032128  0x00008af2 jam  0x00000001 , 0x00004666 
+ 00032129  0x00008af4 fetch  0x00000001 , 0x00004667 
+ 00032130  0x00008af5 nbranch  0x00007d81 , 0x00000034 
+ 00032131  0x00008af6 rtn 
+ 00032132  0x00008af9 jam  0x00000000 , 0x00004666 
+ 00032133  0x00008afa rtn 
+ 00032134  0x00008aff bpatchx  0x000000f6 , 0x0000403e 
+ 00032135  0x00008b00 call  0x00007d80 
+ 00032136  0x00008b01 copy  0x00000011 , 0x0000003f 
+ 00032137  0x00008b02 store  0x00000004 , 0x00000a91 
+ 00032138  0x00008b03 arg  0x00004668 , 0x00000011 
+ 00032139  0x00008b04 call  0x00007fb8 
+ 00032140  0x00008b05 fetch  0x00000004 , 0x00000a91 
+ 00032141  0x00008b06 copy  0x0000003f , 0x00000011 
+ 00032142  0x00008b07 branch  0x00007d84 
+ 00032143  0x00008b0a bpatchx  0x000000f7 , 0x0000403e 
+ 00032144  0x00008b0b call  0x00007d80 
+ 00032145  0x00008b0c copy  0x00000011 , 0x0000003f 
+ 00032146  0x00008b0d store  0x00000004 , 0x00000a91 
+ 00032147  0x00008b0e arg  0x00004670 , 0x00000011 
+ 00032148  0x00008b0f call  0x00007fb8 
+ 00032149  0x00008b10 fetch  0x00000004 , 0x00000a91 
+ 00032150  0x00008b11 copy  0x0000003f , 0x00000011 
+ 00032151  0x00008b12 branch  0x00007d84 
+ 00032152  0x00008b15 setarg  0x00000000 
+ 00032153  0x00008b16 store  0x00000008 , 0x00004670 
+ 00032154  0x00008b17 store  0x00000008 , 0x00004668 
+ 00032155  0x00008b18 rtn 
+ 00032156  0x00008b1b bpatchx  0x000000f8 , 0x0000403f 
+ 00032157  0x00008b1c fetch  0x00000001 , 0x000041ce 
+ 00032158  0x00008b1d nrtn  0x00000034 
+ 00032159  0x00008b1e arg  0x00004670 , 0x00000011 
+ 00032160  0x00008b1f call  0x00007fd0 
+ 00032161  0x00008b20 rtn  0x00000034 
+ 00032162  0x00008b21 jam  0x00000000 , 0x00000a90 
+ 00032163  0x00008b22 call  0x00007da7 
+ 00032164  0x00008b23 fetch  0x00000001 , 0x00000a90 
+ 00032165  0x00008b24 branch  0x00007d9c , 0x00000034 
+ 00032166  0x00008b25 rtn 
+ 00032167  0x00008b28 call  0x00007d80 
+ 00032168  0x00008b29 arg  0x00004670 , 0x00000011 
+ 00032169  0x00008b2a call  0x00007fc4 
+ 00032170  0x00008b2b copy  0x0000003f , 0x00000002 
+ 00032171  0x00008b2c call  0x00007d84 
+ 00032172  0x00008b2d bpatchx  0x000000f9 , 0x0000403f 
+ 00032173  0x00008b2e copy  0x00000002 , 0x0000003f 
+ 00032174  0x00008b2f rtn  0x00000034 
+ 00032175  0x00008b30 beq  0x00000001 , 0x00007ddd 
+ 00032176  0x00008b31 beq  0x00000002 , 0x00007de2 
+ 00032177  0x00008b32 beq  0x00000003 , 0x00007de8 
+ 00032178  0x00008b33 beq  0x00000007 , 0x00007ded 
+ 00032179  0x00008b34 beq  0x00000008 , 0x00007dee 
+ 00032180  0x00008b35 beq  0x00000009 , 0x00007def 
+ 00032181  0x00008b36 beq  0x0000000b , 0x00007df2 
+ 00032182  0x00008b37 beq  0x0000000c , 0x00007df3 
+ 00032183  0x00008b38 beq  0x0000000d , 0x00007df4 
+ 00032184  0x00008b39 beq  0x0000000e , 0x00007dfa 
+ 00032185  0x00008b3a beq  0x0000000f , 0x00007dff 
+ 00032186  0x00008b3b beq  0x00000010 , 0x00007e05 
+ 00032187  0x00008b3c beq  0x00000013 , 0x00007e0f 
+ 00032188  0x00008b3d beq  0x00000014 , 0x00007e11 
+ 00032189  0x00008b3e beq  0x00000015 , 0x00007e13 
+ 00032190  0x00008b3f beq  0x00000016 , 0x00007e15 
+ 00032191  0x00008b40 beq  0x00000017 , 0x00007e18 
+ 00032192  0x00008b41 beq  0x00000018 , 0x00007e1a 
+ 00032193  0x00008b42 beq  0x00000019 , 0x00007e1d 
+ 00032194  0x00008b43 beq  0x0000001b , 0x00007e25 
+ 00032195  0x00008b44 beq  0x0000001e , 0x00007e2f 
+ 00032196  0x00008b46 store  0x00000001 , 0x00000a99 
+ 00032197  0x00008b47 bpatchx  0x000000fa , 0x0000403f 
+ 00032198  0x00008b48 call  0x000062bc 
+ 00032199  0x00008b49 nbranch  0x00007ddb , 0x00000034 
+ 00032200  0x00008b4b fetch  0x00000001 , 0x00000a99 
+ 00032201  0x00008b4c bmark0  0x00000009 , 0x00007dd6 
+ 00032202  0x00008b4d beq  0x00000004 , 0x00007dea 
+ 00032203  0x00008b4e beq  0x00000005 , 0x00004d17 
+ 00032204  0x00008b4f beq  0x00000006 , 0x00004d26 
+ 00032205  0x00008b50 beq  0x0000000a , 0x00007df0 
+ 00032206  0x00008b51 beq  0x00000011 , 0x00007e0a 
+ 00032207  0x00008b52 beq  0x00000012 , 0x00007e0e 
+ 00032208  0x00008b53 beq  0x0000001d , 0x00007e26 
+ 00032209  0x00008b54 beq  0x0000001f , 0x000067cc 
+ 00032210  0x00008b55 beq  0x00000020 , 0x000067d0 
+ 00032211  0x00008b56 beq  0x00000021 , 0x00007e31 
+ 00032212  0x00008b57 beq  0x00000025 , 0x0000670b 
+ 00032213  0x00008b58 rtn 
+ 00032214  0x00008b5b store  0x00000001 , 0x00000a99 
+ 00032215  0x00008b5c call  0x00002252 
+ 00032216  0x00008b5d branch  0x00007ddb , 0x00000005 
+ 00032217  0x00008b5e call  0x0000225a 
+ 00032218  0x00008b5f nrtn  0x00000005 
+ 00032219  0x00008b61 jam  0x00000001 , 0x00000a90 
+ 00032220  0x00008b62 branch  0x00007d8f 
+ 00032221  0x00008b68 fetch  0x00000002 , 0x00004682 
+ 00032222  0x00008b69 set1  0x00000006 
+ 00032223  0x00008b6a store  0x00000002 , 0x00004682 
+ 00032224  0x00008b6b jam  0x00000003 , 0x00004093 
+ 00032225  0x00008b6c rtn 
+ 00032226  0x00008b71 jam  0x00000000 , 0x00004680 
+ 00032227  0x00008b72 jam  0x00000000 , 0x00004093 
+ 00032228  0x00008b73 fetch  0x00000002 , 0x00004682 
+ 00032229  0x00008b74 set0  0x00000006 
+ 00032230  0x00008b75 store  0x00000002 , 0x00004682 
+ 00032231  0x00008b76 rtn 
+ 00032232  0x00008b7b jam  0x00000005 , 0x000041ce 
+ 00032233  0x00008b7c rtn 
+ 00032234  0x00008b81 jam  0x00000007 , 0x0000007c 
+ 00032235  0x00008b82 jam  0x00000013 , 0x000004ca 
+ 00032236  0x00008b83 rtn 
+ 00032237  0x00008b88 rtn 
+ 00032238  0x00008b8d rtn 
+ 00032239  0x00008b92 rtn 
+ 00032240  0x00008b97 jam  0x00000002 , 0x000004d4 
+ 00032241  0x00008b98 branch  0x00004d0a 
+ 00032242  0x00008b9d rtn 
+ 00032243  0x00008ba2 rtn 
+ 00032244  0x00008ba7 jam  0x00000001 , 0x0000436e 
+ 00032245  0x00008ba8 jam  0x00000000 , 0x00004484 
+ 00032246  0x00008ba9 fetch  0x00000002 , 0x00004682 
+ 00032247  0x00008baa set1  0x0000000b , 0x0000003f 
+ 00032248  0x00008bab store  0x00000002 , 0x00004682 
+ 00032249  0x00008bac rtn 
+ 00032250  0x00008bb1 fetch  0x00000002 , 0x00004682 
+ 00032251  0x00008bb2 set0  0x0000000b , 0x0000003f 
+ 00032252  0x00008bb3 store  0x00000002 , 0x00004682 
+ 00032253  0x00008bb4 jam  0x00000000 , 0x0000436e 
+ 00032254  0x00008bb5 rtn 
+ 00032255  0x00008bba jam  0x00000001 , 0x0000436e 
+ 00032256  0x00008bbb jam  0x00000001 , 0x00004484 
+ 00032257  0x00008bbc fetch  0x00000002 , 0x00004682 
+ 00032258  0x00008bbd set1  0x0000000b , 0x0000003f 
+ 00032259  0x00008bbe store  0x00000002 , 0x00004682 
+ 00032260  0x00008bbf rtn 
+ 00032261  0x00008bc4 fetch  0x00000002 , 0x00004682 
+ 00032262  0x00008bc5 set0  0x0000000b , 0x0000003f 
+ 00032263  0x00008bc6 store  0x00000002 , 0x00004682 
+ 00032264  0x00008bc7 jam  0x00000000 , 0x0000436e 
+ 00032265  0x00008bc8 rtn 
+ 00032266  0x00008bcd setarg  0x00000014 
+ 00032267  0x00008bce store  0x00000002 , 0x0000046d 
+ 00032268  0x00008bcf store  0x00000002 , 0x000044ba 
+ 00032269  0x00008bd0 branch  0x00005c92 
+ 00032270  0x00008bd5 branch  0x00005abf 
+ 00032271  0x00008bda arg  0x00000000 , 0x00000011 
+ 00032272  0x00008bdb branch  0x00007d19 
+ 00032273  0x00008be0 arg  0x00000000 , 0x00000011 
+ 00032274  0x00008be1 branch  0x00007d14 
+ 00032275  0x00008be6 arg  0x00000000 , 0x00000011 
+ 00032276  0x00008be7 branch  0x00007d1e 
+ 00032277  0x00008bec jam  0x00000001 , 0x00004369 
+ 00032278  0x00008bed jam  0x0000001b , 0x000041ce 
+ 00032279  0x00008bf0 rtn 
+ 00032280  0x00008bf5 jam  0x00000001 , 0x00004369 
+ 00032281  0x00008bf6 rtn 
+ 00032282  0x00008bfb jam  0x00000000 , 0x00004369 
+ 00032283  0x00008bfc jam  0x00000000 , 0x000041ce 
+ 00032284  0x00008bfd rtn 
+ 00032285  0x00008c02 fetch  0x00000002 , 0x000041eb 
+ 00032286  0x00008c03 call  0x00007f9c 
+ 00032287  0x00008c04 fetch  0x00000001 , 0x00004686 
+ 00032288  0x00008c05 beq  0x000000ff , 0x00007e23 
+ 00032289  0x00008c06 copy  0x0000003f , 0x00000002 
+ 00032290  0x00008c07 call  0x000067fb 
+ 00032291  0x00008c09 call  0x00007d98 
+ 00032292  0x00008c0a branch  0x00002b1f 
+ 00032293  0x00008c0f branch  0x00005b02 
+ 00032294  0x00008c14 jam  0x00000034 , 0x0000007c 
+ 00032295  0x00008c15 set1  0x00000003 , 0x00000000 
+ 00032296  0x00008c16 nrtn  0x00000029 
+ 00032297  0x00008c17 jam  0x00000000 , 0x0000455b 
+ 00032298  0x00008c18 jam  0x00000013 , 0x0000007c 
+ 00032299  0x00008c19 fetch  0x00000001 , 0x0000016d 
+ 00032300  0x00008c1a set0  0x00000002 , 0x0000003f 
+ 00032301  0x00008c1b store  0x00000001 , 0x0000016d 
+ 00032302  0x00008c1c rtn 
+ 00032303  0x00008c21 force  0x00000003 , 0x00000007 
+ 00032304  0x00008c22 branch  0x00007f07 
+ 00032305  0x00008c27 call  0x000062f8 
+ 00032306  0x00008c28 jam  0x00000041 , 0x0000007d 
+ 00032307  0x00008c29 branch  0x00005f9d 
+ 00032308  0x00008c2d fetch  0x00000001 , 0x00004682 
+ 00032309  0x00008c2e rtnbit0  0x0000000c 
+ 00032310  0x00008c2f rtnbit0  0x00000007 
+ 00032311  0x00008c30 branch  0x00007e2f 
+ 00032312  0x00008c36 fetch  0x00000002 , 0x00004218 
+ 00032313  0x00008c37 add  0x0000003f , 0x00000002 , 0x00000005 
+ 00032314  0x00008c38 setarg  0x00000000 
+ 00032315  0x00008c39 istore  0x00000003 , 0x00000005 
+ 00032316  0x00008c3a rtn 
+ 00032317  0x00008c3f call  0x00007fe9 
+ 00032318  0x00008c40 call  0x00007e69 
+ 00032319  0x00008c41 rtn  0x00000034 
+ 00032320  0x00008c42 fetch  0x00000002 , 0x00004218 
+ 00032321  0x00008c43 add  0x0000003f , 0x00000002 , 0x00000012 
+ 00032322  0x00008c44 ifetcht  0x00000001 , 0x00000012 
+ 00032323  0x00008c45 increase  0x00000001 , 0x00000002 
+ 00032324  0x00008c46 istoret  0x00000001 , 0x00000012 
+ 00032325  0x00008c48 ifetcht  0x00000001 , 0x0000003f 
+ 00032326  0x00008c49 copy  0x00000002 , 0x00000039 
+ 00032327  0x00008c4a add  0x0000003f , 0x00000004 , 0x00000012 
+ 00032328  0x00008c4b ifetch  0x00000001 , 0x00000012 
+ 00032329  0x00008c4c imul32  0x00000002 , 0x0000003f 
+ 00032330  0x00008c4d iadd  0x00000006 , 0x00000005 
+ 00032331  0x00008c4e copy  0x00000011 , 0x00000006 
+ 00032332  0x00008c50 call  0x00007f01 
+ 00032333  0x00008c51 call  0x00007e6d 
+ 00032334  0x00008c52 pincrease  0xffffffff 
+ 00032335  0x00008c53 ifetcht  0x00000001 , 0x00000012 
+ 00032336  0x00008c54 increase  0x00000001 , 0x00000002 
+ 00032337  0x00008c55 iand  0x00000002 , 0x00000002 
+ 00032338  0x00008c56 istoret  0x00000001 , 0x00000012 
+ 00032339  0x00008c57 branch  0x00007fe7 
+ 00032340  0x00008c5d call  0x00007fe9 
+ 00032341  0x00008c5e call  0x00007e65 
+ 00032342  0x00008c5f rtn  0x00000034 
+ 00032343  0x00008c60 fetch  0x00000002 , 0x00004218 
+ 00032344  0x00008c61 add  0x0000003f , 0x00000002 , 0x00000012 
+ 00032345  0x00008c62 ifetcht  0x00000001 , 0x00000012 
+ 00032346  0x00008c63 increase  0xffffffff , 0x00000002 
+ 00032347  0x00008c64 istoret  0x00000001 , 0x00000012 
+ 00032348  0x00008c65 ifetcht  0x00000001 , 0x0000003f 
+ 00032349  0x00008c66 copy  0x00000002 , 0x00000039 
+ 00032350  0x00008c67 add  0x0000003f , 0x00000003 , 0x00000012 
+ 00032351  0x00008c68 ifetch  0x00000001 , 0x00000012 
+ 00032352  0x00008c69 imul32  0x00000002 , 0x0000003f 
+ 00032353  0x00008c6a iadd  0x00000006 , 0x00000006 
+ 00032354  0x00008c6b increase  0x00000001 , 0x00000006 
+ 00032355  0x00008c6c copy  0x00000011 , 0x00000005 
+ 00032356  0x00008c6d branch  0x00007e4c 
+ 00032357  0x00008c72 fetch  0x00000002 , 0x00004218 
+ 00032358  0x00008c73 add  0x0000003f , 0x00000002 , 0x00000006 
+ 00032359  0x00008c74 ifetch  0x00000001 , 0x00000006 
+ 00032360  0x00008c75 rtn 
+ 00032361  0x00008c79 call  0x00007e6d 
+ 00032362  0x00008c7a ifetcht  0x00000001 , 0x00000006 
+ 00032363  0x00008c7b isub  0x00000002 , 0x0000003f 
+ 00032364  0x00008c7c rtn 
+ 00032365  0x00008c80 fetch  0x00000002 , 0x00004218 
+ 00032366  0x00008c81 add  0x0000003f , 0x00000001 , 0x00000006 
+ 00032367  0x00008c82 ifetch  0x00000001 , 0x00000006 
+ 00032368  0x00008c83 rtn 
+ 00032369  0x00008c8c sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00032370  0x00008c8d rtn  0x00000005 
+ 00032371  0x00008c8f rshift  0x0000003f , 0x0000003f 
+ 00032372  0x00008c90 loop  0x00007e73 
+ 00032373  0x00008c91 rtn 
+ 00032374  0x00008c95 force  0x00000001 , 0x0000003f 
+ 00032375  0x00008c96 sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00032376  0x00008c97 rtn  0x00000005 
+ 00032377  0x00008c99 lshift  0x0000003f , 0x0000003f 
+ 00032378  0x00008c9a loop  0x00007e79 
+ 00032379  0x00008c9b rtn 
+ 00032380  0x00008c9d deposit  0x00000005 
+ 00032381  0x00008c9e store  0x00000002 , 0x00000abb 
+ 00032382  0x00008c9f storet  0x00000008 , 0x00000aa2 
+ 00032383  0x00008ca0 deposit  0x0000000b 
+ 00032384  0x00008ca1 store  0x00000004 , 0x00000aaa 
+ 00032385  0x00008ca2 call  0x00007e85 
+ 00032386  0x00008ca3 deposit  0x00000006 
+ 00032387  0x00008ca4 store  0x00000002 , 0x00000ab9 
+ 00032388  0x00008ca5 rtn 
+ 00032389  0x00008ca8 deposit  0x00000011 
+ 00032390  0x00008ca9 store  0x00000004 , 0x00000aae 
+ 00032391  0x00008caa deposit  0x00000012 
+ 00032392  0x00008cab store  0x00000004 , 0x00000ab2 
+ 00032393  0x00008cac deposit  0x00000013 
+ 00032394  0x00008cad store  0x00000003 , 0x00000ab6 
+ 00032395  0x00008cae rtn 
+ 00032396  0x00008cb1 fetcht  0x00000008 , 0x00000aa2 
+ 00032397  0x00008cb2 fetch  0x00000004 , 0x00000aaa 
+ 00032398  0x00008cb3 iforce  0x0000000b 
+ 00032399  0x00008cb4 call  0x00007e95 
+ 00032400  0x00008cb5 fetch  0x00000002 , 0x00000abb 
+ 00032401  0x00008cb6 iforce  0x00000005 
+ 00032402  0x00008cb7 fetch  0x00000002 , 0x00000ab9 
+ 00032403  0x00008cb8 iforce  0x00000006 
+ 00032404  0x00008cb9 rtn 
+ 00032405  0x00008cbc fetch  0x00000004 , 0x00000aae 
+ 00032406  0x00008cbd iforce  0x00000011 
+ 00032407  0x00008cbe fetch  0x00000004 , 0x00000ab2 
+ 00032408  0x00008cbf iforce  0x00000012 
+ 00032409  0x00008cc0 fetch  0x00000003 , 0x00000ab6 
+ 00032410  0x00008cc1 iforce  0x00000013 
+ 00032411  0x00008cc2 rtn 
+ 00032412  0x00008cc5 fetch  0x00000002 , 0x00000abb 
+ 00032413  0x00008cc6 copy  0x0000003f , 0x00000005 
+ 00032414  0x00008cc7 rtn 
+ 00032415  0x00008cc9 fetch  0x00000002 , 0x00000ab9 
+ 00032416  0x00008cca copy  0x0000003f , 0x00000006 
+ 00032417  0x00008ccb rtn 
+ 00032418  0x00008ccd copy  0x00000005 , 0x0000003f 
+ 00032419  0x00008cce store  0x00000002 , 0x00000abb 
+ 00032420  0x00008ccf rtn 
+ 00032421  0x00008cd1 copy  0x00000006 , 0x0000003f 
+ 00032422  0x00008cd2 store  0x00000002 , 0x00000ab9 
+ 00032423  0x00008cd3 rtn 
+ 00032424  0x00008cd8 copy  0x00000005 , 0x0000003f 
+ 00032425  0x00008cd9 store  0x00000002 , 0x00000a97 
+ 00032426  0x00008cda copy  0x00000006 , 0x0000003f 
+ 00032427  0x00008cdb store  0x00000002 , 0x00000a95 
+ 00032428  0x00008cdc rtn 
+ 00032429  0x00008cde fetch  0x00000002 , 0x00000a97 
+ 00032430  0x00008cdf copy  0x0000003f , 0x00000005 
+ 00032431  0x00008ce0 fetch  0x00000002 , 0x00000a95 
+ 00032432  0x00008ce1 copy  0x0000003f , 0x00000006 
+ 00032433  0x00008ce2 rtn 
+ 00032434  0x00008ce5 call  0x00007ebd 
+ 00032435  0x00008ce7 call  0x00007ebd 
+ 00032436  0x00008ce8 branch  0x00007ebd 
+ 00032437  0x00008cea call  0x00007eb9 
+ 00032438  0x00008cec ifetch  0x00000004 , 0x00000006 
+ 00032439  0x00008ced istore  0x00000004 , 0x00000005 
+ 00032440  0x00008cee rtn 
+ 00032441  0x00008cf0 ifetch  0x00000008 , 0x00000006 
+ 00032442  0x00008cf1 istore  0x00000008 , 0x00000005 
+ 00032443  0x00008cf2 rtn 
+ 00032444  0x00008cf5 call  0x00007ebf 
+ 00032445  0x00008cf7 call  0x00007eb9 
+ 00032446  0x00008cf9 call  0x00007eb9 
+ 00032447  0x00008cfb call  0x00007eb9 
+ 00032448  0x00008cfc branch  0x00007eb9 
+ 00032449  0x00008d01 arg  0x0000000a , 0x00000039 
+ 00032450  0x00008d03 nop  0x00002ee0 
+ 00032451  0x00008d04 loop  0x00007ec2 
+ 00032452  0x00008d05 rtn 
+ 00032453  0x00008d08 force  0x00000003 , 0x00000039 
+ 00032454  0x00008d0a force  0x00000000 , 0x0000003f 
+ 00032455  0x00008d0c istore  0x00000008 , 0x00000005 
+ 00032456  0x00008d0d loop  0x00007ec7 
+ 00032457  0x00008d0e rtn 
+ 00032458  0x00008d11 force  0x00000000 , 0x0000003f 
+ 00032459  0x00008d12 istore  0x00000008 , 0x00000005 
+ 00032460  0x00008d13 rtn 
+ 00032461  0x00008d15 force  0x00000000 , 0x0000003f 
+ 00032462  0x00008d16 istore  0x00000004 , 0x00000005 
+ 00032463  0x00008d17 rtn 
+ 00032464  0x00008d1a force  0x00000004 , 0x00000039 
+ 00032465  0x00008d1b branch  0x00007ec6 
+ 00032466  0x00008d1d force  0x00000008 , 0x00000039 
+ 00032467  0x00008d1e branch  0x00007ec6 
+ 00032468  0x00008d21 deposit  0x00000039 
+ 00032469  0x00008d22 rtn  0x00000034 
+ 00032470  0x00008d23 setarg  0x00000000 
+ 00032471  0x00008d25 istore  0x00000001 , 0x00000005 
+ 00032472  0x00008d26 loop  0x00007ed7 
+ 00032473  0x00008d27 rtn 
+ 00032474  0x00008d2b arg  0x00000020 , 0x00000039 
+ 00032475  0x00008d2c arg  0x00000ac2 , 0x00000005 
+ 00032476  0x00008d2d branch  0x00007ed4 
+ 00032477  0x00008d30 ifetch  0x00000004 , 0x00000013 
+ 00032478  0x00008d31 ifetcht  0x00000004 , 0x00000011 
+ 00032479  0x00008d32 ixor  0x00000002 , 0x0000003f 
+ 00032480  0x00008d33 istore  0x00000004 , 0x00000005 
+ 00032481  0x00008d34 increase  0x00000004 , 0x00000011 
+ 00032482  0x00008d35 increase  0x00000004 , 0x00000013 
+ 00032483  0x00008d36 loop  0x00007edd 
+ 00032484  0x00008d37 rtn 
+ 00032485  0x00008d3c bpatchx  0x000000fb , 0x0000403f 
+ 00032486  0x00008d3d copy  0x00000039 , 0x0000003f 
+ 00032487  0x00008d3e sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00032488  0x00008d3f rtn  0x00000002 
+ 00032489  0x00008d40 iadd  0x00000011 , 0x00000012 
+ 00032490  0x00008d41 increase  0xffffffff , 0x00000012 
+ 00032491  0x00008d42 rshift  0x00000039 , 0x00000039 
+ 00032492  0x00008d44 ifetcht  0x00000001 , 0x00000011 
+ 00032493  0x00008d45 ifetch  0x00000001 , 0x00000012 
+ 00032494  0x00008d46 istore  0x00000001 , 0x00000011 
+ 00032495  0x00008d47 istoret  0x00000001 , 0x00000012 
+ 00032496  0x00008d48 increase  0xffffffff , 0x00000012 
+ 00032497  0x00008d49 increase  0x00000001 , 0x00000011 
+ 00032498  0x00008d4a loop  0x00007eec 
+ 00032499  0x00008d4b rtn 
+ 00032500  0x00008d4f deposit  0x00000039 
+ 00032501  0x00008d50 rtn  0x00000034 
+ 00032502  0x00008d52 increase  0xfffffff8 , 0x00000039 
+ 00032503  0x00008d53 call  0x00007eb9 , 0x00000002 
+ 00032504  0x00008d54 rtn  0x00000005 
+ 00032505  0x00008d55 branch  0x00007ef6 , 0x00000002 
+ 00032506  0x00008d56 increase  0x00000008 , 0x00000039 
+ 00032507  0x00008d58 increase  0xfffffffc , 0x00000039 
+ 00032508  0x00008d59 call  0x00007eb6 , 0x00000002 
+ 00032509  0x00008d5a rtn  0x00000005 
+ 00032510  0x00008d5b branch  0x00007efb , 0x00000002 
+ 00032511  0x00008d5c increase  0x00000004 , 0x00000039 
+ 00032512  0x00008d5d branch  0x00007f01 
+ 00032513  0x00008d60 deposit  0x00000039 
+ 00032514  0x00008d61 rtn  0x00000034 
+ 00032515  0x00008d63 ifetch  0x00000001 , 0x00000006 
+ 00032516  0x00008d64 istore  0x00000001 , 0x00000005 
+ 00032517  0x00008d65 loop  0x00007f03 
+ 00032518  0x00008d66 rtn 
+ 00032519  0x00008d69 setarg  0x00000000 
+ 00032520  0x00008d6b rshift  0x00000022 , 0x00000002 
+ 00032521  0x00008d6c storet  0x00000004 , 0x00004094 
+ 00032522  0x00008d6d arg  0x0000419d , 0x00000005 
+ 00032523  0x00008d6e iforce  0x00000002 
+ 00032524  0x00008d6f lshift  0x00000007 , 0x0000003f 
+ 00032525  0x00008d70 iadd  0x00000005 , 0x00000005 
+ 00032526  0x00008d71 istoret  0x00000002 , 0x00000005 
+ 00032527  0x00008d72 bpatchx  0x000000fc , 0x0000403f 
+ 00032528  0x00008d73 rtn 
+ 00032529  0x00008d76 arg  0x00000800 , 0x0000000b 
+ 00032530  0x00008d77 lshift16  0x0000000b , 0x0000000b 
+ 00032531  0x00008d78 iadd  0x0000000b , 0x0000003f 
+ 00032532  0x00008d79 rtn 
+ 00032533  0x00008d7d arg  0x00000000 , 0x00000007 
+ 00032534  0x00008d7f bpatchx  0x000000fd , 0x0000403f 
+ 00032535  0x00008d80 fetcht  0x00000004 , 0x00004094 
+ 00032536  0x00008d81 rshift  0x00000022 , 0x0000003f 
+ 00032537  0x00008d82 store  0x00000004 , 0x00004094 
+ 00032538  0x00008d83 isub  0x00000002 , 0x0000003e 
+ 00032539  0x00008d84 ncall  0x00007f11 , 0x00000002 
+ 00032540  0x00008d85 isub  0x00000002 , 0x0000000b 
+ 00032541  0x00008d86 copy  0x0000000b , 0x00000002 
+ 00032542  0x00008d87 arg  0x0000419d , 0x00000006 
+ 00032543  0x00008d88 copy  0x00000006 , 0x00000005 
+ 00032544  0x00008d89 arg  0x00000010 , 0x00000039 
+ 00032545  0x00008d8b ifetch  0x00000002 , 0x00000006 
+ 00032546  0x00008d8c isub  0x00000002 , 0x0000003f 
+ 00032547  0x00008d8d branch  0x00007f25 , 0x00000002 
+ 00032548  0x00008d8e force  0x00000000 , 0x0000003f 
+ 00032549  0x00008d90 istore  0x00000002 , 0x00000005 
+ 00032550  0x00008d91 loop  0x00007f21 
+ 00032551  0x00008d92 arg  0x0000419d , 0x00000006 
+ 00032552  0x00008d93 lshift  0x00000007 , 0x0000003f 
+ 00032553  0x00008d94 iadd  0x00000006 , 0x00000006 
+ 00032554  0x00008d95 ifetch  0x00000002 , 0x00000006 
+ 00032555  0x00008d96 rtn 
+ 00032556  0x00008d9c iadd  0x00000002 , 0x00000002 
+ 00032557  0x00008d9d copy  0x00000002 , 0x00000039 
+ 00032558  0x00008d9e setarg  0x00000ea6 
+ 00032559  0x00008d9f isub  0x00000039 , 0x0000003f 
+ 00032560  0x00008da0 rtn  0x00000002 
+ 00032561  0x00008da1 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032562  0x00008da2 rshift16  0x00000002 , 0x00000002 
+ 00032563  0x00008da3 increase  0x00000001 , 0x00000002 
+ 00032564  0x00008da4 lshift16  0x00000002 , 0x00000002 
+ 00032565  0x00008da5 ior  0x00000002 , 0x00000002 
+ 00032566  0x00008da6 rtn 
+ 00032567  0x00008da9 call  0x00007f39 
+ 00032568  0x00008daa branch  0x00007f43 
+ 00032569  0x00008dae disable  0x00000028 
+ 00032570  0x00008daf isub  0x00000002 , 0x0000003f 
+ 00032571  0x00008db0 branch  0x00007f3e , 0x00000002 
+ 00032572  0x00008db1 enable  0x00000028 
+ 00032573  0x00008db2 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032574  0x00008db4 rtnbit0  0x0000000f 
+ 00032575  0x00008db5 arg  0xffff0ea6 , 0x00000002 
+ 00032576  0x00008db6 iadd  0x00000002 , 0x0000003f 
+ 00032577  0x00008db7 set0  0x00000040 , 0x0000003f 
+ 00032578  0x00008db8 rtn 
+ 00032579  0x00008dbb iforce  0x00000006 
+ 00032580  0x00008dbc rshift16  0x0000003f , 0x0000003f 
+ 00032581  0x00008dbd arg  0x00000ea6 , 0x00000002 
+ 00032582  0x00008dbe imul32  0x00000002 , 0x0000003f 
+ 00032583  0x00008dbf iadd  0x00000006 , 0x0000003f 
+ 00032584  0x00008dc0 rtn 
+ 00032585  0x00008dc4 lshift8  0x0000003f , 0x0000003f 
+ 00032586  0x00008dc5 lshift4  0x0000003f , 0x0000003f 
+ 00032587  0x00008dc6 fetcht  0x00000003 , 0x0000416f 
+ 00032588  0x00008dc7 idiv  0x00000002 
+ 00032589  0x00008dc8 call  0x00007f86 
+ 00032590  0x00008dc9 quotient  0x00000002 
+ 00032591  0x00008dca rtn 
+ 00032592  0x00008dce arg  0x00000ea6 , 0x00000002 
+ 00032593  0x00008dcf idiv  0x00000002 
+ 00032594  0x00008dd0 call  0x00007f86 
+ 00032595  0x00008dd1 quotient  0x0000003f 
+ 00032596  0x00008dd2 lshift16  0x0000003f , 0x0000003f 
+ 00032597  0x00008dd3 remainder  0x00000002 
+ 00032598  0x00008dd4 ior  0x00000002 , 0x00000002 
+ 00032599  0x00008dd5 rtn 
+ 00032600  0x00008ddd arg  0x00000000 , 0x00000002 
+ 00032601  0x00008ddf copy  0x00000002 , 0x00000013 
+ 00032602  0x00008de0 ifetch  0x00000001 , 0x00000003 
+ 00032603  0x00008de1 call  0x00007f64 
+ 00032604  0x00008de2 copy  0x00000013 , 0x00000002 
+ 00032605  0x00008de3 call  0x00007f95 
+ 00032606  0x00008de4 arg  0x0000000a , 0x00000012 
+ 00032607  0x00008de5 imul32  0x00000012 , 0x0000003f 
+ 00032608  0x00008de6 iadd  0x00000002 , 0x0000003f 
+ 00032609  0x00008de7 copy  0x0000003f , 0x00000002 
+ 00032610  0x00008de8 loop  0x00007f59 
+ 00032611  0x00008de9 rtn 
+ 00032612  0x00008dee arg  0x0000003a , 0x00000002 
+ 00032613  0x00008def isub  0x00000002 , 0x0000003e 
+ 00032614  0x00008df0 nbranch  0x00007f6d , 0x00000002 
+ 00032615  0x00008df1 arg  0x00000061 , 0x00000002 
+ 00032616  0x00008df2 isub  0x00000002 , 0x0000003e 
+ 00032617  0x00008df3 branch  0x00007f70 , 0x00000002 
+ 00032618  0x00008df4 arg  0x00000037 , 0x00000002 
+ 00032619  0x00008df5 isub  0x00000002 , 0x0000003f 
+ 00032620  0x00008df6 rtn 
+ 00032621  0x00008df8 arg  0x00000030 , 0x00000002 
+ 00032622  0x00008df9 isub  0x00000002 , 0x0000003f 
+ 00032623  0x00008dfa rtn 
+ 00032624  0x00008dfc arg  0x00000057 , 0x00000002 
+ 00032625  0x00008dfd isub  0x00000002 , 0x0000003f 
+ 00032626  0x00008dfe rtn 
+ 00032627  0x00008e01 copy  0x00000002 , 0x00000030 
+ 00032628  0x00008e02 setarg  0x000001ff 
+ 00032629  0x00008e03 force  0x00000000 , 0x00000012 
+ 00032630  0x00008e05 rshift3  0x0000003f , 0x00000011 
+ 00032631  0x00008e06 rshift  0x00000011 , 0x00000011 
+ 00032632  0x00008e07 ixor  0x00000011 , 0x00000011 
+ 00032633  0x00008e08 isolate1  0x00000000 , 0x00000011 
+ 00032634  0x00008e09 setflag  0x00000001 , 0x00000009 , 0x0000003f 
+ 00032635  0x00008e0a rshift  0x00000002 , 0x00000002 
+ 00032636  0x00008e0b isolate1  0x00000000 , 0x0000003f 
+ 00032637  0x00008e0c setflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00032638  0x00008e0d rshift  0x0000003f , 0x0000003f 
+ 00032639  0x00008e0e increase  0x00000001 , 0x00000012 
+ 00032640  0x00008e0f compare  0x00000000 , 0x00000012 , 0x00000007 
+ 00032641  0x00008e10 nbranch  0x00007f76 , 0x00000001 
+ 00032642  0x00008e11 istoret  0x00000001 , 0x00000005 
+ 00032643  0x00008e12 loop  0x00007f76 
+ 00032644  0x00008e13 copy  0x00000030 , 0x00000002 
+ 00032645  0x00008e14 rtn 
+ 00032646  0x00008e18 rtn  0x00000035 
+ 00032647  0x00008e19 branch  0x00007f86 
+ 00032648  0x00008e25 ifetch  0x00000001 , 0x00000011 
+ 00032649  0x00008e26 ifetcht  0x00000001 , 0x00000012 
+ 00032650  0x00008e27 isub  0x00000002 , 0x0000003e 
+ 00032651  0x00008e28 nrtn  0x00000005 
+ 00032652  0x00008e29 increase  0x00000001 , 0x00000011 
+ 00032653  0x00008e2a increase  0x00000001 , 0x00000012 
+ 00032654  0x00008e2b loop  0x00007f88 
+ 00032655  0x00008e2c force  0x00000000 , 0x0000003e 
+ 00032656  0x00008e2d rtn 
+ 00032657  0x00008e31 isub  0x00000002 , 0x0000003e 
+ 00032658  0x00008e32 nrtn  0x00000002 
+ 00032659  0x00008e33 deposit  0x00000002 
+ 00032660  0x00008e34 rtn 
+ 00032661  0x00008e37 iadd  0x00000002 , 0x0000003f 
+ 00032662  0x00008e38 isub  0x00000002 , 0x00000002 
+ 00032663  0x00008e39 isub  0x00000002 , 0x0000003f 
+ 00032664  0x00008e3a rtn 
+ 00032665  0x00008e3d arg  0x00000200 , 0x00000039 
+ 00032666  0x00008e3e arg  0x00004000 , 0x00000005 
+ 00032667  0x00008e3f branch  0x00007ec6 
+ 00032668  0x00008e43 rtn  0x00000034 
+ 00032669  0x00008e44 copy  0x0000003f , 0x0000003d 
+ 00032670  0x00008e48 hfetch  0x00000002 , 0x0000810e 
+ 00032671  0x00008e49 nbranch  0x00007f9e , 0x00000034 
+ 00032672  0x00008e4a rtn 
+ 00032673  0x00008e4d jam  0x00000001 , 0x00008203 
+ 00032674  0x00008e4e rtn 
+ 00032675  0x00008e51 hstore  0x00000002 , 0x00008205 
+ 00032676  0x00008e52 hfetch  0x00000001 , 0x00008203 
+ 00032677  0x00008e53 set1  0x00000004 , 0x0000003f 
+ 00032678  0x00008e54 hstore  0x00000001 , 0x00008203 
+ 00032679  0x00008e55 rtn 
+ 00032680  0x00008e57 hstore  0x00000002 , 0x00008207 
+ 00032681  0x00008e58 hfetch  0x00000001 , 0x00008203 
+ 00032682  0x00008e59 set1  0x00000006 , 0x0000003f 
+ 00032683  0x00008e5a hstore  0x00000001 , 0x00008203 
+ 00032684  0x00008e5b rtn 
+ 00032685  0x00008e5e hstore  0x00000002 , 0x00008205 
+ 00032686  0x00008e5f jam  0x00000030 , 0x00008203 
+ 00032687  0x00008e60 rtn 
+ 00032688  0x00008e65 hfetch  0x00000001 , 0x00008043 
+ 00032689  0x00008e66 set0  0x00000004 , 0x0000003f 
+ 00032690  0x00008e67 hstore  0x00000001 , 0x00008043 
+ 00032691  0x00008e68 rtn 
+ 00032692  0x00008e6b hfetch  0x00000002 , 0x0000810e 
+ 00032693  0x00008e6c arg  0x00000200 , 0x00000002 
+ 00032694  0x00008e6e isub  0x00000002 , 0x0000003e 
+ 00032695  0x00008e6f rtn 
+ 00032696  0x00008e76 bpatchx  0x000000fe , 0x0000403f 
+ 00032697  0x00008e77 ifetcht  0x00000008 , 0x00000011 
+ 00032698  0x00008e78 and  0x00000002 , 0x000000ff , 0x0000003f 
+ 00032699  0x00008e79 nbranch  0x00007fbe , 0x00000034 
+ 00032700  0x00008e7a rshift8  0x00000002 , 0x0000003f 
+ 00032701  0x00008e7b istore  0x00000008 , 0x00000011 
+ 00032702  0x00008e7d increase  0x00000007 , 0x00000011 
+ 00032703  0x00008e7e ifetch  0x00000001 , 0x00000011 
+ 00032704  0x00008e7f nbranch  0x00002a8c , 0x00000034 
+ 00032705  0x00008e80 fetch  0x00000001 , 0x00000a99 
+ 00032706  0x00008e81 istore  0x00000001 , 0x00000011 
+ 00032707  0x00008e82 rtn 
+ 00032708  0x00008e88 bpatchx  0x000000ff , 0x0000403f 
+ 00032709  0x00008e89 arg  0x00000008 , 0x00000039 
+ 00032710  0x00008e8a ifetch  0x00000008 , 0x00000011 
+ 00032711  0x00008e8b rtn  0x00000034 
+ 00032712  0x00008e8d ifetch  0x00000001 , 0x00000011 
+ 00032713  0x00008e8e nbranch  0x00007fcd , 0x00000034 
+ 00032714  0x00008e8f increase  0x00000001 , 0x00000011 
+ 00032715  0x00008e90 loop  0x00007fc8 
+ 00032716  0x00008e91 branch  0x00002a8c 
+ 00032717  0x00008e93 arg  0x00000000 , 0x00000002 
+ 00032718  0x00008e94 istoret  0x00000001 , 0x00000011 
+ 00032719  0x00008e95 rtn 
+ 00032720  0x00008e9b ifetch  0x00000008 , 0x00000011 
+ 00032721  0x00008e9c rtn 
+ 00032722  0x00008ea2 ifetch  0x00000001 , 0x00000011 
+ 00032723  0x00008ea3 rtn 
+ 00032724  0x00008ea7 ifetch  0x00000002 , 0x00000011 
+ 00032725  0x00008ea8 rtn 
+ 00032726  0x00008ead arg  0x00000000 , 0x00000002 
+ 00032727  0x00008eaf fetch  0x00000001 , 0x00000006 
+ 00032728  0x00008eb0 loop  0x00007fd7 , 0x00000034 
+ 00032729  0x00008eb1 increase  0x00000001 , 0x00000002 
+ 00032730  0x00008eb2 loop  0x00007fd7 
+ 00032731  0x00008eb3 copy  0x00000002 , 0x0000003f 
+ 00032732  0x00008eb4 rtn 
+ 00032733  0x00008eb7 isub  0x00000002 , 0x0000003e 
+ 00032734  0x00008eb8 nrtn  0x00000002 
+ 00032735  0x00008eb9 copy  0x00000002 , 0x0000003f 
+ 00032736  0x00008eba rtn 
+ 00032737  0x00008ebe force  0xffffffff , 0x0000003e 
+ 00032738  0x00008ebf rtn 
+ 00032739  0x00008ec2 force  0x00000001 , 0x0000003e 
+ 00032740  0x00008ec3 rtn 
+ 00032741  0x00008ec5 force  0x00000000 , 0x0000003e 
+ 00032742  0x00008ec6 rtn 
+ 00032743  0x00008ec9 enable  0x00000028 
+ 00032744  0x00008eca rtn 
+ 00032745  0x00008ecd disable  0x00000028 
+ 00032746  0x00008ece rtn 
+ 00032747  0x00008ed1 enable  0x0000002c 
+ 00032748  0x00008ed2 rtn 
+ 00032749  0x00008ed5 disable  0x0000002c 
+ 00032750  0x00008ed6 rtn 
+ 00032751  0x00008ed9 setarg  0x00000001 
+ 00032752  0x00008eda rtn 
+ 00032753  0x00008edd setarg  0x00000000 
+ 00032754  0x00008ede rtn 
+ 00032755  0x00008ee2 copy  0x00000039 , 0x0000003f 
+ 00032756  0x00008ee3 rtn  0x00000034 
+ 00032757  0x00008ee4 copy  0x00000006 , 0x0000003f 
+ 00032758  0x00008ee5 iadd  0x00000039 , 0x0000003f 
+ 00032759  0x00008ee6 increase  0xffffffff , 0x0000003f 
+ 00032760  0x00008ee7 copy  0x0000003f , 0x00000006 
+ 00032761  0x00008ee9 ifetch  0x00000001 , 0x00000006 
+ 00032762  0x00008eea increase  0xfffffffe , 0x00000006 
+ 00032763  0x00008eeb istore  0x00000001 , 0x00000005 
+ 00032764  0x00008eec loop  0x00007ff9 
+ 00032765  0x00008eed rtn 
Index: HS_24G&BLE_Motion/output/bt_program23.list
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/bt_program23.list	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/bt_program23.list	(working copy)
@@ -0,0 +1,30654 @@
+              include "bt_format "
+              org 0x0000
+0x0000 000062 bbit1 8 ,pf_patch_ext 
+0x0001 000063 beq patch10_5 ,p_shutdown_radio 
+0x0002 000064 beq patch11_1 ,p_set_freq_tx 
+0x0003 000065 beq patch00_1 ,p_soft_reset_1 
+0x0004 000066 beq patch14_1 ,p_init_param 
+0x0005 000067 beq patch15_0 ,p_lpm_dispatch_next2 
+0x0006 000068 beq patch16_1 ,p_lpm_check_wake_lock 
+0x0007 000069 beq patch16_2 ,p_g24_dispatch 
+0x0008 000070 beq patch18_4 ,p_device_init 
+0x0009 000071 beq patch19_1 ,p_app_flag_store 
+0x000a 000072 beq patch19_2 ,p_app_initflag_check 
+0x000b 000073 beq patch1c_3 ,p_mouse_seting_dpi 
+0x000c 000074 beq patch1c_6 ,p_mouse_motion 
+0x000d 000075 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+0x000e 000076 beq patch1d_3 ,p_mouse_start_discovery 
+0x000f 000077 beq patch1d_4 ,p_mouse_stop_discovery 
+0x0010 000078 branch loop 
+:      000079 pf_patch_ext:
+0x0011 000080 beq patch27_1 ,p_le_slave_match 
+0x0012 000081 beq patch28_3 ,p_le_next_adv_channel 
+0x0013 000082 beq patch29_2 ,p_le_receive_skip 
+0x0014 000083 beq patch2a_7 ,p_le_update_param 
+0x0015 000084 beq patch2c_3 ,p_le_prepare_tx 
+0x0016 000085 beq patch2c_7 ,p_le_parse_l2cap 
+0x0017 000086 beq patch2d_2 ,p_le_adv_not_match 
+0x0018 000087 beq patch2e_7 ,p_le_lpm_setmult 
+0x0019 000088 beq patch31_4 ,p_twspi_reset 
+0x001a 000089 branch loop 
+:      000095 p_rssi_signal:
+0x001b 000096 copy pdata ,rega 
+0x001c 000097 fetcht 1 ,mem_rssi_signal_index 
+0x001d 000098 setarg mem_rssi_signal_buf 
+0x001e 000099 iadd temp ,contw 
+0x001f 000100 copy rega ,pdata 
+0x0020 000101 istore 1 ,contw 
+0x0021 000102 increase 1 ,temp 
+0x0022 000103 and_into rssi_buf_len_signal ,temp 
+0x0023 000104 storet 1 ,mem_rssi_signal_index 
+0x0024 000105 rtn 
+:      000107 p_soft_reset_1:
+0x0025 000108 arg mem_sp_state ,contw 
+0x0026 000109 arg 12 ,loopcnt 
+0x0027 000110 call clear_mem 
+0x0028 000111 call p_mouse_le_txbuff_load 
+0x0029 000112 call rfcomm_init 
+0x002a 000113 call init_lmp 
+0x002b 000114 ncall lpm_disable_exen_output ,wake 
+0x002c 000115 call ui_init + 1 
+0x002d 000116 branch soft_reset + 11 
+:      000119 p_init_param:
+0x002e 000120 setarg param_le_version 
+0x002f 000121 store 3 ,mem_lmp_version 
+0x0030 000122 setarg param_le_subversion 
+0x0031 000123 store 2 ,mem_lmp_version + 3 
+0x0032 000124 branch init_param + 12 
+:      000126 p_lpm_dispatch_next2:
+0x0033 000127 fetch 1 ,mem_mouse_wheel_trigger 
+0x0034 000128 nrtn blank 
+0x0035 000129 branch lpm_dispatch_next2 
+:      000131 p_lpm_check_wake_lock:
+0x0036 000132 rtnmark1 mark_24g 
+0x0037 000133 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0x0038 000134 beq 0 ,disable_blank 
+0x0039 000135 fetch 1 ,mem_mouse_le_conn_param_reject 
+0x003a 000136 beq le_lpm_disable ,disable_blank 
+0x003b 000137 fetch 2 ,mem_sdp_remote_cid 
+0x003c 000138 nbranch disable_blank ,blank 
+0x003d 000139 branch enable_blank 
+:      000141 p_g24_dispatch:
+0x003e 000142 rtnmark0 mark_24g 
+0x003f 000143 fetch 1 ,mem_24g_transmit_by_interrupt 
+0x0040 000144 beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
+:      000145 p_g24_transmit_process:
+0x0041 000146 call p_g24_txdata_prep 
+0x0042 000147 nbranch p_g24_nodata_transmit ,user 
+0x0043 000148 call p_g24_rf_sta_check 
+:      000149 p_g24_transmit_start:
+0x0044 000150 call p_g24_transmit_packet 
+0x0045 000151 fetch 1 ,mem_24g_pairing_sm 
+0x0046 000152 rtnne state_24g_pairing_success 
+0x0047 000153 call power_ctrl_start 
+0x0048 000155 fetch 1 ,mem_24g_transmit_by_interrupt 
+0x0049 000156 rtneq g24_tx_timer_int_enable 
+:      000157 p_g24_short_sleep:
+0x004a 000158 call lpo_calibration 
+0x004b 000159 fetch 3 ,mem_clks_per_lpo 
+0x004c 000160 rtn blank 
+0x004d 000161 fetch 1 ,mem_lpm_mode 
+0x004e 000162 rtn blank 
+0x004f 000163 call p_mouse_setgpio_lpm 
+0x0050 000164 call p_clear_wake 
+0x0051 000165 setarg 60500 
+0x0052 000166 branch lpm_dispatch_sleep 
+:      000167 p_g24_transmit_by_interrupt:
+0x0053 000168 call p_g24_timer_check 
+0x0054 000169 nrtn user 
+0x0055 000170 call p_g24_interval_calibrate 
+0x0056 000171 fetch 1 ,mem_24g_transmit_by_interrupt_exit_count 
+0x0057 000172 increase 1 ,pdata 
+0x0058 000173 store 1 ,mem_24g_transmit_by_interrupt_exit_count 
+0x0059 000174 sub pdata ,25 ,null 
+0x005a 000175 call p_g24_transmit_by_interrupt_exit ,zero 
+0x005b 000176 branch p_g24_transmit_process 
+:      000177 p_g24_transmit_by_interrupt_exit:
+0x005c 000178 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+0x005d 000179 jam 0 ,mem_24g_transmit_by_interrupt_exit_count 
+:      000180 p_g24_interval_min:
+0x005e 000181 jam 0 ,mem_24g_pac_index 
+0x005f 000182 fetch 1 ,mem_24g_interval_min 
+0x0060 000183 store 1 ,mem_24g_interval 
+0x0061 000184 rtn 
+:      000185 p_g24_interval_max:
+0x0062 000186 fetch 1 ,mem_24g_interval_max 
+0x0063 000187 store 1 ,mem_24g_interval 
+0x0064 000188 rtn 
+:      000189 p_g24_interval_calibrate:
+0x0065 000190 fetch 1 ,mem_24g_pac_index 
+0x0066 000191 increase 1 ,pdata 
+0x0067 000192 store 1 ,mem_24g_pac_index 
+0x0068 000193 beq 4 ,p_g24_interval_max 
+0x0069 000194 beq 5 ,p_g24_interval_min 
+0x006a 000195 rtn 
+:      000196 p_g24_transmit_by_interrupt_enable:
+0x006b 000197 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+0x006c 000198 jam 0 ,mem_24g_transmit_by_interrupt_exit_count 
+0x006d 000199 rtn 
+:      000201 p_g24_nodata_transmit:
+0x006e 000202 fetch 1 ,mem_24g_abort_pac 
+0x006f 000203 call p_g24_send_abort_packet ,blank 
+:      000204 p_g24_long_sleep:
+0x0070 000205 call lpo_calibration 
+0x0071 000206 fetch 3 ,mem_clks_per_lpo 
+0x0072 000207 rtn blank 
+0x0073 000208 fetch 1 ,mem_lpm_mode 
+0x0074 000209 rtn blank 
+0x0075 000210 call p_mouse_setgpio_lpm 
+0x0076 000211 fetch 8 ,mem_24g_enter_hibernate 
+0x0077 000212 call clk2lpo 
+0x0078 000213 storet 4 ,mem_sleep_counter 
+0x0079 000214 branch lpm_sleep 
+:      000216 p_g24_send_abort_packet:
+0x007a 000217 jam 1 ,mem_24g_abort_pac 
+0x007b 000218 jam 0 ,mem_24g_rf_hop_ch 
+0x007c 000219 call p_g24_transmit_rf_ctrl_clear 
+0x007d 000220 store 1 ,mem_24g_txbuf 
+0x007e 000221 setarg 0 
+0x007f 000222 store 7 ,mem_24g_txbuf + 1 
+0x0080 000223 fetch 4 ,mem_24g_device_addr 
+0x0081 000224 store 4 ,mem_24g_txbuf + 8 
+0x0082 000225 jam 12 ,mem_24g_datalen 
+0x0083 000226 fetch 1 ,mem_24g_data_type 
+0x0084 000227 set1 bit_abort ,pdata 
+0x0085 000228 store 1 ,mem_24g_data_type 
+0x0086 000229 call p_g24_transmit_prep 
+0x0087 000230 call p_g24_txdata_enable_tx 
+0x0088 000231 branch p_g24_transmit_start 
+:      000234 p_mouse_before_lpm:
+0x0089 000235 rtnmark1 mark_24g 
+0x008a 000236 call p_mouse_le_txbuff_save 
+0x008b 000237 call p_mouse_setgpio_lpm 
+0x008c 000238 fetch 1 ,mem_context 
+0x008d 000239 bbit0 state_inconn ,p_clear_wake 
+0x008e 000240 fetch 1 ,mem_lpm_current_mult 
+0x008f 000241 nrtn blank 
+:      000242 p_clear_wake:
+0x0090 000243 setarg 0 
+0x0091 000244 store 8 ,mem_gpio_wakeup_low 
+0x0092 000245 rtn 
+:      000247 p_mouse_setgpio_lpm:
+0x0093 000248 call p_mouse_set_sdio_high 
+0x0094 000249 call p_clear_wake 
+0x0095 000250 call mouse_lpm_before_common 
+0x0096 000251 hfetch 4 ,core_gpio_oe0 
+0x0097 000252 hfetcht 4 ,core_gpio_pu0 
+0x0098 000253 ior temp ,temp 
+0x0099 000254 invert temp ,temp 
+0x009a 000255 hstoret 4 ,core_gpio_pd0 
+0x009b 000256 rtn 
+:      000258 p_mouse_set_sdio_high:
+0x009c 000259 fetch 1 ,mem_mouse_init_sensor_reset_flag 
+0x009d 000260 rtn blank 
+0x009e 000261 branch p_mouse_seting_dpi + 1 
+:      000263 p_mouse_le_txbuff_save:
+0x009f 000264 arg mem_le_tx_buffer0 ,contr 
+0x00a0 000265 arg mem_le_tx_buffer0_omemalloc ,contw 
+0x00a1 000266 call p_mouse_le_txbuff_copy 
+0x00a2 000267 arg mem_le_tx_buffer1 ,contr 
+0x00a3 000268 arg mem_le_tx_buffer1_omemalloc ,contw 
+0x00a4 000269 call p_mouse_le_txbuff_copy 
+0x00a5 000270 arg mem_le_tx_buffer2 ,contr 
+0x00a6 000271 arg mem_le_tx_buffer2_omemalloc ,contw 
+0x00a7 000272 call p_mouse_le_txbuff_copy 
+0x00a8 000273 arg mem_le_tx_buffer3 ,contr 
+0x00a9 000274 arg mem_le_tx_buffer3_omemalloc ,contw 
+:      000275 p_mouse_le_txbuff_copy:
+0x00aa 000276 arg 27 ,loopcnt 
+0x00ab 000277 branch memcpy 
+:      000279 p_mouse_le_txbuff_load:
+0x00ac 000280 arg mem_le_tx_buffer0_omemalloc ,contr 
+0x00ad 000281 arg mem_le_tx_buffer0 ,contw 
+0x00ae 000282 call p_mouse_le_txbuff_copy 
+0x00af 000283 arg mem_le_tx_buffer1_omemalloc ,contr 
+0x00b0 000284 arg mem_le_tx_buffer1 ,contw 
+0x00b1 000285 call p_mouse_le_txbuff_copy 
+0x00b2 000286 arg mem_le_tx_buffer2_omemalloc ,contr 
+0x00b3 000287 arg mem_le_tx_buffer2 ,contw 
+0x00b4 000288 call p_mouse_le_txbuff_copy 
+0x00b5 000289 arg mem_le_tx_buffer3_omemalloc ,contr 
+0x00b6 000290 arg mem_le_tx_buffer3 ,contw 
+0x00b7 000291 branch p_mouse_le_txbuff_copy 
+:      000293 p_device_init:
+0x00b8 000294 call app_lpm_mult_enable 
+0x00b9 000295 branch p_device_init_common ,wake 
+0x00ba 000296 jam 0x20 ,core_gpio_pu0 
+0x00bb 000298 call p_mouse_data_init 
+0x00bc 000299 fetch 1 ,mem_tx_power 
+0x00bd 000300 store 1 ,mem_tx_power_temp 
+0x00be 000301 call power_ctrl_pac_succ_cnt_init 
+0x00bf 000302 fetch 1 ,mem_ui_button_timeout 
+0x00c0 000303 store 1 ,mem_combination_ui_button_count 
+0x00c1 000304 call mouse_bt_discovery_button_down_disable 
+:      000305 p_device_init_common:
+0x00c2 000306 call p_mouse_init 
+0x00c3 000307 branch enable_authrom 
+:      000309 p_mouse_init:
+0x00c4 000310 ncall p_mouse_setting_config ,wake 
+0x00c5 000311 call p_mouse_spi_init 
+0x00c6 000312 rtn wake 
+0x00c7 000313 call p_mouse_cb_fuction 
+0x00c8 000314 call p_mouse_check_key_gpio 
+0x00c9 000315 beq mouse_lm_button ,p_mouse_24g_pairing_button 
+0x00ca 000316 branch p_mouse_wakeup_from_power 
+:      000318 p_mouse_check_reconn_target:
+0x00cb 000319 fetch 1 ,mem_tx_power_temp 
+0x00cc 000320 store 1 ,mem_tx_power 
+0x00cd 000321 fetch 1 ,mem_xrecord_mode 
+0x00ce 000322 beq rec_4_mode ,p_mouse4_0_check_reconn_target 
+0x00cf 000323 rtn 
+:      000327 p_mouse4_0_check_reconn_target:
+0x00d0 000328 jam 1 ,mem_mouse_le_reconnect_flag 
+0x00d1 000329 fetch 2 ,mem_mouse_direct_timeout 
+0x00d2 000330 store 2 ,mem_mouse_direct_timer 
+0x00d3 000331 call app_lpm_mult_disable 
+0x00d4 000332 call p_le_check_adv_flag 
+0x00d5 000333 setarg adv_flag_bredr_not_supported 
+0x00d6 000334 istore 1 ,contr 
+0x00d7 000335 branch check_51cmd_adv 
+:      000337 p_le_check_adv_flag:
+0x00d8 000338 arg mem_le_adv_data ,rega 
+:      000339 p_le_check_adv_flag_loop:
+0x00d9 000340 ifetch 1 ,rega 
+0x00da 000341 rtn blank 
+0x00db 000342 iadd contr ,rega 
+0x00dc 000343 ifetch 1 ,contr 
+0x00dd 000344 rtneq 0x01 
+0x00de 000345 branch p_le_check_adv_flag_loop 
+:      000347 p_mouse_24g_pairing_button:
+0x00df 000348 fetch mouse_flag_len ,mem_mouse_flag 
+0x00e0 000349 rtnbit0 mouse_enable_24g 
+0x00e1 000350 rtnbit1 mosue_24g_pairing_flag 
+0x00e2 000351 rtnmark1 mark_24g 
+0x00e3 000352 call mouse_devce_led_off 
+0x00e4 000353 arg mosue_24g_pairing_flag ,queue 
+0x00e5 000354 call mouse_enable_function_flag 
+0x00e6 000355 setarg 0 
+0x00e7 000356 store 2 ,mem_mouse_direct_timer 
+0x00e8 000357 store 1 ,mem_mouse_send_blank_timer 
+0x00e9 000358 store 2 ,mem_24g_check_dongle_times 
+0x00ea 000359 call mouse_stop_discovery 
+0x00eb 000360 branch p_g24_start_pairing_sm1 
+:      000362 p_mouse_dpi_config:
+0x00ec 000363 fetch mouse_flag_len ,mem_mouse_flag 
+0x00ed 000364 bbit0 mouse_enable_eeprom ,mouse_dpi_config 
+0x00ee 000365 fetch 1 ,mem_mouse_dpi 
+0x00ef 000366 beq 0xff ,mouse_dpi_config 
+0x00f0 000367 branch mouse_seting_dpi + 2 
+:      000369 p_mouse_spi_init:
+0x00f1 000370 jam 0x76 ,mem_spi_init_clk 
+0x00f2 000371 branch mouse_spi_init 
+:      000373 p_mouse_init_sunt:
+0x00f3 000374 call p_mouse_spi_init 
+0x00f4 000375 call mouse_spi_sdio_gpio_pollup 
+0x00f5 000376 fetch 1 ,mem_config_sensor_type 
+0x00f6 000377 beq p3610 ,mouse_init_3610sensor 
+:      000378 p_mouse_init_sensor:
+0x00f7 000379 call mouse_read_sensor_id 
+0x00f8 000380 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+0x00f9 000381 beq p3065_id1 ,p_mouse_p3065_init_param 
+0x00fa 000382 call mouse_twspi_reset 
+0x00fb 000383 nop 1000 
+0x00fc 000384 branch p_mouse_init_sensor 
+:      000386 p_mouse_init_sensor_reset:
+0x00fd 000387 jam 1 ,mem_mouse_init_sensor_reset_flag 
+0x00fe 000388 call spi_ncs_enable 
+0x00ff 000389 call p_mouse_init_sunt 
+0x0100 000390 branch spi_ncs_disable 
+:      000392 p_mouse_init_p32xx_id2_judge:
+0x0101 000393 call p_mouse_sensor_poweron 
+0x0102 000394 branch mouse_init_p32xx_id2_judge 
+:      000397 p_mouse_p3065_init_param:
+0x0103 000398 call p_mouse_sensor_poweron 
+0x0104 000399 fetch 1 ,mem_sensor_id2 
+0x0105 000400 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
+0x0106 000401 jam p3065 ,mem_config_sensor_type 
+0x0107 000402 rtn 
+:      000404 p_mouse_sensor_poweron:
+0x0108 000405 setarg 0x8006 
+0x0109 000406 call twspi_write 
+0x010a 000407 nop 12000 
+0x010b 000408 branch p_mouse_dpi_config 
+:      000409 p_mouse_sensor_powerdown:
+0x010c 000410 setarg 0x06 
+0x010d 000411 call twspi_read 
+0x010e 000412 or pdata ,0x08 ,pdata 
+0x010f 000413 lshift8 pdata ,pdata 
+0x0110 000414 add pdata ,0x06 ,pdata 
+0x0111 000415 branch twspi_write 
+:      000417 p_mouse_setting_config:
+0x0112 000418 call p_g24_set_device_addr 
+0x0113 000420 hfetch 1 ,core_usb_config 
+0x0114 000421 set0 4 ,pdata 
+0x0115 000422 hstore 1 ,core_usb_config 
+0x0116 000423 call mouse_gpio_init 
+0x0117 000424 call p_mouse_multi_led_init 
+0x0118 000425 call mouse_param_init 
+0x0119 000426 setarg 0 
+0x011a 000427 store 2 ,mem_lpm_interval 
+0x011b 000428 call mouse_adc_init 
+0x011c 000429 call le_set_config_fixed_ltk 
+0x011d 000430 call le_set_justwork 
+0x011e 000431 call le_set_fixed_ltk 
+0x011f 000432 call le_set_config_read_authentication 
+:      000437 p_mouse_init_iic:
+0x0120 000438 call iic_init_390k 
+0x0121 000439 fetch mouse_flag_len ,mem_mouse_flag 
+0x0122 000440 isolate1 mouse_enable_2k_eeprom ,pdata 
+0x0123 000441 ncall clear_eeprom_size_2k ,true 
+0x0124 000442 call mouse_load_eeprom_dpi 
+0x0125 000444 call p_mouse_init_environment 
+0x0126 000445 call p_mouse_set_24g_addr_eeprom 
+0x0127 000446 branch iicd_read_eep_data 
+:      000449 p_mouse_init_environment:
+0x0128 000450 call app_initflag_check 
+0x0129 000451 branch mouse_eeprom_load_recon_info ,zero 
+0x012a 000452 call p_le_addr_random_config 
+0x012b 000453 branch mouse_init_environment + 2 
+:      000455 p_app_flag_store:
+0x012c 000458 arg 2 ,temp 
+0x012d 000461 arg mem_timeup ,rega 
+0x012e 000462 arg mouse_eeprom_module_init_flag ,regb 
+0x012f 000463 branch iicd_write_protect_eep_data 
+:      000465 p_app_initflag_check:
+0x0130 000466 arg 2 ,temp 
+0x0131 000467 arg mem_pdatatemp ,rega 
+0x0132 000468 arg mouse_eeprom_module_init_flag ,regb 
+0x0133 000469 branch app_initflag_check + 4 
+:      000496 p_mouse_wakeup_from_power:
+0x0134 000497 fetch mouse_flag_len ,mem_mouse_flag 
+0x0135 000498 bbit0 mouse_enable_wakeup_from_power ,p_mouse_wakeup_no_from_power 
+0x0136 000499 fetch 1 ,mem_wakup_from_power_flag 
+0x0137 000500 isolate0 gpio_latch ,pdata 
+0x0138 000501 nbranch p_mouse_wakeup_no_from_power ,true 
+0x0139 000502 call p_mouse_init_sunt 
+0x013a 000503 call p_mouse_sensor_powerdown 
+:      000504 p_mouse_wakeup_no_from_power:
+0x013b 000505 fetch 1 ,mem_reconn_times_init 
+0x013c 000506 store 1 ,mem_reconn_times 
+0x013d 000507 fetch 1 ,mem_config_function_enable 
+0x013e 000508 rtnbit1 enable_select_device_by_switch 
+:      000509 p_mouse_start_24g_mode:
+0x013f 000510 fetch mouse_flag_len ,mem_mouse_flag 
+0x0140 000511 rtnbit0 mouse_enable_24g 
+0x0141 000512 call p_g24_factory_check 
+0x0142 000513 branch p_g24_auto_pair_start ,user 
+0x0143 000514 branch p_g24_start_24g_mode 
+:      000516 p_g24_factory_check:
+0x0144 000517 arg 2 ,loopcnt 
+0x0145 000518 arg mem_24g_addr ,contr 
+:      000519 p_pdata_0xff_check:
+0x0146 000520 call enable_user 
+0x0147 000521 setarg 0xffff 
+:      000522 p_pdata_0xff_check_loop:
+0x0148 000523 ifetcht 2 ,contr 
+0x0149 000524 isub temp ,null 
+0x014a 000525 ncall disable_user ,zero 
+0x014b 000526 loop p_pdata_0xff_check_loop 
+0x014c 000527 rtn 
+:      000529 p_mouse_cb_fuction:
+0x014d 000530 setarg p_mouse_g24_package_data 
+0x014e 000531 store 2 ,mem_cb_24g_data 
+0x014f 000532 setarg p_mouse_le 
+0x0150 000533 store 2 ,mem_cb_le_process 
+0x0151 000534 setarg p_le_mouse_bb_event_connect_complete 
+0x0152 000535 store 2 ,mem_cb_att_write 
+0x0153 000536 setarg p_mouse_before_lpm 
+0x0154 000537 store 2 ,mem_cb_before_lpm 
+0x0155 000538 setarg p_mouse_priority_bb_event 
+0x0156 000539 store 2 ,mem_cb_bb_event_process 
+0x0157 000540 setarg p_mouse_idle 
+0x0158 000541 store 2 ,mem_cb_idle_process 
+0x0159 000542 setarg p_mouse_before_hibernate 
+0x015a 000543 store 2 ,mem_cb_before_hibernate 
+0x015b 000544 setarg p_mouse_bb_event_timer 
+0x015c 000545 store 2 ,mem_cb_event_timer 
+0x015d 000546 setarg mouse_spi_write_flash_cb 
+0x015e 000547 store 2 ,mem_cb_spi_flash_write_complate 
+0x015f 000548 rtn 
+:      000550 p_mouse_g24_package_data:
+0x0160 000551 call mouse_g24_package_data 
+0x0161 000552 fetch 2 ,mem_mouse_z 
+0x0162 000553 rtn blank 
+0x0163 000554 branch p_g24_transmit_by_interrupt_enable 
+:      000556 p_mouse_le:
+0x0164 000557 call le_fifo_check_nearly_full 
+0x0165 000558 nrtn blank 
+0x0166 000559 fetch 1 ,mem_le_connect_status_flag 
+0x0167 000560 and pdata ,0x03 ,pdata 
+0x0168 000561 rtnne 0x03 
+0x0169 000562 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0x016a 000563 call p_mouse_clear_sensor_data ,blank 
+0x016b 000564 fetch mouse_flag_len ,mem_mouse_flag 
+0x016c 000567 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+0x016d 000568 call mouse_motion 
+0x016e 000569 nrtn user 
+0x016f 000571 call p_mouse_wheel_trigger 
+0x0170 000572 branch p_mouse_data_push 
+:      000575 p_mouse_wheel_trigger:
+0x0171 000576 fetch 2 ,mem_mouse_z 
+0x0172 000577 rtn blank 
+0x0173 000578 jam 1 ,mem_mouse_wheel_trigger 
+0x0174 000579 jam 2 ,mem_mouse_wheel_trigger_timer 
+0x0175 000580 rtn 
+:      000583 p_mouse_clear_sensor_data:
+0x0176 000584 call le_set_config_more_data 
+0x0177 000585 jam 1 ,mem_mouse_clear_sensor_data_flag 
+0x0178 000586 branch p_mouse_sensor_poweron 
+:      000588 p_mouse_idle:
+0x0179 000590 call ui_check_paring_button 
+0x017a 000591 call p_mouse_dpi_check 
+0x017b 000592 branch mouse_wheel_check 
+:      000594 p_mouse_dpi_check:
+0x017c 000595 fetcht 1 ,mem_dpi_button_gpio 
+0x017d 000596 call p_gpio_set_input_pd 
+0x017e 000597 fetcht 1 ,mem_dpi_button_gpio 
+0x017f 000598 call gpio_get_bit 
+0x0180 000599 branch p_mouse_dpi_up ,true 
+0x0181 000600 call p_gpio_set_input_pu 
+:      000601 p_mouse_dpi_down:
+0x0182 000602 fetch 1 ,mem_mouse_dpi_button_state 
+0x0183 000603 rtneq dpi_button_state_down 
+0x0184 000604 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+0x0185 000605 fetch 1 ,mem_mouse_dpi 
+0x0186 000606 increase 1 ,pdata 
+0x0187 000607 and pdata ,0x03 ,pdata 
+0x0188 000608 store 1 ,mem_mouse_dpi 
+0x0189 000612 branch mouse_dpi_down + 7 
+:      000614 p_mouse_dpi_up:
+0x018a 000615 call p_gpio_set_input_pu 
+0x018b 000616 branch mouse_dpi_up 
+:      000644 p_mouse_priority_bb_event:
+0x018c 000645 copy regc ,pdata 
+0x018d 000646 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+0x018e 000647 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+0x018f 000648 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
+0x0190 000649 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0x0191 000650 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+0x0192 000651 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0x0193 000652 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0x0194 000653 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0x0195 000654 branch mouse_priority_bb_event + 1 
+:      000656 p_mouse_le_bb_event_connected:
+0x0196 000658 call p_mouse_init_sensor_reset 
+0x0197 000659 call p_mouse_data_init 
+0x0198 000661 branch mouse_le_bb_event_connected 
+:      000663 p_mouse_le_bb_disconnected:
+0x0199 000664 call p_mouse_sensor_powerdown_check 
+0x019a 000665 setarg le_interval_8_75ms 
+0x019b 000666 store 2 ,mem_le_interval_min 
+0x019c 000667 store 2 ,mem_le_interval_min + 2 
+0x019d 000668 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0x019e 000669 jam 0 ,mem_mouse_clear_sensor_data_flag 
+0x019f 000670 call p_mouse_data_init 
+0x01a0 000671 call le_clr_config_more_data 
+0x01a1 000672 branch mouse_bb_disconnected 
+:      000674 p_mouse_le_enc_info:
+:      000675 p_app_updata_le_param:
+0x01a2 000676 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+0x01a3 000677 branch ui_ipc_send_cmd 
+:      000679 p_mouse_le_ll_start_encryt:
+0x01a4 000680 fetch 1 ,mem_mouse_le_reconnect_flag 
+0x01a5 000681 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+0x01a6 000682 branch p_mouse_le_ll_enable_start_enc_flag 
+:      000684 p_mouse_le_ll_reconn_start_encryt:
+0x01a7 000685 call p_app_updata_le_param 
+0x01a8 000686 jam 20 ,mem_le_start_encrypt_timer 
+:      000687 p_mouse_le_ll_enable_start_enc_flag:
+0x01a9 000688 arg ll_start_enc_flag ,queue 
+0x01aa 000689 branch mouse_le_enable_connect_flag 
+:      000691 p_mouse_le_conn_param_update_rsp_recieved:
+0x01ab 000692 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x01ac 000693 rtneq ble_signaling_connect_parameter_update_accepted 
+0x01ad 000694 fetch 1 ,mem_le_tsniff 
+0x01ae 000695 rshift2 pdata ,pdata 
+0x01af 000696 sub pdata ,le_interval_15ms ,null 
+0x01b0 000697 rtn positive 
+0x01b1 000698 setarg le_interval_11_25ms 
+0x01b2 000699 store 2 ,mem_le_interval_min 
+0x01b3 000700 store 2 ,mem_le_interval_min + 2 
+0x01b4 000701 call p_app_updata_le_param 
+0x01b5 000702 branch p_mouse_le_conn_param_lpm_disable 
+:      000706 p_mouse_24g_pairing_complete:
+0x01b6 000707 call p_mouse_init_sensor_reset 
+0x01b7 000709 jam 1 ,mem_mouse_24g_enter_lpm_enable 
+0x01b8 000710 arg mosue_24g_pairing_flag ,queue 
+0x01b9 000711 call mouse_disable_function_flag 
+0x01ba 000712 setarg 0 
+0x01bb 000713 store 2 ,mem_24g_pairing_timer_count 
+0x01bc 000714 jam 0 ,mem_mouse_move_flag 
+0x01bd 000716 fetch 1 ,mem_config_sensor_type 
+0x01be 000717 sub pdata ,p3610 ,null 
+0x01bf 000718 call mouse_read_sensor3610_data ,zero 
+0x01c0 000719 ncall mouse_read_sensor_common ,zero 
+0x01c1 000721 fetch 1 ,mem_tx_power_temp 
+0x01c2 000722 store 1 ,mem_tx_power 
+0x01c3 000726 call p_mouse_set_24g_addr_eeprom 
+0x01c4 000727 branch iicd_write_protect_eep_data 
+:      000729 p_mouse_set_24g_addr_eeprom:
+0x01c5 000730 arg mem_24g_addr ,rega 
+0x01c6 000731 arg mouse_g24_addr_eeprom_offect ,regb 
+0x01c7 000732 arg 4 ,temp 
+0x01c8 000733 rtn 
+:      000741 p_mouse_24g_attempt_fail:
+0x01c9 000742 call p_mouse_sensor_powerdown_check 
+0x01ca 000743 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+0x01cb 000744 fetch 1 ,mem_tx_power_temp 
+0x01cc 000745 store 1 ,mem_tx_power 
+0x01cd 000746 call p_g24_check_51cmd_stop_24g 
+0x01ce 000747 fetch 1 ,mem_mouse_mode_config 
+0x01cf 000748 bbit1 mouse_24g_only ,p_mouse_null_enter_hibernate_enable 
+0x01d0 000749 jam 0 ,mem_link_key_exists 
+0x01d1 000750 call mouse_eeprom_load_recon_info 
+0x01d2 000751 arg 3 ,loopcnt 
+0x01d3 000752 arg mem_device1_addr ,contr 
+0x01d4 000753 call p_pdata_0xff_check 
+0x01d5 000754 branch p_mouse_null_enter_hibernate_enable ,user 
+0x01d6 000755 branch p_mouse_check_reconn_target 
+:      000757 p_mouse_null_enter_hibernate_enable:
+0x01d7 000758 jam 1 ,mem_mouse_null_enter_hibernate_flag 
+0x01d8 000759 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+0x01d9 000760 rtn 
+:      000762 p_mouse_24g_attempt_success:
+0x01da 000763 call p_mouse_init_sensor_reset 
+0x01db 000764 branch mouse_no_data_timer_init 
+:      000766 p_mouse_before_hibernate:
+0x01dc 000767 enable user 
+0x01dd 000768 hfetch 4 ,0x8138 
+0x01de 000769 setflag user ,26 ,pdata 
+0x01df 000770 hstore 4 ,core_lpm_reg 
+0x01e0 000771 call lpm_write_ctrl 
+0x01e1 000772 call p_mouse_sensor_powerdown_check 
+0x01e2 000773 call disable_authrom 
+0x01e3 000774 call mouse_devce_led_off 
+0x01e4 000775 call mouse_before_hibernate_wheel_gpio_set 
+0x01e5 000776 branch mouse_lpm_before_common 
+:      000778 p_mouse_sensor_powerdown_check:
+0x01e6 000779 fetch 1 ,mem_mouse_init_sensor_reset_flag 
+0x01e7 000780 rtn blank 
+0x01e8 000781 jam 0 ,mem_mouse_init_sensor_reset_flag 
+0x01e9 000782 branch p_mouse_sensor_powerdown 
+:      000785 p_mouse_bb_event_timer:
+0x01ea 000786 call p_mouse_adc_read 
+0x01eb 000787 call p_mouse_low_voltage_led_timer 
+0x01ec 000788 call p_mouse_send_switch_req_timer 
+0x01ed 000789 call p_mouse_wheel_trigger_timer 
+0x01ee 000791 call p_mouse_multi_led_blink_timer 
+0x01ef 000792 call p_mouse_null_enter_hibernate_timer 
+0x01f0 000793 call p_mouse_bt_discovery_check 
+0x01f1 000794 call mouse_check_hid_handshake_timer 
+0x01f2 000795 call mouse_check_discovery_timeout_timer 
+0x01f3 000796 call mouse_check_direct_timeout_timer 
+0x01f4 000797 call mouse_check_no_data_timeout_timer 
+0x01f5 000798 branch p_mouse_le_enable_att_list_timer 
+:      000800 p_mouse_multi_led_blink_timer:
+0x01f6 000801 fetch 1 ,mem_mouse_multi_led_blink_enable 
+0x01f7 000802 rtn blank 
+:      000820 p_mouse_multi_led_type_blink:
+0x01f8 000821 fetch 1 ,mem_mouse_multi_led_blink_timer 
+0x01f9 000822 increase -1 ,pdata 
+0x01fa 000823 store 1 ,mem_mouse_multi_led_blink_timer 
+0x01fb 000824 nrtn blank 
+0x01fc 000825 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+0x01fd 000826 store 1 ,mem_mouse_multi_led_blink_timer 
+0x01fe 000827 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+0x01ff 000828 branch p_mouse_multi_led_blink_count_no_limited ,blank 
+0x0200 000829 fetch 1 ,mem_mouse_multi_led_blink_count 
+0x0201 000830 branch p_mouse_multi_led_blink_off ,blank 
+0x0202 000831 increase -1 ,pdata 
+0x0203 000832 store 1 ,mem_mouse_multi_led_blink_count 
+:      000833 p_mouse_multi_led_blink_count_no_limited:
+0x0204 000834 fetch 1 ,mem_mouse_multi_led_state 
+0x0205 000835 beq on ,p_mouse_multi_led_off 
+0x0206 000836 beq off ,p_mouse_multi_led_on 
+0x0207 000837 rtn 
+:      000838 p_mouse_multi_led_init:
+0x0208 000839 fetcht 1 ,mem_mouse_multi_led_gpio 
+0x0209 000840 branch gpio_config_output 
+:      000841 p_mouse_multi_led_on:
+0x020a 000842 jam on ,mem_mouse_multi_led_state 
+0x020b 000843 call p_mouse_multi_led_init 
+0x020c 000844 fetcht 1 ,mem_mouse_multi_led_gpio 
+0x020d 000845 branch gpio_out_active 
+:      000847 p_mouse_multi_led_blink_off:
+0x020e 000848 jam 0 ,mem_mouse_multi_led_blink_timer 
+0x020f 000849 jam 0 ,mem_mouse_multi_led_blink_count 
+0x0210 000850 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+:      000851 p_mouse_multi_led_off:
+0x0211 000852 fetch 1 ,mem_mouse_multi_led_blink_count 
+0x0212 000853 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+0x0213 000854 jam 0 ,mem_mouse_multi_led_blink_enable 
+0x0214 000855 jam 0 ,mem_mouse_multi_led_type 
+:      000856 p_mouse_multi_led_off_wait_blink_over:
+0x0215 000857 jam 0 ,mem_mouse_multi_led_on_timer 
+0x0216 000858 jam off ,mem_mouse_multi_led_state 
+:      000859 p_mouse_multi_led_off2:
+0x0217 000860 fetcht 1 ,mem_mouse_multi_led_gpio 
+0x0218 000861 call gpio_out_inactive 
+0x0219 000862 hfetch 1 ,core_gpio_pd0 
+0x021a 000863 set1 5 ,pdata 
+0x021b 000864 hstore 1 ,core_gpio_pd0 
+0x021c 000865 rtn 
+:      000874 p_mouse_discovery_multi_led_blink:
+0x021d 000875 jam 1 ,mem_mouse_multi_led_blink_timer 
+0x021e 000876 jam 5 ,mem_mouse_multi_led_blink_timer_init 
+0x021f 000877 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+0x0220 000878 jam 1 ,mem_mouse_multi_led_blink_count 
+:      000879 p_mouse_multi_led_blink_enable:
+0x0221 000880 jam on ,mem_mouse_multi_led_blink_enable 
+0x0222 000881 jam multi_led_blink ,mem_mouse_multi_led_type 
+0x0223 000882 rtn 
+:      000884 p_mouse_discovey_led_blink_off:
+0x0224 000885 fetch 1 ,mem_mouse_multi_led_on_timer 
+0x0225 000886 nrtn blank 
+0x0226 000887 fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+0x0227 000888 nrtn blank 
+0x0228 000889 branch p_mouse_multi_led_blink_off 
+:      000891 p_mouse_dpi_multi_led_blink:
+0x0229 000892 jam 1 ,mem_mouse_multi_led_blink_timer 
+0x022a 000893 jam 3 ,mem_mouse_multi_led_blink_timer_init 
+0x022b 000894 jam 1 ,mem_mouse_multi_led_blink_count_limited 
+0x022c 000895 branch p_mouse_multi_led_blink_enable 
+:      000898 p_mouse_send_switch_req_timer:
+0x022d 000899 arg mem_mouse_send_switch_req_timer ,regc 
+0x022e 000900 arg host_create_conn_resend ,regb 
+0x022f 000901 branch timer_single_step 
+:      000903 p_mouse_wheel_trigger_timer:
+0x0230 000904 arg mem_mouse_wheel_trigger_timer ,regc 
+0x0231 000905 arg p_mouse_wheel_trigger_disable ,regb 
+0x0232 000906 branch timer_single_step 
+:      000907 p_mouse_wheel_trigger_disable:
+0x0233 000908 jam 0 ,mem_mouse_wheel_trigger 
+0x0234 000909 rtn 
+:      000911 p_mouse_le_enable_att_list_timer:
+0x0235 000912 arg mem_le_start_encrypt_timer ,regc 
+0x0236 000913 arg mouse_le_write_enable ,regb 
+0x0237 000914 branch timer_single_step 
+:      000916 p_mouse_bt_discovery_check:
+0x0238 000917 fetch 1 ,mem_config_function_enable 
+0x0239 000918 bbit1 enable_bt_button ,mouse_bt_discovery_by_button 
+:      000919 p_mouse_bt_discovery_commbination_key:
+0x023a 000920 call p_mouse_check_key_gpio 
+0x023b 000921 beq mouse_lmr_button ,p_mouse_bt_discovery_commbination_key_down 
+:      000922 p_mouse_bt_discovery_commbination_key_up:
+0x023c 000923 fetch 1 ,mem_ui_button_timeout 
+0x023d 000924 store 1 ,mem_combination_ui_button_count 
+0x023e 000925 fetch 1 ,mem_bt_discovey_button_statue 
+0x023f 000926 rtneq dpi_button_state_up 
+0x0240 000927 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
+0x0241 000928 arg mouse_bt_discovery_button_long_down_flag ,queue 
+0x0242 000929 call mouse_disable_function_flag 
+0x0243 000930 branch mouse_bt_discovery_button_down_disable 
+:      000931 p_mouse_bt_discovery_commbination_key_down:
+0x0244 000932 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+0x0245 000933 call p_mouse_bt_discovery_timer 
+0x0246 000934 branch mouse_bt_discovery_commbination_key_down + 1 
+:      000936 p_mouse_bt_discovery_timer:
+0x0247 000937 arg mem_combination_ui_button_count ,regc 
+0x0248 000938 arg p_mouse_long_button_bt_discovery ,regb 
+0x0249 000939 branch timer_single_step 
+:      000941 p_mouse_long_button_bt_discovery:
+0x024a 000942 call p_mouse_sensor_powerdown_check 
+0x024b 000943 fetch 2 ,mem_ui_state_map 
+0x024c 000944 isolate1 ui_state_ble_adv ,pdata 
+0x024d 000945 call mouse_stop_le_adv ,true 
+0x024e 000946 fetch 2 ,mem_ui_state_map 
+0x024f 000947 isolate1 ui_state_bt_reconnect ,pdata 
+0x0250 000948 call mouse_cancel_reconnect ,true 
+0x0251 000949 arg mouse_bt_discovery_button_long_down_flag ,queue 
+0x0252 000950 call mouse_enable_function_flag 
+0x0253 000951 branch mouse_long_button_bt_discovry 
+:      000953 p_mouse_null_enter_hibernate_timer:
+0x0254 000954 fetch 1 ,mem_mouse_null_enter_hibernate_flag 
+0x0255 000955 rtn blank 
+0x0256 000956 fetch 1 ,mem_mouse_null_enter_hibernate_timer 
+0x0257 000957 branch p_mouse_null_enter_hibernate ,blank 
+0x0258 000958 increase -1 ,pdata 
+0x0259 000959 store 1 ,mem_mouse_null_enter_hibernate_timer 
+0x025a 000960 rtn 
+:      000961 p_mouse_null_enter_hibernate:
+0x025b 000962 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+0x025c 000963 branch app_enter_hibernate 
+:      000966 p_mouse_adc_read:
+0x025d 000967 fetch mouse_flag_len ,mem_mouse_flag 
+0x025e 000968 rtnbit0 mouse_enable_adc 
+0x025f 000970 fetch 1 ,mem_mouse_multi_led_blink_count 
+0x0260 000971 nrtn blank 
+0x0261 000972 fetch 1 ,mem_mouse_multi_led_on_timer 
+0x0262 000973 nrtn blank 
+0x0263 000975 fetch 1 ,mem_adc_read_timer 
+0x0264 000976 increase 1 ,pdata 
+0x0265 000977 store 1 ,mem_adc_read_timer 
+0x0266 000978 sub pdata ,10 ,null 
+0x0267 000979 rtn positive 
+0x0268 000980 jam 0 ,mem_adc_read_timer 
+0x0269 000981 call p_adc_set_mode 
+0x026a 000982 call vdd_calculate_by_mode 
+0x026b 000983 store 2 ,mem_mouse_vdd_now_vol 
+0x026c 000984 arg mem_mouse_vdd_calculate_set ,rega 
+0x026d 000985 call p_adc_bat_percent_lowpower_out 
+0x026e 000986 fetch 1 ,mem_adc_power_flag 
+0x026f 000987 bbit1 1 ,app_enter_hibernate 
+0x0270 000988 bbit0 0 ,p_mouse_adc_no_low_voltage 
+0x0271 000989 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0x0272 000990 branch mouse_adc_low_voltage 
+:      000991 p_mouse_adc_no_low_voltage:
+0x0273 000992 call mouse_adc_no_low_voltage 
+0x0274 000993 fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0x0275 000994 rtn blank 
+0x0276 000995 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0x0277 000998 branch p_mouse_multi_led_off 
+:      001000 p_adc_set_mode:
+0x0278 001001 fetch 1 ,mem_adc_config_flag 
+0x0279 001002 beq adc_config_gpio ,p_adc_check_gpio 
+0x027a 001003 branch adc_set_mode + 1 
+:      001004 p_adc_check_gpio:
+0x027b 001005 fetcht 1 ,mem_mouse_multi_led_gpio 
+0x027c 001006 call gpio_config_input 
+0x027d 001007 hfetch 1 ,core_gpio_pd0 
+0x027e 001008 set0 5 ,pdata 
+0x027f 001009 hstore 1 ,core_gpio_pd0 
+0x0280 001011 hfetch 1 ,core_gpio_pu0 
+0x0281 001012 set0 5 ,pdata 
+0x0282 001013 hstore 1 ,core_gpio_pu0 
+0x0283 001014 call adc_check_gpio 
+0x0284 001018 rtn 
+:      001020 p_adc_bat_percent_lowpower_out:
+0x0285 001021 ifetch 8 ,rega 
+0x0286 001022 store 8 ,mem_pdatatemp 
+0x0287 001023 fetcht 2 ,mem_pdatatemp + 2 
+0x0288 001024 fetch 2 ,mem_pdatatemp + 6 
+0x0289 001025 mul32 pdata ,7 ,pdata 
+0x028a 001026 div pdata ,4 
+0x028b 001027 call wait_div_end 
+0x028c 001028 quotient pdata 
+0x028d 001029 pincrease -10 
+0x028e 001030 isub temp ,null 
+0x028f 001031 nbranch adc_set_no_power_flag ,positive 
+0x0290 001032 fetcht 2 ,mem_pdatatemp + 4 
+0x0291 001033 isub temp ,null 
+0x0292 001034 nbranch adc_set_low_power_flag ,positive 
+:      001035 p_adc_clear_low_power_flag:
+0x0293 001036 fetch 1 ,mem_adc_power_flag 
+0x0294 001037 set0 0 ,pdata 
+0x0295 001038 store 1 ,mem_adc_power_flag 
+0x0296 001039 rtn 
+:      001041 p_mouse_low_voltage_led_timer:
+0x0297 001042 fetch mouse_flag_len ,mem_mouse_flag 
+0x0298 001043 rtnbit0 mouse_low_voltage_flag 
+0x0299 001045 fetch 1 ,mem_mouse_multi_led_blink_count 
+0x029a 001046 nrtn blank 
+0x029b 001047 fetch 1 ,mem_mouse_multi_led_on_timer 
+0x029c 001048 nrtn blank 
+0x029d 001052 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0x029e 001053 pincrease 1 
+0x029f 001054 store 1 ,mem_adc_low_volatage_led_timer_count 
+0x02a0 001055 sub pdata ,20 ,null 
+0x02a1 001056 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+0x02a2 001057 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0x02a3 001058 sub pdata ,10 ,null 
+0x02a4 001059 branch p_mouse_multi_led_on ,positive 
+0x02a5 001060 branch p_mouse_multi_led_off 
+:      001061 p_mouse_adc_low_volatage_led_timer_count_clean:
+0x02a6 001062 jam 1 ,mem_adc_low_volatage_led_timer_count 
+0x02a7 001063 rtn 
+:      001065 p_mouse_motion:
+0x02a8 001066 disable user 
+0x02a9 001067 setarg 0 
+0x02aa 001068 store 6 ,mem_mouse_x 
+0x02ab 001069 call mouse_cheak_sensor_data 
+0x02ac 001070 call mouse_zwheel 
+0x02ad 001071 call mouse_t_zwheel 
+0x02ae 001072 call p_mouse_key 
+0x02af 001073 branch mouse_motion + 8 
+:      001075 p_mouse_key:
+0x02b0 001076 call p_mouse_check_key_gpio 
+0x02b1 001077 branch mouse_key + 1 
+:      001078 p_mouse_check_key_gpio:
+0x02b2 001079 arg 0 ,rega 
+0x02b3 001080 call p_mouse_check_lkey_gpio 
+0x02b4 001081 call p_mouse_check_rkey_gpio 
+0x02b5 001082 call p_mouse_check_mkey_gpio 
+0x02b6 001083 call p_mouse_check_skey_gpio 
+0x02b7 001084 copy rega ,pdata 
+0x02b8 001085 rtn 
+:      001086 p_mouse_check_skey_gpio:
+0x02b9 001087 fetch 1 ,mem_bk_button_gpio 
+0x02ba 001088 rtneq gpio_disable 
+0x02bb 001089 call p_mouse_check_bk_key_gpio 
+0x02bc 001090 branch p_mouse_check_fw_key_gpio 
+:      001092 p_mouse_check_lkey_gpio:
+0x02bd 001093 fetcht 1 ,mem_lbutton_gpio 
+0x02be 001094 call p_gpio_set_input_pu 
+0x02bf 001095 fetcht 1 ,mem_lbutton_gpio 
+0x02c0 001096 call gpio_get_bit 
+0x02c1 001097 setflag true ,0 ,rega 
+0x02c2 001098 rtn 
+:      001099 p_mouse_check_rkey_gpio:
+0x02c3 001100 fetcht 1 ,mem_rbutton_gpio 
+0x02c4 001101 call p_gpio_set_input_pu 
+0x02c5 001102 fetcht 1 ,mem_rbutton_gpio 
+0x02c6 001103 call gpio_get_bit 
+0x02c7 001104 setflag true ,1 ,rega 
+0x02c8 001105 rtn 
+:      001106 p_mouse_check_mkey_gpio:
+0x02c9 001107 fetcht 1 ,mem_mbutton_gpio 
+0x02ca 001108 call p_gpio_set_input_pu 
+0x02cb 001109 fetcht 1 ,mem_mbutton_gpio 
+0x02cc 001110 call gpio_get_bit 
+0x02cd 001111 setflag true ,2 ,rega 
+0x02ce 001112 rtn 
+:      001113 p_mouse_check_bk_key_gpio:
+0x02cf 001114 fetcht 1 ,mem_bk_button_gpio 
+0x02d0 001115 call p_gpio_set_input_pd 
+0x02d1 001116 fetcht 1 ,mem_bk_button_gpio 
+0x02d2 001117 call gpio_get_bit 
+0x02d3 001118 nsetflag true ,3 ,rega 
+0x02d4 001119 branch p_gpio_set_input_pu 
+:      001120 p_mouse_check_fw_key_gpio:
+0x02d5 001121 fetcht 1 ,mem_fw_button_gpio 
+0x02d6 001122 call p_gpio_set_input_pd 
+0x02d7 001123 fetcht 1 ,mem_fw_button_gpio 
+0x02d8 001124 call gpio_get_bit 
+0x02d9 001125 nsetflag true ,4 ,rega 
+0x02da 001126 branch p_gpio_set_input_pu 
+:      001127 p_gpio_set_input_pd:
+0x02db 001128 set0 gpio_active_bit ,temp 
+0x02dc 001129 arg core_gpio_pu0 ,contw 
+0x02dd 001130 call gpio_set_bit 
+0x02de 001131 set1 gpio_active_bit ,temp 
+0x02df 001132 arg core_gpio_pd0 ,contw 
+0x02e0 001133 call gpio_set_bit 
+0x02e1 001134 set0 gpio_active_bit ,temp 
+0x02e2 001135 arg core_gpio_oe0 ,contw 
+0x02e3 001136 branch gpio_set_bit 
+:      001138 p_gpio_set_input_pu:
+0x02e4 001139 set1 gpio_active_bit ,temp 
+0x02e5 001140 arg core_gpio_pu0 ,contw 
+0x02e6 001141 call gpio_set_bit 
+0x02e7 001142 set0 gpio_active_bit ,temp 
+0x02e8 001143 branch p_gpio_set_input_pd + 4 
+:      001164 p_mouse_seting_dpi:
+0x02e9 001165 call p_mosue_dpi_led_blink_init 
+0x02ea 001166 fetch 1 ,mem_config_sensor_type 
+0x02eb 001167 beq p3610 ,mouse_seting_3610_dpi 
+0x02ec 001168 beq p3212 ,mouse_seting_3212_dpi 
+0x02ed 001169 beq p3065_xy ,p_mouse_seting_3065xy_dpi 
+0x02ee 001170 beq p3204 ,p_mouse_seting_3065xy_dpi 
+:      001171 p_mouse_seting_3205_dpi:
+0x02ef 001172 fetch 1 ,mem_mouse_dpi 
+0x02f0 001173 sub pdata ,mouse_dpi_level2 ,null 
+0x02f1 001174 call p_mouse_3205_dpi_recount ,zero 
+0x02f2 001175 fetch 1 ,mem_mouse_dpi 
+0x02f3 001176 beq mouse_dpi_level1 ,p_mouse_set_cpi1 
+0x02f4 001177 beq mouse_dpi_level2 ,mouse_set_cpi2 
+0x02f5 001178 beq mouse_dpi_level3 ,p_mouse_set_cpi3 
+0x02f6 001179 beq mouse_dpi_level4 ,p_mouse_set_cpi4 
+0x02f7 001180 branch p_mouse_set_cpi3 
+:      001181 p_mouse_3205_dpi_recount:
+0x02f8 001182 jam mouse_dpi_level3 ,mem_mouse_dpi 
+0x02f9 001183 rtn 
+:      001185 p_mouse_set_cpi1:
+0x02fa 001186 jam 1 ,mem_mouse_dpi_blink_count 
+0x02fb 001187 branch mouse_set_cpi1 
+:      001188 p_mouse_set_cpi3:
+0x02fc 001189 jam 2 ,mem_mouse_dpi_blink_count 
+0x02fd 001190 branch mouse_set_cpi3 
+:      001191 p_mouse_set_cpi4:
+0x02fe 001192 jam 3 ,mem_mouse_dpi_blink_count 
+0x02ff 001193 branch mouse_set_cpi4 
+:      001195 p_mouse_seting_3065xy_dpi:
+0x0300 001196 fetch 1 ,mem_mouse_dpi 
+0x0301 001197 sub pdata ,mouse_dpi_level2 ,null 
+0x0302 001198 call p_mouse_3065xy_dpi_recount ,zero 
+0x0303 001199 fetch 1 ,mem_mouse_dpi 
+0x0304 001200 beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
+0x0305 001201 beq mouse_dpi_level2 ,p_mouse_3065xy_set_cpi2 
+0x0306 001202 beq mouse_dpi_level3 ,p_mouse_3065xy_set_cpi3 
+0x0307 001203 beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
+0x0308 001204 branch p_mouse_3065xy_set_cpi3 
+:      001205 p_mouse_3065xy_dpi_recount:
+0x0309 001206 jam mouse_dpi_level3 ,mem_mouse_dpi 
+0x030a 001207 rtn 
+:      001208 p_mouse_3065xy_set_cpi1:
+0x030b 001209 jam 1 ,mem_mouse_dpi_blink_count 
+0x030c 001210 fetch 1 ,mem_320x_dpi_1 
+0x030d 001211 increase -1 ,pdata 
+0x030e 001212 branch mouse_p3205_dpi 
+:      001213 p_mouse_3065xy_set_cpi2:
+0x030f 001214 fetch 1 ,mem_320x_dpi_2 
+0x0310 001215 increase -1 ,pdata 
+0x0311 001216 branch mouse_p3205_dpi 
+:      001217 p_mouse_3065xy_set_cpi3:
+0x0312 001218 jam 2 ,mem_mouse_dpi_blink_count 
+0x0313 001219 fetch 1 ,mem_320x_dpi_3 
+0x0314 001220 increase -1 ,pdata 
+0x0315 001221 branch mouse_p3205_dpi 
+:      001222 p_mouse_3065xy_set_cpi4:
+0x0316 001223 jam 3 ,mem_mouse_dpi_blink_count 
+0x0317 001224 fetch 1 ,mem_320x_dpi_4 
+0x0318 001225 increase -1 ,pdata 
+0x0319 001226 branch mouse_p3205_dpi 
+:      001228 p_mouse_seting_3212_dpi:
+0x031a 001229 fetch 1 ,mem_mouse_dpi 
+0x031b 001230 sub pdata ,mouse_dpi_level2 ,null 
+0x031c 001231 call p_mouse_3205_dpi_recount ,zero 
+0x031d 001232 fetch 1 ,mem_mouse_dpi 
+0x031e 001233 beq mouse_dpi_level1 ,mouse_set_p3212_cpi1 
+0x031f 001234 beq mouse_dpi_level2 ,mouse_set_p3212_cpi2 
+0x0320 001235 beq mouse_dpi_level3 ,mouse_set_p3212_cpi3 
+0x0321 001236 beq mouse_dpi_level4 ,mouse_set_p3212_cpi4 
+0x0322 001237 branch mouse_set_p3212_cpi3 
+:      001239 p_mouse_set_p3212_cpi1:
+0x0323 001240 jam 1 ,mem_mouse_dpi_blink_count 
+0x0324 001241 branch mouse_set_p3212_cpi1 
+:      001242 p_mouse_set_p3212_cpi3:
+0x0325 001243 jam 2 ,mem_mouse_dpi_blink_count 
+0x0326 001244 branch mouse_set_p3212_cpi3 
+:      001245 p_mouse_set_p3212_cpi4:
+0x0327 001246 jam 3 ,mem_mouse_dpi_blink_count 
+0x0328 001247 branch mouse_set_p3212_cpi4 
+:      001248 p_mosue_dpi_led_blink_init:
+0x0329 001249 fetch mouse_flag_len ,mem_mouse_flag 
+0x032a 001250 rtnbit0 mouse_enable_dpi_led_blink 
+0x032b 001251 jam 10 ,mem_mouse_dpi_led_delay_count 
+0x032c 001252 fetch 1 ,mem_dpi_led_gpio 
+0x032d 001253 store 1 ,mem_mouse_struct_led_gpio 
+0x032e 001254 rtn 
+:      001256 p_mouse_bb_event_discovery_btn:
+0x032f 001257 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+0x0330 001258 jam 0 ,mem_mouse_null_enter_hibernate_timer 
+0x0331 001259 bmark1 mark_24g ,p_mouse_switch_to_bt 
+0x0332 001260 branch mouse_bb_event_discovery_btn + 1 
+:      001261 p_mouse_switch_to_bt:
+0x0333 001262 call p_g24_check_51cmd_stop_24g 
+0x0334 001263 branch mouse_bb_event_discovery_btn + 1 
+:      001266 p_le_addr_random_config:
+0x0335 001267 call load_adc_init 
+0x0336 001268 fetch 2 ,mem_0_5_adc_io_data 
+0x0337 001269 branch p_le_otp_adc_empty ,blank 
+0x0338 001270 store 2 ,mem_random_addr_increase_count 
+:      001271 p_le_addr_random_store:
+0x0339 001272 branch p_mouse_store_eerpom_random_addr_increase_count 
+:      001274 p_le_otp_adc_empty:
+0x033a 001275 setarg 0x1122 
+0x033b 001276 store 2 ,mem_random_addr_increase_count 
+0x033c 001277 branch p_le_addr_random_store 
+:      001279 p_mouse_start_discovery:
+0x033d 001280 fetch 1 ,mem_tx_power_temp 
+0x033e 001281 store 1 ,mem_tx_power 
+0x033f 001282 jam 0 ,mem_mouse_clear_sensor_data_flag 
+0x0340 001283 fetch 2 ,mem_ui_state_map 
+0x0341 001284 bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
+0x0342 001285 fetch mouse_flag_len ,mem_mouse_flag 
+0x0343 001286 bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
+0x0344 001288 call p_mouse_load_eeprom_random_addr_increase_count 
+0x0345 001289 fetcht 2 ,mem_random_addr_increase_count 
+0x0346 001290 increase 1 ,temp 
+0x0347 001291 storet 2 ,mem_random_addr_increase_count 
+0x0348 001292 storet 2 ,mem_le_lap + 1 
+0x0349 001293 call p_mouse_store_eerpom_random_addr_increase_count 
+0x034a 001294 random pdata 
+0x034b 001295 store 1 ,mem_le_lap 
+:      001297 p_mouse_start_discovery_norandom:
+0x034c 001298 call app_lpm_mult_disable 
+0x034d 001299 fetch 2 ,mem_discovery_timeout 
+0x034e 001300 store 2 ,mem_mouse_discovery_timer 
+0x034f 001301 jam 6 ,mem_connection_options 
+0x0350 001302 setarg 0 
+0x0351 001303 store 2 ,mem_mouse_no_data_timer 
+0x0352 001304 store 2 ,mem_mouse_direct_timer 
+0x0353 001305 arg mouse_store_eeprom_flag ,queue 
+0x0354 001306 call mouse_enable_function_flag 
+0x0355 001307 call mouse_bt_discovery_button_down_disable 
+0x0356 001308 fetch 1 ,mem_device_option 
+0x0357 001309 isolate1 mode_4_mouse ,pdata 
+0x0358 001310 call p_check_51cmd_adv ,true 
+0x0359 001311 call mouse_start_discovery_norandom + 13 
+0x035a 001312 branch p_mouse_discovery_multi_led_blink 
+:      001314 p_mouse_store_eerpom_random_addr_increase_count:
+0x035b 001315 arg 2 ,temp 
+0x035c 001316 arg mem_random_addr_increase_count ,rega 
+0x035d 001317 arg mouse_random_addr_count_eeprom_offset ,regb 
+0x035e 001318 branch iicd_write_protect_eep_data 
+:      001320 p_mouse_load_eeprom_random_addr_increase_count:
+0x035f 001321 arg 2 ,temp 
+0x0360 001322 arg mem_random_addr_increase_count ,rega 
+0x0361 001323 arg mouse_random_addr_count_eeprom_offset ,regb 
+0x0362 001324 branch iicd_read_eep_data 
+:      001326 p_check_51cmd_adv:
+0x0363 001327 jam 0 ,mem_mouse_le_reconnect_flag 
+0x0364 001328 call p_le_check_adv_flag 
+0x0365 001329 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
+0x0366 001330 istore 1 ,contr 
+0x0367 001331 branch check_51cmd_adv 
+:      001333 p_mouse_stop_discovery:
+0x0368 001334 call p_mouse_discovey_led_blink_off 
+0x0369 001335 setarg 0 
+0x036a 001336 store 2 ,mem_mouse_discovery_timer 
+0x036b 001337 call p_mouse_sensor_poweron 
+0x036c 001338 branch mouse_stop_discovery + 1 
+:      001340 p_le_slave_match:
+0x036d 001341 fetch 1 ,mem_le_md_count 
+0x036e 001342 pincrease 1 
+0x036f 001343 store 1 ,mem_le_md_count 
+0x0370 001344 beq le_md_max_count ,le_slave_cont 
+0x0371 001345 call le_acknowledge 
+0x0372 001346 call le_prepare_tx 
+0x0373 001347 call power_ctrl_start 
+0x0374 001348 branch le_slave_match + 7 
+:      001350 p_le_next_adv_channel:
+0x0375 001351 fetch 1 ,mem_le_ch_mapped 
+0x0376 001352 increase 1 ,pdata 
+0x0377 001353 store 1 ,mem_le_ch_mapped 
+0x0378 001354 rtnne 40 
+0x0379 001355 jam 37 ,mem_le_ch_mapped 
+0x037a 001356 rtn 
+:      001358 p_le_receive_skip:
+0x037b 001359 call save_rssi 
+0x037c 001360 call p_rssi_signal 
+0x037d 001361 branch le_receive_skip + 2 
+:      001363 p_le_update_param:
+0x037e 001364 call p_mouse_le_conn_param_check 
+0x037f 001365 branch le_update_param + 8 
+:      001366 p_mouse_le_lpm_mult_reinit:
+0x0380 001367 fetch 1 ,mem_lpm_mult_init 
+0x0381 001368 store 1 ,mem_lpm_mult 
+:      001369 p_mouse_le_conn_param_lpm_enable:
+0x0382 001370 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0x0383 001371 rtn 
+:      001372 p_mouse_le_conn_param_lpm_disable:
+0x0384 001373 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
+0x0385 001374 rtn 
+:      001375 p_mouse_le_conn_param_check:
+0x0386 001376 fetch 1 ,mem_le_new_conninterval 
+0x0387 001377 sub pdata ,le_interval_15ms ,null 
+0x0388 001378 nbranch p_mouse_le_conn_param_lpm_disable ,positive 
+0x0389 001379 fetch 1 ,mem_le_new_connslavelatency 
+0x038a 001380 fetcht 1 ,mem_lpm_mult_init 
+0x038b 001381 isub temp ,null 
+0x038c 001382 branch p_mouse_le_lpm_mult_reinit ,positive 
+0x038d 001383 fetch 1 ,mem_le_new_connslavelatency 
+0x038e 001384 store 1 ,mem_lpm_mult 
+0x038f 001385 branch p_mouse_le_conn_param_lpm_enable 
+:      001387 p_le_prepare_tx:
+0x0390 001388 fetch 1 ,mem_le_arq 
+0x0391 001389 bbit1 wak ,p_le_prepare_tx_wak 
+0x0392 001390 call power_ctrl_pac_succ_incrs 
+0x0393 001391 fetch 1 ,mem_empty_count 
+0x0394 001392 nbranch p_le_send_empyt ,blank 
+0x0395 001393 fetch 1 ,mem_le_state 
+0x0396 001394 bbit0 lestate_encryption ,p_le_tx_4 
+0x0397 001395 fetch 1 ,mem_le_rxbuf + 1 
+0x0398 001396 branch p_le_tx_4 ,blank 
+0x0399 001397 branch le_send_empty 
+:      001398 p_le_send_empyt:
+0x039a 001399 fetch 1 ,mem_empty_count 
+0x039b 001400 increase -1 ,pdata 
+0x039c 001401 store 1 ,mem_empty_count 
+0x039d 001402 branch le_send_empty 
+:      001403 p_le_tx_4:
+0x039e 001404 fetch 1 ,mem_le_pairing_state 
+0x039f 001405 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+0x03a0 001406 jam 3 ,mem_empty_count 
+:      001407 p_in_le_tx_4:
+0x03a1 001408 call le_fifo_check_nearly_full 
+0x03a2 001409 call p_mouse_data_pull ,blank 
+0x03a3 001410 branch le_prepare_tx + 4 
+:      001412 p_le_prepare_tx_wak:
+0x03a4 001413 call p_le_check_tx_retransmit_setmd 
+0x03a5 001414 branch p_le_power_ctrl_pac_succ_decrs 
+:      001416 p_le_check_tx_retransmit_setmd:
+0x03a6 001417 fetch 1 ,mem_le_connect_status_flag 
+0x03a7 001418 and pdata ,0x03 ,pdata 
+0x03a8 001419 rtnne 0x03 
+0x03a9 001420 fetch 1 ,mem_mouse_data_queue_num 
+0x03aa 001421 rtn blank 
+0x03ab 001422 fetch 1 ,mem_le_txlen 
+0x03ac 001423 rtn blank 
+0x03ad 001424 fetch 1 ,mem_le_txheader 
+0x03ae 001425 set1 md ,pdata 
+0x03af 001426 store 1 ,mem_le_txheader 
+0x03b0 001427 call le_set_md 
+0x03b1 001428 rtn 
+:      001432 p_le_power_ctrl_pac_succ_decrs:
+0x03b2 001433 branch power_ctrl_pac_succ_decrs 
+:      001435 p_mouse_le_reconn_write_enable_timer_reinit:
+0x03b3 001436 fetch 1 ,mem_mouse_le_reconnect_flag 
+0x03b4 001437 rtn blank 
+0x03b5 001438 fetch 1 ,mem_le_connect_status_flag 
+0x03b6 001439 and pdata ,0x03 ,pdata 
+0x03b7 001440 rtneq 0x03 
+0x03b8 001441 jam 10 ,mem_le_start_encrypt_timer 
+0x03b9 001442 rtn 
+:      001444 p_le_parse_l2cap:
+0x03ba 001445 ifetch 2 ,contr 
+0x03bb 001446 beq le_l2cap_cid_att ,p_le_parse_att 
+0x03bc 001447 beq le_l2cap_cid_smp ,p_le_parse_smp 
+0x03bd 001448 branch le_parse_l2cap + 11 
+:      001449 p_le_parse_att:
+0x03be 001450 call store_contr 
+0x03bf 001451 call p_mouse_le_reconn_write_enable_timer_reinit 
+0x03c0 001452 call get_contr 
+0x03c1 001453 ifetch 3 ,contr 
+0x03c2 001454 store 3 ,mem_le_att_opcode 
+0x03c3 001455 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+0x03c4 001456 rshift8 pdata ,temp 
+0x03c5 001457 sub temp ,0x24 ,null 
+0x03c6 001458 branch le_parse_att + 2 ,positive 
+0x03c7 001459 arg mem_mouse_le_uuid_sup ,temp 
+0x03c8 001460 storet 2 ,mem_ui_le_uuid_table 
+0x03c9 001461 call le_parse_att + 2 
+0x03ca 001462 setarg 0x8e7a 
+0x03cb 001463 store 2 ,mem_ui_le_uuid_table 
+0x03cc 001464 rtn 
+:      001466 p_le_parse_att_read_by_group_type_request:
+0x03cd 001467 call le_parse_att_read_by_group_type_request 
+0x03ce 001468 call le_fifo_get_last_tx_ptr 
+0x03cf 001469 increase 7 ,contr 
+0x03d0 001470 ifetch 1 ,contr 
+0x03d1 001471 rtnne attop_read_by_group_type_response 
+0x03d2 001472 increase 5 ,contr 
+0x03d3 001473 ifetch 2 ,contr 
+0x03d4 001474 arg uuid_service_hids ,temp 
+0x03d5 001475 isub temp ,null 
+0x03d6 001476 nrtn zero 
+0x03d7 001477 increase -4 ,contr 
+0x03d8 001478 setarg 0x2b 
+0x03d9 001479 istore 2 ,contr 
+0x03da 001480 rtn 
+:      001482 p_le_parse_smp:
+0x03db 001483 ifetch 1 ,contr 
+0x03dc 001484 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+0x03dd 001485 branch le_parse_smp + 1 
+:      001486 p_le_parse_smp_pairing_failed:
+0x03de 001487 call le_parse_smp_pairing_failed 
+0x03df 001488 fetch 1 ,mem_le_state 
+0x03e0 001489 set0 lestate_update_param ,pdata 
+0x03e1 001490 store 1 ,mem_le_state 
+0x03e2 001491 branch le_parse_terminate_ind 
+:      001493 p_le_adv_not_match:
+0x03e3 001494 fetch 1 ,mem_le_ch_mapped 
+0x03e4 001495 bne 39 ,le_adv_loop 
+0x03e5 001496 call p_le_adv_random_delay 
+0x03e6 001497 arg le_adv_interval_timer ,queue 
+0x03e7 001498 fetch 2 ,mem_le_adv_interval 
+0x03e8 001499 branch timer_init 
+:      001500 p_le_adv_random_delay:
+0x03e9 001501 random pdata 
+0x03ea 001502 arg 0x1ff ,temp 
+0x03eb 001503 iand temp ,pdata 
+0x03ec 001504 add pdata ,250 ,pdata 
+0x03ed 001505 branch delay 
+:      001507 p_le_lpm_setmult:
+0x03ee 001508 disable wake 
+0x03ef 001509 branch p_le_lpm_set_mult_attempt ,attempt 
+0x03f0 001510 nbranch le_lpm_lost ,match 
+:      001511 p_le_lpm_set_mult_attempt:
+0x03f1 001512 call lpm_match 
+0x03f2 001513 fetch 2 ,mem_rx_window_sniff 
+0x03f3 001514 store 2 ,mem_le_receive_window 
+0x03f4 001515 fetch 1 ,mem_le_connect_status_flag 
+0x03f5 001516 compare 3 ,pdata ,3 
+0x03f6 001517 nbranch lpm_mult_short ,true 
+0x03f7 001518 branch le_lpm_set_mult_attempt + 3 
+:      001520 p_le_mouse_bb_event_connect_complete:
+0x03f8 001521 fetch 1 ,mem_mouse_le_reconnect_flag 
+0x03f9 001522 nrtn blank 
+0x03fa 001523 fetch 1 ,mem_le_att_handle 
+0x03fb 001524 sub pdata ,26 ,pdata 
+0x03fc 001525 nrtn zero 
+0x03fd 001526 branch mouse_le_write_enable 
+:      001528 p_twspi_reset:
+0x03fe 001529 hfetch 1 ,core_gpio_out3 
+0x03ff 001530 and_into 0xfd ,pdata 
+0x0400 001531 hstore 1 ,core_gpio_out3 
+0x0401 001532 hfetcht 1 ,core_gpio_oe3 
+0x0402 001533 or_into 0x2 ,temp 
+0x0403 001534 hstoret 1 ,core_gpio_oe3 
+0x0404 001535 call twspi_disable 
+0x0405 001536 and_into 0xfd ,temp 
+0x0406 001537 nop 13 
+0x0407 001538 call twspi_enable 
+0x0408 001539 hstoret 1 ,core_gpio_oe3 
+0x0409 001540 rtn 
+:      001546 p_g24_set_device_addr:
+0x040a 001547 call adc_init_data 
+0x040b 001551 fetch 4 ,mem_lap 
+0x040c 001552 store 4 ,mem_24g_device_addr 
+0x040d 001553 rtn 
+:      001556 p_g24_transmit_rf_sta_init:
+0x040e 001557 jam 1 ,mem_24g_rf_last_sta 
+0x040f 001558 jam 0 ,mem_24g_sync_cnt 
+:      001559 p_g24_transmit_rf_ctrl_clear:
+0x0410 001560 fetch 1 ,mem_24g_data_type 
+0x0411 001561 and_into bits_data ,pdata 
+0x0412 001562 store 1 ,mem_24g_data_type 
+0x0413 001563 rtn 
+:      001565 p_g24_hop_ch_enable:
+0x0414 001566 fetch 1 ,mem_24g_data_type 
+0x0415 001567 set1 bit_hop ,pdata 
+0x0416 001568 store 1 ,mem_24g_data_type 
+0x0417 001570 store 1 ,mem_24g_txpayload 
+0x0418 001571 rtn 
+:      001572 p_g24_hop_ch_disable:
+0x0419 001573 fetch 1 ,mem_24g_data_type 
+0x041a 001574 set0 bit_hop ,pdata 
+0x041b 001575 store 1 ,mem_24g_data_type 
+0x041c 001576 rtn 
+:      001578 p_g24_transmit_hop_pac_fail:
+0x041d 001579 call power_ctrl_pac_succ_decrs 
+0x041e 001580 fetch 1 ,mem_24g_rf_work_stage 
+0x041f 001581 beq 1 ,p_g24_transmit_hop_pac_fail_wo_hop 
+0x0420 001582 beq 2 ,p_g24_transmit_hop_pac_fail_hop_stage2 
+0x0421 001583 rtn 
+:      001584 p_g24_transmit_hop_pac_fail_wo_hop:
+0x0422 001585 jam 2 ,mem_24g_sync_cnt 
+:      001586 p_g24_transmit_hop_pac_fail_stage1:
+0x0423 001587 jam 0 ,mem_24g_hop_pac_retry 
+0x0424 001588 jam 0 ,mem_24g_rf_last_sta 
+0x0425 001589 branch p_g24_transmit_rf_ctrl_clear 
+:      001591 p_g24_transmit_hop_pac_fail_hop_stage2:
+0x0426 001592 jam 0 ,mem_24g_rf_hop_ch 
+0x0427 001593 branch p_g24_transmit_hop_pac_fail_stage1 
+:      001596 p_g24_transmit_pac_fail_hop_stage3:
+0x0428 001597 fetch 2 ,mem_24g_txfail_cnt 
+0x0429 001598 increase 1 ,pdata 
+0x042a 001599 store 2 ,mem_24g_txfail_cnt 
+0x042b 001600 bbit1 10 ,p_g24_tx_attempt_fail 
+0x042c 001601 fetch 1 ,mem_24g_rf_hop_ch 
+0x042d 001602 beq 1 ,p_g24_rf_hop_fastly 
+0x042e 001603 jam 1 ,mem_24g_rf_hop_ch 
+:      001604 p_g24_rf_hop_attemp_again:
+0x042f 001605 fetch 1 ,mem_24g_rf_hop_ch 
+0x0430 001606 bne 1 ,p_g24_transmit_rf_ctrl_clear 
+:      001607 p_g24_rf_hop_fastly:
+0x0431 001608 fetch 1 ,mem_24g_hop_fastly_cnt 
+0x0432 001609 increase 1 ,pdata 
+0x0433 001610 store 1 ,mem_24g_hop_fastly_cnt 
+0x0434 001611 beq 4 ,p_g24_rf_hop_fastly_exit 
+0x0435 001612 call p_g24_ch 
+0x0436 001613 jam 2 ,mem_24g_max_retry 
+0x0437 001614 branch p_g24_transmit_packet 
+:      001616 p_g24_rf_hop_fastly_exit:
+0x0438 001617 call power_ctrl_pac_succ_decrs 
+0x0439 001618 jam 0 ,mem_24g_hop_fastly_cnt 
+0x043a 001619 branch p_g24_transmit_rf_ctrl_clear 
+:      001621 p_g24_transmit_hop_pac_succ_wo_hop:
+0x043b 001622 jam 2 ,mem_24g_sync_cnt 
+:      001623 p_g24_transmit_hop_pac_succ:
+0x043c 001624 jam 1 ,mem_24g_rf_last_sta 
+0x043d 001625 jam 0 ,mem_24g_rf_hop_ch 
+0x043e 001626 branch p_g24_transmit_rf_ctrl_clear 
+:      001628 p_g24_transmit_succ_rf_config:
+0x043f 001629 fetch 1 ,mem_24g_rf_work_stage 
+0x0440 001630 beq 3 ,p_g24_transmit_hop_pac_succ 
+0x0441 001631 fetch 1 ,mem_24g_data_type 
+0x0442 001632 isolate0 bit_hop ,pdata 
+0x0443 001633 branch p_g24_transmit_rf_sta_init ,true 
+0x0444 001634 fetch 1 ,mem_24g_rf_work_stage 
+0x0445 001635 beq 1 ,p_g24_transmit_hop_pac_succ_wo_hop 
+0x0446 001636 beq 2 ,p_g24_transmit_hop_pac_succ 
+0x0447 001637 rtn 
+:      001639 p_g24_rf_sta_check:
+0x0448 001640 fetch 1 ,mem_24g_pairing_sm 
+0x0449 001641 rtnne state_24g_pairing_success 
+0x044a 001642 call p_g24_rf_laststa_synccnt_check 
+0x044b 001643 ncall p_g24_rf_sync_cnt_check ,user2 
+0x044c 001644 rtn 
+:      001646 p_g24_rf_laststa_synccnt_check:
+0x044d 001647 disable user2 
+0x044e 001648 fetch 1 ,mem_24g_rf_last_sta 
+0x044f 001649 rtnne 1 
+0x0450 001650 fetch 1 ,mem_24g_sync_cnt 
+0x0451 001651 rtnne 0 
+0x0452 001652 jam 1 ,mem_24g_rf_work_stage 
+0x0453 001653 jam 4 ,mem_24g_max_retry 
+0x0454 001654 branch enable_user2 
+:      001656 p_g24_rf_sync_cnt_check:
+0x0455 001657 fetch 1 ,mem_24g_sync_cnt 
+0x0456 001658 branch p_g24_rf_hop_attemp ,blank 
+0x0457 001659 increase -1 ,pdata 
+0x0458 001660 store 1 ,mem_24g_sync_cnt 
+0x0459 001661 jam 2 ,mem_24g_rf_work_stage 
+0x045a 001662 call p_g24_ch 
+0x045b 001663 jam 4 ,mem_24g_max_retry 
+0x045c 001664 rtn 
+:      001666 p_g24_rf_hop_attemp:
+0x045d 001667 jam 3 ,mem_24g_rf_work_stage 
+0x045e 001668 fetch 1 ,mem_24g_rf_hop_ch 
+0x045f 001669 nbranch p_g24_rf_hop_attemp_again ,blank 
+0x0460 001670 call p_g24_ch 
+0x0461 001671 jam 2 ,mem_24g_max_retry 
+0x0462 001672 rtn 
+:      001674 p_g24_txdata_prep:
+0x0463 001675 fetch 1 ,mem_24g_pairing_sm 
+0x0464 001676 bne state_24g_pairing_success ,p_g24_pairing_sm 
+:      001677 p_g24_txdata_prep_packeage_data:
+0x0465 001678 call p_g24_package_data 
+0x0466 001679 call p_g24_transmit_prep 
+:      001680 p_g24_txdata_enable_tx:
+0x0467 001681 jam ensure_on_24g ,mem_24g_ensure 
+0x0468 001682 rtn 
+:      001684 p_g24_package_data:
+0x0469 001685 fetch 2 ,mem_cb_24g_data 
+0x046a 001686 call callback_func 
+0x046b 001687 branch p_g24_accumulate_mouse_data ,user 
+0x046c 001688 fetch 7 ,mem_24g_txbuf + 1 
+0x046d 001689 rtn blank 
+0x046e 001690 branch enable_user 
+:      001691 p_g24_accumulate_mouse_data:
+0x046f 001692 jam 0 ,mem_24g_abort_pac 
+0x0470 001693 add rega ,1 ,pdata 
+0x0471 001694 store 1 ,mem_24g_datalen 
+0x0472 001695 call p_g24_transmit_rf_ctrl_clear 
+0x0473 001696 store 1 ,mem_24g_txbuf 
+0x0474 001697 ifetcht 1 ,contw 
+0x0475 001698 ifetch 1 ,regb 
+0x0476 001699 ior temp ,pdata 
+0x0477 001700 istore 1 ,contw 
+0x0478 001701 increase 1 ,regb 
+0x0479 001702 arg 2 ,loopcnt 
+:      001703 p_g24_accumulation_loop:
+0x047a 001704 ifetch 2 ,regb 
+0x047b 001707 istore 2 ,contw 
+0x047c 001708 increase 2 ,regb 
+0x047d 001709 loop p_g24_accumulation_loop 
+0x047e 001710 arg mem_24g_txbuf + 6 ,contw 
+0x047f 001711 arg 2 ,loopcnt 
+:      001712 p_g24_accumulation_loop2:
+0x0480 001713 ifetch 1 ,regb 
+0x0481 001714 ifetcht 1 ,contw 
+0x0482 001715 iadd temp ,pdata 
+0x0483 001716 istore 1 ,contw 
+0x0484 001717 increase 1 ,regb 
+0x0485 001718 loop p_g24_accumulation_loop2 
+0x0486 001719 rtn 
+:      001721 p_g24_transmit_packet:
+0x0487 001722 jam 0 ,mem_24g_retry 
+:      001723 p_g24_transmit_loop:
+0x0488 001724 arg param_rx_setup ,timeup 
+0x0489 001725 until clkn_rt ,meet 
+0x048a 001726 call p_g24_transmit_receive_ack 
+0x048b 001727 fetch 1 ,mem_24g_no_ack 
+0x048c 001728 rtneq no_ack_24g 
+0x048d 001729 nbranch p_g24_retransmit ,sync 
+0x048e 001730 nbranch p_g24_retransmit ,user3 
+0x048f 001731 call p_g24_txbuf_clear 
+0x0490 001732 call p_g24_ackpayload_parse 
+0x0491 001733 call power_ctrl_pac_succ_incrs 
+:      001734 p_g24_transmit_next_packet:
+0x0492 001735 fetch 1 ,mem_24g_pid 
+0x0493 001736 increase 1 ,pdata 
+0x0494 001737 store 1 ,mem_24g_pid 
+0x0495 001738 fetch 1 ,mem_24g_pairing_sm 
+0x0496 001739 bne state_24g_pairing_success ,p_g24_paring_mode_start 
+0x0497 001740 call p_g24_transmit_succ_rf_config 
+:      001741 p_g24_transmit_abandon:
+0x0498 001742 setarg 0 
+0x0499 001743 store 2 ,mem_24g_txfail_cnt 
+0x049a 001744 store 1 ,mem_24g_get_ack_fail 
+0x049b 001745 store 1 ,mem_24g_hop_pac_retry 
+0x049c 001746 jam ensure_off_24g ,mem_24g_ensure 
+0x049d 001747 rtn 
+:      001749 p_g24_txbuf_clear:
+0x049e 001750 arg 4 ,loopcnt 
+0x049f 001751 arg mem_24g_txbuf ,contw 
+0x04a0 001752 branch memset0 
+:      001754 p_g24_paring_mode_start:
+0x04a1 001755 call power_ctrl_pac_succ_cnt_init 
+0x04a2 001756 branch p_g24_paring_mode 
+:      001758 p_g24_transmit_receive_ack:
+0x04a3 001759 disable user3 
+0x04a4 001760 call p_g24_transmit 
+0x04a5 001763 fetch 1 ,mem_24g_no_ack 
+0x04a6 001764 beq no_ack_24g ,p_g24_transmit_no_ack 
+0x04a7 001765 force 0 ,radio_ctrl 
+0x04a8 001766 fetch 4 ,mem_24g_addr 
+0x04a9 001767 iforce access 
+0x04aa 001768 fetcht 1 ,mem_last_freq 
+0x04ab 001769 call set_freq_rx 
+0x04ac 001770 call rf_rx_enable 
+0x04ad 001771 call p_g24_receive_rxon 
+0x04ae 001772 call p_g24_end_of_packet ,user3 
+0x04af 001773 rtn 
+:      001774 p_g24_transmit_no_ack:
+0x04b0 001775 call p_g24_end_of_packet 
+0x04b1 001776 branch p_g24_transmit_next_packet 
+:      001778 p_g24_retransmit:
+0x04b2 001779 fetch 1 ,mem_24g_get_ack_fail 
+0x04b3 001780 increase 1 ,pdata 
+0x04b4 001781 store 1 ,mem_24g_get_ack_fail 
+0x04b5 001782 fetch 1 ,mem_24g_pairing_sm 
+0x04b6 001783 bne state_24g_pairing_success ,p_g24_tx_paring_retry 
+0x04b7 001784 fetcht 1 ,mem_24g_retry 
+0x04b8 001785 increase 1 ,temp 
+0x04b9 001786 storet 1 ,mem_24g_retry 
+0x04ba 001787 fetch 1 ,mem_24g_max_retry 
+0x04bb 001788 isub temp ,pdata 
+0x04bc 001789 nbranch p_g24_transmit_loop ,blank 
+0x04bd 001790 fetch 1 ,mem_24g_rf_work_stage 
+0x04be 001791 beq 3 ,p_g24_transmit_pac_fail_hop_stage3 
+0x04bf 001792 fetch 1 ,mem_24g_hop_pac_retry 
+0x04c0 001793 increase 1 ,pdata 
+0x04c1 001794 store 1 ,mem_24g_hop_pac_retry 
+0x04c2 001795 beq 2 ,p_g24_transmit_hop_pac_fail 
+0x04c3 001796 call p_g24_hop_ch_enable 
+0x04c4 001797 jam 1 ,mem_24g_max_retry 
+0x04c5 001798 branch p_g24_transmit_packet 
+:      001800 p_g24_tx_paring_retry:
+0x04c6 001801 fetch 1 ,mem_24g_get_ack_fail 
+0x04c7 001802 rtnne 0xff 
+0x04c8 001803 jam 0 ,mem_24g_get_ack_fail 
+0x04c9 001804 branch p_g24_stop_g24_mode 
+:      001806 p_g24_tx_attempt_fail:
+0x04ca 001807 setarg 0 
+0x04cb 001808 store 2 ,mem_24g_txfail_cnt 
+:      001809 p_g24_stop_g24_mode:
+0x04cc 001810 jam bt_evt_24g_attempt_fail ,mem_fifo_temp 
+0x04cd 001811 branch ui_ipc_send_event 
+:      001813 p_g24_ackpayload_parse:
+0x04ce 001814 call p_g24_read_len_pid_crc 
+0x04cf 001815 fetch 1 ,mem_24g_rxdata_length 
+0x04d0 001816 rtn blank 
+0x04d1 001817 iforce loopcnt 
+0x04d2 001818 arg mem_24g_rxbuf + 2 ,contr 
+0x04d3 001819 arg mem_24g_rxpayload ,contw 
+0x04d4 001820 branch memcpy 
+:      001822 power_ctrl_pac_succ_cnt_init:
+0x04d5 001823 jam 1 ,mem_power_ctrl_level 
+0x04d6 001824 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0x04d7 001825 rtn 
+:      001826 power_ctrl_pac_succ_incrs:
+0x04d8 001827 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x04d9 001828 increase 1 ,pdata 
+0x04da 001829 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0x04db 001830 rtn 
+:      001831 power_ctrl_pac_succ_decrs:
+0x04dc 001832 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x04dd 001833 sub pdata ,2 ,null 
+0x04de 001834 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+0x04df 001835 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x04e0 001836 rtneq 0 
+0x04e1 001837 increase -1 ,pdata 
+0x04e2 001838 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0x04e3 001839 rtn 
+:      001840 power_ctrl_pac_succ_cnt_reinit:
+0x04e4 001841 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+0x04e5 001842 rtn 
+:      001844 power_ctrl_start:
+0x04e6 001845 fetch 2 ,mem_ui_state_map 
+0x04e7 001846 rtnbit1 ui_state_ble_adv 
+0x04e8 001847 rtnbit1 ui_state_bt_reconnect 
+0x04e9 001848 rtnbit1 ui_state_bt_discovery 
+0x04ea 001850 arg mem_rssi_signal_buf ,rega 
+0x04eb 001851 call p_rssi_average 
+0x04ec 001852 storet 1 ,mem_rssi_avg_received 
+0x04ed 001855 isolate1 mark_24g ,mark 
+0x04ee 001856 call power_ctrl_24g_dis_max ,true 
+0x04ef 001857 ncall power_ctrl_le_dis_max ,true 
+0x04f0 001858 isub temp ,null 
+0x04f1 001859 nbranch power_ctrl_txpower_incrs_force ,positive 
+0x04f2 001861 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x04f3 001862 sub pdata ,2 ,null 
+0x04f4 001863 nbranch power_ctrl_txpower_decrs_check ,positive 
+0x04f5 001864 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x04f6 001865 beq 0 ,power_ctrl_txpower_incrs 
+0x04f7 001866 rtn 
+:      001868 power_ctrl_24g_dis_max:
+0x04f8 001869 setarg rssi_dis_max_24g 
+0x04f9 001870 rtn 
+:      001871 power_ctrl_24g_dis_min:
+0x04fa 001872 setarg rssi_dis_min_24g 
+0x04fb 001873 rtn 
+:      001874 power_ctrl_le_dis_max:
+0x04fc 001875 setarg rssi_dis_max_ble 
+0x04fd 001876 rtn 
+:      001877 power_ctrl_le_dis_min:
+0x04fe 001878 setarg rssi_dis_min_ble 
+0x04ff 001879 rtn 
+:      001881 power_ctrl_txpower_decrs_check:
+0x0500 001882 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x0501 001883 rtnne 32 
+0x0502 001884 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+:      001885 power_ctrl_txpower_decrs:
+0x0503 001886 fetcht 1 ,mem_rssi_avg_received 
+0x0504 001887 isolate1 mark_24g ,mark 
+0x0505 001888 call power_ctrl_24g_dis_min ,true 
+0x0506 001889 ncall power_ctrl_le_dis_min ,true 
+0x0507 001890 isub temp ,null 
+0x0508 001891 nrtn positive 
+0x0509 001892 fetch 1 ,mem_power_ctrl_level 
+0x050a 001893 beq 0 ,power_ctrl_decrs_level0 
+0x050b 001894 increase -1 ,pdata 
+0x050c 001895 store 1 ,mem_power_ctrl_level 
+0x050d 001896 beq 0 ,power_ctrl_decrs_level0 
+:      001897 power_ctrl_decrs_level1:
+:      001898 power_ctrl_incrs_level1:
+0x050e 001899 jam tx_power_0db ,mem_tx_power 
+0x050f 001900 rtn 
+:      001902 power_ctrl_txpower_incrs_force:
+0x0510 001903 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+:      001904 power_ctrl_txpower_incrs:
+0x0511 001905 fetch 1 ,mem_power_ctrl_level 
+0x0512 001906 beq 2 ,power_ctrl_incrs_level2 
+0x0513 001907 increase 1 ,pdata 
+0x0514 001908 store 1 ,mem_power_ctrl_level 
+0x0515 001909 beq 1 ,power_ctrl_incrs_level1 
+:      001910 power_ctrl_incrs_level2:
+0x0516 001912 jam tx_power_5db ,mem_tx_power 
+0x0517 001913 rtn 
+:      001915 power_ctrl_decrs_level0:
+0x0518 001917 jam tx_power_f5db ,mem_tx_power 
+0x0519 001918 rtn 
+:      001920 p_g24_start_pairing_sm1:
+0x051a 001921 set1 mark_24g ,mark 
+0x051b 001922 call p_g24_pair_init 
+:      001923 p_g24_set_pairing_sm_1:
+0x051c 001924 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
+0x051d 001925 rtn 
+:      001927 p_g24_pair_init:
+0x051e 001928 jam tx_power_pair ,mem_tx_power 
+0x051f 001929 jam 0 ,mem_24g_pid 
+0x0520 001930 jam g24_pair_ch ,mem_24g_ch 
+0x0521 001931 fetch 4 ,mem_24g_paring_addr 
+0x0522 001932 branch p_g24_update_addr_and_synccrc8 
+:      001934 p_g24_pairing_sm:
+0x0523 001935 fetch 1 ,mem_24g_ensure 
+0x0524 001936 beq ensure_on_24g ,enable_user 
+0x0525 001937 fetch 1 ,mem_24g_pairing_sm 
+0x0526 001938 beq state_24g_pairing_1 ,p_g24_pairing_sm_1 
+0x0527 001939 beq state_24g_pairing_2 ,p_g24_pairing_sm_2 
+0x0528 001940 beq state_24g_pairing_3 ,p_g24_pairing_sm_3 
+0x0529 001941 branch assert 
+:      001943 p_g24_pairing_sm_1:
+0x052a 001944 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
+0x052b 001945 jam 0xaa ,mem_24g_common_temp 
+0x052c 001946 branch p_g24_pairing_sm_common 
+:      001947 p_g24_pairing_sm_2:
+0x052d 001948 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
+0x052e 001949 jam 0x55 ,mem_24g_common_temp 
+0x052f 001950 branch p_g24_pairing_sm_common 
+:      001951 p_g24_pairing_sm_3:
+0x0530 001952 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
+0x0531 001953 jam 0x22 ,mem_24g_common_temp 
+:      001954 p_g24_pairing_sm_common:
+0x0532 001955 fetch 1 ,mem_24g_data_type 
+0x0533 001956 and_into bits_data ,pdata 
+0x0534 001957 store 1 ,mem_24g_common_temp + 1 
+0x0535 001958 fetch 4 ,mem_24g_device_addr 
+0x0536 001959 store 4 ,mem_24g_common_temp + 2 
+:      001960 p_g24_put_pairing_data_in_buff:
+0x0537 001961 jam 0 ,mem_24g_common_temp + 6 
+0x0538 001962 arg mem_24g_common_temp ,rega 
+0x0539 001963 arg 7 ,temp 
+0x053a 001964 call p_g24_put_data_in_buff 
+0x053b 001965 call p_g24_transmit_prep 
+0x053c 001966 call p_g24_txdata_enable_tx 
+0x053d 001967 branch enable_user 
+:      001969 p_g24_paring_mode:
+0x053e 001970 fetch 1 ,mem_24g_pairing_sm 
+0x053f 001971 rtneq state_24g_pairing_success 
+0x0540 001972 beq state_24g_pairing_1_waiting_ack ,p_g24_pairing_sm_1_waiting_ack 
+0x0541 001973 beq state_24g_pairing_2_waiting_ack ,p_g24_pairing_sm_2_waiting_ack 
+0x0542 001974 beq state_24g_pairing_3_waiting_ack ,p_g24_pairing_sm_3_waiting_ack 
+0x0543 001975 rtn 
+:      001978 p_g24_pairing_sm_1_waiting_ack:
+0x0544 001979 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
+0x0545 001980 branch p_g24_transmit_abandon 
+:      001981 p_g24_pairing_sm_2_waiting_ack:
+0x0546 001982 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
+0x0547 001983 branch p_g24_transmit_abandon 
+:      001984 p_g24_pairing_sm_3_waiting_ack:
+0x0548 001985 jam state_24g_pairing_success ,mem_24g_pairing_sm 
+0x0549 001986 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+0x054a 001987 call ui_ipc_send_event 
+0x054b 001988 fetch 4 ,mem_24g_rxpayload + 2 
+0x054c 001989 call p_g24_update_addr_and_synccrc8 
+0x054d 001990 branch p_g24_transmit_abandon 
+:      001992 p_g24_start_24g_mode:
+0x054e 001993 set0 mark_24g ,mark 
+0x054f 001994 call p_g24_ch_syncword_crc8_init 
+0x0550 001995 fetch 1 ,mem_24g_pairing_sm 
+0x0551 001996 rtnne state_24g_pairing_success 
+0x0552 001997 call p_g24_tx_attemp_data_prep 
+:      001998 p_g24_tx_attemp_dongle:
+0x0553 001999 setarg 0 
+0x0554 002000 store 2 ,mem_24g_check_dongle_times 
+:      002001 p_g24_tx_attemp_dongle_loop:
+0x0555 002002 call lpo_calibration 
+0x0556 002003 nop 2000 
+0x0557 002004 fetch 1 ,mem_24g_check_dongle_times 
+0x0558 002005 beq 0xff ,p_g24_stop_g24_mode 
+0x0559 002006 call p_g24_transmit_receive_ack 
+0x055a 002007 nbranch p_g24_attemp_txdata_retry ,sync 
+0x055b 002008 nbranch p_g24_attemp_txdata_retry ,user3 
+:      002009 p_g24_tx_attemp_dongle_succ:
+0x055c 002010 set1 mark_24g ,mark 
+0x055d 002011 setarg 0 
+0x055e 002012 store 2 ,mem_24g_check_dongle_times 
+0x055f 002013 jam bt_evt_24g_attempt_success ,mem_fifo_temp 
+0x0560 002014 call ui_ipc_send_event 
+0x0561 002015 call p_g24_txbuf_clear 
+0x0562 002016 branch p_g24_transmit_by_interrupt_enable 
+:      002018 p_g24_tx_attemp_data_prep:
+0x0563 002019 jam 0xff ,mem_24g_common_temp 
+0x0564 002020 fetch 1 ,mem_24g_data_type 
+0x0565 002021 store 1 ,mem_24g_common_temp + 1 
+0x0566 002022 fetch 4 ,mem_24g_device_addr 
+0x0567 002023 store 4 ,mem_24g_common_temp + 2 
+0x0568 002024 arg 6 ,temp 
+0x0569 002025 arg mem_24g_common_temp ,rega 
+0x056a 002026 call p_g24_put_data_in_buff 
+0x056b 002027 branch p_g24_transmit_prep 
+:      002029 p_g24_attemp_txdata_retry:
+0x056c 002030 fetch 2 ,mem_24g_check_dongle_times 
+0x056d 002031 increase 1 ,pdata 
+0x056e 002032 store 2 ,mem_24g_check_dongle_times 
+0x056f 002033 call p_g24_ch 
+0x0570 002034 branch p_g24_tx_attemp_dongle_loop 
+:      002036 p_g24_auto_pair_start:
+0x0571 002037 set0 mark_24g ,mark 
+0x0572 002038 call p_g24_auto_pair_all_powerful 
+0x0573 002039 call p_g24_tx_attemp_data_prep 
+:      002040 p_g24_auto_pair_restart:
+0x0574 002041 jam 0 ,mem_24g_check_dongle_times 
+:      002042 p_g24_auto_pair_start_loop:
+0x0575 002043 call lpo_calibration 
+0x0576 002044 nop 2000 
+0x0577 002045 fetch 1 ,mem_24g_check_dongle_times 
+0x0578 002046 beq 0xff ,p_g24_stop_g24_mode 
+0x0579 002047 call p_g24_transmit_receive_ack 
+0x057a 002048 nbranch p_g24_auto_pair_retry ,sync 
+0x057b 002049 nbranch p_g24_auto_pair_retry ,user3 
+0x057c 002050 call p_g24_ackpayload_parse 
+0x057d 002051 fetch 1 ,mem_tx_power_temp 
+0x057e 002052 store 1 ,mem_tx_power 
+0x057f 002053 fetch 4 ,mem_24g_addr 
+0x0580 002054 fetcht 4 ,mem_24g_paring_addr 
+0x0581 002055 isub temp ,null 
+0x0582 002056 branch p_g24_start_pairing_sm1 ,zero 
+0x0583 002057 branch p_g24_tx_attemp_dongle_succ 
+:      002059 p_g24_auto_pair_retry:
+0x0584 002060 fetch 1 ,mem_24g_check_dongle_times 
+0x0585 002061 increase 1 ,pdata 
+0x0586 002062 store 1 ,mem_24g_check_dongle_times 
+0x0587 002063 fetch 1 ,mem_24g_auto_paring_switch 
+0x0588 002064 increase 1 ,pdata 
+0x0589 002065 and_into 1 ,pdata 
+0x058a 002066 store 1 ,mem_24g_auto_paring_switch 
+0x058b 002067 beq 0 ,p_g24_auto_pair_device_attemp 
+0x058c 002068 beq 1 ,p_g24_auto_pair_pair_attemp 
+0x058d 002069 rtn 
+:      002071 p_g24_auto_pair_all_powerful:
+0x058e 002072 jam tx_power_pair ,mem_tx_power 
+0x058f 002073 setarg 0x0f0f 
+0x0590 002074 store 2 ,mem_24g_addr 
+0x0591 002075 istore 2 ,contw 
+:      002076 p_g24_ch_syncword_crc8_init:
+0x0592 002077 call p_g24_syncword_crc8 
+0x0593 002078 branch p_g24_ch 
+:      002080 p_g24_auto_pair_device_attemp:
+0x0594 002081 call p_g24_auto_pair_all_powerful 
+0x0595 002082 branch p_g24_auto_pair_start_loop 
+:      002084 p_g24_auto_pair_pair_attemp:
+0x0596 002085 call p_g24_pair_init 
+0x0597 002086 branch p_g24_auto_pair_start_loop 
+:      002088 p_g24_check_51cmd_stop_24g:
+0x0598 002089 set0 mark_24g ,mark 
+0x0599 002090 call le_disable 
+:      002091 p_mouse_disable_g24_pairing_flag:
+0x059a 002092 arg mosue_24g_pairing_flag ,queue 
+0x059b 002093 branch mouse_disable_function_flag 
+:      002095 p_g24_put_data_in_buff:
+0x059c 002096 storet 1 ,mem_24g_datalen 
+0x059d 002097 copy temp ,loopcnt 
+0x059e 002098 arg mem_24g_txbuf ,contw 
+0x059f 002099 copy rega ,contr 
+0x05a0 002100 branch memcpy 
+:      002102 p_g24_read_len_pid_crc:
+0x05a1 002104 fetch 1 ,mem_24g_rxbuf + 1 
+0x05a2 002105 rshift3 pdata ,pdata 
+0x05a3 002106 store 1 ,mem_24g_rxdata_length 
+0x05a4 002108 increase 1 ,pdata 
+0x05a5 002109 arg mem_24g_rxbuf + 1 ,contr 
+0x05a6 002110 iadd contr ,contr 
+0x05a7 002111 ifetch 3 ,contr 
+0x05a8 002112 store 3 ,mem_24g_sta_crc 
+0x05a9 002114 fetch 1 ,mem_24g_rxbuf + 1 
+0x05aa 002115 rshift pdata ,pdata 
+0x05ab 002116 and pdata ,0x03 ,pdata 
+0x05ac 002117 store 1 ,mem_24g_sta_pid 
+0x05ad 002118 rtn 
+:      002121 p_set_freq_tx:
+0x05ae 002122 storet 1 ,mem_last_freq 
+0x05af 002123 add temp ,0 ,rega 
+0x05b0 002124 call rf_write_freq 
+0x05b1 002125 setarg param_pll_setup 
+0x05b2 002126 call sleep 
+:      002127 p_rf_tx_enable:
+0x05b3 002128 jam 0x1 ,rfen_adc 
+0x05b4 002129 jam 0x3c ,rfen_rx 
+0x05b5 002130 jam 0xe0 ,rfen_tx 
+0x05b6 002131 nop 10 
+0x05b7 002132 jam 0x01 ,rfen_mdm 
+0x05b8 002133 jam 0x3d ,rfen_mdm 
+0x05b9 002134 nop 10 
+0x05ba 002135 jam 0xb7 ,rfen_sn 
+0x05bb 002136 nop 10 
+0x05bc 002137 jam 0x7d ,rfen_mdm 
+0x05bd 002138 fetch 1 ,mem_tx_power 
+0x05be 002139 beq tx_power_0db ,p_set_tx_power_0db 
+0x05bf 002141 beq tx_power_5db ,p_set_tx_power_5db 
+0x05c0 002143 beq tx_power_f5db ,p_set_tx_power_f5db 
+0x05c1 002144 beq tx_power_pair ,p_set_tx_power_pair 
+0x05c2 002145 branch p_set_tx_power_0db 
+:      002147 p_set_tx_power_0db:
+0x05c3 002148 call p_rx_low_sens 
+0x05c4 002149 jam 0xba ,0x894b 
+0x05c5 002150 jam 0xd0 ,0x8955 
+0x05c6 002151 jam 0xe0 ,0x8956 
+0x05c7 002152 jam 0x88 ,0x8957 
+0x05c8 002153 jam 0x6c ,0x8958 
+0x05c9 002154 jam 0x10 ,0x8959 
+0x05ca 002155 branch set_tx_power_0db 
+:      002167 p_set_tx_power_5db:
+0x05cb 002168 call p_rx_high_sens 
+0x05cc 002169 jam 0xba ,0x894b 
+0x05cd 002170 jam 0xd0 ,0x8955 
+0x05ce 002171 jam 0xe0 ,0x8956 
+0x05cf 002172 jam 0x88 ,0x8957 
+0x05d0 002173 jam 0x3c ,0x8958 
+0x05d1 002174 jam 0x10 ,0x8959 
+0x05d2 002175 branch set_tx_power_5db 
+:      002187 p_set_tx_power_f5db:
+0x05d3 002188 call p_rx_low_sens 
+0x05d4 002189 jam 0xba ,0x894b 
+0x05d5 002190 jam 0xd0 ,0x8955 
+0x05d6 002191 jam 0xc0 ,0x8956 
+0x05d7 002192 jam 0x88 ,0x8957 
+0x05d8 002193 jam 0x6c ,0x8958 
+0x05d9 002194 jam 0x10 ,0x8959 
+0x05da 002195 branch set_tx_power_f5db 
+:      002197 p_rx_low_sens:
+0x05db 002198 jam 0x5b ,0x894c 
+0x05dc 002199 jam 0x96 ,0x894d 
+0x05dd 002200 jam 0x2c ,0x894e 
+0x05de 002201 jam 0x46 ,0x894f 
+0x05df 002202 rtn 
+:      002204 p_rx_high_sens:
+0x05e0 002205 jam 0xfb ,0x894c 
+0x05e1 002206 jam 0xef ,0x894d 
+0x05e2 002207 jam 0xec ,0x894e 
+0x05e3 002208 jam 0x5e ,0x894f 
+0x05e4 002209 rtn 
+:      002211 p_set_tx_power_pair:
+0x05e5 002212 jam 0xba ,0x894b 
+0x05e6 002213 jam 0xc2 ,0x8956 
+0x05e7 002214 jam 0xd0 ,0x8955 
+0x05e8 002215 rtn 
+:      002217 p_shutdown_radio:
+0x05e9 002218 force 8 ,radio_ctrl 
+0x05ea 002219 branch shutdown_radio + 1 
+:      002222 p_g24_timer_check:
+0x05eb 002223 call disable_user 
+0x05ec 002224 fetcht 4 ,mem_24g_tx_btclk 
+0x05ed 002225 copy clkn_bt ,pdata 
+0x05ee 002226 isub temp ,null 
+0x05ef 002227 ncall g24_timer_timeout ,positive 
+0x05f0 002228 copy pdata ,regb 
+0x05f1 002229 fetch 4 ,mem_24g_tx_btclk 
+0x05f2 002230 fetcht 1 ,mem_24g_interval 
+0x05f3 002231 iadd temp ,temp 
+0x05f4 002232 copy regb ,pdata 
+0x05f5 002233 isub temp ,null 
+0x05f6 002234 nrtn positive 
+0x05f7 002235 set0 28 ,pdata 
+0x05f8 002236 store 4 ,mem_24g_tx_btclk 
+0x05f9 002237 branch enable_user 
+:      002239 p_rssi_noise:
+0x05fa 002240 call save_rssi 
+0x05fb 002241 rtn blank 
+0x05fc 002242 fetcht 1 ,mem_rssi_noise_index 
+0x05fd 002243 arg mem_rssi_noise_buffer ,rega 
+0x05fe 002244 call p_rssi_store 
+0x05ff 002245 storet 1 ,mem_rssi_noise_index 
+0x0600 002246 rtn 
+:      002248 p_rssi_store:
+0x0601 002249 copy rega ,pdata 
+0x0602 002250 iadd temp ,contw 
+0x0603 002251 fetch 1 ,mem_rssi 
+0x0604 002252 istore 1 ,contw 
+0x0605 002253 increase 1 ,temp 
+0x0606 002254 and_into rssi_buf_len_signal ,temp 
+0x0607 002255 rtn 
+:      002256 p_rssi_average:
+0x0608 002257 arg 0 ,temp 
+0x0609 002258 arg rssi_buf_len_signal + 1 ,loopcnt 
+0x060a 002259 copy rega ,contr 
+:      002260 p_rssi_average_loop:
+0x060b 002261 ifetch 1 ,contr 
+0x060c 002262 iadd temp ,temp 
+0x060d 002263 loop p_rssi_average_loop 
+0x060e 002264 rshift3 temp ,pdata 
+0x060f 002265 copy pdata ,temp 
+0x0610 002266 rtnmark0 mark_24g 
+0x0611 002268 div pdata ,10 
+0x0612 002269 call wait_div_end 
+0x0613 002270 quotient pdata 
+0x0614 002271 lshift4 pdata ,pdata 
+0x0615 002272 remainder temp 
+0x0616 002273 ior temp ,temp 
+0x0617 002274 rtn 
+0x0618 002275 rtn 
+:      002277 p_g24_update_addr_and_synccrc8:
+0x0619 002278 store 4 ,mem_24g_addr 
+:      002281 p_g24_syncword_crc8:
+0x061a 002282 arg 0 ,rega 
+0x061b 002283 arg 4 ,loopcnt 
+0x061c 002284 arg mem_24g_addr ,contr 
+:      002285 p_g24_syncword_crc8_loop:
+0x061d 002286 ifetch 1 ,contr 
+0x061e 002287 iadd rega ,rega 
+0x061f 002288 loop p_g24_syncword_crc8_loop 
+0x0620 002289 copy rega ,pdata 
+0x0621 002290 store 2 ,mem_24g_syncword 
+0x0622 002291 fetch 1 ,mem_24g_syncword 
+0x0623 002292 fetcht 1 ,mem_24g_syncword + 1 
+0x0624 002293 iadd temp ,pdata 
+0x0625 002294 store 1 ,mem_24g_syncword_crc8 
+0x0626 002295 rtn 
+:      002298 p_g24_transmit_prep:
+0x0627 002301 fetch 1 ,mem_24g_datalen 
+0x0628 002302 increase 2 ,pdata 
+0x0629 002303 store 1 ,mem_24g_txlen 
+0x062a 002305 fetch 1 ,mem_24g_data_type 
+0x062b 002306 store 1 ,mem_24g_txpayload 
+0x062c 002308 fetch 1 ,mem_24g_datalen 
+0x062d 002309 lshift3 pdata ,pdata 
+0x062e 002310 fetcht 1 ,mem_24g_pid 
+0x062f 002311 and temp ,0x03 ,temp 
+0x0630 002312 lshift temp ,temp 
+0x0631 002313 ior temp ,pdata 
+0x0632 002314 fetcht 1 ,mem_24g_no_ack 
+0x0633 002315 iadd temp ,pdata 
+0x0634 002316 istore 1 ,contw 
+0x0635 002318 fetch 1 ,mem_24g_datalen 
+0x0636 002319 iforce loopcnt 
+0x0637 002320 arg mem_24g_txbuf ,contr 
+0x0638 002321 branch memcpy 
+:      002323 p_g24_ch:
+0x0639 002324 fetcht 1 ,mem_24g_current_ch_number 
+0x063a 002325 call p_g24_ch_map_size 
+0x063b 002326 storet 1 ,mem_24g_current_ch_number 
+0x063c 002327 rtn 
+:      002329 p_g24_ch_map_size:
+0x063d 002330 call p_g24_ch_calc 
+0x063e 002331 increase 1 ,temp 
+0x063f 002332 and_into 3 ,temp 
+0x0640 002333 rtn 
+:      002335 p_g24_ch_calc:
+0x0641 002336 fetch 1 ,mem_24g_addr 
+0x0642 002337 and_into 0x03 ,pdata 
+0x0643 002338 mul32 pdata ,4 ,rega 
+0x0644 002339 setarg mem_24g_ch_map1 
+0x0645 002340 iadd rega ,pdata 
+0x0646 002341 iadd temp ,contr 
+0x0647 002342 ifetch 1 ,contr 
+0x0648 002343 store 1 ,mem_24g_ch 
+0x0649 002344 rtn 
+:      002346 p_g24_prep:
+0x064a 002347 disable enable_crc 
+0x064b 002348 disable enable_white 
+0x064c 002349 setarg 0x555555 
+0x064d 002350 iforce crc24_init 
+0x064e 002351 fetch 1 ,mem_24g_ch 
+0x064f 002352 reverse pdata ,temp 
+0x0650 002353 set1 1 ,temp 
+0x0651 002354 rshift temp ,white_init 
+0x0652 002355 rtn 
+:      002357 p_g24_receive_packet:
+0x0653 002358 call le_enable 
+0x0654 002359 fetch 4 ,mem_24g_addr 
+0x0655 002360 iforce access 
+0x0656 002361 call set_sync_on 
+0x0657 002362 fetcht 1 ,mem_24g_ch 
+0x0658 002363 call set_freq_rx 
+0x0659 002364 setarg param_pll_setup 
+0x065a 002365 call sleep 
+0x065b 002366 call rf_rx_enable 
+:      002367 p_g24_receive_rxon:
+0x065c 002370 call p_g24_prep 
+0x065d 002371 disable user3 
+0x065e 002372 enable decode_fec0 
+0x065f 002373 enable is_rx 
+0x0660 002374 disable is_tx 
+0x0661 002375 enable swfine 
+0x0662 002376 fetch 2 ,mem_24g_rx_window 
+0x0663 002377 iforce stop_watch 
+0x0664 002378 correlate null ,timeout 
+0x0665 002379 nbranch p_g24_sync_timeout ,sync 
+0x0666 002382 disable decode_fec0 
+0x0667 002383 enable decode_fec1 
+0x0668 002384 enable enable_white 
+0x0669 002385 enable enable_crc 
+0x066a 002386 parse demod ,bucket ,8 
+0x066b 002387 rshift3 pwindow ,pdata 
+0x066c 002388 store 1 ,mem_24g_get_syncword_crc8 
+0x066d 002389 fetcht 1 ,mem_24g_syncword_crc8 
+0x066e 002390 isub temp ,null 
+0x066f 002391 nbranch p_g24_end_of_packet ,zero 
+0x0670 002392 parse demod ,bucket ,8 
+0x0671 002393 rshift3 pwindow ,pdata 
+0x0672 002394 store 1 ,mem_24g_rxbuf 
+0x0673 002395 fetch 1 ,mem_24g_mode 
+0x0674 002396 sub pdata ,rx_24g ,null 
+0x0675 002397 branch p_g24_receive_skip ,zero 
+0x0676 002398 fetch 1 ,mem_24g_rxbuf 
+0x0677 002399 fetcht 1 ,mem_24g_data_type 
+0x0678 002400 icompare bits_data ,temp 
+0x0679 002401 nbranch p_g24_end_of_packet ,true 
+:      002402 p_g24_receive_skip:
+0x067a 002403 parse demod ,bucket ,8 
+0x067b 002404 rshift3 pwindow ,pdata 
+0x067c 002405 istore 1 ,contw 
+0x067d 002406 rshift3 pdata ,pdata 
+0x067e 002407 and pdata ,0x1f ,loopcnt 
+0x067f 002408 branch p_g24rx_nopayload ,zero 
+:      002409 p_g24rx_loop:
+0x0680 002410 parse demod ,bucket ,8 
+0x0681 002411 rshift3 pwindow ,pdata 
+0x0682 002412 istore 1 ,contw 
+0x0683 002413 loop p_g24rx_loop 
+:      002414 p_g24rx_nopayload:
+0x0684 002416 copy contw ,rega 
+0x0685 002417 parse demod ,bucket ,8 
+0x0686 002418 rshift3 pwindow ,pdata 
+0x0687 002419 store 1 ,mem_rssi_hex_received 
+0x0688 002420 copy rega ,contw 
+0x0689 002421 parse demod ,bucket ,24 
+0x068a 002422 enable swfine 
+0x068b 002423 arg param_sifs ,stop_watch 
+0x068c 002424 rshift32 pdata ,pdata 
+0x068d 002425 rshift16 pdata ,pdata 
+0x068e 002426 istore 3 ,contw 
+0x068f 002427 disable decode_fec1 
+0x0690 002428 branch p_g24_end_of_packet ,crc_failed 
+0x0691 002431 enable user3 
+0x0692 002432 fetch 1 ,mem_last_freq 
+0x0693 002433 add pdata ,0 ,rega 
+0x0694 002434 call rf_write_freq 
+0x0695 002435 disable decode_fec0 
+0x0696 002436 call set_sync_on 
+0x0697 002437 fetch 1 ,mem_rssi_hex_received 
+0x0698 002438 call p_rssi_signal 
+0x0699 002439 rtn 
+:      002441 p_g24_end_of_packet:
+0x069a 002442 disable encode_fec1 
+0x069b 002443 disable decode_fec1 
+0x069c 002444 call end_of_packet 
+0x069d 002445 rtn 
+:      002447 p_g24_sync_timeout:
+0x069e 002448 branch p_g24_end_of_packet 
+:      002450 p_g24_set_freq_tx:
+0x069f 002451 call set_sync_on 
+0x06a0 002452 fetcht 1 ,mem_24g_ch 
+0x06a1 002453 branch set_freq_tx 
+:      002455 p_g24_transmit:
+0x06a2 002456 call le_enable 
+0x06a3 002457 fetch 4 ,mem_24g_addr 
+0x06a4 002458 iforce access 
+0x06a5 002459 call p_g24_prep 
+0x06a6 002460 call p_g24_set_freq_tx 
+0x06a7 002461 set1 txgfsk ,radio_ctrl 
+0x06a8 002462 enable encode_fec0 
+0x06a9 002463 enable is_tx 
+0x06aa 002464 disable is_rx 
+0x06ab 002467 rshift16 access ,pdata 
+0x06ac 002468 rshift8 pdata ,pdata 
+0x06ad 002469 rshift4 pdata ,pdata 
+0x06ae 002470 inject mod ,40 
+0x06af 002471 disable encode_fec0 
+0x06b0 002472 enable encode_fec1 
+0x06b1 002473 enable enable_white 
+0x06b2 002474 enable enable_crc 
+0x06b3 002475 fetch 1 ,mem_24g_syncword_crc8 
+0x06b4 002476 inject mod ,8 
+0x06b5 002477 fetch 1 ,mem_24g_txlen 
+0x06b6 002478 iforce loopcnt 
+0x06b7 002479 arg mem_24g_txpayload ,contr 
+:      002480 p_g24tr_loop:
+0x06b8 002481 ifetch 1 ,contr 
+0x06b9 002482 inject mod ,8 
+0x06ba 002483 loop p_g24tr_loop 
+0x06bb 002486 enable enable_parity 
+0x06bc 002487 inject mod ,24 
+0x06bd 002488 disable enable_parity 
+0x06be 002489 until null ,tx_clear 
+0x06bf 002490 nop 100 
+0x06c0 002491 disable encode_fec0 
+0x06c1 002492 disable encode_fec1 
+0x06c2 002493 rtn 
+:      002497 p_mouse_data_init:
+0x06c3 002498 jam 7 ,mem_mouse_data_queue 
+0x06c4 002499 jam 4 ,mem_mouse_data_queue + 1 
+0x06c5 002500 setarg mem_mouse_data_queue 
+0x06c6 002501 store 2 ,mem_queue_ptr 
+0x06c7 002502 branch queue_init 
+:      002504 p_mouse_data_push:
+0x06c8 002505 arg mem_mouse_key ,rega 
+0x06c9 002506 call queue_push 
+0x06ca 002507 call p_mouse_queue_increase ,user 
+0x06cb 002509 rtn 
+:      002510 p_mouse_queue_increase:
+0x06cc 002511 fetch 1 ,mem_mouse_data_queue_num 
+0x06cd 002512 increase 1 ,pdata 
+0x06ce 002513 store 1 ,mem_mouse_data_queue_num 
+0x06cf 002514 rtn 
+:      002516 p_mouse_data_pull:
+0x06d0 002517 arg mem_mouse_key ,rega 
+0x06d1 002518 call queue_pop 
+0x06d2 002519 branch p_mouse_fill_data_le ,user 
+0x06d3 002520 rtn 
+:      002522 p_mouse_fill_data_le:
+0x06d4 002523 call le_clear_md 
+0x06d5 002524 fetch 1 ,mem_mouse_data_queue_num 
+0x06d6 002525 sub pdata ,1 ,null 
+0x06d7 002526 ncall le_set_md ,positive 
+0x06d8 002527 fetch 1 ,mem_mouse_data_queue_num 
+0x06d9 002528 rtn blank 
+0x06da 002529 increase -1 ,pdata 
+0x06db 002530 store 1 ,mem_mouse_data_queue_num 
+0x06dc 002531 branch mouse_fill_data_le 
+              org 0x2000
+:      002619 start:
+0x2000 002620 call lpmstate 
+:      002622 soft_reset:
+0x2001 002623 bpatch patch00_0 ,mem_patch00 
+0x2002 002624 clear_stack 
+0x2003 002625 call spi_ncs_gpio_init 
+0x2004 002626 call initialize_radio 
+0x2005 002627 call iicd_init_12m 
+0x2006 002628 call init_param 
+0x2007 002629 call l2cap_init 
+0x2008 002630 bpatch patch00_1 ,mem_patch00 
+0x2009 002631 call rfcomm_init 
+0x200a 002632 call init_lmp 
+0x200b 002633 call ui_init 
+0x200c 002634 call app_init 
+0x200d 002635 ncall load_chip_option ,wake 
+0x200e 002636 bpatch patch00_2 ,mem_patch00 
+0x200f 002637 call app_lpm_init ,wake 
+0x2010 002638 call publickey_init 
+0x2011 002639 call lpm_recover_clk ,wake 
+:      002640 main_loop:
+0x2012 002641 bpatch patch00_3 ,mem_patch00 
+0x2013 002642 call sp_calc_sequence 
+0x2014 002643 call sp_calc_sequence_256 
+0x2015 002644 call sp_calc_sequence_256_check 
+0x2016 002645 call le_dispatch 
+0x2017 002646 bpatch patch00_4 ,mem_patch00 
+0x2018 002647 call idle_dispatch 
+0x2019 002648 call app_process_idle 
+0x201a 002649 call inquiry_dispatch 
+0x201b 002650 call inquiry_scan_dispatch 
+0x201c 002651 call page_scan_dispatch 
+0x201d 002652 call connection_dispatch 
+0x201e 002653 call lpm_dispatch 
+0x201f 002654 call g24_dispatch 
+0x2020 002655 branch main_loop 
+:      002657 connection_dispatch:
+0x2021 002658 call connection_incontext 
+0x2022 002659 rtnmark0 mark_context 
+0x2023 002660 set0 mark_context ,mark 
+0x2024 002661 call context_save 
+0x2025 002662 branch le_disable 
+:      002664 connection_incontext:
+0x2026 002665 bpatch patch00_5 ,mem_patch00 
+0x2027 002666 call context_search_insniff 
+0x2028 002667 nbranch connection_nosniff ,zero 
+0x2029 002668 call context_load 
+0x202a 002669 add rega ,coffset_mode ,contr 
+0x202b 002670 ifetch 1 ,contr 
+0x202c 002671 bbit1 mode_le ,le_conn_dispatch 
+0x202d 002672 bbit1 mode_master ,master_dispatch 
+0x202e 002673 branch slave_dispatch 
+:      002674 connection_nosniff:
+0x202f 002675 call context_get_next 
+0x2030 002676 copy loopcnt ,null 
+0x2031 002677 rtn zero 
+0x2032 002678 call context_load 
+0x2033 002679 fetch 1 ,mem_state 
+0x2034 002680 bbit1 state_inpage ,master_page 
+0x2035 002681 fetch 1 ,mem_mode 
+0x2036 002682 bbit1 mode_master ,master_dispatch 
+0x2037 002683 branch slave_dispatch 
+:      002691 idle_dispatch:
+0x2038 002692 fetch 1 ,mem_hci_cmd 
+0x2039 002693 rtn blank 
+0x203a 002694 beq hci_cmd_inquiry ,idle_inquiry 
+0x203b 002695 beq hci_cmd_inquiry_cancel ,idle_inquiry_cancel 
+0x203c 002696 beq hci_cmd_remote_name_req ,idle_remote_name_req 
+0x203d 002697 beq hci_cmd_create_conn ,idle_create_conn 
+0x203e 002698 beq hci_cmd_le_create_conn ,idle_le_create_conn 
+0x203f 002699 call context_search_conn_handle 
+0x2040 002700 rtn zero 
+0x2041 002701 call context_search_plap 
+0x2042 002702 rtn zero 
+:      002703 idle_exit:
+0x2043 002704 jam 0 ,mem_hci_cmd 
+0x2044 002705 rtn 
+:      002707 idle_le_create_conn:
+0x2045 002708 jam hci_cmd_le_create_conn ,mem_cmd_le_create_conn 
+0x2046 002709 jam 0 ,mem_hci_cmd 
+0x2047 002710 rtn 
+:      002712 idle_inquiry:
+0x2048 002713 set1 mark_inquiry_on ,mark 
+0x2049 002714 set0 mark_inquiry_trainb ,mark 
+0x204a 002715 jam param_ninquiry ,mem_ninqy_index 
+0x204b 002716 jam 31 ,mem_nfreq_index_inq 
+0x204c 002717 branch idle_exit 
+:      002719 idle_inquiry_cancel:
+0x204d 002720 set0 mark_inquiry_on ,mark 
+0x204e 002721 force 0 ,stop_watch 
+0x204f 002722 branch idle_exit 
+:      002724 idle_remote_name_req:
+0x2050 002725 call context_search_plap 
+0x2051 002726 rtn zero 
+0x2052 002727 force lmp_name_req ,temp 
+0x2053 002728 jam 5 ,mem_nameres_cnt 
+0x2054 002729 branch idle_start_page 
+:      002731 idle_create_conn:
+0x2055 002732 bpatch patch00_6 ,mem_patch00 
+:      002733 idle_create_conn_device:
+0x2056 002734 fetch 6 ,mem_hci_plap 
+0x2057 002735 branch idle_exit ,blank 
+0x2058 002736 jam reconnect_hid ,memui_reconnect_mode 
+0x2059 002738 jam conn_sm_wait_features_res ,mem_conn_sm 
+0x205a 002739 branch idle_create_conn_cont 
+:      002741 idle_create_conn_cont:
+0x205b 002742 force lmp_version_req ,temp 
+:      002743 idle_start_page:
+0x205c 002744 bpatch patch00_7 ,mem_patch00 
+0x205d 002745 fetch 1 ,mem_page_mode 
+0x205e 002746 branch idle_page_mode_r0 ,blank 
+0x205f 002747 lshift3 pdata ,pdata 
+0x2060 002748 lshift4 pdata ,pdata 
+0x2061 002749 increase -1 ,pdata 
+:      002750 idle_page_mode_r0:
+0x2062 002751 store 1 ,mem_npage 
+0x2063 002752 store 1 ,mem_npage_index 
+0x2064 002753 jam 31 ,mem_nfreq_index_page 
+0x2065 002754 set0 mark_page_trainb ,mark 
+0x2066 002755 call context_new 
+0x2067 002756 nbranch idle_page_fail ,zero 
+0x2068 002757 call get_free_amaddr 
+0x2069 002758 store 1 ,mem_amaddr 
+0x206a 002759 storet 1 ,mem_lmo_opcode2 
+0x206b 002760 fetch 6 ,mem_hci_plap 
+0x206c 002761 store 6 ,mem_plap 
+0x206d 002762 bpatch patch01_0 ,mem_patch01 
+0x206e 002763 call timer_reinit 
+0x206f 002764 force 0 ,pdata 
+0x2070 002765 compare lmp_name_req ,temp ,0xff 
+0x2071 002766 nsetflag true ,state_init_seq ,pdata 
+0x2072 002767 set1 state_inpage ,pdata 
+0x2073 002768 store 1 ,mem_state 
+0x2074 002769 jam bt_evt_reconn_started ,mem_fifo_temp 
+0x2075 002770 call ui_ipc_send_event 
+0x2076 002771 force 0 ,pdata 
+0x2077 002772 setflag true ,smap_name_req ,pdata 
+0x2078 002773 store 1 ,mem_state_map 
+0x2079 002774 setarg 0 
+0x207a 002775 set1 mode_master ,pdata 
+0x207b 002776 store 1 ,mem_mode 
+0x207c 002777 enable master 
+0x207d 002778 call context_save 
+0x207e 002779 disable master 
+0x207f 002780 force page_length_timer ,queue 
+0x2080 002781 fetch 2 ,mem_page_to 
+0x2081 002782 call timer_init 
+0x2082 002783 branch idle_exit 
+:      002784 idle_page_fail:
+0x2083 002785 bpatch patch01_1 ,mem_patch01 
+0x2084 002786 fetch 6 ,mem_hci_plap 
+0x2085 002787 store 6 ,mem_plap 
+0x2086 002788 compare lmp_name_req ,temp ,0xff 
+0x2087 002789 branch idle_name_fail ,true 
+0x2088 002790 branch idle_exit 
+:      002791 idle_name_fail:
+0x2089 002792 arg mem_tmp_buffer ,contw 
+0x208a 002793 arg 8 ,loopcnt 
+0x208b 002794 call memset0 
+0x208c 002795 jam bt_evt_reconn_failed ,mem_fifo_temp 
+0x208d 002796 call ui_ipc_send_event 
+0x208e 002797 branch idle_exit 
+:      002804 inquiry_dispatch:
+0x208f 002805 rtnmark0 mark_inquiry_on 
+0x2090 002806 force inquiry_length_timer ,queue 
+0x2091 002807 call timer_check 
+0x2092 002808 nsetflag blank ,mark_inquiry_on ,mark 
+0x2093 002809 nbranch inquiry_start ,blank 
+0x2094 002810 rtn 
+:      002814 inquiry_start:
+0x2095 002815 bpatch patch01_2 ,mem_patch01 
+0x2096 002816 fetcht 2 ,mem_inq_window 
+0x2097 002817 force 4 ,queue 
+0x2098 002818 call sniff_check_window 
+0x2099 002819 rtn user 
+0x209a 002820 call afh_clear 
+0x209b 002821 force 0 ,freq_mode 
+:      002822 inquiry_restart:
+0x209c 002823 rtn timeout 
+0x209d 002824 set0 mark_fhs_already_good ,mark 
+0x209e 002825 set0 mark_fhs_eir ,mark 
+:      002826 inquiry_rx_restart:
+0x209f 002827 add clkn_bt ,1 ,bt_clk 
+0x20a0 002828 isolate1 mark_inquiry_trainb ,mark 
+0x20a1 002829 setflag true ,2 ,freq_mode 
+0x20a2 002830 compare 0x00 ,bt_clk ,0x02 
+0x20a3 002831 nbranch inquiry_receive ,true 
+:      002833 inquiry_transmit:
+0x20a4 002834 bpatch patch01_3 ,mem_patch01 
+0x20a5 002835 fetch 1 ,mem_inquiry_transmit 
+0x20a6 002836 increase 1 ,pdata 
+0x20a7 002837 store 1 ,mem_inquiry_transmit 
+0x20a8 002838 call fetch_giac 
+0x20a9 002839 call tx_radio_freq 
+0x20aa 002840 call fetch_diac 
+0x20ab 002841 call start_transmitter 
+0x20ac 002842 call start_tx_native 
+0x20ad 002843 call send_access_word 
+0x20ae 002844 call end_of_packet 
+0x20af 002845 call inquiry_check_train 
+0x20b0 002846 branch inquiry_restart 
+:      002848 inquiry_check_train:
+0x20b1 002849 bpatch patch01_4 ,mem_patch01 
+0x20b2 002850 fetch 1 ,mem_nfreq_index_inq 
+0x20b3 002851 increase -1 ,pdata 
+0x20b4 002852 store 1 ,mem_nfreq_index_inq 
+0x20b5 002853 rtn positive 
+0x20b6 002854 jam 31 ,mem_nfreq_index_inq 
+0x20b7 002855 fetch 1 ,mem_ninqy_index 
+0x20b8 002856 increase -1 ,pdata 
+0x20b9 002857 store 1 ,mem_ninqy_index 
+0x20ba 002858 rtn positive 
+0x20bb 002859 setflip mark_inquiry_trainb ,mark 
+0x20bc 002860 jam param_ninquiry ,mem_ninqy_index 
+0x20bd 002861 rtn 
+:      002863 inquiry_receive:
+0x20be 002864 bpatch patch01_5 ,mem_patch01 
+0x20bf 002865 call fetch_giac 
+0x20c0 002866 call rx_radio_freq 
+0x20c1 002867 call fetch_diac 
+0x20c2 002868 call start_rx_native 
+0x20c3 002869 call start_receiver 
+0x20c4 002870 call wait_access_clkn_rt 
+0x20c5 002871 branch inquiry_sync ,sync 
+0x20c6 002872 call inquiry_check_train 
+0x20c7 002873 branch inquiry_rx_restart 
+:      002874 inquiry_sync:
+0x20c8 002875 bpatch patch01_6 ,mem_patch01 
+0x20c9 002876 call save_rssi 
+0x20ca 002877 call scan_mode_whiten 
+0x20cb 002878 call receive_packet_whitened 
+0x20cc 002879 set0 mark_rxbuf_inuse ,mark 
+0x20cd 002880 rtnmark0 mark_fhs_already_good 
+:      002881 inquiry_receive_rtn:
+0x20ce 002882 bpatch patch01_7 ,mem_patch01 
+:      002883 inquiry_receive_eir_rtn:
+0x20cf 002884 fetch 1 ,mem_inquiry_rcv 
+0x20d0 002885 increase 1 ,pdata 
+0x20d1 002886 store 1 ,mem_inquiry_rcv 
+0x20d2 002887 rtn 
+:      002895 master_page:
+0x20d3 002896 bpatch patch02_0 ,mem_patch02 
+0x20d4 002897 enable master 
+0x20d5 002898 enable clknt 
+0x20d6 002899 fetch 2 ,mem_page_interval 
+0x20d7 002900 branch master_page_no_interval ,blank 
+0x20d8 002901 force page_interval_timer ,queue 
+0x20d9 002902 call timer_check 
+0x20da 002903 nrtn blank 
+:      002904 master_page_no_interval:
+0x20db 002905 bpatch patch02_1 ,mem_patch02 
+0x20dc 002906 fetcht 2 ,mem_page_window 
+0x20dd 002907 force 40 ,queue 
+0x20de 002908 call sniff_check_window 
+0x20df 002909 branch page_exit ,user 
+0x20e0 002910 force page_length_timer ,queue 
+0x20e1 002911 call timer_check 
+0x20e2 002912 nbranch page_start ,blank 
+0x20e3 002913 fetch 1 ,mem_state_map 
+0x20e4 002914 bbit1 smap_name_req ,master_npage_timeout 
+0x20e5 002915 branch master_page_timeout 
+:      002916 master_npage_timeout:
+0x20e6 002917 arg mem_tmp_buffer ,contw 
+0x20e7 002918 arg 8 ,loopcnt 
+0x20e8 002919 call memset0 
+:      002920 master_page_timeout:
+0x20e9 002921 bpatch patch02_2 ,mem_patch02 
+0x20ea 002922 jam 0 ,mem_state 
+0x20eb 002923 call init_lmp_work 
+0x20ec 002924 jam 0 ,memui_reconnect_mode 
+0x20ed 002925 jam bt_evt_reconn_page_timeout ,mem_fifo_temp 
+0x20ee 002926 call ui_ipc_send_event 
+0x20ef 002927 branch page_exit 
+:      002929 page_start:
+0x20f0 002930 bpatch patch02_3 ,mem_patch02 
+0x20f1 002931 force 0 ,timeup 
+0x20f2 002932 until clkn_rt ,meet 
+0x20f3 002933 fetch 1 ,mem_page_clk 
+0x20f4 002934 increase -1 ,pdata 
+0x20f5 002935 ixor clkn_bt ,pdata 
+0x20f6 002936 compare 0 ,pdata ,3 
+0x20f7 002937 nbranch page_start ,true 
+0x20f8 002938 deposit am_addr 
+0x20f9 002939 store 1 ,mem_fhs_am_addr 
+0x20fa 002940 force 0 ,n_tx_slot 
+0x20fb 002941 force 0 ,freq_mode 
+:      002943 page_restart:
+0x20fc 002944 bpatch patch02_4 ,mem_patch02 
+0x20fd 002945 branch page_exit ,timeout 
+0x20fe 002946 call fetch_page_bt_adr 
+0x20ff 002947 arg param_rf_setup ,timeup 
+0x2100 002948 until clkn_rt ,meet 
+:      002949 page_rx_restart:
+0x2101 002950 bpatch patch02_5 ,mem_patch02 
+0x2102 002951 fetch 4 ,mem_page_clk 
+0x2103 002952 iforce bt_clk 
+0x2104 002953 increase 1 ,pdata 
+0x2105 002954 store 4 ,mem_page_clk 
+0x2106 002955 isolate1 mark_page_trainb ,mark 
+0x2107 002956 setflag true ,2 ,freq_mode 
+0x2108 002957 compare 0x00 ,bt_clk ,0x02 
+0x2109 002958 nbranch page_receive ,true 
+0x210a 002959 fetch 1 ,mem_page_transmit 
+0x210b 002960 increase 1 ,pdata 
+0x210c 002961 store 1 ,mem_page_transmit 
+0x210d 002962 call tx_radio_freq 
+0x210e 002963 call start_transmitter 
+0x210f 002964 call start_tx_native 
+0x2110 002965 call send_access_word 
+0x2111 002966 call end_of_packet 
+0x2112 002967 call page_check_train 
+0x2113 002968 branch page_restart 
+:      002969 page_exit:
+0x2114 002970 bpatch patch02_6 ,mem_patch02 
+0x2115 002971 disable master 
+0x2116 002972 fetch 2 ,mem_page_interval 
+0x2117 002973 rtn blank 
+0x2118 002974 force page_interval_timer ,queue 
+0x2119 002975 branch timer_init 
+:      002977 page_check_train:
+0x211a 002978 bpatch patch02_7 ,mem_patch02 
+0x211b 002979 fetch 1 ,mem_nfreq_index_page 
+0x211c 002980 increase -1 ,pdata 
+0x211d 002981 store 1 ,mem_nfreq_index_page 
+0x211e 002982 rtn positive 
+0x211f 002983 jam 31 ,mem_nfreq_index_page 
+0x2120 002984 fetch 1 ,mem_npage_index 
+0x2121 002985 increase -1 ,pdata 
+0x2122 002986 store 1 ,mem_npage_index 
+0x2123 002987 rtn positive 
+0x2124 002988 setflip mark_page_trainb ,mark 
+0x2125 002989 fetch 1 ,mem_npage 
+0x2126 002990 store 1 ,mem_npage_index 
+0x2127 002991 rtn 
+:      002993 page_receive:
+0x2128 002994 bpatch patch03_0 ,mem_patch03 
+0x2129 002995 call rx_radio_freq 
+0x212a 002996 call start_rx_native 
+0x212b 002997 call start_receiver 
+0x212c 002998 call wait_access_clkn_rt 
+0x212d 002999 branch page_sync ,sync 
+0x212e 003000 call page_check_train 
+0x212f 003001 branch page_rx_restart 
+:      003002 page_sync:
+0x2130 003003 call end_of_packet 
+0x2131 003004 fetch 1 ,mem_page_rcv 
+0x2132 003005 increase 1 ,pdata 
+0x2133 003006 store 1 ,mem_page_rcv 
+0x2134 003007 force 0 ,stop_watch 
+0x2135 003008 fetch 4 ,mem_page_clk 
+:      003009 page_send_fhs:
+0x2136 003010 bpatch patch03_1 ,mem_patch03 
+0x2137 003011 call rf_setup_time_master_slot 
+0x2138 003012 call fetch_page_bt_adr 
+0x2139 003013 increase 1 ,n_tx_slot 
+:      003014 page_send_fhs_continue:
+0x213a 003015 and_into 0x1fd ,bt_clk 
+0x213b 003016 and_into 0x1fc ,freq_mode 
+0x213c 003017 call tx_radio_freq 
+0x213d 003018 call start_transmitter 
+0x213e 003019 call start_tx_native 
+0x213f 003020 call send_access_word 
+0x2140 003021 deposit clkn_bt 
+0x2141 003022 store 4 ,mem_clkn_bt 
+0x2142 003023 force 0 ,am_addr 
+0x2143 003024 force type_fhs ,type 
+0x2144 003025 call scan_mode_whiten 
+0x2145 003026 call transmit_packet_whitened 
+:      003027 page_wait_fhs_reply:
+0x2146 003028 bpatch patch03_2 ,mem_patch03 
+0x2147 003029 call rf_setup_time_slave_slot 
+0x2148 003030 or_into 0x02 ,bt_clk 
+0x2149 003031 and_into 0x1fc ,freq_mode 
+0x214a 003032 call rx_radio_freq 
+0x214b 003033 call start_rx_native 
+0x214c 003034 call start_receiver 
+0x214d 003035 call wait_access_clkn_rt 
+0x214e 003036 call end_of_packet ,sync 
+0x214f 003037 branch page_wait_fhs_reply_ok ,sync 
+0x2150 003038 fetch 1 ,mem_fhs_wait_counter 
+0x2151 003039 branch page_restart ,blank 
+0x2152 003040 increase -1 ,pdata 
+0x2153 003041 store 1 ,mem_fhs_wait_counter 
+0x2154 003042 branch page_send_fhs 
+:      003044 page_wait_fhs_reply_ok:
+0x2155 003045 bpatch patch03_3 ,mem_patch03 
+0x2156 003046 fetch 1 ,mem_page_rcv_fhs 
+0x2157 003047 increase 1 ,pdata 
+0x2158 003048 store 1 ,mem_page_rcv_fhs 
+0x2159 003049 call prepare_newconn 
+:      003050 master_newconn_loop:
+0x215a 003051 call master_newconn_once 
+0x215b 003052 branch newconn_poll_responded ,sync 
+0x215c 003053 call new_conn_timeout 
+0x215d 003054 nbranch master_newconn_loop ,blank 
+0x215e 003055 branch page_restart 
+:      003057 newconn_poll_responded:
+0x215f 003058 bpatch patch03_4 ,mem_patch03 
+0x2160 003059 fetch 1 ,mem_state 
+0x2161 003060 set0 state_inpage ,pdata 
+0x2162 003061 store 1 ,mem_state 
+0x2163 003062 call newconn_init 
+0x2164 003063 disable master 
+0x2165 003064 rtn 
+:      003067 master_dispatch:
+0x2166 003068 bpatch patch03_5 ,mem_patch03 
+0x2167 003069 enable master 
+0x2168 003070 enable clknt 
+0x2169 003071 call role_switch_master 
+0x216a 003072 rtn user 
+0x216b 003073 call check_bt_disabled 
+0x216c 003074 call rf_setup_time_master_slot 
+0x216d 003075 add clkn_bt ,1 ,bt_clk 
+0x216e 003076 call fetch_self_bt_adr 
+0x216f 003077 force 0x03 ,freq_mode 
+0x2170 003078 call scheduler_tx_l2cap_pkt 
+0x2171 003079 call prepare_tx 
+0x2172 003080 call tx_radio_freq 
+0x2173 003081 call start_transmitter 
+0x2174 003082 call start_tx_native 
+0x2175 003083 call send_access_word 
+0x2176 003084 call transmit_packet 
+:      003085 master_loop:
+0x2177 003086 bpatch patch03_6 ,mem_patch03 
+0x2178 003087 call parse_lmp 
+0x2179 003088 call master_conn_recv_packet 
+0x217a 003089 nbranch master_notmatch ,match 
+0x217b 003090 call supervision_flush 
+0x217c 003091 call parse_l2cap 
+0x217d 003092 fetch 1 ,mem_master_rcvcnt 
+0x217e 003093 increase 1 ,pdata 
+0x217f 003094 store 1 ,mem_master_rcvcnt 
+:      003095 master_notmatch:
+0x2180 003096 bpatch patch03_7 ,mem_patch03 
+0x2181 003097 call scheduler_process 
+0x2182 003098 call check_master_disconnect 
+0x2183 003099 nrtn master 
+0x2184 003100 call check_attempt 
+0x2185 003101 nbranch master_attempt ,blank 
+:      003102 master_exit:
+0x2186 003103 disable master 
+0x2187 003104 rtn 
+:      003106 master_attempt:
+0x2188 003107 call prepare_tx 
+0x2189 003108 call master_conn_send_packet 
+0x218a 003109 branch master_loop 
+:      003112 check_master_disconnect:
+0x218b 003113 branch check_master_match ,match 
+0x218c 003114 call supervision_update 
+0x218d 003115 branch master_disconnect ,positive 
+:      003116 check_master_match:
+0x218e 003117 call check_disconnect_timeout 
+0x218f 003118 nbranch master_disconnect ,user 
+0x2190 003119 fetch 1 ,mem_state_map 
+0x2191 003120 rtnbit0 smap_name_req 
+0x2192 003121 rtnbit1 smap_name_res 
+0x2193 003122 fetch 1 ,mem_op 
+0x2194 003123 rtnbit1 op_disconn 
+0x2195 003124 call conn_timer_expired 
+0x2196 003125 nrtn blank 
+0x2197 003126 fetch 1 ,mem_nameres_cnt 
+0x2198 003127 increase -1 ,pdata 
+0x2199 003128 store 1 ,mem_nameres_cnt 
+0x219a 003129 nrtn blank 
+0x219b 003130 branch lmp_disconnect 
+:      003132 master_disconnect:
+0x219c 003133 bpatch patch04_0 ,mem_patch04 
+0x219d 003134 call quit_connection 
+0x219e 003135 disable master 
+0x219f 003136 fetch 1 ,mem_state_map 
+0x21a0 003137 bbit1 smap_name_req ,master_name_disconnect 
+0x21a1 003138 rtn 
+:      003140 master_name_disconnect:
+0x21a2 003141 fetch 1 ,mem_state_map 
+0x21a3 003142 rtnbit1 smap_name_res 
+:      003143 master_name_error:
+0x21a4 003144 arg mem_tmp_buffer ,contw 
+0x21a5 003145 arg 8 ,loopcnt 
+0x21a6 003146 branch memset0 
+:      003148 check_disconnect_timeout:
+0x21a7 003149 bpatch patch04_1 ,mem_patch04 
+0x21a8 003150 enable user 
+0x21a9 003151 fetch 1 ,mem_op 
+0x21aa 003152 rtnbit0 op_disconn 
+0x21ab 003153 call conn_timer_expired 
+0x21ac 003154 nrtn blank 
+0x21ad 003155 branch disable_user 
+:      003157 conn_timer_expired:
+0x21ae 003158 fetch 1 ,mem_conn_timer 
+0x21af 003159 increase -1 ,pdata 
+0x21b0 003160 store 1 ,mem_conn_timer 
+0x21b1 003161 rtn 
+:      003163 linkkey_ready:
+0x21b2 003164 bpatch patch04_2 ,mem_patch04 
+0x21b3 003165 fetch 1 ,mem_state 
+0x21b4 003166 bbit1 state_linkkey ,linkkey_set 
+0x21b5 003167 fetch 1 ,mem_pairing_auth 
+0x21b6 003168 branch linkkey_set ,blank 
+0x21b7 003169 jam defalt_pairing_auth ,mem_pairing_auth 
+0x21b8 003170 jam bt_evt_linkkey_generate ,mem_fifo_temp 
+0x21b9 003171 call ui_ipc_send_event 
+0x21ba 003172 branch linkkey_set 
+:      003173 linkkey_set:
+0x21bb 003174 bpatch patch04_3 ,mem_patch04 
+0x21bc 003175 call context_traverse_linkkey 
+0x21bd 003176 fetch 1 ,mem_state 
+0x21be 003177 set1 state_linkkey ,pdata 
+0x21bf 003178 store 1 ,mem_state 
+0x21c0 003179 jam 1 ,mem_link_key_exists 
+0x21c1 003180 fetch 1 ,mem_conn_sm 
+0x21c2 003181 bne conn_sm_pairing ,linkkey_set_continue 
+:      003182 linkkey_set_continue:
+0x21c3 003183 rtn 
+:      003185 generate_linkkey_continue:
+0x21c4 003186 jam pairing_auth ,mem_pairing_auth 
+:      003187 clear_linkstate:
+0x21c5 003188 fetch 1 ,mem_state 
+0x21c6 003189 set0 state_linkkey ,pdata 
+0x21c7 003190 store 1 ,mem_state 
+0x21c8 003191 rtn 
+:      003195 role_switch_check:
+0x21c9 003196 bpatch patch04_4 ,mem_patch04 
+0x21ca 003197 disable user 
+0x21cb 003198 fetch 2 ,mem_tsniff 
+0x21cc 003199 arg 0xffff ,temp 
+0x21cd 003200 isub temp ,null 
+0x21ce 003201 nrtn zero 
+0x21cf 003202 fetch 4 ,mem_sniff_anchor 
+0x21d0 003203 branch role_switch_clkn ,clknt 
+0x21d1 003204 isub clke_bt ,pdata 
+0x21d2 003205 branch role_switch_clke 
+:      003206 role_switch_clkn:
+0x21d3 003207 isub clkn_bt ,pdata 
+:      003208 role_switch_clke:
+0x21d4 003209 sub pdata ,4 ,null 
+0x21d5 003210 nrtn positive 
+0x21d6 003211 force 0 ,pdata 
+0x21d7 003212 store 2 ,mem_tsniff 
+0x21d8 003213 branch enable_user 
+:      003217 role_switch_prepare:
+0x21d9 003218 copy pdata ,temp 
+0x21da 003219 bpatch patch04_5 ,mem_patch04 
+0x21db 003220 storet 4 ,mem_sniff_anchor 
+:      003221 role_switch_prepare0:
+0x21dc 003222 jam switch_flag_accept ,mem_switch_flag 
+0x21dd 003223 setarg 0xffff 
+0x21de 003224 store 2 ,mem_tsniff 
+0x21df 003225 jam 1 ,mem_sniff_attempt 
+0x21e0 003226 rtn 
+:      003229 role_switch_master:
+0x21e1 003230 bpatch patch04_6 ,mem_patch04 
+0x21e2 003231 call role_switch_check 
+0x21e3 003232 nrtn user 
+0x21e4 003233 disable user 
+0x21e5 003234 jam param_newconnto ,mem_newconnto_counter 
+0x21e6 003235 set0 mark_fhs_already_good ,mark 
+:      003236 roles_waitfhs_loop:
+0x21e7 003237 call rf_setup_time_master_slot 
+0x21e8 003238 call master_recv_packet 
+0x21e9 003239 bmark1 mark_fhs_already_good ,roles_replyto_fhs 
+0x21ea 003240 call new_conn_timeout 
+0x21eb 003241 nbranch roles_waitfhs_loop ,blank 
+:      003242 role_switch_fail_master:
+0x21ec 003243 bpatch patch04_7 ,mem_patch04 
+0x21ed 003244 disable user 
+0x21ee 003245 deposit clkn_bt 
+0x21ef 003246 store 4 ,mem_next_btclk 
+0x21f0 003247 enable clknt 
+0x21f1 003248 enable master 
+0x21f2 003249 jam bt_evt_switch_fail_master ,mem_fifo_temp 
+0x21f3 003250 branch ui_ipc_send_event 
+:      003252 roles_replyto_fhs:
+0x21f4 003253 bpatch patch05_0 ,mem_patch05 
+0x21f5 003254 call rf_setup_time_slave_slot 
+0x21f6 003255 arg type_id ,type 
+0x21f7 003256 call master_send_packet 
+0x21f8 003257 disable clknt 
+0x21f9 003258 disable master 
+0x21fa 003259 call apply_switch_clke 
+0x21fb 003260 call prepare_newconn 
+:      003261 roles_newconns_loop:
+0x21fc 003262 bpatch patch05_1 ,mem_patch05 
+0x21fd 003263 call slave_newconn_once 
+0x21fe 003264 branch roles_newconns_responded ,match 
+0x21ff 003265 call new_conn_timeout 
+0x2200 003266 nbranch roles_newconns_loop ,blank 
+0x2201 003267 branch role_switch_fail_master 
+:      003268 roles_newconns_responded:
+0x2202 003269 fetch 1 ,mem_mode 
+0x2203 003270 set0 mode_master ,pdata 
+0x2204 003271 store 1 ,mem_mode 
+0x2205 003272 call supervision_flush 
+0x2206 003273 call calc_clke_offset 
+0x2207 003274 enable user 
+0x2208 003275 jam bt_evt_switch_success_master ,mem_fifo_temp 
+0x2209 003276 branch ui_ipc_send_event 
+:      003281 context_load:
+0x220a 003282 bpatch patch05_2 ,mem_patch05 
+0x220b 003283 set1 mark_context ,mark 
+0x220c 003284 deposit rega 
+0x220d 003285 store 2 ,mem_context_ptr 
+0x220e 003286 force context_size ,loopcnt 
+0x220f 003287 arg mem_le_state ,contw 
+0x2210 003288 add rega ,coffset_mode ,contr 
+0x2211 003289 ifetch 1 ,contr 
+0x2212 003290 copy rega ,contr 
+0x2213 003291 bbit1 mode_le ,memcpy 
+0x2214 003292 arg mem_state ,contw 
+0x2215 003293 call memcpy 
+0x2216 003294 disable attempt 
+0x2217 003295 fetch 1 ,mem_amaddr 
+0x2218 003296 iforce am_addr 
+0x2219 003297 jam 1 ,mem_current_sniff_attempt 
+0x221a 003298 branch context_load_master ,master 
+0x221b 003299 jam 1 ,mem_current_sniff_attempt 
+:      003300 context_load_master:
+0x221c 003301 fetch 1 ,mem_state 
+0x221d 003302 rtnbit0 state_insniff 
+0x221e 003303 fetch 1 ,mem_sniff_attempt 
+0x221f 003304 store 1 ,mem_current_sniff_attempt 
+0x2220 003305 fetch 1 ,mem_sniff_timeout 
+0x2221 003306 store 1 ,mem_current_sniff_timeout 
+0x2222 003307 rtn 
+:      003309 context_save:
+0x2223 003310 bpatch patch05_3 ,mem_patch05 
+0x2224 003311 fetch 2 ,mem_context_ptr 
+0x2225 003312 iforce contw 
+0x2226 003313 force context_size ,loopcnt 
+0x2227 003314 arg mem_le_state ,contr 
+0x2228 003315 branch memcpy ,le 
+0x2229 003316 arg mem_state ,contr 
+0x222a 003317 branch memcpy 
+:      003321 context_get_next:
+0x222b 003322 arg context_num ,loopcnt 
+0x222c 003323 fetcht 1 ,mem_current_context 
+:      003324 context_get_next_loop:
+0x222d 003325 increase 1 ,temp 
+0x222e 003326 compare context_num ,temp ,0xff 
+0x222f 003327 nbranch context_get_next_cont ,true 
+0x2230 003328 arg 0 ,temp 
+:      003329 context_get_next_cont:
+0x2231 003330 storet 1 ,mem_current_context 
+0x2232 003331 mul32 temp ,context_size ,pdata 
+0x2233 003332 arg mem_context ,rega 
+0x2234 003333 iadd rega ,rega 
+0x2235 003334 ifetch 1 ,rega 
+0x2236 003335 bbit1 state_insniff ,context_get_next_sniff 
+0x2237 003336 rtnbit1 state_inconn 
+0x2238 003337 rtnbit1 state_inpage 
+:      003338 context_get_next_sniff:
+0x2239 003339 loop context_get_next_loop 
+0x223a 003340 rtn 
+:      003342 context_new:
+0x223b 003343 bpatch patch05_4 ,mem_patch05 
+0x223c 003344 arg context_search_empty ,regc 
+0x223d 003345 call context_search 
+0x223e 003346 nrtn zero 
+0x223f 003347 deposit rega 
+0x2240 003348 store 2 ,mem_context_ptr 
+0x2241 003349 force 0 ,null 
+0x2242 003350 rtn 
+:      003354 context_check_all_wack:
+0x2243 003355 call check_esco_amaddr 
+0x2244 003356 branch context_check_esco_wack ,true 
+0x2245 003357 fetch 2 ,mem_context_ptr 
+0x2246 003358 add pdata ,coffset_arq ,contw 
+0x2247 003359 fetch 1 ,mem_arq 
+0x2248 003360 istore 1 ,contw 
+0x2249 003361 arg context_check_a_wack ,regc 
+0x224a 003362 branch context_search 
+:      003364 context_check_esco_wack:
+0x224b 003365 fetch 1 ,mem_arq 
+0x224c 003366 isolate1 wack ,pdata 
+0x224d 003367 branch context_esco_wack ,true 
+0x224e 003368 force 1 ,null 
+0x224f 003369 rtn 
+:      003370 context_esco_wack:
+0x2250 003371 force 0 ,null 
+0x2251 003372 rtn 
+:      003375 context_check_idle:
+0x2252 003376 arg context_check_inconn ,regc 
+0x2253 003377 branch context_search 
+:      003379 context_traverse_linkkey:
+0x2254 003380 fetcht 2 ,mem_context_ptr 
+0x2255 003381 arg context_traverse_clearkey ,regc 
+0x2256 003382 branch context_search 
+:      003386 context_search_conn_handle:
+0x2257 003387 fetcht 1 ,mem_hci_conn_handle 
+:      003388 context_search_conn_handle2:
+0x2258 003389 arg context_search_handle ,regc 
+0x2259 003390 branch context_search 
+:      003392 context_search_plap:
+0x225a 003393 bpatch patch05_5 ,mem_patch05 
+0x225b 003394 fetcht 6 ,mem_hci_plap 
+:      003395 context_search_plap2:
+0x225c 003396 arg context_search_lap ,regc 
+0x225d 003397 branch context_search 
+:      003399 context_search_insniff:
+0x225e 003400 arg context_search_sniff ,regc 
+0x225f 003401 branch context_search 
+:      003403 context_search_sniff_window:
+0x2260 003404 arg context_search_window ,regc 
+:      003405 context_search:
+0x2261 003406 bpatch patch05_6 ,mem_patch05 
+0x2262 003407 arg mem_context ,rega 
+0x2263 003408 arg context_num ,loopcnt 
+:      003409 context_search_loop:
+0x2264 003410 ifetch 1 ,rega 
+0x2265 003411 copy regc ,pc 
+:      003412 context_search_next:
+0x2266 003413 increase context_size ,rega 
+0x2267 003414 loop context_search_loop 
+0x2268 003415 force 1 ,null 
+0x2269 003416 rtn 
+:      003418 context_search_empty:
+0x226a 003419 bbit1 state_inconn ,context_search_next 
+0x226b 003420 bbit1 state_inpage ,context_search_next 
+0x226c 003421 force 0 ,null 
+0x226d 003422 rtn 
+:      003424 context_search_lap:
+0x226e 003425 bbit1 state_inpage ,context_search_lap_cont 
+0x226f 003426 bbit0 state_inconn ,context_search_next 
+:      003427 context_search_lap_cont:
+0x2270 003428 add rega ,coffset_plap ,contr 
+0x2271 003429 ifetch 6 ,contr 
+0x2272 003430 isub temp ,null 
+0x2273 003431 rtn zero 
+0x2274 003432 branch context_search_next 
+:      003434 context_search_handle:
+0x2275 003435 bbit0 state_inconn ,context_search_next 
+0x2276 003436 add rega ,coffset_conn_handle ,contr 
+0x2277 003437 ifetch 1 ,contr 
+0x2278 003438 isub temp ,null 
+0x2279 003439 rtn zero 
+0x227a 003440 branch context_search_next 
+:      003442 context_search_sniff:
+0x227b 003443 bbit0 state_insniff ,context_search_next 
+:      003444 context_search_sniff_loop:
+0x227c 003445 call context_get_anchor 
+0x227d 003446 call sign_pdata_temp 
+0x227e 003447 isub temp ,pdata 
+0x227f 003448 increase 1 ,pdata 
+0x2280 003449 branch context_search_sniff_miss ,positive 
+0x2281 003450 copy contr ,regb 
+0x2282 003451 store 9 ,mem_temp 
+0x2283 003452 fetch 1 ,mem_le_sc_calc 
+0x2284 003453 nbranch context_search_sniff_sc ,blank 
+0x2285 003454 fetch 9 ,mem_temp 
+0x2286 003455 copy regb ,contr 
+0x2287 003456 increase 5 ,pdata 
+0x2288 003457 branch context_search_meet1 
+:      003458 context_search_sniff_sc:
+0x2289 003459 fetch 9 ,mem_temp 
+0x228a 003460 copy regb ,contr 
+0x228b 003461 increase 20 ,pdata 
+:      003462 context_search_meet1:
+0x228c 003463 nbranch context_search_next ,positive 
+:      003464 context_search_meet:
+0x228d 003465 copy temp ,bt_clk 
+0x228e 003466 call context_next_anchor 
+0x228f 003467 force 0 ,null 
+0x2290 003468 rtn 
+:      003471 context_search_sniff_miss:
+0x2291 003472 iforce regb 
+0x2292 003473 add rega ,coffset_tsniff ,contr 
+0x2293 003474 ifetch 2 ,contr 
+0x2294 003475 branch context_search_meet ,blank 
+0x2295 003476 call context_next_anchor 
+0x2296 003477 branch context_search_sniff_loop 
+:      003479 sign_pdata_temp:
+0x2297 003480 rshift16 pdata ,timeup 
+0x2298 003481 rshift8 timeup ,timeup 
+0x2299 003482 branch sign_pdata_temp_p0 ,zero 
+0x229a 003483 compare 0xf ,timeup ,0xf 
+0x229b 003484 nrtn true 
+0x229c 003485 rshift16 temp ,timeup 
+0x229d 003486 rshift8 timeup ,timeup 
+0x229e 003487 nrtn zero 
+0x229f 003488 set1 28 ,temp 
+0x22a0 003489 rtn 
+:      003490 sign_pdata_temp_p0:
+0x22a1 003491 rshift16 temp ,timeup 
+0x22a2 003492 rshift8 timeup ,timeup 
+0x22a3 003493 compare 0xf ,timeup ,0xf 
+0x22a4 003494 nrtn true 
+0x22a5 003495 set1 28 ,pdata 
+0x22a6 003496 rtn 
+:      003498 context_check_inconn:
+0x22a7 003499 bbit0 state_inconn ,context_search_next 
+0x22a8 003500 force 0 ,null 
+0x22a9 003501 rtn 
+:      003503 context_check_a_wack:
+0x22aa 003504 bbit0 state_inconn ,context_search_next 
+0x22ab 003505 add rega ,coffset_mode ,contr 
+0x22ac 003506 ifetch 1 ,contr 
+0x22ad 003507 bbit1 mode_le ,context_search_next 
+0x22ae 003508 add rega ,coffset_arq ,contr 
+0x22af 003509 ifetch 1 ,contr 
+0x22b0 003510 bbit0 wack ,context_search_next 
+0x22b1 003511 force 0 ,null 
+0x22b2 003512 rtn 
+:      003514 context_get_anchor:
+0x22b3 003515 add rega ,coffset_mode ,contr 
+0x22b4 003516 ifetcht 1 ,contr 
+0x22b5 003517 deposit clkn_bt 
+0x22b6 003518 isolate1 mode_master ,temp 
+0x22b7 003519 add rega ,coffset_sniff_anchor ,contr 
+0x22b8 003520 ifetcht 4 ,contr 
+0x22b9 003521 rtn true 
+0x22ba 003522 add rega ,coffset_clk_offset ,contr 
+0x22bb 003523 ifetch 6 ,contr 
+0x22bc 003524 call calc_clke2 
+0x22bd 003525 deposit clke_bt 
+0x22be 003526 rtn 
+:      003528 context_next_anchor:
+0x22bf 003529 add rega ,coffset_tsniff ,contr 
+0x22c0 003530 add rega ,coffset_sniff_anchor ,contw 
+0x22c1 003531 ifetch 2 ,contr 
+0x22c2 003532 iadd temp ,timeup 
+0x22c3 003533 deposit timeup 
+0x22c4 003534 istore 4 ,contw 
+0x22c5 003535 branch le_context_nexthop 
+:      003538 context_search_window:
+0x22c6 003539 bbit0 state_insniff ,context_search_next 
+0x22c7 003540 call context_get_anchor 
+0x22c8 003541 iadd stop_watch ,pdata 
+0x22c9 003542 iadd stop_watch ,pdata 
+0x22ca 003543 iadd queue ,pdata 
+0x22cb 003544 isub temp ,null 
+0x22cc 003545 nbranch context_search_next ,positive 
+0x22cd 003546 force 0 ,null 
+0x22ce 003547 rtn 
+:      003549 context_traverse_clearkey:
+0x22cf 003550 bbit0 state_inconn ,context_search_next 
+0x22d0 003551 deposit temp 
+0x22d1 003552 isub rega ,null 
+0x22d2 003553 branch context_search_next ,null 
+0x22d3 003554 add rega ,coffset_mode ,contr 
+0x22d4 003555 ifetch 1 ,contr 
+0x22d5 003556 bbit1 mode_le ,context_search_next 
+0x22d6 003557 ifetch 1 ,rega 
+0x22d7 003558 set0 state_linkkey ,pdata 
+0x22d8 003559 istore 1 ,rega 
+0x22d9 003560 branch context_search_next 
+:      003563 master_conn_send_packet:
+0x22da 003564 bpatch patch05_7 ,mem_patch05 
+0x22db 003565 call rf_setup_time_master_slot 
+:      003566 master_send_packet:
+0x22dc 003567 add clkn_bt ,1 ,bt_clk 
+0x22dd 003568 call fetch_self_bt_adr 
+0x22de 003569 force 0x03 ,freq_mode 
+0x22df 003570 call tx_radio_freq 
+0x22e0 003571 call start_transmitter 
+0x22e1 003572 call start_tx_native 
+0x22e2 003573 call send_access_word 
+0x22e3 003574 branch transmit_packet 
+:      003576 master_conn_recv_packet:
+0x22e4 003577 bpatch patch06_0 ,mem_patch06 
+0x22e5 003578 call rf_setup_time_slave_slot 
+:      003579 master_recv_packet:
+0x22e6 003580 add clkn_bt ,1 ,bt_clk 
+0x22e7 003581 call fetch_self_bt_adr 
+0x22e8 003582 force 0x03 ,freq_mode 
+0x22e9 003583 call rx_radio_freq 
+0x22ea 003584 call init_rx_packet_flags 
+0x22eb 003585 call prep_crypt 
+0x22ec 003586 call start_rx_native 
+0x22ed 003587 call start_receiver 
+:      003588 master_rx_conn_finish_packet:
+0x22ee 003589 call wait_access_clkn_rt 
+0x22ef 003590 nrtn sync 
+0x22f0 003591 call save_rssi 
+0x22f1 003592 branch receive_packet 
+:      003596 master_newconn_once:
+0x22f2 003597 bpatch patch06_1 ,mem_patch06 
+0x22f3 003598 fetch 1 ,mem_fhs_am_addr 
+0x22f4 003599 iforce am_addr 
+0x22f5 003600 force type_poll ,type 
+0x22f6 003601 call master_conn_send_packet 
+0x22f7 003602 branch master_conn_recv_packet 
+:      003613 inquiry_scan_dispatch:
+0x22f8 003614 fetch 1 ,mem_scan_mode 
+0x22f9 003615 rtnbit0 inq_scan_mode 
+0x22fa 003616 force iscan_interval_timer ,queue 
+0x22fb 003617 call timer_check 
+0x22fc 003618 nrtn blank 
+0x22fd 003619 fetcht 2 ,mem_iscan_window 
+0x22fe 003620 force 4 ,queue 
+0x22ff 003621 call sniff_check_window 
+0x2300 003622 rtn user 
+0x2301 003623 call inquiry_scan_start 
+0x2302 003624 force iscan_interval_timer ,queue 
+0x2303 003625 fetch 2 ,mem_iscan_interval 
+0x2304 003626 nbranch timer_init ,sync 
+0x2305 003627 random pdata 
+0x2306 003628 iand mask3ff ,pdata 
+0x2307 003629 branch timer_init 
+:      003632 inquiry_scan_start:
+0x2308 003633 bpatch patch06_2 ,mem_patch06 
+0x2309 003634 jam 0 ,mem_fhs_am_addr 
+0x230a 003635 disable clknt 
+0x230b 003636 disable attempt 
+0x230c 003637 call afh_clear 
+0x230d 003638 and clkn_bt ,0x1fc ,bt_clk 
+0x230e 003639 force 0x01 ,freq_mode 
+0x230f 003640 call fetch_giac 
+0x2310 003641 call rx_radio_freq 
+0x2311 003642 setflip mark_inquiry_state ,mark 
+0x2312 003643 fetch 1 ,mem_inquiryscan_waitcnt 
+0x2313 003644 increase 1 ,pdata 
+0x2314 003645 store 1 ,mem_inquiryscan_waitcnt 
+0x2315 003646 call fetch_diac 
+0x2316 003647 call start_receiver 
+0x2317 003648 call wait_access_forever 
+0x2318 003649 nrtn sync 
+0x2319 003650 bpatch patch06_3 ,mem_patch06 
+0x231a 003651 force 0 ,stop_watch 
+0x231b 003652 call shutdown_radio 
+0x231c 003653 fetch 1 ,mem_inquiryscan_rcvcnt 
+0x231d 003654 increase 1 ,pdata 
+0x231e 003655 store 1 ,mem_inquiryscan_rcvcnt 
+0x231f 003656 call fetch_giac 
+0x2320 003657 call rf_setup_time_slave_slot 
+0x2321 003658 or_into 0x002 ,bt_clk 
+0x2322 003659 force 0x01 ,freq_mode 
+0x2323 003660 call tx_radio_freq 
+0x2324 003661 call fetch_diac 
+0x2325 003662 call start_transmitter 
+0x2326 003663 call start_tx_external 
+0x2327 003664 deposit clkn_bt 
+0x2328 003665 store 4 ,mem_clkn_bt 
+0x2329 003666 call send_access_word 
+0x232a 003667 force type_fhs ,type 
+0x232b 003668 force 0 ,am_addr 
+0x232c 003669 call scan_mode_whiten 
+0x232d 003670 call transmit_packet_whitened 
+0x232e 003671 call send_eir 
+0x232f 003672 and_into 0x1fd ,bt_clk 
+0x2330 003673 increase 1 ,n_tx_slot 
+0x2331 003674 rtn 
+:      003676 send_eir:
+0x2332 003677 bpatch patch06_4 ,mem_patch06 
+0x2333 003678 fetch 1 ,mem_eir_enable 
+0x2334 003679 rtn blank 
+0x2335 003680 arg mem_eir ,contw 
+0x2336 003681 fetch 1 ,mem_local_name_length 
+0x2337 003682 copy pdata ,loopcnt 
+0x2338 003683 increase 1 ,pdata 
+0x2339 003684 istore 1 ,contw 
+0x233a 003685 copy contw ,temp 
+0x233b 003686 increase 1 ,pdata 
+0x233c 003687 store 2 ,mem_tx_len 
+0x233d 003688 copy temp ,contw 
+0x233e 003689 setarg 0x09 
+0x233f 003690 istore 1 ,contw 
+0x2340 003691 arg mem_local_name ,contr 
+0x2341 003692 call memcpy 
+0x2342 003694 arg mem_all_uuid_128bits ,regc 
+0x2343 003695 arg 4 ,loopcnt 
+0x2344 003696 call get_all_uuid 
+0x2345 003697 arg mem_all_uuid_16bits ,regc 
+0x2346 003698 arg 1 ,loopcnt 
+0x2347 003699 call get_all_uuid 
+0x2348 003701 force type_dm3 ,type 
+0x2349 003702 jam 2 ,mem_tx_lch 
+0x234a 003703 setarg mem_eir 
+0x234b 003704 store 2 ,mem_txptr 
+0x234c 003705 call rf_setup_time_slave_slot 
+0x234d 003706 call tx_radio_freq 
+0x234e 003707 call start_transmitter 
+0x234f 003708 call start_tx_external 
+0x2350 003709 call send_access_word 
+0x2351 003710 call scan_mode_whiten 
+0x2352 003711 call transmit_packet_whitened 
+0x2353 003712 rtn 
+:      003715 get_all_uuid:
+0x2354 003716 copy contw ,temp 
+0x2355 003717 copy regc ,contr 
+0x2356 003718 ifetch 1 ,contr 
+0x2357 003719 rtn blank 
+:      003720 lshift_loop:
+0x2358 003721 lshift pdata ,pdata 
+0x2359 003722 loop lshift_loop 
+0x235a 003723 copy pdata ,rega 
+0x235b 003724 increase 2 ,pdata 
+0x235c 003725 copy pdata ,queue 
+0x235d 003726 fetch 2 ,mem_tx_len 
+0x235e 003727 iadd queue ,pdata 
+0x235f 003728 store 2 ,mem_tx_len 
+0x2360 003729 copy temp ,contw 
+0x2361 003730 copy rega ,pdata 
+0x2362 003731 increase 1 ,pdata 
+0x2363 003732 istore 1 ,contw 
+0x2364 003733 copy regc ,contr 
+0x2365 003734 ifetch 1 ,contr 
+0x2366 003735 ifetch 1 ,contr 
+0x2367 003736 istore 1 ,contw 
+0x2368 003737 copy rega ,loopcnt 
+0x2369 003738 branch memcpy 
+:      003744 page_scan_dispatch:
+0x236a 003745 fetch 1 ,mem_scan_mode 
+0x236b 003746 rtnbit0 page_scan_mode 
+0x236c 003747 force pscan_interval_timer ,queue 
+0x236d 003748 call timer_check 
+0x236e 003749 nrtn blank 
+0x236f 003750 fetcht 2 ,mem_pscan_window 
+0x2370 003751 force 40 ,queue 
+0x2371 003752 call sniff_check_window 
+0x2372 003753 rtn user 
+0x2373 003754 force 0 ,am_addr 
+0x2374 003755 jam param_pagerespto ,mem_fhs_wait_counter 
+0x2375 003756 set0 mark_fhs_already_good ,mark 
+0x2376 003757 call page_scan_start 
+0x2377 003758 force pscan_interval_timer ,queue 
+0x2378 003759 fetch 2 ,mem_pscan_interval 
+0x2379 003760 branch timer_init 
+:      003763 page_scan_start:
+0x237a 003764 bpatch patch06_5 ,mem_patch06 
+0x237b 003765 disable clknt 
+0x237c 003766 call afh_clear 
+0x237d 003767 fetch 1 ,mem_pagescan_waitcnt 
+0x237e 003768 increase 1 ,pdata 
+0x237f 003769 store 1 ,mem_pagescan_waitcnt 
+0x2380 003770 force 0 ,n_tx_slot 
+0x2381 003771 call fetch_self_bt_adr 
+0x2382 003772 add clkn_bt ,1 ,bt_clk 
+0x2383 003773 force 0x02 ,freq_mode 
+0x2384 003774 bpatch patch06_6 ,mem_patch06 
+0x2385 003775 call rx_radio_freq 
+0x2386 003776 call start_receiver 
+0x2387 003777 call wait_access_forever 
+0x2388 003778 nrtn sync 
+0x2389 003779 call shutdown_radio 
+0x238a 003780 fetch 1 ,mem_pagescan_rcvcnt 
+0x238b 003781 increase 1 ,pdata 
+0x238c 003782 store 1 ,mem_pagescan_rcvcnt 
+0x238d 003783 force 0 ,stop_watch 
+0x238e 003784 call rf_setup_time_slave_slot 
+0x238f 003785 or_into 0x002 ,bt_clk 
+0x2390 003786 force 0x01 ,freq_mode 
+0x2391 003787 call tx_radio_freq 
+0x2392 003788 call start_transmitter 
+0x2393 003789 call start_tx_external 
+0x2394 003790 call send_access_word 
+0x2395 003791 call end_of_packet 
+0x2396 003792 force 0 ,am_addr 
+0x2397 003793 arg param_rf_setup ,timeup 
+0x2398 003794 until clke_rt ,meet 
+0x2399 003795 or_into 0x03 ,clke_bt 
+0x239a 003796 and_into 0x1fd ,bt_clk 
+:      003797 page_scan_wait_fhs_restart:
+0x239b 003798 bpatch patch06_7 ,mem_patch06 
+0x239c 003799 increase 1 ,n_tx_slot 
+0x239d 003800 call rx_radio_freq 
+0x239e 003801 call start_receiver 
+0x239f 003802 call wait_access_mhalfbnd 
+0x23a0 003803 nbranch page_scan_wait_fhs_again ,sync 
+0x23a1 003804 call scan_mode_whiten 
+0x23a2 003805 call receive_packet_whitened 
+0x23a3 003806 bmark1 mark_fhs_already_good ,page_scan_reply_to_fhs 
+:      003807 page_scan_wait_fhs_again:
+0x23a4 003808 bpatch patch07_0 ,mem_patch07 
+0x23a5 003809 fetch 1 ,mem_fhs_wait_counter 
+0x23a6 003810 rtn blank 
+0x23a7 003811 increase -1 ,pdata 
+0x23a8 003812 store 1 ,mem_fhs_wait_counter 
+0x23a9 003813 call rf_setup_time_master_slot 
+0x23aa 003814 branch page_scan_wait_fhs_restart 
+:      003817 page_scan_reply_to_fhs:
+0x23ab 003818 bpatch patch07_1 ,mem_patch07 
+0x23ac 003819 set0 1 ,clke_bt 
+0x23ad 003820 set1 0 ,clke_bt 
+0x23ae 003821 fetch 1 ,mem_pagescan_rcvfhscnt 
+0x23af 003822 increase 1 ,pdata 
+0x23b0 003823 store 1 ,mem_pagescan_rcvfhscnt 
+0x23b1 003824 call rf_setup_time_slave_slot 
+0x23b2 003825 or_into 0x02 ,bt_clk 
+0x23b3 003826 call tx_radio_freq 
+0x23b4 003827 call start_transmitter 
+0x23b5 003828 call start_tx_external 
+0x23b6 003829 call send_access_word 
+0x23b7 003830 call end_of_packet 
+:      003831 slave_apply_clke_bt:
+0x23b8 003832 compare 0x03 ,clke_bt ,0x03 
+0x23b9 003833 branch slave_apply_clke_bt_now ,true 
+0x23ba 003834 until null ,mhalfbnd 
+0x23bb 003835 branch slave_apply_clke_bt 
+:      003836 slave_apply_clke_bt_now:
+0x23bc 003837 fetch 4 ,mem_clke_bt 
+0x23bd 003838 or_into 0x03 ,pdata 
+0x23be 003839 icopy clke_bt 
+:      003841 start_slave_connection:
+0x23bf 003842 bpatch patch07_2 ,mem_patch07 
+0x23c0 003843 fetch 6 ,extm_lap 
+0x23c1 003844 store 6 ,mem_plap 
+0x23c2 003845 call prepare_newconn 
+:      003846 slave_newconn_loop:
+0x23c3 003847 call slave_newconn_once 
+0x23c4 003848 branch sconn_successful ,match 
+0x23c5 003849 call new_conn_timeout 
+0x23c6 003850 nbranch slave_newconn_loop ,blank 
+0x23c7 003851 rtn 
+:      003854 sconn_successful:
+0x23c8 003855 bpatch patch07_3 ,mem_patch07 
+0x23c9 003856 call newconn_init 
+0x23ca 003857 call context_new 
+0x23cb 003858 nrtn zero 
+0x23cc 003859 jam 0 ,mem_mode 
+0x23cd 003860 call calc_clke_offset 
+0x23ce 003861 branch context_save 
+:      003866 slave_dispatch:
+0x23cf 003867 bpatch patch07_4 ,mem_patch07 
+0x23d0 003868 call calc_clke 
+0x23d1 003869 call role_switch_slave 
+0x23d2 003870 rtn user 
+:      003871 slave_loop:
+0x23d3 003872 bpatch patch07_5 ,mem_patch07 
+0x23d4 003873 call check_bt_disabled 
+0x23d5 003874 call scheduler_process 
+0x23d6 003875 call slave_conn_recv_packet 
+0x23d7 003876 nbranch slave_notmatch ,match 
+0x23d8 003877 call supervision_flush 
+0x23d9 003878 call scheduler_tx_l2cap_pkt 
+0x23da 003879 call prepare_tx 
+0x23db 003880 call slave_conn_send_packet 
+0x23dc 003881 call parse_l2cap 
+0x23dd 003882 call parse_lmp 
+0x23de 003883 fetch 1 ,mem_slave_rcvcnt 
+0x23df 003884 increase 1 ,pdata 
+0x23e0 003885 store 1 ,mem_slave_rcvcnt 
+0x23e1 003886 call calc_clke_offset 
+:      003887 slave_notmatch:
+0x23e2 003888 bpatch patch07_6 ,mem_patch07 
+0x23e3 003889 call lpm_set_mult 
+0x23e4 003890 call supervision_update 
+0x23e5 003891 branch slave_disconnect ,positive 
+0x23e6 003892 call check_disconnect_timeout 
+0x23e7 003893 nbranch slave_disconnect ,user 
+0x23e8 003894 call check_attempt 
+0x23e9 003895 nbranch slave_loop ,blank 
+0x23ea 003896 rtn 
+:      003898 slave_disconnect:
+0x23eb 003899 bpatch patch07_7 ,mem_patch07 
+0x23ec 003900 jam 0 ,mem_tester_emulate 
+0x23ed 003901 jam 0 ,mem_debug_config 
+0x23ee 003902 call quit_connection 
+0x23ef 003903 set0 mark_testmode ,mark 
+0x23f0 003904 call test_enable_white 
+0x23f1 003905 fetch 1 ,mem_state 
+0x23f2 003906 rtn 
+:      003909 role_switch_slave:
+0x23f3 003910 bpatch patch08_0 ,mem_patch08 
+0x23f4 003911 call role_switch_check 
+0x23f5 003912 nrtn user 
+0x23f6 003913 copy am_addr ,temp 
+0x23f7 003914 call get_free_amaddr 
+0x23f8 003915 store 1 ,mem_fhs_am_addr 
+0x23f9 003916 copy temp ,am_addr 
+0x23fa 003917 jam param_newconnto ,mem_newconnto_counter 
+:      003918 roles_sendfhs_loop:
+0x23fb 003919 bpatch patch08_1 ,mem_patch08 
+0x23fc 003920 call rf_setup_time_master_slot 
+0x23fd 003921 force type_fhs ,type 
+0x23fe 003922 call slave_send_access 
+0x23ff 003923 deposit clkn_bt 
+0x2400 003924 store 4 ,mem_clkn_bt 
+0x2401 003925 call transmit_packet 
+0x2402 003926 call rf_setup_time_slave_slot 
+0x2403 003927 enable user3 
+0x2404 003928 call slave_receive_access 
+0x2405 003929 branch roles_got_fhs_reply ,sync 
+0x2406 003930 call shutdown_radio 
+0x2407 003931 call new_conn_timeout 
+0x2408 003932 nbranch roles_sendfhs_loop ,blank 
+0x2409 003933 rtnmark0 mark_accept_switch 
+0x240a 003934 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x240b 003935 set1 mark_switch_initiated ,mark 
+0x240c 003936 rtn 
+:      003937 roles_got_fhs_reply:
+0x240d 003938 enable clknt 
+0x240e 003939 call prepare_newconn 
+0x240f 003940 call afh_clear 
+:      003941 roles_newconn_loop:
+0x2410 003942 bpatch patch08_2 ,mem_patch08 
+0x2411 003943 call master_newconn_once 
+0x2412 003944 branch roles_newconn_responded ,sync 
+0x2413 003945 call new_conn_timeout 
+0x2414 003946 nbranch roles_newconn_loop ,blank 
+0x2415 003947 disable clknt 
+0x2416 003948 deposit clke_bt 
+0x2417 003949 store 4 ,mem_next_btclk 
+0x2418 003950 rtn 
+:      003951 roles_newconn_responded:
+0x2419 003952 enable master 
+0x241a 003953 bmark0 mark_accept_switch ,roles_newconn_nolmp 
+0x241b 003954 set0 mark_accept_switch ,mark 
+0x241c 003955 jam lmp_accepted ,mem_lmo_opcode2 
+0x241d 003956 jam lmp_host_connection_req ,mem_lmi_opcode2 
+0x241e 003957 call tid_set_reply 
+:      003958 roles_newconn_nolmp:
+0x241f 003959 deposit am_addr 
+0x2420 003960 store 1 ,mem_amaddr 
+0x2421 003961 force 0 ,pdata 
+0x2422 003962 store 6 ,mem_clk_offset 
+0x2423 003963 fetch 1 ,mem_mode 
+0x2424 003964 set1 mode_master ,pdata 
+0x2425 003965 store 1 ,mem_mode 
+0x2426 003966 call supervision_flush 
+0x2427 003967 disable master 
+0x2428 003968 enable user 
+0x2429 003969 rtn 
+:      003973 init_rx_packet_flags:
+0x242a 003974 bpatch patch08_3 ,mem_patch08 
+0x242b 003975 disable match 
+0x242c 003976 set0 mark_loopback ,mark 
+0x242d 003977 set0 mark_am_addr_broadcast ,mark 
+0x242e 003978 set0 mark_longpacket ,mark 
+0x242f 003979 set0 mark_old_packet ,mark 
+0x2430 003980 fetch 1 ,mem_arq 
+0x2431 003981 set0 arqnx ,pdata 
+0x2432 003982 set1 flowx ,pdata 
+0x2433 003983 store 1 ,mem_arq 
+0x2434 003984 rtn 
+:      003986 prepare_newconn:
+0x2435 003987 bpatch patch08_4 ,mem_patch08 
+0x2436 003988 jam param_newconnto ,mem_newconnto_counter 
+0x2437 003989 jam param_newconn_arq ,mem_arq 
+0x2438 003990 fetch 2 ,mem_rx_window_init 
+0x2439 003991 store 2 ,mem_rx_window 
+0x243a 003992 deposit clkn_bt 
+0x243b 003993 store 4 ,mem_next_btclk 
+0x243c 003994 rtn clknt 
+0x243d 003995 deposit clke_bt 
+0x243e 003996 store 4 ,mem_next_btclk 
+0x243f 003997 rtn 
+:      003999 newconn_init:
+0x2440 004000 bpatch patch08_5 ,mem_patch08 
+0x2441 004001 call init_lmp_reinit 
+0x2442 004002 call new_conn_handle 
+0x2443 004003 store 1 ,mem_conn_handle 
+0x2444 004004 setarg 0 
+0x2445 004005 store 2 ,mem_l2cap_rxbuff1_len 
+0x2446 004006 setarg param_supervision_to 
+0x2447 004007 store 2 ,mem_supervision_to 
+0x2448 004008 fetch 1 ,mem_state 
+0x2449 004009 set1 state_inconn ,pdata 
+0x244a 004010 store 1 ,mem_state 
+0x244b 004011 jam 0 ,mem_op 
+0x244c 004012 jam 0 ,mem_state_map 
+0x244d 004013 jam 0 ,mem_lpm_current_mult 
+0x244e 004014 branch supervision_flush 
+:      004017 clear_linkkey:
+0x244f 004018 bpatch patch08_6 ,mem_patch08 
+0x2450 004019 force 0 ,pdata 
+0x2451 004020 store 8 ,mem_link_key 
+0x2452 004021 istore 8 ,contw 
+0x2453 004022 call clear_linkstate 
+0x2454 004023 branch context_traverse_linkkey 
+:      004025 new_conn_timeout:
+0x2455 004026 fetch 1 ,mem_newconnto_counter 
+0x2456 004027 increase -1 ,pdata 
+0x2457 004028 store 1 ,mem_newconnto_counter 
+0x2458 004029 rtn 
+:      004031 new_conn_handle:
+0x2459 004032 fetch 1 ,mem_handle_num 
+0x245a 004033 increase 1 ,pdata 
+0x245b 004034 store 1 ,mem_handle_num 
+0x245c 004035 rtn 
+:      004038 quit_connection:
+0x245d 004039 bpatch patch08_7 ,mem_patch08 
+0x245e 004040 fetch 1 ,mem_hci_cmd 
+0x245f 004041 beq hci_cmd_remote_name_req ,quit_connection_name 
+0x2460 004042 fetch 1 ,mem_lmp_to_send 
+0x2461 004043 bne lmp_name_req ,quit_connection_cont 
+:      004044 quit_connection_name:
+0x2462 004045 call cmd_check_plap 
+0x2463 004046 nbranch quit_connection_cont ,zero 
+0x2464 004047 call master_name_error 
+0x2465 004048 jam 0 ,mem_hci_cmd 
+:      004049 quit_connection_cont:
+0x2466 004050 bpatch patch09_0 ,mem_patch09 
+0x2467 004051 call app_disconn_reason_collect_bt 
+0x2468 004052 call sniff_exit 
+0x2469 004053 jam bt_evt_bb_disconnected ,mem_fifo_temp 
+0x246a 004054 call ui_ipc_send_event 
+0x246b 004055 call init_lmp_work 
+0x246c 004056 call l2cap_init_work 
+0x246d 004057 call sp_initialize 
+0x246e 004058 fetch 1 ,mem_state 
+0x246f 004059 set0 state_inconn 
+0x2470 004060 store 1 ,mem_state 
+0x2471 004061 jam 0 ,memui_reconnect_mode 
+0x2472 004063 fetch 1 ,mem_state_map 
+0x2473 004064 compare 0x0 ,pdata ,0xc0 
+0x2474 004065 branch quit_connection_not_clear_mark ,true 
+0x2475 004066 set0 mark_rxbuf_inuse ,mark 
+:      004067 quit_connection_not_clear_mark:
+0x2476 004068 fetch 1 ,mem_arq 
+0x2477 004069 bbit0 wack ,quit_connection_not_clear_tx 
+:      004070 quit_connection_not_clear_tx:
+0x2478 004071 fetch 1 ,mem_op 
+0x2479 004072 rtnbit0 op_txl2cap 
+0x247a 004073 set0 mark_tx_l2cap ,mark 
+0x247b 004074 rtn 
+:      004076 slave_newconn_once:
+0x247c 004077 bpatch patch09_1 ,mem_patch09 
+0x247d 004078 fetch 1 ,extm_newconn_am_addr 
+0x247e 004079 rtn blank 
+0x247f 004080 icopy am_addr 
+0x2480 004081 call slave_conn_recv_packet 
+0x2481 004082 nrtn match 
+0x2482 004083 force type_null ,type 
+0x2483 004084 call slave_conn_send_packet 
+0x2484 004085 deposit am_addr 
+0x2485 004086 store 1 ,mem_amaddr 
+0x2486 004087 force 0 ,pdata 
+0x2487 004088 store 1 ,extm_newconn_am_addr 
+0x2488 004089 rtn 
+:      004095 prepare_tx:
+0x2489 004096 bpatch patch09_2 ,mem_patch09 
+0x248a 004097 fetch 1 ,mem_state 
+0x248b 004098 bbit0 state_insco ,prepare_tx_not_sco 
+0x248c 004099 force type_hv3 ,type 
+0x248d 004100 bmark0 mark_esco ,prepare_tx_not_esco 
+0x248e 004101 call check_esco_amaddr 
+0x248f 004102 nbranch prepare_tx_not_sco ,true 
+0x2490 004103 branch prepare_tx_not_sco ,attempt 
+0x2491 004104 call set_wait_ack 
+0x2492 004105 setarg 2 
+0x2493 004106 store 2 ,mem_retransmission_cnt 
+0x2494 004107 rtn 
+:      004108 prepare_tx_not_esco:
+0x2495 004109 nrtn attempt 
+:      004110 prepare_tx_not_sco:
+0x2496 004111 bpatch patch09_3 ,mem_patch09 
+0x2497 004112 call context_check_all_wack 
+0x2498 004113 nbranch prepare_tx_no_retransmit ,zero 
+0x2499 004114 fetch 1 ,mem_arq 
+0x249a 004115 bbit0 wack ,prepare_tx_pollnull 
+:      004116 prepare_tx_retransmit:
+0x249b 004117 bmark1 mark_loopback ,prepare_tx_loopback 
+0x249c 004118 fetch 1 ,mem_debug_config 
+0x249d 004119 bbit1 debug_tx_pattern ,prepare_tx_txpat 
+0x249e 004120 fetch 2 ,mem_retransmission_cnt 
+0x249f 004121 increase -1 ,pdata 
+0x24a0 004122 store 2 ,mem_retransmission_cnt 
+0x24a1 004123 branch prepare_tx_nomore_retransmit ,blank 
+0x24a2 004124 fetch 1 ,mem_last_type 
+0x24a3 004125 iforce type 
+0x24a4 004126 rtn 
+:      004128 prepare_tx_nomore_retransmit:
+0x24a5 004129 bpatch patch09_4 ,mem_patch09 
+0x24a6 004130 call clear_got_tx 
+:      004131 prepare_tx_no_retransmit:
+0x24a7 004132 call check_esco_amaddr 
+0x24a8 004133 branch prepare_tx_pollnull ,true 
+0x24a9 004134 call send_lmp 
+0x24aa 004135 branch prepare_tx_sendlmp ,user 
+0x24ab 004136 fetch 1 ,mem_op 
+0x24ac 004137 bbit1 op_txl2cap ,prepare_tx_sendl2cap 
+0x24ad 004138 bmark1 mark_loopback ,prepare_tx_loopback 
+0x24ae 004139 fetch 1 ,mem_debug_config 
+0x24af 004140 bbit1 debug_tx_pattern ,prepare_tx_txpat 
+:      004141 prepare_tx_pollnull:
+0x24b0 004142 force type_poll ,type 
+0x24b1 004143 rtn master 
+0x24b2 004144 force type_null ,type 
+0x24b3 004145 rtn 
+:      004146 prepare_tx_loopback:
+0x24b4 004147 bpatch patch09_5 ,mem_patch09 
+0x24b5 004148 fetch 1 ,mem_rx_type 
+0x24b6 004149 iforce type 
+0x24b7 004150 rtnne 1 
+0x24b8 004151 force type_null ,type 
+0x24b9 004152 rtn 
+:      004153 prepare_tx_txpat:
+0x24ba 004154 fetch 1 ,test_mode_packet_type 
+0x24bb 004155 and pdata ,0xf ,type 
+0x24bc 004156 set1 mark_loopback ,mark 
+0x24bd 004157 rtn 
+:      004158 prepare_tx_sendlmp:
+0x24be 004159 force type_lmp ,type 
+0x24bf 004160 branch set_wait_ack 
+:      004161 prepare_tx_sendl2cap:
+0x24c0 004162 call tx_l2cap_type 
+:      004164 set_wait_ack:
+0x24c1 004165 bpatch patch09_6 ,mem_patch09 
+0x24c2 004166 fetcht 1 ,mem_arq 
+0x24c3 004167 set1 wack ,temp 
+0x24c4 004168 storet 1 ,mem_arq 
+0x24c5 004169 deposit type 
+0x24c6 004170 store 1 ,mem_last_type 
+0x24c7 004171 setarg 0xffff 
+0x24c8 004172 store 2 ,mem_retransmission_cnt 
+0x24c9 004173 rtn 
+:      004175 tx_l2cap_type:
+0x24ca 004176 bpatch patch09_7 ,mem_patch09 
+0x24cb 004177 fetch 1 ,mem_state_map 
+0x24cc 004178 isolate1 smap_edr ,pdata 
+0x24cd 004179 fetch 2 ,mem_tx_len 
+0x24ce 004180 branch tx_l2cap_type_edr ,true 
+0x24cf 004181 force type_dm1 ,type 
+0x24d0 004182 sub pdata ,17 ,null 
+0x24d1 004183 rtn positive 
+0x24d2 004184 force type_dh1 ,type 
+0x24d3 004185 sub pdata ,27 ,null 
+0x24d4 004186 rtn positive 
+0x24d5 004187 force type_dm3 ,type 
+0x24d6 004188 sub pdata ,121 ,null 
+0x24d7 004189 rtn positive 
+0x24d8 004190 force type_dh3 ,type 
+0x24d9 004191 sub pdata ,183 ,null 
+0x24da 004192 rtn positive 
+0x24db 004193 force type_dm5 ,type 
+0x24dc 004194 sub pdata ,224 ,null 
+0x24dd 004195 rtn positive 
+0x24de 004196 force type_dh5 ,type 
+0x24df 004197 rtn 
+:      004198 tx_l2cap_type_edr:
+0x24e0 004199 force type_dm1 ,type 
+0x24e1 004200 sub pdata ,17 ,null 
+0x24e2 004201 rtn positive 
+0x24e3 004202 force type_dh1 ,type 
+0x24e4 004203 sub pdata ,54 ,null 
+0x24e5 004204 rtn positive 
+0x24e6 004205 force type_dm3 ,type 
+0x24e7 004206 arg 367 ,temp 
+0x24e8 004207 isub temp ,null 
+0x24e9 004208 nrtn positive 
+0x24ea 004209 force type_dm5 ,type 
+0x24eb 004210 arg 679 ,temp 
+0x24ec 004211 isub temp ,null 
+0x24ed 004212 nrtn positive 
+0x24ee 004213 force type_dh5 ,type 
+0x24ef 004214 rtn 
+:      004223 slave_receive_master_slot:
+0x24f0 004224 fetch 1 ,mem_state 
+0x24f1 004225 bbit0 state_insniff ,slave_receive_notsniff 
+0x24f2 004226 fetch 2 ,mem_tsniff 
+0x24f3 004227 branch slave_receive_notsniff ,blank 
+0x24f4 004228 nbranch slave_receive_sniff ,attempt 
+:      004229 slave_receive_notsniff:
+0x24f5 004230 call rf_setup_time_master_slot 
+:      004231 slave_receive_access:
+0x24f6 004232 add clke_bt ,1 ,bt_clk 
+:      004233 slave_receive_sniff:
+0x24f7 004234 enable swfine 
+0x24f8 004235 fetch 2 ,mem_rx_window 
+0x24f9 004236 rshift pdata ,pdata 
+0x24fa 004237 arg param_pll_setup ,temp 
+0x24fb 004238 iadd temp ,pdata 
+0x24fc 004239 call ahead_window 
+0x24fd 004240 call fetch_extm_bt_adr 
+0x24fe 004241 force 0x03 ,freq_mode 
+0x24ff 004242 call rx_radio_freq 
+0x2500 004243 call init_rx_packet_flags 
+0x2501 004244 call prep_crypt 
+0x2502 004245 bpatch patch0a_0 ,mem_patch0a 
+0x2503 004246 fetch 2 ,mem_rx_window 
+0x2504 004247 rshift pdata ,pdata 
+0x2505 004248 call ahead_window 
+0x2506 004249 call start_receiver 
+0x2507 004250 enable decode_fec0 
+0x2508 004251 fetch 2 ,mem_rx_window 
+0x2509 004252 arg param_clke_cal ,temp 
+0x250a 004253 iadd temp ,stop_watch 
+0x250b 004254 correlate null ,timeout 
+0x250c 004255 copy clke ,temp 
+0x250d 004256 storet 6 ,mem_sync_clke 
+0x250e 004257 disable decode_fec0 
+0x250f 004258 nrtn sync 
+0x2510 004259 arg param_clke_cal ,clke_rt 
+0x2511 004260 copy bt_clk ,clke_bt 
+0x2512 004261 branch lpm_adjust_clk ,wake 
+0x2513 004262 rtn 
+:      004265 slave_conn_recv_packet:
+0x2514 004266 bpatch patch0a_1 ,mem_patch0a 
+0x2515 004267 call slave_receive_master_slot 
+0x2516 004268 nbranch shutdown_radio ,sync 
+0x2517 004269 call save_rssi 
+0x2518 004270 bmark0 mark_testmode ,receive_packet 
+0x2519 004271 fetch 2 ,mem_tst_pktcnt_sync 
+0x251a 004272 increase 1 ,pdata 
+0x251b 004273 store 2 ,mem_tst_pktcnt_sync 
+:      004274 receive_packet:
+0x251c 004275 rshift bt_clk ,temp 
+0x251d 004276 or temp ,0x40 ,white_init 
+:      004277 receive_packet_whitened:
+0x251e 004278 bpatch patch0a_2 ,mem_patch0a 
+0x251f 004279 enable enable_white 
+0x2520 004280 enable enable_hec 
+0x2521 004281 enable decode_fec1 
+0x2522 004282 parse demod ,bucket ,3 
+0x2523 004283 rshift8 pwindow ,pdata 
+0x2524 004284 store 1 ,mem_temp_am_addr 
+0x2525 004285 parse demod ,bucket ,4 
+0x2526 004286 inject bucket ,7 
+0x2527 004287 copy pwindow ,pdata 
+0x2528 004288 store 1 ,mem_rx_type 
+0x2529 004289 parse demod ,bucket ,3 
+0x252a 004290 rshift8 pwindow ,pdata 
+0x252b 004291 store 1 ,mem_temp_arq 
+0x252c 004292 fetch 1 ,mem_rx_type 
+0x252d 004293 sub pdata ,3 ,null 
+0x252e 004294 branch receive_packet_noedr ,positive 
+0x252f 004295 beq 7 ,receive_packet_noedr 
+0x2530 004296 fetch 1 ,mem_state_map 
+0x2531 004297 isolate1 smap_edr ,pdata 
+0x2532 004298 setflag true ,psk ,radio_ctrl 
+:      004299 receive_packet_noedr:
+0x2533 004300 bpatch patch0a_3 ,mem_patch0a 
+0x2534 004301 parse demod ,bucket ,8 
+0x2535 004302 disable decode_fec1 
+0x2536 004303 disable enable_hec 
+0x2537 004304 branch error_header ,crc_failed 
+0x2538 004305 bmark0 mark_testmode ,receive_packet_amchk 
+0x2539 004306 fetch 2 ,mem_tst_pktcnt_hec 
+0x253a 004307 increase 1 ,pdata 
+0x253b 004308 store 2 ,mem_tst_pktcnt_hec 
+:      004309 receive_packet_amchk:
+0x253c 004310 bpatch patch0a_4 ,mem_patch0a 
+0x253d 004311 fetch 1 ,mem_temp_am_addr 
+0x253e 004312 compare 0 ,pdata ,0x07 
+0x253f 004313 setflag true ,mark_am_addr_broadcast ,mark 
+0x2540 004314 branch am_addr_ok ,true 
+0x2541 004315 icompare 0x07 ,am_addr 
+0x2542 004316 branch am_addr_match ,true 
+0x2543 004317 bmark0 mark_esco ,end_of_packet 
+0x2544 004318 fetcht 1 ,mem_saved_amaddr 
+0x2545 004319 icompare 0x7 ,temp 
+0x2546 004320 nbranch end_of_packet ,true 
+0x2547 004321 fetch 1 ,mem_arq 
+0x2548 004322 set0 arqnx ,pdata 
+0x2549 004323 set1 flowx ,pdata 
+0x254a 004324 store 1 ,mem_arq 
+:      004325 am_addr_match:
+0x254b 004326 enable match 
+:      004327 am_addr_ok:
+0x254c 004328 bpatch patch0a_5 ,mem_patch0a 
+0x254d 004329 fetch 1 ,mem_rx_type 
+0x254e 004330 icopy type 
+0x254f 004331 bmark1 mark_am_addr_broadcast ,arqn_bypass 
+0x2550 004332 fetcht 1 ,mem_temp_arq 
+0x2551 004333 fetch 1 ,mem_arq 
+0x2552 004334 set0 flow ,pdata 
+0x2553 004335 isolate1 flow ,temp 
+0x2554 004336 setflag true ,flow ,pdata 
+0x2555 004337 isolate1 arqn ,temp 
+0x2556 004338 setflag true ,arqn ,pdata 
+0x2557 004339 store 1 ,mem_arq 
+0x2558 004340 isolate0 arqn ,temp 
+0x2559 004341 branch arqn_bypass ,true 
+0x255a 004342 call clear_got_tx 
+:      004343 arqn_bypass:
+0x255b 004344 bpatch patch0a_6 ,mem_patch0a 
+0x255c 004345 arg 0 ,temp 
+0x255d 004346 call reserve_slot 
+0x255e 004347 and type ,0xf ,pdata 
+0x255f 004348 beq type_poll ,process_poll 
+0x2560 004349 beq type_null ,end_of_packet 
+0x2561 004350 beq type_fhs ,process_fhs 
+0x2562 004351 fetcht 1 ,mem_temp_arq 
+0x2563 004352 fetch 1 ,mem_arq 
+0x2564 004353 icompare 0x04 ,temp 
+0x2565 004354 nbranch rx_type_dispatch ,true 
+0x2566 004355 bmark0 mark_am_addr_broadcast ,failed_seqn 
+0x2567 004356 bbit0 bcast1 ,rx_type_dispatch 
+:      004357 failed_seqn:
+0x2568 004358 set1 mark_old_packet ,mark 
+:      004359 rx_type_dispatch:
+0x2569 004360 bpatch patch0a_7 ,mem_patch0a 
+0x256a 004361 deposit type 
+0x256b 004362 beq type_dm1 ,process_dm1 
+0x256c 004363 beq type_dh1 ,process_dh1 
+0x256d 004364 beq type_hv3 ,process_hev 
+0x256e 004365 beq type_3dh1 ,process_3dh1 
+0x256f 004366 arg 4 ,temp 
+0x2570 004367 call reserve_slot 
+0x2571 004368 beq type_dm3 ,process_dm3 
+0x2572 004369 beq type_dh3 ,process_dh3 
+0x2573 004370 arg 8 ,temp 
+0x2574 004371 call reserve_slot 
+0x2575 004372 beq type_dm5 ,process_dm5 
+0x2576 004373 beq type_dh5 ,process_dh5 
+0x2577 004374 rtn 
+:      004377 process_hev:
+0x2578 004378 bpatch patch0b_0 ,mem_patch0b 
+0x2579 004379 enable decode_fec0 
+0x257a 004380 enable enable_crc 
+0x257b 004381 enable encrypt 
+0x257c 004382 arg mem_sco_ibuf ,contw 
+0x257d 004383 force 30 ,loopcnt 
+:      004384 process_hev_loop:
+0x257e 004385 parse demod ,bucket ,8 
+0x257f 004386 rshift3 pwindow ,pdata 
+0x2580 004387 istore 1 ,contw 
+0x2581 004388 loop process_hev_loop 
+0x2582 004389 bmark0 mark_esco ,end_of_packet 
+0x2583 004390 parse demod ,bucket ,16 
+0x2584 004391 nsetflag crc_failed ,mark_esco_rxok ,mark 
+0x2585 004392 branch error_payload ,crc_failed 
+0x2586 004393 branch ack_payload 
+:      004396 process_poll:
+0x2587 004397 branch end_of_packet 
+:      004399 process_dm3:
+:      004400 process_dm5:
+0x2588 004401 set1 mark_longpacket ,mark 
+:      004402 process_dm1:
+0x2589 004403 enable decode_fec2 
+0x258a 004404 branch process_dmh 
+:      004406 process_dh3:
+:      004407 process_dh5:
+0x258b 004408 set1 mark_longpacket ,mark 
+:      004409 process_3dh1:
+0x258c 004410 set1 psk3m ,radio_ctrl 
+:      004411 process_dh1:
+0x258d 004412 enable decode_fec0 
+:      004413 process_dmh:
+0x258e 004414 bpatch patch0b_1 ,mem_patch0b 
+0x258f 004415 bmark1 mark_rxbuf_inuse ,end_of_packet 
+0x2590 004416 isolate0 psk ,radio_ctrl 
+0x2591 004417 branch process_dmh_noedr ,true 
+0x2592 004418 disable enable_white 
+0x2593 004419 enable decode_fec0 
+0x2594 004420 disable decode_fec2 
+0x2595 004421 add clkn_bt ,2 ,timeup 
+0x2596 004422 correlate clkn_bt ,meet 
+0x2597 004423 nbranch error_payload ,sync 
+0x2598 004424 set1 mark_longpacket ,mark 
+0x2599 004425 enable enable_white 
+:      004426 process_dmh_noedr:
+0x259a 004427 bpatch patch0b_2 ,mem_patch0b 
+0x259b 004428 enable encrypt 
+0x259c 004429 enable enable_crc 
+0x259d 004430 parse demod ,bucket ,3 
+0x259e 004431 rshift8 pwindow ,pdata 
+0x259f 004432 store 1 ,mem_lch_code 
+0x25a0 004433 parse demod ,bucket ,5 
+0x25a1 004434 bmark1 mark_longpacket ,process_dmh_long 
+0x25a2 004435 rshift3 pwindow ,loopcnt 
+0x25a3 004436 rshift3 loopcnt ,loopcnt 
+0x25a4 004437 branch process_dmh_common 
+:      004438 process_dmh_long:
+0x25a5 004439 parse demod ,bucket ,5 
+0x25a6 004440 rshift pwindow ,loopcnt 
+0x25a7 004441 parse demod ,bucket ,3 
+:      004442 process_dmh_common:
+0x25a8 004443 bpatch patch0b_3 ,mem_patch0b 
+0x25a9 004444 deposit loopcnt 
+0x25aa 004445 store 2 ,mem_len 
+0x25ab 004446 branch process_dmh_data_end ,blank 
+0x25ac 004447 isub mask3ff ,null 
+0x25ad 004448 branch error_payload ,positive 
+0x25ae 004449 bpatch patch0b_4 ,mem_patch0b 
+0x25af 004450 set0 mark_fhs_eir ,mark 
+0x25b0 004451 fetch 1 ,mem_lch_code 
+0x25b1 004452 and_into 0x03 ,pdata 
+0x25b2 004453 arg mem_rxbuf ,contw 
+0x25b3 004454 beq llid_lmp ,process_lmp 
+0x25b4 004455 bmark1 mark_testmode ,process_dmh_data 
+0x25b5 004457 fetch 1 ,mem_lch_code 
+0x25b6 004458 and_into 0x03 ,pdata 
+0x25b7 004459 beq llid_l2cap_start ,process_dmh_data_l2cap_start_pkt 
+0x25b8 004460 beq llid_l2cap_cont ,process_dmh_data_l2cap_continue_pkt 
+0x25b9 004461 branch error_payload 
+:      004463 process_lmp:
+0x25ba 004464 fetch 2 ,mem_len 
+0x25bb 004465 sub pdata ,0x70 ,null 
+0x25bc 004466 nbranch error_payload ,positive 
+0x25bd 004467 bmark1 mark_old_packet ,ack_payload 
+0x25be 004468 branch process_dmh_data 
+:      004471 process_dmh_data_l2cap_start_pkt:
+0x25bf 004472 bpatch patch0b_5 ,mem_patch0b 
+0x25c0 004473 bmark1 mark_old_packet ,ack_payload 
+0x25c1 004474 fetch 2 ,mem_len 
+0x25c2 004475 arg 0x2e0 ,temp 
+0x25c3 004476 isub temp ,null 
+0x25c4 004477 branch error_payload ,positive 
+0x25c5 004478 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x25c6 004479 bbit0 l2cap_inuse_buff1 ,process_dmh_data_into_buff1 
+0x25c7 004480 bbit0 l2cap_inuse_buff2 ,process_dmh_data_into_buff2 
+0x25c8 004481 branch end_of_packet 
+:      004482 process_dmh_data_into_buff1:
+0x25c9 004483 jam 1 ,mem_l2cap_rxbuff_new 
+0x25ca 004484 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x25cb 004485 bne 0 ,end_of_packet 
+0x25cc 004486 arg mem_l2cap_rxbuff1 ,contw 
+0x25cd 004487 branch process_dmh_data 
+:      004488 process_dmh_data_into_buff2:
+0x25ce 004489 jam 2 ,mem_l2cap_rxbuff_new 
+0x25cf 004490 fetch 2 ,mem_l2cap_rxbuff2_len 
+0x25d0 004491 bne 0 ,end_of_packet 
+0x25d1 004492 arg mem_l2cap_rxbuff2 ,contw 
+0x25d2 004493 branch process_dmh_data 
+:      004495 process_dmh_data_l2cap_continue_pkt:
+0x25d3 004496 bpatch patch0b_6 ,mem_patch0b 
+0x25d4 004497 bmark1 mark_old_packet ,ack_payload 
+0x25d5 004498 fetch 2 ,mem_len 
+0x25d6 004499 arg 0x2e0 ,temp 
+0x25d7 004500 isub temp ,null 
+0x25d8 004501 branch error_payload ,positive 
+0x25d9 004502 fetch 1 ,mem_l2cap_rxbuff_new 
+0x25da 004503 beq 1 ,process_dmh_data_l2cap_continue_pkt1 
+0x25db 004504 beq 2 ,process_dmh_data_l2cap_continue_pkt2 
+0x25dc 004505 branch end_of_packet 
+:      004506 process_dmh_data_l2cap_continue_pkt1:
+0x25dd 004507 arg mem_l2cap_rxbuff1 ,contw 
+0x25de 004508 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x25df 004509 iadd contw ,contw 
+0x25e0 004510 branch process_dmh_data 
+:      004511 process_dmh_data_l2cap_continue_pkt2:
+0x25e1 004512 arg mem_l2cap_rxbuff2 ,contw 
+0x25e2 004513 fetch 2 ,mem_l2cap_rxbuff2_len 
+0x25e3 004514 iadd contw ,contw 
+:      004515 process_dmh_data:
+0x25e4 004516 parse demod ,bucket ,8 
+0x25e5 004517 rshift3 pwindow ,pdata 
+0x25e6 004518 istore 1 ,contw 
+0x25e7 004519 loop process_dmh_data 
+:      004520 process_dmh_data_end:
+0x25e8 004521 bpatch patch0b_7 ,mem_patch0b 
+0x25e9 004522 parse demod ,bucket ,16 
+0x25ea 004523 branch error_payload_crc ,crc_failed 
+0x25eb 004524 fetch 1 ,mem_l2cap_flow_ctrl_flag 
+0x25ec 004525 beq l2cap_flow_ctrl_enable ,end_of_packet 
+0x25ed 004526 bmark1 mark_testmode ,process_dmh_cont 
+0x25ee 004527 bmark1 mark_old_packet ,redundant_payload 
+0x25ef 004528 fetch 1 ,mem_lch_code 
+0x25f0 004529 compare 3 ,pdata ,3 
+0x25f1 004530 branch process_dmh_cont ,true 
+0x25f2 004531 fetch 2 ,mem_len 
+0x25f3 004532 branch process_dmh_cont ,blank 
+0x25f4 004533 bpatch patch0c_0 ,mem_patch0c 
+0x25f5 004534 fetch 1 ,mem_l2cap_rxbuff_new 
+0x25f6 004535 beq 1 ,process_l2cap_pass_crc_buff1 
+0x25f7 004536 beq 2 ,process_l2cap_pass_crc_buff2 
+0x25f8 004537 branch assert 
+:      004538 process_l2cap_pass_crc_buff1:
+0x25f9 004539 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x25fa 004540 fetcht 2 ,mem_len 
+0x25fb 004541 iadd temp ,pdata 
+0x25fc 004542 store 2 ,mem_l2cap_rxbuff1_len 
+0x25fd 004543 beq 0 ,assert 
+0x25fe 004544 fetcht 2 ,mem_l2cap_rxbuff1 
+0x25ff 004545 increase 4 ,temp 
+0x2600 004546 isub temp ,null 
+0x2601 004547 call l2cap_buff1_inuse ,zero 
+0x2602 004548 branch process_dmh_cont 
+:      004549 process_l2cap_pass_crc_buff2:
+0x2603 004550 fetch 2 ,mem_l2cap_rxbuff2_len 
+0x2604 004551 fetcht 2 ,mem_len 
+0x2605 004552 iadd temp ,pdata 
+0x2606 004553 store 2 ,mem_l2cap_rxbuff2_len 
+0x2607 004554 beq 0 ,assert 
+0x2608 004555 fetcht 2 ,mem_l2cap_rxbuff2 
+0x2609 004556 add temp ,4 ,temp 
+0x260a 004557 isub temp ,null 
+0x260b 004558 call l2cap_buff2_inuse ,zero 
+0x260c 004559 branch process_dmh_cont 
+:      004560 process_dmh_cont:
+0x260d 004561 bpatch patch0c_1 ,mem_patch0c 
+0x260e 004562 fetcht 1 ,mem_state_map 
+0x260f 004563 fetch 1 ,mem_lch_code 
+0x2610 004564 compare 3 ,pdata ,0x03 
+0x2611 004565 setflag true ,smap_rxlmp ,temp 
+0x2612 004566 nsetflag true ,smap_rxl2cap ,temp 
+0x2613 004567 storet 1 ,mem_state_map 
+0x2614 004568 nbranch process_dmh_cont_rxbuf_not_use ,true 
+0x2615 004569 set1 mark_rxbuf_inuse ,mark 
+:      004570 process_dmh_cont_rxbuf_not_use:
+0x2616 004571 bmark0 mark_testmode ,ack_payload 
+0x2617 004572 isolate1 smap_rxlmp ,temp 
+0x2618 004573 branch ack_payload ,true 
+0x2619 004574 fetch 2 ,mem_tst_pktcnt_crc 
+0x261a 004575 increase 1 ,pdata 
+0x261b 004576 store 2 ,mem_tst_pktcnt_crc 
+0x261c 004577 set1 mark_loopback ,mark 
+0x261d 004578 set0 smap_rxl2cap ,temp 
+0x261e 004579 set0 mark_rxbuf_inuse ,mark 
+0x261f 004580 storet 1 ,mem_state_map 
+:      004581 ack_payload:
+0x2620 004582 bpatch patch0c_2 ,mem_patch0c 
+0x2621 004583 fetcht 1 ,mem_temp_arq 
+0x2622 004584 fetch 1 ,mem_arq 
+0x2623 004585 set1 arqnx ,pdata 
+0x2624 004586 isolate1 seqn ,temp 
+0x2625 004587 setflag true ,seqn ,pdata 
+0x2626 004588 isolate1 mark_am_addr_broadcast ,mark 
+0x2627 004589 setflag true ,bcast1 ,pdata 
+0x2628 004590 store 1 ,mem_arq 
+0x2629 004591 fetch 2 ,mem_len 
+0x262a 004592 nbranch end_of_packet ,blank 
+0x262b 004593 fetch 1 ,mem_state_map 
+0x262c 004594 set0 smap_rxl2cap ,pdata 
+0x262d 004595 store 1 ,mem_state_map 
+0x262e 004596 fetch 1 ,mem_lch_code 
+0x262f 004597 compare 0x01 ,pdata ,0x07 
+0x2630 004599 branch end_of_packet 
+:      004601 error_header:
+0x2631 004602 bpatch patch0c_3 ,mem_patch0c 
+0x2632 004603 disable match 
+0x2633 004604 fetch 2 ,mem_rx_hec_err 
+0x2634 004605 increase 1 ,pdata 
+0x2635 004606 store 2 ,mem_rx_hec_err 
+0x2636 004607 branch end_of_packet 
+:      004608 error_payload_crc:
+0x2637 004609 fetch 2 ,mem_rx_crc_err 
+0x2638 004610 increase 1 ,pdata 
+0x2639 004611 store 2 ,mem_rx_crc_err 
+0x263a 004612 call discard_pkt 
+0x263b 004613 bmark0 mark_testmode ,error_payload 
+0x263c 004614 set1 mark_loopback ,mark 
+:      004615 error_payload:
+0x263d 004616 branch end_of_packet 
+:      004618 discard_pkt:
+0x263e 004619 bpatch patch0c_4 ,mem_patch0c 
+0x263f 004620 fetch 1 ,mem_lch_code 
+0x2640 004621 compare 3 ,pdata ,0x03 
+0x2641 004622 nbranch discard_pkt_l2cap ,true 
+:      004623 discard_pkt_lmp:
+0x2642 004624 fetcht 1 ,mem_state_map 
+0x2643 004625 set0 smap_rxlmp ,temp 
+0x2644 004626 storet 1 ,mem_state_map 
+0x2645 004627 rtn 
+:      004628 discard_pkt_l2cap:
+0x2646 004631 fetcht 1 ,mem_state_map 
+0x2647 004632 set0 smap_rxl2cap ,temp 
+0x2648 004633 storet 1 ,mem_state_map 
+0x2649 004634 branch h4_send_acl_trigger_clear 
+:      004636 redundant_payload:
+0x264a 004637 fetch 1 ,mem_arq 
+0x264b 004638 set1 arqnx ,pdata 
+0x264c 004639 store 1 ,mem_arq 
+:      004640 end_of_packet:
+0x264d 004641 bpatch patch0c_5 ,mem_patch0c 
+0x264e 004642 disable encode_fec0 
+0x264f 004643 disable encode_fec2 
+0x2650 004644 disable decode_fec0 
+0x2651 004645 disable decode_fec2 
+0x2652 004646 disable enable_crc 
+0x2653 004647 disable encrypt 
+0x2654 004648 disable enable_white 
+0x2655 004649 branch shutdown_radio ,is_rx 
+0x2656 004650 until null ,tx_clear 
+0x2657 004651 nop 100 
+0x2658 004652 branch shutdown_radio 
+:      004654 process_fhs:
+0x2659 004655 bpatch patch0c_6 ,mem_patch0c 
+0x265a 004656 enable enable_crc 
+0x265b 004657 enable decode_fec2 
+0x265c 004658 parse demod ,bucket ,72 
+0x265d 004659 isolate1 58 ,pdata 
+0x265e 004660 setflag true ,mark_fhs_eir ,mark 
+0x265f 004661 copy bt_adr ,temp 
+0x2660 004662 ialigned bt_adr 
+0x2661 004663 ialigned fhs0 
+0x2662 004664 pulse recalc 
+0x2663 004665 setsect 2 ,0xfffff 
+0x2664 004666 setsect 3 ,0x0ffff 
+0x2665 004667 nop 32 
+0x2666 004668 iverify fhs_parity 
+0x2667 004669 deposit lap 
+0x2668 004670 store 3 ,extm_lap 
+0x2669 004671 deposit uap 
+0x266a 004672 store 1 ,extm_uap 
+0x266b 004673 copy temp ,bt_adr 
+0x266c 004674 branch fhs_parity_ok ,true 
+0x266d 004675 branch error_payload 
+:      004676 fhs_parity_ok:
+0x266e 004677 bpatch patch0c_7 ,mem_patch0c 
+0x266f 004678 parse demod ,bucket ,72 
+0x2670 004679 ialigned fhs1 
+0x2671 004680 ialigned am_addr 
+0x2672 004681 ialigned nap 
+0x2673 004682 ialigned regb 
+0x2674 004683 force 0 ,pdata 
+0x2675 004684 parse demod ,bucket ,16 
+0x2676 004685 branch error_payload ,crc_failed 
+0x2677 004686 setarg 0x0ffffffc 
+0x2678 004687 iand regb ,pdata 
+0x2679 004688 store 4 ,mem_clke_bt 
+0x267a 004689 deposit fhs_class 
+0x267b 004690 store 3 ,extm_class 
+0x267c 004691 deposit fhs_misc 
+0x267d 004692 store 1 ,extm_fhs_misc 
+0x267e 004693 deposit am_addr 
+0x267f 004694 store 1 ,extm_newconn_am_addr 
+0x2680 004695 deposit nap 
+0x2681 004696 store 2 ,extm_nap 
+0x2682 004697 deposit bt_clk 
+0x2683 004698 inject rxf ,32 
+0x2684 004699 compare type_fhs ,type ,0x0f 
+0x2685 004700 setflag true ,mark_fhs_already_good ,mark 
+0x2686 004701 branch end_of_packet 
+:      004703 clear_got_tx:
+0x2687 004704 bpatch patch0d_0 ,mem_patch0d 
+0x2688 004705 fetch 1 ,mem_arq 
+0x2689 004706 rtnbit0 wack 
+0x268a 004707 set0 wack ,pdata 
+0x268b 004708 setflip seqnx ,pdata 
+0x268c 004709 store 1 ,mem_arq 
+0x268d 004710 fetch 1 ,mem_last_type 
+0x268e 004711 beq type_lmp ,clear_got_txlmp 
+0x268f 004712 rtneq type_hv3 
+0x2690 004713 fetch 1 ,mem_op 
+0x2691 004714 rtnbit0 op_txl2cap ,pdata 
+0x2692 004715 set0 op_txl2cap ,pdata 
+0x2693 004716 set1 op_pkt_comp ,pdata 
+0x2694 004717 store 1 ,mem_op 
+0x2695 004718 set0 mark_tx_l2cap ,mark 
+0x2696 004719 fetch 2 ,mem_l2cap_tx_multi_offset 
+0x2697 004720 nrtn blank 
+0x2698 004721 fetch 1 ,mem_op 
+0x2699 004722 set0 op_pkt_comp ,pdata 
+0x269a 004723 store 1 ,mem_op 
+0x269b 004724 branch l2cap_malloc_free 
+:      004726 clear_got_txlmp:
+0x269c 004727 bpatch patch0d_1 ,mem_patch0d 
+0x269d 004728 fetch 1 ,mem_lmo_header_opcode 
+0x269e 004729 rshift pdata ,pdata 
+0x269f 004730 beq lmp_start_encryption_req ,start_encryption 
+0x26a0 004731 beq lmp_stop_encryption_req ,stop_encryption 
+0x26a1 004732 beq lmp_unsniff_req ,sniff_exit 
+0x26a2 004733 beq lmp_escape ,clear_lmp_escape 
+0x26a3 004734 rtnne lmp_accepted 
+0x26a4 004735 fetch 1 ,mem_lmo_payload 
+0x26a5 004736 beq lmp_sco_link_req ,sco_link_req_by_slave 
+0x26a6 004737 beq lmp_start_encryption_req ,clear_send_setup_complete 
+0x26a7 004738 rtn 
+:      004740 clear_lmp_escape:
+0x26a8 004741 fetch 1 ,mem_lmo_payload 
+0x26a9 004742 set1 7 ,pdata 
+0x26aa 004743 rtn 
+:      004744 clear_send_setup_complete:
+0x26ab 004745 rtn master 
+0x26ac 004746 fetch 1 ,mem_state 
+0x26ad 004747 rtnbit1 state_conn_comp 
+0x26ae 004748 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x26af 004749 rtn 
+:      004752 sco_link_req_by_slave:
+0x26b0 004753 rtn master 
+0x26b1 004754 fetch 1 ,mem_mode 
+0x26b2 004755 isolate1 send_sco_when_slave ,pdata 
+0x26b3 004756 branch clean_mem_mode ,true 
+0x26b4 004758 rtn 
+:      004759 clean_mem_mode:
+0x26b5 004760 set0 send_sco_when_slave ,pdata 
+0x26b6 004761 store 1 ,mem_mode 
+0x26b7 004762 rtn 
+:      004764 start_encryption:
+0x26b8 004765 bpatch patch0d_2 ,mem_patch0d 
+0x26b9 004766 fetch 1 ,mem_state_map 
+0x26ba 004767 set1 smap_encryption ,pdata 
+0x26bb 004768 store 1 ,mem_state_map 
+0x26bc 004769 jam 1 ,core_encrypt 
+0x26bd 004770 fetch 1 ,mem_state 
+0x26be 004771 isolate1 state_conn_comp ,pdata 
+0x26bf 004772 rtn 
+:      004774 stop_encryption:
+0x26c0 004775 bpatch patch0d_3 ,mem_patch0d 
+0x26c1 004776 fetch 1 ,mem_state_map 
+0x26c2 004777 set0 smap_encryption ,pdata 
+0x26c3 004778 store 1 ,mem_state_map 
+0x26c4 004779 jam 0 ,core_encrypt 
+0x26c5 004780 rtn 
+:      004783 sniff_init:
+0x26c6 004784 bpatch patch0d_4 ,mem_patch0d 
+0x26c7 004785 copy clkn_bt ,pdata 
+0x26c8 004786 store 4 ,mem_lpm_delay_after_sniff 
+0x26c9 004787 add clkn_bt ,3 ,rega 
+0x26ca 004788 branch sniff_init_master ,master 
+0x26cb 004789 add clke_bt ,3 ,rega 
+:      004790 sniff_init_master:
+0x26cc 004791 fetcht 2 ,mem_tsniff 
+0x26cd 004792 deposit rega 
+0x26ce 004793 set0 27 ,pdata 
+0x26cf 004794 idiv temp 
+0x26d0 004795 fetch 2 ,mem_dsniff 
+0x26d1 004796 call wait_div_end 
+0x26d2 004797 remainder regc 
+0x26d3 004798 isub regc ,pdata 
+0x26d4 004799 branch sniff_init_nowrap ,positive 
+0x26d5 004800 iadd temp ,pdata 
+:      004801 sniff_init_nowrap:
+0x26d6 004802 iadd rega ,pdata 
+0x26d7 004803 store 4 ,mem_sniff_anchor 
+0x26d8 004804 jam switch_flag_init ,mem_switch_flag 
+0x26d9 004805 fetch 1 ,mem_state 
+0x26da 004806 set1 state_insniff ,pdata 
+0x26db 004807 store 1 ,mem_state 
+0x26dc 004808 fetch 1 ,mem_sniff_attempt 
+0x26dd 004809 store 1 ,mem_current_sniff_attempt 
+0x26de 004810 setarg 0 
+0x26df 004811 store 3 ,mem_sniff_rcv 
+0x26e0 004812 store 3 ,mem_sniff_lost 
+0x26e1 004813 store 1 ,mem_sniff_unint_lost 
+0x26e2 004814 jam bt_evt_enter_sniff ,mem_fifo_temp 
+0x26e3 004815 call ui_ipc_send_event 
+0x26e4 004816 fetch 2 ,mem_rx_window_sniff 
+0x26e5 004817 store 2 ,mem_rx_window 
+0x26e6 004818 nrtn master 
+0x26e7 004819 add am_addr ,-1 ,queue 
+0x26e8 004820 rtn 
+:      004822 sniff_exit:
+0x26e9 004823 bpatch patch0d_5 ,mem_patch0d 
+0x26ea 004824 fetch 1 ,mem_state 
+0x26eb 004825 rtnbit0 state_insniff 
+0x26ec 004826 set0 state_insniff ,pdata 
+0x26ed 004827 store 1 ,mem_state 
+0x26ee 004828 fetch 2 ,mem_rx_window_init 
+0x26ef 004829 store 2 ,mem_rx_window 
+0x26f0 004830 disable wake 
+0x26f1 004831 jam bt_evt_exit_sniff ,mem_fifo_temp 
+0x26f2 004832 branch ui_ipc_send_event 
+:      004835 check_attempt:
+0x26f3 004836 bpatch patch0d_6 ,mem_patch0d 
+0x26f4 004837 enable attempt 
+0x26f5 004838 fetch 1 ,mem_state 
+0x26f6 004839 bbit1 state_insniff ,check_attempt_sniff 
+0x26f7 004840 rtnmark1 mark_testmode 
+0x26f8 004841 fetch 1 ,mem_arq 
+0x26f9 004842 rtnbit1 wack 
+0x26fa 004843 fetch 1 ,mem_lmp_to_send 
+0x26fb 004844 nrtn blank 
+0x26fc 004845 fetch 1 ,mem_op 
+0x26fd 004846 rtnbit1 op_txl2cap 
+:      004847 check_attempt_nomore:
+0x26fe 004848 force 0 ,pdata 
+0x26ff 004849 rtn 
+:      004851 check_attempt_sniff:
+0x2700 004852 bbit0 state_insco ,check_attempt_not_sco 
+0x2701 004853 fetch 1 ,mem_current_sniff_attempt 
+0x2702 004854 beq 2 ,check_attempt_sniff_restore_sco 
+0x2703 004855 fetch 1 ,mem_arq 
+0x2704 004856 bbit1 wack ,check_attempt_notimeout 
+0x2705 004857 bmark0 mark_esco_rxok ,check_attempt_notimeout 
+:      004858 check_attempt_sniff_restore_sco:
+0x2706 004859 nbranch check_attempt_notimeout ,master 
+0x2707 004860 fetch 1 ,mem_lmp_to_send 
+0x2708 004861 nbranch check_attempt_notimeout ,blank 
+:      004862 check_attempt_sco_master:
+0x2709 004863 fetch 1 ,mem_sco_poll 
+0x270a 004864 increase -1 ,pdata 
+0x270b 004865 store 1 ,mem_sco_poll 
+0x270c 004866 nbranch check_attempt_nomore ,blank 
+0x270d 004867 jam param_sco_poll ,mem_sco_poll 
+0x270e 004868 branch check_attempt_notimeout 
+:      004875 check_attempt_not_sco:
+0x270f 004876 fetch 1 ,mem_current_sniff_attempt 
+0x2710 004877 bne 1 ,check_attempt_notimeout 
+0x2711 004878 fetch 1 ,mem_current_sniff_timeout 
+0x2712 004879 branch check_attempt_notimeout ,blank 
+0x2713 004880 increase -1 ,pdata 
+0x2714 004881 store 1 ,mem_current_sniff_timeout 
+0x2715 004882 fetch 1 ,mem_arq 
+0x2716 004883 rtnbit1 wack 
+0x2717 004884 nrtn match 
+:      004885 check_attempt_notimeout:
+0x2718 004886 fetch 1 ,mem_current_sniff_attempt 
+0x2719 004887 increase -1 ,pdata 
+0x271a 004888 store 1 ,mem_current_sniff_attempt 
+0x271b 004889 rtn 
+:      004900 sniff_check_window:
+0x271c 004901 bpatch patch0d_7 ,mem_patch0d 
+0x271d 004902 disable swfine 
+0x271e 004903 copy temp ,stop_watch 
+0x271f 004904 call context_search_sniff_window 
+0x2720 004905 disable user 
+0x2721 004906 nrtn zero 
+0x2722 004907 force 0 ,stop_watch 
+0x2723 004908 enable user 
+0x2724 004909 rtn 
+:      004912 check_esco_amaddr:
+0x2725 004913 fetch 1 ,mem_esco_addr 
+0x2726 004914 icompare 0xff ,am_addr 
+0x2727 004915 rtn 
+:      004918 parse_l2cap:
+0x2728 004919 bpatch patch0e_0 ,mem_patch0e 
+0x2729 004920 set0 mark_rxbuf_inuse ,mark 
+:      004921 parse_l2cap_cont:
+0x272a 004922 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+0x272b 004923 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x272c 004924 rtn blank 
+0x272d 004925 isolate1 l2cap_inuse_buff1 ,pdata 
+0x272e 004926 arg mem_l2cap_rxbuff1 ,contr 
+0x272f 004927 call process_rx_l2cap_pkt ,true 
+0x2730 004928 bpatch patch0e_1 ,mem_patch0e 
+0x2731 004929 fetch 1 ,mem_l2cap_rx_done 
+0x2732 004930 beq l2cap_rx_done ,parse_l2cap_release_buff1 
+0x2733 004932 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+0x2734 004933 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x2735 004934 rtnbit0 l2cap_inuse_buff2 
+0x2736 004935 arg mem_l2cap_rxbuff2 ,contr 
+0x2737 004936 call process_rx_l2cap_pkt 
+0x2738 004937 fetch 1 ,mem_l2cap_rx_done 
+0x2739 004938 beq l2cap_rx_done ,parse_l2cap_release_buff2 
+0x273a 004939 rtn 
+:      004941 parse_l2cap_release_buff1:
+0x273b 004942 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x273c 004943 set0 l2cap_inuse_buff1 ,pdata 
+0x273d 004944 store 1 ,mem_l2cap_rxbuff_inuse 
+0x273e 004945 setarg 0 
+0x273f 004946 store 2 ,mem_l2cap_rxbuff1_len 
+0x2740 004947 rtn 
+:      004948 parse_l2cap_release_buff2:
+0x2741 004949 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x2742 004950 set0 l2cap_inuse_buff2 ,pdata 
+0x2743 004951 store 1 ,mem_l2cap_rxbuff_inuse 
+0x2744 004952 setarg 0 
+0x2745 004953 store 2 ,mem_l2cap_rxbuff2_len 
+0x2746 004954 rtn 
+:      004956 l2cap_buff1_inuse:
+0x2747 004957 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x2748 004958 set1 l2cap_inuse_buff1 ,pdata 
+0x2749 004959 store 1 ,mem_l2cap_rxbuff_inuse 
+0x274a 004960 rtn 
+:      004962 l2cap_buff2_inuse:
+0x274b 004963 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x274c 004964 set1 l2cap_inuse_buff2 ,pdata 
+0x274d 004965 store 1 ,mem_l2cap_rxbuff_inuse 
+0x274e 004966 rtn 
+:      004972 slave_send_access:
+0x274f 004973 bpatch patch0e_2 ,mem_patch0e 
+0x2750 004974 add clke_bt ,1 ,bt_clk 
+0x2751 004975 call fetch_extm_bt_adr 
+0x2752 004976 force 0x03 ,freq_mode 
+0x2753 004977 call tx_radio_freq 
+0x2754 004978 call start_transmitter 
+0x2755 004979 call start_tx_external 
+0x2756 004980 branch send_access_word 
+:      004983 slave_conn_send_packet:
+0x2757 004984 bpatch patch0e_3 ,mem_patch0e 
+0x2758 004985 call rf_setup_time_slave_slot 
+0x2759 004986 deposit clke_bt 
+0x275a 004987 fetcht 4 ,mem_next_btclk 
+0x275b 004988 isub temp ,pdata 
+0x275c 004989 rtnne 1 
+0x275d 004990 compare type_null ,type ,0x1f 
+0x275e 004991 nbranch slave_conn_send_access ,true 
+0x275f 004992 fetch 1 ,mem_rx_type 
+0x2760 004993 rtn blank 
+:      004994 slave_conn_send_access:
+0x2761 004995 call slave_send_access 
+:      004996 transmit_packet:
+0x2762 004997 compare type_id ,type ,0x1f 
+0x2763 004998 branch end_of_packet ,true 
+0x2764 004999 rshift bt_clk ,temp 
+0x2765 005000 or temp ,0x40 ,white_init 
+:      005001 transmit_packet_whitened:
+0x2766 005002 bpatch patch0e_4 ,mem_patch0e 
+0x2767 005003 enable enable_white 
+0x2768 005004 enable enable_hec 
+0x2769 005005 enable encode_fec1 
+0x276a 005006 set0 mark_longpacket ,mark 
+0x276b 005007 deposit am_addr 
+0x276c 005008 inject mod ,3 
+0x276d 005009 deposit type 
+0x276e 005010 inject mod ,4 
+0x276f 005011 fetch 1 ,mem_arq 
+0x2770 005012 inject bucket ,4 
+0x2771 005013 inject mod ,3 
+0x2772 005014 enable enable_parity 
+0x2773 005015 inject mod ,8 
+0x2774 005016 disable encode_fec1 
+0x2775 005017 disable enable_parity 
+0x2776 005018 disable enable_hec 
+0x2777 005019 set0 psk3m ,radio_ctrl 
+0x2778 005020 arg 0 ,temp 
+0x2779 005021 call reserve_slot 
+0x277a 005022 bpatch patch0e_5 ,mem_patch0e 
+0x277b 005023 and type ,0x1f ,pdata 
+0x277c 005024 beq type_lmp ,transmit_lmp 
+0x277d 005025 beq type_null ,end_of_packet 
+0x277e 005026 beq type_poll ,end_of_packet 
+0x277f 005027 beq type_fhs ,transmit_fhs 
+0x2780 005028 beq type_dm1 ,transmit_dm1 
+0x2781 005029 beq type_dh1 ,transmit_dh1 
+0x2782 005030 beq type_hv3 ,transmit_hev 
+0x2783 005031 beq type_3dh1 ,transmit_3dh1 
+0x2784 005032 arg 4 ,temp 
+0x2785 005033 call reserve_slot 
+0x2786 005034 beq type_dm3 ,transmit_dm3 
+0x2787 005035 beq type_dh3 ,transmit_dh3 
+0x2788 005036 arg 8 ,temp 
+0x2789 005037 call reserve_slot 
+0x278a 005038 beq type_dh5 ,transmit_dh5 
+0x278b 005039 branch transmit_dm5 
+:      005042 transmit_hev:
+0x278c 005043 bpatch patch0e_6 ,mem_patch0e 
+0x278d 005044 enable encode_fec0 
+0x278e 005045 enable enable_crc 
+0x278f 005046 enable encrypt 
+0x2790 005047 force 30 ,loopcnt 
+0x2791 005048 arg mem_sco_obuf ,contr 
+:      005049 transmit_ev_loop:
+0x2792 005050 ifetch 1 ,contr 
+0x2793 005051 inject mod ,8 
+0x2794 005052 loop transmit_ev_loop 
+0x2795 005053 bmark1 mark_esco ,transmit_end 
+0x2796 005054 branch end_of_packet 
+:      005056 transmit_fhs:
+0x2797 005057 bpatch patch0e_7 ,mem_patch0e 
+0x2798 005058 fetch 1 ,mem_fhs_am_addr 
+0x2799 005059 icopy am_addr 
+0x279a 005060 fetch 1 ,mem_fhs_misc 
+0x279b 005061 icopy fhs_misc 
+0x279c 005062 fetch 3 ,mem_class 
+0x279d 005063 icopy fhs_class 
+0x279e 005064 fetch 2 ,mem_nap 
+0x279f 005065 icopy nap 
+0x27a0 005066 enable enable_crc 
+0x27a1 005067 enable encode_fec2 
+0x27a2 005068 copy bt_adr ,rega 
+0x27a3 005069 call fetch_self_bt_adr 
+0x27a4 005070 pulse recalc 
+0x27a5 005071 nop 32 
+0x27a6 005072 copy bt_clk ,timeup 
+0x27a7 005073 fetch 4 ,mem_clkn_bt 
+0x27a8 005074 icopy bt_clk 
+0x27a9 005075 preload fhs0 
+0x27aa 005076 set1 58 ,pdata 
+0x27ab 005077 inject mod ,72 
+0x27ac 005078 preload fhs1 
+0x27ad 005079 inject mod ,72 
+0x27ae 005080 copy timeup ,bt_clk 
+0x27af 005081 copy rega ,bt_adr 
+0x27b0 005082 enable enable_parity 
+0x27b1 005083 inject mod ,16 
+0x27b2 005084 disable enable_parity 
+0x27b3 005085 branch end_of_packet 
+:      005087 transmit_lmp:
+0x27b4 005088 bpatch patch0f_0 ,mem_patch0f 
+0x27b5 005089 enable encrypt 
+0x27b6 005090 enable enable_crc 
+0x27b7 005091 enable encode_fec2 
+0x27b8 005092 fetch 1 ,mem_lmo_header_length 
+0x27b9 005093 and pdata ,0x1f8 ,temp 
+0x27ba 005094 arg mem_lmo_header_length ,contr 
+0x27bb 005095 increase 8 ,temp 
+:      005096 transmit_lmp_loop:
+0x27bc 005097 add temp ,-72 ,regc 
+0x27bd 005098 nbranch transmit_lmp_finish ,positive 
+0x27be 005099 ifetch 9 ,contr 
+0x27bf 005100 inject mod ,72 
+0x27c0 005101 copy regc ,temp 
+0x27c1 005102 branch transmit_lmp_loop 
+:      005103 transmit_lmp_finish:
+0x27c2 005104 ifetch 9 ,contr 
+0x27c3 005105 iinject mod ,temp 
+0x27c4 005106 branch transmit_end 
+:      005108 transmit_dm1:
+0x27c5 005109 enable encode_fec2 
+0x27c6 005110 branch transmit_dmh 
+:      005111 transmit_dm3:
+:      005112 transmit_dm5:
+0x27c7 005113 enable encode_fec2 
+0x27c8 005114 set1 mark_longpacket ,mark 
+0x27c9 005115 branch transmit_dmh 
+:      005117 transmit_3dh1:
+0x27ca 005118 set1 psk3m ,radio_ctrl 
+:      005119 transmit_dh1:
+0x27cb 005120 enable encode_fec0 
+0x27cc 005121 branch transmit_dmh 
+:      005123 transmit_dh3:
+:      005124 transmit_dh5:
+0x27cd 005125 set1 psk3m ,radio_ctrl 
+0x27ce 005126 enable encode_fec0 
+0x27cf 005127 set1 mark_longpacket ,mark 
+:      005129 transmit_dmh:
+0x27d0 005130 bpatch patch0f_1 ,mem_patch0f 
+0x27d1 005131 fetch 1 ,mem_state_map 
+0x27d2 005132 bbit0 smap_edr ,transmit_noedr 
+0x27d3 005133 sub type ,3 ,null 
+0x27d4 005134 branch transmit_noedr ,positive 
+0x27d5 005135 disable encrypt 
+0x27d6 005136 disable encode_fec2 
+0x27d7 005137 enable encode_fec0 
+0x27d8 005138 disable enable_white 
+0x27d9 005139 set1 psk ,radio_ctrl 
+0x27da 005140 isolate1 psk3m ,radio_ctrl 
+0x27db 005141 branch transmit_edr3m ,true 
+0x27dc 005142 setarg 0xabeee 
+0x27dd 005143 inject mod ,20 
+0x27de 005144 branch transmit_edr_sync_end 
+:      005145 transmit_edr3m:
+0x27df 005146 setarg 0x5faeba 
+0x27e0 005147 inject mod ,24 
+0x27e1 005148 setarg 0x12 
+0x27e2 005149 inject mod ,6 
+:      005150 transmit_edr_sync_end:
+0x27e3 005151 enable enable_white 
+0x27e4 005152 set1 mark_longpacket ,mark 
+:      005153 transmit_noedr:
+0x27e5 005154 enable encrypt 
+0x27e6 005155 enable enable_crc 
+0x27e7 005156 bmark1 mark_loopback ,transmit_loopback 
+0x27e8 005157 fetch 1 ,mem_tx_lch 
+0x27e9 005158 inject mod ,3 
+0x27ea 005159 fetch 2 ,mem_tx_len 
+0x27eb 005160 iforce loopcnt 
+0x27ec 005161 bmark1 mark_longpacket ,transmit_long 
+0x27ed 005162 inject mod ,5 
+0x27ee 005163 branch transmit_stuff 
+:      005164 transmit_long:
+0x27ef 005165 inject mod ,13 
+:      005166 transmit_stuff:
+0x27f0 005167 deposit loopcnt 
+0x27f1 005168 branch transmit_end ,blank 
+0x27f2 005169 fetch 2 ,mem_txptr 
+0x27f3 005170 iforce contr 
+:      005171 transmit_stuff_loop:
+0x27f4 005172 ifetch 1 ,contr 
+0x27f5 005173 inject mod ,8 
+0x27f6 005174 loop transmit_stuff_loop 
+:      005177 transmit_end:
+0x27f7 005178 enable enable_parity 
+0x27f8 005179 inject mod ,16 
+0x27f9 005180 disable enable_parity 
+0x27fa 005181 call set_wait_ack 
+0x27fb 005182 fetch 1 ,mem_state_map 
+0x27fc 005183 bbit0 smap_edr ,end_of_packet 
+0x27fd 005184 force 0 ,pdata 
+0x27fe 005185 inject mod ,6 
+0x27ff 005186 branch end_of_packet 
+:      005189 transmit_loopback:
+0x2800 005190 bpatch patch0f_2 ,mem_patch0f 
+0x2801 005191 bmark1 mark_longpacket ,transmit_loopback_long 
+:      005192 transmit_loopback_short:
+0x2802 005193 fetch 1 ,mem_lch_code 
+0x2803 005194 inject mod ,3 
+0x2804 005195 fetch 1 ,mem_len 
+0x2805 005196 iforce regc 
+0x2806 005197 inject mod ,5 
+0x2807 005198 branch transmit_loopback_cont 
+:      005199 transmit_loopback_long:
+0x2808 005200 fetch 1 ,mem_lch_code 
+0x2809 005201 inject mod ,3 
+0x280a 005202 fetch 2 ,mem_len 
+0x280b 005203 iforce regc 
+0x280c 005204 inject mod ,13 
+:      005205 transmit_loopback_cont:
+0x280d 005206 arg mem_rxbuf ,contr 
+:      005207 transmit_loopback_loop:
+0x280e 005208 copy regc ,null 
+0x280f 005209 branch transmit_loopback_end ,zero 
+0x2810 005210 ifetch 1 ,contr 
+0x2811 005211 inject mod ,8 
+0x2812 005212 increase -1 ,regc 
+0x2813 005213 branch transmit_loopback_loop 
+:      005214 transmit_loopback_end:
+0x2814 005215 fetch 2 ,mem_tst_pktcnt_dmh 
+0x2815 005216 increase 1 ,pdata 
+0x2816 005217 store 2 ,mem_tst_pktcnt_dmh 
+0x2817 005218 branch transmit_end 
+:      005221 apply_switch_clke:
+0x2818 005222 fetch 4 ,mem_clke_bt 
+0x2819 005223 add pdata ,7 ,rega 
+0x281a 005224 fetch 2 ,mem_slot_offset 
+0x281b 005225 nbranch apply_switch_nozero ,blank 
+0x281c 005226 increase -3 ,rega 
+0x281d 005227 branch apply_switch_wait_loop 
+:      005228 apply_switch_nozero:
+0x281e 005229 mul32 pdata ,12 ,pdata 
+0x281f 005230 hfetcht 2 ,core_halfslot 
+0x2820 005231 increase 1 ,temp 
+:      005232 apply_switch_loop:
+0x2821 005233 isub temp ,pdata 
+0x2822 005234 nbranch apply_switch_bt ,positive 
+0x2823 005235 increase -1 ,rega 
+0x2824 005236 branch apply_switch_loop 
+:      005237 apply_switch_bt:
+0x2825 005238 sub pdata ,0 ,pdata 
+:      005239 apply_switch_wait_loop:
+0x2826 005240 until null ,oneslot 
+0x2827 005241 compare 0 ,clkn_bt ,3 
+0x2828 005242 nbranch apply_switch_wait_loop ,true 
+0x2829 005243 iforce clke_rt 
+0x282a 005244 copy rega ,clke_bt 
+0x282b 005245 iforce clke_rt 
+0x282c 005246 rtn 
+:      005249 calc_slot_offset:
+0x282d 005250 bpatch patch0f_3 ,mem_patch0f 
+0x282e 005251 until null ,halfslot 
+0x282f 005252 deposit clke 
+0x2830 005253 iforce contr 
+0x2831 005254 rshift16 ,pdata ,pdata 
+0x2832 005255 isub clkn_bt ,loopcnt 
+0x2833 005256 and_into 3 ,loopcnt 
+0x2834 005257 nbranch calc_bt_portion ,zero 
+0x2835 005258 force 0 ,pdata 
+0x2836 005259 branch calc_skip_bt 
+:      005260 calc_bt_portion:
+0x2837 005261 arg 3750 ,temp 
+0x2838 005262 force 0 ,pdata 
+:      005263 calc_slot_offset_loop:
+0x2839 005264 iadd temp ,pdata 
+0x283a 005265 loop calc_slot_offset_loop 
+:      005266 calc_skip_bt:
+0x283b 005267 iadd contr ,pdata 
+0x283c 005268 div pdata ,12 
+0x283d 005269 call wait_div_end 
+0x283e 005270 quotient pdata 
+0x283f 005271 store 2 ,mem_slot_offset 
+0x2840 005272 rtn 
+:      005274 calc_clke_offset:
+0x2841 005275 bpatch patch0f_4 ,mem_patch0f 
+0x2842 005276 deposit clke 
+0x2843 005277 copy clkn ,temp 
+0x2844 005278 isub temp ,null 
+0x2845 005279 nsetflag positive ,44 ,pdata 
+0x2846 005280 isub temp ,temp 
+0x2847 005281 setarg 3750 
+0x2848 005282 isolate0 15 ,temp 
+0x2849 005283 branch calc_clke_pos ,true 
+0x284a 005284 setarg -61786 
+0x284b 005285 iadd temp ,temp 
+:      005286 calc_clke_pos:
+0x284c 005287 storet 6 ,mem_le_clk_offset 
+0x284d 005288 rtn le 
+0x284e 005289 storet 6 ,mem_clk_offset 
+0x284f 005290 rtn 
+:      005292 calc_clke:
+0x2850 005293 disable clknt 
+0x2851 005294 fetch 6 ,mem_le_clk_offset 
+0x2852 005295 branch calc_clke2 ,le 
+0x2853 005296 fetch 6 ,mem_clk_offset 
+:      005297 calc_clke2:
+0x2854 005298 iadd clkn ,alarm 
+0x2855 005299 increase 10 ,alarm 
+0x2856 005300 setarg 3750 
+0x2857 005301 isub alarm ,pdata 
+0x2858 005302 isolate0 15 ,pdata 
+0x2859 005303 branch calc_clke_pos_adj ,true 
+0x285a 005304 setarg 0xf15a 
+0x285b 005305 iadd alarm ,alarm 
+:      005306 calc_clke_pos2:
+0x285c 005307 copy alarm ,clke 
+0x285d 005308 rtn 
+:      005309 calc_clke_pos_adj:
+0x285e 005310 force 0 ,null 
+0x285f 005311 branch calc_clke_pos2 
+:      005318 calc_radio_freq:
+0x2860 005319 bpatch patch0f_5 ,mem_patch0f 
+0x2861 005320 call set_sync_on 
+0x2862 005321 copy bt_clk ,pdata 
+0x2863 005322 and_into 0x180 ,pdata 
+0x2864 005323 compare 3 ,freq_mode ,0x07 
+0x2865 005324 nbranch freq_not_connection ,true 
+0x2866 005325 rshift3 pdata ,pdata 
+0x2867 005326 iadd freq_index ,pdata 
+0x2868 005327 branch do_hop_mod_now 
+:      005328 freq_not_connection:
+0x2869 005329 copy freq_index ,pdata 
+:      005330 do_hop_mod_now:
+0x286a 005331 div pdata ,79 
+0x286b 005332 pulse recalc 
+0x286c 005333 call wait_div_end 
+0x286d 005334 remainder rega 
+0x286e 005335 add rega ,-40 ,temp 
+0x286f 005336 branch odd_half ,positive 
+0x2870 005337 lshift rega ,temp 
+0x2871 005338 branch freq_result 
+:      005339 odd_half:
+0x2872 005340 lshift temp ,temp 
+0x2873 005341 increase 1 ,temp 
+:      005342 freq_result:
+0x2874 005343 bpatch patch0f_6 ,mem_patch0f 
+0x2875 005344 fetch 1 ,mem_mode 
+0x2876 005345 bbit0 afh_change ,afh_process_con 
+:      005346 afh_process_0:
+0x2877 005347 fetch 4 ,mem_afh_instant 
+0x2878 005348 isub bt_clk ,null 
+0x2879 005349 branch afh_process_con ,positive 
+0x287a 005350 call afh_clear 
+0x287b 005351 fetch 1 ,mem_afh_new_mod 
+0x287c 005352 rtn blank 
+0x287d 005353 fetch 1 ,mem_mode 
+0x287e 005354 set1 afh_enable ,pdata 
+0x287f 005355 store 1 ,mem_mode 
+0x2880 005356 fetch 5 ,mem_afh_map_new 
+0x2881 005357 store 5 ,mem_afh_map_lo 
+0x2882 005358 ifetch 5 ,contr 
+0x2883 005359 store 5 ,mem_afh_map_hi 
+0x2884 005360 call afh_process_freq_map 
+:      005361 afh_process_con:
+0x2885 005362 fetch 1 ,mem_mode 
+0x2886 005363 rtnbit0 afh_enable 
+0x2887 005364 isolate1 1 ,bt_clk 
+0x2888 005365 branch afh_same_channel ,true 
+0x2889 005366 rshift3 temp ,rega 
+0x288a 005367 and temp ,7 ,queue 
+0x288b 005368 setarg mem_afh_map_lo 
+0x288c 005369 iadd rega ,rega 
+0x288d 005370 ifetch 1 ,rega 
+0x288e 005371 qisolate0 pdata 
+0x288f 005372 branch afh_process_1 ,true 
+0x2890 005373 deposit temp 
+0x2891 005374 branch afh_process_end 
+:      005375 afh_process_1:
+0x2892 005376 fetch 1 ,mem_afh_used 
+0x2893 005377 iforce regb 
+0x2894 005378 deposit bt_clk 
+0x2895 005379 and_into 0x180 ,pdata 
+0x2896 005380 rshift3 pdata ,pdata 
+0x2897 005381 iadd freq_index ,pdata 
+0x2898 005382 idiv regb 
+0x2899 005383 setarg mem_afh_map 
+0x289a 005384 call wait_div_end 
+0x289b 005385 remainder rega 
+0x289c 005386 iadd rega ,contr 
+0x289d 005387 ifetch 1 ,contr 
+:      005388 afh_process_end:
+0x289e 005389 store 1 ,mem_afh_index 
+0x289f 005390 iforce temp 
+0x28a0 005391 rtn 
+:      005393 afh_same_channel:
+0x28a1 005394 fetch 1 ,mem_afh_index 
+0x28a2 005395 iforce temp 
+0x28a3 005396 rtn 
+:      005398 afh_clear:
+0x28a4 005399 fetch 1 ,mem_mode 
+0x28a5 005400 set0 afh_enable ,pdata 
+0x28a6 005401 set0 afh_change ,pdata 
+0x28a7 005402 store 1 ,mem_mode 
+0x28a8 005403 rtn 
+:      005409 afh_process_freq_map:
+0x28a9 005410 bpatch patch0f_7 ,mem_patch0f 
+0x28aa 005411 arg mem_afh_map ,contw 
+0x28ab 005412 force 10 ,loopcnt 
+0x28ac 005413 call memset0 
+0x28ad 005414 arg mem_afh_map ,contw 
+0x28ae 005415 force 0 ,regc 
+0x28af 005416 force 2 ,queue 
+:      005417 process_freq_3:
+0x28b0 005418 fetch 5 ,mem_afh_map_lo 
+0x28b1 005419 iforce temp 
+0x28b2 005420 compare 2 ,queue ,0xff 
+0x28b3 005421 branch process_freq_1 ,true 
+0x28b4 005422 rshift temp ,temp 
+:      005423 process_freq_1:
+0x28b5 005424 isolate0 0 ,temp 
+0x28b6 005425 branch process_freq_0 ,true 
+0x28b7 005426 deposit regc 
+0x28b8 005427 istore 1 ,contw 
+:      005428 process_freq_0:
+0x28b9 005429 rshift2 temp ,temp 
+0x28ba 005430 increase 2 ,regc 
+0x28bb 005431 compare 40 ,regc ,0xfe 
+0x28bc 005432 nbranch process_freq_2 ,true 
+0x28bd 005433 fetch 5 ,mem_afh_map_hi 
+0x28be 005434 iforce temp 
+0x28bf 005435 compare 2 ,queue ,0xff 
+0x28c0 005436 branch process_freq_2 ,true 
+0x28c1 005437 rshift temp ,temp 
+:      005438 process_freq_2:
+0x28c2 005439 sub regc ,78 ,null 
+0x28c3 005440 branch process_freq_1 ,positive 
+0x28c4 005441 force 1 ,regc 
+0x28c5 005442 increase -1 ,queue 
+0x28c6 005443 nbranch process_freq_3 ,zero 
+0x28c7 005444 arg mem_afh_map ,rega 
+0x28c8 005445 deposit contw 
+0x28c9 005446 isub rega ,pdata 
+0x28ca 005447 store 1 ,mem_afh_used 
+0x28cb 005448 rtn 
+:      005450 rx_radio_freq:
+0x28cc 005451 bpatch patch10_0 ,mem_patch10 
+0x28cd 005452 call calc_radio_freq 
+0x28ce 005453 fetch 1 ,mem_debug_config 
+0x28cf 005454 bbit0 debug_rx_fixed_freq ,rx_radio_freq_now 
+0x28d0 005455 fetcht 1 ,mem_rx_fixed_freq 
+:      005456 rx_radio_freq_now:
+0x28d1 005457 branch set_freq_rx 
+:      005460 tx_radio_freq:
+0x28d2 005461 bpatch patch10_1 ,mem_patch10 
+0x28d3 005462 call calc_radio_freq 
+0x28d4 005463 fetch 1 ,mem_debug_config 
+0x28d5 005464 bbit0 debug_tx_fixed_freq ,tx_radio_freq_now 
+0x28d6 005465 fetcht 1 ,mem_tx_fixed_freq 
+:      005466 tx_radio_freq_now:
+0x28d7 005467 branch set_freq_tx 
+:      005470 fetch_giac:
+0x28d8 005471 force 0 ,uap 
+0x28d9 005472 fetch 3 ,mem_glap 
+0x28da 005473 iforce lap 
+0x28db 005474 rtn 
+:      005476 fetch_page_bt_adr:
+0x28dc 005477 bpatch patch10_2 ,mem_patch10 
+0x28dd 005478 fetch 1 ,mem_hci_puap 
+0x28de 005479 icopy uap 
+0x28df 005480 fetch 3 ,mem_hci_plap 
+0x28e0 005481 icopy lap 
+0x28e1 005482 rtn 
+:      005484 fetch_self_bt_adr:
+0x28e2 005485 bpatch patch10_3 ,mem_patch10 
+0x28e3 005486 fetch 2 ,mem_nap 
+0x28e4 005487 icopy nap 
+0x28e5 005488 fetch 1 ,mem_uap 
+0x28e6 005489 icopy uap 
+0x28e7 005490 fetch 3 ,mem_lap 
+0x28e8 005491 icopy lap 
+0x28e9 005492 rtn 
+:      005494 fetch_extm_bt_adr:
+0x28ea 005495 bpatch patch10_4 ,mem_patch10 
+0x28eb 005496 fetch 2 ,mem_pnap 
+0x28ec 005497 icopy nap 
+0x28ed 005498 fetch 1 ,mem_puap 
+0x28ee 005499 icopy uap 
+0x28ef 005500 fetch 3 ,mem_plap 
+0x28f0 005501 icopy lap 
+0x28f1 005502 rtn 
+:      005505 fetch_diac:
+0x28f2 005506 bmark1 mark_all_diac ,fetch_diac_do 
+0x28f3 005507 rtnmark0 mark_inquiry_state 
+0x28f4 005508 rtnmark0 mark_periodical_diac 
+:      005509 fetch_diac_do:
+0x28f5 005510 and_into -256 ,lap 
+0x28f6 005511 pulse recalc 
+0x28f7 005512 nop 32 
+0x28f8 005513 rtn 
+:      005516 shutdown_radio:
+0x28f9 005517 bpatch patch10_5 ,mem_patch10 
+0x28fa 005518 branch shutdown_radio0 ,is_rx 
+0x28fb 005519 jam 0xd4 ,rf_tx_pa_ib 
+0x28fc 005520 nop 4 
+0x28fd 005521 jam 0xd2 ,rf_tx_pa_ib 
+0x28fe 005522 nop 4 
+0x28ff 005523 jam 0xd1 ,rf_tx_pa_ib 
+0x2900 005524 nop 4 
+0x2901 005525 fetch 1 ,mem_tx_power 
+0x2902 005526 beq tx_power_0db ,shutdown_radio_0db 
+0x2903 005527 beq tx_power_3db ,shutdown_radio_3db 
+0x2904 005528 beq tx_power_5db ,shutdown_radio_5db 
+0x2905 005529 beq tx_power_f3db ,shutdown_radio_f3db 
+0x2906 005530 beq tx_power_f5db ,shutdown_radio_f5db 
+0x2907 005531 beq tx_power_pair ,shutdown_radio_pair 
+:      005532 shutdown_radio_5db:
+:      005533 shutdown_radio_0db:
+0x2908 005534 jam 0xd0 ,rf_tx_pa_ib 
+0x2909 005535 jam 0xe0 ,rf_tx_pa_gc 
+:      005536 shutdown_radio0:
+0x290a 005537 force 0 ,radio_ctrl 
+0x290b 005538 disable is_rx 
+0x290c 005539 disable is_tx 
+0x290d 005540 pulse packet_end 
+0x290e 005541 jam 0x0 ,rfen_mdm 
+0x290f 005542 jam 0x0 ,rfen_tx 
+0x2910 005543 jam 0x0 ,rfen_rx 
+0x2911 005544 jam 0 ,rfen_sn 
+0x2912 005545 jam 0x70 ,rfen_msc 
+0x2913 005546 jam 0x0 ,rfen_adc 
+0x2914 005547 rtn 
+:      005549 shutdown_radio_pair:
+:      005550 shutdown_radio_f5db:
+:      005551 shutdown_radio_f3db:
+:      005552 shutdown_radio_3db:
+0x2915 005553 jam 0xd0 ,rf_tx_pa_ib 
+0x2916 005554 jam 0xc0 ,rf_tx_pa_gc 
+0x2917 005555 branch shutdown_radio0 
+:      005557 set_sync_on:
+0x2918 005558 bpatch patch10_6 ,mem_patch10 
+0x2919 005559 jam 0x0 ,rfen_mdm 
+0x291a 005560 jam 0x0 ,rfen_tx 
+0x291b 005561 jam 0x18 ,rfen_rx 
+0x291c 005562 jam 0xa7 ,rfen_sn 
+0x291d 005563 jam 0x7f ,rfen_msc 
+0x291e 005564 rtn 
+:      005566 set_freq_rx:
+0x291f 005567 bpatch patch10_7 ,mem_patch10 
+0x2920 005569 storet 1 ,mem_last_freq 
+0x2921 005570 add temp ,rx_freq_offset ,rega 
+0x2922 005571 jam 0x07 ,rf_balun_ctrim 
+0x2923 005572 branch rf_write_freq 
+:      005573 rf_rx_enable:
+0x2924 005574 bpatch patch11_0 ,mem_patch11 
+0x2925 005575 jam 0xcf ,rfen_tx 
+0x2926 005576 nop 10 
+0x2927 005577 jam 0xff ,rfen_rx 
+0x2928 005578 jam 0xaf ,rfen_sn 
+0x2929 005579 jam 0xff ,rfen_msc 
+0x292a 005580 nop 10 
+0x292b 005581 jam 0xa0 ,rfen_mdm 
+0x292c 005582 rtn 
+:      005584 set_freq_tx_offset:
+0x292d 005585 fetch 1 ,mem_250k_freq_enable 
+0x292e 005586 branch set_freq_tx_2m_offset ,blank 
+:      005587 set_freq_tx_0m_offset:
+0x292f 005588 add temp ,2 ,rega 
+0x2930 005589 rtn 
+:      005590 set_freq_tx_2m_offset:
+0x2931 005591 add temp ,0 ,rega 
+0x2932 005592 rtn 
+:      005594 set_freq_tx:
+0x2933 005595 bpatch patch11_1 ,mem_patch11 
+0x2934 005596 storet 1 ,mem_last_freq 
+0x2935 005597 call set_freq_tx_offset 
+0x2936 005598 call rf_write_freq 
+0x2937 005599 setarg param_pll_setup 
+0x2938 005600 call sleep 
+:      005601 txon:
+0x2939 005602 jam 0x1 ,rfen_adc 
+0x293a 005603 jam 0x3c ,rfen_rx 
+0x293b 005604 jam 0xe0 ,rfen_tx 
+0x293c 005605 jam 0x12 ,rf_balun_ctrim 
+0x293d 005606 nop 10 
+0x293e 005607 jam 0x01 ,rfen_mdm 
+0x293f 005608 jam 0x3d ,rfen_mdm 
+0x2940 005609 nop 10 
+0x2941 005610 jam 0xb7 ,rfen_sn 
+0x2942 005611 nop 10 
+0x2943 005612 jam 0x7f ,rfen_mdm 
+:      005613 txon_power_select:
+0x2944 005614 fetch 1 ,mem_tx_power 
+0x2945 005615 beq tx_power_0db ,set_tx_power_0db 
+0x2946 005616 beq tx_power_3db ,set_tx_power_3db 
+0x2947 005617 beq tx_power_5db ,set_tx_power_5db 
+0x2948 005618 beq tx_power_f3db ,set_tx_power_f3db 
+0x2949 005619 beq tx_power_f5db ,set_tx_power_f5db 
+0x294a 005620 beq tx_power_pair ,set_tx_power_pair 
+:      005621 set_tx_power_0db:
+0x294b 005622 jam 0xf0 ,rf_tx_pa_gc 
+0x294c 005623 call txon_common 
+0x294d 005624 jam 0xd8 ,rf_tx_pa_ib 
+0x294e 005625 rtn 
+:      005627 set_tx_power_3db:
+0x294f 005628 jam 0xdf ,rf_tx_pa_gc 
+0x2950 005629 call txon_common 
+0x2951 005630 jam 0xdf ,rf_tx_pa_ib 
+0x2952 005631 rtn 
+:      005633 set_tx_power_5db:
+0x2953 005634 jam 0xff ,rf_tx_pa_gc 
+0x2954 005635 call txon_common 
+0x2955 005636 jam 0xdf ,rf_tx_pa_ib 
+0x2956 005637 rtn 
+:      005638 set_tx_power_f3db:
+0x2957 005639 jam 0xce ,rf_tx_pa_gc 
+0x2958 005640 call txon_common 
+0x2959 005641 jam 0xd8 ,rf_tx_pa_ib 
+0x295a 005642 rtn 
+:      005644 set_tx_power_f5db:
+0x295b 005645 jam 0xcb ,rf_tx_pa_gc 
+0x295c 005646 call txon_common 
+0x295d 005647 jam 0xd8 ,rf_tx_pa_ib 
+0x295e 005648 rtn 
+:      005650 set_tx_power_pair:
+0x295f 005651 jam 0xd0 ,rf_tx_pa_ib 
+0x2960 005652 jam 0xc0 ,rf_tx_pa_gc 
+0x2961 005653 jam 0x4c ,0x8957 
+0x2962 005654 jam 0x6c ,0x8958 
+0x2963 005655 jam 0x50 ,0x8959 
+0x2964 005656 rtn 
+:      005658 txon_common:
+0x2965 005659 nop 4 
+0x2966 005660 jam 0xd1 ,rf_tx_pa_ib 
+0x2967 005661 nop 4 
+0x2968 005662 jam 0xd2 ,rf_tx_pa_ib 
+0x2969 005663 nop 4 
+0x296a 005664 jam 0xd4 ,rf_tx_pa_ib 
+0x296b 005665 rtn 
+:      005668 initialize_radio:
+0x296c 005669 jam clksel_rc ,core_clksel 
+:      005670 initialize_radio_wait:
+0x296d 005671 fetch 2 ,mem_rf_init_ptr 
+0x296e 005672 bbit0 14 ,initialize_radio_wait 
+0x296f 005673 iforce contr 
+0x2970 005674 arg 0x8900 ,temp 
+:      005675 initialize_radio_loop:
+0x2971 005676 ifetch 1 ,contr 
+0x2972 005677 beq 0xff ,initialize_radio_cont 
+0x2973 005678 ior temp ,contw 
+0x2974 005679 ifetch 1 ,contr 
+0x2975 005680 istore 1 ,contw 
+0x2976 005681 branch initialize_radio_loop 
+:      005682 initialize_radio_cont:
+0x2977 005683 bpatch patch11_2 ,mem_patch11 
+0x2978 005684 call lpm_cal_xtal_startup 
+0x2979 005685 call switchto_dpllclk 
+0x297a 005687 setarg param_dpll_start_delay 
+0x297b 005688 iadd clkn_bt ,pdata 
+0x297c 005689 store 4 ,mem_dpll_clkn 
+0x297d 005690 set1 reset ,radio_ctrl 
+0x297e 005691 force 0 ,radio_ctrl 
+0x297f 005692 ncall do_rccal ,wake 
+0x2980 005693 branch set_rccal 
+:      005696 rf_write_freq:
+0x2981 005697 bpatch patch11_3 ,mem_patch11 
+0x2982 005698 setarg 2400 
+0x2983 005699 iadd rega ,temp 
+0x2984 005700 fetch 1 ,mem_fcomp_mul 
+0x2985 005701 jam 0x04 ,rf_pll_rstn 
+0x2986 005702 imul32 temp ,pdata 
+0x2987 005703 fetcht 1 ,mem_fcomp_div 
+0x2988 005704 idiv temp 
+0x2989 005705 call wait_div_end 
+0x298a 005706 quotient rega 
+0x298b 005707 remainder pdata 
+0x298c 005708 lshift16 pdata ,pdata 
+0x298d 005709 lshift4 pdata ,pdata 
+0x298e 005710 idiv temp 
+0x298f 005711 call wait_div_end 
+0x2990 005712 quotient pdata 
+0x2991 005713 lshift8 pdata ,pdata 
+0x2992 005714 lshift pdata ,pdata 
+0x2993 005715 ior rega ,pdata 
+0x2994 005716 hstore 4 ,rf_pll_intg 
+0x2995 005717 jam 0x44 ,rf_pll_rstn 
+0x2996 005718 jam 0xc4 ,rf_pll_rstn 
+0x2997 005719 rtn 
+:      005722 do_rccal:
+0x2998 005723 bpatch patch11_4 ,mem_patch11 
+0x2999 005724 jam 0x02 ,rfen_adc 
+0x299a 005725 setarg 250000 
+0x299b 005726 call sleep 
+0x299c 005727 jam 0x7f ,rfen_rx 
+0x299d 005728 nop 130 
+0x299e 005729 jam 0x30 ,rf_rccal_ctrl 
+0x299f 005730 jam 0xd0 ,rfen_tx 
+0x29a0 005731 jam 0x70 ,rf_rccal_ctrl 
+0x29a1 005732 jam 0xf0 ,rf_rccal_ctrl 
+0x29a2 005733 force 50 ,loopcnt 
+:      005734 do_rccal_loop:
+0x29a3 005735 hfetch 1 ,rf_rccal_result 
+0x29a4 005736 bbit1 5 ,do_rccal_end 
+0x29a5 005737 loop do_rccal_loop 
+:      005738 do_rccal_end:
+0x29a6 005739 store 1 ,mem_rf_rccal 
+0x29a7 005740 jam 0 ,rfen_tx 
+0x29a8 005741 jam 0 ,rfen_rx 
+0x29a9 005742 jam 0x00 ,rfen_adc 
+0x29aa 005743 rtn 
+:      005745 set_rccal:
+0x29ab 005746 bpatch patch11_5 ,mem_patch11 
+0x29ac 005747 fetch 1 ,mem_rf_rccal 
+0x29ad 005748 set1 5 ,pdata 
+0x29ae 005749 hstore 1 ,rf_rccal_ctrl 
+0x29af 005750 hfetcht 1 ,rf_bpf_ctrim 
+0x29b0 005751 and_into 7 ,temp 
+0x29b1 005752 lshift3 pdata ,pdata 
+0x29b2 005753 ior temp ,pdata 
+0x29b3 005754 hstore 1 ,rf_bpf_ctrim 
+0x29b4 005755 hfetch 1 ,rf_bpf_ib 
+0x29b5 005756 set0 bpf_rccal ,pdata 
+0x29b6 005757 hstore 1 ,rf_bpf_ib 
+0x29b7 005758 hfetch 1 ,rf_adc_rccal 
+0x29b8 005759 set0 adc_rccal ,pdata 
+0x29b9 005760 hstore 1 ,rf_adc_rccal 
+0x29ba 005761 rtn 
+:      005763 save_rssi:
+0x29bb 005764 bpatch patch11_6 ,mem_patch11 
+0x29bc 005765 hfetch 2 ,rf_afc_d2a 
+0x29bd 005766 rshift4 pdata ,pdata 
+0x29be 005767 rshift3 pdata ,pdata 
+0x29bf 005768 sub pdata ,0 ,pdata 
+:      005769 bcd:
+0x29c0 005770 and_into 0xff ,pdata 
+0x29c1 005771 div pdata ,10 
+0x29c2 005772 call wait_div_end 
+0x29c3 005773 quotient pdata 
+0x29c4 005774 lshift4 pdata ,pdata 
+0x29c5 005775 remainder temp 
+0x29c6 005776 ior temp ,pdata 
+0x29c7 005777 store 1 ,mem_rssi 
+0x29c8 005778 rtn 
+:      005781 switchto_dpllclk:
+0x29c9 005782 jam clksel_rc ,core_clksel 
+0x29ca 005783 hfetch 1 ,rf_clkpll_frac + 2 
+0x29cb 005784 set0 4 ,pdata 
+0x29cc 005785 set0 5 ,pdata 
+0x29cd 005786 hstore 1 ,rf_clkpll_frac + 2 
+0x29ce 005787 jam 0x00 ,rfen_ck 
+0x29cf 005788 jam 0x00 ,rfen_msc 
+0x29d0 005789 jam 0x70 ,rfen_msc 
+0x29d1 005790 jam 0xff ,rfen_ck 
+0x29d2 005791 hfetch 1 ,rf_clkpll_frac + 2 
+0x29d3 005792 set1 4 ,pdata 
+0x29d4 005793 set1 5 ,pdata 
+0x29d5 005794 hstore 1 ,rf_clkpll_frac + 2 
+0x29d6 005795 call init_lpm_ctrl 
+0x29d7 005796 hfetch 1 ,rf_clkpll_int 
+0x29d8 005797 set1 7 ,pdata 
+0x29d9 005798 hstore 1 ,rf_clkpll_int 
+0x29da 005799 set0 7 ,pdata 
+0x29db 005800 hstore 1 ,rf_clkpll_int 
+0x29dc 005801 set1 7 ,pdata 
+0x29dd 005802 hstore 1 ,rf_clkpll_int 
+0x29de 005803 jam clksel_dpll ,core_clksel 
+0x29df 005804 nop 1 
+0x29e0 005805 jam clksel_xtal ,core_clksel 
+0x29e1 005806 hfetch 1 ,rf_clkpll_frac + 2 
+0x29e2 005807 and_into 0xcf ,pdata 
+0x29e3 005808 hstore 1 ,rf_clkpll_frac + 2 
+0x29e4 005809 or_into 0x30 ,pdata 
+0x29e5 005810 hstore 1 ,rf_clkpll_frac + 2 
+0x29e6 005811 rtn 
+:      005814 xtal_fast_wake:
+0x29e7 005815 setarg 0xf0f 
+0x29e8 005816 branch lpm_write_config 
+:      005818 init_lpm_ctrl:
+0x29e9 005819 setarg 0x80f 
+0x29ea 005820 branch lpm_write_config 
+:      005824 start_receiver:
+0x29eb 005825 bpatch patch11_7 ,mem_patch11 
+0x29ec 005826 call rf_rx_enable 
+0x29ed 005827 disable is_tx 
+0x29ee 005828 enable is_rx 
+0x29ef 005829 pulse init_encrypt 
+0x29f0 005830 rtn 
+:      005832 prep_crypt:
+0x29f1 005833 bpatch patch12_0 ,mem_patch12 
+0x29f2 005834 fetch 1 ,mem_state_map 
+0x29f3 005835 isolate1 smap_encryption ,pdata 
+0x29f4 005836 setflag true ,0 ,pdata 
+0x29f5 005837 hstore 1 ,core_encrypt 
+0x29f6 005838 arg mem_kc ,contr 
+0x29f7 005839 ifetch 9 ,contr 
+0x29f8 005840 iforce kc_ls 
+0x29f9 005841 ifetch 7 ,contr 
+0x29fa 005842 iforce kc_ms 
+0x29fb 005843 fetch 1 ,mem_key_size 
+0x29fc 005844 add pdata ,-1 ,g1l 
+0x29fd 005845 pulse kc_p_activate 
+0x29fe 005846 rtn 
+:      005848 wait_access_end:
+0x29ff 005849 deposit clke 
+0x2a00 005850 store 6 ,mem_sync_clke 
+0x2a01 005851 disable decode_fec0 
+0x2a02 005852 nbranch shutdown_radio ,sync 
+0x2a03 005853 arg param_clke_cal ,clke_rt 
+0x2a04 005854 increase 1 ,clke_bt 
+0x2a05 005855 and_into 0x1fc ,clke_bt 
+0x2a06 005856 rtn 
+:      005860 wait_access_mhalfbnd:
+0x2a07 005861 enable decode_fec0 
+:      005862 wait_access_mhalfbnd_correlate:
+0x2a08 005863 correlate null ,mhalfbnd 
+0x2a09 005864 branch wait_access_end ,sync 
+0x2a0a 005865 compare 0x02 ,clke_bt ,0x02 
+0x2a0b 005866 nbranch wait_access_mhalfbnd_correlate ,true 
+0x2a0c 005867 branch wait_access_end 
+:      005869 wait_access_clkn_rt:
+0x2a0d 005870 bpatch patch12_1 ,mem_patch12 
+0x2a0e 005871 arg param_conn_access ,timeup 
+0x2a0f 005872 enable decode_fec0 
+0x2a10 005873 correlate clkn_rt ,meet 
+0x2a11 005874 disable decode_fec0 
+0x2a12 005875 nbranch shutdown_radio ,sync 
+0x2a13 005876 rtn 
+:      005878 wait_access_forever:
+0x2a14 005879 bpatch patch12_2 ,mem_patch12 
+0x2a15 005880 enable decode_fec0 
+0x2a16 005881 correlate null ,timeout 
+0x2a17 005882 disable decode_fec0 
+0x2a18 005883 nbranch shutdown_radio ,sync 
+0x2a19 005884 arg param_clke_cal ,clke_rt 
+0x2a1a 005885 and_into 0x1fc ,clke_bt 
+0x2a1b 005886 rtn 
+:      005889 reserve_slot:
+0x2a1c 005890 bpatch patch12_3 ,mem_patch12 
+0x2a1d 005891 iforce rega 
+0x2a1e 005892 deposit bt_clk 
+0x2a1f 005893 iadd temp ,timeup 
+0x2a20 005894 copy timeup ,pdata 
+0x2a21 005895 store 4 ,mem_next_btclk 
+0x2a22 005896 deposit rega 
+0x2a23 005897 rtn 
+:      005900 ahead_window:
+0x2a24 005901 copy pdata ,temp 
+0x2a25 005902 bpatch patch12_4 ,mem_patch12 
+0x2a26 005903 copy temp ,pdata 
+0x2a27 005904 call clk2bt 
+0x2a28 005905 lshift16 bt_clk ,pdata 
+0x2a29 005906 set1 44 ,pdata 
+0x2a2a 005907 call clk_diff 
+0x2a2b 005908 set0 44 ,pdata 
+0x2a2c 005909 call get_clk 
+0x2a2d 005910 call clk_diff 
+0x2a2e 005911 rtn user 
+0x2a2f 005912 call clk2rt 
+0x2a30 005913 iforce stop_watch 
+0x2a31 005914 until null ,timeout 
+0x2a32 005915 rtn 
+:      005918 setup_clk:
+0x2a33 005919 bpatch patch12_5 ,mem_patch12 
+0x2a34 005920 branch setup_clkn ,clknt 
+0x2a35 005921 until clke_rt ,meet 
+:      005922 skip_setup_clke:
+0x2a36 005923 copy clke_bt ,temp 
+0x2a37 005924 branch setup_clknbt 
+:      005925 setup_clkn:
+0x2a38 005926 branch skip_setup_clkn ,attempt 
+0x2a39 005927 until clkn_rt ,meet 
+:      005928 skip_setup_clkn:
+0x2a3a 005929 copy clkn_bt ,temp 
+:      005930 setup_clknbt:
+0x2a3b 005931 branch setup_clk11 ,user 
+0x2a3c 005932 compare 1 ,temp ,3 
+0x2a3d 005933 nbranch setup_clk ,true 
+:      005934 setup_complete:
+0x2a3e 005935 bpatch patch12_6 ,mem_patch12 
+0x2a3f 005936 fetch 1 ,mem_state 
+0x2a40 005937 rtnbit0 state_inconn 
+0x2a41 005938 fetch 4 ,mem_next_btclk 
+0x2a42 005939 isub temp ,pdata 
+0x2a43 005940 nrtn positive 
+0x2a44 005941 sub pdata ,0xff ,null 
+0x2a45 005942 branch setup_clk ,positive 
+0x2a46 005943 rtn 
+:      005944 setup_clk11:
+0x2a47 005945 compare 3 ,temp ,3 
+0x2a48 005946 nbranch setup_clk ,true 
+0x2a49 005947 branch setup_complete 
+:      005949 rf_setup_time:
+0x2a4a 005950 bpatch patch12_7 ,mem_patch12 
+0x2a4b 005951 arg param_rf_setup ,timeup 
+0x2a4c 005952 branch setup_clk 
+:      005954 rf_setup_time_slave_slot:
+0x2a4d 005955 disable user 
+0x2a4e 005956 branch rf_setup_time 
+:      005958 rf_setup_time_master_slot:
+0x2a4f 005959 enable user 
+0x2a50 005960 branch rf_setup_time 
+:      005962 start_transmitter:
+0x2a51 005963 bpatch patch13_0 ,mem_patch13 
+0x2a52 005964 call prep_crypt 
+0x2a53 005965 disable is_rx 
+0x2a54 005966 enable is_tx 
+0x2a55 005967 rtn 
+:      005971 start_tx_native:
+0x2a56 005972 bpatch patch13_1 ,mem_patch13 
+0x2a57 005973 arg param_tx_setup ,timeup 
+0x2a58 005974 until clkn_rt ,meet 
+0x2a59 005975 pulse init_encrypt 
+0x2a5a 005976 rtn 
+:      005978 start_rx_native:
+0x2a5b 005979 bpatch patch13_2 ,mem_patch13 
+0x2a5c 005980 arg param_rx_setup ,timeup 
+0x2a5d 005981 until clkn_rt ,meet 
+0x2a5e 005982 rtn 
+:      005985 start_tx_external:
+0x2a5f 005986 bpatch patch13_3 ,mem_patch13 
+0x2a60 005987 arg param_tx_setup ,timeup 
+0x2a61 005988 until clke_rt ,meet 
+0x2a62 005989 pulse init_encrypt 
+0x2a63 005990 rtn 
+:      005992 send_access_word:
+0x2a64 005993 bpatch patch13_4 ,mem_patch13 
+0x2a65 005994 preload access 
+0x2a66 005995 enable encode_fec0 
+0x2a67 005996 set1 txgfsk ,radio_ctrl 
+0x2a68 005997 inject mod ,72 
+0x2a69 005998 disable encode_fec0 
+0x2a6a 005999 rtn 
+:      006002 scan_mode_whiten:
+0x2a6b 006003 copy xin ,temp 
+0x2a6c 006004 or_into 0x60 ,temp 
+0x2a6d 006005 copy temp ,white_init 
+0x2a6e 006006 rtn 
+:      006011 get_free_amaddr:
+0x2a6f 006012 bpatch patch13_5 ,mem_patch13 
+0x2a70 006013 fetch 1 ,mem_current_amaddr 
+0x2a71 006014 increase 1 ,pdata 
+0x2a72 006015 bne param_esco_addr ,get_free_amaddr_cont 
+0x2a73 006016 force 1 ,pdata 
+:      006017 get_free_amaddr_cont:
+0x2a74 006018 store 1 ,mem_current_amaddr 
+0x2a75 006019 iforce am_addr 
+0x2a76 006020 rtn 
+:      006022 get_clk:
+0x2a77 006023 copy clkn ,temp 
+0x2a78 006024 rtn master 
+0x2a79 006025 copy clke ,temp 
+0x2a7a 006026 rtn 
+:      006028 get_clkbt:
+0x2a7b 006029 deposit clkn_bt 
+0x2a7c 006030 rtn master 
+0x2a7d 006031 deposit clke_bt 
+0x2a7e 006032 rtn 
+:      006035 supervision_update:
+0x2a7f 006036 bpatch patch13_6 ,mem_patch13 
+0x2a80 006037 fetcht 4 ,mem_supervision_timer 
+0x2a81 006038 call get_clkbt 
+0x2a82 006039 isub temp ,timeup 
+0x2a83 006040 deposit timeup 
+0x2a84 006041 fetcht 2 ,mem_supervision_to 
+0x2a85 006042 lshift temp ,temp 
+0x2a86 006043 isub temp ,pdata 
+0x2a87 006044 rtn 
+:      006046 supervision_flush:
+0x2a88 006047 bpatch patch13_7 ,mem_patch13 
+0x2a89 006048 call get_clkbt 
+0x2a8a 006049 store 4 ,mem_supervision_timer 
+0x2a8b 006050 rtn 
+:      006052 assert:
+0x2a8c 006053 bpatch patch14_0 ,mem_patch14 
+0x2a8d 006054 branch assert 
+:      006056 loop:
+0x2a8e 006057 branch loop 
+:      006059 sleep:
+0x2a8f 006060 rtn blank 
+0x2a90 006062 rshift pdata ,pdata 
+0x2a91 006063 increase -3 ,pdata 
+:      006064 sleep_loop:
+0x2a92 006065 increase -1 ,pdata 
+0x2a93 006066 nbranch sleep_loop ,zero 
+0x2a94 006067 force 0 ,pdata 
+0x2a95 006068 rtn 
+:      006072 init_param:
+0x2a96 006074 arg 0x10 ,loopcnt 
+0x2a97 006075 arg 0 ,contw 
+0x2a98 006076 call memset0 
+0x2a99 006077 arg mem_le_state ,contw 
+0x2a9a 006078 arg 10 ,loopcnt 
+0x2a9b 006079 call memset0 
+0x2a9c 006080 jam 0 ,mem_sp_calc 
+0x2a9d 006081 jam 0 ,mem_fifo_temp 
+0x2a9e 006082 jam 0 ,mem_le_testtype 
+0x2a9f 006083 jam 0 ,mem_debug_config 
+0x2aa0 006084 jam 0 ,mem_lmp_conn_state 
+0x2aa1 006085 bpatch patch14_1 ,mem_patch14 
+0x2aa2 006086 jam 0 ,mem_connection_options 
+0x2aa3 006087 jam 0 ,mem_tester_emulate 
+0x2aa4 006088 jam 0 ,mem_tester_cnt 
+0x2aa5 006089 setarg param_glap 
+0x2aa6 006090 store 3 ,mem_glap 
+0x2aa7 006091 setarg param_acl_pktlen 
+0x2aa8 006092 store 2 ,mem_acl_pktlen 
+0x2aa9 006093 jam param_sco_pktlen ,mem_sco_pktlen 
+0x2aaa 006094 jam param_acl_pktcnt ,mem_acl_pktcnt 
+0x2aab 006095 jam param_sco_pktcnt ,mem_sco_pktcnt 
+0x2aac 006096 setarg param_hci_version 
+0x2aad 006097 store 3 ,mem_hci_version 
+0x2aae 006102 jam 0x60 ,mem_fhs_misc 
+0x2aaf 006103 jam param_max_slot ,mem_max_slot 
+0x2ab0 006104 jam 0x02 ,mem_fw_ver 
+0x2ab1 006105 fetch 1 ,mem_ssp_enable 
+0x2ab2 006106 ncall init_memp ,blank 
+0x2ab3 006107 fetch 1 ,mem_le_secure_connect_enable 
+0x2ab4 006108 ncall init_memp_256 ,blank 
+0x2ab5 006109 bpatch patch14_2 ,mem_patch14 
+0x2ab6 006110 rtn wake 
+0x2ab7 006111 setarg 0 
+0x2ab8 006112 store 2 ,mem_tx_len 
+0x2ab9 006113 rshift clkn_bt ,pdata 
+0x2aba 006114 store 4 ,mem_last_clkn 
+0x2abb 006115 rtn 
+:      006122 lpmstate:
+0x2abc 006123 setarg 0xee21 
+0x2abd 006124 hstore 2 ,core_clkoff 
+0x2abe 006125 hfetch 4 ,core_gpio_in 
+0x2abf 006126 store 4 ,mem_saved_gpio_in 
+0x2ac0 006127 hfetch 1 ,core_lpm_ldocnt 
+0x2ac1 006128 store 1 ,mem_wakup_from_power_flag 
+0x2ac2 006129 bbit0 gpio_latch ,loadcode 
+0x2ac3 006130 enable wake 
+0x2ac4 006131 bbit0 cold_wake ,lpmwake 
+0x2ac5 006132 disable wake 
+0x2ac6 006133 deposit auxcnt 
+0x2ac7 006134 nbranch lpmwake ,blank 
+0x2ac8 006135 hfetch 1 ,core_lpm_ctrl + 3 
+0x2ac9 006136 bbit1 reload_code ,lpmwake 
+0x2aca 006137 arg param_hibernate_clks ,temp 
+0x2acb 006138 branch lpm_enter_sleep 
+:      006139 lpmwake:
+0x2acc 006140 hfetch 3 ,core_lpm_xtalcnt 
+0x2acd 006141 hstore 3 ,core_lpm_reg 
+0x2ace 006142 ifetch 1 ,contr 
+0x2acf 006143 or_into isogate_mask ,pdata 
+0x2ad0 006144 istore 1 ,contw 
+0x2ad1 006145 call lpm_write_ctrl2 
+0x2ad2 006146 hfetch 1 ,core_lpm_isogate 
+0x2ad3 006147 set1 enable_retmem ,pdata 
+0x2ad4 006148 hstore 1 ,core_lpm_isogate 
+0x2ad5 006149 call lpm_write_ctrl2 
+0x2ad6 006150 call lpm_load_context ,wake 
+0x2ad7 006151 hfetch 1 ,core_lpm_reg + 2 
+0x2ad8 006152 set0 gpio_latch ,pdata 
+0x2ad9 006153 hstore 1 ,core_lpm_reg + 2 
+0x2ada 006154 call lpm_write_ctrl2 
+0x2adb 006155 nbranch loadcode ,wake 
+0x2adc 006156 rtnmark0 mark_otp_encrypt 
+0x2add 006157 jam lock_otp ,core_misc_ctrl 
+0x2ade 006158 rtn 
+:      006160 lpm_load_context:
+0x2adf 006161 fetch 1 ,mem_saved_spidctrl 
+0x2ae0 006162 hstore 1 ,core_spid_ctrl 
+0x2ae1 006163 fetch 3 ,mem_saved_gsel 
+0x2ae2 006164 hstore 3 ,core_gpio_sel 
+0x2ae3 006165 fetch 4 ,mem_saved_gpio + 4 
+0x2ae4 006166 hstore 4 ,core_gpio_out0 
+0x2ae5 006167 fetch 4 ,mem_saved_gpio 
+0x2ae6 006168 hstore 4 ,core_gpio_oe0 
+0x2ae7 006169 fetch 8 ,mem_saved_gpio + 8 
+0x2ae8 006170 hstore 8 ,core_gpio_pu0 
+0x2ae9 006171 fetch 8 ,mem_saved_mark 
+0x2aea 006172 iforce mark 
+0x2aeb 006173 hfetch 8 ,core_gpio_wakeup_low 
+0x2aec 006174 store 8 ,mem_gpio_wakeup_low 
+0x2aed 006175 call load_ucode 
+0x2aee 006176 rtn 
+:      006178 lpm_save_context:
+0x2aef 006179 deposit mark 
+0x2af0 006180 store 8 ,mem_saved_mark 
+0x2af1 006181 hfetch 8 ,core_gpio_oe0 
+0x2af2 006182 store 8 ,mem_saved_gpio 
+0x2af3 006183 ifetch 8 ,contr 
+0x2af4 006184 istore 8 ,contw 
+0x2af5 006185 hfetch 3 ,core_gpio_sel 
+0x2af6 006186 store 3 ,mem_saved_gsel 
+0x2af7 006187 hfetch 1 ,core_spid_ctrl 
+0x2af8 006188 store 1 ,mem_saved_spidctrl 
+0x2af9 006189 branch lpm_write_gpio_wakeup 
+:      006191 lpo_calibration:
+0x2afa 006192 hfetch 1 ,core_bist_ctrl 
+0x2afb 006193 nbranch lpo_cal_inited ,blank 
+0x2afc 006194 fetch 3 ,mem_clks_per_lpo 
+0x2afd 006195 nrtn blank 
+0x2afe 006196 jam 0xc0 ,core_bist_ctrl 
+0x2aff 006197 jam ccnt_start ,core_misc_ctrl 
+:      006198 lpo_cal_inited:
+0x2b00 006199 hfetch 1 ,core_perf_status 
+0x2b01 006200 rtnbit0 1 
+0x2b02 006201 hfetch 3 ,core_clk_counter 
+0x2b03 006202 store 3 ,mem_clks_per_lpo 
+0x2b04 006203 rtn 
+:      006207 lpm_adjust_clk:
+0x2b05 006208 bpatch patch14_3 ,mem_patch14 
+0x2b06 006209 deposit clke 
+0x2b07 006210 call clk_diff_rt 
+0x2b08 006211 fetcht 4 ,mem_sleep_counter_all 
+0x2b09 006212 sub temp ,0xff ,null 
+0x2b0a 006213 rtn positive 
+0x2b0b 006214 lshift8 pdata ,pdata 
+0x2b0c 006215 lshift4 pdata ,pdata 
+0x2b0d 006216 idiv temp 
+0x2b0e 006217 call wait_div_end 
+0x2b0f 006218 quotient pdata 
+0x2b10 006219 arg param_lpm_adjmax ,temp 
+0x2b11 006220 call ceiling 
+0x2b12 006221 store 1 ,mem_lpm_adjust 
+0x2b13 006222 nbranch lpm_adjust_positive ,user 
+0x2b14 006223 sub pdata ,0 ,pdata 
+:      006224 lpm_adjust_positive:
+0x2b15 006225 fetcht 3 ,mem_clks_per_lpo 
+0x2b16 006226 iadd temp ,pdata 
+0x2b17 006227 store 3 ,mem_clks_per_lpo 
+:      006228 lpm_clear_counter:
+0x2b18 006229 setarg 0 
+0x2b19 006230 store 4 ,mem_sleep_counter_all 
+0x2b1a 006231 rtn 
+:      006235 lpm_doze:
+0x2b1b 006236 fetch 1 ,mem_lpm_config + 2 
+0x2b1c 006237 set1 reload_code ,pdata 
+0x2b1d 006238 store 1 ,mem_lpm_config + 2 
+0x2b1e 006239 branch lpm_hibernate_normal 
+:      006243 lpm_hibernate:
+0x2b1f 006244 arg param_hibernate_clks ,temp 
+0x2b20 006245 fetch 1 ,mem_lpm_config + 1 
+0x2b21 006246 set0 7 ,pdata 
+0x2b22 006247 store 1 ,mem_lpm_config + 1 
+:      006248 lpm_hibernate_normal:
+0x2b23 006249 bpatch patch14_4 ,mem_patch14 
+0x2b24 006250 call lpm_write_gpio_wakeup 
+0x2b25 006251 fetch 1 ,mem_lpm_hibernate_switch 
+0x2b26 006252 store 1 ,mem_lpm_xtalcnt + 4 
+0x2b27 006253 fetch 1 ,mem_lpm_xtalcnt + 2 
+0x2b28 006254 set1 cold_wake ,pdata 
+0x2b29 006255 store 1 ,mem_lpm_xtalcnt + 2 
+:      006258 lpm_sleep:
+0x2b2a 006259 bpatch patch14_5 ,mem_patch14 
+0x2b2b 006260 call xtal_fast_wake 
+0x2b2c 006261 fetch 4 ,mem_sleep_counter_all 
+0x2b2d 006262 iadd temp ,pdata 
+0x2b2e 006263 store 4 ,mem_sleep_counter_all 
+0x2b2f 006264 call lpm_save_context 
+0x2b30 006265 fetch 5 ,mem_lpm_xtalcnt 
+0x2b31 006266 hstore 4 ,core_lpm_reg 
+0x2b32 006267 rshift32 pdata ,rega 
+0x2b33 006268 until null ,lpo_edge 
+0x2b34 006269 deposit clkn 
+0x2b35 006270 store 6 ,mem_sleep_clkn 
+0x2b36 006271 jam lpmreg_sel_ctrl2 ,core_lpm_wr 
+0x2b37 006272 until null ,lpo_edge 
+0x2b38 006273 until null ,lpo_edge 
+0x2b39 006274 deposit rega 
+0x2b3a 006275 hstore 1 ,core_lpm_isogate 
+0x2b3b 006276 jam lpmreg_sel_ctrl2 ,core_lpm_wr 
+:      006277 lpm_enter_sleep:
+0x2b3c 006278 until null ,lpo_edge 
+0x2b3d 006279 until null ,lpo_edge 
+0x2b3e 006280 hstoret 4 ,core_lpm_reg 
+0x2b3f 006281 jam lpmreg_sel_counter ,core_lpm_wr 
+0x2b40 006282 until null ,never 
+:      006287 lpm_recover_clk:
+0x2b41 006288 bpatch patch14_6 ,mem_patch14 
+0x2b42 006289 setarg 0 
+0x2b43 006290 copy auxcnt ,null 
+0x2b44 006291 branch lpm_recover_timeout ,zero 
+0x2b45 006292 hfetch 1 ,core_lpm_xtalcnt 
+0x2b46 006293 hfetcht 1 ,core_lpm_buckcnt 
+0x2b47 006294 isub temp ,null 
+0x2b48 006295 branch lpm_recover_xtal ,positive 
+0x2b49 006296 deposit temp 
+:      006297 lpm_recover_xtal:
+0x2b4a 006298 isub auxcnt ,pdata 
+0x2b4b 006299 increase 1 ,pdata 
+:      006300 lpm_recover_timeout:
+0x2b4c 006301 increase 8 ,pdata 
+0x2b4d 006302 until null ,lpo_edge 
+0x2b4e 006303 iadd lpo_time ,pdata 
+0x2b4f 006304 fetcht 4 ,mem_sleep_counter 
+0x2b50 006305 iadd temp ,pdata 
+0x2b51 006306 fetcht 3 ,mem_clks_per_lpo 
+0x2b52 006307 imul32 temp ,pdata 
+0x2b53 006308 rshift8 pdata ,pdata 
+0x2b54 006309 rshift4 pdata ,pdata 
+0x2b55 006310 increase param_lpm_fix ,pdata 
+0x2b56 006311 arg 3750 ,temp 
+0x2b57 006312 idiv temp 
+0x2b58 006313 call wait_div_end 
+0x2b59 006314 quotient pdata 
+0x2b5a 006315 lshift16 pdata ,pdata 
+0x2b5b 006316 remainder temp 
+0x2b5c 006317 ior temp ,pdata 
+0x2b5d 006318 fetcht 6 ,mem_sleep_clkn 
+0x2b5e 006319 call clk_add 
+0x2b5f 006320 copy temp ,clkn 
+0x2b60 006321 fetch 6 ,mem_context + coffset_clk_offset 
+0x2b61 006322 call calc_clke2 
+0x2b62 006323 deposit clke 
+0x2b63 006324 store 6 ,mem_pdatatemp 
+0x2b64 006325 deposit auxcnt 
+0x2b65 006326 istore 1 ,contw 
+0x2b66 006327 hfetch 1 ,core_gpio_in1 
+0x2b67 006328 or_into 0xf0 ,pdata 
+0x2b68 006329 istore 1 ,contw 
+0x2b69 006330 rtn 
+:      006332 lpm_dispatch:
+0x2b6a 006333 bpatch patch14_7 ,mem_patch14 
+0x2b6b 006334 call lpo_calibration 
+0x2b6c 006335 fetch 3 ,mem_clks_per_lpo 
+0x2b6d 006336 rtn blank 
+0x2b6e 006337 fetch 1 ,mem_lpm_mode 
+0x2b6f 006338 rtn blank 
+0x2b70 006339 fetch 1 ,mem_ssp_enable 
+0x2b71 006340 branch lpm_dispatch_next ,blank 
+0x2b72 006341 fetch 1 ,mem_sp_local_key_invalid 
+0x2b73 006342 rtn blank 
+:      006343 lpm_dispatch_next:
+0x2b74 006344 fetch 1 ,mem_le_sc_calc 
+0x2b75 006345 nrtn blank 
+0x2b76 006346 call lpm_check_wake_lock 
+0x2b77 006347 nrtn blank 
+0x2b78 006348 fetch 1 ,mem_context 
+0x2b79 006349 compare 3 ,pdata ,0x7 
+0x2b7a 006350 nbranch lpm_dispatch_unconn ,true 
+0x2b7b 006351 fetch 2 ,mem_context + coffset_tsniff 
+0x2b7c 006352 rtn blank 
+0x2b7d 006353 rtn wake 
+0x2b7e 006354 bpatch patch15_0 ,mem_patch15 
+:      006355 lpm_dispatch_next2:
+0x2b7f 006356 fetcht 1 ,mem_lpm_current_mult 
+0x2b80 006357 fetch 2 ,mem_context + coffset_tsniff 
+0x2b81 006358 imul32 temp ,pdata 
+0x2b82 006359 rshift4 temp ,temp 
+0x2b83 006360 rshift2 temp ,temp 
+0x2b84 006361 isub temp ,pdata 
+0x2b85 006362 fetcht 4 ,mem_context + coffset_sniff_anchor 
+0x2b86 006363 iadd temp ,pdata 
+0x2b87 006364 fetcht 1 ,mem_lpm_overhead 
+0x2b88 006365 isub temp ,pdata 
+0x2b89 006366 lshift16 pdata ,alarm 
+0x2b8a 006367 bpatch patch15_1 ,mem_patch15 
+0x2b8b 006368 fetch 2 ,mem_context + coffset_rx_window 
+0x2b8c 006369 rshift pdata ,pdata 
+0x2b8d 006370 call clk2bt 
+0x2b8e 006371 deposit alarm 
+0x2b8f 006372 call clk_diff 
+0x2b90 006373 copy clke ,temp 
+0x2b91 006374 call clk_diff_rt 
+0x2b92 006375 rtn user 
+:      006376 lpm_dispatch_sleep:
+0x2b93 006377 call clk2lpo 
+:      006378 lpm_dispatch_lpo:
+0x2b94 006379 bpatch patch15_2 ,mem_patch15 
+0x2b95 006380 fetch 1 ,mem_lpm_xtalcnt 
+0x2b96 006381 isub temp ,null 
+0x2b97 006382 branch lpm_clear_counter ,positive 
+0x2b98 006383 storet 4 ,mem_sleep_counter 
+0x2b99 006384 call app_will_enter_lpm 
+0x2b9a 006385 call l2cap_lpm_save_txbuf 
+0x2b9b 006386 fetcht 4 ,mem_sleep_counter 
+0x2b9c 006387 branch lpm_sleep 
+:      006389 lpm_dispatch_unconn:
+0x2b9d 006390 bpatch patch15_3 ,mem_patch15 
+0x2b9e 006391 fetch 1 ,mem_context 
+0x2b9f 006392 rtnbit1 state_inconn 
+0x2ba0 006393 rtnbit1 state_inpage 
+0x2ba1 006394 fetch 1 ,mem_ssp_enable 
+0x2ba2 006395 branch lpm_unconn_nossp ,blank 
+0x2ba3 006396 fetch 1 ,mem_sp_local_key_invalid 
+0x2ba4 006397 rtn blank 
+:      006398 lpm_unconn_nossp:
+0x2ba5 006399 bpatch patch15_4 ,mem_patch15 
+0x2ba6 006400 fetch 1 ,mem_le_adv_enable 
+0x2ba7 006401 nbranch lpm_unconn_cont ,blank 
+0x2ba8 006402 fetch 1 ,mem_scan_mode 
+0x2ba9 006403 rtn blank 
+:      006404 lpm_unconn_cont:
+0x2baa 006405 fetch 2 ,mem_lpm_interval 
+0x2bab 006406 rtn blank 
+:      006407 lpm_sleep_btclk:
+0x2bac 006408 fetcht 1 ,mem_lpm_overhead 
+0x2bad 006409 isub temp ,pdata 
+0x2bae 006410 arg 7500 ,temp 
+0x2baf 006411 imul32 temp ,pdata 
+0x2bb0 006412 branch lpm_dispatch_sleep 
+:      006414 lpm_set_mult:
+0x2bb1 006415 bpatch patch15_5 ,mem_patch15 
+0x2bb2 006416 disable wake 
+0x2bb3 006417 fetch 1 ,mem_state 
+0x2bb4 006418 rtnbit0 state_insniff 
+0x2bb5 006419 nbranch lpm_not_match ,match 
+0x2bb6 006420 call lpm_match 
+0x2bb7 006421 fetch 2 ,mem_rx_window_sniff 
+0x2bb8 006422 store 2 ,mem_rx_window 
+0x2bb9 006423 fetch 1 ,mem_arq 
+0x2bba 006424 bbit1 wack ,lpm_mult_short 
+0x2bbb 006425 bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+0x2bbc 006426 call l2cap_malloc_is_fifo_empty 
+0x2bbd 006427 nbranch lpm_mult_short ,blank 
+0x2bbe 006428 fetch 1 ,mem_classic_bt_flag 
+0x2bbf 006429 bbit1 short_mult_flag ,lpm_mult_short 
+:      006430 lpm_mult_wait_timeout:
+0x2bc0 006431 jam 0 ,mem_lpm_current_mult 
+0x2bc1 006432 bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+0x2bc2 006433 fetch 1 ,mem_lpm_mult_cnt 
+0x2bc3 006434 branch lpm_mult_long ,blank 
+0x2bc4 006435 increase -1 ,pdata 
+0x2bc5 006436 store 1 ,mem_lpm_mult_cnt 
+0x2bc6 006437 rtn 
+:      006440 classic_bt_set_mult_short_flag:
+0x2bc7 006441 arg short_mult_flag ,queue 
+0x2bc8 006442 branch classic_bluetooth_set_flag 
+:      006444 classic_bt_clr_mult_short_flag:
+0x2bc9 006445 arg short_mult_flag ,queue 
+0x2bca 006446 branch classic_bluetooth_clr_flag 
+:      006450 lpm_match:
+0x2bcb 006451 jam 0 ,mem_sniff_unint_lost 
+0x2bcc 006452 fetch 3 ,mem_sniff_rcv 
+0x2bcd 006453 increase 1 ,pdata 
+0x2bce 006454 store 3 ,mem_sniff_rcv 
+0x2bcf 006455 rtn 
+:      006457 lpm_not_match:
+0x2bd0 006458 bpatch patch15_6 ,mem_patch15 
+0x2bd1 006459 fetcht 2 ,mem_rx_window_sniff 
+0x2bd2 006460 rshift temp ,temp 
+0x2bd3 006461 fetch 2 ,mem_rx_window 
+0x2bd4 006462 iadd temp ,pdata 
+0x2bd5 006463 store 2 ,mem_rx_window 
+:      006464 lpm_lost:
+0x2bd6 006465 jam 0 ,mem_lpm_current_mult 
+0x2bd7 006466 fetch 3 ,mem_sniff_lost 
+0x2bd8 006467 increase 1 ,pdata 
+0x2bd9 006468 store 3 ,mem_sniff_lost 
+0x2bda 006469 fetch 1 ,mem_sniff_unint_lost 
+0x2bdb 006470 increase 1 ,pdata 
+0x2bdc 006471 store 1 ,mem_sniff_unint_lost 
+0x2bdd 006472 rtn 
+:      006474 lpm_mult_short:
+0x2bde 006475 jam 0 ,mem_lpm_current_mult 
+0x2bdf 006476 fetch 1 ,mem_lpm_mult_timeout 
+0x2be0 006477 store 1 ,mem_lpm_mult_cnt 
+0x2be1 006478 rtn 
+:      006480 lpm_mult_long:
+0x2be2 006481 fetcht 1 ,mem_lpm_mult 
+0x2be3 006482 storet 1 ,mem_lpm_current_mult 
+0x2be4 006483 rtn 
+:      006485 lpm_cal_xtal_startup:
+0x2be5 006486 bpatch patch15_7 ,mem_patch15 
+0x2be6 006487 fetch 1 ,mem_lpm_xtalcnt 
+0x2be7 006488 nrtn blank 
+0x2be8 006489 jam clksel_rc ,core_clksel 
+0x2be9 006490 setarg 0xf0c 
+0x2bea 006491 call lpm_write_config 
+0x2beb 006492 setarg 200000 
+0x2bec 006493 call sleep 
+0x2bed 006494 until null ,lpo_edge 
+0x2bee 006495 copy lpo_time ,alarm 
+0x2bef 006496 call xtal_fast_wake 
+0x2bf0 006497 jam clksel_xtal ,core_clksel 
+0x2bf1 006498 nop 10 
+0x2bf2 006499 until null ,lpo_edge 
+0x2bf3 006500 deposit lpo_time 
+0x2bf4 006501 isub alarm ,pdata 
+0x2bf5 006502 increase 0x30 ,pdata 
+0x2bf6 006503 arg 0xff ,temp 
+0x2bf7 006504 call ceiling 
+0x2bf8 006505 store 1 ,mem_lpm_xtalcnt 
+0x2bf9 006506 nop 30000 
+0x2bfa 006507 nop 30000 
+0x2bfb 006508 nop 30000 
+0x2bfc 006509 rtn 
+:      006511 lpm_cal_xtal_startup_by_snooze:
+0x2bfd 006512 fetch 1 ,mem_lpm_xtalcnt 
+0x2bfe 006513 nrtn blank 
+0x2bff 006514 jam 0xff ,core_xtal_stable_time 
+0x2c00 006515 jam clksel_rc ,core_clksel 
+0x2c01 006516 call xtal_fast_wake 
+0x2c02 006517 setarg 1000 
+0x2c03 006518 iadd lpo_time ,alarm 
+0x2c04 006519 snooze 
+0x2c05 006520 deposit lpo_time 
+0x2c06 006521 nop 12000 
+0x2c07 006522 nop 12000 
+0x2c08 006523 nop 12000 
+0x2c09 006524 nop 12000 
+0x2c0a 006525 nop 12000 
+0x2c0b 006526 nop 12000 
+0x2c0c 006527 nop 12000 
+0x2c0d 006528 nop 12000 
+0x2c0e 006529 nop 12000 
+0x2c0f 006530 isub alarm ,pdata 
+0x2c10 006531 add pdata ,0x30 ,pdata 
+0x2c11 006532 arg 0xff ,temp 
+0x2c12 006533 call ceiling 
+0x2c13 006534 store 1 ,mem_lpm_xtalcnt 
+0x2c14 006535 nop 30000 
+0x2c15 006536 nop 30000 
+0x2c16 006537 nop 30000 
+0x2c17 006538 rtn 
+:      006543 lpm_write_config:
+0x2c18 006544 arg 0xfff ,contw 
+0x2c19 006545 iand contw ,contw 
+0x2c1a 006546 fetch 1 ,mem_lpm_config 
+0x2c1b 006547 and_into 0xf0 ,pdata 
+0x2c1c 006548 lshift8 pdata ,pdata 
+0x2c1d 006549 ior contw ,pdata 
+0x2c1e 006550 hstore 2 ,core_lpm_reg 
+0x2c1f 006551 ifetch 2 ,contr 
+0x2c20 006552 istore 2 ,contw 
+:      006554 lpm_write_ctrl:
+0x2c21 006555 setarg lpmreg_sel_ctrl 
+0x2c22 006556 branch lpm_write 
+:      006558 lpm_write_ctrl2:
+0x2c23 006559 setarg lpmreg_sel_ctrl2 
+:      006560 lpm_write:
+0x2c24 006561 until null ,lpo_edge 
+0x2c25 006562 hstore 1 ,core_lpm_wr 
+0x2c26 006563 until null ,lpo_edge 
+0x2c27 006564 until null ,lpo_edge 
+0x2c28 006565 rtn 
+:      006568 lpm_write_gpio_wakeup:
+0x2c29 006569 bpatch patch16_0 ,mem_patch16 
+0x2c2a 006570 fetch 4 ,mem_gpio_wakeup_low 
+0x2c2b 006571 hstore 4 ,core_lpm_reg 
+0x2c2c 006572 setarg lpmreg_sel_gpiolow 
+0x2c2d 006573 call lpm_write 
+0x2c2e 006574 fetch 4 ,mem_gpio_wakeup_high 
+0x2c2f 006575 hstore 4 ,core_lpm_reg 
+0x2c30 006576 setarg lpmreg_sel_gpiohigh 
+0x2c31 006577 branch lpm_write 
+:      006579 lpm_get_wake_lock:
+0x2c32 006580 fetch 2 ,mem_lpm_wake_lock 
+0x2c33 006581 qset1 pdata 
+0x2c34 006582 store 2 ,mem_lpm_wake_lock 
+0x2c35 006583 rtn 
+:      006585 lpm_put_wake_lock:
+0x2c36 006586 fetch 2 ,mem_lpm_wake_lock 
+0x2c37 006587 qset0 pdata 
+0x2c38 006588 store 2 ,mem_lpm_wake_lock 
+0x2c39 006589 rtn 
+:      006593 lpm_check_wake_lock:
+0x2c3a 006594 bpatch patch16_1 ,mem_patch16 
+0x2c3b 006595 call app_check_wake_lock 
+0x2c3c 006596 fetch 2 ,mem_lpm_wake_lock 
+0x2c3d 006597 copy pdata ,rega 
+0x2c3e 006598 fetch 1 ,mem_state_map 
+0x2c3f 006599 isolate1 smap_rxlmp ,pdata 
+0x2c40 006600 setflag true ,wake_lock_lmp_rx ,rega 
+0x2c41 006601 fetch 1 ,mem_lmo_opcode1 
+0x2c42 006602 fetcht 1 ,mem_lmo_opcode2 
+0x2c43 006603 iadd temp ,pdata 
+0x2c44 006604 fetcht 1 ,mem_lmp_to_send 
+0x2c45 006605 iadd temp ,pdata 
+0x2c46 006606 nsetflag blank ,wake_lock_lmp_tx ,rega 
+0x2c47 006607 fetch 1 ,mem_le_tx_buff_used 
+0x2c48 006608 nsetflag blank ,wake_lock_ble_tx ,rega 
+0x2c49 006609 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x2c4a 006610 fetcht 2 ,mem_l2cap_rxbuff2_len 
+0x2c4b 006611 iadd temp ,pdata 
+0x2c4c 006612 nsetflag blank ,wake_lock_l2cap_rx ,rega 
+0x2c4d 006613 fetch util_fifo_len ,mem_ipc_fifo_bt2c51 
+0x2c4e 006614 nsetflag blank ,wake_lock_ipc_bt2c51 ,rega 
+0x2c4f 006615 fetch util_fifo_len ,mem_ipc_fifo_c512bt 
+0x2c50 006616 nsetflag blank ,wake_lock_ipc_c512bt ,rega 
+0x2c51 006617 fetch 1 ,mem_hci_cmd 
+0x2c52 006618 nsetflag blank ,wake_lock_cmd ,rega 
+0x2c53 006619 fetch 1 ,mem_device_option 
+0x2c54 006620 compare dvc_op_module ,pdata ,0xff 
+0x2c55 006621 call lpm_uart_wake_lock ,true 
+0x2c56 006622 setarg -8 
+0x2c57 006623 iand rega ,rega 
+0x2c58 006624 copy rega ,pdata 
+0x2c59 006625 store 2 ,mem_lpm_wake_lock 
+0x2c5a 006626 rtn 
+:      006628 lpm_uart_wake_lock:
+0x2c5b 006629 hfetch 2 ,core_uart_rxitems 
+0x2c5c 006630 nsetflag blank ,wake_lock_uart_rx ,rega 
+0x2c5d 006631 hfetch 2 ,core_uart_txitems 
+0x2c5e 006632 nsetflag blank ,wake_lock_uart_tx ,rega 
+0x2c5f 006633 rtn 
+:      006635 lpm_shut_down:
+0x2c60 006636 hfetch 4 ,core_lpm_ctrl 
+0x2c61 006637 set0 27 ,pdata 
+0x2c62 006638 hstore 4 ,core_lpm_reg 
+0x2c63 006639 call lpm_write_ctrl 
+0x2c64 006640 branch assert 
+:      006642 lpm_disable_exen_output:
+0x2c65 006643 hfetch 4 ,core_lpm_xtalcnt 
+0x2c66 006644 set0 20 ,pdata 
+0x2c67 006645 hstore 4 ,core_lpm_reg 
+0x2c68 006646 branch lpm_write_ctrl2 
+:      006648 check_bt_disabled:
+0x2c69 006649 fetch 2 ,mem_chip_functions 
+0x2c6a 006650 bbit1 bt_disabled ,assert 
+0x2c6b 006651 rtn 
+:      006652 check_ble_disabled:
+0x2c6c 006653 fetch 2 ,mem_chip_functions 
+0x2c6d 006654 bbit1 ble_disabled ,assert 
+0x2c6e 006655 rtn 
+:      006656 check_module_disabled:
+0x2c6f 006657 fetch 2 ,mem_chip_functions 
+0x2c70 006658 bbit1 module_disable ,assert 
+0x2c71 006659 rtn 
+:      006720 g24_dispatch:
+0x2c72 006721 bpatch patch16_2 ,mem_patch16 
+0x2c73 006722 call g24_head_ptr2regc 
+0x2c74 006723 add regc ,offset_24g_mode ,regb 
+0x2c75 006724 ifetch 1 ,regb 
+0x2c76 006726 rtneq disable_24g 
+0x2c77 006727 beq tx_24g ,g24_transmit_process 
+0x2c78 006728 beq rx_24g ,g24_receive_process 
+0x2c79 006729 rtn 
+:      006731 g24_head_ptr2regc:
+0x2c7a 006732 fetcht 2 ,mem_24g_head_ptr 
+0x2c7b 006733 copy temp ,regc 
+0x2c7c 006734 rtn 
+:      006736 g24_receive_process_init:
+0x2c7d 006737 call g24_receive_init 
+0x2c7e 006738 branch g24_mode_switch_init 
+:      006740 g24_receive_process:
+0x2c7f 006741 call g24_mode_switch 
+0x2c80 006742 call g24_dongle_work_mode_auto 
+0x2c81 006743 call g24_dongle_bind_mode_auto 
+0x2c82 006744 branch g24_dongle_search_mode_auto 
+:      006747 g24_pair_init:
+0x2c83 006750 call g24_set0_mem_pid 
+0x2c84 006751 setarg g24_pair_ch 
+0x2c85 006752 call g24_store_mem_ch 
+0x2c86 006753 call g24_store_mem_pair_txpower 
+0x2c87 006756 add regc ,offset_24g_paring_addr ,rega 
+0x2c88 006757 ifetch 4 ,rega 
+0x2c89 006758 branch g24_store_mem_addr 
+:      006760 g24_ch:
+0x2c8a 006761 call g24_head_ptr2regc 
+0x2c8b 006762 add regc ,offset_24g_current_ch_number ,regb 
+0x2c8c 006763 ifetcht 1 ,regb 
+0x2c8d 006765 call g24_ch_temp_incre_size4 
+0x2c8e 006766 add regc ,offset_24g_current_ch_number ,contw 
+0x2c8f 006768 branch g24_contw_istoret_1byte 
+:      006770 g24_ch_temp_incre_size4:
+0x2c90 006771 call g24_ch_calc 
+0x2c91 006772 increase 1 ,temp 
+0x2c92 006773 and_into 3 ,temp 
+0x2c93 006774 rtn 
+:      006776 g24_ch_calc:
+0x2c94 006777 add regc ,offset_24g_addr ,regb 
+0x2c95 006778 ifetch 1 ,regb 
+0x2c96 006780 and_into 0x03 ,pdata 
+0x2c97 006781 mul32 pdata ,4 ,rega 
+0x2c98 006782 add regc ,offset_24g_ch_map1 ,pdata 
+0x2c99 006784 iadd rega ,pdata 
+0x2c9a 006785 iadd temp ,contr 
+0x2c9b 006786 ifetch 1 ,contr 
+0x2c9c 006788 branch g24_store_mem_ch 
+:      006790 g24_set_device_addr:
+0x2c9d 006791 call g24_store_mem_tx_power_temp 
+0x2c9e 006792 call otp_enable_chgpump 
+0x2c9f 006793 setarg 0x7e2 
+0x2ca0 006794 arg mem_temp ,rega 
+0x2ca1 006795 arg 4 ,temp 
+0x2ca2 006796 call otpd_read_data 
+0x2ca3 006797 call otp_disable_chgpump 
+0x2ca4 006798 fetch 4 ,mem_temp 
+0x2ca5 006799 call g24_store_mem_device_addr 
+0x2ca6 006801 nrtn blank 
+0x2ca7 006802 fetch 4 ,mem_lap 
+0x2ca8 006804 branch g24_store_mem_device_addr 
+:      006806 g24_transmit_rf_sta_init:
+0x2ca9 006807 call g24_set1_mem_rf_last_sta 
+0x2caa 006809 setarg 0 
+0x2cab 006810 call g24_store_mem_sync_cnt 
+:      006812 g24_transmit_rf_ctrl_clear:
+0x2cac 006813 call g24_fetch_mem_data_type 
+0x2cad 006815 and_into bits_data ,pdata 
+0x2cae 006817 branch g24_store_mem_data_type 
+:      006819 g24_hop_ch_enable:
+0x2caf 006820 call g24_fetch_mem_data_type 
+0x2cb0 006822 set1 bit_hop ,pdata 
+0x2cb1 006823 call g24_store_mem_data_type 
+0x2cb2 006826 branch g24_store_mem_txpayload 
+:      006828 g24_transmit_hop_pac_fail:
+0x2cb3 006829 call g24_fetch_mem_rf_work_stage 
+0x2cb4 006831 beq 1 ,g24_transmit_hop_pac_fail_wo_hop 
+0x2cb5 006832 beq 2 ,g24_transmit_hop_pac_fail_hop_stage2 
+0x2cb6 006833 rtn 
+:      006835 g24_transmit_hop_pac_fail_wo_hop:
+0x2cb7 006836 call g24_set2_mem_sync_cnt 
+:      006838 g24_transmit_hop_pac_fail_stage1:
+0x2cb8 006839 add regc ,offset_24g_hop_pac_retry ,contw 
+0x2cb9 006840 call g24_mem_set0 
+0x2cba 006842 call g24_store_mem_rf_last_sta 
+0x2cbb 006844 branch g24_transmit_rf_ctrl_clear 
+:      006846 g24_transmit_hop_pac_fail_hop_stage2:
+0x2cbc 006847 call g24_set0_mem_rf_hop_ch 
+0x2cbd 006849 branch g24_transmit_hop_pac_fail_stage1 
+:      006851 g24_transmit_pac_fail_hop_stage3:
+0x2cbe 006852 add regc ,offset_24g_txfail_cnt ,rega 
+0x2cbf 006853 ifetch 1 ,rega 
+0x2cc0 006855 increase 1 ,pdata 
+0x2cc1 006856 add regc ,offset_24g_txfail_cnt ,contw 
+0x2cc2 006857 istore 1 ,contw 
+0x2cc3 006859 beq 0x20 ,g24_tx_attempt_fail 
+0x2cc4 006860 call g24_fetch_mem_rf_hop_ch 
+0x2cc5 006862 beq 1 ,g24_rf_hop_fastly 
+0x2cc6 006863 setarg 1 
+0x2cc7 006864 call g24_store_mem_rf_hop_ch 
+:      006866 g24_rf_hop_attemp_again:
+0x2cc8 006867 call g24_fetch_mem_rf_hop_ch 
+0x2cc9 006869 bne 1 ,g24_transmit_rf_ctrl_clear 
+:      006870 g24_rf_hop_fastly:
+0x2cca 006871 add regc ,offset_24g_hop_fastly_cnt ,rega 
+0x2ccb 006872 ifetch 1 ,rega 
+0x2ccc 006874 increase 1 ,pdata 
+0x2ccd 006875 call g24_store_mem_hop_fastly_cnt 
+0x2cce 006877 beq 4 ,g24_rf_hop_fastly_exit 
+0x2ccf 006878 call g24_ch 
+0x2cd0 006879 call g24_set2_mem_max_retry 
+0x2cd1 006881 branch g24_transmit_packet 
+:      006883 g24_rf_hop_fastly_exit:
+0x2cd2 006884 call g24_set0_mem_hop_fastly_cnt 
+0x2cd3 006886 branch g24_transmit_rf_ctrl_clear 
+:      006888 g24_set0_mem_hop_fastly_cnt:
+0x2cd4 006889 setarg 0 
+:      006890 g24_store_mem_hop_fastly_cnt:
+0x2cd5 006891 add regc ,offset_24g_hop_fastly_cnt ,contw 
+0x2cd6 006892 branch g24_contw_istore_1byte 
+:      006894 g24_transmit_hop_pac_succ_wo_hop:
+0x2cd7 006895 call g24_set2_mem_sync_cnt 
+:      006897 g24_transmit_hop_pac_succ:
+0x2cd8 006898 call g24_set0_mem_rf_hop_ch 
+0x2cd9 006900 call g24_set1_mem_rf_last_sta 
+0x2cda 006902 branch g24_transmit_rf_ctrl_clear 
+:      006904 g24_transmit_succ_rf_config:
+0x2cdb 006905 call g24_fetch_mem_rf_work_stage 
+0x2cdc 006907 beq 3 ,g24_transmit_hop_pac_succ 
+0x2cdd 006908 call g24_fetch_mem_data_type 
+0x2cde 006910 isolate0 bit_hop ,pdata 
+0x2cdf 006911 branch g24_transmit_rf_sta_init ,true 
+0x2ce0 006912 call g24_fetch_mem_rf_work_stage 
+0x2ce1 006914 beq 1 ,g24_transmit_hop_pac_succ_wo_hop 
+0x2ce2 006915 beq 2 ,g24_transmit_hop_pac_succ 
+0x2ce3 006916 rtn 
+:      006918 g24_rf_sta_check:
+0x2ce4 006919 call g24_fetch_mem_pairing_sm 
+0x2ce5 006921 rtnne state_24g_pairing_success 
+0x2ce6 006922 call g24_rf_laststa_synccnt_check 
+0x2ce7 006923 ncall g24_rf_sync_cnt_check ,user2 
+0x2ce8 006924 rtn 
+:      006926 g24_rf_laststa_synccnt_check:
+0x2ce9 006927 disable user2 
+0x2cea 006928 add regc ,offset_24g_rf_last_sta ,rega 
+0x2ceb 006929 ifetch 1 ,rega 
+0x2cec 006931 rtnne 1 
+0x2ced 006932 add regc ,offset_24g_sync_cnt ,rega 
+0x2cee 006933 ifetch 1 ,rega 
+0x2cef 006935 rtnne 0 
+0x2cf0 006936 setarg 1 
+0x2cf1 006937 call g24_store_mem_rf_work_stage 
+0x2cf2 006939 call g24_set4_mem_max_retry 
+0x2cf3 006941 branch enable_user2 
+:      006943 g24_rf_sync_cnt_check:
+0x2cf4 006944 add regc ,offset_24g_sync_cnt ,rega 
+0x2cf5 006945 ifetch 1 ,rega 
+0x2cf6 006947 branch g24_rf_hop_attemp ,blank 
+0x2cf7 006948 increase -1 ,pdata 
+0x2cf8 006949 call g24_store_mem_sync_cnt 
+0x2cf9 006951 setarg 2 
+0x2cfa 006952 call g24_store_mem_rf_work_stage 
+0x2cfb 006954 call g24_ch 
+0x2cfc 006956 branch g24_set4_mem_max_retry 
+:      006958 g24_store_mem_rf_work_stage:
+0x2cfd 006959 add regc ,offset_24g_rf_work_stage ,contw 
+0x2cfe 006960 branch g24_contw_istore_1byte 
+:      006963 g24_rf_hop_attemp:
+0x2cff 006964 setarg 3 
+0x2d00 006965 call g24_store_mem_rf_work_stage 
+0x2d01 006967 call g24_fetch_mem_rf_hop_ch 
+0x2d02 006969 nbranch g24_rf_hop_attemp_again ,blank 
+0x2d03 006970 call g24_ch 
+:      006972 g24_set2_mem_max_retry:
+0x2d04 006973 setarg 2 
+0x2d05 006974 branch g24_store_mem_max_retry 
+:      006976 g24_transmit_process:
+0x2d06 006977 rtnmark0 mark_24g 
+0x2d07 006978 set1 mark_24g_conext ,mark 
+0x2d08 006979 bpatch patch16_3 ,mem_patch16 
+0x2d09 006980 add regc ,offset_24g_tx_without_int ,rega 
+0x2d0a 006981 ifetch 1 ,rega 
+0x2d0b 006983 beq 1 ,g24_transmit_without_int 
+0x2d0c 006984 call g24_timer_check 
+0x2d0d 006985 nbranch g24_transmit_exit ,user 
+0x2d0e 006986 call g24_interval_calibrate 
+:      006987 g24_transmit_without_int:
+0x2d0f 006988 add regc ,offset_24g_tx_without_int ,contw 
+0x2d10 006989 call g24_mem_set0 
+0x2d11 006991 call g24_txdata_prep 
+0x2d12 006992 nbranch g24_enter_lpm ,user 
+0x2d13 006993 call g24_rf_sta_check 
+:      006994 g24_transmit_start:
+0x2d14 006995 call g24_transmit_packet 
+0x2d15 006996 call g24_power_ctrl 
+:      006997 g24_transmit_exit:
+0x2d16 006998 set0 mark_24g_conext ,mark 
+0x2d17 006999 rtn 
+:      007001 g24_timer_timeout:
+0x2d18 007002 rtn zero 
+0x2d19 007003 set1 28 ,pdata 
+0x2d1a 007004 rtn 
+:      007006 g24_interval_calibrate:
+0x2d1b 007007 add regc ,offset_24g_pac_index ,rega 
+0x2d1c 007008 ifetch 1 ,rega 
+0x2d1d 007010 increase 1 ,pdata 
+0x2d1e 007011 add regc ,offset_24g_pac_index ,contw 
+0x2d1f 007012 istore 1 ,contw 
+0x2d20 007014 beq 4 ,g24_interval_max 
+0x2d21 007015 beq 5 ,g24_interval_min 
+0x2d22 007016 rtn 
+:      007017 g24_interval_max:
+0x2d23 007018 add regc ,offset_24g_interval_max ,rega 
+0x2d24 007019 ifetch 1 ,rega 
+:      007021 g24_interval_update:
+0x2d25 007023 add regc ,offset_24g_interval ,contw 
+0x2d26 007024 branch g24_contw_istore_1byte 
+:      007026 g24_interval_min:
+0x2d27 007027 add regc ,offset_24g_pac_index ,contw 
+0x2d28 007028 call g24_mem_set0 
+0x2d29 007030 add regc ,offset_24g_interval_min ,rega 
+0x2d2a 007031 ifetch 1 ,rega 
+0x2d2b 007033 branch g24_interval_update 
+:      007035 g24_txdata_prep:
+0x2d2c 007036 call g24_fetch_mem_pairing_sm 
+0x2d2d 007038 bne state_24g_pairing_success ,g24_pairing_sm 
+0x2d2e 007039 bpatch patch16_4 ,mem_patch16 
+0x2d2f 007040 call g24_package_data 
+0x2d30 007041 nbranch g24_txdata_last_pac ,user 
+0x2d31 007042 call g24_transmit_prep 
+0x2d32 007043 call g24_power_ctrl_pac_incrs 
+:      007044 g24_txdata_enable_tx:
+0x2d33 007046 setarg ensure_on_24g 
+:      007047 g24_store_mem_ensure:
+0x2d34 007048 add regc ,offset_24g_ensure ,contw 
+0x2d35 007049 branch g24_contw_istore_1byte 
+:      007051 g24_txdata_last_pac:
+0x2d36 007052 add regc ,offset_24g_ensure ,rega 
+0x2d37 007053 ifetch 1 ,rega 
+0x2d38 007055 beq ensure_on_24g ,enable_user 
+0x2d39 007056 rtn 
+:      007058 g24_package_data:
+0x2d3a 007060 add regc ,offset_24g_cb_data ,temp 
+0x2d3b 007061 ifetch 2 ,temp 
+0x2d3c 007063 call callback_func 
+0x2d3d 007064 nrtn user 
+0x2d3e 007065 copy rega ,pdata 
+0x2d3f 007066 store 1 ,mem_rega 
+0x2d40 007067 add regc ,offset_24g_abort_pac ,contw 
+0x2d41 007068 call g24_mem_set0 
+0x2d42 007070 call g24_transmit_rf_ctrl_clear 
+0x2d43 007071 store 1 ,mem_24g_common_temp 
+0x2d44 007072 fetch 1 ,mem_rega 
+0x2d45 007073 copy pdata ,rega 
+0x2d46 007074 add rega ,1 ,temp 
+0x2d47 007075 arg mem_24g_common_temp + 1 ,contw 
+0x2d48 007076 copy rega ,loopcnt 
+0x2d49 007077 copy regb ,contr 
+0x2d4a 007078 call memcpy 
+0x2d4b 007079 arg mem_24g_common_temp ,rega 
+:      007080 g24_put_data_in_buff:
+0x2d4c 007081 rtnmark0 mark_24g_conext 
+0x2d4d 007082 add regc ,offset_24g_datalen ,contw 
+0x2d4e 007083 istoret 1 ,contw 
+0x2d4f 007085 copy temp ,loopcnt 
+0x2d50 007086 add regc ,offset_24g_txbuf ,contw 
+0x2d51 007088 copy rega ,contr 
+0x2d52 007089 branch memcpy 
+:      007091 g24_transmit_prep:
+0x2d53 007093 add regc ,offset_24g_datalen ,rega 
+0x2d54 007094 ifetch 1 ,rega 
+0x2d55 007096 increase 2 ,pdata 
+0x2d56 007097 add regc ,offset_24g_txlen ,contw 
+0x2d57 007098 istore 1 ,contw 
+0x2d58 007101 call g24_fetch_mem_data_type 
+0x2d59 007103 call g24_store_mem_txpayload 
+0x2d5a 007106 add regc ,offset_24g_datalen ,rega 
+0x2d5b 007107 ifetch 1 ,rega 
+0x2d5c 007109 lshift3 pdata ,pdata 
+0x2d5d 007110 add regc ,offset_24g_pid ,rega 
+0x2d5e 007111 ifetcht 1 ,rega 
+0x2d5f 007113 and temp ,0x03 ,temp 
+0x2d60 007114 lshift temp ,temp 
+0x2d61 007115 ior temp ,pdata 
+0x2d62 007116 add regc ,offset_24g_no_ack ,rega 
+0x2d63 007117 ifetcht 1 ,rega 
+0x2d64 007119 iadd temp ,pdata 
+0x2d65 007120 istore 1 ,contw 
+0x2d66 007122 add regc ,offset_24g_datalen ,rega 
+0x2d67 007123 ifetch 1 ,rega 
+0x2d68 007125 iforce loopcnt 
+0x2d69 007126 add regc ,offset_24g_txbuf ,contr 
+0x2d6a 007128 branch memcpy 
+:      007130 g24_send_abort_packet:
+0x2d6b 007131 call g24_set1_mem_abort_pac 
+0x2d6c 007133 call g24_set0_mem_rf_hop_ch 
+0x2d6d 007135 call g24_power_ctrl_reinit 
+0x2d6e 007136 call g24_transmit_rf_ctrl_clear 
+0x2d6f 007137 store 1 ,mem_24g_common_temp 
+0x2d70 007138 call g24_put_data_in_buff_pre 
+0x2d71 007139 call g24_fetch_mem_data_type 
+0x2d72 007141 set1 bit_abort ,pdata 
+0x2d73 007142 call g24_store_mem_data_type 
+0x2d74 007144 call g24_transmit_prep 
+0x2d75 007145 call g24_txdata_enable_tx 
+0x2d76 007146 branch g24_transmit_start 
+:      007148 g24_put_data_in_buff_pre:
+0x2d77 007149 store 1 ,mem_24g_common_temp + 1 
+0x2d78 007150 call g24_fetch_mem_device_addr 
+0x2d79 007152 store 4 ,mem_24g_common_temp + 2 
+0x2d7a 007153 arg 6 ,temp 
+0x2d7b 007154 arg mem_24g_common_temp ,rega 
+0x2d7c 007155 branch g24_put_data_in_buff 
+:      007157 g24_enter_lpm:
+0x2d7d 007158 add regc ,offset_24g_abort_pac ,rega 
+0x2d7e 007159 ifetch 1 ,rega 
+0x2d7f 007161 branch g24_send_abort_packet ,blank 
+:      007162 g24_enter_lpm_prepare:
+0x2d80 007164 add regc ,offset_24g_cb_lpm_prepare ,rega 
+0x2d81 007165 ifetch 2 ,rega 
+0x2d82 007167 branch callback_func 
+:      007169 g24_lpm_long_sleep:
+0x2d83 007170 call g24_head_ptr2regc 
+0x2d84 007172 call lpo_calibration 
+0x2d85 007173 fetch 3 ,mem_clks_per_lpo 
+0x2d86 007174 rtn blank 
+0x2d87 007175 add regc ,offset_24g_cb_lpm_before ,temp 
+0x2d88 007176 ifetch 2 ,temp 
+0x2d89 007178 call callback_func 
+0x2d8a 007179 add regc ,offset_24g_enter_hibernate ,temp 
+0x2d8b 007180 ifetch 8 ,temp 
+0x2d8c 007181 call clk2lpo 
+0x2d8d 007182 storet 4 ,mem_sleep_counter 
+0x2d8e 007183 branch lpm_sleep 
+:      007185 g24_transmit_packet:
+0x2d8f 007186 call g24_head_ptr2regc 
+0x2d90 007187 add regc ,offset_24g_retry ,contw 
+0x2d91 007188 call g24_mem_set0 
+:      007190 g24_transmit_loop:
+0x2d92 007191 call g24_transmit_receive_ack 
+0x2d93 007192 nbranch g24_retransmit ,sync 
+0x2d94 007193 nbranch g24_retransmit ,user3 
+0x2d95 007194 call g24_ackpayload_parse 
+0x2d96 007195 call g24_power_ctrl_ack_incrs 
+:      007196 g24_transmit_next_packet:
+0x2d97 007197 call g24_head_ptr2regc 
+0x2d98 007198 add regc ,offset_24g_pid ,rega 
+0x2d99 007199 ifetch 1 ,rega 
+0x2d9a 007201 increase 1 ,pdata 
+0x2d9b 007202 call g24_store_mem_pid 
+0x2d9c 007204 call g24_fetch_mem_pairing_sm 
+0x2d9d 007206 bne state_24g_pairing_success ,g24_paring_mode 
+0x2d9e 007207 call g24_transmit_succ_rf_config 
+:      007208 g24_transmit_abandon:
+0x2d9f 007209 setarg 0 
+0x2da0 007210 add regc ,offset_24g_txfail_cnt ,contw 
+0x2da1 007211 istore 2 ,contw 
+0x2da2 007215 setarg ensure_off_24g 
+0x2da3 007216 branch g24_store_mem_ensure 
+:      007219 g24_transmit_receive_ack:
+0x2da4 007220 disable user3 
+0x2da5 007221 call g24_transmit 
+0x2da6 007222 call g24_head_ptr2regc 
+0x2da7 007223 add regc ,offset_24g_no_ack ,rega 
+0x2da8 007224 ifetch 1 ,rega 
+0x2da9 007226 beq no_ack_24g ,g24_transmit_no_ack 
+0x2daa 007227 call g24_receive_packet 
+0x2dab 007228 branch g24_end_of_packet 
+:      007229 g24_transmit_no_ack:
+0x2dac 007230 call g24_end_of_packet 
+0x2dad 007231 branch g24_transmit_next_packet 
+:      007234 g24_retransmit:
+0x2dae 007235 bpatch patch16_5 ,mem_patch16 
+0x2daf 007236 add regc ,offset_24g_get_ack_fail ,rega 
+0x2db0 007237 ifetch 1 ,rega 
+0x2db1 007239 increase 1 ,pdata 
+0x2db2 007240 add regc ,offset_24g_get_ack_fail ,contw 
+0x2db3 007241 istore 1 ,contw 
+0x2db4 007243 call g24_fetch_mem_pairing_sm 
+0x2db5 007245 bne state_24g_pairing_success ,g24_tx_paring_retry 
+0x2db6 007246 add regc ,offset_24g_retry ,rega 
+0x2db7 007247 ifetcht 1 ,rega 
+0x2db8 007249 increase 1 ,temp 
+0x2db9 007250 add regc ,offset_24g_retry ,contw 
+0x2dba 007251 istoret 1 ,contw 
+0x2dbb 007253 add regc ,offset_24g_max_retry ,rega 
+0x2dbc 007254 ifetch 1 ,rega 
+0x2dbd 007256 isub temp ,pdata 
+0x2dbe 007257 nbranch g24_transmit_loop ,blank 
+0x2dbf 007258 bpatch patch16_6 ,mem_patch16 
+0x2dc0 007259 call g24_fetch_mem_rf_work_stage 
+0x2dc1 007261 beq 3 ,g24_transmit_pac_fail_hop_stage3 
+0x2dc2 007262 add regc ,offset_24g_hop_pac_retry ,rega 
+0x2dc3 007263 ifetch 1 ,rega 
+0x2dc4 007265 increase 1 ,pdata 
+0x2dc5 007266 add regc ,offset_24g_hop_pac_retry ,contw 
+0x2dc6 007267 istore 1 ,contw 
+0x2dc7 007269 beq 2 ,g24_transmit_hop_pac_fail 
+0x2dc8 007270 call g24_hop_ch_enable 
+0x2dc9 007271 setarg 1 
+0x2dca 007272 call g24_store_mem_max_retry 
+0x2dcb 007274 branch g24_transmit_packet 
+:      007276 g24_tx_paring_retry:
+0x2dcc 007277 add regc ,offset_24g_get_ack_fail ,rega 
+0x2dcd 007278 ifetch 1 ,rega 
+0x2dce 007280 rtnne 0xff 
+0x2dcf 007281 add regc ,offset_24g_get_ack_fail ,contw 
+0x2dd0 007282 call g24_mem_set0 
+0x2dd1 007284 branch g24_stop_24g_mode 
+:      007286 g24_tx_attempt_fail:
+0x2dd2 007287 add regc ,offset_24g_txfail_cnt ,contw 
+0x2dd3 007288 call g24_mem_set0 
+:      007290 g24_stop_24g_mode:
+0x2dd4 007291 jam bt_evt_24g_attempt_fail ,mem_fifo_temp 
+0x2dd5 007292 branch ui_ipc_send_event 
+:      007294 g24_ackpayload_parse:
+0x2dd6 007295 call g24_read_len_pid_crc 
+0x2dd7 007296 add regc ,offset_24g_rxdata_length ,rega 
+0x2dd8 007297 ifetch 1 ,rega 
+0x2dd9 007299 rtn blank 
+0x2dda 007300 iforce loopcnt 
+0x2ddb 007301 add regc ,offset_24g_rxbuf_add2 ,contr 
+0x2ddc 007303 add regc ,offset_24g_rxpayload ,contw 
+0x2ddd 007305 branch memcpy 
+:      007308 g24_read_len_pid_crc:
+0x2dde 007310 call g24_fetch_mem_rxbuf_add1 
+0x2ddf 007312 rshift3 pdata ,pdata 
+0x2de0 007313 add regc ,offset_24g_rxdata_length ,contw 
+0x2de1 007314 istore 1 ,contw 
+0x2de2 007317 increase 1 ,pdata 
+0x2de3 007318 add regc ,offset_24g_rxbuf_add1 ,contr 
+0x2de4 007320 iadd contr ,contr 
+0x2de5 007321 ifetch 3 ,contr 
+0x2de6 007322 add regc ,offset_24g_sta_crc ,contw 
+0x2de7 007323 istore 3 ,contw 
+0x2de8 007326 call g24_fetch_mem_rxbuf_add1 
+0x2de9 007328 rshift pdata ,pdata 
+0x2dea 007329 and pdata ,0x03 ,pdata 
+0x2deb 007330 add regc ,offset_24g_sta_pid ,contw 
+0x2dec 007331 istore 1 ,contw 
+0x2ded 007333 rtn 
+:      007335 g24_prep:
+0x2dee 007336 disable enable_crc 
+0x2def 007337 disable enable_white 
+0x2df0 007338 setarg 0x555555 
+0x2df1 007339 iforce crc24_init 
+0x2df2 007340 rtn 
+:      007342 g24_set_freq_tx:
+0x2df3 007343 call set_sync_on 
+0x2df4 007344 add regc ,offset_24g_ch ,rega 
+0x2df5 007345 ifetcht 1 ,rega 
+0x2df6 007347 branch set_freq_tx 
+:      007349 g24_transmit:
+0x2df7 007350 call g24_prep 
+0x2df8 007351 call g24_set_freq_tx 
+0x2df9 007352 set1 txgfsk ,radio_ctrl 
+0x2dfa 007353 enable encode_fec0 
+0x2dfb 007354 enable is_tx 
+0x2dfc 007355 disable is_rx 
+0x2dfd 007356 call le_enable 
+0x2dfe 007357 call g24_fetch_mem_addr 
+0x2dff 007359 iforce access 
+0x2e00 007360 inject mod ,32 
+0x2e01 007361 enable enable_crc 
+0x2e02 007362 add regc ,offset_24g_txlen ,rega 
+0x2e03 007363 ifetch 1 ,rega 
+0x2e04 007365 iforce loopcnt 
+0x2e05 007366 add regc ,offset_24g_txpayload ,contr 
+:      007368 g24tr_loop:
+0x2e06 007369 ifetch 1 ,contr 
+0x2e07 007370 inject mod ,8 
+0x2e08 007371 loop g24tr_loop 
+0x2e09 007372 enable enable_parity 
+0x2e0a 007373 inject mod ,24 
+0x2e0b 007374 disable enable_parity 
+0x2e0c 007375 until null ,tx_clear 
+0x2e0d 007376 bpatch patch16_7 ,mem_patch16 
+0x2e0e 007377 nop 100 
+0x2e0f 007378 disable encode_fec0 
+0x2e10 007379 rtn 
+:      007381 g24_receive_packet:
+0x2e11 007382 disable user3 
+0x2e12 007383 force 0 ,radio_ctrl 
+0x2e13 007384 add regc ,offset_24g_ch ,rega 
+0x2e14 007385 ifetcht 1 ,rega 
+0x2e15 007387 call set_freq_rx 
+0x2e16 007388 call rf_rx_enable 
+:      007389 g24_receive_rxon:
+0x2e17 007390 call g24_prep 
+0x2e18 007391 enable decode_fec0 
+0x2e19 007392 enable is_rx 
+0x2e1a 007393 disable is_tx 
+0x2e1b 007394 call le_enable 
+0x2e1c 007395 call g24_fetch_mem_addr 
+0x2e1d 007397 iforce access 
+0x2e1e 007398 enable swfine 
+0x2e1f 007399 add regc ,offset_24g_rx_window ,rega 
+0x2e20 007400 ifetch 2 ,rega 
+0x2e21 007402 iforce stop_watch 
+0x2e22 007403 correlate null ,timeout 
+0x2e23 007404 nbranch g24_sync_timeout ,sync 
+0x2e24 007405 enable enable_crc 
+0x2e25 007406 parse demod ,bucket ,8 
+0x2e26 007407 rshift3 pwindow ,pdata 
+0x2e27 007408 add regc ,offset_24g_rxbuf ,contw 
+0x2e28 007409 istore 1 ,contw 
+0x2e29 007411 add regc ,offset_24g_mode ,rega 
+0x2e2a 007412 ifetch 1 ,rega 
+0x2e2b 007414 beq rx_24g ,g24_receive_skip 
+0x2e2c 007415 bpatch patch17_0 ,mem_patch17 
+0x2e2d 007416 add regc ,offset_24g_rxbuf ,rega 
+0x2e2e 007417 ifetch 1 ,rega 
+0x2e2f 007419 add regc ,offset_24g_data_type ,rega 
+0x2e30 007420 ifetcht 1 ,rega 
+0x2e31 007422 icompare bits_data ,temp 
+0x2e32 007423 nbranch g24_end_of_packet ,true 
+:      007424 g24_receive_skip:
+0x2e33 007425 parse demod ,bucket ,8 
+0x2e34 007426 rshift3 pwindow ,pdata 
+0x2e35 007427 istore 1 ,contw 
+0x2e36 007428 rshift3 pdata ,pdata 
+0x2e37 007429 and pdata ,0x1f ,loopcnt 
+0x2e38 007430 branch g24rx_nopayload ,zero 
+:      007431 g24rx_loop:
+0x2e39 007432 parse demod ,bucket ,8 
+0x2e3a 007433 rshift3 pwindow ,pdata 
+0x2e3b 007434 istore 1 ,contw 
+0x2e3c 007435 loop g24rx_loop 
+:      007436 g24rx_nopayload:
+0x2e3d 007437 parse demod ,bucket ,24 
+0x2e3e 007438 rshift32 pdata ,pdata 
+0x2e3f 007439 rshift16 pdata ,pdata 
+0x2e40 007440 istore 3 ,contw 
+0x2e41 007441 branch g24_end_of_packet ,crc_failed 
+0x2e42 007442 enable user3 
+0x2e43 007443 disable decode_fec0 
+0x2e44 007444 rtn 
+:      007447 g24_end_of_packet:
+0x2e45 007448 disable encode_fec0 
+0x2e46 007449 disable decode_fec0 
+0x2e47 007450 disable enable_crc 
+0x2e48 007451 disable enable_white 
+0x2e49 007452 branch shutdown_radio ,is_rx 
+0x2e4a 007453 until null ,tx_clear 
+0x2e4b 007454 nop 100 
+0x2e4c 007455 branch shutdown_radio 
+:      007457 g24_sync_timeout:
+0x2e4d 007458 call rssi_noise 
+0x2e4e 007459 branch g24_end_of_packet 
+:      007461 rssi_noise:
+0x2e4f 007462 call save_rssi 
+0x2e50 007463 rtn blank 
+0x2e51 007464 add regc ,offset_rssi_noise_index ,rega 
+0x2e52 007465 ifetcht 1 ,rega 
+0x2e53 007467 arg mem_rssi_noise_buffer ,rega 
+0x2e54 007469 call rssi_noise_store 
+0x2e55 007470 add regc ,offset_rssi_noise_index ,contw 
+:      007472 g24_contw_istoret_1byte:
+0x2e56 007473 istoret 1 ,contw 
+0x2e57 007474 rtn 
+:      007476 rssi_noise_store:
+0x2e58 007477 arg rssi_buf_len_noise ,regb 
+0x2e59 007478 branch rssi_store 
+:      007496 rssi_store:
+0x2e5a 007497 copy rega ,pdata 
+0x2e5b 007498 iadd temp ,contw 
+0x2e5c 007499 fetch 1 ,mem_rssi 
+0x2e5d 007500 istore 1 ,contw 
+0x2e5e 007501 increase 1 ,temp 
+0x2e5f 007502 copy regb ,pdata 
+0x2e60 007503 iand_into temp 
+0x2e61 007504 rtn 
+:      007506 rssi_average:
+0x2e62 007507 arg 0 ,temp 
+0x2e63 007508 copy rega ,contr 
+:      007509 rssi_average_loop:
+0x2e64 007510 ifetch 1 ,contr 
+0x2e65 007511 iadd temp ,temp 
+0x2e66 007512 loop rssi_average_loop 
+0x2e67 007513 rshift8 temp ,temp 
+0x2e68 007514 rtn 
+:      007516 g24_power_ctrl_init:
+0x2e69 007517 call g24_head_ptr2regc 
+0x2e6a 007518 call g24_power_ctrl_incrs_level1 
+0x2e6b 007519 setarg 1 
+0x2e6c 007520 call g24_store_mem_power_ctrl_level 
+:      007522 g24_power_ctrl_reinit:
+0x2e6d 007523 setarg 0 
+0x2e6e 007524 call g24_store_mem_power_ctrl_pac 
+0x2e6f 007526 istore 1 ,contw 
+0x2e70 007528 rtn 
+:      007530 g24_power_ctrl_pac_incrs:
+0x2e71 007531 call g24_fetch_mem_power_ctrl_pac 
+0x2e72 007533 increase 1 ,pdata 
+:      007534 g24_store_mem_power_ctrl_pac:
+0x2e73 007536 add regc ,offset_power_ctrl_packet_cnt ,contw 
+0x2e74 007537 branch g24_contw_istore_1byte 
+:      007539 g24_power_ctrl_ack_incrs:
+0x2e75 007542 add regc ,offset_power_ctrl_ack_cnt ,rega 
+0x2e76 007543 ifetch 1 ,rega 
+0x2e77 007544 increase 1 ,pdata 
+0x2e78 007545 add regc ,offset_power_ctrl_ack_cnt ,contw 
+0x2e79 007546 branch g24_contw_istore_1byte 
+:      007548 g24_power_ctrl:
+0x2e7a 007549 bpatch patch17_1 ,mem_patch17 
+0x2e7b 007550 call g24_fetch_mem_power_ctrl_pac 
+0x2e7c 007552 sub pdata ,power_ctrl_max_packet_cnt ,null 
+0x2e7d 007553 rtn positive 
+0x2e7e 007554 add regc ,offset_power_ctrl_ack_cnt ,rega 
+0x2e7f 007555 ifetcht 1 ,rega 
+0x2e80 007557 isub temp ,temp 
+0x2e81 007558 call g24_power_ctrl_reinit 
+0x2e82 007559 setarg offset_power_ctrl_threshold_up 
+0x2e83 007560 iadd regc ,rega 
+0x2e84 007561 ifetch 1 ,rega 
+0x2e85 007563 isub temp ,null 
+0x2e86 007564 nbranch g24_power_ctrl_incrs ,positive 
+0x2e87 007565 setarg offset_power_ctrl_threshold_down 
+0x2e88 007566 iadd regc ,rega 
+0x2e89 007567 ifetch 1 ,rega 
+0x2e8a 007569 isub temp ,null 
+0x2e8b 007570 branch g24_power_ctrl_decrs ,positive 
+0x2e8c 007571 rtn 
+:      007573 g24_power_ctrl_incrs:
+0x2e8d 007574 add regc ,offset_power_ctrl_level ,rega 
+0x2e8e 007575 ifetch 1 ,rega 
+0x2e8f 007577 beq 2 ,g24_power_ctrl_incrs_level2 
+0x2e90 007578 increase 1 ,pdata 
+0x2e91 007579 call g24_store_mem_power_ctrl_level 
+0x2e92 007581 beq 1 ,g24_power_ctrl_incrs_level1 
+:      007582 g24_power_ctrl_incrs_level2:
+0x2e93 007583 setarg power_ctrl_losspac_thresh_up2 
+0x2e94 007584 call g24_store_mem_power_ctrl_threshold_up 
+0x2e95 007586 setarg power_ctrl_losspac_thresh_down2 
+0x2e96 007587 call g24_store_mem_power_ctrl_threshold_down 
+0x2e97 007590 add regc ,offset_power_ctrl_txpwr_level2 ,rega 
+0x2e98 007592 branch g24_ifetch_rega_store_mem_txpower 
+:      007594 g24_power_ctrl_decrs:
+0x2e99 007595 add regc ,offset_power_ctrl_level ,rega 
+0x2e9a 007596 ifetch 1 ,rega 
+0x2e9b 007598 beq 0 ,g24_power_ctrl_decrs_level0 
+0x2e9c 007599 increase -1 ,pdata 
+0x2e9d 007600 call g24_store_mem_power_ctrl_level 
+0x2e9e 007602 beq 0 ,g24_power_ctrl_decrs_level0 
+:      007603 g24_power_ctrl_decrs_level1:
+:      007606 g24_power_ctrl_incrs_level1:
+0x2e9f 007607 setarg power_ctrl_losspac_thresh_up1 
+0x2ea0 007608 call g24_store_mem_power_ctrl_threshold_up 
+0x2ea1 007610 setarg power_ctrl_losspac_thresh_down1 
+0x2ea2 007611 call g24_store_mem_power_ctrl_threshold_down 
+0x2ea3 007614 setarg offset_power_ctrl_txpwr_level1 
+:      007615 g24_iadd_offset_mem_txpower:
+0x2ea4 007616 iadd regc ,rega 
+:      007617 g24_ifetch_rega_store_mem_txpower:
+0x2ea5 007618 ifetch 1 ,rega 
+0x2ea6 007620 branch g24_store_mem_txpower 
+:      007622 g24_power_ctrl_decrs_level0:
+0x2ea7 007625 setarg power_ctrl_losspac_thresh_up0 
+0x2ea8 007626 call g24_store_mem_power_ctrl_threshold_up 
+0x2ea9 007628 setarg power_ctrl_losspac_thresh_down0 
+0x2eaa 007629 call g24_store_mem_power_ctrl_threshold_down 
+0x2eab 007632 setarg offset_power_ctrl_txpwr_level0 
+0x2eac 007634 branch g24_iadd_offset_mem_txpower 
+:      007648 g24_start_pairing_sm1:
+0x2ead 007649 set1 mark_24g ,mark 
+0x2eae 007650 call g24_pair_init 
+:      007651 g24_set_pairing_sm_1:
+0x2eaf 007653 setarg state_24g_pairing_1 
+0x2eb0 007654 branch g24_store_mem_pairing_sm 
+:      007656 g24_pairing_sm:
+0x2eb1 007657 add regc ,offset_24g_ensure ,rega 
+0x2eb2 007658 ifetch 1 ,rega 
+0x2eb3 007660 beq ensure_on_24g ,enable_user 
+0x2eb4 007661 call g24_fetch_mem_pairing_sm 
+0x2eb5 007663 beq state_24g_pairing_1 ,g24_pairing_sm_1 
+0x2eb6 007664 beq state_24g_pairing_2 ,g24_pairing_sm_2 
+0x2eb7 007665 beq state_24g_pairing_3 ,g24_pairing_sm_3 
+0x2eb8 007666 branch assert 
+:      007668 g24_pairing_sm_1:
+0x2eb9 007669 setarg state_24g_pairing_1_waiting_ack 
+0x2eba 007670 call g24_store_mem_pairing_sm 
+0x2ebb 007672 jam 0xaa ,mem_24g_common_temp 
+0x2ebc 007673 branch g24_pairing_sm_common 
+:      007674 g24_pairing_sm_2:
+0x2ebd 007675 setarg state_24g_pairing_2_waiting_ack 
+0x2ebe 007676 call g24_store_mem_pairing_sm 
+0x2ebf 007678 jam 0x55 ,mem_24g_common_temp 
+0x2ec0 007679 branch g24_pairing_sm_common 
+:      007680 g24_pairing_sm_3:
+0x2ec1 007681 setarg state_24g_pairing_3_waiting_ack 
+0x2ec2 007682 call g24_store_mem_pairing_sm 
+0x2ec3 007684 jam 0x22 ,mem_24g_common_temp 
+:      007685 g24_pairing_sm_common:
+0x2ec4 007686 call g24_fetch_mem_data_type 
+0x2ec5 007688 and_into bits_data ,pdata 
+0x2ec6 007689 store 1 ,mem_24g_common_temp + 1 
+0x2ec7 007690 call g24_fetch_mem_device_addr 
+0x2ec8 007692 store 4 ,mem_24g_common_temp + 2 
+:      007693 g24_put_pairing_data_in_buff:
+0x2ec9 007694 jam 0 ,mem_24g_common_temp + 6 
+0x2eca 007695 arg mem_24g_common_temp ,rega 
+0x2ecb 007696 arg 7 ,temp 
+0x2ecc 007697 call g24_put_data_in_buff 
+0x2ecd 007698 call g24_transmit_prep 
+0x2ece 007699 call g24_txdata_enable_tx 
+0x2ecf 007700 branch enable_user 
+:      007702 g24_paring_mode:
+0x2ed0 007703 call g24_fetch_mem_pairing_sm 
+0x2ed1 007705 rtneq state_24g_pairing_success 
+0x2ed2 007706 beq state_24g_pairing_1_waiting_ack ,g24_pairing_sm_1_waiting_ack 
+0x2ed3 007707 beq state_24g_pairing_2_waiting_ack ,g24_pairing_sm_2_waiting_ack 
+0x2ed4 007708 beq state_24g_pairing_3_waiting_ack ,g24_pairing_sm_3_waiting_ack 
+0x2ed5 007709 rtn 
+:      007711 g24_pairing_sm_1_waiting_ack:
+0x2ed6 007712 setarg state_24g_pairing_2 
+0x2ed7 007713 call g24_store_mem_pairing_sm 
+0x2ed8 007715 branch g24_transmit_abandon 
+:      007716 g24_pairing_sm_2_waiting_ack:
+0x2ed9 007717 setarg state_24g_pairing_3 
+0x2eda 007718 call g24_store_mem_pairing_sm 
+0x2edb 007720 branch g24_transmit_abandon 
+:      007721 g24_pairing_sm_3_waiting_ack:
+0x2edc 007722 setarg state_24g_pairing_success 
+0x2edd 007723 call g24_store_mem_pairing_sm 
+0x2ede 007725 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+0x2edf 007726 call ui_ipc_send_event 
+0x2ee0 007727 add regc ,offset_24g_rxpayload_add2 ,rega 
+0x2ee1 007728 ifetch 4 ,rega 
+0x2ee2 007730 call g24_store_mem_addr 
+0x2ee3 007732 branch g24_transmit_abandon 
+:      007734 g24_auto_pair_start:
+0x2ee4 007735 set0 mark_24g ,mark 
+0x2ee5 007736 call g24_auto_pair_set_device_info 
+0x2ee6 007737 call g24_tx_attemp_data_prep 
+:      007738 g24_auto_pair_restart:
+0x2ee7 007739 call g24_set0_mem_check_dongle_times 
+:      007740 g24_auto_pair_start_loop:
+0x2ee8 007741 nop 2000 
+0x2ee9 007742 call g24_fetch_mem_check_dongle_times 
+0x2eea 007743 beq 0xff ,g24_stop_24g_mode 
+0x2eeb 007744 call g24_transmit_receive_ack 
+0x2eec 007745 nbranch g24_auto_pair_retry ,sync 
+0x2eed 007746 nbranch g24_auto_pair_retry ,user3 
+0x2eee 007747 call g24_ackpayload_parse 
+0x2eef 007748 call g24_head_ptr2regc 
+0x2ef0 007749 add regc ,offset_24g_paring_addr ,rega 
+0x2ef1 007750 ifetcht 4 ,rega 
+0x2ef2 007751 call g24_fetch_mem_addr_isub_temp 
+0x2ef3 007752 branch g24_start_pairing_sm1 ,zero 
+0x2ef4 007753 call g24_head_ptr2regc 
+0x2ef5 007754 add regc ,offset_24g_rxpayload_add2 ,rega 
+0x2ef6 007755 ifetch 4 ,rega 
+0x2ef7 007756 beq 0 ,g24_auto_pair_restart 
+0x2ef8 007757 call g24_store_mem_addr 
+0x2ef9 007758 branch g24_tx_attemp_dongle_succ 
+:      007760 g24_auto_pair_retry:
+0x2efa 007761 call g24_fetch_mem_check_dongle_times 
+0x2efb 007762 increase 1 ,pdata 
+0x2efc 007763 call g24_store_mem_check_dongle_times 
+0x2efd 007765 call g24_fetch_mem_auto_paring_switch 
+0x2efe 007766 increase 1 ,pdata 
+0x2eff 007767 and_into 1 ,pdata 
+0x2f00 007768 call g24_store_mem_auto_paring_switch 
+0x2f01 007769 beq 0 ,g24_auto_pair_device_attemp 
+0x2f02 007770 beq 1 ,g24_auto_pair_pair_attemp 
+0x2f03 007771 rtn 
+:      007773 g24_fetch_mem_auto_paring_switch:
+0x2f04 007774 setarg offset_24g_auto_pair_switch 
+0x2f05 007775 branch g24_set_rega_ifetch_1byte 
+:      007776 g24_store_mem_auto_paring_switch:
+0x2f06 007777 arg offset_24g_auto_pair_switch ,rega 
+0x2f07 007778 branch g24_set_contw_with_regb_store_1byte 
+:      007780 g24_auto_pair_set_device_info:
+0x2f08 007781 call g24_store_mem_tx_power 
+0x2f09 007782 call g24_fetch_mem_device_addr 
+0x2f0a 007783 call g24_store_mem_addr 
+0x2f0b 007784 branch g24_ch 
+:      007786 g24_auto_pair_device_attemp:
+0x2f0c 007787 call g24_auto_pair_set_device_info 
+0x2f0d 007788 branch g24_auto_pair_start_loop 
+:      007790 g24_auto_pair_pair_attemp:
+0x2f0e 007791 call g24_pair_init 
+0x2f0f 007792 branch g24_auto_pair_start_loop 
+:      007795 g24_start_24g_mode:
+0x2f10 007796 set0 mark_24g ,mark 
+0x2f11 007797 call g24_ch 
+0x2f12 007798 call g24_fetch_mem_pairing_sm 
+0x2f13 007800 rtnne state_24g_pairing_success 
+0x2f14 007801 call g24_tx_attemp_data_prep 
+0x2f15 007802 call g24_set0_mem_check_dongle_times 
+:      007804 g24_tx_attemp_dongle_loop:
+0x2f16 007805 nop 2000 
+0x2f17 007806 call g24_fetch_mem_check_dongle_times 
+0x2f18 007808 beq 0xff ,g24_stop_24g_mode 
+0x2f19 007809 call g24_transmit_receive_ack 
+0x2f1a 007810 nbranch g24_attemp_txdata_retry ,sync 
+0x2f1b 007811 nbranch g24_attemp_txdata_retry ,user3 
+:      007812 g24_tx_attemp_dongle_succ:
+0x2f1c 007813 set1 mark_24g ,mark 
+0x2f1d 007814 call g24_set0_mem_check_dongle_times 
+0x2f1e 007815 setarg state_24g_pairing_success 
+0x2f1f 007816 call g24_store_mem_pairing_sm 
+0x2f20 007818 jam bt_evt_24g_attempt_success ,mem_fifo_temp 
+0x2f21 007819 branch ui_ipc_send_event 
+:      007821 g24_tx_attemp_data_prep:
+0x2f22 007822 set1 mark_24g_conext ,mark 
+0x2f23 007823 jam 0xff ,mem_24g_common_temp 
+0x2f24 007824 call g24_fetch_mem_data_type 
+0x2f25 007826 call g24_put_data_in_buff_pre 
+0x2f26 007827 branch g24_transmit_prep 
+:      007829 g24_attemp_txdata_retry:
+0x2f27 007830 call g24_fetch_mem_check_dongle_times 
+0x2f28 007832 increase 1 ,pdata 
+0x2f29 007833 call g24_store_mem_check_dongle_times 
+0x2f2a 007835 call g24_ch 
+0x2f2b 007836 branch g24_tx_attemp_dongle_loop 
+:      007838 g24_check_51cmd_start_24g:
+0x2f2c 007839 call g24_store_mem_tx_power 
+0x2f2d 007842 setarg state_24g_pairing_success 
+0x2f2e 007843 call g24_store_mem_pairing_sm 
+0x2f2f 007845 branch g24_start_24g_mode 
+:      007854 dongle_init:
+0x2f30 007855 bpatch patch17_2 ,mem_patch17 
+0x2f31 007856 call g24_head_ptr2regc 
+0x2f32 007857 setarg dongle_rxdata_type1 
+0x2f33 007858 add regc ,offset_24g_cb_rxdata_type1 ,contw 
+0x2f34 007859 istore 2 ,contw 
+0x2f35 007861 call g24_receive_init 
+0x2f36 007862 call usb_init 
+0x2f37 007863 call g24_fetch_mem_pair_mode 
+0x2f38 007865 bpatch patch17_3 ,mem_patch17 
+0x2f39 007866 beq 0x00 ,dongle_auto_bind 
+0x2f3a 007867 beq 0x01 ,dongle_pc_bind 
+0x2f3b 007868 beq 0x0f ,dongle_all_powerful 
+0x2f3c 007869 branch assert 
+:      007871 g24_receive_init:
+0x2f3d 007872 call g24_store_mem_tx_power_temp 
+0x2f3e 007873 arg 0x80 ,loopcnt 
+0x2f3f 007874 arg mem_rssi_noise_buffer ,contw 
+0x2f40 007875 branch memset0 
+:      007877 dongle_all_powerful:
+0x2f41 007878 call dongle_check_mode 
+:      007879 dongle_all_powerful_loop:
+0x2f42 007880 call g24_dongle_work_mode 
+0x2f43 007881 call usb_isr 
+0x2f44 007882 branch dongle_all_powerful_loop 
+:      007884 dongle_pc_bind:
+0x2f45 007885 bpatch patch17_4 ,mem_patch17 
+0x2f46 007886 call dongle_check_mode 
+:      007887 dongle_pc_bind_loop:
+0x2f47 007888 call g24_dongle_work_mode 
+0x2f48 007889 call g24_dongle_bind_mode 
+0x2f49 007890 call usb_isr 
+0x2f4a 007891 call dongle_usb_dispatch 
+0x2f4b 007892 branch dongle_pc_bind_loop 
+:      007894 dongle_check_mode:
+0x2f4c 007898 call g24_set_work_mem_dongle_work_mode 
+0x2f4d 007899 call g24_set0_mem_dongle_mode_init 
+0x2f4e 007900 branch g24_set0_mem_ackpayload_enable 
+:      007902 g24_dongle_work_mode:
+0x2f4f 007903 call g24_fetch_mem_dongle_work_mode 
+0x2f50 007905 rtnne dongle_work 
+:      007906 g24_dongle_work_mode_start:
+0x2f51 007907 call g24_dongle_work_init 
+0x2f52 007908 call g24_ch_process 
+0x2f53 007909 call g24_receive_packet_start 
+0x2f54 007910 branch g24_blank_data_process 
+:      007912 g24_dongle_work_init:
+0x2f55 007913 call g24_fetch_mem_dongle_mode_init 
+0x2f56 007915 rtnbit1 dongle_work 
+0x2f57 007916 set1 dongle_work ,pdata 
+0x2f58 007917 call g24_store_mem_dongle_mode_init 
+0x2f59 007919 call g24_store_mem_tx_power 
+0x2f5a 007922 call g24_set0_mem_ackpayload_enable 
+0x2f5b 007924 jam 0 ,mem_usb_tx_enable 
+0x2f5c 007925 call g24_set1_mem_abort_pac 
+0x2f5d 007927 call g24_dongle_init 
+:      007928 g24_rx_interrupt_clear:
+0x2f5e 007929 add regc ,offset_24g_rxbuf ,contw 
+0x2f5f 007931 arg 66 ,loopcnt 
+0x2f60 007932 branch clear_mem 
+:      007934 g24_dongle_init:
+0x2f61 007935 call g24_set0_mem_pid 
+0x2f62 007937 call g24_fetch_mem_rx_addr 
+0x2f63 007939 call g24_store_mem_addr 
+0x2f64 007941 branch g24_ch 
+:      007943 g24_ch_process:
+0x2f65 007944 bpatch patch17_5 ,mem_patch17 
+0x2f66 007945 call g24_fetch_mem_abort_pac 
+0x2f67 007947 beq 1 ,g24_noise_rssi 
+0x2f68 007948 call g24_fetch_mem_hop_pac 
+0x2f69 007950 beq 1 ,g24_ch 
+0x2f6a 007951 setarg offset_24g_hop_btclk 
+0x2f6b 007952 iadd regc ,rega 
+0x2f6c 007953 ifetcht 4 ,rega 
+0x2f6d 007955 copy clkn_bt ,pdata 
+0x2f6e 007956 isub temp ,null 
+0x2f6f 007957 ncall g24_timer_timeout ,positive 
+0x2f70 007958 copy pdata ,regb 
+0x2f71 007959 setarg offset_24g_hop_btclk 
+0x2f72 007960 iadd regc ,rega 
+0x2f73 007961 ifetch 4 ,rega 
+0x2f74 007962 copy pdata ,temp 
+0x2f75 007964 setarg offset_24g_hop_interval 
+0x2f76 007965 iadd regc ,rega 
+0x2f77 007966 copy temp ,pdata 
+0x2f78 007967 ifetcht 1 ,rega 
+0x2f79 007969 iadd temp ,temp 
+0x2f7a 007970 copy regb ,pdata 
+0x2f7b 007971 isub temp ,null 
+0x2f7c 007972 nrtn positive 
+0x2f7d 007973 set0 28 ,pdata 
+0x2f7e 007974 setarg offset_24g_hop_btclk 
+0x2f7f 007975 iadd regc ,contw 
+0x2f80 007976 istore 4 ,contw 
+:      007978 g24_ch_update:
+0x2f81 007979 call g24_ch 
+0x2f82 007980 call g24_fetch_mem_rf_laststa 
+0x2f83 007982 increase 1 ,pdata 
+0x2f84 007983 call g24_store_mem_rf_laststa 
+0x2f85 007985 rtnne 2 
+0x2f86 007986 call g24_set0_mem_rf_laststa 
+0x2f87 007990 branch g24_set1_mem_abort_pac 
+:      007992 g24_ch_timer_reinit:
+0x2f88 007993 copy clkn_bt ,pdata 
+0x2f89 007994 arg offset_24g_hop_btclk ,rega 
+0x2f8a 007995 call g24_set_contw_with_temp 
+0x2f8b 007996 istore 4 ,contw 
+0x2f8c 008000 branch g24_set0_mem_rf_laststa 
+:      008002 g24_noise_rssi:
+0x2f8d 008003 arg mem_rssi_noise_buffer ,rega 
+0x2f8e 008004 call g24_noise_rssi_average 
+0x2f8f 008005 add regc ,offset_rssi_noise_avg ,contw 
+0x2f90 008006 istoret 1 ,contw 
+0x2f91 008008 sub temp ,rssi_thresh_noise ,null 
+0x2f92 008009 nrtn positive 
+0x2f93 008010 branch g24_ch 
+:      008012 g24_noise_rssi_average:
+0x2f94 008013 arg rssi_buf_len_noise + 1 ,loopcnt 
+0x2f95 008014 branch rssi_average 
+:      008016 g24_blank_data_process:
+0x2f96 008017 call g24_ms_blank_data 
+0x2f97 008018 call g24_kb_blank_data 
+0x2f98 008019 branch g24_kb_mul_blank_data 
+:      008021 g24_ms_blank_data:
+0x2f99 008022 setarg offset_24g_ms_blank_data_enable 
+0x2f9a 008023 call g24_set_rega_ifetch_1byte 
+0x2f9b 008025 rtn blank 
+0x2f9c 008026 arg timer_ms_blank ,queue 
+0x2f9d 008027 call timer_check 
+0x2f9e 008028 nrtn blank 
+0x2f9f 008029 call g24_set0_mem_ms_blank_data_enable 
+:      008031 g24_ms_blank_data_2usb:
+0x2fa0 008032 setarg ms_report_id 
+0x2fa1 008033 store 1 ,mem_usb_mouse_data 
+0x2fa2 008034 setarg 0 
+0x2fa3 008035 istore 7 ,contw 
+0x2fa4 008036 branch g24_data_type1_usbtx_enable 
+:      008038 g24_kb_blank_data:
+0x2fa5 008039 setarg offset_24g_kb_blank_data_enable 
+0x2fa6 008040 call g24_set_rega_ifetch_1byte 
+0x2fa7 008042 rtn blank 
+0x2fa8 008043 arg timer_kb_blank ,queue 
+0x2fa9 008044 call timer_check 
+0x2faa 008045 nrtn blank 
+0x2fab 008046 call g24_set0_mem_kb_blank_data_enable 
+:      008048 g24_kb_blank_data_2usb:
+0x2fac 008049 arg mem_usb_kb_data ,contw 
+0x2fad 008050 arg 2 ,loopcnt 
+0x2fae 008051 call memset0 
+0x2faf 008052 jam kb_normal_report_id ,mem_usb_kb_data 
+0x2fb0 008053 branch g24_kb_data_into_ep1_fifo 
+:      008055 g24_kb_mul_blank_data:
+0x2fb1 008056 setarg offset_24g_kb_mul_blank_data_enable 
+0x2fb2 008057 call g24_set_rega_ifetch_1byte 
+0x2fb3 008059 rtn blank 
+0x2fb4 008060 arg timer_kb_mul_blank ,queue 
+0x2fb5 008061 call timer_check 
+0x2fb6 008062 nrtn blank 
+0x2fb7 008063 call g24_set0_mem_kb_mul_blank_data_enable 
+:      008065 g24_kb_mul_blank_data_2usb:
+0x2fb8 008066 arg mem_usb_kb_multikey ,contw 
+0x2fb9 008067 arg 2 ,loopcnt 
+0x2fba 008068 call memset0 
+0x2fbb 008069 jam kb_multikey_report_id ,mem_usb_kb_multikey 
+0x2fbc 008070 branch g24_kb_mul_data_into_ep2_fifo 
+:      008072 g24_dongle_bind_mode:
+0x2fbd 008073 call g24_fetch_mem_dongle_work_mode 
+0x2fbe 008075 rtnne dongle_bind 
+0x2fbf 008076 call g24_dongle_bind_init 
+0x2fc0 008077 branch g24_dongle_bind_data_process 
+:      008079 g24_dongle_bind_init:
+0x2fc1 008080 call g24_fetch_mem_dongle_mode_init 
+0x2fc2 008082 rtnbit1 dongle_bind 
+0x2fc3 008083 set1 dongle_bind ,pdata 
+0x2fc4 008084 call g24_store_mem_dongle_mode_init 
+0x2fc5 008086 call g24_set1_mem_ackpayload_enable 
+0x2fc6 008088 call g24_pair_init 
+0x2fc7 008089 setarg 0 
+0x2fc8 008090 arg offset_dongle_ms_bind_step ,rega 
+0x2fc9 008091 call g24_set_contw_with_temp 
+0x2fca 008093 branch g24_contw_istore_3byte 
+:      008095 g24_dongle_bind_data_process:
+0x2fcb 008096 call g24_receive_transmit_ack 
+0x2fcc 008097 nbranch g24_rx_interrupt_clear ,user3 
+0x2fcd 008098 add regc ,offset_24g_rxbuf ,contr 
+0x2fce 008099 setarg offset_24g_rxdata_temp 
+0x2fcf 008100 iadd regc ,contw 
+0x2fd0 008101 arg 8 ,loopcnt 
+0x2fd1 008102 call memcpy 
+0x2fd2 008103 setarg offset_24g_rxdata_temp_add2 
+0x2fd3 008104 call g24_set_rega_ifetch_1byte 
+0x2fd4 008105 beq datatype_bind ,g24_dongle_bind_first_step 
+0x2fd5 008106 beq datatype_config ,g24_dongle_bind_second_step 
+0x2fd6 008107 beq datatype_ok ,g24_dongle_bind_third_step 
+0x2fd7 008108 beq 0xff ,g24_data_attemp 
+0x2fd8 008109 branch g24_rx_interrupt_clear 
+:      008111 g24_dongle_bind_first_step:
+0x2fd9 008112 call g24_fetch_mem_rxdata_temp_add3_1byte 
+0x2fda 008113 beq bind_mouse ,g24_dongle_bind_first_step_mouse 
+0x2fdb 008114 beq bind_keyboard ,g24_dongle_bind_first_step_keyboard 
+0x2fdc 008115 rtn 
+:      008116 g24_dongle_bind_first_step_mouse:
+0x2fdd 008117 setarg 1 
+0x2fde 008118 call g24_store_mem_ms_bind_step 
+:      008120 g24_dongle_bind_ms_payload_cfg:
+0x2fdf 008121 setarg datatype_mouse 
+0x2fe0 008122 call g24_store_mem_bind_payload 
+:      008124 g24_dongle_bind_payload_cfg:
+0x2fe1 008125 setarg 0x80 
+0x2fe2 008126 arg offset_24g_bind_payload_add1 ,rega 
+0x2fe3 008127 call g24_set_contw_with_regb_store_1byte 
+0x2fe4 008129 call g24_fetch_mem_rx_addr 
+0x2fe5 008131 arg offset_24g_bind_payload_add2 ,rega 
+0x2fe6 008132 call g24_set_contw_with_temp 
+0x2fe7 008134 branch g24_contw_istore_4byte 
+:      008136 g24_dongle_bind_first_step_keyboard:
+0x2fe8 008137 setarg 1 
+0x2fe9 008138 call g24_store_mem_kb_bind_step 
+:      008140 g24_dongle_bind_kb_payload_cfg:
+0x2fea 008141 setarg datatype_keyboard 
+0x2feb 008142 call g24_store_mem_bind_payload 
+0x2fec 008144 branch g24_dongle_bind_payload_cfg 
+:      008146 g24_dongle_bind_second_step:
+0x2fed 008147 call g24_fetch_mem_rxdata_temp_add3_1byte 
+0x2fee 008148 beq bind_mouse ,g24_dongle_bind_second_step_mouse 
+0x2fef 008149 beq bind_keyboard ,g24_dongle_bind_second_step_keyboard 
+0x2ff0 008150 rtn 
+:      008151 g24_dongle_bind_second_step_mouse:
+0x2ff1 008152 call g24_dongle_bind_ms_payload_cfg 
+0x2ff2 008153 setarg offset_dongle_ms_bind_step 
+0x2ff3 008154 call g24_set_rega_ifetch_1byte 
+0x2ff4 008156 beq 1 ,g24_dongle_ms_bind_step_set2 
+0x2ff5 008157 rtn 
+:      008158 g24_dongle_ms_bind_step_set2:
+0x2ff6 008159 setarg 2 
+:      008161 g24_store_mem_ms_bind_step:
+0x2ff7 008162 arg offset_dongle_ms_bind_step ,rega 
+0x2ff8 008163 branch g24_set_contw_with_regb_store_1byte 
+:      008165 g24_dongle_bind_second_step_keyboard:
+0x2ff9 008166 call g24_dongle_bind_kb_payload_cfg 
+0x2ffa 008167 setarg offset_dongle_kb_bind_step 
+0x2ffb 008168 call g24_set_rega_ifetch_1byte 
+0x2ffc 008170 beq 1 ,g24_dongle_kb_bind_step_set2 
+0x2ffd 008171 rtn 
+:      008172 g24_dongle_kb_bind_step_set2:
+0x2ffe 008173 setarg 2 
+:      008175 g24_store_mem_kb_bind_step:
+0x2fff 008176 arg offset_dongle_kb_bind_step ,rega 
+0x3000 008177 branch g24_set_contw_with_regb_store_1byte 
+:      008179 g24_dongle_bind_third_step:
+0x3001 008180 call g24_fetch_mem_rxdata_temp_add3_1byte 
+0x3002 008181 beq bind_mouse ,g24_dongle_bind_third_step_mouse 
+0x3003 008182 beq bind_keyboard ,g24_dongle_bind_third_step_keyboard 
+0x3004 008183 rtn 
+:      008184 g24_dongle_bind_third_step_mouse:
+0x3005 008185 setarg offset_dongle_ms_bind_step 
+0x3006 008186 call g24_set_rega_ifetch_1byte 
+0x3007 008188 beq 2 ,g24_dongle_ms_bind_step_success 
+0x3008 008189 rtn 
+:      008190 g24_dongle_ms_bind_step_success:
+0x3009 008191 call g24_fetch_mem_bind_device_status 
+0x300a 008193 or_into 0x01 ,pdata 
+0x300b 008194 call g24_store_mem_bind_device_status 
+:      008196 g24_dongle_bind_exit:
+0x300c 008197 setarg 0 
+0x300d 008198 setarg offset_dongle_ms_bind_step 
+0x300e 008199 iadd regc ,contw 
+0x300f 008200 istore 2 ,contw 
+0x3010 008201 branch g24_rx_interrupt_clear 
+:      008203 g24_dongle_bind_third_step_keyboard:
+0x3011 008204 setarg offset_dongle_kb_bind_step 
+0x3012 008205 call g24_set_rega_ifetch_1byte 
+0x3013 008207 bne 0 ,g24_dongle_kb_bind_step_success 
+0x3014 008208 rtn 
+:      008209 g24_dongle_kb_bind_step_success:
+0x3015 008210 call g24_fetch_mem_bind_device_status 
+0x3016 008212 or_into 0x02 ,pdata 
+0x3017 008213 call g24_store_mem_bind_device_status 
+0x3018 008215 branch g24_dongle_bind_exit 
+:      008218 dongle_usb_dispatch:
+0x3019 008219 fetch 1 ,mem_usb0_get_set_report 
+0x301a 008220 rtn blank 
+0x301b 008221 jam 0 ,mem_usb0_get_set_report 
+0x301c 008222 fetch 2 ,mem_usb_setup_bvalue_temp 
+0x301d 008223 arg pc_set_report ,temp 
+0x301e 008224 isub temp ,null 
+0x301f 008225 nrtn zero 
+0x3020 008227 fetch 1 ,mem_usb0_set_report_data 
+0x3021 008228 rtnne pc_report_id 
+0x3022 008229 fetch 1 ,mem_usb0_set_report_data + 1 
+0x3023 008230 bpatch patch17_6 ,mem_patch17 
+0x3024 008231 beq command_mode ,dongle_dispose_cmd_mode 
+0x3025 008232 beq command_bind ,dongle_dispose_cmd_bind 
+0x3026 008233 beq command_current_project ,dongle_dispose_cmd_current_project 
+0x3027 008234 beq command_current_mode ,dongle_dispose_cmd_current_mode 
+0x3028 008235 beq command_current_fw_version ,dongle_dispose_cmd_current_fw_version 
+0x3029 008236 beq command_user_defined ,dongle_dispose_cmd_user_defined 
+:      008237 usb0_data_ready_report_set0:
+0x302a 008238 jam 0 ,mem_usb0_data_ready_report 
+0x302b 008239 rtn 
+:      008240 dongle_dispose_cmd_bind:
+0x302c 008241 fetch 1 ,mem_usb0_set_report_data + 2 
+0x302d 008242 beq com_bind_get ,dongle_dispose_cmd_get_bind 
+0x302e 008243 beq com_bind_exit ,dongle_dispose_cmd_exit_bind 
+0x302f 008244 beq com_read_mode ,dongle_dispose_cmd_read_mode 
+0x3030 008245 branch usb0_data_ready_report_set0 
+:      008246 dongle_dispose_cmd_get_bind:
+0x3031 008247 call g24_fetch_mem_bind_device_status 
+0x3032 008249 store 1 ,mem_usb0_get_report_data + 1 
+0x3033 008250 branch usb0_data_ready_report_set1 
+:      008251 dongle_dispose_cmd_exit_bind:
+0x3034 008252 call g24_set_work_mem_dongle_work_mode 
+0x3035 008254 call g24_set0_mem_dongle_mode_init 
+0x3036 008256 call g24_fetch_mem_bind_device_status 
+0x3037 008258 store 1 ,mem_usb0_get_report_data + 1 
+0x3038 008259 branch usb0_data_ready_report_set1 
+:      008261 dongle_dispose_cmd_read_mode:
+:      008262 dongle_dispose_in_bind_mode:
+0x3039 008263 jam command_bind ,mem_usb0_get_report_data + 1 
+0x303a 008264 branch usb0_data_ready_report_set1 
+:      008266 dongle_dispose_cmd_mode:
+0x303b 008267 fetch 1 ,mem_usb0_set_report_data + 2 
+0x303c 008268 beq com_mode_bind ,dongle_enter_bind_mode 
+0x303d 008270 branch usb0_data_ready_report_set0 
+:      008271 dongle_enter_bind_mode:
+0x303e 008274 call g24_bind_mode_enable 
+:      008275 usb0_data_ready_report_set1:
+0x303f 008276 jam 1 ,mem_usb0_data_ready_report 
+0x3040 008277 rtn 
+:      008282 dongle_dispose_cmd_current_project:
+0x3041 008283 jam product_id ,mem_usb0_get_report_data + 1 
+0x3042 008284 branch usb0_data_ready_report_set1 
+:      008286 dongle_dispose_cmd_current_mode:
+0x3043 008287 call g24_fetch_mem_dongle_work_mode 
+0x3044 008289 beq dongle_work ,dongle_dispose_in_work_mode 
+0x3045 008290 beq dongle_bind ,dongle_dispose_in_bind_mode 
+0x3046 008292 rtn 
+:      008293 dongle_dispose_in_work_mode:
+0x3047 008294 jam command_mode ,mem_usb0_get_report_data + 1 
+0x3048 008295 branch usb0_data_ready_report_set1 
+:      008300 dongle_dispose_cmd_current_fw_version:
+0x3049 008301 jam fw_version0 ,mem_usb0_get_report_data + 1 
+0x304a 008302 jam fw_version1 ,mem_usb0_get_report_data + 2 
+0x304b 008303 jam fw_version2 ,mem_usb0_get_report_data + 3 
+0x304c 008304 branch usb0_data_ready_report_set1 
+:      008306 dongle_dispose_cmd_user_defined:
+0x304d 008308 call g24_set1_mem_ackpayload_enable 
+0x304e 008309 fetch 1 ,mem_usb0_set_report_data + 2 
+0x304f 008310 increase 2 ,pdata 
+0x3050 008311 copy pdata ,loopcnt 
+0x3051 008312 arg mem_usb0_set_report_data ,contr 
+0x3052 008313 setarg offset_24g_ackpayload 
+0x3053 008314 iadd regc ,contw 
+0x3054 008315 branch memcpy 
+:      008318 dongle_auto_bind:
+0x3055 008319 bpatch patch17_7 ,mem_patch17 
+0x3056 008320 call g24_mode_switch_init 
+:      008321 dongle_auto_bind_loop:
+0x3057 008322 call g24_receive_process 
+0x3058 008323 call usb_isr 
+0x3059 008324 branch dongle_auto_bind_loop 
+:      008326 g24_dongle_work_mode_auto:
+0x305a 008327 call g24_fetch_mem_dongle_work_mode 
+0x305b 008329 rtnne dongle_work 
+0x305c 008330 call g24_dongle_work_mode_start 
+0x305d 008331 branch g24_rx_nodata_process 
+:      008333 g24_dongle_bind_mode_auto:
+0x305e 008334 call g24_fetch_mem_dongle_work_mode 
+0x305f 008336 rtnne dongle_bind 
+0x3060 008337 call g24_dongle_bind_init 
+0x3061 008338 call g24_dongle_bind_data_process 
+0x3062 008339 call g24_fetch_mem_bind_device_status 
+0x3063 008341 rtn blank 
+0x3064 008342 call g24_set0_mem_mode_switch 
+0x3065 008344 call dongle_check_mode 
+0x3066 008345 call g24_enable_nodata_timer 
+:      008346 g24_timer_init:
+0x3067 008347 setarg 0 
+0x3068 008348 add regc ,offset_24g_tx_btclk ,contw 
+0x3069 008350 branch g24_contw_istore_4byte 
+:      008352 g24_timer_check:
+0x306a 008353 call disable_user 
+0x306b 008354 add regc ,offset_24g_tx_btclk ,rega 
+0x306c 008355 ifetcht 4 ,rega 
+0x306d 008357 copy clkn_bt ,pdata 
+0x306e 008358 isub temp ,null 
+0x306f 008359 ncall g24_timer_timeout ,positive 
+0x3070 008360 copy pdata ,regb 
+0x3071 008361 add regc ,offset_24g_tx_btclk ,rega 
+0x3072 008362 ifetch 4 ,rega 
+0x3073 008364 add regc ,offset_24g_interval ,rega 
+0x3074 008365 ifetcht 1 ,rega 
+0x3075 008367 iadd temp ,temp 
+0x3076 008368 copy regb ,pdata 
+0x3077 008369 isub temp ,null 
+0x3078 008370 nrtn positive 
+0x3079 008371 set0 28 ,pdata 
+0x307a 008372 add regc ,offset_24g_tx_btclk ,contw 
+0x307b 008373 istore 4 ,contw 
+0x307c 008375 branch enable_user 
+:      008377 g24_mode_switch_init:
+0x307d 008378 setarg 1 
+0x307e 008379 call g24_store_mem_mode_switch 
+0x307f 008381 call g24_set0_mem_time_slice 
+0x3080 008383 setarg 0xff 
+0x3081 008384 add regc ,offset_24g_interval ,contw 
+0x3082 008385 istore 1 ,contw 
+0x3083 008387 branch g24_timer_init 
+:      008389 g24_mode_switch:
+0x3084 008390 setarg offset_24g_mode_switch 
+0x3085 008391 call g24_set_rega_ifetch_1byte 
+0x3086 008393 rtn blank 
+0x3087 008394 call g24_timer_check 
+0x3088 008395 nrtn user 
+0x3089 008396 call g24_fetch_mem_time_slice 
+0x308a 008398 increase 1 ,pdata 
+0x308b 008399 and_into 1 ,pdata 
+0x308c 008400 call g24_store_mem_time_slice 
+0x308d 008402 beq 0 ,dongle_check_mode 
+0x308e 008403 beq 1 ,g24_bind_mode_enable 
+0x308f 008404 rtn 
+:      008406 g24_bind_mode_enable:
+0x3090 008410 setarg dongle_bind 
+0x3091 008411 call g24_store_mem_dongle_work_mode 
+0x3092 008412 branch g24_set0_mem_dongle_mode_init 
+:      008414 g24_enable_nodata_timer:
+0x3093 008415 setarg 1 
+0x3094 008416 call g24_store_mem_nodata_timer_enable 
+:      008418 g24_enable_nodata_timer_init:
+0x3095 008419 setarg timer_nodata_delay 
+0x3096 008420 arg timer_nodata ,queue 
+0x3097 008421 branch timer_init 
+:      008423 g24_rx_nodata_process:
+0x3098 008424 call g24_fetch_mem_nodata_timer_enable 
+0x3099 008426 rtn blank 
+0x309a 008427 arg timer_nodata ,queue 
+0x309b 008428 call timer_check 
+0x309c 008429 nrtn blank 
+0x309d 008430 call g24_set0_mem_nodata_timer_enable 
+0x309e 008433 setarg dongle_search 
+0x309f 008434 call g24_store_mem_dongle_work_mode 
+0x30a0 008436 call g24_set0_mem_dongle_mode_init 
+0x30a1 008438 branch g24_rx_interrupt_clear 
+:      008440 g24_dongle_search_mode_auto:
+0x30a2 008441 bpatch patch18_0 ,mem_patch18 
+0x30a3 008442 call g24_fetch_mem_dongle_work_mode 
+0x30a4 008444 rtnne dongle_search 
+0x30a5 008445 call g24_dongle_search_mode_init 
+0x30a6 008446 call g24_rx_auto_addr_ch_search 
+0x30a7 008447 call g24_receive_transmit_ack 
+0x30a8 008448 nbranch g24_rx_interrupt_clear ,user3 
+0x30a9 008450 call g24_dongle_search_addr_check 
+0x30aa 008451 call g24_receive_packet_parse ,zero 
+0x30ab 008455 call dongle_check_mode 
+0x30ac 008456 call g24_fetch_mem_dongle_mode_init 
+0x30ad 008458 set1 dongle_work ,pdata 
+0x30ae 008459 call g24_store_mem_dongle_mode_init 
+0x30af 008461 call g24_rx_interrupt_clear 
+0x30b0 008462 call g24_enable_nodata_timer 
+0x30b1 008463 call g24_dongle_search_addr_check 
+0x30b2 008464 branch g24_dg_ch_num_reinit ,zero 
+0x30b3 008465 setarg offset_24g_kb_addr 
+0x30b4 008466 call g24_set_rega_ifetcht_4byte 
+0x30b5 008468 call g24_fetch_mem_addr_isub_temp 
+0x30b6 008469 branch g24_kb_ch_num_reinit ,zero 
+0x30b7 008470 setarg offset_24g_mouse_addr 
+0x30b8 008471 call g24_set_rega_ifetcht_4byte 
+0x30b9 008473 call g24_fetch_mem_addr_isub_temp 
+0x30ba 008474 branch g24_ms_ch_num_reinit ,zero 
+0x30bb 008475 rtn 
+:      008477 g24_dongle_search_addr_check:
+0x30bc 008478 setarg offset_24g_rx_addr 
+0x30bd 008479 call g24_set_rega_ifetcht_4byte 
+:      008481 g24_fetch_mem_addr_isub_temp:
+0x30be 008482 call g24_fetch_mem_addr 
+0x30bf 008484 isub temp ,null 
+0x30c0 008485 rtn 
+:      008487 g24_dg_ch_num_reinit:
+0x30c1 008488 setarg offset_24g_dg_ch_number 
+0x30c2 008489 call g24_set_rega_ifetch_1byte 
+:      008491 g24_current_ch_num_reinit:
+0x30c3 008493 add regc ,offset_24g_current_ch_number ,contw 
+0x30c4 008494 branch g24_contw_istore_1byte 
+:      008496 g24_kb_ch_num_reinit:
+0x30c5 008497 setarg offset_24g_kb_ch_number 
+0x30c6 008498 call g24_set_rega_ifetch_1byte 
+0x30c7 008500 branch g24_current_ch_num_reinit 
+:      008501 g24_ms_ch_num_reinit:
+0x30c8 008502 setarg offset_24g_ms_ch_number 
+0x30c9 008503 call g24_set_rega_ifetch_1byte 
+0x30ca 008505 branch g24_current_ch_num_reinit 
+:      008507 g24_dongle_search_mode_init:
+0x30cb 008508 call g24_fetch_mem_dongle_mode_init 
+0x30cc 008510 rtnbit1 dongle_search 
+0x30cd 008511 set1 dongle_search ,pdata 
+0x30ce 008512 call g24_store_mem_dongle_mode_init 
+0x30cf 008514 call g24_set0_mem_time_slice 
+0x30d0 008516 call g24_set1_mem_ackpayload_enable 
+0x30d1 008518 setarg 0 
+0x30d2 008519 add regc ,offset_rssi_noise_dg_index ,contw 
+0x30d3 008520 istore 3 ,contw 
+0x30d4 008522 arg offset_24g_dg_config_ch_once ,rega 
+0x30d5 008523 call g24_set_contw_with_temp 
+0x30d6 008524 istore 7 ,contw 
+0x30d7 008527 call g24_dongle_search_addr_check 
+0x30d8 008528 nrtn zero 
+0x30d9 008529 add regc ,offset_24g_current_ch_number ,rega 
+0x30da 008530 ifetch 1 ,rega 
+0x30db 008532 arg offset_24g_dg_ch_number ,rega 
+0x30dc 008533 call g24_set_contw_with_regb_store_1byte 
+0x30dd 008535 add regc ,offset_24g_ch ,rega 
+0x30de 008536 ifetch 1 ,rega 
+0x30df 008539 branch g24_store_mem_dg_last_ch 
+:      008541 g24_rx_auto_addr_ch_search:
+0x30e0 008542 bpatch patch18_1 ,mem_patch18 
+0x30e1 008543 call g24_fetch_mem_time_slice 
+0x30e2 008545 increase 1 ,pdata 
+0x30e3 008546 and_into 3 ,pdata 
+0x30e4 008547 call g24_store_mem_time_slice 
+0x30e5 008550 beq 0 ,g24_rx_auto_bind_config_kb 
+0x30e6 008551 beq 1 ,g24_rx_auto_bind_config_dongle 
+0x30e7 008552 beq 2 ,g24_rx_auto_bind_config_mouse 
+0x30e8 008553 beq 3 ,g24_rx_auto_bind_config_dongle 
+0x30e9 008554 rtn 
+:      008556 g24_rx_auto_bind_config_mouse:
+0x30ea 008557 call g24_dongle_bind_ms_payload_cfg 
+0x30eb 008558 setarg offset_24g_mouse_addr 
+0x30ec 008559 call g24_set_rega_ifetch_4byte 
+0x30ed 008561 branch g24_rx_auto_addr_ch_search ,blank 
+0x30ee 008562 call g24_store_mem_addr 
+0x30ef 008564 setarg offset_24g_ms_config_ch_once 
+0x30f0 008565 call g24_set_rega_ifetch_1byte 
+0x30f1 008567 call g24_ms_config_ch_once ,blank 
+0x30f2 008568 setarg offset_24g_ms_last_ch 
+0x30f3 008569 call g24_set_rega_ifetch_1byte 
+0x30f4 008571 call g24_store_mem_ch 
+0x30f5 008573 add regc ,offset_rssi_noise_ms_index ,rega 
+0x30f6 008574 ifetcht 1 ,rega 
+0x30f7 008576 arg mem_rssi_noise_ms_buffer ,rega 
+0x30f8 008577 call rssi_noise_store 
+0x30f9 008578 add regc ,offset_rssi_noise_ms_index ,contw 
+0x30fa 008579 istoret 1 ,contw 
+0x30fb 008581 call g24_noise_rssi_average 
+0x30fc 008582 add regc ,offset_rssi_noise_ms_avg ,contw 
+0x30fd 008583 istoret 1 ,contw 
+0x30fe 008585 sub temp ,rssi_thresh_noise ,null 
+0x30ff 008586 nrtn positive 
+0x3100 008587 setarg offset_24g_ms_ch_number 
+0x3101 008588 call g24_set_rega_ifetcht_1byte 
+0x3102 008590 call g24_ch_temp_incre_size4 
+0x3103 008591 arg offset_24g_ms_ch_number ,rega 
+0x3104 008592 call g24_set_contw_with_regb2 
+0x3105 008593 istoret 1 ,contw 
+:      008595 g24_store_mem_ms_last_ch:
+0x3106 008597 arg offset_24g_ms_last_ch ,rega 
+0x3107 008598 branch g24_set_contw_with_regb_store_1byte 
+:      008600 g24_ms_config_ch_once:
+0x3108 008601 setarg 1 
+0x3109 008602 arg offset_24g_ms_config_ch_once ,rega 
+0x310a 008603 call g24_set_contw_with_regb_store_1byte 
+0x310b 008605 arg 0 ,temp 
+0x310c 008606 call g24_ch_calc 
+0x310d 008609 branch g24_store_mem_ms_last_ch 
+:      008611 g24_rx_auto_bind_config_kb:
+0x310e 008612 call g24_dongle_bind_kb_payload_cfg 
+0x310f 008613 setarg offset_24g_kb_addr 
+0x3110 008614 call g24_set_rega_ifetch_4byte 
+0x3111 008616 branch g24_rx_auto_addr_ch_search ,blank 
+0x3112 008617 call g24_store_mem_addr 
+0x3113 008619 setarg offset_24g_kb_config_ch_once 
+0x3114 008620 call g24_set_rega_ifetch_1byte 
+0x3115 008622 call g24_kb_config_ch_once ,blank 
+0x3116 008623 setarg offset_24g_kb_last_ch 
+0x3117 008624 call g24_set_rega_ifetch_1byte 
+0x3118 008626 call g24_store_mem_ch 
+0x3119 008628 add regc ,offset_rssi_noise_kb_index ,rega 
+0x311a 008629 ifetcht 1 ,rega 
+0x311b 008631 arg mem_rssi_noise_kb_buffer ,rega 
+0x311c 008632 call rssi_noise_store 
+0x311d 008633 add regc ,offset_rssi_noise_kb_index ,contw 
+0x311e 008634 istoret 1 ,contw 
+0x311f 008636 call g24_noise_rssi_average 
+0x3120 008637 add regc ,offset_rssi_noise_kb_avg ,contw 
+0x3121 008638 istoret 1 ,contw 
+0x3122 008640 sub temp ,rssi_thresh_noise ,null 
+0x3123 008641 nrtn positive 
+0x3124 008642 setarg offset_24g_kb_ch_number 
+0x3125 008643 call g24_set_rega_ifetcht_1byte 
+0x3126 008645 call g24_ch_temp_incre_size4 
+0x3127 008646 arg offset_24g_kb_ch_number ,rega 
+0x3128 008647 call g24_set_contw_with_regb2 
+0x3129 008648 istoret 1 ,contw 
+:      008650 g24_store_mem_kb_last_ch:
+0x312a 008652 arg offset_24g_kb_last_ch ,rega 
+0x312b 008653 branch g24_set_contw_with_regb_store_1byte 
+:      008655 g24_kb_config_ch_once:
+0x312c 008656 setarg 1 
+0x312d 008657 arg offset_24g_kb_config_ch_once ,rega 
+0x312e 008658 call g24_set_contw_with_regb_store_1byte 
+0x312f 008660 arg 0 ,temp 
+0x3130 008661 call g24_ch_calc 
+0x3131 008664 branch g24_store_mem_kb_last_ch 
+:      008666 g24_rx_auto_bind_config_dongle:
+0x3132 008667 call g24_dongle_bind_ms_payload_cfg 
+0x3133 008668 call g24_fetch_mem_rx_addr 
+0x3134 008670 call g24_store_mem_addr 
+0x3135 008672 setarg offset_24g_dg_config_ch_once 
+0x3136 008673 call g24_set_rega_ifetch_1byte 
+0x3137 008675 call g24_dg_config_ch_once ,blank 
+0x3138 008676 call g24_dg_store_config_ch 
+0x3139 008677 add regc ,offset_rssi_noise_dg_index ,rega 
+0x313a 008678 ifetcht 1 ,rega 
+0x313b 008680 arg mem_rssi_noise_dg_buffer ,rega 
+0x313c 008681 call rssi_noise_store 
+0x313d 008682 add regc ,offset_rssi_noise_dg_index ,contw 
+0x313e 008683 istoret 1 ,contw 
+0x313f 008685 call g24_noise_rssi_average 
+0x3140 008686 add regc ,offset_rssi_noise_dg_avg ,contw 
+0x3141 008687 istoret 1 ,contw 
+0x3142 008689 sub temp ,rssi_thresh_noise ,null 
+0x3143 008690 nrtn positive 
+0x3144 008691 setarg offset_24g_dg_ch_number 
+0x3145 008692 call g24_set_rega_ifetcht_1byte 
+0x3146 008694 call g24_ch_temp_incre_size4 
+0x3147 008695 arg offset_24g_dg_ch_number ,rega 
+0x3148 008696 call g24_set_contw_with_regb2 
+0x3149 008697 istoret 1 ,contw 
+:      008699 g24_store_mem_dg_last_ch:
+0x314a 008702 arg offset_24g_dg_last_ch ,rega 
+0x314b 008703 branch g24_set_contw_with_regb_store_1byte 
+:      008706 g24_dg_config_ch_once:
+0x314c 008711 setarg 1 
+0x314d 008712 arg offset_24g_dg_config_ch_once ,rega 
+0x314e 008713 call g24_set_contw_with_regb_store_1byte 
+:      008714 g24_dg_store_config_ch:
+0x314f 008715 setarg offset_24g_dg_last_ch 
+0x3150 008716 call g24_set_rega_ifetch_1byte 
+0x3151 008717 branch g24_store_mem_ch 
+:      008720 g24_transmit_ack:
+0x3152 008722 add regc ,offset_24g_rxbuf ,rega 
+0x3153 008723 ifetch 1 ,rega 
+0x3154 008725 call g24_store_mem_data_type 
+0x3155 008728 call g24_read_len_pid_crc 
+0x3156 008730 call g24_fetch_mem_rxbuf_add1 
+0x3157 008732 isolate1 bit_ack_24g ,pdata 
+0x3158 008733 branch g24tx_no_ack ,true 
+:      008734 g24tx_with_ack:
+0x3159 008735 call g24_ackpayload_prep 
+0x315a 008736 call g24_transmit_prep 
+0x315b 008737 call g24_transmit 
+:      008738 g24tx_no_ack:
+0x315c 008739 branch g24_end_of_packet 
+:      008741 g24_ackpayload_prep:
+0x315d 008742 bpatch patch18_2 ,mem_patch18 
+0x315e 008743 add regc ,offset_24g_datalen ,contw 
+0x315f 008744 call g24_mem_set0 
+0x3160 008746 setarg offset_24g_ackpayload_enable 
+0x3161 008747 call g24_set_rega_ifetch_1byte 
+0x3162 008749 rtn blank 
+0x3163 008750 setarg 0x06 
+0x3164 008751 add regc ,offset_24g_datalen ,contw 
+0x3165 008752 istore 1 ,contw 
+0x3166 008754 arg 0x06 ,loopcnt 
+0x3167 008755 setarg offset_24g_bind_payload 
+0x3168 008756 iadd regc ,contr 
+0x3169 008758 add regc ,offset_24g_txbuf ,contw 
+0x316a 008760 branch memcpy 
+:      008763 g24_receive_packet_start:
+0x316b 008764 call g24_receive_transmit_ack 
+0x316c 008765 nbranch g24_rx_interrupt_clear ,user3 
+0x316d 008766 branch g24_receive_packet_parse 
+:      008768 g24_receive_transmit_ack:
+0x316e 008769 call g24_rx_interrupt_clear 
+0x316f 008770 call g24_receive_packet 
+0x3170 008771 nrtn user3 
+0x3171 008772 branch g24_transmit_ack 
+:      008774 g24_receive_packet_parse:
+0x3172 008775 bpatch patch18_3 ,mem_patch18 
+0x3173 008776 call g24_receive_packet_parse_pid_crc 
+0x3174 008777 nbranch g24_rx_interrupt_clear ,user 
+0x3175 008778 add regc ,offset_24g_rxdata_length ,rega 
+0x3176 008779 ifetch 1 ,rega 
+0x3177 008781 branch g24_rx_interrupt_clear ,blank 
+0x3178 008782 increase 2 ,pdata 
+0x3179 008783 iforce loopcnt 
+0x317a 008784 add regc ,offset_24g_rxbuf ,contr 
+0x317b 008786 setarg offset_24g_rxdata_temp 
+0x317c 008787 iadd regc ,contw 
+0x317d 008789 call memcpy 
+0x317e 008790 call g24_set0_mem_mode_switch 
+0x317f 008792 call g24_fetch_mem_pair_mode 
+0x3180 008794 call g24_enable_nodata_timer ,blank 
+0x3181 008795 setarg offset_24g_rxdata_temp_add2 
+0x3182 008796 call g24_set_rega_ifetch_1byte 
+0x3183 008798 beq 0x01 ,g24_data_type1 
+0x3184 008799 beq 0x02 ,g24_data_type2 
+0x3185 008800 beq 0x03 ,g24_data_type3 
+0x3186 008801 beq 0xff ,g24_data_attemp 
+0x3187 008802 branch g24_rx_interrupt_clear 
+:      008804 g24_receive_packet_parse_pid_crc:
+0x3188 008805 call g24_head_ptr2regc 
+0x3189 008806 call disable_user 
+0x318a 008807 add regc ,offset_24g_sta_pid ,rega 
+0x318b 008808 ifetch 1 ,rega 
+0x318c 008810 add regc ,offset_24g_last_pid ,rega 
+0x318d 008811 ifetcht 1 ,rega 
+0x318e 008813 isub temp ,null 
+0x318f 008814 ncall enable_user ,zero 
+0x3190 008815 add regc ,offset_24g_sta_pid ,rega 
+0x3191 008816 ifetch 1 ,rega 
+0x3192 008818 add regc ,offset_24g_last_pid ,contw 
+0x3193 008819 istore 1 ,contw 
+0x3194 008821 add regc ,offset_24g_sta_crc ,rega 
+0x3195 008822 ifetch 3 ,rega 
+0x3196 008824 add regc ,offset_24g_last_crc ,rega 
+0x3197 008825 ifetcht 3 ,rega 
+0x3198 008827 isub temp ,null 
+0x3199 008828 ncall enable_user ,zero 
+0x319a 008829 add regc ,offset_24g_sta_crc ,rega 
+0x319b 008830 ifetch 3 ,rega 
+0x319c 008832 add regc ,offset_24g_last_crc ,contw 
+0x319d 008834 branch g24_contw_istore_3byte 
+:      008836 g24_data_type1:
+0x319e 008837 call g24_ch_timer_reinit 
+0x319f 008838 call g24_fetch_mem_abort_pac 
+0x31a0 008839 store 1 ,mem_temp 
+0x31a1 008841 call g24_fetcht_mem_rxdata_temp 
+0x31a2 008842 fetch 1 ,mem_temp 
+0x31a3 008844 isolate1 bit_abort ,temp 
+0x31a4 008845 setflag true ,0 ,pdata 
+0x31a5 008846 add regc ,offset_24g_abort_pac ,contw 
+0x31a6 008847 istore 1 ,contw 
+0x31a7 008849 beq 1 ,g24_data_attemp_mouse 
+0x31a8 008850 call g24_fetch_mem_hop_pac 
+0x31a9 008852 call g24_fetcht_mem_rxdata_temp 
+0x31aa 008854 isolate1 bit_hop ,temp 
+0x31ab 008855 setflag true ,0 ,pdata 
+0x31ac 008856 call g24_store_mem_hop_pac 
+0x31ad 008858 add regc ,offset_24g_cb_rxdata_type1 ,rega 
+0x31ae 008859 ifetch 2 ,rega 
+0x31af 008861 branch callback_func 
+:      008863 dongle_rxdata_type1:
+0x31b0 008864 setarg ms_report_id 
+0x31b1 008865 store 1 ,mem_usb_mouse_data 
+0x31b2 008866 call g24_fetch_mem_rxdata_temp_add3_7byte 
+0x31b3 008868 istore 7 ,contw 
+0x31b4 008869 call g24_fetch_mem_rxdata_temp_add3_7byte 
+0x31b5 008871 ncall g24_ms_enable_blank_data_forcibly ,blank 
+0x31b6 008872 call g24_fetch_mem_rxdata_temp_add3_7byte 
+0x31b7 008874 call g24_ms_disable_blank_data_forcibly ,blank 
+:      008875 g24_data_type1_usbtx_enable:
+0x31b8 008876 jam usb_ep2_ms ,mem_usb_ep2_data 
+:      008877 g24_data_type1_usbtx_enable_ep2:
+0x31b9 008878 fetch 1 ,mem_usb_tx_enable 
+0x31ba 008879 set1 2 ,pdata 
+0x31bb 008880 store 1 ,mem_usb_tx_enable 
+0x31bc 008881 rtn 
+:      008883 g24_ms_enable_blank_data_forcibly:
+0x31bd 008884 setarg 1 
+0x31be 008885 call g24_store_mem_ms_blank_data_enable 
+:      008887 g24_ms_enable_blank_data_timer:
+0x31bf 008888 setarg timer_ms_blank_delay 
+0x31c0 008889 arg timer_ms_blank ,queue 
+0x31c1 008890 branch timer_init 
+:      008891 g24_ms_disable_blank_data_forcibly:
+0x31c2 008892 call g24_set0_mem_ms_blank_data_enable 
+:      008894 g24_ms_disable_blank_data_timer:
+0x31c3 008895 setarg 0 
+0x31c4 008896 arg timer_ms_blank ,queue 
+0x31c5 008897 branch timer_init 
+:      008899 g24_data_type2:
+0x31c6 008900 call g24_fetcht_mem_rxdata_temp 
+0x31c7 008902 isolate1 bit_abort ,temp 
+0x31c8 008903 branch g24_data_attemp_kbd ,true 
+0x31c9 008904 arg mem_usb_kb_data ,contw 
+0x31ca 008905 call g24_data_type2_reverse_data 
+0x31cb 008906 fetch 8 ,mem_usb_kb_data 
+0x31cc 008907 ncall g24_kb_enable_blank_data_forcibly ,blank 
+0x31cd 008908 fetch 8 ,mem_usb_kb_data 
+0x31ce 008909 call g24_kb_disable_blank_data_forcibly ,blank 
+0x31cf 008910 call g24_head_ptr2regc 
+0x31d0 008911 fetch 8 ,mem_usb_kb_data 
+0x31d1 008912 arg offset_24g_kb_data_sta_data ,rega 
+0x31d2 008913 call g24_set_contw_with_temp 
+0x31d3 008914 istore 8 ,contw 
+0x31d4 008916 setarg offset_24g_kb_data_last_data 
+0x31d5 008917 iadd regc ,rega 
+0x31d6 008918 ifetcht 8 ,rega 
+0x31d7 008920 isub temp ,null 
+0x31d8 008921 ncall g24_kb_data_dispose ,zero 
+0x31d9 008922 setarg offset_24g_kb_data_sta_data 
+0x31da 008923 iadd regc ,rega 
+0x31db 008924 ifetch 8 ,rega 
+0x31dc 008926 arg offset_24g_kb_data_last_data ,rega 
+0x31dd 008927 call g24_set_contw_with_temp 
+0x31de 008928 istore 8 ,contw 
+0x31df 008930 branch g24_rx_interrupt_clear 
+:      008932 g24_data_type2_reverse_data:
+0x31e0 008933 setarg offset_24g_rxdata_temp_add2 
+0x31e1 008934 iadd regc ,contr 
+0x31e2 008936 arg 9 ,loopcnt 
+0x31e3 008937 branch reverse_byte 
+:      008939 g24_kb_enable_blank_data_forcibly:
+0x31e4 008940 setarg 1 
+0x31e5 008941 call g24_store_mem_kb_blank_data_enable 
+:      008943 g24_kb_enable_blank_data_timer:
+0x31e6 008944 setarg timer_kb_blank_delay 
+0x31e7 008945 arg timer_kb_blank ,queue 
+0x31e8 008946 branch timer_init 
+:      008948 g24_kb_disable_blank_data_forcibly:
+0x31e9 008949 call g24_set0_mem_kb_blank_data_enable 
+:      008951 g24_kb_disable_blank_data_timer:
+0x31ea 008952 setarg 0 
+0x31eb 008953 arg timer_kb_blank ,queue 
+0x31ec 008954 branch timer_init 
+:      008956 g24_kb_data_dispose:
+:      008957 g24_kb_data_into_ep1_fifo:
+0x31ed 008958 jam usb_ep1_kb ,mem_usb_ep1_data 
+0x31ee 008959 fetch 1 ,mem_usb_tx_enable 
+0x31ef 008960 set1 1 ,pdata 
+0x31f0 008961 store 1 ,mem_usb_tx_enable 
+0x31f1 008962 rtn 
+:      008964 g24_data_type3:
+0x31f2 008965 arg mem_usb_kb_multikey ,contw 
+0x31f3 008966 call g24_data_type2_reverse_data 
+0x31f4 008967 fetch 2 ,mem_usb_kb_multikey + 1 
+0x31f5 008968 ncall g24_kb_mul_enable_blank_data_forcibly ,blank 
+0x31f6 008969 fetch 2 ,mem_usb_kb_multikey + 1 
+0x31f7 008970 call g24_kb_mul_disable_blank_data_forcibly ,blank 
+0x31f8 008971 call g24_head_ptr2regc 
+0x31f9 008972 fetch 3 ,mem_usb_kb_multikey 
+0x31fa 008973 arg offset_24g_kb_multikey_sta_data ,rega 
+0x31fb 008974 call g24_set_contw_with_temp_store_3byte 
+0x31fc 008976 setarg offset_24g_kb_multikey_last_data 
+0x31fd 008977 iadd regc ,rega 
+0x31fe 008978 ifetcht 3 ,rega 
+0x31ff 008980 isub temp ,null 
+0x3200 008981 ncall g24_kb_mul_data_into_ep2_fifo ,zero 
+0x3201 008982 setarg offset_24g_kb_multikey_sta_data 
+0x3202 008983 iadd regc ,rega 
+0x3203 008984 ifetch 3 ,rega 
+0x3204 008986 arg offset_24g_kb_multikey_last_data ,rega 
+0x3205 008987 call g24_set_contw_with_temp_store_3byte 
+0x3206 008989 branch g24_rx_interrupt_clear 
+:      008991 g24_kb_mul_data_into_ep2_fifo:
+0x3207 008992 jam usb_ep2_multikey ,mem_usb_ep2_data 
+0x3208 008993 branch g24_data_type1_usbtx_enable_ep2 
+:      008995 g24_kb_mul_enable_blank_data_forcibly:
+0x3209 008996 setarg 1 
+0x320a 008997 call g24_store_mem_kb_mul_blank_data_enable 
+:      008999 g24_kb_mul_enable_blank_data_timer:
+0x320b 009000 setarg timer_kb_mul_blank_delay 
+0x320c 009001 arg timer_kb_mul_blank ,queue 
+0x320d 009002 branch timer_init 
+:      009004 g24_kb_mul_disable_blank_data_forcibly:
+0x320e 009005 call g24_set0_mem_kb_mul_blank_data_enable 
+:      009007 g24_kb_mul_disable_blank_data_timer:
+0x320f 009008 setarg 0 
+0x3210 009009 arg timer_kb_mul_blank ,queue 
+0x3211 009010 branch timer_init 
+:      009012 g24_data_attemp:
+0x3212 009013 call g24_fetch_mem_rxdata_temp_add3_1byte 
+0x3213 009015 beq datatype_mouse ,g24_data_attemp_mouse 
+0x3214 009016 beq datatype_keyboard ,g24_data_attemp_kbd 
+0x3215 009017 rtn 
+:      009018 g24_data_attemp_mouse:
+0x3216 009019 setarg offset_24g_rxdata_temp_add4 
+0x3217 009020 call g24_set_rega_ifetch_4byte 
+0x3218 009021 arg offset_24g_mouse_addr ,rega 
+0x3219 009022 call g24_set_contw_with_temp 
+0x321a 009025 branch g24_contw_istore_4byte 
+:      009027 g24_data_attemp_kbd:
+0x321b 009028 setarg offset_24g_rxdata_temp_add4 
+0x321c 009029 call g24_set_rega_ifetch_4byte 
+0x321d 009030 arg offset_24g_kb_addr ,rega 
+0x321e 009031 call g24_set_contw_with_temp 
+0x321f 009034 branch g24_contw_istore_4byte 
+:      009036 g24_store_mem_24g_mode:
+0x3220 009037 call g24_head_ptr2regc 
+0x3221 009038 add regc ,offset_24g_mode ,contw 
+0x3222 009039 istore 1 ,contw 
+0x3223 009040 rtn 
+:      009042 g24_fetch_mem_device_addr:
+0x3224 009043 call g24_head_ptr2regc 
+0x3225 009044 add regc ,offset_24g_device_addr ,rega 
+0x3226 009045 branch g24_rega_ifetch_4byte 
+:      009046 g24_store_mem_device_addr:
+0x3227 009047 call g24_head_ptr2regc 
+0x3228 009048 add regc ,offset_24g_device_addr ,contw 
+0x3229 009049 branch g24_contw_istore_4byte 
+:      009051 g24_fetch_mem_addr:
+0x322a 009052 add regc ,offset_24g_addr ,rega 
+0x322b 009053 branch g24_rega_ifetch_4byte 
+:      009054 g24_store_mem_addr:
+0x322c 009055 add regc ,offset_24g_addr ,contw 
+:      009056 g24_contw_istore_4byte:
+0x322d 009057 istore 4 ,contw 
+0x322e 009058 rtn 
+:      009060 g24_store_mem_ch:
+0x322f 009061 add regc ,offset_24g_ch ,contw 
+0x3230 009062 branch g24_contw_istore_1byte 
+:      009064 g24_set0_mem_pid:
+0x3231 009065 setarg 0 
+:      009066 g24_store_mem_pid:
+0x3232 009067 call g24_head_ptr2regc 
+0x3233 009068 add regc ,offset_24g_pid ,contw 
+0x3234 009069 branch g24_contw_istore_1byte 
+:      009071 g24_store_mem_txpayload:
+0x3235 009072 add regc ,offset_24g_txpayload ,contw 
+0x3236 009073 branch g24_contw_istore_1byte 
+:      009075 g24_set4_mem_max_retry:
+0x3237 009076 setarg 4 
+:      009077 g24_store_mem_max_retry:
+0x3238 009078 add regc ,offset_24g_max_retry ,contw 
+0x3239 009079 branch g24_contw_istore_1byte 
+:      009081 g24_fetch_mem_data_type:
+0x323a 009082 add regc ,offset_24g_data_type ,rega 
+0x323b 009083 branch g24_rega_ifetch_1byte 
+:      009084 g24_store_mem_data_type:
+0x323c 009085 add regc ,offset_24g_data_type ,contw 
+0x323d 009086 branch g24_contw_istore_1byte 
+:      009088 g24_set2_mem_sync_cnt:
+0x323e 009089 setarg 2 
+:      009090 g24_store_mem_sync_cnt:
+0x323f 009091 add regc ,offset_24g_sync_cnt ,contw 
+0x3240 009092 branch g24_contw_istore_1byte 
+:      009094 g24_set1_mem_rf_last_sta:
+0x3241 009095 setarg 1 
+:      009096 g24_store_mem_rf_last_sta:
+0x3242 009097 call g24_head_ptr2regc 
+0x3243 009098 add regc ,offset_24g_rf_last_sta ,contw 
+0x3244 009099 branch g24_contw_istore_1byte 
+:      009101 g24_fetch_mem_hop_pac:
+0x3245 009102 call g24_head_ptr2regc 
+0x3246 009103 add regc ,offset_24g_hop_pac ,rega 
+0x3247 009104 branch g24_rega_ifetch_1byte 
+:      009105 g24_set1_mem_hop_pac:
+0x3248 009106 setarg 1 
+:      009107 g24_store_mem_hop_pac:
+0x3249 009108 call g24_head_ptr2regc 
+0x324a 009109 add regc ,offset_24g_hop_pac ,contw 
+0x324b 009110 branch g24_contw_istore_1byte 
+:      009112 g24_fetch_mem_abort_pac:
+0x324c 009113 call g24_head_ptr2regc 
+0x324d 009114 add regc ,offset_24g_abort_pac ,rega 
+0x324e 009115 branch g24_rega_ifetch_1byte 
+:      009116 g24_set1_mem_abort_pac:
+0x324f 009117 setarg 1 
+:      009118 g24_store_mem_abort_pac:
+0x3250 009119 call g24_head_ptr2regc 
+0x3251 009120 add regc ,offset_24g_abort_pac ,contw 
+0x3252 009121 branch g24_contw_istore_1byte 
+:      009123 g24_fetch_mem_pairing_sm:
+0x3253 009124 call g24_head_ptr2regc 
+0x3254 009125 add regc ,offset_24g_pairing_sm ,rega 
+0x3255 009126 branch g24_rega_ifetch_1byte 
+:      009127 g24_store_mem_pairing_sm:
+0x3256 009128 add regc ,offset_24g_pairing_sm ,contw 
+0x3257 009129 branch g24_contw_istore_1byte 
+:      009131 g24_fetch_mem_rf_hop_ch:
+0x3258 009132 add regc ,offset_24g_rf_hop_ch ,rega 
+0x3259 009133 branch g24_rega_ifetch_1byte 
+:      009134 g24_set0_mem_rf_hop_ch:
+0x325a 009135 setarg 0 
+:      009136 g24_store_mem_rf_hop_ch:
+0x325b 009137 add regc ,offset_24g_rf_hop_ch ,contw 
+0x325c 009138 branch g24_contw_istore_1byte 
+:      009140 g24_fetch_mem_rf_work_stage:
+0x325d 009141 add regc ,offset_24g_rf_work_stage ,rega 
+0x325e 009142 branch g24_rega_ifetch_1byte 
+:      009144 g24_fetch_mem_rxbuf_add1:
+0x325f 009145 add regc ,offset_24g_rxbuf_add1 ,rega 
+0x3260 009146 branch g24_rega_ifetch_1byte 
+:      009148 g24_fetch_mem_check_dongle_times:
+0x3261 009149 add regc ,offset_24g_check_dongle_times ,rega 
+0x3262 009150 branch g24_rega_ifetch_1byte 
+:      009151 g24_set0_mem_check_dongle_times:
+0x3263 009152 setarg 0 
+:      009153 g24_store_mem_check_dongle_times:
+0x3264 009154 call g24_head_ptr2regc 
+0x3265 009155 add regc ,offset_24g_check_dongle_times ,contw 
+0x3266 009156 branch g24_contw_istore_1byte 
+:      009158 g24_store_mem_tx_power:
+0x3267 009159 call g24_head_ptr2regc 
+0x3268 009160 add regc ,offset_tx_power_temp ,rega 
+0x3269 009161 ifetch 1 ,rega 
+:      009162 g24_store_mem_txpower:
+0x326a 009163 store 1 ,mem_tx_power 
+0x326b 009164 rtn 
+:      009166 g24_store_mem_tx_power_temp:
+0x326c 009167 call g24_head_ptr2regc 
+0x326d 009168 fetch 1 ,mem_tx_power 
+0x326e 009170 add regc ,offset_tx_power_temp ,contw 
+0x326f 009171 branch g24_contw_istore_1byte 
+:      009173 g24_fetch_mem_power_ctrl_pac:
+0x3270 009174 add regc ,offset_power_ctrl_packet_cnt ,rega 
+0x3271 009175 branch g24_rega_ifetch_1byte 
+:      009177 g24_store_mem_power_ctrl_level:
+0x3272 009178 add regc ,offset_power_ctrl_level ,contw 
+0x3273 009179 branch g24_contw_istore_1byte 
+:      009181 g24_fetcht_mem_rxdata_temp:
+0x3274 009182 setarg offset_24g_rxdata_temp 
+:      009183 g24_set_rega_ifetcht_1byte:
+0x3275 009184 iadd regc ,rega 
+0x3276 009185 ifetcht 1 ,rega 
+0x3277 009186 rtn 
+:      009188 g24_fetch_mem_rf_laststa:
+0x3278 009189 setarg offset_24g_rf_laststa 
+0x3279 009190 branch g24_set_rega_ifetch_1byte 
+:      009191 g24_set0_mem_rf_laststa:
+0x327a 009192 setarg 0 
+:      009193 g24_store_mem_rf_laststa:
+0x327b 009194 arg offset_24g_rf_laststa ,rega 
+0x327c 009195 branch g24_set_contw_with_regb_store_1byte 
+:      009197 g24_fetch_mem_rx_addr:
+0x327d 009198 setarg offset_24g_rx_addr 
+:      009199 g24_set_rega_ifetch_4byte:
+0x327e 009200 call g24_set_rega 
+:      009201 g24_rega_ifetch_4byte:
+0x327f 009202 ifetch 4 ,rega 
+0x3280 009203 rtn 
+:      009205 g24_fetch_mem_time_slice:
+0x3281 009206 setarg offset_24g_time_slice 
+0x3282 009207 branch g24_set_rega_ifetch_1byte 
+:      009208 g24_set0_mem_time_slice:
+0x3283 009209 setarg 0 
+:      009210 g24_store_mem_time_slice:
+0x3284 009211 arg offset_24g_time_slice ,rega 
+0x3285 009212 branch g24_set_contw_with_regb_store_1byte 
+:      009214 g24_set0_mem_mode_switch:
+0x3286 009215 setarg 0 
+:      009216 g24_store_mem_mode_switch:
+0x3287 009217 arg offset_24g_mode_switch ,rega 
+0x3288 009218 branch g24_set_contw_with_regb_store_1byte 
+:      009220 g24_store_mem_bind_payload:
+0x3289 009221 arg offset_24g_bind_payload ,rega 
+0x328a 009222 branch g24_set_contw_with_regb_store_1byte 
+:      009224 g24_fetch_mem_bind_device_status:
+0x328b 009225 setarg offset_dongle_bind_device_status 
+0x328c 009226 branch g24_set_rega_ifetch_1byte 
+:      009227 g24_store_mem_bind_device_status:
+0x328d 009228 arg offset_dongle_bind_device_status ,rega 
+0x328e 009229 branch g24_set_contw_with_regb_store_1byte 
+:      009231 g24_fetch_mem_dongle_work_mode:
+0x328f 009232 setarg offset_dongle_work_mode 
+0x3290 009233 branch g24_set_rega_ifetch_1byte 
+:      009234 g24_set_work_mem_dongle_work_mode:
+0x3291 009235 setarg dongle_work 
+:      009236 g24_store_mem_dongle_work_mode:
+0x3292 009237 arg offset_dongle_work_mode ,rega 
+0x3293 009238 branch g24_set_contw_with_regb_store_1byte 
+:      009240 g24_fetch_mem_dongle_mode_init:
+0x3294 009241 setarg offset_dongle_mode_init 
+0x3295 009242 branch g24_set_rega_ifetch_1byte 
+:      009243 g24_set0_mem_dongle_mode_init:
+0x3296 009244 setarg clear_init 
+:      009245 g24_store_mem_dongle_mode_init:
+0x3297 009246 arg offset_dongle_mode_init ,rega 
+0x3298 009247 branch g24_set_contw_with_regb_store_1byte 
+:      009249 g24_set0_mem_ackpayload_enable:
+0x3299 009250 setarg 0 
+:      009251 g24_store_mem_ackpayload_enable:
+0x329a 009252 arg offset_24g_ackpayload_enable ,rega 
+0x329b 009253 branch g24_set_contw_with_regb_store_1byte 
+:      009254 g24_set1_mem_ackpayload_enable:
+0x329c 009255 setarg 1 
+0x329d 009256 branch g24_store_mem_ackpayload_enable 
+:      009258 g24_fetch_mem_rxdata_temp_add3_7byte:
+0x329e 009259 setarg offset_24g_rxdata_temp_add3 
+0x329f 009260 call g24_set_rega 
+0x32a0 009261 ifetch 7 ,rega 
+0x32a1 009262 rtn 
+:      009264 g24_fetch_mem_nodata_timer_enable:
+0x32a2 009265 setarg offset_24g_nodata_timer_enable 
+0x32a3 009266 branch g24_set_rega_ifetch_1byte 
+:      009267 g24_set0_mem_nodata_timer_enable:
+0x32a4 009268 setarg 0 
+:      009269 g24_store_mem_nodata_timer_enable:
+0x32a5 009270 arg offset_24g_nodata_timer_enable ,rega 
+0x32a6 009271 branch g24_set_contw_with_regb_store_1byte 
+:      009273 g24_set0_mem_ms_blank_data_enable:
+0x32a7 009274 setarg 0 
+:      009275 g24_store_mem_ms_blank_data_enable:
+0x32a8 009276 arg offset_24g_ms_blank_data_enable ,rega 
+0x32a9 009277 branch g24_set_contw_with_regb_store_1byte 
+:      009279 g24_set0_mem_kb_blank_data_enable:
+0x32aa 009280 setarg 0 
+:      009281 g24_store_mem_kb_blank_data_enable:
+0x32ab 009282 arg offset_24g_kb_blank_data_enable ,rega 
+0x32ac 009283 branch g24_set_contw_with_regb_store_1byte 
+:      009285 g24_set0_mem_kb_mul_blank_data_enable:
+0x32ad 009286 setarg 0 
+:      009287 g24_store_mem_kb_mul_blank_data_enable:
+0x32ae 009288 arg offset_24g_kb_mul_blank_data_enable ,rega 
+0x32af 009289 branch g24_set_contw_with_regb_store_1byte 
+:      009291 g24_store_mem_power_ctrl_threshold_up:
+0x32b0 009292 arg offset_power_ctrl_threshold_up ,rega 
+0x32b1 009293 branch g24_set_contw_with_regb_store_1byte 
+:      009295 g24_store_mem_power_ctrl_threshold_down:
+0x32b2 009296 arg offset_power_ctrl_threshold_down ,rega 
+:      009297 g24_set_contw_with_regb_store_1byte:
+0x32b3 009298 call g24_set_contw_with_regb 
+:      009299 g24_contw_istore_1byte:
+0x32b4 009300 istore 1 ,contw 
+0x32b5 009301 rtn 
+:      009303 g24_fetch_mem_pair_mode:
+0x32b6 009304 setarg offset_24g_pair_mode 
+0x32b7 009305 branch g24_set_rega_ifetch_1byte 
+:      009307 g24_store_mem_pair_mode:
+0x32b8 009308 arg offset_24g_pair_mode ,rega 
+0x32b9 009309 branch g24_set_contw_with_regb_store_1byte 
+:      009311 g24_store_mem_pair_txpower:
+0x32ba 009312 setarg offset_24g_pair_txpower 
+0x32bb 009313 call g24_set_rega_ifetch_1byte 
+0x32bc 009314 branch g24_store_mem_txpower 
+:      009316 g24_fetch_mem_rxdata_temp_add3_1byte:
+0x32bd 009317 setarg offset_24g_rxdata_temp_add3 
+0x32be 009318 branch g24_set_rega_ifetch_1byte 
+:      009320 g24_set_contw_with_temp:
+0x32bf 009321 copy pdata ,temp 
+0x32c0 009322 copy rega ,pdata 
+0x32c1 009323 iadd regc ,contw 
+0x32c2 009324 copy temp ,pdata 
+0x32c3 009325 rtn 
+:      009327 g24_set_contw_with_temp_store_3byte:
+0x32c4 009328 call g24_set_contw_with_temp 
+:      009329 g24_contw_istore_3byte:
+0x32c5 009330 istore 3 ,contw 
+0x32c6 009331 rtn 
+:      009333 g24_set_contw_with_regb:
+0x32c7 009334 call g24_head_ptr2regc 
+:      009335 g24_set_contw_with_regb2:
+0x32c8 009336 copy pdata ,regb 
+0x32c9 009337 copy rega ,pdata 
+0x32ca 009338 iadd regc ,contw 
+0x32cb 009339 copy regb ,pdata 
+0x32cc 009340 rtn 
+:      009342 g24_set_rega:
+0x32cd 009343 call g24_head_ptr2regc 
+0x32ce 009344 iadd regc ,rega 
+0x32cf 009345 rtn 
+:      009347 g24_set_rega_ifetch_1byte:
+0x32d0 009348 call g24_set_rega 
+:      009349 g24_rega_ifetch_1byte:
+0x32d1 009350 ifetch 1 ,rega 
+0x32d2 009351 rtn 
+:      009353 g24_set_rega_ifetcht_4byte:
+0x32d3 009354 call g24_set_rega 
+0x32d4 009355 ifetcht 4 ,rega 
+0x32d5 009356 rtn 
+:      009358 g24_mem_set0:
+0x32d6 009359 setarg 0 
+0x32d7 009360 branch g24_contw_istore_1byte 
+:      009364 app_init:
+0x32d8 009365 bpatch patch18_4 ,mem_patch18 
+0x32d9 009366 fetch 1 ,mem_device_option 
+0x32da 009367 branch app_init ,blank 
+0x32db 009369 beq dvc_op_dongle ,dongle_init 
+0x32dc 009370 beq dvc_op_antilost ,antilost_init 
+0x32dd 009371 beq dvc_op_shutter ,shutter_init 
+0x32de 009372 beq dvc_op_module ,module_init 
+0x32df 009373 beq dvc_op_car ,car_init 
+0x32e0 009374 beq dvc_op_remote_car ,remote_car_init 
+0x32e1 009375 bbit1 dvc_op_mouse ,mouse_init 
+0x32e2 009376 rtn 
+:      009378 app_lpm_init:
+0x32e3 009379 bpatch patch18_5 ,mem_patch18 
+0x32e4 009380 jam 0 ,mem_tester_emulate 
+0x32e5 009381 jam 0 ,mem_debug_config 
+0x32e6 009382 jam 0 ,mem_lch_code 
+0x32e7 009383 setarg 0 
+0x32e8 009384 store 5 ,mem_sp_state_start 
+0x32e9 009385 fetch 1 ,mem_device_option 
+0x32ea 009386 branch app_lpm_init ,blank 
+0x32eb 009387 beq dvc_op_module ,module_lpm_init 
+:      009388 app_lpm_init0:
+0x32ec 009389 rtn 
+:      009392 app_process_idle:
+0x32ed 009393 call ui_dispatch 
+0x32ee 009394 call check_51cmd 
+0x32ef 009395 call app_process_bb_event 
+0x32f0 009396 fetch 2 ,mem_cb_idle_process 
+0x32f1 009397 branch callback_func 
+:      009399 app_process_bt:
+0x32f2 009400 fetch 2 ,mem_cb_bt_process 
+0x32f3 009401 branch callback_func 
+:      009403 app_process_ble:
+0x32f4 009404 fetch 2 ,mem_cb_le_process 
+0x32f5 009405 branch callback_func 
+:      009407 app_process_bb_event:
+0x32f6 009408 bpatch patch18_6 ,mem_patch18 
+0x32f7 009410 arg mem_ipc_fifo_bt2c51 ,rega 
+0x32f8 009411 call fifo_out 
+0x32f9 009412 rtn blank 
+0x32fa 009414 copy pdata ,regc 
+0x32fb 009415 call app_event_normal_process 
+0x32fc 009416 branch app_process_bb_event_priority 
+:      009418 app_discard_event:
+0x32fd 009419 arg 0 ,regc 
+0x32fe 009420 rtn 
+:      009425 app_event_normal_process:
+0x32ff 009426 beq bt_evt_bb_connected ,app_evt_bt_conn 
+0x3300 009427 beq bt_evt_button_long_pressed ,app_evt_button_long_pressed 
+0x3301 009428 beq bt_evt_setup_complete ,app_evt_setup_complete 
+0x3302 009429 beq bt_evt_hid_handshake ,app_evt_hid_handshake 
+0x3303 009430 beq bt_evt_hid_connected ,app_bb_event_hid_connected 
+0x3304 009431 beq bt_evt_reconn_failed ,app_bb_event_reconn_failed 
+0x3305 009432 beq bt_evt_bb_disconnected ,app_bb_event_bb_disconn 
+0x3306 009433 beq bt_evt_reconn_page_timeout ,app_bb_event_reconn_failed 
+0x3307 009434 beq bt_evt_le_connected ,app_le_event_bb_connected 
+0x3308 009435 beq bt_evt_le_disconnected ,app_le_event_bb_disconn 
+0x3309 009436 beq bt_evt_reconn_started ,app_event_reconn_start 
+0x330a 009437 beq bt_evt_enter_sniff ,app_event_enter_sniff 
+0x330b 009438 beq bt_evt_exit_sniff ,app_event_exit_sniff 
+0x330c 009440 beq bt_evt_ml2cap_conn_refused ,app_event_ml2cap_conn_refused 
+0x330d 009441 beq bt_evt_linkkey_generate ,app_event_linkkey_generate 
+0x330e 009442 beq bt_evt_switch_fail_master ,app_event_switch_fail_master 
+0x330f 009443 beq bt_evt_switch_success_master ,app_event_switch_success 
+0x3310 009444 rtn 
+:      009447 app_evt_bt_conn:
+0x3311 009448 fetch 2 ,mem_ui_state_map 
+0x3312 009449 set1 ui_state_bt_connected ,pdata 
+0x3313 009450 store 2 ,mem_ui_state_map 
+0x3314 009451 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3315 009452 set0 app_disc_by_button ,pdata 
+0x3316 009453 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3317 009454 rtn 
+:      009456 app_event_switch_success:
+0x3318 009457 jam 0 ,mem_switch_fail_master_count 
+0x3319 009458 rtn 
+:      009460 app_event_switch_fail_master:
+0x331a 009461 fetch 1 ,mem_switch_fail_master_count 
+0x331b 009462 increase 1 ,pdata 
+0x331c 009463 store 1 ,mem_switch_fail_master_count 
+0x331d 009464 sub pdata ,1 ,null 
+0x331e 009465 branch app_bt_role_switch ,positive 
+0x331f 009466 jam 0 ,mem_switch_fail_master_count 
+0x3320 009467 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3321 009468 set1 app_disc_switch_fail ,pdata 
+0x3322 009469 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3323 009470 branch app_bt_disconnect 
+:      009472 app_process_bb_event_priority:
+0x3324 009473 fetch 2 ,mem_cb_bb_event_process 
+0x3325 009474 branch callback_func 
+:      009476 app_check_wake_lock:
+0x3326 009477 fetch 2 ,mem_cb_check_wakelock 
+0x3327 009478 branch callback_func 
+:      009480 app_will_enter_lpm:
+0x3328 009481 fetch 2 ,mem_cb_before_lpm 
+0x3329 009482 branch callback_func 
+:      009484 app_event_linkkey_generate:
+0x332a 009485 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x332b 009486 set1 app_disc_after_pairing ,pdata 
+0x332c 009487 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x332d 009488 branch app_bt_store_reconn_info 
+:      009490 app_event_reconn_start:
+0x332e 009491 fetch 2 ,mem_ui_state_map 
+0x332f 009492 set1 ui_state_bt_reconnect ,pdata 
+0x3330 009493 store 2 ,mem_ui_state_map 
+0x3331 009494 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3332 009495 set1 app_disc_after_reconn ,pdata 
+0x3333 009496 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3334 009497 rtn 
+:      009499 app_evt_setup_complete:
+0x3335 009500 fetch 2 ,mem_ui_state_map 
+0x3336 009501 set1 ui_state_bt_setup_complete ,pdata 
+0x3337 009502 store 2 ,mem_ui_state_map 
+0x3338 009503 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3339 009504 set1 app_disc_after_setup_done ,pdata 
+0x333a 009505 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x333b 009506 rtn 
+:      009508 app_evt_hid_handshake:
+0x333c 009509 fetch 2 ,mem_ui_state_map 
+0x333d 009510 set1 ui_state_bt_hid_handshake ,pdata 
+0x333e 009511 store 2 ,mem_ui_state_map 
+0x333f 009512 rtn 
+:      009514 app_event_enter_sniff:
+0x3340 009515 fetch 2 ,mem_ui_state_map 
+0x3341 009516 set1 ui_state_bt_sniff ,pdata 
+0x3342 009517 store 2 ,mem_ui_state_map 
+0x3343 009518 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3344 009519 set1 app_disc_after_sniff ,pdata 
+0x3345 009520 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3346 009521 rtn 
+:      009523 app_event_exit_sniff:
+0x3347 009524 fetch 2 ,mem_ui_state_map 
+0x3348 009525 set0 ui_state_bt_sniff ,pdata 
+0x3349 009526 store 2 ,mem_ui_state_map 
+0x334a 009527 rtn 
+:      009529 app_le_event_bb_connected:
+0x334b 009530 fetch 2 ,mem_ui_state_map 
+0x334c 009531 set1 ui_state_ble_connected ,pdata 
+0x334d 009532 store 2 ,mem_ui_state_map 
+0x334e 009533 rtn 
+:      009535 app_le_event_bb_disconn:
+0x334f 009536 fetch 2 ,mem_ui_state_map 
+0x3350 009537 set0 ui_state_ble_connected ,pdata 
+0x3351 009538 store 2 ,mem_ui_state_map 
+0x3352 009539 branch app_lpm_mult_disable 
+:      009541 app_bb_event_hid_connected:
+0x3353 009542 fetch 2 ,mem_ui_state_map 
+0x3354 009543 set1 ui_state_bt_hid_conn ,pdata 
+0x3355 009544 store 2 ,mem_ui_state_map 
+0x3356 009545 rtn 
+:      009547 app_evt_button_long_pressed:
+0x3357 009548 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3358 009549 set1 app_disc_by_button ,pdata 
+0x3359 009550 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x335a 009551 rtn 
+:      009553 app_event_ml2cap_conn_refused:
+0x335b 009554 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x335c 009555 set1 app_disc_l2cap_refused ,pdata 
+0x335d 009556 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x335e 009557 branch app_bt_disconnect 
+:      009560 app_evt_timer:
+0x335f 009561 bpatch patch18_7 ,mem_patch18 
+0x3360 009562 store 1 ,mem_app_evt_timer_count 
+:      009563 app_evt_100ms_loop:
+0x3361 009564 fetch 1 ,mem_app_evt_timer_count 
+0x3362 009565 rtn blank 
+0x3363 009566 increase -1 ,pdata 
+0x3364 009567 store 1 ,mem_app_evt_timer_count 
+0x3365 009568 call ui_button_polling 
+0x3366 009569 call app_lpm_wake_auto_lock_timer 
+0x3367 009570 call app_unsniff_delay_timer 
+0x3368 009571 call app_discovery_timer 
+0x3369 009572 call flash_write_spi_sm_timer 
+0x336a 009573 fetch 2 ,mem_cb_event_timer 
+0x336b 009574 call callback_func 
+0x336c 009575 branch app_evt_100ms_loop 
+:      009580 timer_single_step:
+0x336d 009581 ifetch 1 ,regc 
+0x336e 009582 rtn blank 
+0x336f 009583 pincrease -1 
+0x3370 009584 istore 1 ,regc 
+0x3371 009585 nrtn blank 
+0x3372 009586 copy regb ,pdata 
+0x3373 009587 branch callback_func 
+:      009591 timer_single_step_2b:
+0x3374 009592 ifetch 2 ,regc 
+0x3375 009593 rtn blank 
+0x3376 009594 pincrease -1 
+0x3377 009595 istore 2 ,regc 
+0x3378 009596 nrtn blank 
+0x3379 009597 copy regb ,pdata 
+0x337a 009598 branch callback_func 
+:      009600 app_power_timer:
+0x337b 009601 fetcht 2 ,mem_power_param_ptr 
+0x337c 009602 add temp ,power_timer_offset ,regc 
+0x337d 009603 arg app_power_timer_timeout ,regb 
+0x337e 009604 branch timer_single_step 
+:      009606 app_power_timer_timeout:
+0x337f 009607 call app_got_power_state_common 
+0x3380 009608 beq power_starting ,app_enter_power_stanby_state 
+:      009609 app_enter_power_off_state:
+0x3381 009610 branch app_enter_hibernate 
+:      009611 app_enter_power_stanby_state:
+0x3382 009612 setarg power_standby 
+0x3383 009613 istore 1 ,regc 
+0x3384 009614 add temp ,power_standby_cb_offset ,regb 
+:      009615 app_power_cb_common:
+0x3385 009616 ifetch 2 ,regb 
+0x3386 009617 branch callback_func 
+:      009619 app_unsniff_delay_timer:
+0x3387 009620 arg mem_unsniff2sniff_timer_count ,regc 
+0x3388 009621 arg app_unsniff_delay_timeout ,regb 
+0x3389 009622 branch timer_single_step 
+:      009624 app_unsniff_delay_timeout:
+0x338a 009625 call context_check_idle 
+0x338b 009626 branch app_bt_enter_sniff ,zero 
+0x338c 009627 rtn 
+:      009630 app_discovery_timer:
+0x338d 009631 arg mem_discovery_timeout_timer_count ,regc 
+0x338e 009632 arg app_discovery_timeout ,regb 
+0x338f 009633 branch timer_single_step_2b 
+:      009635 app_discovery_timeout:
+0x3390 009636 call app_bt_stop_discovery 
+0x3391 009637 call app_led_off 
+0x3392 009638 fetch 2 ,mem_cb_discovry_timeout 
+0x3393 009639 branch callback_func 
+:      009642 app_bb_event_reconn_failed:
+0x3394 009643 call app_disconn_reason_flag_clear 
+:      009644 app_clear_reconnect_flag:
+0x3395 009645 fetch 2 ,mem_ui_state_map 
+0x3396 009646 set0 ui_state_bt_reconnect ,pdata 
+0x3397 009647 store 2 ,mem_ui_state_map 
+0x3398 009648 rtn 
+:      009650 app_bb_event_bb_disconn:
+0x3399 009651 jam 0 ,mem_unsniff2sniff_timer_count 
+0x339a 009652 fetch 2 ,mem_ui_state_map 
+0x339b 009653 bbit1 ui_state_bt_reconnect ,app_bb_event_bb_reconn_disconn 
+0x339c 009654 isolate0 ui_state_bt_setup_complete ,pdata 
+0x339d 009655 call app_discard_event ,true 
+:      009656 app_bb_event_bb_reconn_disconn:
+0x339e 009657 bpatch patch19_0 ,mem_patch19 
+0x339f 009658 fetch 2 ,mem_ui_state_map 
+0x33a0 009659 set0 ui_state_bt_connected ,pdata 
+0x33a1 009660 set0 ui_state_bt_setup_complete ,pdata 
+0x33a2 009661 set0 ui_state_bt_hid_conn ,pdata 
+0x33a3 009662 set0 ui_state_bt_hid_handshake ,pdata 
+0x33a4 009663 set0 ui_state_bt_reconnect ,pdata 
+0x33a5 009664 store 2 ,mem_ui_state_map 
+0x33a6 009665 branch app_lpm_mult_disable 
+:      009667 app_bb_hibernate:
+0x33a7 009668 call app_disconn_reason_clear 
+0x33a8 009669 branch app_enter_hibernate 
+:      009672 app_disconn_reason_clear:
+0x33a9 009673 setarg 0 
+0x33aa 009674 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x33ab 009675 rtn 
+:      009676 app_disconn_reason_flag_clear:
+0x33ac 009677 setarg 0 
+0x33ad 009678 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x33ae 009679 rtn 
+:      009681 app_disconn_reason_collect_bt:
+0x33af 009682 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x33b0 009683 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x33b1 009684 setarg 0 
+0x33b2 009685 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x33b3 009686 rtn 
+:      009688 app_disconn_reason_collect_ble:
+0x33b4 009689 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x33b5 009690 set1 app_disc_ble ,pdata 
+0x33b6 009691 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x33b7 009692 setarg 0 
+0x33b8 009693 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x33b9 009694 rtn 
+:      009702 app_check_sniff:
+0x33ba 009703 fetch 1 ,mem_ui_state_map 
+0x33bb 009704 isolate1 ui_state_bt_sniff ,pdata 
+0x33bc 009705 rtn 
+:      009713 app_initflag_store:
+0x33bd 009714 setarg eeprom_init_flag 
+:      009715 app_flag_store:
+0x33be 009716 store 2 ,mem_timeup 
+0x33bf 009717 bpatch patch19_1 ,mem_patch19 
+0x33c0 009718 arg 2 ,temp 
+0x33c1 009719 arg mem_timeup ,rega 
+0x33c2 009720 arg eeprom_module_init_flag ,regb 
+0x33c3 009721 branch iicd_write_eep_data 
+:      009724 app_initflag_check:
+0x33c4 009725 bpatch patch19_2 ,mem_patch19 
+0x33c5 009726 arg 2 ,temp 
+0x33c6 009727 arg mem_pdatatemp ,rega 
+0x33c7 009728 arg eeprom_module_init_flag ,regb 
+0x33c8 009729 call iicd_read_eep_data 
+0x33c9 009730 fetch 2 ,mem_pdatatemp 
+0x33ca 009731 arg eeprom_init_flag ,temp 
+0x33cb 009732 isub temp ,null 
+0x33cc 009733 rtn 
+:      009736 app_start_auto_sniff:
+0x33cd 009737 fetch 1 ,mem_unsniff2sniff_timer 
+0x33ce 009738 store 1 ,mem_unsniff2sniff_timer_count 
+0x33cf 009739 rtn 
+:      009741 app_get_lpm_wake_lock:
+0x33d0 009742 arg wake_lock_app ,queue 
+0x33d1 009743 branch lpm_get_wake_lock 
+:      009745 app_put_lpm_wake_lock:
+0x33d2 009746 arg wake_lock_app ,queue 
+0x33d3 009747 branch lpm_put_wake_lock 
+:      009749 app_lpm_wake_auto_lock:
+0x33d4 009750 jam lpm_wake_up_delay_timer ,mem_wake_up_delay_timer 
+0x33d5 009751 branch app_get_lpm_wake_lock 
+:      009753 app_lpm_wake_auto_lock_timer:
+0x33d6 009754 arg mem_wake_up_delay_timer ,regc 
+0x33d7 009755 arg app_put_lpm_wake_lock ,regb 
+0x33d8 009756 branch timer_single_step 
+:      009758 app_l2cap_flow_control_enable:
+0x33d9 009759 jam l2cap_flow_ctrl_enable ,mem_l2cap_flow_ctrl_flag 
+0x33da 009760 rtn 
+:      009762 app_l2cap_flow_control_disable:
+0x33db 009763 jam l2cap_flow_ctrl_disable ,mem_l2cap_flow_ctrl_flag 
+0x33dc 009764 rtn 
+:      009766 app_bt_set_pincode:
+0x33dd 009767 jam bt_cmd_set_pin_code ,mem_fifo_temp 
+0x33de 009768 branch ui_ipc_send_cmd 
+:      009770 app_bt_role_switch:
+0x33df 009771 jam bt_cmd_role_switch ,mem_fifo_temp 
+0x33e0 009772 branch ui_ipc_send_cmd 
+:      009774 app_bt_start_reconnect:
+0x33e1 009775 bpatch patch19_3 ,mem_patch19 
+0x33e2 009776 fetch 1 ,mem_app_connection_options 
+0x33e3 009777 store 1 ,mem_connection_options 
+0x33e4 009778 jam app_flag_reconnect ,mem_reconnect_flag 
+0x33e5 009779 jam bt_cmd_reconnect ,mem_fifo_temp 
+0x33e6 009780 branch ui_ipc_send_cmd 
+:      009782 app_bt_reconnect_cancel:
+0x33e7 009783 jam bt_cmd_bb_reconn_cancel ,mem_fifo_temp 
+0x33e8 009784 branch ui_ipc_send_cmd 
+:      009786 app_bt_disconnect:
+0x33e9 009787 jam bt_cmd_disconnect ,mem_fifo_temp 
+0x33ea 009788 branch ui_ipc_send_cmd 
+:      009790 app_bt_start_discovery_short:
+0x33eb 009791 fetch 2 ,mem_discovery_timeout 
+0x33ec 009792 store 2 ,mem_discovery_timeout_timer_count 
+:      009793 app_bt_start_discovery_led_blink:
+0x33ed 009794 call app_led_start_blink 
+:      009795 app_bt_start_discovery:
+0x33ee 009796 jam bt_cmd_start_discovery ,mem_fifo_temp 
+0x33ef 009797 branch ui_ipc_send_cmd 
+:      009799 app_bt_stop_discovery:
+0x33f0 009800 setarg 0 
+0x33f1 009801 store 2 ,mem_discovery_timeout_timer_count 
+0x33f2 009802 jam bt_cmd_stop_discovery ,mem_fifo_temp 
+0x33f3 009803 branch ui_ipc_send_cmd 
+:      009805 app_ble_start_direct_adv:
+0x33f4 009806 jam bt_cmd_start_direct_adv ,mem_fifo_temp 
+0x33f5 009807 branch ui_ipc_send_cmd 
+:      009809 app_ble_stop_direct_adv:
+0x33f6 009810 jam bt_cmd_stop_direct_adv ,mem_fifo_temp 
+0x33f7 009811 branch ui_ipc_send_cmd 
+:      009813 app_ble_stop_adv:
+0x33f8 009814 jam bt_cmd_stop_adv ,mem_fifo_temp 
+0x33f9 009815 branch ui_ipc_send_cmd 
+:      009817 app_ble_start_adv:
+0x33fa 009818 jam bt_cmd_start_adv ,mem_fifo_temp 
+0x33fb 009819 branch ui_ipc_send_cmd 
+:      009821 app_ble_start_scan:
+0x33fc 009822 jam bt_cmd_le_start_scan ,mem_fifo_temp 
+0x33fd 009823 branch ui_ipc_send_cmd 
+:      009825 app_ble_stop_scan:
+0x33fe 009826 jam bt_cmd_le_stop_scan ,mem_fifo_temp 
+0x33ff 009827 branch ui_ipc_send_cmd 
+:      009829 app_ble_start_conn:
+0x3400 009830 jam bt_cmd_le_start_conn ,mem_fifo_temp 
+0x3401 009831 branch ui_ipc_send_cmd 
+:      009833 app_ble_disconnect:
+0x3402 009834 jam bt_cmd_le_disconnect ,mem_fifo_temp 
+0x3403 009835 branch ui_ipc_send_cmd 
+:      009837 app_led_start_blink:
+0x3404 009838 jam bt_cmd_led_blink ,mem_fifo_temp 
+0x3405 009839 branch ui_ipc_send_cmd 
+:      009841 app_led_on:
+0x3406 009842 jam bt_cmd_led_on ,mem_fifo_temp 
+0x3407 009843 branch ui_ipc_send_cmd 
+:      009845 app_led_stop_blink:
+:      009846 app_led_off:
+0x3408 009847 jam bt_cmd_led_off ,mem_fifo_temp 
+0x3409 009848 branch ui_ipc_send_cmd 
+:      009850 app_enter_hibernate:
+0x340a 009851 jam bt_cmd_enter_hibernate ,mem_fifo_temp 
+0x340b 009852 branch ui_ipc_send_cmd 
+:      009854 app_bt_sniff_exit:
+0x340c 009855 jam bt_cmd_exit_sniff ,mem_fifo_temp 
+0x340d 009856 branch ui_ipc_send_cmd 
+:      009858 app_bt_enter_sniff:
+0x340e 009859 jam bt_cmd_enter_sniff ,mem_fifo_temp 
+0x340f 009860 branch ui_ipc_send_cmd 
+:      009862 app_ble_store_reconn_info:
+0x3410 009863 jam bt_cmd_store_reconn_info_le ,mem_fifo_temp 
+0x3411 009864 branch ui_ipc_send_cmd 
+:      009866 app_bt_store_reconn_info:
+0x3412 009867 jam bt_cmd_store_reconn_info_bt ,mem_fifo_temp 
+0x3413 009868 branch ui_ipc_send_cmd 
+:      009870 app_store_reconn_info:
+0x3414 009871 jam bt_cmd_store_reconn_info ,mem_fifo_temp 
+0x3415 009872 branch ui_ipc_send_cmd 
+:      009874 app_lpm_mult_enable:
+0x3416 009875 set1 mark_lpm_mult_enable ,mark 
+0x3417 009876 rtn 
+:      009878 app_lpm_mult_disable:
+0x3418 009879 set0 mark_lpm_mult_enable ,mark 
+0x3419 009880 rtn 
+:      009900 app_button_long_pressed:
+0x341a 009901 call app_got_power_state_common 
+0x341b 009902 beq power_standby ,app_power_shutting_down 
+:      009903 app_power_starting:
+0x341c 009904 setarg power_starting 
+0x341d 009905 istore 1 ,regc 
+0x341e 009906 add temp ,power_starting_timeout_offset ,rega 
+0x341f 009907 add temp ,power_starting_cb_offset ,regb 
+:      009908 app_power_common:
+0x3420 009909 ifetcht 1 ,rega 
+0x3421 009910 increase 1 ,regc 
+0x3422 009911 istoret 1 ,regc 
+0x3423 009912 branch app_power_cb_common 
+:      009914 app_power_shutting_down:
+0x3424 009915 setarg power_off 
+0x3425 009916 istore 1 ,regc 
+0x3426 009917 fetch 2 ,mem_ui_state_map 
+0x3427 009918 bbit0 ui_state_ble_connected ,app_power_off_end 
+0x3428 009919 call app_ble_disconnect 
+:      009920 app_power_off_end:
+0x3429 009921 fetcht 2 ,mem_power_param_ptr 
+0x342a 009922 add temp ,power_off_timeout_offset ,rega 
+0x342b 009923 add temp ,power_off_cb_offset ,regb 
+0x342c 009924 branch app_power_common 
+:      009926 app_got_power_state_common:
+0x342d 009927 fetcht 2 ,mem_power_param_ptr 
+0x342e 009928 add temp ,power_state_offset ,regc 
+0x342f 009929 ifetch 1 ,regc 
+0x3430 009930 rtn 
+:      009932 app_event_button_up:
+0x3431 009933 call app_got_power_state_common 
+0x3432 009934 bne power_off ,app_power_release 
+0x3433 009935 branch app_enter_hibernate 
+:      009936 app_power_release:
+0x3434 009937 add temp ,ui_butten_up_cb_offset ,regb 
+0x3435 009938 branch app_power_cb_common 
+:      009940 antilost_init:
+0x3436 009941 rtn wake 
+0x3437 009942 jam 0x00 ,core_gpio_sel1 
+0x3438 009943 setarg antilost_le_before_hibernate 
+0x3439 009944 store 2 ,mem_cb_before_hibernate 
+0x343a 009945 setarg keyscan_process_lpm_before 
+0x343b 009946 store 2 ,mem_cb_before_lpm 
+0x343c 009947 setarg antilost_idle_process 
+0x343d 009948 store 2 ,mem_cb_idle_process 
+0x343e 009949 setarg antilost_le_conn_process 
+0x343f 009950 store 2 ,mem_cb_le_process 
+0x3440 009951 setarg antilost_bb_event_process 
+0x3441 009952 store 2 ,mem_cb_bb_event_process 
+0x3442 009953 setarg antilost_le_bb_event_timer 
+0x3443 009954 store 2 ,mem_cb_event_timer 
+0x3444 009955 setarg antilost_le_notification 
+0x3445 009956 store 2 ,mem_cb_ble_transmit 
+0x3446 009957 setarg antilost_lpm_lock_process 
+0x3447 009958 store 2 ,mem_cb_check_wakelock 
+0x3448 009959 setarg antilost_le_receive_data_process 
+0x3449 009960 store 2 ,mem_cb_att_write 
+0x344a 009961 bpatch patch19_4 ,mem_patch19 
+0x344b 009962 call antilost_buzzer_pwm_init 
+0x344c 009963 call keyscan_key_init 
+0x344d 009964 call antilost_adc_init 
+0x344e 009965 call ui_led_init_global 
+0x344f 009966 call ui_button_init 
+0x3450 009967 setarg antilost_key_up_down 
+0x3451 009968 store 2 ,mem_cb_antl_key 
+0x3452 009969 setarg antilost_power_off_cb 
+0x3453 009970 store 2 ,mem_antl_power_off_cb 
+0x3454 009971 setarg antilost_power_starting_cb 
+0x3455 009972 store 2 ,mem_antl_power_starting_cb 
+0x3456 009973 setarg antilost_power_standby_cb 
+0x3457 009974 store 2 ,mem_antl_power_standby_cb 
+0x3458 009975 setarg antilost_led_on_cb 
+0x3459 009976 store 2 ,mem_antl_led_cb_on 
+0x345a 009977 setarg antilost_led_off_cb 
+0x345b 009978 store 2 ,mem_antl_led_cb_off 
+0x345c 009979 setarg antilost_buzzer_on 
+0x345d 009980 store 2 ,mem_antl_buzzer_cb_on 
+0x345e 009981 setarg antilost_buzzer_off 
+0x345f 009982 store 2 ,mem_antl_buzzer_cb_off 
+0x3460 009983 fetch 2 ,mem_ui_state_map 
+0x3461 009984 rtnbit1 ui_state_btn_down 
+0x3462 009985 branch app_enter_hibernate 
+:      009987 antilost_le_before_hibernate:
+0x3463 009988 call antilost_led_buzzer_stop_blink 
+0x3464 009989 branch app_enter_hibernate 
+:      009991 antilost_le_notification:
+0x3465 009992 call le_fifo_check_nearly_full 
+0x3466 009993 nrtn blank 
+0x3467 009994 arg mem_temp_block5 ,rega 
+0x3468 009995 call queue_pop 
+0x3469 009996 nrtn user 
+0x346a 009997 arg mem_temp_block5 ,contr 
+0x346b 009998 branch le_send_notify_from_list 
+:      010000 antilost_power_standby_cb:
+0x346c 010001 fetch 2 ,mem_antl_le_sleep_timeout 
+0x346d 010002 store 2 ,mem_antl_le_sleep_timer 
+0x346e 010003 jam 1 ,mem_antl_key_scan_enable 
+0x346f 010004 branch antilost_fast_adv_start 
+:      010006 antilost_lpm_lock_process:
+0x3470 010007 fetch 1 ,mem_antl_key_state 
+0x3471 010008 beq 1 ,antilost_lpm_ctrl_for_led_buzzer 
+0x3472 010009 fetch 2 ,mem_ui_state_map 
+0x3473 010010 bbit0 ui_state_ble_connected ,antilost_lpm_ctrl_for_led_buzzer 
+0x3474 010011 fetch 1 ,mem_antl_lost_mode 
+0x3475 010012 beq 1 ,app_get_lpm_wake_lock 
+0x3476 010013 fetch 1 ,mem_antl_queue_curr_num 
+0x3477 010014 nbranch app_get_lpm_wake_lock ,blank 
+0x3478 010015 branch app_put_lpm_wake_lock 
+:      010017 antilost_lpm_ctrl_for_led_buzzer:
+0x3479 010018 fetch 1 ,mem_antl_led_state 
+0x347a 010019 fetcht 1 ,mem_antl_buzzer_state 
+0x347b 010020 ior temp ,pdata 
+0x347c 010021 beq 1 ,app_get_lpm_wake_lock 
+0x347d 010022 branch app_put_lpm_wake_lock 
+:      010024 antilost_bb_event_process:
+0x347e 010025 copy regc ,pdata 
+0x347f 010026 beq bt_evt_button_up ,app_event_button_up 
+0x3480 010027 beq bt_evt_button_long_pressed ,app_button_long_pressed 
+0x3481 010028 beq bt_evt_le_connected ,antilost_le_process_conn 
+0x3482 010029 beq bt_evt_le_disconnected ,antilost_le_process_discon 
+0x3483 010030 beq bt_evt_le_parse_conn_papa_update_rsp ,antilost_le_conn_param_update_rsp_recieved 
+0x3484 010031 rtn 
+:      010032 antilost_le_conn_param_update_rsp_recieved:
+0x3485 010033 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x3486 010034 beq ble_signaling_connect_parameter_update_rejected ,antilost_le_conn_param_rejected 
+:      010035 antilost_le_conn_param_accepted:
+0x3487 010036 fetch 2 ,mem_le_new_connslavelatency 
+0x3488 010037 branch antilost_master_nonsupport_latency ,blank 
+:      010038 antilost_le_conn_param_updata_procedure_sucsess:
+0x3489 010039 jam conn_param_updata_procedure_complete ,mem_antl_conn_updata_procedure_state 
+0x348a 010040 jam 60 ,mem_antl_conn_update_timer 
+0x348b 010041 rtn 
+:      010043 antilost_le_conn_param_rejected:
+0x348c 010044 fetch 2 ,mem_le_latency 
+0x348d 010045 branch antilost_conn_param_updata_procedure_faild ,blank 
+:      010046 antilost_conn_param_retransimiting:
+0x348e 010047 jam conn_param_updata_procedure_starting ,mem_antl_conn_updata_procedure_state 
+0x348f 010048 fetcht 2 ,mem_interval_increment 
+0x3490 010049 fetch 2 ,mem_le_interval_min 
+0x3491 010050 iadd temp ,pdata 
+0x3492 010051 store 2 ,mem_le_interval_min 
+0x3493 010052 copy pdata ,rega 
+0x3494 010053 fetch 2 ,mem_le_interval_max 
+0x3495 010054 iadd temp ,pdata 
+0x3496 010055 store 2 ,mem_le_interval_max 
+0x3497 010056 iadd rega ,pdata 
+0x3498 010057 rshift pdata ,temp 
+0x3499 010058 fetch 2 ,mem_antl_le_unnormal_interval_max 
+0x349a 010059 idiv temp 
+0x349b 010060 call wait_div_end 
+0x349c 010061 quotient pdata 
+0x349d 010062 store 2 ,mem_le_latency 
+0x349e 010063 jam 1 ,mem_antl_send_updata_le_param_timer 
+0x349f 010064 rtn 
+:      010065 antilost_conn_param_updata_procedure_faild:
+0x34a0 010066 jam conn_param_updata_procedure_faild ,mem_antl_conn_updata_procedure_state 
+0x34a1 010067 rtn 
+:      010069 antilost_master_nonsupport_latency:
+0x34a2 010070 jam 0 ,mem_lpm_mult 
+0x34a3 010071 jam 0 ,mem_antl_send_updata_le_param_timer 
+0x34a4 010072 fetch 2 ,mem_le_new_conninterval 
+0x34a5 010073 fetcht 2 ,mem_antl_le_unnormal_interval_min 
+0x34a6 010074 isub temp ,null 
+0x34a7 010075 setflag positive ,0 ,rega 
+0x34a8 010076 fetch 2 ,mem_antl_le_unnormal_interval_max 
+0x34a9 010077 fetcht 2 ,mem_le_new_conninterval 
+0x34aa 010078 isub temp ,pdata 
+0x34ab 010079 setflag positive ,1 ,rega 
+0x34ac 010080 compare 0x03 ,rega ,0x03 
+0x34ad 010081 rtn true 
+0x34ae 010082 fetch 8 ,mem_antl_le_unnormal_interval_min 
+0x34af 010083 store 8 ,mem_le_interval_min 
+0x34b0 010084 jam 1 ,mem_antl_send_updata_le_param_timer 
+0x34b1 010085 rtn 
+:      010088 antilost_le_bb_event_timer:
+0x34b2 010090 call app_power_timer 
+0x34b3 010091 call antilost_double_click_timer 
+0x34b4 010092 call antilost_le_fast_adv_timer 
+0x34b5 010093 call antilost_le_sleep_timer 
+0x34b6 010094 call antilost_app_updata_le_param_timer 
+0x34b7 010095 call antilost_conn_update_timer 
+0x34b8 010096 branch antilost_adc_check_timer 
+:      010099 antilost_double_click_timer:
+0x34b9 010100 arg mem_double_click_timer ,regc 
+0x34ba 010101 arg antilost_double_click_timeout ,regb 
+0x34bb 010102 branch timer_single_step 
+:      010103 antilost_double_click_timeout:
+0x34bc 010104 jam 0 ,mem_butten_click_cnt 
+0x34bd 010105 rtn 
+:      010106 antilost_le_fast_adv_timer:
+0x34be 010107 arg mem_antl_fast_adv_timer ,regc 
+0x34bf 010108 arg antilost_le_fast_adv_timeout ,regb 
+0x34c0 010109 branch timer_single_step_2b 
+:      010110 antilost_le_fast_adv_timeout:
+0x34c1 010111 arg mem_antl_slow_adv_led_style ,regc 
+0x34c2 010112 arg mem_antl_slow_adv_lpm_interval ,regb 
+0x34c3 010113 branch antilost_adv_start_common 
+:      010116 antilost_conn_update_timer:
+0x34c4 010117 arg mem_antl_conn_update_timer ,regc 
+0x34c5 010118 arg antilost_conn_update_timer_time_out ,regb 
+0x34c6 010119 branch timer_single_step 
+:      010121 antilost_conn_update_timer_time_out:
+0x34c7 010122 fetch 2 ,mem_le_latency 
+0x34c8 010123 store 1 ,mem_lpm_mult 
+0x34c9 010124 rtn 
+:      010125 antilost_app_updata_le_param_timer:
+0x34ca 010126 arg mem_antl_send_updata_le_param_timer ,regc 
+0x34cb 010127 arg antilost_app_updata_le_param_timeout ,regb 
+0x34cc 010128 branch timer_single_step 
+:      010129 antilost_app_updata_le_param_timeout:
+0x34cd 010130 fetch 1 ,mem_le_state 
+0x34ce 010131 compare 0 ,pdata ,0x60 
+0x34cf 010132 nbranch antilost_wait_for_updata_param_instant_expire ,true 
+0x34d0 010133 jam conn_param_updata_procedure_starting ,mem_antl_conn_updata_procedure_state 
+0x34d1 010134 call app_lpm_mult_enable 
+0x34d2 010135 branch le_l2cap_tx_update_req 
+:      010136 antilost_wait_for_updata_param_instant_expire:
+0x34d3 010137 jam 1 ,mem_antl_send_updata_le_param_timer 
+0x34d4 010138 rtn 
+:      010140 antilost_le_sleep_timer:
+0x34d5 010141 arg mem_antl_le_sleep_timer ,regc 
+0x34d6 010142 arg antilost_le_sleep_timer_timeout ,regb 
+0x34d7 010143 branch timer_single_step_2b 
+:      010146 antilost_le_sleep_timer_timeout:
+0x34d8 010147 branch app_button_long_pressed 
+:      010149 antilost_adc_check_timer:
+0x34d9 010152 arg mem_adc_timer ,regc 
+0x34da 010153 arg antilost_adc_check_timer_timeout ,regb 
+0x34db 010154 branch timer_single_step_2b 
+:      010155 antilost_adc_check_timer_timeout:
+0x34dc 010156 fetch 2 ,mem_adc_timeout 
+0x34dd 010157 store 2 ,mem_adc_timer 
+0x34de 010158 branch antilost_battery_process 
+:      010161 antilost_le_process_conn:
+0x34df 010162 fetch 2 ,mem_adc_timeout 
+0x34e0 010163 store 2 ,mem_adc_timer 
+0x34e1 010164 setarg 0 
+0x34e2 010165 store 2 ,mem_antl_fast_adv_timer 
+0x34e3 010166 store 2 ,mem_antl_le_sleep_timer 
+0x34e4 010167 call antilost_alert_off 
+0x34e5 010168 call antilost_led_buzzer_stop_blink 
+0x34e6 010169 jam 0 ,mem_lpm_mult 
+0x34e7 010170 branch app_ble_stop_adv 
+:      010173 antilost_le_process_discon:
+0x34e8 010176 setarg 0 
+0x34e9 010177 store 4 ,mem_adc_timer 
+0x34ea 010178 store 3 ,mem_antl_conn_updata_procedure_state 
+0x34eb 010179 store 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x34ec 010181 jam 1 ,mem_alarm_config_notfy_cnt 
+0x34ed 010182 fetch 2 ,mem_antl_le_sleep_timeout 
+0x34ee 010183 store 2 ,mem_antl_le_sleep_timer 
+0x34ef 010184 call queue_init 
+0x34f0 010185 fetch 1 ,mem_antl_power_state 
+0x34f1 010186 rtneq power_off 
+0x34f2 010187 call antilost_fast_adv_start 
+0x34f3 010188 branch antilost_on_off_alarm_after_disconn 
+:      010191 antilost_le_conn_process:
+0x34f4 010193 branch antilost_key_process 
+:      010195 antilost_idle_process:
+0x34f5 010197 fetch 1 ,mem_antl_power_state 
+0x34f6 010198 rtnne power_standby 
+0x34f7 010199 branch antilost_key_process 
+:      010204 antilost_power_starting_cb:
+0x34f8 010205 arg mem_antl_power_starting_buzzer_style ,regc 
+0x34f9 010206 call antilost_buzzer_configuration 
+0x34fa 010207 arg mem_antl_power_starting_led_style ,regc 
+:      010208 antilost_power_common:
+0x34fb 010209 branch antilost_led_configuration 
+:      010211 antilost_power_off_cb:
+0x34fc 010212 jam off ,mem_le_adv_enable 
+0x34fd 010213 arg mem_antl_power_off_buzzer_style ,regc 
+0x34fe 010214 call antilost_buzzer_configuration 
+0x34ff 010215 arg mem_antl_power_off_led_style ,regc 
+0x3500 010216 branch antilost_power_common 
+:      010218 antilost_le_receive_data_process:
+0x3501 010219 fetch 1 ,mem_le_att_opcode 
+0x3502 010220 beq attop_write_request ,antilost_le_parse_att_write_request 
+0x3503 010221 rtn 
+:      010222 antilost_le_parse_att_write_request:
+0x3504 010223 fetch 2 ,mem_le_att_handle 
+0x3505 010225 beq new_spec_write_handle ,antilost_cmd_parse_for_application 
+0x3506 010226 beq new_spec_notification_enable_handle ,antilost_notify_alarm_config_first_time 
+0x3507 010227 rtn 
+:      010232 antilost_key_process:
+0x3508 010233 fetch 1 ,mem_antl_key_scan_enable 
+0x3509 010234 rtn blank 
+0x350a 010235 branch keyscan_key_process 
+:      010239 antilost_key_up_down:
+0x350b 010240 copy rega ,pdata 
+0x350c 010241 branch antilost_key_is_up ,blank 
+:      010242 antilost_key_is_down:
+0x350d 010243 copy queue ,pdata 
+0x350e 010244 beq 0 ,antilost_key0_down 
+0x350f 010245 rtn 
+:      010246 antilost_key_is_up:
+0x3510 010247 copy queue ,pdata 
+0x3511 010248 beq 0 ,antilost_key0_up 
+0x3512 010249 rtn 
+:      010251 antilost_key0_down:
+0x3513 010252 jam 1 ,mem_antl_key_state 
+0x3514 010253 arg mem_antl_key_buzzer_style ,regc 
+0x3515 010254 call antilost_buzzer_configuration 
+0x3516 010255 arg mem_antl_key_led_style ,regc 
+0x3517 010256 call antilost_led_configuration 
+0x3518 010257 fetch 2 ,mem_ui_state_map 
+0x3519 010258 bbit0 ui_state_ble_connected ,antilost_butten_down_while_disconn 
+0x351a 010259 branch antilost_butten_down_after_conn 
+:      010261 antilost_key0_up:
+0x351b 010262 jam 0 ,mem_antl_key_state 
+0x351c 010263 branch antilost_double_click_timer_init 
+:      010267 antilost_double_click_timer_init:
+0x351d 010268 fetch 1 ,mem_butten_click_cnt 
+0x351e 010269 rtnne 1 
+0x351f 010270 jam 5 ,mem_double_click_timer 
+0x3520 010271 rtn 
+:      010273 antilost_butten_down_after_conn:
+0x3521 010274 fetch 1 ,mem_butten_click_cnt 
+0x3522 010275 pincrease 1 
+0x3523 010276 store 1 ,mem_butten_click_cnt 
+0x3524 010277 beq 1 ,antilost_click_once 
+0x3525 010278 beq 2 ,antilost_click_twice 
+0x3526 010279 rtn 
+:      010280 antilost_click_once:
+0x3527 010281 call antilost_alert_off 
+0x3528 010282 jam opcode1_butten_click_once ,mem_antl_key0_press + 5 
+0x3529 010283 arg mem_antl_key0_press ,regc 
+0x352a 010284 branch antilost_prepare_data_and_send 
+:      010285 antilost_click_twice:
+0x352b 010286 jam 0 ,mem_butten_click_cnt 
+0x352c 010287 jam opcode2_butten_double_click ,mem_antl_key0_press + 5 
+0x352d 010288 arg mem_antl_key0_press ,regc 
+0x352e 010289 call antilost_prepare_data_and_send 
+0x352f 010290 fetch 1 ,mem_antl_lost_mode 
+0x3530 010291 beq 1 ,antilost_alert_on 
+0x3531 010292 rtn 
+:      010294 antilost_butten_down_while_disconn:
+0x3532 010295 fetch 2 ,mem_antl_le_sleep_timeout 
+0x3533 010296 store 2 ,mem_antl_le_sleep_timer 
+0x3534 010297 call antilost_alert_off 
+0x3535 010298 branch antilost_fast_adv_start 
+:      010301 antilost_cmd_parse_for_application:
+0x3536 010302 bpatch patch19_5 ,mem_patch19 
+0x3537 010303 call le_app_receive_data 
+0x3538 010304 ifetch 1 ,rega 
+0x3539 010305 beq opcode3_antl_start_alram ,antilost_on_of_alram 
+0x353a 010306 beq opcode7_antl_config_alram ,antilost_configuration_for_alram 
+0x353b 010307 rtn 
+:      010309 antilost_on_of_alram:
+0x353c 010310 fetch 1 ,mem_antl_lost_mode 
+0x353d 010311 beq anti_le_alarm_off ,antilost_alert_on 
+0x353e 010312 beq anti_le_alarm_on ,antilost_alert_off 
+0x353f 010313 rtn 
+:      010315 antilost_configuration_for_alram:
+0x3540 010316 ifetch 1 ,regb 
+0x3541 010317 beq 1 ,antilost_set_start_alarm_after_disconn 
+0x3542 010318 beq 0 ,antilost_set_no_alarm_after_disconn 
+0x3543 010319 rtn 
+:      010326 antilost_prepare_data_and_send:
+0x3544 010327 bpatch patch19_6 ,mem_patch19 
+0x3545 010328 fetch 1 ,mem_client_characteristic_configuration_descriptor 
+0x3546 010329 isolate1 notification_enable_bit ,pdata 
+0x3547 010330 nrtn true 
+0x3548 010331 add regc ,6 ,contr 
+0x3549 010332 ifetch 2 ,contr 
+0x354a 010333 byteswap pdata ,pdata 
+0x354b 010334 add pdata ,5 ,loopcnt 
+0x354c 010335 add regc ,3 ,contr 
+0x354d 010336 call calc_check_sum_start 
+0x354e 010337 istore 1 ,contr 
+0x354f 010338 copy regc ,rega 
+0x3550 010339 branch queue_push 
+:      010345 antilost_alert_on:
+0x3551 010346 fetch 1 ,mem_antl_power_state 
+0x3552 010347 rtn blank 
+0x3553 010348 jam 1 ,mem_antl_lost_mode 
+0x3554 010349 arg mem_antl_alert_buzzer_stlye ,regc 
+0x3555 010350 call antilost_buzzer_configuration 
+0x3556 010351 arg mem_antl_alert_led_stlye ,regc 
+0x3557 010352 call antilost_led_configuration 
+0x3558 010353 jam opcode4_current_alarm_state ,mem_antl_key0_release + 5 
+0x3559 010354 jam 1 ,mem_antl_key0_release + 8 
+0x355a 010355 arg mem_antl_key0_release ,regc 
+0x355b 010356 branch antilost_prepare_data_and_send 
+:      010357 antilost_alert_off:
+0x355c 010358 fetch 1 ,mem_antl_lost_mode 
+0x355d 010359 rtn blank 
+0x355e 010360 jam 0 ,mem_antl_lost_mode 
+0x355f 010361 call antilost_led_buzzer_stop_blink 
+0x3560 010362 jam opcode4_current_alarm_state ,mem_antl_key0_release + 5 
+0x3561 010363 jam 0 ,mem_antl_key0_release + 8 
+0x3562 010364 arg mem_antl_key0_release ,regc 
+0x3563 010365 branch antilost_prepare_data_and_send 
+:      010367 antilost_set_start_alarm_after_disconn:
+0x3564 010368 jam 1 ,mem_alarm_config 
+0x3565 010369 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+0x3566 010370 jam 1 ,mem_antl_key0_release + 8 
+0x3567 010371 arg mem_antl_key0_release ,regc 
+0x3568 010372 branch antilost_prepare_data_and_send 
+:      010373 antilost_set_no_alarm_after_disconn:
+0x3569 010374 jam 0 ,mem_alarm_config 
+0x356a 010375 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+0x356b 010376 jam 0 ,mem_antl_key0_release + 8 
+0x356c 010377 arg mem_antl_key0_release ,regc 
+0x356d 010378 branch antilost_prepare_data_and_send 
+:      010379 antilost_on_off_alarm_after_disconn:
+0x356e 010380 fetch 1 ,mem_alarm_config 
+0x356f 010381 rtn blank 
+0x3570 010382 branch antilost_alert_on 
+:      010384 antilost_notify_alarm_config_first_time:
+0x3571 010385 ifetch 2 ,rega 
+0x3572 010386 store 2 ,mem_client_characteristic_configuration_descriptor 
+0x3573 010387 isolate1 notification_enable_bit ,pdata 
+0x3574 010388 nrtn true 
+0x3575 010389 fetch 1 ,mem_alarm_config_notfy_cnt 
+0x3576 010390 rtn blank 
+0x3577 010391 jam 0 ,mem_alarm_config_notfy_cnt 
+0x3578 010392 fetch 8 ,mem_antl_le_interval_min 
+0x3579 010393 store 8 ,mem_le_interval_min 
+0x357a 010394 jam 2 ,mem_antl_send_updata_le_param_timer 
+0x357b 010395 call antilost_battery_process 
+0x357c 010396 call antilost_battery_calculate_end 
+0x357d 010397 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+0x357e 010398 fetch 1 ,mem_alarm_config 
+0x357f 010399 store 1 ,mem_antl_key0_release + 8 
+0x3580 010400 arg mem_antl_key0_release ,regc 
+0x3581 010401 branch antilost_prepare_data_and_send 
+:      010405 antilost_buzzer_configuration:
+0x3582 010406 arg 1 ,rega 
+0x3583 010407 branch antilost_configuration_common 
+:      010408 antilost_led_configuration:
+0x3584 010409 arg 0 ,rega 
+:      010410 antilost_configuration_common:
+0x3585 010411 branch antilost_led_buzzer_style_configuration 
+:      010413 antilost_led_buzzer_stop_blink:
+0x3586 010414 arg 0 ,rega 
+0x3587 010415 call ui_led_blink_stop_global 
+0x3588 010416 arg 1 ,rega 
+0x3589 010417 call ui_led_blink_stop_global 
+0x358a 010418 fetch 1 ,mem_buzzer_pwm_conf 
+0x358b 010419 branch pwm_disable 
+:      010421 antilost_led_buzzer_style_configuration:
+0x358c 010422 call calc_curr_struct_prt 
+0x358d 010423 arg 7 ,loopcnt 
+0x358e 010424 branch ui_led_set_style_global + 2 
+:      010428 antilost_fast_adv_start:
+0x358f 010429 arg mem_antl_fast_adv_led_style ,regc 
+0x3590 010430 arg mem_antl_lpm_interval ,regb 
+:      010431 antilost_adv_start_common:
+0x3591 010432 call antilost_adv_interval_lpm_interval_set 
+0x3592 010433 call antilost_led_configuration 
+0x3593 010434 fetch 2 ,mem_antl_fast_adv_timeout 
+0x3594 010435 store 2 ,mem_antl_fast_adv_timer 
+0x3595 010436 branch app_ble_start_adv 
+:      010438 antilost_adv_interval_lpm_interval_set:
+0x3596 010439 ifetch 2 ,regb 
+0x3597 010440 store 2 ,mem_lpm_interval 
+0x3598 010441 ifetch 2 ,contr 
+0x3599 010442 store 2 ,mem_le_adv_interval 
+0x359a 010443 rtn 
+:      010445 antilost_buzzer_pwm_init:
+0x359b 010446 arg 0 ,rega 
+0x359c 010447 call pwm_init 
+0x359d 010448 fetch 6 ,mem_buzzer_pwm_conf 
+0x359e 010449 store 6 ,mem_pdatatemp 
+0x359f 010450 call pwm_out_set 
+0x35a0 010451 fetch 1 ,mem_buzzer_pwm_conf 
+0x35a1 010452 branch pwm_disable 
+:      010454 antilost_led_on_cb:
+0x35a2 010455 jam 1 ,mem_antl_led_state 
+0x35a3 010456 rtn 
+:      010457 antilost_led_off_cb:
+0x35a4 010458 jam 0 ,mem_antl_led_state 
+0x35a5 010459 rtn 
+:      010463 antilost_buzzer_off:
+0x35a6 010464 jam 0 ,mem_antl_buzzer_state 
+0x35a7 010465 fetch 1 ,mem_buzzer_pwm_conf 
+0x35a8 010466 branch pwm_disable 
+:      010468 antilost_buzzer_on:
+0x35a9 010469 jam 1 ,mem_antl_buzzer_state 
+0x35aa 010470 fetch 6 ,mem_buzzer_pwm_conf 
+0x35ab 010471 store 6 ,mem_pdatatemp 
+0x35ac 010472 branch pwm_out_set 
+:      010476 antilost_adc_init:
+0x35ad 010477 jam 0 ,mem_adc_config_flag 
+0x35ae 010478 branch adc_init_data 
+:      010480 antilost_battery_process:
+0x35af 010481 call adc_set_mode 
+0x35b0 010482 call vdd_calculate_by_mode 
+0x35b1 010483 store 2 ,mem_battery_current_voltage 
+0x35b2 010484 arg mem_battery_calculate_set ,rega 
+0x35b3 010485 call adc_bat_percent_lowpower_out 
+0x35b4 010486 store 1 ,mem_voltage_remain_percent 
+0x35b5 010487 beq 0 ,antilost_low_battery 
+0x35b6 010488 sub pdata ,0x64 ,null 
+0x35b7 010489 nbranch antilost_full_battery ,positive 
+0x35b8 010490 store 1 ,mem_antl_key0_release + 8 
+:      010491 antilost_battery_calculate_end:
+0x35b9 010492 jam opcode5_batter_information ,mem_antl_key0_release + 5 
+0x35ba 010493 arg mem_antl_key0_release ,regc 
+0x35bb 010494 branch antilost_prepare_data_and_send 
+:      010495 antilost_full_battery:
+0x35bc 010496 jam 100 ,mem_antl_key0_release + 8 
+0x35bd 010497 branch antilost_battery_calculate_end 
+:      010499 antilost_low_battery:
+0x35be 010500 branch app_button_long_pressed 
+:      010504 car_init:
+0x35bf 010505 rtn wake 
+0x35c0 010506 hfetch 1 ,core_gpio_sel1 
+0x35c1 010507 and_into 0xf0 ,pdata 
+0x35c2 010508 hstore 1 ,core_gpio_sel1 
+0x35c3 010509 setarg car_le_before_hibernate 
+0x35c4 010510 store 2 ,mem_cb_before_hibernate 
+0x35c5 010512 setarg car_le_process_lpm_before 
+0x35c6 010513 store 2 ,mem_cb_before_lpm 
+0x35c7 010515 setarg app_enter_hibernate 
+0x35c8 010516 store 2 ,mem_cb_discovry_timeout 
+0x35c9 010518 setarg car_scale_process_idle 
+0x35ca 010519 store 2 ,mem_cb_idle_process 
+0x35cb 010521 setarg car_scale_process_bb_event 
+0x35cc 010522 store 2 ,mem_cb_bb_event_process 
+0x35cd 010524 setarg app_get_lpm_wake_lock 
+0x35ce 010525 store 2 ,mem_cb_check_wakelock 
+0x35cf 010527 setarg car_le_receive_data 
+0x35d0 010528 store 2 ,mem_cb_att_write 
+0x35d1 010530 setarg car_le_bb_event_timer 
+0x35d2 010531 store 2 ,mem_cb_event_timer 
+0x35d3 010533 call g24_head_ptr2regc 
+0x35d4 010534 setarg car_24g_receive_data 
+0x35d5 010535 add regc ,offset_24g_cb_rxdata_type1 ,contw 
+0x35d6 010536 istore 2 ,contw 
+0x35d7 010538 setarg car_power_off_signal 
+0x35d8 010539 store 2 ,mem_remote_car_power_off_cb 
+0x35d9 010541 setarg car_soft_switch_power_on_signal 
+0x35da 010542 store 2 ,mem_remote_car_power_standby_cb 
+0x35db 010544 bpatch patch19_7 ,mem_patch19 
+0x35dc 010545 call car_init_environment 
+0x35dd 010546 call queue_init 
+0x35de 010547 jam 2 ,mem_lpm_mult 
+0x35df 010548 jam power_on ,mem_car_24g_received_pac 
+0x35e0 010549 fetch 1 ,mem_car_config_soft_switch_enable 
+0x35e1 010550 store 1 ,mem_car_hard_soft_switch 
+0x35e2 010551 beq hard_switch ,car_hard_switch_power_on_signal 
+0x35e3 010552 fetch 1 ,mem_car_config_soft_switch_gpio 
+0x35e4 010553 store 1 ,mem_ui_button_gpio 
+0x35e5 010554 jam off ,mem_le_adv_enable 
+:      010555 car_soft_switch_power_on_init:
+0x35e6 010556 call car_ui_led_init 
+0x35e7 010557 call ui_button_init 
+0x35e8 010558 call ui_button_polling 
+0x35e9 010559 jam power_starting ,mem_car_power_state 
+0x35ea 010560 fetch 2 ,mem_ui_state_map 
+0x35eb 010561 rtnbit1 ui_state_btn_down 
+0x35ec 010562 branch app_enter_hibernate 
+:      010564 car_power_off_signal:
+0x35ed 010565 branch car_ui_led_init 
+:      010567 car_hard_switch_power_on_signal:
+0x35ee 010568 jam power_standby ,mem_car_power_state 
+:      010569 car_soft_switch_power_on_signal:
+0x35ef 010570 jam on ,mem_le_adv_enable 
+0x35f0 010571 call car_ui_led_init 
+0x35f1 010572 arg 0 ,rega 
+0x35f2 010573 call ui_led_blink_start_global 
+0x35f3 010575 setarg fast_adv_interval_value_car 
+0x35f4 010576 call shutter_ble_adv_interval_set 
+:      010577 car_le_modified_name_adv:
+0x35f5 010578 arg mem_le_name + 7 ,contw 
+0x35f6 010579 fetch 1 ,mem_le_lap 
+:      010580 car_name_loop:
+0x35f7 010581 and pdata ,0xF0 ,temp 
+0x35f8 010582 rshift4 temp ,temp 
+0x35f9 010583 call car_hex_to_ascii 
+0x35fa 010584 istoret 1 ,contw 
+0x35fb 010585 and pdata ,0x0F ,temp 
+0x35fc 010586 call car_hex_to_ascii 
+0x35fd 010587 istoret 1 ,contw 
+0x35fe 010588 call le_modified_name_att_list 
+0x35ff 010589 fetcht 1 ,mem_le_name_len 
+0x3600 010590 copy temp ,loopcnt 
+0x3601 010591 arg mem_le_adv_data + 2 ,contw 
+0x3602 010592 arg mem_le_name ,contr 
+0x3603 010593 call memcpy 
+:      010594 car_le_modified_name_scan:
+0x3604 010595 fetcht 1 ,mem_le_name_len 
+0x3605 010596 copy temp ,loopcnt 
+0x3606 010597 arg mem_le_scan_data + 2 ,contw 
+0x3607 010598 arg mem_le_name ,contr 
+0x3608 010599 branch memcpy 
+:      010600 car_hex_to_ascii:
+0x3609 010601 sub temp ,9 ,null 
+0x360a 010602 branch car_hex_num ,positive 
+0x360b 010603 add temp ,55 ,temp 
+0x360c 010604 rtn 
+:      010605 car_hex_num:
+0x360d 010606 add temp ,48 ,temp 
+0x360e 010607 rtn 
+:      010609 car_ui_led_init:
+0x360f 010610 fetch 1 ,mem_car_config_blood_led1_gpio 
+0x3610 010611 bne invalid_pin_num ,car_blood_led_gpio_set 
+:      010612 car_ui_led_init_1:
+0x3611 010613 fetch 1 ,mem_car_config_pairing_led_gpio 
+0x3612 010614 bne invalid_pin_num ,car_pairing_led_gpio_set 
+:      010615 car_ui_led_init_2:
+0x3613 010616 fetch 1 ,mem_car_config_low_voltage_led_gpio 
+0x3614 010617 bne invalid_pin_num ,car_low_voltage_led_gpio_set 
+:      010618 car_ui_led_init_3:
+0x3615 010619 fetch 1 ,mem_car_led_num 
+0x3616 010620 copy pdata ,loopcnt 
+0x3617 010621 setarg mem_car_led_map 
+0x3618 010622 copy pdata ,rega 
+:      010623 car_in_lp1:
+0x3619 010624 copy rega ,contr 
+0x361a 010625 ifetch 1 ,contr 
+0x361b 010626 copy contr ,rega 
+0x361c 010627 beq invalid_pin_num ,car_in_lp1_end 
+0x361d 010628 copy pdata ,temp 
+0x361e 010629 call gpio_config_output 
+:      010630 car_in_lp1_end:
+0x361f 010631 loop car_in_lp1 
+:      010632 car_ui_led_init_end:
+0x3620 010633 rtn 
+:      010634 car_blood_led_gpio_set:
+0x3621 010635 fetch 8 ,mem_car_config_blood_led1_gpio 
+0x3622 010636 store 8 ,mem_car_led_map + 2 
+0x3623 010637 branch car_ui_led_init_1 
+:      010638 car_pairing_led_gpio_set:
+0x3624 010639 store 1 ,mem_car_led_map 
+0x3625 010640 branch car_ui_led_init_2 
+:      010641 car_low_voltage_led_gpio_set:
+0x3626 010642 store 1 ,mem_car_led_map + 1 
+0x3627 010643 branch car_ui_led_init_3 
+:      010646 car_init_environment:
+0x3628 010647 arg 0 ,rega 
+0x3629 010648 call pwm_init 
+0x362a 010649 call car_ir_rx_init 
+0x362b 010650 call g24_receive_process_init 
+0x362c 010651 branch car_init_adc_hvin 
+:      010653 car_init_adc_hvin:
+0x362d 010654 jam 100 ,mem_car_notify_vdd_value_last 
+0x362e 010655 fetch 1 ,mem_car_config_low_voltage_led_gpio 
+0x362f 010656 store 1 ,mem_car_style2_struct_led_gpio 
+0x3630 010657 branch adc_init_data 
+:      010659 car_le_before_hibernate:
+0x3631 010660 call gpio_set_before_lpm_common 
+0x3632 010661 branch keyscan_process_lpm_before 
+:      010663 car_le_process_lpm_before:
+0x3633 010664 branch keyscan_process_lpm_before 
+:      010666 car_key_scan_process:
+0x3634 010669 branch keyscan_key_process 
+:      010671 car_scale_process_idle:
+0x3635 010672 call car_le_send_packet 
+0x3636 010673 call car_ir_receive_process 
+0x3637 010674 call car_g24_status_process 
+0x3638 010675 branch car_key_scan_process 
+:      010677 car_g24_status_process:
+0x3639 010678 fetch 2 ,mem_ui_state_map 
+0x363a 010679 rtnbit1 ui_state_ble_connected 
+0x363b 010680 fetch 1 ,mem_car_24g_received_pac 
+0x363c 010681 beq work_paired ,car_g24_connected_event 
+0x363d 010682 rtn 
+:      010683 car_g24_connected_event:
+0x363e 010684 fetch 1 ,mem_car_24g_status 
+0x363f 010685 rtneq work_paired 
+0x3640 010686 jam work_paired ,mem_car_24g_status 
+0x3641 010687 branch car_g24_connected 
+:      010689 car_le_send_packet:
+0x3642 010690 fetch 2 ,mem_ui_state_map 
+0x3643 010691 rtnbit0 ui_state_ble_connected 
+0x3644 010692 call le_fifo_check_nearly_full 
+0x3645 010693 nrtn blank 
+0x3646 010694 arg mem_car_pop_queue_buff ,rega 
+0x3647 010695 call queue_pop 
+0x3648 010696 nrtn user 
+0x3649 010697 arg mem_car_pop_queue_buff ,contr 
+0x364a 010698 branch le_send_notify_from_list 
+:      010700 car_scale_process_bb_event:
+0x364b 010701 copy regc ,pdata 
+0x364c 010702 beq bt_evt_button_up ,app_event_button_up 
+0x364d 010703 beq bt_evt_button_long_pressed ,app_button_long_pressed 
+0x364e 010704 beq bt_evt_le_connected ,car_scale_event_le_conn 
+0x364f 010705 beq bt_evt_le_disconnected ,car_scale_event_le_discon 
+0x3650 010706 rtn 
+:      010708 car_scale_event_le_conn:
+0x3651 010709 setarg disable_24g 
+0x3652 010710 call g24_store_mem_24g_mode 
+0x3653 010711 branch car_scale_process_conn 
+:      010712 car_g24_connected:
+0x3654 010713 fetch 2 ,mem_car_24g_no_data_timeout_count 
+0x3655 010714 store 2 ,mem_car_24g_no_data_timeout_timer 
+:      010715 car_scale_process_conn:
+0x3656 010716 jam 0x14 ,mem_car_notify_vdd_timer 
+0x3657 010717 jam 0 ,mem_lpm_mode 
+0x3658 010718 call app_ble_stop_adv 
+0x3659 010719 call app_lpm_mult_enable 
+0x365a 010720 fetch 1 ,mem_car_config_pairing_led_conn_status 
+0x365b 010721 beq 0x01 ,car_pairing_led_conn_status_setting 
+:      010722 car_scale_process_conn_next:
+0x365c 010723 arg 0 ,rega 
+0x365d 010724 branch ui_led_on_global 
+:      010725 car_pairing_led_conn_status_setting:
+0x365e 010726 arg 0 ,rega 
+0x365f 010727 branch ui_led_blink_stop_global 
+:      010729 car_scale_event_le_discon:
+0x3660 010730 setarg rx_24g 
+0x3661 010731 call g24_store_mem_24g_mode 
+:      010732 car_g24_disconnect:
+0x3662 010733 setarg 0 
+0x3663 010734 store 5 ,mem_car_led_control 
+0x3664 010735 setarg 4 
+0x3665 010736 call pwm_disable 
+0x3666 010737 setarg 5 
+0x3667 010738 call pwm_disable 
+0x3668 010739 setarg 20 
+0x3669 010740 call pwm_disable 
+0x366a 010741 setarg 21 
+0x366b 010742 call pwm_disable 
+0x366c 010743 setarg 22 
+0x366d 010744 call pwm_disable 
+0x366e 010745 setarg 7 
+0x366f 010746 call pwm_disable 
+0x3670 010747 call queue_init 
+0x3671 010748 jam 10 ,mem_motor1_speed 
+0x3672 010749 jam 10 ,mem_motor2_speed 
+0x3673 010750 jam 10 ,mem_motor3_speed 
+0x3674 010752 jam 2 ,mem_lpm_mult 
+0x3675 010753 arg 0 ,rega 
+0x3676 010754 call ui_led_blink_start_global 
+0x3677 010756 setarg fast_adv_interval_value_car 
+0x3678 010757 call shutter_ble_adv_interval_set 
+0x3679 010758 branch app_ble_start_adv 
+:      010760 car_le_bb_event_timer:
+0x367a 010762 call car_moto1_blank_data_timer 
+0x367b 010763 call car_moto2_blank_data_timer 
+0x367c 010764 call car_moto3_blank_data_timer 
+0x367d 010765 call app_power_timer 
+0x367e 010766 call car_led_control_timer 
+0x367f 010767 call car_notify_vdd_timer 
+0x3680 010768 call car_24g_no_data_timeout_timer 
+0x3681 010769 call car_ir_breakdown_timer 
+0x3682 010770 branch car_attack_shake_timer 
+:      010772 car_ir_breakdown_timer:
+0x3683 010773 arg mem_car_ir_breakdown_check_timer ,regc 
+0x3684 010774 arg car_ir_breakdown_timeout ,regb 
+0x3685 010775 branch timer_single_step 
+:      010776 car_ir_breakdown_timeout:
+0x3686 010777 call car_ir_gpio_get_status 
+0x3687 010778 nrtn true 
+0x3688 010779 jam 1 ,mem_car_ir_breakdown_flag 
+0x3689 010780 rtn 
+:      010782 car_24g_no_data_timeout_timer:
+0x368a 010783 arg mem_car_24g_no_data_timeout_timer ,regc 
+0x368b 010784 arg car_24g_no_data_timer_timeout ,regb 
+0x368c 010785 branch timer_single_step_2b 
+:      010786 car_24g_no_data_timer_timeout:
+0x368d 010787 jam work_search ,mem_car_24g_status 
+0x368e 010788 branch car_g24_disconnect 
+:      010790 car_attack_shake_timer:
+0x368f 010791 arg mem_car_attack_shake_timer ,regc 
+0x3690 010792 arg car_attack_shake ,regb 
+0x3691 010793 branch timer_single_step 
+:      010794 car_attack_shake:
+0x3692 010795 fetch 1 ,mem_car_attack_shake_flag 
+0x3693 010796 branch car_attack_shake_stop ,blank 
+0x3694 010797 jam 2 ,mem_car_attack_shake_timer 
+0x3695 010798 jam 0 ,mem_car_attack_shake_flag 
+0x3696 010799 setarg 0x0a02 
+0x3697 010800 store 2 ,mem_le_receive_payload 
+0x3698 010801 fetch 1 ,mem_car_config_device_select 
+0x3699 010802 beq device_battle_tank ,car_attack_shake_front_battle_tank 
+:      010803 car_attack_shake_front_battle_car:
+0x369a 010804 branch car_motor_control 
+:      010805 car_attack_shake_front_battle_tank:
+0x369b 010806 setarg 0x0a02 
+0x369c 010807 store 2 ,mem_le_receive_payload + 2 
+0x369d 010808 branch car_motor_control 
+:      010809 car_attack_shake_stop:
+0x369e 010810 setarg 0 
+0x369f 010811 store 4 ,mem_le_receive_payload 
+0x36a0 010812 branch car_motor_control 
+:      010814 car_notify_vdd_timer:
+0x36a1 010815 fetch 1 ,mem_car_config_bat_notify_enable 
+0x36a2 010816 rtn blank 
+0x36a3 010817 fetch 2 ,mem_ui_state_map 
+0x36a4 010818 bbit0 ui_state_ble_connected ,car_low_bat_led_off 
+0x36a5 010819 arg mem_car_notify_vdd_timer ,regc 
+0x36a6 010820 arg car_notify_vdd ,regb 
+0x36a7 010821 branch timer_single_step 
+:      010822 car_notify_vdd:
+0x36a8 010823 fetch 1 ,mem_car_notify_vdd_count 
+0x36a9 010824 store 1 ,mem_car_notify_vdd_timer 
+0x36aa 010825 fetch 1 ,mem_car_working_flag 
+0x36ab 010826 nrtn blank 
+:      010827 car_read_hvin:
+0x36ac 010828 call adc_set_mode 
+0x36ad 010829 call vdd_calculate_by_mode 
+0x36ae 010830 store 2 ,mem_vdd_now_vol 
+0x36af 010831 arg mem_vdd_calculate_set ,rega 
+0x36b0 010832 call adc_bat_percent_lowpower_out 
+0x36b1 010833 fetcht 1 ,mem_car_notify_vdd_value_last 
+0x36b2 010834 isub temp ,null 
+0x36b3 010835 branch car_notify_vdd_next2 ,positive 
+0x36b4 010836 store 1 ,mem_car_notify_vdd_value_last 
+0x36b5 010837 copy pdata ,temp 
+:      010838 car_notify_vdd_next2:
+0x36b6 010839 storet 1 ,mem_car_notify_vdd_percent 
+0x36b7 010840 fetch 1 ,mem_car_config_low_voltage_percent 
+0x36b8 010841 isub temp ,null 
+0x36b9 010842 call car_enter_low_bat ,positive 
+0x36ba 010843 storet 1 ,mem_notify_bat_payload 
+0x36bb 010844 arg 6 ,loopcnt 
+0x36bc 010845 arg mem_notify_bat_head ,contr 
+0x36bd 010846 call calc_check_sum_start 
+0x36be 010847 store 1 ,mem_notify_bat_check_sum 
+0x36bf 010848 arg mem_notify_bat_packet ,rega 
+0x36c0 010849 branch queue_push 
+:      010850 car_enter_low_bat:
+0x36c1 010851 fetch 1 ,mem_low_bat_flag 
+0x36c2 010852 nrtn blank 
+0x36c3 010853 jam 1 ,mem_low_bat_flag 
+0x36c4 010854 arg 1 ,rega 
+0x36c5 010855 branch ui_led_blink_start_global 
+:      010856 car_low_bat_led_off:
+0x36c6 010857 arg 1 ,rega 
+0x36c7 010858 branch ui_led_blink_stop_global 
+:      010860 car_led_control_timer:
+0x36c8 010861 arg mem_car_led_control_timer ,regc 
+0x36c9 010862 arg car_led_control ,regb 
+0x36ca 010863 branch timer_single_step 
+:      010864 car_led_control:
+0x36cb 010865 jam 5 ,mem_car_led_control_timer 
+0x36cc 010866 jam 0 ,mem_car_led_no 
+0x36cd 010867 fetch 1 ,mem_car_led_blink_status 
+0x36ce 010868 beq led_on ,car_led_control_blink_off 
+0x36cf 010869 beq led_off ,car_led_control_blink_on 
+:      010870 car_led_control_set:
+0x36d0 010871 arg mem_car_led_control ,contr 
+0x36d1 010872 copy contr ,rega 
+0x36d2 010873 arg 8 ,loopcnt 
+:      010874 car_led_control_timer_next:
+0x36d3 010875 copy rega ,contr 
+0x36d4 010876 ifetch 1 ,contr 
+0x36d5 010877 copy contr ,rega 
+0x36d6 010878 beq led_off ,car_led_control_off 
+0x36d7 010879 beq led_on ,car_led_control_on 
+0x36d8 010880 beq led_blink ,car_led_control_blink 
+:      010881 car_led_control_timer_next_2:
+0x36d9 010882 fetch 1 ,mem_car_led_no 
+0x36da 010883 increase 1 ,pdata 
+0x36db 010884 store 1 ,mem_car_led_no 
+0x36dc 010885 loop car_led_control_timer_next 
+0x36dd 010886 rtn 
+:      010887 car_led_switch:
+0x36de 010888 fetch 1 ,mem_car_led_no 
+0x36df 010889 arg mem_car_config_blood_led_gpio ,regb 
+0x36e0 010890 iadd regb ,regb 
+0x36e1 010891 ifetcht 1 ,regb 
+0x36e2 010892 rtn 
+:      010893 car_led_control_off:
+0x36e3 010894 call car_led_switch 
+0x36e4 010895 call gpio_out_inactive 
+0x36e5 010896 branch car_led_control_timer_next_2 
+:      010897 car_led_control_on:
+0x36e6 010898 call car_led_switch 
+0x36e7 010899 call gpio_out_active 
+0x36e8 010900 branch car_led_control_timer_next_2 
+:      010901 car_led_control_blink:
+0x36e9 010902 fetch 1 ,mem_car_led_blink_status 
+0x36ea 010903 beq led_on ,car_led_control_off 
+0x36eb 010904 branch car_led_control_on 
+:      010905 car_led_control_blink_on:
+0x36ec 010906 jam led_on ,mem_car_led_blink_status 
+0x36ed 010907 branch car_led_control_set 
+:      010908 car_led_control_blink_off:
+0x36ee 010909 jam led_off ,mem_car_led_blink_status 
+0x36ef 010910 branch car_led_control_set 
+:      010914 calc_check_sum_start:
+0x36f0 010915 arg 0 ,rega 
+:      010916 calc_check_sum_loop:
+0x36f1 010917 ifetch 1 ,contr 
+0x36f2 010918 iadd rega ,rega 
+0x36f3 010919 loop calc_check_sum_loop 
+:      010920 calc_check_sum_and:
+0x36f4 010921 and rega ,0xff ,pdata 
+0x36f5 010922 rtn 
+:      010924 car_le_receive_data:
+0x36f6 010925 fetch 1 ,mem_le_att_opcode 
+0x36f7 010926 beq attop_write_request ,car_le_parse_att_write_request 
+0x36f8 010927 rtn 
+:      010928 car_le_parse_att_write_request:
+0x36f9 010929 fetch 2 ,mem_le_att_handle 
+0x36fa 010930 beq att_car_control_handle ,car_control_le_receive 
+0x36fb 010931 rtn 
+:      010943 le_app_receive_data:
+0x36fc 010944 bpatch patch1a_0 ,mem_patch1a 
+0x36fd 010945 ifetch 5 ,rega 
+0x36fe 010946 store 5 ,mem_app_receive_temp 
+0x36ff 010947 fetch 2 ,mem_app_receive_temp 
+0x3700 010948 arg le_receive_packet_head ,temp 
+0x3701 010949 isub temp ,null 
+0x3702 010950 nrtn zero 
+0x3703 010951 fetch 2 ,mem_app_receive_temp + 3 
+0x3704 010952 byteswap pdata ,pdata 
+0x3705 010953 store 2 ,mem_app_receive_temp + 3 
+0x3706 010954 copy pdata ,loopcnt 
+0x3707 010955 increase 5 ,rega 
+0x3708 010956 copy rega ,contr 
+0x3709 010957 arg mem_app_receive_temp + 5 ,contw 
+0x370a 010958 call memcpy 
+0x370b 010959 ifetch 1 ,contr 
+0x370c 010960 store 1 ,mem_app_receive_temp + 15 
+0x370d 010961 arg mem_app_receive_temp + 2 ,rega 
+0x370e 010962 arg mem_app_receive_temp + 5 ,regb 
+0x370f 010963 rtn 
+:      010965 car_control_le_receive:
+0x3710 010966 setarg 0 
+0x3711 010967 store 5 ,mem_le_receive_payload 
+0x3712 010968 store 5 ,mem_le_receive_payload + 5 
+0x3713 010969 call le_app_receive_data 
+0x3714 010970 copy regb ,contr 
+0x3715 010971 arg mem_le_receive_payload ,contw 
+0x3716 010972 arg 10 ,loopcnt 
+0x3717 010973 call memcpy 
+:      010974 car_receive_cmd_select:
+0x3718 010975 bpatch patch1a_1 ,mem_patch1a 
+0x3719 010976 ifetch 1 ,rega 
+0x371a 010977 beq car_cmd_old_car_control ,car_drive_old 
+0x371b 010978 beq car_cmd_old_speed_control ,car_speed_set_old 
+0x371c 010979 beq car_cmd_l_r_motor_control ,car_motor_control 
+0x371d 010980 beq car_cmd_f_b_motor_control ,car_motor_control 
+0x371e 010981 beq car_cmd_ir_control ,car_ir_data_rx_from_app 
+0x371f 010982 beq car_cmd_led_control ,car_led_control_receive 
+0x3720 010983 beq car_cmd_device_info ,car_info_request 
+0x3721 010984 rtn 
+:      010986 car_24g_receive_data:
+0x3722 010987 fetch 2 ,mem_ui_state_map 
+0x3723 010988 rtnbit1 ui_state_ble_connected 
+0x3724 010990 fetch 2 ,mem_car_24g_no_data_timeout_count 
+0x3725 010991 store 2 ,mem_car_24g_no_data_timeout_timer 
+0x3726 010993 jam work_paired ,mem_car_24g_received_pac 
+0x3727 010995 setarg offset_24g_rxdata_temp_add3 
+0x3728 010996 call g24_set_rega 
+0x3729 010997 call car_control_le_receive 
+0x372a 010999 fetch 1 ,mem_app_receive_temp + 2 
+0x372b 011000 beq car_cmd_l_r_motor_control ,car_24g_receive_data_next 
+0x372c 011001 beq car_cmd_f_b_motor_control ,car_24g_receive_data_next 
+0x372d 011002 rtn 
+:      011003 car_24g_receive_data_next:
+0x372e 011004 fetch 1 ,mem_le_receive_payload 
+0x372f 011005 ncall car_moto1_enable_blank_data_timer ,blank 
+0x3730 011006 fetch 1 ,mem_le_receive_payload + 2 
+0x3731 011007 ncall car_moto2_enable_blank_data_timer ,blank 
+0x3732 011008 fetch 1 ,mem_le_receive_payload + 4 
+0x3733 011009 ncall car_moto3_enable_blank_data_timer ,blank 
+0x3734 011010 rtn 
+:      011012 car_moto1_enable_blank_data_timer:
+0x3735 011013 jam 5 ,mem_car_moto1_blank_timer 
+0x3736 011014 rtn 
+:      011015 car_moto2_enable_blank_data_timer:
+0x3737 011016 jam 5 ,mem_car_moto2_blank_timer 
+0x3738 011017 rtn 
+:      011018 car_moto3_enable_blank_data_timer:
+0x3739 011019 jam 5 ,mem_car_moto3_blank_timer 
+0x373a 011020 rtn 
+:      011022 car_moto1_blank_data_timer:
+0x373b 011023 arg mem_car_moto1_blank_timer ,regc 
+0x373c 011024 arg car_moto1_blank_data ,regb 
+0x373d 011025 branch timer_single_step 
+:      011026 car_moto2_blank_data_timer:
+0x373e 011027 arg mem_car_moto2_blank_timer ,regc 
+0x373f 011028 arg car_moto2_blank_data ,regb 
+0x3740 011029 branch timer_single_step 
+:      011030 car_moto3_blank_data_timer:
+0x3741 011031 arg mem_car_moto3_blank_timer ,regc 
+0x3742 011032 arg car_moto3_blank_data ,regb 
+0x3743 011033 branch timer_single_step 
+:      011035 car_moto1_blank_data:
+0x3744 011036 jam 0 ,mem_le_receive_payload 
+0x3745 011037 branch car_motor_control 
+:      011038 car_moto2_blank_data:
+0x3746 011039 jam 0 ,mem_le_receive_payload + 2 
+0x3747 011040 branch car_motor_control 
+:      011041 car_moto3_blank_data:
+0x3748 011042 jam 0 ,mem_le_receive_payload + 4 
+0x3749 011043 branch car_motor_control 
+:      011048 car_drive_old:
+0x374a 011049 call car_left_right_control_old 
+0x374b 011050 branch car_front_back_control_old 
+:      011051 car_left_right_control_old:
+0x374c 011052 fetch 1 ,mem_le_receive_payload 
+0x374d 011053 store 1 ,mem_motor2_status 
+0x374e 011054 branch car_motor2_control 
+:      011055 car_front_back_control_old:
+0x374f 011056 fetch 1 ,mem_motor1_speed 
+0x3750 011057 call car_reset_old_speed 
+0x3751 011058 fetch 1 ,mem_le_receive_payload + 1 
+0x3752 011059 store 1 ,mem_motor1_status 
+0x3753 011060 branch car_motor1_control 
+:      011061 car_reset_old_speed:
+0x3754 011062 beq speed_level_2 ,car_reset_old_speed2 
+0x3755 011063 beq speed_level_3 ,car_reset_old_speed3 
+0x3756 011064 store 1 ,mem_motor1_speed 
+0x3757 011065 rtn 
+:      011066 car_reset_old_speed2:
+0x3758 011067 jam speed_level_5 ,mem_motor1_speed 
+0x3759 011068 rtn 
+:      011069 car_reset_old_speed3:
+0x375a 011070 jam speed_level_10 ,mem_motor1_speed 
+0x375b 011071 rtn 
+:      011072 car_speed_set_old:
+0x375c 011073 fetch 1 ,mem_le_receive_payload 
+0x375d 011074 call car_reset_old_speed 
+0x375e 011075 fetch 1 ,mem_motor1_speed 
+0x375f 011076 call car_motor_speed_duty_setting 
+0x3760 011077 call car_motor_speed_duty_transform 
+0x3761 011078 branch pwm_pwm0_duty_set 
+:      011080 car_motor_control:
+0x3762 011081 fetch 1 ,mem_car_24g_go_die_flag 
+0x3763 011082 nrtn blank 
+0x3764 011083 fetch 6 ,mem_le_receive_payload 
+0x3765 011084 store 6 ,mem_motor1_status 
+0x3766 011085 fetch 1 ,mem_motor1_speed 
+0x3767 011086 fetcht 1 ,mem_motor2_speed 
+0x3768 011087 iand temp ,pdata 
+0x3769 011088 fetcht 1 ,mem_motor3_speed 
+0x376a 011089 iand temp ,pdata 
+0x376b 011090 call car_motor_working_flag ,blank 
+0x376c 011091 bpatch patch1a_2 ,mem_patch1a 
+0x376d 011092 call car_motor1_control 
+0x376e 011093 call car_motor2_control 
+0x376f 011094 branch car_motor3_control 
+:      011095 car_motor1_control:
+0x3770 011096 arg mem_motor1_pwm_set ,regb 
+0x3771 011097 arg mem_motor1_status ,contr 
+0x3772 011098 branch car_motor_status_select 
+:      011099 car_motor2_control:
+0x3773 011100 arg mem_motor2_pwm_set ,regb 
+0x3774 011101 arg mem_motor2_status ,contr 
+0x3775 011102 branch car_motor_status_select 
+:      011103 car_motor3_control:
+0x3776 011104 arg mem_motor3_pwm_set ,regb 
+0x3777 011105 arg mem_motor3_status ,contr 
+0x3778 011106 branch car_motor_status_select 
+:      011107 car_motor_working_flag:
+0x3779 011108 jam 0 ,mem_car_working_flag 
+0x377a 011109 rtn 
+:      011111 car_motor_status_select:
+0x377b 011112 ifetch 1 ,contr 
+0x377c 011113 beq motor_stop ,car_motor_stop 
+0x377d 011114 beq go_front ,car_motor_positive 
+0x377e 011115 beq go_back ,car_motor_negative 
+0x377f 011116 rtn 
+:      011117 car_motor_positive:
+0x3780 011118 jam 0 ,mem_motor_select_p_n 
+0x3781 011119 branch car_motor_negative + 1 
+:      011120 car_motor_negative:
+0x3782 011121 jam 1 ,mem_motor_select_p_n 
+0x3783 011122 ifetch 1 ,contr 
+0x3784 011123 store 1 ,mem_car_motor_speed 
+0x3785 011124 ifetch 8 ,regb 
+0x3786 011125 branch car_motor_work 
+:      011127 car_motor_stop:
+0x3787 011128 ifetch 1 ,regb 
+0x3788 011129 call pwm_disable 
+0x3789 011130 increase 1 ,regb 
+0x378a 011131 ifetch 1 ,regb 
+0x378b 011132 branch pwm_disable 
+:      011133 car_motor_work:
+0x378c 011134 store 8 ,mem_motor_pwm_pin1_set 
+0x378d 011135 jam 1 ,mem_car_working_flag 
+0x378e 011136 fetch 1 ,mem_motor_select_p_n 
+0x378f 011137 beq 0 ,car_motor_select_positive 
+:      011138 car_motor_select_negative:
+0x3790 011139 fetch 1 ,mem_motor_pwm_pin2_set 
+0x3791 011140 store 1 ,mem_motor_pwm_pin_set 
+0x3792 011141 fetch 1 ,mem_motor_pwm_pin1_set 
+:      011142 car_motor_work_next:
+0x3793 011143 call pwm_disable 
+0x3794 011144 fetch 1 ,mem_car_motor_speed 
+0x3795 011145 call car_motor_speed_duty_setting 
+0x3796 011146 store 1 ,mem_motor_pwm_dute_set 
+0x3797 011147 fetch 6 ,mem_motor_pwm_pin_set 
+0x3798 011148 store 6 ,mem_pdatatemp 
+0x3799 011149 branch pwm_out_set 
+:      011150 car_motor_select_positive:
+0x379a 011151 fetch 1 ,mem_motor_pwm_pin1_set 
+0x379b 011152 store 1 ,mem_motor_pwm_pin_set 
+0x379c 011153 fetch 1 ,mem_motor_pwm_pin2_set 
+0x379d 011154 branch car_motor_work_next 
+:      011156 car_motor_speed_duty_setting:
+0x379e 011157 mul32 pdata ,5 ,pdata 
+0x379f 011158 add pdata ,50 ,pdata 
+0x37a0 011159 rtn 
+:      011160 car_motor_speed_duty_transform:
+0x37a1 011161 arg 12000 ,temp 
+0x37a2 011162 imul32 temp ,pdata 
+0x37a3 011163 div pdata ,100 
+0x37a4 011164 call wait_div_end 
+0x37a5 011165 quotient temp 
+0x37a6 011166 copy temp ,rega 
+0x37a7 011167 setarg 12000 
+0x37a8 011168 isub temp ,regb 
+0x37a9 011169 rtn 
+:      011172 car_ir_init:
+0x37aa 011173 hfetch 1 ,core_gpio_sel2 
+0x37ab 011174 set1 2 ,pdata 
+0x37ac 011175 hstore 1 ,core_gpio_sel2 
+0x37ad 011176 setarg 158 
+0x37ae 011177 hstore 2 ,core_pwm_pcnt4 
+0x37af 011178 hstore 2 ,core_pwm_ncnt4 
+0x37b0 011179 rtn 
+:      011181 car_ir_data_rx_from_app:
+0x37b1 011182 fetch 1 ,mem_car_24g_go_die_flag 
+0x37b2 011183 nrtn blank 
+0x37b3 011184 fetch 2 ,mem_le_receive_payload 
+0x37b4 011185 store 2 ,mem_ir_data 
+0x37b5 011186 fetch 1 ,mem_car_24g_status 
+0x37b6 011187 bne work_paired ,car_ir_data_tx 
+0x37b7 011188 fetch 2 ,mem_le_lap 
+0x37b8 011189 store 2 ,mem_ir_data 
+:      011190 car_ir_data_tx:
+0x37b9 011191 bpatch patch1a_3 ,mem_patch1a 
+0x37ba 011192 call car_ir_init 
+0x37bb 011193 call car_ir_enable 
+0x37bc 011194 setarg 48000 
+0x37bd 011195 call sleep 
+0x37be 011196 call car_ir_disable 
+0x37bf 011197 setarg 7200 
+0x37c0 011198 call sleep 
+0x37c1 011199 arg 16 ,loopcnt 
+:      011200 car_ir_send_loop:
+0x37c2 011201 call car_ir_enable 
+0x37c3 011202 fetch 2 ,mem_ir_data 
+0x37c4 011203 bbit1 0 ,car_ir_is_bit1 
+0x37c5 011204 setarg 7200 
+0x37c6 011205 call sleep 
+0x37c7 011206 call car_ir_disable 
+0x37c8 011207 branch car_ir_wait_finish 
+:      011209 car_ir_is_bit1:
+0x37c9 011210 setarg 14400 
+0x37ca 011211 call sleep 
+0x37cb 011212 call car_ir_disable 
+:      011213 car_ir_wait_finish:
+0x37cc 011214 setarg 7200 
+0x37cd 011215 call sleep 
+0x37ce 011216 fetch 2 ,mem_ir_data 
+0x37cf 011217 rshift pdata ,pdata 
+0x37d0 011218 store 2 ,mem_ir_data 
+0x37d1 011219 loop car_ir_send_loop 
+0x37d2 011221 jam 2 ,mem_car_attack_shake_timer 
+0x37d3 011222 jam 1 ,mem_car_attack_shake_flag 
+0x37d4 011223 setarg 0x0a01 
+0x37d5 011224 store 2 ,mem_le_receive_payload 
+0x37d6 011225 fetch 1 ,mem_car_config_device_select 
+0x37d7 011226 beq device_battle_tank ,car_attack_shake_back_battle_tank 
+:      011227 car_attack_shake_back_battle_car:
+0x37d8 011228 branch car_motor_control 
+:      011229 car_attack_shake_back_battle_tank:
+0x37d9 011230 setarg 0x0a01 
+0x37da 011231 store 2 ,mem_le_receive_payload + 2 
+0x37db 011232 branch car_motor_control 
+:      011234 car_ir_enable:
+0x37dc 011235 hfetch 1 ,core_gpio_key2 
+0x37dd 011236 or_into 0x40 ,pdata 
+0x37de 011237 hstore 1 ,core_gpio_key2 
+0x37df 011238 rtn 
+:      011239 car_ir_disable:
+0x37e0 011240 hfetch 1 ,core_gpio_key2 
+0x37e1 011241 and_into 0xbf ,pdata 
+0x37e2 011242 hstore 1 ,core_gpio_key2 
+0x37e3 011243 rtn 
+:      011245 car_ir_rx_init:
+0x37e4 011246 fetch 1 ,mem_car_config_ir_enable 
+0x37e5 011247 rtneq 0x00 
+0x37e6 011248 call lpm_disable_exen_output 
+0x37e7 011249 fetcht 1 ,mem_car_config_ir_rx_gpio 
+0x37e8 011250 storet 1 ,mem_ir_rx_gpio 
+0x37e9 011251 call gpio_config_input 
+0x37ea 011252 call car_ir_gpio_get_status 
+0x37eb 011253 nrtn true 
+0x37ec 011254 jam 1 ,mem_car_ir_breakdown_check_timer 
+0x37ed 011255 rtn 
+:      011257 car_ir_receive_process:
+0x37ee 011258 fetch 1 ,mem_car_config_ir_enable 
+0x37ef 011259 rtneq flag_ir_disable 
+0x37f0 011260 fetch 1 ,mem_car_ir_breakdown_flag 
+0x37f1 011261 nrtn blank 
+0x37f2 011262 fetch 2 ,mem_ui_state_map 
+0x37f3 011263 bbit1 ui_state_ble_connected ,car_ir_receive_process_next 
+0x37f4 011264 fetch 1 ,mem_car_24g_status 
+0x37f5 011265 rtnne work_paired 
+:      011266 car_ir_receive_process_next:
+0x37f6 011267 bpatch patch1a_4 ,mem_patch1a 
+0x37f7 011268 call car_ir_gpio_get_status 
+0x37f8 011269 nrtn true 
+0x37f9 011270 setarg 36000 
+0x37fa 011271 call sleep 
+0x37fb 011272 call car_ir_gpio_get_status 
+0x37fc 011273 nrtn true 
+0x37fd 011274 call car_ir_clk_get 
+:      011275 car_ir_packet_head_wait_end:
+0x37fe 011276 call car_ir_clk_check 
+0x37ff 011277 nrtn positive 
+0x3800 011278 call car_ir_gpio_get_status 
+0x3801 011279 branch car_ir_packet_head_wait_end ,true 
+0x3802 011280 arg 0 ,rega 
+0x3803 011281 arg 16 ,loopcnt 
+0x3804 011282 call car_ir_clk_get 
+:      011283 car_ir_receive_process_loop:
+0x3805 011284 call car_ir_clk_check 
+0x3806 011285 nrtn positive 
+0x3807 011286 call car_ir_gpio_get_status 
+0x3808 011287 nbranch car_ir_receive_process_loop ,true 
+0x3809 011288 setarg 10800 
+0x380a 011289 call sleep 
+0x380b 011290 call car_ir_gpio_get_status 
+0x380c 011291 branch car_ir_get_bit1 ,true 
+:      011292 car_ir_get_bit0:
+0x380d 011293 setarg 0 
+0x380e 011294 rshift rega ,rega 
+0x380f 011295 ior rega ,rega 
+0x3810 011296 loop car_ir_receive_process_loop 
+0x3811 011297 branch car_ir_receive_process_end 
+:      011298 car_ir_get_bit1:
+0x3812 011299 setarg 0x8000 
+0x3813 011300 rshift rega ,rega 
+0x3814 011301 ior rega ,rega 
+0x3815 011302 call car_ir_clk_get 
+:      011303 car_ir_get_bit1_wait_low_end:
+0x3816 011304 call car_ir_clk_check 
+0x3817 011305 nrtn positive 
+0x3818 011306 call car_ir_gpio_get_status 
+0x3819 011307 branch car_ir_get_bit1_wait_low_end ,true 
+0x381a 011308 loop car_ir_receive_process_loop 
+:      011309 car_ir_receive_process_end:
+0x381b 011310 bpatch patch1a_5 ,mem_patch1a 
+0x381c 011311 copy rega ,pdata 
+0x381d 011312 store 2 ,mem_ir_rx_buf 
+0x381e 011313 store 2 ,mem_ir_notify_data + 8 
+0x381f 011314 fetch 1 ,mem_car_24g_status 
+0x3820 011315 beq work_paired ,car_ir_24g_receive_attack 
+:      011316 car_ir_data_notify:
+0x3821 011317 arg 0x07 ,loopcnt 
+0x3822 011318 arg mem_ir_notify_data_head ,contr 
+0x3823 011319 call calc_check_sum_start 
+0x3824 011320 store 1 ,mem_ir_notify_data_check_sum 
+0x3825 011321 arg mem_ir_notify_data ,rega 
+0x3826 011322 branch queue_push 
+:      011324 car_ir_24g_receive_attack:
+0x3827 011325 fetch 1 ,mem_car_24g_ir_receive_attack_count 
+0x3828 011326 increase 1 ,pdata 
+0x3829 011327 store 1 ,mem_car_24g_ir_receive_attack_count 
+0x382a 011328 div pdata ,2 
+0x382b 011329 call wait_div_end 
+0x382c 011330 quotient temp 
+0x382d 011331 remainder pdata 
+0x382e 011332 nbranch car_ir_24g_receive_attack_blink ,blank 
+:      011333 car_ir_24g_receive_attack_off:
+0x382f 011334 fetch 1 ,mem_car_config_led_num 
+0x3830 011335 isub temp ,null 
+0x3831 011336 call car_ir_24g_go_die ,zero 
+0x3832 011337 arg mem_car_led_control ,pdata 
+0x3833 011338 increase -1 ,temp 
+0x3834 011339 iadd temp ,rega 
+0x3835 011340 arg 0 ,pdata 
+0x3836 011341 istore 1 ,rega 
+0x3837 011342 rtn 
+:      011343 car_ir_24g_receive_attack_blink:
+0x3838 011344 arg mem_car_led_control ,pdata 
+0x3839 011345 iadd temp ,rega 
+0x383a 011346 arg 2 ,pdata 
+0x383b 011347 istore 1 ,rega 
+0x383c 011348 rtn 
+:      011349 car_ir_24g_go_die:
+0x383d 011350 jam 1 ,mem_car_24g_go_die_flag 
+0x383e 011351 rtn 
+:      011352 car_ir_clk_get:
+0x383f 011353 copy clkn_bt ,pdata 
+0x3840 011354 store 4 ,mem_ir_receive_clkn 
+0x3841 011355 rtn 
+:      011356 car_ir_clk_check:
+0x3842 011357 copy clkn_bt ,pdata 
+0x3843 011358 fetcht 4 ,mem_ir_receive_clkn 
+0x3844 011359 isub temp ,pdata 
+0x3845 011360 sub pdata ,200 ,null 
+0x3846 011361 rtn 
+:      011363 car_ir_gpio_get_status:
+0x3847 011364 fetcht 1 ,mem_ir_rx_gpio 
+0x3848 011365 branch gpio_get_bit 
+:      011367 car_led_control_receive:
+0x3849 011368 fetch 8 ,mem_le_receive_payload 
+0x384a 011369 store 8 ,mem_car_led_control 
+0x384b 011370 rtn 
+:      011372 car_info_request:
+0x384c 011373 fetch 1 ,mem_car_config_device_select 
+0x384d 011374 store 1 ,mem_car_info_request_payload 
+0x384e 011375 fetch 1 ,mem_car_config_motor_layout 
+0x384f 011376 store 1 ,mem_car_info_request_payload + 1 
+0x3850 011377 fetch 1 ,mem_car_config_ir_enable 
+0x3851 011378 store 1 ,mem_car_info_request_payload + 2 
+0x3852 011379 arg 13 ,loopcnt 
+0x3853 011380 arg mem_car_info_request_head ,contr 
+0x3854 011381 call calc_check_sum_start 
+0x3855 011382 store 1 ,mem_car_info_request_checksum 
+0x3856 011383 arg mem_car_info_request ,rega 
+0x3857 011384 branch queue_push 
+:      011390 light_init:
+0x3858 011391 call clear_eeprom_size_2k 
+0x3859 011392 jam 0x7a ,mem_curr_packet_num 
+0x385a 011393 call light_load_controler_list 
+0x385b 011394 call light_init_crr_cmd_count 
+0x385c 011395 setarg light_pairing_timer 
+0x385d 011396 store 2 ,mem_cb_event_timer 
+0x385e 011397 arg 0 ,rega 
+0x385f 011398 branch pwm_init 
+:      011400 light_pairing_timer:
+0x3860 011401 fetch 2 ,mem_light_pairing_timer 
+0x3861 011402 rtn blank 
+0x3862 011403 increase -1 ,pdata 
+0x3863 011404 store 2 ,mem_light_pairing_timer 
+0x3864 011405 rtnne 0 
+0x3865 011406 jam 0 ,mem_light_pairing_enable 
+0x3866 011407 rtn 
+:      011409 light_init_crr_cmd_count:
+0x3867 011410 bpatch patch1a_6 ,mem_patch1a 
+0x3868 011411 fetch 1 ,mem_light_next_record 
+0x3869 011412 sub pdata ,40 ,null 
+0x386a 011413 rtn positive 
+0x386b 011414 jam 0 ,mem_light_next_record 
+0x386c 011415 rtn 
+:      011417 light_load_controler_list:
+0x386d 011418 arg mem_light_next_record ,rega 
+0x386e 011419 arg 0 ,regb 
+0x386f 011420 arg 81 ,temp 
+0x3870 011421 branch iicd_read_eep_data 
+:      011424 light_find_controler_pairing:
+0x3871 011425 disable user 
+0x3872 011426 fetch 1 ,mem_light_cnum 
+0x3873 011427 copy pdata ,loopcnt 
+0x3874 011429 arg mem_light_clist ,rega 
+0x3875 011430 copy regc ,regb 
+:      011431 light_find_controler_pairing_loop:
+0x3876 011432 bpatch patch1a_7 ,mem_patch1a 
+0x3877 011433 call light_compare_addr_record 
+0x3878 011434 branch enable_user ,zero 
+:      011435 light_find_single_pairing_diff:
+0x3879 011436 increase 4 ,rega 
+0x387a 011437 loop light_find_controler_pairing_loop 
+0x387b 011438 rtn 
+:      011441 light_compare_addr_record:
+0x387c 011442 bpatch patch1b_0 ,mem_patch1b 
+0x387d 011443 ifetch 3 ,rega 
+0x387e 011444 ifetcht 3 ,regb 
+0x387f 011445 isub temp ,null 
+0x3880 011446 rtn 
+:      011448 light_compare_single_record:
+0x3881 011449 bpatch patch1b_1 ,mem_patch1b 
+0x3882 011450 ifetch 3 ,rega 
+0x3883 011451 ifetcht 3 ,regb 
+0x3884 011452 isub temp ,null 
+0x3885 011453 nrtn zero 
+0x3886 011454 ifetch 1 ,contr 
+0x3887 011455 sub pdata ,0 ,null 
+0x3888 011456 rtn zero 
+0x3889 011457 add rega ,3 ,contr 
+0x388a 011458 ifetcht 1 ,contr 
+0x388b 011459 isub temp ,null 
+0x388c 011460 rtn 
+:      011463 light_find_controler_cmd:
+0x388d 011464 bpatch patch1b_2 ,mem_patch1b 
+0x388e 011465 disable user 
+0x388f 011466 fetch 1 ,mem_light_cnum 
+0x3890 011467 copy pdata ,loopcnt 
+0x3891 011469 arg mem_light_clist ,rega 
+0x3892 011470 copy regc ,regb 
+:      011471 light_find_controler_cmd_loop:
+0x3893 011472 call light_compare_single_record 
+0x3894 011473 branch enable_user ,zero 
+0x3895 011474 increase 4 ,rega 
+0x3896 011475 loop light_find_controler_cmd_loop 
+0x3897 011476 rtn 
+:      011479 light_recv_adv:
+0x3898 011480 fetch 1 ,mem_le_scanrsp_rcv 
+0x3899 011481 increase 1 ,pdata 
+0x389a 011482 store 1 ,mem_le_scanrsp_rcv 
+0x389b 011483 arg mem_le_rxbuf + 12 ,regc 
+:      011485 light_anylize_command:
+0x389c 011486 ifetch 2 ,regc 
+0x389d 011487 arg 0x55aa ,temp 
+0x389e 011488 isub temp ,null 
+0x389f 011489 nrtn zero 
+0x38a0 011490 copy contr ,regc 
+0x38a1 011491 ifetcht 3 ,regc 
+0x38a2 011492 setarg 0xffffff 
+0x38a3 011493 isub temp ,null 
+0x38a4 011494 branch light_parse_cmd ,zero 
+0x38a5 011495 call light_find_controler_cmd 
+0x38a6 011496 branch light_parse_cmd ,user 
+0x38a7 011497 rtn 
+:      011499 light_parse_cmd:
+0x38a8 011500 bpatch patch1b_3 ,mem_patch1b 
+0x38a9 011501 increase 4 ,regc 
+0x38aa 011502 ifetch 1 ,regc 
+0x38ab 011503 fetcht 1 ,mem_curr_packet_num 
+0x38ac 011504 isub temp ,null 
+0x38ad 011505 rtn zero 
+0x38ae 011506 store 1 ,mem_curr_packet_num 
+0x38af 011507 fetch 1 ,mem_le_req_rcv 
+0x38b0 011508 increase 1 ,pdata 
+0x38b1 011509 store 1 ,mem_le_req_rcv 
+0x38b2 011511 increase 1 ,regc 
+0x38b3 011512 ifetch 1 ,regc 
+0x38b4 011513 store 1 ,mem_light_crr_cmd_count 
+0x38b5 011514 copy pdata ,loopcnt 
+0x38b6 011515 rtn blank 
+:      011516 light_parse_cmd_loop:
+0x38b7 011517 ifetch 1 ,contr 
+0x38b8 011518 beq light_cmd_pwm0 ,light_parse_cmd_pwm0 
+0x38b9 011519 beq light_cmd_pwm1 ,light_parse_cmd_pwm1 
+0x38ba 011520 beq light_cmd_pwm2 ,light_parse_cmd_pwm2 
+0x38bb 011521 beq light_cmd_pwm3 ,light_parse_cmd_pwm3 
+0x38bc 011522 beq light_cmd_pwm4 ,light_parse_cmd_pwm4 
+0x38bd 011523 beq light_cmd_pwm5 ,light_parse_cmd_pwm5 
+0x38be 011524 beq light_cmd_auto_mode ,light_parse_auto_mode 
+0x38bf 011525 beq light_cmd_pairing ,light_parse_pairing 
+0x38c0 011526 loop light_parse_cmd_loop 
+0x38c1 011527 rtn 
+:      011529 light_parse_cmd_pwm0:
+0x38c2 011530 copy contr ,regc 
+0x38c3 011531 fetch 1 ,mem_light_pwm0 
+0x38c4 011532 store 1 ,mem_pdatatemp 
+0x38c5 011533 arg 0 ,temp 
+:      011534 light_parse_cmd_pwm_common:
+0x38c6 011535 storet 1 ,mem_pdatatemp + 1 
+0x38c7 011536 setarg 10000 
+0x38c8 011537 store 3 ,mem_pdatatemp + 2 
+0x38c9 011538 ifetch 1 ,regc 
+0x38ca 011539 store 1 ,mem_pdatatemp + 5 
+0x38cb 011540 call pwm_out_set 
+0x38cc 011541 and regc ,1 ,contr 
+0x38cd 011542 loop light_parse_cmd_loop 
+0x38ce 011543 rtn 
+:      011544 light_parse_cmd_pwm1:
+0x38cf 011545 copy regc ,contr 
+0x38d0 011546 fetch 1 ,mem_light_pwm1 
+0x38d1 011547 store 1 ,mem_pdatatemp 
+0x38d2 011548 arg 1 ,temp 
+0x38d3 011549 branch light_parse_cmd_pwm_common 
+:      011550 light_parse_cmd_pwm2:
+0x38d4 011551 copy regc ,contr 
+0x38d5 011552 fetch 1 ,mem_light_pwm2 
+0x38d6 011553 store 1 ,mem_pdatatemp 
+0x38d7 011554 arg 2 ,temp 
+0x38d8 011555 branch light_parse_cmd_pwm_common 
+:      011556 light_parse_cmd_pwm3:
+0x38d9 011557 copy regc ,contr 
+0x38da 011558 fetch 1 ,mem_light_pwm3 
+0x38db 011559 store 1 ,mem_pdatatemp 
+0x38dc 011560 arg 3 ,temp 
+0x38dd 011561 branch light_parse_cmd_pwm_common 
+:      011562 light_parse_cmd_pwm4:
+0x38de 011563 copy regc ,contr 
+0x38df 011564 fetch 1 ,mem_light_pwm4 
+0x38e0 011565 store 1 ,mem_pdatatemp 
+0x38e1 011566 arg 4 ,temp 
+0x38e2 011567 branch light_parse_cmd_pwm_common 
+:      011568 light_parse_cmd_pwm5:
+0x38e3 011569 copy regc ,contr 
+0x38e4 011570 fetch 1 ,mem_light_pwm5 
+0x38e5 011571 store 1 ,mem_pdatatemp 
+0x38e6 011572 arg 5 ,temp 
+0x38e7 011573 branch light_parse_cmd_pwm_common 
+:      011575 light_parse_auto_mode:
+0x38e8 011576 ifetch 1 ,contr 
+0x38e9 011577 rtn 
+:      011579 light_parse_pairing:
+0x38ea 011580 copy contr ,regc 
+0x38eb 011581 fetch 1 ,mem_light_pairing_enable 
+0x38ec 011582 bne 1 ,light_parse_pairing_abandon 
+0x38ed 011583 call update_controler_list 
+:      011584 light_parse_pairing_abandon:
+0x38ee 011585 and regc ,4 ,contr 
+0x38ef 011586 rtn 
+:      011587 update_controler_list:
+0x38f0 011588 bpatch patch1b_4 ,mem_patch1b 
+0x38f1 011589 call light_find_controler_pairing 
+0x38f2 011590 branch update_conrtoler_list_found ,user 
+0x38f3 011591 fetch 1 ,mem_light_next_record 
+0x38f4 011592 copy pdata ,temp 
+0x38f5 011593 increase 1 ,pdata 
+0x38f6 011594 store 1 ,mem_light_next_record 
+0x38f7 011595 call light_init_crr_cmd_count 
+0x38f8 011596 lshift2 temp ,temp 
+0x38f9 011597 setarg mem_light_clist 
+0x38fa 011598 iadd temp ,contw 
+0x38fb 011599 ifetch 4 ,regc 
+0x38fc 011600 istore 4 ,contw 
+0x38fd 011601 branch update_conrtoler_store_list 
+:      011602 update_conrtoler_list_found:
+0x38fe 011603 add regc ,3 ,contr 
+0x38ff 011604 ifetch 1 ,contr 
+0x3900 011605 rtn blank 
+0x3901 011606 ifetch 4 ,regc 
+0x3902 011607 istore 4 ,rega 
+:      011608 update_conrtoler_store_list:
+0x3903 011609 arg mem_light_next_record ,rega 
+0x3904 011610 arg 0 ,regb 
+0x3905 011611 arg 81 ,temp 
+0x3906 011612 branch iicd_write_eep_data 
+:      011616 lightc_init:
+0x3907 011620 fetcht 1 ,mem_lightc_led_gpio 
+0x3908 011621 call gpio_out_inactive 
+0x3909 011622 rtn 
+:      011625 lightc_dispatch:
+0x390a 011628 fetcht 1 ,mem_lightc_led_gpio 
+0x390b 011629 call gpio_out_active 
+0x390c 011632 fetcht 1 ,mem_lightc_led_gpio 
+0x390d 011633 call gpio_out_inactive 
+0x390e 011636 call lightc_start_adv 
+0x390f 011638 fetch 1 ,mem_adv_time 
+0x3910 011639 nrtn blank 
+0x3911 011641 call lpm_write_gpio_wakeup 
+0x3912 011642 hfetch 4 ,core_lpm_ctrl 
+0x3913 011643 set0 15 ,pdata 
+0x3914 011644 hstore 4 ,core_lpm_reg 
+0x3915 011645 call lpm_write_ctrl 
+0x3916 011646 arg param_hibernate_clks ,temp 
+0x3917 011647 branch lpm_sleep 
+:      011649 lightc_adv:
+0x3918 011650 fetch 1 ,mem_adv_time 
+0x3919 011651 branch le_adv_loop_tx ,blank 
+0x391a 011652 increase -1 ,pdata 
+0x391b 011653 store 1 ,mem_adv_time 
+0x391c 011654 branch le_adv_loop_tx 
+:      011656 lightc_start_adv:
+0x391d 011657 mul32 pdata ,20 ,pdata 
+0x391e 011658 arg mem_cmd0_string ,contr 
+0x391f 011659 iadd contr ,contr 
+0x3920 011660 ifetch 1 ,contr 
+0x3921 011661 rtn blank 
+0x3922 011662 copy pdata ,rega 
+0x3923 011663 copy rega ,loopcnt 
+0x3924 011664 arg mem_le_adv_data + 2 ,contw 
+0x3925 011665 call memcpy 
+0x3926 011666 copy rega ,pdata 
+0x3927 011667 increase 2 ,pdata 
+0x3928 011668 store 1 ,mem_le_adv_data_len 
+0x3929 011669 rtn 
+:      011676 module_init:
+0x392a 011678 rtn wake 
+0x392b 011679 call le_modified_name 
+0x392c 011680 call adc_init_data 
+0x392d 011681 setarg module_process_idle 
+0x392e 011682 store 2 ,mem_cb_idle_process 
+0x392f 011683 setarg module_bt_conn_process 
+0x3930 011684 store 2 ,mem_cb_bt_process 
+0x3931 011685 setarg module_process_bb_event 
+0x3932 011686 store 2 ,mem_cb_bb_event_process 
+0x3933 011687 setarg module_le_conn_process 
+0x3934 011688 store 2 ,mem_cb_le_process 
+0x3935 011689 setarg module_lpm_lock 
+0x3936 011690 store 2 ,mem_cb_check_wakelock 
+0x3937 011691 setarg module_hci_cmd_transmit_le_notify 
+0x3938 011692 store 2 ,mem_cb_ble_transmit 
+0x3939 011693 setarg module_hci_event_receive_spp_data 
+0x393a 011694 store 2 ,mem_cb_receive_spp_data 
+0x393b 011695 setarg module_le_receive_data 
+0x393c 011696 store 2 ,mem_cb_att_write 
+0x393d 011697 setarg module_bb_event_timer 
+0x393e 011698 store 2 ,mem_cb_event_timer 
+0x393f 011700 call module_spp_clear_last_transmite_clock 
+0x3940 011701 bpatch patch1b_5 ,mem_patch1b 
+0x3941 011702 call module_lpm_uart_init 
+0x3942 011703 call module_gpio_init 
+0x3943 011704 call check_module_disabled 
+0x3944 011705 branch module_hci_event_enter_standby_mode 
+:      011708 module_lpm_uart_init:
+0x3945 011709 fetch 4 ,mem_module_uart_rx_buffer 
+0x3946 011710 hstore 4 ,core_uart_rsaddr 
+0x3947 011712 fetch 4 ,mem_module_uart_tx_buffer 
+0x3948 011713 hstore 4 ,core_uart_tsaddr 
+0x3949 011715 hfetch 1 ,core_gpio_sel1 
+0x394a 011716 or_into 0x04 ,pdata 
+0x394b 011717 and_into 0xfc ,pdata 
+0x394c 011718 hstore 1 ,core_gpio_sel1 
+0x394d 011719 jam 0x00 ,core_uart_ctrl 
+0x394e 011721 fetch 2 ,mem_module_uart_rx_buffer 
+0x394f 011722 hstore 2 ,core_uart_rrptr 
+0x3950 011723 fetch 2 ,mem_module_uart_tx_buffer 
+0x3951 011724 hstore 2 ,core_uart_twptr 
+0x3952 011725 hstore 2 ,core_uart_trptrp 
+0x3953 011727 hfetch 4 ,core_gpio_pu0 
+0x3954 011728 set1 7 ,pdata 
+0x3955 011729 hstore 4 ,core_gpio_pu0 
+0x3956 011731 hfetch 2 ,core_clkoff 
+0x3957 011732 set0 clock_off_uart ,pdata 
+0x3958 011733 hstore 2 ,core_clkoff 
+0x3959 011734 call uart_set_baud_by_mem 
+0x395a 011735 jam uartclk_crystal ,core_uart_clksel 
+0x395b 011736 jam uart_ctrl_h4 ,core_uart_ctrl 
+0x395c 011738 fetch 1 ,mem_module_flag 
+0x395d 011739 isolate1 module_flag_uart_flow_control ,pdata 
+0x395e 011740 hfetcht 1 ,core_uart_ctrl 
+0x395f 011741 setflag true ,4 ,temp 
+0x3960 011742 hstoret 1 ,core_uart_ctrl 
+0x3961 011743 rtn 
+:      011747 module_lpm_init:
+0x3962 011748 call module_spp_clear_last_transmite_clock 
+0x3963 011749 branch module_lpm_uart_init 
+:      011752 module_gpio_init:
+0x3964 011757 fetcht 1 ,mem_module_connect_state_gpio 
+0x3965 011758 call gpio_config_output 
+0x3966 011759 call module_set_conn_pin_low 
+0x3967 011761 fetcht 1 ,mem_module_wake_up_gpio 
+0x3968 011762 branch gpio_config_input 
+:      011764 module_lpm_lock:
+0x3969 011765 fetcht 1 ,mem_module_wake_up_gpio 
+0x396a 011766 call gpio_get_bit 
+0x396b 011767 nbranch app_put_lpm_wake_lock ,true 
+0x396c 011768 branch app_get_lpm_wake_lock 
+:      011771 module_le_conn_process:
+0x396d 011772 rtn 
+:      011774 module_bt_conn_process:
+0x396e 011775 call module_spp_enter_sniff 
+0x396f 011776 branch module_control_air_flow 
+:      011778 module_spp_enter_sniff:
+0x3970 011779 fetch 1 ,mem_ui_state_map 
+0x3971 011780 bbit0 ui_state_bt_spp_conn ,module_spp_clear_last_transmite_clock 
+0x3972 011781 bpatch patch1b_6 ,mem_patch1b 
+0x3973 011782 setarg 0x3eff 
+0x3974 011783 fetcht 4 ,mem_last_transmite_clock 
+0x3975 011784 iadd temp ,temp 
+0x3976 011785 copy clkn_bt ,pdata 
+0x3977 011786 isub temp ,null 
+0x3978 011787 nrtn positive 
+0x3979 011788 fetch 2 ,mem_ui_state_map 
+0x397a 011789 bbit1 ui_state_bt_sniff ,module_spp_clear_last_transmite_clock 
+0x397b 011790 fetch 1 ,mem_module_flag 
+0x397c 011791 rtnbit1 moudle_task_sniff 
+0x397d 011792 call module_set_sniff_task_flag 
+0x397e 011793 call app_bt_enter_sniff 
+:      011794 module_spp_clear_last_transmite_clock:
+0x397f 011795 copy clkn_bt ,pdata 
+0x3980 011796 store 4 ,mem_last_transmite_clock 
+0x3981 011797 rtn 
+:      011800 module_process_idle:
+0x3982 011801 call module_control_air_flow 
+0x3983 011802 call l2cap_malloc_is_fifo_full 
+0x3984 011803 nrtn blank 
+0x3985 011804 branch module_process 
+:      011807 module_process_bb_event:
+0x3986 011808 copy regc ,pdata 
+0x3987 011809 beq bt_evt_bb_connected ,module_process_bb_conn 
+0x3988 011810 beq bt_evt_bb_disconnected ,module_process_bb_event_disconned 
+0x3989 011811 beq bt_evt_reconn_failed ,module_process_reconn_fail 
+0x398a 011812 beq bt_evt_setup_complete ,module_process_setup_complete 
+0x398b 011813 beq bt_evt_spp_connected ,module_process_spp_connected 
+0x398c 011814 beq bt_evt_spp_disconnected ,module_process_spp_disconnected 
+0x398d 011815 beq bt_evt_pincode_req ,module_process_evt_pincode_req 
+0x398e 011816 beq bt_evt_enter_sniff ,module_process_enter_sniff 
+0x398f 011817 beq bt_evt_exit_sniff ,module_process_exit_sniff 
+0x3990 011818 beq bt_evt_reconn_page_timeout ,module_process_page_time_out 
+0x3991 011819 beq bt_evt_le_connected ,module_process_le_conn 
+0x3992 011820 beq bt_evt_le_disconnected ,module_process_bb_even_le_disconn 
+0x3993 011821 beq bt_evt_sniff_not_accept ,module_process_sniff_not_accept 
+0x3994 011822 beq bt_evt_unsniff_accept ,module_process_unsniff_accept 
+0x3995 011823 beq bt_evt_unsniff_not_accept ,module_process_unsniff_not_accept 
+0x3996 011824 beq bt_evt_le_pairing_fail ,module_hci_event_le_pairing_fail 
+0x3997 011825 beq bt_evt_le_pairing_success ,module_hci_event_le_pairing_success 
+0x3998 011826 beq bt_evt_le_start_enc ,module_hci_event_start_enc 
+0x3999 011827 beq bt_evt_le_pause_enc ,module_hci_event_pause_enc 
+0x399a 011828 beq bt_evt_le_tk_generate ,module_hci_event_le_tk 
+0x399b 011829 beq bt_evt_bt_gkey_generate ,module_hci_event_gkey_generate 
+0x399c 011830 beq bt_evt_bt_get_passkey ,module_hci_event_passkey_entry_mode 
+0x399d 011831 beq bt_evt_bt_pairing_fail ,module_hci_event_bt_pairing_fail 
+0x399e 011832 beq bt_evt_bt_pairing_success ,module_hci_event_bt_pairing_success 
+0x399f 011833 beq bt_evt_le_gkey_generate ,module_hci_event_le_gkey 
+0x39a0 011834 beq bt_evt_store_nvram ,module_hci_event_store_device 
+0x39a1 011835 beq bt_evt_le_ltk_lost ,module_process_ble_ltk_lost 
+0x39a2 011836 rtn 
+:      011839 module_process_bb_event_disconned:
+0x39a3 011840 call module_spp_clear_last_transmite_clock 
+0x39a4 011841 fetch 1 ,mem_flag_pairing_state 
+0x39a5 011842 ncall module_hci_event_bt_pairing_fail ,blank 
+0x39a6 011843 call module_disconn_start 
+0x39a7 011844 fetch 2 ,mem_ui_state_map 
+0x39a8 011845 rtnbit0 ui_state_bt_spp_conn 
+0x39a9 011846 branch module_spp_disconnected 
+:      011848 module_process_spp_connected:
+0x39aa 011849 fetch 2 ,mem_ui_state_map 
+0x39ab 011850 set1 ui_state_bt_spp_conn ,pdata 
+0x39ac 011851 store 2 ,mem_ui_state_map 
+0x39ad 011852 fetch 1 ,mem_module_spp_lpm_mult 
+0x39ae 011853 store 1 ,mem_lpm_mult 
+0x39af 011854 call module_set_conn_pin_low 
+0x39b0 011855 branch module_hci_event_spp_connect 
+:      011857 module_process_spp_disconnected:
+:      011859 module_spp_disconnected:
+0x39b1 011860 fetch 2 ,mem_ui_state_map 
+0x39b2 011861 rtnbit0 ui_state_bt_spp_conn 
+0x39b3 011862 set0 ui_state_bt_spp_conn ,pdata 
+0x39b4 011863 store 2 ,mem_ui_state_map 
+0x39b5 011864 branch module_hci_event_spp_disconnect 
+:      011867 module_process_enter_sniff:
+:      011869 module_sniff_param_check:
+0x39b6 011870 call module_spp_clear_last_transmite_clock 
+0x39b7 011873 fetch 2 ,mem_context + coffset_tsniff 
+0x39b8 011874 rshift pdata ,pdata 
+0x39b9 011875 fetcht 2 ,mem_sniff_param_interval 
+0x39ba 011876 isub temp ,null 
+0x39bb 011877 nbranch module_sniff_param_check_unsniff ,zero 
+0x39bc 011878 branch app_lpm_mult_enable 
+:      011879 module_sniff_param_check_unsniff:
+0x39bd 011880 fetch 1 ,mem_module_flag 
+0x39be 011881 rtnbit1 moudle_task_unsniff 
+0x39bf 011882 hfetch 2 ,core_uart_rxitems 
+0x39c0 011883 ncall module_set_unsniff_task_flag ,blank 
+0x39c1 011884 branch app_bt_sniff_exit 
+:      011886 module_process_exit_sniff:
+0x39c2 011887 call module_clear_sniff_task_flag 
+0x39c3 011888 branch app_lpm_mult_disable 
+:      011890 module_process_setup_complete:
+0x39c4 011891 call module_spp_clear_last_transmite_clock 
+0x39c5 011892 branch module_conn_start 
+:      011894 module_process_bb_even_le_disconn:
+0x39c6 011895 call le_clr_config_more_data 
+0x39c7 011896 call module_disconn_start 
+0x39c8 011897 branch module_hci_event_le_disconnect 
+:      011899 module_process_evt_pincode_req:
+0x39c9 011900 branch app_bt_set_pincode 
+:      011903 module_process_sniff_not_accept:
+0x39ca 011904 branch module_clear_sniff_task_flag 
+:      011907 module_process_unsniff_accept:
+0x39cb 011908 fetch 1 ,mem_module_flag 
+0x39cc 011909 bbit0 moudle_task_unsniff ,app_bt_enter_sniff 
+0x39cd 011910 branch module_clear_unsniff_task_flag 
+:      011913 module_process_unsniff_not_accept:
+0x39ce 011914 branch module_clear_unsniff_task_flag 
+:      011917 module_process_le_conn:
+0x39cf 011918 call le_send_att_exchange_mtu_requset 
+0x39d0 011919 call module_conn_start 
+0x39d1 011920 fetch 1 ,mem_module_le_lpm_mult 
+0x39d2 011921 store 1 ,mem_lpm_mult 
+0x39d3 011922 branch module_hci_event_le_connect 
+:      011925 module_process_bb_conn:
+0x39d4 011926 jam 0 ,mem_flag_mode_ssp_pin 
+0x39d5 011927 call module_clear_sniff_task_flag 
+0x39d6 011928 branch module_clear_unsniff_task_flag 
+:      011930 module_process_page_time_out:
+:      011931 module_process_reconn_fail:
+:      011932 module_disconn_start:
+0x39d7 011933 call module_start_adv_discovery_by_command 
+0x39d8 011934 branch module_set_conn_pin_high 
+:      011937 module_process_ble_ltk_lost:
+0x39d9 011938 call le_send_reject_ind 
+0x39da 011939 branch le_send_smp_security_request 
+:      011942 module_set_conn_pin_high:
+0x39db 011943 fetcht 1 ,mem_module_connect_state_gpio 
+0x39dc 011944 branch gpio_out_active 
+:      011946 module_conn_start:
+0x39dd 011947 call module_stop_adv_discovery 
+0x39de 011948 branch module_set_conn_pin_low 
+:      011950 module_stop_adv_discovery:
+0x39df 011951 fetch 1 ,mem_module_state 
+0x39e0 011952 isolate1 moudle_state_bt_bit ,pdata 
+0x39e1 011953 call app_bt_stop_discovery ,true 
+0x39e2 011954 fetch 1 ,mem_module_state 
+0x39e3 011955 isolate1 moudle_state_ble_bit ,pdata 
+0x39e4 011956 call app_ble_stop_adv ,true 
+0x39e5 011957 rtn 
+:      011958 module_set_conn_pin_low:
+0x39e6 011959 fetcht 1 ,mem_module_connect_state_gpio 
+0x39e7 011960 branch gpio_out_inactive 
+:      011962 module_process_with_credit:
+0x39e8 011963 fetch 1 ,mem_credit_flag 
+0x39e9 011964 rtneq credit_disable 
+0x39ea 011965 branch rfcomm_send_uih_without_payload 
+:      011967 module_process:
+0x39eb 011968 hfetch 1 ,core_uart_status 
+0x39ec 011969 bbit1 uart_status_rx_fifo_empty ,module_process_with_credit 
+0x39ed 011970 call uartd_prepare_rx 
+0x39ee 011971 ifetch 1 ,contru 
+0x39ef 011972 bne 0x01 ,module_hci_in_excp 
+0x39f0 011973 hfetch 2 ,core_uart_rxitems 
+0x39f1 011974 sub pdata ,2 ,null 
+0x39f2 011975 rtn positive 
+0x39f3 011976 ifetch 1 ,contru 
+0x39f4 011977 store 1 ,mem_module_uart_opcode 
+0x39f5 011978 ifetcht 1 ,contru 
+0x39f6 011979 copy contru ,rega 
+0x39f7 011980 storet 1 ,mem_module_uart_len 
+0x39f8 011981 add temp ,3 ,temp 
+0x39f9 011982 hfetch 2 ,core_uart_rxitems 
+0x39fa 011983 isub temp ,temp 
+0x39fb 011984 nrtn positive 
+0x39fc 011985 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x39fd 011986 call module_hci_cmd_control 
+0x39fe 011987 fetch 1 ,mem_module_temp_nl_discard_packet 
+0x39ff 011988 rtneq hci_not_discard_packet 
+0x3a00 011989 branch module_hci_dicard_packet 
+:      011991 module_hci_in_excp:
+0x3a01 011992 call delay_10ms 
+0x3a02 011993 call module_hci_event_invalid_packet 
+0x3a03 011994 branch module_hci_release_except 
+:      011997 module_hci_release_except:
+0x3a04 011998 bpatch patch1b_7 ,mem_patch1b 
+0x3a05 011999 hfetch 2 ,core_uart_rxitems 
+0x3a06 012000 rtn blank 
+0x3a07 012001 call uartd_prepare_rx 
+0x3a08 012002 ifetch 1 ,contru 
+0x3a09 012003 sub pdata ,0x01 ,null 
+0x3a0a 012004 ncall module_hci_dicard_bytes ,zero 
+0x3a0b 012005 nbranch module_hci_release_except ,zero 
+0x3a0c 012006 ifetch 1 ,contru 
+0x3a0d 012007 rtneq hci_cmd_spp_data_req 
+0x3a0e 012008 rtneq hci_cmd_set_credit_given 
+0x3a0f 012009 increase -1 ,contru 
+0x3a10 012010 call module_hci_dicard_bytes 
+0x3a11 012011 branch module_hci_release_except 
+:      012013 module_hci_dicard_packet:
+0x3a12 012014 call uartd_prepare_rx 
+0x3a13 012015 increase 2 ,contru 
+0x3a14 012016 ifetch 1 ,contru 
+0x3a15 012017 iadd contru ,contru 
+:      012018 module_hci_dicard_bytes:
+0x3a16 012019 branch uartd_rxdone 
+:      012022 module_hci_cmd_control:
+0x3a17 012023 bpatch patch1c_0 ,mem_patch1c 
+0x3a18 012024 fetch 1 ,mem_module_uart_opcode 
+0x3a19 012025 beq hci_cmd_set_bt_addr_req ,module_hci_cmd_set_bt_addr 
+0x3a1a 012026 beq hci_cmd_set_le_addr_req ,module_hci_cmd_set_le_addr 
+0x3a1b 012027 beq hci_cmd_set_visibility_req ,module_hci_cmd_set_visibility 
+0x3a1c 012028 beq hci_cmd_set_bt_name_req ,module_hci_cmd_set_bt_name 
+0x3a1d 012029 beq hci_cmd_set_le_name_req ,module_hci_cmd_set_le_name 
+0x3a1e 012030 beq hci_cmd_spp_data_req ,module_hci_cmd_receive_spp_data 
+0x3a1f 012031 beq hci_cmd_le_data_req ,module_hci_cmd_receive_le_data 
+0x3a20 012032 beq hci_cmd_status_irq ,module_hci_cmd_inquire_status 
+0x3a21 012033 beq hci_cmd_set_pairing_req ,module_hci_cmd_set_pairing_mode 
+0x3a22 012034 beq hci_cmd_set_pincode_req ,module_hci_cmd_set_pincode 
+0x3a23 012035 beq hci_cmd_set_uartcontrol_req ,module_hci_cmd_set_uart_control_mode 
+0x3a24 012036 beq hci_cmd_set_uart_baud_req ,module_hci_cmd_set_uart_baud 
+0x3a25 012037 beq hci_cmd_version_req ,module_hci_cmd_version_request 
+0x3a26 012038 beq hci_cmd_bt_disconnect ,module_hci_cmd_bt_disconnect 
+0x3a27 012039 beq hci_cmd_ble_disconnect ,module_hci_cmd_ble_disconnect 
+0x3a28 012040 beq hci_cmd_set_nvram_req ,module_hci_cmd_set_nvram 
+0x3a29 012041 beq hci_cmd_confirm_gkey ,module_hci_cmd_confirm_gkey 
+0x3a2a 012042 beq hci_cmd_set_credit_given ,module_hci_cmd_set_credit_given 
+0x3a2b 012043 beq hci_cmd_auto_adv_scan ,module_hci_cmd_auto_adv 
+0x3a2c 012044 beq hci_cmd_power_req ,module_hci_cmd_power_request 
+0x3a2d 012045 beq hci_cmd_power_set ,module_hci_cmd_power_set 
+0x3a2e 012046 beq hci_cmd_passkey_entry ,module_hci_cmd_passkey_entry 
+0x3a2f 012047 beq hci_cmd_set_gpio ,module_hci_cmd_set_gpio 
+0x3a30 012048 beq hci_cmd_read_gpio ,module_hci_cmd_read_gpio 
+0x3a31 012049 beq hci_cmd_le_set_pairing ,module_hci_cmd_le_set_pairing_mode 
+0x3a32 012050 beq hci_cmd_le_set_adv_data ,module_hci_cmd_le_set_adv_data 
+0x3a33 012051 beq hci_cmd_le_set_scan_data ,module_hci_cmd_le_set_scan_data 
+0x3a34 012052 beq hci_cmd_le_send_conn_update_req ,module_hci_cmd_le_send_conn_update_req 
+0x3a35 012053 beq hci_cmd_le_set_adv_parm ,module_hci_cmd_set_le_adv_parameter 
+0x3a36 012054 beq hci_cmd_le_start_pairing ,module_hci_cmd_le_start_pairing 
+0x3a37 012055 beq hci_cmd_set_wake_gpio ,module_hci_cmd_set_wake_gpio 
+0x3a38 012056 beq hci_cmd_set_tx_power ,module_hci_cmd_set_tx_power 
+0x3a39 012057 beq hci_cmd_le_confirm_gkey ,module_hci_cmd_le_confirm_gkey 
+0x3a3a 012058 beq hci_cmd_reject_justwork ,module_hci_cmd_set_reject_justwork_flag 
+0x3a3b 012059 beq hci_cmd_reset_chip_req ,module_hci_cmd_reset_chip 
+0x3a3c 012060 beq hci_cmd_le_set_fixed_passkey ,module_hci_cmd_le_set_fixed_passkey 
+0x3a3d 012061 beq hci_test_cmd_close_lpm ,module_hci_test_cmde_close_lpm 
+0x3a3e 012062 branch module_hci_event_receive_invalid_cmd 
+:      012067 module_hci_cmd_set_bt_addr:
+0x3a3f 012068 fetch 1 ,mem_module_uart_len 
+0x3a40 012069 bne 6 ,module_hci_event_receive_invalid_cmd 
+0x3a41 012070 ifetch 6 ,contru 
+0x3a42 012071 store 6 ,mem_lap 
+0x3a43 012072 branch module_hci_event_receive_valid_cmd 
+:      012075 module_hci_cmd_set_le_addr:
+0x3a44 012076 fetch 1 ,mem_module_uart_len 
+0x3a45 012077 bne 6 ,module_hci_event_receive_invalid_cmd 
+0x3a46 012078 ifetch 6 ,contru 
+0x3a47 012079 store 6 ,mem_le_lap 
+0x3a48 012080 branch module_hci_event_receive_valid_cmd 
+:      012084 module_hci_cmd_set_visibility:
+0x3a49 012085 fetch 1 ,mem_module_uart_len 
+0x3a4a 012086 bne 1 ,module_hci_event_receive_invalid_cmd 
+0x3a4b 012087 copy rega ,contru 
+0x3a4c 012088 call module_hci_event_receive_valid_cmd 
+0x3a4d 012089 ifetcht 1 ,contru 
+0x3a4e 012090 storet 1 ,mem_module_bluetooth_stauts_by_command 
+0x3a4f 012091 fetch 2 ,mem_ui_state_map 
+0x3a50 012092 rtnbit1 ui_state_ble_connected 
+0x3a51 012093 rtnbit1 ui_state_bt_connected 
+:      012094 module_start_adv_discovery_by_command:
+0x3a52 012095 fetch 1 ,mem_module_state 
+0x3a53 012096 isolate1 moudle_state_bt_bit ,pdata 
+0x3a54 012097 nbranch moudle_start_adv_by_command ,true 
+0x3a55 012098 fetcht 1 ,mem_module_bluetooth_stauts_by_command 
+0x3a56 012099 and temp ,0x03 ,pdata 
+0x3a57 012100 store 1 ,mem_scan_mode 
+:      012101 moudle_start_adv_by_command:
+0x3a58 012102 fetch 1 ,mem_module_state 
+0x3a59 012103 isolate1 moudle_state_ble_bit ,pdata 
+0x3a5a 012104 nrtn true 
+0x3a5b 012105 fetcht 1 ,mem_module_bluetooth_stauts_by_command 
+0x3a5c 012106 isolate1 2 ,temp 
+0x3a5d 012107 branch app_ble_start_adv ,true 
+0x3a5e 012108 branch app_ble_stop_adv 
+:      012112 module_hci_cmd_set_bt_name:
+0x3a5f 012113 fetch 1 ,mem_module_uart_len 
+0x3a60 012114 sub pdata ,67 ,null 
+0x3a61 012115 nbranch module_hci_event_receive_invalid_cmd ,positive 
+0x3a62 012116 store 1 ,mem_local_name_length 
+0x3a63 012117 arg 8 ,loopcnt 
+0x3a64 012118 call memset0 
+0x3a65 012119 fetch 1 ,mem_module_uart_len 
+0x3a66 012120 copy pdata ,loopcnt 
+0x3a67 012121 copy rega ,contru 
+0x3a68 012122 arg mem_local_name ,contw 
+0x3a69 012123 call uart_copy_rx_bytes_fast 
+0x3a6a 012124 branch module_hci_event_receive_valid_cmd 
+:      012128 module_hci_cmd_set_le_name:
+0x3a6b 012129 fetch 1 ,mem_module_uart_len 
+0x3a6c 012130 sub pdata ,29 ,null 
+0x3a6d 012131 nbranch module_hci_event_receive_invalid_cmd ,positive 
+0x3a6e 012132 store 1 ,mem_le_name_len 
+0x3a6f 012133 copy pdata ,loopcnt 
+0x3a70 012134 copy rega ,contru 
+0x3a71 012135 arg mem_le_name ,contw 
+0x3a72 012136 call uart_copy_rx_bytes_fast 
+0x3a73 012137 call le_modified_name 
+0x3a74 012138 branch module_hci_event_receive_valid_cmd 
+:      012142 module_hci_cmd_receive_spp_data:
+0x3a75 012143 fetch 1 ,mem_ui_state_map 
+0x3a76 012144 bbit0 ui_state_bt_spp_conn ,module_hci_event_receive_invalid_cmd 
+0x3a77 012145 call app_check_sniff 
+0x3a78 012146 branch module_hci_cmd_spp_exit_sniff ,true 
+0x3a79 012147 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3a7a 012149 call module_spp_clear_last_transmite_clock 
+0x3a7b 012150 fetch 1 ,mem_remote_credits 
+0x3a7c 012151 rtn blank 
+0x3a7d 012152 fetch 2 ,mem_nl_rx_len_all 
+0x3a7e 012153 bne 0 ,module_hci_cmd_pass_init_ng_rx_len_all 
+0x3a7f 012154 fetch 1 ,mem_module_uart_len 
+0x3a80 012155 store 2 ,mem_nl_rx_len_all 
+0x3a81 012157 copy rega ,contru 
+0x3a82 012160 copy contru ,pdata 
+0x3a83 012161 store 2 ,mem_nl_rx_data_src 
+:      012162 module_hci_cmd_pass_init_ng_rx_len_all:
+0x3a84 012163 call module_hci_cmd_get_current_packet_len_and_remain_len 
+0x3a85 012164 branch spp_tx_rfcomm_packet 
+:      012166 module_hci_cmd_spp_exit_sniff:
+0x3a86 012167 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3a87 012168 branch module_exit_sniff 
+:      012170 module_hci_cmd_get_current_packet_len_and_remain_len:
+0x3a88 012171 call module_hci_cmd_get_current_patcket_len 
+0x3a89 012172 fetch 2 ,mem_nl_rx_len_all 
+0x3a8a 012173 fetcht 2 ,mem_current_packet_length 
+0x3a8b 012174 isub temp ,pdata 
+0x3a8c 012175 store 2 ,mem_nl_rx_len_all 
+0x3a8d 012176 rtn 
+:      012178 module_hci_cmd_get_current_patcket_len:
+0x3a8e 012179 fetch 2 ,mem_nl_rx_len_all 
+0x3a8f 012180 arg dm_refcom_buff_len ,temp 
+0x3a90 012181 call not_greater_than 
+0x3a91 012182 fetcht 2 ,mem_rfcomm_max_frame_size 
+0x3a92 012183 call not_greater_than 
+0x3a93 012184 fetcht 2 ,mem_pn_max_frame_size 
+0x3a94 012185 call not_greater_than 
+0x3a95 012186 store 2 ,mem_current_packet_length 
+0x3a96 012187 rtn 
+:      012189 module_hci_command_tx_spp_tx_complete:
+0x3a97 012190 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3a98 012191 jam hci_cmd_spp_data_req ,mem_module_uart_opcode 
+0x3a99 012192 branch module_hci_event_receive_valid_cmd 
+:      012196 module_hci_cmd_receive_le_data:
+0x3a9a 012197 fetch 2 ,mem_ui_state_map 
+0x3a9b 012198 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+0x3a9c 012199 call module_check_ble_encrypt_state 
+0x3a9d 012200 branch module_hci_event_receive_invalid_cmd ,user 
+0x3a9e 012201 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3a9f 012202 fetch 1 ,mem_module_flag 
+0x3aa0 012203 bbit1 module_flag_ble_data_finish ,module_hci_cmd_receive_le_data_finish 
+0x3aa1 012204 fetch 1 ,mem_module_hci_notify_len 
+0x3aa2 012205 nrtn blank 
+0x3aa3 012206 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3aa4 012207 ifetch 2 ,contru 
+0x3aa5 012208 store 2 ,mem_module_hci_notify_handle 
+0x3aa6 012209 copy contru ,pdata 
+0x3aa7 012210 store 2 ,mem_module_hci_nofiy_addr 
+0x3aa8 012211 fetch 1 ,mem_module_uart_len 
+0x3aa9 012212 pincrease -2 
+0x3aaa 012213 nbranch module_hci_event_receive_invalid_cmd ,positive 
+0x3aab 012214 branch module_hci_event_receive_invalid_cmd ,zero 
+0x3aac 012215 store 1 ,mem_module_hci_notify_len 
+0x3aad 012216 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3aae 012217 call le_set_config_more_data 
+0x3aaf 012218 call module_hci_cmd_transmit_le_notify 
+0x3ab0 012219 call module_hci_cmd_transmit_le_notify 
+0x3ab1 012220 call module_hci_cmd_transmit_le_notify 
+0x3ab2 012221 fetch 1 ,mem_module_flag 
+0x3ab3 012222 rtnbit0 module_flag_ble_data_finish 
+:      012223 module_hci_cmd_receive_le_data_finish:
+0x3ab4 012224 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3ab5 012225 call module_clear_le_tx_data_flag 
+0x3ab6 012226 branch module_hci_event_receive_valid_cmd 
+:      012228 module_hci_cmd_transmit_le_notify:
+0x3ab7 012229 fetch 1 ,mem_module_hci_notify_len 
+0x3ab8 012230 rtn blank 
+0x3ab9 012231 call le_fifo_check_nearly_full 
+0x3aba 012232 nrtn blank 
+0x3abb 012233 call module_get_le_remote_mtu 
+0x3abc 012234 bpatch patch1c_1 ,mem_patch1c 
+0x3abd 012235 add temp ,-3 ,pdata 
+0x3abe 012236 fetcht 1 ,mem_module_hci_notify_len 
+0x3abf 012237 call not_greater_than 
+0x3ac0 012238 copy pdata ,rega 
+0x3ac1 012239 copy temp ,pdata 
+0x3ac2 012240 isub rega ,pdata 
+0x3ac3 012241 store 1 ,mem_module_hci_notify_len 
+0x3ac4 012242 fetcht 2 ,mem_module_hci_notify_handle 
+0x3ac5 012243 call le_att_malloc_tx_notify 
+0x3ac6 012244 fetch 2 ,mem_module_hci_nofiy_addr 
+0x3ac7 012245 copy pdata ,contru 
+0x3ac8 012246 copy rega ,loopcnt 
+0x3ac9 012247 call uart_copy_rx_bytes_fast 
+0x3aca 012248 copy contru ,pdata 
+0x3acb 012249 store 2 ,mem_module_hci_nofiy_addr 
+0x3acc 012250 fetch 1 ,mem_module_hci_notify_len 
+0x3acd 012251 nrtn blank 
+0x3ace 012252 branch module_set_le_tx_data_flag 
+:      012256 module_get_le_remote_mtu:
+0x3acf 012257 arg 0x17 ,temp 
+0x3ad0 012258 fetch 1 ,mem_module_flag 
+0x3ad1 012259 rtnbit1 module_flag_ble_send_mtu23 
+0x3ad2 012260 fetcht 2 ,mem_le_remote_mtu 
+0x3ad3 012261 rtn 
+:      012263 module_check_ble_encrypt_state:
+0x3ad4 012264 fetch 1 ,mem_module_flag 
+0x3ad5 012265 bbit1 module_flag_ble_data_encrypt ,le_check_encrypt_state 
+0x3ad6 012266 branch disable_user 
+:      012270 module_hci_cmd_inquire_status:
+0x3ad7 012271 branch module_hci_event_status_res 
+:      012275 module_hci_cmd_set_pairing_mode:
+0x3ad8 012276 copy rega ,contru 
+0x3ad9 012277 ifetch 1 ,contru 
+0x3ada 012278 beq pairing_pincode ,module_hci_pairing_pincode_mode 
+0x3adb 012279 beq pairing_justwork ,module_hci_pairing_just_work_mode 
+0x3adc 012280 beq pairing_passkey ,module_hci_pairing_passkey 
+0x3add 012281 beq pairing_confirm ,module_hci_pairing_numeric_comparison 
+0x3ade 012282 branch module_hci_event_receive_invalid_cmd 
+:      012283 module_hci_pairing_pincode_mode:
+0x3adf 012284 call ssp_disable 
+0x3ae0 012285 jam 0 ,mem_ssp_enable 
+0x3ae1 012286 branch module_hci_event_receive_valid_cmd 
+:      012287 module_hci_pairing_just_work_mode:
+0x3ae2 012288 setarg ssp_mode_just_work_io_cap_data 
+:      012289 module_hci_sspairing_mode:
+0x3ae3 012290 store 3 ,mem_sp_iocap_local 
+0x3ae4 012291 store 1 ,mem_ssp_mode_flag 
+0x3ae5 012292 call ssp_enable 
+0x3ae6 012293 jam 1 ,mem_ssp_enable 
+0x3ae7 012294 branch module_hci_event_receive_valid_cmd 
+:      012295 module_hci_pairing_passkey:
+0x3ae8 012296 setarg ssp_mode_passkey_io_cap_data 
+0x3ae9 012297 branch module_hci_sspairing_mode 
+:      012299 module_hci_pairing_numeric_comparison:
+0x3aea 012300 setarg ssp_mode_ssp_pin_io_cap_data 
+0x3aeb 012301 branch module_hci_sspairing_mode 
+:      012304 module_hci_cmd_set_pincode:
+0x3aec 012305 fetch 1 ,mem_module_uart_len 
+0x3aed 012306 sub pdata ,16 ,null 
+0x3aee 012307 nbranch module_hci_event_receive_invalid_cmd ,positive 
+0x3aef 012308 store 1 ,mem_pin_length 
+0x3af0 012309 copy pdata ,loopcnt 
+0x3af1 012310 arg mem_pin ,contw 
+0x3af2 012311 call uart_copy_rx_bytes 
+0x3af3 012312 branch module_hci_event_receive_valid_cmd 
+:      012316 module_hci_cmd_set_uart_control_mode:
+0x3af4 012317 copy rega ,contru 
+0x3af5 012318 ifetch 1 ,contru 
+0x3af6 012319 hfetcht 1 ,core_uart_ctrl 
+0x3af7 012320 nsetflag blank ,4 ,temp 
+0x3af8 012321 hstoret 1 ,core_uart_ctrl 
+0x3af9 012322 branch module_hci_event_receive_valid_cmd 
+:      012326 module_hci_cmd_set_uart_baud:
+0x3afa 012327 fetch 1 ,mem_module_uart_len 
+0x3afb 012328 copy pdata ,loopcnt 
+0x3afc 012329 copy rega ,contru 
+0x3afd 012330 call string2dec_from_uart 
+0x3afe 012331 setarg uart_clk_24 
+0x3aff 012332 idiv temp 
+0x3b00 012333 call wait_div_end 
+0x3b01 012334 quotient pdata 
+:      012335 module_hci_cmd_set_uart_baud_ok:
+0x3b02 012336 store uart_baud_len ,mem_baud 
+0x3b03 012337 call module_hci_event_receive_valid_cmd 
+0x3b04 012338 call wait_uarttx 
+0x3b05 012339 branch uart_set_baud_by_mem 
+:      012343 module_hci_cmd_version_request:
+0x3b06 012344 arg 2 ,rega 
+0x3b07 012345 arg mem_soft_version_num ,regb 
+0x3b08 012346 arg 0 ,temp 
+0x3b09 012347 branch module_hci_event_set_cmd 
+:      012348 module_hci_event_set_cmd_send_response:
+0x3b0a 012349 store 2 ,mem_event_cmd_response_content 
+0x3b0b 012350 arg mem_event_cmd_response_content ,regb 
+0x3b0c 012351 arg 0 ,temp 
+0x3b0d 012352 branch module_hci_event_set_cmd 
+:      012356 module_hci_cmd_bt_disconnect:
+0x3b0e 012357 fetch 2 ,mem_ui_state_map 
+0x3b0f 012358 bbit0 ui_state_bt_connected ,module_hci_event_receive_invalid_cmd 
+:      012359 module_hci_cmd_bt_disconnect_doing:
+0x3b10 012360 call module_hci_event_receive_valid_cmd 
+0x3b11 012361 branch app_bt_disconnect 
+:      012365 module_hci_cmd_ble_disconnect:
+0x3b12 012366 fetch 2 ,mem_ui_state_map 
+0x3b13 012367 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+:      012368 module_hci_cmd_ble_disconnect_doing:
+0x3b14 012369 call module_hci_event_receive_valid_cmd 
+0x3b15 012370 branch app_ble_disconnect 
+:      012376 module_hci_cmd_set_nvram:
+0x3b16 012377 fetch 1 ,mem_module_uart_len 
+0x3b17 012378 copy pdata ,loopcnt 
+0x3b18 012379 copy rega ,contru 
+0x3b19 012380 fetch 2 ,mem_nv_data_ptr 
+0x3b1a 012381 icopy contw 
+0x3b1b 012382 call uart_copy_rx_bytes_fast 
+0x3b1c 012383 branch module_hci_event_receive_valid_cmd 
+:      012387 module_hci_cmd_confirm_gkey:
+0x3b1d 012388 fetch 1 ,mem_ui_state_map 
+0x3b1e 012389 bbit0 ui_state_bt_connected ,module_hci_event_receive_invalid_cmd 
+0x3b1f 012390 ifetch 1 ,contru 
+0x3b20 012391 fetcht 1 ,mem_flag_mode_ssp_pin 
+0x3b21 012392 setflag blank ,flag_mode_ssp_pin_comparison_result_bit ,temp 
+0x3b22 012393 set1 flag_mode_ssp_pin_reviceve_comparison_bit ,temp 
+0x3b23 012394 storet 1 ,mem_flag_mode_ssp_pin 
+0x3b24 012396 call module_hci_event_receive_valid_cmd 
+0x3b25 012398 fetch 1 ,mem_flag_mode_ssp_pin 
+0x3b26 012399 bbit1 flag_mode_ssp_pin_recieve_dhkey_bit ,module_hci_cmd_spp_number_comparison_result_is1 
+0x3b27 012400 rtn 
+:      012402 dhkey_not_accept:
+0x3b28 012403 jam 0 ,mem_flag_mode_ssp_pin 
+0x3b29 012404 jam bt_cmd_dhkey_not_accept ,mem_fifo_temp 
+0x3b2a 012405 branch ui_ipc_send_cmd 
+:      012408 module_hci_cmd_spp_number_comparison_result_is1:
+0x3b2b 012409 bbit1 flag_mode_ssp_pin_comparison_result_bit ,number_comparison_successed 
+0x3b2c 012410 branch dhkey_not_accept 
+:      012414 module_hci_cmd_set_credit_given:
+0x3b2d 012415 fetch 1 ,mem_ui_state_map 
+0x3b2e 012416 rtnbit0 ui_state_bt_spp_conn 
+0x3b2f 012417 fetch 1 ,mem_credit_flag 
+0x3b30 012418 rtneq credit_disable 
+0x3b31 012419 ifetch 1 ,contru 
+0x3b32 012420 fetcht 1 ,mem_credit_given 
+0x3b33 012421 iadd temp ,temp 
+0x3b34 012422 storet 1 ,mem_credit_given 
+0x3b35 012423 rtn 
+:      012427 module_hci_cmd_auto_adv:
+0x3b36 012428 arg 0x40 ,loopcnt 
+0x3b37 012429 arg mem_le_adv_data_len ,contw 
+0x3b38 012430 call clear_mem 
+0x3b39 012431 setarg 0 
+0x3b3a 012432 store 1 ,mem_regb 
+0x3b3b 012433 copy rega ,contru 
+:      012434 module_hci_cmd_auto_adv_loop:
+0x3b3c 012435 copy contru ,pdata 
+0x3b3d 012436 store 2 ,mem_regc 
+0x3b3e 012437 call module_hci_cmd_auto_adv_adv_analys 
+0x3b3f 012439 fetch 1 ,mem_regb 
+0x3b40 012440 fetcht 1 ,mem_temp 
+0x3b41 012441 increase 1 ,temp 
+0x3b42 012442 iadd temp ,pdata 
+0x3b43 012443 store 1 ,mem_regb 
+0x3b44 012445 sub pdata ,31 ,null 
+0x3b45 012446 nbranch module_hci_cmd_auto_adv_store_scan ,positive 
+:      012447 module_hci_cmd_auto_adv_store_adv:
+0x3b46 012448 fetcht 1 ,mem_le_adv_data_len 
+0x3b47 012449 setarg mem_le_adv_data 
+0x3b48 012450 iadd temp ,pdata 
+0x3b49 012451 store 2 ,mem_contw 
+0x3b4a 012452 fetcht 1 ,mem_temp 
+0x3b4b 012453 increase 1 ,temp 
+0x3b4c 012454 fetch 1 ,mem_le_adv_data_len 
+0x3b4d 012455 iadd temp ,pdata 
+0x3b4e 012456 store 1 ,mem_le_adv_data_len 
+0x3b4f 012457 branch module_hci_cmd_auto_adv_store_common 
+:      012458 module_hci_cmd_auto_adv_store_scan:
+0x3b50 012459 fetcht 1 ,mem_le_scan_data_len 
+0x3b51 012460 setarg mem_le_scan_data 
+0x3b52 012461 iadd temp ,pdata 
+0x3b53 012462 store 2 ,mem_contw 
+0x3b54 012463 fetcht 1 ,mem_temp 
+0x3b55 012464 increase 1 ,temp 
+0x3b56 012465 fetch 1 ,mem_le_scan_data_len 
+0x3b57 012466 iadd temp ,pdata 
+0x3b58 012467 store 1 ,mem_le_scan_data_len 
+:      012468 module_hci_cmd_auto_adv_store_common:
+0x3b59 012469 fetch 2 ,mem_contw 
+0x3b5a 012470 copy pdata ,contw 
+0x3b5b 012471 fetch 2 ,mem_regc 
+0x3b5c 012472 copy pdata ,contru 
+0x3b5d 012474 copy temp ,loopcnt 
+0x3b5e 012475 call uart_copy_rx_bytes_fast 
+0x3b5f 012477 fetch 1 ,mem_module_uart_len 
+0x3b60 012478 fetcht 1 ,mem_regb 
+0x3b61 012479 isub temp ,null 
+0x3b62 012480 nbranch module_hci_cmd_auto_adv_loop ,zero 
+0x3b63 012481 branch module_hci_event_receive_valid_cmd 
+:      012484 module_hci_cmd_auto_adv_adv_analys:
+0x3b64 012485 ifetch 1 ,contru 
+0x3b65 012486 store 1 ,mem_temp 
+0x3b66 012487 ifetch 1 ,contru 
+0x3b67 012488 store 1 ,mem_rega 
+0x3b68 012489 rtn 
+:      012493 module_hci_cmd_power_request:
+0x3b69 012494 arg 0 ,temp 
+0x3b6a 012495 arg 2 ,rega 
+0x3b6b 012496 fetch 2 ,mem_module_vdd_quotient 
+0x3b6c 012497 store 2 ,mem_event_cmd_response_content 
+0x3b6d 012498 arg mem_event_cmd_response_content ,regb 
+0x3b6e 012499 branch module_hci_event_set_cmd 
+:      012503 module_hci_cmd_power_set:
+0x3b6f 012504 fetch 1 ,mem_module_uart_len 
+0x3b70 012505 bne 1 ,module_hci_event_receive_invalid_cmd 
+0x3b71 012506 ifetch 1 ,contru 
+0x3b72 012507 store 1 ,mem_module_read_vdd_flag 
+0x3b73 012508 setarg 0x00 
+0x3b74 012509 store 2 ,mem_module_vdd_quotient 
+0x3b75 012510 branch module_hci_event_receive_valid_cmd 
+:      012514 module_hci_cmd_passkey_entry:
+0x3b76 012515 ifetch 4 ,contru 
+0x3b77 012516 store 4 ,mem_pin 
+0x3b78 012517 jam 4 ,mem_pin_length 
+0x3b79 012518 jam 0 ,mem_authentication_passkey_times 
+0x3b7a 012519 call module_hci_event_receive_valid_cmd 
+0x3b7b 012520 branch authentication_passkey 
+:      012524 module_hci_cmd_set_gpio:
+0x3b7c 012525 fetch 1 ,mem_module_uart_len 
+0x3b7d 012526 bne 3 ,module_hci_event_receive_invalid_cmd 
+0x3b7e 012527 ifetch 1 ,contru 
+0x3b7f 012528 beq hci_cmd_config_gpio_input ,module_set_gpio_input 
+0x3b80 012529 beq hci_cmd_config_gpio_output ,module_set_gpio_output 
+0x3b81 012530 branch module_hci_event_receive_invalid_cmd 
+:      012532 module_set_gpio_input:
+0x3b82 012533 ifetcht 1 ,contru 
+0x3b83 012534 ifetch 1 ,contru 
+0x3b84 012535 beq gpio_input_high_impedance ,module_set_gpio_high_impedance 
+0x3b85 012536 nsetflag blank ,7 ,temp 
+0x3b86 012537 call gpio_config_input 
+0x3b87 012538 branch module_hci_event_receive_valid_cmd 
+:      012540 module_set_gpio_high_impedance:
+0x3b88 012541 call gpio_set_high_impedance 
+0x3b89 012542 branch module_hci_event_receive_valid_cmd 
+:      012544 module_set_gpio_output:
+0x3b8a 012545 ifetcht 1 ,contru 
+0x3b8b 012546 call gpio_config_output0 
+0x3b8c 012547 ifetch 1 ,contru 
+0x3b8d 012548 isolate1 0 ,pdata 
+0x3b8e 012549 call gpio_out_flag 
+0x3b8f 012550 branch module_hci_event_receive_valid_cmd 
+:      012554 module_hci_cmd_read_gpio:
+0x3b90 012555 fetch 1 ,mem_module_uart_len 
+0x3b91 012556 bne 1 ,module_hci_event_receive_invalid_cmd 
+0x3b92 012557 ifetcht 1 ,contru 
+0x3b93 012558 call gpio_get_bit 
+0x3b94 012559 setarg 0x0 
+0x3b95 012560 nsetflag true ,0 ,pdata 
+0x3b96 012561 arg 1 ,rega 
+0x3b97 012562 branch module_hci_event_set_cmd_send_response 
+:      012566 module_hci_cmd_le_set_pairing_mode:
+0x3b98 012567 copy rega ,contru 
+0x3b99 012568 ifetch 1 ,contru 
+0x3b9a 012569 copy pdata ,temp 
+0x3b9b 012570 beq le_pairing_mode_secure_connect_justwork ,module_le_set_pairing_mode_secure_justwork 
+0x3b9c 012571 beq le_pairing_mode_secure_connect_numeric ,module_le_set_pairing_mode_secure_numeric 
+0x3b9d 012572 beq le_pairing_mode_secure_connect_passkey ,module_le_set_pairing_mode_secure_passkey 
+0x3b9e 012573 store 1 ,mem_le_pairing_mode 
+0x3b9f 012574 beq le_pairing_mode_none ,module_le_set_no_pairing 
+0x3ba0 012575 beq le_pairing_mode_lagacy_justwork ,module_le_set_pairing_mode_lagacy_just_work 
+0x3ba1 012576 beq le_pairing_mode_lagacy_passkey ,module_le_set_pairing_mode_lagacy_passkey 
+0x3ba2 012577 branch module_hci_event_receive_invalid_cmd 
+:      012579 module_le_set_pairing_mode_secure_justwork:
+0x3ba3 012580 fetch 1 ,mem_le_secure_connect_enable 
+0x3ba4 012581 branch module_hci_event_receive_invalid_cmd ,blank 
+0x3ba5 012582 storet 1 ,mem_le_pairing_mode 
+0x3ba6 012583 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x3ba7 012584 branch module_le_set_noinputnooutput 
+:      012585 module_le_set_pairing_mode_secure_numeric:
+0x3ba8 012586 fetch 1 ,mem_le_secure_connect_enable 
+0x3ba9 012587 branch module_hci_event_receive_invalid_cmd ,blank 
+0x3baa 012588 storet 1 ,mem_le_pairing_mode 
+0x3bab 012589 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x3bac 012590 jam flag_iocap_displayyesno ,mem_le_pres_iocap 
+0x3bad 012591 branch module_hci_event_receive_valid_cmd 
+:      012592 module_le_set_pairing_mode_secure_passkey:
+0x3bae 012593 fetch 1 ,mem_le_secure_connect_enable 
+0x3baf 012594 branch module_hci_event_receive_invalid_cmd ,blank 
+0x3bb0 012595 storet 1 ,mem_le_pairing_mode 
+0x3bb1 012596 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x3bb2 012597 branch module_le_set_displayonly 
+:      012598 module_le_set_no_pairing:
+0x3bb3 012599 jam flag_le_no_bonding_no_mitm ,mem_le_pres_auth 
+:      012600 module_le_set_noinputnooutput:
+0x3bb4 012601 jam flag_iocap_noinputnooutput ,mem_le_pres_iocap 
+0x3bb5 012602 branch module_hci_event_receive_valid_cmd 
+:      012603 module_le_set_pairing_mode_lagacy_just_work:
+0x3bb6 012604 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+0x3bb7 012605 branch module_le_set_noinputnooutput 
+:      012606 module_le_set_pairing_mode_lagacy_passkey:
+0x3bb8 012607 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+:      012608 module_le_set_displayonly:
+0x3bb9 012609 jam flag_iocap_displayonly ,mem_le_pres_iocap 
+0x3bba 012610 branch module_hci_event_receive_valid_cmd 
+:      012614 module_hci_cmd_le_set_adv_data:
+0x3bbb 012615 fetch 1 ,mem_module_uart_len 
+0x3bbc 012616 sub pdata ,31 ,null 
+0x3bbd 012617 nbranch module_hci_event_receive_invalid_cmd ,positive 
+0x3bbe 012618 store 1 ,mem_le_adv_data_len 
+0x3bbf 012619 copy pdata ,loopcnt 
+0x3bc0 012620 copy rega ,contru 
+0x3bc1 012621 arg mem_le_adv_data ,contw 
+0x3bc2 012622 call uart_copy_rx_bytes_fast 
+0x3bc3 012623 branch module_hci_event_receive_valid_cmd 
+:      012627 module_hci_cmd_le_set_scan_data:
+0x3bc4 012628 fetch 1 ,mem_module_uart_len 
+0x3bc5 012629 sub pdata ,31 ,null 
+0x3bc6 012630 nbranch module_hci_event_receive_invalid_cmd ,positive 
+0x3bc7 012631 store 1 ,mem_le_scan_data_len 
+0x3bc8 012632 copy pdata ,loopcnt 
+0x3bc9 012633 copy rega ,contru 
+0x3bca 012634 arg mem_le_scan_data ,contw 
+0x3bcb 012635 call uart_copy_rx_bytes_fast 
+0x3bcc 012636 branch module_hci_event_receive_valid_cmd 
+:      012640 module_hci_cmd_le_send_conn_update_req:
+0x3bcd 012641 fetch 2 ,mem_ui_state_map 
+0x3bce 012642 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+0x3bcf 012643 fetch 1 ,mem_module_uart_len 
+0x3bd0 012644 bne 0x08 ,module_hci_event_receive_invalid_cmd 
+0x3bd1 012645 copy rega ,contru 
+0x3bd2 012646 ifetch 8 ,contru 
+0x3bd3 012647 store 8 ,mem_le_interval_min 
+0x3bd4 012648 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+0x3bd5 012649 call ui_ipc_send_cmd 
+0x3bd6 012650 branch module_hci_event_receive_valid_cmd 
+:      012654 module_hci_cmd_set_le_adv_parameter:
+0x3bd7 012655 ifetch 2 ,contru 
+0x3bd8 012656 store 2 ,mem_le_adv_interval 
+0x3bd9 012657 branch module_hci_event_receive_valid_cmd 
+:      012661 module_hci_cmd_le_start_pairing:
+0x3bda 012662 fetch 1 ,mem_le_pairing_mode 
+0x3bdb 012663 branch module_hci_event_receive_invalid_cmd ,blank 
+0x3bdc 012664 fetch 1 ,mem_le_pairing_state 
+0x3bdd 012665 bne flag_le_pairing_null ,module_hci_event_receive_invalid_cmd 
+0x3bde 012666 fetch 1 ,mem_le_enc_state 
+0x3bdf 012667 bne flag_le_enc_null ,module_hci_event_receive_invalid_cmd 
+0x3be0 012668 call check_51cmd_le_smp_sec_req 
+0x3be1 012669 branch module_hci_event_receive_valid_cmd 
+:      012673 module_hci_cmd_set_wake_gpio:
+0x3be2 012674 fetch 1 ,mem_module_uart_len 
+0x3be3 012675 bne 5 ,module_hci_event_receive_invalid_cmd 
+0x3be4 012676 ifetch 1 ,contru 
+0x3be5 012677 store 1 ,mem_module_mcu_wake_pin 
+0x3be6 012678 ifetch 4 ,contru 
+0x3be7 012679 store 4 ,mem_module_mcu_wake_delay_us 
+0x3be8 012680 fetcht 1 ,mem_module_mcu_wake_pin 
+0x3be9 012681 call gpio_config_output 
+0x3bea 012682 call module_set_mcu_wake_pin_low 
+0x3beb 012683 branch module_hci_event_receive_valid_cmd 
+:      012687 module_hci_cmd_set_tx_power:
+0x3bec 012688 fetch 1 ,mem_module_uart_len 
+0x3bed 012689 bne 0x01 ,module_hci_event_receive_invalid_cmd 
+0x3bee 012690 ifetch 1 ,contru 
+0x3bef 012691 store 1 ,mem_tx_power 
+0x3bf0 012692 branch module_hci_event_receive_valid_cmd 
+:      012696 module_hci_cmd_le_confirm_gkey:
+0x3bf1 012697 ifetch 1 ,contru 
+0x3bf2 012698 beq 0x01 ,module_hci_cmd_le_confirm_gkey_fail 
+0x3bf3 012699 fetch 1 ,mem_le_secure_connect_state 
+0x3bf4 012700 beq le_sc_stat_send_public_key ,module_hci_cmd_le_confirm_gkey_ok 
+0x3bf5 012701 beq le_sc_stat_receive_dhkey ,module_hci_cmd_le_confirm_gkey_ok 
+0x3bf6 012702 beq le_sc_stat_wait_confirm_gkey ,module_hci_cmd_le_confirm_gkey_ok 
+0x3bf7 012703 branch module_hci_event_receive_invalid_cmd 
+:      012704 module_hci_cmd_le_confirm_gkey_ok:
+0x3bf8 012705 jam flag_le_sc_confrim_gkey_ok ,mem_le_sc_confirm_gkey_flag 
+0x3bf9 012706 branch module_hci_event_receive_valid_cmd 
+:      012708 module_hci_cmd_le_confirm_gkey_fail:
+0x3bfa 012709 call le_send_pairing_confirm_value_failed 
+0x3bfb 012710 branch module_hci_event_receive_valid_cmd 
+:      012714 module_hci_cmd_set_reject_justwork_flag:
+0x3bfc 012715 fetch 1 ,mem_module_uart_len 
+0x3bfd 012716 bne 0x01 ,module_hci_event_receive_invalid_cmd 
+0x3bfe 012717 call module_hci_event_receive_valid_cmd 
+0x3bff 012718 ifetch 1 ,contru 
+0x3c00 012719 branch classic_bt_clr_reject_justwork_flag ,blank 
+0x3c01 012720 branch classic_bt_set_reject_justwork_flag 
+:      012724 module_hci_cmd_reset_chip:
+0x3c02 012725 call module_hci_event_receive_valid_cmd 
+0x3c03 012726 call wait_uarttx 
+0x3c04 012727 jam 0x01 ,core_reset 
+0x3c05 012728 branch loop 
+:      012732 module_hci_cmd_le_set_fixed_passkey:
+0x3c06 012733 fetch 1 ,mem_module_uart_len 
+0x3c07 012734 beq 0 ,module_hci_event_receive_invalid_cmd 
+0x3c08 012735 ifetch 1 ,contru 
+0x3c09 012736 branch module_hci_cmd_le_set_random_passkey ,blank 
+0x3c0a 012737 fetch 1 ,mem_module_uart_len 
+0x3c0b 012738 bne 5 ,module_hci_event_receive_invalid_cmd 
+0x3c0c 012739 ifetch 4 ,contru 
+0x3c0d 012740 arg 1000000 ,temp 
+0x3c0e 012741 isub temp ,null 
+0x3c0f 012742 branch module_hci_event_receive_invalid_cmd ,positive 
+0x3c10 012743 store 4 ,mem_le_tk 
+0x3c11 012744 call le_set_config_fixed_tk 
+0x3c12 012745 branch module_hci_event_receive_valid_cmd 
+:      012747 module_hci_cmd_le_set_random_passkey:
+0x3c13 012748 call le_clr_config_fixed_tk 
+0x3c14 012749 branch module_hci_event_receive_valid_cmd 
+:      012753 module_hci_test_cmde_close_lpm:
+0x3c15 012754 jam 0 ,mem_lpm_mode 
+0x3c16 012755 branch module_hci_event_receive_valid_cmd 
+:      012760 module_hci_event_receive_invalid_cmd:
+0x3c17 012761 arg 1 ,temp 
+0x3c18 012762 arg 0 ,rega 
+0x3c19 012763 branch module_hci_event_set_cmd 
+:      012766 module_hci_event_receive_valid_cmd:
+0x3c1a 012767 arg 0 ,temp 
+0x3c1b 012768 arg 0 ,rega 
+0x3c1c 012769 branch module_hci_event_set_cmd 
+:      012773 module_hci_event_spp_connect:
+0x3c1d 012774 jam hci_event_spp_conn_rep ,mem_module_uart_opcode 
+0x3c1e 012775 branch module_hci_event_enter_standby_mode_len0 
+:      012779 module_hci_event_le_connect:
+0x3c1f 012780 jam hci_event_le_conn_rep ,mem_module_uart_opcode 
+0x3c20 012781 branch module_hci_event_enter_standby_mode_len0 
+:      012785 module_hci_event_spp_disconnect:
+0x3c21 012786 jam hci_event_spp_dis_rep ,mem_module_uart_opcode 
+0x3c22 012787 branch module_hci_event_enter_standby_mode_len0 
+:      012791 module_hci_event_le_disconnect:
+0x3c23 012792 jam hci_event_le_dis_rep ,mem_module_uart_opcode 
+0x3c24 012793 branch module_hci_event_enter_standby_mode_len0 
+:      012801 module_hci_event_set_cmd:
+0x3c25 012802 fetch 1 ,mem_module_uart_opcode 
+0x3c26 012803 copy pdata ,regc 
+0x3c27 012804 jam hci_event_cmd_res ,mem_module_uart_opcode 
+0x3c28 012805 setarg 2 
+0x3c29 012806 iadd rega ,pdata 
+0x3c2a 012807 call module_hci_prepare_tx 
+0x3c2b 012808 copy regc ,pdata 
+0x3c2c 012809 istore 1 ,contwu 
+0x3c2d 012810 istoret 1 ,contwu 
+0x3c2e 012811 copy rega ,loopcnt 
+0x3c2f 012812 copy regb ,contr 
+0x3c30 012813 call uart_copy_tx_bytes 
+0x3c31 012814 branch uartd_send 
+:      012818 module_hci_event_receive_spp_data:
+0x3c32 012820 call module_spp_clear_last_transmite_clock 
+0x3c33 012821 jam hci_event_spp_data_rep ,mem_module_uart_opcode 
+0x3c34 012822 fetch 1 ,mem_current_length 
+0x3c35 012823 rtn blank 
+0x3c36 012824 call module_hci_prepare_tx 
+0x3c37 012825 fetch 1 ,mem_current_length 
+0x3c38 012826 copy pdata ,loopcnt 
+0x3c39 012827 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x3c3a 012828 copy pdata ,contr 
+0x3c3b 012829 call uart_copy_tx_bytes_fast 
+0x3c3c 012830 branch uartd_send 
+:      012834 module_hci_event_receive_le_data:
+0x3c3d 012835 jam hci_event_le_data_rep ,mem_module_uart_opcode 
+0x3c3e 012836 fetch 1 ,mem_module_le_rx_data_len 
+0x3c3f 012837 icopy loopcnt 
+0x3c40 012838 increase 2 ,pdata 
+0x3c41 012839 call module_hci_prepare_tx 
+0x3c42 012840 fetch 2 ,mem_module_le_rx_data_handle 
+0x3c43 012841 istore 2 ,contwu 
+0x3c44 012842 fetch 2 ,mem_module_le_rx_data_address 
+0x3c45 012843 icopy contr 
+0x3c46 012844 call uart_copy_tx_bytes_fast 
+0x3c47 012845 branch uartd_send 
+:      012849 module_hci_event_enter_standby_mode:
+0x3c48 012850 jam hci_event_standby_rep ,mem_module_uart_opcode 
+:      012851 module_hci_event_enter_standby_mode_len0:
+0x3c49 012852 setarg 0 
+0x3c4a 012853 call module_hci_prepare_tx 
+0x3c4b 012854 branch uartd_send 
+:      012858 module_hci_event_status_res:
+0x3c4c 012859 jam hci_event_status_res ,mem_module_uart_opcode 
+0x3c4d 012860 setarg 1 
+0x3c4e 012861 call module_hci_prepare_tx 
+0x3c4f 012863 call module_hci_read_bt_status 
+0x3c50 012865 fetch 2 ,mem_ui_state_map 
+0x3c51 012866 arg ui_state_bt_hid_conn ,queue 
+0x3c52 012867 qisolate1 pdata 
+0x3c53 012868 setflag true ,3 ,temp 
+0x3c54 012870 arg ui_state_ble_connected ,queue 
+0x3c55 012871 qisolate1 pdata 
+0x3c56 012872 setflag true ,5 ,temp 
+0x3c57 012874 fetch 1 ,mem_ui_state_map 
+0x3c58 012875 arg ui_state_bt_spp_conn ,queue 
+0x3c59 012876 qisolate1 pdata 
+0x3c5a 012877 setflag true ,4 ,temp 
+0x3c5b 012879 istoret 1 ,contwu 
+0x3c5c 012880 branch uartd_send 
+:      012884 module_hci_read_bt_status:
+0x3c5d 012885 arg 0 ,temp 
+0x3c5e 012886 fetch 1 ,mem_scan_mode 
+0x3c5f 012887 arg inq_scan_mode ,queue 
+0x3c60 012888 qisolate1 pdata 
+0x3c61 012889 setflag true ,0 ,temp 
+0x3c62 012890 arg page_scan_mode ,queue 
+0x3c63 012891 qisolate1 pdata 
+0x3c64 012892 setflag true ,1 ,temp 
+0x3c65 012894 fetch 1 ,mem_le_adv_enable 
+0x3c66 012895 arg 0 ,queue 
+0x3c67 012896 qisolate1 pdata 
+0x3c68 012897 setflag true ,2 ,temp 
+0x3c69 012898 rtn 
+:      012902 module_hci_event_store_device:
+0x3c6a 012903 jam hci_event_nvram_rep ,mem_module_uart_opcode 
+0x3c6b 012904 fetch 1 ,mem_nv_data_number 
+0x3c6c 012905 mul32 pdata ,34 ,pdata 
+0x3c6d 012906 icopy loopcnt 
+0x3c6e 012907 call module_hci_prepare_tx 
+0x3c6f 012908 fetch 2 ,mem_nv_data_ptr 
+0x3c70 012909 icopy contr 
+0x3c71 012910 call uart_copy_tx_bytes_fast 
+0x3c72 012911 branch uartd_send 
+:      012915 module_hci_event_gkey_generate:
+0x3c73 012916 jam hci_event_gkey ,mem_module_uart_opcode 
+0x3c74 012917 setarg 4 
+0x3c75 012918 call module_hci_prepare_tx 
+0x3c76 012919 fetch 4 ,mem_gkey 
+0x3c77 012920 istore 4 ,contwu 
+0x3c78 012921 branch uartd_send 
+:      012925 module_hci_event_invalid_packet:
+0x3c79 012926 jam hci_event_invalid_packet ,mem_module_uart_opcode 
+0x3c7a 012927 hfetch 2 ,core_uart_rxitems 
+0x3c7b 012928 arg 0xff ,temp 
+0x3c7c 012929 call not_greater_than 
+0x3c7d 012930 copy pdata ,loopcnt 
+0x3c7e 012931 call module_hci_prepare_tx 
+0x3c7f 012932 call uartd_prepare_rx 
+0x3c80 012933 call uart_copy_rx2tx 
+0x3c81 012934 branch uartd_send 
+:      012938 module_hci_event_passkey_entry_mode:
+0x3c82 012939 jam hci_event_get_passkey ,mem_module_uart_opcode 
+0x3c83 012940 branch module_hci_event_enter_standby_mode_len0 
+:      012944 module_hci_event_le_tk:
+0x3c84 012945 jam hci_event_le_tk ,mem_module_uart_opcode 
+0x3c85 012946 setarg 4 
+0x3c86 012947 call module_hci_prepare_tx 
+0x3c87 012948 fetch 4 ,mem_le_tk 
+0x3c88 012949 istore 4 ,contwu 
+0x3c89 012950 branch uartd_send 
+:      012954 module_hci_event_le_pairing_fail:
+0x3c8a 012955 arg flag_ble_pairing_fail ,rega 
+0x3c8b 012956 branch module_hci_event_pairing_completed 
+:      012958 module_hci_event_le_pairing_success:
+0x3c8c 012959 arg flag_ble_pairing_success ,rega 
+0x3c8d 012960 branch module_hci_event_pairing_completed 
+:      012962 module_hci_event_bt_pairing_fail:
+0x3c8e 012963 arg flag_bt_pairing_fail ,rega 
+0x3c8f 012964 branch module_hci_event_pairing_completed 
+:      012966 module_hci_event_bt_pairing_success:
+0x3c90 012967 arg flag_bt_pairing_success ,rega 
+:      012969 module_hci_event_pairing_completed:
+0x3c91 012970 jam 0 ,mem_flag_mode_ssp_pin 
+0x3c92 012971 jam hci_event_le_pairing_state ,mem_module_uart_opcode 
+0x3c93 012972 setarg 2 
+0x3c94 012973 call module_hci_prepare_tx 
+0x3c95 012974 copy rega ,pdata 
+0x3c96 012975 istore 2 ,contwu 
+0x3c97 012976 branch uartd_send 
+:      012980 module_hci_event_pause_enc:
+0x3c98 012981 arg flag_event_pause_enc ,regc 
+0x3c99 012982 branch module_hci_event_enc 
+:      012984 module_hci_event_start_enc:
+0x3c9a 012985 arg flag_event_start_enc ,regc 
+:      012987 module_hci_event_enc:
+0x3c9b 012988 jam hci_event_le_encryption_state ,mem_module_uart_opcode 
+0x3c9c 012989 setarg 1 
+0x3c9d 012990 call module_hci_prepare_tx 
+0x3c9e 012991 copy regc ,pdata 
+0x3c9f 012992 istore 1 ,contwu 
+0x3ca0 012993 branch uartd_send 
+:      012997 module_hci_event_le_gkey:
+0x3ca1 012998 jam hci_event_le_gkey ,mem_module_uart_opcode 
+0x3ca2 012999 setarg 4 
+0x3ca3 013000 call module_hci_prepare_tx 
+0x3ca4 013001 fetch 4 ,mem_gkey 
+0x3ca5 013002 istore 4 ,contwu 
+0x3ca6 013003 branch uartd_send 
+:      013014 module_hci_prepare_tx:
+0x3ca7 013015 jam 0x02 ,mem_module_uart_cmd 
+0x3ca8 013016 store 1 ,mem_module_uart_len 
+0x3ca9 013017 storet 8 ,mem_temp 
+0x3caa 013018 bpatch patch1c_2 ,mem_patch1c 
+0x3cab 013019 call module_set_mcu_wake_pin_high_delay 
+0x3cac 013020 fetcht 8 ,mem_temp 
+0x3cad 013021 call uartd_prepare_tx 
+0x3cae 013022 fetch 3 ,mem_module_uart_cmd 
+0x3caf 013023 istore 3 ,contwu 
+0x3cb0 013024 rtn 
+:      013027 module_set_mcu_wake_pin_high_delay:
+0x3cb1 013028 call module_check_mcu_wake_pin_high 
+0x3cb2 013029 rtn true 
+:      013030 module_set_mcu_wake_pin_h_delay:
+0x3cb3 013031 call module_set_mcu_wake_pin_high 
+0x3cb4 013032 fetch 4 ,mem_module_mcu_wake_delay_us 
+0x3cb5 013033 rshift2 pdata ,pdata 
+0x3cb6 013034 rtn blank 
+0x3cb7 013035 branch delay 
+:      013037 module_set_mcu_wake_pin_high:
+0x3cb8 013039 fetcht 1 ,mem_module_mcu_wake_pin 
+0x3cb9 013040 branch gpio_out_active 
+:      013042 module_check_mcu_wake_pin_high:
+0x3cba 013043 fetcht 1 ,mem_module_mcu_wake_pin 
+0x3cbb 013044 branch gpio_check_active 
+:      013046 module_set_mcu_wake_pin_low:
+0x3cbc 013047 fetcht 1 ,mem_module_mcu_wake_pin 
+0x3cbd 013048 branch gpio_out_inactive 
+:      013051 delay:
+0x3cbe 013052 increase -1 ,pdata 
+0x3cbf 013053 nop 38 
+0x3cc0 013054 nbranch delay ,blank 
+0x3cc1 013055 rtn 
+:      013064 module_le_receive_data:
+0x3cc2 013065 call module_check_ble_encrypt_state 
+0x3cc3 013066 rtn user 
+0x3cc4 013067 copy rega ,pdata 
+0x3cc5 013068 store 2 ,mem_module_le_rx_data_address 
+0x3cc6 013069 copy regb ,pdata 
+0x3cc7 013070 store 1 ,mem_module_le_rx_data_len 
+0x3cc8 013071 fetch 2 ,mem_le_att_handle 
+0x3cc9 013072 fetcht 2 ,mem_module_data_write_handle 
+0x3cca 013073 isub temp ,null 
+0x3ccb 013074 branch module_le_receive_data_ok ,zero 
+0x3ccc 013075 fetcht 2 ,mem_module_data_write_handle2 
+0x3ccd 013076 isub temp ,null 
+0x3cce 013077 nrtn zero 
+:      013078 module_le_receive_data_ok:
+0x3ccf 013079 store 2 ,mem_module_le_rx_data_handle 
+0x3cd0 013080 branch module_hci_event_receive_le_data 
+:      013085 module_exit_sniff:
+0x3cd1 013086 fetch 1 ,mem_module_flag 
+0x3cd2 013087 rtnbit1 moudle_task_unsniff 
+0x3cd3 013088 call module_set_unsniff_task_flag 
+0x3cd4 013089 branch app_bt_sniff_exit 
+:      013092 module_set_lpm_mult_2:
+0x3cd5 013093 jam 2 ,mem_lpm_mult 
+0x3cd6 013094 rtn 
+:      013098 module_bb_event_timer:
+0x3cd7 013099 branch module_read_vdd_timer 
+:      013101 module_read_vdd_timer:
+0x3cd8 013102 fetch 1 ,mem_module_read_vdd_flag 
+0x3cd9 013103 rtn blank 
+0x3cda 013104 fetch 1 ,mem_module_read_vdd_count 
+0x3cdb 013105 rtn blank 
+0x3cdc 013106 increase -1 ,pdata 
+0x3cdd 013107 store 1 ,mem_module_read_vdd_count 
+0x3cde 013108 nrtn blank 
+0x3cdf 013109 jam flag_module_read_vdd_count ,mem_module_read_vdd_count 
+0x3ce0 013110 call adc_set_mode 
+0x3ce1 013111 call vdd_calculate_by_mode 
+0x3ce2 013112 div pdata ,0x64 
+0x3ce3 013113 call wait_div_end 
+0x3ce4 013114 quotient pdata 
+0x3ce5 013115 remainder temp 
+0x3ce6 013116 store 1 ,mem_module_vdd_quotient 
+0x3ce7 013117 storet 1 ,mem_module_vdd_remainder 
+0x3ce8 013118 rtn 
+:      013121 module_control_air_flow:
+0x3ce9 013122 call check_uart_tx_buff 
+0x3cea 013123 branch app_l2cap_flow_control_enable ,positive 
+0x3ceb 013124 branch app_l2cap_flow_control_disable 
+:      013128 module_set_sniff_task_flag:
+0x3cec 013129 arg moudle_task_sniff ,queue 
+0x3ced 013130 branch module_set_state 
+:      013132 module_clear_sniff_task_flag:
+0x3cee 013133 arg moudle_task_sniff ,queue 
+0x3cef 013134 branch module_clr_state 
+:      013136 module_set_unsniff_task_flag:
+0x3cf0 013137 arg moudle_task_unsniff ,queue 
+0x3cf1 013138 branch module_set_state 
+:      013140 module_clear_unsniff_task_flag:
+0x3cf2 013141 arg moudle_task_unsniff ,queue 
+0x3cf3 013142 branch module_clr_state 
+:      013144 module_set_le_tx_data_flag:
+0x3cf4 013145 arg module_flag_ble_data_finish ,queue 
+0x3cf5 013146 branch module_set_state 
+:      013148 module_clear_le_tx_data_flag:
+0x3cf6 013149 arg module_flag_ble_data_finish ,queue 
+0x3cf7 013150 branch module_clr_state 
+:      013152 module_clr_state:
+0x3cf8 013153 fetch 1 ,mem_module_flag 
+0x3cf9 013154 qset0 pdata 
+0x3cfa 013155 store 1 ,mem_module_flag 
+0x3cfb 013156 rtn 
+:      013158 module_set_state:
+0x3cfc 013159 fetch 1 ,mem_module_flag 
+0x3cfd 013160 qset1 pdata 
+0x3cfe 013161 store 1 ,mem_module_flag 
+0x3cff 013162 rtn 
+:      013172 mouse_init:
+0x3d00 013173 call mouse_setting_config 
+0x3d01 013174 call spi_ncs_enable 
+0x3d02 013175 call mouse_init_sunt 
+0x3d03 013176 call mouse_dpi_config 
+0x3d04 013177 call spi_ncs_disable 
+0x3d05 013178 rtn wake 
+0x3d06 013179 call mouse_cheak_enable_usb 
+0x3d07 013180 call mouse_cb_fuction 
+0x3d08 013183 fetch mouse_flag_len ,mem_mouse_flag 
+0x3d09 013184 rtnbit1 mouse_enable_usb 
+0x3d0a 013185 call mouse_wakeup_from_power 
+0x3d0b 013186 rtnmark1 mark_24g 
+0x3d0c 013187 fetch 2 ,mem_ui_state_map 
+0x3d0d 013188 bbit1 ui_state_btn_down ,mouse_start_discovery 
+0x3d0e 013189 branch mouse_check_reconn_target 
+:      013192 mouse_delay_4s:
+0x3d0f 013193 fetch mouse_flag_len ,mem_mouse_flag 
+0x3d10 013194 rtnbit0 mouse_enable_init_delay 
+0x3d11 013195 arg 20 ,loopcnt 
+:      013196 mouse_delay_20ms:
+0x3d12 013197 setarg 200000 
+0x3d13 013198 call sleep 
+0x3d14 013199 loop delay_10ms 
+0x3d15 013200 rtn 
+:      013203 mouse_cheak_enable_usb:
+0x3d16 013204 fetch mouse_flag_len ,mem_mouse_flag 
+0x3d17 013205 rtnbit0 mouse_enable_usb 
+0x3d18 013206 branch usb_init 
+:      013209 mouse_cb_fuction:
+0x3d19 013210 setarg mouse_le 
+0x3d1a 013211 store 2 ,mem_cb_le_process 
+0x3d1b 013212 setarg mouse_send_process 
+0x3d1c 013213 store 2 ,mem_cb_bt_process 
+0x3d1d 013214 setarg mouse_process_lpm_before 
+0x3d1e 013215 store 2 ,mem_cb_before_lpm 
+0x3d1f 013216 setarg mouse_priority_bb_event 
+0x3d20 013217 store 2 ,mem_cb_bb_event_process 
+0x3d21 013218 setarg mouse_idle 
+0x3d22 013219 store 2 ,mem_cb_idle_process 
+0x3d23 013220 setarg mouse_before_hibernate 
+0x3d24 013221 store 2 ,mem_cb_before_hibernate 
+0x3d25 013222 setarg le_mouse_bb_event_connect_complete 
+0x3d26 013223 store 2 ,mem_cb_att_write 
+0x3d27 013225 call g24_head_ptr2regc 
+0x3d28 013226 setarg mouse_g24_package_data 
+0x3d29 013227 add regc ,offset_24g_cb_data ,contw 
+0x3d2a 013228 istore 2 ,contw 
+0x3d2b 013229 setarg mouse_g24_enter_lpm 
+0x3d2c 013230 add regc ,offset_24g_cb_lpm_prepare ,contw 
+0x3d2d 013231 istore 2 ,contw 
+0x3d2e 013232 setarg mouse_lpm_before_common 
+0x3d2f 013233 add regc ,offset_24g_cb_lpm_before ,contw 
+0x3d30 013234 istore 2 ,contw 
+0x3d31 013236 setarg mouse_bb_event_timer 
+0x3d32 013237 store 2 ,mem_cb_event_timer 
+0x3d33 013238 setarg mouse_spi_write_flash_cb 
+0x3d34 013239 store 2 ,mem_cb_spi_flash_write_complate 
+0x3d35 013240 rtn 
+:      013241 mouse_spi_write_flash_cb:
+:      013242 mouse_spi_init:
+0x3d36 013243 fetch mouse_flag_len ,mem_mouse_flag 
+0x3d37 013244 bbit0 mouse_enable_spi2 ,spid_init 
+0x3d38 013245 branch spid_init2 
+:      013247 mouse_setting_config:
+0x3d39 013248 rtn wake 
+0x3d3a 013249 call g24_set_device_addr 
+0x3d3b 013250 call mouse_gpio_init 
+0x3d3c 013251 call mouse_param_init 
+0x3d3d 013252 call mouse_adc_init 
+0x3d3e 013253 call le_set_config_fixed_ltk 
+0x3d3f 013254 call le_set_justwork 
+0x3d40 013255 call le_set_fixed_ltk 
+0x3d41 013256 call le_set_config_read_authentication 
+0x3d42 013257 fetch mouse_flag_len ,mem_mouse_flag 
+0x3d43 013258 bbit1 mouse_enable_eeprom ,mouse_init_iic 
+0x3d44 013259 bbit1 mouse_enable_flash ,mouse_load_flash_info_cheak 
+0x3d45 013260 rtn 
+:      013262 mouse_init_iic:
+0x3d46 013263 call iic_init_390k 
+0x3d47 013264 fetch mouse_flag_len ,mem_mouse_flag 
+0x3d48 013265 isolate1 mouse_enable_2k_eeprom ,pdata 
+0x3d49 013266 ncall clear_eeprom_size_2k ,true 
+0x3d4a 013267 call mouse_load_eeprom_dpi 
+0x3d4b 013268 call mouse_init_environment 
+0x3d4c 013269 call mouse_set_24g_addr_eeprom 
+0x3d4d 013270 branch iicd_read_eep_data 
+:      013272 mouse_wakeup_from_power:
+0x3d4e 013273 fetch mouse_flag_len ,mem_mouse_flag 
+0x3d4f 013274 bbit0 mouse_enable_wakeup_from_power ,mouse_wakeup_no_from_power 
+0x3d50 013275 fetch 1 ,mem_wakup_from_power_flag 
+0x3d51 013276 isolate0 gpio_latch ,pdata 
+0x3d52 013277 nrtn true 
+:      013278 mouse_wakeup_no_from_power:
+0x3d53 013279 fetch 1 ,mem_reconn_times_init 
+0x3d54 013280 store 1 ,mem_reconn_times 
+0x3d55 013281 fetch 1 ,mem_config_function_enable 
+0x3d56 013282 rtnbit1 enable_select_device_by_switch 
+:      013283 mouse_start_24g_mode:
+0x3d57 013284 fetch mouse_flag_len ,mem_mouse_flag 
+0x3d58 013285 rtnbit0 mouse_enable_24g 
+0x3d59 013286 bbit1 mouse_enable_auto_24g_paring ,g24_auto_pair_start 
+0x3d5a 013287 branch g24_check_51cmd_start_24g 
+:      013288 le_mouse_bb_event_connect_complete:
+0x3d5b 013289 fetch 1 ,mem_le_att_handle 
+0x3d5c 013290 sub pdata ,26 ,pdata 
+0x3d5d 013291 nrtn zero 
+0x3d5e 013292 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+0x3d5f 013293 call ui_ipc_send_cmd 
+:      013294 mouse_le_write_enable:
+0x3d60 013295 arg write_req_enable_flag ,queue 
+0x3d61 013296 branch mouse_le_enable_connect_flag 
+:      013298 mouse_dpi_up:
+0x3d62 013299 fetch 1 ,mem_mouse_dpi_button_state 
+0x3d63 013300 rtneq dpi_button_state_up 
+0x3d64 013301 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+0x3d65 013302 rtn 
+:      013303 mouse_dpi_config:
+0x3d66 013304 fetch 1 ,mem_config_sensor_motion 
+0x3d67 013305 and pdata ,0x0f ,pdata 
+0x3d68 013306 store 1 ,mem_mouse_dpi 
+0x3d69 013307 branch mouse_seting_dpi + 2 
+:      013310 mouse_dpi_cheak:
+0x3d6a 013311 fetcht 1 ,mem_dpi_button_gpio 
+0x3d6b 013312 call gpio_get_bit 
+0x3d6c 013313 nbranch mouse_dpi_up ,true 
+:      013314 mouse_dpi_down:
+0x3d6d 013315 fetch 1 ,mem_mouse_dpi_button_state 
+0x3d6e 013316 rtneq dpi_button_state_down 
+0x3d6f 013317 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+0x3d70 013318 fetch 1 ,mem_mouse_dpi 
+0x3d71 013319 increase 1 ,pdata 
+0x3d72 013320 and pdata ,0x03 ,pdata 
+0x3d73 013321 store 1 ,mem_mouse_dpi 
+0x3d74 013322 call mouse_seting_dpi 
+0x3d75 013323 fetch mouse_flag_len ,mem_mouse_flag 
+0x3d76 013324 bbit1 mouse_enable_eeprom ,mouse_store_eerpom_dpi 
+0x3d77 013325 bbit1 mouse_enable_flash ,mouse_before_store_flash_cpi 
+0x3d78 013326 rtn 
+:      013327 mouse_before_store_flash_cpi:
+0x3d79 013328 arg mouse_spi2_clk_gpio ,temp 
+0x3d7a 013329 call gpio_config_output 
+0x3d7b 013330 arg mouse_spi2_sdio_gpio ,temp 
+0x3d7c 013331 call gpio_config_output 
+0x3d7d 013332 branch mouse_store_flash_device_info 
+:      013334 mouse_seting_dpi:
+0x3d7e 013335 bpatch patch1c_3 ,mem_patch1c 
+0x3d7f 013336 call mosue_dpi_led_blink_init 
+0x3d80 013337 fetch 1 ,mem_config_sensor_type 
+0x3d81 013338 beq p3610 ,mouse_seting_3610_dpi 
+0x3d82 013339 beq p3212 ,mouse_seting_3212_dpi 
+0x3d83 013340 fetch 1 ,mem_mouse_dpi 
+0x3d84 013341 beq mouse_dpi_level1 ,mouse_set_cpi1 
+0x3d85 013342 beq mouse_dpi_level2 ,mouse_set_cpi2 
+0x3d86 013343 beq mouse_dpi_level3 ,mouse_set_cpi3 
+0x3d87 013344 beq mouse_dpi_level4 ,mouse_set_cpi4 
+:      013345 mouse_set_cpi2:
+0x3d88 013346 fetch 1 ,mem_320x_dpi_2 
+0x3d89 013347 branch mouse_p3205_dpi 
+:      013348 mouse_set_cpi1:
+0x3d8a 013349 fetch 1 ,mem_320x_dpi_1 
+0x3d8b 013350 branch mouse_p3205_dpi 
+:      013351 mouse_set_cpi3:
+0x3d8c 013352 fetch 1 ,mem_320x_dpi_3 
+0x3d8d 013353 branch mouse_p3205_dpi 
+:      013354 mouse_set_cpi4:
+0x3d8e 013355 fetch 1 ,mem_320x_dpi_4 
+0x3d8f 013356 branch mouse_p3205_dpi 
+:      013357 moue_seting_cpi_count:
+0x3d90 013358 fetch 1 ,mem_config_sensor_type 
+0x3d91 013359 rtneq p3065_xy 
+0x3d92 013360 fetch 1 ,mem_mouse_cpi_count 
+0x3d93 013361 increase 1 ,pdata 
+0x3d94 013362 store 1 ,mem_mouse_cpi_count 
+0x3d95 013363 rtn 
+:      013365 mouse_seting_3212_dpi:
+0x3d96 013366 fetch 1 ,mem_mouse_dpi 
+0x3d97 013367 beq mouse_dpi_level1 ,mouse_set_p3212_cpi1 
+0x3d98 013368 beq mouse_dpi_level2 ,mouse_set_p3212_cpi2 
+0x3d99 013369 beq mouse_dpi_level3 ,mouse_set_p3212_cpi3 
+0x3d9a 013370 beq mouse_dpi_level4 ,mouse_set_p3212_cpi4 
+:      013371 mouse_set_p3212_cpi2:
+0x3d9b 013372 fetch 1 ,mem_3212_dpi_2 
+0x3d9c 013373 branch mouse_p3212_dpi 
+:      013374 mouse_set_p3212_cpi1:
+0x3d9d 013375 fetch 1 ,mem_3212_dpi_1 
+0x3d9e 013376 branch mouse_p3212_dpi 
+:      013377 mouse_set_p3212_cpi3:
+0x3d9f 013378 fetch 1 ,mem_3212_dpi_3 
+0x3da0 013379 branch mouse_p3212_dpi 
+:      013380 mouse_set_p3212_cpi4:
+0x3da1 013381 fetch 1 ,mem_3212_dpi_4 
+:      013382 mouse_p3212_dpi:
+0x3da2 013383 store 1 ,mem_mouse_cpi_count 
+0x3da3 013384 lshift8 pdata ,pdata 
+0x3da4 013385 copy pdata ,rega 
+0x3da5 013386 add pdata ,mouse_p3212_dpi_xaddress ,pdata 
+0x3da6 013387 call twspi_write 
+0x3da7 013388 copy rega ,pdata 
+0x3da8 013389 add pdata ,mouse_p3212_dpi_yaddress ,pdata 
+0x3da9 013390 branch twspi_write 
+:      013392 mouse_seting_3610_dpi:
+0x3daa 013393 fetch 1 ,mem_mouse_dpi 
+0x3dab 013394 beq mouse_dpi_level1 ,mouse_set_p3610_cpi1 
+0x3dac 013395 beq mouse_dpi_level2 ,mouse_set_p3610_cpi2 
+0x3dad 013396 beq mouse_dpi_level3 ,mouse_set_p3610_cpi3 
+0x3dae 013397 beq mouse_dpi_level4 ,mouse_set_p3610_cpi4 
+:      013398 mouse_set_p3610_cpi2:
+0x3daf 013399 fetch 1 ,mem_3610_dpi_2 
+0x3db0 013400 branch mouse_p3610_dpi 
+:      013401 mouse_set_p3610_cpi1:
+0x3db1 013402 fetch 1 ,mem_3610_dpi_1 
+0x3db2 013403 branch mouse_p3610_dpi 
+:      013404 mouse_set_p3610_cpi3:
+0x3db3 013405 fetch 1 ,mem_3610_dpi_3 
+0x3db4 013406 branch mouse_p3610_dpi 
+:      013407 mouse_set_p3610_cpi4:
+0x3db5 013408 fetch 1 ,mem_3610_dpi_4 
+:      013409 mouse_p3610_dpi:
+0x3db6 013410 store 1 ,mem_mouse_cpi_count 
+0x3db7 013411 call mouse_spi_sdio_gpio_pollup 
+0x3db8 013412 fetch 1 ,mem_mouse_cpi_count 
+:      013413 mouse_reset_p3610_dpi:
+0x3db9 013414 add pdata ,0x80 ,pdata 
+0x3dba 013415 lshift8 pdata ,pdata 
+0x3dbb 013416 add pdata ,mouse_p3610_dpi_address ,pdata 
+0x3dbc 013417 copy pdata ,rega 
+0x3dbd 013418 branch mouse_set_sensor_reg 
+:      013420 mouse_p3205_dpi:
+0x3dbe 013421 store 1 ,mem_mouse_cpi_count 
+0x3dbf 013422 call moue_seting_cpi_count 
+0x3dc0 013423 fetch 1 ,mem_mouse_cpi_count 
+0x3dc1 013424 setarg mouse_dpi_address 
+0x3dc2 013425 call twspi_read 
+0x3dc3 013426 and pdata ,0xf8 ,temp 
+0x3dc4 013427 fetch 1 ,mem_mouse_cpi_count 
+0x3dc5 013428 iadd temp ,pdata 
+0x3dc6 013429 lshift8 pdata ,pdata 
+0x3dc7 013430 add pdata ,mouse_dpi_address ,pdata 
+0x3dc8 013431 branch twspi_write 
+:      013434 mouse_init_environment:
+0x3dc9 013435 call app_initflag_check 
+0x3dca 013436 branch mouse_eeprom_load_recon_info ,zero 
+0x3dcb 013437 call mouse_ble_init_address 
+0x3dcc 013438 call mouse_store_eeprom_device_info 
+0x3dcd 013439 branch app_initflag_store 
+:      013442 mouse_24g_pairing_button:
+0x3dce 013443 fetch 2 ,mem_24g_pairing_timer_count 
+0x3dcf 013444 rtn blank 
+0x3dd0 013445 fetch mouse_flag_len ,mem_mouse_flag 
+0x3dd1 013446 rtnbit0 mouse_enable_24g 
+0x3dd2 013447 rtnbit1 mosue_24g_pairing_flag 
+0x3dd3 013448 rtnmark1 mark_24g 
+0x3dd4 013449 call mouse_check_key_gpio 
+0x3dd5 013450 rtnne mouse_lmr_button 
+0x3dd6 013451 call mouse_devce_led_off 
+0x3dd7 013452 arg mosue_24g_pairing_flag ,queue 
+0x3dd8 013453 call mouse_enable_function_flag 
+0x3dd9 013454 setarg 0 
+0x3dda 013455 store 2 ,mem_mouse_direct_timer 
+0x3ddb 013456 store 1 ,mem_mouse_send_blank_timer 
+0x3ddc 013457 call g24_set0_mem_check_dongle_times 
+0x3ddd 013459 fetch 2 ,mem_ui_state_map 
+0x3dde 013460 bbit1 ui_state_bt_reconnect ,mouse_cancel_reconnect 
+0x3ddf 013461 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+0x3de0 013462 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+0x3de1 013463 call mouse_stop_discovery 
+0x3de2 013464 branch g24_start_pairing_sm1 
+:      013467 mouse_idle:
+0x3de3 013468 call mouse_24g_pairing_button 
+0x3de4 013469 call ui_check_paring_button 
+0x3de5 013470 call mouse_dpi_cheak 
+0x3de6 013471 call mouse_usb_isr 
+0x3de7 013472 call mouse_wheel_check 
+0x3de8 013473 branch mouse_usb_mode 
+:      013474 mouse_usb_isr:
+0x3de9 013475 fetch mouse_flag_len ,mem_mouse_flag 
+0x3dea 013476 rtnbit0 mouse_enable_usb 
+0x3deb 013477 call usb_isr 
+0x3dec 013478 branch usb_offline_state 
+:      013480 mouse_cheak_usb:
+0x3ded 013481 hfetch 1 ,core_usb_addr 
+0x3dee 013482 bbit0 7 ,mouse_usb_no_exsit 
+0x3def 013483 bbit1 7 ,mouse_usb_exsit 
+0x3df0 013484 rtn 
+:      013485 mouse_usb_no_exsit:
+0x3df1 013486 fetch 1 ,mem_usb_addr 
+0x3df2 013487 rtnbit0 7 
+0x3df3 013488 branch soft_reset_chip 
+:      013489 mouse_usb_exsit:
+0x3df4 013490 fetch 1 ,mem_usb_addr 
+0x3df5 013491 rtnbit1 7 
+0x3df6 013492 branch mouse_stop_bluetooth_mode 
+:      013494 mouse_usb_mode:
+0x3df7 013495 call mouse_cheak_usb 
+0x3df8 013496 hfetch 1 ,core_usb_addr 
+0x3df9 013497 store 1 ,mem_usb_addr 
+0x3dfa 013498 rtnbit0 7 
+0x3dfb 013499 call mouse_clkn_check 
+0x3dfc 013500 fetch 4 ,mem_btclk_sensor 
+0x3dfd 013501 fetcht 1 ,mem_wire_usb_interval 
+0x3dfe 013502 iadd temp ,temp 
+0x3dff 013503 copy clkn_bt ,pdata 
+0x3e00 013504 isub temp ,null 
+0x3e01 013505 nrtn positive 
+0x3e02 013506 store 4 ,mem_btclk_sensor 
+0x3e03 013507 call mouse_motion 
+0x3e04 013508 nrtn user 
+0x3e05 013509 jam 4 ,mem_usb_tx_enable 
+0x3e06 013510 branch mouse_wired_to_usb 
+:      013512 mouse_clkn_check:
+0x3e07 013513 fetcht 4 ,mem_btclk_sensor 
+0x3e08 013514 copy clkn_bt ,pdata 
+0x3e09 013515 isub temp ,null 
+0x3e0a 013516 ncall mouse_clkn_timeout ,positive 
+0x3e0b 013517 rtn 
+:      013518 mouse_clkn_timeout:
+0x3e0c 013519 setarg 0 
+0x3e0d 013520 store 4 ,mem_btclk_sensor 
+0x3e0e 013521 rtn 
+:      013525 mouse_wired_to_usb:
+0x3e0f 013526 fetch 1 ,mem_usb_tx_enable 
+0x3e10 013527 rtnbit0 2 
+0x3e11 013528 branch mouse_data_push 
+:      013529 mouse_data_push:
+0x3e12 013530 hfetch 1 ,core_usb_addr 
+0x3e13 013531 rtnbit0 7 
+0x3e14 013532 jam usb_ep2_ms ,mem_usb_ep2_data 
+0x3e15 013533 setarg ms_report_id 
+0x3e16 013534 store 1 ,mem_usb_mouse_data 
+0x3e17 013535 fetch 7 ,mem_mouse_key 
+0x3e18 013536 istore 7 ,contw 
+0x3e19 013537 rtn 
+:      013540 mouse_enable_clock_qdecoder:
+0x3e1a 013541 hfetch 2 ,core_clkoff 
+0x3e1b 013542 set0 clock_off_qdecoder ,pdata 
+0x3e1c 013543 hstore 2 ,core_clkoff 
+0x3e1d 013544 rtn 
+:      013546 mouse_param_init:
+0x3e1e 013547 setarg 0x8c00 
+0x3e1f 013548 store 2 ,mem_ui_uuid_table 
+0x3e20 013549 setarg 0x8e7a 
+0x3e21 013550 store 2 ,mem_ui_le_uuid_table 
+0x3e22 013551 setarg 0x2402 
+0x3e23 013552 store 2 ,mem_fcomp_mul 
+0x3e24 013553 setarg 0x2580 
+0x3e25 013554 store 3 ,mem_class 
+0x3e26 013555 jam 3 ,mem_lpm_mult_timeout 
+0x3e27 013556 jam 8 ,mem_lpm_overhead 
+0x3e28 013557 jam dpi_button_state_up ,mem_select_device_button_statue 
+0x3e29 013558 setarg 0x0200 
+0x3e2a 013559 store 2 ,mem_lpm_interval 
+0x3e2b 013560 jam 0x17 ,mem_le_local_mtu 
+0x3e2c 013561 jam 0x17 ,mem_le_remote_mtu 
+0x3e2d 013563 setarg 0x0a77 
+0x3e2e 013564 store 2 ,mem_spi_init_clk 
+0x3e2f 013580 setsect 0 ,0x306 
+0x3e30 013581 setsect 1 ,0x4440 
+0x3e31 013582 setsect 2 ,0x10000 
+0x3e32 013583 setsect 3 ,0x4408 
+0x3e33 013584 store 9 ,mem_all_uuid_16bits 
+0x3e34 013585 setsect 0 ,0x1224 
+0x3e35 013586 setsect 1 ,0x4000 
+0x3e36 013587 setsect 2 ,0x0 
+0x3e37 013588 istore 5 ,contw 
+0x3e38 013590 setsect 0 ,0x3ffff 
+0x3e39 013591 setsect 1 ,0x2fe23 
+0x3e3a 013592 setsect 2 ,0x199d9 
+0x3e3b 013593 setsect 3 ,0x20d 
+0x3e3c 013594 store 8 ,mem_features 
+0x3e3d 013596 setarg 0x012c 
+0x3e3e 013597 store 2 ,mem_24g_pairing_timer_count 
+0x3e3f 013598 call le_modified_name 
+0x3e40 013599 fetch mouse_flag_len ,mem_mouse_flag 
+0x3e41 013600 rtnbit0 mouse_enable_gpio_control_adc_sensor 
+0x3e42 013601 call mouse_sensor_set_angle 
+0x3e43 013602 branch mouse_select_adc 
+:      013604 mouse_sensor_set_angle:
+0x3e44 013605 fetcht 1 ,mem_select_sensor_angle_gpio 
+0x3e45 013606 call gpio_config_input 
+0x3e46 013607 fetcht 1 ,mem_select_sensor_angle_gpio 
+0x3e47 013608 call gpio_get_bit 
+0x3e48 013609 jam mouse_3clk_angle ,mem_config_sensor_angle 
+0x3e49 013610 rtn true 
+0x3e4a 013611 jam mouse_12clk_angle ,mem_config_sensor_angle 
+0x3e4b 013612 rtn 
+:      013614 mouse_select_adc:
+0x3e4c 013615 fetcht 1 ,mem_select_adc_gpio 
+0x3e4d 013616 call gpio_config_input 
+0x3e4e 013617 fetcht 1 ,mem_select_adc_gpio 
+0x3e4f 013618 call gpio_get_bit 
+0x3e50 013619 jam adc_config_vinlpm ,mem_adc_config_flag 
+0x3e51 013620 rtn true 
+0x3e52 013621 jam adc_config_gpio ,mem_adc_config_flag 
+0x3e53 013622 rtn 
+:      013625 mouse_adc_init:
+0x3e54 013626 fetch 1 ,mem_adc_config_flag 
+0x3e55 013627 beq adc_config_vinlpm ,mouse_adc_init_data_vinlpm 
+0x3e56 013628 beq adc_config_hvin ,mouse_adc_init_data_hvin 
+0x3e57 013629 beq adc_config_gpio ,mouse_adc_init_data_io 
+0x3e58 013630 branch mouse_adc_init_data_vinlpm 
+:      013632 mouse_adc_init_data_vinlpm:
+0x3e59 013633 fetcht 2 ,mem_2v_adc_vinlpm_data 
+0x3e5a 013634 fetch 2 ,mem_3v_adc_vinlpm_data 
+0x3e5b 013635 isub temp ,pdata 
+0x3e5c 013636 mul32 pdata ,20 ,pdata 
+0x3e5d 013637 div pdata ,100 
+0x3e5e 013638 call wait_div_end 
+0x3e5f 013639 quotient pdata 
+0x3e60 013640 store 2 ,mem_adc_reference_voltage 
+0x3e61 013641 rtn 
+:      013642 mouse_adc_init_data_hvin:
+0x3e62 013643 fetcht 2 ,mem_1v_adc_hvin_data 
+0x3e63 013644 fetch 2 ,mem_5v_adc_hvin_data 
+0x3e64 013645 isub temp ,pdata 
+0x3e65 013646 mul32 pdata ,230 ,pdata 
+0x3e66 013647 div pdata ,400 
+0x3e67 013648 call wait_div_end 
+0x3e68 013649 quotient pdata 
+0x3e69 013650 store 2 ,mem_adc_reference_voltage 
+0x3e6a 013651 rtn 
+:      013652 mouse_adc_init_data_io:
+0x3e6b 013653 fetch 2 ,mem_1v_adc_io_data 
+0x3e6c 013654 store 2 ,mem_adc_reference_voltage 
+0x3e6d 013655 rtn 
+:      013656 mouse_gpio_init:
+0x3e6e 013657 fetcht 1 ,mem_eeprom_wp_gpio 
+0x3e6f 013658 call gpio_config_output 
+0x3e70 013659 call usb_offline_check_init 
+0x3e71 013660 fetcht 1 ,mem_lbutton_gpio 
+0x3e72 013661 call gpio_config_input 
+0x3e73 013662 fetcht 1 ,mem_rbutton_gpio 
+0x3e74 013663 call gpio_config_input 
+0x3e75 013664 fetcht 1 ,mem_mbutton_gpio 
+0x3e76 013665 call gpio_config_input 
+0x3e77 013666 fetcht 1 ,mem_sensor_data_gpio 
+0x3e78 013667 call gpio_config_input 
+0x3e79 013669 fetcht 1 ,mem_sensor_reset_gpio 
+0x3e7a 013670 call gpio_config_output 
+0x3e7b 013672 fetcht 1 ,mem_whee_a_data_gpio 
+0x3e7c 013673 call gpio_config_input 
+0x3e7d 013675 fetcht 1 ,mem_whee_b_data_gpio 
+0x3e7e 013676 call gpio_config_input 
+0x3e7f 013678 fetcht 1 ,mem_whee_ta_data_gpio 
+0x3e80 013679 call gpio_config_input 
+0x3e81 013680 fetcht 1 ,mem_whee_tb_data_gpio 
+0x3e82 013681 call gpio_config_input 
+0x3e83 013683 fetcht 1 ,mem_bk_button_gpio 
+0x3e84 013684 call gpio_config_input 
+0x3e85 013685 fetcht 1 ,mem_fw_button_gpio 
+0x3e86 013686 call gpio_config_input 
+0x3e87 013688 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+0x3e88 013689 call gpio_config_output 
+0x3e89 013691 fetcht 1 ,mem_config_device1_led_gpio 
+0x3e8a 013692 call gpio_config_output 
+0x3e8b 013694 fetcht 1 ,mem_config_device2_led_gpio 
+0x3e8c 013695 call gpio_config_output 
+0x3e8d 013697 fetcht 1 ,mem_config_device3_led_gpio 
+0x3e8e 013698 call gpio_config_output 
+0x3e8f 013700 fetcht 1 ,mem_dpi_led_gpio 
+0x3e90 013701 call gpio_config_output 
+0x3e91 013703 fetcht 1 ,mem_config_select_device_button_gpio 
+0x3e92 013704 call gpio_config_input 
+0x3e93 013706 fetcht 1 ,mem_config_bt_button_gpio 
+0x3e94 013707 call gpio_config_input 
+0x3e95 013709 fetcht 1 ,mem_dpi_button_gpio 
+0x3e96 013710 branch gpio_config_input 
+:      013712 mouse_wheel_gpio_set_wake:
+0x3e97 013713 fetcht 1 ,mem_whee_a_data_gpio 
+0x3e98 013714 call gpio_set_wake_by_current_state 
+0x3e99 013715 fetcht 1 ,mem_whee_b_data_gpio 
+0x3e9a 013716 call gpio_set_wake_by_current_state 
+0x3e9b 013717 fetcht 1 ,mem_whee_ta_data_gpio 
+0x3e9c 013718 call gpio_set_wake_by_current_state 
+0x3e9d 013719 fetcht 1 ,mem_whee_tb_data_gpio 
+0x3e9e 013720 branch gpio_set_wake_by_current_state 
+:      013722 mouse_before_hibernate_wheel_gpio_set:
+0x3e9f 013723 fetcht 1 ,mem_whee_a_data_gpio 
+0x3ea0 013724 call mouse_gpio_set_pupd_by_input 
+0x3ea1 013725 fetcht 1 ,mem_whee_b_data_gpio 
+0x3ea2 013726 call mouse_gpio_set_pupd_by_input 
+0x3ea3 013727 fetcht 1 ,mem_whee_ta_data_gpio 
+0x3ea4 013728 call mouse_gpio_set_pupd_by_input 
+0x3ea5 013729 fetcht 1 ,mem_whee_tb_data_gpio 
+0x3ea6 013730 branch mouse_gpio_set_pupd_by_input 
+:      013732 mouse_gpio_set_pupd_by_input:
+0x3ea7 013733 sub temp ,ui_button_gpio_disable ,null 
+0x3ea8 013734 rtn zero 
+0x3ea9 013735 and temp ,0x7f ,queue 
+0x3eaa 013736 hfetch 4 ,core_gpio_in 
+0x3eab 013737 qisolate1 pdata 
+0x3eac 013738 hfetch 4 ,core_gpio_pu0 
+0x3ead 013739 qsetflag true ,pdata 
+0x3eae 013740 hstore 4 ,core_gpio_pu0 
+0x3eaf 013741 hfetch 4 ,core_gpio_pd0 
+0x3eb0 013742 nqsetflag true ,pdata 
+0x3eb1 013743 hstore 4 ,core_gpio_pd0 
+0x3eb2 013744 rtn 
+:      013746 mouse_before_hibernate:
+0x3eb3 013747 enable user 
+0x3eb4 013748 hfetch 4 ,0x8138 
+0x3eb5 013749 setflag user ,26 ,pdata 
+0x3eb6 013750 hstore 4 ,core_lpm_reg 
+0x3eb7 013751 call lpm_write_ctrl 
+0x3eb8 013752 call mouse_devce_led_off 
+0x3eb9 013753 call mouse_before_hibernate_wheel_gpio_set 
+0x3eba 013755 branch mouse_lpm_before_common 
+:      013759 mouse_process_lpm_before:
+0x3ebb 013760 call mouse_lpm_before_common 
+0x3ebc 013761 fetch 1 ,mem_lpm_current_mult 
+0x3ebd 013762 nrtn blank 
+0x3ebe 013763 branch gpio_clr_wake 
+:      013765 mouse_lpm_before_common:
+0x3ebf 013766 call mouse_wheel_check 
+0x3ec0 013767 arg mouse_spi1_clk_gpio ,temp 
+0x3ec1 013768 fetch mouse_flag_len ,mem_mouse_flag 
+0x3ec2 013769 isolate1 mouse_enable_spi2 ,pdata 
+0x3ec3 013770 call mouse_spi_clk_gpio ,true 
+0x3ec4 013771 call gpio_config_output 
+0x3ec5 013772 call twspi_disable 
+0x3ec6 013776 fetcht 1 ,mem_lbutton_gpio 
+0x3ec7 013777 call gpio_set_wake_by_current_state 
+0x3ec8 013778 fetcht 1 ,mem_rbutton_gpio 
+0x3ec9 013779 call gpio_set_wake_by_current_state 
+0x3eca 013780 fetcht 1 ,mem_mbutton_gpio 
+0x3ecb 013781 call gpio_set_wake_by_current_state 
+0x3ecc 013783 fetcht 1 ,mem_bk_button_gpio 
+0x3ecd 013784 call gpio_set_wake_by_current_state 
+0x3ece 013785 fetcht 1 ,mem_fw_button_gpio 
+0x3ecf 013786 call gpio_set_wake_by_current_state 
+0x3ed0 013787 fetcht 1 ,mem_dpi_button_gpio 
+0x3ed1 013788 call gpio_set_wake_by_current_state 
+0x3ed2 013789 fetcht 1 ,mem_config_select_device_button_gpio 
+0x3ed3 013790 call gpio_set_wake_by_current_state 
+0x3ed4 013791 fetcht 1 ,mem_whee_a_data_gpio 
+0x3ed5 013792 call gpio_set_wake_by_current_state 
+0x3ed6 013793 fetcht 1 ,mem_whee_b_data_gpio 
+0x3ed7 013794 call gpio_set_wake_by_current_state 
+0x3ed8 013795 fetcht 1 ,mem_whee_ta_data_gpio 
+0x3ed9 013796 call gpio_set_wake_by_current_state 
+0x3eda 013797 fetcht 1 ,mem_whee_tb_data_gpio 
+0x3edb 013798 call gpio_set_wake_by_current_state 
+0x3edc 013799 fetcht 1 ,mem_sensor_data_gpio 
+0x3edd 013800 branch gpio_set_wake 
+:      013804 mouse_spi_clk_gpio:
+0x3ede 013805 arg mouse_spi2_clk_gpio ,temp 
+0x3edf 013806 rtn 
+:      013808 mouse_wheel_check:
+0x3ee0 013809 bpatch patch1c_4 ,mem_patch1c 
+0x3ee1 013810 call mouse_t_wheel_scan 
+0x3ee2 013811 call mouse_wheel_scan 
+0x3ee3 013812 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x3ee4 013813 fetcht 1 ,mem_wheel_tb_old_pinlevel 
+0x3ee5 013814 store 1 ,mem_wheel_tb_old_pinlevel 
+0x3ee6 013815 isub temp ,null 
+0x3ee7 013816 nbranch app_lpm_wake_auto_lock ,zero 
+0x3ee8 013817 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x3ee9 013818 fetcht 1 ,mem_mwheel_b_old_pinlevel 
+0x3eea 013819 store 1 ,mem_mwheel_b_old_pinlevel 
+0x3eeb 013820 isub temp ,null 
+0x3eec 013821 nbranch app_lpm_wake_auto_lock ,zero 
+0x3eed 013822 rtn 
+:      013823 mouse_t_wheel_scan:
+0x3eee 013824 fetch 1 ,mem_whee_ta_data_gpio 
+0x3eef 013825 rtneq gpio_disable 
+0x3ef0 013826 arg 0 ,rega 
+0x3ef1 013827 fetcht 1 ,mem_whee_ta_data_gpio 
+0x3ef2 013828 call gpio_get_bit 
+0x3ef3 013829 setflag true ,0 ,rega 
+0x3ef4 013830 fetcht 1 ,mem_whee_tb_data_gpio 
+0x3ef5 013831 call gpio_get_bit 
+0x3ef6 013832 setflag true ,1 ,rega 
+0x3ef7 013833 copy rega ,pdata 
+0x3ef8 013834 store 1 ,mem_wheel_tb_new_pinlevel 
+0x3ef9 013835 beq 0x01 ,mouse_t_wheel_scan_judge1 
+0x3efa 013836 beq 0x02 ,mouse_t_wheel_scan_judge2 
+0x3efb 013837 fetch 1 ,mem_wheel_tog 
+0x3efc 013838 bbit1 7 ,mouse_t_wheel_scan_judge3 
+0x3efd 013839 rtn 
+:      013841 mouse_t_wheel_scan_judge1:
+0x3efe 013842 fetch 1 ,mem_wheel_tb_old_pinlevel 
+0x3eff 013843 beq 0 ,mouse_t_wheel_scan_judge11 
+0x3f00 013844 beq 3 ,mouse_t_wheel_scan_judge12 
+0x3f01 013845 rtn 
+:      013846 mouse_t_wheel_scan_judge2:
+0x3f02 013847 fetch 1 ,mem_wheel_tb_old_pinlevel 
+0x3f03 013848 beq 0 ,mouse_t_wheel_scan_judge21 
+0x3f04 013849 beq 3 ,mouse_t_wheel_scan_judge22 
+0x3f05 013850 rtn 
+:      013851 mouse_t_wheel_scan_judge11:
+0x3f06 013852 jam 0x82 ,mem_wheel_tog 
+0x3f07 013853 rtn 
+:      013854 mouse_t_wheel_scan_judge12:
+0x3f08 013855 jam 0x81 ,mem_wheel_tog 
+0x3f09 013856 rtn 
+:      013857 mouse_t_wheel_scan_judge21:
+0x3f0a 013858 jam 0x80 ,mem_wheel_tog 
+0x3f0b 013859 rtn 
+:      013860 mouse_t_wheel_scan_judge22:
+0x3f0c 013861 jam 0x83 ,mem_wheel_tog 
+0x3f0d 013862 rtn 
+:      013863 mouse_t_wheel_scan_judge3:
+0x3f0e 013864 fetch 1 ,mem_wheel_tog 
+0x3f0f 013865 set0 7 ,pdata 
+0x3f10 013866 store 1 ,mem_wheel_tog 
+0x3f11 013867 beq 0 ,mouse_t_wheel_scan_judge30 
+0x3f12 013868 beq 1 ,mouse_t_wheel_scan_judge31 
+0x3f13 013869 beq 2 ,mouse_t_wheel_scan_judge32 
+0x3f14 013870 beq 3 ,mouse_t_wheel_scan_judge33 
+0x3f15 013871 rtn 
+:      013872 mouse_t_wheel_scan_judge30:
+0x3f16 013873 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x3f17 013874 beq 3 ,mouse_wheel_t_forward 
+0x3f18 013875 rtn 
+:      013876 mouse_t_wheel_scan_judge31:
+0x3f19 013877 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x3f1a 013878 beq 0 ,mouse_wheel_t_forward 
+0x3f1b 013879 rtn 
+:      013880 mouse_t_wheel_scan_judge32:
+0x3f1c 013881 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x3f1d 013882 beq 3 ,mouse_wheel_t_back 
+0x3f1e 013883 rtn 
+:      013884 mouse_t_wheel_scan_judge33:
+0x3f1f 013885 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x3f20 013886 beq 0 ,mouse_wheel_t_back 
+0x3f21 013887 rtn 
+:      013888 mouse_wheel_t_forward:
+0x3f22 013889 fetch 1 ,mem_mouse_tz_data_count1 
+0x3f23 013890 increase 1 ,pdata 
+0x3f24 013891 store 1 ,mem_mouse_tz_data_count1 
+0x3f25 013892 sub pdata ,1 ,null 
+0x3f26 013893 rtn positive 
+0x3f27 013894 jam 0 ,mem_mouse_tz_data_count1 
+0x3f28 013895 fetch 1 ,mem_mouse_tz_data 
+0x3f29 013896 increase 1 ,pdata 
+0x3f2a 013897 store 1 ,mem_mouse_tz_data 
+0x3f2b 013898 rtn 
+:      013899 mouse_wheel_t_back:
+0x3f2c 013900 fetch 1 ,mem_mouse_tz_data_count 
+0x3f2d 013901 increase 1 ,pdata 
+0x3f2e 013902 store 1 ,mem_mouse_tz_data_count 
+0x3f2f 013903 sub pdata ,1 ,null 
+0x3f30 013904 rtn positive 
+0x3f31 013905 jam 0 ,mem_mouse_tz_data_count 
+0x3f32 013906 fetch 1 ,mem_mouse_tz_data 
+0x3f33 013907 increase -1 ,pdata 
+0x3f34 013908 store 1 ,mem_mouse_tz_data 
+0x3f35 013909 rtn 
+:      013912 mouse_wheel_scan:
+0x3f36 013913 fetch 1 ,mem_whee_a_data_gpio 
+0x3f37 013914 rtneq gpio_disable 
+0x3f38 013915 arg 0 ,rega 
+0x3f39 013916 fetcht 1 ,mem_whee_a_data_gpio 
+0x3f3a 013917 call gpio_get_bit 
+0x3f3b 013918 setflag true ,0 ,rega 
+0x3f3c 013919 fetcht 1 ,mem_whee_b_data_gpio 
+0x3f3d 013920 call gpio_get_bit 
+0x3f3e 013921 setflag true ,1 ,rega 
+0x3f3f 013922 copy rega ,pdata 
+0x3f40 013923 store 1 ,mem_mwheel_b_new_pinlevel 
+0x3f41 013924 beq 0x01 ,mouse_wheel_scan_judge1 
+0x3f42 013925 beq 0x02 ,mouse_wheel_scan_judge2 
+0x3f43 013926 fetch 1 ,mem_mwheel_tog 
+0x3f44 013927 bbit1 7 ,mouse_wheel_scan_judge3 
+0x3f45 013928 rtn 
+:      013930 mouse_wheel_scan_judge1:
+0x3f46 013931 fetch 1 ,mem_mwheel_b_old_pinlevel 
+0x3f47 013932 beq 0 ,mouse_wheel_scan_judge11 
+0x3f48 013933 beq 3 ,mouse_wheel_scan_judge12 
+0x3f49 013934 rtn 
+:      013935 mouse_wheel_scan_judge2:
+0x3f4a 013936 fetch 1 ,mem_mwheel_b_old_pinlevel 
+0x3f4b 013937 beq 0 ,mouse_wheel_scan_judge21 
+0x3f4c 013938 beq 3 ,mouse_wheel_scan_judge22 
+0x3f4d 013939 rtn 
+:      013940 mouse_wheel_scan_judge11:
+0x3f4e 013941 jam 0x82 ,mem_mwheel_tog 
+0x3f4f 013942 rtn 
+:      013943 mouse_wheel_scan_judge12:
+0x3f50 013944 jam 0x81 ,mem_mwheel_tog 
+0x3f51 013945 rtn 
+:      013946 mouse_wheel_scan_judge21:
+0x3f52 013947 jam 0x80 ,mem_mwheel_tog 
+0x3f53 013948 rtn 
+:      013949 mouse_wheel_scan_judge22:
+0x3f54 013950 jam 0x83 ,mem_mwheel_tog 
+0x3f55 013951 rtn 
+:      013952 mouse_wheel_scan_judge3:
+0x3f56 013953 fetch 1 ,mem_mwheel_tog 
+0x3f57 013954 set0 7 ,pdata 
+0x3f58 013955 store 1 ,mem_mwheel_tog 
+0x3f59 013956 beq 0 ,mouse_wheel_scan_judge30 
+0x3f5a 013957 beq 1 ,mouse_wheel_scan_judge31 
+0x3f5b 013958 beq 2 ,mouse_wheel_scan_judge32 
+0x3f5c 013959 beq 3 ,mouse_wheel_scan_judge33 
+0x3f5d 013960 rtn 
+:      013961 mouse_wheel_scan_judge30:
+0x3f5e 013962 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x3f5f 013963 beq 3 ,mouse_wheel_forward 
+0x3f60 013964 rtn 
+:      013965 mouse_wheel_scan_judge31:
+0x3f61 013966 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x3f62 013967 beq 0 ,mouse_wheel_forward 
+0x3f63 013968 rtn 
+:      013969 mouse_wheel_scan_judge32:
+0x3f64 013970 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x3f65 013971 beq 3 ,mouse_wheel_back 
+0x3f66 013972 rtn 
+:      013973 mouse_wheel_scan_judge33:
+0x3f67 013974 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x3f68 013975 beq 0 ,mouse_wheel_back 
+0x3f69 013976 rtn 
+:      013977 mouse_wheel_forward:
+0x3f6a 013978 jam 0 ,mem_mouse_z_data_count1 
+0x3f6b 013979 fetch 1 ,mem_mouse_z_data 
+0x3f6c 013980 increase 1 ,pdata 
+0x3f6d 013981 store 1 ,mem_mouse_z_data 
+0x3f6e 013982 rtn 
+:      013983 mouse_wheel_back:
+0x3f6f 013984 jam 0 ,mem_mouse_z_data_count 
+0x3f70 013985 fetch 1 ,mem_mouse_z_data 
+0x3f71 013986 increase -1 ,pdata 
+0x3f72 013987 store 1 ,mem_mouse_z_data 
+0x3f73 013988 rtn 
+:      013991 mouse_hid_connected:
+0x3f74 013992 setarg hid_handshake_timeout 
+0x3f75 013993 store 1 ,mem_hid_handshake_timer_count 
+0x3f76 013994 rtn 
+:      013996 mouse_send_process:
+0x3f77 013997 fetch 1 ,mem_app_handshake_flag 
+0x3f78 013998 rtn blank 
+0x3f79 013999 call l2cap_malloc_is_fifo_nearly_full 
+0x3f7a 014000 nrtn blank 
+0x3f7b 014001 fetch mouse_flag_len ,mem_mouse_flag 
+0x3f7c 014002 bbit1 mosue_24g_pairing_flag ,mouse_send_empty_data 
+0x3f7d 014003 bbit1 mouse_select_device_flag ,mouse_send_empty_data 
+0x3f7e 014004 bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
+0x3f7f 014005 call mouse_motion 
+0x3f80 014006 nrtn user 
+:      014007 mouse_send_data:
+0x3f81 014008 arg 9 ,rega 
+0x3f82 014009 call hid_malloc_tx_buff 
+0x3f83 014010 fetch 2 ,mem_hid_int_remote_cid 
+0x3f84 014011 istore 2 ,contw 
+0x3f85 014012 setarg 0x02a1 
+0x3f86 014013 istore 2 ,contw 
+0x3f87 014014 fetch 7 ,mem_mouse_key 
+0x3f88 014015 istore 7 ,contw 
+0x3f89 014016 rtn 
+:      014019 mouse_send_empty_data:
+0x3f8a 014020 setarg 0 
+0x3f8b 014021 store 7 ,mem_mouse_key 
+0x3f8c 014022 branch mouse_send_data 
+:      014025 mouse_no_data_timer_init:
+0x3f8d 014026 fetch 2 ,mem_mouse_no_data_timeout 
+0x3f8e 014027 store 2 ,mem_mouse_no_data_timer 
+0x3f8f 014028 rtn 
+:      014031 mouse_fill_data_le:
+0x3f90 014032 bpatch patch1c_5 ,mem_patch1c 
+0x3f91 014033 arg 7 ,rega 
+0x3f92 014034 fetcht 2 ,mem_le_notify_handle 
+0x3f93 014035 call le_att_malloc_tx_notify 
+0x3f94 014036 fetch 7 ,mem_mouse_key 
+0x3f95 014037 istore 7 ,contw 
+0x3f96 014038 rtn 
+:      014040 mouse_motion:
+0x3f97 014041 bpatch patch1c_6 ,mem_patch1c 
+0x3f98 014042 disable user 
+0x3f99 014043 setarg 0 
+0x3f9a 014044 store 6 ,mem_mouse_x 
+0x3f9b 014045 call mouse_cheak_sensor_data 
+0x3f9c 014046 call mouse_zwheel 
+0x3f9d 014047 call mouse_t_zwheel 
+0x3f9e 014048 call mouse_key 
+0x3f9f 014049 nrtn user 
+0x3fa0 014050 call mouse_no_data_timer_init 
+0x3fa1 014051 arg mouse_statue_up_flag ,queue 
+0x3fa2 014052 branch mouse_enable_function_flag 
+:      014054 motion_6clk_direction_dispose:
+0x3fa3 014055 fetch 2 ,mem_mouse_x 
+0x3fa4 014056 sub pdata ,0 ,pdata 
+0x3fa5 014057 store 2 ,mem_mouse_x 
+0x3fa6 014058 branch enable_user 
+:      014059 motion_12clk_direction_dispose:
+0x3fa7 014060 fetch 2 ,mem_mouse_y 
+0x3fa8 014061 sub pdata ,0 ,pdata 
+0x3fa9 014062 store 2 ,mem_mouse_y 
+0x3faa 014063 branch enable_user 
+:      014064 motion_9clk_direction_dispose:
+0x3fab 014065 fetch 2 ,mem_mouse_y 
+0x3fac 014066 sub pdata ,0 ,pdata 
+0x3fad 014067 store 2 ,mem_mouse_y 
+0x3fae 014068 fetch 2 ,mem_mouse_x 
+0x3faf 014069 sub pdata ,0 ,pdata 
+0x3fb0 014070 store 2 ,mem_mouse_x 
+0x3fb1 014071 call mouse_sensor_data_swap_places 
+0x3fb2 014072 branch enable_user 
+:      014073 motion_3clk_direction_dispose:
+0x3fb3 014074 call mouse_sensor_data_swap_places 
+0x3fb4 014075 branch enable_user 
+:      014076 mouse_cheak_sensor_data:
+0x3fb5 014077 fetch 1 ,mem_spi_write_flash_sm 
+0x3fb6 014078 rtnne flash_sm_no_buys 
+0x3fb7 014079 fetch 1 ,mem_config_sensor_type 
+0x3fb8 014080 beq p3205 ,mouse_p32xx_sensor_motion 
+0x3fb9 014081 beq p3065 ,mouse_p32xx_sensor_motion 
+0x3fba 014082 beq ka8 ,mouse_p32xx_sensor_motion 
+0x3fbb 014083 beq p3204 ,mouse_p32xx_sensor_motion 
+0x3fbc 014084 beq p3212 ,mouse_p3212_sensor_motion 
+0x3fbd 014085 beq p3610 ,mouse_p3610_sensor_motion 
+0x3fbe 014086 beq p3065_xy ,mouse_p32xx_sensor_motion 
+0x3fbf 014087 branch mouse_p32xx_sensor_motion 
+:      014089 mouse_clear_sensor_data:
+0x3fc0 014090 fetch 1 ,mem_mouse_move_flag 
+0x3fc1 014091 call mouse_read_sensor_common ,blank 
+0x3fc2 014092 jam 1 ,mem_mouse_move_flag 
+0x3fc3 014093 rtn 
+:      014096 mouse_p3212_sensor_motion:
+0x3fc4 014097 call mouse_clear_sensor_data 
+0x3fc5 014098 fetcht 1 ,mem_sensor_data_gpio 
+0x3fc6 014099 call gpio_get_bit 
+0x3fc7 014100 nrtn true 
+:      014101 mouse_p3212_sensor_motion_1:
+0x3fc8 014102 setarg pan_reg_pid_l 
+0x3fc9 014103 call twspi_read 
+0x3fca 014104 bne p32xx_id1 ,mouse_twspi_reset 
+0x3fcb 014105 setarg pan_reg_motion_staus 
+0x3fcc 014106 call twspi_read 
+0x3fcd 014107 rtnbit0 7 
+0x3fce 014108 call mouse_read_sensor_common 
+0x3fcf 014109 call mouse_read_3212sensor_xy_high 
+0x3fd0 014110 store 1 ,mem_mouse_xy_h 
+0x3fd1 014111 rshift4 pdata ,pdata 
+0x3fd2 014112 call extsign_bit3 
+0x3fd3 014113 store 1 ,mem_mouse_x + 1 
+0x3fd4 014114 fetch 1 ,mem_mouse_xy_h 
+0x3fd5 014115 and pdata ,0x0f ,pdata 
+0x3fd6 014116 call extsign_bit3 
+0x3fd7 014117 store 1 ,mem_mouse_y + 1 
+0x3fd8 014118 fetch 1 ,mem_config_sensor_angle 
+0x3fd9 014119 beq mouse_6clk_angle ,motion_6clk_direction_dispose 
+0x3fda 014120 beq mouse_9clk_angle ,motion_9clk_direction_dispose 
+0x3fdb 014121 beq mouse_12clk_angle ,motion_12clk_direction_dispose 
+0x3fdc 014122 beq mouse_3clk_angle ,motion_3clk_direction_dispose 
+0x3fdd 014123 rtn 
+:      014125 mouse_read_3212sensor_xy_high:
+0x3fde 014126 setarg 0x12 
+0x3fdf 014127 branch twspi_read 
+:      014129 mouse_p3065_judge:
+0x3fe0 014130 beq p3065_id1 ,mouse_p32xx_sensor_motion_1 
+0x3fe1 014131 branch mouse_twspi_reset 
+:      014133 mouse_p32xx_sensor_motion:
+0x3fe2 014134 call mouse_clear_sensor_data 
+0x3fe3 014135 disable user 
+0x3fe4 014136 fetcht 1 ,mem_sensor_data_gpio 
+0x3fe5 014137 call gpio_get_bit 
+0x3fe6 014138 nrtn true 
+:      014139 mouse_p32xx_sensor_motion_2:
+0x3fe7 014140 setarg pan_reg_pid_l 
+0x3fe8 014141 call twspi_read 
+0x3fe9 014142 bne p32xx_id1 ,mouse_p3065_judge 
+:      014143 mouse_p32xx_sensor_motion_1:
+0x3fea 014144 setarg pan_reg_motion_staus 
+0x3feb 014145 call twspi_read 
+0x3fec 014146 rtnbit0 7 
+0x3fed 014147 call mouse_read_sensor_common 
+0x3fee 014148 fetch 1 ,mem_mouse_x 
+0x3fef 014149 call extsign 
+0x3ff0 014150 store 2 ,mem_mouse_x 
+0x3ff1 014151 fetch 1 ,mem_mouse_y 
+0x3ff2 014152 call extsign 
+0x3ff3 014153 store 2 ,mem_mouse_y 
+0x3ff4 014154 fetch 1 ,mem_config_sensor_angle 
+0x3ff5 014155 beq mouse_6clk_angle ,motion32xx_6clk_direction_selection 
+0x3ff6 014156 beq mouse_9clk_angle ,motion32xx_9clk_direction_selection 
+0x3ff7 014157 beq mouse_12clk_angle ,motion32xx_12clk_direction_selection 
+0x3ff8 014158 beq mouse_3clk_angle ,motion32xx_3clk_direction_selection 
+0x3ff9 014159 rtn 
+:      014161 motion32xx_6clk_direction_selection:
+0x3ffa 014162 call motion_6clk_direction_dispose 
+0x3ffb 014163 branch mouse_sensor_sdio_low 
+:      014164 motion32xx_9clk_direction_selection:
+0x3ffc 014165 call motion_9clk_direction_dispose 
+0x3ffd 014166 branch mouse_sensor_sdio_low 
+:      014167 motion32xx_12clk_direction_selection:
+0x3ffe 014168 call motion_12clk_direction_dispose 
+0x3fff 014169 branch mouse_sensor_sdio_low 
+:      014170 motion32xx_3clk_direction_selection:
+0x4000 014171 call motion_3clk_direction_dispose 
+0x4001 014172 branch mouse_sensor_sdio_low 
+:      014174 mouse_sensor_data_swap_places:
+0x4002 014175 fetch 2 ,mem_mouse_y 
+0x4003 014176 fetcht 2 ,mem_mouse_x 
+0x4004 014177 store 2 ,mem_mouse_x 
+0x4005 014178 storet 2 ,mem_mouse_y 
+0x4006 014179 rtn 
+:      014181 mouse_p3610sensor_read:
+0x4007 014182 call spi_ncs_enable 
+0x4008 014183 nop 100 
+0x4009 014184 copy regb ,pdata 
+0x400a 014185 call twspi_read 
+0x400b 014186 copy pdata ,regb 
+0x400c 014187 call spi_ncs_disable 
+0x400d 014188 nop 100 
+0x400e 014189 copy regb ,pdata 
+0x400f 014190 rtn 
+:      014191 mouse_p3610_sensor_motion:
+0x4010 014192 disable user 
+0x4011 014193 fetcht 1 ,mem_sensor_data_gpio 
+0x4012 014194 call gpio_get_bit 
+0x4013 014195 nrtn true 
+0x4014 014196 arg pan_reg_motion_staus ,regb 
+0x4015 014197 call mouse_p3610sensor_read 
+0x4016 014198 rtnbit0 7 
+0x4017 014199 arg pan_reg_pid_l ,regb 
+0x4018 014200 call mouse_p3610sensor_read 
+0x4019 014201 store 1 ,mem_sensor_id1 
+0x401a 014202 bne p3610_id1 ,mouse_init_3610sensor_reset 
+0x401b 014203 fetch 1 ,mem_mouse_move_flag 
+0x401c 014204 call mouse_read_sensor3610_data ,blank 
+0x401d 014205 jam 1 ,mem_mouse_move_flag 
+0x401e 014206 call mouse_read_sensor3610_data 
+0x401f 014207 fetch 1 ,mem_mouse_xy_h 
+0x4020 014208 rshift4 pdata ,pdata 
+0x4021 014209 call extsign_bit3 
+0x4022 014210 store 1 ,mem_mouse_x + 1 
+0x4023 014211 fetch 1 ,mem_mouse_xy_h 
+0x4024 014212 and pdata ,0x0f ,pdata 
+0x4025 014213 call extsign_bit3 
+0x4026 014214 store 1 ,mem_mouse_y + 1 
+0x4027 014215 fetch 1 ,mem_config_sensor_angle 
+0x4028 014216 beq 0 ,motion3610_6clk_direction_selection 
+0x4029 014217 beq 1 ,motion3610_9clk_direction_selection 
+0x402a 014218 beq 2 ,motion3610_12clk_direction_selection 
+0x402b 014219 beq 3 ,motion3610_3clk_direction_selection 
+0x402c 014220 rtn 
+:      014222 mouse_3610_smart_select:
+0x402d 014223 fetch 1 ,mem_sensor_smart_flag 
+0x402e 014224 beq p3610_smart_enable ,mouse_3610_smart_disable 
+0x402f 014225 beq p3610_smart_disable ,mouse_3610_smart_enable 
+0x4030 014226 rtn 
+:      014229 motion3610_6clk_direction_selection:
+0x4031 014230 call motion_6clk_direction_dispose 
+0x4032 014231 branch mouse_3610_smart_select 
+:      014233 motion3610_12clk_direction_selection:
+0x4033 014234 call motion_12clk_direction_dispose 
+0x4034 014235 branch mouse_3610_smart_select 
+:      014237 motion3610_9clk_direction_selection:
+0x4035 014238 call motion_9clk_direction_dispose 
+0x4036 014239 branch mouse_3610_smart_select 
+:      014241 motion3610_3clk_direction_selection:
+0x4037 014242 call motion_3clk_direction_dispose 
+0x4038 014243 branch mouse_3610_smart_select 
+:      014245 mouse_read_sensor3610_data:
+0x4039 014246 call spi_ncs_enable 
+0x403a 014247 call mouse_read_sensor_common 
+0x403b 014248 arg 5 ,pdata 
+0x403c 014249 call twspi_read 
+0x403d 014250 store 1 ,mem_mouse_xy_h 
+0x403e 014251 arg 7 ,pdata 
+0x403f 014252 call twspi_read 
+0x4040 014253 store 1 ,mem_sensor_shutter_hi 
+0x4041 014254 arg 8 ,pdata 
+0x4042 014255 call twspi_read 
+0x4043 014256 store 1 ,mem_sensor_shutter_lo 
+0x4044 014257 branch spi_ncs_disable 
+:      014260 mouse_3610_smart_enable:
+0x4045 014261 fetch 1 ,mem_sensor_shutter_hi 
+0x4046 014262 rtnne 0 
+0x4047 014263 fetch 1 ,mem_sensor_shutter_lo 
+0x4048 014264 sub pdata ,45 ,null 
+0x4049 014265 rtn positive 
+0x404a 014266 jam p3610_smart_enable ,mem_sensor_smart_flag 
+0x404b 014267 setarg 0xba41 
+0x404c 014268 call sensor_write 
+0x404d 014269 setarg 0x0032 
+0x404e 014270 call sensor_write 
+0x404f 014271 setarg 0xb541 
+0x4050 014272 branch sensor_write 
+:      014273 mouse_3610_smart_disable:
+0x4051 014274 fetch 1 ,mem_sensor_shutter_hi 
+0x4052 014275 rtnne 0 
+0x4053 014276 fetch 1 ,mem_sensor_shutter_lo 
+0x4054 014277 sub pdata ,45 ,null 
+0x4055 014278 nrtn positive 
+0x4056 014279 jam p3610_smart_disable ,mem_sensor_smart_flag 
+0x4057 014280 setarg 0xba41 
+0x4058 014281 call sensor_write 
+0x4059 014282 setarg 0x8032 
+0x405a 014283 call sensor_write 
+0x405b 014284 setarg 0xb541 
+0x405c 014285 branch sensor_write 
+:      014289 mouse_read_sensor_common:
+0x405d 014290 arg pan_reg_delta_x ,pdata 
+0x405e 014291 call twspi_read 
+0x405f 014292 store 2 ,mem_mouse_x 
+0x4060 014293 arg pan_reg_delta_y ,pdata 
+0x4061 014294 call twspi_read 
+0x4062 014295 store 2 ,mem_mouse_y 
+0x4063 014296 rtn 
+:      014298 mouse_set_qdecoder_x:
+0x4064 014299 arg mouse_default_xa_gpio ,temp 
+0x4065 014300 call gpio_config_input 
+0x4066 014301 arg mouse_default_xa_gpio ,temp 
+0x4067 014302 call gpio_get_bit 
+0x4068 014303 rtn true 
+0x4069 014304 hfetch 1 ,core_qdec_cntx 
+0x406a 014305 set1 4 ,pdata 
+0x406b 014306 hstore 1 ,core_qdec_cntx 
+0x406c 014307 rtn 
+:      014309 mouse_hardware_zwheel:
+0x406d 014310 fetcht 1 ,mem_mouse_z_data 
+0x406e 014311 hfetch 1 ,core_qdec_cntx 
+0x406f 014312 iadd temp ,pdata 
+0x4070 014313 rtn blank 
+0x4071 014314 store 1 ,mem_mouse_z 
+0x4072 014315 jam 0 ,mem_mouse_z_data 
+0x4073 014316 branch enable_user 
+:      014317 mouse_hardware_zwheel_beforelpm:
+0x4074 014318 fetcht 1 ,mem_mouse_z_data 
+0x4075 014319 hfetch 1 ,core_qdec_cntx 
+0x4076 014320 iadd temp ,pdata 
+0x4077 014321 store 1 ,mem_mouse_z_data 
+0x4078 014322 rtn 
+:      014323 mouse_zwheel:
+0x4079 014324 fetch 1 ,mem_mouse_z_data 
+0x407a 014325 rtn blank 
+0x407b 014326 store 1 ,mem_mouse_z 
+0x407c 014327 jam 0 ,mem_mouse_z_data 
+0x407d 014328 branch enable_user 
+:      014330 mouse_t_zwheel:
+0x407e 014331 fetch 1 ,mem_mouse_tz_data 
+0x407f 014332 rtn blank 
+0x4080 014333 store 1 ,mem_mouse_tz 
+0x4081 014334 jam 0 ,mem_mouse_tz_data 
+0x4082 014335 branch enable_user 
+:      014337 mouse_check_key_gpio:
+0x4083 014338 arg 0 ,rega 
+0x4084 014339 fetcht 1 ,mem_lbutton_gpio 
+0x4085 014340 call gpio_get_bit 
+0x4086 014341 setflag true ,0 ,rega 
+0x4087 014342 fetcht 1 ,mem_rbutton_gpio 
+0x4088 014343 call gpio_get_bit 
+0x4089 014344 setflag true ,1 ,rega 
+0x408a 014345 fetcht 1 ,mem_mbutton_gpio 
+0x408b 014346 call gpio_get_bit 
+0x408c 014347 setflag true ,2 ,rega 
+0x408d 014348 call mouse_check_s_key_gpio 
+0x408e 014349 copy rega ,pdata 
+0x408f 014350 rtn 
+:      014351 mouse_check_s_key_gpio:
+0x4090 014352 fetch 1 ,mem_bk_button_gpio 
+0x4091 014353 rtneq gpio_disable 
+0x4092 014354 fetcht 1 ,mem_bk_button_gpio 
+0x4093 014355 call gpio_get_bit 
+0x4094 014356 setflag true ,3 ,rega 
+0x4095 014357 fetcht 1 ,mem_fw_button_gpio 
+0x4096 014358 call gpio_get_bit 
+0x4097 014359 setflag true ,4 ,rega 
+0x4098 014360 rtn 
+:      014362 mouse_key:
+0x4099 014363 call mouse_check_key_gpio 
+0x409a 014364 call mouse_set_mult 
+0x409b 014365 call mouse_24g_key 
+0x409c 014366 copy rega ,pdata 
+0x409d 014367 fetcht 1 ,mem_mouse_key 
+0x409e 014368 store 1 ,mem_mouse_key 
+0x409f 014369 ixor temp ,pdata 
+0x40a0 014370 sub pdata ,0 ,null 
+0x40a1 014371 rtn zero 
+0x40a2 014372 branch enable_user 
+:      014374 mouse_24g_key:
+0x40a3 014375 rtnmark0 mark_24g 
+0x40a4 014376 copy rega ,pdata 
+0x40a5 014377 rtn blank 
+0x40a6 014378 store 1 ,mem_mouse_key 
+0x40a7 014379 branch enable_user 
+:      014382 mouse_set_mult:
+0x40a8 014383 fetch 2 ,mem_ui_state_map 
+0x40a9 014384 bbit1 ui_state_ble_connected ,mouse_set_ble_mult 
+0x40aa 014385 fetch 2 ,mem_ui_state_map 
+0x40ab 014386 bbit1 ui_state_bt_connected ,mouse_set_bt_mult 
+0x40ac 014387 rtn 
+:      014388 mouse_set_ble_mult:
+0x40ad 014389 copy rega ,pdata 
+0x40ae 014390 nbranch le_set_config_short_mult ,blank 
+0x40af 014391 branch le_clr_config_short_mult 
+:      014392 mouse_set_bt_mult:
+0x40b0 014393 copy rega ,pdata 
+0x40b1 014394 nbranch classic_bt_set_mult_short_flag ,blank 
+0x40b2 014395 branch classic_bt_clr_mult_short_flag 
+:      014398 mouse_sensor_sdio_low:
+0x40b3 014399 bpatch patch1c_7 ,mem_patch1c 
+0x40b4 014400 arg mouse_spi1_sdio_gpio ,temp 
+0x40b5 014401 fetch mouse_flag_len ,mem_mouse_flag 
+0x40b6 014402 isolate1 mouse_enable_spi2 ,pdata 
+0x40b7 014403 call mouse_sensor_sdio_low2 ,true 
+0x40b8 014404 call gpio_get_bit 
+0x40b9 014405 rtn true 
+0x40ba 014406 setarg 0x0a 
+0x40bb 014407 call twspi_read 
+0x40bc 014408 nop 1000 
+0x40bd 014409 branch mouse_sensor_sdio_low 
+:      014410 mouse_sensor_sdio_low2:
+0x40be 014411 arg mouse_spi2_sdio_gpio ,temp 
+0x40bf 014412 rtn 
+:      014414 mouse_spi_sdio_gpio_pollup:
+0x40c0 014415 fetch mouse_flag_len ,mem_mouse_flag 
+0x40c1 014416 bbit1 mouse_enable_spi2 ,mouse_spi2_sdio_gpio_pollup 
+:      014417 mouse_spi1_sdio_gpio_pollup:
+0x40c2 014418 arg mouse_spi1_sdio_gpio ,temp 
+0x40c3 014419 branch gpio_config_input_without_wake 
+:      014420 mouse_spi2_sdio_gpio_pollup:
+0x40c4 014421 arg mouse_spi2_sdio_gpio ,temp 
+0x40c5 014422 branch gpio_config_input_without_wake 
+:      014425 mouse_init_sunt:
+0x40c6 014426 call mouse_spi_init 
+0x40c7 014427 rtn wake 
+0x40c8 014428 call mouse_spi_sdio_gpio_pollup 
+0x40c9 014429 fetch 1 ,mem_config_sensor_type 
+0x40ca 014430 beq p3610 ,mouse_init_3610sensor 
+:      014431 mouse_init_sensor:
+0x40cb 014432 call mouse_read_sensor_id 
+0x40cc 014433 beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
+0x40cd 014434 beq p3065_id1 ,mouse_p3065_init_param 
+0x40ce 014435 call mouse_twspi_reset 
+0x40cf 014436 nop 1000 
+0x40d0 014437 branch mouse_init_sensor 
+:      014438 mouse_twspi_reset:
+0x40d1 014439 bpatch patch1d_0 ,mem_patch1d 
+0x40d2 014440 fetch mouse_flag_len ,mem_mouse_flag 
+0x40d3 014441 bbit1 mouse_enable_spi2 ,twspi_reset2 
+0x40d4 014442 branch twspi_reset 
+:      014444 mouse_init_3610sensor:
+0x40d5 014445 call mouse_read_sensor_id 
+0x40d6 014446 beq p3610_id1 ,mouse_init_p3610 
+0x40d7 014447 call mouse_init_3610sensor_reset 
+0x40d8 014448 branch mouse_init_3610sensor 
+:      014450 mouse_read_sensor_id:
+0x40d9 014451 setarg pan_reg_pid_h 
+0x40da 014452 call twspi_read 
+0x40db 014453 store 1 ,mem_sensor_id2 
+0x40dc 014454 setarg pan_reg_pid_l 
+0x40dd 014455 call twspi_read 
+0x40de 014456 store 1 ,mem_sensor_id1 
+0x40df 014457 rtn 
+:      014458 mouse_init_p32xx_id2_judge:
+0x40e0 014459 fetch 1 ,mem_sensor_id2 
+0x40e1 014460 beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
+0x40e2 014461 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
+0x40e3 014462 beq p3212_id2 ,mouse_3212_init_param 
+0x40e4 014463 beq pka8_id2 ,mouse_ka8_init_param 
+0x40e5 014464 rtn 
+:      014465 mouse_ka8_init_param:
+0x40e6 014466 jam ka8 ,mem_config_sensor_type 
+0x40e7 014467 rtn 
+:      014468 mouse_p3065xy_init_param:
+0x40e8 014469 jam p3065_xy ,mem_config_sensor_type 
+0x40e9 014470 rtn 
+:      014471 mouse_p3065_init_param:
+0x40ea 014472 fetch 1 ,mem_sensor_id2 
+0x40eb 014473 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
+0x40ec 014474 jam p3065 ,mem_config_sensor_type 
+0x40ed 014475 rtn 
+:      014476 mouse_3212_init_param:
+0x40ee 014477 jam p3212 ,mem_config_sensor_type 
+0x40ef 014478 call mouse_sensor_disable_wp 
+0x40f0 014479 setarg 0x3426 
+0x40f1 014480 call twspi_write 
+0x40f2 014481 setarg 0x0419 
+0x40f3 014482 call twspi_write 
+:      014483 mouse_sensor_enable_wp:
+0x40f4 014484 setarg 0x0009 
+0x40f5 014485 branch twspi_write 
+:      014486 mouse_sensor_disable_wp:
+0x40f6 014487 setarg 0x5a09 
+0x40f7 014488 branch twspi_write 
+:      014490 mouse_3204_3l_init_param:
+0x40f8 014491 jam p3204 ,mem_config_sensor_type 
+0x40f9 014492 call mouse_sensor_disable_wp 
+0x40fa 014493 setarg 0x0f0d 
+0x40fb 014494 call twspi_write 
+0x40fc 014495 setarg 0xe31d 
+0x40fd 014496 call twspi_write 
+0x40fe 014497 setarg 0xd27d 
+0x40ff 014498 call twspi_write 
+0x4100 014499 call mouse_32xx_init_param 
+0x4101 014500 branch mouse_32xx_init_param_1 
+:      014502 mouse_32xx_init_param:
+0x4102 014503 setarg 0x351b 
+0x4103 014504 call twspi_write 
+0x4104 014505 setarg 0xb428 
+0x4105 014506 call twspi_write 
+0x4106 014507 setarg 0x4629 
+0x4107 014508 call twspi_write 
+0x4108 014509 setarg 0x962a 
+0x4109 014510 call twspi_write 
+0x410a 014511 setarg 0x8c2b 
+0x410b 014512 call twspi_write 
+0x410c 014513 setarg 0x6e2c 
+0x410d 014514 call twspi_write 
+0x410e 014515 setarg 0x642d 
+0x410f 014516 call twspi_write 
+0x4110 014517 setarg 0x5f38 
+0x4111 014518 call twspi_write 
+0x4112 014519 setarg 0x0f39 
+0x4113 014520 call twspi_write 
+0x4114 014521 setarg 0x323a 
+0x4115 014522 call twspi_write 
+0x4116 014523 setarg 0x473b 
+0x4117 014524 call twspi_write 
+0x4118 014525 setarg 0x1042 
+0x4119 014526 branch twspi_write 
+:      014527 mouse_32xx_init_param_1:
+0x411a 014528 setarg 0x2e54 
+0x411b 014529 call twspi_write 
+0x411c 014530 setarg 0xf255 
+0x411d 014531 call twspi_write 
+0x411e 014532 setarg 0xf461 
+0x411f 014533 call twspi_write 
+0x4120 014534 setarg 0x7063 
+0x4121 014535 call twspi_write 
+0x4122 014536 setarg 0x5275 
+0x4123 014537 call twspi_write 
+0x4124 014538 setarg 0x4176 
+0x4125 014539 call twspi_write 
+0x4126 014540 setarg 0xed77 
+0x4127 014541 call twspi_write 
+0x4128 014542 setarg 0x2378 
+0x4129 014543 call twspi_write 
+0x412a 014544 setarg 0x4679 
+0x412b 014545 call twspi_write 
+0x412c 014546 setarg 0xe57a 
+0x412d 014547 call twspi_write 
+0x412e 014548 setarg 0x487c 
+0x412f 014549 call twspi_write 
+0x4130 014550 setarg 0x777e 
+0x4131 014551 call twspi_write 
+0x4132 014552 setarg 0x017f 
+0x4133 014553 call twspi_write 
+0x4134 014554 setarg 0x000b 
+0x4135 014555 call twspi_write 
+0x4136 014556 setarg 0x007f 
+0x4137 014557 call twspi_write 
+0x4138 014558 branch mouse_sensor_enable_wp 
+:      014561 mouse_3205_3t_init_param:
+0x4139 014562 jam p3205 ,mem_config_sensor_type 
+0x413a 014563 call mouse_sensor_disable_wp 
+0x413b 014564 setarg 0x100d 
+0x413c 014565 call twspi_write 
+0x413d 014566 setarg 0xed1d 
+0x413e 014567 call twspi_write 
+0x413f 014568 setarg 0x807d 
+0x4140 014569 call twspi_write 
+0x4141 014570 call mouse_32xx_init_param 
+0x4142 014571 setarg 0x0943 
+0x4143 014572 call twspi_write 
+0x4144 014573 branch mouse_32xx_init_param_1 
+:      014576 mouse_init_3610sensor_reset:
+0x4145 014577 fetcht 1 ,mem_sensor_reset_gpio 
+0x4146 014578 call gpio_out_active 
+0x4147 014579 call delay_10ms 
+0x4148 014580 fetcht 1 ,mem_sensor_reset_gpio 
+0x4149 014581 call gpio_out_inactive 
+0x414a 014582 branch delay_10ms 
+:      014584 mouse_init_p3610:
+0x414b 014585 jam p3610 ,mem_config_sensor_type 
+0x414c 014586 setarg 0xba41 
+0x414d 014587 call sensor_write 
+0x414e 014588 setarg 0x0d11 
+0x414f 014589 call sensor_write 
+0x4150 014590 setarg 0x041b 
+0x4151 014591 call sensor_write 
+0x4152 014592 setarg 0x041c 
+0x4153 014593 call sensor_write 
+0x4154 014594 setarg 0x0f1d 
+0x4155 014595 call sensor_write 
+0x4156 014596 setarg 0x0032 
+0x4157 014597 call sensor_write 
+0x4158 014598 setarg 0xb541 
+0x4159 014599 branch sensor_write 
+:      014603 mouse_set_sensor_reg:
+0x415a 014604 setarg 0xba41 
+0x415b 014605 call sensor_write 
+0x415c 014606 nop 4000 
+0x415d 014607 setarg 0xff7f 
+0x415e 014608 call sensor_write 
+0x415f 014609 copy rega ,pdata 
+0x4160 014610 call sensor_write 
+0x4161 014611 setarg 0x007f 
+0x4162 014612 call sensor_write 
+0x4163 014613 setarg 0xb541 
+0x4164 014614 branch sensor_write 
+:      014616 extsign:
+0x4165 014617 rtnbit0 7 
+0x4166 014618 arg 0xff00 ,temp 
+0x4167 014619 ior temp ,pdata 
+0x4168 014620 rtn 
+:      014622 extsign_bit3:
+0x4169 014623 rtnbit0 3 
+0x416a 014624 arg 0xf0 ,temp 
+0x416b 014625 ior temp ,pdata 
+0x416c 014626 rtn 
+:      014629 mouse_le:
+0x416d 014630 call le_fifo_check_nearly_full 
+0x416e 014631 nrtn blank 
+0x416f 014632 fetch 1 ,mem_le_connect_status_flag 
+0x4170 014633 and pdata ,0x03 ,pdata 
+0x4171 014634 rtnne 0x03 
+0x4172 014635 fetch mouse_flag_len ,mem_mouse_flag 
+0x4173 014636 bbit1 mosue_24g_pairing_flag ,mouse_le_send_empty_packet 
+0x4174 014637 bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
+0x4175 014638 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+0x4176 014639 call mouse_motion 
+0x4177 014640 nrtn user 
+0x4178 014641 branch mouse_fill_data_le 
+:      014643 mouse_le_send_empty_packet:
+0x4179 014644 setarg 0 
+0x417a 014645 store 7 ,mem_mouse_key 
+0x417b 014646 branch mouse_fill_data_le 
+:      014648 mouse_priority_bb_event:
+0x417c 014649 copy regc ,pdata 
+0x417d 014650 beq bt_evt_le_connected ,mouse_le_bb_event_connected 
+0x417e 014651 beq bt_evt_bb_connected ,mouse_stop_discovery 
+0x417f 014652 beq bt_evt_le_disconnected ,mouse_bb_disconnected 
+0x4180 014653 beq bt_evt_bb_disconnected ,mouse_bb_disconnected 
+0x4181 014654 beq bt_evt_setup_complete ,mouse_bt_event_setup_complete 
+0x4182 014655 beq bt_evt_button_long_pressed ,mouse_bb_event_discovery_btn 
+0x4183 014656 beq bt_evt_hid_handshake ,mouse_bt_hid_handshake 
+0x4184 014657 beq bt_evt_hid_connected ,mouse_bt_hid_connected 
+0x4185 014658 beq bt_evt_reconn_failed ,mouse_bb_event_reconn_failed 
+0x4186 014659 beq bt_evt_reconn_page_timeout ,mouse_bb_event_reconn_timeout 
+0x4187 014660 beq bt_evt_pincode_req ,mouse_bb_event_pincode 
+0x4188 014661 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+0x4189 014662 beq bt_evt_le_pairing_success ,mouse_le_pairing_success 
+0x418a 014663 beq bt_evt_le_start_enc ,mouse_le_ll_start_encryt 
+0x418b 014664 beq bt_evt_le_pairing_complete ,mouse_le_pairing_complete 
+0x418c 014665 beq bt_evt_virtual_cable_unplug ,mouse_irtual_cable_unplug 
+0x418d 014666 beq bt_evt_24g_pairing_complete ,mouse_24g_pairing_complete 
+0x418e 014667 beq bt_evt_24g_attempt_fail ,mouse_24g_attempt_fail 
+0x418f 014668 beq bt_evt_24g_attempt_success ,mouse_24g_attempt_success 
+0x4190 014669 rtn 
+:      014672 mouse_le_pairing_complete:
+0x4191 014673 branch app_ble_store_reconn_info 
+:      014675 mouse_24g_attempt_fail:
+0x4192 014676 jam 1 ,mem_mouse_24g_enter_lpm_enable 
+0x4193 014677 fetch 1 ,mem_reconn_times 
+0x4194 014678 nbranch mouse_polling_device ,blank 
+0x4195 014679 fetch 1 ,mem_device_flag 
+0x4196 014680 fetcht 1 ,mem_24g_device_number 
+0x4197 014681 isub temp ,null 
+0x4198 014682 branch app_enter_hibernate ,zero 
+0x4199 014683 rtn 
+:      014684 mouse_24g_attempt_success:
+0x419a 014685 jam 1 ,mem_mouse_24g_enter_lpm_enable 
+0x419b 014686 rtn 
+:      014687 mouse_24g_pairing_complete:
+0x419c 014688 jam 1 ,mem_mouse_24g_enter_lpm_enable 
+0x419d 014689 arg mosue_24g_pairing_flag ,queue 
+0x419e 014690 call mouse_disable_function_flag 
+0x419f 014691 setarg 0 
+0x41a0 014692 store 2 ,mem_24g_pairing_timer_count 
+0x41a1 014693 jam 0 ,mem_mouse_move_flag 
+0x41a2 014695 fetch 1 ,mem_config_sensor_type 
+0x41a3 014696 sub pdata ,p3610 ,null 
+0x41a4 014697 call mouse_read_sensor3610_data ,zero 
+0x41a5 014698 ncall mouse_read_sensor_common ,zero 
+0x41a6 014700 fetch 1 ,mouse_flag_len ,mem_mouse_flag 
+0x41a7 014701 bbit1 mouse_enable_flash ,mouse_store_flash_24g_address 
+0x41a8 014702 call mouse_set_24g_addr_eeprom 
+0x41a9 014703 branch iicd_write_protect_eep_data 
+:      014705 mouse_set_24g_addr_eeprom:
+0x41aa 014706 call g24_head_ptr2regc 
+0x41ab 014707 add regc ,offset_24g_addr ,rega 
+0x41ac 014708 arg mouse_g24_addr_eeprom_offect ,regb 
+0x41ad 014709 arg 4 ,temp 
+0x41ae 014710 rtn 
+:      014712 mouse_store_flash_24g_address:
+0x41af 014713 call g24_head_ptr2regc 
+0x41b0 014714 add regc ,offset_24g_addr ,regb 
+0x41b1 014715 ifetch 1 ,regb 
+0x41b2 014716 store 1 ,mem_mouse_24g_addr 
+0x41b3 014717 branch mouse_store_flash_device_info 
+:      014720 mouse_le_pairing_success:
+0x41b4 014721 arg ll_pairing_success_flag ,queue 
+0x41b5 014722 branch mouse_le_enable_connect_flag 
+:      014723 mouse_le_ll_start_encryt:
+0x41b6 014724 jam 2 ,mem_le_start_encrypt_timer 
+0x41b7 014725 arg ll_start_enc_flag ,queue 
+0x41b8 014726 branch mouse_le_enable_connect_flag 
+:      014729 mouse_le_enable_connect_flag:
+0x41b9 014730 fetch 1 ,mem_le_connect_status_flag 
+0x41ba 014731 qset1 pdata 
+0x41bb 014732 store 1 ,mem_le_connect_status_flag 
+0x41bc 014733 rtn 
+:      014735 mouse_le_disable_connect_flag:
+0x41bd 014736 fetch 1 ,mem_le_connect_status_flag 
+0x41be 014737 qset0 pdata 
+0x41bf 014738 store 1 ,mem_le_connect_status_flag 
+0x41c0 014739 rtn 
+:      014740 mouse_le_clean_connect_flag:
+0x41c1 014741 jam 0 ,mem_le_connect_status_flag 
+0x41c2 014742 rtn 
+:      014744 mouse_le_bb_event_connected:
+0x41c3 014745 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x41c4 014746 set0 app_disc_by_button ,pdata 
+0x41c5 014747 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x41c6 014748 setarg 0 
+0x41c7 014749 store 2 ,mem_mouse_direct_timer 
+0x41c8 014750 call mouse_no_data_timer_init 
+0x41c9 014751 branch mouse_stop_discovery 
+:      014753 mouse_bb_event_pincode:
+0x41ca 014754 call pincode_reinit 
+0x41cb 014755 branch app_bt_set_pincode 
+:      014756 mouse_bb_event_reconn_timeout:
+:      014757 mouse_bb_event_reconn_failed:
+0x41cc 014758 fetch 1 ,mem_reconn_times 
+0x41cd 014759 nbranch mouse_polling_device ,blank 
+0x41ce 014760 fetch 2 ,mem_ui_state_map 
+0x41cf 014761 bbit1 ui_state_btn_down ,mouse_start_discovery 
+0x41d0 014762 fetch mouse_flag_len ,mem_mouse_flag 
+0x41d1 014763 bbit1 mouse_select_device_flag ,mouse_soft_reset 
+0x41d2 014764 bbit1 mouse_bt_discovery_button_down_flag ,mouse_start_discovery 
+0x41d3 014765 bbit1 mosue_24g_pairing_flag ,g24_start_pairing_sm1 
+0x41d4 014766 branch app_bb_hibernate 
+:      014769 mouse_bt_hid_connected:
+0x41d5 014770 branch mouse_hid_connected 
+:      014772 mouse_bt_event_setup_complete:
+0x41d6 014773 rtn 
+:      014775 mouse_soft_reset:
+0x41d7 014776 call mouse_select_device_enable 
+0x41d8 014777 branch soft_reset_chip 
+:      014779 mouse_bb_disconnected:
+0x41d9 014780 bpatch patch1d_1 ,mem_patch1d 
+0x41da 014781 call mouse_bb_discon_clear_stack 
+0x41db 014782 fetch mouse_flag_len ,mem_mouse_flag 
+0x41dc 014783 bbit1 mouse_select_device_flag ,mouse_soft_reset 
+0x41dd 014784 bbit1 mosue_24g_pairing_flag ,g24_start_pairing_sm1 
+0x41de 014785 fetch 1 ,mem_reconn_times 
+0x41df 014786 nbranch mouse_polling_device ,blank 
+0x41e0 014787 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x41e1 014788 bbit1 app_disc_ble ,mouse4_0_event_bb_disconn 
+0x41e2 014789 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0x41e3 014790 bbit1 app_disc_after_pairing ,mouse_event_light_state_pairing 
+0x41e4 014791 bbit1 app_disc_after_reconn ,mouse_event_light_state_hibernate 
+0x41e5 014792 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+0x41e6 014793 branch mouse_start_discovery 
+:      014794 mouse_bb_discon_clear_stack:
+0x41e7 014795 setarg 0 
+0x41e8 014796 store 8 ,mem_wheel_tb_old_pinlevel 
+0x41e9 014797 istore 4 ,contw 
+0x41ea 014798 jam 0 ,mem_mouse_send_blank_timer 
+0x41eb 014799 jam 0 ,mem_mouse_move_flag 
+0x41ec 014800 jam app_handshake_null ,mem_app_handshake_flag 
+0x41ed 014801 jam 0 ,mem_ltk_exists 
+0x41ee 014802 rtn 
+:      014804 mouse_event_light_state_pairing:
+0x41ef 014805 bbit1 app_disc_after_handshake ,mouse_event_light_state_hibernate 
+0x41f0 014806 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+0x41f1 014807 branch mouse_start_discovery 
+:      014808 mouse_event_light_state_hibernate:
+0x41f2 014809 fetch 2 ,mem_ui_state_map 
+0x41f3 014810 bbit1 ui_state_btn_down ,mouse_start_discovery 
+0x41f4 014811 branch app_bb_hibernate 
+:      014813 mouse4_0_event_bb_disconn:
+0x41f5 014814 call mouse_le_clean_connect_flag 
+0x41f6 014815 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x41f7 014816 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0x41f8 014817 branch app_bb_hibernate 
+:      014819 mouse_bb_event_timer:
+0x41f9 014820 call mouse_adc_read 
+0x41fa 014821 call mouse_24g_delay_timer 
+0x41fb 014822 call mouse_ban_24g_pairing_timer 
+0x41fc 014823 call mouse_dpi_led_blink_delay_timer 
+0x41fd 014824 call mouse_statue_up_timer 
+0x41fe 014826 call mouse_statue_cheak_timer 
+0x41ff 014827 call mouse_select_device 
+0x4200 014828 call mouse_bt_discovery_cheak 
+0x4201 014829 call mouse_low_voltage_led_timer 
+0x4202 014830 call mouse_sensor_led_contrl_timer 
+0x4203 014831 call mouse_check_hid_handshake_timer 
+0x4204 014832 call mouse_check_discovery_timeout_timer 
+0x4205 014833 call mouse_check_direct_timeout_timer 
+0x4206 014834 call mouse_check_no_data_timeout_timer 
+0x4207 014835 call mouse_check_mouse_state_timer 
+0x4208 014836 branch mouse_le_enable_att_list_timer 
+:      014840 mouse_sensor_led_contrl_timer:
+0x4209 014841 fetch 1 ,mem_mouse_sensor_timer_count 
+0x420a 014842 rtn blank 
+0x420b 014843 increase -1 ,pdata 
+0x420c 014844 store 1 ,mem_mouse_sensor_timer_count 
+0x420d 014845 nrtn blank 
+0x420e 014846 branch mouse_sensor_led_contrl 
+:      014847 mouse_sensor_led_contrl:
+0x420f 014848 fetch 1 ,mem_sensor_led_style 
+0x4210 014849 rtneq ui_led_state_blink_stop 
+0x4211 014850 beq ui_led_state_blink_darking ,mouse_sensor_led_blink_state_darking 
+:      014851 mouse_sensor_led_blink_state_lighting:
+0x4212 014852 call mouse_sensor_led_on 
+0x4213 014853 jam ui_led_state_blink_darking ,mem_sensor_led_style 
+0x4214 014854 jam led_sensor_blink_cnt ,mem_mouse_sensor_timer_count 
+0x4215 014855 rtn 
+:      014856 mouse_sensor_led_blink_state_darking:
+0x4216 014857 call mouse_sensor_led_off 
+0x4217 014858 jam ui_led_state_blink_lighting ,mem_sensor_led_style 
+0x4218 014859 jam led_sensor_blink_cnt ,mem_mouse_sensor_timer_count 
+0x4219 014860 rtn 
+:      014862 mouse_sensor_led_blink_stop:
+:      014863 mouse_sensor_reset:
+0x421a 014864 setarg 0x8006 
+0x421b 014865 call twspi_write 
+0x421c 014866 nop 1000 
+0x421d 014867 jam 0x00 ,mem_mouse_sensor_timer_count 
+0x421e 014868 jam ui_led_state_blink_stop ,mem_sensor_led_style 
+0x421f 014869 branch mouse_init_p32xx_id2_judge 
+:      014871 mouse_p3212sensor_led_on:
+0x4220 014872 setarg 0xa006 
+0x4221 014873 call twspi_write 
+0x4222 014874 setarg 0xa005 
+0x4223 014875 branch twspi_write 
+:      014876 mouse_sensor_led_on_global:
+0x4224 014877 jam 0 ,mem_mouse_sensor_timer_count 
+:      014878 mouse_sensor_led_on:
+0x4225 014879 fetch 1 ,mem_config_sensor_type 
+0x4226 014880 beq p3212 ,mouse_p3212sensor_led_on 
+0x4227 014881 setarg 0x0106 
+0x4228 014882 call twspi_write 
+0x4229 014883 setarg 0xa105 
+0x422a 014884 branch twspi_write 
+:      014886 mouse_sensor_led_off_global:
+0x422b 014887 jam 0 ,mem_mouse_sensor_timer_count 
+:      014888 mouse_sensor_led_off:
+0x422c 014889 setarg 0x0906 
+0x422d 014890 branch twspi_write 
+:      014891 mouse_sensor_start_blink:
+0x422e 014892 jam led_sensor_blink_cnt ,mem_mouse_sensor_timer_count 
+0x422f 014893 jam ui_led_state_blink_start ,mem_sensor_led_style 
+0x4230 014894 rtn 
+:      014896 mouse_check_hid_handshake_timer:
+0x4231 014897 arg mem_hid_handshake_timer_count ,regc 
+0x4232 014898 arg mouse_bt_hid_handshake ,regb 
+0x4233 014899 branch timer_single_step 
+:      014901 mouse_check_discovery_timeout_timer:
+0x4234 014902 arg mem_mouse_discovery_timer ,regc 
+0x4235 014903 arg mouse_check_discovery_timeout ,regb 
+0x4236 014904 branch timer_single_step_2b 
+:      014906 mouse_check_direct_timeout_timer:
+0x4237 014907 arg mem_mouse_direct_timer ,regc 
+0x4238 014908 arg mouse_check_direct_timeout ,regb 
+0x4239 014909 branch timer_single_step_2b 
+:      014911 mouse_check_no_data_timeout_timer:
+0x423a 014912 arg mem_mouse_no_data_timer ,regc 
+0x423b 014913 arg mouse_check_no_data_timeout ,regb 
+0x423c 014914 branch timer_single_step_2b 
+:      014916 mouse_check_mouse_state_timer:
+0x423d 014917 arg mem_mouse_statue_led_timer ,regc 
+0x423e 014918 arg mouse_statue_led_off ,regb 
+0x423f 014919 branch timer_single_step 
+:      014923 mouse_le_enable_att_list_timer:
+0x4240 014924 arg mem_le_start_encrypt_timer ,regc 
+0x4241 014925 arg mouse_le_enable_att_list ,regb 
+0x4242 014926 branch timer_single_step 
+:      014928 mouse_24g_delay_timer:
+0x4243 014929 arg mem_24g_enter_lpm_timer ,regc 
+0x4244 014930 arg mouse_24g_delay ,regb 
+0x4245 014931 branch timer_single_step 
+:      014933 mouse_ban_24g_pairing_timer:
+0x4246 014934 arg mem_24g_pairing_timer_count ,regc 
+0x4247 014935 arg mouse_ban_24g_pairing ,regb 
+0x4248 014936 branch timer_single_step_2b 
+:      014937 mouse_ban_24g_pairing:
+:      014938 mouse_24g_delay:
+0x4249 014939 rtn 
+:      014942 mosue_dpi_led_blink_init:
+0x424a 014943 fetch mouse_flag_len ,mem_mouse_flag 
+0x424b 014944 rtnbit0 mouse_enable_dpi_led_blink 
+0x424c 014945 jam 10 ,mem_mouse_dpi_led_delay_count 
+0x424d 014946 fetch 1 ,mem_dpi_led_gpio 
+0x424e 014947 store 1 ,mem_mouse_struct_led_gpio 
+0x424f 014948 rtn 
+:      014951 mouse_dpi_led_blink_delay_timer:
+0x4250 014952 arg mem_mouse_dpi_led_delay_count ,regc 
+0x4251 014953 arg mouse_dpi_led_setting ,regb 
+0x4252 014954 branch timer_single_step 
+:      014955 mouse_dpi_led_setting:
+0x4253 014956 fetch 1 ,mem_dpi_led_gpio 
+0x4254 014957 store 1 ,mem_mouse_struct_led_gpio 
+0x4255 014958 setarg led_dpi_blink 
+0x4256 014959 store 2 ,mem_mouse_on_time 
+0x4257 014960 store 2 ,mem_mouse_off_time 
+0x4258 014961 arg 0 ,rega 
+0x4259 014962 fetcht 1 ,mem_mouse_dpi 
+0x425a 014963 increase 1 ,temp 
+0x425b 014964 storet 1 ,mem_mouse_blink_count 
+0x425c 014965 jam ui_led_state_blink_start ,mem_mouse_led_type 
+0x425d 014966 rtn 
+:      014968 mouse_le_enable_att_list:
+0x425e 014969 fetch 1 ,mem_le_connect_status_flag 
+0x425f 014970 rtnbit1 ll_pairing_success_flag 
+0x4260 014971 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+0x4261 014972 call ui_ipc_send_cmd 
+0x4262 014973 arg write_req_enable_flag ,queue 
+0x4263 014974 branch mouse_le_enable_connect_flag 
+:      014977 mouse_check_discovery_timeout:
+0x4264 014978 call mouse_stop_discovery 
+0x4265 014979 branch app_enter_hibernate 
+:      014981 mouse_check_direct_timeout:
+0x4266 014982 call app_ble_stop_direct_adv 
+0x4267 014983 fetch 1 ,mem_reconn_times 
+0x4268 014984 nbranch mouse_polling_device ,blank 
+0x4269 014985 branch app_enter_hibernate 
+:      014987 mouse_check_no_data_timeout:
+0x426a 014988 bmark1 mark_24g ,check_51cmd_hibernate 
+0x426b 014989 branch mouse_disconnect 
+:      014993 mouse_bb_event_discovery_btn:
+0x426c 014994 bpatch patch1d_2 ,mem_patch1d 
+0x426d 014995 jam 0 ,mem_mouse_send_blank_timer 
+0x426e 014996 call mouse_disconnect 
+0x426f 014997 call mouse_le_clean_connect_flag 
+0x4270 014998 branch mouse_start_discovery 
+:      015002 mouse3_0_check_reconn_target:
+0x4271 015003 fetch 6 ,mem_hci_plap 
+0x4272 015004 branch app_bt_start_discovery_short ,blank 
+0x4273 015005 call mouse_reconn_setting_led_gpio 
+0x4274 015006 jam 0x17 ,mem_connection_options 
+0x4275 015007 fetch 1 ,mem_ssp_enable 
+0x4276 015008 nbranch app_bt_start_reconnect ,blank 
+0x4277 015009 jam 0x04 ,mem_connection_options 
+0x4278 015010 branch app_bt_start_reconnect 
+:      015012 mouse4_0_check_reconn_target:
+0x4279 015013 fetch 2 ,mem_mouse_direct_timeout 
+0x427a 015014 store 2 ,mem_mouse_direct_timer 
+0x427b 015015 call mouse_reconn_setting_led_gpio 
+0x427c 015016 call app_lpm_mult_disable 
+0x427d 015017 branch check_51cmd_adv 
+:      015019 mouse_reconn_setting_led_gpio:
+0x427e 015020 setarg led_reconnect_blink 
+0x427f 015021 store 2 ,mem_mouse_on_time 
+0x4280 015022 store 2 ,mem_mouse_off_time 
+0x4281 015023 branch mouse_setting_led_gpio_comman 
+:      015025 mouse_discover_setting_led_gpio:
+0x4282 015026 setarg led_discovery_blink 
+0x4283 015027 store 2 ,mem_mouse_on_time 
+0x4284 015028 store 2 ,mem_mouse_off_time 
+:      015029 mouse_setting_led_gpio_comman:
+0x4285 015030 fetch 1 ,mem_device_flag 
+0x4286 015031 beq mode_bt_device1 ,mouse_device_led1 
+0x4287 015032 beq mode_bt_device2 ,mouse_device_led2 
+0x4288 015033 beq mode_bt_device3 ,mouse_device_led3 
+0x4289 015034 rtn 
+:      015035 mouse_device_led1:
+0x428a 015036 fetch 1 ,mem_config_device1_led_gpio 
+0x428b 015037 branch mouse_led_blink 
+:      015038 mouse_device_led2:
+0x428c 015039 fetch 1 ,mem_config_device2_led_gpio 
+0x428d 015040 branch mouse_led_blink 
+:      015041 mouse_device_led3:
+0x428e 015042 fetch 1 ,mem_config_device3_led_gpio 
+:      015043 mouse_led_blink:
+0x428f 015044 store 1 ,mem_temp 
+0x4290 015045 call mouse_devce_led_off 
+0x4291 015046 fetch 1 ,mem_temp 
+0x4292 015047 store 1 ,mem_mouse_struct_led_gpio 
+0x4293 015048 arg 0 ,rega 
+0x4294 015049 jam ui_led_state_blink_start ,mem_mouse_led_type 
+0x4295 015050 branch ui_led_blink_start_global 
+:      015052 mouse_led_off:
+0x4296 015053 arg 0 ,rega 
+0x4297 015054 branch ui_led_off_global 
+:      015055 mouse_led_on:
+0x4298 015056 arg 0 ,rega 
+0x4299 015057 branch ui_led_on_global 
+:      015059 mouse4_0_bb_event_discovery_btn:
+0x429a 015060 branch mouse_le_clean_connect_flag 
+:      015062 mouse_bt_hid_handshake:
+0x429b 015063 jam app_handshake_done ,mem_app_handshake_flag 
+0x429c 015064 call app_lpm_mult_enable 
+0x429d 015065 call app_bt_store_reconn_info 
+0x429e 015066 setarg 0 
+0x429f 015067 store 2 ,mem_discovery_timeout_timer_count 
+0x42a0 015068 store 1 ,mem_hid_handshake_timer_count 
+0x42a1 015069 branch app_bt_enter_sniff 
+:      015071 mouse_check_reconn_target:
+0x42a2 015072 call mouse_cheak_select_device_by_switch 
+0x42a3 015073 fetch 1 ,mem_device_flag 
+0x42a4 015074 fetcht 1 ,mem_24g_device_number 
+0x42a5 015075 isub temp ,null 
+0x42a6 015076 branch mouse_connect_24g_mode ,zero 
+0x42a7 015077 fetch 1 ,mem_xrecord_mode 
+0x42a8 015078 beq rec_3_mode ,mouse3_0_check_reconn_target 
+0x42a9 015079 beq rec_4_mode ,mouse4_0_check_reconn_target 
+0x42aa 015080 branch mouse_start_discovery 
+:      015081 mouse_connect_24g_mode:
+0x42ab 015082 call mouse_start_24g_mode 
+0x42ac 015083 rtnmark1 mark_24g 
+0x42ad 015084 fetch 1 ,mem_reconn_times 
+0x42ae 015085 nbranch mouse_polling_device ,blank 
+0x42af 015086 rtn 
+:      015088 mouse_start_discovery:
+0x42b0 015089 bpatch patch1d_3 ,mem_patch1d 
+0x42b1 015090 fetch 2 ,mem_ui_state_map 
+0x42b2 015091 bbit1 ui_state_ble_adv ,mouse_start_discovery_norandom 
+0x42b3 015092 fetch mouse_flag_len ,mem_mouse_flag 
+0x42b4 015093 bbit0 mouse_enable_ble_random_addre ,mouse_start_discovery_norandom 
+0x42b5 015094 random pdata 
+0x42b6 015095 store 1 ,mem_le_lap + 1 
+:      015096 mouse_start_discovery_norandom:
+0x42b7 015097 call app_lpm_mult_disable 
+0x42b8 015098 fetch 2 ,mem_discovery_timeout 
+0x42b9 015099 store 2 ,mem_mouse_discovery_timer 
+0x42ba 015100 jam 6 ,mem_connection_options 
+0x42bb 015101 setarg 0 
+0x42bc 015102 store 2 ,mem_mouse_no_data_timer 
+0x42bd 015103 store 2 ,mem_mouse_direct_timer 
+0x42be 015104 arg mouse_store_eeprom_flag ,queue 
+0x42bf 015105 call mouse_enable_function_flag 
+0x42c0 015106 call mouse_bt_discovery_button_down_disable 
+0x42c1 015107 fetch 1 ,mem_device_option 
+0x42c2 015108 isolate1 mode_4_mouse ,pdata 
+0x42c3 015109 call check_51cmd_adv ,true 
+0x42c4 015110 fetch 1 ,mem_device_option 
+0x42c5 015111 isolate1 mode_3_mouse ,pdata 
+0x42c6 015112 call check_51cmd_start_discovery ,true 
+0x42c7 015113 fetch mouse_flag_len ,mem_mouse_flag 
+0x42c8 015114 bbit1 mouse_enable_discovery_sensor_led ,mouse_sensor_start_blink 
+0x42c9 015115 branch mouse_discover_setting_led_gpio 
+:      015117 mouse_stop_discovery:
+0x42ca 015118 bpatch patch1d_4 ,mem_patch1d 
+0x42cb 015119 fetch 1 ,mem_device_option 
+0x42cc 015120 isolate1 mode_4_mouse ,pdata 
+0x42cd 015121 call mouse_stop_le_adv ,true 
+0x42ce 015122 fetch 1 ,mem_device_option 
+0x42cf 015123 isolate1 mode_3_mouse ,pdata 
+0x42d0 015124 call mouse_stop_bt3_discovery ,true 
+0x42d1 015125 fetch mouse_flag_len ,mem_mouse_flag 
+0x42d2 015126 bbit1 mouse_enable_discovery_sensor_led ,mouse_sensor_led_blink_stop 
+0x42d3 015127 branch mouse_devce_led_off 
+:      015128 mouse_stop_le_adv:
+0x42d4 015129 setarg 0 
+0x42d5 015130 store 2 ,mem_mouse_direct_timer 
+0x42d6 015131 branch check_51cmd_stop_adv 
+:      015132 mouse_stop_bt3_discovery:
+0x42d7 015133 setarg 0 
+0x42d8 015134 store 2 ,mem_mouse_discovery_timer 
+0x42d9 015135 branch check_51cmd_stop_discovery 
+:      015141 mouse_store_remote_bdaddr:
+0x42da 015142 fetch mouse_flag_len ,mem_mouse_flag 
+0x42db 015143 rtnbit0 mouse_store_eeprom_flag 
+0x42dc 015144 arg mouse_store_eeprom_flag ,queue 
+0x42dd 015145 call mouse_disable_function_flag 
+0x42de 015146 call mouse_check_device_addr 
+:      015147 mouse_unplug_clean_bdaddr:
+0x42df 015148 call mouse_before_store_reconn_info 
+0x42e0 015149 fetch mouse_flag_len ,mem_mouse_flag 
+0x42e1 015150 bbit1 mouse_enable_flash ,mouse_store_flash_device_info 
+0x42e2 015151 bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
+0x42e3 015152 rtn 
+:      015153 mouse_store_eeprom_device_info:
+0x42e4 015154 arg 88 ,temp 
+0x42e5 015155 arg mem_device_flag ,rega 
+0x42e6 015156 arg mouse_info_eeprom_offect ,regb 
+0x42e7 015157 branch iicd_write_protect_eep_data 
+:      015159 mouse_check_device_addr:
+0x42e8 015160 fetch 1 ,mem_record_bt_mode 
+0x42e9 015161 beq rec_4_mode ,mouse_check_le_device_addr 
+0x42ea 015162 beq rec_3_mode ,mouse_check_bt_device_addr 
+0x42eb 015163 rtn 
+:      015164 mouse_check_le_device_addr:
+0x42ec 015165 store 1 ,mem_device_addr_temp 
+0x42ed 015166 fetch 6 ,mem_le_plap 
+0x42ee 015167 branch mouse_check_bt_device_addr_common 
+:      015168 mouse_check_bt_device_addr:
+0x42ef 015169 store 1 ,mem_device_addr_temp 
+0x42f0 015170 fetch 6 ,mem_plap 
+:      015171 mouse_check_bt_device_addr_common:
+0x42f1 015172 store 6 ,mem_device_addr_temp + 1 
+0x42f2 015173 fetch 7 ,mem_device_addr_temp 
+0x42f3 015174 arg mem_device1_type ,contr 
+0x42f4 015175 arg 3 ,loopcnt 
+:      015176 mouse_check_device_addr_end:
+0x42f5 015177 ifetcht 7 ,contr 
+0x42f6 015178 isub temp ,null 
+0x42f7 015179 branch mouse_clean_addr ,zero 
+0x42f8 015180 increase 22 ,contr 
+0x42f9 015181 loop mouse_check_device_addr_end 
+0x42fa 015182 rtn 
+:      015183 mouse_before_store_reconn_info:
+0x42fb 015184 arg mem_device1_type ,rega 
+0x42fc 015185 fetch 1 ,mem_device_flag 
+0x42fd 015186 increase -1 ,pdata 
+0x42fe 015187 mul32 pdata ,29 ,pdata 
+0x42ff 015188 iadd rega ,rega 
+0x4300 015189 fetch 1 ,mem_record_bt_mode 
+0x4301 015190 istore 1 ,rega 
+0x4302 015191 beq rec_4_mode ,mouse_store_le_device 
+0x4303 015192 beq rec_3_mode ,mouse_store_bt_device 
+0x4304 015193 rtn 
+:      015195 mouse_store_le_device:
+0x4305 015196 fetch 6 ,mem_le_plap 
+0x4306 015197 istore 6 ,contw 
+0x4307 015198 arg mem_le_ltk ,contr 
+0x4308 015199 call memcpy16 
+0x4309 015200 fetch 6 ,mem_le_lap 
+0x430a 015201 istore 6 ,contw 
+0x430b 015202 rtn 
+:      015203 mouse_store_bt_device:
+0x430c 015204 fetch 6 ,mem_plap 
+0x430d 015205 istore 6 ,contw 
+0x430e 015206 arg mem_link_key ,contr 
+0x430f 015207 branch memcpy16 
+:      015209 mouse_clean_addr:
+0x4310 015210 increase -6 ,contr 
+0x4311 015211 copy contr ,contw 
+0x4312 015212 fetcht 6 ,mem_device_addr_temp + 1 
+0x4313 015213 increase 3 ,temp 
+0x4314 015214 istoret 6 ,contw 
+0x4315 015215 rtn 
+:      015219 mouse_eeprom_load_recon_info:
+0x4316 015220 arg 88 ,temp 
+0x4317 015221 arg mem_device_flag ,rega 
+0x4318 015222 arg mouse_info_eeprom_offect ,regb 
+0x4319 015223 call iicd_read_eep_data 
+:      015224 mouse_select_reconn_device:
+0x431a 015225 arg mem_device1_type ,rega 
+0x431b 015226 fetch 1 ,mem_device_flag 
+0x431c 015227 fetcht 1 ,mem_24g_device_number 
+0x431d 015228 isub temp ,null 
+0x431e 015229 rtn zero 
+0x431f 015230 increase -1 ,pdata 
+0x4320 015231 mul32 pdata ,29 ,pdata 
+0x4321 015232 iadd rega ,rega 
+0x4322 015233 ifetch 1 ,rega 
+0x4323 015234 store 1 ,mem_xrecord_mode 
+0x4324 015235 beq rec_3_mode ,mouse_load_bt_device 
+0x4325 015236 beq rec_4_mode ,mouse_load_le_device 
+0x4326 015237 rtn 
+:      015239 mouse_load_bt_device:
+0x4327 015240 ifetch 6 ,contr 
+:      015241 mouse_load_bt_device_end:
+0x4328 015242 store 6 ,mem_hci_plap 
+0x4329 015243 arg mem_link_key ,contw 
+0x432a 015244 call memcpy16 
+0x432b 015245 branch check_link_key_load 
+:      015247 mouse_load_le_device:
+0x432c 015248 ifetch 6 ,contr 
+:      015249 mouse_load_le_device_end:
+0x432d 015250 store 6 ,mem_hci_plap 
+0x432e 015251 arg mem_le_ltk ,contw 
+0x432f 015252 call memcpy16 
+0x4330 015253 ifetch 6 ,contr 
+0x4331 015254 store 6 ,mem_le_lap 
+0x4332 015255 rtn 
+:      015258 mouse_select_device:
+0x4333 015259 fetch 1 ,mem_config_function_enable 
+0x4334 015260 bbit1 enable_select_device_by_gpio_button ,mouse_select_device_by_button 
+0x4335 015261 bbit1 enable_select_device_by_switch ,mouse_select_device_by_switch 
+0x4336 015262 branch mouse_select_device_by_combination_key 
+:      015264 mouse_select_device_by_combination_key:
+0x4337 015265 call mouse_check_key_gpio 
+0x4338 015266 beq mouse_rm_button ,mouse_select_device_commbination_key_down 
+:      015267 mouse_select_device_commbination_key_up:
+0x4339 015268 jam 30 ,mem_combination_select_device_count 
+0x433a 015269 fetch 1 ,mem_select_device_button_statue 
+0x433b 015270 rtneq dpi_button_state_up 
+0x433c 015271 jam dpi_button_state_up ,mem_select_device_button_statue 
+0x433d 015272 rtn 
+:      015274 mouse_select_device_commbination_key_down:
+0x433e 015275 call mouse_combination_select_device_timer 
+0x433f 015276 fetch 1 ,mem_select_device_button_statue 
+0x4340 015277 rtneq dpi_button_state_down 
+0x4341 015278 jam dpi_button_state_down ,mem_select_device_button_statue 
+0x4342 015279 branch mouse_select_device_enable 
+:      015281 mouse_combination_select_device_timer:
+0x4343 015282 fetch 1 ,mem_combination_select_device_count 
+0x4344 015283 rtn blank 
+0x4345 015284 pincrease -1 
+0x4346 015285 store 1 ,mem_combination_select_device_count 
+0x4347 015286 nrtn blank 
+0x4348 015287 branch mouse_ready_reconnection_by_button 
+:      015289 mouse_select_device_by_button:
+0x4349 015290 fetch 1 ,mem_config_select_device_button_gpio 
+0x434a 015291 rtneq gpio_disable 
+0x434b 015292 fetcht 1 ,mem_config_select_device_button_gpio 
+0x434c 015293 call gpio_get_bit 
+0x434d 015294 branch mouse_select_device_button_down ,true 
+:      015295 mouse_select_device_button_up:
+0x434e 015296 fetch 1 ,mem_select_device_button_statue 
+0x434f 015297 rtneq dpi_button_state_up 
+0x4350 015298 jam dpi_button_state_up ,mem_select_device_button_statue 
+0x4351 015299 fetch mouse_flag_len ,mem_mouse_flag 
+0x4352 015300 rtnbit1 mouse_long_bt_button_flag 
+0x4353 015301 branch mouse_ready_reconnection_by_button 
+:      015303 mouse_select_device_button_down:
+0x4354 015304 fetch 1 ,mem_select_device_button_statue 
+0x4355 015305 rtneq dpi_button_state_down 
+0x4356 015306 jam dpi_button_state_down ,mem_select_device_button_statue 
+0x4357 015307 arg mouse_long_bt_button_flag ,queue 
+0x4358 015308 branch mouse_disable_function_flag 
+:      015312 mouse_select_device_by_switch:
+0x4359 015313 fetch 1 ,mouse_flag_len ,mem_mouse_flag 
+0x435a 015314 rtnbit0 enable_select_device_by_switch 
+0x435b 015315 fetch 1 ,mem_device_flag 
+0x435c 015316 beq mode_bt_device1 ,mouse_select1_device 
+0x435d 015317 beq mode_24g_device ,mouse_select2_device 
+0x435e 015318 rtn 
+:      015319 mouse_cheak_select_device_by_switch:
+0x435f 015320 fetch 1 ,mouse_flag_len ,mem_mouse_flag 
+0x4360 015321 rtnbit0 enable_select_device_by_switch 
+0x4361 015322 fetcht 1 ,mem_config_select_device_button_gpio 
+0x4362 015323 call gpio_get_bit 
+0x4363 015324 branch mouse_cheak_select_24gdevice ,true 
+:      015325 mouse_select_btdevice:
+0x4364 015326 jam mode_bt_device1 ,mem_device_flag 
+0x4365 015327 rtn 
+:      015328 mouse_cheak_select_24gdevice:
+0x4366 015329 fetch 1 ,mem_24g_device_number 
+0x4367 015330 store 1 ,mem_device_flag 
+0x4368 015331 rtn 
+:      015332 mouse_select1_device:
+0x4369 015333 fetcht 1 ,mem_config_select_device_button_gpio 
+0x436a 015334 nbranch mouse_ready_reconnection_by_button ,true 
+0x436b 015335 rtn 
+:      015336 mouse_select2_device:
+0x436c 015337 fetcht 1 ,mem_config_select_device_button_gpio 
+0x436d 015338 call gpio_get_bit 
+0x436e 015339 branch mouse_select_device_button_down ,true 
+0x436f 015340 rtn 
+:      015345 mouse_ready_reconnection_by_button:
+0x4370 015346 fetcht 1 ,mem_device_flag 
+0x4371 015347 increase 1 ,temp 
+0x4372 015348 fetch 1 ,mem_device_number 
+0x4373 015349 isub temp ,null 
+0x4374 015350 ncall mouse_select_device_count_clean ,positive 
+0x4375 015351 storet 1 ,mem_device_flag 
+0x4376 015352 jam 0 ,mem_link_key_exists 
+0x4377 015353 call mouse_store_device_number2eeprom 
+0x4378 015354 call mouse_select_device_enable 
+0x4379 015356 branch mouse_set_reconnection 
+:      015358 mouse_store_device_number2eeprom:
+0x437a 015359 arg 1 ,temp 
+0x437b 015360 arg mem_device_flag ,rega 
+0x437c 015361 arg 0 ,regb 
+0x437d 015362 branch iicd_write_eep_data 
+:      015364 mouse_set_reconnection:
+0x437e 015365 call mouse_stop_bluetooth_mode 
+0x437f 015366 call mouse_select_device_disable 
+0x4380 015367 branch mouse_soft_reset 
+:      015368 mouse_stop_bluetooth_mode:
+0x4381 015369 fetch 2 ,mem_ui_state_map 
+0x4382 015370 bbit1 ui_state_bt_reconnect ,mouse_cancel_reconnect 
+0x4383 015371 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+0x4384 015372 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+0x4385 015373 branch mouse_stop_discovery 
+:      015375 mouse_disconnect:
+0x4386 015376 bpatch patch1d_5 ,mem_patch1d 
+0x4387 015377 setarg 0 
+0x4388 015378 store 2 ,mem_mouse_no_data_timer 
+0x4389 015379 fetch 2 ,mem_ui_state_map 
+0x438a 015380 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+0x438b 015381 fetch 2 ,mem_ui_state_map 
+0x438c 015382 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+0x438d 015383 rtn 
+:      015385 mouse_irtual_cable_unplug:
+0x438e 015386 setarg 0x01 
+0x438f 015387 store 6 ,mem_plap 
+0x4390 015388 jam rec_3_mode ,mem_record_bt_mode 
+0x4391 015389 branch mouse_unplug_clean_bdaddr 
+:      015392 mouse_cancel_reconnect:
+0x4392 015393 call mouse_bt_cannel_reconn_enable 
+0x4393 015394 branch check_51cmd_bb_reconn_cancel 
+:      015396 mouse_bt_discovery_by_button:
+0x4394 015397 fetch 1 ,mem_config_bt_button_gpio 
+0x4395 015398 rtneq gpio_disable 
+0x4396 015399 fetcht 1 ,mem_config_bt_button_gpio 
+0x4397 015400 call gpio_get_bit 
+0x4398 015401 branch mouse_bt_discovery_button_down ,true 
+:      015402 mouse_bt_discovery_button_up:
+0x4399 015403 fetch 1 ,mem_ui_button_timeout 
+0x439a 015404 store 1 ,mem_combination_ui_button_count 
+0x439b 015405 fetch 1 ,mem_bt_discovey_button_statue 
+0x439c 015406 rtneq dpi_button_state_up 
+0x439d 015407 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
+0x439e 015408 branch mouse_bt_discovery_button_down_disable 
+:      015409 mouse_bt_discovery_button_down:
+0x439f 015410 call mouse_bt_discovry_timer 
+0x43a0 015411 fetch 1 ,mem_bt_discovey_button_statue 
+0x43a1 015412 rtneq dpi_button_state_down 
+0x43a2 015413 jam dpi_button_state_down ,mem_bt_discovey_button_statue 
+0x43a3 015414 call check_51cmd_bb_reconn_cancel 
+0x43a4 015415 branch mouse_bt_discovery_button_down_enable 
+:      015418 mouse_bt_discovery_cheak:
+0x43a5 015419 fetch 1 ,mem_config_function_enable 
+0x43a6 015420 bbit1 enable_bt_button ,mouse_bt_discovery_by_button 
+:      015421 mouse_bt_discovery_commbination_key:
+0x43a7 015422 call mouse_check_key_gpio 
+0x43a8 015423 beq mouse_lmr_button ,mouse_bt_discovery_commbination_key_down 
+:      015424 mouse_bt_discovery_commbination_key_up:
+0x43a9 015425 fetch 1 ,mem_ui_button_timeout 
+0x43aa 015426 store 1 ,mem_combination_ui_button_count 
+0x43ab 015427 fetch 1 ,mem_bt_discovey_button_statue 
+0x43ac 015428 rtneq dpi_button_state_up 
+0x43ad 015429 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
+0x43ae 015430 branch mouse_bt_discovery_button_down_disable 
+:      015433 mouse_bt_discovery_commbination_key_down:
+0x43af 015434 call mouse_bt_discovry_timer 
+0x43b0 015435 fetch 1 ,mem_bt_discovey_button_statue 
+0x43b1 015436 rtneq dpi_button_state_down 
+0x43b2 015437 jam dpi_button_state_down ,mem_bt_discovey_button_statue 
+0x43b3 015438 call check_51cmd_bb_reconn_cancel 
+0x43b4 015439 branch mouse_bt_discovery_button_down_enable 
+:      015441 mouse_bt_discovry_timer:
+0x43b5 015442 arg mem_combination_ui_button_count ,regc 
+0x43b6 015443 arg mouse_long_button_bt_discovry ,regb 
+0x43b7 015444 branch timer_single_step 
+:      015446 mouse_long_button_bt_discovry:
+0x43b8 015447 arg mouse_long_bt_button_flag ,queue 
+0x43b9 015448 call mouse_enable_function_flag 
+0x43ba 015449 call app_evt_button_long_pressed 
+0x43bb 015450 branch mouse_bb_event_discovery_btn 
+:      015453 mouse_cpi_enable:
+0x43bc 015454 arg mouse_cpi_flag ,queue 
+0x43bd 015455 branch mouse_enable_function_flag 
+:      015456 mouse_cpi_disable:
+0x43be 015457 arg mouse_cpi_flag ,queue 
+0x43bf 015458 branch mouse_disable_function_flag 
+:      015459 mouse_select_device_enable:
+0x43c0 015460 arg mouse_select_device_flag ,queue 
+0x43c1 015461 branch mouse_enable_function_flag 
+:      015462 mouse_select_device_disable:
+0x43c2 015463 arg mouse_select_device_flag ,queue 
+0x43c3 015464 branch mouse_disable_function_flag 
+:      015465 mouse_bt_cannel_reconn_enable:
+0x43c4 015466 arg mouse_bt_cannel_reconn_flag ,queue 
+0x43c5 015467 branch mouse_enable_function_flag 
+:      015468 mouse_bt_cannel_reconn_disable:
+0x43c6 015469 arg mouse_bt_cannel_reconn_flag ,queue 
+0x43c7 015470 branch mouse_disable_function_flag 
+:      015471 mouse_bt_discovery_button_down_enable:
+0x43c8 015472 arg mouse_bt_discovery_button_down_flag ,queue 
+0x43c9 015473 branch mouse_enable_function_flag 
+:      015474 mouse_bt_discovery_button_down_disable:
+0x43ca 015475 arg mouse_bt_discovery_button_down_flag ,queue 
+0x43cb 015476 branch mouse_disable_function_flag 
+:      015480 mouse_select_device_count_clean:
+0x43cc 015481 arg 1 ,temp 
+0x43cd 015482 rtn 
+:      015484 mouse_enable_function_flag:
+0x43ce 015485 fetch mouse_flag_len ,mem_mouse_flag 
+0x43cf 015486 qset1 pdata 
+0x43d0 015487 store mouse_flag_len ,mem_mouse_flag 
+0x43d1 015488 rtn 
+:      015490 mouse_disable_function_flag:
+0x43d2 015491 fetch mouse_flag_len ,mem_mouse_flag 
+0x43d3 015492 qset0 pdata 
+0x43d4 015493 store mouse_flag_len ,mem_mouse_flag 
+0x43d5 015494 rtn 
+:      015496 mouse_adc_read:
+0x43d6 015497 fetch mouse_flag_len ,mem_mouse_flag 
+0x43d7 015498 rtnbit0 mouse_enable_adc 
+0x43d8 015499 fetch 1 ,mem_adc_read_timer 
+0x43d9 015500 increase 1 ,pdata 
+0x43da 015501 store 1 ,mem_adc_read_timer 
+0x43db 015502 sub pdata ,10 ,null 
+0x43dc 015503 rtn positive 
+0x43dd 015504 jam 0 ,mem_adc_read_timer 
+0x43de 015505 call adc_set_mode 
+0x43df 015506 call vdd_calculate_by_mode 
+0x43e0 015507 store 2 ,mem_mouse_vdd_now_vol 
+0x43e1 015508 arg mem_mouse_vdd_calculate_set ,rega 
+0x43e2 015509 call adc_bat_percent_lowpower_out 
+0x43e3 015510 fetch 1 ,mem_adc_power_flag 
+0x43e4 015511 bbit1 1 ,mouse_power_down 
+0x43e5 015512 bbit0 0 ,mouse_adc_no_low_voltage 
+0x43e6 015513 branch mouse_adc_low_voltage 
+:      015514 mouse_adc_low_voltage:
+0x43e7 015515 arg mouse_low_voltage_flag ,queue 
+0x43e8 015516 branch mouse_enable_function_flag 
+:      015517 mouse_adc_no_low_voltage:
+0x43e9 015518 arg mouse_low_voltage_flag ,queue 
+0x43ea 015519 branch mouse_disable_function_flag 
+:      015521 mouse_low_voltage_led_timer:
+0x43eb 015522 fetch mouse_flag_len ,mem_mouse_flag 
+0x43ec 015523 rtnbit0 mouse_low_voltage_flag 
+0x43ed 015524 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+0x43ee 015525 store 1 ,mem_mouse_struct_led_gpio 
+0x43ef 015526 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0x43f0 015527 pincrease 1 
+0x43f1 015528 store 1 ,mem_adc_low_volatage_led_timer_count 
+0x43f2 015529 sub pdata ,20 ,null 
+0x43f3 015530 ncall mouse_adc_low_volatage_led_timer_count_clean ,positive 
+0x43f4 015531 beq 2 ,mouse_low_voltage_led_on 
+0x43f5 015532 beq 4 ,mouse_low_voltage_led_off 
+0x43f6 015533 beq 6 ,mouse_low_voltage_led_on 
+0x43f7 015534 beq 8 ,mouse_low_voltage_led_off 
+0x43f8 015535 rtn 
+:      015536 mouse_adc_low_volatage_led_timer_count_clean:
+0x43f9 015537 jam 1 ,mem_adc_low_volatage_led_timer_count 
+0x43fa 015538 branch mouse_low_voltage_led_off 
+:      015539 mouse_low_voltage_led_on:
+0x43fb 015540 arg 0 ,rega 
+0x43fc 015541 jam ui_led_state_lighting ,mem_mouse_led_type 
+0x43fd 015542 branch ui_led_on_global 
+:      015543 mouse_low_voltage_led_off:
+0x43fe 015544 arg 0 ,rega 
+0x43ff 015545 jam ui_led_state_lighting ,mem_mouse_led_type 
+0x4400 015546 branch ui_led_off_global 
+:      015548 mouse_g24_package_data:
+0x4401 015549 call mouse_motion 
+0x4402 015550 nrtn user 
+0x4403 015551 arg 7 ,rega 
+0x4404 015552 arg mem_mouse_key ,regb 
+0x4405 015553 rtn 
+:      015555 mouse_g24_enter_lpm:
+0x4406 015556 fetch 1 ,mem_mouse_24g_enter_lpm_enable 
+0x4407 015557 rtn blank 
+0x4408 015559 fetcht 1 ,mem_dpi_button_gpio 
+0x4409 015560 call gpio_get_bit 
+0x440a 015561 call mouse_24g_dpi_delay_init ,true 
+0x440b 015562 fetch 1 ,mem_24g_enter_lpm_timer 
+0x440c 015563 nrtn blank 
+0x440d 015564 call mouse_check_key_gpio 
+0x440e 015565 nrtn blank 
+0x440f 015566 branch g24_lpm_long_sleep 
+:      015568 mouse_24g_dpi_delay_init:
+0x4410 015569 fetch 1 ,mem_dpi_button_gpio 
+0x4411 015570 rtneq ui_button_gpio_disable 
+0x4412 015571 jam 10 ,mem_24g_enter_lpm_timer 
+0x4413 015572 rtn 
+:      015575 mouse_load_flash_info_cheak:
+0x4414 015576 call mouse_load_flash_flag 
+0x4415 015577 fetch 2 ,mem_store_flag 
+0x4416 015578 arg eeprom_init_flag ,temp 
+0x4417 015579 isub temp ,null 
+0x4418 015580 branch mouse_load_flash_device_info ,zero 
+0x4419 015581 storet 2 ,mem_store_flag 
+0x441a 015582 call mouse_ble_init_address 
+0x441b 015583 branch mouse_store_flash_device_info 
+:      015584 mouse_ble_init_address:
+0x441c 015585 fetch 6 ,mem_le_lap 
+0x441d 015586 store 6 ,mem_device1_locall_addr 
+0x441e 015587 add pdata ,0x0100 ,pdata 
+0x441f 015588 store 6 ,mem_device2_locall_addr 
+0x4420 015589 add pdata ,0x0100 ,pdata 
+0x4421 015590 store 6 ,mem_device3_locall_addr 
+0x4422 015591 rtn 
+:      015594 mouse_load_flash_flag:
+0x4423 015595 setarg mem_store_flag 
+0x4424 015596 arg mem_mouse_information_start ,temp 
+0x4425 015597 isub temp ,temp 
+0x4426 015598 fetch 3 ,mem_flash_base 
+0x4427 015599 iadd temp ,pdata 
+0x4428 015600 arg 2 ,temp 
+0x4429 015601 arg mem_store_flag ,rega 
+0x442a 015602 branch spid_read_flash 
+:      015605 mouse_load_flash_device_info:
+0x442b 015606 setarg mem_mouse_information_end 
+0x442c 015607 arg mem_mouse_information_start ,temp 
+0x442d 015608 isub temp ,temp 
+0x442e 015609 fetch 3 ,mem_flash_base 
+0x442f 015610 arg mem_mouse_information_start ,rega 
+0x4430 015611 call spid_read_flash 
+0x4431 015612 call mouse_select_reconn_device 
+0x4432 015613 fetch 4 ,mem_mouse_24g_addr 
+0x4433 015614 call g24_head_ptr2regc 
+0x4434 015615 branch g24_store_mem_addr 
+:      015617 mouse_store_flash_device_info:
+0x4435 015618 setarg mem_mouse_information_end 
+0x4436 015619 arg mem_mouse_information_start ,temp 
+0x4437 015620 isub temp ,temp 
+0x4438 015621 arg mem_mouse_information_start ,rega 
+0x4439 015622 fetch 3 ,mem_flash_base 
+0x443a 015623 branch flash_write 
+:      015625 mouse_store_eerpom_dpi:
+0x443b 015626 arg 1 ,temp 
+0x443c 015627 arg mem_mouse_dpi ,rega 
+0x443d 015628 arg mouse_dpi_eeprom_offect ,regb 
+0x443e 015629 branch iicd_write_protect_eep_data 
+:      015631 mouse_load_eeprom_dpi:
+0x443f 015632 arg 1 ,temp 
+0x4440 015633 arg mem_mouse_dpi ,rega 
+0x4441 015634 arg mouse_dpi_eeprom_offect ,regb 
+0x4442 015635 branch iicd_read_eep_data 
+:      015637 mouse_statue_cheak_timer:
+0x4443 015638 rtnmark1 mark_24g 
+0x4444 015639 fetch mouse_flag_len ,mem_mouse_flag 
+0x4445 015640 rtnbit0 mouse_enable_statue_up 
+0x4446 015641 fetch 1 ,mem_mouse_1step_up_count 
+0x4447 015642 pincrease 1 
+0x4448 015643 and pdata ,0x07 ,pdata 
+0x4449 015644 store 1 ,mem_mouse_1step_up_count 
+0x444a 015645 rtnne 0x07 
+0x444b 015646 fetch 2 ,mem_ui_state_map 
+0x444c 015647 bbit1 ui_state_bt_connected ,mouse_check_statue_up 
+0x444d 015648 bbit1 ui_state_ble_connected ,mouse_check_statue_up 
+0x444e 015649 rtn 
+:      015654 mouse_check_statue_up:
+0x444f 015655 bpatch patch1d_6 ,mem_patch1d 
+0x4450 015656 fetch 1 ,mem_mouse_2step_up_count 
+0x4451 015657 nrtn blank 
+0x4452 015658 fetch mouse_flag_len ,mem_mouse_flag 
+0x4453 015659 rtnbit0 mouse_statue_up_flag 
+0x4454 015660 fetch 1 ,mem_sensor_squal_reg 
+0x4455 015661 call sensor_read 
+0x4456 015662 store 1 ,mem_sensor_iqc 
+0x4457 015663 sub pdata ,0x10 ,null 
+0x4458 015664 branch mouse_statue_up_timer_init ,positive 
+0x4459 015665 jam 0 ,mem_mouse_2step_up_count 
+0x445a 015666 rtn 
+:      015668 mouse_statue_up_timer_init:
+0x445b 015669 jam 30 ,mem_mouse_2step_up_count 
+0x445c 015670 rtn 
+:      015671 mouse_statue_up_timer:
+0x445d 015672 arg mem_mouse_2step_up_count ,regc 
+0x445e 015673 arg mouse_statue_up ,regb 
+0x445f 015674 branch timer_single_step 
+:      015676 mouse_statue_up:
+0x4460 015677 fetch 1 ,mem_sensor_squal_reg 
+0x4461 015678 call twspi_read 
+0x4462 015679 sub pdata ,0x10 ,null 
+0x4463 015680 nrtn positive 
+0x4464 015681 fetch mouse_flag_len ,mem_mouse_flag 
+0x4465 015682 rtnbit0 mouse_statue_up_flag 
+0x4466 015683 arg mouse_statue_up_flag ,queue 
+0x4467 015684 call mouse_disable_function_flag 
+0x4468 015685 jam 0 ,mem_lpm_mult 
+0x4469 015686 jam 30 ,mem_mouse_statue_led_timer 
+0x446a 015687 call mouse_devce_led_off 
+0x446b 015688 fetch mouse_flag_len ,mem_mouse_flag 
+0x446c 015689 bbit1 mouse_enable_statue_up_three_led ,mouse_three_device_statue_up 
+:      015690 mouse_two_device_statue_up:
+0x446d 015691 fetch 1 ,mem_device_flag 
+0x446e 015692 beq mode_bt_device1 ,mouse_device1_led_on 
+0x446f 015693 beq mode_bt_device2 ,mouse_device_blink_led_init 
+0x4470 015694 rtn 
+:      015695 mouse_three_device_statue_up:
+0x4471 015696 fetch 1 ,mem_device_flag 
+0x4472 015697 beq mode_bt_device1 ,mouse_device1_led_on 
+0x4473 015698 beq mode_bt_device2 ,mouse_device2_led_on 
+0x4474 015699 beq mode_bt_device3 ,mouse_device3_led_on 
+0x4475 015700 rtn 
+:      015702 mouse_device_blink_led_init:
+0x4476 015703 fetch 1 ,mem_config_device1_led_gpio 
+0x4477 015704 branch mouse_led_blink 
+:      015708 mouse_statue_led_off:
+0x4478 015709 jam 0x20 ,mem_lpm_mult 
+0x4479 015710 branch mouse_devce_led_off 
+:      015714 mouse_devce1_led_off:
+0x447a 015715 fetch 1 ,mem_config_device1_led_gpio 
+0x447b 015716 rtneq gpio_disable 
+0x447c 015717 store 1 ,mem_mouse_struct_led_gpio 
+0x447d 015718 branch mouse_led_off 
+:      015720 mouse_devce2_led_off:
+0x447e 015721 fetch 1 ,mem_config_device2_led_gpio 
+0x447f 015722 rtneq gpio_disable 
+0x4480 015723 store 1 ,mem_mouse_struct_led_gpio 
+0x4481 015724 branch mouse_led_off 
+:      015726 mouse_devce_led_off:
+0x4482 015727 call mouse_led_off 
+0x4483 015728 call mouse_devce1_led_off 
+0x4484 015729 call mouse_devce2_led_off 
+:      015730 mouse_devce3_led_off:
+0x4485 015731 fetch 1 ,mem_config_device3_led_gpio 
+0x4486 015732 rtneq gpio_disable 
+0x4487 015733 store 1 ,mem_mouse_struct_led_gpio 
+0x4488 015734 branch mouse_led_off 
+:      015736 mouse_device1_led_on:
+0x4489 015737 fetch 1 ,mem_config_device1_led_gpio 
+0x448a 015738 store 1 ,mem_mouse_struct_led_gpio 
+0x448b 015739 branch mouse_led_on 
+:      015740 mouse_device2_led_on:
+0x448c 015741 fetch 1 ,mem_config_device2_led_gpio 
+0x448d 015742 store 1 ,mem_mouse_struct_led_gpio 
+0x448e 015743 branch mouse_led_on 
+:      015744 mouse_device3_led_on:
+0x448f 015745 fetch 1 ,mem_config_device3_led_gpio 
+0x4490 015746 store 1 ,mem_mouse_struct_led_gpio 
+0x4491 015747 branch mouse_led_on 
+:      015751 mouse_polling_device:
+0x4492 015752 bpatch patch1d_7 ,mem_patch1d 
+0x4493 015753 fetch 1 ,mem_reconn_times 
+0x4494 015754 increase -1 ,pdata 
+0x4495 015755 store 1 ,mem_reconn_times 
+0x4496 015756 fetcht 1 ,mem_device_flag 
+0x4497 015757 increase 1 ,temp 
+0x4498 015758 fetch 1 ,mem_device_number 
+0x4499 015759 isub temp ,null 
+0x449a 015760 ncall mouse_select_device_count_clean ,positive 
+0x449b 015761 storet 1 ,mem_device_flag 
+0x449c 015762 jam 0 ,mem_link_key_exists 
+0x449d 015763 call mouse_store_device_number2eeprom 
+0x449e 015764 call mouse_before_store_reconn_info 
+0x449f 015765 branch mouse_check_reconn_target 
+:      015767 mouse_power_down:
+0x44a0 015768 call mouse_devce_led_off 
+0x44a1 015769 setarg 0 
+0x44a2 015770 store 8 ,mem_gpio_wakeup_low 
+0x44a3 015771 branch lpm_hibernate 
+:      015782 remote_car_init:
+0x44a4 015783 rtn wake 
+0x44a5 015784 hfetch 1 ,core_gpio_sel1 
+0x44a6 015785 and_into 0xf0 ,pdata 
+0x44a7 015786 hstore 1 ,core_gpio_sel1 
+0x44a8 015787 call keyscan_key_init 
+0x44a9 015788 setarg remote_car_le_before_hibernate 
+0x44aa 015789 store 2 ,mem_cb_before_hibernate 
+0x44ab 015791 setarg remote_car_process_lpm_before 
+0x44ac 015792 store 2 ,mem_cb_before_lpm 
+0x44ad 015794 setarg remote_car_scale_process_idle 
+0x44ae 015795 store 2 ,mem_cb_idle_process 
+0x44af 015797 setarg remote_car_scale_process_bb_event 
+0x44b0 015798 store 2 ,mem_cb_bb_event_process 
+0x44b1 015800 setarg app_get_lpm_wake_lock 
+0x44b2 015801 store 2 ,mem_cb_check_wakelock 
+0x44b3 015803 call g24_head_ptr2regc 
+0x44b4 015804 setarg remote_car_g24_package_data 
+0x44b5 015805 add regc ,offset_24g_cb_data ,contw 
+0x44b6 015806 istore 2 ,contw 
+0x44b7 015808 setarg remote_car_g24_enter_lpm 
+0x44b8 015809 add regc ,offset_24g_cb_lpm_prepare ,contw 
+0x44b9 015810 istore 2 ,contw 
+0x44ba 015812 setarg remote_car_process_lpm_before 
+0x44bb 015813 add regc ,offset_24g_cb_lpm_before ,contw 
+0x44bc 015814 istore 2 ,contw 
+0x44bd 015816 setarg remote_car_event_timer 
+0x44be 015817 store 2 ,mem_cb_event_timer 
+0x44bf 015819 setarg remote_car_power_off_signal 
+0x44c0 015820 store 2 ,mem_remote_car_power_off_cb 
+0x44c1 015822 setarg remote_car_soft_switch_power_on_signal 
+0x44c2 015823 store 2 ,mem_remote_car_power_standby_cb 
+0x44c3 015825 setarg remote_car_send_key_data 
+0x44c4 015826 store 2 ,mem_cb_remote_car_keyscan 
+0x44c5 015828 bpatch patch1e_0 ,mem_patch1e 
+0x44c6 015829 call remote_car_init_environment 
+0x44c7 015830 call queue_init 
+0x44c8 015831 jam 2 ,mem_lpm_mult 
+0x44c9 015832 fetch 1 ,mem_remote_car_config_soft_switch_enable 
+0x44ca 015833 store 1 ,mem_remote_car_hard_soft_switch 
+0x44cb 015834 beq hard_switch ,remote_car_hard_switch_power_on_signal 
+0x44cc 015835 fetch 1 ,mem_remote_car_config_soft_switch_gpio 
+0x44cd 015836 store 1 ,mem_ui_button_gpio 
+:      015837 remote_car_soft_switch_power_on_init:
+0x44ce 015838 call remote_car_ui_led_init 
+0x44cf 015839 call ui_button_init 
+0x44d0 015840 call ui_button_polling 
+0x44d1 015841 jam power_starting ,mem_remote_car_power_state 
+0x44d2 015842 fetch 2 ,mem_ui_state_map 
+0x44d3 015843 rtnbit1 ui_state_btn_down 
+0x44d4 015844 branch app_enter_hibernate 
+:      015848 remote_car_hard_switch_power_on_signal:
+0x44d5 015849 jam power_standby ,mem_remote_car_power_state 
+:      015850 remote_car_soft_switch_power_on_signal:
+0x44d6 015851 call remote_car_ui_led_init 
+0x44d7 015853 arg 0 ,rega 
+0x44d8 015854 call ui_led_blink_start_global 
+:      015855 remote_car_connect_24g_mode:
+0x44d9 015856 branch g24_auto_pair_start 
+:      015858 remote_car_power_off_signal:
+0x44da 015859 branch remote_car_ui_led_init 
+:      015861 remote_car_ui_led_init:
+0x44db 015862 bpatch patch1e_1 ,mem_patch1e 
+0x44dc 015863 fetch 1 ,mem_remote_car_config_connect_led_gpio 
+0x44dd 015864 bne invalid_pin_num ,remote_car_pairing_led_gpio_set 
+:      015865 remote_car_ui_led_init_1:
+0x44de 015866 fetcht 1 ,mem_remote_car_led_map 
+0x44df 015867 branch gpio_config_output 
+:      015868 remote_car_pairing_led_gpio_set:
+0x44e0 015869 store 1 ,mem_remote_car_led_map 
+0x44e1 015870 branch remote_car_ui_led_init_1 
+:      015873 remote_car_init_environment:
+0x44e2 015874 call g24_set_device_addr 
+0x44e3 015875 fetch 2 ,mem_remote_car_no_data_timeout 
+0x44e4 015876 store 2 ,mem_remote_car_no_data_timer 
+0x44e5 015877 branch remote_car_get_adc_default_data 
+:      015879 remote_car_le_before_hibernate:
+:      015884 remote_car_in_enter_hibernate:
+0x44e6 015885 call gpio_set_before_lpm_common 
+0x44e7 015886 call remote_car_process_lpm_before 
+0x44e8 015887 branch app_enter_hibernate 
+:      015889 remote_car_process_lpm_before:
+0x44e9 015890 branch keyscan_process_lpm_before 
+:      015892 remote_car_g24_enter_lpm:
+0x44ea 015893 fetch 1 ,mem_remote_car_24g_enter_lpm_enable 
+0x44eb 015894 rtn blank 
+0x44ec 015896 branch g24_lpm_long_sleep 
+:      015898 remote_car_process_auto_pair_exit:
+0x44ed 015899 rtn 
+:      015901 remote_car_key_scan_process:
+0x44ee 015902 branch keyscan_key_process 
+:      015904 remote_car_scale_process_idle:
+0x44ef 015905 call remote_car_rocker_process 
+0x44f0 015906 call remote_car_24g_status_process 
+0x44f1 015907 branch remote_car_key_scan_process 
+:      015909 remote_car_scale_process_bb_event:
+0x44f2 015910 copy regc ,pdata 
+0x44f3 015911 beq bt_evt_button_up ,app_event_button_up 
+0x44f4 015912 beq bt_evt_button_long_pressed ,app_button_long_pressed 
+0x44f5 015913 beq bt_evt_24g_pairing_complete ,remote_car_24g_pairing_complete 
+0x44f6 015914 beq bt_evt_24g_attempt_success ,remote_car_24g_attempt_success 
+0x44f7 015915 beq bt_evt_24g_attempt_fail ,remote_car_24g_attempt_fail 
+0x44f8 015916 rtn 
+:      015918 remote_car_24g_attempt_fail:
+0x44f9 015919 jam 1 ,mem_remote_car_24g_enter_lpm_enable 
+0x44fa 015920 rtn 
+:      015922 remote_car_24g_pairing_complete:
+0x44fb 015923 jam 1 ,mem_remote_car_24g_enter_lpm_enable 
+0x44fc 015924 jam work_paired ,mem_remote_car_24g_auto_work_step 
+0x44fd 015925 jam work_paired ,mem_remote_car_24g_pair_success_flag 
+0x44fe 015926 rtn 
+:      015928 remote_car_24g_attempt_success:
+0x44ff 015929 jam 1 ,mem_remote_car_24g_enter_lpm_enable 
+0x4500 015930 jam work_paired ,mem_remote_car_24g_auto_work_step 
+0x4501 015931 jam work_paired ,mem_remote_car_24g_pair_success_flag 
+0x4502 015932 rtn 
+:      015934 remote_car_24g_status_process:
+0x4503 015935 fetch 1 ,mem_remote_car_24g_auto_work_step 
+0x4504 015936 rtneq power_on 
+0x4505 015937 fetch 1 ,mem_remote_car_24g_status 
+0x4506 015938 rtneq work_paired 
+0x4507 015939 jam work_paired ,mem_remote_car_24g_status 
+:      015940 remote_car_scale_process_paired:
+0x4508 015941 arg 0 ,rega 
+0x4509 015942 branch ui_led_off_global 
+:      015943 remote_car_scale_process_shutdown:
+0x450a 015944 arg 0 ,rega 
+0x450b 015945 call ui_led_off_global 
+0x450c 015946 call remote_car_ui_led_init 
+0x450d 015947 branch app_enter_hibernate 
+:      015949 remote_car_event_timer:
+0x450e 015950 call app_power_timer 
+0x450f 015951 branch remote_car_no_data_timer 
+:      015953 remote_car_no_data_timer:
+0x4510 015954 fetch 1 ,mem_remote_car_config_timeout_shutdown_enable 
+0x4511 015955 rtn blank 
+0x4512 015956 arg mem_remote_car_no_data_timer ,regc 
+0x4513 015957 arg remote_car_scale_process_shutdown ,regb 
+0x4514 015958 branch timer_single_step_2b 
+:      015961 remote_car_get_adc_default_data:
+0x4515 015962 call remote_car_rocker_get_x 
+0x4516 015963 storet 2 ,mem_current_vdd_value_default_mid_x 
+0x4517 015964 call remote_car_rocker_get_y 
+0x4518 015965 storet 2 ,mem_current_vdd_value_default_mid_y 
+0x4519 015966 rtn 
+:      015967 remote_car_rocker_data_get:
+:      015968 remote_car_rocker_get_x:
+0x451a 015969 fetch 2 ,mem_current_vdd_value_default_mid_x 
+0x451b 015970 store 2 ,mem_current_vdd_value_default_mid_temp 
+0x451c 015971 call remote_car_get_adc_from_gpio6 
+0x451d 015972 call remote_car_rocker_get_value 
+0x451e 015973 store 1 ,mem_rocker_status 
+:      015974 remote_car_rocker_get_y:
+0x451f 015975 fetch 2 ,mem_current_vdd_value_default_mid_y 
+0x4520 015976 store 2 ,mem_current_vdd_value_default_mid_temp 
+0x4521 015977 call remote_car_get_adc_from_gpio7 
+0x4522 015978 call remote_car_rocker_get_value 
+0x4523 015979 store 1 ,mem_rocker_status + 1 
+0x4524 015980 rtn 
+:      015981 remote_car_rocker_get_value:
+0x4525 015982 fetch 2 ,mem_current_vdd_default_range 
+0x4526 015983 copy pdata ,rega 
+0x4527 015984 fetch 2 ,mem_current_vdd_value_default_mid_temp 
+0x4528 015985 call remote_car_rocker_mid_value_adjust 
+0x4529 015986 fetch 1 ,mem_rocker_work_status 
+0x452a 015987 nbranch remote_car_rocker_translate_key ,blank 
+0x452b 015988 nrtn positive 
+0x452c 015989 fetcht 2 ,mem_current_vdd_value_default_mid_temp 
+0x452d 015990 rtn 
+:      015991 remote_car_rocker_mid_value_adjust:
+0x452e 015992 isub temp ,pdata 
+0x452f 015993 branch remote_car_rocker_mid_adjust_positive ,positive 
+0x4530 015994 sub pdata ,0 ,pdata 
+0x4531 015995 jam 1 ,mem_rocker_negative_flag 
+0x4532 015996 isub rega ,null 
+0x4533 015997 rtn 
+:      015998 remote_car_rocker_mid_adjust_positive:
+0x4534 015999 jam 0 ,mem_rocker_negative_flag 
+0x4535 016000 isub rega ,null 
+0x4536 016001 rtn 
+:      016002 remote_car_rocker_translate_key:
+0x4537 016003 nbranch remote_car_rocker_middle_key ,positive 
+0x4538 016004 fetch 1 ,mem_rocker_negative_flag 
+0x4539 016005 nbranch remote_car_rocker_negative_key ,blank 
+:      016006 remote_car_rocker_positive_key:
+0x453a 016007 setarg rocker_positive_key 
+0x453b 016008 rtn 
+:      016009 remote_car_rocker_negative_key:
+0x453c 016010 setarg rocker_negative_key 
+0x453d 016011 rtn 
+:      016012 remote_car_rocker_middle_key:
+0x453e 016013 setarg rocker_middle_key 
+0x453f 016014 rtn 
+:      016015 remote_car_get_adc_from_gpio6:
+0x4540 016016 jam 0x33 ,mem_adc_channel 
+0x4541 016017 branch adc_set_mode 
+:      016018 remote_car_get_adc_from_gpio7:
+0x4542 016019 jam 0x34 ,mem_adc_channel 
+0x4543 016020 branch adc_set_mode 
+:      016023 remote_car_rocker_process:
+0x4544 016024 fetch 1 ,mem_remote_car_config_check_way 
+0x4545 016025 rtnne car_remote_check_rocker 
+:      016026 remote_car_read_rocker_check_start:
+0x4546 016027 bpatch patch1e_2 ,mem_patch1e 
+0x4547 016028 jam 1 ,mem_rocker_work_status 
+0x4548 016029 call remote_car_rocker_data_get 
+0x4549 016030 fetch 2 ,mem_rocker_status 
+0x454a 016031 fetcht 2 ,mem_rocker_last_status 
+0x454b 016032 isub temp ,null 
+0x454c 016033 rtn zero 
+0x454d 016034 store 2 ,mem_rocker_last_status 
+0x454e 016035 call remote_car_rocker_x_to_key 
+0x454f 016036 branch remote_car_rocker_y_to_key 
+:      016038 remote_car_rocker_x_to_key:
+0x4550 016039 fetch 1 ,mem_rocker_x_status 
+0x4551 016040 branch rocker_to_queue_set_0 ,blank 
+0x4552 016041 increase -1 ,pdata 
+0x4553 016042 branch remote_car_rocker_to_key 
+:      016043 remote_car_rocker_y_to_key:
+0x4554 016044 fetch 1 ,mem_rocker_y_status 
+0x4555 016045 branch rocker_to_queue_set_2 ,blank 
+0x4556 016046 increase 1 ,pdata 
+:      016047 remote_car_rocker_to_key:
+0x4557 016048 copy pdata ,queue 
+0x4558 016049 arg 1 ,rega 
+0x4559 016050 branch remote_car_send_key_data 
+:      016052 rocker_to_queue_set_0:
+0x455a 016053 arg 0 ,queue 
+0x455b 016054 arg 0 ,rega 
+0x455c 016055 branch remote_car_send_key_data 
+:      016056 rocker_to_queue_set_2:
+0x455d 016057 arg 2 ,queue 
+0x455e 016058 arg 0 ,rega 
+0x455f 016059 branch remote_car_send_key_data 
+:      016061 remote_car_send_key_data:
+0x4560 016062 copy rega ,pdata 
+0x4561 016063 store 1 ,mem_remote_key_status 
+0x4562 016064 fetch 1 ,mem_remote_car_24g_auto_work_step 
+0x4563 016065 beq power_on ,g24_auto_pair_start 
+0x4564 016066 fetch 2 ,mem_remote_car_no_data_timeout 
+0x4565 016067 store 2 ,mem_remote_car_no_data_timer 
+0x4566 016068 fetch 1 ,mem_remote_key_status 
+0x4567 016069 branch remote_car_key_is_release ,blank 
+:      016070 remote_car_key_is_press:
+0x4568 016071 bpatch patch1e_3 ,mem_patch1e 
+0x4569 016072 arg 0 ,rega 
+0x456a 016073 call ui_led_on_global 
+:      016074 remote_car_attack_key_press:
+0x456b 016075 copy queue ,pdata 
+0x456c 016076 beq 4 ,remote_car_send_attack_key4_press 
+0x456d 016077 beq 5 ,remote_car_send_attack_key5_press 
+0x456e 016078 beq 6 ,remote_car_send_fire_key6_press 
+:      016081 remote_car_motor_key_press:
+0x456f 016082 call remote_car_device_layout_select 
+0x4570 016083 beq control_f_b_ten ,remote_car_single_motor_key_is_press 
+0x4571 016084 beq control_l_r_ten ,remote_car_double_motor_key_press 
+0x4572 016085 beq control_l_r_lr ,remote_car_single_motor_key_is_press 
+0x4573 016086 rtn 
+:      016088 remote_car_single_motor_key_is_press:
+0x4574 016089 copy queue ,pdata 
+0x4575 016090 beq 0 ,remote_car_send_motor1_key0_press 
+0x4576 016091 beq 1 ,remote_car_send_motor1_key1_press 
+0x4577 016092 beq 2 ,remote_car_send_motor2_key2_press 
+0x4578 016093 beq 3 ,remote_car_send_motor2_key3_press 
+0x4579 016094 rtn 
+:      016096 remote_car_double_motor_key_press:
+0x457a 016097 copy queue ,pdata 
+0x457b 016098 beq 0 ,remote_car_send_double_motor_key0_press 
+0x457c 016099 beq 1 ,remote_car_send_double_motor_key1_press 
+0x457d 016100 beq 2 ,remote_car_send_double_motor_key2_press 
+0x457e 016101 beq 3 ,remote_car_send_double_motor_key3_press 
+0x457f 016102 rtn 
+:      016104 remote_car_key_is_release:
+0x4580 016105 bpatch patch1e_4 ,mem_patch1e 
+0x4581 016106 arg 0 ,rega 
+0x4582 016107 call ui_led_off_global 
+:      016108 remote_car_attack_key_release:
+0x4583 016109 copy queue ,pdata 
+0x4584 016110 beq 4 ,remote_car_send_attack_key4_rel 
+0x4585 016111 beq 5 ,remote_car_send_attack_key5_rel 
+:      016114 remote_car_motor_key_release:
+0x4586 016115 call remote_car_device_layout_select 
+0x4587 016116 beq control_f_b_ten ,remote_car_single_motor_key_rel 
+0x4588 016117 beq control_l_r_ten ,remote_car_double_motor_key_rel 
+0x4589 016118 beq control_l_r_lr ,remote_car_single_motor_key_rel 
+0x458a 016119 rtn 
+:      016121 remote_car_device_layout_select:
+0x458b 016122 fetch 1 ,mem_remote_car_config_layout 
+0x458c 016123 fetcht 1 ,mem_remote_car_config_key_map 
+0x458d 016124 ior temp ,pdata 
+0x458e 016125 rtn 
+:      016128 remote_car_send_motor1_key0_press:
+0x458f 016129 jam motor_positive ,mem_remote_car_24g_motor1_payload 
+0x4590 016130 branch remote_car_send_key 
+:      016131 remote_car_send_motor1_key1_press:
+0x4591 016132 jam motor_negative ,mem_remote_car_24g_motor1_payload 
+0x4592 016133 branch remote_car_send_key 
+:      016134 remote_car_send_motor2_key2_press:
+0x4593 016135 jam motor_positive ,mem_remote_car_24g_motor2_payload 
+0x4594 016136 branch remote_car_send_key 
+:      016137 remote_car_send_motor2_key3_press:
+0x4595 016138 jam motor_negative ,mem_remote_car_24g_motor2_payload 
+0x4596 016139 branch remote_car_send_key 
+:      016142 remote_car_send_double_motor_key0_press:
+0x4597 016143 jam motor_positive ,mem_remote_car_24g_motor1_payload 
+0x4598 016144 jam motor_positive ,mem_remote_car_24g_motor2_payload 
+0x4599 016145 branch remote_car_send_key 
+:      016146 remote_car_send_double_motor_key1_press:
+0x459a 016147 jam motor_negative ,mem_remote_car_24g_motor1_payload 
+0x459b 016148 jam motor_negative ,mem_remote_car_24g_motor2_payload 
+0x459c 016149 branch remote_car_send_key 
+:      016150 remote_car_send_double_motor_key2_press:
+0x459d 016151 jam motor_negative ,mem_remote_car_24g_motor1_payload 
+0x459e 016152 jam motor_positive ,mem_remote_car_24g_motor2_payload 
+0x459f 016153 branch remote_car_send_key 
+:      016154 remote_car_send_double_motor_key3_press:
+0x45a0 016155 jam motor_positive ,mem_remote_car_24g_motor1_payload 
+0x45a1 016156 jam motor_negative ,mem_remote_car_24g_motor2_payload 
+0x45a2 016157 branch remote_car_send_key 
+:      016160 remote_car_send_attack_key4_press:
+0x45a3 016161 jam motor_positive ,mem_remote_car_24g_motor3_payload 
+0x45a4 016162 branch remote_car_send_key 
+:      016163 remote_car_send_attack_key5_press:
+0x45a5 016164 jam motor_negative ,mem_remote_car_24g_motor3_payload 
+0x45a6 016165 branch remote_car_send_key 
+:      016167 remote_car_send_fire_key6_press:
+0x45a7 016168 jam 0x01 ,mem_remote_car_24g_fire_send_payload 
+0x45a8 016169 branch remote_car_send_attack 
+:      016171 remote_car_single_motor_key_rel:
+0x45a9 016172 copy queue ,pdata 
+0x45aa 016173 beq 0 ,remote_car_send_motor1_key0_rel 
+0x45ab 016174 beq 1 ,remote_car_send_motor1_key1_rel 
+0x45ac 016175 beq 2 ,remote_car_send_motor2_key2_rel 
+0x45ad 016176 beq 3 ,remote_car_send_motor2_key3_rel 
+0x45ae 016177 rtn 
+:      016179 remote_car_double_motor_key_rel:
+0x45af 016180 copy queue ,pdata 
+0x45b0 016181 beq 0 ,remote_car_send_double_motor_key0_rel 
+0x45b1 016182 beq 1 ,remote_car_send_double_motor_key1_rel 
+0x45b2 016183 beq 2 ,remote_car_send_double_motor_key2_rel 
+0x45b3 016184 beq 3 ,remote_car_send_double_motor_key3_rel 
+0x45b4 016185 rtn 
+:      016187 remote_car_send_motor1_key0_rel:
+:      016188 remote_car_send_motor1_key1_rel:
+0x45b5 016189 jam motor_stop ,mem_remote_car_24g_motor1_payload 
+0x45b6 016190 branch remote_car_send_key 
+:      016191 remote_car_send_motor2_key2_rel:
+:      016192 remote_car_send_motor2_key3_rel:
+0x45b7 016193 jam motor_stop ,mem_remote_car_24g_motor2_payload 
+0x45b8 016194 branch remote_car_send_key 
+:      016196 remote_car_send_double_motor_key0_rel:
+:      016197 remote_car_send_double_motor_key1_rel:
+:      016198 remote_car_send_double_motor_key2_rel:
+:      016199 remote_car_send_double_motor_key3_rel:
+0x45b9 016200 jam motor_stop ,mem_remote_car_24g_motor1_payload 
+0x45ba 016201 jam motor_stop ,mem_remote_car_24g_motor2_payload 
+0x45bb 016202 branch remote_car_send_key 
+:      016204 remote_car_send_attack_key4_rel:
+:      016205 remote_car_send_attack_key5_rel:
+0x45bc 016206 jam motor_stop ,mem_remote_car_24g_motor3_payload 
+0x45bd 016207 branch remote_car_send_key 
+:      016209 remote_car_send_key:
+0x45be 016210 arg mem_remote_car_24g_motor_packet ,rega 
+0x45bf 016211 branch queue_push 
+:      016212 remote_car_send_attack:
+0x45c0 016213 arg mem_remote_car_24g_fire_packet ,rega 
+0x45c1 016214 branch queue_push 
+:      016216 remote_car_g24_package_data:
+0x45c2 016217 fetch 1 ,mem_remote_car_24g_pair_success_flag 
+0x45c3 016218 beq work_paired ,remote_car_g24_send_empty 
+0x45c4 016219 arg mem_remote_car_24g_tx_temp ,rega 
+0x45c5 016220 call queue_pop 
+0x45c6 016221 nbranch remote_car_moto_data ,user 
+:      016222 remote_car_g24_package_data_continue:
+0x45c7 016223 arg mem_remote_car_24g_tx_temp ,contr 
+0x45c8 016224 ifetch 1 ,contr 
+0x45c9 016225 copy pdata ,rega 
+0x45ca 016226 arg mem_remote_car_24g_tx_temp + 1 ,regb 
+0x45cb 016229 rtn 
+:      016231 remote_car_g24_send_empty:
+0x45cc 016232 jam 0 ,mem_remote_car_24g_pair_success_flag 
+0x45cd 016233 enable user 
+0x45ce 016234 arg 1 ,rega 
+0x45cf 016235 arg mem_remote_car_empty_packet ,regb 
+0x45d0 016236 rtn 
+:      016238 remote_car_moto_data:
+0x45d1 016239 fetch 1 ,mem_remote_car_24g_tx_temp + 3 
+0x45d2 016240 beq car_cmd_l_r_motor_control ,remote_car_moto_data_next 
+0x45d3 016241 beq car_cmd_f_b_motor_control ,remote_car_moto_data_next 
+0x45d4 016242 rtn 
+:      016243 remote_car_moto_data_next:
+0x45d5 016244 fetch 1 ,mem_remote_car_24g_tx_temp + 6 
+0x45d6 016245 nbranch remote_car_moto_data_enable_user ,blank 
+0x45d7 016246 fetch 1 ,mem_remote_car_24g_tx_temp + 8 
+0x45d8 016247 nbranch remote_car_moto_data_enable_user ,blank 
+0x45d9 016248 fetch 1 ,mem_remote_car_24g_tx_temp + 10 
+0x45da 016249 nbranch remote_car_moto_data_enable_user ,blank 
+0x45db 016250 rtn 
+:      016251 remote_car_moto_data_enable_user:
+0x45dc 016252 enable user 
+0x45dd 016253 branch remote_car_g24_package_data_continue 
+:      016261 shutter_init:
+0x45de 016262 rtn wake 
+0x45df 016263 hfetch 1 ,core_gpio_sel1 
+0x45e0 016264 and_into 0xfc ,pdata 
+0x45e1 016265 hstore 1 ,core_gpio_sel1 
+0x45e2 016266 setarg shutter_le_before_hibernate 
+0x45e3 016267 store 2 ,mem_cb_before_hibernate 
+0x45e4 016269 setarg shutter_process_lpm_before 
+0x45e5 016270 store 2 ,mem_cb_before_lpm 
+0x45e6 016272 setarg app_enter_hibernate 
+0x45e7 016273 store 2 ,mem_cb_discovry_timeout 
+0x45e8 016275 setarg shutter_process_idle 
+0x45e9 016276 store 2 ,mem_cb_idle_process 
+0x45ea 016278 setarg shutter_process_bb_event 
+0x45eb 016279 store 2 ,mem_cb_bb_event_process 
+0x45ec 016281 setarg shutter_le_scale_lpm_lock 
+0x45ed 016282 store 2 ,mem_cb_check_wakelock 
+0x45ee 016284 setarg ble_shutter_receive_data 
+0x45ef 016285 store 2 ,mem_cb_att_write 
+0x45f0 016287 setarg shutter_le_bb_event_timer 
+0x45f1 016288 store 2 ,mem_cb_event_timer 
+0x45f2 016290 setarg shutter_key_change 
+0x45f3 016291 store 2 ,mem_cb_shutter_keycan 
+0x45f4 016293 setarg shutter_soft_swtich_power_on 
+0x45f5 016294 store 2 ,mem_shutter_soft_switch_poweron_callback_function 
+0x45f6 016295 setarg shutter_soft_swtich_power_off 
+0x45f7 016296 store 2 ,mem_shutter_soft_switch_poweroff_callback_function 
+0x45f8 016298 call le_modified_name 
+0x45f9 016299 call shutter_load_bluetooth_config_by_user_config 
+0x45fa 016300 call shutter_init_bluetooth_config 
+0x45fb 016301 call shutter_init_param 
+0x45fc 016302 call keyscan_key_init 
+0x45fd 016303 call shutter_load_buffer_config_form_datarom 
+0x45fe 016304 call queue_init 
+0x45ff 016305 call ui_led_init_global 
+0x4600 016306 call shutter_load_bluetooth_config 
+0x4601 016307 call shutter_load_bluetooth_config_by_eeprom 
+0x4602 016309 bpatch patch1e_5 ,mem_patch1e 
+0x4603 016310 call classic_shutter_load_reconn_info 
+0x4604 016311 fetch 1 ,mem_shutter_hard_soft_switch_case 
+0x4605 016312 beq hard_switch ,shutter_hart_swtich_power_on 
+0x4606 016313 fetch 1 ,mem_shutter_soft_switch_button_gpio 
+0x4607 016314 store 1 ,mem_ui_button_gpio 
+0x4608 016315 branch ui_soft_swtich_init 
+:      016318 shutter_hart_swtich_power_on:
+0x4609 016319 jam ui_button_gpio_disable ,mem_ui_button_gpio 
+0x460a 016320 jam ss_state_power_on ,mem_shutter_soft_switch_power_state 
+0x460b 016321 branch shutter_start_reconnect 
+:      016325 shutter_le_scale_lpm_lock:
+0x460c 016326 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x460d 016327 beq ss_state_power_off ,app_get_lpm_wake_lock 
+0x460e 016328 call l2cap_malloc_get_full_map 
+0x460f 016329 fetch 1 ,mem_used_map 
+0x4610 016330 nbranch app_get_lpm_wake_lock ,blank 
+0x4611 016331 branch app_put_lpm_wake_lock 
+:      016335 shutter_process_bb_event:
+0x4612 016336 copy regc ,pdata 
+0x4613 016338 beq bt_evt_bb_connected ,classic_shutter_process_baseband_connect 
+0x4614 016339 beq bt_evt_bb_disconnected ,classic_shutter_process_baseband_disconnect 
+0x4615 016340 beq bt_evt_reconn_failed ,classic_shutter_process_reconnect_failed 
+0x4616 016341 beq bt_evt_setup_complete ,classic_shutter_process_setup_complete 
+0x4617 016342 beq bt_evt_hid_connected ,classic_shutter_process_hid_connect 
+0x4618 016343 beq bt_evt_hid_disconnected ,classic_shutter_process_hid_disconnect 
+0x4619 016344 beq bt_evt_hid_handshake ,classic_shutter_process_hid_handshake 
+0x461a 016345 beq bt_evt_reconn_page_timeout ,classic_shutter_process_reconnect_page_timeout 
+0x461b 016346 beq bt_evt_virtual_cable_unplug ,classic_shutter_process_virtual_cable_unplug 
+0x461c 016347 beq bt_evt_remote_unsniff ,classic_shutter_process_remote_unsniff 
+0x461d 016348 beq bt_evt_store_nvram ,classic_shutter_process_store_reconnect_information 
+0x461e 016350 beq bt_evt_le_connected ,ble_shutter_process_baseband_connect 
+0x461f 016351 beq bt_evt_le_disconnected ,ble_shutter_process_baseband_disconnect 
+0x4620 016352 beq bt_evt_le_reconnect_complete ,ble_shutter_process_reconnect_complete 
+0x4621 016353 beq bt_evt_le_parse_conn_papa_update_rsp ,ble_shutter_process_parse_connect_parameter_update_response 
+0x4622 016355 beq bt_evt_button_long_pressed ,shutter_process_soft_swtich_button_long_press 
+0x4623 016356 beq bt_evt_button_down ,shutter_process_soft_swtich_button_down 
+0x4624 016357 beq bt_evt_button_up ,shutter_process_soft_swtich_button_up 
+0x4625 016358 rtn 
+:      016363 classic_shutter_process_baseband_connect:
+0x4626 016364 jam 0 ,mem_classic_shutter_hid_disconn_count 
+0x4627 016365 jam 0 ,mem_classic_shutter_cable_unplug_conut 
+0x4628 016366 rtn 
+:      016369 classic_shutter_process_baseband_disconnect:
+0x4629 016370 call classic_shutter_disconnect_clear_flag 
+0x462a 016371 branch classic_shutter_process_reconnect_failed 
+:      016373 classic_shutter_disconnect_clear_flag:
+0x462b 016374 jam app_handshake_null ,mem_app_handshake_flag 
+0x462c 016375 jam 0 ,mem_hid_handshake_timer_count 
+0x462d 016376 jam 0 ,mem_unsniff2sniff_timer_count 
+0x462e 016377 jam 0 ,mem_classic_shutter_cable_unplug_conut 
+0x462f 016378 jam 0 ,mem_classic_shutter_hid_disconn_count 
+0x4630 016379 branch queue_init 
+:      016382 classic_shutter_process_reconnect_failed:
+0x4631 016383 call app_disconn_reason_clear 
+0x4632 016384 branch shutter_start_bluetooth_discovery 
+:      016387 classic_shutter_process_setup_complete:
+0x4633 016388 call shutter_stop_bluetooth_discovery 
+0x4634 016389 branch app_led_stop_blink 
+:      016392 classic_shutter_process_hid_connect:
+0x4635 016393 setarg hid_handshake_timeout 
+0x4636 016394 store 1 ,mem_hid_handshake_timer_count 
+0x4637 016395 rtn 
+:      016398 classic_shutter_process_hid_disconnect:
+0x4638 016399 jam 0 ,mem_classic_shutter_cable_unplug_conut 
+0x4639 016400 setarg flag_shutter_hid_disconn_timeout 
+0x463a 016401 store 1 ,mem_classic_shutter_hid_disconn_count 
+0x463b 016402 rtn 
+:      016405 classic_shutter_process_hid_handshake:
+0x463c 016406 fetch 1 ,mem_app_handshake_flag 
+0x463d 016407 rtneq app_handshake_done 
+0x463e 016408 jam app_handshake_done ,mem_app_handshake_flag 
+0x463f 016409 call app_lpm_mult_enable 
+0x4640 016410 call app_store_reconn_info 
+0x4641 016411 call shutter_stop_bluetooth_discovery 
+0x4642 016412 call app_led_off 
+0x4643 016413 branch app_bt_enter_sniff 
+:      016416 classic_shutter_process_reconnect_page_timeout:
+0x4644 016417 branch classic_shutter_process_reconnect_failed 
+:      016420 classic_shutter_process_virtual_cable_unplug:
+0x4645 016421 setarg flag_shutter_cable_unplug_timeout 
+0x4646 016422 store 1 ,mem_classic_shutter_cable_unplug_conut 
+0x4647 016423 rtn 
+:      016426 classic_shutter_process_remote_unsniff:
+0x4648 016427 branch app_start_auto_sniff 
+:      016431 classic_shutter_process_store_reconnect_information:
+0x4649 016432 arg nvram_eeprom_offset ,regb 
+0x464a 016433 fetch 1 ,mem_nv_data_number 
+0x464b 016434 mul32 pdata ,34 ,temp 
+0x464c 016435 fetch 2 ,mem_nv_data_ptr 
+0x464d 016436 copy pdata ,rega 
+0x464e 016437 branch iicd_write_eep_data 
+:      016439 classic_shutter_load_reconn_info:
+0x464f 016440 arg nvram_eeprom_offset ,regb 
+0x4650 016441 fetch 1 ,mem_shutter_bluetooth_type 
+0x4651 016442 rtnbit0 classic_shutter 
+0x4652 016443 fetch 1 ,mem_nv_data_number 
+0x4653 016444 rtn blank 
+0x4654 016445 mul32 pdata ,34 ,temp 
+0x4655 016446 fetch 2 ,mem_nv_data_ptr 
+0x4656 016447 copy pdata ,rega 
+0x4657 016448 branch iicd_read_eep_data 
+:      016452 ble_shutter_process_baseband_connect:
+0x4658 016453 call shutter_stop_bluetooth_discovery 
+0x4659 016454 setarg 0 
+0x465a 016455 store 2 ,mem_ble_shutter_reconn_timer 
+0x465b 016456 branch app_led_off 
+:      016459 ble_shutter_process_baseband_disconnect:
+0x465c 016460 call queue_init 
+0x465d 016461 jam 0 ,mem_ble_shutter_enable_notify 
+0x465e 016462 branch shutter_start_reconnect 
+:      016465 ble_shutter_process_reconnect_complete:
+0x465f 016466 call queue_init 
+0x4660 016467 jam 1 ,mem_ble_shutter_enable_notify 
+0x4661 016468 fetch 8 ,mem_ble_shutter_interval_min 
+0x4662 016469 store 8 ,mem_le_interval_min 
+0x4663 016470 call app_lpm_mult_enable 
+0x4664 016471 branch le_l2cap_tx_update_req 
+:      016474 ble_shutter_process_parse_connect_parameter_update_response:
+0x4665 016475 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x4666 016476 rtneq ble_signaling_connect_parameter_update_accepted 
+0x4667 016477 fetch 8 ,mem_ble_shutter_interval_min_new 
+0x4668 016478 rtn blank 
+0x4669 016479 store 8 ,mem_le_interval_min 
+0x466a 016480 branch le_l2cap_tx_update_req 
+:      016484 shutter_process_soft_swtich_button_long_press:
+0x466b 016485 branch ui_soft_switch_botton_long_press 
+:      016487 shutter_process_soft_swtich_button_down:
+0x466c 016488 fetch 1 ,mem_shutter_hard_soft_switch_case 
+0x466d 016489 rtneq hard_switch 
+0x466e 016490 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x466f 016491 rtnne ss_state_power_on 
+0x4670 016492 call shutter_store_currenct_led_state 
+0x4671 016493 branch app_led_on 
+:      016495 shutter_store_currenct_led_state:
+0x4672 016496 jam 1 ,mem_shutter_soft_swtich_botton_down 
+0x4673 016497 arg 11 ,loopcnt 
+0x4674 016498 arg mem_shutter_soft_swtich_led_struct_temp ,contw 
+0x4675 016499 arg mem_shutter_led_struct_app_led ,contr 
+0x4676 016500 branch memcpy 
+:      016502 shutter_process_soft_swtich_button_up:
+0x4677 016503 fetch 1 ,mem_shutter_hard_soft_switch_case 
+0x4678 016504 rtneq hard_switch 
+0x4679 016505 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x467a 016506 beq ss_state_power_on ,shutter_load_currenct_led_state 
+0x467b 016507 branch ui_soft_switch_botton_up 
+:      016509 shutter_load_currenct_led_state:
+0x467c 016510 fetch 1 ,mem_shutter_soft_swtich_botton_down 
+0x467d 016511 rtnne 1 
+0x467e 016512 jam 0 ,mem_shutter_soft_swtich_botton_down 
+0x467f 016513 fetch 2 ,mem_ui_state_map 
+0x4680 016514 bbit1 ui_state_bt_connected ,app_led_off 
+0x4681 016515 bbit1 ui_state_ble_connected ,app_led_off 
+0x4682 016516 arg 11 ,loopcnt 
+0x4683 016517 arg mem_shutter_soft_swtich_led_struct_temp ,contr 
+0x4684 016518 arg mem_shutter_led_struct_app_led ,contw 
+0x4685 016519 branch memcpy 
+:      016524 shutter_le_bb_event_timer:
+0x4686 016526 call shutter_check_sleep_timer 
+0x4687 016529 call shutter_check_power_off_timer 
+0x4688 016532 call classic_shutter_check_unplug_timer 
+0x4689 016533 call classic_shutter_hid_handshake_timer 
+0x468a 016534 call classic_shutter_hid_disconn_timer 
+0x468b 016537 branch ble_shutter_reconn_timer 
+:      016541 shutter_check_sleep_timer:
+0x468c 016542 arg mem_shutter_sleep_timer ,regc 
+0x468d 016543 arg shutter_sleep_timeout ,regb 
+0x468e 016544 branch timer_single_step_2b 
+:      016545 shutter_sleep_timeout:
+0x468f 016546 jam ss_state_power_off ,mem_shutter_soft_switch_power_state 
+0x4690 016547 call app_led_off 
+0x4691 016548 call shutter_disconnect_current_connection 
+0x4692 016549 branch shutter_wait_power_off 
+:      016552 shutter_check_power_off_timer:
+0x4693 016553 arg mem_shutter_power_off_timer ,regc 
+0x4694 016554 arg shutter_check_power_off_timeout ,regb 
+0x4695 016555 branch timer_single_step 
+:      016557 shutter_check_power_off_timeout:
+0x4696 016558 fetch 2 ,mem_ui_state_map 
+0x4697 016559 bbit1 ui_state_ble_connected ,shutter_wait_power_off 
+0x4698 016560 bbit1 ui_state_bt_connected ,shutter_wait_power_off 
+0x4699 016561 fetch 1 ,mem_shutter_led_struct_app_led_type 
+0x469a 016562 beq ui_led_state_blink_start ,shutter_wait_power_off 
+0x469b 016563 beq ui_led_state_blink_lighting ,shutter_wait_power_off 
+0x469c 016564 beq ui_led_state_blink_darking ,shutter_wait_power_off 
+0x469d 016565 branch app_enter_hibernate 
+:      016569 classic_shutter_check_unplug_timer:
+0x469e 016570 arg mem_classic_shutter_cable_unplug_conut ,regc 
+0x469f 016571 arg classic_shutter_unplug_timeout ,regb 
+0x46a0 016572 branch timer_single_step 
+:      016574 classic_shutter_unplug_timeout:
+0x46a1 016575 fetch 1 ,mem_control_tasks 
+0x46a2 016576 set1 l2cap_disconnect_interrupt ,pdata 
+0x46a3 016577 set1 l2cap_disconnect_control ,pdata 
+0x46a4 016578 store 1 ,mem_control_tasks 
+0x46a5 016579 rtn 
+:      016581 classic_shutter_hid_handshake_timer:
+0x46a6 016582 arg mem_hid_handshake_timer_count ,regc 
+0x46a7 016583 arg classic_shutter_process_hid_handshake ,regb 
+0x46a8 016584 branch timer_single_step 
+:      016586 classic_shutter_hid_disconn_timer:
+0x46a9 016587 arg mem_classic_shutter_hid_disconn_count ,regc 
+0x46aa 016588 arg app_bt_disconnect ,regb 
+0x46ab 016589 branch timer_single_step 
+:      016594 ble_shutter_reconn_timer:
+0x46ac 016595 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x46ad 016596 rtnne ss_state_power_on 
+0x46ae 016597 arg mem_ble_shutter_reconn_timer ,regc 
+0x46af 016598 arg shutter_start_bluetooth_discovery ,regb 
+0x46b0 016599 branch timer_single_step_2b 
+:      016602 shutter_process_idle:
+0x46b1 016603 call shutter_send_data_to_master 
+0x46b2 016604 branch keyscan_key_process 
+:      016607 shutter_process_lpm_before:
+0x46b3 016608 branch keyscan_process_lpm_before 
+:      016610 shutter_le_before_hibernate:
+0x46b4 016611 call gpio_set_before_lpm_common 
+0x46b5 016612 branch shutter_process_lpm_before 
+:      016618 shutter_stop_bluetooth_discovery:
+0x46b6 016619 fetch 1 ,mem_shutter_bluetooth_type 
+0x46b7 016620 bbit1 classic_shutter ,classic_shutter_stop_bluetooth_discovery 
+0x46b8 016621 bbit1 ble_shutter ,ble_shutter_stop_bluetooth_discovery 
+0x46b9 016622 rtn 
+:      016624 ble_shutter_stop_bluetooth_discovery:
+0x46ba 016625 fetch 2 ,mem_ble_shutter_connect_timeout 
+0x46bb 016626 store 2 ,mem_shutter_sleep_timeout 
+0x46bc 016627 store 2 ,mem_shutter_sleep_timer 
+0x46bd 016628 branch app_ble_stop_adv 
+:      016630 classic_shutter_stop_bluetooth_discovery:
+0x46be 016631 fetch 2 ,mem_classic_shutter_connect_timeout 
+0x46bf 016632 store 2 ,mem_shutter_sleep_timeout 
+0x46c0 016633 store 2 ,mem_shutter_sleep_timer 
+0x46c1 016634 branch app_bt_stop_discovery 
+:      016636 shutter_start_bluetooth_discovery:
+0x46c2 016637 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x46c3 016638 rtnne ss_state_power_on 
+0x46c4 016639 fetch 1 ,mem_shutter_bluetooth_type 
+0x46c5 016640 bbit1 classic_shutter ,classic_shutter_start_discovery 
+0x46c6 016641 bbit1 ble_shutter ,ble_shutter_start_discovery 
+0x46c7 016642 rtn 
+:      016644 classic_shutter_start_discovery:
+0x46c8 016645 fetch 2 ,mem_classic_shutter_discovery_timeout ,
+0x46c9 016646 store 2 ,mem_shutter_sleep_timeout 
+0x46ca 016647 store 2 ,mem_shutter_sleep_timer 
+0x46cb 016648 branch app_bt_start_discovery_short 
+:      016650 ble_shutter_start_discovery:
+0x46cc 016651 fetch 2 ,mem_ui_state_map 
+0x46cd 016652 rtnbit1 ui_state_ble_connected 
+0x46ce 016653 fetch 2 ,mem_ble_shutter_discovery_timeout 
+0x46cf 016654 store 2 ,mem_shutter_sleep_timeout 
+0x46d0 016655 store 2 ,mem_shutter_sleep_timer 
+0x46d1 016656 fetch 2 ,mem_ble_shutter_discovery_adv_interval 
+0x46d2 016657 call shutter_ble_adv_interval_set 
+0x46d3 016658 call app_led_start_blink 
+0x46d4 016659 fetch 4 ,mem_ble_shutter_discovery_blink_on_time 
+0x46d5 016660 store 4 ,mem_shutter_led_struct_app_led_on_time 
+0x46d6 016661 fetch 2 ,mem_ui_state_map 
+0x46d7 016662 rtnbit1 ui_state_ble_adv 
+0x46d8 016663 branch app_ble_start_adv 
+:      016666 shutter_start_reconnect:
+0x46d9 016667 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x46da 016668 rtnne ss_state_power_on 
+0x46db 016669 fetch 1 ,mem_shutter_bluetooth_type 
+0x46dc 016670 bbit1 classic_shutter ,classic_shutter_start_reconnect 
+0x46dd 016671 bbit1 ble_shutter ,ble_shutter_start_reconnect 
+0x46de 016672 rtn 
+:      016674 classic_shutter_start_reconnect:
+0x46df 016675 call app_check_reconn_target 
+0x46e0 016676 branch shutter_start_bluetooth_discovery ,blank 
+0x46e1 016677 call app_led_on 
+0x46e2 016678 call app_bt_stop_discovery 
+0x46e3 016679 branch app_bt_start_reconnect 
+:      016681 ble_shutter_start_reconnect:
+0x46e4 016682 fetch 2 ,mem_ble_shutter_reconn_timer 
+0x46e5 016683 fetcht 2 ,mem_ble_shutter_reconn_timeout 
+0x46e6 016684 storet 2 ,mem_ble_shutter_reconn_timer 
+0x46e7 016685 nrtn blank 
+0x46e8 016686 fetch 2 ,mem_ble_shutter_reconn_dav_interval 
+0x46e9 016687 call shutter_ble_adv_interval_set 
+0x46ea 016688 call app_led_start_blink 
+0x46eb 016689 fetch 4 ,mem_ble_shutter_reconn_blink_on_time 
+0x46ec 016690 store 4 ,mem_shutter_led_struct_app_led_on_time 
+0x46ed 016691 fetch 2 ,mem_ui_state_map 
+0x46ee 016692 rtnbit1 ui_state_ble_adv 
+0x46ef 016693 branch app_ble_start_adv 
+:      016696 shutter_ble_adv_interval_set:
+0x46f0 016697 store 2 ,mem_lpm_interval 
+0x46f1 016698 increase -4 ,pdata 
+0x46f2 016699 store 2 ,mem_le_adv_interval 
+0x46f3 016700 rtn 
+:      016703 shutter_disconnect_current_connection:
+0x46f4 016704 fetch 2 ,mem_ui_state_map 
+0x46f5 016705 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+0x46f6 016706 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+0x46f7 016707 branch shutter_stop_bluetooth_discovery 
+:      016711 app_check_reconn_target:
+0x46f8 016712 fetch 1 ,mem_nv_data_number 
+0x46f9 016713 copy pdata ,loopcnt 
+0x46fa 016714 fetch 2 ,mem_nv_data_ptr 
+0x46fb 016715 copy pdata ,rega 
+:      016716 app_check_reconn_target_loop:
+0x46fc 016717 ifetch 2 ,rega 
+0x46fd 016718 beq 0 ,found_reconn_device 
+0x46fe 016719 increase nv_data_len ,rega 
+0x46ff 016720 loop app_check_reconn_target_loop 
+0x4700 016721 branch enable_blank 
+:      016723 found_reconn_device:
+0x4701 016724 ifetch 6 ,contr 
+0x4702 016725 store 6 ,mem_hci_plap 
+0x4703 016726 increase 10 ,contr 
+0x4704 016727 arg mem_link_key ,contw 
+0x4705 016728 call memcpy16 
+0x4706 016729 call check_link_key_load 
+0x4707 016730 branch disable_blank 
+:      016736 shutter_check_data_enable:
+0x4708 016737 call disable_user 
+0x4709 016738 fetch 2 ,mem_ui_state_map 
+0x470a 016739 bbit1 ui_state_bt_connected ,shutter_check_bt_data_enable 
+0x470b 016740 bbit1 ui_state_ble_connected ,shutter_check_ble_data_enable 
+0x470c 016741 rtn 
+:      016743 shutter_check_bt_data_enable:
+0x470d 016744 fetch 1 ,mem_hid_interrupt_state 
+0x470e 016745 rtnne 0x3f 
+0x470f 016746 branch enable_user 
+:      016748 shutter_check_ble_data_enable:
+0x4710 016749 fetch 1 ,mem_ble_shutter_enable_notify 
+0x4711 016750 rtn blank 
+0x4712 016751 branch enable_user 
+:      016756 shutter_check_bluetooth_conn:
+0x4713 016757 call disable_user 
+0x4714 016758 fetch 2 ,mem_ui_state_map 
+0x4715 016759 rtnbit1 ui_state_bt_connected 
+0x4716 016760 rtnbit1 ui_state_ble_connected 
+0x4717 016761 branch enable_user 
+:      016765 shutter_change_bluetooth_status_bt_disconn:
+0x4718 016766 fetch 1 ,mem_shutter_bluetooth_type 
+0x4719 016767 bbit1 classic_shutter ,classic_shutter_change_bluetooth_status_bt_disconn 
+0x471a 016768 bbit1 ble_shutter ,ble_shutter_change_bluetooth_status_bt_disconn 
+0x471b 016769 rtn 
+:      016771 classic_shutter_change_bluetooth_status_bt_disconn:
+0x471c 016772 fetch 1 ,mem_scan_mode 
+0x471d 016773 rtnne 0x03 
+0x471e 016774 branch shutter_start_reconnect 
+:      016776 ble_shutter_change_bluetooth_status_bt_disconn:
+0x471f 016777 branch shutter_start_reconnect 
+:      016780 shutter_check_send_data:
+0x4720 016781 disable user2 
+0x4721 016782 fetch 2 ,mem_shutter_sleep_timeout 
+0x4722 016783 store 2 ,mem_shutter_sleep_timer 
+0x4723 016785 call shutter_check_bluetooth_conn 
+0x4724 016786 branch shutter_change_bluetooth_status_bt_disconn ,user 
+0x4725 016788 call shutter_check_data_enable 
+0x4726 016789 nrtn user 
+0x4727 016790 enable user2 
+0x4728 016791 rtn 
+:      016795 shutter_key_change:
+0x4729 016796 call shutter_check_send_data 
+0x472a 016797 nrtn user2 
+0x472b 016798 deposit rega 
+0x472c 016799 branch shutter_key_release ,blank 
+:      016800 shutter_key_press:
+0x472d 016801 call app_led_on 
+0x472e 016802 arg mem_key0_press ,regc 
+0x472f 016803 branch push_queue_press_or_release 
+:      016805 shutter_key_release:
+0x4730 016806 call app_led_off 
+0x4731 016807 arg mem_key0_release ,regc 
+:      016809 push_queue_press_or_release:
+0x4732 016810 arg max_queue_num ,pdata 
+0x4733 016811 imul32 queue ,pdata 
+0x4734 016812 iadd regc ,regc 
+:      016815 push_buffer_in_queue:
+0x4735 016816 ifetch 1 ,regc 
+0x4736 016817 rtn blank 
+0x4737 016818 call queue_push_one_byte 
+0x4738 016819 increase 1 ,regc 
+0x4739 016820 branch push_buffer_in_queue 
+:      016823 shutter_send_data_to_master:
+0x473a 016824 fetch 2 ,mem_ui_state_map 
+0x473b 016825 bbit1 ui_state_ble_connected ,pop_queue_to_ble_data 
+0x473c 016826 bbit1 ui_state_bt_connected ,pop_queue_to_classic_data 
+0x473d 016827 rtn 
+:      016829 pop_queue_to_ble_data:
+0x473e 016830 call le_fifo_check_nearly_full 
+0x473f 016831 nrtn blank 
+0x4740 016832 call queue_pop_one_byte 
+0x4741 016833 nrtn user 
+0x4742 016834 pincrease -1 
+0x4743 016835 mul32 pdata ,shutter_ble_data_buffer ,pdata 
+0x4744 016836 arg mem_ble_data_buffer1 ,temp 
+0x4745 016837 iadd temp ,contr 
+:      016838 le_send_notify_from_list:
+0x4746 016839 ifetch 1 ,contr 
+0x4747 016840 copy pdata ,rega 
+0x4748 016841 ifetcht 2 ,contr 
+0x4749 016842 call store_contr 
+0x474a 016843 call le_att_malloc_tx_notify 
+0x474b 016844 copy rega ,loopcnt 
+0x474c 016845 call get_contr 
+0x474d 016846 branch memcpy 
+:      016849 pop_queue_to_classic_data:
+0x474e 016850 call l2cap_malloc_is_fifo_nearly_full 
+0x474f 016851 nrtn blank 
+0x4750 016852 call queue_pop_one_byte 
+0x4751 016853 nrtn user 
+0x4752 016854 pincrease -1 
+0x4753 016855 mul32 pdata ,shutter_classic_data_buffer ,pdata 
+0x4754 016856 arg mem_classic_data_buffer1 ,temp 
+0x4755 016857 iadd temp ,contr 
+0x4756 016858 ifetch 5 ,contr 
+0x4757 016859 store 5 ,mem_classic_data_buffer 
+:      016860 classic_send_hid_data:
+0x4758 016861 fetch 1 ,mem_classic_data_buffer 
+0x4759 016862 copy pdata ,rega 
+0x475a 016863 call hid_malloc_tx_buff 
+0x475b 016864 fetch 2 ,mem_hid_int_remote_cid 
+0x475c 016865 istore 2 ,contw 
+0x475d 016866 setarg 0xa1 
+0x475e 016867 istore 1 ,contw 
+0x475f 016868 fetch 4 ,mem_classic_data_buffer + 1 
+0x4760 016869 istore 9 ,contw 
+0x4761 016870 rtn 
+:      016874 queue_push_one_byte:
+0x4762 016875 store 1 ,mem_pdatatemp 
+0x4763 016876 arg mem_pdatatemp ,rega 
+0x4764 016877 branch queue_push 
+:      016879 queue_pop_one_byte:
+0x4765 016880 arg mem_pdatatemp ,rega 
+0x4766 016881 call queue_pop 
+0x4767 016882 nrtn user 
+0x4768 016883 fetch 1 ,mem_pdatatemp 
+0x4769 016884 rtn 
+:      016887 ble_shutter_receive_data:
+0x476a 016888 fetch 2 ,mem_le_att_handle 
+0x476b 016889 beq gatt_keyboard_write_handle ,ble_shutter_process_reconnect_complete 
+0x476c 016890 rtn 
+:      016892 shutter_init_param:
+0x476d 016893 setarg 0x02 
+0x476e 016894 store 1 ,mem_shutter_power_off_timeout 
+0x476f 016896 setarg 0x00200008 
+0x4770 016897 store 4 ,mem_ble_shutter_interval_min 
+0x4771 016898 setarg 0x012c0005 
+0x4772 016899 istore 4 ,contw 
+0x4773 016902 jam 0x17 ,mem_le_local_mtu 
+0x4774 016905 setarg 0x1b 
+0x4775 016906 store 2 ,mem_le_pairing_handle 
+0x4776 016907 call le_set_config_fixed_ltk 
+0x4777 016908 call le_set_fixed_ltk 
+0x4778 016909 call le_set_justwork 
+0x4779 016910 branch le_set_config_read_authentication 
+:      016913 shutter_load_buffer_config_form_datarom:
+0x477a 016915 arg ble_key_value_list_size ,loopcnt 
+0x477b 016916 arg mem_ble_data_buffer1 ,contw 
+0x477c 016917 arg ble_shutter_key_value_list ,contr 
+0x477d 016918 call memcpy_fast 
+0x477e 016919 arg bt_key_value_list_size ,loopcnt 
+0x477f 016920 arg mem_classic_data_buffer1 ,contw 
+0x4780 016921 arg classic_shutter_key_value_list ,contr 
+0x4781 016922 branch memcpy_fast 
+:      016925 shutter_load_ble_gatt_form_datarom:
+0x4782 016926 arg ble_gatt_list_size ,loopcnt 
+0x4783 016927 arg ble_shutter_gatt_list ,contr 
+0x4784 016928 branch memcpy_fast 
+:      016931 shutter_load_bt_sdp_form_datarom:
+0x4785 016932 arg bt_sdp_list_size ,loopcnt 
+0x4786 016933 arg classic_shutter_sdp_list ,contr 
+0x4787 016934 branch memcpy_fast 
+:      016938 shutter_init_bluetooth_config:
+0x4788 016939 call shutter_check_load_config_flag 
+0x4789 016940 nrtn user 
+0x478a 016941 fetch 1 ,mem_shutter_config_select_gpio1 
+0x478b 016942 call shutter_init_bluetooth_config_gpio_input 
+0x478c 016943 fetch 1 ,mem_shutter_config_select_gpio2 
+0x478d 016944 call shutter_init_bluetooth_config_gpio_input 
+0x478e 016945 fetch 1 ,mem_shutter_config_select_gpio3 
+0x478f 016946 branch shutter_init_bluetooth_config_gpio_input 
+:      016948 shutter_init_bluetooth_config_gpio_input:
+0x4790 016949 rtn blank 
+0x4791 016950 or pdata ,0x80 ,temp 
+0x4792 016951 branch gpio_config_input_nowake 
+:      016954 shutter_load_bluetooth_config:
+0x4793 016955 call shutter_check_load_config_flag 
+0x4794 016956 nrtn user 
+0x4795 016957 call shutter_load_bluetooth_config_label 
+0x4796 016958 branch shutter_load_bluetooth_config_by_otp 
+:      016960 shutter_load_bluetooth_config_label:
+0x4797 016961 arg 0 ,rega 
+0x4798 016962 fetch 1 ,mem_shutter_config_select_gpio1 
+0x4799 016963 call shutter_load_bluetooth_config_read_gpio_input 
+0x479a 016964 nsetflag blank ,0 ,rega 
+0x479b 016965 fetch 1 ,mem_shutter_config_select_gpio2 
+0x479c 016966 call shutter_load_bluetooth_config_read_gpio_input 
+0x479d 016967 nsetflag blank ,1 ,rega 
+0x479e 016968 fetch 1 ,mem_shutter_config_select_gpio3 
+0x479f 016969 call shutter_load_bluetooth_config_read_gpio_input 
+0x47a0 016970 nsetflag blank ,2 ,rega 
+0x47a1 016971 copy rega ,pdata 
+0x47a2 016972 store 1 ,mem_shutter_config_label 
+0x47a3 016973 fetch 1 ,mem_shutter_config_size 
+0x47a4 016974 imul32 rega ,pdata 
+0x47a5 016975 fetcht 2 ,mem_shutter_config_otp_base_address 
+0x47a6 016976 iadd temp ,pdata 
+0x47a7 016977 store 2 ,mem_shutter_config_otp_addr 
+0x47a8 016978 rtn 
+:      016980 shutter_load_bluetooth_config_read_gpio_input:
+0x47a9 016981 rtn blank 
+0x47aa 016982 or pdata ,0x80 ,temp 
+0x47ab 016983 call gpio_get_bit 
+0x47ac 016984 nbranch enable_blank ,true 
+0x47ad 016985 branch disable_blank 
+:      016988 shutter_check_load_config_flag:
+0x47ae 016989 call disable_user 
+0x47af 016990 fetch 1 ,mem_shutter_config_user_size 
+0x47b0 016991 nrtn blank 
+0x47b1 016992 fetch 1 ,mem_shutter_config_enable 
+0x47b2 016993 rtn blank 
+0x47b3 016994 branch enable_user 
+:      016997 shutter_load_bluetooth_config_by_otp:
+0x47b4 016998 call otp_enable_chgpump 
+0x47b5 016999 fetch 2 ,mem_shutter_config_otp_addr 
+0x47b6 017000 arg mem_shutter_config_data_temp ,rega 
+0x47b7 017001 fetcht 1 ,mem_shutter_config_size 
+0x47b8 017002 call otpd_read_data 
+0x47b9 017003 call otp_disable_chgpump 
+:      017004 shutter_load_bluetooth_config_store_name:
+0x47ba 017005 fetch 1 ,mem_shutter_config_data_temp 
+0x47bb 017006 copy pdata ,loopcnt 
+0x47bc 017007 store 1 ,mem_le_name_len 
+0x47bd 017008 call memcpy_fast 
+0x47be 017009 fetch 1 ,mem_shutter_config_data_temp 
+0x47bf 017010 copy pdata ,loopcnt 
+0x47c0 017011 store 1 ,mem_local_name_length 
+0x47c1 017012 call memcpy_fast 
+0x47c2 017013 ifetch 1 ,contr 
+0x47c3 017014 store 1 ,mem_shutter_key_num 
+0x47c4 017015 ifetch 1 ,contr 
+0x47c5 017016 store 1 ,mem_shutter_hard_soft_switch_case 
+0x47c6 017017 rtn 
+:      017020 shutter_load_bluetooth_config_by_eeprom:
+0x47c7 017021 fetch 1 ,mem_shutter_bluetooth_type 
+0x47c8 017022 rtnbit0 classic_shutter 
+0x47c9 017023 arg 3 ,temp 
+0x47ca 017024 fetch 2 ,mem_shutter_config_eeprom_offset_addr 
+0x47cb 017025 copy pdata ,regb 
+0x47cc 017026 arg mem_shutter_config_eeprom_start_flag ,rega 
+0x47cd 017027 call iicd_read_eep_data 
+0x47ce 017028 fetcht 2 ,mem_shutter_config_eeprom_start_flag 
+0x47cf 017029 setarg shutter_eeprom_config_crc 
+0x47d0 017030 isub temp ,null 
+0x47d1 017031 nrtn zero 
+0x47d2 017032 fetch 1 ,mem_shutter_config_user_size 
+0x47d3 017033 rtn blank 
+0x47d4 017034 copy pdata ,temp 
+0x47d5 017035 fetch 2 ,mem_shutter_config_eeprom_offset_addr 
+0x47d6 017036 add pdata ,3 ,regb 
+0x47d7 017037 arg mem_shutter_config_data_temp ,rega 
+0x47d8 017038 call iicd_read_eep_data 
+0x47d9 017039 branch shutter_store_config 
+:      017041 shutter_load_bluetooth_config_by_user_config:
+0x47da 017042 fetch 2 ,mem_shutter_config_user_otp_address 
+0x47db 017043 rtn blank 
+0x47dc 017044 call otp_enable_chgpump 
+0x47dd 017045 arg 1 ,temp 
+0x47de 017046 arg mem_shutter_config_user_size ,rega 
+0x47df 017047 call otpd_read_data 
+0x47e0 017049 fetch 1 ,mem_shutter_config_user_size 
+0x47e1 017050 rtn blank 
+0x47e2 017052 fetch 2 ,mem_shutter_config_user_otp_address 
+0x47e3 017053 pincrease 1 
+0x47e4 017054 arg mem_shutter_config_data_temp ,rega 
+0x47e5 017055 fetcht 1 ,mem_shutter_config_user_size 
+0x47e6 017056 call otpd_read_data 
+0x47e7 017057 call otp_disable_chgpump 
+:      017058 shutter_store_config:
+0x47e8 017059 call shutter_load_bluetooth_config_store_name 
+:      017060 shutter_load_bluetooth_config_custom:
+0x47e9 017061 ifetch 2 ,contr 
+0x47ea 017062 rtn blank 
+0x47eb 017063 copy pdata ,contw 
+0x47ec 017064 ifetcht 1 ,contr 
+0x47ed 017065 copy temp ,loopcnt 
+0x47ee 017066 call memcpy 
+0x47ef 017067 branch shutter_load_bluetooth_config_custom 
+:      017071 shutter_random_mac_addr:
+0x47f0 017072 fetch 1 ,mem_shutter_bluetooth_type 
+0x47f1 017073 rtnbit0 classic_shutter 
+0x47f2 017074 fetch 2 ,mem_classic_shutter_random_mac_offset_addr 
+0x47f3 017075 copy pdata ,regb 
+0x47f4 017076 arg 4 ,temp 
+0x47f5 017077 arg mem_shutter_random_mac_data_temp ,rega 
+0x47f6 017078 call iicd_read_eep_data 
+0x47f7 017079 fetch 1 ,mem_shutter_random_mac_data_temp 
+0x47f8 017080 bne 1 ,shutter_write_random_mac_addr_to_eeprom 
+:      017081 shutter_write_random_mac_addr_to_eeprom:
+0x47f9 017082 setarg 1 
+0x47fa 017083 store 1 ,mem_shutter_random_mac_data_temp 
+0x47fb 017084 force 3 ,loopcnt 
+0x47fc 017085 call generate_random_loop 
+0x47fd 017086 fetch 2 ,mem_classic_shutter_random_mac_offset_addr 
+0x47fe 017087 copy pdata ,regb 
+0x47ff 017088 arg 4 ,temp 
+0x4800 017089 arg mem_shutter_random_mac_data_temp ,rega 
+0x4801 017090 call iicd_write_eep_data 
+:      017091 shutter_write_random_mac_addr:
+0x4802 017092 fetch 3 ,mem_shutter_random_mac_data_temp + 1 
+0x4803 017093 store 3 ,mem_lap 
+0x4804 017094 store 3 ,mem_le_lap 
+0x4805 017095 rtn 
+:      017098 shutter_soft_swtich_power_on:
+0x4806 017099 branch shutter_start_reconnect 
+:      017102 shutter_soft_swtich_power_off:
+0x4807 017103 arg 0 ,rega 
+0x4808 017104 arg mem_shutter_power_off_led_style ,regc 
+0x4809 017105 call ui_led_set_style_global 
+0x480a 017106 call shutter_disconnect_current_connection 
+:      017107 shutter_wait_power_off:
+0x480b 017108 fetch 1 ,mem_shutter_power_off_timeout 
+0x480c 017109 store 1 ,mem_shutter_power_off_timer 
+0x480d 017110 rtn 
+:      017114 ui_soft_swtich_init:
+0x480e 017115 setarg ss_state_power_up 
+0x480f 017116 call ui_soft_swtich_init_power_on_time 
+0x4810 017117 jam ui_button_state_up ,mem_ui_button_last_state 
+0x4811 017118 call ui_button_init 
+0x4812 017119 call ui_button_polling 
+0x4813 017120 fetch 2 ,mem_ui_state_map 
+0x4814 017121 rtnbit1 ui_state_btn_down 
+0x4815 017122 branch app_enter_hibernate 
+:      017124 ui_soft_swtich_init_power_on_time:
+0x4816 017125 fetcht 2 ,mem_power_param_ptr 
+0x4817 017126 istore 1 ,temp 
+0x4818 017127 ifetch 1 ,contw 
+0x4819 017128 store 1 ,mem_ui_button_timeout 
+0x481a 017129 rtn 
+:      017132 ui_soft_switch_botton_up:
+0x481b 017133 fetch 2 ,mem_power_param_ptr 
+0x481c 017134 ifetch 1 ,pdata 
+0x481d 017135 rtnne ss_state_power_up 
+0x481e 017136 branch app_enter_hibernate 
+:      017139 ui_soft_switch_botton_long_press:
+0x481f 017140 fetcht 2 ,mem_power_param_ptr 
+0x4820 017141 ifetch 1 ,temp 
+0x4821 017142 beq ss_state_power_on ,ui_soft_switch_power_off 
+:      017143 ui_soft_switch_power_on:
+0x4822 017144 setarg ss_state_power_on 
+0x4823 017145 fetcht 2 ,mem_power_param_ptr 
+0x4824 017146 istore 1 ,temp 
+0x4825 017147 add temp ,ss_power_off_time ,contr 
+0x4826 017148 ifetch 1 ,contr 
+0x4827 017149 istore 1 ,mem_ui_button_timeout 
+0x4828 017150 ifetch 2 ,contr 
+0x4829 017151 branch callback_func 
+:      017153 ui_soft_switch_power_off:
+0x482a 017154 setarg ss_state_power_off 
+0x482b 017155 call ui_soft_swtich_init_power_on_time 
+0x482c 017156 add temp ,ss_power_off_cb ,contr 
+0x482d 017157 ifetch 2 ,contr 
+0x482e 017158 branch app_enter_hibernate ,blank 
+0x482f 017159 branch callback_func 
+:      017165 shutter_byteswap:
+0x4830 017166 store 6 ,mem_tmp_buffer 
+0x4831 017167 fetch 1 ,mem_tmp_buffer 
+0x4832 017168 store 1 ,mem_tmp_buffer + 11 
+0x4833 017169 ifetch 1 ,contr 
+0x4834 017170 store 1 ,mem_tmp_buffer + 10 
+0x4835 017171 ifetch 1 ,contr 
+0x4836 017172 store 1 ,mem_tmp_buffer + 9 
+0x4837 017173 ifetch 1 ,contr 
+0x4838 017174 store 1 ,mem_tmp_buffer + 8 
+0x4839 017175 ifetch 1 ,contr 
+0x483a 017176 store 1 ,mem_tmp_buffer + 7 
+0x483b 017177 ifetch 1 ,contr 
+0x483c 017178 store 1 ,mem_tmp_buffer + 6 
+0x483d 017179 fetch 6 ,mem_tmp_buffer + 6 
+0x483e 017180 rtn 
+:      017182 shutter_random_addr_by_otp:
+0x483f 017183 call load_adc_init 
+0x4840 017184 fetch 1 ,mem_1v_adc_io_data 
+0x4841 017185 store 1 ,mem_le_lap 
+0x4842 017186 fetch 1 ,mem_5v_adc_hvin_data 
+0x4843 017187 istore 1 ,contw 
+0x4844 017188 fetch 1 ,mem_3v_adc_vinlpm_data 
+0x4845 017189 istore 1 ,contw 
+0x4846 017190 fetch 3 ,mem_le_lap 
+0x4847 017191 store 3 ,mem_lap 
+0x4848 017192 rtn 
+:      017204 sim_iic_read_eep_data:
+0x4849 017205 fetch 2 ,mem_eeprom_base 
+0x484a 017206 iadd regb ,pdata 
+0x484b 017207 byteswap pdata ,pdata 
+0x484c 017208 store 2 ,mem_addr_mi 
+0x484d 017209 copy temp ,regb 
+0x484e 017211 call sim_iic_start 
+0x484f 017212 setarg 0xa0 
+0x4850 017213 call sim_iic_send_byte 
+0x4851 017214 fetch 1 ,mem_addr_mi 
+0x4852 017215 call sim_iic_send_byte 
+0x4853 017216 bmark1 mark_eeprom_size ,sim_iic_read_eep_data_2k 
+0x4854 017217 fetch 1 ,mem_addr_mi + 1 
+0x4855 017218 call sim_iic_send_byte 
+:      017219 sim_iic_read_eep_data_2k:
+0x4856 017220 call sim_iic_stop 
+0x4857 017222 call sim_iic_start 
+0x4858 017223 setarg 0xa1 
+0x4859 017224 call sim_iic_send_byte 
+:      017226 sim_iic_read_eep_data_loop:
+0x485a 017227 call sim_iic_read_byte 
+0x485b 017228 istore 1 ,rega 
+0x485c 017229 increase 1 ,rega 
+0x485d 017230 increase -1 ,regb 
+0x485e 017231 nbranch sim_iic_read_eep_data_loop ,zero 
+0x485f 017232 branch sim_iic_stop 
+:      017243 sim_iic_write_eep_data:
+0x4860 017244 byteswap regb ,pdata 
+0x4861 017245 store 2 ,mem_addr_mi 
+0x4862 017246 copy temp ,regb 
+0x4863 017248 call sim_iic_start 
+0x4864 017249 setarg 0xa0 
+0x4865 017250 call sim_iic_send_byte 
+0x4866 017252 fetch 1 ,mem_addr_mi 
+0x4867 017253 call sim_iic_send_byte 
+0x4868 017254 bmark1 mark_eeprom_size ,sim_iic_write_eep_data_loop 
+0x4869 017255 fetch 1 ,mem_addr_mi + 1 
+0x486a 017256 call sim_iic_send_byte 
+:      017257 sim_iic_write_eep_data_loop:
+0x486b 017258 ifetch 1 ,rega 
+0x486c 017259 call sim_iic_send_byte 
+0x486d 017260 increase 1 ,rega 
+0x486e 017261 increase -1 ,regb 
+0x486f 017262 nbranch sim_iic_write_eep_data_loop ,zero 
+0x4870 017263 branch sim_iic_stop 
+:      017267 sim_iic_wait_ack:
+0x4871 017268 arg 10 ,loopcnt 
+0x4872 017269 call sim_iic_release_sda 
+0x4873 017270 call sim_iic_scl_output_high 
+0x4874 017271 call sim_iic_delay 
+:      017272 sim_iic_wait_ack_loop:
+0x4875 017273 call sim_iic_read_sda_level 
+0x4876 017274 branch sim_iic_scl_output_low ,blank 
+0x4877 017275 loop sim_iic_wait_ack_loop 
+0x4878 017276 branch sim_iic_scl_output_low 
+:      017280 sim_iic_ack_slave:
+0x4879 017281 call sim_iic_scl_output_low 
+0x487a 017282 call sim_iic_sda_output_low 
+0x487b 017283 call sim_iic_delay 
+0x487c 017284 call sim_iic_scl_output_high 
+0x487d 017285 call sim_iic_delay 
+0x487e 017286 branch sim_iic_scl_output_low 
+:      017291 sim_iic_read_byte:
+0x487f 017292 arg 8 ,loopcnt 
+0x4880 017293 arg 0 ,regc 
+0x4881 017294 call sim_iic_release_sda 
+:      017295 sim_iic_read_byte_loop:
+0x4882 017296 call sim_iic_scl_output_high 
+0x4883 017297 call sim_iic_delay 
+0x4884 017298 lshift regc ,regc 
+0x4885 017299 call sim_iic_read_sda_level 
+0x4886 017300 iadd regc ,regc 
+0x4887 017301 call sim_iic_delay 
+0x4888 017302 call sim_iic_scl_output_low 
+0x4889 017303 loop sim_iic_read_byte_loop 
+0x488a 017304 call sim_iic_ack_slave 
+0x488b 017305 copy regc ,pdata 
+0x488c 017306 rtn 
+:      017310 sim_iic_send_byte:
+0x488d 017311 arg 8 ,loopcnt 
+0x488e 017312 copy pdata ,regc 
+0x488f 017313 call sim_iic_scl_output_low 
+:      017314 sim_iic_send_byte_loop:
+0x4890 017315 isolate1 7 ,regc 
+0x4891 017316 call sim_iic_sda_output_high ,true 
+0x4892 017317 ncall sim_iic_sda_output_low ,true 
+0x4893 017318 lshift regc ,regc 
+0x4894 017319 call sim_iic_delay 
+0x4895 017320 call sim_iic_scl_output_high 
+0x4896 017321 call sim_iic_delay 
+0x4897 017322 call sim_iic_scl_output_low 
+0x4898 017323 call sim_iic_delay 
+0x4899 017324 loop sim_iic_send_byte_loop 
+0x489a 017325 branch sim_iic_wait_ack 
+:      017329 sim_iic_start:
+0x489b 017330 call sim_iic_sda_output_high 
+0x489c 017331 call sim_iic_scl_output_high 
+0x489d 017332 call sim_iic_delay 
+0x489e 017333 call sim_iic_sda_output_low 
+0x489f 017334 call sim_iic_delay 
+0x48a0 017335 branch sim_iic_scl_output_low 
+:      017339 sim_iic_stop:
+0x48a1 017340 call sim_iic_sda_output_low 
+0x48a2 017341 call sim_iic_scl_output_high 
+0x48a3 017342 call sim_iic_delay 
+0x48a4 017343 call sim_iic_sda_output_high 
+0x48a5 017344 branch sim_iic_delay 
+:      017348 sim_iic_scl_output_high:
+0x48a6 017349 enable user 
+0x48a7 017350 fetch 1 ,sim_iic_scl_gpio_num 
+0x48a8 017351 branch sim_iic_config_gpio 
+:      017354 sim_iic_scl_output_low:
+0x48a9 017355 disable user 
+0x48aa 017356 fetch 1 ,sim_iic_scl_gpio_num 
+0x48ab 017357 branch sim_iic_config_gpio 
+:      017360 sim_iic_sda_output_high:
+0x48ac 017361 enable user 
+0x48ad 017362 fetch 1 ,sim_iic_sda_gpio_num 
+0x48ae 017363 branch sim_iic_config_gpio 
+:      017366 sim_iic_sda_output_low:
+0x48af 017367 disable user 
+0x48b0 017368 fetch 1 ,sim_iic_sda_gpio_num 
+0x48b1 017369 branch sim_iic_config_gpio 
+:      017374 sim_iic_config_gpio:
+0x48b2 017375 and pdata ,0x07 ,queue 
+0x48b3 017376 rshift3 pdata ,pdata 
+0x48b4 017377 arg core_gpio_oe0 ,temp 
+0x48b5 017378 iadd temp ,temp 
+0x48b6 017379 ifetch 1 ,temp 
+0x48b7 017380 qset1 pdata 
+0x48b8 017381 istore 1 ,temp 
+0x48b9 017382 increase 4 ,temp 
+0x48ba 017383 ifetch 1 ,temp 
+0x48bb 017384 qsetflag user ,pdata 
+0x48bc 017385 istore 1 ,temp 
+0x48bd 017386 rtn 
+:      017389 sim_iic_release_sda:
+0x48be 017390 fetch 1 ,sim_iic_sda_gpio_num 
+0x48bf 017391 and pdata ,0x07 ,queue 
+0x48c0 017392 rshift3 pdata ,pdata 
+0x48c1 017393 arg core_gpio_oe0 ,temp 
+0x48c2 017394 iadd temp ,temp 
+0x48c3 017395 ifetch 1 ,temp 
+0x48c4 017396 qset0 pdata 
+0x48c5 017397 istore 1 ,temp 
+0x48c6 017398 rtn 
+:      017403 sim_iic_read_sda_level:
+0x48c7 017404 nop 4 
+0x48c8 017405 fetch 1 ,sim_iic_sda_gpio_num 
+0x48c9 017406 and pdata ,0x07 ,queue 
+0x48ca 017407 rshift3 pdata ,pdata 
+0x48cb 017408 arg core_gpio_in ,temp 
+0x48cc 017409 iadd temp ,temp 
+0x48cd 017410 setarg 0 
+0x48ce 017411 ifetcht 1 ,temp 
+0x48cf 017412 qisolate1 temp 
+0x48d0 017413 setflag true ,0 ,pdata 
+0x48d1 017414 rtn 
+:      017417 sim_iic_delay:
+0x48d2 017419 rtn 
+:      017425 usb_isr:
+0x48d3 017426 bpatch patch1e_6 ,mem_patch1e 
+0x48d4 017427 hfetch 1 ,core_usb_status 
+0x48d5 017428 isolate1 7 ,pdata 
+0x48d6 017429 call usb_init ,true 
+0x48d7 017430 call usb_nak_state_judge 
+0x48d8 017431 hfetch 1 ,core_usb_status 
+0x48d9 017432 store 1 ,mem_usb_status 
+0x48da 017433 hfetch 1 ,core_usb_fifo_empty 
+0x48db 017434 store 1 ,mem_usb_fifo_empty 
+0x48dc 017435 hstore 1 ,core_usb_fifo_empty 
+0x48dd 017436 pinvert 
+0x48de 017437 fetcht 1 ,mem_usb_tx_wait 
+0x48df 017438 iand temp ,pdata 
+0x48e0 017439 store 1 ,mem_usb_tx_wait 
+0x48e1 017440 jam 0xe0 ,core_usb_status 
+0x48e2 017441 fetch 1 ,mem_usb_fifo_empty 
+0x48e3 017442 compare 0x1 ,pdata ,0x1 
+0x48e4 017443 call usb0_fifo_empty ,true 
+0x48e5 017444 fetch 1 ,mem_usb_status 
+0x48e6 017445 compare 0x1 ,pdata ,0x1 
+0x48e7 017446 call usb_status1 ,true 
+0x48e8 017447 call usb_tx 
+0x48e9 017448 branch usb_nak_state 
+:      017450 usb_init:
+0x48ea 017451 bpatch patch1e_7 ,mem_patch1e 
+0x48eb 017452 call usb_init_param 
+0x48ec 017453 jam 0x00 ,core_usb_config 
+0x48ed 017454 nop 10000 
+0x48ee 017455 jam 0xc0 ,core_usb_trig 
+0x48ef 017456 hfetch 2 ,core_clkoff 
+0x48f0 017457 set0 clock_off_usb ,pdata 
+0x48f1 017458 hstore 2 ,core_clkoff 
+0x48f2 017459 jam 0x3c ,core_usb_config 
+0x48f3 017460 jam 0xff ,core_usb_status 
+0x48f4 017461 jam 0xff ,core_usb_fifo_empty 
+0x48f5 017462 jam 0 ,core_usb_addr 
+0x48f6 017463 jam dev_default ,mem_usb0_state 
+0x48f7 017464 setarg mem_usb_clear_mem_end 
+0x48f8 017465 arg mem_usb_clear_mem_start ,contw 
+0x48f9 017466 isub contw ,loopcnt 
+0x48fa 017467 branch clear_mem 
+:      017469 usb_offline_check_init:
+0x48fb 017470 fetcht 1 ,mem_usb_offline_check_gpio 
+0x48fc 017471 branch gpio_config_input 
+:      017472 usb_offline_state:
+0x48fd 017473 fetch 1 ,mem_usb_device_enumeration_endflag 
+0x48fe 017474 rtn blank 
+0x48ff 017475 fetcht 1 ,mem_usb_offline_check_gpio 
+0x4900 017476 call gpio_get_bit 
+0x4901 017477 branch usb_init ,true 
+0x4902 017478 rtn 
+:      017481 usb_nak_state:
+0x4903 017482 arg timer_nak ,queue 
+0x4904 017483 call timer_check 
+0x4905 017484 nrtn blank 
+0x4906 017485 fetch 1 ,mem_usb_wakestate_onetime_flag 
+0x4907 017486 nrtn blank 
+0x4908 017487 fetch 1 ,mem_usb_device_enumeration_endflag 
+0x4909 017488 ncall usb_mac_wakeup_judge ,blank 
+0x490a 017489 rtn 
+:      017491 usb_mem_devicedesc_init:
+0x490b 017492 arg mem_devicedesc ,contw 
+0x490c 017493 setsect 0 ,0x11212 
+0x490d 017494 setsect 1 ,0x8000 
+0x490e 017495 setsect 2 ,0x0 
+0x490f 017496 setsect 3 ,0x10000 
+0x4910 017497 istore 9 ,contw 
+0x4911 017498 setsect 0 ,0x22412 
+0x4912 017499 setsect 1 ,0x8604 
+0x4913 017500 setsect 2 ,0x1000 
+0x4914 017501 setsect 3 ,0x8 
+0x4915 017502 istore 9 ,contw 
+0x4916 017503 setsect 0 ,0x1 
+0x4917 017504 istore 1 ,contw 
+0x4918 017505 rtn 
+:      017507 usb_init_param:
+0x4919 017508 jam 2 ,mem_usb0_state 
+0x491a 017509 setarg 0x0 
+0x491b 017510 store 1 ,mem_remain 
+0x491c 017511 store 2 ,mem_usb_zero_packet 
+0x491d 017512 pincrease 1 
+0x491e 017513 store 2 ,mem_usb_ones_packet 
+0x491f 017514 pincrease 1 
+0x4920 017515 store 2 ,mem_usb_two_packet 
+0x4921 017516 setarg hid_kbdata_addr 
+0x4922 017517 store 2 ,mem_hidreportdesc_kb 
+0x4923 017518 setarg hid_msdata_addr 
+0x4924 017519 store 2 ,mem_hidreportdesc_m 
+0x4925 017520 arg mem_confdesc ,contw 
+0x4926 017521 arg hid_confdata_addr ,contr 
+0x4927 017522 call memcpy64 
+0x4928 017523 fetch 1 ,mem_usb_tx_interval 
+0x4929 017524 ncall usb_tx_interval_config ,blank 
+0x492a 017525 branch usb_mem_devicedesc_init 
+:      017527 usb_tx_interval_config:
+0x492b 017528 store 1 ,mem_confdesc + 34 
+0x492c 017529 store 1 ,mem_confdesc + 59 
+0x492d 017530 rtn 
+:      017531 usb_nak_state_judge:
+0x492e 017532 hfetch 1 ,core_usb_status 
+0x492f 017533 bbit1 usb_status_nak ,usb_nak_state_timer_init 
+0x4930 017534 rtn 
+:      017536 usb_nak_state_timer_init:
+0x4931 017537 call usb0_attached_state_judge 
+0x4932 017538 call timer_reinit 
+0x4933 017539 setarg timer_nak_delay 
+0x4934 017540 arg timer_nak ,queue 
+0x4935 017541 branch timer_init 
+:      017543 usb0_attached_state_judge:
+0x4936 017544 fetch 1 ,mem_usb_state 
+0x4937 017545 bne usb_connected ,usb_clear_halt_dispose 
+0x4938 017546 jam 0 ,mem_usb_wakestate_onetime_flag 
+0x4939 017547 jam 0 ,mem_usb_mac_wakeup_trig 
+0x493a 017548 rtn 
+:      017549 usb_clear_halt_dispose:
+0x493b 017550 fetch 1 ,mem_usb_clear_halt 
+0x493c 017551 rtn blank 
+0x493d 017552 jam 0 ,mem_usb_clear_halt 
+0x493e 017553 jam usb_connected ,mem_usb_state 
+0x493f 017554 jam 1 ,mem_usb_device_enumeration_endflag 
+0x4940 017555 rtn 
+:      017557 usb0_fifo_empty:
+0x4941 017558 jam 0x1 ,core_usb_fifo_empty 
+0x4942 017559 branch usb0_tx 
+:      017561 usb_rx_no_data:
+0x4943 017562 fetch 1 ,mem_usb_status 
+0x4944 017563 bbit1 usb_status_setup ,usb_class_type 
+0x4945 017564 rtn 
+:      017566 usb_rx_read:
+0x4946 017567 hfetch 1 ,core_usb_ep 
+0x4947 017568 istore 1 ,contw 
+0x4948 017569 loop usb_rx_read 
+0x4949 017570 rtn 
+:      017572 usb_status1:
+0x494a 017573 bpatch patch1f_0 ,mem_patch1f 
+0x494b 017574 jam 0x11 ,core_usb_status 
+0x494c 017575 hfetch 1 ,core_usb_ep_len 
+0x494d 017576 store 1 ,mem_usb_read_len 
+0x494e 017577 copy pdata ,loopcnt 
+0x494f 017578 branch usb_rx_no_data ,blank 
+0x4950 017579 arg mem_usb_setup ,contw 
+0x4951 017580 call usb_rx_read 
+0x4952 017581 fetch 1 ,mem_usb_read_len 
+0x4953 017582 sub pdata ,7 ,null 
+0x4954 017583 rtn positive 
+:      017584 usb_class_type:
+0x4955 017585 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x4956 017586 and_into 0x80 ,pdata 
+0x4957 017587 beq in_device ,usb_in_device 
+0x4958 017588 beq out_device ,usb_out_device 
+0x4959 017589 branch assert 
+:      017591 usb_in_device:
+0x495a 017592 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x495b 017593 rshift4 pdata ,pdata 
+0x495c 017594 rshift pdata ,pdata 
+0x495d 017595 and_into 0x03 ,pdata 
+0x495e 017596 beq standard_req ,usb_in_standard_req 
+0x495f 017597 beq class_req ,usb_in_class_req 
+0x4960 017598 beq manufacturer_req ,usb_in_manufacturer_req 
+0x4961 017599 branch assert 
+:      017601 usb_out_device:
+0x4962 017602 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x4963 017603 rshift4 pdata ,pdata 
+0x4964 017604 rshift pdata ,pdata 
+0x4965 017605 and_into 0x03 ,pdata 
+0x4966 017606 beq standard_req ,usb_out_standard_req 
+0x4967 017607 beq class_req ,usb_out_class_req 
+0x4968 017608 beq manufacturer_req ,usb_out_manufacturer_req 
+0x4969 017609 branch assert 
+:      017611 usb_in_standard_req:
+0x496a 017612 fetch 1 ,mem_usb_setup_brequest 
+0x496b 017613 beq get_configuration ,usb0_request_get_configuration 
+0x496c 017614 beq get_descriptor ,usb0_request_get_descriptor 
+0x496d 017615 beq get_interface ,usb0_request_get_interface 
+0x496e 017616 beq get_status ,usb0_request_get_status 
+0x496f 017617 branch usb0_force_stall 
+:      017619 usb_in_class_req:
+0x4970 017620 fetch 1 ,mem_usb_setup_brequest 
+0x4971 017621 beq get_idle ,usb_get_idle 
+0x4972 017622 beq get_report ,usb_get_report 
+0x4973 017623 beq get_protocol ,usb_get_protocol_req 
+0x4974 017624 branch usb0_force_stall 
+:      017626 usb_in_manufacturer_req:
+0x4975 017627 branch usb0_force_stall 
+:      017629 usb_out_standard_req:
+0x4976 017630 fetch 1 ,mem_usb_setup_brequest 
+0x4977 017631 beq clear_feature ,usb0_request_clear_feature 
+0x4978 017632 beq set_feature ,usb0_request_set_feature 
+0x4979 017633 beq set_address ,usb0_request_set_address 
+0x497a 017634 beq set_configuration ,usb0_request_set_configuration 
+0x497b 017635 beq set_interface ,usb0_request_set_interface 
+0x497c 017636 beq set_descriptor ,usb0_force_stall 
+0x497d 017637 branch usb0_force_stall 
+:      017639 usb_out_class_req:
+0x497e 017640 fetch 1 ,mem_usb_setup_brequest 
+0x497f 017641 beq set_idle ,usb_set_idle 
+0x4980 017642 beq set_report ,usb_set_report 
+0x4981 017643 beq set_protocol ,usb_set_protocol_req 
+0x4982 017644 branch usb0_force_stall 
+:      017646 usb_out_manufacturer_req:
+0x4983 017647 branch usb0_force_stall 
+:      017649 usb0_force_stall:
+0x4984 017650 hfetch 1 ,core_usb_stall 
+0x4985 017651 set1 0 ,pdata 
+0x4986 017652 hstore 1 ,core_usb_stall 
+0x4987 017653 branch usb0_reply_zerolen 
+:      017655 usb0_reply_zerolen:
+0x4988 017656 jam 0x40 ,core_usb_clear 
+0x4989 017657 rtn 
+:      017659 usb0_request_get_configuration:
+0x498a 017660 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x498b 017661 bne in_device ,usb0_force_stall 
+0x498c 017662 fetch 1 ,mem_usb_setup_windex 
+0x498d 017663 bne 0 ,usb0_force_stall 
+0x498e 017664 fetch 1 ,mem_usb_setup_windex + 1 
+0x498f 017665 bne 0 ,usb0_force_stall 
+0x4990 017666 fetch 1 ,mem_usb_setup_blength 
+0x4991 017667 bne 1 ,usb0_force_stall 
+0x4992 017668 fetch 1 ,mem_usb_setup_blengthh 
+0x4993 017669 bne 0 ,usb0_force_stall 
+0x4994 017670 fetch 1 ,mem_usb_setup_bvalue 
+0x4995 017671 bne 0 ,usb0_force_stall 
+0x4996 017672 fetch 1 ,mem_usb_setup_bvalue + 1 
+0x4997 017673 bne 0 ,usb0_force_stall 
+0x4998 017674 fetch 1 ,mem_usb0_state 
+0x4999 017675 beq dev_configured ,usb0_request_get_cfg_dev_cfg 
+0x499a 017676 beq dev_address ,usb0_request_get_cfg_dev_addr 
+0x499b 017677 branch usb0_force_stall 
+:      017679 usb0_request_get_cfg_dev_cfg:
+0x499c 017680 arg 1 ,regb 
+0x499d 017681 branch usb_send_ones_packet 
+:      017683 usb0_request_get_cfg_dev_addr:
+0x499e 017684 arg 1 ,regb 
+0x499f 017685 branch usb_send_zero_packet 
+:      017687 usb0_request_get_descriptor:
+0x49a0 017688 bpatch patch1f_1 ,mem_patch1f 
+0x49a1 017689 set0 mark_isstr ,mark 
+0x49a2 017690 fetch 1 ,mem_usb_setup_bvalueh 
+0x49a3 017691 beq dsc_device ,dsc_device_info 
+0x49a4 017692 beq dsc_config ,dsc_config_info 
+0x49a5 017693 beq dsc_string ,dsc_string_info 
+0x49a6 017694 beq dsc_hid ,dsc_hid_info 
+0x49a7 017695 beq dsc_hid_report ,dsc_hid_report_info 
+0x49a8 017696 branch usb0_force_stall 
+:      017698 dsc_hid_info:
+0x49a9 017699 jam 0 ,mem_usb_get_protocol_flag 
+0x49aa 017700 fetch 1 ,mem_usb_setup_windex 
+0x49ab 017701 beq 0 ,dsc_hid_info_interface0 
+0x49ac 017702 beq 1 ,dsc_hid_info_interface1 
+0x49ad 017703 branch usb0_force_stall 
+:      017705 dsc_hid_info_interface0:
+0x49ae 017706 arg mem_confdesc + 19 ,rega 
+0x49af 017707 ifetch 1 ,rega 
+0x49b0 017708 iforce regb 
+0x49b1 017709 branch usb0_respond 
+:      017711 dsc_hid_info_interface1:
+0x49b2 017712 arg mem_confdesc + 44 ,rega 
+0x49b3 017713 ifetch 1 ,rega 
+0x49b4 017714 iforce regb 
+0x49b5 017715 branch usb0_respond 
+:      017717 dsc_device_info:
+0x49b6 017721 fetch 1 ,mem_usb_set_high_addr_flag 
+0x49b7 017722 ncall usb_set_high_addr ,blank 
+0x49b8 017723 setarg mem_devicedesc 
+0x49b9 017724 fetcht 1 ,mem_devicedesc 
+:      017725 dsc_info_set_data_len:
+0x49ba 017726 store 2 ,mem_dsc_info_data_pointer 
+0x49bb 017727 storet 1 ,mem_dsc_info_len 
+0x49bc 017728 fetch 1 ,mem_usb_setup_blength 
+0x49bd 017729 isub temp ,null 
+0x49be 017730 nbranch dsc_info_set_current_data_len ,positive 
+:      017731 dsc_info_set_initial_data_len:
+0x49bf 017732 fetch 1 ,mem_dsc_info_len 
+:      017733 dsc_info_set_data_size_completed:
+0x49c0 017734 iforce regb 
+0x49c1 017735 fetch 2 ,mem_dsc_info_data_pointer 
+0x49c2 017736 add pdata ,1 ,pdata 
+0x49c3 017737 iforce rega 
+0x49c4 017738 branch usb0_respond 
+:      017739 dsc_info_set_current_data_len:
+0x49c5 017740 fetch 1 ,mem_usb_setup_blength 
+0x49c6 017741 branch dsc_info_set_data_size_completed 
+:      017743 usb_set_high_addr:
+0x49c7 017744 hfetch 1 ,core_usb_addr 
+0x49c8 017745 ncall usb0_set_addr ,blank 
+0x49c9 017746 jam 0 ,mem_usb_set_high_addr_flag 
+0x49ca 017747 rtn 
+:      017748 usb0_set_addr:
+0x49cb 017749 hfetch 1 ,core_usb_addr 
+0x49cc 017750 set1 7 ,pdata 
+0x49cd 017751 hstore 1 ,core_usb_addr 
+0x49ce 017752 rtn 
+:      017754 dsc_config_info:
+0x49cf 017755 setarg mem_confdesc 
+0x49d0 017756 fetcht 1 ,mem_confdesc 
+0x49d1 017757 branch dsc_info_set_data_len 
+:      017759 dsc_string_info:
+0x49d2 017760 fetch 1 ,mem_usb_setup_bvalue 
+0x49d3 017761 sub pdata ,3 ,null 
+0x49d4 017762 nbranch usb0_force_stall ,positive 
+0x49d5 017763 fetch 1 ,mem_usb_setup_bvalue 
+0x49d6 017764 arg mem_string0 ,rega 
+0x49d7 017765 beq 0 ,usb0_respond_length 
+0x49d8 017766 set1 mark_isstr ,mark 
+0x49d9 017767 arg mem_string1 ,rega 
+0x49da 017768 beq 1 ,usb0_respond_length 
+0x49db 017769 arg mem_string2 ,rega 
+0x49dc 017770 beq 2 ,usb0_respond_length 
+0x49dd 017771 arg mem_string3 ,rega 
+0x49de 017772 beq 3 ,usb0_respond_length 
+0x49df 017773 rtn 
+:      017775 dsc_hid_report_info:
+0x49e0 017776 fetch 2 ,mem_usb_setup_windex 
+0x49e1 017777 beq 1 ,dsc_hid_report_info0 
+0x49e2 017778 fetch 2 ,mem_hidreportdesc_kb 
+0x49e3 017779 copy pdata ,rega 
+0x49e4 017781 branch usb0_respond_length 
+:      017782 dsc_hid_report_info0:
+0x49e5 017783 jam 1 ,mem_usb_device_enumeration_endflag 
+0x49e6 017784 jam usb_got_report_req ,mem_usb_state 
+0x49e7 017785 fetch 2 ,mem_hidreportdesc_m 
+0x49e8 017786 copy pdata ,rega 
+0x49e9 017788 branch usb0_respond_length 
+:      017791 usb0_request_get_interface:
+0x49ea 017792 fetch 1 ,mem_usb0_state 
+0x49eb 017793 bne dev_configured ,usb0_force_stall 
+0x49ec 017794 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x49ed 017795 bne in_interface ,usb0_force_stall 
+0x49ee 017796 fetch 1 ,mem_usb_setup_bvalue 
+0x49ef 017797 bne 0 ,usb0_force_stall 
+0x49f0 017798 fetch 1 ,mem_usb_setup_bvalueh 
+0x49f1 017799 bne 0 ,usb0_force_stall 
+0x49f2 017800 fetch 1 ,mem_usb_setup_blength 
+0x49f3 017801 bne 1 ,usb0_force_stall 
+0x49f4 017802 fetch 1 ,mem_usb_setup_blengthh 
+0x49f5 017803 bne 0 ,usb0_force_stall 
+0x49f6 017804 fetch 1 ,mem_usb_setup_windex 
+0x49f7 017805 bne 0 ,usb0_force_stall 
+0x49f8 017806 fetch 1 ,mem_usb_setup_windex + 1 
+0x49f9 017807 bne 0 ,usb0_force_stall 
+0x49fa 017808 arg 1 ,regb 
+0x49fb 017809 branch usb_send_zero_packet 
+:      017812 usb0_request_get_status:
+0x49fc 017813 fetch 1 ,mem_usb0_state 
+0x49fd 017814 beq dev_default ,usb0_force_stall 
+0x49fe 017815 fetch 1 ,mem_usb_setup_bvalue 
+0x49ff 017816 bne 0 ,usb0_force_stall 
+0x4a00 017817 fetch 1 ,mem_usb_setup_bvalueh 
+0x4a01 017818 bne 0 ,usb0_force_stall 
+0x4a02 017819 fetch 1 ,mem_usb_setup_blength 
+0x4a03 017820 bne 2 ,usb0_force_stall 
+0x4a04 017821 fetch 1 ,mem_usb_setup_blengthh 
+0x4a05 017822 bne 0 ,usb0_force_stall 
+0x4a06 017823 fetch 1 ,mem_usb_setup_windex + 1 
+0x4a07 017824 bne 0 ,usb0_force_stall 
+0x4a08 017825 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x4a09 017826 beq in_device ,usb0_get_status_in_device 
+0x4a0a 017827 beq in_interface ,usb0_get_status_in_interface 
+0x4a0b 017828 beq in_endpoint ,usb0_get_status_in_endpoint 
+0x4a0c 017829 branch usb0_force_stall 
+:      017831 usb0_get_status_in_device:
+0x4a0d 017832 fetch 1 ,mem_usb_setup_windex 
+0x4a0e 017833 bne 0 ,usb0_force_stall 
+0x4a0f 017834 arg 2 ,regb 
+0x4a10 017835 fetch 1 ,mem_usb_remote_wakeup 
+0x4a11 017836 beq 0x01 ,usb_send_two_packet 
+:      017838 usb_send_zero_packet:
+0x4a12 017839 arg mem_usb_zero_packet ,rega 
+0x4a13 017840 branch usb0_respond 
+:      017841 usb_send_ones_packet:
+0x4a14 017842 arg mem_usb_ones_packet ,rega 
+0x4a15 017843 branch usb0_respond 
+:      017844 usb_send_two_packet:
+0x4a16 017845 arg mem_usb_two_packet ,rega 
+0x4a17 017846 branch usb0_respond 
+:      017848 usb0_get_status_in_interface:
+0x4a18 017849 fetch 1 ,mem_usb0_state 
+0x4a19 017850 bne dev_configured ,usb0_force_stall 
+0x4a1a 017851 arg 2 ,regb 
+0x4a1b 017852 branch usb_send_zero_packet 
+:      017854 usb0_get_status_in_endpoint:
+0x4a1c 017855 fetch 1 ,mem_usb0_state 
+0x4a1d 017856 bne dev_configured ,usb0_force_stall 
+0x4a1e 017857 fetch 1 ,mem_usb_setup_windex 
+0x4a1f 017858 beq in_ep1 ,usb0_get_status_in_ep_in_ep1 
+0x4a20 017859 beq in_ep2 ,usb0_get_status_in_ep_in_ep2 
+0x4a21 017860 beq in_ep3 ,usb0_get_status_in_ep_in_ep3 
+0x4a22 017861 and_into 0x7f ,pdata 
+0x4a23 017862 beq 0x00 ,usb0_get_status_in_ep_in_ep0 
+0x4a24 017863 branch usb0_force_stall 
+:      017865 usb0_get_status_in_ep_in_ep0:
+0x4a25 017866 fetch 1 ,mem_usb_ep0_stall_status 
+:      017867 usb0_get_status_in_ep_in_ack:
+0x4a26 017868 arg 2 ,regb 
+0x4a27 017869 beq 1 ,usb_send_ones_packet 
+0x4a28 017870 branch usb_send_zero_packet 
+:      017871 usb0_get_status_in_ep_in_ep1:
+0x4a29 017872 fetch 1 ,mem_usb_ep1_stall_status 
+0x4a2a 017873 branch usb0_get_status_in_ep_in_ack 
+:      017874 usb0_get_status_in_ep_in_ep2:
+0x4a2b 017875 fetch 1 ,mem_usb_ep2_stall_status 
+0x4a2c 017876 branch usb0_get_status_in_ep_in_ack 
+:      017877 usb0_get_status_in_ep_in_ep3:
+0x4a2d 017878 fetch 1 ,mem_usb_ep3_stall_status 
+0x4a2e 017879 branch usb0_get_status_in_ep_in_ack 
+:      017881 usb_get_idle:
+0x4a2f 017882 jam 1 ,mem_usb_idle_flag 
+0x4a30 017883 arg mem_usb_idle_rate ,rega 
+0x4a31 017884 arg 1 ,regb 
+0x4a32 017885 branch usb0_respond 
+:      017887 usb_get_report:
+0x4a33 017888 fetch 2 ,mem_usb_setup_bvalue 
+0x4a34 017889 arg pc_get_report ,temp 
+0x4a35 017890 isub temp ,null 
+0x4a36 017891 nbranch usb0_force_stall ,zero 
+0x4a37 017892 set0 mark_isstr ,mark 
+:      017893 usb_get_report_dispose:
+0x4a38 017894 fetch 1 ,mem_usb0_data_ready_report 
+0x4a39 017895 nbranch usb_get_report_data_success ,blank 
+0x4a3a 017896 jam pc_get_nondata ,mem_usb0_get_report_data 
+:      017897 usb_get_report_send_data:
+0x4a3b 017898 fetch 1 ,mem_usb_setup_blength 
+0x4a3c 017899 iforce regb 
+0x4a3d 017900 arg mem_usb0_get_report_data ,rega 
+0x4a3e 017901 call usb0_respond 
+:      017902 usb_get_report_data_release:
+0x4a3f 017903 arg mem_usb0_get_report_data ,contw 
+0x4a40 017904 arg 8 ,loopcnt 
+0x4a41 017905 branch memset0 
+:      017906 usb_get_report_data_success:
+0x4a42 017907 jam 0 ,mem_usb0_data_ready_report 
+0x4a43 017908 jam pc_get_data ,mem_usb0_get_report_data 
+0x4a44 017909 branch usb_get_report_send_data 
+:      017911 usb_get_protocol_req:
+0x4a45 017912 fetch 1 ,mem_usb_setup_blength 
+0x4a46 017913 bne 1 ,usb0_force_stall 
+0x4a47 017914 jam 1 ,mem_usb_get_protocol_flag 
+0x4a48 017915 arg 1 ,regb 
+0x4a49 017916 fetch 1 ,mem_usb_set_protocol_value 
+0x4a4a 017917 beq 0 ,usb_get_report_protocol 
+0x4a4b 017918 beq 1 ,usb_get_boot_protocol 
+0x4a4c 017919 branch usb_send_zero_packet 
+:      017920 usb_get_report_protocol:
+0x4a4d 017921 branch usb_send_ones_packet 
+:      017922 usb_get_boot_protocol:
+0x4a4e 017923 branch usb_send_zero_packet 
+:      017928 usb0_request_clear_feature:
+0x4a4f 017929 fetch 1 ,mem_usb0_state 
+0x4a50 017930 bne dev_configured ,usb0_force_stall 
+0x4a51 017931 fetch 1 ,mem_usb_setup_blength 
+0x4a52 017932 bne 0 ,usb0_force_stall 
+0x4a53 017933 fetch 1 ,mem_usb_setup_blengthh 
+0x4a54 017934 bne 0 ,usb0_force_stall 
+0x4a55 017935 fetch 1 ,mem_usb_setup_bvalueh 
+0x4a56 017936 bne 0 ,usb0_force_stall 
+0x4a57 017937 fetch 1 ,mem_usb_setup_windex + 1 
+0x4a58 017938 bne 0 ,usb0_force_stall 
+0x4a59 017939 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x4a5a 017940 beq out_device ,usb0_request_clear_feature_out_device 
+0x4a5b 017941 beq out_interface ,usb0_request_clear_feature_out_interface 
+0x4a5c 017942 beq out_endpoint ,usb0_request_clear_feature_out_endpoint 
+0x4a5d 017943 branch usb0_force_stall 
+:      017945 usb0_request_clear_feature_out_device:
+0x4a5e 017946 fetch 1 ,mem_usb_setup_bvalue 
+0x4a5f 017947 bne device_remote_wakeup ,usb0_force_stall 
+0x4a60 017948 hfetch 1 ,core_usb_config 
+0x4a61 017949 set0 7 ,pdata 
+0x4a62 017950 hstore 1 ,core_usb_config 
+0x4a63 017951 jam 0 ,mem_usb_remote_wakeup 
+0x4a64 017952 jam 1 ,mem_usb_clear_remote_wakeup 
+0x4a65 017953 branch usb0_reply_zerolen 
+:      017955 usb0_request_clear_feature_out_interface:
+0x4a66 017956 branch usb0_force_stall 
+:      017958 usb0_request_clear_feature_out_endpoint:
+0x4a67 017959 fetch 1 ,mem_usb_setup_bvalue 
+0x4a68 017960 bne endpoint_halt ,usb0_force_stall 
+0x4a69 017961 fetch 1 ,mem_usb_setup_windex 
+0x4a6a 017962 beq in_ep1 ,usb0_force_stall_ep1_in_off 
+0x4a6b 017963 beq in_ep2 ,usb0_force_stall_ep2_in_off 
+0x4a6c 017964 beq in_ep3 ,usb0_force_stall_ep3_in_off 
+0x4a6d 017965 and_into 0x7f ,pdata 
+0x4a6e 017966 beq 0x00 ,usb0_force_stall_ep0_in_off 
+0x4a6f 017967 branch usb0_force_stall 
+:      017969 usb0_force_stall_ep0_in_off:
+0x4a70 017970 jam 0 ,mem_usb_ep0_stall_status 
+0x4a71 017971 branch usb0_reply_zerolen 
+:      017972 usb0_force_stall_ep1_in_off:
+0x4a72 017973 jam 0 ,mem_usb_ep1_stall_status 
+:      017974 usb0_force_stall_ep1_in_off_reply:
+0x4a73 017975 jam 1 ,mem_usb_clear_halt 
+0x4a74 017976 branch usb0_reply_zerolen 
+:      017977 usb0_force_stall_ep2_in_off:
+0x4a75 017978 jam 0 ,mem_usb_ep2_stall_status 
+0x4a76 017979 branch usb0_force_stall_ep1_in_off_reply 
+:      017980 usb0_force_stall_ep3_in_off:
+0x4a77 017981 jam 0 ,mem_usb_ep3_stall_status 
+0x4a78 017982 branch usb0_force_stall_ep1_in_off_reply 
+:      017985 usb0_request_set_feature:
+0x4a79 017986 fetch 1 ,mem_usb_setup_blength 
+0x4a7a 017987 bne 0 ,usb0_force_stall 
+0x4a7b 017988 fetch 1 ,mem_usb_setup_blengthh 
+0x4a7c 017989 bne 0 ,usb0_force_stall 
+0x4a7d 017990 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x4a7e 017991 beq out_device ,usb0_request_set_feature_out_device 
+0x4a7f 017992 beq out_interface ,usb0_request_set_feature_out_interface 
+0x4a80 017993 beq out_endpoint ,usb0_request_set_feature_out_endpoint 
+0x4a81 017994 branch usb0_force_stall 
+:      017996 usb0_request_set_feature_out_device:
+0x4a82 017997 fetch 1 ,mem_usb_setup_bvalue 
+0x4a83 017998 bne device_remote_wakeup ,usb0_force_stall 
+0x4a84 017999 hfetch 1 ,core_usb_config 
+0x4a85 018000 set1 7 ,pdata 
+0x4a86 018001 hstore 1 ,core_usb_config 
+0x4a87 018002 jam 1 ,mem_usb_remote_wakeup 
+0x4a88 018003 jam usb_sleep ,mem_usb_state 
+0x4a89 018004 jam 0 ,mem_usb_tx_win_enable 
+0x4a8a 018005 call usb0_reply_zerolen 
+:      018006 usb_wakeup_timer_reinit:
+0x4a8b 018007 call timer_reinit 
+0x4a8c 018008 setarg timer_wakeup_delay 
+0x4a8d 018009 arg timer_wakeup ,queue 
+0x4a8e 018010 branch timer_init 
+:      018012 usb0_request_set_feature_out_interface:
+0x4a8f 018013 branch usb0_force_stall 
+:      018015 usb0_request_set_feature_out_endpoint:
+0x4a90 018016 fetch 1 ,mem_usb_setup_bvalue 
+0x4a91 018017 bne endpoint_halt ,usb0_force_stall 
+0x4a92 018018 fetch 1 ,mem_usb_setup_bvalueh 
+0x4a93 018019 bne 0 ,usb0_force_stall 
+0x4a94 018020 fetch 1 ,mem_usb_setup_windex 
+0x4a95 018021 beq in_ep1 ,usb0_force_stall_ep1_in_on 
+0x4a96 018022 beq in_ep2 ,usb0_force_stall_ep2_in_on 
+0x4a97 018023 beq in_ep3 ,usb0_force_stall_ep3_in_on 
+0x4a98 018024 and_into 0x7f ,pdata 
+0x4a99 018025 beq 0x00 ,usb0_force_stall_ep0_in_on 
+0x4a9a 018026 branch usb0_force_stall 
+:      018028 usb0_force_stall_ep0_in_on:
+0x4a9b 018029 jam 1 ,mem_usb_ep0_stall_status 
+0x4a9c 018030 branch usb0_reply_zerolen 
+:      018031 usb0_force_stall_ep1_in_on:
+0x4a9d 018032 jam 1 ,mem_usb_ep1_stall_status 
+0x4a9e 018033 branch usb0_reply_zerolen 
+:      018034 usb0_force_stall_ep2_in_on:
+0x4a9f 018035 jam 1 ,mem_usb_ep2_stall_status 
+0x4aa0 018036 branch usb0_reply_zerolen 
+:      018037 usb0_force_stall_ep3_in_on:
+0x4aa1 018038 jam 1 ,mem_usb_ep3_stall_status 
+0x4aa2 018039 branch usb0_reply_zerolen 
+:      018042 usb0_request_set_address:
+0x4aa3 018043 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x4aa4 018044 bne out_device ,usb0_force_stall 
+0x4aa5 018045 fetch 1 ,mem_usb_setup_windex 
+0x4aa6 018046 bne 0 ,usb0_force_stall 
+0x4aa7 018047 fetch 1 ,mem_usb_setup_windex + 1 
+0x4aa8 018048 bne 0 ,usb0_force_stall 
+0x4aa9 018049 fetch 1 ,mem_usb_setup_blength 
+0x4aaa 018050 bne 0 ,usb0_force_stall 
+0x4aab 018051 fetch 1 ,mem_usb_setup_blengthh 
+0x4aac 018052 bne 0 ,usb0_force_stall 
+0x4aad 018053 fetch 1 ,mem_usb_setup_bvalueh 
+0x4aae 018054 bne 0 ,usb0_force_stall 
+0x4aaf 018055 fetch 1 ,mem_usb_setup_bvalue 
+0x4ab0 018056 and_into 0x80 ,pdata 
+0x4ab1 018057 bne 0 ,usb0_force_stall 
+0x4ab2 018058 fetch 1 ,mem_usb_setup_bvalue 
+0x4ab3 018059 bne 0 ,usb_usb0_state_set_dev_addr 
+:      018060 usb_usb0_state_set_dev_default:
+0x4ab4 018061 jam dev_default ,mem_usb0_state 
+:      018062 usb0_request_set_wait_address:
+0x4ab5 018063 fetch 1 ,mem_usb_setup_bvalue 
+0x4ab6 018064 hstore 1 ,core_usb_addr 
+0x4ab7 018065 call usb0_reply_zerolen 
+0x4ab8 018066 jam 1 ,mem_usb_set_high_addr_flag 
+0x4ab9 018067 rtn 
+:      018068 usb_usb0_state_set_dev_addr:
+0x4aba 018069 jam dev_address ,mem_usb0_state 
+0x4abb 018070 branch usb0_request_set_wait_address 
+:      018073 usb0_request_set_configuration:
+0x4abc 018074 fetch 1 ,mem_usb0_state 
+0x4abd 018075 beq dev_default ,usb0_force_stall 
+0x4abe 018076 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x4abf 018077 bne out_device ,usb0_force_stall 
+0x4ac0 018078 fetch 1 ,mem_usb_setup_windex 
+0x4ac1 018079 bne 0 ,usb0_force_stall 
+0x4ac2 018080 fetch 1 ,mem_usb_setup_windex + 1 
+0x4ac3 018081 bne 0 ,usb0_force_stall 
+0x4ac4 018082 fetch 1 ,mem_usb_setup_blength 
+0x4ac5 018083 bne 0 ,usb0_force_stall 
+0x4ac6 018084 fetch 1 ,mem_usb_setup_blengthh 
+0x4ac7 018085 bne 0 ,usb0_force_stall 
+0x4ac8 018086 fetch 1 ,mem_usb_setup_bvalue + 1 
+0x4ac9 018087 bne 0 ,usb0_force_stall 
+0x4aca 018088 fetch 1 ,mem_usb_setup_bvalue 
+0x4acb 018089 sub pdata ,usb_max_num_cfg ,null 
+0x4acc 018090 nbranch usb0_force_stall ,positive 
+0x4acd 018091 fetch 1 ,mem_usb0_state 
+0x4ace 018092 beq dev_address ,usb0_request_set_cfg_addr_state 
+0x4acf 018093 beq dev_configured ,usb0_request_set_cfg_cfg_state 
+0x4ad0 018094 branch usb0_force_stall 
+:      018096 usb0_request_set_cfg_addr_state:
+:      018097 usb0_request_set_cfg_cfg_state:
+0x4ad1 018098 fetch 1 ,mem_usb_setup_bvalue 
+0x4ad2 018099 beq 0 ,usb0_request_set_cfg_stay_addr_state 
+0x4ad3 018100 jam dev_configured ,mem_usb0_state 
+0x4ad4 018101 branch usb0_reply_zerolen 
+:      018102 usb0_request_set_cfg_stay_addr_state:
+0x4ad5 018103 jam dev_address ,mem_usb0_state 
+0x4ad6 018104 branch usb0_reply_zerolen 
+:      018107 usb0_request_set_interface:
+0x4ad7 018108 fetch 1 ,mem_usb0_state 
+0x4ad8 018109 bne dev_configured ,usb0_force_stall 
+0x4ad9 018110 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x4ada 018111 bne out_interface ,usb0_force_stall 
+0x4adb 018112 fetch 1 ,mem_usb_setup_bvalue 
+0x4adc 018113 bne 0 ,usb0_force_stall 
+0x4add 018114 fetch 1 ,mem_usb_setup_bvalueh 
+0x4ade 018115 bne 0 ,usb0_force_stall 
+0x4adf 018116 fetch 1 ,mem_usb_setup_blength 
+0x4ae0 018117 bne 0 ,usb0_force_stall 
+0x4ae1 018118 fetch 1 ,mem_usb_setup_blengthh 
+0x4ae2 018119 bne 0 ,usb0_force_stall 
+0x4ae3 018120 fetch 1 ,mem_usb_setup_windex 
+0x4ae4 018121 bne 0 ,usb0_force_stall 
+0x4ae5 018122 fetch 1 ,mem_usb_setup_windex + 1 
+0x4ae6 018123 bne 0 ,usb0_force_stall 
+0x4ae7 018124 branch usb0_reply_zerolen 
+:      018127 usb_set_idle:
+0x4ae8 018128 jam 1 ,mem_usb_idle_flag 
+0x4ae9 018129 fetch 1 ,mem_usb_setup_bvalueh 
+0x4aea 018130 store 1 ,mem_usb_idle_rate 
+0x4aeb 018131 fetch 1 ,mem_usb_setup_windex 
+0x4aec 018132 sub pdata ,1 ,null 
+0x4aed 018133 call usb_clear_remote_wakeup_set0 ,zero 
+0x4aee 018134 fetch 1 ,mem_usb_state 
+0x4aef 018135 bne usb_resume ,usb0_reply_zerolen 
+0x4af0 018136 jam usb_connected ,mem_usb_state 
+0x4af1 018137 call usb0_reply_zerolen 
+0x4af2 018138 nop 30000 
+0x4af3 018139 nop 30000 
+0x4af4 018140 rtn 
+:      018141 usb_clear_remote_wakeup_set0:
+0x4af5 018142 jam 1 ,mem_usb_device_enumeration_endflag 
+0x4af6 018143 jam 0 ,mem_usb_clear_remote_wakeup 
+0x4af7 018144 jam usb_resume ,mem_usb_state 
+0x4af8 018145 rtn 
+:      018148 usb_set_report:
+0x4af9 018149 jam 1 ,mem_usb0_get_set_report 
+0x4afa 018150 call usb_set_report_resume_judge 
+0x4afb 018151 fetch 2 ,mem_usb_setup_bvalue 
+0x4afc 018152 store 2 ,mem_usb_setup_bvalue_temp 
+0x4afd 018153 fetch 1 ,mem_usb_setup_blength 
+0x4afe 018154 iforce loopcnt 
+0x4aff 018155 arg mem_usb0_setup ,contr 
+0x4b00 018156 arg mem_usb0_set_report_data ,contw 
+0x4b01 018157 call memcpy 
+0x4b02 018158 branch usb0_reply_zerolen 
+:      018160 usb_set_report_resume_judge:
+0x4b03 018161 fetch 2 ,mem_usb_setup_bvalue 
+0x4b04 018162 arg pc_set_report_bvalue ,temp 
+0x4b05 018163 isub temp ,null 
+0x4b06 018164 nrtn zero 
+0x4b07 018165 fetch 2 ,mem_usb_setup_windex 
+0x4b08 018166 arg pc_set_report_windex ,temp 
+0x4b09 018167 isub temp ,null 
+0x4b0a 018168 nrtn zero 
+0x4b0b 018169 fetch 2 ,mem_usb_setup_blength 
+0x4b0c 018170 arg pc_set_report_blength ,temp 
+0x4b0d 018171 isub temp ,null 
+0x4b0e 018172 nrtn zero 
+0x4b0f 018173 jam 1 ,mem_usb_tx_win_enable 
+0x4b10 018174 rtn 
+:      018177 usb_set_protocol_req:
+0x4b11 018178 fetch 1 ,mem_usb_setup_blength 
+0x4b12 018179 bne 0 ,usb0_force_stall 
+0x4b13 018180 fetch 1 ,mem_usb_setup_bvalue 
+0x4b14 018181 beq boot_protocol ,usb_set_boot_protocol 
+0x4b15 018182 beq report_protocol ,usb_set_report_protocol 
+0x4b16 018183 branch usb0_force_stall 
+:      018184 usb_set_boot_protocol:
+0x4b17 018185 jam 0 ,mem_usb_set_protocol_status 
+0x4b18 018186 jam 1 ,mem_usb_set_protocol_value 
+0x4b19 018187 branch usb0_reply_zerolen 
+:      018188 usb_set_report_protocol:
+0x4b1a 018189 jam 1 ,mem_usb_tx_mac_enable 
+0x4b1b 018190 jam 1 ,mem_usb_set_protocol_status 
+0x4b1c 018191 jam 0 ,mem_usb_set_protocol_value 
+0x4b1d 018192 branch usb0_reply_zerolen 
+:      018195 usb0_respond_length:
+0x4b1e 018196 ifetch 1 ,rega 
+0x4b1f 018197 iforce regb 
+0x4b20 018198 increase 1 ,rega 
+:      018200 usb0_respond:
+0x4b21 018201 bpatch patch1f_2 ,mem_patch1f 
+0x4b22 018202 bmark0 mark_isstr ,usb0_respond0 
+0x4b23 018203 add regb ,1 ,pdata 
+0x4b24 018204 lshift pdata ,pdata 
+0x4b25 018205 hstore 1 ,core_usb_dfifo0 
+0x4b26 018206 jam 3 ,core_usb_dfifo0 
+0x4b27 018207 fetch 1 ,mem_usb_setup_blength 
+0x4b28 018208 increase -2 ,pdata 
+0x4b29 018209 rshift pdata ,pdata 
+0x4b2a 018210 store 1 ,mem_usb_setup_blength 
+0x4b2b 018211 beq 0 ,usb_no_respond_data 
+:      018212 usb0_respond0:
+0x4b2c 018213 fetch 2 ,mem_usb_setup_blength 
+0x4b2d 018214 isub regb ,null 
+0x4b2e 018215 branch usb0_respond1 ,positive 
+0x4b2f 018216 copy pdata ,regb 
+:      018217 usb0_respond1:
+0x4b30 018218 deposit rega 
+0x4b31 018219 store 2 ,mem_bufptr 
+0x4b32 018220 deposit regb 
+0x4b33 018221 store 1 ,mem_remain 
+0x4b34 018222 branch usb0_tx 
+:      018224 usb_no_respond_data:
+0x4b35 018225 arg 0 ,queue 
+0x4b36 018226 branch usb_trig 
+:      018229 usb0_tx:
+0x4b37 018230 bpatch patch1f_3 ,mem_patch1f 
+0x4b38 018231 fetch 1 ,mem_remain 
+0x4b39 018232 rtn blank 
+0x4b3a 018233 copy pdata ,loopcnt 
+0x4b3b 018234 sub pdata ,ep0_packet_size ,null 
+0x4b3c 018235 branch usb0_tx_info ,positive 
+0x4b3d 018236 arg ep0_packet_size ,loopcnt 
+:      018237 usb0_tx_info:
+0x4b3e 018238 fetch 1 ,mem_remain 
+0x4b3f 018239 isub loopcnt ,pdata 
+0x4b40 018240 store 1 ,mem_remain 
+0x4b41 018241 fetch 2 ,mem_bufptr 
+0x4b42 018242 copy pdata ,contr 
+:      018243 usb0_tx0:
+0x4b43 018244 ifetch 1 ,contr 
+0x4b44 018245 hstore 1 ,core_usb_dfifo0 
+0x4b45 018246 bmark0 mark_isstr ,usb0_tx1 
+0x4b46 018247 jam 0 ,core_usb_dfifo0 
+:      018248 usb0_tx1:
+0x4b47 018249 loop usb0_tx0 
+0x4b48 018250 copy contr ,pdata 
+0x4b49 018251 store 2 ,mem_bufptr 
+0x4b4a 018252 arg 0 ,queue 
+0x4b4b 018253 call usb_trig 
+0x4b4c 018254 fetch 1 ,mem_remain 
+0x4b4d 018255 nrtn blank 
+0x4b4e 018256 fetch 1 ,mem_usb_state 
+0x4b4f 018257 rtnne usb_got_report_req 
+0x4b50 018258 jam usb_connected ,mem_usb_state 
+0x4b51 018259 rtn 
+:      018262 usb_tx_ep1:
+0x4b52 018263 arg core_usb_dfifo1 ,rega 
+0x4b53 018264 arg 1 ,queue 
+:      018265 usb_tx_loop:
+0x4b54 018266 ifetch 1 ,contr 
+0x4b55 018267 istore 1 ,rega 
+0x4b56 018268 loop usb_tx_loop 
+:      018269 usb_trig:
+0x4b57 018270 setarg 0 
+0x4b58 018271 qset1 pdata 
+0x4b59 018272 hstore 1 ,core_usb_trig 
+0x4b5a 018273 fetcht 1 ,mem_usb_tx_wait 
+0x4b5b 018274 ior temp ,pdata 
+0x4b5c 018275 store 1 ,mem_usb_tx_wait 
+0x4b5d 018276 rtn 
+:      018278 usb_tx_ep2:
+0x4b5e 018279 arg 2 ,queue 
+0x4b5f 018280 arg core_usb_dfifo2 ,rega 
+0x4b60 018281 branch usb_tx_loop 
+:      018283 usb_tx:
+0x4b61 018284 bpatch patch1f_4 ,mem_patch1f 
+0x4b62 018285 fetch 1 ,mem_usb_tx_enable 
+0x4b63 018286 rtn blank 
+0x4b64 018287 fetch 1 ,mem_usb_tx_wait 
+0x4b65 018288 nbranch usb_inwake_state_tx_dispose ,blank 
+0x4b66 018289 fetch 1 ,mem_usb_device_enumeration_endflag 
+0x4b67 018290 branch usb_tx_fifo_release ,blank 
+0x4b68 018291 fetch 1 ,mem_usb_state 
+0x4b69 018292 beq usb_sleep ,usb_windows_wakeup 
+0x4b6a 018293 bne usb_connected ,usb_tx_fifo_release 
+0x4b6b 018294 fetch 1 ,mem_usb_clear_remote_wakeup 
+0x4b6c 018295 nbranch usb_tx_fifo_release ,blank 
+0x4b6d 018296 call usb_tx_data_ep1 
+0x4b6e 018297 branch usb_tx_data_ep2 
+:      018299 usb_tx_data_ep1:
+0x4b6f 018300 fetch 1 ,mem_usb_tx_enable 
+0x4b70 018301 rtnbit0 1 
+0x4b71 018302 fetch 1 ,mem_usb_tx_wait 
+0x4b72 018303 rtnbit1 1 
+0x4b73 018304 fetch 1 ,mem_usb_tx_enable 
+0x4b74 018305 set0 1 ,pdata 
+0x4b75 018306 store 1 ,mem_usb_tx_enable 
+0x4b76 018307 fetch 1 ,mem_usb_ep1_data 
+0x4b77 018308 rtn blank 
+0x4b78 018309 beq usb_ep1_kb ,usb_tx_kb_normal_data 
+0x4b79 018310 branch assert 
+:      018312 usb_tx_data_ep2:
+0x4b7a 018313 fetch 1 ,mem_usb_tx_enable 
+0x4b7b 018314 rtnbit0 2 
+0x4b7c 018315 fetch 1 ,mem_usb_tx_wait 
+0x4b7d 018316 rtnbit1 2 
+0x4b7e 018317 fetch 1 ,mem_usb_tx_enable 
+0x4b7f 018318 set0 2 ,pdata 
+0x4b80 018319 store 1 ,mem_usb_tx_enable 
+0x4b81 018320 fetch 1 ,mem_usb_ep2_data 
+0x4b82 018321 rtn blank 
+0x4b83 018322 beq usb_ep2_ms ,usb_tx_ms_data 
+0x4b84 018323 beq usb_ep2_multikey ,usb_tx_kb_multikey_data 
+0x4b85 018324 branch assert 
+:      018326 usb_tx_fifo_release:
+0x4b86 018328 arg mem_usb_mouse_data ,contw 
+0x4b87 018329 arg 6 ,loopcnt 
+0x4b88 018330 branch memset0 
+:      018332 usb_tx_ms_data:
+0x4b89 018333 fetch 1 ,mem_usb_idle_flag 
+0x4b8a 018334 fetcht 1 ,mem_usb_get_protocol_flag 
+0x4b8b 018335 iand temp ,pdata 
+0x4b8c 018336 branch usb_tx_ms_data_normal_mode ,blank 
+0x4b8d 018337 fetcht 1 ,mem_usb_set_protocol_status 
+0x4b8e 018338 iadd temp ,pdata 
+0x4b8f 018339 beq mac_boot_mode ,usb_tx_ms_data_mac_boot_mode 
+0x4b90 018340 branch usb_tx_ms_data_normal_mode 
+:      018342 usb_tx_ms_data_mac_boot_mode:
+0x4b91 018343 jam 0 ,mem_usb_ep2_data 
+:      018344 usb_tx_ms_data_mac_boot_regroup:
+0x4b92 018345 fetch 1 ,mem_usb_mouse_data + 1 
+0x4b93 018346 beq r_key ,usb_tx_mac_boot_ms_regroup_r_or_lrkey 
+0x4b94 018347 beq lr_key ,usb_tx_mac_boot_ms_regroup_r_or_lrkey 
+0x4b95 018348 fetch 1 ,mem_usb_mouse_data + 1 
+0x4b96 018349 store 1 ,mem_usb_mouse_data 
+0x4b97 018350 fetch 1 ,mem_usb_mouse_data + 2 
+0x4b98 018351 istore 1 ,contw 
+0x4b99 018352 fetch 1 ,mem_usb_mouse_data + 4 
+0x4b9a 018353 istore 1 ,contw 
+0x4b9b 018354 fetch 1 ,mem_usb_mouse_data + 6 
+0x4b9c 018355 istore 1 ,contw 
+0x4b9d 018356 arg 4 ,loopcnt 
+0x4b9e 018357 arg mem_usb_mouse_data ,contr 
+0x4b9f 018358 branch usb_tx_ep2 
+:      018360 usb_tx_ms_data_normal_mode:
+0x4ba0 018361 jam 0 ,mem_usb_ep2_data 
+:      018362 usb_tx_mac_boot_ms_regroup_r_or_lrkey:
+0x4ba1 018363 arg 8 ,loopcnt 
+0x4ba2 018364 arg mem_usb_mouse_data ,contr 
+0x4ba3 018365 branch usb_tx_ep2 
+:      018367 usb_tx_kb_multikey_data:
+0x4ba4 018368 jam 0 ,mem_usb_ep2_data 
+0x4ba5 018369 arg 3 ,loopcnt 
+0x4ba6 018370 arg mem_usb_kb_multikey ,contr 
+0x4ba7 018371 branch usb_tx_ep2 
+:      018373 usb_tx_kb_normal_data:
+0x4ba8 018374 jam 0 ,mem_usb_ep1_data 
+0x4ba9 018375 arg 8 ,loopcnt 
+0x4baa 018376 arg mem_usb_kb_data ,contr 
+0x4bab 018377 branch usb_tx_ep1 
+:      018379 usb_inwake_state_tx_dispose:
+0x4bac 018380 fetch 1 ,mem_usb_state 
+0x4bad 018381 beq usb_sleep ,usb_clear_tx_wait 
+0x4bae 018382 beq usb_connected ,usb_mac_wakeup_trig 
+0x4baf 018383 rtn 
+:      018384 usb_clear_tx_wait:
+0x4bb0 018385 jam 0 ,mem_usb_tx_wait 
+0x4bb1 018386 rtn 
+:      018387 usb_mac_wakeup_trig:
+0x4bb2 018388 hfetch 1 ,core_usb_config 
+0x4bb3 018389 set1 7 ,pdata 
+0x4bb4 018390 hstore 1 ,core_usb_config 
+0x4bb5 018391 jam 1 ,mem_usb_mac_wakeup_trig 
+0x4bb6 018392 rtn 
+:      018394 usb_mac_wakeup_judge:
+0x4bb7 018395 fetch 1 ,mem_usb_state 
+0x4bb8 018396 rtneq usb_sleep 
+0x4bb9 018397 beq usb_connected ,usb_mac_wakeup 
+0x4bba 018398 rtn 
+:      018399 usb_mac_wakeup:
+0x4bbb 018400 fetch 1 ,mem_usb_mac_wakeup_trig 
+0x4bbc 018401 rtn blank 
+0x4bbd 018402 jam 1 ,mem_usb_wakestate_onetime_flag 
+0x4bbe 018403 branch usb_wakeup 
+:      018405 usb_windows_wakeup:
+0x4bbf 018406 arg timer_wakeup ,queue 
+0x4bc0 018407 call timer_check 
+0x4bc1 018408 nrtn blank 
+:      018409 usb_wakeup:
+0x4bc2 018410 hfetch 1 ,core_usb_config 
+0x4bc3 018411 rtnbit0 7 
+0x4bc4 018412 jam 0xfc ,core_usb_config 
+0x4bc5 018413 nop 30000 
+0x4bc6 018414 jam 0x3c ,core_usb_config 
+0x4bc7 018415 rtn 
+:      018422 hci_rx_h4:
+0x4bc8 018423 bpatch patch1f_5 ,mem_patch1f 
+0x4bc9 018424 fetch 1 ,mem_hci_cmd 
+0x4bca 018425 nrtn blank 
+:      018426 hci_rx_h4_1:
+0x4bcb 018427 call hci_h4_parse_packet 
+0x4bcc 018428 ncall h4_rx_discard_packet ,user 
+0x4bcd 018429 rtn 
+:      018431 hci_h4_parse_packet:
+0x4bce 018432 bpatch patch1f_6 ,mem_patch1f 
+0x4bcf 018433 copy contru ,rega 
+0x4bd0 018434 arg 4 ,temp 
+0x4bd1 018435 ifetch 1 ,contru 
+0x4bd2 018436 beq hci_h4_type_cmd ,hci_h4_parse_packet_wait_len 
+0x4bd3 018437 increase 1 ,temp 
+0x4bd4 018438 beq hci_h4_type_acl ,hci_h4_parse_packet_wait_len 
+0x4bd5 018439 copy contru ,pdata 
+0x4bd6 018440 hstore 2 ,core_uart_rrptr 
+0x4bd7 018441 rtn 
+:      018442 hci_h4_parse_packet_wait_len:
+0x4bd8 018443 hfetch 2 ,core_uart_rxitems 
+0x4bd9 018444 isub temp ,null 
+0x4bda 018445 nbranch hci_h4_parse_packet_wait_len ,positive 
+0x4bdb 018447 disable user 
+0x4bdc 018448 copy rega ,contru 
+0x4bdd 018449 call h4_get_rx_payload_len 
+0x4bde 018450 iadd temp ,temp 
+:      018451 hci_h4_parse_packet_wait:
+0x4bdf 018452 hfetch 2 ,core_uart_rxitems 
+0x4be0 018453 isub temp ,null 
+0x4be1 018454 nbranch hci_h4_parse_packet_wait ,positive 
+0x4be2 018455 copy rega ,contru 
+0x4be3 018456 ifetch 1 ,contru 
+0x4be4 018457 beq hci_h4_type_cmd ,process_hci_cmd 
+0x4be5 018458 branch assert 
+:      018460 h4_rx_discard_packet:
+0x4be6 018461 bpatch patch1f_7 ,mem_patch1f 
+0x4be7 018462 hfetch 2 ,core_uart_rrptr 
+0x4be8 018463 iforce contru 
+0x4be9 018464 call h4_get_rx_payload_len 
+0x4bea 018465 iadd contru ,contru 
+0x4beb 018466 deposit contru 
+0x4bec 018467 hstore 2 ,core_uart_rrptr 
+0x4bed 018468 rtn 
+:      018473 h4_get_rx_payload_len:
+0x4bee 018474 ifetch 1 ,contru 
+0x4bef 018475 increase 2 ,contru 
+0x4bf0 018476 beq hci_h4_type_acl ,h4_get_rx_payload_len_acl 
+0x4bf1 018477 ifetch 1 ,contru 
+0x4bf2 018478 rtn 
+:      018479 h4_get_rx_payload_len_acl:
+0x4bf3 018480 ifetch 2 ,contru 
+0x4bf4 018481 rtn 
+:      018483 h4_get_tx_ptr:
+0x4bf5 018484 hfetch 2 ,core_uart_twptr 
+0x4bf6 018485 increase -5 ,contwu 
+0x4bf7 018486 iadd contwu ,contwu 
+0x4bf8 018487 rtn 
+:      018489 h4_send_packet_event:
+0x4bf9 018490 arg hci_h4_type_event ,temp 
+0x4bfa 018491 branch h4_send_packet 
+:      018492 h4_send_packet_acl:
+0x4bfb 018493 arg hci_h4_type_acl ,temp 
+:      018494 h4_send_packet:
+0x4bfc 018495 bpatchx patch20_0 ,mem_patch20 
+0x4bfd 018496 increase 1 ,loopcnt 
+0x4bfe 018497 hfetch 2 ,core_uart_twptr 
+0x4bff 018498 copy pdata ,contwu 
+0x4c00 018499 copy loopcnt ,pdata 
+0x4c01 018500 istoret 1 ,contwu 
+0x4c02 018501 increase -1 ,pdata 
+0x4c03 018502 iadd contwu ,contwu 
+0x4c04 018503 copy contwu ,pdata 
+0x4c05 018504 store 2 ,mem_hci_acl_tx_trigger_wptr 
+0x4c06 018505 copy temp ,pdata 
+0x4c07 018506 rtneq hci_h4_type_acl 
+0x4c08 018507 fetch 2 ,mem_hci_acl_tx_trigger_wptr 
+0x4c09 018508 hstore 2 ,core_uart_twptr 
+0x4c0a 018509 branch h4_send_acl_trigger_clear 
+:      018512 h4_send_acl_trigger_clear:
+0x4c0b 018513 setarg 0 
+0x4c0c 018514 store 2 ,mem_hci_acl_tx_trigger_wptr 
+0x4c0d 018515 rtn 
+:      018522 hci_init:
+0x4c0e 018523 rtn wake 
+0x4c0f 018524 setarg hci_idle_dispatch 
+0x4c10 018525 store 2 ,mem_cb_idle_process 
+0x4c11 018527 setarg uart_baud_115200 
+0x4c12 018528 store uart_baud_len ,mem_baud 
+:      018529 hci_lpm_init:
+0x4c13 018530 setarg mem_h5rx_buf 
+0x4c14 018531 hstore 2 ,core_uart_rsaddr 
+0x4c15 018532 setarg mem_h5rx_buf_end 
+0x4c16 018533 hstore 2 ,core_uart_readdr 
+0x4c17 018534 setarg mem_h5tx_buf 
+0x4c18 018535 hstore 2 ,core_uart_tsaddr 
+0x4c19 018536 call hci_sel_init 
+:      018537 hci_reinit:
+0x4c1a 018538 jam 0x0 ,core_uart_ctrl 
+0x4c1b 018539 setarg mem_h5tx_buf 
+0x4c1c 018540 hstore 2 ,core_uart_twptr 
+0x4c1d 018541 hstore 2 ,core_uart_trptrp 
+0x4c1e 018542 setarg mem_h5rx_buf 
+0x4c1f 018543 hstore 2 ,core_uart_rrptr 
+0x4c20 018544 store 2 ,mem_h5rx_rptr 
+:      018545 hci_init_common:
+0x4c21 018546 hfetch 2 ,core_clkoff 
+0x4c22 018547 set0 clock_off_uart ,pdata 
+0x4c23 018548 hstore 2 ,core_clkoff 
+0x4c24 018549 call uart_set_baud_by_mem 
+0x4c25 018550 jam uartclk_dpll ,core_uart_clksel 
+0x4c26 018551 jam uart_ctrl_h4 ,core_uart_ctrl 
+0x4c27 018552 rtn 
+:      018554 hci_sel_init:
+0x4c28 018555 setarg mem_h5tx_buf_end 
+0x4c29 018556 hstore 2 ,core_uart_teaddr 
+0x4c2a 018557 hfetch 1 ,core_gpio_sel1 
+0x4c2b 018558 or_into 0x07 ,pdata 
+0x4c2c 018559 hstore 1 ,core_gpio_sel1 
+0x4c2d 018560 rtn 
+:      018563 hci_rx_packet:
+0x4c2e 018564 bpatchx patch20_1 ,mem_patch20 
+0x4c2f 018565 hfetch 1 ,core_uart_status 
+0x4c30 018566 iforce regb 
+0x4c31 018567 bbit0 uart_status_rx_fifo_empty ,hci_rx_packet_cont 
+0x4c32 018568 hfetch 2 ,core_uart_rxitems 
+0x4c33 018569 iforce regc 
+0x4c34 018570 arg 0x44f ,temp 
+0x4c35 018571 isub temp ,null 
+0x4c36 018572 nrtn zero 
+:      018573 hci_rx_packet_cont:
+0x4c37 018574 hfetch 2 ,core_uart_rrptr 
+0x4c38 018575 iforce contru 
+0x4c39 018576 branch hci_rx_h4 
+:      018578 uart_send_byte:
+0x4c3a 018579 hfetcht 1 ,core_uart_status 
+0x4c3b 018580 isolate1 6 ,temp 
+0x4c3c 018581 branch uart_send_byte ,true 
+0x4c3d 018582 hstore 1 ,core_uart_txd 
+0x4c3e 018583 rtn 
+:      018585 process_hci_cmd:
+0x4c3f 018586 bpatchx patch20_2 ,mem_patch20 
+0x4c40 018587 fetch 1 ,mem_hci_cmd 
+0x4c41 018588 branch process_hci_cmd_cont ,blank 
+0x4c42 018589 enable user 
+0x4c43 018590 rtn 
+:      018591 process_hci_cmd_cont:
+0x4c44 018592 ifetch 2 ,contru 
+0x4c45 018593 iforce alarm 
+0x4c46 018594 iforce queue 
+0x4c47 018595 ifetch 1 ,contru 
+0x4c48 018596 iforce temp 
+0x4c49 018597 rshift2 alarm ,pdata 
+0x4c4a 018598 rshift8 pdata ,pdata 
+0x4c4b 018599 beq hci_ogf_vendor_specific ,phci_grp_vendor_specific 
+0x4c4c 018600 rtn 
+:      018603 phci_grp_vendor_specific:
+0x4c4d 018604 bpatchx patch20_3 ,mem_patch20 
+0x4c4e 018605 deposit queue 
+0x4c4f 018606 beq hci_vendor_cmd_reset ,hci_normal_reply 
+0x4c50 018607 beq hci_vendor_cmd_chipid ,phci_grp_vendor_chipid 
+0x4c51 018608 beq hci_vendor_cmd_baud ,phci_grp_vendor_baud 
+0x4c52 018609 beq hci_vendor_cmd_patch ,phci_grp_vendor_patch 
+0x4c53 018610 beq hci_vendor_cmd_patch_done ,phci_grp_vendor_done 
+0x4c54 018611 beq hci_vendor_cmd_echo ,hci_normal_reply 
+0x4c55 018612 beq hci_vendor_cmd_bdaddr ,phci_grp_vendor_bdaddr 
+0x4c56 018613 beq hci_vendor_cmd_enter_lpm ,phci_grp_vendor_enter_lpm 
+0x4c57 018615 beq hci_vendor_cmd_mem ,phci_grp_vendor_mem 
+0x4c58 018616 beq hci_vendor_cmd_eep ,phci_grp_vendor_eep 
+0x4c59 018617 beq hci_vendor_cmd_patch_sec_init ,phci_grp_vendor_patch_sec_init 
+0x4c5a 018618 beq hci_vendor_cmd_patch_sec ,phci_grp_vendor_patch_sec 
+0x4c5b 018619 branch hci_normal_reply 
+:      018621 phci_grp_vendor_enter_lpm:
+0x4c5c 018622 call hci_normal_reply 
+0x4c5d 018623 call wait_uarttx 
+0x4c5e 018624 call gpio_pu_uart_tx 
+:      018625 hci_enter_lpm:
+0x4c5f 018626 call app_put_lpm_wake_lock 
+0x4c60 018627 call app_l2cap_flow_control_enable 
+0x4c61 018628 branch gpio_rx_config_input_with_pu 
+:      018630 hci_exit_lpm:
+0x4c62 018631 jam hci_rx_ready ,mem_hci_lt_rx_state 
+0x4c63 018632 call app_get_lpm_wake_lock 
+0x4c64 018633 call hci_lpm_init 
+0x4c65 018634 branch app_l2cap_flow_control_disable 
+:      018636 phci_grp_vendor_chipid:
+0x4c66 018637 call hci_get_cmd_complete_ptr 
+0x4c67 018638 hfetch 2 ,core_chipid 
+0x4c68 018639 istore 2 ,contwu 
+0x4c69 018640 force 6 ,loopcnt 
+0x4c6a 018641 branch hci_command_complete 
+:      018643 phci_grp_vendor_baud:
+0x4c6b 018644 ifetch 2 ,contru 
+0x4c6c 018645 store 2 ,mem_baud 
+0x4c6d 018646 hstore 2 ,core_uart_baud 
+0x4c6e 018647 rtn 
+:      018650 phci_grp_vendor_patch_common:
+0x4c6f 018652 ifetch 1 ,contru 
+0x4c70 018653 copy pdata ,temp 
+0x4c71 018654 hstore 1 ,core_ucode_low 
+0x4c72 018655 ifetch 1 ,contru 
+0x4c73 018656 iadd temp ,temp 
+0x4c74 018657 set1 7 ,pdata 
+0x4c75 018658 hstore 1 ,core_ucode_ctrl 
+0x4c76 018659 ifetch 1 ,contru 
+0x4c77 018660 iadd temp ,temp 
+0x4c78 018661 copy pdata ,loopcnt 
+0x4c79 018662 rtn 
+:      018664 phci_grp_vendor_patch:
+0x4c7a 018665 bmark1 mark_otp_encrypt ,phci_grp_vendor_patch_bad 
+0x4c7b 018666 call phci_grp_vendor_patch_common 
+:      018667 phci_grp_vendor_patch_loop:
+0x4c7c 018668 ifetch 1 ,contru 
+0x4c7d 018669 hstore 1 ,core_ucode_data 
+0x4c7e 018670 iadd temp ,temp 
+0x4c7f 018671 loop phci_grp_vendor_patch_loop 
+:      018672 phci_grp_vendor_patch_check_sum:
+0x4c80 018673 and temp ,0xff ,temp 
+0x4c81 018674 ifetch 1 ,contru 
+0x4c82 018675 isub temp ,null 
+0x4c83 018676 nbranch phci_grp_vendor_patch_bad ,zero 
+0x4c84 018677 branch hci_normal_reply 
+:      018680 phci_grp_vendor_patch_sec:
+0x4c85 018681 bmark0 mark_otp_encrypt ,phci_grp_vendor_patch_bad 
+0x4c86 018682 call phci_grp_vendor_patch_common 
+0x4c87 018683 store 8 ,mem_pdatatemp 
+:      018684 phci_grp_vendor_patch_sec_loop:
+0x4c88 018685 call do_aes_cbc 
+0x4c89 018686 arg 16 ,loopcnt 
+0x4c8a 018687 arg mem_temp_block0 ,contw 
+0x4c8b 018688 call load_uart_sum_loop 
+0x4c8c 018689 storet 8 ,mem_temp 
+0x4c8d 018690 arg mem_temp_block2 ,contw 
+0x4c8e 018691 call store_aes_result 
+0x4c8f 018692 arg mem_temp_block2 ,rega 
+0x4c90 018693 arg mem_temp_block0 ,regb 
+0x4c91 018694 arg mem_temp_block3 ,contw 
+0x4c92 018695 call xor16 
+0x4c93 018696 arg 16 ,loopcnt 
+0x4c94 018697 arg mem_temp_block3 ,contr 
+0x4c95 018698 call load_ucode_only_loop 
+0x4c96 018699 fetcht 8 ,mem_temp 
+0x4c97 018700 fetch 8 ,mem_pdatatemp 
+0x4c98 018701 increase -16 ,pdata 
+0x4c99 018702 store 8 ,mem_pdatatemp 
+0x4c9a 018703 nbranch phci_grp_vendor_patch_sec_loop ,blank 
+0x4c9b 018704 branch phci_grp_vendor_patch_check_sum 
+:      018706 load_ucode_only_loop:
+0x4c9c 018707 ifetch 1 ,contr 
+0x4c9d 018708 hstore 1 ,core_ucode_data 
+0x4c9e 018709 loop load_ucode_only_loop 
+0x4c9f 018710 rtn 
+:      018712 load_uart_sum_loop:
+0x4ca0 018713 ifetch 1 ,contru 
+0x4ca1 018714 istore 1 ,contw 
+0x4ca2 018715 iadd temp ,temp 
+0x4ca3 018716 loop load_uart_sum_loop 
+0x4ca4 018717 rtn 
+:      018719 phci_grp_vendor_patch_sec_init:
+0x4ca5 018720 bmark0 mark_otp_encrypt ,phci_grp_vendor_patch_bad 
+0x4ca6 018721 arg 0 ,temp 
+0x4ca7 018722 arg 16 ,loopcnt 
+0x4ca8 018723 arg mem_temp_block0 ,contw 
+0x4ca9 018724 call load_uart_sum_loop 
+0x4caa 018725 hfetch 1 ,core_gpio_key2 
+0x4cab 018726 and_into 0xfd ,pdata 
+0x4cac 018727 hstore 1 ,core_gpio_key2 
+0x4cad 018728 arg mem_temp_block0 ,contr 
+0x4cae 018729 arg 16 ,loopcnt 
+0x4caf 018730 call aes_load_data 
+0x4cb0 018731 call aes_init 
+0x4cb1 018732 call aes_clear_data 
+0x4cb2 018733 branch phci_grp_vendor_patch_check_sum 
+:      018736 phci_grp_vendor_done:
+0x4cb3 018737 arg 0x20 ,loopcnt 
+0x4cb4 018738 arg mem_patch00 ,contw 
+0x4cb5 018739 arg 0 ,temp 
+:      018740 phci_grp_vendor_done_loop:
+0x4cb6 018741 ifetch 1 ,contru 
+0x4cb7 018742 istore 1 ,contw 
+0x4cb8 018743 iadd temp ,temp 
+0x4cb9 018744 loop phci_grp_vendor_done_loop 
+0x4cba 018745 and temp ,0xff ,temp 
+0x4cbb 018746 ifetch 1 ,contru 
+0x4cbc 018747 isub temp ,null 
+0x4cbd 018748 nbranch phci_grp_vendor_patch_bad ,zero 
+0x4cbe 018749 jam 0 ,core_ucode_ctrl 
+0x4cbf 018750 call hci_normal_reply 
+0x4cc0 018751 call h4_rx_discard_packet 
+0x4cc1 018752 call clear_key_buf 
+0x4cc2 018753 call wait_uarttx 
+0x4cc3 018754 branch soft_reset 
+:      018756 phci_grp_vendor_patch_bad:
+0x4cc4 018757 jam 0 ,core_ucode_ctrl 
+0x4cc5 018758 branch start 
+:      018760 phci_grp_vendor_bdaddr:
+0x4cc6 018761 ifetch 6 ,contru 
+0x4cc7 018762 store 6 ,mem_lap 
+0x4cc8 018763 branch hci_normal_reply 
+:      018766 phci_grp_vendor_mem:
+0x4cc9 018767 ifetch 1 ,contru 
+0x4cca 018768 store 1 ,mem_hci_curr_len 
+0x4ccb 018769 copy pdata ,loopcnt 
+0x4ccc 018770 ifetch 2 ,contru 
+0x4ccd 018771 store 2 ,mem_hci_curr_target 
+0x4cce 018772 copy pdata ,contw 
+0x4ccf 018773 call uart_copy_rx_bytes 
+0x4cd0 018774 branch hci_normal_reply 
+:      018777 phci_grp_vendor_eep:
+0x4cd1 018778 ifetch 1 ,contru 
+0x4cd2 018779 store 1 ,mem_hci_curr_len 
+0x4cd3 018780 copy pdata ,loopcnt 
+0x4cd4 018781 ifetch 2 ,contru 
+0x4cd5 018782 store 2 ,mem_hci_curr_target 
+0x4cd6 018783 arg mem_l2cap_rxbuff1 ,contw 
+0x4cd7 018784 call uart_copy_rx_bytes 
+0x4cd8 018785 fetcht 1 ,mem_hci_curr_len 
+0x4cd9 018786 arg mem_l2cap_rxbuff1 ,rega 
+0x4cda 018787 fetch 2 ,mem_hci_curr_target 
+0x4cdb 018788 branch iicd_write_ota_data 
+:      018793 hci_normal_reply:
+0x4cdc 018794 force 4 ,loopcnt 
+:      018795 hci_command_complete:
+0x4cdd 018796 call hci_get_payload_ptr 
+0x4cde 018797 force 0x1 ,pdata 
+0x4cdf 018798 istore 1 ,contwu 
+0x4ce0 018799 deposit alarm 
+0x4ce1 018800 istore 3 ,contwu 
+0x4ce2 018801 force hci_event_command_complete ,queue 
+:      018802 hci_send_event:
+0x4ce3 018803 bpatchx patch20_4 ,mem_patch20 
+0x4ce4 018804 call hci_get_packet_ptr 
+0x4ce5 018805 deposit queue 
+0x4ce6 018806 istore 1 ,contwu 
+0x4ce7 018807 deposit loopcnt 
+0x4ce8 018808 istore 1 ,contwu 
+:      018809 hci_send_event_raw:
+0x4ce9 018810 force 5 ,queue 
+0x4cea 018811 increase 2 ,loopcnt 
+:      018812 hci_send_packet:
+0x4ceb 018813 branch h4_send_packet_event 
+:      018815 hci_send_commu_ready_event:
+0x4cec 018816 force hci_event_vendor_specific ,queue 
+0x4ced 018817 call hci_get_payload_ptr 
+0x4cee 018818 setarg hci_vendor_event_commu_ready 
+0x4cef 018819 istore 1 ,contwu 
+0x4cf0 018820 force 1 ,loopcnt 
+0x4cf1 018821 branch hci_send_event 
+:      018823 hci_get_cmd_complete_ptr:
+0x4cf2 018824 force 12 ,contwu 
+0x4cf3 018825 branch hci_get_tx_ptr 
+:      018827 hci_get_payload_ptr:
+0x4cf4 018828 force 8 ,contwu 
+0x4cf5 018829 branch hci_get_tx_ptr 
+:      018831 hci_get_packet_ptr:
+0x4cf6 018832 force 6 ,contwu 
+:      018833 hci_get_tx_ptr:
+0x4cf7 018834 branch h4_get_tx_ptr 
+:      018838 calc_tx_crc16:
+0x4cf8 018839 pulse crc16 
+0x4cf9 018840 enable enable_crc 
+:      018841 crcloop:
+0x4cfa 018842 ifetch 1 ,contwu 
+0x4cfb 018843 inject bucket ,8 
+0x4cfc 018844 loop crcloop 
+0x4cfd 018845 enable enable_parity 
+0x4cfe 018846 inject bucket ,16 
+0x4cff 018847 disable enable_parity 
+0x4d00 018848 disable enable_crc 
+0x4d01 018849 disable crc16 
+0x4d02 018850 byteswap pdata ,pdata 
+0x4d03 018851 rtn 
+:      018855 cmd_exit:
+0x4d04 018856 jam 0 ,mem_hci_cmd 
+0x4d05 018857 rtn 
+:      018858 cmd_check_plap:
+0x4d06 018859 fetch 6 ,mem_hci_plap 
+0x4d07 018860 fetcht 6 ,mem_plap 
+0x4d08 018861 isub temp ,null 
+0x4d09 018862 rtn 
+:      018867 cmd_pair:
+0x4d0a 018868 fetch 1 ,mem_op 
+0x4d0b 018869 bbit1 op_inrand_req ,cmd_pair_passive 
+0x4d0c 018870 call tid_initiate 
+0x4d0d 018871 jam lmp_in_rand ,mem_lmo_opcode2 
+0x4d0e 018872 branch cmd_exit 
+:      018873 cmd_pair_passive:
+0x4d0f 018874 set0 op_inrand_req ,pdata 
+0x4d10 018875 store 1 ,mem_op 
+0x4d11 018876 call lmp_accept_inrand 
+0x4d12 018877 setarg 0 
+0x4d13 018878 setflag master ,smap_lmptid ,pdata 
+0x4d14 018879 store 1 ,mem_lmo_tid2 
+0x4d15 018880 branch cmd_exit 
+0x4d16 018881 rtn 
+:      018882 cmd_in_sniff:
+0x4d17 018883 jam lmp_sniff_req ,mem_lmo_opcode2 
+0x4d18 018884 arg mem_sniff_payload ,contw 
+0x4d19 018885 setarg 0 
+0x4d1a 018886 isolate1 27 ,clke_bt 
+0x4d1b 018887 setflag true ,1 ,pdata 
+0x4d1c 018888 istore 1 ,contw 
+0x4d1d 018889 setarg 0 
+0x4d1e 018890 istore 2 ,contw 
+0x4d1f 018891 fetch 2 ,mem_sniff_param_interval 
+0x4d20 018892 istore 2 ,contw 
+0x4d21 018893 fetch 1 ,mem_sniff_param_attempt 
+0x4d22 018894 istore 2 ,contw 
+0x4d23 018895 fetch 1 ,mem_sniff_param_timeout 
+0x4d24 018896 istore 2 ,contw 
+0x4d25 018897 branch cmd_exit 
+:      018899 cmd_exit_sniff:
+0x4d26 018900 jam lmp_unsniff_req ,mem_lmo_opcode2 
+0x4d27 018901 branch cmd_exit 
+:      018903 hci_idle_dispatch:
+0x4d28 018904 call gpio_check_uart_state 
+0x4d29 018905 rtn true 
+0x4d2a 018906 arg uart_wakeup_rx ,temp 
+0x4d2b 018907 call gpio_get_bit 
+0x4d2c 018908 nbranch uart_wake_up ,true 
+0x4d2d 018909 jam hci_rx_wake ,mem_hci_lt_rx_state 
+0x4d2e 018910 rtn 
+:      018911 uart_wake_up:
+0x4d2f 018912 fetch 1 ,mem_hci_lt_rx_state 
+0x4d30 018913 rtnne hci_rx_wake 
+0x4d31 018914 call hci_exit_lpm 
+0x4d32 018915 branch hci_send_commu_ready_event 
+:      018929 hid_rx_process:
+0x4d33 018930 bpatchx patch20_5 ,mem_patch20 
+0x4d34 018931 fetch 2 ,mem_l2cap_payload_ptr 
+0x4d35 018932 copy pdata ,contr 
+0x4d36 018933 ifetch 1 ,contr 
+0x4d37 018934 and pdata ,0x0f ,temp 
+0x4d38 018935 rshift4 pdata ,pdata 
+0x4d39 018936 beq hid_type_set_idle ,hid_rx_process_handshake 
+0x4d3a 018937 beq hid_type_set_protocol ,hid_rx_process_handshake 
+0x4d3b 018938 beq hid_type_data ,hid_rx_process_data 
+0x4d3c 018939 beq hid_type_set_report ,hid_rx_process_set_report 
+0x4d3d 018940 beq hid_type_control ,hid_rx_process_hid_control 
+0x4d3e 018941 rtn 
+:      018943 hid_rx_process_hid_control:
+0x4d3f 018944 copy temp ,pdata 
+0x4d40 018945 beq hid_control_p_virtualcableunplug ,hid_rx_process_virtual_cable_unplug 
+0x4d41 018946 beq hid_control_p_suspend ,hid_rx_process_suspend 
+0x4d42 018947 rtn 
+:      018949 hid_rx_process_virtual_cable_unplug:
+0x4d43 018950 jam bt_evt_virtual_cable_unplug ,mem_fifo_temp 
+0x4d44 018951 call ui_ipc_send_event 
+0x4d45 018952 fetch 1 ,mem_device_option 
+0x4d46 018953 rtnbit0 dvc_op_mouse 
+0x4d47 018954 copy temp ,pdata 
+0x4d48 018955 beq hid_control_p_virtualcableunplug ,mouse_irtual_cable_unplug 
+0x4d49 018956 rtn 
+:      018957 hid_rx_process_suspend:
+0x4d4a 018958 rtn 
+:      018960 hid_rx_process_set_report:
+0x4d4b 018961 call hid_rx_process_data 
+0x4d4c 018962 arg 0x01 ,rega 
+0x4d4d 018963 call hid_malloc_tx_buff 
+0x4d4e 018964 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4d4f 018965 istore 2 ,contw 
+0x4d50 018966 setarg 0x00 
+0x4d51 018967 istore 1 ,contw 
+0x4d52 018968 rtn 
+:      018970 hid_rx_process_handshake:
+0x4d53 018971 arg 1 ,rega 
+0x4d54 018972 call hid_malloc_tx_buff 
+0x4d55 018973 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4d56 018974 istore 2 ,contw 
+0x4d57 018975 setarg 0 
+0x4d58 018976 istore 1 ,contw 
+0x4d59 018977 jam 1 ,mem_ui_data_txbuff_length 
+0x4d5a 018978 fetch 1 ,mem_hid_control_state 
+0x4d5b 018979 set1 l2cap_channel_hid_handshake_done 
+0x4d5c 018980 store 1 ,mem_hid_control_state 
+0x4d5d 018981 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0x4d5e 018982 branch ui_ipc_send_event 
+:      018984 hid_rx_process_data:
+0x4d5f 018985 ifetch 1 ,contr 
+0x4d60 018986 beq hid_report_id_kb ,hid_rx_process_data_hid_kb 
+0x4d61 018987 rtn 
+:      018989 hid_rx_process_data_hid_kb:
+0x4d62 018990 rtn 
+:      018993 hid_malloc_tx_buff:
+0x4d63 018994 call l2cap_malloc 
+0x4d64 018995 copy rega ,temp 
+0x4d65 018996 storet 1 ,mem_ui_data_txbuff_length 
+0x4d66 018997 copy pdata ,contw 
+0x4d67 018998 copy rega ,pdata 
+0x4d68 018999 istore 2 ,contw 
+0x4d69 019000 rtn 
+:      019017 l2cap_init:
+0x4d6a 019018 branch l2cap_init_wake ,wake 
+:      019019 l2cap_init_work:
+0x4d6b 019020 setarg mem_l2cap_xmem_end 
+0x4d6c 019021 arg mem_l2cap_xmem_start ,contw 
+0x4d6d 019022 isub contw ,loopcnt 
+0x4d6e 019023 call clear_mem 
+:      019024 l2cap_init_wake:
+0x4d6f 019025 bpatchx patch20_6 ,mem_patch20 
+0x4d70 019026 setarg mem_sdp_mem_end 
+0x4d71 019027 arg mem_sdp_mem_start ,contw 
+0x4d72 019028 isub contw ,loopcnt 
+0x4d73 019029 call clear_mem 
+0x4d74 019030 setarg mem_l2cap_mem_end 
+0x4d75 019031 arg mem_l2cap_mem_start ,contw 
+0x4d76 019032 isub contw ,loopcnt 
+0x4d77 019033 call clear_mem 
+0x4d78 019034 branch l2cap_lpm_load_txbuf 
+:      019036 process_rx_l2cap_pkt:
+0x4d79 019037 bpatchx patch20_7 ,mem_patch20 
+0x4d7a 019038 copy contr ,temp 
+0x4d7b 019041 copy temp ,contr 
+0x4d7c 019042 ifetch 2 ,contr 
+0x4d7d 019043 store 2 ,mem_l2cap_rx_pkt_length 
+0x4d7e 019044 ifetch 2 ,contr 
+0x4d7f 019045 store 2 ,mem_l2cap_rx_cid 
+0x4d80 019046 deposit contr 
+0x4d81 019047 store 2 ,mem_l2cap_payload_ptr 
+0x4d82 019048 fetch 1 ,memui_reconnect_mode 
+0x4d83 019049 beq no_reconnection ,l2cap_rx_multiplexing 
+0x4d84 019050 branch ml2cap_rx_multiplexing 
+:      019052 l2cap_rx_multiplexing:
+0x4d85 019053 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x4d86 019054 branch l2cap_rx_reset_state ,blank 
+0x4d87 019055 bpatchx patch21_0 ,mem_patch21 
+0x4d88 019056 fetch 1 ,mem_l2cap_rx_cid 
+0x4d89 019057 beq l2cap_signal_channel ,l2cap_call_proc_signal 
+:      019058 l2cap_rx_multiplexing0:
+0x4d8a 019059 beq l2cap_sdp_channel ,l2cap_call_proc_sdp 
+0x4d8b 019060 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+0x4d8c 019061 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+0x4d8d 019062 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+0x4d8e 019063 branch l2cap_rx_reset_state 
+:      019065 l2cap_check_map:
+0x4d8f 019068 bpatchx patch21_1 ,mem_patch21 
+0x4d90 019069 call l2cap_malloc_get_full_map 
+0x4d91 019070 fetch 1 ,mem_used_map 
+0x4d92 019071 beq 0 ,set_pdata_0 
+0x4d93 019072 beq 1 ,set_pdata_0 
+0x4d94 019073 beq 2 ,set_pdata_0 
+0x4d95 019074 beq 3 ,set_pdata_0 
+0x4d96 019075 beq 0x81 ,set_pdata_0 
+0x4d97 019076 beq 0xc0 ,set_pdata_0 
+0x4d98 019077 beq 0x80 ,set_pdata_0 
+0x4d99 019078 beq 0x40 ,set_pdata_0 
+0x4d9a 019079 rtn 
+:      019081 set_pdata_0:
+0x4d9b 019082 setarg 0 
+0x4d9c 019083 rtn 
+:      019086 l2cap_call_proc_signal:
+0x4d9d 019087 call l2cap_check_map 
+0x4d9e 019088 nrtn blank 
+:      019089 l2cap_call_proc_signal0:
+0x4d9f 019090 call l2cap_malloc_signal_channel 
+0x4da0 019091 call l2cap_process_signal_pkt 
+0x4da1 019092 fetcht 2 ,mem_l2cap_signal_tx_length 
+0x4da2 019093 branch l2cap_call_proc_no_reply ,blank 
+0x4da3 019094 call l2cap_get_signal_tx_buff 
+0x4da4 019095 fetch 2 ,mem_l2cap_signal_tx_length 
+0x4da5 019096 istore 2 ,contw 
+0x4da6 019097 force l2cap_signal_channel ,pdata 
+0x4da7 019098 istore 2 ,contw 
+0x4da8 019099 branch l2cap_rx_reset_state 
+:      019101 l2cap_call_proc_sigal_pending:
+0x4da9 019102 fetch 1 ,mem_l2cap_pending_item 
+0x4daa 019103 rtn blank 
+0x4dab 019104 copy pdata ,rega 
+0x4dac 019105 bpatchx patch21_2 ,mem_patch21 
+0x4dad 019106 fetch 4 ,mem_l2cap_sdpres_delay_time 
+0x4dae 019107 arg 0x100 ,temp 
+0x4daf 019108 iadd temp ,temp 
+0x4db0 019109 copy clkn_bt ,pdata 
+0x4db1 019110 isub temp ,null 
+0x4db2 019111 nrtn positive 
+0x4db3 019112 jam 0 ,mem_l2cap_pending_item 
+0x4db4 019113 copy rega ,pdata 
+0x4db5 019114 beq l2cap_sdp_channel ,l2cap_sdp_conn_succ 
+0x4db6 019115 branch assert 
+:      019116 l2cap_sdp_conn_succ:
+0x4db7 019117 arg 0 ,debug 
+0x4db8 019118 call l2cap_malloc_signal_channel 
+0x4db9 019119 call restore_l2cap_req_param 
+0x4dba 019120 call l2cap_get_signal_tx_payload 
+0x4dbb 019121 call save_cont_pointers 
+0x4dbc 019122 call send_connection_sdp_res 
+0x4dbd 019123 call l2cap_get_signal_tx_buff 
+0x4dbe 019125 setarg 0x000c 
+0x4dbf 019126 istore 2 ,contw 
+0x4dc0 019127 force l2cap_signal_channel ,pdata 
+0x4dc1 019128 istore 2 ,contw 
+0x4dc2 019129 branch l2cap_rx_reset_state 
+:      019133 l2cap_reset_sdp_map:
+0x4dc3 019134 bpatchx patch21_3 ,mem_patch21 
+0x4dc4 019135 fetch 2 ,mem_sdp_tx_pkt_length 
+0x4dc5 019136 increase 4 ,pdata 
+0x4dc6 019137 rshift4 pdata ,pdata 
+0x4dc7 019138 rshift3 pdata ,pdata 
+0x4dc8 019139 add pdata ,1 ,temp 
+0x4dc9 019140 arg mem_tx_fifo3 ,contr 
+0x4dca 019141 ifetch 3 ,contr 
+0x4dcb 019142 rtn blank 
+0x4dcc 019143 store 3 ,mem_tx_fifo_map_temp 
+0x4dcd 019144 fetch 1 ,mem_tx_fifo_map_temp 
+0x4dce 019145 copy pdata ,rega 
+0x4dcf 019146 call check_l2cap_map 
+0x4dd0 019147 copy regb ,pdata 
+0x4dd1 019148 store 1 ,mem_tx_fifo3 
+0x4dd2 019149 rtn 
+:      019151 check_l2cap_map:
+0x4dd3 019152 arg 0 ,queue 
+0x4dd4 019153 arg 0 ,regb 
+:      019155 check_l2cap_map_loop:
+0x4dd5 019156 sub queue ,7 ,null 
+0x4dd6 019157 nrtn positive 
+0x4dd7 019158 qisolate1 rega 
+0x4dd8 019159 branch check_l2cap_map_used ,true 
+0x4dd9 019160 branch check_l2cap_map_used2 
+:      019162 check_l2cap_map_used:
+0x4dda 019163 copy temp ,pdata 
+0x4ddb 019164 branch check_l2cap_map_used2 ,blank 
+0x4ddc 019165 qset1 regb 
+0x4ddd 019166 increase -1 ,temp 
+:      019168 check_l2cap_map_used2:
+0x4dde 019169 increase 1 ,queue 
+0x4ddf 019170 branch check_l2cap_map_loop 
+:      019172 l2cap_call_proc_sdp:
+0x4de0 019173 call l2cap_malloc_is_fifo_empty 
+0x4de1 019174 nrtn blank 
+0x4de2 019175 call l2cap_check_map 
+0x4de3 019176 nrtn blank 
+0x4de4 019177 call l2cap_malloc_sdp_channel 
+0x4de5 019178 call sdp_process 
+0x4de6 019179 call l2cap_reset_sdp_map 
+0x4de7 019180 branch l2cap_call_proc_sdp_common 
+:      019183 ml2cap_call_proc_sdp:
+0x4de8 019184 call l2cap_malloc_is_fifo_empty 
+0x4de9 019185 nrtn blank 
+0x4dea 019186 call l2cap_malloc_sdp_channel 
+0x4deb 019187 call sdp_process 
+:      019188 l2cap_call_proc_sdp_common:
+0x4dec 019189 call l2cap_get_sdp_tx_buff 
+0x4ded 019190 fetch 2 ,mem_sdp_tx_pkt_length 
+0x4dee 019191 branch l2cap_call_proc_no_reply ,blank 
+0x4def 019192 istore 2 ,contw 
+0x4df0 019193 fetch 2 ,mem_sdp_remote_cid 
+0x4df1 019194 istore 2 ,contw 
+0x4df2 019195 branch l2cap_rx_reset_state 
+:      019197 l2cap_call_proc_hid:
+0x4df3 019198 call hid_rx_process 
+0x4df4 019199 branch l2cap_rx_reset_state 
+:      019201 l2cap_call_proc_rfcomm:
+0x4df5 019202 bpatchx patch21_4 ,mem_patch21 
+0x4df6 019203 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+0x4df7 019204 call rfcomm_rx_process 
+0x4df8 019205 fetch 1 ,mem_rfcomm_malloc_fail_flag 
+0x4df9 019206 rtneq rfcomm_malloc_fail 
+0x4dfa 019207 branch l2cap_rx_reset_state 
+:      019208 l2cap_call_proc_no_reply:
+0x4dfb 019209 call l2cap_malloc_discard 
+:      019211 l2cap_rx_reset_state:
+0x4dfc 019212 setarg 0 
+0x4dfd 019213 store 2 ,mem_l2cap_rx_pkt_length 
+0x4dfe 019214 store 2 ,mem_l2cap_rx_cid 
+0x4dff 019215 jam l2cap_rx_done ,mem_l2cap_rx_done 
+0x4e00 019216 rtn 
+:      019218 l2cap_process_signal_pkt:
+0x4e01 019219 bpatchx patch21_5 ,mem_patch21 
+0x4e02 019220 call l2cap_get_signal_tx_payload 
+0x4e03 019221 force 0 ,regb 
+0x4e04 019222 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x4e05 019223 copy pdata ,regc 
+0x4e06 019224 fetch 2 ,mem_l2cap_payload_ptr 
+0x4e07 019225 iforce contr 
+:      019226 l2cap_process_signal_pkt_loop:
+0x4e08 019227 call l2cap_process_one_signal 
+0x4e09 019228 deposit regc 
+0x4e0a 019229 increase -4 ,regc 
+0x4e0b 019230 increase -4 ,pdata 
+0x4e0c 019231 nbranch l2cap_process_signal_pkt_loop ,blank 
+0x4e0d 019232 copy regb ,pdata 
+0x4e0e 019233 store 2 ,mem_l2cap_signal_tx_length 
+0x4e0f 019234 rtn 
+:      019236 l2cap_process_one_signal:
+0x4e10 019237 bpatchx patch21_6 ,mem_patch21 
+0x4e11 019238 ifetch 1 ,contr 
+0x4e12 019239 beq signal_cmd_reject ,l2cap_proc_signal_cmd_reject 
+0x4e13 019240 beq signal_connect_req ,l2cap_proc_signal_connect_req 
+0x4e14 019241 beq signal_connect_rsp ,l2cap_proc_signal_connect_rsp 
+0x4e15 019242 beq signal_config_req ,l2cap_proc_signal_config_req 
+0x4e16 019243 beq signal_config_rsp ,l2cap_proc_signal_config_rsp 
+0x4e17 019244 beq signal_disconnect_req ,l2cap_proc_signal_disconnect_req 
+0x4e18 019245 beq signal_disconnect_rsp ,l2cap_proc_signal_disconnect_rsp 
+0x4e19 019246 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+0x4e1a 019247 beq signal_echo_rsp ,l2cap_proc_signal_echo_rsp 
+0x4e1b 019248 beq signal_info_req ,l2cap_proc_signal_info_req 
+0x4e1c 019249 beq signal_info_rsp ,l2cap_proc_signal_info_rsp 
+0x4e1d 019250 call l2cap_reject_command 
+:      019251 l2cap_process_one_signal_rtn:
+0x4e1e 019252 rtn 
+:      019254 l2cap_proc_signal_info_req:
+0x4e1f 019255 ifetch 1 ,contr 
+0x4e20 019256 copy pdata ,queue 
+0x4e21 019257 ifetch 2 ,contr 
+0x4e22 019258 copy pdata ,rega 
+0x4e23 019259 copy regc ,pdata 
+0x4e24 019260 isub rega ,regc 
+0x4e25 019261 setarg signal_info_rsp 
+0x4e26 019262 istore 1 ,contw 
+0x4e27 019263 copy queue ,pdata 
+0x4e28 019264 istore 1 ,contw 
+0x4e29 019265 ifetch 2 ,contr 
+:      019266 l2cap_proc_signal_info_req_reply:
+0x4e2a 019267 beq l2cap_sig_ext_featrue ,l2cap_proc_signal_info_req_ext 
+0x4e2b 019268 beq l2cap_sig_fix_featrue ,l2cap_proc_signal_info_req_fix 
+0x4e2c 019269 rtn 
+:      019270 l2cap_proc_signal_info_req_ext:
+0x4e2d 019271 setarg 0x020008 
+0x4e2e 019272 istore 6 ,contw 
+0x4e2f 019273 setarg 0x0280 
+0x4e30 019274 istore 4 ,contw 
+0x4e31 019275 force 12 ,pdata 
+0x4e32 019276 branch l2cap_proc_signal_info_req_common 
+:      019277 l2cap_proc_signal_info_req_fix:
+0x4e33 019278 setarg 0x3000c 
+0x4e34 019279 istore 6 ,contw 
+0x4e35 019280 setarg 0x0006 
+0x4e36 019281 istore 8 ,contw 
+0x4e37 019282 force 16 ,pdata 
+:      019283 l2cap_proc_signal_info_req_common:
+0x4e38 019284 iadd regb ,regb 
+0x4e39 019285 branch l2cap_process_one_signal_rtn 
+:      019287 ml2cap_proc_signal_info_req:
+0x4e3a 019288 ifetch 1 ,contr 
+0x4e3b 019289 copy pdata ,queue 
+0x4e3c 019290 ifetch 2 ,contr 
+0x4e3d 019291 copy pdata ,rega 
+0x4e3e 019292 ifetch 2 ,contr 
+0x4e3f 019293 store 2 ,mem_temp 
+0x4e40 019294 copy regc ,pdata 
+0x4e41 019295 isub rega ,regc 
+0x4e42 019296 call l2cap_get_signal_tx_payload 
+0x4e43 019297 setarg signal_info_rsp 
+0x4e44 019298 istore 1 ,contw 
+0x4e45 019299 copy queue ,pdata 
+0x4e46 019300 istore 1 ,contw 
+0x4e47 019301 fetch 2 ,mem_temp 
+0x4e48 019302 branch l2cap_proc_signal_info_req_reply 
+:      019306 l2cap_proc_signal_cmd_reject:
+0x4e49 019307 ifetch 1 ,contr 
+0x4e4a 019308 copy pdata ,queue 
+0x4e4b 019309 ifetch 2 ,contr 
+0x4e4c 019310 copy pdata ,rega 
+0x4e4d 019311 iadd contr ,contr 
+0x4e4e 019312 copy regc ,pdata 
+0x4e4f 019313 isub rega ,regc 
+:      019314 l2cap_proc_signal_cmd_reject_rtn:
+0x4e50 019315 branch l2cap_process_one_signal_rtn 
+:      019317 l2cap_proc_signal_connect_req:
+0x4e51 019318 call save_cont_pointers 
+0x4e52 019321 call load_cont_pointers 
+0x4e53 019322 arg 0 ,debug 
+0x4e54 019323 ifetch 1 ,contr 
+0x4e55 019324 copy pdata ,queue 
+0x4e56 019325 ifetch 2 ,contr 
+0x4e57 019326 copy pdata ,rega 
+0x4e58 019327 ifetch 2 ,contr 
+0x4e59 019328 copy pdata ,temp 
+0x4e5a 019329 ifetch 2 ,contr 
+0x4e5b 019330 copy pdata ,timeup 
+0x4e5c 019331 bpatchx patch21_7 ,mem_patch21 
+0x4e5d 019332 copy temp ,pdata 
+0x4e5e 019333 beq psm_sdp ,l2cap_proc_signal_connect_req_sdp 
+0x4e5f 019334 beq psm_rfcomm ,l2cap_proc_signal_connect_req_rfcomm 
+0x4e60 019335 beq psm_hid_control ,l2cap_proc_signal_connect_req_hid_ctrl 
+0x4e61 019336 beq psm_hid_interrupt ,l2cap_proc_signal_connect_req_hid_int 
+0x4e62 019337 call l2cap_reject_command 
+0x4e63 019338 branch l2cap_proc_signal_connect_req_rtn 
+:      019340 l2cap_proc_signal_connect_req_sdp:
+0x4e64 019341 call save_cont_pointers 
+0x4e65 019342 arg l2cap_sdp_channel ,temp 
+0x4e66 019343 fetch 2 ,mem_sdp_remote_cid 
+0x4e67 019344 nbranch already_connected ,blank 
+0x4e68 019345 copy timeup ,pdata 
+0x4e69 019346 store 2 ,mem_sdp_remote_cid 
+0x4e6a 019347 copy clkn_bt ,pdata 
+0x4e6b 019348 store 4 ,mem_l2cap_sdpres_delay_time 
+0x4e6c 019349 call store_l2cap_req_param 
+0x4e6d 019350 branch send_connection_pending 
+:      019352 store_l2cap_req_param:
+0x4e6e 019353 storet 2 ,mem_psm 
+0x4e6f 019354 deposit timeup 
+0x4e70 019355 store 2 ,mem_scid 
+0x4e71 019356 deposit rega 
+0x4e72 019357 store 2 ,mem_cmd_length 
+0x4e73 019358 deposit regb 
+0x4e74 019359 store 2 ,mem_tt2 
+0x4e75 019360 deposit regc 
+0x4e76 019361 store 2 ,mem_tt3 
+0x4e77 019362 deposit queue 
+0x4e78 019363 store 2 ,mem_id 
+0x4e79 019364 rtn 
+:      019366 restore_l2cap_req_param:
+0x4e7a 019367 fetcht 2 ,mem_psm 
+0x4e7b 019368 fetch 2 ,mem_scid 
+0x4e7c 019369 copy pdata ,timeup 
+0x4e7d 019370 fetch 2 ,mem_cmd_length 
+0x4e7e 019371 copy pdata ,rega 
+0x4e7f 019372 fetch 2 ,mem_tt2 
+0x4e80 019373 copy pdata ,regb 
+0x4e81 019374 fetch 2 ,mem_tt3 
+0x4e82 019375 copy pdata ,regc 
+0x4e83 019376 fetch 2 ,mem_id 
+0x4e84 019377 copy pdata ,queue 
+0x4e85 019378 rtn 
+:      019380 l2cap_proc_signal_connect_req_rfcomm:
+0x4e86 019381 call save_cont_pointers 
+0x4e87 019382 setarg l2cap_rfcomm_channel 
+0x4e88 019383 arg l2cap_rfcomm_channel ,temp 
+0x4e89 019384 fetch 2 ,mem_rfcomm_remote_cid 
+0x4e8a 019385 nbranch already_connected ,blank 
+0x4e8b 019386 copy timeup ,pdata 
+0x4e8c 019387 store 2 ,mem_rfcomm_remote_cid 
+0x4e8d 019388 fetch 1 ,mem_rfcomm_state 
+0x4e8e 019389 set1 l2cap_channel_state_conn_req ,pdata 
+0x4e8f 019390 set1 l2cap_channel_state_conn_res ,pdata 
+0x4e90 019391 store 1 ,mem_rfcomm_state 
+0x4e91 019392 branch send_connection_res 
+:      019393 l2cap_proc_signal_connect_req_hid_ctrl:
+0x4e92 019394 call save_cont_pointers 
+0x4e93 019395 arg l2cap_hid_control_channel ,temp 
+0x4e94 019396 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4e95 019397 nbranch already_connected ,blank 
+0x4e96 019398 copy timeup ,pdata 
+0x4e97 019399 store 2 ,mem_hid_ctrl_remote_cid 
+0x4e98 019400 fetch 1 ,mem_hid_control_state 
+0x4e99 019401 set1 l2cap_channel_state_conn_req ,pdata 
+0x4e9a 019402 set1 l2cap_channel_state_conn_res ,pdata 
+0x4e9b 019403 store 1 ,mem_hid_control_state 
+0x4e9c 019404 branch send_connection_res 
+:      019405 l2cap_proc_signal_connect_req_hid_int:
+0x4e9d 019406 call save_cont_pointers 
+0x4e9e 019407 deposit clke 
+0x4e9f 019408 arg l2cap_hid_interrupt_channel ,temp 
+0x4ea0 019409 fetch 2 ,mem_hid_int_remote_cid 
+0x4ea1 019410 nbranch already_connected ,blank 
+0x4ea2 019411 copy timeup ,pdata 
+0x4ea3 019412 store 2 ,mem_hid_int_remote_cid 
+0x4ea4 019413 fetch 1 ,mem_hid_interrupt_state 
+0x4ea5 019414 set1 l2cap_channel_state_conn_req ,pdata 
+0x4ea6 019415 set1 l2cap_channel_state_conn_res ,pdata 
+0x4ea7 019416 store 1 ,mem_hid_interrupt_state 
+0x4ea8 019417 branch send_connection_res 
+:      019419 send_connection_pending:
+0x4ea9 019420 setarg l2cap_connect_pending 
+0x4eaa 019421 store 2 ,meml2cap_t1 
+0x4eab 019422 jam l2cap_sdp_channel ,mem_l2cap_pending_item 
+0x4eac 019423 branch send_connection_res0 
+:      019424 send_connection_sdp_res:
+0x4ead 019425 fetch 1 ,mem_sdp_state 
+0x4eae 019426 set1 l2cap_channel_state_conn_req ,pdata 
+0x4eaf 019427 set1 l2cap_channel_state_conn_res ,pdata 
+0x4eb0 019428 store 1 ,mem_sdp_state 
+:      019429 send_connection_res:
+0x4eb1 019430 setarg l2cap_connect_successful 
+0x4eb2 019431 store 2 ,meml2cap_t1 
+:      019432 send_connection_res0:
+0x4eb3 019433 bpatchx patch22_0 ,mem_patch22 
+0x4eb4 019434 call load_cont_pointers 
+0x4eb5 019435 setarg signal_connect_rsp 
+0x4eb6 019436 istore 1 ,contw 
+0x4eb7 019437 copy queue ,pdata 
+0x4eb8 019438 istore 1 ,contw 
+0x4eb9 019439 setarg 0x0008 
+0x4eba 019440 istore 2 ,contw 
+0x4ebb 019441 copy temp ,pdata 
+0x4ebc 019442 istore 2 ,contw 
+0x4ebd 019443 copy timeup ,pdata 
+0x4ebe 019444 istore 2 ,contw 
+0x4ebf 019445 fetch 2 ,meml2cap_t1 
+0x4ec0 019446 beq l2cap_connect_pending ,connect_pending 
+0x4ec1 019447 isolate0 0 ,debug 
+0x4ec2 019448 branch connect_suc ,true 
+0x4ec3 019449 setarg l2cap_connect_refused_no_resources 
+:      019450 connect_suc:
+0x4ec4 019451 istore 2 ,contw 
+0x4ec5 019452 force 0x0000 ,pdata 
+0x4ec6 019453 istore 2 ,contw 
+0x4ec7 019454 setarg 12 
+0x4ec8 019455 branch connect_req_update_byte_counts 
+:      019456 connect_pending:
+0x4ec9 019457 istore 2 ,contw 
+0x4eca 019458 force 0x0002 ,pdata 
+0x4ecb 019459 istore 2 ,contw 
+0x4ecc 019460 setarg 12 
+0x4ecd 019461 branch connect_req_update_byte_counts 
+:      019463 already_connected:
+0x4ece 019464 set1 0 ,debug 
+0x4ecf 019465 branch send_connection_res 
+:      019466 connect_req_update_byte_counts:
+0x4ed0 019467 iadd regb ,regb 
+0x4ed1 019468 copy regc ,pdata 
+0x4ed2 019469 isub rega ,regc 
+0x4ed3 019470 branch l2cap_proc_signal_connect_req_rtn 
+:      019471 l2cap_proc_signal_connect_req_rtn:
+0x4ed4 019472 branch l2cap_process_one_signal_rtn 
+:      019474 l2cap_proc_signal_connect_rsp:
+0x4ed5 019475 ifetch 1 ,contr 
+0x4ed6 019476 copy pdata ,queue 
+0x4ed7 019477 ifetch 2 ,contr 
+0x4ed8 019478 copy pdata ,rega 
+0x4ed9 019479 copy regc ,pdata 
+0x4eda 019480 isub rega ,regc 
+0x4edb 019481 ifetch 2 ,contr 
+0x4edc 019482 copy pdata ,timeup 
+0x4edd 019483 ifetch 2 ,contr 
+0x4ede 019484 copy pdata ,temp 
+0x4edf 019485 bpatchx patch22_1 ,mem_patch22 
+0x4ee0 019486 setarg l2cap_sdp_channel 
+0x4ee1 019487 isub temp ,null 
+0x4ee2 019488 branch l2cap_proc_signal_connect_rsp_sdp ,zero 
+0x4ee3 019489 setarg l2cap_rfcomm_channel 
+0x4ee4 019490 isub temp ,null 
+0x4ee5 019491 branch l2cap_proc_signal_connect_rsp_rfcomm ,zero 
+0x4ee6 019492 setarg l2cap_hid_control_channel 
+0x4ee7 019493 isub temp ,null 
+0x4ee8 019494 branch l2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+0x4ee9 019495 setarg l2cap_hid_interrupt_channel 
+0x4eea 019496 isub temp ,null 
+0x4eeb 019497 branch l2cap_proc_signal_connect_rsp_hid_int ,zero 
+0x4eec 019498 rtn 
+:      019500 l2cap_proc_signal_connect_rsp_sdp:
+0x4eed 019501 copy timeup ,pdata 
+0x4eee 019502 store 2 ,mem_sdp_remote_cid 
+0x4eef 019503 fetch 1 ,mem_sdp_state 
+0x4ef0 019504 set1 l2cap_channel_state_conn_res ,pdata 
+0x4ef1 019505 store 1 ,mem_sdp_state 
+0x4ef2 019506 branch l2cap_process_one_signal_rtn 
+:      019507 l2cap_proc_signal_connect_rsp_rfcomm:
+0x4ef3 019508 copy timeup ,pdata 
+0x4ef4 019509 store 2 ,mem_rfcomm_remote_cid 
+0x4ef5 019510 fetch 1 ,mem_rfcomm_state 
+0x4ef6 019511 set1 l2cap_channel_state_conn_res ,pdata 
+0x4ef7 019512 store 1 ,mem_rfcomm_state 
+0x4ef8 019513 rtn 
+:      019514 l2cap_proc_signal_connect_rsp_hid_int:
+0x4ef9 019515 copy timeup ,pdata 
+0x4efa 019516 store 2 ,mem_hid_ctrl_remote_cid 
+0x4efb 019517 fetch 1 ,mem_hid_interrupt_state 
+0x4efc 019518 set1 l2cap_channel_state_conn_res ,pdata 
+0x4efd 019519 store 1 ,mem_hid_interrupt_state 
+0x4efe 019520 rtn 
+:      019521 l2cap_proc_signal_connect_rsp_hid_ctrl:
+0x4eff 019522 copy timeup ,pdata 
+0x4f00 019523 store 2 ,mem_hid_int_remote_cid 
+0x4f01 019524 fetch 1 ,mem_hid_control_state 
+0x4f02 019525 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f03 019526 store 1 ,mem_hid_control_state 
+0x4f04 019527 rtn 
+:      019529 l2cap_proc_signal_config_req:
+0x4f05 019530 ifetch 1 ,contr 
+0x4f06 019531 copy pdata ,queue 
+0x4f07 019532 ifetch 2 ,contr 
+0x4f08 019533 copy pdata ,rega 
+0x4f09 019534 copy regc ,pdata 
+0x4f0a 019535 isub rega ,regc 
+0x4f0b 019536 ifetch 2 ,contr 
+0x4f0c 019537 copy pdata ,temp 
+0x4f0d 019538 copy temp ,rega 
+0x4f0e 019539 bpatchx patch22_2 ,mem_patch22 
+0x4f0f 019540 setarg l2cap_sdp_channel 
+0x4f10 019541 isub temp ,null 
+0x4f11 019542 branch l2cap_proc_signal_config_req_sdp ,zero 
+0x4f12 019543 setarg l2cap_rfcomm_channel 
+0x4f13 019544 isub temp ,null 
+0x4f14 019545 branch l2cap_proc_signal_config_req_rfcomm ,zero 
+0x4f15 019546 setarg l2cap_hid_control_channel 
+0x4f16 019547 isub temp ,null 
+0x4f17 019548 branch l2cap_proc_signal_config_req_hid_ctrl ,zero 
+0x4f18 019549 setarg l2cap_hid_interrupt_channel 
+0x4f19 019550 isub temp ,null 
+0x4f1a 019551 branch l2cap_proc_signal_config_req_hid_int ,zero 
+0x4f1b 019552 branch l2cap_reject_command 
+:      019554 l2cap_proc_signal_config_req_sdp:
+0x4f1c 019555 copy contw ,timeup 
+0x4f1d 019556 fetch 1 ,mem_sdp_state 
+0x4f1e 019557 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4f1f 019558 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4f20 019560 store 1 ,mem_sdp_state 
+0x4f21 019561 copy timeup ,contw 
+0x4f22 019562 arg l2cap_sdp_channel ,timeup 
+0x4f23 019563 fetch 2 ,mem_sdp_remote_cid 
+0x4f24 019564 copy pdata ,temp 
+0x4f25 019565 branch l2cap_send_config_rsp 
+:      019566 l2cap_proc_signal_config_req_hid_ctrl:
+0x4f26 019567 copy contw ,timeup 
+0x4f27 019568 fetch 1 ,mem_hid_control_state 
+0x4f28 019569 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4f29 019570 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4f2a 019572 store 1 ,mem_hid_control_state 
+0x4f2b 019573 copy timeup ,contw 
+0x4f2c 019574 arg l2cap_hid_control_channel ,timeup 
+0x4f2d 019575 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4f2e 019576 copy pdata ,temp 
+0x4f2f 019577 branch l2cap_send_config_rsp 
+:      019578 l2cap_proc_signal_config_req_hid_int:
+0x4f30 019579 copy contw ,timeup 
+0x4f31 019580 fetch 1 ,mem_hid_interrupt_state 
+0x4f32 019581 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4f33 019582 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4f34 019584 store 1 ,mem_hid_interrupt_state 
+0x4f35 019585 copy timeup ,contw 
+0x4f36 019586 arg l2cap_hid_interrupt_channel ,timeup 
+0x4f37 019587 fetch 2 ,mem_hid_int_remote_cid 
+0x4f38 019588 copy pdata ,temp 
+0x4f39 019589 branch l2cap_send_config_rsp 
+:      019590 l2cap_proc_signal_config_req_rfcomm:
+0x4f3a 019591 copy contw ,timeup 
+0x4f3b 019592 fetch 1 ,mem_rfcomm_state 
+0x4f3c 019593 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4f3d 019594 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4f3e 019596 store 1 ,mem_rfcomm_state 
+0x4f3f 019598 copy timeup ,contw 
+0x4f40 019599 arg l2cap_rfcomm_channel ,timeup 
+0x4f41 019600 fetch 2 ,mem_rfcomm_remote_cid 
+0x4f42 019601 copy pdata ,temp 
+:      019602 l2cap_send_config_rsp:
+0x4f43 019603 bpatchx patch22_3 ,mem_patch22 
+0x4f44 019604 setarg signal_config_rsp 
+0x4f45 019605 istore 1 ,contw 
+0x4f46 019606 copy queue ,pdata 
+0x4f47 019607 istore 1 ,contw 
+0x4f48 019608 setarg 0x0006 
+0x4f49 019609 istore 2 ,contw 
+0x4f4a 019610 copy temp ,pdata 
+0x4f4b 019611 istore 2 ,contw 
+0x4f4c 019612 force 0x00 ,pdata 
+0x4f4d 019613 istore 2 ,contw 
+0x4f4e 019614 force l2cap_config_success ,pdata 
+0x4f4f 019615 istore 2 ,contw 
+0x4f50 019616 force 10 ,pdata 
+0x4f51 019617 iadd regb ,regb 
+0x4f52 019619 storet 2 ,mem_config_req_dest_cid 
+0x4f53 019620 copy queue ,pdata 
+0x4f54 019621 store 1 ,mem_config_identifier 
+0x4f55 019622 force l2cap_sdp_channel ,pdata 
+0x4f56 019623 icompare 0xff ,timeup 
+0x4f57 019624 branch l2cap_send_config_rsp_is_sdp ,true 
+0x4f58 019625 increase 1 ,pdata 
+:      019626 l2cap_send_config_rsp_is_sdp:
+0x4f59 019628 rtn 
+:      019629 l2cap_check_channel_state:
+0x4f5a 019630 disable user 
+0x4f5b 019631 rtnbit1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x4f5c 019632 rtnbit0 l2cap_channel_state_conn_req ,pdata 
+0x4f5d 019633 rtnbit0 l2cap_channel_state_conn_res ,pdata 
+0x4f5e 019634 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x4f5f 019635 copy contr ,contw 
+0x4f60 019636 increase -1 ,contw 
+0x4f61 019637 istore 1 ,contw 
+0x4f62 019638 enable user 
+0x4f63 019639 rtn 
+:      019640 l2cap_send_config_req:
+:      019641 l2cap_send_config_req_sdp:
+0x4f64 019642 fetch 1 ,mem_sdp_state 
+0x4f65 019643 call l2cap_check_channel_state 
+0x4f66 019644 nbranch l2cap_send_config_req_rfcomm ,user 
+0x4f67 019645 jam l2cap_sdp_channel ,mem_send_config_req 
+0x4f68 019646 fetch 2 ,mem_sdp_remote_cid 
+0x4f69 019647 store 2 ,mem_config_req_dest_cid 
+0x4f6a 019648 branch l2cap_generate_config_req 
+:      019649 l2cap_send_config_req_rfcomm:
+0x4f6b 019650 fetch 1 ,mem_rfcomm_state 
+0x4f6c 019651 call l2cap_check_channel_state 
+0x4f6d 019652 nbranch l2cap_send_config_req_hid_ctrl ,user 
+0x4f6e 019653 jam l2cap_rfcomm_channel ,mem_send_config_req 
+0x4f6f 019654 fetch 2 ,mem_rfcomm_remote_cid 
+0x4f70 019655 store 2 ,mem_config_req_dest_cid 
+0x4f71 019656 branch l2cap_generate_config_req 
+:      019657 l2cap_send_config_req_hid_ctrl:
+0x4f72 019658 fetch 1 ,mem_hid_control_state 
+0x4f73 019659 call l2cap_check_channel_state 
+0x4f74 019660 nbranch l2cap_send_config_req_hid_int ,user 
+0x4f75 019661 jam l2cap_hid_control_channel ,mem_send_config_req 
+0x4f76 019662 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4f77 019663 store 2 ,mem_config_req_dest_cid 
+0x4f78 019664 branch l2cap_generate_config_req 
+:      019665 l2cap_send_config_req_hid_int:
+0x4f79 019666 fetch 1 ,mem_hid_interrupt_state 
+0x4f7a 019667 call l2cap_check_channel_state 
+0x4f7b 019668 nrtn user 
+0x4f7c 019669 jam l2cap_hid_interrupt_channel ,mem_send_config_req 
+0x4f7d 019670 fetch 2 ,mem_hid_int_remote_cid 
+0x4f7e 019671 store 2 ,mem_config_req_dest_cid 
+:      019674 l2cap_generate_config_req:
+0x4f7f 019675 bpatchx patch22_4 ,mem_patch22 
+0x4f80 019676 call l2cap_get_req_id 
+0x4f81 019677 call l2cap_malloc_signal_channel 
+0x4f82 019678 force 0 ,regb 
+0x4f83 019679 call l2cap_get_signal_tx_payload 
+0x4f84 019680 force signal_config_req ,pdata 
+0x4f85 019681 istore 1 ,contw 
+0x4f86 019682 fetch 1 ,mem_ml2cap_comm_id 
+0x4f87 019683 istore 1 ,contw 
+0x4f88 019684 setarg 0x0008 
+0x4f89 019685 istore 2 ,contw 
+0x4f8a 019686 fetch 2 ,mem_config_req_dest_cid 
+0x4f8b 019687 istore 2 ,contw 
+0x4f8c 019688 setarg 0x0000 
+0x4f8d 019689 istore 2 ,contw 
+0x4f8e 019690 force 1 ,pdata 
+0x4f8f 019691 istore 1 ,contw 
+0x4f90 019692 force 2 ,pdata 
+0x4f91 019693 istore 1 ,contw 
+0x4f92 019694 fetch 1 ,mem_send_config_req 
+0x4f93 019695 beq l2cap_rfcomm_channel ,l2cap_generate_config_req_rfcomm 
+0x4f94 019696 setarg l2cap_config_mtu_sdp 
+0x4f95 019697 istore 2 ,contw 
+0x4f96 019698 branch l2cap_generate_config_req_done 
+:      019699 l2cap_generate_config_req_rfcomm:
+0x4f97 019700 setarg l2cap_config_mtu_rfcomm 
+0x4f98 019701 istore 2 ,contw 
+:      019702 l2cap_generate_config_req_done:
+0x4f99 019703 arg 0x0c ,temp 
+0x4f9a 019704 storet 2 ,mem_l2cap_signal_tx_length 
+0x4f9b 019705 call l2cap_get_signal_tx_buff 
+0x4f9c 019706 fetch 2 ,mem_l2cap_signal_tx_length 
+0x4f9d 019707 istore 2 ,contw 
+0x4f9e 019708 force l2cap_signal_channel ,pdata 
+0x4f9f 019709 istore 2 ,contw 
+0x4fa0 019710 jam 0 ,mem_send_config_req 
+:      019711 l2cap_proc_signal_config_req_rtn:
+0x4fa1 019712 branch l2cap_process_one_signal_rtn 
+:      019714 l2cap_proc_signal_config_rsp:
+0x4fa2 019715 increase 1 ,contr 
+0x4fa3 019716 ifetch 2 ,contr 
+0x4fa4 019717 copy pdata ,rega 
+0x4fa5 019718 copy regc ,pdata 
+0x4fa6 019719 isub rega ,regc 
+0x4fa7 019720 ifetch 2 ,contr 
+0x4fa8 019721 copy pdata ,rega 
+0x4fa9 019722 bpatchx patch22_5 ,mem_patch22 
+0x4faa 019723 setarg l2cap_sdp_channel 
+0x4fab 019724 isub rega ,null 
+0x4fac 019725 branch l2cap_proc_signal_config_rsp_sdp ,zero 
+0x4fad 019726 setarg l2cap_rfcomm_channel 
+0x4fae 019727 isub rega ,null 
+0x4faf 019728 branch l2cap_proc_signal_config_rsp_rfcomm ,zero 
+0x4fb0 019729 setarg l2cap_hid_control_channel 
+0x4fb1 019730 isub rega ,null 
+0x4fb2 019731 branch l2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+0x4fb3 019732 setarg l2cap_hid_interrupt_channel 
+0x4fb4 019733 isub rega ,null 
+0x4fb5 019734 branch l2cap_proc_signal_config_rsp_hid_int ,zero 
+0x4fb6 019735 increase 2 ,contr 
+0x4fb7 019736 ifetch 2 ,contr 
+0x4fb8 019737 iforce null 
+0x4fb9 019738 branch l2cap_process_one_signal_rtn 
+:      019739 l2cap_proc_signal_config_rsp_sdp:
+0x4fba 019740 fetch 1 ,mem_sdp_state 
+0x4fbb 019741 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x4fbc 019742 store 1 ,mem_sdp_state 
+0x4fbd 019743 branch l2cap_process_one_signal_rtn 
+:      019744 l2cap_proc_signal_config_rsp_rfcomm:
+0x4fbe 019745 fetch 1 ,mem_rfcomm_state 
+0x4fbf 019746 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x4fc0 019747 store 1 ,mem_rfcomm_state 
+0x4fc1 019748 branch l2cap_process_one_signal_rtn 
+:      019749 l2cap_proc_signal_config_rsp_hid_ctrl:
+0x4fc2 019750 fetch 1 ,mem_hid_control_state 
+0x4fc3 019751 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x4fc4 019752 store 1 ,mem_hid_control_state 
+0x4fc5 019753 branch l2cap_process_one_signal_rtn 
+:      019754 l2cap_proc_signal_config_rsp_hid_int:
+0x4fc6 019755 fetch 1 ,mem_hid_interrupt_state 
+0x4fc7 019756 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x4fc8 019757 store 1 ,mem_hid_interrupt_state 
+0x4fc9 019758 jam bt_evt_hid_connected ,mem_fifo_temp 
+0x4fca 019759 branch ui_ipc_send_event 
+:      019763 l2cap_proc_signal_disconnect_req:
+0x4fcb 019764 ifetch 1 ,contr 
+0x4fcc 019765 copy pdata ,queue 
+0x4fcd 019766 ifetch 2 ,contr 
+0x4fce 019767 copy pdata ,rega 
+0x4fcf 019768 copy regc ,pdata 
+0x4fd0 019769 isub rega ,regc 
+0x4fd1 019770 ifetch 2 ,contr 
+0x4fd2 019771 copy pdata ,rega 
+0x4fd3 019772 ifetch 2 ,contr 
+0x4fd4 019773 copy pdata ,timeup 
+0x4fd5 019774 copy rega ,temp 
+0x4fd6 019775 call save_cont_pointers 
+0x4fd7 019776 bpatchx patch22_6 ,mem_patch22 
+0x4fd8 019777 setarg l2cap_sdp_channel 
+0x4fd9 019778 isub temp ,null 
+0x4fda 019779 branch l2cap_proc_signal_disconnect_req_sdp ,zero 
+0x4fdb 019780 setarg l2cap_rfcomm_channel 
+0x4fdc 019781 isub temp ,null 
+0x4fdd 019782 branch l2cap_proc_signal_disconnect_req_rfcomm ,zero 
+0x4fde 019783 setarg l2cap_hid_control_channel 
+0x4fdf 019784 isub temp ,null 
+0x4fe0 019785 branch l2cap_proc_signal_disconnect_req_hid_ctrl ,zero 
+0x4fe1 019786 setarg l2cap_hid_interrupt_channel 
+0x4fe2 019787 isub temp ,null 
+0x4fe3 019788 branch l2cap_proc_signal_disconnect_req_hid_int ,zero 
+0x4fe4 019789 call l2cap_reject_command 
+0x4fe5 019790 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      019791 l2cap_proc_signal_disconnect_req_hid_ctrl:
+0x4fe6 019792 copy timeup ,temp 
+0x4fe7 019793 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4fe8 019794 isub temp ,null 
+0x4fe9 019795 branch l2cap_disconnect_hid_control_now ,zero 
+0x4fea 019796 call l2cap_reject_command 
+0x4feb 019797 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      019798 l2cap_proc_signal_disconnect_req_hid_int:
+0x4fec 019799 copy timeup ,temp 
+0x4fed 019800 fetch 2 ,mem_hid_int_remote_cid 
+0x4fee 019801 isub temp ,null 
+0x4fef 019802 branch l2cap_disconnect_hid_interrupt_now ,zero 
+0x4ff0 019803 call l2cap_reject_command 
+0x4ff1 019804 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      019806 l2cap_proc_signal_disconnect_req_sdp:
+0x4ff2 019807 copy timeup ,temp 
+0x4ff3 019808 fetch 2 ,mem_sdp_remote_cid 
+0x4ff4 019809 isub temp ,null 
+0x4ff5 019810 branch l2cap_disconnect_sdp_now ,zero 
+0x4ff6 019811 call l2cap_reject_command 
+0x4ff7 019812 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      019813 l2cap_disconnect_hid_control_now:
+0x4ff8 019814 call l2cap_reset_hid_ctrl_state 
+0x4ff9 019815 branch l2cap_send_disconnect_rsp_pkt 
+:      019816 l2cap_disconnect_hid_interrupt_now:
+0x4ffa 019817 call l2cap_reset_hid_int_state 
+0x4ffb 019818 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4ffc 019819 branch l2cap_send_disconnect_rsp_pkt ,blank 
+0x4ffd 019827 branch l2cap_send_disconnect_rsp_pkt 
+:      019829 l2cap_disconnect_sdp_now:
+0x4ffe 019830 call l2cap_reset_sdp_channel_state 
+0x4fff 019831 fetch 1 ,mem_upper_sm_ss 
+0x5000 019832 nbranch l2cap_send_disconnect_rsp_pkt ,blank 
+0x5001 019835 branch l2cap_send_disconnect_rsp_pkt 
+:      019836 l2cap_proc_signal_disconnect_req_rfcomm:
+0x5002 019837 copy timeup ,temp 
+0x5003 019838 fetch 2 ,mem_rfcomm_remote_cid 
+0x5004 019839 isub temp ,null 
+0x5005 019840 branch l2cap_disconnect_rfcomm_now ,zero 
+0x5006 019841 call l2cap_reject_command 
+0x5007 019842 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      019843 l2cap_disconnect_rfcomm_now:
+0x5008 019844 call l2cap_reset_rfcomm_channel_state 
+0x5009 019845 branch l2cap_send_disconnect_rsp_pkt 
+:      019846 l2cap_send_disconnect_rsp_pkt:
+0x500a 019847 call load_cont_pointers 
+0x500b 019848 setarg signal_disconnect_rsp 
+0x500c 019849 istore 1 ,contw 
+0x500d 019850 copy queue ,pdata 
+0x500e 019851 istore 1 ,contw 
+0x500f 019852 setarg 0x0004 
+0x5010 019853 istore 2 ,contw 
+0x5011 019854 copy rega ,pdata 
+0x5012 019855 istore 2 ,contw 
+0x5013 019856 copy timeup ,pdata 
+0x5014 019857 istore 2 ,contw 
+0x5015 019858 force 8 ,pdata 
+0x5016 019859 branch l2cap_proc_signal_disconnect_req_rtn 
+:      019860 l2cap_proc_signal_disconnect_req_err_rtn:
+0x5017 019861 call load_cont_pointers 
+0x5018 019862 branch l2cap_proc_signal_disconnect_req_rtn 
+:      019863 l2cap_proc_signal_disconnect_req_rtn:
+0x5019 019864 iadd regb ,regb 
+0x501a 019865 branch l2cap_process_one_signal_rtn 
+:      019866 l2cap_proc_signal_disconnect_rsp:
+0x501b 019867 ifetch 1 ,contr 
+0x501c 019868 copy pdata ,queue 
+0x501d 019869 ifetch 2 ,contr 
+0x501e 019870 copy pdata ,rega 
+0x501f 019871 copy regc ,pdata 
+0x5020 019872 isub rega ,regc 
+0x5021 019873 ifetch 2 ,contr 
+0x5022 019874 copy pdata ,timeup 
+0x5023 019875 ifetch 2 ,contr 
+0x5024 019876 copy pdata ,temp 
+0x5025 019877 call save_cont_pointers 
+0x5026 019878 bpatchx patch22_7 ,mem_patch22 
+0x5027 019879 setarg l2cap_sdp_channel 
+0x5028 019880 isub temp ,null 
+0x5029 019881 branch l2cap_proc_signal_disconnect_rsp_sdp ,zero 
+0x502a 019882 setarg l2cap_rfcomm_channel 
+0x502b 019883 isub temp ,null 
+0x502c 019884 branch l2cap_proc_signal_disconnect_rsp_rfcomm ,zero 
+0x502d 019885 setarg l2cap_hid_control_channel 
+0x502e 019886 isub temp ,null 
+0x502f 019887 branch l2cap_proc_signal_disconnect_rsp_hid_ctrl ,zero 
+0x5030 019888 setarg l2cap_hid_interrupt_channel 
+0x5031 019889 isub temp ,null 
+0x5032 019890 branch l2cap_proc_signal_disconnect_rsp_hid_int ,zero 
+0x5033 019891 call l2cap_reject_command 
+0x5034 019892 branch l2cap_proc_signal_disconnect_rsp_err_rtn 
+:      019893 l2cap_proc_signal_disconnect_rsp_sdp:
+0x5035 019894 copy temp ,rega 
+0x5036 019895 copy timeup ,temp 
+0x5037 019896 fetch 2 ,mem_sdp_remote_cid 
+0x5038 019897 isub temp ,null 
+0x5039 019898 call l2cap_reset_sdp_channel_state ,zero 
+0x503a 019899 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      019900 l2cap_proc_signal_disconnect_rsp_rfcomm:
+0x503b 019901 copy temp ,rega 
+0x503c 019902 copy timeup ,temp 
+0x503d 019903 fetch 2 ,mem_rfcomm_remote_cid 
+0x503e 019904 isub temp ,null 
+0x503f 019905 call l2cap_reset_rfcomm_channel_state ,zero 
+0x5040 019906 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      019907 l2cap_proc_signal_disconnect_rsp_hid_ctrl:
+0x5041 019908 copy temp ,rega 
+0x5042 019909 copy timeup ,temp 
+0x5043 019910 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5044 019911 isub temp ,null 
+0x5045 019912 call l2cap_reset_hid_ctrl_state ,zero 
+0x5046 019913 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      019914 l2cap_proc_signal_disconnect_rsp_hid_int:
+0x5047 019915 copy temp ,rega 
+0x5048 019916 copy timeup ,temp 
+0x5049 019917 fetch 2 ,mem_hid_int_remote_cid 
+0x504a 019918 isub temp ,null 
+0x504b 019919 call l2cap_reset_hid_int_state ,zero 
+0x504c 019920 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      019921 l2cap_proc_signal_disconnect_rsp_rtn:
+0x504d 019922 call load_cont_pointers 
+0x504e 019923 branch l2cap_process_one_signal_rtn 
+:      019924 l2cap_proc_signal_disconnect_rsp_err_rtn:
+0x504f 019925 branch l2cap_process_one_signal_rtn 
+:      019928 l2cap_proc_signal_echo_req:
+0x5050 019929 ifetch 1 ,contr 
+0x5051 019930 copy pdata ,queue 
+0x5052 019931 ifetch 2 ,contr 
+0x5053 019932 copy pdata ,rega 
+0x5054 019933 iadd contr ,contr 
+0x5055 019934 setarg 9 
+0x5056 019935 istore 1 ,contw 
+0x5057 019936 copy queue ,pdata 
+0x5058 019937 istore 1 ,contw 
+0x5059 019938 force 0x0000 ,pdata 
+0x505a 019939 istore 2 ,contw 
+0x505b 019940 force 4 ,pdata 
+0x505c 019941 iadd regb ,regb 
+0x505d 019942 copy regc ,pdata 
+0x505e 019943 isub rega ,regc 
+0x505f 019944 branch l2cap_process_one_signal_rtn 
+:      019945 l2cap_proc_signal_echo_rsp:
+0x5060 019946 branch l2cap_process_one_signal_rtn 
+:      019948 l2cap_proc_signal_info_rsp:
+0x5061 019949 branch l2cap_process_one_signal_rtn 
+:      019950 l2cap_reject_command:
+0x5062 019951 force 0 ,regb 
+0x5063 019952 call l2cap_get_signal_tx_payload 
+0x5064 019953 setarg signal_cmd_reject 
+0x5065 019954 istore 1 ,contw 
+0x5066 019955 copy queue ,pdata 
+0x5067 019956 istore 1 ,contw 
+0x5068 019957 setarg 2 
+0x5069 019958 istore 2 ,contw 
+0x506a 019959 setarg cmd_not_understood 
+0x506b 019960 istore 2 ,contw 
+0x506c 019961 increase 6 ,regb 
+0x506d 019962 arg 4 ,regc 
+0x506e 019963 branch l2cap_process_one_signal_rtn 
+:      019967 l2cap_reset_rfcomm_channel_state:
+0x506f 019968 setarg 0 
+0x5070 019969 store 2 ,mem_rfcomm_tx_pkt_length 
+0x5071 019970 store 2 ,mem_rfcomm_remote_cid 
+0x5072 019971 jam 0 ,mem_rfcomm_state 
+0x5073 019972 rtn 
+:      019973 l2cap_reset_sdp_channel_state:
+0x5074 019974 setarg 0 
+0x5075 019975 store 2 ,mem_sdp_tx_pkt_length 
+0x5076 019976 store 2 ,mem_sdp_remote_cid 
+0x5077 019977 jam 0 ,mem_sdp_state 
+0x5078 019978 rtn 
+:      019979 l2cap_reset_hid_ctrl_state:
+0x5079 019980 setarg 0 
+0x507a 019981 store 2 ,mem_hid_ctrl_remote_cid 
+0x507b 019982 jam 0 ,mem_hid_control_state 
+0x507c 019983 fetch 1 ,mem_hid_interrupt_state 
+0x507d 019984 beq 0 ,l2cap_reset_hid_disconnected 
+0x507e 019985 rtn 
+:      019987 l2cap_reset_hid_int_state:
+0x507f 019988 setarg 0 
+0x5080 019989 store 2 ,mem_hid_int_remote_cid 
+0x5081 019990 jam 0 ,mem_hid_interrupt_state 
+0x5082 019991 fetch 1 ,mem_hid_control_state 
+0x5083 019992 beq 0 ,l2cap_reset_hid_disconnected 
+0x5084 019993 rtn 
+:      019995 l2cap_reset_hid_disconnected:
+0x5085 019996 jam bt_evt_hid_disconnected ,mem_fifo_temp 
+0x5086 019997 branch ui_ipc_send_event 
+:      019999 l2cap_disconnect_interrupt_req:
+0x5087 020000 fetch 1 ,mem_control_tasks 
+0x5088 020001 set0 l2cap_disconnect_interrupt ,pdata 
+0x5089 020002 store 1 ,mem_control_tasks 
+0x508a 020003 fetch 2 ,mem_hid_int_remote_cid 
+0x508b 020004 rtn blank 
+0x508c 020005 call l2cap_malloc_signal_channel 
+0x508d 020006 fetch 2 ,mem_hid_int_remote_cid 
+0x508e 020007 copy pdata ,rega 
+0x508f 020008 force l2cap_hid_interrupt_channel ,regb 
+0x5090 020009 branch l2cap_generate_disconnect_req 
+:      020010 l2cap_disconnect_control_req:
+0x5091 020011 fetch 1 ,mem_control_tasks 
+0x5092 020012 set0 l2cap_disconnect_control ,pdata 
+0x5093 020013 store 1 ,mem_control_tasks 
+0x5094 020014 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5095 020015 rtn blank 
+0x5096 020016 call l2cap_malloc_signal_channel 
+0x5097 020017 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5098 020018 copy pdata ,rega 
+0x5099 020019 force l2cap_hid_control_channel ,regb 
+:      020020 l2cap_generate_disconnect_req:
+0x509a 020021 call l2cap_get_req_id 
+0x509b 020022 call l2cap_get_signal_tx_payload 
+0x509c 020023 force signal_disconnect_req ,pdata 
+0x509d 020024 istore 1 ,contw 
+0x509e 020025 fetch 1 ,mem_ml2cap_comm_id 
+0x509f 020026 istore 1 ,contw 
+0x50a0 020027 setarg 0x0004 
+0x50a1 020028 istore 2 ,contw 
+0x50a2 020029 copy rega ,pdata 
+0x50a3 020030 istore 2 ,contw 
+0x50a4 020031 copy regb ,pdata 
+0x50a5 020032 istore 2 ,contw 
+0x50a6 020033 force 0x08 ,temp 
+0x50a7 020034 branch ml2cap_send_signal 
+:      020036 ml2cap_send_signal_connect_req:
+0x50a8 020037 bpatchx patch23_0 ,mem_patch23 
+0x50a9 020038 call l2cap_get_req_id 
+0x50aa 020039 call l2cap_get_signal_tx_payload 
+0x50ab 020040 setarg signal_connect_req 
+0x50ac 020041 istore 1 ,contw 
+0x50ad 020042 fetch 1 ,mem_ml2cap_comm_id 
+0x50ae 020043 istore 1 ,contw 
+0x50af 020044 setarg 0x0004 
+0x50b0 020045 istore 2 ,contw 
+0x50b1 020046 copy temp ,pdata 
+0x50b2 020047 istore 2 ,contw 
+0x50b3 020048 copy timeup ,pdata 
+0x50b4 020049 istore 2 ,contw 
+0x50b5 020050 arg 8 ,temp 
+0x50b6 020051 branch ml2cap_send_signal 
+:      020052 ml2cap_send_signal_config_req:
+0x50b7 020053 bpatchx patch23_1 ,mem_patch23 
+0x50b8 020054 call l2cap_get_req_id 
+0x50b9 020055 call l2cap_get_signal_tx_payload 
+0x50ba 020056 setarg signal_config_req 
+0x50bb 020057 istore 1 ,contw 
+0x50bc 020058 fetch 1 ,mem_ml2cap_comm_id 
+0x50bd 020059 istore 1 ,contw 
+0x50be 020060 setarg 0x0008 
+0x50bf 020061 istore 2 ,contw 
+0x50c0 020063 copy temp ,pdata 
+0x50c1 020065 istore 2 ,contw 
+0x50c2 020066 setarg 0x0000 
+0x50c3 020067 istore 2 ,contw 
+0x50c4 020068 setarg 0x01 
+0x50c5 020069 istore 1 ,contw 
+0x50c6 020070 setarg 0x02 
+0x50c7 020071 istore 1 ,contw 
+0x50c8 020072 setarg l2cap_config_mtu_rfcomm 
+0x50c9 020073 istore 2 ,contw 
+0x50ca 020074 arg 0xc ,temp 
+0x50cb 020075 branch ml2cap_send_signal 
+:      020076 ml2cap_send_signal_disconn_req:
+0x50cc 020077 bpatchx patch23_2 ,mem_patch23 
+0x50cd 020078 call l2cap_get_req_id 
+0x50ce 020079 call l2cap_get_signal_tx_payload 
+0x50cf 020080 setarg signal_disconnect_req 
+0x50d0 020081 istore 1 ,contw 
+0x50d1 020082 fetch 1 ,mem_ml2cap_comm_id 
+0x50d2 020083 increase 1 ,pdata 
+0x50d3 020084 copy contw ,rega 
+0x50d4 020085 store 1 ,mem_ml2cap_comm_id 
+0x50d5 020086 copy rega ,contw 
+0x50d6 020087 istore 1 ,contw 
+0x50d7 020088 setarg 0x0004 
+0x50d8 020089 istore 2 ,contw 
+0x50d9 020090 copy temp ,pdata 
+0x50da 020091 istore 2 ,contw 
+0x50db 020092 copy timeup ,pdata 
+0x50dc 020093 istore 2 ,contw 
+0x50dd 020094 arg 0x8 ,temp 
+:      020097 ml2cap_send_signal:
+0x50de 020098 storet 2 ,mem_l2cap_signal_tx_length 
+0x50df 020099 copy temp ,pdata 
+0x50e0 020100 branch l2cap_malloc_discard ,blank 
+0x50e1 020101 call l2cap_get_signal_tx_buff 
+0x50e2 020102 fetch 2 ,mem_l2cap_signal_tx_length 
+0x50e3 020103 istore 2 ,contw 
+0x50e4 020104 force l2cap_signal_channel ,pdata 
+0x50e5 020105 istore 2 ,contw 
+0x50e6 020106 rtn 
+:      020108 msdp_send_req_done:
+0x50e7 020109 fetch 2 ,mem_sdp_tx_pkt_length 
+0x50e8 020110 branch assert ,blank 
+0x50e9 020111 call l2cap_get_sdp_tx_buff 
+0x50ea 020112 fetch 2 ,mem_sdp_tx_pkt_length 
+0x50eb 020113 istore 2 ,contw 
+0x50ec 020114 fetch 2 ,mem_sdp_remote_cid 
+0x50ed 020115 istore 2 ,contw 
+0x50ee 020116 rtn 
+:      020117 ml2cap_rx_multiplexing:
+0x50ef 020118 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x50f0 020119 branch l2cap_rx_reset_state ,blank 
+0x50f1 020120 bpatchx patch23_3 ,mem_patch23 
+0x50f2 020121 fetch 1 ,mem_l2cap_rx_cid 
+0x50f3 020122 beq l2cap_signal_channel ,ml2cap_call_proc_signal 
+0x50f4 020123 beq l2cap_sdp_channel ,ml2cap_call_proc_sdp 
+0x50f5 020124 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+0x50f6 020125 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+0x50f7 020126 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+0x50f8 020127 branch l2cap_rx_reset_state 
+:      020129 ml2cap_call_proc_signal:
+0x50f9 020130 bpatchx patch23_4 ,mem_patch23 
+0x50fa 020131 call l2cap_malloc_signal_channel 
+0x50fb 020132 force 0 ,regb 
+0x50fc 020133 call l2cap_get_signal_tx_payload 
+0x50fd 020134 copy pdata ,contw 
+0x50fe 020135 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x50ff 020136 copy pdata ,regc 
+0x5100 020137 fetch 2 ,mem_l2cap_payload_ptr 
+0x5101 020138 iforce contr 
+:      020139 ml2cap_proc_one_comm_loop:
+0x5102 020140 call ml2cap_proc_one_comm 
+0x5103 020141 increase -4 ,regc 
+0x5104 020142 nbranch ml2cap_proc_one_comm_loop ,zero 
+0x5105 020143 copy regb ,temp 
+0x5106 020144 call ml2cap_send_signal 
+0x5107 020145 branch l2cap_rx_reset_state 
+:      020147 ml2cap_proc_one_comm:
+0x5108 020148 ifetch 1 ,contr 
+0x5109 020149 beq signal_connect_req ,ml2cap_proc_signal_connect_req 
+0x510a 020150 beq signal_cmd_reject ,ml2cap_proc_signal_cmd_reject 
+0x510b 020151 beq signal_connect_rsp ,ml2cap_proc_signal_connect_rsp 
+0x510c 020152 beq signal_config_rsp ,ml2cap_proc_signal_config_rsp 
+0x510d 020153 beq signal_config_req ,ml2cap_proc_signal_config_req 
+0x510e 020154 beq signal_disconnect_rsp ,ml2cap_proc_signal_disconn_rsp 
+0x510f 020155 beq signal_disconnect_req ,ml2cap_proc_signal_disconn_req 
+0x5110 020156 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+0x5111 020157 beq signal_info_req ,ml2cap_proc_signal_info_req 
+0x5112 020158 branch ml2cap_proc_send_reject 
+:      020160 ml2cap_proc_signal_connect_req:
+0x5113 020161 call save_cont_pointers 
+0x5114 020163 call load_cont_pointers 
+0x5115 020164 branch l2cap_proc_signal_connect_req 
+:      020165 ml2cap_proc_signal_cmd_reject:
+0x5116 020166 ifetch 1 ,contr 
+0x5117 020167 copy pdata ,queue 
+0x5118 020168 ifetch 2 ,contr 
+0x5119 020169 copy pdata ,rega 
+0x511a 020170 copy regc ,pdata 
+0x511b 020171 isub rega ,regc 
+:      020172 mvptr:
+0x511c 020173 ifetch 1 ,contr 
+0x511d 020174 increase -1 ,rega 
+0x511e 020175 nbranch mvptr ,zero 
+0x511f 020176 rtn 
+:      020177 ml2cap_proc_signal_connect_rsp:
+0x5120 020178 ifetch 1 ,contr 
+0x5121 020179 copy pdata ,queue 
+0x5122 020180 ifetch 2 ,contr 
+0x5123 020181 copy pdata ,rega 
+0x5124 020182 ifetch 2 ,contr 
+0x5125 020183 copy pdata ,timeup 
+0x5126 020184 ifetch 2 ,contr 
+0x5127 020185 copy pdata ,temp 
+0x5128 020186 ifetch 2 ,contr 
+0x5129 020187 sub pdata ,0 ,null 
+0x512a 020188 branch ml2cap_proc_signal_connect_rsp_sucessful ,zero 
+0x512b 020189 beq l2cap_connect_refused_psm_unsupported ,ml2cap_proc_signal_connect_refused_result 
+0x512c 020190 beq l2cap_connect_refused_no_resources ,ml2cap_proc_signal_connect_refused_result 
+0x512d 020191 branch ml2cap_proc_signal_connect_rsp_mnosucc 
+:      020192 ml2cap_proc_signal_connect_refused_result:
+0x512e 020193 jam bt_evt_ml2cap_conn_refused ,mem_fifo_temp 
+0x512f 020194 call ui_ipc_send_event 
+:      020195 ml2cap_proc_signal_connect_rsp_mnosucc:
+0x5130 020196 ifetch 2 ,contr 
+0x5131 020197 branch mnosucc 
+:      020198 ml2cap_proc_signal_connect_rsp_sucessful:
+0x5132 020199 call save_cont_pointers 
+0x5133 020203 bpatchx patch23_5 ,mem_patch23 
+0x5134 020204 setarg l2cap_sdp_channel 
+0x5135 020205 isub temp ,null 
+0x5136 020206 branch ml2cap_proc_signal_connect_rsp_sdp ,zero 
+0x5137 020207 setarg l2cap_rfcomm_channel 
+0x5138 020208 isub temp ,null 
+0x5139 020209 branch ml2cap_proc_signal_connect_rsp_rfcomm ,zero 
+0x513a 020210 setarg l2cap_hid_interrupt_channel 
+0x513b 020211 isub temp ,null 
+0x513c 020212 branch ml2cap_proc_signal_connect_rsp_hid_int ,zero 
+0x513d 020213 setarg l2cap_hid_control_channel 
+0x513e 020214 isub temp ,null 
+0x513f 020215 branch ml2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+0x5140 020216 branch mnosucc 
+:      020217 ml2cap_proc_signal_connect_rsp_sdp:
+0x5141 020218 copy timeup ,pdata 
+0x5142 020219 store 2 ,mem_sdp_remote_cid 
+0x5143 020220 fetch 1 ,mem_sdp_state 
+0x5144 020221 set1 l2cap_channel_state_conn_res 
+0x5145 020222 store 1 ,mem_sdp_state 
+0x5146 020223 branch mnosucc1 
+:      020224 ml2cap_proc_signal_connect_rsp_rfcomm:
+0x5147 020225 copy timeup ,pdata 
+0x5148 020226 store 2 ,mem_rfcomm_remote_cid 
+0x5149 020227 fetch 1 ,mem_rfcomm_state 
+0x514a 020228 set1 l2cap_channel_state_conn_res 
+0x514b 020229 store 1 ,mem_rfcomm_state 
+0x514c 020230 branch mnosucc1 
+:      020231 ml2cap_proc_signal_connect_rsp_hid_ctrl:
+0x514d 020232 copy timeup ,pdata 
+0x514e 020233 store 2 ,mem_hid_ctrl_remote_cid 
+0x514f 020234 fetch 1 ,mem_hid_control_state 
+0x5150 020235 set1 l2cap_channel_state_conn_res 
+0x5151 020236 store 1 ,mem_hid_control_state 
+0x5152 020237 branch mnosucc1 
+:      020238 ml2cap_proc_signal_connect_rsp_hid_int:
+0x5153 020239 copy timeup ,pdata 
+0x5154 020240 store 2 ,mem_hid_int_remote_cid 
+0x5155 020241 fetch 1 ,mem_hid_interrupt_state 
+0x5156 020242 set1 l2cap_channel_state_conn_res 
+0x5157 020243 store 1 ,mem_hid_interrupt_state 
+:      020246 mnosucc1:
+0x5158 020247 call load_cont_pointers 
+:      020248 mnosucc:
+0x5159 020249 copy regc ,pdata 
+0x515a 020250 isub rega ,regc 
+0x515b 020251 rtn 
+:      020253 ml2cap_proc_signal_config_rsp:
+0x515c 020254 ifetch 1 ,contr 
+0x515d 020255 copy pdata ,queue 
+0x515e 020256 ifetch 2 ,contr 
+0x515f 020257 copy pdata ,rega 
+0x5160 020258 copy regc ,pdata 
+0x5161 020259 isub rega ,regc 
+0x5162 020260 ifetch 2 ,contr 
+0x5163 020261 copy pdata ,timeup 
+0x5164 020262 ifetch 2 ,contr 
+0x5165 020263 ifetch 2 ,contr 
+0x5166 020264 nbranch mcrsdone1 ,blank 
+0x5167 020265 call save_cont_pointers 
+0x5168 020269 copy timeup ,temp 
+0x5169 020270 bpatchx patch23_6 ,mem_patch23 
+0x516a 020271 setarg l2cap_sdp_channel 
+0x516b 020272 isub temp ,null 
+0x516c 020273 branch ml2cap_proc_signal_config_rsp_sdp ,zero 
+0x516d 020274 setarg l2cap_rfcomm_channel 
+0x516e 020275 isub temp ,null 
+0x516f 020276 branch ml2cap_proc_signal_config_rsp_rfcomm ,zero 
+0x5170 020277 setarg l2cap_hid_control_channel 
+0x5171 020278 isub temp ,null 
+0x5172 020279 branch ml2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+0x5173 020280 setarg l2cap_hid_interrupt_channel 
+0x5174 020281 isub temp ,null 
+0x5175 020282 branch ml2cap_proc_signal_config_rsp_hid_int ,zero 
+:      020283 ml2cap_proc_signal_config_rsp_sdp:
+0x5176 020284 fetch 1 ,mem_sdp_state 
+0x5177 020285 set1 l2cap_channel_state_rcv_cfg_res 
+0x5178 020286 store 1 ,mem_sdp_state 
+0x5179 020287 rtn 
+:      020288 ml2cap_proc_signal_config_rsp_rfcomm:
+0x517a 020289 fetch 1 ,mem_rfcomm_state 
+0x517b 020290 set1 l2cap_channel_state_rcv_cfg_res 
+0x517c 020291 store 1 ,mem_rfcomm_state 
+0x517d 020292 rtn 
+:      020293 ml2cap_proc_signal_config_rsp_hid_ctrl:
+0x517e 020294 fetch 1 ,mem_hid_control_state 
+0x517f 020295 set1 l2cap_channel_state_rcv_cfg_res 
+0x5180 020296 store 1 ,mem_hid_control_state 
+0x5181 020297 rtn 
+:      020298 ml2cap_proc_signal_config_rsp_hid_int:
+0x5182 020299 fetch 1 ,mem_hid_interrupt_state 
+0x5183 020300 set1 l2cap_channel_state_rcv_cfg_res 
+0x5184 020301 store 1 ,mem_hid_interrupt_state 
+0x5185 020302 jam bt_evt_hid_connected ,mem_fifo_temp 
+0x5186 020303 branch ui_ipc_send_event 
+:      020306 mcfrsdone:
+0x5187 020307 call load_cont_pointers 
+:      020308 mcrsdone1:
+0x5188 020309 increase -6 ,rega 
+:      020310 mloop2:
+0x5189 020311 branch mcrsdone ,zero 
+0x518a 020312 increase 1 ,contr 
+0x518b 020313 increase -1 ,rega 
+0x518c 020314 branch mloop2 
+:      020315 mcrsdone:
+0x518d 020316 rtn 
+:      020317 ml2cap_proc_signal_config_req:
+0x518e 020318 ifetch 1 ,contr 
+0x518f 020319 copy pdata ,queue 
+0x5190 020320 ifetch 2 ,contr 
+0x5191 020321 copy pdata ,rega 
+0x5192 020322 copy regc ,pdata 
+0x5193 020323 isub rega ,regc 
+0x5194 020324 ifetch 2 ,contr 
+0x5195 020325 increase 2 ,contr 
+0x5196 020326 copy pdata ,temp 
+0x5197 020327 setarg signal_config_rsp 
+0x5198 020328 istore 1 ,contw 
+0x5199 020329 copy queue ,pdata 
+0x519a 020330 istore 1 ,contw 
+0x519b 020331 increase 2 ,rega 
+0x519c 020332 copy rega ,pdata 
+0x519d 020333 istore 2 ,contw 
+0x519e 020334 call save_cont_pointers 
+0x519f 020335 bpatchx patch23_7 ,mem_patch23 
+0x51a0 020336 setarg l2cap_sdp_channel 
+0x51a1 020337 isub temp ,null 
+0x51a2 020338 branch ml2cap_proc_signal_config_req_sdp ,zero 
+0x51a3 020339 setarg l2cap_rfcomm_channel 
+0x51a4 020340 isub temp ,null 
+0x51a5 020341 branch ml2cap_proc_signal_config_req_rfcomm ,zero 
+0x51a6 020342 setarg l2cap_hid_control_channel 
+0x51a7 020343 isub temp ,null 
+0x51a8 020344 branch ml2cap_proc_signal_config_req_hid_ctrl ,zero 
+0x51a9 020345 setarg l2cap_hid_interrupt_channel 
+0x51aa 020346 isub temp ,null 
+0x51ab 020347 branch ml2cap_proc_signal_config_req_hid_int ,zero 
+0x51ac 020348 branch mcfgrq_done 
+:      020349 ml2cap_proc_signal_config_req_sdp:
+0x51ad 020350 fetch 1 ,mem_sdp_state 
+0x51ae 020351 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x51af 020352 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x51b0 020353 store 1 ,mem_sdp_state 
+0x51b1 020354 bbit1 l2cap_channel_state_snd_cfg_req ,ml2cap_proc_signal_config_req_sdp_nsndreq 
+0x51b2 020355 fetcht 1 ,mem_control_tasks 
+0x51b3 020356 set1 l2cap_init_config_req ,temp 
+0x51b4 020357 storet 1 ,mem_control_tasks 
+0x51b5 020358 copy queue ,pdata 
+0x51b6 020359 increase 1 ,pdata 
+0x51b7 020360 store 1 ,mem_config_identifier 
+0x51b8 020361 fetch 1 ,mem_sdp_state 
+0x51b9 020362 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x51ba 020363 store 1 ,mem_sdp_state 
+:      020364 ml2cap_proc_signal_config_req_sdp_nsndreq:
+0x51bb 020365 fetch 2 ,mem_sdp_remote_cid 
+0x51bc 020366 store 2 ,mem_config_req_dest_cid 
+0x51bd 020367 branch mcfgrq_done 
+:      020368 ml2cap_proc_signal_config_req_rfcomm:
+0x51be 020369 fetch 1 ,mem_rfcomm_state 
+0x51bf 020370 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x51c0 020371 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x51c1 020372 store 1 ,mem_rfcomm_state 
+0x51c2 020373 fetch 2 ,mem_rfcomm_remote_cid 
+0x51c3 020374 branch mcfgrq_done 
+:      020375 ml2cap_proc_signal_config_req_hid_ctrl:
+0x51c4 020376 fetch 1 ,mem_hid_control_state 
+0x51c5 020377 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x51c6 020378 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x51c7 020379 store 1 ,mem_hid_control_state 
+0x51c8 020380 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x51c9 020381 branch mcfgrq_done 
+:      020382 ml2cap_proc_signal_config_req_hid_int:
+0x51ca 020383 fetch 1 ,mem_hid_interrupt_state 
+0x51cb 020384 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x51cc 020385 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x51cd 020386 store 1 ,mem_hid_interrupt_state 
+0x51ce 020387 fetch 2 ,mem_hid_int_remote_cid 
+:      020390 mcfgrq_done:
+0x51cf 020391 copy pdata ,timeup 
+0x51d0 020392 call load_cont_pointers 
+0x51d1 020394 copy timeup ,pdata 
+0x51d2 020396 istore 2 ,contw 
+0x51d3 020397 force 0x0000 ,pdata 
+0x51d4 020398 istore 2 ,contw 
+0x51d5 020399 force 0x0000 ,pdata 
+0x51d6 020400 istore 2 ,contw 
+0x51d7 020401 force 10 ,pdata 
+0x51d8 020402 iadd regb ,regb 
+0x51d9 020403 increase -6 ,rega 
+:      020404 mloop1:
+0x51da 020405 branch mcrqdone ,zero 
+0x51db 020406 ifetch 1 ,contr 
+0x51dc 020407 istore 1 ,contw 
+0x51dd 020408 increase 1 ,regb 
+0x51de 020409 increase -1 ,rega 
+0x51df 020410 branch mloop1 
+:      020411 mcrqdone:
+0x51e0 020412 rtn 
+:      020413 ml2cap_proc_signal_disconn_req:
+0x51e1 020414 ifetch 1 ,contr 
+0x51e2 020415 copy pdata ,queue 
+0x51e3 020416 ifetch 2 ,contr 
+0x51e4 020417 copy pdata ,rega 
+0x51e5 020418 copy regc ,pdata 
+0x51e6 020419 isub rega ,regc 
+0x51e7 020421 ifetch 2 ,contr 
+0x51e8 020422 copy pdata ,rega 
+0x51e9 020423 ifetch 2 ,contr 
+0x51ea 020424 copy pdata ,timeup 
+0x51eb 020425 call save_cont_pointers 
+0x51ec 020426 bpatchx patch24_0 ,mem_patch24 
+0x51ed 020427 setarg l2cap_sdp_channel 
+0x51ee 020428 copy rega ,temp 
+0x51ef 020429 isub temp ,null 
+0x51f0 020430 branch ml2cap_proc_signal_disconn_sdp ,zero 
+0x51f1 020431 setarg l2cap_hid_control_channel 
+0x51f2 020432 copy rega ,temp 
+0x51f3 020433 isub temp ,null 
+0x51f4 020434 branch ml2cap_proc_signal_disconn_hid_ctrl ,zero 
+0x51f5 020435 setarg l2cap_hid_interrupt_channel 
+0x51f6 020436 copy rega ,temp 
+0x51f7 020437 isub temp ,null 
+0x51f8 020438 branch ml2cap_proc_signal_disconn_hid_int ,zero 
+0x51f9 020439 branch mclsrfc 
+:      020440 ml2cap_proc_signal_disconn_sdp:
+0x51fa 020441 setarg 0x0000 
+0x51fb 020442 store 2 ,mem_sdp_tx_pkt_length 
+0x51fc 020443 store 2 ,mem_sdp_remote_cid 
+0x51fd 020444 store 1 ,mem_sdp_state 
+0x51fe 020445 branch mclssdp 
+:      020446 ml2cap_proc_signal_disconn_hid_ctrl:
+0x51ff 020447 call l2cap_reset_hid_ctrl_state 
+0x5200 020448 branch mclssdp 
+:      020449 ml2cap_proc_signal_disconn_hid_int:
+0x5201 020450 call l2cap_reset_hid_int_state 
+0x5202 020456 branch mclssdp 
+:      020457 mclsrfc:
+0x5203 020458 setarg 0x0000 
+0x5204 020459 store 2 ,mem_rfcomm_tx_pkt_length 
+:      020460 mclssdp:
+0x5205 020461 call load_cont_pointers 
+0x5206 020462 setarg signal_disconnect_rsp 
+0x5207 020463 istore 1 ,contw 
+0x5208 020464 copy queue ,pdata 
+0x5209 020465 istore 1 ,contw 
+0x520a 020466 setarg 0x0004 
+0x520b 020467 istore 2 ,contw 
+0x520c 020468 copy rega ,pdata 
+0x520d 020469 istore 2 ,contw 
+0x520e 020470 copy timeup ,pdata 
+0x520f 020471 istore 2 ,contw 
+0x5210 020472 force 8 ,pdata 
+0x5211 020473 iadd regb ,regb 
+0x5212 020474 rtn 
+:      020476 ml2cap_proc_signal_disconn_rsp:
+0x5213 020477 ifetch 1 ,contr 
+0x5214 020478 copy pdata ,queue 
+0x5215 020479 ifetch 2 ,contr 
+0x5216 020480 copy pdata ,rega 
+0x5217 020481 ifetch 2 ,contr 
+0x5218 020482 copy pdata ,timeup 
+0x5219 020483 ifetch 2 ,contr 
+0x521a 020484 copy pdata ,temp 
+0x521b 020485 call save_cont_pointers 
+0x521c 020486 bpatchx patch24_1 ,mem_patch24 
+0x521d 020487 fetch 1 ,mem_ml2cap_comm_id 
+0x521e 020488 icompare 0xff ,queue 
+0x521f 020489 nbranch mdisdone ,true 
+0x5220 020490 setarg l2cap_sdp_channel 
+0x5221 020491 isub temp ,null 
+0x5222 020492 branch ml2cap_proc_signal_disconn_rsp_sdp ,zero 
+0x5223 020493 setarg l2cap_rfcomm_channel 
+0x5224 020494 isub temp ,null 
+0x5225 020495 branch ml2cap_proc_signal_disconn_rsp_rfcomm ,zero 
+0x5226 020496 branch mdisdone 
+:      020497 ml2cap_proc_signal_disconn_rsp_sdp:
+0x5227 020498 jam 0 ,mem_sdp_remote_cid 
+0x5228 020499 jam 0 ,mem_sdp_state 
+0x5229 020500 branch mdisdone 
+:      020501 ml2cap_proc_signal_disconn_rsp_rfcomm:
+:      020504 mdisdone:
+0x522a 020505 call load_cont_pointers 
+0x522b 020506 copy regc ,pdata 
+0x522c 020507 isub rega ,regc 
+0x522d 020508 rtn 
+:      020510 ml2cap_proc_send_reject:
+0x522e 020511 setarg signal_cmd_reject 
+0x522f 020512 istore 1 ,contw 
+0x5230 020513 ifetch 1 ,contr 
+0x5231 020514 istore 1 ,contw 
+0x5232 020515 setarg 0x0002 
+0x5233 020516 istore 2 ,contw 
+0x5234 020517 setarg 0x0000 
+0x5235 020518 istore 2 ,contw 
+0x5236 020519 setarg 0x0006 
+0x5237 020520 iadd regb ,regb 
+0x5238 020521 force 4 ,regc 
+0x5239 020522 rtn 
+:      020525 l2cap_get_req_id:
+0x523a 020526 fetch 1 ,mem_ml2cap_comm_id 
+0x523b 020527 increase 1 ,pdata 
+0x523c 020528 bne 0 ,l2cap_get_req_id_ok 
+0x523d 020529 increase 1 ,pdata 
+:      020530 l2cap_get_req_id_ok:
+0x523e 020531 store 1 ,mem_ml2cap_comm_id 
+0x523f 020532 rtn 
+:      020542 l2cap_malloc:
+0x5240 020543 bpatchx patch24_2 ,mem_patch24 
+0x5241 020544 arg 0 ,regb 
+0x5242 020545 call l2cap_malloc_is_fifo_full 
+0x5243 020546 nbranch assert ,blank 
+0x5244 020547 call l2cap_malloc_get_full_map 
+0x5245 020548 arg mem_tx_buff0 ,regb 
+0x5246 020549 arg 0 ,queue 
+:      020550 l2cap_malloc_loop:
+0x5247 020551 fetcht 1 ,mem_used_map 
+0x5248 020552 qisolate1 temp 
+0x5249 020553 branch l2cap_malloc_next ,true 
+0x524a 020554 call l2cap_malloc_enough 
+0x524b 020555 sub timeup ,0 ,null 
+0x524c 020556 branch l2cap_malloc_next ,positive 
+0x524d 020557 call l2cap_malloc_into_fifo 
+0x524e 020558 branch l2cap_malloc_rtn 
+:      020559 l2cap_malloc_next:
+0x524f 020560 increase 128 ,regb 
+0x5250 020561 increase 1 ,queue 
+0x5251 020562 setarg 8 
+0x5252 020563 isub queue ,null 
+0x5253 020564 branch l2cap_malloc_loop ,positive 
+0x5254 020565 arg 0 ,regb 
+:      020566 l2cap_malloc_rtn:
+0x5255 020567 copy regb ,pdata 
+0x5256 020568 branch assert ,blank 
+0x5257 020569 rtn 
+:      020577 l2cap_malloc_fifo_out:
+0x5258 020578 bpatchx patch24_3 ,mem_patch24 
+0x5259 020579 call l2cap_malloc_fifo_get_first_ptr 
+0x525a 020580 increase 1 ,contr 
+0x525b 020581 ifetch 2 ,contr 
+0x525c 020582 rtn 
+:      020588 l2cap_malloc_free:
+0x525d 020589 bpatchx patch24_4 ,mem_patch24 
+0x525e 020590 call l2cap_malloc_fifo_get_first_ptr 
+0x525f 020591 copy contr ,contw 
+0x5260 020592 copy contr ,temp 
+0x5261 020593 setarg 0 
+0x5262 020594 istore 3 ,contw 
+0x5263 020595 rtn 
+:      020600 l2cap_malloc_discard:
+0x5264 020601 bpatchx patch24_5 ,mem_patch24 
+0x5265 020602 call l2cap_malloc_is_fifo_empty 
+0x5266 020603 branch assert ,blank 
+0x5267 020604 fetch 3 ,mem_tx_fifo2 
+0x5268 020605 store 3 ,mem_tx_fifo3 
+0x5269 020606 fetch 3 ,mem_tx_fifo1 
+0x526a 020607 store 3 ,mem_tx_fifo2 
+0x526b 020608 fetch 3 ,mem_tx_fifo0 
+0x526c 020609 store 3 ,mem_tx_fifo1 
+0x526d 020610 rtn 
+:      020616 l2cap_malloc_is_fifo_full:
+0x526e 020617 bpatchx patch24_6 ,mem_patch24 
+0x526f 020618 fetch 3 ,mem_tx_fifo0 
+0x5270 020619 rtn 
+:      020625 l2cap_malloc_is_fifo_nearly_full:
+0x5271 020626 bpatchx patch24_7 ,mem_patch24 
+0x5272 020627 fetch 3 ,mem_tx_fifo1 
+0x5273 020628 rtn 
+:      020634 l2cap_malloc_is_fifo_empty:
+0x5274 020635 bpatchx patch25_0 ,mem_patch25 
+0x5275 020636 fetch 3 ,mem_tx_fifo3 
+0x5276 020637 rtn 
+:      020642 l2cap_malloc_fifo_get_first_ptr:
+0x5277 020643 call l2cap_malloc_is_fifo_empty 
+0x5278 020644 branch assert ,blank 
+0x5279 020645 arg mem_tx_fifo0 ,contr 
+:      020646 l2cap_malloc_free_loop:
+0x527a 020647 ifetch 3 ,contr 
+0x527b 020648 branch l2cap_malloc_free_loop ,blank 
+0x527c 020649 increase -3 ,contr 
+0x527d 020650 rtn 
+:      020657 l2cap_malloc_get_full_map:
+0x527e 020658 bpatchx patch25_1 ,mem_patch25 
+0x527f 020659 arg 4 ,loopcnt 
+0x5280 020660 arg mem_tx_fifo0_map ,contr 
+0x5281 020661 arg 0 ,temp 
+:      020662 l2cap_malloc_get_full_map_loop:
+0x5282 020663 ifetch 3 ,contr 
+0x5283 020664 and pdata ,0xff ,pdata 
+0x5284 020665 ior temp ,temp 
+0x5285 020666 loop l2cap_malloc_get_full_map_loop 
+0x5286 020667 storet 1 ,mem_used_map 
+0x5287 020668 rtn 
+:      020676 l2cap_malloc_into_fifo:
+0x5288 020677 bpatchx patch25_2 ,mem_patch25 
+0x5289 020678 call l2cap_malloc_is_fifo_full 
+0x528a 020679 nbranch assert ,blank 
+0x528b 020680 call l2cap_malloc_is_fifo_empty 
+0x528c 020681 branch l2cap_malloc_into_fifo_no_push ,blank 
+0x528d 020682 fetch 3 ,mem_tx_fifo1 
+0x528e 020683 store 3 ,mem_tx_fifo0 
+0x528f 020684 ifetch 3 ,contr 
+0x5290 020685 istore 3 ,contw 
+0x5291 020686 ifetch 3 ,contr 
+0x5292 020687 istore 3 ,contw 
+0x5293 020688 setarg 0 
+0x5294 020689 istore 3 ,contw 
+:      020690 l2cap_malloc_into_fifo_no_push:
+0x5295 020691 arg 0 ,temp 
+0x5296 020692 copy timeup ,pdata 
+0x5297 020693 iadd queue ,pdata 
+:      020694 l2cap_malloc_into_fifo_loop:
+0x5298 020695 qset1 temp 
+0x5299 020696 increase 1 ,queue 
+0x529a 020697 isub queue ,null 
+0x529b 020698 nbranch l2cap_malloc_into_fifo_loop ,zero 
+0x529c 020700 lshift8 regb ,pdata 
+0x529d 020701 ior temp ,pdata 
+0x529e 020702 store 3 ,mem_tx_fifo3 
+0x529f 020703 rtn 
+:      020713 l2cap_malloc_enough:
+0x52a0 020714 bpatchx patch25_3 ,mem_patch25 
+0x52a1 020715 call l2cap_malloc_get_full_map 
+0x52a2 020716 copy queue ,regc 
+0x52a3 020717 arg 0 ,temp 
+0x52a4 020718 arg 0 ,timeup 
+:      020720 l2cap_malloc_enough_loop:
+0x52a5 020721 copy queue ,pdata 
+0x52a6 020722 beq 8 ,l2cap_malloc_enough_end 
+0x52a7 020723 fetch 1 ,mem_used_map 
+0x52a8 020724 qisolate1 pdata 
+0x52a9 020725 branch l2cap_malloc_enough_end ,true 
+0x52aa 020726 increase 128 ,temp 
+0x52ab 020727 increase 1 ,queue 
+0x52ac 020728 copy rega ,pdata 
+0x52ad 020729 isub temp ,null 
+0x52ae 020730 branch l2cap_malloc_enough_end ,zero 
+0x52af 020731 branch l2cap_malloc_enough_loop ,positive 
+:      020732 l2cap_malloc_enough_end:
+0x52b0 020733 copy temp ,pdata 
+0x52b1 020734 isub rega ,null 
+0x52b2 020735 nbranch l2cap_malloc_enough_rtn ,positive 
+0x52b3 020736 copy queue ,pdata 
+0x52b4 020737 copy regc ,temp 
+0x52b5 020738 isub temp ,timeup 
+:      020739 l2cap_malloc_enough_rtn:
+0x52b6 020740 copy regc ,queue 
+0x52b7 020741 rtn 
+:      020744 l2cap_malloc_signal_channel:
+0x52b8 020745 bpatchx patch25_4 ,mem_patch25 
+0x52b9 020746 arg l2cap_signal_malloc_size ,rega 
+0x52ba 020747 call l2cap_malloc 
+0x52bb 020748 store 2 ,mem_l2cap_signal_tx_buff_ptr 
+0x52bc 020749 increase 4 ,pdata 
+0x52bd 020750 store 2 ,mem_l2cap_signal_tx_payload_ptr 
+0x52be 020751 setarg 0 
+0x52bf 020752 store 2 ,mem_l2cap_signal_tx_length 
+0x52c0 020753 rtn 
+:      020755 l2cap_get_signal_tx_buff:
+0x52c1 020756 fetch 2 ,mem_l2cap_signal_tx_buff_ptr 
+0x52c2 020757 branch l2cap_util_pdata_to_contw 
+:      020759 l2cap_get_signal_tx_payload:
+0x52c3 020760 fetch 2 ,mem_l2cap_signal_tx_payload_ptr 
+0x52c4 020761 branch l2cap_util_pdata_to_contw 
+:      020764 l2cap_malloc_sdp_channel:
+0x52c5 020765 bpatchx patch25_5 ,mem_patch25 
+0x52c6 020766 arg sdp_malloc_size ,rega 
+0x52c7 020767 call l2cap_malloc 
+0x52c8 020768 store 2 ,mem_sdp_tx_buff_ptr 
+0x52c9 020769 increase 4 ,pdata 
+0x52ca 020770 store 2 ,mem_sdp_tx_payload_ptr 
+0x52cb 020771 setarg 0 
+0x52cc 020772 store 2 ,mem_sdp_tx_pkt_length 
+0x52cd 020773 rtn 
+:      020775 l2cap_get_sdp_tx_buff:
+0x52ce 020776 fetch 2 ,mem_sdp_tx_buff_ptr 
+0x52cf 020777 branch l2cap_util_pdata_to_contw 
+:      020779 l2cap_get_sdp_tx_payload:
+0x52d0 020780 fetch 2 ,mem_sdp_tx_payload_ptr 
+0x52d1 020781 branch l2cap_util_pdata_to_contw 
+:      020784 l2cap_malloc_rfcomm_channel:
+0x52d2 020785 bpatchx patch25_6 ,mem_patch25 
+0x52d3 020786 call push_stack 
+0x52d4 020787 jam rfcomm_malloc_fail ,mem_rfcomm_malloc_fail_flag 
+0x52d5 020788 call l2cap_malloc_is_fifo_full 
+0x52d6 020789 nrtn blank 
+0x52d7 020790 arg rfcomm_malloc_size ,rega 
+0x52d8 020791 call l2cap_malloc 
+0x52d9 020792 store 2 ,mem_rfcomm_tx_buff_ptr 
+0x52da 020793 increase 4 ,pdata 
+0x52db 020794 store 2 ,mem_rfcomm_tx_payload_ptr 
+0x52dc 020795 setarg 0 
+0x52dd 020796 store 2 ,mem_rfcomm_tx_pkt_length 
+0x52de 020797 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+0x52df 020798 branch pop_stack 
+:      020800 l2cap_get_rfcomm_tx_buff:
+0x52e0 020801 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+0x52e1 020802 branch l2cap_util_pdata_to_contw 
+:      020804 l2cap_util_pdata_to_contw:
+0x52e2 020805 branch assert ,blank 
+0x52e3 020806 copy pdata ,contw 
+0x52e4 020807 rtn 
+:      020810 l2cap_lpm_save_calc_len:
+0x52e5 020811 bpatchx patch25_7 ,mem_patch25 
+0x52e6 020812 arg 0 ,regb 
+0x52e7 020813 arg mem_tx_fifo0_map ,rega 
+0x52e8 020814 increase -2 ,rega 
+:      020815 l2cap_lpm_save_calc_len_loop:
+0x52e9 020816 increase 2 ,rega 
+0x52ea 020817 setarg mem_tx_fifo_end 
+0x52eb 020818 isub rega ,null 
+0x52ec 020819 branch l2cap_lpm_save_calc_len_end ,zero 
+0x52ed 020820 ifetch 1 ,rega 
+0x52ee 020821 increase 1 ,rega 
+0x52ef 020822 branch l2cap_lpm_save_calc_len_loop ,blank 
+0x52f0 020823 ifetcht 2 ,rega 
+0x52f1 020824 ifetch 2 ,temp 
+0x52f2 020825 iadd regb ,regb 
+0x52f3 020826 increase 4 ,regb 
+0x52f4 020827 branch l2cap_lpm_save_calc_len_loop 
+:      020828 l2cap_lpm_save_calc_len_end:
+0x52f5 020829 copy regb ,pdata 
+0x52f6 020830 rtn 
+:      020833 l2cap_lpm_get_wake_lock:
+0x52f7 020834 arg wake_lock_l2cap_tx ,queue 
+0x52f8 020835 branch lpm_get_wake_lock 
+:      020837 l2cap_lpm_put_wake_lock:
+0x52f9 020838 arg wake_lock_l2cap_tx ,queue 
+0x52fa 020839 branch lpm_put_wake_lock 
+:      020841 l2cap_lpm_save_txbuf:
+0x52fb 020842 bpatchx patch26_0 ,mem_patch26 
+0x52fc 020843 call l2cap_malloc_get_full_map 
+0x52fd 020844 fetch 1 ,mem_used_map 
+0x52fe 020845 rtn blank 
+0x52ff 020846 call l2cap_lpm_save_calc_len 
+0x5300 020847 arg l2cap_lpm_txbuf_len ,temp 
+0x5301 020848 isub temp ,null 
+0x5302 020849 branch l2cap_lpm_get_wake_lock ,positive 
+0x5303 020850 call l2cap_lpm_put_wake_lock 
+0x5304 020851 arg mem_l2cap_lpm_txbuf ,contw 
+0x5305 020852 arg mem_tx_fifo0 ,rega 
+:      020853 l2cap_lpm_save_txbuf_loop:
+0x5306 020854 setarg mem_tx_fifo_end 
+0x5307 020855 isub rega ,null 
+0x5308 020856 rtn zero 
+0x5309 020857 ifetch 1 ,rega 
+0x530a 020858 increase 1 ,rega 
+0x530b 020859 nbranch l2cap_lpm_save_txbuf_nempty ,blank 
+0x530c 020860 istore 2 ,contw 
+0x530d 020861 increase 2 ,rega 
+0x530e 020862 branch l2cap_lpm_save_txbuf_loop 
+:      020863 l2cap_lpm_save_txbuf_nempty:
+0x530f 020864 ifetch 2 ,rega 
+0x5310 020865 increase 2 ,rega 
+0x5311 020866 copy pdata ,contr 
+0x5312 020867 ifetch 2 ,contr 
+0x5313 020868 istore 2 ,contw 
+0x5314 020869 copy pdata ,loopcnt 
+0x5315 020870 increase 2 ,loopcnt 
+0x5316 020871 call memcpy 
+0x5317 020872 branch l2cap_lpm_save_txbuf_loop 
+:      020874 l2cap_lpm_load_txbuf:
+0x5318 020875 bpatchx patch26_1 ,mem_patch26 
+0x5319 020876 call l2cap_malloc_get_full_map 
+0x531a 020877 fetch 1 ,mem_used_map 
+0x531b 020878 rtn blank 
+0x531c 020879 arg mem_tx_fifo0_ptr ,rega 
+0x531d 020880 increase -3 ,rega 
+0x531e 020881 arg mem_l2cap_lpm_txbuf ,contr 
+:      020882 l2cap_lpm_load_txbuf_loop:
+0x531f 020883 increase 3 ,rega 
+0x5320 020884 setarg mem_tx_fifo_end + 1 
+0x5321 020885 isub rega ,null 
+0x5322 020886 rtn zero 
+0x5323 020887 ifetch 2 ,contr 
+0x5324 020888 branch l2cap_lpm_load_txbuf_loop ,blank 
+0x5325 020889 increase 4 ,pdata 
+0x5326 020890 copy pdata ,loopcnt 
+0x5327 020891 copy contr ,regb 
+0x5328 020892 ifetch 2 ,rega 
+0x5329 020893 copy pdata ,contw 
+0x532a 020894 copy regb ,contr 
+0x532b 020895 increase -2 ,contr 
+0x532c 020896 call memcpy 
+0x532d 020897 branch l2cap_lpm_load_txbuf_loop 
+:      020907 le_init_conn:
+0x532e 020908 bpatchx patch26_2 ,mem_patch26 
+0x532f 020909 disable wake 
+0x5330 020910 jam 1 ,mem_le_conn_handle 
+0x5331 020911 jam 3 ,mem_le_state 
+0x5332 020912 jam 1 ,mem_le_arq 
+0x5333 020913 setarg -1 
+0x5334 020914 store 2 ,mem_le_event_count 
+0x5335 020915 force 0 ,pdata 
+0x5336 020916 store 1 ,mem_le_ch 
+0x5337 020917 store 1 ,mem_le_op 
+0x5338 020918 store 3 ,mem_sniff_rcv 
+0x5339 020919 store 3 ,mem_sniff_lost 
+0x533a 020920 store 5 ,mem_le_pcnt_tx 
+0x533b 020921 set1 39 ,pdata 
+0x533c 020922 store 5 ,mem_le_pcnt_rx 
+0x533d 020923 jam 1 ,mem_le_txheader 
+0x533e 020924 jam 0 ,mem_le_txlen 
+0x533f 020925 branch le_supervision_flush 
+:      020927 le_init_master:
+0x5340 020928 bpatchx patch26_3 ,mem_patch26 
+0x5341 020929 enable master 
+0x5342 020930 jam lemode_master ,mem_le_mode 
+0x5343 020931 jam 1 ,mem_le_att_handle 
+0x5344 020932 jam 1 ,mem_le_search_handle_start 
+0x5345 020933 setarg 0xffff 
+0x5346 020934 store 2 ,mem_le_search_handle_end 
+0x5347 020935 force 0 ,pdata 
+0x5348 020936 store 5 ,mem_le_pcnt_rx 
+0x5349 020937 set1 39 ,pdata 
+0x534a 020938 store 5 ,mem_le_pcnt_tx 
+0x534b 020939 branch le_init_conn 
+:      020942 le_init_slave:
+0x534c 020943 bpatchx patch26_4 ,mem_patch26 
+0x534d 020944 disable master 
+0x534e 020945 setarg 0x17 
+0x534f 020946 store 2 ,mem_le_remote_mtu 
+0x5350 020947 jam lemode_slave ,mem_le_mode 
+0x5351 020948 jam 0 ,mem_le_adv_enable 
+0x5352 020949 jam 0 ,mem_lpm_current_mult 
+0x5353 020950 jam flag_le_pairing_null ,mem_le_pairing_state 
+0x5354 020951 jam flag_le_enc_null ,mem_le_enc_state 
+0x5355 020952 fetch 2 ,mem_le_superto 
+0x5356 020953 store 2 ,mem_le_init_superto 
+0x5357 020954 fetch 2 ,mem_le_tsniff 
+0x5358 020955 mul32 pdata ,5 ,pdata 
+0x5359 020956 rshift4 pdata ,pdata 
+0x535a 020957 store 2 ,mem_le_superto 
+0x535b 020958 branch le_init_conn 
+:      020964 le_dispatch:
+0x535c 020965 call le_enable 
+0x535d 020966 call le_scan 
+0x535e 020967 call le_adv 
+0x535f 020968 branch le_disable 
+:      020970 le_conn_dispatch:
+0x5360 020971 bpatchx patch26_5 ,mem_patch26 
+0x5361 020972 call le_enable 
+0x5362 020973 call app_process_ble 
+0x5363 020974 fetch 1 ,mem_le_mode 
+0x5364 020975 beq lemode_master ,le_master_dispatch 
+0x5365 020976 branch le_slave_dispatch 
+:      020982 le_master_dispatch:
+0x5366 020983 bpatchx patch26_6 ,mem_patch26 
+0x5367 020984 enable master 
+0x5368 020985 call le_supervision_update 
+0x5369 020986 branch le_master_disconn ,positive 
+0x536a 020987 call check_ble_disabled 
+0x536b 020988 call le_setup 
+0x536c 020989 call le_prepare_tx 
+0x536d 020990 disable match 
+0x536e 020991 call le_transmit_receive_sifs 
+0x536f 020992 nrtn match 
+0x5370 020993 bpatchx patch26_7 ,mem_patch26 
+0x5371 020994 fetch 1 ,mem_le_conn_rcv 
+0x5372 020995 increase 1 ,pdata 
+0x5373 020996 store 1 ,mem_le_conn_rcv 
+0x5374 020997 call le_acknowledge 
+0x5375 020998 disable master 
+0x5376 020999 rtn 
+:      021001 le_master_disconn:
+0x5377 021002 call le_disconnect 
+0x5378 021003 disable master 
+0x5379 021004 rtn 
+:      021009 le_slave_dispatch:
+0x537a 021010 bpatchx patch27_0 ,mem_patch27 
+0x537b 021011 jam 0 ,mem_le_md_count 
+0x537c 021012 call sp_calc_sequence_256 
+0x537d 021013 call le_secure_connect_sm 
+0x537e 021014 disable attempt 
+0x537f 021015 call le_supervision_update 
+0x5380 021016 branch le_slave_disconn ,positive 
+0x5381 021017 call check_ble_disabled 
+0x5382 021018 call le_setup 
+0x5383 021019 call le_receive_slave 
+0x5384 021020 nbranch le_slave_unsync ,sync 
+0x5385 021021 call le_got_first_packet 
+0x5386 021022 branch le_slave_match ,match 
+0x5387 021023 branch le_slave_cont 
+:      021026 le_slave_match:
+0x5388 021027 bpatchx patch27_1 ,mem_patch27 
+0x5389 021028 fetch 1 ,mem_le_md_count 
+0x538a 021029 pincrease 1 
+0x538b 021030 store 1 ,mem_le_md_count 
+0x538c 021031 beq le_md_max_count ,le_slave_cont 
+0x538d 021032 call le_acknowledge 
+0x538e 021033 call le_prepare_tx 
+0x538f 021034 call le_transmit_norx 
+0x5390 021035 call le_parse 
+0x5391 021036 fetch 2 ,mem_cb_ble_transmit 
+0x5392 021037 call callback_func 
+0x5393 021038 call le_check_md 
+0x5394 021039 branch le_slave_more_data ,user 
+:      021040 le_slave_cont:
+0x5395 021041 bpatchx patch27_2 ,mem_patch27 
+0x5396 021042 call le_pairing_sm 
+0x5397 021043 call le_check_paring_time 
+0x5398 021044 call check_51cmd 
+0x5399 021045 fetch 1 ,mem_le_op 
+0x539a 021046 bbit1 op_disconn ,le_slave_disconn 
+:      021047 le_slave_unsync:
+0x539b 021048 bpatchx patch27_3 ,mem_patch27 
+0x539c 021049 call le_lpm_set_mult 
+0x539d 021050 call le_update_channel_map 
+0x539e 021051 call le_update_param 
+0x539f 021052 branch calc_clke_offset 
+:      021055 le_check_md:
+0x53a0 021056 disable user 
+0x53a1 021057 bmark1 mark_ble_rx_md ,enable_user 
+0x53a2 021058 bmark1 mark_ble_tx_md ,enable_user 
+0x53a3 021059 rtn 
+:      021062 le_slave_more_data:
+0x53a4 021063 bpatchx patch27_4 ,mem_patch27 
+0x53a5 021064 enable attempt 
+0x53a6 021065 call le_transmit_receive_sifs_notx 
+0x53a7 021066 branch le_slave_match ,match 
+0x53a8 021067 branch le_slave_cont 
+:      021069 le_slave_disconn:
+:      021072 le_disconnect:
+0x53a9 021073 bpatchx patch27_5 ,mem_patch27 
+0x53aa 021074 call le_clear_connection_info 
+0x53ab 021075 call app_disconn_reason_collect_ble 
+0x53ac 021076 call sp_initialize_256 
+0x53ad 021077 jam bt_evt_le_disconnected ,mem_fifo_temp 
+0x53ae 021078 branch ui_ipc_send_event 
+:      021080 le_clear_connection_info:
+0x53af 021081 setarg 0 
+0x53b0 021082 store 9 ,mem_le_tx_buff_used 
+0x53b1 021083 jam 0 ,mem_le_conn_handle 
+0x53b2 021084 jam lemode_idle ,mem_le_mode 
+0x53b3 021085 jam 0 ,mem_le_state 
+0x53b4 021086 jam flag_le_enc_null ,mem_le_enc_state 
+0x53b5 021087 jam flag_le_pairing_null ,mem_le_pairing_state 
+0x53b6 021088 rtn 
+:      021090 le_got_first_packet:
+0x53b7 021091 bpatchx patch27_6 ,mem_patch27 
+0x53b8 021092 fetch 1 ,mem_le_conn_rcv 
+0x53b9 021093 increase 1 ,pdata 
+0x53ba 021094 store 1 ,mem_le_conn_rcv 
+0x53bb 021095 fetch 1 ,mem_le_state 
+0x53bc 021096 rtnbit1 lestate_got_first_packet 
+0x53bd 021097 set1 lestate_got_first_packet 
+0x53be 021098 store 1 ,mem_le_state 
+0x53bf 021099 fetch 2 ,mem_le_init_superto 
+0x53c0 021100 store 2 ,mem_le_superto 
+0x53c1 021101 setarg 0 
+0x53c2 021102 store 4 ,mem_le_transmit_window 
+0x53c3 021103 rtn 
+:      021106 le_enable:
+0x53c4 021107 bpatchx patch27_7 ,mem_patch27 
+0x53c5 021108 jam 0x36 ,rf_adc_goff 
+0x53c6 021109 jam 0x5f ,rf_agc_nsat 
+0x53c7 021110 enable le 
+0x53c8 021111 jam 7 ,rfen_ulp 
+0x53c9 021112 call check_ble_disabled 
+0x53ca 021113 fetch 1 ,mem_250k_freq_enable 
+0x53cb 021114 rtn blank 
+0x53cc 021115 jam 0xb8 ,rf_iq_gain 
+0x53cd 021116 rtn 
+:      021118 le_disable:
+0x53ce 021119 bpatchx patch28_0 ,mem_patch28 
+0x53cf 021120 jam 0x2e ,rf_adc_goff 
+0x53d0 021121 jam 0xff ,rf_agc_nsat 
+0x53d1 021122 disable le 
+0x53d2 021123 jam 3 ,rfen_ulp 
+0x53d3 021124 arg 0 ,stop_watch 
+0x53d4 021125 rtn 
+:      021127 le_prep:
+0x53d5 021128 disable enable_crc 
+0x53d6 021129 disable enable_white 
+0x53d7 021130 fetch 3 ,mem_le_crcinit 
+0x53d8 021131 iforce crc24_init 
+0x53d9 021132 fetch 1 ,mem_le_ch_mapped 
+0x53da 021133 reverse pdata ,temp 
+0x53db 021134 set1 1 ,temp 
+0x53dc 021135 rshift temp ,white_init 
+0x53dd 021136 rtn 
+:      021139 lerx_setfreq:
+0x53de 021140 call le_setfreq 
+0x53df 021141 call set_freq_rx 
+0x53e0 021142 setarg param_pll_setup 
+0x53e1 021143 call sleep 
+0x53e2 021144 branch rf_rx_enable 
+:      021146 letx_setfreq:
+0x53e3 021147 branch txon ,match 
+:      021148 letx_setfreq0:
+0x53e4 021149 call le_setfreq 
+0x53e5 021150 branch set_freq_tx 
+:      021151 le_setfreq:
+0x53e6 021152 bpatchx patch28_1 ,mem_patch28 
+0x53e7 021153 call set_sync_on 
+0x53e8 021154 fetch 1 ,mem_le_testtype 
+0x53e9 021155 nbranch le_ctf_test ,blank 
+0x53ea 021156 fetch 1 ,mem_le_ch_mapped 
+0x53eb 021157 sub pdata ,36 ,null 
+0x53ec 021158 branch le_ctf_normal ,positive 
+0x53ed 021159 force 0 ,temp 
+0x53ee 021160 rtneq 37 
+0x53ef 021161 force 24 ,temp 
+0x53f0 021162 rtneq 38 
+0x53f1 021163 force 78 ,temp 
+0x53f2 021164 rtn 
+:      021166 le_ctf_normal:
+0x53f3 021167 sub pdata ,10 ,null 
+0x53f4 021168 branch le_ctf_low ,positive 
+0x53f5 021169 increase 1 ,pdata 
+:      021171 le_ctf_low:
+0x53f6 021172 lshift pdata ,pdata 
+0x53f7 021173 add pdata ,2 ,temp 
+0x53f8 021174 rtn 
+:      021176 le_ctf_test:
+0x53f9 021177 fetch 1 ,mem_le_ch_mapped 
+0x53fa 021178 lshift pdata ,temp 
+0x53fb 021179 rtn 
+:      021181 le_sca_map:
+0x53fc 021182 arg 500 ,temp 
+0x53fd 021183 rtn blank 
+0x53fe 021184 arg 250 ,temp 
+0x53ff 021185 rtneq 1 
+0x5400 021186 arg 150 ,temp 
+0x5401 021187 rtneq 2 
+0x5402 021188 arg 100 ,temp 
+0x5403 021189 rtneq 3 
+0x5404 021190 arg 75 ,temp 
+0x5405 021191 rtneq 4 
+0x5406 021192 arg 50 ,temp 
+0x5407 021193 rtneq 5 
+0x5408 021194 arg 40 ,temp 
+0x5409 021195 rtneq 6 
+0x540a 021196 arg 20 ,temp 
+0x540b 021197 rtn 
+:      021201 le_adv_access:
+0x540c 021202 setarg 0x8e89be 
+0x540d 021203 lshift8 pdata ,pdata 
+0x540e 021204 or_into 0xd6 ,pdata 
+0x540f 021205 iforce access 
+0x5410 021206 setarg 0x555555 
+0x5411 021207 store 3 ,mem_le_crcinit 
+0x5412 021208 rtn 
+:      021210 le_setup:
+0x5413 021211 bpatchx patch28_2 ,mem_patch28 
+0x5414 021212 enable swfine 
+0x5415 021213 fetch 4 ,mem_le_access 
+0x5416 021214 iforce access 
+0x5417 021215 call le_map_channel 
+0x5418 021216 setarg 0x200 
+0x5419 021217 branch le_setup_master ,master 
+0x541a 021218 fetch 2 ,mem_le_receive_window 
+0x541b 021219 rshift pdata ,pdata 
+:      021220 le_setup_master:
+0x541c 021221 arg param_pll_setup ,temp 
+0x541d 021222 iadd temp ,pdata 
+0x541e 021223 call ahead_window 
+0x541f 021224 deposit clke 
+0x5420 021225 store 6 ,mem_le_rxon_ts 
+0x5421 021226 rtn 
+:      021228 le_next_adv_channel:
+0x5422 021229 bpatchx patch28_3 ,mem_patch28 
+0x5423 021230 fetch 1 ,mem_le_ch_mapped 
+0x5424 021231 beq 37 ,le_next_adv_channel_curr_channel_37 
+0x5425 021232 beq 38 ,le_next_adv_channel_curr_channel_38 
+0x5426 021233 beq 39 ,le_next_adv_channel_curr_channel_39 
+0x5427 021234 branch le_next_adv_channel_curr_channel_39 
+:      021236 le_next_adv_channel_curr_channel_37:
+0x5428 021237 fetcht 1 ,mem_le_adv_channel_map 
+0x5429 021238 isolate1 bit_adv_channel_map_38 ,temp 
+0x542a 021239 branch set_le_next_adv_channel_38 ,true 
+0x542b 021240 isolate1 bit_adv_channel_map_39 ,temp 
+0x542c 021241 branch set_le_next_adv_channel_39 ,true 
+0x542d 021242 branch set_le_next_adv_channel_37 
+:      021245 le_next_adv_channel_curr_channel_38:
+0x542e 021246 fetcht 1 ,mem_le_adv_channel_map 
+0x542f 021247 isolate1 bit_adv_channel_map_39 ,temp 
+0x5430 021248 branch set_le_next_adv_channel_39 ,true 
+0x5431 021249 isolate1 bit_adv_channel_map_37 ,temp 
+0x5432 021250 branch set_le_next_adv_channel_37 ,true 
+0x5433 021251 branch set_le_next_adv_channel_38 
+:      021254 le_next_adv_channel_curr_channel_39:
+0x5434 021255 fetcht 1 ,mem_le_adv_channel_map 
+0x5435 021256 isolate1 bit_adv_channel_map_37 ,temp 
+0x5436 021257 branch set_le_next_adv_channel_37 ,true 
+0x5437 021258 isolate1 bit_adv_channel_map_38 ,temp 
+0x5438 021259 branch set_le_next_adv_channel_38 ,true 
+0x5439 021260 branch set_le_next_adv_channel_39 
+:      021264 set_le_next_adv_channel_37:
+0x543a 021265 jam 37 ,mem_le_ch_mapped 
+0x543b 021266 fetch 1 ,mem_le_adv_channel_map_temp 
+0x543c 021267 set1 bit_adv_channel_map_37 ,pdata 
+0x543d 021268 store 1 ,mem_le_adv_channel_map_temp 
+0x543e 021269 rtn 
+:      021271 set_le_next_adv_channel_38:
+0x543f 021272 jam 38 ,mem_le_ch_mapped 
+0x5440 021273 fetch 1 ,mem_le_adv_channel_map_temp 
+0x5441 021274 set1 bit_adv_channel_map_38 ,pdata 
+0x5442 021275 store 1 ,mem_le_adv_channel_map_temp 
+0x5443 021276 rtn 
+:      021278 set_le_next_adv_channel_39:
+0x5444 021279 jam 39 ,mem_le_ch_mapped 
+0x5445 021280 fetch 1 ,mem_le_adv_channel_map_temp 
+0x5446 021281 set1 bit_adv_channel_map_39 ,pdata 
+0x5447 021282 store 1 ,mem_le_adv_channel_map_temp 
+0x5448 021283 rtn 
+:      021287 le_context_nexthop:
+0x5449 021288 bpatchx patch28_4 ,mem_patch28 
+0x544a 021289 add rega ,coffset_mode ,contr 
+0x544b 021290 ifetch 1 ,contr 
+0x544c 021291 rtnbit0 mode_le 
+0x544d 021292 add rega ,coffset_le_event_cnt ,contw 
+0x544e 021293 ifetch 2 ,contw 
+0x544f 021294 increase 1 ,pdata 
+0x5450 021295 istore 2 ,contw 
+0x5451 021296 add rega ,coffset_le_hop ,contr 
+0x5452 021297 ifetch 1 ,contr 
+0x5453 021298 add rega ,coffset_le_ch ,contw 
+0x5454 021299 ifetcht 1 ,contw 
+0x5455 021300 iadd temp ,pdata 
+0x5456 021301 sub pdata ,36 ,null 
+0x5457 021302 branch le_nexthop_nowrap ,positive 
+0x5458 021303 increase -37 ,pdata 
+:      021304 le_nexthop_nowrap:
+0x5459 021305 istore 1 ,contw 
+0x545a 021306 rtn 
+:      021309 le_calc_channel_map:
+0x545b 021310 bpatchx patch28_5 ,mem_patch28 
+0x545c 021311 fetch 5 ,mem_le_channel_map 
+0x545d 021312 force 0 ,temp 
+0x545e 021313 force 37 ,loopcnt 
+:      021314 le_count_channels_loop:
+0x545f 021315 bbit0 0 ,le_count_channels_notused 
+0x5460 021316 increase 1 ,temp 
+:      021317 le_count_channels_notused:
+0x5461 021318 rshift pdata ,pdata 
+0x5462 021319 loop le_count_channels_loop 
+0x5463 021320 add temp ,-1 ,pdata 
+0x5464 021321 store 1 ,mem_le_channels 
+0x5465 021322 rtn 
+:      021324 le_map_channel:
+0x5466 021325 bpatchx patch28_6 ,mem_patch28 
+0x5467 021326 fetch 1 ,mem_le_ch 
+0x5468 021327 iforce queue 
+0x5469 021328 fetcht 5 ,mem_le_channel_map 
+0x546a 021329 qisolate1 temp 
+0x546b 021330 branch le_map_channel_end ,true 
+:      021331 le_map_channel_next:
+0x546c 021332 bpatchx patch28_7 ,mem_patch28 
+0x546d 021333 fetch 1 ,mem_le_channels 
+0x546e 021334 isub queue ,pdata 
+0x546f 021335 branch le_map_channel_cont ,positive 
+0x5470 021336 sub pdata ,-1 ,queue 
+0x5471 021337 branch le_map_channel_next 
+:      021338 le_map_channel_cont:
+0x5472 021339 copy queue ,loopcnt 
+0x5473 021340 force 0 ,queue 
+:      021341 le_map_channel_loop:
+0x5474 021342 qisolate1 temp 
+0x5475 021343 branch le_map_channel_skip ,true 
+0x5476 021344 increase 1 ,loopcnt 
+:      021345 le_map_channel_skip:
+0x5477 021346 deposit loopcnt 
+0x5478 021347 branch le_map_channel_end ,blank 
+0x5479 021348 increase 1 ,queue 
+0x547a 021349 increase -1 ,loopcnt 
+0x547b 021350 branch le_map_channel_loop 
+:      021351 le_map_channel_end:
+0x547c 021352 deposit queue 
+0x547d 021353 store 1 ,mem_le_ch_mapped 
+0x547e 021354 rtn 
+:      021357 le_wait_tx:
+0x547f 021358 branch le_wait_master ,master 
+0x5480 021359 until null ,timeout 
+0x5481 021360 rtn 
+:      021362 le_wait_master:
+0x5482 021363 arg 0xea0 ,timeup 
+0x5483 021364 until clkn_rt ,meet 
+0x5484 021365 rtn 
+:      021367 le_receive_adv:
+0x5485 021368 disable swfine 
+0x5486 021369 fetch 2 ,mem_le_scan_window 
+0x5487 021370 copy pdata ,timeup 
+0x5488 021371 branch le_receive_packet 
+:      021374 le_receive_slave:
+0x5489 021375 bpatchx patch29_0 ,mem_patch29 
+0x548a 021376 enable swfine 
+0x548b 021377 fetch 2 ,mem_le_receive_window 
+0x548c 021378 fetcht 4 ,mem_le_transmit_window 
+0x548d 021379 iadd temp ,timeup 
+:      021380 le_receive_packet:
+0x548e 021381 call lerx_setfreq 
+:      021382 le_receive_rxon:
+0x548f 021383 bpatchx patch29_1 ,mem_patch29 
+0x5490 021384 call le_prep 
+0x5491 021385 disable match 
+0x5492 021386 enable decode_fec0 
+0x5493 021387 enable is_rx 
+0x5494 021388 disable is_tx 
+0x5495 021389 copy timeup ,stop_watch 
+0x5496 021390 correlate null ,timeout 
+0x5497 021391 branch le_receive_on_attempt ,attempt 
+0x5498 021392 copy clke ,temp 
+0x5499 021393 storet 6 ,mem_sync_clke 
+:      021394 le_receive_on_attempt:
+0x549a 021395 nbranch end_of_packet ,sync 
+0x549b 021396 branch le_receive_skip ,attempt 
+0x549c 021397 arg param_clke_cal_le ,clke_rt 
+0x549d 021398 copy bt_clk ,clke_bt 
+0x549e 021399 fetch 1 ,mem_le_state 
+0x549f 021400 bbit0 lestate_got_first_packet ,le_receive_skip 
+0x54a0 021401 call lpm_adjust_clk ,wake 
+:      021402 le_receive_skip:
+0x54a1 021403 bpatchx patch29_2 ,mem_patch29 
+0x54a2 021404 call save_rssi 
+0x54a3 021405 enable enable_white 
+0x54a4 021406 enable enable_crc 
+0x54a5 021407 parse demod ,bucket ,8 
+0x54a6 021408 rshift3 pwindow ,pdata 
+0x54a7 021409 store 1 ,mem_le_rxbuf 
+0x54a8 021410 parse demod ,bucket ,8 
+0x54a9 021411 rshift3 pwindow ,pdata 
+0x54aa 021412 istore 1 ,contw 
+0x54ab 021413 and pdata ,0x3f ,loopcnt 
+0x54ac 021414 branch lerx_nopayload ,zero 
+:      021416 lerx_loop:
+0x54ad 021417 parse demod ,bucket ,8 
+0x54ae 021418 rshift3 pwindow ,pdata 
+0x54af 021419 istore 1 ,contw 
+0x54b0 021420 loop lerx_loop 
+:      021422 lerx_nopayload:
+0x54b1 021423 bpatchx patch29_3 ,mem_patch29 
+0x54b2 021424 parse demod ,bucket ,24 
+0x54b3 021425 enable swfine 
+0x54b4 021426 arg param_sifs ,stop_watch 
+0x54b5 021427 rshift32 pdata ,pdata 
+0x54b6 021428 rshift16 pdata ,pdata 
+0x54b7 021429 istore 3 ,contw 
+0x54b8 021430 branch end_of_packet ,crc_failed 
+0x54b9 021431 enable match 
+0x54ba 021432 fetch 1 ,mem_last_freq 
+0x54bb 021433 add pdata ,0 ,rega 
+0x54bc 021434 call rf_write_freq 
+0x54bd 021435 disable decode_fec0 
+0x54be 021436 branch set_sync_on 
+:      021438 le_transmit_receive_sifs:
+0x54bf 021439 bpatchx patch29_4 ,mem_patch29 
+0x54c0 021440 call le_transmit 
+:      021441 le_transmit_receive_sifs_notx:
+0x54c1 021442 fetcht 1 ,mem_last_freq 
+0x54c2 021443 call set_freq_rx 
+0x54c3 021444 call rf_rx_enable 
+0x54c4 021445 enable swfine 
+0x54c5 021446 arg 5500 ,timeup 
+0x54c6 021447 branch le_receive_rxon 
+:      021449 le_transmit_norx:
+0x54c7 021450 call le_transmit 
+0x54c8 021451 branch end_of_packet 
+:      021453 le_transmit:
+0x54c9 021454 bpatchx patch29_5 ,mem_patch29 
+0x54ca 021455 call le_prep 
+0x54cb 021456 call letx_setfreq 
+0x54cc 021457 branch le_transmit0 
+:      021459 le_transmit0:
+0x54cd 021460 set1 txgfsk ,radio_ctrl 
+0x54ce 021461 enable encode_fec0 
+0x54cf 021462 enable is_tx 
+0x54d0 021463 disable is_rx 
+0x54d1 021464 call le_wait_tx 
+0x54d2 021465 rshift16 access ,pdata 
+0x54d3 021466 rshift8 pdata ,pdata 
+0x54d4 021467 rshift4 pdata ,pdata 
+0x54d5 021468 inject mod ,40 
+0x54d6 021469 enable enable_white 
+0x54d7 021470 enable enable_crc 
+0x54d8 021471 bpatchx patch29_6 ,mem_patch29 
+0x54d9 021472 fetch 1 ,mem_le_txheader 
+0x54da 021473 inject mod ,8 
+0x54db 021474 ifetch 1 ,contr 
+0x54dc 021475 and pdata ,0x3f ,loopcnt 
+0x54dd 021476 inject mod ,8 
+0x54de 021477 branch letr_nopayload ,zero 
+:      021478 letr_loop:
+0x54df 021479 ifetch 1 ,contr 
+0x54e0 021480 inject mod ,8 
+0x54e1 021481 loop letr_loop 
+:      021483 letr_nopayload:
+0x54e2 021484 enable enable_parity 
+0x54e3 021485 inject mod ,24 
+0x54e4 021486 disable enable_parity 
+0x54e5 021487 until null ,tx_clear 
+0x54e6 021488 nop 100 
+0x54e7 021489 disable encode_fec0 
+0x54e8 021490 rtn 
+:      021492 le_send_adv_ind:
+0x54e9 021493 bpatchx patch29_7 ,mem_patch29 
+0x54ea 021494 fetch 1 ,mem_le_adv_type 
+0x54eb 021495 beq adv_direct_ind ,le_send_adv_direct_ind 
+0x54ec 021496 fetch 1 ,mem_le_adv_own_addr_type 
+0x54ed 021497 lshift4 pdata ,pdata 
+0x54ee 021498 lshift2 pdata ,pdata 
+0x54ef 021499 store 1 ,mem_le_txheader 
+0x54f0 021500 fetcht 1 ,mem_le_adv_data_len 
+0x54f1 021501 add temp ,6 ,pdata 
+0x54f2 021502 store 1 ,mem_le_txlen 
+0x54f3 021503 fetch 6 ,mem_le_lap 
+0x54f4 021504 store 6 ,mem_le_txpayload 
+0x54f5 021505 copy temp ,loopcnt 
+0x54f6 021506 arg mem_le_adv_data ,contr 
+0x54f7 021507 call memcpy_fast 
+0x54f8 021508 branch le_send_adv_transmit 
+:      021509 le_send_adv_direct_ind:
+0x54f9 021510 fetch 1 ,mem_le_adv_direct_addr_type 
+0x54fa 021511 lshift4 pdata ,pdata 
+0x54fb 021512 lshift2 pdata ,pdata 
+0x54fc 021513 increase 1 ,pdata 
+0x54fd 021514 store 1 ,mem_le_txheader 
+0x54fe 021515 setarg 12 
+0x54ff 021516 store 1 ,mem_le_txlen 
+0x5500 021517 fetch 6 ,mem_le_lap 
+0x5501 021518 store 6 ,mem_le_txpayload 
+0x5502 021519 fetch 6 ,mem_hci_plap 
+0x5503 021520 istore 6 ,contw 
+:      021521 le_send_adv_transmit:
+0x5504 021522 bpatchx patch2a_0 ,mem_patch2a 
+0x5505 021523 fetch 1 ,mem_le_adv_transmit 
+0x5506 021524 increase 1 ,pdata 
+0x5507 021525 store 1 ,mem_le_adv_transmit 
+0x5508 021526 arg 1800 ,stop_watch 
+0x5509 021527 disable match 
+0x550a 021528 branch le_transmit_receive_sifs 
+:      021530 le_send_scan_request:
+0x550b 021531 bpatchx patch2a_1 ,mem_patch2a 
+0x550c 021532 fetch 1 ,mem_le_scan_type 
+0x550d 021533 rtnne le_scan_type_active 
+0x550e 021534 fetch 1 ,mem_le_adv_transmit 
+0x550f 021535 increase 1 ,pdata 
+0x5510 021536 store 1 ,mem_le_adv_transmit 
+0x5511 021537 arg 0x0c03 ,temp 
+0x5512 021538 fetch 1 ,mem_le_scan_own_addr_type 
+0x5513 021539 nsetflag blank ,le_sender_addr_bit ,temp 
+0x5514 021540 copy rega ,pdata 
+0x5515 021541 nsetflag blank ,le_receiver_addr_bit ,temp 
+0x5516 021542 storet 2 ,mem_le_txheader 
+0x5517 021543 fetch 6 ,mem_le_lap 
+0x5518 021544 istore 6 ,contw 
+0x5519 021545 fetch 6 ,mem_le_plap 
+0x551a 021546 istore 6 ,contw 
+0x551b 021547 branch le_transmit_receive_sifs 
+:      021550 le_send_scan_response:
+0x551c 021551 bpatchx patch2a_2 ,mem_patch2a 
+0x551d 021552 arg scan_rsp ,temp 
+0x551e 021553 fetch 1 ,mem_le_adv_own_addr_type 
+0x551f 021554 nsetflag blank ,le_sender_addr_bit ,temp 
+0x5520 021555 storet 1 ,mem_le_txheader 
+0x5521 021556 fetcht 1 ,mem_le_scan_data_len 
+0x5522 021557 add temp ,6 ,pdata 
+0x5523 021558 store 1 ,mem_le_txlen 
+0x5524 021559 fetch 6 ,mem_le_lap 
+0x5525 021560 store 6 ,mem_le_txpayload 
+0x5526 021561 arg mem_le_scan_data ,contr 
+0x5527 021562 copy temp ,loopcnt 
+0x5528 021563 call memcpy_fast 
+0x5529 021564 call le_transmit_norx 
+0x552a 021565 branch le_adv_not_match 
+:      021567 le_connect_request:
+0x552b 021568 bpatchx patch2a_3 ,mem_patch2a 
+0x552c 021569 force -1 ,pdata 
+0x552d 021570 setsect 2 ,1 
+0x552e 021571 store 5 ,mem_le_channel_map 
+0x552f 021572 call le_calc_channel_map 
+0x5530 021573 force 4 ,loopcnt 
+0x5531 021574 arg mem_le_access ,contw 
+0x5532 021575 call generate_random_loop 
+0x5533 021576 fetch 2 ,mem_le_timeout 
+0x5534 021577 store 2 ,mem_le_superto 
+:      021578 le_con_req_hop_retry:
+0x5535 021579 random pdata 
+0x5536 021580 and_into 0xf ,pdata 
+0x5537 021581 sub pdata ,4 ,null 
+0x5538 021582 branch le_con_req_hop_retry ,positive 
+0x5539 021583 store 1 ,mem_le_hop 
+0x553a 021584 store 1 ,mem_tmp1 
+0x553b 021585 bpatchx patch2a_4 ,mem_patch2a 
+0x553c 021586 fetcht 2 ,mem_le_conn_interval 
+0x553d 021587 storet 2 ,mem_le_tsniff 
+0x553e 021588 copy temp ,regc 
+0x553f 021589 add clkn_bt ,7 ,pdata 
+0x5540 021590 idiv regc 
+0x5541 021591 call wait_div_end 
+0x5542 021592 remainder rega 
+0x5543 021593 isub rega ,pdata 
+0x5544 021594 iadd regc ,pdata 
+0x5545 021595 fetcht 2 ,mem_le_dsniff 
+0x5546 021596 iadd temp ,pdata 
+0x5547 021597 store 4 ,mem_le_anchor 
+0x5548 021598 isub clkn_bt ,rega 
+0x5549 021599 increase -6 ,rega 
+0x554a 021600 arg 0x2205 ,regb 
+0x554b 021601 fetch 1 ,mem_le_conn_own_addr_type 
+0x554c 021602 nsetflag blank ,le_sender_addr_bit ,regb 
+0x554d 021603 fetch 1 ,mem_le_conn_peer_addr_type 
+0x554e 021604 nsetflag blank ,le_receiver_addr_bit ,regb 
+0x554f 021605 copy regb ,pdata 
+0x5550 021606 store 2 ,mem_le_txheader 
+0x5551 021607 fetch 6 ,mem_le_lap 
+0x5552 021608 istore 6 ,contw 
+0x5553 021609 fetch 6 ,mem_le_plap 
+0x5554 021610 istore 6 ,contw 
+0x5555 021611 fetch 4 ,mem_le_access 
+0x5556 021612 istore 4 ,contw 
+0x5557 021613 random pdata 
+0x5558 021614 istore 2 ,contw 
+0x5559 021615 random pdata 
+0x555a 021616 istore 1 ,contw 
+0x555b 021617 force 2 ,pdata 
+0x555c 021618 istore 1 ,contw 
+0x555d 021619 rshift2 rega ,pdata 
+0x555e 021620 istore 2 ,contw 
+0x555f 021621 rshift2 regc ,pdata 
+0x5560 021622 istore 2 ,contw 
+0x5561 021623 bpatchx patch2a_5 ,mem_patch2a 
+0x5562 021624 setarg 0 
+0x5563 021625 istore 2 ,contw 
+0x5564 021626 fetch 2 ,mem_le_timeout 
+0x5565 021627 istore 2 ,contw 
+0x5566 021628 fetch 5 ,mem_le_channel_map 
+0x5567 021629 istore 5 ,contw 
+0x5568 021630 fetch 1 ,mem_le_hop 
+0x5569 021631 arg param_le_sca ,temp 
+0x556a 021632 ior temp ,pdata 
+0x556b 021633 istore 1 ,contw 
+0x556c 021634 call le_transmit_norx 
+0x556d 021635 setarg mem_le_txheader 
+0x556e 021636 add pdata ,18 ,contr 
+0x556f 021637 ifetch 3 ,contr 
+0x5570 021638 store 3 ,mem_le_crcinit 
+0x5571 021639 rtn 
+:      021641 le_init_adv:
+0x5572 021642 bpatchx patch2a_6 ,mem_patch2a 
+0x5573 021643 disable master 
+0x5574 021644 branch le_adv_access 
+:      021648 le_update_param:
+0x5575 021649 fetch 1 ,mem_le_state 
+0x5576 021650 rtnbit0 lestate_update_param 
+0x5577 021651 fetch 2 ,mem_le_event_count 
+0x5578 021652 fetcht 2 ,mem_le_instant 
+0x5579 021653 isub temp ,pdata 
+0x557a 021654 nrtn positive 
+0x557b 021655 store 2 ,mem_pdatatemp 
+0x557c 021656 bpatchx patch2a_7 ,mem_patch2a 
+0x557d 021657 fetch 1 ,mem_le_state 
+0x557e 021658 set0 lestate_update_param ,pdata 
+0x557f 021659 set0 lestate_got_first_packet ,pdata 
+0x5580 021660 store 1 ,mem_le_state 
+0x5581 021661 fetch 4 ,mem_le_anchor 
+0x5582 021662 fetcht 2 ,mem_le_tsniff 
+0x5583 021663 storet 2 ,mem_temp 
+0x5584 021664 isub temp ,rega 
+0x5585 021665 bpatchx patch2b_0 ,mem_patch2b 
+0x5586 021666 fetch 1 ,mem_le_new_param 
+0x5587 021667 store 1 ,mem_le_window_size 
+0x5588 021668 ifetcht 2 ,contr 
+0x5589 021669 ifetch 2 ,contr 
+0x558a 021670 lshift2 pdata ,pdata 
+0x558b 021671 store 2 ,mem_le_tsniff 
+0x558c 021672 lshift2 temp ,temp 
+0x558d 021673 iadd temp ,pdata 
+0x558e 021674 ifetcht 4 ,contr 
+0x558f 021675 storet 4 ,mem_le_slave_latency 
+0x5590 021676 iadd rega ,pdata 
+0x5591 021677 copy pdata ,regab 
+0x5592 021678 fetch 2 ,mem_le_tsniff 
+0x5593 021679 fetcht 2 ,mem_temp 
+0x5594 021680 isub temp ,pdata 
+0x5595 021681 fetcht 2 ,mem_pdatatemp 
+0x5596 021682 imul32 temp ,pdata 
+0x5597 021683 iadd regab ,pdata 
+0x5598 021684 store 4 ,mem_le_anchor 
+0x5599 021685 call le_receive_window_size 
+0x559a 021686 fetch 2 ,mem_le_superto 
+0x559b 021687 store 2 ,mem_le_init_superto 
+0x559c 021688 rtn 
+:      021691 le_update_channel_map:
+0x559d 021692 bpatchx patch2b_1 ,mem_patch2b 
+0x559e 021693 fetch 1 ,mem_le_state 
+0x559f 021694 rtnbit0 lestate_update_map 
+0x55a0 021695 fetch 2 ,mem_le_event_count 
+0x55a1 021696 fetcht 2 ,mem_le_instant 
+0x55a2 021697 isub temp ,pdata 
+0x55a3 021698 nrtn positive 
+0x55a4 021699 fetch 1 ,mem_le_state 
+0x55a5 021700 set0 lestate_update_map ,pdata 
+0x55a6 021701 store 1 ,mem_le_state 
+0x55a7 021702 fetch 5 ,mem_le_new_map 
+0x55a8 021703 store 5 ,mem_le_channel_map 
+0x55a9 021704 branch le_calc_channel_map 
+:      021707 le_acknowledge:
+0x55aa 021708 bpatchx patch2b_2 ,mem_patch2b 
+0x55ab 021709 call le_supervision_flush 
+0x55ac 021710 call le_check_wak 
+0x55ad 021711 fetch 1 ,mem_le_rxbuf 
+0x55ae 021712 isolate1 md ,pdata 
+0x55af 021713 setflag true ,mark_ble_rx_md ,mark 
+0x55b0 021714 rshift pdata ,pdata 
+0x55b1 021715 ixor temp ,pdata 
+0x55b2 021716 isolate1 nesn ,pdata 
+0x55b3 021717 setflag true ,mark_old_packet ,mark 
+0x55b4 021718 rtnmark1 mark_old_packet 
+0x55b5 021719 fetch 1 ,mem_le_rxbuf + 1 
+0x55b6 021720 branch le_ack_unenc ,blank 
+0x55b7 021721 fetch 1 ,mem_le_state 
+0x55b8 021722 bbit0 lestate_encryption ,le_ack_unenc 
+0x55b9 021723 call load_sk 
+0x55ba 021724 call le_decrypt 
+0x55bb 021725 nrtn blank 
+:      021726 le_ack_unenc:
+0x55bc 021727 fetcht 1 ,mem_le_arq 
+0x55bd 021728 setflip nesn ,temp 
+0x55be 021729 storet 1 ,mem_le_arq 
+0x55bf 021730 rtn 
+:      021733 le_check_wak:
+0x55c0 021734 bpatchx patch2b_3 ,mem_patch2b 
+0x55c1 021735 fetcht 1 ,mem_le_arq 
+0x55c2 021736 isolate0 wak ,temp 
+0x55c3 021737 rtn true 
+0x55c4 021738 fetch 1 ,mem_le_rxbuf 
+0x55c5 021739 lshift pdata ,pdata 
+0x55c6 021740 ixor temp ,pdata 
+0x55c7 021741 rtnbit0 sn 
+0x55c8 021742 set0 wak ,temp 
+0x55c9 021743 setflip sn ,temp 
+0x55ca 021744 storet 1 ,mem_le_arq 
+0x55cb 021745 compare 3 ,temp ,3 
+0x55cc 021746 nrtn true 
+0x55cd 021747 fetch 1 ,mem_le_txpayload 
+0x55ce 021748 beq ll_start_enc_req ,le_set_enc 
+0x55cf 021749 fetch 1 ,mem_le_enc_state 
+0x55d0 021750 beq flag_le_enc_pause ,le_clear_enc 
+0x55d1 021751 rtn 
+:      021754 le_set_enc:
+0x55d2 021755 fetch 1 ,mem_le_state 
+0x55d3 021756 set1 lestate_encryption ,pdata 
+0x55d4 021757 store 1 ,mem_le_state 
+0x55d5 021758 rtn 
+:      021760 le_clear_enc:
+0x55d6 021761 bpatchx patch2b_4 ,mem_patch2b 
+0x55d7 021762 jam flag_le_enc_null ,mem_le_enc_state 
+0x55d8 021763 arg 0 ,pdata 
+0x55d9 021764 store 4 ,mem_le_last_mic 
+0x55da 021765 store 5 ,mem_le_pcnt_tx 
+0x55db 021766 set1 39 ,pdata 
+0x55dc 021767 store 5 ,mem_le_pcnt_rx 
+0x55dd 021768 fetch 1 ,mem_le_state 
+0x55de 021769 set0 lestate_encryption ,pdata 
+0x55df 021770 store 1 ,mem_le_state 
+0x55e0 021771 rtn 
+:      021774 le_wait_adv:
+0x55e1 021775 bpatchx patch2b_5 ,mem_patch2b 
+0x55e2 021776 call le_next_adv_channel 
+0x55e3 021777 call le_receive_adv 
+0x55e4 021778 fetch 1 ,mem_le_adv_waitcnt 
+0x55e5 021779 increase 1 ,pdata 
+0x55e6 021780 store 1 ,mem_le_adv_waitcnt 
+0x55e7 021781 rtn 
+:      021784 le_scan:
+0x55e8 021785 bpatchx patch2b_6 ,mem_patch2b 
+0x55e9 021786 fetch 1 ,mem_le_scan_enable 
+0x55ea 021787 rtnne le_scan_enable 
+0x55eb 021788 arg le_scan_interval_timer ,queue 
+0x55ec 021789 call timer_check 
+0x55ed 021790 nrtn blank 
+0x55ee 021791 fetch 2 ,mem_le_scan_interval 
+0x55ef 021792 fetcht 2 ,mem_le_scan_window 
+0x55f0 021793 isub temp ,pdata 
+0x55f1 021794 arg le_scan_interval_timer ,queue 
+0x55f2 021795 call timer_init 
+0x55f3 021796 disable master 
+0x55f4 021797 call le_init_adv 
+0x55f5 021798 call le_wait_adv 
+0x55f6 021799 nrtn match 
+0x55f7 021800 bpatchx patch2b_7 ,mem_patch2b 
+0x55f8 021801 fetch 6 ,mem_le_rxbuf + 2 
+0x55f9 021802 store 6 ,mem_le_plap 
+0x55fa 021805 fetch 1 ,mem_le_adv_rcv 
+0x55fb 021806 increase 1 ,pdata 
+0x55fc 021807 store 1 ,mem_le_adv_rcv 
+0x55fd 021808 call le_create_conn 
+0x55fe 021809 rtn master 
+0x55ff 021810 call le_send_scan_request 
+0x5600 021811 nrtn match 
+0x5601 021812 bpatchx patch2c_0 ,mem_patch2c 
+0x5602 021813 fetch 1 ,mem_le_scanrsp_rcv 
+0x5603 021814 increase 1 ,pdata 
+0x5604 021815 store 1 ,mem_le_scanrsp_rcv 
+0x5605 021816 fetch 9 ,mem_le_rxbuf + 8 
+0x5606 021817 store 9 ,mem_tmp_buffer 
+0x5607 021818 rtn 
+:      021820 le_create_conn:
+0x5608 021821 bpatchx patch2c_1 ,mem_patch2c 
+0x5609 021822 fetch 1 ,mem_cmd_le_create_conn 
+0x560a 021823 rtnne hci_cmd_le_create_conn 
+0x560b 021824 fetch 6 ,mem_le_plap 
+0x560c 021825 fetcht 6 ,mem_le_conn_peer_addr 
+0x560d 021826 isub temp ,null 
+0x560e 021827 nrtn zero 
+0x560f 021828 call context_new 
+0x5610 021829 nrtn zero 
+0x5611 021830 call le_connect_request 
+0x5612 021831 call le_init_master 
+0x5613 021832 bpatchx patch2c_2 ,mem_patch2c 
+0x5614 021833 jam 0 ,mem_hci_cmd 
+0x5615 021834 jam 0 ,mem_le_peer_sca 
+0x5616 021835 jam 0 ,mem_le_scan_enable 
+0x5617 021836 jam 0 ,mem_cmd_le_create_conn 
+0x5618 021837 branch context_save 
+:      021839 le_scan_check_sender_addr_type:
+0x5619 021840 arg 1 ,rega 
+0x561a 021841 fetch 1 ,mem_le_rxbuf 
+0x561b 021842 rtnbit1 le_sender_addr_bit 
+0x561c 021843 arg 0 ,rega 
+0x561d 021844 rtn 
+:      021848 le_prepare_tx:
+0x561e 021849 bpatchx patch2c_3 ,mem_patch2c 
+0x561f 021850 fetch 1 ,mem_le_arq 
+0x5620 021851 rtnbit1 wak 
+0x5621 021852 call le_check_tx_md 
+0x5622 021853 call le_fifo_get_first_tx_ptr 
+0x5623 021854 branch le_send_empty ,blank 
+0x5624 021855 ifetch 1 ,contr 
+0x5625 021856 ifetcht 1 ,contr 
+0x5626 021857 copy temp ,rega 
+0x5627 021858 isub rega ,pdata 
+0x5628 021859 arg le_max_paket_len ,temp 
+0x5629 021860 call not_greater_than 
+0x562a 021861 copy pdata ,temp 
+0x562b 021862 ifetch 1 ,contr 
+0x562c 021863 copy pdata ,type 
+0x562d 021864 copy rega ,pdata 
+0x562e 021865 iadd contr ,contr 
+0x562f 021866 arg mem_le_txpayload ,contw 
+0x5630 021867 copy temp ,loopcnt 
+0x5631 021868 call memcpy 
+0x5632 021869 call le_update_tx_type 
+0x5633 021870 call le_send_packet 
+0x5634 021872 call le_fifo_get_first_tx_ptr 
+0x5635 021873 ifetch 1 ,contr 
+0x5636 021874 copy pdata ,rega 
+0x5637 021875 copy contr ,regc 
+0x5638 021876 ifetcht 1 ,contr 
+0x5639 021877 copy temp ,regb 
+0x563a 021878 isub regb ,pdata 
+0x563b 021879 arg le_max_paket_len ,temp 
+0x563c 021880 call not_greater_than 
+0x563d 021881 iadd regb ,pdata 
+0x563e 021882 istore 1 ,regc 
+0x563f 021883 isub rega ,null 
+0x5640 021884 nrtn zero 
+0x5641 021885 branch le_fifo_release_first_node 
+:      021888 le_check_tx_md:
+0x5642 021889 call le_check_continue 
+0x5643 021890 rtnmark1 mark_ble_tx_md 
+0x5644 021891 fetch 1 ,mem_le_configuration 
+0x5645 021892 bbit0 bit_ble_transmit_packet_by_md ,le_clear_md 
+0x5646 021893 call le_fifo_get_second_tx_ptr 
+0x5647 021894 branch le_clear_md ,blank 
+0x5648 021895 branch le_set_md 
+:      021898 le_check_continue:
+0x5649 021899 call le_fifo_get_first_tx_ptr 
+0x564a 021900 branch le_clear_md ,blank 
+0x564b 021901 ifetch 1 ,contr 
+0x564c 021902 ifetcht 1 ,contr 
+0x564d 021903 isub temp ,pdata 
+0x564e 021904 sub pdata ,le_max_paket_len ,null 
+0x564f 021905 branch le_clear_md ,positive 
+:      021906 le_set_md:
+0x5650 021907 set1 mark_ble_tx_md ,mark 
+0x5651 021908 rtn 
+:      021910 le_clear_md:
+0x5652 021911 set0 mark_ble_tx_md ,mark 
+0x5653 021912 rtn 
+:      021914 le_update_tx_type:
+0x5654 021915 copy rega ,pdata 
+0x5655 021916 rtn blank 
+0x5656 021917 arg llid_continue ,type 
+0x5657 021918 rtn 
+:      021921 le_att_check_notification_enable:
+0x5658 021922 bpatchx patch2c_4 ,mem_patch2c 
+0x5659 021923 increase 1 ,temp 
+0x565a 021924 call le_att_get_handle_ptr 
+0x565b 021925 increase -2 ,contr 
+0x565c 021926 ifetch 2 ,contr 
+0x565d 021927 arg client_charactertic_configuration ,temp 
+0x565e 021928 isub temp ,null 
+0x565f 021929 nrtn zero 
+0x5660 021930 increase 1 ,contr 
+0x5661 021931 copy contr ,rega 
+0x5662 021932 ifetch 1 ,contr 
+0x5663 021933 rtn 
+:      021936 le_send_empty:
+0x5664 021937 force 0 ,temp 
+0x5665 021938 force 1 ,type 
+:      021940 le_send_packet:
+0x5666 021941 bpatchx patch2c_5 ,mem_patch2c 
+0x5667 021942 storet 1 ,mem_le_txlen 
+0x5668 021943 fetcht 1 ,mem_le_arq 
+0x5669 021944 set1 wak ,temp 
+0x566a 021945 and temp ,0xfc ,pdata 
+0x566b 021946 ior type ,pdata 
+0x566c 021947 store 1 ,mem_le_arq 
+0x566d 021948 and_into 0x1f ,pdata 
+0x566e 021949 isolate1 mark_ble_tx_md ,mark 
+0x566f 021950 setflag true ,md ,pdata 
+0x5670 021951 store 1 ,mem_le_txheader 
+0x5671 021953 fetch 1 ,mem_le_txheader 
+0x5672 021954 compare 1 ,type ,3 
+0x5673 021955 nbranch le_send_no_txlen ,true 
+0x5674 021956 fetch 1 ,mem_le_txlen 
+0x5675 021957 rtn blank 
+:      021958 le_send_no_txlen:
+0x5676 021959 fetch 1 ,mem_le_state 
+0x5677 021960 rtnbit0 lestate_encryption 
+0x5678 021961 call load_sk 
+0x5679 021962 branch le_encrypt 
+:      021965 get_lpm_wake_ble_rx_lock:
+0x567a 021966 arg wake_lock_ble_rx ,queue 
+0x567b 021967 branch lpm_get_wake_lock 
+:      021969 put_lpm_wake_ble_rx_lock:
+0x567c 021970 arg wake_lock_ble_rx ,queue 
+0x567d 021971 branch lpm_put_wake_lock 
+:      021974 le_parse:
+0x567e 021975 bpatchx patch2c_6 ,mem_patch2c 
+0x567f 021976 rtnmark1 mark_old_packet 
+0x5680 021977 call le_fifo_check_full 
+0x5681 021978 nrtn blank 
+0x5682 021979 fetch 1 ,mem_le_rxbuf 
+0x5683 021980 and pdata ,0x3 ,pdata 
+0x5684 021981 store 1 ,mem_le_packet_llid 
+0x5685 021982 ifetch 1 ,contr 
+0x5686 021983 and pdata ,0x1f ,pdata 
+0x5687 021984 store 1 ,mem_le_packet_size 
+0x5688 021985 rtn blank 
+0x5689 021986 copy contr ,pdata 
+0x568a 021987 store 2 ,mem_le_payload_ptr 
+0x568b 021988 fetch 1 ,mem_le_packet_llid 
+0x568c 021989 beq llid_le_ll ,le_parse_ll 
+:      021990 le_parse_l2cap:
+0x568d 021991 call le_check_l2cap_complete 
+0x568e 021992 nbranch get_lpm_wake_ble_rx_lock ,user 
+0x568f 021993 call put_lpm_wake_ble_rx_lock 
+0x5690 021994 fetch 2 ,mem_le_payload_ptr 
+0x5691 021995 copy pdata ,contr 
+0x5692 021996 ifetch 2 ,contr 
+0x5693 021997 store 2 ,mem_le_l2cap_size 
+0x5694 021998 bpatchx patch2c_7 ,mem_patch2c 
+0x5695 021999 ifetch 2 ,contr 
+0x5696 022000 beq le_l2cap_cid_att ,le_parse_att 
+0x5697 022001 beq le_l2cap_cid_smp ,le_parse_smp 
+0x5698 022002 beq le_l2cap_cid_signal ,le_parse_signaling 
+0x5699 022003 rtn 
+:      022006 le_check_l2cap_complete:
+0x569a 022007 fetch 1 ,mem_le_packet_llid 
+0x569b 022008 beq llid_start ,le_check_l2cap_llid_start 
+0x569c 022009 beq llid_continue ,le_check_l2cap_llid_continue 
+0x569d 022010 rtn 
+:      022015 le_check_l2cap_cid_legal:
+0x569e 022016 call enable_user 
+0x569f 022017 arg le_l2cap_cid_att ,temp 
+0x56a0 022018 isub pdata ,null 
+0x56a1 022019 rtn zero 
+0x56a2 022020 arg le_l2cap_cid_signal ,temp 
+0x56a3 022021 isub pdata ,null 
+0x56a4 022022 rtn zero 
+0x56a5 022023 arg le_l2cap_cid_smp ,temp 
+0x56a6 022024 isub pdata ,null 
+0x56a7 022025 rtn zero 
+0x56a8 022026 branch disable_user 
+:      022029 le_check_l2cap_llid_start:
+0x56a9 022030 fetch 2 ,mem_le_payload_ptr 
+0x56aa 022031 copy pdata ,contr 
+0x56ab 022032 ifetch 2 ,contr 
+0x56ac 022033 store 2 ,mem_le_l2cap_size 
+0x56ad 022034 ifetch 2 ,contr 
+0x56ae 022035 call le_check_l2cap_cid_legal 
+0x56af 022036 nrtn user 
+0x56b0 022037 fetcht 1 ,mem_le_packet_size 
+0x56b1 022038 storet 1 ,mem_le_packet_len_recved 
+0x56b2 022039 fetch 2 ,mem_le_l2cap_size 
+0x56b3 022040 increase 4 ,pdata 
+0x56b4 022041 isub temp ,null 
+0x56b5 022042 branch enable_user ,zero 
+0x56b6 022043 fetch 1 ,mem_le_packet_size 
+0x56b7 022044 copy pdata ,loopcnt 
+0x56b8 022045 arg mem_le_l2capbuf ,contw 
+0x56b9 022046 fetch 2 ,mem_le_payload_ptr 
+0x56ba 022047 copy pdata ,contr 
+0x56bb 022048 call memcpy 
+0x56bc 022049 branch disable_user 
+:      022054 le_check_l2cap_continue_legal:
+0x56bd 022055 call enable_user 
+0x56be 022056 fetch 1 ,mem_le_packet_len_recved 
+0x56bf 022057 nrtn blank 
+0x56c0 022058 branch disable_user 
+:      022060 le_check_l2cap_llid_continue:
+0x56c1 022061 call le_check_l2cap_continue_legal 
+0x56c2 022062 nrtn user 
+0x56c3 022063 fetch 1 ,mem_le_packet_len_recved 
+0x56c4 022064 arg mem_le_l2capbuf ,contw 
+0x56c5 022065 iadd contw ,rega 
+0x56c6 022066 fetcht 1 ,mem_le_packet_size 
+0x56c7 022067 iadd temp ,pdata 
+0x56c8 022068 store 1 ,mem_le_packet_len_recved 
+0x56c9 022069 fetch 1 ,mem_le_packet_size 
+0x56ca 022070 copy pdata ,loopcnt 
+0x56cb 022071 copy rega ,contw 
+0x56cc 022072 fetch 2 ,mem_le_payload_ptr 
+0x56cd 022073 copy pdata ,contr 
+0x56ce 022074 call memcpy_fast 
+0x56cf 022075 setarg mem_le_l2capbuf 
+0x56d0 022076 store 2 ,mem_le_payload_ptr 
+0x56d1 022077 fetch 2 ,mem_le_l2cap_size 
+0x56d2 022078 increase 4 ,pdata 
+0x56d3 022079 fetcht 1 ,mem_le_packet_len_recved 
+0x56d4 022080 isub temp ,null 
+0x56d5 022081 branch enable_user ,zero 
+0x56d6 022082 branch disable_user 
+:      022088 le_get_search_att_type:
+0x56d7 022089 call store_contr 
+0x56d8 022090 arg mem_le_search_att_type_length ,contw 
+:      022091 le_get_search_common:
+0x56d9 022092 fetch 2 ,mem_le_l2cap_size 
+0x56da 022093 increase -5 ,pdata 
+:      022094 le_get_search_common2:
+0x56db 022095 istore 1 ,contw 
+0x56dc 022096 copy pdata ,loopcnt 
+0x56dd 022097 call get_contr 
+0x56de 022098 branch memcpy_fast 
+:      022100 le_get_search_att_uuid:
+0x56df 022101 call store_contr 
+0x56e0 022102 arg mem_le_search_uuid_length ,contw 
+0x56e1 022103 branch le_get_search_common 
+:      022107 le_writeatt_cb:
+0x56e2 022108 fetch 2 ,mem_cb_att_write 
+0x56e3 022109 branch callback_func 
+:      022111 le_supervision_update:
+0x56e4 022112 fetcht 4 ,mem_le_supervision_timer 
+0x56e5 022113 call get_clkbt 
+0x56e6 022114 isub temp ,timeup 
+0x56e7 022115 deposit timeup 
+0x56e8 022116 fetcht 2 ,mem_le_superto 
+0x56e9 022117 lshift4 temp ,temp 
+0x56ea 022118 lshift temp ,temp 
+0x56eb 022119 isub temp ,pdata 
+0x56ec 022120 rtn 
+:      022122 le_supervision_flush:
+0x56ed 022123 call get_clkbt 
+0x56ee 022124 store 4 ,mem_le_supervision_timer 
+0x56ef 022125 rtn 
+:      022128 le_adv:
+0x56f0 022129 jam 36 ,mem_le_ch_mapped 
+0x56f1 022130 jam 0 ,mem_le_adv_channel_map_temp 
+:      022131 le_adv_loop:
+0x56f2 022132 bpatchx patch2d_0 ,mem_patch2d 
+0x56f3 022133 fetch 1 ,mem_le_adv_enable 
+0x56f4 022134 rtn blank 
+0x56f5 022135 arg le_adv_interval_timer ,queue 
+0x56f6 022136 call timer_check 
+0x56f7 022137 nrtn blank 
+0x56f8 022138 bpatchx patch2d_1 ,mem_patch2d 
+:      022139 le_adv_loop_tx:
+0x56f9 022140 disable master 
+0x56fa 022141 enable swfine 
+0x56fb 022142 call le_init_adv 
+0x56fc 022143 call le_next_adv_channel 
+0x56fd 022144 call le_send_adv_ind 
+0x56fe 022145 nbranch le_adv_not_match ,match 
+0x56ff 022146 fetch 1 ,mem_le_req_rcv 
+0x5700 022147 increase 1 ,pdata 
+0x5701 022148 store 1 ,mem_le_req_rcv 
+0x5702 022149 fetch 1 ,mem_le_rxbuf 
+0x5703 022150 and pdata ,0x0f ,pdata 
+0x5704 022151 beq scan_req ,le_send_scan_response 
+0x5705 022152 beq connect_req ,le_parse_connect_req 
+:      022153 le_adv_not_match:
+0x5706 022154 bpatchx patch2d_2 ,mem_patch2d 
+0x5707 022155 random pdata 
+0x5708 022156 arg 0x1ff ,temp 
+0x5709 022157 iand temp ,pdata 
+0x570a 022158 add pdata ,250 ,pdata 
+0x570b 022159 call delay 
+0x570c 022160 fetch 1 ,mem_le_adv_channel_map_temp 
+0x570d 022161 fetcht 1 ,mem_le_adv_channel_map 
+0x570e 022162 isub temp ,null 
+0x570f 022163 nbranch le_adv_loop ,zero 
+0x5710 022164 arg le_adv_interval_timer ,queue 
+0x5711 022165 fetch 2 ,mem_le_adv_interval 
+0x5712 022166 branch timer_init 
+:      022169 le_receive_window_size:
+0x5713 022170 bpatchx patch2d_3 ,mem_patch2d 
+0x5714 022171 fetch 1 ,mem_le_peer_sca 
+0x5715 022172 call le_sca_map 
+0x5716 022173 fetch 2 ,mem_le_tsniff 
+0x5717 022174 imul32 temp ,pdata 
+0x5718 022175 arg 375 ,temp 
+0x5719 022176 imul32 temp ,pdata 
+0x571a 022177 arg 100000 ,temp 
+0x571b 022178 idiv temp 
+0x571c 022179 fetch 1 ,mem_le_window_size 
+0x571d 022180 arg 20000 ,temp 
+0x571e 022181 imul32 temp ,pdata 
+0x571f 022182 iadd temp ,pdata 
+0x5720 022183 store 4 ,mem_le_transmit_window 
+0x5721 022184 bpatchx patch2d_4 ,mem_patch2d 
+0x5722 022185 fetch 2 ,mem_rx_window_sniff 
+0x5723 022186 call wait_div_end 
+0x5724 022187 quotient temp 
+0x5725 022188 iadd temp ,pdata 
+0x5726 022189 store 2 ,mem_le_receive_window 
+0x5727 022190 rtn 
+:      022192 le_parse_connect_req:
+0x5728 022193 bpatchx patch2d_5 ,mem_patch2d 
+0x5729 022194 fetch 6 ,mem_le_rxbuf + 8 
+0x572a 022195 fetcht 6 ,mem_le_lap 
+0x572b 022196 isub temp ,null 
+0x572c 022197 nrtn zero 
+0x572d 022198 call le_scan_check_sender_addr_type 
+0x572e 022199 copy rega ,pdata 
+0x572f 022200 store 1 ,mem_le_conn_peer_addr_type 
+0x5730 022201 fetch 7 ,mem_le_rxbuf + 21 
+0x5731 022202 store 7 ,mem_tmp_buffer 
+0x5732 022203 ifetch 8 ,contr 
+0x5733 022204 istore 8 ,contw 
+0x5734 022205 fetch 6 ,mem_le_rxbuf + 2 
+0x5735 022206 store 6 ,mem_le_plap 
+0x5736 022207 increase 6 ,contr 
+0x5737 022208 ifetch 8 ,contr 
+0x5738 022209 store 8 ,mem_le_access 
+0x5739 022210 ifetcht 2 ,contr 
+0x573a 022211 bpatchx patch2d_6 ,mem_patch2d 
+0x573b 022212 lshift2 temp ,temp 
+0x573c 022213 ifetch 2 ,contr 
+0x573d 022214 lshift2 pdata ,pdata 
+0x573e 022215 store 2 ,mem_le_tsniff 
+0x573f 022216 store 4 ,mem_le_anchor 
+0x5740 022217 isub temp ,pdata 
+0x5741 022218 add pdata ,-2 ,clke_bt 
+0x5742 022219 ifetch 9 ,contr 
+0x5743 022220 store 9 ,mem_le_slave_latency 
+0x5744 022221 bpatchx patch2d_7 ,mem_patch2d 
+0x5745 022222 ifetch 1 ,contr 
+0x5746 022223 rshift4 pdata ,temp 
+0x5747 022224 rshift temp ,temp 
+0x5748 022225 storet 1 ,mem_le_peer_sca 
+0x5749 022226 and_into 0x1f ,pdata 
+0x574a 022227 store 1 ,mem_le_hop 
+0x574b 022228 call le_receive_window_size 
+0x574c 022229 call le_calc_channel_map 
+0x574d 022230 call le_init_slave 
+0x574e 022231 call context_new 
+0x574f 022232 nrtn zero 
+0x5750 022233 bpatchx patch2e_0 ,mem_patch2e 
+0x5751 022234 call calc_clke_offset 
+0x5752 022235 call le_l2cap_reset_signaling_identifier 
+0x5753 022236 jam bt_evt_le_connected ,mem_fifo_temp 
+0x5754 022237 call ui_ipc_send_event 
+0x5755 022238 branch context_save 
+:      022241 le_init_attlist_search:
+0x5756 022242 bpatchx patch2e_1 ,mem_patch2e 
+0x5757 022243 fetch 2 ,mem_le_search_handle_start 
+0x5758 022244 iforce regb 
+0x5759 022245 fetch 2 ,mem_le_search_handle_end 
+0x575a 022246 iforce regc 
+0x575b 022247 fetch 2 ,mem_ui_le_uuid_table 
+0x575c 022248 iforce contr 
+0x575d 022249 enable user 
+0x575e 022250 rtn 
+:      022253 le_att_handle_inrange:
+0x575f 022254 ifetch 2 ,contr 
+0x5760 022255 rtn blank 
+0x5761 022256 isub regb ,null 
+0x5762 022257 nrtn positive 
+0x5763 022258 isub regc ,null 
+0x5764 022259 rtn zero 
+0x5765 022260 branch le_att_handle_blank ,positive 
+0x5766 022261 force 1 ,null 
+0x5767 022262 rtn 
+:      022263 le_att_handle_blank:
+0x5768 022264 force 0 ,pdata 
+0x5769 022265 rtn 
+:      022269 le_att_get_handle_ptr:
+0x576a 022270 call le_att_get_handle_ptr2 
+0x576b 022271 branch le_att_get_handle_ptr_found ,zero 
+0x576c 022272 rtn 
+:      022274 le_att_get_handle_ptr2:
+0x576d 022275 bpatchx patch2e_2 ,mem_patch2e 
+0x576e 022276 fetch 2 ,mem_ui_le_uuid_table 
+0x576f 022277 iforce contr 
+:      022278 le_att_get_handle_loop1:
+0x5770 022279 ifetch 2 ,contr 
+0x5771 022280 rtn blank 
+0x5772 022281 isub temp ,null 
+0x5773 022282 rtn zero 
+0x5774 022283 ifetch 1 ,contr 
+0x5775 022284 iadd contr ,contr 
+0x5776 022285 ifetch 1 ,contr 
+0x5777 022286 iadd contr ,contr 
+0x5778 022287 branch le_att_get_handle_loop1 
+:      022288 le_att_get_handle_ptr_found:
+0x5779 022289 ifetch 1 ,contr 
+0x577a 022290 iadd contr ,contr 
+0x577b 022291 rtn 
+:      022295 le_att_get_short_uuid_ptr:
+0x577c 022296 bpatchx patch2e_3 ,mem_patch2e 
+0x577d 022297 fetch 2 ,mem_ui_le_uuid_table 
+0x577e 022298 iforce contr 
+:      022299 le_att_get_short_uuid_loop:
+0x577f 022300 ifetch 2 ,contr 
+0x5780 022301 rtn blank 
+0x5781 022302 ifetch 1 ,contr 
+0x5782 022303 iadd contr ,contr 
+0x5783 022304 increase -2 ,contr 
+0x5784 022305 ifetch 2 ,contr 
+0x5785 022306 isub temp ,null 
+0x5786 022307 rtn zero 
+0x5787 022308 ifetch 1 ,contr 
+0x5788 022309 iadd contr ,contr 
+0x5789 022310 branch le_att_get_short_uuid_loop 
+:      022314 le_att_get_handle_info_from_ptr:
+0x578a 022315 fetch 2 ,mem_le_cur_attlist_start_ptr 
+0x578b 022316 branch le_att_get_handle_info_fast 
+:      022318 le_att_get_handle_info:
+0x578c 022319 bpatchx patch2e_4 ,mem_patch2e 
+0x578d 022320 fetch 2 ,mem_ui_le_uuid_table 
+:      022321 le_att_get_handle_info_fast:
+0x578e 022322 iforce contr 
+0x578f 022323 copy temp ,rega 
+:      022324 le_att_get_handle_loop:
+0x5790 022325 ifetch 2 ,contr 
+0x5791 022326 branch le_att_unfind_handle ,blank 
+0x5792 022327 isub rega ,null 
+0x5793 022328 branch le_att_finded_handle ,zero 
+0x5794 022329 ifetch 1 ,contr 
+0x5795 022330 iadd contr ,contr 
+0x5796 022331 ifetch 1 ,contr 
+0x5797 022332 iadd contr ,contr 
+0x5798 022333 branch le_att_get_handle_loop 
+:      022334 le_att_unfind_handle:
+0x5799 022335 branch disable_blank 
+:      022337 le_att_finded_handle:
+0x579a 022338 ifetch 1 ,contr 
+0x579b 022339 store 1 ,mem_le_cur_uuid_length 
+0x579c 022340 copy pdata ,loopcnt 
+0x579d 022341 arg mem_le_cur_uuid ,contw 
+0x579e 022342 call memcpy_fast 
+0x579f 022343 ifetch 1 ,contr 
+0x57a0 022344 store 1 ,mem_le_curr_att_len 
+0x57a1 022345 call store_contr 
+0x57a2 022346 branch enable_blank 
+:      022349 le_modified_name:
+0x57a3 022350 bpatchx patch2e_5 ,mem_patch2e 
+0x57a4 022351 call le_modified_name_att_list 
+0x57a5 022352 branch le_modified_name_adv 
+:      022354 le_modified_name_att_list:
+0x57a6 022355 arg uuid_chrctr_device_name ,temp 
+0x57a7 022356 call le_att_get_short_uuid_ptr 
+0x57a8 022357 rtn blank 
+0x57a9 022358 ifetch 1 ,contr 
+0x57aa 022359 copy contr ,contw 
+0x57ab 022360 fetcht 1 ,mem_le_name_len 
+0x57ac 022361 copy temp ,loopcnt 
+0x57ad 022362 isub temp ,null 
+0x57ae 022363 nbranch le_name_length_longer_than_att ,positive 
+0x57af 022364 isub temp ,temp 
+0x57b0 022365 arg mem_le_name ,contr 
+0x57b1 022366 call memcpy 
+0x57b2 022367 copy temp ,loopcnt 
+0x57b3 022368 ncall memcpy_empty ,zero 
+0x57b4 022369 rtn 
+:      022370 le_name_length_longer_than_att:
+0x57b5 022371 copy pdata ,loopcnt 
+0x57b6 022372 arg mem_le_name ,contr 
+0x57b7 022373 branch memcpy_fast 
+:      022376 le_modified_name_adv:
+0x57b8 022377 arg mem_le_adv_data_len + 32 ,regc 
+0x57b9 022378 arg mem_le_adv_data ,rega 
+0x57ba 022379 call le_modified_name_adv_and_scan 
+0x57bb 022380 setarg 0 
+0x57bc 022381 setflag user ,0 ,pdata 
+0x57bd 022382 store 1 ,mem_pdatatemp 
+0x57be 022383 arg mem_le_scan_data_len + 32 ,regc 
+0x57bf 022384 arg mem_le_scan_data ,rega 
+0x57c0 022385 call le_modified_name_adv_and_scan 
+0x57c1 022386 rtn user 
+0x57c2 022387 fetch 1 ,mem_pdatatemp 
+0x57c3 022388 branch assert ,blank 
+0x57c4 022389 rtn 
+:      022392 le_modified_name_adv_and_scan:
+0x57c5 022393 bpatchx patch2e_6 ,mem_patch2e 
+0x57c6 022394 call enable_user 
+0x57c7 022395 call clear_temp_block 
+0x57c8 022396 arg 0 ,regb 
+0x57c9 022397 arg mem_le_data_temp ,contw 
+0x57ca 022398 call le_modified_name_adv_loop 
+0x57cb 022399 fetch 1 ,mem_le_name_len 
+0x57cc 022400 add pdata ,1 ,temp 
+0x57cd 022401 iadd regb ,rega 
+0x57ce 022402 increase 2 ,rega 
+0x57cf 022403 sub rega ,0x1f ,null 
+0x57d0 022404 nbranch le_modified_name_adv_and_scan_name_overflow ,positive 
+0x57d1 022405 istoret 1 ,contw 
+0x57d2 022406 arg gap_adtype_local_name_complete ,temp 
+0x57d3 022407 istoret 1 ,contw 
+0x57d4 022408 iforce loopcnt 
+0x57d5 022409 call memcpy_fast 
+0x57d6 022410 copy rega ,regb 
+:      022411 le_modified_name_adv_and_scan_store_data:
+0x57d7 022412 deposit regb 
+0x57d8 022413 store 1 ,mem_le_data_len_temp 
+0x57d9 022414 arg mem_le_data_len_temp ,contr 
+0x57da 022415 setarg -32 
+0x57db 022416 iadd regc ,contw 
+0x57dc 022417 branch memcpy32 
+:      022419 le_modified_name_adv_and_scan_name_overflow:
+0x57dd 022420 call disable_user 
+0x57de 022421 branch le_modified_name_adv_and_scan_store_data 
+:      022423 le_modified_name_adv_loop:
+0x57df 022424 ifetch 1 ,rega 
+0x57e0 022425 rtn blank 
+0x57e1 022426 pincrease 1 
+0x57e2 022427 ifetcht 1 ,contr 
+0x57e3 022428 sub temp ,gap_adtype_local_name_complete ,null 
+0x57e4 022429 branch le_modified_name_adv_found_name ,zero 
+0x57e5 022430 iadd regb ,regb 
+0x57e6 022431 copy rega ,contr 
+0x57e7 022432 iforce loopcnt 
+0x57e8 022433 call memcpy_fast 
+0x57e9 022434 copy contr ,rega 
+:      022435 le_modified_name_adv_loop2:
+0x57ea 022436 deposit rega 
+0x57eb 022437 isub regc ,null 
+0x57ec 022438 rtn positive 
+0x57ed 022439 branch le_modified_name_adv_loop 
+:      022441 le_modified_name_adv_found_name:
+0x57ee 022442 iadd rega ,rega 
+0x57ef 022443 branch le_modified_name_adv_loop2 
+:      022446 memcpy_empty:
+0x57f0 022447 setarg space 
+0x57f1 022448 istore 1 ,contw 
+0x57f2 022449 loop memcpy_empty 
+0x57f3 022450 rtn 
+:      022453 le_lpm_set_mult:
+0x57f4 022454 bpatchx patch2e_7 ,mem_patch2e 
+0x57f5 022455 disable wake 
+0x57f6 022456 branch le_lpm_set_mult_attempt ,attempt 
+0x57f7 022457 nbranch le_lpm_lost ,match 
+:      022458 le_lpm_set_mult_attempt:
+0x57f8 022459 call lpm_match 
+0x57f9 022460 fetch 2 ,mem_rx_window_sniff 
+0x57fa 022461 store 2 ,mem_le_receive_window 
+0x57fb 022463 nbranch lpm_mult_short ,match 
+0x57fc 022464 bmark1 mark_old_packet ,lpm_mult_short 
+0x57fd 022466 fetch 1 ,mem_le_packet_size 
+0x57fe 022467 nbranch lpm_mult_short ,blank 
+0x57ff 022468 fetch 1 ,mem_le_txlen 
+0x5800 022469 nbranch lpm_mult_short ,blank 
+0x5801 022471 fetch 1 ,mem_le_configuration 
+0x5802 022472 bbit1 bit_ble_short_mult ,lpm_mult_short 
+0x5803 022474 fetch 1 ,mem_le_state 
+0x5804 022475 bbit1 lestate_update_param ,lpm_mult_short 
+0x5805 022476 branch lpm_mult_wait_timeout 
+:      022478 le_lpm_lost:
+0x5806 022479 fetcht 2 ,mem_rx_window_sniff 
+0x5807 022480 rshift temp ,temp 
+0x5808 022481 fetch 2 ,mem_le_receive_window 
+0x5809 022482 iadd temp ,pdata 
+0x580a 022483 store 2 ,mem_le_receive_window 
+0x580b 022484 branch lpm_lost 
+:      022487 le_set_config_fixed_tk:
+0x580c 022488 arg bit_ble_passkey_fixed_key ,queue 
+0x580d 022489 branch le_set_config 
+:      022491 le_clr_config_fixed_tk:
+0x580e 022492 arg bit_ble_passkey_fixed_key ,queue 
+0x580f 022493 branch le_clr_config 
+:      022495 le_set_config_fixed_ltk:
+0x5810 022496 arg bit_ble_pairing_fixed_ltk ,queue 
+0x5811 022497 branch le_set_config 
+:      022499 le_clr_config_fixed_ltk:
+0x5812 022500 arg bit_ble_pairing_fixed_ltk ,queue 
+0x5813 022501 branch le_clr_config 
+:      022503 le_set_config_more_data:
+0x5814 022504 arg bit_ble_transmit_packet_by_md ,queue 
+0x5815 022505 branch le_set_config 
+:      022507 le_clr_config_more_data:
+0x5816 022508 arg bit_ble_transmit_packet_by_md ,queue 
+0x5817 022509 branch le_clr_config 
+:      022511 le_set_config_read_authentication:
+0x5818 022512 arg bit_ble_read_auth ,queue 
+0x5819 022513 branch le_set_config 
+:      022515 le_clr_config_read_authentication:
+0x581a 022516 arg bit_ble_read_auth ,queue 
+0x581b 022517 branch le_clr_config 
+:      022519 le_set_config_write_authentication:
+0x581c 022520 arg bit_ble_write_auth ,queue 
+0x581d 022521 branch le_set_config 
+:      022523 le_clr_config_write_authentication:
+0x581e 022524 arg bit_ble_write_auth ,queue 
+0x581f 022525 branch le_clr_config 
+:      022527 le_set_config_short_mult:
+0x5820 022528 arg bit_ble_short_mult ,queue 
+0x5821 022529 branch le_set_config 
+:      022531 le_clr_config_short_mult:
+0x5822 022532 arg bit_ble_short_mult ,queue 
+0x5823 022533 branch le_clr_config 
+:      022536 le_set_config:
+0x5824 022537 fetch 1 ,mem_le_configuration 
+0x5825 022538 qset1 pdata 
+0x5826 022539 store 1 ,mem_le_configuration 
+0x5827 022540 rtn 
+:      022542 le_clr_config:
+0x5828 022543 fetch 1 ,mem_le_configuration 
+0x5829 022544 qset0 pdata 
+0x582a 022545 store 1 ,mem_le_configuration 
+0x582b 022546 rtn 
+:      022548 le_set_fixed_ltk:
+0x582c 022549 setarg 0x112233 
+0x582d 022550 store 3 ,mem_le_fixed_ltk 
+0x582e 022551 setarg 0x445566 
+0x582f 022552 istore 3 ,contw 
+0x5830 022553 setarg 0x778899 
+0x5831 022554 istore 3 ,contw 
+0x5832 022555 setarg 0x001122 
+0x5833 022556 istore 3 ,contw 
+0x5834 022557 setarg 0x334455 
+0x5835 022558 istore 3 ,contw 
+0x5836 022559 setarg 0x66 
+0x5837 022560 istore 1 ,contw 
+0x5838 022561 rtn 
+:      022564 le_set_justwork:
+0x5839 022565 setarg 0x01000302 
+0x583a 022566 store 4 ,mem_le_pres 
+0x583b 022567 setarg 0x010010 
+0x583c 022568 store 3 ,mem_le_pres_max_keysize 
+0x583d 022569 jam 1 ,mem_le_pairing_mode 
+0x583e 022570 rtn 
+:      022574 le_fifo_malloc_tx_empty:
+0x583f 022575 arg 0 ,rega 
+0x5840 022576 arg llid_empty ,type 
+0x5841 022577 branch le_fifo_malloc_tx 
+:      022581 le_fifo_malloc_tx_ll:
+0x5842 022582 arg llid_le_ll ,type 
+0x5843 022583 call le_fifo_malloc_tx 
+0x5844 022584 copy regb ,pdata 
+0x5845 022585 istore 1 ,contw 
+0x5846 022586 rtn 
+:      022590 le_fifo_malloc_tx_l2cap:
+0x5847 022591 force llid_l2cap_start ,type 
+0x5848 022592 increase 4 ,rega 
+0x5849 022593 call le_fifo_malloc_tx 
+0x584a 022594 increase -4 ,rega 
+0x584b 022595 copy rega ,pdata 
+0x584c 022596 istore 2 ,contw 
+0x584d 022597 copy regb ,pdata 
+0x584e 022598 istore 2 ,contw 
+0x584f 022599 rtn 
+:      022603 le_fifo_malloc_tx:
+0x5850 022604 sub rega ,240 ,null 
+0x5851 022605 nbranch assert ,positive 
+0x5852 022606 fetch 1 ,mem_le_tx_buff_used 
+0x5853 022607 arg 1 ,temp 
+0x5854 022608 arg le_tx_buff_count ,loopcnt 
+:      022609 le_fifo_malloc_tx_loop:
+0x5855 022610 iand temp ,null 
+0x5856 022611 branch le_fifo_malloc_tx_got_empty ,zero 
+0x5857 022612 lshift temp ,temp 
+0x5858 022613 loop le_fifo_malloc_tx_loop 
+0x5859 022614 branch assert 
+:      022615 le_fifo_malloc_tx_got_empty:
+0x585a 022616 ixor temp ,pdata 
+0x585b 022617 store 1 ,mem_le_tx_buff_used 
+0x585c 022618 sub loopcnt ,le_tx_buff_count ,pdata 
+0x585d 022619 lshift4 pdata ,pdata 
+0x585e 022620 lshift4 pdata ,pdata 
+0x585f 022621 arg mem_le_tx_buffer0 ,temp 
+0x5860 022622 iadd temp ,temp 
+:      022623 le_fifo_tx_find_empty_ptr:
+0x5861 022624 arg 0 ,loopcnt 
+0x5862 022625 arg mem_le_tx_ptr0 ,contr 
+:      022626 le_fifo_tx_find_empty_ptr_loop:
+0x5863 022627 ifetch 2 ,contr 
+0x5864 022628 branch le_fifo_tx_found_empty_ptr ,blank 
+0x5865 022629 copy loopcnt ,pdata 
+0x5866 022630 increase 1 ,loopcnt 
+0x5867 022631 bne le_tx_buff_count ,le_fifo_tx_find_empty_ptr_loop 
+0x5868 022632 branch assert 
+:      022635 le_fifo_tx_found_empty_ptr:
+0x5869 022636 increase -2 ,contr 
+0x586a 022637 istoret 2 ,contr 
+0x586b 022638 copy temp ,contw 
+0x586c 022639 copy rega ,pdata 
+0x586d 022640 istore 1 ,contw 
+0x586e 022641 setarg 0 
+0x586f 022642 istore 1 ,contw 
+0x5870 022643 copy type ,pdata 
+0x5871 022644 istore 1 ,contw 
+0x5872 022645 rtn 
+:      022649 le_fifo_get_first_tx_ptr:
+0x5873 022650 fetch 2 ,mem_le_tx_ptr0 
+0x5874 022651 copy pdata ,contr 
+0x5875 022652 rtn 
+:      022654 le_fifo_get_second_tx_ptr:
+0x5876 022655 fetch 2 ,mem_le_tx_ptr1 
+0x5877 022656 copy pdata ,contr 
+0x5878 022657 rtn 
+:      022659 le_fifo_get_last_tx_ptr:
+0x5879 022660 call le_fifo_get_last_tx_ptr0 
+0x587a 022661 copy pdata ,contr 
+0x587b 022662 rtn 
+:      022663 le_fifo_get_last_tx_ptr0:
+0x587c 022664 fetch 2 ,mem_le_tx_ptr3 
+0x587d 022665 nrtn blank 
+0x587e 022666 fetch 2 ,mem_le_tx_ptr2 
+0x587f 022667 nrtn blank 
+0x5880 022668 fetch 2 ,mem_le_tx_ptr1 
+0x5881 022669 nrtn blank 
+0x5882 022670 fetch 2 ,mem_le_tx_ptr0 
+0x5883 022671 rtn 
+:      022673 le_fifo_get_first_l2cap_ptr:
+0x5884 022674 call le_fifo_get_first_tx_ptr 
+0x5885 022675 increase 3 ,contr 
+0x5886 022676 rtn 
+:      022678 le_fifo_get_first_att_ptr:
+0x5887 022679 call le_fifo_get_first_tx_ptr 
+0x5888 022680 increase 7 ,contr 
+0x5889 022681 rtn 
+:      022683 le_fifo_get_last_att_ptr:
+0x588a 022684 call le_fifo_get_last_tx_ptr 
+0x588b 022685 increase 7 ,contr 
+0x588c 022686 rtn 
+:      022688 le_fifo_get_last_l2cap_ptr:
+0x588d 022689 call le_fifo_get_last_tx_ptr 
+0x588e 022690 increase 3 ,contr 
+0x588f 022691 rtn 
+:      022695 le_fifo_check_full:
+0x5890 022696 fetch 2 ,mem_le_tx_ptr3 
+0x5891 022697 rtn 
+:      022700 le_fifo_check_nearly_full:
+0x5892 022701 fetch 2 ,mem_le_tx_ptr2 
+0x5893 022702 rtn 
+:      022705 le_fifo_check_empty:
+0x5894 022706 fetch 2 ,mem_le_tx_ptr0 
+0x5895 022707 rtn 
+:      022710 le_fifo_release_first_node:
+0x5896 022711 fetch 2 ,mem_le_tx_ptr0 
+0x5897 022712 arg mem_le_tx_buffer0 ,temp 
+0x5898 022713 isub temp ,pdata 
+0x5899 022714 rshift4 pdata ,pdata 
+0x589a 022715 rshift4 pdata ,queue 
+0x589b 022716 fetch 1 ,mem_le_tx_buff_used 
+0x589c 022717 qset0 pdata 
+0x589d 022718 store 1 ,mem_le_tx_buff_used 
+0x589e 022719 arg 0 ,loopcnt 
+:      022720 le_fifo_release_first_node_loop:
+0x589f 022721 lshift loopcnt ,pdata 
+0x58a0 022722 arg mem_le_tx_ptr1 ,temp 
+0x58a1 022723 iadd temp ,temp 
+0x58a2 022724 ifetch 2 ,temp 
+0x58a3 022725 increase -2 ,temp 
+0x58a4 022726 istore 2 ,temp 
+0x58a5 022727 copy loopcnt ,pdata 
+0x58a6 022728 increase 1 ,loopcnt 
+0x58a7 022729 bne le_tx_buff_update_loopcnt ,le_fifo_release_first_node_loop 
+0x58a8 022730 setarg 0 
+0x58a9 022731 istore 2 ,temp 
+0x58aa 022732 rtn 
+:      022738 le_parse_att:
+0x58ab 022739 ifetch 3 ,contr 
+0x58ac 022740 store 3 ,mem_le_att_opcode 
+0x58ad 022741 beq attop_exchange_mtu_request ,le_parse_att_exchange_mtu_request 
+0x58ae 022742 beq attop_exchange_mtu_response ,le_parse_att_exchange_mtu_response 
+0x58af 022743 beq attop_find_information_request ,le_parse_att_find_information_request 
+0x58b0 022744 beq attop_find_by_type_value_request ,le_parse_att_find_by_type_value_request 
+0x58b1 022745 beq attop_read_by_type_request ,le_parse_att_read_by_type_request 
+0x58b2 022746 beq attop_read_request ,le_parse_att_read_request 
+0x58b3 022747 beq attop_read_blob_request ,le_parse_att_read_blob_request 
+0x58b4 022748 beq attop_read_by_group_type_request ,le_parse_att_read_by_group_type_request 
+0x58b5 022749 beq attop_write_request ,le_parse_att_write_request 
+0x58b6 022750 beq attop_prepare_write_request ,le_parse_att_prepare_write_request 
+0x58b7 022751 beq attop_execute_write_request ,le_parse_att_execute_write_request 
+0x58b8 022752 beq attop_write_command ,le_parse_att_write_command 
+0x58b9 022753 rtn 
+:      022756 le_send_att_exchange_mtu_requset:
+0x58ba 022757 force 3 ,rega 
+0x58bb 022758 call le_fifo_malloc_tx_l2cap_gatt 
+0x58bc 022759 setarg attop_exchange_mtu_request 
+0x58bd 022760 istore 1 ,contw 
+0x58be 022761 fetch 2 ,mem_le_local_mtu 
+0x58bf 022762 istore 2 ,contw 
+0x58c0 022763 rtn 
+:      022766 le_parse_att_exchange_mtu_request:
+0x58c1 022767 call le_parse_att_exchange_mtu_response 
+:      022768 le_send_att_exchange_mtu_response:
+0x58c2 022769 force 3 ,rega 
+0x58c3 022770 call le_fifo_malloc_tx_l2cap_gatt 
+0x58c4 022771 setarg attop_exchange_mtu_response 
+0x58c5 022772 istore 1 ,contw 
+0x58c6 022773 fetch 2 ,mem_le_local_mtu 
+0x58c7 022774 istore 2 ,contw 
+0x58c8 022775 rtn 
+:      022777 le_parse_att_exchange_mtu_response:
+0x58c9 022778 rshift8 pdata ,pdata 
+0x58ca 022779 store 2 ,mem_le_remote_mtu 
+0x58cb 022780 rtn 
+:      022782 le_parse_att_find_information_request:
+0x58cc 022783 call le_get_search_handle_start_end_common 
+0x58cd 022784 call enable_user 
+0x58ce 022785 branch le_send_att_find_information_response 
+:      022787 le_send_att_find_information_response:
+0x58cf 022788 arg 3 ,timeup 
+0x58d0 022789 call le_init_attlist_search 
+:      022790 le_send_att_find_information_res_loop:
+0x58d1 022791 call le_att_handle_inrange 
+0x58d2 022792 branch le_send_att_find_information_res_end ,blank 
+0x58d3 022793 nbranch le_send_att_find_information_res_next ,positive 
+0x58d4 022794 increase -2 ,contr 
+0x58d5 022795 call store_contr 
+0x58d6 022796 call get_contw 
+0x58d7 022797 nbranch le_send_att_find_information_res_store_info ,user 
+0x58d8 022798 call push_stack_rega_b_c 
+0x58d9 022799 call disable_user 
+0x58da 022800 force 20 ,rega 
+0x58db 022801 call le_fifo_malloc_tx_l2cap_gatt 
+0x58dc 022802 call pop_stack_rega_b_c 
+0x58dd 022803 setarg attop_find_information_response 
+0x58de 022804 istore 1 ,contw 
+0x58df 022805 setarg uuid_size_16bit 
+0x58e0 022806 istore 1 ,contw 
+:      022807 le_send_att_find_information_res_store_info:
+0x58e1 022808 call get_contr 
+0x58e2 022809 ifetch 2 ,contr 
+0x58e3 022810 istore 2 ,contw 
+0x58e4 022811 ifetch 1 ,contr 
+0x58e5 022812 copy pdata ,loopcnt 
+0x58e6 022813 call memcpy 
+0x58e7 022814 call store_contw 
+0x58e8 022815 increase -1 ,timeup 
+0x58e9 022816 branch le_send_att_find_information_res_end ,zero 
+:      022817 le_send_att_find_information_res_cont:
+0x58ea 022818 ifetch 1 ,contr 
+0x58eb 022819 iadd contr ,contr 
+0x58ec 022820 branch le_send_att_find_information_res_loop 
+:      022821 le_send_att_find_information_res_next:
+0x58ed 022822 ifetch 1 ,contr 
+0x58ee 022823 iadd contr ,contr 
+0x58ef 022824 branch le_send_att_find_information_res_cont 
+:      022825 le_send_att_find_information_res_end:
+0x58f0 022826 branch le_send_att_error_response_notfound ,user 
+0x58f1 022827 branch le_send_auto_len_by_mem 
+:      022830 le_parse_att_find_by_type_value_request:
+0x58f2 022831 call le_get_search_handle_start_end_common 
+0x58f3 022832 ifetch 2 ,contr 
+0x58f4 022833 store 2 ,mem_le_search_uuid 
+0x58f5 022834 call store_contr 
+0x58f6 022835 arg mem_le_search_att_type_length ,contw 
+0x58f7 022836 fetch 2 ,mem_le_l2cap_size 
+0x58f8 022837 increase -7 ,pdata 
+0x58f9 022838 call le_get_search_common2 
+0x58fa 022839 branch le_send_att_find_by_type_value_response 
+:      022842 le_start_end_handle_check_1:
+0x58fb 022843 disable user 
+0x58fc 022844 fetcht 2 ,mem_le_search_handle_start 
+0x58fd 022845 fetch 2 ,mem_le_search_handle_end 
+0x58fe 022846 isub temp ,null 
+0x58ff 022847 nbranch le_start_end_handle_check_1_fail ,positive 
+0x5900 022848 deposit temp 
+0x5901 022849 rtnne 0 
+:      022850 le_start_end_handle_check_1_fail:
+0x5902 022851 enable user 
+0x5903 022852 jam att_err_invalid_handle ,mem_le_err_code 
+0x5904 022853 branch le_send_att_error_response 
+:      022856 le_send_att_find_by_type_value_response:
+0x5905 022857 call le_start_end_handle_check_1 
+0x5906 022858 rtn user 
+0x5907 022859 fetcht 2 ,mem_le_search_uuid 
+0x5908 022860 setarg uuid_gatt_primary_service 
+0x5909 022861 isub temp ,null 
+0x590a 022862 branch le_send_att_find_by_type_value_res_primary ,zero 
+0x590b 022863 branch le_send_att_error_response_notfound 
+:      022866 le_send_att_find_by_type_value_res_primary:
+0x590c 022867 jam le_find_by_type_val_res_not_found ,mem_le_search_res 
+0x590d 022868 fetcht 2 ,mem_le_search_handle_start 
+0x590e 022869 storet 2 ,mem_temp 
+0x590f 022870 call le_att_get_handle_info 
+0x5910 022871 nbranch le_send_att_error_response_notfound ,blank 
+:      022872 le_send_att_find_primary_search_loop:
+0x5911 022873 fetcht 2 ,mem_temp 
+0x5912 022874 call le_att_get_handle_info 
+0x5913 022875 nbranch le_send_att_error_response_notfound2 ,blank 
+0x5914 022876 copy contr ,rega 
+0x5915 022877 fetch 1 ,mem_le_curr_att_len 
+0x5916 022878 copy pdata ,loopcnt 
+0x5917 022879 fetcht 1 ,mem_le_search_att_type_length 
+0x5918 022880 isub temp ,null 
+0x5919 022881 nbranch le_send_att_find_primary_search_loop1 ,zero 
+0x591a 022882 arg mem_le_search_att_type ,regb 
+0x591b 022883 call string_compare 
+0x591c 022885 branch le_send_att_find_primary_search_end_start_handle_found ,zero 
+0x591d 022887 fetch 2 ,mem_le_cur_uuid 
+0x591e 022888 fetcht 2 ,mem_le_search_uuid 
+0x591f 022889 isub temp ,null 
+0x5920 022890 branch le_send_att_find_primary_search_end_ending_handle_found ,zero 
+:      022891 le_send_att_find_primary_search_loop1:
+0x5921 022892 fetch 2 ,mem_temp 
+0x5922 022893 increase 1 ,pdata 
+0x5923 022894 store 2 ,mem_temp 
+0x5924 022895 branch le_send_att_find_primary_search_loop 
+:      022897 le_send_att_error_response_notfound2:
+0x5925 022898 fetch 1 ,mem_le_search_res 
+0x5926 022899 beq le_find_by_type_val_res_found_starting_handle ,le_send_att_find_primary_search_end_ending_handle_found 
+0x5927 022900 branch le_send_att_error_response_notfound 
+:      022903 le_send_att_find_primary_search_end_start_handle_found:
+0x5928 022904 fetch 2 ,mem_le_cur_uuid 
+0x5929 022905 fetcht 2 ,mem_le_search_uuid 
+0x592a 022906 isub temp ,null 
+0x592b 022907 nbranch le_send_att_find_primary_search_loop1 ,zero 
+0x592c 022908 jam le_find_by_type_val_res_found_starting_handle ,mem_le_search_res 
+0x592d 022910 fetcht 2 ,mem_temp 
+0x592e 022911 storet 2 ,mem_le_cur_handle_start 
+0x592f 022912 branch le_send_att_find_primary_search_loop1 
+:      022914 le_send_att_find_primary_search_end_ending_handle_found:
+0x5930 022915 fetch 1 ,mem_le_search_res 
+0x5931 022916 beq le_find_by_type_val_res_not_found ,le_send_att_find_primary_search_loop1 
+0x5932 022917 jam le_find_by_type_val_res_found_ending_handle ,mem_le_search_res 
+0x5933 022918 fetcht 2 ,mem_temp 
+0x5934 022919 increase -1 ,temp 
+0x5935 022920 storet 2 ,mem_le_cur_handle_end 
+:      022922 le_send_att_find_primary_search_end:
+0x5936 022923 arg 5 ,rega 
+0x5937 022924 call le_fifo_malloc_tx_l2cap_gatt 
+0x5938 022925 setarg attop_find_by_type_value_response 
+0x5939 022926 istore 1 ,contw 
+0x593a 022927 fetch 2 ,mem_le_cur_handle_start 
+0x593b 022928 istore 2 ,contw 
+0x593c 022929 fetch 2 ,mem_le_cur_handle_end 
+0x593d 022930 istore 2 ,contw 
+0x593e 022931 rtn 
+:      022935 le_parse_att_read_by_type_request:
+0x593f 022936 call le_get_search_handle_start_end_common 
+0x5940 022937 call le_get_search_att_uuid 
+0x5941 022938 branch le_send_att_read_by_type_response 
+:      022940 le_send_att_read_by_type_response:
+0x5942 022941 fetcht 2 ,mem_le_search_handle_start 
+0x5943 022942 storet 2 ,mem_temp 
+0x5944 022943 call le_init_attlist_search 
+0x5945 022944 call le_att_get_handle_ptr2 
+0x5946 022945 increase -2 ,contr 
+0x5947 022946 copy contr ,pdata 
+0x5948 022947 store 2 ,mem_le_cur_attlist_start_ptr 
+0x5949 022949 fetcht 2 ,mem_le_search_uuid 
+0x594a 022950 setarg uuid_chrctr_device_name 
+0x594b 022951 isub temp ,null 
+0x594c 022952 branch le_send_att_read_by_type_res_device_name ,zero 
+0x594d 022953 setarg uuid_gatt_characteristic 
+0x594e 022954 isub temp ,null 
+0x594f 022955 nbranch le_send_att_read_by_type_res_not_characteristic ,zero 
+0x5950 022956 arg 2 ,timeup 
+:      022957 le_send_att_read_by_type_response_loop:
+0x5951 022958 call le_att_check_handle_end 
+0x5952 022959 nbranch le_send_att_read_by_type_response_end ,positive 
+0x5953 022960 fetcht 2 ,mem_temp 
+0x5954 022961 call le_att_get_handle_info_from_ptr 
+0x5955 022962 beq 1 ,le_send_att_read_by_type_response_end 
+0x5956 022963 call le_att_same_uuid 
+0x5957 022964 nbranch le_send_att_read_by_type_response_next_handle ,zero 
+0x5958 022965 nbranch le_send_att_read_by_type_res_found_next ,user 
+0x5959 022966 disable user 
+0x595a 022967 arg 20 ,rega 
+0x595b 022968 call le_fifo_malloc_tx_l2cap_gatt 
+0x595c 022969 setarg attop_read_by_type_response 
+0x595d 022970 istore 1 ,contw 
+0x595e 022971 copy contw ,alarm 
+0x595f 022972 increase 1 ,contw 
+0x5960 022974 call le_send_att_read_by_type_write_properties 
+0x5961 022975 call le_att_next_handle 
+0x5962 022976 call le_att_get_handle_info_from_ptr 
+0x5963 022977 call le_send_att_read_by_type_write_uuid 
+0x5964 022978 fetch 1 ,mem_le_cur_uuid_length 
+0x5965 022979 increase 5 ,pdata 
+0x5966 022980 istore 1 ,alarm 
+0x5967 022981 fetch 1 ,mem_le_cur_uuid_length 
+0x5968 022982 beq 16 ,le_send_att_read_by_type_response_end 
+0x5969 022983 increase -1 ,timeup 
+0x596a 022984 branch le_send_att_read_by_type_response_end ,zero 
+:      022985 le_send_att_read_by_type_response_next_handle:
+0x596b 022986 call le_att_next_handle 
+0x596c 022987 branch le_send_att_read_by_type_response_loop 
+:      022988 le_send_att_read_by_type_response_end:
+0x596d 022989 branch le_send_att_error_response_notfound ,user 
+0x596e 022990 branch le_send_auto_len_by_mem 
+:      022992 le_send_att_read_by_type_res_found_next:
+0x596f 022993 call le_store_att_record 
+0x5970 022994 call le_att_next_handle 
+0x5971 022995 call le_att_get_handle_info_from_ptr 
+0x5972 022996 fetch 1 ,mem_le_cur_uuid_length 
+0x5973 022997 beq 16 ,le_send_att_read_by_type_response_end 
+0x5974 022999 call get_contw 
+0x5975 023000 fetch 2 ,mem_temp 
+0x5976 023001 increase -1 ,pdata 
+0x5977 023002 istore 2 ,contw 
+0x5978 023003 call le_write_att_record_common 
+0x5979 023004 call le_send_att_read_by_type_write_uuid 
+0x597a 023005 increase -1 ,timeup 
+0x597b 023006 branch le_send_att_read_by_type_response_end ,zero 
+0x597c 023007 branch le_send_att_read_by_type_response_next_handle 
+:      023010 le_send_att_read_by_type_write_properties:
+0x597d 023011 fetch 2 ,mem_temp 
+0x597e 023012 istore 2 ,contw 
+0x597f 023014 fetch 1 ,mem_le_curr_att_len 
+0x5980 023015 copy pdata ,loopcnt 
+0x5981 023016 call get_contr 
+0x5982 023017 call memcpy_fast 
+0x5983 023018 branch store_contw 
+:      023019 le_send_att_read_by_type_write_uuid:
+0x5984 023020 call get_contw 
+0x5985 023021 fetch 2 ,mem_temp 
+0x5986 023022 istore 2 ,contw 
+0x5987 023023 call store_contw 
+0x5988 023024 fetch 1 ,mem_le_cur_uuid_length 
+0x5989 023025 copy pdata ,loopcnt 
+0x598a 023026 call get_contw 
+0x598b 023027 call get_contr 
+0x598c 023028 isub loopcnt ,contr 
+0x598d 023029 increase -1 ,contr 
+0x598e 023030 call memcpy_fast 
+0x598f 023031 branch store_contw 
+:      023035 le_send_att_read_by_type_res_not_characteristic:
+0x5990 023036 fetcht 2 ,mem_le_search_handle_start 
+0x5991 023037 storet 2 ,mem_temp 
+:      023038 le_send_att_read_by_type_res_not_char_loop:
+0x5992 023039 call le_att_check_handle_end 
+0x5993 023040 nbranch le_send_att_error_response_notfound ,positive 
+0x5994 023041 call le_att_get_handle_info_from_ptr 
+0x5995 023042 beq 1 ,le_send_att_error_response_notfound 
+0x5996 023043 call le_att_same_uuid 
+0x5997 023044 nbranch le_send_att_read_by_type_res_not_char_next ,zero 
+:      023046 le_send_att_read_by_type_res_not_char_common:
+0x5998 023047 arg 20 ,rega 
+0x5999 023048 call le_fifo_malloc_tx_l2cap_gatt 
+0x599a 023049 setarg attop_read_by_type_response 
+0x599b 023050 istore 1 ,contw 
+0x599c 023051 fetch 1 ,mem_le_curr_att_len 
+0x599d 023052 copy pdata ,loopcnt 
+0x599e 023053 increase 2 ,pdata 
+0x599f 023054 istore 1 ,contw 
+0x59a0 023055 fetch 2 ,mem_temp 
+0x59a1 023056 istore 2 ,contw 
+0x59a2 023057 call get_contr 
+0x59a3 023058 call memcpy_fast 
+0x59a4 023059 call store_contw 
+0x59a5 023060 branch le_send_auto_len_by_mem 
+:      023062 le_send_att_read_by_type_res_not_char_next:
+0x59a6 023063 call le_att_next_handle 
+0x59a7 023064 branch le_send_att_read_by_type_res_not_char_loop 
+:      023067 le_send_att_read_by_type_res_device_name:
+0x59a8 023068 arg uuid_chrctr_device_name ,temp 
+0x59a9 023069 call le_att_get_short_uuid_ptr 
+0x59aa 023070 rtn blank 
+0x59ab 023071 increase -5 ,contr 
+0x59ac 023072 ifetch 2 ,contr 
+0x59ad 023073 store 2 ,mem_temp 
+0x59ae 023074 arg 20 ,rega 
+0x59af 023075 call le_fifo_malloc_tx_l2cap_gatt 
+0x59b0 023076 setarg attop_read_by_type_response 
+0x59b1 023077 istore 1 ,contw 
+0x59b2 023078 fetch 1 ,mem_le_name_len 
+0x59b3 023079 copy pdata ,loopcnt 
+0x59b4 023080 increase 2 ,pdata 
+0x59b5 023081 istore 1 ,contw 
+0x59b6 023082 fetch 2 ,mem_temp 
+0x59b7 023083 istore 2 ,contw 
+0x59b8 023084 arg mem_le_name ,contr 
+0x59b9 023085 call memcpy_fast 
+0x59ba 023086 call store_contw 
+0x59bb 023087 branch le_send_auto_len_by_mem 
+:      023091 le_parse_att_read_request:
+0x59bc 023092 fetcht 2 ,mem_le_att_handle 
+0x59bd 023093 fetch 1 ,mem_le_configuration 
+0x59be 023094 bbit1 bit_ble_read_auth ,le_send_att_read_response_check_auth 
+:      023096 le_send_att_read_response:
+0x59bf 023097 call le_att_get_handle_ptr 
+0x59c0 023098 branch le_send_att_error_response_notfound ,blank 
+0x59c1 023099 increase -2 ,contr 
+0x59c2 023100 ifetch 2 ,contr 
+0x59c3 023101 arg uuid_chrctr_device_name ,temp 
+0x59c4 023102 isub temp ,null 
+0x59c5 023103 branch le_send_device_name ,zero 
+0x59c6 023104 ifetch 1 ,contr 
+0x59c7 023105 sub pdata ,22 ,null 
+0x59c8 023106 branch le_send_att_read_response_less ,positive 
+0x59c9 023107 force 22 ,pdata 
+:      023108 le_send_att_read_response_less:
+0x59ca 023109 copy pdata ,regc 
+0x59cb 023110 call store_contr 
+0x59cc 023111 add regc ,1 ,rega 
+0x59cd 023112 call le_fifo_malloc_tx_l2cap_gatt 
+0x59ce 023113 setarg attop_read_response 
+0x59cf 023114 istore 1 ,contw 
+0x59d0 023115 copy regc ,loopcnt 
+0x59d1 023116 call get_contr 
+0x59d2 023117 branch memcpy 
+:      023119 le_send_device_name:
+0x59d3 023120 call store_contr 
+0x59d4 023121 fetch 1 ,mem_le_name_len 
+0x59d5 023122 add pdata ,1 ,rega 
+0x59d6 023123 call le_fifo_malloc_tx_l2cap_gatt 
+0x59d7 023124 setarg attop_read_response 
+0x59d8 023125 istore 1 ,contw 
+0x59d9 023126 fetch 1 ,mem_le_name_len 
+0x59da 023127 copy pdata ,loopcnt 
+0x59db 023128 arg mem_le_name ,contr 
+0x59dc 023129 branch memcpy 
+:      023132 le_send_att_read_response_check_auth:
+0x59dd 023133 fetch 2 ,mem_le_pairing_handle 
+0x59de 023134 isub temp ,null 
+0x59df 023135 nbranch le_send_att_read_response ,zero 
+0x59e0 023137 call le_check_encrypt_state 
+0x59e1 023138 nbranch le_send_att_read_response ,user 
+0x59e2 023139 jam att_err_insufficient_authentication ,mem_le_err_code 
+0x59e3 023140 branch le_send_att_error_response 
+:      023143 le_parse_att_read_blob_request:
+0x59e4 023144 ifetch 2 ,contr 
+0x59e5 023145 store 2 ,mem_le_att_offset 
+:      023146 le_send_att_read_blob_response:
+0x59e6 023147 arg 20 ,rega 
+0x59e7 023148 call le_fifo_malloc_tx_l2cap_gatt 
+0x59e8 023149 setarg attop_read_blob_response 
+0x59e9 023150 istore 1 ,contw 
+0x59ea 023151 fetch 2 ,mem_le_att_offset 
+0x59eb 023152 iforce rega 
+0x59ec 023153 fetcht 2 ,mem_le_att_handle 
+0x59ed 023154 call le_att_get_handle_ptr 
+0x59ee 023155 branch le_send_att_error_response_notfound ,blank 
+0x59ef 023156 ifetch 1 ,contr 
+0x59f0 023157 isub rega ,loopcnt 
+0x59f1 023158 nbranch le_send_att_error_response_notfound ,positive 
+0x59f2 023159 sub loopcnt ,22 ,null 
+0x59f3 023160 branch le_send_att_read_blob_response_less ,positive 
+0x59f4 023161 force 22 ,loopcnt 
+:      023162 le_send_att_read_blob_response_less:
+0x59f5 023163 deposit rega 
+0x59f6 023164 iadd contr ,contr 
+0x59f7 023165 call memcpy_fast 
+0x59f8 023166 call store_contw 
+0x59f9 023167 branch le_send_auto_len_by_mem 
+:      023170 le_parse_att_read_by_group_type_request:
+0x59fa 023171 call le_get_search_handle_start_end_common 
+0x59fb 023172 call le_get_search_att_type 
+0x59fc 023173 branch le_send_att_read_by_group_type_response 
+:      023178 le_send_att_read_by_group_type_response:
+0x59fd 023179 arg 2 ,timeup 
+0x59fe 023180 fetcht 2 ,mem_le_search_handle_start 
+0x59ff 023184 storet 2 ,mem_temp 
+0x5a00 023185 call le_init_attlist_search 
+0x5a01 023186 call le_att_get_handle_ptr2 
+0x5a02 023187 increase -2 ,contr 
+0x5a03 023188 copy contr ,pdata 
+0x5a04 023189 store 2 ,mem_le_cur_attlist_start_ptr 
+:      023190 le_send_att_read_by_group_type_response_loop:
+0x5a05 023191 call le_att_check_handle_end 
+0x5a06 023192 nbranch le_send_att_read_by_group_type_end0 ,positive 
+0x5a07 023193 fetcht 2 ,mem_temp 
+0x5a08 023194 call le_att_get_handle_info_from_ptr 
+0x5a09 023195 beq 1 ,le_send_att_read_by_group_type_end1 
+0x5a0a 023197 call le_att_same_type 
+0x5a0b 023198 nbranch le_send_att_read_by_group_type_next_handle ,zero 
+0x5a0c 023199 copy timeup ,pdata 
+0x5a0d 023200 beq 0 ,le_send_att_read_by_group_type_end1 
+0x5a0e 023201 nbranch le_send_att_read_by_group_type_store_write_record ,user 
+0x5a0f 023202 disable user 
+0x5a10 023204 arg 20 ,rega 
+0x5a11 023205 call le_fifo_malloc_tx_l2cap_gatt 
+0x5a12 023206 setarg attop_read_by_group_type_response 
+0x5a13 023207 istore 1 ,contw 
+0x5a14 023208 fetch 1 ,mem_le_curr_att_len 
+0x5a15 023209 increase 4 ,pdata 
+0x5a16 023210 istore 1 ,contw 
+0x5a17 023211 call store_contw 
+0x5a18 023212 branch le_send_att_read_by_group_type_store_record 
+:      023213 le_send_att_read_by_group_type_store_write_record:
+0x5a19 023214 fetch 1 ,mem_le_curr_att_len 
+0x5a1a 023215 beq 16 ,le_send_att_read_by_group_type_end1 
+0x5a1b 023216 fetch 2 ,mem_temp 
+0x5a1c 023217 increase -1 ,pdata 
+0x5a1d 023218 store 2 ,mem_le_cur_handle_end 
+0x5a1e 023219 call le_write_att_record 
+:      023220 le_send_att_read_by_group_type_store_record:
+0x5a1f 023221 fetch 2 ,mem_temp 
+0x5a20 023222 store 2 ,mem_le_cur_handle_start 
+0x5a21 023223 call le_store_att_record 
+0x5a22 023224 increase -1 ,timeup 
+:      023226 le_send_att_read_by_group_type_next_handle:
+0x5a23 023227 call le_att_next_handle 
+0x5a24 023228 branch le_send_att_read_by_group_type_response_loop 
+:      023230 le_send_att_read_by_group_type_end0:
+0x5a25 023231 fetch 2 ,mem_temp 
+0x5a26 023232 store 2 ,mem_le_cur_handle_end 
+0x5a27 023233 branch le_send_att_read_by_group_type_end_common 
+:      023234 le_send_att_read_by_group_type_end1:
+0x5a28 023235 fetch 2 ,mem_temp 
+0x5a29 023236 increase -1 ,pdata 
+0x5a2a 023237 store 2 ,mem_le_cur_handle_end 
+0x5a2b 023238 branch le_send_att_read_by_group_type_end_common 
+:      023239 le_send_att_read_by_group_type_end_common:
+0x5a2c 023240 branch le_send_att_error_response_notfound ,user 
+0x5a2d 023241 call le_write_att_record 
+0x5a2e 023242 branch le_send_auto_len_by_mem 
+:      023247 le_parse_att_write_request:
+0x5a2f 023248 copy contr ,rega 
+0x5a30 023249 fetch 2 ,mem_le_l2cap_size 
+0x5a31 023250 add pdata ,-3 ,regb 
+0x5a32 023251 call le_writeatt_cb 
+:      023252 le_send_att_write_response_check_auth:
+0x5a33 023253 fetch 1 ,mem_le_configuration 
+0x5a34 023254 bbit0 bit_ble_write_auth ,le_send_att_write_response 
+0x5a35 023256 fetcht 2 ,mem_le_att_handle 
+0x5a36 023257 fetch 2 ,mem_le_pairing_handle 
+0x5a37 023258 isub temp ,null 
+0x5a38 023259 nbranch le_send_att_write_response ,zero 
+0x5a39 023260 call le_check_encrypt_state 
+0x5a3a 023261 nbranch le_send_att_write_response ,user 
+0x5a3b 023262 jam att_err_insufficient_authentication ,mem_le_err_code 
+0x5a3c 023263 branch le_send_att_error_response 
+:      023265 le_send_att_write_response:
+0x5a3d 023266 force 1 ,rega 
+0x5a3e 023267 call le_fifo_malloc_tx_l2cap_gatt 
+0x5a3f 023268 setarg attop_write_response 
+0x5a40 023269 istore 1 ,contw 
+0x5a41 023270 rtn 
+:      023272 le_check_encrypt_state:
+0x5a42 023273 call disable_user 
+0x5a43 023274 fetch 1 ,mem_le_pairing_mode 
+0x5a44 023275 rtneq le_pairing_mode_none 
+0x5a45 023276 fetch 1 ,mem_context 
+0x5a46 023277 rtnbit1 lestate_encryption 
+0x5a47 023278 branch enable_user 
+:      023281 le_parse_att_prepare_write_request:
+0x5a48 023282 add contr ,2 ,rega 
+0x5a49 023283 fetch 2 ,mem_le_l2cap_size 
+0x5a4a 023284 add pdata ,-5 ,regb 
+0x5a4b 023285 call le_writeatt_cb 
+0x5a4c 023286 branch le_send_att_prepare_write_response 
+:      023289 le_send_att_prepare_write_response:
+0x5a4d 023290 fetch 2 ,mem_le_l2cap_size 
+0x5a4e 023291 copy pdata ,rega 
+0x5a4f 023292 call le_fifo_malloc_tx_l2cap_gatt 
+0x5a50 023293 setarg attop_prepare_write_response 
+0x5a51 023294 istore 1 ,contw 
+0x5a52 023295 fetch 2 ,mem_le_att_handle 
+0x5a53 023296 istore 2 ,contw 
+0x5a54 023297 fetch 2 ,mem_le_l2cap_size 
+0x5a55 023298 add pdata ,-5 ,loopcnt 
+0x5a56 023299 fetch 2 ,mem_le_payload_ptr 
+0x5a57 023300 add pdata ,7 ,contr 
+0x5a58 023301 ifetch 2 ,contr 
+0x5a59 023302 istore 2 ,contw 
+0x5a5a 023303 branch memcpy_fast 
+:      023307 le_parse_att_execute_write_request:
+:      023309 le_send_att_execute_write_response:
+0x5a5b 023310 force 1 ,rega 
+0x5a5c 023311 call le_fifo_malloc_tx_l2cap_gatt 
+0x5a5d 023312 setarg attop_execute_write_response 
+0x5a5e 023313 istore 1 ,contw 
+0x5a5f 023314 rtn 
+:      023318 le_parse_att_write_command:
+0x5a60 023319 copy contr ,rega 
+0x5a61 023320 fetch 2 ,mem_le_l2cap_size 
+0x5a62 023321 add pdata ,-3 ,regb 
+0x5a63 023322 branch le_writeatt_cb 
+:      023327 le_att_malloc_tx_notify:
+0x5a64 023328 copy temp ,regc 
+0x5a65 023329 increase 3 ,rega 
+0x5a66 023330 call le_fifo_malloc_tx_l2cap_gatt 
+0x5a67 023331 increase -3 ,rega 
+0x5a68 023332 setarg attop_handle_value_notification 
+0x5a69 023333 istore 1 ,contw 
+0x5a6a 023334 copy regc ,temp 
+0x5a6b 023335 istoret 2 ,contw 
+0x5a6c 023336 rtn 
+:      023339 le_att_malloc_tx_indication:
+0x5a6d 023340 copy temp ,regc 
+0x5a6e 023341 increase 3 ,rega 
+0x5a6f 023342 call le_fifo_malloc_tx_l2cap_gatt 
+0x5a70 023343 increase -3 ,rega 
+0x5a71 023344 setarg attop_handle_value_indication 
+0x5a72 023345 istore 1 ,contw 
+0x5a73 023346 copy regc ,temp 
+0x5a74 023347 istoret 2 ,contw 
+0x5a75 023348 rtn 
+:      023353 le_send_att_error_response_notfound:
+0x5a76 023354 jam att_err_attribute_not_found ,mem_le_err_code 
+:      023355 le_send_att_error_response:
+0x5a77 023356 force 5 ,rega 
+0x5a78 023357 call le_fifo_malloc_tx_l2cap_gatt 
+0x5a79 023358 setarg attop_error_response 
+0x5a7a 023359 istore 1 ,contw 
+0x5a7b 023360 fetch 1 ,mem_le_att_opcode 
+0x5a7c 023361 istore 1 ,contw 
+0x5a7d 023362 fetch 2 ,mem_le_att_handle 
+0x5a7e 023363 istore 2 ,contw 
+0x5a7f 023364 fetch 1 ,mem_le_err_code 
+0x5a80 023365 istore 1 ,contw 
+0x5a81 023366 rtn 
+:      023369 le_fifo_malloc_tx_l2cap_gatt:
+0x5a82 023370 force le_l2cap_cid_att ,regb 
+0x5a83 023371 branch le_fifo_malloc_tx_l2cap 
+:      023374 le_att_next_handle:
+0x5a84 023375 fetcht 2 ,mem_temp 
+0x5a85 023376 increase 1 ,temp 
+0x5a86 023377 storet 2 ,mem_temp 
+0x5a87 023378 rtn 
+:      023380 le_att_check_handle_end:
+0x5a88 023381 fetcht 2 ,mem_temp 
+0x5a89 023382 fetch 2 ,mem_le_search_handle_end 
+0x5a8a 023383 isub temp ,null 
+0x5a8b 023384 rtn 
+:      023387 le_att_same_type:
+0x5a8c 023388 fetcht 1 ,mem_le_search_att_type_length 
+0x5a8d 023389 arg mem_le_search_att_type ,rega 
+:      023390 le_att_check_same_common:
+0x5a8e 023391 fetch 1 ,mem_le_cur_uuid_length 
+0x5a8f 023392 copy pdata ,loopcnt 
+0x5a90 023393 isub temp ,null 
+0x5a91 023394 nrtn zero 
+0x5a92 023395 arg mem_le_cur_uuid ,regb 
+0x5a93 023396 branch string_compare 
+:      023398 le_att_same_uuid:
+0x5a94 023399 fetcht 1 ,mem_le_search_uuid_length 
+0x5a95 023400 arg mem_le_search_uuid ,rega 
+0x5a96 023401 branch le_att_check_same_common 
+:      023404 le_store_att_record:
+0x5a97 023405 fetch 1 ,mem_le_curr_att_len 
+0x5a98 023406 store 1 ,mem_tmp_buffer 
+0x5a99 023407 copy pdata ,loopcnt 
+0x5a9a 023408 call get_contr 
+0x5a9b 023409 branch memcpy_fast 
+:      023412 le_write_att_record:
+0x5a9c 023413 call get_contw 
+0x5a9d 023414 fetch 2 ,mem_le_cur_handle_start 
+0x5a9e 023415 istore 2 ,contw 
+0x5a9f 023416 fetch 2 ,mem_le_cur_handle_end 
+0x5aa0 023417 istore 2 ,contw 
+:      023418 le_write_att_record_common:
+0x5aa1 023419 fetch 1 ,mem_tmp_buffer 
+0x5aa2 023420 copy pdata ,loopcnt 
+0x5aa3 023421 call memcpy_fast 
+0x5aa4 023422 branch store_contw 
+:      023426 le_send_auto_len_by_mem:
+0x5aa5 023427 call get_contw 
+0x5aa6 023428 call le_fifo_get_last_att_ptr 
+0x5aa7 023429 copy contw ,pdata 
+0x5aa8 023430 isub contr ,rega 
+0x5aa9 023431 call le_fifo_get_last_l2cap_ptr 
+0x5aaa 023432 copy rega ,pdata 
+0x5aab 023433 istore 2 ,contr 
+0x5aac 023434 increase 4 ,rega 
+0x5aad 023435 call le_fifo_get_last_tx_ptr 
+0x5aae 023436 copy rega ,pdata 
+0x5aaf 023437 istore 1 ,contr 
+0x5ab0 023438 rtn 
+:      023441 le_get_search_handle_start_end_common:
+0x5ab1 023442 rshift8 pdata ,pdata 
+0x5ab2 023443 store 2 ,mem_le_search_handle_start 
+0x5ab3 023444 ifetch 2 ,contr 
+0x5ab4 023445 store 2 ,mem_le_search_handle_end 
+0x5ab5 023446 rtn 
+:      023451 le_parse_signaling:
+0x5ab6 023452 ifetch 1 ,contr 
+0x5ab7 023453 ifetcht 1 ,contr 
+0x5ab8 023454 ifetcht 2 ,contr 
+0x5ab9 023455 beq l2cap_connection_parameter_update_response ,le_l2cap_parse_conn_parameter_update_rsp 
+0x5aba 023456 rtn 
+:      023457 le_l2cap_parse_conn_parameter_update_rsp:
+0x5abb 023458 ifetch 2 ,contr 
+0x5abc 023459 store 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x5abd 023460 jam bt_evt_le_parse_conn_papa_update_rsp ,mem_fifo_temp 
+0x5abe 023461 branch ui_ipc_send_event 
+:      023467 le_l2cap_tx_update_req:
+0x5abf 023468 arg 0x0c ,rega 
+0x5ac0 023469 arg l2cap_connection_parameter_update_request ,regc 
+0x5ac1 023470 call le_fifo_malloc_tx_l2cap_signaling 
+0x5ac2 023471 setarg 0x08 
+0x5ac3 023472 istore 2 ,contw 
+0x5ac4 023473 fetch 8 ,mem_le_interval_min 
+0x5ac5 023474 istore 8 ,contw 
+0x5ac6 023475 rtn 
+:      023479 le_fifo_malloc_tx_l2cap_signaling:
+0x5ac7 023480 call le_l2cap_update_signaling_identifier 
+0x5ac8 023481 arg le_l2cap_cid_signal ,regb 
+0x5ac9 023482 call le_fifo_malloc_tx_l2cap 
+0x5aca 023483 copy regc ,pdata 
+0x5acb 023484 istore 1 ,contw 
+0x5acc 023485 fetch 1 ,mem_le_signaling_identifier 
+0x5acd 023486 istore 1 ,contw 
+0x5ace 023487 rtn 
+:      023490 le_l2cap_update_signaling_identifier:
+0x5acf 023491 fetch 1 ,mem_le_signaling_identifier 
+0x5ad0 023493 pincrease 1 
+0x5ad1 023494 store 1 ,mem_le_signaling_identifier 
+0x5ad2 023495 rtnne 0 
+:      023497 le_l2cap_reset_signaling_identifier:
+0x5ad3 023498 jam 1 ,mem_le_signaling_identifier 
+0x5ad4 023499 rtn 
+:      023504 le_pairing_mode_init:
+0x5ad5 023505 fetch 1 ,mem_le_pairing_mode 
+0x5ad6 023506 beq le_pairing_mode_none ,le_set_no_pairing 
+0x5ad7 023507 beq le_pairing_mode_lagacy_justwork ,le_set_pairing_mode_lagacy_just_work 
+0x5ad8 023508 beq le_pairing_mode_lagacy_passkey ,le_set_pairing_mode_lagacy_passkey 
+0x5ad9 023509 beq le_pairing_mode_secure_connect_justwork ,le_set_pairing_mode_secure_justwork 
+0x5ada 023510 beq le_pairing_mode_secure_connect_numeric ,le_set_pairing_mode_secure_numeric 
+0x5adb 023511 beq le_pairing_mode_secure_connect_passkey ,le_set_pairing_mode_secure_passkey 
+0x5adc 023512 rtn 
+:      023514 le_set_pairing_mode_secure_justwork:
+0x5add 023515 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x5ade 023516 branch le_set_noinputnooutput 
+:      023517 le_set_pairing_mode_secure_numeric:
+0x5adf 023518 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x5ae0 023519 jam flag_iocap_displayyesno ,mem_le_pres_iocap 
+0x5ae1 023520 rtn 
+:      023521 le_set_pairing_mode_secure_passkey:
+0x5ae2 023522 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x5ae3 023523 branch le_set_displayonly 
+:      023524 le_set_no_pairing:
+0x5ae4 023525 jam flag_le_no_bonding_no_mitm ,mem_le_pres_auth 
+:      023526 le_set_noinputnooutput:
+0x5ae5 023527 jam flag_iocap_noinputnooutput ,mem_le_pres_iocap 
+0x5ae6 023528 rtn 
+:      023529 le_set_pairing_mode_lagacy_just_work:
+0x5ae7 023530 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+0x5ae8 023531 branch le_set_noinputnooutput 
+:      023532 le_set_pairing_mode_lagacy_passkey:
+0x5ae9 023533 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+:      023534 le_set_displayonly:
+0x5aea 023535 jam flag_iocap_displayonly ,mem_le_pres_iocap 
+0x5aeb 023536 rtn 
+:      023539 le_secure_connection_enable:
+0x5aec 023540 fetch 1 ,mem_le_pres_auth 
+0x5aed 023541 set1 le_auth_secure_connection_pairing_bit ,pdata 
+0x5aee 023542 store 1 ,mem_le_pres_auth 
+0x5aef 023543 rtn 
+:      023544 le_secure_connection_disable:
+0x5af0 023545 fetch 1 ,mem_le_pres_auth 
+0x5af1 023546 set0 le_auth_secure_connection_pairing_bit ,pdata 
+0x5af2 023547 store 1 ,mem_le_pres_auth 
+0x5af3 023548 rtn 
+:      023550 le_parse_smp:
+0x5af4 023551 ifetch 1 ,contr 
+0x5af5 023552 beq smp_pairing_request ,le_parse_smp_pairing_request 
+0x5af6 023554 beq smp_pairing_confirm ,le_parse_smp_pairing_confirm 
+0x5af7 023555 beq smp_pairing_random ,le_parse_smp_pairing_random 
+0x5af8 023556 beq smp_pairing_failed ,le_parse_smp_pairing_failed 
+0x5af9 023557 beq smp_encryption_information ,le_parse_smp_encryption_information 
+0x5afa 023558 beq smp_master_identification ,le_parse_smp_master_identification 
+0x5afb 023559 beq smp_identity_information ,le_parse_smp_identity_information 
+0x5afc 023560 beq smp_identity_address_information ,le_parse_smp_identity_address_information 
+0x5afd 023561 beq smp_signing_information ,le_parse_smp_signing_information 
+0x5afe 023562 beq smp_security_request ,le_parse_smp_security_request 
+0x5aff 023563 beq smp_pairing_public_key ,le_parse_smp_public_key 
+0x5b00 023564 beq smp_pairing_dhkey_check ,le_parse_smp_dhkey_check 
+0x5b01 023565 rtn 
+:      023569 le_send_smp_security_request:
+0x5b02 023570 force 2 ,rega 
+0x5b03 023571 call le_fifo_malloc_tx_l2cap_smp 
+0x5b04 023572 setarg smp_security_request 
+0x5b05 023573 istore 1 ,contw 
+0x5b06 023574 fetch 1 ,mem_le_pres_auth 
+0x5b07 023575 istore 1 ,contw 
+0x5b08 023576 rtn 
+:      023578 le_parse_smp_pairing_request:
+0x5b09 023579 store 1 ,mem_le_preq 
+0x5b0a 023580 ifetch 6 ,contr 
+0x5b0b 023581 istore 6 ,contw 
+0x5b0c 023582 fetch 1 ,mem_le_pairing_mode 
+0x5b0d 023583 beq le_pairing_mode_none ,le_smp_pairing_fail_reason_not_support_pairing 
+0x5b0e 023584 call le_send_smp_pairing_response 
+0x5b0f 023585 call le_check_master_support_secure_connect 
+0x5b10 023586 jam flag_le_pairing_rcv_pairing_req ,mem_le_pairing_state 
+0x5b11 023587 fetch 1 ,mem_le_preq_iocap 
+0x5b12 023588 beq flag_iocap_displayonly ,le_set_tk_0 
+0x5b13 023589 beq flag_iocap_displayyesno ,le_set_tk_0 
+0x5b14 023590 beq flag_iocap_noinputnooutput ,le_set_tk_0 
+0x5b15 023591 fetch 1 ,mem_le_pairing_mode 
+0x5b16 023592 beq le_pairing_mode_lagacy_passkey ,le_parse_smp_pairing_req_passkey 
+0x5b17 023593 rtneq le_pairing_mode_secure_connect_passkey 
+:      023594 le_set_tk_0:
+0x5b18 023595 arg 0 ,pdata 
+0x5b19 023596 store 4 ,mem_le_tk 
+0x5b1a 023597 rtn 
+:      023599 le_parse_smp_pairing_req_passkey:
+0x5b1b 023600 fetch 1 ,mem_le_configuration 
+0x5b1c 023601 bbit1 bit_ble_passkey_fixed_key ,le_parse_smp_pairing_req_fixed_passkey 
+:      023602 le_genernate_tk:
+0x5b1d 023603 arg mem_le_tk ,rega 
+0x5b1e 023604 copy rega ,contw 
+0x5b1f 023605 arg 3 ,loopcnt 
+0x5b20 023606 call generate_random_loop 
+0x5b21 023607 fetch 2 ,mem_le_tk + 2 
+0x5b22 023608 and_into 0x7 ,pdata 
+0x5b23 023609 store 2 ,mem_le_tk + 2 
+:      023610 le_parse_smp_pairing_req_fixed_passkey:
+0x5b24 023611 jam bt_evt_le_tk_generate ,mem_fifo_temp 
+0x5b25 023612 branch ui_ipc_send_event 
+:      023614 le_check_master_support_secure_connect:
+0x5b26 023615 fetch 1 ,mem_le_preq_auth 
+0x5b27 023616 rtnbit1 le_auth_secure_connection_pairing_bit 
+0x5b28 023617 fetch 1 ,mem_le_pairing_mode 
+0x5b29 023618 rtnbit0 le_pairing_mode_secure_connect_bit 
+0x5b2a 023619 branch app_ble_disconnect 
+:      023621 le_send_smp_pairing_response:
+0x5b2b 023622 force 7 ,rega 
+0x5b2c 023623 call le_fifo_malloc_tx_l2cap_smp 
+0x5b2d 023624 fetch 7 ,mem_le_pres 
+0x5b2e 023625 istore 7 ,contw 
+0x5b2f 023626 rtn 
+:      023629 le_parse_smp_pairing_confirm:
+0x5b30 023630 copy contr ,rega 
+0x5b31 023631 fetch 1 ,mem_le_pairing_mode 
+0x5b32 023632 beq le_pairing_mode_secure_connect_passkey ,le_parse_smp_pairing_confirm_secure_passkey 
+0x5b33 023633 copy rega ,contr 
+0x5b34 023634 arg mem_le_rconfirm ,contw 
+0x5b35 023635 call memcpy16 
+0x5b36 023636 branch le_send_smp_pairing_confirm 
+:      023637 le_parse_smp_pairing_confirm_secure_passkey:
+0x5b37 023638 copy rega ,contr 
+0x5b38 023639 arg mem_le_rconfirm ,contw 
+0x5b39 023640 call memcpy16 
+0x5b3a 023641 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x5b3b 023642 jam le_sc_stat_passkey_wait_confirm ,mem_le_secure_connect_state 
+0x5b3c 023643 rtn 
+:      023646 le_send_smp_pairing_confirm:
+0x5b3d 023647 fetch 1 ,mem_le_pairing_mode 
+0x5b3e 023648 bbit1 le_pairing_mode_secure_connect_bit ,le_send_smp_pairing_confirm_sc 
+0x5b3f 023649 call generate_confirm 
+0x5b40 023650 force 17 ,rega 
+0x5b41 023651 call le_fifo_malloc_tx_l2cap_smp 
+0x5b42 023652 setarg smp_pairing_confirm 
+0x5b43 023653 istore 1 ,contw 
+0x5b44 023654 branch store_aes_result 
+:      023657 le_send_smp_pairing_confirm_sc:
+0x5b45 023658 arg mem_le_srand ,contw 
+0x5b46 023659 call generate_random 
+0x5b47 023660 call function_f4_cb 
+0x5b48 023661 force 17 ,rega 
+0x5b49 023662 call le_fifo_malloc_tx_l2cap_smp 
+0x5b4a 023663 setarg smp_pairing_confirm 
+0x5b4b 023664 istore 1 ,contw 
+0x5b4c 023665 branch load_inverse_result 
+:      023669 le_parse_smp_pairing_random:
+0x5b4d 023670 copy contr ,rega 
+0x5b4e 023671 fetch 1 ,mem_le_pairing_mode 
+0x5b4f 023672 bbit1 le_pairing_mode_secure_connect_bit ,le_parse_smp_pairing_random_sc 
+0x5b50 023673 copy rega ,contr 
+0x5b51 023674 call authenticate_rconfirm 
+0x5b52 023675 branch le_parse_smp_pairing_random_success ,zero 
+:      023676 le_send_pairing_confirm_value_failed:
+0x5b53 023677 jam pairing_failed_confirm_value_failed ,mem_le_ll_pairing_fail_reason 
+:      023678 le_send_pairing_failed:
+0x5b54 023679 force 2 ,rega 
+0x5b55 023680 call le_fifo_malloc_tx_l2cap_smp 
+0x5b56 023681 setarg smp_pairing_failed 
+0x5b57 023682 istore 1 ,contw 
+0x5b58 023683 fetch 1 ,mem_le_ll_pairing_fail_reason 
+0x5b59 023684 istore 1 ,contw 
+:      023685 le_parse_smp_pairing_failed:
+0x5b5a 023686 force smp_pairing_timer ,queue 
+0x5b5b 023687 call timer_stop 
+0x5b5c 023688 jam flag_le_pairing_null ,mem_le_pairing_state 
+0x5b5d 023689 jam bt_evt_le_pairing_fail ,mem_fifo_temp 
+0x5b5e 023690 branch ui_ipc_send_event 
+:      023692 le_smp_pairing_fail_reason_not_support_pairing:
+0x5b5f 023693 jam pairing_failed_pairing_not_supported ,mem_le_ll_pairing_fail_reason 
+0x5b60 023694 branch le_send_pairing_failed 
+:      023697 le_parse_smp_pairing_random_sc:
+0x5b61 023698 arg mem_le_mrand ,contw 
+0x5b62 023699 copy rega ,contr 
+0x5b63 023700 call memcpy16 
+0x5b64 023701 fetch 1 ,mem_le_pairing_mode 
+0x5b65 023702 beq le_pairing_mode_secure_connect_passkey ,le_parse_smp_pairing_random_sc_passkey 
+0x5b66 023703 call function_g2 
+0x5b67 023706 call le_send_smp_pairing_random 
+0x5b68 023707 fetch 1 ,mem_le_pairing_mode 
+0x5b69 023708 rtnne le_pairing_mode_secure_connect_numeric 
+0x5b6a 023709 jam bt_evt_le_gkey_generate ,mem_fifo_temp 
+0x5b6b 023710 branch ui_ipc_send_event 
+:      023712 le_parse_smp_pairing_random_sc_passkey:
+0x5b6c 023713 call function_f4_ca 
+0x5b6d 023714 arg mem_aes_cmac_temp ,contw 
+0x5b6e 023715 call load_inverse_result 
+0x5b6f 023716 arg mem_aes_cmac_temp ,rega 
+0x5b70 023717 arg mem_le_rconfirm ,regb 
+0x5b71 023718 arg 16 ,loopcnt 
+0x5b72 023719 call string_compare 
+0x5b73 023720 nbranch le_send_pairing_confirm_value_failed ,zero 
+0x5b74 023721 branch le_send_smp_pairing_random 
+:      023723 le_parse_smp_pairing_random_success:
+0x5b75 023724 call generate_stk 
+0x5b76 023725 jam bt_evt_le_pairing_success ,mem_fifo_temp 
+0x5b77 023726 call ui_ipc_send_event 
+0x5b78 023727 jam 1 ,mem_ltk_exists 
+0x5b79 023728 jam flag_le_pairing_after_auth ,mem_le_pairing_state 
+:      023730 le_send_smp_pairing_random:
+0x5b7a 023731 force 17 ,rega 
+0x5b7b 023732 call le_fifo_malloc_tx_l2cap_smp 
+0x5b7c 023733 setarg smp_pairing_random 
+0x5b7d 023734 istore 1 ,contw 
+0x5b7e 023735 arg mem_le_srand ,contr 
+0x5b7f 023736 branch memcpy16 
+:      023738 le_parse_smp_encryption_information:
+0x5b80 023739 arg mem_le_peer_ltk ,contw 
+0x5b81 023740 branch memcpy16 
+:      023742 le_send_smp_encryption_information:
+0x5b82 023743 force 17 ,rega 
+0x5b83 023744 call le_fifo_malloc_tx_l2cap_smp 
+0x5b84 023745 setarg smp_encryption_information 
+0x5b85 023746 istore 1 ,contw 
+0x5b86 023747 fetch 1 ,mem_le_configuration 
+0x5b87 023748 bbit1 bit_ble_pairing_fixed_ltk ,le_send_fixed_ltk 
+0x5b88 023749 arg mem_le_ltk ,contr 
+0x5b89 023750 branch memcpy16 
+:      023752 le_send_fixed_ltk:
+0x5b8a 023753 arg mem_le_fixed_ltk ,contr 
+0x5b8b 023754 branch memcpy16 
+:      023757 le_send_smp_master_identification:
+0x5b8c 023758 arg mem_le_ediv ,contw 
+0x5b8d 023759 force 10 ,loopcnt 
+0x5b8e 023760 call generate_random_loop 
+0x5b8f 023761 force 11 ,rega 
+0x5b90 023762 call le_fifo_malloc_tx_l2cap_smp 
+0x5b91 023763 setarg smp_master_identification 
+0x5b92 023764 istore 1 ,contw 
+0x5b93 023765 fetch 2 ,mem_le_ediv 
+0x5b94 023766 istore 2 ,contw 
+0x5b95 023767 fetch 8 ,mem_le_rand 
+0x5b96 023768 istore 8 ,contw 
+0x5b97 023769 rtn 
+:      023771 le_send_smp_identity_information:
+0x5b98 023772 force 17 ,rega 
+0x5b99 023773 call le_fifo_malloc_tx_l2cap_smp 
+0x5b9a 023774 setarg smp_identity_information 
+0x5b9b 023775 istore 1 ,contw 
+0x5b9c 023776 setarg 0 
+0x5b9d 023777 istore 8 ,contw 
+0x5b9e 023778 istore 8 ,contw 
+0x5b9f 023779 rtn 
+:      023782 le_send_smp_identity_address_information:
+0x5ba0 023783 force 8 ,rega 
+0x5ba1 023784 call le_fifo_malloc_tx_l2cap_smp 
+0x5ba2 023785 setarg smp_identity_address_information 
+0x5ba3 023786 istore 1 ,contw 
+0x5ba4 023787 fetch 1 ,mem_le_conn_own_addr_type 
+0x5ba5 023788 istore 1 ,contw 
+0x5ba6 023789 fetch 6 ,mem_le_lap 
+0x5ba7 023790 istore 6 ,contw 
+0x5ba8 023791 rtn 
+:      023794 le_send_pairing_fail_unspecified_reason:
+0x5ba9 023795 jam pairing_failed_unspecified_reason ,mem_le_ll_pairing_fail_reason 
+0x5baa 023796 branch le_send_pairing_failed 
+:      023798 le_check_init_key_distribution:
+0x5bab 023799 fetch 1 ,mem_le_pres_init_key_distribution 
+0x5bac 023800 fetcht 1 ,mem_le_pres_init_key_distribution 
+0x5bad 023801 iand temp ,pdata 
+0x5bae 023802 rtn 
+:      023804 le_parse_smp_identity_information:
+0x5baf 023805 arg mem_le_irk ,contw 
+0x5bb0 023806 call memcpy16 
+0x5bb1 023807 call le_check_init_key_distribution 
+0x5bb2 023808 isolate0 le_initator_irk_bit ,pdata 
+0x5bb3 023809 branch le_send_pairing_fail_unspecified_reason ,true 
+0x5bb4 023810 fetch 1 ,mem_device_option 
+0x5bb5 023811 rtnne dvc_op_module 
+0x5bb6 023812 call le_check_master_addr_type 
+0x5bb7 023813 nrtn user 
+0x5bb8 023814 branch app_ble_store_reconn_info 
+:      023817 le_check_master_addr_type:
+0x5bb9 023818 call disable_user 
+0x5bba 023819 fetch 1 ,mem_le_conn_peer_addr_type 
+0x5bbb 023820 rtneq master_public_addr 
+0x5bbc 023821 fetch 1 ,mem_le_plap + 5 
+0x5bbd 023822 compare 0xc0 ,pdata ,0xc0 
+0x5bbe 023823 rtn true 
+0x5bbf 023824 branch enable_user 
+:      023826 le_parse_smp_identity_address_information:
+0x5bc0 023827 call le_check_init_key_distribution 
+0x5bc1 023828 isolate0 le_initator_irk_bit ,pdata 
+0x5bc2 023829 branch le_send_pairing_fail_unspecified_reason ,true 
+0x5bc3 023830 rtn 
+:      023832 le_parse_smp_master_identification:
+:      023833 le_parse_smp_signing_information:
+:      023834 le_parse_smp_security_request:
+0x5bc4 023835 rtn 
+:      023837 le_parse_smp_public_key:
+0x5bc5 023838 arg mem_le_pubkey_remote_x_256 ,contw 
+0x5bc6 023839 call memcpy64 
+0x5bc7 023840 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x5bc8 023841 jam le_sc_stat_receive_public_key ,mem_le_secure_connect_state 
+0x5bc9 023842 rtn 
+:      023844 le_parse_smp_dhkey_check:
+0x5bca 023845 arg mem_sp_confirm_remote ,contw 
+0x5bcb 023846 call memcpy16 
+0x5bcc 023847 jam le_sc_stat_receive_dhkey ,mem_le_secure_connect_state 
+0x5bcd 023848 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x5bce 023849 rtn 
+:      023851 le_send_smp_pairing_public_key:
+0x5bcf 023852 force 65 ,rega 
+0x5bd0 023853 call le_fifo_malloc_tx_l2cap_smp 
+0x5bd1 023854 setarg smp_pairing_public_key 
+0x5bd2 023855 istore 1 ,contw 
+0x5bd3 023856 arg mem_le_pubkey_local_x_256 ,contr 
+0x5bd4 023857 branch memcpy64 
+:      023859 le_send_smp_pairing_dhkey_check:
+0x5bd5 023860 call function_f6_eb 
+0x5bd6 023861 force 17 ,rega 
+0x5bd7 023862 call le_fifo_malloc_tx_l2cap_smp 
+0x5bd8 023863 setarg smp_pairing_dhkey_check 
+0x5bd9 023864 istore 1 ,contw 
+0x5bda 023865 branch load_inverse_result 
+:      023868 le_check_paring_time:
+0x5bdb 023869 fetch 1 ,mem_le_pairing_state 
+0x5bdc 023870 rtneq flag_le_pairing_end 
+0x5bdd 023871 arg flag_le_pairing_rcv_pairing_req ,temp 
+0x5bde 023872 isub temp ,null 
+0x5bdf 023873 nrtn positive 
+0x5be0 023874 arg smp_pairing_timer ,queue 
+0x5be1 023875 call timer_check 
+0x5be2 023876 nrtn blank 
+0x5be3 023877 branch le_send_pairing_fail_unspecified_reason 
+:      023879 le_pairing_sm:
+0x5be4 023880 bpatchx patch2f_0 ,mem_patch2f 
+0x5be5 023881 fetch 1 ,mem_le_pairing_state 
+0x5be6 023882 beq flag_le_pairing_null ,le_pairing_sm_null 
+0x5be7 023883 beq flag_le_pairing_start ,le_pairing_sm_start 
+0x5be8 023884 beq flag_le_pairing_send_recurity_req ,le_pairing_sm_send_sec_req 
+0x5be9 023885 beq flag_le_pairing_rcv_pairing_req ,le_pairing_sm_rcv_pairing_req 
+0x5bea 023886 beq flag_le_pairing_after_auth ,le_pairing_sm_after_auth 
+0x5beb 023887 beq flag_le_paring_send_enc_information ,le_pairng_sm_send_enc_information 
+0x5bec 023888 beq flag_le_paring_send_master_identification ,le_pairng_sm_send_master_indentification 
+0x5bed 023889 beq flag_le_paring_send_indentity_information ,le_pairng_sm_send_indentity_information 
+0x5bee 023890 rtn 
+:      023892 le_pairing_sm_null:
+:      023893 le_pairing_sm_send_sec_req:
+0x5bef 023894 fetch 1 ,mem_le_enc_state 
+0x5bf0 023895 rtnne flag_le_send_start_enc_rsp 
+0x5bf1 023896 jam flag_le_enc_end ,mem_le_enc_state 
+0x5bf2 023897 jam flag_le_pairing_end ,mem_le_pairing_state 
+0x5bf3 023898 jam bt_evt_le_reconnect_complete ,mem_fifo_temp 
+0x5bf4 023899 branch ui_ipc_send_event 
+:      023902 le_pairing_sm_start:
+0x5bf5 023903 jam flag_le_pairing_send_recurity_req ,mem_le_pairing_state 
+0x5bf6 023904 branch le_send_smp_security_request 
+:      023906 le_pairing_sm_rcv_pairing_req:
+0x5bf7 023907 jam flag_le_pairing_auth ,mem_le_pairing_state 
+0x5bf8 023908 setarg timer_smp_pairing_timeout 
+0x5bf9 023909 arg smp_pairing_timer ,queue 
+0x5bfa 023910 branch timer_init 
+:      023912 le_pairing_sm_after_auth:
+0x5bfb 023913 fetch 1 ,mem_le_enc_state 
+0x5bfc 023914 beq flag_le_send_start_enc_rsp ,le_pairing_sm_after_auth_start_enc 
+0x5bfd 023915 rtn 
+:      023917 le_pairing_sm_after_auth_start_enc:
+0x5bfe 023918 jam flag_le_paring_send_enc_information ,mem_le_pairing_state 
+0x5bff 023919 jam bt_evt_le_enc_info ,mem_fifo_temp 
+0x5c00 023920 call ui_ipc_send_event 
+0x5c01 023921 call le_send_smp_encryption_information 
+0x5c02 023922 fetch 1 ,mem_device_option 
+0x5c03 023923 rtnne dvc_op_module 
+0x5c04 023924 call le_check_master_addr_type 
+0x5c05 023925 rtn user 
+0x5c06 023926 branch app_ble_store_reconn_info 
+:      023929 le_pairng_sm_send_enc_information:
+0x5c07 023930 jam flag_le_paring_send_master_identification ,mem_le_pairing_state 
+0x5c08 023931 branch le_send_smp_master_identification 
+:      023933 le_pairng_sm_send_master_indentification:
+0x5c09 023934 fetch 1 ,mem_le_preq_resp_key_distribution 
+0x5c0a 023935 fetcht 1 ,mem_le_pres_resp_key_distribution 
+0x5c0b 023936 iand temp ,pdata 
+0x5c0c 023937 isolate0 le_initator_irk_bit ,pdata 
+0x5c0d 023938 branch le_parse_start_enc_rsp_after_auth_end ,true 
+0x5c0e 023939 jam flag_le_paring_send_indentity_information ,mem_le_pairing_state 
+0x5c0f 023940 branch le_send_smp_identity_information 
+:      023942 le_pairng_sm_send_indentity_information:
+0x5c10 023943 call le_send_smp_identity_address_information 
+0x5c11 023944 branch le_parse_start_enc_rsp_after_auth_end 
+:      023947 le_parse_start_enc_rsp_after_auth_end:
+0x5c12 023948 force smp_pairing_timer ,queue 
+0x5c13 023949 call timer_stop 
+0x5c14 023950 jam flag_le_enc_end ,mem_le_enc_state 
+0x5c15 023951 jam flag_le_pairing_end ,mem_le_pairing_state 
+0x5c16 023952 jam bt_evt_le_pairing_complete ,mem_fifo_temp 
+0x5c17 023953 branch ui_ipc_send_event 
+:      023957 le_secure_connect_sm:
+0x5c18 023958 bpatchx patch2f_1 ,mem_patch2f 
+0x5c19 023959 fetch 1 ,mem_le_pairing_mode 
+0x5c1a 023960 rtnbit0 le_pairing_mode_secure_connect_bit 
+0x5c1b 023961 fetch 1 ,mem_le_secure_connect_flag 
+0x5c1c 023962 rtnne le_sp_flag_commit_256 
+0x5c1d 023963 jam sp_flag_standby ,mem_le_secure_connect_flag 
+0x5c1e 023964 fetch 1 ,mem_le_secure_connect_state 
+0x5c1f 023965 beq le_sc_stat_receive_public_key ,le_sc_sm_receive_public_key 
+0x5c20 023966 beq le_sc_stat_wait_send_public_key ,le_sc_sm_wait_send_public_key 
+0x5c21 023967 beq le_sc_stat_send_public_key ,le_sc_sm_send_public_key 
+0x5c22 023968 beq le_sc_stat_receive_dhkey ,le_sc_sm_receive_dhkey 
+0x5c23 023969 beq le_sc_stat_wait_confirm_gkey ,le_sc_sm_wait_confirm_gkey 
+0x5c24 023970 beq le_sc_stat_passkey_wait_confirm ,le_sc_sm_passkey_wait_confirm 
+0x5c25 023971 rtn 
+:      023974 le_sc_sm_passkey_wait_confirm:
+0x5c26 023975 fetch 1 ,mem_authentication_passkey_times 
+0x5c27 023976 copy pdata ,queue 
+0x5c28 023977 increase 1 ,pdata 
+0x5c29 023978 store 1 ,mem_authentication_passkey_times 
+0x5c2a 023979 fetch 4 ,mem_le_tk 
+0x5c2b 023980 qisolate1 pdata 
+0x5c2c 023981 setarg 0x80 
+0x5c2d 023982 setflag true ,0 ,pdata 
+0x5c2e 023983 store 1 ,mem_passkey_1bit 
+0x5c2f 023984 branch le_sc_sm_ready_send_pairing_confirm 
+:      023986 le_sc_sm_wait_confirm_gkey:
+0x5c30 023987 fetch 1 ,mem_le_sc_confirm_gkey_flag 
+0x5c31 023988 jam flag_le_sc_confrim_null ,mem_le_sc_confirm_gkey_flag 
+0x5c32 023989 beq flag_le_sc_confrim_gkey_ok ,le_sc_confirm_gkey_ok 
+0x5c33 023990 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x5c34 023991 rtn 
+:      023993 le_sc_confirm_gkey_ok:
+0x5c35 023994 jam bt_evt_le_pairing_success ,mem_fifo_temp 
+0x5c36 023995 call ui_ipc_send_event 
+0x5c37 023996 jam flag_le_pairing_after_auth ,mem_le_pairing_state 
+0x5c38 023997 branch le_send_smp_pairing_dhkey_check 
+:      023999 le_sc_sm_receive_dhkey:
+0x5c39 024000 fetch 1 ,mem_sp_dhkey_invalid 
+0x5c3a 024001 beq sp_key_valid_256 ,le_dhkey_ready 
+0x5c3b 024002 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x5c3c 024003 rtn 
+:      024005 le_dhkey_ready:
+0x5c3d 024006 call function_f5 
+0x5c3e 024010 fetch 1 ,mem_le_pairing_mode 
+0x5c3f 024011 beq le_pairing_mode_secure_connect_passkey ,le_dhkey_ready_common 
+0x5c40 024012 call le_set_tk_0 
+:      024013 le_dhkey_ready_common:
+0x5c41 024014 call function_f6_ea 
+0x5c42 024015 arg mem_aes_cmac_temp ,rega 
+0x5c43 024016 arg mem_sp_confirm_remote ,regb 
+0x5c44 024017 arg 16 ,loopcnt 
+0x5c45 024018 call string_compare 
+0x5c46 024019 branch le_dhkey_check_ok ,zero 
+:      024020 le_dhkey_check_fail:
+0x5c47 024021 jam pairing_failed_dhkey_check_failed ,mem_le_ll_pairing_fail_reason 
+0x5c48 024022 branch le_send_pairing_failed 
+:      024025 le_dhkey_check_ok:
+0x5c49 024026 call sp_calc_check_publickey_256 
+0x5c4a 024027 nbranch le_dhkey_check_fail ,zero 
+0x5c4b 024028 jam 1 ,mem_ltk_exists 
+0x5c4c 024029 fetch 1 ,mem_le_pairing_mode 
+0x5c4d 024030 beq le_pairing_mode_secure_connect_justwork ,le_sc_confirm_gkey_ok 
+0x5c4e 024031 beq le_pairing_mode_secure_connect_passkey ,le_sc_confirm_gkey_ok 
+0x5c4f 024032 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x5c50 024033 jam le_sc_stat_wait_confirm_gkey ,mem_le_secure_connect_state 
+0x5c51 024034 rtn 
+:      024036 le_sc_sm_send_public_key:
+0x5c52 024037 fetch 1 ,mem_le_pairing_mode 
+0x5c53 024038 beq le_pairing_mode_secure_connect_passkey ,le_sc_sm_send_public_key_passkey 
+0x5c54 024039 jam 0 ,mem_passkey_1bit 
+:      024040 le_sc_sm_ready_send_pairing_confirm:
+0x5c55 024041 branch le_send_smp_pairing_confirm 
+:      024043 le_sc_sm_send_public_key_passkey:
+0x5c56 024047 jam 0 ,mem_authentication_passkey_times 
+0x5c57 024048 branch le_parse_smp_pairing_req_passkey 
+:      024051 le_sc_sm_receive_public_key:
+0x5c58 024052 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x5c59 024053 fetch 1 ,mem_le_sc_local_key_invalid 
+0x5c5a 024054 beq sp_key_valid_256 ,le_public_key_ready 
+0x5c5b 024056 rtn 
+:      024058 le_public_key_ready:
+0x5c5c 024059 jam le_sc_stat_wait_send_public_key ,mem_le_secure_connect_state 
+0x5c5d 024060 jam sp_key_invalid ,mem_sp_dhkey_invalid 
+0x5c5e 024061 branch sp_dhkey_calc_256 
+:      024063 le_sc_sm_wait_send_public_key:
+0x5c5f 024064 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x5c60 024065 jam le_sc_stat_send_public_key ,mem_le_secure_connect_state 
+0x5c61 024066 branch le_send_smp_pairing_public_key 
+:      024070 le_fifo_malloc_tx_l2cap_smp:
+0x5c62 024071 force le_l2cap_cid_smp ,regb 
+0x5c63 024072 branch le_fifo_malloc_tx_l2cap 
+:      024076 le_parse_ll:
+0x5c64 024077 fetch 1 ,mem_le_rxbuf + 2 
+0x5c65 024078 beq ll_connection_update_req ,le_parse_connection_update_req 
+0x5c66 024079 beq ll_channel_map_req ,le_parse_channel_map_req 
+0x5c67 024080 beq ll_terminate_ind ,le_parse_terminate_ind 
+0x5c68 024081 beq ll_enc_req ,le_parse_enc_req 
+0x5c69 024082 beq ll_enc_rsp ,le_parse_enc_rsp 
+0x5c6a 024083 beq ll_start_enc_req ,le_parse_start_enc_req 
+0x5c6b 024084 beq ll_start_enc_rsp ,le_parse_start_enc_rsp 
+0x5c6c 024085 beq ll_unknown_rsp ,le_parse_unknown_rsp 
+0x5c6d 024086 beq ll_feature_req ,le_parse_feature_req 
+0x5c6e 024087 beq ll_feature_rsp ,le_parse_feature_rsp 
+0x5c6f 024088 beq ll_pause_enc_req ,le_parse_pause_enc_req 
+0x5c70 024089 beq ll_pause_enc_rsp ,le_parse_pause_enc_rsp 
+0x5c71 024090 beq ll_version_ind ,le_parse_version_ind 
+0x5c72 024091 beq ll_reject_ind ,le_parse_reject_ind 
+0x5c73 024092 beq ll_ping_req ,le_parse_ping_req 
+0x5c74 024093 beq ll_ping_rsp ,le_parse_ping_rsp 
+0x5c75 024094 arg 2 ,rega 
+0x5c76 024095 arg ll_unknown_rsp ,regb 
+0x5c77 024096 call le_fifo_malloc_tx_ll 
+0x5c78 024097 fetch 1 ,mem_le_rxbuf + 2 
+0x5c79 024098 istore 1 ,contw 
+0x5c7a 024099 rtn 
+:      024102 le_parse_connection_update_req:
+0x5c7b 024103 ifetch 9 ,contr 
+0x5c7c 024104 store 9 ,mem_le_new_param 
+0x5c7d 024105 ifetch 2 ,contr 
+0x5c7e 024106 store 2 ,mem_le_instant 
+0x5c7f 024107 fetch 1 ,mem_le_state 
+0x5c80 024108 set1 lestate_update_param ,pdata 
+0x5c81 024109 store 1 ,mem_le_state 
+0x5c82 024110 rtn 
+:      024112 le_parse_channel_map_req:
+0x5c83 024113 ifetch 5 ,contr 
+0x5c84 024114 store 5 ,mem_le_new_map 
+0x5c85 024115 ifetch 2 ,contr 
+0x5c86 024116 store 2 ,mem_le_instant 
+0x5c87 024117 fetcht 2 ,mem_le_event_count 
+0x5c88 024118 isub temp ,null 
+0x5c89 024119 nbranch le_parse_terminate_ind ,positive 
+0x5c8a 024120 fetch 1 ,mem_le_state 
+0x5c8b 024121 set1 lestate_update_map ,pdata 
+0x5c8c 024122 store 1 ,mem_le_state 
+0x5c8d 024123 rtn 
+:      024126 le_parse_terminate_ind:
+0x5c8e 024127 setarg 20 
+0x5c8f 024128 store 2 ,mem_le_superto 
+0x5c90 024129 store 2 ,mem_le_init_superto 
+0x5c91 024130 rtn 
+:      024132 le_send_terminate_ind_user_terminated:
+0x5c92 024133 arg error_remote_user_terminated_connection ,regc 
+:      024136 le_send_terminate_ind:
+0x5c93 024137 arg 2 ,rega 
+0x5c94 024138 arg ll_terminate_ind ,regb 
+0x5c95 024139 call le_fifo_malloc_tx_ll 
+0x5c96 024140 copy regc ,pdata 
+0x5c97 024141 istore 1 ,contw 
+0x5c98 024142 rtn 
+:      024144 le_parse_feature_req:
+:      024146 le_send_feature_rsp:
+0x5c99 024147 arg 9 ,rega 
+0x5c9a 024148 arg ll_feature_rsp ,regb 
+0x5c9b 024149 call le_fifo_malloc_tx_ll 
+0x5c9c 024150 setarg param_le_features 
+0x5c9d 024151 istore 8 ,contw 
+0x5c9e 024152 rtn 
+:      024155 le_parse_version_ind:
+0x5c9f 024156 rtn master 
+:      024157 le_send_version_ind:
+0x5ca0 024158 arg 6 ,rega 
+0x5ca1 024159 arg ll_version_ind ,regb 
+0x5ca2 024160 call le_fifo_malloc_tx_ll 
+0x5ca3 024161 fetch 5 ,mem_lmp_version 
+0x5ca4 024162 istore 5 ,contw 
+0x5ca5 024163 rtn 
+:      024166 le_parse_ping_req:
+0x5ca6 024167 arg ll_ping_rsp ,regb 
+0x5ca7 024168 branch le_send_ll_one_lenth 
+:      024171 le_send_ll_one_lenth:
+0x5ca8 024172 arg 1 ,rega 
+0x5ca9 024173 branch le_fifo_malloc_tx_ll 
+:      024176 le_parse_enc_req:
+0x5caa 024177 ifetch 8 ,contr 
+0x5cab 024178 store 8 ,mem_le_rand 
+0x5cac 024179 ifetch 2 ,contr 
+0x5cad 024180 store 2 ,mem_le_ediv 
+0x5cae 024181 ifetch 8 ,contr 
+0x5caf 024182 store 8 ,mem_le_skdm 
+0x5cb0 024183 ifetch 4 ,contr 
+0x5cb1 024184 store 4 ,mem_le_ivm 
+0x5cb2 024185 call le_send_enc_rsp 
+0x5cb3 024186 bpatchx patch2f_2 ,mem_patch2f 
+0x5cb4 024187 fetch 1 ,mem_le_pairing_state 
+0x5cb5 024188 beq flag_le_pairing_after_auth ,le_parse_enc_req_after_auth 
+0x5cb6 024189 fetch 1 ,mem_le_configuration 
+0x5cb7 024190 bbit1 bit_ble_pairing_fixed_ltk ,le_parse_enc_req_fixed_ltk 
+0x5cb8 024191 fetch 1 ,mem_nv_data_number 
+0x5cb9 024192 ncall load_device_list_mode_4 ,blank 
+0x5cba 024193 fetch 1 ,mem_ltk_exists 
+0x5cbb 024194 beq 0 ,le_ltk_lost 
+:      024195 le_parse_enc_req_after_auth:
+0x5cbc 024196 jam flag_le_rcv_enc_start ,mem_le_enc_state 
+0x5cbd 024197 call le_send_start_enc_req 
+0x5cbe 024198 branch generate_sk 
+:      024200 le_parse_enc_req_fixed_ltk:
+0x5cbf 024201 jam 1 ,mem_ltk_exists 
+0x5cc0 024202 arg mem_le_fixed_ltk ,contr 
+0x5cc1 024203 arg mem_le_ltk ,contw 
+0x5cc2 024204 call memcpy16 
+0x5cc3 024205 branch le_parse_enc_req_after_auth 
+:      024208 le_ltk_lost:
+0x5cc4 024209 bpatchx patch2f_3 ,mem_patch2f 
+0x5cc5 024210 jam flag_le_enc_null ,mem_le_enc_state 
+0x5cc6 024211 jam flag_le_enc_null ,mem_le_pairing_state 
+0x5cc7 024212 jam bt_evt_le_ltk_lost ,mem_fifo_temp 
+0x5cc8 024213 branch ui_ipc_send_event 
+:      024215 le_send_reject_ind:
+0x5cc9 024216 arg 2 ,rega 
+0x5cca 024217 arg ll_reject_ind ,regb 
+0x5ccb 024218 call le_fifo_malloc_tx_ll 
+0x5ccc 024219 setarg le_err_pin_or_key_missing 
+0x5ccd 024220 istore 1 ,contw 
+0x5cce 024221 rtn 
+:      024223 le_send_enc_rsp:
+0x5ccf 024224 arg mem_le_skds ,contw 
+0x5cd0 024225 force 8 ,loopcnt 
+0x5cd1 024226 call generate_random_loop 
+0x5cd2 024227 arg mem_le_ivs ,contw 
+0x5cd3 024228 force 4 ,loopcnt 
+0x5cd4 024229 call generate_random_loop 
+0x5cd5 024230 arg 13 ,rega 
+0x5cd6 024231 arg ll_enc_rsp ,regb 
+0x5cd7 024232 call le_fifo_malloc_tx_ll 
+0x5cd8 024233 fetch 8 ,mem_le_skds 
+0x5cd9 024234 istore 8 ,contw 
+0x5cda 024235 fetch 4 ,mem_le_ivs 
+0x5cdb 024236 istore 4 ,contw 
+0x5cdc 024237 rtn 
+:      024239 le_send_start_enc_req:
+0x5cdd 024240 arg ll_start_enc_req ,regb 
+0x5cde 024241 branch le_send_ll_one_lenth 
+:      024243 le_send_start_enc_rsp:
+0x5cdf 024244 arg ll_start_enc_rsp ,regb 
+0x5ce0 024245 branch le_send_ll_one_lenth 
+:      024248 le_parse_enc_rsp:
+0x5ce1 024249 ifetch 8 ,contr 
+0x5ce2 024250 store 8 ,mem_le_skds 
+0x5ce3 024251 ifetch 4 ,contr 
+0x5ce4 024252 store 4 ,mem_le_ivs 
+0x5ce5 024253 branch generate_sk 
+:      024255 le_parse_start_enc_req:
+0x5ce6 024256 fetch 1 ,mem_le_state 
+0x5ce7 024257 set1 lestate_encryption ,pdata 
+0x5ce8 024258 store 1 ,mem_le_state 
+0x5ce9 024259 rtn 
+:      024261 le_parse_start_enc_rsp:
+0x5cea 024262 rtn master 
+0x5ceb 024263 jam bt_evt_le_start_enc ,mem_fifo_temp 
+0x5cec 024264 call ui_ipc_send_event 
+0x5ced 024265 jam flag_le_send_start_enc_rsp ,mem_le_enc_state 
+0x5cee 024266 branch le_send_start_enc_rsp 
+:      024268 le_parse_pause_enc_req:
+0x5cef 024269 jam flag_le_enc_pause ,mem_le_enc_state 
+0x5cf0 024270 call le_send_pause_enc_rsp 
+0x5cf1 024271 jam bt_evt_le_pause_enc ,mem_fifo_temp 
+0x5cf2 024272 branch ui_ipc_send_event 
+:      024274 le_send_pause_enc_rsp:
+0x5cf3 024275 arg ll_pause_enc_rsp ,regb 
+0x5cf4 024276 branch le_send_ll_one_lenth 
+:      024279 le_parse_feature_rsp:
+:      024280 le_parse_unknown_rsp:
+:      024281 le_parse_pause_enc_rsp:
+:      024282 le_parse_reject_ind:
+:      024283 le_parse_ping_rsp:
+0x5cf5 024284 rtn 
+:      024291 init_lmp:
+0x5cf6 024292 rtn wake 
+:      024293 init_lmp_work:
+0x5cf7 024294 bpatchx patch2f_4 ,mem_patch2f 
+0x5cf8 024295 setarg 0 
+0x5cf9 024296 store 1 ,mem_lmp_to_send 
+0x5cfa 024297 store 1 ,mem_conn_sm 
+0x5cfb 024298 store 1 ,mem_lmo_opcode1 
+0x5cfc 024299 store 1 ,mem_lmo_opcode2 
+0x5cfd 024300 store 1 ,mem_esco_addr 
+0x5cfe 024301 store 1 ,mem_auth_enable 
+0x5cff 024302 store 1 ,mem_connection_options 
+0x5d00 024303 store 1 ,mem_pairing_auth 
+0x5d01 024304 jam switch_flag_init ,mem_switch_flag 
+0x5d02 024305 jam 0 ,mem_switch_fail_master_count 
+0x5d03 024306 jam null_encryp ,mem_wait_encryption 
+:      024307 init_lmp_reinit:
+0x5d04 024308 jam 0 ,mem_pairing_auth 
+0x5d05 024309 jam 0 ,mem_sp_localsm 
+0x5d06 024310 jam 0 ,mem_lmp_conn_state 
+:      024312 parse_rx_done:
+0x5d07 024313 rtn 
+:      024315 parse_lmp:
+0x5d08 024316 bpatchx patch2f_5 ,mem_patch2f 
+0x5d09 024317 call setlocalsm_master ,master 
+0x5d0a 024318 ncall setlocalsm_slave ,master 
+0x5d0b 024319 call lmo_fifo_check 
+0x5d0c 024320 nrtn blank 
+0x5d0d 024321 fetch 1 ,mem_state_map 
+0x5d0e 024322 rtnbit0 smap_rxlmp 
+0x5d0f 024323 set0 smap_rxlmp ,pdata 
+0x5d10 024324 set0 mark_rxbuf_inuse ,mark 
+0x5d11 024325 store 1 ,mem_state_map 
+0x5d12 024326 fetch 1 ,mem_rxbuf 
+0x5d13 024327 fetcht 1 ,mem_state_map 
+0x5d14 024328 isolate1 smap_lmptidinit ,pdata 
+0x5d15 024329 setflag true ,smap_lmptid ,temp 
+0x5d16 024330 storet 1 ,mem_state_map 
+0x5d17 024331 and_into 0x2 ,temp 
+0x5d18 024332 storet 1 ,mem_lmo_tid2 
+0x5d19 024333 fetcht 1 ,mem_state_map 
+0x5d1a 024334 rshift pdata ,pdata 
+0x5d1b 024335 store 1 ,mem_lmi_opcode2 
+0x5d1c 024336 bpatchx patch2f_6 ,mem_patch2f 
+0x5d1d 024337 fetch 1 ,mem_lmi_opcode2 
+0x5d1e 024338 beq lmp_escape ,parse_lmp_escape 
+0x5d1f 024339 beq lmp_accepted ,parse_lmp_accepted 
+0x5d20 024340 beq lmp_not_accepted ,parse_lmp_not_accepted 
+0x5d21 024341 beq lmp_set_afh ,parse_lmp_set_afh 
+0x5d22 024342 beq lmp_clkoffset_req ,parse_lmp_clkoffset_req 
+0x5d23 024343 beq lmp_encryption_mode_req ,parse_lmp_encryption_mode_req 
+0x5d24 024344 beq lmp_encryption_key_size_req ,parse_lmp_crypt_key 
+0x5d25 024345 beq lmp_auto_rate ,parse_lmp_auto_rate 
+0x5d26 024346 beq lmp_test_control ,parse_lmp_test_control 
+0x5d27 024347 beq lmp_test_activate ,parse_lmp_test_activate 
+0x5d28 024348 beq lmp_setup_complete ,parse_lmp_setup_complete 
+0x5d29 024349 beq lmp_supervision_timeout ,parse_lmp_supervision_timeout 
+0x5d2a 024350 beq lmp_features_req ,parse_lmp_features_req 
+0x5d2b 024351 beq lmp_host_connection_req ,parse_lmp_conn_req 
+0x5d2c 024352 beq lmp_version_req ,parse_lmp_version_req 
+0x5d2d 024353 beq lmp_version_res ,parse_lmp_version_res 
+0x5d2e 024354 beq lmp_detach ,parse_lmp_detach 
+0x5d2f 024355 beq lmp_max_slot ,parse_lmp_max_slot 
+0x5d30 024356 beq lmp_max_slot_req ,parse_lmp_max_slot_req 
+0x5d31 024357 beq lmp_name_req ,parse_lmp_name_req 
+0x5d32 024358 beq lmp_name_res ,parse_lmp_name_res 
+0x5d33 024359 beq lmp_features_res ,parse_lmp_features_res 
+0x5d34 024360 beq lmp_comb_key ,parse_lmp_comb_key 
+0x5d35 024361 beq lmp_au_rand ,parse_lmp_au_rand 
+0x5d36 024362 beq lmp_in_rand ,parse_lmp_in_rand 
+0x5d37 024363 beq lmp_sres ,parse_lmp_sres 
+0x5d38 024364 beq lmp_incr_power_req ,parse_lmp_incr_power 
+0x5d39 024365 beq lmp_decr_power_req ,parse_lmp_decr_power 
+0x5d3a 024366 beq lmp_max_power ,parse_lmp_max_power 
+0x5d3b 024367 beq lmp_min_power ,parse_lmp_min_power 
+0x5d3c 024368 beq lmp_page_mode_req ,parse_lmp_page_mode_req 
+0x5d3d 024369 beq lmp_page_scan_mode_req ,parse_lmp_page_scan_mode_req 
+0x5d3e 024370 beq lmp_preferred_rate ,parse_lmp_preferred_rate 
+0x5d3f 024371 beq lmp_slot_offset ,parse_lmp_slot_offset 
+0x5d40 024372 beq lmp_sniff_req ,parse_lmp_sniff_req 
+0x5d41 024373 beq lmp_start_encryption_req ,parse_lmp_start_encryption_req 
+0x5d42 024374 beq lmp_stop_encryption_req ,parse_lmp_stop_encryption_req 
+0x5d43 024375 beq lmp_switch_req ,parse_lmp_switch_req 
+0x5d44 024376 beq lmp_temp_rand ,parse_lmp_temp_rand 
+0x5d45 024377 beq lmp_temp_key ,parse_lmp_temp_key 
+0x5d46 024378 beq lmp_timing_accuracy_req ,parse_lmp_timing_accuracy_req 
+0x5d47 024379 beq lmp_timing_accuracy_res ,parse_lmp_timing_accuracy_res 
+0x5d48 024380 beq lmp_unit_key ,parse_lmp_unit_key 
+0x5d49 024381 beq lmp_unsniff_req ,parse_lmp_unsniff_req 
+0x5d4a 024382 beq lmp_use_semi_permanent_key ,parse_lmp_use_semi_permanend_key 
+0x5d4b 024383 beq lmp_encapsulated_header ,parse_lmp_encapsulated_header 
+0x5d4c 024384 beq lmp_encapsulated_payload ,parse_lmp_encapsulated_payload 
+0x5d4d 024385 beq lmp_simple_pairing_confirm ,parse_simple_pairing_confirm 
+0x5d4e 024386 beq lmp_simple_pairing_number ,parse_lmp_simple_pairing_number 
+0x5d4f 024387 beq lmp_dhkey_check ,parse_dhkey_check 
+0x5d50 024388 beq lmp_clkoffset_res ,parse_lmp_clkoffset_res 
+0x5d51 024389 beq lmp_enc_key_size_mask_req ,parse_enc_key_size_mask_req 
+:      024392 reject_unknown_packet:
+0x5d52 024393 jam unknown_lmp_pdu ,mem_lmo_reason2 
+:      024394 reject_lmp_packet:
+0x5d53 024395 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5d54 024396 rtn 
+:      024398 parse_lmp_clkoffset_req:
+0x5d55 024399 jam lmp_clkoffset_res ,mem_lmo_opcode2 
+0x5d56 024400 rtn 
+:      024402 parse_enc_key_size_mask_req:
+0x5d57 024403 jam lmp_enc_key_size_mask_res ,mem_lmo_opcode2 
+0x5d58 024404 rtn 
+:      024406 parse_lmp_set_afh:
+0x5d59 024407 fetch 4 ,mem_rxbuf + 1 
+0x5d5a 024408 lshift pdata ,pdata 
+0x5d5b 024409 store 4 ,mem_afh_instant 
+0x5d5c 024410 fetch 1 ,mem_rxbuf + 5 
+0x5d5d 024411 store 1 ,mem_afh_new_mod 
+0x5d5e 024412 fetch 5 ,mem_rxbuf + 6 
+0x5d5f 024413 store 5 ,mem_afh_map_new 
+0x5d60 024414 fetch 5 ,mem_rxbuf + 11 
+0x5d61 024415 istore 5 ,contw 
+0x5d62 024416 fetch 1 ,mem_mode 
+0x5d63 024417 set1 afh_change ,pdata 
+0x5d64 024418 store 1 ,mem_mode 
+0x5d65 024419 rtn 
+:      024420 parse_lmp_escape:
+0x5d66 024421 bpatchx patch2f_7 ,mem_patch2f 
+0x5d67 024422 fetch 1 ,mem_rxbuf + 1 
+0x5d68 024423 set1 7 ,pdata 
+0x5d69 024424 store 1 ,mem_lmi_opcode2 
+0x5d6a 024425 beq lmp_ext_accepted ,parse_lmpext_accepted 
+0x5d6b 024426 beq lmp_not_accepted_ext ,parse_lmpext_not_accepted 
+0x5d6c 024427 beq lmp_sniff_subrating_req ,parse_lmp_sniff_subrating_req 
+0x5d6d 024428 beq lmp_sniff_subrating_res ,parse_lmp_sniff_subrating_res 
+0x5d6e 024429 beq lmp_packet_type_table_req ,parse_lmpext_packet_type_table_req 
+0x5d6f 024430 beq lmp_ext_features_req ,parse_lmpext_features_req 
+0x5d70 024431 beq lmp_ext_features_res ,parse_lmpext_features_res 
+0x5d71 024432 beq lmp_ext_chn_classification_req ,parse_lmpext_chn_classification_req 
+0x5d72 024433 beq lmp_pause_encryption_req ,parse_lmpext_pause_encrypt 
+0x5d73 024434 beq lmp_resume_encryption_req ,parse_lmpext_resume_encrypt 
+0x5d74 024435 beq lmp_io_cap_req ,parse_lmpext_iocap_req 
+0x5d75 024436 beq lmp_io_cap_res ,parse_lmpext_iocap_res 
+0x5d76 024437 rtneq lmp_ext_features_res 
+:      024440 reject_unknown_ext_packet:
+0x5d77 024441 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+0x5d78 024442 jam unknown_lmp_pdu ,mem_lmo_reason2 
+0x5d79 024444 rtn 
+:      024445 parse_lmpext_chn_classification_req:
+0x5d7a 024446 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+0x5d7b 024447 jam not_support_chn_classification ,mem_lmo_reason2 
+0x5d7c 024448 rtn 
+:      024450 parse_lmpext_iocap_req:
+0x5d7d 024451 call iocap_lmpext_load 
+0x5d7e 024452 jam lmp_io_cap_res ,mem_lmo_opcode2 
+0x5d7f 024453 rtn 
+:      024455 parse_lmpext_iocap_res:
+0x5d80 024456 call iocap_lmpext_load 
+0x5d81 024457 branch iocap_lmpext_common 
+:      024459 iocap_lmpext_load:
+0x5d82 024460 arg mem_sp_iocap_remote ,contw 
+0x5d83 024461 fetch 3 ,mem_rxbuf + 2 
+0x5d84 024462 istore 3 ,contw 
+0x5d85 024463 rtn 
+:      024465 iocap_lmpext_common:
+0x5d86 024466 branch master_set_mem_master_sp_flag ,true 
+0x5d87 024467 rtn 
+:      024468 parse_lmpext_accepted:
+0x5d88 024469 fetch 1 ,mem_rxbuf + 3 
+0x5d89 024470 set1 7 ,pdata 
+0x5d8a 024471 store 1 ,mem_lmi_accepted_opcode 
+0x5d8b 024472 beq lmp_packet_type_table_req ,parse_lmpext_accepted_ptt 
+0x5d8c 024473 rtn 
+:      024476 parse_lmpext_not_accepted:
+0x5d8d 024477 fetch 1 ,mem_rxbuf + 3 
+0x5d8e 024478 set1 7 ,pdata 
+0x5d8f 024479 store 1 ,mem_lmi_accepted_opcode 
+0x5d90 024480 beq lmp_packet_type_table_req ,parse_lmpext_not_accepted_ptt 
+0x5d91 024481 rtn 
+:      024483 parse_lmpext_accepted_ptt:
+0x5d92 024484 fetch 1 ,mem_ptt 
+0x5d93 024485 fetcht 1 ,mem_state_map 
+0x5d94 024486 nsetflag blank ,smap_edr ,temp 
+0x5d95 024487 storet 1 ,mem_state_map 
+:      024488 parse_lmpext_not_accepted_ptt:
+0x5d96 024489 fetch 1 ,mem_state 
+0x5d97 024490 rtnbit0 state_init_seq 
+0x5d98 024491 set0 state_init_seq ,pdata 
+0x5d99 024492 store 1 ,mem_state 
+0x5d9a 024493 fetch 1 ,mem_auth_enable 
+0x5d9b 024494 nrtn blank 
+0x5d9c 024495 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5d9d 024496 rtn 
+:      024498 parse_lmpext_pause_encrypt:
+0x5d9e 024499 nbranch parse_lmpext_pause_encrypt_slave ,master 
+0x5d9f 024500 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x5da0 024501 branch tid_reply 
+:      024503 parse_lmpext_pause_encrypt_slave:
+0x5da1 024504 jam lmp_pause_encryption_req ,mem_lmo_opcode2 
+0x5da2 024505 rtn 
+:      024507 parse_lmpext_resume_encrypt:
+0x5da3 024510 call tid_reply 
+0x5da4 024511 branch lmp_start_encryption 
+:      024513 parse_lmpext_features_req:
+0x5da5 024514 jam lmp_ext_features_res ,mem_lmo_opcode2 
+0x5da6 024515 rtn 
+:      024517 parse_lmpext_features_res:
+0x5da7 024518 fetcht 1 ,mem_rxbuf + 4 
+0x5da8 024519 and temp ,0x1 ,temp 
+0x5da9 024520 storet 1 ,mem_remote_sppcap 
+0x5daa 024521 fetch 1 ,mem_hci_cmd 
+0x5dab 024522 bne hci_cmd_wait_remote_ext_feature ,parse_lmpext_features_res_not_hci 
+0x5dac 024523 jam 0 ,mem_hci_cmd 
+:      024524 parse_lmpext_features_res_not_hci:
+0x5dad 024525 fetch 1 ,mem_conn_sm 
+0x5dae 024526 rtnne conn_sm_wait_features_ext 
+0x5daf 024527 jam conn_sm_send_conn_req ,mem_conn_sm 
+0x5db0 024528 branch process_conn_sm 
+:      024530 parse_lmp_accepted:
+0x5db1 024531 bpatchx patch30_0 ,mem_patch30 
+0x5db2 024532 fetch 1 ,mem_rxbuf + 1 
+0x5db3 024533 store 1 ,mem_lmi_accepted_opcode 
+0x5db4 024534 beq lmp_host_connection_req ,parse_lmp_accepted_hostconn 
+0x5db5 024535 beq lmp_in_rand ,parse_lmp_accepted_inrand 
+0x5db6 024536 beq lmp_encryption_mode_req ,parse_lmp_accepted_enc_mode 
+0x5db7 024537 beq lmp_encryption_key_size_req ,parse_lmp_accepted_enc_keysize 
+0x5db8 024538 beq lmp_start_encryption_req ,parse_lmp_accepted_start_enc 
+0x5db9 024539 beq lmp_stop_encryption_req ,parse_lmp_accepted_stop_enc 
+0x5dba 024540 beq lmp_unsniff_req ,parse_lmp_accepted_unsniff_req 
+0x5dbb 024541 beq lmp_sniff_req ,parse_lmp_accepted_sniff_req 
+0x5dbc 024542 beq lmp_switch_req ,parse_lmp_accepted_switch 
+0x5dbd 024544 beq lmp_encapsulated_header ,parse_lmp_accepted_encapsulated_header 
+0x5dbe 024545 beq lmp_encapsulated_payload ,parse_lmp_accepted_encapsulated_payload 
+0x5dbf 024546 beq lmp_simple_pairing_number ,parse_lmp_accepted_simple_pairing_number 
+0x5dc0 024547 beq lmp_dhkey_check ,parse_lmp_accepted_dhkey_check 
+0x5dc1 024548 rtn 
+:      024550 parse_lmp_not_accepted:
+0x5dc2 024551 bpatchx patch30_1 ,mem_patch30 
+0x5dc3 024552 fetch 1 ,mem_rxbuf + 1 
+0x5dc4 024553 store 1 ,mem_lmi_accepted_opcode 
+0x5dc5 024554 beq lmp_name_req ,parse_lmp_not_accepted_name_req 
+0x5dc6 024555 beq lmp_host_connection_req ,parse_lmp_not_accepted_hostconn 
+0x5dc7 024556 beq lmp_au_rand ,parse_lmp_not_accepted_aurand 
+0x5dc8 024557 beq lmp_in_rand ,parse_lmp_not_accepted_inrand 
+0x5dc9 024558 beq lmp_switch_req ,parse_lmp_not_accepted_switch 
+0x5dca 024560 beq lmp_simple_pairing_number ,parse_lmp_not_accepted_simple_pairing_number 
+0x5dcb 024561 beq lmp_dhkey_check ,parse_lmp_not_accepted_dhkey_check 
+0x5dcc 024562 beq lmp_unsniff_req ,parse_lmp_not_accepted_unsniff_req 
+0x5dcd 024563 beq lmp_sniff_req ,parse_lmp_not_acdcept_sniff_req 
+0x5dce 024564 rtn 
+:      024566 parse_lmp_accepted_switch:
+0x5dcf 024567 jam bt_evt_switch_accept ,mem_fifo_temp 
+0x5dd0 024568 call ui_ipc_send_event 
+0x5dd1 024569 branch role_switch_prepare0 
+:      024570 parse_lmp_not_accepted_switch:
+0x5dd2 024571 jam bt_evt_switch_not_accept ,mem_fifo_temp 
+0x5dd3 024572 call ui_ipc_send_event 
+0x5dd4 024573 jam switch_flag_not_accept ,mem_switch_flag 
+0x5dd5 024574 setarg timer_switch_waite 
+0x5dd6 024575 arg switch_wait_timer ,queue 
+0x5dd7 024576 branch timer_init 
+:      024579 parse_lmp_accepted_hostconn:
+0x5dd8 024582 fetch 1 ,mem_lmp_conn_state 
+0x5dd9 024583 set1 received_conn_req ,pdata 
+0x5dda 024584 store 1 ,mem_lmp_conn_state 
+0x5ddb 024585 jam bt_evt_bb_connected ,mem_fifo_temp 
+0x5ddc 024586 call ui_ipc_send_event 
+0x5ddd 024587 jam lmp_packet_type_table_req ,mem_lmo_opcode2 
+:      024589 parse_lmp_accepted_hostconn_ctn:
+0x5dde 024591 fetch 1 ,mem_conn_sm 
+0x5ddf 024592 bne conn_sm_wait_conn_accept ,parse_rx_done 
+0x5de0 024595 jam conn_sm_auth_pair ,mem_conn_sm 
+0x5de1 024596 rtn 
+:      024604 parse_lmp_not_accepted_hostconn:
+0x5de2 024605 jam acl_connection_already_exists ,mem_disconn_reason_send 
+0x5de3 024606 jam lmp_detach ,mem_lmo_opcode2 
+0x5de4 024608 jam conn_sm_standby ,mem_conn_sm 
+0x5de5 024610 branch parse_rx_done ,true 
+0x5de6 024611 rtn 
+:      024613 parse_lmp_accepted_inrand:
+0x5de7 024614 fetch 1 ,mem_link_key_exists 
+0x5de8 024615 nrtn blank 
+0x5de9 024616 call clear_linkkey 
+0x5dea 024617 call lmp_generate_key 
+0x5deb 024618 rtn master 
+0x5dec 024619 set1 mark_slave_in_rand_accepted ,mark 
+0x5ded 024620 rtn 
+:      024622 parse_lmp_accepted_enc_mode:
+0x5dee 024623 nrtn master 
+0x5def 024624 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+0x5df0 024625 fetch 1 ,mem_state_map 
+0x5df1 024626 rtnbit0 smap_encryption 
+0x5df2 024627 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x5df3 024628 rtn 
+:      024630 parse_lmp_accepted_enc_keysize:
+0x5df4 024631 branch lmp_start_encryption 
+:      024633 parse_lmp_accepted_start_enc:
+0x5df5 024634 call send_create_conn_start_l2cap_timer_sm 
+0x5df6 024635 fetch 1 ,mem_state 
+0x5df7 024636 rtnbit1 state_conn_comp 
+0x5df8 024637 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5df9 024638 fetch 1 ,mem_conn_sm 
+0x5dfa 024639 rtnne conn_sm_encrypt_wait 
+0x5dfb 024640 jam conn_sm_encrypt_wait_clear ,mem_conn_sm 
+0x5dfc 024641 rtn 
+:      024643 parse_lmp_accepted_stop_enc:
+0x5dfd 024651 rtn 
+:      024653 parse_lmp_not_accepted_aurand:
+:      024654 parse_lmp_not_accepted_aurand_send_detach:
+0x5dfe 024655 jam lmp_detach ,mem_lmo_opcode2 
+0x5dff 024656 jam other_end_terminated ,mem_disconn_reason_send 
+0x5e00 024657 rtn 
+:      024659 parse_lmp_not_accepted_inrand:
+0x5e01 024660 fetch 1 ,mem_rxbuf + 2 
+0x5e02 024661 beq key_missing ,parse_lmp_inrand_key_missing 
+0x5e03 024662 rtnne pairing_not_allowed 
+0x5e04 024663 jam pairing_not_allowed ,mem_disconn_reason_send 
+0x5e05 024664 jam lmp_detach ,mem_lmo_opcode2 
+0x5e06 024665 rtn 
+:      024666 parse_lmp_inrand_key_missing:
+0x5e07 024667 jam key_missing ,mem_disconn_reason_send 
+0x5e08 024668 jam lmp_detach ,mem_lmo_opcode2 
+0x5e09 024669 rtn 
+:      024671 parse_lmp_not_accepted_name_req:
+0x5e0a 024672 rtn 
+:      024674 parse_lmp_not_accepted_simple_pairing_number:
+0x5e0b 024675 jam sp_stat_null ,mem_sp_state 
+0x5e0c 024676 jam lmp_detach ,mem_lmo_opcode2 
+0x5e0d 024677 branch parse_rx_done 
+:      024679 parse_lmp_not_accepted_dhkey_check:
+0x5e0e 024680 jam sp_stat_null ,mem_sp_state 
+0x5e0f 024681 jam lmp_detach ,mem_lmo_opcode2 
+0x5e10 024682 branch parse_rx_done 
+:      024683 parse_lmp_not_accepted_unsniff_req:
+0x5e11 024684 jam bt_evt_unsniff_not_accept ,mem_fifo_temp 
+0x5e12 024685 branch ui_ipc_send_event 
+:      024687 parse_lmp_accepted_unsniff_req:
+0x5e13 024688 jam bt_evt_unsniff_accept ,mem_fifo_temp 
+0x5e14 024689 call ui_ipc_send_event 
+0x5e15 024690 branch sniff_exit 
+:      024692 parse_lmp_accepted_sniff_req:
+0x5e16 024693 jam bt_evt_sniff_accept ,mem_fifo_temp 
+0x5e17 024694 call ui_ipc_send_event 
+0x5e18 024695 setarg 0 
+0x5e19 024696 store 2 ,mem_dsniff 
+0x5e1a 024697 fetch 2 ,mem_sniff_param_interval 
+0x5e1b 024698 lshift pdata ,pdata 
+0x5e1c 024699 store 2 ,mem_tsniff 
+0x5e1d 024700 fetch 1 ,mem_sniff_param_attempt 
+0x5e1e 024701 store 1 ,mem_sniff_attempt 
+0x5e1f 024702 fetch 1 ,mem_sniff_param_timeout 
+0x5e20 024703 store 1 ,mem_sniff_timeout 
+0x5e21 024704 branch sniff_init 
+:      024706 parse_lmp_not_acdcept_sniff_req:
+0x5e22 024707 jam bt_evt_sniff_not_accept ,mem_fifo_temp 
+0x5e23 024708 branch ui_ipc_send_event 
+:      024710 parse_lmp_crypt_key:
+0x5e24 024711 fetcht 1 ,mem_rxbuf + 1 
+0x5e25 024712 storet 1 ,mem_key_size 
+0x5e26 024713 branch accept_lmp_msg 
+:      024715 parse_lmp_setup_complete:
+0x5e27 024716 fetch 1 ,mem_lmp_conn_state 
+0x5e28 024717 set1 received_setup_complete ,pdata 
+0x5e29 024718 store 1 ,mem_lmp_conn_state 
+0x5e2a 024719 rtnbit1 sent_setup_complete 
+0x5e2b 024720 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5e2c 024721 branch parse_rx_done 
+:      024723 parse_lmp_max_slot:
+0x5e2d 024726 rtn 
+:      024728 parse_lmp_max_slot_req:
+0x5e2e 024729 fetch 1 ,mem_max_slot 
+0x5e2f 024730 fetcht 1 ,mem_rxbuf + 1 
+0x5e30 024731 isub temp ,null 
+0x5e31 024733 branch accept_lmp_msg ,positive 
+0x5e32 024734 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5e33 024735 jam unspecified_error ,mem_lmo_reason2 
+0x5e34 024736 jam lmp_max_slot_req ,mem_lmi_opcode2 
+0x5e35 024737 rtn 
+:      024739 parse_lmp_detach:
+0x5e36 024740 call prepare_disconnect 
+0x5e37 024741 branch accept_lmp_msg 
+:      024743 accept_lmp_msg:
+0x5e38 024744 jam lmp_accepted ,mem_lmo_opcode2 
+0x5e39 024745 rtn 
+:      024747 parse_lmp_incr_power:
+0x5e3a 024748 jam lmp_max_power ,mem_lmo_opcode2 
+0x5e3b 024749 rtn 
+:      024751 parse_lmp_decr_power:
+0x5e3c 024752 jam lmp_min_power ,mem_lmo_opcode2 
+0x5e3d 024753 rtn 
+:      024755 parse_lmp_version_res:
+0x5e3e 024756 fetch 1 ,mem_conn_sm 
+0x5e3f 024757 rtneq conn_sm_wait_version 
+0x5e40 024759 jam conn_sm_send_features ,mem_conn_sm 
+0x5e41 024761 rtn 
+:      024764 parse_lmp_auto_rate:
+0x5e42 024765 rtn 
+:      024767 parse_lmp_in_rand:
+0x5e43 024768 call lmp_copy_rand 
+0x5e44 024769 jam pincode_state_wait_pincode ,mem_pincode_state 
+0x5e45 024770 jam bt_evt_pincode_req ,mem_fifo_temp 
+0x5e46 024771 call ui_ipc_send_event 
+0x5e47 024773 call tid_check 
+0x5e48 024774 nbranch lmp_accept_inrand ,true 
+0x5e49 024776 nbranch parse_lmp_inrand_res ,master 
+0x5e4a 024777 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5e4b 024778 jam lmp_in_rand ,mem_lmi_opcode2 
+0x5e4c 024779 jam transaction_collision ,mem_lmo_reason2 
+0x5e4d 024780 rtn 
+:      024781 parse_lmp_inrand_res:
+0x5e4e 024782 fetch 1 ,mem_op 
+0x5e4f 024783 set1 op_inrand_req ,pdata 
+0x5e50 024784 store 1 ,mem_op 
+0x5e51 024785 rtn 
+:      024788 pop_tid_follow:
+0x5e52 024789 fetcht 1 ,mem_state_map 
+0x5e53 024790 nsetflag blank ,smap_lmptid ,temp 
+0x5e54 024791 storet 1 ,mem_state_map 
+0x5e55 024792 rtn 
+:      024795 push_tid_follow:
+0x5e56 024796 fetch 1 ,mem_lmo_tid2 
+0x5e57 024797 rshift pdata ,pdata 
+0x5e58 024798 and_into 1 ,pdata 
+0x5e59 024799 rtn 
+:      024801 parse_lmp_au_rand_moudle:
+0x5e5a 024802 fetch 1 ,mem_nv_data_number 
+0x5e5b 024803 rtn blank 
+0x5e5c 024804 fetch 1 ,mem_pairing_auth 
+0x5e5d 024805 call load_device_list ,blank 
+0x5e5e 024806 rtn 
+:      024808 parse_lmp_au_rand:
+0x5e5f 024809 call parse_lmp_au_rand_moudle 
+0x5e60 024810 call push_tid_follow 
+0x5e61 024811 store 1 ,mem_sres_tid 
+0x5e62 024812 call lmp_copy_rand 
+0x5e63 024813 jam lmp_sres ,mem_lmo_opcode2 
+0x5e64 024814 fetch 1 ,mem_link_key_exists 
+0x5e65 024815 nrtn blank 
+0x5e66 024816 fetch 1 ,mem_state 
+0x5e67 024817 rtnbit1 state_combkey 
+0x5e68 024818 jam key_missing ,mem_lmo_reason2 
+0x5e69 024819 branch reject_lmp_packet 
+:      024821 parse_lmp_sres:
+0x5e6a 024822 arg mem_plap ,rega 
+0x5e6b 024823 call function_e1 
+0x5e6c 024824 fetch 4 ,mem_rxbuf + 1 
+0x5e6d 024825 fetcht 4 ,mem_input_store 
+0x5e6e 024826 isub temp ,null 
+0x5e6f 024827 branch authentication_ok ,zero 
+0x5e70 024828 jam lmp_detach ,mem_lmo_opcode2 
+0x5e71 024829 jam authentication_failure_error ,mem_disconn_reason_send 
+0x5e72 024830 rtn 
+:      024831 authentication_ok:
+0x5e73 024832 call authentication_ok_common 
+0x5e74 024833 fetch 1 ,mem_ssp_enable 
+0x5e75 024834 branch pairing_success ,blank 
+0x5e76 024835 rtn 
+:      024838 authentication_ok_common:
+0x5e77 024839 call copy_aco 
+0x5e78 024840 call linkkey_ready 
+0x5e79 024841 fetch 1 ,mem_op 
+0x5e7a 024842 isolate1 op_auth_req ,pdata 
+0x5e7b 024843 set0 op_auth_req ,pdata 
+0x5e7c 024844 store 1 ,mem_op 
+0x5e7d 024845 fetch 1 ,mem_conn_sm 
+0x5e7e 024846 beq conn_sm_auth_wait ,authentication_ok_conn_sm 
+0x5e7f 024847 beq conn_sm_pairing_wait ,authentication_ok_conn_sm 
+0x5e80 024848 rtn 
+:      024849 authentication_ok_conn_sm:
+0x5e81 024850 fetch 1 ,mem_pairing_auth 
+0x5e82 024851 rtnne defalt_pairing_auth 
+0x5e83 024852 fetch 1 ,mem_state_map 
+0x5e84 024853 rtnbit1 smap_encryption 
+0x5e85 024854 branch host_create_conn_encrypt 
+:      024856 parse_lmp_comb_key:
+0x5e86 024857 arg mem_rxbuf + 1 ,rega 
+0x5e87 024858 arg mem_kinit ,regb 
+0x5e88 024859 arg mem_random_number ,contw 
+0x5e89 024860 call xor16 
+0x5e8a 024861 arg mem_plap ,rega 
+0x5e8b 024862 call generate_linkkey 
+0x5e8c 024863 jam lmp_au_rand ,mem_lmo_opcode2 
+0x5e8d 024864 fetch 1 ,mem_state 
+0x5e8e 024865 bbit0 state_combkey ,lmp_generate_key 
+0x5e8f 024866 rtn 
+:      024868 parse_lmp_name_res:
+0x5e90 024869 fetch 2 ,mem_len 
+0x5e91 024870 add pdata ,-3 ,loopcnt 
+0x5e92 024871 fetcht 1 ,mem_rxbuf + 1 
+0x5e93 024872 setarg mem_tmp_buffer 
+0x5e94 024873 iadd temp ,contw 
+0x5e95 024874 arg mem_rxbuf + 3 ,contr 
+0x5e96 024875 call memcpy 
+0x5e97 024876 fetcht 1 ,mem_name_offset 
+0x5e98 024877 fetch 1 ,mem_rxbuf + 2 
+0x5e99 024878 isub temp ,pdata 
+0x5e9a 024879 sub pdata ,14 ,null 
+0x5e9b 024880 branch parse_lmp_name_res_end ,positive 
+0x5e9c 024881 add temp ,14 ,pdata 
+0x5e9d 024882 store 1 ,mem_name_offset 
+0x5e9e 024883 jam lmp_name_req ,mem_lmo_opcode2 
+0x5e9f 024884 rtn 
+:      024885 parse_lmp_name_res_end:
+0x5ea0 024886 fetch 1 ,mem_state_map 
+0x5ea1 024887 set1 smap_name_res ,pdata 
+0x5ea2 024888 store 1 ,mem_state_map 
+0x5ea3 024889 bbit1 smap_name_req ,lmp_disconnect 
+0x5ea4 024890 rtn 
+:      024891 parse_lmp_name_req:
+0x5ea5 024892 fetch 1 ,mem_rxbuf + 1 
+0x5ea6 024893 store 1 ,mem_lmi_opcode2 
+0x5ea7 024894 jam lmp_name_res ,mem_lmo_opcode2 
+0x5ea8 024895 rtn 
+:      024897 parse_lmp_conn_req:
+0x5ea9 024898 branch accept_lmp_msg 
+:      024900 parse_lmp_timing_accuracy_req:
+0x5eaa 024901 jam lmp_timing_accuracy_res ,mem_lmo_opcode2 
+0x5eab 024902 rtn 
+:      024904 parse_lmp_features_req:
+0x5eac 024905 jam lmp_features_res ,mem_lmo_opcode2 
+0x5ead 024906 rtn 
+:      024908 parse_lmp_version_req:
+0x5eae 024909 jam lmp_version_res ,mem_lmo_opcode2 
+0x5eaf 024910 rtn 
+:      024912 parse_lmp_supervision_timeout:
+0x5eb0 024915 rtn 
+:      024919 parse_lmp_sniff_subrating_req:
+0x5eb1 024920 fetch 2 ,mem_tsniff 
+0x5eb2 024921 iforce temp 
+0x5eb3 024922 fetch 1 ,mem_rxbuf + 2 
+0x5eb4 024923 store 1 ,mem_subsniff_rate 
+0x5eb5 024924 imul32 temp ,temp 
+0x5eb6 024925 fetch 2 ,mem_rxbuf + 3 
+0x5eb7 024926 lshift pdata ,pdata 
+0x5eb8 024927 store 2 ,mem_subsniff_tcmax 
+0x5eb9 024928 fetch 4 ,mem_rxbuf + 5 
+0x5eba 024929 lshift pdata ,pdata 
+0x5ebb 024930 store 4 ,mem_subsniff_instant 
+0x5ebc 024932 deposit temp 
+0x5ebd 024933 store 2 ,mem_subsniff_tsniff 
+0x5ebe 024934 rtn 
+:      024935 parse_lmpext_packet_type_table_req:
+0x5ebf 024936 fetcht 1 ,mem_ptt 
+0x5ec0 024937 fetch 1 ,mem_rxbuf + 2 
+0x5ec1 024938 ixor temp ,null 
+0x5ec2 024939 nbranch reject_unknown_ext_packet ,zero 
+0x5ec3 024940 isolate1 0 ,pdata 
+0x5ec4 024941 fetch 1 ,mem_state_map 
+0x5ec5 024942 setflag true ,smap_edr ,pdata 
+0x5ec6 024943 store 1 ,mem_state_map 
+0x5ec7 024944 jam lmp_ext_accepted ,mem_lmo_opcode2 
+0x5ec8 024945 jam lmp_packet_type_table_req ,mem_lmi_opcode2 
+0x5ec9 024946 rtn 
+:      024949 parse_lmp_sniff_subrating_res:
+:      024950 parse_lmp_preferred_rate:
+:      024951 parse_lmp_max_power:
+:      024952 parse_lmp_min_power:
+0x5eca 024953 rtn 
+:      024954 parse_lmp_page_mode_req:
+0x5ecb 024956 branch accept_lmp_msg 
+:      024957 parse_lmp_page_scan_mode_req:
+0x5ecc 024960 branch accept_lmp_msg 
+:      024964 parse_lmp_slot_offset:
+0x5ecd 024965 fetch 2 ,mem_rxbuf + 1 
+0x5ece 024966 store 2 ,mem_slot_offset 
+0x5ecf 024967 rtn 
+:      024969 parse_lmp_sniff_req_check_sniff_para:
+0x5ed0 024970 fetch 2 ,mem_rxbuf + 4 
+0x5ed1 024971 fetcht 1 ,mem_lpm_mult 
+0x5ed2 024972 imul32 temp ,pdata 
+0x5ed3 024973 arg 0x640 ,temp 
+0x5ed4 024974 isub temp ,null 
+0x5ed5 024976 rtn 
+:      024978 parse_lmp_sniff_req:
+0x5ed6 024979 fetch 2 ,mem_rxbuf + 6 
+0x5ed7 024980 branch lmp_reject_sniff ,blank 
+0x5ed8 024981 call parse_lmp_sniff_req_check_sniff_para 
+0x5ed9 024982 branch lmp_reject_sniff ,positive 
+0x5eda 024983 fetch 1 ,mem_device_option 
+0x5edb 024984 sub pdata ,dvc_op_module ,null 
+0x5edc 024985 call module_set_lpm_mult_2 ,zero 
+0x5edd 024986 fetch 1 ,mem_state 
+0x5ede 024987 bbit1 state_insniff ,lmp_reject_sniff 
+0x5edf 024988 fetch 2 ,mem_rxbuf + 2 
+0x5ee0 024989 lshift pdata ,pdata 
+0x5ee1 024990 store 2 ,mem_dsniff 
+0x5ee2 024991 fetch 2 ,mem_rxbuf + 4 
+0x5ee3 024992 lshift pdata ,pdata 
+0x5ee4 024993 store 2 ,mem_tsniff 
+0x5ee5 024994 fetch 2 ,mem_rxbuf + 6 
+0x5ee6 024995 store 1 ,mem_sniff_attempt 
+0x5ee7 024996 iforce temp 
+0x5ee8 024997 fetch 2 ,mem_rxbuf + 8 
+0x5ee9 024998 store 1 ,mem_sniff_timeout 
+0x5eea 024999 isub temp ,null 
+0x5eeb 025000 nbranch set_big_value_to_attempt ,positive 
+0x5eec 025001 store 1 ,mem_sniff_attempt 
+:      025002 set_big_value_to_attempt:
+0x5eed 025004 jam lmp_accepted ,mem_lmo_opcode2 
+0x5eee 025005 jam lmp_sniff_req ,mem_lmi_opcode2 
+0x5eef 025006 rtn 
+:      025008 lmp_reject_sniff:
+0x5ef0 025009 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5ef1 025010 branch reject_lmp_packet 
+:      025012 parse_lmp_start_encryption_req:
+0x5ef2 025013 call accept_lmp_msg 
+0x5ef3 025014 call lmp_copy_rand 
+0x5ef4 025015 call function_e3 
+0x5ef5 025016 branch start_encryption 
+:      025018 parse_lmp_stop_encryption_req:
+0x5ef6 025019 call accept_lmp_msg 
+0x5ef7 025020 branch stop_encryption 
+:      025023 parse_lmp_switch_req:
+0x5ef8 025024 fetch 4 ,mem_rxbuf + 1 
+0x5ef9 025025 lshift pdata ,pdata 
+0x5efa 025027 branch parse_lmp_switch_accept ,master 
+0x5efb 025028 fetcht 1 ,mem_link_key_exists 
+0x5efc 025029 nbranch parse_lmp_switch_req_clear_mark ,blank 
+:      025030 parse_lmp_switch_req_not_accept:
+0x5efd 025031 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5efe 025032 jam lmp_switch_req ,mem_lmi_opcode2 
+0x5eff 025033 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5f00 025034 rtn 
+:      025035 parse_lmp_switch_req_clear_mark:
+0x5f01 025036 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x5f02 025037 jam 0 ,mem_conn_sm 
+0x5f03 025038 branch role_switch_prepare 
+:      025040 parse_lmp_switch_accept:
+0x5f04 025041 call role_switch_prepare 
+0x5f05 025042 set1 mark_reconn_recieve_switch ,mark 
+0x5f06 025043 fetch 1 ,mem_connection_options 
+0x5f07 025044 set0 connection_switch ,pdata 
+0x5f08 025045 store 1 ,mem_connection_options 
+0x5f09 025046 branch accept_lmp_msg 
+:      025050 parse_lmp_temp_rand:
+:      025051 parse_lmp_temp_key:
+:      025052 parse_lmp_timing_accuracy_res:
+:      025053 parse_lmp_unit_key:
+:      025054 parse_lmp_use_semi_permanend_key:
+0x5f0a 025055 rtn 
+:      025058 parse_lmp_unsniff_req:
+0x5f0b 025059 jam lmp_accepted ,mem_lmo_opcode2 
+0x5f0c 025060 jam lmp_unsniff_req ,mem_lmi_opcode2 
+0x5f0d 025061 jam bt_evt_remote_unsniff ,mem_fifo_temp 
+0x5f0e 025062 call ui_ipc_send_event 
+0x5f0f 025063 branch sniff_exit 
+:      025065 parse_lmp_encapsulated_header:
+0x5f10 025066 fetch 1 ,mem_rxbuf + 1 
+0x5f11 025067 bne encapsulated_major_type_p192 ,parse_lmp_encapsulated_header_reject 
+0x5f12 025068 fetch 1 ,mem_rxbuf + 2 
+0x5f13 025069 bne encapsulated_minor_type_p192 ,parse_lmp_encapsulated_header_reject 
+0x5f14 025070 fetch 1 ,mem_rxbuf + 3 
+0x5f15 025071 bne encapsulated_len_p192 ,parse_lmp_encapsulated_header_reject 
+0x5f16 025072 call check_localsm 
+0x5f17 025073 branch parse_lmp_encapsulated_header_master ,true 
+0x5f18 025074 jam sp_stat_key_recv ,mem_sp_state 
+:      025075 parse_lmp_encapsulated_header_master:
+0x5f19 025076 jam lmp_accepted ,mem_lmo_opcode2 
+0x5f1a 025077 jam lmp_encapsulated_header ,mem_lmi_opcode2 
+0x5f1b 025078 branch parse_rx_done 
+:      025080 parse_lmp_encapsulated_header_reject:
+0x5f1c 025081 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5f1d 025082 branch reject_lmp_packet 
+:      025084 parse_lmp_accepted_encapsulated_header:
+0x5f1e 025087 jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+0x5f1f 025089 rtn 
+:      025090 parse_lmp_accepted_simple_pairing_number:
+0x5f20 025091 fetch 1 ,mem_ssp_mode_flag 
+0x5f21 025092 beq ssp_mode_ssp_pin_flag ,parse_lmp_accepted_simple_pairing_number_ssp_pin 
+0x5f22 025093 beq ssp_mode_passkey_entry_flag ,parse_lmp_accepted_simple_pairing_number_passkey 
+:      025094 parse_lmp_accepted_simple_pairing_number_common:
+0x5f23 025095 call check_localsm 
+0x5f24 025096 rtn true 
+0x5f25 025097 jam sp_stat_confirm_recv ,mem_sp_state 
+0x5f26 025098 rtn 
+:      025100 parse_lmp_accepted_simple_pairing_number_ssp_pin:
+0x5f27 025101 call g_noninit_number_confirm 
+0x5f28 025102 jam bt_evt_bt_gkey_generate ,mem_fifo_temp 
+0x5f29 025103 call ui_ipc_send_event 
+0x5f2a 025104 branch parse_lmp_accepted_simple_pairing_number_common 
+:      025107 parse_lmp_accepted_simple_pairing_number_passkey:
+0x5f2b 025108 call check_localsm 
+0x5f2c 025109 rtn true 
+0x5f2d 025110 fetch 1 ,mem_authentication_passkey_times 
+0x5f2e 025111 beq 19 ,authentication_passkey_end 
+0x5f2f 025112 increase 1 ,pdata 
+0x5f30 025113 store 1 ,mem_authentication_passkey_times 
+:      025116 authentication_passkey:
+0x5f31 025117 jam sp_flag_commit ,mem_sp_flag 
+0x5f32 025118 jam sp_stat_commit_calc ,mem_sp_state 
+0x5f33 025119 fetch 1 ,mem_authentication_passkey_times 
+0x5f34 025120 copy pdata ,queue 
+0x5f35 025121 fetch 6 ,mem_pin 
+0x5f36 025122 qisolate1 pdata 
+0x5f37 025123 setarg 0x80 
+0x5f38 025124 setflag true ,0 ,pdata 
+0x5f39 025125 store 1 ,mem_passkey_1bit 
+0x5f3a 025126 rtn 
+:      025128 authentication_passkey_end:
+0x5f3b 025129 jam sp_stat_confirm_recv ,mem_sp_state 
+0x5f3c 025130 rtn 
+:      025132 parse_lmp_accepted_dhkey_check:
+0x5f3d 025133 call parse_lmp_accepted_dhkey_check_common 
+:      025134 pairing_success:
+0x5f3e 025135 fetch 1 ,mem_flag_pairing_state 
+0x5f3f 025136 rtn blank 
+0x5f40 025137 jam flag_pairing_state_not_pairing ,mem_flag_pairing_state 
+0x5f41 025138 jam bt_evt_bt_pairing_success ,mem_fifo_temp 
+0x5f42 025139 branch ui_ipc_send_event 
+:      025142 parse_lmp_accepted_dhkey_check_common:
+0x5f43 025144 call check_localsm 
+0x5f44 025145 ncall g_noninit ,true 
+0x5f45 025146 call g_init ,true 
+0x5f46 025147 call check_localsm 
+0x5f47 025148 rtn true 
+0x5f48 025149 jam sp_stat_link_key_calc ,mem_sp_state 
+0x5f49 025150 jam sp_flag_commit ,mem_sp_flag 
+0x5f4a 025151 rtn 
+:      025153 parse_simple_pairing_confirm:
+0x5f4b 025154 arg mem_sp_confirm_remote ,contw 
+0x5f4c 025155 arg mem_rxbuf + 1 ,contr 
+0x5f4d 025156 call memcpy16 
+0x5f4e 025157 fetch 1 ,mem_ssp_mode_flag 
+0x5f4f 025158 rtneq ssp_mode_passkey_entry_flag 
+0x5f50 025159 branch master_set_mem_master_sp_flag 
+:      025161 parse_lmp_encapsulated_payload:
+0x5f51 025162 fetch 1 ,mem_master_sp_state 
+0x5f52 025163 beq sp_stat_random_send ,parse_encapsulated_payload_master 
+0x5f53 025164 fetch 1 ,mem_sp_state 
+0x5f54 025165 bne sp_stat_key_recv ,parse_lmp_encapsulated_payload_reject 
+:      025166 parse_encapsulated_payload_master:
+0x5f55 025167 fetch 1 ,mem_sp_remote_key_recv_count 
+0x5f56 025168 sub pdata ,0x20 ,contw 
+0x5f57 025169 nbranch parse_lmp_encapsulated_payload_reject ,positive 
+0x5f58 025170 arg mem_sp_pubkey_remote ,contw 
+0x5f59 025171 iadd contw ,contw 
+0x5f5a 025172 fetch 8 ,mem_rxbuf + 1 
+0x5f5b 025173 istore 8 ,contw 
+0x5f5c 025174 fetch 8 ,mem_rxbuf + 9 
+0x5f5d 025175 istore 8 ,contw 
+0x5f5e 025176 fetch 1 ,mem_sp_remote_key_recv_count 
+0x5f5f 025177 increase 16 ,pdata 
+0x5f60 025178 store 1 ,mem_sp_remote_key_recv_count 
+0x5f61 025179 bne encapsulated_len_p192 ,accept_lmp_msg 
+:      025180 parse_lmp_encapsulated_payload_completed:
+0x5f62 025181 call check_localsm 
+0x5f63 025182 branch accept_lmp_msg ,true 
+0x5f64 025183 jam sp_key_valid ,mem_sp_remote_key_invalid 
+0x5f65 025184 jam sp_stat_key_generate ,mem_sp_state 
+0x5f66 025185 jam sp_flag_commit ,mem_sp_flag 
+0x5f67 025186 branch accept_lmp_msg 
+:      025187 parse_lmp_encapsulated_payload_reject:
+0x5f68 025188 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5f69 025189 branch reject_lmp_packet 
+:      025190 parse_lmp_accepted_encapsulated_payload:
+0x5f6a 025191 fetch 1 ,mem_sp_local_key_send_count 
+0x5f6b 025192 beq encapsulated_len_p192 ,parse_lmp_encapsulated_payload_all_accepted 
+0x5f6c 025193 jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+0x5f6d 025194 branch parse_rx_done 
+:      025196 parse_lmp_encapsulated_payload_all_accepted:
+0x5f6e 025197 call check_localsm 
+0x5f6f 025198 branch parse_lmp_encapsulated_payload_all_accepted_master ,true 
+0x5f70 025199 fetch 1 ,mem_ssp_mode_flag 
+0x5f71 025200 beq ssp_mode_passkey_entry_flag ,parse_lmp_encapsulated_payload_all_accepted_get_passkey 
+0x5f72 025201 jam sp_flag_commit ,mem_sp_flag 
+0x5f73 025202 jam sp_stat_commit_calc ,mem_sp_state 
+0x5f74 025203 branch parse_rx_done 
+:      025205 parse_lmp_encapsulated_payload_all_accepted_get_passkey:
+0x5f75 025206 jam bt_evt_bt_get_passkey ,mem_fifo_temp 
+0x5f76 025207 branch ui_ipc_send_event 
+:      025210 parse_lmp_encapsulated_payload_all_accepted_master:
+0x5f77 025212 branch parse_rx_done 
+:      025214 parse_lmp_simple_pairing_number:
+0x5f78 025215 fetch 1 ,mem_master_sp_state 
+0x5f79 025216 beq sp_stat_random_send ,parse_lmp_simple_pairing_number_master 
+0x5f7a 025217 fetch 1 ,mem_sp_state 
+0x5f7b 025218 bne sp_stat_random_recv ,parse_lmp_simple_pairing_number_reject 
+:      025219 parse_lmp_simple_pairing_number_master:
+0x5f7c 025220 arg mem_sp_random_remote ,contw 
+0x5f7d 025221 fetch 8 ,mem_rxbuf + 1 
+0x5f7e 025222 istore 8 ,contw 
+0x5f7f 025223 fetch 8 ,mem_rxbuf + 9 
+0x5f80 025224 istore 8 ,contw 
+0x5f81 025225 call check_localsm 
+0x5f82 025226 branch parse_lmp_simple_pairing_number_master0 ,true 
+0x5f83 025227 jam sp_stat_random_send ,mem_sp_state 
+0x5f84 025228 jam sp_flag_commit ,mem_sp_flag 
+0x5f85 025229 branch accept_lmp_msg 
+:      025230 parse_lmp_simple_pairing_number_master0:
+0x5f86 025231 jam sp_stat_commit_calc ,mem_master_sp_state 
+0x5f87 025232 branch master_set_mem_master_sp_flag 
+:      025235 parse_lmp_simple_pairing_number_reject:
+0x5f88 025236 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5f89 025237 branch reject_lmp_packet 
+:      025239 parse_dhkey_check:
+0x5f8a 025240 fetch 1 ,mem_master_sp_state 
+0x5f8b 025241 beq sp_stat_confirm_send ,parse_dhkey_check_master 
+0x5f8c 025242 fetch 1 ,mem_sp_state 
+0x5f8d 025243 bne sp_stat_confirm_recv ,parse_lmp_dhkey_check_reject 
+:      025244 parse_dhkey_check_master:
+0x5f8e 025245 arg mem_sp_check_result ,contw 
+0x5f8f 025246 arg mem_rxbuf + 1 ,contr 
+0x5f90 025247 call memcpy16 
+0x5f91 025248 call check_localsm 
+0x5f92 025249 branch parse_dhkey_check_master0 ,true 
+0x5f93 025250 fetch 1 ,mem_ssp_mode_flag 
+0x5f94 025251 beq ssp_mode_ssp_pin_flag ,number_comparison_mode 
+:      025252 number_comparison_successed:
+0x5f95 025253 jam 0 ,mem_flag_mode_ssp_pin 
+0x5f96 025254 jam sp_stat_confirm_check ,mem_sp_state 
+0x5f97 025255 jam sp_flag_commit ,mem_sp_flag 
+0x5f98 025256 jam lmp_dhkey_check ,mem_lmi_opcode2 
+0x5f99 025257 branch parse_rx_done 
+:      025259 parse_dhkey_check_master0:
+0x5f9a 025260 jam sp_stat_confirm_check ,mem_master_sp_state 
+0x5f9b 025261 jam sp_flag_commit ,mem_master_sp_flag 
+0x5f9c 025262 branch parse_rx_done 
+:      025263 parse_lmp_dhkey_check_reject:
+0x5f9d 025264 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5f9e 025265 branch reject_lmp_packet 
+:      025267 number_comparison_mode:
+0x5f9f 025268 fetch 1 ,mem_flag_mode_ssp_pin 
+0x5fa0 025269 bbit1 flag_mode_ssp_pin_reviceve_comparison_bit ,comparison_result 
+0x5fa1 025270 set1 flag_mode_ssp_pin_recieve_dhkey_bit ,pdata 
+0x5fa2 025271 store 1 ,mem_flag_mode_ssp_pin 
+0x5fa3 025272 rtn 
+:      025274 comparison_result:
+0x5fa4 025275 bbit1 flag_mode_ssp_pin_comparison_result_bit ,number_comparison_successed 
+0x5fa5 025276 jam 0 ,mem_flag_mode_ssp_pin 
+0x5fa6 025277 branch parse_lmp_dhkey_check_reject 
+:      025280 parse_lmp_clkoffset_res:
+0x5fa7 025281 branch parse_rx_done 
+:      025283 parse_lmp_encryption_mode_req:
+0x5fa8 025284 fetch 1 ,mem_connection_options 
+0x5fa9 025285 set0 connection_encrypt 
+0x5faa 025286 store 1 ,mem_connection_options 
+0x5fab 025287 call accept_lmp_msg 
+0x5fac 025288 nrtn master 
+0x5fad 025289 fetch 1 ,mem_rxbuf + 1 
+0x5fae 025290 fetcht 1 ,mem_op 
+0x5faf 025291 setflag blank ,op_stop_enc ,temp 
+0x5fb0 025292 nsetflag blank ,op_start_enc ,temp 
+0x5fb1 025293 storet 1 ,mem_op 
+0x5fb2 025294 rtn 
+:      025296 parse_lmp_features_res:
+0x5fb3 025297 fetcht 8 ,mem_rxbuf + 1 
+:      025298 parse_lmp_features_res_not_hci:
+0x5fb4 025299 fetch 1 ,mem_conn_sm 
+0x5fb5 025300 rtnne conn_sm_wait_features_res 
+0x5fb6 025302 fetch 1 ,mem_connection_options 
+0x5fb7 025303 bbit0 connection_feature_ext ,parse_lmp_send_conn 
+0x5fb8 025305 jam conn_sm_send_features_ext ,mem_conn_sm 
+0x5fb9 025306 rtn 
+:      025307 parse_lmp_send_conn:
+0x5fba 025308 jam conn_sm_send_conn_req ,mem_conn_sm 
+0x5fbb 025309 rtn 
+:      025310 parse_lmp_test_activate:
+0x5fbc 025311 fetch 1 ,mem_debug_config 
+0x5fbd 025312 store 1 ,mem_test_mode_old_debug_config 
+0x5fbe 025313 jam lmp_accepted ,mem_lmo_opcode2 
+0x5fbf 025314 jam lmp_test_activate ,mem_lmi_opcode2 
+0x5fc0 025315 rtn 
+:      025316 parse_lmp_test_control:
+0x5fc1 025319 jam lmp_accepted ,mem_lmo_opcode2 
+0x5fc2 025320 jam lmp_test_control ,mem_lmi_opcode2 
+0x5fc3 025321 force 9 ,loopcnt 
+0x5fc4 025322 arg mem_rxbuf + 1 ,contr 
+0x5fc5 025323 arg mem_temp_payload ,contw 
+:      025324 parse_lmp_test_xor:
+0x5fc6 025325 ifetch 1 ,contr 
+0x5fc7 025326 xor_into 0x55 ,pdata 
+0x5fc8 025327 istore 1 ,contw 
+0x5fc9 025328 loop parse_lmp_test_xor 
+0x5fca 025329 fetch 1 ,test_mode_scenario 
+0x5fcb 025330 fetcht 1 ,mem_tester_emulate 
+0x5fcc 025331 set0 tester_no_whitening ,temp 
+0x5fcd 025332 set0 tester_pattern_test ,temp 
+0x5fce 025333 beq exit_test_mode ,parse_lmp_test_control_exit 
+0x5fcf 025334 beq pause_test_mode ,parse_lmp_test_control_pause 
+0x5fd0 025335 beq closed_loop_back_acl ,parse_lmp_test_control_loopback 
+0x5fd1 025336 beq acl_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+0x5fd2 025337 beq closed_loop_back_sco ,parse_lmp_test_control_loopback 
+0x5fd3 025338 beq sco_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+0x5fd4 025339 beq zero_pattern ,parse_lmp_test_control_pattern 
+0x5fd5 025340 beq one_pattern ,parse_lmp_test_control_pattern 
+0x5fd6 025341 beq alt_pattern ,parse_lmp_test_control_pattern 
+0x5fd7 025342 beq alt2_pattern ,parse_lmp_test_control_pattern 
+0x5fd8 025343 beq pseudorandom ,parse_lmp_test_control_pattern 
+0x5fd9 025344 rtn 
+:      025345 parse_lmp_test_control_exit:
+0x5fda 025347 fetch 1 ,mem_tester_emulate 
+0x5fdb 025348 set1 tester_exit ,pdata 
+0x5fdc 025349 set1 tester_change ,pdata 
+0x5fdd 025350 store 1 ,mem_tester_emulate 
+0x5fde 025351 rtn 
+:      025352 parse_lmp_test_control_pattern:
+0x5fdf 025353 set1 tester_pattern_test ,temp 
+0x5fe0 025354 jam 5 ,mem_lch_code 
+0x5fe1 025355 fetch 2 ,test_mode_data_length 
+0x5fe2 025356 iforce loopcnt 
+0x5fe3 025357 store 2 ,mem_len 
+0x5fe4 025358 arg mem_rxbuf ,contw 
+0x5fe5 025359 call pn9 
+:      025360 parse_lmp_test_control_loopback_nowhite:
+0x5fe6 025361 set1 tester_no_whitening ,temp 
+:      025362 parse_lmp_test_control_loopback:
+0x5fe7 025363 set1 tester_change ,temp 
+0x5fe8 025364 force 0 ,pdata 
+0x5fe9 025365 store 1 ,mem_slave_rcvcnt 
+0x5fea 025366 store 2 ,mem_tst_pktcnt_crc 
+0x5feb 025367 store 2 ,mem_tst_pktcnt_dmh 
+0x5fec 025368 store 2 ,mem_tst_pktcnt_hec 
+0x5fed 025369 store 2 ,mem_tst_pktcnt_sync 
+0x5fee 025370 fetch 1 ,test_mode_hopping_mode 
+0x5fef 025371 compare fixed_freq ,pdata ,0xff 
+0x5ff0 025372 setflag true ,tester_fixed_freq ,temp 
+0x5ff1 025373 storet 1 ,mem_tester_emulate 
+0x5ff2 025374 rtn 
+:      025376 parse_lmp_test_control_pause:
+0x5ff3 025377 set0 mark_testmode ,mark 
+0x5ff4 025378 jam 0 ,mem_tester_emulate 
+0x5ff5 025379 fetch 1 ,mem_debug_config 
+0x5ff6 025380 set0 debug_tx_pattern ,pdata 
+0x5ff7 025381 store 1 ,mem_debug_config 
+0x5ff8 025382 rtn 
+:      025388 lmp_copy_rand:
+0x5ff9 025389 arg mem_rxbuf + 1 ,contr 
+0x5ffa 025390 arg mem_random_number ,contw 
+0x5ffb 025391 branch memcpy16 
+:      025393 lmp_generate_key:
+0x5ffc 025394 jam lmp_comb_key ,mem_lmo_opcode2 
+0x5ffd 025395 rtn 
+:      025397 lmp_start_encryption:
+0x5ffe 025398 nrtn master 
+0x5fff 025399 jam lmp_start_encryption_req ,mem_lmo_opcode2 
+0x6000 025400 rtn 
+:      025402 lmp_accept_inrand:
+0x6001 025403 arg mem_lap ,rega 
+0x6002 025404 call generate_kinit 
+0x6003 025405 jam lmp_accepted ,mem_lmo_opcode2 
+0x6004 025406 jam lmp_in_rand ,mem_lmi_opcode2 
+0x6005 025407 rtn 
+:      025409 lmp_disconnect:
+0x6006 025410 jam 10 ,mem_conn_timer 
+0x6007 025411 jam lmp_detach ,mem_lmo_opcode2 
+0x6008 025412 jam local_host ,mem_disconn_reason_send 
+0x6009 025413 rtn 
+:      025419 send_lmp:
+0x600a 025420 bpatchx patch30_2 ,mem_patch30 
+0x600b 025421 disable user 
+0x600c 025422 call lmo_fifo_process 
+0x600d 025423 fetch 1 ,mem_lmp_to_send 
+0x600e 025424 rtn blank 
+0x600f 025429 bbit1 7 ,send_lmp_escape 
+:      025430 send_lmp0:
+0x6010 025431 beq lmp_name_req ,send_lmp_name_req 
+0x6011 025432 beq lmp_name_res ,send_lmp_name_res 
+0x6012 025433 beq lmp_accepted ,send_lmp_accepted 
+0x6013 025434 beq lmp_not_accepted ,send_lmp_not_accepted 
+0x6014 025435 beq lmp_features_req ,send_lmp_features_req 
+0x6015 025436 beq lmp_features_res ,send_lmp_features_res 
+0x6016 025437 beq lmp_timing_accuracy_res ,send_lmp_timing_accuracy_res 
+0x6017 025438 beq lmp_version_req ,send_lmp_version_req 
+0x6018 025439 beq lmp_version_res ,send_lmp_version_res 
+0x6019 025440 beq lmp_setup_complete ,send_lmp_setup_complete 
+0x601a 025441 beq lmp_supervision_timeout ,send_lmp_superto 
+0x601b 025442 beq lmp_host_connection_req ,send_lmp_no_payload 
+0x601c 025443 beq lmp_in_rand ,send_lmp_inrand 
+0x601d 025444 beq lmp_comb_key ,send_lmp_comb_key 
+0x601e 025445 beq lmp_au_rand ,send_lmp_aurand 
+0x601f 025446 beq lmp_sres ,send_lmp_sres 
+0x6020 025447 beq lmp_encryption_mode_req ,send_lmp_encryption_mode_req 
+0x6021 025448 beq lmp_encryption_key_size_req ,send_lmp_encryption_key_size_req 
+0x6022 025449 beq lmp_start_encryption_req ,send_lmp_start_encryption 
+0x6023 025450 beq lmp_detach ,send_lmp_detach 
+0x6024 025451 beq lmp_quality_of_service_req ,send_lmp_quality_of_service_req 
+0x6025 025452 beq lmp_unit_key ,send_lmp_unit_key 
+0x6026 025454 beq lmp_incr_power_req ,send_lmp_inc_power 
+0x6027 025455 beq lmp_clkoffset_res ,send_lmp_clkoffset_res 
+0x6028 025456 beq lmp_max_power ,send_lmp_nopayload_reply 
+0x6029 025457 beq lmp_max_slot ,send_lmp_max_slot 
+0x602a 025458 beq lmp_max_slot_req ,send_lmp_max_slot_req 
+0x602b 025459 beq lmp_min_power ,send_lmp_nopayload_reply 
+0x602c 025460 beq lmp_slot_offset ,send_lmp_slot_offset 
+0x602d 025461 beq lmp_switch_req ,send_lmp_switch_req 
+0x602e 025462 beq lmp_sniff_req ,send_lmp_sniff_req 
+0x602f 025463 beq lmp_stop_encryption_req ,send_lmp_stop_encryption_req 
+0x6030 025464 beq lmp_timing_accuracy_req ,send_lmp_timing_accuracy_req 
+0x6031 025465 beq lmp_unsniff_req ,send_lmp_unsniff_req 
+0x6032 025466 beq lmp_encapsulated_header ,send_lmp_encapsulated_header 
+0x6033 025467 beq lmp_encapsulated_payload ,send_lmp_encapsulated_payload 
+0x6034 025468 beq lmp_simple_pairing_confirm ,send_lmp_simple_pairing_comfirm 
+0x6035 025469 beq lmp_simple_pairing_number ,send_lmp_simple_pairing_number 
+0x6036 025470 beq lmp_dhkey_check ,send_lmp_dhkey_check 
+0x6037 025471 beq lmp_auto_rate ,send_lmp_auto_rate 
+0x6038 025472 beq lmp_enc_key_size_mask_res ,send_lmp_enc_key_size_mask_res 
+0x6039 025474 beq lmp_clkoffset_req ,send_lmp_clkoffset_req 
+0x603a 025475 beq lmp_quality_of_service ,send_lmp_quality_of_service 
+0x603b 025476 beq lmp_test_activate ,send_lmp_test_activate 
+0x603c 025477 beq lmp_test_control ,send_lmp_test_control 
+:      025478 send_lmp_error:
+0x603d 025479 branch assert 
+0x603e 025480 rtn 
+:      025481 send_lmp_escape:
+0x603f 025482 beq lmp_ext_accepted ,send_lmpext_accepted 
+0x6040 025483 beq lmp_ext_features_res ,send_lmpext_features_res 
+0x6041 025484 beq lmp_not_accepted_ext ,send_lmpext_not_accepted 
+0x6042 025485 beq lmp_ext_features_req ,send_lmpext_features_req 
+0x6043 025486 beq lmp_packet_type_table_req ,send_lmpext_packet_type_table_req 
+0x6044 025487 beq lmp_pause_encryption_req ,send_lmpext_pause_encryption_req 
+0x6045 025488 beq lmp_io_cap_req ,send_lmp_io_cap_req 
+0x6046 025489 beq lmp_io_cap_res ,send_lmpext_io_cap_res 
+0x6047 025490 beq lmp_sniff_subrating_req ,send_lmpext_sniff_subrating_req 
+0x6048 025491 beq lmp_sniff_subrating_res ,send_lmpext_sniff_subrating_res 
+0x6049 025492 branch assert 
+:      025498 send_lmp_accepted:
+0x604a 025499 force 2 ,pdata 
+0x604b 025500 call msg_send_lmp 
+0x604c 025501 fetch 1 ,mem_lmi_opcode 
+0x604d 025502 istore 1 ,contw 
+0x604e 025503 call send_lmp_follow 
+0x604f 025504 bpatchx patch30_3 ,mem_patch30 
+0x6050 025505 fetch 1 ,mem_lmi_opcode 
+0x6051 025506 beq lmp_in_rand ,send_lmp_accepted_inrand 
+0x6052 025507 beq lmp_encryption_mode_req ,send_lmp_accepted_enc_mode 
+0x6053 025508 beq lmp_encryption_key_size_req ,send_lmp_accepted_enc_key 
+0x6054 025509 beq lmp_sniff_req ,send_lmp_accept_sniff_req 
+0x6055 025510 beq lmp_host_connection_req ,send_lmp_accepted_connection 
+0x6056 025511 beq lmp_dhkey_check ,send_lmp_accept_dhkey_check 
+0x6057 025512 beq lmp_start_encryption_req ,send_create_conn_start_l2cap_timer_sm 
+0x6058 025513 rtn 
+:      025515 send_create_conn_start_l2cap_timer_sm:
+0x6059 025516 fetch 1 ,mem_conn_sm 
+0x605a 025517 rtn blank 
+0x605b 025518 jam conn_sm_wait_done ,mem_conn_sm 
+0x605c 025519 setarg timer_enpt_waite 
+0x605d 025520 arg enpt_delay_timer ,queue 
+0x605e 025521 branch timer_init 
+:      025523 send_lmp_accept_sniff_req:
+0x605f 025524 branch sniff_init 
+:      025525 send_lmp_not_accepted:
+0x6060 025526 force 3 ,pdata 
+0x6061 025527 call msg_send_lmp 
+0x6062 025528 fetch 1 ,mem_lmi_opcode 
+0x6063 025529 beq lmp_au_rand ,send_not_accept_aurand 
+0x6064 025530 istore 1 ,contw 
+0x6065 025531 fetch 1 ,mem_lmo_reason 
+0x6066 025532 istore 1 ,contw 
+0x6067 025533 branch send_lmp_follow 
+:      025535 send_not_accept_aurand:
+0x6068 025536 istore 1 ,contw 
+0x6069 025537 fetch 1 ,mem_lmo_reason 
+0x606a 025538 istore 1 ,contw 
+0x606b 025539 arg mem_sres_tid ,temp 
+0x606c 025540 branch special_tid_store 
+:      025542 send_lmpext_accepted:
+0x606d 025543 force 4 ,queue 
+0x606e 025544 call send_lmpext 
+0x606f 025545 setarg lmp_escape 
+0x6070 025546 istore 1 ,contw 
+0x6071 025547 fetch 1 ,mem_lmi_opcode 
+0x6072 025548 set0 7 ,pdata 
+0x6073 025549 istore 1 ,contw 
+0x6074 025550 fetch 1 ,mem_lmi_opcode 
+0x6075 025551 branch send_lmp_follow 
+:      025553 send_lmpext_not_accepted:
+0x6076 025554 force 5 ,queue 
+0x6077 025555 call send_lmpext 
+0x6078 025556 setarg lmp_escape 
+0x6079 025557 istore 1 ,contw 
+0x607a 025558 fetch 1 ,mem_lmi_opcode 
+0x607b 025559 set0 7 ,pdata 
+0x607c 025560 istore 1 ,contw 
+0x607d 025561 fetch 1 ,mem_lmo_reason 
+0x607e 025562 istore 1 ,contw 
+0x607f 025563 branch send_lmp_follow 
+:      025566 send_lmp_accepted_inrand:
+0x6080 025567 call clear_linkkey 
+0x6081 025568 call tid_check 
+0x6082 025569 rtn true 
+0x6083 025570 branch lmp_generate_key 
+:      025572 send_lmp_accepted_enc_mode:
+0x6084 025573 fetch 1 ,mem_op 
+0x6085 025574 bbit1 op_start_enc ,send_lmp_accepted_enc_start 
+0x6086 025575 rtnbit0 op_stop_enc 
+0x6087 025576 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x6088 025577 set0 op_stop_enc ,pdata 
+0x6089 025578 call tid_reply 
+0x608a 025579 branch send_lmp_accepted_enc_exit 
+:      025580 send_lmp_accepted_enc_start:
+0x608b 025581 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+0x608c 025582 set0 op_start_enc ,pdata 
+:      025583 send_lmp_accepted_enc_exit:
+0x608d 025584 store 1 ,mem_op 
+0x608e 025585 rtn 
+:      025587 send_lmp_accepted_enc_key:
+0x608f 025588 call check_localsm 
+0x6090 025589 branch lmp_start_encryption ,true 
+0x6091 025590 rtn 
+:      025592 send_lmp_accepted_connection:
+0x6092 025593 jam lmp_packet_type_table_req ,mem_lmo_opcode2 
+0x6093 025595 fetch 1 ,mem_lmp_conn_state 
+0x6094 025596 set1 received_conn_req ,pdata 
+0x6095 025597 store 1 ,mem_lmp_conn_state 
+0x6096 025598 jam bt_evt_bb_connected ,mem_fifo_temp 
+0x6097 025599 branch ui_ipc_send_event 
+:      025602 send_lmp_accept_dhkey_check:
+0x6098 025603 rtn 
+:      025607 send_lmpext_features_res:
+0x6099 025608 force 12 ,queue 
+0x609a 025609 call send_lmpext 
+0x609b 025610 setarg 0x01 
+0x609c 025611 istore 1 ,contw 
+0x609d 025612 fetch 2 ,mem_lmpext_ssp_enable 
+0x609e 025613 istore 2 ,contw 
+0x609f 025614 setarg 0 
+0x60a0 025615 istore 3 ,contw 
+0x60a1 025616 setarg 0x00 
+0x60a2 025617 istore 4 ,contw 
+0x60a3 025618 branch send_lmp_reply 
+:      025619 send_lmpext_io_cap_res:
+0x60a4 025620 force 5 ,queue 
+0x60a5 025621 call send_lmpext 
+0x60a6 025622 fetch 3 ,mem_sp_iocap_local 
+0x60a7 025623 istore 3 ,contw 
+0x60a8 025624 call send_lmp_reply 
+0x60a9 025625 jam flag_pairing_state_pairing ,mem_flag_pairing_state 
+0x60aa 025626 fetch 1 ,mem_sp_iocap_local 
+0x60ab 025627 beq display_yesno ,responder_iocap_display_yesno 
+0x60ac 025628 beq keyboard_only ,responder_iocap_keyboard_only 
+0x60ad 025629 beq no_input_no_output ,responder_iocap_no_input_no_output 
+0x60ae 025630 rtn 
+:      025632 responder_iocap_keyboard_only:
+0x60af 025633 fetch 1 ,mem_sp_iocap_remote 
+0x60b0 025634 beq display_only ,responder_iocap_keyboard_only_initiator_iocap_display_only 
+0x60b1 025635 beq display_yesno ,responder_iocap_keyboard_only_initiator_iocap_display_yesno 
+0x60b2 025636 beq keyboard_only ,responder_iocap_keyboard_only_initiator_iocap_keyboard_only 
+0x60b3 025637 beq no_input_no_output ,responder_iocap_keyboard_only_initiator_iocap_no_input_no_output 
+0x60b4 025638 rtn 
+:      025641 responder_iocap_display_yesno:
+0x60b5 025642 fetch 1 ,mem_sp_iocap_remote 
+0x60b6 025643 beq display_only ,responder_iocap_display_yesno_initiator_iocap_display_only 
+0x60b7 025644 beq display_yesno ,responder_iocap_display_yesno_initiator_iocap_display_yesno 
+0x60b8 025645 beq keyboard_only ,responder_iocap_display_yesno_initiator_iocap_keyboard_only 
+0x60b9 025646 beq no_input_no_output ,responder_iocap_display_yesno_initiator_iocap_no_input_no_output 
+0x60ba 025647 rtn 
+:      025650 responder_iocap_no_input_no_output:
+0x60bb 025651 fetch 1 ,mem_sp_iocap_remote 
+0x60bc 025652 beq display_only ,responder_iocap_no_input_no_output_initiator_iocap_display_only 
+0x60bd 025653 beq display_yesno ,responder_iocap_no_input_no_output_initiator_iocap_display_yesno 
+0x60be 025654 beq keyboard_only ,responder_iocap_no_input_no_output_initiator_iocap_keyboard_only 
+0x60bf 025655 beq no_input_no_output ,responder_iocap_no_input_no_output_initiator_iocap_no_input_no_output 
+0x60c0 025656 rtn 
+:      025658 responder_iocap_keyboard_only_initiator_iocap_no_input_no_output:
+:      025659 responder_iocap_display_yesno_initiator_iocap_no_input_no_output:
+:      025660 responder_iocap_display_yesno_initiator_iocap_display_only:
+:      025661 responder_iocap_no_input_no_output_initiator_iocap_display_only:
+:      025662 responder_iocap_no_input_no_output_initiator_iocap_display_yesno:
+:      025663 responder_iocap_no_input_no_output_initiator_iocap_keyboard_only:
+:      025664 responder_iocap_no_input_no_output_initiator_iocap_no_input_no_output:
+:      025665 set_ssp_mode_justwork:
+0x60c1 025666 jam ssp_mode_just_work_flag ,mem_ssp_mode_flag 
+0x60c2 025667 fetch 1 ,mem_classic_bt_flag 
+0x60c3 025668 bbit1 flag_ssp_reject_justwork ,app_bt_disconnect 
+0x60c4 025669 rtn 
+:      025671 responder_iocap_display_yesno_initiator_iocap_display_yesno:
+:      025672 set_ssp_mode_numeric_comparison:
+0x60c5 025673 jam ssp_mode_ssp_pin_flag ,mem_ssp_mode_flag 
+0x60c6 025674 rtn 
+:      025676 responder_iocap_keyboard_only_initiator_iocap_display_yesno:
+:      025677 responder_iocap_keyboard_only_initiator_iocap_keyboard_only:
+:      025678 responder_iocap_keyboard_only_initiator_iocap_display_only:
+:      025679 responder_iocap_display_yesno_initiator_iocap_keyboard_only:
+:      025680 set_ssp_mode_passkey:
+0x60c7 025681 jam ssp_mode_passkey_entry_flag ,mem_ssp_mode_flag 
+0x60c8 025682 rtn 
+:      025685 classic_bt_set_reject_justwork_flag:
+0x60c9 025686 arg flag_ssp_reject_justwork ,queue 
+0x60ca 025687 branch classic_bluetooth_set_flag 
+:      025689 classic_bt_clr_reject_justwork_flag:
+0x60cb 025690 arg flag_ssp_reject_justwork ,queue 
+0x60cc 025691 branch classic_bluetooth_clr_flag 
+:      025693 classic_bluetooth_set_flag:
+0x60cd 025694 fetch 1 ,mem_classic_bt_flag 
+0x60ce 025695 qset1 pdata 
+0x60cf 025696 store 1 ,mem_classic_bt_flag 
+0x60d0 025697 rtn 
+:      025699 classic_bluetooth_clr_flag:
+0x60d1 025700 fetch 1 ,mem_classic_bt_flag 
+0x60d2 025701 qset0 pdata 
+0x60d3 025702 store 1 ,mem_classic_bt_flag 
+0x60d4 025703 rtn 
+:      025706 send_lmp_io_cap_req:
+0x60d5 025707 force 5 ,queue 
+0x60d6 025708 call send_lmpext 
+0x60d7 025709 fetch 3 ,mem_sp_iocap_local 
+0x60d8 025710 istore 3 ,contw 
+0x60d9 025711 branch send_lmp_request 
+:      025714 send_lmpext_sniff_subrating_req:
+0x60da 025716 rtn 
+:      025717 send_lmpext_sniff_subrating_res:
+0x60db 025718 force 9 ,queue 
+0x60dc 025719 call send_lmpext 
+0x60dd 025720 fetch 1 ,mem_subsniff_rate 
+0x60de 025721 istore 1 ,contw 
+0x60df 025722 fetch 2 ,mem_subsniff_tcmax 
+0x60e0 025723 istore 2 ,contw 
+0x60e1 025724 fetch 4 ,mem_subsniff_instant 
+0x60e2 025725 istore 4 ,contw 
+0x60e3 025726 branch send_lmp_reply 
+:      025728 send_lmp_name_res:
+0x60e4 025729 force 17 ,pdata 
+0x60e5 025730 call msg_send_lmp 
+0x60e6 025731 fetch 1 ,mem_lmi_opcode 
+0x60e7 025732 copy pdata ,temp 
+0x60e8 025733 beq 0x00 ,send_lmp_name_res_offset_ok 
+0x60e9 025734 beq 0x0e ,send_lmp_name_res_offset_ok 
+0x60ea 025735 beq 0x1c ,send_lmp_name_res_offset_ok 
+0x60eb 025736 rtn 
+:      025737 send_lmp_name_res_offset_ok:
+0x60ec 025738 istore 1 ,contw 
+0x60ed 025739 fetch 1 ,mem_local_name_length 
+0x60ee 025740 istore 1 ,contw 
+0x60ef 025741 arg 14 ,loopcnt 
+0x60f0 025742 setarg mem_local_name 
+0x60f1 025743 iadd temp ,contr 
+0x60f2 025744 call memcpy 
+0x60f3 025745 branch send_lmp_reply 
+:      025748 send_lmp_timing_accuracy_res:
+0x60f4 025749 force 3 ,pdata 
+0x60f5 025750 call msg_send_lmp 
+0x60f6 025751 setarg 0x0114 
+0x60f7 025752 istore 2 ,contw 
+0x60f8 025753 branch send_lmp_reply 
+:      025755 send_lmp_clkoffset_res:
+0x60f9 025757 force 3 ,pdata 
+0x60fa 025758 call msg_send_lmp 
+0x60fb 025759 fetch 4 ,mem_clke_bt 
+0x60fc 025760 isub clkn_bt ,pdata 
+0x60fd 025761 branch send_lmp_clkoffset_res_master ,master 
+0x60fe 025762 sub pdata ,0 ,pdata 
+:      025763 send_lmp_clkoffset_res_master:
+0x60ff 025765 rshift2 pdata ,pdata 
+0x6100 025766 set0 15 ,pdata 
+0x6101 025767 istore 2 ,contw 
+0x6102 025768 branch send_lmp_reply 
+:      025770 send_lmp_version_res:
+0x6103 025771 force 6 ,pdata 
+0x6104 025772 call msg_send_lmp 
+0x6105 025773 fetch 5 ,mem_lmp_version 
+0x6106 025774 istore 5 ,contw 
+0x6107 025775 branch send_lmp_reply 
+:      025777 send_lmp_features_res:
+0x6108 025778 force 9 ,pdata 
+0x6109 025779 call msg_send_lmp 
+0x610a 025780 fetch 8 ,mem_features 
+0x610b 025781 istore 8 ,contw 
+0x610c 025782 branch send_lmp_reply 
+:      025789 send_lmpext_features_req:
+0x610d 025790 force 12 ,queue 
+0x610e 025791 call send_lmpext 
+0x610f 025792 setarg 0x01 
+0x6110 025793 istore 1 ,contw 
+0x6111 025794 fetch 2 ,mem_lmpext_ssp_enable 
+0x6112 025795 istore 2 ,contw 
+0x6113 025796 setarg 0 
+0x6114 025797 istore 3 ,contw 
+0x6115 025798 setarg 0x00 
+0x6116 025799 istore 4 ,contw 
+0x6117 025800 branch send_lmp_request 
+:      025802 send_lmpext_packet_type_table_req:
+0x6118 025803 force 3 ,queue 
+0x6119 025804 call send_lmpext 
+0x611a 025805 fetch 1 ,mem_ptt 
+0x611b 025806 istore 1 ,contw 
+0x611c 025807 disable user 
+0x611d 025808 call send_lmp_request 
+0x611e 025809 nrtn user 
+0x611f 025810 nrtn master 
+0x6120 025811 fetch 1 ,mem_afh_cfg 
+0x6121 025812 rtnbit0 afh_cfg_on 
+0x6122 025813 call afh_init 
+0x6123 025814 branch afh_open_all_channels 
+:      025817 ssp_enable:
+0x6124 025818 bpatchx patch30_4 ,mem_patch30 
+0x6125 025819 fetch 1 ,mem_features + 6 
+0x6126 025820 set1 param_featrue_ssp ,pdata 
+0x6127 025821 store 1 ,mem_features + 6 
+0x6128 025822 setarg param_lmpext_ssp_enable 
+0x6129 025823 store 2 ,mem_lmpext_ssp_enable 
+0x612a 025824 rtn 
+:      025826 ssp_disable:
+0x612b 025827 bpatchx patch30_5 ,mem_patch30 
+0x612c 025828 fetch 1 ,mem_features + 6 
+0x612d 025829 set0 param_featrue_ssp ,pdata 
+0x612e 025830 store 1 ,mem_features + 6 
+0x612f 025831 setarg 0 
+0x6130 025832 store 2 ,mem_lmpext_ssp_enable 
+0x6131 025833 rtn 
+:      025835 afh_init:
+0x6132 025836 jam 0x3 ,mem_afh_cfg 
+0x6133 025837 setarg 0 
+0x6134 025838 store 4 ,mem_afh_timer 
+0x6135 025839 arg mem_afh_map_lo ,contw 
+0x6136 025840 call afh_reset_map 
+0x6137 025841 arg mem_afh_map_new ,contw 
+0x6138 025842 call afh_reset_map 
+0x6139 025843 arg mem_afh_classify_channel_map ,contw 
+0x613a 025844 call afh_reset_map 
+0x613b 025845 branch afh_clear_error_counter 
+:      025846 afh_open_all_channels:
+0x613c 025847 arg mem_afh_map_new ,contw 
+0x613d 025848 call afh_reset_map 
+0x613e 025849 call afh_clear_error_counter 
+0x613f 025850 branch afh_set_send_flag 
+:      025853 afh_reset_map:
+0x6140 025854 setarg 0xffffff 
+0x6141 025855 istore 3 ,contw 
+0x6142 025856 istore 3 ,contw 
+0x6143 025857 istore 3 ,contw 
+0x6144 025858 setarg 0x7f 
+0x6145 025859 istore 1 ,contw 
+0x6146 025860 rtn 
+:      025861 afh_clear_error_counter:
+0x6147 025862 setarg 0 
+0x6148 025863 store 2 ,mem_afh_error_total 
+0x6149 025864 rtn 
+:      025865 afh_set_send_flag:
+0x614a 025866 fetch 1 ,mem_afh_cfg 
+0x614b 025867 set1 send_lmp_set_afh ,pdata 
+0x614c 025868 store 1 ,mem_afh_cfg 
+0x614d 025869 rtn 
+:      025872 send_lmpext_pause_encryption_req:
+0x614e 025873 force 2 ,queue 
+0x614f 025874 call send_lmpext 
+0x6150 025875 nbranch send_lmp_reply ,master 
+0x6151 025877 branch send_lmp_request 
+:      025881 send_lmp_detach:
+0x6152 025882 force 2 ,pdata 
+0x6153 025883 call msg_send_lmp 
+0x6154 025884 fetch 1 ,mem_disconn_reason_send 
+0x6155 025885 istore 1 ,contw 
+0x6156 025886 call send_lmp_request 
+:      025887 prepare_disconnect:
+0x6157 025888 fetch 1 ,mem_op 
+0x6158 025889 set1 op_disconn ,pdata 
+0x6159 025890 store 1 ,mem_op 
+0x615a 025891 jam 50 ,mem_conn_timer 
+0x615b 025892 rtn 
+:      025895 send_lmp_no_payload:
+0x615c 025896 force 1 ,pdata 
+0x615d 025897 call msg_send_lmp 
+0x615e 025898 branch send_lmp_request 
+:      025899 send_lmp_nopayload_reply:
+0x615f 025900 force 1 ,pdata 
+0x6160 025901 call msg_send_lmp 
+0x6161 025902 branch send_lmp_reply 
+:      025905 send_lmp_encryption_mode_req:
+0x6162 025906 force 2 ,pdata 
+0x6163 025907 call msg_send_lmp 
+0x6164 025908 fetch 1 ,mem_state_map 
+0x6165 025909 isolate0 smap_encryption ,pdata 
+0x6166 025910 setflag true ,0 ,pdata 
+0x6167 025911 and_into 1 ,pdata 
+0x6168 025912 istore 1 ,contw 
+0x6169 025913 branch send_lmp_request 
+:      025916 send_lmp_superto:
+0x616a 025917 force 3 ,pdata 
+0x616b 025918 call msg_send_lmp 
+0x616c 025919 fetch 2 ,mem_supervision_to 
+0x616d 025920 istore 2 ,contw 
+0x616e 025921 branch send_lmp_request 
+:      025923 send_lmp_name_req:
+0x616f 025924 jam 250 ,mem_conn_timer 
+0x6170 025925 force 2 ,pdata 
+0x6171 025926 call msg_send_lmp 
+0x6172 025927 fetch 1 ,mem_name_offset 
+0x6173 025928 istore 1 ,contw 
+0x6174 025929 branch send_lmp_request 
+:      025931 send_lmp_test_control:
+0x6175 025932 force 10 ,pdata 
+0x6176 025933 call msg_send_lmp 
+0x6177 025934 arg mem_temp_payload ,contr 
+0x6178 025935 force 9 ,loopcnt 
+:      025936 send_lmp_test_control_loop:
+0x6179 025937 ifetch 1 ,contr 
+0x617a 025938 xor_into 0x55 ,pdata 
+0x617b 025939 istore 1 ,contw 
+0x617c 025940 loop send_lmp_test_control_loop 
+0x617d 025941 branch send_lmp_request 
+:      025943 send_lmp_quality_of_service_req:
+0x617e 025944 branch send_lmp_request 
+:      025945 send_lmp_unit_key:
+0x617f 025946 branch send_lmp_request 
+:      025948 send_lmp_slot_offset:
+0x6180 025949 rtn master 
+0x6181 025950 call calc_slot_offset 
+0x6182 025951 force 9 ,pdata 
+0x6183 025952 call msg_send_lmp 
+0x6184 025953 fetch 2 ,mem_slot_offset 
+0x6185 025954 istore 2 ,contw 
+0x6186 025955 fetch 3 ,mem_lap 
+0x6187 025956 istore 3 ,contw 
+0x6188 025957 fetch 1 ,mem_uap 
+0x6189 025958 istore 1 ,contw 
+0x618a 025959 fetch 2 ,mem_nap 
+0x618b 025960 istore 2 ,contw 
+0x618c 025961 bmark0 mark_switch_initiated ,send_lmp_slot_offset_reply 
+0x618d 025962 set0 mark_switch_initiated ,mark 
+0x618e 025963 call send_lmp_request 
+0x618f 025964 jam lmp_switch_req ,mem_lmo_opcode2 
+0x6190 025965 rtn 
+:      025966 send_lmp_slot_offset_reply:
+0x6191 025967 call send_lmp_reply 
+0x6192 025968 jam lmp_accepted ,mem_lmo_opcode2 
+0x6193 025969 jam lmp_switch_req ,mem_lmi_opcode2 
+0x6194 025970 rtn 
+:      025972 send_lmp_switch_req:
+0x6195 025973 arg 0x200 ,temp 
+0x6196 025974 branch switch_on_native ,master 
+0x6197 025975 deposit clke_bt 
+0x6198 025976 branch switch_slack 
+:      025977 switch_on_native:
+0x6199 025978 deposit clkn_bt 
+:      025979 switch_slack:
+0x619a 025980 deposit bt_clk 
+0x619b 025981 iadd temp ,pdata 
+0x619c 025982 and_into 0x1fc ,pdata 
+0x619d 025983 store 4 ,mem_sniff_anchor 
+0x619e 025984 force 5 ,pdata 
+0x619f 025985 call msg_send_lmp 
+0x61a0 025986 fetch 4 ,mem_sniff_anchor 
+0x61a1 025987 rshift pdata ,pdata 
+0x61a2 025988 istore 4 ,contw 
+0x61a3 025989 branch send_lmp_request 
+:      025991 send_lmp_sniff_req:
+0x61a4 025992 force 10 ,pdata 
+0x61a5 025993 call msg_send_lmp 
+0x61a6 025994 arg mem_sniff_payload ,contr 
+0x61a7 025995 ifetch 9 ,contr 
+0x61a8 025996 istore 9 ,contw 
+0x61a9 025997 branch send_lmp_request 
+:      026000 send_lmp_timing_accuracy_req:
+0x61aa 026002 force 3 ,pdata 
+0x61ab 026003 call msg_send_lmp 
+0x61ac 026004 setarg 0x0114 
+0x61ad 026005 istore 2 ,contw 
+0x61ae 026006 branch send_lmp_request 
+:      026008 send_lmp_unsniff_req:
+0x61af 026010 force 1 ,pdata 
+0x61b0 026011 call msg_send_lmp 
+0x61b1 026020 branch send_lmp_request 
+:      026023 send_lmp_max_slot:
+0x61b2 026024 force 2 ,pdata 
+0x61b3 026025 call msg_send_lmp 
+0x61b4 026026 fetch 1 ,mem_max_slot 
+0x61b5 026027 istore 1 ,contw 
+0x61b6 026028 branch send_lmp_request 
+:      026031 send_lmp_max_slot_req:
+0x61b7 026032 force 2 ,pdata 
+0x61b8 026033 call msg_send_lmp 
+0x61b9 026034 setarg 0x05 
+0x61ba 026035 istore 1 ,contw 
+0x61bb 026036 branch send_lmp_request 
+:      026039 send_lmp_inc_power:
+0x61bc 026040 force 2 ,pdata 
+0x61bd 026041 call msg_send_lmp 
+0x61be 026042 setarg 0x00 
+0x61bf 026043 istore 1 ,contw 
+0x61c0 026044 branch send_lmp_request 
+:      026047 send_lmp_setup_complete_by_module:
+0x61c1 026048 jam lmp_max_slot_req ,mem_lmo_opcode2 
+0x61c2 026049 rtn 
+:      026050 send_lmp_setup_complete:
+0x61c3 026051 fetch 1 ,mem_device_option 
+0x61c4 026052 sub pdata ,dvc_op_module ,null 
+0x61c5 026053 call send_lmp_setup_complete_by_module ,zero 
+0x61c6 026054 fetch 1 ,mem_state 
+0x61c7 026055 set1 state_conn_comp ,pdata 
+0x61c8 026056 store 1 ,mem_state 
+0x61c9 026057 copy clkn_bt ,pdata 
+0x61ca 026058 store 4 ,mem_aurand_send_delay_time 
+0x61cb 026059 fetch 1 ,mem_lmp_conn_state 
+0x61cc 026060 bbit1 sent_setup_complete ,send_lmp_setup_complete_has_sent 
+0x61cd 026061 set1 sent_setup_complete ,pdata 
+0x61ce 026062 store 1 ,mem_lmp_conn_state 
+0x61cf 026063 jam bt_evt_setup_complete ,mem_fifo_temp 
+0x61d0 026064 call ui_ipc_send_event 
+0x61d1 026065 force 1 ,pdata 
+0x61d2 026066 call msg_send_lmp 
+0x61d3 026067 branch send_lmp_request 
+:      026068 send_lmp_setup_complete_has_sent:
+0x61d4 026069 jam 0 ,mem_lmp_to_send 
+0x61d5 026070 rtn 
+:      026072 send_lmp_version_req:
+0x61d6 026073 force 6 ,pdata 
+0x61d7 026074 call msg_send_lmp 
+0x61d8 026075 fetch 5 ,mem_lmp_version 
+0x61d9 026076 istore 5 ,contw 
+0x61da 026077 branch send_lmp_request 
+:      026079 send_lmp_features_req:
+0x61db 026080 force 9 ,pdata 
+0x61dc 026081 call msg_send_lmp 
+0x61dd 026082 fetch 8 ,mem_features 
+0x61de 026083 istore 8 ,contw 
+0x61df 026084 branch send_lmp_request 
+:      026086 sp_master_send_io_cap_get:
+0x61e0 026087 jam sp_flag_commit ,mem_master_sp_flag 
+0x61e1 026088 fetch 1 ,mem_sp_local_key_invalid 
+0x61e2 026089 rtnne sp_key_valid 
+0x61e3 026090 jam sp_master_stat_start_done ,mem_master_sp_state 
+0x61e4 026091 rtn 
+:      026093 sp_master_send_io_cap_send:
+0x61e5 026094 call tid_initiate 
+0x61e6 026095 jam lmp_io_cap_req ,mem_lmo_opcode2 
+0x61e7 026096 jam sp_stat_key_send ,mem_master_sp_state 
+0x61e8 026097 rtn 
+:      026100 sp_master_send_lmp_encapsulated_header:
+0x61e9 026101 call tid_initiate 
+0x61ea 026102 jam lmp_encapsulated_header ,mem_lmo_opcode2 
+0x61eb 026103 jam sp_stat_random_send ,mem_master_sp_state 
+0x61ec 026104 rtn 
+:      026106 sp_master_commitment_compare:
+0x61ed 026107 arg mem_sp_calc_result_high ,rega 
+0x61ee 026108 arg mem_sp_confirm_remote ,regb 
+0x61ef 026109 arg 16 ,loopcnt 
+0x61f0 026110 call string_compare 
+0x61f1 026111 branch sp_master_commitment_compare_success ,zero 
+0x61f2 026112 jam sp_stat_null ,mem_master_sp_state 
+0x61f3 026113 call master_clear_mem_master_sp_flag 
+0x61f4 026114 jam pdu_not_allowed ,mem_lmo_reason2 
+0x61f5 026115 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+0x61f6 026116 branch reject_lmp_packet 
+:      026117 sp_master_commitment_compare_success:
+0x61f7 026118 jam sp_stat_confirm_calc ,mem_master_sp_state 
+0x61f8 026119 call master_set_mem_master_sp_flag 
+0x61f9 026120 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+0x61fa 026121 branch accept_lmp_msg 
+:      026125 sp_master_send_lmp_simple_pairing_number:
+0x61fb 026126 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+0x61fc 026127 rtn 
+:      026131 sp_send_lmp_encapsulated_header:
+0x61fd 026134 jam lmp_encapsulated_header ,mem_lmo_opcode2 
+0x61fe 026136 rtn 
+:      026142 send_lmp_encapsulated_header:
+0x61ff 026143 jam 0 ,mem_sp_local_key_send_count 
+0x6200 026144 force 4 ,pdata 
+0x6201 026145 call msg_send_lmp 
+0x6202 026146 force encapsulated_major_type_p192 ,pdata 
+0x6203 026147 istore 1 ,contw 
+0x6204 026148 force encapsulated_minor_type_p192 ,pdata 
+0x6205 026149 istore 1 ,contw 
+0x6206 026150 force encapsulated_len_p192 ,pdata 
+0x6207 026151 istore 1 ,contw 
+0x6208 026152 call check_localsm 
+0x6209 026153 branch send_lmp_request ,true 
+0x620a 026154 branch send_lmp_reply 
+:      026156 send_lmp_encapsulated_payload:
+0x620b 026158 force 17 ,pdata 
+0x620c 026159 call msg_send_lmp 
+0x620d 026160 fetch 1 ,mem_sp_local_key_send_count 
+0x620e 026161 arg mem_sp_pubkey_local ,contr 
+0x620f 026162 iadd contr ,contr 
+0x6210 026163 ifetch 8 ,contr 
+0x6211 026164 istore 8 ,contw 
+0x6212 026165 ifetch 8 ,contr 
+0x6213 026166 istore 8 ,contw 
+0x6214 026167 fetch 1 ,mem_sp_local_key_send_count 
+0x6215 026168 increase 16 ,pdata 
+0x6216 026169 store 1 ,mem_sp_local_key_send_count 
+0x6217 026170 call check_localsm 
+0x6218 026171 branch send_lmp_request ,true 
+0x6219 026172 branch send_lmp_reply 
+:      026175 sp_send_lmp_simple_pairing_comfirm:
+0x621a 026176 jam sp_stat_random_recv ,mem_sp_state 
+0x621b 026177 jam lmp_simple_pairing_confirm ,mem_lmo_opcode2 
+0x621c 026178 rtn 
+:      026179 send_lmp_simple_pairing_comfirm:
+0x621d 026182 force 17 ,pdata 
+0x621e 026183 call msg_send_lmp 
+0x621f 026184 arg mem_sp_calc_result_high ,contr 
+0x6220 026185 ifetch 8 ,contr 
+0x6221 026186 istore 8 ,contw 
+0x6222 026187 ifetch 8 ,contr 
+0x6223 026188 istore 8 ,contw 
+0x6224 026189 branch send_lmp_reply 
+:      026191 sp_send_lmp_simple_pairing_number:
+0x6225 026192 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+0x6226 026193 rtn 
+:      026195 send_lmp_simple_pairing_number:
+0x6227 026197 call check_localsm 
+0x6228 026198 call sp_local_random_key_generator ,true 
+0x6229 026199 force 17 ,pdata 
+0x622a 026200 call msg_send_lmp 
+0x622b 026201 arg mem_sp_random_local ,contr 
+0x622c 026202 ifetch 8 ,contr 
+0x622d 026203 istore 8 ,contw 
+0x622e 026204 ifetch 8 ,contr 
+0x622f 026205 istore 8 ,contw 
+0x6230 026206 call check_localsm 
+0x6231 026207 nbranch send_lmp_reply ,true 
+0x6232 026208 branch send_lmp_request ,true 
+:      026210 master_sp_sm_end:
+0x6233 026212 jam sp_stat_done ,mem_master_sp_state 
+:      026213 sp_aurand_send:
+0x6234 026214 call tid_initiate 
+0x6235 026215 jam lmp_au_rand ,mem_lmo_opcode2 
+0x6236 026216 call check_localsm_master 
+0x6237 026217 branch sp_master_key_prarm_push ,true 
+0x6238 026218 branch sp_link_key_prarm_push 
+:      026219 master_sp_send_lmp_dhkey_check:
+0x6239 026220 call tid_reply 
+:      026221 sp_send_lmp_dhkey_check:
+0x623a 026222 jam lmp_dhkey_check ,mem_lmo_opcode2 
+0x623b 026223 rtn 
+:      026224 send_lmp_dhkey_check:
+0x623c 026226 force 17 ,pdata 
+0x623d 026227 call msg_send_lmp 
+0x623e 026228 arg mem_sp_calc_result_high ,contr 
+0x623f 026229 ifetch 8 ,contr 
+0x6240 026230 istore 8 ,contw 
+0x6241 026231 ifetch 8 ,contr 
+0x6242 026232 istore 8 ,contw 
+0x6243 026233 call check_localsm 
+0x6244 026234 nbranch send_lmp_reply ,true 
+0x6245 026235 branch send_lmp_request ,true 
+:      026237 send_lmp_enc_key_size_mask_res:
+0x6246 026238 force 3 ,pdata 
+0x6247 026239 call msg_send_lmp 
+0x6248 026240 setarg 0xfffe 
+0x6249 026241 istore 2 ,contw 
+0x624a 026242 branch send_lmp_reply 
+:      026244 send_lmp_auto_rate:
+0x624b 026245 branch send_lmp_request 
+:      026246 send_lmp_clkoffset_req:
+0x624c 026247 branch send_lmp_request 
+:      026248 send_lmp_quality_of_service:
+0x624d 026249 branch send_lmp_request 
+:      026250 send_lmp_test_activate:
+0x624e 026251 branch send_lmp_request 
+:      026256 send_lmp_comb_key:
+0x624f 026257 call generate_random_number 
+0x6250 026258 arg mem_lap ,rega 
+0x6251 026259 call generate_linkkey 
+0x6252 026260 force 17 ,pdata 
+0x6253 026261 call msg_send_lmp 
+0x6254 026262 arg mem_kinit ,rega 
+0x6255 026263 arg mem_random_number ,regb 
+0x6256 026264 call xor16 
+0x6257 026265 nbranch send_lmp_follow ,master 
+0x6258 026266 branch send_lmp_tid 
+:      026268 send_lmp_inrand:
+0x6259 026269 call generate_random_number 
+0x625a 026270 arg mem_plap ,rega 
+0x625b 026271 call generate_kinit 
+:      026272 send_lmp_rand:
+0x625c 026273 force 17 ,pdata 
+0x625d 026274 call msg_send_lmp 
+0x625e 026275 arg mem_random_number ,contr 
+0x625f 026276 call memcpy16 
+0x6260 026277 fetch 1 ,mem_conn_sm 
+0x6261 026278 beq conn_sm_auth_wait ,send_lmp_request 
+0x6262 026279 beq conn_sm_pairing_wait ,send_lmp_request 
+0x6263 026280 branch send_lmp_tid 
+:      026282 send_lmp_aurand:
+0x6264 026283 fetch 1 ,mem_pairing_auth 
+0x6265 026284 branch send_lmp_aurand_notpairing ,blank 
+0x6266 026285 call check_localsm 
+0x6267 026286 call tid_initiate ,true 
+0x6268 026287 ncall tid_reply ,true 
+0x6269 026288 branch send_lmp_aurand_common 
+:      026289 send_lmp_aurand_notpairing:
+0x626a 026290 call tid_initiate 
+:      026291 send_lmp_aurand_common:
+0x626b 026292 call generate_random_number 
+0x626c 026293 branch send_lmp_rand 
+:      026295 send_lmp_sres:
+0x626d 026296 arg mem_lap ,rega 
+0x626e 026297 call function_e1 
+0x626f 026298 force 5 ,pdata 
+0x6270 026299 call msg_send_lmp 
+0x6271 026300 fetch 4 ,mem_input_store 
+0x6272 026301 istore 4 ,contw 
+0x6273 026302 arg mem_sres_tid ,temp 
+0x6274 026303 call special_tid_store 
+0x6275 026304 call copy_aco 
+0x6276 026305 call check_localsm 
+0x6277 026306 branch send_lmp_sres_master ,true 
+0x6278 026307 jam done_encryp ,mem_wait_encryption 
+0x6279 026308 fetch 1 ,mem_pairing_auth 
+0x627a 026309 rtn blank 
+0x627b 026310 jam lmp_au_rand ,mem_lmo_opcode2 
+:      026311 send_lmp_sres_master:
+0x627c 026312 fetch 1 ,mem_link_key_exists 
+0x627d 026313 rtn blank 
+:      026314 send_lmp_sres_startenc:
+0x627e 026315 call check_localsm 
+0x627f 026316 nbranch send_lmp_sres_startenc_slave ,true 
+0x6280 026317 fetch 1 ,mem_auth_enable 
+0x6281 026318 rtn blank 
+0x6282 026319 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x6283 026320 rtn 
+:      026321 send_lmp_sres_startenc_slave:
+0x6284 026322 rtnmark0 mark_slave_in_rand_accepted 
+0x6285 026323 set0 mark_slave_in_rand_accepted ,mark 
+0x6286 026324 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x6287 026325 rtn 
+:      026329 send_lmp_start_encryption:
+0x6288 026330 call generate_random_number 
+0x6289 026331 call function_e3 
+0x628a 026332 force 17 ,pdata 
+0x628b 026333 call msg_send_lmp 
+0x628c 026334 arg mem_random_number ,contr 
+0x628d 026335 call memcpy16 
+0x628e 026336 branch send_lmp_tid 
+:      026338 send_lmp_stop_encryption_req:
+0x628f 026339 force 1 ,pdata 
+0x6290 026340 call msg_send_lmp 
+0x6291 026341 branch send_lmp_tid 
+:      026343 send_lmp_encryption_key_size_req:
+0x6292 026344 force 2 ,pdata 
+0x6293 026345 call msg_send_lmp 
+0x6294 026346 force 16 ,pdata 
+0x6295 026347 istore 1 ,contw 
+0x6296 026348 store 1 ,mem_key_size 
+0x6297 026349 branch send_lmp_tid 
+:      026351 msg_send_lmp:
+0x6298 026353 lshift3 pdata ,pdata 
+0x6299 026354 or_into 0x07 ,pdata 
+0x629a 026355 store 1 ,mem_lmo_header_length 
+0x629b 026356 arg 17 ,loopcnt 
+0x629c 026357 arg mem_lmo_payload ,contw 
+0x629d 026358 call clear_mem 
+0x629e 026359 arg mem_lmo_payload ,contw 
+0x629f 026360 rtn 
+:      026362 send_lmpext:
+0x62a0 026363 and pdata ,0x7f ,rega 
+0x62a1 026364 jam lmp_escape ,mem_lmp_to_send 
+0x62a2 026365 deposit queue 
+0x62a3 026366 call msg_send_lmp 
+0x62a4 026367 deposit rega 
+0x62a5 026368 istore 1 ,contw 
+0x62a6 026369 rtn 
+:      026371 send_lmp_follow:
+0x62a7 026372 fetch 1 ,mem_lmp_to_send 
+0x62a8 026373 lshift pdata ,pdata 
+0x62a9 026374 fetcht 1 ,mem_state_map 
+0x62aa 026375 isolate1 smap_lmptid ,temp 
+0x62ab 026376 setflag true ,0 ,pdata 
+0x62ac 026377 branch send_lmp_exit 
+:      026380 send_lmp_tid:
+0x62ad 026381 fetcht 1 ,mem_state_map 
+0x62ae 026382 and_into 1 ,temp 
+0x62af 026383 branch send_lmp_end 
+:      026385 send_lmp_reply:
+0x62b0 026386 force 0 ,temp 
+0x62b1 026387 branch send_lmp_end 
+:      026389 send_lmp_request:
+0x62b2 026390 force 1 ,temp 
+:      026391 send_lmp_end:
+0x62b3 026392 fetch 1 ,mem_lmp_to_send 
+0x62b4 026393 lshift pdata ,pdata 
+0x62b5 026394 setflag master ,0 ,pdata 
+0x62b6 026395 ixor temp ,pdata 
+:      026396 send_lmp_exit:
+0x62b7 026397 store 1 ,mem_lmo_header_opcode 
+0x62b8 026398 jam 0 ,mem_lmp_to_send 
+0x62b9 026399 call lmo_fifo_process_lmo0empty 
+0x62ba 026400 enable user 
+0x62bb 026401 rtn 
+:      026404 lmo_fifo_check:
+0x62bc 026405 fetch 1 ,mem_lmo_opcode2 
+0x62bd 026406 rtn blank 
+0x62be 026407 call lmo_fifo_process 
+0x62bf 026408 fetch 1 ,mem_lmo_opcode2 
+0x62c0 026409 rtn 
+:      026411 lmo_fifo_process:
+0x62c1 026412 bpatchx patch30_6 ,mem_patch30 
+0x62c2 026413 fetch 1 ,mem_lmp_to_send 
+0x62c3 026414 branch lmo_fifo_process_lmo0empty ,blank 
+0x62c4 026415 fetch 1 ,mem_lmo_opcode1 
+0x62c5 026416 nrtn blank 
+0x62c6 026417 branch lmo_fifo_process_lmo2to1 
+:      026418 lmo_fifo_process_lmo0empty:
+0x62c7 026419 fetch 1 ,mem_lmo_opcode1 
+0x62c8 026420 branch lmo_fifo_process_lmo1_empty ,blank 
+0x62c9 026421 fetch 3 ,mem_lmo_opcode1 
+0x62ca 026422 store 3 ,mem_lmp_to_send 
+0x62cb 026423 fetcht 1 ,mem_lmo_tid1 
+0x62cc 026424 fetch 1 ,mem_state_map 
+0x62cd 026425 set0 smap_lmptid ,pdata 
+0x62ce 026426 ior temp ,pdata 
+0x62cf 026427 store 1 ,mem_state_map 
+0x62d0 026428 jam 0 ,mem_lmo_opcode1 
+:      026429 lmo_fifo_process_lmo2to1:
+0x62d1 026430 fetch 1 ,mem_lmo_opcode2 
+0x62d2 026431 rtn blank 
+0x62d3 026432 fetch 4 ,mem_lmo_opcode2 
+0x62d4 026433 store 4 ,mem_lmo_opcode1 
+0x62d5 026434 jam 0 ,mem_lmo_opcode2 
+0x62d6 026435 rtn 
+:      026436 lmo_fifo_process_lmo1_empty:
+0x62d7 026437 fetch 1 ,mem_lmo_opcode2 
+0x62d8 026438 rtn blank 
+0x62d9 026439 fetch 3 ,mem_lmo_opcode2 
+0x62da 026440 store 3 ,mem_lmp_to_send 
+0x62db 026441 fetcht 1 ,mem_lmo_tid2 
+0x62dc 026442 fetch 1 ,mem_state_map 
+0x62dd 026443 set0 smap_lmptid ,pdata 
+0x62de 026444 ior temp ,pdata 
+0x62df 026445 store 1 ,mem_state_map 
+0x62e0 026446 jam 0 ,mem_lmo_opcode2 
+0x62e1 026447 rtn 
+:      026450 special_tid_store:
+0x62e2 026451 bpatchx patch30_7 ,mem_patch30 
+0x62e3 026452 fetch 1 ,mem_state_map 
+0x62e4 026453 copy pdata ,regc 
+0x62e5 026454 ifetch 1 ,temp 
+0x62e6 026455 call pop_tid_follow 
+0x62e7 026456 call send_lmp_follow 
+0x62e8 026457 copy regc ,pdata 
+0x62e9 026458 store 1 ,mem_state_map 
+0x62ea 026459 rtn 
+:      026461 tid_reply:
+0x62eb 026462 fetcht 1 ,mem_state_map 
+0x62ec 026463 set0 smap_lmptidinit ,temp 
+0x62ed 026464 storet 1 ,mem_state_map 
+0x62ee 026465 rtn 
+:      026467 tid_initiate:
+0x62ef 026468 fetcht 1 ,mem_state_map 
+0x62f0 026469 set1 smap_lmptidinit ,temp 
+0x62f1 026470 storet 1 ,mem_state_map 
+0x62f2 026471 rtn 
+:      026474 tid_check:
+0x62f3 026475 nsetflag master ,smap_lmptid ,pdata 
+0x62f4 026476 fetcht 1 ,mem_state_map 
+0x62f5 026477 ixor temp ,pdata 
+0x62f6 026478 isolate1 smap_lmptid ,pdata 
+0x62f7 026479 rtn 
+:      026482 tid_set_reply:
+0x62f8 026483 fetch 1 ,mem_state_map 
+0x62f9 026484 setflag master ,smap_lmptid ,pdata 
+0x62fa 026485 store 1 ,mem_state_map 
+0x62fb 026486 rtn 
+:      026489 check_localsm:
+0x62fc 026490 fetch 1 ,mem_sp_localsm 
+0x62fd 026491 compare local_statemachine ,pdata ,0x7f 
+0x62fe 026492 rtn 
+:      026493 setlocalsm_master:
+0x62ff 026494 fetch 1 ,mem_sp_localsm 
+0x6300 026495 set1 7 ,pdata 
+0x6301 026496 store 1 ,mem_sp_localsm 
+0x6302 026497 rtn 
+:      026498 setlocalsm_slave:
+0x6303 026499 fetch 1 ,mem_sp_localsm 
+0x6304 026500 set0 7 ,pdata 
+0x6305 026501 store 1 ,mem_sp_localsm 
+0x6306 026502 rtn 
+:      026503 check_localsm_master:
+0x6307 026504 fetch 1 ,mem_sp_localsm 
+0x6308 026505 isolate1 7 ,pdata 
+0x6309 026506 store 1 ,mem_sp_localsm 
+0x630a 026507 rtn 
+:      026509 generate_random_number:
+0x630b 026511 arg mem_random_number ,contw 
+:      026512 generate_random:
+0x630c 026513 force 16 ,loopcnt 
+:      026514 generate_random_another:
+:      026515 generate_random_loop:
+0x630d 026516 random pdata 
+0x630e 026517 istore 1 ,contw 
+0x630f 026518 loop generate_random_another 
+0x6310 026519 rtn 
+:      026521 generate_linkkey:
+0x6311 026522 call function_e21 
+0x6312 026523 arg mem_link_key ,rega 
+0x6313 026524 arg mem_input_store ,regb 
+0x6314 026525 ifetch 8 ,rega 
+0x6315 026526 fetcht 1 ,mem_state 
+0x6316 026527 nsetflag blank ,state_combkey ,temp 
+0x6317 026528 storet 1 ,mem_state 
+0x6318 026529 copy rega ,contw 
+0x6319 026530 call xor16 
+0x631a 026531 branch generate_linkkey_continue 
+:      026537 process_conn_sm:
+0x631b 026539 bpatchx patch31_0 ,mem_patch31 
+0x631c 026541 call lmo_fifo_check 
+0x631d 026542 nrtn blank 
+:      026543 process_conn_sm_continue:
+0x631e 026544 fetch 1 ,mem_conn_sm 
+0x631f 026545 rtn blank 
+0x6320 026549 beq conn_sm_send_conn_req ,host_create_conn_send_conn_req 
+0x6321 026550 beq conn_sm_wait_conn_accept ,host_create_conn_wait_accept 
+0x6322 026551 beq conn_sm_send_features ,host_create_conn_send_features 
+0x6323 026552 beq conn_sm_wait_features_res ,host_create_conn_waiting 
+0x6324 026553 beq conn_sm_send_switch ,host_create_conn_send_switch 
+0x6325 026554 beq conn_sm_auth_pair ,host_create_conn_auth_pair 
+0x6326 026555 beq conn_sm_auth_pair_wait ,host_create_conn_auth_pair_wait 
+0x6327 026556 beq conn_sm_encrypt ,host_create_conn_encrypt 
+0x6328 026557 beq conn_sm_encrypt_wait ,host_create_conn_encrypt_wait 
+0x6329 026558 beq conn_sm_encrypt_wait_clear ,host_create_conn_encrypt_wait_clear 
+0x632a 026559 beq conn_sm_send_setup_complete ,host_create_conn_send_setup_complete 
+0x632b 026560 beq conn_sm_wait_setup_complete ,host_create_conn_wait_setup_complete 
+0x632c 026561 beq conn_sm_detach_delay ,host_create_conn_master_detach 
+0x632d 026562 beq conn_sm_send_version ,host_create_conn_send_version 
+0x632e 026563 beq conn_sm_wait_version ,host_create_conn_waiting 
+0x632f 026564 beq conn_sm_wait_switch_after_host_connection ,host_creat_conn_wait_switch 
+0x6330 026565 beq conn_sm_send_features_ext ,host_creat_conn_send_feat_ext 
+0x6331 026566 beq conn_sm_wait_features_ext ,host_create_conn_waiting 
+0x6332 026567 beq conn_sm_pairing ,host_create_conn_pairing 
+0x6333 026568 beq conn_sm_pairing_wait ,host_create_conn_pairing_wait 
+0x6334 026569 beq conn_sm_auth ,host_create_conn_auth 
+0x6335 026570 beq conn_sm_auth_wait ,host_create_conn_auth_wait 
+0x6336 026571 beq conn_sm_done ,host_create_conn_done 
+0x6337 026572 beq conn_sm_wait_done ,host_create_conn_done_wait 
+0x6338 026573 jam conn_sm_standby ,mem_conn_sm 
+0x6339 026575 rtn 
+:      026576 host_create_conn_done:
+0x633a 026577 fetch 1 ,mem_lmp_conn_state 
+0x633b 026578 rtnbit0 received_setup_complete 
+0x633c 026579 rtnbit0 sent_setup_complete 
+0x633d 026580 jam conn_sm_standby ,mem_conn_sm 
+0x633e 026581 call host_conn_judge_encrypt 
+0x633f 026582 branch scheduler_start_upper_sm 
+:      026584 host_conn_judge_encrypt:
+0x6340 026585 fetch 1 ,mem_connection_options 
+0x6341 026586 rtnbit0 connection_encrypt 
+0x6342 026587 jam conn_sm_encrypt_wait ,mem_conn_sm 
+0x6343 026588 rtn 
+:      026590 host_create_conn_done_wait:
+0x6344 026591 arg enpt_delay_timer ,queue 
+0x6345 026592 call timer_check 
+0x6346 026593 nrtn blank 
+0x6347 026594 jam conn_sm_done ,mem_conn_sm 
+0x6348 026595 rtn 
+:      026597 host_create_conn_auth:
+0x6349 026598 fetch 1 ,mem_connection_options 
+0x634a 026599 set0 connection_auth ,pdata 
+0x634b 026600 store 1 ,mem_connection_options 
+0x634c 026601 jam conn_sm_auth_wait ,mem_conn_sm 
+0x634d 026602 jam lmp_au_rand ,mem_lmo_opcode2 
+0x634e 026603 rtn 
+:      026604 host_create_conn_auth_wait:
+0x634f 026605 rtn 
+:      026606 host_create_conn_pairing:
+0x6350 026607 fetch 1 ,mem_pincode_state 
+0x6351 026608 rtnne pincode_state_pincode_ready 
+0x6352 026609 call host_auth 
+0x6353 026610 jam conn_sm_pairing_wait ,mem_conn_sm 
+0x6354 026611 rtn 
+:      026613 host_create_conn_pairing_wait:
+0x6355 026614 rtn 
+:      026615 host_creat_conn_send_feat_ext:
+0x6356 026616 jam conn_sm_wait_features_ext ,mem_conn_sm 
+0x6357 026617 jam lmp_ext_features_req ,mem_lmo_opcode2 
+0x6358 026618 rtn 
+:      026619 host_create_conn_send_version:
+0x6359 026620 jam conn_sm_wait_version ,mem_conn_sm 
+0x635a 026621 jam lmp_version_req ,mem_lmo_opcode2 
+0x635b 026622 rtn 
+:      026624 host_creat_conn_wait_switch:
+0x635c 026625 fetch 1 ,mem_switch_flag 
+0x635d 026626 rtneq switch_flag_init 
+0x635e 026627 beq switch_flag_accept ,host_create_conn_switch_accept 
+0x635f 026628 arg switch_wait_timer ,queue 
+0x6360 026629 call timer_check 
+0x6361 026630 nrtn blank 
+0x6362 026631 jam switch_flag_init ,mem_switch_flag 
+0x6363 026632 branch host_create_conn_switch 
+:      026633 host_create_conn_switch_accept:
+0x6364 026634 rtn master 
+0x6365 026635 branch host_create_conn_auth_pair 
+:      026637 host_create_conn_send_features:
+0x6366 026638 jam conn_sm_wait_features_res ,mem_conn_sm 
+0x6367 026639 jam lmp_features_req ,mem_lmo_opcode2 
+0x6368 026640 rtn 
+:      026641 host_create_conn_send_switch:
+0x6369 026642 jam lmp_switch_req ,mem_lmo_opcode2 
+0x636a 026643 set1 mark_switch_initiated ,mark 
+0x636b 026644 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+0x636c 026645 setarg 0x1ff 
+0x636d 026646 store 2 ,mem_soft_timer 
+0x636e 026647 rtn 
+:      026648 host_create_conn_send_conn_req:
+0x636f 026649 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+0x6370 026650 jam 0xff ,mem_soft_timer 
+0x6371 026651 set0 mark_reconn_recieve_switch ,mark 
+0x6372 026652 jam lmp_host_connection_req ,mem_lmo_opcode2 
+0x6373 026653 branch init_lmp_reinit 
+:      026654 host_create_conn_wait_accept:
+0x6374 026655 rtnmark1 mark_reconn_recieve_switch 
+0x6375 026656 fetch 2 ,mem_soft_timer 
+0x6376 026657 sub pdata ,1 ,pdata 
+0x6377 026658 branch host_create_conn_resend ,zero 
+0x6378 026659 store 2 ,mem_soft_timer 
+0x6379 026660 rtn 
+:      026661 host_create_conn_resend:
+0x637a 026662 jam conn_sm_send_switch ,mem_conn_sm 
+0x637b 026663 rtn 
+:      026664 host_create_conn_waiting:
+0x637c 026666 rtn 
+:      026668 host_create_conn_switch:
+0x637d 026669 fetch 1 ,mem_lmp_conn_state 
+0x637e 026670 rtnbit0 sent_setup_complete 
+0x637f 026671 rtnbit0 received_setup_complete 
+0x6380 026672 fetch 1 ,mem_connection_options 
+0x6381 026673 set0 connection_switch ,pdata 
+0x6382 026674 store 1 ,mem_connection_options 
+0x6383 026675 jam lmp_switch_req ,mem_lmo_opcode2 
+0x6384 026676 jam conn_sm_wait_switch_after_host_connection ,mem_conn_sm 
+0x6385 026677 rtn 
+:      026679 host_create_conn_send_setup_complete:
+0x6386 026680 jam conn_sm_wait_setup_complete ,mem_conn_sm 
+0x6387 026681 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x6388 026682 rtn 
+:      026684 host_create_conn_wait_setup_complete:
+0x6389 026685 fetch 1 ,mem_lmp_conn_state 
+0x638a 026686 rtnbit0 received_setup_complete 
+0x638b 026687 jam conn_sm_standby ,mem_conn_sm 
+0x638c 026689 rtn 
+:      026690 host_create_conn_wait_setup_complete_rtn:
+0x638d 026691 jam conn_sm_auth_pair ,mem_conn_sm 
+0x638e 026692 rtn 
+:      026694 host_create_conn_master_detach:
+0x638f 026695 fetch 1 ,mem_soft_timer 
+0x6390 026696 increase -1 ,pdata 
+0x6391 026697 branch host_create_conn_send_detach ,blank 
+0x6392 026698 store 1 ,mem_soft_timer 
+0x6393 026699 rtn 
+:      026700 host_create_conn_send_detach:
+0x6394 026701 jam lmp_detach ,mem_lmo_opcode2 
+0x6395 026702 jam local_host ,mem_disconn_reason_send 
+0x6396 026703 jam 0 ,mem_conn_sm 
+0x6397 026704 rtn 
+:      026705 host_create_conn_auth_pair:
+0x6398 026707 fetch 1 ,mem_connection_options 
+0x6399 026708 bbit1 connection_switch ,host_create_conn_switch 
+0x639a 026709 bbit1 connection_auth ,host_create_conn_auth_pair_true 
+:      026710 host_create_conn_sm_done:
+0x639b 026711 jam conn_sm_done ,mem_conn_sm 
+0x639c 026712 rtn 
+:      026713 host_create_conn_auth_pair_true:
+0x639d 026714 fetch 1 ,mem_link_key_exists 
+0x639e 026715 branch host_create_conn_auth_pair_nokey ,blank 
+0x639f 026716 fetch 1 ,mem_lmp_conn_state 
+0x63a0 026717 rtnbit0 sent_setup_complete 
+0x63a1 026718 rtnbit0 received_setup_complete 
+0x63a2 026719 fetch 4 ,mem_aurand_send_delay_time 
+0x63a3 026720 arg 100 ,temp 
+0x63a4 026721 iadd temp ,temp 
+0x63a5 026722 copy clkn_bt ,pdata 
+0x63a6 026723 isub temp ,null 
+0x63a7 026724 nrtn positive 
+0x63a8 026725 branch host_create_conn_auth 
+:      026729 host_create_conn_auth_pair_nokey:
+0x63a9 026730 jam conn_sm_pairing ,mem_conn_sm 
+0x63aa 026731 jam 4 ,mem_pin_length 
+0x63ab 026732 setarg 0x3030 
+0x63ac 026733 store 2 ,mem_pin 
+0x63ad 026734 istore 2 ,contw 
+0x63ae 026735 jam pincode_state_pincode_ready ,mem_pincode_state 
+0x63af 026736 branch host_create_conn_pairing 
+:      026738 host_create_conn_auth_pair_wait:
+0x63b0 026739 rtn 
+:      026740 host_create_conn_encrypt:
+0x63b1 026741 fetch 1 ,mem_connection_options 
+0x63b2 026742 bbit1 connection_encrypt ,host_create_conn_encrypt_start 
+0x63b3 026743 jam conn_sm_done ,mem_conn_sm 
+0x63b4 026744 rtn 
+:      026746 host_create_conn_encrypt_start:
+0x63b5 026747 fetch 1 ,mem_connection_options 
+0x63b6 026748 set0 connection_encrypt ,pdata 
+0x63b7 026749 store 1 ,mem_connection_options 
+0x63b8 026750 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x63b9 026751 rtn 
+:      026753 host_create_conn_encrypt_wait:
+0x63ba 026754 fetch 1 ,mem_wait_encryption 
+0x63bb 026755 rtn blank 
+0x63bc 026756 jam conn_sm_standby ,mem_conn_sm 
+0x63bd 026757 branch host_create_conn_encrypt_start 
+:      026759 host_create_conn_encrypt_wait_clear:
+0x63be 026760 jam conn_sm_send_setup_complete ,mem_conn_sm 
+0x63bf 026761 rtn 
+:      026763 host_auth:
+0x63c0 026764 fetch 1 ,mem_op 
+0x63c1 026765 bbit1 op_inrand_req ,remote_auth 
+0x63c2 026766 call tid_initiate 
+0x63c3 026767 jam lmp_in_rand ,mem_lmo_opcode2 
+0x63c4 026768 branch cmd_exit 
+:      026769 remote_auth:
+0x63c5 026770 fetch 1 ,mem_op 
+0x63c6 026771 set0 op_inrand_req ,pdata 
+0x63c7 026772 store 1 ,mem_op 
+0x63c8 026773 call lmp_accept_inrand 
+0x63c9 026774 call tid_set_reply 
+0x63ca 026775 branch cmd_exit 
+:      026777 pincode_reinit:
+0x63cb 026778 setarg 4 
+0x63cc 026779 store 1 ,mem_pin_length 
+0x63cd 026780 setarg 0x3030 
+0x63ce 026781 istore 2 ,contw 
+0x63cf 026782 istore 2 ,contw 
+0x63d0 026783 rtn 
+:      026789 twspi_reset:
+0x63d1 026790 bpatchx patch31_4 ,mem_patch31 
+0x63d2 026791 hfetch 1 ,core_gpio_oe3 
+0x63d3 026792 arg 0x06 ,temp 
+0x63d4 026793 ior temp ,pdata 
+0x63d5 026794 hstore 1 ,core_gpio_oe3 
+0x63d6 026795 hfetch 1 ,core_gpio_out3 
+0x63d7 026796 ior temp ,pdata 
+0x63d8 026797 hstore 1 ,core_gpio_out3 
+0x63d9 026798 call twspi_disable 
+0x63da 026799 hfetch 1 ,core_gpio_out3 
+0x63db 026800 set0 1 ,pdata 
+0x63dc 026801 set0 2 ,pdata 
+0x63dd 026802 hstore 1 ,core_gpio_out3 
+0x63de 026803 nop 30 
+0x63df 026804 branch twspi_enable 
+:      026806 twspi_reset2:
+0x63e0 026807 hfetch 1 ,core_gpio_oe3 
+0x63e1 026808 arg 0xc0 ,temp 
+0x63e2 026809 ior temp ,pdata 
+0x63e3 026810 hstore 1 ,core_gpio_oe3 
+0x63e4 026811 hfetch 1 ,core_gpio_out3 
+0x63e5 026812 ior temp ,pdata 
+0x63e6 026813 hstore 1 ,core_gpio_out3 
+0x63e7 026814 call twspi_disable 
+0x63e8 026815 hfetch 1 ,core_gpio_out3 
+0x63e9 026816 set0 6 ,pdata 
+0x63ea 026817 set0 7 ,pdata 
+0x63eb 026818 hstore 1 ,core_gpio_out3 
+0x63ec 026819 nop 30 
+0x63ed 026820 branch twspi_enable2 
+:      026822 twspi_disable:
+0x63ee 026823 hfetch 1 ,core_gpio_sel1 
+0x63ef 026824 and pdata ,0xfc ,pdata 
+0x63f0 026825 hstore 1 ,core_gpio_sel1 
+0x63f1 026826 rtn 
+:      026827 twspi_enable:
+0x63f2 026828 hfetch 1 ,core_gpio_sel1 
+0x63f3 026829 or pdata ,0x01 ,pdata 
+0x63f4 026830 hstore 1 ,core_gpio_sel1 
+0x63f5 026831 rtn 
+:      026832 twspi_enable2:
+0x63f6 026833 hfetch 1 ,core_gpio_sel1 
+0x63f7 026834 or pdata ,0x03 ,pdata 
+0x63f8 026835 set0 4 ,pdata 
+0x63f9 026836 hstore 1 ,core_gpio_sel1 
+0x63fa 026837 rtn 
+:      026841 sensor_read:
+0x63fb 026842 copy pdata ,regb 
+0x63fc 026843 call spi_ncs_enable 
+0x63fd 026844 nop 100 
+0x63fe 026845 copy regb ,pdata 
+0x63ff 026846 call twspi_read 
+0x6400 026847 copy pdata ,regb 
+0x6401 026848 call spi_ncs_disable 
+0x6402 026849 nop 100 
+0x6403 026850 copy regb ,pdata 
+0x6404 026851 rtn 
+:      026853 sensor_write:
+0x6405 026854 copy pdata ,regb 
+0x6406 026855 call spi_ncs_enable 
+0x6407 026856 nop 100 
+0x6408 026857 copy regb ,pdata 
+0x6409 026858 call twspi_write 
+0x640a 026859 call spi_ncs_disable 
+0x640b 026860 nop 100 
+0x640c 026861 rtn 
+:      026864 spi_ncs_gpio_init:
+0x640d 026865 fetcht 1 ,mem_spi_ncs_gpio 
+0x640e 026866 branch gpio_config_output 
+:      026869 spi_ncs_enable:
+0x640f 026870 fetcht 1 ,mem_spi_ncs_gpio 
+0x6410 026871 branch gpio_out_active 
+:      026874 spi_ncs_disable:
+0x6411 026875 fetcht 1 ,mem_spi_ncs_gpio 
+0x6412 026876 branch gpio_out_inactive 
+:      026879 twspi_write:
+0x6413 026880 branch spid_write_reg 
+:      026882 twspi_read:
+0x6414 026883 branch spid_read_reg 
+:      026890 read_function_aes:
+0x6415 026891 nbranch read_function ,user 
+0x6416 026892 hfetch 1 ,core_gpio_key2 
+0x6417 026893 or_into 0x2 ,pdata 
+0x6418 026894 hstore 1 ,core_gpio_key2 
+:      026895 read_function:
+0x6419 026896 copy temp ,null 
+0x641a 026897 branch read_fuction_zero ,zero 
+0x641b 026898 copy regc ,pc 
+:      026899 read_fuction_zero:
+0x641c 026900 isolate0 0 ,null 
+0x641d 026901 branch set_ucode_status 
+:      026904 get_block_header:
+0x641e 026905 force 4 ,temp 
+:      026906 get_block_header0:
+0x641f 026907 arg mem_ucode_buf ,rega 
+0x6420 026908 hfetch 1 ,core_gpio_key2 
+0x6421 026909 and_into 0xfd ,pdata 
+0x6422 026910 hstore 1 ,core_gpio_key2 
+0x6423 026911 call read_function 
+0x6424 026912 arg 0x55aa ,rega 
+0x6425 026913 fetch 2 ,mem_ucode_buf 
+0x6426 026914 ifetcht 2 ,contr 
+0x6427 026915 isub rega ,null 
+0x6428 026916 rtn 
+:      026918 read_first_block:
+0x6429 026919 arg 2 ,temp 
+0x642a 026920 arg mem_ucode_ptr ,rega 
+0x642b 026921 call read_function 
+0x642c 026922 fetch 2 ,mem_ucode_ptr 
+0x642d 026923 store 2 ,mem_addr_mi 
+0x642e 026924 call get_iv ,user 
+0x642f 026925 rtn 
+:      026927 get_iv:
+0x6430 026928 arg 16 ,temp 
+0x6431 026929 arg mem_ucode_keybuf ,rega 
+0x6432 026930 hfetch 1 ,core_gpio_key2 
+0x6433 026931 and_into 0xfd ,pdata 
+0x6434 026932 hstore 1 ,core_gpio_key2 
+0x6435 026933 call read_function 
+0x6436 026934 arg mem_ucode_keybuf ,contr 
+0x6437 026935 arg 16 ,loopcnt 
+0x6438 026936 call aes_load_data 
+0x6439 026937 call aes_init 
+0x643a 026938 call aes_clear_data 
+0x643b 026939 branch do_aes_cbc 
+:      026941 load_storage:
+0x643c 026942 disable match 
+0x643d 026943 call get_block_header 
+0x643e 026944 nrtn zero 
+0x643f 026945 enable match 
+0x6440 026946 jam 0x80 ,core_ucode_ctrl 
+0x6441 026947 jam 0 ,core_ucode_hi 
+0x6442 026948 jam 0 ,core_ucode_low 
+0x6443 026949 arg core_ucode_data ,rega 
+0x6444 026950 call read_function_aes 
+0x6445 026951 jam 0x0 ,core_ucode_ctrl 
+:      026952 load_storage_loop:
+0x6446 026953 arg 6 ,temp 
+0x6447 026954 call get_block_header0 
+0x6448 026955 nrtn zero 
+0x6449 026956 ifetch 2 ,contr 
+0x644a 026957 iforce rega 
+0x644b 026958 call read_function 
+0x644c 026959 branch load_storage_loop 
+:      026963 reload_eeprom:
+0x644d 026964 call clean_mem 
+0x644e 026965 setarg 0x1000 
+0x644f 026966 store 2 ,mem_addr_mi 
+0x6450 026967 arg iicd_read_eep ,regc 
+0x6451 026968 arg 2 ,loopcnt 
+:      026969 reload_eeprom_loop:
+0x6452 026970 call get_block_header 
+0x6453 026971 nrtn zero 
+0x6454 026972 fetch 2 ,mem_addr_mi 
+0x6455 026973 byteswap pdata ,pdata 
+0x6456 026974 iadd temp ,pdata 
+0x6457 026975 byteswap pdata ,pdata 
+0x6458 026976 store 2 ,mem_addr_mi 
+0x6459 026977 loop reload_eeprom_loop 
+0x645a 026978 branch load_storage_loop 
+:      026980 loadcode:
+0x645b 026981 call clean_mem 
+0x645c 026982 disable user 
+0x645d 026983 call otp_enable_chgpump 
+0x645e 026984 setarg otp_ucode_flag 
+0x645f 026985 arg mem_otp_ucode_flag ,rega 
+0x6460 026986 arg 2 ,temp 
+0x6461 026987 call otpd_read_data 
+0x6462 026988 fetch 2 ,mem_otp_ucode_flag 
+0x6463 026989 bbit0 otp_uflag_aes ,loadcode_otp 
+0x6464 026990 jam 0x25 ,core_clkoff 
+0x6465 026991 setarg otp_ucode_aeskey 
+0x6466 026992 arg mem_ucode_keybuf ,rega 
+0x6467 026993 arg 16 ,temp 
+0x6468 026994 call otpd_read_data 
+0x6469 026995 jam lock_otp ,core_misc_ctrl 
+0x646a 026996 set1 mark_otp_encrypt ,mark 
+0x646b 026997 arg mem_ucode_keybuf ,contr 
+0x646c 026998 call load_key 
+0x646d 026999 enable user 
+:      027000 loadcode_otp:
+0x646e 027001 jam 0 ,mem_loadcode_times 
+:      027002 loadcode_otp_2:
+0x646f 027003 call loadcode_check_times 
+0x6470 027004 fetch 2 ,mem_otp_ucode_flag 
+0x6471 027005 byteswap pdata ,pdata 
+0x6472 027006 arg 0x7ff ,temp 
+0x6473 027007 iand temp ,pdata 
+0x6474 027008 branch loadcode_iic ,zero 
+0x6475 027009 call otp_set_addr 
+0x6476 027010 arg otpd_read_code ,regc 
+0x6477 027011 call get_iv ,user 
+0x6478 027012 call load_storage 
+0x6479 027013 fetch 1 ,mem_ucode_status 
+0x647a 027014 bbit0 0 ,loadcode_otp_2 
+:      027016 loadcode_iic:
+0x647b 027017 call otp_disable_chgpump 
+0x647c 027018 jam 0 ,mem_loadcode_times 
+:      027019 loadcode_iic_2:
+0x647d 027020 call loadcode_check_times 
+0x647e 027021 call clear_eeprom_size_2k 
+0x647f 027022 fetch 1 ,mem_otp_ucode_flag 
+0x6480 027023 bbit1 otp_uflag_skip_eep ,loadcode_spi 
+0x6481 027024 call loadcode_iic_by_eeprom 
+0x6482 027025 nbranch loadcode_iic_eeprom_2k ,match 
+0x6483 027026 fetch 1 ,mem_ucode_status 
+0x6484 027027 bbit0 0 ,loadcode_iic_2 
+0x6485 027028 branch loadcode_hci 
+:      027029 loadcode_iic_eeprom_2k:
+0x6486 027030 call set_eeprom_size_2k 
+0x6487 027031 fetch 1 ,mem_otp_ucode_flag 
+0x6488 027032 bbit1 otp_uflag_skip_eep ,loadcode_spi 
+0x6489 027033 call loadcode_iic_by_eeprom 
+0x648a 027034 nbranch loadcode_spi ,match 
+0x648b 027035 fetch 1 ,mem_ucode_status 
+0x648c 027036 bbit0 0 ,loadcode_iic_2 
+0x648d 027037 branch loadcode_hci 
+:      027039 loadcode_spi:
+0x648e 027040 jam 0 ,mem_loadcode_times 
+:      027041 loadcode_spi_2:
+0x648f 027042 call loadcode_check_times 
+0x6490 027043 fetch 1 ,mem_otp_ucode_flag 
+0x6491 027044 bbit1 otp_uflag_skip_flash ,loadcode_hci 
+0x6492 027045 setarg 0x0 
+0x6493 027046 store 3 ,mem_addr_hi 
+0x6494 027047 call spid_init_flash 
+0x6495 027048 arg spid_load_flash ,regc 
+0x6496 027049 call read_first_block 
+0x6497 027050 call load_storage 
+0x6498 027051 nbranch loadcode_hci ,match 
+0x6499 027052 fetch 1 ,mem_ucode_status 
+0x649a 027053 bbit0 0 ,loadcode_spi_2 
+:      027055 loadcode_hci:
+0x649b 027056 bmark1 mark_otp_encrypt ,loadcode_hci_enc 
+0x649c 027057 call clear_key_buf 
+:      027058 loadcode_hci_enc:
+0x649d 027059 fetch 1 ,mem_otp_ucode_flag 
+0x649e 027060 bbit0 otp_uflag_hci ,clear_key_buf 
+0x649f 027061 jam 0x21 ,core_clkoff 
+0x64a0 027062 call hci_init 
+:      027063 loadcode_hci_loop:
+0x64a1 027064 call hci_rx_packet 
+0x64a2 027065 branch loadcode_hci_loop 
+:      027067 clear_key_buf:
+0x64a3 027068 setarg 0 
+0x64a4 027069 store 8 ,mem_ucode_keybuf 
+0x64a5 027070 store 8 ,mem_ucode_keybuf + 8 
+0x64a6 027071 force regidx_key ,regext_index 
+0x64a7 027072 call aes_clear 
+0x64a8 027073 jam 0x21 ,core_clkoff 
+0x64a9 027074 rtn 
+:      027077 loadcode_iic_by_eeprom:
+0x64aa 027078 setarg 0x0 
+0x64ab 027079 store 2 ,mem_addr_mi 
+0x64ac 027080 arg iicd_read_eep ,regc 
+0x64ad 027081 call iicd_init_12m 
+0x64ae 027082 call read_first_block 
+0x64af 027083 branch load_storage 
+:      027086 loadcode_check_times:
+0x64b0 027087 fetch 1 ,mem_loadcode_times 
+0x64b1 027088 increase 1 ,pdata 
+0x64b2 027089 sub pdata ,3 ,null 
+0x64b3 027090 nbranch loadcode_error ,positive 
+0x64b4 027091 store 1 ,mem_loadcode_times 
+0x64b5 027092 rtn 
+:      027094 loadcode_error:
+0x64b6 027095 call clear_key_buf 
+0x64b7 027096 call ice_break 
+0x64b8 027097 rtn 
+:      027101 set_ucode_status:
+0x64b9 027102 fetch 1 ,mem_ucode_status 
+0x64ba 027103 lshift pdata ,pdata 
+0x64bb 027104 setflag true ,0 ,pdata 
+0x64bc 027105 isolate0 15 ,rega 
+0x64bd 027106 rtn true 
+0x64be 027107 store 1 ,mem_ucode_status 
+0x64bf 027108 rtn 
+:      027111 decrypt_code:
+0x64c0 027112 hfetch 1 ,core_gpio_key2 
+0x64c1 027113 rtnbit0 1 
+0x64c2 027114 branch decrypt_code_skip 
+:      027115 decrypt_code_loop:
+0x64c3 027116 hfetch 1 ,core_dma_status 
+0x64c4 027117 qisolate1 pdata 
+0x64c5 027118 rtn true 
+:      027119 decrypt_code_skip:
+0x64c6 027120 hfetch 1 ,core_misc_status 
+0x64c7 027121 bbit0 1 ,decrypt_code_loop 
+0x64c8 027122 call do_aes_cbc 
+0x64c9 027123 branch decrypt_code_loop 
+:      027127 load_ucode:
+0x64ca 027128 fetch 2 ,mem_patch_ptr 
+0x64cb 027129 rtn blank 
+0x64cc 027130 jam 0x80 ,core_ucode_ctrl 
+0x64cd 027131 jam 0 ,core_ucode_hi 
+0x64ce 027132 jam 0 ,core_ucode_low 
+0x64cf 027133 fetcht 2 ,mem_patch_len 
+0x64d0 027134 lshift2 temp ,loopcnt 
+0x64d1 027135 iforce contr 
+:      027136 load_ucode_loop:
+0x64d2 027137 ifetch 1 ,contr 
+0x64d3 027138 hstore 1 ,core_ucode_data 
+0x64d4 027139 loop load_ucode_loop 
+0x64d5 027140 jam 0x0 ,core_ucode_ctrl 
+0x64d6 027141 rtn 
+:      027146 spid_init:
+0x64d7 027147 bpatchx patch31_5 ,mem_patch31 
+0x64d8 027148 call spid_init_common 
+0x64d9 027149 branch twspi_enable 
+:      027151 spid_init2:
+0x64da 027152 call spid_init_common 
+0x64db 027153 call twspi_disable 
+0x64dc 027154 branch twspi_enable2 
+:      027156 spid_init_common:
+0x64dd 027157 fetch 1 ,mem_spi_init_clk 
+0x64de 027158 hstore 1 ,core_spid_ctrl 
+0x64df 027159 fetch 1 ,mem_spi_init_delay_time 
+0x64e0 027160 hstore 1 ,core_spid_delay 
+0x64e1 027161 setarg mem_spid_tbuf 
+0x64e2 027162 hstore 2 ,core_spid_txaddr 
+0x64e3 027163 setarg mem_spid_rbuf 
+0x64e4 027164 hstore 2 ,core_spid_rxaddr 
+0x64e5 027165 branch twspi_disable 
+:      027167 spid_reset:
+0x64e6 027168 hfetch 1 ,core_spid_ctrl 
+0x64e7 027169 set1 7 ,pdata 
+0x64e8 027170 hstore 1 ,core_spid_ctrl 
+0x64e9 027171 set0 7 ,pdata 
+0x64ea 027172 hstore 1 ,core_spid_ctrl 
+0x64eb 027173 rtn 
+:      027177 spid_write_reg:
+0x64ec 027178 set1 7 ,pdata 
+0x64ed 027179 store 2 ,mem_spid_tbuf 
+0x64ee 027180 bpatchx patch31_6 ,mem_patch31 
+0x64ef 027181 jam 2 ,core_spid_txlen 
+0x64f0 027182 jam 0 ,core_spid_rxlen 
+0x64f1 027183 jam spid_start ,core_misc_ctrl 
+0x64f2 027184 branch wait_spid_done 
+:      027187 spid_read_reg:
+0x64f3 027188 force 1 ,temp 
+:      027190 spid_read_regs:
+0x64f4 027192 store 1 ,mem_spid_tbuf 
+0x64f5 027193 bpatchx patch31_7 ,mem_patch31 
+0x64f6 027194 jam 1 ,core_spid_txlen 
+0x64f7 027195 hstoret 2 ,core_spid_rxlen 
+0x64f8 027196 jam spid_start ,core_misc_ctrl 
+0x64f9 027197 call wait_spid_done 
+0x64fa 027198 fetch 1 ,mem_spid_rbuf 
+0x64fb 027199 rtn 
+:      027201 wait_spid_done:
+0x64fc 027202 fetch 2 ,mem_afh_error_total 
+0x64fd 027203 increase 1 ,pdata 
+0x64fe 027204 store 2 ,mem_afh_error_total 
+0x64ff 027205 hfetch 1 ,core_dma_status 
+0x6500 027206 bbit0 spid_done ,wait_spid_done 
+0x6501 027207 rtn 
+:      027209 spid_init_flash:
+0x6502 027210 jam 0x40 ,core_spid_ctrl 
+0x6503 027211 jam 0x0 ,core_spid_delay 
+0x6504 027212 hfetch 1 ,core_gpio_sel1 
+0x6505 027213 set0 0 ,pdata 
+0x6506 027214 set1 1 ,pdata 
+0x6507 027215 hstore 1 ,core_gpio_sel1 
+0x6508 027216 setarg 0 
+0x6509 027217 store 4 ,mem_spid_tbuf 
+0x650a 027218 rtn 
+:      027221 spid_unlock_flash:
+0x650b 027222 setarg 0 
+0x650c 027223 hstore 2 ,core_spid_rxlen 
+0x650d 027224 setarg 1 
+0x650e 027225 hstore 2 ,core_spid_txlen 
+0x650f 027226 setarg mem_spid_tbuf 
+0x6510 027227 hstore 2 ,core_spid_txaddr 
+0x6511 027228 jam 6 ,mem_spid_tbuf 
+0x6512 027229 jam spid_start ,core_misc_ctrl 
+0x6513 027230 branch wait_spid_done 
+:      027245 flash_write:
+0x6514 027246 disable user 
+0x6515 027247 copy pdata ,regb 
+0x6516 027248 fetch 1 ,mem_spi_write_flash_sm 
+0x6517 027249 rtnne flash_sm_no_buys 
+0x6518 027250 enable user 
+0x6519 027251 copy regb ,pdata 
+0x651a 027252 branch flash_write_start 
+:      027255 flash_write_spi_sm_timer:
+0x651b 027256 fetch 1 ,mem_spi_write_flash_sm 
+0x651c 027257 beq flash_sm_start ,flash_write_start 
+0x651d 027258 beq flash_sm_erase_sector ,flash_erase_sector 
+0x651e 027259 beq flash_sm_wait_erase_sector ,flash_wait_erase_sector 
+0x651f 027260 beq flash_sm_write_data ,flash_write_data 
+0x6520 027261 beq flash_sm_wait_write_data ,flash_wait_write_data 
+0x6521 027262 rtn 
+:      027264 flash_write_start:
+0x6522 027265 store 3 ,mem_spi_write_addr 
+0x6523 027266 copy rega ,pdata 
+0x6524 027267 store 2 ,mem_spi_write_ptr 
+0x6525 027268 storet 2 ,mem_spi_write_len 
+0x6526 027269 jam flash_sm_erase_sector ,mem_spi_write_flash_sm 
+0x6527 027270 branch spid_init_flash 
+:      027271 flash_erase_sector:
+0x6528 027272 call spid_init_flash 
+0x6529 027273 jam flash_sm_wait_erase_sector ,mem_spi_write_flash_sm 
+0x652a 027274 call spid_unlock_flash 
+0x652b 027275 arg mem_spid_tbuf ,rega 
+0x652c 027276 fetch 3 ,mem_spi_write_addr 
+0x652d 027277 jam 4 ,core_spid_txlen 
+0x652e 027278 arg flash_command_sector_erase ,temp 
+0x652f 027279 branch spid_write_flash_common 
+:      027281 flash_wait_erase_sector:
+0x6530 027282 call spid_init_flash 
+0x6531 027283 call spid_unlock_flash 
+0x6532 027284 setarg flash_read_satus 
+0x6533 027285 call spid_read_reg 
+0x6534 027286 rtnbit1 flash_status_wip 
+0x6535 027287 jam flash_sm_write_data ,mem_spi_write_flash_sm 
+0x6536 027288 rtn 
+:      027289 flash_write_data:
+0x6537 027290 call spid_init_flash 
+0x6538 027291 jam flash_sm_wait_write_data ,mem_spi_write_flash_sm 
+0x6539 027292 call spid_unlock_flash 
+0x653a 027293 call flash_data_preserve 
+0x653b 027294 call spid_write_flash 
+0x653c 027295 branch flash_data_recover 
+:      027296 flash_wait_write_data:
+0x653d 027297 call spid_init_flash 
+0x653e 027298 call spid_unlock_flash 
+0x653f 027299 setarg flash_read_satus 
+0x6540 027300 call spid_read_reg 
+0x6541 027301 rtnbit1 flash_status_wip 
+0x6542 027302 jam flash_sm_no_buys ,mem_spi_write_flash_sm 
+0x6543 027303 fetch 2 ,mem_cb_spi_flash_write_complate 
+0x6544 027304 branch callback_func 
+:      027305 flash_data_recover:
+0x6545 027306 fetch 4 ,mem_temp 
+0x6546 027307 fetcht 2 ,mem_spi_write_ptr 
+0x6547 027308 increase -4 ,temp 
+0x6548 027309 istore 4 ,temp 
+0x6549 027310 rtn 
+:      027311 flash_data_preserve:
+0x654a 027312 fetcht 2 ,mem_spi_write_ptr 
+0x654b 027313 copy temp ,rega 
+0x654c 027314 increase -4 ,temp 
+0x654d 027315 ifetch 4 ,temp 
+0x654e 027316 store 4 ,mem_temp 
+0x654f 027317 fetcht 2 ,mem_spi_write_len 
+0x6550 027318 fetch 3 ,mem_spi_write_addr 
+0x6551 027319 rtn 
+:      027323 spid_write_flash:
+0x6552 027324 increase 4 ,temp 
+0x6553 027325 hstoret 2 ,core_spid_txlen 
+0x6554 027326 arg flash_command_write_data ,temp 
+0x6555 027327 increase -4 ,rega 
+:      027328 spid_write_flash_common:
+0x6556 027330 istoret 1 ,rega 
+0x6557 027331 rshift16 pdata ,temp 
+0x6558 027332 istoret 1 ,contw 
+0x6559 027333 rshift8 pdata ,temp 
+0x655a 027334 istoret 1 ,contw 
+0x655b 027335 istore 1 ,contw 
+0x655c 027336 deposit rega 
+0x655d 027337 hstore 2 ,core_spid_txaddr 
+0x655e 027338 setarg 0 
+0x655f 027339 hstore 2 ,core_spid_rxlen 
+0x6560 027340 jam spid_start ,core_misc_ctrl 
+0x6561 027341 branch wait_spid_done 
+:      027345 spid_read_flash:
+0x6562 027346 hstoret 2 ,core_spid_rxlen 
+0x6563 027347 rshift16 pdata ,temp 
+0x6564 027348 storet 1 ,mem_addr_hi 
+0x6565 027349 rshift8 pdata ,temp 
+0x6566 027350 storet 1 ,mem_addr_mi 
+0x6567 027351 store 1 ,mem_addr_lo 
+0x6568 027352 setarg 4 
+0x6569 027353 hstore 2 ,core_spid_txlen 
+0x656a 027354 jam flash_command_read_data ,mem_spid_tbuf 
+0x656b 027355 setarg mem_spid_tbuf 
+0x656c 027356 hstore 2 ,core_spid_txaddr 
+0x656d 027357 deposit rega 
+0x656e 027358 hstore 2 ,core_spid_rxaddr 
+0x656f 027359 hfetch 1 ,core_spid_ctrl 
+0x6570 027360 isolate0 15 ,rega 
+0x6571 027361 setflag true ,6 ,pdata 
+0x6572 027362 hstore 1 ,core_spid_ctrl 
+0x6573 027363 jam spid_start ,core_misc_ctrl 
+:      027364 spi_read_flash_wait:
+0x6574 027365 hfetch 1 ,core_dma_status 
+0x6575 027366 bbit1 7 ,spi_read_flash_wait 
+0x6576 027367 arg spid_done ,queue 
+0x6577 027368 branch wait_spid_done 
+:      027372 spid_load_flash:
+0x6578 027373 hstoret 2 ,core_spid_rxlen 
+0x6579 027374 setarg 4 
+0x657a 027375 hstore 2 ,core_spid_txlen 
+0x657b 027376 jam 3 ,mem_spid_tbuf 
+0x657c 027377 setarg mem_spid_tbuf 
+0x657d 027378 hstore 2 ,core_spid_txaddr 
+0x657e 027379 deposit rega 
+0x657f 027380 hstore 2 ,core_spid_rxaddr 
+0x6580 027381 hfetch 1 ,core_spid_ctrl 
+0x6581 027382 isolate0 15 ,rega 
+0x6582 027383 setflag true ,6 ,pdata 
+0x6583 027384 hstore 1 ,core_spid_ctrl 
+0x6584 027385 jam spid_start ,core_misc_ctrl 
+:      027386 spi_load_flash_wait:
+0x6585 027387 hfetch 1 ,core_dma_status 
+0x6586 027388 bbit1 7 ,spi_load_flash_wait 
+0x6587 027389 arg spid_done ,queue 
+0x6588 027390 call decrypt_code 
+0x6589 027391 call wait_spid_done 
+0x658a 027392 isolate1 spid_crcok ,pdata 
+0x658b 027393 call set_ucode_status 
+0x658c 027394 fetch 1 ,mem_addr_hi 
+0x658d 027395 lshift16 pdata ,regb 
+0x658e 027396 fetch 1 ,mem_addr_mi 
+0x658f 027397 lshift8 pdata ,pdata 
+0x6590 027398 ior regb ,regb 
+0x6591 027399 fetch 1 ,mem_addr_lo 
+0x6592 027400 ior regb ,pdata 
+0x6593 027401 iadd temp ,pdata 
+0x6594 027402 store 1 ,mem_addr_lo 
+0x6595 027403 rshift8 pdata ,pdata 
+0x6596 027404 store 1 ,mem_addr_mi 
+0x6597 027405 rshift8 pdata ,pdata 
+0x6598 027406 store 1 ,mem_addr_hi 
+0x6599 027407 rtn 
+:      027412 soft_reset_chip:
+0x659a 027413 jam 1 ,core_reset 
+0x659b 027414 rtn 
+:      027420 iic_init_390k:
+0x659c 027421 jam 12 ,core_iicd_scl_low 
+0x659d 027422 jam 13 ,core_iicd_scl_high 
+0x659e 027423 jam 13 ,core_iicd_start_setup 
+0x659f 027424 jam 13 ,core_iicd_start_hold 
+0x65a0 027425 jam 13 ,core_iicd_stop_setup 
+0x65a1 027426 jam 12 ,core_iicd_data_setup 
+0x65a2 027427 branch iicd_init_gpio 
+:      027430 iicd_init_12m:
+0x65a3 027431 jam 5 ,core_iicd_scl_low 
+0x65a4 027432 jam 7 ,core_iicd_scl_high 
+0x65a5 027433 jam 7 ,core_iicd_start_setup 
+0x65a6 027434 jam 7 ,core_iicd_start_hold 
+0x65a7 027435 jam 7 ,core_iicd_stop_setup 
+0x65a8 027436 jam 5 ,core_iicd_data_setup 
+:      027437 iicd_init_gpio:
+0x65a9 027438 hfetch 1 ,core_gpio_pu3 
+0x65aa 027439 or_into 0xc0 ,pdata 
+0x65ab 027440 hstore 1 ,core_gpio_pu3 
+0x65ac 027441 hfetch 1 ,core_gpio_sel1 
+0x65ad 027442 or_into 0x10 ,pdata 
+0x65ae 027443 hstore 1 ,core_gpio_sel1 
+0x65af 027444 rtn 
+:      027448 wait_iicd_done:
+0x65b0 027449 hfetch 1 ,core_dma_status 
+0x65b1 027450 bbit0 iicd_done ,wait_iicd_done 
+0x65b2 027451 rtn 
+:      027459 iicd_read_data:
+0x65b3 027460 hstore 2 ,core_iicd_txlen 
+0x65b4 027461 deposit rega 
+0x65b5 027462 hstore 2 ,core_iicd_txaddr 
+0x65b6 027463 deposit regb 
+0x65b7 027464 hstore 2 ,core_iicd_rxaddr 
+0x65b8 027465 deposit temp 
+0x65b9 027466 hstore 2 ,core_iicd_rxlen 
+0x65ba 027467 arg 1 ,temp 
+0x65bb 027468 nsetflag blank ,1 ,temp 
+0x65bc 027469 hstore 1 ,core_iicd_ctrl 
+0x65bd 027470 jam iicd_start ,core_misc_ctrl 
+0x65be 027471 branch wait_iicd_done 
+:      027474 set_eeprom_size_2k:
+0x65bf 027475 set1 mark_eeprom_size ,mark 
+0x65c0 027476 jam 0x08 ,mem_eeprom_block_size 
+0x65c1 027477 rtn 
+:      027479 clear_eeprom_size_2k:
+0x65c2 027480 set0 mark_eeprom_size ,mark 
+0x65c3 027481 jam 0x20 ,mem_eeprom_block_size 
+0x65c4 027482 rtn 
+:      027485 iicd_read_eep_data_size_2k:
+0x65c5 027486 fetch 1 ,mem_eeprom_base 
+0x65c6 027487 iadd regb ,pdata 
+0x65c7 027488 store 1 ,mem_addr_mi 
+0x65c8 027489 branch iicd_read_eep_size_2k 
+:      027491 iicd_read_eep_size_2k_lcadcode:
+0x65c9 027492 fetch 2 ,mem_addr_mi 
+0x65ca 027493 byteswap pdata ,pdata 
+0x65cb 027494 store 1 ,mem_addr_mi 
+:      027499 iicd_read_eep_size_2k:
+0x65cc 027500 setarg 3 
+0x65cd 027501 hstore 2 ,core_iicd_txlen 
+0x65ce 027502 jam 0xa0 ,mem_iicd_tbuf 
+0x65cf 027503 jam 0xa1 ,mem_iicd_tbuf + 2 
+0x65d0 027504 branch iicd_read_eep_common 
+:      027510 iicd_write_protect_eep_data:
+0x65d1 027511 storet 2 ,mem_temp 
+0x65d2 027512 call iicd_eeprom_write_enable 
+0x65d3 027513 fetcht 2 ,mem_temp 
+0x65d4 027514 call iicd_write_eep_data 
+0x65d5 027515 branch iicd_eeprom_write_disable 
+:      027517 iicd_eeprom_write_enable:
+0x65d6 027518 fetch 1 ,mem_eeprom_wp_gpio 
+0x65d7 027519 rtneq gpio_disable 
+0x65d8 027520 bbit0 6 ,iicd_wp_gpio_output_low 
+0x65d9 027521 setarg 150000 
+0x65da 027522 call sleep 
+:      027523 iicd_wp_gpio_output_low:
+0x65db 027524 fetcht 1 ,mem_eeprom_wp_gpio 
+0x65dc 027525 branch gpio_out_active 
+:      027527 iicd_eeprom_write_disable:
+0x65dd 027528 fetcht 1 ,mem_eeprom_wp_gpio 
+0x65de 027529 branch gpio_out_inactive 
+:      027534 iicd_read_eep_data:
+0x65df 027535 bpatchx patch32_0 ,mem_patch32 
+0x65e0 027536 bmark1 mark_eeprom_size ,iicd_read_eep_data_size_2k 
+0x65e1 027537 fetch 2 ,mem_eeprom_base 
+0x65e2 027538 iadd regb ,pdata 
+0x65e3 027539 byteswap pdata ,pdata 
+0x65e4 027540 store 2 ,mem_addr_mi 
+:      027543 iicd_read_eep:
+0x65e5 027544 bpatchx patch32_1 ,mem_patch32 
+0x65e6 027545 bmark1 mark_eeprom_size ,iicd_read_eep_size_2k_lcadcode 
+0x65e7 027546 setarg 4 
+0x65e8 027547 hstore 2 ,core_iicd_txlen 
+0x65e9 027548 jam 0xa0 ,mem_iicd_tbuf 
+0x65ea 027549 jam 0xa1 ,mem_iicd_tbuf + 3 
+:      027550 iicd_read_eep_common:
+0x65eb 027551 setarg mem_iicd_tbuf 
+0x65ec 027552 hstore 2 ,core_iicd_txaddr 
+0x65ed 027553 hstoret 2 ,core_iicd_rxlen 
+0x65ee 027554 deposit rega 
+0x65ef 027555 hstore 2 ,core_iicd_rxaddr 
+0x65f0 027556 setarg 2 
+0x65f1 027557 isolate0 15 ,rega 
+0x65f2 027558 setflag true ,0 ,pdata 
+0x65f3 027559 hstore 1 ,core_iicd_ctrl 
+0x65f4 027560 jam iicd_start ,core_misc_ctrl 
+0x65f5 027561 arg iicd_done ,queue 
+0x65f6 027562 call decrypt_code 
+0x65f7 027563 call wait_iicd_done 
+0x65f8 027564 isolate1 iicd_crcok ,pdata 
+0x65f9 027565 call set_ucode_status 
+0x65fa 027566 bmark1 mark_eeprom_size ,iicd_read_eep_load_code_size_2k 
+0x65fb 027567 fetch 2 ,mem_addr_mi 
+0x65fc 027568 byteswap pdata ,pdata 
+0x65fd 027569 iadd temp ,pdata 
+0x65fe 027570 byteswap pdata ,pdata 
+0x65ff 027571 store 2 ,mem_addr_mi 
+0x6600 027572 rtn 
+:      027574 iicd_read_eep_load_code_size_2k:
+0x6601 027575 fetch 1 ,mem_addr_mi 
+0x6602 027576 iadd temp ,pdata 
+0x6603 027577 byteswap pdata ,pdata 
+0x6604 027578 store 2 ,mem_addr_mi 
+0x6605 027579 rtn 
+:      027585 iicd_write_eep_data:
+0x6606 027586 fetch 2 ,mem_eeprom_base 
+0x6607 027587 iadd regb ,pdata 
+:      027590 iicd_write_ota_data:
+0x6608 027591 store 2 ,mem_pdatatemp 
+0x6609 027592 bpatchx patch32_2 ,mem_patch32 
+0x660a 027593 storet 2 ,mem_temp 
+0x660b 027594 copy rega ,pdata 
+0x660c 027595 store 2 ,mem_contr 
+:      027596 iicd_write_eep_loop:
+0x660d 027597 call iicd_eep_transparency 
+0x660e 027599 fetcht 2 ,mem_regb 
+0x660f 027600 fetch 2 ,mem_contr 
+0x6610 027601 copy pdata ,rega 
+0x6611 027602 fetch 2 ,mem_pdatatemp 
+0x6612 027604 call iicd_write_eep 
+0x6613 027606 fetch 2 ,mem_regb 
+0x6614 027607 fetcht 2 ,mem_contr 
+0x6615 027608 iadd temp ,temp 
+0x6616 027609 storet 2 ,mem_contr 
+0x6617 027610 fetcht 2 ,mem_pdatatemp 
+0x6618 027611 iadd temp ,temp 
+0x6619 027612 storet 2 ,mem_pdatatemp 
+0x661a 027613 fetch 2 ,mem_temp 
+0x661b 027614 nbranch iicd_write_eep_loop ,blank 
+0x661c 027615 rtn 
+:      027623 iicd_eep_transparency:
+0x661d 027624 bpatchx patch32_3 ,mem_patch32 
+0x661e 027625 fetch 1 ,mem_eeprom_block_size 
+0x661f 027626 increase -1 ,pdata 
+0x6620 027627 fetcht 2 ,mem_pdatatemp 
+0x6621 027628 ior temp ,pdata 
+0x6622 027629 increase 1 ,pdata 
+0x6623 027630 store 3 ,mem_regc 
+0x6624 027632 fetch 2 ,mem_temp 
+0x6625 027633 iadd temp ,pdata 
+0x6626 027635 fetcht 3 ,mem_regc 
+0x6627 027636 isub temp ,pdata 
+0x6628 027637 nbranch iicd_eep_deal_short_packet ,positive 
+0x6629 027638 store 2 ,mem_temp 
+0x662a 027639 fetch 3 ,mem_regc 
+0x662b 027640 fetcht 2 ,mem_pdatatemp 
+0x662c 027641 isub temp ,pdata 
+0x662d 027642 store 2 ,mem_regb 
+0x662e 027643 rtn 
+:      027644 iicd_eep_deal_short_packet:
+0x662f 027645 fetch 2 ,mem_temp 
+0x6630 027646 store 2 ,mem_regb 
+0x6631 027647 setarg 0 
+0x6632 027648 store 2 ,mem_temp 
+0x6633 027649 rtn 
+:      027651 iicd_write_eep_size_2k:
+0x6634 027652 increase 2 ,temp 
+0x6635 027653 hstoret 2 ,core_iicd_txlen 
+0x6636 027654 increase -2 ,rega 
+0x6637 027655 ifetcht 3 ,rega 
+0x6638 027656 copy temp ,regb 
+0x6639 027657 arg 0xa0 ,temp 
+0x663a 027658 istoret 1 ,rega 
+0x663b 027660 istore 1 ,contw 
+0x663c 027661 branch iicd_write_eep_common 
+:      027664 iicd_write_eep:
+0x663d 027665 copy pdata ,regb 
+0x663e 027666 bpatchx patch32_4 ,mem_patch32 
+0x663f 027667 bmark1 mark_eeprom_size ,iicd_write_eep_size_2k 
+0x6640 027668 copy regb ,pdata 
+0x6641 027669 increase 3 ,temp 
+0x6642 027670 hstoret 2 ,core_iicd_txlen 
+0x6643 027671 increase -3 ,rega 
+0x6644 027672 ifetcht 3 ,rega 
+0x6645 027673 copy temp ,regb 
+0x6646 027674 arg 0xa0 ,temp 
+0x6647 027675 istoret 1 ,rega 
+0x6648 027676 byteswap pdata ,pdata 
+0x6649 027677 istore 2 ,contw 
+:      027678 iicd_write_eep_common:
+0x664a 027679 deposit rega 
+0x664b 027680 hstore 2 ,core_iicd_txaddr 
+0x664c 027681 setarg 0 
+0x664d 027682 hstore 2 ,core_iicd_rxlen 
+0x664e 027683 jam 1 ,core_iicd_ctrl 
+0x664f 027684 jam iicd_start ,core_misc_ctrl 
+0x6650 027685 call wait_iicd_done 
+0x6651 027686 copy regb ,pdata 
+0x6652 027687 istore 3 ,rega 
+:      027689 iic_check_eeprom_standby:
+0x6653 027690 bpatchx patch32_5 ,mem_patch32 
+0x6654 027691 jam 0 ,mem_iicd_tbuf + 3 
+:      027692 iic_check_eeprom_standby_wait:
+0x6655 027693 setarg 1 
+0x6656 027694 hstore 2 ,core_iicd_txlen 
+0x6657 027695 jam 0xa0 ,mem_iicd_tbuf 
+0x6658 027696 setarg mem_iicd_tbuf 
+0x6659 027697 hstore 2 ,core_iicd_txaddr 
+0x665a 027698 setarg 0 
+0x665b 027699 hstore 2 ,core_iicd_rxlen 
+0x665c 027700 hstore 2 ,core_iicd_rxaddr 
+0x665d 027701 setarg 3 
+0x665e 027702 hstore 1 ,core_iicd_ctrl 
+0x665f 027703 jam iicd_start ,core_misc_ctrl 
+0x6660 027704 call wait_iicd_done 
+0x6661 027705 hfetch 1 ,core_dma_status 
+0x6662 027706 rtnbit0 iicd_ack 
+0x6663 027707 nop 1500 
+0x6664 027708 fetch 1 ,mem_iicd_tbuf + 3 
+0x6665 027709 increase 1 ,pdata 
+0x6666 027710 store 1 ,mem_iicd_tbuf + 3 
+0x6667 027711 sub pdata ,40 ,null 
+0x6668 027712 nrtn positive 
+0x6669 027713 branch iic_check_eeprom_standby_wait 
+:      027717 otp_enable_chgpump:
+0x666a 027718 jam 0x70 ,rfen_chgpump 
+0x666b 027719 nop param_chgpump_delay 
+0x666c 027720 rtn 
+:      027722 otp_disable_chgpump:
+0x666d 027723 jam 0x30 ,rfen_chgpump 
+0x666e 027724 rtn 
+:      027726 otp_set_addr:
+0x666f 027727 lshift3 pdata ,pdata 
+0x6670 027728 hstore 2 ,core_otp_addr 
+0x6671 027729 jam 0 ,core_otpd_ctrl 
+0x6672 027730 rtn 
+:      027733 otp_write:
+0x6673 027734 call otp_set_addr 
+0x6674 027735 call otp_ce 
+:      027736 otp_program:
+0x6675 027737 ifetcht 1 ,rega 
+0x6676 027738 increase 1 ,rega 
+0x6677 027739 force 0 ,queue 
+:      027740 otp_program_bit:
+0x6678 027741 qisolate0 temp 
+0x6679 027742 branch otp_skip_0 ,true 
+0x667a 027743 hfetch 1 ,core_otp_din 
+0x667b 027744 set1 6 ,pdata 
+0x667c 027745 set1 7 ,pdata 
+0x667d 027746 hstore 1 ,core_otp_din 
+0x667e 027747 jam 0x02 ,core_otp_ctrl 
+0x667f 027748 jam 0x82 ,core_otp_ctrl 
+0x6680 027749 set0 7 ,pdata 
+0x6681 027750 hstore 1 ,core_otp_din 
+0x6682 027751 jam 0x8a ,core_otp_ctrl 
+0x6683 027752 nop 11 
+0x6684 027753 jam 0xca ,core_otp_ctrl 
+0x6685 027754 nop 33 
+0x6686 027755 jam 0x4a ,core_otp_ctrl 
+0x6687 027756 nop 44 
+0x6688 027757 jam 0xca ,core_otp_ctrl 
+0x6689 027758 nop 22 
+0x668a 027759 jam 0x8a ,core_otp_ctrl 
+0x668b 027760 nop 33 
+0x668c 027761 jam 0x82 ,core_otp_ctrl 
+0x668d 027762 nop 1 
+0x668e 027763 jam 0x92 ,core_otp_ctrl 
+0x668f 027764 nop 10 
+0x6690 027765 jam 0xb2 ,core_otp_ctrl 
+0x6691 027766 hfetch 1 ,core_otp_rdata 
+0x6692 027767 jam 0x92 ,core_otp_ctrl 
+0x6693 027768 nop 1 
+0x6694 027769 jam 0x82 ,core_otp_ctrl 
+0x6695 027770 qisolate0 pdata 
+0x6696 027771 branch otp_program_bit ,true 
+:      027772 otp_skip_0:
+0x6697 027773 hfetch 2 ,core_otp_addr 
+0x6698 027774 increase 1 ,pdata 
+0x6699 027775 hstore 2 ,core_otp_addr 
+0x669a 027776 increase 1 ,queue 
+0x669b 027777 compare 8 ,queue ,0xf 
+0x669c 027778 nbranch otp_program_bit ,true 
+0x669d 027779 loop otp_program 
+0x669e 027780 jam 0x83 ,core_otp_ctrl 
+0x669f 027781 rtn 
+:      027783 otp_ce:
+0x66a0 027784 jam 0x82 ,core_otp_ctrl 
+0x66a1 027785 nop 12 
+0x66a2 027786 jam 0x80 ,core_otp_ctrl 
+0x66a3 027787 jam 0x82 ,core_otp_ctrl 
+0x66a4 027788 nop 150 
+0x66a5 027789 rtn 
+:      027792 otpd_read_init:
+0x66a6 027793 call otp_ce 
+0x66a7 027794 jam 0xa2 ,core_otp_ctrl 
+0x66a8 027795 deposit rega 
+0x66a9 027796 hstore 2 ,core_otpd_addr 
+0x66aa 027797 set1 11 ,temp 
+0x66ab 027798 isolate0 15 ,pdata 
+0x66ac 027799 setflag true ,15 ,temp 
+0x66ad 027800 hstoret 2 ,core_otpd_len 
+0x66ae 027801 jam otpd_start ,core_misc_ctrl 
+0x66af 027802 rtn 
+:      027804 otpd_wait_end:
+0x66b0 027805 hfetch 1 ,core_dma_status 
+0x66b1 027806 bbit0 otpd_done ,otpd_wait_end 
+0x66b2 027807 rtn 
+:      027810 otpd_read_data:
+0x66b3 027811 call otp_set_addr 
+0x66b4 027812 call otpd_read_init 
+0x66b5 027813 call otpd_wait_end 
+0x66b6 027814 jam 0x83 ,core_otp_ctrl 
+0x66b7 027815 rtn 
+:      027820 otpd_read_code:
+0x66b8 027821 hfetch 2 ,core_current_otp_addr 
+0x66b9 027822 hstore 2 ,core_otp_addr 
+0x66ba 027823 call otpd_read_init 
+0x66bb 027824 arg otpd_done ,queue 
+0x66bc 027825 call decrypt_code 
+0x66bd 027826 call otpd_wait_end 
+0x66be 027827 isolate1 otpd_crcok ,pdata 
+0x66bf 027828 call set_ucode_status 
+0x66c0 027829 jam 0x83 ,core_otp_ctrl 
+0x66c1 027830 rtn 
+:      027833 uartd_prepare_tx:
+0x66c2 027834 hfetch 2 ,core_uart_twptr 
+0x66c3 027835 iforce contwu 
+0x66c4 027836 rtn 
+:      027838 uartd_send:
+0x66c5 027839 deposit contwu 
+0x66c6 027840 hstore 2 ,core_uart_twptr 
+0x66c7 027841 rtn 
+:      027843 uartd_rxdone:
+0x66c8 027844 deposit contru 
+0x66c9 027845 hstore 2 ,core_uart_rrptr 
+0x66ca 027846 rtn 
+:      027848 uartd_prepare_rx:
+0x66cb 027849 hfetch 2 ,core_uart_rrptr 
+0x66cc 027850 copy pdata ,contru 
+0x66cd 027851 rtn 
+:      027853 uart_set_baud_by_mem:
+0x66ce 027854 fetch uart_baud_len ,mem_baud 
+0x66cf 027855 hstore uart_baud_len ,core_uart_baud 
+0x66d0 027856 rtn 
+:      027858 uart_copy_tx_bytes_fast:
+0x66d1 027859 deposit loopcnt 
+0x66d2 027860 rtn blank 
+:      027861 uart_copy_tx_bytes_fast_loop:
+0x66d3 027862 increase -8 ,loopcnt 
+0x66d4 027863 call uart_tx_8_bytes ,positive 
+0x66d5 027864 rtn zero 
+0x66d6 027865 branch uart_copy_tx_bytes_fast_loop ,positive 
+0x66d7 027866 increase 8 ,loopcnt 
+:      027867 uart_copy_tx_bytes_fast_loop_four:
+0x66d8 027868 increase -4 ,loopcnt 
+0x66d9 027869 call uart_tx_4_bytes ,positive 
+0x66da 027870 rtn zero 
+0x66db 027871 branch uart_copy_tx_bytes_fast_loop_four ,positive 
+0x66dc 027872 increase 4 ,loopcnt 
+0x66dd 027873 branch uart_copy_tx_bytes 
+:      027875 uart_tx_8_bytes:
+0x66de 027876 ifetch 8 ,contr 
+0x66df 027877 istore 8 ,contwu 
+0x66e0 027878 rtn 
+:      027880 uart_tx_4_bytes:
+0x66e1 027881 ifetch 4 ,contr 
+0x66e2 027882 istore 4 ,contwu 
+0x66e3 027883 rtn 
+:      027885 uart_copy_tx_bytes:
+0x66e4 027886 deposit loopcnt 
+0x66e5 027887 rtn blank 
+:      027888 uart_copy_tx_bytes_loop:
+0x66e6 027889 ifetch 1 ,contr 
+0x66e7 027890 istore 1 ,contwu 
+0x66e8 027891 loop uart_copy_tx_bytes_loop 
+0x66e9 027892 rtn 
+:      027894 uart_copy_rx_bytes_fast:
+0x66ea 027895 deposit loopcnt 
+0x66eb 027896 rtn blank 
+:      027897 uart_copy_rx_bytes_fast_loop:
+0x66ec 027898 increase -8 ,loopcnt 
+0x66ed 027899 call uart_rx_8_bytes ,positive 
+0x66ee 027900 rtn zero 
+0x66ef 027901 branch uart_copy_rx_bytes_fast_loop ,positive 
+0x66f0 027902 increase 8 ,loopcnt 
+:      027903 uart_copy_rx_bytes_fast_loop_four:
+0x66f1 027904 increase -4 ,loopcnt 
+0x66f2 027905 call uart_rx_4_bytes ,positive 
+0x66f3 027906 rtn zero 
+0x66f4 027907 branch uart_copy_rx_bytes_fast_loop_four ,positive 
+0x66f5 027908 increase 4 ,loopcnt 
+0x66f6 027909 branch uart_copy_rx_bytes 
+:      027911 uart_rx_8_bytes:
+0x66f7 027912 ifetch 8 ,contru 
+0x66f8 027913 istore 8 ,contw 
+0x66f9 027914 rtn 
+:      027916 uart_rx_4_bytes:
+0x66fa 027917 ifetch 4 ,contru 
+0x66fb 027918 istore 4 ,contw 
+0x66fc 027919 rtn 
+:      027922 uart_copy_rx_bytes:
+0x66fd 027923 deposit loopcnt 
+0x66fe 027924 rtn blank 
+:      027925 uart_copy_rx_bytes_loop:
+0x66ff 027926 ifetch 1 ,contru 
+0x6700 027927 istore 1 ,contw 
+0x6701 027928 loop uart_copy_rx_bytes_loop 
+0x6702 027929 rtn 
+:      027932 uart_copy_rx2tx:
+0x6703 027933 deposit loopcnt 
+0x6704 027934 rtn blank 
+:      027935 uart_copy_rx2tx_loop:
+0x6705 027936 ifetch 1 ,contru 
+0x6706 027937 istore 1 ,contwu 
+0x6707 027938 loop uart_copy_rx2tx_loop 
+0x6708 027939 rtn 
+:      027944 app_store_nvram_event:
+0x6709 027945 jam bt_evt_store_nvram ,mem_fifo_temp 
+0x670a 027946 branch ui_ipc_send_event 
+:      027948 check_51cmd_store_reconn_info:
+:      027949 check_51cmd_update_device_record:
+0x670b 027950 bpatchx patch32_6 ,mem_patch32 
+0x670c 027951 fetch 1 ,mem_nv_data_number 
+0x670d 027952 rtn blank 
+0x670e 027953 call check_nvram 
+0x670f 027954 call init_device_list ,zero 
+0x6710 027955 call nvram_find_addr_from_bd_list 
+:      027956 write_device_record:
+0x6711 027957 fetch 1 ,mem_nv_data_number 
+0x6712 027958 icopy regc 
+0x6713 027959 fetcht 2 ,mem_nv_data_ptr 
+0x6714 027960 storet 2 ,mem_list_item_ptr 
+:      027961 write_device_loop_find:
+0x6715 027962 copy regc ,pdata 
+0x6716 027963 branch app_store_nvram_event ,blank 
+0x6717 027964 increase -1 ,regc 
+0x6718 027965 copy temp ,rega 
+0x6719 027966 ifetch 1 ,rega 
+0x671a 027967 fetcht 1 ,mem_select_list_item 
+0x671b 027968 isub temp ,null 
+0x671c 027969 call set_index_finded_device ,zero 
+0x671d 027970 branch write_device_loop_find0 ,positive 
+0x671e 027971 ifetch 1 ,rega 
+0x671f 027972 increase 1 ,pdata 
+0x6720 027973 istore 1 ,rega 
+:      027974 write_device_loop_find0:
+0x6721 027975 fetcht 2 ,mem_list_item_ptr 
+0x6722 027976 increase nv_data_len ,temp 
+0x6723 027977 storet 2 ,mem_list_item_ptr 
+0x6724 027978 branch write_device_loop_find 
+:      027980 set_index_finded_device:
+0x6725 027981 setarg 0 
+0x6726 027982 istore 1 ,rega 
+0x6727 027983 fetch 1 ,mem_temp_reconn_record 
+0x6728 027984 istore 1 ,contw 
+0x6729 027985 bne rec_3_mode ,set_index_finded_device_ble_mode 
+0x672a 027986 arg mem_link_key ,regb 
+:      027987 set_index_find_device_master_addr:
+0x672b 027988 ifetch 6 ,contr 
+0x672c 027989 istore 8 ,contw 
+0x672d 027990 setarg 0 
+0x672e 027991 istore 8 ,contw 
+0x672f 027992 copy regb ,contr 
+:      027993 store_rec_data_common:
+0x6730 027994 call memcpy16 
+0x6731 027995 force 1 ,null 
+0x6732 027996 rtn 
+:      027998 set_index_finded_device_ble_mode:
+0x6733 027999 beq rec_4_mode_random_resolvable_private_address ,set_index_finded_device_irk 
+0x6734 028000 beq rec_4_mode_random_non_resolvable_private_address ,set_index_finded_device_ediv 
+0x6735 028001 arg mem_le_ltk ,regb 
+0x6736 028002 branch set_index_find_device_master_addr 
+:      028004 set_index_finded_device_irk:
+0x6737 028005 arg mem_le_irk ,contr 
+0x6738 028006 call memcpy16 
+:      028007 store_ble_rec_data_common:
+0x6739 028008 arg mem_le_ltk ,contr 
+0x673a 028009 branch store_rec_data_common 
+:      028011 set_index_finded_device_ediv:
+0x673b 028012 arg mem_le_rand ,contr 
+0x673c 028013 call memcpy16 
+0x673d 028014 branch store_ble_rec_data_common 
+:      028017 nvram_find_addr_from_bd_list:
+0x673e 028018 call disable_user 
+0x673f 028019 fetch 1 ,mem_nv_data_number 
+0x6740 028020 rtn blank 
+0x6741 028021 fetch 2 ,mem_ui_state_map 
+0x6742 028022 bbit1 ui_state_bt_connected ,find_addr_from_bd_list_spp_mode 
+:      028023 find_addr_from_bd_list_ble_mode:
+0x6743 028024 bpatchx patch32_7 ,mem_patch32 
+0x6744 028025 fetch 1 ,mem_le_conn_peer_addr_type 
+0x6745 028026 beq master_public_addr ,find_addr_from_bd_list_static_addr 
+0x6746 028027 fetch 1 ,mem_le_plap + 5 
+0x6747 028028 compare 0xc0 ,pdata ,0xc0 
+0x6748 028029 branch find_addr_from_bd_list_static_addr ,true 
+0x6749 028030 compare 0x40 ,pdata ,0xc0 
+0x674a 028031 branch find_addr_from_bd_list_random_addr ,true 
+0x674b 028032 compare 0x00 ,pdata ,0xc0 
+0x674c 028033 branch find_addr_from_bd_list_random_non_resolvable_private_address ,true 
+:      028034 find_addr_from_bd_list_static_addr:
+0x674d 028035 jam rec_4_mode_static_address ,mem_temp_reconn_record 
+0x674e 028036 fetch 6 ,mem_le_plap 
+0x674f 028037 branch find_addr_from_bd_list_common 
+:      028039 find_addr_from_bd_list_random_non_resolvable_private_address:
+0x6750 028040 jam rec_4_mode_random_non_resolvable_private_address ,mem_temp_reconn_record 
+0x6751 028041 branch find_addr_from_bd_list_common 
+:      028044 find_addr_from_bd_list_random_addr:
+0x6752 028045 jam rec_4_mode_random_resolvable_private_address ,mem_temp_reconn_record 
+0x6753 028046 branch find_addr_from_bd_list_common 
+:      028049 find_addr_from_bd_list_spp_mode:
+0x6754 028050 bpatchx patch33_0 ,mem_patch33 
+0x6755 028051 jam rec_3_mode ,mem_temp_reconn_record 
+0x6756 028052 fetch 6 ,mem_plap 
+:      028053 find_addr_from_bd_list_common:
+0x6757 028054 store 6 ,mem_temp_reconn_record + 1 
+0x6758 028055 fetch 2 ,mem_nv_data_ptr 
+0x6759 028056 ifetcht 1 ,pdata 
+0x675a 028057 pincrease 1 
+0x675b 028058 store 2 ,mem_list_item_ptr 
+0x675c 028059 storet 1 ,mem_select_list_item 
+0x675d 028060 fetch 1 ,mem_nv_data_number 
+0x675e 028061 icopy regc 
+:      028062 nvram_find_addr_from_list:
+0x675f 028063 fetch 2 ,mem_list_item_ptr 
+0x6760 028064 copy pdata ,rega 
+0x6761 028065 call nvram_find_addr_from_list_compare 
+0x6762 028066 rtn user 
+0x6763 028067 fetcht 2 ,mem_list_item_ptr 
+0x6764 028068 increase nv_data_len ,temp 
+0x6765 028069 storet 2 ,mem_list_item_ptr 
+0x6766 028070 increase -1 ,temp 
+0x6767 028071 ifetch 1 ,temp 
+0x6768 028072 store 1 ,mem_select_list_item 
+0x6769 028073 increase -1 ,regc 
+0x676a 028074 nbranch nvram_find_addr_from_list ,zero 
+0x676b 028075 fetch 1 ,mem_nv_data_number 
+0x676c 028076 pincrease decreased_one 
+0x676d 028077 store 1 ,mem_select_list_item 
+0x676e 028078 rtn 
+:      028079 nvram_find_addr_from_list_compare:
+0x676f 028080 fetch 1 ,mem_temp_reconn_record 
+0x6770 028081 bne rec_3_mode ,find_addr_from_list_compare_ble_mode 
+:      028082 find_master_addr_from_list_compare:
+0x6771 028083 arg mem_temp_reconn_record ,regb 
+0x6772 028084 arg 7 ,loopcnt 
+0x6773 028085 call string_compare 
+0x6774 028086 branch enable_user ,zero 
+0x6775 028087 rtn 
+:      028089 find_addr_from_list_compare_ble_mode:
+0x6776 028090 beq rec_4_mode_random_resolvable_private_address ,find_irk_form_list_compare 
+0x6777 028091 beq rec_4_mode_random_non_resolvable_private_address ,find_ediv_form_list_compare 
+0x6778 028092 branch find_master_addr_from_list_compare 
+:      028094 find_irk_form_list_compare:
+0x6779 028095 ifetcht 1 ,rega 
+0x677a 028096 isub temp ,null 
+0x677b 028097 nrtn zero 
+0x677c 028098 arg mem_le_prand ,contw 
+0x677d 028099 arg 16 ,loopcnt 
+0x677e 028100 call clear_mem 
+0x677f 028101 fetch 3 ,mem_le_plap + 3 
+0x6780 028102 store 3 ,mem_le_prand 
+0x6781 028103 call genernate_master_macaddress 
+0x6782 028104 fetch 2 ,mem_le_aes_128 + 13 
+0x6783 028105 byteswap pdata ,pdata 
+0x6784 028106 lshift8 pdata ,temp 
+0x6785 028107 ifetch 1 ,contr 
+0x6786 028108 iadd temp ,pdata 
+0x6787 028109 fetcht 3 ,mem_le_plap 
+0x6788 028110 isub temp ,null 
+0x6789 028111 branch enable_user ,zero 
+0x678a 028112 rtn 
+:      028115 genernate_master_macaddress:
+0x678b 028116 arg mem_le_prand ,contr 
+0x678c 028117 call load_data128 
+0x678d 028119 ifetch 1 ,rega 
+0x678e 028120 call load_regext 
+0x678f 028121 force 0x38 ,aes_ctrl 
+0x6790 028122 force 0x0 ,aes_ctrl 
+0x6791 028123 call wait_aes 
+0x6792 028124 arg mem_le_aes_128 ,contw 
+0x6793 028125 branch store_aes_result 
+:      028127 find_ediv_form_list_compare:
+0x6794 028128 ifetcht 1 ,rega 
+0x6795 028129 isub temp ,null 
+0x6796 028130 nrtn zero 
+0x6797 028131 copy contr ,rega 
+0x6798 028132 add contr ,8 ,regc 
+0x6799 028133 arg mem_le_rand ,regb 
+0x679a 028134 arg 8 ,loopcnt 
+0x679b 028135 call string_compare 
+0x679c 028136 branch enable_user ,zero 
+0x679d 028137 copy regc ,rega 
+0x679e 028138 arg mem_le_irk ,regb 
+0x679f 028139 arg 8 ,loopcnt 
+0x67a0 028140 call string_compare 
+0x67a1 028141 branch enable_user ,zero 
+0x67a2 028142 rtn 
+:      028144 check_nvram:
+0x67a3 028145 fetch 2 ,mem_nv_data_ptr 
+0x67a4 028146 ifetcht 1 ,pdata 
+0x67a5 028147 pincrease nv_data_len 
+0x67a6 028148 ifetch 1 ,pdata 
+0x67a7 028149 isub temp ,null 
+0x67a8 028150 rtn 
+:      028152 init_device_list:
+0x67a9 028153 fetch 1 ,mem_nv_data_number 
+0x67aa 028154 icopy loopcnt 
+0x67ab 028155 fetcht 2 ,mem_nv_data_ptr 
+0x67ac 028156 setarg 0 
+:      028157 init_device_list_loop:
+0x67ad 028158 istore 1 ,temp 
+0x67ae 028159 increase nv_data_len ,temp 
+0x67af 028160 pincrease 1 
+0x67b0 028161 loop init_device_list_loop 
+0x67b1 028162 rtn 
+:      028164 load_device_list:
+0x67b2 028165 bpatchx patch33_1 ,mem_patch33 
+0x67b3 028166 call nvram_find_addr_from_bd_list 
+0x67b4 028167 fetch 1 ,mem_state 
+0x67b5 028168 setflag user ,state_combkey ,pdata 
+0x67b6 028169 store 1 ,mem_state 
+0x67b7 028170 nbranch clear_key_exists ,user 
+0x67b8 028171 add rega ,10 ,contr 
+0x67b9 028173 arg mem_link_key ,contw 
+0x67ba 028174 call memcpy16 
+0x67bb 028175 branch check_link_key_load 
+:      028176 clear_key_exists:
+0x67bc 028177 jam 0 ,mem_link_key_exists 
+0x67bd 028178 rtn 
+:      028180 load_device_list_mode_4:
+0x67be 028181 fetch 9 ,mem_le_ediv 
+0x67bf 028182 branch clear_ltk_exists ,blank 
+0x67c0 028183 call nvram_find_addr_from_bd_list 
+0x67c1 028184 nbranch clear_ltk_exists ,user 
+0x67c2 028185 fetch 2 ,mem_list_item_ptr 
+0x67c3 028186 add pdata ,1 ,contr 
+0x67c4 028187 arg mem_le_irk ,contw 
+0x67c5 028188 call memcpy16 
+0x67c6 028189 arg mem_le_ltk ,contw 
+0x67c7 028190 call memcpy16 
+0x67c8 028191 jam 1 ,mem_ltk_exists 
+0x67c9 028192 rtn 
+:      028194 clear_ltk_exists:
+0x67ca 028195 jam 0 ,mem_ltk_exists 
+0x67cb 028196 rtn 
+:      028199 eeprom_store_le_reconn_info:
+0x67cc 028200 fetch 6 ,mem_le_plap 
+0x67cd 028201 store 6 ,mem_temp_lap 
+0x67ce 028202 jam rec_4_mode ,mem_record_bt_mode 
+0x67cf 028203 branch eeprom_store_reconn_info 
+:      028204 eeprom_store_bd_reconn_info:
+0x67d0 028205 fetch 6 ,mem_plap 
+0x67d1 028206 store 6 ,mem_temp_lap 
+0x67d2 028207 jam rec_3_mode ,mem_record_bt_mode 
+:      028208 eeprom_store_reconn_info:
+0x67d3 028209 fetch 1 ,mem_device_option 
+0x67d4 028210 beq dvc_op_module ,check_51cmd_update_device_record 
+0x67d5 028211 bbit1 dvc_op_mouse ,mouse_store_remote_bdaddr 
+0x67d6 028212 rtn 
+:      028215 check_link_key_load:
+0x67d7 028216 fetch 8 ,mem_link_key 
+0x67d8 028217 fetcht 8 ,mem_link_key + 8 
+0x67d9 028218 ior temp ,pdata 
+0x67da 028219 rtn blank 
+0x67db 028220 jam 1 ,mem_link_key_exists 
+0x67dc 028221 rtn 
+:      028228 gpio_set_wake_by_current_state:
+0x67dd 028229 bpatchx patch33_2 ,mem_patch33 
+0x67de 028230 set1 7 ,temp 
+0x67df 028231 call gpio_get_bit 
+0x67e0 028232 nsetflag true ,7 ,temp 
+:      028237 gpio_set_wake:
+0x67e1 028238 bpatchx patch33_3 ,mem_patch33 
+0x67e2 028239 sub temp ,ui_button_gpio_disable ,null 
+0x67e3 028240 rtn zero 
+0x67e4 028241 isolate0 7 ,temp 
+0x67e5 028242 and temp ,0x1f ,queue 
+0x67e6 028243 fetch 4 ,mem_gpio_wakeup_low 
+0x67e7 028244 qsetflag true ,pdata 
+0x67e8 028245 store 4 ,mem_gpio_wakeup_low 
+0x67e9 028246 fetch 4 ,mem_gpio_wakeup_high 
+0x67ea 028247 nqsetflag true ,pdata 
+0x67eb 028248 store 4 ,mem_gpio_wakeup_high 
+0x67ec 028249 rtn 
+:      028252 gpio_clr_wake:
+0x67ed 028253 bpatchx patch33_4 ,mem_patch33 
+0x67ee 028254 sub temp ,ui_button_gpio_disable ,null 
+0x67ef 028255 rtn zero 
+0x67f0 028256 isolate0 7 ,temp 
+0x67f1 028257 and temp ,0x1f ,queue 
+0x67f2 028258 fetch 4 ,mem_gpio_wakeup_low 
+0x67f3 028259 qset0 pdata 
+0x67f4 028260 store 4 ,mem_gpio_wakeup_low 
+0x67f5 028261 fetch 4 ,mem_gpio_wakeup_high 
+0x67f6 028262 qset0 pdata 
+0x67f7 028263 store 4 ,mem_gpio_wakeup_high 
+0x67f8 028264 rtn 
+:      028267 gpio_config_input_nowake:
+0x67f9 028268 call gpio_clr_wake 
+0x67fa 028269 branch gpio_config_input_without_wake 
+:      028272 gpio_config_input:
+0x67fb 028273 sub temp ,ui_button_gpio_disable ,null 
+0x67fc 028274 rtn zero 
+0x67fd 028275 ncall gpio_set_wake ,wake 
+:      028277 gpio_config_input_without_wake:
+0x67fe 028278 arg core_gpio_pd0 ,contw 
+0x67ff 028279 call gpio_set_bit 
+0x6800 028280 setflip gpio_active_bit ,temp 
+0x6801 028281 arg core_gpio_pu0 ,contw 
+0x6802 028282 call gpio_set_bit 
+0x6803 028283 set0 gpio_active_bit ,temp 
+0x6804 028284 arg core_gpio_oe0 ,contw 
+0x6805 028285 branch gpio_set_bit 
+:      028288 gpio_set_high_impedance:
+0x6806 028289 arg core_gpio_pd0 ,contw 
+0x6807 028290 call gpio_set_bit 
+0x6808 028291 set0 gpio_active_bit ,temp 
+0x6809 028292 arg core_gpio_pu0 ,contw 
+0x680a 028293 call gpio_set_bit 
+0x680b 028294 set0 gpio_active_bit ,temp 
+0x680c 028295 arg core_gpio_oe0 ,contw 
+0x680d 028296 branch gpio_set_bit 
+:      028300 gpio_config_output:
+0x680e 028301 sub temp ,ui_button_gpio_disable ,null 
+0x680f 028302 rtn zero 
+0x6810 028303 setflip gpio_active_bit ,temp 
+0x6811 028304 call gpio_out 
+:      028305 gpio_config_output0:
+0x6812 028306 set1 gpio_active_bit ,temp 
+0x6813 028307 arg core_gpio_oe0 ,contw 
+0x6814 028308 branch gpio_set_bit 
+:      028310 gpio_common:
+0x6815 028311 and temp ,0x07 ,queue 
+0x6816 028312 rshift3 temp ,pdata 
+0x6817 028313 and_into 3 ,pdata 
+0x6818 028314 iadd contw ,contw 
+0x6819 028315 ifetch 1 ,contw 
+0x681a 028316 rtn 
+:      028318 gpio_check_active:
+0x681b 028319 arg core_gpio_out0 ,contw 
+0x681c 028320 branch get_bit_common 
+:      028324 gpio_get_bit:
+0x681d 028325 arg core_gpio_in ,contw 
+:      028326 get_bit_common:
+0x681e 028327 call gpio_common 
+0x681f 028328 isolate1 gpio_active_bit ,temp 
+0x6820 028329 branch gpio_get_bit_reverse ,true 
+0x6821 028330 qisolate0 pdata 
+0x6822 028331 rtn 
+:      028332 gpio_get_bit_reverse:
+0x6823 028333 qisolate1 pdata 
+0x6824 028334 rtn 
+:      028336 gpio_out_inactive:
+0x6825 028337 sub temp ,ui_button_gpio_disable ,null 
+0x6826 028338 rtn zero 
+0x6827 028339 isolate1 7 ,null 
+0x6828 028340 branch gpio_out_flag 
+:      028342 gpio_out_active:
+0x6829 028343 sub temp ,ui_button_gpio_disable ,null 
+0x682a 028344 rtn zero 
+0x682b 028345 isolate0 7 ,null 
+:      028348 gpio_out_flag:
+0x682c 028349 setarg 0 
+0x682d 028350 nsetflag true ,gpio_active_bit ,pdata 
+0x682e 028351 ixor temp ,temp 
+:      028354 gpio_out:
+0x682f 028355 arg core_gpio_out0 ,contw 
+:      028358 gpio_set_bit:
+0x6830 028359 call gpio_common 
+0x6831 028360 isolate1 gpio_active_bit ,temp 
+0x6832 028361 qsetflag true ,pdata 
+0x6833 028362 istore 1 ,contw 
+0x6834 028363 rtn 
+:      028365 gpio_set_before_lpm_common:
+0x6835 028366 arg -1 ,rega 
+0x6836 028367 hfetch 1 ,core_gpio_sel1 
+0x6837 028368 compare 0x02 ,pdata ,0x03 
+0x6838 028369 call neglact4_from_23_pin ,true 
+0x6839 028371 compare 0x01 ,pdata ,0x03 
+0x683a 028372 call neglact2_form_25_pin ,true 
+0x683b 028374 compare 0x03 ,pdata ,0x03 
+0x683c 028375 call neglact2_form_25_pin ,true 
+0x683d 028377 isolate1 2 ,pdata 
+0x683e 028378 call neglect2_from_6_pin ,true 
+0x683f 028380 isolate1 3 ,pdata 
+0x6840 028381 call neglect4_from_9_pin ,true 
+0x6841 028383 isolate1 4 ,pdata 
+0x6842 028384 call neglact2_form_30_pin ,true 
+0x6843 028386 isolate1 6 ,pdata 
+0x6844 028387 nsetflag true ,04 ,rega 
+0x6845 028389 isolate1 7 ,pdata 
+0x6846 028390 nsetflag true ,05 ,rega 
+0x6847 028392 hfetch 1 ,core_gpio_sel2 
+0x6848 028393 isolate1 0 ,pdata 
+0x6849 028394 nsetflag true ,27 ,rega 
+0x684a 028395 isolate1 1 ,pdata 
+0x684b 028396 nsetflag true ,28 ,rega 
+0x684c 028397 isolate1 2 ,pdata 
+0x684d 028398 nsetflag true ,03 ,rega 
+0x684e 028399 isolate1 3 ,pdata 
+0x684f 028400 nsetflag true ,08 ,rega 
+0x6850 028401 isolate1 4 ,pdata 
+0x6851 028402 nsetflag true ,20 ,rega 
+0x6852 028403 isolate1 5 ,pdata 
+0x6853 028404 nsetflag true ,21 ,rega 
+0x6854 028405 isolate1 6 ,pdata 
+0x6855 028406 nsetflag true ,22 ,rega 
+0x6856 028407 isolate1 7 ,pdata 
+0x6857 028408 nsetflag true ,23 ,rega 
+0x6858 028410 hfetch 1 ,core_gpio_sel 
+0x6859 028411 isolate1 0 ,pdata 
+0x685a 028412 nsetflag true ,05 ,rega 
+0x685b 028413 isolate1 1 ,pdata 
+0x685c 028414 nsetflag true ,06 ,rega 
+0x685d 028415 isolate1 2 ,pdata 
+0x685e 028416 nsetflag true ,07 ,rega 
+0x685f 028417 isolate1 3 ,pdata 
+0x6860 028418 nsetflag true ,18 ,rega 
+0x6861 028419 isolate1 4 ,pdata 
+0x6862 028420 nsetflag true ,19 ,rega 
+0x6863 028421 isolate1 5 ,pdata 
+0x6864 028422 nsetflag true ,20 ,rega 
+0x6865 028423 isolate1 6 ,pdata 
+0x6866 028424 nsetflag true ,21 ,rega 
+0x6867 028425 isolate1 7 ,pdata 
+0x6868 028426 nsetflag true ,22 ,rega 
+0x6869 028428 hfetch 1 ,core_uart_ctrl 
+0x686a 028429 isolate1 4 ,pdata 
+0x686b 028430 call neglact2_form_2_pin ,true 
+0x686c 028431 bpatchx patch33_5 ,mem_patch33 
+0x686d 028433 hfetch 4 ,core_gpio_pu0 
+0x686e 028434 hfetcht 4 ,core_gpio_pd0 
+0x686f 028435 ior temp ,pdata 
+0x6870 028436 invert pdata ,pdata 
+0x6871 028437 iand rega ,pdata 
+0x6872 028439 hstore 4 ,core_gpio_oe0 
+0x6873 028440 rtn 
+:      028443 neglect2_from_6_pin:
+0x6874 028444 arg 6 ,queue 
+0x6875 028445 branch neglect_2_pin 
+:      028446 neglect4_from_9_pin:
+0x6876 028447 arg 9 ,queue 
+0x6877 028448 branch neglact_4_pin 
+:      028449 neglact4_from_23_pin:
+0x6878 028450 arg 23 ,queue 
+0x6879 028451 branch neglact_4_pin 
+:      028452 neglact2_form_25_pin:
+0x687a 028453 arg 25 ,queue 
+0x687b 028454 branch neglect_2_pin 
+:      028455 neglact2_form_30_pin:
+0x687c 028456 arg 30 ,queue 
+0x687d 028457 branch neglect_2_pin 
+:      028458 neglact2_form_2_pin:
+0x687e 028459 arg 2 ,queue 
+0x687f 028460 branch neglect_2_pin 
+:      028461 neglact_1_pin:
+0x6880 028462 arg 1 ,loopcnt 
+0x6881 028463 branch neglect_pin_loop 
+:      028464 neglact_4_pin:
+0x6882 028465 arg 4 ,loopcnt 
+0x6883 028466 branch neglect_pin_loop 
+:      028467 neglect_2_pin:
+0x6884 028468 arg 2 ,loopcnt 
+:      028469 neglect_pin_loop:
+0x6885 028470 qset0 rega 
+0x6886 028471 increase 1 ,queue 
+0x6887 028472 loop neglect_pin_loop 
+0x6888 028473 rtn 
+:      028481 gpio_cfg_uart_tx_output:
+0x6889 028482 call gpio_uart2gpio 
+0x688a 028483 arg uart_wakeup_tx ,temp 
+0x688b 028484 branch gpio_config_output 
+:      028486 gpio_pu_uart_tx:
+0x688c 028487 call gpio_cfg_uart_tx_output 
+0x688d 028488 arg uart_wakeup_tx ,temp 
+0x688e 028489 branch gpio_out_inactive 
+:      028493 gpio_rx_config_input_with_pu:
+0x688f 028494 call gpio_uart2gpio 
+0x6890 028495 hfetch 1 ,core_gpio_pu0 
+0x6891 028496 set1 uart_wakeup_rx ,pdata 
+0x6892 028497 hstore 1 ,core_gpio_pu0 
+0x6893 028498 arg uart_wakeup_rx ,temp 
+0x6894 028499 branch gpio_config_input 
+:      028501 gpio_uart2gpio:
+0x6895 028502 hfetch 1 ,core_gpio_sel1 
+0x6896 028503 and_into 0xfb ,pdata 
+0x6897 028504 hstore 1 ,core_gpio_sel1 
+0x6898 028505 rtn 
+:      028507 gpio_check_uart_state:
+0x6899 028508 hfetch 1 ,core_gpio_sel1 
+0x689a 028509 isolate1 2 ,pdata 
+0x689b 028510 rtn 
+:      028512 load_chip_option:
+0x689c 028513 call otp_enable_chgpump 
+0x689d 028514 setarg otp_chip_functions 
+0x689e 028515 arg mem_chip_functions ,rega 
+0x689f 028516 arg 0x02 ,temp 
+0x68a0 028517 call otpd_read_data 
+0x68a1 028518 branch otp_disable_chgpump 
+:      028521 load_adc_init:
+0x68a2 028522 call otp_enable_chgpump 
+0x68a3 028523 setarg otp_adc_io_0_5v_addr 
+0x68a4 028524 arg mem_0_5_adc_io_data ,rega 
+0x68a5 028525 arg 14 ,temp 
+0x68a6 028526 call otpd_read_data 
+0x68a7 028527 branch otp_disable_chgpump 
+:      028531 adc_init_data:
+0x68a8 028532 bpatchx patch33_6 ,mem_patch33 
+0x68a9 028534 call load_adc_init 
+0x68aa 028536 fetch 1 ,mem_adc_config_flag 
+0x68ab 028537 beq adc_config_vinlpm ,adc_init_data_vinlpm 
+0x68ac 028538 beq adc_config_hvin ,adc_init_data_hvin 
+0x68ad 028539 beq adc_config_gpio ,adc_init_data_io 
+0x68ae 028540 rtn 
+:      028542 adc_init_data_vinlpm:
+0x68af 028543 fetcht 2 ,mem_otp_adc_flag 
+0x68b0 028544 setarg otp_adc_flag 
+0x68b1 028545 isub temp ,null 
+0x68b2 028546 branch adc_check_data_vinlpm ,zero 
+0x68b3 028547 setarg 0x4dfa 
+0x68b4 028548 store 2 ,mem_3v_adc_vinlpm_data 
+0x68b5 028549 setarg 0x4894 
+0x68b6 028550 store 2 ,mem_2v_adc_vinlpm_data 
+0x68b7 028551 branch set_vdd_reference_voltage_1v 
+:      028553 adc_check_data_vinlpm:
+0x68b8 028554 fetch 2 ,mem_3v_adc_vinlpm_data 
+0x68b9 028555 nbranch adc_check_2v_vinlpm ,blank 
+0x68ba 028556 setarg 0x4dfa 
+0x68bb 028557 store 2 ,mem_3v_adc_vinlpm_data 
+:      028558 adc_check_2v_vinlpm:
+0x68bc 028559 fetch 2 ,mem_2v_adc_vinlpm_data 
+0x68bd 028560 nbranch set_vdd_reference_voltage_1v ,blank 
+0x68be 028561 setarg 0x4894 
+0x68bf 028562 store 2 ,mem_2v_adc_vinlpm_data 
+:      028563 set_vdd_reference_voltage_1v:
+0x68c0 028564 setarg 100 
+0x68c1 028565 store 2 ,mem_reference_voltage 
+0x68c2 028566 rtn 
+:      028568 adc_init_data_hvin:
+0x68c3 028569 fetcht 2 ,mem_otp_adc_flag 
+0x68c4 028570 setarg otp_adc_flag 
+0x68c5 028571 isub temp ,null 
+0x68c6 028572 branch adc_check_data_hvin ,zero 
+0x68c7 028573 setarg 0x5932 
+0x68c8 028574 store 2 ,mem_5v_adc_hvin_data 
+0x68c9 028575 setarg 0x4323 
+0x68ca 028576 store 2 ,mem_1v_adc_hvin_data 
+0x68cb 028577 branch set_vdd_reference_voltage_4v 
+:      028579 adc_check_data_hvin:
+0x68cc 028580 fetch 2 ,mem_5v_adc_hvin_data 
+0x68cd 028581 nbranch adc_check_1v_hvin ,blank 
+0x68ce 028582 setarg 0x5932 
+0x68cf 028583 store 2 ,mem_5v_adc_hvin_data 
+:      028584 adc_check_1v_hvin:
+0x68d0 028585 fetch 2 ,mem_1v_adc_hvin_data 
+0x68d1 028586 nbranch set_vdd_reference_voltage_4v ,blank 
+0x68d2 028587 setarg 0x4323 
+0x68d3 028588 store 2 ,mem_1v_adc_hvin_data 
+:      028589 set_vdd_reference_voltage_4v:
+0x68d4 028590 setarg 400 
+0x68d5 028591 store 2 ,mem_reference_voltage 
+0x68d6 028592 rtn 
+:      028594 adc_init_data_io:
+0x68d7 028595 fetcht 2 ,mem_otp_adc_flag 
+0x68d8 028596 setarg otp_adc_flag 
+0x68d9 028597 isub temp ,null 
+0x68da 028598 branch adc_check_data_io ,zero 
+0x68db 028599 setarg 0x6946 
+0x68dc 028600 store 2 ,mem_1v_adc_io_data 
+0x68dd 028601 setarg 0x5377 
+0x68de 028602 store 2 ,mem_0_5_adc_io_data 
+0x68df 028603 branch set_vdd_reference_voltage_0_5v 
+:      028605 adc_check_data_io:
+0x68e0 028606 fetch 2 ,mem_1v_adc_io_data 
+0x68e1 028607 nbranch adc_check_0_5v_io ,blank 
+0x68e2 028608 setarg 0x6946 
+0x68e3 028609 store 2 ,mem_1v_adc_io_data 
+:      028610 adc_check_0_5v_io:
+0x68e4 028611 fetch 2 ,mem_0_5_adc_io_data 
+0x68e5 028612 nbranch set_vdd_reference_voltage_0_5v ,blank 
+0x68e6 028613 setarg 0x5377 
+0x68e7 028614 store 2 ,mem_0_5_adc_io_data 
+:      028615 set_vdd_reference_voltage_0_5v:
+0x68e8 028616 setarg 50 
+0x68e9 028617 store 2 ,mem_reference_voltage 
+0x68ea 028618 rtn 
+:      028621 adc_set_mode:
+0x68eb 028622 fetch 1 ,mem_adc_config_flag 
+0x68ec 028623 beq adc_config_vinlpm ,adc_check_vinlpm 
+0x68ed 028624 beq adc_config_hvin ,adc_check_hvin 
+0x68ee 028625 beq adc_config_gpio ,adc_check_gpio 
+0x68ef 028626 rtn 
+:      028627 adc_check_vinlpm:
+0x68f0 028628 jam 0xbf ,rf_adc_mode 
+0x68f1 028629 branch read_adc 
+:      028630 adc_check_hvin:
+0x68f2 028631 jam 0xaf ,rf_adc_mode 
+0x68f3 028632 branch read_adc 
+:      028633 adc_check_gpio:
+0x68f4 028634 jam 0x8f ,rf_adc_mode 
+0x68f5 028635 fetch 1 ,mem_adc_channel 
+0x68f6 028636 hstore 1 ,rf_adc_ch 
+0x68f7 028637 branch read_adc 
+:      028638 read_adc:
+0x68f8 028639 bpatchx patch33_7 ,mem_patch33 
+0x68f9 028640 hfetch 1 ,core_uart_baud + 1 
+0x68fa 028641 set1 7 ,pdata 
+0x68fb 028642 hstore 1 ,core_uart_baud + 1 
+0x68fc 028643 hfetch 1 ,rf_adc_ch 
+0x68fd 028644 or_into 0x30 ,pdata 
+0x68fe 028645 hstore 1 ,rf_adc_ch 
+0x68ff 028646 jam 0x7c ,rfen_adc 
+0x6900 028647 jam 0xaa ,rf_adc_gc 
+0x6901 028648 nop 5000 
+0x6902 028649 hfetcht 2 ,core_adc_sum 
+0x6903 028650 hfetch 1 ,core_uart_baud + 1 
+0x6904 028651 set0 7 ,pdata 
+0x6905 028652 hstore 1 ,core_uart_baud + 1 
+0x6906 028653 storet 2 ,mem_adc_current_value 
+0x6907 028654 rtn 
+:      028656 vdd_calculate_by_mode:
+0x6908 028657 bpatchx patch34_0 ,mem_patch34 
+0x6909 028658 fetch 1 ,mem_adc_config_flag 
+0x690a 028659 beq adc_config_vinlpm ,vdd_calculate_vinlpm 
+0x690b 028660 beq adc_config_hvin ,vdd_calculate_hvin 
+0x690c 028661 beq adc_config_gpio ,vdd_calculate_io 
+0x690d 028662 rtn 
+:      028664 vdd_calculate_vinlpm:
+0x690e 028665 fetch 2 ,mem_3v_adc_vinlpm_data 
+0x690f 028666 fetcht 2 ,mem_2v_adc_vinlpm_data 
+0x6910 028667 arg 200 ,regc 
+0x6911 028668 branch vdd_calculate 
+:      028670 vdd_calculate_hvin:
+0x6912 028671 fetch 2 ,mem_5v_adc_hvin_data 
+0x6913 028672 fetcht 2 ,mem_1v_adc_hvin_data 
+0x6914 028673 arg 100 ,regc 
+0x6915 028674 branch vdd_calculate 
+:      028676 vdd_calculate_io:
+0x6916 028677 fetch 2 ,mem_1v_adc_io_data 
+0x6917 028678 fetcht 2 ,mem_0_5_adc_io_data 
+0x6918 028679 arg 50 ,regc 
+0x6919 028680 branch vdd_calculate 
+:      028682 vdd_calculate:
+0x691a 028683 isub temp ,rega 
+0x691b 028684 fetch 2 ,mem_adc_current_value 
+0x691c 028685 isub temp ,pdata 
+0x691d 028686 nbranch vdd_calculate1 ,positive 
+0x691e 028687 fetcht 2 ,mem_reference_voltage 
+0x691f 028688 imul32 temp ,regb 
+0x6920 028689 copy regc ,pdata 
+0x6921 028690 imul32 rega ,pdata 
+0x6922 028691 iadd regb ,pdata 
+:      028692 vdd_calculate2:
+0x6923 028693 idiv rega 
+0x6924 028694 call wait_div_end 
+0x6925 028695 quotient pdata 
+0x6926 028696 rtn 
+:      028698 vdd_calculate1:
+0x6927 028699 copy temp ,pdata 
+0x6928 028700 fetcht 2 ,mem_adc_current_value 
+0x6929 028701 isub temp ,pdata 
+0x692a 028702 fetcht 2 ,mem_reference_voltage 
+0x692b 028703 imul32 temp ,regb 
+0x692c 028704 copy regc ,pdata 
+0x692d 028705 imul32 rega ,pdata 
+0x692e 028706 isub regb ,pdata 
+0x692f 028707 branch vdd_calculate2 
+:      028718 adc_bat_percent_lowpower_out:
+0x6930 028719 ifetch 8 ,rega 
+0x6931 028720 store 8 ,mem_pdatatemp 
+0x6932 028721 fetch 2 ,mem_pdatatemp 
+0x6933 028722 fetcht 2 ,mem_pdatatemp + 2 
+0x6934 028723 isub temp ,rega 
+0x6935 028724 fetch 2 ,mem_pdatatemp + 6 
+0x6936 028725 isub temp ,regb 
+0x6937 028726 fetcht 2 ,mem_pdatatemp + 4 
+0x6938 028727 isub temp ,null 
+0x6939 028728 ncall adc_set_low_power_flag ,positive 
+0x693a 028729 mul32 regb ,100 ,pdata 
+0x693b 028730 idiv rega 
+0x693c 028731 call wait_div_end 
+0x693d 028732 quotient pdata 
+0x693e 028733 call adc_set_no_power_flag ,blank 
+0x693f 028734 rtn 
+:      028735 adc_set_low_power_flag:
+0x6940 028736 fetch 1 ,mem_adc_power_flag 
+0x6941 028737 set1 0 ,pdata 
+0x6942 028738 store 1 ,mem_adc_power_flag 
+0x6943 028739 rtn 
+:      028740 adc_set_no_power_flag:
+0x6944 028741 fetcht 1 ,mem_adc_power_flag 
+0x6945 028742 set1 1 ,temp 
+0x6946 028743 storet 1 ,mem_adc_power_flag 
+0x6947 028744 rtn 
+:      028749 keyscan_key_init:
+0x6948 028750 fetch 2 ,mem_key_num_ptr 
+0x6949 028751 ifetch 1 ,pdata 
+:      028752 keyscan_key_init_next:
+0x694a 028753 rtn blank 
+0x694b 028754 copy pdata ,loopcnt 
+0x694c 028756 fetch 2 ,mem_keyscan_ptr 
+0x694d 028757 increase 3 ,pdata 
+0x694e 028758 copy pdata ,rega 
+:      028759 keyscan_key_init_lp1:
+0x694f 028760 ifetcht 1 ,rega 
+0x6950 028761 call gpio_config_input 
+0x6951 028762 increase key_conf_struct_len ,rega 
+0x6952 028763 loop keyscan_key_init_lp1 
+:      028764 keyscan_key_init_end:
+0x6953 028765 rtn 
+:      028767 keyscan_scan_key:
+0x6954 028768 fetch 2 ,mem_keyscan_ptr 
+0x6955 028769 increase 3 ,pdata 
+0x6956 028770 copy pdata ,rega 
+0x6957 028772 force 0 ,regb 
+0x6958 028773 jam 0 ,mem_key_value_temp 
+:      028774 keyscan_scan_key_lp1:
+0x6959 028775 ifetcht 1 ,rega 
+0x695a 028776 call gpio_get_bit 
+0x695b 028777 bpatchx patch34_1 ,mem_patch34 
+0x695c 028778 fetch 2 ,mem_key_value_temp 
+0x695d 028779 copy regb ,queue 
+0x695e 028780 qsetflag true ,pdata 
+0x695f 028781 store 2 ,mem_key_value_temp 
+0x6960 028782 increase key_conf_struct_len ,rega 
+0x6961 028783 increase 1 ,regb 
+0x6962 028784 fetch 2 ,mem_key_num_ptr 
+0x6963 028785 ifetch 1 ,pdata 
+:      028786 keyscan_scan_key_lp1_next:
+0x6964 028787 ixor regb ,null 
+0x6965 028788 nbranch keyscan_scan_key_lp1 ,zero 
+0x6966 028789 fetch 2 ,mem_key_value_temp 
+0x6967 028790 fetcht 2 ,mem_key_value 
+0x6968 028791 ixor temp ,null 
+0x6969 028792 rtn zero 
+0x696a 028793 enable user 
+0x696b 028794 rtn 
+:      028796 keyscan_process_lpm_before:
+0x696c 028797 fetch 2 ,mem_key_num_ptr 
+0x696d 028798 ifetch 1 ,pdata 
+:      028799 keyscan_process_lpm_before_next:
+0x696e 028800 rtn blank 
+0x696f 028801 copy pdata ,loopcnt 
+0x6970 028802 fetch 2 ,mem_keyscan_ptr 
+0x6971 028803 increase 3 ,pdata 
+0x6972 028804 copy pdata ,rega 
+:      028805 keyscan_process_lpm_before_lp1:
+0x6973 028806 ifetcht 1 ,rega 
+0x6974 028807 call gpio_set_wake_by_current_state 
+0x6975 028808 increase key_conf_struct_len ,rega 
+0x6976 028809 loop keyscan_process_lpm_before_lp1 
+:      028810 keyscan_process_lpm_before_end:
+0x6977 028811 rtn 
+:      028813 keyscan_key_process:
+0x6978 028814 arg key_scan_timer ,queue 
+0x6979 028815 call timer_check 
+0x697a 028816 nrtn blank 
+0x697b 028817 setarg 0x20 
+0x697c 028818 arg key_scan_timer ,queue 
+0x697d 028819 call timer_init 
+0x697e 028820 disable user 
+0x697f 028821 call keyscan_process_lpm_before 
+0x6980 028822 bpatchx patch34_2 ,mem_patch34 
+0x6981 028823 fetch 2 ,mem_key_num_ptr 
+0x6982 028824 ifetch 1 ,pdata 
+:      028825 keyscan_key_process_next:
+0x6983 028826 rtn blank 
+0x6984 028827 call keyscan_scan_key 
+0x6985 028828 nbranch lpm_button_clean_wake_lock ,user 
+0x6986 028829 call lpm_button_get_wake_lock 
+0x6987 028830 disable user 
+0x6988 028831 fetch 2 ,mem_key_value_temp 
+0x6989 028832 store 2 ,mem_key_value_temp4 
+0x698a 028833 jam 0 ,mem_key_value_temp6 
+0x698b 028834 force 0 ,queue 
+:      028835 keyscan_key_lp1:
+0x698c 028836 fetch 2 ,mem_key_value 
+0x698d 028837 rshift pdata ,temp 
+0x698e 028838 storet 2 ,mem_key_value 
+0x698f 028839 and pdata ,0x01 ,pdata 
+0x6990 028840 fetcht 2 ,mem_key_value_temp4 
+0x6991 028841 and temp ,0x01 ,rega 
+0x6992 028842 rshift temp ,temp 
+0x6993 028843 storet 2 ,mem_key_value_temp4 
+0x6994 028844 ixor rega ,null 
+0x6995 028845 ncall keyscan_send_key_data ,zero 
+0x6996 028846 fetch 2 ,mem_key_num_ptr 
+0x6997 028847 ifetch 1 ,pdata 
+:      028848 keyscan_key_lp1_next:
+0x6998 028849 fetcht 1 ,mem_key_value_temp6 
+0x6999 028850 increase 1 ,temp 
+0x699a 028851 storet 1 ,mem_key_value_temp6 
+0x699b 028852 copy temp ,queue 
+0x699c 028853 ixor queue ,null 
+0x699d 028854 nbranch keyscan_key_lp1 ,zero 
+0x699e 028855 fetch 2 ,mem_key_value_temp 
+0x699f 028856 store 2 ,mem_key_value 
+0x69a0 028857 rtn 
+:      028858 keyscan_send_key_data:
+0x69a1 028859 bpatchx patch34_3 ,mem_patch34 
+0x69a2 028860 fetch 2 ,mem_keyscan_ptr 
+0x69a3 028861 increase 1 ,pdata 
+0x69a4 028862 ifetch 2 ,pdata 
+0x69a5 028863 branch callback_func 
+:      028874 pwm_init:
+0x69a6 028875 hfetch 1 ,core_clksel 
+0x69a7 028876 ior rega ,pdata 
+0x69a8 028877 hstore 1 ,core_clksel 
+0x69a9 028878 hfetch 2 ,core_clkoff 
+0x69aa 028879 set0 clock_off_pwm ,pdata 
+0x69ab 028880 hstore 2 ,core_clkoff 
+0x69ac 028881 nop 100 
+0x69ad 028882 rtn 
+:      028893 pwm_out_set:
+0x69ae 028894 fetcht 3 ,mem_pdatatemp + 2 
+0x69af 028895 setarg pwm_12mhz 
+0x69b0 028896 idiv temp 
+0x69b1 028897 call wait_div_end 
+0x69b2 028898 quotient temp 
+0x69b3 028899 fetch 1 ,mem_pdatatemp + 5 
+0x69b4 028900 imul32 temp ,pdata 
+0x69b5 028901 div pdata ,100 
+0x69b6 028902 call wait_div_end 
+0x69b7 028903 quotient rega 
+0x69b8 028904 copy temp ,pdata 
+0x69b9 028905 isub rega ,regb 
+0x69ba 028906 fetch 1 ,mem_pdatatemp + 1 
+0x69bb 028907 call pwm_duty_cycle_set 
+0x69bc 028908 fetch 1 ,mem_pdatatemp 
+0x69bd 028909 branch pwm_enable 
+:      028912 pwm_duty_cycle_set:
+0x69be 028913 beq 0 ,pwm_pwm0_duty_set 
+0x69bf 028914 beq 1 ,pwm_pwm1_duty_set 
+0x69c0 028915 beq 2 ,pwm_pwm2_duty_set 
+0x69c1 028916 beq 3 ,pwm_pwm3_duty_set 
+0x69c2 028917 beq 4 ,pwm_pwm4_duty_set 
+0x69c3 028918 beq 5 ,pwm_pwm5_duty_set 
+:      028919 pwm_pwm0_duty_set:
+0x69c4 028920 arg core_pwm_pcnt0 ,contw 
+0x69c5 028921 branch pwm_set_pncnt 
+:      028922 pwm_pwm1_duty_set:
+0x69c6 028923 arg core_pwm_pcnt1 ,contw 
+0x69c7 028924 branch pwm_set_pncnt 
+:      028925 pwm_pwm2_duty_set:
+0x69c8 028926 arg core_pwm_pcnt2 ,contw 
+0x69c9 028927 branch pwm_set_pncnt 
+:      028928 pwm_pwm3_duty_set:
+0x69ca 028929 arg core_pwm_pcnt3 ,contw 
+0x69cb 028930 branch pwm_set_pncnt 
+:      028931 pwm_pwm4_duty_set:
+0x69cc 028932 arg core_pwm_pcnt4 ,contw 
+0x69cd 028933 branch pwm_set_pncnt 
+:      028934 pwm_pwm5_duty_set:
+0x69ce 028935 arg core_pwm_pcnt5 ,contw 
+0x69cf 028936 branch pwm_set_pncnt 
+:      028937 pwm_set_pncnt:
+0x69d0 028938 copy rega ,pdata 
+0x69d1 028939 istore 2 ,contw 
+0x69d2 028940 copy regb ,pdata 
+0x69d3 028941 istore 2 ,contw 
+0x69d4 028942 rtn 
+:      028946 pwm_enable:
+0x69d5 028947 enable user 
+0x69d6 028948 branch pwm_gpio_set 
+:      028949 pwm_disable:
+0x69d7 028950 disable user 
+:      028951 pwm_gpio_set:
+0x69d8 028952 beq 4 ,pwm_gpio4_set 
+0x69d9 028953 beq 5 ,pwm_gpio5_set 
+0x69da 028954 beq 27 ,pwm_gpio27_set 
+0x69db 028955 beq 28 ,pwm_gpio28_set 
+0x69dc 028956 beq 3 ,pwm_gpio3_set 
+0x69dd 028957 beq 8 ,pwm_gpio8_set 
+0x69de 028958 beq 20 ,pwm_gpio20_set 
+0x69df 028959 beq 21 ,pwm_gpio21_set 
+0x69e0 028960 beq 22 ,pwm_gpio22_set 
+0x69e1 028961 beq 23 ,pwm_gpio23_set 
+0x69e2 028962 rtn 
+:      028965 pwm_gpio4_set:
+0x69e3 028966 arg 6 ,queue 
+0x69e4 028967 branch pwm_one_set_select 
+:      028968 pwm_gpio5_set:
+0x69e5 028969 arg 7 ,queue 
+0x69e6 028970 branch pwm_one_set_select 
+:      028971 pwm_gpio27_set:
+0x69e7 028972 arg 8 ,queue 
+0x69e8 028973 branch pwm_one_set_select 
+:      028974 pwm_gpio28_set:
+0x69e9 028975 arg 9 ,queue 
+0x69ea 028976 branch pwm_one_set_select 
+:      028977 pwm_gpio3_set:
+0x69eb 028978 arg 10 ,queue 
+0x69ec 028979 branch pwm_one_set_select 
+:      028980 pwm_gpio8_set:
+0x69ed 028981 arg 11 ,queue 
+0x69ee 028982 branch pwm_one_set_select 
+:      028983 pwm_gpio20_set:
+0x69ef 028984 arg 12 ,queue 
+0x69f0 028985 branch pwm_tw0_set_select 
+:      028986 pwm_gpio21_set:
+0x69f1 028987 arg 13 ,queue 
+0x69f2 028988 branch pwm_tw0_set_select 
+:      028989 pwm_gpio22_set:
+0x69f3 028990 arg 14 ,queue 
+0x69f4 028991 branch pwm_tw0_set_select 
+:      028992 pwm_gpio23_set:
+0x69f5 028993 arg 15 ,queue 
+0x69f6 028994 branch pwm_tw0_set_select 
+:      028996 pwm_set_select:
+0x69f7 028997 hfetch 2 ,core_gpio_sel1 
+0x69f8 028998 qsetflag user ,pdata 
+0x69f9 028999 hstore 2 ,core_gpio_sel1 
+0x69fa 029000 copy rega ,queue 
+0x69fb 029001 hfetch 1 ,core_gpio_key2 
+0x69fc 029002 qsetflag user ,pdata 
+0x69fd 029003 hstore 1 ,core_gpio_key2 
+0x69fe 029004 rtn 
+:      029006 pwm_one_set_select:
+0x69ff 029007 add queue ,-4 ,rega 
+0x6a00 029008 branch pwm_set_select 
+:      029010 pwm_tw0_set_select:
+0x6a01 029011 add queue ,-10 ,rega 
+0x6a02 029012 branch pwm_set_select 
+:      029017 rfcomm_init:
+0x6a03 029018 rtn wake 
+0x6a04 029019 jam 0 ,mem_rfcomm_send_more_pkt 
+0x6a05 029020 jam bits9600 ,memremoterpnbitrate 
+0x6a06 029021 jam databits8 ,memremoteprndatabits 
+0x6a07 029022 jam 0x11 ,memremoteprnxon 
+0x6a08 029023 jam 0x13 ,memremoteprnxoff 
+0x6a09 029024 setarg 0 
+0x6a0a 029025 store 3 ,memremoteprnstopbit 
+0x6a0b 029026 store 1 ,mem_spp_state 
+0x6a0c 029027 jam 0 ,memui_reconnect_mode 
+:      029029 rfcomm_init_spp:
+0x6a0d 029030 bpatchx patch34_4 ,mem_patch34 
+0x6a0e 029031 setarg 0 
+0x6a0f 029032 store 1 ,mem_spp_state 
+0x6a10 029033 store 1 ,mem_remote_spp_channel 
+0x6a11 029034 store 1 ,mem_pn_dlci 
+0x6a12 029035 fetch 1 ,mem_credit_flag 
+0x6a13 029036 beq credit_enable ,rfcomm_init_spp_with_credit 
+0x6a14 029037 jam 0x50 ,mem_credit_given 
+0x6a15 029038 rtn 
+:      029040 rfcomm_init_spp_with_credit:
+0x6a16 029041 jam 0x00 ,mem_credit_given 
+0x6a17 029042 rtn 
+:      029044 set_cr_bit:
+0x6a18 029045 or_into 0x02 ,temp 
+0x6a19 029046 rtn 
+:      029058 rfcomm_calculate_fcs_sabm:
+0x6a1a 029059 copy temp ,pdata 
+0x6a1b 029060 reverse pdata ,pdata 
+0x6a1c 029061 store 1 ,memfcstemp3 
+0x6a1d 029062 force ini_tx_sabm ,pdata 
+0x6a1e 029063 reverse pdata ,pdata 
+0x6a1f 029064 store 1 ,memfcstemp2 
+0x6a20 029065 force 0x01 ,pdata 
+0x6a21 029066 reverse pdata ,pdata 
+0x6a22 029067 store 1 ,memfcstemp1 
+0x6a23 029068 call caculate_fcs 
+0x6a24 029069 copy temp ,pdata 
+0x6a25 029070 rtn 
+:      029071 rfcomm_calculate_fcs_ua:
+0x6a26 029072 reverse pdata ,pdata 
+0x6a27 029073 store 1 ,memfcstemp3 
+0x6a28 029074 force rsp_tx_ua ,pdata 
+0x6a29 029075 reverse pdata ,pdata 
+0x6a2a 029076 store 1 ,memfcstemp2 
+0x6a2b 029077 force 0x01 ,pdata 
+0x6a2c 029078 reverse pdata ,pdata 
+0x6a2d 029079 store 1 ,memfcstemp1 
+0x6a2e 029080 branch caculate_fcs 
+:      029082 rfcomm_calculate_fcs_dlci0:
+0x6a2f 029083 fetch 1 ,mem_rfcomm_initiator 
+0x6a30 029084 branch rfcomm_calculate_fcs_dlci0_res ,blank 
+0x6a31 029085 setarg 0x70 
+0x6a32 029086 rtn 
+:      029087 rfcomm_calculate_fcs_dlci0_res:
+0x6a33 029088 setarg 0xaa 
+0x6a34 029089 rtn 
+:      029091 rfcomm_save_fcs_uih:
+0x6a35 029092 reverse pdata ,pdata 
+0x6a36 029093 store 1 ,memfcstemp3 
+0x6a37 029094 force rsp_rx_uih ,pdata 
+0x6a38 029095 call caculate_uihdata_fcs 
+0x6a39 029096 fetcht 2 ,mem_contw_temp 
+0x6a3a 029097 copy temp ,contw 
+0x6a3b 029098 istore 1 ,contw 
+0x6a3c 029099 copy contw ,temp 
+0x6a3d 029100 storet 2 ,mem_contw_temp 
+0x6a3e 029101 force rsp_rx_uih_wdata ,pdata 
+0x6a3f 029102 call caculate_uihdata_fcs 
+0x6a40 029103 fetcht 2 ,mem_contw_temp 
+0x6a41 029104 copy temp ,contw 
+0x6a42 029105 istore 1 ,contw 
+0x6a43 029106 rtn 
+:      029115 caculate_uihdata_fcs:
+0x6a44 029116 reverse pdata ,pdata 
+0x6a45 029117 store 1 ,memfcstemp2 
+0x6a46 029118 fetch 2 ,memfcstemp2 
+0x6a47 029119 lshift8 pdata ,pdata 
+0x6a48 029120 store 3 ,mem_mod2div_temp 
+0x6a49 029121 arg 0x107 ,rega 
+0x6a4a 029122 arg 0xf ,regb 
+0x6a4b 029123 call mod2div 
+0x6a4c 029124 xor_into 0xd7 ,pdata 
+0x6a4d 029125 invert pdata ,pdata 
+0x6a4e 029126 reverse pdata ,pdata 
+0x6a4f 029127 rtn 
+:      029137 caculate_fcs:
+0x6a50 029138 fetch 3 ,memfcstemp1 
+0x6a51 029139 store 3 ,mem_mod2div_temp 
+0x6a52 029140 arg 0x107 ,rega 
+0x6a53 029141 arg 0xf ,regb 
+0x6a54 029142 call mod2div 
+0x6a55 029143 lshift8 pdata ,pdata 
+0x6a56 029144 arg 0x7 ,regb 
+0x6a57 029145 call mod2div 
+0x6a58 029146 xor_into 0x2b ,pdata 
+0x6a59 029147 invert pdata ,pdata 
+0x6a5a 029148 reverse pdata ,pdata 
+0x6a5b 029149 copy pdata ,temp 
+0x6a5c 029150 rtn 
+:      029152 mod2div:
+0x6a5d 029153 arg 0 ,regc 
+0x6a5e 029154 copy regb ,loopcnt 
+0x6a5f 029155 call right_shift_n 
+0x6a60 029156 icopy temp 
+:      029157 mod2div_loop:
+0x6a61 029162 copy temp ,pdata 
+0x6a62 029163 lshift regc ,regc 
+0x6a63 029164 bbit0 8 ,mod2div_not_enough_reduction 
+0x6a64 029165 ixor rega ,temp 
+0x6a65 029166 increase 1 ,regc 
+:      029167 mod2div_not_enough_reduction:
+0x6a66 029168 lshift temp ,temp 
+0x6a67 029169 fetch 3 ,mem_mod2div_temp 
+0x6a68 029170 increase -1 ,regb 
+0x6a69 029171 compare 0xff ,regb ,0xff 
+0x6a6a 029172 branch mod2div_end ,true 
+0x6a6b 029173 copy regb ,loopcnt 
+0x6a6c 029174 call right_shift_n 
+0x6a6d 029175 isolate1 0 ,pdata 
+0x6a6e 029176 setflag true ,0 ,temp 
+0x6a6f 029177 branch mod2div_loop 
+:      029178 mod2div_end:
+0x6a70 029180 rshift temp ,pdata 
+0x6a71 029181 rtn 
+:      029183 get_rfcomm_snd_adss:
+0x6a72 029184 fetcht 1 ,mem_pn_dlci 
+:      029185 dlci_to_address_cmd:
+0x6a73 029187 lshift2 temp ,temp 
+0x6a74 029188 set1 rfcomm_address_ext_len ,temp 
+0x6a75 029189 fetch 1 ,mem_rfcomm_initiator 
+0x6a76 029190 ncall set_cr_bit ,blank 
+0x6a77 029191 storet 1 ,mem_rfcomm_send_adss 
+0x6a78 029192 rtn 
+:      029194 channel_to_dlci:
+0x6a79 029196 lshift temp ,temp 
+0x6a7a 029197 fetch 1 ,mem_rfcomm_initiator 
+0x6a7b 029198 setflag blank ,0 ,temp 
+0x6a7c 029200 rtn 
+:      029201 rfcomm_rx_process_dlci0_sabm:
+0x6a7d 029202 fetcht 1 ,mem_current_channel 
+0x6a7e 029203 jam 0xd7 ,mem_current_fcs 
+0x6a7f 029204 call rfcomm_send_ua 
+0x6a80 029205 fetch 1 ,mem_rfcomm_state 
+0x6a81 029206 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+0x6a82 029207 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+0x6a83 029208 store 1 ,mem_rfcomm_state 
+0x6a84 029209 jam 0 ,mem_rfcomm_initiator 
+0x6a85 029210 branch rfcomm_rx_process_end 
+:      029211 rfcomm_rx_process_dlci0_ua:
+0x6a86 029212 fetch 1 ,mem_rfcomm_state 
+0x6a87 029213 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+0x6a88 029214 store 1 ,mem_rfcomm_state 
+0x6a89 029215 branch rfcomm_rx_process_end 
+:      029218 rfcomm_rx_process:
+0x6a8a 029219 bpatchx patch34_5 ,mem_patch34 
+0x6a8b 029220 fetch 1 ,memui_reconnect_mode 
+0x6a8c 029221 beq no_reconnection ,rfcomm_rx_process_remote_page 
+0x6a8d 029222 branch rfcomm_rx_process_reconn 
+:      029224 rfcomm_rx_process_remote_page:
+0x6a8e 029225 fetch 2 ,mem_l2cap_payload_ptr 
+0x6a8f 029226 copy pdata ,contr 
+0x6a90 029227 call get_rfcomm_head_struct 
+0x6a91 029228 fetch 1 ,mem_current_channel 
+0x6a92 029229 beq 0 ,parse_dlci0_rp 
+0x6a93 029230 branch parse_uih_rp 
+:      029231 parse_dlci0_rp:
+0x6a94 029232 bpatchx patch34_6 ,mem_patch34 
+0x6a95 029233 fetch 1 ,mem_current_frame_type 
+0x6a96 029234 beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+0x6a97 029235 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+0x6a98 029236 beq rfcomm_frame_type_uih ,parse_dlci0_rp_uih 
+0x6a99 029237 beq rfcomm_frame_type_disconn ,parse_uih_rp_spp_disconn_send_event 
+0x6a9a 029238 rtn 
+:      029241 parse_dlci0_rp_uih:
+0x6a9b 029242 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6a9c 029243 copy pdata ,contr 
+0x6a9d 029244 call get_rfcomm_uih_head_struct 
+0x6a9e 029245 fetch 1 ,mem_uih_cmd_type 
+0x6a9f 029246 beq uih_param_neg_cmd ,parse_dlci0_rp_uih_pn_cmd 
+0x6aa0 029247 beq uih_param_neg_res ,parse_dlci0_rp_uih_pn_res 
+0x6aa1 029248 beq uih_modem_status_cmd ,parse_dlci0_rp_uih_ms_cmd 
+0x6aa2 029249 beq uih_modem_status_res ,parse_dlci0_rp_uih_ms_res 
+0x6aa3 029250 beq uih_param_cmd_remove_port ,parse_dlci0_rp_uih_cmd_port 
+0x6aa4 029251 branch rfcomm_rx_process_end 
+:      029253 parse_dlci0_rp_uih_pn_cmd:
+0x6aa5 029254 call parse_dlci0_rp_uih_pn_res_common 
+0x6aa6 029256 branch parse_dlci0_rp_uih_pn_cmd_spp 
+:      029258 parse_dlci0_rp_uih_pn_cmd_spp:
+0x6aa7 029259 fetch 1 ,mem_spp_state 
+0x6aa8 029260 set1 rfcomm_channel_state_pn_cmd ,pdata 
+0x6aa9 029261 set1 rfcomm_channel_state_pn_res ,pdata 
+0x6aaa 029262 store 1 ,mem_spp_state 
+0x6aab 029263 call rfcomm_send_param_neg_res 
+0x6aac 029264 branch rfcomm_rx_process_end 
+:      029266 parse_dlci0_rp_uih_pn_res:
+0x6aad 029267 call parse_dlci0_rp_uih_pn_res_common 
+0x6aae 029268 branch rfcomm_rx_process_end 
+:      029270 parse_dlci0_rp_uih_pn_res_common:
+0x6aaf 029271 call get_param_payload_ptr 
+0x6ab0 029272 branch get_rfcomm_prarmer_negotiation 
+:      029274 get_rfcomm_param_modem_status:
+0x6ab1 029275 call get_param_payload_ptr 
+0x6ab2 029276 ifetch 1 ,contr 
+0x6ab3 029277 rshift3 pdata ,pdata 
+0x6ab4 029278 store 1 ,mem_ms_channel 
+0x6ab5 029279 ifetch 1 ,contr 
+0x6ab6 029280 store 1 ,mem_ms_param 
+0x6ab7 029281 rtn 
+:      029284 get_rfcomm_head_struct:
+0x6ab8 029285 ifetch 1 ,contr 
+0x6ab9 029286 store 1 ,mem_current_adss 
+0x6aba 029287 rshift3 pdata ,pdata 
+0x6abb 029288 store 1 ,mem_current_channel 
+0x6abc 029289 ifetch 1 ,contr 
+0x6abd 029290 store 1 ,mem_current_frame_type 
+:      029291 get_rfcomm_current_length:
+0x6abe 029292 call get_rfcomm_length_common 
+0x6abf 029293 storet 2 ,mem_current_length 
+0x6ac0 029294 copy contr ,pdata 
+0x6ac1 029295 store 2 ,mem_rfcomm_uih_payload_ptr 
+0x6ac2 029296 rtn 
+:      029298 get_rfcomm_uih_head_struct:
+0x6ac3 029299 ifetch 1 ,contr 
+0x6ac4 029300 rshift pdata ,pdata 
+0x6ac5 029301 store 1 ,mem_uih_cmd_type 
+0x6ac6 029302 call get_rfcomm_length_common 
+0x6ac7 029303 storet 2 ,mem_uih_length 
+0x6ac8 029304 copy contr ,pdata 
+0x6ac9 029305 store 2 ,mem_param_payload_ptr 
+0x6aca 029306 rtn 
+:      029309 get_param_payload_ptr:
+0x6acb 029310 fetch 2 ,mem_param_payload_ptr 
+0x6acc 029311 copy pdata ,contr 
+0x6acd 029312 rtn 
+:      029314 get_rfcomm_length_common:
+0x6ace 029315 ifetch 1 ,contr 
+0x6acf 029316 copy pdata ,temp 
+0x6ad0 029317 rshift temp ,temp 
+0x6ad1 029318 rtnbit1 0 
+0x6ad2 029319 ifetch 1 ,contr 
+0x6ad3 029320 lshift3 pdata ,pdata 
+0x6ad4 029321 lshift4 pdata ,pdata 
+0x6ad5 029322 iadd temp ,temp 
+0x6ad6 029323 rtn 
+:      029325 get_rfcomm_prarmer_negotiation:
+0x6ad7 029326 ifetch 1 ,contr 
+0x6ad8 029327 store 1 ,mem_pn_dlci 
+0x6ad9 029328 ifetch 1 ,contr 
+0x6ada 029329 store 1 ,mem_pn_credit_flow_type_info 
+0x6adb 029330 ifetch 1 ,contr 
+0x6adc 029331 store 1 ,mem_pn_priority 
+0x6add 029332 ifetch 1 ,contr 
+0x6ade 029333 store 1 ,mem_pn_acknowledg_timer 
+0x6adf 029334 ifetch 2 ,contr 
+0x6ae0 029335 store 2 ,mem_pn_max_frame_size 
+0x6ae1 029336 ifetch 1 ,contr 
+0x6ae2 029337 store 1 ,mem_pn_max_retrans 
+0x6ae3 029338 ifetch 1 ,contr 
+0x6ae4 029339 store 1 ,mem_remote_credits 
+0x6ae5 029340 rtn 
+:      029343 parse_dlci0_rp_uih_ms_cmd:
+0x6ae6 029344 call get_rfcomm_param_modem_status 
+0x6ae7 029346 branch parse_dlci0_rp_uih_ms_cmd_spp 
+:      029348 parse_dlci0_rp_uih_ms_cmd_spp:
+0x6ae8 029349 fetch 1 ,mem_spp_state 
+0x6ae9 029350 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+0x6aea 029351 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+0x6aeb 029352 store 1 ,mem_spp_state 
+0x6aec 029353 fetcht 1 ,mem_pn_dlci 
+0x6aed 029354 lshift2 temp ,temp 
+0x6aee 029355 or_into 3 ,temp 
+0x6aef 029356 call rfcomm_send_modem_status_res 
+0x6af0 029357 jam more_pkt_msc_cmd_spp ,mem_rfcomm_send_more_pkt 
+0x6af1 029358 branch rfcomm_rx_process_end 
+:      029360 parse_dlci0_rp_uih_ms_res:
+0x6af2 029361 jam bt_evt_spp_connected ,mem_fifo_temp 
+0x6af3 029362 call ui_ipc_send_event 
+0x6af4 029363 call get_rfcomm_param_modem_status 
+0x6af5 029364 fetch 1 ,mem_ms_channel 
+0x6af6 029365 sub pdata ,1 ,null 
+0x6af7 029366 branch parse_dlci0_rp_uih_ms_res_spp ,zero 
+0x6af8 029367 branch assert 
+:      029368 parse_dlci0_rp_uih_ms_res_spp:
+0x6af9 029369 fetch 1 ,mem_spp_state 
+0x6afa 029370 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+0x6afb 029371 store 1 ,mem_spp_state 
+0x6afc 029372 branch rfcomm_rx_process_end 
+:      029374 parse_dlci0_rp_uih_cmd_port:
+0x6afd 029375 call get_param_payload_ptr 
+0x6afe 029376 ifetch 1 ,contr 
+0x6aff 029377 store 1 ,mem_rpn_dlci 
+0x6b00 029378 call l2cap_malloc_rfcomm_channel 
+0x6b01 029379 call l2cap_get_rfcomm_tx_buff 
+0x6b02 029380 setarg 0x000e 
+0x6b03 029381 istore 2 ,contw 
+0x6b04 029382 fetch 2 ,mem_rfcomm_remote_cid 
+0x6b05 029383 istore 2 ,contw 
+0x6b06 029384 fetch 1 ,mem_rfcomm_initiator 
+0x6b07 029386 lshift pdata ,pdata 
+0x6b08 029387 set1 0 ,pdata 
+0x6b09 029388 istore 1 ,contw 
+0x6b0a 029389 bpatchx patch34_7 ,mem_patch34 
+0x6b0b 029390 setarg 0x15ef 
+0x6b0c 029391 istore 2 ,contw 
+0x6b0d 029392 setarg 0x1191 
+0x6b0e 029393 istore 2 ,contw 
+0x6b0f 029396 fetch 1 ,mem_rpn_dlci 
+0x6b10 029397 istore 1 ,contw 
+0x6b11 029398 setarg 0x000007 
+0x6b12 029399 istore 5 ,contw 
+0x6b13 029402 setarg 0x01 
+0x6b14 029403 istore 2 ,contw 
+0x6b15 029406 call rfcomm_calculate_fcs_dlci0 
+0x6b16 029407 istore 1 ,contw 
+0x6b17 029408 rtn 
+:      029412 parse_uih_rp:
+0x6b18 029413 branch parse_uih_rp_spp 
+:      029415 parse_uih_rp_spp:
+0x6b19 029416 bpatchx patch35_0 ,mem_patch35 
+0x6b1a 029417 fetch 1 ,mem_current_frame_type 
+0x6b1b 029418 beq rfcomm_frame_type_ua ,parse_uih_rp_spp_ua 
+0x6b1c 029419 beq rfcomm_frame_type_sabm ,parse_uih_rp_spp_sabm 
+0x6b1d 029420 beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+0x6b1e 029421 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+0x6b1f 029422 beq rfcomm_frame_type_disconn ,parse_uih_rp_spp_disconn 
+0x6b20 029423 rtn 
+:      029424 parse_uih_rp_spp_ua:
+0x6b21 029425 fetch 1 ,mem_spp_state 
+0x6b22 029426 set1 rfcomm_channel_state_ua ,pdata 
+0x6b23 029427 store 1 ,mem_spp_state 
+0x6b24 029428 branch rfcomm_rx_process_end 
+:      029429 parse_uih_rp_spp_sabm:
+0x6b25 029430 fetch 1 ,mem_spp_state 
+0x6b26 029431 set1 rfcomm_channel_state_ua ,pdata 
+0x6b27 029432 set1 rfcomm_channel_state_sabm ,pdata 
+0x6b28 029433 store 1 ,mem_spp_state 
+0x6b29 029434 fetch 1 ,mem_current_adss 
+0x6b2a 029435 call rfcomm_calculate_fcs_ua 
+0x6b2b 029436 store 1 ,mem_current_fcs 
+0x6b2c 029437 call rfcomm_send_ua 
+0x6b2d 029438 fetch 1 ,mem_current_adss 
+0x6b2e 029439 rshift2 pdata ,pdata 
+0x6b2f 029440 store 1 ,mem_pn_dlci 
+0x6b30 029441 lshift2 pdata ,pdata 
+0x6b31 029442 set0 rfcomm_address_cr ,pdata 
+0x6b32 029443 set1 rfcomm_address_ext_len ,pdata 
+0x6b33 029444 arg mem_hiufcs_spp ,temp 
+0x6b34 029445 storet 2 ,mem_contw_temp 
+0x6b35 029446 call rfcomm_save_fcs_uih 
+0x6b36 029447 branch rfcomm_rx_process_end 
+:      029449 parse_uih_spp_uih_credits:
+0x6b37 029450 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6b38 029451 copy pdata ,contr 
+0x6b39 029452 increase 1 ,pdata 
+0x6b3a 029453 store 2 ,mem_rfcomm_uih_payload_ptr 
+0x6b3b 029454 ifetch 1 ,contr 
+0x6b3c 029455 fetcht 1 ,mem_remote_credits 
+0x6b3d 029456 iadd temp ,pdata 
+0x6b3e 029457 store 1 ,mem_remote_credits 
+:      029458 parse_uih_spp_uih:
+0x6b3f 029459 call rfcomm_increase_credit_given 
+:      029460 parse_uih_spp_uih_cont:
+0x6b40 029461 call get_rfcomm_snd_adss 
+0x6b41 029462 call rfcomm_send_uih_without_payload 
+0x6b42 029463 call spp_process_rx_data 
+0x6b43 029464 branch rfcomm_rx_process_end 
+:      029466 parse_uih_rp_spp_disconn_send_event:
+0x6b44 029467 jam bt_evt_spp_disconnected ,mem_fifo_temp 
+0x6b45 029468 call ui_ipc_send_event 
+:      029469 parse_uih_rp_spp_disconn:
+0x6b46 029470 call rfcomm_init_spp 
+0x6b47 029471 fetch 1 ,mem_current_adss 
+0x6b48 029472 call rfcomm_calculate_fcs_ua 
+0x6b49 029473 store 1 ,mem_current_fcs 
+0x6b4a 029474 call rfcomm_send_ua 
+0x6b4b 029475 branch rfcomm_rx_process_end 
+:      029480 rfcomm_rx_process_reconn:
+0x6b4c 029481 fetch 2 ,mem_l2cap_payload_ptr 
+0x6b4d 029482 copy pdata ,contr 
+0x6b4e 029483 call get_rfcomm_head_struct 
+0x6b4f 029484 fetch 1 ,mem_current_channel 
+0x6b50 029485 beq 0 ,parse_dlci0_reconn 
+0x6b51 029486 branch parse_uih_reconn 
+:      029488 parse_dlci0_reconn:
+0x6b52 029489 bpatchx patch35_1 ,mem_patch35 
+0x6b53 029490 fetch 1 ,mem_current_frame_type 
+0x6b54 029491 beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+0x6b55 029492 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+0x6b56 029493 beq rfcomm_frame_type_uih ,parse_dlci0_reconn_uih 
+0x6b57 029494 branch rfcomm_rx_process_end 
+:      029495 parse_dlci0_reconn_uih:
+0x6b58 029496 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6b59 029497 copy pdata ,contr 
+0x6b5a 029498 call get_rfcomm_uih_head_struct 
+0x6b5b 029499 fetch 1 ,mem_uih_cmd_type 
+0x6b5c 029500 beq uih_param_neg_cmd ,parse_dlci0_reconn_uih_pn_cmd 
+0x6b5d 029501 beq uih_param_neg_res ,parse_dlci0_reconn_uih_pn_cmd 
+0x6b5e 029502 beq uih_modem_status_cmd ,parse_dlci0_reconn_uih_ms_cmd 
+0x6b5f 029503 beq uih_modem_status_res ,parse_dlci0_reconn_uih_ms_res 
+0x6b60 029504 branch rfcomm_rx_process_end 
+:      029506 parse_dlci0_reconn_uih_pn_cmd:
+0x6b61 029507 call parse_dlci0_rp_uih_pn_res_common 
+0x6b62 029508 fetch 1 ,mem_pn_dlci 
+0x6b63 029509 rshift pdata ,pdata 
+0x6b64 029510 fetcht 1 ,mem_remote_spp_channel 
+0x6b65 029511 isub temp ,null 
+0x6b66 029512 branch parse_dlci0_reconn_uih_pn_cmd_spp ,zero 
+0x6b67 029513 branch assert 
+:      029514 parse_dlci0_reconn_uih_pn_cmd_spp:
+0x6b68 029515 fetch 1 ,mem_spp_state 
+0x6b69 029516 set1 rfcomm_channel_state_pn_res ,pdata 
+0x6b6a 029517 store 1 ,mem_spp_state 
+0x6b6b 029518 branch rfcomm_rx_process_end 
+:      029520 parse_dlci0_reconn_uih_ms_cmd:
+0x6b6c 029521 call get_rfcomm_param_modem_status 
+0x6b6d 029522 fetch 1 ,mem_ms_channel 
+0x6b6e 029523 fetcht 1 ,mem_remote_spp_channel 
+0x6b6f 029524 isub temp ,null 
+0x6b70 029525 branch parse_dlci0_reconn_uih_ms_cmd_spp ,zero 
+0x6b71 029526 branch assert 
+0x6b72 029527 branch rfcomm_rx_process_end 
+:      029528 parse_dlci0_reconn_uih_ms_cmd_spp:
+0x6b73 029529 fetch 1 ,mem_spp_state 
+0x6b74 029530 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+0x6b75 029531 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+0x6b76 029532 store 1 ,mem_spp_state 
+0x6b77 029533 fetcht 1 ,mem_pn_dlci 
+0x6b78 029534 lshift2 temp ,temp 
+0x6b79 029535 or_into 3 ,temp 
+0x6b7a 029536 call rfcomm_send_modem_status_res 
+0x6b7b 029537 branch rfcomm_rx_process_end 
+:      029539 parse_dlci0_reconn_uih_ms_res:
+0x6b7c 029540 call get_rfcomm_param_modem_status 
+0x6b7d 029541 fetch 1 ,mem_ms_channel 
+0x6b7e 029542 fetcht 1 ,mem_remote_spp_channel 
+0x6b7f 029543 isub temp ,null 
+0x6b80 029544 branch parse_dlci0_reconn_uih_ms_res_spp ,zero 
+0x6b81 029545 branch assert 
+:      029546 parse_dlci0_reconn_uih_ms_res_spp:
+0x6b82 029547 fetch 1 ,mem_spp_state 
+0x6b83 029548 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+0x6b84 029549 store 1 ,mem_spp_state 
+0x6b85 029550 branch rfcomm_rx_process_end 
+:      029552 parse_uih_reconn:
+0x6b86 029553 fetch 1 ,mem_current_channel 
+0x6b87 029554 fetcht 1 ,mem_remote_spp_channel 
+0x6b88 029555 isub temp ,null 
+0x6b89 029556 branch parse_uih_reconn_spp ,zero 
+0x6b8a 029557 branch assert 
+0x6b8b 029558 branch rfcomm_rx_process_end 
+:      029560 parse_uih_reconn_spp:
+0x6b8c 029561 fetch 1 ,mem_current_frame_type 
+0x6b8d 029562 beq rfcomm_frame_type_ua ,parse_uih_reconn_spp_ua 
+0x6b8e 029563 beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+0x6b8f 029564 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+0x6b90 029565 beq rfcomm_frame_type_disconn ,parse_uih_reconn_spp_disconn 
+:      029566 parse_uih_reconn_spp_ua:
+0x6b91 029567 fetch 1 ,mem_spp_state 
+0x6b92 029568 set1 rfcomm_channel_state_ua ,pdata 
+0x6b93 029569 store 1 ,mem_spp_state 
+0x6b94 029570 branch rfcomm_rx_process_end 
+:      029571 parse_uih_reconn_spp_sabm:
+0x6b95 029572 branch parse_uih_reconn_spp_sabm 
+:      029573 parse_uih_reconn_spp_disconn:
+0x6b96 029574 branch parse_uih_rp_spp_disconn 
+:      029575 rfcomm_rx_process_end:
+0x6b97 029576 rtn 
+:      029578 rfcomm_send_more_pkt:
+0x6b98 029579 fetch 1 ,mem_rfcomm_send_more_pkt 
+0x6b99 029580 rtn blank 
+0x6b9a 029581 beq more_pkt_msc_cmd_spp ,rfcomm_send_more_pkt_msc_cmd_spp 
+0x6b9b 029582 branch assert 
+:      029584 rfcomm_send_more_pkt_msc_cmd_spp:
+0x6b9c 029585 jam 0 ,mem_rfcomm_send_more_pkt 
+0x6b9d 029586 call l2cap_malloc_rfcomm_channel 
+0x6b9e 029587 arg spp_slave_channel ,temp 
+0x6b9f 029588 fetcht 1 ,mem_pn_dlci 
+0x6ba0 029589 lshift2 temp ,temp 
+:      029590 rfcomm_send_more_pkt_msc_cmd_spp0:
+0x6ba1 029591 or_into 0x03 ,temp 
+0x6ba2 029592 arg 0xaa ,rega 
+0x6ba3 029593 call rfcomm_send_modem_status_cmd 
+0x6ba4 029594 call l2cap_get_rfcomm_tx_buff 
+0x6ba5 029595 copy contw ,contr 
+0x6ba6 029596 ifetch 2 ,contr 
+0x6ba7 029597 branch assert ,blank 
+0x6ba8 029598 rtn 
+:      029600 rfcomm_send_sabm:
+0x6ba9 029601 call l2cap_get_rfcomm_tx_buff 
+0x6baa 029602 setarg 0x0004 
+0x6bab 029603 istore 2 ,contw 
+0x6bac 029604 fetch 2 ,mem_rfcomm_remote_cid 
+0x6bad 029605 istore 2 ,contw 
+0x6bae 029606 fetch 1 ,mem_current_adss 
+0x6baf 029607 istore 1 ,contw 
+0x6bb0 029608 bpatchx patch35_2 ,mem_patch35 
+0x6bb1 029609 setarg 0x013f 
+0x6bb2 029610 istore 2 ,contw 
+0x6bb3 029611 fetch 1 ,mem_current_fcs 
+0x6bb4 029612 istore 1 ,contw 
+0x6bb5 029613 rtn 
+:      029614 rfcomm_send_ua:
+0x6bb6 029615 call l2cap_malloc_rfcomm_channel 
+0x6bb7 029616 call l2cap_get_rfcomm_tx_buff 
+0x6bb8 029617 setarg 0x0004 
+0x6bb9 029618 istore 2 ,contw 
+0x6bba 029619 fetch 2 ,mem_rfcomm_remote_cid 
+0x6bbb 029620 istore 2 ,contw 
+0x6bbc 029621 fetch 1 ,mem_current_adss 
+0x6bbd 029622 istore 1 ,contw 
+0x6bbe 029623 bpatchx patch35_3 ,mem_patch35 
+0x6bbf 029624 setarg 0x0173 
+0x6bc0 029625 istore 2 ,contw 
+0x6bc1 029626 fetch 1 ,mem_current_fcs 
+0x6bc2 029627 istore 1 ,contw 
+0x6bc3 029628 rtn 
+:      029629 rfcomm_send_param_neg_cmd:
+0x6bc4 029630 call l2cap_get_rfcomm_tx_buff 
+0x6bc5 029631 setarg 0x000e 
+0x6bc6 029632 istore 2 ,contw 
+0x6bc7 029633 fetch 2 ,mem_rfcomm_remote_cid 
+0x6bc8 029634 istore 2 ,contw 
+0x6bc9 029635 fetch 1 ,mem_rfcomm_initiator 
+0x6bca 029636 lshift pdata ,pdata 
+0x6bcb 029637 set1 0 ,pdata 
+0x6bcc 029638 istore 1 ,contw 
+0x6bcd 029639 bpatchx patch35_4 ,mem_patch35 
+0x6bce 029640 setarg 0x15ef 
+0x6bcf 029641 istore 2 ,contw 
+0x6bd0 029642 setarg 0x1183 
+0x6bd1 029643 istore 2 ,contw 
+0x6bd2 029644 copy temp ,pdata 
+0x6bd3 029645 istore 1 ,contw 
+0x6bd4 029646 setarg 0x0000f0 
+0x6bd5 029647 istore 3 ,contw 
+0x6bd6 029648 setarg rfcomm_max_frame_size 
+0x6bd7 029649 istore 2 ,contw 
+0x6bd8 029650 setarg 0 
+0x6bd9 029651 istore 1 ,contw 
+0x6bda 029652 setarg 0x01 
+0x6bdb 029653 istore 1 ,contw 
+0x6bdc 029654 call rfcomm_calculate_fcs_dlci0 
+0x6bdd 029655 istore 1 ,contw 
+0x6bde 029656 jam 0x10 ,mem_credit_given 
+0x6bdf 029657 rtn 
+:      029658 rfcomm_send_param_neg_res:
+0x6be0 029659 call l2cap_malloc_rfcomm_channel 
+0x6be1 029660 call l2cap_get_rfcomm_tx_buff 
+0x6be2 029661 setarg 0x000e 
+0x6be3 029662 istore 2 ,contw 
+0x6be4 029663 fetch 2 ,mem_rfcomm_remote_cid 
+0x6be5 029664 istore 2 ,contw 
+0x6be6 029665 fetch 1 ,mem_rfcomm_initiator 
+0x6be7 029666 lshift pdata ,pdata 
+0x6be8 029667 set1 0 ,pdata 
+0x6be9 029668 istore 1 ,contw 
+0x6bea 029669 bpatchx patch35_5 ,mem_patch35 
+0x6beb 029670 setarg 0x15ef 
+0x6bec 029671 istore 2 ,contw 
+0x6bed 029672 setarg 0x1181 
+0x6bee 029673 istore 2 ,contw 
+0x6bef 029674 fetch 1 ,mem_pn_dlci 
+0x6bf0 029675 istore 1 ,contw 
+0x6bf1 029676 setarg 0x0000e0 
+0x6bf2 029677 istore 3 ,contw 
+0x6bf3 029678 fetch 2 ,mem_rfcomm_max_frame_size 
+0x6bf4 029679 istore 2 ,contw 
+0x6bf5 029680 setarg 0x00 
+0x6bf6 029681 istore 1 ,contw 
+0x6bf7 029682 fetch 1 ,mem_rfcomm_credit_init_data 
+0x6bf8 029683 istore 1 ,contw 
+0x6bf9 029684 call rfcomm_calculate_fcs_dlci0 
+0x6bfa 029685 istore 1 ,contw 
+0x6bfb 029686 rtn 
+:      029687 rfcomm_send_modem_status_cmd:
+0x6bfc 029688 call l2cap_get_rfcomm_tx_buff 
+0x6bfd 029689 setarg 0x0008 
+0x6bfe 029690 istore 2 ,contw 
+0x6bff 029691 fetch 2 ,mem_rfcomm_remote_cid 
+0x6c00 029692 istore 2 ,contw 
+0x6c01 029693 fetch 1 ,mem_rfcomm_initiator 
+0x6c02 029694 lshift pdata ,pdata 
+0x6c03 029695 set1 0 ,pdata 
+0x6c04 029696 istore 1 ,contw 
+0x6c05 029697 bpatchx patch35_6 ,mem_patch35 
+0x6c06 029698 setarg 0x09ef 
+0x6c07 029699 istore 2 ,contw 
+0x6c08 029700 setarg 0x05e3 
+0x6c09 029701 istore 2 ,contw 
+0x6c0a 029702 copy temp ,pdata 
+0x6c0b 029703 istore 1 ,contw 
+0x6c0c 029704 setarg 0x8d 
+0x6c0d 029705 istore 1 ,contw 
+0x6c0e 029706 call rfcomm_calculate_fcs_dlci0 
+0x6c0f 029707 istore 1 ,contw 
+0x6c10 029708 rtn 
+:      029710 rfcomm_send_modem_status_res:
+0x6c11 029711 call l2cap_malloc_rfcomm_channel 
+0x6c12 029712 call l2cap_get_rfcomm_tx_buff 
+0x6c13 029713 setarg 0x0008 
+0x6c14 029714 istore 2 ,contw 
+0x6c15 029715 fetch 2 ,mem_rfcomm_remote_cid 
+0x6c16 029716 istore 2 ,contw 
+0x6c17 029717 copy temp ,timeup 
+0x6c18 029718 fetch 1 ,mem_rfcomm_initiator 
+0x6c19 029719 lshift pdata ,pdata 
+0x6c1a 029720 set1 0 ,pdata 
+0x6c1b 029721 istore 1 ,contw 
+0x6c1c 029722 bpatchx patch35_7 ,mem_patch35 
+0x6c1d 029723 setarg 0x09ef 
+0x6c1e 029724 istore 2 ,contw 
+0x6c1f 029725 setarg 0x05e1 
+0x6c20 029726 istore 2 ,contw 
+0x6c21 029727 copy timeup ,pdata 
+0x6c22 029728 istore 1 ,contw 
+0x6c23 029729 setarg 0x8d 
+0x6c24 029730 istore 1 ,contw 
+0x6c25 029731 call rfcomm_calculate_fcs_dlci0 
+0x6c26 029732 istore 1 ,contw 
+0x6c27 029733 rtn 
+:      029735 rfcomm_send_uih_without_payload:
+0x6c28 029736 bpatchx patch36_0 ,mem_patch36 
+0x6c29 029737 fetch 1 ,mem_credit_given 
+0x6c2a 029738 rtn blank 
+0x6c2b 029739 hfetch 2 ,core_uart_rxitems 
+0x6c2c 029740 nrtn blank 
+0x6c2d 029741 copy rega ,pdata 
+0x6c2e 029742 store 1 ,mem_pdatatemp + 1 
+0x6c2f 029743 storet 1 ,mem_pdatatemp 
+0x6c30 029744 call l2cap_malloc_is_fifo_full 
+0x6c31 029745 nrtn blank 
+0x6c32 029746 call l2cap_malloc_rfcomm_channel 
+0x6c33 029747 call l2cap_get_rfcomm_tx_buff 
+0x6c34 029748 setarg 0x05 
+0x6c35 029749 istore 2 ,contw 
+0x6c36 029750 fetch 2 ,mem_rfcomm_remote_cid 
+0x6c37 029751 istore 2 ,contw 
+0x6c38 029752 fetch 1 ,mem_rfcomm_send_adss 
+0x6c39 029753 istore 1 ,contw 
+0x6c3a 029754 setarg 0x01ff 
+0x6c3b 029755 istore 2 ,contw 
+0x6c3c 029756 fetch 1 ,mem_credit_given 
+0x6c3d 029757 istore 1 ,contw 
+0x6c3e 029758 fetch 1 ,mem_hiufcs_spp_wcredits 
+0x6c3f 029759 istore 1 ,contw 
+0x6c40 029760 jam 0 ,mem_credit_given 
+0x6c41 029761 rtn 
+:      029763 rfcomm_increase_credit_given:
+0x6c42 029764 bpatchx patch36_1 ,mem_patch36 
+0x6c43 029765 fetch 1 ,mem_credit_flag 
+0x6c44 029766 rtneq credit_enable 
+0x6c45 029767 fetch 2 ,mem_current_length 
+0x6c46 029768 rtn blank 
+0x6c47 029769 fetch 1 ,mem_credit_given 
+0x6c48 029770 increase 1 ,pdata 
+0x6c49 029771 store 1 ,mem_credit_given 
+0x6c4a 029772 rtn 
+:      029774 spp_process_rx_data:
+0x6c4b 029775 fetch 2 ,mem_cb_receive_spp_data 
+0x6c4c 029776 branch callback_func 
+:      029778 spp_tx_rfcomm_packet:
+0x6c4d 029779 bpatchx patch36_2 ,mem_patch36 
+0x6c4e 029781 fetch 1 ,mem_remote_credits 
+0x6c4f 029782 rtn blank 
+0x6c50 029783 increase -1 ,pdata 
+0x6c51 029784 store 1 ,mem_remote_credits 
+0x6c52 029785 fetch 2 ,mem_pn_max_frame_size 
+0x6c53 029786 fetcht 2 ,mem_current_packet_length 
+0x6c54 029787 isub temp ,null 
+0x6c55 029788 branch ssp_tx_rfcomm_from_uart ,positive 
+0x6c56 029789 store 2 ,mem_current_packet_length 
+:      029790 ssp_tx_rfcomm_from_uart:
+0x6c57 029791 fetch 1 ,mem_credit_given 
+0x6c58 029792 branch ssp_tx_rfcomm_from_uart_without_credit ,blank 
+0x6c59 029793 jam 1 ,mem_rfcomm_send_offset 
+0x6c5a 029794 fetch 1 ,mem_hiufcs_spp_wcredits 
+0x6c5b 029795 store 1 ,mem_rfcomm_send_fcs 
+0x6c5c 029796 setarg rsp_rx_uih_wdata 
+0x6c5d 029797 store 1 ,mem_rfcomm_send_frame_type 
+0x6c5e 029798 branch ssp_tx_rfcomm_from_uart_common 
+:      029799 ssp_tx_rfcomm_from_uart_without_credit:
+0x6c5f 029800 jam 0 ,mem_rfcomm_send_offset 
+0x6c60 029801 fetch 1 ,mem_hiufcs_spp 
+0x6c61 029802 store 1 ,mem_rfcomm_send_fcs 
+0x6c62 029803 setarg rsp_tx_uih 
+0x6c63 029804 store 1 ,mem_rfcomm_send_frame_type 
+:      029805 ssp_tx_rfcomm_from_uart_common:
+0x6c64 029806 bpatchx patch36_3 ,mem_patch36 
+0x6c65 029807 fetch 2 ,mem_current_packet_length 
+0x6c66 029808 sub pdata ,127 ,null 
+0x6c67 029809 branch ssp_tx_rfcomm_from_uart_common0 ,positive 
+0x6c68 029810 fetch 1 ,mem_rfcomm_send_offset 
+0x6c69 029811 increase 1 ,pdata 
+0x6c6a 029812 store 1 ,mem_rfcomm_send_offset 
+:      029813 ssp_tx_rfcomm_from_uart_common0:
+0x6c6b 029814 call get_rfcomm_snd_adss 
+0x6c6c 029815 fetch 2 ,mem_current_packet_length 
+0x6c6d 029816 increase 8 ,pdata 
+0x6c6e 029817 fetcht 1 ,mem_rfcomm_send_offset 
+0x6c6f 029818 iadd temp ,rega 
+0x6c70 029820 call l2cap_malloc 
+0x6c71 029821 store 2 ,mem_rfcomm_tx_buff_ptr 
+0x6c72 029822 increase 4 ,pdata 
+0x6c73 029823 store 2 ,mem_rfcomm_tx_payload_ptr 
+0x6c74 029824 copy pdata ,contw 
+0x6c75 029825 fetch 1 ,mem_rfcomm_send_adss 
+0x6c76 029826 istore 1 ,contw 
+0x6c77 029827 fetch 1 ,mem_rfcomm_send_frame_type 
+0x6c78 029828 istore 1 ,contw 
+0x6c79 029829 call ssp_tx_write_length 
+0x6c7a 029830 call ssp_tx_write_given_credit 
+0x6c7b 029831 bpatchx patch36_4 ,mem_patch36 
+0x6c7c 029832 fetch 2 ,mem_nl_rx_data_src 
+0x6c7d 029833 copy pdata ,contru 
+0x6c7e 029834 fetch 2 ,mem_current_packet_length 
+0x6c7f 029835 copy pdata ,loopcnt 
+0x6c80 029836 call uart_copy_rx_bytes_fast 
+0x6c81 029837 copy contw ,temp 
+0x6c82 029838 copy contru ,pdata 
+0x6c83 029839 store 2 ,mem_nl_rx_data_src 
+0x6c84 029840 copy temp ,contw 
+0x6c85 029841 fetch 1 ,mem_rfcomm_send_fcs 
+0x6c86 029842 istore 1 ,contw 
+0x6c87 029843 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+0x6c88 029844 copy pdata ,contw 
+0x6c89 029845 fetch 2 ,mem_current_packet_length 
+0x6c8a 029846 fetcht 1 ,mem_rfcomm_send_offset 
+0x6c8b 029847 iadd temp ,pdata 
+0x6c8c 029848 increase 4 ,pdata 
+0x6c8d 029849 istore 2 ,contw 
+0x6c8e 029850 fetch 2 ,mem_rfcomm_remote_cid 
+0x6c8f 029851 istore 2 ,contw 
+0x6c90 029852 jam 0 ,mem_credit_given 
+0x6c91 029853 fetch 2 ,mem_nl_rx_len_all 
+0x6c92 029854 beq 0 ,module_hci_command_tx_spp_tx_complete 
+0x6c93 029855 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x6c94 029856 rtn 
+:      029858 ssp_tx_write_length:
+0x6c95 029859 bpatchx patch36_5 ,mem_patch36 
+0x6c96 029860 fetch 2 ,mem_current_packet_length 
+0x6c97 029861 sub pdata ,0x7f ,null 
+0x6c98 029862 nbranch ssp_tx_write_long_packet ,positive 
+0x6c99 029863 lshift pdata ,pdata 
+0x6c9a 029864 set1 0 ,pdata 
+0x6c9b 029865 istore 1 ,contw 
+0x6c9c 029866 rtn 
+:      029867 ssp_tx_write_long_packet:
+0x6c9d 029868 fetch 2 ,mem_current_packet_length 
+0x6c9e 029869 rshift3 pdata ,pdata 
+0x6c9f 029870 rshift4 pdata ,temp 
+0x6ca0 029871 and_into 0x7f ,pdata 
+0x6ca1 029872 lshift pdata ,pdata 
+0x6ca2 029873 set0 0 ,pdata 
+0x6ca3 029874 istore 1 ,contw 
+0x6ca4 029875 istoret 1 ,contw 
+0x6ca5 029876 rtn 
+:      029877 ssp_tx_write_given_credit:
+0x6ca6 029878 fetch 1 ,mem_credit_given 
+0x6ca7 029879 rtn blank 
+0x6ca8 029880 istore 1 ,contw 
+0x6ca9 029881 rtn 
+:      029886 scheduler_process:
+0x6caa 029887 bpatchx patch36_6 ,mem_patch36 
+0x6cab 029888 call check_51cmd 
+0x6cac 029889 call app_process_bb_event 
+0x6cad 029890 call process_conn_sm 
+0x6cae 029892 bpatchx patch36_7 ,mem_patch36 
+0x6caf 029893 call sp_calc_sequence 
+0x6cb0 029894 call simple_pairing_sequence 
+0x6cb1 029895 call master_simple_paring_sequence 
+0x6cb2 029898 call l2cap_malloc_is_fifo_full 
+0x6cb3 029899 nrtn blank 
+0x6cb4 029901 call l2cap_call_proc_sigal_pending 
+0x6cb5 029902 call l2cap_malloc_is_fifo_full 
+0x6cb6 029903 nrtn blank 
+0x6cb7 029904 bpatchx patch37_0 ,mem_patch37 
+0x6cb8 029906 call process_upper_sm 
+0x6cb9 029907 call l2cap_send_config_req 
+0x6cba 029908 call rfcomm_send_more_pkt 
+:      029909 scheduler_process0:
+0x6cbb 029910 call scheduler_tx_disconnect_hid 
+0x6cbc 029911 bpatchx patch37_1 ,mem_patch37 
+0x6cbd 029914 branch app_process_bt 
+:      029916 scheduler_tx_disconnect_hid:
+0x6cbe 029917 fetch 1 ,mem_control_tasks 
+0x6cbf 029918 bbit1 l2cap_disconnect_interrupt ,l2cap_disconnect_interrupt_req 
+0x6cc0 029919 bbit1 l2cap_disconnect_control ,l2cap_disconnect_control_req 
+0x6cc1 029920 rtn 
+:      029922 scheduler_tx_l2cap_pkt:
+0x6cc2 029923 bpatchx patch37_2 ,mem_patch37 
+0x6cc3 029924 call l2cap_malloc_is_fifo_empty 
+0x6cc4 029925 rtn blank 
+0x6cc5 029926 fetch 1 ,mem_op 
+0x6cc6 029927 rtnbit1 op_txl2cap 
+0x6cc7 029928 call l2cap_malloc_fifo_out 
+0x6cc8 029929 store 2 ,mem_txptr 
+0x6cc9 029930 copy pdata ,contr 
+0x6cca 029931 ifetch 2 ,contr 
+0x6ccb 029932 increase 4 ,pdata 
+0x6ccc 029933 store 2 ,mem_tx_len 
+0x6ccd 029934 jam 6 ,mem_tx_lch 
+0x6cce 029935 bpatchx patch37_3 ,mem_patch37 
+0x6ccf 029936 fetch 2 ,mem_l2cap_tx_multi_offset 
+0x6cd0 029937 branch scheduler_tx_l2cap_start_pkt ,blank 
+0x6cd1 029938 fetch 1 ,mem_op 
+0x6cd2 029939 rtnbit0 op_pkt_comp 
+0x6cd3 029940 set0 op_pkt_comp ,pdata 
+0x6cd4 029941 store 1 ,mem_op 
+0x6cd5 029942 jam 5 ,mem_tx_lch 
+0x6cd6 029943 fetcht 2 ,mem_l2cap_tx_multi_offset 
+0x6cd7 029944 fetch 2 ,mem_txptr 
+0x6cd8 029945 iadd temp ,pdata 
+0x6cd9 029946 store 2 ,mem_txptr 
+0x6cda 029947 fetch 2 ,mem_tx_len 
+0x6cdb 029948 isub temp ,pdata 
+0x6cdc 029949 store 2 ,mem_tx_len 
+:      029950 scheduler_tx_l2cap_start_pkt:
+0x6cdd 029951 bpatchx patch37_4 ,mem_patch37 
+0x6cde 029952 fetch 2 ,mem_tx_len 
+0x6cdf 029953 branch assert ,blank 
+0x6ce0 029954 arg l2cap_max_pkt_len ,temp 
+0x6ce1 029955 isub temp ,pdata 
+0x6ce2 029956 nbranch scheduler_tx_l2cap_last_pkt ,positive 
+0x6ce3 029957 bpatchx patch37_5 ,mem_patch37 
+0x6ce4 029958 storet 2 ,mem_tx_len 
+0x6ce5 029959 fetch 2 ,mem_l2cap_tx_multi_offset 
+0x6ce6 029960 iadd temp ,pdata 
+0x6ce7 029961 store 2 ,mem_l2cap_tx_multi_offset 
+0x6ce8 029962 branch scheduler_tx_l2cap_pkt_end 
+:      029963 scheduler_tx_l2cap_last_pkt:
+0x6ce9 029964 setarg 0 
+0x6cea 029965 store 2 ,mem_l2cap_tx_multi_offset 
+:      029966 scheduler_tx_l2cap_pkt_end:
+0x6ceb 029967 fetch 1 ,mem_op 
+0x6cec 029968 set1 op_txl2cap ,pdata 
+0x6ced 029969 store 1 ,mem_op 
+0x6cee 029970 rtn 
+:      029972 scheduler_start_upper_sm:
+0x6cef 029973 fetch 1 ,mem_ui_profile_supported 
+0x6cf0 029974 bbit1 support_hid ,scheduler_start_upper_sm_hid 
+0x6cf1 029975 jam uppersm_reconn_sdp_conn ,mem_upper_sm_reconn 
+0x6cf2 029976 rtn 
+:      029977 scheduler_start_upper_sm_hid:
+0x6cf3 029978 jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+0x6cf4 029979 rtn 
+:      029981 process_upper_sm:
+0x6cf5 029982 fetch 1 ,memui_reconnect_mode 
+0x6cf6 029983 nbranch process_upper_sm_reconn ,blank 
+:      029984 process_upper_sm_remote_page:
+0x6cf7 029985 fetch 1 ,mem_upper_sm_remote_page 
+0x6cf8 029987 rtn blank 
+0x6cf9 029989 jam 0 ,mem_upper_sm_remote_page 
+:      029990 process_upper_sm_rp_wait:
+0x6cfa 029991 rtn 
+:      029994 process_upper_sm_reconn:
+0x6cfb 029995 bpatchx patch37_6 ,mem_patch37 
+0x6cfc 029996 fetch 1 ,mem_upper_sm_reconn 
+0x6cfd 029997 rtn blank 
+0x6cfe 029998 beq uppersm_reconn_sdp_conn ,process_upper_sm_reconn_sdp_conn 
+0x6cff 029999 beq uppersm_reconn_sdp_conn_wait ,process_upper_sm_reconn_sdp_conn_wait 
+0x6d00 030000 beq uppersm_reconn_sdp_cfg ,process_upper_sm_reconn_sdp_cfg 
+0x6d01 030001 beq uppersm_reconn_sdp_cfg_wait ,process_upper_sm_reconn_sdp_cfg_wait 
+0x6d02 030002 beq uppersm_reconn_ss_spp ,process_upper_sm_reconn_ss_spp 
+0x6d03 030003 beq uppersm_reconn_ss_spp_wait ,process_upper_sm_reconn_ss_spp_wait 
+0x6d04 030004 beq uppersm_reconn_sdp_disconn ,process_upper_sm_reconn_sdp_disconn 
+0x6d05 030005 beq uppersm_reconn_sdp_disconn_wait ,process_upper_sm_reconn_sdp_disconn_wait 
+0x6d06 030006 beq uppersm_reconn_hid_ctrl_conn ,process_upper_sm_reconn_hid_ctrl_conn 
+0x6d07 030007 beq uppersm_reconn_hid_ctrl_conn_wait ,process_upper_sm_reconn_hid_ctrl_conn_wait 
+0x6d08 030008 beq uppersm_reconn_hid_ctrl_cfg ,process_upper_sm_reconn_hid_ctrl_cfg 
+0x6d09 030009 beq uppersm_reconn_hid_ctrl_cfg_wait ,process_upper_sm_reconn_hid_ctrl_cfg_wait 
+0x6d0a 030010 beq uppersm_reconn_hid_int_conn ,process_upper_sm_reconn_hid_int_conn 
+0x6d0b 030011 beq uppersm_reconn_hid_int_conn_wait ,process_upper_sm_reconn_hid_int_conn_wait 
+0x6d0c 030012 beq uppersm_reconn_hid_int_cfg ,process_upper_sm_reconn_hid_int_cfg 
+0x6d0d 030013 beq uppersm_reconn_hid_int_cfg_wait ,process_upper_sm_reconn_hid_int_cfg_wait 
+0x6d0e 030014 beq uppersm_reconn_rfcomm_conn ,process_upper_sm_reconn_rfcomm_conn 
+0x6d0f 030015 beq uppersm_reconn_rfcomm_conn_wait ,process_upper_sm_reconn_rfcomm_conn_wait 
+0x6d10 030016 beq uppersm_reconn_rfcomm_cfg ,process_upper_sm_reconn_rfcomm_cfg 
+0x6d11 030017 beq uppersm_reconn_rfcomm_cfg_wait ,process_upper_sm_reconn_rfcomm_cfg_wait 
+0x6d12 030018 beq uppersm_reconn_rfcomm_sabm ,process_upper_sm_reconn_rfcomm_sabm 
+0x6d13 030019 beq uppersm_reconn_rfcomm_sabm_wait ,process_upper_sm_reconn_rfcomm_sabm_wait 
+0x6d14 030020 beq uppersm_reconn_spp_cmd_pn ,process_upper_sm_reconn_spp_cmd_pn 
+0x6d15 030021 beq uppersm_reconn_spp_cmd_pn_wait ,process_upper_sm_reconn_spp_cmd_pn_wait 
+0x6d16 030022 beq uppersm_reconn_spp_sabm ,process_upper_sm_reconn_spp_sabm 
+0x6d17 030023 beq uppersm_reconn_spp_sabm_wait ,process_upper_sm_reconn_spp_sabm_wait 
+0x6d18 030024 beq uppersm_reconn_spp_cmd_ms ,process_upper_sm_reconn_spp_cmd_ms 
+0x6d19 030025 beq uppersm_reconn_spp_cmd_ms_wait ,process_upper_sm_reconn_spp_cmd_ms_wait 
+:      030026 process_upper_sm_reconn_wait:
+0x6d1a 030027 rtn 
+:      030028 process_upper_sm_reconn_sdp_conn:
+0x6d1b 030029 call upper_sm_send_sdp_conn 
+0x6d1c 030030 jam uppersm_reconn_sdp_conn_wait ,mem_upper_sm_reconn 
+0x6d1d 030031 fetch 1 ,mem_sdp_state 
+0x6d1e 030032 set1 l2cap_channel_state_conn_req ,pdata 
+0x6d1f 030033 store 1 ,mem_sdp_state 
+0x6d20 030034 rtn 
+:      030035 process_upper_sm_reconn_sdp_cfg:
+0x6d21 030036 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+0x6d22 030037 fetch 1 ,mem_sdp_state 
+0x6d23 030038 rtnbit1 l2cap_channel_state_snd_cfg_req 
+0x6d24 030039 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+0x6d25 030040 call upper_sm_send_sdp_cfg 
+0x6d26 030041 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+0x6d27 030042 fetch 1 ,mem_sdp_state 
+0x6d28 030043 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6d29 030044 store 1 ,mem_sdp_state 
+0x6d2a 030045 rtn 
+:      030046 process_upper_sm_reconn_ss_spp:
+0x6d2b 030047 call l2cap_malloc_is_fifo_empty 
+0x6d2c 030048 nrtn blank 
+0x6d2d 030049 call upper_sm_send_ss_spp 
+0x6d2e 030050 jam uppersm_reconn_ss_spp_wait ,mem_upper_sm_reconn 
+0x6d2f 030051 rtn 
+:      030052 process_upper_sm_reconn_sdp_disconn:
+0x6d30 030053 call upper_sm_send_sdp_disconn 
+0x6d31 030054 jam uppersm_reconn_sdp_disconn_wait ,mem_upper_sm_reconn 
+0x6d32 030055 rtn 
+:      030056 process_upper_sm_reconn_hid_ctrl_conn:
+0x6d33 030057 call upper_sm_send_hid_ctrl_conn 
+0x6d34 030058 jam uppersm_reconn_hid_ctrl_conn_wait ,mem_upper_sm_reconn 
+0x6d35 030059 fetch 1 ,mem_hid_control_state 
+0x6d36 030060 set1 l2cap_channel_state_conn_req ,pdata 
+0x6d37 030061 store 1 ,mem_hid_control_state 
+0x6d38 030062 rtn 
+:      030063 process_upper_sm_reconn_hid_ctrl_cfg:
+0x6d39 030064 call upper_sm_send_hid_ctrl_cfg 
+0x6d3a 030065 jam uppersm_reconn_hid_ctrl_cfg_wait ,mem_upper_sm_reconn 
+0x6d3b 030066 fetch 1 ,mem_hid_control_state 
+0x6d3c 030067 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6d3d 030068 store 1 ,mem_hid_control_state 
+0x6d3e 030069 rtn 
+:      030070 process_upper_sm_reconn_hid_int_conn:
+0x6d3f 030071 call upper_sm_send_hid_int_conn 
+0x6d40 030072 jam uppersm_reconn_hid_int_conn_wait ,mem_upper_sm_reconn 
+0x6d41 030073 fetch 1 ,mem_hid_interrupt_state 
+0x6d42 030074 set1 l2cap_channel_state_conn_req ,pdata 
+0x6d43 030075 store 1 ,mem_hid_interrupt_state 
+0x6d44 030076 rtn 
+:      030077 process_upper_sm_reconn_hid_int_cfg:
+0x6d45 030078 call upper_sm_send_hid_int_cfg 
+0x6d46 030079 jam uppersm_reconn_hid_int_cfg_wait ,mem_upper_sm_reconn 
+0x6d47 030080 fetch 1 ,mem_hid_interrupt_state 
+0x6d48 030081 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6d49 030082 store 1 ,mem_hid_interrupt_state 
+0x6d4a 030083 rtn 
+:      030084 process_upper_sm_reconn_rfcomm_conn:
+0x6d4b 030085 call upper_sm_send_rfcomm_conn 
+0x6d4c 030086 jam uppersm_reconn_rfcomm_conn_wait ,mem_upper_sm_reconn 
+0x6d4d 030087 fetch 1 ,mem_rfcomm_state 
+0x6d4e 030088 set1 l2cap_channel_state_conn_req ,pdata 
+0x6d4f 030089 store 1 ,mem_rfcomm_state 
+0x6d50 030090 rtn 
+:      030091 process_upper_sm_reconn_rfcomm_cfg:
+0x6d51 030092 call upper_sm_send_rfcomm_cfg 
+0x6d52 030093 jam uppersm_reconn_rfcomm_cfg_wait ,mem_upper_sm_reconn 
+0x6d53 030094 fetch 1 ,mem_rfcomm_state 
+0x6d54 030095 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6d55 030096 store 1 ,mem_rfcomm_state 
+0x6d56 030097 rtn 
+:      030098 process_upper_sm_reconn_rfcomm_sabm:
+0x6d57 030099 call upper_sm_send_rfcomm_sabm 
+0x6d58 030100 jam uppersm_reconn_rfcomm_sabm_wait ,mem_upper_sm_reconn 
+0x6d59 030101 fetch 1 ,mem_rfcomm_state 
+0x6d5a 030102 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+0x6d5b 030103 store 1 ,mem_rfcomm_state 
+0x6d5c 030104 rtn 
+:      030105 process_upper_sm_reconn_spp_cmd_pn:
+0x6d5d 030106 call upper_sm_send_spp_cmd_pn 
+0x6d5e 030107 fetch 1 ,mem_spp_state 
+0x6d5f 030108 set1 rfcomm_channel_state_pn_cmd 
+0x6d60 030109 store 1 ,mem_spp_state 
+0x6d61 030110 jam uppersm_reconn_spp_cmd_pn_wait ,mem_upper_sm_reconn 
+0x6d62 030111 rtn 
+:      030112 process_upper_sm_reconn_spp_sabm:
+0x6d63 030113 call upper_sm_send_spp_sabm 
+0x6d64 030114 fetch 1 ,mem_spp_state 
+0x6d65 030115 set1 rfcomm_channel_state_sabm 
+0x6d66 030116 store 1 ,mem_spp_state 
+0x6d67 030117 jam uppersm_reconn_spp_sabm_wait ,mem_upper_sm_reconn 
+0x6d68 030118 fetch 1 ,mem_remote_spp_channel 
+0x6d69 030119 lshift3 pdata ,pdata 
+0x6d6a 030120 or_into 3 ,pdata 
+0x6d6b 030121 arg mem_hiufcs_spp ,temp 
+0x6d6c 030122 storet 2 ,mem_contw_temp 
+0x6d6d 030123 branch rfcomm_save_fcs_uih 
+:      030124 process_upper_sm_reconn_spp_cmd_ms:
+0x6d6e 030125 call upper_sm_send_spp_cmd_ms 
+0x6d6f 030126 fetch 1 ,mem_spp_state 
+0x6d70 030127 set1 rfcomm_channel_state_snd_ms_cmd 
+0x6d71 030128 store 1 ,mem_spp_state 
+0x6d72 030129 jam uppersm_reconn_spp_cmd_ms_wait ,mem_upper_sm_reconn 
+0x6d73 030130 rtn 
+:      030132 process_upper_sm_reconn_sdp_conn_wait:
+0x6d74 030133 fetch 1 ,mem_sdp_state 
+0x6d75 030134 rtnbit0 l2cap_channel_state_conn_res 
+0x6d76 030135 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+0x6d77 030136 branch process_upper_sm_reconn 
+:      030137 process_upper_sm_reconn_sdp_cfg_wait:
+0x6d78 030138 fetch 1 ,mem_sdp_state 
+0x6d79 030139 rtnne l2cap_channel_setup_complete 
+0x6d7a 030140 jam uppersm_reconn_ss_spp ,mem_upper_sm_reconn 
+:      030141 process_upper_sm_reconn_ss_spp_wait:
+0x6d7b 030142 fetch 1 ,mem_message_to_uppersm 
+0x6d7c 030143 rtnne recieve_ss_reasult_hf 
+0x6d7d 030144 jam 0 ,mem_message_to_uppersm 
+0x6d7e 030145 jam uppersm_reconn_sdp_disconn ,mem_upper_sm_reconn 
+0x6d7f 030146 branch process_upper_sm_reconn 
+:      030147 process_upper_sm_reconn_sdp_disconn_wait:
+0x6d80 030148 fetch 1 ,mem_sdp_state 
+0x6d81 030149 nrtn blank 
+0x6d82 030150 fetch 1 ,mem_ui_profile_supported 
+0x6d83 030151 bbit1 support_hid ,process_upper_sm_reconn_setup_hid 
+0x6d84 030152 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+0x6d85 030153 branch process_upper_sm_reconn_termination 
+:      030154 process_upper_sm_reconn_hid_ctrl_conn_wait:
+0x6d86 030155 fetch 1 ,mem_hid_control_state 
+0x6d87 030156 rtnbit0 l2cap_channel_state_conn_res 
+0x6d88 030157 jam uppersm_reconn_hid_ctrl_cfg ,mem_upper_sm_reconn 
+0x6d89 030158 branch process_upper_sm_reconn 
+:      030159 process_upper_sm_reconn_hid_ctrl_cfg_wait:
+0x6d8a 030160 fetch 1 ,mem_hid_control_state 
+0x6d8b 030161 rtnne l2cap_channel_setup_complete 
+0x6d8c 030162 jam uppersm_reconn_hid_int_conn ,mem_upper_sm_reconn 
+0x6d8d 030163 branch process_upper_sm_reconn 
+:      030164 process_upper_sm_reconn_hid_int_conn_wait:
+0x6d8e 030165 fetch 1 ,mem_hid_interrupt_state 
+0x6d8f 030166 rtnbit0 l2cap_channel_state_conn_res 
+0x6d90 030167 jam uppersm_reconn_hid_int_cfg ,mem_upper_sm_reconn 
+0x6d91 030168 branch process_upper_sm_reconn 
+:      030169 process_upper_sm_reconn_hid_int_cfg_wait:
+0x6d92 030170 fetch 1 ,mem_hid_interrupt_state 
+0x6d93 030171 rtnne l2cap_channel_setup_complete 
+0x6d94 030172 fetch 1 ,mem_ui_profile_supported 
+0x6d95 030173 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+0x6d96 030174 branch process_upper_sm_reconn_termination 
+:      030175 process_upper_sm_reconn_rfcomm_conn_wait:
+0x6d97 030176 fetch 1 ,mem_rfcomm_state 
+0x6d98 030177 rtnbit0 l2cap_channel_state_conn_res 
+0x6d99 030178 jam uppersm_reconn_rfcomm_cfg ,mem_upper_sm_reconn 
+0x6d9a 030179 branch process_upper_sm_reconn 
+:      030180 process_upper_sm_reconn_rfcomm_cfg_wait:
+0x6d9b 030181 fetch 1 ,mem_rfcomm_state 
+0x6d9c 030182 rtnne l2cap_channel_setup_complete 
+0x6d9d 030183 jam uppersm_reconn_rfcomm_sabm ,mem_upper_sm_reconn 
+0x6d9e 030184 branch process_upper_sm_reconn 
+:      030185 process_upper_sm_reconn_rfcomm_sabm_wait:
+0x6d9f 030186 fetch 1 ,mem_rfcomm_state 
+0x6da0 030187 rtnne l2cap_channel_rfcomm_dlci0_opened 
+0x6da1 030188 fetch 1 ,mem_ui_profile_supported 
+0x6da2 030189 bbit1 support_spp ,process_upper_sm_reconn_setup_spp 
+0x6da3 030190 branch process_upper_sm_reconn_termination 
+:      030191 process_upper_sm_reconn_spp_cmd_pn_wait:
+0x6da4 030192 fetch 1 ,mem_spp_state 
+0x6da5 030193 rtnbit0 rfcomm_channel_state_pn_res 
+0x6da6 030194 jam uppersm_reconn_spp_sabm ,mem_upper_sm_reconn 
+0x6da7 030195 branch process_upper_sm_reconn 
+:      030196 process_upper_sm_reconn_spp_sabm_wait:
+0x6da8 030197 fetch 1 ,mem_spp_state 
+0x6da9 030198 rtnbit0 rfcomm_channel_state_ua 
+0x6daa 030199 jam uppersm_reconn_spp_cmd_ms ,mem_upper_sm_reconn 
+0x6dab 030200 branch process_upper_sm_reconn 
+:      030201 process_upper_sm_reconn_spp_cmd_ms_wait:
+0x6dac 030202 fetch 1 ,mem_spp_state 
+0x6dad 030203 rtnne rfcomm_channel_setup_complete 
+0x6dae 030204 branch process_upper_sm_reconn_termination 
+:      030206 process_upper_sm_reconn_setup_hid:
+0x6daf 030207 jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+0x6db0 030208 branch process_upper_sm_reconn 
+:      030210 process_upper_sm_reconn_setup_rfcomm:
+0x6db1 030211 jam uppersm_reconn_rfcomm_conn ,mem_upper_sm_reconn 
+0x6db2 030212 branch process_upper_sm_reconn 
+:      030213 process_upper_sm_reconn_setup_spp:
+0x6db3 030214 jam uppersm_reconn_spp_cmd_pn ,mem_upper_sm_reconn 
+0x6db4 030215 branch process_upper_sm_reconn 
+:      030219 process_upper_sm_reconn_termination:
+0x6db5 030220 jam 0 ,mem_upper_sm_reconn 
+0x6db6 030221 rtn 
+:      030222 upper_sm_send_sdp_conn:
+0x6db7 030223 bpatchx patch37_7 ,mem_patch37 
+0x6db8 030224 call l2cap_malloc_signal_channel 
+0x6db9 030225 setarg psm_sdp 
+0x6dba 030226 copy pdata ,temp 
+0x6dbb 030227 setarg l2cap_sdp_channel 
+0x6dbc 030228 copy pdata ,timeup 
+0x6dbd 030229 branch ml2cap_send_signal_connect_req 
+:      030231 upper_sm_send_sdp_cfg:
+0x6dbe 030232 bpatchx patch38_0 ,mem_patch38 
+0x6dbf 030233 call l2cap_malloc_signal_channel 
+0x6dc0 030234 fetch 2 ,mem_sdp_remote_cid 
+0x6dc1 030235 copy pdata ,temp 
+0x6dc2 030236 branch ml2cap_send_signal_config_req 
+:      030238 upper_sm_send_sdp_disconn:
+0x6dc3 030239 bpatchx patch38_1 ,mem_patch38 
+0x6dc4 030240 call l2cap_malloc_signal_channel 
+0x6dc5 030241 fetch 2 ,mem_sdp_remote_cid 
+0x6dc6 030242 copy pdata ,temp 
+0x6dc7 030243 arg l2cap_sdp_channel ,timeup 
+0x6dc8 030244 call ml2cap_send_signal_disconn_req 
+0x6dc9 030245 fetch 1 ,mem_sdp_state 
+0x6dca 030246 set0 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x6dcb 030247 store 1 ,mem_sdp_state 
+0x6dcc 030248 rtn 
+:      030250 upper_sm_send_ss_spp:
+0x6dcd 030251 bpatchx patch38_2 ,mem_patch38 
+0x6dce 030252 call l2cap_malloc_sdp_channel 
+0x6dcf 030253 call sdp_send_spp_request 
+0x6dd0 030254 branch msdp_send_req_done 
+:      030256 upper_sm_send_rfcomm_conn:
+0x6dd1 030257 bpatchx patch38_3 ,mem_patch38 
+0x6dd2 030258 call l2cap_malloc_signal_channel 
+0x6dd3 030259 setarg psm_rfcomm 
+0x6dd4 030260 copy pdata ,temp 
+0x6dd5 030261 setarg l2cap_rfcomm_channel 
+0x6dd6 030262 copy pdata ,timeup 
+0x6dd7 030263 branch ml2cap_send_signal_connect_req 
+:      030265 upper_sm_send_rfcomm_cfg:
+0x6dd8 030266 bpatchx patch38_4 ,mem_patch38 
+0x6dd9 030267 call l2cap_malloc_signal_channel 
+0x6dda 030268 fetch 2 ,mem_rfcomm_remote_cid 
+0x6ddb 030269 copy pdata ,temp 
+0x6ddc 030270 branch ml2cap_send_signal_config_req 
+:      030272 upper_sm_send_hid_ctrl_conn:
+0x6ddd 030273 bpatchx patch38_5 ,mem_patch38 
+0x6dde 030274 call l2cap_malloc_signal_channel 
+0x6ddf 030275 setarg psm_hid_control 
+0x6de0 030276 copy pdata ,temp 
+0x6de1 030277 setarg l2cap_hid_control_channel 
+0x6de2 030278 copy pdata ,timeup 
+0x6de3 030279 branch ml2cap_send_signal_connect_req 
+:      030281 upper_sm_send_hid_ctrl_cfg:
+0x6de4 030282 bpatchx patch38_6 ,mem_patch38 
+0x6de5 030283 call l2cap_malloc_signal_channel 
+0x6de6 030284 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x6de7 030285 copy pdata ,temp 
+0x6de8 030286 branch ml2cap_send_signal_config_req 
+:      030288 upper_sm_send_hid_int_conn:
+0x6de9 030289 bpatchx patch38_7 ,mem_patch38 
+0x6dea 030290 call l2cap_malloc_signal_channel 
+0x6deb 030291 setarg psm_hid_interrupt 
+0x6dec 030292 copy pdata ,temp 
+0x6ded 030293 setarg l2cap_hid_interrupt_channel 
+0x6dee 030294 copy pdata ,timeup 
+0x6def 030295 branch ml2cap_send_signal_connect_req 
+:      030297 upper_sm_send_hid_int_cfg:
+0x6df0 030298 bpatchx patch39_0 ,mem_patch39 
+0x6df1 030299 call l2cap_malloc_signal_channel 
+0x6df2 030300 fetch 2 ,mem_hid_int_remote_cid 
+0x6df3 030301 copy pdata ,temp 
+0x6df4 030302 branch ml2cap_send_signal_config_req 
+:      030304 upper_sm_send_rfcomm_sabm:
+0x6df5 030305 bpatchx patch39_1 ,mem_patch39 
+0x6df6 030306 call l2cap_malloc_rfcomm_channel 
+0x6df7 030308 jam 3 ,mem_current_adss 
+0x6df8 030309 jam 0x1c ,mem_current_fcs 
+0x6df9 030310 call rfcomm_send_sabm 
+0x6dfa 030311 jam 1 ,mem_rfcomm_initiator 
+0x6dfb 030312 rtn 
+:      030314 upper_sm_send_spp_cmd_pn:
+0x6dfc 030315 bpatchx patch39_2 ,mem_patch39 
+0x6dfd 030316 call l2cap_malloc_rfcomm_channel 
+0x6dfe 030317 fetcht 1 ,mem_remote_spp_channel 
+0x6dff 030318 call channel_to_dlci 
+0x6e00 030319 storet 1 ,mem_pn_dlci 
+0x6e01 030320 branch rfcomm_send_param_neg_cmd 
+:      030322 upper_sm_send_spp_sabm:
+0x6e02 030323 bpatchx patch39_3 ,mem_patch39 
+0x6e03 030324 call l2cap_malloc_rfcomm_channel 
+0x6e04 030325 fetcht 1 ,mem_pn_dlci 
+0x6e05 030326 call dlci_to_address_cmd 
+0x6e06 030327 call rfcomm_calculate_fcs_sabm 
+0x6e07 030328 store 1 ,mem_current_fcs 
+0x6e08 030329 fetcht 1 ,mem_pn_dlci 
+0x6e09 030330 call dlci_to_address_cmd 
+0x6e0a 030331 storet 1 ,mem_current_adss 
+0x6e0b 030332 branch rfcomm_send_sabm 
+:      030334 upper_sm_send_spp_cmd_ms:
+0x6e0c 030335 bpatchx patch39_4 ,mem_patch39 
+0x6e0d 030336 call l2cap_malloc_rfcomm_channel 
+0x6e0e 030337 fetcht 1 ,mem_pn_dlci 
+0x6e0f 030338 call dlci_to_address_cmd 
+0x6e10 030339 branch rfcomm_send_modem_status_cmd 
+:      030352 sdp_process:
+0x6e11 030353 bpatchx patch39_5 ,mem_patch39 
+0x6e12 030354 fetch 2 ,mem_l2cap_payload_ptr 
+0x6e13 030355 iforce contr 
+0x6e14 030358 ifetch 1 ,contr 
+0x6e15 030359 copy pdata ,regb 
+0x6e16 030360 store 1 ,mem_sdp_pduid 
+0x6e17 030361 ifetch 2 ,contr 
+0x6e18 030362 store 2 ,mem_sdp_transactionid 
+0x6e19 030363 ifetch 1 ,contr 
+0x6e1a 030364 lshift8 pdata ,timeup 
+0x6e1b 030365 ifetch 1 ,contr 
+0x6e1c 030366 iadd timeup ,timeup 
+0x6e1d 030367 bpatchx patch39_6 ,mem_patch39 
+0x6e1e 030368 copy contr ,temp 
+0x6e1f 030369 arg 4 ,loopcnt 
+0x6e20 030370 arg mem_sdp_handle_list ,contw 
+0x6e21 030371 call memset0 
+0x6e22 030372 copy temp ,contr 
+0x6e23 030373 deposit regb 
+0x6e24 030374 beq sdp_error_res ,sdp_process_error_res 
+0x6e25 030375 beq sdp_search_req ,sdp_process_ss_req 
+0x6e26 030376 beq sdp_search_res ,sdp_process_ss_res 
+0x6e27 030377 beq sdp_attribute_req ,sdp_process_sa_req 
+0x6e28 030378 beq sdp_attribute_res ,sdp_process_sa_res 
+0x6e29 030379 beq sdp_searchattrib_req ,sdp_process_ssa_req 
+0x6e2a 030380 beq sdp_searchattrib_res ,sdp_process_ssa_res 
+0x6e2b 030381 branch sdp_insufficient_resource 
+:      030392 sdp_process_ss_req:
+0x6e2c 030393 bpatchx patch39_7 ,mem_patch39 
+0x6e2d 030394 call ask_serviceclassid 
+0x6e2e 030395 compare 1 ,temp ,0xff 
+0x6e2f 030396 branch ss_empty_rsp ,true 
+0x6e30 030397 compare 0xff ,temp ,0xff 
+0x6e31 030398 branch sdp_invalid_request_syntax ,true 
+0x6e32 030400 ifetch 2 ,contr 
+0x6e33 030401 store 2 ,mem_sdp_record_maxcnt 
+0x6e34 030402 increase -2 ,timeup 
+0x6e35 030404 increase -1 ,timeup 
+0x6e36 030405 nbranch sdp_invalid_pdu_size ,zero 
+0x6e37 030406 arg mem_sdp_uuid_search_ptr ,timeup 
+0x6e38 030407 ifetch 2 ,timeup 
+0x6e39 030408 rtn blank 
+0x6e3a 030409 call search_all_uuid 
+0x6e3b 030410 call l2cap_get_sdp_tx_payload 
+0x6e3c 030411 force 3 ,pdata 
+0x6e3d 030412 istore 1 ,contw 
+0x6e3e 030413 fetch 2 ,mem_sdp_transactionid 
+0x6e3f 030414 istore 2 ,contw 
+0x6e40 030415 lshift2 queue ,pdata 
+0x6e41 030416 add pdata ,5 ,pdata 
+0x6e42 030417 add pdata ,5 ,regc 
+0x6e43 030418 byteswap pdata ,pdata 
+0x6e44 030419 istore 2 ,contw 
+0x6e45 030420 deposit queue 
+0x6e46 030421 byteswap pdata ,pdata 
+0x6e47 030422 istore 2 ,contw 
+0x6e48 030423 istore 2 ,contw 
+0x6e49 030424 arg mem_sdp_handle_list ,contr 
+0x6e4a 030425 copy queue ,loopcnt 
+0x6e4b 030426 branch ss_req_blank ,zero 
+:      030427 ss_req_loop:
+0x6e4c 030428 ifetch 4 ,contr 
+0x6e4d 030429 istore 4 ,contw 
+0x6e4e 030430 loop ss_req_loop 
+:      030431 ss_req_blank:
+0x6e4f 030432 force 0 ,pdata 
+0x6e50 030433 istore 1 ,contw 
+0x6e51 030434 deposit regc 
+0x6e52 030435 store 2 ,mem_sdp_tx_pkt_length 
+0x6e53 030437 rtn 
+:      030448 sdp_process_sa_req:
+0x6e54 030449 bpatchx patch3a_0 ,mem_patch3a 
+0x6e55 030450 ifetch 4 ,contr 
+0x6e56 030451 store 4 ,mem_sdp_record_handle 
+0x6e57 030452 increase -4 ,timeup 
+0x6e58 030453 call sdp_store_maxbyte 
+0x6e59 030454 store 2 ,mem_sdp_attribute_maxbyte 
+0x6e5a 030455 increase -2 ,timeup 
+0x6e5b 030456 call dataelementtype6 
+0x6e5c 030457 branch sdp_invalid_request_syntax ,zero 
+0x6e5d 030458 compare 5 ,rega ,0xff 
+0x6e5e 030460 branch sa_judge_wholerange ,true 
+:      030461 sa_isnot_wholerange:
+0x6e5f 030462 arg mem_sdp_attrib_list ,contw 
+0x6e60 030463 force 0 ,queue 
+0x6e61 030464 branch sa_req_loop 
+:      030465 sa_judge_wholerange:
+0x6e62 030466 ifetch 1 ,contr 
+0x6e63 030467 bne sdp_attribute_range ,sdp_invalid_request_syntax 
+0x6e64 030468 ifetch 2 ,contr 
+0x6e65 030469 nbranch sa_judge_wholerange_false1 ,blank 
+0x6e66 030470 ifetch 1 ,contr 
+0x6e67 030471 bne 0xff ,sa_judge_wholerange_false2 
+0x6e68 030472 ifetch 1 ,contr 
+0x6e69 030473 bne 0xff ,sa_judge_wholerange_false3 
+0x6e6a 030474 branch sa_req_all 
+:      030475 sa_judge_wholerange_false3:
+0x6e6b 030476 increase -5 ,contr 
+0x6e6c 030477 branch sa_isnot_wholerange 
+:      030478 sa_judge_wholerange_false2:
+0x6e6d 030479 increase -4 ,contr 
+0x6e6e 030480 branch sa_isnot_wholerange 
+:      030481 sa_judge_wholerange_false1:
+0x6e6f 030482 increase -3 ,contr 
+0x6e70 030483 branch sa_isnot_wholerange 
+:      030484 sa_req_loop:
+0x6e71 030485 ifetch 1 ,contr 
+0x6e72 030486 beq sdp_attribute_id ,sa_req_one_id 
+0x6e73 030487 beq sdp_attribute_range ,sa_req_range 
+:      030488 sa_req_range:
+0x6e74 030489 ifetch 2 ,contr 
+0x6e75 030490 istore 2 ,contw 
+0x6e76 030491 increase 1 ,queue 
+0x6e77 030492 byteswap pdata ,regb 
+0x6e78 030493 ifetch 2 ,contr 
+0x6e79 030494 byteswap pdata ,pdata 
+:      030495 sa_req_range_id_increase:
+0x6e7a 030496 increase 1 ,regb 
+0x6e7b 030497 isub regb ,null 
+0x6e7c 030498 nbranch sa_req_range_id_finish ,positive 
+0x6e7d 030499 copy pdata ,regc 
+0x6e7e 030500 byteswap regb ,pdata 
+0x6e7f 030501 istore 2 ,contw 
+0x6e80 030502 increase 1 ,queue 
+0x6e81 030503 copy regc ,pdata 
+0x6e82 030504 branch sa_req_range_id_increase 
+:      030505 sa_req_range_id_finish:
+0x6e83 030506 increase -5 ,timeup 
+0x6e84 030507 increase -5 ,rega 
+0x6e85 030508 branch sa_req_check_next_id 
+:      030509 sa_req_one_id:
+0x6e86 030510 ifetch 2 ,contr 
+0x6e87 030511 istore 2 ,contw 
+0x6e88 030512 increase 1 ,queue 
+0x6e89 030513 increase -3 ,timeup 
+0x6e8a 030514 increase -3 ,rega 
+:      030515 sa_req_check_next_id:
+0x6e8b 030516 nbranch sdp_invalid_request_syntax ,positive 
+0x6e8c 030517 nbranch sa_req_loop ,zero 
+0x6e8d 030518 increase -1 ,timeup 
+0x6e8e 030519 nbranch sdp_invalid_request_syntax ,zero 
+0x6e8f 030521 call l2cap_get_sdp_tx_payload 
+0x6e90 030522 increase 10 ,contw 
+0x6e91 030523 arg mem_sdp_attrib_list ,rega 
+:      030524 sa_req_handle_attributelist_next:
+0x6e92 030525 copy queue ,pdata 
+0x6e93 030526 branch sa_req_handle_attributelist_end ,blank 
+0x6e94 030527 ifetch 2 ,rega 
+0x6e95 030528 branch sa_req_handle_attributelist_end ,blank 
+0x6e96 030529 iforce regb 
+0x6e97 030530 fetch 4 ,mem_sdp_record_handle 
+0x6e98 030531 iforce temp 
+0x6e99 030532 call search_handle_attrib 
+0x6e9a 030533 copy contr ,pdata 
+0x6e9b 030534 branch sa_req_handle_attributelist_notfound ,blank 
+0x6e9c 030535 increase -3 ,contr 
+0x6e9d 030536 ifetch 3 ,contr 
+0x6e9e 030537 istore 3 ,contw 
+0x6e9f 030538 call sdp_data_len 
+0x6ea0 030539 iforce loopcnt 
+0x6ea1 030540 call memcpy 
+:      030541 sa_req_handle_attributelist_notfound:
+0x6ea2 030542 increase 2 ,rega 
+0x6ea3 030543 increase -1 ,queue 
+0x6ea4 030544 branch sa_req_handle_attributelist_next 
+:      030546 sa_req_handle_attributelist_end:
+0x6ea5 030547 arg sdp_attribute_res ,rega 
+0x6ea6 030548 call ssa_req_range_lastfreg_common 
+0x6ea7 030549 fetch 2 ,mem_sdp_tx_pkt_length 
+0x6ea8 030550 beq 11 ,sa_empty_rsp 
+0x6ea9 030551 branch ssa_req_range_attrbutes_length_no_continue 
+:      030554 sdp_store_continue_common:
+0x6eaa 030555 ifetch 1 ,contr 
+0x6eab 030556 beq 0 ,sdp_store_continue_0byte 
+0x6eac 030557 beq 1 ,sdp_store_continue_1byte 
+0x6ead 030558 beq 2 ,sdp_store_continue_2byte 
+:      030559 sdp_store_continue_0byte:
+0x6eae 030560 increase -1 ,timeup 
+0x6eaf 030561 branch sdp_store_continue_end 
+:      030562 sdp_store_continue_1byte:
+0x6eb0 030563 ifetch 1 ,contr 
+0x6eb1 030564 increase -2 ,timeup 
+0x6eb2 030565 branch sdp_store_continue_end 
+:      030566 sdp_store_continue_2byte:
+0x6eb3 030567 ifetch 2 ,contr 
+0x6eb4 030568 byteswap pdata ,pdata 
+0x6eb5 030569 increase -3 ,timeup 
+:      030570 sdp_store_continue_end:
+0x6eb6 030571 store 2 ,mem_sdp_continue_byte 
+0x6eb7 030572 rtn 
+:      030574 sa_req_all:
+0x6eb8 030575 increase -5 ,timeup 
+0x6eb9 030576 call sdp_store_continue_common 
+0x6eba 030577 nbranch sdp_invalid_pdu_size ,zero 
+0x6ebb 030578 fetcht 4 ,mem_sdp_record_handle 
+0x6ebc 030579 call search_handle 
+0x6ebd 030580 nbranch sdp_invalid_service_record_handle ,zero 
+0x6ebe 030581 copy contr ,rega 
+0x6ebf 030582 call l2cap_get_sdp_tx_payload 
+0x6ec0 030583 copy rega ,contr 
+0x6ec1 030584 increase 3 ,contw 
+0x6ec2 030585 copy contr ,timeup 
+0x6ec3 030586 call sdp_get_data 
+0x6ec4 030587 copy pdata ,rega 
+0x6ec5 030589 fetch 2 ,mem_sdp_continue_byte 
+0x6ec6 030590 copy pdata ,regb 
+0x6ec7 030591 copy rega ,pdata 
+0x6ec8 030592 isub regb ,regb 
+0x6ec9 030593 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x6eca 030594 isub regb ,null 
+0x6ecb 030595 nbranch sa_req_all_fragment_sdp ,positive 
+0x6ecc 030597 disable user 
+0x6ecd 030598 fetch 2 ,mem_sdp_continue_byte 
+0x6ece 030599 branch sa_req_all_fisrt_fragment ,blank 
+0x6ecf 030600 iadd timeup ,contr 
+0x6ed0 030601 increase 3 ,regb 
+0x6ed1 030602 copy regb ,loopcnt 
+0x6ed2 030603 copy loopcnt ,pdata 
+0x6ed3 030604 increase 3 ,pdata 
+0x6ed4 030605 byteswap pdata ,pdata 
+0x6ed5 030606 istore 2 ,contw 
+0x6ed6 030607 copy loopcnt ,pdata 
+0x6ed7 030608 byteswap pdata ,pdata 
+0x6ed8 030609 istore 2 ,contw 
+0x6ed9 030610 branch sa_req_all_answer_attributelist_full_loop 
+:      030611 sa_req_all_fisrt_fragment:
+0x6eda 030612 add rega ,6 ,loopcnt 
+0x6edb 030613 branch sa_req_all_parlength_continue_byte ,user 
+0x6edc 030614 byteswap loopcnt ,pdata 
+0x6edd 030615 branch sa_req_all_parlength_continue_byte_end 
+:      030616 sa_req_all_parlength_continue_byte:
+0x6ede 030617 copy loopcnt ,pdata 
+0x6edf 030618 increase 2 ,pdata 
+0x6ee0 030619 byteswap pdata ,pdata 
+:      030620 sa_req_all_parlength_continue_byte_end:
+0x6ee1 030621 istore 2 ,contw 
+0x6ee2 030622 increase -3 ,loopcnt 
+0x6ee3 030623 byteswap loopcnt ,pdata 
+0x6ee4 030624 istore 2 ,contw 
+0x6ee5 030625 copy timeup ,contr 
+0x6ee6 030626 branch sa_req_all_answer_attributelist_full_loop 
+:      030627 sa_req_all_fragment_sdp:
+0x6ee7 030628 enable user 
+0x6ee8 030630 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x6ee9 030631 copy pdata ,rega 
+0x6eea 030632 copy rega ,loopcnt 
+0x6eeb 030633 fetch 2 ,mem_sdp_continue_byte 
+0x6eec 030634 branch sa_req_all_fisrt_fragment ,blank 
+0x6eed 030635 iadd timeup ,contr 
+0x6eee 030636 copy rega ,pdata 
+0x6eef 030637 increase 5 ,pdata 
+0x6ef0 030638 byteswap pdata ,pdata 
+0x6ef1 030639 istore 2 ,contw 
+0x6ef2 030640 copy rega ,pdata 
+0x6ef3 030641 byteswap pdata ,pdata 
+0x6ef4 030642 istore 2 ,contw 
+:      030643 sa_req_all_answer_attributelist_full_loop:
+0x6ef5 030644 call memcpy 
+0x6ef6 030645 nbranch sa_req_all_last_frag_continue ,user 
+0x6ef7 030646 force 2 ,pdata 
+0x6ef8 030647 istore 1 ,contw 
+0x6ef9 030648 copy contr ,pdata 
+0x6efa 030649 isub timeup ,pdata 
+0x6efb 030650 byteswap pdata ,pdata 
+0x6efc 030651 istore 2 ,contw 
+0x6efd 030652 branch sa_req_all_frag_end 
+:      030653 sa_req_all_last_frag_continue:
+0x6efe 030654 force 0 ,pdata 
+0x6eff 030655 istore 1 ,contw 
+:      030656 sa_req_all_frag_end:
+0x6f00 030657 arg sdp_attribute_res ,rega 
+0x6f01 030658 branch ssa_req_range_common 
+:      030669 sdp_process_ssa_req:
+0x6f02 030670 bpatchx patch3a_1 ,mem_patch3a 
+0x6f03 030671 call ask_serviceclassid 
+0x6f04 030672 compare 0xff ,temp ,0xff 
+0x6f05 030673 branch sdp_invalid_request_syntax ,true 
+0x6f06 030674 call sdp_store_maxbyte 
+0x6f07 030675 store 2 ,mem_sdp_attribute_maxbyte 
+0x6f08 030676 increase -2 ,timeup 
+0x6f09 030677 call dataelementtype6 
+0x6f0a 030678 arg mem_sdp_attrib_list ,contw 
+0x6f0b 030679 force 0 ,queue 
+:      030680 ssa_req_loop:
+0x6f0c 030681 ifetch 1 ,contr 
+0x6f0d 030682 beq sdp_attribute_range ,ssa_req_range 
+0x6f0e 030683 ifetch 2 ,contr 
+0x6f0f 030684 istore 2 ,contw 
+0x6f10 030685 increase 1 ,queue 
+0x6f11 030686 increase -3 ,timeup 
+0x6f12 030687 increase -3 ,rega 
+0x6f13 030688 nbranch sdp_invalid_request_syntax ,positive 
+0x6f14 030689 nbranch ssa_req_loop ,zero 
+0x6f15 030690 increase -1 ,timeup 
+0x6f16 030691 nbranch sdp_invalid_request_syntax ,zero 
+0x6f17 030692 call l2cap_get_sdp_tx_payload 
+0x6f18 030693 increase 13 ,contw 
+0x6f19 030694 fetch 2 ,mem_sdp_uuid_search_ptr 
+0x6f1a 030695 iforce regc 
+0x6f1b 030696 arg mem_sdp_attrib_list ,rega 
+:      030697 ssa_req_attributelist_next:
+0x6f1c 030698 ifetch 2 ,rega 
+0x6f1d 030699 branch ssa_req_attributelist_end ,blank 
+0x6f1e 030700 iforce regb 
+0x6f1f 030701 call search_attrib 
+0x6f20 030702 branch ssa_req_attributelist_notfound ,blank 
+0x6f21 030703 increase -3 ,contr 
+0x6f22 030704 ifetch 3 ,contr 
+0x6f23 030705 istore 3 ,contw 
+0x6f24 030706 call sdp_data_len 
+0x6f25 030707 iforce loopcnt 
+0x6f26 030708 call memcpy 
+:      030709 ssa_req_attributelist_notfound:
+0x6f27 030710 increase 2 ,rega 
+0x6f28 030711 branch ssa_req_attributelist_next 
+:      030713 ssa_req_attributelist_end:
+0x6f29 030714 call ssa_req_range_lastfreg 
+0x6f2a 030715 fetch 2 ,mem_sdp_tx_pkt_length 
+0x6f2b 030716 beq 14 ,ssa_empty_rsp 
+0x6f2c 030717 call ssa_req_range_attrbutes_length_no_continue 
+0x6f2d 030718 branch ssa_req_range_attrbutes_length_no_continue 
+:      030721 sdp_store_maxbyte:
+0x6f2e 030722 ifetch 2 ,contr 
+0x6f2f 030723 byteswap pdata ,pdata 
+0x6f30 030724 increase -3 ,pdata 
+0x6f31 030725 arg 200 ,temp 
+0x6f32 030726 isub temp ,null 
+0x6f33 030727 nrtn positive 
+0x6f34 030728 setarg 200 
+0x6f35 030729 rtn 
+:      030732 ssa_req_range:
+0x6f36 030733 increase 4 ,contr 
+0x6f37 030734 increase -5 ,timeup 
+0x6f38 030735 increase -5 ,rega 
+0x6f39 030736 nbranch sdp_invalid_request_syntax ,zero 
+0x6f3a 030737 call sdp_store_continue_common 
+0x6f3b 030738 nbranch sdp_invalid_pdu_size ,zero 
+0x6f3c 030739 arg mem_sdp_uuid_search_ptr ,timeup 
+0x6f3d 030740 call search_all_uuid 
+0x6f3e 030741 deposit queue 
+0x6f3f 030742 branch ssa_empty_rsp ,blank 
+0x6f40 030743 store 1 ,mem_handle_humber 
+0x6f41 030745 copy regb ,pdata 
+0x6f42 030746 store 2 ,mem_sdp_all_length 
+0x6f43 030747 arg 0 ,queue 
+0x6f44 030748 arg 0 ,rega 
+0x6f45 030749 call l2cap_get_sdp_tx_payload 
+0x6f46 030750 increase 10 ,contw 
+:      030751 ssa_req_range_find_handle:
+0x6f47 030752 call ssa_req_range_get_length 
+0x6f48 030753 nbranch assert ,user 
+0x6f49 030754 copy contr ,timeup 
+0x6f4a 030755 copy pdata ,regc 
+0x6f4b 030756 iadd rega ,rega 
+0x6f4c 030759 fetch 2 ,mem_sdp_continue_byte 
+0x6f4d 030760 copy pdata ,regb 
+0x6f4e 030761 branch ssa_req_range_first_freg ,blank 
+:      030762 ssa_req_range_later_freg_with_continue:
+0x6f4f 030763 copy rega ,pdata 
+0x6f50 030764 isub regb ,regb 
+0x6f51 030765 branch ssa_req_range_next_handle ,zero 
+0x6f52 030766 nbranch ssa_req_range_next_handle ,positive 
+0x6f53 030767 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x6f54 030768 isub regb ,null 
+0x6f55 030769 branch ssa_req_range_maxbyte_with_continue ,zero 
+0x6f56 030770 nbranch ssa_req_range_maxbyte_with_continue ,positive 
+:      030773 ssa_req_range_send_not_maxbyte:
+0x6f57 030774 copy regb ,loopcnt 
+0x6f58 030775 call ssa_req_range_maxbyte_with_continue_cpy 
+0x6f59 030776 fetch 1 ,mem_handle_humber 
+0x6f5a 030777 increase 1 ,queue 
+0x6f5b 030778 isub queue ,null 
+0x6f5c 030779 branch ssa_req_range_lastfreg ,zero 
+0x6f5d 030780 branch ssa_req_range_freg_with_continue 
+:      030782 ssa_req_range_maxbyte_with_continue:
+0x6f5e 030783 copy pdata ,loopcnt 
+0x6f5f 030784 call ssa_req_range_maxbyte_with_continue_cpy 
+0x6f60 030785 branch ssa_req_range_freg_with_continue 
+:      030787 ssa_req_range_maxbyte_with_continue_cpy:
+0x6f61 030788 increase -3 ,contw 
+0x6f62 030789 copy loopcnt ,temp 
+0x6f63 030790 copy regc ,pdata 
+0x6f64 030791 isub regb ,pdata 
+0x6f65 030792 iadd timeup ,contr 
+0x6f66 030793 branch memcpy 
+:      030795 ssa_req_range_next_handle:
+0x6f67 030796 fetch 1 ,mem_handle_humber 
+0x6f68 030797 increase 1 ,queue 
+0x6f69 030798 isub queue ,null 
+0x6f6a 030799 rtn zero 
+0x6f6b 030800 branch ssa_req_range_find_handle 
+:      030802 ssa_req_range_get_length:
+0x6f6c 030803 call disable_user 
+0x6f6d 030804 arg mem_sdp_handle_list ,contr 
+0x6f6e 030805 lshift2 queue ,pdata 
+0x6f6f 030806 iadd contr ,contr 
+0x6f70 030807 ifetcht 4 ,contr 
+0x6f71 030808 call search_handle 
+0x6f72 030809 nrtn zero 
+0x6f73 030810 call sdp_data_len 
+0x6f74 030811 branch enable_user 
+:      030813 ssa_req_range_first_freg:
+0x6f75 030814 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x6f76 030815 isub rega ,null 
+0x6f77 030816 nbranch ssa_req_range_firstfreg_maxbyte_with_continue ,positive 
+0x6f78 030817 copy rega ,loopcnt 
+0x6f79 030818 copy loopcnt ,temp 
+0x6f7a 030819 copy timeup ,contr 
+0x6f7b 030820 call memcpy 
+0x6f7c 030821 fetch 2 ,mem_sdp_all_length 
+0x6f7d 030822 isub rega ,null 
+0x6f7e 030823 branch ssa_req_range_freg_no_continue ,zero 
+:      030824 ssa_req_range_firstfreg_not_maxbyte_with_continue:
+0x6f7f 030825 call ssa_req_range_freg_with_continue 
+0x6f80 030826 branch ssa_req_range_attrbutes_length 
+:      030828 ssa_req_range_freg_no_continue:
+0x6f81 030829 call ssa_req_range_lastfreg 
+0x6f82 030830 branch ssa_req_range_attrbutes_length 
+:      030832 ssa_req_range_lastfreg:
+0x6f83 030833 arg sdp_searchattrib_res ,rega 
+:      030834 ssa_req_range_lastfreg_common:
+0x6f84 030835 force 0 ,pdata 
+0x6f85 030836 istore 1 ,contw 
+0x6f86 030837 call ssa_req_range_common 
+0x6f87 030838 fetcht 2 ,mem_sdp_tx_pkt_length 
+0x6f88 030839 increase -5 ,temp 
+0x6f89 030840 byteswap temp ,pdata 
+0x6f8a 030841 istore 2 ,contw 
+0x6f8b 030842 increase -3 ,temp 
+0x6f8c 030843 byteswap temp ,pdata 
+0x6f8d 030844 istore 2 ,contw 
+0x6f8e 030845 rtn 
+:      030847 ssa_req_range_firstfreg_maxbyte_with_continue:
+0x6f8f 030848 copy pdata ,loopcnt 
+0x6f90 030849 copy loopcnt ,temp 
+0x6f91 030850 copy timeup ,contr 
+0x6f92 030851 call memcpy 
+0x6f93 030852 call ssa_req_range_freg_with_continue 
+:      030853 ssa_req_range_attrbutes_length:
+0x6f94 030854 setarg 0x36 
+0x6f95 030855 istore 1 ,contw 
+0x6f96 030856 fetch 2 ,mem_sdp_all_length 
+0x6f97 030857 byteswap pdata ,pdata 
+0x6f98 030858 istore 2 ,contw 
+0x6f99 030859 rtn 
+:      030861 ssa_req_range_attrbutes_length_no_continue:
+0x6f9a 030862 setarg 0x36 
+0x6f9b 030863 istore 1 ,contw 
+0x6f9c 030864 increase -3 ,temp 
+0x6f9d 030865 byteswap temp ,pdata 
+0x6f9e 030866 istore 2 ,contw 
+0x6f9f 030867 rtn 
+:      030869 ssa_req_range_freg_with_continue:
+0x6fa0 030870 arg sdp_searchattrib_res ,rega 
+0x6fa1 030871 setarg 2 
+0x6fa2 030872 istore 1 ,contw 
+0x6fa3 030873 fetch 2 ,mem_sdp_continue_byte 
+0x6fa4 030874 iadd temp ,temp 
+0x6fa5 030875 byteswap temp ,pdata 
+0x6fa6 030876 istore 2 ,contw 
+0x6fa7 030877 call ssa_req_range_common 
+0x6fa8 030878 fetcht 2 ,mem_sdp_tx_pkt_length 
+0x6fa9 030879 increase -5 ,temp 
+0x6faa 030880 byteswap temp ,pdata 
+0x6fab 030881 istore 2 ,contw 
+0x6fac 030882 increase -5 ,temp 
+0x6fad 030883 byteswap temp ,pdata 
+0x6fae 030884 istore 2 ,contw 
+0x6faf 030885 rtn 
+:      030887 ssa_req_range_common:
+0x6fb0 030888 fetch 2 ,mem_sdp_tx_payload_ptr 
+0x6fb1 030889 isub contw ,pdata 
+0x6fb2 030890 sub pdata ,0 ,pdata 
+0x6fb3 030891 store 2 ,mem_sdp_tx_pkt_length 
+0x6fb4 030892 call l2cap_get_sdp_tx_payload 
+0x6fb5 030893 copy rega ,pdata 
+0x6fb6 030894 istore 1 ,contw 
+0x6fb7 030895 fetch 2 ,mem_sdp_transactionid 
+0x6fb8 030896 istore 2 ,contw 
+0x6fb9 030897 rtn 
+:      030910 sdp_process_ssa_res:
+:      030911 sdp_process_ss_res:
+:      030912 sdp_process_sa_res:
+:      030913 sdp_process_error_res:
+0x6fba 030914 rtn 
+:      030947 sdp_invalid_service_record_handle:
+0x6fbb 030948 setarg 0x0200 
+0x6fbc 030949 store 2 ,mem_sdp_error_code 
+0x6fbd 030950 branch sdp_error_response 
+:      030951 sdp_invalid_pdu_size:
+0x6fbe 030952 setarg 0x0400 
+0x6fbf 030953 store 2 ,mem_sdp_error_code 
+0x6fc0 030954 branch sdp_error_response 
+:      030955 sdp_insufficient_resource:
+0x6fc1 030956 setarg 0x0600 
+0x6fc2 030957 store 2 ,mem_sdp_error_code 
+0x6fc3 030958 branch sdp_error_response 
+:      030959 sdp_invalid_request_syntax:
+0x6fc4 030960 setarg 0x0300 
+0x6fc5 030961 store 2 ,mem_sdp_error_code 
+:      030962 sdp_error_response:
+0x6fc6 030963 call l2cap_get_sdp_tx_payload 
+0x6fc7 030964 istore 1 ,contw 
+0x6fc8 030965 fetch 2 ,mem_sdp_transactionid 
+0x6fc9 030966 istore 2 ,contw 
+0x6fca 030967 setarg 0x0200 
+0x6fcb 030968 istore 2 ,contw 
+0x6fcc 030969 fetch 2 ,mem_sdp_error_code 
+0x6fcd 030970 istore 2 ,contw 
+0x6fce 030971 jam 7 ,mem_sdp_tx_pkt_length 
+0x6fcf 030972 rtn 
+:      030977 ask_serviceclassid:
+0x6fd0 030978 arg 0 ,regb 
+0x6fd1 030979 force 0 ,temp 
+0x6fd2 030980 arg mem_sdp_uuid_search_ptr ,contw 
+0x6fd3 030981 call dataelementtype6 
+0x6fd4 030982 branch asksrv_error ,zero 
+:      030983 classidloop:
+0x6fd5 030984 increase 1 ,regb 
+0x6fd6 030985 ifetch 1 ,contr 
+0x6fd7 030986 increase -1 ,rega 
+0x6fd8 030987 increase -1 ,timeup 
+0x6fd9 030988 compare 0x18 ,pdata ,0xf8 
+0x6fda 030989 nbranch asksrv_error ,true 
+0x6fdb 030990 compare 0x04 ,pdata ,0x07 
+0x6fdc 030991 nbranch cmp032 ,true 
+0x6fdd 030992 force 1 ,temp 
+:      030993 skip2bytes:
+0x6fde 030994 ifetch 1 ,contr 
+0x6fdf 030995 increase -1 ,rega 
+0x6fe0 030996 increase -1 ,timeup 
+0x6fe1 030997 bne 0x00 ,frstbwrong 
+0x6fe2 030998 ifetch 1 ,contr 
+0x6fe3 030999 increase -1 ,rega 
+0x6fe4 031000 increase -1 ,timeup 
+0x6fe5 031001 beq 0x00 ,cmpuuid 
+0x6fe6 031002 branch scndbwrong 
+:      031003 frstbwrong:
+0x6fe7 031004 increase 1 ,contr 
+0x6fe8 031005 increase -1 ,rega 
+0x6fe9 031006 increase -1 ,timeup 
+:      031007 scndbwrong:
+0x6fea 031008 increase 2 ,contr 
+0x6feb 031009 increase -2 ,rega 
+0x6fec 031010 increase -2 ,timeup 
+0x6fed 031011 compare 0x00 ,temp ,0xff 
+0x6fee 031012 branch loopornot ,true 
+0x6fef 031013 increase 12 ,contr 
+0x6ff0 031014 increase -12 ,rega 
+0x6ff1 031015 increase -12 ,timeup 
+0x6ff2 031016 branch loopornot 
+:      031017 cmp032:
+0x6ff3 031018 compare 0x02 ,pdata ,0x07 
+0x6ff4 031019 nbranch cmp016 ,true 
+0x6ff5 031020 branch skip2bytes 
+:      031021 cmp016:
+0x6ff6 031022 compare 0x01 ,pdata ,0x07 
+0x6ff7 031023 nbranch asksrv_error ,true 
+:      031024 cmpuuid:
+0x6ff8 031025 increase -2 ,rega 
+0x6ff9 031026 increase -2 ,timeup 
+0x6ffa 031027 ifetch 2 ,contr 
+0x6ffb 031028 sub regb ,4 ,null 
+0x6ffc 031029 branch uuidsize ,zero 
+0x6ffd 031030 istore 2 ,contw 
+:      031031 uuidsize:
+0x6ffe 031032 compare 0x00 ,temp ,0xff 
+0x6fff 031033 branch loopornot ,true 
+0x7000 031034 copy contr ,temp 
+0x7001 031035 ifetch 1 ,contr 
+0x7002 031036 bne 0x00 ,wrong12b 
+0x7003 031037 ifetch 1 ,contr 
+0x7004 031038 bne 0x00 ,wrong12b 
+0x7005 031039 ifetch 1 ,contr 
+0x7006 031040 bne 0x10 ,wrong12b 
+0x7007 031041 ifetch 1 ,contr 
+0x7008 031042 bne 0x00 ,wrong12b 
+0x7009 031043 ifetch 1 ,contr 
+0x700a 031044 bne 0x80 ,wrong12b 
+0x700b 031045 ifetch 1 ,contr 
+0x700c 031046 bne 0x00 ,wrong12b 
+0x700d 031047 ifetch 1 ,contr 
+0x700e 031048 bne 0x00 ,wrong12b 
+0x700f 031049 ifetch 1 ,contr 
+0x7010 031050 bne 0x80 ,wrong12b 
+0x7011 031051 ifetch 1 ,contr 
+0x7012 031052 bne 0x5f ,wrong12b 
+0x7013 031053 ifetch 1 ,contr 
+0x7014 031054 bne 0x9b ,wrong12b 
+0x7015 031055 ifetch 1 ,contr 
+0x7016 031056 bne 0x34 ,wrong12b 
+0x7017 031057 ifetch 1 ,contr 
+0x7018 031058 beq 0xfb ,chck12dn 
+:      031059 wrong12b:
+0x7019 031060 copy temp ,contr 
+:      031061 wrong12b1:
+0x701a 031062 increase 12 ,contr 
+0x701b 031063 force 0x00 ,queue 
+0x701c 031064 force 0x00 ,temp 
+0x701d 031065 branch chck12dn 
+:      031067 chck12dn:
+0x701e 031068 increase -12 ,timeup 
+0x701f 031069 increase -12 ,rega 
+:      031070 loopornot:
+0x7020 031071 force 0x00 ,temp 
+0x7021 031072 compare 0x00 ,rega ,0xff 
+0x7022 031073 nbranch classidloop ,true 
+0x7023 031074 force 0 ,pdata 
+0x7024 031075 istore 2 ,contw 
+0x7025 031076 rtn 
+:      031077 asksrv_error:
+0x7026 031078 arg 0xff ,temp 
+0x7027 031079 rtn 
+:      031089 dataelementtype6:
+0x7028 031090 bpatchx patch3a_4 ,mem_patch3a 
+0x7029 031091 ifetch 1 ,contr 
+0x702a 031092 increase -1 ,timeup 
+0x702b 031093 compare 0x30 ,pdata ,0xf8 
+0x702c 031094 nbranch dsize_error ,true 
+0x702d 031095 compare 0x07 ,pdata ,0x07 
+0x702e 031096 branch dsize32 ,true 
+0x702f 031097 compare 0x06 ,pdata ,0x07 
+0x7030 031098 branch dsize16 ,true 
+0x7031 031099 compare 0x05 ,pdata ,0x07 
+0x7032 031100 nbranch dsize_error ,true 
+0x7033 031102 ifetch 1 ,contr 
+0x7034 031103 copy pdata ,rega 
+0x7035 031104 increase -1 ,timeup 
+0x7036 031105 branch dsize 
+:      031106 dsize32:
+0x7037 031107 increase 2 ,contr 
+0x7038 031108 increase -2 ,timeup 
+:      031109 dsize16:
+0x7039 031110 ifetch 2 ,contr 
+0x703a 031111 byteswap pdata ,rega 
+0x703b 031112 increase -2 ,timeup 
+:      031113 dsize:
+0x703c 031114 force 0x01 ,pdata 
+0x703d 031115 rtn 
+:      031116 dsize_error:
+0x703e 031117 force 0x00 ,pdata 
+0x703f 031118 rtn 
+:      031128 ss_empty_rsp:
+0x7040 031129 setarg sdp_search_res 
+0x7041 031130 store 1 ,mem_sdp_pduid 
+0x7042 031131 branch empty_response 
+:      031132 sa_empty_rsp:
+0x7043 031133 setarg sdp_attribute_res 
+0x7044 031134 store 1 ,mem_sdp_pduid 
+0x7045 031135 branch empty_response 
+:      031136 ssa_empty_rsp:
+0x7046 031137 setarg sdp_searchattrib_res 
+0x7047 031138 store 1 ,mem_sdp_pduid 
+:      031139 empty_response:
+0x7048 031140 call l2cap_get_sdp_tx_payload 
+0x7049 031143 fetch 1 ,mem_sdp_pduid 
+0x704a 031144 copy pdata ,regb 
+0x704b 031145 istore 1 ,contw 
+0x704c 031146 fetch 2 ,mem_sdp_transactionid 
+0x704d 031147 istore 2 ,contw 
+0x704e 031148 setarg 0x0500 
+0x704f 031149 istore 2 ,contw 
+0x7050 031150 compare sdp_attribute_res ,regb ,0xff 
+0x7051 031151 branch fullsearch ,true 
+0x7052 031152 compare sdp_searchattrib_res ,regb ,0xff 
+0x7053 031153 branch fullsearch ,true 
+0x7054 031154 setarg 0x000000 
+0x7055 031155 istore 5 ,contw 
+0x7056 031156 branch outempty 
+:      031158 fullsearch:
+0x7057 031159 setarg 0x350200 
+0x7058 031160 istore 5 ,contw 
+:      031161 outempty:
+0x7059 031162 jam 10 ,mem_sdp_tx_pkt_length 
+0x705a 031163 rtn 
+:      031166 sdp_data_len:
+0x705b 031167 call store_contw 
+0x705c 031168 call store_contr 
+0x705d 031169 call sdp_get_data 
+0x705e 031170 call get_contw 
+0x705f 031171 call get_contr 
+0x7060 031172 copy temp ,pdata 
+0x7061 031173 rtn 
+:      031176 sdp_get_data:
+0x7062 031177 ifetch 1 ,contr 
+0x7063 031178 and pdata ,0x7 ,loopcnt 
+0x7064 031179 rshift3 pdata ,pdata 
+0x7065 031180 bne 0 ,sdp_get_data_type_not0 
+:      031181 sdp_get_data_type0:
+0x7066 031182 force 1 ,pdata 
+0x7067 031183 force 1 ,temp 
+0x7068 031184 rtn 
+:      031186 sdp_get_data_type_not0_sizeindex01234:
+0x7069 031187 call left_shift_n 
+0x706a 031188 add pdata ,1 ,temp 
+0x706b 031189 rtn 
+:      031190 sdp_get_data_type_not0:
+0x706c 031191 deposit loopcnt 
+0x706d 031192 sub pdata ,4 ,null 
+0x706e 031193 branch sdp_get_data_type_not0_sizeindex01234 ,positive 
+0x706f 031194 beq 5 ,sdp_get_data_type_not0_sizeindex5 
+0x7070 031195 beq 6 ,sdp_get_data_type_not0_sizeindex6 
+0x7071 031196 beq 7 ,sdp_get_data_type_not0_sizeindex7 
+0x7072 031197 rtn 
+:      031199 sdp_get_data_type_not0_sizeindex5:
+0x7073 031200 ifetch 1 ,contr 
+0x7074 031201 add pdata ,2 ,temp 
+0x7075 031202 rtn 
+:      031203 sdp_get_data_type_not0_sizeindex6:
+0x7076 031204 ifetch 2 ,contr 
+0x7077 031205 byteswap pdata ,pdata 
+0x7078 031206 add pdata ,3 ,temp 
+0x7079 031207 rtn 
+:      031208 sdp_get_data_type_not0_sizeindex7:
+0x707a 031209 ifetch 2 ,contr 
+0x707b 031210 byteswap pdata ,pdata 
+0x707c 031211 ifetcht 2 ,contr 
+0x707d 031212 byteswap temp ,temp 
+0x707e 031213 lshift16 temp ,temp 
+0x707f 031214 iadd temp ,pdata 
+0x7080 031215 add pdata ,5 ,temp 
+0x7081 031216 rtn 
+:      031222 search_all_uuid:
+0x7082 031223 bpatchx patch3a_5 ,mem_patch3a 
+0x7083 031224 force 0 ,queue 
+0x7084 031225 arg 0 ,regb 
+0x7085 031226 arg mem_sdp_handle_list ,contw 
+:      031227 search_all_uuid_llop:
+0x7086 031228 ifetch 2 ,timeup 
+0x7087 031229 rtn blank 
+0x7088 031230 call search_uuid 
+0x7089 031231 copy queue ,pdata 
+0x708a 031232 rtneq sdp_max_handle_number 
+0x708b 031233 increase 2 ,timeup 
+0x708c 031234 branch search_all_uuid_llop 
+:      031236 search_uuid:
+0x708d 031238 iforce regc 
+0x708e 031240 fetch 2 ,mem_ui_uuid_table 
+0x708f 031241 iforce contr 
+:      031242 search_uuid_next:
+0x7090 031243 copy queue ,pdata 
+0x7091 031244 rtneq sdp_max_handle_number 
+0x7092 031245 disable user 
+0x7093 031246 ifetch 1 ,contr 
+0x7094 031247 rtn blank 
+0x7095 031248 iforce loopcnt 
+:      031249 search_uuid_loop:
+0x7096 031250 ifetch 2 ,contr 
+0x7097 031251 isub regc ,null 
+0x7098 031252 nbranch search_uuid_not_found ,zero 
+0x7099 031253 enable user 
+:      031254 search_uuid_not_found:
+0x709a 031255 loop search_uuid_loop 
+0x709b 031256 ifetcht 4 ,contr 
+0x709c 031257 copy contr ,rega 
+0x709d 031258 nbranch search_uuid_nomatch ,user 
+0x709e 031259 arg mem_sdp_handle_list ,contr 
+0x709f 031260 arg sdp_max_handle_number ,loopcnt 
+:      031261 search_uuid_check_same_handle:
+0x70a0 031262 ifetch 4 ,contr 
+0x70a1 031263 branch search_uuid_store_handle ,blank 
+0x70a2 031264 isub temp ,null 
+0x70a3 031265 branch search_uuid_nomatch ,zero 
+0x70a4 031266 loop search_uuid_check_same_handle 
+0x70a5 031267 rtn 
+:      031268 search_uuid_store_handle:
+0x70a6 031269 istoret 4 ,contw 
+0x70a7 031270 increase 1 ,queue 
+0x70a8 031271 copy rega ,contr 
+0x70a9 031272 call sdp_data_len 
+0x70aa 031273 iadd regb ,regb 
+0x70ab 031274 iadd contr ,contr 
+0x70ac 031275 branch search_uuid_next 
+:      031276 search_uuid_nomatch:
+0x70ad 031277 copy rega ,contr 
+0x70ae 031278 call sdp_get_data 
+0x70af 031279 iadd contr ,contr 
+0x70b0 031280 branch search_uuid_next 
+:      031286 search_handle:
+0x70b1 031287 bpatchx patch3a_6 ,mem_patch3a 
+0x70b2 031288 fetch 2 ,mem_ui_uuid_table 
+0x70b3 031289 iforce contr 
+:      031290 search_handle_loop:
+0x70b4 031291 ifetch 1 ,contr 
+0x70b5 031292 branch disable_zero ,blank 
+0x70b6 031293 lshift pdata ,pdata 
+0x70b7 031294 iadd contr ,contr 
+0x70b8 031295 ifetch 4 ,contr 
+0x70b9 031296 isub temp ,null 
+0x70ba 031297 rtn zero 
+0x70bb 031298 deposit contw 
+0x70bc 031299 store 2 ,mem_contw 
+0x70bd 031300 storet 8 ,mem_temp 
+0x70be 031301 call sdp_get_data 
+0x70bf 031302 iadd contr ,contr 
+0x70c0 031303 copy contr ,pdata 
+0x70c1 031304 fetcht 2 ,mem_contw 
+0x70c2 031305 copy temp ,contw 
+0x70c3 031306 fetcht 8 ,mem_temp 
+0x70c4 031307 copy pdata ,contr 
+0x70c5 031308 branch search_handle_loop 
+:      031314 search_attrib:
+0x70c6 031315 bpatchx patch3a_7 ,mem_patch3a 
+0x70c7 031316 fetch 2 ,mem_ui_uuid_table 
+0x70c8 031317 iforce contr 
+:      031318 search_attrib_next:
+0x70c9 031319 ifetch 1 ,contr 
+0x70ca 031320 branch search_attrib_end ,blank 
+0x70cb 031321 iforce loopcnt 
+:      031322 search_attrib_loop:
+0x70cc 031323 ifetch 2 ,contr 
+0x70cd 031324 isub regc ,null 
+0x70ce 031325 branch search_attrib_found_uuid ,zero 
+0x70cf 031326 loop search_attrib_loop 
+0x70d0 031327 increase 4 ,contr 
+0x70d1 031328 call sdp_get_data 
+0x70d2 031329 iadd contr ,contr 
+0x70d3 031330 branch search_attrib_next 
+:      031331 search_attrib_found_uuid:
+0x70d4 031332 increase -1 ,loopcnt 
+0x70d5 031333 lshift loopcnt ,pdata 
+0x70d6 031334 iadd contr ,contr 
+0x70d7 031335 increase 4 ,contr 
+0x70d8 031336 call sdp_get_data 
+0x70d9 031337 iadd contr ,timeup 
+:      031338 search_attrib_loop_attribs:
+0x70da 031339 increase 1 ,contr 
+0x70db 031340 ifetch 2 ,contr 
+0x70dc 031341 isub regb ,null 
+0x70dd 031345 branch disable_blank ,zero 
+0x70de 031346 call sdp_data_len 
+0x70df 031347 iadd contr ,contr 
+0x70e0 031348 deposit timeup 
+0x70e1 031349 isub contr ,null 
+0x70e2 031350 branch search_attrib_end ,zero 
+0x70e3 031351 branch search_attrib_loop_attribs 
+:      031352 search_attrib_end:
+0x70e4 031353 force 0 ,contr 
+0x70e5 031354 force 0 ,pdata 
+0x70e6 031355 rtn 
+:      031361 search_handle_attrib:
+0x70e7 031362 bpatchx patch3b_0 ,mem_patch3b 
+0x70e8 031363 fetch 2 ,mem_ui_uuid_table 
+0x70e9 031364 iforce contr 
+:      031365 search_handle_attrib_next:
+0x70ea 031366 ifetch 1 ,contr 
+0x70eb 031367 branch search_handle_attrib_end ,blank 
+0x70ec 031368 lshift pdata ,pdata 
+0x70ed 031369 iadd contr ,contr 
+0x70ee 031370 ifetch 4 ,contr 
+0x70ef 031371 isub temp ,null 
+0x70f0 031372 branch search_handl_attrib_found_handle ,zero 
+0x70f1 031373 call sdp_get_data 
+0x70f2 031374 iadd contr ,contr 
+0x70f3 031375 branch search_handle_attrib_next 
+:      031376 search_handl_attrib_found_handle:
+0x70f4 031377 call sdp_get_data 
+0x70f5 031378 iadd contr ,timeup 
+:      031379 search_handle_attrib_loop_attribs:
+0x70f6 031380 increase 1 ,contr 
+0x70f7 031381 ifetch 2 ,contr 
+0x70f8 031382 isub regb ,null 
+0x70f9 031383 rtn zero 
+0x70fa 031384 call sdp_data_len 
+0x70fb 031385 iadd contr ,contr 
+0x70fc 031386 deposit timeup 
+0x70fd 031387 isub contr ,null 
+0x70fe 031388 branch search_handle_attrib_end ,zero 
+0x70ff 031389 branch search_handle_attrib_loop_attribs 
+:      031390 search_handle_attrib_end:
+0x7100 031391 force 0 ,contr 
+0x7101 031392 rtn 
+:      031396 search_rfcomm_cn:
+0x7102 031397 arg 0x0400 ,regb 
+0x7103 031398 call search_handl_attrib_found_handle 
+0x7104 031399 arg 0x0300 ,regb 
+0x7105 031400 call search_uuid_in_data 
+0x7106 031401 nrtn user 
+0x7107 031402 sub rega ,3 ,null 
+0x7108 031403 branch disable_user ,positive 
+0x7109 031404 ifetch 1 ,contr 
+0x710a 031405 bne 0x08 ,disable_user 
+0x710b 031406 ifetch 1 ,contr 
+0x710c 031407 rtn 
+:      031412 search_uuid_in_data:
+0x710d 031413 bpatchx patch3b_1 ,mem_patch3b 
+0x710e 031414 call sdp_get_data 
+0x710f 031415 copy pdata ,rega 
+:      031416 search_uuid_in_data_loop:
+0x7110 031417 ifetch 1 ,contr 
+0x7111 031418 and pdata ,0x7 ,loopcnt 
+0x7112 031419 rshift3 pdata ,pdata 
+0x7113 031420 sub pdata ,3 ,null 
+0x7114 031421 branch search_uuid_in_data_found_uuid ,zero 
+0x7115 031422 copy loopcnt ,pdata 
+0x7116 031423 beq 5 ,search_uuid_in_data_found_element_index5 
+0x7117 031424 beq 6 ,search_uuid_in_data_found_element_index6 
+0x7118 031425 beq 7 ,search_uuid_in_data_found_element_index7 
+0x7119 031426 increase -1 ,contr 
+0x711a 031427 call sdp_get_data 
+0x711b 031428 iadd contr ,contr 
+0x711c 031429 copy rega ,pdata 
+0x711d 031430 isub temp ,rega 
+0x711e 031431 branch disable_user ,zero 
+0x711f 031432 branch search_uuid_in_data_loop 
+:      031434 search_uuid_in_data_found_element_index5:
+0x7120 031435 increase -2 ,rega 
+0x7121 031436 increase 1 ,contr 
+0x7122 031437 branch search_uuid_in_data_loop 
+:      031438 search_uuid_in_data_found_element_index6:
+0x7123 031439 increase -3 ,rega 
+0x7124 031440 increase 2 ,contr 
+0x7125 031441 branch search_uuid_in_data_loop 
+:      031442 search_uuid_in_data_found_element_index7:
+0x7126 031443 increase -5 ,rega 
+0x7127 031444 increase 4 ,contr 
+0x7128 031445 branch search_uuid_in_data_loop 
+:      031447 search_uuid_in_data_found_uuid:
+0x7129 031448 increase -1 ,rega 
+0x712a 031449 copy loopcnt ,pdata 
+0x712b 031450 beq 1 ,search_uuid_in_data_type_uuid_16 
+0x712c 031451 beq 2 ,search_uuid_in_data_type_uuid_32 
+0x712d 031452 beq 4 ,search_uuid_in_data_type_uuid_128 
+0x712e 031453 branch disable_user 
+:      031454 search_uuid_in_data_type_uuid_128:
+0x712f 031455 increase -12 ,rega 
+:      031456 search_uuid_in_data_type_uuid_32:
+0x7130 031457 ifetch 2 ,contr 
+0x7131 031458 increase -2 ,rega 
+:      031459 search_uuid_in_data_type_uuid_16:
+0x7132 031460 ifetch 2 ,contr 
+0x7133 031461 isub regb ,null 
+0x7134 031462 branch enable_user ,zero 
+0x7135 031463 increase -2 ,rega 
+0x7136 031464 branch disable_user ,zero 
+0x7137 031465 branch search_uuid_in_data_loop 
+:      031524 sdp_send_spp_request:
+0x7138 031525 call l2cap_get_sdp_tx_payload 
+0x7139 031526 copy pdata ,contw 
+0x713a 031527 setarg 6 
+0x713b 031528 istore 1 ,contw 
+0x713c 031529 setarg sdp_tid_spp 
+0x713d 031530 istore 2 ,contw 
+0x713e 031531 setarg 0x0f00 
+0x713f 031532 istore 2 ,contw 
+0x7140 031533 setarg 0x1a0535 
+0x7141 031534 istore 3 ,contw 
+0x7142 031535 setarg 0x0111 
+0x7143 031536 lshift16 pdata ,pdata 
+0x7144 031537 istore 4 ,contw 
+0x7145 031538 setarg 0x2600 
+0x7146 031539 istore 2 ,contw 
+0x7147 031540 setarg 0x0335 
+0x7148 031541 istore 2 ,contw 
+0x7149 031542 setarg 0x0009 
+0x714a 031543 istore 2 ,contw 
+0x714b 031544 setarg 0x0004 
+0x714c 031545 istore 2 ,contw 
+0x714d 031546 jam 0x14 ,mem_sdp_tx_pkt_length 
+0x714e 031547 rtn 
+:      031551 function_g2:
+0x714f 031552 bpatchx patch3b_2 ,mem_patch3b 
+0x7150 031553 jam 80 ,mem_aes_cmac_data_length 
+0x7151 031554 arg memdat ,contw 
+0x7152 031555 arg mem_le_srand ,contr 
+0x7153 031556 call memcpy16 
+0x7154 031557 arg mem_le_pubkey_local_x_256 ,contr 
+0x7155 031558 call memcpy32 
+0x7156 031559 arg mem_le_pubkey_remote_x_256 ,contr 
+0x7157 031560 call memcpy32 
+0x7158 031561 call inverse_memdat 
+0x7159 031562 arg mem_le_mrand ,contr 
+0x715a 031563 call store_inverse_k 
+0x715b 031564 call function_aes_cmac 
+0x715c 031566 arg mem_aes_cmac_temp ,contw 
+0x715d 031567 call load_inverse_result 
+0x715e 031568 setarg 1000000 
+0x715f 031569 copy pdata ,rega 
+0x7160 031570 fetch 4 ,mem_aes_cmac_temp 
+0x7161 031571 idiv rega 
+0x7162 031572 call wait_div_end 
+0x7163 031573 remainder pdata 
+0x7164 031574 store 4 ,mem_gkey 
+0x7165 031576 rtn 
+:      031578 function_f6_eb:
+0x7166 031579 jam 65 ,mem_aes_cmac_data_length 
+0x7167 031580 arg memdat ,contw 
+0x7168 031581 call store_addr_common_a 
+0x7169 031582 call store_addr_common_b 
+0x716a 031583 fetch 3 ,mem_le_pres + 1 
+0x716b 031584 istore 3 ,contw 
+0x716c 031587 call get_r 
+0x716d 031589 arg mem_le_mrand ,contr 
+0x716e 031590 call memcpy16 
+0x716f 031591 arg mem_le_srand ,contr 
+0x7170 031592 call memcpy16 
+0x7171 031593 call inverse_memdat 
+0x7172 031594 arg mem_le_mackey ,contr 
+0x7173 031595 arg mem_aes_cmac_k ,contw 
+0x7174 031596 call memcpy16 
+0x7175 031598 branch function_aes_cmac 
+:      031602 get_r:
+0x7176 031603 fetch 4 ,mem_le_tk 
+0x7177 031604 istore 4 ,contw 
+0x7178 031605 call memset0_4 
+0x7179 031606 branch memset0_8 
+:      031608 function_f6_ea:
+0x717a 031609 bpatchx patch3b_3 ,mem_patch3b 
+0x717b 031610 jam 65 ,mem_aes_cmac_data_length 
+0x717c 031611 arg memdat ,contw 
+0x717d 031612 call store_addr_common_b 
+0x717e 031613 call store_addr_common_a 
+0x717f 031614 fetch 3 ,mem_le_preq + 1 
+0x7180 031615 istore 3 ,contw 
+0x7181 031618 call get_r 
+0x7182 031619 arg mem_le_srand ,contr 
+0x7183 031620 call memcpy16 
+0x7184 031621 arg mem_le_mrand ,contr 
+0x7185 031622 call memcpy16 
+0x7186 031623 call inverse_memdat 
+0x7187 031624 arg mem_le_mackey ,contr 
+0x7188 031625 arg mem_aes_cmac_k ,contw 
+0x7189 031626 call memcpy16 
+0x718a 031628 call function_aes_cmac 
+0x718b 031629 arg mem_aes_cmac_temp ,contw 
+0x718c 031630 branch load_inverse_result 
+:      031632 function_f5:
+0x718d 031633 jam 32 ,mem_aes_cmac_data_length 
+0x718e 031634 arg mem_le_dhkey_256 ,contr 
+0x718f 031635 arg memdat ,contw 
+0x7190 031636 call memcpy32 
+0x7191 031637 call inverse_memdat 
+0x7192 031638 arg mem_le_slat ,contr 
+0x7193 031639 call store_inverse_k 
+0x7194 031640 call function_aes_cmac 
+0x7195 031641 arg mem_aes_cmac_k ,contw 
+0x7196 031642 call store_aes_result 
+0x7197 031643 arg 1 ,temp 
+0x7198 031644 call function_f5_common 
+0x7199 031645 arg mem_le_ltk ,contw 
+0x719a 031646 call load_inverse_result 
+0x719b 031647 arg 0 ,temp 
+0x719c 031648 call function_f5_common 
+0x719d 031649 arg mem_le_mackey ,contw 
+0x719e 031651 branch store_aes_result 
+:      031654 function_f5_common:
+0x719f 031655 bpatchx patch3b_4 ,mem_patch3b 
+0x71a0 031656 jam 53 ,mem_aes_cmac_data_length 
+0x71a1 031657 setarg 0x100 
+0x71a2 031658 store 2 ,memdat 
+0x71a3 031659 call store_addr_common_b 
+0x71a4 031660 call store_addr_common_a 
+0x71a5 031661 arg mem_le_srand ,contr 
+0x71a6 031662 call memcpy16 
+0x71a7 031663 arg mem_le_mrand ,contr 
+0x71a8 031664 call memcpy16 
+0x71a9 031666 setarg 0x6c65 
+0x71aa 031667 istore 2 ,contw 
+0x71ab 031668 setarg 0x6274 
+0x71ac 031669 istore 2 ,contw 
+0x71ad 031670 istoret 1 ,contw 
+0x71ae 031671 call inverse_memdat 
+0x71af 031672 branch function_aes_cmac 
+:      031674 store_addr_common_b:
+0x71b0 031675 fetch 6 ,mem_le_lap 
+0x71b1 031676 istore 6 ,contw 
+0x71b2 031677 fetch 1 ,mem_le_conn_own_addr_type 
+0x71b3 031678 istore 1 ,contw 
+0x71b4 031679 rtn 
+:      031681 store_addr_common_a:
+0x71b5 031682 fetch 6 ,mem_le_plap 
+0x71b6 031683 istore 6 ,contw 
+0x71b7 031688 fetch 1 ,mem_le_conn_peer_addr_type 
+0x71b8 031689 istore 1 ,contw 
+0x71b9 031690 rtn 
+:      031692 function_f4_ca:
+0x71ba 031693 jam 65 ,mem_aes_cmac_data_length 
+0x71bb 031694 fetch 1 ,mem_passkey_1bit 
+0x71bc 031695 store 1 ,memdat 
+0x71bd 031696 arg mem_le_pubkey_local_x_256 ,contr 
+0x71be 031697 call memcpy32 
+0x71bf 031698 arg mem_le_pubkey_remote_x_256 ,contr 
+0x71c0 031699 call memcpy32 
+0x71c1 031700 call inverse_memdat 
+0x71c2 031701 arg mem_le_mrand ,contr 
+0x71c3 031702 call store_inverse_k 
+0x71c4 031703 branch function_aes_cmac 
+:      031706 function_f4_cb:
+0x71c5 031707 jam 65 ,mem_aes_cmac_data_length 
+0x71c6 031708 fetch 1 ,mem_passkey_1bit 
+0x71c7 031709 store 1 ,memdat 
+0x71c8 031710 arg mem_le_pubkey_remote_x_256 ,contr 
+0x71c9 031711 call memcpy32 
+0x71ca 031712 arg mem_le_pubkey_local_x_256 ,contr 
+0x71cb 031713 call memcpy32 
+0x71cc 031714 call inverse_memdat 
+0x71cd 031715 arg mem_le_srand ,contr 
+0x71ce 031716 call store_inverse_k 
+0x71cf 031717 branch function_aes_cmac 
+:      031719 function_aes_cmac:
+0x71d0 031720 bpatchx patch3b_5 ,mem_patch3b 
+0x71d1 031721 call function_aes_cmac_generate_subkey 
+0x71d2 031725 fetch 1 ,mem_aes_cmac_data_length 
+0x71d3 031726 copy pdata ,temp 
+:      031727 function_ceil16:
+0x71d4 031728 increase 15 ,pdata 
+0x71d5 031729 rshift4 pdata ,pdata 
+0x71d6 031730 copy pdata ,regb 
+0x71d7 031731 branch function_aes_cmac_set_flag_0_balnk ,blank 
+0x71d8 031732 and temp ,0x0f ,pdata 
+0x71d9 031733 nbranch function_aes_cmac_set_flag_0 ,blank 
+0x71da 031735 arg mem_aes_cmac_k1 ,regc 
+0x71db 031736 arg memdat ,pdata 
+0x71dc 031737 increase -16 ,pdata 
+0x71dd 031740 iadd temp ,rega 
+0x71de 031741 arg mem_aes_cmac_m_last ,contw 
+0x71df 031742 arg 4 ,loopcnt 
+0x71e0 031743 call xor_loop 
+0x71e1 031747 branch function_aes_cmac_aes 
+:      031749 function_aes_cmac_set_flag_0_balnk:
+0x71e2 031750 arg 1 ,regb 
+0x71e3 031751 arg 0 ,rega 
+0x71e4 031753 branch function_aes_cmac_set_flag_0_common 
+:      031756 function_aes_cmac_set_flag_0:
+0x71e5 031758 and temp ,0x0f ,rega 
+:      031759 function_aes_cmac_set_flag_0_common:
+0x71e6 031760 arg memdat ,pdata 
+0x71e7 031761 iadd temp ,pdata 
+0x71e8 031762 isub rega ,contr 
+0x71e9 031764 arg mem_aes_cmac_temp ,contw 
+0x71ea 031765 call function_aes_cmac_padding 
+0x71eb 031767 arg mem_aes_cmac_k2 ,regc 
+0x71ec 031768 arg mem_aes_cmac_temp ,rega 
+0x71ed 031769 arg mem_aes_cmac_m_last ,contw 
+0x71ee 031770 arg 4 ,loopcnt 
+0x71ef 031771 call xor_loop 
+:      031778 function_aes_cmac_aes:
+0x71f0 031783 call aes_clear_data 
+0x71f1 031784 call aes_init 
+0x71f2 031787 arg memdat ,contr 
+:      031788 function_aes_cmac_aes_loop:
+0x71f3 031790 increase -1 ,regb 
+0x71f4 031791 deposit regb 
+0x71f5 031792 branch function_aes_cmac_aes_loop_end ,blank 
+0x71f6 031793 call load_data128 
+0x71f7 031794 call do_aes_cbc 
+0x71f8 031795 branch function_aes_cmac_aes_loop 
+:      031797 function_aes_cmac_aes_loop_end:
+0x71f9 031798 arg mem_aes_cmac_temp ,contw 
+0x71fa 031799 call store_aes_result 
+0x71fb 031800 arg mem_aes_cmac_m_last ,contr 
+0x71fc 031801 call load_data128 
+0x71fd 031802 call aes_init 
+0x71fe 031803 arg mem_aes_cmac_temp ,contr 
+0x71ff 031804 call load_data128 
+0x7200 031805 branch do_aes_cbc 
+:      031809 load_inverse_result:
+0x7201 031811 copy contw ,rega 
+0x7202 031812 call store_aes_result 
+0x7203 031814 arg 16 ,loopcnt 
+0x7204 031815 branch inverse_data 
+:      031817 store_inverse_k:
+0x7205 031818 arg mem_aes_cmac_k ,contw 
+0x7206 031819 call memcpy16 
+:      031820 inverse_k:
+0x7207 031821 arg 16 ,loopcnt 
+0x7208 031822 arg mem_aes_cmac_k ,rega 
+0x7209 031823 branch inverse_data 
+:      031825 inverse_memdat:
+0x720a 031826 fetch 1 ,mem_aes_cmac_data_length 
+0x720b 031827 copy pdata ,loopcnt 
+0x720c 031828 arg memdat ,rega 
+0x720d 031829 branch inverse_data 
+:      031831 bn_lshift_0_inverse:
+0x720e 031832 ifetch 1 ,rega 
+0x720f 031833 lshift pdata ,pdata 
+0x7210 031834 isolate1 0 ,regc 
+0x7211 031835 setflag true ,0 ,pdata 
+0x7212 031836 isolate1 8 ,pdata 
+0x7213 031837 setflag true ,0 ,regc 
+0x7214 031838 istore 1 ,rega 
+0x7215 031839 increase -1 ,rega 
+0x7216 031840 loop bn_lshift_0_inverse 
+0x7217 031841 rtn 
+:      031843 function_aes_cmac_k1_inverse:
+0x7218 031844 arg mem_aes_cmac_k1 ,rega 
+:      031845 function_aes_cmac_inverse_common:
+0x7219 031846 increase 15 ,rega 
+0x721a 031847 force 16 ,loopcnt 
+0x721b 031848 force 0 ,regc 
+0x721c 031849 branch bn_lshift_0_inverse 
+:      031851 function_aes_cmac_k2_inverse:
+0x721d 031852 arg mem_aes_cmac_k2 ,rega 
+0x721e 031853 branch function_aes_cmac_inverse_common 
+:      031856 function_aes_cmac_generate_subkey:
+0x721f 031857 arg mem_aes_cmac_k ,contr 
+0x7220 031858 call load_key 
+0x7221 031861 force regidx_xor ,regext_index 
+0x7222 031862 call aes_clear 
+0x7223 031863 call aes_clear_data 
+0x7224 031864 call do_aes_ocb 
+0x7225 031869 arg mem_aes_cmac_k1 ,contw 
+0x7226 031870 call store_aes_result 
+:      031871 function_aes_cmac_k1:
+0x7227 031872 bpatchx patch3b_6 ,mem_patch3b 
+0x7228 031873 fetch 1 ,mem_aes_cmac_k1 
+0x7229 031874 isolate1 7 ,pdata 
+0x722a 031875 nbranch function_aes_cmac_k1_0 ,true 
+0x722b 031876 call function_aes_cmac_k1_inverse 
+0x722c 031879 arg mem_aes_cmac_k1 ,regc 
+0x722d 031881 arg mem_aes_cmac_k1 ,contw 
+0x722e 031884 call function_aes_cmac_xor_rb 
+0x722f 031885 branch function_aes_cmac_k2 
+:      031886 function_aes_cmac_k1_0:
+0x7230 031887 call function_aes_cmac_k1_inverse 
+:      031888 function_aes_cmac_k2:
+0x7231 031890 arg mem_aes_cmac_k1 ,contr 
+0x7232 031891 arg mem_aes_cmac_k2 ,contw 
+0x7233 031892 call memcpy16 
+0x7234 031893 fetch 1 ,mem_aes_cmac_k2 
+0x7235 031894 isolate1 7 ,pdata 
+0x7236 031895 nbranch function_aes_cmac_k2_inverse ,true 
+0x7237 031896 call function_aes_cmac_k2_inverse 
+0x7238 031898 arg mem_aes_cmac_k2 ,regc 
+0x7239 031900 arg mem_aes_cmac_k2 ,contw 
+:      031906 function_aes_cmac_xor_rb:
+0x723a 031907 arg 3 ,loopcnt 
+:      031908 function_aes_cmac_xor_rb_loop:
+0x723b 031909 arg 0 ,temp 
+0x723c 031910 call function_aes_cmac_xor_loop_common 
+0x723d 031911 increase 4 ,regc 
+0x723e 031912 loop function_aes_cmac_xor_rb_loop 
+0x723f 031913 arg 0x8700 ,temp 
+0x7240 031914 lshift16 temp ,temp 
+:      031915 function_aes_cmac_xor_loop_common:
+0x7241 031916 ifetch 4 ,regc 
+0x7242 031917 ixor temp ,pdata 
+0x7243 031918 istore 4 ,contw 
+0x7244 031919 rtn 
+:      031925 function_aes_cmac_padding:
+0x7245 031926 bpatchx patch3b_7 ,mem_patch3b 
+0x7246 031927 arg 16 ,loopcnt 
+0x7247 031928 arg 0 ,pdata 
+:      031929 function_aes_cmac_padding_loop:
+0x7248 031930 isub rega ,null 
+0x7249 031931 branch function_aes_cmac_padding_beq_length ,zero 
+0x724a 031932 branch function_aes_cmac_padding_big_length ,positive 
+0x724b 031933 ifetcht 1 ,contr 
+0x724c 031934 istoret 1 ,contw 
+:      031935 function_aes_cmac_padding_loop2:
+0x724d 031936 increase 1 ,pdata 
+0x724e 031937 loop function_aes_cmac_padding_loop 
+0x724f 031938 rtn 
+:      031939 function_aes_cmac_padding_beq_length:
+0x7250 031940 arg 0x80 ,temp 
+:      031941 function_aes_cmac_padding_common:
+0x7251 031942 istoret 1 ,contw 
+0x7252 031943 branch function_aes_cmac_padding_loop2 
+:      031945 function_aes_cmac_padding_big_length:
+0x7253 031946 arg 0 ,temp 
+0x7254 031947 branch function_aes_cmac_padding_common 
+:      031950 generate_kinit:
+0x7255 031951 call function_e22 
+0x7256 031952 arg mem_input_store ,contr 
+0x7257 031953 arg mem_kinit ,contw 
+0x7258 031954 branch memcpy16 
+:      031957 function_e21:
+0x7259 031958 disable user 
+0x725a 031959 call function_expand 
+0x725b 031960 arg mem_random_number ,contr 
+0x725c 031961 arg mem_x ,contw 
+0x725d 031962 force 15 ,loopcnt 
+0x725e 031963 call memcpy 
+0x725f 031964 ifetch 1 ,contr 
+0x7260 031965 xor_into 6 ,pdata 
+0x7261 031966 istore 1 ,contw 
+0x7262 031967 setarg mem_y 
+0x7263 031968 store 2 ,memp_ar_input 
+0x7264 031969 setarg mem_x 
+0x7265 031970 store 2 ,memp_ar_key 
+0x7266 031971 set1 mark_ar2 ,mark 
+0x7267 031972 branch function_ar 
+:      031976 function_e22:
+0x7268 031977 fetcht 1 ,mem_pin_length 
+0x7269 031978 force 16 ,regb 
+0x726a 031979 add temp ,6 ,regc 
+0x726b 031980 sub regc ,16 ,null 
+0x726c 031981 branch function_e22_pin_init ,positive 
+0x726d 031982 force 16 ,regc 
+:      031983 function_e22_pin_init:
+0x726e 031984 arg mem_x ,contw 
+:      031985 function_e22_genx_pin:
+0x726f 031986 arg mem_pin ,contr 
+0x7270 031987 copy temp ,loopcnt 
+0x7271 031988 disable user 
+:      031989 function_e22_genx_loop:
+0x7272 031990 ifetch 1 ,contr 
+0x7273 031991 istore 1 ,contw 
+0x7274 031992 increase -1 ,regb 
+0x7275 031993 branch function_e22_genx_end ,zero 
+0x7276 031994 loop function_e22_genx_loop 
+0x7277 031995 branch function_e22_genx_pin ,user 
+0x7278 031996 enable user 
+0x7279 031997 force 6 ,loopcnt 
+0x727a 031998 copy rega ,contr 
+0x727b 031999 branch function_e22_genx_loop 
+:      032000 function_e22_genx_end:
+0x727c 032001 arg mem_random_number ,contr 
+0x727d 032002 arg mem_y ,contw 
+0x727e 032003 call memcpy16 
+0x727f 032004 fetch 1 ,mem_y15 
+0x7280 032005 ixor regc ,pdata 
+0x7281 032006 store 1 ,mem_y15 
+0x7282 032007 setarg mem_y 
+0x7283 032008 store 2 ,memp_ar_input 
+0x7284 032009 setarg mem_x 
+0x7285 032010 store 2 ,memp_ar_key 
+0x7286 032011 set1 mark_ar2 ,mark 
+0x7287 032012 branch function_ar 
+:      032017 function_e1:
+0x7288 032018 disable user 
+0x7289 032019 call function_expand 
+0x728a 032020 branch function_hash 
+:      032022 function_e3:
+0x728b 032023 arg mem_aco ,rega 
+0x728c 032024 enable user 
+0x728d 032025 call function_expand 
+0x728e 032026 call function_hash 
+0x728f 032027 arg mem_input_store ,contr 
+0x7290 032028 arg mem_kc ,contw 
+0x7291 032029 branch memcpy16 
+:      032032 function_hash:
+0x7292 032033 setarg mem_random_number 
+0x7293 032034 store 2 ,memp_ar_input 
+0x7294 032035 setarg mem_link_key 
+0x7295 032036 store 2 ,memp_ar_key 
+0x7296 032037 set0 mark_ar2 ,mark 
+0x7297 032038 call function_ar 
+0x7298 032039 arg mem_input_store ,rega 
+0x7299 032040 arg mem_random_number ,regb 
+0x729a 032041 arg mem_x ,contw 
+0x729b 032042 call xor16 
+0x729c 032043 arg mem_x ,rega 
+0x729d 032044 arg mem_y ,regb 
+0x729e 032045 copy regb ,contw 
+0x729f 032046 enable user 
+0x72a0 032047 call add16 
+0x72a1 032048 call key_offset 
+0x72a2 032049 setarg mem_y 
+0x72a3 032050 store 2 ,memp_ar_input 
+0x72a4 032051 setarg mem_x 
+0x72a5 032052 store 2 ,memp_ar_key 
+0x72a6 032053 set1 mark_ar2 ,mark 
+0x72a7 032054 branch function_ar 
+:      032058 function_ar:
+0x72a8 032059 jam 0 ,mem_ar_hround 
+0x72a9 032060 fetch 2 ,memp_ar_key 
+0x72aa 032061 iforce contr 
+0x72ab 032062 arg mem_key_store ,contw 
+0x72ac 032063 call memcpy16 
+0x72ad 032064 fetch 2 ,memp_ar_input 
+0x72ae 032065 iforce contr 
+0x72af 032066 arg mem_input_store ,contw 
+0x72b0 032067 call memcpy16 
+:      032069 function_ar_loop:
+0x72b1 032070 call key_scheduling 
+0x72b2 032071 disable user 
+0x72b3 032072 bmark0 mark_ar2 ,function_ar_original 
+0x72b4 032073 fetch 1 ,mem_ar_hround 
+0x72b5 032074 bne 4 ,function_ar_original 
+0x72b6 032075 fetch 2 ,memp_ar_input 
+0x72b7 032076 iforce regb 
+0x72b8 032077 call xor_mod32_ar2 
+:      032078 function_ar_original:
+0x72b9 032079 call xor_mod32 
+0x72ba 032080 call el_boxes 
+0x72bb 032081 fetch 1 ,mem_ar_hround 
+0x72bc 032082 increase 1 ,pdata 
+0x72bd 032083 store 1 ,mem_ar_hround 
+0x72be 032085 call key_scheduling 
+0x72bf 032086 enable user 
+0x72c0 032087 call xor_mod32 
+0x72c1 032088 call pht 
+0x72c2 032089 call permute 
+0x72c3 032090 call pht 
+0x72c4 032091 call permute 
+0x72c5 032092 call pht 
+0x72c6 032093 call permute 
+0x72c7 032094 call pht 
+0x72c8 032095 fetch 1 ,mem_ar_hround 
+0x72c9 032096 increase 1 ,pdata 
+0x72ca 032097 store 1 ,mem_ar_hround 
+0x72cb 032098 bne 16 ,function_ar_loop 
+0x72cc 032099 call key_scheduling 
+0x72cd 032100 disable user 
+0x72ce 032101 branch xor_mod32 
+:      032105 key_scheduling:
+0x72cf 032106 fetch 1 ,mem_ar_hround 
+0x72d0 032107 arg mem_key_store ,contr 
+0x72d1 032108 branch key_sched_zero ,blank 
+0x72d2 032109 iforce regb 
+0x72d3 032110 force 17 ,loopcnt 
+0x72d4 032111 copy contr ,contw 
+:      032112 key_rotateloop:
+0x72d5 032113 ifetch 1 ,contr 
+0x72d6 032114 lshift3 pdata ,temp 
+0x72d7 032115 rshift2 pdata ,pdata 
+0x72d8 032116 rshift3 pdata ,pdata 
+0x72d9 032117 ior temp ,pdata 
+0x72da 032118 istore 1 ,contw 
+0x72db 032119 loop key_rotateloop 
+0x72dc 032120 setarg mem_key_store 
+0x72dd 032121 iadd regb ,contr 
+0x72de 032122 force 16 ,loopcnt 
+0x72df 032123 arg mem_round_key ,contw 
+:      032124 key_select_octet_loop:
+0x72e0 032125 ifetch 1 ,contr 
+0x72e1 032126 istore 1 ,contw 
+0x72e2 032127 compare mem_key_store_end ,contr ,0xff 
+0x72e3 032128 nbranch key_select_octet_nwrap ,true 
+0x72e4 032129 increase -17 ,contr 
+:      032130 key_select_octet_nwrap:
+0x72e5 032131 loop key_select_octet_loop 
+0x72e6 032132 force 0 ,rega 
+0x72e7 032133 add regb ,-1 ,regc 
+0x72e8 032134 lshift2 regc ,regc 
+0x72e9 032135 lshift2 regc ,regc 
+0x72ea 032136 call enable_authrom 
+0x72eb 032137 setarg mem_b_box 
+0x72ec 032138 iadd regc ,regc 
+0x72ed 032139 arg mem_round_key ,contw 
+0x72ee 032140 force 16 ,loopcnt 
+:      032141 bias_round_key_loop:
+0x72ef 032142 ifetcht 1 ,regc 
+0x72f0 032143 ifetch 1 ,contw 
+0x72f1 032144 iadd temp ,pdata 
+0x72f2 032145 istore 1 ,contw 
+0x72f3 032146 increase 1 ,regc 
+0x72f4 032147 loop bias_round_key_loop 
+0x72f5 032148 branch disable_authrom 
+:      032150 key_sched_zero:
+0x72f6 032151 force 16 ,loopcnt 
+0x72f7 032152 force 0 ,temp 
+:      032153 create_byte_16_loop:
+0x72f8 032154 ifetch 1 ,contr 
+0x72f9 032155 ixor temp ,temp 
+0x72fa 032156 loop create_byte_16_loop 
+0x72fb 032157 deposit temp 
+0x72fc 032158 istore 1 ,contr 
+0x72fd 032159 arg mem_key_store ,contr 
+0x72fe 032160 arg mem_round_key ,contw 
+0x72ff 032161 branch memcpy16 
+:      032163 xor_mod32:
+0x7300 032164 arg mem_round_key ,regb 
+:      032165 xor_mod32_ar2:
+0x7301 032166 force 16 ,loopcnt 
+0x7302 032167 arg mem_input_store ,rega 
+0x7303 032168 copy rega ,contw 
+:      032169 xor_mod32_loop:
+0x7304 032170 ifetcht 1 ,rega 
+0x7305 032171 ifetch 1 ,regb 
+0x7306 032172 ixor temp ,alarm 
+0x7307 032173 and loopcnt ,3 ,regc 
+0x7308 032174 nbranch xor_mod32_invert ,user 
+0x7309 032175 xor_into 3 ,regc 
+:      032176 xor_mod32_invert:
+0x730a 032177 sub regc ,1 ,regc 
+0x730b 032178 branch xor_even ,positive 
+0x730c 032179 iadd temp ,alarm 
+:      032180 xor_even:
+0x730d 032181 deposit alarm 
+0x730e 032182 istore 1 ,contw 
+0x730f 032183 increase 1 ,rega 
+0x7310 032184 increase 1 ,regb 
+0x7311 032185 loop xor_mod32_loop 
+0x7312 032186 rtn 
+:      032188 el_boxes:
+0x7313 032189 call enable_authrom 
+0x7314 032190 force 16 ,loopcnt 
+0x7315 032191 arg mem_input_store ,rega 
+:      032192 el_box_loop:
+0x7316 032193 ifetch 1 ,rega 
+0x7317 032194 arg mem_e_box ,contr 
+0x7318 032195 and loopcnt ,3 ,regc 
+0x7319 032196 sub regc ,1 ,null 
+0x731a 032197 branch e_boxes ,positive 
+0x731b 032198 arg mem_l_box ,contr 
+:      032199 e_boxes:
+0x731c 032200 iadd contr ,contr 
+0x731d 032201 ifetch 1 ,contr 
+0x731e 032202 istore 1 ,rega 
+0x731f 032203 increase 1 ,rega 
+0x7320 032204 loop el_box_loop 
+0x7321 032205 branch disable_authrom 
+:      032207 pht:
+0x7322 032208 force 8 ,loopcnt 
+0x7323 032209 arg mem_input_store ,contr 
+0x7324 032210 copy contr ,contw 
+:      032211 pht_loop:
+0x7325 032212 ifetch 1 ,contr 
+0x7326 032213 iforce rega 
+0x7327 032214 ifetch 1 ,contr 
+0x7328 032215 iforce regb 
+0x7329 032216 lshift rega ,pdata 
+0x732a 032217 iadd regb ,pdata 
+0x732b 032218 istore 1 ,contw 
+0x732c 032219 deposit rega 
+0x732d 032220 iadd regb ,pdata 
+0x732e 032221 istore 1 ,contw 
+0x732f 032222 loop pht_loop 
+0x7330 032223 rtn 
+:      032226 permute:
+0x7331 032227 setarg 0x8ae42c 
+0x7332 032228 iforce temp 
+0x7333 032229 force 7 ,loopcnt 
+0x7334 032230 call permute_exchange 
+0x7335 032231 setarg 0xd751b 
+0x7336 032232 iforce temp 
+0x7337 032233 force 5 ,loopcnt 
+0x7338 032234 call permute_exchange 
+0x7339 032235 fetch 1 ,mem_input_store + 15 
+0x733a 032236 iforce rega 
+0x733b 032237 fetch 1 ,mem_input_store + 3 
+0x733c 032238 store 1 ,mem_input_store + 15 
+0x733d 032239 deposit rega 
+0x733e 032240 store 1 ,mem_input_store + 3 
+0x733f 032241 rtn 
+:      032243 permute_exchange:
+0x7340 032244 and temp ,0xf ,regb 
+:      032245 permute_loop:
+0x7341 032246 and temp ,0xf ,pdata 
+0x7342 032247 arg mem_input_store ,contw 
+0x7343 032248 iadd contw ,contw 
+0x7344 032249 ifetch 1 ,contw 
+0x7345 032250 iforce regc 
+0x7346 032251 deposit rega 
+0x7347 032252 istore 1 ,contw 
+0x7348 032253 copy regc ,rega 
+0x7349 032254 rshift4 temp ,temp 
+0x734a 032255 loop permute_loop 
+0x734b 032256 setarg mem_input_store 
+0x734c 032257 iadd regb ,contw 
+0x734d 032258 deposit rega 
+0x734e 032259 istore 1 ,contw 
+0x734f 032260 rtn 
+:      032262 add16:
+0x7350 032263 enable user 
+0x7351 032264 branch xor_add16 
+:      032266 xor16:
+0x7352 032267 disable user 
+:      032268 xor_add16:
+0x7353 032269 force 16 ,loopcnt 
+:      032270 xoradd_loop:
+0x7354 032271 ifetcht 1 ,rega 
+0x7355 032272 ifetch 1 ,regb 
+0x7356 032273 branch xoradd_add ,user 
+0x7357 032274 ixor temp ,pdata 
+0x7358 032275 branch xoradd_store 
+:      032276 xoradd_add:
+0x7359 032277 iadd temp ,pdata 
+:      032278 xoradd_store:
+0x735a 032279 istore 1 ,contw 
+0x735b 032280 increase 1 ,rega 
+0x735c 032281 increase 1 ,regb 
+0x735d 032282 loop xoradd_loop 
+0x735e 032283 rtn 
+:      032286 function_expand:
+0x735f 032287 arg mem_y ,contw 
+0x7360 032288 ifetch 6 ,rega 
+0x7361 032289 istore 6 ,contw 
+0x7362 032290 branch expand_12 ,user 
+0x7363 032291 ifetch 6 ,rega 
+0x7364 032292 branch expand_cont 
+:      032293 expand_12:
+0x7365 032294 ifetch 6 ,contr 
+:      032295 expand_cont:
+0x7366 032296 istore 6 ,contw 
+0x7367 032297 ifetch 4 ,rega 
+0x7368 032298 istore 4 ,contw 
+0x7369 032299 rtn 
+:      032301 key_offset:
+0x736a 032302 arg mem_link_key ,contr 
+0x736b 032303 arg mem_x ,contw 
+0x736c 032304 arg 0 ,temp 
+0x736d 032305 setarg 0x8395a7 
+0x736e 032306 call concatenate_temp24 
+0x736f 032307 setarg 0xb3c1df 
+0x7370 032308 call concatenate_temp24 
+0x7371 032309 setarg 0xe5e9 
+0x7372 032310 call concatenate_temp16 
+0x7373 032311 copy temp ,regab 
+0x7374 032312 disable user 
+0x7375 032313 call key_addxor 
+0x7376 032314 copy regab ,temp 
+0x7377 032315 enable user 
+0x7378 032316 branch key_addxor 
+:      032318 key_addxor:
+0x7379 032319 force 8 ,loopcnt 
+:      032320 key_addxor_loop:
+0x737a 032321 ifetch 1 ,contr 
+0x737b 032322 compare 1 ,loopcnt ,1 
+0x737c 032323 branch key_high ,user 
+0x737d 032324 branch key_xor ,true 
+:      032325 key_add:
+0x737e 032326 iadd temp ,pdata 
+0x737f 032327 branch key_store 
+:      032328 key_high:
+0x7380 032329 branch key_add ,true 
+:      032330 key_xor:
+0x7381 032331 ixor temp ,pdata 
+:      032332 key_store:
+0x7382 032333 istore 1 ,contw 
+0x7383 032334 rshift8 temp ,temp 
+0x7384 032335 loop key_addxor_loop 
+0x7385 032336 rtn 
+:      032338 copy_aco:
+0x7386 032339 fetch 6 ,mem_input_store + 4 
+0x7387 032340 store 6 ,mem_aco 
+0x7388 032341 ifetch 6 ,contr 
+0x7389 032342 istore 6 ,contw 
+0x738a 032343 rtn 
+:      032345 concatenate_temp24:
+0x738b 032346 lshift8 temp ,temp 
+:      032347 concatenate_temp16:
+0x738c 032348 lshift16 temp ,temp 
+0x738d 032349 ior temp ,temp 
+0x738e 032350 rtn 
+:      032354 loop1:
+0x738f 032355 branch loop1 
+:      032359 generate_stk:
+0x7390 032360 bpatchx patch3c_0 ,mem_patch3c 
+0x7391 032361 call function_s1 
+0x7392 032362 arg mem_le_ltk ,contw 
+0x7393 032363 branch store_aes_result 
+:      032366 authenticate_rconfirm:
+0x7394 032367 arg mem_le_srand ,contw 
+0x7395 032368 branch authenticate_mconfirm ,master 
+0x7396 032369 arg mem_le_mrand ,contw 
+:      032370 authenticate_mconfirm:
+0x7397 032371 copy contr ,rega 
+0x7398 032372 call memcpy16 
+0x7399 032373 call function_c1 
+0x739a 032374 arg mem_le_rconfirm ,contr 
+0x739b 032375 branch compare_res 
+:      032377 generate_confirm:
+0x739c 032378 arg mem_le_mrand ,rega 
+0x739d 032379 branch generate_mrand ,master 
+0x739e 032380 arg mem_le_srand ,rega 
+:      032381 generate_mrand:
+0x739f 032382 copy rega ,contw 
+0x73a0 032383 call generate_random 
+0x73a1 032384 branch function_c1 
+:      032386 generate_sk:
+0x73a2 032387 arg mem_le_skdm ,contr 
+0x73a3 032388 call load_data128 
+0x73a4 032389 arg mem_le_ltk ,contr 
+0x73a5 032390 call load_regext 
+0x73a6 032391 force 0x38 ,aes_ctrl 
+0x73a7 032392 force 0x0 ,aes_ctrl 
+0x73a8 032393 call wait_aes 
+0x73a9 032394 arg mem_le_sk ,contw 
+0x73aa 032395 branch store_aes_result 
+:      032398 first_block_counter:
+0x73ab 032399 force 0x49 ,pdata 
+0x73ac 032400 branch first_block 
+:      032401 first_block_data:
+0x73ad 032402 force 1 ,pdata 
+:      032403 first_block:
+0x73ae 032404 force regidx_data ,regext_index 
+0x73af 032405 lshift8 temp ,regext 
+0x73b0 032406 ior regext ,regext 
+0x73b1 032407 increase 1 ,regext_index 
+0x73b2 032408 rshift8 temp ,regext 
+0x73b3 032409 rshift16 regext ,regext 
+0x73b4 032410 fetch 2 ,mem_le_ivm 
+0x73b5 032411 lshift16 ,pdata ,pdata 
+0x73b6 032412 ior regext ,regext 
+0x73b7 032413 increase 1 ,regext_index 
+0x73b8 032414 ifetch 4 ,contr 
+0x73b9 032415 iforce regext 
+0x73ba 032416 increase 1 ,regext_index 
+0x73bb 032417 ifetch 2 ,contr 
+0x73bc 032418 byteswap rega ,regext 
+0x73bd 032419 lshift16 regext ,regext 
+0x73be 032420 ior regext ,regext 
+0x73bf 032421 increase 1 ,regext_index 
+0x73c0 032422 rtn 
+:      032426 generate_mic:
+0x73c1 032427 add regc ,1 ,contr 
+0x73c2 032428 ifetch 1 ,contr 
+0x73c3 032429 iforce rega 
+0x73c4 032430 call first_block_counter 
+0x73c5 032431 call do_aes_ocb 
+0x73c6 032433 force regidx_data ,regext_index 
+0x73c7 032434 ifetch 1 ,regc 
+0x73c8 032435 and_into 0x3 ,pdata 
+0x73c9 032436 lshift16 pdata ,regext 
+0x73ca 032437 set1 8 ,regext 
+0x73cb 032438 call clear_hidata 
+0x73cc 032439 call do_aes_cbc 
+0x73cd 032441 copy rega ,loopcnt 
+0x73ce 032442 add regc ,2 ,contr 
+0x73cf 032443 call padding_data 
+:      032444 generate_mic_loop:
+0x73d0 032445 call aes_load_data 
+0x73d1 032446 call do_aes_cbc 
+0x73d2 032447 deposit loopcnt 
+0x73d3 032448 branch generate_mic_end ,blank 
+0x73d4 032449 branch generate_mic_loop 
+:      032450 generate_mic_end:
+0x73d5 032451 force regidx_result ,regext_index 
+0x73d6 032452 deposit regext 
+0x73d7 032453 store 4 ,mem_le_mic 
+0x73d8 032454 rtn 
+:      032456 aes_crypt_data:
+0x73d9 032457 increase 1 ,rega 
+0x73da 032458 call first_block_data 
+0x73db 032459 copy regc ,contr 
+0x73dc 032460 call aes_load_xor 
+0x73dd 032461 call do_aes_ctr 
+0x73de 032462 call store_enc_data 
+0x73df 032463 increase 16 ,regc 
+0x73e0 032464 increase -16 ,regb 
+0x73e1 032465 branch aes_crypt_data ,positive 
+0x73e2 032466 rtn 
+:      032468 le_encrypt:
+0x73e3 032469 bpatchx patch3c_1 ,mem_patch3c 
+0x73e4 032470 arg mem_le_txheader ,regc 
+0x73e5 032471 fetcht 5 ,mem_le_pcnt_tx 
+0x73e6 032472 call generate_mic 
+0x73e7 032473 force regidx_xor ,regext_index 
+0x73e8 032474 iforce regext 
+0x73e9 032475 force 0 ,rega 
+0x73ea 032476 call first_block_data 
+0x73eb 032477 call do_aes_ctr 
+0x73ec 032478 arg mem_le_txpayload ,regc 
+0x73ed 032479 fetch 1 ,mem_le_txlen 
+0x73ee 032480 add pdata ,-1 ,regb 
+0x73ef 032481 iadd regc ,contw 
+0x73f0 032482 force regidx_result ,regext_index 
+0x73f1 032483 deposit regext 
+0x73f2 032484 istore 4 ,contw 
+0x73f3 032485 call aes_crypt_data 
+0x73f4 032486 fetch 1 ,mem_le_txlen 
+0x73f5 032487 increase 4 ,pdata 
+0x73f6 032488 store 1 ,mem_le_txlen 
+0x73f7 032489 fetcht 5 ,mem_le_pcnt_tx 
+0x73f8 032490 increase 1 ,temp 
+0x73f9 032491 storet 5 ,mem_le_pcnt_tx 
+0x73fa 032492 rtn 
+:      032494 le_decrypt:
+0x73fb 032495 bpatchx patch3c_2 ,mem_patch3c 
+0x73fc 032496 fetch 1 ,mem_le_rxbuf + 1 
+0x73fd 032497 sub pdata ,20 ,null 
+0x73fe 032498 branch le_dec_cont ,positive 
+:      032499 le_dec_cont:
+0x73ff 032500 arg mem_le_rxbuf + 2 ,regc 
+0x7400 032501 add pdata ,-1 ,regb 
+0x7401 032502 increase -4 ,pdata 
+0x7402 032503 store 1 ,mem_le_rxbuf + 1 
+0x7403 032504 iadd regc ,contr 
+0x7404 032505 ifetch 4 ,contr 
+0x7405 032506 force regidx_xor ,regext_index 
+0x7406 032507 iforce regext 
+0x7407 032508 force 0 ,rega 
+0x7408 032509 fetcht 5 ,mem_le_pcnt_rx 
+0x7409 032510 call first_block_data 
+0x740a 032511 call do_aes_ctr 
+0x740b 032512 force regidx_result ,regext_index 
+0x740c 032513 deposit regext 
+0x740d 032514 store 4 ,mem_le_peer_mic 
+0x740e 032515 call aes_crypt_data 
+0x740f 032516 arg mem_le_rxbuf ,regc 
+0x7410 032517 call generate_mic 
+0x7411 032518 fetcht 4 ,mem_le_peer_mic 
+0x7412 032519 isub temp ,pdata 
+0x7413 032520 nrtn blank 
+0x7414 032521 fetch 4 ,mem_le_last_mic 
+0x7415 032522 isub temp ,pdata 
+0x7416 032523 rtn blank 
+0x7417 032524 storet 4 ,mem_le_last_mic 
+0x7418 032525 fetch 5 ,mem_le_pcnt_rx 
+0x7419 032526 increase 1 ,pdata 
+0x741a 032527 store 5 ,mem_le_pcnt_rx 
+0x741b 032528 force 0 ,pdata 
+0x741c 032529 rtn 
+:      032531 wait_aes:
+0x741d 032532 nbranch wait_aes ,aes_ready 
+0x741e 032533 rtn 
+:      032535 do_aes_ocb:
+0x741f 032536 force 0x30 ,aes_ctrl 
+0x7420 032537 force 0x0 ,aes_ctrl 
+0x7421 032538 branch wait_aes 
+:      032540 do_aes_cbc:
+0x7422 032541 force 0x32 ,aes_ctrl 
+0x7423 032542 force 0x2 ,aes_ctrl 
+0x7424 032543 branch wait_aes 
+:      032545 do_aes_ctr:
+0x7425 032546 force 0x34 ,aes_ctrl 
+0x7426 032547 force 0x4 ,aes_ctrl 
+0x7427 032548 branch wait_aes 
+:      032551 aes_init:
+0x7428 032552 force 1 ,aes_ctrl 
+0x7429 032553 force 0 ,aes_ctrl 
+0x742a 032554 rtn 
+:      032555 function_s1:
+0x742b 032556 force regidx_data ,regext_index 
+0x742c 032557 fetch 4 ,mem_le_mrand 
+0x742d 032558 iforce regext 
+0x742e 032559 increase 1 ,regext_index 
+0x742f 032560 ifetch 4 ,contr 
+0x7430 032561 iforce regext 
+0x7431 032562 increase 1 ,regext_index 
+0x7432 032563 fetch 4 ,mem_le_srand 
+0x7433 032564 iforce regext 
+0x7434 032565 increase 1 ,regext_index 
+0x7435 032566 ifetch 4 ,contr 
+0x7436 032567 iforce regext 
+0x7437 032568 increase 1 ,regext_index 
+0x7438 032569 call aes_clear 
+0x7439 032570 increase -4 ,regext_index 
+0x743a 032571 fetch 4 ,mem_le_tk 
+0x743b 032572 copy pdata ,regext 
+0x743c 032573 increase 4 ,regext_index 
+0x743d 032574 force 0x38 ,aes_ctrl 
+0x743e 032575 force 0x8 ,aes_ctrl 
+0x743f 032576 branch wait_aes 
+:      032579 function_c1:
+0x7440 032580 bpatchx patch3c_3 ,mem_patch3c 
+0x7441 032581 fetch 6 ,mem_le_lap 
+0x7442 032582 fetcht 6 ,mem_le_plap 
+0x7443 032583 branch function_c1_master ,master 
+0x7444 032584 fetch 6 ,mem_le_plap 
+0x7445 032585 fetcht 6 ,mem_le_lap 
+:      032586 function_c1_master:
+0x7446 032587 force regidx_xor ,regext_index 
+0x7447 032588 copy temp ,regext 
+0x7448 032589 increase 1 ,regext_index 
+0x7449 032590 rshift32 temp ,regext 
+0x744a 032591 lshift16 pdata ,pdata 
+0x744b 032592 ior regext ,regext 
+0x744c 032593 increase 1 ,regext_index 
+0x744d 032594 rshift32 pdata ,regext 
+0x744e 032595 increase 1 ,regext_index 
+0x744f 032596 force 0 ,regext 
+0x7450 032597 force 0 ,pdata 
+0x7451 032598 fetch 1 ,mem_le_conn_peer_addr_type 
+0x7452 032599 fetcht 1 ,mem_le_adv_own_addr_type 
+0x7453 032600 nbranch function_c1_irat ,master 
+0x7454 032602 fetch 1 ,mem_le_conn_own_addr_type 
+0x7455 032603 fetcht 1 ,mem_le_conn_peer_addr_type 
+:      032604 function_c1_irat:
+0x7456 032605 store 1 ,mem_le_iat 
+0x7457 032606 storet 1 ,mem_le_rat 
+0x7458 032607 force regidx_data ,regext_index 
+0x7459 032608 arg mem_le_iat ,regb 
+0x745a 032609 force 4 ,loopcnt 
+:      032610 function_c1_loop1:
+0x745b 032611 ifetch 4 ,rega 
+0x745c 032612 ifetcht 4 ,regb 
+0x745d 032613 ixor temp ,regext 
+0x745e 032614 increase 1 ,regext_index 
+0x745f 032615 increase 4 ,rega 
+0x7460 032616 increase 4 ,regb 
+0x7461 032617 loop function_c1_loop1 
+0x7462 032618 call aes_clear 
+0x7463 032619 increase -4 ,regext_index 
+0x7464 032620 fetch 4 ,mem_le_tk 
+0x7465 032621 copy pdata ,regext 
+0x7466 032622 increase 4 ,regext_index 
+0x7467 032623 force 0x38 ,aes_ctrl 
+0x7468 032624 force 0xc ,aes_ctrl 
+0x7469 032625 call wait_aes 
+0x746a 032627 call aes_clear_data 
+0x746b 032628 force 0x3a ,aes_ctrl 
+0x746c 032629 force 0x8 ,aes_ctrl 
+0x746d 032630 branch wait_aes 
+:      032632 padding_data:
+0x746e 032633 compare 0 ,loopcnt ,3 
+0x746f 032634 rtn true 
+0x7470 032635 deposit contr 
+0x7471 032636 iadd loopcnt ,contw 
+0x7472 032637 force 0 ,pdata 
+:      032638 padding_loop:
+0x7473 032639 istore 1 ,contw 
+0x7474 032640 increase 1 ,loopcnt 
+0x7475 032641 compare 0 ,loopcnt ,3 
+0x7476 032642 rtn true 
+0x7477 032643 branch padding_loop 
+:      032645 aes_load_data:
+0x7478 032646 force regidx_data ,regext_index 
+:      032647 load_data_loop:
+0x7479 032648 deposit loopcnt 
+0x747a 032649 branch load_data_padding ,blank 
+0x747b 032650 ifetch 4 ,contr 
+0x747c 032651 increase -4 ,loopcnt 
+:      032652 load_data_padding:
+0x747d 032653 iforce regext 
+0x747e 032654 increase 1 ,regext_index 
+0x747f 032655 compare regidx_key ,regext_index ,0xf 
+0x7480 032656 rtn true 
+0x7481 032657 branch load_data_loop 
+:      032659 aes_load_xor:
+0x7482 032660 force regidx_xor ,regext_index 
+0x7483 032661 branch load_regext 
+:      032662 load_key:
+0x7484 032663 force regidx_key ,regext_index 
+0x7485 032664 branch load_regext 
+:      032665 load_data128:
+0x7486 032666 force regidx_data ,regext_index 
+:      032667 load_regext:
+0x7487 032668 force 4 ,loopcnt 
+:      032669 load_regext_loop:
+0x7488 032670 ifetch 4 ,contr 
+0x7489 032671 iforce regext 
+0x748a 032672 increase 1 ,regext_index 
+0x748b 032673 loop load_regext_loop 
+0x748c 032674 rtn 
+:      032676 load_sk:
+0x748d 032677 arg mem_le_sk ,contr 
+0x748e 032678 branch load_key 
+:      032680 clear_hidata:
+0x748f 032681 force 4 ,loopcnt 
+0x7490 032682 branch clear_data_rest 
+:      032684 aes_clear_data:
+0x7491 032685 force regidx_data ,regext_index 
+:      032686 aes_clear:
+0x7492 032687 force 4 ,loopcnt 
+:      032688 clear_loop:
+0x7493 032689 force 0 ,regext 
+:      032690 clear_data_rest:
+0x7494 032691 increase 1 ,regext_index 
+0x7495 032692 loop clear_loop 
+0x7496 032693 rtn 
+:      032695 store_aes_result:
+0x7497 032696 force regidx_result ,regext_index 
+0x7498 032697 force 4 ,loopcnt 
+:      032698 send_aes_result_loop:
+0x7499 032699 deposit regext 
+0x749a 032700 istore 4 ,contw 
+0x749b 032701 increase 1 ,regext_index 
+0x749c 032702 loop send_aes_result_loop 
+0x749d 032703 rtn 
+:      032705 store_enc_data:
+0x749e 032706 force regidx_result ,regext_index 
+0x749f 032707 copy regc ,contw 
+0x74a0 032708 add regb ,1 ,loopcnt 
+0x74a1 032709 sub loopcnt ,15 ,null 
+0x74a2 032710 branch store_enc_loop ,positive 
+0x74a3 032711 force 16 ,loopcnt 
+:      032712 store_enc_loop:
+0x74a4 032713 deposit regext 
+0x74a5 032714 sub loopcnt ,3 ,null 
+0x74a6 032715 branch store_enc_byte ,positive 
+0x74a7 032716 istore 4 ,contw 
+0x74a8 032717 increase -4 ,loopcnt 
+0x74a9 032718 rtn zero 
+0x74aa 032719 increase 1 ,regext_index 
+0x74ab 032720 branch store_enc_loop 
+:      032721 store_enc_byte:
+0x74ac 032722 istore 1 ,contw 
+0x74ad 032723 rshift8 pdata ,pdata 
+0x74ae 032724 loop store_enc_byte 
+0x74af 032725 rtn 
+:      032728 compare_res:
+0x74b0 032729 force regidx_result ,regext_index 
+0x74b1 032730 force 4 ,loopcnt 
+:      032731 compare_res_loop:
+0x74b2 032732 ifetch 4 ,contr 
+0x74b3 032733 isub regext ,null 
+0x74b4 032734 nrtn zero 
+0x74b5 032735 increase 1 ,regext_index 
+0x74b6 032736 loop compare_res_loop 
+0x74b7 032737 force 0 ,null 
+0x74b8 032738 rtn 
+:      032740 enable_authrom:
+0x74b9 032741 hfetch 1 ,core_clkoff 
+0x74ba 032742 set0 clock_off_auth_rom ,pdata 
+0x74bb 032743 hstore 1 ,core_clkoff 
+0x74bc 032744 rtn 
+:      032746 disable_authrom:
+0x74bd 032747 hfetch 1 ,core_clkoff 
+0x74be 032748 set1 clock_off_auth_rom ,pdata 
+0x74bf 032749 hstore 1 ,core_clkoff 
+0x74c0 032750 rtn 
+:      032752 init_memp:
+0x74c1 032753 arg mem_p ,contw 
+0x74c2 032754 setsect 0 ,0x3ffff 
+0x74c3 032755 setsect 1 ,0x3ffff 
+0x74c4 032756 setsect 2 ,0x3ffff 
+0x74c5 032757 setsect 3 ,0x3fbff 
+0x74c6 032758 istore 9 ,contw 
+0x74c7 032759 setsect 0 ,0x3ffff 
+0x74c8 032760 setsect 1 ,0x3ffff 
+0x74c9 032761 setsect 2 ,0x3ffff 
+0x74ca 032762 setsect 3 ,0x3ffff 
+0x74cb 032763 istore 9 ,contw 
+0x74cc 032764 setsect 0 ,0x3ffff 
+0x74cd 032765 setsect 1 ,0x3ffff 
+0x74ce 032766 setsect 2 ,0x3cfff 
+0x74cf 032767 setsect 3 ,0x3ffff 
+0x74d0 032768 istore 9 ,contw 
+0x74d1 032769 setsect 0 ,0x3ffff 
+0x74d2 032770 setsect 1 ,0x3ffff 
+0x74d3 032771 setsect 2 ,0x3ffef 
+0x74d4 032772 setsect 3 ,0x3ffff 
+0x74d5 032773 istore 9 ,contw 
+0x74d6 032774 setsect 0 ,0x3ffff 
+0x74d7 032775 setsect 1 ,0x3ffff 
+0x74d8 032776 setsect 2 ,0x3ffff 
+0x74d9 032777 setsect 3 ,0x3ffff 
+0x74da 032778 istore 9 ,contw 
+0x74db 032779 setsect 0 ,0x3ffff 
+0x74dc 032780 setsect 1 ,0x26c7f 
+0x74dd 032781 setsect 2 ,0x146b 
+0x74de 032782 setsect 3 ,0x37bb3 
+0x74df 032783 istore 9 ,contw 
+0x74e0 032784 setsect 0 ,0x1feb8 
+0x74e1 032785 setsect 1 ,0x10c12 
+0x74e2 032786 setsect 2 ,0x2b722 
+0x74e3 032787 setsect 3 ,0x29fa6 
+0x74e4 032788 istore 9 ,contw 
+0x74e5 032789 setsect 0 ,0xe70f 
+0x74e6 032790 setsect 1 ,0x16720 
+0x74e7 032791 setsect 2 ,0x519e 
+0x74e8 032792 setsect 3 ,0x19084 
+0x74e9 032793 istore 9 ,contw 
+0x74ea 032794 setsect 0 ,0x31012 
+0x74eb 032795 setsect 1 ,0x360bf 
+0x74ec 032796 setsect 2 ,0x3f0af 
+0x74ed 032797 setsect 3 ,0x3d3 
+0x74ee 032798 istore 9 ,contw 
+0x74ef 032799 setsect 0 ,0x3a188 
+0x74f0 032800 setsect 1 ,0x3ad0 
+0x74f1 032801 setsect 2 ,0x3cbf2 
+0x74f2 032802 setsect 3 ,0x243d9 
+0x74f3 032803 istore 9 ,contw 
+0x74f4 032804 setsect 0 ,0x2b030 
+0x74f5 032805 setsect 1 ,0x36a03 
+0x74f6 032806 setsect 2 ,0x11188 
+0x74f7 032807 setsect 3 ,0x1e520 
+0x74f8 032808 istore 9 ,contw 
+0x74f9 032809 setsect 0 ,0x3a11e 
+0x74fa 032810 setsect 1 ,0xfe5d 
+0x74fb 032811 setsect 2 ,0xdd57 
+0x74fc 032812 setsect 3 ,0x1ac93 
+0x74fd 032813 istore 9 ,contw 
+0x74fe 032814 setsect 0 ,0x11ed 
+0x74ff 032815 setsect 1 ,0x218c4 
+0x7500 032816 setsect 2 ,0x8da7 
+0x7501 032817 setsect 3 ,0x257ff 
+0x7502 032818 istore 9 ,contw 
+0x7503 032819 setsect 0 ,0x3192b 
+0x7504 032820 setsect 1 ,0x34641 
+0x7505 032821 setsect 2 ,0x1be0c 
+0x7506 032822 setsect 3 ,0x366ad 
+0x7507 032823 istore 9 ,contw 
+0x7508 032824 setsect 0 ,0x1f83 
+0x7509 032825 setsect 1 ,0x15a23 
+0x750a 032826 setsect 2 ,0x3f9b0 
+0x750b 032827 setsect 3 ,0x3949 
+0x750c 032828 istore 9 ,contw 
+0x750d 032829 setsect 0 ,0x13a51 
+0x750e 032830 setsect 1 ,0x153fd 
+0x750f 032831 setsect 2 ,0x3372a 
+0x7510 032832 setsect 3 ,0xf1bb 
+0x7511 032833 istore 9 ,contw 
+0x7512 032834 setsect 0 ,0x3ae85 
+0x7513 032835 setsect 1 ,0x1eed9 
+0x7514 032836 setsect 2 ,0x9e66 
+0x7515 032837 setsect 3 ,0x1a8 
+0x7516 032838 istore 8 ,contw 
+0x7517 032839 rtn 
+:      032843 init_memp_256:
+0x7518 032844 arg mem_p_256 ,contw 
+0x7519 032845 setsect 0 ,0x3ffff 
+0x751a 032846 setsect 1 ,0x3ffff 
+0x751b 032847 setsect 2 ,0x3ffff 
+0x751c 032848 setsect 3 ,0x3ffff 
+0x751d 032849 istore 9 ,contw 
+0x751e 032850 setsect 0 ,0x3ffff 
+0x751f 032851 setsect 1 ,0x3f 
+0x7520 032852 setsect 2 ,0x0 
+0x7521 032853 setsect 3 ,0x0 
+0x7522 032854 istore 9 ,contw 
+0x7523 032855 setsect 0 ,0x0 
+0x7524 032856 setsect 1 ,0x0 
+0x7525 032857 setsect 2 ,0x1000 
+0x7526 032858 setsect 3 ,0x0 
+0x7527 032859 istore 9 ,contw 
+0x7528 032860 setsect 0 ,0x3ff00 
+0x7529 032861 setsect 1 ,0x3ffff 
+0x752a 032862 setsect 2 ,0x3ffcf 
+0x752b 032863 setsect 3 ,0x3ffff 
+0x752c 032864 istore 9 ,contw 
+0x752d 032865 setsect 0 ,0x3ffff 
+0x752e 032866 setsect 1 ,0x3ffff 
+0x752f 032867 setsect 2 ,0x3ffff 
+0x7530 032868 setsect 3 ,0x3ff 
+0x7531 032869 istore 9 ,contw 
+0x7532 032870 setsect 0 ,0x0 
+0x7533 032871 setsect 1 ,0x0 
+0x7534 032872 setsect 2 ,0x0 
+0x7535 032873 setsect 3 ,0x0 
+0x7536 032874 istore 9 ,contw 
+0x7537 032875 setsect 0 ,0x10000 
+0x7538 032876 setsect 1 ,0x0 
+0x7539 032877 setsect 2 ,0x3f000 
+0x753a 032878 setsect 3 ,0x3ffff 
+0x753b 032879 istore 9 ,contw 
+0x753c 032880 setsect 0 ,0x296ff 
+0x753d 032881 setsect 1 ,0x22630 
+0x753e 032882 setsect 2 ,0x3945d 
+0x753f 032883 setsect 3 ,0x3d284 
+0x7540 032884 istore 9 ,contw 
+0x7541 032885 setsect 0 ,0x333a0 
+0x7542 032886 setsect 1 ,0x4b7a 
+0x7543 032887 setsect 2 ,0x37d8 
+0x7544 032888 setsect 3 ,0x3c9dc 
+0x7545 032889 istore 9 ,contw 
+0x7546 032890 setsect 0 ,0x3a440 
+0x7547 032891 setsect 1 ,0x1b958 
+0x7548 032892 setsect 2 ,0x38bce 
+0x7549 032893 setsect 3 ,0x1091f 
+0x754a 032894 istore 9 ,contw 
+0x754b 032895 setsect 0 ,0x2e12c 
+0x754c 032896 setsect 1 ,0x1f47c 
+0x754d 032897 setsect 2 ,0x356b1 
+0x754e 032898 setsect 3 ,0x2fd47 
+0x754f 032899 istore 9 ,contw 
+0x7550 032900 setsect 0 ,0x6837 
+0x7551 032901 setsect 1 ,0x2ed90 
+0x7552 032902 setsect 2 ,0x1ecec 
+0x7553 032903 setsect 3 ,0x1acc5 
+0x7554 032904 istore 9 ,contw 
+0x7555 032905 setsect 0 ,0x23357 
+0x7556 032906 setsect 1 ,0x18af3 
+0x7557 032907 setsect 2 ,0xf9e1 
+0x7558 032908 setsect 3 ,0x129f0 
+0x7559 032909 istore 9 ,contw 
+0x755a 032910 setsect 0 ,0x2e7eb 
+0x755b 032911 setsect 1 ,0x3e6e3 
+0x755c 032912 setsect 2 ,0x3e1a7 
+0x755d 032913 setsect 3 ,0x10b8b 
+0x755e 032914 istore 9 ,contw 
+0x755f 032915 setsect 0 ,0x24fe3 
+0x7560 032916 setsect 1 ,0x20ef 
+0x7561 032917 setsect 2 ,0x1b5a6 
+0x7562 032918 setsect 3 ,0xdc2f 
+0x7563 032919 istore 9 ,contw 
+0x7564 032920 setsect 0 ,0x13860 
+0x7565 032921 setsect 1 ,0x2bd69 
+0x7566 032922 setsect 2 ,0x391a 
+0x7567 032923 setsect 3 ,0x1b222 
+0x7568 032924 istore 9 ,contw 
+0x7569 032925 rtn 
+:      032928 publickey_init:
+0x756a 032929 fetch 1 ,mem_ssp_enable 
+0x756b 032930 nbranch sp_initialize ,blank 
+0x756c 032931 branch sp_initialize_256 
+:      032933 sp_calc_sequence_256_check:
+0x756d 032934 bpatchx patch3c_4 ,mem_patch3c 
+0x756e 032935 fetch 1 ,mem_ssp_enable 
+0x756f 032936 rtn blank 
+0x7570 032937 fetch 1 ,mem_sp_local_key_invalid 
+0x7571 032938 rtnne sp_key_valid 
+0x7572 032939 fetch 1 ,mem_le_secure_connect_enable 
+0x7573 032940 rtn blank 
+0x7574 032941 fetch 1 ,mem_le_sc_local_key_invalid 
+0x7575 032942 rtneq sp_key_valid_256 
+0x7576 032943 fetch 2 ,mem_ui_state_map 
+0x7577 032944 bbit1 ui_state_bt_connected ,stop_publickey_calc_256 
+0x7578 032945 fetch 1 ,mem_le_sc_calc 
+0x7579 032946 beq sp_calc_standby ,sp_initialize_256 
+0x757a 032947 rtn 
+:      032948 stop_publickey_calc_256:
+0x757b 032949 jam sp_calc_standby ,mem_le_sc_calc 
+0x757c 032950 rtn 
+:      032953 sp_initialize:
+0x757d 032954 bpatchx patch3c_5 ,mem_patch3c 
+0x757e 032955 fetch 1 ,mem_ssp_enable 
+0x757f 032956 branch ssp_disable ,blank 
+0x7580 032957 call ssp_enable 
+0x7581 032958 call sp_clear_flags 
+0x7582 032959 branch sp_pubkey_calc 
+:      032961 sp_clear_flags:
+0x7583 032962 setarg 0 
+0x7584 032963 store 8 ,mem_sp_state_start 
+0x7585 032964 store 4 ,mem_sp_flag_start 
+0x7586 032965 store 7 ,mem_sp_iocap_remote 
+0x7587 032966 rtn 
+:      032968 sp_generate_local_key:
+0x7588 032969 jam sp_flag_commit ,mem_sp_flag 
+0x7589 032970 branch sp_generate_local_key0 
+:      032971 sp_master_generate_local_key:
+0x758a 032972 fetch 1 ,mem_sp_local_key_invalid 
+0x758b 032973 beq sp_key_valid ,sp_dhkey_calc 
+0x758c 032974 branch assert 
+:      032975 sp_generate_local_key0:
+0x758d 032976 fetch 1 ,mem_sp_local_key_invalid 
+0x758e 032977 beq sp_key_valid ,sp_start_send_pubkey 
+0x758f 032978 branch sp_pubkey_calc 
+:      032980 sp_start_send_pubkey:
+0x7590 032981 call sp_dhkey_calc 
+0x7591 032982 fetch 1 ,mem_master_sp_state 
+0x7592 032983 nrtn blank 
+0x7593 032984 jam sp_stat_key_send ,mem_sp_state 
+0x7594 032985 rtn 
+:      032988 sp_calc_check_publickey_256:
+0x7595 032989 call sp_calc_b256 
+0x7596 032990 arg mem_le_pubkey_remote_y_256 ,rega 
+0x7597 032991 arg mem_t7_256 ,contw 
+0x7598 032992 call bn_sqrmod_256 
+0x7599 032993 arg mem_le_pubkey_remote_x_256 ,rega 
+0x759a 032994 arg mem_t2_256 ,contw 
+0x759b 032995 call bn_sqrmod_256 
+0x759c 032996 arg mem_t2_256 ,rega 
+0x759d 032997 arg mem_le_pubkey_remote_x_256 ,regb 
+0x759e 032998 arg mem_t2_256 ,contw 
+0x759f 032999 call bn_mulmod_256 
+0x75a0 033000 arg mem_a_256 ,rega 
+0x75a1 033001 arg mem_le_pubkey_remote_x_256 ,regb 
+0x75a2 033002 arg mem_t3_256 ,contw 
+0x75a3 033003 call bn_mulmod_256 
+0x75a4 033004 arg mem_t3_256 ,rega 
+0x75a5 033005 arg mem_t2_256 ,regb 
+0x75a6 033006 arg mem_t2_256 ,contw 
+0x75a7 033007 call bn_addmod_256 
+0x75a8 033008 arg mem_t0_256 ,rega 
+0x75a9 033009 arg mem_t2_256 ,regb 
+0x75aa 033010 arg mem_t0_256 ,contw 
+0x75ab 033011 call bn_addmod_256 
+0x75ac 033012 arg 32 ,loopcnt 
+0x75ad 033013 arg mem_t7_256 ,rega 
+0x75ae 033014 arg mem_t0_256 ,regb 
+0x75af 033015 branch string_compare 
+:      033017 sp_calc_b256:
+0x75b0 033018 arg mem_gy_256 ,rega 
+0x75b1 033019 arg mem_t0_256 ,contw 
+0x75b2 033020 call bn_sqrmod_256 
+0x75b3 033021 arg mem_gx_256 ,rega 
+0x75b4 033022 arg mem_t2_256 ,contw 
+0x75b5 033023 call bn_sqrmod_256 
+0x75b6 033024 arg mem_t2_256 ,rega 
+0x75b7 033025 arg mem_gx_256 ,regb 
+0x75b8 033026 arg mem_t2_256 ,contw 
+0x75b9 033027 call bn_mulmod_256 
+0x75ba 033028 arg mem_a_256 ,rega 
+0x75bb 033029 arg mem_gx_256 ,regb 
+0x75bc 033030 arg mem_t3_256 ,contw 
+0x75bd 033031 call bn_mulmod_256 
+0x75be 033032 arg mem_t3_256 ,rega 
+0x75bf 033033 arg mem_t2_256 ,regb 
+0x75c0 033034 arg mem_t2_256 ,contw 
+0x75c1 033035 call bn_addmod_256 
+0x75c2 033036 arg mem_t0_256 ,rega 
+0x75c3 033037 arg mem_t2_256 ,regb 
+0x75c4 033038 arg mem_t0_256 ,contw 
+0x75c5 033039 branch bn_submod_256 
+:      033041 sp_calc_check_publickey:
+0x75c6 033042 call sp_calc_b 
+0x75c7 033043 arg mem_sp_pubkey_remote_y ,rega 
+0x75c8 033044 arg mem_t7_256 ,contw 
+0x75c9 033045 call bn_sqrmod 
+0x75ca 033046 arg mem_sp_pubkey_remote_x ,rega 
+0x75cb 033047 arg mem_t2_256 ,contw 
+0x75cc 033048 call bn_sqrmod 
+0x75cd 033049 arg mem_t2_256 ,rega 
+0x75ce 033050 arg mem_sp_pubkey_remote_x ,regb 
+0x75cf 033051 arg mem_t2_256 ,contw 
+0x75d0 033052 call bn_mulmod 
+0x75d1 033053 arg mem_a ,rega 
+0x75d2 033054 arg mem_sp_pubkey_remote_x ,regb 
+0x75d3 033055 arg mem_t3_256 ,contw 
+0x75d4 033056 call bn_mulmod 
+0x75d5 033057 arg mem_t3_256 ,rega 
+0x75d6 033058 arg mem_t2_256 ,regb 
+0x75d7 033059 arg mem_t2_256 ,contw 
+0x75d8 033060 call bn_addmod 
+0x75d9 033061 arg mem_t0_256 ,rega 
+0x75da 033062 arg mem_t2_256 ,regb 
+0x75db 033063 arg mem_t0_256 ,contw 
+0x75dc 033064 call bn_addmod 
+0x75dd 033065 arg 24 ,loopcnt 
+0x75de 033066 arg mem_t7_256 ,rega 
+0x75df 033067 arg mem_t0_256 ,regb 
+0x75e0 033068 branch string_compare 
+:      033070 sp_calc_b:
+0x75e1 033071 arg mem_gy ,rega 
+0x75e2 033072 arg mem_t0_256 ,contw 
+0x75e3 033073 call bn_sqrmod 
+0x75e4 033074 arg mem_gx ,rega 
+0x75e5 033075 arg mem_t2_256 ,contw 
+0x75e6 033076 call bn_sqrmod 
+0x75e7 033077 arg mem_t2_256 ,rega 
+0x75e8 033078 arg mem_gx ,regb 
+0x75e9 033079 arg mem_t2_256 ,contw 
+0x75ea 033080 call bn_mulmod 
+0x75eb 033081 arg mem_a ,rega 
+0x75ec 033082 arg mem_gx ,regb 
+0x75ed 033083 arg mem_t3_256 ,contw 
+0x75ee 033084 call bn_mulmod 
+0x75ef 033085 arg mem_t3_256 ,rega 
+0x75f0 033086 arg mem_t2_256 ,regb 
+0x75f1 033087 arg mem_t2_256 ,contw 
+0x75f2 033088 call bn_addmod 
+0x75f3 033089 arg mem_t0_256 ,rega 
+0x75f4 033090 arg mem_t2_256 ,regb 
+0x75f5 033091 arg mem_t0_256 ,contw 
+0x75f6 033092 branch bn_submod 
+:      033095 sp_calculate_commitment:
+0x75f7 033096 fetch 1 ,mem_sp_calc 
+0x75f8 033097 bne sp_calc_standby ,sp_calculate_commitment_wait_dhkey_calc 
+0x75f9 033098 call sp_local_random_key_generator 
+0x75fa 033099 arg mem_sp_prarm_stack ,contw 
+0x75fb 033100 setarg mem_sp_random_local_end 
+0x75fc 033101 istore 2 ,contw 
+0x75fd 033102 setarg mem_sp_pubkey_local_x_end 
+0x75fe 033103 istore 2 ,contw 
+0x75ff 033104 setarg mem_sp_pubkey_remote_x_end 
+0x7600 033105 istore 2 ,contw 
+0x7601 033106 branch sp_calculate_commitment0 
+:      033107 master_sp_calculate_commitment:
+0x7602 033108 arg mem_sp_prarm_stack ,contw 
+0x7603 033109 setarg mem_sp_random_remote_end 
+0x7604 033110 istore 2 ,contw 
+0x7605 033111 setarg mem_sp_pubkey_remote_x_end 
+0x7606 033112 istore 2 ,contw 
+0x7607 033113 setarg mem_sp_pubkey_local_x_end 
+0x7608 033114 istore 2 ,contw 
+:      033115 sp_calculate_commitment0:
+0x7609 033116 call function_f1 
+0x760a 033117 fetch 1 ,mem_master_sp_state 
+0x760b 033118 beq sp_stat_commit_calc ,master_sp_calculate_commitment0 
+0x760c 033119 jam sp_flag_commit ,mem_sp_flag 
+0x760d 033120 jam sp_stat_commit_send ,mem_sp_state 
+0x760e 033121 rtn 
+:      033122 master_sp_calculate_commitment0:
+0x760f 033123 jam sp_stat_commitment_compare ,mem_master_sp_state 
+0x7610 033124 call sp_master_generate_local_key 
+0x7611 033125 branch master_set_mem_master_sp_flag 
+:      033127 sp_local_random_key_generator:
+0x7612 033128 arg mem_sp_random_local ,contw 
+0x7613 033129 force 8 ,queue 
+0x7614 033130 branch random_generator 
+:      033132 sp_calculate_commitment_wait_dhkey_calc:
+0x7615 033133 jam sp_flag_commit ,mem_sp_flag 
+0x7616 033134 rtn 
+:      033136 sp_confirm_check:
+0x7617 033138 bpatchx patch3c_6 ,mem_patch3c 
+0x7618 033139 arg mem_addr_value ,contw 
+0x7619 033140 fetch 6 ,mem_lap 
+0x761a 033141 istore 6 ,contw 
+0x761b 033142 fetch 6 ,mem_plap 
+0x761c 033143 istore 6 ,contw 
+0x761d 033144 fetch 3 ,mem_sp_iocap_remote 
+0x761e 033145 istore 3 ,contw 
+0x761f 033147 call function_f3a 
+0x7620 033149 arg mem_sp_calc_result_high ,rega 
+0x7621 033150 arg mem_sp_check_result ,regb 
+0x7622 033151 force 4 ,queue 
+0x7623 033152 call compare4 
+0x7624 033153 nbranch sp_confirm_check_failed ,true 
+0x7625 033155 call sp_confirm_check_success 
+0x7626 033156 jam lmp_dhkey_check ,mem_lmi_opcode2 
+0x7627 033157 branch tid_set_reply 
+:      033159 sp_confirm_check_success:
+0x7628 033160 fetch 1 ,mem_master_sp_state 
+0x7629 033161 beq sp_stat_confirm_check ,sp_confirm_check_success_master 
+0x762a 033162 jam sp_stat_confirm_calc ,mem_sp_state 
+0x762b 033163 jam sp_flag_commit ,mem_sp_flag 
+0x762c 033164 jam lmp_accepted ,mem_lmo_opcode2 
+0x762d 033165 rtn 
+:      033166 sp_confirm_check_success_master:
+0x762e 033167 jam lmp_accepted ,mem_lmo_opcode2 
+0x762f 033168 jam sp_state_end ,mem_master_sp_state 
+0x7630 033169 branch master_set_mem_master_sp_flag 
+:      033172 sp_confirm_check_failed:
+0x7631 033173 fetch 1 ,mem_master_sp_state 
+0x7632 033174 beq sp_stat_confirm_check ,sp_confirm_check_failed_master 
+0x7633 033175 jam sp_stat_null ,mem_sp_state 
+0x7634 033176 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x7635 033178 jam authentication_failure_error ,mem_lmo_reason2 
+0x7636 033179 rtn 
+:      033180 sp_confirm_check_failed_master:
+0x7637 033181 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x7638 033182 jam sp_stat_null ,mem_master_sp_state 
+0x7639 033183 rtn 
+:      033185 sp_confirm_calc:
+0x763a 033186 fetch 1 ,mem_sp_dh_ready 
+0x763b 033187 beq sp_flag_commit ,sp_confirm_calc_ready 
+0x763c 033188 jam sp_stat_confirm_calc ,mem_master_sp_state 
+0x763d 033189 branch master_set_mem_master_sp_flag 
+:      033190 sp_confirm_calc_ready:
+0x763e 033191 arg mem_addr_value ,contw 
+0x763f 033192 fetch 6 ,mem_plap 
+0x7640 033193 istore 6 ,contw 
+0x7641 033194 fetch 6 ,mem_lap 
+0x7642 033195 istore 6 ,contw 
+0x7643 033196 fetch 3 ,mem_sp_iocap_local 
+0x7644 033197 istore 3 ,contw 
+0x7645 033199 call function_f3b 
+0x7646 033200 fetch 1 ,mem_master_sp_state 
+0x7647 033201 beq sp_stat_confirm_calc ,sp_confirm_calc_master 
+0x7648 033202 jam sp_stat_confirm_send ,mem_sp_state 
+0x7649 033203 jam sp_flag_commit ,mem_sp_flag 
+0x764a 033204 rtn 
+:      033205 sp_confirm_calc_master:
+0x764b 033206 jam sp_stat_confirm_send ,mem_master_sp_state 
+0x764c 033207 jam sp_flag_commit ,mem_master_sp_flag 
+0x764d 033208 rtn 
+:      033210 sp_master_key_prarm_push:
+0x764e 033211 arg mem_sp_prarm_stack ,contw 
+0x764f 033212 fetch 6 ,mem_plap 
+0x7650 033213 istore 6 ,contw 
+0x7651 033214 fetch 6 ,mem_lap 
+0x7652 033215 istore 6 ,contw 
+0x7653 033216 setarg mem_sp_random_local_end 
+0x7654 033217 istore 2 ,contw 
+0x7655 033218 setarg mem_sp_random_remote_end 
+0x7656 033219 istore 2 ,contw 
+0x7657 033220 branch sp_link_key_calc 
+:      033221 sp_link_key_prarm_push:
+0x7658 033222 jam sp_stat_done ,mem_sp_state 
+0x7659 033223 arg mem_sp_prarm_stack ,contw 
+0x765a 033224 fetch 6 ,mem_lap 
+0x765b 033225 istore 6 ,contw 
+0x765c 033226 fetch 6 ,mem_plap 
+0x765d 033227 istore 6 ,contw 
+0x765e 033228 setarg mem_sp_random_remote_end 
+0x765f 033229 istore 2 ,contw 
+0x7660 033230 setarg mem_sp_random_local_end 
+0x7661 033231 istore 2 ,contw 
+:      033232 sp_link_key_calc:
+0x7662 033234 arg mem_addr_value ,contw 
+0x7663 033235 fetch 6 ,mem_sp_prarm_stack 
+0x7664 033236 istore 6 ,contw 
+0x7665 033237 fetch 6 ,mem_sp_prarm_stack + 6 
+0x7666 033238 istore 6 ,contw 
+0x7667 033240 call function_f2 
+0x7668 033243 jam 1 ,mem_link_key_exists 
+0x7669 033244 arg mem_link_key ,contw 
+0x766a 033245 arg mem_sp_calc_result_high ,contr 
+0x766b 033246 call memcpy16 
+0x766c 033247 branch generate_linkkey_continue 
+:      033250 sp_pubkey_calc:
+0x766d 033251 bpatchx patch3c_7 ,mem_patch3c 
+0x766e 033252 fetch 1 ,mem_sp_local_key_invalid 
+0x766f 033253 rtnne sp_key_invalid 
+0x7670 033254 fetch 1 ,mem_sp_calc 
+0x7671 033255 rtnne sp_calc_standby 
+0x7672 033256 arg mem_sp_private_key ,contw 
+0x7673 033257 force 11 ,queue 
+0x7674 033258 call random_generator 
+0x7675 033259 random pdata 
+0x7676 033260 rshift pdata ,pdata 
+0x7677 033261 istore 2 ,contw 
+0x7678 033263 arg mem_k ,contw 
+0x7679 033264 arg mem_sp_private_key ,contr 
+0x767a 033265 call memcpy24 
+0x767b 033267 arg mem_ax ,contw 
+0x767c 033268 arg mem_gx ,contr 
+0x767d 033269 call memcpy48 
+0x767e 033271 arg mem_az ,contw 
+0x767f 033272 call bn_zero 
+0x7680 033273 jam 1 ,mem_az 
+0x7681 033275 call eckp_calc_init 
+0x7682 033276 jam sp_calc_pubkey ,mem_sp_calc 
+0x7683 033277 rtn 
+:      033279 sp_pubkey_generated:
+0x7684 033280 arg mem_sp_pubkey_local ,contw 
+0x7685 033281 arg mem_bx ,contr 
+0x7686 033282 call memcpy48 
+0x7687 033283 jam sp_key_valid ,mem_sp_local_key_invalid 
+0x7688 033284 jam sp_calc_standby ,mem_sp_calc 
+0x7689 033285 rtn 
+:      033287 sp_dhkey_calc:
+0x768a 033288 bpatchx patch3d_0 ,mem_patch3d 
+0x768b 033289 fetch 1 ,mem_sp_dhkey_invalid 
+0x768c 033290 rtnne sp_key_invalid 
+0x768d 033291 fetch 1 ,mem_sp_calc 
+0x768e 033292 rtnne sp_calc_standby 
+0x768f 033294 arg mem_k ,contw 
+0x7690 033295 arg mem_sp_private_key ,contr 
+0x7691 033296 call memcpy24 
+0x7692 033298 arg mem_ax ,contw 
+0x7693 033299 arg mem_sp_pubkey_remote ,contr 
+0x7694 033300 call memcpy48 
+0x7695 033302 arg mem_az ,contw 
+0x7696 033303 call bn_zero 
+0x7697 033304 jam 1 ,mem_az 
+0x7698 033306 call eckp_calc_init 
+0x7699 033307 jam sp_calc_dhkey ,mem_sp_calc 
+0x769a 033308 rtn 
+:      033310 sp_dhkey_generated:
+0x769b 033311 jam sp_flag_commit ,mem_sp_dh_ready 
+0x769c 033312 arg mem_sp_dhkey ,contw 
+0x769d 033313 arg mem_bx ,contr 
+0x769e 033314 call memcpy24 
+0x769f 033315 jam sp_key_valid ,mem_sp_dhkey_invalid 
+0x76a0 033316 jam sp_calc_standby ,mem_sp_calc 
+0x76a1 033317 rtn 
+:      033319 random_generator:
+0x76a2 033320 increase -1 ,queue 
+0x76a3 033321 nrtn positive 
+0x76a4 033322 random pdata 
+0x76a5 033323 istore 2 ,contw 
+0x76a6 033324 branch random_generator 
+:      033325 compare4:
+0x76a7 033326 increase -1 ,queue 
+0x76a8 033327 nbranch compare4_success ,positive 
+0x76a9 033328 ifetch 4 ,rega 
+0x76aa 033329 copy pdata ,temp 
+0x76ab 033330 ifetch 4 ,regb 
+0x76ac 033331 iflip temp ,pdata 
+0x76ad 033332 nbranch compare4_failed ,zero 
+0x76ae 033333 increase 4 ,rega 
+0x76af 033334 increase 4 ,regb 
+0x76b0 033335 branch compare4 
+:      033336 compare4_failed:
+0x76b1 033337 disable true 
+0x76b2 033338 rtn 
+:      033339 compare4_success:
+0x76b3 033340 enable true 
+0x76b4 033341 rtn 
+:      033348 simple_pairing_sequence:
+0x76b5 033349 bpatchx patch3d_1 ,mem_patch3d 
+0x76b6 033350 fetch 1 ,mem_sp_flag 
+0x76b7 033351 rtn blank 
+0x76b8 033352 call lmo_fifo_check 
+0x76b9 033353 nrtn blank 
+0x76ba 033354 jam sp_flag_standby ,mem_sp_flag 
+0x76bb 033355 fetch 1 ,mem_sp_state 
+0x76bc 033356 beq sp_stat_key_send ,sp_send_lmp_encapsulated_header 
+0x76bd 033357 beq sp_stat_commit_send ,sp_send_lmp_simple_pairing_comfirm 
+0x76be 033358 beq sp_stat_random_send ,sp_send_lmp_simple_pairing_number 
+0x76bf 033359 beq sp_stat_confirm_send ,sp_send_lmp_dhkey_check 
+0x76c0 033360 beq sp_stat_key_generate ,sp_generate_local_key 
+0x76c1 033361 beq sp_stat_commit_calc ,sp_calculate_commitment 
+0x76c2 033362 beq sp_stat_confirm_check ,sp_confirm_check 
+0x76c3 033363 beq sp_stat_confirm_calc ,sp_confirm_calc 
+0x76c4 033364 beq sp_stat_link_key_calc ,sp_link_key_prarm_push 
+0x76c5 033366 rtn 
+:      033368 master_simple_paring_sequence:
+0x76c6 033369 bpatchx patch3d_2 ,mem_patch3d 
+0x76c7 033370 fetch 1 ,mem_master_sp_flag 
+0x76c8 033371 rtn blank 
+0x76c9 033372 call lmo_fifo_check 
+0x76ca 033373 nrtn blank 
+0x76cb 033374 jam sp_flag_standby ,mem_master_sp_flag 
+0x76cc 033375 fetch 1 ,mem_master_sp_state 
+0x76cd 033376 beq sp_master_stat_start_skip ,sp_master_send_io_cap_get 
+0x76ce 033377 beq sp_master_stat_start_done ,sp_master_send_io_cap_send 
+0x76cf 033378 beq sp_stat_key_send ,sp_master_send_lmp_encapsulated_header 
+0x76d0 033379 beq sp_stat_commit_calc ,master_sp_calculate_commitment 
+0x76d1 033380 beq sp_stat_commitment_compare ,sp_master_commitment_compare 
+0x76d2 033381 beq sp_stat_random_send ,sp_master_send_lmp_simple_pairing_number 
+0x76d3 033382 beq sp_stat_confirm_calc ,sp_confirm_calc 
+0x76d4 033383 beq sp_stat_confirm_send ,master_sp_send_lmp_dhkey_check 
+0x76d5 033384 beq sp_stat_confirm_check ,sp_confirm_check 
+0x76d6 033385 beq sp_state_end ,master_sp_sm_end 
+0x76d7 033386 rtn 
+:      033388 master_set_mem_master_sp_flag:
+0x76d8 033389 jam sp_flag_commit ,mem_master_sp_flag 
+0x76d9 033390 rtn 
+:      033392 master_clear_mem_master_sp_flag:
+0x76da 033393 jam sp_flag_standby ,mem_master_sp_flag 
+0x76db 033394 rtn 
+:      033395 sp_calc_sequence:
+0x76dc 033396 bpatchx patch3d_3 ,mem_patch3d 
+0x76dd 033397 fetch 1 ,mem_ssp_enable 
+0x76de 033398 rtn blank 
+0x76df 033399 fetch 1 ,mem_sp_calc 
+0x76e0 033400 rtn blank 
+0x76e1 033401 increase 0x80 ,pdata 
+0x76e2 033402 store 1 ,mem_sp_calc 
+0x76e3 033403 rtnbit1 7 
+0x76e4 033404 fetch 1 ,mem_ec_loopc 
+0x76e5 033405 branch sp_calc_sequence_done ,blank 
+0x76e6 033406 branch eckp_calc 
+:      033408 sp_calc_sequence_done:
+0x76e7 033409 call ecunmapz 
+0x76e8 033410 fetch 1 ,mem_sp_calc 
+0x76e9 033411 beq sp_calc_pubkey ,sp_pubkey_generated 
+0x76ea 033412 beq sp_calc_dhkey ,sp_dhkey_generated 
+0x76eb 033413 rtn 
+:      033416 bn_testbit:
+0x76ec 033417 and pdata ,7 ,queue 
+0x76ed 033418 rshift3 pdata ,pdata 
+0x76ee 033419 iadd contr ,contr 
+0x76ef 033420 ifetch 1 ,contr 
+0x76f0 033421 qisolate0 pdata 
+0x76f1 033422 rtn 
+:      033425 ec_copy:
+0x76f2 033426 call memcpy24 
+0x76f3 033427 call memcpy24 
+0x76f4 033428 branch memcpy24 
+:      033431 bn_eq_zero:
+0x76f5 033432 ifetch 8 ,contr 
+0x76f6 033433 nrtn blank 
+0x76f7 033434 ifetch 8 ,contr 
+0x76f8 033435 nrtn blank 
+0x76f9 033436 ifetch 8 ,contr 
+0x76fa 033437 rtn 
+:      033442 bn_eq_0:
+0x76fb 033443 ifetch 4 ,rega 
+0x76fc 033444 iforce temp 
+0x76fd 033445 ifetch 4 ,regb 
+0x76fe 033446 isub temp ,null 
+0x76ff 033447 nrtn zero 
+0x7700 033448 increase 4 ,rega 
+0x7701 033449 increase 4 ,regb 
+0x7702 033450 loop bn_eq_0 
+0x7703 033451 rtn 
+:      033454 bn_bigeq:
+0x7704 033455 force 6 ,loopcnt 
+0x7705 033456 increase 20 ,rega 
+0x7706 033457 increase 20 ,regb 
+:      033458 bn_bigeq_0:
+0x7707 033459 ifetch 4 ,regb 
+0x7708 033460 iforce temp 
+0x7709 033461 ifetch 4 ,rega 
+0x770a 033462 isub temp ,pdata 
+0x770b 033463 nrtn positive 
+0x770c 033464 nrtn blank 
+0x770d 033465 increase -4 ,rega 
+0x770e 033466 increase -4 ,regb 
+0x770f 033467 loop bn_bigeq_0 
+0x7710 033468 rtn 
+:      033470 bn_add:
+0x7711 033471 force 6 ,loopcnt 
+0x7712 033472 force 0 ,regc 
+:      033473 bn_add_0:
+0x7713 033474 ifetch 4 ,rega 
+0x7714 033475 iforce temp 
+0x7715 033476 ifetch 4 ,regb 
+0x7716 033477 iadd temp ,pdata 
+0x7717 033478 iadd regc ,pdata 
+0x7718 033479 istore 4 ,contw 
+0x7719 033480 isolate1 32 ,pdata 
+0x771a 033481 setflag true ,0 ,regc 
+0x771b 033482 increase 4 ,rega 
+0x771c 033483 increase 4 ,regb 
+0x771d 033484 loop bn_add_0 
+0x771e 033485 rtn 
+:      033487 bn_sub:
+0x771f 033488 force 6 ,loopcnt 
+0x7720 033489 force 0 ,regc 
+:      033490 bn_sub_0:
+0x7721 033491 ifetch 4 ,regb 
+0x7722 033492 iforce temp 
+0x7723 033493 ifetch 4 ,rega 
+0x7724 033494 isub temp ,pdata 
+0x7725 033495 isub regc ,pdata 
+0x7726 033496 istore 4 ,contw 
+0x7727 033497 isolate1 32 ,pdata 
+0x7728 033498 setflag true ,0 ,regc 
+0x7729 033499 increase 4 ,rega 
+0x772a 033500 increase 4 ,regb 
+0x772b 033501 loop bn_sub_0 
+0x772c 033502 rtn 
+:      033504 bn_rshift6:
+0x772d 033505 force 6 ,loopcnt 
+0x772e 033506 increase 20 ,rega 
+:      033507 bn_rshift:
+0x772f 033508 force 0 ,regc 
+:      033509 bn_rshift_0:
+0x7730 033510 ifetch 4 ,rega 
+0x7731 033511 isolate1 0 ,pdata 
+0x7732 033512 setflag true ,1 ,regc 
+0x7733 033513 rshift pdata ,pdata 
+0x7734 033514 isolate1 0 ,regc 
+0x7735 033515 setflag true ,31 ,pdata 
+0x7736 033516 istore 4 ,rega 
+0x7737 033517 increase -4 ,rega 
+0x7738 033518 rshift regc ,regc 
+0x7739 033519 loop bn_rshift_0 
+0x773a 033520 rtn 
+:      033522 bn_lshift:
+0x773b 033523 force 6 ,loopcnt 
+0x773c 033524 force 0 ,regc 
+:      033525 bn_lshift_0:
+0x773d 033526 ifetch 4 ,rega 
+0x773e 033527 isolate1 31 ,pdata 
+0x773f 033528 setflag true ,1 ,regc 
+0x7740 033529 lshift pdata ,pdata 
+0x7741 033530 isolate1 0 ,regc 
+0x7742 033531 setflag true ,0 ,pdata 
+0x7743 033532 istore 4 ,rega 
+0x7744 033533 increase 4 ,rega 
+0x7745 033534 rshift regc ,regc 
+0x7746 033535 loop bn_lshift_0 
+0x7747 033536 rtn 
+:      033538 bn_lshiftmod:
+0x7748 033539 call bn_lshift 
+:      033540 bn_lshiftmod_ismod:
+0x7749 033541 isolate1 0 ,regc 
+0x774a 033542 branch bn_lshiftmod_0 ,true 
+0x774b 033543 arg mem_p ,regb 
+0x774c 033544 copy rega ,regc 
+0x774d 033545 increase -24 ,rega 
+0x774e 033546 call bn_bigeq 
+0x774f 033547 nrtn positive 
+0x7750 033548 copy regc ,rega 
+:      033549 bn_lshiftmod_0:
+0x7751 033550 increase -24 ,rega 
+0x7752 033551 arg mem_p ,regb 
+0x7753 033552 copy rega ,contw 
+0x7754 033553 branch bn_sub 
+:      033556 bn_addmod:
+0x7755 033557 call bn_add 
+0x7756 033558 copy contw ,rega 
+0x7757 033559 branch bn_lshiftmod_ismod 
+:      033561 bn_submod:
+0x7758 033562 call bn_sub 
+0x7759 033563 isolate0 0 ,regc 
+0x775a 033564 rtn true 
+0x775b 033565 arg mem_p ,regb 
+0x775c 033566 add contw ,-24 ,rega 
+0x775d 033567 copy rega ,contw 
+0x775e 033568 branch bn_add 
+:      033571 bn_p192mod:
+0x775f 033572 copy contw ,timeup 
+0x7760 033573 copy rega ,alarm 
+0x7761 033574 arg mem_tmp2 ,regb 
+0x7762 033575 copy regb ,contw 
+0x7763 033576 add rega ,24 ,contr 
+0x7764 033577 ifetch 8 ,contr 
+0x7765 033578 istore 8 ,contw 
+0x7766 033579 istore 8 ,contw 
+0x7767 033580 force 0 ,pdata 
+0x7768 033581 istore 8 ,contw 
+0x7769 033582 copy timeup ,contw 
+0x776a 033583 call bn_addmod 
+0x776b 033584 arg mem_tmp2 ,regb 
+0x776c 033585 copy regb ,contw 
+0x776d 033586 force 0 ,pdata 
+0x776e 033587 istore 8 ,contw 
+0x776f 033588 add alarm ,32 ,contr 
+0x7770 033589 ifetch 8 ,contr 
+0x7771 033590 istore 8 ,contw 
+0x7772 033591 istore 8 ,contw 
+0x7773 033592 copy timeup ,rega 
+0x7774 033593 copy rega ,contw 
+0x7775 033594 call bn_addmod 
+0x7776 033595 arg mem_tmp2 ,regb 
+0x7777 033596 copy regb ,contw 
+0x7778 033597 add alarm ,40 ,contr 
+0x7779 033598 ifetch 8 ,contr 
+0x777a 033599 istore 8 ,contw 
+0x777b 033600 istore 8 ,contw 
+0x777c 033601 istore 8 ,contw 
+0x777d 033602 copy timeup ,rega 
+0x777e 033603 copy rega ,contw 
+0x777f 033604 branch bn_addmod 
+:      033607 bn_load:
+0x7780 033608 force 6 ,loopcnt 
+:      033609 bn_load_0:
+0x7781 033610 ifetch 4 ,contr 
+0x7782 033611 iforce regext 
+0x7783 033612 increase 1 ,regext_index 
+0x7784 033613 loop bn_load_0 
+0x7785 033614 rtn 
+:      033618 bn_mulmod:
+0x7786 033619 copy contw ,timeup 
+0x7787 033620 arg mem_tmp1 ,contw 
+0x7788 033621 call bn_zero 
+0x7789 033622 arg mem_tmp1 ,contw 
+0x778a 033623 copy rega ,contr 
+0x778b 033624 force 0 ,regext_index 
+0x778c 033625 call bn_load 
+0x778d 033626 copy regb ,contr 
+0x778e 033627 call bn_load 
+0x778f 033628 force 0 ,regb 
+:      033629 bn_mulmod_1:
+0x7790 033630 force 0 ,temp 
+0x7791 033631 force 6 ,regc 
+:      033632 bn_mulmod_0:
+0x7792 033633 ifetch 4 ,contw 
+0x7793 033634 iforce rega 
+0x7794 033635 copy regb ,regext_index 
+0x7795 033636 deposit regext 
+0x7796 033637 copy regc ,regext_index 
+0x7797 033638 imul32 regext ,pdata 
+0x7798 033639 iadd rega ,pdata 
+0x7799 033640 iadd temp ,pdata 
+0x779a 033641 istore 4 ,contw 
+0x779b 033642 rshift32 pdata ,temp 
+0x779c 033643 increase 1 ,regc 
+0x779d 033644 compare 12 ,regc ,0xff 
+0x779e 033645 nbranch bn_mulmod_0 ,true 
+0x779f 033646 deposit temp 
+0x77a0 033647 istore 4 ,contw 
+0x77a1 033648 increase -24 ,contw 
+0x77a2 033649 increase 1 ,regb 
+0x77a3 033650 compare 6 ,regb ,0xff 
+0x77a4 033651 nbranch bn_mulmod_1 ,true 
+0x77a5 033652 arg mem_tmp1 ,rega 
+0x77a6 033653 copy timeup ,contw 
+0x77a7 033654 branch bn_p192mod 
+:      033657 bn_sqrmod:
+0x77a8 033658 copy rega ,regb 
+0x77a9 033659 branch bn_mulmod 
+:      033661 bn_rshifteven:
+0x77aa 033662 copy rega ,alarm 
+:      033663 bn_rshifteven_1:
+0x77ab 033664 copy alarm ,rega 
+0x77ac 033665 ifetch 1 ,rega 
+0x77ad 033666 isolate1 0 ,pdata 
+0x77ae 033667 rtn true 
+0x77af 033668 call bn_rshift6 
+0x77b0 033669 ifetch 1 ,regb 
+0x77b1 033670 isolate0 0 ,pdata 
+0x77b2 033671 branch bn_rshifteven_0 ,true 
+0x77b3 033672 arg mem_p ,rega 
+0x77b4 033673 copy regb ,contw 
+0x77b5 033674 call bn_add 
+0x77b6 033675 ifetch 1 ,regb 
+0x77b7 033676 iadd regc ,pdata 
+0x77b8 033677 istore 1 ,regb 
+0x77b9 033678 increase -24 ,regb 
+:      033679 bn_rshifteven_0:
+0x77ba 033680 add regb ,24 ,rega 
+0x77bb 033681 force 7 ,loopcnt 
+0x77bc 033682 call bn_rshift 
+0x77bd 033683 branch bn_rshifteven_1 
+:      033686 bn_invmod:
+0x77be 033687 copy contw ,timeup 
+0x77bf 033688 arg mem_tmp0 ,contw 
+0x77c0 033689 call bn_zero 
+0x77c1 033690 force 0 ,pdata 
+0x77c2 033691 store 4 ,mem_tmp5 
+0x77c3 033692 store 4 ,mem_t2 
+0x77c4 033693 jam 1 ,mem_tmp0 
+0x77c5 033694 arg mem_tmp1 ,contw 
+0x77c6 033695 call bn_zero 
+0x77c7 033696 arg mem_p ,contr 
+0x77c8 033697 arg mem_tmp2 ,contw 
+0x77c9 033698 call memcpy24 
+0x77ca 033699 copy rega ,contr 
+0x77cb 033700 arg mem_tmp3 ,contw 
+0x77cc 033701 call memcpy24 
+:      033702 bn_invmod_2:
+0x77cd 033703 arg mem_tmp3 ,contr 
+0x77ce 033704 call bn_eq_zero 
+0x77cf 033705 branch bn_invmod_0 ,blank 
+0x77d0 033706 arg mem_tmp3 ,rega 
+0x77d1 033707 arg mem_tmp0 ,regb 
+0x77d2 033708 call bn_rshifteven 
+0x77d3 033710 arg mem_tmp2 ,rega 
+0x77d4 033711 arg mem_tmp1 ,regb 
+0x77d5 033712 call bn_rshifteven 
+0x77d6 033713 arg mem_tmp3 ,rega 
+0x77d7 033714 arg mem_tmp2 ,regb 
+0x77d8 033715 call bn_bigeq 
+0x77d9 033716 branch bn_invmod_1 ,positive 
+0x77da 033717 arg mem_tmp2 ,rega 
+0x77db 033718 arg mem_tmp3 ,regb 
+0x77dc 033719 copy rega ,contw 
+0x77dd 033720 call bn_sub 
+0x77de 033721 arg mem_tmp0 ,rega 
+0x77df 033722 arg mem_tmp1 ,regb 
+0x77e0 033723 copy regb ,contw 
+0x77e1 033724 call bn_add 
+0x77e2 033725 ifetch 1 ,rega 
+0x77e3 033726 iadd regc ,regc 
+0x77e4 033727 ifetch 1 ,regb 
+0x77e5 033728 iadd regc ,pdata 
+0x77e6 033729 istore 1 ,regb 
+0x77e7 033730 branch bn_invmod_2 
+:      033731 bn_invmod_1:
+0x77e8 033732 arg mem_tmp3 ,rega 
+0x77e9 033733 arg mem_tmp2 ,regb 
+0x77ea 033734 copy rega ,contw 
+0x77eb 033735 call bn_sub 
+0x77ec 033736 arg mem_tmp1 ,rega 
+0x77ed 033737 arg mem_tmp0 ,regb 
+0x77ee 033738 copy regb ,contw 
+0x77ef 033739 call bn_add 
+0x77f0 033740 ifetch 1 ,rega 
+0x77f1 033741 iadd regc ,regc 
+0x77f2 033742 ifetch 1 ,regb 
+0x77f3 033743 iadd regc ,pdata 
+0x77f4 033744 istore 1 ,regb 
+0x77f5 033745 branch bn_invmod_2 
+:      033746 bn_invmod_0:
+0x77f6 033747 arg mem_tmp0 ,contw 
+0x77f7 033748 call bn_zero 
+0x77f8 033749 fetch 1 ,mem_tmp5 
+0x77f9 033750 store 1 ,mem_tmp0 
+0x77fa 033751 store 1 ,mem_tmp0a 
+0x77fb 033752 arg mem_tmp0 ,rega 
+0x77fc 033753 arg mem_tmp1 ,regb 
+0x77fd 033754 copy regb ,contw 
+0x77fe 033755 call bn_addmod 
+0x77ff 033756 arg mem_p ,rega 
+0x7800 033757 arg mem_tmp1 ,regb 
+0x7801 033758 copy timeup ,contw 
+0x7802 033759 branch bn_submod 
+:      033764 ecdbl:
+0x7803 033765 arg mem_cz ,rega 
+0x7804 033766 arg mem_t2 ,contw 
+0x7805 033767 call bn_sqrmod 
+0x7806 033768 arg mem_t2 ,rega 
+0x7807 033769 arg mem_t3 ,contw 
+0x7808 033770 call bn_sqrmod 
+0x7809 033771 arg mem_a ,rega 
+0x780a 033772 arg mem_t3 ,regb 
+0x780b 033773 arg mem_t3 ,contw 
+0x780c 033774 call bn_mulmod 
+0x780d 033775 arg mem_cx ,rega 
+0x780e 033776 arg mem_t2 ,contw 
+0x780f 033777 call bn_sqrmod 
+0x7810 033778 arg mem_t2 ,contr 
+0x7811 033779 arg mem_t1 ,contw 
+0x7812 033780 call memcpy24 
+0x7813 033781 arg mem_t1 ,rega 
+0x7814 033782 call bn_lshiftmod 
+0x7815 033783 arg mem_t2 ,rega 
+0x7816 033784 arg mem_t1 ,regb 
+0x7817 033785 arg mem_t2 ,contw 
+0x7818 033786 call bn_addmod 
+0x7819 033787 arg mem_t2 ,rega 
+0x781a 033788 arg mem_t3 ,regb 
+0x781b 033789 arg mem_t2 ,contw 
+0x781c 033790 call bn_addmod 
+0x781d 033791 arg mem_cx ,contr 
+0x781e 033792 arg mem_t1 ,contw 
+0x781f 033793 call memcpy24 
+0x7820 033794 arg mem_cy ,rega 
+0x7821 033795 arg mem_t3 ,contw 
+0x7822 033796 call bn_sqrmod 
+0x7823 033797 arg mem_t1 ,rega 
+0x7824 033798 call bn_lshiftmod 
+0x7825 033799 arg mem_t1 ,rega 
+0x7826 033800 call bn_lshiftmod 
+0x7827 033801 arg mem_t1 ,rega 
+0x7828 033802 arg mem_t3 ,regb 
+0x7829 033803 arg mem_t1 ,contw 
+0x782a 033804 call bn_mulmod 
+0x782b 033805 arg mem_t3 ,rega 
+0x782c 033806 arg mem_t0 ,contw 
+0x782d 033807 call bn_sqrmod 
+0x782e 033808 arg mem_t0 ,rega 
+0x782f 033809 call bn_lshiftmod 
+0x7830 033810 arg mem_t0 ,rega 
+0x7831 033811 call bn_lshiftmod 
+0x7832 033812 arg mem_t0 ,rega 
+0x7833 033813 call bn_lshiftmod 
+0x7834 033814 arg mem_cy ,contr 
+0x7835 033815 arg mem_t3 ,contw 
+0x7836 033816 call memcpy24 
+0x7837 033817 arg mem_t3 ,rega 
+0x7838 033818 call bn_lshiftmod 
+0x7839 033819 arg mem_t3 ,rega 
+0x783a 033820 arg mem_cz ,regb 
+0x783b 033821 arg mem_cz ,contw 
+0x783c 033822 call bn_mulmod 
+0x783d 033823 arg mem_t2 ,rega 
+0x783e 033824 arg mem_t3 ,contw 
+0x783f 033825 call bn_sqrmod 
+0x7840 033826 arg mem_t3 ,rega 
+0x7841 033827 arg mem_t1 ,regb 
+0x7842 033828 arg mem_t3 ,contw 
+0x7843 033829 call bn_submod 
+0x7844 033830 arg mem_t3 ,rega 
+0x7845 033831 arg mem_t1 ,regb 
+0x7846 033832 arg mem_cx ,contw 
+0x7847 033833 call bn_submod 
+0x7848 033834 arg mem_t1 ,rega 
+0x7849 033835 arg mem_cx ,regb 
+0x784a 033836 arg mem_t3 ,contw 
+0x784b 033837 call bn_submod 
+0x784c 033838 arg mem_t3 ,rega 
+0x784d 033839 arg mem_t2 ,regb 
+0x784e 033840 arg mem_t3 ,contw 
+0x784f 033841 call bn_mulmod 
+0x7850 033842 arg mem_t3 ,rega 
+0x7851 033843 arg mem_t0 ,regb 
+0x7852 033844 arg mem_cy ,contw 
+0x7853 033845 branch bn_submod 
+:      033849 ecadd:
+0x7854 033850 arg mem_az ,rega 
+0x7855 033851 arg mem_t7 ,contw 
+0x7856 033852 call bn_sqrmod 
+0x7857 033853 arg mem_cx ,rega 
+0x7858 033854 arg mem_t7 ,regb 
+0x7859 033855 arg mem_t0 ,contw 
+0x785a 033856 call bn_mulmod 
+0x785b 033857 arg mem_az ,rega 
+0x785c 033858 arg mem_t7 ,regb 
+0x785d 033859 arg mem_t7 ,contw 
+0x785e 033860 call bn_mulmod 
+0x785f 033861 arg mem_cy ,rega 
+0x7860 033862 arg mem_t7 ,regb 
+0x7861 033863 arg mem_t1 ,contw 
+0x7862 033864 call bn_mulmod 
+0x7863 033865 arg mem_cz ,rega 
+0x7864 033866 arg mem_t7 ,contw 
+0x7865 033867 call bn_sqrmod 
+0x7866 033868 arg mem_ax ,rega 
+0x7867 033869 arg mem_t7 ,regb 
+0x7868 033870 arg mem_t2 ,contw 
+0x7869 033871 call bn_mulmod 
+0x786a 033872 arg mem_cz ,rega 
+0x786b 033873 arg mem_t7 ,regb 
+0x786c 033874 arg mem_t7 ,contw 
+0x786d 033875 call bn_mulmod 
+0x786e 033876 arg mem_ay ,rega 
+0x786f 033877 arg mem_t7 ,regb 
+0x7870 033878 arg mem_t3 ,contw 
+0x7871 033879 call bn_mulmod 
+0x7872 033880 arg mem_t0 ,rega 
+0x7873 033881 arg mem_t2 ,regb 
+0x7874 033882 arg mem_t7 ,contw 
+0x7875 033883 call bn_submod 
+0x7876 033884 arg mem_t0 ,rega 
+0x7877 033885 arg mem_t2 ,regb 
+0x7878 033886 arg mem_t0 ,contw 
+0x7879 033887 call bn_addmod 
+0x787a 033888 arg mem_t1 ,rega 
+0x787b 033889 arg mem_t3 ,regb 
+0x787c 033890 arg mem_t2 ,contw 
+0x787d 033891 call bn_submod 
+0x787e 033892 arg mem_t1 ,rega 
+0x787f 033893 arg mem_t3 ,regb 
+0x7880 033894 arg mem_t1 ,contw 
+0x7881 033895 call bn_addmod 
+0x7882 033896 arg mem_t1 ,rega 
+0x7883 033897 arg mem_t7 ,regb 
+0x7884 033898 arg mem_t1 ,contw 
+0x7885 033899 call bn_mulmod 
+0x7886 033900 arg mem_cz ,rega 
+0x7887 033901 arg mem_az ,regb 
+0x7888 033902 arg mem_t3 ,contw 
+0x7889 033903 call bn_mulmod 
+0x788a 033904 arg mem_t3 ,rega 
+0x788b 033905 arg mem_t7 ,regb 
+0x788c 033906 arg mem_cz ,contw 
+0x788d 033907 call bn_mulmod 
+0x788e 033908 arg mem_t7 ,rega 
+0x788f 033909 arg mem_t7 ,contw 
+0x7890 033910 call bn_sqrmod 
+0x7891 033911 arg mem_t7 ,rega 
+0x7892 033912 arg mem_t0 ,regb 
+0x7893 033913 arg mem_t3 ,contw 
+0x7894 033914 call bn_mulmod 
+0x7895 033915 arg mem_t7 ,rega 
+0x7896 033916 arg mem_t1 ,regb 
+0x7897 033917 arg mem_t1 ,contw 
+0x7898 033918 call bn_mulmod 
+0x7899 033919 arg mem_t2 ,rega 
+0x789a 033920 arg mem_cx ,contw 
+0x789b 033921 call bn_sqrmod 
+0x789c 033922 arg mem_cx ,rega 
+0x789d 033923 arg mem_t3 ,regb 
+0x789e 033924 arg mem_cx ,contw 
+0x789f 033925 call bn_submod 
+0x78a0 033926 arg mem_cx ,contr 
+0x78a1 033927 arg mem_t7 ,contw 
+0x78a2 033928 call memcpy24 
+0x78a3 033929 arg mem_t7 ,rega 
+0x78a4 033930 call bn_lshiftmod 
+0x78a5 033931 arg mem_t3 ,rega 
+0x78a6 033932 arg mem_t7 ,regb 
+0x78a7 033933 arg mem_t3 ,contw 
+0x78a8 033934 call bn_submod 
+0x78a9 033935 arg mem_t3 ,rega 
+0x78aa 033936 arg mem_t2 ,regb 
+0x78ab 033937 arg mem_t2 ,contw 
+0x78ac 033938 call bn_mulmod 
+0x78ad 033939 arg mem_t2 ,rega 
+0x78ae 033940 arg mem_t1 ,regb 
+0x78af 033941 arg mem_cy ,contw 
+0x78b0 033942 call bn_submod 
+0x78b1 033943 arg mem_cy ,rega 
+0x78b2 033944 arg mem_p ,regb 
+0x78b3 033945 arg mem_cy ,contw 
+0x78b4 033946 force 0 ,regc 
+0x78b5 033947 fetch 1 ,mem_cy 
+0x78b6 033948 isolate1 0 ,pdata 
+0x78b7 033949 call bn_add ,true 
+0x78b8 033950 copy regc ,alarm 
+0x78b9 033951 arg mem_cy ,rega 
+0x78ba 033952 call bn_rshift6 
+0x78bb 033953 fetch 1 ,mem_cy5 
+0x78bc 033954 isolate1 0 ,alarm 
+0x78bd 033955 setflag true ,7 ,pdata 
+0x78be 033956 store 1 ,mem_cy5 
+0x78bf 033957 rtn 
+:      033961 eckp_0:
+0x78c0 033962 fetch 1 ,mem_ec_loopc 
+0x78c1 033963 increase -1 ,pdata 
+0x78c2 033964 nrtn positive 
+0x78c3 033965 store 1 ,mem_ec_loopc 
+0x78c4 033966 fetch 1 ,mem_ec_infinite 
+0x78c5 033967 call ecdbl ,blank 
+0x78c6 033968 fetch 1 ,mem_ec_loopc 
+0x78c7 033969 arg mem_k ,contr 
+0x78c8 033970 call bn_testbit 
+0x78c9 033971 branch eckp_0 ,true 
+0x78ca 033972 fetch 1 ,mem_ec_infinite 
+0x78cb 033973 nbranch eckp_1 ,blank 
+0x78cc 033974 call ecadd 
+0x78cd 033975 branch eckp_0 
+:      033976 eckp_1:
+0x78ce 033977 jam 0 ,mem_ec_infinite 
+0x78cf 033978 arg mem_ax ,contr 
+0x78d0 033979 arg mem_cx ,contw 
+0x78d1 033980 call ec_copy 
+0x78d2 033981 branch eckp_0 
+:      033984 ecunmapz:
+0x78d3 033985 arg mem_cz ,rega 
+0x78d4 033986 arg mem_t3 ,contw 
+0x78d5 033987 call bn_invmod 
+0x78d6 033988 arg mem_t3 ,rega 
+0x78d7 033989 arg mem_t1 ,contw 
+0x78d8 033990 call bn_sqrmod 
+0x78d9 033991 arg mem_cx ,rega 
+0x78da 033992 arg mem_t1 ,regb 
+0x78db 033993 arg mem_bx ,contw 
+0x78dc 033994 call bn_mulmod 
+0x78dd 033995 arg mem_t3 ,rega 
+0x78de 033996 arg mem_t1 ,regb 
+0x78df 033997 arg mem_t2 ,contw 
+0x78e0 033998 call bn_mulmod 
+0x78e1 033999 arg mem_cy ,rega 
+0x78e2 034000 arg mem_t2 ,regb 
+0x78e3 034001 arg mem_by ,contw 
+0x78e4 034002 branch bn_mulmod 
+:      034006 sha_endian_swap2:
+0x78e5 034007 ifetch 4 ,contr 
+0x78e6 034008 force 4 ,rega 
+0x78e7 034009 increase 3 ,contw 
+:      034010 sha_endian_loop:
+0x78e8 034011 istore 1 ,contw 
+0x78e9 034012 rshift8 pdata ,pdata 
+0x78ea 034013 increase -2 ,contw 
+0x78eb 034014 increase -1 ,rega 
+0x78ec 034015 nbranch sha_endian_loop ,zero 
+0x78ed 034016 increase 5 ,contw 
+0x78ee 034017 loop sha_endian_swap2 
+0x78ef 034018 rtn 
+:      034021 sha_getw:
+0x78f0 034022 lshift2 queue ,pdata 
+0x78f1 034023 iadd timeup ,contr 
+0x78f2 034024 ifetch 4 ,contr 
+0x78f3 034025 rtn 
+:      034027 sha_r:
+0x78f4 034028 force 16 ,alarm 
+0x78f5 034029 arg memdat ,timeup 
+:      034030 sha_r_loop:
+0x78f6 034031 add alarm ,-7 ,queue 
+0x78f7 034032 call sha_getw 
+0x78f8 034033 iforce temp 
+0x78f9 034034 add alarm ,-16 ,queue 
+0x78fa 034035 call sha_getw 
+0x78fb 034036 iadd temp ,temp 
+0x78fc 034037 add alarm ,-2 ,queue 
+0x78fd 034038 call sha_getw 
+0x78fe 034039 shasx pdata ,1 ,pdata 
+0x78ff 034040 iadd temp ,temp 
+0x7900 034041 add alarm ,-15 ,queue 
+0x7901 034042 call sha_getw 
+0x7902 034043 shasx pdata ,0 ,pdata 
+0x7903 034044 iadd temp ,temp 
+0x7904 034045 lshift2 alarm ,pdata 
+0x7905 034046 iadd timeup ,contw 
+0x7906 034047 istoret 4 ,contw 
+0x7907 034048 increase 1 ,alarm 
+0x7908 034049 compare 64 ,alarm ,0xff 
+0x7909 034050 nbranch sha_r_loop ,true 
+0x790a 034051 rtn 
+:      034054 sha_init:
+0x790b 034055 arg memh0 ,contr 
+0x790c 034056 force 7 ,regext_index 
+:      034057 sha_init_0:
+0x790d 034058 ifetch 4 ,contr 
+0x790e 034059 iforce regext 
+0x790f 034060 increase -1 ,regext_index 
+0x7910 034061 branch sha_init_0 ,positive 
+0x7911 034062 rtn 
+:      034064 sha:
+0x7912 034065 bpatchx patch3d_4 ,mem_patch3d 
+0x7913 034066 call sha_r 
+0x7914 034067 arg memahbak ,contw 
+0x7915 034068 force 0 ,regext_index 
+:      034069 sha_0:
+0x7916 034070 deposit regext 
+0x7917 034071 istore 4 ,contw 
+0x7918 034072 increase 1 ,regext_index 
+0x7919 034073 compare 8 ,regext_index ,0xff 
+0x791a 034074 nbranch sha_0 ,true 
+0x791b 034075 call enable_authrom 
+0x791c 034076 arg memk ,timeup 
+0x791d 034077 arg memdat ,alarm 
+0x791e 034078 force 64 ,loopcnt 
+:      034079 sha_loop:
+0x791f 034080 ifetcht 4 ,alarm 
+0x7920 034081 ifetch 4 ,timeup 
+0x7921 034082 increase 4 ,timeup 
+0x7922 034083 increase 4 ,alarm 
+0x7923 034084 iadd temp ,pdata 
+0x7924 034085 force 7 ,regext_index 
+0x7925 034086 iadd regext ,temp 
+0x7926 034087 force 4 ,regext_index 
+0x7927 034088 shasx regext ,3 ,pdata 
+0x7928 034089 iadd temp ,temp 
+0x7929 034090 force 5 ,regext_index 
+0x792a 034091 deposit regext 
+0x792b 034092 force 6 ,regext_index 
+0x792c 034093 ixor regext ,pdata 
+0x792d 034094 force 4 ,regext_index 
+0x792e 034095 iand regext ,pdata 
+0x792f 034096 force 6 ,regext_index 
+0x7930 034097 ixor regext ,pdata 
+0x7931 034098 iadd temp ,temp 
+0x7932 034099 force 7 ,regext_index 
+0x7933 034100 copy temp ,regext 
+0x7934 034101 force 3 ,regext_index 
+0x7935 034102 deposit regext 
+0x7936 034103 iadd temp ,regext 
+0x7937 034104 force 0 ,regext_index 
+0x7938 034105 deposit regext 
+0x7939 034106 force 1 ,regext_index 
+0x793a 034107 iand regext ,temp 
+0x793b 034108 ior regext ,pdata 
+0x793c 034109 force 2 ,regext_index 
+0x793d 034110 iand regext ,pdata 
+0x793e 034111 ior temp ,temp 
+0x793f 034112 force 0 ,regext_index 
+0x7940 034113 shasx regext ,2 ,pdata 
+0x7941 034114 iadd temp ,pdata 
+0x7942 034115 force 7 ,regext_index 
+0x7943 034116 iadd regext ,regext 
+0x7944 034117 regexrot 
+0x7945 034118 loop sha_loop 
+0x7946 034119 arg memahbak ,contr 
+0x7947 034120 force 0 ,regext_index 
+:      034121 sha_1:
+0x7948 034122 ifetch 4 ,contr 
+0x7949 034123 iadd regext ,regext 
+0x794a 034124 increase 1 ,regext_index 
+0x794b 034125 compare 8 ,regext_index ,0xff 
+0x794c 034126 nbranch sha_1 ,true 
+0x794d 034127 branch disable_authrom 
+:      034130 sha_result:
+0x794e 034131 arg memresult ,contw 
+0x794f 034132 force 7 ,regext_index 
+:      034133 sha_regext_save:
+0x7950 034134 deposit regext 
+0x7951 034135 istore 4 ,contw 
+0x7952 034136 increase -1 ,regext_index 
+0x7953 034137 branch sha_regext_save ,positive 
+0x7954 034138 rtn 
+:      034140 pad_xor:
+0x7955 034142 arg memdat ,contw 
+0x7956 034143 increase -4 ,contr 
+0x7957 034144 sub loopcnt ,16 ,rega 
+:      034145 pad_xor_0:
+0x7958 034146 ifetch 4 ,contr 
+0x7959 034147 ixor temp ,pdata 
+0x795a 034148 istore 4 ,contw 
+0x795b 034149 increase -8 ,contr 
+0x795c 034150 loop pad_xor_0 
+0x795d 034151 copy rega ,loopcnt 
+0x795e 034152 deposit temp 
+:      034153 pad_xor_1:
+0x795f 034154 istore 4 ,contw 
+0x7960 034155 loop pad_xor_1 
+0x7961 034156 rtn 
+:      034158 g_noninit_number_confirm:
+0x7962 034159 call g_noninit0 
+0x7963 034160 call sha_result 
+0x7964 034161 branch g_common0 
+:      034163 g_noninit:
+0x7965 034164 call g_noninit0 
+0x7966 034165 branch g_common0 
+:      034167 g_noninit0:
+0x7967 034168 arg mem_sp_pubkey_remote_x_end ,contr 
+0x7968 034169 arg memdat ,contw 
+0x7969 034170 force 6 ,loopcnt 
+0x796a 034171 call memcpy_dword_swap 
+0x796b 034172 arg mem_sp_pubkey_local_x_end ,contr 
+0x796c 034173 force 6 ,loopcnt 
+0x796d 034174 call memcpy_dword_swap 
+0x796e 034175 arg mem_sp_random_remote_end ,contr 
+0x796f 034176 call memcpy_dword_swap4 
+0x7970 034177 call sha_init 
+0x7971 034178 call sha 
+0x7972 034179 arg mem_sp_random_local_end ,contr 
+0x7973 034180 arg memdat ,contw 
+0x7974 034181 branch g_common 
+:      034183 g_init:
+0x7975 034184 arg mem_sp_pubkey_local_x_end ,contr 
+0x7976 034185 arg memdat ,contw 
+0x7977 034186 force 6 ,loopcnt 
+0x7978 034187 call memcpy_dword_swap 
+0x7979 034188 arg mem_sp_pubkey_remote_x_end ,contr 
+0x797a 034189 force 6 ,loopcnt 
+0x797b 034190 call memcpy_dword_swap 
+0x797c 034191 arg mem_sp_random_local_end ,contr 
+0x797d 034192 call memcpy_dword_swap4 
+0x797e 034193 call sha_init 
+0x797f 034194 call sha 
+0x7980 034195 arg mem_sp_random_remote_end ,contr 
+0x7981 034196 arg memdat ,contw 
+0x7982 034197 call g_common 
+0x7983 034198 branch g_common0 
+:      034200 g_common:
+0x7984 034201 call memcpy_dword_swap4 
+0x7985 034202 setarg 0x800000 
+0x7986 034203 lshift8 pdata ,pdata 
+0x7987 034204 istore 4 ,contw 
+0x7988 034205 force 5 ,loopcnt 
+0x7989 034206 call memset0 
+0x798a 034207 setarg 640 
+0x798b 034208 istore 4 ,contw 
+0x798c 034209 branch sha 
+:      034210 g_common0:
+0x798d 034211 fetch 4 ,memresult 
+0x798e 034213 arg 1000 ,rega 
+0x798f 034214 idiv rega 
+0x7990 034215 call wait_div_end 
+0x7991 034216 remainder pdata 
+0x7992 034217 store 4 ,mem_gkey 
+0x7993 034218 quotient pdata 
+0x7994 034219 arg 1000 ,rega 
+0x7995 034220 idiv rega 
+0x7996 034221 call wait_div_end 
+0x7997 034222 remainder pdata 
+0x7998 034223 arg 1000 ,rega 
+0x7999 034224 imul32 rega ,pdata 
+0x799a 034225 fetcht 4 ,mem_gkey 
+0x799b 034226 iadd temp ,pdata 
+0x799c 034227 store 4 ,mem_gkey 
+0x799d 034228 rtn 
+:      034230 function_f1_no_key:
+0x799e 034231 jam 0 ,mem_passkey_1bit 
+0x799f 034232 branch function_f1_common 
+:      034234 function_f1:
+0x79a0 034235 fetch 1 ,mem_ssp_mode_flag 
+0x79a1 034236 bne ssp_mode_passkey_entry_flag ,function_f1_no_key 
+:      034237 function_f1_common:
+0x79a2 034238 bpatchx patch3d_5 ,mem_patch3d 
+0x79a3 034239 setarg 0x363636 
+0x79a4 034240 lshift8 pdata ,temp 
+0x79a5 034241 or_into 0x36 ,temp 
+0x79a6 034242 fetch 2 ,mem_sp_prarm_stack 
+0x79a7 034243 copy pdata ,contr 
+0x79a8 034244 force 4 ,loopcnt 
+0x79a9 034245 call pad_xor 
+0x79aa 034246 call sha_init 
+0x79ab 034247 call sha 
+0x79ac 034248 fetch 2 ,mem_sp_prarm_stack + 2 
+0x79ad 034249 copy pdata ,contr 
+0x79ae 034250 arg memdat ,contw 
+0x79af 034251 force 6 ,loopcnt 
+0x79b0 034252 call memcpy_dword_swap 
+0x79b1 034253 fetch 2 ,mem_sp_prarm_stack + 4 
+0x79b2 034254 copy pdata ,contr 
+0x79b3 034255 force 6 ,loopcnt 
+0x79b4 034256 call memcpy_dword_swap 
+0x79b5 034257 setarg 0x800000 
+0x79b6 034258 istore 3 ,contw 
+0x79b7 034260 fetch 1 ,mem_passkey_1bit 
+0x79b8 034262 istore 1 ,contw 
+0x79b9 034263 force 0 ,pdata 
+0x79ba 034264 istore 8 ,contw 
+0x79bb 034265 setarg 0x0388 
+0x79bc 034266 istore 4 ,contw 
+0x79bd 034267 call sha 
+0x79be 034268 call sha_result 
+0x79bf 034269 arg memresult ,contr 
+0x79c0 034270 arg memahsave ,contw 
+0x79c1 034271 call memcpy32 
+0x79c2 034273 setarg 0x5c5c5c 
+0x79c3 034274 lshift8 pdata ,temp 
+0x79c4 034275 or_into 0x5c ,temp 
+0x79c5 034276 fetch 2 ,mem_sp_prarm_stack 
+0x79c6 034277 copy pdata ,contr 
+0x79c7 034278 force 4 ,loopcnt 
+0x79c8 034279 call pad_xor 
+0x79c9 034280 call sha_init 
+0x79ca 034281 call sha 
+0x79cb 034282 arg memahsave_end ,contr 
+0x79cc 034283 arg memdat ,contw 
+0x79cd 034284 force 8 ,loopcnt 
+0x79ce 034285 call memcpy_dword_swap 
+0x79cf 034286 setarg 0x800000 
+0x79d0 034287 lshift8 pdata ,pdata 
+0x79d1 034288 istore 4 ,contw 
+0x79d2 034289 call bn_zero 
+0x79d3 034290 setarg 0x0300 
+0x79d4 034291 istore 4 ,contw 
+0x79d5 034292 call sha 
+0x79d6 034293 branch sha_result 
+:      034296 function_f2:
+0x79d7 034297 setarg 0x363636 
+0x79d8 034298 lshift8 pdata ,temp 
+0x79d9 034299 or_into 0x36 ,temp 
+0x79da 034300 arg mem_sp_dhkey_end ,contr 
+0x79db 034301 force 6 ,loopcnt 
+0x79dc 034302 call pad_xor 
+0x79dd 034303 call sha_init 
+0x79de 034304 call sha 
+0x79df 034305 fetch 2 ,mem_sp_prarm_stack + 12 
+0x79e0 034306 copy pdata ,contr 
+0x79e1 034307 arg memdat ,contw 
+0x79e2 034308 call memcpy_dword_swap4 
+0x79e3 034309 fetch 2 ,mem_sp_prarm_stack + 14 
+0x79e4 034310 copy pdata ,contr 
+0x79e5 034311 call memcpy_dword_swap4 
+0x79e6 034313 setarg 0x62746c 
+0x79e7 034314 lshift8 pdata ,pdata 
+0x79e8 034315 or_into 0x6b ,pdata 
+0x79e9 034316 istore 4 ,contw 
+0x79ea 034317 arg mem_addr_value_end ,contr 
+0x79eb 034318 force 3 ,loopcnt 
+0x79ec 034319 call memcpy_dword_swap 
+0x79ed 034321 setarg 0x800000 
+0x79ee 034322 lshift8 pdata ,pdata 
+0x79ef 034323 istore 4 ,contw 
+0x79f0 034324 force 0 ,pdata 
+0x79f1 034325 istore 8 ,contw 
+0x79f2 034326 setarg 0x0380 
+0x79f3 034327 istore 4 ,contw 
+0x79f4 034328 call sha 
+0x79f5 034330 call sha_result 
+0x79f6 034331 arg memresult ,contr 
+0x79f7 034332 arg memahsave ,contw 
+0x79f8 034333 call memcpy32 
+0x79f9 034335 setarg 0x5c5c5c 
+0x79fa 034336 lshift8 pdata ,temp 
+0x79fb 034337 or_into 0x5c ,temp 
+0x79fc 034338 arg mem_sp_dhkey_end ,contr 
+0x79fd 034339 force 6 ,loopcnt 
+0x79fe 034340 call pad_xor 
+0x79ff 034341 call sha_init 
+0x7a00 034342 call sha 
+0x7a01 034343 arg memahsave_end ,contr 
+0x7a02 034344 arg memdat ,contw 
+0x7a03 034345 force 8 ,loopcnt 
+0x7a04 034346 call memcpy_dword_swap 
+0x7a05 034347 setarg 0x800000 
+0x7a06 034348 lshift8 pdata ,pdata 
+0x7a07 034349 istore 4 ,contw 
+0x7a08 034350 call bn_zero 
+0x7a09 034351 setarg 0x0300 
+0x7a0a 034352 istore 4 ,contw 
+0x7a0b 034353 call sha 
+0x7a0c 034354 branch sha_result 
+:      034357 function_f3a:
+0x7a0d 034358 fetch 1 ,mem_ssp_mode_flag 
+0x7a0e 034359 bne ssp_mode_passkey_entry_flag ,function_f3a_no_pin 
+:      034360 function_f3a_common:
+0x7a0f 034361 bpatchx patch3d_6 ,mem_patch3d 
+0x7a10 034362 setarg 0x363636 
+0x7a11 034363 lshift8 pdata ,temp 
+0x7a12 034364 or_into 0x36 ,temp 
+0x7a13 034365 arg mem_sp_dhkey_end ,contr 
+0x7a14 034366 force 6 ,loopcnt 
+0x7a15 034367 call pad_xor 
+0x7a16 034368 call sha_init 
+0x7a17 034369 call sha 
+0x7a18 034370 arg mem_sp_random_remote_end ,contr 
+0x7a19 034371 arg memdat ,contw 
+0x7a1a 034372 call memcpy_dword_swap4 
+0x7a1b 034373 arg mem_sp_random_local_end ,contr 
+0x7a1c 034374 call memcpy_dword_swap4 
+0x7a1d 034375 branch function_f3_common 
+:      034377 function_f3a_no_pin:
+0x7a1e 034378 setarg 0 
+0x7a1f 034379 store 4 ,mem_pin 
+0x7a20 034380 branch function_f3a_common 
+:      034382 function_f3b_no_pin:
+0x7a21 034383 setarg 0 
+0x7a22 034384 store 4 ,mem_pin 
+0x7a23 034385 branch function_f3b_common 
+:      034388 function_f3b:
+0x7a24 034389 fetch 1 ,mem_ssp_mode_flag 
+0x7a25 034390 bne ssp_mode_passkey_entry_flag ,function_f3b_no_pin 
+:      034391 function_f3b_common:
+0x7a26 034392 setarg 0x363636 
+0x7a27 034393 lshift8 pdata ,temp 
+0x7a28 034394 or_into 0x36 ,temp 
+0x7a29 034395 arg mem_sp_dhkey_end ,contr 
+0x7a2a 034396 force 6 ,loopcnt 
+0x7a2b 034397 call pad_xor 
+0x7a2c 034398 call sha_init 
+0x7a2d 034399 call sha 
+0x7a2e 034401 arg mem_sp_random_local_end ,contr 
+0x7a2f 034402 arg memdat ,contw 
+0x7a30 034403 call memcpy_dword_swap4 
+0x7a31 034404 arg mem_sp_random_remote_end ,contr 
+0x7a32 034405 call memcpy_dword_swap4 
+:      034406 function_f3_common:
+0x7a33 034407 setarg 0x0 
+0x7a34 034408 istore 8 ,contw 
+0x7a35 034409 istore 4 ,contw 
+0x7a36 034410 fetch 4 ,mem_pin 
+0x7a37 034411 istore 4 ,contw 
+0x7a38 034413 copy contw ,temp 
+0x7a39 034414 jam 0x80 ,mem_addr_padding 
+0x7a3a 034415 copy temp ,contw 
+0x7a3b 034416 arg mem_addr_iocap_end ,contr 
+0x7a3c 034417 call memcpy_dword_swap4 
+0x7a3d 034419 call sha 
+0x7a3e 034421 arg memdat ,contw 
+0x7a3f 034422 force 7 ,loopcnt 
+0x7a40 034423 call memset0 
+0x7a41 034424 istore 4 ,contw 
+0x7a42 034425 setarg 0x03F8 
+0x7a43 034426 istore 4 ,contw 
+0x7a44 034427 call sha 
+0x7a45 034428 call sha_result 
+0x7a46 034430 arg memresult ,contr 
+0x7a47 034431 arg memahsave ,contw 
+0x7a48 034432 call memcpy32 
+0x7a49 034434 setarg 0x5c5c5c 
+0x7a4a 034435 lshift8 pdata ,temp 
+0x7a4b 034436 or_into 0x5c ,temp 
+0x7a4c 034437 arg mem_sp_dhkey_end ,contr 
+0x7a4d 034438 force 6 ,loopcnt 
+0x7a4e 034439 call pad_xor 
+0x7a4f 034440 call sha_init 
+0x7a50 034441 call sha 
+0x7a51 034442 arg memahsave_end ,contr 
+0x7a52 034443 arg memdat ,contw 
+0x7a53 034444 force 8 ,loopcnt 
+0x7a54 034445 call memcpy_dword_swap 
+0x7a55 034446 setarg 0x800000 
+0x7a56 034447 lshift8 pdata ,pdata 
+0x7a57 034448 istore 4 ,contw 
+0x7a58 034449 call bn_zero 
+0x7a59 034450 setarg 0x0300 
+0x7a5a 034451 istore 4 ,contw 
+0x7a5b 034452 call sha 
+0x7a5c 034453 branch sha_result 
+:      034460 eckp_calc_init:
+0x7a5d 034461 jam 192 ,mem_ec_loopc 
+:      034462 eckp_calc_init_1:
+0x7a5e 034463 fetch 1 ,mem_ec_loopc 
+0x7a5f 034464 rtn blank 
+0x7a60 034465 increase -1 ,pdata 
+0x7a61 034466 store 1 ,mem_ec_loopc 
+0x7a62 034467 arg mem_k ,contr 
+0x7a63 034468 call bn_testbit 
+0x7a64 034469 branch eckp_calc_init_1 ,true 
+0x7a65 034470 arg mem_ax ,contr 
+0x7a66 034471 arg mem_cx ,contw 
+0x7a67 034472 branch ec_copy 
+:      034474 eckp_calc:
+0x7a68 034475 call ecdbl 
+0x7a69 034476 fetch 1 ,mem_ec_loopc 
+0x7a6a 034477 increase -1 ,pdata 
+0x7a6b 034478 store 1 ,mem_ec_loopc 
+0x7a6c 034479 arg mem_k ,contr 
+0x7a6d 034480 call bn_testbit 
+0x7a6e 034481 rtn true 
+0x7a6f 034482 branch ecadd 
+:      034484 memcpy_dword_swap4:
+0x7a70 034485 force 4 ,loopcnt 
+:      034486 memcpy_dword_swap:
+0x7a71 034487 increase -4 ,contr 
+:      034488 memcpy_dword_swap_loop:
+0x7a72 034489 ifetch 4 ,contr 
+0x7a73 034490 istore 4 ,contw 
+0x7a74 034491 increase -8 ,contr 
+0x7a75 034492 loop memcpy_dword_swap_loop 
+0x7a76 034493 rtn 
+:      034498 sp_initialize_256:
+0x7a77 034499 bpatchx patch3d_7 ,mem_patch3d 
+0x7a78 034500 fetch 1 ,mem_le_secure_connect_enable 
+0x7a79 034501 branch le_secure_connection_disable ,blank 
+0x7a7a 034502 call le_secure_connection_enable 
+0x7a7b 034503 call sp_clear_flags 
+0x7a7c 034505 branch sp_pubkey_calc_256 
+:      034510 sp_pubkey_calc_256:
+0x7a7d 034511 fetch 1 ,mem_le_sc_local_key_invalid 
+0x7a7e 034512 rtnne sp_key_invalid 
+0x7a7f 034513 fetch 1 ,mem_le_sc_calc 
+0x7a80 034514 rtnne sp_calc_standby 
+0x7a81 034516 arg mem_le_private_key_256 ,contw 
+0x7a82 034517 force 15 ,queue 
+0x7a83 034518 call random_generator 
+0x7a84 034519 random pdata 
+0x7a85 034520 rshift pdata ,pdata 
+0x7a86 034521 istore 2 ,contw 
+0x7a87 034523 arg mem_k_256 ,contw 
+0x7a88 034524 arg mem_le_private_key_256 ,contr 
+0x7a89 034525 call memcpy32 
+0x7a8a 034527 arg mem_ax_256 ,contw 
+0x7a8b 034528 arg mem_gx_256 ,contr 
+0x7a8c 034529 call memcpy64 
+0x7a8d 034531 arg mem_az_256 ,contw 
+0x7a8e 034532 call clear_mem_256 
+0x7a8f 034533 jam 1 ,mem_az_256 
+0x7a90 034535 call eckp_calc_init_256 
+0x7a91 034536 jam sp_calc_pubkey_256 ,mem_le_sc_calc 
+0x7a92 034537 rtn 
+:      034539 sp_pubkey_generated_256:
+0x7a93 034540 arg mem_le_pubkey_local_x_256 ,contw 
+0x7a94 034541 arg mem_bx_256 ,contr 
+0x7a95 034542 call memcpy64 
+0x7a96 034543 jam sp_key_valid_256 ,mem_le_sc_local_key_invalid 
+0x7a97 034544 jam sp_calc_standby ,mem_le_sc_calc 
+0x7a98 034545 rtn 
+:      034549 sp_dhkey_calc_256:
+0x7a99 034550 fetch 1 ,mem_sp_dhkey_invalid 
+0x7a9a 034551 rtnne sp_key_invalid 
+0x7a9b 034552 fetch 1 ,mem_le_sc_calc 
+0x7a9c 034553 rtnne sp_calc_standby 
+0x7a9d 034555 arg mem_k_256 ,contw 
+0x7a9e 034556 arg mem_le_private_key_256 ,contr 
+0x7a9f 034557 call memcpy32 
+0x7aa0 034559 arg mem_ax_256 ,contw 
+0x7aa1 034560 arg mem_le_pubkey_remote_x_256 ,contr 
+0x7aa2 034561 call memcpy64 
+0x7aa3 034563 arg mem_az_256 ,contw 
+0x7aa4 034564 call clear_mem_256 
+0x7aa5 034565 jam 1 ,mem_az_256 
+0x7aa6 034567 call eckp_calc_init_256 
+0x7aa7 034568 jam sp_calc_dhkey_256 ,mem_le_sc_calc 
+0x7aa8 034569 rtn 
+:      034572 sp_dhkey_generated_256:
+0x7aa9 034574 arg mem_le_dhkey_256 ,contw 
+0x7aaa 034575 arg mem_bx_256 ,contr 
+0x7aab 034576 call memcpy32 
+0x7aac 034577 jam sp_key_valid_256 ,mem_sp_dhkey_invalid 
+0x7aad 034578 jam sp_calc_standby ,mem_le_sc_calc 
+0x7aae 034579 rtn 
+:      034583 sp_calc_sequence_256:
+0x7aaf 034584 fetch 1 ,mem_le_secure_connect_enable 
+0x7ab0 034585 rtn blank 
+0x7ab1 034586 fetch 1 ,mem_le_sc_calc 
+0x7ab2 034587 rtn blank 
+0x7ab3 034588 increase 0x80 ,pdata 
+0x7ab4 034589 store 1 ,mem_le_sc_calc 
+0x7ab5 034590 rtnbit1 7 
+0x7ab6 034591 fetch 2 ,mem_ec_loopc 
+0x7ab7 034592 branch sp_calc_sequence_done_256 ,blank 
+0x7ab8 034593 branch eckp_calc_256 
+:      034595 sp_calc_sequence_done_256:
+0x7ab9 034596 bpatchx patch3e_0 ,mem_patch3e 
+0x7aba 034597 call ecunmapz_256 
+0x7abb 034598 fetch 1 ,mem_le_sc_calc 
+0x7abc 034599 beq sp_calc_pubkey_256 ,sp_pubkey_generated_256 
+0x7abd 034600 beq sp_calc_dhkey_256 ,sp_dhkey_generated_256 
+0x7abe 034601 rtn 
+:      034604 eckp_calc_256:
+0x7abf 034605 call ecdbl_256 
+0x7ac0 034606 fetch 2 ,mem_ec_loopc 
+0x7ac1 034607 increase -1 ,pdata 
+0x7ac2 034608 store 2 ,mem_ec_loopc 
+0x7ac3 034609 arg mem_k_256 ,contr 
+0x7ac4 034610 call bn_testbit 
+0x7ac5 034611 rtn true 
+0x7ac6 034612 branch ecadd_256 
+:      034614 eckp_calc_init_256:
+0x7ac7 034615 bpatchx patch3e_1 ,mem_patch3e 
+0x7ac8 034616 setarg 256 ,pdata 
+0x7ac9 034617 store 2 ,mem_ec_loopc 
+:      034618 eckp_calc_init_256_1:
+0x7aca 034619 fetch 2 ,mem_ec_loopc 
+0x7acb 034620 rtn blank 
+0x7acc 034621 increase -1 ,pdata 
+0x7acd 034622 store 2 ,mem_ec_loopc 
+0x7ace 034623 arg mem_k_256 ,contr 
+0x7acf 034624 call bn_testbit 
+0x7ad0 034625 branch eckp_calc_init_256_1 ,true 
+0x7ad1 034626 arg mem_ax_256 ,contr 
+0x7ad2 034627 arg mem_cx_256 ,contw 
+0x7ad3 034628 branch memcpy96 
+:      034631 ecunmapz_256:
+0x7ad4 034632 arg mem_cz_256 ,rega 
+0x7ad5 034633 arg mem_t3_256 ,contw 
+0x7ad6 034634 call bn_invmod_256 
+0x7ad7 034635 arg mem_t3_256 ,rega 
+0x7ad8 034636 arg mem_t1_256 ,contw 
+0x7ad9 034637 call bn_sqrmod_256 
+0x7ada 034638 arg mem_cx_256 ,rega 
+0x7adb 034639 arg mem_t1_256 ,regb 
+0x7adc 034640 arg mem_bx_256 ,contw 
+0x7add 034641 call bn_mulmod_256 
+0x7ade 034642 arg mem_t3_256 ,rega 
+0x7adf 034643 arg mem_t1_256 ,regb 
+0x7ae0 034644 arg mem_t2_256 ,contw 
+0x7ae1 034645 call bn_mulmod_256 
+0x7ae2 034646 arg mem_cy_256 ,rega 
+0x7ae3 034647 arg mem_t2_256 ,regb 
+0x7ae4 034648 arg mem_by_256 ,contw 
+0x7ae5 034649 branch bn_mulmod_256 
+:      034651 ecdbl_256:
+0x7ae6 034652 arg mem_cz_256 ,rega 
+0x7ae7 034653 arg mem_t2_256 ,contw 
+0x7ae8 034654 call bn_sqrmod_256 
+0x7ae9 034655 arg mem_t2_256 ,rega 
+0x7aea 034656 arg mem_t3_256 ,contw 
+0x7aeb 034657 call bn_sqrmod_256 
+0x7aec 034659 arg mem_a_256 ,rega 
+0x7aed 034660 arg mem_t3_256 ,regb 
+0x7aee 034661 arg mem_t3_256 ,contw 
+0x7aef 034662 call bn_mulmod_256 
+0x7af0 034663 arg mem_cx_256 ,rega 
+0x7af1 034664 arg mem_t2_256 ,contw 
+0x7af2 034665 call bn_sqrmod_256 
+0x7af3 034667 arg mem_t2_256 ,contr 
+0x7af4 034668 arg mem_t1_256 ,contw 
+0x7af5 034669 call memcpy32 
+0x7af6 034670 arg mem_t1_256 ,rega 
+0x7af7 034671 call bn_lshiftmod_256 
+0x7af8 034672 arg mem_t2_256 ,rega 
+0x7af9 034673 arg mem_t1_256 ,regb 
+0x7afa 034674 arg mem_t2_256 ,contw 
+0x7afb 034675 call bn_addmod_256 
+0x7afc 034677 arg mem_t2_256 ,rega 
+0x7afd 034678 arg mem_t3_256 ,regb 
+0x7afe 034679 arg mem_t2_256 ,contw 
+0x7aff 034680 call bn_addmod_256 
+0x7b00 034682 arg mem_cx_256 ,contr 
+0x7b01 034683 arg mem_t1_256 ,contw 
+0x7b02 034684 call memcpy32 
+0x7b03 034685 arg mem_cy_256 ,rega 
+0x7b04 034686 arg mem_t3_256 ,contw 
+0x7b05 034687 call bn_sqrmod_256 
+0x7b06 034688 arg mem_t1_256 ,rega 
+0x7b07 034689 call bn_lshiftmod_256 
+0x7b08 034690 arg mem_t1_256 ,rega 
+0x7b09 034691 call bn_lshiftmod_256 
+0x7b0a 034692 arg mem_t1_256 ,rega 
+0x7b0b 034693 arg mem_t3_256 ,regb 
+0x7b0c 034694 arg mem_t1_256 ,contw 
+0x7b0d 034695 call bn_mulmod_256 
+0x7b0e 034696 arg mem_t3_256 ,rega 
+0x7b0f 034697 arg mem_t0_256 ,contw 
+0x7b10 034698 call bn_sqrmod_256 
+0x7b11 034699 arg mem_t0_256 ,rega 
+0x7b12 034700 call bn_lshiftmod_256 
+0x7b13 034701 arg mem_t0_256 ,rega 
+0x7b14 034702 call bn_lshiftmod_256 
+0x7b15 034703 arg mem_t0_256 ,rega 
+0x7b16 034704 call bn_lshiftmod_256 
+0x7b17 034705 arg mem_cy_256 ,contr 
+0x7b18 034706 arg mem_t3_256 ,contw 
+0x7b19 034707 call memcpy32 
+0x7b1a 034708 arg mem_t3_256 ,rega 
+0x7b1b 034709 call bn_lshiftmod_256 
+0x7b1c 034710 arg mem_t3_256 ,rega 
+0x7b1d 034711 arg mem_cz_256 ,regb 
+0x7b1e 034712 arg mem_cz_256 ,contw 
+0x7b1f 034713 call bn_mulmod_256 
+0x7b20 034716 arg mem_t2_256 ,rega 
+0x7b21 034717 arg mem_t3_256 ,contw 
+0x7b22 034718 call bn_sqrmod_256 
+0x7b23 034720 arg mem_t3_256 ,rega 
+0x7b24 034721 arg mem_t1_256 ,regb 
+0x7b25 034722 arg mem_t3_256 ,contw 
+0x7b26 034723 call bn_submod_256 
+0x7b27 034724 arg mem_t3_256 ,rega 
+0x7b28 034725 arg mem_t1_256 ,regb 
+0x7b29 034726 arg mem_cx_256 ,contw 
+0x7b2a 034727 call bn_submod_256 
+0x7b2b 034728 arg mem_t1_256 ,rega 
+0x7b2c 034729 arg mem_cx_256 ,regb 
+0x7b2d 034730 arg mem_t3_256 ,contw 
+0x7b2e 034731 call bn_submod_256 
+0x7b2f 034732 arg mem_t3_256 ,rega 
+0x7b30 034733 arg mem_t2_256 ,regb 
+0x7b31 034734 arg mem_t3_256 ,contw 
+0x7b32 034735 call bn_mulmod_256 
+0x7b33 034736 arg mem_t3_256 ,rega 
+0x7b34 034737 arg mem_t0_256 ,regb 
+0x7b35 034738 arg mem_cy_256 ,contw 
+0x7b36 034739 branch bn_submod_256 
+:      034741 ecadd_256:
+0x7b37 034743 arg mem_az_256 ,rega 
+0x7b38 034744 arg mem_t7_256 ,contw 
+0x7b39 034745 call bn_sqrmod_256 
+0x7b3a 034746 arg mem_cx_256 ,rega 
+0x7b3b 034747 arg mem_t7_256 ,regb 
+0x7b3c 034748 arg mem_t0_256 ,contw 
+0x7b3d 034749 call bn_mulmod_256 
+0x7b3e 034752 arg mem_az_256 ,rega 
+0x7b3f 034753 arg mem_t7_256 ,regb 
+0x7b40 034754 arg mem_t7_256 ,contw 
+0x7b41 034755 call bn_mulmod_256 
+0x7b42 034756 arg mem_cy_256 ,rega 
+0x7b43 034757 arg mem_t7_256 ,regb 
+0x7b44 034758 arg mem_t1_256 ,contw 
+0x7b45 034759 call bn_mulmod_256 
+0x7b46 034762 arg mem_cz_256 ,rega 
+0x7b47 034763 arg mem_t7_256 ,contw 
+0x7b48 034764 call bn_sqrmod_256 
+0x7b49 034765 arg mem_ax_256 ,rega 
+0x7b4a 034766 arg mem_t7_256 ,regb 
+0x7b4b 034767 arg mem_t2_256 ,contw 
+0x7b4c 034768 call bn_mulmod_256 
+0x7b4d 034770 arg mem_cz_256 ,rega 
+0x7b4e 034771 arg mem_t7_256 ,regb 
+0x7b4f 034772 arg mem_t7_256 ,contw 
+0x7b50 034773 call bn_mulmod_256 
+0x7b51 034774 arg mem_ay_256 ,rega 
+0x7b52 034775 arg mem_t7_256 ,regb 
+0x7b53 034776 arg mem_t3_256 ,contw 
+0x7b54 034777 call bn_mulmod_256 
+0x7b55 034782 arg mem_t0_256 ,regb 
+0x7b56 034783 arg mem_t2_256 ,rega 
+0x7b57 034784 arg mem_t7_256 ,contw 
+0x7b58 034785 call bn_submod_256 
+0x7b59 034786 arg mem_t0_256 ,rega 
+0x7b5a 034787 arg mem_t2_256 ,regb 
+0x7b5b 034788 arg mem_t0_256 ,contw 
+0x7b5c 034789 call bn_addmod_256 
+0x7b5d 034792 arg mem_t1_256 ,regb 
+0x7b5e 034793 arg mem_t3_256 ,rega 
+0x7b5f 034794 arg mem_t2_256 ,contw 
+0x7b60 034795 call bn_submod_256 
+0x7b61 034796 arg mem_t1_256 ,rega 
+0x7b62 034797 arg mem_t3_256 ,regb 
+0x7b63 034798 arg mem_t1_256 ,contw 
+0x7b64 034799 call bn_addmod_256 
+0x7b65 034800 arg mem_t1_256 ,rega 
+0x7b66 034801 arg mem_t7_256 ,regb 
+0x7b67 034802 arg mem_t1_256 ,contw 
+0x7b68 034803 call bn_mulmod_256 
+0x7b69 034804 arg mem_cz_256 ,rega 
+0x7b6a 034805 arg mem_az_256 ,regb 
+0x7b6b 034806 arg mem_t3_256 ,contw 
+0x7b6c 034807 call bn_mulmod_256 
+0x7b6d 034808 arg mem_t3_256 ,rega 
+0x7b6e 034809 arg mem_t7_256 ,regb 
+0x7b6f 034810 arg mem_cz_256 ,contw 
+0x7b70 034811 call bn_mulmod_256 
+0x7b71 034813 arg mem_t7_256 ,rega 
+0x7b72 034814 arg mem_t7_256 ,contw 
+0x7b73 034815 call bn_sqrmod_256 
+0x7b74 034816 arg mem_t7_256 ,rega 
+0x7b75 034817 arg mem_t0_256 ,regb 
+0x7b76 034818 arg mem_t3_256 ,contw 
+0x7b77 034819 call bn_mulmod_256 
+0x7b78 034820 arg mem_t7_256 ,rega 
+0x7b79 034821 arg mem_t1_256 ,regb 
+0x7b7a 034822 arg mem_t1_256 ,contw 
+0x7b7b 034823 call bn_mulmod_256 
+0x7b7c 034824 arg mem_t2_256 ,rega 
+0x7b7d 034825 arg mem_cx_256 ,contw 
+0x7b7e 034826 call bn_sqrmod_256 
+0x7b7f 034827 arg mem_cx_256 ,rega 
+0x7b80 034828 arg mem_t3_256 ,regb 
+0x7b81 034829 arg mem_cx_256 ,contw 
+0x7b82 034830 call bn_submod_256 
+0x7b83 034831 arg mem_cx_256 ,contr 
+0x7b84 034832 arg mem_t7_256 ,contw 
+0x7b85 034833 call memcpy32 
+0x7b86 034834 arg mem_t7_256 ,rega 
+0x7b87 034835 call bn_lshiftmod_256 
+0x7b88 034836 arg mem_t3_256 ,rega 
+0x7b89 034837 arg mem_t7_256 ,regb 
+0x7b8a 034838 arg mem_t3_256 ,contw 
+0x7b8b 034839 call bn_submod_256 
+0x7b8c 034840 arg mem_t3_256 ,rega 
+0x7b8d 034841 arg mem_t2_256 ,regb 
+0x7b8e 034842 arg mem_t2_256 ,contw 
+0x7b8f 034843 call bn_mulmod_256 
+0x7b90 034844 arg mem_t2_256 ,rega 
+0x7b91 034845 arg mem_t1_256 ,regb 
+0x7b92 034846 arg mem_cy_256 ,contw 
+0x7b93 034847 call bn_submod_256 
+0x7b94 034848 arg mem_cy_256 ,rega 
+0x7b95 034849 arg mem_p_256 ,regb 
+0x7b96 034850 arg mem_cy_256 ,contw 
+0x7b97 034851 force 0 ,regc 
+0x7b98 034852 fetch 1 ,mem_cy_256 
+0x7b99 034853 isolate1 0 ,pdata 
+0x7b9a 034854 call bn_add_256 ,true 
+0x7b9b 034855 copy regc ,alarm 
+0x7b9c 034856 arg mem_cy_256 ,rega 
+0x7b9d 034857 call bn_rshift_256 
+0x7b9e 034858 fetch 1 ,mem_cy5_256 
+0x7b9f 034859 isolate1 0 ,alarm 
+0x7ba0 034860 setflag true ,7 ,pdata 
+0x7ba1 034861 store 1 ,mem_cy5_256 
+0x7ba2 034862 rtn 
+:      034864 bn_invmod_256:
+0x7ba3 034865 copy contw ,timeup 
+0x7ba4 034866 arg mem_tmp0_256 ,contw 
+0x7ba5 034867 call clear_mem_256 
+0x7ba6 034868 force 0 ,pdata 
+0x7ba7 034870 store 4 ,mem_t2_256 
+0x7ba8 034871 jam 1 ,mem_tmp0_256 
+0x7ba9 034872 arg mem_tmp1_256 ,contw 
+0x7baa 034873 call clear_mem_512 
+0x7bab 034874 arg mem_p_256 ,contr 
+0x7bac 034875 arg mem_tmp2_256 ,contw 
+0x7bad 034876 call memcpy32 
+0x7bae 034877 copy rega ,contr 
+0x7baf 034878 arg mem_tmp3_256 ,contw 
+0x7bb0 034879 call memcpy32 
+:      034885 bn_invmod_256_2:
+0x7bb1 034886 arg mem_tmp3_256 ,contr 
+0x7bb2 034887 call bn_eq_zero_256 
+0x7bb3 034888 branch bn_invmod_256_0 ,blank 
+0x7bb4 034893 arg mem_tmp3_256 ,rega 
+0x7bb5 034894 arg mem_tmp0_256 ,regb 
+0x7bb6 034895 call bn_rshifteven_256 
+0x7bb7 034896 arg mem_tmp2_256 ,rega 
+0x7bb8 034897 arg mem_tmp1_256 ,regb 
+0x7bb9 034898 call bn_rshifteven_256 
+0x7bba 034900 arg mem_tmp3_256 ,rega 
+0x7bbb 034901 arg mem_tmp2_256 ,regb 
+0x7bbc 034902 call bn_bigeq_256 
+0x7bbd 034903 branch bn_invmod_256_1 ,positive 
+0x7bbe 034904 arg mem_tmp2_256 ,rega 
+0x7bbf 034905 arg mem_tmp3_256 ,regb 
+0x7bc0 034906 copy rega ,contw 
+0x7bc1 034907 call bn_sub_256 
+0x7bc2 034908 arg mem_tmp0_256 ,rega 
+0x7bc3 034909 arg mem_tmp1_256 ,regb 
+0x7bc4 034910 copy regb ,contw 
+0x7bc5 034911 call bn_add_256 
+0x7bc6 034912 ifetch 1 ,rega 
+0x7bc7 034913 iadd regc ,regc 
+0x7bc8 034914 ifetch 1 ,regb 
+0x7bc9 034915 iadd regc ,pdata 
+0x7bca 034916 istore 1 ,regb 
+0x7bcb 034917 branch bn_invmod_256_2 
+:      034918 bn_invmod_256_1:
+0x7bcc 034919 arg mem_tmp3_256 ,rega 
+0x7bcd 034920 arg mem_tmp2_256 ,regb 
+0x7bce 034921 copy rega ,contw 
+0x7bcf 034922 call bn_sub_256 
+0x7bd0 034923 arg mem_tmp1_256 ,rega 
+0x7bd1 034924 arg mem_tmp0_256 ,regb 
+0x7bd2 034925 copy regb ,contw 
+0x7bd3 034926 call bn_add_256 
+0x7bd4 034927 ifetch 1 ,rega 
+0x7bd5 034928 iadd regc ,regc 
+0x7bd6 034929 ifetch 1 ,regb 
+0x7bd7 034930 iadd regc ,pdata 
+0x7bd8 034931 istore 1 ,regb 
+0x7bd9 034932 branch bn_invmod_256_2 
+:      034933 bn_invmod_256_0:
+0x7bda 034935 arg mem_tmp1_256 ,rega 
+0x7bdb 034936 copy timeup ,contw 
+0x7bdc 034937 call bn_p256mod 
+0x7bdd 034939 arg mem_p_256 ,rega 
+0x7bde 034940 copy timeup ,regb 
+0x7bdf 034941 copy timeup ,contw 
+0x7be0 034942 branch bn_submod_256 
+:      034945 bn_mulmod_256:
+0x7be1 034946 copy contw ,timeup 
+0x7be2 034948 force 0 ,regext_index 
+0x7be3 034950 arg mem_tmp1_256 ,contw 
+0x7be4 034951 call clear_mem_512 
+0x7be5 034952 arg mem_regext ,contw 
+0x7be6 034953 call clear_mem_512 
+0x7be7 034957 copy rega ,contr 
+0x7be8 034959 jam 0 ,mem_regext 
+0x7be9 034960 setarg 0 
+0x7bea 034961 call bn_load_mem 
+0x7beb 034962 copy regb ,contr 
+0x7bec 034963 call bn_load_256 
+0x7bed 034966 force 0 ,queue 
+0x7bee 034967 arg mem_tmp1_256 ,contw 
+:      034968 bn_mulmod_256_1:
+0x7bef 034971 arg mem_regext ,temp 
+0x7bf0 034972 copy queue ,regb 
+0x7bf1 034973 lshift2 regb ,pdata 
+0x7bf2 034975 iadd temp ,regb 
+0x7bf3 034976 force 0 ,temp 
+0x7bf4 034977 force 0 ,regc 
+:      034978 bn_mulmod_256_0:
+0x7bf5 034983 ifetch 4 ,contw 
+0x7bf6 034984 iforce rega 
+0x7bf7 034987 ifetch 4 ,regb 
+0x7bf8 034988 copy regc ,regext_index 
+0x7bf9 034989 imul32 regext ,pdata 
+0x7bfa 034990 iadd rega ,pdata 
+0x7bfb 034991 iadd temp ,pdata 
+0x7bfc 034992 istore 4 ,contw 
+0x7bfd 034993 rshift32 pdata ,temp 
+0x7bfe 034994 increase 1 ,regc 
+0x7bff 034995 compare 8 ,regc ,0xff 
+0x7c00 034996 nbranch bn_mulmod_256_0 ,true 
+0x7c01 034998 deposit temp 
+0x7c02 034999 istore 4 ,contw 
+0x7c03 035000 increase -32 ,contw 
+0x7c04 035003 increase 1 ,queue 
+0x7c05 035004 compare 8 ,queue ,0xff 
+0x7c06 035005 nbranch bn_mulmod_256_1 ,true 
+0x7c07 035006 arg mem_tmp1_256 ,rega 
+0x7c08 035007 copy timeup ,contw 
+0x7c09 035008 branch bn_p256mod 
+:      035010 bn_p256mod:
+0x7c0a 035011 bpatchx patch3e_2 ,mem_patch3e 
+0x7c0b 035012 copy contw ,timeup 
+0x7c0c 035013 copy rega ,alarm 
+0x7c0d 035014 arg mem_tmp2_256 ,regb 
+0x7c0e 035015 copy regb ,contw 
+0x7c0f 035016 call memset0_4 
+0x7c10 035017 istore 8 ,contw 
+0x7c11 035018 add rega ,44 ,contr 
+0x7c12 035019 call memcpy8 
+0x7c13 035020 call memcpy12 
+0x7c14 035021 copy regb ,rega 
+0x7c15 035022 call bn_lshiftmod_256 
+0x7c16 035023 arg mem_tmp2_256 ,regb 
+0x7c17 035024 copy alarm ,rega 
+0x7c18 035025 copy timeup ,contw 
+0x7c19 035026 call bn_addmod_256 
+0x7c1a 035028 arg mem_tmp2_256 ,regb 
+0x7c1b 035029 copy regb ,contw 
+0x7c1c 035030 call memset0_4 
+0x7c1d 035031 istore 8 ,contw 
+0x7c1e 035032 add alarm ,48 ,contr 
+0x7c1f 035033 call memcpy16 
+0x7c20 035034 call memset0_4 
+0x7c21 035035 copy regb ,rega 
+0x7c22 035036 call bn_lshiftmod_256 
+0x7c23 035040 arg mem_tmp2_256 ,regb 
+0x7c24 035041 copy timeup ,rega 
+0x7c25 035042 copy rega ,contw 
+0x7c26 035043 call bn_addmod_256 
+0x7c27 035047 arg mem_tmp2_256 ,regb 
+0x7c28 035048 copy regb ,contw 
+0x7c29 035049 add alarm ,32 ,contr 
+0x7c2a 035050 call memcpy12 
+0x7c2b 035051 call memset0_4 
+0x7c2c 035052 istore 8 ,contw 
+0x7c2d 035053 add alarm ,56 ,contr 
+0x7c2e 035054 call memcpy8 
+0x7c2f 035055 copy timeup ,rega 
+0x7c30 035056 copy rega ,contw 
+0x7c31 035057 call bn_addmod_256 
+0x7c32 035061 arg mem_tmp2_256 ,regb 
+0x7c33 035062 copy regb ,contw 
+0x7c34 035063 add alarm ,36 ,contr 
+0x7c35 035064 call memcpy12 
+0x7c36 035065 add alarm ,52 ,contr 
+0x7c37 035066 call memcpy12 
+0x7c38 035067 add alarm ,52 ,contr 
+0x7c39 035068 call memcpy4 
+0x7c3a 035069 add alarm ,32 ,contr 
+0x7c3b 035070 call memcpy4 
+0x7c3c 035071 copy timeup ,rega 
+0x7c3d 035072 copy rega ,contw 
+0x7c3e 035073 call bn_addmod_256 
+0x7c3f 035076 arg mem_tmp2_256 ,regb 
+0x7c40 035077 copy regb ,contw 
+0x7c41 035078 add alarm ,44 ,contr 
+0x7c42 035079 call memcpy12 
+0x7c43 035080 call memset0_4 
+0x7c44 035081 istore 8 ,contw 
+0x7c45 035082 add alarm ,32 ,contr 
+0x7c46 035083 call memcpy4 
+0x7c47 035084 add alarm ,40 ,contr 
+0x7c48 035085 call memcpy4 
+0x7c49 035086 copy timeup ,rega 
+0x7c4a 035087 copy rega ,contw 
+0x7c4b 035088 call bn_submod_256 
+0x7c4c 035091 arg mem_tmp2_256 ,regb 
+0x7c4d 035092 copy regb ,contw 
+0x7c4e 035093 add alarm ,48 ,contr 
+0x7c4f 035094 call memcpy8 
+0x7c50 035095 call memcpy8 
+0x7c51 035096 force 0 ,pdata 
+0x7c52 035097 istore 8 ,contw 
+0x7c53 035098 add alarm ,36 ,contr 
+0x7c54 035099 call memcpy4 
+0x7c55 035100 add alarm ,44 ,contr 
+0x7c56 035101 call memcpy4 
+0x7c57 035102 copy timeup ,rega 
+0x7c58 035103 copy rega ,contw 
+0x7c59 035104 call bn_submod_256 
+0x7c5a 035107 arg mem_tmp2_256 ,regb 
+0x7c5b 035108 copy regb ,contw 
+0x7c5c 035109 add alarm ,52 ,contr 
+0x7c5d 035110 call memcpy12 
+0x7c5e 035111 add alarm ,32 ,contr 
+0x7c5f 035112 call memcpy12 
+0x7c60 035113 call memset0_4 
+0x7c61 035114 add alarm ,48 ,contr 
+0x7c62 035115 call memcpy4 
+0x7c63 035116 copy timeup ,rega 
+0x7c64 035117 copy rega ,contw 
+0x7c65 035118 call bn_submod_256 
+0x7c66 035121 arg mem_tmp2_256 ,regb 
+0x7c67 035122 copy regb ,contw 
+0x7c68 035123 add alarm ,56 ,contr 
+0x7c69 035124 call memcpy8 
+0x7c6a 035125 call memset0_4 
+0x7c6b 035126 add alarm ,36 ,contr 
+0x7c6c 035127 call memcpy12 
+0x7c6d 035128 call memset0_4 
+0x7c6e 035129 add alarm ,52 ,contr 
+0x7c6f 035130 call memcpy4 
+0x7c70 035131 copy timeup ,rega 
+0x7c71 035132 copy rega ,contw 
+0x7c72 035133 branch bn_submod_256 
+:      035136 bn_load_mem:
+0x7c73 035137 force 32 ,loopcnt 
+0x7c74 035138 arg mem_regext ,contw 
+0x7c75 035139 iadd contw ,contw 
+0x7c76 035140 branch memcpy 
+:      035142 bn_load_256:
+0x7c77 035143 force 8 ,loopcnt 
+0x7c78 035144 branch bn_load_0 
+:      035146 bn_sqrmod_256:
+0x7c79 035147 copy rega ,regb 
+0x7c7a 035148 branch bn_mulmod_256 
+:      035150 bn_add_256:
+0x7c7b 035151 force 8 ,loopcnt 
+0x7c7c 035152 branch bn_add + 1 
+:      035154 bn_addmod_256:
+0x7c7d 035155 call bn_add_256 
+0x7c7e 035156 copy contw ,rega 
+0x7c7f 035157 branch bn_lshiftmod_ismod_256 
+:      035159 bn_lshiftmod_256:
+0x7c80 035160 call bn_lshift_256 
+:      035161 bn_lshiftmod_ismod_256:
+0x7c81 035162 isolate1 0 ,regc 
+0x7c82 035163 branch bn_lshiftmod_p_256 ,true 
+0x7c83 035164 arg mem_p_256 ,regb 
+0x7c84 035165 copy rega ,regc 
+0x7c85 035166 increase -32 ,rega 
+0x7c86 035167 call bn_bigeq_256 
+0x7c87 035168 nrtn positive 
+0x7c88 035169 copy regc ,rega 
+0x7c89 035170 branch sub_p2_256 
+:      035172 bn_lshiftmod_p_256:
+0x7c8a 035173 call sub_p2_256 
+0x7c8b 035175 copy rega ,regc 
+0x7c8c 035176 increase -32 ,rega 
+0x7c8d 035177 arg mem_p_256 ,regb 
+0x7c8e 035178 call bn_bigeq_256 
+0x7c8f 035179 nrtn positive 
+0x7c90 035180 copy regc ,rega 
+0x7c91 035181 branch sub_p2_256 
+:      035184 sub_p2_256:
+0x7c92 035185 increase -32 ,rega 
+0x7c93 035186 arg mem_p_256 ,regb 
+0x7c94 035187 copy rega ,contw 
+0x7c95 035188 branch bn_sub_256 
+:      035193 bn_submod_256:
+0x7c96 035194 call bn_sub_256 
+0x7c97 035196 branch bn_submod_256_np ,true 
+0x7c98 035199 add contw ,-32 ,rega 
+0x7c99 035200 arg mem_p_256 ,regb 
+0x7c9a 035201 call bn_bigeq_256 
+0x7c9b 035202 nrtn positive 
+0x7c9c 035203 arg mem_p_256 ,regb 
+0x7c9d 035204 add contw ,-32 ,rega 
+0x7c9e 035206 copy rega ,contw 
+0x7c9f 035207 branch bn_sub_256 
+:      035208 bn_submod_256_np:
+0x7ca0 035209 add contw ,-32 ,rega 
+0x7ca1 035210 arg mem_p_256 ,regb 
+0x7ca2 035211 copy rega ,contw 
+0x7ca3 035212 call bn_add_256 
+0x7ca4 035214 rtn true 
+0x7ca5 035215 add contw ,-32 ,rega 
+0x7ca6 035216 arg mem_p_256 ,regb 
+0x7ca7 035217 copy rega ,contw 
+0x7ca8 035218 branch bn_add_256 
+:      035222 bn_sub_256:
+0x7ca9 035223 force 8 ,loopcnt 
+0x7caa 035224 branch bn_sub + 1 
+:      035226 bn_rshift_256:
+0x7cab 035227 force 8 ,loopcnt 
+0x7cac 035228 increase 28 ,rega 
+0x7cad 035229 branch bn_rshift 
+:      035231 bn_lshift_256:
+0x7cae 035232 force 8 ,loopcnt 
+0x7caf 035233 force 0 ,regc 
+0x7cb0 035234 branch bn_lshift_0 
+:      035236 bn_bigeq_256:
+0x7cb1 035237 force 8 ,loopcnt 
+0x7cb2 035238 increase 28 ,rega 
+0x7cb3 035239 increase 28 ,regb 
+0x7cb4 035240 branch bn_bigeq_0 
+:      035243 bn_eq_zero_256:
+0x7cb5 035244 ifetch 8 ,contr 
+0x7cb6 035245 nrtn blank 
+0x7cb7 035246 branch bn_eq_zero 
+:      035251 bn_rshifteven_256:
+0x7cb8 035252 copy rega ,alarm 
+:      035253 bn_rshifteven_256_1:
+0x7cb9 035254 copy alarm ,rega 
+0x7cba 035255 ifetch 1 ,rega 
+0x7cbb 035256 isolate1 0 ,pdata 
+0x7cbc 035257 rtn true 
+0x7cbd 035258 call bn_rshift_256 
+0x7cbe 035259 ifetch 1 ,regb 
+0x7cbf 035260 isolate0 0 ,pdata 
+0x7cc0 035261 branch bn_rshifteven_256_0 ,true 
+0x7cc1 035262 arg mem_p_256 ,rega 
+0x7cc2 035263 copy regb ,contw 
+0x7cc3 035264 call bn_add_256 
+0x7cc4 035265 ifetch 1 ,regb 
+0x7cc5 035266 iadd regc ,pdata 
+0x7cc6 035267 istore 1 ,regb 
+0x7cc7 035268 increase -32 ,regb 
+:      035269 bn_rshifteven_256_0:
+0x7cc8 035270 add regb ,32 ,rega 
+0x7cc9 035271 force 9 ,loopcnt 
+0x7cca 035272 call bn_rshift 
+0x7ccb 035273 branch bn_rshifteven_256_1 
+:      035277 ui_init:
+0x7ccc 035278 call lpm_disable_exen_output 
+0x7ccd 035279 rtn wake 
+0x7cce 035280 call ui_button_init 
+0x7ccf 035281 call ui_timer_init 
+0x7cd0 035282 branch ui_led_init_global 
+:      035284 ui_dispatch:
+0x7cd1 035285 call ui_led_dispatch 
+0x7cd2 035287 branch ui_timer_check 
+:      035289 ui_button_init:
+0x7cd3 035290 fetch 1 ,mem_ui_button_gpio 
+0x7cd4 035291 rtneq ui_button_gpio_disable 
+0x7cd5 035292 iforce temp 
+0x7cd6 035293 call gpio_config_output 
+0x7cd7 035294 fetcht 1 ,mem_ui_button_gpio 
+0x7cd8 035295 call gpio_out_inactive 
+0x7cd9 035296 nop 100 
+0x7cda 035297 fetcht 1 ,mem_ui_button_gpio 
+0x7cdb 035298 call gpio_config_input 
+0x7cdc 035299 branch ui_button_polling 
+:      035303 ui_button_polling:
+0x7cdd 035304 bpatchx patch3e_3 ,mem_patch3e 
+0x7cde 035305 fetch 1 ,mem_ui_button_gpio 
+0x7cdf 035306 rtneq ui_button_gpio_disable 
+0x7ce0 035307 copy pdata ,temp 
+0x7ce1 035308 call gpio_get_bit 
+0x7ce2 035309 nbranch ui_button_up ,true 
+:      035311 ui_button_down:
+0x7ce3 035312 call ui_button_check_long_press 
+0x7ce4 035313 fetch 2 ,mem_ui_state_map 
+0x7ce5 035314 set1 ui_state_btn_down 
+0x7ce6 035315 store 2 ,mem_ui_state_map 
+0x7ce7 035316 fetch 1 ,mem_ui_button_last_state 
+0x7ce8 035317 rtneq ui_button_state_down 
+0x7ce9 035318 jam ui_button_state_down ,mem_ui_button_last_state 
+0x7cea 035320 fetch 1 ,mem_ui_button_timeout 
+0x7ceb 035321 store 1 ,mem_ui_button_timer 
+0x7cec 035322 call lpm_button_get_wake_lock 
+0x7ced 035323 jam bt_evt_button_down ,mem_fifo_temp 
+0x7cee 035324 branch ui_ipc_send_event 
+:      035325 ui_button_up:
+0x7cef 035326 fetch 2 ,mem_ui_state_map 
+0x7cf0 035327 set0 ui_state_btn_down 
+0x7cf1 035328 store 2 ,mem_ui_state_map 
+0x7cf2 035329 fetch 1 ,mem_ui_button_last_state 
+0x7cf3 035330 rtneq ui_button_state_up 
+0x7cf4 035331 jam ui_button_state_up ,mem_ui_button_last_state 
+0x7cf5 035333 jam 0 ,mem_ui_button_timer 
+0x7cf6 035334 call lpm_button_clean_wake_lock 
+0x7cf7 035335 jam bt_evt_button_up ,mem_fifo_temp 
+0x7cf8 035336 branch ui_ipc_send_event 
+:      035338 ui_button_check_long_press:
+0x7cf9 035339 fetch 1 ,mem_ui_button_timer 
+0x7cfa 035340 rtn blank 
+0x7cfb 035341 increase -1 ,pdata 
+0x7cfc 035342 store 1 ,mem_ui_button_timer 
+0x7cfd 035343 nrtn blank 
+0x7cfe 035345 jam bt_evt_button_long_pressed ,mem_fifo_temp 
+0x7cff 035346 branch ui_ipc_send_event 
+:      035348 lpm_button_get_wake_lock:
+0x7d00 035349 arg wake_lock_button ,queue 
+0x7d01 035350 branch lpm_get_wake_lock 
+:      035352 lpm_button_clean_wake_lock:
+0x7d02 035353 arg wake_lock_button ,queue 
+0x7d03 035354 branch lpm_put_wake_lock 
+:      035376 calc_curr_struct_prt:
+0x7d04 035377 fetch 2 ,mem_ui_led_struct_ptr 
+0x7d05 035378 mul32 rega ,led_offset_length ,regb 
+0x7d06 035379 iadd regb ,regb 
+0x7d07 035380 rtn 
+:      035383 ui_led_init_global:
+0x7d08 035384 fetch 1 ,mem_ui_led_struct_num 
+0x7d09 035385 rtn blank 
+0x7d0a 035386 copy pdata ,loopcnt 
+0x7d0b 035387 fetch 2 ,mem_ui_led_struct_ptr 
+0x7d0c 035388 copy pdata ,regb 
+:      035389 ui_led_init_loop:
+0x7d0d 035390 add regb ,led_offset_led_gpio ,regc 
+0x7d0e 035391 ifetcht 1 ,regc 
+0x7d0f 035392 call gpio_config_output 
+0x7d10 035393 call ui_led_off_static 
+0x7d11 035394 increase led_offset_length ,regb 
+0x7d12 035395 loop ui_led_init_loop 
+0x7d13 035396 rtn 
+:      035400 ui_led_on_global:
+0x7d14 035401 call calc_curr_struct_prt 
+0x7d15 035402 setarg ui_led_state_lighting 
+0x7d16 035403 istore 1 ,regb 
+0x7d17 035404 call ui_led_stop_timer 
+0x7d18 035405 branch ui_led_on_static 
+:      035409 ui_led_blink_stop_global:
+:      035410 ui_led_off_global:
+0x7d19 035411 call calc_curr_struct_prt 
+0x7d1a 035412 setarg ui_led_state_darking 
+0x7d1b 035413 istore 1 ,regb 
+0x7d1c 035414 call ui_led_stop_timer 
+0x7d1d 035415 branch ui_led_off_static 
+:      035419 ui_led_blink_start_global:
+0x7d1e 035420 call calc_curr_struct_prt 
+0x7d1f 035421 setarg ui_led_state_blink_start 
+0x7d20 035422 istore 1 ,regb 
+0x7d21 035423 setarg led_infinite_flash_num 
+0x7d22 035424 istore 1 ,contw 
+0x7d23 035425 branch ui_led_off_static 
+:      035430 ui_led_set_style_global:
+0x7d24 035431 call calc_curr_struct_prt 
+0x7d25 035432 arg led_offset_length ,loopcnt 
+0x7d26 035433 copy regc ,contr 
+0x7d27 035434 copy regb ,contw 
+0x7d28 035435 branch memcpy_fast 
+:      035439 ui_led_dispatch:
+0x7d29 035440 fetch 1 ,mem_ui_led_struct_num 
+0x7d2a 035441 rtn blank 
+0x7d2b 035442 arg 0 ,rega 
+:      035443 ui_led_blink_polling:
+0x7d2c 035444 call ui_led_change_style_by_type 
+0x7d2d 035445 increase 1 ,rega 
+0x7d2e 035446 fetch 1 ,mem_ui_led_struct_num 
+0x7d2f 035447 isub rega ,null 
+0x7d30 035448 rtn zero 
+0x7d31 035449 branch ui_led_blink_polling 
+:      035452 ui_led_off_static:
+0x7d32 035453 add regb ,led_offset_led_gpio ,regc 
+0x7d33 035454 ifetcht 1 ,regc 
+0x7d34 035455 branch gpio_out_inactive 
+:      035458 ui_led_on_static:
+0x7d35 035459 add regb ,led_offset_led_gpio ,regc 
+0x7d36 035460 ifetcht 1 ,regc 
+0x7d37 035461 branch gpio_out_active 
+:      035465 ui_led_change_style_by_type:
+0x7d38 035466 add rega ,ui_led_blink ,queue 
+0x7d39 035467 call timer_check 
+0x7d3a 035468 nrtn blank 
+0x7d3b 035470 call calc_curr_struct_prt 
+0x7d3c 035472 ifetch 1 ,regb 
+0x7d3d 035474 beq ui_led_state_lighting ,ui_led_on_static 
+0x7d3e 035475 beq ui_led_state_darking ,ui_led_off_static 
+0x7d3f 035476 beq ui_led_state_blink_stop ,ui_led_off_static 
+0x7d40 035477 beq ui_led_state_blink_darking ,ui_led_blink_state_darking 
+:      035478 ui_led_blink_state_lighting:
+0x7d41 035479 call ui_led_on_static 
+0x7d42 035480 add regb ,led_offset_cb_ledon ,regc 
+0x7d43 035481 call push_stack 
+0x7d44 035482 ifetch 2 ,regc 
+0x7d45 035483 call callback_func 
+0x7d46 035484 call pop_stack 
+0x7d47 035485 setarg ui_led_state_blink_darking 
+0x7d48 035486 istore 1 ,regb 
+0x7d49 035487 add regb ,led_offset_on_time ,regc 
+0x7d4a 035488 ifetch 2 ,regc 
+0x7d4b 035489 branch ui_led_blink_timer_start 
+:      035492 ui_led_blink_state_darking:
+0x7d4c 035493 call ui_led_off_static 
+0x7d4d 035494 add regb ,led_offset_cb_ledoff ,regc 
+0x7d4e 035495 call push_stack 
+0x7d4f 035496 ifetch 2 ,regc 
+0x7d50 035497 call callback_func 
+0x7d51 035498 call pop_stack 
+0x7d52 035500 add regb ,led_offset_blink_count ,regc 
+0x7d53 035501 ifetch 1 ,regc 
+0x7d54 035502 beq led_infinite_flash_num ,ui_led_blink_infinite 
+0x7d55 035503 increase -1 ,pdata 
+0x7d56 035504 istore 1 ,regc 
+0x7d57 035505 branch ui_led_blink_stop_global ,blank 
+:      035506 ui_led_blink_infinite:
+0x7d58 035507 setarg ui_led_state_blink_lighting 
+0x7d59 035508 istore 1 ,regb 
+0x7d5a 035509 add regb ,led_offset_off_time ,regc 
+0x7d5b 035510 ifetch 2 ,regc 
+:      035511 ui_led_blink_timer_start:
+0x7d5c 035512 add rega ,ui_led_blink ,queue 
+0x7d5d 035513 branch timer_init 
+:      035515 ui_led_stop_timer:
+0x7d5e 035516 setarg 0 
+0x7d5f 035517 branch ui_led_blink_timer_start 
+:      035523 ui_timer_timeout:
+0x7d60 035524 setarg 0x1000 
+0x7d61 035525 lshift16 pdata ,pdata 
+0x7d62 035526 iadd regb ,regb 
+0x7d63 035527 rtn 
+:      035529 ui_timer_check:
+0x7d64 035530 bpatchx patch3e_4 ,mem_patch3e 
+0x7d65 035531 arg 0 ,rega 
+0x7d66 035532 fetcht 4 ,mem_ui_timer_last_btclk 
+0x7d67 035533 copy clkn_bt ,regb 
+0x7d68 035534 copy regb ,pdata 
+0x7d69 035535 isub temp ,null 
+0x7d6a 035536 ncall ui_timer_timeout ,positive 
+:      035538 ui_timer_check_loop:
+0x7d6b 035539 copy regb ,pdata 
+0x7d6c 035540 increase 160 ,temp 
+0x7d6d 035541 increase 160 ,temp 
+0x7d6e 035542 isub temp ,null 
+0x7d6f 035543 nbranch ui_timer_check_end ,positive 
+0x7d70 035544 increase 1 ,rega 
+0x7d71 035545 and rega ,0x0f ,pdata 
+0x7d72 035546 nbranch ui_timer_check_loop ,blank 
+0x7d73 035547 arg 0 ,rega 
+0x7d74 035548 call ui_timer_check_send_evt 
+:      035549 ui_timer_init:
+0x7d75 035550 copy clkn_bt ,pdata 
+0x7d76 035551 store 4 ,mem_ui_timer_last_btclk 
+0x7d77 035552 rtn 
+:      035553 ui_timer_check_end:
+0x7d78 035554 bpatchx patch3e_5 ,mem_patch3e 
+0x7d79 035555 copy rega ,pdata 
+0x7d7a 035556 rtn blank 
+0x7d7b 035557 increase -160 ,temp 
+0x7d7c 035558 increase -160 ,temp 
+0x7d7d 035559 set0 28 ,temp 
+0x7d7e 035560 storet 4 ,mem_ui_timer_last_btclk 
+:      035561 ui_timer_check_send_evt:
+0x7d7f 035562 branch app_evt_timer 
+:      035569 ui_ipc_get_lock:
+0x7d80 035570 jam 1 ,mem_ipc_lock_bt 
+:      035571 ui_ipc_get_lock_wait:
+0x7d81 035572 fetch 1 ,mem_ipc_lock_c51 
+0x7d82 035573 nbranch ui_ipc_get_lock_wait ,blank 
+0x7d83 035574 rtn 
+:      035576 ui_ipc_put_lock:
+0x7d84 035577 jam 0 ,mem_ipc_lock_bt 
+0x7d85 035578 rtn 
+:      035582 ui_ipc_send_event:
+0x7d86 035583 bpatchx patch3e_6 ,mem_patch3e 
+0x7d87 035584 call ui_ipc_get_lock 
+0x7d88 035585 copy rega ,pdata 
+0x7d89 035586 store 4 ,mem_ipc_rega_temp 
+0x7d8a 035587 arg mem_ipc_fifo_bt2c51 ,rega 
+0x7d8b 035588 call fifo_in 
+0x7d8c 035589 fetch 4 ,mem_ipc_rega_temp 
+0x7d8d 035590 copy pdata ,rega 
+0x7d8e 035591 branch ui_ipc_put_lock 
+:      035593 ui_ipc_send_cmd:
+0x7d8f 035594 bpatchx patch3e_7 ,mem_patch3e 
+0x7d90 035595 call ui_ipc_get_lock 
+0x7d91 035596 copy rega ,pdata 
+0x7d92 035597 store 4 ,mem_ipc_rega_temp 
+0x7d93 035598 arg mem_ipc_fifo_c512bt ,rega 
+0x7d94 035599 call fifo_in 
+0x7d95 035600 fetch 4 ,mem_ipc_rega_temp 
+0x7d96 035601 copy pdata ,rega 
+0x7d97 035602 branch ui_ipc_put_lock 
+:      035604 ui_ipc_clean_all_fifo:
+0x7d98 035605 setarg 0 
+0x7d99 035606 store util_fifo_len ,mem_ipc_fifo_c512bt 
+0x7d9a 035607 store util_fifo_len ,mem_ipc_fifo_bt2c51 
+0x7d9b 035608 rtn 
+:      035610 check_51cmd:
+0x7d9c 035611 bpatchx patch3f_0 ,mem_patch3f 
+0x7d9d 035612 fetch 1 ,mem_hci_cmd 
+0x7d9e 035613 nrtn blank 
+0x7d9f 035614 arg mem_ipc_fifo_c512bt ,rega 
+0x7da0 035615 call fifo_is_empty 
+0x7da1 035616 rtn blank 
+0x7da2 035617 jam ipc_continue_process ,mem_ipc_skip_continue_proc 
+0x7da3 035618 call check_51cmd_once 
+0x7da4 035619 fetch 1 ,mem_ipc_skip_continue_proc 
+0x7da5 035620 branch check_51cmd ,blank 
+0x7da6 035621 rtn 
+:      035623 check_51cmd_once:
+0x7da7 035624 call ui_ipc_get_lock 
+0x7da8 035625 arg mem_ipc_fifo_c512bt ,rega 
+0x7da9 035626 call fifo_out 
+0x7daa 035627 copy pdata ,temp 
+0x7dab 035628 call ui_ipc_put_lock 
+0x7dac 035629 bpatchx patch3f_1 ,mem_patch3f 
+0x7dad 035630 copy temp ,pdata 
+0x7dae 035631 rtn blank 
+0x7daf 035632 beq bt_cmd_start_discovery ,check_51cmd_start_discovery 
+0x7db0 035633 beq bt_cmd_stop_discovery ,check_51cmd_stop_discovery 
+0x7db1 035634 beq bt_cmd_reconnect ,check_51cmd_reconnect 
+0x7db2 035635 beq bt_cmd_enter_sniff_subrating ,check_51cmd_enter_sniff_subrating 
+0x7db3 035636 beq bt_cmd_exit_sniff_subrating ,check_51cmd_exit_sniff_subrating 
+0x7db4 035637 beq bt_cmd_sniff_test ,check_51cmd_sniff_test 
+0x7db5 035638 beq bt_cmd_start_inquiry ,check_51cmd_inq 
+0x7db6 035639 beq bt_cmd_stop_inquiry ,check_51cmd_stop_inq 
+0x7db7 035640 beq bt_cmd_start_adv ,check_51cmd_adv 
+0x7db8 035641 beq bt_cmd_stop_adv ,check_51cmd_stop_adv 
+0x7db9 035642 beq bt_cmd_start_direct_adv ,check_51cmd_direct_adv 
+0x7dba 035643 beq bt_cmd_stop_direct_adv ,check_51cmd_stop_direct_adv 
+0x7dbb 035644 beq bt_cmd_led_off ,check_51cmd_led_off 
+0x7dbc 035645 beq bt_cmd_led_on ,check_51cmd_led_on 
+0x7dbd 035646 beq bt_cmd_led_blink ,check_51cmd_led_start_blink 
+0x7dbe 035647 beq bt_cmd_le_start_conn ,check_51cmd_le_start_con 
+0x7dbf 035648 beq bt_cmd_le_start_scan ,check_51cmd_start_scan 
+0x7dc0 035649 beq bt_cmd_le_stop_scan ,check_51cmd_stop_scan 
+0x7dc1 035650 beq bt_cmd_enter_hibernate ,check_51cmd_hibernate 
+0x7dc2 035651 beq bt_cmd_le_smp_security_request ,check_51cmd_le_smp_sec_req 
+0x7dc3 035652 beq bt_cmd_bb_reconn_cancel ,check_51cmd_bb_reconn_cancel 
+0x7dc4 035654 store 1 ,mem_fifo_temp 
+0x7dc5 035655 bpatchx patch3f_2 ,mem_patch3f 
+0x7dc6 035656 call lmo_fifo_check 
+0x7dc7 035657 nbranch check_51cmd_restore ,blank 
+:      035658 check_51cmd_once_continue:
+0x7dc8 035659 fetch 1 ,mem_fifo_temp 
+0x7dc9 035660 bmark0 mark_context ,check_51cmd_check_idle 
+0x7dca 035661 beq bt_cmd_disconnect ,check_51cmd_disconnect 
+0x7dcb 035662 beq bt_cmd_enter_sniff ,cmd_in_sniff 
+0x7dcc 035663 beq bt_cmd_exit_sniff ,cmd_exit_sniff 
+0x7dcd 035664 beq bt_cmd_set_pin_code ,check_51cmd_pincode 
+0x7dce 035665 beq bt_cmd_le_disconnect ,check_51cmd_le_disconnect 
+0x7dcf 035666 beq bt_cmd_le_update_conn ,check_51cmd_ble_update_connect_param 
+0x7dd0 035667 beq bt_cmd_role_switch ,check_51cmd_role_switch 
+0x7dd1 035668 beq bt_cmd_store_reconn_info_le ,eeprom_store_le_reconn_info 
+0x7dd2 035669 beq bt_cmd_store_reconn_info_bt ,eeprom_store_bd_reconn_info 
+0x7dd3 035670 beq bt_cmd_dhkey_not_accept ,check_51cmd_dhkey_not_accept 
+0x7dd4 035671 beq bt_cmd_store_reconn_info ,check_51cmd_store_reconn_info 
+0x7dd5 035672 rtn 
+:      035674 check_51cmd_check_idle:
+0x7dd6 035675 store 1 ,mem_fifo_temp 
+0x7dd7 035676 call context_check_idle 
+0x7dd8 035677 branch check_51cmd_restore ,zero 
+0x7dd9 035678 call context_search_plap 
+0x7dda 035679 nrtn zero 
+:      035680 check_51cmd_restore:
+0x7ddb 035681 jam ipc_skip_continue_process ,mem_ipc_skip_continue_proc 
+0x7ddc 035682 branch ui_ipc_send_cmd 
+:      035687 check_51cmd_start_discovery:
+0x7ddd 035688 fetch 2 ,mem_ui_state_map 
+0x7dde 035689 set1 ui_state_bt_discovery 
+0x7ddf 035690 store 2 ,mem_ui_state_map 
+0x7de0 035691 jam 3 ,mem_scan_mode 
+0x7de1 035692 rtn 
+:      035696 check_51cmd_stop_discovery:
+0x7de2 035697 jam 0 ,mem_hid_handshake_timer_count 
+0x7de3 035698 jam 0 ,mem_scan_mode 
+0x7de4 035699 fetch 2 ,mem_ui_state_map 
+0x7de5 035700 set0 ui_state_bt_discovery 
+0x7de6 035701 store 2 ,mem_ui_state_map 
+0x7de7 035702 rtn 
+:      035706 check_51cmd_reconnect:
+0x7de8 035707 jam hci_cmd_create_conn ,mem_hci_cmd 
+0x7de9 035708 rtn 
+:      035712 check_51cmd_disconnect:
+0x7dea 035713 jam lmp_detach ,mem_lmo_opcode2 
+0x7deb 035714 jam other_end_terminated ,mem_disconn_reason_send 
+0x7dec 035715 rtn 
+:      035719 check_51cmd_enter_sniff_subrating:
+0x7ded 035720 rtn 
+:      035724 check_51cmd_exit_sniff_subrating:
+0x7dee 035725 rtn 
+:      035729 check_51cmd_sniff_test:
+0x7def 035730 rtn 
+:      035734 check_51cmd_pincode:
+0x7df0 035735 jam pincode_state_pincode_ready ,mem_pincode_state 
+0x7df1 035736 branch cmd_pair 
+:      035740 check_51cmd_inq:
+0x7df2 035741 rtn 
+:      035745 check_51cmd_stop_inq:
+0x7df3 035746 rtn 
+:      035750 check_51cmd_adv:
+0x7df4 035751 jam on ,mem_le_adv_enable 
+0x7df5 035752 jam adv_ind ,mem_le_adv_type 
+0x7df6 035753 fetch 2 ,mem_ui_state_map 
+0x7df7 035754 set1 ui_state_ble_adv ,pdata 
+0x7df8 035755 store 2 ,mem_ui_state_map 
+0x7df9 035756 rtn 
+:      035760 check_51cmd_stop_adv:
+0x7dfa 035761 fetch 2 ,mem_ui_state_map 
+0x7dfb 035762 set0 ui_state_ble_adv ,pdata 
+0x7dfc 035763 store 2 ,mem_ui_state_map 
+0x7dfd 035764 jam off ,mem_le_adv_enable 
+0x7dfe 035765 rtn 
+:      035769 check_51cmd_direct_adv:
+0x7dff 035770 jam on ,mem_le_adv_enable 
+0x7e00 035771 jam adv_direct_ind ,mem_le_adv_type 
+0x7e01 035772 fetch 2 ,mem_ui_state_map 
+0x7e02 035773 set1 ui_state_ble_adv ,pdata 
+0x7e03 035774 store 2 ,mem_ui_state_map 
+0x7e04 035775 rtn 
+:      035779 check_51cmd_stop_direct_adv:
+0x7e05 035780 fetch 2 ,mem_ui_state_map 
+0x7e06 035781 set0 ui_state_ble_adv ,pdata 
+0x7e07 035782 store 2 ,mem_ui_state_map 
+0x7e08 035783 jam off ,mem_le_adv_enable 
+0x7e09 035784 rtn 
+:      035788 check_51cmd_le_disconnect:
+0x7e0a 035789 setarg 20 
+0x7e0b 035790 store 2 ,mem_le_superto 
+0x7e0c 035791 store 2 ,mem_le_init_superto 
+0x7e0d 035792 branch le_send_terminate_ind_user_terminated 
+:      035796 check_51cmd_ble_update_connect_param:
+0x7e0e 035797 branch le_l2cap_tx_update_req 
+:      035801 check_51cmd_led_off:
+0x7e0f 035802 arg 0 ,rega 
+0x7e10 035803 branch ui_led_off_global 
+:      035807 check_51cmd_led_on:
+0x7e11 035808 arg 0 ,rega 
+0x7e12 035809 branch ui_led_on_global 
+:      035813 check_51cmd_led_start_blink:
+0x7e13 035814 arg 0 ,rega 
+0x7e14 035815 branch ui_led_blink_start_global 
+:      035819 check_51cmd_le_start_con:
+0x7e15 035820 jam on ,mem_le_scan_enable 
+0x7e16 035821 jam hci_cmd_le_create_conn ,mem_hci_cmd 
+0x7e17 035824 rtn 
+:      035828 check_51cmd_start_scan:
+0x7e18 035829 jam on ,mem_le_scan_enable 
+0x7e19 035830 rtn 
+:      035834 check_51cmd_stop_scan:
+0x7e1a 035835 jam off ,mem_le_scan_enable 
+0x7e1b 035836 jam 0 ,mem_hci_cmd 
+0x7e1c 035837 rtn 
+:      035841 check_51cmd_hibernate:
+0x7e1d 035842 fetch 2 ,mem_cb_before_hibernate 
+0x7e1e 035843 call callback_func 
+0x7e1f 035844 fetch 1 ,mem_ui_button_gpio 
+0x7e20 035845 beq ui_button_gpio_disable ,check_51cmd_hibernate_btn_disabled 
+0x7e21 035846 copy pdata ,temp 
+0x7e22 035847 call gpio_config_input 
+:      035848 check_51cmd_hibernate_btn_disabled:
+0x7e23 035849 call ui_ipc_clean_all_fifo 
+0x7e24 035850 branch lpm_hibernate 
+:      035854 check_51cmd_le_smp_sec_req:
+0x7e25 035855 branch le_send_smp_security_request 
+:      035859 check_51cmd_role_switch:
+0x7e26 035860 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x7e27 035861 set1 mark_switch_initiated ,mark 
+0x7e28 035862 nrtn master 
+0x7e29 035863 jam switch_flag_init ,mem_switch_flag 
+0x7e2a 035864 jam lmp_switch_req ,mem_lmo_opcode2 
+0x7e2b 035865 fetch 1 ,mem_connection_options 
+0x7e2c 035866 set0 connection_switch ,pdata 
+0x7e2d 035867 store 1 ,mem_connection_options 
+0x7e2e 035868 rtn 
+:      035872 check_51cmd_bb_reconn_cancel:
+0x7e2f 035873 force page_length_timer ,queue 
+0x7e30 035874 branch timer_stop 
+:      035878 check_51cmd_dhkey_not_accept:
+0x7e31 035879 call tid_set_reply 
+0x7e32 035880 jam lmp_dhkey_check ,mem_lmi_opcode2 
+0x7e33 035881 branch parse_lmp_dhkey_check_reject 
+:      035884 ui_check_paring_button:
+0x7e34 035885 fetch 1 ,mem_ui_state_map 
+0x7e35 035886 rtnbit0 ui_state_btn_down 
+0x7e36 035887 rtnbit0 ui_state_bt_reconnect 
+0x7e37 035888 branch check_51cmd_bb_reconn_cancel 
+:      035893 queue_init:
+0x7e38 035894 fetch 2 ,mem_queue_ptr 
+0x7e39 035895 add pdata ,queue_offset_curr_num ,contw 
+0x7e3a 035896 setarg 0 
+0x7e3b 035897 istore 3 ,contw 
+0x7e3c 035898 rtn 
+:      035902 queue_push:
+0x7e3d 035903 call disable_user 
+0x7e3e 035904 call queue_full 
+0x7e3f 035905 rtn blank 
+0x7e40 035906 fetch 2 ,mem_queue_ptr 
+0x7e41 035907 add pdata ,queue_offset_curr_num ,regb 
+0x7e42 035908 ifetcht 1 ,regb 
+0x7e43 035909 increase 1 ,temp 
+0x7e44 035910 istoret 1 ,regb 
+0x7e45 035912 ifetcht 1 ,pdata 
+0x7e46 035913 copy temp ,loopcnt 
+0x7e47 035914 add pdata ,queue_offset_write_ptr ,regb 
+0x7e48 035915 ifetch 1 ,regb 
+0x7e49 035916 imul32 temp ,pdata 
+0x7e4a 035917 iadd contr ,contw 
+0x7e4b 035918 copy rega ,contr 
+:      035919 calc_queue_next_ptr:
+0x7e4c 035920 call memcpy 
+0x7e4d 035921 call queue_get_size 
+0x7e4e 035922 pincrease -1 
+0x7e4f 035923 ifetcht 1 ,regb 
+0x7e50 035924 increase 1 ,temp 
+0x7e51 035925 iand temp ,temp 
+0x7e52 035926 istoret 1 ,regb 
+0x7e53 035927 branch enable_user 
+:      035932 queue_pop:
+0x7e54 035933 call disable_user 
+0x7e55 035934 call queue_empty 
+0x7e56 035935 rtn blank 
+0x7e57 035936 fetch 2 ,mem_queue_ptr 
+0x7e58 035937 add pdata ,queue_offset_curr_num ,regb 
+0x7e59 035938 ifetcht 1 ,regb 
+0x7e5a 035939 increase -1 ,temp 
+0x7e5b 035940 istoret 1 ,regb 
+0x7e5c 035941 ifetcht 1 ,pdata 
+0x7e5d 035942 copy temp ,loopcnt 
+0x7e5e 035943 add pdata ,queue_offset_read_ptr ,regb 
+0x7e5f 035944 ifetch 1 ,regb 
+0x7e60 035945 imul32 temp ,pdata 
+0x7e61 035946 iadd contr ,contr 
+0x7e62 035947 increase 1 ,contr 
+0x7e63 035948 copy rega ,contw 
+0x7e64 035949 branch calc_queue_next_ptr 
+:      035953 queue_empty:
+0x7e65 035954 fetch 2 ,mem_queue_ptr 
+0x7e66 035955 add pdata ,queue_offset_curr_num ,contr 
+0x7e67 035956 ifetch 1 ,contr 
+0x7e68 035957 rtn 
+:      035960 queue_full:
+0x7e69 035961 call queue_get_size 
+0x7e6a 035962 ifetcht 1 ,contr 
+0x7e6b 035963 isub temp ,pdata 
+0x7e6c 035964 rtn 
+:      035967 queue_get_size:
+0x7e6d 035968 fetch 2 ,mem_queue_ptr 
+0x7e6e 035969 add pdata ,queue_offset_length ,contr 
+0x7e6f 035970 ifetch 1 ,contr 
+0x7e70 035971 rtn 
+:      035979 right_shift_n:
+0x7e71 035980 sub loopcnt ,0 ,null 
+0x7e72 035981 rtn zero 
+:      035982 right_shift_n_loop:
+0x7e73 035983 rshift pdata ,pdata 
+0x7e74 035984 loop right_shift_n_loop 
+0x7e75 035985 rtn 
+:      035988 left_shift_n:
+0x7e76 035989 force 1 ,pdata 
+0x7e77 035990 sub loopcnt ,0 ,null 
+0x7e78 035991 rtn zero 
+:      035992 left_shift_n_loop:
+0x7e79 035993 lshift pdata ,pdata 
+0x7e7a 035994 loop left_shift_n_loop 
+0x7e7b 035995 rtn 
+:      035996 push_stack:
+0x7e7c 035997 deposit contw 
+0x7e7d 035998 store 2 ,mem_contw 
+0x7e7e 035999 storet 8 ,mem_temp 
+0x7e7f 036000 deposit timeup 
+0x7e80 036001 store 4 ,mem_timeup 
+0x7e81 036002 call push_stack_rega_b_c 
+0x7e82 036003 deposit contr 
+0x7e83 036004 store 2 ,mem_contr 
+0x7e84 036005 rtn 
+:      036007 push_stack_rega_b_c:
+0x7e85 036008 deposit rega 
+0x7e86 036009 store 4 ,mem_rega 
+0x7e87 036010 deposit regb 
+0x7e88 036011 store 4 ,mem_regb 
+0x7e89 036012 deposit regc 
+0x7e8a 036013 store 3 ,mem_regc 
+0x7e8b 036014 rtn 
+:      036016 pop_stack:
+0x7e8c 036017 fetcht 8 ,mem_temp 
+0x7e8d 036018 fetch 4 ,mem_timeup 
+0x7e8e 036019 iforce timeup 
+0x7e8f 036020 call pop_stack_rega_b_c 
+0x7e90 036021 fetch 2 ,mem_contw 
+0x7e91 036022 iforce contw 
+0x7e92 036023 fetch 2 ,mem_contr 
+0x7e93 036024 iforce contr 
+0x7e94 036025 rtn 
+:      036027 pop_stack_rega_b_c:
+0x7e95 036028 fetch 4 ,mem_rega 
+0x7e96 036029 iforce rega 
+0x7e97 036030 fetch 4 ,mem_regb 
+0x7e98 036031 iforce regb 
+0x7e99 036032 fetch 3 ,mem_regc 
+0x7e9a 036033 iforce regc 
+0x7e9b 036034 rtn 
+:      036036 get_contw:
+0x7e9c 036037 fetch 2 ,mem_contw 
+0x7e9d 036038 copy pdata ,contw 
+0x7e9e 036039 rtn 
+:      036040 get_contr:
+0x7e9f 036041 fetch 2 ,mem_contr 
+0x7ea0 036042 copy pdata ,contr 
+0x7ea1 036043 rtn 
+:      036044 store_contw:
+0x7ea2 036045 copy contw ,pdata 
+0x7ea3 036046 store 2 ,mem_contw 
+0x7ea4 036047 rtn 
+:      036048 store_contr:
+0x7ea5 036049 copy contr ,pdata 
+0x7ea6 036050 store 2 ,mem_contr 
+0x7ea7 036051 rtn 
+:      036055 save_cont_pointers:
+0x7ea8 036056 copy contw ,pdata 
+0x7ea9 036057 store 2 ,mem_hold_contw 
+0x7eaa 036058 copy contr ,pdata 
+0x7eab 036059 store 2 ,mem_hold_contr 
+0x7eac 036060 rtn 
+:      036061 load_cont_pointers:
+0x7ead 036062 fetch 2 ,mem_hold_contw 
+0x7eae 036063 copy pdata ,contw 
+0x7eaf 036064 fetch 2 ,mem_hold_contr 
+0x7eb0 036065 copy pdata ,contr 
+0x7eb1 036066 rtn 
+:      036068 memcpy96:
+0x7eb2 036069 call memcpy32 
+:      036070 memcpy64:
+0x7eb3 036071 call memcpy32 
+0x7eb4 036072 branch memcpy32 
+:      036073 memcpy12:
+0x7eb5 036074 call memcpy8 
+:      036075 memcpy4:
+0x7eb6 036076 ifetch 4 ,contr 
+0x7eb7 036077 istore 4 ,contw 
+0x7eb8 036078 rtn 
+:      036079 memcpy8:
+0x7eb9 036080 ifetch 8 ,contr 
+0x7eba 036081 istore 8 ,contw 
+0x7ebb 036082 rtn 
+:      036084 memcpy48:
+0x7ebc 036085 call memcpy16 
+:      036086 memcpy32:
+0x7ebd 036087 call memcpy8 
+:      036088 memcpy24:
+0x7ebe 036089 call memcpy8 
+:      036090 memcpy16:
+0x7ebf 036091 call memcpy8 
+0x7ec0 036092 branch memcpy8 
+:      036096 delay_10ms:
+0x7ec1 036097 arg 10 ,loopcnt 
+:      036098 delay_ms_wait:
+0x7ec2 036099 nop 12000 
+0x7ec3 036100 loop delay_ms_wait 
+0x7ec4 036101 rtn 
+:      036103 bn_zero:
+0x7ec5 036104 force 3 ,loopcnt 
+:      036105 memset0:
+0x7ec6 036106 force 0 ,pdata 
+:      036107 memset8:
+0x7ec7 036108 istore 8 ,contw 
+0x7ec8 036109 loop memset8 
+0x7ec9 036110 rtn 
+:      036112 memset0_8:
+0x7eca 036113 force 0 ,pdata 
+0x7ecb 036114 istore 8 ,contw 
+0x7ecc 036115 rtn 
+:      036116 memset0_4:
+0x7ecd 036117 force 0 ,pdata 
+0x7ece 036118 istore 4 ,contw 
+0x7ecf 036119 rtn 
+:      036121 clear_mem_256:
+0x7ed0 036122 force 4 ,loopcnt 
+0x7ed1 036123 branch memset0 
+:      036124 clear_mem_512:
+0x7ed2 036125 force 8 ,loopcnt 
+0x7ed3 036126 branch memset0 
+:      036128 clear_mem:
+0x7ed4 036129 deposit loopcnt 
+0x7ed5 036130 rtn blank 
+0x7ed6 036131 setarg 0 
+:      036132 clear_mem_loop:
+0x7ed7 036133 istore 1 ,contw 
+0x7ed8 036134 loop clear_mem_loop 
+0x7ed9 036135 rtn 
+:      036138 clear_temp_block:
+0x7eda 036139 arg 32 ,loopcnt 
+0x7edb 036140 arg mem_temp_block0 ,contw 
+0x7edc 036141 branch clear_mem 
+:      036143 xor_loop:
+0x7edd 036144 ifetch 4 ,regc 
+0x7ede 036145 ifetcht 4 ,rega 
+0x7edf 036146 ixor temp ,pdata 
+0x7ee0 036147 istore 4 ,contw 
+0x7ee1 036148 increase 4 ,rega 
+0x7ee2 036149 increase 4 ,regc 
+0x7ee3 036150 loop xor_loop 
+0x7ee4 036151 rtn 
+:      036155 inverse_data:
+0x7ee5 036156 bpatchx patch3f_3 ,mem_patch3f 
+0x7ee6 036157 copy loopcnt ,pdata 
+0x7ee7 036158 sub pdata ,1 ,null 
+0x7ee8 036159 rtn positive 
+0x7ee9 036160 iadd rega ,regb 
+0x7eea 036161 increase -1 ,regb 
+0x7eeb 036162 rshift loopcnt ,loopcnt 
+:      036163 inverse_loop:
+0x7eec 036164 ifetcht 1 ,rega 
+0x7eed 036165 ifetch 1 ,regb 
+0x7eee 036166 istore 1 ,rega 
+0x7eef 036167 istoret 1 ,regb 
+0x7ef0 036168 increase -1 ,regb 
+0x7ef1 036169 increase 1 ,rega 
+0x7ef2 036170 loop inverse_loop 
+0x7ef3 036171 rtn 
+:      036174 memcpy_fast:
+0x7ef4 036175 deposit loopcnt 
+0x7ef5 036176 rtn blank 
+:      036177 memcpy_fast_loop:
+0x7ef6 036178 increase -8 ,loopcnt 
+0x7ef7 036179 call memcpy8 ,positive 
+0x7ef8 036180 rtn zero 
+0x7ef9 036181 branch memcpy_fast_loop ,positive 
+0x7efa 036182 increase 8 ,loopcnt 
+:      036183 memcpy_fast_loop_four:
+0x7efb 036184 increase -4 ,loopcnt 
+0x7efc 036185 call memcpy4 ,positive 
+0x7efd 036186 rtn zero 
+0x7efe 036187 branch memcpy_fast_loop_four ,positive 
+0x7eff 036188 increase 4 ,loopcnt 
+0x7f00 036189 branch memcpy 
+:      036191 memcpy:
+0x7f01 036192 deposit loopcnt 
+0x7f02 036193 rtn blank 
+:      036194 memcpy_loop:
+0x7f03 036195 ifetch 1 ,contr 
+0x7f04 036196 istore 1 ,contw 
+0x7f05 036197 loop memcpy_loop 
+0x7f06 036198 rtn 
+:      036200 timer_stop:
+0x7f07 036201 setarg 0 
+:      036202 timer_init:
+0x7f08 036203 rshift clkn_bt ,temp 
+0x7f09 036204 storet 4 ,mem_last_clkn 
+0x7f0a 036205 arg mem_timers ,contw 
+0x7f0b 036206 iforce temp 
+0x7f0c 036207 lshift queue ,pdata 
+0x7f0d 036208 iadd contw ,contw 
+0x7f0e 036209 istoret 2 ,contw 
+0x7f0f 036210 bpatchx patch3f_4 ,mem_patch3f 
+0x7f10 036211 rtn 
+:      036213 timer_check_timeout:
+0x7f11 036214 arg 0x800 ,timeup 
+0x7f12 036215 lshift16 timeup ,timeup 
+0x7f13 036216 iadd timeup ,pdata 
+0x7f14 036217 rtn 
+:      036220 timer_reinit:
+0x7f15 036221 arg 0 ,queue 
+:      036222 timer_check:
+0x7f16 036223 bpatchx patch3f_5 ,mem_patch3f 
+0x7f17 036224 fetcht 4 ,mem_last_clkn 
+0x7f18 036225 rshift clkn_bt ,pdata 
+0x7f19 036226 store 4 ,mem_last_clkn 
+0x7f1a 036227 isub temp ,null 
+0x7f1b 036228 ncall timer_check_timeout ,positive 
+0x7f1c 036229 isub temp ,timeup 
+0x7f1d 036230 copy timeup ,temp 
+0x7f1e 036231 arg mem_timers ,contr 
+0x7f1f 036232 copy contr ,contw 
+0x7f20 036233 arg 16 ,loopcnt 
+:      036234 timer_loop:
+0x7f21 036235 ifetch 2 ,contr 
+0x7f22 036236 isub temp ,pdata 
+0x7f23 036237 branch timer_counting ,positive 
+0x7f24 036238 force 0 ,pdata 
+:      036239 timer_counting:
+0x7f25 036240 istore 2 ,contw 
+0x7f26 036241 loop timer_loop 
+0x7f27 036242 arg mem_timers ,contr 
+0x7f28 036243 lshift queue ,pdata 
+0x7f29 036244 iadd contr ,contr 
+0x7f2a 036245 ifetch 2 ,contr 
+0x7f2b 036246 rtn 
+:      036251 clk_add:
+0x7f2c 036252 iadd temp ,temp 
+0x7f2d 036253 copy temp ,loopcnt 
+0x7f2e 036254 setarg 3750 
+0x7f2f 036255 isub loopcnt ,pdata 
+0x7f30 036256 rtn positive 
+0x7f31 036257 sub pdata ,0 ,pdata 
+0x7f32 036258 rshift16 temp ,temp 
+0x7f33 036259 increase 1 ,temp 
+0x7f34 036260 lshift16 temp ,temp 
+0x7f35 036261 ior temp ,temp 
+0x7f36 036262 rtn 
+:      036264 clk_diff_rt:
+0x7f37 036265 call clk_diff 
+0x7f38 036266 branch clk2rt 
+:      036269 clk_diff:
+0x7f39 036270 disable user 
+0x7f3a 036271 isub temp ,pdata 
+0x7f3b 036272 branch clk_diff_pos ,positive 
+0x7f3c 036273 enable user 
+0x7f3d 036274 sub pdata ,0 ,pdata 
+:      036275 clk_diff_pos:
+0x7f3e 036276 rtnbit0 15 
+0x7f3f 036277 arg -61786 ,temp 
+0x7f40 036278 iadd temp ,pdata 
+0x7f41 036279 set0 64 ,pdata 
+0x7f42 036280 rtn 
+:      036282 clk2rt:
+0x7f43 036283 iforce contr 
+0x7f44 036284 rshift16 pdata ,pdata 
+0x7f45 036285 arg 3750 ,temp 
+0x7f46 036286 imul32 temp ,pdata 
+0x7f47 036287 iadd contr ,pdata 
+0x7f48 036288 rtn 
+:      036291 clk2lpo:
+0x7f49 036292 lshift8 pdata ,pdata 
+0x7f4a 036293 lshift4 pdata ,pdata 
+0x7f4b 036294 fetcht 3 ,mem_clks_per_lpo 
+0x7f4c 036295 idiv temp 
+0x7f4d 036296 call wait_div_end 
+0x7f4e 036297 quotient temp 
+0x7f4f 036298 rtn 
+:      036301 clk2bt:
+0x7f50 036302 arg 3750 ,temp 
+0x7f51 036303 idiv temp 
+0x7f52 036304 call wait_div_end 
+0x7f53 036305 quotient pdata 
+0x7f54 036306 lshift16 pdata ,pdata 
+0x7f55 036307 remainder temp 
+0x7f56 036308 ior temp ,temp 
+0x7f57 036309 rtn 
+:      036316 string2dec_from_uart:
+0x7f58 036317 arg 0 ,temp 
+:      036318 string2dec_from_uart_done:
+0x7f59 036319 copy temp ,regc 
+0x7f5a 036320 ifetch 1 ,contru 
+0x7f5b 036321 call uchar2dialog 
+0x7f5c 036322 copy regc ,temp 
+0x7f5d 036323 call swap 
+0x7f5e 036324 arg 10 ,regb 
+0x7f5f 036325 imul32 regb ,pdata 
+0x7f60 036326 iadd temp ,pdata 
+0x7f61 036327 copy pdata ,temp 
+0x7f62 036328 loop string2dec_from_uart_done 
+0x7f63 036329 rtn 
+:      036333 uchar2dialog:
+0x7f64 036334 arg 0x3a ,temp 
+0x7f65 036335 isub temp ,null 
+0x7f66 036336 nbranch uchar2dialog_number ,positive 
+0x7f67 036337 arg 0x61 ,temp 
+0x7f68 036338 isub temp ,null 
+0x7f69 036339 branch uchar2dialog_a2f ,positive 
+0x7f6a 036340 arg 0x37 ,temp 
+0x7f6b 036341 isub temp ,pdata 
+0x7f6c 036342 rtn 
+:      036343 uchar2dialog_number:
+0x7f6d 036344 arg 0x30 ,temp 
+0x7f6e 036345 isub temp ,pdata 
+0x7f6f 036346 rtn 
+:      036347 uchar2dialog_a2f:
+0x7f70 036348 arg 0x57 ,temp 
+0x7f71 036349 isub temp ,pdata 
+0x7f72 036350 rtn 
+:      036352 pn9:
+0x7f73 036353 copy temp ,alarm 
+0x7f74 036354 setarg 0x1ff 
+0x7f75 036355 force 0 ,regb 
+:      036356 pn9_loop:
+0x7f76 036357 rshift3 pdata ,rega 
+0x7f77 036358 rshift rega ,rega 
+0x7f78 036359 ixor rega ,rega 
+0x7f79 036360 isolate1 0 ,rega 
+0x7f7a 036361 setflag true ,9 ,pdata 
+0x7f7b 036362 rshift temp ,temp 
+0x7f7c 036363 isolate1 0 ,pdata 
+0x7f7d 036364 setflag true ,7 ,temp 
+0x7f7e 036365 rshift pdata ,pdata 
+0x7f7f 036366 increase 1 ,regb 
+0x7f80 036367 compare 0 ,regb ,0x7 
+0x7f81 036368 nbranch pn9_loop ,true 
+0x7f82 036369 istoret 1 ,contw 
+0x7f83 036370 loop pn9_loop 
+0x7f84 036371 copy alarm ,temp 
+0x7f85 036372 rtn 
+:      036375 wait_div_end:
+0x7f86 036376 rtn modone 
+0x7f87 036377 branch wait_div_end 
+:      036387 compare_loop:
+:      036388 string_compare:
+0x7f88 036389 ifetch 1 ,rega 
+0x7f89 036390 ifetcht 1 ,regb 
+0x7f8a 036391 isub temp ,null 
+0x7f8b 036392 nrtn zero 
+0x7f8c 036393 increase 1 ,rega 
+0x7f8d 036394 increase 1 ,regb 
+0x7f8e 036395 loop string_compare 
+0x7f8f 036396 force 0 ,null 
+0x7f90 036397 rtn 
+:      036400 ceiling:
+0x7f91 036401 isub temp ,null 
+0x7f92 036402 nrtn positive 
+0x7f93 036403 deposit temp 
+0x7f94 036404 rtn 
+:      036406 swap:
+0x7f95 036407 iadd temp ,pdata 
+0x7f96 036408 isub temp ,temp 
+0x7f97 036409 isub temp ,pdata 
+0x7f98 036410 rtn 
+:      036412 clean_mem:
+0x7f99 036413 arg 0x200 ,loopcnt 
+0x7f9a 036414 arg 0x4000 ,contw 
+0x7f9b 036415 branch memset0 
+:      036418 callback_func:
+0x7f9c 036419 rtn blank 
+0x7f9d 036420 copy pdata ,pc 
+:      036423 wait_uarttx:
+0x7f9e 036424 hfetch 2 ,core_uart_txitems 
+0x7f9f 036425 nbranch wait_uarttx ,blank 
+0x7fa0 036426 rtn 
+:      036428 ice_break:
+0x7fa1 036429 jam 0x1 ,core_ice_ctrl 
+0x7fa2 036430 rtn 
+:      036432 ice_setbp:
+0x7fa3 036433 hstore 2 ,core_ice_break0 
+0x7fa4 036434 hfetch 1 ,core_ice_ctrl 
+0x7fa5 036435 set1 4 ,pdata 
+0x7fa6 036436 hstore 1 ,core_ice_ctrl 
+0x7fa7 036437 rtn 
+:      036438 ice_setbp2:
+0x7fa8 036439 hstore 2 ,core_ice_break1 
+0x7fa9 036440 hfetch 1 ,core_ice_ctrl 
+0x7faa 036441 set1 6 ,pdata 
+0x7fab 036442 hstore 1 ,core_ice_ctrl 
+0x7fac 036443 rtn 
+:      036445 ice_set_write_bp:
+0x7fad 036446 hstore 2 ,core_ice_break0 
+0x7fae 036447 jam 0x30 ,core_ice_ctrl 
+0x7faf 036448 rtn 
+:      036452 test_enable_white:
+0x7fb0 036453 hfetch 1 ,core_config 
+0x7fb1 036454 set0 whiteoff_bit ,pdata 
+0x7fb2 036455 hstore 1 ,core_config 
+0x7fb3 036456 rtn 
+:      036458 check_uart_tx_buff:
+0x7fb4 036459 hfetch 2 ,core_uart_txitems 
+0x7fb5 036460 arg uart_air_control_threshold ,temp 
+:      036461 pdata_sub_temp:
+0x7fb6 036462 isub temp ,null 
+0x7fb7 036463 rtn 
+:      036469 fifo_in:
+0x7fb8 036470 bpatchx patch3f_6 ,mem_patch3f 
+0x7fb9 036471 ifetcht util_fifo_len ,rega 
+0x7fba 036472 and temp ,0xff ,pdata 
+0x7fbb 036473 nbranch fifo_in_push ,blank 
+0x7fbc 036474 rshift8 temp ,pdata 
+0x7fbd 036475 istore util_fifo_len ,rega 
+:      036476 fifo_in_push:
+0x7fbe 036477 increase util_fifo_len + util_fifo_offset ,rega 
+0x7fbf 036478 ifetch 1 ,rega 
+0x7fc0 036479 nbranch assert ,blank 
+0x7fc1 036480 fetch 1 ,mem_fifo_temp 
+0x7fc2 036481 istore 1 ,rega 
+0x7fc3 036482 rtn 
+:      036487 fifo_out:
+0x7fc4 036488 bpatchx patch3f_7 ,mem_patch3f 
+0x7fc5 036489 arg util_fifo_len ,loopcnt 
+0x7fc6 036490 ifetch util_fifo_len ,rega 
+0x7fc7 036491 rtn blank 
+:      036492 fifo_out_loop:
+0x7fc8 036493 ifetch 1 ,rega 
+0x7fc9 036494 nbranch fifo_out_end ,blank 
+0x7fca 036495 increase 1 ,rega 
+0x7fcb 036496 loop fifo_out_loop 
+0x7fcc 036497 branch assert 
+:      036498 fifo_out_end:
+0x7fcd 036499 arg 0 ,temp 
+0x7fce 036500 istoret 1 ,rega 
+0x7fcf 036501 rtn 
+:      036506 fifo_is_empty:
+0x7fd0 036507 ifetch util_fifo_len ,rega 
+0x7fd1 036508 rtn 
+:      036513 fifo_is_full:
+0x7fd2 036514 ifetch 1 ,rega 
+0x7fd3 036515 rtn 
+:      036518 fifo_is_near_full:
+0x7fd4 036519 ifetch 2 ,rega 
+0x7fd5 036520 rtn 
+:      036524 fifo_content_count:
+0x7fd6 036525 arg 0 ,temp 
+:      036526 fifo_content_count_loop:
+0x7fd7 036527 fetch 1 ,contr 
+0x7fd8 036528 loop fifo_content_count_loop ,blank 
+0x7fd9 036529 increase 1 ,temp 
+0x7fda 036530 loop fifo_content_count_loop 
+0x7fdb 036531 copy temp ,pdata 
+0x7fdc 036532 rtn 
+:      036534 not_greater_than:
+0x7fdd 036535 isub temp ,null 
+0x7fde 036536 nrtn positive 
+0x7fdf 036537 copy temp ,pdata 
+0x7fe0 036538 rtn 
+:      036541 disable_positive:
+0x7fe1 036542 force -1 ,null 
+0x7fe2 036543 rtn 
+:      036544 enable_positive:
+:      036545 disable_zero:
+0x7fe3 036546 force 1 ,null 
+0x7fe4 036547 rtn 
+:      036548 enable_zero:
+0x7fe5 036549 force 0 ,null 
+0x7fe6 036550 rtn 
+:      036552 enable_user:
+0x7fe7 036553 enable user 
+0x7fe8 036554 rtn 
+:      036556 disable_user:
+0x7fe9 036557 disable user 
+0x7fea 036558 rtn 
+:      036560 enable_user2:
+0x7feb 036561 enable user2 
+0x7fec 036562 rtn 
+:      036564 disable_user2:
+0x7fed 036565 disable user2 
+0x7fee 036566 rtn 
+:      036568 disable_blank:
+0x7fef 036569 setarg 1 
+0x7ff0 036570 rtn 
+:      036572 enable_blank:
+0x7ff1 036573 setarg 0 
+0x7ff2 036574 rtn 
+:      036577 reverse_byte:
+0x7ff3 036578 copy loopcnt ,pdata 
+0x7ff4 036579 rtn blank 
+0x7ff5 036580 copy contr ,pdata 
+0x7ff6 036581 iadd loopcnt ,pdata 
+0x7ff7 036582 increase -1 ,pdata 
+0x7ff8 036583 copy pdata ,contr 
+:      036584 reverse_loop:
+0x7ff9 036585 ifetch 1 ,contr 
+0x7ffa 036586 increase -2 ,contr 
+0x7ffb 036587 istore 1 ,contw 
+0x7ffc 036588 loop reverse_loop 
+0x7ffd 036589 rtn 
Index: HS_24G&BLE_Motion/output/bt_program23.meta
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/bt_program23.meta	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/bt_program23.meta	(working copy)
@@ -0,0 +1,36591 @@
+define REVD
+//define FPGA
+define ROMCODE
+define PATCH
+define ADC
+//define RAM_VERSION
+//define CLK24M
+//define DEBUG_MALLOC
+//define DEBUG_H4LOG_ENABLE
+//define DEBUG_LIGHT_STATE
+//define E2_LOG
+//define LMP_DBG
+//define ACL_DEBUG
+//define DCDC
+define NVRAM
+define RELEASE
+define SECURE_CONNECTION
+define DEBUG_RF_INIT
+//define SPI_SIMULATE
+//define ROM_RESPIN_OPTIONAL
+
+define SIMPLE_PAIRING
+define COMPILE_RFCOMM
+define COMPILE_SHUTTER
+define COMPILE_AntiLost
+//define COMPILE_IR
+define COMPILE_KEYBOARD
+define COMPILE_MOUSE
+define COMPILE_MODULE
+//define COMPILE_AT
+//define COMPILE_PRCP
+//define COMPILE_USB
+//define COMPILE_DONGLE
+define COMPILE_LE
+define COMPILE_24G
+define COMPILE_CAR
+define COMPILE_REMOTE_CAR
+
+
+INCLUDE "bt_format"
+
+org 0x0000		// start from patch ram address start
+//define DONGLE
+define MOUSE
+define BLE
+//define CLASSIC_BT
+define ADC_ENABLE
+//define P24G_LOG
+//define RF_DEBUG
+
+//define DEBUGLOG
+//define DEBUGLOG_CALLBACK
+//define DEBUGLOG_EVENT
+//define DEBUGLOG_CMD
+//define DEBUGLOG_MISC
+//define DEBUGLOG_STATUS
+//define DEBUGLOG_PARSE_LMP
+//define DEBUGLOG_SEND_LMP
+//define DEBUGLOG_CONN_SM
+//define DEBUGLOG_UPPER_SM
+
+	bbit1 8,pf_patch_ext	
+	beq patch10_5,p_shutdown_radio
+	beq patch11_1,p_set_freq_tx
+	beq patch00_1,p_soft_reset_1
+	beq patch14_1,p_init_param
+	beq patch15_0,p_lpm_dispatch_next2
+	beq patch16_1,p_lpm_check_wake_lock
+	beq patch16_2,p_g24_dispatch
+	beq patch18_4,p_device_init
+	beq patch19_1,p_app_flag_store
+	beq patch19_2,p_app_initflag_check
+	beq patch1c_3,p_mouse_seting_dpi
+	beq patch1c_6,p_mouse_motion
+	beq patch1d_2,p_mouse_bb_event_discovery_btn
+	beq patch1d_3,p_mouse_start_discovery
+	beq patch1d_4,p_mouse_stop_discovery
+	branch loop
+pf_patch_ext:
+	beq patch27_1,p_le_slave_match
+	beq patch28_3,p_le_next_adv_channel
+	beq patch29_2,p_le_receive_skip
+	beq patch2a_7,p_le_update_param
+	beq patch2c_3,p_le_prepare_tx
+	beq patch2c_7,p_le_parse_l2cap
+	beq patch2d_2,p_le_adv_not_match
+	beq patch2e_7,p_le_lpm_setmult
+	beq patch31_4,p_twspi_reset
+	branch loop
+
+
+
+
+
+p_rssi_signal:
+	copy pdata,rega
+	fetcht 1,mem_rssi_signal_index
+	setarg mem_rssi_signal_buf
+	iadd temp,contw
+	copy rega,pdata
+	istore 1,contw
+	increase 1,temp
+	and_into RSSI_BUF_LEN_SIGNAL,temp
+	storet 1,mem_rssi_signal_index
+	rtn
+
+p_soft_reset_1:
+	arg mem_sp_state,contw
+	arg 12,loopcnt
+	call clear_mem
+	call p_mouse_le_txbuff_load
+	call rfcomm_init
+	call init_lmp
+	ncall lpm_disable_exen_output,wake
+	call ui_init+1
+	branch soft_reset+11
+
+
+p_init_param:
+	setarg param_le_version
+	store 3,mem_lmp_version
+	setarg param_le_subversion
+	store 2,mem_lmp_version+3
+	branch init_param+12
+
+p_lpm_dispatch_next2:
+	fetch 1,mem_mouse_wheel_trigger
+	nrtn blank
+	branch lpm_dispatch_next2
+
+p_lpm_check_wake_lock:
+	rtnmark1 mark_24g
+	fetch 1,mem_mouse_clear_sensor_data_flag
+	beq 0,disable_blank
+	fetch 1,mem_mouse_le_conn_param_reject
+	beq LE_LPM_DISABLE,disable_blank
+	fetch 2,mem_sdp_remote_cid
+	nbranch disable_blank,blank
+	branch enable_blank
+
+p_g24_dispatch:
+	rtnmark0 mark_24g
+	fetch 1,mem_24g_transmit_by_interrupt
+	beq G24_TX_TIMER_INT_ENABLE,p_g24_transmit_by_interrupt
+p_g24_transmit_process:
+	call p_g24_txdata_prep
+	nbranch p_g24_nodata_transmit,user
+	call p_g24_rf_sta_check
+p_g24_transmit_start:
+	call p_g24_transmit_packet
+	fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+	call power_ctrl_start
+	//call g24_long_sleep_shorter_param_update
+	fetch 1,mem_24g_transmit_by_interrupt
+	rtneq G24_TX_TIMER_INT_ENABLE
+p_g24_short_sleep:
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+	call p_mouse_setgpio_lpm
+	call p_clear_wake
+	setarg 60500	
+	branch lpm_dispatch_sleep
+p_g24_transmit_by_interrupt:
+	call p_g24_timer_check
+	nrtn user
+	call p_g24_interval_calibrate	
+	fetch 1,mem_24g_transmit_by_interrupt_exit_count
+	increase 1,pdata
+	store 1,mem_24g_transmit_by_interrupt_exit_count
+	sub pdata,25,null	//200ms
+	call p_g24_transmit_by_interrupt_exit,zero
+	branch p_g24_transmit_process
+p_g24_transmit_by_interrupt_exit:
+	jam G24_TX_TIMER_INT_DISABLE,mem_24g_transmit_by_interrupt
+	jam 0,mem_24g_transmit_by_interrupt_exit_count
+p_g24_interval_min:
+	jam 0,mem_24g_pac_index
+	fetch 1,mem_24g_interval_min
+	store 1,mem_24g_interval
+	rtn
+p_g24_interval_max:
+	fetch 1,mem_24g_interval_max
+	store 1,mem_24g_interval
+	rtn	
+p_g24_interval_calibrate:
+	fetch 1,mem_24g_pac_index
+	increase 1,pdata
+	store 1,mem_24g_pac_index
+	beq 4,p_g24_interval_max
+	beq 5,p_g24_interval_min
+	rtn
+p_g24_transmit_by_interrupt_enable:
+	jam G24_TX_TIMER_INT_ENABLE,mem_24g_transmit_by_interrupt
+	jam 0,mem_24g_transmit_by_interrupt_exit_count
+	rtn
+
+p_g24_nodata_transmit:
+	fetch 1,mem_24g_abort_pac
+	call p_g24_send_abort_packet,blank
+p_g24_long_sleep:
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+	call p_mouse_setgpio_lpm
+	fetch 8,mem_24g_enter_hibernate
+	call clk2lpo
+	storet 4,mem_sleep_counter
+  	branch lpm_sleep
+
+p_g24_send_abort_packet:
+	jam 1,mem_24g_abort_pac
+	jam 0,mem_24g_rf_hop_ch
+	call p_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 p_g24_transmit_prep
+	call p_g24_txdata_enable_tx
+	branch p_g24_transmit_start
+
+
+p_mouse_before_lpm:
+	rtnmark1 mark_24g
+	call p_mouse_le_txbuff_save
+	call p_mouse_setgpio_lpm
+	fetch 1,mem_context
+	bbit0 state_inconn,p_clear_wake
+	fetch 1,mem_lpm_current_mult
+	nrtn blank
+p_clear_wake:
+	setarg 0
+	store 8,mem_gpio_wakeup_low
+	rtn
+
+p_mouse_setgpio_lpm:
+	call p_mouse_set_sdio_high
+	call p_clear_wake
+	call mouse_lpm_before_common
+	hfetch 4,core_gpio_oe0
+	hfetcht 4,core_gpio_pu0
+	ior temp,temp
+	invert temp,temp
+	hstoret 4,core_gpio_pd0
+	rtn
+
+p_mouse_set_sdio_high:
+	fetch 1,mem_mouse_init_sensor_reset_flag
+	rtn blank
+	branch p_mouse_seting_dpi+1	// make sdio high to make 100uA less	
+
+p_mouse_le_txbuff_save:
+	arg mem_le_tx_buffer0,contr
+	arg mem_le_tx_buffer0_omemalloc,contw
+	call p_mouse_le_txbuff_copy
+	arg mem_le_tx_buffer1,contr
+	arg mem_le_tx_buffer1_omemalloc,contw
+	call p_mouse_le_txbuff_copy
+	arg mem_le_tx_buffer2,contr
+	arg mem_le_tx_buffer2_omemalloc,contw
+	call p_mouse_le_txbuff_copy
+	arg mem_le_tx_buffer3,contr
+	arg mem_le_tx_buffer3_omemalloc,contw
+p_mouse_le_txbuff_copy:	
+	arg 27,loopcnt
+	branch memcpy
+
+p_mouse_le_txbuff_load:
+	arg mem_le_tx_buffer0_omemalloc,contr
+	arg mem_le_tx_buffer0,contw
+	call p_mouse_le_txbuff_copy
+	arg mem_le_tx_buffer1_omemalloc,contr
+	arg mem_le_tx_buffer1,contw
+	call p_mouse_le_txbuff_copy
+	arg mem_le_tx_buffer2_omemalloc,contr
+	arg mem_le_tx_buffer2,contw
+	call p_mouse_le_txbuff_copy
+	arg mem_le_tx_buffer3_omemalloc,contr
+	arg mem_le_tx_buffer3,contw
+	branch p_mouse_le_txbuff_copy
+
+p_device_init:
+	call app_lpm_mult_enable
+	branch p_device_init_common,wake
+	jam 0x20,core_gpio_pu0
+
+	call p_mouse_data_init
+	fetch 1,mem_tx_power
+	store 1,mem_tx_power_temp
+	call power_ctrl_pac_succ_cnt_init
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_combination_ui_button_count	//combination key timer init
+	call mouse_bt_discovery_button_down_disable
+p_device_init_common:
+	call p_mouse_init
+	branch enable_authrom
+
+p_mouse_init:
+	ncall p_mouse_setting_config,wake
+	call p_mouse_spi_init
+	rtn wake
+	call p_mouse_cb_fuction
+	call p_mouse_check_key_gpio
+	beq MOUSE_LM_BUTTON,p_mouse_24g_pairing_button
+	branch p_mouse_wakeup_from_power
+
+p_mouse_check_reconn_target:
+	fetch 1,mem_tx_power_temp
+	store 1,mem_tx_power
+	fetch 1,mem_xrecord_mode
+	beq REC_4_MODE,p_mouse4_0_check_reconn_target
+	rtn
+
+
+
+p_mouse4_0_check_reconn_target:
+	jam 1,mem_mouse_le_reconnect_flag
+	fetch 2,mem_mouse_direct_timeout
+	store 2,mem_mouse_direct_timer
+	call app_lpm_mult_disable
+	call p_le_check_adv_flag
+	setarg ADV_FLAG_BREDR_NOT_SUPPORTED
+	istore 1,contr
+	branch check_51cmd_adv
+
+p_le_check_adv_flag:
+	arg mem_le_adv_data,rega
+p_le_check_adv_flag_loop:
+	ifetch 1,rega	//length
+	rtn blank
+	iadd contr,rega
+	ifetch 1,contr	//type
+	rtneq 0x01
+	branch p_le_check_adv_flag_loop
+
+p_mouse_24g_pairing_button:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G
+	rtnbit1 MOSUE_24G_PAIRING_FLAG
+	rtnmark1 mark_24g
+	call mouse_devce_led_off
+	arg MOSUE_24G_PAIRING_FLAG,queue
+	call mouse_enable_function_flag
+	setarg 0
+	store 2,mem_mouse_direct_timer
+	store 1,mem_mouse_send_blank_timer
+	store 2,mem_24g_check_dongle_times
+	call mouse_stop_discovery
+	branch p_g24_start_pairing_sm1
+
+p_mouse_dpi_config:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_EEPROM,mouse_dpi_config
+	fetch 1,mem_mouse_dpi
+	beq 0xff,mouse_dpi_config
+	branch mouse_seting_dpi+2
+
+p_mouse_spi_init:
+	jam 0x76,mem_spi_init_clk
+	branch mouse_spi_init
+	
+p_mouse_init_sunt:
+	call p_mouse_spi_init
+	call mouse_spi_sdio_gpio_pollup
+	fetch 1,mem_config_sensor_type
+	beq P3610,mouse_init_3610sensor
+p_mouse_init_sensor:
+	call mouse_read_sensor_id
+	beq P32XX_ID1,p_mouse_init_p32xx_id2_judge
+	beq P3065_ID1,p_mouse_p3065_init_param
+	call mouse_twspi_reset
+	nop 1000
+	branch p_mouse_init_sensor
+
+p_mouse_init_sensor_reset:
+	jam 1,mem_mouse_init_sensor_reset_flag
+	call spi_ncs_enable
+	call p_mouse_init_sunt
+	branch spi_ncs_disable
+
+p_mouse_init_p32xx_id2_judge:
+	call p_mouse_sensor_poweron
+	branch mouse_init_p32xx_id2_judge
+
+
+p_mouse_p3065_init_param:
+	call p_mouse_sensor_poweron
+	fetch 1,mem_sensor_id2
+	beq P3065_XY_ID2,mouse_p3065xy_init_param
+	jam P3065,mem_config_sensor_type
+	rtn
+
+p_mouse_sensor_poweron:
+	setarg 0x8006	// reset to factory settings
+	call twspi_write
+	nop 12000
+	branch p_mouse_dpi_config
+p_mouse_sensor_powerdown:
+	setarg 0x06
+	call twspi_read
+	or pdata,0x08,pdata
+	lshift8 pdata,pdata
+	add pdata,0x06,pdata
+	branch twspi_write	//make sdio high
+
+p_mouse_setting_config:
+	call p_g24_set_device_addr
+	//disable usb function
+	hfetch 1,core_usb_config
+	set0 4,pdata
+	hstore 1,core_usb_config
+	call mouse_gpio_init
+	call p_mouse_multi_led_init
+	call mouse_param_init
+	setarg 0
+	store 2,mem_lpm_interval	
+	call mouse_adc_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,p_mouse_init_iic
+//	bbit1 MOUSE_ENABLE_FLASH,p_mouse_load_flash_info_cheak
+//	rtn
+p_mouse_init_iic:
+	call iic_init_390k
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	isolate1 MOUSE_ENABLE_2K_EEPROM,pdata
+	ncall clear_eeprom_size_2k,true
+	call mouse_load_eeprom_dpi
+	//call ice_break
+	call p_mouse_init_environment
+	call p_mouse_set_24g_addr_eeprom
+	branch iicd_read_eep_data
+	
+
+p_mouse_init_environment:
+	call app_initflag_check
+	branch mouse_eeprom_load_recon_info,zero
+	call p_le_addr_random_config
+	branch mouse_init_environment+2
+
+p_app_flag_store:
+	//call ice_break
+
+	arg 2,temp
+	//setarg 0xaa55
+	//store 2,mem_timeup
+	arg mem_timeup,rega
+	arg MOUSE_EEPROM_MODULE_INIT_FLAG,regb
+	branch iicd_write_protect_eep_data
+
+p_app_initflag_check:
+	arg 2,temp
+	arg mem_pdatatemp,rega
+	arg MOUSE_EEPROM_MODULE_INIT_FLAG,regb
+	branch app_initflag_check+4
+
+/*
+p_mouse_load_flash_info_cheak:
+	call mouse_load_flash_flag
+	fetch 2,mem_store_flag
+	arg EEPROM_INIT_FLAG,temp
+	isub temp,null
+	branch p_mouse_load_flash_device_info,zero
+	storet 2,mem_store_flag
+	call mouse_ble_init_address
+	branch mouse_store_flash_device_info
+
+p_mouse_load_flash_device_info:
+	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
+	call spid_read_flash
+	call mouse_select_reconn_device
+	fetch 4,mem_mouse_24g_addr
+	store 4,mem_24g_addr
+	rtn
+*/
+
+
+p_mouse_wakeup_from_power:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_WAKEUP_FROM_POWER,p_mouse_wakeup_no_from_power
+	fetch 1,mem_wakup_from_power_flag
+	isolate0 gpio_latch,pdata
+	nbranch p_mouse_wakeup_no_from_power,true
+	call p_mouse_init_sunt
+	call p_mouse_sensor_powerdown
+p_mouse_wakeup_no_from_power:
+	fetch 1,mem_reconn_times_init
+	store 1,mem_reconn_times
+	fetch 1,mem_config_function_enable
+	rtnbit1 ENABLE_SELECT_DEVICE_BY_SWITCH
+p_mouse_start_24g_mode:	
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G
+	call p_g24_factory_check
+	branch p_g24_auto_pair_start,user
+	branch p_g24_start_24g_mode
+
+p_g24_factory_check:
+	arg 2,loopcnt
+	arg mem_24g_addr,contr
+p_pdata_0xff_check:
+	call enable_user
+	setarg 0xffff
+p_pdata_0xff_check_loop:
+	ifetcht 2,contr
+	isub temp,null
+	ncall disable_user,zero
+	loop p_pdata_0xff_check_loop
+	rtn
+
+p_mouse_cb_fuction:
+	setarg p_mouse_g24_package_data
+	store 2,mem_cb_24g_data
+	setarg p_mouse_le
+	store 2,mem_cb_le_process
+	setarg p_le_mouse_bb_event_connect_complete
+	store 2,mem_cb_att_write
+	setarg p_mouse_before_lpm
+	store 2,mem_cb_before_lpm
+	setarg p_mouse_priority_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg p_mouse_idle
+	store 2,mem_cb_idle_process
+	setarg p_mouse_before_hibernate
+	store 2,mem_cb_before_hibernate
+	setarg p_mouse_bb_event_timer
+	store 2,mem_cb_event_timer
+	setarg mouse_spi_write_flash_cb
+	store 2,mem_cb_spi_flash_write_complate
+	rtn
+
+p_mouse_g24_package_data:
+	call mouse_g24_package_data
+	fetch 2,mem_mouse_z
+	rtn blank
+	branch p_g24_transmit_by_interrupt_enable
+	
+p_mouse_le:
+	call le_fifo_check_nearly_full
+	nrtn blank
+	fetch 1,mem_le_connect_status_flag
+	and pdata,0x03,pdata
+	rtnne 0x03
+	fetch 1,mem_mouse_clear_sensor_data_flag
+	call p_mouse_clear_sensor_data,blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+//	bbit1 MOSUE_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
+	call mouse_motion
+	nrtn user
+
+	call p_mouse_wheel_trigger
+	branch p_mouse_data_push
+
+
+p_mouse_wheel_trigger:
+	fetch 2,mem_mouse_z
+	rtn blank
+	jam 1,mem_mouse_wheel_trigger
+	jam 2,mem_mouse_wheel_trigger_timer
+	rtn
+	
+
+p_mouse_clear_sensor_data:
+	call le_set_config_more_data
+	jam 1,mem_mouse_clear_sensor_data_flag
+	branch p_mouse_sensor_poweron
+
+p_mouse_idle:
+//	call p_mouse_24g_pairing_button
+	call ui_check_paring_button
+	call p_mouse_dpi_check
+	branch mouse_wheel_check
+
+p_mouse_dpi_check:
+	fetcht 1,mem_dpi_button_gpio
+	call p_gpio_set_input_pd
+	fetcht 1,mem_dpi_button_gpio
+	call gpio_get_bit
+	branch p_mouse_dpi_up,true
+	call p_gpio_set_input_pu
+p_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 1,mem_mouse_dpi
+	increase 1,pdata
+	and pdata,0x03,pdata
+	store 1,mem_mouse_dpi
+	//increase 2,pdata
+	//store 2,mem_mouse_multi_led_blink_count
+	//call p_mouse_dpi_multi_led_blink
+	branch mouse_dpi_down+7
+
+p_mouse_dpi_up:
+	call p_gpio_set_input_pu
+	branch mouse_dpi_up
+
+	
+/*
+//pc bind api
+p_mouse_24g_pairing_button:
+	fetch 2,mem_24g_pairing_timer_count
+	rtn blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G
+	rtnbit1 MOSUE_24G_PAIRING_FLAG
+	rtnmark1 mark_24g
+	call mouse_check_key_gpio
+	rtnne MOUSE_LMR_BUTTON
+	call mouse_devce_led_off
+	arg MOSUE_24G_PAIRING_FLAG,queue
+	call mouse_enable_function_flag
+	setarg 0
+	store 2,mem_mouse_direct_timer
+	store 1,mem_mouse_send_blank_timer
+	store 2,mem_24g_check_dongle_times
+	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
+	call mouse_stop_discovery
+	branch p_g24_start_pairing_sm1
+*/
+p_mouse_priority_bb_event:
+	copy regc,pdata
+	beq BT_EVT_LE_CONNECTED,p_mouse_le_bb_event_connected
+	beq BT_EVT_LE_DISCONNECTED,p_mouse_le_bb_disconnected
+	beq BT_EVT_LE_ENC_INFO,p_mouse_le_enc_info
+	beq BT_EVT_LE_START_ENC,p_mouse_le_ll_start_encryt
+	beq BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,p_mouse_le_conn_param_update_rsp_recieved
+	beq BT_EVT_24G_PAIRING_COMPLETE,p_mouse_24g_pairing_complete
+	beq BT_EVT_24G_ATTEMPT_FAIL,p_mouse_24g_attempt_fail
+	beq BT_EVT_24G_ATTEMPT_SUCCESS,p_mouse_24g_attempt_success
+	branch mouse_priority_bb_event+1
+
+p_mouse_le_bb_event_connected:
+//	jam 0,mem_mouse_long_mult_flag
+	call p_mouse_init_sensor_reset
+	call p_mouse_data_init
+	//call p_app_flag_store
+	branch mouse_le_bb_event_connected
+
+p_mouse_le_bb_disconnected:
+	call p_mouse_sensor_powerdown_check
+	setarg LE_INTERVAL_8_75MS
+	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 p_mouse_data_init
+	call le_clr_config_more_data
+	branch mouse_bb_disconnected
+
+p_mouse_le_enc_info:
+p_app_updata_le_param:
+	jam BT_CMD_LE_UPDATE_CONN,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+p_mouse_le_ll_start_encryt:
+	fetch 1,mem_mouse_le_reconnect_flag
+	beq 1,p_mouse_le_ll_reconn_start_encryt
+	branch p_mouse_le_ll_enable_start_enc_flag
+
+p_mouse_le_ll_reconn_start_encryt:
+	call p_app_updata_le_param
+	jam 20,mem_le_start_encrypt_timer
+p_mouse_le_ll_enable_start_enc_flag:
+	arg LL_START_ENC_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+p_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 p_app_updata_le_param
+	branch p_mouse_le_conn_param_lpm_disable
+
+
+
+p_mouse_24g_pairing_complete:
+	call p_mouse_init_sensor_reset
+
+	jam 1,mem_mouse_24g_enter_lpm_enable
+	arg MOSUE_24G_PAIRING_FLAG,queue
+	call mouse_disable_function_flag
+	setarg 0
+	store 2,mem_24g_pairing_timer_count
+	jam 0,mem_mouse_move_flag
+	
+	fetch 1,mem_config_sensor_type
+	sub pdata,P3610,null
+	call mouse_read_sensor3610_data,zero
+	ncall mouse_read_sensor_common,zero
+
+	fetch 1,mem_tx_power_temp
+	store 1,mem_tx_power
+
+//	fetch 1,MOUSE_FLAG_LEN,mem_mouse_flag
+//	bbit1 MOUSE_ENABLE_FLASH,p_mouse_store_flash_24g_address
+	call p_mouse_set_24g_addr_eeprom	//store rx dongle addr to eeprom
+	branch iicd_write_protect_eep_data
+
+p_mouse_set_24g_addr_eeprom:
+	arg mem_24g_addr,rega
+	arg MOUSE_G24_ADDR_EEPROM_OFFECT,regb
+	arg 4,temp
+	rtn
+
+//p_mouse_store_flash_24g_address:
+//	arg mem_24g_addr,regb
+//	ifetch 4,regb
+//	store 4,mem_mouse_24g_addr
+//	branch mouse_store_flash_device_info
+
+p_mouse_24g_attempt_fail:
+	call p_mouse_sensor_powerdown_check
+	jam G24_TX_TIMER_INT_DISABLE,mem_24g_transmit_by_interrupt
+	fetch 1,mem_tx_power_temp
+	store 1,mem_tx_power
+	call p_g24_check_51cmd_stop_24g
+	fetch 1,mem_mouse_mode_config
+	bbit1 MOUSE_24G_ONLY,p_mouse_null_enter_hibernate_enable
+	jam 0,mem_link_key_exists
+	call mouse_eeprom_load_recon_info	
+	arg 3,loopcnt
+	arg mem_device1_addr,contr
+	call p_pdata_0xff_check
+	branch p_mouse_null_enter_hibernate_enable,user
+	branch p_mouse_check_reconn_target
+
+p_mouse_null_enter_hibernate_enable:	//ble never connected
+	jam 1,mem_mouse_null_enter_hibernate_flag
+	jam 40,mem_mouse_null_enter_hibernate_timer	//lmr 3s
+	rtn
+
+p_mouse_24g_attempt_success:
+	call p_mouse_init_sensor_reset
+	branch mouse_no_data_timer_init
+	
+p_mouse_before_hibernate:
+	enable user
+	hfetch 4,0x8138
+	setflag user,26,pdata
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+	call p_mouse_sensor_powerdown_check
+	call disable_authrom
+	call mouse_devce_led_off
+	call mouse_before_hibernate_wheel_gpio_set
+	branch mouse_lpm_before_common
+	
+p_mouse_sensor_powerdown_check:
+	fetch 1,mem_mouse_init_sensor_reset_flag
+	rtn blank
+	jam 0,mem_mouse_init_sensor_reset_flag
+	branch p_mouse_sensor_powerdown
+
+
+p_mouse_bb_event_timer:
+	call p_mouse_adc_read
+	call p_mouse_low_voltage_led_timer
+	call p_mouse_send_switch_req_timer
+	call p_mouse_wheel_trigger_timer
+	//call p_mouse_dpi_led_blink_delay_timer
+	call p_mouse_multi_led_blink_timer
+	call p_mouse_null_enter_hibernate_timer
+	call p_mouse_bt_discovery_check
+	call mouse_check_hid_handshake_timer
+	call mouse_check_discovery_timeout_timer
+	call mouse_check_direct_timeout_timer
+	call mouse_check_no_data_timeout_timer
+	branch p_mouse_le_enable_att_list_timer
+
+p_mouse_multi_led_blink_timer:
+	fetch 1,mem_mouse_multi_led_blink_enable
+	rtn blank
+	//fetch 1,mem_mouse_multi_led_type
+	//beq MULTI_LED_ON,p_mouse_multi_led_type_on
+	//beq MULTI_LED_BLINK,p_mouse_multi_led_type_blink
+	//rtn
+/*p_mouse_multi_led_type_on:
+	call p_mouse_multi_led_on
+	fetch 1,mem_mouse_multi_led_on_timer
+	increase 1,pdata
+	store 1,mem_mouse_multi_led_on_timer
+	fetcht 1,mem_mouse_multi_led_on_timer_init
+	isub temp,null
+	call p_mouse_multi_led_off_poweron2s,zero
+	rtn
+p_mouse_multi_led_off_poweron2s:
+	jam 0,mem_mouse_multi_led_on_poweron2s_flag
+	branch p_mouse_multi_led_off*/
+
+p_mouse_multi_led_type_blink:
+	fetch 1,mem_mouse_multi_led_blink_timer
+	increase -1,pdata
+	store 1,mem_mouse_multi_led_blink_timer
+	nrtn blank
+	fetch 1,mem_mouse_multi_led_blink_timer_init
+	store 1,mem_mouse_multi_led_blink_timer
+	fetch 1,mem_mouse_multi_led_blink_count_limited
+	branch p_mouse_multi_led_blink_count_no_limited,blank
+	fetch 1,mem_mouse_multi_led_blink_count
+	branch p_mouse_multi_led_blink_off,blank
+	increase -1,pdata
+	store 1,mem_mouse_multi_led_blink_count
+p_mouse_multi_led_blink_count_no_limited:
+	fetch 1,mem_mouse_multi_led_state
+	beq ON,p_mouse_multi_led_off
+	beq OFF,p_mouse_multi_led_on
+	rtn
+p_mouse_multi_led_init:
+	fetcht 1,mem_mouse_multi_led_gpio
+	branch gpio_config_output
+p_mouse_multi_led_on:
+	jam ON,mem_mouse_multi_led_state
+	call p_mouse_multi_led_init
+	fetcht 1,mem_mouse_multi_led_gpio
+	branch gpio_out_active
+	
+p_mouse_multi_led_blink_off:
+	jam 0,mem_mouse_multi_led_blink_timer
+	jam 0,mem_mouse_multi_led_blink_count
+	jam 0,mem_mouse_multi_led_blink_count_limited
+p_mouse_multi_led_off:
+	fetch 1,mem_mouse_multi_led_blink_count
+	nbranch p_mouse_multi_led_off_wait_blink_over,blank
+	jam 0,mem_mouse_multi_led_blink_enable
+	jam 0,mem_mouse_multi_led_type
+p_mouse_multi_led_off_wait_blink_over:
+	jam 0,mem_mouse_multi_led_on_timer
+	jam OFF,mem_mouse_multi_led_state
+p_mouse_multi_led_off2:	
+	fetcht 1,mem_mouse_multi_led_gpio
+	call gpio_out_inactive
+	hfetch 1,core_gpio_pd0	//gpio5 pull down enable
+	set1 5,pdata
+	hstore 1,core_gpio_pd0
+	rtn
+/*
+p_mouse_mode_bt_device1_multi_led_on:
+p_mouse_mode_24g_device_multi_led_on:
+	jam 1,mem_mouse_multi_led_on_poweron2s_flag
+	jam ON,mem_mouse_multi_led_blink_enable
+	jam MULTI_LED_ON,mem_mouse_multi_led_type
+	jam 0,mem_mouse_multi_led_on_timer
+	rtn*/
+p_mouse_discovery_multi_led_blink:
+	jam 1,mem_mouse_multi_led_blink_timer
+	jam 5,mem_mouse_multi_led_blink_timer_init	//500ms
+	jam 0,mem_mouse_multi_led_blink_count_limited
+	jam 1,mem_mouse_multi_led_blink_count//0 will clear mem_mouse_multi_led_blink_enable/mem_mouse_multi_led_type
+p_mouse_multi_led_blink_enable:
+	jam ON,mem_mouse_multi_led_blink_enable
+	jam MULTI_LED_BLINK,mem_mouse_multi_led_type
+	rtn
+
+p_mouse_discovey_led_blink_off:
+	fetch 1,mem_mouse_multi_led_on_timer
+	nrtn blank
+	fetch 1,mem_mouse_multi_led_on_poweron2s_flag
+	nrtn blank
+	branch p_mouse_multi_led_blink_off
+		
+p_mouse_dpi_multi_led_blink:
+	jam 1,mem_mouse_multi_led_blink_timer
+	jam 3,mem_mouse_multi_led_blink_timer_init	//300ms
+	jam 1,mem_mouse_multi_led_blink_count_limited
+	branch p_mouse_multi_led_blink_enable
+
+	
+p_mouse_send_switch_req_timer:
+	arg mem_mouse_send_switch_req_timer,regc
+	arg host_create_conn_resend,regb
+	branch timer_single_step
+
+p_mouse_wheel_trigger_timer:
+	arg mem_mouse_wheel_trigger_timer,regc
+	arg p_mouse_wheel_trigger_disable,regb
+	branch timer_single_step
+p_mouse_wheel_trigger_disable:
+	jam 0,mem_mouse_wheel_trigger
+	rtn
+
+p_mouse_le_enable_att_list_timer:
+	arg mem_le_start_encrypt_timer,regc
+	arg mouse_le_write_enable,regb
+	branch timer_single_step	
+
+p_mouse_bt_discovery_check:
+	fetch 1,mem_config_function_enable
+	bbit1 ENABLE_BT_BUTTON,mouse_bt_discovery_by_button
+p_mouse_bt_discovery_commbination_key:
+	call p_mouse_check_key_gpio
+	beq MOUSE_LMR_BUTTON,p_mouse_bt_discovery_commbination_key_down
+p_mouse_bt_discovery_commbination_key_up:
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_combination_ui_button_count	//combination key timer init 
+	fetch 1,mem_bt_discovey_button_statue
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_bt_discovey_button_statue
+	arg MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,queue
+	call mouse_disable_function_flag
+	branch mouse_bt_discovery_button_down_disable
+p_mouse_bt_discovery_commbination_key_down:
+	jam 40,mem_mouse_null_enter_hibernate_timer
+	call p_mouse_bt_discovery_timer
+	branch mouse_bt_discovery_commbination_key_down+1
+
+p_mouse_bt_discovery_timer:
+	arg mem_combination_ui_button_count,regc
+	arg p_mouse_long_button_bt_discovery,regb
+	branch timer_single_step
+	
+p_mouse_long_button_bt_discovery:
+	call p_mouse_sensor_powerdown_check
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BLE_ADV,pdata
+	call mouse_stop_le_adv,true		//reconnect adv
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BT_RECONNECT,pdata
+	call mouse_cancel_reconnect,true
+	arg MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,queue
+	call mouse_enable_function_flag
+	branch mouse_long_button_bt_discovry
+
+p_mouse_null_enter_hibernate_timer:
+	fetch 1,mem_mouse_null_enter_hibernate_flag
+	rtn blank
+	fetch 1,mem_mouse_null_enter_hibernate_timer
+	branch p_mouse_null_enter_hibernate,blank
+	increase -1,pdata
+	store 1,mem_mouse_null_enter_hibernate_timer
+	rtn
+p_mouse_null_enter_hibernate:
+	jam 0,mem_mouse_null_enter_hibernate_flag
+	branch app_enter_hibernate
+
+	
+p_mouse_adc_read:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_ADC
+
+	fetch 1,mem_mouse_multi_led_blink_count
+	nrtn blank
+	fetch 1,mem_mouse_multi_led_on_timer
+	nrtn blank
+	
+	fetch 1,mem_adc_read_timer
+	increase 1,pdata
+	store 1,mem_adc_read_timer
+	sub pdata,10,null              //1s read adc
+	rtn positive
+	jam 0,mem_adc_read_timer
+	call p_adc_set_mode
+	call vdd_calculate_by_mode
+	store 2,mem_mouse_vdd_now_vol
+	arg mem_mouse_vdd_calculate_set,rega
+	call p_adc_bat_percent_lowpower_out
+	fetch 1,mem_adc_power_flag
+	bbit1 1,app_enter_hibernate
+	bbit0 0,p_mouse_adc_no_low_voltage
+	jam 1,mem_mouse_adc_last_low_voltage_flag
+	branch mouse_adc_low_voltage
+p_mouse_adc_no_low_voltage:
+	call mouse_adc_no_low_voltage
+	fetch 1,mem_mouse_adc_last_low_voltage_flag
+	rtn blank
+	jam 0,mem_mouse_adc_last_low_voltage_flag
+	//fetch 1,mem_config_low_voltage_alarm_gpio
+	//store 1,mem_mouse_struct_led_gpio
+	branch p_mouse_multi_led_off
+	
+p_adc_set_mode:
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_GPIO,p_adc_check_gpio
+	branch adc_set_mode+1
+p_adc_check_gpio:
+	fetcht 1,mem_mouse_multi_led_gpio
+	call gpio_config_input
+	hfetch 1,core_gpio_pd0	//gpio5 pull down disable
+	set0 5,pdata
+	hstore 1,core_gpio_pd0
+
+	hfetch 1,core_gpio_pu0	//gpio5 pull up disable
+	set0 5,pdata
+	hstore 1,core_gpio_pu0
+	call adc_check_gpio
+	//hfetch 1,core_gpio_pu0	//gpio5 pull up enable
+	//set1 5,pdata
+	//hstore 1,core_gpio_pu0
+	rtn
+
+p_adc_bat_percent_lowpower_out:
+	ifetch 8,rega
+	store 8,mem_pdatatemp
+	fetcht 2,mem_pdatatemp+2	//shutdown voltage 0.9v
+	fetch 2,mem_pdatatemp+6		//now voltage
+	mul32 pdata,7,pdata
+	div pdata,4
+	call wait_div_end
+	quotient pdata
+	pincrease -10
+	isub temp,null
+	nbranch adc_set_no_power_flag,positive
+	fetcht 2,mem_pdatatemp+4	//low voltage 1.0v
+	isub temp,null
+	nbranch adc_set_low_power_flag,positive
+p_adc_clear_low_power_flag:
+	fetch 1,mem_adc_power_flag
+	set0 0,pdata
+	store 1,mem_adc_power_flag
+	rtn
+
+p_mouse_low_voltage_led_timer:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_LOW_VOLTAGE_FLAG
+
+	fetch 1,mem_mouse_multi_led_blink_count
+	nrtn blank
+	fetch 1,mem_mouse_multi_led_on_timer
+	nrtn blank
+	
+	//fetch 1,mem_config_low_voltage_alarm_gpio
+	//store 1,mem_mouse_struct_led_gpio
+	fetch 1,mem_adc_low_volatage_led_timer_count
+	pincrease 1
+	store 1,mem_adc_low_volatage_led_timer_count
+	sub pdata,20,null
+	ncall p_mouse_adc_low_volatage_led_timer_count_clean,positive
+	fetch 1,mem_adc_low_volatage_led_timer_count
+	sub pdata,10,null
+	branch p_mouse_multi_led_on,positive
+	branch p_mouse_multi_led_off
+p_mouse_adc_low_volatage_led_timer_count_clean:
+	jam 1,mem_adc_low_volatage_led_timer_count
+	rtn
+
+p_mouse_motion:
+	disable user
+	setarg 0
+	store 6,mem_mouse_x
+	call mouse_cheak_sensor_data
+	call mouse_zwheel
+	call mouse_t_zwheel
+	call p_mouse_key
+	branch mouse_motion+8
+
+p_mouse_key:
+	call p_mouse_check_key_gpio
+	branch mouse_key+1
+p_mouse_check_key_gpio:
+	arg 0,rega
+	call p_mouse_check_lkey_gpio
+	call p_mouse_check_rkey_gpio
+	call p_mouse_check_mkey_gpio
+	call p_mouse_check_skey_gpio
+	copy rega,pdata
+	rtn
+p_mouse_check_skey_gpio:
+	fetch 1,mem_bk_button_gpio
+	rtneq GPIO_DISABLE
+	call p_mouse_check_bk_key_gpio
+	branch p_mouse_check_fw_key_gpio
+	
+p_mouse_check_lkey_gpio:
+	fetcht 1,mem_lbutton_gpio
+	call p_gpio_set_input_pu
+	fetcht 1,mem_lbutton_gpio
+	call gpio_get_bit
+	setflag true,0,rega			//true = 1,input low level
+	rtn
+p_mouse_check_rkey_gpio:
+	fetcht 1,mem_rbutton_gpio
+	call p_gpio_set_input_pu
+	fetcht 1,mem_rbutton_gpio
+	call gpio_get_bit
+	setflag true,1,rega			//true = 1,input low level
+	rtn
+p_mouse_check_mkey_gpio:
+	fetcht 1,mem_mbutton_gpio
+	call p_gpio_set_input_pu
+	fetcht 1,mem_mbutton_gpio
+	call gpio_get_bit
+	setflag true,2,rega			//true = 1,input low level
+	rtn
+p_mouse_check_bk_key_gpio:
+	fetcht 1,mem_bk_button_gpio
+	call p_gpio_set_input_pd
+	fetcht 1,mem_bk_button_gpio
+	call gpio_get_bit
+	nsetflag true,3,rega
+	branch p_gpio_set_input_pu
+p_mouse_check_fw_key_gpio:
+	fetcht 1,mem_fw_button_gpio
+	call p_gpio_set_input_pd
+	fetcht 1,mem_fw_button_gpio
+	call gpio_get_bit
+	nsetflag true,4,rega
+	branch p_gpio_set_input_pu
+p_gpio_set_input_pd:
+	set0 gpio_active_bit,temp
+	arg core_gpio_pu0,contw
+	call gpio_set_bit
+	set1 gpio_active_bit,temp
+	arg core_gpio_pd0,contw
+	call gpio_set_bit
+	set0 gpio_active_bit,temp
+	arg core_gpio_oe0,contw
+	branch gpio_set_bit
+
+p_gpio_set_input_pu:
+	set1 gpio_active_bit,temp
+	arg core_gpio_pu0,contw
+	call gpio_set_bit
+	set0 gpio_active_bit,temp
+	branch p_gpio_set_input_pd+4
+	
+/*
+p_mouse_dpi_led_blink_delay_timer:
+	arg mem_mouse_dpi_led_delay_count,regc
+	arg p_mouse_dpi_led_setting,regb
+	branch timer_single_step	
+
+p_mouse_dpi_led_setting:
+	fetch 1,mem_dpi_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	setarg LED_DPI_BLINK_FIXED
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time
+	arg 0,rega
+	fetcht 1,mem_mouse_dpi_blink_count
+	//increase 1,temp
+	storet 1,mem_mouse_blink_count
+	jam UI_LED_STATE_BLINK_START,mem_mouse_led_type
+	rtn
+*/
+p_mouse_seting_dpi:
+	call p_mosue_dpi_led_blink_init
+	fetch 1,mem_config_sensor_type
+	beq P3610,mouse_seting_3610_dpi
+	beq P3212,mouse_seting_3212_dpi
+	beq P3065_XY,p_mouse_seting_3065XY_dpi
+	beq P3204,p_mouse_seting_3065XY_dpi
+p_mouse_seting_3205_dpi:
+	fetch 1,mem_mouse_dpi
+	sub pdata,MOUSE_DPI_LEVEL2,null
+	call p_mouse_3205_dpi_recount,zero
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,p_mouse_set_cpi1
+	beq MOUSE_DPI_LEVEL2,mouse_set_cpi2
+	beq MOUSE_DPI_LEVEL3,p_mouse_set_cpi3
+	beq MOUSE_DPI_LEVEL4,p_mouse_set_cpi4
+	branch p_mouse_set_cpi3
+p_mouse_3205_dpi_recount:
+	jam MOUSE_DPI_LEVEL3,mem_mouse_dpi
+	rtn
+
+p_mouse_set_cpi1:
+	jam 1,mem_mouse_dpi_blink_count
+	branch mouse_set_cpi1
+p_mouse_set_cpi3:
+	jam 2,mem_mouse_dpi_blink_count
+	branch mouse_set_cpi3
+p_mouse_set_cpi4:
+	jam 3,mem_mouse_dpi_blink_count
+	branch mouse_set_cpi4
+
+p_mouse_seting_3065XY_dpi:
+	fetch 1,mem_mouse_dpi
+	sub pdata,MOUSE_DPI_LEVEL2,null
+	call p_mouse_3065xy_dpi_recount,zero
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,p_mouse_3065xy_set_cpi1
+	beq MOUSE_DPI_LEVEL2,p_mouse_3065xy_set_cpi2
+	beq MOUSE_DPI_LEVEL3,p_mouse_3065xy_set_cpi3
+	beq MOUSE_DPI_LEVEL4,p_mouse_3065xy_set_cpi4
+	branch p_mouse_3065xy_set_cpi3
+p_mouse_3065xy_dpi_recount:
+	jam MOUSE_DPI_LEVEL3,mem_mouse_dpi
+	rtn
+p_mouse_3065xy_set_cpi1:
+	jam 1,mem_mouse_dpi_blink_count
+	fetch 1,mem_320x_dpi_1
+	increase -1,pdata
+	branch mouse_p3205_dpi
+p_mouse_3065xy_set_cpi2:
+	fetch 1,mem_320x_dpi_2
+	increase -1,pdata	
+	branch mouse_p3205_dpi	
+p_mouse_3065xy_set_cpi3:
+	jam 2,mem_mouse_dpi_blink_count
+	fetch 1,mem_320x_dpi_3
+	increase -1,pdata
+	branch mouse_p3205_dpi
+p_mouse_3065xy_set_cpi4:
+	jam 3,mem_mouse_dpi_blink_count
+	fetch 1,mem_320x_dpi_4
+	increase -1,pdata
+	branch mouse_p3205_dpi
+
+p_mouse_seting_3212_dpi:
+	fetch 1,mem_mouse_dpi
+	sub pdata,MOUSE_DPI_LEVEL2,null
+	call p_mouse_3205_dpi_recount,zero
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_p3212_cpi1
+	beq MOUSE_DPI_LEVEL2,mouse_set_p3212_cpi2
+	beq MOUSE_DPI_LEVEL3,mouse_set_p3212_cpi3
+	beq MOUSE_DPI_LEVEL4,mouse_set_p3212_cpi4
+	branch mouse_set_p3212_cpi3
+
+p_mouse_set_p3212_cpi1:
+	jam 1,mem_mouse_dpi_blink_count
+	branch mouse_set_p3212_cpi1
+p_mouse_set_p3212_cpi3:
+	jam 2,mem_mouse_dpi_blink_count
+	branch mouse_set_p3212_cpi3
+p_mouse_set_p3212_cpi4:
+	jam 3,mem_mouse_dpi_blink_count
+	branch mouse_set_p3212_cpi4
+p_mosue_dpi_led_blink_init:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_DPI_LED_BLINK
+	jam 10,mem_mouse_dpi_led_delay_count  //delay 1s led blink
+	fetch 1,mem_dpi_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	rtn
+
+p_mouse_bb_event_discovery_btn:
+	jam 0,mem_mouse_null_enter_hibernate_flag
+	jam 0,mem_mouse_null_enter_hibernate_timer
+	bmark1 mark_24g,p_mouse_switch_to_bt
+	branch mouse_bb_event_discovery_btn+1
+p_mouse_switch_to_bt:
+	call p_g24_check_51cmd_stop_24g
+	branch mouse_bb_event_discovery_btn+1
+
+
+p_le_addr_random_config:
+	call load_adc_init
+	fetch 2,mem_0_5_adc_io_data	//adc data from otp
+	branch p_le_otp_adc_empty,blank
+	store 2,mem_random_addr_increase_count
+p_le_addr_random_store:
+	branch p_mouse_store_eerpom_random_addr_increase_count
+
+p_le_otp_adc_empty:
+	setarg 0x1122
+	store 2,mem_random_addr_increase_count
+	branch p_le_addr_random_store
+
+p_mouse_start_discovery:
+	fetch 1,mem_tx_power_temp
+	store 1,mem_tx_power
+	jam 0,mem_mouse_clear_sensor_data_flag
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_ADV,p_mouse_start_discovery_norandom
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_BLE_RANDOM_ADDRE,p_mouse_start_discovery_norandom
+
+	call p_mouse_load_eeprom_random_addr_increase_count
+	fetcht 2,mem_random_addr_increase_count
+	increase 1,temp
+	storet 2,mem_random_addr_increase_count
+	storet 2,mem_le_lap+1
+	call p_mouse_store_eerpom_random_addr_increase_count
+	random pdata
+	store 1,mem_le_lap
+
+p_mouse_start_discovery_norandom:
+	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 2,mem_mouse_direct_timer
+	arg MOUSE_STORE_EEPROM_FLAG,queue
+	call mouse_enable_function_flag
+	call mouse_bt_discovery_button_down_disable
+	fetch 1,mem_device_option
+	isolate1 MODE_4_MOUSE,pdata
+	call p_check_51cmd_adv,true
+	call mouse_start_discovery_norandom+13
+	branch p_mouse_discovery_multi_led_blink
+
+p_mouse_store_eerpom_random_addr_increase_count:
+	arg 2,temp
+	arg mem_random_addr_increase_count,rega
+	arg MOUSE_RANDOM_ADDR_COUNT_EEPROM_OFFSET,regb
+	branch iicd_write_protect_eep_data
+	
+p_mouse_load_eeprom_random_addr_increase_count:
+	arg 2,temp
+	arg mem_random_addr_increase_count,rega
+	arg MOUSE_RANDOM_ADDR_COUNT_EEPROM_OFFSET,regb
+	branch iicd_read_eep_data
+
+p_check_51cmd_adv:
+	jam 0,mem_mouse_le_reconnect_flag
+	call p_le_check_adv_flag
+	setarg ADV_FLAG_BREDR_NOT_SUPPORTED |ADV_FLAG_LIMITED_DISCOVERABLE
+	istore 1,contr
+	branch check_51cmd_adv
+
+p_mouse_stop_discovery:
+	call p_mouse_discovey_led_blink_off
+	setarg 0
+	store 2,mem_mouse_discovery_timer
+	call p_mouse_sensor_poweron		//clear sensor data,confirm the motion pin high
+	branch mouse_stop_discovery+1
+
+p_le_slave_match:
+	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
+	call power_ctrl_start
+	branch le_slave_match+7
+
+p_le_next_adv_channel:
+	fetch 1,mem_le_ch_mapped
+	increase 1,pdata
+	store 1,mem_le_ch_mapped
+	rtnne 40
+	jam 37,mem_le_ch_mapped
+	rtn
+
+p_le_receive_skip:
+	call save_rssi
+	call p_rssi_signal
+	branch le_receive_skip+2
+
+p_le_update_param:
+	call p_mouse_le_conn_param_check
+	branch le_update_param+8
+p_mouse_le_lpm_mult_reinit:
+	fetch 1,mem_lpm_mult_init
+	store 1,mem_lpm_mult
+p_mouse_le_conn_param_lpm_enable:
+	jam LE_LPM_ENABLE,mem_mouse_le_conn_param_reject
+	rtn
+p_mouse_le_conn_param_lpm_disable:
+	jam LE_LPM_DISABLE,mem_mouse_le_conn_param_reject
+	rtn
+p_mouse_le_conn_param_check:
+	fetch 1,mem_le_new_conninterval
+	sub pdata,LE_INTERVAL_15MS,null
+	nbranch p_mouse_le_conn_param_lpm_disable,positive
+	fetch 1,mem_le_new_connslavelatency
+	fetcht 1,mem_lpm_mult_init
+	isub temp,null
+	branch p_mouse_le_lpm_mult_reinit,positive
+	fetch 1,mem_le_new_connslavelatency
+	store 1,mem_lpm_mult
+	branch p_mouse_le_conn_param_lpm_enable
+
+p_le_prepare_tx:
+	fetch 1,mem_le_arq
+	bbit1 wak,p_le_prepare_tx_wak
+	call power_ctrl_pac_succ_incrs	
+	fetch 1,mem_empty_count
+	nbranch p_le_send_empyt,blank
+	fetch 1,mem_le_state 
+	bbit0 lestate_encryption,p_le_tx_4
+	fetch 1,mem_le_rxbuf+1  
+	branch p_le_tx_4,blank  
+	branch le_send_empty      // send empty data when got non empty packet
+p_le_send_empyt:
+	fetch 1,mem_empty_count
+	increase -1,pdata
+	store 1,mem_empty_count
+	branch le_send_empty
+p_le_tx_4:	
+	fetch 1,mem_le_pairing_state
+	bne FLAG_LE_PAIRING_AFTER_AUTH,p_in_le_tx_4
+	jam 3,mem_empty_count
+p_in_le_tx_4:
+	call le_fifo_check_nearly_full
+	call p_mouse_data_pull,blank
+	branch le_prepare_tx+4
+
+p_le_prepare_tx_wak:
+	call p_le_check_tx_retransmit_setmd
+	branch p_le_power_ctrl_pac_succ_decrs
+
+p_le_check_tx_retransmit_setmd:
+	fetch 1,mem_le_connect_status_flag
+	and pdata,0x03,pdata
+	rtnne 0x03
+	fetch 1,mem_mouse_data_queue_num
+	rtn blank
+	fetch 1,mem_le_txlen
+	rtn blank
+	fetch 1,mem_le_txheader
+	set1 md,pdata
+	store 1,mem_le_txheader
+	call le_set_md
+	rtn
+
+	
+	
+p_le_power_ctrl_pac_succ_decrs:
+	branch power_ctrl_pac_succ_decrs
+
+p_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 10,mem_le_start_encrypt_timer
+	rtn
+
+p_le_parse_l2cap:
+	ifetch 2,contr
+	beq LE_L2CAP_CID_ATT,p_le_parse_att
+	beq LE_L2CAP_CID_SMP,p_le_parse_smp
+	branch le_parse_l2cap+11
+p_le_parse_att:
+	call store_contr
+	call p_mouse_le_reconn_write_enable_timer_reinit
+	call get_contr
+	ifetch 3,contr
+	store 3,mem_le_att_opcode
+	beq ATTOP_READ_BY_GROUP_TYPE_REQUEST,p_le_parse_att_read_by_group_type_request
+	rshift8 pdata,temp
+	sub temp,0x24,null
+	branch le_parse_att+2,positive
+	arg mem_mouse_le_uuid_sup,temp
+	storet 2,mem_ui_le_uuid_table
+	call le_parse_att+2
+	setarg 0x8e7a
+	store 2,mem_ui_le_uuid_table
+	rtn
+
+p_le_parse_att_read_by_group_type_request:
+	call le_parse_att_read_by_group_type_request
+	call le_fifo_get_last_tx_ptr
+	increase 7,contr
+	ifetch 1,contr
+	rtnne ATTOP_READ_BY_GROUP_TYPE_RESPONSE
+	increase 5,contr
+	ifetch 2,contr
+	arg UUID_SERVICE_HIDS,temp
+	isub temp,null
+	nrtn zero
+	increase -4,contr
+	setarg 0x2b
+	istore 2,contr
+	rtn
+
+p_le_parse_smp:
+	ifetch 1,contr
+	beq SMP_PAIRING_FAILED,p_le_parse_smp_pairing_failed
+	branch le_parse_smp+1
+p_le_parse_smp_pairing_failed:
+	call le_parse_smp_pairing_failed
+	fetch 1,mem_le_state	//disable update conn param
+	set0 lestate_update_param,pdata
+	store 1,mem_le_state
+	branch le_parse_terminate_ind
+
+p_le_adv_not_match:
+	fetch 1,mem_le_ch_mapped
+	bne 39,le_adv_loop
+	call p_le_adv_random_delay
+	arg le_adv_interval_timer,queue
+	fetch 2,mem_le_adv_interval
+	branch timer_init
+p_le_adv_random_delay:
+	random pdata
+	arg 0x1ff,temp
+	iand temp,pdata
+	add pdata,250,pdata
+	branch delay
+
+p_le_lpm_setmult:
+	disable wake
+	branch p_le_lpm_set_mult_attempt,attempt
+	nbranch le_lpm_lost,match
+p_le_lpm_set_mult_attempt:
+	call lpm_match
+	fetch 2,mem_rx_window_sniff
+	store 2,mem_le_receive_window
+	fetch 1,mem_le_connect_status_flag
+	compare 3,pdata,3
+	nbranch lpm_mult_short,true
+	branch le_lpm_set_mult_attempt+3
+
+p_le_mouse_bb_event_connect_complete:
+	fetch 1,mem_mouse_le_reconnect_flag
+	nrtn blank
+	fetch 1,mem_le_att_handle
+	sub pdata,26,pdata
+	nrtn zero
+	branch mouse_le_write_enable
+
+p_twspi_reset:
+	hfetch 1,core_gpio_out3
+	and_into 0xfd,pdata
+	hstore 1,core_gpio_out3
+	hfetcht 1,core_gpio_oe3
+	or_into 0x2,temp
+	hstoret 1,core_gpio_oe3
+	call twspi_disable
+	and_into 0xfd,temp
+	nop 13
+	call twspi_enable
+	hstoret 1,core_gpio_oe3
+	rtn
+
+
+
+	
+	
+p_g24_set_device_addr:
+	call adc_init_data
+//	fetch 4,mem_0_5_adc_io_data	//adc data from otp
+//	store 4,mem_24g_device_addr	
+//	nrtn blank
+	fetch 4,mem_lap
+	store 4,mem_24g_device_addr
+	rtn
+
+
+p_g24_transmit_rf_sta_init:
+	jam 1,mem_24g_rf_last_sta
+	jam 0,mem_24g_sync_cnt
+p_g24_transmit_rf_ctrl_clear:	
+	fetch 1,mem_24g_data_type
+	and_into bits_data,pdata
+	store 1,mem_24g_data_type
+	rtn
+	
+p_g24_hop_ch_enable:
+	fetch 1,mem_24g_data_type
+	set1 bit_hop,pdata
+	store 1,mem_24g_data_type
+	//update txpayload
+	store 1,mem_24g_txpayload
+	rtn
+p_g24_hop_ch_disable:
+	fetch 1,mem_24g_data_type
+	set0 bit_hop,pdata
+	store 1,mem_24g_data_type
+	rtn	
+
+p_g24_transmit_hop_pac_fail:
+	call power_ctrl_pac_succ_decrs
+	fetch 1,mem_24g_rf_work_stage
+	beq 1,p_g24_transmit_hop_pac_fail_wo_hop
+	beq 2,p_g24_transmit_hop_pac_fail_hop_stage2
+	rtn
+p_g24_transmit_hop_pac_fail_wo_hop:
+	jam 2,mem_24g_sync_cnt
+p_g24_transmit_hop_pac_fail_stage1:	
+	jam 0,mem_24g_hop_pac_retry
+	jam 0,mem_24g_rf_last_sta
+	branch p_g24_transmit_rf_ctrl_clear
+
+p_g24_transmit_hop_pac_fail_hop_stage2:
+	jam 0,mem_24g_rf_hop_ch
+	branch p_g24_transmit_hop_pac_fail_stage1
+
+	
+p_g24_transmit_pac_fail_hop_stage3:
+	fetch 2,mem_24g_txfail_cnt
+	increase 1,pdata
+	store 2,mem_24g_txfail_cnt
+	bbit1 10,p_g24_tx_attempt_fail	//1024ms * 8
+	fetch 1,mem_24g_rf_hop_ch
+	beq 1,p_g24_rf_hop_fastly
+	jam 1,mem_24g_rf_hop_ch
+p_g24_rf_hop_attemp_again:
+	fetch 1,mem_24g_rf_hop_ch
+	bne 1,p_g24_transmit_rf_ctrl_clear
+p_g24_rf_hop_fastly:
+	fetch 1,mem_24g_hop_fastly_cnt
+	increase 1,pdata
+	store 1,mem_24g_hop_fastly_cnt
+	beq 4,p_g24_rf_hop_fastly_exit
+	call p_g24_ch
+	jam 2,mem_24g_max_retry
+	branch p_g24_transmit_packet
+
+p_g24_rf_hop_fastly_exit:
+	call power_ctrl_pac_succ_decrs
+	jam 0,mem_24g_hop_fastly_cnt
+	branch p_g24_transmit_rf_ctrl_clear
+
+p_g24_transmit_hop_pac_succ_wo_hop:
+	jam 2,mem_24g_sync_cnt
+p_g24_transmit_hop_pac_succ:
+	jam 1,mem_24g_rf_last_sta
+	jam 0,mem_24g_rf_hop_ch
+	branch p_g24_transmit_rf_ctrl_clear
+
+p_g24_transmit_succ_rf_config:
+	fetch 1,mem_24g_rf_work_stage
+	beq 3,p_g24_transmit_hop_pac_succ
+	fetch 1,mem_24g_data_type
+	isolate0 bit_hop,pdata
+	branch p_g24_transmit_rf_sta_init,true
+	fetch 1,mem_24g_rf_work_stage
+	beq 1,p_g24_transmit_hop_pac_succ_wo_hop
+	beq 2,p_g24_transmit_hop_pac_succ
+	rtn
+
+p_g24_rf_sta_check:
+	fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+	call p_g24_rf_laststa_synccnt_check
+	ncall p_g24_rf_sync_cnt_check,user2
+	rtn
+
+p_g24_rf_laststa_synccnt_check:
+	disable user2
+	fetch 1,mem_24g_rf_last_sta
+	rtnne 1
+	fetch 1,mem_24g_sync_cnt
+	rtnne 0
+	jam 1,mem_24g_rf_work_stage
+	jam 4,mem_24g_max_retry
+	branch enable_user2
+
+p_g24_rf_sync_cnt_check:
+	fetch 1,mem_24g_sync_cnt
+	branch p_g24_rf_hop_attemp,blank
+	increase -1,pdata
+	store 1,mem_24g_sync_cnt
+	jam 2,mem_24g_rf_work_stage
+	call p_g24_ch
+	jam 4,mem_24g_max_retry
+	rtn
+
+p_g24_rf_hop_attemp:
+	jam 3,mem_24g_rf_work_stage
+	fetch 1,mem_24g_rf_hop_ch
+	nbranch p_g24_rf_hop_attemp_again,blank
+	call p_g24_ch
+	jam 2,mem_24g_max_retry
+	rtn
+
+p_g24_txdata_prep:
+	fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_g24_pairing_sm	
+p_g24_txdata_prep_packeage_data:
+	call p_g24_package_data
+	call p_g24_transmit_prep
+p_g24_txdata_enable_tx:
+	jam ENSURE_ON_24G,mem_24g_ensure
+	rtn
+
+p_g24_package_data:
+	fetch 2,mem_cb_24g_data
+	call callback_func
+	branch p_g24_accumulate_mouse_data,user
+	fetch 7,mem_24g_txbuf+1	//mouse data
+	rtn blank
+	branch enable_user	// retransmit
+p_g24_accumulate_mouse_data:
+	jam 0,mem_24g_abort_pac
+	add rega,1,pdata
+	store 1,mem_24g_datalen
+	call p_g24_transmit_rf_ctrl_clear
+	store 1,mem_24g_txbuf
+	ifetcht 1,contw
+	ifetch 1,regb
+	ior temp,pdata
+	istore 1,contw
+	increase 1,regb
+	arg 2,loopcnt
+p_g24_accumulation_loop:
+	ifetch 2,regb
+//	ifetcht 2,contw
+//	iadd temp,pdata
+	istore 2,contw
+	increase 2,regb
+	loop p_g24_accumulation_loop
+	arg mem_24g_txbuf+6,contw
+	arg 2,loopcnt
+p_g24_accumulation_loop2:
+	ifetch 1,regb
+	ifetcht 1,contw
+	iadd temp,pdata
+	istore 1,contw
+	increase 1,regb
+	loop p_g24_accumulation_loop2
+	rtn
+
+p_g24_transmit_packet:
+	jam 0,mem_24g_retry
+p_g24_transmit_loop:
+	arg param_rx_setup,timeup
+	until clkn_rt,meet
+	call p_g24_transmit_receive_ack
+	fetch 1,mem_24g_no_ack	//tx noack
+	rtneq no_ack_24g
+	nbranch p_g24_retransmit,sync
+	nbranch p_g24_retransmit,user3
+	call p_g24_txbuf_clear
+	call p_g24_ackpayload_parse
+	call power_ctrl_pac_succ_incrs
+p_g24_transmit_next_packet:
+	fetch 1,mem_24g_pid
+	increase 1,pdata
+	store 1,mem_24g_pid
+	fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_g24_paring_mode_start
+	call p_g24_transmit_succ_rf_config
+p_g24_transmit_abandon:
+	setarg 0
+	store 2,mem_24g_txfail_cnt
+	store 1,mem_24g_get_ack_fail
+	store 1,mem_24g_hop_pac_retry
+	jam ENSURE_OFF_24G,mem_24g_ensure
+	rtn
+
+p_g24_txbuf_clear:
+	arg 4,loopcnt
+	arg mem_24g_txbuf,contw
+	branch memset0
+
+p_g24_paring_mode_start:
+	call power_ctrl_pac_succ_cnt_init
+	branch p_g24_paring_mode
+
+p_g24_transmit_receive_ack:
+	disable user3
+	call p_g24_transmit
+	
+
+	fetch 1,mem_24g_no_ack
+	beq no_ack_24g,p_g24_transmit_no_ack	//tx no ack
+	force 0,radio_ctrl
+	fetch 4,mem_24g_addr
+	iforce access
+	fetcht 1,mem_last_freq
+	call set_freq_rx
+	call rf_rx_enable
+	call p_g24_receive_rxon
+	call p_g24_end_of_packet,user3
+	rtn
+p_g24_transmit_no_ack:
+	call p_g24_end_of_packet
+	branch p_g24_transmit_next_packet
+
+p_g24_retransmit:
+	fetch 1,mem_24g_get_ack_fail
+	increase 1,pdata
+	store 1,mem_24g_get_ack_fail
+	fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_g24_tx_paring_retry
+	fetcht 1,mem_24g_retry
+	increase 1,temp
+	storet 1,mem_24g_retry
+	fetch 1,mem_24g_max_retry
+	isub temp,pdata
+	nbranch p_g24_transmit_loop,blank
+	fetch 1,mem_24g_rf_work_stage
+	beq 3,p_g24_transmit_pac_fail_hop_stage3
+	fetch 1,mem_24g_hop_pac_retry
+	increase 1,pdata
+	store 1,mem_24g_hop_pac_retry
+	beq 2,p_g24_transmit_hop_pac_fail
+	call p_g24_hop_ch_enable
+	jam 1,mem_24g_max_retry
+	branch p_g24_transmit_packet
+
+p_g24_tx_paring_retry:
+	fetch 1,mem_24g_get_ack_fail
+	rtnne 0xff
+	jam 0,mem_24g_get_ack_fail
+	branch p_g24_stop_g24_mode
+
+p_g24_tx_attempt_fail:
+	setarg 0
+	store 2,mem_24g_txfail_cnt
+p_g24_stop_g24_mode:
+	jam BT_EVT_24G_ATTEMPT_FAIL,mem_fifo_temp
+	branch ui_ipc_send_event
+
+p_g24_ackpayload_parse:
+	call p_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
+
+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
+
+power_ctrl_start:
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_ADV
+	rtnbit1 UI_STATE_BT_RECONNECT
+	rtnbit1 UI_STATE_BT_DISCOVERY
+	
+	arg mem_rssi_signal_buf,rega
+	call p_rssi_average
+	storet 1,mem_rssi_avg_received
+
+	
+	isolate1 mark_24g,mark
+	call power_ctrl_24g_dis_max,true
+	ncall power_ctrl_le_dis_max,true
+	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_24g_dis_max:
+	setarg RSSI_DIS_MAX_24G
+	rtn
+power_ctrl_24g_dis_min:
+	setarg RSSI_DIS_MIN_24G
+	rtn	
+power_ctrl_le_dis_max:
+	setarg RSSI_DIS_MAX_BLE
+	rtn
+power_ctrl_le_dis_min:
+	setarg RSSI_DIS_MIN_BLE
+	rtn
+	
+power_ctrl_txpower_decrs_check:
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	rtnne 32
+	jam 0,mem_power_ctrl_pac_succ_cnt
+power_ctrl_txpower_decrs:
+	fetcht 1,mem_rssi_avg_received
+	isolate1 mark_24g,mark
+	call power_ctrl_24g_dis_min,true
+	ncall power_ctrl_le_dis_min,true
+	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_5DB,mem_tx_power
+	rtn
+	
+power_ctrl_decrs_level0: //-5dBm
+
+	jam TX_POWER_f5DB,mem_tx_power
+	rtn
+	
+p_g24_start_pairing_sm1:
+	set1 mark_24g,mark
+	call p_g24_pair_init
+p_g24_set_pairing_sm_1:
+	jam STATE_24G_PAIRING_1,mem_24g_pairing_sm
+	rtn
+
+p_g24_pair_init:
+	jam TX_POWER_PAIR,mem_tx_power
+	jam 0,mem_24g_pid
+	jam G24_PAIR_CH,mem_24g_ch
+	fetch 4,mem_24g_paring_addr
+	branch p_g24_update_addr_and_synccrc8
+
+p_g24_pairing_sm:
+	fetch 1,mem_24g_ensure
+	beq ENSURE_ON_24G,enable_user
+	fetch 1,mem_24g_pairing_sm
+	beq STATE_24G_PAIRING_1,p_g24_pairing_sm_1
+	beq STATE_24G_PAIRING_2,p_g24_pairing_sm_2
+	beq STATE_24G_PAIRING_3,p_g24_pairing_sm_3
+	branch assert
+
+p_g24_pairing_sm_1:
+	jam STATE_24G_PAIRING_1_WAITING_ACK,mem_24g_pairing_sm
+	jam 0xaa,mem_24g_common_temp
+	branch p_g24_pairing_sm_common
+p_g24_pairing_sm_2:
+	jam STATE_24G_PAIRING_2_WAITING_ACK,mem_24g_pairing_sm
+	jam 0x55,mem_24g_common_temp
+	branch p_g24_pairing_sm_common
+p_g24_pairing_sm_3:
+	jam STATE_24G_PAIRING_3_WAITING_ACK,mem_24g_pairing_sm
+	jam 0x22,mem_24g_common_temp
+p_g24_pairing_sm_common:
+	fetch 1,mem_24g_data_type
+	and_into bits_data,pdata
+	store 1,mem_24g_common_temp+1
+	fetch 4,mem_24g_device_addr
+	store 4,mem_24g_common_temp+2
+p_g24_put_pairing_data_in_buff:
+	jam 0,mem_24g_common_temp+6
+	arg mem_24g_common_temp,rega
+	arg 7,temp
+	call p_g24_put_data_in_buff
+	call p_g24_transmit_prep
+	call p_g24_txdata_enable_tx
+	branch enable_user
+
+p_g24_paring_mode:
+	fetch 1,mem_24g_pairing_sm
+	rtneq STATE_24G_PAIRING_SUCCESS
+	beq STATE_24G_PAIRING_1_WAITING_ACK,p_g24_pairing_sm_1_waiting_ack
+	beq STATE_24G_PAIRING_2_WAITING_ACK,p_g24_pairing_sm_2_waiting_ack
+	beq STATE_24G_PAIRING_3_WAITING_ACK,p_g24_pairing_sm_3_waiting_ack
+	rtn
+
+
+p_g24_pairing_sm_1_waiting_ack:
+	jam STATE_24G_PAIRING_2,mem_24g_pairing_sm
+	branch p_g24_transmit_abandon
+p_g24_pairing_sm_2_waiting_ack:
+	jam STATE_24G_PAIRING_3,mem_24g_pairing_sm
+	branch p_g24_transmit_abandon
+p_g24_pairing_sm_3_waiting_ack:
+	jam STATE_24G_PAIRING_SUCCESS,mem_24g_pairing_sm
+	jam BT_EVT_24G_PAIRING_COMPLETE,mem_fifo_temp
+	call ui_ipc_send_event	
+	fetch 4,mem_24g_rxpayload+2
+	call p_g24_update_addr_and_synccrc8
+	branch p_g24_transmit_abandon
+
+p_g24_start_24g_mode:
+	set0 mark_24g,mark
+	call p_g24_ch_syncword_crc8_init
+	fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+	call p_g24_tx_attemp_data_prep
+p_g24_tx_attemp_dongle:
+	setarg 0
+	store 2,mem_24g_check_dongle_times
+p_g24_tx_attemp_dongle_loop:
+	call lpo_calibration
+	nop 2000
+	fetch 1,mem_24g_check_dongle_times
+	beq 0xff,p_g24_stop_g24_mode
+	call p_g24_transmit_receive_ack
+	nbranch p_g24_attemp_txdata_retry,sync
+	nbranch p_g24_attemp_txdata_retry,user3
+p_g24_tx_attemp_dongle_succ:
+	set1 mark_24g,mark
+	setarg 0
+	store 2,mem_24g_check_dongle_times
+	jam BT_EVT_24G_ATTEMPT_SUCCESS,mem_fifo_temp
+	call ui_ipc_send_event
+	call p_g24_txbuf_clear
+	branch p_g24_transmit_by_interrupt_enable
+
+p_g24_tx_attemp_data_prep:
+	jam 0xff,mem_24g_common_temp
+	fetch 1,mem_24g_data_type
+	store 1,mem_24g_common_temp+1
+	fetch 4,mem_24g_device_addr
+	store 4,mem_24g_common_temp+2
+	arg 6,temp
+	arg mem_24g_common_temp,rega
+	call p_g24_put_data_in_buff
+	branch p_g24_transmit_prep
+	
+p_g24_attemp_txdata_retry:
+	fetch 2,mem_24g_check_dongle_times
+	increase 1,pdata
+	store 2,mem_24g_check_dongle_times
+	call p_g24_ch
+	branch p_g24_tx_attemp_dongle_loop
+
+p_g24_auto_pair_start:
+	set0 mark_24g,mark
+	call p_g24_auto_pair_all_powerful
+	call p_g24_tx_attemp_data_prep
+p_g24_auto_pair_restart:
+	jam 0,mem_24g_check_dongle_times
+p_g24_auto_pair_start_loop:
+	call lpo_calibration
+	nop 2000
+	fetch 1,mem_24g_check_dongle_times
+	beq 0xff,p_g24_stop_g24_mode
+	call p_g24_transmit_receive_ack
+	nbranch p_g24_auto_pair_retry,sync
+	nbranch p_g24_auto_pair_retry,user3
+	call p_g24_ackpayload_parse
+	fetch 1,mem_tx_power_temp
+	store 1,mem_tx_power
+	fetch 4,mem_24g_addr
+	fetcht 4,mem_24g_paring_addr
+	isub temp,null
+	branch p_g24_start_pairing_sm1,zero
+	branch p_g24_tx_attemp_dongle_succ
+
+p_g24_auto_pair_retry:
+	fetch 1,mem_24g_check_dongle_times
+	increase 1,pdata
+	store 1,mem_24g_check_dongle_times
+	fetch 1,mem_24g_auto_paring_switch
+	increase 1,pdata
+	and_into 1,pdata
+	store 1,mem_24g_auto_paring_switch
+	beq 0,p_g24_auto_pair_device_attemp
+	beq 1,p_g24_auto_pair_pair_attemp
+	rtn
+	
+p_g24_auto_pair_all_powerful:
+	jam TX_POWER_PAIR,mem_tx_power
+	setarg 0x0f0f
+	store 2,mem_24g_addr
+	istore 2,contw
+p_g24_ch_syncword_crc8_init:	
+	call p_g24_syncword_crc8
+	branch p_g24_ch
+
+p_g24_auto_pair_device_attemp:
+	call p_g24_auto_pair_all_powerful
+	branch p_g24_auto_pair_start_loop
+
+p_g24_auto_pair_pair_attemp:
+	call p_g24_pair_init
+	branch p_g24_auto_pair_start_loop
+
+p_g24_check_51cmd_stop_24g:
+	set0 mark_24g,mark
+	call le_disable
+p_mouse_disable_g24_pairing_flag:
+	arg MOSUE_24G_PAIRING_FLAG,queue
+	branch mouse_disable_function_flag
+
+p_g24_put_data_in_buff:
+	storet 1,mem_24g_datalen
+	copy temp,loopcnt
+	arg mem_24g_txbuf,contw
+	copy rega,contr
+	branch memcpy
+
+p_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
+
+
+p_set_freq_tx:
+	storet 1,mem_last_freq
+	add temp,0,rega			/* index to frequency */
+	call rf_write_freq
+	setarg param_pll_setup	//128us
+	call sleep
+p_rf_tx_enable:
+	jam 0x1,rfen_adc
+	jam 0x3c,rfen_rx
+	jam 0xe0,rfen_tx
+	nop 10 /* wait LDOs to turn ON*/
+	jam 0x01, rfen_mdm
+	jam 0x3d, rfen_mdm
+	nop 10 /* wait tx blocks to turn ON*/
+	jam 0xb7,rfen_sn
+	nop 10 /* wait tx lo buffer to turn ON*/
+	jam 0x7d, rfen_mdm
+	fetch 1,mem_tx_power
+	beq TX_POWER_0DB,p_set_tx_power_0db
+	//beq TX_POWER_3DB,p_set_tx_power_3db	
+	beq TX_POWER_5DB,p_set_tx_power_5db
+//	beq TX_POWER_f3DB,p_set_tx_power_f3db	
+	beq TX_POWER_f5DB,p_set_tx_power_f5db
+	beq TX_POWER_PAIR,p_set_tx_power_pair
+	branch p_set_tx_power_0db
+
+p_set_tx_power_0db:
+	call p_rx_low_sens
+	jam 0xba,0x894b
+	jam 0xd0,0x8955
+	jam 0xe0,0x8956
+	jam 0x88,0x8957
+	jam 0x6c,0x8958
+	jam 0x10,0x8959
+	branch set_tx_power_0db	
+/*
+p_set_tx_power_3db:
+	call p_rx_high_sens
+	jam 0xba,0x894b
+	jam 0xd0,0x8955
+	jam 0xe0,0x8956
+	jam 0x88,0x8957
+	jam 0x3c,0x8958
+	jam 0x10,0x8959
+	branch set_tx_power_3db
+*/	
+p_set_tx_power_5db:
+	call p_rx_high_sens
+	jam 0xba,0x894b
+	jam 0xd0,0x8955
+	jam 0xe0,0x8956
+	jam 0x88,0x8957
+	jam 0x3c,0x8958
+	jam 0x10,0x8959
+	branch set_tx_power_5db
+
+//p_set_tx_power_f3db:
+//	call p_rx_low_sens
+//	jam 0xba,0x894b
+//	jam 0xd0,0x8955
+//	jam 0xc0,0x8956
+//	jam 0x88,0x8957
+//	jam 0x6c,0x8958
+//	jam 0x10,0x8959
+//	branch set_tx_power_f3db
+	
+p_set_tx_power_f5db:
+	call p_rx_low_sens
+	jam 0xba,0x894b
+	jam 0xd0,0x8955
+	jam 0xc0,0x8956
+	jam 0x88,0x8957
+	jam 0x6c,0x8958
+	jam 0x10,0x8959
+	branch set_tx_power_f5db
+
+p_rx_low_sens:
+	jam 0x5b,0x894c
+	jam 0x96,0x894d
+	jam 0x2c,0x894e 
+	jam 0x46,0x894f
+	rtn
+
+p_rx_high_sens:
+	jam 0xfb,0x894c 
+	jam 0xef,0x894d
+	jam 0xec,0x894e 
+	jam 0x5e,0x894f
+	rtn
+		
+p_set_tx_power_pair:	//50-100cm distance
+	jam 0xba,0x894b
+ 	jam 0xc2,0x8956
+ 	jam 0xd0,0x8955
+	rtn	
+
+p_shutdown_radio:
+	force 8,radio_ctrl
+	branch shutdown_radio+1
+
+/* ================================== 24g common functions ============================= */
+p_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
+
+p_rssi_noise:
+	call save_rssi
+	rtn blank
+	fetcht 1,mem_rssi_noise_index
+	arg mem_rssi_noise_buffer,rega
+	call p_rssi_store
+	storet 1,mem_rssi_noise_index
+	rtn
+	
+p_rssi_store:
+	copy rega,pdata
+	iadd temp,contw
+	fetch 1,mem_rssi
+	istore 1,contw
+	increase 1,temp
+	and_into RSSI_BUF_LEN_SIGNAL,temp
+	rtn
+p_rssi_average:
+	arg 0,temp
+	arg RSSI_BUF_LEN_SIGNAL+1,loopcnt
+	copy rega,contr
+p_rssi_average_loop:
+	ifetch 1,contr
+	iadd temp,temp
+	loop p_rssi_average_loop
+	rshift3 temp,pdata
+	copy pdata,temp
+	rtnmark0 mark_24g
+	//2BCD
+	div pdata,10
+	call wait_div_end
+	quotient pdata
+	lshift4 pdata,pdata
+	remainder temp
+	ior temp,temp
+	rtn
+	rtn
+
+p_g24_update_addr_and_synccrc8:	
+	store 4,mem_24g_addr
+
+//output: 1BYTE crc8
+p_g24_syncword_crc8:
+	arg 0,rega
+	arg 4,loopcnt
+	arg mem_24g_addr,contr
+p_g24_syncword_crc8_loop:
+	ifetch 1,contr
+	iadd rega,rega
+	loop p_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
+
+
+p_g24_transmit_prep:
+
+// total length
+	fetch 1,mem_24g_datalen
+	increase 2,pdata
+	store 1,mem_24g_txlen
+// data type
+	fetch 1,mem_24g_data_type
+	store 1,mem_24g_txpayload
+//prepare 5bit payload length, 2bit PID, 1bit NO_ACK
+	fetch 1,mem_24g_datalen
+	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
+	branch memcpy
+
+p_g24_ch:
+	fetcht 1,mem_24g_current_ch_number
+	call p_g24_ch_map_size
+	storet 1,mem_24g_current_ch_number
+	rtn
+
+p_g24_ch_map_size:
+	call p_g24_ch_calc
+	increase 1,temp
+	and_into 3,temp //map size =4
+	rtn
+	
+p_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
+
+p_g24_prep:
+	disable enable_crc
+	disable enable_white
+	setarg 0x555555
+	iforce crc24_init
+	fetch 1,mem_24g_ch
+	reverse pdata,temp
+	set1 1,temp
+	rshift temp,white_init
+	rtn
+
+p_g24_receive_packet:
+	call le_enable
+	fetch 4,mem_24g_addr
+	iforce access
+	call set_sync_on
+	fetcht 1,mem_24g_ch
+	call set_freq_rx
+	setarg param_pll_setup
+	call sleep
+	call rf_rx_enable
+p_g24_receive_rxon:
+
+
+	call p_g24_prep
+	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 p_g24_sync_timeout,sync
+
+
+	disable decode_fec0
+	enable decode_fec1
+	enable enable_white
+	enable enable_crc
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	store 1,mem_24g_get_syncword_crc8
+	fetcht 1,mem_24g_syncword_crc8
+	isub temp,null
+	nbranch p_g24_end_of_packet,zero
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	store 1,mem_24g_rxbuf	//device id
+	fetch 1,mem_24g_mode
+	sub pdata,rx_24g,null
+	branch p_g24_receive_skip,zero
+	fetch 1,mem_24g_rxbuf
+	fetcht 1,mem_24g_data_type
+	icompare bits_data,temp
+	nbranch p_g24_end_of_packet,true
+p_g24_receive_skip:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	rshift3 pdata,pdata
+	and pdata,0x1f,loopcnt	//max payload: 32bytes
+	branch p_g24rx_nopayload,zero
+p_g24rx_loop:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	loop p_g24rx_loop
+p_g24rx_nopayload:
+	//receive rssi hex
+	copy contw,rega
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	store 1,mem_rssi_hex_received
+	copy rega,contw
+	parse demod,bucket,24
+	enable swfine
+	arg param_sifs,stop_watch	
+	rshift32 pdata,pdata
+	rshift16 pdata,pdata
+	istore 3,contw
+	disable decode_fec1
+	branch p_g24_end_of_packet,crc_failed
+
+
+	enable user3
+	fetch 1,mem_last_freq
+	add pdata,0,rega
+	call rf_write_freq
+	disable decode_fec0
+	call set_sync_on
+	fetch 1,mem_rssi_hex_received
+	call p_rssi_signal
+	rtn
+	
+p_g24_end_of_packet:
+	disable encode_fec1
+	disable decode_fec1
+	call end_of_packet
+	rtn
+
+p_g24_sync_timeout:
+	branch p_g24_end_of_packet
+
+p_g24_set_freq_tx:
+	call set_sync_on
+	fetcht 1,mem_24g_ch
+	branch set_freq_tx
+
+p_g24_transmit:
+	call le_enable
+	fetch 4,mem_24g_addr
+	iforce access
+	call p_g24_prep
+	call p_g24_set_freq_tx
+	set1 TXGFSK,radio_ctrl
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+
+	
+	rshift16 access,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,pdata
+	inject mod,40
+	disable encode_fec0
+	enable encode_fec1
+	enable enable_white
+	enable enable_crc
+	fetch 1,mem_24g_syncword_crc8
+	inject mod,8
+	fetch 1,mem_24g_txlen
+	iforce loopcnt
+	arg mem_24g_txpayload,contr
+p_g24tr_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop p_g24tr_loop
+
+
+	enable enable_parity
+	inject mod,24	//crc
+	disable enable_parity
+	until null,tx_clear
+	nop 100
+	disable encode_fec0
+	disable encode_fec1
+	rtn
+
+
+
+p_mouse_data_init:
+	jam 7,mem_mouse_data_queue	//data length
+	jam 4,mem_mouse_data_queue+1	//fifo depth
+	setarg mem_mouse_data_queue
+	store 2,mem_queue_ptr
+	branch queue_init
+
+p_mouse_data_push:
+	arg mem_mouse_key,rega
+	call queue_push
+	call p_mouse_queue_increase,user
+	
+	rtn
+p_mouse_queue_increase:
+	fetch 1,mem_mouse_data_queue_num
+	increase 1,pdata
+	store 1, mem_mouse_data_queue_num
+	rtn
+	
+p_mouse_data_pull:
+	arg mem_mouse_key,rega
+	call queue_pop
+	branch p_mouse_fill_data_le,user
+	rtn
+
+p_mouse_fill_data_le:
+	call le_clear_md
+	fetch 1,mem_mouse_data_queue_num
+	sub pdata,1,null
+	ncall le_set_md,positive
+	fetch 1,mem_mouse_data_queue_num
+	rtn blank
+	increase -1,pdata
+	store 1, mem_mouse_data_queue_num
+	branch mouse_fill_data_le
+
+/*
+p_le_savelist:
+	fetch 1,mem_mouse_key
+	bbit0 0,p_le_savelist1
+	fetch 1,mem_lpm_mode
+	bbit1 1,p_le_savelist1
+	jam 0,mem_seqi
+p_le_savelist1:
+	fetch 4,mem_sync_clke
+	store 4,mem_pdatatemp
+	deposit auxcnt
+	istore 1,contw
+	fetch 1,mem_le_ch_mapped
+	istore 1,contw
+	fetch 2,mem_le_event_count
+	arg 0x0fff,contr
+	iand contr,pdata
+	setflag match,15,pdata
+	setflag wake,14,pdata
+	setflag sync,13,pdata
+	setflag attempt,12,pdata
+	istore 2,contw
+
+
+p_save1:
+	call p_savelist1
+	fetch 1,mem_context
+	rtnbit0 state_inconn
+	fetch 1,mem_lpm_mode
+	rtnbit1 1
+	fetch 1,mem_mouse_z
+	rtn blank
+	jam 3,mem_lpm_mode
+	jam 0,mem_seqi
+	rtn
+
+
+p_savelist:
+	store 8,mem_pdatatemp
+p_savelist1:
+	fetch 1,mem_seqi
+	rtneq 0x7f
+	and_into 0x7f,pdata
+	lshift3 pdata,pdata
+	arg 0x4c00,contw
+	iadd contw,contw
+	fetch 8,mem_pdatatemp
+	istore 8,contw
+	fetch 1,mem_seqi
+	isolate1 7,pdata
+	increase 1,pdata
+	and_into 0x7f,pdata
+	setflag true,7,pdata
+	store 1,mem_seqi
+	fetch 8,mem_pdatatemp
+	rtn	
+
+
+p_hci_log:
+	fetch 1,0x4c00
+	increase 1,pdata
+	sub pdata,50,null
+	branch p_hci_log_calc_ptr,positive
+	setarg 0
+p_hci_log_calc_ptr:
+	store 1,0x4c00
+	arg 8,temp
+	imul32 temp,pdata
+	arg 0x4c08,contw
+	iadd contw,contw
+p_hci_log_write_content:
+	fetch 1,0x4c00
+	istore 1,contw//counter
+	fetch 4,mem_24g_txbuf+2
+	istore 4,contw
+	rtn
+*/
+
+
+
+
+/******************************************/
+/***********   ROM Start   ***************/
+/******************************************/
+
+org 0x2000		// start from rom address start
+start:
+	call lpmstate
+
+soft_reset:
+	bpatch patch00_0,mem_patch00
+	clear_stack
+	call spi_ncs_gpio_init  // 0xff disable spi ncs gpio init
+	call initialize_radio
+	call iicd_init_12m
+	call init_param
+	call l2cap_init
+	bpatch patch00_1,mem_patch00
+	call rfcomm_init
+	call init_lmp
+	call ui_init
+	call app_init
+	ncall load_chip_option,wake
+	bpatch patch00_2,mem_patch00
+	call app_lpm_init,wake
+	call publickey_init
+	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_dispatch
+	bpatch patch00_4,mem_patch00
+	call idle_dispatch
+	call app_process_idle
+	call inquiry_dispatch
+	call inquiry_scan_dispatch
+	call page_scan_dispatch
+	call connection_dispatch
+	call lpm_dispatch
+	call g24_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
+	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
+	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:
+	bpatch patch01_7,mem_patch01
+inquiry_receive_eir_rtn:
+	fetch 1,mem_inquiry_rcv
+	increase 1,pdata
+	store 1,mem_inquiry_rcv
+	rtn
+		
+/******************************************/
+/**************  Master Dispatch  *************/
+/******************************************/
+
+
+
+master_page:
+	bpatch patch02_0,mem_patch02
+	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_1,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_2,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_3,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_4,mem_patch02
+	branch page_exit,timeout
+	call fetch_page_bt_adr
+	arg param_rf_setup, timeup
+	until clkn_rt,meet         /* wait for the start_receiver time against native real clk  */
+page_rx_restart:
+	bpatch patch02_5,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_6,mem_patch02
+	disable master
+	fetch 2,mem_page_interval      
+	rtn blank
+	force page_interval_timer,queue
+	branch timer_init              
+
+page_check_train:
+	bpatch patch02_7,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 patch03_0,mem_patch03
+	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_1,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_2,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_3,mem_patch03
+	fetch 1, mem_page_rcv_fhs
+	increase 1,pdata
+	store 1, mem_page_rcv_fhs
+	call prepare_newconn
+master_newconn_loop:
+	call master_newconn_once
+	branch newconn_poll_responded,sync
+	call new_conn_timeout
+	nbranch master_newconn_loop,blank
+	branch page_restart
+
+newconn_poll_responded:
+	bpatch patch03_4,mem_patch03
+	fetch 1,mem_state
+	set0 state_inpage,pdata
+	store 1,mem_state
+	call newconn_init
+	disable master
+	rtn
+	
+
+master_dispatch:
+	bpatch patch03_5,mem_patch03
+	enable master
+	enable clknt
+	call role_switch_master
+	rtn user
+	call check_bt_disabled
+	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_6,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_7,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 patch04_0,mem_patch04
+	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_1,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_2,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_3,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_4,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
+	bpatch patch04_5,mem_patch04
+	storet 4,mem_sniff_anchor
+role_switch_prepare0:
+	jam SWITCH_FLAG_ACCEPT,mem_switch_flag
+	setarg 0xffff
+	store 2,mem_tsniff
+	jam 1,mem_sniff_attempt
+	rtn
+
+
+role_switch_master:
+	bpatch patch04_6,mem_patch04
+	call role_switch_check
+	nrtn user
+	disable user
+	jam param_newconnto,mem_newconnto_counter
+	set0 mark_fhs_already_good,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
+role_switch_fail_master:
+	bpatch patch04_7,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 patch05_0,mem_patch05
+	call rf_setup_time_slave_slot
+	arg type_id,type
+	call master_send_packet
+	disable clknt
+	disable master
+	call apply_switch_clke
+	call prepare_newconn
+roles_newconns_loop:
+	bpatch patch05_1,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_2,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_3,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_4,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_5,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_6,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_le_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_nexthop
+	
+
+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_7,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 patch06_0,mem_patch06
+	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_1,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_2,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_3,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_4,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_5,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_6,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
+	arg param_rf_setup, timeup
+	until clke_rt,meet
+	or_into 0x03,clke_bt
+	and_into 0x1fd,bt_clk
+page_scan_wait_fhs_restart:
+	bpatch patch06_7,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 patch07_0,mem_patch07
+	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_1,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_2,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_3,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_4,mem_patch07
+	call calc_clke
+	call role_switch_slave
+	rtn user
+slave_loop:
+	bpatch patch07_5,mem_patch07
+	call check_bt_disabled
+	call scheduler_process
+	call slave_conn_recv_packet	/* go listen for a packet */
+	nbranch slave_notmatch,match
+	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_6,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_7,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:
+	bpatch patch08_0,mem_patch08
+	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 patch08_1,mem_patch08
+	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_2,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_3,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_4,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_5,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_6,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_7,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 patch09_0,mem_patch09
+	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_initialize
+	fetch 1,mem_state
+	set0 state_inconn
+	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 patch09_1,mem_patch09
+	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_2,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_3,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_4,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_5,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
+	branch set_wait_ack
+prepare_tx_sendl2cap:
+	call tx_l2cap_type
+
+set_wait_ack:
+	bpatch patch09_6,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_7,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
+	arg param_pll_setup,temp
+	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 patch0a_0,mem_patch0a
+	fetch 2,mem_rx_window
+	rshift pdata,pdata
+	call ahead_window
+	call start_receiver
+	enable decode_fec0
+	fetch 2,mem_rx_window
+	arg param_clke_cal,temp
+	iadd temp,stop_watch
+	correlate null,timeout
+	copy clke,temp
+	storet 6,mem_sync_clke
+	disable decode_fec0
+	nrtn sync
+	arg param_clke_cal,clke_rt
+	copy bt_clk,clke_bt
+	branch lpm_adjust_clk,wake
+	rtn
+	
+
+slave_conn_recv_packet:
+	bpatch patch0a_1,mem_patch0a
+	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:
+	rshift bt_clk,temp
+	or temp,0x40,white_init
+receive_packet_whitened:
+	bpatch patch0a_2,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_3,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_4,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
+	fetcht 1,mem_saved_amaddr
+	icompare 0x7,temp
+	nbranch end_of_packet,true
+	fetch 1,mem_arq    /* mem_arq + am_addr */
+	set0 arqnx,pdata
+	set1 flowx,pdata
+	store 1,mem_arq
+am_addr_match:
+	enable match
+am_addr_ok:
+	bpatch patch0a_5,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_6,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_7,mem_patch0a
+	deposit type
+	beq type_dm1, process_dm1
+	beq type_dh1, process_dh1
+	beq type_hv3, process_hev
+	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_hev:
+	bpatch patch0b_0,mem_patch0b
+	enable decode_fec0
+	enable enable_crc
+	enable encrypt
+	arg mem_sco_ibuf,contw
+	force 30,loopcnt
+process_hev_loop:	
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	loop process_hev_loop
+	bmark0 mark_esco,end_of_packet
+	parse demod,bucket,16  /* cycle through the crc */
+	nsetflag crc_failed,mark_esco_rxok,mark
+	branch error_payload,crc_failed
+	branch ack_payload
+
+
+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 patch0b_1,mem_patch0b
+	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 patch0b_2,mem_patch0b
+	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_3,mem_patch0b
+	deposit loopcnt
+	store 2,mem_len
+	branch process_dmh_data_end,blank
+	isub mask3ff,null
+	branch error_payload,positive	/* packet too large, discard */
+	bpatch patch0b_4,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_data
+	//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_lmp:
+	fetch 2,mem_len
+	sub pdata,0x70,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_5,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_6,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_7,mem_patch0b
+	parse demod,bucket,16  /* cycle through the crc */
+	branch error_payload_crc,crc_failed
+	fetch 1,mem_l2cap_flow_ctrl_flag
+	beq L2CAP_FLOW_CTRL_ENABLE,end_of_packet
+	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 patch0c_0,mem_patch0c
+	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
+	beq 0,assert
+	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
+	beq 0,assert
+	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 patch0c_1,mem_patch0c
+	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 patch0c_2,mem_patch0c
+	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_3,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
+	
+discard_pkt:
+	bpatch patch0c_4,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
+	branch  h4_send_acl_trigger_clear
+
+redundant_payload:
+	fetch 1,mem_arq
+	set1 arqnx,pdata
+	store 1,mem_arq
+end_of_packet:
+	bpatch patch0c_5,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_6,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_7,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
+	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 patch0d_0,mem_patch0d
+	fetch 1,mem_arq
+	rtnbit0 wack
+	set0 wack,pdata
+	setflip seqnx,pdata
+	store 1,mem_arq
+	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 patch0d_1,mem_patch0d
+	fetch 1,mem_lmo_header_opcode
+	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_SCO_LINK_REQ,sco_link_req_by_slave
+	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
+	
+// nokia BH-105  CALLING when reconnection
+sco_link_req_by_slave:
+	rtn master
+	fetch 1,mem_mode
+	isolate1 send_sco_when_slave,pdata
+	branch clean_mem_mode,true
+	//jam LMP_REMOVE_SCO_LINK_REQ,mem_lmo_opcode2
+	rtn
+clean_mem_mode:
+	set0 send_sco_when_slave,pdata
+	store 1,mem_mode
+	rtn
+	
+start_encryption:
+	bpatch patch0d_2,mem_patch0d
+	fetch 1,mem_state_map
+	set1 smap_encryption,pdata
+	store 1,mem_state_map
+	jam 1,core_encrypt
+	fetch 1,mem_state
+	isolate1 state_conn_comp,pdata
+	rtn
+
+stop_encryption:
+	bpatch patch0d_3,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_4,mem_patch0d
+	copy clkn_bt,pdata
+	store 4,mem_lpm_delay_after_sniff
+	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_5,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_6,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:
+	fetch 1,mem_sco_poll
+	increase -1,pdata
+	store 1,mem_sco_poll
+	nbranch check_attempt_nomore,blank
+	jam param_sco_poll,mem_sco_poll
+	branch check_attempt_notimeout
+
+
+
+
+
+	
+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_7,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 patch0e_0,mem_patch0e
+	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 patch0e_1,mem_patch0e
+	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 patch0e_2,mem_patch0e
+	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_3,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_4,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_5,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_hv3, transmit_hev
+	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_hev:
+	bpatch patch0e_6,mem_patch0e
+	enable encode_fec0
+	enable enable_crc
+	enable encrypt
+	force 30,loopcnt
+	arg mem_sco_obuf,contr
+transmit_ev_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop transmit_ev_loop
+	bmark1 mark_esco,transmit_end
+	branch end_of_packet
+	
+transmit_fhs:
+	bpatch patch0e_7,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:    /* expect the payload ready as in bb spec */
+	bpatch patch0f_0,mem_patch0f
+	enable encrypt
+	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 */
+transmit_lmp_loop:
+	add temp,-72,regc   /* regc is remainder */
+	nbranch transmit_lmp_finish,positive
+	ifetch 9,contr
+	inject mod,72
+	copy regc,temp
+	branch transmit_lmp_loop
+transmit_lmp_finish:
+	ifetch 9,contr
+	iinject mod,temp
+	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 patch0f_1,mem_patch0f
+	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:
+	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 patch0f_2,mem_patch0f
+	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_rxbuf,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
+	hfetcht 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_3,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:
+	arg 3750,temp
+	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 wait_div_end
+	quotient pdata
+	store 2,mem_slot_offset
+	rtn
+
+calc_clke_offset:
+	bpatch patch0f_4,mem_patch0f
+	deposit clke
+	copy clkn,temp
+	isub temp,null
+	nsetflag positive,44,pdata
+	isub temp,temp
+	setarg 3750
+	isolate0 15,temp
+	branch calc_clke_pos,true
+	setarg -61786
+	iadd temp,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
+	setarg 3750
+	isub alarm,pdata
+	isolate0 15,pdata
+	branch calc_clke_pos_adj,true
+	setarg 0xf15a
+	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_radio_freq:
+	bpatch patch0f_5,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_6,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_7,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 patch10_0,mem_patch10
+	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 patch10_1,mem_patch10
+	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 patch10_2,mem_patch10
+	fetch 1,mem_hci_puap
+	icopy uap
+	fetch 3,mem_hci_plap
+	icopy lap
+	rtn
+
+fetch_self_bt_adr:
+	bpatch patch10_3,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_4,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_5,mem_patch10
+	branch shutdown_radio0,is_rx
+	jam 0xd4, rf_tx_pa_ib
+	nop 4
+	jam 0xd2, rf_tx_pa_ib
+	nop 4
+	jam 0xd1, rf_tx_pa_ib
+	nop 4	
+	fetch 1,mem_tx_power
+	beq TX_POWER_0DB,shutdown_radio_0db
+	beq TX_POWER_3DB,shutdown_radio_3db
+	beq TX_POWER_5DB,shutdown_radio_5db
+	beq TX_POWER_f3DB,shutdown_radio_f3db
+	beq TX_POWER_f5DB,shutdown_radio_f5db
+	beq TX_POWER_PAIR,shutdown_radio_pair
+shutdown_radio_5db:	
+shutdown_radio_0db:
+	jam 0xd0, rf_tx_pa_ib
+	jam 0xe0, rf_tx_pa_gc
+shutdown_radio0:
+	force 0,radio_ctrl
+	disable is_rx
+	disable is_tx
+	pulse packet_end
+	jam 0x0,rfen_mdm
+	jam 0x0,rfen_tx
+	jam 0x0,rfen_rx
+	jam 0,rfen_sn
+	jam 0x70,rfen_msc
+	jam 0x0,rfen_adc
+	rtn
+	
+shutdown_radio_pair:
+shutdown_radio_f5db:
+shutdown_radio_f3db:
+shutdown_radio_3db:
+	jam 0xd0,rf_tx_pa_ib
+	jam 0xc0,rf_tx_pa_gc
+	branch shutdown_radio0
+
+set_sync_on:
+	bpatch patch10_6,mem_patch10
+	jam 0x0,rfen_mdm					/* if called from tx or rx */
+	jam 0x0,rfen_tx
+	jam 0x18,rfen_rx
+	jam 0xa7,rfen_sn
+	jam 0x7f,rfen_msc
+	rtn
+
+set_freq_rx:
+	bpatch patch10_7,mem_patch10
+		/* IF is +2MHz */
+	storet 1,mem_last_freq
+	add temp,rx_freq_offset,rega			/* index to frequency */
+	jam 0x07,rf_balun_ctrim                                         /*Max added, for best sensitivity*/
+	branch rf_write_freq
+rf_rx_enable:
+	bpatch patch11_0,mem_patch11
+	jam 0xcf,rfen_tx
+	nop 10					/* wait adc clk48 ready */
+	jam 0xff,rfen_rx
+	jam 0xaf,rfen_sn
+	jam 0xff,rfen_msc
+	nop 10
+	jam 0xa0,rfen_mdm
+	rtn
+	
+set_freq_tx_offset:
+	fetch 1,mem_250k_freq_enable	//default: 0
+	branch set_freq_tx_2M_offset,blank
+set_freq_tx_0M_offset:
+	add temp,2,rega			//250k
+	rtn
+set_freq_tx_2M_offset:
+	add temp,0,rega			// bt 2M Medium Frequency
+	rtn
+
+set_freq_tx:
+	bpatch patch11_1,mem_patch11
+	storet 1,mem_last_freq
+	call set_freq_tx_offset
+	call rf_write_freq
+	setarg param_pll_setup
+	call sleep
+txon:	
+	jam 0x1,rfen_adc
+	jam 0x3c,rfen_rx
+	jam 0xe0,rfen_tx
+	jam 0x12,rf_balun_ctrim
+	nop 10
+	jam 0x01,rfen_mdm
+	jam 0x3d,rfen_mdm
+	nop 10
+	jam 0xb7,rfen_sn
+	nop 10
+	jam 0x7f, rfen_mdm
+txon_power_select:	
+	fetch 1,mem_tx_power
+	beq TX_POWER_0DB,set_tx_power_0db
+	beq TX_POWER_3DB,set_tx_power_3db	
+	beq TX_POWER_5DB,set_tx_power_5db
+	beq TX_POWER_f3DB,set_tx_power_f3db	
+	beq TX_POWER_f5DB,set_tx_power_f5db
+	beq TX_POWER_PAIR,set_tx_power_pair
+set_tx_power_0db:	
+	jam 0xf0,rf_tx_pa_gc
+	call txon_common
+	jam 0xd8,rf_tx_pa_ib
+	rtn
+
+set_tx_power_3db:
+	jam 0xdf,rf_tx_pa_gc
+	call txon_common
+	jam 0xdf,rf_tx_pa_ib
+	rtn
+
+set_tx_power_5db:
+	jam 0xff,rf_tx_pa_gc
+	call txon_common
+	jam 0xdf,rf_tx_pa_ib
+	rtn
+set_tx_power_f3db:
+	jam 0xce,rf_tx_pa_gc
+	call txon_common
+	jam 0xd8,rf_tx_pa_ib
+	rtn
+
+set_tx_power_f5db:
+	jam 0xcb,rf_tx_pa_gc
+	call txon_common
+	jam 0xd8,rf_tx_pa_ib
+	rtn
+
+set_tx_power_pair:
+	jam 0xd0,rf_tx_pa_ib
+	jam 0xc0,rf_tx_pa_gc
+	jam 0x4c,0x8957
+	jam 0x6c,0x8958
+	jam 0x50,0x8959
+	rtn
+
+txon_common:
+	nop 4
+	jam 0xd1,rf_tx_pa_ib
+	nop 4
+	jam 0xd2,rf_tx_pa_ib
+	nop 4
+	jam 0xd4,rf_tx_pa_ib
+	rtn
+
+
+initialize_radio:
+	jam clksel_rc,core_clksel
+initialize_radio_wait:
+	fetch 2,mem_rf_init_ptr
+	bbit0 14,initialize_radio_wait
+	iforce contr
+	arg 0x8900,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_2,mem_patch11
+	call lpm_cal_xtal_startup
+	call switchto_dpllclk
+//	ncall check_dpll,wake
+	setarg param_dpll_start_delay
+	iadd clkn_bt,pdata
+	store 4,mem_dpll_clkn
+	set1 RESET,radio_ctrl
+	force 0,radio_ctrl
+	ncall do_rccal,wake
+	branch set_rccal
+
+	/* rega is frequency, 00=2400Mhz */
+rf_write_freq:
+	bpatch patch11_3,mem_patch11
+	setarg 2400
+	iadd rega,temp
+	fetch 1,mem_fcomp_mul
+	jam 0x04,rf_pll_rstn
+	imul32 temp,pdata
+	fetcht 1,mem_fcomp_div
+	idiv temp
+	call wait_div_end
+	quotient rega			/* rega is FLOOR(FVCO/fcomp) */
+	remainder pdata		
+	lshift16 pdata,pdata
+	lshift4 pdata,pdata		/* pdata is frac * 2^20 */
+	idiv temp
+	call wait_div_end
+	quotient pdata		/* pdata is frac *2^20/fcomp */
+	lshift8 pdata,pdata
+	lshift pdata,pdata
+	ior rega,pdata
+	hstore 4,rf_pll_intg
+	jam 0x44,rf_pll_rstn
+	jam 0xc4,rf_pll_rstn
+	rtn
+
+	
+do_rccal:
+	bpatch patch11_4,mem_patch11
+	jam 0x02,rfen_adc
+	setarg 250000
+	call sleep					/* wait clkpll&xtal stable */
+	jam 0x7f,rfen_rx
+	nop 130
+	jam 0x30,rf_rccal_ctrl
+	jam 0xd0,rfen_tx
+	jam 0x70,rf_rccal_ctrl
+	jam 0xf0,rf_rccal_ctrl
+	force 50,loopcnt
+do_rccal_loop:
+	hfetch 1,rf_rccal_result
+	bbit1 5,do_rccal_end
+	loop do_rccal_loop
+do_rccal_end:
+	store 1,mem_rf_rccal
+	jam 0,rfen_tx
+	jam 0,rfen_rx
+	jam 0x00,rfen_adc
+	rtn
+
+set_rccal:
+	bpatch patch11_5,mem_patch11
+	fetch 1,mem_rf_rccal
+	set1 5,pdata
+	hstore 1,rf_rccal_ctrl
+	hfetcht 1,rf_bpf_ctrim
+	and_into 7,temp
+	lshift3 pdata,pdata
+	ior temp,pdata
+	hstore 1,rf_bpf_ctrim
+	hfetch 1,rf_bpf_ib
+	set0 bpf_rccal,pdata
+	hstore 1,rf_bpf_ib
+	hfetch 1,rf_adc_rccal
+	set0 adc_rccal,pdata
+	hstore 1,rf_adc_rccal
+	rtn
+
+save_rssi:
+	bpatch patch11_6,mem_patch11
+	hfetch 2,rf_afc_d2a
+	rshift4 pdata,pdata
+	rshift3 pdata,pdata
+	sub pdata,0,pdata
+bcd:
+	and_into 0xff,pdata
+	div pdata,10
+	call wait_div_end
+	quotient pdata
+	lshift4 pdata,pdata
+	remainder temp
+	ior temp,pdata
+	store 1,mem_rssi			/* bcd value */
+	rtn
+
+	
+switchto_dpllclk:
+	jam clksel_rc,core_clksel
+	hfetch 1,rf_clkpll_frac+2
+	set0 4,pdata
+	set0 5,pdata
+	hstore 1,rf_clkpll_frac+2
+	jam 0x00,rfen_ck
+	jam 0x00,rfen_msc
+	jam 0x70,rfen_msc
+	jam 0xff,rfen_ck
+	hfetch 1,rf_clkpll_frac+2
+	set1 4,pdata
+	set1 5,pdata
+	hstore 1,rf_clkpll_frac+2
+	call init_lpm_ctrl
+	hfetch 1,rf_clkpll_int
+	set1 7,pdata
+	hstore 1,rf_clkpll_int
+	set0 7,pdata
+	hstore 1,rf_clkpll_int
+	set1 7,pdata
+	hstore 1,rf_clkpll_int
+	jam clksel_dpll,core_clksel
+	nop 1
+	jam clksel_xtal,core_clksel
+	hfetch 1,rf_clkpll_frac+2
+	and_into 0xcf,pdata
+	hstore 1,rf_clkpll_frac+2
+	or_into 0x30,pdata
+	hstore 1,rf_clkpll_frac+2
+	rtn
+
+	
+xtal_fast_wake:
+	setarg 0xf0f
+	branch lpm_write_config
+
+init_lpm_ctrl:
+	setarg 0x80f
+	branch lpm_write_config
+
+
+
+start_receiver:
+	bpatch patch11_7,mem_patch11
+	call rf_rx_enable
+	disable is_tx
+	enable is_rx
+	pulse init_encrypt
+	rtn
+
+prep_crypt:
+	bpatch patch12_0,mem_patch12
+	fetch 1,mem_state_map
+	isolate1 smap_encryption,pdata
+	setflag true,0,pdata
+	hstore 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
+	
+wait_access_end:
+	deposit clke
+	store 6,mem_sync_clke
+	disable decode_fec0
+	nbranch shutdown_radio,sync
+	arg param_clke_cal,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 patch12_1,mem_patch12
+	arg param_conn_access,timeup	/* 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_2,mem_patch12
+	enable decode_fec0
+	correlate null,timeout    /* keep correlating until sync is found, or timeout */
+	disable decode_fec0
+	nbranch shutdown_radio,sync
+	arg param_clke_cal,clke_rt
+	and_into 0x1fc,clke_bt
+	rtn
+
+	/* reserve slots for mult-slot packet */
+reserve_slot:
+	bpatch patch12_3,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_4,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_5,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_6,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_7,mem_patch12
+	arg param_rf_setup,timeup
+	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 patch13_0,mem_patch13
+	call prep_crypt
+	disable is_rx
+	enable is_tx
+	rtn
+
+
+
+start_tx_native:
+	bpatch patch13_1,mem_patch13
+	arg param_tx_setup,timeup
+	until clkn_rt,meet         /* wait until start_tx time */
+	pulse init_encrypt
+	rtn
+
+start_rx_native:
+	bpatch patch13_2,mem_patch13
+	arg param_rx_setup,timeup
+	until clkn_rt,meet
+	rtn
+
+
+start_tx_external:
+	bpatch patch13_3,mem_patch13
+	arg param_tx_setup,timeup
+	until clke_rt,meet         /* wait until start_tx time */
+	pulse init_encrypt
+	rtn
+
+send_access_word:
+	bpatch patch13_4,mem_patch13
+	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_5,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_6,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_7,mem_patch13
+	call get_clkbt
+	store 4,mem_supervision_timer
+	rtn
+
+assert:
+	bpatch patch14_0,mem_patch14
+	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
+	bpatch patch14_1,mem_patch14
+	jam 0,mem_connection_options
+	jam 0,mem_tester_emulate
+	jam 0,mem_tester_cnt
+	setarg param_glap
+	store 3,mem_glap
+	setarg param_acl_pktlen
+	store 2,mem_acl_pktlen
+	jam param_sco_pktlen,mem_sco_pktlen
+	jam param_acl_pktcnt,mem_acl_pktcnt
+	jam param_sco_pktcnt,mem_sco_pktcnt
+	setarg param_hci_version
+	store 3,mem_hci_version
+//	setarg param_lmp_version
+//	store 3,mem_lmp_version
+//	setarg param_lmp_subversion
+//	store 2,mem_lmp_subversion
+	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 */
+	fetch 1,mem_ssp_enable
+	ncall init_memp,blank
+	fetch 1,mem_le_secure_connect_enable
+	ncall init_memp_256,blank
+	bpatch patch14_2,mem_patch14
+	rtn wake
+	setarg 0
+	store 2,mem_tx_len
+	rshift clkn_bt,pdata
+	store 4,mem_last_clkn
+	rtn
+
+
+
+
+/*****************************************LPO************************************************/
+
+lpmstate:
+	setarg 0xee21
+	hstore 2,core_clkoff			// disable unused peripherals
+	hfetch 4,core_gpio_in
+	store 4,mem_saved_gpio_in
+	hfetch 1,core_lpm_ldocnt
+	store 1,mem_wakup_from_power_flag
+	bbit0 gpio_latch,loadcode		// power up boot
+	enable wake
+	bbit0 cold_wake,lpmwake		
+	disable wake
+	deposit auxcnt
+	nbranch lpmwake,blank		// sleep interrupted, wakeup
+	hfetch 1,core_lpm_ctrl + 3
+	bbit1 reload_code,lpmwake
+	arg param_hibernate_clks,temp
+	branch lpm_enter_sleep
+lpmwake:
+	hfetch 3,core_lpm_xtalcnt
+	hstore 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
+	hfetch 1,core_lpm_isogate
+	set1 enable_retmem,pdata
+	hstore 1,core_lpm_isogate
+	call lpm_write_ctrl2
+	call lpm_load_context,wake
+	hfetch 1,core_lpm_reg+2
+	set0 gpio_latch,pdata			// enable gpio fuction
+	hstore 1,core_lpm_reg+2
+	call lpm_write_ctrl2
+	nbranch loadcode,wake		// wakeup from hibernate
+	rtnmark0 mark_otp_encrypt
+	jam lock_otp,core_misc_ctrl	// disable further read/write of key
+	rtn 
+
+lpm_load_context:
+	fetch 1,mem_saved_spidctrl
+	hstore 1,core_spid_ctrl
+	fetch 3,mem_saved_gsel
+	hstore 3,core_gpio_sel
+	fetch 4,mem_saved_gpio+4
+	hstore 4,core_gpio_out0
+	fetch 4,mem_saved_gpio
+	hstore 4,core_gpio_oe0
+	fetch 8,mem_saved_gpio+8
+	hstore 8,core_gpio_pu0	
+	fetch 8,mem_saved_mark
+	iforce mark
+	hfetch 8,core_gpio_wakeup_low
+	store 8,mem_gpio_wakeup_low
+	call load_ucode
+	rtn
+
+lpm_save_context:
+	deposit mark
+	store 8,mem_saved_mark
+	hfetch 8,core_gpio_oe0
+	store 8,mem_saved_gpio
+	ifetch 8,contr
+	istore 8,contw
+	hfetch 3,core_gpio_sel
+	store 3,mem_saved_gsel
+	hfetch 1,core_spid_ctrl
+	store 1,mem_saved_spidctrl
+	branch lpm_write_gpio_wakeup
+
+lpo_calibration:
+	hfetch 1,core_bist_ctrl
+	nbranch lpo_cal_inited,blank
+	fetch 3,mem_clks_per_lpo
+	nrtn blank
+	jam 0xc0,core_bist_ctrl
+	jam ccnt_start,core_misc_ctrl
+lpo_cal_inited:
+	hfetch 1,core_perf_status
+	rtnbit0 1
+	hfetch 3,core_clk_counter
+	store 3,mem_clks_per_lpo
+	rtn
+
+
+	/* temp is synced clke */
+lpm_adjust_clk:
+	bpatch patch14_3,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 wait_div_end
+	quotient pdata
+	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_4,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_5,mem_patch14
+	call xtal_fast_wake
+	fetch 4,mem_sleep_counter_all
+	iadd temp,pdata
+	store 4,mem_sleep_counter_all
+	call lpm_save_context
+	fetch 5,mem_lpm_xtalcnt
+	hstore 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
+	hstore 1,core_lpm_isogate
+	jam lpmreg_sel_ctrl2,core_lpm_wr
+lpm_enter_sleep:
+	until null,lpo_edge
+	until null,lpo_edge
+	hstoret 4,core_lpm_reg
+	jam lpmreg_sel_counter,core_lpm_wr
+	until null,never
+
+
+
+
+lpm_recover_clk:
+	bpatch patch14_6,mem_patch14
+	setarg 0
+	copy auxcnt,null
+	branch lpm_recover_timeout,zero
+	hfetch 1,core_lpm_xtalcnt
+	hfetcht 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 8,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
+	arg 3750,temp
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	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
+	hfetch 1,core_gpio_in1
+	or_into 0xf0,pdata
+	istore 1,contw
+	rtn
+	
+lpm_dispatch:
+	bpatch patch14_7,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_le_sc_calc
+	nrtn blank	
+	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
+	rtn blank										/* role switch */
+	rtn wake
+	bpatch patch15_0,mem_patch15
+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 patch15_1,mem_patch15
+	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 patch15_2,mem_patch15
+	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_3,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:
+	bpatch patch15_4,mem_patch15
+	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_5,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:
+	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_6,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:
+	bpatch patch15_7,mem_patch15
+	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
+	hstore 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
+	hstore 1,core_lpm_wr
+	until null,lpo_edge
+	until null,lpo_edge
+	rtn
+
+
+lpm_write_gpio_wakeup:
+	bpatch patch16_0,mem_patch16
+	fetch 4,mem_gpio_wakeup_low
+	hstore 4,core_lpm_reg
+	setarg lpmreg_sel_gpiolow
+	call lpm_write
+	fetch 4,mem_gpio_wakeup_high
+	hstore 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 patch16_1,mem_patch16
+	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 1,mem_le_tx_buff_used
+	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
+	setarg -8
+	iand rega,rega
+	copy rega,pdata
+	store 2,mem_lpm_wake_lock
+	rtn
+
+lpm_uart_wake_lock:
+	hfetch 2,core_uart_rxitems
+	nsetflag blank,wake_lock_uart_rx ,rega
+	hfetch 2,core_uart_txitems
+	nsetflag blank,wake_lock_uart_tx ,rega
+	rtn
+
+lpm_shut_down:
+	hfetch 4,core_lpm_ctrl
+	set0 27,pdata
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+	branch assert
+	
+lpm_disable_exen_output:
+	hfetch 4,core_lpm_xtalcnt
+	set0 20,pdata
+	hstore 4,core_lpm_reg
+	branch lpm_write_ctrl2
+
+check_bt_disabled:
+	fetch 2,mem_chip_functions
+	bbit1 bt_disabled,assert
+	rtn
+check_ble_disabled:
+	fetch 2,mem_chip_functions
+	bbit1 ble_disabled,assert
+	rtn
+check_module_disabled:
+	fetch 2,mem_chip_functions
+	bbit1 module_disable,assert
+	rtn
+
+
+
+
+
+
+
+//p_check_attempt_sniff:
+//	bbit0 state_insco,p_check_attempt_not_sco
+//	fetch 1,mem_current_sniff_attempt
+//	beq 2,p_check_attempt_sniff_restore_sco
+//	fetch 1,mem_arq
+//	bbit1 wack,p_check_attempt_notimeout
+//	bmark0 mark_esco_rxok,p_check_attempt_notimeout
+//p_check_attempt_sniff_restore_sco:
+//	nbranch p_check_attempt_notimeout,master
+//	fetch 1,mem_lmp_to_send
+//	nbranch p_check_attempt_notimeout,blank
+//p_check_attempt_sco_master:
+//	fetch 1,mem_sco_poll
+//	increase -1,pdata
+//	store 1,mem_sco_poll
+//	nbranch check_attempt_nomore,blank
+//	jam param_sco_poll,mem_sco_poll
+//	branch check_attempt_notimeout
+//p_check_attempt_not_sco:
+//	compare type_null,type,0x1f
+//	branch check_timeout,true
+//	compare type_poll,type,0x1f
+//	branch check_timeout,true
+//	branch check_anchor_end
+//p_check_attempt_notimeout:
+//check_atttemp_decrease:
+//	fetch 1,mem_current_sniff_attempt
+//	increase -1,pdata
+//	store 1,mem_current_sniff_attempt
+//	rtn
+//check_timeout:
+//	fetch 1,mem_sniff_timeout_temp
+//	increase 1,pdata
+//	store 1,mem_sniff_timeout_temp
+//check_anchor_end:
+//	fetch 1,mem_current_sniff_attempt
+//	branch check_anchor_end_attempt0,blank
+//	call check_atttemp_decrease
+//	nrtn blank
+//check_anchor_end_attempt0:  
+//	fetch 1,mem_sniff_timeout_temp
+//	fetcht 1,mem_current_sniff_timeout
+//	isub temp,null
+//	branch p_blank,positive
+//	arg 1,pdata
+//	rtn
+//p_blank:
+//	arg 0,pdata
+//	rtn
+
+
+
+
+g24_dispatch:
+	bpatch patch16_2,mem_patch16
+	call g24_head_ptr2regc
+	add regc,offset_24g_mode,regb
+	ifetch 1,regb
+	//fetch 1,mem_24g_mode
+	rtneq disable_24g
+	beq tx_24g,g24_transmit_process
+	beq rx_24g,g24_receive_process
+	rtn
+
+g24_head_ptr2regc:
+	fetcht 2,mem_24g_head_ptr
+	copy temp,regc
+	rtn
+
+g24_receive_process_init:
+	call g24_receive_init
+	branch g24_mode_switch_init
+
+g24_receive_process:
+	call g24_mode_switch
+	call g24_dongle_work_mode_auto
+	call g24_dongle_bind_mode_auto
+	branch g24_dongle_search_mode_auto
+	
+
+g24_pair_init:
+	//jam 0,mem_24g_pid
+	//jam G24_PAIR_CH,mem_24g_ch
+	call g24_set0_mem_pid
+	setarg G24_PAIR_CH
+	call g24_store_mem_ch
+	call g24_store_mem_pair_txpower
+	//fetch 4,mem_24g_paring_addr
+	//store 4,mem_24g_addr
+	add regc,offset_24g_paring_addr,rega
+	ifetch 4,rega
+	branch g24_store_mem_addr
+		
+g24_ch:
+	call g24_head_ptr2regc
+	add regc,offset_24g_current_ch_number,regb
+	ifetcht 1,regb
+	//fetcht 1,mem_24g_current_ch_number
+	call g24_ch_temp_incre_size4 //map size =4
+	add regc,offset_24g_current_ch_number,contw
+	//storet 1,mem_24g_current_ch_number
+	branch g24_contw_istoret_1byte
+
+g24_ch_temp_incre_size4:
+	call g24_ch_calc
+	increase 1,temp
+	and_into 3,temp
+	rtn
+
+g24_ch_calc:
+	add regc,offset_24g_addr,regb
+	ifetch 1,regb
+	//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
+	add regc,offset_24g_ch_map1,pdata
+	//setarg mem_24g_ch_map1
+	iadd rega,pdata
+	iadd temp,contr
+	ifetch 1,contr
+	//store 1,mem_24g_ch
+	branch g24_store_mem_ch
+
+g24_set_device_addr:
+	call g24_store_mem_tx_power_temp
+	call otp_enable_chgpump
+	setarg 0x7e2
+	arg mem_temp,rega
+	arg 4,temp
+	call otpd_read_data
+	call otp_disable_chgpump
+	fetch 4,mem_temp	//adc data from otp
+	call g24_store_mem_device_addr
+	//store 4,mem_24g_device_addr	
+	nrtn blank
+	fetch 4,mem_lap
+	//store 4,mem_24g_device_addr
+	branch g24_store_mem_device_addr
+
+g24_transmit_rf_sta_init:
+	call g24_set1_mem_rf_last_sta
+	//jam 1,mem_24g_rf_last_sta
+	setarg 0
+	call g24_store_mem_sync_cnt
+	//jam 0,mem_24g_sync_cnt
+g24_transmit_rf_ctrl_clear:	
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	and_into bits_data,pdata
+	//store 1,mem_24g_data_type
+	branch g24_store_mem_data_type
+	
+g24_hop_ch_enable:
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	set1 bit_hop,pdata
+	call g24_store_mem_data_type
+	//store 1,mem_24g_data_type
+	//store 1,mem_24g_txpayload
+	branch g24_store_mem_txpayload
+	
+g24_transmit_hop_pac_fail:
+	call g24_fetch_mem_rf_work_stage
+	//fetch 1,mem_24g_rf_work_stage
+	beq 1,g24_transmit_hop_pac_fail_wo_hop
+	beq 2,g24_transmit_hop_pac_fail_hop_stage2
+	rtn
+	
+g24_transmit_hop_pac_fail_wo_hop:
+	call g24_set2_mem_sync_cnt
+	//jam 2,mem_24g_sync_cnt
+g24_transmit_hop_pac_fail_stage1:
+	add regc,offset_24g_hop_pac_retry,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_hop_pac_retry
+	call g24_store_mem_rf_last_sta
+	//jam 0,mem_24g_rf_last_sta
+	branch g24_transmit_rf_ctrl_clear
+
+g24_transmit_hop_pac_fail_hop_stage2:
+	call g24_set0_mem_rf_hop_ch
+	//jam 0,mem_24g_rf_hop_ch
+	branch g24_transmit_hop_pac_fail_stage1
+
+g24_transmit_pac_fail_hop_stage3:
+	add regc,offset_24g_txfail_cnt,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_txfail_cnt
+	increase 1,pdata
+	add regc,offset_24g_txfail_cnt,contw
+	istore 1,contw
+	//store 1,mem_24g_txfail_cnt
+	beq 0x20,g24_tx_attempt_fail
+	call g24_fetch_mem_rf_hop_ch
+	//fetch 1,mem_24g_rf_hop_ch
+	beq 1,g24_rf_hop_fastly
+	setarg 1
+	call g24_store_mem_rf_hop_ch
+	//jam 1,mem_24g_rf_hop_ch
+g24_rf_hop_attemp_again:
+	call g24_fetch_mem_rf_hop_ch
+	//fetch 1,mem_24g_rf_hop_ch
+	bne 1,g24_transmit_rf_ctrl_clear
+g24_rf_hop_fastly:
+	add regc,offset_24g_hop_fastly_cnt,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_hop_fastly_cnt
+	increase 1,pdata
+	call g24_store_mem_hop_fastly_cnt
+	//store 1,mem_24g_hop_fastly_cnt
+	beq 4,g24_rf_hop_fastly_exit
+	call g24_ch
+	call g24_set2_mem_max_retry
+	//jam 2,mem_24g_max_retry
+	branch g24_transmit_packet
+
+g24_rf_hop_fastly_exit:
+	call g24_set0_mem_hop_fastly_cnt
+	//jam 0,mem_24g_hop_fastly_cnt
+	branch g24_transmit_rf_ctrl_clear
+
+g24_set0_mem_hop_fastly_cnt:
+	setarg 0
+g24_store_mem_hop_fastly_cnt:
+	add regc,offset_24g_hop_fastly_cnt,contw
+	branch g24_contw_istore_1byte
+
+g24_transmit_hop_pac_succ_wo_hop:
+	call g24_set2_mem_sync_cnt
+	//jam 2,mem_24g_sync_cnt
+g24_transmit_hop_pac_succ:
+	call g24_set0_mem_rf_hop_ch
+	//jam 0,mem_24g_rf_hop_ch
+	call g24_set1_mem_rf_last_sta
+	//jam 1,mem_24g_rf_last_sta
+	branch g24_transmit_rf_ctrl_clear
+
+g24_transmit_succ_rf_config:
+	call g24_fetch_mem_rf_work_stage
+	//fetch 1,mem_24g_rf_work_stage
+	beq 3,g24_transmit_hop_pac_succ
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	isolate0 bit_hop,pdata
+	branch g24_transmit_rf_sta_init,true
+	call g24_fetch_mem_rf_work_stage
+	//fetch 1,mem_24g_rf_work_stage
+	beq 1,g24_transmit_hop_pac_succ_wo_hop
+	beq 2,g24_transmit_hop_pac_succ
+	rtn
+
+g24_rf_sta_check:
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+	call g24_rf_laststa_synccnt_check
+	ncall g24_rf_sync_cnt_check,user2
+	rtn
+
+g24_rf_laststa_synccnt_check:
+	disable user2
+	add regc,offset_24g_rf_last_sta,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_rf_last_sta
+	rtnne 1
+	add regc,offset_24g_sync_cnt,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_sync_cnt
+	rtnne 0
+	setarg 1
+	call g24_store_mem_rf_work_stage
+	//jam 1,mem_24g_rf_work_stage
+	call g24_set4_mem_max_retry
+	//jam 4,mem_24g_max_retry
+	branch enable_user2
+
+g24_rf_sync_cnt_check:
+	add regc,offset_24g_sync_cnt,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_sync_cnt
+	branch g24_rf_hop_attemp,blank
+	increase -1,pdata
+	call g24_store_mem_sync_cnt
+	//store 1,mem_24g_sync_cnt
+	setarg 2
+	call g24_store_mem_rf_work_stage
+	//jam 2,mem_24g_rf_work_stage
+	call g24_ch
+	//jam 4,mem_24g_max_retry
+	branch g24_set4_mem_max_retry
+
+g24_store_mem_rf_work_stage:
+	add regc,offset_24g_rf_work_stage,contw
+	branch g24_contw_istore_1byte
+
+
+g24_rf_hop_attemp:
+	setarg 3
+	call g24_store_mem_rf_work_stage
+	//jam 3,mem_24g_rf_work_stage
+	call g24_fetch_mem_rf_hop_ch
+	//fetch 1,mem_24g_rf_hop_ch
+	nbranch g24_rf_hop_attemp_again,blank
+	call g24_ch
+	//jam 2,mem_24g_max_retry
+g24_set2_mem_max_retry:	
+	setarg 2
+	branch g24_store_mem_max_retry
+
+g24_transmit_process:
+	rtnmark0 mark_24g
+	set1 mark_24g_conext,mark
+	bpatch patch16_3,mem_patch16
+	add regc,offset_24g_tx_without_int,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_tx_without_int
+	beq 1,g24_transmit_without_int
+	call g24_timer_check
+	nbranch g24_transmit_exit,user
+	call g24_interval_calibrate
+g24_transmit_without_int:
+	add regc,offset_24g_tx_without_int,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_tx_without_int
+	call g24_txdata_prep
+	nbranch g24_enter_lpm,user
+	call g24_rf_sta_check
+g24_transmit_start:
+	call g24_transmit_packet
+	call g24_power_ctrl
+g24_transmit_exit:
+	set0 mark_24g_conext,mark
+	rtn
+
+g24_timer_timeout:
+	rtn zero
+	set1 28,pdata
+	rtn
+
+g24_interval_calibrate:
+	add regc,offset_24g_pac_index,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_pac_index
+	increase 1,pdata
+	add regc,offset_24g_pac_index,contw
+	istore 1,contw
+	//store 1,mem_24g_pac_index
+	beq 4,g24_interval_max
+	beq 5,g24_interval_min
+	rtn
+g24_interval_max:
+	add regc,offset_24g_interval_max,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_interval_max
+g24_interval_update:	
+	//store 1,mem_24g_interval
+	add regc,offset_24g_interval,contw
+	branch g24_contw_istore_1byte
+
+g24_interval_min:
+	add regc,offset_24g_pac_index,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_pac_index
+	add regc,offset_24g_interval_min,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_interval_min
+	branch g24_interval_update
+
+g24_txdata_prep:
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,g24_pairing_sm
+	bpatch patch16_4,mem_patch16
+	call g24_package_data
+	nbranch g24_txdata_last_pac,user
+	call g24_transmit_prep
+	call g24_power_ctrl_pac_incrs
+g24_txdata_enable_tx:
+	//jam ENSURE_ON_24G,mem_24g_ensure
+	setarg ENSURE_ON_24G
+g24_store_mem_ensure:	
+	add regc,offset_24g_ensure,contw
+	branch g24_contw_istore_1byte
+
+g24_txdata_last_pac:
+	add regc,offset_24g_ensure,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_ensure
+	beq ENSURE_ON_24G,enable_user
+	rtn
+
+g24_package_data:
+	//rega:length,regb:contr
+	add regc,offset_24g_cb_data,temp
+	ifetch 2,temp
+	//fetch 2,mem_24g_cb_data
+	call callback_func
+	nrtn user
+	copy rega,pdata
+	store 1,mem_rega
+	add regc,offset_24g_abort_pac,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_abort_pac
+	call g24_transmit_rf_ctrl_clear
+	store 1,mem_24g_common_temp
+	fetch 1,mem_rega
+	copy pdata,rega
+	add rega,1,temp
+	arg mem_24g_common_temp+1,contw
+	copy rega,loopcnt
+	copy regb,contr
+	call memcpy
+	arg mem_24g_common_temp,rega
+g24_put_data_in_buff:
+	rtnmark0 mark_24g_conext
+	add regc,offset_24g_datalen,contw
+	istoret 1,contw
+	//storet 1,mem_24g_datalen
+	copy temp,loopcnt
+	add regc,offset_24g_txbuf,contw
+	//arg mem_24g_txbuf,contw
+	copy rega,contr
+	branch memcpy
+
+g24_transmit_prep:
+// total length
+	add regc,offset_24g_datalen,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_datalen
+	increase 2,pdata
+	add regc,offset_24g_txlen,contw
+	istore 1,contw
+	//store 1,mem_24g_txlen
+// data type
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	call g24_store_mem_txpayload
+	//store 1,mem_24g_txpayload
+//prepare 5bit payload length, 2bit PID, 1bit NO_ACK
+	add regc,offset_24g_datalen,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_datalen
+	lshift3 pdata,pdata
+	add regc,offset_24g_pid,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_pid
+	and temp,0x03,temp
+	lshift temp,temp
+	ior temp,pdata
+	add regc,offset_24g_no_ack,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_no_ack
+	iadd temp,pdata
+	istore 1,contw
+//prepare payload data
+	add regc,offset_24g_datalen,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_datalen
+	iforce loopcnt
+	add regc,offset_24g_txbuf,contr
+	//arg mem_24g_txbuf,contr
+	branch memcpy
+
+g24_send_abort_packet:
+	call g24_set1_mem_abort_pac
+	//jam 1,mem_24g_abort_pac
+	call g24_set0_mem_rf_hop_ch
+	//jam 0,mem_24g_rf_hop_ch
+	call g24_power_ctrl_reinit
+	call g24_transmit_rf_ctrl_clear
+	store 1,mem_24g_common_temp
+	call g24_put_data_in_buff_pre
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	set1 bit_abort,pdata
+	call g24_store_mem_data_type
+	//store 1,mem_24g_data_type
+	call g24_transmit_prep
+	call g24_txdata_enable_tx
+	branch g24_transmit_start
+
+g24_put_data_in_buff_pre:
+	store 1,mem_24g_common_temp+1
+	call g24_fetch_mem_device_addr
+	//fetch 4,mem_24g_device_addr
+	store 4,mem_24g_common_temp+2
+	arg 6,temp
+	arg mem_24g_common_temp,rega
+	branch g24_put_data_in_buff
+
+g24_enter_lpm:
+	add regc,offset_24g_abort_pac,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_abort_pac
+	branch g24_send_abort_packet,blank
+g24_enter_lpm_prepare:
+ 	// some thing need to do and do not enter 24g long sleep
+	add regc,offset_24g_cb_lpm_prepare,rega
+	ifetch 2,rega
+	//fetch 2,mem_24g_cb_lpm_prepare
+	branch callback_func
+
+g24_lpm_long_sleep:
+	call g24_head_ptr2regc
+	//fetch 8,mem_24g_enter_hibernate
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	add regc,offset_24g_cb_lpm_before,temp
+	ifetch 2,temp
+	//fetch 2,mem_24g_cb_lpm_before
+	call callback_func
+	add regc,offset_24g_enter_hibernate,temp
+	ifetch 8,temp
+	call clk2lpo
+	storet 4,mem_sleep_counter
+  	branch lpm_sleep
+
+g24_transmit_packet:
+	call g24_head_ptr2regc
+	add regc,offset_24g_retry,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_retry
+g24_transmit_loop:
+	call g24_transmit_receive_ack
+	nbranch g24_retransmit,sync
+	nbranch g24_retransmit,user3
+	call g24_ackpayload_parse
+	call g24_power_ctrl_ack_incrs
+g24_transmit_next_packet:
+	call g24_head_ptr2regc
+	add regc,offset_24g_pid,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_pid
+	increase 1,pdata
+	call g24_store_mem_pid
+	//store 1,mem_24g_pid
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,g24_paring_mode
+	call g24_transmit_succ_rf_config
+g24_transmit_abandon:
+	setarg 0
+	add regc,offset_24g_txfail_cnt,contw
+	istore 2,contw	//include mem_24g_get_ack_fail
+	//store 1,mem_24g_txfail_cnt
+	//store 1,mem_24g_get_ack_fail
+	//jam ENSURE_OFF_24G,mem_24g_ensure
+	setarg ENSURE_OFF_24G
+	branch g24_store_mem_ensure
+
+	
+g24_transmit_receive_ack:
+	disable user3
+	call g24_transmit
+	call g24_head_ptr2regc
+	add regc,offset_24g_no_ack,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_no_ack
+	beq no_ack_24g,g24_transmit_no_ack	//tx no ack
+	call g24_receive_packet
+	branch g24_end_of_packet
+g24_transmit_no_ack:
+	call g24_end_of_packet
+	branch g24_transmit_next_packet
+
+
+g24_retransmit:
+	bpatch patch16_5,mem_patch16
+	add regc,offset_24g_get_ack_fail,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_get_ack_fail
+	increase 1,pdata
+	add regc,offset_24g_get_ack_fail,contw
+	istore 1,contw
+	//store 1,mem_24g_get_ack_fail
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,g24_tx_paring_retry
+	add regc,offset_24g_retry,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_retry
+	increase 1,temp
+	add regc,offset_24g_retry,contw
+	istoret 1,contw
+	//storet 1,mem_24g_retry
+	add regc,offset_24g_max_retry,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_max_retry
+	isub temp,pdata
+	nbranch g24_transmit_loop,blank
+	bpatch patch16_6,mem_patch16
+	call g24_fetch_mem_rf_work_stage
+	//fetch 1,mem_24g_rf_work_stage
+	beq 3,g24_transmit_pac_fail_hop_stage3
+	add regc,offset_24g_hop_pac_retry,rega
+	ifetch 1,rega	
+	//fetch 1,mem_24g_hop_pac_retry
+	increase 1,pdata
+	add regc,offset_24g_hop_pac_retry,contw
+	istore 1,contw
+	//store 1,mem_24g_hop_pac_retry
+	beq 2,g24_transmit_hop_pac_fail
+	call g24_hop_ch_enable
+	setarg 1
+	call g24_store_mem_max_retry
+	//jam 1,mem_24g_max_retry
+	branch g24_transmit_packet
+
+g24_tx_paring_retry:
+	add regc,offset_24g_get_ack_fail,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_get_ack_fail
+	rtnne 0xff
+	add regc,offset_24g_get_ack_fail,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_get_ack_fail
+	branch g24_stop_24g_mode
+
+g24_tx_attempt_fail:
+	add regc,offset_24g_txfail_cnt,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_txfail_cnt
+g24_stop_24g_mode:
+	jam BT_EVT_24G_ATTEMPT_FAIL,mem_fifo_temp
+	branch ui_ipc_send_event
+
+g24_ackpayload_parse:
+	call g24_read_len_pid_crc
+	add regc,offset_24g_rxdata_length,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_rxdata_length	//ack payload length 
+	rtn blank
+	iforce loopcnt
+	add regc,offset_24g_rxbuf_add2,contr
+	//arg mem_24g_rxbuf+2,contr
+	add regc,offset_24g_rxpayload,contw	
+	//arg mem_24g_rxpayload,contw	//ack payload buffer 
+	branch memcpy
+
+
+g24_read_len_pid_crc:
+//read control
+	call g24_fetch_mem_rxbuf_add1
+	//fetch 1,mem_24g_rxbuf+1
+	rshift3 pdata,pdata
+	add regc,offset_24g_rxdata_length,contw
+	istore 1,contw
+	//store 1,mem_24g_rxdata_length
+//get crc
+	increase 1,pdata
+	add regc,offset_24g_rxbuf_add1,contr
+	//arg mem_24g_rxbuf+1,contr
+	iadd contr,contr
+	ifetch 3,contr
+	add regc,offset_24g_sta_crc,contw
+	istore 3,contw
+	//store 3,mem_24g_sta_crc
+//read pid
+	call g24_fetch_mem_rxbuf_add1
+	//fetch 1,mem_24g_rxbuf+1
+	rshift pdata,pdata
+	and pdata,0x03,pdata
+	add regc,offset_24g_sta_pid,contw
+	istore 1,contw
+	//store 1,mem_24g_sta_pid
+	rtn
+
+g24_prep:
+	disable enable_crc
+	disable enable_white
+	setarg 0x555555
+	iforce crc24_init
+	rtn
+
+g24_set_freq_tx:
+	call set_sync_on
+	add regc,offset_24g_ch,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_ch
+	branch set_freq_tx
+
+g24_transmit:
+	call g24_prep
+	call g24_set_freq_tx
+	set1 TXGFSK,radio_ctrl
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+	call le_enable
+	call g24_fetch_mem_addr
+	//fetch 4,mem_24g_addr
+	iforce access
+	inject mod,32
+	enable enable_crc
+	add regc,offset_24g_txlen,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_txlen
+	iforce loopcnt
+	add regc,offset_24g_txpayload,contr
+	//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
+	until null,tx_clear
+	bpatch patch16_7,mem_patch16
+	nop 100
+	disable encode_fec0
+	rtn
+
+g24_receive_packet:
+	disable user3
+	force 0,radio_ctrl
+	add regc,offset_24g_ch,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_ch
+	call set_freq_rx
+	call rf_rx_enable
+g24_receive_rxon:
+	call g24_prep
+	enable decode_fec0
+	enable is_rx
+	disable is_tx
+	call le_enable
+	call g24_fetch_mem_addr
+	//fetch 4,mem_24g_addr
+	iforce access
+	enable swfine
+	add regc,offset_24g_rx_window,rega
+	ifetch 2,rega
+	//fetch 2,mem_24g_rx_window
+	iforce stop_watch
+	correlate null,timeout
+	nbranch g24_sync_timeout,sync
+	enable enable_crc
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	add regc,offset_24g_rxbuf,contw
+	istore 1,contw	
+	//store 1,mem_24g_rxbuf	//device id
+	add regc,offset_24g_mode,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_mode
+	beq rx_24g,g24_receive_skip
+	bpatch patch17_0,mem_patch17
+	add regc,offset_24g_rxbuf,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_rxbuf
+	add regc,offset_24g_data_type,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_data_type
+	icompare bits_data,temp
+	nbranch g24_end_of_packet,true
+g24_receive_skip:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	rshift3 pdata,pdata
+	and pdata,0x1f,loopcnt	//max payload: 32bytes
+	branch g24rx_nopayload,zero
+g24rx_loop:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	loop g24rx_loop
+g24rx_nopayload:
+	parse demod,bucket,24
+	rshift32 pdata,pdata
+	rshift16 pdata,pdata
+	istore 3,contw
+	branch g24_end_of_packet,crc_failed
+	enable user3
+	disable decode_fec0
+	rtn
+//	branch rssi_signal
+
+g24_end_of_packet:
+	disable encode_fec0
+	disable decode_fec0
+	disable enable_crc
+	disable enable_white
+	branch shutdown_radio,is_rx
+	until null,tx_clear
+	nop 100          /* flush out the last bit */
+	branch shutdown_radio
+
+g24_sync_timeout:
+	call rssi_noise
+	branch g24_end_of_packet
+
+rssi_noise:
+	call save_rssi
+	rtn blank
+	add regc,offset_rssi_noise_index,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_rssi_noise_index
+	arg mem_rssi_noise_buffer,rega
+	//arg mem_rssi_noise_buf,rega
+	call rssi_noise_store
+	add regc,offset_rssi_noise_index,contw
+	//storet 1,mem_rssi_noise_index
+g24_contw_istoret_1byte:	
+	istoret 1,contw
+	rtn
+
+rssi_noise_store:
+	arg RSSI_BUF_LEN_NOISE,regb
+	branch rssi_store
+	
+/*	
+rssi_signal:
+	call save_rssi
+	rtn blank
+	add regc,offset_rssi_signal_index,rega
+	ifetcht 1,rega	
+	//fetcht 1,mem_rssi_signal_index
+	add regc,offset_rssi_signal_buf,rega
+	//arg mem_rssi_signal_buf,rega
+	arg RSSI_BUF_LEN_SIGNAL,regb
+	call rssi_store
+	add regc,offset_rssi_signal_index,contw
+	istoret 1,contw	
+	//storet 1,mem_rssi_signal_index
+	rtn
+*/	
+rssi_store:	
+	copy rega,pdata
+	iadd temp,contw
+	fetch 1,mem_rssi
+	istore 1,contw
+	increase 1,temp
+	copy regb,pdata
+	iand_into temp
+	rtn
+	
+rssi_average:
+	arg 0,temp
+	copy rega,contr
+rssi_average_loop:	
+	ifetch 1,contr
+	iadd temp,temp
+	loop rssi_average_loop
+	rshift8 temp,temp
+	rtn
+
+g24_power_ctrl_init:
+	call g24_head_ptr2regc
+	call g24_power_ctrl_incrs_level1
+	setarg 1
+	call g24_store_mem_power_ctrl_level
+	//jam 1,mem_power_ctrl_level
+g24_power_ctrl_reinit:
+	setarg 0
+	call g24_store_mem_power_ctrl_pac
+	//jam 0,mem_power_ctrl_packet_cnt
+	istore 1,contw
+	//jam 0,mem_power_ctrl_ack_cnt
+	rtn
+
+g24_power_ctrl_pac_incrs:
+	call g24_fetch_mem_power_ctrl_pac
+	//fetch 1,mem_power_ctrl_packet_cnt
+	increase 1,pdata
+g24_store_mem_power_ctrl_pac:	
+	//store 1,mem_power_ctrl_packet_cnt
+	add regc,offset_power_ctrl_packet_cnt,contw
+	branch g24_contw_istore_1byte
+
+g24_power_ctrl_ack_incrs:
+	//fetch 1,mem_power_ctrl_ack_cnt
+	//store 1,mem_power_ctrl_ack_cnt
+	add regc,offset_power_ctrl_ack_cnt,rega
+	ifetch 1,rega
+	increase 1,pdata
+	add regc,offset_power_ctrl_ack_cnt,contw
+	branch g24_contw_istore_1byte
+
+g24_power_ctrl:
+	bpatch patch17_1,mem_patch17
+	call g24_fetch_mem_power_ctrl_pac
+	//fetch 1,mem_power_ctrl_packet_cnt
+	sub pdata,POWER_CTRL_MAX_PACKET_CNT,null
+	rtn positive
+	add regc,offset_power_ctrl_ack_cnt,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_power_ctrl_ack_cnt
+	isub temp,temp	//loss packet cnt
+	call g24_power_ctrl_reinit
+	setarg offset_power_ctrl_threshold_up
+	iadd regc,rega
+	ifetch 1,rega
+	//fetch 1,mem_power_ctrl_threshold_up
+	isub temp,null
+	nbranch g24_power_ctrl_incrs,positive
+	setarg offset_power_ctrl_threshold_down
+	iadd regc,rega
+	ifetch 1,rega	
+	//fetch 1,mem_power_ctrl_threshold_down
+	isub temp,null
+	branch g24_power_ctrl_decrs,positive
+	rtn
+
+g24_power_ctrl_incrs:	
+	add regc,offset_power_ctrl_level,rega
+	ifetch 1,rega
+	//fetch 1,mem_power_ctrl_level
+	beq 2,g24_power_ctrl_incrs_level2
+	increase 1,pdata
+	call g24_store_mem_power_ctrl_level
+	//store 1,mem_power_ctrl_level
+	beq 1,g24_power_ctrl_incrs_level1
+g24_power_ctrl_incrs_level2:
+	setarg POWER_CTRL_LOSSPAC_THRESH_UP2
+	call g24_store_mem_power_ctrl_threshold_up
+	//jam POWER_CTRL_LOSSPAC_THRESH_UP2,mem_power_ctrl_threshold_up
+	setarg POWER_CTRL_LOSSPAC_THRESH_DOWN2
+	call g24_store_mem_power_ctrl_threshold_down
+	//jam POWER_CTRL_LOSSPAC_THRESH_DOWN2,mem_power_ctrl_threshold_down
+//	jam POWER_CTRL_RSSI_THRESH_DOWN2,mem_rssi_ctrl_threshold_down
+	add regc,offset_power_ctrl_txpwr_level2,rega
+	//fetch 1,mem_power_ctrl_txpwr_level2
+	branch g24_ifetch_rega_store_mem_txpower
+
+g24_power_ctrl_decrs:
+	add regc,offset_power_ctrl_level,rega
+	ifetch 1,rega
+	//fetch 1,mem_power_ctrl_level
+	beq 0,g24_power_ctrl_decrs_level0
+	increase -1,pdata
+	call g24_store_mem_power_ctrl_level
+	//store 1,mem_power_ctrl_level
+	beq 0,g24_power_ctrl_decrs_level0
+g24_power_ctrl_decrs_level1:
+//	call rssi_check_distance
+//	nrtn user
+g24_power_ctrl_incrs_level1:
+	setarg POWER_CTRL_LOSSPAC_THRESH_UP1
+	call g24_store_mem_power_ctrl_threshold_up
+	//jam POWER_CTRL_LOSSPAC_THRESH_UP1,mem_power_ctrl_threshold_up
+	setarg POWER_CTRL_LOSSPAC_THRESH_DOWN1
+	call g24_store_mem_power_ctrl_threshold_down
+	//jam POWER_CTRL_LOSSPAC_THRESH_DOWN1,mem_power_ctrl_threshold_down
+//	jam POWER_CTRL_RSSI_THRESH_DOWN1,mem_rssi_ctrl_threshold_down
+	setarg offset_power_ctrl_txpwr_level1
+g24_iadd_offset_mem_txpower:	
+	iadd regc,rega
+g24_ifetch_rega_store_mem_txpower:	
+	ifetch 1,rega
+	//fetch 1,mem_power_ctrl_txpwr_level1
+	branch g24_store_mem_txpower
+	
+g24_power_ctrl_decrs_level0:
+//	call rssi_check_distance
+//	nrtn user
+	setarg POWER_CTRL_LOSSPAC_THRESH_UP0
+	call g24_store_mem_power_ctrl_threshold_up
+	//jam POWER_CTRL_LOSSPAC_THRESH_UP0,mem_power_ctrl_threshold_up
+	setarg POWER_CTRL_LOSSPAC_THRESH_DOWN0
+	call g24_store_mem_power_ctrl_threshold_down
+	//jam POWER_CTRL_LOSSPAC_THRESH_DOWN0,mem_power_ctrl_threshold_down
+//	jam POWER_CTRL_RSSI_THRESH_DOWN0,mem_rssi_ctrl_threshold_down
+	setarg offset_power_ctrl_txpwr_level0
+	//fetch 1,mem_power_ctrl_txpwr_level0
+	branch g24_iadd_offset_mem_txpower
+
+/*
+rssi_check_distance:
+	disable user
+	arg mem_rssi_signal_buf,rega
+	arg RSSI_BUF_LEN_SIGNAL+1,loopcnt
+	call rssi_average
+	storet 1,mem_rssi_signal_avg
+	fetch 1,mem_rssi_ctrl_threshold_down
+	isub temp,null
+	branch enable_user,positive
+	rtn
+*/
+g24_start_pairing_sm1:
+	set1 mark_24g,mark
+	call g24_pair_init
+g24_set_pairing_sm_1:
+	//jam STATE_24G_PAIRING_1,mem_24g_pairing_sm
+	setarg STATE_24G_PAIRING_1
+	branch g24_store_mem_pairing_sm
+
+g24_pairing_sm:
+	add regc,offset_24g_ensure,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_ensure
+	beq ENSURE_ON_24G,enable_user
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	beq STATE_24G_PAIRING_1,g24_pairing_sm_1
+	beq STATE_24G_PAIRING_2,g24_pairing_sm_2
+	beq STATE_24G_PAIRING_3,g24_pairing_sm_3
+	branch assert
+
+g24_pairing_sm_1:
+	setarg STATE_24G_PAIRING_1_WAITING_ACK
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_1_WAITING_ACK,mem_24g_pairing_sm
+	jam 0xaa,mem_24g_common_temp
+	branch g24_pairing_sm_common
+g24_pairing_sm_2:
+	setarg STATE_24G_PAIRING_2_WAITING_ACK
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_2_WAITING_ACK,mem_24g_pairing_sm
+	jam 0x55,mem_24g_common_temp
+	branch g24_pairing_sm_common
+g24_pairing_sm_3:
+	setarg STATE_24G_PAIRING_3_WAITING_ACK
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_3_WAITING_ACK,mem_24g_pairing_sm
+	jam 0x22,mem_24g_common_temp
+g24_pairing_sm_common:
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	and_into bits_data,pdata
+	store 1,mem_24g_common_temp+1
+	call g24_fetch_mem_device_addr
+	//fetch 4,mem_24g_device_addr
+	store 4,mem_24g_common_temp+2
+g24_put_pairing_data_in_buff:
+	jam 0,mem_24g_common_temp+6
+	arg mem_24g_common_temp,rega
+	arg 7,temp
+	call g24_put_data_in_buff	
+	call g24_transmit_prep
+	call g24_txdata_enable_tx
+	branch enable_user
+
+g24_paring_mode:
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	rtneq STATE_24G_PAIRING_SUCCESS
+	beq STATE_24G_PAIRING_1_WAITING_ACK,g24_pairing_sm_1_waiting_ack
+	beq STATE_24G_PAIRING_2_WAITING_ACK,g24_pairing_sm_2_waiting_ack
+	beq STATE_24G_PAIRING_3_WAITING_ACK,g24_pairing_sm_3_waiting_ack
+	rtn
+
+g24_pairing_sm_1_waiting_ack:
+	setarg STATE_24G_PAIRING_2
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_2,mem_24g_pairing_sm
+	branch g24_transmit_abandon
+g24_pairing_sm_2_waiting_ack:
+	setarg STATE_24G_PAIRING_3
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_3,mem_24g_pairing_sm
+	branch g24_transmit_abandon
+g24_pairing_sm_3_waiting_ack:
+	setarg STATE_24G_PAIRING_SUCCESS
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_SUCCESS,mem_24g_pairing_sm
+	jam BT_EVT_24G_PAIRING_COMPLETE,mem_fifo_temp
+	call ui_ipc_send_event
+	add regc,offset_24g_rxpayload_add2,rega
+	ifetch 4,rega
+	//fetch 4,mem_24g_rxpayload+2
+	call g24_store_mem_addr
+	//store 4,mem_24g_addr
+	branch g24_transmit_abandon
+
+g24_auto_pair_start:
+	set0 mark_24g,mark
+	call g24_auto_pair_set_device_info
+	call g24_tx_attemp_data_prep
+g24_auto_pair_restart:	
+	call g24_set0_mem_check_dongle_times
+g24_auto_pair_start_loop:
+	nop 2000
+	call g24_fetch_mem_check_dongle_times
+	beq 0xff,g24_stop_24g_mode
+	call g24_transmit_receive_ack
+	nbranch g24_auto_pair_retry,sync
+	nbranch g24_auto_pair_retry,user3
+	call g24_ackpayload_parse
+	call g24_head_ptr2regc
+	add regc,offset_24g_paring_addr,rega
+	ifetcht 4,rega
+	call g24_fetch_mem_addr_isub_temp
+	branch g24_start_pairing_sm1,zero
+	call g24_head_ptr2regc
+	add regc,offset_24g_rxpayload_add2,rega
+	ifetch 4,rega
+	beq 0,g24_auto_pair_restart
+	call g24_store_mem_addr
+	branch g24_tx_attemp_dongle_succ
+
+g24_auto_pair_retry:
+	call g24_fetch_mem_check_dongle_times
+	increase 1,pdata
+	call g24_store_mem_check_dongle_times
+
+	call g24_fetch_mem_auto_paring_switch
+	increase 1,pdata
+	and_into 1,pdata
+	call g24_store_mem_auto_paring_switch
+	beq 0,g24_auto_pair_device_attemp
+	beq 1,g24_auto_pair_pair_attemp
+	rtn
+
+g24_fetch_mem_auto_paring_switch:
+	setarg offset_24g_auto_pair_switch
+	branch g24_set_rega_ifetch_1byte
+g24_store_mem_auto_paring_switch:
+	arg offset_24g_auto_pair_switch,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_auto_pair_set_device_info:
+	call g24_store_mem_tx_power
+	call g24_fetch_mem_device_addr
+	call g24_store_mem_addr
+	branch g24_ch
+
+g24_auto_pair_device_attemp:
+	call g24_auto_pair_set_device_info
+	branch g24_auto_pair_start_loop
+
+g24_auto_pair_pair_attemp:
+	call g24_pair_init
+	branch g24_auto_pair_start_loop
+
+
+g24_start_24g_mode:
+	set0 mark_24g,mark
+	call g24_ch
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+	call g24_tx_attemp_data_prep
+	call g24_set0_mem_check_dongle_times
+	//jam 0,mem_24g_check_dongle_times
+g24_tx_attemp_dongle_loop:
+	nop 2000
+	call g24_fetch_mem_check_dongle_times
+	//fetch 1,mem_24g_check_dongle_times
+	beq 0xff,g24_stop_24g_mode
+	call g24_transmit_receive_ack
+	nbranch g24_attemp_txdata_retry,sync
+	nbranch g24_attemp_txdata_retry,user3
+g24_tx_attemp_dongle_succ:	
+	set1 mark_24g,mark
+	call g24_set0_mem_check_dongle_times
+	setarg STATE_24G_PAIRING_SUCCESS
+	call g24_store_mem_pairing_sm
+	//jam 0,mem_24g_check_dongle_times
+	jam BT_EVT_24G_ATTEMPT_SUCCESS,mem_fifo_temp
+	branch ui_ipc_send_event
+
+g24_tx_attemp_data_prep:
+	set1 mark_24g_conext,mark
+	jam 0xff,mem_24g_common_temp
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	call g24_put_data_in_buff_pre
+	branch g24_transmit_prep
+	
+g24_attemp_txdata_retry:
+	call g24_fetch_mem_check_dongle_times
+	//fetch 1,mem_24g_check_dongle_times
+	increase 1,pdata
+	call g24_store_mem_check_dongle_times
+	//store 1,mem_24g_check_dongle_times
+	call g24_ch
+	branch g24_tx_attemp_dongle_loop
+
+g24_check_51cmd_start_24g:
+	call g24_store_mem_tx_power
+	//fetch 1,mem_tx_power_temp
+	//store 1,mem_tx_power
+	setarg STATE_24G_PAIRING_SUCCESS
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_SUCCESS,mem_24g_pairing_sm
+	branch g24_start_24g_mode
+/*	
+g24_check_51cmd_stop_24g:
+	call g24_store_mem_tx_power
+	set0 mark_24g,mark
+	branch le_disable
+*/
+
+
+dongle_init:
+	bpatch patch17_2,mem_patch17
+	call g24_head_ptr2regc
+	setarg dongle_rxdata_type1
+	add regc,offset_24g_cb_rxdata_type1,contw
+	istore 2,contw
+	//store 2,mem_24g_cb_rxdata_type1
+	call g24_receive_init
+	call usb_init
+	call g24_fetch_mem_pair_mode
+	//fetch 1,mem_24g_pair_mode
+	bpatch patch17_3,mem_patch17
+	beq 0x00,dongle_auto_bind
+	beq 0x01,dongle_pc_bind
+	beq 0x0f,dongle_all_powerful
+	branch assert
+
+g24_receive_init:
+	call g24_store_mem_tx_power_temp
+	arg 0x80,loopcnt
+	arg mem_rssi_noise_buffer,contw
+	branch memset0
+
+dongle_all_powerful:
+	call dongle_check_mode
+dongle_all_powerful_loop:
+	call g24_dongle_work_mode
+	call usb_isr
+	branch dongle_all_powerful_loop
+
+dongle_pc_bind:
+	bpatch patch17_4,mem_patch17
+	call dongle_check_mode
+dongle_pc_bind_loop:	
+	call g24_dongle_work_mode
+	call g24_dongle_bind_mode
+	call usb_isr
+	call dongle_usb_dispatch
+	branch dongle_pc_bind_loop
+
+dongle_check_mode:
+	//jam DONGLE_WORK,mem_dongle_work_mode
+	//jam CLEAR_INIT,mem_dongle_mode_init
+	//jam 0,mem_24g_ackpayload_enable
+	call g24_set_work_mem_dongle_work_mode
+	call g24_set0_mem_dongle_mode_init
+	branch g24_set0_mem_ackpayload_enable
+	
+g24_dongle_work_mode:
+	call g24_fetch_mem_dongle_work_mode
+	//fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_WORK
+g24_dongle_work_mode_start:
+	call g24_dongle_work_init
+	call g24_ch_process
+	call g24_receive_packet_start
+	branch g24_blank_data_process
+
+g24_dongle_work_init:
+	call g24_fetch_mem_dongle_mode_init
+	//fetch 1,mem_dongle_mode_init
+	rtnbit1 DONGLE_WORK
+	set1 DONGLE_WORK,pdata
+	call g24_store_mem_dongle_mode_init
+	//store 1,mem_dongle_mode_init
+	call g24_store_mem_tx_power
+	//fetch 1,mem_tx_power_temp
+	//store 1,mem_tx_power
+	call g24_set0_mem_ackpayload_enable
+	//jam 0,mem_24g_ackpayload_enable
+	jam 0,mem_usb_tx_enable
+	call g24_set1_mem_abort_pac
+	//jam 1,mem_24g_abort_pac
+	call g24_dongle_init
+g24_rx_interrupt_clear:
+	add regc,offset_24g_rxbuf,contw
+	//arg mem_24g_rxbuf,contw
+	arg 66,loopcnt
+	branch clear_mem
+
+g24_dongle_init:
+	call g24_set0_mem_pid
+	//jam 0,mem_24g_pid
+	call g24_fetch_mem_rx_addr
+	//fetch 4,mem_24g_rx_addr
+	call g24_store_mem_addr
+	//store 4,mem_24g_addr
+	branch g24_ch
+
+g24_ch_process:
+	bpatch patch17_5,mem_patch17
+	call g24_fetch_mem_abort_pac
+	//fetch 1,mem_24g_abort_pac
+	beq 1,g24_noise_rssi
+	call g24_fetch_mem_hop_pac
+	//fetch 1,mem_24g_hop_pac
+	beq 1,g24_ch	
+	setarg offset_24g_hop_btclk
+	iadd regc,rega
+	ifetcht 4,rega
+	//fetcht 4,mem_24g_hop_btclk
+	copy clkn_bt,pdata
+	isub temp,null
+	ncall g24_timer_timeout,positive
+	copy pdata,regb
+	setarg offset_24g_hop_btclk
+	iadd regc,rega
+	ifetch 4,rega
+	copy pdata,temp
+	//fetch 4,mem_24g_hop_btclk
+	setarg offset_24g_hop_interval
+	iadd regc,rega
+	copy temp,pdata
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_hop_interval
+	iadd temp,temp
+	copy regb,pdata
+	isub temp,null
+	nrtn positive
+	set0 28,pdata
+	setarg offset_24g_hop_btclk
+	iadd regc,contw
+	istore 4,contw
+	//store 4,mem_24g_hop_btclk
+g24_ch_update:
+	call g24_ch
+	call g24_fetch_mem_rf_laststa
+	//fetch 1,mem_24g_rf_laststa
+	increase 1,pdata
+	call g24_store_mem_rf_laststa
+	//store 1,mem_24g_rf_laststa
+	rtnne 2
+	call g24_set0_mem_rf_laststa
+	//jam 0,mem_24g_rf_laststa
+	//jam 1,mem_24g_abort_pac
+	//rtn
+	branch g24_set1_mem_abort_pac
+	
+g24_ch_timer_reinit:
+	copy clkn_bt,pdata
+	arg offset_24g_hop_btclk,rega
+	call g24_set_contw_with_temp
+	istore 4,contw
+	//store 4,mem_24g_hop_btclk
+	//jam 0,mem_24g_rf_laststa
+	//rtn
+	branch g24_set0_mem_rf_laststa
+
+g24_noise_rssi:
+	arg mem_rssi_noise_buffer,rega
+	call g24_noise_rssi_average
+	add regc,offset_rssi_noise_avg,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive	
+	branch g24_ch
+
+g24_noise_rssi_average:
+	arg RSSI_BUF_LEN_NOISE+1,loopcnt
+	branch rssi_average
+
+g24_blank_data_process:
+	call g24_ms_blank_data
+	call g24_kb_blank_data
+	branch g24_kb_mul_blank_data
+
+g24_ms_blank_data:
+	setarg offset_24g_ms_blank_data_enable
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_ms_blank_data_enable
+	rtn blank
+	arg TIMER_MS_BLANK,queue
+	call timer_check
+	nrtn blank
+	call g24_set0_mem_ms_blank_data_enable
+	//jam 0,mem_24g_ms_blank_data_enable
+g24_ms_blank_data_2usb:
+	setarg MS_REPORT_ID
+	store 1,mem_usb_mouse_data
+	setarg 0
+	istore 7,contw
+	branch g24_data_type1_usbtx_enable
+
+g24_kb_blank_data:
+	setarg offset_24g_kb_blank_data_enable
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_kb_blank_data_enable
+	rtn blank
+	arg TIMER_KB_BLANK,queue
+	call timer_check
+	nrtn blank
+	call g24_set0_mem_kb_blank_data_enable
+	//jam 0,mem_24g_kb_blank_data_enable
+g24_kb_blank_data_2usb:	
+	arg mem_usb_kb_data,contw
+	arg 2,loopcnt
+	call memset0
+	jam KB_NORMAL_REPORT_ID,mem_usb_kb_data
+	branch g24_kb_data_into_ep1_fifo
+
+g24_kb_mul_blank_data:
+	setarg offset_24g_kb_mul_blank_data_enable
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_kb_mul_blank_data_enable
+	rtn blank
+	arg TIMER_KB_MUL_BLANK,queue
+	call timer_check
+	nrtn blank
+	call g24_set0_mem_kb_mul_blank_data_enable
+	//jam 0,mem_24g_kb_mul_blank_data_enable
+g24_kb_mul_blank_data_2usb:
+	arg mem_usb_kb_multikey,contw
+	arg 2,loopcnt
+	call memset0
+	jam KB_MULTIKEY_REPORT_ID,mem_usb_kb_multikey
+	branch g24_kb_mul_data_into_ep2_fifo
+
+g24_dongle_bind_mode:
+	call g24_fetch_mem_dongle_work_mode
+	//fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_BIND
+	call g24_dongle_bind_init
+	branch g24_dongle_bind_data_process
+
+g24_dongle_bind_init:
+	call g24_fetch_mem_dongle_mode_init
+	//fetch 1,mem_dongle_mode_init
+	rtnbit1 DONGLE_BIND
+	set1 DONGLE_BIND,pdata
+	call g24_store_mem_dongle_mode_init
+	//store 1,mem_dongle_mode_init
+	call g24_set1_mem_ackpayload_enable
+	//jam 1,mem_24g_ackpayload_enable
+	call g24_pair_init
+	setarg 0
+	arg offset_dongle_ms_bind_step,rega
+	call g24_set_contw_with_temp
+	//store 3,mem_dongle_ms_bind_step
+	branch g24_contw_istore_3byte
+
+g24_dongle_bind_data_process:
+	call g24_receive_transmit_ack
+	nbranch g24_rx_interrupt_clear,user3	
+	add regc,offset_24g_rxbuf,contr
+	setarg offset_24g_rxdata_temp
+	iadd regc,contw
+	arg 8,loopcnt
+	call memcpy
+	setarg offset_24g_rxdata_temp_add2
+	call g24_set_rega_ifetch_1byte
+	beq DATATYPE_BIND,g24_dongle_bind_first_step	//bind step 1
+	beq DATATYPE_CONFIG,g24_dongle_bind_second_step
+	beq DATATYPE_OK,g24_dongle_bind_third_step
+	beq 0xff,g24_data_attemp
+	branch g24_rx_interrupt_clear
+
+g24_dongle_bind_first_step:
+	call g24_fetch_mem_rxdata_temp_add3_1byte
+	beq BIND_MOUSE,g24_dongle_bind_first_step_mouse
+	beq BIND_KEYBOARD,g24_dongle_bind_first_step_keyboard
+	rtn
+g24_dongle_bind_first_step_mouse:
+	setarg 1
+	call g24_store_mem_ms_bind_step
+	//jam 1,mem_dongle_ms_bind_step
+g24_dongle_bind_ms_payload_cfg:
+	setarg DATATYPE_MOUSE
+	call g24_store_mem_bind_payload
+	//jam DATATYPE_MOUSE,mem_24g_bind_payload
+g24_dongle_bind_payload_cfg:	
+	setarg 0x80
+	arg offset_24g_bind_payload_add1,rega
+	call g24_set_contw_with_regb_store_1byte
+	//jam 0x80,mem_24g_bind_payload+1
+	call g24_fetch_mem_rx_addr
+	//fetch 4,mem_24g_rx_addr
+	arg offset_24g_bind_payload_add2,rega
+	call g24_set_contw_with_temp
+	//store 4,mem_24g_bind_payload+2
+	branch g24_contw_istore_4byte
+
+g24_dongle_bind_first_step_keyboard:
+	setarg 1
+	call g24_store_mem_kb_bind_step
+	//jam 1,mem_dongle_kb_bind_step
+g24_dongle_bind_kb_payload_cfg:
+	setarg DATATYPE_KEYBOARD
+	call g24_store_mem_bind_payload
+	//jam DATATYPE_KEYBOARD,mem_24g_bind_payload
+	branch g24_dongle_bind_payload_cfg
+		
+g24_dongle_bind_second_step:
+	call g24_fetch_mem_rxdata_temp_add3_1byte
+	beq BIND_MOUSE,g24_dongle_bind_second_step_mouse
+	beq BIND_KEYBOARD,g24_dongle_bind_second_step_keyboard
+	rtn
+g24_dongle_bind_second_step_mouse:
+	call g24_dongle_bind_ms_payload_cfg
+	setarg offset_dongle_ms_bind_step
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_dongle_ms_bind_step
+	beq 1,g24_dongle_ms_bind_step_set2
+	rtn
+g24_dongle_ms_bind_step_set2:
+	setarg 2
+	//jam 2,mem_dongle_ms_bind_step
+g24_store_mem_ms_bind_step:
+	arg offset_dongle_ms_bind_step,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_dongle_bind_second_step_keyboard:
+	call g24_dongle_bind_kb_payload_cfg
+	setarg offset_dongle_kb_bind_step
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_dongle_kb_bind_step
+	beq 1,g24_dongle_kb_bind_step_set2
+	rtn
+g24_dongle_kb_bind_step_set2:
+	setarg 2
+	//jam 2,mem_dongle_kb_bind_step
+g24_store_mem_kb_bind_step:
+	arg offset_dongle_kb_bind_step,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_dongle_bind_third_step:
+	call g24_fetch_mem_rxdata_temp_add3_1byte
+	beq BIND_MOUSE,g24_dongle_bind_third_step_mouse
+	beq BIND_KEYBOARD,g24_dongle_bind_third_step_keyboard
+	rtn
+g24_dongle_bind_third_step_mouse:
+	setarg offset_dongle_ms_bind_step
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_dongle_ms_bind_step
+	beq 2,g24_dongle_ms_bind_step_success
+	rtn
+g24_dongle_ms_bind_step_success:
+	call g24_fetch_mem_bind_device_status
+	//fetch 1,mem_dongle_bind_device_status
+	or_into 0x01,pdata
+	call g24_store_mem_bind_device_status
+	//store 1,mem_dongle_bind_device_status
+g24_dongle_bind_exit:	
+	setarg 0
+	setarg offset_dongle_ms_bind_step
+	iadd regc,contw
+	istore 2,contw
+	branch g24_rx_interrupt_clear
+
+g24_dongle_bind_third_step_keyboard:
+	setarg offset_dongle_kb_bind_step
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_dongle_kb_bind_step
+	bne 0,g24_dongle_kb_bind_step_success
+	rtn
+g24_dongle_kb_bind_step_success:
+	call g24_fetch_mem_bind_device_status
+	//fetch 1,mem_dongle_bind_device_status
+	or_into 0x02,pdata
+	call g24_store_mem_bind_device_status
+	//store 1,mem_dongle_bind_device_status
+	branch g24_dongle_bind_exit
+
+	
+dongle_usb_dispatch:
+	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
+	bpatch patch17_6,mem_patch17
+	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
+usb0_data_ready_report_set0:
+	jam 0,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 usb0_data_ready_report_set0
+dongle_dispose_cmd_get_bind:
+	call g24_fetch_mem_bind_device_status
+	//fetch 1,mem_dongle_bind_device_status
+	store 1,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+dongle_dispose_cmd_exit_bind:
+	call g24_set_work_mem_dongle_work_mode
+	//jam DONGLE_WORK,mem_dongle_work_mode
+	call g24_set0_mem_dongle_mode_init
+	//jam CLEAR_INIT,mem_dongle_mode_init
+	call g24_fetch_mem_bind_device_status
+	//fetch 1,mem_dongle_bind_device_status
+	store 1,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+
+dongle_dispose_cmd_read_mode:
+dongle_dispose_in_bind_mode:
+	jam COMMAND_BIND,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+
+dongle_dispose_cmd_mode:
+	fetch 1,mem_usb0_set_report_data+2
+	beq COM_MODE_BIND,dongle_enter_bind_mode
+//	beq COM_MODE_TEST,dongle_enter_test_mode
+	branch usb0_data_ready_report_set0
+dongle_enter_bind_mode:
+	//jam DONGLE_BIND,mem_dongle_work_mode
+	//jam CLEAR_INIT,mem_dongle_mode_init
+	call g24_bind_mode_enable
+usb0_data_ready_report_set1:
+	jam 1,mem_usb0_data_ready_report
+	rtn
+//dongle_enter_test_mode:
+//	jam DONGLE_TEST,mem_dongle_work_mode
+//	branch usb0_data_ready_report_set1
+
+dongle_dispose_cmd_current_project:
+	jam PRODUCT_ID,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+
+dongle_dispose_cmd_current_mode:
+	call g24_fetch_mem_dongle_work_mode
+	//fetch 1,mem_dongle_work_mode
+	beq DONGLE_WORK,dongle_dispose_in_work_mode
+	beq DONGLE_BIND,dongle_dispose_in_bind_mode
+//	beq DONGLE_TEST,dongle_dispose_in_test_mode
+	rtn
+dongle_dispose_in_work_mode:
+	jam COMMAND_MODE,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+//dongle_dispose_in_test_mode:
+//	jam COMMAND_TEST,mem_usb0_get_report_data+1
+//	branch 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
+	branch usb0_data_ready_report_set1
+
+dongle_dispose_cmd_user_defined:
+	//report_id|cmd|data_len|data
+	call g24_set1_mem_ackpayload_enable
+	fetch 1,mem_usb0_set_report_data+2	//data_len:max 30bytes
+	increase 2,pdata
+	copy pdata,loopcnt
+	arg mem_usb0_set_report_data,contr
+	setarg offset_24g_ackpayload
+	iadd regc,contw
+	branch memcpy
+
+
+dongle_auto_bind:
+	bpatch patch17_7,mem_patch17
+	call g24_mode_switch_init
+dongle_auto_bind_loop:
+	call g24_receive_process
+	call usb_isr
+	branch dongle_auto_bind_loop
+
+g24_dongle_work_mode_auto:
+	call g24_fetch_mem_dongle_work_mode
+	//fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_WORK
+	call g24_dongle_work_mode_start
+	branch g24_rx_nodata_process
+
+g24_dongle_bind_mode_auto:
+	call g24_fetch_mem_dongle_work_mode
+	//fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_BIND
+	call g24_dongle_bind_init
+	call g24_dongle_bind_data_process
+	call g24_fetch_mem_bind_device_status
+	//fetch 1,mem_dongle_bind_device_status
+	rtn blank
+	call g24_set0_mem_mode_switch
+	//jam 0,mem_24g_mode_switch
+	call dongle_check_mode
+	call g24_enable_nodata_timer
+g24_timer_init:
+	setarg 0
+	add regc,offset_24g_tx_btclk,contw
+	//store 4,mem_24g_tx_btclk
+	branch g24_contw_istore_4byte
+
+g24_timer_check:
+	call disable_user
+	add regc,offset_24g_tx_btclk,rega
+	ifetcht 4,rega	
+	//fetcht 4,mem_24g_tx_btclk
+	copy clkn_bt,pdata
+	isub temp,null
+	ncall g24_timer_timeout,positive
+	copy pdata,regb
+	add regc,offset_24g_tx_btclk,rega
+	ifetch 4,rega
+	//fetch 4,mem_24g_tx_btclk
+	add regc,offset_24g_interval,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_interval
+	iadd temp,temp
+	copy regb,pdata
+	isub temp,null
+	nrtn positive
+	set0 28,pdata
+	add regc,offset_24g_tx_btclk,contw
+	istore 4,contw
+	//store 4,mem_24g_tx_btclk
+	branch enable_user
+
+g24_mode_switch_init:
+	setarg 1
+	call g24_store_mem_mode_switch
+	//jam 1,mem_24g_mode_switch
+	call g24_set0_mem_time_slice
+	//jam 0,mem_24g_time_slice
+	setarg 0xff
+	add regc,offset_24g_interval,contw
+	istore 1,contw
+	//jam 0xff,mem_24g_interval
+	branch g24_timer_init
+
+g24_mode_switch:
+	setarg offset_24g_mode_switch
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_mode_switch
+	rtn blank
+	call g24_timer_check
+	nrtn user
+	call g24_fetch_mem_time_slice
+	//fetch 1,mem_24g_time_slice
+	increase 1,pdata
+	and_into 1,pdata
+	call g24_store_mem_time_slice
+	//store 1,mem_24g_time_slice
+	beq 0,dongle_check_mode
+	beq 1,g24_bind_mode_enable
+	rtn
+
+g24_bind_mode_enable:
+	//jam DONGLE_BIND,mem_dongle_work_mode
+	//jam CLEAR_INIT,mem_dongle_mode_init
+	//rtn
+	setarg DONGLE_BIND
+	call g24_store_mem_dongle_work_mode
+	branch g24_set0_mem_dongle_mode_init
+
+g24_enable_nodata_timer:
+	setarg 1
+	call g24_store_mem_nodata_timer_enable
+	//jam 1,mem_24g_nodata_timer_enable
+g24_enable_nodata_timer_init:
+	setarg TIMER_NODATA_DELAY
+	arg TIMER_NODATA,queue
+	branch timer_init
+
+g24_rx_nodata_process:
+	call g24_fetch_mem_nodata_timer_enable
+	//fetch 1,mem_24g_nodata_timer_enable
+	rtn blank
+	arg TIMER_NODATA,queue
+	call timer_check
+	nrtn blank
+	call g24_set0_mem_nodata_timer_enable
+	//jam 0,mem_24g_nodata_timer_enable
+	//no data for more than 100ms,then go to search
+	setarg DONGLE_SEARCH
+	call g24_store_mem_dongle_work_mode	
+	//jam DONGLE_SEARCH,mem_dongle_work_mode
+	call g24_set0_mem_dongle_mode_init
+	//jam CLEAR_INIT,mem_dongle_mode_init
+	branch g24_rx_interrupt_clear
+
+g24_dongle_search_mode_auto:
+	bpatch patch18_0,mem_patch18
+	call g24_fetch_mem_dongle_work_mode
+	//fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_SEARCH
+	call g24_dongle_search_mode_init
+	call g24_rx_auto_addr_ch_search
+	call g24_receive_transmit_ack
+	nbranch g24_rx_interrupt_clear,user3
+	//dongle addr,then parse rxdata
+	call g24_dongle_search_addr_check
+	call g24_receive_packet_parse,zero
+	//receive data,then go to paired
+	//jam DONGLE_WORK,mem_dongle_work_mode
+	//jam 0,mem_24g_ackpayload_enable
+	call dongle_check_mode
+	call g24_fetch_mem_dongle_mode_init
+	//fetch 1,mem_dongle_mode_init
+	set1 DONGLE_WORK,pdata
+	call g24_store_mem_dongle_mode_init
+	//store 1,mem_dongle_mode_init
+	call g24_rx_interrupt_clear
+	call g24_enable_nodata_timer
+	call g24_dongle_search_addr_check
+	branch g24_dg_ch_num_reinit,zero
+	setarg offset_24g_kb_addr
+	call g24_set_rega_ifetcht_4byte
+	//fetcht 4,mem_24g_kb_addr
+	call g24_fetch_mem_addr_isub_temp
+	branch g24_kb_ch_num_reinit,zero		
+	setarg offset_24g_mouse_addr
+	call g24_set_rega_ifetcht_4byte
+	//fetcht 4,mem_24g_mouse_addr
+	call g24_fetch_mem_addr_isub_temp
+	branch g24_ms_ch_num_reinit,zero
+	rtn
+
+g24_dongle_search_addr_check:
+	setarg offset_24g_rx_addr
+	call g24_set_rega_ifetcht_4byte
+	//fetcht 4,mem_24g_rx_addr
+g24_fetch_mem_addr_isub_temp:
+	call g24_fetch_mem_addr
+	//fetch 4,mem_24g_addr
+	isub temp,null
+	rtn
+
+g24_dg_ch_num_reinit:
+	setarg offset_24g_dg_ch_number
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_dg_ch_number
+g24_current_ch_num_reinit:
+	//store 1,mem_24g_current_ch_number
+	add regc,offset_24g_current_ch_number,contw
+	branch g24_contw_istore_1byte
+
+g24_kb_ch_num_reinit:
+	setarg offset_24g_kb_ch_number
+	call g24_set_rega_ifetch_1byte	
+	//fetch 1,mem_24g_kb_ch_number
+	branch g24_current_ch_num_reinit
+g24_ms_ch_num_reinit:
+	setarg offset_24g_ms_ch_number
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_ms_ch_number
+	branch g24_current_ch_num_reinit
+
+g24_dongle_search_mode_init:
+	call g24_fetch_mem_dongle_mode_init
+	//fetch 1,mem_dongle_mode_init
+	rtnbit1 DONGLE_SEARCH
+	set1 DONGLE_SEARCH,pdata
+	call g24_store_mem_dongle_mode_init
+	//store 1,mem_dongle_mode_init
+	call g24_set0_mem_time_slice
+	//jam 0,mem_24g_time_slice
+	call g24_set1_mem_ackpayload_enable
+	//jam 1,mem_24g_ackpayload_enable
+	setarg 0
+	add regc,offset_rssi_noise_dg_index,contw
+	istore 3,contw
+	//store 3,mem_rssi_noise_dg_index
+	arg offset_24g_dg_config_ch_once,rega
+	call g24_set_contw_with_temp
+	istore 7,contw
+	//store 7,mem_24g_dg_config_ch_once
+
+	call g24_dongle_search_addr_check
+	nrtn zero
+	add regc,offset_24g_current_ch_number,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_current_ch_number
+	arg offset_24g_dg_ch_number,rega
+	call g24_set_contw_with_regb_store_1byte
+	//store 1,mem_24g_dg_ch_number
+	add regc,offset_24g_ch,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_ch
+	//store 1,mem_24g_dg_last_ch
+	branch g24_store_mem_dg_last_ch
+
+g24_rx_auto_addr_ch_search:
+	bpatch patch18_1,mem_patch18
+	call g24_fetch_mem_time_slice
+	//fetch 1,mem_24g_time_slice
+	increase 1,pdata
+	and_into 3,pdata
+	call g24_store_mem_time_slice
+	//store 1,mem_24g_time_slice
+	//pairing address and channel come first
+	beq 0,g24_rx_auto_bind_config_kb
+	beq 1,g24_rx_auto_bind_config_dongle
+	beq 2,g24_rx_auto_bind_config_mouse
+	beq 3,g24_rx_auto_bind_config_dongle
+	rtn
+
+g24_rx_auto_bind_config_mouse:
+	call g24_dongle_bind_ms_payload_cfg
+	setarg offset_24g_mouse_addr
+	call g24_set_rega_ifetch_4byte
+	//fetch 4,mem_24g_mouse_addr
+	branch g24_rx_auto_addr_ch_search,blank
+	call g24_store_mem_addr
+	//store 4,mem_24g_addr
+	setarg offset_24g_ms_config_ch_once
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_ms_config_ch_once
+	call g24_ms_config_ch_once,blank
+	setarg offset_24g_ms_last_ch
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_ms_last_ch
+	call g24_store_mem_ch
+	//store 1,mem_24g_ch
+	add regc,offset_rssi_noise_ms_index,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_rssi_noise_ms_index
+	arg mem_rssi_noise_ms_buffer,rega
+	call rssi_noise_store
+	add regc,offset_rssi_noise_ms_index,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_ms_index
+	call g24_noise_rssi_average
+	add regc,offset_rssi_noise_ms_avg,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_ms_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	setarg offset_24g_ms_ch_number	
+	call g24_set_rega_ifetcht_1byte
+	//fetcht 1,mem_24g_ms_ch_number
+	call g24_ch_temp_incre_size4 //map size =4
+	arg offset_24g_ms_ch_number,rega
+	call g24_set_contw_with_regb2
+	istoret 1,contw
+	//storet 1,mem_24g_ms_ch_number
+g24_store_mem_ms_last_ch:
+	//store 1,mem_24g_ms_last_ch
+	arg offset_24g_ms_last_ch,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_ms_config_ch_once:
+	setarg 1
+	arg offset_24g_ms_config_ch_once,rega
+	call g24_set_contw_with_regb_store_1byte
+	//jam 1,mem_24g_ms_config_ch_once
+	arg 0,temp
+	call g24_ch_calc
+	//store 1,mem_24g_ms_last_ch
+	//rtn
+	branch g24_store_mem_ms_last_ch
+	
+g24_rx_auto_bind_config_kb:
+	call g24_dongle_bind_kb_payload_cfg
+	setarg offset_24g_kb_addr
+	call g24_set_rega_ifetch_4byte
+	//fetch 4,mem_24g_kb_addr
+	branch g24_rx_auto_addr_ch_search,blank
+	call g24_store_mem_addr
+	//store 4,mem_24g_addr
+	setarg offset_24g_kb_config_ch_once
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_kb_config_ch_once
+	call g24_kb_config_ch_once,blank
+	setarg offset_24g_kb_last_ch
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_kb_last_ch
+	call g24_store_mem_ch
+	//store 1,mem_24g_ch
+	add regc,offset_rssi_noise_kb_index,rega
+	ifetcht 1,rega	
+	//fetcht 1,mem_rssi_noise_kb_index
+	arg mem_rssi_noise_kb_buffer,rega
+	call rssi_noise_store
+	add regc,offset_rssi_noise_kb_index,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_kb_index
+	call g24_noise_rssi_average
+	add regc,offset_rssi_noise_kb_avg,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_kb_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	setarg offset_24g_kb_ch_number	
+	call g24_set_rega_ifetcht_1byte	
+	//fetcht 1,mem_24g_kb_ch_number
+	call g24_ch_temp_incre_size4 //map size =4
+	arg offset_24g_kb_ch_number,rega
+	call g24_set_contw_with_regb2	
+	istoret 1,contw
+	//storet 1,mem_24g_kb_ch_number
+g24_store_mem_kb_last_ch:
+	//store 1,mem_24g_kb_last_ch
+	arg offset_24g_kb_last_ch,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_kb_config_ch_once:
+	setarg 1
+	arg offset_24g_kb_config_ch_once,rega
+	call g24_set_contw_with_regb_store_1byte
+	//jam 1,mem_24g_kb_config_ch_once
+	arg 0,temp
+	call g24_ch_calc
+	//store 1,mem_24g_kb_last_ch
+	//rtn
+	branch g24_store_mem_kb_last_ch
+
+g24_rx_auto_bind_config_dongle:
+	call g24_dongle_bind_ms_payload_cfg
+	call g24_fetch_mem_rx_addr
+	//fetch 4,mem_24g_rx_addr
+	call g24_store_mem_addr
+	//store 4,mem_24g_addr
+	setarg offset_24g_dg_config_ch_once
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_dg_config_ch_once
+	call g24_dg_config_ch_once,blank
+	call g24_dg_store_config_ch
+	add regc,offset_rssi_noise_dg_index,rega
+	ifetcht 1,rega	
+	//fetcht 1,mem_rssi_noise_dg_index
+	arg mem_rssi_noise_dg_buffer,rega
+	call rssi_noise_store
+	add regc,offset_rssi_noise_dg_index,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_dg_index
+	call g24_noise_rssi_average
+	add regc,offset_rssi_noise_dg_avg,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_dg_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	setarg offset_24g_dg_ch_number	
+	call g24_set_rega_ifetcht_1byte	
+	//fetcht 1,mem_24g_dg_ch_number
+	call g24_ch_temp_incre_size4 //map size =4
+	arg offset_24g_dg_ch_number,rega
+	call g24_set_contw_with_regb2
+	istoret 1,contw
+	//storet 1,mem_24g_dg_ch_number
+g24_store_mem_dg_last_ch:
+	//store 1,mem_24g_dg_last_ch
+	//rtn
+	arg offset_24g_dg_last_ch,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+
+g24_dg_config_ch_once:
+	//jam 1,mem_24g_dg_config_ch_once
+	//fetch 1,mem_24g_dg_last_ch
+	//store 1,mem_24g_ch
+	//rtn
+	setarg 1
+	arg offset_24g_dg_config_ch_once,rega
+	call g24_set_contw_with_regb_store_1byte
+g24_dg_store_config_ch:
+	setarg offset_24g_dg_last_ch
+	call g24_set_rega_ifetch_1byte
+	branch g24_store_mem_ch
+
+
+g24_transmit_ack:
+//data type
+	add regc,offset_24g_rxbuf,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_rxbuf
+	call g24_store_mem_data_type
+	//store 1,mem_24g_data_type
+//read len pid crc
+	call g24_read_len_pid_crc
+//read ack
+	call g24_fetch_mem_rxbuf_add1
+	//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_ackpayload_prep:
+	bpatch patch18_2,mem_patch18
+	add regc,offset_24g_datalen,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_datalen
+	setarg offset_24g_ackpayload_enable
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_ackpayload_enable
+	rtn blank
+	setarg 0x06
+	add regc,offset_24g_datalen,contw
+	istore 1,contw
+	//jam 0x06,mem_24g_datalen
+	arg 0x06,loopcnt
+	setarg offset_24g_bind_payload
+	iadd regc,contr
+	//arg mem_24g_bind_payload,contr
+	add regc,offset_24g_txbuf,contw
+	//arg mem_24g_txbuf,contw
+	branch memcpy
+
+
+g24_receive_packet_start:
+	call g24_receive_transmit_ack
+	nbranch g24_rx_interrupt_clear,user3
+	branch g24_receive_packet_parse
+
+g24_receive_transmit_ack:
+	call g24_rx_interrupt_clear
+	call g24_receive_packet
+	nrtn user3
+	branch g24_transmit_ack
+
+g24_receive_packet_parse:
+	bpatch patch18_3,mem_patch18
+	call g24_receive_packet_parse_pid_crc
+	nbranch g24_rx_interrupt_clear,user
+	add regc,offset_24g_rxdata_length,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_rxdata_length
+	branch g24_rx_interrupt_clear,blank
+	increase 2,pdata
+	iforce loopcnt
+	add regc,offset_24g_rxbuf,contr
+	//arg mem_24g_rxbuf,contr
+	setarg offset_24g_rxdata_temp
+	iadd regc,contw
+	//arg mem_24g_rxdata_temp,contw
+	call memcpy
+	call g24_set0_mem_mode_switch
+	//jam 0,mem_24g_mode_switch
+	call g24_fetch_mem_pair_mode
+	//fetch 1,mem_24g_pair_mode
+	call g24_enable_nodata_timer,blank
+	setarg offset_24g_rxdata_temp_add2
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_rxdata_temp+2
+	beq 0x01,g24_data_type1
+	beq 0x02,g24_data_type2
+	beq 0x03,g24_data_type3
+	beq 0xff,g24_data_attemp
+	branch g24_rx_interrupt_clear
+
+g24_receive_packet_parse_pid_crc:
+	call g24_head_ptr2regc
+	call disable_user
+	add regc,offset_24g_sta_pid,rega
+	ifetch 1,rega		
+	//fetch 1,mem_24g_sta_pid
+	add regc,offset_24g_last_pid,rega
+	ifetcht 1,rega		
+	//fetcht 1,mem_24g_last_pid
+	isub temp,null
+	ncall enable_user,zero
+	add regc,offset_24g_sta_pid,rega
+	ifetch 1,rega	
+	//fetch 1,mem_24g_sta_pid
+	add regc,offset_24g_last_pid,contw
+	istore 1,contw	
+	//store 1,mem_24g_last_pid
+	add regc,offset_24g_sta_crc,rega
+	ifetch 3,rega	
+	//fetch 3,mem_24g_sta_crc
+	add regc,offset_24g_last_crc,rega
+	ifetcht 3,rega	
+	//fetcht 3,mem_24g_last_crc
+	isub temp,null
+	ncall enable_user,zero
+	add regc,offset_24g_sta_crc,rega
+	ifetch 3,rega
+	//fetch 3,mem_24g_sta_crc
+	add regc,offset_24g_last_crc,contw
+	//store 3,mem_24g_last_crc
+	branch g24_contw_istore_3byte
+
+g24_data_type1:
+	call g24_ch_timer_reinit
+	call g24_fetch_mem_abort_pac
+	store 1,mem_temp
+	//fetch 1,mem_24g_abort_pac
+	call g24_fetcht_mem_rxdata_temp
+	fetch 1,mem_temp
+	//fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_abort,temp
+	setflag true,0,pdata
+	add regc,offset_24g_abort_pac,contw
+	istore 1,contw
+	//store 1,mem_24g_abort_pac
+	beq 1,g24_data_attemp_mouse
+	call g24_fetch_mem_hop_pac
+	//fetch 1,mem_24g_hop_pac
+	call g24_fetcht_mem_rxdata_temp
+	//fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_hop,temp
+	setflag true,0,pdata
+	call g24_store_mem_hop_pac
+	//store 1,mem_24g_hop_pac
+	add regc,offset_24g_cb_rxdata_type1,rega
+	ifetch 2,rega
+	//fetch 2,mem_24g_cb_rxdata_type1
+	branch callback_func
+
+dongle_rxdata_type1:
+	setarg MS_REPORT_ID
+	store 1,mem_usb_mouse_data	//report id
+	call g24_fetch_mem_rxdata_temp_add3_7byte
+	//fetch 7,mem_24g_rxdata_temp+3	//key
+	istore 7,contw
+	call g24_fetch_mem_rxdata_temp_add3_7byte
+	//fetch 7,mem_24g_rxdata_temp+3	//key
+	ncall g24_ms_enable_blank_data_forcibly,blank//get kb data
+	call g24_fetch_mem_rxdata_temp_add3_7byte
+	//fetch 7,mem_24g_rxdata_temp+3	//key
+	call g24_ms_disable_blank_data_forcibly,blank
+g24_data_type1_usbtx_enable:
+	jam USB_EP2_MS,mem_usb_ep2_data
+g24_data_type1_usbtx_enable_ep2:	
+	fetch 1,mem_usb_tx_enable
+	set1 2,pdata
+	store 1,mem_usb_tx_enable
+	rtn
+	
+g24_ms_enable_blank_data_forcibly:
+	setarg 1
+	call g24_store_mem_ms_blank_data_enable	
+	//jam 1,mem_24g_ms_blank_data_enable
+g24_ms_enable_blank_data_timer:
+	setarg TIMER_MS_BLANK_DELAY
+	arg TIMER_MS_BLANK,queue
+	branch timer_init
+g24_ms_disable_blank_data_forcibly:
+	call g24_set0_mem_ms_blank_data_enable
+	//jam 0,mem_24g_ms_blank_data_enable
+g24_ms_disable_blank_data_timer:	
+	setarg 0
+	arg TIMER_MS_BLANK,queue
+	branch timer_init
+	
+g24_data_type2:
+	call g24_fetcht_mem_rxdata_temp
+	//fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_abort,temp
+	branch g24_data_attemp_kbd,true
+	arg mem_usb_kb_data,contw
+	call g24_data_type2_reverse_data
+	fetch 8,mem_usb_kb_data
+	ncall g24_kb_enable_blank_data_forcibly,blank//get kb data
+	fetch 8,mem_usb_kb_data
+	call g24_kb_disable_blank_data_forcibly,blank
+	call g24_head_ptr2regc
+	fetch 8,mem_usb_kb_data
+	arg offset_24g_kb_data_sta_data,rega
+	call g24_set_contw_with_temp
+	istore 8,contw
+	//store 8,mem_24g_kb_data_sta_data
+	setarg offset_24g_kb_data_last_data
+	iadd regc,rega
+	ifetcht 8,rega
+	//fetcht 8,mem_24g_kb_data_last_data
+	isub temp,null
+	ncall g24_kb_data_dispose,zero
+	setarg offset_24g_kb_data_sta_data
+	iadd regc,rega
+	ifetch 8,rega
+	//fetch 8,mem_24g_kb_data_sta_data
+	arg offset_24g_kb_data_last_data,rega
+	call g24_set_contw_with_temp
+	istore 8,contw
+	//store 8,mem_24g_kb_data_last_data
+	branch g24_rx_interrupt_clear
+
+g24_data_type2_reverse_data:
+	setarg offset_24g_rxdata_temp_add2
+	iadd regc,contr
+	//arg mem_24g_rxdata_temp+2,contr
+	arg 9,loopcnt
+	branch reverse_byte
+
+g24_kb_enable_blank_data_forcibly:
+	setarg 1
+	call g24_store_mem_kb_blank_data_enable
+	//jam 1,mem_24g_kb_blank_data_enable
+g24_kb_enable_blank_data_timer:	
+	setarg TIMER_KB_BLANK_DELAY
+	arg TIMER_KB_BLANK,queue
+	branch timer_init
+
+g24_kb_disable_blank_data_forcibly:
+	call g24_set0_mem_kb_blank_data_enable
+	//jam 0,mem_24g_kb_blank_data_enable
+g24_kb_disable_blank_data_timer:	
+	setarg 0
+	arg TIMER_KB_BLANK,queue
+	branch timer_init
+
+g24_kb_data_dispose:
+g24_kb_data_into_ep1_fifo:
+	jam USB_EP1_KB,mem_usb_ep1_data
+	fetch 1,mem_usb_tx_enable
+	set1 1,pdata
+	store 1,mem_usb_tx_enable
+	rtn
+
+g24_data_type3:
+	arg mem_usb_kb_multikey,contw
+	call g24_data_type2_reverse_data
+	fetch 2,mem_usb_kb_multikey+1
+	ncall g24_kb_mul_enable_blank_data_forcibly,blank//get multikey data
+	fetch 2,mem_usb_kb_multikey+1
+	call g24_kb_mul_disable_blank_data_forcibly,blank
+	call g24_head_ptr2regc
+	fetch 3,mem_usb_kb_multikey
+	arg offset_24g_kb_multikey_sta_data,rega
+	call g24_set_contw_with_temp_store_3byte
+	//store 3,mem_24g_kb_multikey_sta_data
+	setarg offset_24g_kb_multikey_last_data
+	iadd regc,rega
+	ifetcht 3,rega
+	//fetcht 3,mem_24g_kb_multikey_last_data
+	isub temp,null
+	ncall g24_kb_mul_data_into_ep2_fifo,zero
+	setarg offset_24g_kb_multikey_sta_data
+	iadd regc,rega
+	ifetch 3,rega
+	//fetch 3,mem_24g_kb_multikey_sta_data
+	arg offset_24g_kb_multikey_last_data,rega
+	call g24_set_contw_with_temp_store_3byte
+	//store 3,mem_24g_kb_multikey_last_data
+	branch g24_rx_interrupt_clear
+
+g24_kb_mul_data_into_ep2_fifo:
+	jam USB_EP2_MULTIKEY,mem_usb_ep2_data
+	branch g24_data_type1_usbtx_enable_ep2
+
+g24_kb_mul_enable_blank_data_forcibly:
+	setarg 1
+	call g24_store_mem_kb_mul_blank_data_enable
+	//jam 1,mem_24g_kb_mul_blank_data_enable
+g24_kb_mul_enable_blank_data_timer:	
+	setarg TIMER_KB_MUL_BLANK_DELAY
+	arg TIMER_KB_MUL_BLANK,queue
+	branch timer_init
+
+g24_kb_mul_disable_blank_data_forcibly:
+	call g24_set0_mem_kb_mul_blank_data_enable
+	//jam 0,mem_24g_kb_mul_blank_data_enable
+g24_kb_mul_disable_blank_data_timer:	
+	setarg 0
+	arg TIMER_KB_MUL_BLANK,queue
+	branch timer_init
+	
+g24_data_attemp:
+	call g24_fetch_mem_rxdata_temp_add3_1byte
+	//fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_MOUSE,g24_data_attemp_mouse
+	beq DATATYPE_KEYBOARD,g24_data_attemp_kbd
+	rtn
+g24_data_attemp_mouse:
+	setarg offset_24g_rxdata_temp_add4
+	call g24_set_rega_ifetch_4byte
+	arg offset_24g_mouse_addr,rega
+	call g24_set_contw_with_temp
+	//fetch 4,mem_24g_rxdata_temp+4
+	//store 4,mem_24g_mouse_addr
+	branch g24_contw_istore_4byte
+
+g24_data_attemp_kbd:
+	setarg offset_24g_rxdata_temp_add4
+	call g24_set_rega_ifetch_4byte
+	arg offset_24g_kb_addr,rega
+	call g24_set_contw_with_temp
+	//fetch 4,mem_24g_rxdata_temp+4
+	//store 4,mem_24g_kb_addr
+	branch g24_contw_istore_4byte
+
+g24_store_mem_24g_mode:
+	call g24_head_ptr2regc
+	add regc,offset_24g_mode,contw
+	istore 1,contw
+	rtn
+
+g24_fetch_mem_device_addr:
+	call g24_head_ptr2regc
+	add regc,offset_24g_device_addr,rega
+	branch g24_rega_ifetch_4byte
+g24_store_mem_device_addr:
+	call g24_head_ptr2regc
+	add regc,offset_24g_device_addr,contw
+	branch g24_contw_istore_4byte
+
+g24_fetch_mem_addr:
+	add regc,offset_24g_addr,rega
+	branch g24_rega_ifetch_4byte
+g24_store_mem_addr:
+	add regc,offset_24g_addr,contw
+g24_contw_istore_4byte:	
+	istore 4,contw
+	rtn
+
+g24_store_mem_ch:
+	add regc,offset_24g_ch,contw
+	branch g24_contw_istore_1byte
+
+g24_set0_mem_pid:
+	setarg 0
+g24_store_mem_pid:
+	call g24_head_ptr2regc
+	add regc,offset_24g_pid,contw
+	branch g24_contw_istore_1byte
+
+g24_store_mem_txpayload:
+	add regc,offset_24g_txpayload,contw
+	branch g24_contw_istore_1byte
+
+g24_set4_mem_max_retry:
+	setarg 4
+g24_store_mem_max_retry:
+	add regc,offset_24g_max_retry,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_data_type:
+	add regc,offset_24g_data_type,rega
+	branch g24_rega_ifetch_1byte
+g24_store_mem_data_type:
+	add regc,offset_24g_data_type,contw
+	branch g24_contw_istore_1byte
+
+g24_set2_mem_sync_cnt:
+	setarg 2
+g24_store_mem_sync_cnt:
+	add regc,offset_24g_sync_cnt,contw
+	branch g24_contw_istore_1byte
+
+g24_set1_mem_rf_last_sta:
+	setarg 1
+g24_store_mem_rf_last_sta:
+	call g24_head_ptr2regc
+	add regc,offset_24g_rf_last_sta,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_hop_pac:
+	call g24_head_ptr2regc
+	add regc,offset_24g_hop_pac,rega
+	branch g24_rega_ifetch_1byte
+g24_set1_mem_hop_pac:
+	setarg 1
+g24_store_mem_hop_pac:
+	call g24_head_ptr2regc
+	add regc,offset_24g_hop_pac,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_abort_pac:
+	call g24_head_ptr2regc
+	add regc,offset_24g_abort_pac,rega
+	branch g24_rega_ifetch_1byte
+g24_set1_mem_abort_pac:
+	setarg 1
+g24_store_mem_abort_pac:
+	call g24_head_ptr2regc
+	add regc,offset_24g_abort_pac,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_pairing_sm:
+	call g24_head_ptr2regc
+	add regc,offset_24g_pairing_sm,rega
+	branch g24_rega_ifetch_1byte
+g24_store_mem_pairing_sm:
+	add regc,offset_24g_pairing_sm,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_rf_hop_ch:
+	add regc,offset_24g_rf_hop_ch,rega
+	branch g24_rega_ifetch_1byte
+g24_set0_mem_rf_hop_ch:
+	setarg 0
+g24_store_mem_rf_hop_ch:
+	add regc,offset_24g_rf_hop_ch,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_rf_work_stage:
+	add regc,offset_24g_rf_work_stage,rega
+	branch g24_rega_ifetch_1byte
+	
+g24_fetch_mem_rxbuf_add1:
+	add regc,offset_24g_rxbuf_add1,rega
+	branch g24_rega_ifetch_1byte
+
+g24_fetch_mem_check_dongle_times:
+	add regc,offset_24g_check_dongle_times,rega
+	branch g24_rega_ifetch_1byte
+g24_set0_mem_check_dongle_times:
+	setarg 0
+g24_store_mem_check_dongle_times:
+	call g24_head_ptr2regc
+	add regc,offset_24g_check_dongle_times,contw
+	branch g24_contw_istore_1byte
+
+g24_store_mem_tx_power:
+	call g24_head_ptr2regc
+	add regc,offset_tx_power_temp,rega
+	ifetch 1,rega
+g24_store_mem_txpower:
+	store 1,mem_tx_power
+	rtn
+
+g24_store_mem_tx_power_temp:
+	call g24_head_ptr2regc
+	fetch 1,mem_tx_power
+	//store 1,mem_tx_power_temp
+	add regc,offset_tx_power_temp,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_power_ctrl_pac:	
+	add regc,offset_power_ctrl_packet_cnt,rega
+	branch g24_rega_ifetch_1byte
+
+g24_store_mem_power_ctrl_level:
+	add regc,offset_power_ctrl_level,contw
+	branch g24_contw_istore_1byte
+
+g24_fetcht_mem_rxdata_temp:
+	setarg offset_24g_rxdata_temp
+g24_set_rega_ifetcht_1byte:	
+	iadd regc,rega
+	ifetcht 1,rega
+	rtn
+
+g24_fetch_mem_rf_laststa:
+	setarg offset_24g_rf_laststa
+	branch g24_set_rega_ifetch_1byte
+g24_set0_mem_rf_laststa:
+	setarg 0
+g24_store_mem_rf_laststa:
+	arg offset_24g_rf_laststa,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_fetch_mem_rx_addr:
+	setarg offset_24g_rx_addr
+g24_set_rega_ifetch_4byte:	
+	call g24_set_rega
+g24_rega_ifetch_4byte:
+	ifetch 4,rega
+	rtn
+
+g24_fetch_mem_time_slice:
+	setarg offset_24g_time_slice
+	branch g24_set_rega_ifetch_1byte
+g24_set0_mem_time_slice:
+	setarg 0
+g24_store_mem_time_slice:
+	arg offset_24g_time_slice,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_set0_mem_mode_switch:
+	setarg 0
+g24_store_mem_mode_switch:
+	arg offset_24g_mode_switch,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_store_mem_bind_payload:
+	arg offset_24g_bind_payload,rega
+	branch g24_set_contw_with_regb_store_1byte	
+	
+g24_fetch_mem_bind_device_status:
+	setarg offset_dongle_bind_device_status
+	branch g24_set_rega_ifetch_1byte
+g24_store_mem_bind_device_status:
+	arg offset_dongle_bind_device_status,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_fetch_mem_dongle_work_mode:
+	setarg offset_dongle_work_mode
+	branch g24_set_rega_ifetch_1byte
+g24_set_work_mem_dongle_work_mode:
+	setarg DONGLE_WORK
+g24_store_mem_dongle_work_mode:
+	arg offset_dongle_work_mode,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_fetch_mem_dongle_mode_init:
+	setarg offset_dongle_mode_init
+	branch g24_set_rega_ifetch_1byte
+g24_set0_mem_dongle_mode_init:
+	setarg CLEAR_INIT
+g24_store_mem_dongle_mode_init:
+	arg offset_dongle_mode_init,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_set0_mem_ackpayload_enable:
+	setarg 0
+g24_store_mem_ackpayload_enable:
+	arg offset_24g_ackpayload_enable,rega
+	branch g24_set_contw_with_regb_store_1byte
+g24_set1_mem_ackpayload_enable:
+	setarg 1
+	branch g24_store_mem_ackpayload_enable
+
+g24_fetch_mem_rxdata_temp_add3_7byte:
+	setarg offset_24g_rxdata_temp_add3
+	call g24_set_rega
+	ifetch 7,rega
+	rtn
+
+g24_fetch_mem_nodata_timer_enable:
+	setarg offset_24g_nodata_timer_enable
+	branch g24_set_rega_ifetch_1byte
+g24_set0_mem_nodata_timer_enable:
+	setarg 0
+g24_store_mem_nodata_timer_enable:
+	arg offset_24g_nodata_timer_enable,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_set0_mem_ms_blank_data_enable:
+	setarg 0
+g24_store_mem_ms_blank_data_enable:
+	arg offset_24g_ms_blank_data_enable,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_set0_mem_kb_blank_data_enable:
+	setarg 0
+g24_store_mem_kb_blank_data_enable:
+	arg offset_24g_kb_blank_data_enable,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_set0_mem_kb_mul_blank_data_enable:
+	setarg 0
+g24_store_mem_kb_mul_blank_data_enable:
+	arg offset_24g_kb_mul_blank_data_enable,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_store_mem_power_ctrl_threshold_up:
+	arg offset_power_ctrl_threshold_up,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_store_mem_power_ctrl_threshold_down:
+	arg offset_power_ctrl_threshold_down,rega
+g24_set_contw_with_regb_store_1byte:
+	call g24_set_contw_with_regb
+g24_contw_istore_1byte:
+	istore 1,contw
+	rtn
+
+g24_fetch_mem_pair_mode:
+	setarg offset_24g_pair_mode
+	branch g24_set_rega_ifetch_1byte
+
+g24_store_mem_pair_mode:
+	arg offset_24g_pair_mode,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_store_mem_pair_txpower:
+	setarg offset_24g_pair_txpower
+	call g24_set_rega_ifetch_1byte
+	branch g24_store_mem_txpower
+
+g24_fetch_mem_rxdata_temp_add3_1byte:
+	setarg offset_24g_rxdata_temp_add3
+	branch g24_set_rega_ifetch_1byte
+
+g24_set_contw_with_temp:
+	copy pdata,temp
+	copy rega,pdata
+	iadd regc,contw
+	copy temp,pdata
+	rtn
+	
+g24_set_contw_with_temp_store_3byte:
+	call g24_set_contw_with_temp
+g24_contw_istore_3byte:	
+	istore 3,contw
+	rtn
+
+g24_set_contw_with_regb:
+	call g24_head_ptr2regc
+g24_set_contw_with_regb2:
+	copy pdata,regb
+	copy rega,pdata
+	iadd regc,contw
+	copy regb,pdata
+	rtn
+
+g24_set_rega:
+	call g24_head_ptr2regc
+	iadd regc,rega
+	rtn
+
+g24_set_rega_ifetch_1byte:
+	call g24_set_rega
+g24_rega_ifetch_1byte:
+	ifetch 1,rega
+	rtn
+
+g24_set_rega_ifetcht_4byte:
+	call g24_set_rega
+	ifetcht 4,rega
+	rtn
+
+g24_mem_set0:
+	setarg 0
+	branch g24_contw_istore_1byte
+
+
+
+app_init:
+	bpatch patch18_4,mem_patch18
+	fetch 1,mem_device_option
+	branch app_init,blank				/* wait ram to be initialized */
+//	beq dvc_op_ukey,le_ukey_init
+	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
+	bbit1 dvc_op_mouse,mouse_init
+	rtn
+	
+app_lpm_init:
+	bpatch patch18_5,mem_patch18
+	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_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 patch18_6,mem_patch18
+	//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
+	rtn
+
+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:
+	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:
+	bpatch patch18_7,mem_patch18
+	store 1,mem_app_evt_timer_count
+app_evt_100ms_loop:
+	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 patch19_0,mem_patch19
+	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_clearflag_store:
+//	setarg 0
+//	branch app_flag_store
+app_initflag_store:
+	setarg EEPROM_INIT_FLAG
+app_flag_store:
+	store 2,mem_timeup
+	bpatch patch19_1,mem_patch19
+	arg 2,temp
+	arg mem_timeup,rega
+	arg eeprom_module_init_flag,regb
+	branch iicd_write_eep_data
+
+//initflag is in eeprom to sure is eeprom nead to init
+app_initflag_check:
+	bpatch patch19_2,mem_patch19
+	arg 2,temp
+	arg mem_pdatatemp,rega
+	arg eeprom_module_init_flag,regb
+	call iicd_read_eep_data
+	fetch 2,mem_pdatatemp
+	arg EEPROM_INIT_FLAG,temp
+	isub  temp,null
+	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 patch19_3,mem_patch19
+	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 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
+
+antilost_init:
+	rtn wake	
+	jam 0x00,core_gpio_sel1//1: GPIO[26:25] is two wire SPI, 2: GPIO[26:23] is SPI, 3: GPIO[26:23] is PCM
+	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 patch19_4,mem_patch19
+	call antilost_buzzer_pwm_init
+	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_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
+	rtn
+antilost_le_conn_param_update_rsp_recieved:
+	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_accepted:
+	fetch 2,mem_le_new_connslavelatency
+	branch antilost_master_nonsupport_latency,blank
+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_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 wait_div_end
+	quotient pdata
+	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 ui_button_check_long_press
+	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
+	branch antilost_adc_check_timer
+
+
+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:
+	//fetch 1,mem_antl_power_timer
+	//rtneq SHUTTER_POWER_OFF
+	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 1,mem_hci_curr_len
+	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
+	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 patch19_5,mem_patch19
+	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 patch19_6,mem_patch19
+	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 2,mem_antl_send_updata_le_param_timer
+	call antilost_battery_process
+	call antilost_battery_calculate_end //send twice to combat the failure of reception first time
+	jam OPCODE7_ANTL_CONFIG_ALRAM,mem_antl_key0_release+5
+	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 1,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 1,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 1,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
+	branch adc_init_data
+
+antilost_battery_process:
+	call adc_set_mode
+	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
+	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:
+	rtn wake	
+	hfetch 1,core_gpio_sel1
+	and_into 0xf0,pdata
+	hstore 1,core_gpio_sel1
+	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
+	
+	call g24_head_ptr2regc
+	setarg car_24g_receive_data
+	add regc,offset_24g_cb_rxdata_type1,contw
+	istore 2,contw
+
+	setarg car_power_off_signal
+	store 2,mem_remote_car_power_off_cb
+	
+	setarg car_soft_switch_power_on_signal
+	store 2,mem_remote_car_power_standby_cb
+	
+	bpatch patch19_7,mem_patch19
+	call car_init_environment
+	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 car_ui_led_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
+	call car_ui_led_init
+	arg 0,rega
+	call ui_led_blink_start_global
+	
+	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:
+	arg 0,rega
+	call pwm_init
+	call car_ir_rx_init
+	call g24_receive_process_init
+	branch car_init_adc_hvin
+
+car_init_adc_hvin:
+	jam 100,mem_car_notify_vdd_value_last
+	fetch 1,mem_car_config_low_voltage_led_gpio
+	store 1,mem_car_style2_struct_led_gpio
+	branch adc_init_data
+	
+car_le_before_hibernate:
+	call gpio_set_before_lpm_common
+	branch keyscan_process_lpm_before
+
+car_le_process_lpm_before:
+	branch keyscan_process_lpm_before
+
+car_key_scan_process:
+//	fetch 1,mem_enable_key_scan
+//	rtn blank
+	branch keyscan_key_process
+
+car_scale_process_idle:
+	call car_le_send_packet
+	call car_ir_receive_process
+	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
+	branch car_g24_connected
+
+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:
+	setarg disable_24g
+	call g24_store_mem_24g_mode
+	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
+	call app_lpm_mult_enable
+	fetch 1,mem_car_config_pairing_led_conn_status
+	beq 0x01,car_pairing_led_conn_status_setting
+car_scale_process_conn_next:
+	arg 0,rega
+	branch ui_led_on_global
+car_pairing_led_conn_status_setting:
+	arg 0,rega
+	branch ui_led_blink_stop_global
+
+car_scale_event_le_discon:
+	setarg rx_24g
+	call g24_store_mem_24g_mode
+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
+	arg 0,rega
+	call ui_led_blink_start_global
+
+	setarg FAST_ADV_INTERVAL_VALUE_CAR
+	call shutter_ble_adv_interval_set
+	branch app_ble_start_adv
+
+car_le_bb_event_timer:
+//	call car_ui_power_timeout_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_led_control_timer
+	call car_notify_vdd_timer
+	call car_24g_no_data_timeout_timer
+	call car_ir_breakdown_timer
+	branch car_attack_shake_timer
+
+car_ir_breakdown_timer:
+	arg mem_car_ir_breakdown_check_timer,regc
+	arg car_ir_breakdown_timeout,regb
+	branch timer_single_step
+car_ir_breakdown_timeout:
+	call car_ir_gpio_get_status
+	nrtn true
+	jam 1,mem_car_ir_breakdown_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
+	branch car_g24_disconnect
+
+car_attack_shake_timer:
+	arg mem_car_attack_shake_timer,regc
+	arg car_attack_shake,regb
+	branch timer_single_step
+car_attack_shake:
+	fetch 1, mem_car_attack_shake_flag
+	branch car_attack_shake_stop,blank
+	jam 2,mem_car_attack_shake_timer
+	jam 0, mem_car_attack_shake_flag
+	setarg 0x0a02
+	store 2,mem_le_receive_payload
+	fetch 1,mem_car_config_device_select
+	beq DEVICE_BATTLE_TANK,car_attack_shake_front_battle_tank
+car_attack_shake_front_battle_car:
+	branch car_motor_control
+car_attack_shake_front_battle_tank:
+	setarg 0x0a02
+	store 2,mem_le_receive_payload+2
+	branch car_motor_control
+car_attack_shake_stop:
+	setarg 0
+	store 4,mem_le_receive_payload
+	branch car_motor_control
+
+car_notify_vdd_timer:
+	fetch 1,mem_car_config_bat_notify_enable
+	rtn blank
+ 	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,car_low_bat_led_off
+	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 adc_set_mode
+	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
+
+car_led_control_timer:
+	arg mem_car_led_control_timer,regc
+	arg car_led_control,regb
+	branch timer_single_step
+car_led_control:
+	jam 5,mem_car_led_control_timer
+	jam 0,mem_car_led_no
+	fetch 1,mem_car_led_blink_status
+	beq LED_ON,car_led_control_blink_off
+	beq LED_OFF,car_led_control_blink_on
+car_led_control_set:
+	arg mem_car_led_control,contr
+	copy contr,rega
+	arg 8,loopcnt
+car_led_control_timer_next:
+	copy rega,contr
+	ifetch 1,contr
+	copy contr,rega
+	beq LED_OFF,car_led_control_off
+	beq LED_ON,car_led_control_on
+	beq LED_BLINK,car_led_control_blink
+car_led_control_timer_next_2:
+	fetch 1,mem_car_led_no
+	increase 1,pdata
+	store 1,mem_car_led_no
+	loop car_led_control_timer_next
+	rtn
+car_led_switch:
+	fetch 1,mem_car_led_no
+	arg mem_car_config_blood_led_gpio,regb
+	iadd regb,regb
+	ifetcht 1,regb
+	rtn
+car_led_control_off:
+	call car_led_switch
+	call gpio_out_inactive
+	branch car_led_control_timer_next_2
+car_led_control_on:
+	call car_led_switch
+	call gpio_out_active
+	branch car_led_control_timer_next_2
+car_led_control_blink:
+	fetch 1,mem_car_led_blink_status
+	beq LED_ON,car_led_control_off
+	branch car_led_control_on
+car_led_control_blink_on:
+	jam LED_ON,mem_car_led_blink_status
+	branch car_led_control_set
+car_led_control_blink_off:
+	jam LED_OFF,mem_car_led_blink_status
+	branch car_led_control_set
+	
+////////////////////////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 patch1a_0,mem_patch1a
+	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 patch1a_1,mem_patch1a
+	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:
+	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
+	
+	setarg offset_24g_rxdata_temp_add3
+	call g24_set_rega
+	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:	
+	call car_left_right_control_old
+	branch car_front_back_control_old
+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
+	branch pwm_pwm0_duty_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
+	bpatch patch1a_2,mem_patch1a
+	call car_motor1_control
+	call car_motor2_control
+	branch car_motor3_control
+car_motor1_control:
+	arg mem_motor1_pwm_set,regb
+	arg mem_motor1_status,contr
+	branch car_motor_status_select
+car_motor2_control:
+	arg mem_motor2_pwm_set,regb
+	arg mem_motor2_status,contr
+	branch car_motor_status_select
+car_motor3_control:
+	arg mem_motor3_pwm_set,regb
+	arg mem_motor3_status,contr
+	branch car_motor_status_select
+car_motor_working_flag:
+	jam 0,mem_car_working_flag
+	rtn
+
+car_motor_status_select:
+	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
+
+/////////////////////IR PROCESS/////////////////////
+car_ir_init:
+	hfetch 1,core_gpio_sel2		// select GPIO3 as pwm4
+	set1 2,pdata
+	hstore 1,core_gpio_sel2
+	setarg 158
+	hstore 2,core_pwm_pcnt4
+	hstore 2,core_pwm_ncnt4
+	rtn
+
+car_ir_data_rx_from_app:
+	fetch 1,mem_car_24g_go_die_flag
+	nrtn blank
+	fetch 2,mem_le_receive_payload
+	store 2,mem_ir_data
+	fetch 1,mem_car_24g_status
+	bne WORK_PAIRED,car_ir_data_tx
+	fetch 2,mem_le_lap
+	store 2,mem_ir_data
+car_ir_data_tx:
+	bpatch patch1a_3,mem_patch1a
+	call car_ir_init
+	call car_ir_enable
+	setarg 48000
+	call sleep
+	call car_ir_disable
+	setarg 7200
+	call sleep
+	arg 16,loopcnt
+car_ir_send_loop:
+	call car_ir_enable
+	fetch 2,mem_ir_data
+	bbit1 0,car_ir_is_bit1
+	setarg 7200
+	call sleep
+	call car_ir_disable
+	branch car_ir_wait_finish
+	
+car_ir_is_bit1:
+	setarg 14400
+	call sleep
+	call car_ir_disable
+car_ir_wait_finish:
+	setarg 7200
+	call sleep
+	fetch 2,mem_ir_data
+	rshift pdata,pdata	
+	store 2,mem_ir_data
+	loop car_ir_send_loop
+
+	jam 2,mem_car_attack_shake_timer
+	jam 1, mem_car_attack_shake_flag
+	setarg 0x0a01
+	store 2,mem_le_receive_payload
+	fetch 1,mem_car_config_device_select
+	beq DEVICE_BATTLE_TANK,car_attack_shake_back_battle_tank
+car_attack_shake_back_battle_car:
+	branch car_motor_control
+car_attack_shake_back_battle_tank:
+	setarg 0x0a01
+	store 2,mem_le_receive_payload+2
+	branch car_motor_control
+	
+car_ir_enable:
+	hfetch 1,core_gpio_key2			// PWM4_enable
+	or_into 0x40,pdata
+	hstore 1,core_gpio_key2	
+	rtn
+car_ir_disable:
+	hfetch 1,core_gpio_key2			// PWM4_disable
+	and_into 0xbf,pdata
+	hstore 1,core_gpio_key2
+	rtn
+	
+car_ir_rx_init:
+	fetch 1,mem_car_config_ir_enable
+	rtneq 0x00
+	call lpm_disable_exen_output
+	fetcht 1,mem_car_config_ir_rx_gpio
+	storet 1,mem_ir_rx_gpio
+	call gpio_config_input
+	call car_ir_gpio_get_status
+	nrtn true
+	jam 1,mem_car_ir_breakdown_check_timer
+	rtn
+
+car_ir_receive_process:
+	fetch 1,mem_car_config_ir_enable
+	rtneq FLAG_IR_DISABLE	
+	fetch 1,mem_car_ir_breakdown_flag
+	nrtn blank
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,car_ir_receive_process_next
+	fetch 1,mem_car_24g_status
+	rtnne WORK_PAIRED
+car_ir_receive_process_next:
+	bpatch patch1a_4,mem_patch1a
+	call car_ir_gpio_get_status
+	nrtn true
+	setarg 36000
+	call sleep
+	call car_ir_gpio_get_status
+	nrtn true
+	call car_ir_clk_get
+car_ir_packet_head_wait_end:
+	call car_ir_clk_check
+	nrtn positive
+	call car_ir_gpio_get_status
+	branch car_ir_packet_head_wait_end,true
+	arg 0,rega
+	arg 16,loopcnt
+	call car_ir_clk_get
+car_ir_receive_process_loop:
+	call car_ir_clk_check
+	nrtn positive
+	call car_ir_gpio_get_status
+	nbranch car_ir_receive_process_loop,true
+	setarg 10800
+	call sleep
+	call car_ir_gpio_get_status
+	branch car_ir_get_bit1,true
+car_ir_get_bit0:
+	setarg 0
+ 	rshift rega,rega
+	ior rega,rega
+	loop car_ir_receive_process_loop
+	branch car_ir_receive_process_end
+car_ir_get_bit1:
+	setarg 0x8000
+	rshift rega,rega
+	ior rega,rega
+	call car_ir_clk_get
+car_ir_get_bit1_wait_low_end:
+	call car_ir_clk_check
+	nrtn positive
+	call car_ir_gpio_get_status
+	branch car_ir_get_bit1_wait_low_end,true
+	loop car_ir_receive_process_loop
+car_ir_receive_process_end:
+	bpatch patch1a_5,mem_patch1a
+	copy rega,pdata
+	store 2,mem_ir_rx_buf
+	store 2,mem_ir_notify_data+8
+	fetch 1,mem_car_24g_status
+	beq WORK_PAIRED,car_ir_24g_receive_attack
+car_ir_data_notify:
+	arg 0x07,loopcnt
+	arg mem_ir_notify_data_head,contr
+	call calc_check_sum_start
+	store 1,mem_ir_notify_data_check_sum
+	arg mem_ir_notify_data,rega
+	branch queue_push
+
+car_ir_24g_receive_attack:
+	fetch 1,mem_car_24g_ir_receive_attack_count
+	increase 1,pdata
+	store 1,mem_car_24g_ir_receive_attack_count
+	div pdata,2
+	call wait_div_end
+	quotient temp
+	remainder pdata
+	nbranch car_ir_24g_receive_attack_blink,blank
+car_ir_24g_receive_attack_off:
+	fetch 1,mem_car_config_led_num
+	isub temp,null
+	call car_ir_24g_go_die,zero
+	arg mem_car_led_control,pdata
+	increase -1,temp
+	iadd temp,rega
+	arg 0,pdata
+	istore 1,rega
+	rtn
+car_ir_24g_receive_attack_blink:
+	arg mem_car_led_control,pdata
+	iadd temp,rega
+	arg 2,pdata
+	istore 1,rega
+	rtn
+car_ir_24g_go_die:
+	jam 1,mem_car_24g_go_die_flag
+	rtn
+car_ir_clk_get:
+	copy clkn_bt,pdata
+	store 4,mem_ir_receive_clkn
+	rtn
+car_ir_clk_check:
+	copy clkn_bt,pdata
+	fetcht 4,mem_ir_receive_clkn
+	isub temp,pdata
+	sub pdata,200,null
+	rtn
+
+car_ir_gpio_get_status:
+	fetcht 1,mem_ir_rx_gpio
+	branch gpio_get_bit
+
+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
+    
+
+
+
+
+light_init:
+	call clear_eeprom_size_2k
+	jam 0x7a,mem_curr_packet_num
+	call light_load_controler_list
+	call light_init_crr_cmd_count
+	setarg light_pairing_timer
+	store 2,mem_cb_event_timer
+	arg 0,rega
+	branch pwm_init
+
+light_pairing_timer:
+	fetch 2,mem_light_pairing_timer
+	rtn blank
+	increase -1,pdata
+	store 2,mem_light_pairing_timer
+	rtnne 0
+	jam 0,mem_light_pairing_enable
+	rtn
+
+light_init_crr_cmd_count:
+	bpatch patch1a_6,mem_patch1a
+	fetch 1,mem_light_next_record
+	sub pdata,40,null
+	rtn positive
+	jam 0,mem_light_next_record
+	rtn
+
+light_load_controler_list:
+	arg mem_light_next_record,rega
+	arg 0,regb
+	arg 81,temp
+	branch iicd_read_eep_data
+
+//output user:group record find
+light_find_controler_pairing:
+	disable user
+	fetch 1,mem_light_cnum
+	copy pdata,loopcnt
+	
+	arg mem_light_clist,rega
+	copy regc,regb
+light_find_controler_pairing_loop:
+	bpatch patch1a_7,mem_patch1a
+	call light_compare_addr_record
+	branch enable_user,zero
+light_find_single_pairing_diff:
+	increase 4,rega
+	loop light_find_controler_pairing_loop
+	rtn
+
+//rega: regb:
+light_compare_addr_record:
+	bpatch patch1b_0,mem_patch1b
+	ifetch 3,rega
+	ifetcht 3,regb
+	isub temp,null
+	rtn
+//rega: regb:
+light_compare_single_record:
+	bpatch patch1b_1,mem_patch1b
+	ifetch 3,rega
+	ifetcht 3,regb
+	isub temp,null
+	nrtn zero
+	ifetch 1,contr
+	sub pdata,0,null //0 zero
+	rtn zero
+	add rega,3,contr
+	ifetcht 1,contr
+	isub temp,null
+	rtn
+
+//output:find single controler
+light_find_controler_cmd:
+	bpatch patch1b_2,mem_patch1b
+	disable user
+	fetch 1,mem_light_cnum
+	copy pdata,loopcnt
+	
+	arg mem_light_clist,rega
+	copy regc,regb
+light_find_controler_cmd_loop:
+	call light_compare_single_record
+	branch enable_user,zero
+	increase 4,rega
+	loop light_find_controler_cmd_loop
+	rtn
+
+//regc
+light_recv_adv:
+	fetch 1,mem_le_scanrsp_rcv
+	increase 1,pdata
+	store 1,mem_le_scanrsp_rcv
+	arg mem_le_rxbuf+12,regc
+
+light_anylize_command:
+	ifetch 2,regc
+	arg 0x55aa,temp
+	isub temp,null
+	nrtn zero
+	copy contr,regc
+	ifetcht 3,regc
+	setarg 0xffffff
+	isub temp,null
+	branch light_parse_cmd,zero
+	call light_find_controler_cmd
+	branch light_parse_cmd,user
+	rtn
+
+light_parse_cmd:
+	bpatch patch1b_3,mem_patch1b
+	increase 4,regc
+	ifetch 1,regc
+	fetcht 1,mem_curr_packet_num
+	isub temp,null
+	rtn zero
+	store 1,mem_curr_packet_num
+	fetch 1,mem_le_req_rcv
+	increase 1,pdata
+	store 1,mem_le_req_rcv
+	
+	increase 1,regc
+	ifetch 1,regc
+	store 1,mem_light_crr_cmd_count
+	copy pdata,loopcnt
+	rtn blank
+light_parse_cmd_loop:
+	ifetch 1,contr
+	beq LIGHT_CMD_PWM0,light_parse_cmd_pwm0
+	beq LIGHT_CMD_PWM1,light_parse_cmd_pwm1
+	beq LIGHT_CMD_PWM2,light_parse_cmd_pwm2
+	beq LIGHT_CMD_PWM3,light_parse_cmd_pwm3
+	beq LIGHT_CMD_PWM4,light_parse_cmd_pwm4
+	beq LIGHT_CMD_PWM5,light_parse_cmd_pwm5
+	beq LIGHT_CMD_AUTO_MODE,light_parse_auto_mode
+	beq LIGHT_CMD_PAIRING,light_parse_pairing
+	loop light_parse_cmd_loop
+	rtn
+
+light_parse_cmd_pwm0:
+	copy contr,regc
+	fetch 1,mem_light_pwm0
+	store 1,mem_pdatatemp
+	arg 0,temp
+light_parse_cmd_pwm_common:
+	storet 1,mem_pdatatemp+1
+	setarg 10000
+	store 3,mem_pdatatemp+2
+	ifetch 1,regc
+	store 1,mem_pdatatemp+5
+	call  pwm_out_set
+	and regc,1,contr
+	loop light_parse_cmd_loop
+	rtn
+light_parse_cmd_pwm1:
+	copy regc,contr
+	fetch 1,mem_light_pwm1
+	store 1,mem_pdatatemp
+	arg 1,temp
+	branch light_parse_cmd_pwm_common
+light_parse_cmd_pwm2:
+	copy regc,contr
+	fetch 1,mem_light_pwm2
+	store 1,mem_pdatatemp
+	arg 2,temp
+	branch light_parse_cmd_pwm_common
+light_parse_cmd_pwm3:
+	copy regc,contr
+	fetch 1,mem_light_pwm3
+	store 1,mem_pdatatemp
+	arg 3,temp
+	branch light_parse_cmd_pwm_common
+light_parse_cmd_pwm4:
+	copy regc,contr
+	fetch 1,mem_light_pwm4
+	store 1,mem_pdatatemp
+	arg 4,temp
+	branch light_parse_cmd_pwm_common
+light_parse_cmd_pwm5:
+	copy regc,contr
+	fetch 1,mem_light_pwm5
+	store 1,mem_pdatatemp
+	arg 5,temp
+	branch light_parse_cmd_pwm_common
+
+light_parse_auto_mode:
+	ifetch 1,contr
+	rtn
+
+light_parse_pairing:
+	copy contr,regc
+	fetch 1,mem_light_pairing_enable
+	bne 1,light_parse_pairing_abandon
+	call update_controler_list
+light_parse_pairing_abandon:
+	and regc,4,contr
+	rtn
+update_controler_list:
+	bpatch patch1b_4,mem_patch1b
+	call light_find_controler_pairing
+	branch update_conrtoler_list_found,user
+	fetch 1,mem_light_next_record
+	copy pdata,temp
+	increase 1,pdata
+	store 1,mem_light_next_record
+	call light_init_crr_cmd_count
+	lshift2 temp,temp
+	setarg mem_light_clist
+	iadd temp,contw
+	ifetch 4,regc
+	istore 4,contw
+	branch update_conrtoler_store_list
+update_conrtoler_list_found:
+	add regc,3,contr
+	ifetch 1,contr
+	rtn blank
+	ifetch 4,regc
+	istore 4,rega
+update_conrtoler_store_list:
+	arg mem_light_next_record,rega
+	arg 0,regb
+	arg 81,temp
+	branch iicd_write_eep_data
+
+
+
+lightc_init:
+	//key scan init
+
+	//gpio init
+	fetcht 1,mem_lightc_led_gpio
+	call gpio_out_inactive
+	rtn
+
+
+lightc_dispatch:
+	//key scan 
+	
+	fetcht 1,mem_lightc_led_gpio
+	call gpio_out_active
+
+
+	fetcht 1,mem_lightc_led_gpio
+	call gpio_out_inactive
+
+	//
+	call lightc_start_adv
+
+	fetch 1,mem_adv_time
+	nrtn blank
+	//sleep 
+	call lpm_write_gpio_wakeup
+	hfetch 4,core_lpm_ctrl
+	set0 15,pdata						/* lowest lpo */
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+	arg param_hibernate_clks,temp
+	branch lpm_sleep
+
+lightc_adv:
+	fetch 1,mem_adv_time
+	branch le_adv_loop_tx,blank
+	increase -1,pdata
+	store 1,mem_adv_time
+	branch le_adv_loop_tx
+
+lightc_start_adv:
+	mul32 pdata,20,pdata
+	arg mem_cmd0_string,contr
+	iadd contr,contr
+	ifetch 1,contr
+	rtn blank
+	copy pdata,rega
+	copy rega,loopcnt
+	arg mem_le_adv_data+2,contw
+	call memcpy
+	copy rega,pdata
+	increase 2,pdata
+	store 1,mem_le_adv_data_len
+	rtn
+
+
+
+
+
+
+module_init:
+	
+	rtn wake
+	call le_modified_name
+	call adc_init_data
+	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_le_conn_process
+	store 2,mem_cb_le_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 patch1b_5,mem_patch1b
+	call module_lpm_uart_init
+	call module_gpio_init
+	call check_module_disabled
+	branch module_hci_event_enter_standby_mode
+
+
+module_lpm_uart_init:
+	fetch 4,mem_module_uart_rx_buffer
+	hstore 4,core_uart_rsaddr
+
+	fetch 4,mem_module_uart_tx_buffer
+	hstore 4,core_uart_tsaddr
+
+	hfetch 1,core_gpio_sel1
+	or_into 0x04,pdata
+	and_into 0xfc,pdata
+	hstore 1,core_gpio_sel1
+	jam 0x00,core_uart_ctrl
+
+	fetch 2,mem_module_uart_rx_buffer
+	hstore 2,core_uart_rrptr
+	fetch 2,mem_module_uart_tx_buffer
+	hstore 2,core_uart_twptr
+	hstore 2,core_uart_trptrp
+
+	hfetch 4,core_gpio_pu0
+	set1 7,pdata
+	hstore 4,core_gpio_pu0
+	
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_UART,pdata
+	hstore 2,core_clkoff
+	call uart_set_baud_by_mem
+	jam uartclk_crystal,core_uart_clksel
+	jam uart_ctrl_h4,core_uart_ctrl
+
+	fetch 1,mem_module_flag
+	isolate1 MODULE_FLAG_UART_FLOW_CONTROL,pdata
+	hfetcht 1,core_uart_ctrl
+	setflag true,4,temp
+	hstoret 1,core_uart_ctrl
+	rtn
+	
+
+
+module_lpm_init:
+	call module_spp_clear_last_transmite_clock
+	branch module_lpm_uart_init
+//	branch module_gpio_init
+	
+module_gpio_init:
+	//module state pin
+//	call ui_led_init	
+//	call app_led_start_blink
+	//module conn state pin
+	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_le_conn_process:
+	rtn
+
+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
+	bpatch patch1b_6,mem_patch1b
+	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 1,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
+
+	
+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_le_gkey
+	beq BT_EVT_STORE_NVRAM,module_hci_event_store_device
+	beq BT_EVT_LE_LTK_LOST,module_process_ble_ltk_lost
+	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 1,mem_module_flag
+	rtnbit1 MOUDLE_TASK_UNSNIFF
+	hfetch 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
+	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 1,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_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_credit_flag
+	rtneq CREDIT_DISABLE
+	branch rfcomm_send_uih_without_payload
+
+module_process:
+	hfetch 1,core_uart_status
+	bbit1 uart_status_rx_fifo_empty,module_process_with_credit  //rx no data
+	call uartd_prepare_rx
+	ifetch 1,contru
+	bne 0x01,module_hci_in_excp
+	hfetch 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
+	hfetch 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 patch1b_7,mem_patch1b
+	hfetch 2,core_uart_rxitems
+	rtn blank
+	call uartd_prepare_rx
+	ifetch 1,contru
+	sub pdata,0x01,null
+	ncall module_hci_dicard_bytes,zero
+	nbranch module_hci_release_except,zero
+	ifetch 1,contru
+	rtneq HCI_CMD_SPP_DATA_REQ
+	rtneq HCI_CMD_SET_CREDIT_GIVEN
+	increase -1,contru
+	call module_hci_dicard_bytes
+	branch module_hci_release_except
+
+module_hci_dicard_packet:
+	call uartd_prepare_rx
+	increase 2,contru
+	ifetch 1,contru
+	iadd contru,contru
+module_hci_dicard_bytes:
+	branch uartd_rxdone
+	
+/*********************HCI CONTROL*********************/
+module_hci_cmd_control:
+	bpatch patch1c_0,mem_patch1c
+	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_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_TEST_CMD_CLOSE_LPM,module_hci_test_cmde_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
+	copy rega,contru
+	call module_hci_event_receive_valid_cmd
+	ifetcht 1,contru
+	storet 1,mem_module_bluetooth_stauts_by_command
+	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
+	fetch 1,mem_module_uart_len
+	copy pdata,loopcnt
+	copy rega,contru
+	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:
+	fetch 1,mem_module_uart_len
+	sub pdata,29,null
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	store 1,mem_le_name_len
+	copy pdata,loopcnt
+	copy rega,contru
+	arg mem_le_name,contw
+	call uart_copy_rx_bytes_fast
+	call le_modified_name
+	branch module_hci_event_receive_valid_cmd
+
+
+//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 p_nl_clear_last_transmite_clock
+	call module_spp_clear_last_transmite_clock
+	fetch 1,mem_remote_credits
+	rtn blank
+	fetch 2,mem_nl_rx_len_all
+	bne 0,module_hci_cmd_pass_init_ng_rx_len_all
+	fetch 1,mem_module_uart_len
+	store 2,mem_nl_rx_len_all
+
+	copy rega,contru
+//	ifetch 2,contru
+//	store 2,mem_nl_rx_handle
+	copy contru,pdata
+	store 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
+	arg DM_REFCOM_BUFF_LEN,temp
+	call not_greater_than
+	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 1,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
+	copy contru,pdata
+	store 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
+	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 1,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_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 patch1c_1,mem_patch1c
+	add temp,-3,pdata		//sub handle and opcode
+	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
+	fetcht 2,mem_module_hci_notify_handle
+	call le_att_malloc_tx_notify
+	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
+
+
+//output: temp is master mtu
+module_get_le_remote_mtu:
+	arg 0x17,temp
+	fetch 1,mem_module_flag
+	rtnbit1 MODULE_FLAG_BLE_SEND_MTU23
+	fetcht 2,mem_le_remote_mtu
+	rtn
+
+module_check_ble_encrypt_state:
+	fetch 1,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:
+	copy rega,contru
+	ifetch 1,contru
+	beq PAIRING_PINCODE,module_hci_pairing_pincode_mode
+	beq PAIRING_JUSTWORK,module_hci_pairing_just_work_mode
+	beq PAIRING_PASSKEY,module_hci_pairing_passkey
+	beq PAIRING_CONFIRM,module_hci_pairing_numeric_comparison
+	branch module_hci_event_receive_invalid_cmd
+module_hci_pairing_pincode_mode:
+	call ssp_disable
+	jam 0,mem_ssp_enable
+	branch module_hci_event_receive_valid_cmd
+module_hci_pairing_just_work_mode:
+	setarg SSP_MODE_JUST_WORK_IO_CAP_DATA
+module_hci_sspairing_mode:	
+	store 3,mem_sp_iocap_local
+	store 1,mem_ssp_mode_flag
+	call ssp_enable
+	jam 1,mem_ssp_enable
+	branch module_hci_event_receive_valid_cmd
+module_hci_pairing_passkey:
+	setarg SSP_MODE_PASSKEY_IO_CAP_DATA
+	branch module_hci_sspairing_mode
+
+module_hci_pairing_numeric_comparison:
+	setarg SSP_MODE_SSP_PIN_IO_CAP_DATA
+	branch module_hci_sspairing_mode
+
+//command opcode 0x0d
+module_hci_cmd_set_pincode:
+	fetch 1,mem_module_uart_len
+	sub pdata,16,null
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	store 1,mem_pin_length
+	copy pdata,loopcnt
+	arg mem_pin,contw
+	call uart_copy_rx_bytes
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x0e
+module_hci_cmd_set_uart_control_mode:
+	copy rega,contru
+	ifetch 1,contru
+	hfetcht 1,core_uart_ctrl
+	nsetflag blank,4,temp
+	hstoret 1,core_uart_ctrl
+ 	branch module_hci_event_receive_valid_cmd
+
+ 	
+//command opcode 0x0f
+module_hci_cmd_set_uart_baud:
+	fetch 1,mem_module_uart_len
+	copy pdata,loopcnt
+	copy rega,contru
+	call string2dec_from_uart
+	setarg uart_clk_24
+	idiv temp
+	call wait_div_end
+	quotient pdata
+module_hci_cmd_set_uart_baud_ok:
+	store uart_baud_len,mem_baud
+	call module_hci_event_receive_valid_cmd
+	call wait_uarttx
+	branch uart_set_baud_by_mem
+
+
+//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
+module_hci_event_set_cmd_send_response:
+	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 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 0x26
+module_hci_cmd_set_nvram:
+	fetch 1,mem_module_uart_len
+	copy pdata,loopcnt
+	copy rega,contru
+	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 1,mem_ui_state_map
+	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
+
+dhkey_not_accept:
+	jam 0,mem_flag_mode_ssp_pin
+	jam BT_CMD_DHKEY_NOT_ACCEPT,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+
+module_hci_cmd_spp_number_comparison_result_is1:
+	bbit1 FLAG_MODE_SSP_PIN_COMPARISON_RESULT_BIT,number_comparison_successed
+	branch dhkey_not_accept	
+
+
+//command opcode 0x29
+module_hci_cmd_set_credit_given:
+	fetch 1,mem_ui_state_map
+	rtnbit0 UI_STATE_BT_SPP_CONN
+	fetch 1,mem_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:
+	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:
+	ifetcht 1,contru
+	ifetch 1,contru
+	beq GPIO_INPUT_HIGH_IMPEDANCE,module_set_gpio_high_impedance
+	nsetflag blank,7,temp
+	call gpio_config_input
+	branch module_hci_event_receive_valid_cmd
+
+module_set_gpio_high_impedance:
+	call gpio_set_high_impedance
+	branch module_hci_event_receive_valid_cmd
+	
+module_set_gpio_output:
+	ifetcht 1,contru
+	call gpio_config_output0
+	ifetch 1,contru	
+	isolate1 0,pdata
+	call gpio_out_flag
+	branch module_hci_event_receive_valid_cmd
+
+
+//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
+	branch module_hci_event_set_cmd_send_response
+
+
+//command opcode 0x33
+module_hci_cmd_le_set_pairing_mode:
+	copy rega,contru
+	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
+	store 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
+	branch module_hci_event_receive_invalid_cmd
+		
+module_le_set_pairing_mode_secure_justwork:
+	fetch 1,mem_le_secure_connect_enable
+	branch module_hci_event_receive_invalid_cmd,blank
+	storet 1,mem_le_pairing_mode
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch module_le_set_noinputnooutput
+module_le_set_pairing_mode_secure_numeric:
+	fetch 1,mem_le_secure_connect_enable
+	branch module_hci_event_receive_invalid_cmd,blank
+	storet 1,mem_le_pairing_mode
+	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:	
+	fetch 1,mem_le_secure_connect_enable
+	branch module_hci_event_receive_invalid_cmd,blank
+	storet 1,mem_le_pairing_mode
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch module_le_set_displayonly
+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_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
+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:
+	fetch 1,mem_module_uart_len
+	sub pdata,31,null
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	store 1,mem_le_adv_data_len
+	copy pdata,loopcnt
+	copy rega,contru
+	arg mem_le_adv_data,contw
+	call uart_copy_rx_bytes_fast
+	branch module_hci_event_receive_valid_cmd
+	
+
+//command opcode 0x35
+module_hci_cmd_le_set_scan_data:
+	fetch 1,mem_module_uart_len
+	sub pdata,31,null
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	store 1,mem_le_scan_data_len
+	copy pdata,loopcnt
+	copy rega,contru
+	arg mem_le_scan_data,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
+	copy rega,contru
+	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 0xff
+module_hci_test_cmde_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 uartd_send
+
+
+//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 uartd_send
+
+
+//event opcode 0x08
+module_hci_event_receive_le_data:
+	jam HCI_EVENT_LE_DATA_REP,mem_module_uart_opcode
+	fetch 1,mem_module_le_rx_data_len
+	icopy loopcnt
+	increase 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
+	branch uartd_send
+
+
+//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 uartd_send
+
+
+//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 uartd_send
+
+//	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 uartd_send
+
+
+//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 uartd_send
+
+
+//event opcode 0x0f
+module_hci_event_invalid_packet:
+	jam HCI_EVENT_INVALID_PACKET,mem_module_uart_opcode
+	hfetch 2,core_uart_rxitems
+	arg 0xff,temp
+	call not_greater_than
+	copy pdata,loopcnt
+	call module_hci_prepare_tx
+	call uartd_prepare_rx
+	call uart_copy_rx2tx
+	branch uartd_send
+
+
+//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 uartd_send
+
+
+//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 uartd_send
+
+
+//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 uartd_send
+
+
+//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 uartd_send
+
+
+//****************************************************************//
+	//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 patch1c_2,mem_patch1c
+	call module_set_mcu_wake_pin_high_delay
+	fetcht 8,mem_temp
+	call uartd_prepare_tx
+	fetch 3,mem_module_uart_cmd
+	istore 3,contwu
+	rtn
+
+
+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:
+	//call ice_break
+	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
+
+
+delay:
+	increase -1,pdata
+	nop 38
+	nbranch delay,blank
+	rtn
+
+/*********************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:
+	call module_check_ble_encrypt_state
+	rtn user
+	copy rega,pdata
+	store 2,mem_module_le_rx_data_address
+	copy regb,pdata
+	store 1,mem_module_le_rx_data_len
+	fetch 2,mem_le_att_handle
+	fetcht 2,mem_module_data_write_handle
+	isub temp,null
+	branch module_le_receive_data_ok,zero
+	fetcht 2,mem_module_data_write_handle2
+	isub temp,null
+	nrtn zero
+module_le_receive_data_ok:	
+	store 2,mem_module_le_rx_data_handle
+	branch module_hci_event_receive_le_data
+
+
+/*********************hci ble receive data end*********************/
+
+module_exit_sniff:
+	fetch 1,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 adc_set_mode
+	call vdd_calculate_by_mode
+	div pdata,0x64
+	call wait_div_end
+	quotient pdata
+	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 1,mem_module_flag
+	qset0 pdata
+	store 1,mem_module_flag
+	rtn
+
+module_set_state:
+	fetch 1,mem_module_flag
+	qset1 pdata
+	store 1,mem_module_flag
+	rtn
+	
+/**************module state end*******************/
+
+
+
+
+//define FPGA_DEBUG
+
+
+mouse_init:
+	call mouse_setting_config
+	call spi_ncs_enable
+	call mouse_init_sunt
+	call mouse_dpi_config
+	call spi_ncs_disable
+	rtn wake
+	call mouse_cheak_enable_usb
+	call mouse_cb_fuction
+//	fetch 1,mem_wakup_from_power_flag
+//	isolate0 gpio_latch,pdata
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_USB
+	call mouse_wakeup_from_power//,true	// enter 
+	rtnmark1 mark_24g
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
+	branch mouse_check_reconn_target
+
+
+mouse_delay_4s:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_INIT_DELAY
+	arg 20,loopcnt
+mouse_delay_20ms:
+	setarg 200000
+	call sleep
+	loop delay_10ms
+	rtn
+
+	
+mouse_cheak_enable_usb:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_USB
+	branch usb_init
+	
+
+mouse_cb_fuction:
+	setarg mouse_le
+	store 2,mem_cb_le_process
+	setarg mouse_send_process
+	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 le_mouse_bb_event_connect_complete
+	store 2,mem_cb_att_write
+
+	call g24_head_ptr2regc
+	setarg mouse_g24_package_data
+	add regc,offset_24g_cb_data,contw
+	istore 2,contw
+	setarg mouse_g24_enter_lpm
+	add regc,offset_24g_cb_lpm_prepare,contw
+	istore 2,contw
+	setarg mouse_lpm_before_common
+	add regc,offset_24g_cb_lpm_before,contw
+	istore 2,contw
+	
+	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
+	rtn
+mouse_spi_write_flash_cb:
+mouse_spi_init:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_SPI2,spid_init
+	branch spid_init2
+
+mouse_setting_config:
+	rtn wake
+	call g24_set_device_addr
+	call mouse_gpio_init
+	call mouse_param_init
+	call mouse_adc_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_init_iic
+	bbit1 MOUSE_ENABLE_FLASH,mouse_load_flash_info_cheak
+	rtn
+
+mouse_init_iic:
+	call iic_init_390k
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	isolate1 MOUSE_ENABLE_2K_EEPROM,pdata
+	ncall clear_eeprom_size_2k,true
+	call mouse_load_eeprom_dpi
+	call mouse_init_environment
+	call mouse_set_24g_addr_eeprom
+	branch iicd_read_eep_data
+
+mouse_wakeup_from_power:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_WAKEUP_FROM_POWER,mouse_wakeup_no_from_power
+	fetch 1,mem_wakup_from_power_flag
+	isolate0 gpio_latch,pdata
+	nrtn true
+mouse_wakeup_no_from_power:
+	fetch 1,mem_reconn_times_init
+	store 1,mem_reconn_times
+	fetch 1,mem_config_function_enable
+	rtnbit1 ENABLE_SELECT_DEVICE_BY_SWITCH
+mouse_start_24g_mode:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G
+	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,g24_auto_pair_start
+	branch g24_check_51cmd_start_24g
+le_mouse_bb_event_connect_complete:
+	fetch 1,mem_le_att_handle
+	sub pdata,26,pdata
+	nrtn zero
+	jam BT_CMD_LE_UPDATE_CONN,mem_fifo_temp
+	call ui_ipc_send_cmd
+mouse_le_write_enable:	
+	arg WRITE_REQ_ENABLE_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+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
+	rtn
+mouse_dpi_config:
+	fetch 1,mem_config_sensor_motion
+	and pdata,0x0f,pdata
+	store 1,mem_mouse_dpi
+	branch mouse_seting_dpi+2
+
+
+mouse_dpi_cheak:
+	fetcht 1,mem_dpi_button_gpio
+	call gpio_get_bit
+	nbranch mouse_dpi_up,true
+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 1,mem_mouse_dpi
+	increase 1,pdata
+	and pdata,0x03,pdata
+	store 1,mem_mouse_dpi
+	call mouse_seting_dpi
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_EEPROM,mouse_store_eerpom_dpi
+	bbit1 MOUSE_ENABLE_FLASH,mouse_before_store_flash_cpi
+	rtn
+mouse_before_store_flash_cpi:
+	arg MOUSE_SPI2_CLK_GPIO,temp
+	call gpio_config_output				//hold high
+	arg MOUSE_SPI2_SDIO_GPIO,temp
+	call gpio_config_output 			//hold high 
+	branch mouse_store_flash_device_info
+
+mouse_seting_dpi:
+	bpatch patch1c_3,mem_patch1c
+	call mosue_dpi_led_blink_init
+	fetch 1,mem_config_sensor_type
+	beq P3610,mouse_seting_3610_dpi
+	beq P3212,mouse_seting_3212_dpi
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_cpi1
+	beq MOUSE_DPI_LEVEL2,mouse_set_cpi2
+	beq MOUSE_DPI_LEVEL3,mouse_set_cpi3
+	beq MOUSE_DPI_LEVEL4,mouse_set_cpi4
+mouse_set_cpi2:
+	fetch 1,mem_320x_dpi_2
+	branch mouse_p3205_dpi
+mouse_set_cpi1:
+	fetch 1,mem_320x_dpi_1
+	branch mouse_p3205_dpi
+mouse_set_cpi3:
+	fetch 1,mem_320x_dpi_3
+	branch mouse_p3205_dpi
+mouse_set_cpi4:
+	fetch 1,mem_320x_dpi_4
+	branch mouse_p3205_dpi
+moue_seting_cpi_count:
+	fetch 1,mem_config_sensor_type
+	rtneq P3065_XY
+	fetch 1 ,mem_mouse_cpi_count
+	increase 1,pdata
+	store 1,mem_mouse_cpi_count
+	rtn
+
+mouse_seting_3212_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_p3212_cpi1
+	beq MOUSE_DPI_LEVEL2,mouse_set_p3212_cpi2
+	beq MOUSE_DPI_LEVEL3,mouse_set_p3212_cpi3
+	beq MOUSE_DPI_LEVEL4,mouse_set_p3212_cpi4
+mouse_set_p3212_cpi2:
+	fetch 1,mem_3212_dpi_2
+	branch mouse_p3212_dpi
+mouse_set_p3212_cpi1:
+	fetch 1,mem_3212_dpi_1
+	branch mouse_p3212_dpi
+mouse_set_p3212_cpi3:
+	fetch 1,mem_3212_dpi_3
+	branch mouse_p3212_dpi
+mouse_set_p3212_cpi4:
+	fetch 1,mem_3212_dpi_4
+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_3610_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_p3610_cpi1
+	beq MOUSE_DPI_LEVEL2,mouse_set_p3610_cpi2
+	beq MOUSE_DPI_LEVEL3,mouse_set_p3610_cpi3
+	beq MOUSE_DPI_LEVEL4,mouse_set_p3610_cpi4
+mouse_set_p3610_cpi2:
+	fetch 1,mem_3610_dpi_2
+	branch mouse_p3610_dpi
+mouse_set_p3610_cpi1:
+	fetch 1,mem_3610_dpi_1
+	branch mouse_p3610_dpi
+mouse_set_p3610_cpi3:
+	fetch 1,mem_3610_dpi_3
+	branch mouse_p3610_dpi
+mouse_set_p3610_cpi4:
+	fetch 1,mem_3610_dpi_4
+mouse_p3610_dpi:
+	store 1,mem_mouse_cpi_count
+	call mouse_spi_sdio_gpio_pollup
+	fetch 1,mem_mouse_cpi_count
+mouse_reset_p3610_dpi:
+	add pdata,0x80,pdata
+	lshift8 pdata,pdata
+	add pdata,MOUSE_P3610_DPI_ADDRESS,pdata
+	copy pdata,rega
+	branch mouse_set_sensor_reg
+	
+mouse_p3205_dpi:
+	store 1,mem_mouse_cpi_count
+	call moue_seting_cpi_count
+	fetch 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_init_environment:
+	call app_initflag_check
+	branch mouse_eeprom_load_recon_info,zero
+	call mouse_ble_init_address
+	call mouse_store_eeprom_device_info
+	branch app_initflag_store
+
+
+mouse_24g_pairing_button:
+	fetch 2,mem_24g_pairing_timer_count
+	rtn blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G
+	rtnbit1 MOSUE_24G_PAIRING_FLAG
+	rtnmark1 mark_24g
+	call mouse_check_key_gpio
+	rtnne MOUSE_LMR_BUTTON
+	call mouse_devce_led_off
+	arg MOSUE_24G_PAIRING_FLAG,queue
+	call mouse_enable_function_flag
+	setarg 0
+	store 2,mem_mouse_direct_timer
+	store 1,mem_mouse_send_blank_timer
+	call g24_set0_mem_check_dongle_times
+	
+	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
+	call mouse_stop_discovery
+	branch g24_start_pairing_sm1
+	
+
+mouse_idle:
+	call mouse_24g_pairing_button
+	call ui_check_paring_button
+	call mouse_dpi_cheak
+	call mouse_usb_isr
+	call mouse_wheel_check
+	branch mouse_usb_mode
+mouse_usb_isr:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_USB
+	call usb_isr	
+	branch usb_offline_state
+
+mouse_cheak_usb:
+	hfetch 1,core_usb_addr
+	bbit0 7,mouse_usb_no_exsit
+	bbit1 7,mouse_usb_exsit
+	rtn
+mouse_usb_no_exsit:
+	fetch 1,mem_usb_addr
+	rtnbit0 7
+	branch soft_reset_chip
+mouse_usb_exsit:
+	fetch 1,mem_usb_addr
+	rtnbit1 7
+	branch mouse_stop_bluetooth_mode
+	
+mouse_usb_mode:
+	call mouse_cheak_usb
+	hfetch 1,core_usb_addr
+	store 1,mem_usb_addr
+	rtnbit0 7
+	call mouse_clkn_check 
+	fetch 4,mem_btclk_sensor
+	fetcht 1,mem_wire_usb_interval
+	iadd temp,temp
+	copy clkn_bt,pdata
+	isub temp,null
+	nrtn positive
+	store 4,mem_btclk_sensor
+	call mouse_motion
+	nrtn user
+	jam 4,mem_usb_tx_enable
+	branch mouse_wired_to_usb
+
+mouse_clkn_check:
+	fetcht 4,mem_btclk_sensor
+	copy clkn_bt,pdata
+	isub temp,null
+	ncall mouse_clkn_timeout,positive
+	rtn
+mouse_clkn_timeout:
+	setarg 0
+	store 4,mem_btclk_sensor
+	rtn
+
+
+	
+mouse_wired_to_usb:
+	fetch 1,mem_usb_tx_enable
+	rtnbit0 2
+	branch mouse_data_push
+mouse_data_push:
+	hfetch 1,core_usb_addr
+	rtnbit0 7
+	jam USB_EP2_MS,mem_usb_ep2_data
+	setarg MS_REPORT_ID
+	store 1,mem_usb_mouse_data	
+	fetch 7,mem_mouse_key
+	istore 7,contw
+	rtn
+
+
+mouse_enable_clock_qdecoder:
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_QDECODER,pdata
+	hstore 2,core_clkoff
+	rtn
+
+mouse_param_init:
+	setarg 0x8c00				//bt sdp start address
+	store 2,mem_ui_uuid_table
+	setarg 0x8e7a				//ble attlist start address
+	store 2,mem_ui_le_uuid_table
+	setarg 0x2402
+	store 2,mem_fcomp_mul
+	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
+	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
+//===========default bt reconnect address===================	
+//	jam 1,mem_device_flag
+//	setarg 0x332211
+//	store 3,mem_device1_addr
+//	store 3,mem_device2_addr
+//	store 3,mem_device3_addr
+//	setarg 0x665544
+//	store 3,mem_device1_addr+3
+//	store 3,mem_device2_addr+3
+//	store 3,mem_device3_addr+3
+//	setarg 0x34
+//	store 1,mem_device1_type
+//	store 1,mem_device2_type
+//	store 1,mem_device3_type
+//===========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 0x012c  				//24g ban pairing timer init
+	store 2,mem_24g_pairing_timer_count
+	call le_modified_name
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
+	rtnbit0 MOUSE_ENABLE_GPIO_CONTROL_ADC_SENSOR
+	call mouse_sensor_set_angle
+	branch mouse_select_adc
+
+mouse_sensor_set_angle:
+	fetcht 1,mem_select_sensor_angle_gpio
+	call gpio_config_input
+	fetcht 1,mem_select_sensor_angle_gpio
+	call gpio_get_bit
+	jam MOUSE_3CLK_ANGLE,mem_config_sensor_angle
+	rtn true
+	jam MOUSE_12CLK_ANGLE,mem_config_sensor_angle
+	rtn
+
+mouse_select_adc:
+	fetcht 1,mem_select_adc_gpio
+	call gpio_config_input
+	fetcht 1,mem_select_adc_gpio
+	call gpio_get_bit
+	jam ADC_CONFIG_VINLPM,mem_adc_config_flag
+	rtn true
+	jam ADC_CONFIG_GPIO,mem_adc_config_flag
+	rtn
+	
+	
+mouse_adc_init:
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_VINLPM,mouse_adc_init_data_vinlpm
+	beq ADC_CONFIG_HVIN,mouse_adc_init_data_hvin
+	beq ADC_CONFIG_GPIO,mouse_adc_init_data_io
+	branch mouse_adc_init_data_vinlpm
+	
+mouse_adc_init_data_vinlpm:
+	fetcht 2,mem_2v_adc_vinlpm_data
+	fetch 2,mem_3v_adc_vinlpm_data
+	isub temp,pdata
+	mul32 pdata,20,pdata 
+	div pdata,100
+	call wait_div_end
+	quotient pdata
+	store 2,mem_adc_reference_voltage //vinlpm :2v2 low alter
+	rtn
+mouse_adc_init_data_hvin:
+	fetcht 2,mem_1v_adc_hvin_data
+	fetch 2,mem_5v_adc_hvin_data
+	isub temp,pdata
+	mul32 pdata,230,pdata 
+	div pdata,400
+	call wait_div_end
+	quotient pdata
+	store 2,mem_adc_reference_voltage //hvin :3v3 low alter
+	rtn
+mouse_adc_init_data_io:
+	fetch 2,mem_1v_adc_io_data
+	store 2,mem_adc_reference_voltage  //vio :1v low alter
+	rtn
+mouse_gpio_init:
+	fetcht 1,mem_eeprom_wp_gpio
+	call gpio_config_output
+	call usb_offline_check_init
+	fetcht 1,mem_lbutton_gpio
+	call gpio_config_input
+	fetcht 1,mem_rbutton_gpio
+	call gpio_config_input
+	fetcht 1,mem_mbutton_gpio
+	call gpio_config_input
+	fetcht 1,mem_sensor_data_gpio
+	call gpio_config_input
+
+	fetcht 1,mem_sensor_reset_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_whee_a_data_gpio
+	call gpio_config_input
+
+	fetcht 1,mem_whee_b_data_gpio
+	call gpio_config_input
+
+	fetcht 1,mem_whee_ta_data_gpio
+	call gpio_config_input
+	fetcht 1,mem_whee_tb_data_gpio
+	call gpio_config_input
+
+	fetcht 1,mem_bk_button_gpio
+	call gpio_config_input
+	fetcht 1,mem_fw_button_gpio
+	call gpio_config_input
+
+	fetcht 1,mem_config_low_voltage_alarm_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_config_device1_led_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_config_device2_led_gpio
+	call gpio_config_output
+	
+	fetcht 1,mem_config_device3_led_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_dpi_led_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_config_select_device_button_gpio
+	call gpio_config_input
+	
+	fetcht 1,mem_config_bt_button_gpio
+	call gpio_config_input	
+
+	fetcht 1,mem_dpi_button_gpio
+	branch gpio_config_input
+
+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_gpio_set_pupd_by_input:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	and temp,0x7f,queue
+	hfetch 4,core_gpio_in
+	qisolate1 pdata
+	hfetch 4,core_gpio_pu0
+	qsetflag true,pdata
+	hstore 4,core_gpio_pu0
+	hfetch 4,core_gpio_pd0
+	nqsetflag true,pdata
+	hstore 4,core_gpio_pd0
+	rtn
+	
+mouse_before_hibernate:
+	enable user
+	hfetch 4,0x8138
+	setflag user,26,pdata
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+	call mouse_devce_led_off
+	call mouse_before_hibernate_wheel_gpio_set
+//	call gpio_set_before_lpm_common
+	branch mouse_lpm_before_common
+
+
+	
+mouse_process_lpm_before:
+	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:
+	call mouse_wheel_check
+	arg MOUSE_SPI1_CLK_GPIO,temp					// set sclk high
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	isolate1 MOUSE_ENABLE_SPI2,pdata
+	call mouse_spi_clk_gpio,true
+	call gpio_config_output
+	call twspi_disable
+
+
+
+	fetcht 1,mem_lbutton_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_rbutton_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_mbutton_gpio
+	call gpio_set_wake_by_current_state
+
+	fetcht 1,mem_bk_button_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_fw_button_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_dpi_button_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_config_select_device_button_gpio
+	call gpio_set_wake_by_current_state
+	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_data_gpio
+	branch gpio_set_wake
+	
+
+	
+mouse_spi_clk_gpio:
+	arg MOUSE_SPI2_CLK_GPIO,temp
+	rtn
+
+mouse_wheel_check:
+	bpatch patch1c_4,mem_patch1c
+	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_count1
+	increase 1,pdata
+	store 1,mem_mouse_tz_data_count1
+	sub pdata,1,null
+	rtn positive
+	jam 0,mem_mouse_tz_data_count1
+	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_count
+	increase 1,pdata
+	store 1,mem_mouse_tz_data_count
+	sub pdata,1,null
+	rtn positive
+	jam 0,mem_mouse_tz_data_count
+	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:
+	jam 0,mem_mouse_z_data_count1
+	fetch 1,mem_mouse_z_data
+	increase 1,pdata
+	store 1,mem_mouse_z_data
+	rtn
+mouse_wheel_back:
+	jam 0,mem_mouse_z_data_count
+	fetch 1,mem_mouse_z_data
+	increase -1,pdata
+	store 1,mem_mouse_z_data
+	rtn
+	
+	
+mouse_hid_connected:
+	setarg HID_HANDSHAKE_TIMEOUT
+	store 1,mem_hid_handshake_timer_count
+	rtn
+	
+mouse_send_process:
+	fetch 1,mem_app_handshake_flag
+	rtn blank
+	call l2cap_malloc_is_fifo_nearly_full
+	nrtn blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOSUE_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
+	call mouse_motion
+	nrtn user
+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_empty_data:
+	setarg 0
+	store 7,mem_mouse_key
+	branch mouse_send_data
+
+
+mouse_no_data_timer_init:
+	fetch 2,mem_mouse_no_data_timeout
+	store 2,mem_mouse_no_data_timer
+	rtn
+
+	
+mouse_fill_data_le:
+	bpatch patch1c_5,mem_patch1c
+	arg 7,rega //len
+	fetcht 2,mem_le_notify_handle
+	call le_att_malloc_tx_notify
+	fetch 7,mem_mouse_key
+	istore 7,contw
+	rtn
+
+mouse_motion:
+	bpatch patch1c_6,mem_patch1c
+	disable user
+	setarg 0
+	store 6,mem_mouse_x
+	call mouse_cheak_sensor_data
+	call mouse_zwheel
+	call mouse_t_zwheel
+	call mouse_key
+	nrtn user
+	call mouse_no_data_timer_init
+	arg MOUSE_STATUE_UP_FLAG,queue
+	branch mouse_enable_function_flag
+	
+motion_6clk_direction_dispose:
+	fetch 2,mem_mouse_x
+	sub pdata,0,pdata
+	store 2,mem_mouse_x
+	branch enable_user
+motion_12clk_direction_dispose:
+	fetch 2,mem_mouse_y
+	sub pdata,0,pdata
+	store 2,mem_mouse_y
+	branch enable_user
+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
+motion_3clk_direction_dispose:
+	call mouse_sensor_data_swap_places
+	branch enable_user
+mouse_cheak_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 P3610,mouse_p3610_sensor_motion
+	beq P3065_xy,mouse_p32xx_sensor_motion
+	branch mouse_p32xx_sensor_motion
+	
+mouse_clear_sensor_data:
+	fetch 1,mem_mouse_move_flag
+	call mouse_read_sensor_common,blank
+	jam 1,mem_mouse_move_flag
+	rtn
+
+
+mouse_p3212_sensor_motion:
+	call mouse_clear_sensor_data
+	fetcht 1,mem_sensor_data_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
+	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 extsign_bit3
+	store 1,mem_mouse_x+1
+	fetch 1,mem_mouse_xy_h
+	and pdata,0x0f,pdata
+	call extsign_bit3
+	store 1,mem_mouse_y+1
+	fetch 1,mem_config_sensor_angle
+	beq MOUSE_6CLK_ANGLE,motion_6clk_direction_dispose
+	beq MOUSE_9CLK_ANGLE,motion_9clk_direction_dispose
+	beq MOUSE_12CLK_ANGLE,motion_12clk_direction_dispose
+	beq MOUSE_3CLK_ANGLE,motion_3clk_direction_dispose
+	rtn
+
+mouse_read_3212sensor_xy_high:
+	setarg 0x12
+	branch twspi_read
+	
+mouse_p3065_judge:
+	beq P3065_ID1,mouse_p32xx_sensor_motion_1
+	branch mouse_twspi_reset
+	
+mouse_p32xx_sensor_motion:
+	call mouse_clear_sensor_data
+	disable user
+	fetcht 1,mem_sensor_data_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 extsign
+	store 2,mem_mouse_x
+	fetch 1,mem_mouse_y
+	call extsign
+	store 2,mem_mouse_y
+	fetch 1,mem_config_sensor_angle
+	beq MOUSE_6CLK_ANGLE,motion32xx_6clk_direction_selection
+	beq MOUSE_9CLK_ANGLE,motion32xx_9clk_direction_selection
+	beq MOUSE_12CLK_ANGLE,motion32xx_12clk_direction_selection
+	beq MOUSE_3CLK_ANGLE,motion32xx_3clk_direction_selection
+	rtn
+	
+motion32xx_6clk_direction_selection:
+	call motion_6clk_direction_dispose
+	branch mouse_sensor_sdio_low
+motion32xx_9clk_direction_selection:
+	call motion_9clk_direction_dispose
+	branch mouse_sensor_sdio_low
+motion32xx_12clk_direction_selection:
+	call motion_12clk_direction_dispose
+	branch mouse_sensor_sdio_low
+motion32xx_3clk_direction_selection:
+	call motion_3clk_direction_dispose
+	branch mouse_sensor_sdio_low
+	
+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
+//input regb  output:pdata
+mouse_p3610sensor_read:
+	call spi_ncs_enable
+	nop 100
+	copy regb,pdata
+	call twspi_read
+	copy pdata,regb
+	call spi_ncs_disable
+	nop 100
+	copy regb,pdata
+	rtn	
+mouse_p3610_sensor_motion:
+	disable user
+	fetcht 1,mem_sensor_data_gpio
+	call gpio_get_bit
+	nrtn true
+	arg PAN_REG_MOTION_STAUS,regb
+	call mouse_p3610sensor_read
+	rtnbit0 7
+	arg PAN_REG_PID_L,regb
+	call mouse_p3610sensor_read
+	store 1,mem_sensor_id1
+	bne P3610_ID1,mouse_init_3610sensor_reset
+	fetch 1,mem_mouse_move_flag
+	call mouse_read_sensor3610_data,blank
+	jam 1,mem_mouse_move_flag
+	call mouse_read_sensor3610_data
+	fetch 1,mem_mouse_xy_h
+	rshift4 pdata,pdata
+	call extsign_bit3
+	store 1,mem_mouse_x+1
+	fetch 1,mem_mouse_xy_h
+	and pdata,0x0f,pdata
+	call extsign_bit3
+	store 1,mem_mouse_y+1
+	fetch 1,mem_config_sensor_angle
+	beq 0,motion3610_6clk_direction_selection
+	beq 1,motion3610_9clk_direction_selection
+	beq 2,motion3610_12clk_direction_selection
+	beq 3,motion3610_3clk_direction_selection
+	rtn
+
+mouse_3610_smart_select:
+	fetch 1,mem_sensor_smart_flag
+	beq P3610_SMART_ENABLE,mouse_3610_smart_disable
+	beq P3610_SMART_DISABLE,mouse_3610_smart_enable
+	rtn
+
+
+motion3610_6clk_direction_selection:
+	call motion_6clk_direction_dispose
+	branch mouse_3610_smart_select
+	
+motion3610_12clk_direction_selection:
+	call motion_12clk_direction_dispose
+	branch mouse_3610_smart_select
+	
+motion3610_9clk_direction_selection:
+	call motion_9clk_direction_dispose
+	branch mouse_3610_smart_select
+	
+motion3610_3clk_direction_selection:
+	call motion_3clk_direction_dispose
+	branch mouse_3610_smart_select
+	
+mouse_read_sensor3610_data:
+	call spi_ncs_enable
+	call mouse_read_sensor_common
+	arg 5,pdata
+	call twspi_read
+	store 1,mem_mouse_xy_h
+	arg 7,pdata
+	call twspi_read
+	store 1,mem_sensor_shutter_hi
+	arg 8,pdata
+	call twspi_read
+	store 1,mem_sensor_shutter_lo
+	branch spi_ncs_disable
+
+
+mouse_3610_smart_enable:
+	fetch 1,mem_sensor_shutter_hi
+	rtnne 0
+	fetch 1,mem_sensor_shutter_lo
+	sub pdata,45,null
+	rtn positive
+	jam P3610_SMART_ENABLE,mem_sensor_smart_flag
+	setarg 0xba41
+	call sensor_write
+	setarg 0x0032
+	call sensor_write
+	setarg 0xb541
+	branch sensor_write
+mouse_3610_smart_disable:
+	fetch 1,mem_sensor_shutter_hi
+	rtnne 0
+	fetch 1,mem_sensor_shutter_lo
+	sub pdata,45,null
+	nrtn positive
+	jam P3610_SMART_DISABLE,mem_sensor_smart_flag
+	setarg 0xba41
+	call sensor_write
+	setarg 0x8032
+	call sensor_write
+	setarg 0xb541
+	branch sensor_write
+
+
+
+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_set_qdecoder_x:
+	arg MOUSE_DEFAULT_XA_GPIO,temp
+	call gpio_config_input
+	arg MOUSE_DEFAULT_XA_GPIO,temp
+	call gpio_get_bit
+	rtn true
+	hfetch 1,core_qdec_cntx
+	set1 4,pdata
+	hstore 1,core_qdec_cntx
+	rtn
+
+mouse_hardware_zwheel:
+	fetcht 1,mem_mouse_z_data
+	hfetch 1,core_qdec_cntx
+	iadd temp,pdata
+	rtn blank
+	store 1,mem_mouse_z
+	jam 0,mem_mouse_z_data
+	branch enable_user
+mouse_hardware_zwheel_beforelpm:
+	fetcht 1,mem_mouse_z_data
+	hfetch 1,core_qdec_cntx
+	iadd temp,pdata
+	store 1,mem_mouse_z_data
+	rtn
+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_check_key_gpio:
+	arg 0,rega
+	fetcht 1,mem_lbutton_gpio
+	call gpio_get_bit
+	setflag true,0,rega
+	fetcht 1,mem_rbutton_gpio
+	call gpio_get_bit
+	setflag true,1,rega
+	fetcht 1,mem_mbutton_gpio
+	call gpio_get_bit
+	setflag true,2,rega
+	call mouse_check_s_key_gpio
+	copy rega,pdata
+	rtn
+mouse_check_s_key_gpio:
+	fetch 1,mem_bk_button_gpio
+	rtneq GPIO_DISABLE
+	fetcht 1,mem_bk_button_gpio
+	call gpio_get_bit
+	setflag true,3,rega
+	fetcht 1,mem_fw_button_gpio
+	call gpio_get_bit
+	setflag true,4,rega
+	rtn
+
+mouse_key:
+	call mouse_check_key_gpio
+	call mouse_set_mult
+	call mouse_24g_key
+	copy rega,pdata
+	fetcht 1,mem_mouse_key
+	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
+
+//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
+	
+	/* sdio high will cost extra 9mA */
+mouse_sensor_sdio_low:
+	bpatch patch1c_7,mem_patch1c
+	arg MOUSE_SPI1_SDIO_GPIO,temp
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	isolate1 MOUSE_ENABLE_SPI2,pdata
+	call mouse_sensor_sdio_low2,true
+	call gpio_get_bit
+	rtn true
+	setarg 0x0a
+	call twspi_read
+	nop 1000
+	branch mouse_sensor_sdio_low
+mouse_sensor_sdio_low2:
+	arg MOUSE_SPI2_SDIO_GPIO,temp
+	rtn
+
+mouse_spi_sdio_gpio_pollup:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SPI2,mouse_spi2_sdio_gpio_pollup
+mouse_spi1_sdio_gpio_pollup:
+	arg MOUSE_SPI1_SDIO_GPIO,temp
+	branch gpio_config_input_without_wake
+mouse_spi2_sdio_gpio_pollup:
+	arg MOUSE_SPI2_SDIO_GPIO,temp
+	branch gpio_config_input_without_wake
+
+	
+mouse_init_sunt:
+	call mouse_spi_init
+	rtn wake
+	call mouse_spi_sdio_gpio_pollup
+	fetch 1,mem_config_sensor_type
+	beq P3610,mouse_init_3610sensor
+mouse_init_sensor:
+	call mouse_read_sensor_id
+	beq P32XX_ID1,mouse_init_p32xx_id2_judge
+	beq P3065_ID1,mouse_p3065_init_param
+	call mouse_twspi_reset
+	nop 1000
+	branch mouse_init_sensor
+mouse_twspi_reset:
+	bpatch patch1d_0,mem_patch1d
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SPI2,twspi_reset2
+	branch twspi_reset
+
+mouse_init_3610sensor:
+	call mouse_read_sensor_id
+	beq P3610_ID1,mouse_init_p3610
+	call mouse_init_3610sensor_reset
+	branch mouse_init_3610sensor
+	
+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 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
+	rtn
+mouse_ka8_init_param:
+	jam KA8,mem_config_sensor_type
+	rtn
+mouse_p3065xy_init_param:
+	jam P3065_XY,mem_config_sensor_type
+	rtn
+mouse_p3065_init_param:
+	fetch 1,mem_sensor_id2
+	beq P3065_XY_ID2,mouse_p3065xy_init_param
+	jam P3065,mem_config_sensor_type
+	rtn
+mouse_3212_init_param:
+	jam P3212,mem_config_sensor_type
+	call mouse_sensor_disable_wp
+	setarg 0x3426
+	call twspi_write
+	setarg 0x0419
+	call twspi_write
+mouse_sensor_enable_wp:
+	setarg 0x0009
+	branch twspi_write
+mouse_sensor_disable_wp:
+	setarg 0x5a09
+	branch twspi_write
+
+mouse_3204_3l_init_param:
+	jam P3204,mem_config_sensor_type
+	call mouse_sensor_disable_wp
+	setarg 0x0f0d//
+	call twspi_write
+	setarg 0xe31d//
+	call twspi_write
+	setarg 0xd27d
+	call twspi_write
+	call mouse_32xx_init_param
+	branch mouse_32xx_init_param_1
+	
+mouse_32xx_init_param:
+	setarg 0x351b
+	call twspi_write
+	setarg 0xb428
+	call twspi_write
+	setarg 0x4629
+	call twspi_write
+	setarg 0x962a
+	call twspi_write
+	setarg 0x8c2b
+	call twspi_write
+	setarg 0x6e2c
+	call twspi_write
+	setarg 0x642d
+	call twspi_write
+	setarg 0x5f38
+	call twspi_write
+	setarg 0x0f39
+	call twspi_write
+	setarg 0x323a
+	call twspi_write
+	setarg 0x473b
+	call twspi_write
+	setarg 0x1042
+	branch twspi_write
+mouse_32xx_init_param_1:	
+	setarg 0x2e54
+	call twspi_write
+	setarg 0xf255
+	call twspi_write
+	setarg 0xf461
+	call twspi_write
+	setarg 0x7063
+	call twspi_write
+	setarg 0x5275
+	call twspi_write
+	setarg 0x4176
+	call twspi_write
+	setarg 0xed77
+	call twspi_write
+	setarg 0x2378
+	call twspi_write
+	setarg 0x4679
+	call twspi_write
+	setarg 0xe57a
+	call twspi_write
+	setarg 0x487c
+	call twspi_write
+	setarg 0x777e
+	call twspi_write
+	setarg 0x017f
+	call twspi_write
+	setarg 0x000b
+	call twspi_write
+	setarg 0x007f
+	call twspi_write
+	branch mouse_sensor_enable_wp
+	
+
+mouse_3205_3t_init_param:
+	jam P3205,mem_config_sensor_type
+	call mouse_sensor_disable_wp
+	setarg 0x100d//
+	call twspi_write
+	setarg 0xed1d//
+	call twspi_write
+	setarg 0x807d
+	call twspi_write
+	call mouse_32xx_init_param
+	setarg 0x0943
+	call twspi_write
+	branch mouse_32xx_init_param_1
+	
+	
+mouse_init_3610sensor_reset:
+	fetcht 1,mem_sensor_reset_gpio
+	call gpio_out_active
+	call delay_10ms
+	fetcht 1,mem_sensor_reset_gpio
+	call gpio_out_inactive
+	branch delay_10ms
+
+mouse_init_p3610:
+	jam P3610,mem_config_sensor_type
+	setarg 0xba41
+	call sensor_write
+	setarg 0x0d11
+	call sensor_write
+	setarg 0x041b
+	call sensor_write
+	setarg 0x041c
+	call sensor_write
+	setarg 0x0f1d
+	call sensor_write
+	setarg 0x0032
+	call sensor_write
+	setarg 0xb541
+	branch sensor_write
+	
+	
+//input-rega
+mouse_set_sensor_reg:
+	setarg 0xba41
+	call sensor_write
+	nop 4000
+	setarg 0xff7f
+	call sensor_write
+	copy rega,pdata
+	call sensor_write
+	setarg 0x007f
+	call sensor_write
+	setarg 0xb541
+	branch sensor_write
+
+extsign:
+	rtnbit0 7
+	arg 0xff00,temp
+	ior temp,pdata
+	rtn
+
+extsign_bit3:
+	rtnbit0 3
+	arg 0xf0,temp
+	ior temp,pdata
+	rtn
+
+
+mouse_le:
+	call le_fifo_check_nearly_full
+	nrtn blank
+	fetch 1,mem_le_connect_status_flag
+	and pdata,0x03,pdata
+	rtnne 0x03
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOSUE_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
+	call mouse_motion
+	nrtn user
+	branch mouse_fill_data_le
+
+mouse_le_send_empty_packet:
+	setarg 0
+	store 7,mem_mouse_key
+	branch mouse_fill_data_le
+
+mouse_priority_bb_event:	
+	copy regc,pdata
+	beq BT_EVT_LE_CONNECTED,mouse_le_bb_event_connected
+	beq BT_EVT_BB_CONNECTED,mouse_stop_discovery
+	beq BT_EVT_LE_DISCONNECTED,mouse_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,mouse_bt_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_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_START_ENC,mouse_le_ll_start_encryt
+	beq BT_EVT_LE_PAIRING_COMPLETE,mouse_le_pairing_complete
+	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
+	rtn
+
+
+mouse_le_pairing_complete:
+	branch app_ble_store_reconn_info
+
+mouse_24g_attempt_fail:
+	jam 1,mem_mouse_24g_enter_lpm_enable
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	fetch 1,mem_device_flag
+	fetcht 1,mem_24g_device_number
+	isub temp,null
+	branch app_enter_hibernate,zero
+	rtn
+mouse_24g_attempt_success:
+	jam 1,mem_mouse_24g_enter_lpm_enable
+	rtn
+mouse_24g_pairing_complete:
+	jam 1,mem_mouse_24g_enter_lpm_enable
+	arg MOSUE_24G_PAIRING_FLAG,queue
+	call mouse_disable_function_flag
+	setarg 0
+	store 2,mem_24g_pairing_timer_count
+	jam 0,mem_mouse_move_flag
+	
+	fetch 1,mem_config_sensor_type
+	sub pdata,P3610,null
+	call mouse_read_sensor3610_data,zero
+	ncall mouse_read_sensor_common,zero
+
+	fetch 1,MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_FLASH,mouse_store_flash_24g_address
+	call mouse_set_24g_addr_eeprom	//store rx dongle addr to eeprom
+	branch iicd_write_protect_eep_data
+
+mouse_set_24g_addr_eeprom:
+	call g24_head_ptr2regc
+	add regc,offset_24g_addr,rega
+	arg MOUSE_G24_ADDR_EEPROM_OFFECT,regb
+	arg 4,temp
+	rtn
+
+mouse_store_flash_24g_address:
+	call g24_head_ptr2regc
+	add regc,offset_24g_addr,regb
+	ifetch 1,regb
+	store 1,mem_mouse_24g_addr
+	branch mouse_store_flash_device_info
+	
+
+mouse_le_pairing_success:
+	arg LL_PAIRING_SUCCESS_FLAG,queue
+	branch mouse_le_enable_connect_flag
+mouse_le_ll_start_encryt:
+	jam 2,mem_le_start_encrypt_timer
+	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_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_bb_event_connected:
+	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
+	setarg 0
+	store 2,mem_mouse_direct_timer
+	call mouse_no_data_timer_init
+	branch mouse_stop_discovery
+
+mouse_bb_event_pincode:
+	call pincode_reinit
+	branch app_bt_set_pincode
+mouse_bb_event_reconn_timeout:
+mouse_bb_event_reconn_failed:
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_SELECT_DEVICE_FLAG,mouse_soft_reset
+	bbit1 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG,mouse_start_discovery
+	bbit1 MOSUE_24G_PAIRING_FLAG,g24_start_pairing_sm1
+	branch app_bb_hibernate
+
+	
+mouse_bt_hid_connected:
+	branch mouse_hid_connected
+
+mouse_bt_event_setup_complete:
+	rtn
+
+mouse_soft_reset:
+	call mouse_select_device_enable
+	branch soft_reset_chip
+
+mouse_bb_disconnected:
+	bpatch patch1d_1,mem_patch1d
+	call mouse_bb_discon_clear_stack
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_SELECT_DEVICE_FLAG,mouse_soft_reset
+	bbit1 MOSUE_24G_PAIRING_FLAG,g24_start_pairing_sm1
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	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_send_blank_timer
+	jam 0,mem_mouse_move_flag
+	jam APP_HANDSHAKE_NULL,mem_app_handshake_flag
+	jam 0,mem_ltk_exists
+	rtn
+
+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
+	branch app_bb_hibernate
+
+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 app_bb_hibernate
+
+mouse_bb_event_timer:
+	call mouse_adc_read
+	call mouse_24g_delay_timer
+	call mouse_ban_24g_pairing_timer
+	call mouse_dpi_led_blink_delay_timer
+	call mouse_statue_up_timer
+	//poll
+	call mouse_statue_cheak_timer
+	call mouse_select_device
+	call mouse_bt_discovery_cheak
+	call mouse_low_voltage_led_timer
+	call mouse_sensor_led_contrl_timer
+	call mouse_check_hid_handshake_timer
+	call mouse_check_discovery_timeout_timer
+	call mouse_check_direct_timeout_timer
+	call mouse_check_no_data_timeout_timer
+	call mouse_check_mouse_state_timer
+	branch mouse_le_enable_att_list_timer
+
+
+
+mouse_sensor_led_contrl_timer:
+	fetch 1,mem_mouse_sensor_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_mouse_sensor_timer_count
+	nrtn blank
+	branch mouse_sensor_led_contrl
+mouse_sensor_led_contrl:
+	fetch 1,mem_sensor_led_style
+	rtneq UI_LED_STATE_BLINK_STOP
+	beq UI_LED_STATE_BLINK_DARKING,mouse_sensor_led_blink_state_darking
+mouse_sensor_led_blink_state_lighting:
+	call mouse_sensor_led_on
+	jam UI_LED_STATE_BLINK_DARKING,mem_sensor_led_style
+	jam LED_SENSOR_BLINK_CNT,mem_mouse_sensor_timer_count
+	rtn
+mouse_sensor_led_blink_state_darking:
+	call mouse_sensor_led_off
+	jam UI_LED_STATE_BLINK_LIGHTING,mem_sensor_led_style
+	jam LED_SENSOR_BLINK_CNT,mem_mouse_sensor_timer_count
+	rtn
+	
+mouse_sensor_led_blink_stop:
+mouse_sensor_reset:
+	setarg 0x8006
+	call twspi_write
+    nop 1000
+	jam 0x00,mem_mouse_sensor_timer_count
+	jam UI_LED_STATE_BLINK_STOP,mem_sensor_led_style
+	branch mouse_init_p32xx_id2_judge
+	
+mouse_p3212sensor_led_on:
+	setarg 0xa006
+	call twspi_write
+	setarg 0xa005
+	branch twspi_write
+mouse_sensor_led_on_global:
+	jam 0,mem_mouse_sensor_timer_count
+mouse_sensor_led_on:
+	fetch 1,mem_config_sensor_type
+	beq P3212,mouse_p3212sensor_led_on
+	setarg 0x0106
+	call twspi_write
+	setarg 0xa105
+	branch twspi_write
+	
+mouse_sensor_led_off_global:
+	jam 0,mem_mouse_sensor_timer_count	
+mouse_sensor_led_off:
+	setarg 0x0906
+	branch twspi_write
+mouse_sensor_start_blink:
+	jam LED_SENSOR_BLINK_CNT,mem_mouse_sensor_timer_count
+	jam UI_LED_STATE_BLINK_START,mem_sensor_led_style
+	rtn
+	
+mouse_check_hid_handshake_timer:
+	arg mem_hid_handshake_timer_count,regc
+	arg mouse_bt_hid_handshake,regb
+	branch timer_single_step
+
+mouse_check_discovery_timeout_timer:	
+	arg mem_mouse_discovery_timer,regc
+	arg mouse_check_discovery_timeout,regb
+	branch timer_single_step_2B
+
+mouse_check_direct_timeout_timer:	
+	arg mem_mouse_direct_timer,regc
+	arg mouse_check_direct_timeout,regb
+	branch timer_single_step_2B
+	
+mouse_check_no_data_timeout_timer:	
+	arg mem_mouse_no_data_timer,regc
+	arg mouse_check_no_data_timeout,regb
+	branch timer_single_step_2B
+	
+mouse_check_mouse_state_timer:
+	arg mem_mouse_statue_led_timer,regc
+	arg mouse_statue_led_off,regb
+	branch timer_single_step
+
+
+
+mouse_le_enable_att_list_timer:
+	arg mem_le_start_encrypt_timer,regc
+	arg mouse_le_enable_att_list,regb
+	branch timer_single_step
+
+mouse_24g_delay_timer:
+	arg mem_24g_enter_lpm_timer,regc
+	arg mouse_24g_delay,regb
+	branch timer_single_step
+
+mouse_ban_24g_pairing_timer:
+	arg mem_24g_pairing_timer_count,regc
+	arg mouse_ban_24g_pairing,regb
+	branch timer_single_step_2B
+mouse_ban_24g_pairing:
+mouse_24g_delay:
+	rtn
+
+
+mosue_dpi_led_blink_init:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_DPI_LED_BLINK
+	jam 10,mem_mouse_dpi_led_delay_count  //delay 1s led blink
+	fetch 1,mem_dpi_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	rtn
+
+
+mouse_dpi_led_blink_delay_timer:
+	arg mem_mouse_dpi_led_delay_count,regc
+	arg mouse_dpi_led_setting,regb
+	branch timer_single_step	
+mouse_dpi_led_setting:
+	fetch 1,mem_dpi_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	setarg LED_DPI_BLINK
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time
+	arg 0,rega
+	fetcht 1,mem_mouse_dpi
+	increase 1,temp
+	storet 1,mem_mouse_blink_count
+	jam UI_LED_STATE_BLINK_START,mem_mouse_led_type
+	rtn
+	
+mouse_le_enable_att_list:	
+	fetch 1,mem_le_connect_status_flag
+	rtnbit1 LL_PAIRING_SUCCESS_FLAG
+	jam BT_CMD_LE_UPDATE_CONN,mem_fifo_temp
+	call ui_ipc_send_cmd
+	arg WRITE_REQ_ENABLE_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+
+mouse_check_discovery_timeout:
+	call mouse_stop_discovery
+	branch app_enter_hibernate
+
+mouse_check_direct_timeout:
+	call app_ble_stop_direct_adv
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	branch app_enter_hibernate
+
+mouse_check_no_data_timeout:
+	bmark1 mark_24g,check_51cmd_hibernate
+	branch mouse_disconnect
+
+	
+
+mouse_bb_event_discovery_btn:
+	bpatch patch1d_2,mem_patch1d
+	jam 0,mem_mouse_send_blank_timer
+	call mouse_disconnect
+	call mouse_le_clean_connect_flag
+	branch mouse_start_discovery
+
+
+
+mouse3_0_check_reconn_target:
+	fetch 6,mem_hci_plap
+	branch app_bt_start_discovery_short,blank
+	call mouse_reconn_setting_led_gpio
+	jam 0x17,mem_connection_options  //ssp
+	fetch 1,mem_ssp_enable
+	nbranch app_bt_start_reconnect,blank
+	jam 0x04,mem_connection_options  //no ssp
+	branch app_bt_start_reconnect
+	
+mouse4_0_check_reconn_target:
+	fetch 2,mem_mouse_direct_timeout
+	store 2,mem_mouse_direct_timer
+	call mouse_reconn_setting_led_gpio
+	call app_lpm_mult_disable
+	branch check_51cmd_adv
+
+mouse_reconn_setting_led_gpio:
+	setarg LED_RECONNECT_BLINK
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time
+	branch mouse_setting_led_gpio_comman
+	
+mouse_discover_setting_led_gpio:
+	setarg LED_DISCOVERY_BLINK
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time	
+mouse_setting_led_gpio_comman:
+	fetch 1,mem_device_flag
+	beq MODE_BT_DEVICE1,mouse_device_led1
+	beq MODE_BT_DEVICE2,mouse_device_led2
+	beq MODE_BT_DEVICE3,mouse_device_led3
+	rtn
+mouse_device_led1:
+	fetch 1,mem_config_device1_led_gpio
+	branch mouse_led_blink
+mouse_device_led2:
+	fetch 1,mem_config_device2_led_gpio
+	branch mouse_led_blink
+mouse_device_led3:
+	fetch 1,mem_config_device3_led_gpio
+mouse_led_blink:
+	store 1,mem_temp
+	call mouse_devce_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_led_off:
+	arg 0,rega
+	branch ui_led_off_global
+mouse_led_on:
+	arg 0,rega
+	branch ui_led_on_global
+
+mouse4_0_bb_event_discovery_btn:
+	branch mouse_le_clean_connect_flag
+	
+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
+	branch app_bt_enter_sniff
+
+mouse_check_reconn_target:
+	call mouse_cheak_select_device_by_switch
+	fetch 1,mem_device_flag
+	fetcht 1,mem_24g_device_number
+	isub temp,null
+	branch mouse_connect_24g_mode,zero
+	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_connect_24g_mode:
+	call mouse_start_24g_mode
+	rtnmark1 mark_24g
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	rtn
+	
+mouse_start_discovery:
+	bpatch patch1d_3,mem_patch1d
+	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
+	random pdata					//random ble addr
+	store 1,mem_le_lap+1
+mouse_start_discovery_norandom:
+	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 2,mem_mouse_direct_timer
+	arg MOUSE_STORE_EEPROM_FLAG,queue
+	call mouse_enable_function_flag
+	call mouse_bt_discovery_button_down_disable
+	fetch 1,mem_device_option
+	isolate1 MODE_4_MOUSE,pdata
+	call check_51cmd_adv,true
+	fetch 1,mem_device_option
+	isolate1 MODE_3_MOUSE,pdata
+	call check_51cmd_start_discovery,true
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_DISCOVERY_SENSOR_LED,mouse_sensor_start_blink
+	branch mouse_discover_setting_led_gpio
+
+mouse_stop_discovery:
+	bpatch patch1d_4,mem_patch1d
+	fetch 1,mem_device_option
+	isolate1 MODE_4_MOUSE,pdata
+	call mouse_stop_le_adv,true
+	fetch 1,mem_device_option
+	isolate1 MODE_3_MOUSE,pdata
+	call mouse_stop_bt3_discovery,true
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_DISCOVERY_SENSOR_LED,mouse_sensor_led_blink_stop
+	branch mouse_devce_led_off
+mouse_stop_le_adv:
+	setarg 0
+	store 2,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:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_STORE_EEPROM_FLAG
+	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
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_FLASH,mouse_store_flash_device_info
+	bbit1 MOUSE_ENABLE_EEPROM,mouse_store_eeprom_device_info	
+	rtn
+mouse_store_eeprom_device_info:
+	arg 88,temp
+	arg mem_device_flag,rega
+	arg MOUSE_INFO_EEPROM_OFFECT,regb
+	branch iicd_write_protect_eep_data
+
+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_eeprom_load_recon_info:
+	arg 88,temp
+	arg mem_device_flag,rega
+	arg MOUSE_INFO_EEPROM_OFFECT,regb
+	call iicd_read_eep_data
+mouse_select_reconn_device:
+	arg mem_device1_type,rega
+	fetch 1,mem_device_flag
+	fetcht 1,mem_24g_device_number
+	isub temp,null
+	rtn zero
+	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_select_device:
+	fetch 1,mem_config_function_enable
+	bbit1 ENABLE_SELECT_DEVICE_BY_GPIO_BUTTON,mouse_select_device_by_button
+	bbit1 ENABLE_SELECT_DEVICE_BY_SWITCH,mouse_select_device_by_switch
+	branch mouse_select_device_by_combination_key
+
+mouse_select_device_by_combination_key:
+	call mouse_check_key_gpio
+	beq MOUSE_RM_BUTTON,mouse_select_device_commbination_key_down
+mouse_select_device_commbination_key_up:
+	jam 30,mem_combination_select_device_count	//combination key timer init 
+	fetch 1,mem_select_device_button_statue
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_select_device_button_statue	
+	rtn
+	
+mouse_select_device_commbination_key_down:
+	call mouse_combination_select_device_timer
+	fetch 1,mem_select_device_button_statue
+	rtneq DPI_BUTTON_STATE_DOWN
+	jam DPI_BUTTON_STATE_DOWN,mem_select_device_button_statue
+	branch mouse_select_device_enable
+
+mouse_combination_select_device_timer:
+	fetch 1,mem_combination_select_device_count
+	rtn blank
+	pincrease -1
+	store 1,mem_combination_select_device_count
+	nrtn blank
+	branch mouse_ready_reconnection_by_button
+	
+mouse_select_device_by_button:
+	fetch 1,mem_config_select_device_button_gpio
+	rtneq GPIO_DISABLE
+	fetcht 1,mem_config_select_device_button_gpio
+	call gpio_get_bit
+	branch mouse_select_device_button_down,true
+mouse_select_device_button_up:
+	fetch 1,mem_select_device_button_statue
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_select_device_button_statue	
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_LONG_BT_BUTTON_FLAG
+	branch mouse_ready_reconnection_by_button
+
+mouse_select_device_button_down:
+	fetch 1,mem_select_device_button_statue
+	rtneq DPI_BUTTON_STATE_DOWN
+	jam DPI_BUTTON_STATE_DOWN,mem_select_device_button_statue
+	arg MOUSE_LONG_BT_BUTTON_FLAG,queue
+	branch mouse_disable_function_flag
+
+
+
+mouse_select_device_by_switch:
+	fetch 1,MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 ENABLE_SELECT_DEVICE_BY_SWITCH
+	fetch 1,mem_device_flag
+	beq MODE_BT_DEVICE1,mouse_select1_device
+	beq MODE_24G_DEVICE,mouse_select2_device
+	rtn
+mouse_cheak_select_device_by_switch:
+	fetch 1,MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 ENABLE_SELECT_DEVICE_BY_SWITCH
+	fetcht 1,mem_config_select_device_button_gpio
+	call gpio_get_bit
+	branch mouse_cheak_select_24gdevice,true
+mouse_select_btdevice:
+	jam MODE_BT_DEVICE1,mem_device_flag
+	rtn
+mouse_cheak_select_24gdevice:
+	fetch 1,mem_24g_device_number
+	store 1,mem_device_flag
+	rtn
+mouse_select1_device:
+	fetcht 1,mem_config_select_device_button_gpio
+	nbranch mouse_ready_reconnection_by_button,true
+	rtn
+mouse_select2_device:
+	fetcht 1,mem_config_select_device_button_gpio
+	call gpio_get_bit
+	branch mouse_select_device_button_down,true
+	rtn
+
+
+	
+
+mouse_ready_reconnection_by_button:
+	fetcht 1,mem_device_flag
+	increase 1,temp
+	fetch 1,mem_device_number
+	isub temp,null
+	ncall mouse_select_device_count_clean,positive
+	storet 1,mem_device_flag
+	jam 0,mem_link_key_exists
+	call mouse_store_device_number2eeprom
+	call mouse_select_device_enable
+//	call p_select_reconn_device
+	branch mouse_set_reconnection
+
+mouse_store_device_number2eeprom:
+	arg 1,temp
+	arg mem_device_flag,rega
+	arg 0,regb
+	branch iicd_write_eep_data
+
+mouse_set_reconnection:
+	call mouse_stop_bluetooth_mode
+	call mouse_select_device_disable
+	branch mouse_soft_reset
+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:
+	bpatch patch1d_5,mem_patch1d
+	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_irtual_cable_unplug:
+	setarg 0x01
+	store 6,mem_plap
+	jam REC_3_MODE,mem_record_bt_mode
+	branch mouse_unplug_clean_bdaddr
+
+	
+mouse_cancel_reconnect:
+	call mouse_bt_cannel_reconn_enable
+	branch check_51cmd_bb_reconn_cancel
+
+mouse_bt_discovery_by_button:
+	fetch 1,mem_config_bt_button_gpio
+	rtneq GPIO_DISABLE
+	fetcht 1,mem_config_bt_button_gpio
+	call gpio_get_bit
+	branch mouse_bt_discovery_button_down,true
+mouse_bt_discovery_button_up:
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_combination_ui_button_count	//combination key timer init 	
+	fetch 1,mem_bt_discovey_button_statue
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_bt_discovey_button_statue	
+	branch mouse_bt_discovery_button_down_disable
+mouse_bt_discovery_button_down:
+	call mouse_bt_discovry_timer
+	fetch 1,mem_bt_discovey_button_statue
+	rtneq DPI_BUTTON_STATE_DOWN
+	jam DPI_BUTTON_STATE_DOWN,mem_bt_discovey_button_statue
+	call check_51cmd_bb_reconn_cancel
+	branch mouse_bt_discovery_button_down_enable
+
+	
+mouse_bt_discovery_cheak:
+	fetch 1,mem_config_function_enable
+	bbit1 ENABLE_BT_BUTTON,mouse_bt_discovery_by_button
+mouse_bt_discovery_commbination_key:
+	call mouse_check_key_gpio
+	beq MOUSE_LMR_BUTTON,mouse_bt_discovery_commbination_key_down
+mouse_bt_discovery_commbination_key_up:
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_combination_ui_button_count	//combination key timer init 
+	fetch 1,mem_bt_discovey_button_statue
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_bt_discovey_button_statue	
+	branch mouse_bt_discovery_button_down_disable
+	
+	
+mouse_bt_discovery_commbination_key_down:
+	call mouse_bt_discovry_timer
+	fetch 1,mem_bt_discovey_button_statue
+	rtneq DPI_BUTTON_STATE_DOWN
+	jam DPI_BUTTON_STATE_DOWN,mem_bt_discovey_button_statue
+	call check_51cmd_bb_reconn_cancel
+	branch mouse_bt_discovery_button_down_enable
+
+mouse_bt_discovry_timer:
+	arg mem_combination_ui_button_count,regc
+	arg mouse_long_button_bt_discovry,regb
+	branch timer_single_step
+	
+mouse_long_button_bt_discovry:
+	arg MOUSE_LONG_BT_BUTTON_FLAG,queue
+	call mouse_enable_function_flag
+	call app_evt_button_long_pressed
+	branch mouse_bb_event_discovery_btn
+
+
+mouse_cpi_enable:
+	arg MOUSE_CPI_FLAG,queue
+	branch mouse_enable_function_flag
+mouse_cpi_disable:
+	arg MOUSE_CPI_FLAG,queue
+	branch mouse_disable_function_flag
+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_select_device_count_clean:
+	arg 1,temp
+	rtn
+
+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_adc_read:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_ADC
+	fetch 1,mem_adc_read_timer
+	increase 1,pdata
+	store 1,mem_adc_read_timer
+	sub pdata,10,null              //1s read adc
+	rtn positive
+	jam 0,mem_adc_read_timer
+	call adc_set_mode
+	call vdd_calculate_by_mode
+	store 2,mem_mouse_vdd_now_vol
+	arg mem_mouse_vdd_calculate_set,rega
+	call adc_bat_percent_lowpower_out
+	fetch 1,mem_adc_power_flag
+	bbit1 1,mouse_power_down
+	bbit0 0,mouse_adc_no_low_voltage
+	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
+	branch mouse_disable_function_flag
+
+mouse_low_voltage_led_timer:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_LOW_VOLTAGE_FLAG
+	fetch 1,mem_config_low_voltage_alarm_gpio
+	store 1,mem_mouse_struct_led_gpio
+	fetch 1,mem_adc_low_volatage_led_timer_count
+	pincrease 1
+	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:
+	arg 0,rega
+	jam UI_LED_STATE_LIGHTING,mem_mouse_led_type
+	branch ui_led_on_global
+mouse_low_voltage_led_off:
+	arg 0,rega
+	jam UI_LED_STATE_LIGHTING,mem_mouse_led_type
+	branch ui_led_off_global
+
+mouse_g24_package_data:
+	call mouse_motion
+	nrtn user
+	arg 7,rega	//length
+	arg mem_mouse_key,regb //tx buff
+	rtn
+	
+mouse_g24_enter_lpm:
+	fetch 1,mem_mouse_24g_enter_lpm_enable
+	rtn blank
+	//do not enter lpm when condition is unallowed
+	fetcht 1,mem_dpi_button_gpio
+	call gpio_get_bit
+	call mouse_24g_dpi_delay_init,true
+	fetch 1,mem_24g_enter_lpm_timer
+	nrtn blank
+	call mouse_check_key_gpio
+	nrtn blank
+	branch g24_lpm_long_sleep
+
+mouse_24g_dpi_delay_init:
+	fetch 1,mem_dpi_button_gpio
+	rtneq UI_BUTTON_GPIO_DISABLE
+	jam 10,mem_24g_enter_lpm_timer
+	rtn
+
+	
+mouse_load_flash_info_cheak:
+	call mouse_load_flash_flag
+	fetch 2,mem_store_flag
+	arg EEPROM_INIT_FLAG,temp
+	isub temp,null
+	branch mouse_load_flash_device_info,zero
+	storet 2,mem_store_flag
+	call mouse_ble_init_address
+	branch mouse_store_flash_device_info
+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_load_flash_flag:
+	setarg mem_store_flag
+	arg mem_mouse_information_start,temp
+	isub temp,temp
+	fetch 3,mem_flash_base
+	iadd temp,pdata
+	arg 2,temp
+	arg mem_store_flag,rega
+	branch spid_read_flash
+
+	
+mouse_load_flash_device_info:
+	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
+	call spid_read_flash
+	call mouse_select_reconn_device
+	fetch 4,mem_mouse_24g_addr
+	call g24_head_ptr2regc
+	branch g24_store_mem_addr
+
+mouse_store_flash_device_info:	
+	setarg mem_mouse_information_end
+	arg mem_mouse_information_start,temp
+	isub temp,temp
+	arg mem_mouse_information_start,rega
+	fetch 3,mem_flash_base
+	branch flash_write
+
+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_statue_cheak_timer:
+	rtnmark1 mark_24g
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_STATUE_UP
+	fetch 1,mem_mouse_1step_up_count
+	pincrease 1
+	and pdata,0x07,pdata
+	store 1,mem_mouse_1step_up_count
+	rtnne 0x07         //800ms read sensor
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,mouse_check_statue_up
+	bbit1 UI_STATE_BLE_CONNECTED,mouse_check_statue_up
+	rtn
+
+
+
+//mosue 
+mouse_check_statue_up:
+	bpatch patch1d_6,mem_patch1d
+	fetch 1,mem_mouse_2step_up_count
+	nrtn blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_STATUE_UP_FLAG
+	fetch 1,mem_sensor_squal_reg
+	call sensor_read
+	store 1,mem_sensor_iqc
+	sub pdata,0x10,null
+	branch mouse_statue_up_timer_init,positive
+	jam 0,mem_mouse_2step_up_count
+	rtn
+
+mouse_statue_up_timer_init:
+	jam 30,mem_mouse_2step_up_count
+	rtn
+mouse_statue_up_timer:
+	arg mem_mouse_2step_up_count,regc
+	arg mouse_statue_up,regb
+	branch timer_single_step
+
+mouse_statue_up:
+	fetch 1,mem_sensor_squal_reg
+	call twspi_read
+	sub pdata,0x10,null
+	nrtn positive
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_STATUE_UP_FLAG
+	arg MOUSE_STATUE_UP_FLAG,queue
+	call mouse_disable_function_flag
+	jam 0,mem_lpm_mult
+	jam 30,mem_mouse_statue_led_timer         // led on3s
+	call mouse_devce_led_off
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_STATUE_UP_THREE_LED,mouse_three_device_statue_up
+mouse_two_device_statue_up:
+	fetch 1,mem_device_flag
+	beq MODE_BT_DEVICE1,mouse_device1_led_on  		//device_1
+	beq MODE_BT_DEVICE2,mouse_device_blink_led_init		//device_2
+	rtn
+mouse_three_device_statue_up:
+	fetch 1,mem_device_flag
+	beq MODE_BT_DEVICE1,mouse_device1_led_on  		//device_1
+	beq MODE_BT_DEVICE2,mouse_device2_led_on		//device_2
+	beq MODE_BT_DEVICE3,mouse_device3_led_on		//device_3
+	rtn
+	
+mouse_device_blink_led_init:
+	fetch 1,mem_config_device1_led_gpio
+	branch mouse_led_blink
+
+
+
+mouse_statue_led_off:
+	jam 0x20,mem_lpm_mult
+	branch mouse_devce_led_off
+
+
+
+mouse_devce1_led_off:
+	fetch 1,mem_config_device1_led_gpio
+	rtneq GPIO_DISABLE
+	store 1,mem_mouse_struct_led_gpio
+	branch mouse_led_off
+
+mouse_devce2_led_off:
+	fetch 1,mem_config_device2_led_gpio
+	rtneq GPIO_DISABLE
+	store 1,mem_mouse_struct_led_gpio
+	branch mouse_led_off
+	
+mouse_devce_led_off:
+	call mouse_led_off
+	call mouse_devce1_led_off
+	call mouse_devce2_led_off
+mouse_devce3_led_off:
+	fetch 1,mem_config_device3_led_gpio
+	rtneq GPIO_DISABLE
+	store 1,mem_mouse_struct_led_gpio
+	branch mouse_led_off
+
+mouse_device1_led_on:
+	fetch 1,mem_config_device1_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	branch mouse_led_on
+mouse_device2_led_on:
+	fetch 1,mem_config_device2_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	branch mouse_led_on
+mouse_device3_led_on:
+	fetch 1,mem_config_device3_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	branch mouse_led_on
+
+
+
+mouse_polling_device:
+	bpatch patch1d_7,mem_patch1d
+	fetch 1,mem_reconn_times
+	increase -1,pdata
+	store 1,mem_reconn_times
+	fetcht 1,mem_device_flag
+	increase 1,temp
+	fetch 1,mem_device_number
+	isub temp,null
+	ncall mouse_select_device_count_clean,positive
+	storet 1,mem_device_flag
+	jam 0,mem_link_key_exists
+	call mouse_store_device_number2eeprom
+	call mouse_before_store_reconn_info
+	branch mouse_check_reconn_target
+	
+mouse_power_down:
+	call mouse_devce_led_off
+	setarg 0
+	store 8,mem_gpio_wakeup_low
+	branch lpm_hibernate
+
+
+
+
+
+
+
+
+
+
+remote_car_init:
+	rtn wake	
+	hfetch 1,core_gpio_sel1
+	and_into 0xf0,pdata
+	hstore 1,core_gpio_sel1
+	call keyscan_key_init
+	setarg remote_car_le_before_hibernate
+	store 2,mem_cb_before_hibernate
+	
+	setarg remote_car_process_lpm_before
+	store 2,mem_cb_before_lpm	
+	
+	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 app_get_lpm_wake_lock
+	store 2,mem_cb_check_wakelock	
+
+	call g24_head_ptr2regc
+	setarg remote_car_g24_package_data
+	add regc,offset_24g_cb_data,contw
+	istore 2,contw
+	
+	setarg remote_car_g24_enter_lpm
+	add regc,offset_24g_cb_lpm_prepare,contw
+	istore 2,contw
+	
+	setarg remote_car_process_lpm_before
+	add regc,offset_24g_cb_lpm_before,contw
+	istore 2,contw
+
+	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
+	
+	setarg remote_car_send_key_data
+	store 2,mem_cb_remote_car_keyscan
+	
+	bpatch patch1e_0,mem_patch1e
+	call remote_car_init_environment
+	call queue_init
+	jam 2,mem_lpm_mult
+	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
+//	fetch 1,mem_remote_car_led_map
+	arg 0,rega
+	call ui_led_blink_start_global
+remote_car_connect_24g_mode:
+	branch g24_auto_pair_start
+
+remote_car_power_off_signal:	
+	branch remote_car_ui_led_init
+	
+remote_car_ui_led_init:
+	bpatch patch1e_1,mem_patch1e
+	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_set_device_addr
+	fetch 2,mem_remote_car_no_data_timeout
+	store 2,mem_remote_car_no_data_timer
+	branch remote_car_get_adc_default_data
+
+remote_car_le_before_hibernate:
+//	call keyscan_scan_key
+//	fetch 2, mem_key_value_temp
+//	branch remote_car_in_enter_hibernate,blank
+//	branch app_enter_hibernate
+remote_car_in_enter_hibernate:	
+	call gpio_set_before_lpm_common
+	call remote_car_process_lpm_before
+	branch app_enter_hibernate
+
+remote_car_process_lpm_before:
+	branch keyscan_process_lpm_before
+
+remote_car_g24_enter_lpm:
+	fetch 1,mem_remote_car_24g_enter_lpm_enable
+	rtn blank
+	//do not enter lpm when condition is unallowed
+	branch g24_lpm_long_sleep
+
+remote_car_process_auto_pair_exit:
+	rtn
+
+remote_car_key_scan_process:
+	branch keyscan_key_process
+
+remote_car_scale_process_idle:
+	call remote_car_rocker_process
+	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:
+	jam 1,mem_remote_car_24g_enter_lpm_enable
+	rtn
+
+remote_car_24g_pairing_complete:
+	jam 1,mem_remote_car_24g_enter_lpm_enable
+	jam WORK_PAIRED,mem_remote_car_24g_auto_work_step
+	jam WORK_PAIRED,mem_remote_car_24g_pair_success_flag
+	rtn
+
+remote_car_24g_attempt_success:
+	jam 1,mem_remote_car_24g_enter_lpm_enable
+	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
+	branch remote_car_no_data_timer
+
+remote_car_no_data_timer:
+	fetch 1,mem_remote_car_config_timeout_shutdown_enable
+	rtn blank
+	arg mem_remote_car_no_data_timer,regc
+	arg remote_car_scale_process_shutdown,regb
+	branch timer_single_step_2B
+	
+////////////////////////////////////rocker/////////////////////////////
+remote_car_get_adc_default_data:
+	call remote_car_rocker_get_x
+	storet 2,mem_current_vdd_value_default_mid_x
+	call remote_car_rocker_get_y
+	storet 2,mem_current_vdd_value_default_mid_y
+	rtn
+remote_car_rocker_data_get:
+remote_car_rocker_get_x:
+	fetch 2,mem_current_vdd_value_default_mid_x
+	store 2,mem_current_vdd_value_default_mid_temp
+	call remote_car_get_adc_from_gpio6
+	call remote_car_rocker_get_value
+	store 1,mem_rocker_status
+remote_car_rocker_get_y:
+	fetch 2,mem_current_vdd_value_default_mid_y
+	store 2,mem_current_vdd_value_default_mid_temp
+	call remote_car_get_adc_from_gpio7
+	call remote_car_rocker_get_value
+	store 1,mem_rocker_status+1
+	rtn
+remote_car_rocker_get_value:
+	fetch 2,mem_current_vdd_default_range
+	copy pdata,rega
+	fetch 2,mem_current_vdd_value_default_mid_temp
+	call remote_car_rocker_mid_value_adjust
+	fetch 1,mem_rocker_work_status
+	nbranch remote_car_rocker_translate_key,blank
+	nrtn positive
+	fetcht 2,mem_current_vdd_value_default_mid_temp
+	rtn	
+remote_car_rocker_mid_value_adjust:
+	isub temp,pdata
+	branch remote_car_rocker_mid_adjust_positive,positive
+	sub pdata,0,pdata		//negative adjust
+	jam 1,mem_rocker_negative_flag
+	isub rega,null
+	rtn
+remote_car_rocker_mid_adjust_positive:
+	jam 0,mem_rocker_negative_flag
+	isub rega,null
+	rtn
+remote_car_rocker_translate_key:
+	nbranch remote_car_rocker_middle_key,positive
+	fetch 1,mem_rocker_negative_flag
+	nbranch remote_car_rocker_negative_key,blank
+remote_car_rocker_positive_key:	
+	setarg ROCKER_POSITIVE_KEY
+	rtn
+remote_car_rocker_negative_key:
+	setarg ROCKER_NEGATIVE_KEY
+	rtn
+remote_car_rocker_middle_key:
+	setarg ROCKER_MIDDLE_KEY
+	rtn
+remote_car_get_adc_from_gpio6:
+	jam 0x33,mem_adc_channel
+	branch adc_set_mode
+remote_car_get_adc_from_gpio7:
+	jam 0x34,mem_adc_channel
+	branch adc_set_mode
+
+
+remote_car_rocker_process:
+	fetch 1,mem_remote_car_config_check_way
+	rtnne CAR_REMOTE_CHECK_ROCKER	
+remote_car_read_rocker_check_start:
+	bpatch patch1e_2,mem_patch1e
+	jam 1,mem_rocker_work_status
+	call remote_car_rocker_data_get
+	fetch 2,mem_rocker_status
+	fetcht 2,mem_rocker_last_status
+	isub temp,null
+	rtn zero
+	store 2,mem_rocker_last_status
+	call remote_car_rocker_x_to_key
+	branch remote_car_rocker_y_to_key
+	
+remote_car_rocker_x_to_key:
+	fetch 1,mem_rocker_x_status
+	branch rocker_to_queue_set_0,blank
+	increase -1,pdata
+	branch remote_car_rocker_to_key
+remote_car_rocker_y_to_key:
+	fetch 1,mem_rocker_y_status
+	branch rocker_to_queue_set_2,blank
+	increase 1,pdata
+remote_car_rocker_to_key:
+	copy pdata,queue
+	arg 1,rega
+	branch remote_car_send_key_data
+	
+rocker_to_queue_set_0:
+	arg 0,queue
+	arg 0,rega
+	branch remote_car_send_key_data
+rocker_to_queue_set_2:
+	arg 2,queue
+	arg 0,rega
+	branch remote_car_send_key_data
+	
+remote_car_send_key_data:
+	copy rega,pdata
+	store 1,mem_remote_key_status
+	fetch 1,mem_remote_car_24g_auto_work_step
+	beq POWER_ON,g24_auto_pair_start
+	fetch 2,mem_remote_car_no_data_timeout
+	store 2,mem_remote_car_no_data_timer
+	fetch 1,mem_remote_key_status
+	branch remote_car_key_is_release,blank
+remote_car_key_is_press:
+	bpatch patch1e_3,mem_patch1e
+	arg 0,rega
+	call ui_led_on_global
+remote_car_attack_key_press:
+	copy queue,pdata
+	beq 4,remote_car_send_attack_key4_press
+	beq 5,remote_car_send_attack_key5_press
+	beq 6,remote_car_send_fire_key6_press
+//	fetch 1,mem_remote_car_config_check_way
+//	rtneq CAR_REMOTE_CHECK_ROCKER
+remote_car_motor_key_press:
+	call remote_car_device_layout_select
+	beq CONTROL_F_B_TEN,remote_car_single_motor_key_is_press
+	beq CONTROL_L_R_TEN,remote_car_double_motor_key_press
+	beq CONTROL_L_R_LR,remote_car_single_motor_key_is_press
+	rtn
+	
+remote_car_single_motor_key_is_press:
+	copy queue,pdata
+	beq 0,remote_car_send_motor1_key0_press
+	beq 1,remote_car_send_motor1_key1_press
+	beq 2,remote_car_send_motor2_key2_press
+	beq 3,remote_car_send_motor2_key3_press
+	rtn
+	
+remote_car_double_motor_key_press:
+	copy queue,pdata
+	beq 0,remote_car_send_double_motor_key0_press
+	beq 1,remote_car_send_double_motor_key1_press
+	beq 2,remote_car_send_double_motor_key2_press
+	beq 3,remote_car_send_double_motor_key3_press
+	rtn
+
+remote_car_key_is_release:
+	bpatch patch1e_4,mem_patch1e
+	arg 0,rega
+	call ui_led_off_global
+remote_car_attack_key_release:
+	copy queue,pdata
+	beq 4,remote_car_send_attack_key4_rel
+	beq 5,remote_car_send_attack_key5_rel
+//	fetch 1,mem_remote_car_config_check_way
+//	rtneq CAR_REMOTE_CHECK_ROCKER
+remote_car_motor_key_release:
+	call remote_car_device_layout_select
+	beq CONTROL_F_B_TEN,remote_car_single_motor_key_rel
+	beq CONTROL_L_R_TEN,remote_car_double_motor_key_rel
+	beq CONTROL_L_R_LR,remote_car_single_motor_key_rel
+	rtn
+
+remote_car_device_layout_select:
+	fetch 1,mem_remote_car_config_layout
+	fetcht 1,mem_remote_car_config_key_map
+	ior temp,pdata
+	rtn
+
+//cross key,control front-back motor layout
+remote_car_send_motor1_key0_press:	//front
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor1_payload
+	branch remote_car_send_key
+remote_car_send_motor1_key1_press:	//back
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor1_payload
+	branch remote_car_send_key
+remote_car_send_motor2_key2_press:	//left
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+remote_car_send_motor2_key3_press:	//right
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+
+//cross key,control left-right motor layout
+remote_car_send_double_motor_key0_press:	//front
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor1_payload
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+remote_car_send_double_motor_key1_press:	//back
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor1_payload
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+remote_car_send_double_motor_key2_press:	//left
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor1_payload
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+remote_car_send_double_motor_key3_press:	//right
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor1_payload
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+	
+//attack motor control
+remote_car_send_attack_key4_press:	//attack left
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor3_payload
+	branch remote_car_send_key
+remote_car_send_attack_key5_press:	//attack right
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor3_payload
+	branch remote_car_send_key
+
+remote_car_send_fire_key6_press:
+	jam 0x01,mem_remote_car_24g_fire_send_payload
+	branch remote_car_send_attack
+
+remote_car_single_motor_key_rel:
+	copy queue,pdata
+	beq 0,remote_car_send_motor1_key0_rel
+	beq 1,remote_car_send_motor1_key1_rel
+	beq 2,remote_car_send_motor2_key2_rel
+	beq 3,remote_car_send_motor2_key3_rel
+	rtn
+
+remote_car_double_motor_key_rel:
+	copy queue,pdata
+	beq 0,remote_car_send_double_motor_key0_rel
+	beq 1,remote_car_send_double_motor_key1_rel
+	beq 2,remote_car_send_double_motor_key2_rel
+	beq 3,remote_car_send_double_motor_key3_rel
+	rtn
+
+remote_car_send_motor1_key0_rel:
+remote_car_send_motor1_key1_rel:
+	jam MOTOR_STOP,mem_remote_car_24g_motor1_payload
+	branch remote_car_send_key
+remote_car_send_motor2_key2_rel:
+remote_car_send_motor2_key3_rel:
+	jam MOTOR_STOP,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+	
+remote_car_send_double_motor_key0_rel:
+remote_car_send_double_motor_key1_rel:
+remote_car_send_double_motor_key2_rel:
+remote_car_send_double_motor_key3_rel:
+	jam MOTOR_STOP,mem_remote_car_24g_motor1_payload
+	jam MOTOR_STOP,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+	
+remote_car_send_attack_key4_rel:
+remote_car_send_attack_key5_rel:
+	jam MOTOR_STOP,mem_remote_car_24g_motor3_payload
+	branch remote_car_send_key
+
+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
+
+
+
+
+
+
+
+shutter_init:
+	rtn wake	
+	hfetch 1,core_gpio_sel1
+	and_into 0xfc,pdata
+	hstore 1,core_gpio_sel1
+	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 le_modified_name
+	call shutter_load_bluetooth_config_by_user_config
+	call shutter_init_bluetooth_config
+	call shutter_init_param	
+	call keyscan_key_init
+	call shutter_load_buffer_config_form_DataRom
+	call queue_init
+	call ui_led_init_global
+	call shutter_load_bluetooth_config
+	call shutter_load_bluetooth_config_by_eeprom
+	
+	bpatch patch1e_5,mem_patch1e
+	call classic_shutter_load_reconn_info
+	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
+
+/**************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
+/**************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,classic_shutter_process_hid_connect
+	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
+/**************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
+/****************************/
+
+
+/******************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_connect:
+	setarg HID_HANDSHAKE_TIMEOUT
+	store 1,mem_hid_handshake_timer_count
+	rtn	
+
+
+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
+/**************************************/
+
+/******************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
+/************************************/
+/**************classic shutter timer**********************/
+	call classic_shutter_check_unplug_timer
+	call classic_shutter_hid_handshake_timer
+	call classic_shutter_hid_disconn_timer
+/************************************/
+/**************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
+/************************************/
+
+/**************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
+
+/************************************/
+
+/**************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:
+	branch keyscan_process_lpm_before
+
+shutter_le_before_hibernate:
+	call gpio_set_before_lpm_common
+	branch shutter_process_lpm_before
+
+//////////////////////////////////////////////////////////////////////////////////////////
+
+
+/****************shutter bluetooth control**********************/
+shutter_stop_bluetooth_discovery:
+	fetch 1,mem_shutter_bluetooth_type
+	bbit1 CLASSIC_SHUTTER,classic_shutter_stop_bluetooth_discovery
+	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
+	
+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
+
+shutter_start_bluetooth_discovery:
+	fetch 1,mem_shutter_soft_switch_power_state
+	rtnne SS_STATE_POWER_ON
+	fetch 1,mem_shutter_bluetooth_type
+	bbit1 CLASSIC_SHUTTER,classic_shutter_start_discovery
+	bbit1 BLE_SHUTTER,ble_shutter_start_discovery
+	rtn
+	
+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
+
+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 CLASSIC_SHUTTER,classic_shutter_start_reconnect
+	bbit1 BLE_SHUTTER,ble_shutter_start_reconnect
+	rtn
+
+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	
+
+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_dav_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
+
+//pdata:adv interval value
+shutter_ble_adv_interval_set:
+	store 2,mem_lpm_interval
+	increase -4,pdata
+	store 2,mem_le_adv_interval
+	rtn
+
+
+shutter_disconnect_current_connection:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,app_ble_disconnect
+	bbit1 UI_STATE_BT_CONNECTED,app_bt_disconnect
+	branch shutter_stop_bluetooth_discovery
+/**************************************/
+
+/******************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
+	
+/**************************************/
+
+/////////////////////////////////////////////////////////////////////////
+//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_BT_CONNECTED,shutter_check_bt_data_enable
+	bbit1 UI_STATE_BLE_CONNECTED,shutter_check_ble_data_enable
+	rtn
+
+shutter_check_bt_data_enable:
+	fetch 1,mem_hid_interrupt_state
+	rtnne 0x3f	
+	branch enable_user
+
+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 CLASSIC_SHUTTER,classic_shutter_change_bluetooth_status_bt_disconn
+	bbit1 BLE_SHUTTER,ble_shutter_change_bluetooth_status_bt_disconn
+	rtn
+	
+classic_shutter_change_bluetooth_status_bt_disconn:
+	fetch 1,mem_scan_mode
+	rtnne 0x03
+	branch shutter_start_reconnect
+	
+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
+	bbit1 UI_STATE_BT_CONNECTED,pop_queue_to_classic_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
+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
+
+
+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
+
+///////////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
+	call memcpy_fast
+	arg BT_KEY_VALUE_LIST_SIZE,loopcnt
+	arg mem_classic_data_buffer1,contw
+	arg CLASSIC_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_load_bt_sdp_form_DataRom:
+	arg BT_SDP_LIST_SIZE,loopcnt
+	arg CLASSIC_SHUTTER_SDP_LIST,contr
+	branch memcpy_fast
+	
+
+///////////////////////////////gpio config////////////////////////////////////
+shutter_init_bluetooth_config:
+	call shutter_check_load_config_flag
+	nrtn user
+	fetch 1,mem_shutter_config_select_gpio1
+	call shutter_init_bluetooth_config_gpio_input
+	fetch 1,mem_shutter_config_select_gpio2
+	call shutter_init_bluetooth_config_gpio_input
+	fetch 1,mem_shutter_config_select_gpio3
+	branch shutter_init_bluetooth_config_gpio_input
+	
+shutter_init_bluetooth_config_gpio_input:
+	rtn blank
+	or pdata,0x80,temp
+	branch gpio_config_input_nowake
+	
+
+shutter_load_bluetooth_config:
+	call shutter_check_load_config_flag
+	nrtn user
+	call shutter_load_bluetooth_config_label
+	branch shutter_load_bluetooth_config_by_otp
+
+shutter_load_bluetooth_config_label:
+	arg 0,rega
+	fetch 1,mem_shutter_config_select_gpio1
+	call shutter_load_bluetooth_config_read_gpio_input
+	nsetflag blank,0,rega
+	fetch 1,mem_shutter_config_select_gpio2
+	call shutter_load_bluetooth_config_read_gpio_input
+	nsetflag blank,1,rega
+	fetch 1,mem_shutter_config_select_gpio3
+	call shutter_load_bluetooth_config_read_gpio_input
+	nsetflag blank,2,rega
+	copy rega,pdata
+	store 1,mem_shutter_config_label
+	fetch 1,mem_shutter_config_size
+	imul32 rega,pdata
+	fetcht 2,mem_shutter_config_otp_base_address		//base address
+	iadd temp,pdata
+	store 2,mem_shutter_config_otp_addr
+	rtn
+
+shutter_load_bluetooth_config_read_gpio_input:
+	rtn blank
+	or pdata,0x80,temp
+	call gpio_get_bit
+	nbranch enable_blank,true
+	branch disable_blank
+	
+
+shutter_check_load_config_flag:
+	call disable_user
+	fetch 1,mem_shutter_config_user_size
+	nrtn blank
+	fetch 1,mem_shutter_config_enable
+	rtn blank
+	branch enable_user
+
+
+shutter_load_bluetooth_config_by_otp:
+	call otp_enable_chgpump
+	fetch 2,mem_shutter_config_otp_addr
+	arg mem_shutter_config_data_temp,rega
+	fetcht 1,mem_shutter_config_size
+	call otpd_read_data
+	call otp_disable_chgpump
+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_load_bluetooth_config_by_user_config:
+	fetch 2,mem_shutter_config_user_otp_address
+	rtn blank
+	call otp_enable_chgpump
+	arg 1,temp
+	arg mem_shutter_config_user_size,rega
+	call otpd_read_data
+	
+	fetch 1,mem_shutter_config_user_size
+	rtn blank
+	
+	fetch 2,mem_shutter_config_user_otp_address
+	pincrease 1
+	arg mem_shutter_config_data_temp,rega
+	fetcht 1,mem_shutter_config_user_size
+	call otpd_read_data
+	call otp_disable_chgpump
+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
+	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
+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
+	
+/////////////////////////////////////////////////////////////////
+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*********************/
+
+
+/*************unkown function*********************/
+shutter_byteswap:
+	store 6,mem_tmp_buffer
+	fetch 1,mem_tmp_buffer
+	store 1,mem_tmp_buffer+11
+	ifetch 1,contr
+	store 1,mem_tmp_buffer+10
+	ifetch 1,contr
+	store 1,mem_tmp_buffer+9
+	ifetch 1,contr
+	store 1,mem_tmp_buffer+8
+	ifetch 1,contr
+	store 1,mem_tmp_buffer+7
+	ifetch 1,contr
+	store 1,mem_tmp_buffer+6
+	fetch 6,mem_tmp_buffer+6
+	rtn
+
+shutter_random_addr_by_otp:
+	call load_adc_init
+	fetch 1,mem_1v_adc_io_data
+	store 1,mem_le_lap
+	fetch 1,mem_5v_adc_hvin_data
+	istore 1,contw
+	fetch 1,mem_3v_adc_vinlpm_data
+	istore 1,contw
+	fetch 3,mem_le_lap
+	store 3,mem_lap
+	rtn
+
+
+
+//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_oe0,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_oe0,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
+
+/**********************************/
+
+
+
+usb_isr:
+	bpatch patch1e_6,mem_patch1e
+	hfetch 1,core_usb_status
+	isolate1 7,pdata
+	call usb_init,true
+	call usb_nak_state_judge
+	hfetch 1,core_usb_status
+	store 1,mem_usb_status
+	hfetch 1,core_usb_fifo_empty
+	store 1,mem_usb_fifo_empty
+	hstore 1,core_usb_fifo_empty
+	pinvert
+	fetcht 1,mem_usb_tx_wait
+	iand temp,pdata
+	store 1,mem_usb_tx_wait
+	jam 0xe0,core_usb_status
+	fetch 1,mem_usb_fifo_empty
+	compare 0x1,pdata,0x1
+	call usb0_fifo_empty,true
+	fetch 1,mem_usb_status	
+	compare 0x1,pdata,0x1  
+	call usb_status1,true
+	call usb_tx
+	branch usb_nak_state
+
+usb_init:
+	bpatch patch1e_7,mem_patch1e
+	call usb_init_param
+	jam 0x00,core_usb_config
+	nop 10000
+	jam 0xc0,core_usb_trig
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_USB,pdata
+	hstore 2,core_clkoff
+	jam 0x3c,core_usb_config
+	jam 0xff,core_usb_status
+	jam 0xff,core_usb_fifo_empty
+	jam 0,core_usb_addr
+	jam DEV_DEFAULT,mem_usb0_state
+	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_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_mem_devicedesc_init:
+	arg mem_devicedesc,contw
+	setsect 0,0x11212
+	setsect 1,0x8000
+	setsect 2,0x0
+	setsect 3,0x10000
+	istore 9,contw
+	setsect 0,0x22412
+	setsect 1,0x8604
+	setsect 2,0x1000
+	setsect 3,0x8
+	istore 9,contw
+	setsect 0,0x1
+	istore 1,contw
+	rtn
+	
+usb_init_param:
+	jam 2,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
+	setarg HID_KBDATA_ADDR
+	store 2,mem_hidreportdesc_kb
+	setarg HID_MSDATA_ADDR
+	store 2,mem_hidreportdesc_m
+	arg mem_confdesc,contw
+	arg HID_CONFDATA_ADDR,contr
+	call memcpy64
+	fetch 1,mem_usb_tx_interval
+	ncall usb_tx_interval_config,blank
+	branch usb_mem_devicedesc_init
+	
+usb_tx_interval_config:
+	store 1,mem_confdesc+34
+	store 1,mem_confdesc+59
+	rtn
+usb_nak_state_judge:
+	hfetch 1,core_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
+    	
+usb0_fifo_empty:
+	jam 0x1,core_usb_fifo_empty
+	branch usb0_tx
+
+usb_rx_no_data:
+	fetch 1,mem_usb_status
+	bbit1 USB_STATUS_SETUP,usb_class_type
+	rtn
+
+usb_rx_read:
+	hfetch 1,core_usb_ep
+	istore 1,contw
+	loop usb_rx_read
+	rtn
+
+usb_status1:
+	bpatch patch1f_0,mem_patch1f
+	jam 0x11,core_usb_status
+	hfetch 1,core_usb_ep_len
+	store 1,mem_usb_read_len
+	copy pdata,loopcnt
+	branch usb_rx_no_data,blank
+	arg mem_usb_setup,contw
+	call usb_rx_read
+	fetch 1,mem_usb_read_len
+	sub pdata,7,null
+	rtn positive
+usb_class_type:
+	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_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:
+	hfetch 1,core_usb_stall
+	set1 0,pdata
+	hstore 1,core_usb_stall
+	branch usb0_reply_zerolen
+	
+usb0_reply_zerolen:
+	jam 0x40,core_usb_clear
+	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:
+	bpatch patch1f_1,mem_patch1f
+	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:	
+	arg mem_confdesc+19,rega
+	ifetch 1,rega
+	iforce regb
+	branch usb0_respond
+//class_descriptor hid_descriptor--mouse 
+dsc_hid_info_interface1:	
+	arg mem_confdesc+44,rega
+	ifetch 1,rega
+	iforce regb
+	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:
+	hfetch 1,core_usb_addr
+	ncall usb0_set_addr,blank
+	jam 0,mem_usb_set_high_addr_flag
+	rtn
+usb0_set_addr:
+	hfetch 1,core_usb_addr
+   	set1 7,pdata
+	hstore 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
+	fetch 2,mem_hidreportdesc_kb
+	copy pdata,rega
+//	arg mem_hidreportdesc_kb,rega
+	branch usb0_respond_length
+dsc_hid_report_info0:
+	jam 1,mem_usb_device_enumeration_endflag
+	jam USB_GOT_REPORT_REQ,mem_usb_state
+	fetch 2,mem_hidreportdesc_m
+	copy pdata,rega
+//	arg mem_hidreportdesc_m,rega
+	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_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,usb_send_two_packet
+//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
+	hfetch 1,core_usb_config
+	set0 7,pdata
+	hstore 1,core_usb_config
+	jam 0,mem_usb_remote_wakeup
+	jam 1,mem_usb_clear_remote_wakeup
+	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
+	hfetch 1,core_usb_config
+	set1 7,pdata
+	hstore 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
+	hstore 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:
+	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:
+	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
+	fetch 1,mem_usb_setup_bLength	//max 0x40
+	iforce loopcnt
+	arg mem_usb0_setup,contr
+	arg mem_usb0_set_report_data,contw
+	call memcpy
+	branch usb0_reply_zerolen
+	
+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:
+	ifetch 1,rega
+	iforce regb
+	increase 1,rega
+//rega=*buff,reb=size	
+usb0_respond:
+	bpatch patch1f_2,mem_patch1f
+	bmark0 mark_isstr,usb0_respond0
+	add regb,1,pdata
+	lshift pdata,pdata
+	hstore 1,core_usb_dfifo0 
+	jam 3,core_usb_dfifo0
+	fetch 1,mem_usb_setup_bLength
+	increase -2,pdata
+	rshift pdata,pdata
+	store 1,mem_usb_setup_bLength
+	beq 0,usb_no_respond_data
+usb0_respond0:
+	fetch 2,mem_usb_setup_bLength
+	isub regb,null
+	branch usb0_respond1,positive
+	copy pdata,regb	
+usb0_respond1:
+	deposit rega
+	store 2,mem_bufptr
+	deposit regb
+	store 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:
+	bpatch patch1f_3,mem_patch1f
+	fetch 1,mem_remain
+	rtn blank
+	copy pdata,loopcnt
+	sub pdata,EP0_PACKET_SIZE,null
+	branch usb0_tx_info,positive
+	arg EP0_PACKET_SIZE,loopcnt	
+usb0_tx_info:
+	fetch 1,mem_remain
+	isub loopcnt,pdata
+	store 1,mem_remain//mem_remain -= len
+	fetch 2,mem_bufptr
+	copy pdata,contr	
+usb0_tx0:
+	ifetch 1,contr
+	hstore 1,core_usb_dfifo0
+	bmark0 mark_isstr,usb0_tx1
+	jam 0,core_usb_dfifo0
+usb0_tx1:
+	loop usb0_tx0
+	copy contr,pdata
+	store 2,mem_bufptr//mem_bufptr += len
+	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 core_usb_dfifo1,rega
+	arg 1,queue
+usb_tx_loop:
+	ifetch 1,contr
+	istore 1,rega
+	loop usb_tx_loop
+usb_trig:
+	setarg 0
+	qset1 pdata
+	hstore 1,core_usb_trig
+	fetcht 1,mem_usb_tx_wait
+	ior temp,pdata
+	store 1,mem_usb_tx_wait
+	rtn
+
+usb_tx_ep2:
+	arg 2,queue
+	arg core_usb_dfifo2,rega
+	branch usb_tx_loop
+
+usb_tx:
+	bpatch patch1f_4,mem_patch1f
+	fetch 1,mem_usb_tx_enable
+	rtn blank
+	fetch 1,mem_usb_tx_wait
+	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 usb_tx_data_ep1
+	branch usb_tx_data_ep2
+
+usb_tx_data_ep1:
+	fetch 1,mem_usb_tx_enable
+	rtnbit0 1
+	fetch 1,mem_usb_tx_wait
+	rtnbit1 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,mem_usb_tx_enable
+	rtnbit0 2
+	fetch 1,mem_usb_tx_wait
+	rtnbit1 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
+	branch assert
+
+usb_tx_fifo_release:
+	//clear mem_usb_mouse_data/mem_usb_kb_data/mem_usb_kb_multikey
+	arg mem_usb_mouse_data,contw
+	arg 6,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_inwake_state_tx_dispose:
+	fetch 1,mem_usb_state
+	beq USB_SLEEP,usb_clear_tx_wait
+	beq USB_CONNECTED, usb_mac_wakeup_trig
+	rtn
+usb_clear_tx_wait:
+	jam 0,mem_usb_tx_wait
+	rtn	
+usb_mac_wakeup_trig:
+	hfetch 1,core_usb_config
+	set1 7,pdata
+	hstore 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:
+	hfetch 1,core_usb_config
+	rtnbit0 7	//endpoint wakeup enable
+	jam 0xfc,core_usb_config
+	nop 30000
+	jam 0x3c,core_usb_config
+	rtn
+
+
+
+
+
+
+hci_rx_h4:
+	bpatch patch1f_5,mem_patch1f
+	fetch 1,mem_hci_cmd
+	nrtn blank
+hci_rx_h4_1:
+	call hci_h4_parse_packet
+	ncall h4_rx_discard_packet,user
+	rtn
+	
+hci_h4_parse_packet:
+	bpatch patch1f_6,mem_patch1f
+	copy contru,rega
+	arg 4,temp
+	ifetch 1,contru //type
+	beq HCI_H4_TYPE_CMD,hci_h4_parse_packet_wait_len
+	increase 1,temp //acl packet has 2 bytes for length
+	beq HCI_H4_TYPE_ACL,hci_h4_parse_packet_wait_len
+	copy contru,pdata
+	hstore 2,core_uart_rrptr
+	rtn
+hci_h4_parse_packet_wait_len:
+	hfetch 2,core_uart_rxitems
+	isub temp,null
+	nbranch hci_h4_parse_packet_wait_len,positive // while(rxitems >= 4 or 5);
+	//Make sure length has been recieved.
+	disable user
+	copy rega,contru
+	call h4_get_rx_payload_len
+	iadd temp,temp
+hci_h4_parse_packet_wait:
+	hfetch 2,core_uart_rxitems
+	isub temp,null
+	nbranch hci_h4_parse_packet_wait,positive//wait for rcv a complete packet
+	copy rega,contru
+	ifetch 1,contru //HCI packet type
+	beq  HCI_H4_TYPE_CMD,process_hci_cmd
+	branch assert
+	
+h4_rx_discard_packet:
+	bpatch patch1f_7,mem_patch1f
+	hfetch 2,core_uart_rrptr
+	iforce contru
+	call h4_get_rx_payload_len
+	iadd contru,contru
+	deposit contru
+	hstore 2,core_uart_rrptr
+	rtn
+
+
+//contru = pointer to packet start
+//return len via pdata
+h4_get_rx_payload_len:
+	ifetch 1,contru
+	increase 2,contru
+	beq HCI_H4_TYPE_ACL,h4_get_rx_payload_len_acl
+	ifetch 1,contru
+	rtn
+h4_get_rx_payload_len_acl:
+	ifetch 2,contru
+	rtn
+
+h4_get_tx_ptr:
+	hfetch 2,core_uart_twptr
+	increase -5,contwu
+	iadd contwu,contwu
+	rtn
+
+h4_send_packet_event:
+	arg HCI_H4_TYPE_EVENT,temp //type
+	branch h4_send_packet
+h4_send_packet_acl: //upgoing ACL
+	arg HCI_H4_TYPE_ACL,temp //type
+h4_send_packet:
+	bpatchx patch20_0,mem_patch20
+	increase 1,loopcnt
+	hfetch 2,core_uart_twptr
+	copy pdata,contwu
+	copy loopcnt,pdata //length
+	istoret 1,contwu //packet type in temp
+	increase -1,pdata
+	iadd contwu,contwu
+	copy contwu,pdata
+	store 2,mem_hci_acl_tx_trigger_wptr
+	copy temp,pdata
+	rtneq HCI_H4_TYPE_ACL //not send acl packet immediately
+	fetch 2,mem_hci_acl_tx_trigger_wptr
+	hstore 2,core_uart_twptr
+	branch h4_send_acl_trigger_clear
+	
+	
+h4_send_acl_trigger_clear:
+	setarg 0
+	store 2,mem_hci_acl_tx_trigger_wptr
+	rtn
+
+	
+/*********************************/
+/**********   HCI  *****************/
+/*********************************/
+
+hci_init:
+	rtn wake
+	setarg hci_idle_dispatch
+	store 2,mem_cb_idle_process
+
+	setarg uart_baud_115200
+	store uart_baud_len,mem_baud
+hci_lpm_init:
+	setarg mem_h5rx_buf
+	hstore 2,core_uart_rsaddr
+	setarg mem_h5rx_buf_end
+	hstore 2,core_uart_readdr
+	setarg mem_h5tx_buf
+	hstore 2,core_uart_tsaddr
+	call hci_sel_init
+hci_reinit:
+	jam 0x0,core_uart_ctrl
+ 	setarg mem_h5tx_buf
+	hstore 2,core_uart_twptr
+	hstore 2,core_uart_trptrp
+	setarg mem_h5rx_buf
+	hstore 2,core_uart_rrptr
+	store 2,mem_h5rx_rptr
+hci_init_common:
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_UART,pdata
+	hstore 2,core_clkoff
+	call uart_set_baud_by_mem
+	jam uartclk_dpll,core_uart_clksel
+	jam uart_ctrl_h4,core_uart_ctrl
+	rtn
+
+hci_sel_init:
+	setarg mem_h5tx_buf_end
+	hstore 2,core_uart_teaddr
+	hfetch 1,core_gpio_sel1
+	or_into 0x07,pdata
+	hstore 1,core_gpio_sel1
+	rtn
+	
+	
+hci_rx_packet:
+	bpatchx patch20_1,mem_patch20
+	hfetch 1,core_uart_status
+	iforce regb
+	bbit0 uart_status_rx_fifo_empty,hci_rx_packet_cont
+	hfetch 2,core_uart_rxitems
+	iforce regc
+	arg 0x44f,temp
+	isub temp,null
+	nrtn zero
+hci_rx_packet_cont:
+	hfetch 2,core_uart_rrptr
+	iforce contru
+	branch hci_rx_h4
+	
+uart_send_byte:
+	hfetcht 1,core_uart_status
+	isolate1 6,temp
+	branch uart_send_byte,true
+	hstore 1,core_uart_txd
+	rtn
+	
+process_hci_cmd:
+	bpatchx patch20_2,mem_patch20
+	fetch 1,mem_hci_cmd
+	branch process_hci_cmd_cont,blank
+	enable user					/* last command still there */
+	rtn
+process_hci_cmd_cont:
+	ifetch 2,contru
+	iforce alarm				/* alarm is used for sending */
+	iforce queue				/* queue is OCF */
+	ifetch 1,contru		/* skip hci length */
+	iforce temp			/* temp has the length */
+	rshift2 alarm,pdata
+	rshift8 pdata,pdata
+	beq HCI_OGF_VENDOR_SPECIFIC,phci_grp_vendor_specific
+	rtn
+
+
+phci_grp_vendor_specific:
+	bpatchx patch20_3,mem_patch20
+	deposit queue
+	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_BDADDR,phci_grp_vendor_bdaddr
+	beq HCI_VENDOR_CMD_ENTER_LPM,phci_grp_vendor_enter_lpm
+	
+	beq HCI_VENDOR_CMD_MEM,phci_grp_vendor_mem
+	beq HCI_VENDOR_CMD_EEP,phci_grp_vendor_eep
+	beq HCI_VENDOR_CMD_PATCH_SEC_INIT,phci_grp_vendor_patch_sec_init
+	beq HCI_VENDOR_CMD_PATCH_SEC,phci_grp_vendor_patch_sec
+	branch hci_normal_reply
+
+phci_grp_vendor_enter_lpm:
+	call hci_normal_reply
+	call wait_uarttx
+	call gpio_pu_uart_tx
+hci_enter_lpm:
+	call app_put_lpm_wake_lock
+	call app_l2cap_flow_control_enable
+	branch gpio_rx_config_input_with_pu
+
+hci_exit_lpm:
+	jam HCI_RX_READY,mem_hci_lt_rx_state
+	call app_get_lpm_wake_lock
+	call hci_lpm_init
+	branch app_l2cap_flow_control_disable
+	
+phci_grp_vendor_chipid:
+	call hci_get_cmd_complete_ptr
+	hfetch 2,core_chipid
+	istore 2,contwu
+	force 6,loopcnt
+	branch hci_command_complete
+	
+phci_grp_vendor_baud:
+	ifetch 2,contru
+	store 2,mem_baud
+	hstore 2,core_uart_baud
+	rtn
+
+
+phci_grp_vendor_patch_common:
+	//jam 0x80,core_ucode_ctrl
+	ifetch 1,contru
+	copy pdata,temp //check sum via temp
+	hstore 1,core_ucode_low
+	ifetch 1,contru
+	iadd temp,temp
+	set1 7,pdata
+	hstore 1,core_ucode_ctrl
+	ifetch 1,contru
+	iadd temp,temp
+	copy pdata,loopcnt
+	rtn
+	
+phci_grp_vendor_patch:
+	bmark1 mark_otp_encrypt ,phci_grp_vendor_patch_bad
+	call phci_grp_vendor_patch_common
+phci_grp_vendor_patch_loop:
+	ifetch 1,contru
+	hstore 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,contru
+	isub temp,null
+	nbranch phci_grp_vendor_patch_bad,zero
+	branch hci_normal_reply
+
+	
+phci_grp_vendor_patch_sec:
+	bmark0 mark_otp_encrypt ,phci_grp_vendor_patch_bad
+	call phci_grp_vendor_patch_common
+	store 8,mem_pdatatemp
+phci_grp_vendor_patch_sec_loop:
+	call do_aes_cbc	
+	arg 16,loopcnt
+	arg mem_temp_block0,contw
+	call load_uart_sum_loop
+	storet 8,mem_temp
+	arg mem_temp_block2,contw
+	call store_aes_result
+	arg mem_temp_block2,rega
+	arg mem_temp_block0,regb
+	arg mem_temp_block3,contw
+	call xor16	
+	arg 16,loopcnt
+	arg mem_temp_block3,contr
+	call load_ucode_only_loop
+	fetcht 8,mem_temp
+	fetch 8,mem_pdatatemp
+	increase -16,pdata
+	store 8,mem_pdatatemp
+	nbranch phci_grp_vendor_patch_sec_loop,blank
+	branch phci_grp_vendor_patch_check_sum	
+	
+load_ucode_only_loop:
+	ifetch 1,contr
+	hstore 1,core_ucode_data
+	loop load_ucode_only_loop
+	rtn
+
+load_uart_sum_loop:
+	ifetch 1,contru
+	istore 1,contw
+	iadd temp,temp
+	loop load_uart_sum_loop
+	rtn
+
+phci_grp_vendor_patch_sec_init:
+	bmark0 mark_otp_encrypt ,phci_grp_vendor_patch_bad
+	arg 0,temp
+	arg 16,loopcnt
+	arg mem_temp_block0,contw
+	call load_uart_sum_loop
+	hfetch 1,core_gpio_key2
+	and_into 0xfd,pdata   // disable aes for iv
+	hstore 1,core_gpio_key2
+	arg mem_temp_block0,contr
+	arg 16,loopcnt
+	call aes_load_data
+	call aes_init
+	call aes_clear_data
+	branch phci_grp_vendor_patch_check_sum
+
+
+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,contru
+	istore 1,contw
+	iadd temp,temp
+	loop phci_grp_vendor_done_loop
+	and temp,0xff,temp
+	ifetch 1,contru
+	isub temp,null
+	nbranch phci_grp_vendor_patch_bad,zero
+	jam 0,core_ucode_ctrl
+	call hci_normal_reply
+	call h4_rx_discard_packet
+	call clear_key_buf
+	call wait_uarttx
+	branch soft_reset
+
+phci_grp_vendor_patch_bad:
+	jam 0,core_ucode_ctrl
+	branch start
+	
+phci_grp_vendor_bdaddr:
+	ifetch 6,contru
+	store 6,mem_lap
+	branch hci_normal_reply
+
+
+phci_grp_vendor_mem:
+	ifetch 1,contru
+	store 1,mem_hci_curr_len
+	copy pdata,loopcnt
+	ifetch 2,contru
+	store 2,mem_hci_curr_target
+	copy pdata,contw
+	call uart_copy_rx_bytes
+	branch hci_normal_reply
+
+
+phci_grp_vendor_eep:
+	ifetch 1,contru
+	store 1,mem_hci_curr_len
+	copy pdata,loopcnt
+	ifetch 2,contru
+	store 2,mem_hci_curr_target
+	arg mem_l2cap_rxbuff1,contw
+	call uart_copy_rx_bytes
+	fetcht 1,mem_hci_curr_len
+	arg mem_l2cap_rxbuff1,rega
+	fetch 2,mem_hci_curr_target
+	branch iicd_write_ota_data
+	
+	
+
+	
+hci_normal_reply:
+	force 4,loopcnt
+hci_command_complete:	/* loopcnt is hci length */
+	call hci_get_payload_ptr
+	force 0x1,pdata
+	istore 1,contwu
+	deposit alarm
+	istore 3,contwu
+	force HCI_EVENT_COMMAND_COMPLETE,queue
+hci_send_event:		/* queue:event code, loopcnt: length */
+	bpatchx patch20_4,mem_patch20
+	call hci_get_packet_ptr
+	deposit queue
+	istore 1,contwu
+	deposit loopcnt
+	istore 1,contwu
+hci_send_event_raw:
+	force 5,queue
+	increase 2,loopcnt
+hci_send_packet:
+	branch h4_send_packet_event
+
+hci_send_commu_ready_event:
+	force HCI_EVENT_VENDOR_SPECIFIC,queue
+	call hci_get_payload_ptr
+	setarg HCI_VENDOR_EVENT_COMMU_READY
+	istore 1,contwu
+	force 1,loopcnt
+	branch hci_send_event
+
+hci_get_cmd_complete_ptr:
+	force 12,contwu
+	branch hci_get_tx_ptr
+
+hci_get_payload_ptr:
+	force 8,contwu
+	branch hci_get_tx_ptr
+
+hci_get_packet_ptr:
+	force 6,contwu
+hci_get_tx_ptr:
+	branch h4_get_tx_ptr
+
+	
+
+calc_tx_crc16:
+	pulse crc16
+	enable enable_crc
+crcloop:
+	ifetch 1,contwu
+	inject bucket,8
+	loop crcloop
+	enable enable_parity
+	inject bucket,16
+	disable enable_parity
+	disable enable_crc
+	disable crc16
+	byteswap pdata,pdata
+	rtn
+
+
+
+cmd_exit:
+	jam 0,mem_hci_cmd
+	rtn
+cmd_check_plap:
+	fetch 6,mem_hci_plap
+	fetcht 6,mem_plap
+	isub temp,null
+	rtn
+
+	
+	
+//enable ssp master sm
+cmd_pair:
+	fetch 1,mem_op
+	bbit1 op_inrand_req,cmd_pair_passive
+	call tid_initiate
+	jam LMP_IN_RAND,mem_lmo_opcode2
+	branch cmd_exit
+cmd_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
+	branch cmd_exit
+	rtn
+cmd_in_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 2,mem_sniff_param_interval	/* tsniff */
+	istore 2,contw
+	fetch 1,mem_sniff_param_attempt	/* attempt */
+	istore 2,contw
+	fetch 1,mem_sniff_param_timeout	/* timeout */
+	istore 2,contw
+	branch cmd_exit
+	
+cmd_exit_sniff:
+	jam LMP_UNSNIFF_REQ,mem_lmo_opcode2
+	branch cmd_exit
+
+hci_idle_dispatch:
+	call gpio_check_uart_state
+	rtn true
+	arg UART_WAKEUP_RX,temp
+	call gpio_get_bit
+	nbranch uart_wake_up,true
+	jam HCI_RX_WAKE,mem_hci_lt_rx_state
+	rtn
+uart_wake_up:
+	fetch 1,mem_hci_lt_rx_state
+	rtnne HCI_RX_WAKE
+	call hci_exit_lpm
+	branch hci_send_commu_ready_event
+	
+	
+/**
+* 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:
+	bpatchx patch20_5,mem_patch20
+	fetch 2,mem_l2cap_payload_ptr
+	copy pdata,contr
+	ifetch 1,contr
+	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
+	rtnbit0 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
+	store 1,mem_hid_control_state
+	jam BT_EVT_HID_HANDSHAKE,mem_fifo_temp
+	branch ui_ipc_send_event
+
+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
+
+
+
+
+	
+	
+
+
+
+	
+    
+	
+
+/************************************/
+/*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:	
+	bpatchx patch20_6,mem_patch20
+	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:
+	bpatchx patch20_7,mem_patch20
+	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
+	bpatchx patch21_0,mem_patch21
+	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
+	bpatchx patch21_1,mem_patch21
+	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
+
+set_pdata_0:
+	setarg 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
+	bpatchx patch21_2,mem_patch21
+	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:
+	bpatchx patch21_3,mem_patch21
+	fetch 2,mem_sdp_tx_pkt_length
+	increase 4,pdata
+	rshift4 pdata,pdata
+	rshift3 pdata,pdata
+	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 sdp_process
+	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 sdp_process
+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:
+	bpatchx patch21_4,mem_patch21
+	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:
+	bpatchx patch21_5,mem_patch21
+	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:
+	bpatchx patch21_6,mem_patch21
+	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
+	bpatchx patch21_7,mem_patch21
+	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:
+	bpatchx patch22_0,mem_patch22
+	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
+	bpatchx patch22_1,mem_patch22
+	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
+	bpatchx patch22_2,mem_patch22
+	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:
+	bpatchx patch22_3,mem_patch22
+	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:
+	bpatchx patch22_4,mem_patch22
+	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
+	bpatchx patch22_5,mem_patch22
+	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
+	bpatchx patch22_6,mem_patch22
+	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
+	bpatchx patch22_7,mem_patch22
+	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:
+	bpatchx patch23_0,mem_patch23
+	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:
+	bpatchx patch23_1,mem_patch23
+	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:
+	bpatchx patch23_2,mem_patch23
+	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
+	bpatchx patch23_3,mem_patch23
+	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:
+	bpatchx patch23_4,mem_patch23
+	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
+	bpatchx patch23_5,mem_patch23
+	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
+	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
+	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
+	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
+	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
+	bpatchx patch23_6,mem_patch23
+	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
+	store 1,mem_sdp_state
+	rtn
+ml2cap_proc_signal_config_rsp_rfcomm:
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES
+	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
+	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
+	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 patch23_7,mem_patch23
+	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 patch24_0,mem_patch24
+	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 patch24_1,mem_patch24
+	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:
+	bpatchx patch24_2,mem_patch24
+	arg 0,regb
+	call l2cap_malloc_is_fifo_full
+	nbranch assert,blank//assert when fifo full
+	call l2cap_malloc_get_full_map
+	arg mem_tx_buff0,regB//pbuff = buff0;
+	arg 0,queue // i = 0;
+l2cap_malloc_loop:
+	fetcht 1,mem_used_map
+	qisolate1 temp
+	branch l2cap_malloc_next,true//if(1 == (used_map & (1 << i)))goto next;
+	call l2cap_malloc_enough
+	sub timeup,0,null// (0 - timeup)
+	branch l2cap_malloc_next,positive//if(buff_cnt <= 0)goto next;
+	call l2cap_malloc_into_fifo
+	branch l2cap_malloc_rtn//return (pbuff);
+l2cap_malloc_next:
+	increase 128,regB//pbuff += BUFF_SIZE;//point to next buff
+	increase 1,queue
+	setarg 8//BUFF_MAX_COUNT
+	isub queue,null //BUFF_MAX_COUNT - i
+	branch l2cap_malloc_loop,positive//while(i < buff_max_count)
+	arg 0,regB//return NULL
+l2cap_malloc_rtn:
+	copy regB,pdata
+	branch assert,blank
+	rtn//return pointer via pdata
+	
+/*********************************************************/
+//void* l2cap_malloc_fifo_out(void)
+//output:len -> temp
+//output:ptr ->pdata
+//only get ptr,not free
+/*********************************************************/
+l2cap_malloc_fifo_out:
+	bpatchx patch24_3,mem_patch24
+	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 patch24_4,mem_patch24
+	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 patch24_5,mem_patch24
+	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 patch24_6,mem_patch24
+	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 patch24_7,mem_patch24
+	fetch 3,mem_tx_fifo1
+	rtn
+/*********************************************************/
+//bool fifo_is_empty(void)
+//blank == 1: empty
+//blank == 0: not empty
+/*********************************************************/
+l2cap_malloc_is_fifo_empty:
+	bpatchx patch25_0,mem_patch25
+	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 assert,blank // fifo is empty
+	arg mem_tx_fifo0,contr
+l2cap_malloc_free_loop:
+	ifetch 3,contr
+	branch l2cap_malloc_free_loop,blank
+	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 patch25_1,mem_patch25
+	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
+/*********************************************************/
+//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)
+/*********************************************************/
+l2cap_malloc_into_fifo:
+	bpatchx patch25_2,mem_patch25
+	call l2cap_malloc_is_fifo_full
+	nbranch assert,blank //fifo full
+	call l2cap_malloc_is_fifo_empty
+	branch l2cap_malloc_into_fifo_no_push,blank//fifo empty, no need to push
+	fetch 3,mem_tx_fifo1
+	store 3,mem_tx_fifo0
+	ifetch 3,contr//mem_tx_fifo2
+	istore 3,contw//mem_tx_fifo1
+	ifetch 3,contr//mem_tx_fifo3
+	istore 3,contw//mem_tx_fifo2
+	setarg 0
+	istore 3,contw//mem_tx_fifo3
+l2cap_malloc_into_fifo_no_push:
+	arg 0,temp
+	copy timeup,pdata
+	iadd queue,pdata
+l2cap_malloc_into_fifo_loop:
+	qset1 temp//fifo->map |= 1 << i;
+	increase 1,queue
+	isub queue,null
+	nbranch l2cap_malloc_into_fifo_loop,zero
+	//map in temp
+	lshift8 regB,pdata
+	ior temp,pdata
+	store 3,mem_tx_fifo3
+	rtn
+
+/*********************************************************/
+//char is_size_enough(char buff_index, short len)
+//input: regA -> len
+//input: queue -> buff_index
+//rtn: timeup -> buff_cnt
+//val: max_size_fom_buff_index -> temp
+//val: i -> loopcnt
+/*********************************************************/
+l2cap_malloc_enough:
+	bpatchx patch25_3,mem_patch25
+	call l2cap_malloc_get_full_map
+	copy queue,regC//restore buff_index to regC
+	arg 0,temp
+	arg 0,timeup//default return val
+	//increase 1,queue
+l2cap_malloc_enough_loop:
+	copy queue,pdata
+	beq 8,l2cap_malloc_enough_end
+	fetch 1,mem_used_map
+	qisolate1 pdata
+	branch l2cap_malloc_enough_end,true
+	increase 128,temp
+	increase 1,queue
+	copy regA,pdata
+	isub temp,null
+	branch l2cap_malloc_enough_end,zero//(max_size_fom_buff_index ==  len)
+	branch l2cap_malloc_enough_loop,positive//(max_size_fom_buff_index <  len)
+l2cap_malloc_enough_end:
+	copy temp,pdata
+	isub regA,null
+	nbranch l2cap_malloc_enough_rtn,positive// max_size_fom_buff_index - len > 0
+	copy queue,pdata//i
+	copy regC,temp//buff_index
+	isub temp,timeup//return (i - buff_index)
+l2cap_malloc_enough_rtn:
+	copy regC,queue//restore buff_index to queue
+	rtn
+	
+
+l2cap_malloc_signal_channel:
+	bpatchx patch25_4,mem_patch25
+	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 patch25_5,mem_patch25
+	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 patch25_6,mem_patch25
+	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 patch25_7,mem_patch25
+	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 patch26_0,mem_patch26
+	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 patch26_1,mem_patch26
+	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
+	
+
+
+	
+//******************************************//
+//*************LE INIT ****************//
+//******************************************//
+
+
+le_init_conn:
+	bpatchx patch26_2,mem_patch26
+	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
+	store 5,mem_le_pcnt_tx
+	set1 39,pdata
+	store 5,mem_le_pcnt_rx
+	jam 1,mem_le_txheader
+	jam 0,mem_le_txlen
+	branch le_supervision_flush
+
+le_init_master:
+	bpatchx patch26_3,mem_patch26
+	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_le_pcnt_rx
+	set1 39,pdata
+	store 5,mem_le_pcnt_tx	
+	branch le_init_conn
+
+
+le_init_slave:
+	bpatchx patch26_4,mem_patch26
+	disable master
+ 	setarg 0x17
+ 	store 2,mem_le_remote_mtu
+	jam lemode_slave,mem_le_mode
+	jam 0,mem_le_adv_enable
+	jam 0,mem_lpm_current_mult
+	jam FLAG_LE_PAIRING_NULL,mem_le_pairing_state
+	jam FLAG_LE_ENC_NULL,mem_le_enc_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_dispatch:
+	call le_enable
+	call le_scan
+	call le_adv
+	branch le_disable
+
+le_conn_dispatch:
+	bpatchx patch26_5,mem_patch26
+	call le_enable
+	call app_process_ble
+	fetch 1,mem_le_mode
+	beq lemode_master,le_master_dispatch
+	branch le_slave_dispatch
+	
+//******************************************//
+//***********LE master process*********//
+//******************************************//
+	
+le_master_dispatch:
+	bpatchx patch26_6,mem_patch26
+	enable master
+	call le_supervision_update
+	branch le_master_disconn,positive
+	call check_ble_disabled
+	call le_setup
+	call le_prepare_tx
+	disable match
+	call le_transmit_receive_sifs
+	nrtn match
+	bpatchx patch26_7,mem_patch26
+	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 patch27_0,mem_patch27
+	jam 0,mem_le_md_count
+	call sp_calc_sequence_256
+	call le_secure_connect_sm
+	disable attempt
+	call le_supervision_update
+	branch le_slave_disconn,positive
+	call check_ble_disabled
+	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
+	branch le_slave_cont
+	
+
+le_slave_match:
+	bpatchx patch27_1,mem_patch27
+	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
+	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 patch27_2,mem_patch27
+	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 patch27_3,mem_patch27
+	call le_lpm_set_mult
+	call le_update_channel_map
+	call le_update_param
+	branch calc_clke_offset
+
+
+le_check_md:
+	disable user
+	bmark1 mark_ble_rx_md,enable_user
+	bmark1 mark_ble_tx_md,enable_user
+	rtn
+
+
+le_slave_more_data:
+	bpatchx patch27_4,mem_patch27
+	enable attempt
+	call le_transmit_receive_sifs_notx
+	branch le_slave_match,match
+	branch le_slave_cont
+
+le_slave_disconn:
+
+	//fall through
+le_disconnect:
+	bpatchx patch27_5,mem_patch27
+	call le_clear_connection_info
+	call app_disconn_reason_collect_ble
+	call sp_initialize_256
+	jam BT_EVT_LE_DISCONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event
+
+le_clear_connection_info:
+	setarg 0
+	store 9,mem_le_tx_buff_used
+	jam 0,mem_le_conn_handle
+	jam lemode_idle,mem_le_mode
+	jam 0,mem_le_state
+	jam FLAG_LE_ENC_NULL,mem_le_enc_state
+	jam FLAG_LE_PAIRING_NULL,mem_le_pairing_state
+	rtn
+	
+le_got_first_packet:
+	bpatchx patch27_6,mem_patch27
+	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
+	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
+
+
+le_enable:
+	bpatchx patch27_7,mem_patch27
+	jam 0x36,rf_adc_goff        /*For BLE, tune AGC_gain_offset, Max added*/
+	jam 0x5f,rf_agc_nsat        //for BLE
+	enable le
+	jam 7,rfen_ulp			/* enable ulp */
+	call check_ble_disabled
+	fetch 1,mem_250k_freq_enable	//default: 0
+	rtn blank
+	jam 0xb8,rf_iq_gain
+	rtn
+	
+le_disable:
+	bpatchx patch28_0,mem_patch28
+	jam 0x2e,rf_adc_goff        /*For BR/EDR, tune AGC_gain_offset, Max added*/
+	jam 0xff,rf_agc_nsat         //for EDR&BR
+	disable le
+	jam 3,rfen_ulp
+	arg 0,stop_watch
+	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
+	
+
+lerx_setfreq:
+	call le_setfreq
+	call set_freq_rx
+	setarg param_pll_setup
+	call sleep
+	branch rf_rx_enable
+
+letx_setfreq:
+	branch txon,match
+letx_setfreq0:
+	call le_setfreq
+	branch set_freq_tx
+le_setfreq:
+	bpatchx patch28_1,mem_patch28
+	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_adv_access:
+	setarg 0x8e89be
+	lshift8 pdata,pdata
+	or_into 0xd6,pdata
+	iforce access
+	setarg 0x555555
+	store 3,mem_le_crcinit
+	rtn
+
+le_setup:
+	bpatchx patch28_2,mem_patch28
+	enable swfine
+	fetch 4,mem_le_access
+	iforce access
+	call le_map_channel
+	setarg 0x200
+	branch le_setup_master,master
+	fetch 2,mem_le_receive_window
+	rshift pdata,pdata
+le_setup_master:
+	arg param_pll_setup,temp
+	iadd temp,pdata
+	call ahead_window
+	deposit clke
+	store 6,mem_le_rxon_ts
+	rtn
+
+le_next_adv_channel:
+	bpatchx patch28_3,mem_patch28
+	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_context_nexthop:
+	bpatchx patch28_4,mem_patch28
+	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
+	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
+
+
+le_calc_channel_map:
+	bpatchx patch28_5,mem_patch28
+	fetch 5,mem_le_channel_map
+	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
+	store 1,mem_le_channels
+	rtn
+
+le_map_channel:
+	bpatchx patch28_6,mem_patch28
+	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:
+	bpatchx patch28_7,mem_patch28
+	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 patch29_0,mem_patch29
+	enable swfine
+	fetch 2,mem_le_receive_window
+	fetcht 4,mem_le_transmit_window
+	iadd temp,timeup
+le_receive_packet:
+	call lerx_setfreq
+le_receive_rxon:
+	bpatchx patch29_1,mem_patch29
+	call le_prep
+	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 end_of_packet,sync
+	branch le_receive_skip,attempt
+	arg param_clke_cal_le,clke_rt
+	copy bt_clk,clke_bt
+	fetch 1,mem_le_state
+	bbit0 lestate_got_first_packet,le_receive_skip
+	call lpm_adjust_clk,wake
+le_receive_skip:
+	bpatchx patch29_2,mem_patch29
+	call save_rssi
+	enable enable_white
+	enable enable_crc
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	store 1,mem_le_rxbuf
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	and pdata,0x3f,loopcnt
+	branch lerx_nopayload,zero
+	
+lerx_loop:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	loop lerx_loop
+	
+lerx_nopayload:
+	bpatchx patch29_3,mem_patch29
+	parse demod,bucket,24	
+	enable swfine
+	arg param_sifs,stop_watch		// start SIFS timer after last bit of crc
+	rshift32 pdata,pdata
+	rshift16 pdata,pdata
+	istore 3,contw
+	branch end_of_packet,crc_failed
+	enable match
+	fetch 1,mem_last_freq
+	add pdata,0,rega				// ble 2M Medium Frequency
+	call rf_write_freq				/* set frequency to tx mode freq */
+	disable decode_fec0
+	branch set_sync_on
+
+le_transmit_receive_sifs:
+	bpatchx patch29_4,mem_patch29
+	call le_transmit
+le_transmit_receive_sifs_notx:
+	fetcht 1,mem_last_freq
+	call set_freq_rx
+	call rf_rx_enable
+	enable swfine
+	arg 5500,timeup 
+	branch le_receive_rxon
+
+le_transmit_norx:
+	call le_transmit
+	branch end_of_packet
+	
+le_transmit:
+	bpatchx patch29_5,mem_patch29
+	call le_prep
+	call letx_setfreq
+	branch le_transmit0
+	
+le_transmit0:
+	set1 TXGFSK,radio_ctrl
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+	call le_wait_tx
+	rshift16 access,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,pdata
+	inject mod,40
+	enable enable_white
+	enable enable_crc
+	bpatchx patch29_6,mem_patch29
+	fetch 1,mem_le_txheader
+	inject mod,8
+	ifetch 1,contr
+	and pdata,0x3f,loopcnt
+	inject mod,8
+	branch letr_nopayload,zero
+letr_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop letr_loop
+	
+letr_nopayload:
+	enable enable_parity
+	inject mod,24
+	disable enable_parity
+	until null,tx_clear
+	nop 100          /* flush out the last bit */
+	disable encode_fec0
+	rtn
+	
+le_send_adv_ind:
+	bpatchx patch29_7,mem_patch29
+	fetch 1,mem_le_adv_type
+	beq ADV_DIRECT_IND,le_send_adv_direct_ind
+	fetch 1,mem_le_adv_own_addr_type
+	lshift4 pdata,pdata
+	lshift2 pdata,pdata
+	store 1,mem_le_txheader
+	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:
+	fetch 1,mem_le_adv_direct_addr_type
+	lshift4 pdata,pdata
+	lshift2 pdata,pdata
+	increase 1,pdata
+	store 1,mem_le_txheader
+	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 patch2a_0,mem_patch2a
+	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
+	
+le_send_scan_request:
+	bpatchx patch2a_1,mem_patch2a
+	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
+
+
+le_send_scan_response:
+	bpatchx patch2a_2,mem_patch2a
+	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_connect_request:
+	bpatchx patch2a_3,mem_patch2a
+	force -1,pdata
+	setsect 2,1
+	store 5,mem_le_channel_map
+	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 patch2a_4,mem_patch2a
+	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 patch2a_5,mem_patch2a
+	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_init_adv:
+	bpatchx patch2a_6,mem_patch2a
+	disable master
+	branch le_adv_access
+	
+
+
+le_update_param:
+	fetch 1,mem_le_state
+	rtnbit0 lestate_update_param
+	fetch 2,mem_le_event_count
+	fetcht 2,mem_le_instant
+	isub temp,pdata
+	nrtn positive
+	store 2,mem_pdatatemp
+	bpatchx patch2a_7,mem_patch2a
+	fetch 1,mem_le_state
+	set0 lestate_update_param,pdata
+	set0 lestate_got_first_packet,pdata
+	store 1,mem_le_state
+	fetch 4,mem_le_anchor
+	fetcht 2,mem_le_tsniff
+	storet 2,mem_temp
+	isub temp,rega
+	bpatchx patch2b_0,mem_patch2b
+	fetch 1,mem_le_new_param
+	store 1,mem_le_window_size
+	ifetcht 2,contr
+	ifetch 2,contr
+	lshift2 pdata,pdata
+	store 2,mem_le_tsniff
+	lshift2 temp,temp
+	iadd temp,pdata
+	ifetcht 4,contr
+	storet 4,mem_le_slave_latency	// and superTO
+	iadd rega,pdata
+	copy pdata,regab
+	fetch 2,mem_le_tsniff
+	fetcht 2,mem_temp	//last sniff
+	isub temp,pdata		//last sniff - new sniff
+	fetcht 2,mem_pdatatemp
+	imul32 temp,pdata
+	iadd regab,pdata
+	store 4,mem_le_anchor
+	call le_receive_window_size
+	fetch 2,mem_le_superto
+	store 2,mem_le_init_superto
+	rtn
+
+
+le_update_channel_map:
+	bpatchx patch2b_1,mem_patch2b
+	fetch 1,mem_le_state
+	rtnbit0 lestate_update_map
+	fetch 2,mem_le_event_count
+	fetcht 2,mem_le_instant
+	isub temp,pdata
+	nrtn positive
+	fetch 1,mem_le_state
+	set0 lestate_update_map,pdata
+	store 1,mem_le_state
+ 	fetch 5,mem_le_new_map
+	store 5,mem_le_channel_map
+	branch le_calc_channel_map	
+	
+	
+le_acknowledge:
+	bpatchx patch2b_2,mem_patch2b
+	call le_supervision_flush
+	call le_check_wak
+	fetch 1,mem_le_rxbuf
+	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+1			
+	branch le_ack_unenc,blank		/* empty packet, no decryption */
+	fetch 1,mem_le_state
+	bbit0 lestate_encryption,le_ack_unenc
+	call load_sk
+	call le_decrypt
+	nrtn blank
+le_ack_unenc:
+	fetcht 1,mem_le_arq
+	setflip nesn,temp
+	storet 1,mem_le_arq
+	rtn
+
+	
+le_check_wak:
+	bpatchx patch2b_3,mem_patch2b
+	fetcht 1,mem_le_arq
+	isolate0 wak,temp
+	rtn true
+	fetch 1,mem_le_rxbuf
+	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
+	fetch 1,mem_le_txpayload
+	beq LL_START_ENC_REQ,le_set_enc
+	fetch 1,mem_le_enc_state
+	beq FLAG_LE_ENC_PAUSE,le_clear_enc
+	rtn
+	
+
+le_set_enc:
+	fetch 1,mem_le_state
+	set1 lestate_encryption,pdata
+	store 1,mem_le_state
+	rtn	
+	
+le_clear_enc:
+	bpatchx patch2b_4,mem_patch2b
+	jam FLAG_LE_ENC_NULL,mem_le_enc_state
+	arg 0,pdata
+	store 4,mem_le_last_mic
+	store 5,mem_le_pcnt_tx
+	set1 39,pdata
+	store 5,mem_le_pcnt_rx
+	fetch 1,mem_le_state
+	set0 lestate_encryption,pdata
+	store 1,mem_le_state
+	rtn
+
+
+le_wait_adv:
+	bpatchx patch2b_5,mem_patch2b
+	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_scan:
+	bpatchx patch2b_6,mem_patch2b
+	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 patch2b_7,mem_patch2b
+	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
+	bpatchx patch2c_0,mem_patch2c
+	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_create_conn:
+	bpatchx patch2c_1,mem_patch2c
+	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
+	bpatchx patch2c_2,mem_patch2c
+	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_scan_check_sender_addr_type:
+	arg 1,rega// sender_addr_type
+	fetch 1,mem_le_rxbuf
+	rtnbit1 LE_SENDER_ADDR_BIT
+	arg 0,rega
+	rtn
+
+
+
+le_prepare_tx:
+	bpatchx patch2c_3,mem_patch2c
+	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 1,contr
+	ifetcht 1,contr
+	copy temp,rega
+	isub rega,pdata
+	arg LE_MAX_PAKET_LEN,temp
+	call not_greater_than
+	copy pdata,temp
+	ifetch 1,contr
+	copy pdata,type
+	copy rega,pdata
+	iadd contr,contr
+	arg mem_le_txpayload,contw
+	copy temp,loopcnt
+	call memcpy
+	call le_update_tx_type
+	call le_send_packet
+	
+	call le_fifo_get_first_tx_ptr
+	ifetch 1,contr
+	copy pdata,rega
+	copy contr,regc
+	ifetcht 1,contr
+	copy temp,regb
+	isub regb,pdata
+	arg LE_MAX_PAKET_LEN,temp
+	call not_greater_than
+	iadd regb,pdata
+	istore 1,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 1,contr				//pdata:length
+	ifetcht 1,contr				//temp:offest
+	isub temp,pdata			//pdata:length - offset
+	sub pdata,LE_MAX_PAKET_LEN,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 patch2c_4,mem_patch2c
+	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 patch2c_5,mem_patch2c
+	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:	
+	fetch 1,mem_le_state
+	rtnbit0 lestate_encryption
+	call load_sk
+	branch le_encrypt
+
+
+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 patch2c_6,mem_patch2c
+	rtnmark1 mark_old_packet
+	call le_fifo_check_full
+	nrtn blank
+	fetch 1,mem_le_rxbuf
+	and pdata,0x3,pdata
+	store 1,mem_le_packet_llid
+	ifetch 1,contr
+	and pdata,0x1f,pdata
+	store 1,mem_le_packet_size
+	rtn blank							//empty rtn
+	copy contr,pdata
+	store 2,mem_le_payload_ptr
+	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
+	fetch 2,mem_le_payload_ptr
+	copy pdata,contr
+	ifetch 2,contr	//l2cap len
+	store 2,mem_le_l2cap_size
+	bpatchx patch2c_7,mem_patch2c
+	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
+	fetcht 1,mem_le_packet_size
+	storet 1,mem_le_packet_len_recved
+	fetch 2,mem_le_l2cap_size
+	increase 4,pdata
+	isub temp,null
+	branch enable_user,zero
+	fetch 1,mem_le_packet_size
+	copy pdata,loopcnt
+	arg mem_le_l2capbuf,contw
+	fetch 2,mem_le_payload_ptr
+	copy pdata,contr
+	call memcpy
+	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 1,mem_le_packet_len_recved
+	nrtn blank
+	branch disable_user
+
+le_check_l2cap_llid_continue:
+	call le_check_l2cap_continue_legal
+	nrtn user
+	fetch 1,mem_le_packet_len_recved
+	arg mem_le_l2capbuf,contw
+	iadd contw,rega
+	fetcht 1,mem_le_packet_size
+	iadd temp,pdata
+	store 1,mem_le_packet_len_recved
+	fetch 1,mem_le_packet_size
+	copy pdata,loopcnt
+	copy rega,contw
+	fetch 2,mem_le_payload_ptr
+	copy pdata,contr
+	call memcpy_fast
+	setarg mem_le_l2capbuf
+	store 2,mem_le_payload_ptr		//update ptr->mem_le_l2capbuff
+	fetch 2,mem_le_l2cap_size
+	increase 4,pdata
+	fetcht 1,mem_le_packet_len_recved
+	isub temp,null
+	branch enable_user,zero
+	branch disable_user
+
+
+
+
+	
+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_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
+
+
+le_adv:
+	jam 36,mem_le_ch_mapped
+	jam 0,mem_le_adv_channel_map_temp
+le_adv_loop:
+	bpatchx patch2d_0,mem_patch2d
+	fetch 1,mem_le_adv_enable
+	rtn blank
+	arg le_adv_interval_timer,queue
+	call timer_check
+	nrtn blank
+	bpatchx patch2d_1,mem_patch2d
+le_adv_loop_tx:
+	disable master
+	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
+	and pdata,0x0f,pdata
+	beq SCAN_REQ,le_send_scan_response
+	beq CONNECT_REQ,le_parse_connect_req
+le_adv_not_match:
+	bpatchx patch2d_2,mem_patch2d
+	random pdata 
+	arg 0x1ff,temp
+	iand temp,pdata
+	add pdata,250,pdata
+	call delay
+	fetch 1,mem_le_adv_channel_map_temp
+	fetcht 1,mem_le_adv_channel_map
+	isub temp,null
+	nbranch le_adv_loop,zero
+	arg le_adv_interval_timer,queue
+	fetch 2,mem_le_adv_interval
+	branch timer_init
+	
+
+le_receive_window_size:
+	bpatchx patch2d_3,mem_patch2d
+	fetch 1,mem_le_peer_sca
+	call le_sca_map
+	fetch 2,mem_le_tsniff
+	imul32 temp,pdata
+	arg 375,temp
+	imul32 temp,pdata
+	arg 100000,temp
+	idiv temp
+	fetch 1,mem_le_window_size
+	arg 20000,temp
+	imul32 temp,pdata
+	iadd temp,pdata
+	store 4,mem_le_transmit_window
+	bpatchx patch2d_4,mem_patch2d
+	fetch 2,mem_rx_window_sniff
+	call wait_div_end
+	quotient temp
+	iadd temp,pdata
+	store 2,mem_le_receive_window
+	rtn
+
+le_parse_connect_req:
+	bpatchx patch2d_5,mem_patch2d
+	fetch 6,mem_le_rxbuf+8
+	fetcht 6,mem_le_lap
+	isub temp,null
+	nrtn zero
+	call le_scan_check_sender_addr_type
+	copy rega,pdata
+	store 1,mem_le_conn_peer_addr_type
+	fetch 7,mem_le_rxbuf+21
+	store 7,mem_tmp_buffer
+	ifetch 8,contr
+	istore 8,contw
+	fetch 6,mem_le_rxbuf+2
+	store 6,mem_le_plap
+	increase 6,contr
+	ifetch 8,contr
+	store 8,mem_le_access 	// and crcinit & window size
+	ifetcht 2,contr				// transmit offset
+	bpatchx patch2d_6,mem_patch2d
+	lshift2 temp,temp			
+	ifetch 2,contr				// connInterval
+	lshift2 pdata,pdata
+	store 2,mem_le_tsniff
+	store 4,mem_le_anchor
+	isub temp,pdata
+	add pdata,-2,clke_bt
+	ifetch 9,contr
+	store 9,mem_le_slave_latency// and super to & channel map
+	bpatchx patch2d_7,mem_patch2d
+	ifetch 1,contr
+	rshift4 pdata,temp
+	rshift temp,temp
+	storet 1,mem_le_peer_sca
+	and_into 0x1f,pdata
+	store 1,mem_le_hop
+	call le_receive_window_size
+	call le_calc_channel_map
+	call le_init_slave
+	call context_new
+	nrtn zero
+	bpatchx patch2e_0,mem_patch2e
+	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_init_attlist_search:
+	bpatchx patch2e_1,mem_patch2e
+	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
+	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 patch2e_2,mem_patch2e
+	fetch 2,mem_ui_le_uuid_table
+	iforce contr
+le_att_get_handle_loop1:
+	ifetch 2,contr
+	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 patch2e_3,mem_patch2e
+	fetch 2,mem_ui_le_uuid_table
+	iforce contr
+le_att_get_short_uuid_loop:
+	ifetch 2,contr
+	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	
+
+
+
+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 patch2e_4,mem_patch2e
+	fetch 2,mem_ui_le_uuid_table
+le_att_get_handle_info_fast:
+	iforce contr
+	copy temp,rega
+le_att_get_handle_loop:
+	ifetch 2,contr
+	branch le_att_unfind_handle,blank
+	isub rega,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 patch2e_5,mem_patch2e
+	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
+	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 patch2e_6,mem_patch2e
+	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 patch2e_7,mem_patch2e
+	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
+
+	nbranch lpm_mult_short,match
+	bmark1 mark_old_packet,lpm_mult_short
+
+	fetch 1,mem_le_packet_size
+	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_L2CAP_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:
+	sub rega,240,null			//check max len
+	nbranch assert,positive
+	fetch 1,mem_le_tx_buff_used
+	arg 1,temp
+	arg LE_TX_BUFF_COUNT,loopcnt
+le_fifo_malloc_tx_loop:
+	iand temp,null
+	branch le_fifo_malloc_tx_got_empty,zero
+	lshift temp,temp
+	loop le_fifo_malloc_tx_loop
+	branch assert				//no empty buff
+le_fifo_malloc_tx_got_empty:
+	ixor temp,pdata
+	store 1,mem_le_tx_buff_used
+	sub loopcnt,LE_TX_BUFF_COUNT,pdata
+	lshift4 pdata,pdata
+	lshift4 pdata,pdata
+	arg mem_le_tx_buffer0,temp
+	iadd temp,temp
+le_fifo_tx_find_empty_ptr:
+	arg 0,loopcnt
+	arg mem_le_tx_ptr0,contr
+le_fifo_tx_find_empty_ptr_loop:
+	ifetch 2,contr
+	branch le_fifo_tx_found_empty_ptr,blank
+	copy loopcnt,pdata
+	increase 1,loopcnt
+	bne LE_TX_BUFF_COUNT,le_fifo_tx_find_empty_ptr_loop
+	branch assert
+
+	
+le_fifo_tx_found_empty_ptr:
+	increase -2,contr
+	istoret 2,contr
+	copy temp,contw
+	copy rega,pdata
+	istore 1,contw				//lengh
+	setarg 0
+	istore 1,contw				//offset
+	copy type,pdata
+	istore 1,contw				//LLID
+	rtn
+
+
+
+le_fifo_get_first_tx_ptr:
+	fetch 2,mem_le_tx_ptr0
+	copy pdata,contr
+	rtn
+
+le_fifo_get_second_tx_ptr:
+	fetch 2,mem_le_tx_ptr1
+	copy pdata,contr
+	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_le_tx_ptr3
+	nrtn blank
+	fetch 2,mem_le_tx_ptr2
+	nrtn blank
+	fetch 2,mem_le_tx_ptr1
+	nrtn blank
+	fetch 2,mem_le_tx_ptr0
+	rtn
+
+le_fifo_get_first_l2cap_ptr:
+	call le_fifo_get_first_tx_ptr
+	increase 3,contr
+	rtn
+
+le_fifo_get_first_att_ptr:
+	call le_fifo_get_first_tx_ptr
+	increase 7,contr
+	rtn
+
+le_fifo_get_last_att_ptr:
+	call le_fifo_get_last_tx_ptr
+	increase 7,contr
+	rtn
+
+le_fifo_get_last_l2cap_ptr:
+	call le_fifo_get_last_tx_ptr
+	increase 3,contr
+	rtn
+
+	
+
+le_fifo_check_full:
+	fetch 2,mem_le_tx_ptr3
+	rtn
+
+
+le_fifo_check_nearly_full:
+	fetch 2,mem_le_tx_ptr2
+	rtn
+
+	
+le_fifo_check_empty:
+	fetch 2,mem_le_tx_ptr0
+	rtn
+
+
+le_fifo_release_first_node:
+	fetch 2,mem_le_tx_ptr0
+	arg mem_le_tx_buffer0,temp
+	isub temp,pdata
+	rshift4 pdata,pdata
+	rshift4 pdata,queue
+	fetch 1,mem_le_tx_buff_used
+	qset0 pdata
+	store 1,mem_le_tx_buff_used
+	arg 0,loopcnt
+le_fifo_release_first_node_loop:
+	lshift loopcnt,pdata
+	arg mem_le_tx_ptr1,temp
+	iadd temp,temp
+	ifetch 2,temp
+	increase -2,temp
+	istore 2,temp
+	copy loopcnt,pdata
+	increase 1,loopcnt
+	bne LE_TX_BUFF_UPDATE_LOOPCNT,le_fifo_release_first_node_loop
+	setarg 0
+	istore 2,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_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
+	force 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	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
+	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_uuid
+	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_uuid
+	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
+	beq 1,le_send_att_read_by_type_response_end
+	call le_att_same_uuid
+	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
+	increase 5,pdata
+	istore 1,alarm
+	fetch 1,mem_le_cur_uuid_length
+	beq 16,le_send_att_read_by_type_response_end
+	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
+	fetch 1,mem_le_cur_uuid_length
+	beq 16,le_send_att_read_by_type_response_end
+	
+	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:
+	fetcht 2,mem_le_search_handle_start
+	storet 2,mem_temp
+le_send_att_read_by_type_res_not_char_loop:
+	call le_att_check_handle_end
+	nbranch le_send_att_error_response_notfound,positive
+	call le_att_get_handle_info_from_ptr
+	beq 1,le_send_att_error_response_notfound
+	call le_att_same_uuid
+	nbranch le_send_att_read_by_type_res_not_char_next,zero
+
+le_send_att_read_by_type_res_not_char_common:
+	arg 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_BY_TYPE_RESPONSE
+	istore 1,contw
+	fetch 1,mem_le_curr_att_len
+	copy pdata,loopcnt
+	increase 2,pdata
+	istore 1,contw
+	fetch 2,mem_temp
+	istore 2,contw
+	call get_contr
+	call memcpy_fast
+	call store_contw
+	branch le_send_auto_len_by_mem
+	
+le_send_att_read_by_type_res_not_char_next:
+ 	call le_att_next_handle
+	branch le_send_att_read_by_type_res_not_char_loop
+
+
+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:
+	fetcht 2,mem_le_att_handle
+	fetch 1,mem_le_configuration
+	bbit1 BIT_BLE_READ_AUTH,le_send_att_read_response_check_auth
+
+le_send_att_read_response:
+	call le_att_get_handle_ptr
+	branch le_send_att_error_response_notfound,blank
+	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
+//le_send_att_read_response_error_insufficient_auth:
+	call le_check_encrypt_state
+	nbranch le_send_att_read_response,user
+	jam ATT_ERR_INSUFFICIENT_AUTHENTICATION,mem_le_err_code
+	branch le_send_att_error_response
+
+
+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
+
+
+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
+//	arg 23,pdata
+//	isub temp,null
+//	call ice_break,zero
+	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
+le_send_att_read_by_group_type_response_loop:
+	call le_att_check_handle_end
+	nbranch le_send_att_read_by_group_type_end0,positive
+	fetcht 2,mem_temp
+	call le_att_get_handle_info_from_ptr
+	beq 1,le_send_att_read_by_group_type_end1
+
+	call le_att_same_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
+	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
+	increase 4,pdata
+	istore 1,contw
+	call store_contw
+	branch le_send_att_read_by_group_type_store_record
+le_send_att_read_by_group_type_store_write_record:
+	fetch 1,mem_le_curr_att_len
+	beq 16,le_send_att_read_by_group_type_end1
+	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_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:
+	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
+	jam ATT_ERR_INSUFFICIENT_AUTHENTICATION,mem_le_err_code
+	branch le_send_att_error_response
+
+le_send_att_write_response:
+	force 1,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_WRITE_RESPONSE
+	istore 1,contw
+	rtn
+
+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_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:
+	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:
+	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_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_le_pres_auth
+	set1 LE_AUTH_SECURE_CONNECTION_PAIRING_BIT,pdata
+	store 1,mem_le_pres_auth
+	rtn
+le_secure_connection_disable:
+	fetch 1,mem_le_pres_auth
+	set0 LE_AUTH_SECURE_CONNECTION_PAIRING_BIT,pdata
+	store 1,mem_le_pres_auth
+	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
+	call le_check_master_support_secure_connect
+	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_check_master_support_secure_connect:
+	fetch 1,mem_le_preq_auth
+	rtnbit1  LE_AUTH_SECURE_CONNECTION_PAIRING_BIT
+	fetch 1,mem_le_pairing_mode
+	rtnbit0 LE_PAIRING_MODE_SECURE_CONNECT_BIT
+	branch app_ble_disconnect	
+
+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:
+	copy contr,rega
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY,le_parse_smp_pairing_confirm_secure_passkey
+	copy rega,contr
+	arg mem_le_rconfirm,contw
+	call memcpy16
+	branch le_send_smp_pairing_confirm
+le_parse_smp_pairing_confirm_secure_passkey:
+	copy rega,contr
+	arg mem_le_rconfirm,contw
+	call memcpy16
+	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_send_smp_pairing_confirm:
+	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
+	call function_g2
+//	jam LE_SC_STAT_RECEIVE_RANDOM,mem_le_secure_connect_state
+//	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	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_parse_smp_encryption_information:
+	arg mem_le_peer_ltk,contw
+	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_plap+5
+	compare 0xc0,pdata,0xc0
+	rtn true
+	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_le_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 patch2f_0,mem_patch2f
+	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_AUTH,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:
+	jam FLAG_LE_PARING_SEND_ENC_INFORMATION,mem_le_pairing_state
+	jam BT_EVT_LE_ENC_INFO,mem_fifo_temp
+	call ui_ipc_send_event
+	call le_send_smp_encryption_information
+	fetch 1,mem_device_option
+	rtnne dvc_op_module
+	call le_check_master_addr_type
+	rtn user
+	branch app_ble_store_reconn_info
+
+
+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 patch2f_1,mem_patch2f
+	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_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
+//	arg mem_le_r,contw
+//	force 2,loopcnt
+//	call memset0
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY ,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	
+	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
+	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 LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+//	jam LE_SC_STAT_PASSKEY_WAIT_CONFIRM,mem_le_secure_connect_state	
+//	branch p_ng_event_le_get_passkey
+	jam 0,mem_authentication_passkey_times
+	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_le_sc_local_key_invalid
+	beq SP_KEY_VALID_256,le_public_key_ready
+//	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	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+2
+	beq LL_CONNECTION_UPDATE_REQ,le_parse_connection_update_req
+	beq LL_CHANNEL_MAP_REQ,le_parse_channel_map_req
+	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
+	arg 2,rega
+	arg LL_UNKNOWN_RSP,regb
+	call le_fifo_malloc_tx_ll
+	fetch 1,mem_le_rxbuf+2
+	istore 1,contw
+	rtn	
+
+
+le_parse_connection_update_req:
+	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
+
+le_parse_channel_map_req:
+	ifetch 5,contr
+	store 5,mem_le_new_map
+	ifetch 2,contr
+	store 2,mem_le_instant
+	fetcht 2,mem_le_event_count
+	isub temp,null
+	nbranch le_parse_terminate_ind,positive
+	fetch 1,mem_le_state
+	set1 lestate_update_map,pdata
+	store 1,mem_le_state
+	rtn
+
+
+le_parse_terminate_ind:
+	setarg 20 // 200ms
+	store 2,mem_le_superto
+	store 2,mem_le_init_superto
+	rtn
+
+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
+
+le_parse_feature_req:
+
+le_send_feature_rsp:
+	arg 9,rega
+	arg LL_FEATURE_RSP,regb
+	call le_fifo_malloc_tx_ll
+	setarg param_le_features
+	istore 8,contw
+	rtn
+
+
+le_parse_version_ind:
+	rtn master
+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
+
+
+le_parse_ping_req:
+	arg LL_PING_RSP,regb
+	branch le_send_ll_one_lenth
+
+//regb:ll opcode
+le_send_ll_one_lenth:
+	arg 1,rega
+	branch le_fifo_malloc_tx_ll
+
+	
+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_le_ivm
+	call le_send_enc_rsp
+	bpatchx patch2f_2,mem_patch2f
+	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 patch2f_3,mem_patch2f
+	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
+
+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		
+	
+le_send_enc_rsp:
+	arg mem_le_skds,contw
+	force 8,loopcnt
+	call generate_random_loop
+	arg mem_le_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_le_ivs
+	istore 4,contw
+	rtn
+
+le_send_start_enc_req:
+	arg LL_START_ENC_REQ,regb
+	branch le_send_ll_one_lenth
+
+le_send_start_enc_rsp:
+	arg LL_START_ENC_RSP,regb
+	branch le_send_ll_one_lenth
+	
+	
+le_parse_enc_rsp:
+	ifetch 8,contr
+	store 8,mem_le_skds
+	ifetch 4,contr
+	store 4,mem_le_ivs
+	branch generate_sk
+	
+le_parse_start_enc_req:
+	fetch 1,mem_le_state
+	set1 lestate_encryption,pdata
+	store 1,mem_le_state
+	rtn
+	
+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
+	
+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	
+
+le_send_pause_enc_rsp:
+	arg LL_PAUSE_ENC_RSP,regb
+	branch le_send_ll_one_lenth	
+			
+
+le_parse_feature_rsp:
+le_parse_unknown_rsp:
+le_parse_pause_enc_rsp:
+le_parse_reject_ind:
+le_parse_ping_rsp:
+	rtn
+
+
+	
+/******************************************/
+/*************   LMP Parse   **************/
+/******************************************/
+init_lmp:
+	rtn wake
+init_lmp_work:
+	bpatchx patch2f_4,mem_patch2f
+	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_auth_enable
+	store 1,mem_connection_options
+	store 1,mem_pairing_auth
+	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 patch2f_5,mem_patch2f
+	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 patch2f_6,mem_patch2f
+  	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
+/* 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_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 patch2f_7,mem_patch2f
+	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
+	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_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
+	fetch 1,mem_auth_enable
+	nrtn blank
+	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:
+	jam LMP_EXT_FEATURES_RES,mem_lmo_opcode2
+	rtn
+
+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 patch30_0,mem_patch30
+	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 patch30_1,mem_patch30
+	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:	
+	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
+	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:
+	call prepare_disconnect
+	branch accept_lmp_msg
+	
+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:
+	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
+	//fetch 1,mem_auth_enable
+	nbranch parse_lmp_inrand_res,master // ignore this because of not ssp temporary
+	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
+	call lmp_copy_rand
+	jam LMP_SRES,mem_lmo_opcode2
+	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_sres:	
+	arg mem_plap,rega
+	call function_e1
+	fetch 4,mem_rxbuf+1
+	fetcht 4,mem_input_store
+	isub temp,null
+	branch authentication_ok,zero
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam AUTHENTICATION_FAILURE_ERROR,mem_disconn_reason_send	
+	rtn
+authentication_ok:
+	call authentication_ok_common
+	fetch 1,mem_ssp_enable
+	branch  pairing_success,blank
+	rtn
+
+	
+authentication_ok_common:
+	call copy_aco
+	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_sniff,positive
+	rtn
+	
+parse_lmp_sniff_req:
+	fetch 2,mem_rxbuf+6
+	branch lmp_reject_sniff,blank
+	call parse_lmp_sniff_req_check_sniff_para
+	branch lmp_reject_sniff,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_sniff
+	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
+
+lmp_reject_sniff:
+	jam PDU_NOT_ALLOWED,mem_lmo_reason2
+	branch reject_lmp_packet
+
+parse_lmp_start_encryption_req:
+	call accept_lmp_msg
+	call lmp_copy_rand
+	call function_e3
+	branch start_encryption
+	
+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_NOT_ACCEPTED,mem_lmo_opcode2
+	jam LMP_SWITCH_REQ,mem_lmi_opcode2
+	jam PDU_NOT_ALLOWED,mem_lmo_reason2
+	rtn
+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:
+	fetch 1,mem_rxbuf+1
+	bne ENCAPSULATED_MAJOR_TYPE_P192,parse_lmp_encapsulated_header_reject
+	fetch 1,mem_rxbuf+2
+	bne ENCAPSULATED_MINOR_TYPE_P192,parse_lmp_encapsulated_header_reject
+	fetch 1,mem_rxbuf+3
+	bne ENCAPSULATED_LEN_P192,parse_lmp_encapsulated_header_reject
+	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_encapsulated_header_reject:
+	jam      PDU_NOT_ALLOWED,mem_lmo_reason2
+	branch   reject_lmp_packet
+	
+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:
+	//here must be change***  shyd
+	call check_localsm
+	ncall g_noninit,true	//when be master  call g_init
+	call g_init,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
+	
+parse_lmp_encapsulated_payload:
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_RANDOM_SEND,parse_encapsulated_payload_master
+	fetch    1,mem_sp_state
+	bne SP_STAT_KEY_RECV,parse_lmp_encapsulated_payload_reject
+parse_encapsulated_payload_master:
+	fetch    1,mem_sp_remote_key_recv_count
+	sub      pdata,0x20,contw
+	nbranch  parse_lmp_encapsulated_payload_reject,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_encapsulated_payload_reject:
+	jam      PDU_NOT_ALLOWED,mem_lmo_reason2
+	branch   reject_lmp_packet	
+parse_lmp_accepted_encapsulated_payload: 
+	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
+	branch   parse_rx_done 
+	
+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,parse_lmp_simple_pairing_number_reject
+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
+	//jam LMP_SIMPLE_PAIRING_NUMBER,mem_lmi_opcode2
+	//branch accept_lmp_msg  
+parse_lmp_simple_pairing_number_reject:
+	jam      PDU_NOT_ALLOWED,mem_lmo_reason2
+	branch reject_lmp_packet
+	
+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,parse_lmp_dhkey_check_reject
+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
+parse_lmp_dhkey_check_reject:
+	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 parse_lmp_dhkey_check_reject
+
+	
+parse_lmp_clkoffset_res:
+	branch parse_rx_done
+		
+parse_lmp_encryption_mode_req:
+	fetch 1,mem_connection_options
+	set0 CONNECTION_ENCRYPT
+	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 patch30_2,mem_patch30
+	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_RES,send_lmpext_features_res
+	beq LMP_NOT_ACCEPTED_EXT,send_lmpext_not_accepted
+	beq LMP_EXT_FEATURES_REQ,send_lmpext_features_req
+	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
+	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 patch30_3,mem_patch30
+	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_features_res:
+	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_reply
+send_lmpext_io_cap_res:     
+	force 5,queue
+         call send_lmpext
+       	fetch 3,mem_sp_iocap_local
+         istore 3,contw
+	call send_lmp_reply
+	jam FLAG_PAIRING_STATE_PAIRING,mem_flag_pairing_state
+	fetch 1,mem_sp_iocap_local
+	beq DISPLAY_YESNO,responder_iocap_display_yesno
+	beq KEYBOARD_ONLY,responder_iocap_keyboard_only
+	beq NO_INPUT_NO_OUTPUT,responder_iocap_no_input_no_output
+	rtn
+
+responder_iocap_keyboard_only:
+	fetch 1,mem_sp_iocap_remote
+	beq DISPLAY_ONLY,responder_iocap_keyboard_only_initiator_iocap_display_only
+	beq DISPLAY_YESNO,responder_iocap_keyboard_only_initiator_iocap_display_yesno
+	beq KEYBOARD_ONLY,responder_iocap_keyboard_only_initiator_iocap_keyboard_only
+	beq 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 DISPLAY_ONLY,responder_iocap_display_yesno_initiator_iocap_display_only
+	beq DISPLAY_YESNO,responder_iocap_display_yesno_initiator_iocap_display_yesno
+	beq KEYBOARD_ONLY,responder_iocap_display_yesno_initiator_iocap_keyboard_only
+	beq 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 DISPLAY_ONLY,responder_iocap_no_input_no_output_initiator_iocap_display_only
+	beq DISPLAY_YESNO,responder_iocap_no_input_no_output_initiator_iocap_display_yesno
+	beq KEYBOARD_ONLY,responder_iocap_no_input_no_output_initiator_iocap_keyboard_only
+	beq 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_sp_iocap_local
+	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:
+	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
+	
+//default:featrue is enable,extfeature is disable
+ssp_enable:
+	bpatchx patch30_4,mem_patch30
+	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
+
+ssp_disable:
+	bpatchx patch30_5,mem_patch30
+	fetch 1,mem_features+6
+	set0 param_featrue_ssp,pdata
+	store 1,mem_features+6
+	setarg 0
+	store 2,mem_lmpext_ssp_enable
+	rtn
+	
+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
+	call master_clear_mem_master_sp_flag
+	jam   PDU_NOT_ALLOWED,mem_lmo_reason2
+	jam 	LMP_SIMPLE_PAIRING_NUMBER,mem_lmi_opcode2 
+	branch reject_lmp_packet
+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
+	force ENCAPSULATED_MAJOR_TYPE_P192,pdata
+	istore 1,contw
+	force ENCAPSULATED_MINOR_TYPE_P192,pdata
+	istore 1,contw  
+	force ENCAPSULATED_LEN_P192,pdata
+	istore 1,contw 
+	call check_localsm
+	branch send_lmp_request,true
+	branch send_lmp_reply
+
+send_lmp_encapsulated_payload:
+	//jam      TID_PAIRING,mem_lmp_tid
+	 force 17,pdata
+	call msg_send_lmp
+	fetch 1,mem_sp_local_key_send_count
+	arg mem_sp_pubkey_local,contr
+	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
+
+/******** 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_pairing_auth
+	branch send_lmp_aurand_notpairing,blank
+	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_sres:
+	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
+	fetch 1,mem_auth_enable
+	rtn blank
+	jam LMP_ENCRYPTION_MODE_REQ, mem_lmo_opcode2
+	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_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
+	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 patch30_6,mem_patch30
+	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 patch30_7,mem_patch30
+	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 patch31_0,mem_patch31
+
+	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
+	jam 0xff,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
+	sub pdata,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 1, mem_soft_timer
+	increase -1,pdata
+	branch host_create_conn_send_detach,blank//detach
+	store 1, 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
+	
+
+
+/* ===================== two wire SPI gpio ======================= */
+
+twspi_reset:
+	bpatchx patch31_4,mem_patch31
+	hfetch 1,core_gpio_oe3
+	arg 0x06,temp
+	ior temp,pdata
+	hstore 1,core_gpio_oe3
+	hfetch 1,core_gpio_out3
+	ior temp,pdata
+	hstore 1,core_gpio_out3
+	call twspi_disable
+	hfetch 1,core_gpio_out3
+	set0 1,pdata
+	set0 2,pdata
+	hstore 1,core_gpio_out3	
+	nop 30  
+	branch twspi_enable
+
+twspi_reset2:
+	hfetch 1,core_gpio_oe3
+	arg 0xc0,temp
+	ior temp,pdata
+	hstore 1,core_gpio_oe3
+	hfetch 1,core_gpio_out3
+	ior temp,pdata
+	hstore 1,core_gpio_out3
+	call twspi_disable
+	hfetch 1,core_gpio_out3
+	set0 6,pdata
+	set0 7,pdata
+	hstore 1,core_gpio_out3	
+	nop 30  
+	branch twspi_enable2
+
+twspi_disable:
+	hfetch 1,core_gpio_sel1
+	and pdata,0xfc,pdata
+	hstore 1,core_gpio_sel1  //disable spi
+	rtn
+twspi_enable:
+	hfetch 1,core_gpio_sel1
+	or pdata,0x01,pdata
+	hstore 1,core_gpio_sel1  //enable spi
+	rtn
+twspi_enable2:
+	hfetch 1,core_gpio_sel1
+	or pdata,0x03,pdata
+	set0 4,pdata
+	hstore 1,core_gpio_sel1  //enable spi2
+	rtn
+
+// input read reg number: pdata 
+//output reg data: pdata
+sensor_read:
+	copy pdata,regb
+	call spi_ncs_enable
+	nop 100
+	copy regb,pdata
+	call twspi_read
+	copy pdata,regb
+	call spi_ncs_disable
+	nop 100
+	copy regb,pdata
+	rtn
+// input write reg number: pdata 
+sensor_write:
+	copy pdata,regb
+	call spi_ncs_enable
+	nop 100
+	copy regb,pdata
+	call twspi_write
+	call spi_ncs_disable
+	nop 100
+	rtn
+//spi gpio init .
+//0xff :disable spi ncs gpio init
+spi_ncs_gpio_init:
+	fetcht 1,mem_spi_ncs_gpio
+	branch gpio_config_output
+
+//nsc gpio ouput low
+spi_ncs_enable:
+	fetcht 1,mem_spi_ncs_gpio
+	branch gpio_out_active
+
+//ncs gpio output high
+spi_ncs_disable:
+	fetcht 1,mem_spi_ncs_gpio
+	branch gpio_out_inactive
+
+
+twspi_write:
+	branch spid_write_reg
+	
+twspi_read:
+	branch spid_read_reg
+
+
+
+/* ===================== code loading ======================= */
+
+
+read_function_aes:
+	nbranch read_function,user
+	hfetch 1,core_gpio_key2
+	or_into 0x2,pdata   	// enable aes 
+	hstore 1,core_gpio_key2
+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
+	hfetch 1,core_gpio_key2
+	and_into 0xfd,pdata   	// disable aes for header
+	hstore 1,core_gpio_key2
+	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
+	hfetch 1,core_gpio_key2
+	and_into 0xfd,pdata   // disable aes for iv
+	hstore 1,core_gpio_key2
+	call read_function
+	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:
+	disable match
+	call get_block_header
+	nrtn zero
+	enable match
+	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
+	nrtn zero
+	ifetch 2,contr
+	iforce rega
+	call read_function
+	branch load_storage_loop
+
+	
+	/* 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
+	
+loadcode:
+	call clean_mem
+	disable user
+	call otp_enable_chgpump
+	setarg otp_ucode_flag
+	arg mem_otp_ucode_flag,rega
+	arg 2,temp
+	call otpd_read_data
+	fetch 2,mem_otp_ucode_flag
+	bbit0 otp_uflag_aes, loadcode_otp
+	jam 0x25,core_clkoff			// disable debug uart
+	setarg otp_ucode_aeskey
+	arg mem_ucode_keybuf,rega
+	arg 16,temp
+	call otpd_read_data
+	jam lock_otp,core_misc_ctrl	// disable further read/write of key
+	set1 mark_otp_encrypt,mark	
+	arg mem_ucode_keybuf,contr
+	call load_key
+	enable user					// set user for aes
+loadcode_otp:
+	jam 0,mem_loadcode_times
+loadcode_otp_2:
+	call loadcode_check_times
+	fetch 2,mem_otp_ucode_flag
+	byteswap pdata,pdata
+	arg 0x7ff,temp
+	iand temp,pdata
+	branch loadcode_iic, zero
+	call otp_set_addr
+	arg otpd_read_code,regc
+	call get_iv,user
+	call load_storage
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_otp_2			// crc error, try again
+	
+loadcode_iic:
+	call otp_disable_chgpump
+	jam 0,mem_loadcode_times
+loadcode_iic_2:	
+	call loadcode_check_times
+	call clear_eeprom_size_2k
+	fetch 1,mem_otp_ucode_flag
+	bbit1 otp_uflag_skip_eep,loadcode_spi
+	call loadcode_iic_by_eeprom
+	nbranch loadcode_iic_eeprom_2k,match
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_iic_2			// crc error, try again
+	branch loadcode_hci
+loadcode_iic_eeprom_2k:
+	call set_eeprom_size_2k
+	fetch 1,mem_otp_ucode_flag
+	bbit1 otp_uflag_skip_eep,loadcode_spi
+	call loadcode_iic_by_eeprom
+	nbranch loadcode_spi,match
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_iic_2			// crc error, try again
+	branch loadcode_hci
+	
+loadcode_spi:
+	jam 0,mem_loadcode_times
+loadcode_spi_2:
+	call loadcode_check_times
+	fetch 1,mem_otp_ucode_flag
+	bbit1 otp_uflag_skip_flash, loadcode_hci
+	setarg 0x0
+	store 3,mem_addr_hi
+	call spid_init_flash
+	arg spid_load_flash,regc
+	call read_first_block
+	call load_storage
+	nbranch loadcode_hci,match
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_spi_2			// crc error, try again
+
+loadcode_hci:
+	bmark1 mark_otp_encrypt,loadcode_hci_enc
+	call clear_key_buf
+loadcode_hci_enc:
+	fetch 1,mem_otp_ucode_flag
+	bbit0 otp_uflag_hci,clear_key_buf
+	jam 0x21,core_clkoff			// enable debug uart
+	call hci_init
+loadcode_hci_loop:
+	call hci_rx_packet
+	branch loadcode_hci_loop
+
+clear_key_buf:
+	setarg 0
+	store 8,mem_ucode_keybuf
+	store 8,mem_ucode_keybuf+8
+	force regidx_key,regext_index
+	call aes_clear
+	jam 0x21,core_clkoff		// enable debug uart
+	rtn
+	
+
+loadcode_iic_by_eeprom:
+	setarg 0x0
+	store 2,mem_addr_mi
+	arg iicd_read_eep,regc
+	call iicd_init_12m
+	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
+	call ice_break
+	rtn
+
+
+/* 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:
+	hfetch 1,core_gpio_key2
+	rtnbit0 1
+	branch decrypt_code_skip	/* skip to key generation at first for speed */
+decrypt_code_loop:
+	hfetch 1,core_dma_status
+	qisolate1 pdata
+	rtn true
+decrypt_code_skip:
+	hfetch 1,core_misc_status
+	bbit0 1,decrypt_code_loop
+	call do_aes_cbc
+	branch decrypt_code_loop
+
+
+
+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
+	hstore 1,core_ucode_data
+	loop load_ucode_loop
+	jam 0x0, core_ucode_ctrl
+	rtn
+
+
+/* ===================== SPI dma ======================= */
+
+spid_init:
+	bpatchx patch31_5,mem_patch31
+	call spid_init_common
+	branch twspi_enable
+
+spid_init2:
+	call spid_init_common
+	call twspi_disable
+	branch twspi_enable2
+	
+spid_init_common:
+	fetch 1,mem_spi_init_clk
+	hstore 1,core_spid_ctrl	// A7530 should at least 34, or write fail
+	fetch 1,mem_spi_init_delay_time
+	hstore 1,core_spid_delay	// 4us delay
+	setarg mem_spid_tbuf
+	hstore 2,core_spid_txaddr
+	setarg mem_spid_rbuf
+	hstore 2,core_spid_rxaddr
+	branch twspi_disable
+	
+spid_reset:
+	hfetch 1,core_spid_ctrl
+	set1 7,pdata
+	hstore 1,core_spid_ctrl
+	set0 7,pdata
+	hstore 1,core_spid_ctrl
+	rtn
+
+
+/* pdata 6:0 is reg address, 15:8 is data to write */
+spid_write_reg:
+	set1 7,pdata
+	store 2,mem_spid_tbuf
+	bpatchx patch31_6,mem_patch31
+	jam 2,core_spid_txlen
+	jam 0,core_spid_rxlen
+	jam spid_start,core_misc_ctrl
+	branch wait_spid_done
+
+/* pdata 6:0 is reg address */
+spid_read_reg:
+	force 1,temp
+/* pdata 6:0 is burst reg address, temp is bytes to read */
+spid_read_regs:
+//	nop 100
+	store 1,mem_spid_tbuf
+	bpatchx patch31_7,mem_patch31
+	jam 1,core_spid_txlen
+	hstoret 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
+	hfetch 1,core_dma_status
+	bbit0 spid_done,wait_spid_done
+	rtn
+
+spid_init_flash:
+	jam 0x40,core_spid_ctrl
+	jam 0x0,core_spid_delay
+	hfetch 1,core_gpio_sel1
+	set0 0,pdata
+	set1 1,pdata
+	hstore 1,core_gpio_sel1
+	setarg 0
+	store 4,mem_spid_tbuf
+	rtn
+
+
+spid_unlock_flash:
+	setarg 0
+	hstore 2,core_spid_rxlen
+	setarg 1
+	hstore 2,core_spid_txlen
+	setarg mem_spid_tbuf
+	hstore 2,core_spid_txaddr
+	jam 6,mem_spid_tbuf
+	jam spid_start,core_misc_ctrl
+	branch wait_spid_done
+
+
+/**
+ ******************************************************************************
+ ** \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 flash_write_start
+
+
+flash_write_spi_sm_timer:
+	fetch 1,mem_spi_write_flash_sm 	
+	beq FLASH_SM_START,flash_write_start
+	beq FLASH_SM_ERASE_SECTOR,flash_erase_sector
+	beq FLASH_SM_WAIT_ERASE_SECTOR,flash_wait_erase_sector
+	beq FLASH_SM_WRITE_DATA,flash_write_data
+	beq FLASH_SM_WAIT_WRITE_DATA,flash_wait_write_data
+	rtn
+
+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
+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
+	fetch 3,mem_spi_write_addr
+	jam 4,core_spid_txlen
+	arg FLASH_COMMAND_SECTOR_ERASE,temp
+	branch spid_write_flash_common
+	
+flash_wait_erase_sector:
+	call spid_init_flash
+	call spid_unlock_flash
+	setarg FLASH_READ_SATUS
+	call spid_read_reg
+	rtnbit1 FLASH_STATUS_WIP
+	jam FLASH_SM_WRITE_DATA,mem_spi_write_flash_sm
+	rtn
+flash_write_data:
+	call spid_init_flash
+	jam FLASH_SM_WAIT_WRITE_DATA,mem_spi_write_flash_sm
+	call spid_unlock_flash
+	call flash_data_preserve
+	call spid_write_flash
+	branch flash_data_recover
+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
+flash_data_recover:
+	fetch 4,mem_temp
+	fetcht 2,mem_spi_write_ptr
+	increase -4,temp
+	istore 4,temp
+	rtn
+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
+
+
+/* pdata is flash address, rega pointers to txdata(4 ahead bytes should be left), temp is length */
+spid_write_flash:
+	increase 4,temp
+	hstoret 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
+	hstore 2,core_spid_txaddr
+	setarg 0
+	hstore 2,core_spid_rxlen
+	jam spid_start,core_misc_ctrl
+	branch wait_spid_done
+
+
+/* temp is length, rega pointers to buf   */
+spid_read_flash:
+	hstoret 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
+	hstore 2,core_spid_txlen
+	jam FLASH_COMMAND_READ_DATA,mem_spid_tbuf
+	setarg mem_spid_tbuf
+	hstore 2,core_spid_txaddr
+	deposit rega
+	hstore 2,core_spid_rxaddr
+	hfetch 1,core_spid_ctrl
+	isolate0 15,rega
+	setflag true,6,pdata
+	hstore 1,core_spid_ctrl
+	jam spid_start,core_misc_ctrl
+spi_read_flash_wait:
+	hfetch 1,core_dma_status
+	bbit1 7,spi_read_flash_wait			// waiting for spid write
+	arg spid_done,queue
+	branch wait_spid_done
+
+
+/* temp is length, rega pointers to buf  */
+spid_load_flash:
+	hstoret 2,core_spid_rxlen
+	setarg 4
+	hstore 2,core_spid_txlen
+	jam 3,mem_spid_tbuf
+	setarg mem_spid_tbuf
+	hstore 2,core_spid_txaddr
+	deposit rega
+	hstore 2,core_spid_rxaddr
+	hfetch 1,core_spid_ctrl
+	isolate0 15,rega
+	setflag true,6,pdata
+	hstore 1,core_spid_ctrl
+	jam spid_start,core_misc_ctrl
+spi_load_flash_wait:
+	hfetch 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
+
+/*****************************************************************************
+*soft reset chip
+*****************************************************************************/
+soft_reset_chip:
+	jam 1,core_reset
+	rtn
+
+
+
+/* ===================== I2C dma ======================= */
+
+iic_init_390k:	//390khz
+	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
+  	branch iicd_init_gpio	
+
+
+iicd_init_12m:
+	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
+iicd_init_gpio:	
+	hfetch 1,core_gpio_pu3
+	or_into 0xc0,pdata
+	hstore 1,core_gpio_pu3
+	hfetch 1,core_gpio_sel1
+	or_into 0x10,pdata
+	hstore 1,core_gpio_sel1
+	rtn
+
+
+
+wait_iicd_done:
+	hfetch 1,core_dma_status
+	bbit0 iicd_done,wait_iicd_done
+	rtn
+
+/*
+pdata is tx length
+rega is points to tx buffer
+regb is points to rx buffer
+temp is rx length
+*/
+iicd_read_data:
+	hstore 2,core_iicd_txlen
+	deposit rega
+	hstore 2,core_iicd_txaddr	
+	deposit regb
+	hstore 2,core_iicd_rxaddr
+	deposit temp	
+	hstore 2,core_iicd_rxlen
+	arg 1,temp
+	nsetflag blank,1,temp
+	hstore 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
+	hstore 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 patch32_0,mem_patch32
+	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 patch32_1,mem_patch32
+	bmark1 mark_eeprom_size,iicd_read_eep_size_2k_lcadcode
+	setarg 4
+	hstore 2,core_iicd_txlen
+	jam 0xa0,mem_iicd_tbuf
+	jam 0xa1,mem_iicd_tbuf+3
+iicd_read_eep_common:	
+	setarg mem_iicd_tbuf
+	hstore 2,core_iicd_txaddr
+	hstoret 2,core_iicd_rxlen
+	deposit rega
+	hstore 2,core_iicd_rxaddr
+	setarg 2
+	isolate0 15,rega
+	setflag true,0,pdata
+	hstore 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 patch32_2,mem_patch32
+	storet 2,mem_temp	//len
+	copy rega,pdata
+	store 2,mem_contr
+iicd_write_eep_loop:
+	call iicd_eep_transparency
+
+	fetcht 2,mem_regb
+	fetch 2,mem_contr
+	copy pdata,rega
+	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 patch32_3,mem_patch32
+	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:
+	increase 2,temp
+	hstoret 2,core_iicd_txlen
+	increase -2,rega
+	ifetcht 3,rega
+	copy temp,regb
+	arg 0xa0,temp
+	istoret 1,rega
+//	byteswap pdata,pdata
+	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 patch32_4,mem_patch32
+	bmark1 mark_eeprom_size,iicd_write_eep_size_2k
+	copy regb,pdata
+	increase 3,temp
+	hstoret 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:	
+	deposit rega
+	hstore 2,core_iicd_txaddr
+	setarg 0
+	hstore 2,core_iicd_rxlen
+	jam 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+	copy regb,pdata
+	istore 3,rega
+	
+iic_check_eeprom_standby:
+	bpatchx patch32_5,mem_patch32
+	jam 0,mem_iicd_tbuf+3
+iic_check_eeprom_standby_wait:
+	setarg 1
+	hstore 2,core_iicd_txlen
+	jam 0xa0,mem_iicd_tbuf
+	setarg mem_iicd_tbuf
+	hstore 2,core_iicd_txaddr
+	setarg 0
+	hstore 2,core_iicd_rxlen
+	hstore 2,core_iicd_rxaddr
+	setarg 3
+	hstore 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+	hfetch 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
+
+/* ===================== OTP ======================= */
+
+otp_enable_chgpump:
+	jam 0x70,rfen_chgpump
+	nop param_chgpump_delay
+	rtn
+
+otp_disable_chgpump:
+	jam 0x30,rfen_chgpump
+	rtn
+	
+otp_set_addr:
+	lshift3 pdata,pdata
+	hstore 2,core_otp_addr
+	jam 0,core_otpd_ctrl
+	rtn	
+
+/* pdata = otp address, rega pointers data, loopcnt is count */
+otp_write:
+	call otp_set_addr
+	call otp_ce
+otp_program:
+	ifetcht 1,rega
+	increase 1,rega
+	force 0,queue
+otp_program_bit:
+	qisolate0 temp
+	branch otp_skip_0,true
+	hfetch 1,core_otp_din
+	set1 6,pdata				/* din */
+	set1 7,pdata				/* dle */
+	hstore 1,core_otp_din
+	jam 0x02,core_otp_ctrl	/* web */
+	jam 0x82,core_otp_ctrl
+	set0 7,pdata				/* dle */
+	hstore 1,core_otp_din
+	jam 0x8a,core_otp_ctrl	/* pgmen */
+	nop 11
+	jam 0xca,core_otp_ctrl	/* vppen */
+	nop 33
+	jam 0x4a,core_otp_ctrl	/* web 2nd */
+	nop 44
+	jam 0xca,core_otp_ctrl	/* release web */
+	nop 22
+	jam 0x8a,core_otp_ctrl	/* release vppen */
+	nop 33
+	jam 0x82,core_otp_ctrl	/* release pgmen */
+	nop 1
+	jam 0x92,core_otp_ctrl	/* pgmvfy */
+	nop 10
+	jam 0xb2,core_otp_ctrl	/* readen */
+	hfetch 1,core_otp_rdata
+	jam 0x92,core_otp_ctrl	/* release readen */
+	nop 1
+	jam 0x82,core_otp_ctrl	/* release pgmvfy */
+	qisolate0 pdata
+	branch otp_program_bit,true	/* program error */
+otp_skip_0:
+	hfetch 2,core_otp_addr
+	increase 1,pdata
+	hstore 2,core_otp_addr
+	increase 1,queue
+	compare 8,queue,0xf
+	nbranch otp_program_bit,true
+	loop otp_program
+	jam 0x83,core_otp_ctrl
+	rtn
+
+otp_ce:
+	jam 0x82,core_otp_ctrl	/* ceb */
+	nop 12
+	jam 0x80,core_otp_ctrl	/* rstn */
+	jam 0x82,core_otp_ctrl	/* release rstn */
+	nop 150					/* waiting for vdd25 stable */
+	rtn
+
+	/* rega points to data, temp is count */
+otpd_read_init:
+	call otp_ce
+	jam 0xa2,core_otp_ctrl	/* readen */
+	deposit rega
+	hstore 2,core_otpd_addr
+	set1 11,temp
+	isolate0 15,pdata
+	setflag true,15,temp
+	hstoret 2,core_otpd_len
+	jam otpd_start,core_misc_ctrl
+	rtn
+
+otpd_wait_end:
+	hfetch 1,core_dma_status
+	bbit0 otpd_done,otpd_wait_end
+	rtn
+	
+	/* pdata=otp address, rega points to data, temp is count */
+otpd_read_data:
+	call otp_set_addr
+	call otpd_read_init
+	call otpd_wait_end
+	jam 0x83,core_otp_ctrl	/* release ceb */
+	rtn
+
+
+
+/* rega pointers to buf, temp is length */
+otpd_read_code:	
+	hfetch 2,core_current_otp_addr
+	hstore 2,core_otp_addr
+	call otpd_read_init
+	arg otpd_done,queue
+	call decrypt_code
+	call otpd_wait_end
+	isolate1 otpd_crcok,pdata	
+	call set_ucode_status
+	jam 0x83,core_otp_ctrl	/* release ceb */
+	rtn
+
+/* ===================== uart dma ======================= */
+uartd_prepare_tx:
+	hfetch 2,core_uart_twptr
+	iforce contwu
+	rtn
+
+uartd_send:
+	deposit contwu
+	hstore 2,core_uart_twptr
+	rtn
+
+uartd_rxdone:
+	deposit contru
+	hstore 2,core_uart_rrptr
+	rtn
+
+uartd_prepare_rx:
+	hfetch 2,core_uart_rrptr
+	copy pdata,contru
+	rtn
+
+uart_set_baud_by_mem:
+	fetch uart_baud_len,mem_baud
+	hstore uart_baud_len,core_uart_baud
+	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_8_bytes:
+	ifetch 8,contr
+	istore 8,contwu
+	rtn
+
+uart_tx_4_bytes:
+	ifetch 4,contr
+	istore 4,contwu
+	rtn
+
+uart_copy_tx_bytes:
+	deposit loopcnt
+	rtn blank
+uart_copy_tx_bytes_loop:
+	ifetch 1,contr
+	istore 1,contwu
+	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_8_bytes:
+	ifetch 8,contru
+	istore 8,contw
+	rtn
+
+uart_rx_4_bytes:
+	ifetch 4,contru
+	istore 4,contw
+	rtn
+
+
+uart_copy_rx_bytes:
+	deposit loopcnt
+	rtn blank
+uart_copy_rx_bytes_loop:
+	ifetch 1,contru
+	istore 1,contw
+	loop uart_copy_rx_bytes_loop
+	rtn
+
+
+uart_copy_rx2tx:
+	deposit loopcnt
+	rtn blank
+uart_copy_rx2tx_loop:
+	ifetch 1,contru
+	istore 1,contwu
+	loop uart_copy_rx2tx_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 patch32_6,mem_patch32
+	fetch 1,mem_nv_data_number
+	rtn blank		// not nv data
+	call check_nvram
+	call init_device_list,zero
+	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
+
+
+nvram_find_addr_from_bd_list:
+	call disable_user
+	fetch 1,mem_nv_data_number
+	rtn blank		// not nv data
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,find_addr_from_bd_list_SPP_mode
+find_addr_from_bd_list_ble_mode:
+	bpatchx patch32_7,mem_patch32
+	fetch 1,mem_le_conn_peer_addr_type
+	beq MASTER_PUBLIC_ADDR,find_addr_from_bd_list_static_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
+	compare 0x00,pdata,0xc0
+	branch find_addr_from_bd_list_random_non_resolvable_private_address,true
+find_addr_from_bd_list_static_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:
+	bpatchx patch33_0,mem_patch33
+	jam REC_3_MODE,mem_temp_reconn_record
+	fetch 6,mem_plap
+find_addr_from_bd_list_common:
+	store 6,mem_temp_reconn_record+1
+	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 patch33_1,mem_patch33
+	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
+//	copy rega,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 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:
+	fetch 6,mem_le_plap
+	store 6,mem_temp_lap
+	jam REC_4_MODE,mem_record_bt_mode
+	branch eeprom_store_reconn_info
+eeprom_store_bd_reconn_info:
+	fetch 6,mem_plap
+	store 6,mem_temp_lap
+	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
+	bbit1 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 patch33_2,mem_patch33
+	set1 7,temp
+	call gpio_get_bit
+	nsetflag true,7,temp
+	//branch gpio_set_wake
+	//fall through
+	
+	//temp [4:0]=GPIO number, 0-31, [7]=0, low active
+gpio_set_wake:
+	bpatchx patch33_3,mem_patch33
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate0 7,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 patch33_4,mem_patch33
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate0 7,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:
+	arg core_gpio_pd0,contw
+	call gpio_set_bit
+	setflip gpio_active_bit,temp
+	arg core_gpio_pu0,contw
+	call gpio_set_bit
+	set0 gpio_active_bit,temp
+	arg core_gpio_oe0,contw
+	branch gpio_set_bit
+
+
+gpio_set_high_impedance:
+	arg core_gpio_pd0,contw
+	call gpio_set_bit
+	set0 gpio_active_bit,temp
+	arg core_gpio_pu0,contw
+	call gpio_set_bit
+	set0 gpio_active_bit,temp
+	arg core_gpio_oe0,contw
+	branch gpio_set_bit
+
+
+	//temp [4:0]=GPIO number, 0-31, [7]=0, low active. set gpio to inactive state
+gpio_config_output:	
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	setflip gpio_active_bit,temp
+	call gpio_out
+gpio_config_output0:
+	set1 gpio_active_bit,temp
+	arg core_gpio_oe0,contw
+	branch gpio_set_bit
+	
+gpio_common:
+	and temp,0x07,queue
+	rshift3 temp,pdata
+	and_into 3,pdata
+	iadd contw,contw
+	ifetch 1,contw
+	rtn
+
+gpio_check_active:
+	arg core_gpio_out0,contw
+	branch get_bit_common
+
+	
+	/* temp is gpio number, return true if gpio active */
+gpio_get_bit:
+	arg core_gpio_in,contw
+get_bit_common:
+	call gpio_common
+	isolate1 gpio_active_bit,temp
+	branch gpio_get_bit_reverse,true
+	qisolate0 pdata
+	rtn
+gpio_get_bit_reverse:
+	qisolate1 pdata
+	rtn
+
+gpio_out_inactive:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate1 7,null
+	branch gpio_out_flag
+
+gpio_out_active:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate0 7,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:
+	arg core_gpio_out0,contw
+
+	//temp [4:0]=GPIO number, 0-31, [7]=bit value; contw is gpio reg base
+gpio_set_bit:
+	call gpio_common
+	isolate1 gpio_active_bit,temp
+	qsetflag true,pdata
+	istore 1,contw
+	rtn
+
+gpio_set_before_lpm_common:
+	arg -1,rega
+	hfetch 1,core_gpio_sel1
+	compare 0x02,pdata,0x03
+	call neglact4_from_23_pin,true	//spi
+
+	compare 0x01,pdata,0x03
+	call neglact2_form_25_pin,true	//two spi gpio25 26
+
+	compare 0x03,pdata,0x03
+	call neglact2_form_25_pin,true	//two spi gpio30 31
+	 	 
+	isolate1 2,pdata
+	call neglect2_from_6_pin,true	//uart
+	 
+	isolate1 3,pdata
+	call neglect4_from_9_pin,true	//spi
+
+	isolate1 4,pdata
+	call neglact2_form_30_pin,true	//IIC GPIO30 31
+
+	isolate1 6,pdata
+	nsetflag true,04,rega			//pwm0 gpio4
+
+	isolate1 7,pdata
+	nsetflag true,05,rega			//pwm1 gpio5
+
+	hfetch 1,core_gpio_sel2
+	isolate1 0,pdata
+	nsetflag true,27,rega			//pwm2 gpio27
+	isolate1 1,pdata
+	nsetflag true,28,rega			//pwm3 gpio28
+	isolate1 2,pdata
+	nsetflag true,03,rega			//pwm4 gpio03
+	isolate1 3,pdata
+	nsetflag true,08,rega			//pwm5 gpio08
+	isolate1 4,pdata
+	nsetflag true,20,rega			//pwm0 gpio20
+	isolate1 5,pdata
+	nsetflag true,21,rega			//pwm1 gpio21
+	isolate1 6,pdata
+	nsetflag true,22,rega			//pwm2 gpio22
+	isolate1 7,pdata
+	nsetflag true,23,rega			//pwm3 gpio23
+		
+	hfetch 1,core_gpio_sel
+	isolate1 0,pdata
+	nsetflag true,05,rega			//ADC GPIO05
+	isolate1 1,pdata
+	nsetflag true,06,rega			//ADC GPIO06
+	isolate1 2,pdata
+	nsetflag true,07,rega			//ADC GPIO07
+	isolate1 3,pdata
+	nsetflag true,18,rega			//ADC GPIO18
+	isolate1 4,pdata
+	nsetflag true,19,rega			//ADC GPIO19
+	isolate1 5,pdata
+	nsetflag true,20,rega			//ADC GPIO20
+	isolate1 6,pdata
+	nsetflag true,21,rega			//ADC GPIO21
+	isolate1 7,pdata
+	nsetflag true,22,rega			//ADC GPIO22
+	
+	hfetch 1,core_uart_ctrl
+	isolate1 4,pdata
+	call neglact2_form_2_pin,true
+	bpatchx patch33_5,mem_patch33
+
+	hfetch 4,core_gpio_pu0
+	hfetcht 4,core_gpio_pd0
+	ior temp,pdata
+	invert pdata,pdata
+	iand rega,pdata
+	//set0 4,pdata //revc
+	hstore 4,core_gpio_oe0
+	rtn
+	
+	
+neglect2_from_6_pin: //uart
+	 arg 6,queue
+	 branch neglect_2_pin
+neglect4_from_9_pin:
+	 arg 9,queue
+	 branch neglact_4_pin
+neglact4_from_23_pin:
+	 arg 23,queue
+	 branch neglact_4_pin
+neglact2_form_25_pin:
+	 arg 25,queue
+	 branch neglect_2_pin
+neglact2_form_30_pin:
+	 arg 30,queue
+	 branch neglect_2_pin
+neglact2_form_2_pin:
+	 arg 2,queue
+	 branch neglect_2_pin
+neglact_1_pin:
+	arg 1,loopcnt
+	branch neglect_pin_loop
+neglact_4_pin:
+	 arg 4,loopcnt
+	 branch neglect_pin_loop
+neglect_2_pin:
+	 arg 2,loopcnt
+neglect_pin_loop:
+	 qset0 rega
+	 increase 1,queue
+	 loop neglect_pin_loop
+	 rtn
+
+
+
+
+
+
+/* ===================== sniff GPIO CONTROL ======================= */
+gpio_cfg_uart_tx_output:
+	call gpio_uart2gpio
+	arg UART_WAKEUP_TX,temp
+	branch gpio_config_output
+
+gpio_pu_uart_tx:
+	call gpio_cfg_uart_tx_output
+	arg UART_WAKEUP_TX,temp
+	branch gpio_out_inactive
+
+
+
+gpio_rx_config_input_with_pu:
+	call gpio_uart2gpio
+	hfetch 1, core_gpio_pu0
+	set1 UART_WAKEUP_RX,pdata
+	hstore 1,core_gpio_pu0
+	arg UART_WAKEUP_RX,temp
+	branch gpio_config_input
+	
+gpio_uart2gpio:
+	hfetch 1,core_gpio_sel1
+	and_into 0xfb,pdata
+	hstore 1,core_gpio_sel1
+	rtn
+
+gpio_check_uart_state:
+	hfetch 1,core_gpio_sel1
+	isolate1 2,pdata
+	rtn
+
+load_chip_option:
+	call otp_enable_chgpump
+	setarg OTP_CHIP_FUNCTIONS
+	arg mem_chip_functions,rega
+	arg 0x02,temp
+	call otpd_read_data
+	branch otp_disable_chgpump
+
+
+load_adc_init:
+	call otp_enable_chgpump
+	setarg otp_adc_io_0_5V_addr
+	arg mem_0_5_adc_io_data,rega
+	arg 14,temp
+	call otpd_read_data
+	branch otp_disable_chgpump
+
+
+//mem_adc_config_flag 0:vinlpm 1:Hvin 2: GPIO
+adc_init_data:
+	bpatchx patch33_6,mem_patch33
+
+	call load_adc_init
+	
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_VINLPM,adc_init_data_vinlpm
+	beq ADC_CONFIG_HVIN,adc_init_data_hvin
+	beq ADC_CONFIG_GPIO,adc_init_data_io
+	rtn	
+
+adc_init_data_vinlpm:
+	fetcht 2,mem_otp_adc_flag
+	setarg OTP_ADC_FLAG
+	isub temp,null
+	branch adc_check_data_vinlpm,zero
+	setarg 0x4dfa
+	store 2,mem_3v_adc_vinlpm_data	
+	setarg 0x4894
+	store 2,mem_2v_adc_vinlpm_data
+	branch set_vdd_reference_voltage_1v
+
+adc_check_data_vinlpm:
+	fetch 2,mem_3v_adc_vinlpm_data
+	nbranch adc_check_2v_vinlpm,blank
+	setarg 0x4dfa
+	store 2,mem_3v_adc_vinlpm_data
+adc_check_2v_vinlpm:	
+	fetch 2,mem_2v_adc_vinlpm_data
+	nbranch set_vdd_reference_voltage_1v,blank
+	setarg 0x4894
+	store 2,mem_2v_adc_vinlpm_data
+set_vdd_reference_voltage_1v:
+	setarg 100
+	store 2,mem_reference_voltage //set reference voltage = 1V
+	rtn		
+
+adc_init_data_hvin:
+	fetcht 2,mem_otp_adc_flag
+	setarg OTP_ADC_FLAG
+	isub temp,null
+	branch adc_check_data_hvin,zero
+	setarg 0x5932
+	store 2,mem_5v_adc_hvin_data	
+	setarg 0x4323
+	store 2,mem_1v_adc_hvin_data
+	branch set_vdd_reference_voltage_4v
+
+adc_check_data_hvin:
+	fetch 2,mem_5v_adc_hvin_data
+	nbranch adc_check_1v_hvin,blank
+	setarg 0x5932
+	store 2,mem_5v_adc_hvin_data
+adc_check_1v_hvin:	
+	fetch 2,mem_1v_adc_hvin_data
+	nbranch set_vdd_reference_voltage_4v,blank
+	setarg 0x4323
+	store 2,mem_1v_adc_hvin_data
+set_vdd_reference_voltage_4v:
+	setarg 400
+	store 2,mem_reference_voltage //set reference voltage = 4V
+	rtn 	
+
+adc_init_data_io:
+	fetcht 2,mem_otp_adc_flag
+	setarg OTP_ADC_FLAG
+	isub temp,null
+	branch adc_check_data_io,zero
+	setarg 0x6946
+	store 2,mem_1v_adc_io_data	
+	setarg 0x5377
+	store 2,mem_0_5_adc_io_data
+	branch set_vdd_reference_voltage_0_5v
+
+adc_check_data_io:
+	fetch 2,mem_1v_adc_io_data
+	nbranch adc_check_0_5v_io,blank
+	setarg 0x6946
+	store 2,mem_1v_adc_io_data
+adc_check_0_5v_io:
+	fetch 2,mem_0_5_adc_io_data
+	nbranch set_vdd_reference_voltage_0_5v,blank
+	setarg 0x5377
+	store 2,mem_0_5_adc_io_data
+set_vdd_reference_voltage_0_5v:
+	setarg 50
+	store 2,mem_reference_voltage //set reference voltage = 0.5V
+	rtn	
+
+
+adc_set_mode:
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_VINLPM,adc_check_vinlpm
+	beq ADC_CONFIG_HVIN,adc_check_hvin
+	beq ADC_CONFIG_GPIO,adc_check_gpio
+	rtn
+adc_check_vinlpm:
+	jam 0xbf,rf_adc_mode	//read VINLPM voltage directly	
+	branch read_adc
+adc_check_hvin:
+	jam 0xaf,rf_adc_mode	//read HVIN voltage directly
+	branch read_adc
+adc_check_gpio:
+	jam 0x8f,rf_adc_mode
+	fetch 1,mem_adc_channel
+	hstore 1,rf_adc_ch
+	branch read_adc
+read_adc:
+	bpatchx patch33_7,mem_patch33
+	hfetch 1,core_uart_baud + 1
+	set1 7,pdata
+	hstore 1,core_uart_baud + 1 
+	hfetch 1,rf_adc_ch
+	or_into 0x30,pdata
+	hstore 1,rf_adc_ch
+	jam 0x7c,rfen_adc
+	jam 0xaa,rf_adc_gc
+	nop 5000
+	hfetcht 2,core_adc_sum
+	hfetch 1,core_uart_baud + 1
+	set0 7,pdata
+	hstore 1,core_uart_baud + 1
+	storet 2,mem_adc_current_value
+	rtn
+
+vdd_calculate_by_mode:
+	bpatchx patch34_0,mem_patch34
+	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:
+	fetch 2,mem_3v_adc_vinlpm_data
+	fetcht 2,mem_2v_adc_vinlpm_data
+	arg 200,regc
+	branch vdd_calculate
+
+vdd_calculate_hvin:
+	fetch 2,mem_5v_adc_hvin_data
+	fetcht 2,mem_1v_adc_hvin_data
+	arg 100,regc
+	branch vdd_calculate
+
+vdd_calculate_io:
+	fetch 2,mem_1v_adc_io_data
+	fetcht 2,mem_0_5_adc_io_data
+	arg 50,regc
+	branch vdd_calculate
+	
+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
+	iadd 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
+	isub 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_set_no_power_flag:
+	fetcht 1,mem_adc_power_flag
+	set1 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
+	jam 0,mem_key_value_temp
+keyscan_scan_key_lp1:
+	ifetcht 1, rega
+	call gpio_get_bit
+	bpatchx patch34_1,mem_patch34
+	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
+	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 patch34_2,mem_patch34
+	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
+	rshift pdata,temp
+	storet 2,mem_key_value
+	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
+	rtn
+keyscan_send_key_data:
+	bpatchx patch34_3,mem_patch34
+	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:
+	hfetch 1,core_clksel
+	ior rega,pdata
+	hstore 1,core_clksel
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_PWM,pdata
+	hstore 2,core_clkoff
+	nop 100
+	rtn
+
+/*	typedef struct
+*	{
+*		uint8 gpio_num
+*		uint8 pwm_channel
+*		uint24 frequency
+*		uint8 duty_cycle   //0-100
+*	}PWM_Style;
+	addr: mem_pdatatemp
+*/
+pwm_out_set:
+	fetcht 3,mem_pdatatemp+2
+	setarg PWM_12MHZ
+	idiv temp
+	call wait_div_end
+	quotient temp
+	fetch 1,mem_pdatatemp+5
+	imul32 temp,pdata
+	div pdata,100
+	call wait_div_end
+	quotient rega
+	copy temp,pdata
+	isub rega,regb	
+	fetch 1,mem_pdatatemp+1
+	call pwm_duty_cycle_set
+	fetch 1,mem_pdatatemp
+	branch pwm_enable
+
+//rega:pcnt ;regb:ncnt ;pdata:pwm channel select
+pwm_duty_cycle_set:
+	beq 0,pwm_pwm0_duty_set
+	beq 1,pwm_pwm1_duty_set
+	beq 2,pwm_pwm2_duty_set
+	beq 3,pwm_pwm3_duty_set
+	beq 4,pwm_pwm4_duty_set
+	beq 5,pwm_pwm5_duty_set
+pwm_pwm0_duty_set:
+	arg core_pwm_pcnt0,contw
+	branch pwm_set_pncnt
+pwm_pwm1_duty_set:
+	arg core_pwm_pcnt1,contw
+	branch pwm_set_pncnt
+pwm_pwm2_duty_set:
+	arg core_pwm_pcnt2,contw
+	branch pwm_set_pncnt
+pwm_pwm3_duty_set:
+	arg core_pwm_pcnt3,contw
+	branch pwm_set_pncnt
+pwm_pwm4_duty_set:
+	arg core_pwm_pcnt4,contw
+	branch pwm_set_pncnt
+pwm_pwm5_duty_set:
+	arg core_pwm_pcnt5,contw
+	branch pwm_set_pncnt
+pwm_set_pncnt:
+	copy rega,pdata
+	istore 2,contw
+	copy regb,pdata
+	istore 2,contw
+	rtn
+
+
+//pdata:gpio select
+pwm_enable:
+	enable user
+	branch pwm_gpio_set
+pwm_disable:
+	disable user
+pwm_gpio_set:
+	beq 4,pwm_gpio4_set
+	beq 5,pwm_gpio5_set
+	beq 27,pwm_gpio27_set
+	beq 28,pwm_gpio28_set
+	beq 3,pwm_gpio3_set
+	beq 8,pwm_gpio8_set
+	beq 20,pwm_gpio20_set
+	beq 21,pwm_gpio21_set
+	beq 22,pwm_gpio22_set
+	beq 23,pwm_gpio23_set
+	rtn
+
+
+pwm_gpio4_set:	//pwm 0
+	arg 6,queue
+	branch pwm_one_set_select
+pwm_gpio5_set:	//pwm 1
+  	arg 7,queue
+	branch pwm_one_set_select
+pwm_gpio27_set:	//pwm 2
+  	arg 8,queue
+	branch pwm_one_set_select
+pwm_gpio28_set:	//pwm 3
+	arg 9,queue
+	branch pwm_one_set_select
+pwm_gpio3_set:	//pwm 4
+ 	arg 10,queue
+	branch pwm_one_set_select
+pwm_gpio8_set:	//pwm 5
+  	arg 11,queue
+	branch pwm_one_set_select
+pwm_gpio20_set:	//pwm 0
+  	arg 12,queue
+	branch pwm_tw0_set_select
+pwm_gpio21_set:	//pwm 1
+  	arg 13,queue
+	branch pwm_tw0_set_select
+pwm_gpio22_set:	//pwm 2
+   	arg 14,queue
+	branch pwm_tw0_set_select
+pwm_gpio23_set:	//pwm 3
+    	arg 15,queue
+	branch pwm_tw0_set_select
+
+pwm_set_select:
+	hfetch 2,core_gpio_sel1
+	qsetflag user,pdata
+	hstore 2,core_gpio_sel1
+	copy rega,queue
+	hfetch 1,core_gpio_key2
+   	qsetflag user,pdata
+   	hstore 1,core_gpio_key2
+	rtn
+
+pwm_one_set_select:
+	add queue,-4,rega
+	branch pwm_set_select
+
+pwm_tw0_set_select:
+	add queue,-10,rega
+	branch pwm_set_select
+
+
+	
+
+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:
+	bpatchx patch34_4,mem_patch34
+	setarg 0
+	store 1,mem_spp_state
+	store 1,mem_remote_spp_channel
+	store 1,mem_pn_dlci
+	fetch 1,mem_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 patch34_5,mem_patch34
+	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 patch34_6,mem_patch34
+	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 patch34_7,mem_patch34
+	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 patch35_0,mem_patch35
+	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 patch35_1,mem_patch35
+	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 patch35_2,mem_patch35
+	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 patch35_3,mem_patch35
+	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 patch35_4,mem_patch35
+	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 patch35_5,mem_patch35
+	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 patch35_6,mem_patch35
+	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 patch35_7,mem_patch35
+	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 patch36_0,mem_patch36
+	fetch 1,mem_credit_given
+	rtn blank
+	hfetch 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 patch36_1,mem_patch36
+	fetch 1,mem_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 patch36_2,mem_patch36
+	//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 patch36_3,mem_patch36
+	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 patch36_4,mem_patch36
+	fetch 2,mem_nl_rx_data_src		//src
+	copy pdata,contru
+	fetch 2,mem_current_packet_length
+	copy pdata,loopcnt
+	call uart_copy_rx_bytes_fast
+	copy contw,temp
+	copy contru,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 patch36_5,mem_patch36
+	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 patch36_6,mem_patch36
+	call check_51cmd
+	call app_process_bb_event
+	call process_conn_sm
+/* check the connection state sequence byte */
+	bpatchx patch36_7,mem_patch36
+	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 patch37_0,mem_patch37
+//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 patch37_1,mem_patch37
+//	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 patch37_2,mem_patch37
+	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 patch37_3,mem_patch37
+	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:
+	bpatchx patch37_4,mem_patch37
+	fetch 2,mem_tx_len
+	branch assert,blank
+	arg l2cap_max_pkt_len,temp //max len of dh3 pkt
+	isub temp,pdata
+	nbranch scheduler_Tx_l2cap_last_pkt,positive
+	bpatchx patch37_5,mem_patch37
+	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 patch37_6,mem_patch37
+	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
+	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
+	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
+	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 patch37_7,mem_patch37
+	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 patch38_0,mem_patch38
+	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 patch38_1,mem_patch38
+	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 patch38_2,mem_patch38
+	call l2cap_malloc_sdp_channel
+	call sdp_send_spp_request
+	branch MSDP_send_req_done
+
+upper_sm_send_rfcomm_conn:
+	bpatchx patch38_3,mem_patch38
+	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 patch38_4,mem_patch38
+	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 patch38_5,mem_patch38
+	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 patch38_6,mem_patch38
+	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 patch38_7,mem_patch38
+	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 patch39_0,mem_patch39
+	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 patch39_1,mem_patch39
+	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 patch39_2,mem_patch39
+	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 patch39_3,mem_patch39
+	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 patch39_4,mem_patch39
+	call l2cap_malloc_rfcomm_channel
+	fetcht 1,mem_pn_dlci
+	call dlci_to_address_cmd //address in temp
+	branch rfcomm_send_modem_status_cmd
+
+
+
+/**********************************************************************/
+/* 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 patch39_5,mem_patch39
+	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 patch39_6,mem_patch39
+	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 patch39_7,mem_patch39
+	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 patch3a_0,mem_patch3a
+	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 patch3a_1,mem_patch3a
+	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 patch3a_2,mem_patch3a
+	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 patch3a_3,mem_patch3a
+	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 patch3a_4,mem_patch3a
+	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 patch3a_5,mem_patch3a
+	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 patch3a_6,mem_patch3a
+	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 patch3a_7,mem_patch3a
+	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 patch3b_0,mem_patch3b
+	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 patch3b_1,mem_patch3b
+	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
+
+
+	
+function_g2:
+	bpatchx patch3b_2,mem_patch3b
+	jam 80,mem_AES_CMAC_data_length
+	arg memdat,contw
+	arg mem_le_srand,contr
+	call memcpy16
+	arg mem_le_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 patch3b_3,mem_patch3b
+	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 patch3b_4,mem_patch3b
+	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_le_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_le_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 patch3b_5,mem_patch3b
+	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 patch3b_6,mem_patch3b
+	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 patch3b_7,mem_patch3b
+	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		/* 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
+
+
+
+loop1:	
+	branch loop1
+
+/* ==================== LE security ================= */
+
+generate_stk:
+	bpatchx patch3c_0,mem_patch3c
+	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
+
+	/* 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			/* B0 */
+	lshift8 temp,regext
+	ior regext,regext
+	increase 1,regext_index
+	rshift8 temp,regext
+	rshift16 regext,regext
+	fetch 2,mem_le_ivm
+	lshift16,pdata,pdata
+	ior regext,regext				/* octet3&octet4 of counter and low 16 bit of IV */
+	increase 1,regext_index
+	ifetch 4,contr					/* IV2-IV5 */
+	iforce regext
+	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
+	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
+	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
+	
+le_encrypt:
+	bpatchx patch3c_1,mem_patch3c
+	arg mem_le_txheader,regc
+	fetcht 5,mem_le_pcnt_tx
+	call generate_mic
+	force regidx_xor,regext_index
+	iforce regext
+	force 0,rega					/* rega is block counter */
+	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_le_pcnt_tx
+	increase 1,temp
+	storet 5,mem_le_pcnt_tx
+	rtn
+
+le_decrypt:
+	bpatchx patch3c_2,mem_patch3c
+	fetch 1,mem_le_rxbuf+1
+	sub pdata,20,null
+	branch le_dec_cont,positive
+le_dec_cont:
+	arg mem_le_rxbuf+2,regc
+	add pdata,-1,regb
+	increase -4,pdata				/* mic will be discarded */
+	store 1,mem_le_rxbuf+1
+	iadd regc,contr
+	ifetch 4,contr
+	force regidx_xor,regext_index
+	iforce regext
+	force 0,rega					/* rega is block counter */
+	fetcht 5,mem_le_pcnt_rx
+	call first_block_data
+	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				/* MIC ok? */
+	nrtn blank
+	fetch 4,mem_le_last_mic			/* reduntdant packet? */
+	isub temp,pdata
+	rtn blank
+	storet 4,mem_le_last_mic
+	fetch 5,mem_le_pcnt_rx
+	increase 1,pdata
+	store 5,mem_le_pcnt_rx
+	force 0,pdata
+	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 patch3c_3,mem_patch3c
+	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
+
+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:
+	hfetch 1,core_clkoff
+	set0 CLOCK_OFF_AUTH_ROM,pdata
+	hstore 1,core_clkoff
+	rtn
+
+disable_authrom:
+	hfetch 1,core_clkoff
+	set1 CLOCK_OFF_AUTH_ROM,pdata
+	hstore 1,core_clkoff
+	rtn
+
+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
+	
+
+
+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 patch3c_4,mem_patch3c
+	fetch 1,mem_ssp_enable
+	rtn blank
+	fetch 1,mem_sp_local_key_invalid
+	rtnne SP_KEY_VALID
+	fetch 1,mem_le_secure_connect_enable
+	rtn blank
+	fetch 1,mem_le_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_le_sc_calc
+	beq SP_CALC_STANDBY,sp_initialize_256
+	rtn
+stop_publickey_calc_256:
+	jam SP_CALC_STANDBY,mem_le_sc_calc	
+	rtn
+	
+
+sp_initialize:
+	bpatchx patch3c_5,mem_patch3c
+	fetch 1,mem_ssp_enable 
+	branch ssp_disable, blank
+	call ssp_enable
+	call sp_clear_flags
+	branch sp_pubkey_calc 
+	
+sp_clear_flags:
+	setarg 0
+	store 8,mem_sp_state_start
+	store 4,mem_sp_flag_start
+	store 7,mem_sp_iocap_remote
+	rtn
+
+sp_generate_local_key:
+	jam SP_FLAG_COMMIT,mem_sp_flag  
+	branch sp_generate_local_key0
+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:
+	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_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
+	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:
+    /* calculate Ea here */
+	bpatchx patch3c_6,mem_patch3c
+	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_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_sp_iocap_local
+	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
+
+    
+sp_pubkey_calc:
+	bpatchx patch3c_7,mem_patch3c
+	fetch    1,mem_sp_local_key_invalid
+	rtnne SP_KEY_INVALID
+	fetch    1,mem_sp_calc
+	rtnne  SP_CALC_STANDBY
+	arg      mem_sp_private_key,contw 
+	force    11,queue
+	call     random_generator
+	random   pdata
+	rshift   pdata,pdata
+	istore   2,contw 
+/* we don't need fixed private key,generate random key instead */ 
+	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 patch3d_0,mem_patch3d
+	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 patch3d_1,mem_patch3d
+         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 patch3d_2,mem_patch3d
+	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 patch3d_3,mem_patch3d
+	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 patch3d_4,mem_patch3d
+	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:
+	call g_noninit0
+	call sha_result
+	branch g_common0
+
+g_noninit:
+	call g_noninit0
+	branch g_common0
+	
+g_noninit0:
+ 	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
+	
+g_init:
+ 	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
+	branch g_common0
+	
+g_common:	
+	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
+
+function_f1_no_key:
+	jam 0,mem_passkey_1bit
+	branch function_f1_common
+	
+function_f1:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f1_no_key
+function_f1_common:
+	bpatchx patch3d_5,mem_patch3d
+	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
+	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:
+	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:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f3a_no_pin
+function_f3a_common:
+	bpatchx patch3d_6,mem_patch3d
+	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:
+	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
+
+	
+
+
+sp_initialize_256:	
+	bpatchx patch3d_7,mem_patch3d
+	fetch 1,mem_le_secure_connect_enable
+	branch  le_secure_connection_disable,blank
+	call le_secure_connection_enable
+	call sp_clear_flags
+//	jam SP_KEY_INVALID_256,mem_le_sc_local_key_invalid
+	branch sp_pubkey_calc_256
+    	
+
+
+
+sp_pubkey_calc_256:
+	fetch    1,mem_le_sc_local_key_invalid
+	rtnne SP_KEY_INVALID
+	fetch    1,mem_le_sc_calc
+	rtnne  SP_CALC_STANDBY
+	
+	arg      mem_le_private_key_256,contw 
+	force    15,queue
+	call     random_generator
+	random   pdata
+	rshift   pdata,pdata
+	istore   2,contw 
+
+	arg      mem_k_256,contw
+	arg      mem_le_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_le_sc_calc
+	rtn    
+
+sp_pubkey_generated_256:
+	arg      mem_le_pubkey_local_x_256,contw
+	arg      mem_bx_256,contr
+	call     memcpy64   
+	jam      SP_KEY_VALID_256,mem_le_sc_local_key_invalid
+	jam      SP_CALC_STANDBY,mem_le_sc_calc
+	rtn
+	
+
+
+sp_dhkey_calc_256:
+	fetch    1,mem_sp_dhkey_invalid
+	rtnne  SP_KEY_INVALID
+	fetch    1,mem_le_sc_calc
+	rtnne  SP_CALC_STANDBY
+
+	arg      mem_k_256,contw
+	arg      mem_le_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_le_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_le_sc_calc
+	rtn
+
+
+
+sp_calc_sequence_256:
+	fetch 1,mem_le_secure_connect_enable
+	rtn blank
+	fetch 1,mem_le_sc_calc
+	rtn blank
+	increase 0x80,pdata
+	store    1,mem_le_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 patch3e_0,mem_patch3e
+	call ecunmapz_256
+	fetch 1,mem_le_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 patch3e_1,mem_patch3e
+	setarg 256,pdata
+	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 patch3e_2,mem_patch3e
+	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		
+
+
+
+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 patch3e_3,mem_patch3e
+	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
+	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
+	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
+	branch gpio_out_inactive
+
+
+ui_led_on_static:
+	add regb,LED_OFFSET_LED_GPIO,regc
+	ifetcht 1,regc
+	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 patch3e_4,mem_patch3e
+	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
+	//call ice_break
+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:
+	bpatchx patch3e_5,mem_patch3e
+	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 patch3e_6,mem_patch3e
+	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 patch3e_7,mem_patch3e
+	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 patch3f_0,mem_patch3f
+	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 patch3f_1,mem_patch3f
+	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_ENTER_SNIFF_SUBRATING,check_51cmd_enter_sniff_subrating
+  	beq BT_CMD_EXIT_SNIFF_SUBRATING,check_51cmd_exit_sniff_subrating
+  	beq BT_CMD_SNIFF_TEST,check_51cmd_sniff_test
+	beq BT_CMD_START_INQUIRY,check_51cmd_inq
+	beq BT_CMD_STOP_INQUIRY,check_51cmd_stop_inq
+	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_LE_SMP_SECURITY_REQUEST,check_51cmd_le_smp_sec_req
+	beq BT_CMD_BB_RECONN_CANCEL,check_51cmd_bb_reconn_cancel
+	//context related, process in context
+	store 1,mem_fifo_temp
+	bpatchx patch3f_2,mem_patch3f
+	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
+	beq BT_CMD_DISCONNECT,check_51cmd_disconnect
+  	beq BT_CMD_ENTER_SNIFF,cmd_in_sniff
+  	beq BT_CMD_EXIT_SNIFF,cmd_exit_sniff
+  	beq BT_CMD_SET_PIN_CODE,check_51cmd_pincode
+	beq BT_CMD_LE_DISCONNECT,check_51cmd_le_disconnect
+	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
+	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
+	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 0x07
+check_51cmd_enter_sniff_subrating:
+	rtn
+
+
+//command opcode 0x08
+check_51cmd_exit_sniff_subrating:
+	rtn	
+
+
+//command opcode 0x09
+check_51cmd_sniff_test:
+	rtn	
+
+
+//command opcode 0x10
+check_51cmd_pincode:
+	jam pincode_state_pincode_ready,mem_pincode_state
+	branch cmd_pair
+
+
+//command opcode 0x11
+check_51cmd_inq:
+	rtn
+
+
+//command opcode 0x12
+check_51cmd_stop_inq:
+	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
+	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 parse_lmp_dhkey_check_reject	
+
+
+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
+
+
+//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////////////
+
+
+
+
+
+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:
+	deposit contw
+	store 2, mem_contw
+	storet 8,mem_temp
+	deposit timeup
+	store 4,mem_timeup
+	call push_stack_rega_b_c
+	deposit contr
+	store 2, mem_contr
+	rtn
+
+push_stack_rega_b_c:
+	deposit rega
+	store 4, mem_rega
+	deposit regb
+	store 4, mem_regb
+	deposit regc
+	store 3, mem_regc
+	rtn
+
+pop_stack:
+	fetcht 8,mem_temp
+	fetch 4,mem_timeup
+	iforce timeup
+	call pop_stack_rega_b_c
+	fetch 2, mem_contw
+	iforce contw
+	fetch 2, mem_contr
+	iforce contr
+	rtn
+
+pop_stack_rega_b_c:
+	fetch 4, mem_rega
+	iforce rega
+	fetch 4, mem_regb
+	iforce regb
+	fetch 3,mem_regc
+	iforce 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
+
+memcpy96:
+	call memcpy32
+memcpy64:
+	call memcpy32
+	branch memcpy32
+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_10ms:
+	arg 10,loopcnt
+delay_ms_wait:
+	nop 12000
+	loop delay_ms_wait
+	rtn
+
+bn_zero:
+	force 3,loopcnt
+memset0:
+	force 0,pdata
+memset8:
+	istore   8,contw
+	loop   memset8
+	rtn
+
+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 patch3f_3,mem_patch3f
+	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
+
+
+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 patch3f_4,mem_patch3f
+	rtn
+
+timer_check_timeout:
+	arg 0x800,timeup
+	lshift16 timeup,timeup
+	iadd timeup,pdata
+	rtn
+
+
+timer_reinit:
+	arg 0,queue
+timer_check:
+	bpatchx patch3f_5,mem_patch3f
+	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
+	setarg 3750
+	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
+	arg -61786,temp
+	iadd temp,pdata
+	set0 64,pdata
+	rtn
+
+clk2rt:
+	iforce contr
+	rshift16 pdata,pdata
+	arg 3750,temp
+	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:
+	arg 3750,temp
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	lshift16 pdata,pdata
+	remainder temp
+	ior temp,temp
+	rtn
+
+
+
+//input:contru 
+//output:temp
+//used register: temp regc
+string2dec_from_uart:
+	arg 0,temp
+string2dec_from_uart_done:
+         copy temp,regc
+	ifetch 1,contru
+	call uchar2dialog	
+	copy regc,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
+
+
+wait_div_end:	
+	rtn modone
+	branch wait_div_end
+
+
+
+//input:
+//	count:loopcnt str1:rega str2:regb
+//output:
+//	same:set falg true ,diff set falg false
+// 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:
+	hfetch 2,core_uart_txitems
+	nbranch wait_uarttx,blank
+	rtn
+
+ice_break:
+	jam 0x1,core_ice_ctrl
+	rtn
+
+ice_setbp:
+	hstore 2,core_ice_break0
+	hfetch 1,core_ice_ctrl
+	set1 4,pdata
+	hstore 1,core_ice_ctrl
+	rtn
+ice_setbp2:
+	hstore 2,core_ice_break1
+	hfetch 1,core_ice_ctrl
+	set1 6,pdata
+	hstore 1,core_ice_ctrl
+	rtn
+	
+ice_set_write_bp:
+	hstore 2,core_ice_break0
+	jam 0x30,core_ice_ctrl
+	rtn
+	
+
+
+test_enable_white:
+	hfetch 1,core_config
+	set0 whiteoff_bit,pdata
+	hstore 1,core_config			/* whitening on */
+	rtn
+
+check_uart_tx_buff:
+	hfetch 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 patch3f_6,mem_patch3f
+	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 patch3f_7,mem_patch3f
+	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
+	
+not_greater_than:
+	isub temp,null
+	nrtn positive
+	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
+
+disable_blank:
+	setarg 1
+	rtn
+
+enable_blank:
+	setarg 0
+	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
+
+
Index: HS_24G&BLE_Motion/output/bt_program23.rom
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/bt_program23.rom	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/bt_program23.rom	(working copy)
@@ -0,0 +1,32766 @@
+11000010100001000000000000010001
+11000000010000101000010111101001
+11000000010001001000010110101110
+11000000000000001000000000100101
+11000000010100001000000000101110
+11000000010101000000000000110011
+11000000010110001000000000110110
+11000000010110010000000000111110
+11000000011000100000000010111000
+11000000011001001000000100101100
+11000000011001010000000100110000
+11000000011100011000001011101001
+11000000011100110000001010101000
+11000000011101010000001100101111
+11000000011101011000001100111101
+11000000011101100000001101101000
+00100000001000000010101010001110
+11000000000111001000001101101101
+11000000001000011000001101110101
+11000000001001010000001101111011
+11000000001010111000001101111110
+11000000001100011000001110010000
+11000000001100111000001110111010
+11000000001101010000001111100011
+11000000001110111000001111101110
+11000000010001100000001111111110
+00100000001000000010101010001110
+00011111111000100010001000000000
+01101000000010001100110001010000
+01011000000000000100110001010111
+10011000010000001000101000000000
+00011010001000100111111000000000
+11100000101000001000000000000000
+00011000010000001000010000000001
+00011000010000010000010000000111
+01100000000010001100110001010000
+00100000011000000000000000000000
+11011000101000000000100110101110
+11011111001000000000000000001100
+00100000010000000111111011010100
+00100000010000000000000010101100
+00100000010000000110101000000011
+00100000010000000101110011110110
+00100100010101011010110001100101
+00100000010000000111110011001101
+00100000001000000010000000001100
+01011000000000000000101000000110
+01100000000000011100010100010000
+01011000000000000001110110000111
+01100000000000010100010100010011
+00100000001000000010101010100010
+01101000000000001100100000000110
+00100100011110100000000000000000
+00100000001000000010101101111111
+11000110000100110000000000000000
+01101000000000001100011110011100
+11000000000000000111111111101111
+01101000000000001100011111000100
+11000000000000001111111111101111
+01101000000000010100001001001000
+00100100001110100111111111101111
+00100000001000000111111111110001
+11000110100100110000000000000000
+01101000000000001100110011010101
+11000000000000001000000001010011
+00100000010000000000010001100011
+00100100001101000000000001101110
+00100000010000000000010001001000
+00100000010000000000010010000111
+01101000000000001100101110100101
+11000001111111111000000000000000
+00100000010000000000010011100110
+01101000000000001100110011010101
+11000001000000001000000000000000
+00100000010000000010101011111010
+01101000000000011100000101101111
+00100000011110100000000000000000
+01101000000000001100000010010001
+00100000011110100000000000000000
+00100000010000000000000010010011
+00100000010000000000000010010000
+01011000000000001110110001010100
+00100000001000000010101110010011
+00100000010000000000010111101011
+00100100011101000000000000000000
+00100000010000000000000001100101
+01101000000000001100110011010110
+00011111111000001111111000000001
+01100000000000001100110011010110
+00011111111001100111110000011001
+00100000010000101000000001011100
+00100000001000000000000001000001
+01110000010011001101010100000000
+01110000010011001101011000000000
+01110000010010111101000000000000
+01101000000000001100101110111011
+01100000000000001100101110111010
+00100000011000000000000000000000
+01101000000000001100101110111100
+01100000000000001100101110111010
+00100000011000000000000000000000
+01101000000000001100101111010000
+00011111111000001111111000000001
+01100000000000001100101111010000
+11000000000000100000000001100010
+11000000000000101000000001011110
+00100000011000000000000000000000
+01110000010011001101010100000001
+01110000010011001101011000000000
+00100000011000000000000000000000
+01101000000000001100101111000001
+00100000010110100000000001111010
+00100000010000000010101011111010
+01101000000000011100000101101111
+00100000011110100000000000000000
+01101000000000001100000010010001
+00100000011110100000000000000000
+00100000010000000000000010010011
+01101000000001000100101111000100
+00100000010000000111111101001001
+01100000000010100100000101011011
+00100000001000000010101100101010
+01110000010010111100000100000001
+01110000010011001100101000000000
+00100000010000000000010000010000
+01100000000000001100101100110001
+01011000000000000000000000000000
+01100000000000111100101100110010
+01101000000000100100101111001100
+01100000000000100100101100111001
+01110000010010111001010100001100
+01101000000000001100101110010110
+01111001001000000111111000000011
+01100000000000001100101110010110
+00100000010000000000011000100111
+00100000010000000000010001100111
+00100000001000000000000001000100
+11000110000100110000000000000000
+00100000010000000000000010011111
+00100000010000000000000010010011
+01101000000000001100000001000000
+11000011000000000000000010010000
+01101000000000001000000010100000
+00100100011110100000000000000000
+01011000000000000000000000000000
+01100000000001000000000010100001
+00100000011000000000000000000000
+00100000010000000000000010011100
+00100000010000000000000010010000
+00100000010000000011111010111111
+01101000000100100000000001110000
+01101000000110100000000001111000
+10011000010000011000010000000000
+00011000010001000000010000000000
+01100000000110100000000001111100
+00100000011000000000000000000000
+01101000000000001100101100000011
+00100000011110100000000000000000
+00100000001000000000001011101010
+11011000110000000001100000000000
+11011000101000000100100000001010
+00100000010000000000000010101010
+11011000110000000001100100000000
+11011000101000000100100000100101
+00100000010000000000000010101010
+11011000110000000001101000000000
+11011000101000000100100001000000
+00100000010000000000000010101010
+11011000110000000001101100000000
+11011000101000000100100001011011
+11011111001000000000000000011011
+00100000001000000111111100000001
+11011000110000000100100000001010
+11011000101000000001100000000000
+00100000010000000000000010101010
+11011000110000000100100000100101
+11011000101000000001100100000000
+00100000010000000000000010101010
+11011000110000000100100001000000
+11011000101000000001101000000000
+00100000010000000000000010101010
+11011000110000000100100001011011
+11011000101000000001101100000000
+00100000001000000000000010101010
+00100000010000000011010000010110
+00100000001101011000000011000010
+01110000100000000111100000100000
+00100000010000000000011011000011
+01101000000000001100000111011110
+01100000000000001100110001001100
+00100000010000000000010011010101
+01101000000000001100011010000101
+01100000000000001100011011011010
+00100000010000000100001111001010
+00100000010000000000000011000100
+00100000001000000111010010111001
+00100100010101011000000100010010
+00100000010000000000000011110001
+00100000011101011000000000000000
+00100000010000000000000101001101
+00100000010000000000001010110010
+11000000000000101000000011011111
+00100000001000000000000100110100
+01101000000000001100110001001100
+01100000000000001100000111011110
+01101000000000001100001000010000
+11000000000110100000000011010000
+00100000011000000000000000000000
+01110000010001111001111100000001
+01101000000000010100011010101000
+01100000000000010100011010101110
+00100000010000000011010000011000
+00100000010000000000000011011000
+01011000000000000000000000000100
+11100000110000001000000000000000
+00100000001000000111110111110100
+11011010001000000100001101110000
+11101010001000001000000000000000
+00100000011110100000000000000000
+10011000110000001010001000000000
+11101000110000001000000000000000
+11000001000000001000000000000000
+00100000001000000000000011011001
+01101000000000100100011011010011
+11000100000010001000000000000000
+11000011100000011000000000000000
+11000110000100110000000000000000
+00100000010000000100010010000010
+11011000111000000000000000000011
+00100000010000000100001111001110
+01011000000000000000000000000000
+01100000000000010100011010101110
+01100000000000001100011010110100
+01100000000000010100101111000010
+00100000010000000100001011001010
+00100000001000000000010100011010
+01101000000000100100011011010011
+11000011000010100011110101100110
+01101000000000001100011101111010
+11000000011111111011110101100110
+00100000001000000011110110000000
+01110000010000100001001001110110
+00100000001000000011110100110110
+00100000010000000000000011110001
+00100000010000000100000011000000
+01101000000000001100011011100000
+11000000000000101100000011010101
+00100000010000000100000011011001
+11000000000110000000000100000001
+11000000000110001000000100000011
+00100000010000000100000011010001
+00100000000000000000001111101000
+00100000001000000000000011110111
+01110000010010110000001100000001
+00100000010000000110010000001111
+00100000010000000000000011110011
+00100000001000000110010000010001
+00100000010000000000000100001000
+00100000001000000100000011100000
+00100000010000000000000100001000
+01101000000000001100011011011110
+11000000001110000100000011101000
+01110000010001101110000000000001
+00100000011000000000000000000000
+01011000000000001000000000000110
+00100000010000000110010000010011
+00100000000000000010111011100000
+00100000001000000000000011101100
+01011000000000000000000000000110
+00100000010000000110010000010100
+00011111111000011111111000001000
+00011111111011010111111000000000
+00011111111000001111111000000110
+00100000001000000110010000010011
+00100000010000000000010000001010
+01101000000100001000101000000000
+01111001001111111111111000000100
+01100000000100001000101000000000
+00100000010000000011111001101110
+00100000010000000000001000001000
+00100000010000000011111000011110
+01011000000000000000000000000000
+01100000000000010100000101010100
+00100000010000000011111001010100
+00100000010000000101100000010000
+00100000010000000101100000111001
+00100000010000000101100000101100
+00100000010000000101100000011000
+00100000010000000110010110011100
+01101000000000100100011011010011
+00101111111011111111111000011001
+00100100010000001110010111000010
+00100000010000000100010000111111
+00100000010000000000000100101000
+00100000010000000000000111000101
+00100000001000000110010111011111
+00100000010000000011001111000100
+00100000001000101100001100010110
+00100000010000000000001100110101
+00100000001000000011110111001011
+11011000010000000000000000000010
+11011010001000000000101010101010
+11011010010000000000000001100010
+00100000001000000110010111010001
+11011000010000000000000000000010
+11011010001000000000101010011010
+11011010010000000000000001100010
+00100000001000000011001111001000
+01101000000000100100011011010011
+11000011000011110000000100111011
+01101000000000001000101010111101
+00101111111011000000000000000011
+00100100001000001000000100111011
+00100000010000000000000011110011
+00100000010000000000000100001100
+01101000000000001100011100011111
+01100000000000001100011100011110
+01101000000000001100011011110101
+11000011100000110000000000000000
+01101000000000100100011011010011
+11000100000010001000000000000000
+00100000010000000000000101000100
+00100000001101000000010101110001
+00100000001000000000010101001110
+11011111001000000000000000000010
+11011000110000000100101110111101
+00100000010000000111111111100111
+01011000000000001111111111111111
+11101000110010010000000000000000
+10011000010001100111110000000000
+00100100010000101111111111101001
+11000010000000000000000101001000
+00100000011000000000000000000000
+01011000000000000000000101100000
+01100000000000010100110011000110
+01011000000000000000000101100100
+01100000000000010100000111101111
+01011000000000000000001111111000
+01100000000000010100000111111001
+01011000000000000000000010001001
+01100000000000010100000111101101
+01011000000000000000000110001100
+01100000000000010100000111110101
+01011000000000000000000101111001
+01100000000000010100000111110011
+01011000000000000000000111011100
+01100000000000010100000111101011
+01011000000000000000000111101010
+01100000000000010100000111111101
+01011000000000000011110100110110
+01100000000000010100001000000001
+00100000011000000000000000000000
+00100000010000000100010000000001
+01101000000000010100011010011111
+00100000011110100000000000000000
+00100000001000000000000001101011
+00100000010000000101100010010010
+00100100011110100000000000000000
+01101000000000001100011011000101
+00011111111000010111111000000011
+11000001100000011000000000000000
+01101000000000001100011110011100
+00100000010110100000000101110110
+01101000000000100100011011010011
+11000010100000101100000101111001
+00100000010000000011111110010111
+00100100011101000000000000000000
+00100000010000000000000101110001
+00100000001000000000011011001000
+01101000000000010100011010011111
+00100000011110100000000000000000
+01110000010010000000011000000001
+01110000010010000000011100000010
+00100000011000000000000000000000
+00100000010000000101100000010100
+01110000010001111001110000000001
+00100000001000000000000100001000
+00100000010000000111111000110100
+00100000010000000000000101111100
+00100000001000000011111011100000
+01101000000010001100011011100111
+00100000010000000000001011011011
+01101000000010001100011011100111
+00100000010000000110100000011101
+00100000001000001000000110001010
+00100000010000000000001011100100
+01101000000000001100011010110110
+11000001000000000000000000000000
+01110000010001101011011000000000
+01101000000000001100011101111010
+00011111111000001111111000000001
+00011111111000010111111000000011
+01100000000000001100011101111010
+00100000001000000011110101110100
+00100000010000000000001011100100
+00100000001000000011110101100010
+00011010011000100111111000000000
+11000000000010100000000110010110
+11000000000010101000000110011001
+11000000000101001000000110100010
+11000000000110010000000110100100
+11000000001000000000000110101011
+11000000000111001000000110110110
+11000000000111010000000111001001
+11000000000111100000000111011010
+00100000001000000100000101111101
+00100000010000000000000011111101
+00100000010000000000011011000011
+00100000001000000100000111000011
+00100000010000000000000111100110
+01011000000000000000000000000111
+01100000000000010100010010010110
+01100000000000010100010010011000
+01110000010001111100010000000000
+01110000010001111001110000000000
+00100000010000000000011011000011
+00100000010000000101100000010110
+00100000001000000100000111011001
+01110000000010101001100100010010
+00100000001000000111110110001111
+01101000000000001100011110011111
+11000000000000001000000110100111
+00100000001000000000000110101001
+00100000010000000000000110100010
+01110000010001101100011000010100
+11011000111000000000000000000001
+00100000001000000100000110111001
+01101000000000010100010100001001
+11000001000000000000000000000000
+01101000000000001000010001000001
+00011111111010110111111000000000
+00011111111001100111110000001100
+00100000011000010000000000000000
+01011000000000000000000000001001
+01100000000000010100010010010110
+01100000000000010100010010011000
+00100000010000000000000110100010
+00100000001000000000001110000100
+00100000010000000000000011111101
+01110000010001111000101100000001
+11011000111000000000000000000011
+00100000010000000100001111010010
+01011000000000000000000000000000
+01100000000000010100011100000111
+01110000010001101010011100000000
+01101000000000001100011011100000
+00011111111001100111110000000101
+00100000010000101100000000111001
+00100100010000101100000001011101
+01101000000000001100110001001100
+01100000000000001100000111011110
+00100000010000000000000111000101
+00100000001000000110010111010001
+11011010001000000100101110111101
+11011010010000000000000001011011
+11011000010000000000000000000100
+00100000011000000000000000000000
+00100000010000000000000111100110
+01110000010011001101010100000000
+01101000000000001100110001001100
+01100000000000001100000111011110
+00100000010000000000010110011000
+01101000000000001100101100000000
+11000010100000000000000111010111
+01110000010000011011110100000000
+00100000010000000100001100010110
+11011111001000000000000000000011
+11011000110000000100011100100010
+00100000010000000000000101000110
+00100000001101000000000111010111
+00100000001000000000000011001011
+01110000010001111001110100000001
+01110000010001111001111000101000
+00100000011000000000000000000000
+00100000010000000000000011111101
+00100000001000000011111110001101
+01111000001101000111110000000000
+01101000000100100000000100111000
+01111001001101000111111000011010
+01100000000100100000000001001100
+00100000010000000010110000100001
+00100000010000000000000111100110
+00100000010000000111010010111101
+00100000010000000100010010000010
+00100000010000000011111010011111
+00100000001000000011111010111111
+01101000000000001100101100000011
+00100000011110100000000000000000
+01110000010010110000001100000000
+00100000001000000000000100001100
+00100000010000000000001001011101
+00100000010000000000001010010111
+00100000010000000000001000101101
+00100000010000000000001000110000
+00100000010000000000000111110110
+00100000010000000000001001010100
+00100000010000000000001000111000
+00100000010000000100001000110001
+00100000010000000100001000110100
+00100000010000000100001000110111
+00100000010000000100001000111010
+00100000001000000000001000110101
+01101000000000001100101100000100
+00100000011110100000000000000000
+01101000000000001100101100001010
+00011111111000001111111111111111
+01100000000000001100101100001010
+00100100011110100000000000000000
+01101000000000001100101100001011
+01100000000000001100101100001010
+01101000000000001100101100001101
+00100000001110100000001000000100
+01101000000000001100101100001100
+00100000001110100000001000001110
+00011111111000001111111111111111
+01100000000000001100101100001100
+01101000000000001100101100000110
+11000000000000001000001000010001
+11000000000000000000001000001010
+00100000011000000000000000000000
+01101000000010001100101100000101
+00100000001000000110100000001110
+01110000010010110000011000000001
+00100000010000000000001000001000
+01101000000010001100101100000101
+00100000001000000110100000101001
+01110000010010110000101000000000
+01110000010010110000110000000000
+01110000010010110000110100000000
+01101000000000001100101100001100
+00100100001110100000001000010101
+01110000010010110000010000000000
+01110000010010110000011100000000
+01110000010010110000100000000000
+01110000010010110000011000000000
+01101000000010001100101100000101
+00100000010000000110100000100101
+01101000000100001000000001111100
+01111001001000000111111000000101
+01100000000100001000000001111100
+00100000011000000000000000000000
+01110000010010110000101000000001
+01110000010010110000101100000101
+01110000010010110000110100000000
+01110000010010110000110000000001
+01110000010010110000010000000001
+01110000010010110000011100000001
+00100000011000000000000000000000
+01101000000000001100101100001000
+00100100011110100000000000000000
+01101000000000001100101100001110
+00100100011110100000000000000000
+00100000001000000000001000001110
+01110000010010110000101000000001
+01110000010010110000101100000011
+01110000010010110000110100000001
+00100000001000000000001000100001
+11011010011000000100100000001001
+11011010010000000110001101111010
+00100000001000000011001101101101
+11011010011000000100100000000111
+11011010010000000000001000110011
+00100000001000000011001101101101
+01110000010010000000011000000000
+00100000011000000000000000000000
+11011010011000000100011011000110
+11011010010000000011110101100000
+00100000001000000011001101101101
+01101000000000001100011011110101
+11000010100000100100001110010100
+00100000010000000000001010110010
+11000000000000111000001001000100
+01101000000000001100011010000101
+01100000000000001100011011011010
+01101000000000001100011011011011
+11000001000000001000000000000000
+01110000010001101101101100000001
+11011000111000000000000000001001
+00100000010000000100001111010010
+00100000001000000100001111001010
+01110000010001111001111000101000
+00100000010000000000001001000111
+00100000001000000100001110110000
+11011010011000000100011011011010
+11011010010000000000001001001010
+00100000001000000011001101101101
+00100000010000000000000111100110
+01101000000000010100011010000010
+00101111111011111111111000001011
+00100000010000001100001011010100
+01101000000000010100011010000010
+00101111111011111111111000000111
+00100000010000001100001110010010
+11011000111000000000000000001001
+00100000010000000100001111001110
+00100000001000000100001110111000
+01101000000000001100011110011101
+00100000011110100000000000000000
+01101000000000001100011110011110
+00100000001110100000001001011011
+00011111111000001111111111111111
+01100000000000001100011110011110
+00100000011000000000000000000000
+01110000010001111001110100000000
+00100000001000000011010000001010
+01101000000000100100011011010011
+11000100000011010000000000000000
+01101000000000001100101100001100
+00100100011110100000000000000000
+01101000000000001100101100001000
+00100100011110100000000000000000
+01101000000000001100011011001110
+00011111111000001111111000000001
+01100000000000001100011011001110
+00011111111001100111110000001010
+00100000011000010000000000000000
+01110000010001101100111000000000
+00100000010000000000001001111000
+00100000010000000110100100001000
+01100000000000010100011100001111
+11011010001000000100011100001001
+00100000010000000000001010000101
+01101000000000001100001000110001
+11000010100000001011010000001010
+11000011000000000000001001110011
+01110000010010110000001000000001
+00100000001000000100001111100111
+00100000010000000100001111101001
+01101000000000001100101100000010
+00100000011110100000000000000000
+01110000010010110000001000000000
+00100000001000000000001000010001
+01101000000000001100001000101101
+11000000000000010000001001111011
+00100000001000000110100011101100
+01101000000010001100101100000101
+00100000010000000110011111111011
+01101000000100001000000001111100
+01111001001111111111111000000101
+01100000000100001000000001111100
+01101000000100001000000001111000
+01111001001111111111111000000101
+01100000000100001000000001111000
+00100000010000000110100011110100
+00100000011000000000000000000000
+11101010001001000000000000000000
+01100000000001000000101010011010
+01101000000010010000101010011100
+01101000000000010000101010100000
+00011111111011111111111000000111
+00011111111001101111110000000100
+00100000010000000111111110000110
+00011000000001111111111000000000
+00011111111000001111111111110110
+10011000010001100111110000000000
+00100100001000010110100101000100
+01101000000010010000101010011110
+10011000010001100111110000000000
+00100100001000010110100101000000
+01101000000000001100001000110001
+01111001001111111111111000000000
+01100000000000001100001000110001
+00100000011000000000000000000000
+01101000000000100100011011010011
+11000100000000100000000000000000
+01101000000000001100101100001100
+00100100011110100000000000000000
+01101000000000001100101100001000
+00100100011110100000000000000000
+01101000000000001100011011001111
+00011111111000001111111000000001
+01100000000000001100011011001111
+00011111111001100111110000010100
+00100100010000010000001010100110
+01101000000000001100011011001111
+00011111111001100111110000001010
+00100000001000010000001000001010
+00100000001000000000001000010001
+01110000010001101100111100000001
+00100000011000000000000000000000
+01111000010101000111110000000000
+01011000000000000000000000000000
+01100000000000110100011010011011
+00100000010000000011111110110101
+00100000010000000100000001111001
+00100000010000000100000001111110
+00100000010000000000001010110000
+00100000001000000011111110011111
+00100000010000000000001010110010
+00100000001000000100000010011010
+11011010001000000000000000000000
+00100000010000000000001010111101
+00100000010000000000001011000011
+00100000010000000000001011001001
+00100000010000000000001010111001
+00011010001000100111111000000000
+00100000011000000000000000000000
+01101000000000001100011011100101
+11000001011111111000000000000000
+00100000010000000000001011001111
+00100000001000000000001011010101
+01101000000010001100011011100010
+00100000010000000000001011100100
+01101000000010001100011011100010
+00100000010000000110100000011101
+01111001001000001010001000000000
+00100000011000000000000000000000
+01101000000010001100011011100011
+00100000010000000000001011100100
+01101000000010001100011011100011
+00100000010000000110100000011101
+01111001001000001010001000000001
+00100000011000000000000000000000
+01101000000010001100011011100100
+00100000010000000000001011100100
+01101000000010001100011011100100
+00100000010000000110100000011101
+01111001001000001010001000000010
+00100000011000000000000000000000
+01101000000010001100011011100101
+00100000010000000000001011011011
+01101000000010001100011011100101
+00100000010000000110100000011101
+01111101001000001010001000000011
+00100000001000000000001011100100
+01101000000010001100011011100110
+00100000010000000000001011011011
+01101000000010001100011011100110
+00100000010000000110100000011101
+01111101001000001010001000000100
+00100000001000000000001011100100
+01111001001111111000010000000111
+11011000101000001000000001111000
+00100000010000000110100000110000
+01111001001000000000010000000111
+11011000101000001000000001111100
+00100000010000000110100000110000
+01111001001111111000010000000111
+11011000101000001000000001110000
+00100000001000000110100000110000
+01111001001000000000010000000111
+11011000101000001000000001111000
+00100000010000000110100000110000
+01111001001111111000010000000111
+00100000001000000000001011011111
+00100000010000000000001100101001
+01101000000000001100011011100000
+11000000000000101011110110101010
+11000000000000100011110110010110
+11000000000000110000001100000000
+11000000000000011000001100000000
+01101000000000001100011101111010
+00011111111001100111110000000001
+00100000010000101000001011111000
+01101000000000001100011101111010
+11000000000000000000001011111010
+11000000000000001011110110001000
+11000000000000010000001011111100
+11000000000000011000001011111110
+00100000001000000000001011111100
+01110000010001110111101000000010
+00100000011000000000000000000000
+01110000010010110000000100000001
+00100000001000000011110110001010
+01110000010010110000000100000010
+00100000001000000011110110001100
+01110000010010110000000100000011
+00100000001000000011110110001110
+01101000000000001100011101111010
+00011111111001100111110000000001
+00100000010000101000001100001001
+01101000000000001100011101111010
+11000000000000000000001100001011
+11000000000000001000001100001111
+11000000000000010000001100010010
+11000000000000011000001100010110
+00100000001000000000001100010010
+01110000010001110111101000000010
+00100000011000000000000000000000
+01110000010010110000000100000001
+01101000000000001100011101111111
+00011111111000001111111111111111
+00100000001000000011110110111110
+01101000000000001100011110000000
+00011111111000001111111111111111
+00100000001000000011110110111110
+01110000010010110000000100000010
+01101000000000001100011110000001
+00011111111000001111111111111111
+00100000001000000011110110111110
+01110000010010110000000100000011
+01101000000000001100011110000010
+00011111111000001111111111111111
+00100000001000000011110110111110
+01101000000000001100011101111010
+00011111111001100111110000000001
+00100000010000101000001011111000
+01101000000000001100011101111010
+11000000000000000011110110011101
+11000000000000001011110110011011
+11000000000000010011110110011111
+11000000000000011011110110100001
+00100000001000000011110110011111
+01110000010010110000000100000001
+00100000001000000011110110011101
+01110000010010110000000100000010
+00100000001000000011110110011111
+01110000010010110000000100000011
+00100000001000000011110110100001
+01101000000000100100011011010011
+11000100000010111000000000000000
+01110000010001101101111100001010
+01101000000000001100011011110100
+01100000000000001100011100010101
+00100000011000000000000000000000
+01110000010001111001110100000000
+01110000010001111001111000000000
+11000101000100110000001100110011
+00100000001000000100001001101101
+00100000010000000000010110011000
+00100000001000000100001001101101
+00100000010000000110100010100010
+01101000000000010100001000011101
+00100000001110100000001100111010
+01100000000000010100011111000010
+00100000001000000000001101011011
+01011000000000000001000100100010
+01100000000000010100011111000010
+00100000001000000000001100111001
+01101000000000001100110001001100
+01100000000000001100000111011110
+01110000010001111001110000000000
+01101000000000010100011010000010
+11000010100001011000001101001100
+01101000000000100100011011010011
+11000011000011000000001101001100
+00100000010000000000001101011111
+01101000000010010100011111000010
+00011000010000001000010000000001
+01100000000010010100011111000010
+01100000000010010100010010100001
+00100000010000000000001101011011
+00011000000010100111111000000000
+01100000000000001100010010100000
+00100000010000000011010000011000
+01101000000000010100011010000111
+01100000000000010100011010101100
+01110000000000010110110100000110
+01011000000000000000000000000000
+01100000000000010100011010110000
+01100000000000010100011010101110
+11011000111000000000000000000111
+00100000010000000100001111001110
+00100000010000000100001111001010
+01101000000000001100000010010010
+00101111111011111111111000000001
+00100000010000001000001101100011
+00100000010000000100001011000100
+00100000001000000000001000011101
+11011000010000000000000000000010
+11011010001000000100011111000010
+11011010010000000000000001011111
+00100000001000000110010111010001
+11011000010000000000000000000010
+11011010001000000100011111000010
+11011010010000000000000001011111
+00100000001000000110010111011111
+01110000010001111001111100000000
+00100000010000000000000011011000
+01011000000000000000000000000101
+11100000110000001000000000000000
+00100000001000000111110111110100
+00100000010000000000001000100100
+01011000000000000000000000000000
+01100000000000010100011010101100
+00100000010000000000000100001000
+00100000001000000100001011001011
+01101000000000001100010100001111
+00011111111000001111111000000001
+01100000000000001100010100001111
+11000000000001100101001110010101
+00100000010000000101010110101010
+00100000010000000101011000011110
+00100000010000000000010011100110
+00100000001000000101001110001111
+01101000000000001000000000010110
+00011111111000001111111000000001
+01100000000000001000000000010110
+11000001100101000000000000000000
+01110000000000000001011000100101
+00100000011000000000000000000000
+00100000010000000010100110111011
+00100000010000000000000000011011
+00100000001000000101010010100011
+00100000010000000000001110000110
+00100000001000000101010101111101
+01101000000000001100011111000101
+01100000000000001100000101110010
+01110000010001111100010000000000
+00100000011000000000000000000000
+01110000010001111100010000000001
+00100000011000000000000000000000
+01101000000000001100001111010110
+00011111111001100111110000001100
+00100100001000010000001110000100
+01101000000000001100001111011000
+01101000000010001100011111000101
+10011000010001100111110000000000
+00100000001000010000001110000000
+01101000000000001100001111011000
+01100000000000001100000101110010
+00100000001000000000001110000010
+01101000000000001000010001010110
+11000010100000101000001110100100
+00100000010000000000010011011000
+01101000000000001100011110001110
+00100100001110100000001110011010
+01101000000000001000010000111111
+11000011000000100000001110011110
+01101000000000001000001011011010
+00100000001110100000001110011110
+00100000001000000101011001100100
+01101000000000001100011110001110
+00011111111000001111111111111111
+01100000000000001100011110001110
+00100000001000000101011001100100
+01101000000000001100010011000100
+11000000100000101000001110100001
+01110000010001111000111000000011
+00100000010000000101100010010010
+00100000010110100000011011010000
+00100000001000000101011000100010
+00100000010000000000001110100110
+00100000001000000000001110110010
+01101000000000001100011011000101
+00011111111000010111111000000011
+11000001100000011000000000000000
+01101000000000001100011111000001
+00100000011110100000000000000000
+01101000000000001100001111011101
+00100000011110100000000000000000
+01101000000000001100001111011100
+01111001001000000111111000000100
+01100000000000001100001111011100
+00100000010000000101011001010000
+00100000011000000000000000000000
+00100000001000000000010011011100
+01101000000000001100011110011111
+00100000011110100000000000000000
+01101000000000001100011011000101
+00011111111000010111111000000011
+11000001000000011000000000000000
+01110000010001101100011000001010
+00100000011000000000000000000000
+11101000110000010000000000000000
+11000000000000100000001110111110
+11000000000000110000001111011011
+00100000001000000101011010011000
+00100000010000000111111010100101
+00100000010000000000001110110011
+00100000010000000111111010011111
+11101000110000011000000000000000
+01100000000000011000010001110111
+11000000000010000000001111001101
+00011111111011001000010000000000
+00011000010001100111110000100100
+00100000001000010101100010101101
+11011000010000000100011111000110
+01100000000010010100010010111100
+00100000010000000101100010101101
+01011000000000001000111001111010
+01100000000000010100010010111100
+00100000011000000000000000000000
+00100000010000000101100111111010
+00100000010000000101100001111001
+00011000110000001000110000000111
+11101000110000001000000000000000
+11000001100010001000000000000000
+00011000110000001000110000000101
+11101000110000010000000000000000
+11011000010000000001100000010010
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011000110000001000110111111100
+01011000000000000000000000101011
+11100000110000010000000000000000
+00100000011000000000000000000000
+11101000110000001000000000000000
+11000000000000101000001111011110
+00100000001000000101101011110101
+00100000010000000101101101011010
+01101000000000001000010000111111
+01111001001111111111111000000101
+01100000000000001000010000111111
+00100000001000000101110010001110
+01101000000000001000000000010110
+11000000100100111101011011110010
+00100000010000000000001111101001
+11011000111000000000000000000000
+01101000000000010100010010000010
+00100000001000000111111100001000
+00011000000010100111111000000000
+11011000010000000000000111111111
+10011000010000010111111000000000
+00011111111000001111111011111010
+00100000001000000011110010111110
+01111000010101011111110000000000
+00100000001101110000001111110001
+00100100001101101101100000000110
+00100000010000000010101111001011
+01101000000000010100000011000001
+01100000000000010000010001001101
+01101000000000001100011011000101
+00101111111000000000011000000011
+00100100001000001010101111011110
+00100000001000000101011111111011
+01101000000000001100011110011111
+00100100011110100000000000000000
+01101000000000001000010001111000
+00011111111001100111111000011010
+00100100011000101000000000000000
+00100000001000000011110101100000
+01101000000100001000000001110111
+00011111111000010111111011111101
+01100000000100001000000001110111
+01101000000110001000000001110011
+00011000010000011000010000000010
+01100000000110001000000001110011
+00100000010000000110001111101110
+00011000010000010000010011111101
+00100000000000000000000000001101
+00100000010000000110001111110010
+01100000000110001000000001110011
+00100000011000000000000000000000
+00100000010000000110100010101000
+01101000000000100100000010100000
+01100000000000100100101111001100
+00100000011000000000000000000000
+01110000010011001100101100000001
+01110000010011001100110100000000
+01101000000000001100101110010110
+00011111111000010111111000000111
+01100000000000001100101110010110
+00100000011000000000000000000000
+01101000000000001100101110010110
+01111001001000000111111000000100
+01100000000000001100101110010110
+01100000000000001100101101010001
+00100000011000000000000000000000
+01101000000000001100101110010110
+01111001001111111111111000000100
+01100000000000001100101110010110
+00100000011000000000000000000000
+00100000010000000000010011011100
+01101000000000001100110011001100
+11000000000000001000010000100010
+11000000000000010000010000100110
+00100000011000000000000000000000
+01110000010011001100110100000010
+01110000010011001100100100000000
+01110000010011001100101100000000
+00100000001000000000010000010000
+01110000010011001100101000000000
+00100000001000000000010000100011
+01101000000000010100101110011011
+00011111111000001111111000000001
+01100000000000010100101110011011
+11000010100001010000010011001010
+01101000000000001100110011001010
+11000000000000001000010000110001
+01110000010011001100101000000001
+01101000000000001100110011001010
+11000000100000001000010000010000
+01101000000000001100110011001000
+00011111111000001111111000000001
+01100000000000001100110011001000
+11000000000000100000010000111000
+00100000010000000000011000111001
+01110000010010111101101000000010
+00100000001000000000010010000111
+00100000010000000000010011011100
+01110000010011001100100000000000
+00100000001000000000010000010000
+01110000010011001100110100000010
+01110000010011001100101100000001
+01110000010011001100101000000000
+00100000001000000000010000010000
+01101000000000001100110011001100
+11000000000000011000010000111100
+01101000000000001100101110010110
+00101111111011000000000000000100
+00100000001000001000010000001110
+01101000000000001100110011001100
+11000000000000001000010000111011
+11000000000000010000010000111100
+00100000011000000000000000000000
+01101000000000001100101110100101
+11000001111111111000000000000000
+00100000010000000000010001001101
+00100100010101100000010001010101
+00100000011000000000000000000000
+01111000010101100111110000000000
+01101000000000001100110011001011
+11000001100000001000000000000000
+01101000000000001100110011001101
+11000001100000000000000000000000
+01110000010011001100110000000001
+01110000010010111101101000000100
+00100000001000000111111111101011
+01101000000000001100110011001101
+00100000001110100000010001011101
+00011111111000001111111111111111
+01100000000000001100110011001101
+01110000010011001100110000000010
+00100000010000000000011000111001
+01110000010010111101101000000100
+00100000011000000000000000000000
+01110000010011001100110000000011
+01101000000000001100110011001010
+00100100001110100000010000101111
+00100000010000000000011000111001
+01110000010010111101101000000010
+00100000011000000000000000000000
+01101000000000001100101110100101
+11000000111111111000010100100011
+00100000010000000000010001101001
+00100000010000000000011000100111
+01110000010010111001101000000001
+00100000011000000000000000000000
+01101000000000010100110011000110
+00100000010000000111111110011100
+00100000001101000000010001101111
+01101000000000111100101100110010
+00100000011110100000000000000000
+00100000001000000111111111100111
+01110000010010111100000100000000
+00011010001000001111111000000001
+01100000000000001100101110010101
+00100000010000000000010000010000
+01100000000000001100101100110001
+11101000101010001000000000000000
+11101010010000001000000000000000
+10011000010000011111111000000000
+11100000101000001000000000000000
+00011010010000001010010000000001
+11011111001000000000000000000010
+11101010010000010000000000000000
+11100000101000010000000000000000
+00011010010000001010010000000010
+11000010000000000000010001111010
+11011000101000000100101100110111
+11011111001000000000000000000010
+11101010010000001000000000000000
+11101000101010001000000000000000
+10011000010000001111111000000000
+11100000101000001000000000000000
+00011010010000001010010000000001
+11000010000000000000010010000000
+00100000011000000000000000000000
+01110000010010111001111000000000
+11011001011000000000110100000000
+00110100011100110000001000000000
+00100000010000000000010010100011
+01101000000000001100101111010001
+11000001000000001000000000000000
+00100100001011000000010010110010
+00100100001101111000010010110010
+00100000010000000000010010011110
+00100000010000000000010011001110
+00100000010000000000010011011000
+01101000000000001100101110010100
+00011111111000001111111000000001
+01100000000000001100101110010100
+01101000000000001100101110100101
+11000000111111111000010010100001
+00100000010000000000010000111111
+01011000000000000000000000000000
+01100000000000010100101110011011
+01100000000000001100101110011101
+01100000000000001100110011001001
+01110000010010111001101000000000
+00100000011000000000000000000000
+11011111001000000000000000000100
+11011000101000000100101100110001
+00100000001000000111111011000110
+00100000010000000000010011010101
+00100000001000000000010100111110
+01111000010101111111110000000000
+00100000010000000000011010100010
+01101000000000001100101111010001
+11000000000000001000010010110000
+00011000000000000010101000000000
+01101000000000100100101110111101
+10011000000000000001001000000000
+01101000000010001000000000010111
+00100000010000000010100100011111
+00100000010000000010100100100100
+00100000010000000000011001011100
+00100000010101111000011010011010
+00100000011000000000000000000000
+00100000010000000000011010011010
+00100000001000000000010010010010
+01101000000000001100101110011101
+00011111111000001111111000000001
+01100000000000001100101110011101
+01101000000000001100101110100101
+11000000111111111000010011000110
+01101000000010001100101110011110
+00011000010000001000010000000001
+01100000000010001100101110011110
+01101000000000001100101111011010
+10011000010001100111111000000000
+00100100001110100000010010001000
+01101000000000001100110011001100
+11000000000000011000010000101000
+01101000000000001100110011001001
+00011111111000001111111000000001
+01100000000000001100110011001001
+11000000000000010000010000011101
+00100000010000000000010000010100
+01110000010010111101101000000001
+00100000001000000000010010000111
+01101000000000001100101110011101
+11000001111111111000000000000000
+01110000010010111001110100000000
+00100000001000000000010011001100
+01011000000000000000000000000000
+01100000000000010100101110011011
+01110000000010101001100100111010
+00100000001000000111110110000110
+00100000010000000000010110100001
+01101000000000001100101110010011
+00100000011110100000000000000000
+10011000000000000111001000000000
+11011000110000000100101100010001
+11011000101000000100101101110011
+00100000001000000111111100000001
+01110000010011001101000100000001
+01110000010011001100111000000000
+00100000011000000000000000000000
+01101000000000001100110011001110
+00011111111000001111111000000001
+01100000000000001100110011001110
+00100000011000000000000000000000
+01101000000000001100110011001110
+00011111111001100111110000000010
+00100100010000010000010011100100
+01101000000000001100110011001110
+11000001000000000000000000000000
+00011111111000001111111111111111
+01100000000000001100110011001110
+00100000011000000000000000000000
+01110000010011001100111000000011
+00100000011000000000000000000000
+01101000000000010100011010000010
+11000011100001011000000000000000
+11000011100000111000000000000000
+11000011100000110000000000000000
+11011010001000000100110001010111
+00100000010000000000011000001000
+01100000000010001100110011001111
+00101000000011111111111000100110
+00100000010000001000010011111000
+00100100010000001000010011111100
+10011000010001100111110000000000
+00100100001000010000010100010000
+01101000000000001100110011001110
+00011111111001100111110000000010
+00100100001000010000010100000000
+01101000000000001100110011001110
+11000000000000000000010100010001
+00100000011000000000000000000000
+01011000000000000000000010000010
+00100000011000000000000000000000
+01011000000000000000000001110111
+00100000011000000000000000000000
+01011000000000000000000010000000
+00100000011000000000000000000000
+01011000000000000000000001110101
+00100000011000000000000000000000
+01101000000000001100110011001110
+11000001100100000000000000000000
+01110000010011001100111000000000
+01101000000010001100110011001111
+00101000000011111111111000100110
+00100000010000001000010011111010
+00100100010000001000010011111110
+10011000010001100111110000000000
+00100100011000010000000000000000
+01101000000000001100110011010001
+11000000000000000000010100011000
+00011111111000001111111111111111
+01100000000000001100110011010001
+11000000000000000000010100011000
+01110000010000011101111000000000
+00100000011000000000000000000000
+01110000010011001100111000000000
+01101000000000001100110011010001
+11000000000000010000010100010110
+00011111111000001111111000000001
+01100000000000001100110011010001
+11000000000000001000010100001110
+01110000010000011101111000000010
+00100000011000000000000000000000
+01110000010000011101111000000100
+00100000011000000000000000000000
+01111001001000000000000000100110
+00100000010000000000010100011110
+01110000010010111010010100000001
+00100000011000000000000000000000
+01110000010000011101111000100000
+01110000010010111001010000000000
+01110000010010111001111101001110
+01101000000000100100101110100001
+00100000001000000000011000011001
+01101000000000001100101110011010
+11000000000000001111111111100111
+01101000000000001100101110100101
+11000000000000001000010100101010
+11000000000000010000010100101101
+11000000000000011000010100110000
+00100000001000000010101010001100
+01110000010010111010010100010001
+01110000000100011001111010101010
+00100000001000000000010100110010
+01110000010010111010010100010010
+01110000000100011001111001010101
+00100000001000000000010100110010
+01110000010010111010010100010011
+01110000000100011001111000100010
+01101000000000001100101110010110
+00011111111000010111111000000111
+01100000000000001001000110011111
+01101000000000100100101111001100
+01100000000000100001000110100000
+01110000000100011010010000000000
+11011010001000000001000110011110
+11011000010000000000000000000111
+00100000010000000000010110011100
+00100000010000000000011000100111
+00100000010000000000010001100111
+00100000001000000111111111100111
+01101000000000001100101110100101
+11000001011111111000000000000000
+11000000000010001000010101000100
+11000000000010010000010101000110
+11000000000010011000010101001000
+00100000011000000000000000000000
+01110000010010111010010100000010
+00100000001000000000010010011000
+01110000010010111010010100000011
+00100000001000000000010010011000
+01110000010010111010010111111111
+01110000000010101001100100111001
+00100000010000000111110110000110
+01101000000000100100101101110101
+00100000010000000000011000011001
+00100000001000000000010010011000
+01111001001111111000000000100110
+00100000010000000000010110010010
+01101000000000001100101110100101
+11000001111111111000000000000000
+00100000010000000000010101100011
+01011000000000000000000000000000
+01100000000000010100101111000010
+00100000010000000010101011111010
+00100000000000000000011111010000
+01101000000000001100101111000010
+11000000011111111000010011001100
+00100000010000000000010010100011
+00100100001011000000010101101100
+00100100001101111000010101101100
+01111001001000000000000000100110
+01011000000000000000000000000000
+01100000000000010100101111000010
+01110000000010101001100100111100
+00100000010000000111110110000110
+00100000010000000000010010011110
+00100000001000000000000001101011
+01110000000100011001111011111111
+01101000000000001100101110010110
+01100000000000001001000110011111
+01101000000000100100101111001100
+01100000000000100001000110100000
+11011000010000000000000000000110
+11011010001000000001000110011110
+00100000010000000000010110011100
+00100000001000000000011000100111
+01101000000000010100101111000010
+00011111111000001111111000000001
+01100000000000010100101111000010
+00100000010000000000011000111001
+00100000001000000000010101010101
+01111001001111111000000000100110
+00100000010000000000010110001110
+00100000010000000000010101100011
+01110000010010111100001000000000
+00100000010000000010101011111010
+00100000000000000000011111010000
+01101000000000001100101111000010
+11000000011111111000010011001100
+00100000010000000000010010100011
+00100100001011000000010110000100
+00100100001101111000010110000100
+00100000010000000000010011001110
+01101000000000001100110001001100
+01100000000000001100000111011110
+01101000000000100100101110111101
+01101000000010100100101110100001
+10011000010001100111110000000000
+00100000001000101000010100011010
+00100000001000000000010101011100
+01101000000000001100101111000010
+00011111111000001111111000000001
+01100000000000001100101111000010
+01101000000000001100110011010011
+00011111111000001111111000000001
+00011111111000010111111000000001
+01100000000000001100110011010011
+11000000000000000000010110010100
+11000000000000001000010110010110
+00100000011000000000000000000000
+01110000010000011101111000100000
+01011000000000000000111100001111
+01100000000000010100101110111101
+11100000101000010000000000000000
+00100000010000000000011000011010
+00100000001000000000011000111001
+00100000010000000000010110001110
+00100000001000000000010101110101
+00100000010000000000010100011110
+00100000001000000000010101110101
+01111001001111111000000000100110
+00100000010000000101001111001110
+11011000111000000000000000000011
+00100000001000000100001111010010
+01100000000010001100101110010101
+00011000010000100111001000000000
+11011000101000000100101100110001
+00011010001000100000110000000000
+00100000001000000111111100000001
+01101000000000001100101100010000
+00011111111010010111111000000000
+01100000000000001100101110010011
+00011111111000001111111000000001
+11011000110000000100101100010000
+10011000110000001000110000000000
+11101000110000011000000000000000
+01100000000000011100101111010010
+01101000000000001100101100010000
+00011111111000110111111000000000
+00011111111000010111111000000011
+01100000000000001100101111011000
+00100000011000000000000000000000
+01100000000010001000000000010111
+00011000010000001010001000000000
+00100000010000000010100110000001
+01011000000000000000010100000000
+00100000010000000010101010001111
+01110000100010010000011000000001
+01110000100010010000000000111100
+01110000100010010000000111100000
+00100000000000000000000000001010
+01110000100010010000001000000001
+01110000100010010000001000111101
+00100000000000000000000000001010
+01110000100010010000001110110111
+00100000000000000000000000001010
+01110000100010010000001001111101
+01101000000000001100000111011110
+11000000000000000000010111000011
+11000000000000010000010111001011
+11000000000000100000010111010011
+11000000000100000000010111100101
+00100000001000000000010111000011
+00100000010000000000010111011011
+01110000100010010100101110111010
+01110000100010010101010111010000
+01110000100010010101011011100000
+01110000100010010101011110001000
+01110000100010010101100001101100
+01110000100010010101100100010000
+00100000001000000010100101001011
+00100000010000000000010111100000
+01110000100010010100101110111010
+01110000100010010101010111010000
+01110000100010010101011011100000
+01110000100010010101011110001000
+01110000100010010101100000111100
+01110000100010010101100100010000
+00100000001000000010100101010011
+00100000010000000000010111011011
+01110000100010010100101110111010
+01110000100010010101010111010000
+01110000100010010101011011000000
+01110000100010010101011110001000
+01110000100010010101100001101100
+01110000100010010101100100010000
+00100000001000000010100101011011
+01110000100010010100110001011011
+01110000100010010100110110010110
+01110000100010010100111000101100
+01110000100010010100111101000110
+00100000011000000000000000000000
+01110000100010010100110011111011
+01110000100010010100110111101111
+01110000100010010100111011101100
+01110000100010010100111101011110
+00100000011000000000000000000000
+01110000100010010100101110111010
+01110000100010010101011011000010
+01110000100010010101010111010000
+00100000011000000000000000000000
+00011000000000000010101000001000
+00100000001000000010100011111010
+00100000010000000111111111101001
+01101000000010100100101110110110
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100010000010010110100011000
+00011111111000100010010000000000
+01101000000000100100101110110110
+01101000000010001100101110111010
+10011000010000001000010000000000
+00011010010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+01111001001111111111111000011100
+01100000000000100100101110110110
+00100000001000000111111111100111
+00100000010000000010100110111011
+00100000011110100000000000000000
+01101000000010001100110001001111
+11011010001000000000110110011110
+00100000010000000000011000000001
+01100000000010001100110001001111
+00100000011000000000000000000000
+00011010001000100111111000000000
+10011000010000001000101000000000
+01101000000000001000000000011000
+11100000101000001000000000000000
+00011000010000001000010000000001
+00011000010000010000010000000111
+00100000011000000000000000000000
+11011000010000000000000000000000
+11011111001000000000000000001000
+00011010001000100000110000000000
+11101000110000001000000000000000
+10011000010000001000010000000000
+11000010000000000000011000001011
+00011000010010010111111000000000
+00011111111000100000010000000000
+11000110100100110000000000000000
+00011111111001101111110000001010
+00100000010000000111111110000110
+00011000000001111111111000000000
+00011111111100100111111000000000
+00011000000001110000010000000000
+10011000010000011000010000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01100000000000100100101110111101
+11011010001000000000000000000000
+11011111001000000000000000000100
+11011000110000000100101110111101
+11101000110000001000000000000000
+10011010001000001010001000000000
+11000010000000000000011000011101
+00011010001000100111111000000000
+01100000000000010100110001000110
+01101000000000001100110001000110
+01101000000010001100110001000111
+10011000010000001111111000000000
+01100000000000001100110001001000
+00100000011000000000000000000000
+01101000000000001100101110010101
+00011111111000001111111000000010
+01100000000000001100101110010111
+01101000000000001100101110010110
+01100000000000001100101101010001
+01101000000000001100101110010101
+00011111111010011111111000000000
+01101000000010001100101110010100
+00011000010000010000010000000011
+00011000010000111000010000000000
+10011000010000011111111000000000
+01101000000010001100101111010001
+10011000010000001111111000000000
+11100000101000001000000000000000
+01101000000000001100101110010101
+10011000000000000111001000000000
+11011000110000000100101100110001
+00100000001000000111111100000001
+01101000000010001100101110100000
+00100000010000000000011000111101
+01100000000010001100101110100000
+00100000011000000000000000000000
+00100000010000000000011001000001
+00011000010000001000010000000001
+00011000010000010000010000000011
+00100000011000000000000000000000
+01101000000000001100101110111101
+00011111111000010111111000000011
+00011111111011111010001000000100
+01011000000000000100101110100110
+10011010001000001111111000000000
+10011000010000001000110000000000
+11101000110000001000000000000000
+01100000000000001100101110011111
+00100000011000000000000000000000
+01111000010001001111110000000000
+01111000010000111111110000000000
+01011000010101010101010101010101
+10011000000000000001111000000000
+01101000000000001100101110011111
+00011111111011011000010000000000
+01111001001000000000010000000001
+00011000010000110001110000000000
+00100000011000000000000000000000
+00100000010000000101001111000100
+01101000000000100100101110111101
+10011000000000000001001000000000
+00100000010000000010100100011000
+01101000000010001100101110011111
+00100000010000000010100100011111
+01011000000000000000010100000000
+00100000010000000010101010001111
+00100000010000000010100100100100
+00100000010000000000011001001010
+01111000010101111111110000000000
+01111000001001101111110000000000
+01111000001100001111110000000000
+01111000010100000111110000000000
+01111000001010000111110000000000
+01101000000000010100101110011000
+10011000000000000011011000000000
+00110111110000011000010000000000
+00100100001011000000011010011110
+01111000010001101111110000000000
+01111000001001011111110000000000
+01111000001000111111110000000000
+01111000001001001111110000000000
+00001001100000000000000000001000
+00011001100010010111111000000000
+01100000000000001100110001001001
+01101000000010001100110001001000
+10011000010001100111110000000000
+00100100001000101000011010011010
+00001001100000000000000000001000
+00011001100010010111111000000000
+01100000000000001100101100001111
+01101000000000001100101111011011
+00011111111001100111110000000010
+00100000001000101000011001111010
+01101000000000001100101100001111
+01101000000010001100101110010110
+10101000010000000000111000000000
+00100100001000001000011010011010
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+00011111111010010111111000000000
+00011111111000010111001000011111
+00100000001000101000011010000100
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+11000010000000000000011010000000
+00011000101000100010001000000000
+00001001100000000000000000001000
+00011001100010010111111000000000
+01100000000000001100110011010000
+00011010001000100000101000000000
+00001001100000000000000000011000
+01111000001010000111110000000000
+11011011011000000000011001100100
+00011111111011110111111000000000
+00011111111100010111111000000000
+11100000101000011000000000000000
+01111000010001011111110000000000
+00100000001000110000011010011010
+01111000001101111111110000000000
+01101000000000001000000000010111
+00011111111000001010001000000000
+00100000010000000010100110000001
+01111000010001101111110000000000
+00100000010000000010100100011000
+01101000000000001100110011010000
+00100000010000000000000000011011
+00100000011000000000000000000000
+01111000010011011111110000000000
+01111000010001011111110000000000
+00100000010000000010011001001101
+00100000011000000000000000000000
+00100000001000000000011010011010
+00100000010000000010100100011000
+01101000000010001100101110011111
+00100000001000000010100100110011
+00100000010000000101001111000100
+01101000000000100100101110111101
+10011000000000000001001000000000
+00100000010000000000011001001010
+00100000010000000000011010011111
+01111001001000000010101000000000
+01111000001011101111110000000000
+01111000001100000111110000000000
+01111000010100001111110000000000
+00011001001100010111111000000000
+00011111111011001111111000000000
+00011111111100011111111000000000
+00001000000000001000011000101000
+01111000010011101111110000000000
+01111000001011011111110000000000
+01111000001000111111110000000000
+01111000001001001111110000000000
+01101000000000001100110001001000
+00001000000000001000011000001000
+01101000000000001100101110010111
+10011000000000000111001000000000
+11011000110000000100101101010001
+11101000110000001000000000000000
+00001000000000001000011000001000
+11000010000000000000011010111000
+01111000001001000111110000000000
+00001000000000001000011000011000
+01111000010001000111110000000000
+00110111110100111000001000000000
+00100000000000000000000001100100
+01111000010011101111110000000000
+01111000010011011111110000000000
+00100000011000000000000000000000
+01110000010001111010000000000111
+01110000010001111010000100000100
+01011000000000000100011110100000
+01100000000000010100001000011000
+00100000001000000111111000111000
+11011010001000000100011010011010
+00100000010000000111111000111101
+00100000010101000000011011001100
+00100000011000000000000000000000
+01101000000000001100011111000001
+00011111111000001111111000000001
+01100000000000001100011111000001
+00100000011000000000000000000000
+11011010001000000100011010011010
+00100000010000000111111001010100
+00100000001101000000011011010100
+00100000011000000000000000000000
+00100000010000000101011001010010
+01101000000000001100011111000001
+00011111111001100111110000000001
+00100100010000010101011001010000
+01101000000000001100011111000001
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100011111000001
+00100000001000000011111110010000
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+00100000010000000010101010111100
+01000100100000000100000000000000
+00100000100000000000000000000000
+00100000010000000110010000001101
+00100000010000000010100101101100
+00100000010000000110010110100011
+00100000010000000010101010010110
+00100000010000000100110101101010
+01000100100000001100000000000000
+00100000010000000110101000000011
+00100000010000000101110011110110
+00100000010000000111110011001100
+00100000010000000011001011011000
+00100100010101011110100010011100
+01000100100000010100000000000000
+00100000010101011011001011100011
+00100000010000000111010101101010
+00100000010101011010101101000001
+01000100100000011100000000000000
+00100000010000000111011011011100
+00100000010000000111101010101111
+00100000010000000111010101101101
+00100000010000000101001101011100
+01000100100000100100000000000000
+00100000010000000010000000111000
+00100000010000000011001011101101
+00100000010000000010000010001111
+00100000010000000010001011111000
+00100000010000000010001101101010
+00100000010000000010000000100001
+00100000010000000010101101101010
+00100000010000000010110001110010
+00100000001000000010000000010010
+00100000010000000010000000100110
+11000110100001001000000000000000
+01111001001111111000000000001001
+00100000010000000010001000100011
+00100000001000000101001111001110
+01000100100000101100000000000000
+00100000010000000010001001011110
+00100100001000101010000000101111
+00100000010000000010001000001010
+00011010001000001000110000000001
+11101000110000001000000000000000
+11000010100000000101001101100000
+11000010100000001010000101100110
+00100000001000000010001111001111
+00100000010000000010001000101011
+00011111001000100111110000000000
+00100000011000101000000000000000
+00100000010000000010001000001010
+01101000000000001000000000110000
+11000010100000011010000011010011
+01101000000000001000000000110001
+11000010100000001010000101100110
+00100000001000000010001111001111
+01101000000000001100000111001110
+00100000011110100000000000000000
+11000000000000001010000001001000
+11000000000000010010000001001101
+11000000000000011010000001010000
+11000000000000101010000001010101
+11000000000011011010000001000101
+00100000010000000010001001010111
+00100000011000101000000000000000
+00100000010000000010001001011010
+00100000011000101000000000000000
+01110000010000011100111000000000
+00100000011000000000000000000000
+01110000000001001001101100011011
+01110000010000011100111000000000
+00100000011000000000000000000000
+01111001001000000000000000011100
+01111001001111111000000000011110
+01110000000000001000111111111111
+01110000000000001000110100011111
+00100000001000000010000001000011
+01111001001111111000000000011100
+00011000000000000011011000000000
+00100000001000000010000001000011
+00100000010000000010001001011010
+00100000011000101000000000000000
+00011000000000000000010000000001
+01110000000000010110111000000101
+00100000001000000010000001011100
+01000100100000110100000000000000
+01101000000000110100000111010000
+00100000001110100010000001000011
+01110000010001101000000100000001
+01110000000000000101010100000011
+00100000001000000010000001011011
+00011000000000000000010000100101
+01000100100000111100000000000000
+01101000000000001000000011110001
+00100000001110100010000001100010
+00011111111010011111111000000000
+00011111111100100111111000000000
+00011111111000001111111111111111
+01100000000000001100000010100110
+01100000000000001000000011110000
+01110000000000001000111000011111
+01111001001111111000000000001100
+00100000010000000010001000111011
+00100100001000101010000010000011
+00100000010000000010101001101111
+01100000000000001000000001110111
+01100000000010001000000001111100
+01101000000000110100000111010000
+01100000000000110000000001000000
+01000100100001000100000000000001
+00100000010000000111111100010101
+00011000000000000111111000000000
+00101000010000011111111000000001
+01111101001000001111111000000101
+01111001001000000111111000000011
+01100000000000001000000000110000
+01110000000010101001100100000011
+00100000010000000111110110000110
+00011000000000000111111000000000
+01111001001000001111111000000100
+01100000000000001000000001001100
+01011000000000000000000000000000
+01111001001000000111111000000001
+01100000000000001000000000110001
+01111000001101001111110000000000
+00100000010000000010001000100011
+01111000010101001111110000000000
+00011000000000000000111000000011
+01101000000000010100000010111001
+00100000010000000111111100001000
+00100000001000000010000001000011
+01000100100001001100000000000001
+01101000000000110100000111010000
+01100000000000110000000001000000
+00101000010000011111111000000001
+00100000001000001010000010001001
+00100000001000000010000001000011
+11011000101000000000000100000001
+11011111001000000000000000001000
+00100000010000000111111011000110
+01110000000010101001100100000100
+00100000010000000111110110000110
+00100000001000000010000001000011
+11000110100011100000000000000000
+00011000000000000000111000000001
+00100000010000000111111100010110
+01111101001110100000000000011100
+00100100001110100010000010010101
+00100000011000000000000000000000
+01000100100001010100000000000001
+01101000000010010100000010111011
+00011000000000000000111000000100
+00100000010000000010011100011100
+00100000011101000000000000000000
+00100000010000000010100010100100
+00011000000000000100100000000000
+00100000011000011000000000000000
+01111001001111111000000000001011
+01111001001111111000000000000000
+00011100010000001100001000000001
+00101000000011111111111000011110
+01111001001000001100100000000010
+00101100001000000000010000000000
+00100100001000001010000010111110
+01000100100001011100000000000001
+01101000000000001000000000010010
+00011111111000001111111000000001
+01100000000000001000000000010010
+00100000010000000010100011011000
+00100000010000000010100011010010
+00100000010000000010100011110010
+00100000010000000010101001010001
+00100000010000000010101001010110
+00100000010000000010101001100100
+00100000010000000010011001001101
+00100000010000000010000010110001
+00100000001000000010000010011100
+01000100100001100100000000000001
+01101000000000001000000010001101
+00011111111000001111111111111111
+01100000000000001000000010001101
+00100000011000010000000000000000
+01110000000000001000110100011111
+01101000000000001000000010001111
+00011111111000001111111111111111
+01100000000000001000000010001111
+00100000011000010000000000000000
+01111001010000000000000000011110
+01110000000000001000111111111111
+00100000011000000000000000000000
+01000100100001101100000000000001
+00100000010000000010100011011000
+00100000010000000010100011001100
+00100000010000000010100011110010
+00100000010000000010101001011011
+00100000010000000010100111101011
+00100000010000000010101000001101
+00100000001011000010000011001000
+00100000010000000010000010110001
+00100000001000000010000010011111
+01000100100001110100000000000001
+00100000010000000010100110111011
+00100000010000000010101001101011
+00100000010000000010010100011110
+01111001001111111000000000000001
+11000110100001011000000000000000
+01000100100001111100000000000001
+01101000000000001000000000010011
+00011111111000001111111000000001
+01100000000000001000000000010011
+00100000011000000000000000000000
+01000100100010000100000000000010
+01111000001101001111110000000000
+01111000001110000111110000000000
+01101000000000010100000010110101
+00100000001110100010000011011011
+00011000000000000000111000001000
+00100000010000000111111100010110
+00100100011110100000000000000000
+01000100100010001100000000000010
+01101000000010010100000010110111
+00011000000000000000111000101000
+00100000010000000010011100011100
+00100000001101000010000100010100
+00011000000000000000111000000011
+00100000010000000111111100010110
+00100100001110100010000011110000
+01101000000000001000000001001100
+11000010100000100010000011100110
+00100000001000000010000011101001
+11011000101000000000000100000001
+11011111001000000000000000001000
+00100000010000000111111011000110
+01000100100010010100000000000010
+01110000000000000011000000000000
+00100000010000000101110011110111
+01110000010001101000000100000000
+01110000000010101001100100010011
+00100000010000000111110110000110
+00100000001000000010000100010100
+01000100100010011100000000000010
+00011000000000000001011000000000
+00110100011100110000001000000000
+01101000000000001000000011110010
+00011111111000001111111111111111
+10011100010000101111111000000000
+00101111111000000000011000000000
+00100100001000001010000011110000
+00011000100000100111111000000000
+01100000000000001000000110000001
+00011000000000000100110000000000
+00011000000000000100100000000000
+01000100100010100100000000000010
+00100000001000011010000100010100
+00100000010000000010100011011100
+11011001011000000000011000000000
+00110100011100110000001000000000
+01000100100010101100000000000010
+01101000000000100000000011110010
+10011000000000000100001000000000
+00011111111000001111111000000001
+01100000000000100000000011110010
+00101000000011111111111000001100
+01111001001000001100100000000010
+00101100001000000000010000000000
+00100100001000001010000100101000
+01101000000000001000000000001100
+00011111111000001111111000000001
+01100000000000001000000000001100
+00100000010000000010100011010010
+00100000010000000010101001010001
+00100000010000000010101001010110
+00100000010000000010101001100100
+00100000010000000010011001001101
+00100000010000000010000100011010
+00100000001000000010000011111100
+01000100100010110100000000000010
+01111000010101001111110000000000
+01101000000000010100000010110101
+00100000011110100000000000000000
+00011000000000000000111000001000
+00100000001000000111111100001000
+01000100100010111100000000000010
+01101000000000001000000010001110
+00011111111000001111111111111111
+01100000000000001000000010001110
+00100000011000010000000000000000
+01110000000000001000111000011111
+01101000000000001000000011110000
+00011111111000001111111111111111
+01100000000000001000000011110000
+00100000011000010000000000000000
+01111001010000000000000000001100
+01101000000000001100000010100110
+01100000000000001000000011110000
+00100000011000000000000000000000
+01000100100011000100000000000011
+00100000010000000010100011001100
+00100000010000000010101001011011
+00100000010000000010100111101011
+00100000010000000010101000001101
+00100000001011000010000100110000
+00100000010000000010000100011010
+00100000001000000010000100000001
+00100000010000000010011001001101
+01101000000000001000000000001101
+00011111111000001111111000000001
+01100000000000001000000000001101
+00011000000000000011011000000000
+01101000000000100000000011110010
+01000100100011001100000000000011
+00100000010000000010101001001111
+00100000010000000010100011011100
+00011100110000001100110000000001
+00011100001000010100001111111101
+00011100100000010100100111111100
+00100000010000000010100011010010
+00100000010000000010101001010001
+00100000010000000010101001010110
+00100000010000000010101001100100
+00011100010000100111111000000000
+01100000000000100000000101100001
+00011000000000000000100000000000
+00011000000000000000001000000010
+00100000010000000010101001101011
+00100000010000000010011101100110
+01000100100011010100000000000011
+00100000010000000010101001001101
+00011100001000011100001000000010
+00011100100000010100100111111100
+00100000010000000010100011001100
+00100000010000000010101001011011
+00100000010000000010100111101011
+00100000010000000010101000001101
+00100000010011000010011001001101
+00100000001011000010000101010101
+01101000000000001000000000010000
+00100000001110100010000011111100
+00011111111000001111111111111111
+01100000000000001000000000010000
+00100000001000000010000100110110
+01000100100011011100000000000011
+01101000000000001000000000001110
+00011111111000001111111000000001
+01100000000000001000000000001110
+00100000010000000010010000110101
+00100000010000000010001011110010
+00100000001011000010000101011111
+00100000010000000010010001010101
+00100100001110100010000101011010
+00100000001000000010000011111100
+01000100100011100100000000000011
+01101000000000001000000000110000
+01111001001111111111111000000011
+01100000000000001000000000110000
+00100000010000000010010001000000
+01111000010101001111110000000000
+00100000011000000000000000000000
+01000100100011101100000000000011
+01111000001101001111110000000000
+01111000001110000111110000000000
+00100000010000000010000111100001
+00100000011101000000000000000000
+00100000010000000010110001101001
+00100000010000000010101001001111
+00011100010000001100001000000001
+00100000010000000010100011100010
+00011000000000000100100000000011
+00100000010000000110110011000010
+00100000010000000010010010001001
+00100000010000000010100011010010
+00100000010000000010101001010001
+00100000010000000010101001010110
+00100000010000000010101001100100
+00100000010000000010011101100010
+01000100100011110100000000000011
+00100000010000000101110100001000
+00100000010000000010001011100100
+00100100001101101010000110000000
+00100000010000000010101010001000
+00100000010000000010011100101000
+01101000000000001000000000001111
+00011111111000001111111000000001
+01100000000000001000000000001111
+01000100100011111100000000000011
+00100000010000000110110010101010
+00100000010000000010000110001011
+00100100011101001000000000000000
+00100000010000000010011011110011
+00100100001110100010000110001000
+01111000010101001111110000000000
+00100000011000000000000000000000
+00100000010000000010010010001001
+00100000010000000010001011011010
+00100000001000000010000101110111
+00100000001101101010000110001110
+00100000010000000010101001111111
+00100000001000010010000110011100
+00100000010000000010000110100111
+00100100001101000010000110011100
+01101000000000001000000001001100
+11000100000000100000000000000000
+11000011100000011000000000000000
+01101000000000001000000001001011
+11000011100000011000000000000000
+00100000010000000010000110101110
+00100100011110100000000000000000
+01101000000000001000000101101110
+00011111111000001111111111111111
+01100000000000001000000101101110
+00100100011110100000000000000000
+00100000001000000110000000000110
+01000100100100000100000000000100
+00100000010000000010010001011101
+01111000010101001111110000000000
+01101000000000001000000001001100
+11000010100000100010000110100010
+00100000011000000000000000000000
+01101000000000001000000001001100
+11000011100000011000000000000000
+11011000101000000000000100000001
+11011111001000000000000000001000
+00100000001000000111111011000110
+01000100100100001100000000000100
+01111000001101000111110000000000
+01101000000000001000000001001011
+11000100000000011000000000000000
+00100000010000000010000110101110
+00100100011110100000000000000000
+00100000001000000111111111101001
+01101000000000001000000001110010
+00011111111000001111111111111111
+01100000000000001000000001110010
+00100000011000000000000000000000
+01000100100100010100000000000100
+01101000000000001000000000110000
+11000010100000111010000110111011
+01101000000000001000100110110101
+00100000001110100010000110111011
+01110000000010011011010100000000
+01110000000010101001100100011000
+00100000010000000111110110000110
+00100000001000000010000110111011
+01000100100100011100000000000100
+00100000010000000010001001010100
+01101000000000001000000000110000
+01111001001000000111111000000111
+01100000000000001000000000110000
+01110000010000011011110100000001
+01101000000000001000000001010101
+11000000100010110010000111000011
+00100000011000000000000000000000
+01110000000010011011010100000001
+01101000000000001000000000110000
+01111001001111111111111000000111
+01100000000000001000000000110000
+00100000011000000000000000000000
+01000100100100100100000000000100
+01111000010101000111110000000000
+01101000000000010000000000110010
+11011000010000001111111111111111
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101000000000100000000000110100
+00100000001110000010000111010011
+10011101000001100111111000000000
+00100000001000000010000111010100
+10011100010001100111111000000000
+00011111111001100111110000000100
+00100100011000010000000000000000
+00011000000000000111111000000000
+01100000000000010000000000110010
+00100000001000000111111111100111
+00011111111000100000010000000000
+01000100100100101100000000000100
+01100000000010100000000000110100
+01110000010001010101101100000001
+01011000000000001111111111111111
+01100000000000010000000000110010
+01110000000000000111001100000001
+00100000011000000000000000000000
+01000100100100110100000000000100
+00100000010000000010000111001001
+00100100011101000000000000000000
+01111000010101000111110000000000
+01110000000000000001000100100000
+01111001001111111000000000001011
+00100000010000000010101001001111
+00100000010000000010001011100110
+11000101000001011010000111110100
+00100000010000000010010001010101
+00100100001110100010000111100111
+01000100100100111100000000000100
+01111000010101000111110000000000
+00011100010000100111111000000000
+01100000000000100100000011001010
+01111000001110000111110000000000
+01111000001101001111110000000000
+01110000000010101001100100101010
+00100000001000000111110110000110
+01000100100101000100000000000101
+00100000010000000010101001001101
+11011000001000000000000000010000
+00100000010000000010001011011100
+01111000010110000111110000000000
+01111000010101001111110000000000
+00100000010000000010100000011000
+00100000010000000010010000110101
+01000100100101001100000000000101
+00100000010000000010010001111100
+00100000001101101010001000000010
+00100000010000000010010001010101
+00100100001110100010000111111100
+00100000001000000010000111101100
+01101000000000001000000000110001
+01111001001111111111111000000001
+01100000000000001000000000110001
+00100000010000000010101010001000
+00100000010000000010100001000001
+01111000001101000111110000000000
+01110000000010101001100100101011
+00100000001000000111110110000110
+01000100100101010100000000000101
+01111001001000000000000000001001
+00011010001000100111111000000000
+01100000000000010000000000011110
+00011000000000000111001001010000
+11011000101000000000010000111111
+00011010001000001000110000000001
+11101000110000001000000000000000
+00011010001000100000110000000000
+11000010100000000111111100000001
+11011000101000000000000000110000
+00100000010000000111111100000001
+01111000010101110111110000000000
+01101000000000001000000001110111
+10011000000000000000100000000000
+01110000000000001000101000000001
+00100000001101001010001000011100
+01110000000000001000101000000001
+01101000000000001000000000110000
+11000100000000001000000000000000
+01101000000000001000000001110011
+01100000000000001000000010001010
+01101000000000001000000001110100
+01100000000000001000000010001011
+00100000011000000000000000000000
+01000100100101011100000000000101
+01101000000000010000000000011110
+10011000000000000000101000000000
+00011000000000000111001001010000
+11011000110000000000010000111111
+00100000001110110111111100000001
+11011000110000000000000000110000
+00100000001000000111111100000001
+11011111001000000000000000000001
+01101000000010001000000000010101
+00011000010000001000010000000001
+00101000010000011111111000000001
+00100100001000001010001000110001
+11011000010000000000000000000000
+01100000000010001000000000010101
+00011000010011111111111001010000
+11011010001000000100000001000000
+10011010001000001010001000000000
+11101010001000001000000000000000
+11000010100000001010001000111001
+11000011100000000000000000000000
+11000011100000011000000000000000
+11000010000000000010001000101101
+00100000011000000000000000000000
+01000100100101100100000000000101
+11011010011000000010001001101010
+00100000010000000010001001100001
+00100100011000101000000000000000
+00011010001000100111111000000000
+01100000000000010000000000011110
+00011000000000000111110000000000
+00100000011000000000000000000000
+00100000010000000010011100100101
+00100000001000001010001001001011
+01101000000000010000000000011110
+00011111111000001000101000010111
+01101000000000001000000001000111
+11100000101000001000000000000000
+11011010011000000010001010101010
+00100000001000000010001001100001
+01101000000000001000000001000111
+00101111111011111111111000000011
+00100000001000001010001001010000
+00011000000000000111110000000001
+00100000011000000000000000000000
+00011000000000000111110000000000
+00100000011000000000000000000000
+11011010011000000010001010100111
+00100000001000000010001001100001
+01101000000010010000000000011110
+11011010011000000010001011001111
+00100000001000000010001001100001
+01101000000010001100000111001111
+11011010011000000010001001110101
+00100000001000000010001001100001
+01000100100101101100000000000101
+01101000000010110100000111010000
+11011010011000000010001001101110
+00100000001000000010001001100001
+11011010011000000010001001111011
+00100000001000000010001001100001
+11011010011000000010001011000110
+01000100100101110100000000000101
+11011010001000000100000001000000
+11011111001000000000000000000001
+11101010001000001000000000000000
+00011010011000100111101000000000
+00011010001000001010001001010000
+11000010000000000010001001100100
+00011000000000000111110000000001
+00100000011000000000000000000000
+11000010100000000010001001100110
+11000010100000011010001001100110
+00011000000000000111110000000000
+00100000011000000000000000000000
+11000010100000011010001001110000
+11000011000000000010001001100110
+00011010001000001000110000010000
+11101000110000110000000000000000
+10011000010001100111110000000000
+00100000011000101000000000000000
+00100000001000000010001001100110
+11000011000000000010001001100110
+00011010001000001000110000010110
+11101000110000001000000000000000
+10011000010001100111110000000000
+00100000011000101000000000000000
+00100000001000000010001001100110
+11000011000000001010001001100110
+00100000010000000010001010110011
+00100000010000000010001010010111
+10011000010001100111111000000000
+00011111111000001111111000000001
+00100000001000010010001010010001
+00011000110000100010010000000000
+01100000000001001000101010100010
+01101000000000001100010011000000
+00100100001110100010001010001001
+01101000000001001000101010100010
+00011010010000100000110000000000
+00011111111000001111111000000101
+00100000001000000010001010001100
+01101000000001001000101010100010
+00011010010000100000110000000000
+00011111111000001111111000010100
+00100100001000010010001001100110
+00011000010000100100001000000000
+00100000010000000010001010111111
+00011000000000000111110000000000
+00100000011000000000000000000000
+10011000000000000010010000000000
+00011010001000001000110000000010
+11101000110000010000000000000000
+00100000001110100010001010001101
+00100000010000000010001010111111
+00100000001000000010001001111100
+00011111111100010001011000000000
+00011001011011001001011000000000
+00100000001000101010001010100001
+00101001011000000001111000001111
+00100100011000001000000000000000
+00011000010100010001011000000000
+00011001011011001001011000000000
+00100100011000101000000000000000
+01111001001000000000010000011100
+00100000011000000000000000000000
+00011000010100010001011000000000
+00011001011011001001011000000000
+00101001011000000001111000001111
+00100100011000001000000000000000
+01111001001000000111111000011100
+00100000011000000000000000000000
+11000011000000000010001001100110
+00011000000000000111110000000000
+00100000011000000000000000000000
+11000011000000000010001001100110
+00011010001000001000110000000001
+11101000110000001000000000000000
+11000010100000000010001001100110
+00011010001000001000110000010111
+11101000110000001000000000000000
+11000011000000011010001001100110
+00011000000000000111110000000000
+00100000011000000000000000000000
+00011010001000001000110000000001
+11101000110010001000000000000000
+00011100010000100111111000000000
+00101000010011111111111000000001
+00011010001000001000110000000100
+11101000110010100000000000000000
+00100000011000001000000000000000
+00011010001000001000110000001000
+11101000110000110000000000000000
+00100000010000000010100001010100
+00011101000000100111111000000000
+00100000011000000000000000000000
+00011010001000001000110000000010
+00011010001000001000101000000100
+11101000110000010000000000000000
+10011000010000001001011000000000
+00011001011000100111111000000000
+11100000101000100000000000000000
+00100000001000000101010001001001
+11000011000000001010001001100110
+00100000010000000010001010110011
+10011011011000001111111000000000
+10011011011000001111111000000000
+10011000111000001111111000000000
+10011000010001100111110000000000
+00100100001000010010001001100110
+00011000000000000111110000000000
+00100000011000000000000000000000
+11000011000000000010001001100110
+00011000010000100111111000000000
+10011010001001100111110000000000
+00100000001111110010001001100110
+00011010001000001000110000000001
+11101000110000001000000000000000
+11000010100000000010001001100110
+11101010001000001000000000000000
+01111001001111111111111000000111
+11100010001000001000000000000000
+00100000001000000010001001100110
+01000100100101111100000000000101
+00100000010000000010101001001111
+00011100010000001100001000000001
+00100000010000000010100011100010
+00011000000000000100100000000011
+00100000010000000010100011010010
+00100000010000000010101001010001
+00100000010000000010101001010110
+00100000010000000010101001100100
+00100000001000000010011101100010
+01000100100110000100000000000110
+00100000010000000010101001001101
+00011100010000001100001000000001
+00100000010000000010100011100010
+00011000000000000100100000000011
+00100000010000000010100011001100
+00100000010000000010010000101010
+00100000010000000010100111110001
+00100000010000000010101001011011
+00100000010000000010100111101011
+00100000010000000010101000001101
+00100100011011000000000000000000
+00100000010000000010100110111011
+00100000001000000010010100011100
+01000100100110001100000000000110
+01101000000000001000000110000001
+10011000000000000000100000000000
+00011000000000000000001000000001
+00100000010000000010001011011010
+00100000001000000010001011100100
+01101000000000001100000010010011
+11000100000000000000000000000000
+00011000000000000000111000000100
+00100000010000000111111100010110
+00100100011110100000000000000000
+01101000000010010100000010101101
+00011000000000000000111000000100
+00100000010000000010011100011100
+00100000011101000000000000000000
+00100000010000000010001100001000
+00011000000000000000111000000100
+01101000000000010100000010101111
+00100100001011000111111100001000
+00011000000010100111111000000000
+10011110101000010111111000000000
+00100000001000000111111100001000
+01000100100110010100000000000110
+01110000000000011000000100000000
+01111000010110000111110000000000
+01111000010101110111110000000000
+00100000010000000010100010100100
+00011100010000010100001111111100
+00011000000000000100100000000001
+00100000010000000010100011011000
+00100000010000000010100011001100
+01111001010000000000000000011101
+01101000000000001000000000000110
+00011111111000001111111000000001
+01100000000000001000000000000110
+00100000010000000010100011110010
+00100000010000000010100111101011
+00100000010000000010101000010100
+00100100011011000000000000000000
+01000100100110011100000000000110
+00011000000000000011011000000000
+00100000010000000010100011111001
+01101000000000001000000000000111
+00011111111000001111111000000001
+01100000000000001000000000000111
+00100000010000000010100011011000
+00100000010000000010101001001101
+00011100001000011100001000000010
+00011000000000000100100000000001
+00100000010000000010100011010010
+00100000010000000010100011110010
+00100000010000000010101001010001
+00100000010000000010101001011111
+00011100010000100111111000000000
+01100000000000100000000101100001
+00100000010000000010101001100100
+00011000000000000000001000000010
+00011000000000000000100000000000
+00100000010000000010101001101011
+00100000010000000010011101100110
+00100000010000000010001100110010
+00011100001000010100001111111101
+00011100110000001100110000000001
+00100000011000000000000000000000
+01000100100110100100000000000110
+01101000000000001100000011010001
+00100000011110100000000000000000
+11011000101000000000000110001110
+01101000000000001100010100010101
+00011111111000100111001000000000
+00011111111000001111111000000001
+11100000101000001000000000000000
+00011000101000100000010000000000
+00011111111000001111111000000001
+01100000000000010100000111011100
+00011000010000100000101000000000
+01011000000000000000000000001001
+11100000101000001000000000000000
+11011000110000000100010100010110
+00100000010000000111111100000001
+11011010011000000100010110001101
+11011111001000000000000000000100
+00100000010000000010001101010100
+11011010011000000100010101110111
+11011111001000000000000000000001
+00100000010000000010001101010100
+00011000000000000000001000001010
+01110000010000011101101100000010
+01011000000000000000000110001110
+01100000000000010000000101101111
+00100000010000000010101001001101
+00100000010000000010100011010010
+00100000010000000010101001010001
+00100000010000000010101001011111
+00100000010000000010101001100100
+00100000010000000010101001101011
+00100000010000000010011101100110
+00100000011000000000000000000000
+00011000101000100000010000000000
+00011010011000100000110000000000
+11101000110000001000000000000000
+00100000011110100000000000000000
+00011111111000111111111000000000
+11000010000000000010001101011000
+00011111111000100010001000000000
+00011111111000001111111000000010
+00011111111000100000111000000000
+01101000000000010100000111011100
+10011000111000001111111000000000
+01100000000000010100000111011100
+00011000010000100000101000000000
+00011010001000100111111000000000
+00011111111000001111111000000001
+11100000101000001000000000000000
+00011010011000100000110000000000
+11101000110000001000000000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+00011010001000100111001000000000
+00100000001000000111111100000001
+01101000000000001100000010010011
+11000100000000001000000000000000
+00011000000000000000111000000101
+00100000010000000111111100010110
+00100100011110100000000000000000
+01101000000010010100000010110001
+00011000000000000000111000101000
+00100000010000000010011100011100
+00100000011101000000000000000000
+00011000000000000000100000000000
+01110000000000000001000000001000
+01111001001111111000000000001011
+00100000010000000010001101111010
+00011000000000000000111000000101
+01101000000000010100000010110011
+00100000001000000111111100001000
+01000100100110101100000000000110
+01111000010110000111110000000000
+00100000010000000010100010100100
+01101000000000001000000000001000
+00011111111000001111111000000001
+01100000000000001000000000001000
+00011000000000000100110000000000
+00100000010000000010100011100010
+00011100010000001100001000000001
+00011000000000000100100000000010
+01000100100110110100000000000110
+00100000010000000010100011001100
+00100000010000000010100111101011
+00100000010000000010101000010100
+00100100011011000000000000000000
+00100000010000000010100011111001
+01101000000000001000000000001001
+00011111111000001111111000000001
+01100000000000001000000000001001
+00011000000000000011011000000000
+00100000010000000010101001001101
+00011100001000011100001000000010
+00011000000000000100100000000001
+00100000010000000010100011010010
+00100000010000000010101001010001
+00100000010000000010101001011111
+00100000010000000010101001100100
+00100000010000000010011001001101
+00011000000000000000100000000000
+11011001011000000000011000000000
+00110101001100110000001000000000
+00011101000000011101000000000011
+00011100001000010100001111111101
+01000100100110111100000000000110
+00011100110000001100110000000001
+00100000010000000010100011001100
+00100000010000000010100111101011
+00100000010000000010101000000111
+00100100001011000010001110100100
+00100000010000000010101001101011
+00100000010000000010010100011110
+11000101000001011010001110101011
+01000100100111000100000000000111
+01101000000000001000000000010000
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000000000010000
+00100000010000000010101001001111
+00100000001000000010001110011011
+01000100100111001100000000000111
+01111001001111111101000000000001
+01111001001000000101000000000000
+01101000000000001000000000001010
+00011111111000001111111000000001
+01100000000000001000000000001010
+00100000010000000010101001001101
+00011100001000011100001000000010
+00100000010000000010100011010010
+00100000010000000010101001010001
+00100000010000000010101001011111
+00100000010000000010101001100100
+00100000010000000010011001001101
+00101101000000000000011000000011
+00100000001000001010001110111100
+00110111110010111000001000000000
+00100000001000000010001110111000
+01101000000000100000000101100101
+00011111111000011111111000000011
+00011111111000100101000000000000
+01000100100111010100000000000111
+01101000000000110000000101111000
+01100000000000110000000001000000
+00100000010000000010010000110101
+00100000010000000010010001111100
+00100000001101101010001111001000
+00100000010000000010010001010101
+00100100001110100010001111000011
+00100000011000000000000000000000
+01000100100111011100000000000111
+00100000010000000010010001000000
+00100000010000000010001000111011
+00100100011000101000000000000000
+01110000000000000011000100000000
+00100000010000000010100001000001
+00100000001000000010001000100011
+01000100100111100100000000000111
+00100000010000000010100001010000
+00100000010000000010001111110011
+00100000011101000000000000000000
+01000100100111101100000000000111
+00100000010000000010110001101001
+00100000010000000110110010101010
+00100000010000000010010100010100
+00100100001101101010001111100010
+00100000010000000010101010001000
+00100000010000000110110011000010
+00100000010000000010010010001001
+00100000010000000010011101010111
+00100000010000000010011100101000
+00100000010000000101110100001000
+01101000000000001000000000001011
+00011111111000001111111000000001
+01100000000000001000000000001011
+00100000010000000010100001000001
+01000100100111110100000000000111
+00100000010000000010101110110001
+00100000010000000010101001111111
+00100000001000010010001111101011
+00100000010000000010000110100111
+00100100001101000010001111101011
+00100000010000000010011011110011
+00100100001110100010001111010011
+00100000011000000000000000000000
+01000100100111111100000000000111
+01110000000000010101000100000000
+01110000000000010111111100000000
+00100000010000000010010001011101
+01111001001111111000000000010001
+00100000010000000111111110110000
+01101000000000001000000000110000
+00100000011000000000000000000000
+01000100101000000100000000001000
+00100000010000000010000111001001
+00100100011101000000000000000000
+00011000100000100000010000000000
+00100000010000000010101001101111
+01100000000000001000000110000001
+00011000010000100000100000000000
+01110000000000000001000100100000
+01000100101000001100000000001000
+00100000010000000010101001001111
+00011000000000000000001000000010
+00100000010000000010011101001111
+00011100010000100111111000000000
+01100000000000100000000101100001
+00100000010000000010011101100010
+00100000010000000010101001001101
+01111000001101111111110000000000
+00100000010000000010010011110110
+00100000001011000010010000001101
+00100000010000000010100011111001
+00100000010000000010010001010101
+00100100001110100010001111111011
+11000110100000100000000000000000
+01110000000000000111110000110100
+01111001001000000000000000000011
+00100000011000000000000000000000
+01111000001110000111110000000000
+00100000010000000010010000110101
+00100000010000000010100010100100
+01000100101000010100000000001000
+00100000010000000010001011110010
+00100000001011000010010000011001
+00100000010000000010010001010101
+00100100001110100010010000010000
+01111000010110000111110000000000
+00011101000000100111111000000000
+01100000000000100100000011001010
+00100000011000000000000000000000
+01111000001101001111110000000000
+11000101100000100010010000011111
+01111001001111111000000000000100
+01110000000000000111110000000011
+01110000000000000111110100110011
+00100000010000000110001011111000
+00011000100000100111111000000000
+01100000000000001000000001110111
+00011000000000000111111000000000
+01100000000000110000000000111000
+01101000000000001000000000110001
+01111001001000000111111000000001
+01100000000000001000000000110001
+00100000010000000010101010001000
+01111000010101001111110000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01000100101000011100000000001000
+01111000010101101111110000000000
+01111001001111111000000000000101
+01111001001111111000000000001010
+01111001001111111000000000010000
+01111001001111111000000000001111
+01101000000000001000000001000111
+01111001001111111111111000000101
+01111001001000000111111000000100
+01100000000000001000000001000111
+00100000011000000000000000000000
+01000100101000100100000000001000
+01110000000000000001000100100000
+01110000000000000100011101010000
+01101000000000010100000010111111
+01100000000000010000000000111110
+00011100010000100111111000000000
+01100000000000100100000011001010
+00100000011110000000000000000000
+00011101000000100111111000000000
+01100000000000100100000011001010
+00100000011000000000000000000000
+01000100101000101100000000001000
+00100000010000000101110100000100
+00100000010000000010010001011001
+01100000000000001000000001000110
+01011000000000000000000000000000
+01100000000000010000001001011101
+01011000000000000001110010000000
+01100000000000010000000001010001
+01101000000000001000000000110000
+01111001001000000111111000000000
+01100000000000001000000000110000
+01110000000000000100101100000000
+01110000000000000100110000000000
+01110000000000001010000000000000
+00100000001000000010101010001000
+01000100101000110100000000001000
+00011000000000000111111000000000
+01100000000001000100000110111110
+11100000101001000000000000000000
+00100000010000000010000111000101
+00100000001000000010001001010100
+01101000000000001000000000010001
+00011111111000001111111111111111
+01100000000000001000000000010001
+00100000011000000000000000000000
+01101000000000001100000011001111
+00011111111000001111111000000001
+01100000000000001100000011001111
+00100000011000000000000000000000
+01000100101000111100000000001000
+01101000000000001100000111001110
+11000000000000011010010001100010
+01101000000000001000000001001000
+11000000100000001010010001100110
+00100000010000000100110100000110
+00100100001000101010010001100110
+00100000010000000010000110100100
+01110000010000011100111000000000
+01000100101001000100000000001001
+00100000010000000011001110101111
+00100000010000000010011011101001
+01110000000010101001100100000010
+00100000010000000111110110000110
+00100000010000000101110011110111
+00100000010000000100110101101011
+00100000010000000111010101111101
+01101000000000001000000000110000
+01111001001111111111111000000000
+01100000000000001000000000110000
+01110000010001101000000100000000
+01101000000000001000000001001100
+00101111111000011000000000000000
+00100000001000001010010001110110
+01111001001111111000000000000001
+01101000000000001000000001000111
+11000011000000011010010001111000
+01101000000000001000000001001011
+11000100000000110000000000000000
+01111001001111111000000000000010
+00100000011000000000000000000000
+01000100101001001100000000001001
+01101000000000001000000101110100
+00100000011110100000000000000000
+00011111111000100000100000000000
+00100000010000000010010100010100
+00100100011101101000000000000000
+00011000000000000000001000000000
+00100000010000000010011101010111
+00011000100000100111111000000000
+01100000000000001000000001110111
+00011000000000000111111000000000
+01100000000000001000000101110100
+00100000011000000000000000000000
+01000100101001010100000000001001
+01101000000000001000000000110000
+11000011000000010010010010010110
+00011000000000000000001000000111
+11000101100000111010010010010101
+00100000010000000010011100100101
+00100100001000001010010010010110
+00100000001101110010010010010110
+00100000010000000010010011000001
+01011000000000000000000000000010
+01100000000000010100000011001000
+00100000011000000000000000000000
+00100100011101110000000000000000
+01000100101001011100000000001001
+00100000010000000010001001000011
+00100100001000101010010010100111
+01101000000000001000000001000111
+11000011000000011010010010110000
+11000101000000101010010010110100
+01101000000000001000000101111111
+11000010100000110010010010111010
+01101000000000010100000011001000
+00011111111000001111111111111111
+01100000000000010100000011001000
+00100000001110100010010010100101
+01101000000000001100000011000101
+10011000000000000000001000000000
+00100000011000000000000000000000
+01000100101001100100000000001001
+00100000010000000010011010000111
+00100000010000000010011100100101
+00100000001000001010010010110000
+00100000010000000110000000001010
+00100000001101000010010010111110
+01101000000000001000000001001011
+11000010100000110010010011000000
+11000101000000101010010010110100
+01101000000000001000000101111111
+11000010100000110010010010111010
+00011000000000000000001000000001
+00100000011101001000000000000000
+00011000000000000000001000000000
+00100000011000000000000000000000
+01000100101001101100000000001001
+01101000000000001000000000011001
+10011000000000000000001000000000
+11000001100000001000000000000000
+00011000000000000000001000000000
+00100000011000000000000000000000
+01101000000000001000000101011000
+00011111111000010000001000001111
+01111001001000000000000000000101
+00100000011000000000000000000000
+00011000000000000000001000010011
+00100000001000000010010011000001
+00100000010000000010010011001010
+01000100101001110100000000001001
+01101000000010001000000001000111
+01111001001000000000010000000011
+01100000000010001000000001000111
+00011000001000100111111000000000
+01100000000000001100000011000101
+01011000000000001111111111111111
+01100000000000010100000011001000
+00100000011000000000000000000000
+01000100101001111100000000001001
+01101000000000001000000001001100
+00101111111011111111111000000101
+01101000000000010100000111011100
+00100000001000001010010011100000
+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
+01101000000000001000000000110000
+11000011000000001010010011110101
+01101000000000010000000000110010
+00100000001110100010010011110101
+00100100001101110010010011110111
+00100000010000000010101001001111
+00011101000000001100001000000001
+01111000001010000111110000000000
+01101000000000010000000000111110
+00011111111000110111111000000000
+11011000010000000000010100000000
+10011000010000001111111000000000
+00100000010000000010101000100100
+00100000010000000010100011101010
+00011000000000000100100000000011
+00100000010000000010100011001100
+00100000010000000010010000101010
+00100000010000000010100111110001
+01000100101010000100000000001010
+01101000000000010000000000111110
+00011111111000110111111000000000
+00100000010000000010101000100100
+00100000010000000010100111101011
+01111000001001101111110000000000
+01101000000000010000000000111110
+11011000010000000000001110111011
+10011000010000001011011000000000
+00110111110000011000010000000000
+00011011010000100000010000000000
+01100000000010110000000010011010
+01111000010001101111110000000000
+00100100011011000000000000000000
+11011101001000000000001110111011
+00011100001000100101000000000000
+00100000001101011010101100000101
+00100000011000000000000000000000
+01000100101010001100000000001010
+00100000010000000010010011110000
+00100100001011000010100011111001
+00100000010000000010100110111011
+11000101100010001010010100011100
+01101000000000010000000011110110
+00011111111000001111111000000001
+01100000000000010000000011110110
+00011100001000110000010000000000
+00011000010000011001110001000000
+01000100101010010100000000001010
+01111000001000111111110000000000
+01111000001001010111110000000000
+01111000001001011111110000000000
+00001001100000000000000000000011
+00011001100011001111111000000000
+01100000000000001000000101011101
+00001001100000000000000000000100
+00001000000000001000000000000111
+00011001100000100111111000000000
+01100000000000001000000000011001
+00001001100000000000000000000011
+00011001100011001111111000000000
+01100000000000001000000101011110
+01101000000000001000000000011001
+00011111111001100111110000000011
+00100000001000010010010100110011
+11000000000000111010010100110011
+01101000000000001000000001001100
+00101111111011111111111000000101
+01111001001000001010101000000001
+01000100101010011100000000001010
+00001001100000000000000000001000
+01111000010001011111110000000000
+01111000010001010111110000000000
+00100000001000110010011000110001
+11000101100010001010010100111100
+01101000000000010000000011111000
+00011111111000001111111000000001
+01100000000000010000000011111000
+01000100101010100100000000001010
+01101000000000001000000101011101
+00101111111000000000111000000000
+01111001001000001000000000001010
+00100000001000001010010101001100
+10101000100000000000111000000000
+00100000001000001010010101001011
+11000101100000111010011001001101
+01101000000010001000000010110000
+10101000010000000000111000000000
+00100100001000001010011001001101
+01101000000000001000000001000111
+01111001001111111111111000000101
+01111001001000000111111000000100
+01100000000000001000000001000111
+01111000001101101111110000000000
+01000100101010101100000000001010
+01101000000000001000000000011001
+00011111111000100000001000000000
+11000101000001010010010101011011
+01101000000010001000000101011110
+01101000000000001000000001000111
+01111001001111111111111000000000
+00101000010011111111111000000000
+01111001001000001111111000000000
+00101000010011111111111000000001
+01111001001000001111111000000001
+01100000000000001000000001000111
+00101000010011000000000000000001
+00100000001000001010010101011011
+00100000010000000010011010000111
+01000100101010110100000000001010
+11011000010000000000000000000000
+00100000010000000010101000011100
+00011000001000010111111000001111
+11000000000000001010010110000111
+11000000000000000010011001001101
+11000000000000010010011001011001
+01101000000010001000000101011110
+01101000000000001000000001000111
+10101000010000000000100000000000
+00100100001000001010010101101001
+11000101100001010010010101101000
+11000011000000111010010101101001
+01111001001000000000000000001111
+01000100101010111100000000001010
+00011000001000100111111000000000
+11000000000000011010010110001001
+11000000000000100010010110001101
+11000000000000111010010101111000
+11000000000001000010010110001100
+11011000010000000000000000000100
+00100000010000000010101000011100
+11000000000001010010010110001000
+11000000000001011010010110001011
+11011000010000000000000000001000
+00100000010000000010101000011100
+11000000000001110010010110001000
+11000000000001111010010110001011
+00100000011000000000000000000000
+01000100101011000100000000001011
+01111000001001101111110000000000
+01111000001001001111110000000000
+01111000001001110111110000000000
+11011000101000000000000011010001
+00011000000000000111001000011110
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+11000010000000000010010101111110
+11000101100000111010011001001101
+00001001100000000000000000010000
+01111101001000110000000000001000
+00100000001000110010011000111101
+00100000001000000010011000100000
+00100000001000000010011001001101
+01111001001000000000000000010000
+01111000001001100111110000000000
+00100000001000000010010110001110
+01111001001000000000000000010000
+01111001001000000010101000000010
+01111000001001101111110000000000
+01000100101011001100000000001011
+11000101000000001010011001001101
+00101010101011000000000000000001
+00100000001000001010010110011010
+01111000010000111111110000000000
+01111000001001101111110000000000
+01111000010001100111110000000000
+00011100010000001001011000000010
+00110100010100110000010000000000
+00100100001011000010011000111101
+01111001001000000000000000010000
+01111000001000111111110000000000
+01000100101011010100000000001011
+01111000001001110111110000000000
+01111000001001001111110000000000
+00001001100000000000000000000011
+00011001100011001111111000000000
+01100000000000001000000110000000
+00001001100000000000000000000101
+11000101000010000010010110100101
+00011001100010010111001000000000
+00011111001010010111001000000000
+00100000001000000010010110101000
+00001001100000000000000000000101
+00011001100000110111001000000000
+00001001100000000000000000000011
+01000100101011011100000000001011
+00011111001000100111111000000000
+01100000000000010000000101011111
+00100000001110100010010111101000
+10011110101001100111110000000000
+00100000001000010010011000111101
+01000100101011100100000000001011
+01111001001111111000000000000000
+01101000000000001000000110000000
+00011111111000010111111000000011
+11011000101000000000010101010001
+11000000000000011010010110111010
+11000101000010001010010111100100
+01101000000000001000000110000000
+00011111111000010111111000000011
+11000000000000010010010110111111
+11000000000000001010010111010011
+00100000001000000010011000111101
+01101000000000010000000101011111
+00011111111001100111110001110000
+00100100001000010010011000111101
+11000101000001111010011000100000
+00100000001000000010010111100100
+01000100101011101100000000001011
+11000101000001111010011000100000
+01101000000000010000000101011111
+11011000010000000000001011100000
+10011000010001100111110000000000
+00100000001000010010011000111101
+01101000000000001000001001100011
+11000011000000000010010111001001
+11000011000000001010010111001110
+00100000001000000010011001001101
+01110000000000100110000100000001
+01101000000000010000001001011101
+11000000100000000010011001001101
+11011000101000000001000000000000
+00100000001000000010010111100100
+01110000000000100110000100000010
+01101000000000010000001001011111
+11000000100000000010011001001101
+11011000101000000001010000000000
+00100000001000000010010111100100
+01000100101011110100000000001011
+11000101000001111010011000100000
+01101000000000010000000101011111
+11011000010000000000001011100000
+10011000010001100111110000000000
+00100000001000010010011000111101
+01101000000000001000001001100001
+11000000000000001010010111011101
+11000000000000010010010111100001
+00100000001000000010011001001101
+11011000101000000001000000000000
+01101000000000010000001001011101
+10011000101000001000101000000000
+00100000001000000010010111100100
+11011000101000000001010000000000
+01101000000000010000001001011111
+10011000101000001000101000000000
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+11000010000000000010010111100100
+01000100101011111100000000001011
+00001001100000000000000000010000
+00100000001000110010011000110111
+01101000000000001100001101100011
+11000000000000001010011001001101
+11000101000010001010011000001101
+11000101000001111010011001001010
+01101000000000001000000110000000
+00101111111000000000011000000011
+00100000001000001010011000001101
+01101000000000010000000101011111
+00100000001110100010011000001101
+01000100101100000100000000001100
+01101000000000001000001001100001
+11000000000000001010010111111001
+11000000000000010010011000000011
+00100000001000000010101010001100
+01101000000000010000001001011101
+01101000000010010000000101011111
+10011000010000001111111000000000
+01100000000000010000001001011101
+11000000000000000010101010001100
+01101000000010010001000000000000
+00011000010000001000010000000100
+10011000010001100111110000000000
+00100000010000101010011101000111
+00100000001000000010011000001101
+01101000000000010000001001011111
+01101000000010010000000101011111
+10011000010000001111111000000000
+01100000000000010000001001011111
+11000000000000000010101010001100
+01101000000010010001010000000000
+00011000010000001000010000000100
+10011000010001100111110000000000
+00100000010000101010011101001011
+00100000001000000010011000001101
+01000100101100001100000000001100
+01101000000010001000000001001100
+01101000000000001000000110000000
+00101111111000000000011000000011
+01111001001000001000010000000110
+01111101001000001000010000000111
+01100000000010001000000001001100
+00100100001000001010011000010110
+01111001001000000000000000000001
+11000101100010001010011000100000
+00101000010011111111111000000110
+00100000001000001010011000100000
+01101000000000010000000011111010
+00011111111000001111111000000001
+01100000000000010000000011111010
+01111001001000000000000000000101
+01111001001111111000010000000111
+01111001001111111000000000000001
+01100000000010001000000001001100
+01000100101100010100000000001100
+01101000000010001000000101011110
+01101000000000001000000001000111
+01111001001000000111111000000101
+00101000010011111111111000000010
+01111001001000001111111000000010
+00101000000011111111111000001010
+01111001001000001111111000000111
+01100000000000001000000001000111
+01101000000000010000000101011111
+00100100001110100010011001001101
+01101000000000001000000001001100
+01111001001111111111111000000111
+01100000000000001000000001001100
+01101000000000001000000110000000
+00101111111000000000111000000001
+00100000001000000010011001001101
+01000100101100011100000000001100
+01111000010101101111110000000000
+01101000000000010000000000011010
+00011111111000001111111000000001
+01100000000000010000000000011010
+00100000001000000010011001001101
+01101000000000010000000000011100
+00011111111000001111111000000001
+01100000000000010000000000011100
+00100000010000000010011000111110
+11000101100010001010011000111101
+01111001001000000000000000000101
+00100000001000000010011001001101
+01000100101100100100000000001100
+01101000000000001000000110000000
+00101111111000000000011000000011
+00100100001000001010011001000110
+01101000000010001000000001001100
+01111001001111111000010000000110
+01100000000010001000000001001100
+00100000011000000000000000000000
+01101000000010001000000001001100
+01111001001111111000010000000111
+01100000000010001000000001001100
+00100000001000000100110000001011
+01101000000000001000000001000111
+01111001001000000111111000000101
+01100000000000001000000001000111
+01000100101100101100000000001100
+01111000010011101111110000000000
+01111000010011100111110000000000
+01111000010001101111110000000000
+01111000010001100111110000000000
+01111000010001001111110000000000
+01111000010001110111110000000000
+01111000010000111111110000000000
+00100000001100001010100011111001
+00110111110100111000001000000000
+00100000000000000000000001100100
+00100000001000000010100011111001
+01000100101100110100000000001100
+01111000001001001111110000000000
+01111000001001100111110000000000
+00001001100000000000000001001000
+00101111111011111111111000111010
+01111001001000001000000000000000
+00011100000000100000010000000000
+01010111111000000100000000000000
+01010111111000000011110000000000
+01111000001010101111110000000000
+00111000000010111111111111111111
+00111000000011001111111111111111
+00100000000000000000000000100000
+00101001101010000000000000000000
+00011101100000100111111000000000
+01100000000000011000000101111000
+00011101101000100111111000000000
+01100000000000001000000101111011
+00011000010000100100000000000000
+00100000001000001010011001101110
+00100000001000000010011000111101
+01000100101100111100000000001100
+00001001100000000000000001001000
+01010111111000000011111000000000
+01010111111000000000100000000000
+01010111111000000101110000000000
+01010111111000000010010000000000
+00011000000000000111111000000000
+00001001100000000000000000010000
+00100000001000110010011000111101
+01011111111111111111111111111100
+10011010010000010111111000000000
+01100000000000100000000101100101
+00011011101000100111111000000000
+01100000000000011000000101110101
+00011011100000100111111000000000
+01100000000000001000000101110011
+00011000100000100111111000000000
+01100000000000001000000101110100
+00011101110000100111111000000000
+01100000000000010000000101111100
+00011100001000100111111000000000
+00001000000000001000001000100000
+00101000001000000001111000000010
+01111001001000001000000000001011
+00100000001000000010011001001101
+01000100101101000100000000001101
+01101000000000001000000001000111
+11000100000000011000000000000000
+01111001001111111111111000000011
+01111001010000000111111000000110
+01100000000000001000000001000111
+01101000000000001100000011000101
+11000000000010011010011010011100
+11000001000000111000000000000000
+01101000000000001000000001001011
+11000100000000110000000000000000
+01111001001111111111111000000110
+01111001001000000111111000000111
+01100000000000001000000001001011
+01111001001111111000000000000010
+01101000000000010100001001000110
+00100100011110100000000000000000
+01101000000000001000000001001011
+01111001001111111111111000000111
+01100000000000001000000001001011
+00100000001000000101001001011101
+01000100101101001100000000001101
+01101000000000001000010010110111
+00011111111000110111111000000000
+11000000000010001010011010111000
+11000000000010010010011011000000
+11000000000011000010011011101001
+11000000001111111010011010101000
+11000001100000011000000000000000
+01101000000000001000010010111000
+11000000000101011010011010110000
+11000000000010001010011010101011
+00100000011000000000000000000000
+01101000000000001000010010111000
+01111001001000000111111000000111
+00100000011000000000000000000000
+00100000011101001000000000000000
+01101000000000001000000000110000
+11000011100000100000000000000000
+01110000000000000111110000110001
+00100000011000000000000000000000
+00100000011101001000000000000000
+01101000000000001000000000110001
+00101111111011111111111000000100
+00100000001000001010011010110101
+00100000011000000000000000000000
+01111001001111111111111000000100
+01100000000000001000000000110001
+00100000011000000000000000000000
+01000100101101010100000000001101
+01101000000000001000000001001100
+01111001001000000111111000000010
+01100000000000001000000001001100
+01110000100000000001000100000001
+01101000000000001000000000110000
+00101111111011111111111000000100
+00100000011000000000000000000000
+01000100101101011100000000001101
+01101000000000001000000001001100
+01111001001111111111111000000010
+01100000000000001000000001001100
+01110000100000000001000100000000
+00100000011000000000000000000000
+01000100101101100100000000001101
+00011100010000100111111000000000
+01100000000000100100001000001100
+00011100010000001010001000000011
+00100000001101001010011011001100
+00011101000000001010001000000011
+01101000000010010000000000110010
+00011010001000100111111000000000
+01111001001111111111111000011011
+10011000010001101111110000000000
+01101000000000010000000001110101
+00100000010000000111111110000110
+00011000000001110010011000000000
+10011010011001100111111000000000
+00100000001000010010011011010110
+10011000010000001111111000000000
+10011010001000001111111000000000
+01100000000000100000000000110100
+01110000010001010101101100000000
+01101000000000001000000000110000
+01111001001000000111111000000001
+01100000000000001000000000110000
+01101000000000001000000001110011
+01100000000000001000000010001010
+01011000000000000000000000000000
+01100000000000011100000101101001
+01100000000000011100000101101100
+01100000000000001100000101011001
+01110000000010101001100100001011
+00100000010000000111110110000110
+01101000000000010100000011000001
+01100000000000010000000000111110
+00100100011101001000000000000000
+00011000100000001000111111111111
+00100000011000000000000000000000
+01000100101101101100000000001101
+01101000000000001000000000110000
+11000100000000001000000000000000
+01111001001111111111111000000001
+01100000000000001000000000110000
+01101000000000010100000010111111
+01100000000000010000000000111110
+01111000010101011111110000000000
+01110000000010101001100100001100
+00100000001000000111110110000110
+01000100101101110100000000001101
+01111000001101110111110000000000
+01101000000000001000000000110000
+11000010100000001010011100000000
+11000110000010001000000000000000
+01101000000000001000000001000111
+11000011100000011000000000000000
+01101000000000001000000001001000
+00100100011110100000000000000000
+01101000000000001000000001001011
+11000011100000110000000000000000
+00011000000000000111111000000000
+00100000011000000000000000000000
+11000011000000010010011100001111
+01101000000000001000000010001010
+11000000000000010010011100000110
+01101000000000001000000001000111
+11000010100000011010011100011000
+11000101100001000010011100011000
+00100100001101001010011100011000
+01101000000000001000000001001000
+00100100001110100010011100011000
+01101000000000001000000011101111
+00011111111000001111111111111111
+01100000000000001000000011101111
+00100100001110100010011011111110
+01110000000000001110111100010000
+00100000001000000010011100011000
+01101000000000001000000010001010
+11000000100000001010011100011000
+01101000000000001000000010001011
+00100000001110100010011100011000
+00011111111000001111111111111111
+01100000000000001000000010001011
+01101000000000001000000001000111
+11000011100000011000000000000000
+00100100011101101000000000000000
+01101000000000001000000010001010
+00011111111000001111111111111111
+01100000000000001000000010001010
+00100000011000000000000000000000
+01000100101101111100000000001101
+01111000010010000111110000000000
+00011000010000100011011000000000
+00100000010000000010001001100000
+01111000010101000111110000000000
+00100100011000101000000000000000
+00011000000000000011011000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101000000000001100000101011000
+10101000100000011111111000000000
+00100000011000000000000000000000
+01000100101110000100000000001110
+01111001001111111000000000000001
+01110000000000100110101000000000
+01101000000000001000001001100011
+00100000011110100000000000000000
+00101111111011111111111000000000
+11011000110000000001000000000000
+00100000010000001100110101111001
+01000100101110001100000000001110
+01101000000000001000001001101010
+11000000000000001010011100111011
+01110000000000100110101000000000
+01101000000000001000001001100011
+11000100000000001000000000000000
+11011000110000000001010000000000
+00100000010000000100110101111001
+01101000000000001000001001101010
+11000000000000001010011101000001
+00100000011000000000000000000000
+01101000000000001000001001100011
+01111001001111111111111000000000
+01100000000000001000001001100011
+01011000000000000000000000000000
+01100000000000010000001001011101
+00100000011000000000000000000000
+01101000000000001000001001100011
+01111001001111111111111000000001
+01100000000000001000001001100011
+01011000000000000000000000000000
+01100000000000010000001001011111
+00100000011000000000000000000000
+01101000000000001000001001100011
+01111001001000000111111000000000
+01100000000000001000001001100011
+00100000011000000000000000000000
+01101000000000001000001001100011
+01111001001000000111111000000001
+01100000000000001000001001100011
+00100000011000000000000000000000
+01000100101110010100000000001110
+00011101000000001100001000000001
+00100000010000000010100011101010
+00011000000000000100100000000011
+00100000010000000010100011010010
+00100000010000000010101001010001
+00100000010000000010101001011111
+00100000001000000010101001100100
+01000100101110011100000000001110
+00100000010000000010101001001101
+00011101000000100111111000000000
+01101000000010100100000011001010
+10011000010001100111111000000000
+11000001100000001000000000000000
+00101000001000000011111000000000
+00100100001000001010011101100001
+01101000000000001000000000011001
+00100000011110100000000000000000
+00100000010000000010011101001111
+00101000001000000011111000010000
+00100000001000001010011001001101
+00011100001000110000010000000000
+00011000010000011001110001000000
+01000100101110100100000000001110
+01111000001000111111110000000000
+01111000001001010111110000000000
+01111000001011011111110000000000
+01111001001111111000000000010000
+00011000100000100111111000000000
+00001000000000001000011000000011
+00011000001000100111111000000000
+00001000000000001000011000000100
+01101000000000001000000001000111
+00001000000000001000000000000100
+00001000000000001000011000000011
+01111000001001000111110000000000
+00001000000000001000011000001000
+01111000010011011111110000000000
+01111000010001000111110000000000
+01111000010001010111110000000000
+01111001001111111010101000000010
+11011000010000000000000000000000
+00100000010000000010101000011100
+01000100101110101100000000001110
+00011000001000010111111000011111
+11000000000010011010011110110100
+11000000000000000010011001001101
+11000000000000001010011001001101
+11000000000000010010011110010111
+11000000000000011010011111000101
+11000000000000100010011111001011
+11000000000000111010011110001100
+11000000000001000010011111001010
+11011000010000000000000000000100
+00100000010000000010101000011100
+11000000000001010010011111000111
+11000000000001011010011111001101
+11011000010000000000000000001000
+00100000010000000010101000011100
+11000000000001111010011111001101
+00100000001000000010011111000111
+01000100101110110100000000001110
+01111000001011101111110000000000
+01111000001001001111110000000000
+01111000001001110111110000000000
+00011000000000000111001000011110
+11011000110000000000000010110011
+11101000110000001000000000000000
+00001000000000001000011000001000
+11000010000000000010011110010010
+11000101000000111010011111110111
+00100000001000000010011001001101
+01000100101110111100000000001110
+01101000000000001000000110000001
+00011111111000100000100000000000
+01101000000000001000000010010000
+00011111111000100011100000000000
+01101000000000011100000010101010
+00011111111000100011101000000000
+01101000000000010100000010100100
+00011111111000100101110000000000
+01111000001001001111110000000000
+01111000001011100111110000000000
+00011100000000100010001000000000
+00100000010000000010100011100010
+01111000001010101111110000000000
+00100000000000000000000000100000
+00011100001000100001011000000000
+01101000000000100000000101100001
+00011111111000100100001000000000
+01010011110000000111111000000000
+01111001001000000111111000111010
+00001000000000001000011001001000
+01010011111000000111111000000000
+00001000000000001000011001001000
+00011001011000100100001000000000
+00011010001000100100000000000000
+01111000001001000111110000000000
+00001000000000001000011000010000
+01111000010001000111110000000000
+00100000001000000010011001001101
+01000100101111000100000000001111
+01111000001001110111110000000000
+01111000001001001111110000000000
+01111000001011100111110000000000
+01101000000000001000010010110110
+00011111111000010000010111111000
+11011000110000000000010010110110
+00011000010000001000010000001000
+00011000010000001010011110111000
+00100100001000010010011111000010
+11101000110001001000000000000000
+00001000000000001000011001001000
+00011010011000100000010000000000
+00100000001000000010011110111100
+11101000110001001000000000000000
+00001000010000011000011000000000
+00100000001000000010011111110111
+01111000001011100111110000000000
+00100000001000000010011111010000
+01111000001011100111110000000000
+01111001001000000000000000010000
+00100000001000000010011111010000
+01111001001000000010101000000010
+01111000001011101111110000000000
+00100000001000000010011111010000
+01111001001000000010101000000010
+01111000001011101111110000000000
+01111001001000000000000000010000
+01000100101111001100000000001111
+01101000000000001000000001001100
+11000011000000101010011111100101
+00011000001001100111110000000011
+00100000001000010010011111100101
+01111000010001110111110000000000
+01111000010011100111110000000000
+01111000001011101111110000000000
+01111000010000111111110000000000
+01111001001000000010101000000001
+00101010101011111111111000000010
+00100000001000001010011111011111
+01011000000010101011111011101110
+00001000000000001000011000010100
+00100000001000000010011111100011
+01011000010111111010111010111010
+00001000000000001000011000011000
+01011000000000000000000000010010
+00001000000000001000011000000110
+01111000001000111111110000000000
+01111001001000000000000000010000
+01111000001001110111110000000000
+01111000001001001111110000000000
+11000101000000101010100000000000
+01101000000000001100000111011011
+00001000000000001000011000000011
+01101000000000010100000111011100
+10011000000000000111001000000000
+11000101000010000010011111101111
+00001000000000001000011000000101
+00100000001000000010011111110000
+00001000000000001000011000001101
+00011111001000100111111000000000
+00100000001110100010011111110111
+01101000000000010000000101101111
+10011000000000000000110000000000
+11101000110000001000000000000000
+00001000000000001000011000001000
+11000010000000000010011111110100
+01111000001001000111110000000000
+00001000000000001000011000010000
+01111000010001000111110000000000
+00100000010000000010010011000001
+01101000000000001000000001001100
+11000011000000101010011001001101
+00011000000000000111111000000000
+00001000000000001000011000000110
+00100000001000000010011001001101
+01000100101111010100000000001111
+11000101000010000010100000001000
+01101000000000001000000110000000
+00001000000000001000011000000011
+01101000000000001000000101011111
+10011000000000000010011000000000
+00001000000000001000011000000101
+00100000001000000010100000001101
+01101000000000001000000110000000
+00001000000000001000011000000011
+01101000000000010000000101011111
+10011000000000000010011000000000
+00001000000000001000011000001101
+11011000110000000000010101010001
+00011010011000100111110000000000
+00100000001000101010100000010100
+11101000110000001000000000000000
+00001000000000001000011000001000
+00011010011000001010011111111111
+00100000001000000010100000001110
+01101000000000010000000011111100
+00011111111000001111111000000001
+01100000000000010000000011111100
+00100000001000000010011111110111
+01101000000000100000000101100101
+00011111111000001010001000000111
+01101000000000010000000101110001
+00100100001110100010100000011110
+00011010001000001010001111111101
+00100000001000000010100000100110
+00011111111011111111111000001100
+01101000000110010000000001000000
+00011000010000001000010000000001
+10011000010001100111111000000000
+00100100001000010010100000100101
+00011010001000001010001111111111
+00100000001000000010100000100001
+00011111111001100111111000000000
+00110111110100011000001000000000
+00101100010000000000011000000000
+00100100001000001010100000100110
+10011000000000000101001000000000
+00011010001000100101000000000000
+10011000000000000101001000000000
+00100000011000000000000000000000
+01000100101111011100000000001111
+00110111110100010000001000000000
+00011011010000100111111000000000
+10011000000000000000110000000000
+00011111111100010111111000000000
+10011100010001100111001000000000
+00011111001000010111001000000011
+00100100001000101010100000110111
+00011000000000000111111000000000
+00100000001000000010100000111011
+11011000010000000000111010100110
+00011000000000000111111000000000
+10011000010000001111111000000000
+11000010000000000010100000111001
+10011000110000001111111000000000
+00011111111001101111110000001100
+00100000010000000111111110000110
+00011000000001111111111000000000
+01100000000000010000000101110001
+00100000011000000000000000000000
+01000100101111100100000000001111
+00011011010000100111111000000000
+00011011001000100000010000000000
+10011000010001100111110000000000
+01111101001000010111111000101100
+10011000010001100000010000000000
+01011000000000000000111010100110
+00101000010011000000000000001111
+00100000001000001010100001001100
+01011111111111110000111010100110
+10011000010000001000010000000000
+01100000000010110000010001000111
+00100000011110110000000000000000
+01100000000010110000000000111000
+00100000011000000000000000000000
+01111000010110000111110000000000
+01101000000000110000010001000111
+00100000001110110010100001010100
+01101000000000110000000000111000
+10011011001000001110000000000000
+00011110000000001110000000001010
+01011000000000000000111010100110
+10011110000001100111111000000000
+00101111111011000000000000001111
+00100000001000001010100001011110
+01011000000000001111000101011010
+10011110000000001110000000000000
+00011110000000100011010000000000
+00100000011000000000000000000000
+00011000000000000111110000000000
+00100000001000000010100001011100
+01000100101111101100000000001111
+00100000010000000010100100011000
+00011100001000100111111000000000
+00011111111000010111111110000000
+00101100100000000000111000000011
+00100100001000001010100001101001
+00011111111010010111111000000000
+10011010111000001111111000000000
+00100000001000000010100001101010
+00011010111000100111111000000000
+00011111111001101111110001001111
+01111000001010101111110000000000
+00100000010000000111111110000110
+00011000000001110010001000000000
+00011010001000001000010111011000
+00100000001000010010100001110010
+00011010001000111000010000000000
+00100000001000000010100001110100
+00011000010000111000010000000000
+00011000010000001000010000000001
+01000100101111110100000000001111
+01101000000000001000000000110001
+11000011000000011010100010000101
+01101000000000100100000011010010
+10011100001001100111110000000000
+00100000001000010010100010000101
+00100000010000000010100010100100
+01101000000000001100000011011001
+00100000011110100000000000000000
+01101000000000001000000000110001
+01111001001000000111111000000010
+01100000000000001000000000110001
+01101000000000101100000011100111
+01100000000000101100000011011010
+11101000110000101000000000000000
+01100000000000101100000011011111
+00100000010000000010100010101001
+01101000000000001000000000110001
+11000100000000010000000000000000
+00101100001011111111111000000001
+00100000001000001010100010100001
+00011000010010010010001000000000
+00011000010000010000111000000111
+01011000000000000100000011011010
+10011010001000001010001000000000
+11101010001000001000000000000000
+10101111111011000000000000000000
+00100000001000001010100010010010
+00011000010000100111111000000000
+00100000001000000010100010011110
+01101000000000001100000011100100
+10011000000000000010010000000000
+00011100001000100111111000000000
+00011111111000010111111110000000
+00011111111010010111111000000000
+10011010111000001111111000000000
+10011010010001101111110000000000
+01011000000000000100000011110010
+00100000010000000111111110000110
+00011000000001110010001000000000
+10011010001000001000110000000000
+11101000110000001000000000000000
+01100000000000001100000011100101
+10011000000000000000010000000000
+00100000011000000000000000000000
+01101000000000001100000011100101
+10011000000000000000010000000000
+00100000011000000000000000000000
+01101000000000001000000000110001
+01111001001111111111111000000010
+01111001001111111111111000000011
+01100000000000001000000000110001
+00100000011000000000000000000000
+01000100101111111100000000001111
+11011000101000000100000011110010
+00011000000000000111001000001010
+00100000010000000111111011000110
+11011000101000000100000011110010
+00011000000000000010011000000000
+00011000000000000000111000000010
+01101000000000101100000011011010
+10011000000000000000010000000000
+00101000111000011111111000000010
+00100000001000001010100010110101
+00011000010000110000010000000000
+00101000010011000000000000000000
+00100000001000001010100010111001
+00011010011000100111111000000000
+11100000101000001000000000000000
+00011000010010110000010000000000
+00011010011000001010011000000010
+00101010011000011111110000101000
+00100100001000001010100011000010
+01101000000000101100000011011111
+10011000000000000000010000000000
+00101000111000011111111000000010
+00100000001000001010100011000010
+00011000010000110000010000000000
+00011010011001100111110001001110
+00100000001000010010100010110101
+00011000000000000010011000000001
+00011000111000001000111111111111
+00100100001000101010100010110000
+11011010001000000100000011110010
+00011000101000100111111000000000
+10011010001001100111111000000000
+01100000000000001100000011100100
+00100000011000000000000000000000
+01000100110000000100000000010000
+00100000010000000010100001100000
+01101000000000001000000101111111
+11000011000000101010100011010001
+01101000000010001000010011001100
+00100000001000000010100100011111
+01000100110000001100000000010000
+00100000010000000010100001100000
+01101000000000001000000101111111
+11000011000000100010100011010111
+01101000000010001000010011001011
+00100000001000000010100100110011
+00011000000000000101101000000000
+01101000000000011100000010100111
+10011000000000000101100000000000
+00100000011000000000000000000000
+01000100110000010100000000010000
+01101000000000001100000111010011
+00011111111000100101101000000000
+01101000000000011100000111010000
+00011111111000100101100000000000
+00100000011000000000000000000000
+01000100110000011100000000010000
+01101000000000010100000010100100
+00011111111000100101110000000000
+01101000000000001100000010100011
+00011111111000100101101000000000
+01101000000000011100000010100000
+00011111111000100101100000000000
+00100000011000000000000000000000
+01000100110000100100000000010000
+01101000000000010000000001000100
+00011111111000100101110000000000
+01101000000000001000000001000011
+00011111111000100101101000000000
+01101000000000011000000001000000
+00011111111000100101100000000000
+00100000011000000000000000000000
+11000101000100000010100011110101
+11000110100011101000000000000000
+11000110100011111000000000000000
+00011101100000010101100100000000
+01111000001010101111110000000000
+00100000000000000000000000100000
+00100000011000000000000000000000
+01000100110000101100000000010000
+00100000001100001010100100001010
+01110000100010010101010111010100
+00100000000000000000000000000100
+01110000100010010101010111010010
+00100000000000000000000000000100
+01110000100010010101010111010001
+00100000000000000000000000000100
+01101000000000001100000111011110
+11000000000000000010100100001000
+11000000000000001010100100010101
+11000000000000010010100100001000
+11000000000000011010100100010101
+11000000000000100010100100010101
+11000000000100000010100100010101
+01110000100010010101010111010000
+01110000100010010101011011100000
+00011000000000000010101000000000
+01111000010100001111110000000000
+01111000010100000111110000000000
+01111000001011110111110000000000
+01110000100010010000001000000000
+01110000100010010000000100000000
+01110000100010010000000000000000
+01110000100010010000001100000000
+01110000100010010000010001110000
+01110000100010010000011000000000
+00100000011000000000000000000000
+01110000100010010101010111010000
+01110000100010010101011011000000
+00100000001000000010100100001010
+01000100110000110100000000010000
+01110000100010010000001000000000
+01110000100010010000000100000000
+01110000100010010000000000011000
+01110000100010010000001110100111
+01110000100010010000010001111111
+00100000011000000000000000000000
+01000100110000111100000000010000
+01100000000010001000000000010111
+00011000010000001010001000000100
+01110000100010010110110100000111
+00100000001000000010100110000001
+01000100110001000100000000010001
+01110000100010010000000111001111
+00100000000000000000000000001010
+01110000100010010000000011111111
+01110000100010010000001110101111
+01110000100010010000010011111111
+00100000000000000000000000001010
+01110000100010010000001010100000
+00100000011000000000000000000000
+01101000000000001100000111100000
+00100000001110100010100100110001
+00011000010000001010001000000010
+00100000011000000000000000000000
+00011000010000001010001000000000
+00100000011000000000000000000000
+01000100110001001100000000010001
+01100000000010001000000000010111
+00100000010000000010100100101101
+00100000010000000010100110000001
+01011000000000000000010100000000
+00100000010000000010101010001111
+01110000100010010000011000000001
+01110000100010010000000000111100
+01110000100010010000000111100000
+01110000100010010110110100010010
+00100000000000000000000000001010
+01110000100010010000001000000001
+01110000100010010000001000111101
+00100000000000000000000000001010
+01110000100010010000001110110111
+00100000000000000000000000001010
+01110000100010010000001001111111
+01101000000000001100000111011110
+11000000000000000010100101001011
+11000000000000001010100101001111
+11000000000000010010100101010011
+11000000000000011010100101010111
+11000000000000100010100101011011
+11000000000100000010100101011111
+01110000100010010101011011110000
+00100000010000000010100101100101
+01110000100010010101010111011000
+00100000011000000000000000000000
+01110000100010010101011011011111
+00100000010000000010100101100101
+01110000100010010101010111011111
+00100000011000000000000000000000
+01110000100010010101011011111111
+00100000010000000010100101100101
+01110000100010010101010111011111
+00100000011000000000000000000000
+01110000100010010101011011001110
+00100000010000000010100101100101
+01110000100010010101010111011000
+00100000011000000000000000000000
+01110000100010010101011011001011
+00100000010000000010100101100101
+01110000100010010101010111011000
+00100000011000000000000000000000
+01110000100010010101010111010000
+01110000100010010101011011000000
+01110000100010010101011101001100
+01110000100010010101100001101100
+01110000100010010101100101010000
+00100000011000000000000000000000
+00100000000000000000000000000100
+01110000100010010101010111010001
+00100000000000000000000000000100
+01110000100010010101010111010010
+00100000000000000000000000000100
+01110000100010010101010111010100
+00100000011000000000000000000000
+01110000100000000100001000000110
+01101000000000010100000011000011
+11000011000001110010100101101101
+10011000000000000000110000000000
+11011000010000001000100100000000
+11101000110000001000000000000000
+11000000011111111010100101110111
+10011000010000011000101000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+00100000001000000010100101110001
+01000100110001010100000000010001
+00100000010000000010101111100101
+00100000010000000010100111001001
+01011000000000000000011111010000
+10011100010000001111111000000000
+01100000000000100000000101101001
+01111001001000000010101000000011
+00011000000000000010101000000000
+00100100010101011010100110011000
+00100000001000000010100110101011
+01000100110001011100000000010001
+01011000000000000000100101100000
+10011010001000001000010000000000
+01101000000000001100000010111101
+01110000100010010101111100000100
+10011000010011111111111000000000
+01101000000010001100000010111110
+10011000010001101111110000000000
+00100000010000000111111110000110
+00011000000001111010001000000000
+00011000000001110111111000000000
+00011111111100000111111000000000
+00011111111100100111111000000000
+10011000010001101111110000000000
+00100000010000000111111110000110
+00011000000001111111111000000000
+00011111111011010111111000000000
+00011111111000111111111000000000
+10011010001000011111111000000000
+01100000000100100000100101100000
+01110000100010010101111101000100
+01110000100010010101111111000100
+00100000011000000000000000000000
+01000100110001100100000000010001
+01110000100010010000011000000010
+01011000000000111101000010010000
+00100000010000000010101010001111
+01110000100010010000000001111111
+00100000000000000000000010000010
+01110000100010010101001000110000
+01110000100010010000000111010000
+01110000100010010101001001110000
+01110000100010010101001011110000
+00011000000000000111001000110010
+01101000000100001000100110000000
+11000010100000101010100110100110
+11000010000000000010100110100011
+01100000000000001100000011001110
+01110000100010010000000100000000
+01110000100010010000000000000000
+01110000100010010000011000000000
+00100000011000000000000000000000
+01000100110001101100000000010001
+01101000000000001100000011001110
+01111001001000000111111000000101
+01100000000100001000100101010010
+01101000000110001000100101010000
+00011000010000010000010000000111
+00011111111010011111111000000000
+10011000010000011111111000000000
+01100000000100001000100101010000
+01101000000100001000100101010001
+01111001001111111111111000000000
+01100000000100001000100101010001
+01101000000100001000100101010010
+01111001001111111111111000000101
+01100000000100001000100101010010
+00100000011000000000000000000000
+01000100110001110100000000010001
+01101000000100010000100110000001
+00011111111100011111111000000000
+00011111111010010111111000000000
+00011111111001100111111000000000
+00011111111000010111111011111111
+00011111111001101111110000001010
+00100000010000000111111110000110
+00011000000001111111111000000000
+00011111111100100111111000000000
+00011000000001110000010000000000
+10011000010000011111111000000000
+01100000000000001000000000011000
+00100000011000000000000000000000
+01110000100000000100001000000110
+01101000000100001000100101101011
+01111001001111111111111000000100
+01111001001111111111111000000101
+01100000000100001000100101101011
+01110000100010010000010100000000
+01110000100010010000010000000000
+01110000100010010000010001110000
+01110000100010010000010111111111
+01101000000100001000100101101011
+01111001001000000111111000000100
+01111001001000000111111000000101
+01100000000100001000100101101011
+00100000010000000010100111101001
+01101000000100001000100101101000
+01111001001000000111111000000111
+01100000000100001000100101101000
+01111001001111111111111000000111
+01100000000100001000100101101000
+01111001001000000111111000000111
+01100000000100001000100101101000
+01110000100000000100001000000101
+00100000000000000000000000000001
+01110000100000000100001000000100
+01101000000100001000100101101011
+00011111111000010111111011001111
+01100000000100001000100101101011
+00011111111000011111111000110000
+01100000000100001000100101101011
+00100000011000000000000000000000
+01011000000000000000111100001111
+00100000001000000010110000011000
+01011000000000000000100000001111
+00100000001000000010110000011000
+01000100110001111100000000010001
+00100000010000000010100100100100
+01111000010100000111110000000000
+01111000001100001111110000000000
+01111000001010110111110000000000
+00100000011000000000000000000000
+01000100110010000100000000010010
+01101000000000001000000001001100
+00101111111011111111111000000010
+01111001001000001111111000000000
+01100000000100001000000000010001
+11011000110000000000000001100010
+11101000110001001000000000000000
+10011000000000000110010000000000
+11101000110000111000000000000000
+10011000000000000110011000000000
+01101000000000001000000001010100
+00011111111000001110100111111111
+01111000001011010111110000000000
+00100000011000000000000000000000
+00011011010000100111111000000000
+01100000000000110000000010011010
+01111000010001101111110000000000
+00100100001011000010100011111001
+11011101001000000000001110111011
+00011101000000001101000000000001
+00011101000000010101000111111100
+00100000011000000000000000000000
+01111000001001101111110000000000
+00110111110010111000010000000000
+00100000001011000010100111111111
+00101101000000000000010000000010
+00100100001000001010101000001000
+00100000001000000010100111111111
+01000100110010001100000000010010
+11011001011000000000011000000000
+01111000001001101111110000000000
+00110100011100110000010000000000
+01111000010001101111110000000000
+00100100001011000010100011111001
+00100000011000000000000000000000
+01000100110010010100000000010010
+01111000001001101111110000000000
+00110111110000011000010000000000
+01111000010001101111110000000000
+00100100001011000010100011111001
+11011101001000000000001110111011
+00011101000000010101000111111100
+00100000011000000000000000000000
+01000100110010011100000000010010
+10011000000000000010001000000000
+00011100001000100111111000000000
+10011000010000001001011000000000
+00011001011000100111111000000000
+01100000000000100100000011001010
+00011010001000100111111000000000
+00100000011000000000000000000000
+00011111111000100000010000000000
+01000100110010100100000000010010
+00011000010000100111111000000000
+00100000010000000111111101010000
+00011100001100000111111000000000
+01111001001000000111111000101100
+00100000010000000111111100111001
+01111001001111111111111000101100
+00100000010000000010101001110111
+00100000010000000111111100111001
+00100000011101000000000000000000
+00100000010000000111111101000011
+10011000000000000011011000000000
+00110111110000011000001000000000
+00100000011000000000000000000000
+01000100110010101100000000010010
+00100000001110000010101000111000
+00110101001100110000001000000000
+00011101000000100000010000000000
+00100000001000000010101000111011
+00100000001101110010101000111010
+00110100011100110000001000000000
+00011100010000100000010000000000
+00100000001101000010101001000111
+00101000010000000000011000000001
+00100100001000001010101000110011
+01000100110010110100000000010010
+01101000000000001000000000110000
+11000100000000000000000000000000
+01101000000000100100000011001010
+10011000010001100111111000000000
+00100100011000010000000000000000
+00011111111001100111110011111111
+00100000001000010010101000110011
+00100000011000000000000000000000
+00101000010000000000011000000011
+00100100001000001010101000110011
+00100000001000000010101000111110
+01000100110010111100000000010010
+11011001011000000000011000000000
+00100000001000000010101000110011
+01111000010101000111110000000000
+00100000001000000010101001001010
+01111000001101000111110000000000
+00100000001000000010101001001010
+01000100110011000100000000010011
+00100000010000000010100111110001
+01111000010100001111110000000000
+01111000001100000111110000000000
+00100000011000000000000000000000
+01000100110011001100000000010011
+11011001011000000000111001000011
+00110100011100110000001000000000
+01111000001010110111110000000000
+00100000011000000000000000000000
+01000100110011010100000000010011
+11011001011000000000110100000000
+00110100011100110000001000000000
+00100000011000000000000000000000
+01000100110011011100000000010011
+11011001011000000000111001000011
+00110101001100110000001000000000
+01111000001010110111110000000000
+00100000011000000000000000000000
+01000100110011100100000000010011
+01010001001000000111111000000000
+01111000001011101111110000000000
+01111001001000000010101000000000
+00001000000000001000011001001000
+01111000010011101111110000000000
+00100000011000000000000000000000
+00011100101000100000010000000000
+00011000010000011000010001100000
+00011000010000100001110000000000
+00100000011000000000000000000000
+01000100110011101100000000010011
+01101000000000001100000010010000
+00011111111000001111111000000001
+11000000100000111010101001110100
+00011000000000000111111000000001
+01100000000000001100000010010000
+10011000000000000000100000000000
+00100000011000000000000000000000
+00011011001000100000010000000000
+00100000011101001000000000000000
+00011011010000100000010000000000
+00100000011000000000000000000000
+00011100010000100111111000000000
+00100000011101001000000000000000
+00011101000000100111111000000000
+00100000011000000000000000000000
+01000100110011110100000000010011
+01101000000010100000000001001101
+00100000010000000010101001111011
+10011000010001100001011000000000
+00011001011000100111111000000000
+01101000000010010000000001010001
+00011000010000111000010000000000
+10011000010001100111111000000000
+00100000011000000000000000000000
+01000100110011111100000000010011
+00100000010000000010101001111011
+01100000000000100000000001001101
+00100000011000000000000000000000
+01000100110100000100000000010100
+00100000001000000010101010001100
+00100000001000000010101010001110
+00100000011110100000000000000000
+00011111111000110111111000000000
+00011111111000001111111111111101
+00011111111000001111111111111111
+00100100001000101010101010010010
+00011000000000000111111000000000
+00100000011000000000000000000000
+11011111001000000000000000010000
+11011000101000000000000000000000
+00100000010000000111111011000110
+11011000101000000000010000111111
+11011111001000000000000000001010
+00100000010000000111111011000110
+01110000000010011011001000000000
+01110000000010101001100100000000
+01110000000001001000110000000000
+01110000000000010111111100000000
+01110000000001001101000100000000
+01000100110100001100000000010100
+01110000000000010110110100000000
+01110000000000010101000100000000
+01110000000000010101110000000000
+01011000100111101000101100110011
+01100000000000011100000010100111
+01011000000000000000000101010011
+01100000000000010000000010000011
+01110000000000001000010100011110
+01110000000000001000011000000001
+01110000000000001000100000000111
+01011000000100101110100100000100
+01100000000000011000000010000000
+01110000000000001001000001100000
+01110000010000001101000000000101
+01110000000000000001010000000010
+01101000000000001100011001011010
+00100100010110100111010011000001
+01101000000000001100010010111110
+00100100010110100111010100011000
+01000100110100010100000000010100
+00100000011101011000000000000000
+01011000000000000000000000000000
+01100000000000010100000111011100
+00011100010000110111111000000000
+01100000000000100100000010010100
+00100000011000000000000000000000
+01011000000000001110111000100001
+01100000000100010000000001010000
+01101000000100100000000100011100
+01100000000000100000101010111110
+01101000000100001000000100111110
+01100000000000001000101010111101
+11000011000000011110010001011011
+01111000001101011111110000000000
+11000011000000111010101011001100
+01111000010101011111110000000000
+00011100111000100111111000000000
+00100100001110100010101011001100
+01101000000100001000000100111011
+11000010100000010010101011001100
+11011000010111111111111111111111
+00100000001000000010101100111100
+01101000000100011000000100111100
+01100000000100011000000001001100
+11101000110000001000000000000000
+00011111111000011111111011101111
+11100000101000001000000000000000
+00100000010000000010110000100011
+01101000000100001000000001001111
+01111001001000000111111000000100
+01100000000100001000000001001111
+00100000010000000010110000100011
+00100000010101011010101011011111
+01101000000100001000000001001110
+01111001001111111111111000000011
+01100000000100001000000001001110
+00100000010000000010110000100011
+00100100001101011110010001011011
+11000110100101011000000000000000
+01110000100000000000011000001000
+00100000011000000000000000000000
+01101000000000001100000110011000
+01100000000100001000000010000110
+01101000000000011100000110001101
+01100000000100011000000010000000
+01101000000000100100000110000001
+01100000000100100000000001110100
+01101000000000100100000101111101
+01100000000100100000000001110000
+01101000000001000100000110000101
+01100000000101000000000001111000
+01101000000001000100000110010000
+10011000000000000000000000000000
+01101000000101000000000101000000
+01100000000001000000000010100001
+00100000010000000110010011001010
+00100000011000000000000000000000
+00011000000000100111111000000000
+01100000000001000100000110010000
+01101000000101000000000001110000
+01100000000001000100000101111101
+11101000110001000000000000000000
+11100000101001000000000000000000
+01101000000100011000000010000000
+01100000000000011100000110001101
+01101000000100001000000010000110
+01100000000000001100000110011000
+00100000001000000010110000101001
+01101000000100001000000001100011
+00100100001110100010101100000000
+01101000000000011100000101101111
+00100100011110100000000000000000
+01110000100000000110001111000000
+01110000100000000000011010000000
+01101000000100001000000100101101
+11000100000000001000000000000000
+01101000000100011000000101001001
+01100000000000011100000101101111
+00100000011000000000000000000000
+01000100110100011100000000010100
+00011011010000100111111000000000
+00100000010000000111111100110111
+01101000000010100100000101011111
+00011000010001100111110011111111
+00100000011000010000000000000000
+00011111111011010111111000000000
+00011111111100100111111000000000
+10011000010001101111110000000000
+00100000010000000111111110000110
+00011000000001111111111000000000
+11011000010000000000000011001000
+00100000010000000111111110010001
+01100000000000001000000010011001
+00100100001101000010101100010101
+00011111111001100111111000000000
+01101000000010011100000101101111
+10011000010000001111111000000000
+01100000000000011100000101101111
+01011000000000000000000000000000
+01100000000000100100000101011111
+00100000011000000000000000000000
+01101000000000001100000101110111
+01111001001000000111111000000010
+01100000000000001100000101110111
+00100000001000000010101100100011
+11011000010111111111111111111111
+01101000000000001100000101110110
+01111001001111111111111000000111
+01100000000000001100000101110110
+01000100110100100100000000010100
+00100000010000000010110000101001
+01101000000000001100000101010111
+01100000000000001100000101111100
+01101000000000001100000101111010
+01111001001000000111111000000111
+01100000000000001100000101111010
+01000100110100101100000000010100
+00100000010000000010100111100111
+01101000000000100100000101011111
+10011000010000001111111000000000
+01100000000000100100000101011111
+00100000010000000010101011101111
+01101000000000101100000101111000
+01100000000100100000000001001100
+00011111111011110010001000000000
+00110111110110011000001000000000
+00011011001000100111111000000000
+01100000000000110100000101100011
+01110000100000000000010100000010
+00110111110110011000001000000000
+00110111110110011000001000000000
+00011010001000100111111000000000
+01100000000100001000000001001111
+01110000100000000000010100000010
+00110111110110011000001000000000
+00110111110110011000001000000000
+01100000000110100000000001001100
+01110000100000000000010100010000
+00110111110111111000001000000000
+01000100110100110100000000010100
+01011000000000000000000000000000
+00011100111000100111110000000000
+00100000001000101010101101001100
+01101000000100001000000100111100
+01101000000110001000000100111101
+10011000010001100111110000000000
+00100000001000010010101101001010
+00011000010000100111111000000000
+10011100111001100111111000000000
+00011111111000001111111000000001
+00011111111000001111111000001000
+00110111110110011000001000000000
+10011110001000001111111000000000
+01101000000010100100000101011011
+10011000010000001111111000000000
+01101000000010011100000101101111
+10011000010011111111111000000000
+00011111111011001111111000000000
+00011111111100011111111000000000
+00011111111000001111111001101110
+11011000010000000000111010100110
+10011000010001101111110000000000
+00100000010000000111111110000110
+00011000000001111111111000000000
+00011111111100000111111000000000
+00011000000001110000010000000000
+10011000010000011111111000000000
+01101000000010110100000101100011
+00100000010000000111111100101100
+00011000010000100011001000000000
+01101000000000110100000001001000
+00100000010000000010100001010100
+00011011010000100111111000000000
+01100000000000110000101010011010
+00011100111000100111111000000000
+11100000101000001000000000000000
+01101000000100001000000100011101
+00011111111000011111111011110000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01000100110100111100000000010100
+00100000010000000010101011111010
+01101000000000011100000101101111
+00100000011110100000000000000000
+01101000000000001100000010010001
+00100000011110100000000000000000
+01101000000000001100011001011010
+00100000001110100010101101110100
+01101000000000001100010110110001
+00100000011110100000000000000000
+01101000000000001100010011000000
+00100100011110100000000000000000
+00100000010000000010110000111010
+00100100011110100000000000000000
+01101000000000001100000001000000
+00101111111000000000111000000011
+00100100001000001010101110011101
+01101000000000010100000001000010
+00100000011110100000000000000000
+00100000011101011000000000000000
+01000100110101000100000000010101
+01101000000010001000000010100000
+01101000000000010100000001000010
+10011000010011111111111000000000
+00011000010100011000010000000000
+00011000010010110000010000000000
+10011000010001100111111000000000
+01101000000010100100000001000100
+10011000010000001111111000000000
+01101000000010001100000101010110
+10011000010001100111111000000000
+00011111111100000110000000000000
+01000100110101001100000000010101
+01101000000000010100000001001110
+00011111111000110111111000000000
+00100000010000000111111101010000
+00011110000000100111111000000000
+00100000010000000111111100111001
+00011011010000100000010000000000
+00100000010000000111111100110111
+00100000011101000000000000000000
+00100000010000000111111101001001
+01000100110101010100000000010101
+01101000000000001100000101111000
+10011000010001100111110000000000
+00100000001000010010101100011000
+01100000000010100100000101011011
+00100000010000000011001100101000
+00100000010000000101001011111011
+01101000000010100100000101011011
+00100000001000000010101100101010
+01000100110101011100000000010101
+01101000000000001100000001000000
+11000011100000000000000000000000
+11000011100000011000000000000000
+01101000000000001100011001011010
+00100000001110100010101110100101
+01101000000000001100010110110001
+00100000011110100000000000000000
+01000100110101100100000000010101
+01101000000000001100001101101110
+00100100001110100010101110101010
+01101000000000001100000010010011
+00100000011110100000000000000000
+01101000000000010100000101010100
+00100000011110100000000000000000
+01101000000010001100000101010110
+10011000010001100111111000000000
+11011000010000000001110101001100
+10011000010011111111111000000000
+00100000001000000010101110010011
+01000100110101101100000000010101
+01111000010101011111110000000000
+01101000000000001000000000110000
+11000100000000001000000000000000
+00100100001101101010101111010000
+00100000010000000010101111001011
+01101000000000010100000011000001
+01100000000000010000000000111110
+01101000000000001000000001000111
+11000010100000011010101111011110
+11000101100001101010101111011110
+00100000010000000101001001110100
+00100100001110100010101111011110
+01101000000000001100010101011100
+11000010100000001010101111011110
+01110000000000001010000000000000
+11000101100001101010101111011110
+01101000000000001100000101110100
+00100000001110100010101111100010
+00011111111000001111111111111111
+01100000000000001100000101110100
+00100000011000000000000000000000
+11011000111000000000000000000001
+00100000001000000110000011001101
+11011000111000000000000000000001
+00100000001000000110000011010001
+01110000010000010101100100000000
+01101000000000011100000101101001
+00011111111000001111111000000001
+01100000000000011100000101101001
+00100000011000000000000000000000
+01000100110101110100000000010101
+01101000000010010100000011000001
+00011000010000110000010000000000
+01101000000000010000000000111110
+10011000010000001111111000000000
+01100000000000010000000000111110
+01110000000000001010000000000000
+01101000000000011100000101101100
+00011111111000001111111000000001
+01100000000000011100000101101100
+01101000000000001100000101011001
+00011111111000001111111000000001
+01100000000000001100000101011001
+00100000011000000000000000000000
+01110000000000001010000000000000
+01101000000000001100000101110011
+01100000000000001100000101110100
+00100000011000000000000000000000
+01101000000010001100000101110010
+01100000000010001000000010100000
+00100000011000000000000000000000
+01000100110101111100000000010101
+01101000000000001100000101111000
+00100100011110100000000000000000
+01110000100000000100001000000110
+01011000000000000000111100001100
+00100000010000000010110000011000
+01011000000000110000110101000000
+00100000010000000010101010001111
+00110111110110011000001000000000
+00011110001000100110000000000000
+00100000010000000010100111100111
+01110000100000000100001000000100
+00100000000000000000000000001010
+00110111110110011000001000000000
+00011110001000100111111000000000
+10011110000001100111111000000000
+00011111111000001111111000110000
+11011000010000000000000011111111
+00100000010000000111111110010001
+01100000000000001100000101111000
+00100000000000000111010100110000
+00100000000000000111010100110000
+00100000000000000111010100110000
+00100000011000000000000000000000
+01101000000000001100000101111000
+00100100011110100000000000000000
+01110000100000000100010011111111
+01110000100000000100001000000110
+00100000010000000010100111100111
+01011000000000000000001111101000
+10011110001000001110000000000000
+00000111111000000000000000000000
+00011110001000100111111000000000
+00100000000000000010111011100000
+00100000000000000010111011100000
+00100000000000000010111011100000
+00100000000000000010111011100000
+00100000000000000010111011100000
+00100000000000000010111011100000
+00100000000000000010111011100000
+00100000000000000010111011100000
+00100000000000000010111011100000
+10011110000001100111111000000000
+00011111111000001111111000110000
+11011000010000000000000011111111
+00100000010000000111111110010001
+01100000000000001100000101111000
+00100000000000000111010100110000
+00100000000000000111010100110000
+00100000000000000111010100110000
+00100000011000000000000000000000
+11011000101000000000111111111111
+10011000101000010000101000000000
+01101000000000001100000101110101
+00011111111000010111111011110000
+00011111111011010111111000000000
+10011000101000011111111000000000
+01100000000100010000000001001100
+11101000110000010000000000000000
+11100000101000010000000000000000
+01011000000000000000000000000001
+00100000001000000010110000100100
+01011000000000000000000000000010
+00110111110110011000001000000000
+01100000000100001000000000000101
+00110111110110011000001000000000
+00110111110110011000001000000000
+00100000011000000000000000000000
+01000100110110000100000000010110
+01101000000000100000000010100001
+01100000000100100000000001001100
+01011000000000000000000000000100
+00100000010000000010110000100100
+01101000000000100000000010100101
+01100000000100100000000001001100
+01011000000000000000000000001000
+00100000001000000010110000100100
+01101000000000010100000101010010
+11111001001000000111111000000000
+01100000000000010100000101010010
+00100000011000000000000000000000
+01101000000000010100000101010010
+11111001001111111111111000000000
+01100000000000010100000101010010
+00100000011000000000000000000000
+01000100110110001100000000010110
+00100000010000000011001100100110
+01101000000000010100000101010010
+00011111111000100010001000000000
+01101000000000001000000001001100
+00101111111011111111111000000110
+01111001001000001010001000001011
+01101000000000001000000001111000
+01101000000010001000000001111100
+10011000010000001111111000000000
+01101000000010001000000001001000
+10011000010000001111111000000000
+01111101001110100010001000001010
+01101000000000001100010011111111
+01111101001110100010001000000001
+01101000000000010000001001011101
+01101000000010010000001001011111
+10011000010000001111111000000000
+01111101001110100010001000001101
+01101000000001000100011001101000
+01111101001110100010001000001111
+01101000000001000100011001110000
+01111101001110100010001000001110
+01101000000000001100000111001110
+01111101001110100010001000001000
+01101000000000001100000010010010
+00101111111000011111111000001010
+00100000010000001010110001011011
+01011111111111111111111111111000
+10011010001000010010001000000000
+00011010001000100111111000000000
+01100000000000010100000101010010
+00100000011000000000000000000000
+01101000000100010000000100010010
+01111101001110100010001000000110
+01101000000100010000000100001110
+01111101001110100010001000000101
+00100000011000000000000000000000
+01101000000100100000000100111000
+01111001001111111111111000011011
+01100000000100100000000001001100
+00100000010000000010110000100001
+00100000001000000010101010001100
+01101000000100100000000100111100
+01111001001111111111111000010100
+01100000000100100000000001001100
+00100000001000000010110000100011
+01101000000000010100000101010000
+11000010100000000010101010001100
+00100000011000000000000000000000
+01101000000000010100000101010000
+11000010100000001010101010001100
+00100000011000000000000000000000
+01101000000000010100000101010000
+11000010100000010010101010001100
+00100000011000000000000000000000
+01000100110110010100000000010110
+00100000010000000010110001111010
+00011010011000001010010011001101
+11101010010000001000000000000000
+11000001000000000000000000000000
+11000000000000001010110100000110
+11000000000000010010110001111111
+00100000011000000000000000000000
+01101000000010010100001001000001
+00011000010000100010011000000000
+00100000011000000000000000000000
+00100000010000000010111100111101
+00100000001000000011000001111101
+00100000010000000011000010000100
+00100000010000000011000001011010
+00100000010000000011000001011110
+00100000001000000011000010100010
+00100000010000000011001000110001
+01011000000000000000000001001110
+00100000010000000011001000101111
+00100000010000000011001010111010
+00011010011000001010001010010010
+11101010001000100000000000000000
+00100000001000000011001000101100
+00100000010000000010110001111010
+00011010011000001010010010010001
+11101010010010001000000000000000
+00100000010000000010110010010000
+00011010011000001000101010010001
+00100000001000000010111001010110
+00100000010000000010110010010100
+00011000010000001000010000000001
+00011000010000010000010000000011
+00100000011000000000000000000000
+00011010011000001010010010101110
+11101010010000001000000000000000
+00011111111000010111111000000011
+00011111111011111010001000000100
+00011010011000001111111010010111
+10011010001000001111111000000000
+10011000010000001000110000000000
+11101000110000001000000000000000
+00100000001000000011001000101111
+00100000010000000011001001101100
+00100000010000000110011001101010
+01011000000000000000011111100010
+11011010001000000000101010100010
+11011000010000000000000000000100
+00100000010000000110011010110011
+00100000010000000110011001101101
+01101000000000100000101010100010
+00100000010000000011001000100111
+00100100011110100000000000000000
+01101000000000100100000010100000
+00100000001000000011001000100111
+00100000010000000011001001000001
+01011000000000000000000000000000
+00100000010000000011001000111111
+00100000010000000011001000111010
+00011111111000010111111000000111
+00100000001000000011001000111100
+00100000010000000011001000111010
+01111001001000000111111000000100
+00100000010000000011001000111100
+00100000001000000011001000110101
+00100000010000000011001001011101
+11000000000000001010110010110111
+11000000000000010010110010111100
+00100000011000000000000000000000
+00100000010000000011001000111110
+00011010011000001000101011010001
+00100000010000000011001011010110
+00100000010000000011001001000010
+00100000001000000010110010101100
+00100000010000000011001001011010
+00100000001000000010110010111000
+00011010011000001010001010001100
+11101010001000001000000000000000
+00011111111000001111111000000001
+00011010011000001000101010001100
+11100000101000001000000000000000
+11000000000100000010110111010010
+00100000010000000011001001011000
+11000000000000001010110011001010
+01011000000000000000000000000001
+00100000010000000011001001011011
+00100000010000000011001001011000
+11000000100000001010110010101100
+00011010011000001010001011010011
+11101010001000001000000000000000
+00011111111000001111111000000001
+00100000010000000010110011010101
+11000000000000100010110011010010
+00100000010000000010110010001010
+00100000010000000010110100000100
+00100000001000000010110110001111
+00100000010000000010110011010100
+00100000001000000010110010101100
+01011000000000000000000000000000
+00011010011000001000101011010011
+00100000001000000011001010110100
+00100000010000000011001000111110
+00100000010000000011001001011010
+00100000010000000011001001000001
+00100000001000000010110010101100
+00100000010000000011001001011101
+11000000000000011010110011011000
+00100000010000000011001000111010
+00101111111011000000000000000100
+00100000001000001010110010101001
+00100000010000000011001001011101
+11000000000000001010110011010111
+11000000000000010010110011011000
+00100000011000000000000000000000
+00100000010000000011001001010011
+11000001111111111000000000000000
+00100000010000000010110011101001
+00100100010101100010110011110100
+00100000011000000000000000000000
+01111000010101100111110000000000
+00011010011000001010001011001110
+11101010001000001000000000000000
+11000001100000001000000000000000
+00011010011000001010001011010000
+11101010001000001000000000000000
+11000001100000000000000000000000
+01011000000000000000000000000001
+00100000010000000010110011111101
+00100000010000000011001000110111
+00100000001000000111111111101011
+00011010011000001010001011010000
+11101010001000001000000000000000
+00100000001110100010110011111111
+00011111111000001111111111111111
+00100000010000000011001000111111
+01011000000000000000000000000010
+00100000010000000010110011111101
+00100000010000000010110010001010
+00100000001000000011001000110111
+00011010011000001000101011010010
+00100000001000000011001010110100
+01011000000000000000000000000011
+00100000010000000010110011111101
+00100000010000000011001001011000
+00100100001110100010110011001000
+00100000010000000010110010001010
+01011000000000000000000000000010
+00100000001000000011001000111000
+11000110100100110000000000000000
+01111001001000000000000000100111
+01000100110110011100000000010110
+00011010011000001010001010001110
+11101010001000001000000000000000
+11000000000000001010110100001111
+00100000010000000011000001101010
+00100100001101000010110100010110
+00100000010000000010110100011011
+00011010011000001000101010001110
+00100000010000000011001011010110
+00100000010000000010110100101100
+00100100001101000010110101111101
+00100000010000000010110011100100
+00100000010000000010110110001111
+00100000010000000010111001111010
+01111001001111111000000000100111
+00100000011000000000000000000000
+00100000011000101000000000000000
+01111001001000000111111000011100
+00100000011000000000000000000000
+00011010011000001010001011000010
+11101010001000001000000000000000
+00011111111000001111111000000001
+00011010011000001000101011000010
+11100000101000001000000000000000
+11000000000000100010110100100011
+11000000000000101010110100100111
+00100000011000000000000000000000
+00011010011000001010001010101101
+11101010001000001000000000000000
+00011010011000001000101010101011
+00100000001000000011001010110100
+00011010011000001000101011000010
+00100000010000000011001011010110
+00011010011000001010001010101100
+11101010001000001000000000000000
+00100000001000000010110100100101
+00100000010000000011001001010011
+11000000111111111010111010110001
+01000100110110100100000000010110
+00100000010000000010110100111010
+00100100001101000010110100110110
+00100000010000000010110101010011
+00100000010000000010111001110001
+01011000000000000000000000000001
+00011010011000001000101010001011
+00100000001000000011001010110100
+00011010011000001010001010001011
+11101010001000001000000000000000
+11000000000000001111111111100111
+00100000011000000000000000000000
+00011010011000001000010011011000
+11101000010000010000000000000000
+00100000010000000111111110011100
+00100100011101000000000000000000
+00011010001000100111111000000000
+01100000000000001000101010101110
+00011010011000001000101010110010
+00100000010000000011001011010110
+00100000010000000010110010101100
+01100000000000001001000110011110
+01101000000000001000101010101110
+00011111111000100010001000000000
+00011010001000001000010000000001
+11011000101000000001000110011111
+00011010001000100111001000000000
+00011010010000100000110000000000
+00100000010000000111111100000001
+11011010001000000001000110011110
+11000110100100111000000000000000
+00011010011000001000101010000110
+11100000101010001000000000000000
+00011000010000100111001000000000
+00011010011000001000101000100010
+00011010001000100000110000000000
+00100000001000000111111100000001
+00011010011000001010001010000110
+11101010001000001000000000000000
+00011111111000001111111000000010
+00011010011000001000101010001000
+11100000101000001000000000000000
+00100000010000000011001000111010
+00100000010000000011001000110101
+00011010011000001010001010000110
+11101010001000001000000000000000
+00011111111010011111111000000000
+00011010011000001010001010000101
+11101010001010001000000000000000
+00011000010000010000010000000011
+00011000010000111000010000000000
+10011000010000011111111000000000
+00011010011000001010001011000011
+11101010001010001000000000000000
+10011000010000001111111000000000
+11100000101000001000000000000000
+00011010011000001010001010000110
+11101010001000001000000000000000
+10011000000000000111001000000000
+00011010011000001000110000100010
+00100000001000000111111100000001
+00100000010000000011001001001111
+00100000010000000011001001011010
+00100000010000000010111001101101
+00100000010000000010110010101100
+01100000000000001001000110011110
+00100000010000000010110101110111
+00100000010000000011001000111010
+01111001001000000111111000000011
+00100000010000000011001000111100
+00100000010000000010110101010011
+00100000010000000010110100110011
+00100000001000000010110100010100
+01100000000000001001000110011111
+00100000010000000011001000100100
+01100000000000100001000110100000
+11011000010000000000000000000110
+11011010001000000001000110011110
+00100000001000000010110101001100
+00011010011000001010001010110010
+11101010001000001000000000000000
+00100000001110100010110101101011
+00011010011000001010001011011010
+11101010001000010000000000000000
+00100000001000000111111110011100
+00100000010000000010110001111010
+00100000010000000010101011111010
+01101000000000011100000101101111
+00100000011110100000000000000000
+00011010011000001000010011011100
+11101000010000010000000000000000
+00100000010000000111111110011100
+00011010011000001000010010110110
+11101000010001000000000000000000
+00100000010000000111111101001001
+01100000000010100100000101011011
+00100000001000000010101100101010
+00100000010000000010110001111010
+00011010011000001000101010001111
+00100000010000000011001011010110
+00100000010000000010110110100100
+00100100001011000010110110101110
+00100100001101111010110110101110
+00100000010000000010110111010110
+00100000010000000010111001110101
+00100000010000000010110001111010
+00011010011000001010001010000101
+11101010001000001000000000000000
+00011111111000001111111000000001
+00100000010000000011001000110010
+00100000010000000011001001010011
+11000000111111111010111011010000
+00100000010000000010110011011011
+01011000000000000000000000000000
+00011010011000001000101010001100
+11100000101000010000000000000000
+01011000000000000000000000000000
+00100000001000000010110100110100
+01111000010101111111110000000000
+00100000010000000010110111110111
+00100000010000000010110001111010
+00011010011000001010001011000011
+11101010001000001000000000000000
+11000000000000001010110110101100
+00100000010000000010111000010001
+00100000001000000010111001000101
+00100000010000000010111001000101
+00100000001000000010110110010111
+01000100110110101100000000010110
+00011010011000001010001010001101
+11101010001000001000000000000000
+00011111111000001111111000000001
+00011010011000001000101010001101
+11100000101000001000000000000000
+00100000010000000011001001010011
+11000000111111111010110111001100
+00011010011000001010001010001111
+11101010001010001000000000000000
+00011000010000001000010000000001
+00011010011000001000101010001111
+11100000101010001000000000000000
+00011010011000001010001011001100
+11101010001000001000000000000000
+10011000010001100111111000000000
+00100100001110100010110110010010
+01000100110110110100000000010110
+00100000010000000011001001011101
+11000000000000011010110010111110
+00011010011000001010001011010001
+11101010001000001000000000000000
+00011111111000001111111000000001
+00011010011000001000101011010001
+11100000101000001000000000000000
+11000000000000010010110010110011
+00100000010000000010110010101111
+01011000000000000000000000000001
+00100000010000000011001000111000
+00100000001000000010110110001111
+00011010011000001010001010001101
+11101010001000001000000000000000
+11000001111111111000000000000000
+00011010011000001000101010001101
+00100000010000000011001011010110
+00100000001000000010110111010100
+00011010011000001000101010001100
+00100000010000000011001011010110
+01110000000010101001100100111010
+00100000001000000111110110000110
+00100000010000000010110111011110
+00011010011000001010001010000100
+11101010001000001000000000000000
+00100000011110100000000000000000
+10011000000000000111001000000000
+00011010011000001000110000000010
+00011010011000001000101001100100
+00100000001000000111111100000001
+00100000010000000011001001011111
+00011111111010010111111000000000
+00011010011000001000101010000100
+11100000101000001000000000000000
+00011111111000001111111000000001
+00011010011000001000110000000001
+10011000110000001000110000000000
+11101000110000011000000000000000
+00011010011000001000101011000100
+11100000101000011000000000000000
+00100000010000000011001001011111
+00011111111000110111111000000000
+00011111111000010111111000000011
+00011010011000001000101011001010
+11100000101000001000000000000000
+00100000011000000000000000000000
+01111000010001001111110000000000
+01111000010000111111110000000000
+01011000010101010101010101010101
+10011000000000000001111000000000
+00100000011000000000000000000000
+00100000010000000010100100011000
+00011010011000001010001010010000
+11101010001010001000000000000000
+00100000001000000010100100110011
+00100000010000000010110111101110
+00100000010000000010110111110011
+01111001001000000010101000000000
+01111000001011101111110000000000
+01111000001100000111110000000000
+01111000010100001111110000000000
+00100000010000000101001111000100
+00100000010000000011001000101010
+10011000000000000001001000000000
+00001000000000001000011000100000
+01111000001001001111110000000000
+00011010011000001010001010001000
+11101010001000001000000000000000
+10011000000000000111001000000000
+00011010011000001000110001000010
+11101000110000001000000000000000
+00001000000000001000011000001000
+11000010000000000010111000000110
+01111000001001000111110000000000
+00001000000000001000011000011000
+01111000010001000111110000000000
+00110111110100111000001000000000
+01000100110110111100000000010110
+00100000000000000000000001100100
+01111000010011101111110000000000
+00100000011000000000000000000000
+01111000010101111111110000000000
+00011000000000000010101000000000
+00011010011000001010001010010000
+11101010001010001000000000000000
+00100000010000000010100100011111
+00100000010000000010100100100100
+00100000010000000010110111101110
+01111000001001101111110000000000
+01111000001100001111110000000000
+01111000010100000111110000000000
+00100000010000000101001111000100
+00100000010000000011001000101010
+10011000000000000001001000000000
+01111000001010000111110000000000
+00011010011000001010001010001001
+11101010001000010000000000000000
+10011000000000000011011000000000
+00110111110000011000010000000000
+00100100001011000010111001001101
+01111000001001001111110000000000
+00001001100000000000000000001000
+00011001100010010111111000000000
+00011010011000001000101000000000
+11100000101000001000000000000000
+00011010011000001010001011001101
+11101010001000001000000000000000
+11000000000000010010111000110011
+01000100110111000100000000010111
+00011010011000001010001000000000
+11101010001000001000000000000000
+00011010011000001010001010000111
+11101010001010001000000000000000
+10101000010000000000111000000000
+00100100001000001010111001000101
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+00011111111010010111111000000000
+00011111111000010111001000011111
+00100000001000101010111000111101
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+11000010000000000010111000111001
+00001001100000000000000000011000
+00011111111011110111111000000000
+00011111111100010111111000000000
+11100000101000011000000000000000
+00100000001000110010111001000101
+01111000001101111111110000000000
+01111000010001101111110000000000
+00100000011000000000000000000000
+01111000010011101111110000000000
+01111000010001101111110000000000
+01111000010001001111110000000000
+01111000010000111111110000000000
+00100000001100001010100011111001
+00110111110100111000001000000000
+00100000000000000000000001100100
+00100000001000000010100011111001
+00100000010000000010111001001111
+00100000001000000010111001000101
+00100000010000000010100110111011
+00100000011110100000000000000000
+00011010011000001010001011101010
+11101010001010001000000000000000
+11011010001000000000110110011110
+00100000010000000010111001011000
+00011010011000001000101011101010
+11100000101010001000000000000000
+00100000011000000000000000000000
+11011010010000000000000011111111
+00100000001000000010111001011010
+00011010001000100111111000000000
+10011000010000001000101000000000
+01101000000000001000000000011000
+11100000101000001000000000000000
+00011000010000001000010000000001
+00011010010000100111111000000000
+10011000010000010000010000000000
+00100000011000000000000000000000
+11011000010000000000000000000000
+00011010001000100000110000000000
+11101000110000001000000000000000
+10011000010000001000010000000000
+11000010000000000010111001100100
+00011000010011001000010000000000
+00100000011000000000000000000000
+00100000010000000010110001111010
+00100000010000000010111010011111
+01011000000000000000000000000001
+00100000010000000011001001110010
+01011000000000000000000000000000
+00100000010000000010111001110011
+11100000101000001000000000000000
+00100000011000000000000000000000
+00100000010000000011001001110000
+00011111111000001111111000000001
+00011010011000001000101011111100
+00100000001000000011001010110100
+00011010011000001010001011111101
+11101010001000001000000000000000
+00011111111000001111111000000001
+00011010011000001000101011111101
+00100000001000000011001010110100
+01000100110111001100000000010111
+00100000010000000011001001110000
+00011111111001100111110001111100
+00100000011000010000000000000000
+00011010011000001010001011111101
+11101010001010001000000000000000
+10011000010001100000010000000000
+00100000010000000010111001101101
+01011000000000000000000100000010
+10011010011000001010001000000000
+11101010001000001000000000000000
+10011000010001100111110000000000
+00100100001000010010111010001101
+01011000000000000000000100000011
+10011010011000001010001000000000
+11101010001000001000000000000000
+10011000010001100111110000000000
+00100000001000010010111010011001
+00100000011000000000000000000000
+00011010011000001010001011111110
+11101010001000001000000000000000
+11000000000000010010111010010011
+00011111111000001111111000000001
+00100000010000000011001001110010
+11000000000000001010111010011111
+01011000000000000000000000001010
+00100000010000000011001010110000
+01011000000000000000000000000000
+00100000010000000011001010110010
+00011010011000001010001011111111
+00100000001000000010111010100101
+00011010011000001010001011111110
+11101010001000001000000000000000
+11000000000000000010111010100111
+00011111111000001111111111111111
+00100000010000000011001001110010
+11000000000000000010111010100111
+01011000000000000000000000000101
+00100000010000000011001010110000
+01011000000000000000000000000000
+00100000010000000011001010110010
+01011000000000000000000100000000
+10011010011000001010001000000000
+11101010001000001000000000000000
+00100000001000000011001001101010
+01011000000000000000000000000010
+00100000010000000011001010110000
+01011000000000000000000000000000
+00100000010000000011001010110010
+01011000000000000000000100000001
+00100000001000000010111010100100
+01111001001000000000000000100110
+00100000010000000010110010000011
+01011000000000000000000000000001
+00100000001000000011001001010110
+00011010011000001010001010001011
+11101010001000001000000000000000
+11000000000000001111111111100111
+00100000010000000011001001010011
+11000000000000001010111010111001
+11000000000000010010111010111101
+11000000000000011010111011000001
+00100000001000000010101010001100
+01011000000000000000000000010001
+00100000010000000011001001010110
+01110000000100011001111010101010
+00100000001000000010111011000100
+01011000000000000000000000010010
+00100000010000000011001001010110
+01110000000100011001111001010101
+00100000001000000010111011000100
+01011000000000000000000000010011
+00100000010000000011001001010110
+01110000000100011001111000100010
+00100000010000000011001000111010
+00011111111000010111111000000111
+01100000000000001001000110011111
+00100000010000000011001000100100
+01100000000000100001000110100000
+01110000000100011010010000000000
+11011010001000000001000110011110
+11011000010000000000000000000111
+00100000010000000010110101001100
+00100000010000000010110101010011
+00100000010000000010110100110011
+00100000001000000111111111100111
+00100000010000000011001001010011
+11000001011111111000000000000000
+11000000000010001010111011010110
+11000000000010010010111011011001
+11000000000010011010111011011100
+00100000011000000000000000000000
+01011000000000000000000000000010
+00100000010000000011001001010110
+00100000001000000010110110011111
+01011000000000000000000000000011
+00100000010000000011001001010110
+00100000001000000010110110011111
+01011000000000000000000011111111
+00100000010000000011001001010110
+01110000000010101001100100111001
+00100000010000000111110110000110
+00011010011000001010001001100110
+11101010001000100000000000000000
+00100000010000000011001000101100
+00100000001000000010110110011111
+01111001001111111000000000100110
+00100000010000000010111100001000
+00100000010000000010111100100010
+00100000010000000011001001100011
+00100000000000000000011111010000
+00100000010000000011001001100001
+11000000011111111010110111010100
+00100000010000000010110110100100
+00100100001011000010111011111010
+00100100001101111010111011111010
+00100000010000000010110111010110
+00100000010000000010110001111010
+00011010011000001010001010010010
+11101010001010100000000000000000
+00100000010000000011000010111110
+00100000001000101010111010101101
+00100000010000000010110001111010
+00011010011000001010001001100110
+11101010001000100000000000000000
+11000000000000000010111011100111
+00100000010000000011001000101100
+00100000001000000010111100011100
+00100000010000000011001001100001
+00011111111000001111111000000001
+00100000010000000011001001100100
+00100000010000000010111100000100
+00011111111000001111111000000001
+00011111111000010111111000000001
+00100000010000000010111100000110
+11000000000000000010111100001100
+11000000000000001010111100001110
+00100000011000000000000000000000
+01011000000000000000000110001011
+00100000001000000011001011010000
+11011010001000000000000110001011
+00100000001000000011001010110011
+00100000010000000011001001100111
+00100000010000000011001000100100
+00100000010000000011001000101100
+00100000001000000010110010001010
+00100000010000000010111100001000
+00100000001000000010111011101000
+00100000010000000010110010000011
+00100000001000000010111011101000
+01111001001111111000000000100110
+00100000010000000010110010001010
+00100000010000000011001001010011
+11000001111111111000000000000000
+00100000010000000010111100100010
+00100000010000000011001001100011
+00100000000000000000011111010000
+00100000010000000011001001100001
+11000000011111111010110111010100
+00100000010000000010110110100100
+00100100001011000010111100100111
+00100100001101111010111100100111
+01111001001000000000000000100110
+00100000010000000011001001100011
+01011000000000000000000011111111
+00100000010000000011001001010110
+01110000000010101001100100111100
+00100000001000000111110110000110
+01111001001000000000000000100111
+01110000000100011001111011111111
+00100000010000000011001000111010
+00100000010000000010110101110111
+00100000001000000010110101010011
+00100000010000000011001001100001
+00011111111000001111111000000001
+00100000010000000011001001100100
+00100000010000000010110010001010
+00100000001000000010111100010110
+00100000010000000011001001100111
+01011000000000000000000011111111
+00100000010000000011001001010110
+00100000001000000010111100010000
+01000100110111010100000000010111
+00100000010000000010110001111010
+01011000000000000011000110110000
+00011010011000001000101011011110
+11100000101000010000000000000000
+00100000010000000010111100111101
+00100000010000000100100011101010
+00100000010000000011001010110110
+01000100110111011100000000010111
+11000000000000000011000001010101
+11000000000000001010111101000101
+11000000000001111010111101000001
+00100000001000000010101010001100
+00100000010000000011001001101100
+11011111001000000000000010000000
+11011000101000000000110110011110
+00100000001000000111111011000110
+00100000010000000010111101001100
+00100000010000000010111101001111
+00100000010000000100100011010011
+00100000001000000010111101000010
+01000100110111100100000000010111
+00100000010000000010111101001100
+00100000010000000010111101001111
+00100000010000000010111110111101
+00100000010000000100100011010011
+00100000010000000011000000011001
+00100000001000000010111101000111
+00100000010000000011001010010001
+00100000010000000011001010010110
+00100000001000000011001010011001
+00100000010000000011001010001111
+11000001100000000000000000000000
+00100000010000000010111101010101
+00100000010000000010111101100101
+00100000010000000011000101101011
+00100000001000000010111110010110
+00100000010000000011001010010100
+11000011100000000000000000000000
+01111001001000000111111000000000
+00100000010000000011001010010111
+00100000010000000011001001100111
+00100000010000000011001010011001
+01110000000011010011100000000000
+00100000010000000011001001001111
+00100000010000000010111101100001
+00011010011000001000101000000000
+11011111001000000000000001000010
+00100000001000000111111011010100
+00100000010000000011001000110001
+00100000010000000011001001111101
+00100000010000000011001000101100
+00100000001000000010110010001010
+01000100110111101100000000010111
+00100000010000000011001001001100
+11000000000000001010111110001101
+00100000010000000011001001000101
+11000000000000001010110010001010
+01011000000000000000000100110110
+10011010011000001010001000000000
+11101010001010100000000000000000
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100010000010010110100011000
+00011111111000100010010000000000
+01011000000000000000000100110110
+10011010011000001010001000000000
+11101010001000100000000000000000
+00011111111000100000010000000000
+01011000000000000000000100111010
+10011010011000001010001000000000
+00011000010000100111111000000000
+11101010001010001000000000000000
+10011000010000001000010000000000
+00011010010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+01111001001111111111111000011100
+01011000000000000000000100110110
+10011010011000001000101000000000
+11100000101000100000000000000000
+00100000010000000010110010001010
+00100000010000000011001001111000
+00011111111000001111111000000001
+00100000010000000011001001111011
+11000001100000010000000000000000
+00100000010000000011001001111010
+00100000001000000011001001001111
+00011100010000100111111000000000
+11011010001000000000000100110110
+00100000010000000011001010111111
+11100000101000100000000000000000
+00100000001000000011001001111010
+11011010001000000000110110011110
+00100000010000000010111110010100
+00011010011000001000101011101011
+11100000101010001000000000000000
+00011000010001100111110001010000
+00100100011000010000000000000000
+00100000001000000010110010001010
+11011111001000000000000100000000
+00100000001000000010111001100010
+00100000010000000010111110011001
+00100000010000000010111110100101
+00100000001000000010111110110001
+01011000000000000000000110000000
+00100000010000000011001011010000
+00100000011110100000000000000000
+11011000111000000000000000001011
+00100000010000000111111100010110
+00100100011110100000000000000000
+00100000010000000011001010100111
+01011000000000000000000000000001
+01100000000000001000110101010100
+01011000000000000000000000000000
+11100000101000111000000000000000
+00100000001000000011000110111000
+01011000000000000000000101111110
+00100000010000000011001011010000
+00100000011110100000000000000000
+11011000111000000000000000001110
+00100000010000000111111100010110
+00100100011110100000000000000000
+00100000010000000011001010101010
+11011000101000000000110101100100
+11011111001000000000000000000010
+00100000010000000111111011000110
+01110000000011010110010000000000
+00100000001000000011000111101101
+01011000000000000000000101111111
+00100000010000000011001011010000
+00100000011110100000000000000000
+11011000111000000000000000001100
+00100000010000000111111100010110
+00100100011110100000000000000000
+00100000010000000011001010101101
+11011000101000000000110101110100
+11011111001000000000000000000010
+00100000010000000111111011000110
+01110000000011010111010000000011
+00100000001000000011001000000111
+00100000010000000011001010001111
+11000001100000001000000000000000
+00100000010000000010111111000001
+00100000001000000010111111001011
+00100000010000000011001010010100
+11000011100000001000000000000000
+01111001001000000111111000000001
+00100000010000000011001010010111
+00100000010000000011001010011100
+00100000010000000010110010000011
+01011000000000000000000000000000
+11011010001000000000000100000110
+00100000010000000011001010111111
+00100000001000000011001011000101
+00100000010000000011000101101110
+00100100001101111010111101011110
+00011010011000001000110000000000
+01011000000000000000000100001001
+10011010011000001000101000000000
+11011111001000000000000000001000
+00100000010000000111111100000001
+01011000000000000000000100001011
+00100000010000000011001011010000
+11000000010101010010111111011001
+11000000001010101010111111101101
+11000000000100010011000000000001
+11000000011111111011001000010010
+00100000001000000010111101011110
+00100000010000000011001010111101
+11000000000000001010111111011101
+11000000000000010010111111101000
+00100000011000000000000000000000
+01011000000000000000000000000001
+00100000010000000010111111110111
+01011000000000000000000000000001
+00100000010000000011001010001001
+01011000000000000000000010000000
+11011010001000000000000100110000
+00100000010000000011001010110011
+00100000010000000011001001111101
+11011010001000000000000100110001
+00100000010000000011001010111111
+00100000001000000011001000101101
+01011000000000000000000000000001
+00100000010000000010111111111111
+01011000000000000000000000000010
+00100000010000000011001010001001
+00100000001000000010111111100001
+00100000010000000011001010111101
+11000000000000001010111111110001
+11000000000000010010111111111001
+00100000011000000000000000000000
+00100000010000000010111111011111
+01011000000000000000000100000110
+00100000010000000011001011010000
+11000000000000001010111111110110
+00100000011000000000000000000000
+01011000000000000000000000000010
+11011010001000000000000100000110
+00100000001000000011001010110011
+00100000010000000010111111101010
+01011000000000000000000100000111
+00100000010000000011001011010000
+11000000000000001010111111111110
+00100000011000000000000000000000
+01011000000000000000000000000010
+11011010001000000000000100000111
+00100000001000000011001010110011
+00100000010000000011001010111101
+11000000000000001011000000000101
+11000000000000010011000000010001
+00100000011000000000000000000000
+01011000000000000000000100000110
+00100000010000000011001011010000
+11000000000000010011000000001001
+00100000011000000000000000000000
+00100000010000000011001010001011
+00011111111000011111111000000001
+00100000010000000011001010001101
+01011000000000000000000000000000
+01011000000000000000000100000110
+10011010011000001000101000000000
+11100000101000010000000000000000
+00100000001000000010111101011110
+01011000000000000000000100000111
+00100000010000000011001011010000
+11000000100000000011000000010101
+00100000011000000000000000000000
+00100000010000000011001010001011
+00011111111000011111111000000010
+00100000010000000011001010001101
+00100000001000000011000000001100
+01101000000000001000110101010000
+00100000011110100000000000000000
+01110000000011010101000000000000
+01101000000000010000110101001110
+11011000010000000000001010111010
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101000000000001000110010110110
+11000001110111010000000000000000
+01101000000000001000110010110111
+01000100110111110100000000010111
+11000000010100000011000000111011
+11000000010100001011000000101100
+11000000010100110011000001000001
+11000000010100111011000001000011
+11000000010101001011000001001001
+11000000010110000011000001001101
+01110000000011010100001000000000
+00100000011000000000000000000000
+01101000000000001000110010111000
+11000000000000001011000000110001
+11000000010000100011000000110100
+11000000010100111011000000111001
+00100000001000000011000000101010
+00100000010000000011001010001011
+01100000000000001000110011110111
+00100000001000000011000000111111
+00100000010000000011001010010001
+00100000010000000011001010010110
+00100000010000000011001010001011
+01100000000000001000110011110111
+00100000001000000011000000111111
+01110000000011001111011110100001
+00100000001000000011000000111111
+01101000000000001000110010111000
+11000000010000001011000000111110
+00100000001000000011000000101010
+00100000010000000011000010010000
+01110000000011010100001000000001
+00100000011000000000000000000000
+01110000000011001111011100010101
+00100000001000000011000000111111
+00100000010000000011001010001111
+11000000000000000011000001000111
+11000000000000001011000000111001
+00100000011000000000000000000000
+01110000000011001111011110100000
+00100000001000000011000000111111
+01110000000011001111011100000000
+01110000000011001111100000000000
+01110000000011001111100100000001
+00100000001000000011000000111111
+00100000010000000011001010011100
+01101000000000001000110010111000
+00011111111000001111111000000010
+00011111111000100111001000000000
+11011000110000000000110010110110
+01011000000000000000000100111100
+10011010011000001000101000000000
+00100000001000000111111100000001
+01000100110111111100000000010111
+00100000010000000011000001111101
+00100000010000000010110001111111
+00100000010000000100100011010011
+00100000001000000011000001010111
+00100000010000000011001010001111
+11000001100000000000000000000000
+00100000010000000010111101010001
+00100000001000000011000010011000
+00100000010000000011001010001111
+11000001100000001000000000000000
+00100000010000000010111111000001
+00100000010000000010111111001011
+00100000010000000011001010001011
+00100000011110100000000000000000
+00100000010000000011001010000110
+00100000010000000010111101001100
+00100000010000000011000010010011
+01011000000000000000000000000000
+00011010011000001000101010100111
+00100000001000000011001000101101
+00100000010000000111111111101001
+00011010011000001010001010100111
+11101010001010100000000000000000
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100010000010010110100011000
+00011111111000100010010000000000
+00011010011000001010001010100111
+11101010001000100000000000000000
+00011010011000001010001010101011
+11101010001010001000000000000000
+10011000010000001000010000000000
+00011010010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+01111001001111111111111000011100
+00011010011000001000101010100111
+11100000101000100000000000000000
+00100000001000000111111111100111
+01011000000000000000000000000001
+00100000010000000011001010000111
+00100000010000000011001010000011
+01011000000000000000000011111111
+00011010011000001000101010101011
+11100000101000001000000000000000
+00100000001000000011000001100111
+01011000000000000000000101011100
+00100000010000000011001011010000
+00100000011110100000000000000000
+00100000010000000011000001101010
+00100100011101000000000000000000
+00100000010000000011001010000001
+00011111111000001111111000000001
+00011111111000010111111000000001
+00100000010000000011001010000100
+11000000000000000010111101001100
+11000000000000001011000010010000
+00100000011000000000000000000000
+01011000000000000000000000000001
+00100000010000000011001010010010
+00100000001000000011001010010110
+01011000000000000000000000000001
+00100000010000000011001010100101
+01011000000000000000001010000000
+11011000111000000000000000001000
+00100000001000000111111100001000
+00100000010000000011001010100010
+00100000011110100000000000000000
+11011000111000000000000000001000
+00100000010000000111111100010110
+00100100011110100000000000000000
+00100000010000000011001010100100
+01011000000000000000000000000111
+00100000010000000011001010010010
+00100000010000000011001010010110
+00100000001000000010111101011110
+01000100111000000100000000011000
+00100000010000000011001010001111
+11000001100000111000000000000000
+00100000010000000011000011001011
+00100000010000000011000011100000
+00100000010000000011000101101110
+00100100001101111010111101011110
+00100000010000000011000010111100
+00100000010000101011000101110010
+00100000010000000010111101001100
+00100000010000000011001010010100
+01111001001000000111111000000000
+00100000010000000011001010010111
+00100000010000000010111101011110
+00100000010000000011000010010011
+00100000010000000011000010111100
+00100000001000101011000011000001
+01011000000000000000000101100100
+00100000010000000011001011010011
+00100000010000000011000010111110
+00100000001000101011000011000101
+01011000000000000000000101100000
+00100000010000000011001011010011
+00100000010000000011000010111110
+00100000001000101011000011001000
+00100000011000000000000000000000
+01011000000000000000000100101011
+00100000010000000011001011010011
+00100000010000000011001000101010
+10011000010001100111110000000000
+00100000011000000000000000000000
+01011000000000000000000110000010
+00100000010000000011001011010000
+00011010011000001000101010010001
+00100000001000000011001010110100
+01011000000000000000000110000101
+00100000010000000011001011010000
+00100000001000000011000011000011
+01011000000000000000000110001000
+00100000010000000011001011010000
+00100000001000000011000011000011
+00100000010000000011001010010100
+11000011100000111000000000000000
+01111001001000000111111000000111
+00100000010000000011001010010111
+00100000010000000011001010000011
+00100000010000000011001010011100
+01011000000000000000000000000000
+00011010011000001000101011110101
+11100000101000011000000000000000
+11011010001000000000000110000011
+00100000010000000011001010111111
+11100000101000111000000000000000
+00100000010000000011000010111100
+00100100011000101000000000000000
+00011010011000001010001010010001
+11101010001000001000000000000000
+11011010001000000000000110000010
+00100000010000000011001010110011
+00011010011000001010001010010000
+11101010001000001000000000000000
+00100000001000000011000101001010
+01000100111000001100000000011000
+00100000010000000011001010000001
+00011111111000001111111000000001
+00011111111000010111111000000011
+00100000010000000011001010000100
+11000000000000000011000100001110
+11000000000000001011000100110010
+11000000000000010011000011101010
+11000000000000011011000100110010
+00100000011000000000000000000000
+00100000010000000010111111011111
+01011000000000000000000101100000
+00100000010000000011001001111110
+00100000001110100011000011100000
+00100000010000000011001000101100
+01011000000000000000000110001001
+00100000010000000011001011010000
+00100000010110100011000100001000
+01011000000000000000000110000111
+00100000010000000011001011010000
+00100000010000000011001000101111
+00011010011000001010001011110111
+11101010001010001000000000000000
+11011010001000000000111110011110
+00100000010000000010111001011000
+00011010011000001000101011110111
+11100000101010001000000000000000
+00100000010000000010111110010100
+00011010011000001000101011111010
+11100000101010001000000000000000
+00011000010001100111110001010000
+00100100011000010000000000000000
+01011000000000000000000110001000
+00100000010000000011001001110101
+00100000010000000010110010010000
+11011010001000000000000110001000
+00100000010000000011001011001000
+11100000101010001000000000000000
+11011010001000000000000110000111
+00100000001000000011001010110011
+01011000000000000000000000000001
+11011010001000000000000110001001
+00100000010000000011001010110011
+11011000010000000000000000000000
+00100000010000000010110010010100
+00100000001000000011000100000110
+00100000010000000010111111101010
+01011000000000000000000101100100
+00100000010000000011001001111110
+00100000001110100011000011100000
+00100000010000000011001000101100
+01011000000000000000000110000110
+00100000010000000011001011010000
+00100000010110100011000100101100
+01011000000000000000000110000100
+00100000010000000011001011010000
+00100000010000000011001000101111
+00011010011000001010001011110110
+11101010001010001000000000000000
+11011010001000000001000010011110
+00100000010000000010111001011000
+00011010011000001000101011110110
+11100000101010001000000000000000
+00100000010000000010111110010100
+00011010011000001000101011111001
+11100000101010001000000000000000
+00011000010001100111110001010000
+00100100011000010000000000000000
+01011000000000000000000110000101
+00100000010000000011001001110101
+00100000010000000010110010010000
+11011010001000000000000110000101
+00100000010000000011001011001000
+11100000101010001000000000000000
+11011010001000000000000110000100
+00100000001000000011001010110011
+01011000000000000000000000000001
+11011010001000000000000110000110
+00100000010000000011001010110011
+11011000010000000000000000000000
+00100000010000000010110010010100
+00100000001000000011000100101010
+00100000010000000010111111011111
+00100000010000000011001001111101
+00100000010000000011001000101100
+01011000000000000000000110000011
+00100000010000000011001011010000
+00100000010110100011000101001100
+00100000010000000011000101001111
+00011010011000001010001011110101
+11101010001010001000000000000000
+11011010001000000000111010011110
+00100000010000000010111001011000
+00011010011000001000101011110101
+11100000101010001000000000000000
+00100000010000000010111110010100
+00011010011000001000101011111000
+11100000101010001000000000000000
+00011000010001100111110001010000
+00100100011000010000000000000000
+01011000000000000000000110000010
+00100000010000000011001001110101
+00100000010000000010110010010000
+11011010001000000000000110000010
+00100000010000000011001011001000
+11100000101010001000000000000000
+11011010001000000000000110000001
+00100000001000000011001010110011
+01011000000000000000000000000001
+11011010001000000000000110000011
+00100000010000000011001010110011
+01011000000000000000000110000001
+00100000010000000011001011010000
+00100000001000000011001000101111
+00011010011000001010001000000000
+11101010001000001000000000000000
+00100000010000000011001000111100
+00100000010000000010110111011110
+00100000010000000011001001011111
+00101111111011111111111000000000
+00100000001000001011000101011100
+00100000010000000011000101011101
+00100000010000000010110101010011
+00100000010000000010110111110111
+00100000001000000010111001000101
+01000100111000010100000000011000
+00011010011000001000101010000110
+00100000010000000011001011010110
+01011000000000000000000100111011
+00100000010000000011001011010000
+00100000011110100000000000000000
+01011000000000000000000000000110
+00011010011000001000101010000110
+11100000101000001000000000000000
+11011111001000000000000000000110
+01011000000000000000000100101111
+10011010011000001000110000000000
+00011010011000001000101000100010
+00100000001000000111111100000001
+00100000010000000011000101101110
+00100100001101111010111101011110
+00100000001000000011000101110010
+00100000010000000010111101011110
+00100000010000000010111000010001
+00100100011101111000000000000000
+00100000001000000011000101010010
+01000100111000011100000000011000
+00100000010000000011000110001000
+00100100001101000010111101011110
+00011010011000001010001010000100
+11101010001000001000000000000000
+00100000001110100010111101011110
+00011111111000001111111000000010
+10011000000000000111001000000000
+00011010011000001000110000000000
+01011000000000000000000100001001
+10011010011000001000101000000000
+00100000010000000111111100000001
+00100000010000000011001010000110
+00100000010000000011001010110110
+00100000010110100011000010010011
+01011000000000000000000100001011
+00100000010000000011001011010000
+11000000000000001011000110011110
+11000000000000010011000111000110
+11000000000000011011000111110010
+11000000011111111011001000010010
+00100000001000000010111101011110
+00100000010000000010110001111010
+00100000010000000111111111101001
+00011010011000001010001011001010
+11101010001000001000000000000000
+00011010011000001010001011001011
+11101010001010001000000000000000
+10011000010001100111110000000000
+00100100010000101111111111100111
+00011010011000001010001011001010
+11101010001000001000000000000000
+00011010011000001000101011001011
+11100000101000001000000000000000
+00011010011000001010001011000100
+11101010001000011000000000000000
+00011010011000001010001011000111
+11101010001010011000000000000000
+10011000010001100111110000000000
+00100100010000101111111111100111
+00011010011000001010001011000100
+11101010001000011000000000000000
+00011010011000001000101011000111
+00100000001000000011001011000101
+00100000010000000010111110001000
+00100000010000000011001001001100
+01100000000000001000101010100010
+00100000010000000011001001110100
+01101000000000001000101010100010
+00101000010011111111111000000011
+01111001001000001111111000000000
+00011010011000001000101010110010
+11100000101000001000000000000000
+11000000000000001011001000010110
+00100000010000000011001001000101
+00100000010000000011001001110100
+00101000010011111111111000000100
+01111001001000001111111000000000
+00100000010000000011001001001001
+00011010011000001010001011011110
+11101010001000010000000000000000
+00100000001000000111111110011100
+01011000000000000000000000000001
+01100000000000001000110101010100
+00100000010000000011001010011110
+11100000101000111000000000000000
+00100000010000000011001010011110
+00100100010110100011000110111101
+00100000010000000011001010011110
+00100000010110100011000111000010
+01110000000011010101001000100000
+01101000000000001000110100111000
+01111001001000000111111000000010
+01100000000000001000110100111000
+00100000011000000000000000000000
+01011000000000000000000000000001
+00100000010000000011001010101000
+01011000000000000000000101000000
+11011000111000000000000000001011
+00100000001000000111111100001000
+00100000010000000011001010100111
+01011000000000000000000000000000
+11011000111000000000000000001011
+00100000001000000111111100001000
+00100000010000000011001001110100
+00101000010011111111111000000011
+00100000001000001011001000011011
+11011000101000000000110101100100
+00100000010000000011000111100000
+01101000000001000000110101100100
+00100100010110100011000111100100
+01101000000001000000110101100100
+00100000010110100011000111101001
+00100000010000000010110001111010
+01101000000001000000110101100100
+11011010001000000000000101101000
+00100000010000000011001010111111
+11100000101001000000000000000000
+01011000000000000000000101110000
+10011010011000001010001000000000
+11101010001011000000000000000000
+10011000010001100111110000000000
+00100100010000101011000111101101
+01011000000000000000000101101000
+10011010011000001010001000000000
+11101010001001000000000000000000
+11011010001000000000000101110000
+00100000010000000011001010111111
+11100000101001000000000000000000
+00100000001000000010111101011110
+01011000000000000000000100001011
+10011010011000001000110000000000
+11011111001000000000000000001001
+00100000001000000111111111110011
+01011000000000000000000000000001
+00100000010000000011001010101011
+01011000000000000000000101000000
+11011000111000000000000000001110
+00100000001000000111111100001000
+00100000010000000011001010101010
+01011000000000000000000000000000
+11011000111000000000000000001110
+00100000001000000111111100001000
+01110000000011010101000100010000
+01101000000000001000110100111000
+01111001001000000111111000000001
+01100000000000001000110100111000
+00100000011000000000000000000000
+11011000101000000000110101110100
+00100000010000000011000111100000
+01101000000000010000110101110101
+00100100010110100011001000001001
+01101000000000010000110101110101
+00100000010110100011001000001110
+00100000010000000010110001111010
+01101000000000011000110101110100
+11011010001000000000000101111000
+00100000010000000011001011000100
+01011000000000000000000101111011
+10011010011000001010001000000000
+11101010001010011000000000000000
+10011000010001100111110000000000
+00100100010000101011001000000111
+01011000000000000000000101111000
+10011010011000001010001000000000
+11101010001000011000000000000000
+11011010001000000000000101111011
+00100000010000000011001011000100
+00100000001000000010111101011110
+01110000000011010101001000100001
+00100000001000000011000110111001
+01011000000000000000000000000001
+00100000010000000011001010101110
+01011000000000000000000101000000
+11011000111000000000000000001100
+00100000001000000111111100001000
+00100000010000000011001010101101
+01011000000000000000000000000000
+11011000111000000000000000001100
+00100000001000000111111100001000
+00100000010000000011001010111101
+11000000000000001011001000010110
+11000000000000010011001000011011
+00100000011000000000000000000000
+01011000000000000000000100001101
+00100000010000000011001001111110
+11011010001000000000000101100000
+00100000010000000011001010111111
+00100000001000000011001000101101
+01011000000000000000000100001101
+00100000010000000011001001111110
+11011010001000000000000101100100
+00100000010000000011001010111111
+00100000001000000011001000101101
+00100000010000000010110001111010
+00011010011000001000101011001101
+11100000101000001000000000000000
+00100000011000000000000000000000
+00100000010000000010110001111010
+00011010011000001010001010111110
+00100000001000000011001001111111
+00100000010000000010110001111010
+00011010011000001000101010111110
+00100000001000000011001000101101
+00011010011000001010001010101110
+00100000001000000011001001111111
+00011010011000001000101010101110
+11100000101000100000000000000000
+00100000011000000000000000000000
+00011010011000001000101010010000
+00100000001000000011001010110100
+01011000000000000000000000000000
+00100000010000000010110001111010
+00011010011000001000101010000101
+00100000001000000011001010110100
+00011010011000001000101001000010
+00100000001000000011001010110100
+01011000000000000000000000000100
+00011010011000001000101011001100
+00100000001000000011001010110100
+00011010011000001010001010000111
+00100000001000000011001011010001
+00011010011000001000101010000111
+00100000001000000011001010110100
+01011000000000000000000000000010
+00011010011000001000101011010000
+00100000001000000011001010110100
+01011000000000000000000000000001
+00100000010000000010110001111010
+00011010011000001000101011001110
+00100000001000000011001010110100
+00100000010000000010110001111010
+00011010011000001010001010110100
+00100000001000000011001011010001
+01011000000000000000000000000001
+00100000010000000010110001111010
+00011010011000001000101010110100
+00100000001000000011001010110100
+00100000010000000010110001111010
+00011010011000001010001010110010
+00100000001000000011001011010001
+01011000000000000000000000000001
+00100000010000000010110001111010
+00011010011000001000101010110010
+00100000001000000011001010110100
+00100000010000000010110001111010
+00011010011000001010001010010110
+00100000001000000011001011010001
+00011010011000001000101010010110
+00100000001000000011001010110100
+00011010011000001010001011001111
+00100000001000000011001011010001
+01011000000000000000000000000000
+00011010011000001000101011001111
+00100000001000000011001010110100
+00011010011000001010001011010010
+00100000001000000011001011010001
+00011010011000001010001000000001
+00100000001000000011001011010001
+00011010011000001010001010110101
+00100000001000000011001011010001
+01011000000000000000000000000000
+00100000010000000010110001111010
+00011010011000001000101010110101
+00100000001000000011001010110100
+00100000010000000010110001111010
+00011010011000001010001011111011
+11101010001000001000000000000000
+01100000000000001100000111011110
+00100000011000000000000000000000
+00100000010000000010110001111010
+01101000000000001100000111011110
+00011010011000001000101011111011
+00100000001000000011001010110100
+00011010011000001010001011111100
+00100000001000000011001011010001
+00011010011000001000101011111110
+00100000001000000011001010110100
+01011000000000000000000100001001
+10011010011000001010001000000000
+11101010001010001000000000000000
+00100000011000000000000000000000
+01011000000000000000000100110101
+00100000001000000011001011010000
+01011000000000000000000000000000
+11011010001000000000000100110101
+00100000001000000011001010110011
+01011000000000000000000100101011
+00100000010000000011001011001101
+11101010001000100000000000000000
+00100000011000000000000000000000
+01011000000000000000000101011111
+00100000001000000011001011010000
+01011000000000000000000000000000
+11011010001000000000000101011111
+00100000001000000011001010110011
+01011000000000000000000000000000
+11011010001000000000000101011100
+00100000001000000011001010110011
+11011010001000000000000100101111
+00100000001000000011001010110011
+01011000000000000000000100001000
+00100000001000000011001011010000
+11011010001000000000000100001000
+00100000001000000011001010110011
+01011000000000000000000100000101
+00100000001000000011001011010000
+01011000000000000000000000000000
+11011010001000000000000100000101
+00100000001000000011001010110011
+01011000000000000000000100000100
+00100000001000000011001011010000
+01011000000000000000000000000000
+11011010001000000000000100000100
+00100000001000000011001010110011
+01011000000000000000000000000000
+11011010001000000000000100111011
+00100000001000000011001010110011
+01011000000000000000000000000001
+00100000001000000011001010011010
+01011000000000000000000100001100
+00100000010000000011001011001101
+11101010001000111000000000000000
+00100000011000000000000000000000
+01011000000000000000000101011110
+00100000001000000011001011010000
+01011000000000000000000000000000
+11011010001000000000000101011110
+00100000001000000011001010110011
+01011000000000000000000000000000
+11011010001000000000000110000000
+00100000001000000011001010110011
+01011000000000000000000000000000
+11011010001000000000000101111110
+00100000001000000011001010110011
+01011000000000000000000000000000
+11011010001000000000000101111111
+00100000001000000011001010110011
+11011010001000000000000100000010
+00100000001000000011001010110011
+11011010001000000000000100000011
+00100000010000000011001011000111
+11100000101000001000000000000000
+00100000011000000000000000000000
+01011000000000000000000101011101
+00100000001000000011001011010000
+11011010001000000000000101011101
+00100000001000000011001010110011
+01011000000000000000000110001010
+00100000010000000011001011010000
+00100000001000000011001001101010
+01011000000000000000000100001100
+00100000001000000011001011010000
+00011111111000100000010000000000
+00011010001000100111111000000000
+10011010011000001000101000000000
+00011000010000100111111000000000
+00100000011000000000000000000000
+00100000010000000011001010111111
+11100000101000011000000000000000
+00100000011000000000000000000000
+00100000010000000010110001111010
+00011111111000100010010000000000
+00011010001000100111111000000000
+10011010011000001000101000000000
+00011010010000100111111000000000
+00100000011000000000000000000000
+00100000010000000010110001111010
+10011010011000001010001000000000
+00100000011000000000000000000000
+00100000010000000011001011001101
+11101010001000001000000000000000
+00100000011000000000000000000000
+00100000010000000011001011001101
+11101010001010100000000000000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+00100000001000000011001010110100
+01000100111000100100000000011000
+01101000000000001100000010010010
+00100000001110100011001011011000
+11000000000000100010111100110000
+11000000000001111011010000110110
+11000000000001001100010111011110
+11000000000001010011100100101010
+11000000000001110011010110111111
+11000000000010000100010010100100
+11000010100000110011110100000000
+00100000011000000000000000000000
+01000100111000101100000000011000
+01110000000000010101000100000000
+01110000000000010111111100000000
+01110000000000011000000000000000
+01011000000000000000000000000000
+01100000000000101000100110101110
+01101000000000001100000010010010
+00100000001110100011001011100011
+11000000000001010011100101100010
+00100000011000000000000000000000
+00100000010000000111110011010001
+00100000010000000111110110011100
+00100000010000000011001011110110
+01101000000000010100000111110011
+00100000001000000111111110011100
+01101000000000010100000111110001
+00100000001000000111111110011100
+01101000000000010100000111101111
+00100000001000000111111110011100
+01000100111000110100000000011000
+11011010001000000100011001101000
+00100000010000000111111111000100
+00100000011110100000000000000000
+00011111111000100010011000000000
+00100000010000000011001011111111
+00100000001000000011001100100100
+11011010011000000000000000000000
+00100000011000000000000000000000
+11000000000000001011001100010001
+11000000000010000011001101010111
+11000000000000101011001100110101
+11000000000010010011001100111100
+11000000000000110011001101010011
+11000000000000100011001110010100
+11000000000000010011001110011001
+11000000000010011011001110010100
+11000000000010100011001101001011
+11000000000010101011001101001111
+11000000000000011011001100101110
+11000000000001011011001101000000
+11000000000001100011001101000111
+11000000000010110011001101011011
+11000000000011000011001100101010
+11000000000101010011001100011010
+11000000000101011011001100011000
+00100000011000000000000000000000
+01101000000000010100011010000010
+01111001001000000111111000000000
+01100000000000010100011010000010
+01101000000000010100001000001010
+01111001001111111111111000000000
+01100000000000010100001000001010
+00100000011000000000000000000000
+01110000000000100010100100000000
+00100000011000000000000000000000
+01101000000000001000001000101001
+00011111111000001111111000000001
+01100000000000001000001000101001
+00011111111001100111110000000001
+00100000001000010011001111011111
+01110000000000100010100100000000
+01101000000000010100001000001010
+01111001001000000111111000001001
+01100000000000010100001000001010
+00100000001000000011001111101001
+01101000000000010100000111110101
+00100000001000000111111110011100
+01101000000000010100000111101001
+00100000001000000111111110011100
+01101000000000010100000111101101
+00100000001000000111111110011100
+01101000000000010100001000001010
+01111001001000000111111000000001
+01100000000000010100001000001010
+00100000001000000011010000010010
+01101000000000010100011010000010
+01111001001000000111111000000111
+01100000000000010100011010000010
+01101000000000010100001000001010
+01111001001000000111111000000010
+01100000000000010100001000001010
+00100000011000000000000000000000
+01101000000000010100011010000010
+01111001001000000111111000000001
+01100000000000010100011010000010
+01101000000000010100001000001010
+01111001001000000111111000000100
+01100000000000010100001000001010
+00100000011000000000000000000000
+01101000000000010100011010000010
+01111001001000000111111000000011
+01100000000000010100011010000010
+00100000011000000000000000000000
+01101000000000010100011010000010
+01111001001000000111111000000101
+01100000000000010100011010000010
+01101000000000010100001000001010
+01111001001000000111111000000011
+01100000000000010100001000001010
+00100000011000000000000000000000
+01101000000000010100011010000010
+01111001001111111111111000000101
+01100000000000010100011010000010
+00100000011000000000000000000000
+01101000000000010100011010000010
+01111001001000000111111000001001
+01100000000000010100011010000010
+00100000011000000000000000000000
+01101000000000010100011010000010
+01111001001111111111111000001001
+01100000000000010100011010000010
+00100000001000000011010000011000
+01101000000000010100011010000010
+01111001001000000111111000000010
+01100000000000010100011010000010
+00100000011000000000000000000000
+01101000000000010100001000001010
+01111001001000000111111000000000
+01100000000000010100001000001010
+00100000011000000000000000000000
+01101000000000010100001000001010
+01111001001000000111111000001000
+01100000000000010100001000001010
+00100000001000000011001111101001
+01000100111000111100000000011000
+01100000000000001000001000101010
+01101000000000001000001000101010
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000001000101010
+00100000010000000111110011011101
+00100000010000000011001111010110
+00100000010000000011001110000111
+00100000010000000011001110001101
+00100000010000000110010100011011
+01101000000000010100000111111101
+00100000010000000111111110011100
+00100000001000000011001101100001
+11101010011000001000000000000000
+00100000011110100000000000000000
+00011111111000001111111111111111
+11100010011000001000000000000000
+00100100011110100000000000000000
+00011010010000100111111000000000
+00100000001000000111111110011100
+11101010011000010000000000000000
+00100000011110100000000000000000
+00011111111000001111111111111111
+11100010011000010000000000000000
+00100100011110100000000000000000
+00011010010000100111111000000000
+00100000001000000111111110011100
+01101000000010010100001000111111
+00011000010000001010011000000001
+11011010010000000011001101111111
+00100000001000000011001101101101
+00100000010000000011010000101101
+11000000000000001011001110000010
+00100000001000000011010000001010
+01011000000000000000000000000010
+11100010011000001000000000000000
+00011000010000001010010000001000
+11101010010000010000000000000000
+00100000001000000111111110011100
+11011010011000000100001000000101
+11011010010000000011001110001010
+00100000001000000011001101101101
+00100000010000000010001001010010
+00100000001000101011010000001110
+00100000011000000000000000000000
+11011010011000000100011001111110
+11011010010000000011001110010000
+00100000001000000011001101110100
+00100000010000000011001111110000
+00100000010000000011010000001000
+01101000000000010100000111110111
+00100000001000000111111110011100
+00100000010000000011001110101100
+01101000000000010100011010000010
+01111001001111111111111000000111
+01100000000000010100011010000010
+00100000011000000000000000000000
+01110000010000100000010100000000
+01101000000000010100011010000010
+11000010100000111011001110011110
+00101111111011000000000000000001
+00100000010000001011001011111101
+01000100111001000100000000011001
+01101000000000010100011010000010
+01111001001111111111111000000000
+01111001001111111111111000000001
+01111001001111111111111000000010
+01111001001111111111111000000011
+01111001001111111111111000000111
+01100000000000010100011010000010
+00100000001000000011010000011000
+00100000010000000011001110101001
+00100000001000000011010000001010
+01011000000000000000000000000000
+01100000000000010100001000001000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000010100001000001010
+00100000011000000000000000000000
+01101000000000010100001000001010
+01100000000000010100001000001000
+01011000000000000000000000000000
+01100000000000010100001000001010
+00100000011000000000000000000000
+01101000000000010100001000001010
+01111001001000000111111000000111
+01100000000000010100001000001000
+01011000000000000000000000000000
+01100000000000010100001000001010
+00100000011000000000000000000000
+01101000000000001100011010000010
+00101111111011111111111000000101
+00100000011000000000000000000000
+01011000000000001010101001010101
+01100000000000010000101010101010
+01000100111001001100000000011001
+11011000010000000000000000000010
+11011010001000000000101010101010
+11011010010000000000000011000011
+00100000001000000110011000000110
+01000100111001010100000000011001
+11011000010000000000000000000010
+11011010001000000000101010011010
+11011010010000000000000011000011
+00100000010000000110010111011111
+01101000000000010000101010011010
+11011000010000001010101001010101
+10011000010001100111110000000000
+00100000011000000000000000000000
+01101000000000001100010101011010
+01100000000000001100001000000101
+00100000011000000000000000000000
+11011000111000000000000000001001
+00100000001000000010110000110010
+11011000111000000000000000001001
+00100000001000000010110000110110
+01110000010000100000011000000101
+00100000001000000011001111010000
+11011010011000000100001000000110
+11011010010000000011001111010010
+00100000001000000011001101101101
+01110000010000110110001100000001
+00100000011000000000000000000000
+01110000010000110110001100000000
+00100000011000000000000000000000
+01110000000010101001100100001010
+00100000001000000111110110001111
+01110000000010101001100100011101
+00100000001000000111110110001111
+01000100111001011100000000011001
+01101000000000001100001000000111
+01100000000000001000000101101101
+01110000000000100010100000000001
+01110000000010101001100100000011
+00100000001000000111110110001111
+01110000000010101001100100011110
+00100000001000000111110110001111
+01110000000010101001100100000100
+00100000001000000111110110001111
+01101000000000010100011010000111
+01100000000000010100011001111110
+00100000010000000011010000000100
+01110000000010101001100100000001
+00100000001000000111110110001111
+01011000000000000000000000000000
+01100000000000010100011001111110
+01110000000010101001100100000010
+00100000001000000111110110001111
+01110000000010101001100100001111
+00100000001000000111110110001111
+01110000000010101001100100010000
+00100000001000000111110110001111
+01110000000010101001100100001110
+00100000001000000111110110001111
+01110000000010101001100100001101
+00100000001000000111110110001111
+01110000000010101001100100010111
+00100000001000000111110110001111
+01110000000010101001100100011000
+00100000001000000111110110001111
+01110000000010101001100100010110
+00100000001000000111110110001111
+01110000000010101001100100010001
+00100000001000000111110110001111
+01110000000010101001100100010101
+00100000001000000111110110001111
+01110000000010101001100100010100
+00100000001000000111110110001111
+01110000000010101001100100010011
+00100000001000000111110110001111
+01110000000010101001100100011001
+00100000001000000111110110001111
+01110000000010101001100100000110
+00100000001000000111110110001111
+01110000000010101001100100000101
+00100000001000000111110110001111
+01110000000010101001100100011111
+00100000001000000111110110001111
+01110000000010101001100100100000
+00100000001000000111110110001111
+01110000000010101001100100100101
+00100000001000000111110110001111
+01111001001000000000000000001101
+00100000011000000000000000000000
+01111001001111111000000000001101
+00100000011000000000000000000000
+00100000010000000011010000101101
+11000000000000010011010000100100
+01011000000000000000000000000001
+11100010011000001000000000000000
+00011000010000001010001000000011
+00011000010000001010010000000110
+11101010001010001000000000000000
+00011010011000001010011000000001
+11100010011010001000000000000000
+00100000001000000011001110000101
+01011000000000000000000000000000
+11100010011000001000000000000000
+01101000000000010100011010000010
+11000011000001001011010000101001
+00100000010000000011010000000010
+01101000000010010100001000111111
+00011000010000001010001000000010
+00011000010000001010010000000100
+00100000001000000011010000100000
+01101000000010010100001000111111
+00011000010000001010011000000000
+11101010011000001000000000000000
+00100000011000000000000000000000
+00100000010000000011010000101101
+11000000100000000011010000110100
+00100000001000000011010000001010
+00011000010000001010010000001010
+00100000001000000011001110000101
+00100000011101011000000000000000
+01110000100000001000000100000000
+01011000000000000011010001100011
+01100000000000010100000111101011
+01011000000000000110100101101100
+01100000000000010100000111101101
+01011000000000000011010011110101
+01100000000000010100000111110011
+01011000000000000011010011110100
+01100000000000010100000111101111
+01011000000000000011010001111110
+01100000000000010100000111110101
+01011000000000000011010010110010
+01100000000000010100000111111101
+01011000000000000011010001100101
+01100000000000010100000111111011
+01011000000000000011010001110000
+01100000000000010100000111101001
+01011000000000000011010100000001
+01100000000000010100000111111001
+01000100111001100100000000011001
+00100000010000000011010110011011
+00100000010000000110100101001000
+00100000010000000011010110101101
+00100000010000000111110100001000
+00100000010000000111110011010011
+01011000000000000011010100001011
+01100000000000010100011101100110
+01011000000000000011010011111100
+01100000000000010100011101011101
+01011000000000000011010011111000
+01100000000000010100011101011111
+01011000000000000011010001101100
+01100000000000010100011101100001
+01011000000000000011010110100010
+01100000000000010100011010101001
+01011000000000000011010110100100
+01100000000000010100011010101011
+01011000000000000011010110101001
+01100000000000010100011010110100
+01011000000000000011010110100110
+01100000000000010100011010110110
+01101000000000010100011010000010
+11000011100001100000000000000000
+00100000001000000011010000001010
+00100000010000000011010110000110
+00100000001000000011010000001010
+00100000010000000101100010010010
+00100100011110100000000000000000
+11011010001000000000101100000110
+00100000010000000111111001010100
+00100100011101000000000000000000
+11011000110000000000101100000110
+00100000001000000100011101000110
+01101000000000010100011110010111
+01100000000000010100011110010001
+01110000010001110101001100000001
+00100000001000000011010110001111
+01101000000000001100011110011101
+11000000000000001011010001111001
+01101000000000010100011010000010
+11000011000001001011010001111001
+01101000000000001100011110011110
+11000000000000001011001111010000
+01101000000000001100011100000000
+00100100001110100011001111010000
+00100000001000000011001111010010
+01101000000000001100011110011011
+01101000000010001100011110011100
+10011000010000011111111000000000
+11000000000000001011001111010000
+00100000001000000011001111010010
+00011010011000100111111000000000
+11000000000101101011010000110001
+11000000000010000011010000011010
+11000000000010100011010011011111
+11000000000010101011010011101000
+11000000001000000011010010000101
+00100000011000000000000000000000
+01101000000000010100010100001001
+11000000000000001011010010001100
+01101000000000010100001111011000
+00100000001110100011010010100010
+01110000010001111000101000000010
+01110000010001111000111100111100
+00100000011000000000000000000000
+01101000000000010100010010011010
+00100000001110100011010010100000
+01110000010001111000101000000001
+01101000000010010100011110110100
+01101000000000010100010010010110
+10011000010000001111111000000000
+01100000000000010100010010010110
+00011111111000100010001000000000
+01101000000000010100010010011000
+10011000010000001111111000000000
+01100000000000010100010010011000
+10011010001000001111111000000000
+00011111111000110000010000000000
+01101000000000010100011111000000
+10011000010001101111110000000000
+00100000010000000111111110000110
+00011000000001111111111000000000
+01100000000000010100010010011010
+01110000010001111001000000000001
+00100000011000000000000000000000
+01110000010001111000101000000011
+00100000011000000000000000000000
+01110000010000010111001000000000
+01110000010001111001000000000000
+01101000000000010100001111010110
+01101000000010010100011110111110
+10011000010001100111110000000000
+01111001001000010010001000000000
+01101000000000010100011111000000
+01101000000010010100001111010110
+10011000010001100111111000000000
+01111001001000010010001000000001
+00101010001000000000011000000011
+00100000011000001000000000000000
+01101000000001000100011110111110
+01100000000001000100010010010110
+01110000010001111001000000000001
+00100000011000000000000000000000
+00100000010000000011001101111011
+00100000010000000011010010111001
+00100000010000000011010010111110
+00100000010000000011010011010101
+00100000010000000011010011001010
+00100000010000000011010011000100
+00100000001000000011010011011001
+11011010011000000100011110011001
+11011010010000000011010010111100
+00100000001000000011001101101101
+01110000010001111001101000000000
+00100000011000000000000000000000
+11011010011000000100011110010011
+11011010010000000011010011000001
+00100000001000000011001101110100
+11011010011000000100011010111111
+11011010010000000100011010011110
+00100000001000000011010110010001
+11011010011000000100011110001111
+11011010010000000011010011000111
+00100000001000000011001101101101
+01101000000000010100010010011010
+01100000000000001100000101110010
+00100000011000000000000000000000
+11011010011000000100011110010000
+11011010010000000011010011001101
+00100000001000000011001101101101
+01101000000000001000010000111111
+00101111111000001100000000000000
+00100100001000001011010011010011
+01110000010001111000101000000001
+00100000010000000011010000010110
+00100000001000000101101010111111
+01110000010001111001000000000001
+00100000011000000000000000000000
+11011010011000000100011110010001
+11011010010000000011010011011000
+00100000001000000011001101110100
+00100000001000000011010000011010
+11011010011000000100011110001101
+11011010010000000011010011011100
+00100000001000000011001101110100
+01101000000000010100011110100111
+01100000000000010100011110001101
+00100000001000000011010110101111
+01101000000000010100011110100111
+01100000000000010100011110001101
+01011000000000000000000000000000
+01100000000000010100011110010011
+01100000000000010100011110010001
+00100000010000000011010101011100
+00100000010000000011010110000110
+01110000010000010111001000000000
+00100000001000000011001111111000
+01011000000000000000000000000000
+01100000000000100100011110001101
+01100000000000011100011110001010
+01100000000000010100010100001001
+01110000010001111010000000000001
+01101000000000010100011110010111
+01100000000000010100011110010001
+00100000010000000111111000111000
+01101000000000001100011101011001
+11000001000000000000000000000000
+00100000010000000011010110001111
+00100000001000000011010101101110
+00100000001000000011010100001000
+01101000000000001100011101011001
+11000001100000010000000000000000
+00100000001000000011010100001000
+11011010011000000100011011001101
+00100000010000000011010110000010
+11011010011000000100011011000110
+00100000001000000011010110000100
+01110000010000110110111000000000
+11011010011000000100011011011011
+00100000010000000011010110000010
+11011010011000000100011011010100
+00100000001000000011010011111011
+01101000000000001000010001110111
+11000000000010010011010100000100
+00100000011000000000000000000000
+01101000000000010000010001111000
+11000000000001101011010100110110
+11000000000001011011010101110001
+00100000011000000000000000000000
+01101000000000001100011101010011
+00100000011110100000000000000000
+00100000001000000110100101111000
+00011010001000100111111000000000
+00100000001110100011010100010000
+00011000111000100111111000000000
+11000000000000000011010100010011
+00100000011000000000000000000000
+00011000111000100111111000000000
+11000000000000000011010100011011
+00100000011000000000000000000000
+01110000010001111001110100000001
+11011010011000000100011011110111
+00100000010000000011010110000010
+11011010011000000100011011110000
+00100000010000000011010110000100
+01101000000000010100011010000010
+11000011000001001011010100110010
+00100000001000000011010100100001
+01110000010001111001110100000000
+00100000001000000011010100011101
+01101000000000001100011110011010
+11000001100000001000000000000000
+01110000010001111001100100000101
+00100000011000000000000000000000
+01101000000000001100011110011010
+00011111111000001111111000000001
+01100000000000001100011110011010
+11000000000000001011010100100111
+11000000000000010011010100101011
+00100000011000000000000000000000
+00100000010000000011010101011100
+01110000010001110111000100000001
+11011010011000000100011101101100
+00100000001000000011010101000100
+01110000010001111001101000000000
+01110000010001110111000100000010
+11011010011000000100011101101100
+00100000010000000011010101000100
+01101000000000001100011110011110
+11000000000000001011010101010001
+00100000011000000000000000000000
+01101000000000010100011110010111
+01100000000000010100011110010001
+00100000010000000011010101011100
+00100000001000000011010110001111
+01000100111001101100000000011001
+00100000010000000011011011111100
+11101010001000001000000000000000
+11000000000000011011010100111100
+11000000000000111011010101000000
+00100000011000000000000000000000
+01101000000000001100011110011110
+11000000000000000011010101010001
+11000000000000001011010101011100
+00100000011000000000000000000000
+11101010010000001000000000000000
+11000000000000001011010101100100
+11000000000000000011010101101001
+00100000011000000000000000000000
+01000100111001110100000000011001
+01101000000000001100011110001011
+00101111111011111111111000000000
+00100100011000001000000000000000
+00011010011000001000110000000110
+11101000110000010000000000000000
+00011111111100001111111000000000
+00011111111000001111001000000101
+00011010011000001000110000000011
+00100000010000000011011011110000
+11100000110000001000000000000000
+00011010011000100010001000000000
+00100000001000000111111000111101
+01101000000000001100011101011001
+00100000011110100000000000000000
+01110000010001111001111000000001
+11011010011000000100011011101001
+00100000010000000011010110000010
+11011010011000000100011011100010
+00100000010000000011010110000100
+01110000010001111000000000000100
+01110000010001111000001100000001
+11011010011000000100011101111011
+00100000001000000011010101000100
+01101000000000001100011110011110
+00100000011110100000000000000000
+01110000010001111001111000000000
+00100000010000000011010110000110
+01110000010001111000000000000100
+01110000010001111000001100000000
+11011010011000000100011101111011
+00100000001000000011010101000100
+01110000010001111001111100000001
+01110000010001111000000000000111
+01110000010001111000001100000001
+11011010011000000100011101111011
+00100000001000000011010101000100
+01110000010001111001111100000000
+01110000010001111000000000000111
+01110000010001111000001100000000
+11011010011000000100011101111011
+00100000001000000011010101000100
+01101000000000001100011110011111
+00100000011110100000000000000000
+00100000001000000011010101010001
+11101010001000010000000000000000
+01100000000000010100011110001011
+00101111111011111111111000000000
+00100100011000001000000000000000
+01101000000000001100011110100000
+00100000011110100000000000000000
+01110000010001111010000000000000
+01101000000001000100011110110110
+01100000000001000100010010010110
+01110000010001111001000000000010
+00100000010000000011010110101111
+00100000010000000011010110111001
+01110000010001111000000000000111
+01101000000000001100011110011111
+01100000000000001100011110000011
+11011010011000000100011101111011
+00100000001000000011010101000100
+11011010001000000000000000000001
+00100000001000000011010110000101
+11011010001000000000000000000000
+00100000001000000011010110001100
+11011010001000000000000000000000
+00100000010000000111110100011001
+11011010001000000000000000000001
+00100000010000000111110100011001
+01101000000000001100011110100001
+00100000001000000110100111010111
+00100000010000000111110100000100
+11011111001000000000000000000111
+00100000001000000111110100100110
+11011010011000000100011010111000
+11011010010000000100011010011010
+00100000010000000011010110010110
+00100000010000000011010110000100
+01101000000000010100011110010101
+01100000000000010100011110010011
+00100000001000000011001111111010
+11101010010000010000000000000000
+01100000000000010100000101010100
+11101000110000010000000000000000
+01100000000000010100010010000010
+00100000011000000000000000000000
+11011010001000000000000000000000
+00100000010000000110100110100110
+01101000000000110100011110100001
+01100000000000110000101010011010
+00100000010000000110100110101110
+01101000000000001100011110100001
+00100000001000000110100111010111
+01110000010001111001101100000001
+00100000011000000000000000000000
+01110000010001111001101100000000
+00100000011000000000000000000000
+01110000010001111001110000000000
+01101000000000001100011110100001
+00100000001000000110100111010111
+01110000010001111001110000000001
+01101000000000110100011110100001
+01100000000000110000101010011010
+00100000001000000110100110101110
+01110000010000100010110100000000
+00100000001000000110100010101000
+00100000010000000110100011101011
+00100000010000000110100100001000
+01100000000000010100011110110000
+11011010001000000100011110101010
+00100000010000000110100100110000
+01100000000000001100011110101001
+11000000000000000011010110111110
+00011111111001100111110001100100
+00100100001000010011010110111100
+01100000000000001100011110000011
+01110000010001111000000000000101
+11011010011000000100011101111011
+00100000001000000011010101000100
+01110000010001111000001101100100
+00100000001000000011010110111001
+00100000001000000011010000011010
+00100000011101011000000000000000
+01101000000100001000000010000001
+00011111111000010111111011110000
+01100000000100001000000010000001
+01011000000000000011011000110001
+01100000000000010100000111101011
+01011000000000000011011000110011
+01100000000000010100000111101101
+01011000000000000011010000001010
+01100000000000010100000111110111
+01011000000000000011011000110101
+01100000000000010100000111110011
+01011000000000000011011001001011
+01100000000000010100000111110101
+01011000000000000011001111010000
+01100000000000010100000111101001
+01011000000000000011011011110110
+01100000000000010100000111111001
+01011000000000000011011001111010
+01100000000000010100000111111101
+00100000010000000010110001111010
+01011000000000000011011100100010
+00011010011000001000101011011110
+11100000101000010000000000000000
+01011000000000000011010111101101
+01100000000000010100011101011011
+01011000000000000011010111101111
+01100000000000010100011101011111
+01000100111001111100000000011001
+00100000010000000011011000101000
+00100000010000000111111000111000
+01110000010000010111001000000010
+01110000010010011111011000000000
+01101000000000001100011111001011
+01100000000000001100011010011010
+11000000000000000011010111101110
+01101000000000001100011111001100
+01100000000000001100011010000110
+01110000010000110110111000000000
+00100000010000000011011000001111
+00100000010000000111110011010011
+00100000010000000111110011011101
+01110000010001111111001100000001
+01101000000000010100011010000010
+11000011100001100000000000000000
+00100000001000000011010000001010
+00100000001000000011011000001111
+01110000010001111111001100000010
+01110000010000110110111000000001
+00100000010000000011011000001111
+11011010001000000000000000000000
+00100000010000000111110100011110
+01011000000000000000000000100000
+00100000010000000100011011110000
+11011000101000000100001110110111
+01101000000000001100010010100000
+00011111111000010000010011110000
+00011000010100011000010000000000
+00100000010000000011011000001001
+11100000101010001000000000000000
+00011111111000010000010000001111
+00100000010000000011011000001001
+11100000101010001000000000000000
+00100000010000000101011110100110
+01101000000010001100001110101111
+00011000010000100111001000000000
+11011000101000000100001101110010
+11011000110000000100001110110000
+00100000010000000111111100000001
+01101000000010001100001110101111
+00011000010000100111001000000000
+11011000101000000100001110010010
+11011000110000000100001110110000
+00100000001000000111111100000001
+00011000010001100111110000001001
+00100000001000010011011000001101
+00011000010000001000010000110111
+00100000011000000000000000000000
+00011000010000001000010000110000
+00100000011000000000000000000000
+01101000000000001100011111000000
+11000000111111111011011000100001
+01101000000000001100011110111110
+11000000111111111011011000100100
+01101000000000001100011111001001
+11000000111111111011011000100110
+01101000000000001100011100101100
+00011111111000100111001000000000
+01011000000000000100011100101101
+00011111111000100010001000000000
+00011010001000100000110000000000
+11101000110000001000000000000000
+00011000110000100010001000000000
+11000000011111111011011000011111
+00011111111000100000010000000000
+00100000010000000110100000001110
+11000010000000000011011000011001
+00100000011000000000000000000000
+01101000000001000100011111000000
+01100000000001000100011100101111
+00100000001000000011011000010001
+01100000000000001100011100101101
+00100000001000000011011000010011
+01100000000000001100011100101110
+00100000001000000011011000010101
+11011010001000000000000000000000
+00100000010000000110100110100110
+00100000010000000011011111100100
+00100000010000000010110001111101
+00100000001000000011011000101101
+01110000010001111100111101100100
+01101000000000001100011111001001
+01100000000000001100011101000100
+00100000001000000110100010101000
+00100000010000000110100000110101
+00100000001000000110100101101100
+00100000001000000110100101101100
+00100000001000000110100101111000
+00100000010000000011011001000010
+00100000010000000011011111101110
+00100000010000000011011000111001
+00100000001000000011011000110100
+01101000000000010100011010000010
+11000011100001001000000000000000
+01101000000000001100100111110110
+11000000000000001011011000111110
+00100000011000000000000000000000
+01101000000000001100011111101010
+11000001000000001000000000000000
+01110000010001111110101000000001
+00100000001000000011011001010100
+01101000000000010100011010000010
+11000100000001001000000000000000
+00100000010000000101100010010010
+00100100011110100000000000000000
+11011010001000000100011100011000
+00100000010000000111111001010100
+00100100011101000000000000000000
+11011000110000000100011100011000
+00100000001000000100011101000110
+00011010011000100111111000000000
+11000000000101101011010000110001
+11000000000010000011010000011010
+11000000000010100011011001010001
+11000000000010101011011001100000
+00100000011000000000000000000000
+01011000000000000000000000000000
+00100000010000000011001000100000
+00100000001000000011011001010110
+01101000000000010100011111101011
+01100000000000010100011111101101
+01110000010001111100111000010100
+01110000010000001001000100000000
+00100000010000000011001111111000
+00100000010000000011010000010110
+01101000000000001100011110111101
+11000000000000001011011001011110
+11011010001000000000000000000000
+00100000001000000111110100010100
+11011010001000000000000000000000
+00100000001000000111110100011001
+01011000000000000000000000000010
+00100000010000000011001000100000
+01011000000000000000000000000000
+01100000000000101100011110011100
+01011000000000000000000000000100
+00100000010000000110100111010111
+01011000000000000000000000000101
+00100000010000000110100111010111
+01011000000000000000000000010100
+00100000010000000110100111010111
+01011000000000000000000000010101
+00100000010000000110100111010111
+01011000000000000000000000010110
+00100000010000000110100111010111
+01011000000000000000000000000111
+00100000010000000110100111010111
+00100000010000000111111000111000
+01110000010001110101111000001010
+01110000010001110110000000001010
+01110000010001110110001000001010
+01110000010000010111001000000010
+11011010001000000000000000000000
+00100000010000000111110100011110
+01011000000000000000000000100000
+00100000010000000100011011110000
+00100000001000000011001111111010
+00100000010000000011011100111011
+00100000010000000011011100111110
+00100000010000000011011101000001
+00100000010000000011001101111011
+00100000010000000011011011001000
+00100000010000000011011010100001
+00100000010000000011011010001010
+00100000010000000011011010000011
+00100000001000000011011010001111
+11011010011000000100011110011010
+11011010010000000011011010000110
+00100000001000000011001101101101
+00100000010000000011100001000111
+00100100011000001000000000000000
+01110000010001111001101100000001
+00100000011000000000000000000000
+11011010011000000100011111101101
+11011010010000000011011010001101
+00100000001000000011001101110100
+01110000010001111110101000000010
+00100000001000000011011001100010
+11011010011000000100011111110001
+11011010010000000011011010010010
+00100000001000000011001101101101
+01101000000000001100011111110010
+00100000001110100011011010011110
+01110000010001111111000100000010
+01110000010001111111001000000000
+01011000000000000000101000000010
+01100000000000010100011101010010
+01101000000000001100011110111001
+11000000000000011011011010011011
+00100000001000000011011101100010
+01011000000000000000101000000010
+01100000000000010100011101010100
+00100000001000000011011101100010
+01011000000000000000000000000000
+01100000000000100100011101010010
+00100000001000000011011101100010
+01101000000000001100011111001000
+00100000011110100000000000000000
+01101000000000010100011010000010
+11000011000001001011011011000110
+11011010011000000100011111001110
+11011010010000000011011010101000
+00100000001000000011001101101101
+01101000000000001100011111001101
+01100000000000001100011111001110
+01101000000000001100011111010001
+00100100011110100000000000000000
+00100000010000000110100011101011
+00100000010000000110100100001000
+01100000000000010100011111101000
+11011010001000000100011111100010
+00100000010000000110100100110000
+01101000000010001100011111001111
+10011000010001100111110000000000
+00100000001000010011011010110110
+01100000000000001100011111001111
+00011111111000100000010000000000
+01100000000010001100011111010000
+01101000000000001100011111001010
+10011000010001100111110000000000
+00100000010000010011011011000001
+01100000000010001100011111011011
+11011111001000000000000000000110
+11011000110000000100011111010110
+00100000010000000011011011110000
+01100000000000001100011111011100
+11011010001000000100011111010011
+00100000001000000111111000111101
+01101000000000001100011111010010
+00100100011110100000000000000000
+01110000010001111101001000000001
+11011010001000000000000000000001
+00100000001000000111110100011110
+11011010001000000000000000000001
+00100000001000000111110100011001
+11011010011000000100011110100100
+11011010010000000011011011001011
+00100000001000000011001101101101
+01110000010001111010010000000101
+01110000010001111010011000000000
+01101000000000001100011110100101
+11000000000000001011011011101110
+11000000000000000011011011101100
+11011000110000000100011110011100
+00011000110000100010001000000000
+11011111001000000000000000001000
+00011010001000100000110000000000
+11101000110000001000000000000000
+00011000110000100010001000000000
+11000000000000000011011011100011
+11000000000000001011011011100110
+11000000000000010011011011101001
+01101000000000001100011110100110
+00011111111000001111111000000001
+01100000000000001100011110100110
+11000010000000000011011011010011
+00100000011000000000000000000000
+01101000000000001100011110100110
+11011010010000000100011111000000
+10011010010000001010010000000000
+11101010010010001000000000000000
+00100000011000000000000000000000
+00100000010000000011011011011110
+00100000010000000110100000100101
+00100000001000000011011011011001
+00100000010000000011011011011110
+00100000010000000110100000101001
+00100000001000000011011011011001
+01101000000000001100011110100101
+11000000000000001011011011100011
+00100000001000000011011011100110
+01110000010001111010010100000001
+00100000001000000011011011010000
+01110000010001111010010100000000
+00100000001000000011011011010000
+11011010001000000000000000000000
+11101000110000001000000000000000
+10011010001000001010001000000000
+11000010000000000011011011110001
+00011010001000010111111011111111
+00100000011000000000000000000000
+01101000000000001000010001110111
+11000000000010010011011011111001
+00100000011000000000000000000000
+01101000000000010000010001111000
+11000000000010100011011100010000
+00100000011000000000000000000000
+01000100111010000100000000011010
+11101010001000101000000000000000
+01100000000000101000101100010010
+01101000000000010000101100010010
+11011000010000000110101101011010
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101000000000010000101100010101
+00011111111100001111111000000000
+01100000000000010000101100010101
+00011111111000100111001000000000
+00011010001000001010001000000101
+00011010001000100000110000000000
+11011000101000000000101100010111
+00100000010000000111111100000001
+11101000110000001000000000000000
+01100000000000001000101100100001
+11011010001000000000101100010100
+11011010010000000000101100010111
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000101100011101010010
+01100000000000101100011101010111
+00100000010000000011011011111100
+00011010010000100000110000000000
+11011000101000000100011101010010
+11011111001000000000000000001010
+00100000010000000111111100000001
+01000100111010001100000000011010
+11101010001000001000000000000000
+11000000000000010011011101001010
+11000000000000011011011101011100
+11000000000000100011011101100010
+11000000000000101011011101100010
+11000000000000110011011110110001
+11000000000000111011100001001001
+11000000000001000011100001001100
+00100000011000000000000000000000
+01101000000000010100011010000010
+11000011100001001000000000000000
+01101000000000010100011111101011
+01100000000000010100011111101101
+01110000010010011111011000000001
+01011000000000000000000100001100
+00100000010000000011001011001101
+00100000010000000011011100010000
+01101000000000001000101100010100
+11000000000000100011011100101110
+11000000000000101011011100101110
+00100000011000000000000000000000
+01101000000000001100011101010010
+00100100010110100011011100110101
+01101000000000001100011101010100
+00100100010110100011011100110111
+01101000000000001100011101010110
+00100100010110100011011100111001
+00100000011000000000000000000000
+01110000010010011111001100000101
+00100000011000000000000000000000
+01110000010010011111010000000101
+00100000011000000000000000000000
+01110000010010011111010100000101
+00100000011000000000000000000000
+11011010011000000100100111110011
+11011010010000000011011101000100
+00100000001000000011001101101101
+11011010011000000100100111110100
+11011010010000000011011101000110
+00100000001000000011001101101101
+11011010011000000100100111110101
+11011010010000000011011101001000
+00100000001000000011001101101101
+01110000010001110101001000000000
+00100000001000000011011101100010
+01110000010001110101010000000000
+00100000001000000011011101100010
+01110000010001110101011000000000
+00100000001000000011011101100010
+00100000010000000011011101001100
+00100000001000000011011101001111
+01101000000000001100011101010010
+01100000000000001100011101011111
+00100000001000000011011101110011
+01101000000000001100011101011110
+00100000010000000011011101010100
+01101000000000001100011101010011
+01100000000000001100011101011101
+00100000001000000011011101110000
+11000000000000010011011101011000
+11000000000000011011011101011010
+01100000000000001100011101011110
+00100000011000000000000000000000
+01110000010001110101111000000101
+00100000011000000000000000000000
+01110000010001110101111000001010
+00100000011000000000000000000000
+01101000000000001100011101010010
+00100000010000000011011101010100
+01101000000000001100011101011110
+00100000010000000011011110011110
+00100000010000000011011110100001
+00100000001000000110100111000100
+01101000000000001100011111110000
+00100100011110100000000000000000
+01101000000000110100011101010010
+01100000000000110100011101011101
+01101000000000001100011101011110
+01101000000010001100011101100000
+10011000010000010111111000000000
+01101000000010001100011101100010
+10011000010000010111111000000000
+00100000010110100011011101111001
+01000100111010010100000000011010
+00100000010000000011011101110000
+00100000010000000011011101110011
+00100000001000000011011101110110
+11011010010000000100011101100011
+11011000110000000100011101011101
+00100000001000000011011101111011
+11011010010000000100011101101011
+11011000110000000100011101011111
+00100000001000000011011101111011
+11011010010000000100011101110011
+11011000110000000100011101100001
+00100000001000000011011101111011
+01110000010001111101000100000000
+00100000011000000000000000000000
+11101000110000001000000000000000
+11000000000000000011011110000111
+11000000000000001011011110000000
+11000000000000010011011110000010
+00100000011000000000000000000000
+01110000010001110111101100000000
+00100000001000000011011110000011
+01110000010001110111101100000001
+11101000110000001000000000000000
+01100000000000001100011101111101
+11101010010001000000000000000000
+00100000001000000011011110001100
+11101010010000001000000000000000
+00100000010000000110100111010111
+00011010010000001010010000000001
+11101010010000001000000000000000
+00100000001000000110100111010111
+01100000000001000100011101111110
+01110000010001111101000100000001
+01101000000000001100011101111011
+11000000000000000011011110011010
+01101000000000001100011101111111
+01100000000000001100011110000000
+01101000000000001100011101111110
+00100000010000000110100111010111
+01101000000000001100011101111101
+00100000010000000011011110011110
+01100000000000001100011110000101
+01101000000000110100011110000000
+01100000000000110000101010011010
+00100000001000000110100110101110
+01101000000000001100011101111110
+01100000000000001100011110000000
+01101000000000001100011101111111
+00100000001000000011011110010011
+00011111111011111111111000000101
+00011111111000001111111000110010
+00100000011000000000000000000000
+11011000010000000010111011100000
+10011000010011111111111000000000
+00011111111001101111110001100100
+00100000010000000111111110000110
+00011000000001111000010000000000
+00011000010000100010001000000000
+01011000000000000010111011100000
+10011000010001100010010000000000
+00100000011000000000000000000000
+01101000000100001000000010000010
+01111001001000000111111000000010
+01100000000100001000000010000010
+01011000000000000000000010011110
+01100000000100010000000001101000
+01100000000100010000000001101010
+00100000011000000000000000000000
+01101000000000001100011111110000
+00100100011110100000000000000000
+01101000000000010100011101010010
+01100000000000010100011110000111
+01101000000000001100011111101010
+11000000100000001011011110111001
+01101000000000010100010010100000
+01100000000000010100011110000111
+01000100111010011100000000011010
+00100000010000000011011110101010
+00100000010000000011011111011100
+01011000000000001011101110000000
+00100000010000000010101010001111
+00100000010000000011011111100000
+01011000000000000001110000100000
+00100000010000000010101010001111
+11011111001000000000000000010000
+00100000010000000011011111011100
+01101000000000010100011110000111
+11000010100000000011011111001001
+01011000000000000001110000100000
+00100000010000000010101010001111
+00100000010000000011011111100000
+00100000001000000011011111001100
+01011000000000000011100001000000
+00100000010000000010101010001111
+00100000010000000011011111100000
+01011000000000000001110000100000
+00100000010000000010101010001111
+01101000000000010100011110000111
+00011111111000110111111000000000
+01100000000000010100011110000111
+11000010000000000011011111000010
+01110000010001111111000100000010
+01110000010001111111001000000001
+01011000000000000000101000000001
+01100000000000010100011101010010
+01101000000000001100011110111001
+11000000000000011011011111011001
+00100000001000000011011101100010
+01011000000000000000101000000001
+01100000000000010100011101010100
+00100000001000000011011101100010
+01101000000100001000000010000101
+00011111111000011111111001000000
+01100000000100001000000010000101
+00100000011000000000000000000000
+01101000000100001000000010000101
+00011111111000010111111010111111
+01100000000100001000000010000101
+00100000011000000000000000000000
+01101000000000001100011110111011
+11000001000000000000000000000000
+00100000010000000010110001100101
+01101000000010001100011110111100
+01100000000010001100011110000110
+00100000010000000110011111111011
+00100000010000000011100001000111
+00100100011000001000000000000000
+01110000010001111001101000000001
+00100000011000000000000000000000
+01101000000000001100011110111011
+11000001000000000000000000000000
+01101000000000001100011110011011
+00100100011110100000000000000000
+01101000000000010100011010000010
+11000010100001001011011111110110
+01101000000000001100011111101010
+11000001100000001000000000000000
+01000100111010100100000000011010
+00100000010000000011100001000111
+00100100011000001000000000000000
+01011000000000001000110010100000
+00100000010000000010101010001111
+00100000010000000011100001000111
+00100100011000001000000000000000
+00100000010000000011100000111111
+00100000010000000011100001000010
+00100100011000010000000000000000
+00100000010000000011100001000111
+00100000001000001011011111111110
+11011010001000000000000000000000
+11011111001000000000000000010000
+00100000010000000011100000111111
+00100000010000000011100001000010
+00100100011000010000000000000000
+00100000010000000011100001000111
+00100100001000001011100000000101
+01011000000000000010101000110000
+00100000010000000010101010001111
+00100000010000000011100001000111
+00100000001000001011100000010010
+01011000000000000000000000000000
+00011010001000110010001000000000
+10011010001000011010001000000000
+11000010000000000011100000000101
+00100000001000000011100000011011
+01011000000000001000000000000000
+00011010001000110010001000000000
+10011010001000011010001000000000
+00100000010000000011100000111111
+00100000010000000011100001000010
+00100100011000010000000000000000
+00100000010000000011100001000111
+00100000001000001011100000010110
+11000010000000000011100000000101
+01000100111010101100000000011010
+00011010001000100111111000000000
+01100000000000010100011110001001
+01100000000000010100011110010111
+01101000000000001100011111101010
+11000000000000001011100000100111
+11011111001000000000000000000111
+11011000110000000100011110010010
+00100000010000000011011011110000
+01100000000000001100011110011001
+11011010001000000100011110001111
+00100000001000000111111000111101
+01101000000000001100011111101111
+00011111111000001111111000000001
+01100000000000001100011111101111
+00011111111001101111110000000010
+00100000010000000111111110000110
+00011000000001111000010000000000
+00011000000001110111111000000000
+00100100001110100011100000111000
+01101000000000001100011110111111
+10011000010001100111110000000000
+00100000010000101011100000111101
+11011111111000000100011110011100
+00011000010000001000010111111111
+10011000010000001010001000000000
+11011111111000000000000000000000
+11100010001000001000000000000000
+00100000011000000000000000000000
+11011111111000000100011110011100
+10011000010000001010001000000000
+11011111111000000000000000000010
+11100010001000001000000000000000
+00100000011000000000000000000000
+01110000010001111111000000000001
+00100000011000000000000000000000
+00011100010000100111111000000000
+01100000000000100100011110001011
+00100000011000000000000000000000
+00011100010000100111111000000000
+01101000000010100100011110001011
+10011000010001100111111000000000
+00011111111001100111110011001000
+00100000011000000000000000000000
+01101000000010001100011110000110
+00100000001000000110100000011101
+01101000000001000100011101010010
+01100000000001000100011110011100
+00100000011000000000000000000000
+01101000000000001100011110111001
+01100000000000001100011110101111
+01101000000000001100011110111010
+01100000000000001100011110110000
+01101000000000001100011110111011
+01100000000000001100011110110001
+11011111001000000000000000001101
+11011000110000000100011110101010
+00100000010000000011011011110000
+01100000000000001100011110110111
+11011010001000000100011110100111
+00100000001000000111111000111101
+00100000010000000110010111000010
+01110000010001101111011001111010
+00100000010000000011100001101101
+00100000010000000011100001100111
+01011000000000000011100001100000
+01100000000000010100000111111101
+11011010001000000000000000000000
+00100000001000000110100110100110
+01101000000000010100011010100001
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000010100011010100001
+11000001100000000000000000000000
+01110000010001101010000000000000
+00100000011000000000000000000000
+01000100111010110100000000011010
+01101000000000001100011010100100
+00011111111001100111110000101000
+00100000011000010000000000000000
+01110000010001101010010000000000
+00100000011000000000000000000000
+11011010001000000100011010100100
+11011010010000000000000000000000
+11011000010000000000000001010001
+00100000001000000110010111011111
+01111000010101000111110000000000
+01101000000000001100011010100011
+00011111111000100111001000000000
+11011010001000000100011010100101
+00011010011000100010010000000000
+01000100111010111100000000011010
+00100000010000000011100001111100
+00100000001000101111111111100111
+00011010001000001010001000000100
+11000010000000000011100001110110
+00100000011000000000000000000000
+01000100111011000100000000011011
+11101010001000011000000000000000
+11101010010010011000000000000000
+10011000010001100111110000000000
+00100000011000000000000000000000
+01000100111011001100000000011011
+11101010001000011000000000000000
+11101010010010011000000000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+11101000110000001000000000000000
+00011111111001100111110000000000
+00100000011000101000000000000000
+00011010001000001000110000000011
+11101000110010001000000000000000
+10011000010001100111110000000000
+00100000011000000000000000000000
+01000100111011010100000000011011
+01111000010101000111110000000000
+01101000000000001100011010100011
+00011111111000100111001000000000
+11011010001000000100011010100101
+00011010011000100010010000000000
+00100000010000000011100010000001
+00100000001000101111111111100111
+00011010001000001010001000000100
+11000010000000000011100010010011
+00100000011000000000000000000000
+01101000000000001000000000000100
+00011111111000001111111000000001
+01100000000000001000000000000100
+11011010011000000000001011100101
+11101010011000010000000000000000
+11011000010000000101010110101010
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011000110000100010011000000000
+11101010011010011000000000000000
+01011000111111111111111111111111
+10011000010001100111110000000000
+00100000001000101011100010101000
+00100000010000000011100010001101
+00100000001101000011100010101000
+00100000011000000000000000000000
+01000100111011011100000000011011
+00011010011000001010011000000100
+11101010011000001000000000000000
+01101000000010001100011011110110
+10011000010001100111110000000000
+00100000011000101000000000000000
+01100000000000001100011011110110
+01101000000000001000000000000011
+00011111111000001111111000000001
+01100000000000001000000000000011
+00011010011000001010011000000001
+11101010011000001000000000000000
+01100000000000001100011011110101
+00011111111000100111001000000000
+00100000011110100000000000000000
+11101000110000001000000000000000
+11000000000000000011100011000010
+11000000000000001011100011001111
+11000000000000010011100011010100
+11000000000000011011100011011001
+11000000000000100011100011011110
+11000000000000101011100011100011
+11000000000000110011100011101000
+11000000011111111011100011101010
+11000010000000000011100010110111
+00100000011000000000000000000000
+00011000110000100010011000000000
+01101000000000001100011010011010
+01100000000000001000101010011010
+11011000010000000000000000000000
+01100000000010001000101010011011
+01011000000000000010011100010000
+01100000000000011000101010011100
+11101010011000001000000000000000
+01100000000000001000101010011111
+00100000010000000110100110101110
+00011010011000010000110000000001
+11000010000000000011100010110111
+00100000011000000000000000000000
+00011010011000100000110000000000
+01101000000000001100011010011011
+01100000000000001000101010011010
+11011000010000000000000000000001
+00100000001000000011100011000110
+00011010011000100000110000000000
+01101000000000001100011010011100
+01100000000000001000101010011010
+11011000010000000000000000000010
+00100000001000000011100011000110
+00011010011000100000110000000000
+01101000000000001100011010011101
+01100000000000001000101010011010
+11011000010000000000000000000011
+00100000001000000011100011000110
+00011010011000100000110000000000
+01101000000000001100011010011110
+01100000000000001000101010011010
+11011000010000000000000000000100
+00100000001000000011100011000110
+00011010011000100000110000000000
+01101000000000001100011010011111
+01100000000000001000101010011010
+11011000010000000000000000000101
+00100000001000000011100011000110
+11101000110000001000000000000000
+00100000011000000000000000000000
+00011000110000100010011000000000
+01101000000000001100011010100000
+11000000100000001011100011101110
+00100000010000000011100011110000
+00011010011000010000110000000100
+00100000011000000000000000000000
+01000100111011100100000000011011
+00100000010000000011100001110001
+00100000001101000011100011111110
+01101000000000001100011010100100
+00011111111000100000010000000000
+00011111111000001111111000000001
+01100000000000001100011010100100
+00100000010000000011100001100111
+00011000010010111000010000000000
+01011000000000000100011010100101
+10011000010000001000101000000000
+11101010011000100000000000000000
+11100000101000100000000000000000
+00100000001000000011100100000011
+00011010011000001000110000000011
+11101000110000001000000000000000
+00100000011110100000000000000000
+11101010011000100000000000000000
+11100010001000100000000000000000
+11011010001000000100011010100100
+11011010010000000000000000000000
+11011000010000000000000001010001
+00100000001000000110011000000110
+01101000000010001100011010011010
+00100000010000000110100000100101
+00100000011000000000000000000000
+01101000000010001100011010011010
+00100000010000000110100000101001
+01101000000010001100011010011010
+00100000010000000110100000100101
+00100000010000000011100100011101
+01101000000000001100011010100111
+00100100011110100000000000000000
+00100000010000000010110000101001
+01101000000100100000000100111000
+01111001001111111111111000001111
+01100000000100100000000001001100
+00100000010000000010110000100001
+11011000010111111111111111111111
+00100000001000000010101100101010
+01101000000000001100011010100111
+00100000001110100101011011111001
+00011111111000001111111111111111
+01100000000000001100011010100111
+00100000001000000101011011111001
+00011111111011111111111000010100
+11011000110000000100011010101000
+10011000110000001000110000000000
+11101000110000001000000000000000
+00100000011110100000000000000000
+00011111111000100010001000000000
+00011010001000100111001000000000
+11011000101000000100001101110010
+00100000010000000111111100000001
+00011010001000100111111000000000
+00011111111000001111111000000010
+01100000000000001100001101101111
+00100000011000000000000000000000
+00100000011101011000000000000000
+00100000010000000101011110100011
+00100000010000000110100010101000
+01011000000000000011100110000010
+01100000000000010100000111110011
+01011000000000000011100101101110
+01100000000000010100000111110001
+01011000000000000011100110000110
+01100000000000010100000111110101
+01011000000000000011100101101101
+01100000000000010100000111101111
+01011000000000000011100101101001
+01100000000000010100000111101001
+01011000000000000011101010110111
+01100000000000010100000111111011
+01011000000000000011110000110010
+01100000000000010100010101101111
+01011000000000000011110011000010
+01100000000000010100000111111001
+01011000000000000011110011010111
+01100000000000010100000111111101
+00100000010000000011100101111111
+01000100111011101100000000011011
+00100000010000000011100101000101
+00100000010000000011100101100100
+00100000010000000010110001101111
+00100000001000000011110001001000
+01101000000000100100011010101010
+01100000000100100000000001010100
+01101000000000100100011010101110
+01100000000100100000000001011010
+01101000000100001000000010000001
+00011111111000011111111000000100
+00011111111000010111111011111100
+01100000000100001000000010000001
+01110000100000000110001000000000
+01101000000000010100011010101010
+01100000000100010000000001011000
+01101000000000010100011010101110
+01100000000100010000000001011110
+01100000000100010000000001100000
+01101000000100100000000001111000
+01111001001000000111111000000111
+01100000000100100000000001111000
+01101000000100010000000001010000
+01111001001111111111111000001111
+01100000000100010000000001010000
+00100000010000000110011011001110
+01110000100000000100001100000000
+01110000100000000110001010000001
+01101000000000001100011010111111
+00101111111011111111111000000000
+01101000000110001000000001100010
+01111001001000001000010000000100
+01100000000110001000000001100010
+00100000011000000000000000000000
+00100000010000000011100101111111
+00100000001000000011100101000101
+01101000000010001100011010011110
+00100000010000000110100000001110
+00100000010000000011100111100110
+01101000000010001100011010011100
+00100000001000000110011111111011
+01101000000010001100011010011100
+00100000010000000110100000011101
+00100100001000001011001111010010
+00100000001000000011001111010000
+00100000011000000000000000000000
+00100000010000000011100101110000
+00100000001000000011110011101001
+01101000000000001100011010000010
+11000011000000100011100101111111
+01000100111011110100000000011011
+01011000000000000011111011111111
+01101000000010100100011011000101
+10011000010000001000010000000000
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+01101000000000010100011010000010
+11000010100000101011100101111111
+01101000000000001100011010111111
+11000011100000110000000000000000
+00100000010000000011110011101100
+00100000010000000011010000001110
+00011100010000100111111000000000
+01100000000000100100011011000101
+00100000011000000000000000000000
+00100000010000000011110011101001
+00100000010000000101001001101110
+00100100011110100000000000000000
+00100000001000000011100111101011
+00011010011000100111111000000000
+11000000000000001011100111010100
+11000000000000010011100110100011
+11000000000000100011100111010111
+11000000000000101011100111000100
+11000000000001000011100110101010
+11000000000001001011100110110001
+11000000000001010011100111001001
+11000000000001011011100110110110
+11000000000001100011100111000010
+11000000000010011011100111010111
+11000000000010100011100111001111
+11000000000010101011100111000110
+11000000000100001011100111001010
+11000000000100011011100111001011
+11000000000100100011100111001110
+11000000000110000011110010001010
+11000000000110001011110010001100
+11000000000110010011110010011010
+11000000000110011011110010011000
+11000000000110100011110010000100
+11000000000110101011110001110011
+11000000000110110011110010000010
+11000000000110111011110010001110
+11000000000111000011110010010000
+11000000000111011011110010100001
+11000000000111101011110001101010
+11000000001000001011100111011001
+00100000011000000000000000000000
+00100000010000000011100101111111
+01101000000000001100011001100101
+00100100010110100011110010001110
+00100000010000000011100111010111
+01101000000000010100011010000010
+11000100000000100000000000000000
+00100000001000000011100110110001
+01101000000000010100011010000010
+01111001001000000111111000000100
+01100000000000010100011010000010
+01101000000000001100011010100111
+01100000000000001100000101110010
+00100000010000000011100111100110
+00100000001000000011110000011101
+01101000000000010100011010000010
+11000100000000100000000000000000
+01111001001111111111111000000100
+01100000000000010100011010000010
+00100000001000000011110000100001
+00100000010000000011100101111111
+01101000000000010100000001000010
+00011111111000110111111000000000
+01101000000010010100000111100011
+10011000010001100111110000000000
+00100100001000101011100110111101
+00100000001000000011010000010110
+01101000000000001100011010111111
+11000011100000101000000000000000
+01101000000100010000000100010010
+00100100010110100011110011110000
+00100000001000000011010000001100
+00100000010000000011110011101110
+00100000001000000011010000011000
+00100000010000000011100101111111
+00100000001000000011100111011101
+00100000010000000101100000010110
+00100000010000000011100111010111
+00100000001000000011110000100011
+00100000001000000011001111011101
+00100000001000000011110011101110
+01101000000000001100011010111111
+11000011000000101011010000001110
+00100000001000000011110011110010
+00100000001000000011110011110010
+00100000010000000101100010111010
+00100000010000000011100111011101
+01101000000000001100011010101000
+01100000000000001100000101110010
+00100000001000000011110000011111
+01110000010001100110000100000000
+00100000010000000011110011101110
+00100000001000000011110011110010
+00100000010000000011101001010010
+00100000001000000011100111011011
+00100000010000000101110011001001
+00100000001000000101101100000010
+01101000000010001100011010011110
+00100000001000000110100000101001
+00100000010000000011100111011111
+00100000001000000011100111100110
+01101000000000001100011010100001
+00101111111011111111111000000000
+00100000010000001011001111110000
+01101000000000001100011010100001
+00101111111011111111111000000001
+00100000010000001011001111111000
+00100000011000000000000000000000
+01101000000010001100011010011110
+00100000001000000110100000100101
+01101000000000001100010101101011
+11000001000000000000000000000000
+00100000001000000110110000101000
+01101000000100001000000100001100
+11000010100000011011100111101000
+00100000010000000110011011001011
+11101000011000001000000000000000
+11000000100000001011101000000001
+01101000000100010000000100010010
+00011111111001100111110000000010
+00100000011000010000000000000000
+11101000011000001000000000000000
+01100000000000001000101100000011
+11101000011010001000000000000000
+00011000011000100010001000000000
+01100000000010001000101100000100
+00011000010000001000010000000011
+01101000000100010000000100010010
+10011000010001100000010000000000
+00100100011000010000000000000000
+01110000000010110000010100000001
+00100000010000000011101000010111
+01101000000000001000101100000101
+11000001000000000000000000000000
+00100000001000000011101000010010
+00100000010000000111111011000001
+00100000010000000011110001111001
+00100000001000000011101000000100
+01000100111011111100000000011011
+01101000000100010000000100010010
+00100000011110100000000000000000
+00100000010000000110011011001011
+11101000011000001000000000000000
+00011111111001100111110000000001
+00100100010000101011101000010110
+00100100001000101011101000000100
+11101000011000001000000000000000
+11000001000000101000000000000000
+11000001000101001000000000000000
+00011000011000001000011111111111
+00100000010000000011101000010110
+00100000001000000011101000000100
+00100000010000000110011011001011
+00011000011000001000011000000010
+11101000011000001000000000000000
+10011000011000001000011000000000
+00100000001000000110011011001000
+01000100111100000100000000011100
+01101000000000001000101100000011
+11000000000000000011101000111111
+11000000000000001011101001000100
+11000000000000010011101001001001
+11000000000000011011101001011111
+11000000000000100011101001101011
+11000000000000101011101001110101
+11000000000001001011101010011010
+11000000000001011011101011010111
+11000000000001100011101011011000
+11000000000001101011101011101100
+11000000000001110011101011110100
+11000000000001111011101011111010
+11000000000010000011101100000110
+11000000000010001011101100001110
+11000000000010010011101100010010
+11000000000100110011101100010110
+11000000000101000011101100011101
+11000000000101001011101100101101
+11000000000101010011101100110110
+11000000000101011011101101101001
+11000000000101100011101101101111
+11000000000110000011101101110110
+11000000000110001011101101111100
+11000000000110010011101110010000
+11000000000110011011101110011000
+11000000000110100011101110111011
+11000000000110101011101111000100
+11000000000110110011101111001101
+11000000000110111011101111010111
+11000000000111000011101111011010
+11000000001000000011101111100010
+11000000001000010011101111101100
+11000000001001000011101111110001
+11000000001001001011101111111100
+11000000001010001011110000000010
+11000000001100001011110000000110
+11000000011111111011110000010101
+00100000001000000011110000010111
+01101000000000001000101100000100
+11000000100000110011110000010111
+11101000011000110000000000000000
+01100000000000110100000010100000
+00100000001000000011110000011010
+01101000000000001000101100000100
+11000000100000110011110000010111
+11101000011000110000000000000000
+01100000000000110100010010100000
+00100000001000000011110000011010
+01101000000000001000101100000100
+11000000100000001011110000010111
+00011010001000100000011000000000
+00100000010000000011110000011010
+11101000011010001000000000000000
+01100000000010001100011010101001
+01101000000000010100011010000010
+11000011100001001000000000000000
+11000011100000000000000000000000
+01101000000000001100011010100001
+00101111111011111111111000000000
+00100100001000001011101001011000
+01101000000010001100011010101001
+00011000010000010111111000000011
+01100000000000001100000010010011
+01101000000000001100011010100001
+00101111111011111111111000000001
+00100100011000001000000000000000
+01101000000010001100011010101001
+00101000010011111111111000000010
+00100000001000001011001111111010
+00100000001000000011001111111000
+01101000000000001000101100000100
+00011111111001100111110001000011
+00100100001000010011110000010111
+01100000000000001100010100010101
+11011111001000000000000000001000
+00100000010000000111111011000110
+01101000000000001000101100000100
+00011111111000100111001000000000
+00011010001000100000011000000000
+11011000101000000100010100010110
+00100000010000000110011011101010
+00100000001000000011110000011010
+01101000000000001000101100000100
+00011111111001100111110000011101
+00100100001000010011110000010111
+01100000000000001100001110101111
+00011111111000100111001000000000
+00011010001000100000011000000000
+11011000101000000100001110110000
+00100000010000000110011011101010
+00100000010000000101011110100011
+00100000001000000011110000011010
+01101000000000001100011010000010
+11000011000000100011110000010111
+00100000010000000011001110111010
+00100000001000001011101010000110
+01110000000010110000010100000000
+00100000010000000011100101111111
+01101000000000001100010101101000
+00100000011110100000000000000000
+01101000000000010100010101110011
+11000000100000000011101010000100
+01101000000000001000101100000100
+01100000000000010100010101110011
+00011010001000100000011000000000
+00011000011000100111111000000000
+01100000000000010100010101110001
+00100000010000000011101010001000
+00100000001000000110110001001101
+01110000000010110000010100000000
+00100000001000000011110011010001
+00100000010000000011101010001110
+01101000000000010100010101110011
+01101000000010010100011010011111
+10011000010001100111111000000000
+01100000000000010100010101110011
+00100000011000000000000000000000
+01101000000000010100010101110011
+11011000010000000000000001101110
+00100000010000000111111111011101
+01101000000010010100010101101100
+00100000010000000111111111011101
+01101000000010010100010101011110
+00100000010000000111111111011101
+01100000000000010100011010011111
+00100000011000000000000000000000
+01110000000010110000010100000001
+01110000000010110000001100000101
+00100000001000000011110000011010
+01101000000000010100011010000010
+11000011000001001011110000010111
+00100000010000000011101011010100
+00100000001101000011110000010111
+01110000000010110000010100000000
+01101000000000001100011010111111
+11000010100000100011101010110100
+01101000000000001100011011000000
+00100100011110100000000000000000
+01110000000010110000010100000001
+11101000011000010000000000000000
+01100000000000010100011011000001
+00011000011000100111111000000000
+01100000000000010100011011000011
+01101000000000001000101100000100
+00011111111000001111111111111110
+00100100001000010011110000010111
+00100000001000101011110000010111
+01100000000000001100011011000000
+01110000000010110000010100000000
+00100000010000000101100000010100
+00100000010000000011101010110111
+00100000010000000011101010110111
+00100000010000000011101010110111
+01101000000000001100011010111111
+11000100000000100000000000000000
+01110000000010110000010100000001
+00100000010000000011110011110110
+00100000001000000011110000011010
+01101000000000001100011011000000
+00100000011110100000000000000000
+00100000010000000101100010010010
+00100100011110100000000000000000
+00100000010000000011101011001111
+01000100111100001100000000011100
+00011000010000001111111111111101
+01101000000010001100011011000000
+00100000010000000111111111011101
+00011111111000100010001000000000
+00011000010000100111111000000000
+10011010001001100111111000000000
+01100000000000001100011011000000
+01101000000010010100011011000001
+00100000010000000101101001100100
+01101000000000010100011011000011
+00011111111000100000011000000000
+00011010001000100111001000000000
+00100000010000000110011011101010
+00011000011000100111111000000000
+01100000000000010100011011000011
+01101000000000001100011011000000
+00100100011110100000000000000000
+00100000001000000011110011110100
+11011000010000000000000000010111
+01101000000000001100011010111111
+11000011100000001000000000000000
+01101000000010010100010010101000
+00100000011000000000000000000000
+01101000000000001100011010111111
+11000010100000010101101001000010
+00100000001000000111111111101001
+00100000001000000011110001001100
+00011010001000100000011000000000
+11101000011000001000000000000000
+11000000000000000011101011011111
+11000000000000001011101011100010
+11000000000000010011101011101000
+11000000000000011011101011101010
+00100000001000000011110000010111
+00100000010000000110000100101011
+01110000010001100101101000000000
+00100000001000000011110000011010
+01011000000001000000000000000011
+01100000000000011100011001011011
+01100000000000001100011001100010
+00100000010000000110000100100100
+01110000010001100101101000000001
+00100000001000000011110000011010
+01011000000001000000000000000010
+00100000001000000011101011100011
+01011000000001000000000000000001
+00100000001000000011101011100011
+01101000000000001000101100000100
+00011111111001100111110000010000
+00100100001000010011110000010111
+01100000000000001100011010001001
+00011111111000100111001000000000
+11011000101000000100011010001010
+00100000010000000110011011111101
+00100000001000000011110000011010
+00011010001000100000011000000000
+11101000011000001000000000000000
+01101000000110001000000001100010
+01111101001110100000010000000100
+01100000000110001000000001100010
+00100000001000000011110000011010
+01101000000000001000101100000100
+00011111111000100111001000000000
+00011010001000100000011000000000
+00100000010000000111111101011000
+01011001011011100011011000000000
+10011000010001101111110000000000
+00100000010000000111111110000110
+00011000000001111111111000000000
+01100000000000010100001001000011
+00100000010000000011110000011010
+00100000010000000111111110011110
+00100000001000000110011011001110
+11011010001000000000000000000010
+11011010010000000100011010011010
+11011000010000000000000000000000
+00100000001000000011110000100101
+01100000000000010000101011000010
+11011010010000000000101011000010
+11011000010000000000000000000000
+00100000001000000011110000100101
+01101000000000010100011010000010
+11000011000000000011110000010111
+00100000010000000011110000011010
+00100000001000000011001111101001
+01101000000000010100011010000010
+11000011000001001011110000010111
+00100000010000000011110000011010
+00100000001000000011010000000010
+01101000000000001000101100000100
+00011111111000100111001000000000
+00011010001000100000011000000000
+01101000000000010100001000010101
+00011111111000100000101000000000
+00100000010000000110011011101010
+00100000001000000011110000011010
+01101000000000001100011010000010
+11000011000000000011110000010111
+11101000011000001000000000000000
+01101000000010001100011001100001
+01111001001110100000010000000000
+01111001001000000000010000000111
+01100000000010001100011001100001
+00100000010000000011110000011010
+01101000000000001100011001100001
+11000010100000110011101100101011
+00100000011000000000000000000000
+01110000010001100110000100000000
+01110000000010101001100100100001
+00100000001000000111110110001111
+11000010100000000101111110010101
+00100000001000000011101100101000
+01101000000000001100011010000010
+11000100000000100000000000000000
+01101000000000001100010101101011
+11000001000000000000000000000000
+11101000011000001000000000000000
+01101000000010001100010101101001
+10011000010000001000010000000000
+01100000000010001100010101101001
+00100000011000000000000000000000
+11011111001000000000000001000000
+11011000101000000100001101101111
+00100000010000000111111011010100
+01011000000000000000000000000000
+01100000000000001000101010110010
+00011010001000100000011000000000
+00011000011000100111111000000000
+01100000000000010000101010110110
+00100000010000000011101101100100
+01101000000000001000101010110010
+01101000000010001000101010100010
+00011000010000001000010000000001
+10011000010000001111111000000000
+01100000000000001000101010110010
+00011111111001100111110000011111
+00100100001000010011101101010000
+01101000000010001100001101101111
+01011000000000000100001101110000
+10011000010000001111111000000000
+01100000000000010000101010111011
+01101000000010001000101010100010
+00011000010000001000010000000001
+01101000000000001100001101101111
+10011000010000001111111000000000
+01100000000000001100001101101111
+00100000001000000011101101011001
+01101000000010001100001110001111
+01011000000000000100001110010000
+10011000010000001111111000000000
+01100000000000010000101010111011
+01101000000010001000101010100010
+00011000010000001000010000000001
+01101000000000001100001110001111
+10011000010000001111111000000000
+01100000000000001100001110001111
+01101000000000010000101010111011
+00011111111000100000101000000000
+01101000000000010000101010110110
+00011111111000100000011000000000
+00011000010000100111001000000000
+00100000010000000110011011101010
+01101000000000001000101100000100
+01101000000010001000101010110010
+10011000010001100111110000000000
+00100100001000101011101100111100
+00100000001000000011110000011010
+11101000011000001000000000000000
+01100000000000001000101010100010
+11101000011000001000000000000000
+01100000000000001000101010101110
+00100000011000000000000000000000
+11011000010000000000000000000000
+11011010001000000000000000000010
+01101000000000010100011010110100
+01100000000000010000101011000010
+11011010010000000000101011000010
+00100000001000000011110000100101
+01101000000000001000101100000100
+11000000100000001011110000010111
+11101000011000001000000000000000
+01100000000000001100011010110010
+01011000000000000000000000000000
+01100000000000010100011010110100
+00100000001000000011110000011010
+11101000011000100000000000000000
+01100000000000100100011010001010
+01110000010001101000100100000100
+01110000010001100110001100000000
+00100000010000000011110000011010
+00100000001000000101111100110001
+01101000000000001000101100000100
+11000000100000011011110000010111
+11101000011000001000000000000000
+11000000000000000011101110000010
+11000000000000001011101110001010
+00100000001000000011110000010111
+11101000011010001000000000000000
+11101000011000001000000000000000
+11000000000000010011101110001000
+01111101001110100000010000000111
+00100000010000000110011111111011
+00100000001000000011110000011010
+00100000010000000110100000000110
+00100000001000000011110000011010
+11101000011010001000000000000000
+00100000010000000110100000010010
+11101000011000001000000000000000
+00101111111011111111111000000000
+00100000010000000110100000101100
+00100000001000000011110000011010
+01101000000000001000101100000100
+11000000100000001011110000010111
+11101000011010001000000000000000
+00100000010000000110100000011101
+01011000000000000000000000000000
+01111101001000001111111000000000
+11011010001000000000000000000001
+00100000001000000011101100001010
+00011010001000100000011000000000
+11101000011000001000000000000000
+00011111111000100000010000000000
+11000000010000001011101110100011
+11000000010000010011101110101000
+11000000010000011011101110101110
+01100000000000001100010011000110
+11000000000000000011101110110011
+11000000000000001011101110110110
+11000000000000010011101110111000
+00100000001000000011110000010111
+01101000000000001100010010111110
+00100000001110100011110000010111
+01100000000010001100010011000110
+01110000010001000101011000001101
+00100000001000000011101110110100
+01101000000000001100010010111110
+00100000001110100011110000010111
+01100000000010001100010011000110
+01110000010001000101011000001101
+01110000010001000101010000000001
+00100000001000000011110000011010
+01101000000000001100010010111110
+00100000001110100011110000010111
+01100000000010001100010011000110
+01110000010001000101011000001101
+00100000001000000011101110111001
+01110000010001000101011000000000
+01110000010001000101010000000011
+00100000001000000011110000011010
+01110000010001000101011000000101
+00100000001000000011101110110100
+01110000010001000101011000000101
+01110000010001000101010000000000
+00100000001000000011110000011010
+01101000000000001000101100000100
+00011111111001100111110000011111
+00100100001000010011110000010111
+01100000000000001100001101101111
+00011111111000100111001000000000
+00011010001000100000011000000000
+11011000101000000100001101110000
+00100000010000000110011011101010
+00100000001000000011110000011010
+01101000000000001000101100000100
+00011111111001100111110000011111
+00100100001000010011110000010111
+01100000000000001100001110001111
+00011111111000100111001000000000
+00011010001000100000011000000000
+11011000101000000100001110010000
+00100000010000000110011011101010
+00100000001000000011110000011010
+01101000000000010100011010000010
+11000011000001001011110000010111
+01101000000000001000101100000100
+11000000100001000011110000010111
+00011010001000100000011000000000
+11101000011001000000000000000000
+01100000000001000100010010010110
+01110000000010101001100100010010
+00100000010000000111110110001111
+00100000001000000011110000011010
+11101000011000010000000000000000
+01100000000000010100010010000010
+00100000001000000011110000011010
+01101000000000001100010011000110
+00100000001110100011110000010111
+01101000000000001100010011000100
+11000000100000000011110000010111
+01101000000000001100010011000101
+11000000100000000011110000010111
+00100000010000000111111000100101
+00100000001000000011110000011010
+01101000000000001000101100000100
+11000000100000101011110000010111
+11101000011000001000000000000000
+01100000000000001100011010100010
+11101000011000100000000000000000
+01100000000000100100011010100011
+01101000000010001100011010100010
+00100000010000000110100000001110
+00100000010000000011110010111100
+00100000001000000011110000011010
+01101000000000001000101100000100
+11000000100000001011110000010111
+11101000011000001000000000000000
+01100000000000001100000111011110
+00100000001000000011110000011010
+11101000011000001000000000000000
+11000000000000001011101111111010
+01101000000000001100010011000001
+11000000000000011011101111111000
+11000000000000110011101111111000
+11000000000000111011101111111000
+00100000001000000011110000010111
+01110000010001001100001000000001
+00100000001000000011110000011010
+00100000010000000101101101010011
+00100000001000000011110000011010
+01101000000000001000101100000100
+11000000100000001011110000010111
+00100000010000000011110000011010
+11101000011000001000000000000000
+00100000001110100110000011001011
+00100000001000000110000011001001
+00100000010000000011110000011010
+00100000010000000111111110011110
+01110000100000000001000000000001
+00100000001000000010101010001110
+01101000000000001000101100000100
+11000000000000000011110000010111
+11101000011000001000000000000000
+00100000001110100011110000010011
+01101000000000001000101100000100
+11000000100000101011110000010111
+11101000011000100000000000000000
+11011000010011110100001001000000
+10011000010001100111110000000000
+00100000001000010011110000010111
+01100000000000100100010011000111
+00100000010000000101100000001100
+00100000001000000011110000011010
+00100000010000000101100000001110
+00100000001000000011110000011010
+01110000010000001001000100000000
+00100000001000000011110000011010
+11011000010000000000000000000001
+11011010001000000000000000000000
+00100000001000000011110000100101
+11011000010000000000000000000000
+11011010001000000000000000000000
+00100000001000000011110000100101
+01110000000010110000001100000000
+00100000001000000011110001001001
+01110000000010110000001100000010
+00100000001000000011110001001001
+01110000000010110000001100000011
+00100000001000000011110001001001
+01110000000010110000001100000101
+00100000001000000011110001001001
+01101000000000001000101100000011
+00011111111000100010011000000000
+01110000000010110000001100000110
+01011000000000000000000000000010
+10011010001000001111111000000000
+00100000010000000011110010100111
+00011010011000100111111000000000
+11100001010000001000000000000000
+11100001010010001000000000000000
+00011010001000100111001000000000
+00011010010000100000110000000000
+00100000010000000110011011100100
+00100000001000000110011011000101
+00100000010000000011100101111111
+01110000000010110000001100000111
+01101000000000001000010011111111
+00100000011110100000000000000000
+00100000010000000011110010100111
+01101000000000001000010011111111
+00011111111000100111001000000000
+01101000000000010000010100000001
+00011111111000100000110000000000
+00100000010000000110011011010001
+00100000001000000110011011000101
+01110000000010110000001100001000
+01101000000000001100011010110110
+00011111111000100111001000000000
+00011111111000001111111000000010
+00100000010000000011110010100111
+01101000000000010100011010111001
+11100001010000010000000000000000
+01101000000000010100011010110111
+00011111111000100000110000000000
+00100000010000000110011011010001
+00100000001000000110011011000101
+01110000000010110000001100001001
+01011000000000000000000000000000
+00100000010000000011110010100111
+00100000001000000110011011000101
+01110000000010110000001100001010
+01011000000000000000000000000001
+00100000010000000011110010100111
+00100000010000000011110001011101
+01101000000000010100011010000010
+11011000111000000000000000000010
+10101111111011111111111111111111
+01111001001000001000010000000011
+11011000111000000000000000001001
+10101111111011111111111111111111
+01111001001000001000010000000101
+01101000000000001100011010000010
+11011000111000000000000000000100
+10101111111011111111111111111111
+01111001001000001000010000000100
+11100001010010001000000000000000
+00100000001000000110011011000101
+11011000010000000000000000000000
+01101000000000001100000010010011
+11011000111000000000000000000000
+10101111111011111111111111111111
+01111001001000001000010000000000
+11011000111000000000000000000001
+10101111111011111111111111111111
+01111001001000001000010000000001
+01101000000000001100001101101110
+11011000111000000000000000000000
+10101111111011111111111111111111
+01111001001000001000010000000010
+00100000011000000000000000000000
+01110000000010110000001100001101
+01101000000000001100001000010111
+00011111111011111111111000100010
+00011111111000100111001000000000
+00100000010000000011110010100111
+01101000000000010100001000010101
+00011111111000100000110000000000
+00100000010000000110011011010001
+00100000001000000110011011000101
+01110000000010110000001100001110
+01011000000000000000000000000100
+00100000010000000011110010100111
+01101000000000100000100110111010
+11100001010000100000000000000000
+00100000001000000110011011000101
+01110000000010110000001100001111
+01101000000100010000000100010010
+11011000010000000000000011111111
+00100000010000000111111111011101
+00011111111000100111001000000000
+00100000010000000011110010100111
+00100000010000000110011011001011
+00100000010000000110011100000011
+00100000001000000110011011000101
+01110000000010110000001100010000
+00100000001000000011110001001001
+01110000000010110000001100010001
+01011000000000000000000000000100
+00100000010000000011110010100111
+01101000000000100100010011000111
+11100001010000100000000000000000
+00100000001000000110011011000101
+11011010001000000000000110000000
+00100000001000000011110010010001
+11011010001000000000000010000000
+00100000001000000011110010010001
+11011010001000000000000100000001
+00100000001000000011110010010001
+11011010001000000000000000000001
+01110000010001100110000100000000
+01110000000010110000001100010100
+01011000000000000000000000000010
+00100000010000000011110010100111
+00011010001000100111111000000000
+11100001010000010000000000000000
+00100000001000000110011011000101
+11011010011000000000000000000000
+00100000001000000011110010011011
+11011010011000000000000000000001
+01110000000010110000001100010101
+01011000000000000000000000000001
+00100000010000000011110010100111
+00011010011000100111111000000000
+11100001010000001000000000000000
+00100000001000000110011011000101
+01110000000010110000001100011101
+01011000000000000000000000000100
+00100000010000000011110010100111
+01101000000000100000100110111010
+11100001010000100000000000000000
+00100000001000000110011011000101
+01110000000010110000001000000010
+01100000000000001000101100000100
+01100000000011000000101010100010
+01000100111100010100000000011100
+00100000010000000011110010110001
+01101000000011000000101010100010
+00100000010000000110011011000010
+01101000000000011000101100000010
+11100001010000011000000000000000
+00100000011000000000000000000000
+00100000010000000011110010111010
+00100000011000001000000000000000
+00100000010000000011110010111000
+01101000000000100100011010100011
+00011111111010110111111000000000
+00100000011110100000000000000000
+00100000001000000011110010111110
+01101000000010001100011010100010
+00100000001000000110100000101001
+01101000000010001100011010100010
+00100000001000000110100000011011
+01101000000010001100011010100010
+00100000001000000110100000100101
+00011111111000001111111111111111
+00100000000000000000000000100110
+00100100001110100011110010111110
+00100000011000000000000000000000
+00100000010000000011101011010100
+00100000011101000000000000000000
+00011010001000100111111000000000
+01100000000000010100011010110111
+00011010010000100111111000000000
+01100000000000001100011010110110
+01101000000000010000010001111000
+01101000000010010100011010111011
+10011000010001100111110000000000
+00100000001000101011110011001111
+01101000000010010100011010111101
+10011000010001100111110000000000
+00100100011000101000000000000000
+01100000000000010100011010111001
+00100000001000000011110000111101
+01101000000000001100011010111111
+11000011100000101000000000000000
+00100000010000000011110011110000
+00100000001000000011010000001100
+01110000010000010111001000000010
+00100000011000000000000000000000
+00100000001000000011110011011000
+01101000000000001100011010110010
+00100000011110100000000000000000
+01101000000000001100011010110011
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100011010110011
+00100100011110100000000000000000
+01110000010001101011001100001010
+00100000010000000110100011101011
+00100000010000000110100100001000
+00011111111001101111110001100100
+00100000010000000111111110000110
+00011000000001111111111000000000
+00011000000001110000010000000000
+01100000000000001100011010110100
+01100000000010001100011010110101
+00100000011000000000000000000000
+00100000010000000111111110110100
+00100000001000010011001111011001
+00100000001000000011001111011011
+11011000111000000000000000000110
+00100000001000000011110011111100
+11011000111000000000000000000110
+00100000001000000011110011111000
+11011000111000000000000000000101
+00100000001000000011110011111100
+11011000111000000000000000000101
+00100000001000000011110011111000
+11011000111000000000000000000100
+00100000001000000011110011111100
+11011000111000000000000000000100
+00100000001000000011110011111000
+01101000000000001100011010111111
+11111001001111111111111000000000
+01100000000000001100011010111111
+00100000011000000000000000000000
+01101000000000001100011010111111
+11111001001000000111111000000000
+01100000000000001100011010111111
+00100000011000000000000000000000
+00100000010000000011110100111001
+00100000010000000110010000001111
+00100000010000000100000011000110
+00100000010000000011110101100110
+00100000010000000110010000010001
+00100000011101011000000000000000
+00100000010000000011110100010110
+00100000010000000011110100011001
+01101000000000100100011011010011
+11000011100010000000000000000000
+00100000010000000011110101001110
+11000110000100110000000000000000
+01101000000000010100011010000010
+11000010100001100100001010110000
+00100000001000000100001010100010
+01101000000000100100011011010011
+11000100000011011000000000000000
+11011111001000000000000000010100
+01011000000000110000110101000000
+00100000010000000010101010001111
+11000010000000000111111011000001
+00100000011000000000000000000000
+01101000000000100100011011010011
+11000100000010000000000000000000
+00100000001000000100100011101010
+01011000000000000100000101101101
+01100000000000010100000111101111
+01011000000000000011111101110111
+01100000000000010100000111110001
+01011000000000000011111010111011
+01100000000000010100000111101101
+01011000000000000100000101111100
+01100000000000010100000111110101
+01011000000000000011110111100011
+01100000000000010100000111110011
+01011000000000000011111010110011
+01100000000000010100000111101011
+01011000000000000011110101011011
+01100000000000010100000111111001
+00100000010000000010110001111010
+01011000000000000100010000000001
+00011010011000001000101011011000
+11100000101000010000000000000000
+01011000000000000100010000000110
+00011010011000001000101011011010
+11100000101000010000000000000000
+01011000000000000011111010111111
+00011010011000001000101011011100
+11100000101000010000000000000000
+01011000000000000100000111111001
+01100000000000010100000111111101
+01011000000000000011110100110110
+01100000000000010100001000000001
+00100000011000000000000000000000
+01101000000000100100011011010011
+11000011000010010110010011010111
+00100000001000000110010011011010
+00100000011101011000000000000000
+00100000010000000010110010011101
+00100000010000000011111001101110
+00100000010000000011111000011110
+00100000010000000011111001010100
+00100000010000000101100000010000
+00100000010000000101100000111001
+00100000010000000101100000101100
+00100000010000000101100000011000
+01101000000000100100011011010011
+11000010100010100011110101000110
+11000010100010011100010000010100
+00100000011000000000000000000000
+00100000010000000110010110011100
+01101000000000100100011011010011
+00101111111011111111111000011001
+00100100010000001110010111000010
+00100000010000000100010000111111
+00100000010000000011110111001001
+00100000010000000100000110101010
+00100000001000000110010111011111
+01101000000000100100011011010011
+11000011000011110011110101010011
+01101000000000001000101010111101
+00101111111011000000000000000011
+00100100011000001000000000000000
+01101000000000001100011100011111
+01100000000000001100011100011110
+01101000000000001100011011110101
+11000011100000110000000000000000
+01101000000000100100011011010011
+11000100000010001000000000000000
+11000010100011101010111011100100
+00100000001000000010111100101100
+01101000000000001000010001111000
+00011111111001100111111000011010
+00100100011000101000000000000000
+01110000000010101001100100010010
+00100000010000000111110110001111
+11011000111000000000000000000000
+00100000001000000100000110111001
+01101000000000001100011010110110
+11000001000000001000000000000000
+01110000010001101011011000000001
+00100000011000000000000000000000
+01101000000000001100011011100001
+00011111111000010111111000001111
+01100000000000001100011101111010
+00100000001000000011110110000000
+01101000000010001100011011100111
+00100000010000000110100000011101
+00100100001000001011110101100010
+01101000000000001100011010110110
+11000001000000000000000000000000
+01110000010001101011011000000000
+01101000000000001100011101111010
+00011111111000001111111000000001
+00011111111000010111111000000011
+01100000000000001100011101111010
+00100000010000000011110101111110
+01101000000000100100011011010011
+11000010100010100100010000111011
+11000010100010011011110101111001
+00100000011000000000000000000000
+11011000010000000000000000011110
+00100000010000000110100000001110
+11011000010000000000000000011111
+00100000010000000110100000001110
+00100000001000000100010000110101
+01000100111100011100000000011100
+00100000010000000100001001001010
+01101000000000001100011011100000
+11000000000000101011110110101010
+11000000000000100011110110010110
+01101000000000001100011101111010
+11000000000000000011110110001010
+11000000000000001011110110001000
+11000000000000010011110110001100
+11000000000000011011110110001110
+01101000000000001100011110000000
+00100000001000000011110110111110
+01101000000000001100011101111111
+00100000001000000011110110111110
+01101000000000001100011110000001
+00100000001000000011110110111110
+01101000000000001100011110000010
+00100000001000000011110110111110
+01101000000000001100011011100000
+11000001000000110000000000000000
+01101000000000001100011010110101
+00011111111000001111111000000001
+01100000000000001100011010110101
+00100000011000000000000000000000
+01101000000000001100011101111010
+11000000000000000011110110011101
+11000000000000001011110110011011
+11000000000000010011110110011111
+11000000000000011011110110100001
+01101000000000001100011110000100
+00100000001000000011110110100010
+01101000000000001100011110000011
+00100000001000000011110110100010
+01101000000000001100011110000101
+00100000001000000011110110100010
+01101000000000001100011110000110
+01100000000000001100011010110101
+00011111111011010111111000000000
+00011111111000100010001000000000
+00011111111000001111111000001101
+00100000010000000110010000010011
+00011010001000100111111000000000
+00011111111000001111111000001110
+00100000001000000110010000010011
+01101000000000001100011101111010
+11000000000000000011110110110001
+11000000000000001011110110101111
+11000000000000010011110110110011
+11000000000000011011110110110101
+01101000000000001100011110001000
+00100000001000000011110110110110
+01101000000000001100011110000111
+00100000001000000011110110110110
+01101000000000001100011110001001
+00100000001000000011110110110110
+01101000000000001100011110001010
+01100000000000001100011010110101
+00100000010000000100000011000000
+01101000000000001100011010110101
+00011111111000001111111010000000
+00011111111011010111111000000000
+00011111111000001111111000000101
+00011111111000100010001000000000
+00100000001000000100000101011010
+01100000000000001100011010110101
+00100000010000000011110110010000
+01101000000000001100011010110101
+01011000000000000000000000000110
+00100000010000000110010000010100
+00011111111000010000010011111000
+01101000000000001100011010110101
+10011000010000001111111000000000
+00011111111011010111111000000000
+00011111111000001111111000000110
+00100000001000000110010000010011
+00100000010000000011001111000100
+00100000001000101100001100010110
+00100000010000000100010000011100
+00100000010000000100001011100100
+00100000001000000011001110111101
+01101000000000010100011100000111
+00100000011110100000000000000000
+01101000000000100100011011010011
+11000100000010001000000000000000
+11000011100000011000000000000000
+11000110000100110000000000000000
+00100000010000000100000010000011
+11000001100000111000000000000000
+00100000010000000100010010000010
+11011000111000000000000000000011
+00100000010000000100001111001110
+01011000000000000000000000000000
+01100000000000010100011010101110
+01100000000000001100011010110100
+00100000010000000011001001100011
+01101000000000010100011010000010
+11000010100000111100001110010010
+11000010100001001011010000000010
+11000010100000000011001111101001
+00100000010000000100001011001010
+00100000001000000010111010101101
+00100000010000000011110111001110
+00100000010000000111111000110100
+00100000010000000011110101101010
+00100000010000000011110111101001
+00100000010000000011111011100000
+00100000001000000011110111110111
+01101000000000100100011011010011
+11000100000010000000000000000000
+00100000010000000100100011010011
+00100000001000000100100011111101
+01101000000100001000101000000100
+11000011000000111011110111110001
+11000010100000111011110111110100
+00100000011000000000000000000000
+01101000000000001100011011111111
+11000100000000111000000000000000
+00100000001000000110010110011010
+01101000000000001100011011111111
+11000011100000111000000000000000
+00100000001000000100001110000001
+00100000010000000011110111101101
+01101000000100001000101000000100
+01100000000000001100011011111111
+11000100000000111000000000000000
+00100000010000000011111000000111
+01101000000000100100011011111001
+01101000000010001100011011111101
+10011000010000001000010000000000
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+01100000000000100100011011111001
+00100000010000000011111110010111
+00100100011101000000000000000000
+01110000000011010011100000000100
+00100000001000000011111000001111
+01101000000010100100011011111001
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100010000010011111000001100
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000100100011011111001
+00100000011000000000000000000000
+01101000000000001000110100111000
+11000100000000010000000000000000
+00100000001000000011111000010010
+01101000000100001000101000000100
+11000100000000111000000000000000
+01110000000011010101001000100000
+01011000000000000000000000000001
+01100000000000001000110101010100
+01101000000000111100011010011010
+11100000101000111000000000000000
+00100000011000000000000000000000
+01101000000100010000000001010000
+01111001001111111111111000001011
+01100000000100010000000001010000
+00100000011000000000000000000000
+01011000000000001000110000000000
+01100000000000010100010101110101
+01011000000000001000111001111010
+01100000000000010100010010111100
+01011000000000000010010000000010
+01100000000000010100000010111101
+01011000000000000010010110000000
+01100000000000011100000010101010
+01110000010000010111001100000011
+01110000010000010101011000001000
+01110000010001101101100100000001
+01011000000000000000001000000000
+01100000000000010100000101010100
+01110000010001001010011000010111
+01110000010001001010100000010111
+01011000000000000000101001110111
+01100000000000010100001000010010
+00111000000000000000001100000110
+00111000000001000100010001000000
+00111000000010010000000000000000
+00111000000011000100010000001000
+01100000000001001100010101110111
+00111000000000000001001000100100
+00111000000001000100000000000000
+00111000000010000000000000000000
+11100000101000101000000000000000
+00111000000000111111111111111111
+00111000000001101111111000100011
+00111000000010011001100111011001
+00111000000011000000001000001101
+01100000000001000100000010011000
+01011000000000000000000100101100
+01100000000000010100011100000111
+00100000010000000101011110100011
+01101000000000100100011011010011
+11000100000011111000000000000000
+00100000010000000011111001000100
+00100000001000000011111001001100
+01101000000010001100011011110111
+00100000010000000110011111111011
+01101000000010001100011011110111
+00100000010000000110100000011101
+01110000010001101111011000000011
+00100000011000001000000000000000
+01110000010001101111011000000010
+00100000011000000000000000000000
+01101000000010001100011011111000
+00100000010000000110011111111011
+01101000000010001100011011111000
+00100000010000000110100000011101
+01110000010000100010110100000000
+00100000011000001000000000000000
+01110000010000100010110100000010
+00100000011000000000000000000000
+01101000000000001100001000101101
+11000000000000000011111001011001
+11000000000000001011111001100010
+11000000000000010011111001101011
+00100000001000000011111001011001
+01101000000010010100001000100001
+01101000000000010100001000100111
+10011000010001100111111000000000
+00011111111011111111111000010100
+00011111111001101111110001100100
+00100000010000000111111110000110
+00011000000001111111111000000000
+01100000000000010100011011010000
+00100000011000000000000000000000
+01101000000010010100001000011111
+01101000000000010100001000100101
+10011000010001100111111000000000
+00011111111011111111111011100110
+00011111111001101111110110010000
+00100000010000000111111110000110
+00011000000001111111111000000000
+01100000000000010100011011010000
+00100000011000000000000000000000
+01101000000000010100001000100011
+01100000000000010100011011010000
+00100000011000000000000000000000
+01101000000010001100001000111010
+00100000010000000110100000001110
+00100000010000000100100011111011
+01101000000010001100011011100010
+00100000010000000110011111111011
+01101000000010001100011011100011
+00100000010000000110011111111011
+01101000000010001100011011100100
+00100000010000000110011111111011
+01101000000010001100011011110011
+00100000010000000110011111111011
+01101000000010001100011011011100
+00100000010000000110100000001110
+01101000000010001100011011101000
+00100000010000000110011111111011
+01101000000010001100011011101001
+00100000010000000110011111111011
+01101000000010001100011011101010
+00100000010000000110011111111011
+01101000000010001100011011101011
+00100000010000000110011111111011
+01101000000010001100011011100101
+00100000010000000110011111111011
+01101000000010001100011011100110
+00100000010000000110011111111011
+01101000000010001100011011101111
+00100000010000000110100000001110
+01101000000010001100011011110000
+00100000010000000110100000001110
+01101000000010001100011011110001
+00100000010000000110100000001110
+01101000000010001100011011110010
+00100000010000000110100000001110
+01101000000010001100011011110100
+00100000010000000110100000001110
+01101000000010001100011011101101
+00100000010000000110011111111011
+01101000000010001100011011101100
+00100000010000000110011111111011
+01101000000010001100011011100111
+00100000001000000110011111111011
+01101000000010001100011011101000
+00100000010000000110011111011101
+01101000000010001100011011101001
+00100000010000000110011111011101
+01101000000010001100011011101010
+00100000010000000110011111011101
+01101000000010001100011011101011
+00100000001000000110011111011101
+01101000000010001100011011101000
+00100000010000000011111010100111
+01101000000010001100011011101001
+00100000010000000011111010100111
+01101000000010001100011011101010
+00100000010000000011111010100111
+01101000000010001100011011101011
+00100000001000000011111010100111
+00011000010001100111110011111111
+00100000011000101000000000000000
+00011000010000010000111001111111
+01101000000100100000000100011100
+10101111111011111111111111111111
+01101000000100100000000001111000
+11111001001000001111111000000000
+01100000000100100000000001111000
+01101000000100100000000001111100
+11111101001000001111111000000000
+01100000000100100000000001111100
+00100000011000000000000000000000
+01111000001101000111110000000000
+01101000000100100000000100111000
+01111001001101000111111000011010
+01100000000100100000000001001100
+00100000010000000010110000100001
+00100000010000000100010010000010
+00100000010000000011111010011111
+00100000001000000011111010111111
+00100000010000000011111010111111
+01101000000000001000000010100000
+00100100011110100000000000000000
+00100000001000000110011111101101
+00100000010000000011111011100000
+11011000010000000000000000011001
+01101000000000100100011011010011
+00101111111011111111111000010010
+00100000010000001011111011011110
+00100000010000000110100000001110
+00100000010000000110001111101110
+01101000000010001100011011100010
+00100000010000000110011111011101
+01101000000010001100011011100011
+00100000010000000110011111011101
+01101000000010001100011011100100
+00100000010000000110011111011101
+01101000000010001100011011100101
+00100000010000000110011111011101
+01101000000010001100011011100110
+00100000010000000110011111011101
+01101000000010001100011011100111
+00100000010000000110011111011101
+01101000000010001100011011101101
+00100000010000000110011111011101
+01101000000010001100011011101000
+00100000010000000110011111011101
+01101000000010001100011011101001
+00100000010000000110011111011101
+01101000000010001100011011101010
+00100000010000000110011111011101
+01101000000010001100011011101011
+00100000010000000110011111011101
+01101000000010001100011011110011
+00100000001000000110011111100001
+11011000010000000000000000011110
+00100000011000000000000000000000
+01000100111100100100000000011100
+00100000010000000011111011101110
+00100000010000000011111100110110
+01101000000000001100011010111000
+01101000000010001100011010110111
+01100000000000001100011010110111
+10011000010001100111110000000000
+00100100001000101011001111010100
+01101000000000001100011010111110
+01101000000010001100011010111101
+01100000000000001100011010111101
+10011000010001100111110000000000
+00100100001000101011001111010100
+00100000011000000000000000000000
+01101000000000001100011011101010
+11000001011111111000000000000000
+11011010001000000000000000000000
+01101000000010001100011011101010
+00100000010000000110100000011101
+01111001001000001010001000000000
+01101000000010001100011011101011
+00100000010000000110100000011101
+01111001001000001010001000000001
+00011010001000100111111000000000
+01100000000000001100011010111000
+11000000000000001011111011111110
+11000000000000010011111100000010
+01101000000000001100011010111001
+11000010100000111011111100001110
+00100000011000000000000000000000
+01101000000000001100011010110111
+11000000000000000011111100000110
+11000000000000011011111100001000
+00100000011000000000000000000000
+01101000000000001100011010110111
+11000000000000000011111100001010
+11000000000000011011111100001100
+00100000011000000000000000000000
+01110000010001101011100110000010
+00100000011000000000000000000000
+01110000010001101011100110000001
+00100000011000000000000000000000
+01110000010001101011100110000000
+00100000011000000000000000000000
+01110000010001101011100110000011
+00100000011000000000000000000000
+01101000000000001100011010111001
+01111001001111111111111000000111
+01100000000000001100011010111001
+11000000000000000011111100010110
+11000000000000001011111100011001
+11000000000000010011111100011100
+11000000000000011011111100011111
+00100000011000000000000000000000
+01101000000000001100011010111000
+11000000000000011011111100100010
+00100000011000000000000000000000
+01101000000000001100011010111000
+11000000000000000011111100100010
+00100000011000000000000000000000
+01101000000000001100011010111000
+11000000000000011011111100101100
+00100000011000000000000000000000
+01101000000000001100011010111000
+11000000000000000011111100101100
+00100000011000000000000000000000
+01101000000000001100011010111100
+00011111111000001111111000000001
+01100000000000001100011010111100
+00011111111001100111110000000001
+00100000011000010000000000000000
+01110000010001101011110000000000
+01101000000000001100011010111010
+00011111111000001111111000000001
+01100000000000001100011010111010
+00100000011000000000000000000000
+01101000000000001100011010111011
+00011111111000001111111000000001
+01100000000000001100011010111011
+00011111111001100111110000000001
+00100000011000010000000000000000
+01110000010001101011101100000000
+01101000000000001100011010111010
+00011111111000001111111111111111
+01100000000000001100011010111010
+00100000011000000000000000000000
+01101000000000001100011011101000
+11000001011111111000000000000000
+11011010001000000000000000000000
+01101000000010001100011011101000
+00100000010000000110100000011101
+01111001001000001010001000000000
+01101000000010001100011011101001
+00100000010000000110100000011101
+01111001001000001010001000000001
+00011010001000100111111000000000
+01100000000000001100011010111110
+11000000000000001011111101000110
+11000000000000010011111101001010
+01101000000000001100011010111111
+11000010100000111011111101010110
+00100000011000000000000000000000
+01101000000000001100011010111101
+11000000000000000011111101001110
+11000000000000011011111101010000
+00100000011000000000000000000000
+01101000000000001100011010111101
+11000000000000000011111101010010
+11000000000000011011111101010100
+00100000011000000000000000000000
+01110000010001101011111110000010
+00100000011000000000000000000000
+01110000010001101011111110000001
+00100000011000000000000000000000
+01110000010001101011111110000000
+00100000011000000000000000000000
+01110000010001101011111110000011
+00100000011000000000000000000000
+01101000000000001100011010111111
+01111001001111111111111000000111
+01100000000000001100011010111111
+11000000000000000011111101011110
+11000000000000001011111101100001
+11000000000000010011111101100100
+11000000000000011011111101100111
+00100000011000000000000000000000
+01101000000000001100011010111110
+11000000000000011011111101101010
+00100000011000000000000000000000
+01101000000000001100011010111110
+11000000000000000011111101101010
+00100000011000000000000000000000
+01101000000000001100011010111110
+11000000000000011011111101101111
+00100000011000000000000000000000
+01101000000000001100011010111110
+11000000000000000011111101101111
+00100000011000000000000000000000
+01110000010001101100001000000000
+01101000000000001100011011000000
+00011111111000001111111000000001
+01100000000000001100011011000000
+00100000011000000000000000000000
+01110000010001101100000100000000
+01101000000000001100011011000000
+00011111111000001111111111111111
+01100000000000001100011011000000
+00100000011000000000000000000000
+01011000000000000000000000000010
+01100000000000001100011010000000
+00100000011000000000000000000000
+01101000000000001100000111100010
+00100000011110100000000000000000
+00100000010000000101001001110001
+00100100011110100000000000000000
+01101000000000100100011011010011
+11000010100000011011111110001010
+11000010100000000011111110001010
+11000010100000101011111110001010
+00100000010000000011111110010111
+00100100011101000000000000000000
+11011010001000000000000000001001
+00100000010000000100110101100011
+01101000000000010100001001001110
+11100000101000010000000000000000
+01011000000000000000001010100001
+11100000101000010000000000000000
+01101000000000111100011010011010
+11100000101000111000000000000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000111100011010011010
+00100000001000000011111110000001
+01101000000000010100011010101010
+01100000000000010100011010110000
+00100000011000000000000000000000
+01000100111100101100000000011100
+11011010001000000000000000000111
+01101000000010010100010001101111
+00100000010000000101101001100100
+01101000000000111100011010011010
+11100000101000111000000000000000
+00100000011000000000000000000000
+01000100111100110100000000011100
+01111000010101000111110000000000
+01011000000000000000000000000000
+01100000000000110100011010011011
+00100000010000000011111110110101
+00100000010000000100000001111001
+00100000010000000100000001111110
+00100000010000000100000010011001
+00100100011101000000000000000000
+00100000010000000011111110001101
+11011000111000000000000000001000
+00100000001000000100001111001110
+01101000000000010100011010011011
+00011111111001100111111000000000
+01100000000000010100011010011011
+00100000001000000111111111100111
+01101000000000010100011010011101
+00011111111001100111111000000000
+01100000000000010100011010011101
+00100000001000000111111111100111
+01101000000000010100011010011101
+00011111111001100111111000000000
+01100000000000010100011010011101
+01101000000000010100011010011011
+00011111111001100111111000000000
+01100000000000010100011010011011
+00100000010000000100000000000010
+00100000001000000111111111100111
+00100000010000000100000000000010
+00100000001000000111111111100111
+01101000000000001100001000111001
+11000001100000000000000000000000
+01101000000000001100011011100000
+11000000000000000011111111100010
+11000000000000001011111111100010
+11000000000000010011111111100010
+11000000000000011011111111100010
+11000000000000100011111111000100
+11000000000000101100000000010000
+11000000000000110011111111100010
+00100000001000000011111111100010
+01101000000000001100011010100111
+00100000010110100100000001011101
+01110000010001101010011100000001
+00100000011000000000000000000000
+00100000010000000011111111000000
+01101000000010001100011011110011
+00100000010000000110100000011101
+00100100011000001000000000000000
+01011000000000000000000000000000
+00100000010000000110010000010100
+11000000100110000100000011010001
+01011000000000000000000000000010
+00100000010000000110010000010100
+11000100000000111000000000000000
+00100000010000000100000001011101
+00100000010000000011111111011110
+01100000000000001100011010100001
+00011111111100011111111000000000
+00100000010000000100000101101001
+01100000000000001100011010011100
+01101000000000001100011010100001
+00011111111000010111111000001111
+00100000010000000100000101101001
+01100000000000001100011010011110
+01101000000000001100011011110110
+11000000000000000011111110100011
+11000000000000001011111110101011
+11000000000000010011111110100111
+11000000000000011011111110110011
+00100000011000000000000000000000
+01011000000000000000000000010010
+00100000001000000110010000010100
+11000000000110001011111111101010
+00100000001000000100000011010001
+00100000010000000011111111000000
+01111000010101000111110000000000
+01101000000010001100011011110011
+00100000010000000110100000011101
+00100100011000001000000000000000
+01011000000000000000000000000000
+00100000010000000110010000010100
+11000000100110000011111111100000
+01011000000000000000000000000010
+00100000010000000110010000010100
+11000100000000111000000000000000
+00100000010000000100000001011101
+01101000000000001100011010011011
+00100000010000000100000101100101
+01100000000000010100011010011011
+01101000000000001100011010011101
+00100000010000000100000101100101
+01100000000000010100011010011101
+01101000000000001100011011110110
+11000000000000000011111111111010
+11000000000000001011111111111100
+11000000000000010011111111111110
+11000000000000011100000000000000
+00100000011000000000000000000000
+00100000010000000011111110100011
+00100000001000000100000010110011
+00100000010000000011111110101011
+00100000001000000100000010110011
+00100000010000000011111110100111
+00100000001000000100000010110011
+00100000010000000011111110110011
+00100000001000000100000010110011
+01101000000000010100011010011101
+01101000000010010100011010011011
+01100000000000010100011010011011
+01100000000010010100011010011101
+00100000011000000000000000000000
+00100000010000000110010000001111
+00100000000000000000000001100100
+00011010010000100111111000000000
+00100000010000000110010000010100
+00011111111000100010010000000000
+00100000010000000110010000010001
+00100000000000000000000001100100
+00011010010000100111111000000000
+00100000011000000000000000000000
+01111000010101000111110000000000
+01101000000010001100011011110011
+00100000010000000110100000011101
+00100100011000001000000000000000
+11011010010000000000000000000010
+00100000010000000100000000000111
+11000100000000111000000000000000
+11011010010000000000000000000000
+00100000010000000100000000000111
+01100000000000001100011011011101
+11000000100111110100000101000101
+01101000000000001100011010100111
+00100000010110100100000000111001
+01110000010001101010011100000001
+00100000010000000100000000111001
+01101000000000001100011010100001
+00011111111100011111111000000000
+00100000010000000100000101101001
+01100000000000001100011010011100
+01101000000000001100011010100001
+00011111111000010111111000001111
+00100000010000000100000101101001
+01100000000000001100011010011110
+01101000000000001100011011110110
+11000000000000000100000000110001
+11000000000000001100000000110101
+11000000000000010100000000110011
+11000000000000011100000000110111
+00100000011000000000000000000000
+01101000000000001100011010100100
+11000000000000000100000001010001
+11000000000000001100000001000101
+00100000011000000000000000000000
+00100000010000000011111110100011
+00100000001000000100000000101101
+00100000010000000011111110100111
+00100000001000000100000000101101
+00100000010000000011111110101011
+00100000001000000100000000101101
+00100000010000000011111110110011
+00100000001000000100000000101101
+00100000010000000110010000001111
+00100000010000000100000001011101
+11011111111000000000000000000101
+00100000010000000110010000010100
+01100000000000001100011010100001
+11011111111000000000000000000111
+00100000010000000110010000010100
+01100000000000001100011010100010
+11011111111000000000000000001000
+00100000010000000110010000010100
+01100000000000001100011010100011
+00100000001000000110010000010001
+01101000000000001100011010100010
+11000001100000000000000000000000
+01101000000000001100011010100011
+00011111111001100111110000101101
+00100000011000010000000000000000
+01110000010001101010010000000000
+01011000000000001011101001000001
+00100000010000000110010000000101
+01011000000000000000000000110010
+00100000010000000110010000000101
+01011000000000001011010101000001
+00100000001000000110010000000101
+01101000000000001100011010100010
+11000001100000000000000000000000
+01101000000000001100011010100011
+00011111111001100111110000101101
+00100100011000010000000000000000
+01110000010001101010010000000001
+01011000000000001011101001000001
+00100000010000000110010000000101
+01011000000000001000000000110010
+00100000010000000110010000000101
+01011000000000001011010101000001
+00100000001000000110010000000101
+11011111111000000000000000000011
+00100000010000000110010000010100
+01100000000000010100011010011011
+11011111111000000000000000000100
+00100000010000000110010000010100
+01100000000000010100011010011101
+00100000011000000000000000000000
+11011000010000000000000000011011
+00100000010000000110011111111011
+11011000010000000000000000011011
+00100000010000000110100000011101
+00100000011000001000000000000000
+01101000000100001000000100001001
+01111001001000000111111000000100
+01100000000100001000000100001001
+00100000011000000000000000000000
+01101000000010001100011011000000
+01101000000100001000000100001001
+10011000010000001111111000000000
+00100000011110100000000000000000
+01100000000000001100011010011111
+01110000010001101100000000000000
+00100000001000000111111111100111
+01101000000010001100011011000000
+01101000000100001000000100001001
+10011000010000001111111000000000
+01100000000000001100011011000000
+00100000011000000000000000000000
+01101000000000001100011011000000
+00100000011110100000000000000000
+01100000000000001100011010011111
+01110000010001101100000000000000
+00100000001000000111111111100111
+01101000000000001100011010111010
+00100000011110100000000000000000
+01100000000000001100011010100000
+01110000010001101011101000000000
+00100000001000000111111111100111
+11011010001000000000000000000000
+01101000000010001100011011100010
+00100000010000000110100000011101
+01111001001000001010001000000000
+01101000000010001100011011100011
+00100000010000000110100000011101
+01111001001000001010001000000001
+01101000000010001100011011100100
+00100000010000000110100000011101
+01111001001000001010001000000010
+00100000010000000100000010010000
+00011010001000100111111000000000
+00100000011000000000000000000000
+01101000000000001100011011100101
+11000001011111111000000000000000
+01101000000010001100011011100101
+00100000010000000110100000011101
+01111001001000001010001000000011
+01101000000010001100011011100110
+00100000010000000110100000011101
+01111001001000001010001000000100
+00100000011000000000000000000000
+00100000010000000100000010000011
+00100000010000000100000010101000
+00100000010000000100000010100011
+00011010001000100111111000000000
+01101000000010001100011010011010
+01100000000000001100011010011010
+10011000010000101111111000000000
+00011111111001100111110000000000
+00100000011000101000000000000000
+00100000001000000111111111100111
+11000110100100110000000000000000
+00011010001000100111111000000000
+00100000011110100000000000000000
+01100000000000001100011010011010
+00100000001000000111111111100111
+01101000000000010100011010000010
+11000010100001001100000010101101
+01101000000000010100011010000010
+11000010100000000100000010110000
+00100000011000000000000000000000
+00011010001000100111111000000000
+00100100001110100101100000100000
+00100000001000000101100000100010
+00011010001000100111111000000000
+00100100001110100010101111000111
+00100000001000000010101111001001
+01000100111100111100000000011100
+11011000010000000000000000011010
+01101000000000100100011011010011
+00101111111011111111111000010010
+00100000010000001100000010111110
+00100000010000000110100000011101
+00100000011000001000000000000000
+01011000000000000000000000001010
+00100000010000000110010000010100
+00100000000000000000001111101000
+00100000001000000100000010110011
+11011000010000000000000000011111
+00100000011000000000000000000000
+01101000000000100100011011010011
+11000010100010010100000011000100
+11011000010000000000000000011010
+00100000001000000110011111111110
+11011000010000000000000000011111
+00100000001000000110011111111110
+00100000010000000011110100110110
+00100000011101011000000000000000
+00100000010000000100000011000000
+01101000000000001100011011100000
+11000000000000101100000011010101
+00100000010000000100000011011001
+11000000000110000100000011100000
+11000000000110001100000011101010
+00100000010000000100000011010001
+00100000000000000000001111101000
+00100000001000000100000011001011
+01000100111101000100000000011101
+01101000000000100100011011010011
+11000010100010010110001111100000
+00100000001000000110001111010001
+00100000010000000100000011011001
+11000000000111110100000101001011
+00100000010000000100000101000101
+00100000001000000100000011010101
+01011000000000000000000000000001
+00100000010000000110010000010100
+01100000000000001100011011011110
+01011000000000000000000000000000
+00100000010000000110010000010100
+01100000000000001100011011011101
+00100000011000000000000000000000
+01101000000000001100011011011110
+11000000011010001100000100111001
+11000000011010010100000011111000
+11000000000000010100000011101110
+11000000001010100100000011100110
+00100000011000000000000000000000
+01110000010001101110000000000010
+00100000011000000000000000000000
+01110000010001101110000000000110
+00100000011000000000000000000000
+01101000000000001100011011011110
+11000000001110000100000011101000
+01110000010001101110000000000001
+00100000011000000000000000000000
+01110000010001101110000000000100
+00100000010000000100000011110110
+01011000000000000011010000100110
+00100000010000000110010000010011
+01011000000000000000010000011001
+00100000010000000110010000010011
+01011000000000000000000000001001
+00100000001000000110010000010011
+01011000000000000101101000001001
+00100000001000000110010000010011
+01110000010001101110000000000011
+00100000010000000100000011110110
+01011000000000000000111100001101
+00100000010000000110010000010011
+01011000000000001110001100011101
+00100000010000000110010000010011
+01011000000000001101001001111101
+00100000010000000110010000010011
+00100000010000000100000100000010
+00100000001000000100000100011010
+01011000000000000011010100011011
+00100000010000000110010000010011
+01011000000000001011010000101000
+00100000010000000110010000010011
+01011000000000000100011000101001
+00100000010000000110010000010011
+01011000000000001001011000101010
+00100000010000000110010000010011
+01011000000000001000110000101011
+00100000010000000110010000010011
+01011000000000000110111000101100
+00100000010000000110010000010011
+01011000000000000110010000101101
+00100000010000000110010000010011
+01011000000000000101111100111000
+00100000010000000110010000010011
+01011000000000000000111100111001
+00100000010000000110010000010011
+01011000000000000011001000111010
+00100000010000000110010000010011
+01011000000000000100011100111011
+00100000010000000110010000010011
+01011000000000000001000001000010
+00100000001000000110010000010011
+01011000000000000010111001010100
+00100000010000000110010000010011
+01011000000000001111001001010101
+00100000010000000110010000010011
+01011000000000001111010001100001
+00100000010000000110010000010011
+01011000000000000111000001100011
+00100000010000000110010000010011
+01011000000000000101001001110101
+00100000010000000110010000010011
+01011000000000000100000101110110
+00100000010000000110010000010011
+01011000000000001110110101110111
+00100000010000000110010000010011
+01011000000000000010001101111000
+00100000010000000110010000010011
+01011000000000000100011001111001
+00100000010000000110010000010011
+01011000000000001110010101111010
+00100000010000000110010000010011
+01011000000000000100100001111100
+00100000010000000110010000010011
+01011000000000000111011101111110
+00100000010000000110010000010011
+01011000000000000000000101111111
+00100000010000000110010000010011
+01011000000000000000000000001011
+00100000010000000110010000010011
+01011000000000000000000001111111
+00100000010000000110010000010011
+00100000001000000100000011110100
+01110000010001101110000000000000
+00100000010000000100000011110110
+01011000000000000001000000001101
+00100000010000000110010000010011
+01011000000000001110110100011101
+00100000010000000110010000010011
+01011000000000001000000001111101
+00100000010000000110010000010011
+00100000010000000100000100000010
+01011000000000000000100101000011
+00100000010000000110010000010011
+00100000001000000100000100011010
+01101000000010001100011011011100
+00100000010000000110100000101001
+00100000010000000111111011000001
+01101000000010001100011011011100
+00100000010000000110100000100101
+00100000001000000111111011000001
+01110000010001101110000000000101
+01011000000000001011101001000001
+00100000010000000110010000000101
+01011000000000000000110100010001
+00100000010000000110010000000101
+01011000000000000000010000011011
+00100000010000000110010000000101
+01011000000000000000010000011100
+00100000010000000110010000000101
+01011000000000000000111100011101
+00100000010000000110010000000101
+01011000000000000000000000110010
+00100000010000000110010000000101
+01011000000000001011010101000001
+00100000001000000110010000000101
+01011000000000001011101001000001
+00100000010000000110010000000101
+00100000000000000000111110100000
+01011000000000001111111101111111
+00100000010000000110010000000101
+00011010001000100111111000000000
+00100000010000000110010000000101
+01011000000000000000000001111111
+00100000010000000110010000000101
+01011000000000001011010101000001
+00100000001000000110010000000101
+11000100000000111000000000000000
+11011000010000001111111100000000
+10011000010000011111111000000000
+00100000011000000000000000000000
+11000100000000011000000000000000
+11011000010000000000000011110000
+10011000010000011111111000000000
+00100000011000000000000000000000
+00100000010000000101100010010010
+00100100011110100000000000000000
+01101000000000001100011011000101
+00011111111000010111111000000011
+11000001100000011000000000000000
+01101000000000100100011011010011
+11000010100000011100000101111001
+11000010100000000100000101111001
+11000010100000101100000101111001
+00100000010000000011111110010111
+00100100011101000000000000000000
+00100000001000000011111110010000
+01011000000000000000000000000000
+01100000000000111100011010011010
+00100000001000000011111110010000
+00011010011000100111111000000000
+11000000000010100100000111000011
+11000000000000001100001011001010
+11000000000010101100000111011001
+11000000000000010100000111011001
+11000000000000101100000111010110
+11000000000010000100001001101100
+11000000000010010100001010011011
+11000000000000110100000111010101
+11000000000000100100000111001100
+11000000000010011100000111001100
+11000000000001010100000111001010
+11000000000101110011001111001101
+11000000000110001100000110110100
+11000000000110010100000110110110
+11000000000111110100000110010001
+11000000000100111100001110001110
+11000000000111001100000110011100
+11000000000111010100000110010010
+11000000000111100100000110011010
+00100000011000000000000000000000
+00100000001000000011010000010000
+01110000010001111000101100000001
+01101000000000001100011100011110
+00100100001110100100010010010010
+01101000000000001100011100100000
+01101000000010001100011100000011
+10011000010001100111110000000000
+00100000001000101011010000001010
+00100000011000000000000000000000
+01110000010001111000101100000001
+00100000011000000000000000000000
+01110000010001111000101100000001
+11011000111000000000000000000011
+00100000010000000100001111010010
+01011000000000000000000000000000
+01100000000000010100011100000111
+01110000010001101010011100000000
+01101000000000001100011011100000
+00011111111001100111110000000101
+00100000010000101100000000111001
+00100100010000101100000001011101
+01101000000000001000000000000100
+11000010100010011100000110101111
+00100000010000000100000110101010
+00100000001000000110010111010001
+00100000010000000010110001111010
+00011010011000001010001010101110
+11011010010000000000000001011011
+11011000010000000000000000000100
+00100000011000000000000000000000
+00100000010000000010110001111010
+00011010011000001010010010101110
+11101010010000001000000000000000
+01100000000000001100011101111011
+00100000001000000100010000110101
+11011000111000000000000000000010
+00100000001000000100000110111001
+01110000010001101100011000000010
+11011000111000000000000000000001
+00100000001000000100000110111001
+01101000000000001100011011000101
+11111001001000000111111000000000
+01100000000000001100011011000101
+00100000011000000000000000000000
+01101000000000001100011011000101
+11111001001111111111111000000000
+01100000000000001100011011000101
+00100000011000000000000000000000
+01110000010001101100010100000000
+00100000011000000000000000000000
+01101000000000010100001000001010
+01111001001111111111111000000000
+01100000000000010100001000001010
+01011000000000000000000000000000
+01100000000000010100011010101110
+00100000010000000011111110001101
+00100000001000000100001011001010
+00100000010000000110001111001011
+00100000001000000011001111011101
+01101000000000001100011100011110
+00100100001110100100010010010010
+01101000000000010100011010000010
+11000010100001100100001010110000
+01101000000000100100011011010011
+11000010100000000100000111010111
+11000010100000101100001010110000
+11000010100000011010111010101101
+00100000001000000011001110100111
+00100000001000000011111101110100
+00100000011000000000000000000000
+00100000010000000100001111000000
+00100000001000000110010110011010
+01000100111101001100000000011101
+00100000010000000100000111100111
+01101000000000100100011011010011
+11000010100000000100000111010111
+11000010100000011010111010101101
+01101000000000001100011100011110
+00100100001110100100010010010010
+01101000000000010100001000001000
+11000010100000111100000111110101
+11000010100000000011001110101001
+11000010100000001100000111101111
+11000010100000010100000111110010
+11000010100000011100000111110010
+00100000001000000100001010110000
+01011000000000000000000000000000
+01100000000001000100011010110111
+11100000101000100000000000000000
+01110000010001101011010000000000
+01110000010001101010011100000000
+01110000010000011110001000000000
+01110000010001000010100100000000
+00100000011000000000000000000000
+11000010100000101100000111110010
+11000010100000011100000111110010
+00100000001000000100001010110000
+01101000000000010100011010000010
+11000010100001100100001010110000
+00100000001000000011001110100111
+00100000010000000100000111000001
+01101000000000010100001000001000
+11000010100000000011001110101001
+00100000001000000011001110100111
+00100000010000000100001111010110
+00100000010000000100001001000011
+00100000010000000100001001000110
+00100000010000000100001001010000
+00100000010000000100010001011101
+00100000010000000100010001000011
+00100000010000000100001100110011
+00100000010000000100001110100101
+00100000010000000100001111101011
+00100000010000000100001000001001
+00100000010000000100001000110001
+00100000010000000100001000110100
+00100000010000000100001000110111
+00100000010000000100001000111010
+00100000010000000100001000111101
+00100000001000000100001001000000
+01101000000000001100011100010001
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100011100010001
+00100100011110100000000000000000
+00100000001000000100001000001111
+01101000000000001100011100010010
+11000001000000000000000000000000
+11000000000000101100001000010110
+00100000010000000100001000100101
+01110000010001110001001000000101
+01110000010001110001000100000101
+00100000011000000000000000000000
+00100000010000000100001000101100
+01110000010001110001001000000100
+01110000010001110001000100000101
+00100000011000000000000000000000
+01011000000000001000000000000110
+00100000010000000110010000010011
+00100000000000000000001111101000
+01110000010001110001000100000000
+01110000010001110001001000000000
+00100000001000000100000011100000
+01011000000000001010000000000110
+00100000010000000110010000010011
+01011000000000001010000000000101
+00100000001000000110010000010011
+01110000010001110001000100000000
+01101000000000001100011011100000
+11000000000000100100001000100000
+01011000000000000000000100000110
+00100000010000000110010000010011
+01011000000000001010000100000101
+00100000001000000110010000010011
+01110000010001110001000100000000
+01011000000000000000100100000110
+00100000001000000110010000010011
+01110000010001110001000100000101
+01110000010001110001001000000001
+00100000011000000000000000000000
+11011010011000000100011010000000
+11011010010000000100001010011011
+00100000001000000011001101101101
+11011010011000000100011010101100
+11011010010000000100001001100100
+00100000001000000011001101110100
+11011010011000000100011010101110
+11011010010000000100001001100110
+00100000001000000011001101110100
+11011010011000000100011010110000
+11011010010000000100001001101010
+00100000001000000011001101110100
+11011010011000000100011011000100
+11011010010000000100010001111000
+00100000001000000011001101101101
+11011010011000000100011011000110
+11011010010000000100001001011110
+00100000001000000011001101101101
+11011010011000000100011100000100
+11011010010000000100001001001001
+00100000001000000011001101101101
+11011010011000000100011100000111
+11011010010000000100001001001001
+00100000001000000011001101110100
+00100000011000000000000000000000
+01101000000000100100011011010011
+11000100000010111000000000000000
+01110000010001101101111100001010
+01101000000000001100011011110100
+01100000000000001100011100010101
+00100000011000000000000000000000
+11011010011000000100011011011111
+11011010010000000100001001010011
+00100000001000000011001101101101
+01101000000000001100011011110100
+01100000000000001100011100010101
+01011000000000000000000110010000
+01100000000000010100011100010110
+01100000000000010100011100011000
+11011010001000000000000000000000
+01101000000010001100011101111010
+00011000010000001000010000000001
+01100000000010001100011100010100
+01110000010001110001001100000001
+00100000011000000000000000000000
+01101000000000001100011011000101
+11000011100000010000000000000000
+01110000000010101001100100010010
+00100000010000000111110110001111
+11011000111000000000000000000000
+00100000001000000100000110111001
+00100000010000000100001011001010
+00100000001000000011010000001010
+00100000010000000011001111110110
+01101000000000001100011100011110
+00100100001110100100010010010010
+00100000001000000011010000001010
+11000101000100110111111000011101
+00100000001000000100001110000110
+01000100111101010100000000011101
+01110000010001101011010000000000
+00100000010000000100001110000110
+00100000010000000100000111000001
+00100000001000000100001010110000
+01101000000000110100000111010000
+00100000001110100011001111101011
+00100000010000000100001001111110
+01110000000000010110110100010111
+01101000000000001100011001011010
+00100100001110100011001111100001
+01110000000000010110110100000100
+00100000001000000011001111100001
+01101000000000010100011010101000
+01100000000000010100011010101110
+00100000010000000100001001111110
+00100000010000000011010000011000
+00100000001000000111110111110100
+01011000000000000000000011001000
+01100000000000010100011100010110
+01100000000000010100011100011000
+00100000001000000100001010000101
+01011000000000000000001111101000
+01100000000000010100011100010110
+01100000000000010100011100011000
+01101000000000001100011100100000
+11000000000000001100001010001010
+11000000000000010100001010001100
+11000000000000011100001010001110
+00100000011000000000000000000000
+01101000000000001100011011110000
+00100000001000000100001010001111
+01101000000000001100011011110001
+00100000001000000100001010001111
+01101000000000001100011011110010
+01100000000000001000101010100010
+00100000010000000100010010000010
+01101000000000001000101010100010
+01100000000000001100011100010101
+11011010001000000000000000000000
+01110000010001110001001100000001
+00100000001000000111110100011110
+11011010001000000000000000000000
+00100000001000000111110100011001
+11011010001000000000000000000000
+00100000001000000111110100010100
+00100000001000000100000111000001
+01110000010000011110001000000001
+00100000010000000011010000010110
+00100000010000000011010000010010
+01011000000000000000000000000000
+01100000000000010100011001111110
+01100000000000001100011010000000
+00100000001000000011010000001110
+00100000010000000100001101011111
+01101000000000001100011100100000
+01101000000010001100011100000011
+10011000010001100111110000000000
+00100000001000101100001010101011
+01101000000000001100001000010000
+11000000000110011100001001110001
+11000000000110100100001001111001
+00100000001000000100001010110000
+00100000010000000011110101010111
+11000110000100110000000000000000
+01101000000000001100011100011110
+00100100001110100100010010010010
+00100000011000000000000000000000
+01000100111101011100000000011101
+01101000000000010100011010000010
+11000010100001011100001010110111
+01101000000000100100011011010011
+11000011000011000100001010110111
+00011000000010100111111000000000
+01100000000000001100010010100001
+00100000010000000011010000011000
+01101000000000010100011010000111
+01100000000000010100011010101100
+01110000000000010110110100000110
+01011000000000000000000000000000
+01100000000000010100011010110000
+01100000000000010100011010101110
+11011000111000000000000000000111
+00100000010000000100001111001110
+00100000010000000100001111001010
+01101000000000001100000010010010
+00101111111011111111111000000001
+00100000010000001111110111110100
+01101000000000001100000010010010
+00101111111011111111111000000000
+00100000010000001111110111011101
+01101000000000100100011011010011
+11000010100011100100001000101110
+00100000001000000100001010000010
+01000100111101100100000000011101
+01101000000000001100000010010010
+00101111111011111111111000000001
+00100000010000001100001011010100
+01101000000000001100000010010010
+00101111111011111111111000000000
+00100000010000001100001011010111
+01101000000000100100011011010011
+11000010100011100100001000011010
+00100000001000000100010010000010
+01011000000000000000000000000000
+01100000000000010100011010101110
+00100000001000000111110111111010
+01011000000000000000000000000000
+01100000000000010100011010101100
+00100000001000000111110111100010
+01101000000000100100011011010011
+11000100000000111000000000000000
+11011000111000000000000000000111
+00100000010000000100001111010010
+00100000010000000100001011101000
+00100000010000000100001011111011
+01101000000000100100011011010011
+11000010100010011100010000110101
+11000010100010100100001011100100
+00100000011000000000000000000000
+11011000010000000000000001011000
+11011010001000000100011100100000
+11011010010000000000000000000000
+00100000001000000110010111010001
+01101000000000001000000110000101
+11000000000110100100001011101100
+11000000000110011100001011101111
+00100000011000000000000000000000
+01100000000000001100011011000111
+01101000000000110000010001001111
+00100000001000000100001011110001
+01100000000000001100011011000111
+01101000000000110000000001000000
+01100000000000110100011011001000
+01101000000000111100011011000111
+11011000110000000100011100100001
+11011111001000000000000000000011
+11101000110010111000000000000000
+10011000010001100111110000000000
+00100000001000101100001100010000
+00011000110000001000110000010110
+11000010000000000100001011110101
+00100000011000000000000000000000
+11011010001000000100011100100001
+01101000000000001100011100100000
+00011111111000001111111111111111
+00011111111011111111111000011101
+10011010001000001010001000000000
+01101000000000001000000110000101
+11100010001000001000000000000000
+11000000000110100100001100000101
+11000000000110011100001100001100
+00100000011000000000000000000000
+01101000000000110000010001001111
+11100000101000110000000000000000
+11011000110000000100010000011001
+00100000010000000111111010111111
+01101000000000110100010010100000
+11100000101000110000000000000000
+00100000011000000000000000000000
+01101000000000110000000001000000
+11100000101000110000000000000000
+11011000110000000100000110111110
+00100000001000000111111010111111
+00011000110000001000110111111010
+00011000110000100000101000000000
+01101000000010110100011011001000
+00011000010000001000010000000011
+11100000101010110000000000000000
+00100000011000000000000000000000
+11011000010000000000000001011000
+11011010001000000100011100100000
+11011010010000000000000000000000
+00100000010000000110010111011111
+11011010001000000100011100100001
+01101000000000001100011100100000
+01101000000010001100011100000011
+10011000010001100111110000000000
+00100000011000101000000000000000
+00011111111000001111111111111111
+00011111111011111111111000011101
+10011010001000001010001000000000
+11101010001000001000000000000000
+01100000000000001100001000010000
+11000000000110011100001100100111
+11000000000110100100001100101100
+00100000011000000000000000000000
+11101000110000110000000000000000
+01100000000000110100000111010000
+11011000101000000100000110111110
+00100000010000000111111010111111
+00100000001000000110011111010111
+11101000110000110000000000000000
+01100000000000110100000111010000
+11011000101000000100010000011001
+00100000010000000111111010111111
+11101000110000110000000000000000
+01100000000000110100010010100000
+00100000011000000000000000000000
+01101000000000001100011011110101
+11000010100000101100001101001001
+11000010100000110100001101011001
+00100000001000000100001100110111
+00100000010000000100000010000011
+11000000000000110100001100111110
+01110000010001101101100000011110
+01101000000000001100011011011001
+11000001000000001000000000000000
+01110000010001101101100100000001
+00100000011000000000000000000000
+00100000010000000100001101000011
+01101000000000001100011011011001
+11000001000000000000000000000000
+01110000010001101101100100000000
+00100000001000000100001111000000
+01101000000000001100011011011000
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100011011011000
+00100100011110100000000000000000
+00100000001000000100001101110000
+01101000000000001100011011101101
+11000001011111111000000000000000
+01101000000010001100011011101101
+00100000010000000110100000011101
+00100000001000001100001101010100
+01101000000000001100011011011001
+11000001000000001000000000000000
+01110000010001101101100100000001
+01101000000000100100011011010011
+11000011100000110000000000000000
+00100000001000000100001101110000
+01101000000000001100011011011001
+11000001000000000000000000000000
+01110000010001101101100100000000
+11011000111000000000000000000110
+00100000001000000100001111010010
+01101000000000001000000000000100
+11000100000000110000000000000000
+01101000000000001100011100100000
+11000000000000001100001101101001
+11000000000000010100001101101100
+00100000011000000000000000000000
+01101000000000001000000000000100
+11000100000000110000000000000000
+01101000000010001100011011101101
+00100000010000000110100000011101
+00100000001000001100001101100110
+01110000010001110010000000000001
+00100000011000000000000000000000
+01101000000000001100011100000011
+01100000000000001100011100100000
+00100000011000000000000000000000
+01101000000010001100011011101101
+00100100001000001100001101110000
+00100000011000000000000000000000
+01101000000010001100011011101101
+00100000010000000110100000011101
+00100000001000001100001101010100
+00100000011000000000000000000000
+01101000000010001100011100100000
+00011000010000001000010000000001
+01101000000000001100011011010010
+10011000010001100111110000000000
+00100100010000010100001111001100
+01100000000010001100011100100000
+01110000010000011011110100000000
+00100000010000000100001101111010
+00100000010000000100001111000000
+00100000001000000100001101111110
+11011000010000000000000000000001
+11011010001000000100011100100000
+11011010010000000000000000000000
+00100000001000000110011000000110
+00100000010000000100001110000001
+00100000010000000100001111000010
+00100000001000000100000111010111
+01101000000000010100011010000010
+11000010100000111100001110010010
+11000010100001001011010000000010
+11000010100000000011001111101001
+00100000001000000100001011001010
+01000100111101101100000000011101
+01011000000000000000000000000000
+01100000000000010100011010110000
+01101000000000010100011010000010
+11000010100001001011010000000010
+01101000000000010100011010000010
+11000010100000000011001111101001
+00100000011000000000000000000000
+01011000000000000000000000000001
+01100000000000110000000001000000
+01110000000000011000010100110011
+00100000001000000100001011011111
+00100000010000000100001111000100
+00100000001000000111111000101111
+01101000000000001100011011101100
+11000001011111111000000000000000
+01101000000010001100011011101100
+00100000010000000110100000011101
+00100000001000001100001110011111
+01101000000000001100011010000101
+01100000000000001100011011011010
+01101000000000001100011011011011
+11000001000000001000000000000000
+01110000010001101101101100000001
+00100000001000000100001111001010
+00100000010000000100001110110101
+01101000000000001100011011011011
+11000001000000000000000000000000
+01110000010001101101101100000000
+00100000010000000111111000101111
+00100000001000000100001111001000
+01101000000000001100011011110101
+11000010100000100100001110010100
+00100000010000000100000010000011
+11000000000000111100001110101111
+01101000000000001100011010000101
+01100000000000001100011011011010
+01101000000000001100011011011011
+11000001000000001000000000000000
+01110000010001101101101100000001
+00100000001000000100001111001010
+00100000010000000100001110110101
+01101000000000001100011011011011
+11000001000000000000000000000000
+01110000010001101101101100000000
+00100000010000000111111000101111
+00100000001000000100001111001000
+11011010011000000100011011011010
+11011010010000000100001110111000
+00100000001000000011001101101101
+11011000111000000000000000000110
+00100000010000000100001111001110
+00100000010000000011001101010111
+00100000001000000100001001101100
+11011000111000000000000000000001
+00100000001000000100001111001110
+11011000111000000000000000000001
+00100000001000000100001111010010
+11011000111000000000000000000000
+00100000001000000100001111001110
+11011000111000000000000000000000
+00100000001000000100001111010010
+11011000111000000000000000000010
+00100000001000000100001111001110
+11011000111000000000000000000010
+00100000001000000100001111010010
+11011000111000000000000000000101
+00100000001000000100001111001110
+11011000111000000000000000000101
+00100000001000000100001111010010
+11011000010000000000000000000001
+00100000011000000000000000000000
+01101000000000100100011011010011
+11111001001000000111111000000000
+01100000000000100100011011010011
+00100000011000000000000000000000
+01101000000000100100011011010011
+11111001001111111111111000000000
+01100000000000100100011011010011
+00100000011000000000000000000000
+01101000000000100100011011010011
+11000100000011010000000000000000
+01101000000000001100011011001110
+00011111111000001111111000000001
+01100000000000001100011011001110
+00011111111001100111110000001010
+00100000011000010000000000000000
+01110000010001101100111000000000
+00100000010000000110100011101011
+00100000010000000110100100001000
+01100000000000010100011100001111
+11011010001000000100011100001001
+00100000010000000110100100110000
+01101000000000001100001000110001
+11000010100000001100010010100000
+11000011000000000100001111101001
+00100000001000000100001111100111
+11011000111000000000000000000100
+00100000001000000100001111001110
+11011000111000000000000000000100
+00100000001000000100001111010010
+01101000000000100100011011010011
+11000100000000100000000000000000
+01101000000000001100011011101111
+01100000000000001100011100010101
+01101000000000001100011011001111
+00011111111000001111111000000001
+01100000000000001100011011001111
+00011111111001100111110000010100
+00100100010000010100001111111001
+11000000000000010100001111111011
+11000000000000100100001111111110
+11000000000000110100001111111011
+11000000000001000100001111111110
+00100000011000000000000000000000
+01110000010001101100111100000001
+00100000001000000100001111111110
+11011010001000000000000000000000
+01110000010001110001001100000010
+00100000001000000111110100010100
+11011010001000000000000000000000
+01110000010001110001001100000010
+00100000001000000111110100011001
+00100000010000000011111110010111
+00100100011101000000000000000000
+11011010001000000000000000000111
+11011010010000000100011010011010
+00100000011000000000000000000000
+01101000000000001100011110001011
+00100000011110100000000000000000
+01101000000010001100011011100111
+00100000010000000110100000011101
+00100000010000001100010000010000
+01101000000000001100011100000100
+00100100011110100000000000000000
+00100000010000000100000010000011
+00100100011110100000000000000000
+00100000001000000010110110000011
+01101000000000001100011011100111
+11000001011111111000000000000000
+01110000010001110000010000001010
+00100000011000000000000000000000
+00100000010000000100010000100011
+01101000000000010100011101111000
+11011000010000001010101001010101
+10011000010001100111110000000000
+00100000001000101100010000101011
+01100000000010010100011101111000
+00100000010000000100010000011100
+00100000001000000100010000110101
+01101000000000110100010010100000
+01100000000000110100011100111000
+00011111111000001111111100000000
+01100000000000110100011101010101
+00011111111000001111111100000000
+01100000000000110100011101110010
+00100000011000000000000000000000
+01011000000000000100011101111000
+11011000010000000100011100100000
+10011000010001100000010000000000
+01101000000000011100011100000000
+10011000010000001111111000000000
+11011000010000000000000000000010
+11011010001000000100011101111000
+00100000001000000110010101100010
+01011000000000000100011101111111
+11011000010000000100011100100000
+10011000010001100000010000000000
+01101000000000011100011100000000
+11011010001000000100011100100000
+00100000010000000110010101100010
+00100000010000000100001100011010
+01101000000000100100011101111011
+00100000010000000010110001111010
+00100000001000000011001000101100
+01011000000000000100011101111111
+11011000010000000100011100100000
+10011000010001100000010000000000
+11011010001000000100011100100000
+01101000000000011100011100000000
+00100000001000000110010100010100
+11011000010000000000000000000001
+11011010001000000100011101111010
+11011010010000000000000001011010
+00100000001000000110010111010001
+11011000010000000000000000000001
+11011010001000000100011101111010
+11011010010000000000000001011010
+00100000001000000110010111011111
+11000110000100110000000000000000
+01101000000000100100011011010011
+11000100000010110000000000000000
+01101000000000001100011100000101
+00011111111000001111111000000001
+00011111111000010111111000000111
+01100000000000001100011100000101
+11000001100000111000000000000000
+01101000000000010100011010000010
+11000010100000000100010001001111
+11000010100001001100010001001111
+00100000011000000000000000000000
+01000100111101110100000000011101
+01101000000000001100011100000110
+00100100011110100000000000000000
+01101000000000100100011011010011
+11000100000001000000000000000000
+01101000000000001100011010100101
+00100000010000000110001111111011
+01100000000000001100011010100110
+00011111111001100111110000010000
+00100000001000010100010001011011
+01110000010001110000011000000000
+00100000011000000000000000000000
+01110000010001110000011000011110
+00100000011000000000000000000000
+11011010011000000100011100000110
+11011010010000000100010001100000
+00100000001000000011001101101101
+01101000000000001100011010100101
+00100000010000000110010000010100
+00011111111001100111110000010000
+00100100011000010000000000000000
+01101000000000100100011011010011
+11000100000001000000000000000000
+11011000111000000000000000001000
+00100000010000000100001111010010
+01110000010000010111001000000000
+01110000010001101100010000011110
+00100000010000000100010010000010
+01101000000000100100011011010011
+11000010100010101100010001110001
+01101000000000001100011100100000
+11000000000000001100010010001001
+11000000000000010100010001110110
+00100000011000000000000000000000
+01101000000000001100011100100000
+11000000000000001100010010001001
+11000000000000010100010010001100
+11000000000000011100010010001111
+00100000011000000000000000000000
+01101000000000001100011011110000
+00100000001000000100001010001111
+01110000010000010111001000100000
+00100000001000000100010010000010
+01101000000000001100011011110000
+11000001011111111000000000000000
+01100000000000001100011100010101
+00100000001000000100001010010110
+01101000000000001100011011110001
+11000001011111111000000000000000
+01100000000000001100011100010101
+00100000001000000100001010010110
+00100000010000000100001010010110
+00100000010000000100010001111010
+00100000010000000100010001111110
+01101000000000001100011011110010
+11000001011111111000000000000000
+01100000000000001100011100010101
+00100000001000000100001010010110
+01101000000000001100011011110000
+01100000000000001100011100010101
+00100000001000000100001010011000
+01101000000000001100011011110001
+01100000000000001100011100010101
+00100000001000000100001010011000
+01101000000000001100011011110010
+01100000000000001100011100010101
+00100000001000000100001010011000
+01000100111101111100000000011101
+01101000000000001100011100011110
+00011111111000001111111111111111
+01100000000000001100011100011110
+01101000000010001100011100100000
+00011000010000001000010000000001
+01101000000000001100011011010010
+10011000010001100111110000000000
+00100100010000010100001111001100
+01100000000010001100011100100000
+01110000010000011011110100000000
+00100000010000000100001101111010
+00100000010000000100001011111011
+00100000001000000100001010100010
+00100000010000000100010010000010
+01011000000000000000000000000000
+01100000000001000000000010100001
+00100000001000000010101100011111
+00100000011101011000000000000000
+01101000000100001000000010000001
+00011111111000010111111011110000
+01100000000100001000000010000001
+00100000010000000110100101001000
+01011000000000000100010011100110
+01100000000000010100000111101011
+01011000000000000100010011101001
+01100000000000010100000111101101
+01011000000000000100010011101111
+01100000000000010100000111110011
+01011000000000000100010011110010
+01100000000000010100000111110101
+01011000000000000011001111010000
+01100000000000010100000111101001
+00100000010000000010110001111010
+01011000000000000100010111000010
+00011010011000001000101011011000
+11100000101000010000000000000000
+01011000000000000100010011101010
+00011010011000001000101011011010
+11100000101000010000000000000000
+01011000000000000100010011101001
+00011010011000001000101011011100
+11100000101000010000000000000000
+01011000000000000100010100001110
+01100000000000010100000111111101
+01011000000000000100010011011010
+01100000000000010100011101011011
+01011000000000000100010011010110
+01100000000000010100011101011111
+01011000000000000100010101100000
+01100000000000010100011100001111
+01000100111110000100000000011110
+00100000010000000100010011100010
+00100000010000000111111000111000
+01110000010000010111001000000010
+01101000000000001100011100101011
+01100000000000001100011010011010
+11000000000000000100010011010101
+01101000000000001100011100101100
+01100000000000001100011010000110
+00100000010000000100010011011011
+00100000010000000111110011010011
+00100000010000000111110011011101
+01110000010001110101011100000001
+01101000000000010100011010000010
+11000011100001100000000000000000
+00100000001000000011010000001010
+01110000010001110101011100000010
+00100000010000000100010011011011
+11011010001000000000000000000000
+00100000010000000111110100011110
+00100000001000000010111011100100
+00100000001000000100010011011011
+01000100111110001100000000011110
+01101000000000001100011100101001
+11000000111111111100010011100000
+01101000000010001100011100000110
+00100000001000000110100000001110
+01100000000000001100011100000110
+00100000001000000100010011011110
+00100000010000000010110010011101
+01101000000000010100011101010011
+01100000000000010100011101010101
+00100000001000000100010100010101
+00100000010000000110100000110101
+00100000010000000100010011101001
+00100000001000000011010000001010
+00100000001000000110100101101100
+01101000000000001100011101100101
+00100000011110100000000000000000
+00100000001000000010110110000011
+00100000011000000000000000000000
+00100000001000000110100101111000
+00100000010000000100010101000100
+00100000010000000100010100000011
+00100000001000000100010011101110
+00011010011000100111111000000000
+11000000000101101011010000110001
+11000000000010000011010000011010
+11000000000111001100010011111011
+11000000000111100100010011111111
+11000000000111010100010011111001
+00100000011000000000000000000000
+01110000010001110110010100000001
+00100000011000000000000000000000
+01110000010001110110010100000001
+01110000010001110110001100000001
+01110000010001110110010000000001
+00100000011000000000000000000000
+01110000010001110110010100000001
+01110000010001110110001100000001
+01110000010001110110010000000001
+00100000011000000000000000000000
+01101000000000001100011101100011
+11000001000000000000000000000000
+01101000000000001100011101100010
+11000001000000001000000000000000
+01110000010001110110001000000001
+11011010001000000000000000000000
+00100000001000000111110100011001
+11011010001000000000000000000000
+00100000010000000111110100011001
+00100000010000000100010011011011
+00100000001000000011010000001010
+00100000010000000011001101111011
+00100000001000000100010100010000
+01101000000000001100011100101101
+00100000011110100000000000000000
+11011010011000000100011101010101
+11011010010000000100010100001010
+00100000001000000011001101110100
+00100000010000000100010100011010
+01100000000010010100011100011010
+00100000010000000100010100011111
+01100000000010010100011100011100
+00100000011000000000000000000000
+01101000000000010100011100011010
+01100000000000010100011100011110
+00100000010000000100010101000000
+00100000010000000100010100100101
+01100000000000001100011100100100
+01101000000000010100011100011100
+01100000000000010100011100011110
+00100000010000000100010101000010
+00100000010000000100010100100101
+01100000000000001100011100100101
+00100000011000000000000000000000
+01101000000000010100011100100000
+00011111111000100010001000000000
+01101000000000010100011100011110
+00100000010000000100010100101110
+01101000000000001100011100011001
+00100100001110100100010100110111
+00100100011000010000000000000000
+01101000000010010100011100011110
+00100000011000000000000000000000
+10011000010001100111111000000000
+00100000001000010100010100110100
+00011111111001100111111000000000
+01110000010001110001100000000001
+10011010001001100111110000000000
+00100000011000000000000000000000
+01110000010001110001100000000000
+10011010001001100111110000000000
+00100000011000000000000000000000
+00100100001000010100010100111110
+01101000000000001100011100011000
+00100100001110100100010100111100
+01011000000000000000000000000001
+00100000011000000000000000000000
+01011000000000000000000000000010
+00100000011000000000000000000000
+01011000000000000000000000000000
+00100000011000000000000000000000
+01110000010000100010111000110011
+00100000001000000110100011101011
+01110000010000100010111000110100
+00100000001000000110100011101011
+01101000000000001100011100101010
+11000001100000001000000000000000
+01000100111110010100000000011110
+01110000010001110001100100000001
+00100000010000000100010100011010
+01101000000000010100011100100100
+01101000000010010100011100100010
+10011000010001100111110000000000
+00100000011000101000000000000000
+01100000000000010100011100100010
+00100000010000000100010101010000
+00100000001000000100010101010100
+01101000000000001100011100100100
+00100000001110100100010101011010
+00011111111000001111111111111111
+00100000001000000100010101010111
+01101000000000001100011100100101
+00100000001110100100010101011101
+00011111111000001111111000000001
+00011111111000100000111000000000
+11011010001000000000000000000001
+00100000001000000100010101100000
+11011000111000000000000000000000
+11011010001000000000000000000000
+00100000001000000100010101100000
+11011000111000000000000000000010
+11011010001000000000000000000000
+00100000001000000100010101100000
+00011010001000100111111000000000
+01100000000000001100011101100001
+01101000000000001100011101100011
+11000000000000000010111011100100
+01101000000000010100011101010011
+01100000000000010100011101010101
+01101000000000001100011101100001
+00100000001110100100010110000000
+01000100111110011100000000011110
+11011010001000000000000000000000
+00100000010000000111110100010100
+00011000111000100111111000000000
+11000000000000100100010110100011
+11000000000000101100010110100101
+11000000000000110100010110100111
+00100000010000000100010110001011
+11000000000000000100010101110100
+11000000000000010100010101111010
+11000000000000011100010101110100
+00100000011000000000000000000000
+00011000111000100111111000000000
+11000000000000000100010110001111
+11000000000000001100010110010001
+11000000000000010100010110010011
+11000000000000011100010110010101
+00100000011000000000000000000000
+00011000111000100111111000000000
+11000000000000000100010110010111
+11000000000000001100010110011010
+11000000000000010100010110011101
+11000000000000011100010110100000
+00100000011000000000000000000000
+01000100111110100100000000011110
+11011010001000000000000000000000
+00100000010000000111110100011001
+00011000111000100111111000000000
+11000000000000100100010110111100
+11000000000000101100010110111100
+00100000010000000100010110001011
+11000000000000000100010110101001
+11000000000000010100010110101111
+11000000000000011100010110101001
+00100000011000000000000000000000
+01101000000000001100011100101000
+01101000000010001100011100100111
+10011000010000011111111000000000
+00100000011000000000000000000000
+01110000010001110011010000000001
+00100000001000000100010110111110
+01110000010001110011010000000010
+00100000001000000100010110111110
+01110000010001110011011000000001
+00100000001000000100010110111110
+01110000010001110011011000000010
+00100000001000000100010110111110
+01110000010001110011010000000001
+01110000010001110011011000000001
+00100000001000000100010110111110
+01110000010001110011010000000010
+01110000010001110011011000000010
+00100000001000000100010110111110
+01110000010001110011010000000010
+01110000010001110011011000000001
+00100000001000000100010110111110
+01110000010001110011010000000001
+01110000010001110011011000000010
+00100000001000000100010110111110
+01110000010001110011100000000001
+00100000001000000100010110111110
+01110000010001110011100000000010
+00100000001000000100010110111110
+01110000010001110100000100000001
+00100000001000000100010111000000
+00011000111000100111111000000000
+11000000000000000100010110110101
+11000000000000001100010110110101
+11000000000000010100010110110111
+11000000000000011100010110110111
+00100000011000000000000000000000
+00011000111000100111111000000000
+11000000000000000100010110111001
+11000000000000001100010110111001
+11000000000000010100010110111001
+11000000000000011100010110111001
+00100000011000000000000000000000
+01110000010001110011010000000000
+00100000001000000100010110111110
+01110000010001110011011000000000
+00100000001000000100010110111110
+01110000010001110011010000000000
+01110000010001110011011000000000
+00100000001000000100010110111110
+01110000010001110011100000000000
+00100000001000000100010110111110
+11011010001000000100011100101110
+00100000001000000111111000111101
+11011010001000000100011100111011
+00100000001000000111111000111101
+01101000000000001100011101100100
+11000000000000001100010111001100
+11011010001000000100011101000100
+00100000010000000111111001010100
+00100100001101000100010111010001
+11011000110000000100011101000100
+11101000110000001000000000000000
+00011111111000100010001000000000
+11011010010000000100011101000101
+00100000011000000000000000000000
+01110000010001110110010000000000
+01111000001101000111110000000000
+11011010001000000000000000000001
+11011010010000000100011101100110
+00100000011000000000000000000000
+01101000000000001100011101000111
+11000000000000100100010111010101
+11000000000000101100010111010101
+00100000011000000000000000000000
+01101000000000001100011101001010
+00100100001110100100010111011100
+01101000000000001100011101001100
+00100100001110100100010111011100
+01101000000000001100011101001110
+00100100001110100100010111011100
+00100000011000000000000000000000
+01111000001101000111110000000000
+00100000001000000100010111000111
+00100000011101011000000000000000
+01101000000100001000000010000001
+00011111111000010111111011111100
+01100000000100001000000010000001
+01011000000000000100011010110100
+01100000000000010100000111101011
+01011000000000000100011010110011
+01100000000000010100000111101101
+01011000000000000011010000001010
+01100000000000010100000111110111
+01011000000000000100011010110001
+01100000000000010100000111110011
+01011000000000000100011000010010
+01100000000000010100000111110101
+01011000000000000100011000001100
+01100000000000010100000111101001
+01011000000000000100011101101010
+01100000000000010100000111111001
+01011000000000000100011010000110
+01100000000000010100000111111101
+01011000000000000100011100101001
+01100000000000010100011011100111
+01011000000000000100100000000110
+01100000000000010100011011100010
+01011000000000000100100000000111
+01100000000000010100011011100100
+00100000010000000101011110100011
+00100000010000000100011111011010
+00100000010000000100011110001000
+00100000010000000100011101101101
+00100000010000000110100101001000
+00100000010000000100011101111010
+00100000010000000111111000111000
+00100000010000000111110100001000
+00100000010000000100011110010011
+00100000010000000100011111000111
+01000100111110101100000000011110
+00100000010000000100011001001111
+01101000000000001100011011011101
+11000000000000000100011000001001
+01101000000000001100011011011110
+01100000000000001100011010000110
+00100000001000000100100000001110
+01110000010001101000011011111111
+01110000010001101101111100000001
+00100000001000000100011011011001
+01101000000000001100011011011111
+11000000000000010011001111010000
+00100000010000000101001001111110
+01101000000000001100001001010110
+00100100001110100011001111010000
+00100000001000000011001111010010
+00011010011000100111111000000000
+11000000000000001100011000100110
+11000000000000010100011000101001
+11000000000000100100011000110001
+11000000000000101100011000110011
+11000000000000110100011000110101
+11000000000000111100011000111000
+11000000000010010100011000111100
+11000000000010011100011001000100
+11000000000100111100011001000101
+11000000000101110100011001001000
+11000000000111101100011001001001
+11000000000010100100011001011000
+11000000000010101100011001011100
+11000000000111111100011001011111
+11000000001000000100011001100101
+11000000000010000100011001101011
+11000000000101100100011001101100
+11000000000101101100011001110111
+00100000011000000000000000000000
+01110000010001101010110100000000
+01110000010001101010110000000000
+00100000011000000000000000000000
+00100000010000000100011000101011
+00100000001000000100011000110001
+01110000010000011110001000000000
+01110000010001101000000000000000
+01110000010000100000010100000000
+01110000010001101010110000000000
+01110000010001101010110100000000
+00100000001000000111111000111000
+00100000010000000011001110101001
+00100000001000000100011011000010
+00100000010000000100011010110110
+00100000001000000011010000001000
+01011000000000000000000000000010
+01100000000000001100011010000000
+00100000011000000000000000000000
+01110000010001101010110000000000
+01011000000000000000000000000001
+01100000000000001100011010101101
+00100000011000000000000000000000
+01101000000000001100000111100010
+11000001000000001000000000000000
+01110000010000011110001000000001
+00100000010000000011010000010110
+00100000010000000011010000010100
+00100000010000000100011010110110
+00100000010000000011010000001000
+00100000001000000011010000001110
+00100000001000000100011000110001
+01011000000000000000000000000101
+01100000000000001100011010101100
+00100000011000000000000000000000
+00100000001000000011001111001101
+11011010010000000000000000000000
+01101000000000001100001000010111
+00011111111011111000010000100010
+01101000000000010100001000010101
+00011111111000100010001000000000
+00100000001000000110011000000110
+11011010010000000000000000000000
+01101000000000001100011010011010
+11000100000000001000000000000000
+01101000000000001100001000010111
+00100000011110100000000000000000
+00011111111011111000010000100010
+01101000000000010100001000010101
+00011111111000100010001000000000
+00100000001000000110010111011111
+00100000010000000100011010110110
+01011000000000000000000000000000
+01100000000000010100011010110111
+00100000001000000011010000001000
+00100000010000000111111000111000
+01110000010001101011000000000000
+00100000001000000100011011011001
+00100000010000000111111000111000
+01110000010001101011000000000001
+01101000000001000100011011000001
+01100000000001000100010010010110
+00100000010000000011010000010110
+00100000001000000101101010111111
+01101000000000010100010100001001
+11000001000000000000000000000000
+01101000000001000100011011001001
+00100000011110100000000000000000
+01100000000001000100010010010110
+00100000001000000101101010111111
+00100000001000000100100000011111
+01101000000000001100011011011101
+11000001000000000000000000000000
+01101000000000001100011011011111
+11000001100000001000000000000000
+00100000010000000100011001110010
+00100000001000000011010000000110
+01110000010010001101111100000001
+11011111001000000000000000001011
+11011000101000000100100011100000
+11011000110000000100100011001001
+00100000001000000111111100000001
+01101000000000001100011011011101
+11000001000000000000000000000000
+01101000000000001100011011011111
+11000000000000001100011001111100
+00100000001000000100100000011011
+01101000000000001100100011011111
+11000001100000001000000000000000
+01110000010010001101111100000000
+01101000000000010100011010000010
+11000010100000000011010000001000
+11000010100001001011010000001000
+11011111001000000000000000001011
+11011000110000000100100011100000
+11011000101000000100100011001001
+00100000001000000111111100000001
+00100000010000000100011010001100
+00100000010000000100011010010011
+00100000010000000100011010011110
+00100000010000000100011010100110
+00100000010000000100011010101001
+00100000001000000100011010101100
+11011010011000000100011011011011
+11011010010000000100011010001111
+00100000001000000011001101110100
+01110000010001101101111100000010
+00100000010000000011010000001000
+00100000010000000100011011110100
+00100000001000000100100000001011
+11011010011000000100100011101100
+11011010010000000100011010010110
+00100000001000000011001101101101
+01101000000000010100011010000010
+11000010100001001100100000001011
+11000010100000000100100000001011
+01101000000000001100100011001001
+11000000000000001100100000001011
+11000000000000100100100000001011
+11000000000000101100100000001011
+00100000001000000011010000001010
+11011010011000000100011010101100
+11011010010000000100011010100001
+00100000001000000011001101101101
+01101000000000001000001001111111
+01111001001000000111111000000000
+01111001001000000111111000000111
+01100000000000001000001001111111
+00100000011000000000000000000000
+11011010011000000100011010000000
+11011010010000000100011000111100
+00100000001000000011001101101101
+11011010011000000100011010101101
+11011010010000000011001111101001
+00100000001000000011001101101101
+01101000000000001100011011011111
+11000001100000001000000000000000
+11011010011000000100011010110111
+11011010010000000100011011000010
+00100000001000000011001101110100
+00100000010000000100011100111010
+00100000001000000110100101111000
+00100000001000000110100101101100
+00100000010000000110100000110101
+00100000001000000100011010110011
+01101000000000001100011010011010
+11000010100000001100011010111110
+11000010100000000100011010111010
+00100000011000000000000000000000
+01101000000000010100011011010111
+01100000000000010100011011011001
+01100000000000010100011011011011
+00100000001000000011001111111000
+01101000000000010100011011010011
+01100000000000010100011011011001
+01100000000000010100011011011011
+00100000001000000011001111110000
+01101000000000001100011011011111
+11000001100000001000000000000000
+01101000000000001100011010011010
+11000010100000001100011011001000
+11000010100000000100011011001100
+00100000011000000000000000000000
+01101000000000010100011011010001
+01100000000000010100011011011001
+01100000000000010100011011011011
+00100000001000000011001111101011
+01101000000000010100011010000010
+11000011100001001000000000000000
+01101000000000010100011011010101
+01100000000000010100011011011001
+01100000000000010100011011011011
+01101000000000010100011010110011
+00100000010000000100011011110000
+00100000010000000011010000000100
+01101000000000100100011010111101
+01100000000000100100100011001100
+01101000000000010100011010000010
+11000011100001011000000000000000
+00100000001000000011001111111010
+01101000000000001100011011011111
+11000001100000001000000000000000
+01101000000000001100011010011010
+11000010100000001100011011011111
+11000010100000000100011011100100
+00100000011000000000000000000000
+00100000010000000100011011111000
+00100000001110100100011011000010
+00100000010000000011010000000110
+00100000010000000011001111110000
+00100000001000000011001111100001
+01101000000000010100011010110111
+01101000000010010100011010110101
+01100000000010010100011010110111
+00100100011110100000000000000000
+01101000000000010100011010110001
+00100000010000000100011011110000
+00100000010000000011010000000100
+01101000000000100100011010111001
+01100000000000100100100011001100
+01101000000000010100011010000010
+11000011100001011000000000000000
+00100000001000000011001111111010
+01100000000000010100000101010100
+00011111111000001111111111111100
+01100000000000010100010010000010
+00100000011000000000000000000000
+01101000000000010100011010000010
+11000010100001001011010000000010
+11000010100000000011001111101001
+00100000001000000100011010110110
+01101000000000001100001000010111
+00011111111000100111001000000000
+01101000000000010100001000010101
+00011111111000100010001000000000
+11101010001000010000000000000000
+11000000000000000100011100000001
+00011010001000001010001000100010
+11000010000000000100011011111100
+00100000001000000111111111110001
+11101000110000110000000000000000
+01100000000000110100000111010000
+00011000110000001000110000001010
+11011000101000000100000110111110
+00100000010000000111111010111111
+00100000010000000110011111010111
+00100000001000000111111111101111
+00100000010000000111111111101001
+01101000000000010100011010000010
+11000010100000000100011100001101
+11000010100001001100011100010000
+00100000011000000000000000000000
+01101000000000001100001001010011
+11000001100111111000000000000000
+00100000001000000111111111100111
+01101000000000001100011010110000
+00100000011110100000000000000000
+00100000001000000111111111100111
+00100000010000000111111111101001
+01101000000000010100011010000010
+11000011100000000000000000000000
+11000011100001001000000000000000
+00100000001000000111111111100111
+01101000000000001100011010011010
+11000010100000001100011100011100
+11000010100000000100011100011111
+00100000011000000000000000000000
+01101000000000001100000010010011
+11000001100000011000000000000000
+00100000001000000100011011011001
+00100000001000000100011011011001
+01111000010101100111110000000000
+01101000000000010100011011011001
+01100000000000010100011011011011
+00100000010000000100011100010011
+00100000001101000100011100011000
+00100000010000000100011100001000
+00100100011101000000000000000000
+01111000001101100111110000000000
+00100000011000000000000000000000
+00100000010000000100011100100000
+00100100011101100000000000000000
+00011010001000100111111000000000
+00100000001110100100011100110000
+00100000010000000011010000000110
+11011010011000000100011011110001
+00100000001000000100011100110010
+00100000010000000011010000001000
+11011010011000000100011100011001
+11011111111000000000000000000101
+10011000111011111111111000000000
+10011010011000001010011000000000
+11101010011000001000000000000000
+00100000011110100000000000000000
+00100000010000000100011101100010
+00011010011000001010011000000001
+00100000001000000100011100110101
+01101000000000010100011010000010
+11000010100001001100011100111110
+11000010100000000100011101001110
+00100000011000000000000000000000
+00100000010000000101100010010010
+00100100011110100000000000000000
+00100000010000000100011101100101
+00100100011101000000000000000000
+00011111111000001111111111111111
+00011111111011111111111000000101
+11011000010000000100011101000001
+10011000010000001000110000000000
+11101000110000001000000000000000
+00011111111000100010001000000000
+11101000110010010000000000000000
+00100000010000000111111010100101
+00100000010000000101101001100100
+00011010001000100111001000000000
+00100000010000000111111010011111
+00100000001000000111111100000001
+00100000010000000101001001110001
+00100100011110100000000000000000
+00100000010000000100011101100101
+00100100011101000000000000000000
+00011111111000001111111111111111
+00011111111011111111111000000101
+11011000010000000100011110100000
+10011000010000001000110000000000
+11101000110000101000000000000000
+01100000000000101100011110011011
+01101000000000001100011110011011
+00011111111000100010001000000000
+00100000010000000100110101100011
+01101000000000010100001001001110
+11100000101000010000000000000000
+01011000000000000000000010100001
+11100000101000001000000000000000
+01101000000000100100011110011100
+11100000101001001000000000000000
+00100000011000000000000000000000
+01100000000000001000101010011010
+11011010001000000000101010011010
+00100000001000000111111000111101
+11011010001000000000101010011010
+00100000010000000111111001010100
+00100100011101000000000000000000
+01101000000000001000101010011010
+00100000011000000000000000000000
+01101000000000010000010001111000
+11000000000011000100011001011111
+00100000011000000000000000000000
+01011000000000000000000000000010
+01100000000000001100100011101011
+01011000001000000000000000001000
+01100000000000100100011011000001
+01011001001011000000000000000101
+11100000101000100000000000000000
+01110000010001001010011000010111
+01011000000000000000000000011011
+01100000000000010100010011111010
+00100000010000000101100000010000
+00100000010000000101100000101100
+00100000010000000101100000111001
+00100000001000000101100000011000
+11011111001000000000000000101000
+11011000101000000100011101000001
+11011000110000001001010010011111
+00100000010000000111111011110100
+11011111001000000000000000101000
+11011000101000000100011110100000
+11011000110000001001010011000111
+00100000001000000111111011110100
+11011111001000000000000101111110
+11011000110000001001000100111010
+00100000001000000111111011110100
+11011111001000000000000111100111
+11011000110000001001001010111000
+00100000001000000111111011110100
+00100000010000000100011110101110
+00100100011101000000000000000000
+01101000000000001100011010011111
+00100000010000000100011110010000
+01101000000000001100011010100000
+00100000010000000100011110010000
+01101000000000001100011010100001
+00100000001000000100011110010000
+00100000011110100000000000000000
+00011111111000011000010010000000
+00100000001000000110011111111001
+00100000010000000100011110101110
+00100100011101000000000000000000
+00100000010000000100011110010111
+00100000001000000100011110110100
+11011010001000000000000000000000
+01101000000000001100011010011111
+00100000010000000100011110101001
+01111101001110100010001000000000
+01101000000000001100011010100000
+00100000010000000100011110101001
+01111101001110100010001000000001
+01101000000000001100011010100001
+00100000010000000100011110101001
+01111101001110100010001000000010
+00011010001000100111111000000000
+01100000000000001100011010101001
+01101000000000001100011010011110
+10011010001011111111111000000000
+01101000000010010100011010011100
+10011000010000001111111000000000
+01100000000000010100011010101010
+00100000011000000000000000000000
+00100000011110100000000000000000
+00011111111000011000010010000000
+00100000010000000110100000011101
+00100100001000001111111111110001
+00100000001000000111111111101111
+00100000010000000111111111101001
+01101000000000001100011010101000
+00100100011110100000000000000000
+01101000000000001100011010011011
+00100000011110100000000000000000
+00100000001000000111111111100111
+00100000010000000110011001101010
+01101000000000010100011010101010
+11011010001000000000101011000010
+01101000000010001100011010011110
+00100000010000000110011010110011
+00100000010000000110011001101101
+01101000000000001000101011000010
+00011111111000100111001000000000
+01100000000000001100001110101111
+00100000010000000111111011110100
+01101000000000001000101011000010
+00011111111000100111001000000000
+01100000000000001100010100010101
+00100000010000000111111011110100
+11101000110000001000000000000000
+01100000000000001100011011100110
+11101000110000001000000000000000
+01100000000000001100011011011101
+00100000011000000000000000000000
+01101000000000001100011010011010
+11000100000000001000000000000000
+11011000010000000000000000000011
+01101000000000010100011010100100
+00011111111000100010010000000000
+11011010001000000100011010100110
+00100000010000000110010111011111
+01101000000010010100011010100110
+01011000000000000001101100111010
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101000000000001100011010101000
+00100000011110100000000000000000
+00011111111000100000010000000000
+01101000000000010100011010100100
+00011111111000001010010000000011
+11011010001000000000101011000010
+00100000010000000110010111011111
+00100000001000000100011111101000
+01101000000000010100011010100010
+00100000011110100000000000000000
+00100000010000000110011001101010
+11011000010000000000000000000001
+11011010001000000100011010101000
+00100000010000000110011010110011
+01101000000000001100011010101000
+00100000011110100000000000000000
+01101000000000010100011010100010
+00011111111000001111111000000001
+11011010001000000000101011000010
+01101000000010001100011010101000
+00100000010000000110011010110011
+00100000010000000110011001101101
+00100000010000000100011110111010
+11101000110000010000000000000000
+00100000011110100000000000000000
+00011111111000100000101000000000
+11101000110010001000000000000000
+00011000010000100111001000000000
+00100000010000000111111100000001
+00100000001000000100011111101001
+01101000000000001100011010011010
+11000100000000001000000000000000
+01101000000000010100011010101110
+00011111111000100010010000000000
+11011000010000000000000000000100
+11011010001000000000101011000010
+00100000010000000110010111011111
+01101000000000001000101011000010
+11000000100000001100011111111001
+01011000000000000000000000000001
+01100000000000001000101011000010
+00011000000000000111001000000011
+00100000010000000110001100001101
+01101000000000010100011010101110
+00011111111000100010010000000000
+11011000010000000000000000000100
+11011010001000000000101011000010
+00100000010000000110011000000110
+01101000000000011000101011000011
+01100000000000011100000010100000
+01100000000000011100010010100000
+00100000011000000000000000000000
+00100000001000000100011011011001
+11011010001000000000000000000000
+11011010011000000100100011010100
+00100000010000000111110100100100
+00100000010000000100011011110100
+01101000000000001100100011101011
+01100000000000001100100011101100
+00100000011000000000000000000000
+01011000000000000000000000000000
+00100000010000000100100000010110
+01110000010001100111100100000001
+00100000010000000111110011010011
+00100000010000000111110011011101
+01101000000000010100011010000010
+11000011100001100000000000000000
+00100000001000000011010000001010
+01101000000010010100001000111111
+11100000010000001000000000000000
+11101000101000001000000000000000
+01100000000000001100011010000101
+00100000011000000000000000000000
+01101000000000010100001000111111
+11101111111000001000000000000000
+11000001100000000000000000000000
+00100000001000000011010000001010
+01101000000010010100001000111111
+11101000010000001000000000000000
+11000000000000001100100000101010
+01011000000000000000000000000001
+01101000000010010100001000111111
+11100000010000001000000000000000
+00011000010000001000110000000010
+11101000110000001000000000000000
+11100000101000001000000000000000
+11101000110000010000000000000000
+00100000001000000111111110011100
+01011000000000000000000000000010
+00100000010000000100100000010110
+00011000010000001000110000000101
+11101000110000010000000000000000
+00100000001110100011010000001010
+00100000001000000111111110011100
+01100000000000110000000100000001
+01101000000000001000000100000001
+01100000000000001000000100001100
+11101000110000001000000000000000
+01100000000000001000000100001011
+11101000110000001000000000000000
+01100000000000001000000100001010
+11101000110000001000000000000000
+01100000000000001000000100001001
+11101000110000001000000000000000
+01100000000000001000000100001000
+11101000110000001000000000000000
+01100000000000001000000100000111
+01101000000000110000000100000111
+00100000011000000000000000000000
+00100000010000000110100010100010
+01101000000000001100001000100011
+01100000000000001100010010100000
+01101000000000001100001000100101
+11100000101000001000000000000000
+01101000000000001100001000100111
+11100000101000001000000000000000
+01101000000000011100010010100000
+01100000000000011100000010100000
+00100000011000000000000000000000
+01101000000000010100001000000011
+10011010010000001111111000000000
+00011111111100001111111000000000
+01100000000000010000000111110111
+00011000010000100010010000000000
+00100000010000000100100010011011
+01011000000000000000000010100000
+00100000010000000100100010001101
+01101000000000001000000111110111
+00100000010000000100100010001101
+11000101000101000100100001010110
+01101000000000001000000111111000
+00100000010000000100100010001101
+00100000010000000100100010100001
+00100000010000000100100010011011
+01011000000000000000000010100001
+00100000010000000100100010001101
+00100000010000000100100001111111
+11100010001000001000000000000000
+00011010001000001010001000000001
+00011010010000001010010111111111
+00100100001000101100100001011010
+00100000001000000100100010100001
+00011010010100001111111000000000
+01100000000000010000000111110111
+00011000010000100010010000000000
+00100000010000000100100010011011
+01011000000000000000000010100000
+00100000010000000100100010001101
+01101000000000001000000111110111
+00100000010000000100100010001101
+11000101000101000100100001101011
+01101000000000001000000111111000
+00100000010000000100100010001101
+11101010001000001000000000000000
+00100000010000000100100010001101
+00011010001000001010001000000001
+00011010010000001010010111111111
+00100100001000101100100001101011
+00100000001000000100100010100001
+11011111001000000000000000001010
+00100000010000000100100010111110
+00100000010000000100100010100110
+00100000010000000100100011010010
+00100000010000000100100011000111
+00100000001110100100100010101001
+11000010000000000100100001110101
+00100000001000000100100010101001
+00100000010000000100100010101001
+00100000010000000100100010101111
+00100000010000000100100011010010
+00100000010000000100100010100110
+00100000010000000100100011010010
+00100000001000000100100010101001
+11011111001000000000000000001000
+11011010011000000000000000000000
+00100000010000000100100010111110
+00100000010000000100100010100110
+00100000010000000100100011010010
+00011010011000111010011000000000
+00100000010000000100100011000111
+10011010011000001010011000000000
+00100000010000000100100011010010
+00100000010000000100100010101001
+11000010000000000100100010000010
+00100000010000000100100001111001
+00011010011000100111111000000000
+00100000011000000000000000000000
+11011111001000000000000000001000
+00011111111000100010011000000000
+00100000010000000100100010101001
+00101010011011111111111000000111
+00100000010000001100100010101100
+00100100010000001100100010101111
+00011010011000111010011000000000
+00100000010000000100100011010010
+00100000010000000100100010100110
+00100000010000000100100011010010
+00100000010000000100100010101001
+00100000010000000100100011010010
+11000010000000000100100010010000
+00100000001000000100100001110001
+00100000010000000100100010101100
+00100000010000000100100010100110
+00100000010000000100100011010010
+00100000010000000100100010101111
+00100000010000000100100011010010
+00100000001000000100100010101001
+00100000010000000100100010101111
+00100000010000000100100010100110
+00100000010000000100100011010010
+00100000010000000100100010101100
+00100000001000000100100011010010
+01111000001101000111110000000000
+01101000000000001100111111111110
+00100000001000000100100010110010
+01111000010101000111110000000000
+01101000000000001100111111111110
+00100000001000000100100010110010
+01111000001101000111110000000000
+01101000000000001100111111111111
+00100000001000000100100010110010
+01111000010101000111110000000000
+01101000000000001100111111111111
+00100000001000000100100010110010
+00011111111000010000111000000111
+00011111111010010111111000000000
+11011000010000001000000001110000
+10011000010000001000010000000000
+11101000010000001000000000000000
+11111001001000000111111000000000
+11100000010000001000000000000000
+00011000010000001000010000000100
+11101000010000001000000000000000
+11111001001101000111111000000000
+11100000010000001000000000000000
+00100000011000000000000000000000
+01101000000000001100111111111111
+00011111111000010000111000000111
+00011111111010010111111000000000
+11011000010000001000000001110000
+10011000010000001000010000000000
+11101000010000001000000000000000
+11111001001111111111111000000000
+11100000010000001000000000000000
+00100000011000000000000000000000
+00100000000000000000000000000100
+01101000000000001100111111111111
+00011111111000010000111000000111
+00011111111010010111111000000000
+11011000010000001000000100011100
+10011000010000001000010000000000
+01011000000000000000000000000000
+11101000010010001000000000000000
+10101000010011111111111111111111
+01111001001000001111111000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01000100111110110100000000011110
+01101000000100001000101000100110
+00101111111011111111111000000111
+00100000010000001100100011101010
+00100000010000000100100100101110
+01101000000100001000101000100110
+01100000000000001000101100100010
+01101000000100001000101000100111
+01100000000000001000101100100011
+01100000000100001000101000100111
+00011111111001000111111000000000
+01101000000010001000110100110111
+10011000010000010111111000000000
+01100000000000001000110100110111
+01110000100010100010011011100000
+01101000000000001000101100100011
+00101111111000000000001000000001
+00100000010000001100100101000001
+01101000000000001000101100100010
+00101111111000000000001000000001
+00100000010000001100100101001010
+00100000010000000100101101100001
+00100000001000000100100100000011
+01000100111110111100000000011110
+00100000010000000100100100011001
+01110000100010100000000000000000
+00100000000000000010011100010000
+01110000100010100001000011000000
+01101000000100010000000001010000
+01111001001111111111111000001010
+01100000000100010000000001010000
+01110000100010100000000000111100
+01110000100010100010011011111111
+01110000100010100010011111111111
+01110000100010100000010000000000
+01110000000011000110101100000010
+01011000000000000000110110011101
+11011000101000000000110001101110
+10011000101001100111001000000000
+00100000001000000111111011010100
+01101000000010001000110001101100
+00100000001000000110011111111011
+01101000000000001000110101000101
+00100000011110100000000000000000
+01101000000010001000110001101100
+00100000010000000110100000011101
+00100000001000001100100011101010
+00100000011000000000000000000000
+11011000111000000000000000000000
+00100000010000000111111100010110
+00100100011110100000000000000000
+01101000000000001000110101000110
+00100100011110100000000000000000
+01101000000000001000110101000101
+00100100010110100100101110110111
+00100000011000000000000000000000
+11011000101000000000101101101000
+00111000000000010001001000010010
+00111000000001001000000000000000
+00111000000010000000000000000000
+00111000000011010000000000000000
+11100000101001001000000000000000
+00111000000000100010010000010010
+00111000000001001000011000000100
+00111000000010000001000000000000
+00111000000011000000000000001000
+11100000101001001000000000000000
+00111000000000000000000000000001
+11100000101000001000000000000000
+00100000011000000000000000000000
+01110000000011000110101100000010
+01011000000000000000000000000000
+01100000000000001000101101100111
+01100000000000010000110001100101
+00011111111000001111111000000001
+01100000000000010000110001100111
+00011111111000001111111000000001
+01100000000000010000110001101001
+01011000000000001000111111111010
+01100000000000010000101101111100
+01011000000000001001000000111010
+01100000000000010000101101111110
+11011000101000000000101110000000
+11011000110000001001000011111110
+00100000010000000111111010110011
+01101000000000001000110001101101
+00100100010110100100100100101011
+00100000001000000100100100001011
+01100000000000001000101110100010
+01100000000000001000101110111011
+00100000011000000000000000000000
+01101000000100001000101000100110
+11000010100000110100100100110001
+00100000011000000000000000000000
+00100000010000000100100100110110
+00100000010000000111111100010101
+01011000000000000000001010000000
+11011000111000000000000000000000
+00100000001000000111111100001000
+01101000000000001000110100110110
+11000000100000010100100100111011
+01110000000011010100011000000000
+01110000000011010100011100000000
+00100000011000000000000000000000
+01101000000000001000110101010011
+00100000011110100000000000000000
+01110000000011010101001100000000
+01110000000011010011011000000010
+01110000000011010100010100000001
+00100000011000000000000000000000
+01110000100010100010011100000001
+00100000001000000100101100110111
+01101000000000001000101100100010
+11000010100000100100100101010101
+00100000011000000000000000000000
+01101000000100001000101000011000
+11100000101000001000000000000000
+11000010000000000100100101000110
+00100000011000000000000000000000
+01000100111111000100000000011111
+01110000100010100010011000010001
+01101000000100001000101000100000
+01100000000000001000101100100100
+00011111111000100111001000000000
+00100000001110100100100101000011
+11011000101000000000110001101110
+00100000010000000100100101000110
+01101000000000001000101100100100
+00011111111001100111110000000111
+00100000011000010000000000000000
+01101000000000001000110001101110
+00011111111000010111111010000000
+11000000010000000100100101011010
+11000000000000000100100101100010
+00100000001000000010101010001100
+01101000000000001000110001101110
+00011111111100011111111000000000
+00011111111000110111111000000000
+00011111111000010111111000000011
+11000000000000000100100101101010
+11000000000000001100100101110000
+11000000000000010100100101110101
+00100000001000000010101010001100
+01101000000000001000110001101110
+00011111111100011111111000000000
+00011111111000110111111000000000
+00011111111000010111111000000011
+11000000000000000100100101110110
+11000000000000001100100101111110
+11000000000000010100100110000011
+00100000001000000010101010001100
+01101000000000001000110001101111
+11000000000001000100100110001010
+11000000000000110100100110100000
+11000000000001010100100111101010
+11000000000000000100100111111100
+00100000001000000100100110000100
+01101000000000001000110001101111
+11000000000000010100101000101111
+11000000000000001100101000110011
+11000000000000011100101001000101
+00100000001000000100100110000100
+00100000001000000100100110000100
+01101000000000001000110001101111
+11000000000000001100101001001111
+11000000000000011100101001111001
+11000000000000101100101010100011
+11000000000001001100101010111100
+11000000000001011100101011010111
+11000000000000111100100110000100
+00100000001000000100100110000100
+01101000000000001000110001101111
+11000000000001010100101011101000
+11000000000001001100101011111001
+11000000000001011100101100010001
+00100000001000000100100110000100
+00100000001000000100100110000100
+01101000000100001000101000010001
+01111001001000000111111000000000
+01100000000100001000101000010001
+00100000001000000100100110001000
+01110000100010100001001001000000
+00100000011000000000000000000000
+01101000000000001000110001101110
+11000000110000000100100110000100
+01101000000000001000110001110010
+11000000100000000100100110000100
+01101000000000001000110001110011
+11000000100000000100100110000100
+01101000000000001000110001110100
+11000000100000001100100110000100
+01101000000000001000110001110101
+11000000100000000100100110000100
+01101000000000001000110001110000
+11000000100000000100100110000100
+01101000000000001000110001110001
+11000000100000000100100110000100
+01101000000000001000110001101011
+11000000000000100100100110011100
+11000000000000011100100110011110
+00100000001000000100100110000100
+11011010010000000000000000000001
+00100000001000000100101000010100
+11011010010000000000000000000001
+00100000001000000100101000010010
+01000100111111001100000000011111
+01111001001111111000000000100011
+01101000000000001000110001110001
+11000000000000001100100110110110
+11000000000000010100100111001111
+11000000000000011100100111010010
+11000000000100001100100110101001
+11000000000100010100100111100000
+00100000001000000100100110000100
+01110000000011010100101100000000
+01101000000000001000110001110010
+11000000000000000100100110101110
+11000000000000001100100110110010
+00100000001000000100100110000100
+11011010001000000000101110010011
+11101010001000001000000000000000
+10011000000000000010010000000000
+00100000001000000100101100100001
+11011010001000000000101110101100
+11101010001000001000000000000000
+10011000000000000010010000000000
+00100000001000000100101100100001
+01101000000000001000110101001000
+00100100010110100100100111000111
+01011000000000000000101101101000
+01101000000010001000101101101000
+01100000000000010000110100111111
+01100000000010001000110101000001
+01101000000000001000110001110100
+10011000010001100111110000000000
+00100100001000010100100111000101
+01101000000000001000110101000001
+10011000000000000010010000000000
+01101000000000010000110100111111
+00011111111000001111111000000001
+10011000000000000010001000000000
+00100000001000000100101100100001
+01101000000000001000110001110100
+00100000001000000100100111000000
+01101000000100001000101000000100
+00100100010110100100100111001011
+01110000000011010100100000000000
+00100000011000000000000000000000
+01101000000100001000101000000100
+01111001001000000111111000000111
+01100000000100001000101000000100
+00100000011000000000000000000000
+01011000000000000000101110000000
+01101000000010001000101110000000
+00100000001000000100100110111010
+01101000000000001000110001110000
+00011111111001100111110000000011
+00100100001000010100100110000100
+01101000000000001000110001110000
+11011010001000000000101111100100
+11000000000000000100101100011110
+01111001001000000000000000100011
+11011010001000000000101111101001
+11000000000000001100101100011110
+11011010001000000000110000000111
+11000000000000010100101100011110
+11011010001000000000110001000111
+11000000000000011100101100011110
+00100000011000000000000000000000
+01101000000000010000110001110010
+11000000000000001100100111100101
+01101000000000010000101101111100
+00011111111000100010001000000000
+00100000001000000100101100011110
+01110000000011010100010100000001
+01110000000011010011011000000001
+01101000000000010000101101111110
+00011111111000100010001000000000
+00100000001000000100101100011110
+01101000000000001000110001101011
+11000000100000100100100110000100
+01101000000000001000110001101110
+11000000110000001100100110000100
+01101000000000001000110001110000
+11000000100000000100100110000100
+01101000000000001000110001110001
+11000000100000000100100110000100
+01101000000000001000110001110100
+11000000100000001100100110000100
+01101000000000001000110001110101
+11000000100000000100100110000100
+01101000000000001000110001110010
+11000000100000000100100110000100
+01101000000000001000110001110011
+11000000100000000100100110000100
+11011010010000000000000000000001
+00100000001000000100101000010010
+01101000000000001000110001101011
+11000000000000010100100110000100
+01101000000000001000110001110000
+11000000100000000100100110000100
+01101000000000001000110001110001
+11000000100000000100100110000100
+01101000000000001000110001110100
+11000000100000010100100110000100
+01101000000000001000110001110101
+11000000100000000100100110000100
+01101000000000001000110001110011
+11000000100000000100100110000100
+01101000000000001000110001101110
+11000000010000000100101000001101
+11000000010000001100101000011000
+11000000010000010100101000011100
+00100000001000000100100110000100
+01101000000000001000110001110010
+11000000100000000100100110000100
+11011010010000000000000000000010
+01101000000000001000110100111001
+11000000000000001100101000010110
+11011010001000000000110001100101
+00100000001000000100101100100001
+11011010001000000000110001100111
+00100000001000000100101100100001
+11011010001000000000110001101001
+00100000001000000100101100100001
+01101000000000001000110001101011
+11000000100000100100100110000100
+11011010010000000000000000000010
+00100000001000000100101000010010
+01101000000000001000110001101011
+11000000100000100100100110000100
+01101000000000001000110001110010
+11000000010000001100101000101001
+11000000010000010100101000101011
+11000000010000011100101000101101
+00011111111000010111111001111111
+11000000000000000100101000100101
+00100000001000000100100110000100
+01101000000000001000110100111011
+11011010010000000000000000000010
+11000000000000001100101000010100
+00100000001000000100101000010010
+01101000000000001000110100111100
+00100000001000000100101000100110
+01101000000000001000110100111101
+00100000001000000100101000100110
+01101000000000001000110100111110
+00100000001000000100101000100110
+01110000000011010100110000000001
+11011010001000000000110101001101
+11011010010000000000000000000001
+00100000001000000100101100100001
+01101000000000010000110001110000
+11011000010000000000000110111010
+10011000010001100111110000000000
+00100100001000101100100110000100
+01111001001111111000000000100011
+01101000000000001000110101000010
+00100100001110100100101001000010
+01110000000011001111011000000000
+01101000000000001000110001110100
+10011000000000000010010000000000
+11011010001000000000110011110110
+00100000010000000100101100100001
+11011000101000000000110011110110
+11011111001000000000000000001000
+00100000001000000111111011000110
+01110000000011010100001000000000
+01110000000011001111011000000001
+00100000001000000100101000111011
+01101000000000001000110001110100
+11000000100000001100100110000100
+01110000000011010100101100000001
+11011010010000000000000000000001
+01101000000000001000110101001001
+11000000000000000100101001001101
+11000000000000001100101001001110
+00100000001000000100101000010010
+00100000001000000100101000010100
+00100000001000000100101000010010
+01101000000000001000110001101011
+11000000100000100100100110000100
+01101000000000001000110001110100
+11000000100000000100100110000100
+01101000000000001000110001110101
+11000000100000000100100110000100
+01101000000000001000110001110001
+11000000100000000100100110000100
+01101000000000001000110001110011
+11000000100000000100100110000100
+01101000000000001000110001101110
+11000000000000000100101001011110
+11000000000000001100101001100110
+11000000000000010100101001100111
+00100000001000000100100110000100
+01101000000000001000110001110000
+11000000100000001100100110000100
+01101000000100001000101000000000
+01111001001111111111111000000111
+01100000000100001000101000000000
+01110000000011010011100100000000
+01110000000011010011101000000001
+00100000001000000100100110001000
+00100000001000000100100110000100
+01101000000000001000110001110000
+11000000100000000100100110000100
+01101000000000001000110001110010
+11000000010000001100101001110010
+11000000010000010100101001110101
+11000000010000011100101001110111
+00011111111000010111111001111111
+11000000000000000100101001110000
+00100000001000000100100110000100
+01110000000011010011101100000000
+00100000001000000100100110001000
+01110000000011010011110000000000
+01110000000011010101001100000001
+00100000001000000100100110001000
+01110000000011010011110100000000
+00100000001000000100101001110011
+01110000000011010011111000000000
+00100000001000000100101001110011
+01101000000000001000110001110100
+11000000100000000100100110000100
+01101000000000001000110001110101
+11000000100000000100100110000100
+01101000000000001000110001101110
+11000000000000000100101010000010
+11000000000000001100101010001111
+11000000000000010100101010010000
+00100000001000000100100110000100
+01101000000000001000110001110000
+11000000100000001100100110000100
+01101000000100001000101000000000
+01111001001000000111111000000111
+01100000000100001000101000000000
+01110000000011010011100100000001
+01110000000011010011011000000011
+01110000000011010100001100000000
+00100000010000000100100110001000
+00100000010000000111111100010101
+01011000000000000001001110001000
+11011000111000000000000000001111
+00100000001000000111111100001000
+00100000001000000100100110000100
+01101000000000001000110001110000
+11000000100000000100100110000100
+01101000000000001000110001110001
+11000000100000000100100110000100
+01101000000000001000110001110010
+11000000010000001100101010011101
+11000000010000010100101010011111
+11000000010000011100101010100001
+00011111111000010111111001111111
+11000000000000000100101010011011
+00100000001000000100100110000100
+01110000000011010011101100000001
+00100000001000000100100110001000
+01110000000011010011110000000001
+00100000001000000100100110001000
+01110000000011010011110100000001
+00100000001000000100100110001000
+01110000000011010011111000000001
+00100000001000000100100110001000
+01101000000000001000110001101110
+11000000100000000100100110000100
+01101000000000001000110001110010
+11000000100000000100100110000100
+01101000000000001000110001110011
+11000000100000000100100110000100
+01101000000000001000110001110100
+11000000100000000100100110000100
+01101000000000001000110001110101
+11000000100000000100100110000100
+01101000000000001000110001110001
+11000000100000000100100110000100
+01101000000000001000110001110000
+00011111111000010111111010000000
+11000000100000000100100110000100
+01101000000000001000110001110000
+11000000100000000100101010111010
+01110000000011000110101100000010
+01101000000000001000110001110000
+01100000000100001000101000000100
+00100000010000000100100110001000
+01110000000011010100100000000001
+00100000011000000000000000000000
+01110000000011000110101100000011
+00100000001000000100101010110101
+01101000000000001000110001101011
+11000000000000010100100110000100
+01101000000000001000110001101110
+11000000100000000100100110000100
+01101000000000001000110001110010
+11000000100000000100100110000100
+01101000000000001000110001110011
+11000000100000000100100110000100
+01101000000000001000110001110100
+11000000100000000100100110000100
+01101000000000001000110001110101
+11000000100000000100100110000100
+01101000000000001000110001110001
+11000000100000000100100110000100
+01101000000000001000110001110000
+00011111111001100111110000000001
+00100100001000010100100110000100
+01101000000000001000110001101011
+11000000000000011100101011010001
+11000000000000100100101011010001
+00100000001000000100100110000100
+01101000000000001000110001110000
+11000000000000000100101011010101
+01110000000011000110101100000100
+00100000001000000100100110001000
+01110000000011000110101100000011
+00100000001000000100100110001000
+01101000000000001000110001101011
+11000000100000100100100110000100
+01101000000000001000110001101110
+11000000100000001100100110000100
+01101000000000001000110001110000
+11000000100000000100100110000100
+01101000000000001000110001110001
+11000000100000000100100110000100
+01101000000000001000110001110100
+11000000100000000100100110000100
+01101000000000001000110001110101
+11000000100000000100100110000100
+01101000000000001000110001110010
+11000000100000000100100110000100
+01101000000000001000110001110011
+11000000100000000100100110000100
+00100000001000000100100110001000
+01110000000011010100110000000001
+01101000000000001000110001110001
+01100000000000001000110101001101
+01101000000000001000110001110010
+00011111111001100111110000000001
+00100000010000101100101011110101
+01101000000000001000110100110110
+11000000100000100100100110001000
+01110000000011010011011000000010
+00100000010000000100100110001000
+00100000000000000111010100110000
+00100000000000000111010100110000
+00100000011000000000000000000000
+01110000000011010100010100000001
+01110000000011010011101000000000
+01110000000011010011011000000100
+00100000011000000000000000000000
+01110000000011010101000000000001
+00100000010000000100101100000011
+01101000000000010000110001110000
+01100000000000010000110101001110
+01101000000000001000110001110100
+10011000000000000111001000000000
+11011000110000000000110001110110
+11011000101000000000110010110110
+00100000010000000111111100000001
+00100000001000000100100110001000
+01101000000000010000110001110000
+11011000010000000000001000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101000000000010000110001110010
+11011000010000000000000000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101000000000010000110001110100
+11011000010000000000000000000001
+10011000010001100111110000000000
+00100100011000101000000000000000
+01110000000011010100001100000001
+00100000011000000000000000000000
+01101000000000001000110001110100
+11000000100000000100100110000100
+01101000000000001000110001110000
+11000000000000000100101100010111
+11000000000000001100101100011010
+00100000001000000100100110000100
+01110000000011010100101000000000
+01110000000011010100100100000001
+00100000001000000100100110001000
+01110000000011010100010000000001
+01110000000011010100101000000001
+01110000000011010100100100000000
+00100000001000000100100110001000
+11101010001000001000000000000000
+10011000000000000010010000000000
+00011010001000001010001000000001
+01000100111111010100000000011111
+11000101100100011100101100101100
+00011010010000001111111000000001
+00011111111000111111111000000000
+01100000000100001000101000011000
+01110000100010100001100000000011
+01101000000000001000110001110100
+00011111111000001111111111111110
+00011111111000110111111000000000
+01100000000000001000110001110100
+11000000000000000100101100110101
+01101000000000010000110001110100
+10011010010001100111110000000000
+00100000001000010100101100110000
+00011111111000100010010000000000
+00011010001000100111111000000000
+01100000000000010000101101100101
+00011010010000100111111000000000
+01100000000000001000101101100111
+00100000001000000100101100110111
+11011000111000000000000000000000
+00100000001000000100101101010111
+01000100111111011100000000011111
+01101000000000001000101101100111
+00100000011110100000000000000000
+00011111111000100111001000000000
+00011111111001100111110001000000
+00100000001000010100101100111110
+11011111001000000000000001000000
+01101000000000001000101101100111
+10011111001001100111111000000000
+01100000000000001000101101100111
+01101000000000010000101101100101
+00011111111000100000110000000000
+11101000110000001000000000000000
+01100000000100001000101000011000
+11000101100100011100101101000111
+01110000100010100001100000000000
+11000010000000000100101101000011
+00011000110000100111111000000000
+01100000000000010000101101100101
+11011000111000000000000000000000
+00100000010000000100101101010111
+01101000000000001000101101100111
+00100100011110100000000000000000
+01101000000000001000110100110110
+11000001100000001000000000000000
+01110000000011010011011000000010
+00100000011000000000000000000000
+11011010001000001000101000011001
+11011000111000000000000000000001
+11101000110000001000000000000000
+11100010001000001000000000000000
+11000010000000000100101101010100
+01011000000000000000000000000000
+11111001001000000111111000000000
+01100000000100001000101000010000
+01101000000010001000110100110111
+10011000010000011111111000000000
+01100000000000001000110100110111
+00100000011000000000000000000000
+11011000111000000000000000000010
+11011010001000001000101000011010
+00100000001000000100101101010100
+01000100111111100100000000011111
+01101000000000001000110100111000
+00100000011110100000000000000000
+01101000000000001000110100110111
+00100100001110100100101110101100
+01101000000000001000110101000101
+00100000001110100100101110000110
+01101000000000001000110100110110
+11000000000000011100101110111111
+11000000100000010100101110000110
+01101000000000001000110100111010
+00100100001110100100101110000110
+00100000010000000100101101101111
+00100000001000000100101101111010
+01101000000000001000110100111000
+11000100000000001000000000000000
+01101000000000001000110100110111
+11000011100000001000000000000000
+01101000000000001000110100111000
+01111001001111111111111000000001
+01100000000000001000110100111000
+01101000000000001000110101010001
+00100000011110100000000000000000
+11000000000010000100101110101000
+00100000001000000010101010001100
+01101000000000001000110100111000
+11000100000000010000000000000000
+01101000000000001000110100110111
+11000011100000010000000000000000
+01101000000000001000110100111000
+01111001001111111111111000000010
+01100000000000001000110100111000
+01101000000000001000110101010010
+00100000011110100000000000000000
+11000000000100000100101110001001
+11000000000100001100101110100100
+00100000001000000010101010001100
+11011000101000000000110101010100
+11011111001000000000000000000110
+00100000001000000111111011000110
+01101000000000001000110101001100
+01101000000010001000110101001011
+10011000010000010111111000000000
+00100000001110100100101110100000
+01101000000010001000110101001010
+10011000010000001111111000000000
+11000000000000001100101110010001
+00100000001000000100101110100000
+01110000000011010101001000000000
+01101000000000001000110101010101
+11000000000000010100101110100001
+11000000000000011100101110100001
+01101000000000001000110101010101
+01100000000000001000110101010100
+01101000000000001000110101010110
+11100000101000001000000000000000
+01101000000000001000110101011000
+11100000101000001000000000000000
+01101000000000001000110101011010
+11100000101000001000000000000000
+11011111001000000000000000000100
+11011000110000000000110101010100
+00100000001000000100101101011110
+01110000000011010101001000000000
+11011111001000000000000000001000
+11011000110000000000110101010100
+00100000001000000100101101011110
+01110000000011010101001000000000
+11011111001000000000000000000011
+11011000110000000000110101110100
+00100000001000000100101101011110
+01110000000011010101000100000000
+11011111001000000000000000001000
+11011000110000000000110101100100
+00100000001000000100101101010010
+01101000000000001000110100110110
+11000000000000011100101110110000
+11000000000000010100101110110010
+00100000011000000000000000000000
+01110000000011010011011100000000
+00100000011000000000000000000000
+01101000000100001000101000000000
+01111001001000000111111000000111
+01100000000100001000101000000000
+01110000000011010100011100000001
+00100000011000000000000000000000
+01101000000000001000110100110110
+11000001000000011000000000000000
+11000000000000010100101110111011
+00100000011000000000000000000000
+01101000000000001000110101000111
+00100000011110100000000000000000
+01110000000011010100011000000001
+00100000001000000100101111000010
+11011000111000000000000000001111
+00100000010000000111111100010110
+00100100011110100000000000000000
+01101000000100001000101000000000
+11000100000000111000000000000000
+01110000100010100000000011111100
+00100000000000000111010100110000
+01110000100010100000000000111100
+00100000011000000000000000000000
+01000100111111101100000000011111
+01101000000000001100000111001110
+00100100011110100000000000000000
+00100000010000000100101111001110
+00100100010101000100101111100110
+00100000011000000000000000000000
+01000100111111110100000000011111
+00011000011000100010001000000000
+11011000010000000000000000000100
+11101000011000001000000000000000
+11000000000000001100101111011000
+00011000010000001000010000000001
+11000000000000010100101111011000
+00011000011000100111111000000000
+01100000000100010000000001011000
+00100000011000000000000000000000
+01101000000100010000000100010010
+10011000010001100111110000000000
+00100100001000010100101111011000
+01111000010101000111110000000000
+00011010001000100000011000000000
+00100000010000000100101111101110
+10011000010000001000010000000000
+01101000000100010000000100010010
+10011000010001100111110000000000
+00100100001000010100101111011111
+00011010001000100000011000000000
+11101000011000001000000000000000
+11000000000000001100110000111111
+00100000001000000010101010001100
+01000100111111111100000000011111
+01101000000100010000000001011000
+10011000000000000000011000000000
+00100000010000000100101111101110
+10011000011000001000011000000000
+00011000011000100111111000000000
+01100000000100010000000001011000
+00100000011000000000000000000000
+11101000011000001000000000000000
+00011000011000001000011000000010
+11000000000000010100101111110011
+11101000011000001000000000000000
+00100000011000000000000000000000
+11101000011000010000000000000000
+00100000011000000000000000000000
+01101000000100010000000001011110
+00011001010000001001010111111011
+10011001010000001001010000000000
+00100000011000000000000000000000
+11011000010000000000000000000100
+00100000001000000100101111111100
+11011000010000000000000000000010
+01000111000000000100000000100000
+00011111001000001111001000000001
+01101000000100010000000001011110
+00011111111000100001010000000000
+00011111001000100111111000000000
+11100001010010001000000000000000
+00011111111000001111111111111111
+10011001010000001001010000000000
+00011001010000100111111000000000
+01100000000000010000001001011000
+00011000010000100111111000000000
+11000001000000010000000000000000
+01101000000000010000001001011000
+01100000000100010000000001011110
+00100000001000000100110000001011
+01011000000000000000000000000000
+01100000000000010000001001011000
+00100000011000000000000000000000
+00100000011101011000000000000000
+01011000000000000100110100101000
+01100000000000010100000111110011
+01011000000000000000000110100000
+01100000000000010100001001000011
+01011000000000000001100000000000
+01100000000100010000000001010100
+01011000000000000001101111111111
+01100000000100010000000001010110
+01011000000000000001110000000000
+01100000000100010000000001011010
+00100000010000000100110000101000
+01110000100000000110001000000000
+01011000000000000001110000000000
+01100000000100010000000001011110
+01100000000100010000000001100000
+01011000000000000001100000000000
+01100000000100010000000001011000
+01100000000000010000001001000100
+01101000000100010000000001010000
+01111001001111111111111000001111
+01100000000100010000000001010000
+00100000010000000110011011001110
+01110000100000000100001100000001
+01110000100000000110001010000001
+00100000011000000000000000000000
+01011000000000000001111111111111
+01100000000100010000000001011100
+01101000000100001000000010000001
+00011111111000011111111000000111
+01100000000100001000000010000001
+00100000011000000000000000000000
+01000111000000001100000000100000
+01101000000100001000000100001100
+10011000000000000010010000000000
+11000011000000011100110000110111
+01101000000100010000000100010010
+10011000000000000010011000000000
+11011000010000000000010001001111
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101000000100010000000001011000
+10011000000000000000011000000000
+00100000001000000100101111001000
+01101000000110001000000100001100
+00101000010011111111111000000110
+00100000001000001100110000111010
+01100000000100001000000000010101
+00100000011000000000000000000000
+01000111000000010100000000100000
+01101000000000001100000111001110
+00100000001110100100110001000100
+01111000001101000111110000000000
+00100000011000000000000000000000
+11101000011000010000000000000000
+10011000000000000110000000000000
+10011000000000000000111000000000
+11101000011000001000000000000000
+10011000000000000000010000000000
+00011110000010110111111000000000
+00011111111011001111111000000000
+11000000000111111100110001001101
+00100000011000000000000000000000
+01000111000000011100000000100000
+00011000111000100111111000000000
+11000000000000000100110011011100
+11000000000000001100110001100110
+11000000000000010100110001101011
+11000000000000011100110001111010
+11000000000000100100110010110011
+11000000000000101100110011011100
+11000000000000110100110011000110
+11000000000000111100110001011100
+11000000000010000100110011001001
+11000000000010001100110011010001
+11000000000010010100110010100101
+11000000000010011100110010000101
+00100000001000000100110011011100
+00100000010000000100110011011100
+00100000010000000111111110011110
+00100000010000000110100010001100
+00100000010000000011001111010010
+00100000010000000011001111011001
+00100000001000000110100010001111
+01110000010000100100010100000000
+00100000010000000011001111010000
+00100000010000000100110000010011
+00100000001000000011001111011011
+00100000010000000100110011110010
+01101000000100010000000000000000
+11100001010000010000000000000000
+00011000000000000111001000000110
+00100000001000000100110011011101
+11101000011000010000000000000000
+01100000000000010100001001000011
+01100000000100010000000001010010
+00100000011000000000000000000000
+11101000011000001000000000000000
+00011111111000100000010000000000
+01100000000100001000000000100100
+11101000011000001000000000000000
+10011000010000001000010000000000
+01111001001000000111111000000111
+01100000000100001000000000100011
+11101000011000001000000000000000
+10011000010000001000010000000000
+00011111111000100111001000000000
+00100000011000000000000000000000
+11000101000101011100110011000100
+00100000010000000100110001101111
+11101000011000001000000000000000
+01100000000100001000000000100101
+10011000010000001000010000000000
+11000010000000000100110001111100
+00011000010000010000010011111111
+11101000011000001000000000000000
+10011000010001100111110000000000
+00100100001000101100110011000100
+00100000001000000100110011011100
+11000101100101011100110011000100
+00100000010000000100110001101111
+01100000000001000000101010011010
+00100000010000000111010000100010
+11011111001000000000000000010000
+11011000101000000000101011000010
+00100000010000000100110010100000
+01100000000011000000101010100010
+11011000101000000000101011010010
+00100000010000000111010010010111
+11011010001000000000101011010010
+11011010010000000000101011000010
+11011000101000000000101011100010
+00100000010000000111001101010010
+11011111001000000000000000010000
+11011000110000000000101011100010
+00100000010000000100110010011100
+01101000000011000000101010100010
+01101000000001000000101010011010
+00011111111000001111111111110000
+01100000000001000000101010011010
+00100100001110100100110010001000
+00100000001000000100110010000000
+11101000110000001000000000000000
+01100000000100001000000000100101
+11000010000000000100110010011100
+00100000011000000000000000000000
+11101000011000001000000000000000
+11100000101000001000000000000000
+10011000010000001000010000000000
+11000010000000000100110010100000
+00100000011000000000000000000000
+11000101100101011100110011000100
+11011000010000000000000000000000
+11011111001000000000000000010000
+11011000101000000000101011000010
+00100000010000000100110010100000
+01101000000100001000000010000101
+00011111111000010111111011111101
+01100000000100001000000010000101
+11011000110000000000101011000010
+11011111001000000000000000010000
+00100000010000000111010001111000
+00100000010000000111010000101000
+00100000010000000111010010010001
+00100000001000000100110010000000
+11011111001000000000000000100000
+11011000101000000100000000000000
+11011000010000000000000000000000
+11101000011000001000000000000000
+11100000101000001000000000000000
+10011000010000001000010000000000
+11000010000000000100110010110110
+00011000010000010000010011111111
+11101000011000001000000000000000
+10011000010001100111110000000000
+00100100001000101100110011000100
+01110000100000000010001100000000
+00100000010000000100110011011100
+00100000010000000100101111100110
+00100000010000000110010010100011
+00100000010000000111111110011110
+00100000001000000010000000000001
+01110000100000000010001100000000
+00100000001000000010000000000000
+11101000011000110000000000000000
+01100000000000110100000010100000
+00100000001000000100110011011100
+11101000011000001000000000000000
+01100000000000001000001001011010
+00011111111000100111001000000000
+11101000011000010000000000000000
+01100000000000010000001001011011
+00011111111000100000101000000000
+00100000010000000110011011111101
+00100000001000000100110011011100
+11101000011000001000000000000000
+01100000000000001000001001011010
+00011111111000100111001000000000
+11101000011000010000000000000000
+01100000000000010000001001011011
+11011000101000000001000000000000
+00100000010000000110011011111101
+01101000000010001000001001011010
+11011010001000000001000000000000
+01101000000000010000001001011011
+00100000001000000110011000001000
+00011000000000000111001000000100
+00100000010000000100110011110100
+00011000000000000111111000000001
+11100001010000001000000000000000
+00011110000000100111111000000000
+11100001010000011000000000000000
+00011000000000000000111000001110
+01000111000000100100000000100000
+00100000010000000100110011110110
+00011000111000100111111000000000
+11100001010000001000000000000000
+00011111001000100111111000000000
+11100001010000001000000000000000
+00011000000000000000111000000101
+00011111001000001111001000000010
+00100000001000000100101111111001
+00011000000000000000111011111111
+00100000010000000100110011110100
+01011000000000000000000000000001
+11100001010000001000000000000000
+00011000000000000111001000000001
+00100000001000000100110011100011
+00011000000000000001010000001100
+00100000001000000100110011110111
+00011000000000000001010000001000
+00100000001000000100110011110111
+00011000000000000001010000000110
+00100000001000000100101111110101
+01111000001001111111110000000000
+01111000001001001111110000000000
+11101001010000001000000000000000
+00001000000000001000000000001000
+11000010000000000100110011111010
+01111000001001000111110000000000
+00001000000000001000000000010000
+01111000010001000111110000000000
+01111000010001001111110000000000
+01111000010001111111110000000000
+00011111111100001111111000000000
+00100000011000000000000000000000
+01110000010000011100111000000000
+00100000011000000000000000000000
+01101000000000110100000111010000
+01101000000010110000000001000000
+10011000010001100111110000000000
+00100000011000000000000000000000
+01101000000000001000000001001011
+11000010100000010100110100001111
+00100000010000000110001011101111
+01110000000000000111110000001000
+00100000001000000100110100000100
+01111001001111111111111000000010
+01100000000000001000000001001011
+00100000010000000110000000000001
+01011000000000000000000000000000
+01111001001101001111111000000001
+01100000000000001000000001111111
+00100000001000000100110100000100
+00100000011000000000000000000000
+01110000000000000111110000010111
+11011000101000000000010011011001
+01011000000000000000000000000000
+00101101000011111111111000011011
+01111001001000001111111000000001
+11100000101000001000000000000000
+01011000000000000000000000000000
+11100000101000010000000000000000
+01101000000000010100000111100011
+11100000101000010000000000000000
+01101000000000001100000111100101
+11100000101000010000000000000000
+01101000000000001100000111100111
+11100000101000010000000000000000
+00100000001000000100110100000100
+01110000000000000111110000011000
+00100000001000000100110100000100
+00100000010000000110100010011001
+00100000011000001000000000000000
+11011000010000000000000000000111
+00100000010000000110100000011101
+00100100001000001100110100101111
+01110000010000100100010100000001
+00100000011000000000000000000000
+01101000000000001100001001000101
+11000001100000001000000000000000
+00100000010000000100110001100010
+00100000001000000100110011101100
+01000111000000101100000000100000
+01101000000000010000001001100100
+00011111111000100000110000000000
+11101000110000001000000000000000
+00011111111000010000010000001111
+00011111111100011111111000000000
+11000000000001001100110101010011
+11000000000000111100110101010011
+11000000000001010100110101011111
+11000000000000101100110101001011
+11000000000000001100110100111111
+00100000011000000000000000000000
+00011000010000100111111000000000
+11000000000000101100110101000011
+11000000000000011100110101001010
+00100000011000000000000000000000
+01110000000010101001100100100111
+00100000010000000111110110000110
+01101000000000001100000010010010
+11000100000000110000000000000000
+00011000010000100111111000000000
+11000000000000101100001110001110
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000010000000100110101011111
+11011010001000000000000000000001
+00100000010000000100110101100011
+01101000000000010100001001001100
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+11011010001000000000000000000001
+00100000010000000100110101100011
+01101000000000010100001001001100
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+01110000000010101000111000000001
+01101000000000001100001001010010
+01111001001000000111111000000110
+01100000000000001100001001010010
+01110000000010101001100100010010
+00100000001000000111110110000110
+11101000110000001000000000000000
+11000000000000001100110101100010
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000010000000101001001000000
+00011010001000100000010000000000
+01100000000010001000101010001110
+00011111111000100000101000000000
+00011010001000100111111000000000
+11100000101000010000000000000000
+00100000011000000000000000000000
+00100000001101011100110101101111
+01011000000000000100001101100101
+11011000101000000100001001000110
+10011000101001100111001000000000
+00100000010000000111111011010100
+01000111000000110100000000100000
+01011000000000000000010101010001
+11011000101000000000010100010001
+10011000101001100111001000000000
+00100000010000000111111011010100
+01011000000000000000001011001001
+11011000101000000000001001011101
+10011000101001100111001000000000
+00100000010000000111111011010100
+00100000001000000101001100011000
+01000111000000111100000000100000
+00011000110000100000010000000000
+00011000010000100000110000000000
+11101000110000010000000000000000
+01100000000000010000001001100110
+11101000110000010000000000000000
+01100000000000010000001001101000
+00011000110000100111111000000000
+01100000000000010000001001100100
+01101000000000001100011010000001
+11000000000000000100110110000101
+00100000001000000101000011101111
+01101000000000010000001001100110
+00100000001110100100110111111100
+01000111000001000100000000100001
+01101000000000001000001001101000
+11000000000000001100110110011101
+11000000001010000100110111100000
+11000000001010001100110111110101
+11000000001010010100110111110011
+11000000001010011100110111110011
+00100000001000000100110111111100
+01000111000001001100000000100001
+00100000010000000101001001111110
+01101000000000001100001001010110
+11000000000000000100110110011011
+11000000000000001100110110011011
+11000000000000010100110110011011
+11000000000000011100110110011011
+11000000010000001100110110011011
+11000000011000000100110110011011
+11000000010000000100110110011011
+11000000001000000100110110011011
+00100000011000000000000000000000
+01011000000000000000000000000000
+00100000011000000000000000000000
+00100000010000000100110110001111
+00100100011110100000000000000000
+00100000010000000101001010111000
+00100000010000000100111000000001
+01101000000010010000001001101111
+00100000001110100100110111111011
+00100000010000000101001011000001
+01101000000000010000001001101111
+11100000101000010000000000000000
+00011000000000000111111000000001
+11100000101000010000000000000000
+00100000001000000100110111111100
+01101000000000001100001101100100
+00100000011110100000000000000000
+00011111111000100010001000000000
+01000111000001010100000000100001
+01101000000000100000001011010101
+11011000010000000000000100000000
+10011000010000001000010000000000
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+01110000010000110110010000000000
+00011010001000100111111000000000
+11000000001010000100110110110111
+00100000001000000010101010001100
+11011001000000000000000000000000
+00100000010000000101001010111000
+00100000010000000100111001111010
+00100000010000000101001011000011
+00100000010000000111111010101000
+00100000010000000100111010101101
+00100000010000000101001011000001
+01011000000000000000000000001100
+11100000101000010000000000000000
+00011000000000000111111000000001
+11100000101000010000000000000000
+00100000001000000100110111111100
+01000111000001011100000000100001
+01101000000000010000001001110101
+00011111111000001111111000000100
+00011111111100011111111000000000
+00011111111010010111111000000000
+00011111111000001000010000000001
+11011000110000000100001001100000
+11101000110000011000000000000000
+00100000011110100000000000000000
+01100000000000011000101011000010
+01101000000000001000101011000010
+00011111111000100010001000000000
+00100000010000000100110111010011
+00011010010000100111111000000000
+01100000000000001100001001100000
+00100000011000000000000000000000
+11011000111000000000000000000000
+11011010010000000000000000000000
+00011000111001100111110000000111
+00100100011000010000000000000000
+10101010001011111111111111111111
+00100000001000001100110111011010
+00100000001000000100110111011110
+00011000010000100111111000000000
+00100000001110100100110111011110
+11111001001000000010010000000000
+00011000010000001000010111111111
+00011000111000001000111000000001
+00100000001000000100110111010101
+00100000010000000101001001110100
+00100100011110100000000000000000
+00100000010000000100110110001111
+00100100011110100000000000000000
+00100000010000000101001011000101
+00100000010000000110111000010001
+00100000010000000100110111000011
+00100000001000000100110111101100
+00100000010000000101001001110100
+00100100011110100000000000000000
+00100000010000000101001011000101
+00100000010000000110111000010001
+00100000010000000101001011001110
+01101000000000010000001001110101
+00100000001110100100110111111011
+11100000101000010000000000000000
+01101000000000010100001001001000
+11100000101000010000000000000000
+00100000001000000100110111111100
+00100000010000000100110100110011
+00100000001000000100110111111100
+01000111000001100100000000100001
+01110000000000101000010000000000
+00100000010000000110101010001010
+01101000000000001000001010000100
+11000001000000001000000000000000
+00100000001000000100110111111100
+00100000010000000101001001100100
+01011000000000000000000000000000
+01100000000000010000001001100110
+01100000000000010000001001101000
+01110000000000100110101000000001
+00100000011000000000000000000000
+01000111000001101100000000100001
+00100000010000000101001011000011
+00011000000000000010010000000000
+01101000000000010000001001100110
+00011111111000100010011000000000
+01101000000000010000001001100100
+10011000000000000000110000000000
+00100000010000000100111000010000
+00011010011000100111111000000000
+00011010011000001010011111111100
+00011111111000001111111111111100
+00100100001110100100111000001000
+00011010010000100111111000000000
+01100000000000010000001001101111
+00100000011000000000000000000000
+01000111000001110100000000100001
+11101000110000001000000000000000
+11000000000000001100111001001001
+11000000000000010100111001010001
+11000000000000011100111011010101
+11000000000000100100111100000101
+11000000000000101100111110100010
+11000000000000110100111111001011
+11000000000000111101000000011011
+11000000000001000101000001010000
+11000000000001001101000001100000
+11000000000001010100111000011111
+11000000000001011101000001100001
+00100000010000000101000001100010
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+01011000000000000000000000001011
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+11101000110000010000000000000000
+11000000000000010100111000101101
+11000000000000011100111000110011
+00100000011000000000000000000000
+01011000000000100000000000001000
+11100000101000110000000000000000
+01011000000000000000001010000000
+11100000101000100000000000000000
+00011000000000000111111000001100
+00100000001000000100111000111000
+01011000000000110000000000001100
+11100000101000110000000000000000
+01011000000000000000000000000110
+11100000101001000000000000000000
+00011000000000000111111000010000
+10011010010000001010010000000000
+00100000001000000100111000011110
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+11101000110000010000000000000000
+01100000000000010000101010100010
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000010000000101001011000011
+01011000000000000000000000001011
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+01101000000000010000101010100010
+00100000001000000100111000101010
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+10011000110000001000110000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000001000000100111000011110
+00100000010000000111111010101000
+00100000010000000111111010101101
+11011001000000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+11101000110000010000000000000000
+00011111111000100000010000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+01000111000001111100000000100001
+00011000010000100111111000000000
+11000000000000001100111001100100
+11000000000000011100111010000110
+11000000000010001100111010010010
+11000000000010011100111010011101
+00100000010000000101000001100010
+00100000001000000100111011010100
+00100000010000000111111010101000
+11011000010000000000000001010000
+01101000000000010100001001001000
+00100100001110100100111011001110
+00011001011000100111111000000000
+01100000000000010100001001001000
+00011100010000100111111000000000
+01100000000000100000001011010101
+00100000010000000100111001101110
+00100000001000000100111010101001
+01100000000010010000001011010011
+00011001011000100111111000000000
+01100000000000010000001011001001
+00011010001000100111111000000000
+01100000000000010000001011001011
+00011010010000100111111000000000
+01100000000000010000001011001101
+00011010011000100111111000000000
+01100000000000010000001011001111
+00011000111000100111111000000000
+01100000000000010000001011010001
+00100000011000000000000000000000
+01101000000010010000001011010011
+01101000000000010000001011001001
+00011111111000100001011000000000
+01101000000000010000001011001011
+00011111111000100010001000000000
+01101000000000010000001011001101
+00011111111000100010010000000000
+01101000000000010000001011001111
+00011111111000100010011000000000
+01101000000000010000001011010001
+00011111111000100000111000000000
+00100000011000000000000000000000
+00100000010000000111111010101000
+01011000000000000000000001010001
+11011000010000000000000001010001
+01101000000000010100001001001010
+00100100001110100100111011001110
+00011001011000100111111000000000
+01100000000000010100001001001010
+01101000000000001100001001010001
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100000000000001100001001010001
+00100000001000000100111010110001
+00100000010000000111111010101000
+11011000010000000000000001010010
+01101000000000010100001001001100
+00100100001110100100111011001110
+00011001011000100111111000000000
+01100000000000010100001001001100
+01101000000000001100001001010010
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100000000000001100001001010010
+00100000001000000100111010110001
+00100000010000000111111010101000
+00011011010000100111111000000000
+11011000010000000000000001010011
+01101000000000010100001001001110
+00100100001110100100111011001110
+00011001011000100111111000000000
+01100000000000010100001001001110
+01101000000000001100001001010011
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100000000000001100001001010011
+00100000001000000100111010110001
+01011000000000000000000000000001
+01100000000000010000001001111101
+01110000010000110110010001010000
+00100000001000000100111010110011
+01101000000000001100001001010000
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100000000000001100001001010000
+01011000000000000000000000000000
+01100000000000010000001001111101
+01000111000010000100000000100010
+00100000010000000111111010101101
+01011000000000000000000000000011
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000000001000
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000010000000000000000
+00011001011000100111111000000000
+11100000101000010000000000000000
+01101000000000010000001001111101
+11000000000000001100111011001001
+00101001000011000000000000000000
+00100000001000001100111011000100
+01011000000000000000000000000100
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+01011000000000000000000000001100
+00100000001000000100111011010000
+11100000101000010000000000000000
+00011000000000000111111000000010
+11100000101000010000000000000000
+01011000000000000000000000001100
+00100000001000000100111011010000
+01111001001000000001000000000000
+00100000001000000100111010110001
+10011010010000001010010000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000001000000100111011010100
+00100000001000000100111000011110
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+11101000110000010000000000000000
+00011111111000100000010000000000
+01000111000010001100000000100010
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101100111011101101
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101100111011110011
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101100111011111111
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101100111011111001
+00100000011000000000000000000000
+00011001011000100111111000000000
+01100000000000010100001001001000
+01101000000000001100001001010000
+01111001001000000111111000000001
+01100000000000001100001001010000
+00100000001000000100111000011110
+00011001011000100111111000000000
+01100000000000010100001001001010
+01101000000000001100001001010001
+01111001001000000111111000000001
+01100000000000001100001001010001
+00100000011000000000000000000000
+00011001011000100111111000000000
+01100000000000010100001001001100
+01101000000000001100001001010011
+01111001001000000111111000000001
+01100000000000001100001001010011
+00100000011000000000000000000000
+00011001011000100111111000000000
+01100000000000010100001001001110
+01101000000000001100001001010010
+01111001001000000111111000000001
+01100000000000001100001001010010
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100000010000000000
+00011000010000100010001000000000
+01000111000010010100000000100010
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101100111100011100
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101100111100111010
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101100111100100110
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101100111100110000
+00100000001000000101000001100010
+00011000101000100001011000000000
+01101000000000001100001001010000
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001001010000
+00011001011000100000101000000000
+11011001011000000000000001010000
+01101000000000010100001001001000
+00011111111000100000010000000000
+00100000001000000100111101000011
+00011000101000100001011000000000
+01101000000000001100001001010010
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001001010010
+00011001011000100000101000000000
+11011001011000000000000001010010
+01101000000000010100001001001100
+00011111111000100000010000000000
+00100000001000000100111101000011
+00011000101000100001011000000000
+01101000000000001100001001010011
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001001010011
+00011001011000100000101000000000
+11011001011000000000000001010011
+01101000000000010100001001001110
+00011111111000100000010000000000
+00100000001000000100111101000011
+00011000101000100001011000000000
+01101000000000001100001001010001
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001001010001
+00011001011000100000101000000000
+11011001011000000000000001010001
+01101000000000010100001001001010
+00011111111000100000010000000000
+01000111000010011100000000100010
+01011000000000000000000000000101
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000000000110
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000001010
+10011010010000001010010000000000
+01100000000010010000001010000010
+00011000111000100111111000000000
+01100000000000001000001010000001
+00011000000000000111111001010000
+10101001011000011111111000000000
+00100000001000001100111101011001
+00011111111000001111111000000001
+00100000011000000000000000000000
+01111000010101000111110000000000
+11000011100000010000000000000000
+11000100000000000000000000000000
+11000100000000001000000000000000
+01111001001000000111111000000010
+00011000110000100000101000000000
+00011000101000001000101111111111
+11100000101000001000000000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101000000000001100001001010000
+00100000010000000100111101011010
+00100100001101000100111101101011
+01110000000000101000000001010000
+01101000000000010100001001001000
+01100000000000010000001010000010
+00100000001000000100111101111111
+01101000000000001100001001010001
+00100000010000000100111101011010
+00100100001101000100111101110010
+01110000000000101000000001010001
+01101000000000010100001001001010
+01100000000000010000001010000010
+00100000001000000100111101111111
+01101000000000001100001001010010
+00100000010000000100111101011010
+00100100001101000100111101111001
+01110000000000101000000001010010
+01101000000000010100001001001100
+01100000000000010000001010000010
+00100000001000000100111101111111
+01101000000000001100001001010011
+00100000010000000100111101011010
+00100100011101000000000000000000
+01110000000000101000000001010011
+01101000000000010100001001001110
+01100000000000010000001010000010
+01000111000010100100000000100010
+00100000010000000101001000111010
+00100000010000000101001010111000
+00011000000000000010010000000000
+00100000010000000101001011000011
+00011000000000000111111000000100
+11100000101000001000000000000000
+01101000000000001100001001010101
+11100000101000001000000000000000
+01011000000000000000000000001000
+11100000101000010000000000000000
+01101000000000010000001010000010
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000010000000000000000
+00011000000000000111111000000001
+11100000101000001000000000000000
+00011000000000000111111000000010
+11100000101000001000000000000000
+01101000000000001000001010000000
+11000000001010001100111110010111
+01011000000000000000000000110000
+11100000101000010000000000000000
+00100000001000000100111110011001
+01011000000000000000001111100011
+11100000101000010000000000000000
+11011000010000000000000000001100
+01100000000010010000001001101111
+00100000010000000101001011000001
+01101000000000010000001001101111
+11100000101000010000000000000000
+00011000000000000111111000000001
+11100000101000010000000000000000
+01110000000000101000000000000000
+00100000001000000100111000011110
+00011000110000001000110000000001
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+01000111000010101100000000100010
+01011000000000000000000001010000
+10011010001001100111110000000000
+00100000001000101100111110111010
+01011000000000000000000001010001
+10011010001001100111110000000000
+00100000001000101100111110111110
+01011000000000000000000001010010
+10011010001001100111110000000000
+00100000001000101100111111000010
+01011000000000000000000001010011
+10011010001001100111110000000000
+00100000001000101100111111000110
+00011000110000001000110000000010
+11101000110000010000000000000000
+10011000000000000111110000000000
+00100000001000000100111000011110
+01101000000000001100001001010000
+01111001001000000111111000000101
+01100000000000001100001001010000
+00100000001000000100111000011110
+01101000000000001100001001010001
+01111001001000000111111000000101
+01100000000000001100001001010001
+00100000001000000100111000011110
+01101000000000001100001001010010
+01111001001000000111111000000101
+01100000000000001100001001010010
+00100000001000000100111000011110
+01101000000000001100001001010011
+01111001001000000111111000000101
+01100000000000001100001001010011
+01110000000010101001100100000110
+00100000001000000111110110000110
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+00011010001000100000010000000000
+00100000010000000111111010101000
+01000111000010110100000000100010
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101100111111110010
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101000000000010
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101100111111100110
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101100111111101100
+00100000010000000101000001100010
+00100000001000000101000000010111
+00011001011000100000010000000000
+01101000000000010100001001001100
+10011000010001100111110000000000
+00100000001000101100111111111000
+00100000010000000101000001100010
+00100000001000000101000000010111
+00011001011000100000010000000000
+01101000000000010100001001001110
+10011000010001100111110000000000
+00100000001000101100111111111010
+00100000010000000101000001100010
+00100000001000000101000000010111
+00011001011000100000010000000000
+01101000000000010100001001001000
+10011000010001100111110000000000
+00100000001000101100111111111110
+00100000010000000101000001100010
+00100000001000000101000000010111
+00100000010000000101000001111001
+00100000001000000101000000001010
+00100000010000000101000001111111
+01101000000000010100001001001100
+00100000001110100101000000001010
+00100000001000000101000000001010
+00100000010000000101000001110100
+01101000000000001000001010001000
+00100100001110100101000000001010
+00100000001000000101000000001010
+00011001011000100000010000000000
+01101000000000010100001001001010
+10011000010001100111110000000000
+00100000001000101101000000001000
+00100000010000000101000001100010
+00100000001000000101000000010111
+00100000010000000101000001101111
+00100000001000000101000000001010
+00100000010000000111111010101101
+01011000000000000000000000000111
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000000000100
+11100000101000010000000000000000
+00011010001000100111111000000000
+11100000101000010000000000000000
+00011001011000100111111000000000
+11100000101000010000000000000000
+00011000000000000111111000001000
+00100000001000000101000000011001
+00100000010000000111111010101101
+00100000001000000101000000011001
+10011010010000001010010000000000
+00100000001000000100111000011110
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+11101000110000010000000000000000
+00011111111000100000010000000000
+00100000010000000111111010101000
+01000111000010111100000000100010
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101000000110101
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101000000111011
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101101000001000001
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101101000001000111
+00100000010000000101000001100010
+00100000001000000101000001001111
+00011000010000100010001000000000
+00011001011000100000010000000000
+01101000000000010100001001001000
+10011000010001100111110000000000
+00100000010000101101000001110100
+00100000001000000101000001001101
+00011000010000100010001000000000
+00011001011000100000010000000000
+01101000000000010100001001001010
+10011000010001100111110000000000
+00100000010000101101000001101111
+00100000001000000101000001001101
+00011000010000100010001000000000
+00011001011000100000010000000000
+01101000000000010100001001001100
+10011000010001100111110000000000
+00100000010000101101000001111001
+00100000001000000101000001001101
+00011000010000100010001000000000
+00011001011000100000010000000000
+01101000000000010100001001001110
+10011000010001100111110000000000
+00100000010000101101000001111111
+00100000001000000101000001001101
+00100000010000000111111010101101
+00100000001000000100111000011110
+00100000001000000100111000011110
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+10011000110000001000110000000000
+01011000000000000000000000001001
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000100
+10011010010000001010010000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000001000000100111000011110
+00100000001000000100111000011110
+00100000001000000100111000011110
+00011000000000000010010000000000
+00100000010000000101001011000011
+01011000000000000000000000000001
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000000000010
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000010000000000000000
+00011010010000001010010000000110
+11011010011000000000000000000100
+00100000001000000100111000011110
+01011000000000000000000000000000
+01100000000000010000001001111011
+01100000000000010100001001001010
+01110000010000100101000100000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000010000001001110101
+01100000000000010100001001001000
+01110000010000100101000000000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000010100001001001100
+01110000010000100101001000000000
+01101000000000001100001001010011
+11000000000000000101000010000101
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000010100001001001110
+01110000010000100101001100000000
+01101000000000001100001001010010
+11000000000000000101000010000101
+00100000011000000000000000000000
+01110000000010101001100100000111
+00100000001000000111110110000110
+01101000000000001000001001111111
+01111001001111111111111000000000
+01100000000000001000001001111111
+01101000000000010100001001001110
+00100000011110100000000000000000
+00100000010000000101001010111000
+01101000000000010100001001001110
+00011111111000100010001000000000
+00011000000000000010010001010011
+00100000001000000101000010011010
+01101000000000001000001001111111
+01111001001111111111111000000111
+01100000000000001000001001111111
+01101000000000010100001001001100
+00100000011110100000000000000000
+00100000010000000101001010111000
+01101000000000010100001001001100
+00011111111000100010001000000000
+00011000000000000010010001010010
+00100000010000000101001000111010
+00100000010000000101001011000011
+00011000000000000111111000000110
+11100000101000001000000000000000
+01101000000000001100001001010101
+11100000101000001000000000000000
+01011000000000000000000000000100
+11100000101000010000000000000000
+00011010001000100111111000000000
+11100000101000010000000000000000
+00011010010000100111111000000000
+11100000101000010000000000000000
+00011000000000000000010000001000
+00100000001000000101000011011110
+01000111000011000100000000100011
+00100000010000000101001000111010
+00100000010000000101001011000011
+01011000000000000000000000000010
+11100000101000001000000000000000
+01101000000000001100001001010101
+11100000101000001000000000000000
+01011000000000000000000000000100
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000010000000000000000
+00011001011000100111111000000000
+11100000101000010000000000000000
+11011000010000000000000000001000
+00100000001000000101000011011110
+01000111000011001100000000100011
+00100000010000000101001000111010
+00100000010000000101001011000011
+01011000000000000000000000000100
+11100000101000001000000000000000
+01101000000000001100001001010101
+11100000101000001000000000000000
+01011000000000000000000000001000
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000010000000000000000
+01011000000000000000000000000001
+11100000101000001000000000000000
+01011000000000000000000000000010
+11100000101000001000000000000000
+01011000000000000000001111100011
+11100000101000010000000000000000
+11011000010000000000000000001100
+00100000001000000101000011011110
+01000111000011010100000000100011
+00100000010000000101001000111010
+00100000010000000101001011000011
+01011000000000000000000000000110
+11100000101000001000000000000000
+01101000000000001100001001010101
+00011111111000001111111000000001
+00011000101000100010001000000000
+01100000000000001100001001010101
+00011010001000100000101000000000
+11100000101000001000000000000000
+01011000000000000000000000000100
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000010000000000000000
+00011001011000100111111000000000
+11100000101000010000000000000000
+11011000010000000000000000001000
+01100000000010010000001001101111
+00011000010000100111111000000000
+00100000001110100101001001100100
+00100000010000000101001011000001
+01101000000000010000001001101111
+11100000101000010000000000000000
+00011000000000000111111000000001
+11100000101000010000000000000000
+00100000011000000000000000000000
+01101000000000010000001001110101
+00100000001110100010101010001100
+00100000010000000101001011001110
+01101000000000010000001001110101
+11100000101000010000000000000000
+01101000000000010100001001001000
+11100000101000010000000000000000
+00100000011000000000000000000000
+01101000000000010000001001100110
+00100000001110100100110111111100
+01000111000011011100000000100011
+01101000000000001000001001101000
+11000000000000001101000011111001
+11000000001010000100110111101000
+11000000001010001100110111110101
+11000000001010010100110111110011
+11000000001010011100110111110011
+00100000001000000100110111111100
+01000111000011100100000000100011
+00100000010000000101001010111000
+00011000000000000010010000000000
+00100000010000000101001011000011
+00011111111000100000101000000000
+01101000000000010000001001100110
+00011111111000100010011000000000
+01101000000000010000001001100100
+10011000000000000000110000000000
+00100000010000000101000100001000
+00011010011000001010011111111100
+00100100001000101101000100000010
+00011010010000100000010000000000
+00100000010000000101000011011110
+00100000001000000100110111111100
+11101000110000001000000000000000
+11000000000000010101000100010011
+11000000000000001101000100010110
+11000000000000011101000100100000
+11000000000000101101000101011100
+11000000000000100101000110001110
+11000000000000111101001000010011
+11000000000000110101000111100001
+11000000000001000101000001010000
+11000000000001010100111000111010
+00100000001000000101001000101110
+00100000010000000111111010101000
+00100000010000000111111010101101
+00100000001000000100111001010001
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000001000000000000000
+00011010001000001010001111111111
+00100100001000101101000100011100
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+11101000110000010000000000000000
+00011111111000100000010000000000
+11101000110000010000000000000000
+00011111111001100111110000000000
+00100000001000101101000100110010
+11000000000000010101000100101110
+11000000000000100101000100101110
+00100000001000000101000100110000
+01110000000010101001100100010110
+00100000010000000111110110000110
+11101000110000010000000000000000
+00100000001000000101000101011001
+00100000010000000111111010101000
+01000111000011101100000000100011
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101000101000001
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101000101000111
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101101000101010011
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101101000101001101
+00100000001000000101000101011001
+00011001011000100111111000000000
+01100000000000010100001001001000
+01101000000000001100001001010000
+01111001001000000111111000000001
+01100000000000001100001001010000
+00100000001000000101000101011000
+00011001011000100111111000000000
+01100000000000010100001001001010
+01101000000000001100001001010001
+01111001001000000111111000000001
+01100000000000001100001001010001
+00100000001000000101000101011000
+00011001011000100111111000000000
+01100000000000010100001001001100
+01101000000000001100001001010010
+01111001001000000111111000000001
+01100000000000001100001001010010
+00100000001000000101000101011000
+00011001011000100111111000000000
+01100000000000010100001001001110
+01101000000000001100001001010011
+01111001001000000111111000000001
+01100000000000001100001001010011
+00100000010000000111111010101101
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+11101000110000010000000000000000
+11101000110000010000000000000000
+00100100001110100101000110001000
+00100000010000000111111010101000
+00011001011000100000010000000000
+01000111000011110100000000100011
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101000101110110
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101000101111010
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101101000101111110
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101101000110000010
+01101000000000001100001001010000
+01111001001000000111111000000101
+01100000000000001100001001010000
+00100000011000000000000000000000
+01101000000000001100001001010001
+01111001001000000111111000000101
+01100000000000001100001001010001
+00100000011000000000000000000000
+01101000000000001100001001010010
+01111001001000000111111000000101
+01100000000000001100001001010010
+00100000011000000000000000000000
+01101000000000001100001001010011
+01111001001000000111111000000101
+01100000000000001100001001010011
+01110000000010101001100100000110
+00100000001000000111110110000110
+00100000010000000111111010101101
+00011010001000001010001111111010
+00100000001000101101000110001101
+00011000110000001000110000000001
+00011010001000001010001111111111
+00100000001000000101000110001001
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011000110000001000110000000010
+00011111111000100000010000000000
+01011000000000000000000000000101
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+00011010001000001010001000000010
+00011010001000100111111000000000
+11100000101000010000000000000000
+00100000010000000111111010101000
+01000111000011111100000000100011
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101000110101101
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101000110111110
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101101000111000100
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101101000111001010
+00100000001000000101000111001111
+01101000000000001100001001010000
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001001010000
+11000010100000010101000110111011
+01101000000010001000001001111111
+01111001001000000000010000000110
+01100000000010001000001001111111
+00011000111000100111111000000000
+00011111111000001111111000000001
+01100000000000001000001010000001
+01101000000000001100001001010000
+01111001001000000111111000000010
+01100000000000001100001001010000
+01101000000000010100001001001000
+01100000000000010000001010000010
+00100000001000000101000111001111
+01101000000000001100001001010001
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001001010001
+01101000000000010100001001001010
+00100000001000000101000111001111
+01101000000000001100001001010010
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001001010010
+01101000000000010100001001001100
+00100000001000000101000111001111
+01101000000000001100001001010011
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001001010011
+01101000000000010100001001001110
+00011111111000100001011000000000
+00100000010000000111111010101101
+00011001011000100111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000001010
+10011010010000001010010000000000
+00011010001000001010001111111010
+00100000001000101101000111100000
+11101000110000001000000000000000
+11100000101000001000000000000000
+00011010010000001010010000000001
+00011010001000001010001111111111
+00100000001000000101000111011010
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+00100000010000000111111010101000
+01000111000100000100000000100100
+01011000000000000000000001010000
+00011010001000100000010000000000
+10011000010001100111110000000000
+00100000001000101101000111111010
+01011000000000000000000001010010
+00011010001000100000010000000000
+10011000010001100111110000000000
+00100000001000101101000111111111
+01011000000000000000000001010011
+00011010001000100000010000000000
+10011000010001100111110000000000
+00100000001000101101001000000001
+00100000001000000101001000000011
+01011000000000000000000000000000
+01100000000000010000001001110101
+01100000000000010100001001001000
+01100000000000001100001001010000
+00100000001000000101001000000101
+00100000010000000101000001111001
+00100000001000000101001000000101
+00100000010000000101000001111111
+00100000001000000101001000000101
+01011000000000000000000000000000
+01100000000000010000001001111011
+00100000010000000111111010101101
+01011000000000000000000000000111
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000000000100
+11100000101000010000000000000000
+00011010001000100111111000000000
+11100000101000010000000000000000
+00011001011000100111111000000000
+11100000101000010000000000000000
+00011000000000000111111000001000
+10011010010000001010010000000000
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+11101000110000010000000000000000
+00011111111000100000010000000000
+00100000010000000111111010101000
+01000111000100001100000000100100
+01101000000000001100001001010101
+10101000111000011111111000000000
+00100100001000001101001000101010
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101001000100111
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101001000101010
+00100000001000000101001000101010
+01110000010000100100100000000000
+01110000010000100101000000000000
+00100000001000000101001000101010
+00100000010000000111111010101101
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000011000000000000000000000
+01011000000000000000000000000001
+11100000101000001000000000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+01011000000000000000000000000010
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000010000000000000000
+01011000000000000000000000000110
+10011010010000001010010000000000
+00011000000000000010011000000100
+00100000011000000000000000000000
+01101000000000001100001001010101
+00011111111000001111111000000001
+11000000100000000101001000111110
+00011111111000001111111000000001
+01100000000000001100001001010101
+00100000011000000000000000000000
+01000111000100010100000000100100
+11011010010000000000000000000000
+00100000010000000101001001101110
+00100100001110100010101010001100
+00100000010000000101001001111110
+11011010010000000001100000000000
+11011000111000000000000000000000
+01101000000010001100001001010110
+10101000010011111111111111111111
+00100000001000001101001001001111
+00100000010000000101001010100000
+00011001011001100111110000000000
+00100000001000010101001001001111
+00100000010000000101001010001000
+00100000001000000101001001010101
+00011010010000001010010010000000
+00011000111000001000111000000001
+01011000000000000000000000001000
+10011000111001100111110000000000
+00100000001000010101001001000111
+11011010010000000000000000000000
+00011010010000100111111000000000
+00100000001110100010101010001100
+00100000011000000000000000000000
+01000111000100011100000000100100
+00100000010000000101001001110111
+00011000110000001000110000000001
+11101000110000010000000000000000
+00100000011000000000000000000000
+01000111000100100100000000100100
+00100000010000000101001001110111
+00011000110000100000101000000000
+00011000110000100000010000000000
+01011000000000000000000000000000
+11100000101000011000000000000000
+00100000011000000000000000000000
+01000111000100101100000000100100
+00100000010000000101001001110100
+00100000001110100010101010001100
+01101000000000011100001001011101
+01100000000000011100001001100000
+01101000000000011100001001011010
+01100000000000011100001001011101
+01101000000000011100001001010111
+01100000000000011100001001011010
+00100000011000000000000000000000
+01000111000100110100000000100100
+01101000000000011100001001010111
+00100000011000000000000000000000
+01000111000100111100000000100100
+01101000000000011100001001011010
+00100000011000000000000000000000
+01000111000101000100000000100101
+01101000000000011100001001100000
+00100000011000000000000000000000
+00100000010000000101001001110100
+00100000001110100010101010001100
+11011000110000000100001001010111
+11101000110000011000000000000000
+00100000001110100101001001111010
+00011000110000001000110111111101
+00100000011000000000000000000000
+01000111000101001100000000100101
+11011111001000000000000000000100
+11011000110000000100001001010111
+11011000010000000000000000000000
+11101000110000011000000000000000
+00011111111000010111111011111111
+10011000010000011000010000000000
+11000010000000000101001010000010
+01100000000010001100001001010110
+00100000011000000000000000000000
+01000111000101010100000000100101
+00100000010000000101001001101110
+00100100001110100010101010001100
+00100000010000000101001001110100
+00100000001110100101001010010101
+01101000000000011100001001011010
+01100000000000011100001001010111
+11101000110000011000000000000000
+11100000101000011000000000000000
+11101000110000011000000000000000
+11100000101000011000000000000000
+01011000000000000000000000000000
+11100000101000011000000000000000
+11011000010000000000000000000000
+00011001011000100111111000000000
+10011000111000001111111000000000
+11111001001000000000010000000000
+00011000111000001000111000000001
+10011000111001100111110000000000
+00100100001000101101001010011000
+00011010010011010111111000000000
+10011000010000011111111000000000
+01100000000000011100001001100000
+00100000011000000000000000000000
+01000111000101011100000000100101
+00100000010000000101001001111110
+00011000111000100010011000000000
+11011000010000000000000000000000
+11011001011000000000000000000000
+00011000111000100111111000000000
+11000000000001000101001010110000
+01101000000000001100001001010110
+10101111111011111111111111111111
+00100000001000001101001010110000
+00011000010000001000010010000000
+00011000111000001000111000000001
+00011010001000100111111000000000
+10011000010001100111110000000000
+00100000001000101101001010110000
+00100000001000010101001010100101
+00011000010000100111111000000000
+10011010001001100111110000000000
+00100100001000010101001010110110
+00011000111000100111111000000000
+00011010011000100000010000000000
+10011000010001100001011000000000
+00011010011000100000111000000000
+00100000011000000000000000000000
+01000111000101100100000000100101
+11011010001000000000000001111111
+00100000010000000101001001000000
+01100000000000010000001001101011
+00011111111000001111111000000100
+01100000000000010000001001101101
+01011000000000000000000000000000
+01100000000000010000001001101111
+00100000011000000000000000000000
+01101000000000010000001001101011
+00100000001000000101001011100010
+01101000000000010000001001101101
+00100000001000000101001011100010
+01000111000101101100000000100101
+11011010001000000000000011111010
+00100000010000000101001001000000
+01100000000000010000001001110001
+00011111111000001111111000000100
+01100000000000010000001001110011
+01011000000000000000000000000000
+01100000000000010000001001110101
+00100000011000000000000000000000
+01101000000000010000001001110001
+00100000001000000101001011100010
+01101000000000010000001001110011
+00100000001000000101001011100010
+01000111000101110100000000100101
+00100000010000000111111001111100
+01110000000000101000010000000001
+00100000010000000101001001101110
+00100100011110100000000000000000
+11011010001000000000000001111111
+00100000010000000101001001000000
+01100000000000010000001001110111
+00011111111000001111111000000100
+01100000000000010000001001111001
+01011000000000000000000000000000
+01100000000000010000001001111011
+01110000000000101000010000000000
+00100000001000000111111010001100
+01101000000000010000001001110111
+00100000001000000101001011100010
+00100000001110100010101010001100
+00011111111000100000101000000000
+00100000011000000000000000000000
+01000111000101111100000000100101
+11011010010000000000000000000000
+11011010001000000100001001010111
+00011010001000001010001111111110
+00011010001000001010001000000010
+01011000000000000100001001100011
+10011010001001100111110000000000
+00100000001000101101001011110101
+11101010001000001000000000000000
+00011010001000001010001000000001
+00100000001110100101001011101001
+11101010001010010000000000000000
+11101000010000010000000000000000
+10011010010000001010010000000000
+00011010010000001010010000000100
+00100000001000000101001011101001
+00011010010000100111111000000000
+00100000011000000000000000000000
+11011000111000000000000000001100
+00100000001000000010110000110010
+11011000111000000000000000001100
+00100000001000000010110000110110
+01000111000110000100000000100110
+00100000010000000101001001111110
+01101000000000001100001001010110
+00100000011110100000000000000000
+00100000010000000101001011100101
+11011000010000000000000100000000
+10011000010001100111110000000000
+00100000001000010101001011110111
+00100000010000000101001011111001
+11011000101000000100001001100011
+11011010001000000100001001010111
+01011000000000000100001001100011
+10011010001001100111110000000000
+00100000011000101000000000000000
+11101010001000001000000000000000
+00011010001000001010001000000001
+00100100001110100101001100001111
+11100000101000010000000000000000
+00011010001000001010001000000010
+00100000001000000101001100000110
+11101010001000010000000000000000
+00011010001000001010001000000010
+00011111111000100000110000000000
+11101000110000010000000000000000
+11100000101000010000000000000000
+00011111111000100111001000000000
+00011111001000001111001000000010
+00100000010000000111111100000001
+00100000001000000101001100000110
+01000111000110001100000000100110
+00100000010000000101001001111110
+01101000000000001100001001010110
+00100000011110100000000000000000
+11011010001000000100001001011000
+00011010001000001010001111111101
+11011000110000000100001001100011
+00011010001000001010001000000011
+01011000000000000100001001100100
+10011010001001100111110000000000
+00100000011000101000000000000000
+11101000110000010000000000000000
+00100000001110100101001100011111
+00011111111000001111111000000100
+00011111111000100111001000000000
+00011000110000100010010000000000
+11101010001000010000000000000000
+00011111111000100000101000000000
+00011010010000100000110000000000
+00011000110000001000110111111110
+00100000010000000111111100000001
+00100000001000000101001100011111
+01000111000110010100000000100110
+01111000010101011111110000000000
+01110000000001000101010100000001
+01110000000001000011111100000011
+01110000000001000101011000000001
+01011111111111111111111111111111
+01100000000000010000010001011001
+00011000000000000111111000000000
+01100000000000001000010001010111
+01100000000000001000010001100010
+01100000000000011100000101101001
+01100000000000011100000101101100
+01100000000000101100010000000011
+01111001001000000111111000100111
+01100000000000101100010000001000
+01110000010000111101110000000001
+01110000010000111101110100000000
+00100000001000000101011011101101
+01000111000110011100000000100110
+01111000001101001111110000000000
+01110000000001000100000000000011
+01110000000001000111100000000001
+01110000010001000101101000000001
+01011000000000001111111111111111
+01100000000000010100010001011100
+00011000000000000111111000000000
+01100000000000101100010000001000
+01111001001000000111111000100111
+01100000000000101100010000000011
+00100000001000000101001100101110
+01000111000110100100000000100110
+01111000010101001111110000000000
+01011000000000000000000000010111
+01100000000000010100010010101000
+01110000000001000100000000000001
+01110000010000110110111000000000
+01110000000000001010000000000000
+01110000010001001100010000000000
+01110000010001001100010100000000
+01101000000000010000010001101101
+01100000000000010100010010111010
+01101000000000010000010001000001
+00011111111011111111111000000101
+00011111111100011111111000000000
+01100000000000010000010001101101
+00100000001000000101001100101110
+00100000010000000101001111000100
+00100000010000000101010111101000
+00100000010000000101011011110000
+00100000001000000101001111001110
+01000111000110101100000000100110
+00100000010000000101001111000100
+00100000010000000011001011110100
+01101000000000001000010001000000
+11000000000000011101001101100110
+00100000001000000101001101111010
+01000111000110110100000000100110
+01111000001101001111110000000000
+00100000010000000101011011100100
+00100000001000010101001101110111
+00100000010000000010110001101100
+00100000010000000101010000010011
+00100000010000000101011000011110
+01111000010101101111110000000000
+00100000010000000101010010111111
+00100100011101101000000000000000
+01000111000110111100000000100110
+01101000000000001000000000000101
+00011111111000001111111000000001
+01100000000000001000000000000101
+00100000010000000101010110101010
+01111000010101001111110000000000
+00100000011000000000000000000000
+00100000010000000101001110101001
+01111000010101001111110000000000
+00100000011000000000000000000000
+01000111000111000100000000100111
+01110000010001010000111100000000
+00100000010000000111101010101111
+00100000010000000101110000011000
+01111000010101110111110000000000
+00100000010000000101011011100100
+00100000001000010101001110101001
+00100000010000000010110001101100
+00100000010000000101010000010011
+00100000010000000101010010001001
+00100100001011000101001110011011
+00100000010000000101001110110111
+00100000001101101101001110001000
+00100000001000000101001110010101
+01000111000111001100000000100111
+01101000000000001100010100001111
+00011111111000001111111000000001
+01100000000000001100010100001111
+11000000000001100101001110010101
+00100000010000000101010110101010
+00100000010000000101011000011110
+00100000010000000101010011000111
+00100000010000000101011001111110
+01101000000000010100000111111011
+00100000010000000111111110011100
+00100000010000000101001110100000
+00100000001101000101001110100100
+01000111000111010100000000100111
+00100000010000000101101111100100
+00100000010000000101101111011011
+00100000010000000111110110011100
+01101000000000001000010001100010
+11000010100000011101001110101001
+01000111000111011100000000100111
+00100000010000000101011111110100
+00100000010000000101010110011101
+00100000010000000101010101110101
+00100000001000000010100001000001
+01111000010101000111110000000000
+11000101000101010111111111100111
+11000101000101001111111111100111
+00100000011000000000000000000000
+01000111000111100100000000100111
+01111000001101110111110000000000
+00100000010000000101010011000001
+00100000001101101101001110001000
+00100000001000000101001110010101
+01000111000111101100000000100111
+00100000010000000101001110101111
+00100000010000000011001110110100
+00100000010000000111101001110111
+01110000000010101001100100010101
+00100000001000000111110110000110
+01011000000000000000000000000000
+01100000000001001100010011111111
+01110000000001000101010100000000
+01110000000001000100000000000000
+01110000000001000011111100000000
+01110000010001001100010100000000
+01110000010001001100010000000000
+00100000011000000000000000000000
+01000111000111110100000000100111
+01101000000000001000000000000101
+00011111111000001111111000000001
+01100000000000001000000000000101
+01101000000000001000010000111111
+11000011100000011000000000000000
+01111001001000000111111000000011
+01100000000000001000010000111111
+01101000000000010100010010111010
+01100000000000010000010001101101
+01011000000000000000000000000000
+01100000000000100100010011100101
+00100000011000000000000000000000
+01000111000111111100000000100111
+01110000100010010000111100110110
+01110000100010010000101101011111
+01111000001110110111110000000000
+01110000100010010001010000000111
+00100000010000000010110001101100
+01101000000000001100000111100000
+00100000011110100000000000000000
+01110000100010010000101010111000
+00100000011000000000000000000000
+01000111001000000100000000101000
+01110000100010010000111100101110
+01110000100010010000101111111111
+01111000010110110111110000000000
+01110000100010010001010000000011
+11011011011000000000000000000000
+00100000011000000000000000000000
+01111000010001001111110000000000
+01111000010000111111110000000000
+01101000000000011000010001100111
+10011000000000000001111000000000
+01101000000000001000000000010110
+00011111111011011000010000000000
+01111001001000000000010000000001
+00011000010000110001110000000000
+00100000011000000000000000000000
+00100000010000000101001111100110
+00100000010000000010100100011111
+01011000000000000000010100000000
+00100000010000000010101010001111
+00100000001000000010100100100100
+00100000001101101010100100111001
+00100000010000000101001111100110
+00100000001000000010100100110011
+01000111001000001100000000101000
+00100000010000000010100100011000
+01101000000000001000010010001100
+00100100001110100101001111111001
+01101000000000001000000000010110
+00011111111001100111110000100100
+00100000001000010101001111110011
+00011000000000000000010000000000
+11000001000100101000000000000000
+00011000000000000000010000011000
+11000001000100110000000000000000
+00011000000000000000010001001110
+00100000011000000000000000000000
+00011111111001100111110000001010
+00100000001000010101001111110110
+00011111111000001111111000000001
+00011111111000111111111000000000
+00011111111000001000010000000010
+00100000011000000000000000000000
+01101000000000001000000000010110
+00011111111000111000010000000000
+00100000011000000000000000000000
+11011000010000000000000111110100
+00100000011110100000000000000000
+11011000010000000000000011111010
+11000001000000001000000000000000
+11011000010000000000000010010110
+11000001000000010000000000000000
+11011000010000000000000001100100
+11000001000000011000000000000000
+11011000010000000000000001001011
+11000001000000100000000000000000
+11011000010000000000000000110010
+11000001000000101000000000000000
+11011000010000000000000000101000
+11000001000000110000000000000000
+11011000010000000000000000010100
+00100000011000000000000000000000
+01011000100011101000100110111110
+00011111111011010111111000000000
+00011111111000011111111011010110
+10011000000000000001001000000000
+01011000010101010101010101010101
+01100000000000011000010001100111
+00100000011000000000000000000000
+01000111001000010100000000101000
+01111000001010000111110000000000
+01101000000000100000010001100011
+10011000000000000001001000000000
+00100000010000000101010001100110
+01011000000000000000001000000000
+00100000001101001101010000011100
+01101000000000010000010001001101
+00011111111000110111111000000000
+11011000010000000000010100000000
+10011000010000001111111000000000
+00100000010000000010101000100100
+00011011010000100111111000000000
+01100000000000110000010010010001
+00100000011000000000000000000000
+01000111001000011100000000101000
+01101000000000001000000000010110
+11000000000100101101010000101000
+11000000000100110101010000101110
+11000000000100111101010000110100
+00100000001000000101010000110100
+01101000000010001100010010001101
+00101000010011111111111000000001
+00100000001000001101010000111111
+00101000010011111111111000000010
+00100000001000001101010001000100
+00100000001000000101010000111010
+01101000000010001100010010001101
+00101000010011111111111000000010
+00100000001000001101010001000100
+00101000010011111111111000000000
+00100000001000001101010000111010
+00100000001000000101010000111111
+01101000000010001100010010001101
+00101000010011111111111000000000
+00100000001000001101010000111010
+00101000010011111111111000000001
+00100000001000001101010000111111
+00100000001000000101010001000100
+01110000000000000001011000100101
+01101000000000001000101011000010
+01111001001000000111111000000000
+01100000000000001000101011000010
+00100000011000000000000000000000
+01110000000000000001011000100110
+01101000000000001000101011000010
+01111001001000000111111000000001
+01100000000000001000101011000010
+00100000011000000000000000000000
+01110000000000000001011000100111
+01101000000000001000101011000010
+01111001001000000111111000000010
+01100000000000001000101011000010
+00100000011000000000000000000000
+01000111001000100100000000101000
+00011010001000001000110000000001
+11101000110000001000000000000000
+11000100000000000000000000000000
+00011010001000001000101000011010
+11101000101000010000000000000000
+00011111111000001111111000000001
+11100000101000010000000000000000
+00011010001000001000110000011001
+11101000110000001000000000000000
+00011010001000001000101000011000
+11101000101010001000000000000000
+10011000010000001111111000000000
+00011111111001100111110000100100
+00100000001000010101010001011001
+00011111111000001111111111011011
+11100000101000001000000000000000
+00100000011000000000000000000000
+01000111001000101100000000101000
+01101000000000101000010001101111
+00011000000000000000010000000000
+00011000000000000111001000100101
+11000011000000000101010001100001
+00011000010000001000010000000001
+00011111111000110111111000000000
+11000010000000000101010001011111
+00011000010000001111111111111111
+01100000000000001000010001100001
+00100000011000000000000000000000
+01000111001000110100000000101000
+01101000000000001000010001010111
+10011000000000000000111000000000
+01101000000010101000010001101111
+10101000010011111111111111111111
+00100000001000001101010001111100
+01000111001000111100000000101000
+01101000000000001000010001100001
+10011000111001100111111000000000
+00100000001000010101010001110010
+00011111111001100000111111111111
+00100000001000000101010001101100
+00011000111000100111001000000000
+00011000000000000000111000000000
+10101000010011111111111111111111
+00100000001000001101010001110111
+00011111001000001111001000000001
+00011111001000100111111000000000
+00100000001110100101010001111100
+00011000111000001000111000000001
+00011111001000001111001111111111
+00100000001000000101010001110100
+00011000111000100111111000000000
+01100000000000001000000000010110
+00100000011000000000000000000000
+00100000001101001101010010000010
+00110111110000011000001000000000
+00100000011000000000000000000000
+11011001011000000000111010100000
+00110100011100110000001000000000
+00100000011000000000000000000000
+01111000010010000111110000000000
+01101000000000010100001101101100
+00011111111000100001011000000000
+00100000001000000101010010001110
+01000111001001000100000000101001
+01111000001010000111110000000000
+01101000000000010000010001001101
+01101000000010100100010011100101
+10011000010000001001011000000000
+00100000010000000101001111011110
+01000111001001001100000000101001
+00100000010000000101001111010101
+01111000010101101111110000000000
+01111000001001101111110000000000
+01111000001100001111110000000000
+01111000010100000111110000000000
+00011001011000100011011000000000
+00110111110000011000010000000000
+00100000001101110101010010011010
+00011011010000100000010000000000
+01100000000010110000000010011010
+00100100001011000010011001001101
+00100000001101110101010010100001
+11011101001000000000000111100000
+00011100001000100101000000000000
+01101000000000001000010000111111
+11000011000000011101010010100001
+00100000010101011010101100000101
+01000111001001010100000000101001
+00100000010000000010100110111011
+01111000001000111111110000000000
+01111000001001001111110000000000
+00001001100000000000000000001000
+00011001100010010111111000000000
+01100000000000001000001011011001
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+00011111111000010111001000111111
+00100000001000101101010010110001
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+11000010000000000101010010101101
+01000111001001011100000000101001
+00001001100000000000000000011000
+01111000001010000111110000000000
+11011011011000000000011001100100
+00011111111011110111111000000000
+00011111111100010111111000000000
+11100000101000011000000000000000
+00100000001000110010011001001101
+01111000001101101111110000000000
+01101000000000001000000000010111
+00011111111000001010001000000000
+00100000010000000010100110000001
+01111000010001101111110000000000
+00100000001000000010100100011000
+01000111001001100100000000101001
+00100000010000000101010011001001
+01101000000010001000000000010111
+00100000010000000010100100011111
+00100000010000000010100100100100
+01111000001010000111110000000000
+11011001011000000001010101111100
+00100000001000000101010010001111
+00100000010000000101010011001001
+00100000001000000010011001001101
+01000111001001101100000000101001
+00100000010000000101001111010101
+00100000010000000101001111100011
+00100000001000000101010011001101
+01111001001000000010101000000000
+01111000001011101111110000000000
+01111000001100000111110000000000
+01111000010100001111110000000000
+00100000010000000101010001111111
+00011001001100010111111000000000
+00011111111011001111111000000000
+00011111111100011111111000000000
+00001000000000001000011000101000
+01111000001000111111110000000000
+01111000001001001111110000000000
+01000111001001110100000000101001
+01101000000000001100001111011100
+00001000000000001000011000001000
+11101000110000001000000000000000
+00011111111000010111001000111111
+00001000000000001000011000001000
+00100000001000101101010011100010
+11101000110000001000000000000000
+00001000000000001000011000001000
+11000010000000000101010011011111
+01111000001001000111110000000000
+00001000000000001000011000011000
+01111000010001000111110000000000
+00110111110100111000001000000000
+00100000000000000000000001100100
+01111000010011101111110000000000
+00100000011000000000000000000000
+01000111001001111100000000101001
+01101000000000001100010010000100
+11000000000000001101010011111001
+01101000000000001100010010000101
+00011111111100100111111000000000
+00011111111010111111111000000000
+01100000000000001100001111011100
+01101000000010001100001101101111
+00011000010000001111111000000110
+01100000000000001100001111011101
+01101000000000110100010010100000
+01100000000000110100001111011110
+00011000010000100111001000000000
+11011000110000000100001101110000
+00100000010000000111111011110100
+00100000001000000101010100000100
+01101000000000001100010010000110
+00011111111100100111111000000000
+00011111111010111111111000000000
+00011111111000001111111000000001
+01100000000000001100001111011100
+01011000000000000000000000001100
+01100000000000001100001111011101
+01101000000000110100010010100000
+01100000000000110100001111011110
+01101000000000110100000111010000
+11100000101000110000000000000000
+01000111001010000100000000101010
+01101000000000001000000000000000
+00011111111000001111111000000001
+01100000000000001000000000000000
+11011011011000000000011100001000
+01111000010101101111110000000000
+00100000001000000101010010111111
+01000111001010001100000000101010
+01101000000000001100010010011110
+11000001100000001000000000000000
+01101000000000001000000000000000
+00011111111000001111111000000001
+01100000000000001000000000000000
+11011000010000000000110000000011
+01101000000000001100010010011111
+01111101001110100000010000000110
+00011010001000100111111000000000
+01111101001110100000010000000111
+01100000000010010100001111011100
+01101000000000110100010010100000
+11100000101000110000000000000000
+01101000000000110000010001001111
+11100000101000110000000000000000
+00100000001000000101010010111111
+01000111001010010100000000101010
+11011000010000000000000000000100
+01101000000000001100010010000101
+01111101001110100000010000000110
+01100000000010001100001111011100
+01101000000010001100001110001111
+00011000010000001111111000000110
+01100000000000001100001111011101
+01101000000000110100010010100000
+01100000000000110100001111011110
+11011000110000000100001110010000
+00011000010000100111001000000000
+00100000010000000111111011110100
+00100000010000000101010011000111
+00100000001000000101011100000110
+01000111001010011100000000101010
+00011000000000000111111111111111
+00111000000010000000000000000001
+01100000000000101000010001101111
+00100000010000000101010001011011
+00011000000000000111001000000100
+11011000101000000000010001100011
+00100000010000000110001100001101
+01101000000000010100010010011100
+01100000000000010000010001101101
+00011000000010100111111000000000
+00011111111000010111111000001111
+00011111111001100111110000000100
+00100000001000010101010100110101
+01100000000000001000010001011000
+01100000000000001000011011100110
+01000111001010100100000000101010
+01101000000010010100001101100111
+01100000000010010000010001000001
+00011000010000100010011000000000
+00011100010000001111111000000111
+10011010011001101111110000000000
+00100000010000000111111110000110
+00011000000001110010001000000000
+10011010001001100111111000000000
+10011010011000001111111000000000
+01101000000010010100001101100101
+10011000010000001111111000000000
+01100000000000100000010001000011
+10011100010001100010001000000000
+00011010001000001010001111111010
+11011010010000000010001000000101
+01101000000000001100010010010101
+01111101001110100010010000000110
+01101000000000001100010010001110
+01111101001110100010010000000111
+00011010010000100111111000000000
+01100000000000010100001111011100
+01101000000000110100010010100000
+11100000101000110000000000000000
+01101000000000110000010001001111
+11100000101000110000000000000000
+01101000000000100000010001100011
+11100000101000100000000000000000
+00011000000010100111111000000000
+11100000101000010000000000000000
+00011000000010100111111000000000
+11100000101000001000000000000000
+00011000000000000111111000000010
+11100000101000001000000000000000
+00011010001010110111111000000000
+11100000101000010000000000000000
+00011010011010110111111000000000
+11100000101000010000000000000000
+01000111001010101100000000101010
+01011000000000000000000000000000
+11100000101000010000000000000000
+01101000000000010100010010011100
+11100000101000010000000000000000
+01101000000000101000010001101111
+11100000101000101000000000000000
+01101000000000001000010001011000
+11011000010000000000000010100000
+10011000010000011111111000000000
+11100000101000001000000000000000
+00100000010000000101010011000111
+01011000000000000100001111011100
+00011111111000001000110000010010
+11101000110000011000000000000000
+01100000000000011000010001100111
+00100000011000000000000000000000
+01000111001010110100000000101010
+01111000010101001111110000000000
+00100000001000000101010000001100
+01101000000000001000010000111111
+11000100000000101000000000000000
+01101000000000010000010001011001
+01101000000010010000010001011111
+10011000010001100111111000000000
+00100100011000010000000000000000
+01100000000000010000101010011010
+01000111001010111100000000101010
+01101000000000001000010000111111
+01111001001111111111111000000101
+01111001001111111111111000000011
+01100000000000001000010000111111
+01101000000000100000010001000011
+01101000000010010000010001000001
+01100000000010010000101010100010
+10011000010001100010001000000000
+01000111001011000100000000101011
+01101000000000001100001111010011
+01100000000000001000010001101010
+11101000110010010000000000000000
+11101000110000010000000000000000
+00011111111010111111111000000000
+01100000000000010000010001000001
+00011000010010111000010000000000
+10011000010000001111111000000000
+11101000110010100000000000000000
+01100000000010100000010001101011
+10011010001000001111111000000000
+00011111111000100010100000000000
+01101000000000010000010001000001
+01101000000010010000101010100010
+10011000010001100111111000000000
+01101000000010010000101010011010
+10011000010011111111111000000000
+10011010100000001111111000000000
+01100000000000100000010001000011
+00100000010000000101011100010011
+01101000000000010000010001101101
+01100000000000010100010010111010
+00100000011000000000000000000000
+01000111001011001100000000101011
+01101000000000001000010000111111
+11000100000000110000000000000000
+01101000000000010000010001011001
+01101000000010010000010001011111
+10011000010001100111111000000000
+00100100011000010000000000000000
+01101000000000001000010000111111
+01111001001111111111111000000110
+01100000000000001000010000111111
+01101000000000101100001111001110
+01100000000000101000010001101111
+00100000001000000101010001011011
+01000111001011010100000000101011
+00100000010000000101011011101101
+00100000010000000101010111000000
+01101000000000001000001011011001
+00101111111011111111111000000100
+01111001001000001000000000101010
+00011111111000110111111000000000
+10011000010000101111111000000000
+00101111111011111111111000000010
+01111001001000001000000000001111
+11000110000001111000000000000000
+01101000000000001000001011011010
+00100000001110100101010110111100
+01101000000000001000010000111111
+11000011000000100101010110111100
+00100000010000000111010010001101
+00100000010000000111001111111011
+00100100011110100000000000000000
+01101000000010001000010001010110
+01111001010000000000010000000010
+01100000000010001000010001010110
+00100000011000000000000000000000
+01000111001011011100000000101011
+01101000000010001000010001010110
+00101000010011000000000000000101
+00100000011000001000000000000000
+01101000000000001000001011011001
+00011111111000111111111000000000
+10011000010000101111111000000000
+11000100000000011000000000000000
+01111001001111111000010000000101
+01111001010000000000010000000011
+01100000000010001000010001010110
+00101000010000000000011000000011
+00100100011000001000000000000000
+01101000000000001100001111011110
+11000000000000101101010111010010
+01101000000000001100010011000101
+11000000000000010101010111010110
+00100000011000000000000000000000
+01101000000000001000010000111111
+01111001001000000111111000000100
+01100000000000001000010000111111
+00100000011000000000000000000000
+01000111001011100100000000101011
+01110000010001001100010100000000
+11011111111000000000000000000000
+01100000000000100100010000001101
+01100000000000101100010000000011
+01111001001000000111111000100111
+01100000000000101100010000001000
+01101000000000001000010000111111
+01111001001111111111111000000100
+01100000000000001000010000111111
+00100000011000000000000000000000
+01000111001011101100000000101011
+00100000010000000101010000100010
+00100000010000000101010010000101
+01101000000000001000000000000001
+00011111111000001111111000000001
+01100000000000001000000000000001
+00100000011000000000000000000000
+01000111001011110100000000101011
+01101000000000001100001101101001
+11000001100000001000000000000000
+11011000111000000000000000000010
+00100000010000000111111100010110
+00100100011110100000000000000000
+01101000000000010100001101101010
+01101000000010010100001101101100
+10011000010001100111111000000000
+11011000111000000000000000000010
+00100000010000000111111100001000
+01111000010101001111110000000000
+00100000010000000101010101110010
+00100000010000000101010111100001
+00100100011101101000000000000000
+01000111001011111100000000101011
+01101000000000110000001011011011
+01100000000000110000010001001111
+01101000000000001000000000000010
+00011111111000001111111000000001
+01100000000000001000000000000010
+00100000010000000101011000001000
+00100000011101001000000000000000
+00100000010000000101010100001011
+00100100011101101000000000000000
+01000111001100000100000000101100
+01101000000000001000000000000100
+00011111111000001111111000000001
+01100000000000001000000000000100
+01101000000001001000001011100001
+01100000000001001000000100000001
+00100000011000000000000000000000
+01000111001100001100000000101100
+01101000000000001000010010011011
+11000001100011011000000000000000
+01101000000000110000010001001111
+01101000000010110100010010001111
+10011000010001100111110000000000
+00100100011000101000000000000000
+00100000010000000010001000111011
+00100100011000101000000000000000
+00100000010000000101010100101011
+00100000010000000101001101000000
+01000111001100010100000000101100
+01110000010000011100111000000000
+01110000000001000111011000000000
+01110000010000110110100100000000
+01110000000001001001101100000000
+00100000001000000010001000100011
+11011010001000000000000000000001
+01101000000000001000001011011001
+11000011100000110000000000000000
+11011010001000000000000000000000
+00100000011000000000000000000000
+01000111001100011100000000101100
+01101000000000001000010001010110
+11000011100000101000000000000000
+00100000010000000101011001000010
+00100000010000000101100001110011
+00100000001110100101011001100100
+11101000110000001000000000000000
+11101000110010001000000000000000
+00011000010000100010001000000000
+10011010001001100111111000000000
+11011000010000000000000000011011
+00100000010000000111111111011101
+00011111111000100000010000000000
+11101000110000001000000000000000
+00011111111000100000001000000000
+00011010001000100111111000000000
+10011000110000001000110000000000
+11011000101000000100001111011110
+00011000010000100111001000000000
+00100000010000000111111100000001
+00100000010000000101011001010100
+00100000010000000101011001100110
+00100000010000000101100001110011
+11101000110000001000000000000000
+00011111111000100010001000000000
+00011000110000100010011000000000
+11101000110010001000000000000000
+00011000010000100010010000000000
+10011010010001100111111000000000
+11011000010000000000000000011011
+00100000010000000111111111011101
+10011010010000001111111000000000
+11100010011000001000000000000000
+10011010001001100111110000000000
+00100100011000101000000000000000
+00100000001000000101100010010110
+00100000010000000101011001001001
+11000110000101001000000000000000
+01101000000000001100010011101001
+11000011000000010101011001010010
+00100000010000000101100001110110
+00100000001110100101011001010010
+00100000001000000101011001010000
+00100000010000000101100001110011
+00100000001110100101011001010010
+11101000110000001000000000000000
+11101000110010001000000000000000
+10011000010001100111111000000000
+00011111111001100111110000011011
+00100000001000010101011001010010
+01111001001000000000000000101001
+00100000011000000000000000000000
+01111001001111111000000000101001
+00100000011000000000000000000000
+00011010001000100111111000000000
+00100000011110100000000000000000
+11011000001000000000000000000001
+00100000011000000000000000000000
+01000111001100100100000000101100
+00011000010000001000010000000001
+00100000010000000101011101101010
+00011000110000001000110111111110
+11101000110000010000000000000000
+11011000010000000010100100000010
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011000110000001000110000000001
+00011000110000100010001000000000
+11101000110000001000000000000000
+00100000011000000000000000000000
+00011000000000000000010000000000
+00011000000000000000001000000001
+01000111001100101100000000101100
+01100000000010001100001111011101
+01101000000010001000010001010110
+01111001001000000000010000000101
+00011000010000010111111011111100
+10011000001000011111111000000000
+01100000000000001000010001010110
+00011111111000010111111000011111
+00101000000011111111111000101001
+01111001001000001111111000000100
+01100000000000001100001111011100
+01101000000000001100001111011100
+00101000001000000000011000000001
+00100100001000001101011001110110
+01101000000000001100001111011101
+00100000011110100000000000000000
+01101000000000001000010000111111
+11000100000000100000000000000000
+00100000010000000111010010001101
+00100000001000000111001111100011
+11011000111000000000000000000000
+00100000001000000010110000110010
+11011000111000000000000000000000
+00100000001000000010110000110110
+01000111001100110100000000101100
+11000110000001111000000000000000
+00100000010000000101100010010000
+00100100011110100000000000000000
+01101000000000001000001011011001
+00011111111000010111111000000011
+01100000000000001100010100001100
+11101000110000001000000000000000
+00011111111000010111111000011111
+01100000000000001100010100001011
+00100000011110100000000000000000
+00011000110000100111111000000000
+01100000000000010100010100001101
+01101000000000001100010100001100
+11000000000000011101110001100100
+00100000010000000101011010011010
+00100100001101000101011001111010
+00100000010000000101011001111100
+01101000000000010100010100001101
+00011111111000100000110000000000
+11101000110000010000000000000000
+01100000000000010100010011111100
+01000111001100111100000000101100
+11101000110000010000000000000000
+11000000000000100101100010101011
+11000000000000110101101011110100
+11000000000000101101101010110110
+00100000011000000000000000000000
+01101000000000001100010100001100
+11000000000000010101011010101001
+11000000000000001101011011000001
+00100000011000000000000000000000
+00100000010000000111111111100111
+11011000010000000000000000000100
+10011111111001100111110000000000
+00100000011000101000000000000000
+11011000010000000000000000000101
+10011111111001100111110000000000
+00100000011000101000000000000000
+11011000010000000000000000000110
+10011111111001100111110000000000
+00100000011000101000000000000000
+00100000001000000111111111101001
+01101000000000010100010100001101
+00011111111000100000110000000000
+11101000110000010000000000000000
+01100000000000010100010011111100
+11101000110000010000000000000000
+00100000010000000101011010011110
+00100100011101000000000000000000
+01101000000010001100010100001011
+01100000000010001100010011111110
+01101000000000010100010011111100
+00011111111000001111111000000100
+10011000010001100111110000000000
+00100000001000101111111111100111
+01101000000000001100010100001011
+00011111111000100111001000000000
+11011000101000000000001100010001
+01101000000000010100010100001101
+00011111111000100000110000000000
+00100000010000000111111100000001
+00100000001000000111111111101001
+00100000010000000111111111100111
+01101000000000001100010011111110
+00100100011110100000000000000000
+00100000001000000111111111101001
+00100000010000000101011010111101
+00100100011101000000000000000000
+01101000000000001100010011111110
+11011000101000000000001100010001
+10011000101000001010001000000000
+01101000000010001100010100001011
+10011000010000001111111000000000
+01100000000000001100010011111110
+01101000000000001100010100001011
+00011111111000100111001000000000
+00011010001000100000101000000000
+01101000000000010100010100001101
+00011111111000100000110000000000
+00100000010000000111111011110100
+01011000000000000000001100010001
+01100000000000010100010100001101
+01101000000000010100010011111100
+00011111111000001111111000000100
+01101000000010001100010011111110
+10011000010001100111110000000000
+00100000001000101111111111100111
+00100000001000000111111111101001
+00100000010000000111111010100101
+11011000101000000100010001011110
+01101000000000010100010011111100
+00011111111000001111111111111011
+11100000101000001000000000000000
+00011111111000100111001000000000
+00100000010000000111111010011111
+00100000001000000111111011110100
+00100000010000000111111010100101
+11011000101000000100010001110001
+00100000001000000101011011011001
+01101000000000010100000111111001
+00100000001000000111111110011100
+01101000000010100000010001011011
+00100000010000000010101001111011
+10011000010001100001011000000000
+00011001011000100111111000000000
+01101000000010010000010001101101
+00011000010100100000010000000000
+00011000010000111000010000000000
+10011000010001100111111000000000
+00100000011000000000000000000000
+00100000010000000010101001111011
+01100000000000100000010001011011
+00100000011000000000000000000000
+01110000000000000001011000100100
+01110000000010101100001000000000
+01000111001101000100000000101101
+01101000000000001100001101101110
+00100000011110100000000000000000
+11011000111000000000000000000000
+00100000010000000111111100010110
+00100100011110100000000000000000
+01000111001101001100000000101101
+01111000010101001111110000000000
+01111000001010000111110000000000
+00100000010000000101010101110010
+00100000010000000101010000100010
+00100000010000000101010011101001
+00100100001101101101011100000110
+01101000000000001000000000000011
+00011111111000001111111000000001
+01100000000000001000000000000011
+01101000000000001000001011011001
+00011111111000010111111000001111
+11000000000000011101010100011100
+11000000000000101101011100101000
+01000111001101010100000000101101
+00011000000010100111111000000000
+11011000010000000000000111111111
+10011000010000010111111000000000
+00011111111000001111111011111010
+00100000010000000011110010111110
+01101000000000001000101011000010
+01101000000010001100010010001101
+10011000010001100111110000000000
+00100100001000101101011011110010
+11011000111000000000000000000000
+01101000000000010100010010000010
+00100000001000000111111100001000
+01000111001101011100000000101101
+01101000000000001000010001110110
+00100000010000000101001111111100
+01101000000000010000010001000001
+10011000010011111111111000000000
+11011000010000000000000101110111
+10011000010011111111111000000000
+11011000010000011000011010100000
+10011000010001101111110000000000
+01101000000000001000010001101010
+11011000010000000100111000100000
+10011000010011111111111000000000
+10011000010000001111111000000000
+01100000000000100100010011100101
+01000111001101100100000000101101
+01101000000000010100000011000001
+00100000010000000111111110000110
+00011000000001111000010000000000
+10011000010000001111111000000000
+01100000000000010000010001001101
+00100000011000000000000000000000
+01000111001101101100000000101101
+01101000000000110000001011100001
+01101000000010110100010010100000
+10011000010001100111110000000000
+00100100011000101000000000000000
+00100000010000000101011000011001
+00011010001000100111111000000000
+01100000000000001100010010001110
+01101000000000111000001011101110
+01100000000000111000000100000001
+11101000110001000000000000000000
+11100000101001000000000000000000
+01101000000000110000001011011011
+01100000000000110000010001001111
+00011000110000001000110000000110
+11101000110001000000000000000000
+01100000000001000000010001100011
+11101000110010010000000000000000
+01000111001101110100000000101101
+00011000010010111000010000000000
+11101000110000010000000000000000
+00011111111010111111111000000000
+01100000000000010000010001000001
+01100000000000100000010001000011
+10011000010001100111111000000000
+00011111111000001101000111111110
+11101000110001001000000000000000
+01100000000001001000010001101011
+01000111001101111100000000101101
+11101000110000001000000000000000
+00011111111100011000010000000000
+00011000010000110000010000000000
+01100000000010001000010001110110
+00011111111000010111111000011111
+01100000000000001000010001011000
+00100000010000000101011100010011
+00100000010000000101010001011011
+00100000010000000101001101001100
+00100000010000000010001000111011
+00100100011000101000000000000000
+01000111001110000100000000101110
+00100000010000000010100001000001
+00100000010000000101101011010011
+01110000000010101001100100010100
+00100000010000000111110110000110
+00100000001000000010001000100011
+01000111001110001100000000101110
+01101000000000010100010001011010
+10011000000000000010010000000000
+01101000000000010100010001011100
+10011000000000000010011000000000
+01101000000000010100010010111100
+10011000000000000000110000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+11101000110000010000000000000000
+00100000011110100000000000000000
+10011010010001100111110000000000
+00100100011000010000000000000000
+10011010011001100111110000000000
+00100000011000101000000000000000
+00100000001000010101011101101000
+00011000000000000111110000000001
+00100000011000000000000000000000
+00011000000000000111111000000000
+00100000011000000000000000000000
+00100000010000000101011101101101
+00100000001000101101011101111001
+00100000011000000000000000000000
+01000111001110010100000000101110
+01101000000000010100010010111100
+10011000000000000000110000000000
+11101000110000010000000000000000
+00100000011110100000000000000000
+10011000010001100111110000000000
+00100000011000101000000000000000
+11101000110000001000000000000000
+10011000110000001000110000000000
+11101000110000001000000000000000
+10011000110000001000110000000000
+00100000001000000101011101110000
+11101000110000001000000000000000
+10011000110000001000110000000000
+00100000011000000000000000000000
+01000111001110011100000000101110
+01101000000000010100010010111100
+10011000000000000000110000000000
+11101000110000010000000000000000
+00100000011110100000000000000000
+11101000110000001000000000000000
+10011000110000001000110000000000
+00011000110000001000110111111110
+11101000110000010000000000000000
+10011000010001100111110000000000
+00100000011000101000000000000000
+11101000110000001000000000000000
+10011000110000001000110000000000
+00100000001000000101011101111111
+01101000000000010000010010011100
+00100000001000000101011110001110
+01000111001110100100000000101110
+01101000000000010100010010111100
+10011000000000000000110000000000
+00011000010000100010001000000000
+11101000110000010000000000000000
+00100000001110100101011110011001
+10011010001001100111110000000000
+00100000001000101101011110011010
+11101000110000001000000000000000
+10011000110000001000110000000000
+11101000110000001000000000000000
+10011000110000001000110000000000
+00100000001000000101011110010000
+00100000001000000111111111101111
+11101000110000001000000000000000
+01100000000000001000010010100010
+00011111111000100111001000000000
+11011000101000000000010010100011
+00100000010000000111111011110100
+11101000110000001000000000000000
+01100000000000001000010010110011
+00100000010000000111111010100101
+00100000001000000111111111110001
+01000111001110101100000000101110
+00100000010000000101011110100110
+00100000001000000101011110111000
+11011000010000000010101000000000
+00100000010000000101011101111100
+00100000011110100000000000000000
+11101000110000001000000000000000
+00011000110000100000101000000000
+01101000000010001100001110101111
+00011000010000100111001000000000
+10011000010001100111110000000000
+00100100001000010101011110110101
+10011000010001100000010000000000
+11011000110000000100001110110000
+00100000010000000111111100000001
+00011000010000100111001000000000
+00100100010000101101011111110000
+00100000011000000000000000000000
+00011111111000100111001000000000
+11011000110000000100001110110000
+00100000001000000111111011110100
+11011010011000000100001110001111
+11011010001000000100001101110000
+00100000010000000101011111000101
+01011000000000000000000000000000
+01111001001101000111111000000000
+01100000000000001000101010011010
+11011010011000000100001110101111
+11011010001000000100001110010000
+00100000010000000101011111000101
+00100000011101000000000000000000
+01101000000000001000101010011010
+00100000001110100010101010001100
+00100000011000000000000000000000
+01000111001110110100000000101110
+00100000010000000111111111100111
+00100000010000000111111011011010
+11011010010000000000000000000000
+11011000101000000000101011000011
+00100000010000000101011111011111
+01101000000000001100001110101111
+00011111111000001000010000000001
+10011010010000001010001000000000
+00011010001000001010001000000010
+00011010001001100111110000011111
+00100100001000010101011111011101
+11100000101010001000000000000000
+11011000010000000000000000001001
+11100000101010001000000000000000
+10011000000000000111001000000000
+00100000010000000111111011110100
+00011010001000100010010000000000
+00011010010000100111111000000000
+01100000000000001000101011000010
+11011000110000000000101011000010
+01011111111111111111111111100000
+10011010011000001000101000000000
+00100000001000000111111010111101
+00100000010000000111111111101001
+00100000001000000101011111010111
+11101010001000001000000000000000
+00100000011110100000000000000000
+00011111111000001111111000000001
+11101000110010001000000000000000
+00011000010001100111110000001001
+00100000001000101101011111101110
+10011010010000001010010000000000
+00011010001000100000110000000000
+10011000000000000111001000000000
+00100000010000000111111011110100
+00011000110000100010001000000000
+00011010001000100111111000000000
+10011010011001100111110000000000
+00100000011000010000000000000000
+00100000001000000101011111011111
+10011010001000001010001000000000
+00100000001000000101011111101010
+01011000000000000000000000100000
+11100000101000001000000000000000
+11000010000000000101011111110000
+00100000011000000000000000000000
+01000111001110111100000000101110
+01111000010101011111110000000000
+00100000001101110101011111111000
+00100100001101101101100000000110
+00100000010000000010101111001011
+01101000000000010100000011000001
+01100000000000010000010001001101
+00100100001101101010101111011110
+11000101000001111010101111011110
+01101000000000001100010100001011
+00100100001110100010101111011110
+01101000000000001100001111011101
+00100100001110100010101111011110
+01101000000000001100010011101001
+11000010100000101010101111011110
+01101000000000001000010000111111
+11000010100000101010101111011110
+00100000001000000010101111000000
+01101000000010010100000011000001
+00011000010000110000010000000000
+01101000000000010000010001001101
+10011000010000001111111000000000
+01100000000000010000010001001101
+00100000001000000010101111010110
+11011000111000000000000000000000
+00100000001000000101100000100100
+11011000111000000000000000000000
+00100000001000000101100000101000
+11011000111000000000000000000001
+00100000001000000101100000100100
+11011000111000000000000000000001
+00100000001000000101100000101000
+11011000111000000000000000000010
+00100000001000000101100000100100
+11011000111000000000000000000010
+00100000001000000101100000101000
+11011000111000000000000000000011
+00100000001000000101100000100100
+11011000111000000000000000000011
+00100000001000000101100000101000
+11011000111000000000000000000100
+00100000001000000101100000100100
+11011000111000000000000000000100
+00100000001000000101100000101000
+11011000111000000000000000000101
+00100000001000000101100000100100
+11011000111000000000000000000101
+00100000001000000101100000101000
+01101000000000001100010011101001
+11111001001000000111111000000000
+01100000000000001100010011101001
+00100000011000000000000000000000
+01101000000000001100010011101001
+11111001001111111111111000000000
+01100000000000001100010011101001
+00100000011000000000000000000000
+01011000000100010010001000110011
+01100000000000011100010011101010
+01011000010001000101010101100110
+11100000101000011000000000000000
+01011000011101111000100010011001
+11100000101000011000000000000000
+01011000000000000001000100100010
+11100000101000011000000000000000
+01011000001100110100010001010101
+11100000101000011000000000000000
+01011000000000000000000001100110
+11100000101000001000000000000000
+00100000011000000000000000000000
+01011001000000000000001100000010
+01100000000000100100010001010011
+01011000000000010000000000010000
+01100000000000011100010001010111
+01110000010001001100011000000001
+00100000011000000000000000000000
+11011010001000000000000000000000
+11011000001000000000000000000001
+00100000001000000101100001010000
+11011000001000000000000000000011
+00100000010000000101100001010000
+00011010010000100111111000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+00011000000000000000001000000010
+00011010001000001010001000000100
+00100000010000000101100001010000
+00011010001000001010001111111100
+00011010001000100111111000000000
+11100000101000010000000000000000
+00011010010000100111111000000000
+11100000101000010000000000000000
+00100000011000000000000000000000
+00011010001001100111110011110000
+00100100001000010010101010001100
+01101000000000001100010011111111
+11011000010000000000000000000001
+11011111001000000000000000000100
+10011000010000010111110000000000
+00100000001000101101100001011010
+00011000010000111000010000000000
+11000010000000000101100001010101
+00100000001000000010101010001100
+10011000010000101111111000000000
+01100000000000001100010011111111
+00011111001001100111111000000100
+00011111111100100111111000000000
+00011111111100100111111000000000
+11011000010000000001100000000000
+10011000010000001000010000000000
+11011111001000000000000000000000
+11011000110000000100010100000000
+11101000110000010000000000000000
+00100000001110100101100001101001
+00011111001000100111111000000000
+00011111001000001111001000000001
+11000000100000100101100001100011
+00100000001000000010101010001100
+00011000110000001000110111111110
+11100000110010010000000000000000
+00011000010000100000101000000000
+00011010001000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+00011000001000100111111000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01101000000000010100010100000000
+00011111111000100000110000000000
+00100000011000000000000000000000
+01101000000000010100010100000010
+00011111111000100000110000000000
+00100000011000000000000000000000
+00100000010000000101100001111100
+00011111111000100000110000000000
+00100000011000000000000000000000
+01101000000000010100010100000110
+00100100011110100000000000000000
+01101000000000010100010100000100
+00100100011110100000000000000000
+01101000000000010100010100000010
+00100100011110100000000000000000
+01101000000000010100010100000000
+00100000011000000000000000000000
+00100000010000000101100001110011
+00011000110000001000110000000011
+00100000011000000000000000000000
+00100000010000000101100001110011
+00011000110000001000110000000111
+00100000011000000000000000000000
+00100000010000000101100001111001
+00011000110000001000110000000111
+00100000011000000000000000000000
+00100000010000000101100001111001
+00011000110000001000110000000011
+00100000011000000000000000000000
+01101000000000010100010100000110
+00100000011000000000000000000000
+01101000000000010100010100000100
+00100000011000000000000000000000
+01101000000000010100010100000000
+00100000011000000000000000000000
+01101000000000010100010100000000
+11011000010000000001100000000000
+10011000010001100111111000000000
+00011111111100011111111000000000
+00011111111100011000111000000000
+01101000000000001100010011111111
+11111001001111111111111000000000
+01100000000000001100010011111111
+11011111001000000000000000000000
+00011111001000111111111000000000
+11011000010000000100010100000010
+10011000010000001000010000000000
+11101000010000010000000000000000
+00011000010000001000010111111110
+11100000010000010000000000000000
+00011111001000100111111000000000
+00011111001000001111001000000001
+11000000100000011101100010011111
+01011000000000000000000000000000
+11100000010000010000000000000000
+00100000011000000000000000000000
+11101000110000011000000000000000
+01100000000000011000010001110111
+11000000000000010101100011000001
+11000000000000011101100011001001
+11000000000000100101100011001100
+11000000000000110101100011110010
+11000000000001000101100100111111
+11000000000001010101100110111100
+11000000000001100101100111100100
+11000000000010000101100111111010
+11000000000010010101101000101111
+11000000000010110101101001001000
+11000000000011000101101001011011
+11000000001010010101101001100000
+00100000011000000000000000000000
+00011000000000000010001000000011
+00100000010000000101101010000010
+01011000000000000000000000000010
+11100000101000001000000000000000
+01101000000000010100010010100110
+11100000101000010000000000000000
+00100000011000000000000000000000
+00100000010000000101100011001001
+00011000000000000010001000000011
+00100000010000000101101010000010
+01011000000000000000000000000011
+11100000101000001000000000000000
+01101000000000010100010010100110
+11100000101000010000000000000000
+00100000011000000000000000000000
+00011111111011001111111000000000
+01100000000000010100010010101000
+00100000011000000000000000000000
+00100000010000000101101010110001
+00100000010000000111111111100111
+00100000001000000101100011001111
+11011001011000000000000000000011
+00100000010000000101011101010110
+00100000010000000101011101011111
+00100000001110100101100011110000
+00100100001000010101100011101101
+00011000110000001000110111111110
+00100000010000000111111010100101
+00100000010000000111111010011100
+00100100001101000101100011100001
+00100000010000000111111010000101
+00100000010000000111111111101001
+00011000000000000010001000010100
+00100000010000000101101010000010
+00100000010000000111111010010101
+01011000000000000000000000000101
+11100000101000001000000000000000
+01011000000000000000000000000001
+11100000101000001000000000000000
+00100000010000000111111010011111
+11101000110000010000000000000000
+11100000101000010000000000000000
+11101000110000001000000000000000
+00011111111000100111001000000000
+00100000010000000111111100000001
+00100000010000000111111010100010
+00011001011000001001011111111111
+00100000001000101101100011110000
+11101000110000001000000000000000
+10011000110000001000110000000000
+00100000001000000101100011010001
+11101000110000001000000000000000
+10011000110000001000110000000000
+00100000001000000101100011101010
+00100000001101000101101001110110
+00100000001000000101101010100101
+00100000010000000101101010110001
+11101000110000010000000000000000
+01100000000000010100010001110010
+00100000010000000111111010100101
+11011000101000000100010001011110
+01101000000000010100010011111100
+00011111111000001111111111111001
+00100000010000000101011011011011
+00100000001000000101100100000101
+01111000010101000111110000000000
+01101000000010010100010001011010
+01101000000000010100010001011100
+10011000010001100111110000000000
+00100100001000010101100100000010
+00011000010000100111111000000000
+11000001100000000000000000000000
+01111000001101000111110000000000
+01110000000001000111101000000001
+00100000001000000101101001110111
+00100000010000000101100011111011
+00100000011101000000000000000000
+01101000000010010100010001110010
+01011000000000000010100000000000
+10011000010001100111110000000000
+00100000001000101101100100001100
+00100000001000000101101001110110
+01110000000001001011010000000000
+01101000000010010100010001011010
+01100000000010010000101010100010
+00100000010000000101011110001100
+00100100001110100101101001110110
+01101000000010010000101010100010
+00100000010000000101011110001100
+00100100001110100101100100100101
+00011000110000100010001000000000
+01101000000000001000010010110011
+00011111111000100111001000000000
+01101000000010001100010001011110
+10011000010001100111110000000000
+00100100001000101101100100100001
+11011010010000000100010001011111
+00100000010000000111111110001000
+00100000001000101101100100101000
+01101000000000010000010010100011
+01101000000010010100010001110010
+10011000010001100111110000000000
+00100000001000101101100100110000
+01101000000000010000101010100010
+00011111111000001111111000000001
+01100000000000010000101010100010
+00100000001000000101100100010001
+01101000000000001000010010110100
+11000000000000001101100100110000
+00100000001000000101101001110110
+01101000000000010000010010100011
+01101000000010010100010001110010
+10011000010001100111110000000000
+00100100001000101101100100100001
+01110000000001001011010000000001
+01101000000010010000101010100010
+01100000000010010000010010011110
+00100000001000000101100100100001
+01101000000000001000010010110100
+11000000000000000101100100100001
+01110000000001001011010000000010
+01101000000010010000101010100010
+00011000010000001000010111111111
+01100000000010010000010010100000
+11011010001000000000000000000101
+00100000010000000101101010000010
+01011000000000000000000000000111
+11100000101000001000000000000000
+01101000000000010000010010011110
+11100000101000010000000000000000
+01101000000000010000010010100000
+11100000101000010000000000000000
+00100000011000000000000000000000
+00100000010000000101101010110001
+00100000010000000101011011011111
+00100000001000000101100101000010
+01101000000010010100010001011010
+01100000000010010000101010100010
+00100000010000000101011101010110
+00100000010000000101011101101101
+00011000110000001000110111111110
+00011000110000100111111000000000
+01100000000000010000010010011100
+01101000000010010100010001110010
+01011000000000000010101000000000
+10011000010001100111110000000000
+00100000001000101101100110101000
+01011000000000000010100000000011
+10011000010001100111110000000000
+00100100001000101101100110010000
+11011001011000000000000000000010
+00100000010000000101101010001000
+00100100001000010101100101101101
+01101000000010010000101010100010
+00100000010000000101011110001010
+11000000000000001101100101101101
+00100000010000000101101010010100
+00100100001000101101100101101011
+00100100001101000101100101101111
+01111000010101000111110000000000
+11011010001000000000000000010100
+00100000010000000101101010000010
+01011000000000000000000000001001
+11100000101000001000000000000000
+00011000101000100110000000000000
+00011000101000001000101000000001
+00100000010000000101100101111101
+00100000010000000101101010000100
+00100000010000000101011110001010
+00100000010000000101100110000100
+01101000000000001000010010100010
+00011111111000001111111000000101
+11100110000000001000000000000000
+01101000000000001000010010100010
+11000000000010000101100101101101
+00011001011000001001011111111111
+00100000001000101101100101101101
+00100000010000000101101010000100
+00100000001000000101100101010001
+00100000001101000101101001110110
+00100000001000000101101010100101
+00100000010000000101101010010111
+00100000010000000101101010000100
+00100000010000000101011110001010
+01101000000000001000010010100010
+11000000000010000101100101101101
+00100000010000000111111010011100
+01101000000000010000101010100010
+00011111111000001111111111111111
+11100000101000010000000000000000
+00100000010000000101101010100001
+00100000010000000101100110000100
+00011001011000001001011111111111
+00100000001000101101100101101101
+00100000001000000101100101101011
+01101000000000010000101010100010
+11100000101000010000000000000000
+01101000000000001000010010110011
+00011111111000100111001000000000
+00100000010000000111111010011111
+00100000010000000111111011110100
+00100000001000000111111010100010
+00100000010000000111111010011100
+01101000000000010000101010100010
+11100000101000010000000000000000
+00100000010000000111111010100010
+01101000000000001000010010100010
+00011111111000100111001000000000
+00100000010000000111111010011100
+00100000010000000111111010011111
+10011111001001100000110000000000
+00011000110000001000110111111111
+00100000010000000111111011110100
+00100000001000000111111010100010
+01101000000010010100010001011010
+01100000000010010000101010100010
+00100000010000000101101010001000
+00100100001000010101101001110110
+00100000010000000101011110001010
+11000000000000001101101001110110
+00100000010000000101101010010100
+00100100001000101101100110100110
+11011010001000000000000000010100
+00100000010000000101101010000010
+01011000000000000000000000001001
+11100000101000001000000000000000
+01101000000000001000010010110011
+00011111111000100111001000000000
+00011111111000001111111000000010
+11100000101000001000000000000000
+01101000000000010000101010100010
+11100000101000010000000000000000
+00100000010000000111111010011111
+00100000010000000111111011110100
+00100000010000000111111010100010
+00100000001000000101101010100101
+00100000010000000101101010000100
+00100000001000000101100110010010
+11011000010000000010101000000000
+00100000010000000101011101111100
+00100000011110100000000000000000
+00011000110000001000110111111011
+11101000110000010000000000000000
+01100000000000010000101010100010
+11011010001000000000000000010100
+00100000010000000101101010000010
+01011000000000000000000000001001
+11100000101000001000000000000000
+01101000000000001100001110101111
+00011111111000100111001000000000
+00011111111000001111111000000010
+11100000101000001000000000000000
+01101000000000010000101010100010
+11100000101000010000000000000000
+11011000110000000100001110110000
+00100000010000000111111011110100
+00100000010000000111111010100010
+00100000001000000101101010100101
+01101000000010010000010001111000
+01101000000000001100010011101001
+11000010100000011101100111011101
+00100000010000000101011101101010
+00100000001110100101101001110110
+00011000110000001000110111111110
+11101000110000010000000000000000
+11011000010000000010101000000000
+10011000010001100111110000000000
+00100000001000101101100111010011
+11101000110000001000000000000000
+00011111111001100111110000010110
+00100000001000010101100111001010
+00011000000000000111111000010110
+00011111111000100010011000000000
+00100000010000000111111010100101
+00011010011000001010001000000001
+00100000010000000101101010000010
+01011000000000000000000000001011
+11100000101000001000000000000000
+00011010011000100111001000000000
+00100000010000000111111010011111
+00100000001000000111111100000001
+00100000010000000111111010100101
+01101000000000001100001110101111
+00011111111000001010001000000001
+00100000010000000101101010000010
+01011000000000000000000000001011
+11100000101000001000000000000000
+01101000000000001100001110101111
+00011111111000100111001000000000
+11011000110000000100001110110000
+00100000001000000111111100000001
+01101000000000010100010011111010
+10011000010001100111110000000000
+00100100001000101101100110111111
+00100000010000000101101001000010
+00100100001101000101100110111111
+01110000000001000111101000000101
+00100000001000000101101001110111
+11101000110000010000000000000000
+01100000000000010100010001011110
+11011010001000000000000000010100
+00100000010000000101101010000010
+01011000000000000000000000001101
+11100000101000001000000000000000
+01101000000000010100010001011110
+10011000000000000010001000000000
+01101000000010010000010001111000
+00100000010000000101011101101010
+00100000001110100101101001110110
+11101000110000001000000000000000
+10011010001001100111001000000000
+00100100001000010101101001110110
+00011111001001100111110000010110
+00100000001000010101100111110101
+00011000000000000111001000010110
+00011010001000100111111000000000
+10011000110000001000110000000000
+00100000010000000111111011110100
+00100000010000000111111010100010
+00100000001000000101101010100101
+00100000010000000101101010110001
+00100000010000000101011011010111
+00100000001000000101100111111101
+11011001011000000000000000000010
+01101000000010010100010001011010
+01100000000010010000101010100010
+00100000010000000101011101010110
+00100000010000000101011101101101
+00011000110000001000110111111110
+00011000110000100111111000000000
+01100000000000010000010010011100
+00100000010000000101101010001000
+00100100001000010101101000100101
+01101000000010010000101010100010
+00100000010000000101011110001010
+11000000000000001101101000101000
+00100000010000000101101010001100
+00100100001000101101101000100011
+00011001011000100111111000000000
+11000000000000000101101000101000
+00100100001101000101101000011001
+01111000010101000111110000000000
+11011010001000000000000000010100
+00100000010000000101101010000010
+01011000000000000000000000010001
+11100000101000001000000000000000
+01101000000000001000010010110011
+00011111111000001111111000000100
+11100000101000001000000000000000
+00100000010000000111111010100010
+00100000001000000101101000011111
+01101000000000001000010010110011
+11000000000010000101101000101000
+01101000000000010000101010100010
+00011111111000001111111111111111
+01100000000000010000010010100000
+00100000010000000101101010011100
+01101000000000010000101010100010
+01100000000000010000010010011110
+00100000010000000101101010010111
+00011001011000001001011111111111
+00100000010000000101101010000100
+00100000001000000101101000000101
+01101000000000010000101010100010
+01100000000000010000010010100000
+00100000001000000101101000101100
+01101000000000010000101010100010
+00011111111000001111111111111111
+01100000000000010000010010100000
+00100000001000000101101000101100
+00100000001101000101101001110110
+00100000010000000101101010011100
+00100000001000000101101010100101
+00011000110000100010001000000000
+01101000000000010100010011111100
+00011111111000001010010111111101
+00100000010000000101011011100010
+01101000000000001100010011101001
+11000011000000100101101000111101
+01101000000010010000010001111000
+01101000000000010100010011111010
+10011000010001100111110000000000
+00100100001000101101101000111101
+00100000010000000101101001000010
+00100100001101000101101000111101
+01110000000001000111101000000101
+00100000001000000101101001110111
+00011000000000000010001000000001
+00100000010000000101101010000010
+01011000000000000000000000010011
+11100000101000001000000000000000
+00100000011000000000000000000000
+00100000010000000111111111101001
+01101000000000001100010011000110
+11000001000000000000000000000000
+01101000000000001100000001000000
+11000011100000100000000000000000
+00100000001000000111111111100111
+00011000110000001010001000000010
+01101000000000010100010011111100
+00011111111000001010010111111011
+00100000010000000101011011100010
+00100000001000000101101001001101
+01101000000000010100010011111100
+00011111111000100010001000000000
+00100000010000000101101010000010
+01011000000000000000000000010111
+11100000101000001000000000000000
+01101000000000010000010001111000
+11100000101000010000000000000000
+01101000000000010100010011111100
+00011111111000001111001111111011
+01101000000000010100010100001101
+00011111111000001000110000000111
+11101000110000010000000000000000
+11100000101000010000000000000000
+00100000001000000111111011110100
+00011000000000000010001000000001
+00100000010000000101101010000010
+01011000000000000000000000011001
+11100000101000001000000000000000
+00100000011000000000000000000000
+00011000110000100010001000000000
+01101000000000010100010011111100
+00011111111000001010010111111101
+00100000001000000101011011100010
+00011000010000100010011000000000
+00011010001000001010001000000011
+00100000010000000101101010000010
+00011010001000001010001111111101
+01011000000000000000000000011011
+11100000101000001000000000000000
+00011010011000100000010000000000
+11100000101010010000000000000000
+00100000011000000000000000000000
+00011000010000100010011000000000
+00011010001000001010001000000011
+00100000010000000101101010000010
+00011010001000001010001111111101
+01011000000000000000000000011101
+11100000101000001000000000000000
+00011010011000100000010000000000
+11100000101010010000000000000000
+00100000011000000000000000000000
+01110000000001000111101000001010
+00011000000000000010001000000101
+00100000010000000101101010000010
+01011000000000000000000000000001
+11100000101000001000000000000000
+01101000000000001000010001110111
+11100000101000001000000000000000
+01101000000000010000010001111000
+11100000101000010000000000000000
+01101000000000001000010001111010
+11100000101000001000000000000000
+00100000011000000000000000000000
+00011000000000000010010000000100
+00100000001000000101100001000111
+01101000000010010000101010100010
+00011000010000001000010000000001
+01100000000010010000101010100010
+00100000011000000000000000000000
+01101000000010010000101010100010
+01101000000000010100010001011100
+10011000010001100111110000000000
+00100000011000000000000000000000
+01101000000010001100010001011110
+11011010001000000100010001011111
+01101000000000001000010010100010
+00011111111000100111001000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+11011010010000000000010010100011
+00100000001000000111111110001000
+01101000000010001100010001110001
+11011010001000000100010001110010
+00100000001000000101101010001110
+01101000000000001000010010110011
+01100000000000001000000100000001
+00011111111000100111001000000000
+00100000010000000111111010011111
+00100000001000000111111011110100
+00100000010000000111111010011100
+01101000000000010000010010011110
+11100000101000010000000000000000
+01101000000000010000010010100000
+11100000101000010000000000000000
+01101000000000001000000100000001
+00011111111000100111001000000000
+00100000010000000111111011110100
+00100000001000000111111010100010
+00100000010000000111111010011100
+00100000010000000101100010001010
+00011000101000100111111000000000
+10011000110001100010001000000000
+00100000010000000101100010001101
+00011010001000100111111000000000
+11100000110000010000000000000000
+00011010001000001010001000000100
+00100000010000000101100001111001
+00011010001000100111111000000000
+11100000110000001000000000000000
+00100000011000000000000000000000
+00011111111011001111111000000000
+01100000000000010100010001011010
+11101000110000010000000000000000
+01100000000000010100010001011100
+00100000011000000000000000000000
+11101000110000001000000000000000
+11101000110010001000000000000000
+11101000110010010000000000000000
+11000000000010011101101010111011
+00100000011000000000000000000000
+11101000110000010000000000000000
+01100000000000010100010100001001
+01110000000010101001100101000000
+00100000001000000111110110000110
+11011010001000000000000000001100
+11011010011000000000000000010010
+00100000010000000101101011000111
+01011000000000000000000000001000
+11100000101000010000000000000000
+01101000000001000100010010010110
+11100000101001000000000000000000
+00100000011000000000000000000000
+00100000010000000101101011001111
+11011010010000000000000000000101
+00100000010000000101100001000111
+00011010011000100111111000000000
+11100000101000001000000000000000
+01101000000000001100010100001000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01101000000000001100010100001000
+00011111111000001111111000000001
+01100000000000001100010100001000
+11000001100000000000000000000000
+01110000010001010000100000000001
+00100000011000000000000000000000
+01101000000000001100010011000110
+11000000000000000101101011100100
+11000000000000001101101011100111
+11000000000000010101101011101001
+11000000010000001101101011011101
+11000000010000010101101011011111
+11000000010000011101101011100010
+00100000011000000000000000000000
+01110000010001000101011000001101
+00100000001000000101101011100101
+01110000010001000101011000001101
+01110000010001000101010000000001
+00100000011000000000000000000000
+01110000010001000101011000001101
+00100000001000000101101011101010
+01110000010001000101011000000000
+01110000010001000101010000000011
+00100000011000000000000000000000
+01110000010001000101011000000101
+00100000001000000101101011100101
+01110000010001000101011000000101
+01110000010001000101010000000000
+00100000011000000000000000000000
+01101000000000001100010001010110
+01111001001000000111111000000011
+01100000000000001100010001010110
+00100000011000000000000000000000
+01101000000000001100010001010110
+01111001001111111111111000000011
+01100000000000001100010001010110
+00100000011000000000000000000000
+11101000110000001000000000000000
+11000000000000001101101100001001
+11000000000000011101101100110000
+11000000000000100101101101001101
+11000000000000101101101101011010
+11000000000000110101101110000000
+11000000000000111101101111000100
+11000000000001000101101110101111
+11000000000001001101101111000000
+11000000000001010101101111000100
+11000000000001011101101111000100
+11000000000001100101101111000101
+11000000000001101101101111001010
+00100000011000000000000000000000
+00011000000000000010001000000010
+00100000010000000101110001100010
+01011000000000000000000000001011
+11100000101000001000000000000000
+01101000000000001100010001010110
+11100000101000001000000000000000
+00100000011000000000000000000000
+01100000000000001100010001001100
+11101000110000110000000000000000
+11100000101000110000000000000000
+01101000000000001100010011000110
+11000000000000000101101101011111
+00100000010000000101101100101011
+00100000010000000101101100100110
+01110000010001001100010000000011
+01101000000000001100010001001101
+11000000000000000101101100011000
+11000000000000001101101100011000
+11000000000000011101101100011000
+01101000000000001100010011000110
+11000000000000010101101100011011
+11000001010000011000000000000000
+11011111111000000000000000000000
+01100000000000100100010011000111
+00100000011000000000000000000000
+01101000000000001100010011101001
+11000010100000000101101100100100
+11011010001000000100010011000111
+00011010001000100000101000000000
+11011111001000000000000000000011
+00100000010000000110001100001101
+01101000000000010100010011001001
+00011111111000010111111000000111
+01100000000000010100010011001001
+01110000000010101001100100110100
+00100000001000000111110110000110
+01101000000000001100010001001111
+11000011100000011000000000000000
+01101000000000001100010011000110
+11000100000000111000000000000000
+00100000001000000011010000000010
+00011000000000000010001000000111
+00100000010000000101110001100010
+01101000000000111100010001010011
+11100000101000111000000000000000
+00100000011000000000000000000000
+00011000110000100010001000000000
+01101000000000001100010011000110
+11000000010000011101101100110111
+00011010001000100000110000000000
+11011000101000000100010000101010
+00100000010000000111111010111111
+00100000001000000101101100111101
+00011010001000100000110000000000
+11011000101000000100010000101010
+00100000010000000111111010111111
+01110000010001001011111100000010
+01110000010001001100000100001000
+00100000011000000000000000000000
+01101000000000001100010011000110
+11000010100000111101101101000101
+00100000010000000111001110011100
+00011000000000000010001000010001
+00100000010000000101110001100010
+01011000000000000000000000000011
+11100000101000001000000000000000
+00100000001000000111010010010111
+11011000101000000100010000111010
+00100000010000000110001100001100
+00100000010000000111000111000101
+00011000000000000010001000010001
+00100000010000000101110001100010
+01011000000000000000000000000011
+11100000101000001000000000000000
+00100000001000000111001000000001
+00011000110000100010001000000000
+01101000000000001100010011000110
+11000010100000111101101101100001
+00011010001000100000110000000000
+00100000010000000111001110010100
+00100000001000101101101101110101
+01110000000001000111101100000100
+00011000000000000010001000000010
+00100000010000000101110001100010
+01011000000000000000000000000101
+11100000101000001000000000000000
+01101000000000001000010001111011
+11100000101000001000000000000000
+00011000000000000000111000001010
+00100000010000000111111100000111
+01110000010001001100010000000000
+01110000000010101001100100110000
+00100000001000000111110110000110
+01110000000001000111101100000101
+00100000001000000101101101010100
+11011000101000000000010000101111
+00011010001000100000110000000000
+00100000010000000111111010111111
+01101000000000001100010011000110
+11000000010000011101101101101100
+00100000010000000111000101001111
+00100000010000000101101101111010
+01101000000000001100010011000110
+11000001110000010000000000000000
+01110000000010101001100100111011
+00100000001000000111110110000110
+00100000010000000111000110111010
+11011000101000000000101011110010
+00100000010000000111001000000001
+11011010001000000000101011110010
+11011010010000000100010000101010
+11011111001000000000000000010000
+00100000010000000111111110001000
+00100100001000101101101101010011
+00100000001000000101101101111010
+00100000010000000111001110010000
+01110000000010101001100100110001
+00100000010000000111110110000110
+01110000010001000010100100000001
+01110000010001001100010000000101
+00011000000000000010001000010001
+00100000010000000101110001100010
+01011000000000000000000000000100
+11100000101000001000000000000000
+11011000110000000100010000111010
+00100000001000000111111010111111
+11011000101000000000010000011111
+00100000001000000111111010111111
+00011000000000000010001000010001
+00100000010000000101110001100010
+01011000000000000000000000000110
+11100000101000001000000000000000
+01101000000000001100010011101001
+11000010100000001101101110001010
+11011000110000000100010000011001
+00100000001000000111111010111111
+11011000110000000100010011101010
+00100000001000000111111010111111
+11011000101000000100010011001011
+00011000000000000111001000001010
+00100000010000000110001100001101
+00011000000000000010001000001011
+00100000010000000101110001100010
+01011000000000000000000000000111
+11100000101000001000000000000000
+01101000000000010100010011001011
+11100000101000010000000000000000
+01101000000001000100010011001101
+11100000101001000000000000000000
+00100000011000000000000000000000
+00011000000000000010001000010001
+00100000010000000101110001100010
+01011000000000000000000000001000
+11100000101000001000000000000000
+01011000000000000000000000000000
+11100000101001000000000000000000
+11100000101001000000000000000000
+00100000011000000000000000000000
+00011000000000000010001000001000
+00100000010000000101110001100010
+01011000000000000000000000001001
+11100000101000001000000000000000
+01101000000000001100010010010101
+11100000101000001000000000000000
+01101000000000110100010010100000
+11100000101000110000000000000000
+00100000011000000000000000000000
+01110000000001000111101100001000
+00100000001000000101101101010100
+01101000000000001100010001011000
+01101000000010001100010001011000
+10011000010000010111111000000000
+00100000011000000000000000000000
+11011000101000000100010011010101
+00100000010000000111111010111111
+00100000010000000101101110101011
+00101111111011000000000000000001
+00100000001000001101101110101001
+01101000000000001100000010010010
+11000001100001010000000000000000
+00100000010000000101101110111001
+00100100011101000000000000000000
+00100000001000000011010000010000
+00100000010000000111111111101001
+01101000000000001100010010001110
+11000001000000000000000000000000
+01101000000000001000010001010100
+00101111111000011000000011000000
+00100000011000001000000000000000
+00100000001000000111111111100111
+00100000010000000101101110101011
+00101111111011000000000000000001
+00100000001000001101101110101001
+00100000011000000000000000000000
+00100000011000000000000000000000
+11011000101000000000100110111110
+00100000010000000111111010110011
+01110000010001001011111100000010
+01110000010001001100000100000001
+00100000011000000000000000000000
+11011000101000000000101001101110
+00100000010000000111111010111111
+01110000010001001100000100000110
+01110000010001001011111100000010
+00100000011000000000000000000000
+00011000000000000010001001000001
+00100000010000000101110001100010
+01011000000000000000000000001100
+11100000101000001000000000000000
+11011000110000000100010111010010
+00100000001000000111111010110011
+00100000010000000111000101100110
+00011000000000000010001000010001
+00100000010000000101110001100010
+01011000000000000000000000001101
+11100000101000001000000000000000
+00100000001000000111001000000001
+01101000000000001100010011000100
+11000001011111111000000000000000
+11011000010000000000000000000011
+10011000010001100111110000000000
+00100100011000010000000000000000
+11011000111000000000000000001010
+00100000010000000111111100010110
+00100100011110100000000000000000
+00100000001000000101101110101001
+01000111001111000100000000101111
+01101000000000001100010011000100
+11000000000000000101101111101111
+11000000000000001101101111110101
+11000000000000010101101111101111
+11000000000000011101101111110111
+11000000000000101101101111111011
+11000000000000111101110000000111
+11000000000001000101110000001001
+11000000000001001101110000010000
+00100000011000000000000000000000
+01101000000000001100010011000101
+11000001100000100000000000000000
+01110000010001001100010111111111
+01110000010001001100010011111111
+01110000000010101001100100111111
+00100000001000000111110110000110
+01110000010001001100010000000010
+00100000001000000101101100000010
+01110000010001001100010000000100
+01011000000000010111011100000000
+11011000111000000000000000001010
+00100000001000000111111100001000
+01101000000000001100010011000101
+11000000000000100101101111111110
+00100000011000000000000000000000
+01110000010001001100010000000111
+01110000000010101001100100101001
+00100000010000000111110110000110
+00100000010000000101101110000010
+01101000000000001100000010010010
+11000001100001010000000000000000
+00100000010000000101101110111001
+00100000011101000000000000000000
+00100000001000000011010000010000
+01110000010001001100010000001000
+00100000001000000101101110001100
+01101000000000001100010001010010
+01101000000010001100010001011001
+10011000010000010111111000000000
+00101111111011000000000000000001
+00100000001000001101110000010010
+01110000010001001100010000001001
+00100000001000000101101110011000
+00100000010000000101101110100000
+00100000001000000101110000010010
+00011000000000000000111000001010
+00100000010000000111111100000111
+01110000010001001100010111111111
+01110000010001001100010011111111
+01110000000010101001100100111110
+00100000001000000111110110000110
+01000111001111001100000000101111
+01101000000000001100010011000110
+11000100000000111000000000000000
+01101000000000001100010010111111
+11000001100000010000000000000000
+01110000010001001011111100000000
+01101000000000001100010011000001
+11000000000000001101110001011000
+11000000000000010101110001011111
+11000000000000011101110001010010
+11000000000000110101110000111001
+11000000000000111101110000110000
+11000000000001000101110000100110
+00100000011000000000000000000000
+01101000000000001100011001100011
+00011111111000100000111000000000
+00011111111000001111111000000001
+01100000000000001100011001100011
+01101000000000100100010011000111
+10101111111011111111111111111111
+01011000000000000000000010000000
+01111001001000001111111000000000
+01100000000000001100011001100100
+00100000001000000101110001010101
+01101000000000001100010011000010
+01110000010001001100001000000000
+11000000000000001101110000110101
+01110000010001001011111100000010
+00100000011000000000000000000000
+01110000000010101001100100110001
+00100000010000000111110110000110
+01110000010001001100010000000101
+00100000001000000101101111010101
+01101000000000001000100110111001
+11000000000000011101110000111101
+01110000010001001011111100000010
+00100000011000000000000000000000
+00100000010000000111000110001101
+01101000000000001100010011000110
+11000000010000011101110001000001
+00100000010000000101101100011000
+00100000010000000111000101111010
+11011010001000000000101011110010
+11011010010000000000101001101110
+11011111001000000000000000010000
+00100000010000000111111110001000
+00100000001000101101110001001001
+01110000000001000111101100001011
+00100000001000000101101101010100
+00100000010000000111010110010101
+00100100001000101101110001000111
+01110000010001000010100100000001
+01101000000000001100010011000110
+11000000010000001101110000110101
+11000000010000011101110000110101
+01110000010001001011111100000010
+01110000010001001100000100000111
+00100000011000000000000000000000
+01101000000000001100010011000110
+11000000010000011101110001010110
+01110000010001100110010000000000
+00100000001000000101101100111101
+01110000010001100110001100000000
+00100000001000000101101100011011
+01110000010001001011111100000010
+01101000000000001100010011000011
+11000000000000011101110001011100
+00100000011000000000000000000000
+01110000010001001100000100000010
+01110000000010011011100100000000
+00100000001000000111101010011001
+01110000010001001011111100000010
+01110000010001001100000100000011
+00100000001000000101101111001111
+00011000000000000010010000000110
+00100000001000000101100001000111
+01101000000000001000001011011011
+11000000000000000101110001111011
+11000000000000001101110010000011
+11000000000000010101110010001110
+11000000000000011101110010101010
+11000000000000100101110011100001
+11000000000000101101110011100110
+11000000000000110101110011101010
+11000000000000111101110011110101
+11000000000001000101110010011001
+11000000000001001101110011110101
+11000000000001010101110011101111
+11000000000001011101110011110101
+11000000000001100101110010011111
+11000000000001101101110011110101
+11000000000010010101110010100110
+11000000000010011101110011110101
+11011010001000000000000000000010
+11011010010000000000000000000111
+00100000010000000101100001000010
+01101000000000001000001011011011
+11100000101000001000000000000000
+00100000011000000000000000000000
+11101000110001001000000000000000
+01100000000001001100001111010011
+11101000110000010000000000000000
+01100000000000010000010001011111
+01101000000000001000010000111111
+01111001001000000111111000000101
+01100000000000001000010000111111
+00100000011000000000000000000000
+11101000110000101000000000000000
+01100000000000101100001111001110
+11101000110000010000000000000000
+01100000000000010000010001011111
+01101000000010010000010001011001
+10011000010001100111110000000000
+00100100001000010101110010001110
+01101000000000001000010000111111
+01111001001000000111111000000110
+01100000000000001000010000111111
+00100000011000000000000000000000
+01011000000000000000000000010100
+01100000000000010000010001101101
+01100000000000010100010010111010
+00100000011000000000000000000000
+11011010011000000000000000010011
+11011010001000000000000000000010
+11011010010000000000000000000010
+00100000010000000101100001000010
+00011010011000100111111000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+11011010001000000000000000001001
+11011010010000000000000000001001
+00100000010000000101100001000010
+01011000000000000000000000000001
+11100000101001000000000000000000
+00100000011000000000000000000000
+00100000011101001000000000000000
+11011010001000000000000000000110
+11011010010000000000000000001100
+00100000010000000101100001000010
+01101000000000101100010100010000
+11100000101000101000000000000000
+00100000011000000000000000000000
+11011010010000000000000000010011
+00100000001000000101110010101000
+11011010001000000000000000000001
+00100000001000000101100001000010
+11101000110001000000000000000000
+01100000000001000100010011001101
+11101000110000010000000000000000
+01100000000000010100010011001011
+11101000110001000000000000000000
+01100000000001000100010010101010
+11101000110000100000000000000000
+01100000000000100100010000010001
+00100000010000000101110011001111
+01000111001111010100000000101111
+01101000000000001100010011000100
+11000000000000101101110010111100
+01101000000000001100010011101001
+11000010100000001101110010111111
+01101000000000001100001000010111
+00100100010110100110011110111110
+01101000000000001100010000101001
+11000000000000000101110011000100
+01110000010001001100010100000001
+00100000010000000101110011011101
+00100000001000000111001110100010
+01110000010001000010100100000001
+11011000110000000100010011101010
+11011000101000000100010000011001
+00100000010000000111111010111111
+00100000001000000101110010111100
+01000111001111011100000000101111
+01110000010001001100010100000000
+01110000010001001100010000000000
+01110000000010101001100101000001
+00100000001000000111110110000110
+11011010001000000000000000000010
+11011010010000000000000000001101
+00100000010000000101100001000010
+01011000000000000000000000000110
+11100000101000001000000000000000
+00100000011000000000000000000000
+11011000101000000100010010110010
+00011000000000000111001000001000
+00100000010000000110001100001101
+11011000101000000100010000010101
+00011000000000000111001000000100
+00100000010000000110001100001101
+11011010001000000000000000001101
+11011010010000000000000000000100
+00100000010000000101100001000010
+01101000000001000100010010110010
+11100000101001000000000000000000
+01101000000000100100010000010101
+11100000101000100000000000000000
+00100000011000000000000000000000
+11011010010000000000000000000101
+00100000001000000101110010101000
+11011010010000000000000000000110
+00100000001000000101110010101000
+11101000110001000000000000000000
+01100000000001000100010010110010
+11101000110000100000000000000000
+01100000000000100100010000010101
+00100000001000000111001110100010
+01101000000000001000010000111111
+01111001001000000111111000000100
+01100000000000001000010000111111
+00100000011000000000000000000000
+00100000011101001000000000000000
+01110000000010101001100100110010
+00100000010000000111110110000110
+01110000010001001100010100000100
+00100000001000000101110011011111
+01110000010001001100010100000010
+00100000010000000101110011110011
+01110000000010101001100100110011
+00100000001000000111110110000110
+11011010010000000000000000001011
+00100000001000000101110010101000
+00100000011000000000000000000000
+00100000011101011000000000000000
+01000111001111100100000000101111
+01011000000000000000000000000000
+01100000000000001000000001001000
+01100000000000001000000001010101
+01100000000000001000000001111000
+01100000000000001000000001111100
+01100000000000001100000101011000
+01100000000000001000010011010111
+01100000000000001000000101101101
+01100000000000001000100110110101
+01110000010001010101101100000000
+01110000000000100010100100000000
+01110000000001001101100000000000
+01110000000010011011010100000000
+01110000000010011011010000000000
+01110000000001001101000100000000
+00100000011000000000000000000000
+01000111001111101100000000101111
+00100000010101001110001011111111
+00100100010101001110001100000011
+00100000010000000110001010111100
+00100100011110100000000000000000
+01101000000000001000000001001100
+11000100000000110000000000000000
+01111001001111111111111000000110
+01111001001111111000000000000001
+01100000000000001000000001001100
+01101000000000001000010101010001
+01101000000010001000000001001100
+00101111111011111111111000000000
+01111001001000001000010000000001
+01100000000010001000000001001100
+00011000010000010000010000000010
+01100000000010001000000001111111
+01101000000010001000000001001100
+00011111111000110111111000000000
+01100000000000001000000001111101
+01000111001111110100000000101111
+01101000000000001000000001111101
+11000000001111111101110101100110
+11000000000000011101110110110001
+11000000000000100101110111000010
+11000000000111100101110101011001
+11000000000000101101110101010101
+11000000000001111101111110101000
+11000000000010000101111000100100
+11000000000100011101111001000010
+11000000000111001101111111000001
+11000000000111000101111110111100
+11000000000110001101111000100111
+11000000000110111101111010110000
+11000000000100111101111010101100
+11000000000110011101111010101001
+11000000000100101101111010101110
+11000000000100110101111000111110
+11000000000000111101111000110110
+11000000000101101101111000101101
+11000000000101110101111000101110
+11000000000000001101111010100101
+11000000000000010101111010010000
+11000000000101000101111110110011
+11000000000001001101111010000110
+11000000000001011101111001011111
+11000000000001000101111001000011
+11000000000001100101111001101010
+11000000000011111101111000111010
+11000000000100000101111000111100
+11000000000100001101111011001010
+11000000000100010101111011001010
+11000000000110101101111011001011
+11000000000110110101111011001100
+11000000000100100101111011001010
+11000000000110100101111011001101
+11000000000010111101111011010110
+11000000000010001101111011110010
+11000000000010010101111011110110
+11000000000010011101111011111000
+11000000000001101101111100001010
+11000000000001110101111100001010
+11000000000101111101111010101010
+11000000000110000101111100001010
+11000000000001010101111100001010
+11000000000011000101111100001011
+11000000000110010101111100001010
+11000000000111101101111100010000
+11000000000111110101111101010001
+11000000000111111101111101001011
+11000000001000000101111101111000
+11000000001000001101111110001010
+11000000000000110101111110100111
+11000000000111010101110101010111
+01110000000000000111111000011001
+01110000000000000111110000000100
+00100000011000000000000000000000
+01110000000000000111110000000110
+00100000011000000000000000000000
+01110000000000000111110000111011
+00100000011000000000000000000000
+01101000000000100000010101010010
+00011111111000111111111000000000
+01100000000000100100000011010010
+01101000000000001000010101010110
+01100000000000001100000011011001
+01101000000000101000010101010111
+01100000000000101100000011100111
+01101000000000101000010101011100
+11100000101000101000000000000000
+01101000000000001000000000110001
+01111001001000000111111000000011
+01100000000000001000000000110001
+00100000011000000000000000000000
+01000111001111111100000000101111
+01101000000000001000010101010010
+01111001001000000111111000000111
+01100000000000001000000001111101
+11000000010000001101110110001000
+11000000010000010101110110001101
+11000000010010101101111010110001
+11000000010010110101111011001010
+11000000010001011101111010111111
+11000000010000011101110110100101
+11000000010000100101110110100111
+11000000010010000101110101111010
+11000000010010111101110110011110
+11000000010011000101110110100011
+11000000010011001101110101111101
+11000000010011010101110110000000
+11000001010000100000000000000000
+01110000000000000111110010000010
+01110000000000000111111000011001
+00100000011000000000000000000000
+01110000000000000111110010000010
+01110000000000000111111000101110
+00100000011000000000000000000000
+00100000010000000101110110000010
+01110000000000000111110010011010
+00100000011000000000000000000000
+00100000010000000101110110000010
+00100000001000000101110110000110
+11011000101000000100011001011110
+01101000000000011000010101010011
+11100000101000011000000000000000
+00100000011000000000000000000000
+00100000001000001111011011011000
+00100000011000000000000000000000
+01101000000000001000010101010100
+01111001001000000111111000000111
+01100000000000001000010011001001
+11000000010001011101110110010010
+00100000011000000000000000000000
+01101000000000001000010101010100
+01111001001000000111111000000111
+01100000000000001000010011001001
+11000000010001011101110110010110
+00100000011000000000000000000000
+01101000000000001100000101011010
+01101000000010001000000001001100
+01111101001110100000010000000101
+01100000000010001000000001001100
+01101000000000001000000000110000
+11000100000000101000000000000000
+01111001001111111111111000000101
+01100000000000001000000000110000
+01101000000000001000010011010111
+00100100011110100000000000000000
+01110000000000000111110000110001
+00100000011000000000000000000000
+00100100001101001101110110100001
+01110000000000000111110000010010
+00100000001000000110001011101011
+01110000000000000111110010010111
+00100000011000000000000000000000
+00100000010000000110001011101011
+00100000001000000101111111111110
+01110000000000000111110010000100
+00100000011000000000000000000000
+01101000000010001000010101010101
+00011000010000010000010000000001
+01100000000010001000010011010000
+01101000000000001100000111001110
+11000000101010001101110110101101
+01110000010000011100111000000000
+01101000000000001000000001010101
+11000001100010101000000000000000
+01110000000000000101010100000100
+00100000001000000110001100011011
+01000111010000000100000000110000
+01101000000000001000010101010010
+01100000000000001000010011001001
+11000000000110011101110111011000
+11000000000001000101110111100111
+11000000000001111101110111101110
+11000000000010000101110111110100
+11000000000010001101110111110101
+11000000000010010101110111111101
+11000000000011000101111000010011
+11000000000010111101111000010110
+11000000000010011101110111001111
+11000000000111101101111100011110
+11000000000111110101111101101010
+11000000001000000101111100100000
+11000000001000001101111100111101
+00100000011000000000000000000000
+01000111010000001100000000110000
+01101000000000001000010101010010
+01100000000000001000010011001001
+11000000000000001101111000001010
+11000000000110011101110111100010
+11000000000001011101110111111110
+11000000000001000101111000000001
+11000000000010011101110111010010
+11000000001000000101111000001011
+11000000001000001101111000001110
+11000000000011000101111000010001
+11000000000010111101111000100010
+00100000011000000000000000000000
+01110000000010101001100100100000
+00100000010000000111110110000110
+00100000001000000010000111011100
+01110000000010101001100100011001
+00100000010000000111110110000110
+01110000010001010101101100000010
+01011000000000000000000001010000
+11011000111000000000000000000110
+00100000001000000111111100001000
+01101000000000001000010011010001
+01111001001000000111111000000000
+01100000000000001000010011010001
+01110000000010101001100100000001
+00100000010000000111110110000110
+01110000000000000111110010001011
+01101000000000001000000001010101
+11000000100000101101110100000111
+01110000000000000101010100000110
+00100000011000000000000000000000
+01110000000001001100101000001011
+01110000000000000111110000000111
+01110000000000000101010100000000
+00100000001000001101110100000111
+00100000011000000000000000000000
+01101000000000001100000110111101
+00100100011110100000000000000000
+00100000010000000010010001001111
+00100000010000000101111111111100
+00100000011101001000000000000000
+01111001001000000000000000100001
+00100000011000000000000000000000
+00100100011101001000000000000000
+01110000000000000111110000010000
+01101000000000001000000001001100
+11000100000000010000000000000000
+01110000000000000111110000010010
+00100000011000000000000000000000
+00100000001000000101111111111110
+00100000010000000110000001011001
+01101000000000001000000000110000
+11000011100000100000000000000000
+01110000000000000111110000110001
+01101000000000001000000001010101
+11000001100001010000000000000000
+01110000000000000101010100001011
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000000000000111110000000111
+01110000000001001100101000010011
+00100000011000000000000000000000
+01101000000000001000010101010011
+11000000000000110101111000000111
+11000001100011000000000000000000
+01110000000001001100101000011000
+01110000000000000111110000000111
+00100000011000000000000000000000
+01110000000001001100101000000110
+01110000000000000111110000000111
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000000010011010111000000000
+01110000000000000111110000000111
+00100000001000000101110100000111
+01110000000010011010111000000000
+01110000000000000111110000000111
+00100000001000000101110100000111
+01110000000010101001100100100100
+00100000001000000111110110000110
+01110000000010101001100100100011
+00100000010000000111110110000110
+00100000001000000010011011101001
+01110000000010101001100100100010
+00100000010000000111110110000110
+01011000000000000000000000000000
+01100000000000010000000001110101
+01101000000000010100000111100011
+00011111111000111111111000000000
+01100000000000010000000000110010
+01101000000000001100000111100101
+01100000000000001000000001110011
+01101000000000001100000111100111
+01100000000000001000000001110100
+00100000001000000010011011000110
+01110000000010101001100100100001
+00100000001000000111110110000110
+01101000000010001000010101010010
+01100000000010001000000001010100
+00100000001000000101111000111000
+01101000000000001000010011010001
+01111001001000000111111000000010
+01100000000000001000010011010001
+11000011100000011000000000000000
+01110000000000000111110000110001
+00100000001000000101110100000111
+00100000011000000000000000000000
+01101000000000001100000011010000
+01101000000010001000010101010010
+10011000010001100111110000000000
+00100000001000010101111000111000
+01110000000000000111110000000100
+01110000000000000111111000011111
+01110000000000000111110100101110
+00100000011000000000000000000000
+00100000010000000110000101010111
+00100000001000000101111000111000
+01110000000000000111110000000011
+00100000011000000000000000000000
+01110000000000000111110000100001
+00100000011000000000000000000000
+01110000000000000111110000100010
+00100000011000000000000000000000
+01101000000000001000000001010101
+11000001000010011000000000000000
+01110000000000000101010100000010
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000010000000101111111111001
+01110000000001001101010000000001
+01110000000010101001100100001010
+00100000010000000111110110000110
+00100000010000000110001011110011
+00100100001000001110000000000001
+00100100001101001101111001001110
+01110000000000000111110000000100
+01110000000000000111110100001000
+01110000000000000111111000100011
+00100000011000000000000000000000
+01101000000000001000000001001011
+01111001001000000111111000000010
+01100000000000001000000001001011
+00100000011000000000000000000000
+01101000000010001000000001001100
+01111101001110100000010000000001
+01100000000010001000000001001100
+00100000011000000000000000000000
+01101000000000001000000001111111
+00011111111000110111111000000000
+00011111111000010111111000000001
+00100000011000000000000000000000
+01101000000000001100001000010111
+00100000011110100000000000000000
+01101000000000001000100110110101
+00100000010110100110011110110010
+00100000011000000000000000000000
+00100000010000000101111001011010
+00100000010000000101111001010110
+01100000000000001000010011010101
+00100000010000000101111111111001
+01110000000000000111110000001100
+01101000000000001100000110111101
+00100100011110100000000000000000
+01101000000000001000000000110000
+11000011100000110000000000000000
+01110000000000000111111000000110
+00100000001000000101110101010011
+11011010001000000000000001000000
+00100000010000000111001010001000
+01101000000000100000010101010010
+01101000000010100000010110010010
+10011000010001100111110000000000
+00100000001000101101111001110011
+01110000000000000111110000000111
+01110000000001001100101000000101
+00100000011000000000000000000000
+00100000010000000101111001110111
+01101000000000001100011001011010
+00100000001110100101111100111110
+00100000011000000000000000000000
+00100000010000000111001110000110
+00100000010000000010000110110010
+01101000000000001000000001001011
+00101111111011111111111000000001
+01111001001111111111111000000001
+01100000000000001000000001001011
+01101000000000001000000001010101
+11000000000011001101111010000001
+11000000000011000101111010000001
+00100000011000000000000000000000
+01101000000000001000100110110101
+11000001100000000000000000000000
+01101000000000001000000001001100
+11000011100000010000000000000000
+00100000001000000110001110110001
+11011010001000000000010101010010
+11011010010000000000010110000010
+11011000101000000000010101100010
+00100000010000000111001101010010
+11011010001000000000000001000000
+00100000010000000110001100010001
+01110000000000000111110000001011
+01101000000000001000000000110000
+11000011000000110101111111111100
+00100000011000000000000000000000
+01101000000000010000000101011111
+00011111111000001111001111111101
+01101000000010001000010101010010
+01011000000000000000000100000001
+10011000010000001000101000000000
+11011000110000000000010101010100
+00100000010000000111111100000001
+01101000000010001000000001010011
+01101000000000001000010101010011
+10011000010001100111111000000000
+00011111111001100111110000001110
+00100000001000010101111010100000
+00011000010000001111111000001110
+01100000000000001000000001010011
+01110000000000000111110000000001
+00100000011000000000000000000000
+01101000000000001000000001001100
+01111001001000000111111000000011
+01100000000000001000000001001100
+11000010100000100110000000000110
+00100000011000000000000000000000
+01101000000000001000010101010010
+01100000000000001000000001111101
+01110000000000000111110000000010
+00100000011000000000000000000000
+00100000001000000101111000111000
+01110000000000000111110000110000
+00100000011000000000000000000000
+01110000000000000111110000101000
+00100000011000000000000000000000
+01110000000000000111110000100110
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101000000000010000000000110010
+10011000000000000000010000000000
+01101000000000001000010101010011
+01100000000000001000000010010101
+10011000010011111000010000000000
+01101000000000010000010101010100
+00011111111000111111111000000000
+01100000000000010000000010010110
+01101000000000100000010101010110
+00011111111000111111111000000000
+01100000000000100000000010010001
+00011000010000100111111000000000
+01100000000000010000000010011000
+00100000011000000000000000000000
+01101000000010001100000101011010
+01101000000000001000010101010011
+10011000010000101111110000000000
+00100100001000101101110101110111
+00101111111011111111111000000000
+01101000000000001000000001001100
+01111001001000001111111000000101
+01100000000000001000000001001100
+01110000000000000111110010000001
+01110000000000000111110110001011
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000001000000101111000111000
+00100000001000000101111000111000
+01101000000000010000010101010010
+01100000000000010000000101110001
+00100000011000000000000000000000
+01101000000000010000010101010101
+01101000000010001100000101110010
+10011000010011111111111000000000
+11011000010000000000011001000000
+10011000010001100111110000000000
+00100000011000000000000000000000
+01101000000000010000010101010111
+00100000001110100101111011110000
+00100000010000000101111011010000
+00100000001000010101111011110000
+01101000000000001100000010010010
+00011111111001100111110000001010
+00100000010000101011110011010101
+01101000000000001000000000110000
+11000010100000001101111011110000
+01101000000000010000010101010011
+00011111111000111111111000000000
+01100000000000010000000001110101
+01101000000000010000010101010101
+00011111111000111111111000000000
+01100000000000010000000000110010
+01101000000000010000010101010111
+01100000000000001000000001110011
+10011000000000000000010000000000
+01101000000000010000010101011001
+01100000000000001000000001110100
+10011000010001100111110000000000
+00100100001000010101111011101101
+01100000000000001000000001110011
+01110000000000000111110000000011
+01110000000000000111110100010111
+00100000011000000000000000000000
+01110000000000000111111000100100
+00100000001000000101110101010011
+00100000010000000101111000111000
+00100000010000000101111111111001
+00100000010000000111001010001011
+00100000001000000010011010111000
+00100000010000000101111000111000
+00100000001000000010011011000000
+01101000000000100000010101010010
+00011111111000111111111000000000
+00100000001101001101111100000100
+01101000000010001100000110111101
+00100100001110100101111100000001
+01110000000000000111110000000100
+01110000000000000111110100010011
+01110000000000000111111000100100
+00100000011000000000000000000000
+01110000000000000111110000110100
+01110000000000000101010100000000
+00100000001000000010000111011001
+00100000010000000010000111011001
+01111001001000000000000000100010
+01101000000000001000000101101101
+01111001001111111111111000000010
+01100000000000001000000101101101
+00100000001000000101111000111000
+00100000011000000000000000000000
+01110000000000000111110000000011
+01110000000000000111110100011000
+01110000000010101001100100101110
+00100000010000000111110110000110
+00100000001000000010011011101001
+01101000000000001000010101010010
+11000000100000001101111100011100
+01101000000000001000010101010011
+11000000100000001101111100011100
+01101000000000001000010101010100
+11000000100110000101111100011100
+00100000010000000110001011111100
+00100000001000001101111100011001
+01110000000010011010111000000001
+01110000000000000111110000000011
+01110000000000000111110100111101
+00100000001000000101110100000111
+01110000000000000111111000100100
+00100000001000000101110101010011
+01110000000000000111110000111110
+00100000011000000000000000000000
+01101000000000001100011001100010
+11000000000000001101111100100111
+11000000000000010101111100101011
+00100000010000000110001011111100
+00100000011000001000000000000000
+01110000000010011010111000001000
+00100000011000000000000000000000
+00100000010000000111100101100010
+01110000000010101001100100110101
+00100000010000000111110110000110
+00100000001000000101111100100011
+00100000010000000110001011111100
+00100000011000001000000000000000
+01101000000000001100011001100011
+11000000000010011101111100111011
+00011111111000001111111000000001
+01100000000000001100011001100011
+01110000000010011011000000000001
+01110000000010011010111000000100
+01101000000000001100011001100011
+00011111111000100000111000000000
+01101000000000110100011010001010
+10101111111011111111111111111111
+01011000000000000000000010000000
+01111001001000001111111000000000
+01100000000000001100011001100100
+00100000011000000000000000000000
+01110000000010011010111000001000
+00100000011000000000000000000000
+00100000010000000101111101000011
+01101000000000001100011001100101
+00100000011110100000000000000000
+01110000010001100110010100000000
+01110000000010101001100100111000
+00100000001000000111110110000110
+00100000010000000110001011111100
+00100100010000001111100101100101
+00100000010000001111100101110101
+00100000010000000110001011111100
+00100000011000001000000000000000
+01110000000010011010111000001100
+01110000000010011011000000000001
+00100000011000000000000000000000
+11011000101000000000101001101110
+11011000110000000000010101010010
+00100000010000000111111010111111
+01101000000000001100011001100010
+11000001000000010000000000000000
+00100000001000000111011011011000
+01101000000000001000100110101111
+11000000000000111101111101010101
+01101000000000001000100110101110
+11000000100000001101111101101000
+01101000000000001000100110110111
+00011111111001100000101000100000
+00100100001000010101111101101000
+11011000101000000000100111000110
+10011000101000001000101000000000
+01101000000001000000010101010010
+11100000101001000000000000000000
+01101000000001000000010101011010
+11100000101001000000000000000000
+01101000000000001000100110110111
+00011111111000001111111000010000
+01100000000000001000100110110111
+11000000100110000101111000111000
+00100000010000000110001011111100
+00100000001000001101111000111000
+01110000000010011011100000000001
+01110000000010011010111000000010
+01110000000010011011000000000001
+00100000001000000101111000111000
+01110000000000000111111000100100
+00100000001000000101110101010011
+01101000000000001000100110110110
+11000000000110000101111101101110
+01110000000000000111110000111110
+00100000001000000101110100000111
+00100000010000000110001011111100
+00100000001000001101111101110111
+01101000000000001100011001100010
+11000000000000010101111101110101
+01110000000010011011000000000001
+01110000000010011010111000000100
+00100000001000000101110100000111
+01110000000010101001100100110110
+00100000001000000111110110000110
+00100000001000000101110100000111
+01101000000000001000100110101111
+11000000000000111101111101111100
+01101000000000001000100110101110
+11000000100000110101111110001000
+11011000101000000000101000101110
+01101000000001000000010101010010
+11100000101001000000000000000000
+01101000000001000000010101011010
+11100000101001000000000000000000
+00100000010000000110001011111100
+00100000001000001101111110000110
+01110000000010011010111000000111
+01110000000010011011000000000001
+00100000001000000101111000111000
+01110000000010011010111100000100
+00100000001000000111011011011000
+01110000000000000111111000100100
+00100000001000000101110101010011
+01101000000000001000100110101111
+11000000000001011101111110001110
+01101000000000001000100110101110
+11000000100001000101111110011101
+11011000101000000000101001011110
+11011000110000000000010101010010
+00100000010000000111111010111111
+00100000010000000110001011111100
+00100000001000001101111110011010
+01101000000000001100011001100010
+11000000000000001101111110011111
+01110000010001100110000100000000
+01110000000010011010111000001001
+01110000000010011011000000000001
+01110000000000000111110101000001
+00100000001000000101110100000111
+01110000000010011010111100001001
+01110000000010011011000100000001
+00100000001000000101110100000111
+01110000000000000111111000100100
+00100000001000000101110101010011
+01101000000000001100011001100001
+11000010100000111101111110100100
+01111001001000000111111000000110
+01100000000000001100011001100001
+00100000011000000000000000000000
+11000010100000000101111110010101
+01110000010001100110000100000000
+00100000001000000101111110011101
+00100000001000000101110100000111
+01101000000000001000000101101101
+01111001001111111111111000000001
+01100000000000001000000101101101
+00100000010000000101111000111000
+00100100011101001000000000000000
+01101000000000001000010101010010
+01101000000010001000000001001011
+01111001001110100000010000000100
+01111101001110100000010000000101
+01100000000010001000000001001011
+00100000011000000000000000000000
+01101000000011000000010101010010
+01101000000000001000000001010101
+11000001100000011000000000000000
+01101000000000001000000101101101
+11000011000000100101111110111010
+01110000000000000101010100010100
+00100000011000000000000000000000
+01110000000000000101010100000100
+00100000011000000000000000000000
+01101000000000001000000101111111
+01100000000000001000000101011011
+01110000000000000111110000000011
+01110000000000000111110100111000
+00100000011000000000000000000000
+01110000000000000111110000000011
+01110000000000000111110100111001
+00011000000000000111001000001001
+11011000110000000000010101010010
+11011000101000000000000101010010
+11101000110000001000000000000000
+00011111111000101111111001010101
+11100000101000001000000000000000
+11000010000000000101111111000110
+01101000000000001000000101010010
+01101000000010001000000101010001
+01111001001111111000010000000111
+01111001001111111000010000000100
+11000000011111111101111111011010
+11000000000000000101111111110011
+11000000000000101101111111100111
+11000000000000111101111111100110
+11000000000000110101111111100111
+11000000000001000101111111100110
+11000000000000001101111111011111
+11000000000000010101111111011111
+11000000000000011101111111011111
+11000000000001001101111111011111
+11000000000000100101111111011111
+00100000011000000000000000000000
+01101000000000001000000101010001
+01111001001000000111111000000011
+01111001001000000111111000000010
+01100000000000001000000101010001
+00100000011000000000000000000000
+01111001001000000000010000000100
+01110000000000011000000000000101
+01101000000000010000000101011001
+10011000000000000111001000000000
+01100000000000010000000101011111
+11011000101000000000010101010001
+00100000010000000111111101110011
+01111001001000000000010000000111
+01111001001000000000010000000010
+00011000000000000111111000000000
+01100000000000001000000000001011
+01100000000000010000000011111010
+01100000000000010000000011111100
+01100000000000010000000011111000
+01100000000000010000000011110110
+01101000000000001000000101010011
+00101111111000011111111000000000
+01111001001000001000010000000110
+01100000000010001000000101010001
+00100000011000000000000000000000
+01111001001111111000000000010001
+01110000000000010101000100000000
+01101000000000001000000101111111
+01111001001111111111111000000110
+01100000000000001000000101111111
+00100000011000000000000000000000
+11011000110000000000010101010010
+11011000101000000000010101100010
+00100000001000000111111010111111
+01110000000000000111110000001001
+00100000011000000000000000000000
+00100100011101001000000000000000
+01110000000000000111110000010001
+00100000011000000000000000000000
+11011010001000000100000010100000
+00100000010000000111001001010101
+01110000000000000111110000000011
+01110000000000000111110100001000
+00100000011000000000000000000000
+01110000000000000111001000001010
+01110000000000000111110000000111
+01110000000001001100101000010110
+00100000011000000000000000000000
+01000111010000010100000000110000
+01111000010101000111110000000000
+00100000010000000110001011000001
+01101000000000001000000001001000
+00100000011110100000000000000000
+11000010100000111110000000111111
+11000000000000001110000101101111
+11000000000000010110000011100100
+11000000000000011110000001001010
+11000000000000100110000001100000
+11000000000100111110000111011011
+11000000000101000110000100001000
+11000000000110000110000011110100
+11000000000100101110000111010110
+11000000000100110110000100000011
+11000000000110001110000111000011
+11000000000110111110000101101010
+11000000000110011110000101011100
+11000000000001000110001001011001
+11000000000001001110001001001111
+11000000000001011110001001100100
+11000000000001100110001001101101
+11000000000001111110000101100010
+11000000000010000110001010010010
+11000000000010001110001010001000
+11000000000000111110000101010010
+11000000000101010110000101111110
+11000000000001010110000101111111
+11000000000011111110000110111100
+11000000000000110110000011111001
+11000000000100001110000101011111
+11000000000101101110000110110010
+11000000000101110110000110110111
+11000000000100010110000101011111
+11000000000110100110000110000000
+11000000000010011110000110010101
+11000000000010111110000110100100
+11000000000010010110001010001111
+11000000000101111110000110101010
+11000000000011000110000110101111
+11000000000111101110000111111111
+11000000000111110110001000001011
+11000000000111111110001000011101
+11000000001000000110001000100111
+11000000001000001110001000111100
+11000000000100011110001001001011
+11000000000111011110001001000110
+11000000000000101110001001001100
+11000000000101001110001001001101
+11000000000111000110001001001110
+11000000000111001110000101110101
+00100000001000000010101010001100
+00100000011000000000000000000000
+11000000010000001110000001101101
+11000000010000100110000010011001
+11000000010000010110000001110110
+11000000010000011110000100001101
+11000000010001011110000100011000
+11000000010010111110000101001110
+11000000010011001110000011010101
+11000000010011010110000010100100
+11000000010010101110000011011010
+11000000010010110110000011011011
+00100000001000000010101010001100
+00011000000000000111111000000010
+00100000010000000110001010011000
+01101000000000001000000001001001
+11100000101000001000000000000000
+00100000010000000110001010100111
+01000111010000011100000000110000
+01101000000000001000000001001001
+11000000000001000110000010000000
+11000000000001111110000010000100
+11000000000010000110000010001111
+11000000000010111110000001011111
+11000000000110011110000010010010
+11000000001000001110000010011000
+11000000000010001110000001011001
+00100000011000000000000000000000
+01101000000000001000000001010101
+00100000011110100000000000000000
+01110000000000000101010100011011
+01011000000000000000000000001100
+11011000111000000000000000000111
+00100000001000000111111100001000
+00100000001000000010011011000110
+00011000000000000111111000000011
+00100000010000000110001010011000
+01101000000000001000000001001001
+11000000000001011110000001101000
+11100000101000001000000000000000
+01101000000000001000000001001010
+11100000101000001000000000000000
+00100000001000000110001010100111
+11100000101000001000000000000000
+01101000000000001000000001001010
+11100000101000001000000000000000
+11011000010000000000010011010101
+00100000001000000110001011100010
+00011000000000000000111000000100
+00100000010000000110001010100000
+01011000000000000000000001111111
+11100000101000001000000000000000
+01101000000000001000000001001001
+01111001001111111111111000000111
+11100000101000001000000000000000
+01101000000000001000000001001001
+00100000001000000110001010100111
+00011000000000000000111000000101
+00100000010000000110001010100000
+01011000000000000000000001111111
+11100000101000001000000000000000
+01101000000000001000000001001001
+01111001001111111111111000000111
+11100000101000001000000000000000
+01101000000000001000000001001010
+11100000101000001000000000000000
+00100000001000000110001010100111
+00100000010000000010010001001111
+00100000010000000110001011110011
+00100000011000001000000000000000
+00100000001000000101111111111100
+01101000000000001000000001001011
+11000010100000101110000010001011
+11000100000000100000000000000000
+01110000000000000111110000010010
+01111001001111111111111000000100
+00100000010000000110001011101011
+00100000001000000110000010001101
+01110000000000000111110000010000
+01111001001111111111111000000101
+01100000000000001000000001001011
+00100000011000000000000000000000
+00100000010000000110001011111100
+00100000001000001101111111111110
+00100000011000000000000000000000
+01110000000000000111110010001011
+01101000000000001000010011010001
+01111001001000000111111000000000
+01100000000000001000010011010001
+01110000000010101001100100000001
+00100000001000000111110110000110
+00100000011000000000000000000000
+00011000000000000000111000001100
+00100000010000000110001010100000
+01011000000000000000000000000001
+11100000101000001000000000000000
+01101000000000010000010011001110
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000011000000000000000
+01011000000000000000000000000000
+11100000101000100000000000000000
+00100000001000000110001010110000
+00011000000000000000111000000101
+00100000010000000110001010100000
+01101000000000011100011001011011
+11100000101000011000000000000000
+00100000010000000110001010110000
+01110000010001100110010100000001
+01101000000000001100011001011011
+11000000000000001110000010110101
+11000000000000010110000010101111
+11000000000000011110000010111011
+00100000011000000000000000000000
+01101000000000001100011001011110
+11000000000000000110000011000111
+11000000000000001110000011000111
+11000000000000010110000011000111
+11000000000000011110000011000001
+00100000011000000000000000000000
+01101000000000001100011001011110
+11000000000000000110000011000001
+11000000000000001110000011000101
+11000000000000010110000011000111
+11000000000000011110000011000001
+00100000011000000000000000000000
+01101000000000001100011001011110
+11000000000000000110000011000001
+11000000000000001110000011000001
+11000000000000010110000011000001
+11000000000000011110000011000001
+00100000011000000000000000000000
+01110000010001100110001000000011
+01101000000000001100010101011100
+11000010100000000011001111101001
+00100000011000000000000000000000
+01110000010001100110001000000001
+00100000011000000000000000000000
+01110000010001100110001000000010
+00100000011000000000000000000000
+11011000111000000000000000000000
+00100000001000000110000011001101
+11011000111000000000000000000000
+00100000001000000110000011010001
+01101000000000001100010101011100
+11111001001000000111111000000000
+01100000000000001100010101011100
+00100000011000000000000000000000
+01101000000000001100010101011100
+11111001001111111111111000000000
+01100000000000001100010101011100
+00100000011000000000000000000000
+00011000000000000000111000000101
+00100000010000000110001010100000
+01101000000000011100011001011011
+11100000101000011000000000000000
+00100000001000000110001010110010
+00100000011000000000000000000000
+00011000000000000000111000001001
+00100000010000000110001010100000
+01101000000000001000000010010101
+11100000101000001000000000000000
+01101000000000010000000010010110
+11100000101000010000000000000000
+01101000000000100000000010010001
+11100000101000100000000000000000
+00100000001000000110001010110000
+00011000000000000111111000010001
+00100000010000000110001010011000
+01101000000000001000000001001001
+00011111111000100000010000000000
+11000000000000000110000011101100
+11000000000001110110000011101100
+11000000000011100110000011101100
+00100000011000000000000000000000
+11100000101000001000000000000000
+01101000000000001100010100010101
+11100000101000001000000000000000
+11011111001000000000000000001110
+01011000000000000100010100010110
+10011000010000001000110000000000
+00100000010000000111111100000001
+00100000001000000110001010110000
+00011000000000000111111000000011
+00100000010000000110001010011000
+01011000000000000000000100010100
+11100000101000010000000000000000
+00100000001000000110001010110000
+00011000000000000111111000000011
+00100000010000000110001010011000
+01101000000000100000000101100101
+10011100010001100111111000000000
+00100000001101001110000011111111
+00011111111001100111111000000000
+00011111111010110111111000000000
+01111001001111111111111000001111
+11100000101000010000000000000000
+00100000001000000110001010110000
+00011000000000000111111000000110
+00100000010000000110001010011000
+01101000000000101100010100010000
+11100000101000101000000000000000
+00100000001000000110001010110000
+00011000000000000111111000001001
+00100000010000000110001010011000
+01101000000001000100000010011000
+11100000101001000000000000000000
+00100000001000000110001010110000
+00011000000000000000111000001100
+00100000010000000110001010100000
+01011000000000000000000000000001
+11100000101000001000000000000000
+01101000000000010000010011001110
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000011000000000000000
+01011000000000000000000000000000
+11100000101000100000000000000000
+00100000001000000110001010110010
+00011000000000000000111000000011
+00100000010000000110001010100000
+01101000000000001100000101011010
+11100000101000001000000000000000
+01111000010101000111110000000000
+00100000010000000110001010110010
+00100100011101000000000000000000
+00100100011101001000000000000000
+01101000000000001100000011011000
+11000100000000000000000000000000
+00100000010000000110000100110010
+00100000001000000110000100111100
+01000111010000100100000000110000
+01101000000000001100000010011110
+01111001001000000111111000000011
+01100000000000001100000010011110
+01011000000000000000000100000001
+01100000000000010000010011001110
+00100000011000000000000000000000
+01000111010000101100000000110000
+01101000000000001100000010011110
+01111001001111111111111000000011
+01100000000000001100000010011110
+01011000000000000000000000000000
+01100000000000010000010011001110
+00100000011000000000000000000000
+01110000010000001101100000000011
+01011000000000000000000000000000
+01100000000000100100000101000010
+11011000101000000100000011011010
+00100000010000000110000101000000
+11011000101000000100000011100111
+00100000010000000110000101000000
+11011000101000000100000101000110
+00100000010000000110000101000000
+00100000001000000110000101000111
+11011000101000000100000011100111
+00100000010000000110000101000000
+00100000010000000110000101000111
+00100000001000000110000101001010
+01011000111111111111111111111111
+11100000101000011000000000000000
+11100000101000011000000000000000
+11100000101000011000000000000000
+01011000000000000000000001111111
+11100000101000001000000000000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000010100000011010110
+00100000011000000000000000000000
+01101000000000001100000011011000
+01111001001000000111111000000010
+01100000000000001100000011011000
+00100000011000000000000000000000
+00011000000000000000111000000010
+00100000010000000110001010100000
+00100100001101001110001010110000
+00100000001000000110001010110010
+00011000000000000111111000000010
+00100000010000000110001010011000
+01101000000000001000010011001010
+11100000101000001000000000000000
+00100000010000000110001010110010
+01101000000000001000000001001011
+01111001001000000111111000000011
+01100000000000001000000001001011
+01110000000000000111001000110010
+00100000011000000000000000000000
+00011000000000000111111000000001
+00100000010000000110001010011000
+00100000001000000110001010110010
+00011000000000000111111000000001
+00100000010000000110001010011000
+00100000001000000110001010110000
+00011000000000000111111000000010
+00100000010000000110001010011000
+01101000000000001000000001001100
+00101111111011000000000000000010
+01111001001000001111111000000000
+00011111111000010111111000000001
+11100000101000001000000000000000
+00100000001000000110001010110010
+00011000000000000111111000000011
+00100000010000000110001010011000
+01101000000000010000000001010001
+11100000101000010000000000000000
+00100000001000000110001010110010
+01110000000000000111001011111010
+00011000000000000111111000000010
+00100000010000000110001010011000
+01101000000000001000000001010011
+11100000101000001000000000000000
+00100000001000000110001010110010
+00011000000000000111111000001010
+00100000010000000110001010011000
+11011000110000000000000101010010
+00011000000000000111001000001001
+11101000110000001000000000000000
+00011111111000101111111001010101
+11100000101000001000000000000000
+11000010000000000110000101111001
+00100000001000000110001010110010
+00100000001000000110001010110010
+00100000001000000110001010110010
+00100000011101001000000000000000
+00100000010000000010100000101101
+00011000000000000111111000001001
+00100000010000000110001010011000
+01101000000000010000000101110001
+11100000101000010000000000000000
+01101000000000011100000010100000
+11100000101000011000000000000000
+01101000000000001100000010100011
+11100000101000001000000000000000
+01101000000000010100000010100100
+11100000101000010000000000000000
+11000101100000011110000110010001
+01111001001111111000000000000011
+00100000010000000110001010110010
+01110000000000000111110000010011
+00100000011000000000000000000000
+00100000010000000110001010110000
+01110000000000000111110000000011
+01110000000000000111110100010011
+00100000011000000000000000000000
+11011000010000000000001000000000
+00100000001101001110000110011001
+00011101000000100111111000000000
+00100000001000000110000110011010
+00011100010000100111111000000000
+00011100001000100111111000000000
+10011000010000001111111000000000
+00011111111000010111111111111100
+01100000000000100000000000110100
+00011000000000000111111000000101
+00100000010000000110001010011000
+01101000000000100000000000110100
+00011111111000110111111000000000
+11100000101000100000000000000000
+00100000001000000110001010110010
+00011000000000000111111000001010
+00100000010000000110001010011000
+11011000110000000000010011011001
+11101000110001001000000000000000
+11100000101001001000000000000000
+00100000001000000110001010110010
+00011000000000000111111000000011
+00100000010000000110001010011000
+01011000000000000000000100010100
+11100000101000010000000000000000
+00100000001000000110001010110010
+00011000000000000111111000000001
+00100000010000000110001010011000
+00100000001000000110001010110010
+00011000000000000111111000000010
+00100000010000000110001010011000
+01101000000000001100000011010000
+11100000101000001000000000000000
+00100000001000000110001010110010
+00011000000000000111111000000010
+00100000010000000110001010011000
+01011000000000000000000000000101
+11100000101000001000000000000000
+00100000001000000110001010110010
+00011000000000000111111000000010
+00100000010000000110001010011000
+01011000000000000000000000000000
+11100000101000001000000000000000
+00100000001000000110001010110010
+01110000000000000111110000101110
+00100000011000000000000000000000
+01101000000000001100000010010010
+00011111111001100111110000001010
+00100000010000101110000111000001
+01101000000000001000000000110000
+01111001001000000111111000000100
+01100000000000001000000000110000
+00011100010000100111111000000000
+01100000000000100000010011101001
+01101000000000001000010011010001
+11000010100000011110000111010100
+01111001001000000111111000000011
+01100000000000001000010011010001
+01110000000010101001100100000101
+00100000010000000111110110000110
+00011000000000000111111000000001
+00100000010000000110001010011000
+00100000001000000110001010110010
+01110000000000000100100000000000
+00100000011000000000000000000000
+00011000000000000111111000000110
+00100000010000000110001010011000
+01101000000000101100010100010000
+11100000101000101000000000000000
+00100000001000000110001010110010
+00011000000000000111111000001001
+00100000010000000110001010011000
+01101000000001000100000010011000
+11100000101001000000000000000000
+00100000001000000110001010110010
+01110000000010011011000100000001
+01101000000000001100010110110001
+11000001100000001000000000000000
+01110000000010011010111100010011
+00100000011000000000000000000000
+00100000010000000110001011101111
+01110000000000000111110010011001
+01110000000010011010111100000011
+00100000011000000000000000000000
+00100000010000000110001011101111
+01110000000000000111110000111101
+01110000000010011010111100000111
+00100000011000000000000000000000
+11011010001000000000101001001110
+11011010010000000000101001101110
+11011111001000000000000000010000
+00100000010000000111111110001000
+00100000001000101110000111110111
+01110000000010011010111100000000
+00100000010000000111011011011010
+01110000000000000111111000100100
+01110000000000000111110101000000
+00100000001000000101110101010011
+01110000000010011010111100001010
+00100000010000000111011011011000
+01110000000000000111110101000000
+00100000001000000101111000111000
+01110000000000000111110001000000
+00100000011000000000000000000000
+01110000000000000111110000111101
+00100000011000000000000000000000
+01110000000010011011011000000000
+00011000000000000111111000000100
+00100000010000000110001010011000
+00011000000000000111111000000001
+11100000101000001000000000000000
+00011000000000000111111000000001
+11100000101000001000000000000000
+00011000000000000111111000110000
+11100000101000001000000000000000
+00100000010000000110001011111100
+00100000001000001110001010110010
+00100000001000000110001010110000
+00011000000000000111111000010001
+00100000010000000110001010011000
+01101000000000001000100110110110
+11011000110000000100011000101010
+10011000110000001000110000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+01101000000000001000100110110110
+00011111111000001111111000010000
+01100000000000001000100110110110
+00100000010000000110001011111100
+00100000001000001110001010110010
+00100000001000000110001010110000
+01110000000010011010111000000110
+01110000000000000111110000111111
+00100000011000000000000000000000
+00011000000000000111111000010001
+00100000010000000110001010011000
+11011000110000000000101001001110
+11101000110001000000000000000000
+11100000101001000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+00100000001000000110001010110000
+01110000000000000111110001000000
+00100000011000000000000000000000
+00100000010000000110001011111100
+00100000010000001111011000010010
+00011000000000000111111000010001
+00100000010000000110001010011000
+11011000110000000000101000011110
+11101000110001000000000000000000
+11100000101001000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+00100000010000000110001011111100
+00100100001000001110001010110000
+00100000001000001110001010110010
+01110000000010011010111100001111
+00100000010000000110001011101111
+01110000000000000111110000001011
+00100000010000000110001100000111
+00100000001000001111011001001110
+00100000001000000111011001011000
+00100000010000000110001011101011
+01110000000000000111110001000001
+00100000011000000000000000000000
+00011000000000000111111000010001
+00100000010000000110001010011000
+11011000110000000000101001001110
+11101000110001000000000000000000
+11100000101001000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+00100000010000000110001011111100
+00100100001000001110001010110000
+00100000001000001110001010110010
+00011000000000000111111000000011
+00100000010000000110001010011000
+01011000000000001111111111111110
+11100000101000010000000000000000
+00100000001000000110001010110000
+00100000001000000110001010110010
+00100000001000000110001010110010
+00100000001000000110001010110010
+00100000001000000110001010110010
+00100000010000000110001100001011
+11011010001000000100000010100000
+00100000010000000110001100010001
+00011000000000000111111000010001
+00100000010000000110001010011000
+11011010001000000000010110000010
+11011010010000000000010101100010
+00100000010000000111001101010010
+00100100001101001110001010100111
+00100000001000000110001010101101
+00100000010000000110001100001011
+11011010001000000000000001000000
+00100000010000000111001001010101
+00011000000000000111111000010001
+00100000010000000110001010011000
+11011000110000000000010101100010
+00100000010000000111111010111111
+01101000000000001000000001010101
+11000000000011001110001010110010
+11000000000011000110001010110010
+00100000001000000110001010101101
+01101000000000001000100110110101
+00100000001110100110001001101010
+00100000010000000110001011111100
+00100000010000001110001011101111
+00100100010000001110001011101011
+00100000001000000110001001101011
+00100000010000000110001011101111
+00100000010000000110001100001011
+00100000001000000110001001011100
+11011010001000000100000010100000
+00100000010000000111001010001000
+00011000000000000111111000000101
+00100000010000000110001010011000
+01101000000000100000010110010010
+11100000101000100000000000000000
+11011000010000000000010011010101
+00100000010000000110001011100010
+00100000010000000111001110000110
+00100000010000000110001011111100
+00100000001000001110001001111100
+01110000000001001101100000000001
+01101000000000001000100110110101
+00100000011110100000000000000000
+01110000000000000111110000001011
+01101000000000001100000110111101
+00100000011110100000000000000000
+00100000010000000110001011111100
+00100100001000001110001010000100
+01101000000000001000010011010111
+00100000011110100000000000000000
+01110000000000000111110000001111
+00100000011000000000000000000000
+11000110100100001000000000000000
+01111001001111111000000000100001
+01110000000000000111110000001111
+00100000011000000000000000000000
+00100000010000000110001100001011
+00100000010000000111001010001011
+00011000000000000111111000010001
+00100000010000000110001010011000
+11011000110000000000010101100010
+00100000010000000111111010111111
+00100000001000000110001010101101
+00011000000000000111111000000001
+00100000010000000110001010011000
+00100000001000000110001010101101
+00011000000000000111111000000010
+00100000010000000110001010011000
+00011000000000000111111000010000
+11100000101000001000000000000000
+01100000000000001000000001010100
+00100000001000000110001010101101
+00011111111010011111111000000000
+00011111111000011111111000000111
+01100000000000001000010010110110
+11011111001000000000000000010001
+11011000101000000000010010111000
+00100000010000000111111011010100
+11011000101000000000010010111000
+00100000011000000000000000000000
+00011111111000010010001001111111
+01110000000000000100100001111111
+00011000111000100111111000000000
+00100000010000000110001010011000
+00011010001000100111111000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01101000000000001000000001001000
+00011111111000111111111000000000
+01101000000010001000000001001100
+00101000010011111111111000000001
+01111001001000001111111000000000
+00100000001000000110001010110111
+01101000000010001000000001001100
+00011000010000010000010000000001
+00100000001000000110001010110011
+00011000000000000000010000000000
+00100000001000000110001010110011
+00011000000000000000010000000001
+01101000000000001000000001001000
+00011111111000111111111000000000
+01111001001101001111111000000000
+10011000010000101111111000000000
+01100000000000001000010010110111
+01110000000000000100100000000000
+00100000010000000110001011000111
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101000000000001000000001111100
+00100000011110100000000000000000
+00100000010000000110001011000001
+01101000000000001000000001111100
+00100000011000000000000000000000
+01000111010000110100000000110000
+01101000000000001000000001001000
+00100000001110100110001011000111
+01101000000000001000000001111000
+00100100011110100000000000000000
+00100000001000000110001011010001
+01101000000000001000000001111000
+00100000001110100110001011010111
+01101000000000011000000001111000
+01100000000000011000000001001000
+01101000000010001000000001111011
+01101000000000001000000001001100
+01111001001111111111111000000001
+10011000010000011111111000000000
+01100000000000001000000001001100
+01110000000000000111100000000000
+01101000000000001000000001111100
+00100000011110100000000000000000
+01101000000000100000000001111100
+01100000000000100000000001111000
+01110000000000000111110000000000
+00100000011000000000000000000000
+01101000000000001000000001111100
+00100000011110100000000000000000
+01101000000000011000000001111100
+01100000000000011000000001001000
+01101000000010001000000001111111
+01101000000000001000000001001100
+01111001001111111111111000000001
+10011000010000011111111000000000
+01100000000000001000000001001100
+01110000000000000111110000000000
+00100000011000000000000000000000
+01000111010000111100000000110000
+01101000000000001000000001001100
+00011111111000100010011000000000
+11101000010000001000000000000000
+00100000010000000101111001010010
+00100000010000000110001010100111
+00011010011000100111111000000000
+01100000000000001000000001001100
+00100000011000000000000000000000
+01101000000010001000000001001100
+01111001001111111000010000000000
+01100000000010001000000001001100
+00100000011000000000000000000000
+01101000000010001000000001001100
+01111001001000000000010000000000
+01100000000010001000000001001100
+00100000011000000000000000000000
+01111101001101001111111000000001
+01101000000010001000000001001100
+10011000010000101111111000000000
+00101111111011111111111000000001
+00100000011000000000000000000000
+01101000000000001000000001001100
+01111001001101001111111000000001
+01100000000000001000000001001100
+00100000011000000000000000000000
+01101000000000001000100110110100
+00101111111000001111111000000001
+00100000011000000000000000000000
+01101000000000001000100110110100
+01111001001000000111111000000111
+01100000000000001000100110110100
+00100000011000000000000000000000
+01101000000000001000100110110100
+01111001001111111111111000000111
+01100000000000001000100110110100
+00100000011000000000000000000000
+01101000000000001000100110110100
+00101111111011111111111000000111
+01100000000000001000100110110100
+00100000011000000000000000000000
+11011000101000000000010101100010
+00011000000000000111001000010000
+00011000000010100111111000000000
+11100000101000001000000000000000
+11000010000000000110001100001101
+00100000011000000000000000000000
+00100000010000000111001001011001
+11011010001000000100000110111110
+11011010010000000000010110010010
+11101010001001000000000000000000
+01101000000010001000000000110000
+01111101001110100000010000000110
+01100000000010001000000000110000
+00011010001000100000101000000000
+00100000010000000111001101010010
+00100000001000000010000111000100
+01000111010001000100000000110001
+00100000010000000110001010111100
+00100100011110100000000000000000
+01101000000000001000000001010101
+00100000011110100000000000000000
+11000000000000100110001101101111
+11000000000000101110001101110100
+11000000000000010110001101100110
+11000000000000011110001101111100
+11000000000001110110001101101001
+11000000000000110110001110011000
+11000000000000111110001110110000
+11000000000001001110001110110001
+11000000000001010110001110111010
+11000000000001011110001110111110
+11000000000001100110001110000110
+11000000000001101110001110001001
+11000000000001111110001110001111
+11000000000010010110001101011001
+11000000000010011110001101111100
+11000000000010000110001101011100
+11000000000010100110001101010110
+11000000000010101110001101111100
+11000000000010110110001101010000
+11000000000011000110001101010101
+11000000000010111110001101001001
+11000000000011001110001101001111
+11000000000011010110001100111010
+11000000000011011110001101000100
+01110000000000000101010100000000
+00100000011000000000000000000000
+01101000000000001000010011010001
+11000100000000010000000000000000
+11000100000000011000000000000000
+01110000000000000101010100000000
+00100000010000000110001101000000
+00100000001000000110110011101111
+01101000000000001000000101101101
+11000100000000001000000000000000
+01110000000000000101010100001010
+00100000011000000000000000000000
+11011000111000000000000000000111
+00100000010000000111111100010110
+00100100011110100000000000000000
+01110000000000000101010100011010
+00100000011000000000000000000000
+01101000000000001000000101101101
+01111001001111111111111000000000
+01100000000000001000000101101101
+01110000000000000101010100011001
+01110000000000000111110000001011
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101000000000001000010011010100
+11000001100000010000000000000000
+00100000010000000110001111000000
+01110000000000000101010100011000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000000000000101010100010101
+01110000000000000111110010000011
+00100000011000000000000000000000
+01110000000000000101010100010011
+01110000000000000111110000100101
+00100000011000000000000000000000
+01101000000000001100010101011011
+11000001000000000000000000000000
+11000000000000001110001101100100
+11011000111000000000000000000110
+00100000010000000111111100010110
+00100100011110100000000000000000
+01110000010001010101101100000000
+00100000001000000110001101111101
+00100000011101001000000000000000
+00100000001000000110001110011000
+01110000000000000101010100000011
+01110000000000000111110000100111
+00100000011000000000000000000000
+01110000000000000111110000010011
+01111001001000000000000000000011
+01110000000000000101010100000101
+01011000000000000000000111111111
+01100000000000010000010011010010
+00100000011000000000000000000000
+01110000000000000101010100000101
+01110000000001001101001011111111
+01111001001111111000000000100010
+01110000000000000111110000110011
+00100000001000000101110100000100
+11000110000100010000000000000000
+01101000000000010000010011010010
+00011111111001100111111000000001
+00100000001000101110001101111010
+01100000000000010000010011010010
+00100000011000000000000000000000
+01110000000000000101010100001110
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101000000000001000010011010001
+11000100000000011000000000000000
+11000100000000010000000000000000
+01101000000000001000000101101101
+01111001001111111111111000000010
+01100000000000001000000101101101
+01110000000000000111110000010011
+01110000000000000101010100010000
+00100000011000000000000000000000
+01110000000000000101010100001101
+01110000000000000111110000110001
+00100000011000000000000000000000
+01101000000000001000010011010001
+11000100000000010000000000000000
+01110000000000000101010100000000
+00100000011000000000000000000000
+01110000000000000101010100000110
+00100000011000000000000000000000
+01101000000000001000010011010010
+00011111111000001111111111111111
+00100000001110100110001110010100
+01100000000000001000010011010010
+00100000011000000000000000000000
+01110000000000000111110000000111
+01110000000001001100101000010110
+01110000000000000101010100000000
+00100000011000000000000000000000
+01101000000000001000000101101101
+11000010100000010110001101111101
+11000010100000000110001110011101
+01110000000000000101010100011010
+00100000011000000000000000000000
+01101000000000001100000110111101
+00100000001110100110001110101001
+01101000000000001000010011010001
+11000100000000011000000000000000
+11000100000000010000000000000000
+01101000000000100000010011101001
+11011000010000000000000001100100
+10011000010000001000010000000000
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+00100000001000000110001101001001
+01110000000000000101010100010110
+01110000010001101000100100000100
+01011000000000000011000000110000
+01100000000000010100011010001010
+11100000101000010000000000000000
+01110000000001001101010000000010
+00100000001000000110001101010000
+00100000011000000000000000000000
+01101000000000001000000101101101
+11000010100000001110001110110101
+01110000000000000101010100011010
+00100000011000000000000000000000
+01101000000000001000000101101101
+01111001001111111111111000000001
+01100000000000001000000101101101
+01110000000000000111110000001111
+00100000011000000000000000000000
+01101000000000001000010011011000
+00100000011110100000000000000000
+01110000000000000101010100000000
+00100000001000000110001110110101
+01110000000000000101010100001100
+00100000011000000000000000000000
+01101000000000001000000001001011
+11000010100000010110001111000101
+00100000010000000110001011101111
+01110000000000000111110000001000
+00100000001000000100110100000100
+01101000000000001000000001001011
+01111001001111111111111000000010
+01100000000000001000000001001011
+00100000010000000110000000000001
+00100000010000000110001011111000
+00100000001000000100110100000100
+01011000000000000000000000000100
+01100000000000001100011010001001
+01011000000000000011000000110000
+11100000101000010000000000000000
+11100000101000010000000000000000
+00100000011000000000000000000000
+01000111010001100100000000110001
+01101000000100001000000001110011
+11011000010000000000000000000110
+10011000010000011111111000000000
+01100000000100001000000001110011
+01101000000100001000000001110111
+10011000010000011111111000000000
+01100000000100001000000001110111
+00100000010000000110001111101110
+01101000000100001000000001110111
+01111001001111111111111000000001
+01111001001111111111111000000010
+01100000000100001000000001110111
+00100000000000000000000000011110
+00100000001000000110001111110010
+01101000000100001000000001110011
+11011000010000000000000011000000
+10011000010000011111111000000000
+01100000000100001000000001110011
+01101000000100001000000001110111
+10011000010000011111111000000000
+01100000000100001000000001110111
+00100000010000000110001111101110
+01101000000100001000000001110111
+01111001001111111111111000000110
+01111001001111111111111000000111
+01100000000100001000000001110111
+00100000000000000000000000011110
+00100000001000000110001111110110
+01101000000100001000000010000001
+00011111111000010111111011111100
+01100000000100001000000010000001
+00100000011000000000000000000000
+01101000000100001000000010000001
+00011111111000011111111000000001
+01100000000100001000000010000001
+00100000011000000000000000000000
+01101000000100001000000010000001
+00011111111000011111111000000011
+01111001001111111111111000000100
+01100000000100001000000010000001
+00100000011000000000000000000000
+00011111111000100010010000000000
+00100000010000000110010000001111
+00100000000000000000000001100100
+00011010010000100111111000000000
+00100000010000000110010000010100
+00011111111000100010010000000000
+00100000010000000110010000010001
+00100000000000000000000001100100
+00011010010000100111111000000000
+00100000011000000000000000000000
+00011111111000100010010000000000
+00100000010000000110010000001111
+00100000000000000000000001100100
+00011010010000100111111000000000
+00100000010000000110010000010011
+00100000010000000110010000010001
+00100000000000000000000001100100
+00100000011000000000000000000000
+01101000000010001100001000010100
+00100000001000000110100000001110
+01101000000010001100001000010100
+00100000001000000110100000101001
+01101000000010001100001000010100
+00100000001000000110100000100101
+00100000001000000110010011101100
+00100000001000000110010011110011
+00100100001101000110010000011001
+01101000000100001000000010000101
+00011111111000011111111000000010
+01100000000100001000000010000101
+00011000010000100111110000000000
+00100000001000101110010000011100
+00011010011000100111101000000000
+00101111110011000000000000000000
+00100000001000000110010010111001
+00011000000000000000010000000100
+11011010001000000000000111111110
+01101000000100001000000010000101
+00011111111000010111111011111101
+01100000000100001000000010000101
+00100000010000000110010000011001
+11011010001000000101010110101010
+01101000000000010000000111111110
+11101000110010010000000000000000
+10011010001001100111110000000000
+00100000011000000000000000000000
+11011000010000000000000000000010
+11011010001000000000001000000100
+00100000010000000110010000011001
+01101000000000010000001000000100
+01100000000000010000000111110111
+00100000010101000110010000110000
+00100000011000000000000000000000
+11011000010000000000000000010000
+11011010001000000000001000000110
+01101000000100001000000010000101
+00011111111000010111111011111101
+01100000000100001000000010000101
+00100000010000000110010000011001
+11011000110000000000001000000110
+11011111001000000000000000010000
+00100000010000000111010001111000
+00100000010000000111010000101000
+00100000010000000111010010010001
+00100000001000000111010000100010
+01111000010101101111110000000000
+00100000010000000110010000011110
+00100100011000101000000000000000
+01111000001101101111110000000000
+01110000100000000010001110000000
+01110000100000000010001000000000
+01110000100000000010010000000000
+11011010001000001000000000100101
+00100000010000000110010000010101
+01110000100000000010001100000000
+11011000010000000000000000000110
+00100000010000000110010000011111
+00100100011000101000000000000000
+11101000110000010000000000000000
+10011000000000000010001000000000
+00100000010000000110010000011001
+00100000001000000110010001000110
+00100000010000000111111110011001
+01011000000000000001000000000000
+01100000000000010000000111110111
+11011010011000000110010111100101
+11011111001000000000000000000010
+00100000010000000110010000011110
+00100100011000101000000000000000
+01101000000000010000000111110111
+00011111111100001111111000000000
+10011000010000001111111000000000
+00011111111100001111111000000000
+01100000000000010000000111110111
+11000010000000000110010001010010
+00100000001000000110010001000110
+00100000010000000111111110011001
+01111000010101000111110000000000
+00100000010000000110011001101010
+01011000000000000000000000000000
+11011010001000000000000111110011
+11011000010000000000000000000010
+00100000010000000110011010110011
+01101000000000010000000111110011
+11000011000000111110010001101110
+01110000100000000101000000100101
+01011000000000000000011111110000
+11011010001000000000001000000110
+11011000010000000000000000010000
+00100000010000000110011010110011
+01110000100000000000011000001000
+01111001001000000000000000101011
+11011000110000000000001000000110
+00100000010000000111010010000100
+01111000001101000111110000000000
+01110000010000011101101000000000
+00100000010000000110010010110000
+01101000000000010000000111110011
+00011111111100001111111000000000
+11011000010000000000011111111111
+10011000010000010111111000000000
+00100000001000101110010001111011
+00100000010000000110011001101111
+11011010011000000110011010111000
+00100000010101000110010000110000
+00100000010000000110010000111100
+01101000000000001000000111110010
+11000011000000000110010001101111
+00100000010000000110011001101101
+01110000010000011101101000000000
+00100000010000000110010010110000
+00100000010000000110010111000010
+01101000000000001000000111110011
+11000010100000110110010010001110
+00100000010000000110010010101010
+00100100001101101110010010000110
+01101000000000001000000111110010
+11000011000000000110010001111101
+00100000001000000110010010011011
+00100000010000000110010110111111
+01101000000000001000000111110011
+11000010100000110110010010001110
+00100000010000000110010010101010
+00100100001101101110010010001110
+01101000000000001000000111110010
+11000011000000000110010001111101
+00100000001000000110010010011011
+01110000010000011101101000000000
+00100000010000000110010010110000
+01101000000000001000000111110011
+11000010100000101110010010011011
+01011000000000000000000000000000
+01100000000000011000000111110110
+00100000010000000110010100000010
+11011010011000000110010101111000
+00100000010000000110010000101001
+00100000010000000110010000111100
+00100100001101101110010010011011
+01101000000000001000000111110010
+11000011000000000110010010001111
+11000101000101011110010010011101
+00100000010000000110010010100011
+01101000000000001000000111110011
+11000011000000100110010010100011
+01110000100000000101000000100001
+00100000010000000100110000001110
+00100000010000000100110000101110
+00100000001000000110010010100001
+01011000000000000000000000000000
+01100000000001000000001000000110
+01100000000001000000001000001110
+00011000000000000111000000000100
+00100000010000000111010010010010
+01110000100000000101000000100001
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000010000000111110111
+11011010011000000110010111100101
+00100000010000000110010110100011
+00100000010000000110010000101001
+00100000001000000110010000111100
+01101000000000001100000111011010
+00011111111000001111111000000001
+00011111111001100111110000000011
+00100100001000010110010010110110
+01100000000000001100000111011010
+00100000011000000000000000000000
+00100000010000000110010010100011
+00100000010000000111111110100001
+00100000011000000000000000000000
+01101000000000001000000111110010
+00011111111000111111111000000000
+01111001001000001111111000000000
+00101010001011000000000000001111
+00100000011000001000000000000000
+01100000000000001000000111110010
+00100000011000000000000000000000
+01101000000100001000000010000101
+11000100000000001000000000000000
+00100000001000000110010011000110
+01101000000100001000000100101100
+10101111111011111111111111111111
+00100000011000001000000000000000
+01101000000100001000000100001000
+11000011000000001110010011000011
+00100000010000000111010000100010
+00100000001000000110010011000011
+01101000000000010100000110011001
+00100000011110100000000000000000
+01110000100000000010001110000000
+01110000100000000010001000000000
+01110000100000000010010000000000
+01101000000010010100000110011011
+00011000010010111111001000000000
+10011000000000000000110000000000
+11101000110000001000000000000000
+01100000000100001000000000100101
+11000010000000000110010011010010
+01110000100000000010001100000000
+00100000011000000000000000000000
+01000111010001101100000000110001
+00100000010000000110010011011101
+00100000001000000110001111110010
+00100000010000000110010011011101
+00100000010000000110001111101110
+00100000001000000110001111110110
+01101000000000001100001000010010
+01100000000100001000000010000110
+01101000000000001100001000010011
+01100000000100001000000010000111
+01011000000000000000000111110101
+01100000000100010000000010001010
+01011000000000000000000111111010
+01100000000100010000000010001100
+00100000001000000110001111101110
+01101000000100001000000010000110
+01111001001000000111111000000111
+01100000000100001000000010000110
+01111001001111111111111000000111
+01100000000100001000000010000110
+00100000011000000000000000000000
+01111001001000000111111000000111
+01100000000000010000000111110101
+01000111010001110100000000110001
+01110000100000001000100000000010
+01110000100000001000111000000000
+01110000100000000000011000000010
+00100000001000000110010011111100
+00011000000000000000010000000001
+01100000000000001000000111110101
+01000111010001111100000000110001
+01110000100000001000100000000001
+01100000000110010000000010001110
+01110000100000000000011000000010
+00100000010000000110010011111100
+01101000000000001000000111111010
+00100000011000000000000000000000
+01101000000000010100000011010110
+00011111111000001111111000000001
+01100000000000010100000011010110
+01101000000100001000000100101100
+11000011000000011110010011111100
+00100000011000000000000000000000
+01110000100000001000011001000000
+01110000100000001000011100000000
+01101000000100001000000010000001
+01111001001111111111111000000000
+01111001001000000111111000000001
+01100000000100001000000010000001
+01011000000000000000000000000000
+01100000000000100000000111110101
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000100010000000010001110
+01011000000000000000000000000001
+01100000000100010000000010001000
+01011000000000000000000111110101
+01100000000100010000000010001010
+01110000000000011111010100000110
+01110000100000000000011000000010
+00100000001000000110010011111100
+01111000010101000111110000000000
+00011111111000100010010000000000
+01101000000000001100001000111001
+11000001100000000000000000000000
+01111000001101000111110000000000
+00011010010000100111111000000000
+00100000001000000110010100100010
+01101000000000001100001000111001
+11000000000000001110010100100010
+11000000000000010110010100101000
+11000000000000011110010100110000
+11000000000000100110010100110111
+11000000000000101110010100111101
+00100000011000000000000000000000
+01100000000000011100001000110010
+00011010001000100111111000000000
+01100000000000010100001000110101
+01100000000010010100001000110111
+01110000010000100011100100000010
+00100000001000000110010100000010
+00100000010000000110010100000010
+01110000010000100011100100000011
+00100000010000000110010100001011
+11011010001000000000000111110101
+01101000000000011100001000110010
+01110000100000001000100000000100
+11011000010000000000000000100000
+00100000001000000110010101010110
+00100000010000000110010100000010
+00100000010000000110010100001011
+01011000000000000000000000000101
+00100000010000000110010011110011
+11000011100000000000000000000000
+01110000010000100011100100000100
+00100000011000000000000000000000
+00100000010000000110010100000010
+01110000010000100011100100000101
+00100000010000000110010100001011
+00100000010000000110010101001010
+00100000010000000110010101010010
+00100000001000000110010101000101
+00100000010000000110010100000010
+00100000010000000110010100001011
+01011000000000000000000000000101
+00100000010000000110010011110011
+11000011100000000000000000000000
+01110000010000100011100100000000
+01101000000000010100001000000001
+00100000001000000111111110011100
+01101000000000100000101010100010
+01101000000010010100001000110101
+00011000010000001000010111111100
+11100000010000100000000000000000
+00100000011000000000000000000000
+01101000000010010100001000110101
+00011000010000100010001000000000
+00011000010000001000010111111100
+11101000010000100000000000000000
+01100000000000100000101010100010
+01101000000010010100001000110111
+01101000000000011100001000110010
+00100000011000000000000000000000
+00011000010000001000010000000100
+01100000000110010000000010001000
+11011000010000000000000000000010
+00011010001000001010001111111100
+11100010001010001000000000000000
+00011111111100010000010000000000
+11100000101010001000000000000000
+00011111111011001000010000000000
+11100000101010001000000000000000
+11100000101000001000000000000000
+00011010001000100111111000000000
+01100000000100010000000010001010
+01011000000000000000000000000000
+01100000000100010000000010001110
+01110000100000000000011000000010
+00100000001000000110010011111100
+01100000000110010000000010001110
+00011111111100010000010000000000
+01100000000010001000000111110110
+00011111111011001000010000000000
+01100000000010001000000111110111
+01100000000000001000000111111000
+01011000000000000000000000000100
+01100000000100010000000010001000
+01110000000000011111010100000011
+01011000000000000000000111110101
+01100000000100010000000010001010
+00011010001000100111111000000000
+01100000000100010000000010001100
+01101000000100001000000010000110
+00101010001011000000000000001111
+01111001001000001111111000000110
+01100000000100001000000010000110
+01110000100000000000011000000010
+01101000000100001000000100101100
+11000010100000111110010101110100
+11011000111000000000000000000011
+00100000001000000110010011111100
+01100000000110010000000010001110
+01011000000000000000000000000100
+01100000000100010000000010001000
+01110000000000011111010100000011
+01011000000000000000000111110101
+01100000000100010000000010001010
+00011010001000100111111000000000
+01100000000100010000000010001100
+01101000000100001000000010000110
+00101010001011000000000000001111
+01111001001000001111111000000110
+01100000000100001000000010000110
+01110000100000000000011000000010
+01101000000100001000000100101100
+11000010100000111110010110000101
+11011000111000000000000000000011
+00100000010000000110010011000000
+00100000010000000110010011111100
+00101111111011111111111000000010
+00100000010000000110010010111001
+01101000000000001000000111110110
+00011111111100000010010000000000
+01101000000000001000000111110111
+00011111111011010111111000000000
+10011010010000011010010000000000
+01101000000000001000000111111000
+10011010010000011111111000000000
+10011000010000001111111000000000
+01100000000000001000000111111000
+00011111111011001111111000000000
+01100000000000001000000111110111
+00011111111011001111111000000000
+01100000000000001000000111110110
+00100000011000000000000000000000
+01110000100000000001000000000001
+00100000011000000000000000000000
+01110000100000001001000100001100
+01110000100000001001001000001101
+01110000100000001001001100001101
+01110000100000001001010000001101
+01110000100000001001010100001101
+01110000100000001001011000001100
+00100000001000000110010110101001
+01110000100000001001000100000101
+01110000100000001001001000000111
+01110000100000001001001100000111
+01110000100000001001010000000111
+01110000100000001001010100000111
+01110000100000001001011000000101
+01101000000100001000000001111011
+00011111111000011111111011000000
+01100000000100001000000001111011
+01101000000100001000000010000001
+00011111111000011111111000010000
+01100000000100001000000010000001
+00100000011000000000000000000000
+01101000000100001000000100101100
+11000011000000101110010110110000
+00100000011000000000000000000000
+01100000000100010000000010011000
+00011010001000100111111000000000
+01100000000100010000000010011010
+00011010010000100111111000000000
+01100000000100010000000010011100
+00011000010000100111111000000000
+01100000000100010000000010011110
+11011000010000000000000000000001
+01111101001110100000010000000001
+01100000000100001000000010010000
+01110000100000000000011000000100
+00100000001000000110010110110000
+01111001001000000000000000101000
+01110000010000100001000100001000
+00100000011000000000000000000000
+01111001001111111000000000101000
+01110000010000100001000100100000
+00100000011000000000000000000000
+01101000000000001100001000000011
+10011010010000001111111000000000
+01100000000000001000000111110111
+00100000001000000110010111001100
+01101000000000010000000111110111
+00011111111100001111111000000000
+01100000000000001000000111110111
+01011000000000000000000000000011
+01100000000100010000000010011000
+01110000000000011111011010100000
+01110000000000011111100010100001
+00100000001000000110010111101011
+01100000000010010000101010100010
+00100000010000000110010111010110
+01101000000010010000101010100010
+00100000010000000110011000000110
+00100000001000000110010111011101
+01101000000000001100001000111010
+11000001011111111000000000000000
+11000011000000110110010111011011
+01011000000000100100100111110000
+00100000010000000010101010001111
+01101000000010001100001000111010
+00100000001000000110100000101001
+01101000000010001100001000111010
+00100000001000000110100000100101
+01000111010010000100000000110010
+11000101000101000110010111000101
+01101000000000010100001000000011
+10011010010000001111111000000000
+00011111111100001111111000000000
+01100000000000010000000111110111
+01000111010010001100000000110010
+11000101000101000110010111001001
+01011000000000000000000000000100
+01100000000100010000000010011000
+01110000000000011111011010100000
+01110000000000011111100110100001
+01011000000000000000000111110110
+01100000000100010000000010011010
+01100000000110010000000010011110
+00011010001000100111111000000000
+01100000000100010000000010011100
+01011000000000000000000000000010
+00101010001011000000000000001111
+01111001001000001111111000000000
+01100000000100001000000010010000
+01110000100000000000011000000100
+11011000111000000000000000000101
+00100000010000000110010011000000
+00100000010000000110010110110000
+00101111111011111111111000000100
+00100000010000000110010010111001
+11000101000101000110011000000001
+01101000000000010000000111110111
+00011111111100001111111000000000
+10011000010000001111111000000000
+00011111111100001111111000000000
+01100000000000010000000111110111
+00100000011000000000000000000000
+01101000000000001000000111110111
+10011000010000001111111000000000
+00011111111100001111111000000000
+01100000000000010000000111110111
+00100000011000000000000000000000
+01101000000000010100001000000011
+10011010010000001111111000000000
+01100000000000010000101010011010
+01000111010010010100000000110010
+01100000000010010000101010100010
+00011010001000100111111000000000
+01100000000000010000101010111001
+00100000010000000110011000011101
+01101000000010010000101010110010
+01101000000000010000101010111001
+00011111111000100010001000000000
+01101000000000010000101010011010
+00100000010000000110011000111101
+01101000000000010000101010110010
+01101000000010010000101010111001
+10011000010000001000010000000000
+01100000000010010000101010111001
+01101000000010010000101010011010
+10011000010000001000010000000000
+01100000000010010000101010011010
+01101000000000010000101010100010
+00100100001110100110011000001101
+00100000011000000000000000000000
+01000111010010011100000000110010
+01101000000000001100001000010001
+00011111111000001111111111111111
+01101000000010010000101010011010
+10011000010000011111111000000000
+00011111111000001111111000000001
+01100000000000011000101010110110
+01101000000000010000101010100010
+10011000010000001111111000000000
+01101000000010011000101010110110
+10011000010001100111111000000000
+00100100001000010110011000101111
+01100000000000010000101010100010
+01101000000000011000101010110110
+01101000000010010000101010011010
+10011000010001100111111000000000
+01100000000000010000101010110010
+00100000011000000000000000000000
+01101000000000010000101010100010
+01100000000000010000101010110010
+01011000000000000000000000000000
+01100000000000010000101010100010
+00100000011000000000000000000000
+00011000010000001000010000000010
+01100000000110010000000010011000
+00011010001000001010001111111110
+11101010001010011000000000000000
+00011000010000100010010000000000
+11011000010000000000000010100000
+11100010001010001000000000000000
+11100000101000001000000000000000
+00100000001000000110011001001010
+00011111111000100010010000000000
+01000111010010100100000000110010
+11000101000101000110011000110100
+00011010010000100111111000000000
+00011000010000001000010000000011
+01100000000110010000000010011000
+00011010001000001010001111111101
+11101010001010011000000000000000
+00011000010000100010010000000000
+11011000010000000000000010100000
+11100010001010001000000000000000
+00011111111100001111111000000000
+11100000101000010000000000000000
+00011010001000100111111000000000
+01100000000100010000000010011010
+01011000000000000000000000000000
+01100000000100010000000010011110
+01110000100000001001000000000001
+01110000100000000000011000000100
+00100000010000000110010110110000
+00011010010000100111111000000000
+11100010001000011000000000000000
+01000111010010101100000000110010
+01110000000000011111100100000000
+01011000000000000000000000000001
+01100000000100010000000010011000
+01110000000000011111011010100000
+01011000000000000000000111110110
+01100000000100010000000010011010
+01011000000000000000000000000000
+01100000000100010000000010011110
+01100000000100010000000010011100
+01011000000000000000000000000011
+01100000000100001000000010010000
+01110000100000000000011000000100
+00100000010000000110010110110000
+01101000000100001000000100101100
+11000100000000110000000000000000
+00100000000000000000010111011100
+01101000000000001000000111111001
+00011111111000001111111000000001
+01100000000000001000000111111001
+00011111111001100111110000101000
+00100100011000010000000000000000
+00100000001000000110011001010101
+01110000100010010111001101110000
+00100000000000000000101110111000
+00100000011000000000000000000000
+01110000100010010111001100110000
+00100000011000000000000000000000
+00011111111010011111111000000000
+01100000000100010000000001000101
+01110000100000000100101100000000
+00100000011000000000000000000000
+00100000010000000110011001101111
+00100000010000000110011010100000
+11101010001010001000000000000000
+00011010001000001010001000000001
+00011000000000000000111000000000
+10101000010011000000000000000000
+00100000001000001110011010010111
+01101000000100001000000001000110
+01111001001000000111111000000110
+01111001001000000111111000000111
+01100000000100001000000001000110
+01110000100000000100011100000010
+01110000100000000100011110000010
+01111001001111111111111000000111
+01100000000100001000000001000110
+01110000100000000100011110001010
+00100000000000000000000000001011
+01110000100000000100011111001010
+00100000000000000000000000100001
+01110000100000000100011101001010
+00100000000000000000000000101100
+01110000100000000100011111001010
+00100000000000000000000000010110
+01110000100000000100011110001010
+00100000000000000000000000100001
+01110000100000000100011110000010
+00100000000000000000000000000001
+01110000100000000100011110010010
+00100000000000000000000000001010
+01110000100000000100011110110010
+01101000000100001000000000000111
+01110000100000000100011110010010
+00100000000000000000000000000001
+01110000100000000100011110000010
+10101111111011000000000000000000
+00100000001000001110011001111000
+01101000000100010000000001000101
+00011111111000001111111000000001
+01100000000100010000000001000101
+00011000111000001000111000000001
+00101000111000000001111000001000
+00100100001000001110011001111000
+11000010000000000110011001110101
+01110000100000000100011110000011
+00100000011000000000000000000000
+01110000100000000100011110000010
+00100000000000000000000000001100
+01110000100000000100011110000000
+01110000100000000100011110000010
+00100000000000000000000010010110
+00100000011000000000000000000000
+00100000010000000110011010100000
+01110000100000000100011110100010
+00011010001000100111111000000000
+01100000000100010000000001001000
+01111001001000000000010000001011
+00101111111011000000000000001111
+01111001001000001000010000001111
+01100000000110010000000001001010
+01110000100000000000011000000001
+00100000011000000000000000000000
+01101000000100001000000100101100
+11000011000000001110011010110000
+00100000011000000000000000000000
+00100000010000000110011001101111
+00100000010000000110011010100110
+00100000010000000110011010110000
+01110000100000000100011110000011
+00100000011000000000000000000000
+01101000000100010000000100100100
+01100000000100010000000001000101
+00100000010000000110011010100110
+11011000111000000000000000000001
+00100000010000000110010011000000
+00100000010000000110011010110000
+00101111111011111111111000000000
+00100000010000000110010010111001
+01110000100000000100011110000011
+00100000011000000000000000000000
+01101000000100010000000001011110
+10011000000000000001010000000000
+00100000011000000000000000000000
+00011001010000100111111000000000
+01100000000100010000000001011110
+00100000011000000000000000000000
+00011000011000100111111000000000
+01100000000100010000000001011000
+00100000011000000000000000000000
+01101000000100010000000001011000
+00011111111000100000011000000000
+00100000011000000000000000000000
+01101000000000010100001001000011
+01100000000100010000000001010010
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+00011111001000001111001111111000
+00100000010000010110011011011110
+00100000011000101000000000000000
+00100000001000010110011011010011
+00011111001000001111001000001000
+00011111001000001111001111111100
+00100000010000010110011011100001
+00100000011000101000000000000000
+00100000001000010110011011011000
+00011111001000001111001000000100
+00100000001000000110011011100100
+11101000110001000000000000000000
+11100001010001000000000000000000
+00100000011000000000000000000000
+11101000110000100000000000000000
+11100001010000100000000000000000
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+11101000110000001000000000000000
+11100001010000001000000000000000
+11000010000000000110011011100110
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+00011111001000001111001111111000
+00100000010000010110011011110111
+00100000011000101000000000000000
+00100000001000010110011011101100
+00011111001000001111001000001000
+00011111001000001111001111111100
+00100000010000010110011011111010
+00100000011000101000000000000000
+00100000001000010110011011110001
+00011111001000001111001000000100
+00100000001000000110011011111101
+11101000011001000000000000000000
+11100000101001000000000000000000
+00100000011000000000000000000000
+11101000011000100000000000000000
+11100000101000100000000000000000
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+11101000011000001000000000000000
+11100000101000001000000000000000
+11000010000000000110011011111111
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+11101000011000001000000000000000
+11100001010000001000000000000000
+11000010000000000110011100000101
+00100000011000000000000000000000
+01110000000010101001100100111101
+00100000001000000111110110000110
+01000111010010110100000000110010
+01101000000000001100001000010111
+00100000011110100000000000000000
+00100000010000000110011110100011
+00100000010000101110011110101001
+00100000010000000110011100111110
+01101000000000001100001000010111
+00011111111000100010011000000000
+01101000000010010100001000010101
+01100000000010010000000110001100
+00011010011000100111111000000000
+00100000001110100110011100001001
+00011010011000001010011111111111
+00011000010000100010001000000000
+11101010001000001000000000000000
+01101000000010001000000110000100
+10011000010001100111110000000000
+00100000010000101110011100100101
+00100000001000010110011100100001
+11101010001000001000000000000000
+00011111111000001111111000000001
+11100010001000001000000000000000
+01101000000010010000000110001100
+00011000010000001000010000100010
+01100000000010010000000110001100
+00100000001000000110011100010101
+01011000000000000000000000000000
+11100010001000001000000000000000
+01101000000000001000000110000101
+11100000101000001000000000000000
+11000000100110011110011100110011
+11011010010000000100000110111110
+11101000110000110000000000000000
+11100000101001000000000000000000
+01011000000000000000000000000000
+11100000101001000000000000000000
+00011010010000100000110000000000
+00100000010000000111111010111111
+00011000000000000111110000000001
+00100000011000000000000000000000
+11000000000110110110011100110111
+11000000000110111110011100111011
+11011010010000000100010000011001
+00100000001000000110011100101011
+11011000110000000100010011010101
+00100000010000000111111010111111
+11011000110000000100010000011001
+00100000001000000110011100110000
+11011000110000000100010011001101
+00100000010000000111111010111111
+00100000001000000110011100111001
+00100000010000000111111111101001
+01101000000000001100001000010111
+00100000011110100000000000000000
+01101000000000010100011010000010
+11000010100000000110011101010100
+01000111010010111100000000110010
+01101000000000001100010010001110
+11000000000000000110011101001101
+01101000000000001000010001010100
+00101111111000011000000011000000
+00100000001000001110011101001101
+00101111111000011000000001000000
+00100000001000001110011101010010
+00101111111000011000000000000000
+00100000001000001110011101010000
+01110000000000011000010100110101
+01101000000000110000010001001111
+00100000001000000110011101010111
+01110000000000011000010100110111
+00100000001000000110011101010111
+01110000000000011000010100110110
+00100000001000000110011101010111
+01000111010011000100000000110011
+01110000000000011000010100110011
+01101000000000110000000001000000
+01100000000000110000000110000110
+01101000000000010100001000010101
+11101111111010001000000000000000
+00011111111000001111111000000001
+01100000000000010000000110001100
+01100000000010001000000110000100
+01101000000000001100001000010111
+00011111111000100010011000000000
+01101000000000010000000110001100
+00011111111000100010001000000000
+00100000010000000110011101101111
+00100000011101000000000000000000
+01101000000010010000000110001100
+00011000010000001000010000100010
+01100000000010010000000110001100
+00011000010000001000010111111111
+11101000010000001000000000000000
+01100000000000001000000110000100
+00011010011000001010011111111111
+00100100001000101110011101011111
+01101000000000001100001000010111
+00011111111000001111111111111111
+01100000000000001000000110000100
+00100000011000000000000000000000
+01101000000000001000000110000101
+11000000100110011110011101110110
+11011010010000000000000110000101
+11011111001000000000000000000111
+00100000010000000111111110001000
+00100000001000101111111111100111
+00100000011000000000000000000000
+11000000000110110110011101111001
+11000000000110111110011110010100
+00100000001000000110011101110001
+11101010001010001000000000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+11011000101000000000101011000010
+11011111001000000000000000010000
+00100000010000000111111011010100
+01101000000000011000010001010010
+01100000000000011000101011000010
+00100000010000000110011110001011
+01101000000000010000101011011111
+00011111111100001111111000000000
+00011111111011010000010000000000
+11101000110000001000000000000000
+10011000010000001111111000000000
+01101000000010011000010001001111
+10011000010001100111110000000000
+00100000001000101111111111100111
+00100000011000000000000000000000
+11011000110000000000101011000010
+00100000010000000111010010000110
+11101010001000001000000000000000
+00100000010000000111010010000111
+00011000000000000110110000111000
+00011000000000000110110000000000
+00100000010000000111010000011101
+11011000101000000000101011010010
+00100000001000000111010010010111
+11101010001010001000000000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011000110000100010001000000000
+00011000110000001010011000001000
+11011010010000000100010011001101
+11011111001000000000000000001000
+00100000010000000111111110001000
+00100000001000101111111111100111
+00011010011000100010001000000000
+11011010010000000100010011010101
+11011111001000000000000000001000
+00100000010000000111111110001000
+00100000001000101111111111100111
+00100000011000000000000000000000
+01101000000000010100001000010101
+11101111111010001000000000000000
+00011111111000001111111000100010
+11101111111000001000000000000000
+10011000010001100111110000000000
+00100000011000000000000000000000
+01101000000000001100001000010111
+00011111111000100111001000000000
+01101000000010010100001000010101
+01011000000000000000000000000000
+11100000010000001000000000000000
+00011000010000001000010000100010
+00011111111000001111111000000001
+11000010000000000110011110101101
+00100000011000000000000000000000
+01000111010011001100000000110011
+00100000010000000110011100111110
+01101000000000001000000000110000
+01111001001101000111111000000110
+01100000000000001000000000110000
+00100100001101000110011110111100
+00011010001000001000110000001010
+11011000101000000100000110111110
+00100000010000000111111010111111
+00100000001000000110011111010111
+01110000010000011011110100000000
+00100000011000000000000000000000
+01101000000001001100010011001011
+00100000001110100110011111001010
+00100000010000000110011100111110
+00100100001101000110011111001010
+01101000000000010000000110001100
+00011111111000001000110000000001
+11011000101000000100010011010101
+00100000010000000111111010111111
+11011000101000000100010000011001
+00100000010000000111111010111111
+01110000010001000010100100000001
+00100000011000000000000000000000
+01110000010001000010100100000000
+00100000011000000000000000000000
+01101000000000110000010001001111
+01100000000000110000000110000110
+01110000000000011000010100110100
+00100000001000000110011111010011
+01101000000000110000000001000000
+01100000000000110000000110000110
+01110000000000011000010100110011
+01101000000000001100000010010010
+11000000000001010110011100001011
+11000010100000110100001011011010
+00100000011000000000000000000000
+01101000000001000100000110111110
+01101000000011000100000111000110
+10011000010000011111111000000000
+00100000011110100000000000000000
+01110000010000011011110100000001
+00100000011000000000000000000000
+01000111010011010100000000110011
+01111001001000000000010000000111
+00100000010000000110100000011101
+01111101001000001000010000000111
+01000111010011011100000000110011
+00011000010001100111110011111111
+00100000011000101000000000000000
+00101000010011000000000000000111
+00011000010000010000111000011111
+01101000000000100000000010100001
+11111001001000001111111000000000
+01100000000000100000000010100001
+01101000000000100000000010100101
+11111101001000001111111000000000
+01100000000000100000000010100101
+00100000011000000000000000000000
+01000111010011100100000000110011
+00011000010001100111110011111111
+00100000011000101000000000000000
+00101000010011000000000000000111
+00011000010000010000111000011111
+01101000000000100000000010100001
+11111001001111111111111000000000
+01100000000000100000000010100001
+01101000000000100000000010100101
+11111001001111111111111000000000
+01100000000000100000000010100101
+00100000011000000000000000000000
+00100000010000000110011111101101
+00100000001000000110011111111110
+00011000010001100111110011111111
+00100000011000101000000000000000
+00100100010101011110011111100001
+11011000101000001000000001111100
+00100000010000000110100000110000
+01111001010000000000010000000111
+11011000101000001000000001111000
+00100000010000000110100000110000
+01111001001111111000010000000111
+11011000101000001000000001110000
+00100000001000000110100000110000
+11011000101000001000000001111100
+00100000010000000110100000110000
+01111001001111111000010000000111
+11011000101000001000000001111000
+00100000010000000110100000110000
+01111001001111111000010000000111
+11011000101000001000000001110000
+00100000001000000110100000110000
+00011000010001100111110011111111
+00100000011000101000000000000000
+01111001010000000000010000000111
+00100000010000000110100000101111
+01111001001000000000010000000111
+11011000101000001000000001110000
+00100000001000000110100000110000
+00011000010000010000111000000111
+00011000010010010111111000000000
+00011111111000010111111000000011
+10011000101000001000101000000000
+11101000101000001000000000000000
+00100000011000000000000000000000
+11011000101000001000000001110100
+00100000001000000110100000011110
+11011000101000001000000100011100
+00100000010000000110100000010101
+00101000010011111111111000000111
+00100000001000001110100000100011
+10101111111011000000000000000000
+00100000011000000000000000000000
+10101111111011111111111111111111
+00100000011000000000000000000000
+00011000010001100111110011111111
+00100000011000101000000000000000
+00101111110011111111111000000111
+00100000001000000110100000101100
+00011000010001100111110011111111
+00100000011000101000000000000000
+00101111110011000000000000000111
+01011000000000000000000000000000
+01111101001000001111111000000111
+10011000010000101000010000000000
+11011000101000001000000001110100
+00100000010000000110100000010101
+00101000010011111111111000000111
+11111001001000001111111000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+11011010001111111111111111111111
+01101000000100001000000010000001
+00101111111000000000011000000010
+00100000010000001110100001111000
+00101111111000000000011000000001
+00100000010000001110100001111010
+00101111111000000000011000000011
+00100000010000001110100001111010
+00101111111011111111111000000010
+00100000010000001110100001110100
+00101111111011111111111000000011
+00100000010000001110100001110110
+00101111111011111111111000000100
+00100000010000001110100001111100
+00101111111011111111111000000110
+01111101001000001010001000000100
+00101111111011111111111000000111
+01111101001000001010001000000101
+01101000000100001000000010000010
+00101111111011111111111000000000
+01111101001000001010001000011011
+00101111111011111111111000000001
+01111101001000001010001000011100
+00101111111011111111111000000010
+01111101001000001010001000000011
+00101111111011111111111000000011
+01111101001000001010001000001000
+00101111111011111111111000000100
+01111101001000001010001000010100
+00101111111011111111111000000101
+01111101001000001010001000010101
+00101111111011111111111000000110
+01111101001000001010001000010110
+00101111111011111111111000000111
+01111101001000001010001000010111
+01101000000100001000000010000000
+00101111111011111111111000000000
+01111101001000001010001000000101
+00101111111011111111111000000001
+01111101001000001010001000000110
+00101111111011111111111000000010
+01111101001000001010001000000111
+00101111111011111111111000000011
+01111101001000001010001000010010
+00101111111011111111111000000100
+01111101001000001010001000010011
+00101111111011111111111000000101
+01111101001000001010001000010100
+00101111111011111111111000000110
+01111101001000001010001000010101
+00101111111011111111111000000111
+01111101001000001010001000010110
+01101000000100001000000001100010
+00101111111011111111111000000100
+00100000010000001110100001111110
+01000111010011101100000000110011
+01101000000100100000000001111000
+01101000000110100000000001111100
+10011000010000011111111000000000
+00011111111001000111111000000000
+10011010001000010111111000000000
+01100000000100100000000001110000
+00100000011000000000000000000000
+11011000111000000000000000000110
+00100000001000000110100010000100
+11011000111000000000000000001001
+00100000001000000110100010000010
+11011000111000000000000000010111
+00100000001000000110100010000010
+11011000111000000000000000011001
+00100000001000000110100010000100
+11011000111000000000000000011110
+00100000001000000110100010000100
+11011000111000000000000000000010
+00100000001000000110100010000100
+11011111001000000000000000000001
+00100000001000000110100010000101
+11011111001000000000000000000100
+00100000001000000110100010000101
+11011111001000000000000000000010
+11111001001111111010001000000000
+00011000111000001000111000000001
+11000010000000000110100010000101
+00100000011000000000000000000000
+00100000010000000110100010010101
+11011000010000000000000000000110
+00100000001000000110100000001110
+00100000010000000110100010001001
+11011000010000000000000000000110
+00100000001000000110100000100101
+00100000010000000110100010010101
+01101000000100001000000001111000
+01111001001000000111111000000111
+01100000000100001000000001111000
+11011000010000000000000000000111
+00100000001000000110011111111011
+01101000000100001000000010000001
+00011111111000010111111011111011
+01100000000100001000000010000001
+00100000011000000000000000000000
+01101000000100001000000010000001
+00101111111011111111111000000010
+00100000011000000000000000000000
+00100000010000000110011001101010
+01011000000000000000011111100000
+11011010001000000100000101010000
+11011000010000000000000000000010
+00100000010000000110011010110011
+00100000001000000110011001101101
+00100000010000000110011001101010
+01011000000000000000011111100010
+11011010001000000100001000011101
+11011000010000000000000000001110
+00100000010000000110011010110011
+00100000001000000110011001101101
+01000111010011110100000000110011
+00100000010000000110100010100010
+01101000000000001100001000101101
+11000000000000000110100010101111
+11000000000000001110100011000011
+11000000000000010110100011010111
+00100000011000000000000000000000
+01101000000010010100001000101001
+01011000000000001010101001010101
+10011000010001100111110000000000
+00100000001000101110100010111000
+01011000000000000100110111111010
+01100000000000010100001000100111
+01011000000000000100100010010100
+01100000000000010100001000100001
+00100000001000000110100011000000
+01101000000000010100001000100111
+00100100001110100110100010111100
+01011000000000000100110111111010
+01100000000000010100001000100111
+01101000000000010100001000100001
+00100100001110100110100011000000
+01011000000000000100100010010100
+01100000000000010100001000100001
+01011000000000000000000001100100
+01100000000000010100001000101011
+00100000011000000000000000000000
+01101000000010010100001000101001
+01011000000000001010101001010101
+10011000010001100111110000000000
+00100000001000101110100011001100
+01011000000000000101100100110010
+01100000000000010100001000100101
+01011000000000000100001100100011
+01100000000000010100001000011111
+00100000001000000110100011010100
+01101000000000010100001000100101
+00100100001110100110100011010000
+01011000000000000101100100110010
+01100000000000010100001000100101
+01101000000000010100001000011111
+00100100001110100110100011010100
+01011000000000000100001100100011
+01100000000000010100001000011111
+01011000000000000000000110010000
+01100000000000010100001000101011
+00100000011000000000000000000000
+01101000000010010100001000101001
+01011000000000001010101001010101
+10011000010001100111110000000000
+00100000001000101110100011100000
+01011000000000000110100101000110
+01100000000000010100001000100011
+01011000000000000101001101110111
+01100000000000010100001000011101
+00100000001000000110100011101000
+01101000000000010100001000100011
+00100100001110100110100011100100
+01011000000000000110100101000110
+01100000000000010100001000100011
+01101000000000010100001000011101
+00100100001110100110100011101000
+01011000000000000101001101110111
+01100000000000010100001000011101
+01011000000000000000000000110010
+01100000000000010100001000101011
+00100000011000000000000000000000
+01101000000000001100001000101101
+11000000000000000110100011110000
+11000000000000001110100011110010
+11000000000000010110100011110100
+00100000011000000000000000000000
+01110000100010010111000110111111
+00100000001000000110100011111000
+01110000100010010111000110101111
+00100000001000000110100011111000
+01110000100010010111000110001111
+01101000000000001100001000101110
+01100000000100001000100101110011
+00100000001000000110100011111000
+01000111010011111100000000110011
+01101000000100001000000001010011
+01111001001000000111111000000111
+01100000000100001000000001010011
+01101000000100001000100101110011
+00011111111000011111111000110000
+01100000000100001000100101110011
+01110000100010010000011001111100
+01110000100010010111001010101010
+00100000000000000001001110001000
+01101000000110010000000101010000
+01101000000100001000000001010011
+01111001001111111111111000000111
+01100000000100001000000001010011
+01100000000010010100001000101111
+00100000011000000000000000000000
+01000111010100000100000000110100
+01101000000000001100001000101101
+11000000000000000110100100001110
+11000000000000001110100100010010
+11000000000000010110100100010110
+00100000011000000000000000000000
+01101000000000010100001000100111
+01101000000010010100001000100001
+11011010011000000000000011001000
+00100000001000000110100100011010
+01101000000000010100001000100101
+01101000000010010100001000011111
+11011010011000000000000001100100
+00100000001000000110100100011010
+01101000000000010100001000100011
+01101000000010010100001000011101
+11011010011000000000000000110010
+00100000001000000110100100011010
+10011000010001100010001000000000
+01101000000000010100001000101111
+10011000010001100111111000000000
+00100100001000010110100100100111
+01101000000010010100001000101011
+10011000010011111010010000000000
+00011010011000100111111000000000
+10011010001011111111111000000000
+10011010010000001111111000000000
+10011010001001101111110000000000
+00100000010000000111111110000110
+00011000000001111111111000000000
+00100000011000000000000000000000
+00011000010000100111111000000000
+01101000000010010100001000101111
+10011000010001100111111000000000
+01101000000010010100001000101011
+10011000010011111010010000000000
+00011010011000100111111000000000
+10011010001011111111111000000000
+10011010010001100111111000000000
+00100000001000000110100100100011
+11101010001001000000000000000000
+01100000000001000000101010011010
+01101000000000010000101010011010
+01101000000010010000101010011100
+10011000010001100010001000000000
+01101000000000010000101010100000
+10011000010001100010010000000000
+01101000000010010000101010011110
+10011000010001100111110000000000
+00100100010000010110100101000000
+00011010010011111111111001100100
+10011010001001101111110000000000
+00100000010000000111111110000110
+00011000000001111111111000000000
+00100000010110100110100101000100
+00100000011000000000000000000000
+01101000000000001100001000110001
+01111001001000000111111000000000
+01100000000000001100001000110001
+00100000011000000000000000000000
+01101000000010001100001000110001
+01111001001000000000010000000001
+01100000000010001100001000110001
+00100000011000000000000000000000
+01101000000000010100001000111101
+11101111111000001000000000000000
+00100000011110100000000000000000
+00011111111000100111001000000000
+01101000000000010100001000111101
+00011111111000001111111000000011
+00011111111000100010001000000000
+11101010001010001000000000000000
+00100000010000000110011111111011
+00011010001000001010001000000001
+11000010000000000110100101001111
+00100000011000000000000000000000
+01101000000000010100001000111101
+00011111111000001111111000000011
+00011111111000100010001000000000
+00011000000000000010010000000000
+01110000000010110001001000000000
+11101010001010001000000000000000
+00100000010000000110100000011101
+01000111010100001100000000110100
+01101000000000010000101100010010
+00011010010000100000111000000000
+11111001001000001111111000000000
+01100000000000010000101100010010
+00011010001000001010001000000001
+00011010010000001010010000000001
+01101000000000010100001000111101
+11101111111000001000000000000000
+10011010010000101111110000000000
+00100100001000101110100101011001
+01101000000000010000101100010010
+01101000000010010000101100010100
+10011000010000101111110000000000
+00100000011000101000000000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101000000000010100001000111101
+11101111111000001000000000000000
+00100000011110100000000000000000
+00011111111000100111001000000000
+01101000000000010100001000111101
+00011111111000001111111000000011
+00011111111000100010001000000000
+11101010001010001000000000000000
+00100000010000000110011111011101
+00011010001000001010001000000001
+11000010000000000110100101110011
+00100000011000000000000000000000
+11011000111000000000000000001001
+00100000010000000111111100010110
+00100100011110100000000000000000
+01011000000000000000000000100000
+11011000111000000000000000001001
+00100000010000000111111100001000
+01111000010101000111110000000000
+00100000010000000110100101101100
+01000111010100010100000000110100
+01101000000000010100001000111101
+11101111111000001000000000000000
+00100000011110100000000000000000
+00100000010000000110100101010100
+00100100001101000111110100000010
+00100000010000000111110100000000
+01111000010101000111110000000000
+01101000000000010000101100010010
+01100000000000010000101100011001
+01110000000010110001101100000000
+00011000000000000000111000000000
+01101000000000010000101100010100
+00011111111000110000010000000000
+01100000000010010000101100010100
+00011111111000010111111000000001
+01101000000010010000101100011001
+00011000010000010010001000000001
+00011000010000110000010000000000
+01100000000010010000101100011001
+10011010001000101111110000000000
+00100100010000101110100110100001
+01101000000000010100001000111101
+11101111111000001000000000000000
+01101000000010001000101100011011
+00011000010000001000010000000001
+01100000000010001000101100011011
+00011000010000100000111000000000
+10011000111000101111110000000000
+00100100001000101110100110001100
+01101000000000010000101100010010
+01100000000000010000101100010100
+00100000011000000000000000000000
+01000111010100011100000000110100
+01101000000000010100001000111101
+00011111111000001111111000000001
+11101111111000010000000000000000
+00100000001000000111111110011100
+01101000000100001000000001000010
+10011010001000011111111000000000
+01100000000100001000000001000010
+01101000000100010000000001010000
+01111001001111111111111000001101
+01100000000100010000000001010000
+00100000000000000000000001100100
+00100000011000000000000000000000
+01101000000010011000101010011100
+01011000101101110001101100000000
+10011000010001101111110000000000
+00100000010000000111111110000110
+00011000000001111000010000000000
+01101000000000001000101010011111
+10011000010011111111111000000000
+00011111111001101111110001100100
+00100000010000000111111110000110
+00011000000001111010001000000000
+00011000010000100111111000000000
+10011010001001100010010000000000
+01101000000000001000101010011011
+00100000010000000110100110111110
+01101000000000001000101010011010
+00100000001000000110100111010101
+11000000000000000110100111000100
+11000000000000001110100111000110
+11000000000000010110100111001000
+11000000000000011110100111001010
+11000000000000100110100111001100
+11000000000000101110100111001110
+11011000101000001000000010100000
+00100000001000000110100111010000
+11011000101000001000000010100100
+00100000001000000110100111010000
+11011000101000001000000010101000
+00100000001000000110100111010000
+11011000101000001000000001100100
+00100000001000000110100111010000
+11011000101000001000000001101000
+00100000001000000110100111010000
+11011000101000001000000001101100
+00100000001000000110100111010000
+00011010001000100111111000000000
+11100000101000010000000000000000
+00011010010000100111111000000000
+11100000101000010000000000000000
+00100000011000000000000000000000
+01111000001101000111110000000000
+00100000001000000110100111011000
+01111000010101000111110000000000
+11000000000000100110100111100011
+11000000000000101110100111100101
+11000000000011011110100111100111
+11000000000011100110100111101001
+11000000000000011110100111101011
+11000000000001000110100111101101
+11000000000010100110100111101111
+11000000000010101110100111110001
+11000000000010110110100111110011
+11000000000010111110100111110101
+00100000011000000000000000000000
+11011000111000000000000000000110
+00100000001000000110100111111111
+11011000111000000000000000000111
+00100000001000000110100111111111
+11011000111000000000000000001000
+00100000001000000110100111111111
+11011000111000000000000000001001
+00100000001000000110100111111111
+11011000111000000000000000001010
+00100000001000000110100111111111
+11011000111000000000000000001011
+00100000001000000110100111111111
+11011000111000000000000000001100
+00100000001000000110101000000001
+11011000111000000000000000001101
+00100000001000000110101000000001
+11011000111000000000000000001110
+00100000001000000110101000000001
+11011000111000000000000000001111
+00100000001000000110101000000001
+01101000000100010000000010000001
+11111001001101000111111000000000
+01100000000100010000000010000001
+00011010001000100000111000000000
+01101000000100001000000010000101
+11111001001101000111111000000000
+01100000000100001000000010000101
+00100000011000000000000000000000
+00011000111000001010001111111100
+00100000001000000110100111110111
+00011000111000001010001111110110
+00100000001000000110100111110111
+00100000011101011000000000000000
+01110000010001010110011100000000
+01110000000001001110110100000011
+01110000000001001110111000000011
+01110000000001001111001000010001
+01110000000001001111001100010011
+01011000000000000000000000000000
+01100000000000011000010011101111
+01100000000000001100001001010100
+01110000010001101000000100000000
+01000111010100100100000000110100
+01011000000000000000000000000000
+01100000000000001100001001010100
+01100000000000001100010101100100
+01100000000000001100010101011101
+01101000000000001100010101101011
+11000000000000001110101000010110
+01110000010001010110100101010000
+00100000011000000000000000000000
+01110000010001010110100100000000
+00100000011000000000000000000000
+00011000010000011000010000000010
+00100000011000000000000000000000
+00011000010000100111111000000000
+00011111111011011111111000000000
+01100000000000001100010101100010
+00011000000000000111111000111111
+00011111111011011111111000000000
+01100000000000001100010101100001
+00011000000000000111111000000001
+00011111111011011111111000000000
+01100000000000001100010101100000
+00100000010000000110101001010000
+00011000010000100111111000000000
+00100000011000000000000000000000
+00011111111011011111111000000000
+01100000000000001100010101100010
+00011000000000000111111001110011
+00011111111011011111111000000000
+01100000000000001100010101100001
+00011000000000000111111000000001
+00011111111011011111111000000000
+01100000000000001100010101100000
+00100000001000000110101001010000
+01101000000000001100010101100011
+00100000001110100110101000110011
+01011000000000000000000001110000
+00100000011000000000000000000000
+01011000000000000000000010101010
+00100000011000000000000000000000
+00011111111011011111111000000000
+01100000000000001100010101100010
+00011000000000000111111011101111
+00100000010000000110101001000100
+01101000000010010000010011110111
+00011000010000100000101000000000
+11100000101000001000000000000000
+00011000101000100000010000000000
+01100000000010010000010011110111
+00011000000000000111111011111111
+00100000010000000110101001000100
+01101000000010010000010011110111
+00011000010000100000101000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+00011111111011011111111000000000
+01100000000000001100010101100001
+01101000000000010100010101100001
+00011111111011010111111000000000
+01100000000000011000010011110100
+11011010001000000000000100000111
+11011010010000000000000000001111
+00100000010000000110101001011101
+00011111111000101111111011010111
+00011111111001000111111000000000
+00011111111011011111111000000000
+00100000011000000000000000000000
+01101000000000011100010101100000
+01100000000000011000010011110100
+11011010001000000000000100000111
+11011010010000000000000000001111
+00100000010000000110101001011101
+00011111111011010111111000000000
+11011010010000000000000000000111
+00100000010000000110101001011101
+00011111111000101111111000101011
+00011111111001000111111000000000
+00011111111011011111111000000000
+00011111111000100000010000000000
+00100000011000000000000000000000
+11011010011000000000000000000000
+00011010010000100111001000000000
+00100000010000000111111001110001
+00011111111000100000010000000000
+00011000010000100111111000000000
+00011010011000111010011000000000
+11000011000001000110101001100110
+10011010001000101000010000000000
+00011010011000001010011000000001
+00011000010000111000010000000000
+01101000000000011000010011110100
+00011010010000001010010111111111
+00101010010000011111111011111111
+00100000001000001110101001110000
+00011010010000100111001000000000
+00100000010000000111111001110001
+00101111111011111111111000000000
+01111001001000001000010000000000
+00100000001000000110101001100001
+00011000010000110111111000000000
+00100000011000000000000000000000
+01101000000010001100010101011101
+00011000010010111000010000000000
+01111001001000000000010000000000
+01101000000000001100010101100011
+00100100010110100110101000011000
+01100000000010001000010100001101
+00100000011000000000000000000000
+00011000010000111000010000000000
+01101000000000001100010101100011
+01111001001110100000010000000000
+00100000011000000000000000000000
+01101000000010001000010011111100
+01110000000001001111111011010111
+00100000010000000110101110110110
+01101000000000001100001001010001
+01111001001000000111111000000110
+01111001001000000111111000000111
+01100000000000001100001001010001
+01110000010001010110001100000000
+00100000001000000110101110010111
+01101000000000001100001001010001
+01111001001000000111111000000111
+01100000000000001100001001010001
+00100000001000000110101110010111
+01000111010100101100000000110100
+01101000000000001100011010000001
+11000000000000000110101010001110
+00100000001000000110101101001100
+01101000000000010000001001100100
+00011111111000100000110000000000
+00100000010000000110101010111000
+01101000000000001000010011111100
+11000000000000000110101010010100
+00100000001000000110101100011000
+01000111010100110100000000110100
+01101000000000001000010011111101
+11000000000111111110101001111101
+11000000001110011110101010000110
+11000000011101111110101010011011
+11000000001010011110101101000100
+00100000011000000000000000000000
+01101000000000010000010100000001
+00011111111000100000110000000000
+00100000010000000110101011000011
+01101000000000001000010100000011
+11000000001000001110101010100101
+11000000001000000110101010101101
+11000000001110001110101011100110
+11000000001110000110101011110010
+11000000001001001110101011111101
+00100000001000000110101110010111
+00100000010000000110101010101111
+00100000001000000110101010100111
+01101000000000001100001001010100
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100000000000001100001001010100
+00100000010000000110101111100000
+00100000001000000110101110010111
+00100000010000000110101010101111
+00100000001000000110101110010111
+00100000010000000110101011001011
+00100000001000000110101011010111
+00100000010000000110101011001011
+11101000110000001000000000000000
+00011111111010010111111000000000
+01100000000000001100010101101010
+11101000110000001000000000000000
+01100000000000001000010100001000
+00100000011000000000000000000000
+11101000110000001000000000000000
+01100000000000001000010011111011
+00011111111010010111111000000000
+01100000000000001000010011111100
+11101000110000001000000000000000
+01100000000000001000010011111101
+00100000010000000110101011001110
+01100000000010010000010011111111
+00011000110000100111111000000000
+01100000000000010000010100000001
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000110111111000000000
+01100000000000001000010100000011
+00100000010000000110101011001110
+01100000000010010000010100000100
+00011000110000100111111000000000
+01100000000000010000010100000110
+00100000011000000000000000000000
+01101000000000010000010100000110
+00011111111000100000110000000000
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000010000000000
+00011000010000110000010000000000
+11000011100000000000000000000000
+11101000110000001000000000000000
+00011111111010011111111000000000
+00011111111100100111111000000000
+10011000010000001000010000000000
+00100000011000000000000000000000
+11101000110000001000000000000000
+01100000000000001100010101011101
+11101000110000001000000000000000
+01100000000000001000010100001001
+11101000110000001000000000000000
+01100000000000001000010100001010
+11101000110000001000000000000000
+01100000000000001000010100001011
+11101000110000010000000000000000
+01100000000000010100010101011110
+11101000110000001000000000000000
+01100000000000001000010100001100
+11101000110000001000000000000000
+01100000000000001100010101101000
+00100000011000000000000000000000
+00100000010000000110101010110001
+00100000001000000110101011101000
+01101000000000001100001001010100
+01111001001000000111111000000101
+01111001001000000111111000000110
+01100000000000001100001001010100
+01101000000010001100010101011101
+00011000010010111000010000000000
+00011000010000011000010000000011
+00100000010000000110110000010001
+01110000010001010110011100000011
+00100000001000000110101110010111
+01110000000010101001100100001000
+00100000010000000111110110000110
+00100000010000000110101010110001
+01101000000000001100010101101010
+00011111111001100111110000000001
+00100000001000101110101011111001
+00100000001000000010101010001100
+01101000000000001100001001010100
+01111001001000000111111000000111
+01100000000000001100001001010100
+00100000001000000110101110010111
+00100000010000000110101011001011
+11101000110000001000000000000000
+01100000000000001000101011000010
+00100000010000000101001011010010
+00100000010000000101001011100000
+01011000000000000000000000001110
+11100000101000010000000000000000
+01101000000000010100001001001010
+11100000101000010000000000000000
+01101000000000001100010101100011
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100000101000001000000000000000
+01000111010100111100000000110100
+01011000000000000001010111101111
+11100000101000010000000000000000
+01011000000000000001000110010001
+11100000101000010000000000000000
+01101000000000001000101011000010
+11100000101000001000000000000000
+01011000000000000000000000000111
+11100000101000101000000000000000
+01011000000000000000000000000001
+11100000101000010000000000000000
+00100000010000000110101000101111
+11100000101000001000000000000000
+00100000011000000000000000000000
+00100000001000000110101100011001
+01000111010101000100000000110101
+01101000000000001000010011111101
+11000000001110011110101100100001
+11000000000111111110101100100101
+11000000011101111110101100111111
+11000000011111111110101100110111
+11000000001010011110101101000110
+00100000011000000000000000000000
+01101000000000001100001001010100
+01111001001000000111111000000011
+01100000000000001100001001010100
+00100000001000000110101110010111
+01101000000000001100001001010100
+01111001001000000111111000000011
+01111001001000000111111000000010
+01100000000000001100001001010100
+01101000000000001000010011111011
+00100000010000000110101000100110
+01100000000000001000010011111110
+00100000010000000110101110110110
+01101000000000001000010011111011
+00011111111010110111111000000000
+01100000000000001100010101011101
+00011111111010111111111000000000
+01111001001111111111111000000001
+01111001001000000111111000000000
+11011000010000000100010101100101
+01100000000010010000010011110111
+00100000010000000110101000110101
+00100000001000000110101110010111
+01101000000000010000010100000001
+00011111111000100000110000000000
+00011111111000001111111000000001
+01100000000000010000010100000001
+11101000110000001000000000000000
+01101000000010001100010101101000
+10011000010000001111111000000000
+01100000000000001100010101101000
+00100000010000000110110001000010
+00100000010000000110101001110010
+00100000010000000110110000101000
+00100000010000000110110001001011
+00100000001000000110101110010111
+01110000000010101001100100001001
+00100000010000000111110110000110
+00100000010000000110101000001101
+01101000000000001000010011111011
+00100000010000000110101000100110
+01100000000000001000010011111110
+00100000010000000110101110110110
+00100000001000000110101110010111
+01101000000000010000001001100100
+00011111111000100000110000000000
+00100000010000000110101010111000
+01101000000000001000010011111100
+11000000000000000110101101010010
+00100000001000000110101110000110
+01000111010101001100000000110101
+01101000000000001000010011111101
+11000000000111111110101001111101
+11000000001110011110101010000110
+11000000011101111110101101011000
+00100000001000000110101110010111
+01101000000000010000010100000001
+00011111111000100000110000000000
+00100000010000000110101011000011
+01101000000000001000010100000011
+11000000001000001110101101100001
+11000000001000000110101101100001
+11000000001110001110101101101100
+11000000001110000110101101111100
+00100000001000000110101110010111
+00100000010000000110101010101111
+01101000000000001100010101011101
+00011111111000110111111000000000
+01101000000010001100010101100100
+10011000010001100111110000000000
+00100000001000101110101101101000
+00100000001000000010101010001100
+01101000000000001100001001010100
+01111001001000000111111000000001
+01100000000000001100001001010100
+00100000001000000110101110010111
+00100000010000000110101010110001
+01101000000000001100010101101010
+01101000000010001100010101100100
+10011000010001100111110000000000
+00100000001000101110101101110011
+00100000001000000010101010001100
+00100000001000000110101110010111
+01101000000000001100001001010100
+01111001001000000111111000000101
+01111001001000000111111000000110
+01100000000000001100001001010100
+01101000000010001100010101011101
+00011000010010111000010000000000
+00011000010000011000010000000011
+00100000010000000110110000010001
+00100000001000000110101110010111
+00100000010000000110101010110001
+01101000000000001100010101101010
+01101000000010001100010101100100
+10011000010001100111110000000000
+00100000001000101110101110000010
+00100000001000000010101010001100
+01101000000000001100001001010100
+01111001001000000111111000000111
+01100000000000001100001001010100
+00100000001000000110101110010111
+01101000000000001000010011111100
+01101000000010001100010101100100
+10011000010001100111110000000000
+00100000001000101110101110001100
+00100000001000000010101010001100
+00100000001000000110101110010111
+01101000000000001000010011111101
+11000000001110011110101110010001
+11000000011101111110101100111111
+11000000011111111110101100110111
+11000000001010011110101110010110
+01101000000000001100001001010100
+01111001001000000111111000000011
+01100000000000001100001001010100
+00100000001000000110101110010111
+00100000001000000110101110010101
+00100000001000000110101101000110
+00100000011000000000000000000000
+01101000000000001100010101100111
+00100000011110100000000000000000
+11000000000000011110101110011100
+00100000001000000010101010001100
+01110000010001010110011100000000
+00100000010000000101001011010010
+11011000010000000000000000000001
+01101000000010001100010101011101
+00011000010010111000010000000000
+00011000010000011000010000000011
+11011010001000000000000010101010
+00100000010000000110101111111100
+00100000010000000101001011100000
+00011000101000100000110000000000
+11101000110000010000000000000000
+00100000001110100010101010001100
+00100000011000000000000000000000
+00100000010000000101001011100000
+01011000000000000000000000000100
+11100000101000010000000000000000
+01101000000000010100001001001010
+11100000101000010000000000000000
+01101000000000001000010011111011
+11100000101000001000000000000000
+01000111010101010100000000110101
+01011000000000000000000100111111
+11100000101000010000000000000000
+01101000000000001000010011111110
+11100000101000001000000000000000
+00100000011000000000000000000000
+00100000010000000101001011010010
+00100000010000000101001011100000
+01011000000000000000000000000100
+11100000101000010000000000000000
+01101000000000010100001001001010
+11100000101000010000000000000000
+01101000000000001000010011111011
+11100000101000001000000000000000
+01000111010101011100000000110101
+01011000000000000000000101110011
+11100000101000010000000000000000
+01101000000000001000010011111110
+11100000101000001000000000000000
+00100000011000000000000000000000
+00100000010000000101001011100000
+01011000000000000000000000001110
+11100000101000010000000000000000
+01101000000000010100001001001010
+11100000101000010000000000000000
+01101000000000001100010101100011
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100000101000001000000000000000
+01000111010101100100000000110101
+01011000000000000001010111101111
+11100000101000010000000000000000
+01011000000000000001000110000011
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000011110000
+11100000101000011000000000000000
+01011000000000000000000001111111
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+01011000000000000000000000000001
+11100000101000001000000000000000
+00100000010000000110101000101111
+11100000101000001000000000000000
+01110000010001010110100100010000
+00100000011000000000000000000000
+00100000010000000101001011010010
+00100000010000000101001011100000
+01011000000000000000000000001110
+11100000101000010000000000000000
+01101000000000010100001001001010
+11100000101000010000000000000000
+01101000000000001100010101100011
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100000101000001000000000000000
+01000111010101101100000000110101
+01011000000000000001010111101111
+11100000101000010000000000000000
+01011000000000000001000110000001
+11100000101000010000000000000000
+01101000000000001100010101011101
+11100000101000001000000000000000
+01011000000000000000000011100000
+11100000101000011000000000000000
+01101000000000010100010101101100
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+01101000000000001100010101101110
+11100000101000001000000000000000
+00100000010000000110101000101111
+11100000101000001000000000000000
+00100000011000000000000000000000
+00100000010000000101001011100000
+01011000000000000000000000001000
+11100000101000010000000000000000
+01101000000000010100001001001010
+11100000101000010000000000000000
+01101000000000001100010101100011
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100000101000001000000000000000
+01000111010101110100000000110101
+01011000000000000000100111101111
+11100000101000010000000000000000
+01011000000000000000010111100011
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000010001101
+11100000101000001000000000000000
+00100000010000000110101000101111
+11100000101000001000000000000000
+00100000011000000000000000000000
+00100000010000000101001011010010
+00100000010000000101001011100000
+01011000000000000000000000001000
+11100000101000010000000000000000
+01101000000000010100001001001010
+11100000101000010000000000000000
+00011000010000100001011000000000
+01101000000000001100010101100011
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100000101000001000000000000000
+01000111010101111100000000110101
+01011000000000000000100111101111
+11100000101000010000000000000000
+01011000000000000000010111100001
+11100000101000010000000000000000
+00011001011000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000010001101
+11100000101000001000000000000000
+00100000010000000110101000101111
+11100000101000001000000000000000
+00100000011000000000000000000000
+01000111010110000100000000110110
+01101000000000001100010101101001
+00100000011110100000000000000000
+01101000000100010000000100010010
+00100100011110100000000000000000
+00011010001000100111111000000000
+01100000000000001000101010011011
+01100000000010001000101010011010
+00100000010000000101001001101110
+00100100011110100000000000000000
+00100000010000000101001011010010
+00100000010000000101001011100000
+01011000000000000000000000000101
+11100000101000010000000000000000
+01101000000000010100001001001010
+11100000101000010000000000000000
+01101000000000001000010100001101
+11100000101000001000000000000000
+01011000000000000000000111111111
+11100000101000010000000000000000
+01101000000000001100010101101001
+11100000101000001000000000000000
+01101000000000001100010101100110
+11100000101000001000000000000000
+01110000010001010110100100000000
+00100000011000000000000000000000
+01000111010110001100000000110110
+01101000000000001100010101101011
+11000001000000001000000000000000
+01101000000000010000010011111111
+00100000011110100000000000000000
+01101000000000001100010101101001
+00011111111000001111111000000001
+01100000000000001100010101101001
+00100000011000000000000000000000
+01101000000000010100010101101111
+00100000001000000111111110011100
+01000111010110010100000000110110
+01101000000000001100010101101000
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100010101101000
+01101000000000010100010101011110
+01101000000010010100011010011111
+10011000010001100111110000000000
+00100000001000010110110001010111
+01100000000000010100011010011111
+01101000000000001100010101101001
+00100000001110100110110001011111
+01110000000001010001000000000001
+01101000000000001100010101100110
+01100000000000001000010100001111
+01011000000000000000000011111111
+01100000000000001000010100001110
+00100000001000000110110001100100
+01110000000001010001000000000000
+01101000000000001100010101100101
+01100000000000001000010100001111
+01011000000000000000000011101111
+01100000000000001000010100001110
+01000111010110011100000000110110
+01101000000000010100011010011111
+00011111111001100111110001111111
+00100000001000010110110001101011
+01101000000000001000010100010000
+00011111111000001111111000000001
+01100000000000001000010100010000
+00100000010000000110101001110010
+01101000000000010100011010011111
+00011111111000001111111000001000
+01101000000010001000010100010000
+10011000010000001010001000000000
+00100000010000000101001001000000
+01100000000000010000001001110111
+00011111111000001111111000000100
+01100000000000010000001001111001
+00011111111000100000101000000000
+01101000000000001000010100001101
+11100000101000001000000000000000
+01101000000000001000010100001110
+11100000101000001000000000000000
+00100000010000000110110010010101
+00100000010000000110110010100110
+01000111010110100100000000110110
+01101000000000010100010101110001
+00011111111000100000011000000000
+01101000000000010100011010011111
+00011111111000100111001000000000
+00100000010000000110011011101010
+00011000101000100000010000000000
+00011000011000100111111000000000
+01100000000000010100010101110001
+00011000010000100000101000000000
+01101000000000001000010100001111
+11100000101000001000000000000000
+01101000000000010000001001110111
+00011111111000100000101000000000
+01101000000000010100011010011111
+01101000000010001000010100010000
+10011000010000001111111000000000
+00011111111000001111111000000100
+11100000101000010000000000000000
+01101000000000010100001001001010
+11100000101000010000000000000000
+01110000010001010110100100000000
+01101000000000010100010101110011
+11000000000000000011101010010111
+01110000000010110000010100000000
+00100000011000000000000000000000
+01000111010110101100000000110110
+01101000000000010100011010011111
+00011111111001100111110001111111
+00100100001000010110110010011101
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01101000000000010100011010011111
+00011111111010010111111000000000
+00011111111100011000010000000000
+00011111111000010111111001111111
+00011111111000111111111000000000
+01111001001111111111111000000000
+11100000101000001000000000000000
+11100000101010001000000000000000
+00100000011000000000000000000000
+01101000000000001100010101101001
+00100000011110100000000000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01000111010110110100000000110110
+00100000010000000111110110011100
+00100000010000000011001011110110
+00100000010000000110001100011011
+01000111010110111100000000110110
+00100000010000000111011011011100
+00100000010000000111011010110101
+00100000010000000111011011000110
+00100000010000000101001001101110
+00100100011110100000000000000000
+00100000010000000100110110101001
+00100000010000000101001001101110
+00100100011110100000000000000000
+01000111010111000100000000110111
+00100000010000000110110011110101
+00100000010000000100111101100100
+00100000010000000110101110011000
+00100000010000000110110010111110
+01000111010111001100000000110111
+00100000001000000011001011110010
+01101000000000001000001001111111
+11000010100000000101000010000111
+11000010100000111101000010010001
+00100000011000000000000000000000
+01000111010111010100000000110111
+00100000010000000101001001110100
+00100000011110100000000000000000
+01101000000000001000000001001011
+11000011100000110000000000000000
+00100000010000000101001001011000
+01100000000000010000000101101111
+00011111111000100000110000000000
+11101000110000010000000000000000
+00011111111000001111111000000100
+01100000000000010100000111011100
+01110000010000011101101100000110
+01000111010111011100000000110111
+01101000000000010100001001000110
+00100000001110100110110011011101
+01101000000000001000000001001011
+11000100000000111000000000000000
+01111001001111111111111000000111
+01100000000000001000000001001011
+01110000010000011101101100000101
+01101000000010010100001001000110
+01101000000000010000000101101111
+10011000010000001111111000000000
+01100000000000010000000101101111
+01101000000000010100000111011100
+10011000010001100111111000000000
+01100000000000010100000111011100
+01000111010111100100000000110111
+01101000000000010100000111011100
+00100000001110100010101010001100
+11011000010000000000000100000100
+10011000010001100111111000000000
+00100100001000010110110011101001
+01000111010111101100000000110111
+01100000000010010100000111011100
+01101000000000010100001001000110
+10011000010000001111111000000000
+01100000000000010100001001000110
+00100000001000000110110011101011
+01011000000000000000000000000000
+01100000000000010100001001000110
+01101000000000001000000001001011
+01111001001000000111111000000110
+01100000000000001000000001001011
+00100000011000000000000000000000
+01101000000000001100011010000100
+11000010100000000110110011110011
+01110000000000101000011100000001
+00100000011000000000000000000000
+01110000000000101000011100001111
+00100000011000000000000000000000
+01101000000000001100011010000001
+00100100001110100110110011111011
+01101000000000001000001010000110
+00100000011110100000000000000000
+01110000000000101000011000000000
+00100000011000000000000000000000
+01000111010111110100000000110111
+01101000000000001000001010000111
+00100000011110100000000000000000
+11000000000000001110110100011011
+11000000000000010110110101110100
+11000000000000011110110100100001
+11000000000000100110110101111000
+11000000000111011110110100101011
+11000000000111100110110101111011
+11000000000001101110110100110000
+11000000000001110110110110000000
+11000000000001111110110100110011
+11000000000010000110110110000110
+11000000000010001110110100111001
+11000000000010010110110110001010
+11000000000010011110110100111111
+11000000000010100110110110001110
+11000000000010101110110101000101
+11000000000010110110110110010010
+11000000000010111110110101001011
+11000000000011000110110110010111
+11000000000011001110110101010001
+11000000000011010110110110011011
+11000000000011011110110101010111
+11000000000011100110110110011111
+11000000000011101110110101011101
+11000000000011110110110110100100
+11000000000011111110110101100011
+11000000000100000110110110101000
+11000000000100001110110101101110
+11000000000100010110110110101100
+00100000011000000000000000000000
+00100000010000000110110110110111
+01110000000000101000011100000010
+01101000000000001100001001010000
+01111001001000000111111000000000
+01100000000000001100001001010000
+00100000011000000000000000000000
+01110000000000101000011100000100
+01101000000000001100001001010000
+11000011100000010000000000000000
+01110000000000101000011100000011
+00100000010000000110110110111110
+01110000000000101000011100000100
+01101000000000001100001001010000
+01111001001000000111111000000010
+01100000000000001100001001010000
+00100000011000000000000000000000
+00100000010000000101001001110100
+00100100011110100000000000000000
+00100000010000000110110111001101
+01110000000000101000011100111100
+00100000011000000000000000000000
+00100000010000000110110111000011
+01110000000000101000011100001110
+00100000011000000000000000000000
+00100000010000000110110111011101
+01110000000000101000011100010000
+01101000000000001100001001010010
+01111001001000000111111000000000
+01100000000000001100001001010010
+00100000011000000000000000000000
+00100000010000000110110111100100
+01110000000000101000011100010010
+01101000000000001100001001010010
+01111001001000000111111000000010
+01100000000000001100001001010010
+00100000011000000000000000000000
+00100000010000000110110111101001
+01110000000000101000011100010100
+01101000000000001100001001010011
+01111001001000000111111000000000
+01100000000000001100001001010011
+00100000011000000000000000000000
+00100000010000000110110111110000
+01110000000000101000011100010110
+01101000000000001100001001010011
+01111001001000000111111000000010
+01100000000000001100001001010011
+00100000011000000000000000000000
+00100000010000000110110111010001
+01110000000000101000011100011000
+01101000000000001100001001010001
+01111001001000000111111000000000
+01100000000000001100001001010001
+00100000011000000000000000000000
+00100000010000000110110111011000
+01110000000000101000011100011010
+01101000000000001100001001010001
+01111001001000000111111000000010
+01100000000000001100001001010001
+00100000011000000000000000000000
+00100000010000000110110111110101
+01110000000000101000011100011100
+01101000000000001100001001010001
+01111001001000000111111000000110
+01100000000000001100001001010001
+00100000011000000000000000000000
+00100000010000000110110111111100
+01101000000000001100001001010100
+01111001001000000111111000000000
+01100000000000001100001001010100
+01110000000000101000011100011110
+00100000011000000000000000000000
+00100000010000000110111000000010
+01101000000000001100001001010100
+01111001001000000111111000000010
+01100000000000001100001001010100
+01110000000000101000011100100000
+01101000000000001100010101100100
+00011111111010011111111000000000
+00011111111000011111111000000011
+11011000010000000100010101100101
+01100000000010010000010011110111
+00100000001000000110101000110101
+00100000010000000110111000001100
+01101000000000001100001001010100
+01111001001000000111111000000100
+01100000000000001100001001010100
+01110000000000101000011100100010
+00100000011000000000000000000000
+01101000000000001100001001010000
+11000100000000001000000000000000
+01110000000000101000011100000011
+00100000001000000110110011111011
+01101000000000001100001001010000
+11000001100111111000000000000000
+01110000000000101000011100111011
+01101000000000001000001010000101
+11000001100010111000000000000000
+01110000000000101000010100000000
+01110000000000101000011100001101
+00100000001000000110110011111011
+01101000000000001100001001010000
+00100100011110100000000000000000
+01101000000000001100011010000100
+11000010100000000110110110101111
+11000010100000110110110110110001
+00100000001000000110110110110101
+01101000000000001100001001010010
+11000100000000001000000000000000
+01110000000000101000011100010001
+00100000001000000110110011111011
+01101000000000001100001001010010
+11000001100111111000000000000000
+01110000000000101000011100010011
+00100000001000000110110011111011
+01101000000000001100001001010011
+11000100000000001000000000000000
+01110000000000101000011100010101
+00100000001000000110110011111011
+01101000000000001100001001010011
+11000001100111111000000000000000
+01101000000000001100011010000100
+11000010100000110110110110110001
+00100000001000000110110110110101
+01101000000000001100001001010001
+11000100000000001000000000000000
+01110000000000101000011100011001
+00100000001000000110110011111011
+01101000000000001100001001010001
+11000001100111111000000000000000
+01110000000000101000011100011011
+00100000001000000110110011111011
+01101000000000001100001001010001
+11000001111111111000000000000000
+01101000000000001100011010000100
+11000010100000110110110110110011
+00100000001000000110110110110101
+01101000000000001100001001010100
+11000100000000001000000000000000
+01110000000000101000011100011111
+00100000001000000110110011111011
+01101000000000001100001001010100
+11000100000000011000000000000000
+01110000000000101000011100100001
+00100000001000000110110011111011
+01101000000000001100001001010100
+11000001111111111000000000000000
+00100000001000000110110110110101
+01110000000000101000011100001111
+00100000001000000110110011111011
+01110000000000101000011100010111
+00100000001000000110110011111011
+01110000000000101000011100011101
+00100000001000000110110011111011
+01110000000000101000011100000000
+00100000011000000000000000000000
+01000111010111111100000000110111
+00100000010000000101001010111000
+01011000000000000000000000000001
+00011111111000100000010000000000
+01011000000000000000000001010000
+00011111111000100001011000000000
+00100000001000000101000010101000
+01000111011000000100000000111000
+00100000010000000101001010111000
+01101000000000010100001001001000
+00011111111000100000010000000000
+00100000001000000101000010110111
+01000111011000001100000000111000
+00100000010000000101001010111000
+01101000000000010100001001001000
+00011111111000100000010000000000
+11011001011000000000000001010000
+00100000010000000101000011001100
+01101000000000001100001001010000
+01111001001111111111111000000101
+01100000000000001100001001010000
+00100000011000000000000000000000
+01000111011000010100000000111000
+00100000010000000101001011000101
+00100000010000000111000100111000
+00100000001000000101000011100111
+01000111011000011100000000111000
+00100000010000000101001010111000
+01011000000000000000000000000011
+00011111111000100000010000000000
+01011000000000000000000001010001
+00011111111000100001011000000000
+00100000001000000101000010101000
+01000111011000100100000000111000
+00100000010000000101001010111000
+01101000000000010100001001001010
+00011111111000100000010000000000
+00100000001000000101000010110111
+01000111011000101100000000111000
+00100000010000000101001010111000
+01011000000000000000000000010001
+00011111111000100000010000000000
+01011000000000000000000001010010
+00011111111000100001011000000000
+00100000001000000101000010101000
+01000111011000110100000000111000
+00100000010000000101001010111000
+01101000000000010100001001001100
+00011111111000100000010000000000
+00100000001000000101000010110111
+01000111011000111100000000111000
+00100000010000000101001010111000
+01011000000000000000000000010011
+00011111111000100000010000000000
+01011000000000000000000001010011
+00011111111000100001011000000000
+00100000001000000101000010101000
+01000111011001000100000000111001
+00100000010000000101001010111000
+01101000000000010100001001001110
+00011111111000100000010000000000
+00100000001000000101000010110111
+01000111011001001100000000111001
+00100000010000000101001011010010
+01110000000001001111101100000011
+01110000000001001111111000011100
+00100000010000000110101110101001
+01110000010001010110001100000001
+00100000011000000000000000000000
+01000111011001010100000000111001
+00100000010000000101001011010010
+01101000000010001100010101100100
+00100000010000000110101001111001
+01100000000010001100010101011101
+00100000001000000110101111000100
+01000111011001011100000000111001
+00100000010000000101001011010010
+01101000000010001100010101011101
+00100000010000000110101001110011
+00100000010000000110101000011010
+01100000000000001000010011111110
+01101000000010001100010101011101
+00100000010000000110101001110011
+01100000000010001000010011111011
+00100000001000000110101110101001
+01000111011001100100000000111001
+00100000010000000101001011010010
+01101000000010001100010101011101
+00100000010000000110101001110011
+00100000001000000110101111111100
+01000111011001101100000000111001
+01101000000000010000001001100100
+10011000000000000000110000000000
+11101000110000001000000000000000
+00011111111000100010010000000000
+01100000000000001000010100011011
+11101000110000010000000000000000
+01100000000000010000010100011100
+11101000110000001000000000000000
+00011111111011010001011000000000
+11101000110000001000000000000000
+10011001011000001001011000000000
+01000111011001110100000000111001
+00011000110000100000010000000000
+11011111001000000000000000000100
+11011000101000000000010100101010
+00100000010000000111111011000110
+00011000010000100000110000000000
+00011010010000100111111000000000
+11000000000000001110111110111010
+11000000000000010110111000101100
+11000000000000011110111110111010
+11000000000000100110111001010100
+11000000000000101110111110111010
+11000000000000110110111100000010
+11000000000000111110111110111010
+00100000001000000110111111000001
+01000111011001111100000000111001
+00100000010000000110111111010000
+00101000010000011111111000000001
+00100000001000001111000001000000
+00101000010000011111111011111111
+00100000001000001110111111000100
+11101000110000010000000000000000
+01100000000000010000010100100010
+00011001011000001001011111111110
+00011001011000001001011111111111
+00100100001000101110111110111110
+11011001011000000000010100010001
+11101001011000010000000000000000
+00100000011110100000000000000000
+00100000010000000111000010000010
+00100000010000000101001011010000
+00011000000000000111111000000011
+11100000101000001000000000000000
+01101000000000010000010100011100
+11100000101000010000000000000000
+00011000111010111111111000000000
+00011111111000001111111000000101
+00011111111000001010011000000101
+00011111111100001111111000000000
+11100000101000010000000000000000
+00011000111000100111111000000000
+00011111111100001111111000000000
+11100000101000010000000000000000
+11100000101000010000000000000000
+11011000110000000000010100101010
+00011000111000100111001000000000
+00100000001000101110111001001111
+11101000110000100000000000000000
+11100000101000100000000000000000
+11000010000000000110111001001100
+00011000000000000111111000000000
+11100000101000001000000000000000
+00011010011000100111111000000000
+01100000000000010000001001110101
+00100000011000000000000000000000
+01000111011010000100000000111010
+11101000110000100000000000000000
+01100000000000100000010100100100
+00011001011000001001011111111100
+00100000010000000110111100101110
+01100000000000010000010100100000
+00011001011000001001011111111110
+00100000010000000111000000101000
+00100000001000101110111111000100
+00101010001000011111111000000101
+00100000001000001110111001100010
+11011000101000000000010100101010
+00011000000000000000111000000000
+00100000001000000110111001110001
+11101000110000001000000000000000
+11000000100001010110111111000100
+11101000110000010000000000000000
+00100100001110100110111001101111
+11101000110000001000000000000000
+11000000111111111110111001101101
+11101000110000001000000000000000
+11000000111111111110111001101011
+00100000001000000110111010111000
+00011000110000001000110111111011
+00100000001000000110111001011111
+00011000110000001000110111111100
+00100000001000000110111001011111
+00011000110000001000110111111101
+00100000001000000110111001011111
+11101000110000001000000000000000
+11000000000001001110111010000110
+11000000000001010110111001110100
+11101000110000010000000000000000
+11100000101000010000000000000000
+00011000111000001000111000000001
+00011111111100001010010000000000
+11101000110000010000000000000000
+00011111111100001111111000000000
+00011010010000001010010000000001
+10011010010001100111110000000000
+00100100001000010110111010000011
+00011111111000100010011000000000
+00011010010100001111111000000000
+11100000101000010000000000000000
+00011000111000001000111000000001
+00011010011000100111111000000000
+00100000001000000110111001111010
+00011001011000001001011111111011
+00011010001000001010001111111011
+00100000001000000110111010001011
+11101000110000010000000000000000
+11100000101000010000000000000000
+00011000111000001000111000000001
+00011001011000001001011111111101
+00011010001000001010001111111101
+00100100001000010110111111000100
+00100100001000101110111001110001
+00011001011000001001011111111111
+00100100001000101110111111000100
+00100000010000000101001011010000
+00011000101000001000101000001010
+11011010001000000000010100101010
+00011000111000100111111000000000
+00100000001110100110111010100101
+11101010001000010000000000000000
+00100000001110100110111010100101
+10011000000000000010010000000000
+01101000000000100000010100100100
+10011000000000000000010000000000
+00100000010000000111000011100111
+00011000110000100111111000000000
+00100000001110100110111010100010
+00011000110000001000110111111101
+11101000110000011000000000000000
+11100000101000011000000000000000
+00100000010000000111000001011011
+10011000000000000111001000000000
+00100000010000000111111100000001
+00011010001000001010001000000010
+00011000111000001000111111111111
+00100000001000000110111010010010
+11011010001000000000000000000101
+00100000010000000110111110000100
+01101000000000010000001001110101
+11000000000001011111000001000011
+00100000001000000110111110011010
+11101000110000001000000000000000
+11000000000000000110111010101110
+11000000000000001110111010110000
+11000000000000010110111010110011
+00011001011000001001011111111111
+00100000001000000110111010110110
+11101000110000001000000000000000
+00011001011000001001011111111110
+00100000001000000110111010110110
+11101000110000010000000000000000
+00011111111100001111111000000000
+00011001011000001001011111111101
+01100000000000010000010100011001
+00100000011000000000000000000000
+00011001011000001001011111111011
+00100000010000000110111010101010
+00100100001000101110111110111110
+01101000000010100000010100100100
+00100000010000000111000010110001
+00100100001000101110111110111011
+00011000110000100010001000000000
+00100000010000000101001011010000
+00011010001000100000110000000000
+00011000101000001000101000000011
+00011000110000100001011000000000
+00100000010000000111000001100010
+00011111111000100010001000000000
+01101000000000010000010100011001
+00011111111000100010010000000000
+00011010001000100111111000000000
+10011010010001100010010000000000
+01101000000000010000010100100000
+10011010010001100111110000000000
+00100100001000010110111011100111
+01111000010101000111110000000000
+01101000000000010000010100011001
+00100000001110100110111011011010
+10011001011000001000110000000000
+00011010010000001010010000000011
+00011010010000100111001000000000
+00011111001000100111111000000000
+00011111111000001111111000000011
+00011111111100001111111000000000
+11100000101000010000000000000000
+00011111001000100111111000000000
+00011111111100001111111000000000
+11100000101000010000000000000000
+00100000001000000110111011110101
+00011010001000001111001000000110
+00100000001101000110111011011110
+00011111001100001111111000000000
+00100000001000000110111011100001
+00011111001000100111111000000000
+00011111111000001111111000000010
+00011111111100001111111000000000
+11100000101000010000000000000000
+00011111001000001111001111111101
+00011111001100001111111000000000
+11100000101000010000000000000000
+00011001011000100000110000000000
+00100000001000000110111011110101
+01111000001101000111110000000000
+01101000000000010000010100100000
+00011111111000100010001000000000
+00011010001000100111001000000000
+01101000000000010000010100011001
+00100000001110100110111011011010
+10011001011000001000110000000000
+00011010001000100111111000000000
+00011111111000001111111000000101
+00011111111100001111111000000000
+11100000101000010000000000000000
+00011010001000100111111000000000
+00011111111100001111111000000000
+11100000101000010000000000000000
+00100000010000000111111100000001
+00100100001101000110111011111110
+00011000000000000111111000000010
+11100000101000001000000000000000
+00011000110000100111111000000000
+10011001011001100111111000000000
+00011111111100001111111000000000
+11100000101000010000000000000000
+00100000001000000110111100000000
+00011000000000000111111000000000
+11100000101000001000000000000000
+11011010001000000000000000000101
+00100000001000000110111110110000
+01000111011010001100000000111010
+00100000010000000110111111010000
+00101000010000011111111011111111
+00100000001000001110111111000100
+00100000010000000110111100101110
+01100000000000010000010100100000
+00011001011000001001011111111110
+00100000010000000111000000101000
+11011000101000000000010100101010
+00011000000000000000111000000000
+11101000110000001000000000000000
+11000000000001010110111100110110
+11101000110000010000000000000000
+11100000101000010000000000000000
+00011000111000001000111000000001
+00011001011000001001011111111101
+00011010001000001010001111111101
+00100100001000010110111111000100
+00100100001000101110111100001100
+00011001011000001001011111111111
+00100100001000101110111111000100
+00100000010000000101001011010000
+00011000101000001000101000001101
+01101000000000010000010100010001
+10011000000000000010011000000000
+11011010001000000000010100101010
+11101010001000010000000000000000
+00100000001110100110111100101001
+10011000000000000010010000000000
+00100000010000000111000011000110
+00100000001110100110111100100111
+00011000110000001000110111111101
+11101000110000011000000000000000
+11100000101000011000000000000000
+00100000010000000111000001011011
+10011000000000000111001000000000
+00100000010000000111111100000001
+00011010001000001010001000000010
+00100000001000000110111100011100
+00100000010000000110111110000011
+01101000000000010000001001110101
+11000000000001110111000001000110
+00100000010000000110111110011010
+00100000001000000110111110011010
+11101000110000010000000000000000
+00011111111100001111111000000000
+00011111111000001111111111111101
+11011000010000000000000011001000
+10011000010001100111110000000000
+00100100011000010000000000000000
+01011000000000000000000011001000
+00100000011000000000000000000000
+00011000110000001000110000000100
+00011001011000001001011111111011
+00011010001000001010001111111011
+00100100001000101110111111000100
+00100000010000000110111010101010
+00100100001000101110111110111110
+11011001011000000000010100010001
+00100000010000000111000010000010
+00011000111000100111111000000000
+00100000001110100111000001000110
+01100000000000001000010101001110
+00011010010000100111111000000000
+01100000000000010000010101001100
+11011000111000000000000000000000
+11011010001000000000000000000000
+00100000010000000101001011010000
+00011000101000001000101000001010
+00100000010000000110111101101100
+00100100001101000010101010001100
+00011000110000100001011000000000
+00011111111000100010011000000000
+10011010001000001010001000000000
+01101000000000010000010100011001
+00011111111000100010010000000000
+00100000001110100110111101110101
+00011010001000100111111000000000
+10011010010001100010010000000000
+00100000001000101110111101100111
+00100100001000010110111101100111
+01101000000000010000010100100000
+10011010010001100111110000000000
+00100000001000101110111101011110
+00100100001000010110111101011110
+00011010010000100111001000000000
+00100000010000000110111101100001
+01101000000000001000010101001110
+00011000111000001000111000000001
+10011000111001100111110000000000
+00100000001000101110111110000011
+00100000001000000110111110100000
+00011111111000100111001000000000
+00100000010000000110111101100001
+00100000001000000110111110100000
+00011000101000001000101111111101
+00011111001000100000010000000000
+00011010011000100111111000000000
+10011010010001100111111000000000
+10011001011000001000110000000000
+00100000001000000111111100000001
+01101000000000001000010101001110
+00011000111000001000111000000001
+10011000111001100111110000000000
+00100000011000101000000000000000
+00100000001000000110111101000111
+00100000010000000111111111101001
+11011000110000000000010100101010
+00011000111010111111111000000000
+10011000110000001000110000000000
+11101000110010100000000000000000
+00100000010000000111000010110001
+00100100011000101000000000000000
+00100000010000000111000001011011
+00100000001000000111111111100111
+01101000000000010000010100100000
+10011010001001100111110000000000
+00100100001000010110111110001111
+00011010001000100111001000000000
+00011111001000100000010000000000
+00011001011000100000110000000000
+00100000010000000111111100000001
+01101000000000010000010101001100
+10011010001001100111110000000000
+00100000001000101110111110000001
+00100000010000000110111110100000
+00100000001000000110111110010100
+00100000010000000110111110000011
+00100000001000000110111110010100
+11011010001000000000000000000111
+00011000000000000111111000000000
+11100000101000001000000000000000
+00100000010000000110111110110000
+01101000000010010000001001110101
+00011000010000001000010111111011
+00011000010100001111111000000000
+11100000101000010000000000000000
+00011000010000001000010111111101
+00011000010100001111111000000000
+11100000101000010000000000000000
+00100000011000000000000000000000
+00011111111000100111001000000000
+00011111001000100000010000000000
+00011001011000100000110000000000
+00100000010000000111111100000001
+00100000010000000110111110100000
+01011000000000000000000000110110
+11100000101000001000000000000000
+01101000000000010000010101001100
+00011111111100001111111000000000
+11100000101000010000000000000000
+00100000011000000000000000000000
+01011000000000000000000000110110
+11100000101000001000000000000000
+00011000010000001000010111111101
+00011000010100001111111000000000
+11100000101000010000000000000000
+00100000011000000000000000000000
+11011010001000000000000000000111
+01011000000000000000000000000010
+11100000101000001000000000000000
+01101000000000010000010100011001
+10011000010000001000010000000000
+00011000010100001111111000000000
+11100000101000010000000000000000
+00100000010000000110111110110000
+01101000000010010000001001110101
+00011000010000001000010111111011
+00011000010100001111111000000000
+11100000101000010000000000000000
+00011000010000001000010111111011
+00011000010100001111111000000000
+11100000101000010000000000000000
+00100000011000000000000000000000
+01101000000000010000001001110011
+10011000101001100111111000000000
+00011111111001100111111000000000
+01100000000000010000001001110101
+00100000010000000101001011010000
+00011010001000100111111000000000
+11100000101000001000000000000000
+01101000000000010000010100011100
+11100000101000010000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01011000000000000000001000000000
+01100000000000010000010101001010
+00100000001000000110111111000110
+01011000000000000000010000000000
+01100000000000010000010101001010
+00100000001000000110111111000110
+01011000000000000000011000000000
+01100000000000010000010101001010
+00100000001000000110111111000110
+01011000000000000000001100000000
+01100000000000010000010101001010
+00100000010000000101001011010000
+11100000101000001000000000000000
+01101000000000010000010100011100
+11100000101000010000000000000000
+01011000000000000000001000000000
+11100000101000010000000000000000
+01101000000000010000010101001010
+11100000101000010000000000000000
+01110000000000100111010100000111
+00100000011000000000000000000000
+11011010010000000000000000000000
+00011000000000000000010000000000
+11011000101000000000010100010001
+00100000010000000111000000101000
+00100000001000101111000000100110
+00011010010000001010010000000001
+11101000110000001000000000000000
+00011010001000001010001111111111
+00011001011000001001011111111111
+00101111111000011111000000011000
+00100100001000001111000000100110
+00101111111000000000111000000100
+00100100001000001110111111110011
+00011000000000000000010000000001
+11101000110000001000000000000000
+00011010001000001010001111111111
+00011001011000001001011111111111
+11000000100000000110111111100111
+11101000110000001000000000000000
+00011010001000001010001111111111
+00011001011000001001011111111111
+11000000000000000110111111111000
+00100000001000000110111111101010
+00011000110000001000110000000001
+00011010001000001010001111111111
+00011001011000001001011111111111
+00011000110000001000110000000010
+00011010001000001010001111111110
+00011001011000001001011111111110
+00101000010000011111111000000000
+00100000001000001111000000100000
+00011000110000001000110000001100
+00011010001000001010001111110100
+00011001011000001001011111110100
+00100000001000000111000000100000
+00101111111000000000111000000010
+00100100001000001110111111110110
+00100000001000000110111111011110
+00101111111000000000111000000001
+00100100001000001111000000100110
+00011010001000001010001111111110
+00011001011000001001011111111110
+11101000110000010000000000000000
+00011010010001100111110000000100
+00100000001000101110111111111110
+11100000101000010000000000000000
+00101000010000011111111000000000
+00100000001000001111000000100000
+00011000110000100000010000000000
+11101000110000001000000000000000
+11000000100000000111000000011001
+11101000110000001000000000000000
+11000000100000000111000000011001
+11101000110000001000000000000000
+11000000100010000111000000011001
+11101000110000001000000000000000
+11000000100000000111000000011001
+11101000110000001000000000000000
+11000000110000000111000000011001
+11101000110000001000000000000000
+11000000100000000111000000011001
+11101000110000001000000000000000
+11000000100000000111000000011001
+11101000110000001000000000000000
+11000000110000000111000000011001
+11101000110000001000000000000000
+11000000101011111111000000011001
+11101000110000001000000000000000
+11000000110011011111000000011001
+11101000110000001000000000000000
+11000000100110100111000000011001
+11101000110000001000000000000000
+11000000011111011111000000011110
+00011000010000100000110000000000
+00011000110000001000110000001100
+00011000000000000000111000000000
+00011000000000000000010000000000
+00100000001000000111000000011110
+00011001011000001001011111110100
+00011010001000001010001111110100
+00011000000000000000010000000000
+00101010001000011111111000000000
+00100100001000001110111111010101
+00011000000000000111111000000000
+11100000101000010000000000000000
+00100000011000000000000000000000
+11011000010000000000000011111111
+00100000011000000000000000000000
+01000111011010100100000000111010
+11101000110000001000000000000000
+00011001011000001001011111111111
+00101111111000011111000000110000
+00100100001000001111000000111110
+00101111111000000000111000000111
+00100000001000001111000000110111
+00101111111000000000111000000110
+00100000001000001111000000111001
+00101111111000000000111000000101
+00100100001000001111000000111110
+11101000110000001000000000000000
+00011111111000100010001000000000
+00011001011000001001011111111111
+00100000001000000111000000111100
+00011000110000001000110000000010
+00011001011000001001011111111110
+11101000110000010000000000000000
+00011111111100001010001000000000
+00011001011000001001011111111110
+00011000000000000111111000000001
+00100000011000000000000000000000
+00011000000000000111111000000000
+00100000011000000000000000000000
+01011000000000000000000000000011
+01100000000000001000010100011011
+00100000001000000111000001001000
+01011000000000000000000000000101
+01100000000000001000010100011011
+00100000001000000111000001001000
+01011000000000000000000000000111
+01100000000000001000010100011011
+00100000010000000101001011010000
+01101000000000001000010100011011
+00011111111000100010010000000000
+11100000101000001000000000000000
+01101000000000010000010100011100
+11100000101000010000000000000000
+01011000000000000000010100000000
+11100000101000010000000000000000
+00101010010000011111111000000101
+00100000001000001111000001010111
+00101010010000011111111000000111
+00100000001000001111000001010111
+01011000000000000000000000000000
+11100000101000101000000000000000
+00100000001000000111000001011001
+01011000001101010000001000000000
+11100000101000101000000000000000
+01110000000000100111010100001010
+00100000011000000000000000000000
+00100000010000000111111010100010
+00100000010000000111111010100101
+00100000010000000111000001100010
+00100000010000000111111010011100
+00100000010000000111111010011111
+00011000010000100111111000000000
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000010111001000000111
+00011111111010010111111000000000
+11000000100000000111000001101100
+00011000000000000111111000000001
+00011000000000000000010000000001
+00100000011000000000000000000000
+00100000010000000111111001110110
+00011111111000001000010000000001
+00100000011000000000000000000000
+00011111001000100111111000000000
+00011111111001100111110000000100
+00100000001000010111000001101001
+11000000000000101111000001110011
+11000000000000110111000001110110
+11000000000000111111000001111010
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000001000010000000010
+00100000011000000000000000000000
+11101000110000010000000000000000
+00011111111100001111111000000000
+00011111111000001000010000000011
+00100000011000000000000000000000
+11101000110000010000000000000000
+00011111111100001111111000000000
+11101000110010010000000000000000
+00011000010100001000010000000000
+00011000010100000000010000000000
+10011000010000001111111000000000
+00011111111000001000010000000101
+00100000011000000000000000000000
+01000111011010101100000000111010
+00011000000000000000111000000000
+11011010010000000000000000000000
+11011000101000000000010100101010
+11101001011000010000000000000000
+00100000011110100000000000000000
+00100000010000000111000010001101
+00011000111000100111111000000000
+11000001000000111000000000000000
+00011001011000001001011000000010
+00100000001000000111000010000110
+10011000000000000010011000000000
+01101000000000010100010101110101
+10011000000000000000110000000000
+00011000111000100111111000000000
+11000001000000111000000000000000
+01111000010101000111110000000000
+11101000110000001000000000000000
+00100000011110100000000000000000
+10011000000000000111001000000000
+11101000110000010000000000000000
+10011010011001100111110000000000
+00100100001000101111000010011010
+01111000001101000111110000000000
+11000010000000000111000010010110
+11101000110010100000000000000000
+00011000110000100010001000000000
+00100100001101000111000010101101
+11011000110000000000010100101010
+11011111001000000000000000000111
+11101000110000100000000000000000
+00100000001110100111000010100110
+10011000010001100111110000000000
+00100000001000101111000010101101
+11000010000000000111000010100000
+00100000011000000000000000000000
+11100000101010100000000000000000
+00011000111000001000111000000001
+00011010001000100000110000000000
+00100000010000000111000001011011
+10011010010000001010010000000000
+10011000110000001000110000000000
+00100000001000000111000010010000
+00011010001000100000110000000000
+00100000010000000111000001100010
+10011000110000001000110000000000
+00100000001000000111000010010000
+01000111011010110100000000111010
+01101000000000010100010101110101
+10011000000000000000110000000000
+11101000110000001000000000000000
+00100000001110100111111111100011
+00011111111000111111111000000000
+10011000110000001000110000000000
+11101000110000100000000000000000
+10011000010001100111110000000000
+00100000011000101000000000000000
+00011000101000100111111000000000
+01100000000000010000101010111011
+01100000000011000000101010100010
+00100000010000000111000001100010
+10011000110000001000110000000000
+00011000110000100111111000000000
+01101000000010010000101010111011
+00011000010000100000101000000000
+01101000000011000000101010100010
+00011111111000100000110000000000
+00100000001000000111000010110100
+01000111011010111100000000111010
+01101000000000010100010101110101
+10011000000000000000110000000000
+11101000110000001000000000000000
+00100000001110100111000011100100
+10011000000000000111001000000000
+11101000110000010000000000000000
+10011010011001100111110000000000
+00100000001000101111000011010100
+11000010000000000111000011001100
+00011000110000001000110000000100
+00100000010000000111000001100010
+10011000110000001000110000000000
+00100000001000000111000011001001
+00011111001000001111001111111111
+00011111001000111111111000000000
+10011000110000001000110000000000
+00011000110000001000110000000100
+00100000010000000111000001100010
+10011000110000001001011000000000
+00011000110000001000110000000001
+11101000110000010000000000000000
+10011010010001100111110000000000
+00100000001000101111111111101111
+00100000010000000111000001011011
+10011000110000001000110000000000
+00011001011000100111111000000000
+10011000110001100111110000000000
+00100000001000101111000011100100
+00100000001000000111000011011010
+00011000000000000000110000000000
+00011000000000000111111000000000
+00100000011000000000000000000000
+01000111011011000100000000111011
+01101000000000010100010101110101
+10011000000000000000110000000000
+11101000110000001000000000000000
+00100000001110100111000100000000
+00011111111000111111111000000000
+10011000110000001000110000000000
+11101000110000100000000000000000
+10011000010001100111110000000000
+00100000001000101111000011110100
+00100000010000000111000001100010
+10011000110000001000110000000000
+00100000001000000111000011101010
+00100000010000000111000001100010
+10011000110000001001011000000000
+00011000110000001000110000000001
+11101000110000010000000000000000
+10011010010001100111110000000000
+00100000011000101000000000000000
+00100000010000000111000001011011
+10011000110000001000110000000000
+00011001011000100111111000000000
+10011000110001100111110000000000
+00100000001000101111000100000000
+00100000001000000111000011110110
+00011000000000000000110000000000
+00100000011000000000000000000000
+11011010010000000000010000000000
+00100000010000000111000011110100
+11011010010000000000001100000000
+00100000010000000111000100001101
+00100100011101000000000000000000
+00011010001001100111110000000011
+00100000001000010111111111101001
+11101000110000001000000000000000
+11000000100001000111111111101001
+11101000110000001000000000000000
+00100000011000000000000000000000
+01000111011011001100000000111011
+00100000010000000111000001100010
+00011111111000100010001000000000
+11101000110000001000000000000000
+00011111111000010111001000000111
+00011111111010010111111000000000
+00011111111001100111110000000011
+00100000001000101111000100101001
+00011111001000100111111000000000
+11000000000000101111000100100000
+11000000000000110111000100100011
+11000000000000111111000100100110
+00011000110000001000110111111111
+00100000010000000111000001100010
+10011000110000001000110000000000
+00011010001000100111111000000000
+10011000010001100010001000000000
+00100000001000101111111111101001
+00100000001000000111000100010000
+00011010001000001010001111111110
+00011000110000001000110000000001
+00100000001000000111000100010000
+00011010001000001010001111111101
+00011000110000001000110000000010
+00100000001000000111000100010000
+00011010001000001010001111111011
+00011000110000001000110000000100
+00100000001000000111000100010000
+00011010001000001010001111111111
+00011111001000100111111000000000
+11000000000000001111000100110010
+11000000000000010111000100110000
+11000000000000100111000100101111
+00100000001000000111111111101001
+00011010001000001010001111110100
+11101000110000010000000000000000
+00011010001000001010001111111110
+11101000110000010000000000000000
+10011010010001100111110000000000
+00100000001000101111111111100111
+00011010001000001010001111111110
+00100000001000101111111111101001
+00100000001000000111000100010000
+00100000010000000101001011010000
+00011111111000100000101000000000
+01011000000000000000000000000110
+11100000101000001000000000000000
+01011000000000000000000001101110
+11100000101000010000000000000000
+01011000000000000000111100000000
+11100000101000010000000000000000
+01011000000110100000010100110101
+11100000101000011000000000000000
+01011000000000000000000100010001
+00011111111100000111111000000000
+11100000101000100000000000000000
+01011000000000000010011000000000
+11100000101000010000000000000000
+01011000000000000000001100110101
+11100000101000010000000000000000
+01011000000000000000000000001001
+11100000101000010000000000000000
+01011000000000000000000000000100
+11100000101000010000000000000000
+01110000000000100111010100010100
+00100000011000000000000000000000
+01000111011011010100000000111011
+01110000000001011110010101010000
+11011000101000000000010111100110
+11011000110000000100010000111010
+00100000010000000111111010111111
+11011000110000000100010111010010
+00100000010000000111111010111101
+11011000110000000000100110111110
+00100000010000000111111010111101
+00100000010000000111001000001010
+11011000110000000000010000101111
+00100000010000000111001000000101
+00100000010000000111000111010000
+11011000101000000000101011110010
+00100000010000000111001000000001
+01011000000011110100001001000000
+00011111111000100010001000000000
+01101000000000100000101011110010
+10011010001001101111110000000000
+00100000010000000111111110000110
+00011000000001110111111000000000
+01100000000000100000100110111010
+00100000011000000000000000000000
+01110000000001011110010101000001
+11011000101000000000010111100110
+00100000010000000111000110110101
+00100000010000000111000110110000
+01101000000000011100010001010100
+11100000101000011000000000000000
+00100000010000000111000101110110
+11011000110000000000010000101111
+00100000010000000111111010111111
+11011000110000000100010000111010
+00100000010000000111111010111111
+00100000010000000111001000001010
+11011000110000000000101100010010
+11011000101000000000101011000010
+00100000010000000111111010111111
+00100000001000000111000111010000
+01101000000000100100010011000111
+11100000101000100000000000000000
+00100000010000000111111011001101
+00100000001000000111111011001010
+01000111011011011100000000111011
+01110000000001011110010101000001
+11011000101000000000010111100110
+00100000010000000111000110110000
+00100000010000000111000110110101
+01101000000000011100010001001101
+11100000101000011000000000000000
+00100000010000000111000101110110
+11011000110000000100010000111010
+00100000010000000111111010111111
+11011000110000000000010000101111
+00100000010000000111111010111111
+00100000010000000111001000001010
+11011000110000000000101100010010
+11011000101000000000101011000010
+00100000010000000111111010111111
+00100000010000000111000111010000
+11011000101000000000101011110010
+00100000001000000111001000000001
+01110000000001011110010100100000
+11011000110000000000100111111110
+11011000101000000000010111100110
+00100000010000000111111010111101
+00100000010000000111001000001010
+11011000110000000000100110011110
+00100000010000000111001000000101
+00100000010000000111000111010000
+11011000101000000000101011000010
+00100000010000000111010010010111
+11011000010000000000000000000001
+00100000010000000111000110011111
+11011000101000000100010000011001
+00100000010000000111001000000001
+11011000010000000000000000000000
+00100000010000000111000110011111
+11011000101000000000101100010010
+00100000001000000111010010010111
+01000111011011100100000000111011
+01110000000001011110010100110101
+01011000000000000000000100000000
+01100000000000010000010111100110
+00100000010000000111000110110000
+00100000010000000111000110110101
+11011000110000000100010000111010
+00100000010000000111111010111111
+11011000110000000000010000101111
+00100000010000000111111010111111
+01011000000000000110110001100101
+11100000101000010000000000000000
+01011000000000000110001001110100
+11100000101000010000000000000000
+11100000101010001000000000000000
+00100000010000000111001000001010
+00100000001000000111000111010000
+01101000000000110100010010100000
+11100000101000110000000000000000
+01101000000000001100010010010101
+11100000101000001000000000000000
+00100000011000000000000000000000
+01101000000000110000010001001111
+11100000101000110000000000000000
+01101000000000001100010010001110
+11100000101000001000000000000000
+00100000011000000000000000000000
+01110000000001011110010101000001
+01101000000000001100011001100100
+01100000000000001000010111100110
+11011000110000000100010111010010
+00100000010000000111111010111101
+11011000110000000000100110111110
+00100000010000000111111010111101
+00100000010000000111001000001010
+11011000110000000000010000101111
+00100000010000000111001000000101
+00100000001000000111000111010000
+01110000000001011110010101000001
+01101000000000001100011001100100
+01100000000000001000010111100110
+11011000110000000000100110111110
+00100000010000000111111010111101
+11011000110000000100010111010010
+00100000010000000111111010111101
+00100000010000000111001000001010
+11011000110000000100010000111010
+00100000010000000111001000000101
+00100000001000000111000111010000
+01000111011011101100000000111011
+00100000010000000111001000011111
+01101000000000001000010111100101
+00011111111000100000010000000000
+00011111111000001111111000001111
+00011111111100011111111000000000
+00011111111000100010010000000000
+00100000001110100111000111100010
+00011000010000010111111000001111
+00100100001110100111000111100101
+11011010011000000000101011010010
+11011111111000000000010111100110
+00011111111000001111111111110000
+10011000010000001010001000000000
+11011000101000000000101100000010
+11011111001000000000000000000100
+00100000010000000111111011011101
+00100000001000000111000111110000
+11011010010000000000000000000001
+11011010001000000000000000000000
+00100000001000000111000111100110
+00011000010000010010001000001111
+11011111111000000000010111100110
+10011000010000001111111000000000
+10011010001001100000110000000000
+11011000101000000000101011110010
+00100000010000000111001001000101
+11011010011000000000101011100010
+11011010001000000000101011110010
+11011000101000000000101100000010
+11011111001000000000000000000100
+00100000010000000111111011011101
+00100000010000000111010010010001
+00100000010000000111010000101000
+11011000110000000000010111100110
+00011010010000001010010111111111
+00011010010000100111111000000000
+00100000001110100111000111111001
+00100000010000000111010010000110
+00100000010000000111010000100010
+00100000001000000111000111110011
+11011000101000000000101011110010
+00100000010000000111010010010111
+11011000110000000000101100000010
+00100000010000000111010010000110
+00100000010000000111010000101000
+11011000110000000000101011110010
+00100000010000000111010010000110
+00100000001000000111010000100010
+00011000101000100010001000000000
+00100000010000000111010010010111
+11011111001000000000000000010000
+00100000001000000111111011100101
+11011000101000000000101011000010
+00100000010000000111111010111111
+11011111001000000000000000010000
+11011010001000000000101011000010
+00100000001000000111111011100101
+01101000000000001000010111100101
+00011111111000100111001000000000
+11011010001000000000010111100110
+00100000001000000111111011100101
+11101010001000001000000000000000
+00011111111000111111111000000000
+00101010011011111111111000000000
+01111001001000001111111000000000
+00101111111011111111111000001000
+01111001001000001010011000000000
+11100010001000001000000000000000
+00011010001000001010001111111111
+11000010000000000111001000001110
+00100000011000000000000000000000
+11011010001000000000101011010010
+00011010001000001010001000001111
+00011000000000000111001000010000
+00011000000000000010011000000000
+00100000001000000111001000001110
+11011010001000000000101011100010
+00100000001000000111001000011001
+11011000110000000000101011000010
+00100000010000000111010010000100
+00011000000000000111000000001000
+00100000010000000111010010010010
+00100000010000000111010010010001
+00100000010000000111010000011111
+11011000101000000000101011010010
+00100000010000000111010010010111
+01000111011011110100000000111011
+01101000000000001000101011010010
+00101111111011111111111000000111
+00100100001000001111001000110000
+00100000010000000111001000011000
+11011010011000000000101011010010
+11011000101000000000101011010010
+00100000010000000111001000111010
+00100000001000000111001000110001
+00100000010000000111001000011000
+11011000110000000000101011010010
+11011000101000000000101011100010
+00100000010000000111111010111111
+01101000000000001000101011100010
+00101111111011111111111000000111
+00100100001000001111001000011101
+00100000010000000111001000011101
+11011010011000000000101011100010
+11011000101000000000101011100010
+11011111001000000000000000000011
+11011000010000000000000000000000
+00100000010000000111001001000001
+00011010011000001010011000000100
+11000010000000000111001000111011
+11011000010000001000011100000000
+00011000010100000000010000000000
+11101010011000100000000000000000
+10011000010000101111111000000000
+11100000101000100000000000000000
+00100000011000000000000000000000
+01000111011011111100000000111011
+11011111001000000000000000010000
+11011111111000000000000000000000
+10011010001001100111110000000000
+00100000001000101111001001010000
+00100000001000010111001001010011
+11101000110010001000000000000000
+11100000101010001000000000000000
+00011111111000001111111000000001
+11000010000000000111001001001000
+00100000011000000000000000000000
+11011000010000000000000010000000
+11100000101010001000000000000000
+00100000001000000111001001001101
+11011000010000000000000000000000
+00100000001000000111001001010001
+00100000010000000111001001101000
+11011000110000000000010110010010
+11011000101000000000010110000010
+00100000001000000111111010111111
+01111000010101000111110000000000
+00100000010000000111001101011111
+11011000110000000000010101100010
+11011000101000000000010110100010
+00011000000000000111001000001111
+00100000010000000111111100000001
+11101000110000001000000000000000
+00011111111000101111111000000110
+11100000101000001000000000000000
+01011000000000000000010110110010
+01100000000000010000010111010110
+01011000000000000000010110100010
+01100000000000010000010111010100
+01111001001000000000000000010010
+00100000001000000111001010101000
+01101000000010001100011010001001
+00011000000000000010010000010000
+00011000010000001010011000000110
+00011010011001100111110000010000
+00100000001000010111001001101110
+00011000000000000010011000010000
+11011000101000000000010110100010
+11011000110000000100011010001010
+00011000010000100111001000000000
+01111000010101000111110000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+00011010010000001010010111111111
+00100000001000101111001001111100
+11000010000000000111001001110010
+00100000001101000111001001101111
+01111000001101000111110000000000
+00011000000000000111001000000110
+00011010001000100000110000000000
+00100000001000000111001001110010
+11011000110000000000010101100010
+11011000101000000000010110110010
+00100000010000000111111010111111
+01101000000000001000010111000001
+10011010011000101111111000000000
+01100000000000001000010111000001
+01011000000000000000010110110010
+01100000000000010000010111010110
+01011000000000000000010110100010
+01100000000000010000010111010100
+01111001001000000000000000010010
+00100000001000000111001010101000
+01111000010101000111110000000000
+00100000010000000111001101011111
+00100000001000000111001010010010
+11011010001000000000000001010110
+01111000001101000111110000000000
+00100000010000000111001101011111
+00100000010000000111001010010010
+11011000110000000000010110010010
+11011000101000000000000001100010
+00100000001000000111111010111111
+01011000000000000000010101100010
+01100000000000010000010111010110
+01011000000000000100000110111110
+01100000000000010000010111010100
+01111001001111111000000000010010
+00100000010000000111001010101000
+11011010001000000000010110010010
+11011010010000000000010101100010
+11011000101000000000010110100010
+00100000010000000111001101010010
+11011010001000000000010110100010
+11011010010000000000010110110010
+00011010010000100000101000000000
+01111000001101000111110000000000
+00100000010000000111001101010000
+00100000010000000111001101101010
+01011000000000000000010110110010
+01100000000000010000010111010110
+01011000000000000000010110100010
+01100000000000010000010111010100
+01111001001000000000000000010010
+00100000001000000111001010101000
+01110000000001011101100000000000
+01101000000000010000010111010100
+10011000000000000000110000000000
+11011000101000000000010111000010
+00100000010000000111111010111111
+01101000000000010000010111010110
+10011000000000000000110000000000
+11011000101000000000010110010010
+00100000010000000111111010111111
+00100000010000000111001011001111
+01111000010101000111110000000000
+11000101100010010111001010111001
+01101000000000001000010111011000
+11000000100000100111001010111001
+01101000000000010000010111010110
+10011000000000000010010000000000
+00100000010000000111001100000001
+00100000010000000111001100000000
+00100000010000000111001100010011
+01101000000000001000010111011000
+00011111111000001111111000000001
+01100000000000001000010111011000
+00100000010000000111001011001111
+01111000001101000111110000000000
+00100000010000000111001100000000
+00100000010000000111001100100010
+00100000010000000111001100110001
+00100000010000000111001100100010
+00100000010000000111001100110001
+00100000010000000111001100100010
+00100000010000000111001100110001
+00100000010000000111001100100010
+01101000000000001000010111011000
+00011111111000001111111000000001
+01100000000000001000010111011000
+11000000100010000111001010110001
+00100000010000000111001011001111
+01111000010101000111110000000000
+00100000001000000111001100000000
+01101000000000001000010111011000
+11011000110000000000010111000010
+00100000001110100111001011110110
+10011000000000000010010000000000
+00011000000000000111001000010001
+00011000110000100000101000000000
+11101000110000001000000000000000
+00011111111010011000010000000000
+00011111111010110111111000000000
+00011111111010010111111000000000
+10011000010000011111111000000000
+11100000101000001000000000000000
+11000010000000000111001011010101
+01011000000000000000010111000010
+10011010010000001000110000000000
+00011000000000000111001000010000
+11011000101000000000010101110010
+11101000110000001000000000000000
+11100000101000001000000000000000
+00101000110000011111111111010011
+00100100001000001111001011100101
+00011000110000001000110111101111
+11000010000000000111001011100000
+00011000000000000010001000000000
+00011010010000001010011111111111
+00011010011010111010011000000000
+00011010011010111010011000000000
+00100000010000000111010010111001
+01011000000000001000010000000000
+10011010011000001010011000000000
+11011000101000000000010101110010
+00011000000000000111001000010000
+11101010011010001000000000000000
+11101000101000001000000000000000
+10011000010000001111111000000000
+11100000101000001000000000000000
+00011010011000001010011000000001
+11000010000000000111001011101111
+00100000001000000111010010111101
+00011000000000000111001000010000
+00011000000000000000010000000000
+11101000110000001000000000000000
+10011000010000101000010000000000
+11000010000000000111001011111000
+00011000010000100111111000000000
+11100000110000001000000000000000
+11011000110000000000010111000010
+11011000101000000000010101110010
+00100000001000000111111010111111
+11011010010000000000010101110010
+00011000000000000111001000010000
+11011010001000000000010110010010
+00011010001000100000101000000000
+11101010001010001000000000000000
+11101010010000001000000000000000
+10011000010000101110000000000000
+00011111001000010010011000000011
+00100100001101000111001100001010
+00011010011000101010011000000011
+00011010011001100010011000000001
+00100000001000010111001100001101
+10011000010000001110000000000000
+00011110000000100111111000000000
+11100000101000001000000000000000
+00011010001000001010001000000001
+00011010010000001010010000000001
+11000010000000000111001100000100
+00100000011000000000000000000000
+00100000010000000111010010111001
+00011000000000000111001000010000
+11011010001000000000010110010010
+11101010001000001000000000000000
+11011000110000001000010100000000
+00011111001000010010011000000011
+00011010011001100111110000000001
+00100000001000010111001100011100
+11011000110000001000011000000000
+10011000110000001000110000000000
+11101000110000001000000000000000
+11100010001000001000000000000000
+00011010001000001010001000000001
+11000010000000000111001100010110
+00100000001000000111010010111101
+00011000000000000111001000001000
+11011000110000000000010110010010
+00011000110000100000101000000000
+11101000110000001000000000000000
+10011000000000000010001000000000
+11101000110000001000000000000000
+10011000000000000010010000000000
+00011010001000111111111000000000
+10011010010000001111111000000000
+11100000101000001000000000000000
+00011010001000100111111000000000
+10011010010000001111111000000000
+11100000101000001000000000000000
+11000010000000000111001100100101
+00100000011000000000000000000000
+01011000100010101110010000101100
+10011000000000000000010000000000
+00011000000000000111001000000111
+00100000010000000111001101000000
+01011000000011010111010100011011
+10011000000000000000010000000000
+00011000000000000111001000000101
+00100000010000000111001101000000
+01101000000000001000010110100001
+10011000000000000010001000000000
+01101000000000001000010110010101
+01100000000000001000010110100001
+00011010001000100111111000000000
+01100000000000001000010110010101
+00100000011000000000000000000000
+00011000010000010010010000001111
+00011000010000010111111000001111
+11011000101000000000010110010010
+10011000101000001000101000000000
+11101000101000001000000000000000
+10011000000000000010011000000000
+00011010001000100111111000000000
+11100000101000001000000000000000
+00011010011000100010001000000000
+00011000010100011000010000000000
+11000010000000000111001101000001
+01011000000000000000010110010010
+10011010010000001000101000000000
+00011010001000100111111000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01111000001101000111110000000000
+00100000001000000111001101010011
+01111000010101000111110000000000
+00011000000000000111001000010000
+11101010001010001000000000000000
+11101010010000001000000000000000
+00100000001101000111001101011001
+10011000010000101111111000000000
+00100000001000000111001101011010
+10011000010000001111111000000000
+11100000101000001000000000000000
+00011010001000001010001000000001
+00011010010000001010010000000001
+11000010000000000111001101010100
+00100000011000000000000000000000
+11011000101000000000010110110010
+11101010001000110000000000000000
+11100000101000110000000000000000
+00100000001101000111001101100101
+11101010001000110000000000000000
+00100000001000000111001101100110
+11101000110000110000000000000000
+11100000101000110000000000000000
+11101010001000100000000000000000
+11100000101000100000000000000000
+00100000011000000000000000000000
+11011000110000000100000110111110
+11011000101000000000010110100010
+11011000010000000000000000000000
+01011000100000111001010110100111
+00100000010000000111001110001011
+01011000101100111100000111011111
+00100000010000000111001110001011
+01011000000000001110010111101001
+00100000010000000111001110001100
+00011000010000100010100000000000
+01111000010101000111110000000000
+00100000010000000111001101111001
+00011010100000100000010000000000
+01111000001101000111110000000000
+00100000001000000111001101111001
+00011000000000000111001000001000
+11101000110000001000000000000000
+00101111001000000000001000000001
+00100000001101000111001110000000
+00100000001000001111001110000001
+10011000010000001111111000000000
+00100000001000000111001110000010
+00100000001000001111001101111110
+10011000010000101111111000000000
+11100000101000001000000000000000
+00011000010011001000010000000000
+11000010000000000111001101111010
+00100000011000000000000000000000
+01101000000000110000010110010110
+01100000000000110000000001010110
+11101000110000110000000000000000
+11100000101000110000000000000000
+00100000011000000000000000000000
+00011000010011010000010000000000
+00011000010100000000010000000000
+10011000010000011000010000000000
+00100000011000000000000000000000
+00100000001000000111001110001111
+01000111011100000100000000111100
+00100000010000000111010000101011
+11011000101000000100010000011001
+00100000001000000111010010010111
+11011000101000000100010000111010
+00100000001101001111001110010111
+11011000101000000000010000101111
+00011000110000100010001000000000
+00100000010000000111111010111111
+00100000010000000111010001000000
+11011000110000000100010000101010
+00100000001000000111010010110000
+11011010001000000000010000101111
+00100000001101001111001110011111
+11011010001000000100010000111010
+00011010001000100000101000000000
+00100000010000000110001100001100
+00100000001000000111010001000000
+11011000110000000100010010101010
+00100000010000000111010010000110
+11011000110000000100010000011001
+00100000010000000111010010000111
+00011000000000000110110000111000
+00011000000000000110110000000000
+00100000010000000111010000011101
+11011000101000000000010001111100
+00100000001000000111010010010111
+00011000000000000111111001001001
+00100000001000000111001110101110
+00011000000000000111111000000001
+00011000000000000111000000000000
+00011000010011010101111000000000
+10011101111000011101111000000000
+00011111000000001111000000000001
+00011000010011001101111000000000
+00011101111100010101111000000000
+01101000000000010100010000010001
+00011111111100000111111000000000
+10011101111000011101111000000000
+00011111000000001111000000000001
+11101000110000100000000000000000
+10011000000000000101111000000000
+00011111000000001111000000000001
+11101000110000010000000000000000
+00011010001100001101111000000000
+00011101111100000101111000000000
+10011101111000011101111000000000
+00011111000000001111000000000001
+00100000011000000000000000000000
+00011010011000001000110000000001
+11101000110000001000000000000000
+10011000000000000010001000000000
+00100000010000000111001110101011
+00100000010000000111010000011111
+00011000000000000111000000000000
+11101010011000001000000000000000
+00011111111000010111111000000011
+00011111111100000101111000000000
+01111001001000000101111000001000
+00100000010000000111010010001111
+00100000010000000111010000100010
+00011010001000100111001000000000
+00011010011000001000110000000010
+00100000010000000111010001101110
+00100000010000000111010001111000
+00100000010000000111010000100010
+00011111001000100111111000000000
+00100000001110100111001111010101
+00100000001000000111001111010000
+00011000000000000111000000001100
+00011101111000100111111000000000
+01100000000000100000010000010111
+00100000011000000000000000000000
+00011010001000001010001000000001
+00100000010000000111001110101101
+00011010011000100000110000000000
+00100000010000000111010010000010
+00100000010000000111010000100101
+00100000010000000111010010011110
+00011010011000001010011000010000
+00011010010000001010010111110000
+00100000001000010111001111011001
+00100000011000000000000000000000
+01000111011100001100000000111100
+11011010011000000100001111011100
+01101000000010101100010000000011
+00100000010000000111001111000001
+00011000000000000111000000001000
+10011000000000000101111000000000
+00011000000000000010001000000000
+00100000010000000111001110101101
+00100000010000000111010000100101
+11011010011000000100001111011110
+01101000000000001100001111011101
+00011111111000001010010111111111
+10011010011000001000101000000000
+00011000000000000111000000001100
+00011101111000100111111000000000
+11100000101000100000000000000000
+00100000010000000111001111011001
+01101000000000001100001111011101
+00011111111000001111111000000100
+01100000000000001100001111011101
+01101000000010101100010000000011
+00011000010000001000010000000001
+01100000000010101100010000000011
+00100000011000000000000000000000
+01000111011100010100000000111100
+01101000000000001000001011011010
+00011111111001100111110000010100
+00100000001000010111001111111111
+11011010011000000000001011011011
+00011111111000001010010111111111
+00011111111000001111111111111100
+01100000000000001000001011011010
+10011010011000001000110000000000
+11101000110000100000000000000000
+00011000000000000111000000001000
+10011000000000000101111000000000
+00011000000000000010001000000000
+01101000000010101100010000001000
+00100000010000000111001110101101
+00100000010000000111010000100101
+00011000000000000111000000001100
+00011101111000100111111000000000
+01100000000000100000010000011011
+00100000010000000111001111011001
+11011010011000000000001011011001
+00100000010000000111001111000001
+01101000000010100000010000011011
+10011000010001100111111000000000
+00100100011110100000000000000000
+01101000000000100100010000001101
+10011000010001100111111000000000
+00100000011110100000000000000000
+01100000000010100100010000001101
+01101000000000101100010000001000
+00011111111000001111111000000001
+01100000000000101100010000001000
+00011000000000000111111000000000
+00100000011000000000000000000000
+00100100001110111111010000011101
+00100000011000000000000000000000
+00011000000000000110110000110000
+00011000000000000110110000000000
+00100000001000000111010000011101
+00011000000000000110110000110010
+00011000000000000110110000000010
+00100000001000000111010000011101
+00011000000000000110110000110100
+00011000000000000110110000000100
+00100000001000000111010000011101
+00011000000000000110110000000001
+00011000000000000110110000000000
+00100000011000000000000000000000
+00011000000000000111000000000000
+01101000000000100000010000101111
+10011000000000000101111000000000
+00011111000000001111000000000001
+11101000110000100000000000000000
+10011000000000000101111000000000
+00011111000000001111000000000001
+01101000000000100100010000111010
+10011000000000000101111000000000
+00011111000000001111000000000001
+11101000110000100000000000000000
+10011000000000000101111000000000
+00011111000000001111000000000001
+00100000010000000111010010010010
+00011111000000001111000111111100
+01101000000000100100010011000111
+00011111111000100101111000000000
+00011111000000001111000000000100
+00011000000000000110110000111000
+00011000000000000110110000001000
+00100000001000000111010000011101
+01000111011100011100000000111100
+01101000000000110100010010100000
+01101000000010110000010001001111
+00100000001101001111010001000110
+01101000000000110000010001001111
+01101000000010110100010010100000
+00011000000000000111000000001000
+00011000010000100101111000000000
+00011111000000001111000000000001
+00011000010011110101111000000000
+00011111111100000111111000000000
+10011101111000011101111000000000
+00011111000000001111000000000001
+00011111111011110101111000000000
+00011111000000001111000000000001
+00011000000000000101111000000000
+00011000000000000111111000000000
+01101000000000001100010010001110
+01101000000010001100010010000101
+00100100001101001111010001010110
+01101000000000001100010010010101
+01101000000010001100010010001110
+01100000000000001100010001001010
+01100000000010001100010001001011
+00011000000000000111000000000000
+11011010010000000100010001001010
+00011000000000000111001000000100
+11101010001000100000000000000000
+11101010010010100000000000000000
+10011000010000101101111000000000
+00011111000000001111000000000001
+00011010001000001010001000000100
+00011010010000001010010000000100
+11000010000000000111010001011011
+00100000010000000111010010010010
+00011111000000001111000111111100
+01101000000000100100010011000111
+00011111111000100101111000000000
+00011111000000001111000000000100
+00011000000000000110110000111000
+00011000000000000110110000001100
+00100000010000000111010000011101
+00100000010000000111010010010001
+00011000000000000110110000111010
+00011000000000000110110000001000
+00100000001000000111010000011101
+00101111001000000000011000000000
+00100000011000001000000000000000
+00011000110000100111111000000000
+10011111001000001000101000000000
+00011000000000000111111000000000
+11100000101000001000000000000000
+00011111001000001111001000000001
+00101111001000000000011000000000
+00100000011000001000000000000000
+00100000001000000111010001110011
+00011000000000000111000000000000
+00011111001000100111111000000000
+00100000001110100111010001111101
+11101000110000100000000000000000
+00011111001000001111001111111100
+10011000000000000101111000000000
+00011111000000001111000000000001
+00101111000000000001111000000100
+00100000011000001000000000000000
+00100000001000000111010001111001
+00011000000000000111000000001000
+00100000001000000111010010000111
+00011000000000000111000000000100
+00100000001000000111010010000111
+00011000000000000111000000000000
+00011000000000000111001000000100
+11101000110000100000000000000000
+10011000000000000101111000000000
+00011111000000001111000000000001
+11000010000000000111010010001000
+00100000011000000000000000000000
+11011000110000000000010001111100
+00100000001000000111010010000100
+00011000000000000111001000000100
+00100000001000000111010010010100
+00011000000000000111000000000000
+00011000000000000111001000000100
+00011000000000000101111000000000
+00011111000000001111000000000001
+11000010000000000111010010010011
+00100000011000000000000000000000
+00011000000000000111000000001100
+00011000000000000111001000000100
+00011101111000100111111000000000
+11100000101000100000000000000000
+00011111000000001111000000000001
+11000010000000000111010010011001
+00100000011000000000000000000000
+00011000000000000111000000001100
+00011010011000100000101000000000
+00011010010000001111001000000001
+00011111001001100111110000001111
+00100000001000010111010010100100
+00011000000000000111001000010000
+00011101111000100111111000000000
+00011111001001100111110000000011
+00100000001000010111010010101100
+11100000101000100000000000000000
+00011111001000001111001111111100
+00100000011000101000000000000000
+00011111000000001111000000000001
+00100000001000000111010010100100
+11100000101000001000000000000000
+00011111111011001111111000000000
+11000010000000000111010010101100
+00100000011000000000000000000000
+00011000000000000111000000001100
+00011000000000000111001000000100
+11101000110000100000000000000000
+10011101111001100111110000000000
+00100100011000101000000000000000
+00011111000000001111000000000001
+11000010000000000111010010110010
+00011000000000000111110000000000
+00100000011000000000000000000000
+01101000000100001000000001010000
+01111001001111111111111000000000
+01100000000100001000000001010000
+00100000011000000000000000000000
+01101000000100001000000001010000
+01111001001000000111111000000000
+01100000000100001000000001010000
+00100000011000000000000000000000
+11011000101000000000100010000110
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111111111111111111
+00111000000011111111101111111111
+11100000101001001000000000000000
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111111111111111111
+00111000000011111111111111111111
+11100000101001001000000000000000
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111100111111111111
+00111000000011111111111111111111
+11100000101001001000000000000000
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111111111111101111
+00111000000011111111111111111111
+11100000101001001000000000000000
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111111111111111111
+00111000000011111111111111111111
+11100000101001001000000000000000
+00111000000000111111111111111111
+00111000000001100110110001111111
+00111000000010000001010001101011
+00111000000011110111101110110011
+11100000101001001000000000000000
+00111000000000011111111010111000
+00111000000001010000110000010010
+00111000000010101011011100100010
+00111000000011101001111110100110
+11100000101001001000000000000000
+00111000000000001110011100001111
+00111000000001010110011100100000
+00111000000010000101000110011110
+00111000000011011001000010000100
+11100000101001001000000000000000
+00111000000000110001000000010010
+00111000000001110110000010111111
+00111000000010111111000010101111
+00111000000011000000001111010011
+11100000101001001000000000000000
+00111000000000111010000110001000
+00111000000001000011101011010000
+00111000000010111100101111110010
+00111000000011100100001111011001
+11100000101001001000000000000000
+00111000000000101011000000110000
+00111000000001110110101000000011
+00111000000010010001000110001000
+00111000000011011110010100100000
+11100000101001001000000000000000
+00111000000000111010000100011110
+00111000000001001111111001011101
+00111000000010001101110101010111
+00111000000011011010110010010011
+11100000101001001000000000000000
+00111000000000000001000111101101
+00111000000001100001100011000100
+00111000000010001000110110100111
+00111000000011100101011111111111
+11100000101001001000000000000000
+00111000000000110001100100101011
+00111000000001110100011001000001
+00111000000010011011111000001100
+00111000000011110110011010101101
+11100000101001001000000000000000
+00111000000000000001111110000011
+00111000000001010101101000100011
+00111000000010111111100110110000
+00111000000011000011100101001001
+11100000101001001000000000000000
+00111000000000010011101001010001
+00111000000001010101001111111101
+00111000000010110011011100101010
+00111000000011001111000110111011
+11100000101001001000000000000000
+00111000000000111010111010000101
+00111000000001011110111011011001
+00111000000010001001111001100110
+00111000000011000000000110101000
+11100000101001000000000000000000
+00100000011000000000000000000000
+11011000101000000000100100011110
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111111111111111111
+00111000000011111111111111111111
+11100000101001001000000000000000
+00111000000000111111111111111111
+00111000000001000000000000111111
+00111000000010000000000000000000
+00111000000011000000000000000000
+11100000101001001000000000000000
+00111000000000000000000000000000
+00111000000001000000000000000000
+00111000000010000001000000000000
+00111000000011000000000000000000
+11100000101001001000000000000000
+00111000000000111111111100000000
+00111000000001111111111111111111
+00111000000010111111111111001111
+00111000000011111111111111111111
+11100000101001001000000000000000
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111111111111111111
+00111000000011000000001111111111
+11100000101001001000000000000000
+00111000000000000000000000000000
+00111000000001000000000000000000
+00111000000010000000000000000000
+00111000000011000000000000000000
+11100000101001001000000000000000
+00111000000000010000000000000000
+00111000000001000000000000000000
+00111000000010111111000000000000
+00111000000011111111111111111111
+11100000101001001000000000000000
+00111000000000101001011011111111
+00111000000001100010011000110000
+00111000000010111001010001011101
+00111000000011111101001010000100
+11100000101001001000000000000000
+00111000000000110011001110100000
+00111000000001000100101101111010
+00111000000010000011011111011000
+00111000000011111100100111011100
+11100000101001001000000000000000
+00111000000000111010010001000000
+00111000000001011011100101011000
+00111000000010111000101111001110
+00111000000011010000100100011111
+11100000101001001000000000000000
+00111000000000101110000100101100
+00111000000001011111010001111100
+00111000000010110101011010110001
+00111000000011101111110101000111
+11100000101001001000000000000000
+00111000000000000110100000110111
+00111000000001101110110110010000
+00111000000010011110110011101100
+00111000000011011010110011000101
+11100000101001001000000000000000
+00111000000000100011001101010111
+00111000000001011000101011110011
+00111000000010001111100111100001
+00111000000011010010100111110000
+11100000101001001000000000000000
+00111000000000101110011111101011
+00111000000001111110011011100011
+00111000000010111110000110100111
+00111000000011010000101110001011
+11100000101001001000000000000000
+00111000000000100100111111100011
+00111000000001000010000011101111
+00111000000010011011010110100110
+00111000000011001101110000101111
+11100000101001001000000000000000
+00111000000000010011100001100000
+00111000000001101011110101101001
+00111000000010000011100100011010
+00111000000011011011001000100010
+11100000101001001000000000000000
+00100000011000000000000000000000
+01101000000000001100011001011010
+00100100001110100111010101111101
+00100000001000000111101001110111
+01000111011100100100000000111100
+01101000000000001100011001011010
+00100000011110100000000000000000
+01101000000000001100010110110001
+11000001100000001000000000000000
+01101000000000001100010010111110
+00100000011110100000000000000000
+01101000000000001100010011000011
+11000001000000011000000000000000
+01101000000000010100011010000010
+11000010100000000111010101111011
+01101000000000001100010011000000
+11000000000000000111101001110111
+00100000011000000000000000000000
+01110000010001001100000000000000
+00100000011000000000000000000000
+01000111011100101100000000111100
+01101000000000001100011001011010
+00100000001110100110000100101011
+00100000010000000110000100100100
+00100000010000000111010110000011
+00100000001000000111011001101101
+01011000000000000000000000000000
+01100000000001000000100110101110
+01100000000000100000100110110110
+01100000000000111100011001011110
+00100000011000000000000000000000
+01110000000010011011000000000001
+00100000001000000111010110001101
+01101000000000001100010110110001
+11000000000000001111011010001010
+00100000001000000010101010001100
+01101000000000001100010110110001
+11000000000000001111010110010000
+00100000001000000111011001101101
+00100000010000000111011010001010
+01101000000000001000100110101111
+00100100011110100000000000000000
+01110000000010011010111000000011
+00100000011000000000000000000000
+00100000010000000111010110110000
+11011010001000000000100111011110
+11011000101000000000100001100110
+00100000010000000111110001111001
+11011010001000000000100110111110
+11011000101000000000100000100110
+00100000010000000111110001111001
+11011010001000000000100000100110
+11011010010000000000100110111110
+11011000101000000000100000100110
+00100000010000000111101111100001
+11011010001000000000100100111110
+11011010010000000000100110111110
+11011000101000000000100001000110
+00100000010000000111101111100001
+11011010001000000000100001000110
+11011010010000000000100000100110
+11011000101000000000100000100110
+00100000010000000111110001111101
+11011010001000000000100000000110
+11011010010000000000100000100110
+11011000101000000000100000000110
+00100000010000000111110001111101
+11011111001000000000000000100000
+11011010001000000000100001100110
+11011010010000000000100000000110
+00100000001000000111111110001000
+11011010001000000000100101111110
+11011000101000000000100000000110
+00100000010000000111110001111001
+11011010001000000000100101011110
+11011000101000000000100000100110
+00100000010000000111110001111001
+11011010001000000000100000100110
+11011010010000000000100101011110
+11011000101000000000100000100110
+00100000010000000111101111100001
+11011010001000000000100100111110
+11011010010000000000100101011110
+11011000101000000000100001000110
+00100000010000000111101111100001
+11011010001000000000100001000110
+11011010010000000000100000100110
+11011000101000000000100000100110
+00100000010000000111110001111101
+11011010001000000000100000000110
+11011010010000000000100000100110
+11011000101000000000100000000110
+00100000001000000111110010010110
+00100000010000000111010111100001
+11011010001000000000100111100110
+11011000101000000000100001100110
+00100000010000000111011110101000
+11011010001000000000100111000110
+11011000101000000000100000100110
+00100000010000000111011110101000
+11011010001000000000100000100110
+11011010010000000000100111000110
+11011000101000000000100000100110
+00100000010000000111011110000110
+11011010001000000000100010011110
+11011010010000000000100111000110
+11011000101000000000100001000110
+00100000010000000111011110000110
+11011010001000000000100001000110
+11011010010000000000100000100110
+11011000101000000000100000100110
+00100000010000000111011101010101
+11011010001000000000100000000110
+11011010010000000000100000100110
+11011000101000000000100000000110
+00100000010000000111011101010101
+11011111001000000000000000011000
+11011010001000000000100001100110
+11011010010000000000100000000110
+00100000001000000111111110001000
+11011010001000000000100011100110
+11011000101000000000100000000110
+00100000010000000111011110101000
+11011010001000000000100011001110
+11011000101000000000100000100110
+00100000010000000111011110101000
+11011010001000000000100000100110
+11011010010000000000100011001110
+11011000101000000000100000100110
+00100000010000000111011110000110
+11011010001000000000100010011110
+11011010010000000000100011001110
+11011000101000000000100001000110
+00100000010000000111011110000110
+11011010001000000000100001000110
+11011010010000000000100000100110
+11011000101000000000100000100110
+00100000010000000111011101010101
+11011010001000000000100000000110
+11011010010000000000100000100110
+11011000101000000000100000000110
+00100000001000000111011101011000
+01101000000000001000100110110010
+11000000100000000111011000010101
+00100000010000000111011000010010
+11011000101000000000101001111110
+01011000000000000000101000101110
+11100000101000010000000000000000
+01011000000000000100011001000010
+11100000101000010000000000000000
+01011000000000000000100111011110
+11100000101000010000000000000000
+00100000001000000111011000001001
+11011000101000000000101001111110
+01011000000000000000101000111110
+11100000101000010000000000000000
+01011000000000000000100111011110
+11100000101000010000000000000000
+01011000000000000100011001000010
+11100000101000010000000000000000
+00100000010000000111100110100000
+01101000000000001000100110101111
+11000000000000100111011000001111
+01110000000010011011000000000001
+01110000000010011010111000000101
+00100000011000000000000000000000
+01110000000010011010111100010100
+00100000010000000111010110001010
+00100000001000000111011011011000
+11011000101000000000101000011110
+00011000000000000000111000001000
+00100000001000000111011010100010
+01110000000010011011000000000001
+00100000011000000000000000000000
+01000111011100110100000000111100
+11011000101000000000011100100111
+01101000000000110100000010100000
+11100000101000110000000000000000
+01101000000000110000000001000000
+11100000101000110000000000000000
+01101000000000011100011001011110
+11100000101000011000000000000000
+00100000010000000111101000001101
+11011010001000000000101001001110
+11011010010000000000101001011110
+00011000000000000000111000000100
+00100000010000000111011010100111
+00100100001000001111011000110001
+00100000010000000111011000101000
+01110000000000000111110101000001
+00100000001000000110001011111000
+01101000000000001000100110101111
+11000000000001001111011000101110
+01110000000010011010111000001010
+01110000000010011011000000000001
+01110000000000000111110000000011
+00100000011000000000000000000000
+01110000000000000111110000000011
+01110000000010011010111100010101
+00100000001000000111011011011000
+01101000000000001000100110101111
+11000000000001001111011000110111
+01110000000010011010111000000000
+01110000000000000111110000000100
+01110000000000000111111000000101
+00100000011000000000000000000000
+01110000000000000111110000000100
+01110000000010011010111100000000
+00100000011000000000000000000000
+01101000000000001000100110110011
+11000000000000001111011000111110
+01110000000010011010111100001010
+00100000001000000111011011011000
+11011000101000000000011100100111
+01101000000000110000000001000000
+11100000101000110000000000000000
+01101000000000110100000010100000
+11100000101000110000000000000000
+01101000000000011100011001011011
+11100000101000011000000000000000
+00100000010000000111101000100100
+01101000000000001000100110101111
+11000000000001010111011001001011
+01110000000010011010111000001011
+01110000000010011011000000000001
+00100000011000000000000000000000
+01110000000010011010111100001011
+01110000000010011011000100000001
+00100000011000000000000000000000
+11011000101000000000101001111110
+01101000000000110000000001000000
+11100000101000110000000000000000
+01101000000000110100000010100000
+11100000101000110000000000000000
+01011000000000000000101000101110
+11100000101000010000000000000000
+01011000000000000000101000111110
+11100000101000010000000000000000
+00100000001000000111011001100010
+01110000000010011010111000001111
+11011000101000000000101001111110
+01101000000000110100000010100000
+11100000101000110000000000000000
+01101000000000110000000001000000
+11100000101000110000000000000000
+01011000000000000000101000111110
+11100000101000010000000000000000
+01011000000000000000101000101110
+11100000101000010000000000000000
+11011000101000000000011100100111
+01101000000000110000101001111110
+11100000101000110000000000000000
+01101000000000110000101010000100
+11100000101000110000000000000000
+00100000010000000111100111010111
+01110000010000011011110100000001
+11011000101000000100000110111110
+11011000110000000000101001001110
+00100000010000000111111010111111
+00100000001000000010000111000100
+01000111011100111100000000111100
+01101000000000001100010110110001
+11000001100000000000000000000000
+01101000000000001000100110110010
+11000001100000000000000000000000
+11011000101000000100011000010010
+00011000000000000000111000001011
+00100000010000000111011010100010
+00011000000010100111111000000000
+00011111111000110111111000000000
+11100000101000010000000000000000
+11011000101000000000011010111110
+11011000110000000100011000010010
+00100000010000000111111010111110
+11011000101000000000010111100110
+11011000110000000000100011001110
+00100000010000000111111010111100
+11011000101000000000011000010110
+00100000010000000111111011000101
+01110000000001100001011000000001
+00100000010000000111101001011101
+01110000000010011011001000000001
+00100000011000000000000000000000
+11011000101000000100011000101010
+11011000110000000000011000101110
+00100000010000000111111010111100
+01110000010001011011000100000001
+01110000000010011011001000000000
+00100000011000000000000000000000
+01000111011101000100000000111101
+01101000000000001000100110111001
+11000001100000000000000000000000
+01101000000000001000100110110010
+11000001100000000000000000000000
+11011000101000000000011010111110
+11011000110000000100011000010010
+00100000010000000111111010111110
+11011000101000000000010111100110
+11011000110000000000100111000110
+00100000010000000111111010111100
+11011000101000000000011000010110
+00100000010000000111111011000101
+01110000000001100001011000000001
+00100000010000000111101001011101
+01110000000010011011001000000010
+00100000011000000000000000000000
+01110000000010011011001100000001
+11011000101000000000101000000110
+11011000110000000000011000101110
+00100000010000000111111010111110
+01110000000010011011100100000001
+01110000000010011011001000000000
+00100000011000000000000000000000
+00011000111000001000111111111111
+00100100011000010000000000000000
+00011000000010100111111000000000
+11100000101000010000000000000000
+00100000001000000111011010100010
+00011000111000001000111111111111
+00100100001000010111011010110011
+11101010001000100000000000000000
+00011111111000100000010000000000
+11101010010000100000000000000000
+10011000010000101111111000000000
+00100100001000101111011010110001
+00011010001000001010001000000100
+00011010010000001010010000000100
+00100000001000000111011010100111
+01111000010000001111110000000000
+00100000011000000000000000000000
+01111000001000001111110000000000
+00100000011000000000000000000000
+01000111011101001100000000111101
+01101000000000001000100110110000
+00100000011110100000000000000000
+00100000010000000110001010111100
+00100100011110100000000000000000
+01110000000010011011000000000000
+01101000000000001000100110101110
+11000000000000011110000111111101
+11000000000000101110001000011010
+11000000000000111110001000100101
+11000000000001011110001000111010
+11000000000000010111010110001000
+11000000000000100111010111110111
+11000000000001001111011000010111
+11000000000001010111011000111010
+11000000000001100111011001011000
+00100000011000000000000000000000
+01000111011101010100000000111101
+01101000000000001000100110110001
+00100000011110100000000000000000
+00100000010000000110001010111100
+00100100011110100000000000000000
+01110000000010011011000100000000
+01101000000000001000100110101111
+11000000000010010110000111100000
+11000000000010011110000111100101
+11000000000000011110000111101001
+11000000000000100111011000000010
+11000000000010100110000111101101
+11000000000000111110000111111011
+11000000000001010111011000111010
+11000000000001011110001000111001
+11000000000001001111011000010111
+11000000000010101110001000110011
+00100000011000000000000000000000
+01110000000010011011000100000001
+00100000011000000000000000000000
+01110000000010011011000100000000
+00100000011000000000000000000000
+01000111011101011100000000111101
+01101000000000001100011001011010
+00100000011110100000000000000000
+01101000000000001000100110110010
+00100000011110100000000000000000
+00011111111000001111111010000000
+01100000000000001000100110110010
+11000011100000111000000000000000
+01101000000000001000010111100011
+00100000001110100111011011100111
+00100000001000000111101001101000
+00100000010000000111100011010011
+01101000000000001000100110110010
+11000000000000001111011010000100
+11000000000000010111011010011011
+00100000011000000000000000000000
+00011111111000010000111000000111
+00011111111010010111111000000000
+10011000110000001000110000000000
+11101000110000001000000000000000
+10101111111011000000000000000000
+00100000011000000000000000000000
+00100000010000000111111010111110
+00100000010000000111111010111110
+00100000001000000111111010111110
+11101000110001000000000000000000
+00100100011110100000000000000000
+11101000110001000000000000000000
+00100100011110100000000000000000
+11101000110001000000000000000000
+00100000011000000000000000000000
+11101010001000100000000000000000
+10011000000000000000010000000000
+11101010010000100000000000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011010001000001010001000000100
+00011010010000001010010000000100
+11000010000000000111011011111011
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011010001000001010001000010100
+00011010010000001010010000010100
+11101010010000100000000000000000
+10011000000000000000010000000000
+11101010001000100000000000000000
+10011000010001100111111000000000
+00100100011000010000000000000000
+00100100011110100000000000000000
+00011010001000001010001111111100
+00011010010000001010010111111100
+11000010000000000111011100000111
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011000000000000010011000000000
+11101010001000100000000000000000
+10011000000000000000010000000000
+11101010010000100000000000000000
+10011000010000001111111000000000
+10011010011000001111111000000000
+11100000101000100000000000000000
+00101111111011111111111000100000
+01111001001000001010011000000000
+00011010001000001010001000000100
+00011010010000001010010000000100
+11000010000000000111011100010011
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011000000000000010011000000000
+11101010010000100000000000000000
+10011000000000000000010000000000
+11101010001000100000000000000000
+10011000010001100111111000000000
+10011010011001100111111000000000
+11100000101000100000000000000000
+00101111111011111111111000100000
+01111001001000001010011000000000
+00011010001000001010001000000100
+00011010010000001010010000000100
+11000010000000000111011100100001
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011010001000001010001000010100
+00011000000000000010011000000000
+11101010001000100000000000000000
+00101111111011111111111000000000
+01111001001000001010011000000001
+00011111111000110111111000000000
+00101010011011111111111000000000
+01111001001000001111111000011111
+11100010001000100000000000000000
+00011010001000001010001111111100
+00011010011000110010011000000000
+11000010000000000111011100110000
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011000000000000010011000000000
+11101010001000100000000000000000
+00101111111011111111111000011111
+01111001001000001010011000000001
+00011111111000111111111000000000
+00101010011011111111111000000000
+01111001001000001111111000000000
+11100010001000100000000000000000
+00011010001000001010001000000100
+00011010011000110010011000000000
+11000010000000000111011100111101
+00100000011000000000000000000000
+00100000010000000111011100111011
+00101010011011111111111000000000
+00100000001000001111011101010001
+11011010010000000000100010000110
+00011010001000100010011000000000
+00011010001000001010001111101000
+00100000010000000111011100000100
+00100100011000010000000000000000
+00011010011000100010001000000000
+00011010001000001010001111101000
+11011010010000000000100010000110
+00011010001000100000101000000000
+00100000001000000111011100011111
+00100000010000000111011100010001
+00011000101000100010001000000000
+00100000001000000111011101001001
+00100000010000000111011100011111
+00101010011011000000000000000000
+00100000011000001000000000000000
+11011010010000000000100010000110
+00011000101000001010001111101000
+00011010001000100000101000000000
+00100000001000000111011100010001
+00011000101000100001011000000000
+00011010001000100110000000000000
+11011010010000000000011100010110
+00011010010000100000101000000000
+00011010001000001000110000011000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11100000101001000000000000000000
+00011000000000000111111000000000
+11100000101001000000000000000000
+00011001011000100000101000000000
+00100000010000000111011101010101
+11011010010000000000011100010110
+00011010010000100000101000000000
+00011000000000000111111000000000
+11100000101001000000000000000000
+00011110000000001000110000100000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11100000101001000000000000000000
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111011101010101
+11011010010000000000011100010110
+00011010010000100000101000000000
+00011110000000001000110000101000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11100000101001000000000000000000
+11100000101001000000000000000000
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000001000000111011101010101
+00011000000000000111001000000110
+11101000110000100000000000000000
+10011000000000000101111000000000
+00011111000000001111000000000001
+11000010000000000111011110000001
+00100000011000000000000000000000
+00011000101000100001011000000000
+11011000101000000000011011100110
+00100000010000000111111011000101
+11011000101000000000011011100110
+00011010001000100000110000000000
+00011000000000000111000000000000
+00100000010000000111011110000000
+00011010010000100000110000000000
+00100000010000000111011110000000
+00011000000000000010010000000000
+00011000000000000000010000000000
+00011000000000000010011000000110
+11101000101000100000000000000000
+10011000000000000010001000000000
+00011010010000100111000000000000
+00011101111000100111111000000000
+00011010011000100111000000000000
+10011101111011111111111000000000
+10011010001000001111111000000000
+10011000010000001111111000000000
+11100000101000100000000000000000
+00011111111011110000010000000000
+00011010011000001010011000000001
+00101010011000011111111000001100
+00100100001000001111011110010010
+00011000010000100111111000000000
+11100000101000100000000000000000
+00011000101000001000101111101000
+00011010010000001010010000000001
+00101010010000011111111000000110
+00100100001000001111011110010000
+11011010001000000000011011100110
+00011001011000100000101000000000
+00100000001000000111011101011111
+00011010001000100010010000000000
+00100000001000000111011110000110
+00011010001000100110000000000000
+00011110000000100010001000000000
+11101010001000001000000000000000
+00101111111011111111111000000000
+00100000011000001000000000000000
+00100000010000000111011100101101
+11101010010000001000000000000000
+00101111111011000000000000000000
+00100000001000001111011110111010
+11011010001000000000100010000110
+00011010010000100000101000000000
+00100000010000000111011100010001
+11101010010000001000000000000000
+10011010011000001111111000000000
+11100010010000001000000000000000
+00011010010000001010010111101000
+00011010010000001010001000011000
+00011000000000000111001000000111
+00100000010000000111011100101111
+00100000001000000111011110101011
+00011000101000100001011000000000
+11011000101000000000011101000110
+00100000010000000111111011000101
+00011000000000000111111000000000
+01100000000000100000011011111110
+01100000000000100000011101011110
+01110000000001110100011000000001
+11011000101000000000011011100110
+00100000010000000111111011000101
+11011000110000000000100010000110
+11011000101000000000011100010110
+00100000010000000111111010111110
+00011010001000100000110000000000
+11011000101000000000011100101110
+00100000010000000111111010111110
+11011000110000000000011100101110
+00100000010000000111011011110101
+00100000001110100111011111110110
+11011010001000000000011100101110
+11011010010000000000011101000110
+00100000010000000111011110101010
+11011010001000000000011100010110
+11011010010000000000011011100110
+00100000010000000111011110101010
+11011010001000000000011100101110
+11011010010000000000011100010110
+00100000010000000111011100000100
+00100000001000010111011111101000
+11011010001000000000011100010110
+11011010010000000000011100101110
+00011010001000100000101000000000
+00100000010000000111011100011111
+11011010001000000000011101000110
+11011010010000000000011011100110
+00011010010000100000101000000000
+00100000010000000111011100010001
+11101010001000001000000000000000
+10011010011000001010011000000000
+11101010010000001000000000000000
+10011010011000001111111000000000
+11100010010000001000000000000000
+00100000001000000111011111001101
+11011010001000000000011100101110
+11011010010000000000011100010110
+00011010001000100000101000000000
+00100000010000000111011100011111
+11011010001000000000011011100110
+11011010010000000000011101000110
+00011010010000100000101000000000
+00100000010000000111011100010001
+11101010001000001000000000000000
+10011010011000001010011000000000
+11101010010000001000000000000000
+10011010011000001111111000000000
+11100010010000001000000000000000
+00100000001000000111011111001101
+11011000101000000000011101000110
+00100000010000000111111011000101
+01101000000000001000011011111110
+01100000000000001000011101000110
+01100000000000001000011101001110
+11011010001000000000011101000110
+11011010010000000000011011100110
+00011010010000100000101000000000
+00100000010000000111011101010101
+11011010001000000000100010000110
+11011010010000000000011011100110
+00011001011000100000101000000000
+00100000001000000111011101011000
+11011010001000000000011010100110
+11011000101000000000011101011110
+00100000010000000111011110101000
+11011010001000000000011101011110
+11011000101000000000011101110110
+00100000010000000111011110101000
+11011010001000000000100010011110
+11011010010000000000011101110110
+11011000101000000000011101110110
+00100000010000000111011110000110
+11011010001000000000011001110110
+11011000101000000000011101011110
+00100000010000000111011110101000
+11011000110000000000011101011110
+11011000101000000000011100101110
+00100000010000000111111010111110
+11011010001000000000011100101110
+00100000010000000111011101001000
+11011010001000000000011101011110
+11011010010000000000011100101110
+11011000101000000000011101011110
+00100000010000000111011101010101
+11011010001000000000011101011110
+11011010010000000000011101110110
+11011000101000000000011101011110
+00100000010000000111011101010101
+11011000110000000000011001110110
+11011000101000000000011100101110
+00100000010000000111111010111110
+11011010001000000000011010001110
+11011000101000000000011101110110
+00100000010000000111011110101000
+11011010001000000000011100101110
+00100000010000000111011101001000
+11011010001000000000011100101110
+00100000010000000111011101001000
+11011010001000000000011100101110
+11011010010000000000011101110110
+11011000101000000000011100101110
+00100000010000000111011110000110
+11011010001000000000011101110110
+11011000101000000000011101000110
+00100000010000000111011110101000
+11011010001000000000011101000110
+00100000010000000111011101001000
+11011010001000000000011101000110
+00100000010000000111011101001000
+11011010001000000000011101000110
+00100000010000000111011101001000
+11011000110000000000011010001110
+11011000101000000000011101110110
+00100000010000000111111010111110
+11011010001000000000011101110110
+00100000010000000111011101001000
+11011010001000000000011101110110
+11011010010000000000011010100110
+11011000101000000000011010100110
+00100000010000000111011110000110
+11011010001000000000011101011110
+11011000101000000000011101110110
+00100000010000000111011110101000
+11011010001000000000011101110110
+11011010010000000000011100101110
+11011000101000000000011101110110
+00100000010000000111011101011000
+11011010001000000000011101110110
+11011010010000000000011100101110
+11011000101000000000011001110110
+00100000010000000111011101011000
+11011010001000000000011100101110
+11011010010000000000011001110110
+11011000101000000000011101110110
+00100000010000000111011101011000
+11011010001000000000011101110110
+11011010010000000000011101011110
+11011000101000000000011101110110
+00100000010000000111011110000110
+11011010001000000000011101110110
+11011010010000000000011101000110
+11011000101000000000011010001110
+00100000001000000111011101011000
+11011010001000000000011000010110
+11011000101000000000011110001110
+00100000010000000111011110101000
+11011010001000000000011001110110
+11011010010000000000011110001110
+11011000101000000000011101000110
+00100000010000000111011110000110
+11011010001000000000011000010110
+11011010010000000000011110001110
+11011000101000000000011110001110
+00100000010000000111011110000110
+11011010001000000000011010001110
+11011010010000000000011110001110
+11011000101000000000011100101110
+00100000010000000111011110000110
+11011010001000000000011010100110
+11011000101000000000011110001110
+00100000010000000111011110101000
+11011010001000000000010111100110
+11011010010000000000011110001110
+11011000101000000000011101011110
+00100000010000000111011110000110
+11011010001000000000011010100110
+11011010010000000000011110001110
+11011000101000000000011110001110
+00100000010000000111011110000110
+11011010001000000000010111111110
+11011010010000000000011110001110
+11011000101000000000011101110110
+00100000010000000111011110000110
+11011010001000000000011101000110
+11011010010000000000011101011110
+11011000101000000000011110001110
+00100000010000000111011101011000
+11011010001000000000011101000110
+11011010010000000000011101011110
+11011000101000000000011101000110
+00100000010000000111011101010101
+11011010001000000000011100101110
+11011010010000000000011101110110
+11011000101000000000011101011110
+00100000010000000111011101011000
+11011010001000000000011100101110
+11011010010000000000011101110110
+11011000101000000000011100101110
+00100000010000000111011101010101
+11011010001000000000011100101110
+11011010010000000000011110001110
+11011000101000000000011100101110
+00100000010000000111011110000110
+11011010001000000000011010100110
+11011010010000000000011000010110
+11011000101000000000011101110110
+00100000010000000111011110000110
+11011010001000000000011101110110
+11011010010000000000011110001110
+11011000101000000000011010100110
+00100000010000000111011110000110
+11011010001000000000011110001110
+11011000101000000000011110001110
+00100000010000000111011110101000
+11011010001000000000011110001110
+11011010010000000000011101000110
+11011000101000000000011101110110
+00100000010000000111011110000110
+11011010001000000000011110001110
+11011010010000000000011100101110
+11011000101000000000011100101110
+00100000010000000111011110000110
+11011010001000000000011101011110
+11011000101000000000011001110110
+00100000010000000111011110101000
+11011010001000000000011001110110
+11011010010000000000011101110110
+11011000101000000000011001110110
+00100000010000000111011101011000
+11011000110000000000011001110110
+11011000101000000000011110001110
+00100000010000000111111010111110
+11011010001000000000011110001110
+00100000010000000111011101001000
+11011010001000000000011101110110
+11011010010000000000011110001110
+11011000101000000000011101110110
+00100000010000000111011101011000
+11011010001000000000011101110110
+11011010010000000000011101011110
+11011000101000000000011101011110
+00100000010000000111011110000110
+11011010001000000000011101011110
+11011010010000000000011100101110
+11011000101000000000011010001110
+00100000010000000111011101011000
+11011010001000000000011010001110
+11011010010000000000100010000110
+11011000101000000000011010001110
+00011000000000000010011000000000
+01101000000000001000011010001110
+00101111111011111111111000000000
+00100000010000001111011100010001
+00011010011000100110000000000000
+11011010001000000000011010001110
+00100000010000000111011100101101
+01101000000000001000011010100101
+00101110000011111111111000000000
+01111001001000001111111000000111
+01100000000000001000011010100101
+00100000011000000000000000000000
+01101000000000001000010111100011
+00011111111000001111111111111111
+00100100011000010000000000000000
+01100000000000001000010111100011
+01101000000000001000010111100010
+00100000010110100111100000000011
+01101000000000001000010111100011
+11011000110000000000011010111110
+00100000010000000111011011101100
+00100000001000001111100011000000
+01101000000000001000010111100010
+00100100001110100111100011001110
+00100000010000000111100001010100
+00100000001000000111100011000000
+01110000000001011110001000000000
+11011000110000000000010111100110
+11011000101000000000011001110110
+00100000010000000111011011110010
+00100000001000000111100011000000
+11011010001000000000011010100110
+11011000101000000000011101110110
+00100000010000000111011110111110
+11011010001000000000011101110110
+11011000101000000000011100101110
+00100000010000000111011110101000
+11011010001000000000011001110110
+11011010010000000000011100101110
+11011000101000000000011000101110
+00100000010000000111011110000110
+11011010001000000000011101110110
+11011010010000000000011100101110
+11011000101000000000011101011110
+00100000010000000111011110000110
+11011010001000000000011010001110
+11011010010000000000011101011110
+11011000101000000000011001000110
+00100000001000000111011110000110
+11101000110000100000000000000000
+00011000000000000010001000000100
+00011000101000001000101000000011
+11100000101000001000000000000000
+00011111111011001111111000000000
+00011000101000001000101111111110
+00011010001000001010001111111111
+00100100001000101111100011101000
+00011000101000001000101000000101
+11000010000000000111100011100101
+00100000011000000000000000000000
+00011000111010111111111000000000
+10011001011000001000110000000000
+11101000110000100000000000000000
+00100000011000000000000000000000
+00011000000000000110000000010000
+11011001011000000000010111100110
+00011110000000001000111111111001
+00100000010000000111100011110000
+10011000000000000000010000000000
+00011110000000001000111111110000
+00100000010000000111100011110000
+10011000010000001000010000000000
+00011110000000001000111111111110
+00100000010000000111100011110000
+00011111111011100111111000000001
+10011000010000001000010000000000
+00011110000000001000111111110001
+00100000010000000111100011110000
+00011111111011100111111000000000
+10011000010000001000010000000000
+00011110000010111111111000000000
+10011001011000001000101000000000
+11100000101010100000000000000000
+00011110000000001110000000000001
+00101110000000011111111001000000
+00100100001000001111100011110110
+00100000011000000000000000000000
+11011000110000000000100011111110
+00011000000000000111000000000111
+11101000110000100000000000000000
+10011000000000000101111000000000
+00011111000000001111000111111111
+00100000001000010111100100001101
+00100000011000000000000000000000
+01000111011101100100000000111101
+00100000010000000111100011110100
+11011000101000000000011011100110
+00011000000000000111000000000000
+00011101111000100111111000000000
+11100000101000100000000000000000
+00011111000000001111000000000001
+00101111000000011111111000001000
+00100100001000001111100100010110
+00100000010000000111010010111001
+11011001011000001000011100000000
+11011110000000000000010111100110
+00011000000000000111001001000000
+11101110000010100000000000000000
+11101001011000100000000000000000
+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
+11000010000000000111100100011111
+11011000110000000000011011100110
+00011000000000000111000000000000
+11101000110000100000000000000000
+10011101111000001101111000000000
+00011111000000001111000000000001
+00101111000000011111111000001000
+00100100001000001111100101001000
+00100000001000000111010010111101
+11011000101000000000101000111110
+00011000000000000111000000000111
+00011101111000100111111000000000
+11100000101000100000000000000000
+00011111000000001111000111111111
+00100000001000010111100101010000
+00100000011000000000000000000000
+11011000101000000000010111100110
+00011000110000001000110111111100
+00011111001001100010001000010000
+11101000110000100000000000000000
+10011000010000101111111000000000
+11100000101000100000000000000000
+00011000110000001000110111111000
+11000010000000000111100101011000
+00011010001000100111001000000000
+00011000010000100111111000000000
+11100000101000100000000000000000
+11000010000000000111100101011111
+00100000011000000000000000000000
+00100000010000000111100101100111
+00100000010000000111100101001110
+00100000001000000111100110001101
+00100000010000000111100101100111
+00100000001000000111100110001101
+11011000110000000000100111011110
+11011000101000000000010111100110
+00011000000000000111001000000110
+00100000010000000111101001110001
+11011000110000000100011001000010
+00011000000000000111001000000110
+00100000010000000111101001110001
+11011000110000000000101000111110
+00100000010000000111101001110000
+00100000010000000111100100001011
+00100000010000000111100100010010
+11011000110000000000101000101110
+11011000101000000000010111100110
+00100000001000000111100110000100
+11011000110000000100011001000010
+11011000101000000000010111100110
+00011000000000000111001000000110
+00100000010000000111101001110001
+11011000110000000000100111011110
+00011000000000000111001000000110
+00100000010000000111101001110001
+11011000110000000000101000101110
+00100000010000000111101001110000
+00100000010000000111100100001011
+00100000010000000111100100010010
+11011000110000000000101000111110
+11011000101000000000010111100110
+00100000010000000111100110000100
+00100000001000000111100110001101
+00100000010000000111101001110000
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100000101000100000000000000000
+00011000000000000111001000000101
+00100000010000000111111011000110
+01011000000000000000001010000000
+11100000101000100000000000000000
+00100000001000000111100100010010
+01101000000000100000101000111110
+11011010001000000000001111101000
+10011010001001101111110000000000
+00100000010000000111111110000110
+00011000000001110111111000000000
+01100000000000100000100110111010
+00011000000001111111111000000000
+11011010001000000000001111101000
+10011010001001101111110000000000
+00100000010000000111111110000110
+00011000000001110111111000000000
+11011010001000000000001111101000
+10011010001011111111111000000000
+01101000000010100000100110111010
+10011000010000001111111000000000
+01100000000000100000100110111010
+00100000011000000000000000000000
+01110000010001100110010000000000
+00100000001000000111100110100010
+01101000000000001100011001100010
+11000000100000010111100110011110
+01000111011101101100000000111101
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+01101000000000010000101001111110
+00011111111000100000110000000000
+00011000000000000111001000000100
+00100000010000000111100101010101
+00100000010000000111100100001011
+00100000010000000111100100010010
+01101000000000010000101010000000
+00011111111000100000110000000000
+11011000101000000000010111100110
+00011000000000000111001000000110
+00100000010000000111101001110001
+01101000000000010000101010000010
+00011111111000100000110000000000
+00011000000000000111001000000110
+00100000010000000111101001110001
+01011000100000000000000000000000
+11100000101000011000000000000000
+01101000000000001100011001100100
+11100000101000001000000000000000
+00011000000000000111111000000000
+11100000101001000000000000000000
+01011000000000000000001110001000
+11100000101000100000000000000000
+00100000010000000111100100010010
+00100000010000000111100101001110
+11011000110000000000101000111110
+11011000101000000000011100000110
+00100000010000000111111010111101
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+01101000000000010000101001111110
+00011111111000100000110000000000
+00011000000000000111001000000100
+00100000010000000111100101010101
+00100000010000000111100100001011
+00100000010000000111100100010010
+11011000110000000000011100100110
+11011000101000000000010111100110
+00011000000000000111001000001000
+00100000010000000111101001110001
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100000101000100000000000000000
+00100000010000000111111011000101
+01011000000000000000001100000000
+11100000101000100000000000000000
+00100000010000000111100100010010
+00100000001000000111100101001110
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000000101000011110
+00011000000000000111001000000110
+00100000010000000111100101010101
+00100000010000000111100100001011
+00100000010000000111100100010010
+01101000000000010000101010001010
+00011111111000100000110000000000
+11011000101000000000010111100110
+00100000010000000111101001110000
+01101000000000010000101010001100
+00011111111000100000110000000000
+00100000010000000111101001110000
+01011000011000100111010001101100
+00011111111011010111111000000000
+00011111111000011111111001101011
+11100000101000100000000000000000
+11011000110000000000011100110011
+00011000000000000111001000000011
+00100000010000000111101001110001
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100000101000100000000000000000
+00011000000000000111111000000000
+11100000101001000000000000000000
+01011000000000000000001110000000
+11100000101000100000000000000000
+00100000010000000111100100010010
+00100000010000000111100101001110
+11011000110000000000101000111110
+11011000101000000000011100000110
+00100000010000000111111010111101
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+11011000110000000000101000011110
+00011000000000000111001000000110
+00100000010000000111100101010101
+00100000010000000111100100001011
+00100000010000000111100100010010
+11011000110000000000011100100110
+11011000101000000000010111100110
+00011000000000000111001000001000
+00100000010000000111101001110001
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100000101000100000000000000000
+00100000010000000111111011000101
+01011000000000000000001100000000
+11100000101000100000000000000000
+00100000010000000111100100010010
+00100000001000000111100101001110
+01101000000000001100011001100010
+11000000100000010111101000011110
+01000111011101110100000000111101
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000000101000011110
+00011000000000000111001000000110
+00100000010000000111100101010101
+00100000010000000111100100001011
+00100000010000000111100100010010
+11011000110000000000101000111110
+11011000101000000000010111100110
+00100000010000000111101001110000
+11011000110000000000101000101110
+00100000010000000111101001110000
+00100000001000000111101000110011
+01011000000000000000000000000000
+01100000000000100100011010001010
+00100000001000000111101000001111
+01011000000000000000000000000000
+01100000000000100100011010001010
+00100000001000000111101000100110
+01101000000000001100011001100010
+11000000100000010111101000100001
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000000101000011110
+00011000000000000111001000000110
+00100000010000000111100101010101
+00100000010000000111100100001011
+00100000010000000111100100010010
+11011000110000000000101000101110
+11011000101000000000010111100110
+00100000010000000111101001110000
+11011000110000000000101000111110
+00100000010000000111101001110000
+01011000000000000000000000000000
+11100000101001000000000000000000
+11100000101000100000000000000000
+01101000000000100100011010001010
+11100000101000100000000000000000
+00011000101000100000010000000000
+01110000000001110010011010000000
+00011000010000100000101000000000
+11011000110000000000011100110110
+00100000010000000111101001110000
+00100000010000000111100100010010
+11011000101000000000010111100110
+00011000000000000111001000000111
+00100000010000000111111011000110
+11100000101000100000000000000000
+01011000000000000000001111111000
+11100000101000100000000000000000
+00100000010000000111100100010010
+00100000010000000111100101001110
+11011000110000000000101000111110
+11011000101000000000011100000110
+00100000010000000111111010111101
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+11011000110000000000101000011110
+00011000000000000111001000000110
+00100000010000000111100101010101
+00100000010000000111100100001011
+00100000010000000111100100010010
+11011000110000000000011100100110
+11011000101000000000010111100110
+00011000000000000111001000001000
+00100000010000000111101001110001
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100000101000100000000000000000
+00100000010000000111111011000101
+01011000000000000000001100000000
+11100000101000100000000000000000
+00100000010000000111100100010010
+00100000001000000111100101001110
+01110000000001011110001111000000
+01101000000000001000010111100011
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000010111100011
+11011000110000000000011010111110
+00100000010000000111011011101100
+00100000001000001111101001011110
+11011000110000000000010111100110
+11011000101000000000011001110110
+00100000001000000111011011110010
+00100000010000000111100000000011
+01101000000000001000010111100011
+00011111111000001111111111111111
+01100000000000001000010111100011
+11011000110000000000011010111110
+00100000010000000111011011101100
+00100000011000001000000000000000
+00100000001000000111100001010100
+00011000000000000111001000000100
+00011000110000001000110111111100
+11101000110000100000000000000000
+11100000101000100000000000000000
+00011000110000001000110111111000
+11000010000000000111101001110010
+00100000011000000000000000000000
+01000111011101111100000000111101
+01101000000000001100010010111110
+00100000001110100101101011110000
+00100000010000000101101011101100
+00100000010000000111010110000011
+00100000001000000111101001111101
+01101000000000001100010011000011
+11000001100000000000000000000000
+01101000000000001100010011000000
+11000001100000000000000000000000
+11011000101000000100010110110010
+00011000000000000000111000001111
+00100000010000000111011010100010
+00011000000010100111111000000000
+00011111111000110111111000000000
+11100000101000010000000000000000
+11011000101000000000011101100110
+11011000110000000100010110110010
+00100000010000000111111010111101
+11011000101000000000011001000110
+11011000110000000000100101011110
+00100000010000000111111010110011
+11011000101000000000011010000110
+00100000010000000111111011010000
+01110000000001101000011000000001
+00100000010000000111101011000111
+01110000010001001100000000000011
+00100000011000000000000000000000
+11011000101000000100010111010010
+11011000110000000000011010100110
+00100000010000000111111010110011
+01110000010001001100001100000011
+01110000010001001100000000000000
+00100000011000000000000000000000
+01101000000000001000100110111001
+11000001100000000000000000000000
+01101000000000001100010011000000
+11000001100000000000000000000000
+11011000101000000000011101100110
+11011000110000000100010110110010
+00100000010000000111111010111101
+11011000101000000000011001000110
+11011000110000000000100110111110
+00100000010000000111111010110011
+11011000101000000000011010000110
+00100000010000000111111011010000
+01110000000001101000011000000001
+00100000010000000111101011000111
+01110000010001001100000000000100
+00100000011000000000000000000000
+11011000101000000000100111111110
+11011000110000000000011010100110
+00100000010000000111111010111101
+01110000000010011011100100000011
+01110000010001001100000000000000
+00100000011000000000000000000000
+01101000000000001100010010111110
+00100000011110100000000000000000
+01101000000000001100010011000000
+00100000011110100000000000000000
+00011111111000001111111010000000
+01100000000000001100010011000000
+11000011100000111000000000000000
+01101000000000010000010111100011
+00100000001110100111101010111001
+00100000001000000111101010111111
+01000111011110000100000000111110
+00100000010000000111101011010100
+01101000000000001100010011000000
+11000000000000011111101010010011
+11000000000000100111101010101001
+00100000011000000000000000000000
+00100000010000000111101011100110
+01101000000000010000010111100011
+00011111111000001111111111111111
+01100000000000010000010111100011
+11011000110000000000011101100110
+00100000010000000111011011101100
+00100000011000001000000000000000
+00100000001000000111101100110111
+01000111011110001100000000111110
+01011000000000000000000100000000
+01100000000000010000010111100011
+01101000000000010000010111100011
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000010000010111100011
+11011000110000000000011101100110
+00100000010000000111011011101100
+00100000001000001111101011001010
+11011000110000000000011001000110
+11011000101000000000011100000110
+00100000001000000111111010110010
+11011010001000000000011101000110
+11011000101000000000100001000110
+00100000010000000111101110100011
+11011010001000000000100001000110
+11011000101000000000011111100110
+00100000010000000111110001111001
+11011010001000000000011100000110
+11011010010000000000011111100110
+11011000101000000000011010100110
+00100000010000000111101111100001
+11011010001000000000100001000110
+11011010010000000000011111100110
+11011000101000000000100000100110
+00100000010000000111101111100001
+11011010001000000000011100100110
+11011010010000000000100000100110
+11011000101000000000011011000110
+00100000001000000111101111100001
+11011010001000000000011101000110
+11011000101000000000100000100110
+00100000010000000111110001111001
+11011010001000000000100000100110
+11011000101000000000100001000110
+00100000010000000111110001111001
+11011010001000000000100100111110
+11011010010000000000100001000110
+11011000101000000000100001000110
+00100000010000000111101111100001
+11011010001000000000011100000110
+11011000101000000000100000100110
+00100000010000000111110001111001
+11011000110000000000100000100110
+11011000101000000000011111100110
+00100000010000000111111010111101
+11011010001000000000011111100110
+00100000010000000111110010000000
+11011010001000000000100000100110
+11011010010000000000011111100110
+11011000101000000000100000100110
+00100000010000000111110001111101
+11011010001000000000100000100110
+11011010010000000000100001000110
+11011000101000000000100000100110
+00100000010000000111110001111101
+11011000110000000000011100000110
+11011000101000000000011111100110
+00100000010000000111111010111101
+11011010001000000000011100100110
+11011000101000000000100001000110
+00100000010000000111110001111001
+11011010001000000000011111100110
+00100000010000000111110010000000
+11011010001000000000011111100110
+00100000010000000111110010000000
+11011010001000000000011111100110
+11011010010000000000100001000110
+11011000101000000000011111100110
+00100000010000000111101111100001
+11011010001000000000100001000110
+11011000101000000000100000000110
+00100000010000000111110001111001
+11011010001000000000100000000110
+00100000010000000111110010000000
+11011010001000000000100000000110
+00100000010000000111110010000000
+11011010001000000000100000000110
+00100000010000000111110010000000
+11011000110000000000011100100110
+11011000101000000000100001000110
+00100000010000000111111010111101
+11011010001000000000100001000110
+00100000010000000111110010000000
+11011010001000000000100001000110
+11011010010000000000011101000110
+11011000101000000000011101000110
+00100000010000000111101111100001
+11011010001000000000100000100110
+11011000101000000000100001000110
+00100000010000000111110001111001
+11011010001000000000100001000110
+11011010010000000000011111100110
+11011000101000000000100001000110
+00100000010000000111110010010110
+11011010001000000000100001000110
+11011010010000000000011111100110
+11011000101000000000011100000110
+00100000010000000111110010010110
+11011010001000000000011111100110
+11011010010000000000011100000110
+11011000101000000000100001000110
+00100000010000000111110010010110
+11011010001000000000100001000110
+11011010010000000000100000100110
+11011000101000000000100001000110
+00100000010000000111101111100001
+11011010001000000000100001000110
+11011010010000000000100000000110
+11011000101000000000011100100110
+00100000001000000111110010010110
+11011010001000000000011010000110
+11011000101000000000100001100110
+00100000010000000111110001111001
+11011010001000000000011100000110
+11011010010000000000100001100110
+11011000101000000000100000000110
+00100000010000000111101111100001
+11011010001000000000011010000110
+11011010010000000000100001100110
+11011000101000000000100001100110
+00100000010000000111101111100001
+11011010001000000000011100100110
+11011010010000000000100001100110
+11011000101000000000011111100110
+00100000010000000111101111100001
+11011010001000000000011101000110
+11011000101000000000100001100110
+00100000010000000111110001111001
+11011010001000000000011001000110
+11011010010000000000100001100110
+11011000101000000000100000100110
+00100000010000000111101111100001
+11011010001000000000011101000110
+11011010010000000000100001100110
+11011000101000000000100001100110
+00100000010000000111101111100001
+11011010001000000000011001100110
+11011010010000000000100001100110
+11011000101000000000100001000110
+00100000010000000111101111100001
+11011010010000000000100000000110
+11011010001000000000100000100110
+11011000101000000000100001100110
+00100000010000000111110010010110
+11011010001000000000100000000110
+11011010010000000000100000100110
+11011000101000000000100000000110
+00100000010000000111110001111101
+11011010010000000000011111100110
+11011010001000000000100001000110
+11011000101000000000100000100110
+00100000010000000111110010010110
+11011010001000000000011111100110
+11011010010000000000100001000110
+11011000101000000000011111100110
+00100000010000000111110001111101
+11011010001000000000011111100110
+11011010010000000000100001100110
+11011000101000000000011111100110
+00100000010000000111101111100001
+11011010001000000000011101000110
+11011010010000000000011010000110
+11011000101000000000100001000110
+00100000010000000111101111100001
+11011010001000000000100001000110
+11011010010000000000100001100110
+11011000101000000000011101000110
+00100000010000000111101111100001
+11011010001000000000100001100110
+11011000101000000000100001100110
+00100000010000000111110001111001
+11011010001000000000100001100110
+11011010010000000000100000000110
+11011000101000000000100001000110
+00100000010000000111101111100001
+11011010001000000000100001100110
+11011010010000000000011111100110
+11011000101000000000011111100110
+00100000010000000111101111100001
+11011010001000000000100000100110
+11011000101000000000011100000110
+00100000010000000111110001111001
+11011010001000000000011100000110
+11011010010000000000100001000110
+11011000101000000000011100000110
+00100000010000000111110010010110
+11011000110000000000011100000110
+11011000101000000000100001100110
+00100000010000000111111010111101
+11011010001000000000100001100110
+00100000010000000111110010000000
+11011010001000000000100001000110
+11011010010000000000100001100110
+11011000101000000000100001000110
+00100000010000000111110010010110
+11011010001000000000100001000110
+11011010010000000000100000100110
+11011000101000000000100000100110
+00100000010000000111101111100001
+11011010001000000000100000100110
+11011010010000000000011111100110
+11011000101000000000011100100110
+00100000010000000111110010010110
+11011010001000000000011100100110
+11011010010000000000100100011110
+11011000101000000000011100100110
+00011000000000000010011000000000
+01101000000000001000011100100110
+00101111111011111111111000000000
+00100000010000001111110001111011
+00011010011000100110000000000000
+11011010001000000000011100100110
+00100000010000000111110010101011
+01101000000000001000011101000101
+00101110000011111111111000000000
+01111001001000001111111000000111
+01100000000000001000011101000101
+00100000011000000000000000000000
+00011000101000100001011000000000
+11011000101000000000100000000110
+00100000010000000111111011010000
+00011000000000000111111000000000
+01100000000000100000100000100110
+01110000000010000000011000000001
+11011000101000000000011110000110
+00100000010000000111111011010010
+11011000110000000000100100011110
+11011000101000000000011111000110
+00100000010000000111111010111101
+00011010001000100000110000000000
+11011000101000000000011111100110
+00100000010000000111111010111101
+11011000110000000000011111100110
+00100000010000000111110010110101
+00100000001110100111101111011010
+11011010001000000000011111100110
+11011010010000000000100000000110
+00100000010000000111110010111000
+11011010001000000000011111000110
+11011010010000000000011110000110
+00100000010000000111110010111000
+11011010001000000000011111100110
+11011010010000000000011111000110
+00100000010000000111110010110001
+00100000001000010111101111001100
+11011010001000000000011111000110
+11011010010000000000011111100110
+00011010001000100000101000000000
+00100000010000000111110010101001
+11011010001000000000100000000110
+11011010010000000000011110000110
+00011010010000100000101000000000
+00100000010000000111110001111011
+11101010001000001000000000000000
+10011010011000001010011000000000
+11101010010000001000000000000000
+10011010011000001111111000000000
+11100010010000001000000000000000
+00100000001000000111101110110001
+11011010001000000000011111100110
+11011010010000000000011111000110
+00011010001000100000101000000000
+00100000010000000111110010101001
+11011010001000000000011110000110
+11011010010000000000100000000110
+00011010010000100000101000000000
+00100000010000000111110001111011
+11101010001000001000000000000000
+10011010011000001010011000000000
+11101010010000001000000000000000
+10011010011000001111111000000000
+11100010010000001000000000000000
+00100000001000000111101110110001
+11011010001000000000011110000110
+00011001011000100000101000000000
+00100000010000000111110000001010
+11011010001000000000100100011110
+00011001011000100010010000000000
+00011001011000100000101000000000
+00100000001000000111110010010110
+00011000101000100001011000000000
+00011000000000000111000000000000
+11011000101000000000011110000110
+00100000010000000111111011010010
+11011000101000000000101011010010
+00100000010000000111111011010010
+00011010001000100000110000000000
+01110000000010101101001000000000
+01011000000000000000000000000000
+00100000010000000111110001110011
+00011010010000100000110000000000
+00100000010000000111110001110111
+00011000000000000000111000000000
+11011000101000000000011110000110
+11011000010000000000101011010010
+00011000111000100010010000000000
+00011010010010111111111000000000
+10011000010000001010010000000000
+00011000000000000000010000000000
+00011000000000000010011000000000
+11101000101000100000000000000000
+10011000000000000010001000000000
+11101010010000100000000000000000
+00011010011000100111000000000000
+10011101111011111111111000000000
+10011010001000001111111000000000
+10011000010000001111111000000000
+11100000101000100000000000000000
+00011111111011110000010000000000
+00011010011000001010011000000001
+00101010011000011111111000001000
+00100100001000001111101111110101
+00011000010000100111111000000000
+11100000101000100000000000000000
+00011000101000001000101111100000
+00011000111000001000111000000001
+00101000111000011111111000001000
+00100100001000001111101111101111
+11011010001000000000011110000110
+00011001011000100000101000000000
+00100000001000000111110000001010
+01000111011110010100000000111110
+00011000101000100001011000000000
+00011010001000100110000000000000
+11011010010000000000011111000110
+00011010010000100000101000000000
+00100000010000000111111011001101
+11100000101001000000000000000000
+00011010001000001000110000101100
+00100000010000000111111010111001
+00100000010000000111111010110101
+00011010010000100010001000000000
+00100000010000000111110010000000
+11011010010000000000011111000110
+00011110000000100010001000000000
+00011001011000100000101000000000
+00100000010000000111110001111101
+11011010010000000000011111000110
+00011010010000100000101000000000
+00100000010000000111111011001101
+11100000101001000000000000000000
+00011110000000001000110000110000
+00100000010000000111111010111111
+00100000010000000111111011001101
+00011010010000100010001000000000
+00100000010000000111110010000000
+11011010010000000000011111000110
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111110001111101
+11011010010000000000011111000110
+00011010010000100000101000000000
+00011110000000001000110000100000
+00100000010000000111111010110101
+00100000010000000111111011001101
+11100000101001000000000000000000
+00011110000000001000110000111000
+00100000010000000111111010111001
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111110001111101
+11011010010000000000011111000110
+00011010010000100000101000000000
+00011110000000001000110000100100
+00100000010000000111111010110101
+00011110000000001000110000110100
+00100000010000000111111010110101
+00011110000000001000110000110100
+00100000010000000111111010110110
+00011110000000001000110000100000
+00100000010000000111111010110110
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111110001111101
+11011010010000000000011111000110
+00011010010000100000101000000000
+00011110000000001000110000101100
+00100000010000000111111010110101
+00100000010000000111111011001101
+11100000101001000000000000000000
+00011110000000001000110000100000
+00100000010000000111111010110110
+00011110000000001000110000101000
+00100000010000000111111010110110
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111110010010110
+11011010010000000000011111000110
+00011010010000100000101000000000
+00011110000000001000110000110000
+00100000010000000111111010111001
+00100000010000000111111010111001
+00011000000000000111111000000000
+11100000101001000000000000000000
+00011110000000001000110000100100
+00100000010000000111111010110110
+00011110000000001000110000101100
+00100000010000000111111010110110
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111110010010110
+11011010010000000000011111000110
+00011010010000100000101000000000
+00011110000000001000110000110100
+00100000010000000111111010110101
+00011110000000001000110000100000
+00100000010000000111111010110101
+00100000010000000111111011001101
+00011110000000001000110000110000
+00100000010000000111111010110110
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111110010010110
+11011010010000000000011111000110
+00011010010000100000101000000000
+00011110000000001000110000111000
+00100000010000000111111010111001
+00100000010000000111111011001101
+00011110000000001000110000100100
+00100000010000000111111010110101
+00100000010000000111111011001101
+00011110000000001000110000110100
+00100000010000000111111010110110
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000001000000111110010010110
+00011000000000000111001000100000
+11011000101000000000101011010010
+10011000101000001000101000000000
+00100000001000000111111100000001
+00011000000000000111001000001000
+00100000001000000111011110000001
+00011010001000100010010000000000
+00100000001000000111101111100001
+00011000000000000111001000001000
+00100000001000000111011100010010
+00100000010000000111110001111011
+00011000101000100010001000000000
+00100000001000000111110010000001
+00100000010000000111110010101110
+00101010011011111111111000000000
+00100000001000001111110010001010
+11011010010000000000100100011110
+00011010001000100010011000000000
+00011010001000001010001111100000
+00100000010000000111110010110001
+00100100011000010000000000000000
+00011010011000100010001000000000
+00100000001000000111110010010010
+00100000010000000111110010010010
+00011010001000100010011000000000
+00011010001000001010001111100000
+11011010010000000000100100011110
+00100000010000000111110010110001
+00100100011000010000000000000000
+00011010011000100010001000000000
+00100000001000000111110010010010
+00011010001000001010001111100000
+11011010010000000000100100011110
+00011010001000100000101000000000
+00100000001000000111110010101001
+00100000010000000111110010101001
+00100000001000001111110010100000
+00011000101000001010001111100000
+11011010010000000000100100011110
+00100000010000000111110010110001
+00100100011000010000000000000000
+11011010010000000000100100011110
+00011000101000001010001111100000
+00011010001000100000101000000000
+00100000001000000111110010101001
+00011000101000001010001111100000
+11011010010000000000100100011110
+00011010001000100000101000000000
+00100000010000000111110001111011
+00100000011000001000000000000000
+00011000101000001010001111100000
+11011010010000000000100100011110
+00011010001000100000101000000000
+00100000001000000111110001111011
+00011000000000000111001000001000
+00100000001000000111011100100000
+00011000000000000111001000001000
+00011010001000001010001000011100
+00100000001000000111011100101111
+00011000000000000111001000001000
+00011000000000000010011000000000
+00100000001000000111011100111101
+00011000000000000111001000001000
+00011010001000001010001000011100
+00011010010000001010010000011100
+00100000001000000111011100000111
+11101000110001000000000000000000
+00100100011110100000000000000000
+00100000001000000111011011110101
+00011010001000100110000000000000
+00011110000000100010001000000000
+11101010001000001000000000000000
+00101111111011111111111000000000
+00100000011000001000000000000000
+00100000010000000111110010101011
+11101010010000001000000000000000
+00101111111011000000000000000000
+00100000001000001111110011001000
+11011010001000000000100100011110
+00011010010000100000101000000000
+00100000010000000111110001111011
+11101010010000001000000000000000
+10011010011000001111111000000000
+11100010010000001000000000000000
+00011010010000001010010111100000
+00011010010000001010001000100000
+00011000000000000111001000001001
+00100000010000000111011100101111
+00100000001000000111110010111001
+00100000010000000010110001100101
+00100000011101011000000000000000
+00100000010000000111110011010011
+00100000010000000111110101110101
+00100000001000000111110100001000
+00100000010000000111110100101001
+00100000001000000111110101100100
+01101000000000001100011010000110
+11000001011111111000000000000000
+10011000000000000000010000000000
+00100000010000000110100000001110
+01101000000010001100011010000110
+00100000010000000110100000100101
+00100000000000000000000001100100
+01101000000010001100011010000110
+00100000010000000110011111111011
+00100000001000000111110011011101
+01000111011110011100000000111110
+01101000000000001100011010000110
+11000001011111111000000000000000
+00011111111000100000010000000000
+00100000010000000110100000011101
+00100100001000001111110011101111
+00100000010000000111110011111001
+01101000000000010100011010000010
+01111001001000000111111000001100
+01100000000000010100011010000010
+01101000000000001100011001111001
+11000001000000000000000000000000
+01110000010001100111100100000000
+01101000000000001100011010000101
+01100000000000001100011001111000
+00100000010000000111110100000000
+01110000000010101001100100101100
+00100000001000000111110110000110
+01101000000000010100011010000010
+01111001001111111111111000001100
+01100000000000010100011010000010
+01101000000000001100011001111001
+11000001000000001000000000000000
+01110000010001100111100100000001
+01110000010001100111100000000000
+00100000010000000111110100000010
+01110000000010101001100100101101
+00100000001000000111110110000110
+01101000000000001100011001111000
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100011001111000
+00100100011110100000000000000000
+01110000000010101001100100010000
+00100000001000000111110110000110
+11011000111000000000000000000111
+00100000001000000010110000110010
+11011000111000000000000000000111
+00100000001000000010110000110110
+01101000000000010100001000011011
+00011010001011111010010000001011
+10011010010000001010010000000000
+00100000011000000000000000000000
+01101000000000001100001000011010
+00100000011110100000000000000000
+00011111111000100111001000000000
+01101000000000010100001000011011
+00011111111000100010010000000000
+00011010010000001010011000000010
+11101010011010001000000000000000
+00100000010000000110100000001110
+00100000010000000111110100110010
+00011010010000001010010000001011
+11000010000000000111110100001101
+00100000011000000000000000000000
+00100000010000000111110100000100
+01011000000000000000000000000010
+11100010010000001000000000000000
+00100000010000000111110101011110
+00100000001000000111110100110101
+00100000010000000111110100000100
+01011000000000000000000000000011
+11100010010000001000000000000000
+00100000010000000111110101011110
+00100000001000000111110100110010
+00100000010000000111110100000100
+01011000000000000000000000000001
+11100010010000001000000000000000
+01011000000000000000000011111111
+11100000101000001000000000000000
+00100000001000000111110100110010
+00100000010000000111110100000100
+11011111001000000000000000001011
+00011010011000100000110000000000
+00011010010000100000101000000000
+00100000001000000111111011110100
+01101000000000001100001000011010
+00100000011110100000000000000000
+11011010001000000000000000000000
+00100000010000000111110100111000
+00011010001000001010001000000001
+01101000000000001100001000011010
+10011010001001100111110000000000
+00100000011000101000000000000000
+00100000001000000111110100101100
+00011010010000001010011000000010
+11101010011010001000000000000000
+00100000001000000110100000100101
+00011010010000001010011000000010
+11101010011010001000000000000000
+00100000001000000110100000101001
+00011010001000001000111000001011
+00100000010000000111111100010110
+00100100011110100000000000000000
+00100000010000000111110100000100
+11101010010000001000000000000000
+11000000000000010111110100110101
+11000000000000011111110100110010
+11000000000000000111110100110010
+11000000000000101111110101001100
+00100000010000000111110100110101
+00011010010000001010011000000111
+00100000010000000111111001111100
+11101010011000010000000000000000
+00100000010000000111111110011100
+00100000010000000111111010001100
+01011000000000000000000000000101
+11100010010000001000000000000000
+00011010010000001010011000000011
+11101010011000010000000000000000
+00100000001000000111110101011100
+00100000010000000111110100110010
+00011010010000001010011000001001
+00100000010000000111111001111100
+11101010011000010000000000000000
+00100000010000000111111110011100
+00100000010000000111111010001100
+00011010010000001010011000000001
+11101010011000001000000000000000
+11000000011111111111110101011000
+00011111111000001111111111111111
+11100010011000001000000000000000
+00100000001110100111110100011001
+01011000000000000000000000000100
+11100010010000001000000000000000
+00011010010000001010011000000101
+11101010011000010000000000000000
+00011010001000001000111000001011
+00100000001000000111111100001000
+01011000000000000000000000000000
+00100000001000000111110101011100
+01011000000000000001000000000000
+00011111111100000111111000000000
+10011010010000001010010000000000
+00100000011000000000000000000000
+01000111011110100100000000111110
+11011010001000000000000000000000
+01101000000010100100011001111010
+00011100010000100010010000000000
+00011010010000100111111000000000
+10011000010001100111110000000000
+00100100010000010111110101100000
+00011010010000100111111000000000
+00011000010000001000010010100000
+00011000010000001000010010100000
+10011000010001100111110000000000
+00100100001000010111110101111000
+00011010001000001010001000000001
+00011010001000010111111000001111
+00100100001110100111110101101011
+11011010001000000000000000000000
+00100000010000000111110101111111
+00011100010000100111111000000000
+01100000000000100100011001111010
+00100000011000000000000000000000
+01000111011110101100000000111110
+00011010001000100111111000000000
+00100000011110100000000000000000
+00011000010000001000010101100000
+00011000010000001000010101100000
+01111001001111111000010000011100
+01100000000010100100011001111010
+00100000001000000011001101011111
+01110000010001100110011000000001
+01101000000000001100011001100111
+00100100001110100111110110000001
+00100000011000000000000000000000
+01110000010001100110011000000000
+00100000011000000000000000000000
+01000111011110110100000000111110
+00100000010000000111110110000000
+00011010001000100111111000000000
+01100000000000100000101010010001
+11011010001000000100011001101000
+00100000010000000111111110111000
+01101000000000100000101010010001
+00011111111000100010001000000000
+00100000001000000111110110000100
+01000111011110111100000000111110
+00100000010000000111110110000000
+00011010001000100111111000000000
+01100000000000100000101010010001
+11011010001000000100011001110000
+00100000010000000111111110111000
+01101000000000100000101010010001
+00011111111000100010001000000000
+00100000001000000111110110000100
+01011000000000000000000000000000
+01100000000001000100011001110000
+01100000000001000100011001101000
+00100000011000000000000000000000
+01000111011111000100000000111111
+01101000000000001100000111001110
+00100100011110100000000000000000
+11011010001000000100011001110000
+00100000010000000111111111010000
+00100000011110100000000000000000
+01110000000010101001000000000000
+00100000010000000111110110100111
+01101000000000001000101010010000
+00100000001110100111110110011100
+00100000011000000000000000000000
+00100000010000000111110110000000
+11011010001000000100011001110000
+00100000010000000111111111000100
+00011111111000100000010000000000
+00100000010000000111110110000100
+01000111011111001100000000111111
+00011000010000100111111000000000
+00100000011110100000000000000000
+11000000000000001111110111011101
+11000000000000010111110111100010
+11000000000000011111110111101000
+11000000000000111111110111101101
+11000000000001000111110111101110
+11000000000001001111110111101111
+11000000000001011111110111110010
+11000000000001100111110111110011
+11000000000001101111110111110100
+11000000000001110111110111111010
+11000000000001111111110111111111
+11000000000010000111111000000101
+11000000000010011111111000001111
+11000000000010100111111000010001
+11000000000010101111111000010011
+11000000000010110111111000010101
+11000000000010111111111000011000
+11000000000011000111111000011010
+11000000000011001111111000011101
+11000000000011011111111000100101
+11000000000011110111111000101111
+01100000000000001000101010011001
+01000111011111010100000000111111
+00100000010000000110001010111100
+00100100001110100111110111011011
+01101000000000001000101010011001
+11000101100001001111110111010110
+11000000000000100111110111101010
+11000000000000101100110100010111
+11000000000000110100110100100110
+11000000000001010111110111110000
+11000000000010001111111000001010
+11000000000010010111111000001110
+11000000000011101111111000100110
+11000000000011111110011111001100
+11000000000100000110011111010000
+11000000000100001111111000110001
+11000000000100101110011100001011
+00100000011000000000000000000000
+01100000000000001000101010011001
+00100000010000000010001001010010
+00100000001000101111110111011011
+00100000010000000010001001011010
+00100100011000101000000000000000
+01110000000010101001000000000001
+00100000001000000111110110001111
+01101000000000010100011010000010
+01111001001000000111111000000110
+01100000000000010100011010000010
+01110000010000001001001100000011
+00100000011000000000000000000000
+01110000010001101000000000000000
+01110000010000001001001100000000
+01101000000000010100011010000010
+01111001001111111111111000000110
+01100000000000010100011010000010
+00100000011000000000000000000000
+01110000010000011100111000000101
+00100000011000000000000000000000
+01110000000000000111110000000111
+01110000000001001100101000010011
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000000001001101010000000010
+00100000001000000100110100001010
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000010000110110111000000001
+01110000010001001000010000000000
+01101000000000010100011010000010
+01111001001000000111111000001011
+01100000000000010100011010000010
+00100000011000000000000000000000
+01101000000000010100011010000010
+01111001001111111111111000001011
+01100000000000010100011010000010
+01110000010000110110111000000000
+00100000011000000000000000000000
+01110000010000110110111000000001
+01110000010001001000010000000001
+01101000000000010100011010000010
+01111001001000000111111000001011
+01100000000000010100011010000010
+00100000011000000000000000000000
+01101000000000010100011010000010
+01111001001111111111111000001011
+01100000000000010100011010000010
+01110000010000110110111000000000
+00100000011000000000000000000000
+01011000000000000000000000010100
+01100000000000010000010001101101
+01100000000000010100010010111010
+00100000001000000101110010010010
+00100000001000000101101010111111
+11011010001000000000000000000000
+00100000001000000111110100011001
+11011010001000000000000000000000
+00100000001000000111110100010100
+11011010001000000000000000000000
+00100000001000000111110100011110
+01110000010000110110100100000001
+01110000010000011100111000011011
+00100000011000000000000000000000
+01110000010000110110100100000001
+00100000011000000000000000000000
+01110000010000110110100100000000
+01110000010000011100111000000000
+00100000011000000000000000000000
+01101000000000010100000111101011
+00100000010000000111111110011100
+01101000000000001100011010000110
+11000000011111111111111000100011
+00011111111000100000010000000000
+00100000010000000110011111111011
+00100000010000000111110110011000
+00100000001000000010101100011111
+00100000001000000101101100000010
+01110000000000000111110000110100
+01111001001000000000000000000011
+00100100011101001000000000000000
+01110000010001010101101100000000
+01110000000000000111110000010011
+01101000000000001000000101101101
+01111001001111111111111000000010
+01100000000000001000000101101101
+00100000011000000000000000000000
+00011000000000000000111000000011
+00100000001000000111111100000111
+00100000010000000110001011111000
+01110000000000000111110101000001
+00100000001000000101111110011101
+01101000000000001100011010000010
+11000100000001100000000000000000
+11000100000000111000000000000000
+00100000001000000111111000101111
+01101000000000010100001000011000
+00011111111000001000101000000010
+01011000000000000000000000000000
+11100000101000011000000000000000
+00100000011000000000000000000000
+00100000010000000111111111101001
+00100000010000000111111001101001
+00100000011110100000000000000000
+01101000000000010100001000011000
+00011111111000001010010000000010
+11101010010010001000000000000000
+00011000010000001000010000000001
+11100010010010001000000000000000
+11101111111010001000000000000000
+00011000010000100111001000000000
+00011111111000001010010000000100
+11101010010000001000000000000000
+10011000010011111111111000000000
+10011000110000001000101000000000
+00011010001000100000110000000000
+00100000010000000111111100000001
+00100000010000000111111001101101
+00011111111000001111111111111111
+11101010010010001000000000000000
+00011000010000001000010000000001
+10011000010000010000010000000000
+11100010010010001000000000000000
+00100000001000000111111111100111
+00100000010000000111111111101001
+00100000010000000111111001100101
+00100000011110100000000000000000
+01101000000000010100001000011000
+00011111111000001010010000000010
+11101010010010001000000000000000
+00011000010000001000010111111111
+11100010010010001000000000000000
+11101111111010001000000000000000
+00011000010000100111001000000000
+00011111111000001010010000000011
+11101010010000001000000000000000
+10011000010011111111111000000000
+10011000110000001000110000000000
+00011000110000001000110000000001
+00011010001000100000101000000000
+00100000001000000111111001001100
+01101000000000010100001000011000
+00011111111000001000110000000010
+11101000110000001000000000000000
+00100000011000000000000000000000
+00100000010000000111111001101101
+11101000110010001000000000000000
+10011000010001100111111000000000
+00100000011000000000000000000000
+01101000000000010100001000011000
+00011111111000001000110000000001
+11101000110000001000000000000000
+00100000011000000000000000000000
+00011111001001100111110000000000
+00100000011000101000000000000000
+00011111111000110111111000000000
+11000010000000000111111001110011
+00100000011000000000000000000000
+00011000000000000111111000000001
+00011111001001100111110000000000
+00100000011000101000000000000000
+00011111111000111111111000000000
+11000010000000000111111001111001
+00100000011000000000000000000000
+00011000101000100111111000000000
+01100000000000010000101010111011
+01100000000011000000101010100010
+00011001011000100111111000000000
+01100000000000100000101010101010
+00100000010000000111111010000101
+00011000110000100111111000000000
+01100000000000010000101010111001
+00100000011000000000000000000000
+00011010001000100111111000000000
+01100000000000100000101010101110
+00011010010000100111111000000000
+01100000000000100000101010110010
+00011010011000100111111000000000
+01100000000000011000101010110110
+00100000011000000000000000000000
+01101000000011000000101010100010
+01101000000000100000101010101010
+10011000000000000001011000000000
+00100000010000000111111010010101
+01101000000000010000101010111011
+10011000000000000000101000000000
+01101000000000010000101010111001
+10011000000000000000110000000000
+00100000011000000000000000000000
+01101000000000100000101010101110
+10011000000000000010001000000000
+01101000000000100000101010110010
+10011000000000000010010000000000
+01101000000000011000101010110110
+10011000000000000010011000000000
+00100000011000000000000000000000
+01101000000000010000101010111011
+00011111111000100000101000000000
+00100000011000000000000000000000
+01101000000000010000101010111001
+00011111111000100000110000000000
+00100000011000000000000000000000
+00011000101000100111111000000000
+01100000000000010000101010111011
+00100000011000000000000000000000
+00011000110000100111111000000000
+01100000000000010000101010111001
+00100000011000000000000000000000
+00011000101000100111111000000000
+01100000000000010000101010010111
+00011000110000100111111000000000
+01100000000000010000101010010101
+00100000011000000000000000000000
+01101000000000010000101010010111
+00011111111000100000101000000000
+01101000000000010000101010010101
+00011111111000100000110000000000
+00100000011000000000000000000000
+00100000010000000111111010111101
+00100000010000000111111010111101
+00100000001000000111111010111101
+00100000010000000111111010111001
+11101000110000100000000000000000
+11100000101000100000000000000000
+00100000011000000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+00100000011000000000000000000000
+00100000010000000111111010111111
+00100000010000000111111010111001
+00100000010000000111111010111001
+00100000010000000111111010111001
+00100000001000000111111010111001
+11011111001000000000000000001010
+00100000000000000010111011100000
+11000010000000000111111011000010
+00100000011000000000000000000000
+00011000000000000111001000000011
+00011000000000000111111000000000
+11100000101001000000000000000000
+11000010000000000111111011000111
+00100000011000000000000000000000
+00011000000000000111111000000000
+11100000101001000000000000000000
+00100000011000000000000000000000
+00011000000000000111111000000000
+11100000101000100000000000000000
+00100000011000000000000000000000
+00011000000000000111001000000100
+00100000001000000111111011000110
+00011000000000000111001000001000
+00100000001000000111111011000110
+00011111001000100111111000000000
+00100000011110100000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+11000010000000000111111011010111
+00100000011000000000000000000000
+11011111001000000000000000100000
+11011000101000000000101011000010
+00100000001000000111111011010100
+11101010011000100000000000000000
+11101010001010100000000000000000
+10011000010000101111111000000000
+11100000101000100000000000000000
+00011010001000001010001000000100
+00011010011000001010011000000100
+11000010000000000111111011011101
+00100000011000000000000000000000
+01000111011111011100000000111111
+00011111001000100111111000000000
+00011111111001100111110000000001
+00100000011000010000000000000000
+10011010001000001010010000000000
+00011010010000001010010111111111
+00011111001000110111001000000000
+11101010001010001000000000000000
+11101010010000001000000000000000
+11100010001000001000000000000000
+11100010010010001000000000000000
+00011010010000001010010111111111
+00011010001000001010001000000001
+11000010000000000111111011101100
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+00011111001000001111001111111000
+00100000010000010111111010111001
+00100000011000101000000000000000
+00100000001000010111111011110110
+00011111001000001111001000001000
+00011111001000001111001111111100
+00100000010000010111111010110110
+00100000011000101000000000000000
+00100000001000010111111011111011
+00011111001000001111001000000100
+00100000001000000111111100000001
+00011111001000100111111000000000
+00100000011110100000000000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+11000010000000000111111100000011
+00100000011000000000000000000000
+01011000000000000000000000000000
+00011100010000110000010000000000
+01100000000010100100000010010100
+11011000101000000100000110011101
+10011000000000000000010000000000
+00011000111000111111111000000000
+10011000101000001000101000000000
+11100000101010010000000000000000
+01000111011111100100000000111111
+00100000011000000000000000000000
+11011001011000000000100000000000
+00011001011100000001011000000000
+10011001011000001111111000000000
+00100000011000000000000000000000
+11011000111000000000000000000000
+01000111011111101100000000111111
+01101000000010100100000010010100
+00011100010000110111111000000000
+01100000000000100100000010010100
+10011000010001100111110000000000
+00100100010000010111111100010001
+10011000010001100001011000000000
+00011001011000100000010000000000
+11011000110000000100000110011101
+00011000110000100000101000000000
+11011111001000000000000000010000
+11101000110000010000000000000000
+10011000010001100111111000000000
+00100000001000010111111100100101
+00011000000000000111111000000000
+11100000101000010000000000000000
+11000010000000000111111100100001
+11011000110000000100000110011101
+00011000111000111111111000000000
+10011000110000001000110000000000
+11101000110000010000000000000000
+00100000011000000000000000000000
+10011000010000001000010000000000
+00011000010000100111001000000000
+01011000000000000000111010100110
+10011111001001100111111000000000
+00100000011000010000000000000000
+00011111111001100111111000000000
+00011000010100010000010000000000
+00011000010000001000010000000001
+00011000010100000000010000000000
+10011000010000011000010000000000
+00100000011000000000000000000000
+00100000010000000111111100111001
+00100000001000000111111101000011
+01111000010101000111110000000000
+10011000010001100111111000000000
+00100000001000010111111100111110
+01111000001101000111110000000000
+00011111111001100111111000000000
+11000100000001111000000000000000
+11011000010111110000111010100110
+10011000010000001111111000000000
+01111001001111111111111001000000
+00100000011000000000000000000000
+10011000000000000000110000000000
+00011111111100010111111000000000
+11011000010000000000111010100110
+10011000010011111111111000000000
+10011000110000001111111000000000
+00100000011000000000000000000000
+00011111111011010111111000000000
+00011111111100100111111000000000
+01101000000010011100000101101111
+10011000010001101111110000000000
+00100000010000000111111110000110
+00011000000001111000010000000000
+00100000011000000000000000000000
+11011000010000000000111010100110
+10011000010001101111110000000000
+00100000010000000111111110000110
+00011000000001111111111000000000
+00011111111100000111111000000000
+00011000000001110000010000000000
+10011000010000011000010000000000
+00100000011000000000000000000000
+11011000010000000000000000000000
+00011000010000100010011000000000
+11101000011000001000000000000000
+00100000010000000111111101100100
+00011010011000100000010000000000
+00100000010000000111111110010101
+11011010010000000000000000001010
+10011010010011111111111000000000
+10011000010000001111111000000000
+00011111111000100000010000000000
+11000010000000000111111101011001
+00100000011000000000000000000000
+11011000010000000000000000111010
+10011000010001100111110000000000
+00100100001000010111111101101101
+11011000010000000000000001100001
+10011000010001100111110000000000
+00100000001000010111111101110000
+11011000010000000000000000110111
+10011000010001100111111000000000
+00100000011000000000000000000000
+11011000010000000000000000110000
+10011000010001100111111000000000
+00100000011000000000000000000000
+11011000010000000000000001010111
+10011000010001100111111000000000
+00100000011000000000000000000000
+00011000010000100110000000000000
+01011000000000000000000111111111
+00011000000000000010010000000000
+00011111111010010010001000000000
+00011010001000110010001000000000
+10011010001000101010001000000000
+00101010001011111111111000000000
+01111001001000001111111000001001
+00011000010000110000010000000000
+00101111111011111111111000000000
+01111001001000001000010000000111
+00011111111000110111111000000000
+00011010010000001010010000000001
+00101010010000000000111000000000
+00100100001000001111111101110110
+11100000101010001000000000000000
+11000010000000000111111101110110
+00011110000000100000010000000000
+00100000011000000000000000000000
+00100000011110101000000000000000
+00100000001000000111111110000110
+11101010001000001000000000000000
+11101010010010001000000000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011010001000001010001000000001
+00011010010000001010010000000001
+11000010000000000111111110001000
+00011000000000000111110000000000
+00100000011000000000000000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+00011000010000100111111000000000
+00100000011000000000000000000000
+10011000010000001111111000000000
+10011000010001100000010000000000
+10011000010001100111111000000000
+00100000011000000000000000000000
+11011111001000000000001000000000
+11011000101000000100000000000000
+00100000001000000111111011000110
+00100000011110100000000000000000
+00011111111000100111101000000000
+01101000000100010000000100001110
+00100100001110100111111110011110
+00100000011000000000000000000000
+01110000100000100000001100000001
+00100000011000000000000000000000
+01100000000100010000001000000101
+01101000000100001000001000000011
+01111001001000000111111000000100
+01100000000100001000001000000011
+00100000011000000000000000000000
+01100000000100010000001000000111
+01101000000100001000001000000011
+01111001001000000111111000000110
+01100000000100001000001000000011
+00100000011000000000000000000000
+01100000000100010000001000000101
+01110000100000100000001100110000
+00100000011000000000000000000000
+01101000000100001000000001000011
+01111001001111111111111000000100
+01100000000100001000000001000011
+00100000011000000000000000000000
+01101000000100010000000100001110
+11011000010000000000001000000000
+10011000010001100111110000000000
+00100000011000000000000000000000
+01000111011111110100000000111111
+11101010001011000000000000000000
+00011000010000010111111011111111
+00100100001110100111111110111110
+00011000010011001111111000000000
+11100010001001000000000000000000
+00011010001000001010001000000111
+11101010001000001000000000000000
+00100100001110100010101010001100
+01101000000000001000101010011001
+11100010001000001000000000000000
+00100000011000000000000000000000
+01000111011111111100000000111111
+11011111001000000000000000001000
+11101010001001000000000000000000
+00100000011110100000000000000000
+11101010001000001000000000000000
+00100100001110100111111111001101
+00011010001000001010001000000001
+11000010000000000111111111001000
+00100000001000000010101010001100
+11011000010000000000000000000000
+11100010001010001000000000000000
+00100000011000000000000000000000
+11101010001001000000000000000000
+00100000011000000000000000000000
+11101010001000001000000000000000
+00100000011000000000000000000000
+11101010001000010000000000000000
+00100000011000000000000000000000
+11011000010000000000000000000000
+01101000000000001000000000000110
+11000010000000000111111111010111
+00011000010000001000010000000001
+11000010000000000111111111010111
+00011000010000100111111000000000
+00100000011000000000000000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+00011000010000100111111000000000
+00100000011000000000000000000000
+00011000000000000111110111111111
+00100000011000000000000000000000
+00011000000000000111110000000001
+00100000011000000000000000000000
+00011000000000000111110000000000
+00100000011000000000000000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01111000010101000111110000000000
+00100000011000000000000000000000
+01111000001101100111110000000000
+00100000011000000000000000000000
+01111000010101100111110000000000
+00100000011000000000000000000000
+01011000000000000000000000000001
+00100000011000000000000000000000
+01011000000000000000000000000000
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+00011000110000100111111000000000
+10011111001000001111111000000000
+00011111111000001111111111111111
+00011111111000100000110000000000
+11101000110000001000000000000000
+00011000110000001000110111111110
+11100000101000001000000000000000
+11000010000000000111111111111001
+00100000011000000000000000000000
Index: HS_24G&BLE_Motion/output/hs_1062_1225_motion_eeprom.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/hs_1062_1225_motion_eeprom.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/hs_1062_1225_motion_eeprom.dat	(working copy)
@@ -0,0 +1,8041 @@
+00
+02
+aa
+55
+ba
+1b
+c2
+84
+00
+11
+c0
+42
+85
+fa
+c0
+44
+85
+bf
+c0
+00
+80
+25
+c0
+50
+80
+2e
+c0
+54
+00
+33
+c0
+58
+80
+36
+c0
+59
+00
+3e
+c0
+62
+00
+b8
+c0
+64
+81
+2c
+c0
+65
+01
+30
+c0
+71
+82
+fa
+c0
+73
+02
+ac
+c0
+75
+03
+40
+c0
+75
+83
+4e
+c0
+76
+03
+79
+20
+20
+2a
+8e
+c0
+1c
+83
+7e
+c0
+21
+83
+86
+c0
+25
+03
+8c
+c0
+2b
+83
+8f
+c0
+31
+83
+a1
+c0
+33
+83
+cb
+c0
+35
+03
+f4
+c0
+3b
+83
+ff
+c0
+46
+04
+0f
+20
+20
+2a
+8e
+1f
+e2
+22
+00
+68
+08
+cc
+50
+58
+00
+4c
+57
+98
+40
+8a
+00
+1a
+22
+7e
+00
+e0
+a0
+80
+00
+18
+40
+84
+01
+18
+41
+04
+07
+60
+08
+cc
+50
+20
+60
+00
+00
+d8
+a0
+09
+ae
+df
+20
+00
+0c
+20
+40
+7e
+d4
+20
+40
+00
+ac
+20
+40
+6a
+03
+20
+40
+5c
+f6
+24
+55
+ac
+65
+20
+40
+7c
+cd
+20
+20
+20
+0c
+58
+00
+0a
+06
+60
+01
+c5
+10
+58
+00
+1d
+87
+60
+01
+45
+13
+20
+20
+2a
+a2
+68
+00
+c8
+06
+24
+7a
+00
+00
+20
+20
+2b
+7f
+c6
+13
+00
+00
+68
+00
+c7
+9c
+c0
+00
+7f
+ef
+68
+00
+c7
+c4
+c0
+00
+ff
+ef
+68
+01
+42
+48
+24
+3a
+7f
+ef
+20
+20
+7f
+f1
+c6
+93
+00
+00
+68
+00
+cc
+d5
+c0
+00
+80
+53
+20
+40
+04
+74
+24
+34
+00
+6e
+20
+40
+04
+59
+20
+40
+04
+98
+68
+00
+cb
+a5
+c1
+ff
+80
+00
+20
+40
+04
+f7
+68
+00
+cc
+d5
+c1
+00
+80
+00
+20
+40
+2a
+fa
+68
+01
+c1
+6f
+20
+7a
+00
+00
+68
+00
+c0
+91
+20
+7a
+00
+00
+20
+40
+00
+93
+20
+40
+00
+90
+58
+00
+ec
+54
+20
+20
+2b
+93
+20
+40
+05
+fc
+24
+74
+00
+00
+20
+40
+00
+65
+68
+00
+cc
+d6
+1f
+e0
+fe
+01
+60
+00
+cc
+d6
+1f
+e6
+7c
+19
+20
+42
+80
+5c
+20
+20
+00
+41
+70
+4c
+d5
+00
+70
+4c
+d6
+00
+70
+4b
+d0
+00
+68
+00
+cb
+bb
+60
+00
+cb
+ba
+20
+60
+00
+00
+68
+00
+cb
+bc
+60
+00
+cb
+ba
+20
+60
+00
+00
+68
+00
+cb
+d0
+1f
+e0
+fe
+01
+60
+00
+cb
+d0
+c0
+02
+00
+62
+c0
+02
+80
+5e
+20
+60
+00
+00
+70
+4c
+d5
+01
+70
+4c
+d6
+00
+20
+60
+00
+00
+68
+00
+cb
+c1
+20
+5a
+00
+7a
+20
+40
+2a
+fa
+68
+01
+c1
+6f
+20
+7a
+00
+00
+68
+00
+c0
+91
+20
+7a
+00
+00
+20
+40
+00
+93
+68
+04
+4b
+c4
+20
+40
+7f
+49
+60
+0a
+41
+5b
+20
+20
+2b
+2a
+70
+4b
+c1
+01
+70
+4c
+ca
+00
+20
+40
+04
+21
+60
+00
+cb
+31
+58
+00
+00
+00
+60
+03
+cb
+32
+68
+02
+4b
+cc
+60
+02
+4b
+39
+70
+4b
+95
+0c
+68
+00
+cb
+96
+79
+20
+7e
+03
+60
+00
+cb
+96
+20
+40
+06
+38
+20
+40
+04
+78
+20
+20
+00
+44
+c6
+13
+00
+00
+20
+40
+00
+9f
+20
+40
+00
+93
+68
+00
+c0
+40
+c3
+00
+00
+90
+68
+00
+80
+a0
+24
+7a
+00
+00
+58
+00
+00
+00
+60
+04
+00
+a1
+20
+60
+00
+00
+20
+40
+00
+9c
+20
+40
+00
+90
+20
+40
+3e
+bf
+68
+12
+00
+70
+68
+1a
+00
+78
+98
+41
+84
+00
+18
+44
+04
+00
+60
+1a
+00
+7c
+20
+60
+00
+00
+68
+00
+cb
+03
+20
+7a
+00
+00
+20
+20
+02
+fb
+d8
+c0
+18
+00
+d8
+a0
+48
+0a
+20
+40
+00
+aa
+d8
+c0
+19
+00
+d8
+a0
+48
+25
+20
+40
+00
+aa
+d8
+c0
+1a
+00
+d8
+a0
+48
+40
+20
+40
+00
+aa
+d8
+c0
+1b
+00
+d8
+a0
+48
+5b
+df
+20
+00
+1b
+20
+20
+7f
+01
+d8
+c0
+48
+0a
+d8
+a0
+18
+00
+20
+40
+00
+aa
+d8
+c0
+48
+25
+d8
+a0
+19
+00
+20
+40
+00
+aa
+d8
+c0
+48
+40
+d8
+a0
+1a
+00
+20
+40
+00
+aa
+d8
+c0
+48
+5b
+d8
+a0
+1b
+00
+20
+20
+00
+aa
+20
+40
+34
+16
+20
+35
+80
+c2
+70
+80
+78
+20
+20
+40
+06
+d4
+68
+00
+c1
+de
+60
+00
+cc
+4c
+20
+40
+04
+e6
+68
+00
+c6
+85
+60
+00
+c6
+da
+20
+40
+43
+ca
+20
+40
+00
+c4
+20
+20
+74
+b9
+24
+55
+81
+12
+20
+40
+00
+f1
+20
+75
+80
+00
+20
+40
+01
+4d
+20
+40
+02
+b6
+c0
+02
+80
+df
+20
+20
+01
+34
+68
+00
+cc
+4c
+60
+00
+c1
+de
+68
+00
+c2
+10
+c0
+1a
+00
+d0
+20
+60
+00
+00
+70
+47
+9f
+01
+68
+01
+46
+a8
+60
+01
+46
+ae
+20
+40
+34
+18
+20
+40
+00
+d8
+58
+00
+00
+04
+e0
+c0
+80
+00
+20
+20
+7d
+f4
+da
+20
+43
+70
+ea
+20
+80
+00
+20
+7a
+00
+00
+98
+c0
+a2
+00
+e8
+c0
+80
+00
+c1
+00
+80
+00
+20
+20
+00
+d9
+68
+02
+46
+d3
+c4
+08
+80
+00
+c3
+81
+80
+00
+c6
+13
+00
+00
+20
+40
+44
+82
+d8
+e0
+00
+03
+20
+40
+43
+ce
+58
+00
+00
+00
+60
+01
+46
+ae
+60
+00
+c6
+b4
+60
+01
+4b
+c2
+20
+40
+42
+ca
+20
+20
+05
+2b
+68
+02
+46
+d3
+c3
+0a
+3d
+66
+68
+00
+c7
+7a
+c0
+7f
+bd
+66
+20
+20
+3d
+80
+70
+42
+12
+76
+20
+20
+3d
+36
+20
+40
+00
+f1
+20
+40
+40
+c0
+68
+00
+c6
+e0
+c0
+02
+c0
+d5
+20
+40
+40
+d9
+c0
+18
+01
+01
+c0
+18
+81
+03
+20
+40
+40
+d1
+20
+00
+03
+e8
+20
+20
+00
+f7
+70
+4b
+03
+01
+20
+40
+64
+0f
+20
+40
+00
+f3
+20
+20
+64
+11
+20
+40
+01
+08
+20
+20
+40
+e0
+20
+40
+01
+08
+68
+00
+c6
+de
+c0
+38
+40
+e8
+70
+46
+e0
+01
+20
+60
+00
+00
+58
+00
+80
+06
+20
+40
+64
+13
+20
+00
+2e
+e0
+20
+20
+00
+ec
+58
+00
+00
+06
+20
+40
+64
+14
+1f
+e1
+fe
+08
+1f
+ed
+7e
+00
+1f
+e0
+fe
+06
+20
+20
+64
+13
+20
+40
+04
+1b
+68
+10
+8a
+00
+79
+3f
+fe
+04
+60
+10
+8a
+00
+20
+40
+3e
+6e
+20
+40
+02
+0c
+20
+40
+3e
+1e
+58
+00
+00
+00
+60
+01
+41
+54
+20
+40
+3e
+54
+20
+40
+58
+10
+20
+40
+58
+39
+20
+40
+58
+2c
+20
+40
+58
+18
+20
+40
+65
+9c
+68
+02
+46
+d3
+2f
+ef
+fe
+19
+24
+40
+e5
+c2
+20
+40
+44
+3f
+20
+40
+01
+28
+20
+40
+01
+c8
+20
+20
+65
+df
+20
+40
+33
+c4
+20
+22
+c3
+16
+20
+40
+03
+46
+20
+20
+3d
+cb
+d8
+40
+00
+02
+da
+20
+0a
+aa
+da
+40
+00
+62
+20
+20
+65
+d1
+d8
+40
+00
+02
+da
+20
+0a
+9a
+da
+40
+00
+62
+20
+20
+33
+c8
+68
+02
+46
+d3
+c3
+0f
+01
+3b
+68
+00
+8a
+bd
+2f
+ec
+00
+03
+24
+20
+81
+3b
+20
+40
+00
+f3
+20
+40
+01
+0c
+68
+00
+c7
+1f
+60
+00
+c7
+1e
+68
+00
+c6
+f5
+c3
+83
+00
+00
+68
+02
+46
+d3
+c4
+08
+80
+00
+20
+40
+01
+44
+20
+34
+05
+82
+20
+20
+05
+5f
+df
+20
+00
+02
+d8
+c0
+4b
+bd
+20
+40
+7f
+e7
+58
+00
+ff
+ff
+e8
+c9
+00
+00
+98
+46
+7c
+00
+24
+42
+ff
+e9
+c2
+00
+01
+48
+20
+60
+00
+00
+58
+00
+01
+60
+60
+01
+4c
+c6
+58
+00
+01
+64
+60
+01
+41
+ef
+58
+00
+04
+09
+60
+01
+41
+f9
+58
+00
+00
+89
+60
+01
+41
+ed
+58
+00
+01
+8f
+60
+01
+41
+f5
+58
+00
+01
+79
+60
+01
+41
+f3
+58
+00
+01
+df
+60
+01
+41
+eb
+58
+00
+01
+ed
+60
+01
+41
+fd
+58
+00
+3d
+36
+60
+01
+42
+01
+20
+60
+00
+00
+20
+40
+44
+01
+68
+01
+46
+9f
+20
+7a
+00
+00
+20
+20
+00
+6b
+20
+40
+58
+92
+24
+7a
+00
+00
+68
+00
+c6
+c5
+1f
+e1
+7e
+03
+c1
+81
+80
+00
+68
+00
+c7
+9c
+20
+5a
+01
+76
+68
+02
+46
+d3
+c2
+82
+c1
+79
+20
+40
+3f
+97
+24
+74
+00
+00
+20
+40
+01
+71
+20
+20
+06
+d9
+68
+01
+46
+9f
+20
+7a
+00
+00
+70
+48
+06
+01
+70
+48
+07
+02
+20
+60
+00
+00
+20
+40
+58
+14
+70
+47
+9c
+01
+20
+20
+01
+08
+20
+40
+7e
+34
+20
+40
+01
+7c
+20
+20
+3e
+e0
+68
+08
+c6
+e7
+20
+40
+02
+df
+68
+08
+c6
+e7
+20
+40
+68
+1d
+20
+20
+81
+8d
+20
+40
+02
+e8
+68
+00
+c6
+b6
+c1
+00
+00
+00
+70
+46
+b6
+00
+68
+00
+c7
+7a
+1f
+e0
+fe
+01
+1f
+e1
+7e
+03
+60
+00
+c7
+7a
+1f
+e0
+fe
+02
+60
+01
+4b
+0c
+20
+40
+02
+2d
+20
+20
+3d
+74
+20
+40
+02
+e8
+20
+20
+3d
+62
+1a
+62
+7e
+00
+c0
+0a
+01
+99
+c0
+0a
+81
+9c
+c0
+14
+81
+a5
+c0
+19
+01
+a7
+c0
+20
+01
+ae
+c0
+1c
+81
+b9
+c0
+1d
+01
+cc
+c0
+1e
+01
+dd
+20
+20
+41
+7d
+20
+40
+00
+fd
+20
+40
+06
+d4
+20
+20
+41
+c3
+20
+40
+01
+e9
+58
+00
+00
+07
+60
+01
+44
+96
+60
+01
+44
+98
+70
+47
+c4
+00
+70
+47
+9c
+00
+20
+40
+06
+d4
+20
+40
+58
+16
+20
+20
+41
+d9
+70
+0a
+99
+12
+20
+20
+7d
+8f
+68
+00
+c7
+9f
+c0
+00
+81
+aa
+20
+20
+01
+ac
+20
+40
+01
+a5
+70
+46
+c6
+14
+d8
+e0
+00
+01
+20
+20
+41
+b9
+68
+01
+45
+09
+c1
+00
+00
+00
+68
+00
+84
+41
+1f
+eb
+7e
+00
+1f
+e6
+7c
+0c
+20
+61
+00
+00
+58
+00
+00
+09
+60
+01
+44
+96
+60
+01
+44
+98
+20
+40
+01
+a5
+20
+20
+03
+95
+20
+40
+00
+fd
+70
+47
+8b
+01
+d8
+e0
+00
+03
+20
+40
+43
+d2
+58
+00
+00
+00
+60
+01
+47
+07
+70
+46
+a7
+00
+68
+00
+c6
+e0
+1f
+e6
+7c
+05
+20
+42
+c0
+39
+24
+42
+c0
+5d
+68
+00
+cc
+4c
+60
+00
+c1
+de
+20
+40
+01
+c8
+20
+20
+65
+d1
+da
+20
+4b
+bd
+da
+40
+00
+5b
+d8
+40
+00
+04
+20
+60
+00
+00
+20
+40
+01
+e9
+70
+4c
+d5
+00
+68
+00
+cc
+4c
+60
+00
+c1
+de
+20
+40
+05
+a9
+68
+00
+cb
+00
+c2
+80
+01
+da
+70
+41
+bd
+00
+20
+40
+43
+16
+df
+20
+00
+03
+d8
+c0
+47
+22
+20
+40
+01
+46
+20
+34
+01
+da
+20
+20
+00
+cb
+70
+47
+9d
+01
+70
+47
+9e
+28
+20
+60
+00
+00
+20
+40
+00
+fd
+20
+20
+3f
+8d
+78
+34
+7c
+00
+68
+12
+01
+38
+79
+34
+7e
+1a
+60
+12
+00
+4c
+20
+40
+2c
+21
+20
+40
+01
+e9
+20
+40
+74
+bd
+20
+40
+44
+82
+20
+40
+3e
+9f
+20
+20
+3e
+bf
+68
+00
+cb
+03
+20
+7a
+00
+00
+70
+4b
+03
+00
+20
+20
+01
+0c
+20
+40
+02
+61
+20
+40
+02
+9b
+20
+40
+02
+31
+20
+40
+02
+34
+20
+40
+02
+ed
+20
+40
+01
+fa
+20
+40
+02
+58
+20
+40
+02
+3c
+20
+40
+42
+31
+20
+40
+42
+34
+20
+40
+42
+37
+20
+40
+42
+3a
+20
+20
+02
+39
+68
+00
+cb
+04
+20
+7a
+00
+00
+68
+00
+cb
+0a
+1f
+e0
+ff
+ff
+60
+00
+cb
+0a
+24
+7a
+00
+00
+68
+00
+cb
+0b
+60
+00
+cb
+0a
+68
+00
+cb
+0d
+20
+3a
+02
+08
+68
+00
+cb
+0c
+20
+3a
+02
+12
+1f
+e0
+ff
+ff
+60
+00
+cb
+0c
+68
+00
+cb
+06
+c0
+00
+82
+15
+c0
+00
+02
+0e
+20
+60
+00
+00
+68
+08
+cb
+05
+20
+20
+68
+0e
+70
+4b
+06
+01
+20
+40
+02
+0c
+68
+08
+cb
+05
+20
+20
+68
+29
+70
+4b
+0a
+00
+70
+4b
+0c
+00
+70
+4b
+0d
+00
+68
+00
+cb
+0c
+24
+3a
+02
+19
+70
+4b
+04
+00
+70
+4b
+07
+00
+70
+4b
+08
+00
+70
+4b
+06
+00
+68
+08
+cb
+05
+20
+40
+68
+25
+68
+10
+80
+7c
+79
+20
+7e
+05
+60
+10
+80
+7c
+20
+60
+00
+00
+70
+4b
+0a
+01
+70
+4b
+0b
+05
+70
+4b
+0d
+00
+70
+4b
+0c
+01
+70
+4b
+04
+01
+70
+4b
+07
+01
+20
+60
+00
+00
+68
+00
+cb
+08
+24
+7a
+00
+00
+68
+00
+cb
+0e
+24
+7a
+00
+00
+20
+20
+02
+12
+70
+4b
+0a
+01
+70
+4b
+0b
+03
+70
+4b
+0d
+01
+20
+20
+02
+25
+da
+60
+48
+09
+da
+40
+63
+7a
+20
+20
+33
+6d
+da
+60
+48
+07
+da
+40
+02
+37
+20
+20
+33
+6d
+70
+48
+06
+00
+20
+60
+00
+00
+da
+60
+46
+c6
+da
+40
+3d
+60
+20
+20
+33
+6d
+68
+00
+c6
+f5
+c2
+82
+43
+94
+20
+40
+02
+b6
+c0
+03
+82
+48
+68
+00
+c6
+85
+60
+00
+c6
+da
+68
+00
+c6
+db
+c1
+00
+80
+00
+70
+46
+db
+01
+d8
+e0
+00
+09
+20
+40
+43
+d2
+20
+20
+43
+ca
+70
+47
+9e
+28
+20
+40
+02
+4b
+20
+20
+43
+b0
+da
+60
+46
+da
+da
+40
+02
+4e
+20
+20
+33
+6d
+20
+40
+01
+e9
+68
+01
+46
+82
+2f
+ef
+fe
+0b
+20
+40
+c2
+d4
+68
+01
+46
+82
+2f
+ef
+fe
+07
+20
+40
+c3
+92
+d8
+e0
+00
+09
+20
+40
+43
+ce
+20
+20
+43
+b8
+68
+00
+c7
+9d
+20
+7a
+00
+00
+68
+00
+c7
+9e
+20
+3a
+02
+5f
+1f
+e0
+ff
+ff
+60
+00
+c7
+9e
+20
+60
+00
+00
+70
+47
+9d
+00
+20
+20
+34
+0a
+68
+02
+46
+d3
+c4
+0d
+00
+00
+68
+00
+cb
+0c
+24
+7a
+00
+00
+68
+00
+cb
+08
+24
+7a
+00
+00
+68
+00
+c6
+ce
+1f
+e0
+fe
+01
+60
+00
+c6
+ce
+1f
+e6
+7c
+0a
+20
+61
+00
+00
+70
+46
+ce
+00
+20
+40
+02
+7c
+20
+40
+69
+08
+60
+01
+47
+0f
+da
+20
+47
+09
+20
+40
+02
+89
+68
+00
+c2
+31
+c2
+80
+b4
+0a
+c3
+00
+02
+77
+70
+4b
+02
+01
+20
+20
+43
+e7
+20
+40
+43
+e9
+68
+00
+cb
+02
+20
+7a
+00
+00
+70
+4b
+02
+00
+20
+20
+02
+15
+68
+00
+c2
+2d
+c0
+01
+02
+7f
+20
+20
+68
+ec
+68
+08
+cb
+05
+20
+40
+67
+fb
+68
+10
+80
+7c
+79
+3f
+fe
+05
+60
+10
+80
+7c
+68
+10
+80
+78
+79
+3f
+fe
+05
+60
+10
+80
+78
+20
+40
+68
+f4
+20
+60
+00
+00
+ea
+24
+00
+00
+60
+04
+0a
+9a
+68
+09
+0a
+9c
+68
+01
+0a
+a0
+1f
+ef
+fe
+07
+1f
+e6
+fc
+04
+20
+40
+7f
+86
+18
+07
+fe
+00
+1f
+e0
+ff
+f6
+98
+46
+7c
+00
+24
+21
+69
+44
+68
+09
+0a
+9e
+98
+46
+7c
+00
+24
+21
+69
+40
+68
+00
+c2
+31
+79
+3f
+fe
+00
+60
+00
+c2
+31
+20
+60
+00
+00
+68
+02
+46
+d3
+c4
+02
+00
+00
+68
+00
+cb
+0c
+24
+7a
+00
+00
+68
+00
+cb
+08
+24
+7a
+00
+00
+68
+00
+c6
+cf
+1f
+e0
+fe
+01
+60
+00
+c6
+cf
+1f
+e6
+7c
+14
+24
+41
+02
+aa
+68
+00
+c6
+cf
+1f
+e6
+7c
+0a
+20
+21
+02
+0e
+20
+20
+02
+15
+70
+46
+cf
+01
+20
+60
+00
+00
+78
+54
+7c
+00
+58
+00
+00
+00
+60
+03
+46
+9b
+20
+40
+3f
+b5
+20
+40
+40
+79
+20
+40
+40
+7e
+20
+40
+02
+b4
+20
+20
+3f
+9f
+20
+40
+02
+b6
+20
+20
+40
+9a
+da
+20
+00
+00
+20
+40
+02
+c1
+20
+40
+02
+c7
+20
+40
+02
+cd
+20
+40
+02
+bd
+1a
+22
+7e
+00
+20
+60
+00
+00
+68
+00
+c6
+e5
+c1
+7f
+80
+00
+20
+40
+02
+d3
+20
+20
+02
+d9
+68
+08
+c6
+e2
+20
+40
+02
+e8
+68
+08
+c6
+e2
+20
+40
+68
+1d
+79
+20
+a2
+00
+20
+60
+00
+00
+68
+08
+c6
+e3
+20
+40
+02
+e8
+68
+08
+c6
+e3
+20
+40
+68
+1d
+79
+20
+a2
+01
+20
+60
+00
+00
+68
+08
+c6
+e4
+20
+40
+02
+e8
+68
+08
+c6
+e4
+20
+40
+68
+1d
+79
+20
+a2
+02
+20
+60
+00
+00
+68
+08
+c6
+e5
+20
+40
+02
+df
+68
+08
+c6
+e5
+20
+40
+68
+1d
+7d
+20
+a2
+03
+20
+20
+02
+e8
+68
+08
+c6
+e6
+20
+40
+02
+df
+68
+08
+c6
+e6
+20
+40
+68
+1d
+7d
+20
+a2
+04
+20
+20
+02
+e8
+79
+3f
+84
+07
+d8
+a0
+80
+78
+20
+40
+68
+30
+79
+20
+04
+07
+d8
+a0
+80
+7c
+20
+40
+68
+30
+79
+3f
+84
+07
+d8
+a0
+80
+70
+20
+20
+68
+30
+79
+20
+04
+07
+d8
+a0
+80
+78
+20
+40
+68
+30
+79
+3f
+84
+07
+20
+20
+02
+e3
+da
+60
+46
+df
+da
+40
+02
+f0
+20
+20
+33
+6d
+68
+00
+c6
+f4
+60
+00
+c7
+15
+58
+00
+03
+e8
+60
+01
+47
+16
+60
+01
+47
+18
+da
+20
+00
+00
+68
+08
+cb
+01
+60
+08
+c7
+14
+70
+47
+13
+01
+20
+60
+00
+00
+20
+40
+03
+3a
+68
+00
+c6
+e0
+c0
+02
+bd
+aa
+c0
+02
+3d
+96
+c0
+03
+03
+11
+c0
+01
+83
+11
+68
+00
+c7
+7a
+1f
+e6
+7c
+01
+20
+42
+83
+09
+68
+00
+c7
+7a
+c0
+00
+03
+0b
+c0
+00
+bd
+88
+c0
+01
+03
+0d
+c0
+01
+83
+0f
+20
+20
+03
+0d
+70
+47
+7a
+02
+20
+60
+00
+00
+70
+4b
+01
+01
+20
+20
+3d
+8a
+70
+4b
+01
+02
+20
+20
+3d
+8c
+70
+4b
+01
+03
+20
+20
+3d
+8e
+68
+00
+c7
+7a
+1f
+e6
+7c
+01
+20
+42
+83
+1a
+68
+00
+c7
+7a
+c0
+00
+03
+1c
+c0
+00
+83
+20
+c0
+01
+03
+23
+c0
+01
+83
+27
+20
+20
+03
+23
+70
+47
+7a
+02
+20
+60
+00
+00
+70
+4b
+01
+01
+68
+00
+c7
+7f
+1f
+e0
+ff
+ff
+20
+20
+3d
+be
+68
+00
+c7
+80
+1f
+e0
+ff
+ff
+20
+20
+3d
+be
+70
+4b
+01
+02
+68
+00
+c7
+81
+1f
+e0
+ff
+ff
+20
+20
+3d
+be
+70
+4b
+01
+03
+68
+00
+c7
+82
+1f
+e0
+ff
+ff
+20
+20
+3d
+be
+68
+00
+c7
+7a
+1f
+e6
+7c
+01
+20
+42
+83
+09
+68
+00
+c7
+7a
+c0
+00
+3d
+9d
+c0
+00
+bd
+9b
+c0
+01
+3d
+9f
+c0
+01
+bd
+a1
+20
+20
+3d
+9f
+70
+4b
+01
+01
+20
+20
+3d
+9d
+70
+4b
+01
+02
+20
+20
+3d
+9f
+70
+4b
+01
+03
+20
+20
+3d
+a1
+68
+02
+46
+d3
+c4
+0b
+80
+00
+70
+46
+df
+0a
+68
+00
+c6
+f4
+60
+00
+c7
+15
+20
+60
+00
+00
+70
+47
+9d
+00
+70
+47
+9e
+00
+c5
+13
+03
+44
+20
+20
+42
+6d
+20
+40
+05
+a9
+20
+20
+42
+6d
+20
+40
+68
+a2
+68
+01
+42
+1d
+20
+3a
+03
+4b
+60
+01
+47
+c2
+20
+20
+03
+6c
+58
+00
+11
+22
+60
+01
+47
+c2
+20
+20
+03
+4a
+68
+00
+cc
+4c
+60
+00
+c1
+de
+70
+47
+9c
+00
+68
+01
+46
+82
+c2
+85
+83
+5d
+68
+02
+46
+d3
+c3
+0c
+03
+5d
+20
+40
+03
+70
+68
+09
+47
+c2
+18
+40
+84
+01
+60
+09
+47
+c2
+60
+09
+44
+a1
+20
+40
+03
+6c
+18
+0a
+7e
+00
+60
+00
+c4
+a0
+20
+40
+34
+18
+68
+01
+46
+87
+60
+01
+46
+ac
+70
+01
+6d
+06
+58
+00
+00
+00
+60
+01
+46
+b0
+60
+01
+46
+ae
+d8
+e0
+00
+07
+20
+40
+43
+ce
+20
+40
+43
+ca
+68
+00
+c0
+92
+2f
+ef
+fe
+01
+20
+40
+83
+74
+20
+40
+42
+c4
+20
+20
+02
+21
+d8
+40
+00
+02
+da
+20
+47
+c2
+da
+40
+00
+5f
+20
+20
+65
+d1
+d8
+40
+00
+02
+da
+20
+47
+c2
+da
+40
+00
+5f
+20
+20
+65
+df
+70
+47
+9f
+00
+20
+40
+00
+d8
+58
+00
+00
+05
+e0
+c0
+80
+00
+20
+20
+7d
+f4
+20
+40
+02
+28
+58
+00
+00
+00
+60
+01
+46
+ac
+20
+40
+01
+08
+20
+20
+42
+cb
+68
+00
+c5
+0f
+1f
+e0
+fe
+01
+60
+00
+c5
+0f
+c0
+06
+53
+95
+20
+40
+55
+aa
+20
+40
+56
+1e
+20
+40
+04
+f7
+20
+20
+53
+8f
+68
+00
+80
+16
+1f
+e0
+fe
+01
+60
+00
+80
+16
+c1
+94
+00
+00
+70
+00
+16
+25
+20
+60
+00
+00
+20
+40
+29
+bb
+20
+40
+00
+1b
+20
+20
+54
+a3
+20
+40
+03
+97
+20
+20
+55
+7d
+68
+00
+c7
+c5
+60
+00
+c1
+72
+70
+47
+c4
+00
+20
+60
+00
+00
+70
+47
+c4
+01
+20
+60
+00
+00
+68
+00
+c3
+d6
+1f
+e6
+7c
+0c
+24
+21
+03
+95
+68
+00
+c3
+d8
+68
+08
+c7
+c5
+98
+46
+7c
+00
+20
+21
+03
+91
+68
+00
+c3
+d8
+60
+00
+c1
+72
+20
+20
+03
+93
+68
+00
+84
+56
+c2
+82
+83
+b5
+20
+40
+04
+e9
+68
+00
+c7
+8e
+24
+3a
+03
+ab
+68
+00
+84
+3f
+c3
+02
+03
+af
+68
+00
+82
+da
+20
+3a
+03
+af
+20
+20
+56
+64
+68
+00
+c7
+8e
+1f
+e0
+ff
+ff
+60
+00
+c7
+8e
+20
+20
+56
+64
+68
+00
+c4
+c4
+c0
+82
+83
+b2
+70
+47
+8e
+03
+20
+40
+58
+92
+20
+5a
+06
+e1
+20
+20
+56
+22
+20
+40
+03
+b7
+20
+20
+03
+c3
+68
+00
+c6
+c5
+1f
+e1
+7e
+03
+c1
+81
+80
+00
+68
+00
+c7
+c1
+20
+7a
+00
+00
+68
+00
+c3
+dd
+20
+7a
+00
+00
+68
+00
+c3
+dc
+79
+20
+7e
+04
+60
+00
+c3
+dc
+20
+40
+56
+50
+20
+60
+00
+00
+20
+20
+04
+ed
+68
+00
+c7
+9f
+20
+7a
+00
+00
+68
+00
+c6
+c5
+1f
+e1
+7e
+03
+c1
+01
+80
+00
+70
+46
+c6
+0a
+20
+60
+00
+00
+e8
+c1
+00
+00
+c0
+02
+03
+cf
+c0
+03
+03
+ec
+20
+20
+56
+98
+20
+40
+7e
+a5
+20
+40
+03
+c4
+20
+40
+7e
+9f
+e8
+c1
+80
+00
+60
+01
+84
+77
+c0
+08
+03
+de
+1f
+ec
+84
+00
+18
+46
+7c
+24
+20
+21
+58
+ad
+d8
+40
+47
+c6
+60
+09
+44
+bc
+20
+40
+58
+ad
+58
+00
+8e
+7a
+60
+01
+44
+bc
+20
+60
+00
+00
+20
+40
+59
+fa
+20
+40
+58
+79
+18
+c0
+8c
+07
+e8
+c0
+80
+00
+c1
+88
+80
+00
+18
+c0
+8c
+05
+e8
+c1
+00
+00
+d8
+40
+18
+12
+98
+46
+7c
+00
+24
+62
+80
+00
+18
+c0
+8d
+fc
+58
+00
+00
+2b
+e0
+c1
+00
+00
+20
+60
+00
+00
+e8
+c0
+80
+00
+c0
+02
+83
+ef
+20
+20
+5a
+f5
+20
+40
+5b
+5a
+68
+00
+84
+3f
+79
+3f
+fe
+05
+60
+00
+84
+3f
+20
+20
+5c
+8e
+68
+00
+80
+16
+c0
+93
+d6
+f2
+20
+40
+03
+fa
+d8
+e0
+00
+00
+68
+01
+44
+82
+20
+20
+7f
+08
+18
+0a
+7e
+00
+d8
+40
+01
+ff
+98
+41
+7e
+00
+1f
+e0
+fe
+fa
+20
+20
+3c
+be
+78
+55
+fc
+00
+20
+37
+04
+02
+24
+36
+d8
+06
+20
+40
+2b
+cb
+68
+01
+40
+c1
+60
+01
+04
+4d
+68
+00
+c6
+c5
+2f
+e0
+06
+03
+24
+20
+ab
+de
+20
+20
+57
+fb
+68
+00
+c7
+9f
+24
+7a
+00
+00
+68
+00
+84
+78
+1f
+e6
+7e
+1a
+24
+62
+80
+00
+20
+20
+3d
+60
+68
+10
+80
+77
+1f
+e1
+7e
+fd
+60
+10
+80
+77
+68
+18
+80
+73
+18
+41
+84
+02
+60
+18
+80
+73
+20
+40
+63
+ee
+18
+41
+04
+fd
+20
+00
+00
+0d
+20
+40
+63
+f2
+60
+18
+80
+73
+20
+60
+00
+00
+20
+40
+68
+a8
+68
+02
+40
+a0
+60
+02
+4b
+cc
+20
+60
+00
+00
+70
+4c
+cb
+01
+70
+4c
+cd
+00
+68
+00
+cb
+96
+1f
+e1
+7e
+07
+60
+00
+cb
+96
+20
+60
+00
+00
+68
+00
+cb
+96
+79
+20
+7e
+04
+60
+00
+cb
+96
+60
+00
+cb
+51
+20
+60
+00
+00
+68
+00
+cb
+96
+79
+3f
+fe
+04
+60
+00
+cb
+96
+20
+60
+00
+00
+20
+40
+04
+ed
+68
+00
+cc
+cc
+c0
+00
+84
+33
+c0
+01
+04
+37
+20
+60
+00
+00
+70
+4c
+cd
+02
+70
+4c
+c9
+00
+70
+4c
+cb
+00
+20
+20
+04
+21
+70
+4c
+ca
+00
+20
+20
+04
+34
+68
+01
+4b
+9b
+1f
+e0
+fe
+01
+60
+01
+4b
+9b
+c2
+85
+04
+db
+68
+00
+cc
+ca
+c0
+00
+84
+42
+70
+4c
+ca
+01
+68
+00
+cc
+ca
+c0
+80
+84
+21
+68
+00
+cc
+c8
+1f
+e0
+fe
+01
+60
+00
+cc
+c8
+c0
+02
+04
+49
+20
+40
+06
+4a
+70
+4b
+da
+02
+20
+20
+04
+98
+20
+40
+04
+ed
+70
+4c
+c8
+00
+20
+20
+04
+21
+70
+4c
+cd
+02
+70
+4c
+cb
+01
+70
+4c
+ca
+00
+20
+20
+04
+21
+68
+00
+cc
+cc
+c0
+01
+84
+4d
+68
+00
+cb
+96
+2f
+ec
+00
+04
+20
+20
+84
+1f
+68
+00
+cc
+cc
+c0
+00
+84
+4c
+c0
+01
+04
+4d
+20
+60
+00
+00
+68
+00
+cb
+a5
+c1
+ff
+80
+00
+20
+40
+04
+5e
+24
+56
+04
+66
+20
+60
+00
+00
+78
+56
+7c
+00
+68
+00
+cc
+cb
+c1
+80
+80
+00
+68
+00
+cc
+cd
+c1
+80
+00
+00
+70
+4c
+cc
+01
+70
+4b
+da
+04
+20
+20
+7f
+eb
+68
+00
+cc
+cd
+20
+3a
+04
+6e
+1f
+e0
+ff
+ff
+60
+00
+cc
+cd
+70
+4c
+cc
+02
+20
+40
+06
+4a
+70
+4b
+da
+04
+20
+60
+00
+00
+70
+4c
+cc
+03
+68
+00
+cc
+ca
+24
+3a
+04
+40
+20
+40
+06
+4a
+70
+4b
+da
+02
+20
+60
+00
+00
+68
+00
+cb
+a5
+c0
+ff
+85
+34
+20
+40
+04
+7a
+20
+40
+06
+38
+70
+4b
+9a
+01
+20
+60
+00
+00
+68
+01
+4c
+c6
+20
+40
+7f
+9c
+20
+34
+04
+80
+68
+03
+cb
+32
+20
+7a
+00
+00
+20
+20
+7f
+e7
+70
+4b
+c1
+00
+1a
+20
+fe
+01
+60
+00
+cb
+95
+20
+40
+04
+21
+60
+00
+cb
+31
+e8
+a8
+80
+00
+ea
+40
+80
+00
+98
+41
+fe
+00
+e0
+a0
+80
+00
+1a
+40
+a4
+01
+df
+20
+00
+02
+ea
+41
+00
+00
+e0
+a1
+00
+00
+1a
+40
+a4
+02
+c2
+00
+04
+8b
+d8
+a0
+4b
+37
+df
+20
+00
+02
+ea
+40
+80
+00
+e8
+a8
+80
+00
+98
+40
+fe
+00
+e0
+a0
+80
+00
+1a
+40
+a4
+01
+c2
+00
+04
+91
+20
+60
+00
+00
+70
+4b
+9e
+00
+d9
+60
+0d
+00
+34
+73
+02
+00
+20
+40
+04
+b4
+68
+00
+cb
+d1
+c1
+00
+80
+00
+24
+2c
+04
+c3
+24
+37
+84
+c3
+20
+40
+04
+af
+20
+40
+04
+df
+20
+40
+04
+e9
+68
+00
+cb
+94
+1f
+e0
+fe
+01
+60
+00
+cb
+94
+68
+00
+cb
+a5
+c0
+ff
+84
+b2
+20
+40
+04
+50
+58
+00
+00
+00
+60
+01
+4b
+9b
+60
+00
+cb
+9d
+60
+00
+cc
+c9
+70
+4b
+9a
+00
+20
+60
+00
+00
+df
+20
+00
+04
+d8
+a0
+4b
+31
+20
+20
+7e
+c6
+20
+40
+04
+e6
+20
+20
+05
+4f
+78
+57
+fc
+00
+20
+40
+06
+b3
+68
+00
+cb
+d1
+c0
+00
+84
+c1
+18
+00
+2a
+00
+68
+02
+4b
+bd
+98
+00
+12
+00
+68
+08
+80
+17
+20
+40
+29
+1f
+20
+40
+29
+24
+20
+40
+06
+6d
+20
+57
+86
+ab
+20
+60
+00
+00
+20
+40
+06
+ab
+20
+20
+04
+a3
+68
+00
+cb
+9d
+1f
+e0
+fe
+01
+60
+00
+cb
+9d
+68
+00
+cb
+a5
+c0
+ff
+84
+d7
+68
+08
+cb
+9e
+18
+40
+84
+01
+60
+08
+cb
+9e
+68
+00
+cb
+da
+98
+46
+7e
+00
+24
+3a
+04
+99
+68
+00
+cc
+cc
+c0
+01
+84
+39
+68
+00
+cc
+c9
+1f
+e0
+fe
+01
+60
+00
+cc
+c9
+c0
+01
+04
+2e
+20
+40
+04
+25
+70
+4b
+da
+01
+20
+20
+04
+98
+68
+00
+cb
+9d
+c1
+ff
+80
+00
+70
+4b
+9d
+00
+20
+20
+04
+dd
+58
+00
+00
+00
+60
+01
+4b
+9b
+70
+0a
+99
+3a
+20
+20
+7d
+86
+20
+40
+05
+b2
+68
+00
+cb
+93
+20
+7a
+00
+00
+98
+00
+72
+00
+d8
+c0
+4b
+11
+d8
+a0
+4b
+73
+20
+20
+7f
+01
+70
+4c
+d1
+01
+70
+4c
+ce
+00
+20
+60
+00
+00
+68
+00
+cc
+ce
+1f
+e0
+fe
+01
+60
+00
+cc
+ce
+20
+60
+00
+00
+68
+00
+cc
+ce
+1f
+e6
+7c
+02
+24
+41
+04
+f5
+68
+00
+cc
+ce
+c1
+00
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+cc
+ce
+20
+60
+00
+00
+70
+4c
+ce
+03
+20
+60
+00
+00
+68
+01
+46
+82
+c3
+85
+80
+00
+c3
+83
+80
+00
+c3
+83
+00
+00
+da
+20
+4c
+57
+20
+40
+06
+19
+60
+08
+cc
+cf
+28
+0f
+fe
+26
+20
+40
+85
+09
+24
+40
+85
+0d
+98
+46
+7c
+00
+24
+21
+05
+21
+68
+00
+cc
+ce
+1f
+e6
+7c
+02
+24
+21
+05
+11
+68
+00
+cc
+ce
+c0
+00
+05
+22
+20
+60
+00
+00
+58
+00
+00
+82
+20
+60
+00
+00
+58
+00
+00
+77
+20
+60
+00
+00
+58
+00
+00
+80
+20
+60
+00
+00
+58
+00
+00
+75
+20
+60
+00
+00
+68
+00
+cc
+ce
+c1
+90
+00
+00
+70
+4c
+ce
+00
+68
+08
+cc
+cf
+28
+0f
+fe
+26
+20
+40
+85
+0b
+24
+40
+85
+0f
+98
+46
+7c
+00
+24
+61
+00
+00
+68
+00
+cc
+d1
+c0
+00
+05
+29
+1f
+e0
+ff
+ff
+60
+00
+cc
+d1
+c0
+00
+05
+29
+70
+41
+de
+00
+20
+60
+00
+00
+70
+4c
+ce
+00
+68
+00
+cc
+d1
+c0
+01
+05
+27
+1f
+e0
+fe
+01
+60
+00
+cc
+d1
+c0
+00
+85
+1f
+70
+41
+de
+02
+20
+60
+00
+00
+70
+41
+de
+04
+20
+60
+00
+00
+79
+20
+00
+26
+20
+40
+05
+2f
+70
+4b
+a5
+01
+20
+60
+00
+00
+70
+41
+de
+20
+70
+4b
+94
+00
+70
+4b
+9f
+4e
+68
+02
+4b
+a1
+20
+20
+06
+2a
+68
+00
+cb
+9a
+c0
+00
+ff
+e7
+68
+00
+cb
+a5
+c0
+00
+85
+3b
+c0
+01
+05
+3e
+c0
+01
+85
+41
+20
+20
+2a
+8c
+70
+4b
+a5
+11
+70
+11
+9e
+aa
+20
+20
+05
+43
+70
+4b
+a5
+12
+70
+11
+9e
+55
+20
+20
+05
+43
+70
+4b
+a5
+13
+70
+11
+9e
+22
+68
+00
+cb
+96
+1f
+e1
+7e
+07
+60
+00
+91
+9f
+68
+02
+4b
+cc
+60
+02
+11
+a0
+70
+11
+a4
+00
+da
+20
+11
+9e
+d8
+40
+00
+07
+20
+40
+05
+ad
+20
+40
+06
+38
+20
+40
+04
+78
+20
+20
+7f
+e7
+68
+00
+cb
+a5
+c1
+7f
+80
+00
+c0
+08
+85
+55
+c0
+09
+05
+57
+c0
+09
+85
+59
+20
+60
+00
+00
+70
+4b
+a5
+02
+20
+20
+04
+a9
+70
+4b
+a5
+03
+20
+20
+04
+a9
+70
+4b
+a5
+ff
+70
+0a
+99
+39
+20
+40
+7d
+86
+68
+02
+4b
+75
+20
+40
+06
+2a
+20
+20
+04
+a9
+79
+3f
+80
+26
+20
+40
+05
+a3
+68
+00
+cb
+a5
+c1
+ff
+80
+00
+20
+40
+05
+74
+58
+00
+00
+00
+60
+01
+4b
+c2
+20
+40
+2a
+fa
+20
+00
+07
+d0
+68
+00
+cb
+c2
+c0
+7f
+84
+dd
+20
+40
+04
+b4
+24
+2c
+05
+7d
+24
+37
+85
+7d
+79
+20
+00
+26
+58
+00
+00
+00
+60
+01
+4b
+c2
+70
+0a
+99
+3c
+20
+40
+7d
+86
+20
+40
+04
+af
+20
+20
+00
+6b
+70
+11
+9e
+ff
+68
+00
+cb
+96
+60
+00
+91
+9f
+68
+02
+4b
+cc
+60
+02
+11
+a0
+d8
+40
+00
+06
+da
+20
+11
+9e
+20
+40
+05
+ad
+20
+20
+06
+38
+68
+01
+4b
+c2
+1f
+e0
+fe
+01
+60
+01
+4b
+c2
+20
+40
+06
+4a
+20
+20
+05
+66
+79
+3f
+80
+26
+20
+40
+05
+9f
+20
+40
+05
+74
+70
+4b
+c2
+00
+20
+40
+2a
+fa
+20
+00
+07
+d0
+68
+00
+cb
+c2
+c0
+7f
+84
+dd
+20
+40
+04
+b4
+24
+2c
+05
+95
+24
+37
+85
+95
+20
+40
+04
+df
+68
+00
+cc
+4c
+60
+00
+c1
+de
+68
+02
+4b
+bd
+68
+0a
+4b
+a1
+98
+46
+7c
+00
+20
+22
+85
+2b
+20
+20
+05
+6d
+68
+00
+cb
+c2
+1f
+e0
+fe
+01
+60
+00
+cb
+c2
+68
+00
+cc
+d3
+1f
+e0
+fe
+01
+1f
+e1
+7e
+01
+60
+00
+cc
+d3
+c0
+00
+05
+a5
+c0
+00
+85
+a7
+20
+60
+00
+00
+70
+41
+de
+20
+58
+00
+0f
+0f
+60
+01
+4b
+bd
+e0
+a1
+00
+00
+20
+40
+06
+2b
+20
+20
+06
+4a
+20
+40
+05
+9f
+20
+20
+05
+86
+20
+40
+05
+2f
+20
+20
+05
+86
+79
+3f
+80
+26
+20
+40
+53
+ce
+d8
+e0
+00
+03
+20
+20
+43
+d2
+60
+08
+cb
+95
+18
+42
+72
+00
+d8
+a0
+4b
+31
+1a
+22
+0c
+00
+20
+20
+7f
+01
+68
+00
+cb
+10
+1f
+e9
+7e
+00
+60
+00
+cb
+93
+1f
+e0
+fe
+01
+d8
+c0
+4b
+10
+98
+c0
+8c
+00
+e8
+c1
+80
+00
+60
+01
+cb
+d2
+68
+00
+cb
+10
+1f
+e3
+7e
+00
+1f
+e1
+7e
+03
+60
+00
+cb
+d8
+20
+60
+00
+00
+60
+08
+80
+17
+18
+40
+a2
+00
+20
+40
+29
+81
+58
+00
+05
+00
+20
+40
+2a
+8f
+70
+89
+06
+01
+70
+89
+00
+3c
+70
+89
+01
+e0
+20
+00
+00
+0a
+70
+89
+02
+01
+70
+89
+02
+3d
+20
+00
+00
+0a
+70
+89
+03
+b7
+20
+00
+00
+0a
+70
+89
+02
+7d
+68
+00
+c1
+de
+c0
+00
+05
+d4
+c0
+01
+05
+dc
+c0
+02
+05
+e4
+c0
+10
+05
+f6
+20
+20
+05
+d4
+20
+40
+05
+ec
+70
+89
+4b
+ba
+70
+89
+55
+d0
+70
+89
+56
+e0
+70
+89
+57
+88
+70
+89
+58
+6c
+70
+89
+59
+10
+20
+20
+29
+4b
+20
+40
+05
+f1
+70
+89
+4b
+ba
+70
+89
+55
+d0
+70
+89
+56
+e0
+70
+89
+57
+88
+70
+89
+58
+3c
+70
+89
+59
+10
+20
+20
+29
+53
+20
+40
+05
+ec
+70
+89
+4b
+ba
+70
+89
+55
+d0
+70
+89
+56
+c0
+70
+89
+57
+88
+70
+89
+58
+6c
+70
+89
+59
+10
+20
+20
+29
+5b
+70
+89
+4c
+5b
+70
+89
+4d
+96
+70
+89
+4e
+2c
+70
+89
+4f
+46
+20
+60
+00
+00
+70
+89
+4c
+fb
+70
+89
+4d
+ef
+70
+89
+4e
+ec
+70
+89
+4f
+5e
+20
+60
+00
+00
+70
+89
+4b
+ba
+70
+89
+56
+c2
+70
+89
+55
+d0
+20
+60
+00
+00
+18
+00
+2a
+08
+20
+20
+28
+fa
+20
+40
+7f
+e9
+68
+0a
+4b
+b6
+1c
+42
+7e
+00
+98
+46
+7c
+00
+24
+41
+2d
+18
+1f
+e2
+24
+00
+68
+02
+4b
+b6
+68
+08
+cb
+ba
+98
+40
+84
+00
+1a
+42
+7e
+00
+98
+46
+7c
+00
+24
+61
+00
+00
+79
+3f
+fe
+1c
+60
+02
+4b
+b6
+20
+20
+7f
+e7
+20
+40
+29
+bb
+20
+7a
+00
+00
+68
+08
+cc
+4f
+da
+20
+0d
+9e
+20
+40
+06
+12
+60
+08
+cc
+4f
+20
+60
+00
+00
+1a
+22
+7e
+00
+98
+40
+8a
+00
+68
+00
+80
+18
+e0
+a0
+80
+00
+18
+40
+84
+01
+18
+41
+04
+07
+20
+60
+00
+00
+d8
+40
+00
+00
+df
+20
+00
+08
+1a
+22
+0c
+00
+e8
+c0
+80
+00
+98
+40
+84
+00
+c2
+00
+06
+1c
+18
+49
+7e
+00
+1f
+e2
+04
+00
+c6
+93
+00
+00
+1f
+e6
+fc
+0a
+20
+40
+7f
+86
+18
+07
+fe
+00
+1f
+f2
+7e
+00
+18
+07
+04
+00
+98
+41
+84
+00
+20
+60
+00
+00
+20
+60
+00
+00
+60
+02
+4b
+bd
+da
+20
+00
+00
+df
+20
+00
+04
+d8
+c0
+4b
+bd
+e8
+c0
+80
+00
+9a
+20
+a2
+00
+c2
+00
+06
+2e
+1a
+22
+7e
+00
+60
+01
+4c
+46
+68
+00
+cc
+46
+68
+08
+cc
+47
+98
+40
+fe
+00
+60
+00
+cc
+48
+20
+60
+00
+00
+68
+00
+cb
+95
+1f
+e0
+fe
+02
+60
+00
+cb
+97
+68
+00
+cb
+96
+60
+00
+cb
+51
+68
+00
+cb
+95
+1f
+e9
+fe
+00
+68
+08
+cb
+94
+18
+41
+04
+03
+18
+43
+84
+00
+98
+41
+fe
+00
+68
+08
+cb
+d1
+98
+40
+fe
+00
+e0
+a0
+80
+00
+68
+00
+cb
+95
+98
+00
+72
+00
+d8
+c0
+4b
+31
+20
+20
+7f
+01
+68
+08
+cb
+a0
+20
+40
+06
+4e
+60
+08
+cb
+a0
+20
+60
+00
+00
+20
+40
+06
+52
+18
+40
+84
+01
+18
+41
+04
+03
+20
+60
+00
+00
+68
+00
+cb
+bd
+1f
+e1
+7e
+03
+1f
+ef
+a2
+04
+58
+00
+4b
+a6
+9a
+20
+fe
+00
+98
+40
+8c
+00
+e8
+c0
+80
+00
+60
+00
+cb
+9f
+20
+60
+00
+00
+78
+44
+fc
+00
+78
+43
+fc
+00
+58
+55
+55
+55
+98
+00
+1e
+00
+68
+00
+cb
+9f
+1f
+ed
+84
+00
+79
+20
+04
+01
+18
+43
+1c
+00
+20
+60
+00
+00
+20
+40
+53
+c4
+68
+02
+4b
+bd
+98
+00
+12
+00
+20
+40
+29
+18
+68
+08
+cb
+9f
+20
+40
+29
+1f
+58
+00
+05
+00
+20
+40
+2a
+8f
+20
+40
+29
+24
+20
+40
+06
+5b
+78
+57
+fc
+00
+78
+26
+fc
+00
+78
+30
+fc
+00
+78
+50
+7c
+00
+78
+28
+7c
+00
+68
+01
+4b
+98
+98
+00
+36
+00
+37
+c1
+84
+00
+24
+2c
+06
+af
+78
+46
+fc
+00
+78
+25
+fc
+00
+78
+23
+fc
+00
+78
+24
+fc
+00
+09
+80
+00
+08
+19
+89
+7e
+00
+60
+00
+cc
+49
+68
+08
+cc
+48
+98
+46
+7c
+00
+24
+22
+86
+ab
+09
+80
+00
+08
+19
+89
+7e
+00
+60
+00
+cb
+0f
+68
+00
+cb
+db
+1f
+e6
+7c
+02
+20
+22
+86
+8b
+68
+00
+cb
+0f
+68
+08
+cb
+96
+a8
+40
+0e
+00
+24
+20
+86
+ab
+09
+80
+00
+08
+19
+89
+7e
+00
+e0
+a0
+80
+00
+1f
+e9
+7e
+00
+1f
+e1
+72
+1f
+20
+22
+86
+95
+09
+80
+00
+08
+19
+89
+7e
+00
+e0
+a0
+80
+00
+c2
+00
+06
+91
+18
+a2
+22
+00
+09
+80
+00
+08
+19
+89
+7e
+00
+60
+00
+cc
+d0
+1a
+22
+0a
+00
+09
+80
+00
+18
+78
+28
+7c
+00
+db
+60
+06
+64
+1f
+ef
+7e
+00
+1f
+f1
+7e
+00
+e0
+a1
+80
+00
+78
+45
+fc
+00
+20
+23
+06
+ab
+78
+37
+fc
+00
+68
+00
+80
+17
+1f
+e0
+a2
+00
+20
+40
+29
+81
+78
+46
+fc
+00
+20
+40
+29
+18
+68
+00
+cc
+d0
+20
+40
+00
+1b
+20
+60
+00
+00
+78
+4d
+fc
+00
+78
+45
+fc
+00
+20
+40
+26
+4d
+20
+60
+00
+00
+20
+20
+06
+ab
+20
+40
+29
+18
+68
+08
+cb
+9f
+20
+20
+29
+33
+20
+40
+53
+c4
+68
+02
+4b
+bd
+98
+00
+12
+00
+20
+40
+06
+5b
+20
+40
+06
+b0
+79
+20
+2a
+00
+78
+2e
+fc
+00
+78
+30
+7c
+00
+78
+50
+fc
+00
+19
+31
+7e
+00
+1f
+ec
+fe
+00
+1f
+f1
+fe
+00
+08
+00
+86
+28
+78
+4e
+fc
+00
+78
+2d
+fc
+00
+78
+23
+fc
+00
+78
+24
+fc
+00
+68
+00
+cc
+48
+08
+00
+86
+08
+68
+00
+cb
+97
+98
+00
+72
+00
+d8
+c0
+4b
+51
+e8
+c0
+80
+00
+08
+00
+86
+08
+c2
+00
+06
+c9
+78
+24
+7c
+00
+08
+00
+86
+18
+78
+44
+7c
+00
+37
+d3
+82
+00
+20
+00
+00
+64
+78
+4e
+fc
+00
+78
+4d
+fc
+00
+20
+60
+00
+00
+70
+47
+a0
+07
+70
+47
+a1
+04
+58
+00
+47
+a0
+60
+01
+42
+18
+20
+20
+7e
+38
+da
+20
+46
+9a
+20
+40
+7e
+3d
+20
+54
+06
+dd
+20
+60
+00
+00
+68
+00
+c7
+c1
+1f
+e0
+fe
+01
+60
+00
+c7
+c1
+20
+60
+00
+00
+da
+20
+46
+9a
+20
+40
+7e
+54
+20
+34
+06
+e5
+20
+60
+00
+00
+20
+40
+56
+52
+68
+00
+c7
+c1
+1f
+e6
+7c
+01
+24
+41
+56
+50
+68
+00
+c7
+c1
+20
+7a
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+c7
+c1
+20
+20
+3f
+90
+06
+4c
+aa
+55
+08
+00
+75
+41
+8f
+1b
+ca
+00
+0a
+0b
+ef
+07
+aa
+55
+01
+00
+57
+41
+00
+aa
+55
+08
+00
+a1
+00
+00
+00
+00
+00
+00
+00
+00
+00
+aa
+55
+02
+00
+bd
+40
+02
+24
+aa
+55
+08
+00
+ad
+40
+12
+00
+00
+02
+12
+00
+00
+02
+aa
+55
+02
+00
+bb
+40
+20
+00
+aa
+55
+04
+00
+b7
+40
+20
+00
+00
+40
+aa
+55
+04
+00
+bf
+40
+80
+04
+00
+08
+aa
+55
+01
+00
+d2
+4c
+00
+aa
+55
+02
+00
+41
+42
+00
+84
+aa
+55
+01
+00
+de
+41
+00
+aa
+55
+0d
+00
+8f
+47
+4b
+ba
+55
+d0
+56
+e0
+57
+88
+58
+6c
+59
+10
+ff
+aa
+55
+02
+00
+c3
+40
+8f
+47
+aa
+55
+01
+00
+00
+40
+02
+aa
+55
+02
+00
+10
+40
+20
+02
+aa
+55
+03
+00
+14
+40
+02
+01
+06
+aa
+55
+02
+00
+18
+40
+10
+06
+aa
+55
+02
+00
+1c
+40
+48
+1c
+aa
+55
+04
+00
+27
+40
+02
+08
+04
+80
+aa
+55
+03
+00
+2c
+40
+88
+04
+80
+aa
+55
+01
+00
+31
+40
+10
+aa
+55
+01
+00
+92
+40
+42
+aa
+55
+01
+00
+91
+40
+01
+aa
+55
+01
+00
+72
+41
+20
+aa
+55
+01
+00
+c5
+47
+20
+aa
+55
+02
+00
+54
+41
+00
+00
+aa
+55
+02
+00
+d5
+46
+92
+45
+aa
+55
+01
+00
+00
+4b
+08
+aa
+55
+01
+00
+07
+42
+06
+aa
+55
+06
+00
+a0
+40
+26
+10
+19
+20
+18
+10
+aa
+55
+01
+00
+5a
+45
+0a
+aa
+55
+01
+00
+62
+46
+03
+aa
+55
+01
+00
+5a
+46
+01
+aa
+55
+01
+00
+8d
+45
+00
+aa
+55
+01
+00
+5a
+41
+00
+aa
+55
+03
+00
+5b
+46
+03
+00
+04
+aa
+55
+01
+00
+84
+46
+01
+aa
+55
+01
+00
+d1
+40
+01
+aa
+55
+1a
+00
+6f
+43
+1f
+03
+19
+c2
+03
+02
+01
+05
+03
+03
+12
+18
+0d
+09
+42
+54
+20
+35
+2e
+30
+20
+4d
+6f
+75
+73
+65
+aa
+55
+0f
+00
+8f
+43
+1f
+0d
+09
+42
+54
+20
+35
+2e
+30
+20
+4d
+6f
+75
+73
+65
+aa
+55
+0d
+00
+af
+43
+0c
+42
+54
+20
+35
+2e
+30
+20
+4d
+6f
+75
+73
+65
+aa
+55
+08
+00
+96
+44
+07
+00
+07
+00
+20
+00
+2c
+01
+aa
+55
+04
+00
+82
+44
+00
+00
+00
+00
+aa
+55
+01
+00
+8d
+44
+07
+aa
+55
+06
+00
+a0
+44
+8e
+b1
+3a
+0e
+8e
+ed
+aa
+55
+01
+00
+e5
+44
+50
+aa
+55
+02
+00
+6f
+44
+19
+00
+aa
+55
+02
+00
+fa
+44
+22
+00
+aa
+55
+02
+00
+87
+46
+08
+07
+aa
+55
+04
+00
+a8
+46
+50
+00
+70
+17
+aa
+55
+01
+00
+14
+42
+ff
+aa
+55
+01
+00
+86
+46
+ff
+aa
+55
+01
+00
+85
+46
+1e
+aa
+55
+01
+00
+d2
+46
+02
+aa
+55
+01
+00
+03
+47
+02
+aa
+55
+02
+00
+2d
+42
+02
+32
+aa
+55
+06
+00
+09
+47
+96
+00
+5a
+00
+64
+00
+aa
+55
+19
+00
+e0
+46
+00
+02
+06
+08
+04
+06
+04
+08
+1b
+1c
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+03
+ff
+04
+00
+ff
+ff
+aa
+55
+01
+00
+05
+4b
+85
+aa
+55
+01
+00
+0b
+4b
+05
+aa
+55
+01
+00
+3a
+42
+14
+aa
+55
+01
+00
+dc
+46
+ff
+aa
+55
+01
+00
+a5
+46
+07
+aa
+55
+01
+00
+6c
+0c
+ff
+aa
+55
+01
+00
+fd
+46
+19
+aa
+55
+01
+00
+f5
+46
+04
+aa
+55
+0c
+00
+7f
+47
+01
+02
+03
+04
+20
+2a
+22
+2a
+04
+05
+07
+08
+aa
+55
+01
+00
+01
+4b
+00
+aa
+55
+02
+00
+1b
+42
+13
+47
+aa
+55
+01
+00
+1a
+42
+01
+aa
+55
+40
+00
+c6
+47
+25
+00
+02
+03
+28
+01
+12
+26
+00
+02
+4d
+2a
+07
+00
+00
+00
+00
+00
+00
+00
+27
+00
+02
+02
+29
+02
+00
+00
+28
+00
+02
+08
+29
+02
+11
+01
+29
+00
+02
+03
+28
+01
+0e
+2a
+00
+02
+4d
+2a
+07
+00
+00
+00
+00
+00
+00
+00
+2b
+00
+02
+08
+29
+02
+11
+02
+aa
+55
+01
+00
+db
+4b
+01
+aa
+55
+01
+00
+96
+4b
+01
+aa
+55
+01
+00
+da
+4b
+04
+aa
+55
+01
+00
+d1
+4b
+00
+aa
+55
+02
+00
+98
+4b
+c0
+12
+aa
+55
+03
+00
+ba
+4b
+19
+19
+1c
+aa
+55
+10
+00
+a6
+4b
+00
+13
+2c
+42
+06
+15
+36
+48
+0f
+1a
+3a
+4c
+11
+23
+31
+4d
+aa
+55
+01
+00
+a5
+4b
+ff
+aa
+55
+04
+00
+a1
+4b
+20
+15
+10
+05
+aa
+55
+0a
+00
+9e
+11
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+aa
+55
+08
+00
+c4
+4b
+00
+48
+60
+00
+00
+00
+00
+00
+aa
+55
+08
+00
+20
+47
+01
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+aa
+55
+07
+00
+3e
+47
+34
+11
+22
+33
+44
+55
+66
+aa
+55
+07
+00
+5b
+47
+34
+11
+22
+33
+44
+55
+66
+aa
+55
+03
+00
+00
+47
+00
+70
+00
+aa
+55
+02
+00
+03
+42
+90
+1f
+aa
+55
+01
+00
+11
+42
+80
+aa
+55
+01
+00
+1f
+47
+00
+aa
+55
+01
+00
+db
+46
+01
+aa
+55
+01
+00
+8e
+47
+03
+85
+c7
Index: HS_24G&BLE_Motion/output/hs_1225_dpiled_eeprom.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/hs_1225_dpiled_eeprom.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/hs_1225_dpiled_eeprom.dat	(working copy)
@@ -0,0 +1,7973 @@
+00
+02
+aa
+55
+76
+1b
+c2
+84
+00
+11
+c0
+42
+85
+e9
+c0
+44
+85
+ae
+c0
+00
+80
+25
+c0
+50
+80
+2e
+c0
+54
+00
+33
+c0
+58
+80
+36
+c0
+59
+00
+3e
+c0
+62
+00
+b8
+c0
+64
+81
+2c
+c0
+65
+01
+30
+c0
+71
+82
+e9
+c0
+73
+02
+a8
+c0
+75
+03
+2f
+c0
+75
+83
+3d
+c0
+76
+03
+68
+20
+20
+2a
+8e
+c0
+1c
+83
+6d
+c0
+21
+83
+75
+c0
+25
+03
+7b
+c0
+2b
+83
+7e
+c0
+31
+83
+90
+c0
+33
+83
+ba
+c0
+35
+03
+e3
+c0
+3b
+83
+ee
+c0
+46
+03
+fe
+20
+20
+2a
+8e
+1f
+e2
+22
+00
+68
+08
+cc
+50
+58
+00
+4c
+57
+98
+40
+8a
+00
+1a
+22
+7e
+00
+e0
+a0
+80
+00
+18
+40
+84
+01
+18
+41
+04
+07
+60
+08
+cc
+50
+20
+60
+00
+00
+d8
+a0
+09
+ae
+df
+20
+00
+0c
+20
+40
+7e
+d4
+20
+40
+00
+ac
+20
+40
+6a
+03
+20
+40
+5c
+f6
+24
+55
+ac
+65
+20
+40
+7c
+cd
+20
+20
+20
+0c
+58
+00
+0a
+06
+60
+01
+c5
+10
+58
+00
+1d
+87
+60
+01
+45
+13
+20
+20
+2a
+a2
+68
+00
+c8
+06
+24
+7a
+00
+00
+20
+20
+2b
+7f
+c6
+13
+00
+00
+68
+00
+c7
+9c
+c0
+00
+7f
+ef
+68
+00
+c7
+c4
+c0
+00
+ff
+ef
+68
+01
+42
+48
+24
+3a
+7f
+ef
+20
+20
+7f
+f1
+c6
+93
+00
+00
+68
+00
+cc
+d5
+c0
+00
+80
+53
+20
+40
+04
+63
+24
+34
+00
+6e
+20
+40
+04
+48
+20
+40
+04
+87
+68
+00
+cb
+a5
+c1
+ff
+80
+00
+20
+40
+04
+e6
+68
+00
+cc
+d5
+c1
+00
+80
+00
+20
+40
+2a
+fa
+68
+01
+c1
+6f
+20
+7a
+00
+00
+68
+00
+c0
+91
+20
+7a
+00
+00
+20
+40
+00
+93
+20
+40
+00
+90
+58
+00
+ec
+54
+20
+20
+2b
+93
+20
+40
+05
+eb
+24
+74
+00
+00
+20
+40
+00
+65
+68
+00
+cc
+d6
+1f
+e0
+fe
+01
+60
+00
+cc
+d6
+1f
+e6
+7c
+19
+20
+42
+80
+5c
+20
+20
+00
+41
+70
+4c
+d5
+00
+70
+4c
+d6
+00
+70
+4b
+d0
+00
+68
+00
+cb
+bb
+60
+00
+cb
+ba
+20
+60
+00
+00
+68
+00
+cb
+bc
+60
+00
+cb
+ba
+20
+60
+00
+00
+68
+00
+cb
+d0
+1f
+e0
+fe
+01
+60
+00
+cb
+d0
+c0
+02
+00
+62
+c0
+02
+80
+5e
+20
+60
+00
+00
+70
+4c
+d5
+01
+70
+4c
+d6
+00
+20
+60
+00
+00
+68
+00
+cb
+c1
+20
+5a
+00
+7a
+20
+40
+2a
+fa
+68
+01
+c1
+6f
+20
+7a
+00
+00
+68
+00
+c0
+91
+20
+7a
+00
+00
+20
+40
+00
+93
+68
+04
+4b
+c4
+20
+40
+7f
+49
+60
+0a
+41
+5b
+20
+20
+2b
+2a
+70
+4b
+c1
+01
+70
+4c
+ca
+00
+20
+40
+04
+10
+60
+00
+cb
+31
+58
+00
+00
+00
+60
+03
+cb
+32
+68
+02
+4b
+cc
+60
+02
+4b
+39
+70
+4b
+95
+0c
+68
+00
+cb
+96
+79
+20
+7e
+03
+60
+00
+cb
+96
+20
+40
+06
+27
+20
+40
+04
+67
+20
+20
+00
+44
+c6
+13
+00
+00
+20
+40
+00
+9f
+20
+40
+00
+93
+68
+00
+c0
+40
+c3
+00
+00
+90
+68
+00
+80
+a0
+24
+7a
+00
+00
+58
+00
+00
+00
+60
+04
+00
+a1
+20
+60
+00
+00
+20
+40
+00
+9c
+20
+40
+00
+90
+20
+40
+3e
+bf
+68
+12
+00
+70
+68
+1a
+00
+78
+98
+41
+84
+00
+18
+44
+04
+00
+60
+1a
+00
+7c
+20
+60
+00
+00
+68
+00
+cb
+03
+20
+7a
+00
+00
+20
+20
+02
+ea
+d8
+c0
+18
+00
+d8
+a0
+48
+0a
+20
+40
+00
+aa
+d8
+c0
+19
+00
+d8
+a0
+48
+25
+20
+40
+00
+aa
+d8
+c0
+1a
+00
+d8
+a0
+48
+40
+20
+40
+00
+aa
+d8
+c0
+1b
+00
+d8
+a0
+48
+5b
+df
+20
+00
+1b
+20
+20
+7f
+01
+d8
+c0
+48
+0a
+d8
+a0
+18
+00
+20
+40
+00
+aa
+d8
+c0
+48
+25
+d8
+a0
+19
+00
+20
+40
+00
+aa
+d8
+c0
+48
+40
+d8
+a0
+1a
+00
+20
+40
+00
+aa
+d8
+c0
+48
+5b
+d8
+a0
+1b
+00
+20
+20
+00
+aa
+20
+40
+34
+16
+20
+35
+80
+c2
+70
+80
+78
+20
+20
+40
+06
+c3
+68
+00
+c1
+de
+60
+00
+cc
+4c
+20
+40
+04
+d5
+68
+00
+c6
+85
+60
+00
+c6
+da
+20
+40
+43
+ca
+20
+40
+00
+c4
+20
+20
+74
+b9
+24
+55
+81
+12
+20
+40
+00
+f1
+20
+75
+80
+00
+20
+40
+01
+4d
+20
+40
+02
+b2
+c0
+02
+80
+df
+20
+20
+01
+34
+68
+00
+cc
+4c
+60
+00
+c1
+de
+68
+00
+c2
+10
+c0
+1a
+00
+d0
+20
+60
+00
+00
+70
+47
+9f
+01
+68
+01
+46
+a8
+60
+01
+46
+ae
+20
+40
+34
+18
+20
+40
+00
+d8
+58
+00
+00
+04
+e0
+c0
+80
+00
+20
+20
+7d
+f4
+da
+20
+43
+70
+ea
+20
+80
+00
+20
+7a
+00
+00
+98
+c0
+a2
+00
+e8
+c0
+80
+00
+c1
+00
+80
+00
+20
+20
+00
+d9
+68
+02
+46
+d3
+c4
+08
+80
+00
+c3
+81
+80
+00
+c6
+13
+00
+00
+20
+40
+44
+82
+d8
+e0
+00
+03
+20
+40
+43
+ce
+58
+00
+00
+00
+60
+01
+46
+ae
+60
+00
+c6
+b4
+60
+01
+4b
+c2
+20
+40
+42
+ca
+20
+20
+05
+1a
+68
+02
+46
+d3
+c3
+0a
+3d
+66
+68
+00
+c7
+7a
+c0
+7f
+bd
+66
+20
+20
+3d
+80
+70
+42
+12
+76
+20
+20
+3d
+36
+20
+40
+00
+f1
+20
+40
+40
+c0
+68
+00
+c6
+e0
+c0
+02
+c0
+d5
+20
+40
+40
+d9
+c0
+18
+01
+01
+c0
+18
+81
+03
+20
+40
+40
+d1
+20
+00
+03
+e8
+20
+20
+00
+f7
+70
+4b
+03
+01
+20
+40
+64
+0f
+20
+40
+00
+f3
+20
+20
+64
+11
+20
+40
+01
+08
+20
+20
+40
+e0
+20
+40
+01
+08
+68
+00
+c6
+de
+c0
+38
+40
+e8
+70
+46
+e0
+01
+20
+60
+00
+00
+58
+00
+80
+06
+20
+40
+64
+13
+20
+00
+2e
+e0
+20
+20
+00
+ec
+58
+00
+00
+06
+20
+40
+64
+14
+1f
+e1
+fe
+08
+1f
+ed
+7e
+00
+1f
+e0
+fe
+06
+20
+20
+64
+13
+20
+40
+04
+0a
+68
+10
+8a
+00
+79
+3f
+fe
+04
+60
+10
+8a
+00
+20
+40
+3e
+6e
+20
+40
+02
+08
+20
+40
+3e
+1e
+58
+00
+00
+00
+60
+01
+41
+54
+20
+40
+3e
+54
+20
+40
+58
+10
+20
+40
+58
+39
+20
+40
+58
+2c
+20
+40
+58
+18
+20
+40
+65
+9c
+68
+02
+46
+d3
+2f
+ef
+fe
+19
+24
+40
+e5
+c2
+20
+40
+44
+3f
+20
+40
+01
+28
+20
+40
+01
+c5
+20
+20
+65
+df
+20
+40
+33
+c4
+20
+22
+c3
+16
+20
+40
+03
+35
+20
+20
+3d
+cb
+d8
+40
+00
+02
+da
+20
+0a
+aa
+da
+40
+00
+62
+20
+20
+65
+d1
+d8
+40
+00
+02
+da
+20
+0a
+9a
+da
+40
+00
+62
+20
+20
+33
+c8
+68
+02
+46
+d3
+c3
+0f
+01
+3b
+68
+00
+8a
+bd
+2f
+ec
+00
+03
+24
+20
+81
+3b
+20
+40
+00
+f3
+20
+40
+01
+0c
+68
+00
+c7
+1f
+60
+00
+c7
+1e
+68
+00
+c6
+f5
+c3
+83
+00
+00
+68
+02
+46
+d3
+c4
+08
+80
+00
+20
+40
+01
+44
+20
+34
+05
+71
+20
+20
+05
+4e
+df
+20
+00
+02
+d8
+c0
+4b
+bd
+20
+40
+7f
+e7
+58
+00
+ff
+ff
+e8
+c9
+00
+00
+98
+46
+7c
+00
+24
+42
+ff
+e9
+c2
+00
+01
+48
+20
+60
+00
+00
+58
+00
+01
+60
+60
+01
+4c
+c6
+58
+00
+01
+64
+60
+01
+41
+ef
+58
+00
+03
+f8
+60
+01
+41
+f9
+58
+00
+00
+89
+60
+01
+41
+ed
+58
+00
+01
+8c
+60
+01
+41
+f5
+58
+00
+01
+79
+60
+01
+41
+f3
+58
+00
+01
+dc
+60
+01
+41
+eb
+58
+00
+01
+ea
+60
+01
+41
+fd
+58
+00
+3d
+36
+60
+01
+42
+01
+20
+60
+00
+00
+20
+40
+44
+01
+68
+01
+46
+9f
+20
+7a
+00
+00
+20
+20
+00
+6b
+20
+40
+58
+92
+24
+7a
+00
+00
+68
+00
+c6
+c5
+1f
+e1
+7e
+03
+c1
+81
+80
+00
+68
+00
+c7
+9c
+20
+5a
+01
+76
+68
+02
+46
+d3
+c2
+82
+c1
+79
+20
+40
+3f
+97
+24
+74
+00
+00
+20
+40
+01
+71
+20
+20
+06
+c8
+68
+01
+46
+9f
+20
+7a
+00
+00
+70
+48
+06
+01
+70
+48
+07
+02
+20
+60
+00
+00
+20
+40
+58
+14
+70
+47
+9c
+01
+20
+20
+01
+08
+20
+40
+7e
+34
+20
+40
+01
+7c
+20
+20
+3e
+e0
+68
+08
+c6
+e7
+20
+40
+02
+db
+68
+08
+c6
+e7
+20
+40
+68
+1d
+20
+20
+81
+8a
+20
+40
+02
+e4
+68
+00
+c6
+b6
+c1
+00
+00
+00
+70
+46
+b6
+00
+68
+00
+c7
+7a
+1f
+e0
+fe
+01
+1f
+e1
+7e
+03
+60
+00
+c7
+7a
+20
+20
+3d
+74
+20
+40
+02
+e4
+20
+20
+3d
+62
+1a
+62
+7e
+00
+c0
+0a
+01
+96
+c0
+0a
+81
+99
+c0
+14
+81
+a2
+c0
+19
+01
+a4
+c0
+20
+01
+ab
+c0
+1c
+81
+b6
+c0
+1d
+01
+c9
+c0
+1e
+01
+da
+20
+20
+41
+7d
+20
+40
+00
+fd
+20
+40
+06
+c3
+20
+20
+41
+c3
+20
+40
+01
+e6
+58
+00
+00
+07
+60
+01
+44
+96
+60
+01
+44
+98
+70
+47
+c4
+00
+70
+47
+9c
+00
+20
+40
+06
+c3
+20
+40
+58
+16
+20
+20
+41
+d9
+70
+0a
+99
+12
+20
+20
+7d
+8f
+68
+00
+c7
+9f
+c0
+00
+81
+a7
+20
+20
+01
+a9
+20
+40
+01
+a2
+70
+46
+c6
+14
+d8
+e0
+00
+01
+20
+20
+41
+b9
+68
+01
+45
+09
+c1
+00
+00
+00
+68
+00
+84
+41
+1f
+eb
+7e
+00
+1f
+e6
+7c
+0c
+20
+61
+00
+00
+58
+00
+00
+09
+60
+01
+44
+96
+60
+01
+44
+98
+20
+40
+01
+a2
+20
+20
+03
+84
+20
+40
+00
+fd
+70
+47
+8b
+01
+d8
+e0
+00
+03
+20
+40
+43
+d2
+58
+00
+00
+00
+60
+01
+47
+07
+70
+46
+a7
+00
+68
+00
+c6
+e0
+1f
+e6
+7c
+05
+20
+42
+c0
+39
+24
+42
+c0
+5d
+68
+00
+cc
+4c
+60
+00
+c1
+de
+20
+40
+01
+c5
+20
+20
+65
+d1
+da
+20
+4b
+bd
+da
+40
+00
+5b
+d8
+40
+00
+04
+20
+60
+00
+00
+20
+40
+01
+e6
+70
+4c
+d5
+00
+68
+00
+cc
+4c
+60
+00
+c1
+de
+20
+40
+05
+98
+68
+00
+cb
+00
+c2
+80
+01
+d7
+70
+41
+bd
+00
+20
+40
+43
+16
+df
+20
+00
+03
+d8
+c0
+47
+22
+20
+40
+01
+46
+20
+34
+01
+d7
+20
+20
+00
+cb
+70
+47
+9d
+01
+70
+47
+9e
+28
+20
+60
+00
+00
+20
+40
+00
+fd
+20
+20
+3f
+8d
+78
+34
+7c
+00
+68
+12
+01
+38
+79
+34
+7e
+1a
+60
+12
+00
+4c
+20
+40
+2c
+21
+20
+40
+01
+e6
+20
+40
+74
+bd
+20
+40
+44
+82
+20
+40
+3e
+9f
+20
+20
+3e
+bf
+68
+00
+cb
+03
+20
+7a
+00
+00
+70
+4b
+03
+00
+20
+20
+01
+0c
+20
+40
+02
+5d
+20
+40
+02
+97
+20
+40
+02
+2d
+20
+40
+02
+30
+20
+40
+01
+f6
+20
+40
+02
+54
+20
+40
+02
+38
+20
+40
+42
+31
+20
+40
+42
+34
+20
+40
+42
+37
+20
+40
+42
+3a
+20
+20
+02
+35
+68
+00
+cb
+04
+20
+7a
+00
+00
+68
+00
+cb
+0a
+1f
+e0
+ff
+ff
+60
+00
+cb
+0a
+24
+7a
+00
+00
+68
+00
+cb
+0b
+60
+00
+cb
+0a
+68
+00
+cb
+0d
+20
+3a
+02
+04
+68
+00
+cb
+0c
+20
+3a
+02
+0e
+1f
+e0
+ff
+ff
+60
+00
+cb
+0c
+68
+00
+cb
+06
+c0
+00
+82
+11
+c0
+00
+02
+0a
+20
+60
+00
+00
+68
+08
+cb
+05
+20
+20
+68
+0e
+70
+4b
+06
+01
+20
+40
+02
+08
+68
+08
+cb
+05
+20
+20
+68
+29
+70
+4b
+0a
+00
+70
+4b
+0c
+00
+70
+4b
+0d
+00
+68
+00
+cb
+0c
+24
+3a
+02
+15
+70
+4b
+04
+00
+70
+4b
+07
+00
+70
+4b
+08
+00
+70
+4b
+06
+00
+68
+08
+cb
+05
+20
+40
+68
+25
+68
+10
+80
+7c
+79
+20
+7e
+05
+60
+10
+80
+7c
+20
+60
+00
+00
+70
+4b
+0a
+01
+70
+4b
+0b
+05
+70
+4b
+0d
+00
+70
+4b
+0c
+01
+70
+4b
+04
+01
+70
+4b
+07
+01
+20
+60
+00
+00
+68
+00
+cb
+08
+24
+7a
+00
+00
+68
+00
+cb
+0e
+24
+7a
+00
+00
+20
+20
+02
+0e
+70
+4b
+0a
+01
+70
+4b
+0b
+03
+70
+4b
+0d
+01
+20
+20
+02
+21
+da
+60
+48
+09
+da
+40
+63
+7a
+20
+20
+33
+6d
+da
+60
+48
+07
+da
+40
+02
+33
+20
+20
+33
+6d
+70
+48
+06
+00
+20
+60
+00
+00
+da
+60
+46
+c6
+da
+40
+3d
+60
+20
+20
+33
+6d
+68
+00
+c6
+f5
+c2
+82
+43
+94
+20
+40
+02
+b2
+c0
+03
+82
+44
+68
+00
+c6
+85
+60
+00
+c6
+da
+68
+00
+c6
+db
+c1
+00
+80
+00
+70
+46
+db
+01
+d8
+e0
+00
+09
+20
+40
+43
+d2
+20
+20
+43
+ca
+70
+47
+9e
+28
+20
+40
+02
+47
+20
+20
+43
+b0
+da
+60
+46
+da
+da
+40
+02
+4a
+20
+20
+33
+6d
+20
+40
+01
+e6
+68
+01
+46
+82
+2f
+ef
+fe
+0b
+20
+40
+c2
+d4
+68
+01
+46
+82
+2f
+ef
+fe
+07
+20
+40
+c3
+92
+d8
+e0
+00
+09
+20
+40
+43
+ce
+20
+20
+43
+b8
+68
+00
+c7
+9d
+20
+7a
+00
+00
+68
+00
+c7
+9e
+20
+3a
+02
+5b
+1f
+e0
+ff
+ff
+60
+00
+c7
+9e
+20
+60
+00
+00
+70
+47
+9d
+00
+20
+20
+34
+0a
+68
+02
+46
+d3
+c4
+0d
+00
+00
+68
+00
+cb
+0c
+24
+7a
+00
+00
+68
+00
+cb
+08
+24
+7a
+00
+00
+68
+00
+c6
+ce
+1f
+e0
+fe
+01
+60
+00
+c6
+ce
+1f
+e6
+7c
+0a
+20
+61
+00
+00
+70
+46
+ce
+00
+20
+40
+02
+78
+20
+40
+69
+08
+60
+01
+47
+0f
+da
+20
+47
+09
+20
+40
+02
+85
+68
+00
+c2
+31
+c2
+80
+b4
+0a
+c3
+00
+02
+73
+70
+4b
+02
+01
+20
+20
+43
+e7
+20
+40
+43
+e9
+68
+00
+cb
+02
+20
+7a
+00
+00
+70
+4b
+02
+00
+20
+20
+02
+11
+68
+00
+c2
+2d
+c0
+01
+02
+7b
+20
+20
+68
+ec
+68
+08
+cb
+05
+20
+40
+67
+fb
+68
+10
+80
+7c
+79
+3f
+fe
+05
+60
+10
+80
+7c
+68
+10
+80
+78
+79
+3f
+fe
+05
+60
+10
+80
+78
+20
+40
+68
+f4
+20
+60
+00
+00
+ea
+24
+00
+00
+60
+04
+0a
+9a
+68
+09
+0a
+9c
+68
+01
+0a
+a0
+1f
+ef
+fe
+07
+1f
+e6
+fc
+04
+20
+40
+7f
+86
+18
+07
+fe
+00
+1f
+e0
+ff
+f6
+98
+46
+7c
+00
+24
+21
+69
+44
+68
+09
+0a
+9e
+98
+46
+7c
+00
+24
+21
+69
+40
+68
+00
+c2
+31
+79
+3f
+fe
+00
+60
+00
+c2
+31
+20
+60
+00
+00
+68
+02
+46
+d3
+c4
+02
+00
+00
+68
+00
+cb
+0c
+24
+7a
+00
+00
+68
+00
+cb
+08
+24
+7a
+00
+00
+68
+00
+c6
+cf
+1f
+e0
+fe
+01
+60
+00
+c6
+cf
+1f
+e6
+7c
+14
+24
+41
+02
+a6
+68
+00
+c6
+cf
+1f
+e6
+7c
+0a
+20
+21
+02
+0a
+20
+20
+02
+11
+70
+46
+cf
+01
+20
+60
+00
+00
+78
+54
+7c
+00
+58
+00
+00
+00
+60
+03
+46
+9b
+20
+40
+3f
+b5
+20
+40
+40
+79
+20
+40
+40
+7e
+20
+40
+02
+b0
+20
+20
+3f
+9f
+20
+40
+02
+b2
+20
+20
+40
+9a
+da
+20
+00
+00
+20
+40
+02
+bd
+20
+40
+02
+c3
+20
+40
+02
+c9
+20
+40
+02
+b9
+1a
+22
+7e
+00
+20
+60
+00
+00
+68
+00
+c6
+e5
+c1
+7f
+80
+00
+20
+40
+02
+cf
+20
+20
+02
+d5
+68
+08
+c6
+e2
+20
+40
+02
+e4
+68
+08
+c6
+e2
+20
+40
+68
+1d
+79
+20
+a2
+00
+20
+60
+00
+00
+68
+08
+c6
+e3
+20
+40
+02
+e4
+68
+08
+c6
+e3
+20
+40
+68
+1d
+79
+20
+a2
+01
+20
+60
+00
+00
+68
+08
+c6
+e4
+20
+40
+02
+e4
+68
+08
+c6
+e4
+20
+40
+68
+1d
+79
+20
+a2
+02
+20
+60
+00
+00
+68
+08
+c6
+e5
+20
+40
+02
+db
+68
+08
+c6
+e5
+20
+40
+68
+1d
+7d
+20
+a2
+03
+20
+20
+02
+e4
+68
+08
+c6
+e6
+20
+40
+02
+db
+68
+08
+c6
+e6
+20
+40
+68
+1d
+7d
+20
+a2
+04
+20
+20
+02
+e4
+79
+3f
+84
+07
+d8
+a0
+80
+78
+20
+40
+68
+30
+79
+20
+04
+07
+d8
+a0
+80
+7c
+20
+40
+68
+30
+79
+3f
+84
+07
+d8
+a0
+80
+70
+20
+20
+68
+30
+79
+20
+04
+07
+d8
+a0
+80
+78
+20
+40
+68
+30
+79
+3f
+84
+07
+20
+20
+02
+df
+20
+40
+03
+29
+68
+00
+c6
+e0
+c0
+02
+bd
+aa
+c0
+02
+3d
+96
+c0
+03
+03
+00
+c0
+01
+83
+00
+68
+00
+c7
+7a
+1f
+e6
+7c
+01
+20
+42
+82
+f8
+68
+00
+c7
+7a
+c0
+00
+02
+fa
+c0
+00
+bd
+88
+c0
+01
+02
+fc
+c0
+01
+82
+fe
+20
+20
+02
+fc
+70
+47
+7a
+02
+20
+60
+00
+00
+70
+4b
+01
+01
+20
+20
+3d
+8a
+70
+4b
+01
+02
+20
+20
+3d
+8c
+70
+4b
+01
+03
+20
+20
+3d
+8e
+68
+00
+c7
+7a
+1f
+e6
+7c
+01
+20
+42
+83
+09
+68
+00
+c7
+7a
+c0
+00
+03
+0b
+c0
+00
+83
+0f
+c0
+01
+03
+12
+c0
+01
+83
+16
+20
+20
+03
+12
+70
+47
+7a
+02
+20
+60
+00
+00
+70
+4b
+01
+01
+68
+00
+c7
+7f
+1f
+e0
+ff
+ff
+20
+20
+3d
+be
+68
+00
+c7
+80
+1f
+e0
+ff
+ff
+20
+20
+3d
+be
+70
+4b
+01
+02
+68
+00
+c7
+81
+1f
+e0
+ff
+ff
+20
+20
+3d
+be
+70
+4b
+01
+03
+68
+00
+c7
+82
+1f
+e0
+ff
+ff
+20
+20
+3d
+be
+68
+00
+c7
+7a
+1f
+e6
+7c
+01
+20
+42
+82
+f8
+68
+00
+c7
+7a
+c0
+00
+3d
+9d
+c0
+00
+bd
+9b
+c0
+01
+3d
+9f
+c0
+01
+bd
+a1
+20
+20
+3d
+9f
+70
+4b
+01
+01
+20
+20
+3d
+9d
+70
+4b
+01
+02
+20
+20
+3d
+9f
+70
+4b
+01
+03
+20
+20
+3d
+a1
+68
+02
+46
+d3
+c4
+0b
+80
+00
+70
+46
+df
+0a
+68
+00
+c6
+f4
+60
+00
+c7
+15
+20
+60
+00
+00
+70
+47
+9d
+00
+70
+47
+9e
+00
+c5
+13
+03
+33
+20
+20
+42
+6d
+20
+40
+05
+98
+20
+20
+42
+6d
+20
+40
+68
+a2
+68
+01
+42
+1d
+20
+3a
+03
+3a
+60
+01
+47
+c2
+20
+20
+03
+5b
+58
+00
+11
+22
+60
+01
+47
+c2
+20
+20
+03
+39
+68
+00
+cc
+4c
+60
+00
+c1
+de
+70
+47
+9c
+00
+68
+01
+46
+82
+c2
+85
+83
+4c
+68
+02
+46
+d3
+c3
+0c
+03
+4c
+20
+40
+03
+5f
+68
+09
+47
+c2
+18
+40
+84
+01
+60
+09
+47
+c2
+60
+09
+44
+a1
+20
+40
+03
+5b
+18
+0a
+7e
+00
+60
+00
+c4
+a0
+20
+40
+34
+18
+68
+01
+46
+87
+60
+01
+46
+ac
+70
+01
+6d
+06
+58
+00
+00
+00
+60
+01
+46
+b0
+60
+01
+46
+ae
+d8
+e0
+00
+07
+20
+40
+43
+ce
+20
+40
+43
+ca
+68
+00
+c0
+92
+2f
+ef
+fe
+01
+20
+40
+83
+63
+20
+40
+42
+c4
+20
+20
+02
+1d
+d8
+40
+00
+02
+da
+20
+47
+c2
+da
+40
+00
+5f
+20
+20
+65
+d1
+d8
+40
+00
+02
+da
+20
+47
+c2
+da
+40
+00
+5f
+20
+20
+65
+df
+70
+47
+9f
+00
+20
+40
+00
+d8
+58
+00
+00
+05
+e0
+c0
+80
+00
+20
+20
+7d
+f4
+20
+40
+02
+24
+58
+00
+00
+00
+60
+01
+46
+ac
+20
+40
+01
+08
+20
+20
+42
+cb
+68
+00
+c5
+0f
+1f
+e0
+fe
+01
+60
+00
+c5
+0f
+c0
+06
+53
+95
+20
+40
+55
+aa
+20
+40
+56
+1e
+20
+40
+04
+e6
+20
+20
+53
+8f
+68
+00
+80
+16
+1f
+e0
+fe
+01
+60
+00
+80
+16
+c1
+94
+00
+00
+70
+00
+16
+25
+20
+60
+00
+00
+20
+40
+29
+bb
+20
+40
+00
+1b
+20
+20
+54
+a3
+20
+40
+03
+86
+20
+20
+55
+7d
+68
+00
+c7
+c5
+60
+00
+c1
+72
+70
+47
+c4
+00
+20
+60
+00
+00
+70
+47
+c4
+01
+20
+60
+00
+00
+68
+00
+c3
+d6
+1f
+e6
+7c
+0c
+24
+21
+03
+84
+68
+00
+c3
+d8
+68
+08
+c7
+c5
+98
+46
+7c
+00
+20
+21
+03
+80
+68
+00
+c3
+d8
+60
+00
+c1
+72
+20
+20
+03
+82
+68
+00
+84
+56
+c2
+82
+83
+a4
+20
+40
+04
+d8
+68
+00
+c7
+8e
+24
+3a
+03
+9a
+68
+00
+84
+3f
+c3
+02
+03
+9e
+68
+00
+82
+da
+20
+3a
+03
+9e
+20
+20
+56
+64
+68
+00
+c7
+8e
+1f
+e0
+ff
+ff
+60
+00
+c7
+8e
+20
+20
+56
+64
+68
+00
+c4
+c4
+c0
+82
+83
+a1
+70
+47
+8e
+03
+20
+40
+58
+92
+20
+5a
+06
+d0
+20
+20
+56
+22
+20
+40
+03
+a6
+20
+20
+03
+b2
+68
+00
+c6
+c5
+1f
+e1
+7e
+03
+c1
+81
+80
+00
+68
+00
+c7
+c1
+20
+7a
+00
+00
+68
+00
+c3
+dd
+20
+7a
+00
+00
+68
+00
+c3
+dc
+79
+20
+7e
+04
+60
+00
+c3
+dc
+20
+40
+56
+50
+20
+60
+00
+00
+20
+20
+04
+dc
+68
+00
+c7
+9f
+20
+7a
+00
+00
+68
+00
+c6
+c5
+1f
+e1
+7e
+03
+c1
+01
+80
+00
+70
+46
+c6
+0a
+20
+60
+00
+00
+e8
+c1
+00
+00
+c0
+02
+03
+be
+c0
+03
+03
+db
+20
+20
+56
+98
+20
+40
+7e
+a5
+20
+40
+03
+b3
+20
+40
+7e
+9f
+e8
+c1
+80
+00
+60
+01
+84
+77
+c0
+08
+03
+cd
+1f
+ec
+84
+00
+18
+46
+7c
+24
+20
+21
+58
+ad
+d8
+40
+47
+c6
+60
+09
+44
+bc
+20
+40
+58
+ad
+58
+00
+8e
+7a
+60
+01
+44
+bc
+20
+60
+00
+00
+20
+40
+59
+fa
+20
+40
+58
+79
+18
+c0
+8c
+07
+e8
+c0
+80
+00
+c1
+88
+80
+00
+18
+c0
+8c
+05
+e8
+c1
+00
+00
+d8
+40
+18
+12
+98
+46
+7c
+00
+24
+62
+80
+00
+18
+c0
+8d
+fc
+58
+00
+00
+2b
+e0
+c1
+00
+00
+20
+60
+00
+00
+e8
+c0
+80
+00
+c0
+02
+83
+de
+20
+20
+5a
+f5
+20
+40
+5b
+5a
+68
+00
+84
+3f
+79
+3f
+fe
+05
+60
+00
+84
+3f
+20
+20
+5c
+8e
+68
+00
+80
+16
+c0
+93
+d6
+f2
+20
+40
+03
+e9
+d8
+e0
+00
+00
+68
+01
+44
+82
+20
+20
+7f
+08
+18
+0a
+7e
+00
+d8
+40
+01
+ff
+98
+41
+7e
+00
+1f
+e0
+fe
+fa
+20
+20
+3c
+be
+78
+55
+fc
+00
+20
+37
+03
+f1
+24
+36
+d8
+06
+20
+40
+2b
+cb
+68
+01
+40
+c1
+60
+01
+04
+4d
+68
+00
+c6
+c5
+2f
+e0
+06
+03
+24
+20
+ab
+de
+20
+20
+57
+fb
+68
+00
+c7
+9f
+24
+7a
+00
+00
+68
+00
+84
+78
+1f
+e6
+7e
+1a
+24
+62
+80
+00
+20
+20
+3d
+60
+68
+10
+80
+77
+1f
+e1
+7e
+fd
+60
+10
+80
+77
+68
+18
+80
+73
+18
+41
+84
+02
+60
+18
+80
+73
+20
+40
+63
+ee
+18
+41
+04
+fd
+20
+00
+00
+0d
+20
+40
+63
+f2
+60
+18
+80
+73
+20
+60
+00
+00
+20
+40
+68
+a8
+68
+02
+40
+a0
+60
+02
+4b
+cc
+20
+60
+00
+00
+70
+4c
+cb
+01
+70
+4c
+cd
+00
+68
+00
+cb
+96
+1f
+e1
+7e
+07
+60
+00
+cb
+96
+20
+60
+00
+00
+68
+00
+cb
+96
+79
+20
+7e
+04
+60
+00
+cb
+96
+60
+00
+cb
+51
+20
+60
+00
+00
+68
+00
+cb
+96
+79
+3f
+fe
+04
+60
+00
+cb
+96
+20
+60
+00
+00
+20
+40
+04
+dc
+68
+00
+cc
+cc
+c0
+00
+84
+22
+c0
+01
+04
+26
+20
+60
+00
+00
+70
+4c
+cd
+02
+70
+4c
+c9
+00
+70
+4c
+cb
+00
+20
+20
+04
+10
+70
+4c
+ca
+00
+20
+20
+04
+23
+68
+01
+4b
+9b
+1f
+e0
+fe
+01
+60
+01
+4b
+9b
+c2
+85
+04
+ca
+68
+00
+cc
+ca
+c0
+00
+84
+31
+70
+4c
+ca
+01
+68
+00
+cc
+ca
+c0
+80
+84
+10
+68
+00
+cc
+c8
+1f
+e0
+fe
+01
+60
+00
+cc
+c8
+c0
+02
+04
+38
+20
+40
+06
+39
+70
+4b
+da
+02
+20
+20
+04
+87
+20
+40
+04
+dc
+70
+4c
+c8
+00
+20
+20
+04
+10
+70
+4c
+cd
+02
+70
+4c
+cb
+01
+70
+4c
+ca
+00
+20
+20
+04
+10
+68
+00
+cc
+cc
+c0
+01
+84
+3c
+68
+00
+cb
+96
+2f
+ec
+00
+04
+20
+20
+84
+0e
+68
+00
+cc
+cc
+c0
+00
+84
+3b
+c0
+01
+04
+3c
+20
+60
+00
+00
+68
+00
+cb
+a5
+c1
+ff
+80
+00
+20
+40
+04
+4d
+24
+56
+04
+55
+20
+60
+00
+00
+78
+56
+7c
+00
+68
+00
+cc
+cb
+c1
+80
+80
+00
+68
+00
+cc
+cd
+c1
+80
+00
+00
+70
+4c
+cc
+01
+70
+4b
+da
+04
+20
+20
+7f
+eb
+68
+00
+cc
+cd
+20
+3a
+04
+5d
+1f
+e0
+ff
+ff
+60
+00
+cc
+cd
+70
+4c
+cc
+02
+20
+40
+06
+39
+70
+4b
+da
+04
+20
+60
+00
+00
+70
+4c
+cc
+03
+68
+00
+cc
+ca
+24
+3a
+04
+2f
+20
+40
+06
+39
+70
+4b
+da
+02
+20
+60
+00
+00
+68
+00
+cb
+a5
+c0
+ff
+85
+23
+20
+40
+04
+69
+20
+40
+06
+27
+70
+4b
+9a
+01
+20
+60
+00
+00
+68
+01
+4c
+c6
+20
+40
+7f
+9c
+20
+34
+04
+6f
+68
+03
+cb
+32
+20
+7a
+00
+00
+20
+20
+7f
+e7
+70
+4b
+c1
+00
+1a
+20
+fe
+01
+60
+00
+cb
+95
+20
+40
+04
+10
+60
+00
+cb
+31
+e8
+a8
+80
+00
+ea
+40
+80
+00
+98
+41
+fe
+00
+e0
+a0
+80
+00
+1a
+40
+a4
+01
+df
+20
+00
+02
+ea
+41
+00
+00
+e0
+a1
+00
+00
+1a
+40
+a4
+02
+c2
+00
+04
+7a
+d8
+a0
+4b
+37
+df
+20
+00
+02
+ea
+40
+80
+00
+e8
+a8
+80
+00
+98
+40
+fe
+00
+e0
+a0
+80
+00
+1a
+40
+a4
+01
+c2
+00
+04
+80
+20
+60
+00
+00
+70
+4b
+9e
+00
+d9
+60
+0d
+00
+34
+73
+02
+00
+20
+40
+04
+a3
+68
+00
+cb
+d1
+c1
+00
+80
+00
+24
+2c
+04
+b2
+24
+37
+84
+b2
+20
+40
+04
+9e
+20
+40
+04
+ce
+20
+40
+04
+d8
+68
+00
+cb
+94
+1f
+e0
+fe
+01
+60
+00
+cb
+94
+68
+00
+cb
+a5
+c0
+ff
+84
+a1
+20
+40
+04
+3f
+58
+00
+00
+00
+60
+01
+4b
+9b
+60
+00
+cb
+9d
+60
+00
+cc
+c9
+70
+4b
+9a
+00
+20
+60
+00
+00
+df
+20
+00
+04
+d8
+a0
+4b
+31
+20
+20
+7e
+c6
+20
+40
+04
+d5
+20
+20
+05
+3e
+78
+57
+fc
+00
+20
+40
+06
+a2
+68
+00
+cb
+d1
+c0
+00
+84
+b0
+18
+00
+2a
+00
+68
+02
+4b
+bd
+98
+00
+12
+00
+68
+08
+80
+17
+20
+40
+29
+1f
+20
+40
+29
+24
+20
+40
+06
+5c
+20
+57
+86
+9a
+20
+60
+00
+00
+20
+40
+06
+9a
+20
+20
+04
+92
+68
+00
+cb
+9d
+1f
+e0
+fe
+01
+60
+00
+cb
+9d
+68
+00
+cb
+a5
+c0
+ff
+84
+c6
+68
+08
+cb
+9e
+18
+40
+84
+01
+60
+08
+cb
+9e
+68
+00
+cb
+da
+98
+46
+7e
+00
+24
+3a
+04
+88
+68
+00
+cc
+cc
+c0
+01
+84
+28
+68
+00
+cc
+c9
+1f
+e0
+fe
+01
+60
+00
+cc
+c9
+c0
+01
+04
+1d
+20
+40
+04
+14
+70
+4b
+da
+01
+20
+20
+04
+87
+68
+00
+cb
+9d
+c1
+ff
+80
+00
+70
+4b
+9d
+00
+20
+20
+04
+cc
+58
+00
+00
+00
+60
+01
+4b
+9b
+70
+0a
+99
+3a
+20
+20
+7d
+86
+20
+40
+05
+a1
+68
+00
+cb
+93
+20
+7a
+00
+00
+98
+00
+72
+00
+d8
+c0
+4b
+11
+d8
+a0
+4b
+73
+20
+20
+7f
+01
+70
+4c
+d1
+01
+70
+4c
+ce
+00
+20
+60
+00
+00
+68
+00
+cc
+ce
+1f
+e0
+fe
+01
+60
+00
+cc
+ce
+20
+60
+00
+00
+68
+00
+cc
+ce
+1f
+e6
+7c
+02
+24
+41
+04
+e4
+68
+00
+cc
+ce
+c1
+00
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+cc
+ce
+20
+60
+00
+00
+70
+4c
+ce
+03
+20
+60
+00
+00
+68
+01
+46
+82
+c3
+85
+80
+00
+c3
+83
+80
+00
+c3
+83
+00
+00
+da
+20
+4c
+57
+20
+40
+06
+08
+60
+08
+cc
+cf
+28
+0f
+fe
+26
+20
+40
+84
+f8
+24
+40
+84
+fc
+98
+46
+7c
+00
+24
+21
+05
+10
+68
+00
+cc
+ce
+1f
+e6
+7c
+02
+24
+21
+05
+00
+68
+00
+cc
+ce
+c0
+00
+05
+11
+20
+60
+00
+00
+58
+00
+00
+82
+20
+60
+00
+00
+58
+00
+00
+77
+20
+60
+00
+00
+58
+00
+00
+80
+20
+60
+00
+00
+58
+00
+00
+75
+20
+60
+00
+00
+68
+00
+cc
+ce
+c1
+90
+00
+00
+70
+4c
+ce
+00
+68
+08
+cc
+cf
+28
+0f
+fe
+26
+20
+40
+84
+fa
+24
+40
+84
+fe
+98
+46
+7c
+00
+24
+61
+00
+00
+68
+00
+cc
+d1
+c0
+00
+05
+18
+1f
+e0
+ff
+ff
+60
+00
+cc
+d1
+c0
+00
+05
+18
+70
+41
+de
+00
+20
+60
+00
+00
+70
+4c
+ce
+00
+68
+00
+cc
+d1
+c0
+01
+05
+16
+1f
+e0
+fe
+01
+60
+00
+cc
+d1
+c0
+00
+85
+0e
+70
+41
+de
+02
+20
+60
+00
+00
+70
+41
+de
+04
+20
+60
+00
+00
+79
+20
+00
+26
+20
+40
+05
+1e
+70
+4b
+a5
+01
+20
+60
+00
+00
+70
+41
+de
+20
+70
+4b
+94
+00
+70
+4b
+9f
+4e
+68
+02
+4b
+a1
+20
+20
+06
+19
+68
+00
+cb
+9a
+c0
+00
+ff
+e7
+68
+00
+cb
+a5
+c0
+00
+85
+2a
+c0
+01
+05
+2d
+c0
+01
+85
+30
+20
+20
+2a
+8c
+70
+4b
+a5
+11
+70
+11
+9e
+aa
+20
+20
+05
+32
+70
+4b
+a5
+12
+70
+11
+9e
+55
+20
+20
+05
+32
+70
+4b
+a5
+13
+70
+11
+9e
+22
+68
+00
+cb
+96
+1f
+e1
+7e
+07
+60
+00
+91
+9f
+68
+02
+4b
+cc
+60
+02
+11
+a0
+70
+11
+a4
+00
+da
+20
+11
+9e
+d8
+40
+00
+07
+20
+40
+05
+9c
+20
+40
+06
+27
+20
+40
+04
+67
+20
+20
+7f
+e7
+68
+00
+cb
+a5
+c1
+7f
+80
+00
+c0
+08
+85
+44
+c0
+09
+05
+46
+c0
+09
+85
+48
+20
+60
+00
+00
+70
+4b
+a5
+02
+20
+20
+04
+98
+70
+4b
+a5
+03
+20
+20
+04
+98
+70
+4b
+a5
+ff
+70
+0a
+99
+39
+20
+40
+7d
+86
+68
+02
+4b
+75
+20
+40
+06
+19
+20
+20
+04
+98
+79
+3f
+80
+26
+20
+40
+05
+92
+68
+00
+cb
+a5
+c1
+ff
+80
+00
+20
+40
+05
+63
+58
+00
+00
+00
+60
+01
+4b
+c2
+20
+40
+2a
+fa
+20
+00
+07
+d0
+68
+00
+cb
+c2
+c0
+7f
+84
+cc
+20
+40
+04
+a3
+24
+2c
+05
+6c
+24
+37
+85
+6c
+79
+20
+00
+26
+58
+00
+00
+00
+60
+01
+4b
+c2
+70
+0a
+99
+3c
+20
+40
+7d
+86
+20
+40
+04
+9e
+20
+20
+00
+6b
+70
+11
+9e
+ff
+68
+00
+cb
+96
+60
+00
+91
+9f
+68
+02
+4b
+cc
+60
+02
+11
+a0
+d8
+40
+00
+06
+da
+20
+11
+9e
+20
+40
+05
+9c
+20
+20
+06
+27
+68
+01
+4b
+c2
+1f
+e0
+fe
+01
+60
+01
+4b
+c2
+20
+40
+06
+39
+20
+20
+05
+55
+79
+3f
+80
+26
+20
+40
+05
+8e
+20
+40
+05
+63
+70
+4b
+c2
+00
+20
+40
+2a
+fa
+20
+00
+07
+d0
+68
+00
+cb
+c2
+c0
+7f
+84
+cc
+20
+40
+04
+a3
+24
+2c
+05
+84
+24
+37
+85
+84
+20
+40
+04
+ce
+68
+00
+cc
+4c
+60
+00
+c1
+de
+68
+02
+4b
+bd
+68
+0a
+4b
+a1
+98
+46
+7c
+00
+20
+22
+85
+1a
+20
+20
+05
+5c
+68
+00
+cb
+c2
+1f
+e0
+fe
+01
+60
+00
+cb
+c2
+68
+00
+cc
+d3
+1f
+e0
+fe
+01
+1f
+e1
+7e
+01
+60
+00
+cc
+d3
+c0
+00
+05
+94
+c0
+00
+85
+96
+20
+60
+00
+00
+70
+41
+de
+20
+58
+00
+0f
+0f
+60
+01
+4b
+bd
+e0
+a1
+00
+00
+20
+40
+06
+1a
+20
+20
+06
+39
+20
+40
+05
+8e
+20
+20
+05
+75
+20
+40
+05
+1e
+20
+20
+05
+75
+79
+3f
+80
+26
+20
+40
+53
+ce
+d8
+e0
+00
+03
+20
+20
+43
+d2
+60
+08
+cb
+95
+18
+42
+72
+00
+d8
+a0
+4b
+31
+1a
+22
+0c
+00
+20
+20
+7f
+01
+68
+00
+cb
+10
+1f
+e9
+7e
+00
+60
+00
+cb
+93
+1f
+e0
+fe
+01
+d8
+c0
+4b
+10
+98
+c0
+8c
+00
+e8
+c1
+80
+00
+60
+01
+cb
+d2
+68
+00
+cb
+10
+1f
+e3
+7e
+00
+1f
+e1
+7e
+03
+60
+00
+cb
+d8
+20
+60
+00
+00
+60
+08
+80
+17
+18
+40
+a2
+00
+20
+40
+29
+81
+58
+00
+05
+00
+20
+40
+2a
+8f
+70
+89
+06
+01
+70
+89
+00
+3c
+70
+89
+01
+e0
+20
+00
+00
+0a
+70
+89
+02
+01
+70
+89
+02
+3d
+20
+00
+00
+0a
+70
+89
+03
+b7
+20
+00
+00
+0a
+70
+89
+02
+7d
+68
+00
+c1
+de
+c0
+00
+05
+c3
+c0
+01
+05
+cb
+c0
+02
+05
+d3
+c0
+10
+05
+e5
+20
+20
+05
+c3
+20
+40
+05
+db
+70
+89
+4b
+ba
+70
+89
+55
+d0
+70
+89
+56
+e0
+70
+89
+57
+88
+70
+89
+58
+6c
+70
+89
+59
+10
+20
+20
+29
+4b
+20
+40
+05
+e0
+70
+89
+4b
+ba
+70
+89
+55
+d0
+70
+89
+56
+e0
+70
+89
+57
+88
+70
+89
+58
+3c
+70
+89
+59
+10
+20
+20
+29
+53
+20
+40
+05
+db
+70
+89
+4b
+ba
+70
+89
+55
+d0
+70
+89
+56
+c0
+70
+89
+57
+88
+70
+89
+58
+6c
+70
+89
+59
+10
+20
+20
+29
+5b
+70
+89
+4c
+5b
+70
+89
+4d
+96
+70
+89
+4e
+2c
+70
+89
+4f
+46
+20
+60
+00
+00
+70
+89
+4c
+fb
+70
+89
+4d
+ef
+70
+89
+4e
+ec
+70
+89
+4f
+5e
+20
+60
+00
+00
+70
+89
+4b
+ba
+70
+89
+56
+c2
+70
+89
+55
+d0
+20
+60
+00
+00
+18
+00
+2a
+08
+20
+20
+28
+fa
+20
+40
+7f
+e9
+68
+0a
+4b
+b6
+1c
+42
+7e
+00
+98
+46
+7c
+00
+24
+41
+2d
+18
+1f
+e2
+24
+00
+68
+02
+4b
+b6
+68
+08
+cb
+ba
+98
+40
+84
+00
+1a
+42
+7e
+00
+98
+46
+7c
+00
+24
+61
+00
+00
+79
+3f
+fe
+1c
+60
+02
+4b
+b6
+20
+20
+7f
+e7
+20
+40
+29
+bb
+20
+7a
+00
+00
+68
+08
+cc
+4f
+da
+20
+0d
+9e
+20
+40
+06
+01
+60
+08
+cc
+4f
+20
+60
+00
+00
+1a
+22
+7e
+00
+98
+40
+8a
+00
+68
+00
+80
+18
+e0
+a0
+80
+00
+18
+40
+84
+01
+18
+41
+04
+07
+20
+60
+00
+00
+d8
+40
+00
+00
+df
+20
+00
+08
+1a
+22
+0c
+00
+e8
+c0
+80
+00
+98
+40
+84
+00
+c2
+00
+06
+0b
+18
+49
+7e
+00
+1f
+e2
+04
+00
+c6
+93
+00
+00
+1f
+e6
+fc
+0a
+20
+40
+7f
+86
+18
+07
+fe
+00
+1f
+f2
+7e
+00
+18
+07
+04
+00
+98
+41
+84
+00
+20
+60
+00
+00
+20
+60
+00
+00
+60
+02
+4b
+bd
+da
+20
+00
+00
+df
+20
+00
+04
+d8
+c0
+4b
+bd
+e8
+c0
+80
+00
+9a
+20
+a2
+00
+c2
+00
+06
+1d
+1a
+22
+7e
+00
+60
+01
+4c
+46
+68
+00
+cc
+46
+68
+08
+cc
+47
+98
+40
+fe
+00
+60
+00
+cc
+48
+20
+60
+00
+00
+68
+00
+cb
+95
+1f
+e0
+fe
+02
+60
+00
+cb
+97
+68
+00
+cb
+96
+60
+00
+cb
+51
+68
+00
+cb
+95
+1f
+e9
+fe
+00
+68
+08
+cb
+94
+18
+41
+04
+03
+18
+43
+84
+00
+98
+41
+fe
+00
+68
+08
+cb
+d1
+98
+40
+fe
+00
+e0
+a0
+80
+00
+68
+00
+cb
+95
+98
+00
+72
+00
+d8
+c0
+4b
+31
+20
+20
+7f
+01
+68
+08
+cb
+a0
+20
+40
+06
+3d
+60
+08
+cb
+a0
+20
+60
+00
+00
+20
+40
+06
+41
+18
+40
+84
+01
+18
+41
+04
+03
+20
+60
+00
+00
+68
+00
+cb
+bd
+1f
+e1
+7e
+03
+1f
+ef
+a2
+04
+58
+00
+4b
+a6
+9a
+20
+fe
+00
+98
+40
+8c
+00
+e8
+c0
+80
+00
+60
+00
+cb
+9f
+20
+60
+00
+00
+78
+44
+fc
+00
+78
+43
+fc
+00
+58
+55
+55
+55
+98
+00
+1e
+00
+68
+00
+cb
+9f
+1f
+ed
+84
+00
+79
+20
+04
+01
+18
+43
+1c
+00
+20
+60
+00
+00
+20
+40
+53
+c4
+68
+02
+4b
+bd
+98
+00
+12
+00
+20
+40
+29
+18
+68
+08
+cb
+9f
+20
+40
+29
+1f
+58
+00
+05
+00
+20
+40
+2a
+8f
+20
+40
+29
+24
+20
+40
+06
+4a
+78
+57
+fc
+00
+78
+26
+fc
+00
+78
+30
+fc
+00
+78
+50
+7c
+00
+78
+28
+7c
+00
+68
+01
+4b
+98
+98
+00
+36
+00
+37
+c1
+84
+00
+24
+2c
+06
+9e
+78
+46
+fc
+00
+78
+25
+fc
+00
+78
+23
+fc
+00
+78
+24
+fc
+00
+09
+80
+00
+08
+19
+89
+7e
+00
+60
+00
+cc
+49
+68
+08
+cc
+48
+98
+46
+7c
+00
+24
+22
+86
+9a
+09
+80
+00
+08
+19
+89
+7e
+00
+60
+00
+cb
+0f
+68
+00
+cb
+db
+1f
+e6
+7c
+02
+20
+22
+86
+7a
+68
+00
+cb
+0f
+68
+08
+cb
+96
+a8
+40
+0e
+00
+24
+20
+86
+9a
+09
+80
+00
+08
+19
+89
+7e
+00
+e0
+a0
+80
+00
+1f
+e9
+7e
+00
+1f
+e1
+72
+1f
+20
+22
+86
+84
+09
+80
+00
+08
+19
+89
+7e
+00
+e0
+a0
+80
+00
+c2
+00
+06
+80
+18
+a2
+22
+00
+09
+80
+00
+08
+19
+89
+7e
+00
+60
+00
+cc
+d0
+1a
+22
+0a
+00
+09
+80
+00
+18
+78
+28
+7c
+00
+db
+60
+06
+64
+1f
+ef
+7e
+00
+1f
+f1
+7e
+00
+e0
+a1
+80
+00
+78
+45
+fc
+00
+20
+23
+06
+9a
+78
+37
+fc
+00
+68
+00
+80
+17
+1f
+e0
+a2
+00
+20
+40
+29
+81
+78
+46
+fc
+00
+20
+40
+29
+18
+68
+00
+cc
+d0
+20
+40
+00
+1b
+20
+60
+00
+00
+78
+4d
+fc
+00
+78
+45
+fc
+00
+20
+40
+26
+4d
+20
+60
+00
+00
+20
+20
+06
+9a
+20
+40
+29
+18
+68
+08
+cb
+9f
+20
+20
+29
+33
+20
+40
+53
+c4
+68
+02
+4b
+bd
+98
+00
+12
+00
+20
+40
+06
+4a
+20
+40
+06
+9f
+79
+20
+2a
+00
+78
+2e
+fc
+00
+78
+30
+7c
+00
+78
+50
+fc
+00
+19
+31
+7e
+00
+1f
+ec
+fe
+00
+1f
+f1
+fe
+00
+08
+00
+86
+28
+78
+4e
+fc
+00
+78
+2d
+fc
+00
+78
+23
+fc
+00
+78
+24
+fc
+00
+68
+00
+cc
+48
+08
+00
+86
+08
+68
+00
+cb
+97
+98
+00
+72
+00
+d8
+c0
+4b
+51
+e8
+c0
+80
+00
+08
+00
+86
+08
+c2
+00
+06
+b8
+78
+24
+7c
+00
+08
+00
+86
+18
+78
+44
+7c
+00
+37
+d3
+82
+00
+20
+00
+00
+64
+78
+4e
+fc
+00
+78
+4d
+fc
+00
+20
+60
+00
+00
+70
+47
+a0
+07
+70
+47
+a1
+04
+58
+00
+47
+a0
+60
+01
+42
+18
+20
+20
+7e
+38
+da
+20
+46
+9a
+20
+40
+7e
+3d
+20
+54
+06
+cc
+20
+60
+00
+00
+68
+00
+c7
+c1
+1f
+e0
+fe
+01
+60
+00
+c7
+c1
+20
+60
+00
+00
+da
+20
+46
+9a
+20
+40
+7e
+54
+20
+34
+06
+d4
+20
+60
+00
+00
+20
+40
+56
+52
+68
+00
+c7
+c1
+1f
+e6
+7c
+01
+24
+41
+56
+50
+68
+00
+c7
+c1
+20
+7a
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+c7
+c1
+20
+20
+3f
+90
+9f
+08
+aa
+55
+08
+00
+75
+41
+8f
+1b
+ca
+00
+0a
+0b
+ef
+07
+aa
+55
+01
+00
+57
+41
+00
+aa
+55
+08
+00
+a1
+00
+00
+00
+00
+00
+00
+00
+00
+00
+aa
+55
+02
+00
+bd
+40
+02
+24
+aa
+55
+08
+00
+ad
+40
+12
+00
+00
+02
+12
+00
+00
+02
+aa
+55
+02
+00
+bb
+40
+20
+00
+aa
+55
+04
+00
+b7
+40
+20
+00
+00
+40
+aa
+55
+04
+00
+bf
+40
+80
+04
+00
+08
+aa
+55
+01
+00
+d2
+4c
+00
+aa
+55
+02
+00
+41
+42
+00
+84
+aa
+55
+01
+00
+de
+41
+00
+aa
+55
+0d
+00
+8f
+47
+4b
+ba
+55
+d0
+56
+e0
+57
+88
+58
+6c
+59
+10
+ff
+aa
+55
+02
+00
+c3
+40
+8f
+47
+aa
+55
+01
+00
+00
+40
+02
+aa
+55
+02
+00
+10
+40
+20
+02
+aa
+55
+03
+00
+14
+40
+02
+01
+06
+aa
+55
+02
+00
+18
+40
+10
+06
+aa
+55
+02
+00
+1c
+40
+48
+1c
+aa
+55
+04
+00
+27
+40
+02
+08
+04
+80
+aa
+55
+03
+00
+2c
+40
+88
+04
+80
+aa
+55
+01
+00
+31
+40
+10
+aa
+55
+01
+00
+92
+40
+42
+aa
+55
+01
+00
+91
+40
+01
+aa
+55
+01
+00
+72
+41
+20
+aa
+55
+01
+00
+c5
+47
+20
+aa
+55
+02
+00
+54
+41
+00
+00
+aa
+55
+02
+00
+d5
+46
+92
+45
+aa
+55
+01
+00
+00
+4b
+08
+aa
+55
+01
+00
+07
+42
+06
+aa
+55
+06
+00
+a0
+40
+26
+10
+19
+20
+18
+10
+aa
+55
+01
+00
+5a
+45
+0a
+aa
+55
+01
+00
+62
+46
+03
+aa
+55
+01
+00
+5a
+46
+01
+aa
+55
+01
+00
+8d
+45
+00
+aa
+55
+01
+00
+5a
+41
+00
+aa
+55
+03
+00
+5b
+46
+03
+00
+04
+aa
+55
+01
+00
+84
+46
+01
+aa
+55
+01
+00
+d1
+40
+01
+aa
+55
+1a
+00
+6f
+43
+1f
+03
+19
+c2
+03
+02
+01
+05
+03
+03
+12
+18
+0d
+09
+42
+54
+20
+35
+2e
+30
+20
+4d
+6f
+75
+73
+65
+aa
+55
+0f
+00
+8f
+43
+1f
+0d
+09
+42
+54
+20
+35
+2e
+30
+20
+4d
+6f
+75
+73
+65
+aa
+55
+0d
+00
+af
+43
+0c
+42
+54
+20
+35
+2e
+30
+20
+4d
+6f
+75
+73
+65
+aa
+55
+08
+00
+96
+44
+07
+00
+07
+00
+20
+00
+2c
+01
+aa
+55
+04
+00
+82
+44
+00
+00
+00
+00
+aa
+55
+01
+00
+8d
+44
+07
+aa
+55
+06
+00
+a0
+44
+8e
+b1
+3a
+0e
+8e
+ed
+aa
+55
+01
+00
+e5
+44
+50
+aa
+55
+02
+00
+6f
+44
+19
+00
+aa
+55
+02
+00
+fa
+44
+22
+00
+aa
+55
+02
+00
+87
+46
+08
+07
+aa
+55
+04
+00
+a8
+46
+50
+00
+70
+17
+aa
+55
+01
+00
+14
+42
+ff
+aa
+55
+01
+00
+86
+46
+ff
+aa
+55
+01
+00
+85
+46
+1e
+aa
+55
+01
+00
+d2
+46
+02
+aa
+55
+01
+00
+03
+47
+02
+aa
+55
+02
+00
+2d
+42
+02
+32
+aa
+55
+06
+00
+09
+47
+96
+00
+5a
+00
+64
+00
+aa
+55
+19
+00
+e0
+46
+00
+02
+06
+08
+04
+06
+04
+08
+1b
+1c
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+03
+ff
+04
+00
+ff
+ff
+aa
+55
+01
+00
+05
+4b
+85
+aa
+55
+01
+00
+0b
+4b
+05
+aa
+55
+01
+00
+3a
+42
+14
+aa
+55
+01
+00
+dc
+46
+ff
+aa
+55
+01
+00
+a5
+46
+07
+aa
+55
+01
+00
+6c
+0c
+ff
+aa
+55
+01
+00
+fd
+46
+19
+aa
+55
+01
+00
+f5
+46
+04
+aa
+55
+0c
+00
+7f
+47
+01
+02
+03
+04
+20
+2a
+22
+2a
+04
+05
+07
+08
+aa
+55
+01
+00
+01
+4b
+00
+aa
+55
+02
+00
+1b
+42
+13
+47
+aa
+55
+01
+00
+1a
+42
+01
+aa
+55
+40
+00
+c6
+47
+25
+00
+02
+03
+28
+01
+12
+26
+00
+02
+4d
+2a
+07
+00
+00
+00
+00
+00
+00
+00
+27
+00
+02
+02
+29
+02
+00
+00
+28
+00
+02
+08
+29
+02
+11
+01
+29
+00
+02
+03
+28
+01
+0e
+2a
+00
+02
+4d
+2a
+07
+00
+00
+00
+00
+00
+00
+00
+2b
+00
+02
+08
+29
+02
+11
+02
+aa
+55
+01
+00
+db
+4b
+01
+aa
+55
+01
+00
+96
+4b
+01
+aa
+55
+01
+00
+da
+4b
+04
+aa
+55
+01
+00
+d1
+4b
+00
+aa
+55
+02
+00
+98
+4b
+c0
+12
+aa
+55
+03
+00
+ba
+4b
+19
+19
+1c
+aa
+55
+10
+00
+a6
+4b
+00
+13
+2c
+42
+06
+15
+36
+48
+0f
+1a
+3a
+4c
+11
+23
+31
+4d
+aa
+55
+01
+00
+a5
+4b
+ff
+aa
+55
+04
+00
+a1
+4b
+20
+15
+10
+05
+aa
+55
+0a
+00
+9e
+11
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+aa
+55
+08
+00
+c4
+4b
+00
+48
+60
+00
+00
+00
+00
+00
+aa
+55
+08
+00
+20
+47
+01
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+aa
+55
+07
+00
+3e
+47
+34
+11
+22
+33
+44
+55
+66
+aa
+55
+07
+00
+5b
+47
+34
+11
+22
+33
+44
+55
+66
+aa
+55
+03
+00
+00
+47
+00
+70
+00
+aa
+55
+02
+00
+03
+42
+90
+1f
+aa
+55
+01
+00
+11
+42
+80
+aa
+55
+01
+00
+1f
+47
+00
+aa
+55
+01
+00
+db
+46
+01
+aa
+55
+01
+00
+8e
+47
+03
+9f
+1e
Index: HS_24G&BLE_Motion/output/memmap.format
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/memmap.format	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/memmap.format	(working copy)
@@ -0,0 +1,1886 @@
+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_hci_version
+0x0083 mem_acl_pktlen
+0x0085 mem_sco_pktlen
+0x0086 mem_acl_pktcnt
+0x0088 mem_sco_pktcnt
+0x008a mem_current_sniff_attempt
+0x008b mem_current_sniff_timeout
+0x008c mem_sniff_timeout_temp
+0x008d mem_nfreq_index_inq
+0x008e mem_nfreq_index_page
+0x008f mem_ninqy_index
+0x0090 mem_fhs_misc
+0x0091 mem_subsniff_instant
+0x0095 mem_subsniff_rate
+0x0096 mem_subsniff_tcmax
+0x0098 mem_subsniff_tsniff
+0x0099 mem_lpm_adjust
+0x009a mem_sync_clke
+0x00a0 mem_lpm_current_mult
+0x00a1 mem_gpio_wakeup_low
+0x00a5 mem_gpio_wakeup_high
+0x00a9 mem_air_mode
+0x00aa mem_sco_asso_handle
+0x00ab mem_sco_handle
+0x00ad mem_esco_desco
+0x00ae mem_esco_type
+0x00af mem_neogotiation_state
+0x00b0 mem_saved_amaddr
+0x00b1 mem_esco_arq
+0x00b2 mem_esco_saved_arq
+0x00b3 mem_sco_obuf
+0x00d1 mem_sco_ibuf
+0x00ef mem_sco_poll
+0x00f0 mem_npage_index
+0x00f1 mem_page_mode
+0x00f2 mem_page_clk
+0x00f6 mem_tst_pktcnt_sync
+0x00f8 mem_tst_pktcnt_hec
+0x00fa mem_tst_pktcnt_crc
+0x00fc mem_tst_pktcnt_dmh
+0x00fe mem_tmp_buffer_head
+0x0101 mem_tmp_buffer
+0x0151 mem_tester_emulate
+0x0152 mem_temp_payload
+0x0152 test_mode_scenario
+0x0153 test_mode_hopping_mode
+0x0154 test_mode_tx_freq
+0x0155 test_mode_rx_freq
+0x0156 test_mode_power_mode
+0x0157 test_mode_poll_period
+0x0158 test_mode_packet_type
+0x0159 test_mode_data_length
+0x015b mem_test_mode_old_debug_config
+0x015c mem_tester_cnt
+0x015d mem_temp_am_addr
+0x015e mem_temp_arq
+0x015f mem_len
+0x0161 mem_clkn_bt
+0x0165 mem_clke_bt
+0x0169 mem_dpll_clkn
+0x016d mem_connection_options
+0x016e mem_nameres_cnt
+0x016f mem_txptr
+0x0171 mem_slot_offset
+0x0173 extm_fhs_misc
+0x0174 extm_newconn_am_addr
+0x0175 extm_class
+0x0178 extm_lap
+0x017b extm_uap
+0x017c extm_nap
+0x017f mem_debug_config
+0x0180 mem_lch_code
+0x0181 mem_fhs_am_addr
+0x0182 mem_dpll_error
+0x0184 mem_select_list_item
+0x0185 mem_temp_reconn_record
+0x0185 mem_record_bt_mode
+0x0186 mem_temp_lap
+0x018c mem_list_item_ptr
+0x018e mem_eir
+0x01f2 mem_ucode_status
+0x01f3 mem_otp_ucode_flag
+0x01f5 mem_spid_tbuf/* spid buf: 03 addr[23:16] addr[15:8] addr[7:0] */
+0x01f6 mem_iicd_tbuf/* iicd buf: iic_adr addr[15:8] addr[7:0] iic_adr */
+0x01f6 mem_addr_hi
+0x01f7 mem_addr_mi
+0x01f8 mem_addr_lo
+0x01f9 mem_iicd_addr
+0x01fa mem_spid_rbuf
+0x01fe mem_ucode_buf
+0x0200 mem_ucode_len
+0x0202 mem_sched_addr
+0x0204 mem_ucode_ptr
+0x0206 mem_ucode_keybuf
+0x0216 mem_check_plap_temp
+0x0228 mem_reconnect_flag
+0x0229 mem_switch_fail_master_count
+0x022a mem_app_evt_timer_count
+0x022b mem_init_cnt
+0x022d mem_h5rx_ackcnt
+0x022e mem_check_err_acl_cont
+0x022f mem_rp_packets
+0x0230 mem_packet_type
+0x0232 mem_hci_sniff_conn_handle
+0x0234 mem_hci_sniff_max_interval
+0x0236 mem_hci_sniff_min_interval
+0x0238 mem_hci_sniff_attempt
+0x023a mem_hci_sniff_timeout
+0x023c mem_voice_setting
+0x023e mem_retransmission_effort
+0x023f mem_sco_ptype
+0x0241 mem_extm_uap_restore
+0x0244 mem_h5rx_rptr
+0x0246 mem_h5rx_ack
+0x0247 mem_h5tx_ack
+0x0248 mem_h5tx_rptr
+0x024a mem_h5tx_wptr
+0x024c mem_h5tx_free
+0x024e mem_h5rx_tmp
+0x024f mem_h5tx_seq
+0x0250 mem_hci_acl_queue_wptr
+0x0252 mem_hci_acl_queue_rptr
+0x0254 mem_hci_acl_queue_end
+0x0256 mem_hci_acl_queue_wcnt
+0x0257 mem_hci_acl_cnt
+0x0258 mem_hci_acl_tx_trigger_wptr//tx via uart
+0x025a mem_hci_curr_len
+0x025b mem_hci_curr_target
+0x025d mem_l2cap_mem_start
+0x025d mem_l2cap_rxbuff1_len
+0x025f mem_l2cap_rxbuff2_len
+0x0261 mem_l2cap_rxbuff_new
+0x0263 mem_l2cap_rxbuff_inuse
+0x0264 mem_l2cap_payload_ptr
+0x0266 mem_l2cap_rx_pkt_length
+0x0268 mem_l2cap_rx_cid
+0x026a mem_l2cap_rx_done
+0x026b mem_l2cap_signal_tx_buff_ptr
+0x026d mem_l2cap_signal_tx_payload_ptr
+0x026f mem_l2cap_signal_tx_length
+0x0271 mem_sdp_tx_buff_ptr
+0x0273 mem_sdp_tx_payload_ptr
+0x0275 mem_sdp_tx_pkt_length
+0x0277 mem_rfcomm_tx_buff_ptr
+0x0279 mem_rfcomm_tx_payload_ptr
+0x027b mem_rfcomm_tx_pkt_length
+0x027d memL2CAP_T1
+0x027f mem_CONTROL_tasks
+0x0280 mem_send_config_req
+0x0281 mem_config_identifier
+0x0282 mem_config_req_dest_CID
+0x0284 mem_rfcomm_malloc_fail_flag
+0x0285 mem_message_to_uppersm
+0x0286 mem_upper_sm_remote_page
+0x0287 mem_upper_sm_reconn
+0x0288 mem_upper_sm_ss
+0x0289 mem_tx_malloc_log
+0x02c9 mem_l2cap_mem_end
+0x02c9 mem_scid
+0x02cb mem_cmd_length
+0x02cd mem_tt2
+0x02cf mem_tt3
+0x02d1 mem_id
+0x02d3 mem_psm
+0x02d5 mem_l2cap_sdpres_delay_time
+0x02d9 mem_le_rxbuf
+0x0311 mem_le_l2capbuf
+0x0417 mem_le_mic
+0x041b mem_le_peer_mic
+0x041f mem_le_peer_ltk
+0x042f mem_le_mrand
+0x043f mem_le_state
+0x0440 mem_le_mode
+0x0441 mem_le_tsniff
+0x0443 mem_le_anchor
+0x0447 mem_le_clk_offset
+0x044d mem_le_receive_window
+0x044f mem_le_plap
+0x0455 mem_le_conn_handle
+0x0456 mem_le_arq
+0x0457 mem_le_ch
+0x0458 mem_le_hop
+0x0459 mem_le_event_count
+0x045b mem_le_supervision_timer
+0x045f mem_le_instant
+0x0461 mem_le_channels
+0x0462 mem_le_op
+0x0463 mem_le_access
+0x0467 mem_le_crcinit
+0x046a mem_le_window_size
+0x046b mem_le_slave_latency
+0x046d mem_le_superto
+0x046f mem_le_channel_map
+0x0474 mem_le_no_using
+0x0476 mem_le_peer_sca
+0x0477 mem_le_att_opcode
+0x0478 mem_le_att_handle
+0x047a mem_le_err_code
+0x047b mem_le_ll_pairing_fail_reason
+0x047c mem_le_sk
+0x048c mem_le_testtype
+0x048d mem_le_test_sync
+0x048f mem_le_test_pcnt
+0x0491 mem_le_rxon_ts
+0x0497 mem_le_rx_ll_opcode
+0x0498 mem_le_notify_attr_start
+0x049a mem_le_notify_len
+0x049b mem_cmd_le_create_conn
+0x049c mem_le_cur_attlist_start_ptr
+0x049e mem_le_cur_handle_start
+0x04a0 mem_le_cur_handle_end
+0x04a2 mem_le_cur_uuid_length
+0x04a3 mem_le_cur_uuid
+0x04b3 mem_le_curr_att_len
+0x04b4 mem_le_search_res
+0x04b5 mem_le_continue_type
+0x04b6 mem_lmo_header_length
+0x04b7 mem_lmo_header_opcode
+0x04b8 mem_lmo_payload
+0x04c9 mem_lmi_accepted_opcode
+0x04ca mem_disconn_reason_send
+0x04cb mem_tx_fixed_freq
+0x04cc mem_rx_fixed_freq
+0x04cd mem_ext_features_page
+0x04ce mem_lmpext_ssp_enable
+0x04d0 mem_remote_sppcap
+0x04d1 mem_lmp_conn_state
+0x04d2 mem_soft_timer
+0x04d4 mem_pincode_state
+0x04d5 mem_sres_tid
+0x04d6 mem_accptsco_tid
+0x04d7 mem_auth_enable
+0x04d8 mem_wait_encryption
+0x04d9 mem_sniff_payload
+0x04e9 mem_aurand_send_delay_time
+0x04ed memRemoteRPNBitRate
+0x04ee memRemotePRNDataBits
+0x04ef memRemotePRNStopBit
+0x04f0 memRemotePRNParity
+0x04f1 memRemotePRNFlowControl
+0x04f2 memRemotePRNXon
+0x04f3 memRemotePRNXoff
+0x04f4 mem_mod2div_temp
+0x04f7 mem_contw_temp
+0x04f9 mem_attrib_list
+0x04fb mem_current_adss
+0x04fc mem_current_channel
+0x04fd mem_current_frame_type
+0x04fe mem_current_fcs
+0x04ff mem_current_length
+0x0501 mem_rfcomm_uih_payload_ptr
+0x0503 mem_uih_cmd_type
+0x0504 mem_uih_length
+0x0506 mem_param_payload_ptr
+0x0508 mem_ms_param
+0x0509 mem_pn_credit_flow_type_info
+0x050a mem_pn_priority
+0x050b mem_pn_acknowledg_timer
+0x050c mem_pn_max_retrans
+0x050d mem_rfcomm_send_adss
+0x050e mem_rfcomm_send_frame_type
+0x050f mem_rfcomm_send_fcs
+0x0510 mem_rfcomm_send_offset
+0x0511 mem_sdp_mem_start
+0x0511 mem_sdp_uuid_search_ptr
+0x0519 mem_sdp_continue_byte
+0x051b mem_sdp_pduid
+0x051c mem_sdp_transactionid
+0x051e mem_sdp_transactionid_local
+0x0520 mem_sdp_attribute_maxbyte
+0x0522 mem_sdp_record_maxcnt
+0x0524 mem_sdp_record_handle
+0x0528 mem_sdp_LACAP_found
+0x0529 mem_sdp_RFCOMM_found
+0x052a mem_sdp_handle_list
+0x052a mem_sdp_attrib_list
+0x054a mem_sdp_error_code
+0x054c mem_sdp_all_length
+0x054e mem_handle_humber
+0x054f mem_search_uuid
+0x0551 mem_sdp_mem_end
+0x0551 mem_rxbuf
+0x0562 mem_random_number
+0x0572 mem_round_key
+0x0582 mem_kinit
+0x0592 mem_input_store
+0x05a2 mem_x
+0x05b2 mem_y
+0x05c1 mem_y15
+0x05c2 mem_key_store
+0x05d3 mem_key_store_end
+0x05d4 memp_ar_key
+0x05d6 memp_ar_input
+0x05d8 mem_ar_hround
+0x05e2 mem_ec_infinite
+0x05e3 mem_ec_loopc
+0x05e5 mem_aes_cmac_data_length
+0x05e6 memdat
+0x05e6 mem_ax
+0x05fe mem_ay
+0x0616 mem_az
+0x062e mem_bx
+0x0646 mem_ax_256//32 bytes
+0x0646 mem_by
+0x065e mem_bz
+0x0666 mem_ay_256// 32 bytes
+0x0676 mem_cx
+0x0686 mem_az_256// 32 bytes
+0x068e mem_cy
+0x06a5 mem_cy5
+0x06a6 mem_bx_256// 32 bytes
+0x06a6 mem_cz
+0x06be mem_k
+0x06c6 mem_by_256// 31 bytes
+0x06d6 mem_align
+0x06e6 mem_bz_256//32 bytes
+0x06e6 mem_tmp1
+0x06e6 memahbak
+0x06fe mem_tmp5
+0x0706 mem_cx_256//32 bytes
+0x0706 memahsave
+0x0716 mem_tmp2
+0x0726 mem_cy_256// 32 bytes
+0x0726 memahsave_end
+0x0726 mem_addr_padding
+0x0727 mem_addr_value/* 12 bytes     */ 
+0x072e mem_tmp3
+0x072e mem_t1
+0x0733 mem_addr_value_end
+0x0736 mem_addr_iocap_end
+0x0745 mem_cy5_256// 1 byte
+0x0746 mem_cz_256// 32 bytes
+0x0746 mem_tmp0
+0x0746 mem_t0
+0x074e mem_tmp0a
+0x075e mem_t2
+0x0766 mem_k_256//32 bytes
+0x0776 mem_t3
+0x0786 mem_tmp1_256//32 bytes
+0x078e mem_t7
+0x07a6 mem_tmp5_256
+0x07c6 mem_tmp2_256
+0x07e6 mem_tmp3_256
+0x07e6 mem_t1_256
+0x0806 mem_tmp0_256
+0x0806 mem_t0_256
+0x0826 mem_t2_256
+0x0846 mem_t3_256
+0x0866 mem_t7_256
+0x0886 mem_p
+0x089e mem_a
+0x08b6 mem_b
+0x08ce mem_gx
+0x08e6 mem_gy
+0x08fe memh0
+0x091e mem_p_256
+0x093e mem_a_256
+0x095e mem_gx_256
+0x097e mem_gy_256
+0x099e mem_le_slat
+0x09ae mem_sp_state_start
+0x09ae mem_sp_state
+0x09af mem_master_sp_state
+0x09b0 mem_sp_flag
+0x09b1 mem_master_sp_flag
+0x09b2 mem_sp_calc
+0x09b3 mem_sp_dh_ready
+0x09b4 mem_sp_localsm
+0x09b5 mem_pairing_auth
+0x09b6 mem_sp_flag_start
+0x09b6 mem_sp_local_key_send_count
+0x09b7 mem_sp_remote_key_recv_count
+0x09b8 mem_sp_remote_key_invalid
+0x09b9 mem_sp_dhkey_invalid
+0x09ba mem_gkey
+0x09be mem_le_pubkey_remote_x_256
+0x09c6 mem_sp_pubkey_remote
+0x09c6 mem_sp_pubkey_remote_x
+0x09de mem_sp_pubkey_remote_x_end
+0x09de mem_le_pubkey_remote_y_256
+0x09e6 mem_sp_pubkey_remote_y
+0x09fe mem_le_dhkey_256
+0x0a06 mem_sp_dhkey
+0x0a1e mem_sp_dhkey_end
+0x0a1e mem_sp_random_local
+0x0a2e mem_sp_random_local_end
+0x0a2e mem_sp_random_remote
+0x0a3e mem_sp_random_remote_end
+0x0a3e memresult
+0x0a3e mem_sp_calc_result
+0x0a3e memh
+0x0a42 memg
+0x0a46 memf
+0x0a4a meme
+0x0a4e mem_sp_calc_result_high
+0x0a4e memd
+0x0a52 memc
+0x0a56 memb
+0x0a5a mema
+0x0a5e mem_sp_check_result
+0x0a6e mem_sp_confirm_remote
+0x0a7e mem_sp_prarm_stack
+0x0a8e mem_UI_data_txbuff_length
+0x0a90 mem_ipc_skip_continue_proc
+0x0a91 mem_ui_timer_temp//length 4
+0x0a91 mem_ipc_rega_temp
+0x0a95 mem_hold_contr
+0x0a97 mem_hold_contw
+0x0a99 mem_fifo_temp
+0x0a9a mem_pdatatemp
+0x0aa2 mem_temp//8 bytes
+0x0aaa mem_timeup// 4 bytes
+0x0aae mem_rega//4 bytes
+0x0ab2 mem_regb//4 bytes
+0x0ab6 mem_regc//3 bytes
+0x0ab9 mem_contr//2 bytes
+0x0abb mem_contw//2 bytes
+0x0abd mem_wakup_from_power_flag
+0x0abe mem_saved_gpio_in
+0x0ac2 mem_shutter_random_mac_data_temp
+0x0ac2 mem_shutter_config_data_temp
+0x0ac2 mem_le_adv_channel_map_temp
+0x0ac2 mem_le_data_len_temp//1byte
+0x0ac2 mem_tx_fifo_map_temp
+0x0ac2 mem_rpn_dlci//1byte
+0x0ac2 mem_event_cmd_response_content//2byte
+0x0ac2 mem_le_prand//16byte
+0x0ac2 mem_AES_CMAC_k//16 bytes
+0x0ac2 mem_regext_index//1 bytes
+0x0ac2 mem_temp_block0
+0x0ac3 mem_le_data_temp//15bytes
+0x0ac3 mem_temp_block1
+0x0ad2 mem_le_aes_128//16byte
+0x0ad2 mem_regext//64 bytes
+0x0ad2 mem_AES_CMAC_k1//16 bytes
+0x0ad2 mem_temp_block2
+0x0ae2 mem_AES_CMAC_k2//16 bytes
+0x0ae2 mem_temp_block3
+0x0af2 mem_AES_CMAC_temp// 16 bytes
+0x0af2 mem_temp_block4
+0x0b02 mem_AES_CMAC_M_last// 16 bytes
+0x0b02 mem_module_uart_cmd
+0x0b03 mem_module_uart_opcode
+0x0b04 mem_module_uart_len
+0x0b05 mem_module_temp_nl_discard_packet
+0x0b06 mem_temp_block5
+0x0b12 mem_le_mackey//16 bytes
+0x0b12 mem_app_receive_temp
+0x0b12 mem_key_value_temp
+0x0b14 mem_key_value
+0x0b16 mem_key_value_temp1
+0x0b17 mem_key_value_temp2
+0x0b18 mem_key_value_temp3
+0x0b19 mem_key_value_temp4
+0x0b1a mem_key_value_temp5
+0x0b1b mem_key_value_temp6
+0x0b1c mem_temp_block6
+0x0b22 mem_usb_status
+0x0b23 mem_usb_fifo_empty
+0x0b24 mem_usb_read_len
+0x0b25 mem_usb_rxbuf
+0x0b65 mem_bufptr
+0x0b67 mem_remain
+0x0b68 mem_devicedesc
+0x0b7c mem_hidreportdesc_kb
+0x0b7e mem_hidreportdesc_m
+0x0b80 mem_confdesc
+0x0be4 mem_string0
+0x0be9 mem_string1
+0x0c07 mem_string2
+0x0c47 mem_string3
+0x0c65 mem_usb_zero_packet
+0x0c67 mem_usb_ones_packet
+0x0c69 mem_usb_two_packet
+0x0c6b mem_usb0_state
+0x0c6c mem_usb_offline_check_gpio
+0x0c6d mem_usb_tx_interval
+0x0c6e mem_usb_clear_mem_start
+0x0c6e mem_usb_setup
+0x0c6e mem_usb_setup_bmRequestType
+0x0c6f mem_usb_setup_bRequest
+0x0c70 mem_usb_setup_bValue
+0x0c71 mem_usb_setup_bValueH
+0x0c72 mem_usb_setup_wIndex
+0x0c74 mem_usb_setup_bLength
+0x0c75 mem_usb_setup_bLengthH
+0x0c76 mem_usb0_setup
+0x0cb6 mem_usb0_set_report_data
+0x0cf6 mem_usb0_get_report_data
+0x0d36 mem_usb_state
+0x0d37 mem_usb_tx_wait
+0x0d38 mem_usb_tx_enable
+0x0d39 mem_usb_remote_wakeup
+0x0d3a mem_usb_clear_remote_wakeup
+0x0d3b mem_usb_ep0_stall_status
+0x0d3c mem_usb_ep1_stall_status
+0x0d3d mem_usb_ep2_stall_status
+0x0d3e mem_usb_ep3_stall_status
+0x0d3f mem_dsc_info_data_pointer
+0x0d41 mem_dsc_info_len
+0x0d42 mem_usb0_data_ready_report
+0x0d43 mem_usb_tx_win_enable
+0x0d44 mem_usb_tx_mac_enable
+0x0d45 mem_usb_device_enumeration_endflag
+0x0d46 mem_usb_wakestate_onetime_flag
+0x0d47 mem_usb_mac_wakeup_trig
+0x0d48 mem_usb_set_high_addr_flag
+0x0d49 mem_usb_set_protocol_value
+0x0d4a mem_usb_set_protocol_status
+0x0d4b mem_usb_get_protocol_flag
+0x0d4c mem_usb_idle_flag
+0x0d4d mem_usb_idle_rate
+0x0d4e mem_usb_setup_bValue_temp
+0x0d50 mem_usb0_get_set_report
+0x0d51 mem_usb_ep1_data
+0x0d52 mem_usb_ep2_data
+0x0d53 mem_usb_clear_halt
+0x0d54 mem_usb_mouse_data
+0x0d64 mem_usb_kb_data
+0x0d74 mem_usb_kb_multikey
+0x0d84 mem_usb_kb_data_sta_data
+0x0d8c mem_usb_kb_data_last_data
+0x0d94 mem_usb_kb_multikey_sta_data
+0x0d97 mem_usb_kb_multikey_last_data
+0x0d9a mem_usb_kb_blank_data_enable
+0x0d9b mem_usb_kb_mul_blank_data_enable
+0x0d9c mem_usb_test_cnt
+0x0d9d mem_usb_clear_mem_end
+0x0d9d mem_usb_test_kb
+0x0d9e mem_rssi_noise_buffer
+0x0e9e mem_rssi_noise_dg_buffer
+0x0f9e mem_rssi_noise_ms_buffer
+0x109e mem_rssi_noise_kb_buffer
+0x119e mem_24g_common_temp
+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
+0x4090 mem_current_amaddr
+0x4091 mem_lpm_mode
+0x4092 mem_device_option
+0x4093 mem_scan_mode
+0x4094 mem_last_clkn
+0x4098 mem_features
+0x40a0 mem_lap
+0x40a3 mem_uap
+0x40a4 mem_nap
+0x40a6 mem_npage
+0x40a7 mem_glap
+0x40aa mem_class
+0x40ad mem_iscan_window
+0x40af mem_iscan_interval
+0x40b1 mem_pscan_window
+0x40b3 mem_pscan_interval
+0x40b5 mem_page_interval
+0x40b7 mem_page_window
+0x40b9 mem_page_to
+0x40bb mem_inq_window
+0x40bd mem_fcomp_mul
+0x40be mem_fcomp_div
+0x40bf mem_rx_window_init
+0x40c1 mem_rx_window_sniff
+0x40c3 mem_rf_init_ptr
+0x40c5 mem_last_type
+0x40c6 mem_last_type_esco
+0x40c7 mem_last_type_saved
+0x40c8 mem_retransmission_cnt
+0x40ca mem_next_btclk
+0x40ce mem_rf_rccal
+0x40cf mem_handle_num
+0x40d0 mem_max_slot
+0x40d1 mem_eir_enable
+0x40d2 mem_afh_instant
+0x40d6 mem_afh_error_total
+0x40d8 mem_afh_cfg
+0x40d9 mem_afh_new_mod
+0x40da mem_afh_map_lo
+0x40df mem_afh_map_hi
+0x40e4 mem_afh_used
+0x40e5 mem_afh_index
+0x40e7 mem_afh_map_new
+0x40f2 mem_afh_map
+0x4142 mem_afh_timer
+0x4146 mem_afh_classify_channel_map
+0x4150 mem_chip_functions
+0x4152 mem_lpm_wake_lock
+0x4154 mem_lpm_interval
+0x4156 mem_lpm_overhead
+0x4157 mem_lpm_hibernate_switch
+0x4158 mem_esco_addr
+0x4159 mem_sniff_unint_lost
+0x415a mem_ptt
+0x415b mem_sleep_counter//should be 0x41fc in REVC
+0x415f mem_sleep_counter_all
+0x4163 mem_sleep_clkn
+0x4169 mem_sniff_rcv
+0x416c mem_sniff_lost
+0x416f mem_clks_per_lpo
+0x4172 mem_lpm_mult
+0x4173 mem_lpm_mult_timeout
+0x4174 mem_lpm_mult_cnt
+0x4175 mem_lpm_config
+0x4178 mem_lpm_xtalcnt
+0x4179 mem_lpm_buckcnt
+0x417a mem_lpm_ldocnt
+0x417b mem_lpm_isogate
+0x417c mem_lpm_isogate_final
+0x417d mem_saved_gpio// should be 0x421e in REVC
+0x418d mem_saved_gsel
+0x4190 mem_saved_mark
+0x4198 mem_saved_spidctrl
+0x4199 mem_patch_ptr
+0x419b mem_patch_len
+0x419d mem_timers
+0x41bd mem_link_key_exists
+0x41be mem_link_key
+0x41ce mem_hci_cmd
+0x41cf mem_hci_conn_handle
+0x41d0 mem_hci_plap
+0x41d3 mem_hci_puap
+0x41d4 mem_hci_pnap
+0x41d6 mem_uartd_rxitems_got_data
+0x41d7 mem_uartd_rxitems_threshold
+0x41d8 mem_uartd_rx_timeout
+0x41da mem_loadcode_times
+0x41db mem_tx_lch
+0x41dc mem_tx_len
+0x41de mem_tx_power
+0x41df mem_context_number
+0x41e0 mem_250k_freq_enable
+0x41e1 mem_rf_init_data
+0x41e2 mem_app_handshake_flag
+0x41e3 mem_sniff_param_interval
+0x41e5 mem_sniff_param_attempt
+0x41e7 mem_sniff_param_timeout
+0x41e9 mem_cb_check_wakelock
+0x41eb mem_cb_before_hibernate
+0x41ed mem_cb_before_lpm
+0x41ef mem_cb_le_process
+0x41f1 mem_cb_bt_process
+0x41f3 mem_cb_idle_process
+0x41f5 mem_cb_bb_event_process
+0x41f7 mem_cb_discovry_timeout
+0x41f9 mem_cb_att_write
+0x41fb mem_cb_ble_transmit
+0x41fd mem_cb_event_timer
+0x41ff mem_cb_bt_set_mult
+0x4201 mem_cb_spi_flash_write_complate
+0x4203 mem_eeprom_base
+0x4205 mem_unsniff2sniff_timer_count
+0x4206 mem_wake_up_delay_timer
+0x4207 mem_app_connection_options
+0x4208 mem_app_disconn_reason
+0x420a mem_app_disconn_reason_flag
+0x420c mem_lpm_delay_after_sniff
+0x4210 mem_xrecord_mode
+0x4211 mem_eeprom_block_size
+0x4212 mem_spi_init_clk
+0x4213 mem_spi_init_delay_time
+0x4214 mem_spi_ncs_gpio
+0x4215 mem_nv_data_ptr
+0x4217 mem_nv_data_number
+0x4218 mem_queue_ptr
+0x421a mem_ui_led_struct_num
+0x421b mem_ui_led_struct_ptr
+0x421d mem_0_5_adc_io_data
+0x421f mem_1v_adc_hvin_data
+0x4221 mem_2v_adc_vinlpm_data
+0x4223 mem_1v_adc_io_data
+0x4225 mem_5v_adc_hvin_data
+0x4227 mem_3v_adc_vinlpm_data
+0x4229 mem_otp_adc_flag
+0x422b mem_reference_voltage
+0x422d mem_adc_config_flag
+0x422e mem_adc_channel
+0x422f mem_adc_current_value
+0x4231 mem_adc_power_flag//bit0:low power falg ; bit1:no power flag
+0x4232 mem_spi_write_addr
+0x4235 mem_spi_write_ptr
+0x4237 mem_spi_write_len
+0x4239 mem_spi_write_flash_sm
+0x423a mem_eeprom_wp_gpio
+0x423b mem_kscan_ptr
+0x423d mem_key_num_ptr
+0x423d mem_keyscan_ptr
+0x423f mem_power_param_ptr
+0x4241 mem_24g_head_ptr
+0x4243 mem_baud
+0x4245 mem_hci_lt_rx_state
+0x4246 mem_l2cap_xmem_start
+0x4246 mem_l2cap_tx_multi_offset//0 means single packet
+0x4248 mem_sdp_remote_cid
+0x424a mem_rfcomm_remote_cid
+0x424c mem_hid_ctrl_remote_cid
+0x424e mem_hid_int_remote_cid
+0x4250 mem_sdp_state
+0x4251 mem_rfcomm_state
+0x4252 mem_hid_control_state
+0x4253 mem_hid_interrupt_state
+0x4254 mem_spp_state
+0x4255 mem_ML2CAP_comm_id
+0x4256 mem_used_map
+0x4257 mem_tx_fifo0
+0x4257 mem_tx_fifo0_map
+0x4258 mem_tx_fifo0_ptr
+0x425a mem_tx_fifo1
+0x425a mem_tx_fifo1_map
+0x425b mem_tx_fifo1_ptr
+0x425d mem_tx_fifo2
+0x425d mem_tx_fifo2_map
+0x425e mem_tx_fifo2_ptr
+0x4260 mem_tx_fifo3
+0x4260 mem_tx_fifo3_map
+0x4261 mem_tx_fifo3_ptr
+0x4263 mem_tx_fifo_end
+0x4263 mem_l2cap_lpm_txbuf
+0x4363 mem_l2cap_flow_ctrl_flag
+0x4364 mem_l2cap_pending_item
+0x4365 mem_l2cap_xmem_end
+0x4365 mem_le_dsniff
+0x4367 mem_le_conn_interval
+0x4369 mem_le_scan_enable
+0x436a mem_le_scan_interval
+0x436c mem_le_scan_window
+0x436e mem_le_adv_enable
+0x436f mem_le_adv_data_len
+0x4370 mem_le_adv_data
+0x438f mem_le_scan_data_len
+0x4390 mem_le_scan_data
+0x43af mem_le_name_len
+0x43b0 mem_le_name
+0x43ce mem_le_new_map
+0x43d3 mem_le_new_param
+0x43d3 mem_le_new_transmitwindowsize
+0x43d4 mem_le_new_transmitwindowoffset
+0x43d6 mem_le_new_conninterval
+0x43d8 mem_le_new_connslavelatency
+0x43da mem_le_new_connsupervisiontimeout
+0x43dc mem_le_txheader
+0x43dd mem_le_txlen
+0x43de mem_le_txpayload
+0x43e0 mem_le_txcid
+0x43e2 mem_le_l2cap
+0x43e3 mem_le_l2cap_response
+0x43e4 mem_le_txbdy
+0x4403 mem_le_pcnt_tx
+0x4408 mem_le_pcnt_rx
+0x440d mem_le_last_mic
+0x4411 mem_le_ivm
+0x4415 mem_le_ivs
+0x4419 mem_le_ltk
+0x4429 mem_ltk_exists
+0x442a mem_le_rconfirm
+0x443a mem_le_srand
+0x444a mem_le_iat
+0x444b mem_le_rat
+0x444c mem_le_preq
+0x444d mem_le_preq_iocap
+0x444e mem_le_preq_oob
+0x444f mem_le_preq_auth
+0x4450 mem_le_preq_max_keysize
+0x4451 mem_le_preq_init_key_distribution
+0x4452 mem_le_preq_resp_key_distribution
+0x4453 mem_le_pres
+0x4454 mem_le_pres_iocap
+0x4455 mem_le_pres_oob
+0x4456 mem_le_pres_auth
+0x4457 mem_le_pres_max_keysize
+0x4458 mem_le_pres_init_key_distribution
+0x4459 mem_le_pres_resp_key_distribution
+0x445a mem_le_search_handle_start
+0x445c mem_le_search_handle_end
+0x445e mem_le_att_offset
+0x445e mem_le_search_att_type_length
+0x445f mem_le_search_att_type
+0x446f mem_le_notify_handle
+0x4471 mem_le_search_uuid_length
+0x4472 mem_le_search_uuid
+0x4482 mem_le_adv_param
+0x4482 mem_le_adv_interval
+0x4484 mem_le_adv_type
+0x4485 mem_le_adv_own_addr_type
+0x4486 mem_le_adv_direct_addr_type
+0x4487 mem_le_adv_direct_addr
+0x448d mem_le_adv_channel_map
+0x448e mem_le_conn_param
+0x448e mem_le_conn_peer_addr_type
+0x448f mem_le_conn_peer_addr
+0x4495 mem_le_conn_own_addr_type
+0x4496 mem_le_interval_min
+0x4498 mem_le_interval_max
+0x449a mem_le_latency
+0x449c mem_le_timeout
+0x449e mem_le_scan_params
+0x449e mem_le_scan_type
+0x449f mem_le_scan_own_addr_type
+0x44a0 mem_le_lap
+0x44a3 mem_le_uap
+0x44a4 mem_le_nap
+0x44a6 mem_le_local_mtu
+0x44a8 mem_le_remote_mtu
+0x44aa mem_le_skdm
+0x44b2 mem_le_skds
+0x44ba mem_le_init_superto
+0x44bc mem_ui_le_uuid_table
+0x44be mem_le_secure_connect_enable
+0x44bf mem_le_secure_connect_flag
+0x44c0 mem_le_sc_calc
+0x44c1 mem_le_secure_connect_state
+0x44c2 mem_le_sc_confirm_gkey_flag
+0x44c3 mem_le_sc_local_key_invalid
+0x44c4 mem_le_pairing_state
+0x44c5 mem_le_enc_state
+0x44c6 mem_le_pairing_mode
+0x44c7 mem_le_tk
+0x44cb mem_le_ediv
+0x44cd mem_le_rand
+0x44d5 mem_le_irk
+0x44e5 mem_le_transmit_window
+0x44e9 mem_le_configuration
+0x44ea mem_le_fixed_ltk
+0x44fa mem_le_pairing_handle
+0x44fc mem_le_l2cap_size
+0x44fe mem_le_packet_len_recved
+0x44ff mem_le_tx_buff_used
+0x4500 mem_le_tx_ptr0
+0x4502 mem_le_tx_ptr1
+0x4504 mem_le_tx_ptr2
+0x4506 mem_le_tx_ptr3
+0x4508 mem_le_signaling_identifier
+0x4509 mem_le_l2cap_signaling_conn_param_update_rsp_result
+0x450b mem_le_packet_size
+0x450c mem_le_packet_llid
+0x450d mem_le_payload_ptr
+0x450f mem_le_md_count
+0x4510 mem_lmp_version
+0x4513 mem_lmp_subversion
+0x4515 mem_local_name_length
+0x4516 mem_local_name
+0x4519 mem_local_name2
+0x4559 mem_local_name_end
+0x455a mem_unsniff2sniff_timer
+0x455b mem_switch_flag
+0x455c mem_classic_bt_flag
+0x455d mem_pn_dlci
+0x455e mem_pn_max_frame_size
+0x4560 memFCStemp1
+0x4561 memFCStemp2
+0x4562 memFCStemp3
+0x4563 mem_rfcomm_initiator
+0x4564 mem_remote_spp_channel
+0x4565 mem_HIUfcs_SPP
+0x4566 mem_HIUfcs_SPP_WCredits
+0x4567 mem_rfcomm_send_more_pkt
+0x4568 mem_remote_credits
+0x4569 mem_credit_given
+0x456a mem_ms_channel
+0x456b mem_credit_flag
+0x456c mem_rfcomm_max_frame_size
+0x456e mem_rfcomm_credit_init_data
+0x456f mem_cb_receive_spp_data
+0x4571 mem_nl_rx_data_src
+0x4573 mem_nl_rx_len_all
+0x4575 mem_ui_uuid_table
+0x4577 mem_all_uuid_16bits
+0x458d mem_all_uuid_128bits
+0x45af mem_sdp_l2capch_ptr
+0x45b1 mem_sp_local_key_invalid
+0x45b2 mem_le_private_key_256
+0x45d2 mem_le_pubkey_local_x_256
+0x45f2 mem_le_pubkey_local_y_256
+0x4612 mem_sp_private_key
+0x462a mem_sp_pubkey_local
+0x462a mem_sp_pubkey_local_x
+0x4642 mem_sp_pubkey_local_x_end
+0x4642 mem_sp_pubkey_local_y
+0x465a mem_ssp_enable
+0x465b mem_sp_iocap_local
+0x465e mem_sp_iocap_remote
+0x4661 mem_flag_mode_ssp_pin
+0x4662 mem_ssp_mode_flag
+0x4663 mem_authentication_passkey_times
+0x4664 mem_passkey_1bit
+0x4665 mem_flag_pairing_state
+0x4666 mem_ipc_lock_bt
+0x4667 mem_ipc_lock_c51
+0x4668 mem_ipc_fifo_bt2c51
+0x4670 mem_ipc_fifo_c512bt
+0x4678 mem_ui_button_timer
+0x4679 mem_ui_button_last_state
+0x467a mem_ui_timer_last_btclk
+0x467e mem_discovery_timeout_timer_count
+0x4680 mem_hid_handshake_timer_count
+0x4681 memui_reconnect_mode
+0x4682 mem_ui_state_map
+0x4684 mem_ui_profile_supported
+0x4685 mem_ui_button_timeout
+0x4686 mem_ui_button_gpio
+0x4687 mem_discovery_timeout
+0x4689 mem_pin_length
+0x468a mem_pin
+0x469a mem_antl_lpm_interval
+0x469c mem_antl_adv_interval
+0x469e mem_antl_slow_adv_lpm_interval
+0x46a0 mem_antl_slow_adv_adv_interval
+0x46a2 mem_antl_led_style
+0x46a2 mem_antl_led_type
+0x46a3 mem_antl_led_blink_count
+0x46a4 mem_antl_led_gpio
+0x46a5 mem_antl_led_on_time
+0x46a7 mem_antl_led_off_time
+0x46a9 mem_antl_led_cb_on
+0x46ab mem_antl_led_cb_off
+0x46ad mem_antl_buzzer_style
+0x46ad mem_antl_buzzer_type
+0x46ae mem_antl_buzzer_blink_count
+0x46af mem_antl_buzzer_gpio
+0x46b0 mem_antl_buzzer_on_time
+0x46b2 mem_antl_buzzer_off_time
+0x46b4 mem_antl_buzzer_cb_on
+0x46b6 mem_antl_buzzer_cb_off
+0x46b8 mem_antl_fast_adv_led_style
+0x46b8 mem_antl_fast_adv_led_type
+0x46b9 mem_antl_fast_adv_led_blink_count
+0x46ba mem_antl_fast_adv_led_gpio
+0x46bb mem_antl_fast_adv_led_on_time
+0x46bd mem_antl_fast_adv_led_off_time
+0x46bf mem_antl_slow_adv_led_style
+0x46bf mem_antl_slow_adv_led_type
+0x46c0 mem_antl_slow_adv_led_blink_count
+0x46c1 mem_antl_slow_adv_led_gpio
+0x46c2 mem_antl_slow_adv_led_on_time
+0x46c4 mem_antl_slow_adv_led_off_time
+0x46c6 mem_antl_power_starting_led_style
+0x46c6 mem_antl_power_starting_led_type
+0x46c7 mem_antl_power_starting_led_blink_count
+0x46c8 mem_antl_power_starting_led_gpio
+0x46c9 mem_antl_power_starting_led_on_time
+0x46cb mem_antl_power_starting_led_off_time
+0x46cd mem_antl_power_starting_buzzer_style
+0x46d4 mem_antl_power_off_led_style
+0x46d4 mem_antl_power_off_led_type
+0x46d5 mem_antl_power_off_led_link_count
+0x46d6 mem_antl_power_off_led_gpio
+0x46d7 mem_antl_power_off_led_on_time
+0x46d9 mem_antl_power_off_led_off_time
+0x46db mem_antl_power_off_buzzer_style
+0x46db mem_antl_power_off_buzzer_type
+0x46dc mem_antl_power_off_buzzer_link_count
+0x46dd mem_antl_power_off_buzzer_gpio
+0x46de mem_antl_power_off_buzzer_on_time
+0x46e0 mem_antl_power_off_buzzer_off_time
+0x46e2 mem_antl_alert_led_stlye
+0x46e9 mem_antl_alert_buzzer_stlye
+0x46e9 mem_antl_alert_buzzer_type
+0x46ea mem_antl_alert_buzzer_blink_count
+0x46eb mem_antl_alert_buzzer_gpio
+0x46ec mem_antl_alert_buzzer_on_time
+0x46ee mem_antl_alert_buzzer_off_time
+0x46f0 mem_antl_key_led_style
+0x46f0 mem_antl_key_led_type
+0x46f1 mem_antl_key_led_blink_count
+0x46f2 mem_antl_key_led_gpio
+0x46f3 mem_antl_key_led_on_time
+0x46f5 mem_antl_key_led_off_time
+0x46f7 mem_antl_key_buzzer_style
+0x46fe mem_antl_queue_width
+0x46ff mem_antl_queue_depth
+0x4700 mem_antl_queue_curr_num
+0x4701 mem_antl_queue_read_ptr
+0x4702 mem_antl_queue_write_ptr
+0x4703 mem_antl_queue_buff
+0x4753 mem_antl_key_scan_enable
+0x4754 mem_antl_led_num
+0x4755 mem_antl_led_gpio_map
+0x4759 mem_antl_power_param
+0x4759 mem_antl_power_state
+0x475a mem_antl_power_timer
+0x475b mem_antl_power_off_timeout
+0x475c mem_antl_power_starting_timeout
+0x475d mem_antl_power_off_cb
+0x475f mem_antl_power_starting_cb
+0x4761 mem_antl_power_standby_cb
+0x4763 mem_event_button_up_cb
+0x4765 mem_antl_key_num
+0x4766 mem_cb_antl_key
+0x4768 mem_antl_key_conf0
+0x476c mem_antl_key0_press
+0x477b mem_antl_key0_release
+0x478a mem_antl_conn_updata_procedure_state
+0x478b mem_client_characteristic_configuration_descriptor
+0x478d mem_adc_timer
+0x478f mem_antl_conn_update_timer
+0x4790 mem_antl_send_updata_le_param_timer
+0x4791 mem_antl_le_sleep_timer
+0x4793 mem_antl_fast_adv_timer
+0x4795 mem_antl_fast_adv_timeout
+0x4797 mem_antl_le_sleep_timeout
+0x4799 mem_double_click_timer
+0x479a mem_butten_click_cnt
+0x479b mem_antl_led_state
+0x479c mem_antl_buzzer_state
+0x479d mem_antl_key_state
+0x479e mem_antl_lost_mode
+0x479f mem_alarm_config
+0x47a0 mem_alarm_config_notfy_cnt
+0x47a1 mem_buzzer_pwm_conf
+0x47a7 mem_adc_timeout
+0x47a9 mem_voltage_remain_percent
+0x47aa mem_battery_calculate_set
+0x47aa mem_battery_full_voltage
+0x47ac mem_battery_empty_voltage
+0x47ae mem_battery_low_voltage
+0x47b0 mem_battery_current_voltage
+0x47b2 mem_rx_window_sniff_inc
+0x47b4 mem_interval_increment
+0x47b6 mem_antl_le_interval_min
+0x47b8 mem_antl_le_interval_max
+0x47ba mem_antl_le_latency
+0x47bc mem_antl_le_timeout
+0x47be mem_antl_le_unnormal_interval_min
+0x47c0 mem_antl_le_unnormal_interval_max
+0x47c2 mem_antl_le_unnormal_latency
+0x47c4 mem_antl_le_unnormal_timeout
+0x47c6 mem_AntiLost_le_att_list
+0x469a mem_car_hard_soft_switch
+0x469b mem_car_queue_each_size
+0x469c mem_car__queue_length
+0x469d mem_car_queue_curr_num
+0x469e mem_car_queue_read_ptr
+0x469f mem_car_queue_write_ptr
+0x46a0 mem_car_queue_ele
+0x4718 mem_car_pop_queue_buff
+0x472c mem_car_led_num
+0x472d mem_car_led_map
+0x4737 mem_car_style1_led_type
+0x4738 mem_car_style1_blink_count
+0x4739 mem_car_style1_struct_led_gpio
+0x473a mem_car_style1_on_time
+0x473c mem_car_style1_off_time
+0x473e mem_car_style1_cb_ledon
+0x4740 mem_car_style1_cb_ledoff
+0x4742 mem_car_style2_led_type
+0x4743 mem_car_style2_blink_count
+0x4744 mem_car_style2_struct_led_gpio
+0x4745 mem_car_style2_on_time
+0x4747 mem_car_style2_off_time
+0x4749 mem_car_style2_cb_ledon
+0x474b mem_car_style2_cb_ledoff
+0x474d mem_le_receive_data
+0x474d mem_le_receive_packet_head
+0x474f mem_le_receive_cmd
+0x4750 mem_le_receive_length
+0x4752 mem_le_receive_payload
+0x475c mem_le_receive_checksum
+0x475d mem_motor1_status
+0x475e mem_motor1_speed
+0x475f mem_motor2_status
+0x4760 mem_motor2_speed
+0x4761 mem_motor3_status
+0x4762 mem_motor3_speed
+0x4763 mem_motor1_pwm_set
+0x4763 mem_motor1_pwm_pin1_set
+0x4764 mem_motor1_pwm_pin2_set
+0x4765 mem_motor1_pwm_pin_set
+0x4766 mem_motor1_pwm_channel_set
+0x4767 mem_motor1_pwm_freq_set
+0x476a mem_motor1_pwm_dute_set
+0x476b mem_motor2_pwm_set
+0x476b mem_motor2_pwm_pin1_set
+0x476c mem_motor2_pwm_pin2_set
+0x476d mem_motor2_pwm_pin_set
+0x476e mem_motor2_pwm_channel_set
+0x476f mem_motor2_pwm_freq_set
+0x4772 mem_motor2_pwm_dute_set
+0x4773 mem_motor3_pwm_set
+0x4773 mem_motor3_pwm_pin1_set
+0x4774 mem_motor3_pwm_pin2_set
+0x4775 mem_motor3_pwm_pin_set
+0x4776 mem_motor3_pwm_channel_set
+0x4777 mem_motor3_pwm_freq_set
+0x477a mem_motor3_pwm_dute_set
+0x477b mem_motor_select_p_n
+0x477c mem_car_motor_status
+0x477d mem_car_motor_speed
+0x477e mem_motor_pwm_set
+0x477e mem_motor_pwm_pin1_set
+0x477f mem_motor_pwm_pin2_set
+0x4780 mem_motor_pwm_pin_set
+0x4781 mem_motor_pwm_channel_set
+0x4782 mem_motor_pwm_freq_set
+0x4785 mem_motor_pwm_dute_set
+0x4786 mem_ir_rx_gpio
+0x4787 mem_ir_data
+0x4789 mem_ir_rx_buf
+0x478b mem_ir_receive_clkn
+0x478f mem_ir_notify_data
+0x4792 mem_ir_notify_data_head
+0x4797 mem_ir_notify_data_payload
+0x4799 mem_ir_notify_data_check_sum
+0x479a mem_car_ir_breakdown_check_timer
+0x479b mem_car_ir_breakdown_flag
+0x479c mem_car_led_control
+0x479c mem_car_led1_status
+0x479d mem_car_led2_status
+0x479e mem_car_led3_status
+0x479f mem_car_led4_status
+0x47a0 mem_car_led5_status
+0x47a1 mem_car_led6_status
+0x47a2 mem_car_led7_status
+0x47a3 mem_car_led8_status
+0x47a4 mem_car_led_control_timer
+0x47a5 mem_car_led_blink_status
+0x47a6 mem_car_led_no
+0x47a7 mem_car_info_request
+0x47aa mem_car_info_request_head
+0x47af mem_car_info_request_payload
+0x47b7 mem_car_info_request_checksum
+0x47b8 mem_car_config_param
+0x47b8 mem_car_config_setting_flag
+0x47b9 mem_car_config_device_select
+0x47ba mem_car_config_motor_layout
+0x47bb mem_car_config_ir_enable
+0x47bc mem_car_config_ir_rx_gpio
+0x47bd mem_car_config_pairing_led_conn_status
+0x47be mem_car_config_pairing_led_gpio
+0x47bf mem_car_config_led_num
+0x47c0 mem_car_config_blood_led_gpio
+0x47c0 mem_car_config_blood_led1_gpio
+0x47c1 mem_car_config_blood_led2_gpio
+0x47c2 mem_car_config_blood_led3_gpio
+0x47c3 mem_car_config_blood_led4_gpio
+0x47c4 mem_car_config_blood_led5_gpio
+0x47c5 mem_car_config_blood_led6_gpio
+0x47c6 mem_car_config_blood_led7_gpio
+0x47c7 mem_car_config_blood_led8_gpio
+0x47c8 mem_car_config_bat_notify_enable
+0x47c9 mem_car_config_low_voltage_led_gpio
+0x47ca mem_car_config_low_voltage_percent
+0x47cb mem_car_config_soft_switch_enable
+0x47cc mem_car_config_soft_switch_gpio
+0x47cd mem_car_notify_vdd_count
+0x47ce mem_car_notify_vdd_timer
+0x47cf mem_car_notify_vdd_value_last
+0x47d0 mem_car_notify_vdd_percent
+0x47d1 mem_car_working_flag
+0x47d2 mem_low_bat_flag
+0x47d3 mem_notify_bat_packet
+0x47d6 mem_notify_bat_head
+0x47db mem_notify_bat_payload
+0x47dc mem_notify_bat_check_sum
+0x47dd mem_vdd_notify_flag
+0x47de mem_car_current_vdd_value_temp
+0x47e0 mem_car_last_vdd_value
+0x47e2 mem_vdd_calculate_set
+0x47e2 mem_vdd_full_vol
+0x47e4 mem_vdd_empty_vol
+0x47e6 mem_vdd_low_vol
+0x47e8 mem_vdd_now_vol
+0x47ea mem_car_24g_status
+0x47eb mem_car_24g_no_data_timeout_count
+0x47ed mem_car_24g_no_data_timeout_timer
+0x47ef mem_car_24g_ir_receive_attack_count
+0x47f0 mem_car_24g_go_die_flag
+0x47f1 mem_car_attack_shake_timer
+0x47f2 mem_car_attack_shake_flag
+0x47f3 mem_car_soft_power
+0x47f3 mem_car_power_state
+0x47f4 mem_car_power_timer
+0x47f5 mem_car_power_off_timeout
+0x47f6 mem_car_power_starting_timeout
+0x47f7 mem_car_power_off_cb
+0x47f9 mem_car_power_starting_cb
+0x47fb mem_car_power_standby_cb
+0x47fd mem_car_ui_button_up_cb
+0x47ff mem_car_le_att_list
+0x49f3 mem_car_moto1_blank_timer
+0x49f4 mem_car_moto2_blank_timer
+0x49f5 mem_car_moto3_blank_timer
+0x49f6 mem_car_24g_received_pac
+0x49f7 mem_24g_car_head_ptr
+0x469a mem_light_pwm0
+0x469b mem_light_pwm1
+0x469c mem_light_pwm2
+0x469d mem_light_pwm3
+0x469e mem_light_pwm4
+0x469f mem_light_pwm5
+0x46a0 mem_light_pairing_enable
+0x46a1 mem_light_pairing_timer
+0x46a3 mem_light_cnum
+0x46a4 mem_light_next_record
+0x46a5 mem_light_clist
+0x46f5 mem_light_crr_cmd_count
+0x46f6 mem_curr_packet_num
+0x469a mem_lightc_led_gpio
+0x469b mem_lightc_row
+0x46a1 mem_lightc_col
+0x46a7 mem_adv_time
+0x46a8 mem_cmd0_string
+0x46bc mem_cmd1_string
+0x46d0 mem_cmd2_string
+0x46e4 mem_cmd3_string
+0x46f8 mem_cmd4_string
+0x470c mem_cmd5_string
+0x4720 mem_cmd6_string
+0x4734 mem_cmd7_string
+0x4748 mem_cmd8_string
+0x475c mem_cmd9_string
+0x4770 mem_cmd10_string
+0x4784 mem_cmd11_string
+0x4798 mem_cmd12_string
+0x47ac mem_cmd13_string
+0x47c0 mem_cmd14_string
+0x47d4 mem_cmd15_string
+0x47e8 mem_cmd16_string
+0x47fc mem_cmd17_string
+0x4810 mem_cmd18_string
+0x4824 mem_cmd19_string
+0x4838 mem_cmd20_string
+0x469a mem_soft_version_num
+0x469c mem_module_wake_up_gpio
+0x469d mem_module_state_gpio
+0x469e mem_module_connect_state_gpio
+0x469f mem_current_packet_length
+0x46a1 mem_module_state
+0x46a2 mem_module_mcu_wake_pin
+0x46a3 mem_module_mcu_wake_delay_us
+0x46a7 mem_module_spp_lpm_mult
+0x46a8 mem_module_le_lpm_mult
+0x46a9 mem_module_bluetooth_stauts_by_command
+0x46aa mem_module_uart_rx_buffer
+0x46ac mem_module_uart_rx_buffer_end
+0x46ae mem_module_uart_tx_buffer
+0x46b0 mem_module_uart_tx_buffer_end
+0x46b2 mem_module_read_vdd_flag
+0x46b3 mem_module_read_vdd_count
+0x46b4 mem_module_vdd_quotient
+0x46b5 mem_module_vdd_remainder
+0x46b6 mem_module_le_rx_data_len
+0x46b7 mem_module_le_rx_data_address
+0x46b9 mem_module_le_rx_data_handle
+0x46bb mem_module_data_write_handle
+0x46bd mem_module_data_write_handle2
+0x46bf mem_module_flag
+0x46c0 mem_module_hci_notify_len
+0x46c1 mem_module_hci_notify_handle
+0x46c3 mem_module_hci_nofiy_addr
+0x46c5 mem_last_transmite_clock
+0x46c9 mem_module_uuid_list
+0x47f5 mem_module_uuid_list_end
+0x47f5 mem_module_le_att_list
+0x4a4d mem_module_le_att_list_end
+0x4a4d mem_module_nv_data
+0x4a4d mem_module_nv_data0
+0x4a6f mem_module_nv_data1
+0x4a91 mem_module_nv_data2
+0x4ab3 mem_module_nv_data3
+0x4ad5 mem_module_nv_data4
+0x469a mem_remote_car_hard_soft_switch
+0x469b mem_remote_car_queue_each_size
+0x469c mem_remote_car_queue_length
+0x469d mem_remote_car_queue_curr_num
+0x469e mem_remote_car_queue_read_ptr
+0x469f mem_remote_car_queue_write_ptr
+0x46a0 mem_remote_car_queue_ele
+0x46fa mem_remote_style_led_type
+0x46fb mem_remote_style_blink_count
+0x46fc mem_remote_style_struct_led_gpio
+0x46fd mem_remote_style_on_time
+0x46ff mem_remote_style_off_time
+0x4701 mem_remote_style_cb_ledon
+0x4703 mem_remote_style_cb_ledoff
+0x4705 mem_remote_car_led_num
+0x4706 mem_remote_car_led_map
+0x470e mem_remote_car_keyscan
+0x470e mem_remote_car_key_num
+0x470f mem_cb_remote_car_keyscan
+0x4711 mem_remote_car_key_conf0
+0x4711 mem_remote_car_key_conf0_pin
+0x4712 mem_remote_car_key_conf1
+0x4712 mem_remote_car_key_conf1_pin
+0x4713 mem_remote_car_key_conf2
+0x4713 mem_remote_car_key_conf2_pin
+0x4714 mem_remote_car_key_conf3
+0x4714 mem_remote_car_key_conf3_pin
+0x4715 mem_remote_car_key_conf4
+0x4715 mem_remote_car_key_conf4_pin
+0x4716 mem_remote_car_key_conf5
+0x4716 mem_remote_car_key_conf5_pin
+0x4717 mem_remote_car_key_conf6
+0x4717 mem_remote_car_key_conf6_pin
+0x4718 mem_rocker_negative_flag
+0x4719 mem_rocker_work_status
+0x471a mem_current_vdd_value_default_mid_x
+0x471c mem_current_vdd_value_default_mid_y
+0x471e mem_current_vdd_value_default_mid_temp
+0x4720 mem_current_vdd_default_range
+0x4722 mem_rocker_last_status
+0x4724 mem_rocker_status
+0x4724 mem_rocker_x_status
+0x4725 mem_rocker_y_status
+0x4726 mem_remote_car_config_param
+0x4726 mem_remote_car_config_setting_flag
+0x4727 mem_remote_car_config_key_map
+0x4728 mem_remote_car_config_layout
+0x4729 mem_remote_car_config_connect_led_gpio
+0x472a mem_remote_car_config_check_way
+0x472b mem_remote_car_config_soft_switch_enable
+0x472c mem_remote_car_config_soft_switch_gpio
+0x472d mem_remote_car_config_timeout_shutdown_enable
+0x472e mem_remote_car_24g_motor_packet
+0x472e mem_remote_car_24g_motor_packet_lenght
+0x472f mem_remote_car_24g_motor_send_packet_head
+0x4731 mem_remote_car_24g_motor_send_cmd
+0x4732 mem_remote_car_24g_motor_send_length
+0x4734 mem_remote_car_24g_motor_send_payload
+0x4734 mem_remote_car_24g_motor1_payload
+0x4736 mem_remote_car_24g_motor2_payload
+0x4738 mem_remote_car_24g_motor3_payload
+0x473a mem_remote_car_24g_motor_send_checksum
+0x473b mem_remote_car_24g_fire_packet
+0x473b mem_remote_car_24g_fire_packet_lenght
+0x473c mem_remote_car_24g_fire_send_packet_head
+0x473e mem_remote_car_24g_fire_send_cmd
+0x473f mem_remote_car_24g_fire_send_length
+0x4741 mem_remote_car_24g_fire_send_payload
+0x4743 mem_remote_car_24g_fire_send_checksum
+0x4744 mem_remote_car_24g_tx_temp
+0x4753 mem_remote_car_no_data_timeout
+0x4755 mem_remote_car_no_data_timer
+0x4757 mem_remote_car_soft_power
+0x4757 mem_remote_car_power_state
+0x4758 mem_remote_car_power_timer
+0x4759 mem_remote_car_power_off_timeout
+0x475a mem_remote_car_power_starting_timeout
+0x475b mem_remote_car_power_off_cb
+0x475d mem_remote_car_power_starting_cb
+0x475f mem_remote_car_power_standby_cb
+0x4761 mem_remote_key_status
+0x4762 mem_remote_car_24g_status
+0x4763 mem_remote_car_24g_auto_work_step
+0x4764 mem_remote_car_24g_pair_success_flag
+0x4765 mem_remote_car_24g_enter_lpm_enable
+0x4766 mem_remote_car_empty_packet
+0x4767 mem_24g_RC_head_ptr
+0x469a mem_shutter_bluetooth_type
+0x469b mem_shutter_config_enable
+0x469c mem_shutter_config_otp_base_address
+0x469e mem_shutter_config_size
+0x469f mem_shutter_config_select_gpio1
+0x46a0 mem_shutter_config_select_gpio2
+0x46a1 mem_shutter_config_select_gpio3
+0x46a2 mem_shutter_config_user_otp_address
+0x46a4 mem_shutter_config_eeprom_offset_addr
+0x46a6 mem_shutter_config_eeprom_start_flag
+0x46a8 mem_shutter_config_user_size
+0x46a9 mem_shutter_config_label
+0x46aa mem_shutter_config_otp_addr
+0x46ac mem_classic_shutter_cable_unplug_conut
+0x46ad mem_classic_shutter_hid_disconn_count
+0x46ae mem_classic_shutter_random_mac_offset_addr
+0x46b0 mem_ble_shutter_enable_notify
+0x46b1 mem_ble_shutter_reconn_dav_interval
+0x46b3 mem_ble_shutter_discovery_adv_interval
+0x46b5 mem_ble_shutter_reconn_timeout
+0x46b7 mem_ble_shutter_reconn_timer
+0x46b9 mem_ble_shutter_reconn_blink_on_time
+0x46bb mem_ble_shutter_reconn_blink_off_time
+0x46bd mem_ble_shutter_discovery_blink_on_time
+0x46bf mem_ble_shutter_discovery_blink_off_time
+0x46c1 mem_ble_shutter_interval_min
+0x46c3 mem_ble_shutter_interval_max
+0x46c5 mem_ble_shutter_latency
+0x46c7 mem_ble_shutter_timeout
+0x46c9 mem_ble_shutter_interval_min_new
+0x46cb mem_ble_shutter_interval_max_new
+0x46cd mem_ble_shutter_latency_new
+0x46cf mem_ble_shutter_timeout_new
+0x46d1 mem_classic_shutter_discovery_timeout
+0x46d3 mem_classic_shutter_connect_timeout
+0x46d5 mem_ble_shutter_discovery_timeout
+0x46d7 mem_ble_shutter_connect_timeout
+0x46d9 mem_shutter_sleep_timeout
+0x46db mem_shutter_sleep_timer
+0x46dd mem_shutter_hard_soft_switch_case
+0x46de mem_shutter_soft_switch_button_gpio
+0x46df mem_shutter_soft_switch_power_state
+0x46e0 mem_shutter_soft_switch_poweron_time
+0x46e1 mem_shutter_soft_switch_poweroff_time
+0x46e2 mem_shutter_soft_switch_poweron_callback_function
+0x46e4 mem_shutter_soft_switch_poweroff_callback_function
+0x46e6 mem_shutter_keyscan
+0x46e6 mem_shutter_key_num
+0x46e7 mem_cb_shutter_keycan
+0x46e9 mem_shutter_key_conf0
+0x46ea mem_shutter_key_conf1
+0x46eb mem_shutter_key_conf2
+0x46ec mem_shutter_key_conf3
+0x46ed mem_shutter_key_conf4
+0x46ee mem_shutter_key_conf5
+0x46ef mem_shutter_key_conf6
+0x46f0 mem_shutter_key_conf7
+0x46f1 mem_key0_press
+0x46f6 mem_key1_press
+0x46fb mem_key2_press
+0x4700 mem_key3_press
+0x4705 mem_key4_press
+0x470a mem_key5_press
+0x470f mem_key6_press
+0x4714 mem_key7_press
+0x4719 mem_key0_release
+0x471e mem_key1_release
+0x4723 mem_key2_release
+0x4728 mem_key3_release
+0x472d mem_key4_release
+0x4732 mem_key5_release
+0x4737 mem_key6_release
+0x473c mem_key7_release
+0x4741 mem_ble_data_buffer1
+0x4746 mem_ble_data_buffer2
+0x474b mem_ble_data_buffer3
+0x4750 mem_ble_data_buffer4
+0x4755 mem_ble_data_buffer5
+0x475a mem_ble_data_buffer6
+0x475f mem_ble_data_buffer7
+0x4764 mem_ble_data_buffer8
+0x4769 mem_ble_data_buffer9_58
+0x479b mem_classic_data_buffer
+0x47a0 mem_classic_data_buffer1
+0x47a5 mem_classic_data_buffer2
+0x47aa mem_classic_data_buffer3
+0x47af mem_classic_data_buffer4
+0x47b4 mem_classic_data_buffer5
+0x47b9 mem_classic_data_buffer6
+0x47be mem_classic_data_buffer7
+0x47c3 mem_classic_data_buffer8
+0x47c8 mem_classic_data_buffer9_58
+0x47fa mem_queue_each_size
+0x47fb mem_queue_length
+0x47fc mem_queue_curr_num
+0x47fd mem_queue_read_ptr
+0x47fe mem_queue_write_ptr
+0x47ff mem_queue_ele
+0x481f mem_shutter_nv_data
+0x48c9 mem_shutter_led_struct_app_led
+0x48c9 mem_shutter_led_struct_app_led_type
+0x48ca mem_shutter_led_struct_app_led_blink_count
+0x48cb mem_shutter_led_struct_app_led_gpio
+0x48cc mem_shutter_led_struct_app_led_on_time
+0x48ce mem_shutter_led_struct_app_led_off_time
+0x48d0 mem_shutter_led_struct_app_led_on_callback
+0x48d2 mem_shutter_led_struct_app_led_off_callback
+0x48d4 mem_shutter_power_off_led_style
+0x48d4 mem_shutter_power_off_led_style_type
+0x48d5 mem_shutter_power_off_led_style_blink_count
+0x48d6 mem_shutter_power_off_led_style_gpio
+0x48d7 mem_shutter_power_off_led_style_on_time
+0x48d9 mem_shutter_power_off_led_style_off_time
+0x48db mem_shutter_power_off_led_style_on_callback
+0x48dd mem_shutter_power_off_led_style_off_callback
+0x48df mem_shutter_soft_swtich_botton_down
+0x48e0 mem_shutter_soft_swtich_led_struct_temp
+0x48eb mem_shutter_power_off_timeout
+0x48ec mem_shutter_power_off_timer
+0x469a mem_mouse_key
+0x469b mem_mouse_x
+0x469d mem_mouse_y
+0x469f mem_mouse_z
+0x46a0 mem_mouse_tz
+0x46a1 mem_mouse_xy_h
+0x46a2 mem_sensor_shutter_hi
+0x46a3 mem_sensor_shutter_lo
+0x46a4 mem_sensor_smart_flag
+0x46a5 mem_sensor_squal_reg
+0x46a6 mem_sensor_iqc
+0x46a7 mem_mouse_move_flag
+0x46a8 mem_mouse_direct_timeout
+0x46aa mem_mouse_no_data_timeout
+0x46ac mem_mouse_discovery_timer
+0x46ae mem_mouse_direct_timer
+0x46b0 mem_mouse_no_data_timer
+0x46b2 mem_mouse_blank_data_timer
+0x46b4 mem_mouse_send_blank_timer
+0x46b5 mem_mouse_cpi_count
+0x46b6 mem_mouse_dpi_button_state
+0x46b7 mem_wheel_tb_old_pinlevel
+0x46b8 mem_wheel_tb_new_pinlevel
+0x46b9 mem_wheel_tog
+0x46ba mem_mouse_tz_data
+0x46bb mem_mouse_tz_data_count
+0x46bc mem_mouse_tz_data_count1
+0x46bd mem_mwheel_b_old_pinlevel
+0x46be mem_mwheel_b_new_pinlevel
+0x46bf mem_mwheel_tog
+0x46c0 mem_mouse_z_data
+0x46c1 mem_mouse_z_data_count
+0x46c2 mem_mouse_z_data_count1
+0x46c3 mem_reconn_mode
+0x46c4 mem_mouse_statue_led_timer
+0x46c5 mem_le_connect_status_flag
+0x46c6 mem_le_start_encrypt_timer
+0x46c7 mem_device_addr_temp
+0x46ce mem_adc_read_timer
+0x46cf mem_adc_low_volatage_led_timer_count
+0x46d0 mem_adc_reference_voltage
+0x46d2 mem_device_number
+0x46d3 mem_mouse_flag
+0x46d5 mem_mouse_function_enable
+0x46d7 mem_combination_select_device_timer_init
+0x46d8 mem_combination_select_device_count
+0x46d9 mem_select_device_button_statue
+0x46da mem_combination_ui_button_count
+0x46db mem_bt_discovey_button_statue
+0x46dc mem_sensor_reset_gpio
+0x46dd mem_sensor_id1
+0x46de mem_sensor_id2
+0x46df mem_mouse_dpi_led_delay_count
+0x46e0 mem_config_sensor_type
+0x46e1 mem_config_sensor_motion
+0x46e2 mem_lbutton_gpio
+0x46e3 mem_rbutton_gpio
+0x46e4 mem_mbutton_gpio
+0x46e5 mem_bk_button_gpio
+0x46e6 mem_fw_button_gpio
+0x46e7 mem_dpi_button_gpio
+0x46e8 mem_whee_a_data_gpio
+0x46e9 mem_whee_b_data_gpio
+0x46ea mem_whee_ta_data_gpio
+0x46eb mem_whee_tb_data_gpio
+0x46ec mem_config_bt_button_gpio
+0x46ed mem_config_select_device_button_gpio
+0x46ee mem_config_paraing_led_gpio
+0x46ef mem_config_low_voltage_alarm_gpio
+0x46f0 mem_config_device1_led_gpio
+0x46f1 mem_config_device2_led_gpio
+0x46f2 mem_config_device3_led_gpio
+0x46f3 mem_sensor_data_gpio
+0x46f4 mem_dpi_led_gpio
+0x46f5 mem_config_function_enable
+0x46f6 mem_config_sensor_angle
+0x46f7 mem_select_sensor_angle_gpio
+0x46f8 mem_select_adc_gpio
+0x46f9 mem_config_end
+0x46f9 mem_btclk_sensor
+0x46fd mem_wire_usb_interval
+0x46fe mem_mouse_mode_flag
+0x46ff mem_usb_addr
+0x4700 mem_flash_base
+0x4703 mem_24g_device_number
+0x4704 mem_24g_enter_lpm_timer
+0x4705 mem_mouse_1step_up_count
+0x4706 mem_mouse_2step_up_count
+0x4707 mem_24g_pairing_timer_count
+0x4709 mem_mouse_vdd_calculate_set
+0x4709 mem_mouse_vdd_full_vol
+0x470b mem_mouse_vdd_empty_vol
+0x470d mem_mouse_vdd_low_vol
+0x470f mem_mouse_vdd_now_vol
+0x4711 mem_mouse_sensor_timer_count
+0x4712 mem_sensor_led_style
+0x4713 mem_mouse_led_type
+0x4714 mem_mouse_blink_count
+0x4715 mem_mouse_struct_led_gpio
+0x4716 mem_mouse_on_time
+0x4718 mem_mouse_off_time
+0x471a mem_mouse_cb_ledon
+0x471c mem_mouse_cb_ledoff
+0x471e mem_reconn_times
+0x471f mem_reconn_times_init
+0x4720 mem_mouse_information_start
+0x4720 mem_device_flag
+0x4721 mem_device1_type
+0x4722 mem_device1_addr
+0x4728 mem_device1_link_key
+0x4738 mem_device1_locall_addr
+0x473e mem_device2_type
+0x473f mem_device2_addr
+0x4745 mem_device2_link_key
+0x4755 mem_device2_locall_addr
+0x475b mem_device3_type
+0x475c mem_device3_addr
+0x4762 mem_device3_link_key
+0x4772 mem_device3_locall_addr
+0x4778 mem_store_flag
+0x477a mem_mouse_dpi
+0x477b mem_mouse_24g_addr
+0x477f mem_mouse_information_end
+0x477f mem_mouse_dpi_seting
+0x477f mem_320x_dpi_1
+0x4780 mem_320x_dpi_2
+0x4781 mem_320x_dpi_3
+0x4782 mem_320x_dpi_4
+0x4783 mem_3212_dpi_1
+0x4784 mem_3212_dpi_2
+0x4785 mem_3212_dpi_3
+0x4786 mem_3212_dpi_4
+0x4787 mem_3610_dpi_1
+0x4788 mem_3610_dpi_2
+0x4789 mem_3610_dpi_3
+0x478a mem_3610_dpi_4
+0x478b mem_mouse_24g_enter_lpm_enable
+0x478c mem_le_rx_window_inc
+0x478e mem_empty_count
+0x478f mem_rf_init_data_new
+0x479c mem_mouse_clear_sensor_data_flag
+0x479d mem_mouse_null_enter_hibernate_flag
+0x479e mem_mouse_null_enter_hibernate_timer
+0x479f mem_mouse_le_reconnect_flag
+0x47a0 mem_mouse_data_queue
+0x47c1 mem_mouse_data_queue_num
+0x47c2 mem_random_addr_increase_count
+0x47c4 mem_mouse_le_conn_param_reject
+0x47c5 mem_lpm_mult_init
+0x47c6 mem_mouse_le_uuid_sup
+0x4806 mem_mouse_wheel_trigger
+0x4807 mem_mouse_wheel_trigger_timer
+0x4808 mem_mouse_enter_sniff_count
+0x4809 mem_mouse_send_switch_req_timer
+0x480a mem_le_tx_buffer0_omemalloc
+0x4825 mem_le_tx_buffer1_omemalloc
+0x4840 mem_le_tx_buffer2_omemalloc
+0x485b mem_le_tx_buffer3_omemalloc
+0x4876 mem_mouse_uuid_list
+0x4afc mem_lmi_opcode_temp
+0x4afd mem_mouse_long_mult_flag
+0x4afe mem_mouse_le_current_mult_timer
+0x4aff mem_24g_long_sleep_param_update_timer
+0x4b00 mem_mouse_mode_config
+0x4b01 mem_mouse_dpi_blink_count
+0x4b02 mem_mouse_adc_last_low_voltage_flag
+0x4b03 mem_mouse_init_sensor_reset_flag
+0x4b04 mem_mouse_multi_led_blink_enable
+0x4b05 mem_mouse_multi_led_gpio
+0x4b06 mem_mouse_multi_led_state
+0x4b07 mem_mouse_multi_led_type
+0x4b08 mem_mouse_multi_led_on_timer
+0x4b09 mem_mouse_multi_led_on_timer_init
+0x4b0a mem_mouse_multi_led_blink_timer
+0x4b0b mem_mouse_multi_led_blink_timer_init
+0x4b0c mem_mouse_multi_led_blink_count
+0x4b0d mem_mouse_multi_led_blink_count_limited
+0x4b0e mem_mouse_multi_led_on_poweron2s_flag
+0x4b0f mem_24g_rxbuf
+0x4b31 mem_24g_txbuf
+0x4b51 mem_24g_txpayload
+0x4b73 mem_24g_rxpayload
+0x4b93 mem_24g_rxdata_length
+0x4b94 mem_24g_pid
+0x4b95 mem_24g_datalen
+0x4b96 mem_24g_data_type
+0x4b97 mem_24g_txlen
+0x4b98 mem_24g_rx_window
+0x4b9a mem_24g_ensure
+0x4b9b mem_24g_txfail_cnt
+0x4b9d mem_24g_get_ack_fail
+0x4b9e mem_24g_retry
+0x4b9f mem_24g_ch
+0x4ba0 mem_24g_current_ch_number
+0x4ba1 mem_24g_paring_addr
+0x4ba5 mem_24g_pairing_sm
+0x4ba6 mem_24g_ch_map1
+0x4baa mem_24g_ch_map2
+0x4bae mem_24g_ch_map3
+0x4bb2 mem_24g_ch_map4
+0x4bb6 mem_24g_tx_btclk
+0x4bba mem_24g_interval
+0x4bbb mem_24g_interval_min
+0x4bbc mem_24g_interval_max
+0x4bbd mem_24g_addr
+0x4bc1 mem_24g_abort_pac
+0x4bc2 mem_24g_check_dongle_times
+0x4bc4 mem_24g_enter_hibernate
+0x4bcc mem_24g_device_addr
+0x4bd0 mem_24g_pac_index
+0x4bd1 mem_24g_no_ack
+0x4bd2 mem_24g_sta_crc
+0x4bd5 mem_24g_last_crc
+0x4bd8 mem_24g_sta_pid
+0x4bd9 mem_24g_last_pid
+0x4bda mem_24g_max_retry
+0x4bdb mem_24g_mode
+0x4bdc mem_24g_rxdata_temp
+0x4bfe mem_24g_rx_addr
+0x4c02 mem_dongle_mode_init
+0x4c03 mem_dongle_work_mode
+0x4c04 mem_dongle_ms_bind_step
+0x4c05 mem_dongle_kb_bind_step
+0x4c06 mem_dongle_bind_device_status
+0x4c07 mem_24g_bind_payload
+0x4c0f mem_24g_abort_packet
+0x4c10 mem_24g_rf_laststa
+0x4c11 mem_24g_hop_btclk
+0x4c15 mem_24g_hop_interval
+0x4c16 mem_24g_mode_switch
+0x4c17 mem_24g_ackpayload_enable
+0x4c18 mem_24g_hop_packet
+0x4c19 mem_24g_pair_mode
+0x4c1a mem_24g_nodata_timer_enable
+0x4c1b mem_24g_time_slice
+0x4c1c mem_24g_kb_data_sta_data
+0x4c24 mem_24g_kb_data_last_data
+0x4c2c mem_24g_kb_multikey_sta_data
+0x4c2f mem_24g_kb_multikey_last_data
+0x4c32 mem_24g_kb_blank_data_enable
+0x4c33 mem_24g_kb_mul_blank_data_enable
+0x4c34 mem_24g_ms_blank_data_enable
+0x4c35 mem_24g_kb_addr
+0x4c39 mem_24g_ms_addr
+0x4c3d mem_24g_dg_last_ch
+0x4c3e mem_24g_dg_ch_number
+0x4c3f mem_24g_dg_config_ch_once
+0x4c40 mem_24g_kb_last_ch
+0x4c41 mem_24g_kb_ch_number
+0x4c42 mem_24g_kb_config_ch_once
+0x4c43 mem_24g_ms_last_ch
+0x4c44 mem_24g_ms_ch_number
+0x4c45 mem_24g_ms_config_ch_once
+0x4c46 mem_24g_syncword
+0x4c48 mem_24g_syncword_crc8
+0x4c49 mem_24g_get_syncword_crc8
+0x4c4a mem_24g_ota_sta_pid
+0x4c4c mem_tx_power_temp
+0x4c4d mem_rssi_hex
+0x4c4e mem_rssi_noise_avg
+0x4c4f mem_rssi_noise_index
+0x4c50 mem_rssi_signal_index
+0x4c51 mem_rssi_noise_dg_avg
+0x4c52 mem_rssi_noise_kb_avg
+0x4c53 mem_rssi_noise_ms_avg
+0x4c54 mem_rssi_noise_dg_index
+0x4c55 mem_rssi_noise_kb_index
+0x4c56 mem_rssi_noise_ms_index
+0x4c57 mem_rssi_signal_buf
+0x4c5f mem_queue_ele_num
+0x4c60 mem_queue_read
+0x4c62 mem_queue_write
+0x4c64 mem_queue_start
+0x4c64 mem_data_ele0
+0x4c84 mem_data_ele1
+0x4ca4 mem_data_ele2
+0x4cc4 mem_queue_end
+0x4cc4 mem_queue_temp
+0x4cc6 mem_cb_24g_data
+0x4cc8 mem_24g_hop_fastly_cnt
+0x4cc9 mem_24g_hop_pac_retry
+0x4cca mem_24g_rf_hop_ch
+0x4ccb mem_24g_rf_last_sta
+0x4ccc mem_24g_rf_work_stage
+0x4ccd mem_24g_sync_cnt
+0x4cce mem_power_ctrl_pac_succ_cnt
+0x4ccf mem_rssi_avg_received
+0x4cd0 mem_rssi_hex_received
+0x4cd1 mem_power_ctrl_level
+0x4cd2 mem_seqi
+0x4cd3 mem_24g_auto_paring_switch
+0x4cd4 mem_24g_paccnt
+0x4cd5 mem_24g_transmit_by_interrupt
+0x4cd6 mem_24g_transmit_by_interrupt_exit_count
Index: HS_24G&BLE_Motion/output/otp.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/otp.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/otp.dat	(working copy)
@@ -0,0 +1,8 @@
+00
+02
+aa
+55
+00
+00
+b3
+23
Index: HS_24G&BLE_Motion/output/program.lis
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/program.lis	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/program.lis	(working copy)
@@ -0,0 +1,34975 @@
+include "bt_format "
+org 0x0000
+0000 c2840011 bbit1 8 ,pf_patch_ext 
+0001 c04285e9 beq patch10_5 ,p_shutdown_radio 
+0002 c04485ae beq patch11_1 ,p_set_freq_tx 
+0003 c0008025 beq patch00_1 ,p_soft_reset_1 
+0004 c050802e beq patch14_1 ,p_init_param 
+0005 c0540033 beq patch15_0 ,p_lpm_dispatch_next2 
+0006 c0588036 beq patch16_1 ,p_lpm_check_wake_lock 
+0007 c059003e beq patch16_2 ,p_g24_dispatch 
+0008 c06200b8 beq patch18_4 ,p_device_init 
+0009 c064812c beq patch19_1 ,p_app_flag_store 
+000a c0650130 beq patch19_2 ,p_app_initflag_check 
+000b c07182e9 beq patch1c_3 ,p_mouse_seting_dpi 
+000c c07302a8 beq patch1c_6 ,p_mouse_motion 
+000d c075032f beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+000e c075833d beq patch1d_3 ,p_mouse_start_discovery 
+000f c0760368 beq patch1d_4 ,p_mouse_stop_discovery 
+0010 20202a8e branch loop 
+
+pf_patch_ext:
+0011 c01c836d beq patch27_1 ,p_le_slave_match 
+0012 c0218375 beq patch28_3 ,p_le_next_adv_channel 
+0013 c025037b beq patch29_2 ,p_le_receive_skip 
+0014 c02b837e beq patch2a_7 ,p_le_update_param 
+0015 c0318390 beq patch2c_3 ,p_le_prepare_tx 
+0016 c03383ba beq patch2c_7 ,p_le_parse_l2cap 
+0017 c03503e3 beq patch2d_2 ,p_le_adv_not_match 
+0018 c03b83ee beq patch2e_7 ,p_le_lpm_setmult 
+0019 c04603fe beq patch31_4 ,p_twspi_reset 
+001a 20202a8e branch loop 
+
+p_rssi_signal:
+001b 1fe22200 copy pdata ,rega 
+001c 6808cc50 fetcht 1 ,mem_rssi_signal_index 
+001d 58004c57 setarg mem_rssi_signal_buf 
+001e 98408a00 iadd temp ,contw 
+001f 1a227e00 copy rega ,pdata 
+0020 e0a08000 istore 1 ,contw 
+0021 18408401 increase 1 ,temp 
+0022 18410407 and_into rssi_buf_len_signal ,temp 
+0023 6008cc50 storet 1 ,mem_rssi_signal_index 
+0024 20600000 rtn 
+
+p_soft_reset_1:
+0025 d8a009ae arg mem_sp_state ,contw 
+0026 df20000c arg 12 ,loopcnt 
+0027 20407ed4 call clear_mem 
+0028 204000ac call p_mouse_le_txbuff_load 
+0029 20406a03 call rfcomm_init 
+002a 20405cf6 call init_lmp 
+002b 2455ac65 ncall lpm_disable_exen_output ,wake 
+002c 20407ccd call ui_init + 1 
+002d 2020200c branch soft_reset + 11 
+
+p_init_param:
+002e 58000a06 setarg param_le_version 
+002f 6001c510 store 3 ,mem_lmp_version 
+0030 58001d87 setarg param_le_subversion 
+0031 60014513 store 2 ,mem_lmp_version + 3 
+0032 20202aa2 branch init_param + 12 
+
+p_lpm_dispatch_next2:
+0033 6800c806 fetch 1 ,mem_mouse_wheel_trigger 
+0034 247a0000 nrtn blank 
+0035 20202b7f branch lpm_dispatch_next2 
+
+p_lpm_check_wake_lock:
+0036 c6130000 rtnmark1 mark_24g 
+0037 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0038 c0007fef beq 0 ,disable_blank 
+0039 6800c7c4 fetch 1 ,mem_mouse_le_conn_param_reject 
+003a c000ffef beq le_lpm_disable ,disable_blank 
+003b 68014248 fetch 2 ,mem_sdp_remote_cid 
+003c 243a7fef nbranch disable_blank ,blank 
+003d 20207ff1 branch enable_blank 
+
+p_g24_dispatch:
+003e c6930000 rtnmark0 mark_24g 
+003f 6800ccd5 fetch 1 ,mem_24g_transmit_by_interrupt 
+0040 c0008053 beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
+
+p_g24_transmit_process:
+0041 20400463 call p_g24_txdata_prep 
+0042 2434006e nbranch p_g24_nodata_transmit ,user 
+0043 20400448 call p_g24_rf_sta_check 
+
+p_g24_transmit_start:
+0044 20400487 call p_g24_transmit_packet 
+0045 6800cba5 fetch 1 ,mem_24g_pairing_sm 
+0046 c1ff8000 rtnne state_24g_pairing_success 
+0047 204004e6 call power_ctrl_start 
+0048 6800ccd5 fetch 1 ,mem_24g_transmit_by_interrupt 
+0049 c1008000 rtneq g24_tx_timer_int_enable 
+
+p_g24_short_sleep:
+004a 20402afa call lpo_calibration 
+004b 6801c16f fetch 3 ,mem_clks_per_lpo 
+004c 207a0000 rtn blank 
+004d 6800c091 fetch 1 ,mem_lpm_mode 
+004e 207a0000 rtn blank 
+004f 20400093 call p_mouse_setgpio_lpm 
+0050 20400090 call p_clear_wake 
+0051 5800ec54 setarg 60500 
+0052 20202b93 branch lpm_dispatch_sleep 
+
+p_g24_transmit_by_interrupt:
+0053 204005eb call p_g24_timer_check 
+0054 24740000 nrtn user 
+0055 20400065 call p_g24_interval_calibrate 
+0056 6800ccd6 fetch 1 ,mem_24g_transmit_by_interrupt_exit_count 
+0057 1fe0fe01 increase 1 ,pdata 
+0058 6000ccd6 store 1 ,mem_24g_transmit_by_interrupt_exit_count 
+0059 1fe67c19 sub pdata ,25 ,null 
+005a 2042805c call p_g24_transmit_by_interrupt_exit ,zero 
+005b 20200041 branch p_g24_transmit_process 
+
+p_g24_transmit_by_interrupt_exit:
+005c 704cd500 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+005d 704cd600 jam 0 ,mem_24g_transmit_by_interrupt_exit_count 
+
+p_g24_interval_min:
+005e 704bd000 jam 0 ,mem_24g_pac_index 
+005f 6800cbbb fetch 1 ,mem_24g_interval_min 
+0060 6000cbba store 1 ,mem_24g_interval 
+0061 20600000 rtn 
+
+p_g24_interval_max:
+0062 6800cbbc fetch 1 ,mem_24g_interval_max 
+0063 6000cbba store 1 ,mem_24g_interval 
+0064 20600000 rtn 
+
+p_g24_interval_calibrate:
+0065 6800cbd0 fetch 1 ,mem_24g_pac_index 
+0066 1fe0fe01 increase 1 ,pdata 
+0067 6000cbd0 store 1 ,mem_24g_pac_index 
+0068 c0020062 beq 4 ,p_g24_interval_max 
+0069 c002805e beq 5 ,p_g24_interval_min 
+006a 20600000 rtn 
+
+p_g24_transmit_by_interrupt_enable:
+006b 704cd501 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+006c 704cd600 jam 0 ,mem_24g_transmit_by_interrupt_exit_count 
+006d 20600000 rtn 
+
+p_g24_nodata_transmit:
+006e 6800cbc1 fetch 1 ,mem_24g_abort_pac 
+006f 205a007a call p_g24_send_abort_packet ,blank 
+
+p_g24_long_sleep:
+0070 20402afa call lpo_calibration 
+0071 6801c16f fetch 3 ,mem_clks_per_lpo 
+0072 207a0000 rtn blank 
+0073 6800c091 fetch 1 ,mem_lpm_mode 
+0074 207a0000 rtn blank 
+0075 20400093 call p_mouse_setgpio_lpm 
+0076 68044bc4 fetch 8 ,mem_24g_enter_hibernate 
+0077 20407f49 call clk2lpo 
+0078 600a415b storet 4 ,mem_sleep_counter 
+0079 20202b2a branch lpm_sleep 
+
+p_g24_send_abort_packet:
+007a 704bc101 jam 1 ,mem_24g_abort_pac 
+007b 704cca00 jam 0 ,mem_24g_rf_hop_ch 
+007c 20400410 call p_g24_transmit_rf_ctrl_clear 
+007d 6000cb31 store 1 ,mem_24g_txbuf 
+007e 58000000 setarg 0 
+007f 6003cb32 store 7 ,mem_24g_txbuf + 1 
+0080 68024bcc fetch 4 ,mem_24g_device_addr 
+0081 60024b39 store 4 ,mem_24g_txbuf + 8 
+0082 704b950c jam 12 ,mem_24g_datalen 
+0083 6800cb96 fetch 1 ,mem_24g_data_type 
+0084 79207e03 set1 bit_abort ,pdata 
+0085 6000cb96 store 1 ,mem_24g_data_type 
+0086 20400627 call p_g24_transmit_prep 
+0087 20400467 call p_g24_txdata_enable_tx 
+0088 20200044 branch p_g24_transmit_start 
+
+p_mouse_before_lpm:
+0089 c6130000 rtnmark1 mark_24g 
+008a 2040009f call p_mouse_le_txbuff_save 
+008b 20400093 call p_mouse_setgpio_lpm 
+008c 6800c040 fetch 1 ,mem_context 
+008d c3000090 bbit0 state_inconn ,p_clear_wake 
+008e 680080a0 fetch 1 ,mem_lpm_current_mult 
+008f 247a0000 nrtn blank 
+
+p_clear_wake:
+0090 58000000 setarg 0 
+0091 600400a1 store 8 ,mem_gpio_wakeup_low 
+0092 20600000 rtn 
+
+p_mouse_setgpio_lpm:
+0093 2040009c call p_mouse_set_sdio_high 
+0094 20400090 call p_clear_wake 
+0095 20403ebf call mouse_lpm_before_common 
+0096 68120070 hfetch 4 ,core_gpio_oe0 
+0097 681a0078 hfetcht 4 ,core_gpio_pu0 
+0098 98418400 ior temp ,temp 
+0099 18440400 invert temp ,temp 
+009a 601a007c hstoret 4 ,core_gpio_pd0 
+009b 20600000 rtn 
+
+p_mouse_set_sdio_high:
+009c 6800cb03 fetch 1 ,mem_mouse_init_sensor_reset_flag 
+009d 207a0000 rtn blank 
+009e 202002ea branch p_mouse_seting_dpi + 1 
+
+p_mouse_le_txbuff_save:
+009f d8c01800 arg mem_le_tx_buffer0 ,contr 
+00a0 d8a0480a arg mem_le_tx_buffer0_omemalloc ,contw 
+00a1 204000aa call p_mouse_le_txbuff_copy 
+00a2 d8c01900 arg mem_le_tx_buffer1 ,contr 
+00a3 d8a04825 arg mem_le_tx_buffer1_omemalloc ,contw 
+00a4 204000aa call p_mouse_le_txbuff_copy 
+00a5 d8c01a00 arg mem_le_tx_buffer2 ,contr 
+00a6 d8a04840 arg mem_le_tx_buffer2_omemalloc ,contw 
+00a7 204000aa call p_mouse_le_txbuff_copy 
+00a8 d8c01b00 arg mem_le_tx_buffer3 ,contr 
+00a9 d8a0485b arg mem_le_tx_buffer3_omemalloc ,contw 
+
+p_mouse_le_txbuff_copy:
+00aa df20001b arg 27 ,loopcnt 
+00ab 20207f01 branch memcpy 
+
+p_mouse_le_txbuff_load:
+00ac d8c0480a arg mem_le_tx_buffer0_omemalloc ,contr 
+00ad d8a01800 arg mem_le_tx_buffer0 ,contw 
+00ae 204000aa call p_mouse_le_txbuff_copy 
+00af d8c04825 arg mem_le_tx_buffer1_omemalloc ,contr 
+00b0 d8a01900 arg mem_le_tx_buffer1 ,contw 
+00b1 204000aa call p_mouse_le_txbuff_copy 
+00b2 d8c04840 arg mem_le_tx_buffer2_omemalloc ,contr 
+00b3 d8a01a00 arg mem_le_tx_buffer2 ,contw 
+00b4 204000aa call p_mouse_le_txbuff_copy 
+00b5 d8c0485b arg mem_le_tx_buffer3_omemalloc ,contr 
+00b6 d8a01b00 arg mem_le_tx_buffer3 ,contw 
+00b7 202000aa branch p_mouse_le_txbuff_copy 
+
+p_device_init:
+00b8 20403416 call app_lpm_mult_enable 
+00b9 203580c2 branch p_device_init_common ,wake 
+00ba 70807820 jam 0x20 ,core_gpio_pu0 
+00bb 204006c3 call p_mouse_data_init 
+00bc 6800c1de fetch 1 ,mem_tx_power 
+00bd 6000cc4c store 1 ,mem_tx_power_temp 
+00be 204004d5 call power_ctrl_pac_succ_cnt_init 
+00bf 6800c685 fetch 1 ,mem_ui_button_timeout 
+00c0 6000c6da store 1 ,mem_combination_ui_button_count 
+00c1 204043ca call mouse_bt_discovery_button_down_disable 
+
+p_device_init_common:
+00c2 204000c4 call p_mouse_init 
+00c3 202074b9 branch enable_authrom 
+
+p_mouse_init:
+00c4 24558112 ncall p_mouse_setting_config ,wake 
+00c5 204000f1 call p_mouse_spi_init 
+00c6 20758000 rtn wake 
+00c7 2040014d call p_mouse_cb_fuction 
+00c8 204002b2 call p_mouse_check_key_gpio 
+00c9 c00280df beq mouse_lm_button ,p_mouse_24g_pairing_button 
+00ca 20200134 branch p_mouse_wakeup_from_power 
+
+p_mouse_check_reconn_target:
+00cb 6800cc4c fetch 1 ,mem_tx_power_temp 
+00cc 6000c1de store 1 ,mem_tx_power 
+00cd 6800c210 fetch 1 ,mem_xrecord_mode 
+00ce c01a00d0 beq rec_4_mode ,p_mouse4_0_check_reconn_target 
+00cf 20600000 rtn 
+
+p_mouse4_0_check_reconn_target:
+00d0 70479f01 jam 1 ,mem_mouse_le_reconnect_flag 
+00d1 680146a8 fetch 2 ,mem_mouse_direct_timeout 
+00d2 600146ae store 2 ,mem_mouse_direct_timer 
+00d3 20403418 call app_lpm_mult_disable 
+00d4 204000d8 call p_le_check_adv_flag 
+00d5 58000004 setarg adv_flag_bredr_not_supported 
+00d6 e0c08000 istore 1 ,contr 
+00d7 20207df4 branch check_51cmd_adv 
+
+p_le_check_adv_flag:
+00d8 da204370 arg mem_le_adv_data ,rega 
+
+p_le_check_adv_flag_loop:
+00d9 ea208000 ifetch 1 ,rega 
+00da 207a0000 rtn blank 
+00db 98c0a200 iadd contr ,rega 
+00dc e8c08000 ifetch 1 ,contr 
+00dd c1008000 rtneq 0x01 
+00de 202000d9 branch p_le_check_adv_flag_loop 
+
+p_mouse_24g_pairing_button:
+00df 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+00e0 c4088000 rtnbit0 mouse_enable_24g 
+00e1 c3818000 rtnbit1 mosue_24g_pairing_flag 
+00e2 c6130000 rtnmark1 mark_24g 
+00e3 20404482 call mouse_devce_led_off 
+00e4 d8e00003 arg mosue_24g_pairing_flag ,queue 
+00e5 204043ce call mouse_enable_function_flag 
+00e6 58000000 setarg 0 
+00e7 600146ae store 2 ,mem_mouse_direct_timer 
+00e8 6000c6b4 store 1 ,mem_mouse_send_blank_timer 
+00e9 60014bc2 store 2 ,mem_24g_check_dongle_times 
+00ea 204042ca call mouse_stop_discovery 
+00eb 2020051a branch p_g24_start_pairing_sm1 
+
+p_mouse_dpi_config:
+00ec 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+00ed c30a3d66 bbit0 mouse_enable_eeprom ,mouse_dpi_config 
+00ee 6800c77a fetch 1 ,mem_mouse_dpi 
+00ef c07fbd66 beq 0xff ,mouse_dpi_config 
+00f0 20203d80 branch mouse_seting_dpi + 2 
+
+p_mouse_spi_init:
+00f1 70421276 jam 0x76 ,mem_spi_init_clk 
+00f2 20203d36 branch mouse_spi_init 
+
+p_mouse_init_sunt:
+00f3 204000f1 call p_mouse_spi_init 
+00f4 204040c0 call mouse_spi_sdio_gpio_pollup 
+00f5 6800c6e0 fetch 1 ,mem_config_sensor_type 
+00f6 c002c0d5 beq p3610 ,mouse_init_3610sensor 
+
+p_mouse_init_sensor:
+00f7 204040d9 call mouse_read_sensor_id 
+00f8 c0180101 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+00f9 c0188103 beq p3065_id1 ,p_mouse_p3065_init_param 
+00fa 204040d1 call mouse_twspi_reset 
+00fb 200003e8 nop 1000 
+00fc 202000f7 branch p_mouse_init_sensor 
+
+p_mouse_init_sensor_reset:
+00fd 704b0301 jam 1 ,mem_mouse_init_sensor_reset_flag 
+00fe 2040640f call spi_ncs_enable 
+00ff 204000f3 call p_mouse_init_sunt 
+0100 20206411 branch spi_ncs_disable 
+
+p_mouse_init_p32xx_id2_judge:
+0101 20400108 call p_mouse_sensor_poweron 
+0102 202040e0 branch mouse_init_p32xx_id2_judge 
+
+p_mouse_p3065_init_param:
+0103 20400108 call p_mouse_sensor_poweron 
+0104 6800c6de fetch 1 ,mem_sensor_id2 
+0105 c03840e8 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
+0106 7046e001 jam p3065 ,mem_config_sensor_type 
+0107 20600000 rtn 
+
+p_mouse_sensor_poweron:
+0108 58008006 setarg 0x8006 
+0109 20406413 call twspi_write 
+010a 20002ee0 nop 12000 
+010b 202000ec branch p_mouse_dpi_config 
+
+p_mouse_sensor_powerdown:
+010c 58000006 setarg 0x06 
+010d 20406414 call twspi_read 
+010e 1fe1fe08 or pdata ,0x08 ,pdata 
+010f 1fed7e00 lshift8 pdata ,pdata 
+0110 1fe0fe06 add pdata ,0x06 ,pdata 
+0111 20206413 branch twspi_write 
+
+p_mouse_setting_config:
+0112 2040040a call p_g24_set_device_addr 
+0113 68108a00 hfetch 1 ,core_usb_config 
+0114 793ffe04 set0 4 ,pdata 
+0115 60108a00 hstore 1 ,core_usb_config 
+0116 20403e6e call mouse_gpio_init 
+0117 20400208 call p_mouse_multi_led_init 
+0118 20403e1e call mouse_param_init 
+0119 58000000 setarg 0 
+011a 60014154 store 2 ,mem_lpm_interval 
+011b 20403e54 call mouse_adc_init 
+011c 20405810 call le_set_config_fixed_ltk 
+011d 20405839 call le_set_justwork 
+011e 2040582c call le_set_fixed_ltk 
+011f 20405818 call le_set_config_read_authentication 
+
+p_mouse_init_iic:
+0120 2040659c call iic_init_390k 
+0121 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+0122 2feffe19 isolate1 mouse_enable_2k_eeprom ,pdata 
+0123 2440e5c2 ncall clear_eeprom_size_2k ,true 
+0124 2040443f call mouse_load_eeprom_dpi 
+0125 20400128 call p_mouse_init_environment 
+0126 204001c5 call p_mouse_set_24g_addr_eeprom 
+0127 202065df branch iicd_read_eep_data 
+
+p_mouse_init_environment:
+0128 204033c4 call app_initflag_check 
+0129 2022c316 branch mouse_eeprom_load_recon_info ,zero 
+012a 20400335 call p_le_addr_random_config 
+012b 20203dcb branch mouse_init_environment + 2 
+
+p_app_flag_store:
+012c d8400002 arg 2 ,temp 
+012d da200aaa arg mem_timeup ,rega 
+012e da400062 arg mouse_eeprom_module_init_flag ,regb 
+012f 202065d1 branch iicd_write_protect_eep_data 
+
+p_app_initflag_check:
+0130 d8400002 arg 2 ,temp 
+0131 da200a9a arg mem_pdatatemp ,rega 
+0132 da400062 arg mouse_eeprom_module_init_flag ,regb 
+0133 202033c8 branch app_initflag_check + 4 
+
+p_mouse_wakeup_from_power:
+0134 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+0135 c30f013b bbit0 mouse_enable_wakeup_from_power ,p_mouse_wakeup_no_from_power 
+0136 68008abd fetch 1 ,mem_wakup_from_power_flag 
+0137 2fec0003 isolate0 gpio_latch ,pdata 
+0138 2420813b nbranch p_mouse_wakeup_no_from_power ,true 
+0139 204000f3 call p_mouse_init_sunt 
+013a 2040010c call p_mouse_sensor_powerdown 
+
+p_mouse_wakeup_no_from_power:
+013b 6800c71f fetch 1 ,mem_reconn_times_init 
+013c 6000c71e store 1 ,mem_reconn_times 
+013d 6800c6f5 fetch 1 ,mem_config_function_enable 
+013e c3830000 rtnbit1 enable_select_device_by_switch 
+
+p_mouse_start_24g_mode:
+013f 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+0140 c4088000 rtnbit0 mouse_enable_24g 
+0141 20400144 call p_g24_factory_check 
+0142 20340571 branch p_g24_auto_pair_start ,user 
+0143 2020054e branch p_g24_start_24g_mode 
+
+p_g24_factory_check:
+0144 df200002 arg 2 ,loopcnt 
+0145 d8c04bbd arg mem_24g_addr ,contr 
+
+p_pdata_0xff_check:
+0146 20407fe7 call enable_user 
+0147 5800ffff setarg 0xffff 
+
+p_pdata_0xff_check_loop:
+0148 e8c90000 ifetcht 2 ,contr 
+0149 98467c00 isub temp ,null 
+014a 2442ffe9 ncall disable_user ,zero 
+014b c2000148 loop p_pdata_0xff_check_loop 
+014c 20600000 rtn 
+
+p_mouse_cb_fuction:
+014d 58000160 setarg p_mouse_g24_package_data 
+014e 60014cc6 store 2 ,mem_cb_24g_data 
+014f 58000164 setarg p_mouse_le 
+0150 600141ef store 2 ,mem_cb_le_process 
+0151 580003f8 setarg p_le_mouse_bb_event_connect_complete 
+0152 600141f9 store 2 ,mem_cb_att_write 
+0153 58000089 setarg p_mouse_before_lpm 
+0154 600141ed store 2 ,mem_cb_before_lpm 
+0155 5800018c setarg p_mouse_priority_bb_event 
+0156 600141f5 store 2 ,mem_cb_bb_event_process 
+0157 58000179 setarg p_mouse_idle 
+0158 600141f3 store 2 ,mem_cb_idle_process 
+0159 580001dc setarg p_mouse_before_hibernate 
+015a 600141eb store 2 ,mem_cb_before_hibernate 
+015b 580001ea setarg p_mouse_bb_event_timer 
+015c 600141fd store 2 ,mem_cb_event_timer 
+015d 58003d36 setarg mouse_spi_write_flash_cb 
+015e 60014201 store 2 ,mem_cb_spi_flash_write_complate 
+015f 20600000 rtn 
+
+p_mouse_g24_package_data:
+0160 20404401 call mouse_g24_package_data 
+0161 6801469f fetch 2 ,mem_mouse_z 
+0162 207a0000 rtn blank 
+0163 2020006b branch p_g24_transmit_by_interrupt_enable 
+
+p_mouse_le:
+0164 20405892 call le_fifo_check_nearly_full 
+0165 247a0000 nrtn blank 
+0166 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0167 1fe17e03 and pdata ,0x03 ,pdata 
+0168 c1818000 rtnne 0x03 
+0169 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
+016a 205a0176 call p_mouse_clear_sensor_data ,blank 
+016b 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+016c c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+016d 20403f97 call mouse_motion 
+016e 24740000 nrtn user 
+016f 20400171 call p_mouse_wheel_trigger 
+0170 202006c8 branch p_mouse_data_push 
+
+p_mouse_wheel_trigger:
+0171 6801469f fetch 2 ,mem_mouse_z 
+0172 207a0000 rtn blank 
+0173 70480601 jam 1 ,mem_mouse_wheel_trigger 
+0174 70480702 jam 2 ,mem_mouse_wheel_trigger_timer 
+0175 20600000 rtn 
+
+p_mouse_clear_sensor_data:
+0176 20405814 call le_set_config_more_data 
+0177 70479c01 jam 1 ,mem_mouse_clear_sensor_data_flag 
+0178 20200108 branch p_mouse_sensor_poweron 
+
+p_mouse_idle:
+0179 20407e34 call ui_check_paring_button 
+017a 2040017c call p_mouse_dpi_check 
+017b 20203ee0 branch mouse_wheel_check 
+
+p_mouse_dpi_check:
+017c 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+017d 204002db call p_gpio_set_input_pd 
+017e 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+017f 2040681d call gpio_get_bit 
+0180 2020818a branch p_mouse_dpi_up ,true 
+0181 204002e4 call p_gpio_set_input_pu 
+
+p_mouse_dpi_down:
+0182 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+0183 c1000000 rtneq dpi_button_state_down 
+0184 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+0185 6800c77a fetch 1 ,mem_mouse_dpi 
+0186 1fe0fe01 increase 1 ,pdata 
+0187 1fe17e03 and pdata ,0x03 ,pdata 
+0188 6000c77a store 1 ,mem_mouse_dpi 
+0189 20203d74 branch mouse_dpi_down + 7 
+
+p_mouse_dpi_up:
+018a 204002e4 call p_gpio_set_input_pu 
+018b 20203d62 branch mouse_dpi_up 
+
+p_mouse_priority_bb_event:
+018c 1a627e00 copy regc ,pdata 
+018d c00a0196 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+018e c00a8199 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+018f c01481a2 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
+0190 c01901a4 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0191 c02001ab beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+0192 c01c81b6 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0193 c01d01c9 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0194 c01e01da beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0195 2020417d branch mouse_priority_bb_event + 1 
+
+p_mouse_le_bb_event_connected:
+0196 204000fd call p_mouse_init_sensor_reset 
+0197 204006c3 call p_mouse_data_init 
+0198 202041c3 branch mouse_le_bb_event_connected 
+
+p_mouse_le_bb_disconnected:
+0199 204001e6 call p_mouse_sensor_powerdown_check 
+019a 58000007 setarg le_interval_8_75ms 
+019b 60014496 store 2 ,mem_le_interval_min 
+019c 60014498 store 2 ,mem_le_interval_min + 2 
+019d 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+019e 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+019f 204006c3 call p_mouse_data_init 
+01a0 20405816 call le_clr_config_more_data 
+01a1 202041d9 branch mouse_bb_disconnected 
+
+p_mouse_le_enc_info:
+
+p_app_updata_le_param:
+01a2 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+01a3 20207d8f branch ui_ipc_send_cmd 
+
+p_mouse_le_ll_start_encryt:
+01a4 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+01a5 c00081a7 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+01a6 202001a9 branch p_mouse_le_ll_enable_start_enc_flag 
+
+p_mouse_le_ll_reconn_start_encryt:
+01a7 204001a2 call p_app_updata_le_param 
+01a8 7046c614 jam 20 ,mem_le_start_encrypt_timer 
+
+p_mouse_le_ll_enable_start_enc_flag:
+01a9 d8e00001 arg ll_start_enc_flag ,queue 
+01aa 202041b9 branch mouse_le_enable_connect_flag 
+
+p_mouse_le_conn_param_update_rsp_recieved:
+01ab 68014509 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+01ac c1000000 rtneq ble_signaling_connect_parameter_update_accepted 
+01ad 68008441 fetch 1 ,mem_le_tsniff 
+01ae 1feb7e00 rshift2 pdata ,pdata 
+01af 1fe67c0c sub pdata ,le_interval_15ms ,null 
+01b0 20610000 rtn positive 
+01b1 58000009 setarg le_interval_11_25ms 
+01b2 60014496 store 2 ,mem_le_interval_min 
+01b3 60014498 store 2 ,mem_le_interval_min + 2 
+01b4 204001a2 call p_app_updata_le_param 
+01b5 20200384 branch p_mouse_le_conn_param_lpm_disable 
+
+p_mouse_24g_pairing_complete:
+01b6 204000fd call p_mouse_init_sensor_reset 
+01b7 70478b01 jam 1 ,mem_mouse_24g_enter_lpm_enable 
+01b8 d8e00003 arg mosue_24g_pairing_flag ,queue 
+01b9 204043d2 call mouse_disable_function_flag 
+01ba 58000000 setarg 0 
+01bb 60014707 store 2 ,mem_24g_pairing_timer_count 
+01bc 7046a700 jam 0 ,mem_mouse_move_flag 
+01bd 6800c6e0 fetch 1 ,mem_config_sensor_type 
+01be 1fe67c05 sub pdata ,p3610 ,null 
+01bf 2042c039 call mouse_read_sensor3610_data ,zero 
+01c0 2442c05d ncall mouse_read_sensor_common ,zero 
+01c1 6800cc4c fetch 1 ,mem_tx_power_temp 
+01c2 6000c1de store 1 ,mem_tx_power 
+01c3 204001c5 call p_mouse_set_24g_addr_eeprom 
+01c4 202065d1 branch iicd_write_protect_eep_data 
+
+p_mouse_set_24g_addr_eeprom:
+01c5 da204bbd arg mem_24g_addr ,rega 
+01c6 da40005b arg mouse_g24_addr_eeprom_offect ,regb 
+01c7 d8400004 arg 4 ,temp 
+01c8 20600000 rtn 
+
+p_mouse_24g_attempt_fail:
+01c9 204001e6 call p_mouse_sensor_powerdown_check 
+01ca 704cd500 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+01cb 6800cc4c fetch 1 ,mem_tx_power_temp 
+01cc 6000c1de store 1 ,mem_tx_power 
+01cd 20400598 call p_g24_check_51cmd_stop_24g 
+01ce 6800cb00 fetch 1 ,mem_mouse_mode_config 
+01cf c28001d7 bbit1 mouse_24g_only ,p_mouse_null_enter_hibernate_enable 
+01d0 7041bd00 jam 0 ,mem_link_key_exists 
+01d1 20404316 call mouse_eeprom_load_recon_info 
+01d2 df200003 arg 3 ,loopcnt 
+01d3 d8c04722 arg mem_device1_addr ,contr 
+01d4 20400146 call p_pdata_0xff_check 
+01d5 203401d7 branch p_mouse_null_enter_hibernate_enable ,user 
+01d6 202000cb branch p_mouse_check_reconn_target 
+
+p_mouse_null_enter_hibernate_enable:
+01d7 70479d01 jam 1 ,mem_mouse_null_enter_hibernate_flag 
+01d8 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+01d9 20600000 rtn 
+
+p_mouse_24g_attempt_success:
+01da 204000fd call p_mouse_init_sensor_reset 
+01db 20203f8d branch mouse_no_data_timer_init 
+
+p_mouse_before_hibernate:
+01dc 78347c00 enable user 
+01dd 68120138 hfetch 4 ,0x8138 
+01de 79347e1a setflag user ,26 ,pdata 
+01df 6012004c hstore 4 ,core_lpm_reg 
+01e0 20402c21 call lpm_write_ctrl 
+01e1 204001e6 call p_mouse_sensor_powerdown_check 
+01e2 204074bd call disable_authrom 
+01e3 20404482 call mouse_devce_led_off 
+01e4 20403e9f call mouse_before_hibernate_wheel_gpio_set 
+01e5 20203ebf branch mouse_lpm_before_common 
+
+p_mouse_sensor_powerdown_check:
+01e6 6800cb03 fetch 1 ,mem_mouse_init_sensor_reset_flag 
+01e7 207a0000 rtn blank 
+01e8 704b0300 jam 0 ,mem_mouse_init_sensor_reset_flag 
+01e9 2020010c branch p_mouse_sensor_powerdown 
+
+p_mouse_bb_event_timer:
+01ea 2040025d call p_mouse_adc_read 
+01eb 20400297 call p_mouse_low_voltage_led_timer 
+01ec 2040022d call p_mouse_send_switch_req_timer 
+01ed 20400230 call p_mouse_wheel_trigger_timer 
+01ee 204001f6 call p_mouse_multi_led_blink_timer 
+01ef 20400254 call p_mouse_null_enter_hibernate_timer 
+01f0 20400238 call p_mouse_bt_discovery_check 
+01f1 20404231 call mouse_check_hid_handshake_timer 
+01f2 20404234 call mouse_check_discovery_timeout_timer 
+01f3 20404237 call mouse_check_direct_timeout_timer 
+01f4 2040423a call mouse_check_no_data_timeout_timer 
+01f5 20200235 branch p_mouse_le_enable_att_list_timer 
+
+p_mouse_multi_led_blink_timer:
+01f6 6800cb04 fetch 1 ,mem_mouse_multi_led_blink_enable 
+01f7 207a0000 rtn blank 
+
+p_mouse_multi_led_type_blink:
+01f8 6800cb0a fetch 1 ,mem_mouse_multi_led_blink_timer 
+01f9 1fe0ffff increase -1 ,pdata 
+01fa 6000cb0a store 1 ,mem_mouse_multi_led_blink_timer 
+01fb 247a0000 nrtn blank 
+01fc 6800cb0b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+01fd 6000cb0a store 1 ,mem_mouse_multi_led_blink_timer 
+01fe 6800cb0d fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+01ff 203a0204 branch p_mouse_multi_led_blink_count_no_limited ,blank 
+0200 6800cb0c fetch 1 ,mem_mouse_multi_led_blink_count 
+0201 203a020e branch p_mouse_multi_led_blink_off ,blank 
+0202 1fe0ffff increase -1 ,pdata 
+0203 6000cb0c store 1 ,mem_mouse_multi_led_blink_count 
+
+p_mouse_multi_led_blink_count_no_limited:
+0204 6800cb06 fetch 1 ,mem_mouse_multi_led_state 
+0205 c0008211 beq on ,p_mouse_multi_led_off 
+0206 c000020a beq off ,p_mouse_multi_led_on 
+0207 20600000 rtn 
+
+p_mouse_multi_led_init:
+0208 6808cb05 fetcht 1 ,mem_mouse_multi_led_gpio 
+0209 2020680e branch gpio_config_output 
+
+p_mouse_multi_led_on:
+020a 704b0601 jam on ,mem_mouse_multi_led_state 
+020b 20400208 call p_mouse_multi_led_init 
+020c 6808cb05 fetcht 1 ,mem_mouse_multi_led_gpio 
+020d 20206829 branch gpio_out_active 
+
+p_mouse_multi_led_blink_off:
+020e 704b0a00 jam 0 ,mem_mouse_multi_led_blink_timer 
+020f 704b0c00 jam 0 ,mem_mouse_multi_led_blink_count 
+0210 704b0d00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+
+p_mouse_multi_led_off:
+0211 6800cb0c fetch 1 ,mem_mouse_multi_led_blink_count 
+0212 243a0215 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+0213 704b0400 jam 0 ,mem_mouse_multi_led_blink_enable 
+0214 704b0700 jam 0 ,mem_mouse_multi_led_type 
+
+p_mouse_multi_led_off_wait_blink_over:
+0215 704b0800 jam 0 ,mem_mouse_multi_led_on_timer 
+0216 704b0600 jam off ,mem_mouse_multi_led_state 
+
+p_mouse_multi_led_off2:
+0217 6808cb05 fetcht 1 ,mem_mouse_multi_led_gpio 
+0218 20406825 call gpio_out_inactive 
+0219 6810807c hfetch 1 ,core_gpio_pd0 
+021a 79207e05 set1 5 ,pdata 
+021b 6010807c hstore 1 ,core_gpio_pd0 
+021c 20600000 rtn 
+
+p_mouse_discovery_multi_led_blink:
+021d 704b0a01 jam 1 ,mem_mouse_multi_led_blink_timer 
+021e 704b0b05 jam 5 ,mem_mouse_multi_led_blink_timer_init 
+021f 704b0d00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+0220 704b0c01 jam 1 ,mem_mouse_multi_led_blink_count 
+
+p_mouse_multi_led_blink_enable:
+0221 704b0401 jam on ,mem_mouse_multi_led_blink_enable 
+0222 704b0701 jam multi_led_blink ,mem_mouse_multi_led_type 
+0223 20600000 rtn 
+
+p_mouse_discovey_led_blink_off:
+0224 6800cb08 fetch 1 ,mem_mouse_multi_led_on_timer 
+0225 247a0000 nrtn blank 
+0226 6800cb0e fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+0227 247a0000 nrtn blank 
+0228 2020020e branch p_mouse_multi_led_blink_off 
+
+p_mouse_dpi_multi_led_blink:
+0229 704b0a01 jam 1 ,mem_mouse_multi_led_blink_timer 
+022a 704b0b03 jam 3 ,mem_mouse_multi_led_blink_timer_init 
+022b 704b0d01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
+022c 20200221 branch p_mouse_multi_led_blink_enable 
+
+p_mouse_send_switch_req_timer:
+022d da604809 arg mem_mouse_send_switch_req_timer ,regc 
+022e da40637a arg host_create_conn_resend ,regb 
+022f 2020336d branch timer_single_step 
+
+p_mouse_wheel_trigger_timer:
+0230 da604807 arg mem_mouse_wheel_trigger_timer ,regc 
+0231 da400233 arg p_mouse_wheel_trigger_disable ,regb 
+0232 2020336d branch timer_single_step 
+
+p_mouse_wheel_trigger_disable:
+0233 70480600 jam 0 ,mem_mouse_wheel_trigger 
+0234 20600000 rtn 
+
+p_mouse_le_enable_att_list_timer:
+0235 da6046c6 arg mem_le_start_encrypt_timer ,regc 
+0236 da403d60 arg mouse_le_write_enable ,regb 
+0237 2020336d branch timer_single_step 
+
+p_mouse_bt_discovery_check:
+0238 6800c6f5 fetch 1 ,mem_config_function_enable 
+0239 c2824394 bbit1 enable_bt_button ,mouse_bt_discovery_by_button 
+
+p_mouse_bt_discovery_commbination_key:
+023a 204002b2 call p_mouse_check_key_gpio 
+023b c0038244 beq mouse_lmr_button ,p_mouse_bt_discovery_commbination_key_down 
+
+p_mouse_bt_discovery_commbination_key_up:
+023c 6800c685 fetch 1 ,mem_ui_button_timeout 
+023d 6000c6da store 1 ,mem_combination_ui_button_count 
+023e 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
+023f c1008000 rtneq dpi_button_state_up 
+0240 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
+0241 d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
+0242 204043d2 call mouse_disable_function_flag 
+0243 202043ca branch mouse_bt_discovery_button_down_disable 
+
+p_mouse_bt_discovery_commbination_key_down:
+0244 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+0245 20400247 call p_mouse_bt_discovery_timer 
+0246 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
+
+p_mouse_bt_discovery_timer:
+0247 da6046da arg mem_combination_ui_button_count ,regc 
+0248 da40024a arg p_mouse_long_button_bt_discovery ,regb 
+0249 2020336d branch timer_single_step 
+
+p_mouse_long_button_bt_discovery:
+024a 204001e6 call p_mouse_sensor_powerdown_check 
+024b 68014682 fetch 2 ,mem_ui_state_map 
+024c 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+024d 2040c2d4 call mouse_stop_le_adv ,true 
+024e 68014682 fetch 2 ,mem_ui_state_map 
+024f 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+0250 2040c392 call mouse_cancel_reconnect ,true 
+0251 d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
+0252 204043ce call mouse_enable_function_flag 
+0253 202043b8 branch mouse_long_button_bt_discovry 
+
+p_mouse_null_enter_hibernate_timer:
+0254 6800c79d fetch 1 ,mem_mouse_null_enter_hibernate_flag 
+0255 207a0000 rtn blank 
+0256 6800c79e fetch 1 ,mem_mouse_null_enter_hibernate_timer 
+0257 203a025b branch p_mouse_null_enter_hibernate ,blank 
+0258 1fe0ffff increase -1 ,pdata 
+0259 6000c79e store 1 ,mem_mouse_null_enter_hibernate_timer 
+025a 20600000 rtn 
+
+p_mouse_null_enter_hibernate:
+025b 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+025c 2020340a branch app_enter_hibernate 
+
+p_mouse_adc_read:
+025d 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+025e c40d0000 rtnbit0 mouse_enable_adc 
+025f 6800cb0c fetch 1 ,mem_mouse_multi_led_blink_count 
+0260 247a0000 nrtn blank 
+0261 6800cb08 fetch 1 ,mem_mouse_multi_led_on_timer 
+0262 247a0000 nrtn blank 
+0263 6800c6ce fetch 1 ,mem_adc_read_timer 
+0264 1fe0fe01 increase 1 ,pdata 
+0265 6000c6ce store 1 ,mem_adc_read_timer 
+0266 1fe67c0a sub pdata ,10 ,null 
+0267 20610000 rtn positive 
+0268 7046ce00 jam 0 ,mem_adc_read_timer 
+0269 20400278 call p_adc_set_mode 
+026a 20406908 call vdd_calculate_by_mode 
+026b 6001470f store 2 ,mem_mouse_vdd_now_vol 
+026c da204709 arg mem_mouse_vdd_calculate_set ,rega 
+026d 20400285 call p_adc_bat_percent_lowpower_out 
+026e 6800c231 fetch 1 ,mem_adc_power_flag 
+026f c280b40a bbit1 1 ,app_enter_hibernate 
+0270 c3000273 bbit0 0 ,p_mouse_adc_no_low_voltage 
+0271 704b0201 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0272 202043e7 branch mouse_adc_low_voltage 
+
+p_mouse_adc_no_low_voltage:
+0273 204043e9 call mouse_adc_no_low_voltage 
+0274 6800cb02 fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0275 207a0000 rtn blank 
+0276 704b0200 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0277 20200211 branch p_mouse_multi_led_off 
+
+p_adc_set_mode:
+0278 6800c22d fetch 1 ,mem_adc_config_flag 
+0279 c001027b beq adc_config_gpio ,p_adc_check_gpio 
+027a 202068ec branch adc_set_mode + 1 
+
+p_adc_check_gpio:
+027b 6808cb05 fetcht 1 ,mem_mouse_multi_led_gpio 
+027c 204067fb call gpio_config_input 
+027d 6810807c hfetch 1 ,core_gpio_pd0 
+027e 793ffe05 set0 5 ,pdata 
+027f 6010807c hstore 1 ,core_gpio_pd0 
+0280 68108078 hfetch 1 ,core_gpio_pu0 
+0281 793ffe05 set0 5 ,pdata 
+0282 60108078 hstore 1 ,core_gpio_pu0 
+0283 204068f4 call adc_check_gpio 
+0284 20600000 rtn 
+
+p_adc_bat_percent_lowpower_out:
+0285 ea240000 ifetch 8 ,rega 
+0286 60040a9a store 8 ,mem_pdatatemp 
+0287 68090a9c fetcht 2 ,mem_pdatatemp + 2 
+0288 68010aa0 fetch 2 ,mem_pdatatemp + 6 
+0289 1feffe07 mul32 pdata ,7 ,pdata 
+028a 1fe6fc04 div pdata ,4 
+028b 20407f86 call wait_div_end 
+028c 1807fe00 quotient pdata 
+028d 1fe0fff6 pincrease -10 
+028e 98467c00 isub temp ,null 
+028f 24216944 nbranch adc_set_no_power_flag ,positive 
+0290 68090a9e fetcht 2 ,mem_pdatatemp + 4 
+0291 98467c00 isub temp ,null 
+0292 24216940 nbranch adc_set_low_power_flag ,positive 
+
+p_adc_clear_low_power_flag:
+0293 6800c231 fetch 1 ,mem_adc_power_flag 
+0294 793ffe00 set0 0 ,pdata 
+0295 6000c231 store 1 ,mem_adc_power_flag 
+0296 20600000 rtn 
+
+p_mouse_low_voltage_led_timer:
+0297 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+0298 c4020000 rtnbit0 mouse_low_voltage_flag 
+0299 6800cb0c fetch 1 ,mem_mouse_multi_led_blink_count 
+029a 247a0000 nrtn blank 
+029b 6800cb08 fetch 1 ,mem_mouse_multi_led_on_timer 
+029c 247a0000 nrtn blank 
+029d 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
+029e 1fe0fe01 pincrease 1 
+029f 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
+02a0 1fe67c14 sub pdata ,20 ,null 
+02a1 244102a6 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+02a2 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
+02a3 1fe67c0a sub pdata ,10 ,null 
+02a4 2021020a branch p_mouse_multi_led_on ,positive 
+02a5 20200211 branch p_mouse_multi_led_off 
+
+p_mouse_adc_low_volatage_led_timer_count_clean:
+02a6 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
+02a7 20600000 rtn 
+
+p_mouse_motion:
+02a8 78547c00 disable user 
+02a9 58000000 setarg 0 
+02aa 6003469b store 6 ,mem_mouse_x 
+02ab 20403fb5 call mouse_cheak_sensor_data 
+02ac 20404079 call mouse_zwheel 
+02ad 2040407e call mouse_t_zwheel 
+02ae 204002b0 call p_mouse_key 
+02af 20203f9f branch mouse_motion + 8 
+
+p_mouse_key:
+02b0 204002b2 call p_mouse_check_key_gpio 
+02b1 2020409a branch mouse_key + 1 
+
+p_mouse_check_key_gpio:
+02b2 da200000 arg 0 ,rega 
+02b3 204002bd call p_mouse_check_lkey_gpio 
+02b4 204002c3 call p_mouse_check_rkey_gpio 
+02b5 204002c9 call p_mouse_check_mkey_gpio 
+02b6 204002b9 call p_mouse_check_skey_gpio 
+02b7 1a227e00 copy rega ,pdata 
+02b8 20600000 rtn 
+
+p_mouse_check_skey_gpio:
+02b9 6800c6e5 fetch 1 ,mem_bk_button_gpio 
+02ba c17f8000 rtneq gpio_disable 
+02bb 204002cf call p_mouse_check_bk_key_gpio 
+02bc 202002d5 branch p_mouse_check_fw_key_gpio 
+
+p_mouse_check_lkey_gpio:
+02bd 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+02be 204002e4 call p_gpio_set_input_pu 
+02bf 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+02c0 2040681d call gpio_get_bit 
+02c1 7920a200 setflag true ,0 ,rega 
+02c2 20600000 rtn 
+
+p_mouse_check_rkey_gpio:
+02c3 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+02c4 204002e4 call p_gpio_set_input_pu 
+02c5 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+02c6 2040681d call gpio_get_bit 
+02c7 7920a201 setflag true ,1 ,rega 
+02c8 20600000 rtn 
+
+p_mouse_check_mkey_gpio:
+02c9 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+02ca 204002e4 call p_gpio_set_input_pu 
+02cb 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+02cc 2040681d call gpio_get_bit 
+02cd 7920a202 setflag true ,2 ,rega 
+02ce 20600000 rtn 
+
+p_mouse_check_bk_key_gpio:
+02cf 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+02d0 204002db call p_gpio_set_input_pd 
+02d1 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+02d2 2040681d call gpio_get_bit 
+02d3 7d20a203 nsetflag true ,3 ,rega 
+02d4 202002e4 branch p_gpio_set_input_pu 
+
+p_mouse_check_fw_key_gpio:
+02d5 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+02d6 204002db call p_gpio_set_input_pd 
+02d7 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+02d8 2040681d call gpio_get_bit 
+02d9 7d20a204 nsetflag true ,4 ,rega 
+02da 202002e4 branch p_gpio_set_input_pu 
+
+p_gpio_set_input_pd:
+02db 793f8407 set0 gpio_active_bit ,temp 
+02dc d8a08078 arg core_gpio_pu0 ,contw 
+02dd 20406830 call gpio_set_bit 
+02de 79200407 set1 gpio_active_bit ,temp 
+02df d8a0807c arg core_gpio_pd0 ,contw 
+02e0 20406830 call gpio_set_bit 
+02e1 793f8407 set0 gpio_active_bit ,temp 
+02e2 d8a08070 arg core_gpio_oe0 ,contw 
+02e3 20206830 branch gpio_set_bit 
+
+p_gpio_set_input_pu:
+02e4 79200407 set1 gpio_active_bit ,temp 
+02e5 d8a08078 arg core_gpio_pu0 ,contw 
+02e6 20406830 call gpio_set_bit 
+02e7 793f8407 set0 gpio_active_bit ,temp 
+02e8 202002df branch p_gpio_set_input_pd + 4 
+
+p_mouse_seting_dpi:
+02e9 20400329 call p_mosue_dpi_led_blink_init 
+02ea 6800c6e0 fetch 1 ,mem_config_sensor_type 
+02eb c002bdaa beq p3610 ,mouse_seting_3610_dpi 
+02ec c0023d96 beq p3212 ,mouse_seting_3212_dpi 
+02ed c0030300 beq p3065_xy ,p_mouse_seting_3065xy_dpi 
+02ee c0018300 beq p3204 ,p_mouse_seting_3065xy_dpi 
+
+p_mouse_seting_3205_dpi:
+02ef 6800c77a fetch 1 ,mem_mouse_dpi 
+02f0 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+02f1 204282f8 call p_mouse_3205_dpi_recount ,zero 
+02f2 6800c77a fetch 1 ,mem_mouse_dpi 
+02f3 c00002fa beq mouse_dpi_level1 ,p_mouse_set_cpi1 
+02f4 c000bd88 beq mouse_dpi_level2 ,mouse_set_cpi2 
+02f5 c00102fc beq mouse_dpi_level3 ,p_mouse_set_cpi3 
+02f6 c00182fe beq mouse_dpi_level4 ,p_mouse_set_cpi4 
+02f7 202002fc branch p_mouse_set_cpi3 
+
+p_mouse_3205_dpi_recount:
+02f8 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
+02f9 20600000 rtn 
+
+p_mouse_set_cpi1:
+02fa 704b0101 jam 1 ,mem_mouse_dpi_blink_count 
+02fb 20203d8a branch mouse_set_cpi1 
+
+p_mouse_set_cpi3:
+02fc 704b0102 jam 2 ,mem_mouse_dpi_blink_count 
+02fd 20203d8c branch mouse_set_cpi3 
+
+p_mouse_set_cpi4:
+02fe 704b0103 jam 3 ,mem_mouse_dpi_blink_count 
+02ff 20203d8e branch mouse_set_cpi4 
+
+p_mouse_seting_3065xy_dpi:
+0300 6800c77a fetch 1 ,mem_mouse_dpi 
+0301 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+0302 20428309 call p_mouse_3065xy_dpi_recount ,zero 
+0303 6800c77a fetch 1 ,mem_mouse_dpi 
+0304 c000030b beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
+0305 c000830f beq mouse_dpi_level2 ,p_mouse_3065xy_set_cpi2 
+0306 c0010312 beq mouse_dpi_level3 ,p_mouse_3065xy_set_cpi3 
+0307 c0018316 beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
+0308 20200312 branch p_mouse_3065xy_set_cpi3 
+
+p_mouse_3065xy_dpi_recount:
+0309 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
+030a 20600000 rtn 
+
+p_mouse_3065xy_set_cpi1:
+030b 704b0101 jam 1 ,mem_mouse_dpi_blink_count 
+030c 6800c77f fetch 1 ,mem_320x_dpi_1 
+030d 1fe0ffff increase -1 ,pdata 
+030e 20203dbe branch mouse_p3205_dpi 
+
+p_mouse_3065xy_set_cpi2:
+030f 6800c780 fetch 1 ,mem_320x_dpi_2 
+0310 1fe0ffff increase -1 ,pdata 
+0311 20203dbe branch mouse_p3205_dpi 
+
+p_mouse_3065xy_set_cpi3:
+0312 704b0102 jam 2 ,mem_mouse_dpi_blink_count 
+0313 6800c781 fetch 1 ,mem_320x_dpi_3 
+0314 1fe0ffff increase -1 ,pdata 
+0315 20203dbe branch mouse_p3205_dpi 
+
+p_mouse_3065xy_set_cpi4:
+0316 704b0103 jam 3 ,mem_mouse_dpi_blink_count 
+0317 6800c782 fetch 1 ,mem_320x_dpi_4 
+0318 1fe0ffff increase -1 ,pdata 
+0319 20203dbe branch mouse_p3205_dpi 
+
+p_mouse_seting_3212_dpi:
+031a 6800c77a fetch 1 ,mem_mouse_dpi 
+031b 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+031c 204282f8 call p_mouse_3205_dpi_recount ,zero 
+031d 6800c77a fetch 1 ,mem_mouse_dpi 
+031e c0003d9d beq mouse_dpi_level1 ,mouse_set_p3212_cpi1 
+031f c000bd9b beq mouse_dpi_level2 ,mouse_set_p3212_cpi2 
+0320 c0013d9f beq mouse_dpi_level3 ,mouse_set_p3212_cpi3 
+0321 c001bda1 beq mouse_dpi_level4 ,mouse_set_p3212_cpi4 
+0322 20203d9f branch mouse_set_p3212_cpi3 
+
+p_mouse_set_p3212_cpi1:
+0323 704b0101 jam 1 ,mem_mouse_dpi_blink_count 
+0324 20203d9d branch mouse_set_p3212_cpi1 
+
+p_mouse_set_p3212_cpi3:
+0325 704b0102 jam 2 ,mem_mouse_dpi_blink_count 
+0326 20203d9f branch mouse_set_p3212_cpi3 
+
+p_mouse_set_p3212_cpi4:
+0327 704b0103 jam 3 ,mem_mouse_dpi_blink_count 
+0328 20203da1 branch mouse_set_p3212_cpi4 
+
+p_mosue_dpi_led_blink_init:
+0329 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+032a c40b8000 rtnbit0 mouse_enable_dpi_led_blink 
+032b 7046df0a jam 10 ,mem_mouse_dpi_led_delay_count 
+032c 6800c6f4 fetch 1 ,mem_dpi_led_gpio 
+032d 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+032e 20600000 rtn 
+
+p_mouse_bb_event_discovery_btn:
+032f 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+0330 70479e00 jam 0 ,mem_mouse_null_enter_hibernate_timer 
+0331 c5130333 bmark1 mark_24g ,p_mouse_switch_to_bt 
+0332 2020426d branch mouse_bb_event_discovery_btn + 1 
+
+p_mouse_switch_to_bt:
+0333 20400598 call p_g24_check_51cmd_stop_24g 
+0334 2020426d branch mouse_bb_event_discovery_btn + 1 
+
+p_le_addr_random_config:
+0335 204068a2 call load_adc_init 
+0336 6801421d fetch 2 ,mem_0_5_adc_io_data 
+0337 203a033a branch p_le_otp_adc_empty ,blank 
+0338 600147c2 store 2 ,mem_random_addr_increase_count 
+
+p_le_addr_random_store:
+0339 2020035b branch p_mouse_store_eerpom_random_addr_increase_count 
+
+p_le_otp_adc_empty:
+033a 58001122 setarg 0x1122 
+033b 600147c2 store 2 ,mem_random_addr_increase_count 
+033c 20200339 branch p_le_addr_random_store 
+
+p_mouse_start_discovery:
+033d 6800cc4c fetch 1 ,mem_tx_power_temp 
+033e 6000c1de store 1 ,mem_tx_power 
+033f 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+0340 68014682 fetch 2 ,mem_ui_state_map 
+0341 c285834c bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
+0342 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+0343 c30c034c bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
+0344 2040035f call p_mouse_load_eeprom_random_addr_increase_count 
+0345 680947c2 fetcht 2 ,mem_random_addr_increase_count 
+0346 18408401 increase 1 ,temp 
+0347 600947c2 storet 2 ,mem_random_addr_increase_count 
+0348 600944a1 storet 2 ,mem_le_lap + 1 
+0349 2040035b call p_mouse_store_eerpom_random_addr_increase_count 
+034a 180a7e00 random pdata 
+034b 6000c4a0 store 1 ,mem_le_lap 
+
+p_mouse_start_discovery_norandom:
+034c 20403418 call app_lpm_mult_disable 
+034d 68014687 fetch 2 ,mem_discovery_timeout 
+034e 600146ac store 2 ,mem_mouse_discovery_timer 
+034f 70016d06 jam 6 ,mem_connection_options 
+0350 58000000 setarg 0 
+0351 600146b0 store 2 ,mem_mouse_no_data_timer 
+0352 600146ae store 2 ,mem_mouse_direct_timer 
+0353 d8e00007 arg mouse_store_eeprom_flag ,queue 
+0354 204043ce call mouse_enable_function_flag 
+0355 204043ca call mouse_bt_discovery_button_down_disable 
+0356 6800c092 fetch 1 ,mem_device_option 
+0357 2feffe01 isolate1 mode_4_mouse ,pdata 
+0358 20408363 call p_check_51cmd_adv ,true 
+0359 204042c4 call mouse_start_discovery_norandom + 13 
+035a 2020021d branch p_mouse_discovery_multi_led_blink 
+
+p_mouse_store_eerpom_random_addr_increase_count:
+035b d8400002 arg 2 ,temp 
+035c da2047c2 arg mem_random_addr_increase_count ,rega 
+035d da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
+035e 202065d1 branch iicd_write_protect_eep_data 
+
+p_mouse_load_eeprom_random_addr_increase_count:
+035f d8400002 arg 2 ,temp 
+0360 da2047c2 arg mem_random_addr_increase_count ,rega 
+0361 da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
+0362 202065df branch iicd_read_eep_data 
+
+p_check_51cmd_adv:
+0363 70479f00 jam 0 ,mem_mouse_le_reconnect_flag 
+0364 204000d8 call p_le_check_adv_flag 
+0365 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
+0366 e0c08000 istore 1 ,contr 
+0367 20207df4 branch check_51cmd_adv 
+
+p_mouse_stop_discovery:
+0368 20400224 call p_mouse_discovey_led_blink_off 
+0369 58000000 setarg 0 
+036a 600146ac store 2 ,mem_mouse_discovery_timer 
+036b 20400108 call p_mouse_sensor_poweron 
+036c 202042cb branch mouse_stop_discovery + 1 
+
+p_le_slave_match:
+036d 6800c50f fetch 1 ,mem_le_md_count 
+036e 1fe0fe01 pincrease 1 
+036f 6000c50f store 1 ,mem_le_md_count 
+0370 c0065395 beq le_md_max_count ,le_slave_cont 
+0371 204055aa call le_acknowledge 
+0372 2040561e call le_prepare_tx 
+0373 204004e6 call power_ctrl_start 
+0374 2020538f branch le_slave_match + 7 
+
+p_le_next_adv_channel:
+0375 68008016 fetch 1 ,mem_le_ch_mapped 
+0376 1fe0fe01 increase 1 ,pdata 
+0377 60008016 store 1 ,mem_le_ch_mapped 
+0378 c1940000 rtnne 40 
+0379 70001625 jam 37 ,mem_le_ch_mapped 
+037a 20600000 rtn 
+
+p_le_receive_skip:
+037b 204029bb call save_rssi 
+037c 2040001b call p_rssi_signal 
+037d 202054a3 branch le_receive_skip + 2 
+
+p_le_update_param:
+037e 20400386 call p_mouse_le_conn_param_check 
+037f 2020557d branch le_update_param + 8 
+
+p_mouse_le_lpm_mult_reinit:
+0380 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+0381 6000c172 store 1 ,mem_lpm_mult 
+
+p_mouse_le_conn_param_lpm_enable:
+0382 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0383 20600000 rtn 
+
+p_mouse_le_conn_param_lpm_disable:
+0384 7047c401 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
+0385 20600000 rtn 
+
+p_mouse_le_conn_param_check:
+0386 6800c3d6 fetch 1 ,mem_le_new_conninterval 
+0387 1fe67c0c sub pdata ,le_interval_15ms ,null 
+0388 24210384 nbranch p_mouse_le_conn_param_lpm_disable ,positive 
+0389 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+038a 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
+038b 98467c00 isub temp ,null 
+038c 20210380 branch p_mouse_le_lpm_mult_reinit ,positive 
+038d 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+038e 6000c172 store 1 ,mem_lpm_mult 
+038f 20200382 branch p_mouse_le_conn_param_lpm_enable 
+
+p_le_prepare_tx:
+0390 68008456 fetch 1 ,mem_le_arq 
+0391 c28283a4 bbit1 wak ,p_le_prepare_tx_wak 
+0392 204004d8 call power_ctrl_pac_succ_incrs 
+0393 6800c78e fetch 1 ,mem_empty_count 
+0394 243a039a nbranch p_le_send_empyt ,blank 
+0395 6800843f fetch 1 ,mem_le_state 
+0396 c302039e bbit0 lestate_encryption ,p_le_tx_4 
+0397 680082da fetch 1 ,mem_le_rxbuf + 1 
+0398 203a039e branch p_le_tx_4 ,blank 
+0399 20205664 branch le_send_empty 
+
+p_le_send_empyt:
+039a 6800c78e fetch 1 ,mem_empty_count 
+039b 1fe0ffff increase -1 ,pdata 
+039c 6000c78e store 1 ,mem_empty_count 
+039d 20205664 branch le_send_empty 
+
+p_le_tx_4:
+039e 6800c4c4 fetch 1 ,mem_le_pairing_state 
+039f c08283a1 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+03a0 70478e03 jam 3 ,mem_empty_count 
+
+p_in_le_tx_4:
+03a1 20405892 call le_fifo_check_nearly_full 
+03a2 205a06d0 call p_mouse_data_pull ,blank 
+03a3 20205622 branch le_prepare_tx + 4 
+
+p_le_prepare_tx_wak:
+03a4 204003a6 call p_le_check_tx_retransmit_setmd 
+03a5 202003b2 branch p_le_power_ctrl_pac_succ_decrs 
+
+p_le_check_tx_retransmit_setmd:
+03a6 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03a7 1fe17e03 and pdata ,0x03 ,pdata 
+03a8 c1818000 rtnne 0x03 
+03a9 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+03aa 207a0000 rtn blank 
+03ab 6800c3dd fetch 1 ,mem_le_txlen 
+03ac 207a0000 rtn blank 
+03ad 6800c3dc fetch 1 ,mem_le_txheader 
+03ae 79207e04 set1 md ,pdata 
+03af 6000c3dc store 1 ,mem_le_txheader 
+03b0 20405650 call le_set_md 
+03b1 20600000 rtn 
+
+p_le_power_ctrl_pac_succ_decrs:
+03b2 202004dc branch power_ctrl_pac_succ_decrs 
+
+p_mouse_le_reconn_write_enable_timer_reinit:
+03b3 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+03b4 207a0000 rtn blank 
+03b5 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03b6 1fe17e03 and pdata ,0x03 ,pdata 
+03b7 c1018000 rtneq 0x03 
+03b8 7046c60a jam 10 ,mem_le_start_encrypt_timer 
+03b9 20600000 rtn 
+
+p_le_parse_l2cap:
+03ba e8c10000 ifetch 2 ,contr 
+03bb c00203be beq le_l2cap_cid_att ,p_le_parse_att 
+03bc c00303db beq le_l2cap_cid_smp ,p_le_parse_smp 
+03bd 20205698 branch le_parse_l2cap + 11 
+
+p_le_parse_att:
+03be 20407ea5 call store_contr 
+03bf 204003b3 call p_mouse_le_reconn_write_enable_timer_reinit 
+03c0 20407e9f call get_contr 
+03c1 e8c18000 ifetch 3 ,contr 
+03c2 60018477 store 3 ,mem_le_att_opcode 
+03c3 c00803cd beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+03c4 1fec8400 rshift8 pdata ,temp 
+03c5 18467c24 sub temp ,0x24 ,null 
+03c6 202158ad branch le_parse_att + 2 ,positive 
+03c7 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
+03c8 600944bc storet 2 ,mem_ui_le_uuid_table 
+03c9 204058ad call le_parse_att + 2 
+03ca 58008e7a setarg 0x8e7a 
+03cb 600144bc store 2 ,mem_ui_le_uuid_table 
+03cc 20600000 rtn 
+
+p_le_parse_att_read_by_group_type_request:
+03cd 204059fa call le_parse_att_read_by_group_type_request 
+03ce 20405879 call le_fifo_get_last_tx_ptr 
+03cf 18c08c07 increase 7 ,contr 
+03d0 e8c08000 ifetch 1 ,contr 
+03d1 c1888000 rtnne attop_read_by_group_type_response 
+03d2 18c08c05 increase 5 ,contr 
+03d3 e8c10000 ifetch 2 ,contr 
+03d4 d8401812 arg uuid_service_hids ,temp 
+03d5 98467c00 isub temp ,null 
+03d6 24628000 nrtn zero 
+03d7 18c08dfc increase -4 ,contr 
+03d8 5800002b setarg 0x2b 
+03d9 e0c10000 istore 2 ,contr 
+03da 20600000 rtn 
+
+p_le_parse_smp:
+03db e8c08000 ifetch 1 ,contr 
+03dc c00283de beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+03dd 20205af5 branch le_parse_smp + 1 
+
+p_le_parse_smp_pairing_failed:
+03de 20405b5a call le_parse_smp_pairing_failed 
+03df 6800843f fetch 1 ,mem_le_state 
+03e0 793ffe05 set0 lestate_update_param ,pdata 
+03e1 6000843f store 1 ,mem_le_state 
+03e2 20205c8e branch le_parse_terminate_ind 
+
+p_le_adv_not_match:
+03e3 68008016 fetch 1 ,mem_le_ch_mapped 
+03e4 c093d6f2 bne 39 ,le_adv_loop 
+03e5 204003e9 call p_le_adv_random_delay 
+03e6 d8e00000 arg le_adv_interval_timer ,queue 
+03e7 68014482 fetch 2 ,mem_le_adv_interval 
+03e8 20207f08 branch timer_init 
+
+p_le_adv_random_delay:
+03e9 180a7e00 random pdata 
+03ea d84001ff arg 0x1ff ,temp 
+03eb 98417e00 iand temp ,pdata 
+03ec 1fe0fefa add pdata ,250 ,pdata 
+03ed 20203cbe branch delay 
+
+p_le_lpm_setmult:
+03ee 7855fc00 disable wake 
+03ef 203703f1 branch p_le_lpm_set_mult_attempt ,attempt 
+03f0 2436d806 nbranch le_lpm_lost ,match 
+
+p_le_lpm_set_mult_attempt:
+03f1 20402bcb call lpm_match 
+03f2 680140c1 fetch 2 ,mem_rx_window_sniff 
+03f3 6001044d store 2 ,mem_le_receive_window 
+03f4 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03f5 2fe00603 compare 3 ,pdata ,3 
+03f6 2420abde nbranch lpm_mult_short ,true 
+03f7 202057fb branch le_lpm_set_mult_attempt + 3 
+
+p_le_mouse_bb_event_connect_complete:
+03f8 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+03f9 247a0000 nrtn blank 
+03fa 68008478 fetch 1 ,mem_le_att_handle 
+03fb 1fe67e1a sub pdata ,26 ,pdata 
+03fc 24628000 nrtn zero 
+03fd 20203d60 branch mouse_le_write_enable 
+
+p_twspi_reset:
+03fe 68108077 hfetch 1 ,core_gpio_out3 
+03ff 1fe17efd and_into 0xfd ,pdata 
+0400 60108077 hstore 1 ,core_gpio_out3 
+0401 68188073 hfetcht 1 ,core_gpio_oe3 
+0402 18418402 or_into 0x2 ,temp 
+0403 60188073 hstoret 1 ,core_gpio_oe3 
+0404 204063ee call twspi_disable 
+0405 184104fd and_into 0xfd ,temp 
+0406 2000000d nop 13 
+0407 204063f2 call twspi_enable 
+0408 60188073 hstoret 1 ,core_gpio_oe3 
+0409 20600000 rtn 
+
+p_g24_set_device_addr:
+040a 204068a8 call adc_init_data 
+040b 680240a0 fetch 4 ,mem_lap 
+040c 60024bcc store 4 ,mem_24g_device_addr 
+040d 20600000 rtn 
+
+p_g24_transmit_rf_sta_init:
+040e 704ccb01 jam 1 ,mem_24g_rf_last_sta 
+040f 704ccd00 jam 0 ,mem_24g_sync_cnt 
+
+p_g24_transmit_rf_ctrl_clear:
+0410 6800cb96 fetch 1 ,mem_24g_data_type 
+0411 1fe17e07 and_into bits_data ,pdata 
+0412 6000cb96 store 1 ,mem_24g_data_type 
+0413 20600000 rtn 
+
+p_g24_hop_ch_enable:
+0414 6800cb96 fetch 1 ,mem_24g_data_type 
+0415 79207e04 set1 bit_hop ,pdata 
+0416 6000cb96 store 1 ,mem_24g_data_type 
+0417 6000cb51 store 1 ,mem_24g_txpayload 
+0418 20600000 rtn 
+
+p_g24_hop_ch_disable:
+0419 6800cb96 fetch 1 ,mem_24g_data_type 
+041a 793ffe04 set0 bit_hop ,pdata 
+041b 6000cb96 store 1 ,mem_24g_data_type 
+041c 20600000 rtn 
+
+p_g24_transmit_hop_pac_fail:
+041d 204004dc call power_ctrl_pac_succ_decrs 
+041e 6800cccc fetch 1 ,mem_24g_rf_work_stage 
+041f c0008422 beq 1 ,p_g24_transmit_hop_pac_fail_wo_hop 
+0420 c0010426 beq 2 ,p_g24_transmit_hop_pac_fail_hop_stage2 
+0421 20600000 rtn 
+
+p_g24_transmit_hop_pac_fail_wo_hop:
+0422 704ccd02 jam 2 ,mem_24g_sync_cnt 
+
+p_g24_transmit_hop_pac_fail_stage1:
+0423 704cc900 jam 0 ,mem_24g_hop_pac_retry 
+0424 704ccb00 jam 0 ,mem_24g_rf_last_sta 
+0425 20200410 branch p_g24_transmit_rf_ctrl_clear 
+
+p_g24_transmit_hop_pac_fail_hop_stage2:
+0426 704cca00 jam 0 ,mem_24g_rf_hop_ch 
+0427 20200423 branch p_g24_transmit_hop_pac_fail_stage1 
+
+p_g24_transmit_pac_fail_hop_stage3:
+0428 68014b9b fetch 2 ,mem_24g_txfail_cnt 
+0429 1fe0fe01 increase 1 ,pdata 
+042a 60014b9b store 2 ,mem_24g_txfail_cnt 
+042b c28504ca bbit1 10 ,p_g24_tx_attempt_fail 
+042c 6800ccca fetch 1 ,mem_24g_rf_hop_ch 
+042d c0008431 beq 1 ,p_g24_rf_hop_fastly 
+042e 704cca01 jam 1 ,mem_24g_rf_hop_ch 
+
+p_g24_rf_hop_attemp_again:
+042f 6800ccca fetch 1 ,mem_24g_rf_hop_ch 
+0430 c0808410 bne 1 ,p_g24_transmit_rf_ctrl_clear 
+
+p_g24_rf_hop_fastly:
+0431 6800ccc8 fetch 1 ,mem_24g_hop_fastly_cnt 
+0432 1fe0fe01 increase 1 ,pdata 
+0433 6000ccc8 store 1 ,mem_24g_hop_fastly_cnt 
+0434 c0020438 beq 4 ,p_g24_rf_hop_fastly_exit 
+0435 20400639 call p_g24_ch 
+0436 704bda02 jam 2 ,mem_24g_max_retry 
+0437 20200487 branch p_g24_transmit_packet 
+
+p_g24_rf_hop_fastly_exit:
+0438 204004dc call power_ctrl_pac_succ_decrs 
+0439 704cc800 jam 0 ,mem_24g_hop_fastly_cnt 
+043a 20200410 branch p_g24_transmit_rf_ctrl_clear 
+
+p_g24_transmit_hop_pac_succ_wo_hop:
+043b 704ccd02 jam 2 ,mem_24g_sync_cnt 
+
+p_g24_transmit_hop_pac_succ:
+043c 704ccb01 jam 1 ,mem_24g_rf_last_sta 
+043d 704cca00 jam 0 ,mem_24g_rf_hop_ch 
+043e 20200410 branch p_g24_transmit_rf_ctrl_clear 
+
+p_g24_transmit_succ_rf_config:
+043f 6800cccc fetch 1 ,mem_24g_rf_work_stage 
+0440 c001843c beq 3 ,p_g24_transmit_hop_pac_succ 
+0441 6800cb96 fetch 1 ,mem_24g_data_type 
+0442 2fec0004 isolate0 bit_hop ,pdata 
+0443 2020840e branch p_g24_transmit_rf_sta_init ,true 
+0444 6800cccc fetch 1 ,mem_24g_rf_work_stage 
+0445 c000843b beq 1 ,p_g24_transmit_hop_pac_succ_wo_hop 
+0446 c001043c beq 2 ,p_g24_transmit_hop_pac_succ 
+0447 20600000 rtn 
+
+p_g24_rf_sta_check:
+0448 6800cba5 fetch 1 ,mem_24g_pairing_sm 
+0449 c1ff8000 rtnne state_24g_pairing_success 
+044a 2040044d call p_g24_rf_laststa_synccnt_check 
+044b 24560455 ncall p_g24_rf_sync_cnt_check ,user2 
+044c 20600000 rtn 
+
+p_g24_rf_laststa_synccnt_check:
+044d 78567c00 disable user2 
+044e 6800cccb fetch 1 ,mem_24g_rf_last_sta 
+044f c1808000 rtnne 1 
+0450 6800cccd fetch 1 ,mem_24g_sync_cnt 
+0451 c1800000 rtnne 0 
+0452 704ccc01 jam 1 ,mem_24g_rf_work_stage 
+0453 704bda04 jam 4 ,mem_24g_max_retry 
+0454 20207feb branch enable_user2 
+
+p_g24_rf_sync_cnt_check:
+0455 6800cccd fetch 1 ,mem_24g_sync_cnt 
+0456 203a045d branch p_g24_rf_hop_attemp ,blank 
+0457 1fe0ffff increase -1 ,pdata 
+0458 6000cccd store 1 ,mem_24g_sync_cnt 
+0459 704ccc02 jam 2 ,mem_24g_rf_work_stage 
+045a 20400639 call p_g24_ch 
+045b 704bda04 jam 4 ,mem_24g_max_retry 
+045c 20600000 rtn 
+
+p_g24_rf_hop_attemp:
+045d 704ccc03 jam 3 ,mem_24g_rf_work_stage 
+045e 6800ccca fetch 1 ,mem_24g_rf_hop_ch 
+045f 243a042f nbranch p_g24_rf_hop_attemp_again ,blank 
+0460 20400639 call p_g24_ch 
+0461 704bda02 jam 2 ,mem_24g_max_retry 
+0462 20600000 rtn 
+
+p_g24_txdata_prep:
+0463 6800cba5 fetch 1 ,mem_24g_pairing_sm 
+0464 c0ff8523 bne state_24g_pairing_success ,p_g24_pairing_sm 
+
+p_g24_txdata_prep_packeage_data:
+0465 20400469 call p_g24_package_data 
+0466 20400627 call p_g24_transmit_prep 
+
+p_g24_txdata_enable_tx:
+0467 704b9a01 jam ensure_on_24g ,mem_24g_ensure 
+0468 20600000 rtn 
+
+p_g24_package_data:
+0469 68014cc6 fetch 2 ,mem_cb_24g_data 
+046a 20407f9c call callback_func 
+046b 2034046f branch p_g24_accumulate_mouse_data ,user 
+046c 6803cb32 fetch 7 ,mem_24g_txbuf + 1 
+046d 207a0000 rtn blank 
+046e 20207fe7 branch enable_user 
+
+p_g24_accumulate_mouse_data:
+046f 704bc100 jam 0 ,mem_24g_abort_pac 
+0470 1a20fe01 add rega ,1 ,pdata 
+0471 6000cb95 store 1 ,mem_24g_datalen 
+0472 20400410 call p_g24_transmit_rf_ctrl_clear 
+0473 6000cb31 store 1 ,mem_24g_txbuf 
+0474 e8a88000 ifetcht 1 ,contw 
+0475 ea408000 ifetch 1 ,regb 
+0476 9841fe00 ior temp ,pdata 
+0477 e0a08000 istore 1 ,contw 
+0478 1a40a401 increase 1 ,regb 
+0479 df200002 arg 2 ,loopcnt 
+
+p_g24_accumulation_loop:
+047a ea410000 ifetch 2 ,regb 
+047b e0a10000 istore 2 ,contw 
+047c 1a40a402 increase 2 ,regb 
+047d c200047a loop p_g24_accumulation_loop 
+047e d8a04b37 arg mem_24g_txbuf + 6 ,contw 
+047f df200002 arg 2 ,loopcnt 
+
+p_g24_accumulation_loop2:
+0480 ea408000 ifetch 1 ,regb 
+0481 e8a88000 ifetcht 1 ,contw 
+0482 9840fe00 iadd temp ,pdata 
+0483 e0a08000 istore 1 ,contw 
+0484 1a40a401 increase 1 ,regb 
+0485 c2000480 loop p_g24_accumulation_loop2 
+0486 20600000 rtn 
+
+p_g24_transmit_packet:
+0487 704b9e00 jam 0 ,mem_24g_retry 
+
+p_g24_transmit_loop:
+0488 d9600d00 arg param_rx_setup ,timeup 
+0489 34730200 until clkn_rt ,meet 
+048a 204004a3 call p_g24_transmit_receive_ack 
+048b 6800cbd1 fetch 1 ,mem_24g_no_ack 
+048c c1008000 rtneq no_ack_24g 
+048d 242c04b2 nbranch p_g24_retransmit ,sync 
+048e 243784b2 nbranch p_g24_retransmit ,user3 
+048f 2040049e call p_g24_txbuf_clear 
+0490 204004ce call p_g24_ackpayload_parse 
+0491 204004d8 call power_ctrl_pac_succ_incrs 
+
+p_g24_transmit_next_packet:
+0492 6800cb94 fetch 1 ,mem_24g_pid 
+0493 1fe0fe01 increase 1 ,pdata 
+0494 6000cb94 store 1 ,mem_24g_pid 
+0495 6800cba5 fetch 1 ,mem_24g_pairing_sm 
+0496 c0ff84a1 bne state_24g_pairing_success ,p_g24_paring_mode_start 
+0497 2040043f call p_g24_transmit_succ_rf_config 
+
+p_g24_transmit_abandon:
+0498 58000000 setarg 0 
+0499 60014b9b store 2 ,mem_24g_txfail_cnt 
+049a 6000cb9d store 1 ,mem_24g_get_ack_fail 
+049b 6000ccc9 store 1 ,mem_24g_hop_pac_retry 
+049c 704b9a00 jam ensure_off_24g ,mem_24g_ensure 
+049d 20600000 rtn 
+
+p_g24_txbuf_clear:
+049e df200004 arg 4 ,loopcnt 
+049f d8a04b31 arg mem_24g_txbuf ,contw 
+04a0 20207ec6 branch memset0 
+
+p_g24_paring_mode_start:
+04a1 204004d5 call power_ctrl_pac_succ_cnt_init 
+04a2 2020053e branch p_g24_paring_mode 
+
+p_g24_transmit_receive_ack:
+04a3 7857fc00 disable user3 
+04a4 204006a2 call p_g24_transmit 
+04a5 6800cbd1 fetch 1 ,mem_24g_no_ack 
+04a6 c00084b0 beq no_ack_24g ,p_g24_transmit_no_ack 
+04a7 18002a00 force 0 ,radio_ctrl 
+04a8 68024bbd fetch 4 ,mem_24g_addr 
+04a9 98001200 iforce access 
+04aa 68088017 fetcht 1 ,mem_last_freq 
+04ab 2040291f call set_freq_rx 
+04ac 20402924 call rf_rx_enable 
+04ad 2040065c call p_g24_receive_rxon 
+04ae 2057869a call p_g24_end_of_packet ,user3 
+04af 20600000 rtn 
+
+p_g24_transmit_no_ack:
+04b0 2040069a call p_g24_end_of_packet 
+04b1 20200492 branch p_g24_transmit_next_packet 
+
+p_g24_retransmit:
+04b2 6800cb9d fetch 1 ,mem_24g_get_ack_fail 
+04b3 1fe0fe01 increase 1 ,pdata 
+04b4 6000cb9d store 1 ,mem_24g_get_ack_fail 
+04b5 6800cba5 fetch 1 ,mem_24g_pairing_sm 
+04b6 c0ff84c6 bne state_24g_pairing_success ,p_g24_tx_paring_retry 
+04b7 6808cb9e fetcht 1 ,mem_24g_retry 
+04b8 18408401 increase 1 ,temp 
+04b9 6008cb9e storet 1 ,mem_24g_retry 
+04ba 6800cbda fetch 1 ,mem_24g_max_retry 
+04bb 98467e00 isub temp ,pdata 
+04bc 243a0488 nbranch p_g24_transmit_loop ,blank 
+04bd 6800cccc fetch 1 ,mem_24g_rf_work_stage 
+04be c0018428 beq 3 ,p_g24_transmit_pac_fail_hop_stage3 
+04bf 6800ccc9 fetch 1 ,mem_24g_hop_pac_retry 
+04c0 1fe0fe01 increase 1 ,pdata 
+04c1 6000ccc9 store 1 ,mem_24g_hop_pac_retry 
+04c2 c001041d beq 2 ,p_g24_transmit_hop_pac_fail 
+04c3 20400414 call p_g24_hop_ch_enable 
+04c4 704bda01 jam 1 ,mem_24g_max_retry 
+04c5 20200487 branch p_g24_transmit_packet 
+
+p_g24_tx_paring_retry:
+04c6 6800cb9d fetch 1 ,mem_24g_get_ack_fail 
+04c7 c1ff8000 rtnne 0xff 
+04c8 704b9d00 jam 0 ,mem_24g_get_ack_fail 
+04c9 202004cc branch p_g24_stop_g24_mode 
+
+p_g24_tx_attempt_fail:
+04ca 58000000 setarg 0 
+04cb 60014b9b store 2 ,mem_24g_txfail_cnt 
+
+p_g24_stop_g24_mode:
+04cc 700a993a jam bt_evt_24g_attempt_fail ,mem_fifo_temp 
+04cd 20207d86 branch ui_ipc_send_event 
+
+p_g24_ackpayload_parse:
+04ce 204005a1 call p_g24_read_len_pid_crc 
+04cf 6800cb93 fetch 1 ,mem_24g_rxdata_length 
+04d0 207a0000 rtn blank 
+04d1 98007200 iforce loopcnt 
+04d2 d8c04b11 arg mem_24g_rxbuf + 2 ,contr 
+04d3 d8a04b73 arg mem_24g_rxpayload ,contw 
+04d4 20207f01 branch memcpy 
+
+power_ctrl_pac_succ_cnt_init:
+04d5 704cd101 jam 1 ,mem_power_ctrl_level 
+04d6 704cce00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+04d7 20600000 rtn 
+
+power_ctrl_pac_succ_incrs:
+04d8 6800ccce fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+04d9 1fe0fe01 increase 1 ,pdata 
+04da 6000ccce store 1 ,mem_power_ctrl_pac_succ_cnt 
+04db 20600000 rtn 
+
+power_ctrl_pac_succ_decrs:
+04dc 6800ccce fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+04dd 1fe67c02 sub pdata ,2 ,null 
+04de 244104e4 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+04df 6800ccce fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+04e0 c1000000 rtneq 0 
+04e1 1fe0ffff increase -1 ,pdata 
+04e2 6000ccce store 1 ,mem_power_ctrl_pac_succ_cnt 
+04e3 20600000 rtn 
+
+power_ctrl_pac_succ_cnt_reinit:
+04e4 704cce03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+04e5 20600000 rtn 
+
+power_ctrl_start:
+04e6 68014682 fetch 2 ,mem_ui_state_map 
+04e7 c3858000 rtnbit1 ui_state_ble_adv 
+04e8 c3838000 rtnbit1 ui_state_bt_reconnect 
+04e9 c3830000 rtnbit1 ui_state_bt_discovery 
+04ea da204c57 arg mem_rssi_signal_buf ,rega 
+04eb 20400608 call p_rssi_average 
+04ec 6008cccf storet 1 ,mem_rssi_avg_received 
+04ed 280ffe26 isolate1 mark_24g ,mark 
+04ee 204084f8 call power_ctrl_24g_dis_max ,true 
+04ef 244084fc ncall power_ctrl_le_dis_max ,true 
+04f0 98467c00 isub temp ,null 
+04f1 24210510 nbranch power_ctrl_txpower_incrs_force ,positive 
+04f2 6800ccce fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+04f3 1fe67c02 sub pdata ,2 ,null 
+04f4 24210500 nbranch power_ctrl_txpower_decrs_check ,positive 
+04f5 6800ccce fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+04f6 c0000511 beq 0 ,power_ctrl_txpower_incrs 
+04f7 20600000 rtn 
+
+power_ctrl_24g_dis_max:
+04f8 58000082 setarg rssi_dis_max_24g 
+04f9 20600000 rtn 
+
+power_ctrl_24g_dis_min:
+04fa 58000077 setarg rssi_dis_min_24g 
+04fb 20600000 rtn 
+
+power_ctrl_le_dis_max:
+04fc 58000080 setarg rssi_dis_max_ble 
+04fd 20600000 rtn 
+
+power_ctrl_le_dis_min:
+04fe 58000075 setarg rssi_dis_min_ble 
+04ff 20600000 rtn 
+
+power_ctrl_txpower_decrs_check:
+0500 6800ccce fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0501 c1900000 rtnne 32 
+0502 704cce00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+
+power_ctrl_txpower_decrs:
+0503 6808cccf fetcht 1 ,mem_rssi_avg_received 
+0504 280ffe26 isolate1 mark_24g ,mark 
+0505 204084fa call power_ctrl_24g_dis_min ,true 
+0506 244084fe ncall power_ctrl_le_dis_min ,true 
+0507 98467c00 isub temp ,null 
+0508 24610000 nrtn positive 
+0509 6800ccd1 fetch 1 ,mem_power_ctrl_level 
+050a c0000518 beq 0 ,power_ctrl_decrs_level0 
+050b 1fe0ffff increase -1 ,pdata 
+050c 6000ccd1 store 1 ,mem_power_ctrl_level 
+050d c0000518 beq 0 ,power_ctrl_decrs_level0 
+
+power_ctrl_decrs_level1:
+
+power_ctrl_incrs_level1:
+050e 7041de00 jam tx_power_0db ,mem_tx_power 
+050f 20600000 rtn 
+
+power_ctrl_txpower_incrs_force:
+0510 704cce00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+
+power_ctrl_txpower_incrs:
+0511 6800ccd1 fetch 1 ,mem_power_ctrl_level 
+0512 c0010516 beq 2 ,power_ctrl_incrs_level2 
+0513 1fe0fe01 increase 1 ,pdata 
+0514 6000ccd1 store 1 ,mem_power_ctrl_level 
+0515 c000850e beq 1 ,power_ctrl_incrs_level1 
+
+power_ctrl_incrs_level2:
+0516 7041de02 jam tx_power_5db ,mem_tx_power 
+0517 20600000 rtn 
+
+power_ctrl_decrs_level0:
+0518 7041de04 jam tx_power_f5db ,mem_tx_power 
+0519 20600000 rtn 
+
+p_g24_start_pairing_sm1:
+051a 79200026 set1 mark_24g ,mark 
+051b 2040051e call p_g24_pair_init 
+
+p_g24_set_pairing_sm_1:
+051c 704ba501 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
+051d 20600000 rtn 
+
+p_g24_pair_init:
+051e 7041de20 jam tx_power_pair ,mem_tx_power 
+051f 704b9400 jam 0 ,mem_24g_pid 
+0520 704b9f4e jam g24_pair_ch ,mem_24g_ch 
+0521 68024ba1 fetch 4 ,mem_24g_paring_addr 
+0522 20200619 branch p_g24_update_addr_and_synccrc8 
+
+p_g24_pairing_sm:
+0523 6800cb9a fetch 1 ,mem_24g_ensure 
+0524 c000ffe7 beq ensure_on_24g ,enable_user 
+0525 6800cba5 fetch 1 ,mem_24g_pairing_sm 
+0526 c000852a beq state_24g_pairing_1 ,p_g24_pairing_sm_1 
+0527 c001052d beq state_24g_pairing_2 ,p_g24_pairing_sm_2 
+0528 c0018530 beq state_24g_pairing_3 ,p_g24_pairing_sm_3 
+0529 20202a8c branch assert 
+
+p_g24_pairing_sm_1:
+052a 704ba511 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
+052b 70119eaa jam 0xaa ,mem_24g_common_temp 
+052c 20200532 branch p_g24_pairing_sm_common 
+
+p_g24_pairing_sm_2:
+052d 704ba512 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
+052e 70119e55 jam 0x55 ,mem_24g_common_temp 
+052f 20200532 branch p_g24_pairing_sm_common 
+
+p_g24_pairing_sm_3:
+0530 704ba513 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
+0531 70119e22 jam 0x22 ,mem_24g_common_temp 
+
+p_g24_pairing_sm_common:
+0532 6800cb96 fetch 1 ,mem_24g_data_type 
+0533 1fe17e07 and_into bits_data ,pdata 
+0534 6000919f store 1 ,mem_24g_common_temp + 1 
+0535 68024bcc fetch 4 ,mem_24g_device_addr 
+0536 600211a0 store 4 ,mem_24g_common_temp + 2 
+
+p_g24_put_pairing_data_in_buff:
+0537 7011a400 jam 0 ,mem_24g_common_temp + 6 
+0538 da20119e arg mem_24g_common_temp ,rega 
+0539 d8400007 arg 7 ,temp 
+053a 2040059c call p_g24_put_data_in_buff 
+053b 20400627 call p_g24_transmit_prep 
+053c 20400467 call p_g24_txdata_enable_tx 
+053d 20207fe7 branch enable_user 
+
+p_g24_paring_mode:
+053e 6800cba5 fetch 1 ,mem_24g_pairing_sm 
+053f c17f8000 rtneq state_24g_pairing_success 
+0540 c0088544 beq state_24g_pairing_1_waiting_ack ,p_g24_pairing_sm_1_waiting_ack 
+0541 c0090546 beq state_24g_pairing_2_waiting_ack ,p_g24_pairing_sm_2_waiting_ack 
+0542 c0098548 beq state_24g_pairing_3_waiting_ack ,p_g24_pairing_sm_3_waiting_ack 
+0543 20600000 rtn 
+
+p_g24_pairing_sm_1_waiting_ack:
+0544 704ba502 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
+0545 20200498 branch p_g24_transmit_abandon 
+
+p_g24_pairing_sm_2_waiting_ack:
+0546 704ba503 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
+0547 20200498 branch p_g24_transmit_abandon 
+
+p_g24_pairing_sm_3_waiting_ack:
+0548 704ba5ff jam state_24g_pairing_success ,mem_24g_pairing_sm 
+0549 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+054a 20407d86 call ui_ipc_send_event 
+054b 68024b75 fetch 4 ,mem_24g_rxpayload + 2 
+054c 20400619 call p_g24_update_addr_and_synccrc8 
+054d 20200498 branch p_g24_transmit_abandon 
+
+p_g24_start_24g_mode:
+054e 793f8026 set0 mark_24g ,mark 
+054f 20400592 call p_g24_ch_syncword_crc8_init 
+0550 6800cba5 fetch 1 ,mem_24g_pairing_sm 
+0551 c1ff8000 rtnne state_24g_pairing_success 
+0552 20400563 call p_g24_tx_attemp_data_prep 
+
+p_g24_tx_attemp_dongle:
+0553 58000000 setarg 0 
+0554 60014bc2 store 2 ,mem_24g_check_dongle_times 
+
+p_g24_tx_attemp_dongle_loop:
+0555 20402afa call lpo_calibration 
+0556 200007d0 nop 2000 
+0557 6800cbc2 fetch 1 ,mem_24g_check_dongle_times 
+0558 c07f84cc beq 0xff ,p_g24_stop_g24_mode 
+0559 204004a3 call p_g24_transmit_receive_ack 
+055a 242c056c nbranch p_g24_attemp_txdata_retry ,sync 
+055b 2437856c nbranch p_g24_attemp_txdata_retry ,user3 
+
+p_g24_tx_attemp_dongle_succ:
+055c 79200026 set1 mark_24g ,mark 
+055d 58000000 setarg 0 
+055e 60014bc2 store 2 ,mem_24g_check_dongle_times 
+055f 700a993c jam bt_evt_24g_attempt_success ,mem_fifo_temp 
+0560 20407d86 call ui_ipc_send_event 
+0561 2040049e call p_g24_txbuf_clear 
+0562 2020006b branch p_g24_transmit_by_interrupt_enable 
+
+p_g24_tx_attemp_data_prep:
+0563 70119eff jam 0xff ,mem_24g_common_temp 
+0564 6800cb96 fetch 1 ,mem_24g_data_type 
+0565 6000919f store 1 ,mem_24g_common_temp + 1 
+0566 68024bcc fetch 4 ,mem_24g_device_addr 
+0567 600211a0 store 4 ,mem_24g_common_temp + 2 
+0568 d8400006 arg 6 ,temp 
+0569 da20119e arg mem_24g_common_temp ,rega 
+056a 2040059c call p_g24_put_data_in_buff 
+056b 20200627 branch p_g24_transmit_prep 
+
+p_g24_attemp_txdata_retry:
+056c 68014bc2 fetch 2 ,mem_24g_check_dongle_times 
+056d 1fe0fe01 increase 1 ,pdata 
+056e 60014bc2 store 2 ,mem_24g_check_dongle_times 
+056f 20400639 call p_g24_ch 
+0570 20200555 branch p_g24_tx_attemp_dongle_loop 
+
+p_g24_auto_pair_start:
+0571 793f8026 set0 mark_24g ,mark 
+0572 2040058e call p_g24_auto_pair_all_powerful 
+0573 20400563 call p_g24_tx_attemp_data_prep 
+
+p_g24_auto_pair_restart:
+0574 704bc200 jam 0 ,mem_24g_check_dongle_times 
+
+p_g24_auto_pair_start_loop:
+0575 20402afa call lpo_calibration 
+0576 200007d0 nop 2000 
+0577 6800cbc2 fetch 1 ,mem_24g_check_dongle_times 
+0578 c07f84cc beq 0xff ,p_g24_stop_g24_mode 
+0579 204004a3 call p_g24_transmit_receive_ack 
+057a 242c0584 nbranch p_g24_auto_pair_retry ,sync 
+057b 24378584 nbranch p_g24_auto_pair_retry ,user3 
+057c 204004ce call p_g24_ackpayload_parse 
+057d 6800cc4c fetch 1 ,mem_tx_power_temp 
+057e 6000c1de store 1 ,mem_tx_power 
+057f 68024bbd fetch 4 ,mem_24g_addr 
+0580 680a4ba1 fetcht 4 ,mem_24g_paring_addr 
+0581 98467c00 isub temp ,null 
+0582 2022851a branch p_g24_start_pairing_sm1 ,zero 
+0583 2020055c branch p_g24_tx_attemp_dongle_succ 
+
+p_g24_auto_pair_retry:
+0584 6800cbc2 fetch 1 ,mem_24g_check_dongle_times 
+0585 1fe0fe01 increase 1 ,pdata 
+0586 6000cbc2 store 1 ,mem_24g_check_dongle_times 
+0587 6800ccd3 fetch 1 ,mem_24g_auto_paring_switch 
+0588 1fe0fe01 increase 1 ,pdata 
+0589 1fe17e01 and_into 1 ,pdata 
+058a 6000ccd3 store 1 ,mem_24g_auto_paring_switch 
+058b c0000594 beq 0 ,p_g24_auto_pair_device_attemp 
+058c c0008596 beq 1 ,p_g24_auto_pair_pair_attemp 
+058d 20600000 rtn 
+
+p_g24_auto_pair_all_powerful:
+058e 7041de20 jam tx_power_pair ,mem_tx_power 
+058f 58000f0f setarg 0x0f0f 
+0590 60014bbd store 2 ,mem_24g_addr 
+0591 e0a10000 istore 2 ,contw 
+
+p_g24_ch_syncword_crc8_init:
+0592 2040061a call p_g24_syncword_crc8 
+0593 20200639 branch p_g24_ch 
+
+p_g24_auto_pair_device_attemp:
+0594 2040058e call p_g24_auto_pair_all_powerful 
+0595 20200575 branch p_g24_auto_pair_start_loop 
+
+p_g24_auto_pair_pair_attemp:
+0596 2040051e call p_g24_pair_init 
+0597 20200575 branch p_g24_auto_pair_start_loop 
+
+p_g24_check_51cmd_stop_24g:
+0598 793f8026 set0 mark_24g ,mark 
+0599 204053ce call le_disable 
+
+p_mouse_disable_g24_pairing_flag:
+059a d8e00003 arg mosue_24g_pairing_flag ,queue 
+059b 202043d2 branch mouse_disable_function_flag 
+
+p_g24_put_data_in_buff:
+059c 6008cb95 storet 1 ,mem_24g_datalen 
+059d 18427200 copy temp ,loopcnt 
+059e d8a04b31 arg mem_24g_txbuf ,contw 
+059f 1a220c00 copy rega ,contr 
+05a0 20207f01 branch memcpy 
+
+p_g24_read_len_pid_crc:
+05a1 6800cb10 fetch 1 ,mem_24g_rxbuf + 1 
+05a2 1fe97e00 rshift3 pdata ,pdata 
+05a3 6000cb93 store 1 ,mem_24g_rxdata_length 
+05a4 1fe0fe01 increase 1 ,pdata 
+05a5 d8c04b10 arg mem_24g_rxbuf + 1 ,contr 
+05a6 98c08c00 iadd contr ,contr 
+05a7 e8c18000 ifetch 3 ,contr 
+05a8 6001cbd2 store 3 ,mem_24g_sta_crc 
+05a9 6800cb10 fetch 1 ,mem_24g_rxbuf + 1 
+05aa 1fe37e00 rshift pdata ,pdata 
+05ab 1fe17e03 and pdata ,0x03 ,pdata 
+05ac 6000cbd8 store 1 ,mem_24g_sta_pid 
+05ad 20600000 rtn 
+
+p_set_freq_tx:
+05ae 60088017 storet 1 ,mem_last_freq 
+05af 1840a200 add temp ,0 ,rega 
+05b0 20402981 call rf_write_freq 
+05b1 58000500 setarg param_pll_setup 
+05b2 20402a8f call sleep 
+
+p_rf_tx_enable:
+05b3 70890601 jam 0x1 ,rfen_adc 
+05b4 7089003c jam 0x3c ,rfen_rx 
+05b5 708901e0 jam 0xe0 ,rfen_tx 
+05b6 2000000a nop 10 
+05b7 70890201 jam 0x01 ,rfen_mdm 
+05b8 7089023d jam 0x3d ,rfen_mdm 
+05b9 2000000a nop 10 
+05ba 708903b7 jam 0xb7 ,rfen_sn 
+05bb 2000000a nop 10 
+05bc 7089027d jam 0x7d ,rfen_mdm 
+05bd 6800c1de fetch 1 ,mem_tx_power 
+05be c00005c3 beq tx_power_0db ,p_set_tx_power_0db 
+05bf c00105cb beq tx_power_5db ,p_set_tx_power_5db 
+05c0 c00205d3 beq tx_power_f5db ,p_set_tx_power_f5db 
+05c1 c01005e5 beq tx_power_pair ,p_set_tx_power_pair 
+05c2 202005c3 branch p_set_tx_power_0db 
+
+p_set_tx_power_0db:
+05c3 204005db call p_rx_low_sens 
+05c4 70894bba jam 0xba ,0x894b 
+05c5 708955d0 jam 0xd0 ,0x8955 
+05c6 708956e0 jam 0xe0 ,0x8956 
+05c7 70895788 jam 0x88 ,0x8957 
+05c8 7089586c jam 0x6c ,0x8958 
+05c9 70895910 jam 0x10 ,0x8959 
+05ca 2020294b branch set_tx_power_0db 
+
+p_set_tx_power_5db:
+05cb 204005e0 call p_rx_high_sens 
+05cc 70894bba jam 0xba ,0x894b 
+05cd 708955d0 jam 0xd0 ,0x8955 
+05ce 708956e0 jam 0xe0 ,0x8956 
+05cf 70895788 jam 0x88 ,0x8957 
+05d0 7089583c jam 0x3c ,0x8958 
+05d1 70895910 jam 0x10 ,0x8959 
+05d2 20202953 branch set_tx_power_5db 
+
+p_set_tx_power_f5db:
+05d3 204005db call p_rx_low_sens 
+05d4 70894bba jam 0xba ,0x894b 
+05d5 708955d0 jam 0xd0 ,0x8955 
+05d6 708956c0 jam 0xc0 ,0x8956 
+05d7 70895788 jam 0x88 ,0x8957 
+05d8 7089586c jam 0x6c ,0x8958 
+05d9 70895910 jam 0x10 ,0x8959 
+05da 2020295b branch set_tx_power_f5db 
+
+p_rx_low_sens:
+05db 70894c5b jam 0x5b ,0x894c 
+05dc 70894d96 jam 0x96 ,0x894d 
+05dd 70894e2c jam 0x2c ,0x894e 
+05de 70894f46 jam 0x46 ,0x894f 
+05df 20600000 rtn 
+
+p_rx_high_sens:
+05e0 70894cfb jam 0xfb ,0x894c 
+05e1 70894def jam 0xef ,0x894d 
+05e2 70894eec jam 0xec ,0x894e 
+05e3 70894f5e jam 0x5e ,0x894f 
+05e4 20600000 rtn 
+
+p_set_tx_power_pair:
+05e5 70894bba jam 0xba ,0x894b 
+05e6 708956c2 jam 0xc2 ,0x8956 
+05e7 708955d0 jam 0xd0 ,0x8955 
+05e8 20600000 rtn 
+
+p_shutdown_radio:
+05e9 18002a08 force 8 ,radio_ctrl 
+05ea 202028fa branch shutdown_radio + 1 
+
+p_g24_timer_check:
+05eb 20407fe9 call disable_user 
+05ec 680a4bb6 fetcht 4 ,mem_24g_tx_btclk 
+05ed 1c427e00 copy clkn_bt ,pdata 
+05ee 98467c00 isub temp ,null 
+05ef 24412d18 ncall g24_timer_timeout ,positive 
+05f0 1fe22400 copy pdata ,regb 
+05f1 68024bb6 fetch 4 ,mem_24g_tx_btclk 
+05f2 6808cbba fetcht 1 ,mem_24g_interval 
+05f3 98408400 iadd temp ,temp 
+05f4 1a427e00 copy regb ,pdata 
+05f5 98467c00 isub temp ,null 
+05f6 24610000 nrtn positive 
+05f7 793ffe1c set0 28 ,pdata 
+05f8 60024bb6 store 4 ,mem_24g_tx_btclk 
+05f9 20207fe7 branch enable_user 
+
+p_rssi_noise:
+05fa 204029bb call save_rssi 
+05fb 207a0000 rtn blank 
+05fc 6808cc4f fetcht 1 ,mem_rssi_noise_index 
+05fd da200d9e arg mem_rssi_noise_buffer ,rega 
+05fe 20400601 call p_rssi_store 
+05ff 6008cc4f storet 1 ,mem_rssi_noise_index 
+0600 20600000 rtn 
+
+p_rssi_store:
+0601 1a227e00 copy rega ,pdata 
+0602 98408a00 iadd temp ,contw 
+0603 68008018 fetch 1 ,mem_rssi 
+0604 e0a08000 istore 1 ,contw 
+0605 18408401 increase 1 ,temp 
+0606 18410407 and_into rssi_buf_len_signal ,temp 
+0607 20600000 rtn 
+
+p_rssi_average:
+0608 d8400000 arg 0 ,temp 
+0609 df200008 arg rssi_buf_len_signal + 1 ,loopcnt 
+060a 1a220c00 copy rega ,contr 
+
+p_rssi_average_loop:
+060b e8c08000 ifetch 1 ,contr 
+060c 98408400 iadd temp ,temp 
+060d c200060b loop p_rssi_average_loop 
+060e 18497e00 rshift3 temp ,pdata 
+060f 1fe20400 copy pdata ,temp 
+0610 c6930000 rtnmark0 mark_24g 
+0611 1fe6fc0a div pdata ,10 
+0612 20407f86 call wait_div_end 
+0613 1807fe00 quotient pdata 
+0614 1ff27e00 lshift4 pdata ,pdata 
+0615 18070400 remainder temp 
+0616 98418400 ior temp ,temp 
+0617 20600000 rtn 
+0618 20600000 rtn 
+
+p_g24_update_addr_and_synccrc8:
+0619 60024bbd store 4 ,mem_24g_addr 
+
+p_g24_syncword_crc8:
+061a da200000 arg 0 ,rega 
+061b df200004 arg 4 ,loopcnt 
+061c d8c04bbd arg mem_24g_addr ,contr 
+
+p_g24_syncword_crc8_loop:
+061d e8c08000 ifetch 1 ,contr 
+061e 9a20a200 iadd rega ,rega 
+061f c200061d loop p_g24_syncword_crc8_loop 
+0620 1a227e00 copy rega ,pdata 
+0621 60014c46 store 2 ,mem_24g_syncword 
+0622 6800cc46 fetch 1 ,mem_24g_syncword 
+0623 6808cc47 fetcht 1 ,mem_24g_syncword + 1 
+0624 9840fe00 iadd temp ,pdata 
+0625 6000cc48 store 1 ,mem_24g_syncword_crc8 
+0626 20600000 rtn 
+
+p_g24_transmit_prep:
+0627 6800cb95 fetch 1 ,mem_24g_datalen 
+0628 1fe0fe02 increase 2 ,pdata 
+0629 6000cb97 store 1 ,mem_24g_txlen 
+062a 6800cb96 fetch 1 ,mem_24g_data_type 
+062b 6000cb51 store 1 ,mem_24g_txpayload 
+062c 6800cb95 fetch 1 ,mem_24g_datalen 
+062d 1fe9fe00 lshift3 pdata ,pdata 
+062e 6808cb94 fetcht 1 ,mem_24g_pid 
+062f 18410403 and temp ,0x03 ,temp 
+0630 18438400 lshift temp ,temp 
+0631 9841fe00 ior temp ,pdata 
+0632 6808cbd1 fetcht 1 ,mem_24g_no_ack 
+0633 9840fe00 iadd temp ,pdata 
+0634 e0a08000 istore 1 ,contw 
+0635 6800cb95 fetch 1 ,mem_24g_datalen 
+0636 98007200 iforce loopcnt 
+0637 d8c04b31 arg mem_24g_txbuf ,contr 
+0638 20207f01 branch memcpy 
+
+p_g24_ch:
+0639 6808cba0 fetcht 1 ,mem_24g_current_ch_number 
+063a 2040063d call p_g24_ch_map_size 
+063b 6008cba0 storet 1 ,mem_24g_current_ch_number 
+063c 20600000 rtn 
+
+p_g24_ch_map_size:
+063d 20400641 call p_g24_ch_calc 
+063e 18408401 increase 1 ,temp 
+063f 18410403 and_into 3 ,temp 
+0640 20600000 rtn 
+
+p_g24_ch_calc:
+0641 6800cbbd fetch 1 ,mem_24g_addr 
+0642 1fe17e03 and_into 0x03 ,pdata 
+0643 1fefa204 mul32 pdata ,4 ,rega 
+0644 58004ba6 setarg mem_24g_ch_map1 
+0645 9a20fe00 iadd rega ,pdata 
+0646 98408c00 iadd temp ,contr 
+0647 e8c08000 ifetch 1 ,contr 
+0648 6000cb9f store 1 ,mem_24g_ch 
+0649 20600000 rtn 
+
+p_g24_prep:
+064a 7844fc00 disable enable_crc 
+064b 7843fc00 disable enable_white 
+064c 58555555 setarg 0x555555 
+064d 98001e00 iforce crc24_init 
+064e 6800cb9f fetch 1 ,mem_24g_ch 
+064f 1fed8400 reverse pdata ,temp 
+0650 79200401 set1 1 ,temp 
+0651 18431c00 rshift temp ,white_init 
+0652 20600000 rtn 
+
+p_g24_receive_packet:
+0653 204053c4 call le_enable 
+0654 68024bbd fetch 4 ,mem_24g_addr 
+0655 98001200 iforce access 
+0656 20402918 call set_sync_on 
+0657 6808cb9f fetcht 1 ,mem_24g_ch 
+0658 2040291f call set_freq_rx 
+0659 58000500 setarg param_pll_setup 
+065a 20402a8f call sleep 
+065b 20402924 call rf_rx_enable 
+
+p_g24_receive_rxon:
+065c 2040064a call p_g24_prep 
+065d 7857fc00 disable user3 
+065e 7826fc00 enable decode_fec0 
+065f 7830fc00 enable is_rx 
+0660 78507c00 disable is_tx 
+0661 78287c00 enable swfine 
+0662 68014b98 fetch 2 ,mem_24g_rx_window 
+0663 98003600 iforce stop_watch 
+0664 37c18400 correlate null ,timeout 
+0665 242c069e nbranch p_g24_sync_timeout ,sync 
+0666 7846fc00 disable decode_fec0 
+0667 7825fc00 enable decode_fec1 
+0668 7823fc00 enable enable_white 
+0669 7824fc00 enable enable_crc 
+066a 09800008 parse demod ,bucket ,8 
+066b 19897e00 rshift3 pwindow ,pdata 
+066c 6000cc49 store 1 ,mem_24g_get_syncword_crc8 
+066d 6808cc48 fetcht 1 ,mem_24g_syncword_crc8 
+066e 98467c00 isub temp ,null 
+066f 2422869a nbranch p_g24_end_of_packet ,zero 
+0670 09800008 parse demod ,bucket ,8 
+0671 19897e00 rshift3 pwindow ,pdata 
+0672 6000cb0f store 1 ,mem_24g_rxbuf 
+0673 6800cbdb fetch 1 ,mem_24g_mode 
+0674 1fe67c02 sub pdata ,rx_24g ,null 
+0675 2022867a branch p_g24_receive_skip ,zero 
+0676 6800cb0f fetch 1 ,mem_24g_rxbuf 
+0677 6808cb96 fetcht 1 ,mem_24g_data_type 
+0678 a8400e00 icompare bits_data ,temp 
+0679 2420869a nbranch p_g24_end_of_packet ,true 
+
+p_g24_receive_skip:
+067a 09800008 parse demod ,bucket ,8 
+067b 19897e00 rshift3 pwindow ,pdata 
+067c e0a08000 istore 1 ,contw 
+067d 1fe97e00 rshift3 pdata ,pdata 
+067e 1fe1721f and pdata ,0x1f ,loopcnt 
+067f 20228684 branch p_g24rx_nopayload ,zero 
+
+p_g24rx_loop:
+0680 09800008 parse demod ,bucket ,8 
+0681 19897e00 rshift3 pwindow ,pdata 
+0682 e0a08000 istore 1 ,contw 
+0683 c2000680 loop p_g24rx_loop 
+
+p_g24rx_nopayload:
+0684 18a22200 copy contw ,rega 
+0685 09800008 parse demod ,bucket ,8 
+0686 19897e00 rshift3 pwindow ,pdata 
+0687 6000ccd0 store 1 ,mem_rssi_hex_received 
+0688 1a220a00 copy rega ,contw 
+0689 09800018 parse demod ,bucket ,24 
+068a 78287c00 enable swfine 
+068b db600664 arg param_sifs ,stop_watch 
+068c 1fef7e00 rshift32 pdata ,pdata 
+068d 1ff17e00 rshift16 pdata ,pdata 
+068e e0a18000 istore 3 ,contw 
+068f 7845fc00 disable decode_fec1 
+0690 2023069a branch p_g24_end_of_packet ,crc_failed 
+0691 7837fc00 enable user3 
+0692 68008017 fetch 1 ,mem_last_freq 
+0693 1fe0a200 add pdata ,0 ,rega 
+0694 20402981 call rf_write_freq 
+0695 7846fc00 disable decode_fec0 
+0696 20402918 call set_sync_on 
+0697 6800ccd0 fetch 1 ,mem_rssi_hex_received 
+0698 2040001b call p_rssi_signal 
+0699 20600000 rtn 
+
+p_g24_end_of_packet:
+069a 784dfc00 disable encode_fec1 
+069b 7845fc00 disable decode_fec1 
+069c 2040264d call end_of_packet 
+069d 20600000 rtn 
+
+p_g24_sync_timeout:
+069e 2020069a branch p_g24_end_of_packet 
+
+p_g24_set_freq_tx:
+069f 20402918 call set_sync_on 
+06a0 6808cb9f fetcht 1 ,mem_24g_ch 
+06a1 20202933 branch set_freq_tx 
+
+p_g24_transmit:
+06a2 204053c4 call le_enable 
+06a3 68024bbd fetch 4 ,mem_24g_addr 
+06a4 98001200 iforce access 
+06a5 2040064a call p_g24_prep 
+06a6 2040069f call p_g24_set_freq_tx 
+06a7 79202a00 set1 txgfsk ,radio_ctrl 
+06a8 782efc00 enable encode_fec0 
+06a9 78307c00 enable is_tx 
+06aa 7850fc00 disable is_rx 
+06ab 19317e00 rshift16 access ,pdata 
+06ac 1fecfe00 rshift8 pdata ,pdata 
+06ad 1ff1fe00 rshift4 pdata ,pdata 
+06ae 08008628 inject mod ,40 
+06af 784efc00 disable encode_fec0 
+06b0 782dfc00 enable encode_fec1 
+06b1 7823fc00 enable enable_white 
+06b2 7824fc00 enable enable_crc 
+06b3 6800cc48 fetch 1 ,mem_24g_syncword_crc8 
+06b4 08008608 inject mod ,8 
+06b5 6800cb97 fetch 1 ,mem_24g_txlen 
+06b6 98007200 iforce loopcnt 
+06b7 d8c04b51 arg mem_24g_txpayload ,contr 
+
+p_g24tr_loop:
+06b8 e8c08000 ifetch 1 ,contr 
+06b9 08008608 inject mod ,8 
+06ba c20006b8 loop p_g24tr_loop 
+06bb 78247c00 enable enable_parity 
+06bc 08008618 inject mod ,24 
+06bd 78447c00 disable enable_parity 
+06be 37d38200 until null ,tx_clear 
+06bf 20000064 nop 100 
+06c0 784efc00 disable encode_fec0 
+06c1 784dfc00 disable encode_fec1 
+06c2 20600000 rtn 
+
+p_mouse_data_init:
+06c3 7047a007 jam 7 ,mem_mouse_data_queue 
+06c4 7047a104 jam 4 ,mem_mouse_data_queue + 1 
+06c5 580047a0 setarg mem_mouse_data_queue 
+06c6 60014218 store 2 ,mem_queue_ptr 
+06c7 20207e38 branch queue_init 
+
+p_mouse_data_push:
+06c8 da20469a arg mem_mouse_key ,rega 
+06c9 20407e3d call queue_push 
+06ca 205406cc call p_mouse_queue_increase ,user 
+06cb 20600000 rtn 
+
+p_mouse_queue_increase:
+06cc 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+06cd 1fe0fe01 increase 1 ,pdata 
+06ce 6000c7c1 store 1 ,mem_mouse_data_queue_num 
+06cf 20600000 rtn 
+
+p_mouse_data_pull:
+06d0 da20469a arg mem_mouse_key ,rega 
+06d1 20407e54 call queue_pop 
+06d2 203406d4 branch p_mouse_fill_data_le ,user 
+06d3 20600000 rtn 
+
+p_mouse_fill_data_le:
+06d4 20405652 call le_clear_md 
+06d5 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+06d6 1fe67c01 sub pdata ,1 ,null 
+06d7 24415650 ncall le_set_md ,positive 
+06d8 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+06d9 207a0000 rtn blank 
+06da 1fe0ffff increase -1 ,pdata 
+06db 6000c7c1 store 1 ,mem_mouse_data_queue_num 
+06dc 20203f90 branch mouse_fill_data_le 
+org 0x2000
+
+start:
+2000 20402abc call lpmstate 
+
+soft_reset:
+2001 44804000 bpatch patch00_0 ,mem_patch00 
+2002 20800000 clear_stack 
+2003 2040640d call spi_ncs_gpio_init 
+2004 2040296c call initialize_radio 
+2005 204065a3 call iicd_init_12m 
+2006 20402a96 call init_param 
+2007 20404d6a call l2cap_init 
+2008 4480c000 bpatch patch00_1 ,mem_patch00 
+2009 20406a03 call rfcomm_init 
+200a 20405cf6 call init_lmp 
+200b 20407ccc call ui_init 
+200c 204032d8 call app_init 
+200d 2455e89c ncall load_chip_option ,wake 
+200e 44814000 bpatch patch00_2 ,mem_patch00 
+200f 2055b2e3 call app_lpm_init ,wake 
+2010 2040756a call publickey_init 
+2011 2055ab41 call lpm_recover_clk ,wake 
+
+main_loop:
+2012 4481c000 bpatch patch00_3 ,mem_patch00 
+2013 204076dc call sp_calc_sequence 
+2014 20407aaf call sp_calc_sequence_256 
+2015 2040756d call sp_calc_sequence_256_check 
+2016 2040535c call le_dispatch 
+2017 44824000 bpatch patch00_4 ,mem_patch00 
+2018 20402038 call idle_dispatch 
+2019 204032ed call app_process_idle 
+201a 2040208f call inquiry_dispatch 
+201b 204022f8 call inquiry_scan_dispatch 
+201c 2040236a call page_scan_dispatch 
+201d 20402021 call connection_dispatch 
+201e 20402b6a call lpm_dispatch 
+201f 20402c72 call g24_dispatch 
+2020 20202012 branch main_loop 
+
+connection_dispatch:
+2021 20402026 call connection_incontext 
+2022 c6848000 rtnmark0 mark_context 
+2023 793f8009 set0 mark_context ,mark 
+2024 20402223 call context_save 
+2025 202053ce branch le_disable 
+
+connection_incontext:
+2026 4482c000 bpatch patch00_5 ,mem_patch00 
+2027 2040225e call context_search_insniff 
+2028 2422a02f nbranch connection_nosniff ,zero 
+2029 2040220a call context_load 
+202a 1a208c01 add rega ,coffset_mode ,contr 
+202b e8c08000 ifetch 1 ,contr 
+202c c2805360 bbit1 mode_le ,le_conn_dispatch 
+202d c280a166 bbit1 mode_master ,master_dispatch 
+202e 202023cf branch slave_dispatch 
+
+connection_nosniff:
+202f 2040222b call context_get_next 
+2030 1f227c00 copy loopcnt ,null 
+2031 20628000 rtn zero 
+2032 2040220a call context_load 
+2033 68008030 fetch 1 ,mem_state 
+2034 c281a0d3 bbit1 state_inpage ,master_page 
+2035 68008031 fetch 1 ,mem_mode 
+2036 c280a166 bbit1 mode_master ,master_dispatch 
+2037 202023cf branch slave_dispatch 
+
+idle_dispatch:
+2038 6800c1ce fetch 1 ,mem_hci_cmd 
+2039 207a0000 rtn blank 
+203a c000a048 beq hci_cmd_inquiry ,idle_inquiry 
+203b c001204d beq hci_cmd_inquiry_cancel ,idle_inquiry_cancel 
+203c c001a050 beq hci_cmd_remote_name_req ,idle_remote_name_req 
+203d c002a055 beq hci_cmd_create_conn ,idle_create_conn 
+203e c00da045 beq hci_cmd_le_create_conn ,idle_le_create_conn 
+203f 20402257 call context_search_conn_handle 
+2040 20628000 rtn zero 
+2041 2040225a call context_search_plap 
+2042 20628000 rtn zero 
+
+idle_exit:
+2043 7041ce00 jam 0 ,mem_hci_cmd 
+2044 20600000 rtn 
+
+idle_le_create_conn:
+2045 70049b1b jam hci_cmd_le_create_conn ,mem_cmd_le_create_conn 
+2046 7041ce00 jam 0 ,mem_hci_cmd 
+2047 20600000 rtn 
+
+idle_inquiry:
+2048 7920001c set1 mark_inquiry_on ,mark 
+2049 793f801e set0 mark_inquiry_trainb ,mark 
+204a 70008fff jam param_ninquiry ,mem_ninqy_index 
+204b 70008d1f jam 31 ,mem_nfreq_index_inq 
+204c 20202043 branch idle_exit 
+
+idle_inquiry_cancel:
+204d 793f801c set0 mark_inquiry_on ,mark 
+204e 18003600 force 0 ,stop_watch 
+204f 20202043 branch idle_exit 
+
+idle_remote_name_req:
+2050 2040225a call context_search_plap 
+2051 20628000 rtn zero 
+2052 18000401 force lmp_name_req ,temp 
+2053 70016e05 jam 5 ,mem_nameres_cnt 
+2054 2020205c branch idle_start_page 
+
+idle_create_conn:
+2055 44834000 bpatch patch00_6 ,mem_patch00 
+
+idle_create_conn_device:
+2056 680341d0 fetch 6 ,mem_hci_plap 
+2057 203a2043 branch idle_exit ,blank 
+2058 70468101 jam reconnect_hid ,memui_reconnect_mode 
+2059 70005503 jam conn_sm_wait_features_res ,mem_conn_sm 
+205a 2020205b branch idle_create_conn_cont 
+
+idle_create_conn_cont:
+205b 18000425 force lmp_version_req ,temp 
+
+idle_start_page:
+205c 4483c000 bpatch patch00_7 ,mem_patch00 
+205d 680080f1 fetch 1 ,mem_page_mode 
+205e 203a2062 branch idle_page_mode_r0 ,blank 
+205f 1fe9fe00 lshift3 pdata ,pdata 
+2060 1ff27e00 lshift4 pdata ,pdata 
+2061 1fe0ffff increase -1 ,pdata 
+
+idle_page_mode_r0:
+2062 6000c0a6 store 1 ,mem_npage 
+2063 600080f0 store 1 ,mem_npage_index 
+2064 70008e1f jam 31 ,mem_nfreq_index_page 
+2065 793f800c set0 mark_page_trainb ,mark 
+2066 2040223b call context_new 
+2067 2422a083 nbranch idle_page_fail ,zero 
+2068 20402a6f call get_free_amaddr 
+2069 60008077 store 1 ,mem_amaddr 
+206a 6008807c storet 1 ,mem_lmo_opcode2 
+206b 680341d0 fetch 6 ,mem_hci_plap 
+206c 60030040 store 6 ,mem_plap 
+206d 44844001 bpatch patch01_0 ,mem_patch01 
+206e 20407f15 call timer_reinit 
+206f 18007e00 force 0 ,pdata 
+2070 2841fe01 compare lmp_name_req ,temp ,0xff 
+2071 7d20fe05 nsetflag true ,state_init_seq ,pdata 
+2072 79207e03 set1 state_inpage ,pdata 
+2073 60008030 store 1 ,mem_state 
+2074 700a9903 jam bt_evt_reconn_started ,mem_fifo_temp 
+2075 20407d86 call ui_ipc_send_event 
+2076 18007e00 force 0 ,pdata 
+2077 7920fe04 setflag true ,smap_name_req ,pdata 
+2078 6000804c store 1 ,mem_state_map 
+2079 58000000 setarg 0 
+207a 79207e01 set1 mode_master ,pdata 
+207b 60008031 store 1 ,mem_mode 
+207c 7834fc00 enable master 
+207d 20402223 call context_save 
+207e 7854fc00 disable master 
+207f 18000e03 force page_length_timer ,queue 
+2080 680140b9 fetch 2 ,mem_page_to 
+2081 20407f08 call timer_init 
+2082 20202043 branch idle_exit 
+
+idle_page_fail:
+2083 4484c001 bpatch patch01_1 ,mem_patch01 
+2084 680341d0 fetch 6 ,mem_hci_plap 
+2085 60030040 store 6 ,mem_plap 
+2086 2841fe01 compare lmp_name_req ,temp ,0xff 
+2087 2020a089 branch idle_name_fail ,true 
+2088 20202043 branch idle_exit 
+
+idle_name_fail:
+2089 d8a00101 arg mem_tmp_buffer ,contw 
+208a df200008 arg 8 ,loopcnt 
+208b 20407ec6 call memset0 
+208c 700a9904 jam bt_evt_reconn_failed ,mem_fifo_temp 
+208d 20407d86 call ui_ipc_send_event 
+208e 20202043 branch idle_exit 
+
+inquiry_dispatch:
+208f c68e0000 rtnmark0 mark_inquiry_on 
+2090 18000e01 force inquiry_length_timer ,queue 
+2091 20407f16 call timer_check 
+2092 7d3a001c nsetflag blank ,mark_inquiry_on ,mark 
+2093 243a2095 nbranch inquiry_start ,blank 
+2094 20600000 rtn 
+
+inquiry_start:
+2095 44854001 bpatch patch01_2 ,mem_patch01 
+2096 680940bb fetcht 2 ,mem_inq_window 
+2097 18000e04 force 4 ,queue 
+2098 2040271c call sniff_check_window 
+2099 20740000 rtn user 
+209a 204028a4 call afh_clear 
+209b 18004800 force 0 ,freq_mode 
+
+inquiry_restart:
+209c 20618000 rtn timeout 
+209d 793f800b set0 mark_fhs_already_good ,mark 
+209e 793f8000 set0 mark_fhs_eir ,mark 
+
+inquiry_rx_restart:
+209f 1c40c201 add clkn_bt ,1 ,bt_clk 
+20a0 280ffe1e isolate1 mark_inquiry_trainb ,mark 
+20a1 7920c802 setflag true ,2 ,freq_mode 
+20a2 2c200400 compare 0x00 ,bt_clk ,0x02 
+20a3 2420a0be nbranch inquiry_receive ,true 
+
+inquiry_transmit:
+20a4 4485c001 bpatch patch01_3 ,mem_patch01 
+20a5 68008012 fetch 1 ,mem_inquiry_transmit 
+20a6 1fe0fe01 increase 1 ,pdata 
+20a7 60008012 store 1 ,mem_inquiry_transmit 
+20a8 204028d8 call fetch_giac 
+20a9 204028d2 call tx_radio_freq 
+20aa 204028f2 call fetch_diac 
+20ab 20402a51 call start_transmitter 
+20ac 20402a56 call start_tx_native 
+20ad 20402a64 call send_access_word 
+20ae 2040264d call end_of_packet 
+20af 204020b1 call inquiry_check_train 
+20b0 2020209c branch inquiry_restart 
+
+inquiry_check_train:
+20b1 44864001 bpatch patch01_4 ,mem_patch01 
+20b2 6800808d fetch 1 ,mem_nfreq_index_inq 
+20b3 1fe0ffff increase -1 ,pdata 
+20b4 6000808d store 1 ,mem_nfreq_index_inq 
+20b5 20610000 rtn positive 
+20b6 70008d1f jam 31 ,mem_nfreq_index_inq 
+20b7 6800808f fetch 1 ,mem_ninqy_index 
+20b8 1fe0ffff increase -1 ,pdata 
+20b9 6000808f store 1 ,mem_ninqy_index 
+20ba 20610000 rtn positive 
+20bb 7940001e setflip mark_inquiry_trainb ,mark 
+20bc 70008fff jam param_ninquiry ,mem_ninqy_index 
+20bd 20600000 rtn 
+
+inquiry_receive:
+20be 4486c001 bpatch patch01_5 ,mem_patch01 
+20bf 204028d8 call fetch_giac 
+20c0 204028cc call rx_radio_freq 
+20c1 204028f2 call fetch_diac 
+20c2 20402a5b call start_rx_native 
+20c3 204029eb call start_receiver 
+20c4 20402a0d call wait_access_clkn_rt 
+20c5 202c20c8 branch inquiry_sync ,sync 
+20c6 204020b1 call inquiry_check_train 
+20c7 2020209f branch inquiry_rx_restart 
+
+inquiry_sync:
+20c8 44874001 bpatch patch01_6 ,mem_patch01 
+20c9 204029bb call save_rssi 
+20ca 20402a6b call scan_mode_whiten 
+20cb 2040251e call receive_packet_whitened 
+20cc 793f8001 set0 mark_rxbuf_inuse ,mark 
+20cd c6858000 rtnmark0 mark_fhs_already_good 
+
+inquiry_receive_rtn:
+20ce 4487c001 bpatch patch01_7 ,mem_patch01 
+
+inquiry_receive_eir_rtn:
+20cf 68008013 fetch 1 ,mem_inquiry_rcv 
+20d0 1fe0fe01 increase 1 ,pdata 
+20d1 60008013 store 1 ,mem_inquiry_rcv 
+20d2 20600000 rtn 
+
+master_page:
+20d3 44884002 bpatch patch02_0 ,mem_patch02 
+20d4 7834fc00 enable master 
+20d5 78387c00 enable clknt 
+20d6 680140b5 fetch 2 ,mem_page_interval 
+20d7 203a20db branch master_page_no_interval ,blank 
+20d8 18000e08 force page_interval_timer ,queue 
+20d9 20407f16 call timer_check 
+20da 247a0000 nrtn blank 
+
+master_page_no_interval:
+20db 4488c002 bpatch patch02_1 ,mem_patch02 
+20dc 680940b7 fetcht 2 ,mem_page_window 
+20dd 18000e28 force 40 ,queue 
+20de 2040271c call sniff_check_window 
+20df 20342114 branch page_exit ,user 
+20e0 18000e03 force page_length_timer ,queue 
+20e1 20407f16 call timer_check 
+20e2 243a20f0 nbranch page_start ,blank 
+20e3 6800804c fetch 1 ,mem_state_map 
+20e4 c28220e6 bbit1 smap_name_req ,master_npage_timeout 
+20e5 202020e9 branch master_page_timeout 
+
+master_npage_timeout:
+20e6 d8a00101 arg mem_tmp_buffer ,contw 
+20e7 df200008 arg 8 ,loopcnt 
+20e8 20407ec6 call memset0 
+
+master_page_timeout:
+20e9 44894002 bpatch patch02_2 ,mem_patch02 
+20ea 70003000 jam 0 ,mem_state 
+20eb 20405cf7 call init_lmp_work 
+20ec 70468100 jam 0 ,memui_reconnect_mode 
+20ed 700a9913 jam bt_evt_reconn_page_timeout ,mem_fifo_temp 
+20ee 20407d86 call ui_ipc_send_event 
+20ef 20202114 branch page_exit 
+
+page_start:
+20f0 4489c002 bpatch patch02_3 ,mem_patch02 
+20f1 18001600 force 0 ,timeup 
+20f2 34730200 until clkn_rt ,meet 
+20f3 680080f2 fetch 1 ,mem_page_clk 
+20f4 1fe0ffff increase -1 ,pdata 
+20f5 9c42fe00 ixor clkn_bt ,pdata 
+20f6 2fe00600 compare 0 ,pdata ,3 
+20f7 2420a0f0 nbranch page_start ,true 
+20f8 18827e00 deposit am_addr 
+20f9 60008181 store 1 ,mem_fhs_am_addr 
+20fa 18004c00 force 0 ,n_tx_slot 
+20fb 18004800 force 0 ,freq_mode 
+
+page_restart:
+20fc 448a4002 bpatch patch02_4 ,mem_patch02 
+20fd 2021a114 branch page_exit ,timeout 
+20fe 204028dc call fetch_page_bt_adr 
+20ff d9600600 arg param_rf_setup ,timeup 
+2100 34730200 until clkn_rt ,meet 
+
+page_rx_restart:
+2101 448ac002 bpatch patch02_5 ,mem_patch02 
+2102 680200f2 fetch 4 ,mem_page_clk 
+2103 98004200 iforce bt_clk 
+2104 1fe0fe01 increase 1 ,pdata 
+2105 600200f2 store 4 ,mem_page_clk 
+2106 280ffe0c isolate1 mark_page_trainb ,mark 
+2107 7920c802 setflag true ,2 ,freq_mode 
+2108 2c200400 compare 0x00 ,bt_clk ,0x02 
+2109 2420a128 nbranch page_receive ,true 
+210a 6800800c fetch 1 ,mem_page_transmit 
+210b 1fe0fe01 increase 1 ,pdata 
+210c 6000800c store 1 ,mem_page_transmit 
+210d 204028d2 call tx_radio_freq 
+210e 20402a51 call start_transmitter 
+210f 20402a56 call start_tx_native 
+2110 20402a64 call send_access_word 
+2111 2040264d call end_of_packet 
+2112 2040211a call page_check_train 
+2113 202020fc branch page_restart 
+
+page_exit:
+2114 448b4002 bpatch patch02_6 ,mem_patch02 
+2115 7854fc00 disable master 
+2116 680140b5 fetch 2 ,mem_page_interval 
+2117 207a0000 rtn blank 
+2118 18000e08 force page_interval_timer ,queue 
+2119 20207f08 branch timer_init 
+
+page_check_train:
+211a 448bc002 bpatch patch02_7 ,mem_patch02 
+211b 6800808e fetch 1 ,mem_nfreq_index_page 
+211c 1fe0ffff increase -1 ,pdata 
+211d 6000808e store 1 ,mem_nfreq_index_page 
+211e 20610000 rtn positive 
+211f 70008e1f jam 31 ,mem_nfreq_index_page 
+2120 680080f0 fetch 1 ,mem_npage_index 
+2121 1fe0ffff increase -1 ,pdata 
+2122 600080f0 store 1 ,mem_npage_index 
+2123 20610000 rtn positive 
+2124 7940000c setflip mark_page_trainb ,mark 
+2125 6800c0a6 fetch 1 ,mem_npage 
+2126 600080f0 store 1 ,mem_npage_index 
+2127 20600000 rtn 
+
+page_receive:
+2128 448c4003 bpatch patch03_0 ,mem_patch03 
+2129 204028cc call rx_radio_freq 
+212a 20402a5b call start_rx_native 
+212b 204029eb call start_receiver 
+212c 20402a0d call wait_access_clkn_rt 
+212d 202c2130 branch page_sync ,sync 
+212e 2040211a call page_check_train 
+212f 20202101 branch page_rx_restart 
+
+page_sync:
+2130 2040264d call end_of_packet 
+2131 6800800d fetch 1 ,mem_page_rcv 
+2132 1fe0fe01 increase 1 ,pdata 
+2133 6000800d store 1 ,mem_page_rcv 
+2134 18003600 force 0 ,stop_watch 
+2135 680200f2 fetch 4 ,mem_page_clk 
+
+page_send_fhs:
+2136 448cc003 bpatch patch03_1 ,mem_patch03 
+2137 20402a4f call rf_setup_time_master_slot 
+2138 204028dc call fetch_page_bt_adr 
+2139 1cc0cc01 increase 1 ,n_tx_slot 
+
+page_send_fhs_continue:
+213a 1c2143fd and_into 0x1fd ,bt_clk 
+213b 1c8149fc and_into 0x1fc ,freq_mode 
+213c 204028d2 call tx_radio_freq 
+213d 20402a51 call start_transmitter 
+213e 20402a56 call start_tx_native 
+213f 20402a64 call send_access_word 
+2140 1c427e00 deposit clkn_bt 
+2141 60020161 store 4 ,mem_clkn_bt 
+2142 18000800 force 0 ,am_addr 
+2143 18000202 force type_fhs ,type 
+2144 20402a6b call scan_mode_whiten 
+2145 20402766 call transmit_packet_whitened 
+
+page_wait_fhs_reply:
+2146 448d4003 bpatch patch03_2 ,mem_patch03 
+2147 20402a4d call rf_setup_time_slave_slot 
+2148 1c21c202 or_into 0x02 ,bt_clk 
+2149 1c8149fc and_into 0x1fc ,freq_mode 
+214a 204028cc call rx_radio_freq 
+214b 20402a5b call start_rx_native 
+214c 204029eb call start_receiver 
+214d 20402a0d call wait_access_clkn_rt 
+214e 204c264d call end_of_packet ,sync 
+214f 202c2155 branch page_wait_fhs_reply_ok ,sync 
+2150 68008010 fetch 1 ,mem_fhs_wait_counter 
+2151 203a20fc branch page_restart ,blank 
+2152 1fe0ffff increase -1 ,pdata 
+2153 60008010 store 1 ,mem_fhs_wait_counter 
+2154 20202136 branch page_send_fhs 
+
+page_wait_fhs_reply_ok:
+2155 448dc003 bpatch patch03_3 ,mem_patch03 
+2156 6800800e fetch 1 ,mem_page_rcv_fhs 
+2157 1fe0fe01 increase 1 ,pdata 
+2158 6000800e store 1 ,mem_page_rcv_fhs 
+2159 20402435 call prepare_newconn 
+
+master_newconn_loop:
+215a 204022f2 call master_newconn_once 
+215b 202c215f branch newconn_poll_responded ,sync 
+215c 20402455 call new_conn_timeout 
+215d 243a215a nbranch master_newconn_loop ,blank 
+215e 202020fc branch page_restart 
+
+newconn_poll_responded:
+215f 448e4003 bpatch patch03_4 ,mem_patch03 
+2160 68008030 fetch 1 ,mem_state 
+2161 793ffe03 set0 state_inpage ,pdata 
+2162 60008030 store 1 ,mem_state 
+2163 20402440 call newconn_init 
+2164 7854fc00 disable master 
+2165 20600000 rtn 
+
+master_dispatch:
+2166 448ec003 bpatch patch03_5 ,mem_patch03 
+2167 7834fc00 enable master 
+2168 78387c00 enable clknt 
+2169 204021e1 call role_switch_master 
+216a 20740000 rtn user 
+216b 20402c69 call check_bt_disabled 
+216c 20402a4f call rf_setup_time_master_slot 
+216d 1c40c201 add clkn_bt ,1 ,bt_clk 
+216e 204028e2 call fetch_self_bt_adr 
+216f 18004803 force 0x03 ,freq_mode 
+2170 20406cc2 call scheduler_tx_l2cap_pkt 
+2171 20402489 call prepare_tx 
+2172 204028d2 call tx_radio_freq 
+2173 20402a51 call start_transmitter 
+2174 20402a56 call start_tx_native 
+2175 20402a64 call send_access_word 
+2176 20402762 call transmit_packet 
+
+master_loop:
+2177 448f4003 bpatch patch03_6 ,mem_patch03 
+2178 20405d08 call parse_lmp 
+2179 204022e4 call master_conn_recv_packet 
+217a 2436a180 nbranch master_notmatch ,match 
+217b 20402a88 call supervision_flush 
+217c 20402728 call parse_l2cap 
+217d 6800800f fetch 1 ,mem_master_rcvcnt 
+217e 1fe0fe01 increase 1 ,pdata 
+217f 6000800f store 1 ,mem_master_rcvcnt 
+
+master_notmatch:
+2180 448fc003 bpatch patch03_7 ,mem_patch03 
+2181 20406caa call scheduler_process 
+2182 2040218b call check_master_disconnect 
+2183 24748000 nrtn master 
+2184 204026f3 call check_attempt 
+2185 243a2188 nbranch master_attempt ,blank 
+
+master_exit:
+2186 7854fc00 disable master 
+2187 20600000 rtn 
+
+master_attempt:
+2188 20402489 call prepare_tx 
+2189 204022da call master_conn_send_packet 
+218a 20202177 branch master_loop 
+
+check_master_disconnect:
+218b 2036a18e branch check_master_match ,match 
+218c 20402a7f call supervision_update 
+218d 2021219c branch master_disconnect ,positive 
+
+check_master_match:
+218e 204021a7 call check_disconnect_timeout 
+218f 2434219c nbranch master_disconnect ,user 
+2190 6800804c fetch 1 ,mem_state_map 
+2191 c4020000 rtnbit0 smap_name_req 
+2192 c3818000 rtnbit1 smap_name_res 
+2193 6800804b fetch 1 ,mem_op 
+2194 c3818000 rtnbit1 op_disconn 
+2195 204021ae call conn_timer_expired 
+2196 247a0000 nrtn blank 
+2197 6800816e fetch 1 ,mem_nameres_cnt 
+2198 1fe0ffff increase -1 ,pdata 
+2199 6000816e store 1 ,mem_nameres_cnt 
+219a 247a0000 nrtn blank 
+219b 20206006 branch lmp_disconnect 
+
+master_disconnect:
+219c 44904004 bpatch patch04_0 ,mem_patch04 
+219d 2040245d call quit_connection 
+219e 7854fc00 disable master 
+219f 6800804c fetch 1 ,mem_state_map 
+21a0 c28221a2 bbit1 smap_name_req ,master_name_disconnect 
+21a1 20600000 rtn 
+
+master_name_disconnect:
+21a2 6800804c fetch 1 ,mem_state_map 
+21a3 c3818000 rtnbit1 smap_name_res 
+
+master_name_error:
+21a4 d8a00101 arg mem_tmp_buffer ,contw 
+21a5 df200008 arg 8 ,loopcnt 
+21a6 20207ec6 branch memset0 
+
+check_disconnect_timeout:
+21a7 4490c004 bpatch patch04_1 ,mem_patch04 
+21a8 78347c00 enable user 
+21a9 6800804b fetch 1 ,mem_op 
+21aa c4018000 rtnbit0 op_disconn 
+21ab 204021ae call conn_timer_expired 
+21ac 247a0000 nrtn blank 
+21ad 20207fe9 branch disable_user 
+
+conn_timer_expired:
+21ae 68008072 fetch 1 ,mem_conn_timer 
+21af 1fe0ffff increase -1 ,pdata 
+21b0 60008072 store 1 ,mem_conn_timer 
+21b1 20600000 rtn 
+
+linkkey_ready:
+21b2 44914004 bpatch patch04_2 ,mem_patch04 
+21b3 68008030 fetch 1 ,mem_state 
+21b4 c283a1bb bbit1 state_linkkey ,linkkey_set 
+21b5 680089b5 fetch 1 ,mem_pairing_auth 
+21b6 203a21bb branch linkkey_set ,blank 
+21b7 7009b500 jam defalt_pairing_auth ,mem_pairing_auth 
+21b8 700a9918 jam bt_evt_linkkey_generate ,mem_fifo_temp 
+21b9 20407d86 call ui_ipc_send_event 
+21ba 202021bb branch linkkey_set 
+
+linkkey_set:
+21bb 4491c004 bpatch patch04_3 ,mem_patch04 
+21bc 20402254 call context_traverse_linkkey 
+21bd 68008030 fetch 1 ,mem_state 
+21be 79207e07 set1 state_linkkey ,pdata 
+21bf 60008030 store 1 ,mem_state 
+21c0 7041bd01 jam 1 ,mem_link_key_exists 
+21c1 68008055 fetch 1 ,mem_conn_sm 
+21c2 c08b21c3 bne conn_sm_pairing ,linkkey_set_continue 
+
+linkkey_set_continue:
+21c3 20600000 rtn 
+
+generate_linkkey_continue:
+21c4 7009b501 jam pairing_auth ,mem_pairing_auth 
+
+clear_linkstate:
+21c5 68008030 fetch 1 ,mem_state 
+21c6 793ffe07 set0 state_linkkey ,pdata 
+21c7 60008030 store 1 ,mem_state 
+21c8 20600000 rtn 
+
+role_switch_check:
+21c9 44924004 bpatch patch04_4 ,mem_patch04 
+21ca 78547c00 disable user 
+21cb 68010032 fetch 2 ,mem_tsniff 
+21cc d840ffff arg 0xffff ,temp 
+21cd 98467c00 isub temp ,null 
+21ce 24628000 nrtn zero 
+21cf 68020034 fetch 4 ,mem_sniff_anchor 
+21d0 203821d3 branch role_switch_clkn ,clknt 
+21d1 9d067e00 isub clke_bt ,pdata 
+21d2 202021d4 branch role_switch_clke 
+
+role_switch_clkn:
+21d3 9c467e00 isub clkn_bt ,pdata 
+
+role_switch_clke:
+21d4 1fe67c04 sub pdata ,4 ,null 
+21d5 24610000 nrtn positive 
+21d6 18007e00 force 0 ,pdata 
+21d7 60010032 store 2 ,mem_tsniff 
+21d8 20207fe7 branch enable_user 
+
+role_switch_prepare:
+21d9 1fe20400 copy pdata ,temp 
+21da 4492c004 bpatch patch04_5 ,mem_patch04 
+21db 600a0034 storet 4 ,mem_sniff_anchor 
+
+role_switch_prepare0:
+21dc 70455b01 jam switch_flag_accept ,mem_switch_flag 
+21dd 5800ffff setarg 0xffff 
+21de 60010032 store 2 ,mem_tsniff 
+21df 70007301 jam 1 ,mem_sniff_attempt 
+21e0 20600000 rtn 
+
+role_switch_master:
+21e1 44934004 bpatch patch04_6 ,mem_patch04 
+21e2 204021c9 call role_switch_check 
+21e3 24740000 nrtn user 
+21e4 78547c00 disable user 
+21e5 70001120 jam param_newconnto ,mem_newconnto_counter 
+21e6 793f800b set0 mark_fhs_already_good ,mark 
+
+roles_waitfhs_loop:
+21e7 20402a4f call rf_setup_time_master_slot 
+21e8 204022e6 call master_recv_packet 
+21e9 c505a1f4 bmark1 mark_fhs_already_good ,roles_replyto_fhs 
+21ea 20402455 call new_conn_timeout 
+21eb 243a21e7 nbranch roles_waitfhs_loop ,blank 
+
+role_switch_fail_master:
+21ec 4493c004 bpatch patch04_7 ,mem_patch04 
+21ed 78547c00 disable user 
+21ee 1c427e00 deposit clkn_bt 
+21ef 600240ca store 4 ,mem_next_btclk 
+21f0 78387c00 enable clknt 
+21f1 7834fc00 enable master 
+21f2 700a992a jam bt_evt_switch_fail_master ,mem_fifo_temp 
+21f3 20207d86 branch ui_ipc_send_event 
+
+roles_replyto_fhs:
+21f4 44944005 bpatch patch05_0 ,mem_patch05 
+21f5 20402a4d call rf_setup_time_slave_slot 
+21f6 d8200010 arg type_id ,type 
+21f7 204022dc call master_send_packet 
+21f8 78587c00 disable clknt 
+21f9 7854fc00 disable master 
+21fa 20402818 call apply_switch_clke 
+21fb 20402435 call prepare_newconn 
+
+roles_newconns_loop:
+21fc 4494c005 bpatch patch05_1 ,mem_patch05 
+21fd 2040247c call slave_newconn_once 
+21fe 2036a202 branch roles_newconns_responded ,match 
+21ff 20402455 call new_conn_timeout 
+2200 243a21fc nbranch roles_newconns_loop ,blank 
+2201 202021ec branch role_switch_fail_master 
+
+roles_newconns_responded:
+2202 68008031 fetch 1 ,mem_mode 
+2203 793ffe01 set0 mode_master ,pdata 
+2204 60008031 store 1 ,mem_mode 
+2205 20402a88 call supervision_flush 
+2206 20402841 call calc_clke_offset 
+2207 78347c00 enable user 
+2208 700a992b jam bt_evt_switch_success_master ,mem_fifo_temp 
+2209 20207d86 branch ui_ipc_send_event 
+
+context_load:
+220a 44954005 bpatch patch05_2 ,mem_patch05 
+220b 79200009 set1 mark_context ,mark 
+220c 1a227e00 deposit rega 
+220d 6001001e store 2 ,mem_context_ptr 
+220e 18007250 force context_size ,loopcnt 
+220f d8a0043f arg mem_le_state ,contw 
+2210 1a208c01 add rega ,coffset_mode ,contr 
+2211 e8c08000 ifetch 1 ,contr 
+2212 1a220c00 copy rega ,contr 
+2213 c2807f01 bbit1 mode_le ,memcpy 
+2214 d8a00030 arg mem_state ,contw 
+2215 20407f01 call memcpy 
+2216 78577c00 disable attempt 
+2217 68008077 fetch 1 ,mem_amaddr 
+2218 98000800 iforce am_addr 
+2219 70008a01 jam 1 ,mem_current_sniff_attempt 
+221a 2034a21c branch context_load_master ,master 
+221b 70008a01 jam 1 ,mem_current_sniff_attempt 
+
+context_load_master:
+221c 68008030 fetch 1 ,mem_state 
+221d c4008000 rtnbit0 state_insniff 
+221e 68008073 fetch 1 ,mem_sniff_attempt 
+221f 6000808a store 1 ,mem_current_sniff_attempt 
+2220 68008074 fetch 1 ,mem_sniff_timeout 
+2221 6000808b store 1 ,mem_current_sniff_timeout 
+2222 20600000 rtn 
+
+context_save:
+2223 4495c005 bpatch patch05_3 ,mem_patch05 
+2224 6801001e fetch 2 ,mem_context_ptr 
+2225 98000a00 iforce contw 
+2226 18007250 force context_size ,loopcnt 
+2227 d8c0043f arg mem_le_state ,contr 
+2228 203b7f01 branch memcpy ,le 
+2229 d8c00030 arg mem_state ,contr 
+222a 20207f01 branch memcpy 
+
+context_get_next:
+222b df200001 arg context_num ,loopcnt 
+222c 68088015 fetcht 1 ,mem_current_context 
+
+context_get_next_loop:
+222d 18408401 increase 1 ,temp 
+222e 2841fe01 compare context_num ,temp ,0xff 
+222f 2420a231 nbranch context_get_next_cont ,true 
+2230 d8400000 arg 0 ,temp 
+
+context_get_next_cont:
+2231 60088015 storet 1 ,mem_current_context 
+2232 184ffe50 mul32 temp ,context_size ,pdata 
+2233 da204040 arg mem_context ,rega 
+2234 9a20a200 iadd rega ,rega 
+2235 ea208000 ifetch 1 ,rega 
+2236 c280a239 bbit1 state_insniff ,context_get_next_sniff 
+2237 c3800000 rtnbit1 state_inconn 
+2238 c3818000 rtnbit1 state_inpage 
+
+context_get_next_sniff:
+2239 c200222d loop context_get_next_loop 
+223a 20600000 rtn 
+
+context_new:
+223b 44964005 bpatch patch05_4 ,mem_patch05 
+223c da60226a arg context_search_empty ,regc 
+223d 20402261 call context_search 
+223e 24628000 nrtn zero 
+223f 1a227e00 deposit rega 
+2240 6001001e store 2 ,mem_context_ptr 
+2241 18007c00 force 0 ,null 
+2242 20600000 rtn 
+
+context_check_all_wack:
+2243 20402725 call check_esco_amaddr 
+2244 2020a24b branch context_check_esco_wack ,true 
+2245 6801001e fetch 2 ,mem_context_ptr 
+2246 1fe08a17 add pdata ,coffset_arq ,contw 
+2247 68008047 fetch 1 ,mem_arq 
+2248 e0a08000 istore 1 ,contw 
+2249 da6022aa arg context_check_a_wack ,regc 
+224a 20202261 branch context_search 
+
+context_check_esco_wack:
+224b 68008047 fetch 1 ,mem_arq 
+224c 2feffe03 isolate1 wack ,pdata 
+224d 2020a250 branch context_esco_wack ,true 
+224e 18007c01 force 1 ,null 
+224f 20600000 rtn 
+
+context_esco_wack:
+2250 18007c00 force 0 ,null 
+2251 20600000 rtn 
+
+context_check_idle:
+2252 da6022a7 arg context_check_inconn ,regc 
+2253 20202261 branch context_search 
+
+context_traverse_linkkey:
+2254 6809001e fetcht 2 ,mem_context_ptr 
+2255 da6022cf arg context_traverse_clearkey ,regc 
+2256 20202261 branch context_search 
+
+context_search_conn_handle:
+2257 6808c1cf fetcht 1 ,mem_hci_conn_handle 
+
+context_search_conn_handle2:
+2258 da602275 arg context_search_handle ,regc 
+2259 20202261 branch context_search 
+
+context_search_plap:
+225a 4496c005 bpatch patch05_5 ,mem_patch05 
+225b 680b41d0 fetcht 6 ,mem_hci_plap 
+
+context_search_plap2:
+225c da60226e arg context_search_lap ,regc 
+225d 20202261 branch context_search 
+
+context_search_insniff:
+225e da60227b arg context_search_sniff ,regc 
+225f 20202261 branch context_search 
+
+context_search_sniff_window:
+2260 da6022c6 arg context_search_window ,regc 
+
+context_search:
+2261 44974005 bpatch patch05_6 ,mem_patch05 
+2262 da204040 arg mem_context ,rega 
+2263 df200001 arg context_num ,loopcnt 
+
+context_search_loop:
+2264 ea208000 ifetch 1 ,rega 
+2265 1a627a00 copy regc ,pc 
+
+context_search_next:
+2266 1a20a250 increase context_size ,rega 
+2267 c2002264 loop context_search_loop 
+2268 18007c01 force 1 ,null 
+2269 20600000 rtn 
+
+context_search_empty:
+226a c2802266 bbit1 state_inconn ,context_search_next 
+226b c281a266 bbit1 state_inpage ,context_search_next 
+226c 18007c00 force 0 ,null 
+226d 20600000 rtn 
+
+context_search_lap:
+226e c281a270 bbit1 state_inpage ,context_search_lap_cont 
+226f c3002266 bbit0 state_inconn ,context_search_next 
+
+context_search_lap_cont:
+2270 1a208c10 add rega ,coffset_plap ,contr 
+2271 e8c30000 ifetch 6 ,contr 
+2272 98467c00 isub temp ,null 
+2273 20628000 rtn zero 
+2274 20202266 branch context_search_next 
+
+context_search_handle:
+2275 c3002266 bbit0 state_inconn ,context_search_next 
+2276 1a208c16 add rega ,coffset_conn_handle ,contr 
+2277 e8c08000 ifetch 1 ,contr 
+2278 98467c00 isub temp ,null 
+2279 20628000 rtn zero 
+227a 20202266 branch context_search_next 
+
+context_search_sniff:
+227b c300a266 bbit0 state_insniff ,context_search_next 
+
+context_search_sniff_loop:
+227c 204022b3 call context_get_anchor 
+227d 20402297 call sign_pdata_temp 
+227e 98467e00 isub temp ,pdata 
+227f 1fe0fe01 increase 1 ,pdata 
+2280 20212291 branch context_search_sniff_miss ,positive 
+2281 18c22400 copy contr ,regb 
+2282 60048aa2 store 9 ,mem_temp 
+2283 6800c4c0 fetch 1 ,mem_le_sc_calc 
+2284 243a2289 nbranch context_search_sniff_sc ,blank 
+2285 68048aa2 fetch 9 ,mem_temp 
+2286 1a420c00 copy regb ,contr 
+2287 1fe0fe05 increase 5 ,pdata 
+2288 2020228c branch context_search_meet1 
+
+context_search_sniff_sc:
+2289 68048aa2 fetch 9 ,mem_temp 
+228a 1a420c00 copy regb ,contr 
+228b 1fe0fe14 increase 20 ,pdata 
+
+context_search_meet1:
+228c 24212266 nbranch context_search_next ,positive 
+
+context_search_meet:
+228d 18424200 copy temp ,bt_clk 
+228e 204022bf call context_next_anchor 
+228f 18007c00 force 0 ,null 
+2290 20600000 rtn 
+
+context_search_sniff_miss:
+2291 98002400 iforce regb 
+2292 1a208c02 add rega ,coffset_tsniff ,contr 
+2293 e8c10000 ifetch 2 ,contr 
+2294 203a228d branch context_search_meet ,blank 
+2295 204022bf call context_next_anchor 
+2296 2020227c branch context_search_sniff_loop 
+
+sign_pdata_temp:
+2297 1ff11600 rshift16 pdata ,timeup 
+2298 196c9600 rshift8 timeup ,timeup 
+2299 2022a2a1 branch sign_pdata_temp_p0 ,zero 
+229a 29601e0f compare 0xf ,timeup ,0xf 
+229b 24608000 nrtn true 
+229c 18511600 rshift16 temp ,timeup 
+229d 196c9600 rshift8 timeup ,timeup 
+229e 24628000 nrtn zero 
+229f 7920041c set1 28 ,temp 
+22a0 20600000 rtn 
+
+sign_pdata_temp_p0:
+22a1 18511600 rshift16 temp ,timeup 
+22a2 196c9600 rshift8 timeup ,timeup 
+22a3 29601e0f compare 0xf ,timeup ,0xf 
+22a4 24608000 nrtn true 
+22a5 79207e1c set1 28 ,pdata 
+22a6 20600000 rtn 
+
+context_check_inconn:
+22a7 c3002266 bbit0 state_inconn ,context_search_next 
+22a8 18007c00 force 0 ,null 
+22a9 20600000 rtn 
+
+context_check_a_wack:
+22aa c3002266 bbit0 state_inconn ,context_search_next 
+22ab 1a208c01 add rega ,coffset_mode ,contr 
+22ac e8c08000 ifetch 1 ,contr 
+22ad c2802266 bbit1 mode_le ,context_search_next 
+22ae 1a208c17 add rega ,coffset_arq ,contr 
+22af e8c08000 ifetch 1 ,contr 
+22b0 c301a266 bbit0 wack ,context_search_next 
+22b1 18007c00 force 0 ,null 
+22b2 20600000 rtn 
+
+context_get_anchor:
+22b3 1a208c01 add rega ,coffset_mode ,contr 
+22b4 e8c88000 ifetcht 1 ,contr 
+22b5 1c427e00 deposit clkn_bt 
+22b6 284ffe01 isolate1 mode_master ,temp 
+22b7 1a208c04 add rega ,coffset_sniff_anchor ,contr 
+22b8 e8ca0000 ifetcht 4 ,contr 
+22b9 20608000 rtn true 
+22ba 1a208c08 add rega ,coffset_clk_offset ,contr 
+22bb e8c30000 ifetch 6 ,contr 
+22bc 20402854 call calc_clke2 
+22bd 1d027e00 deposit clke_bt 
+22be 20600000 rtn 
+
+context_next_anchor:
+22bf 1a208c02 add rega ,coffset_tsniff ,contr 
+22c0 1a208a04 add rega ,coffset_sniff_anchor ,contw 
+22c1 e8c10000 ifetch 2 ,contr 
+22c2 98409600 iadd temp ,timeup 
+22c3 19627e00 deposit timeup 
+22c4 e0a20000 istore 4 ,contw 
+22c5 20205449 branch le_context_nexthop 
+
+context_search_window:
+22c6 c300a266 bbit0 state_insniff ,context_search_next 
+22c7 204022b3 call context_get_anchor 
+22c8 9b60fe00 iadd stop_watch ,pdata 
+22c9 9b60fe00 iadd stop_watch ,pdata 
+22ca 98e0fe00 iadd queue ,pdata 
+22cb 98467c00 isub temp ,null 
+22cc 24212266 nbranch context_search_next ,positive 
+22cd 18007c00 force 0 ,null 
+22ce 20600000 rtn 
+
+context_traverse_clearkey:
+22cf c3002266 bbit0 state_inconn ,context_search_next 
+22d0 18427e00 deposit temp 
+22d1 9a267c00 isub rega ,null 
+22d2 203f2266 branch context_search_next ,null 
+22d3 1a208c01 add rega ,coffset_mode ,contr 
+22d4 e8c08000 ifetch 1 ,contr 
+22d5 c2802266 bbit1 mode_le ,context_search_next 
+22d6 ea208000 ifetch 1 ,rega 
+22d7 793ffe07 set0 state_linkkey ,pdata 
+22d8 e2208000 istore 1 ,rega 
+22d9 20202266 branch context_search_next 
+
+master_conn_send_packet:
+22da 4497c005 bpatch patch05_7 ,mem_patch05 
+22db 20402a4f call rf_setup_time_master_slot 
+
+master_send_packet:
+22dc 1c40c201 add clkn_bt ,1 ,bt_clk 
+22dd 204028e2 call fetch_self_bt_adr 
+22de 18004803 force 0x03 ,freq_mode 
+22df 204028d2 call tx_radio_freq 
+22e0 20402a51 call start_transmitter 
+22e1 20402a56 call start_tx_native 
+22e2 20402a64 call send_access_word 
+22e3 20202762 branch transmit_packet 
+
+master_conn_recv_packet:
+22e4 44984006 bpatch patch06_0 ,mem_patch06 
+22e5 20402a4d call rf_setup_time_slave_slot 
+
+master_recv_packet:
+22e6 1c40c201 add clkn_bt ,1 ,bt_clk 
+22e7 204028e2 call fetch_self_bt_adr 
+22e8 18004803 force 0x03 ,freq_mode 
+22e9 204028cc call rx_radio_freq 
+22ea 2040242a call init_rx_packet_flags 
+22eb 204029f1 call prep_crypt 
+22ec 20402a5b call start_rx_native 
+22ed 204029eb call start_receiver 
+
+master_rx_conn_finish_packet:
+22ee 20402a0d call wait_access_clkn_rt 
+22ef 246c0000 nrtn sync 
+22f0 204029bb call save_rssi 
+22f1 2020251c branch receive_packet 
+
+master_newconn_once:
+22f2 4498c006 bpatch patch06_1 ,mem_patch06 
+22f3 68008181 fetch 1 ,mem_fhs_am_addr 
+22f4 98000800 iforce am_addr 
+22f5 18000201 force type_poll ,type 
+22f6 204022da call master_conn_send_packet 
+22f7 202022e4 branch master_conn_recv_packet 
+
+inquiry_scan_dispatch:
+22f8 6800c093 fetch 1 ,mem_scan_mode 
+22f9 c4000000 rtnbit0 inq_scan_mode 
+22fa 18000e04 force iscan_interval_timer ,queue 
+22fb 20407f16 call timer_check 
+22fc 247a0000 nrtn blank 
+22fd 680940ad fetcht 2 ,mem_iscan_window 
+22fe 18000e04 force 4 ,queue 
+22ff 2040271c call sniff_check_window 
+2300 20740000 rtn user 
+2301 20402308 call inquiry_scan_start 
+2302 18000e04 force iscan_interval_timer ,queue 
+2303 680140af fetch 2 ,mem_iscan_interval 
+2304 242c7f08 nbranch timer_init ,sync 
+2305 180a7e00 random pdata 
+2306 9ea17e00 iand mask3ff ,pdata 
+2307 20207f08 branch timer_init 
+
+inquiry_scan_start:
+2308 44994006 bpatch patch06_2 ,mem_patch06 
+2309 70018100 jam 0 ,mem_fhs_am_addr 
+230a 78587c00 disable clknt 
+230b 78577c00 disable attempt 
+230c 204028a4 call afh_clear 
+230d 1c4143fc and clkn_bt ,0x1fc ,bt_clk 
+230e 18004801 force 0x01 ,freq_mode 
+230f 204028d8 call fetch_giac 
+2310 204028cc call rx_radio_freq 
+2311 7940001d setflip mark_inquiry_state ,mark 
+2312 68008006 fetch 1 ,mem_inquiryscan_waitcnt 
+2313 1fe0fe01 increase 1 ,pdata 
+2314 60008006 store 1 ,mem_inquiryscan_waitcnt 
+2315 204028f2 call fetch_diac 
+2316 204029eb call start_receiver 
+2317 20402a14 call wait_access_forever 
+2318 246c0000 nrtn sync 
+2319 4499c006 bpatch patch06_3 ,mem_patch06 
+231a 18003600 force 0 ,stop_watch 
+231b 204028f9 call shutdown_radio 
+231c 68008007 fetch 1 ,mem_inquiryscan_rcvcnt 
+231d 1fe0fe01 increase 1 ,pdata 
+231e 60008007 store 1 ,mem_inquiryscan_rcvcnt 
+231f 204028d8 call fetch_giac 
+2320 20402a4d call rf_setup_time_slave_slot 
+2321 1c21c202 or_into 0x002 ,bt_clk 
+2322 18004801 force 0x01 ,freq_mode 
+2323 204028d2 call tx_radio_freq 
+2324 204028f2 call fetch_diac 
+2325 20402a51 call start_transmitter 
+2326 20402a5f call start_tx_external 
+2327 1c427e00 deposit clkn_bt 
+2328 60020161 store 4 ,mem_clkn_bt 
+2329 20402a64 call send_access_word 
+232a 18000202 force type_fhs ,type 
+232b 18000800 force 0 ,am_addr 
+232c 20402a6b call scan_mode_whiten 
+232d 20402766 call transmit_packet_whitened 
+232e 20402332 call send_eir 
+232f 1c2143fd and_into 0x1fd ,bt_clk 
+2330 1cc0cc01 increase 1 ,n_tx_slot 
+2331 20600000 rtn 
+
+send_eir:
+2332 449a4006 bpatch patch06_4 ,mem_patch06 
+2333 6800c0d1 fetch 1 ,mem_eir_enable 
+2334 207a0000 rtn blank 
+2335 d8a0018e arg mem_eir ,contw 
+2336 6800c515 fetch 1 ,mem_local_name_length 
+2337 1fe27200 copy pdata ,loopcnt 
+2338 1fe0fe01 increase 1 ,pdata 
+2339 e0a08000 istore 1 ,contw 
+233a 18a20400 copy contw ,temp 
+233b 1fe0fe01 increase 1 ,pdata 
+233c 600141dc store 2 ,mem_tx_len 
+233d 18420a00 copy temp ,contw 
+233e 58000009 setarg 0x09 
+233f e0a08000 istore 1 ,contw 
+2340 d8c04516 arg mem_local_name ,contr 
+2341 20407f01 call memcpy 
+2342 da60458d arg mem_all_uuid_128bits ,regc 
+2343 df200004 arg 4 ,loopcnt 
+2344 20402354 call get_all_uuid 
+2345 da604577 arg mem_all_uuid_16bits ,regc 
+2346 df200001 arg 1 ,loopcnt 
+2347 20402354 call get_all_uuid 
+2348 1800020a force type_dm3 ,type 
+2349 7041db02 jam 2 ,mem_tx_lch 
+234a 5800018e setarg mem_eir 
+234b 6001016f store 2 ,mem_txptr 
+234c 20402a4d call rf_setup_time_slave_slot 
+234d 204028d2 call tx_radio_freq 
+234e 20402a51 call start_transmitter 
+234f 20402a5f call start_tx_external 
+2350 20402a64 call send_access_word 
+2351 20402a6b call scan_mode_whiten 
+2352 20402766 call transmit_packet_whitened 
+2353 20600000 rtn 
+
+get_all_uuid:
+2354 18a20400 copy contw ,temp 
+2355 1a620c00 copy regc ,contr 
+2356 e8c08000 ifetch 1 ,contr 
+2357 207a0000 rtn blank 
+
+lshift_loop:
+2358 1fe3fe00 lshift pdata ,pdata 
+2359 c2002358 loop lshift_loop 
+235a 1fe22200 copy pdata ,rega 
+235b 1fe0fe02 increase 2 ,pdata 
+235c 1fe20e00 copy pdata ,queue 
+235d 680141dc fetch 2 ,mem_tx_len 
+235e 98e0fe00 iadd queue ,pdata 
+235f 600141dc store 2 ,mem_tx_len 
+2360 18420a00 copy temp ,contw 
+2361 1a227e00 copy rega ,pdata 
+2362 1fe0fe01 increase 1 ,pdata 
+2363 e0a08000 istore 1 ,contw 
+2364 1a620c00 copy regc ,contr 
+2365 e8c08000 ifetch 1 ,contr 
+2366 e8c08000 ifetch 1 ,contr 
+2367 e0a08000 istore 1 ,contw 
+2368 1a227200 copy rega ,loopcnt 
+2369 20207f01 branch memcpy 
+
+page_scan_dispatch:
+236a 6800c093 fetch 1 ,mem_scan_mode 
+236b c4008000 rtnbit0 page_scan_mode 
+236c 18000e05 force pscan_interval_timer ,queue 
+236d 20407f16 call timer_check 
+236e 247a0000 nrtn blank 
+236f 680940b1 fetcht 2 ,mem_pscan_window 
+2370 18000e28 force 40 ,queue 
+2371 2040271c call sniff_check_window 
+2372 20740000 rtn user 
+2373 18000800 force 0 ,am_addr 
+2374 70001008 jam param_pagerespto ,mem_fhs_wait_counter 
+2375 793f800b set0 mark_fhs_already_good ,mark 
+2376 2040237a call page_scan_start 
+2377 18000e05 force pscan_interval_timer ,queue 
+2378 680140b3 fetch 2 ,mem_pscan_interval 
+2379 20207f08 branch timer_init 
+
+page_scan_start:
+237a 449ac006 bpatch patch06_5 ,mem_patch06 
+237b 78587c00 disable clknt 
+237c 204028a4 call afh_clear 
+237d 68008008 fetch 1 ,mem_pagescan_waitcnt 
+237e 1fe0fe01 increase 1 ,pdata 
+237f 60008008 store 1 ,mem_pagescan_waitcnt 
+2380 18004c00 force 0 ,n_tx_slot 
+2381 204028e2 call fetch_self_bt_adr 
+2382 1c40c201 add clkn_bt ,1 ,bt_clk 
+2383 18004802 force 0x02 ,freq_mode 
+2384 449b4006 bpatch patch06_6 ,mem_patch06 
+2385 204028cc call rx_radio_freq 
+2386 204029eb call start_receiver 
+2387 20402a14 call wait_access_forever 
+2388 246c0000 nrtn sync 
+2389 204028f9 call shutdown_radio 
+238a 68008009 fetch 1 ,mem_pagescan_rcvcnt 
+238b 1fe0fe01 increase 1 ,pdata 
+238c 60008009 store 1 ,mem_pagescan_rcvcnt 
+238d 18003600 force 0 ,stop_watch 
+238e 20402a4d call rf_setup_time_slave_slot 
+238f 1c21c202 or_into 0x002 ,bt_clk 
+2390 18004801 force 0x01 ,freq_mode 
+2391 204028d2 call tx_radio_freq 
+2392 20402a51 call start_transmitter 
+2393 20402a5f call start_tx_external 
+2394 20402a64 call send_access_word 
+2395 2040264d call end_of_packet 
+2396 18000800 force 0 ,am_addr 
+2397 d9600600 arg param_rf_setup ,timeup 
+2398 35330200 until clke_rt ,meet 
+2399 1d01d003 or_into 0x03 ,clke_bt 
+239a 1c2143fd and_into 0x1fd ,bt_clk 
+
+page_scan_wait_fhs_restart:
+239b 449bc006 bpatch patch06_7 ,mem_patch06 
+239c 1cc0cc01 increase 1 ,n_tx_slot 
+239d 204028cc call rx_radio_freq 
+239e 204029eb call start_receiver 
+239f 20402a07 call wait_access_mhalfbnd 
+23a0 242c23a4 nbranch page_scan_wait_fhs_again ,sync 
+23a1 20402a6b call scan_mode_whiten 
+23a2 2040251e call receive_packet_whitened 
+23a3 c505a3ab bmark1 mark_fhs_already_good ,page_scan_reply_to_fhs 
+
+page_scan_wait_fhs_again:
+23a4 449c4007 bpatch patch07_0 ,mem_patch07 
+23a5 68008010 fetch 1 ,mem_fhs_wait_counter 
+23a6 207a0000 rtn blank 
+23a7 1fe0ffff increase -1 ,pdata 
+23a8 60008010 store 1 ,mem_fhs_wait_counter 
+23a9 20402a4f call rf_setup_time_master_slot 
+23aa 2020239b branch page_scan_wait_fhs_restart 
+
+page_scan_reply_to_fhs:
+23ab 449cc007 bpatch patch07_1 ,mem_patch07 
+23ac 793fd001 set0 1 ,clke_bt 
+23ad 79205000 set1 0 ,clke_bt 
+23ae 6800800a fetch 1 ,mem_pagescan_rcvfhscnt 
+23af 1fe0fe01 increase 1 ,pdata 
+23b0 6000800a store 1 ,mem_pagescan_rcvfhscnt 
+23b1 20402a4d call rf_setup_time_slave_slot 
+23b2 1c21c202 or_into 0x02 ,bt_clk 
+23b3 204028d2 call tx_radio_freq 
+23b4 20402a51 call start_transmitter 
+23b5 20402a5f call start_tx_external 
+23b6 20402a64 call send_access_word 
+23b7 2040264d call end_of_packet 
+
+slave_apply_clke_bt:
+23b8 2d000603 compare 0x03 ,clke_bt ,0x03 
+23b9 2020a3bc branch slave_apply_clke_bt_now ,true 
+23ba 37cb8200 until null ,mhalfbnd 
+23bb 202023b8 branch slave_apply_clke_bt 
+
+slave_apply_clke_bt_now:
+23bc 68020165 fetch 4 ,mem_clke_bt 
+23bd 1fe1fe03 or_into 0x03 ,pdata 
+23be 1fe25000 icopy clke_bt 
+
+start_slave_connection:
+23bf 449d4007 bpatch patch07_2 ,mem_patch07 
+23c0 68030178 fetch 6 ,extm_lap 
+23c1 60030040 store 6 ,mem_plap 
+23c2 20402435 call prepare_newconn 
+
+slave_newconn_loop:
+23c3 2040247c call slave_newconn_once 
+23c4 2036a3c8 branch sconn_successful ,match 
+23c5 20402455 call new_conn_timeout 
+23c6 243a23c3 nbranch slave_newconn_loop ,blank 
+23c7 20600000 rtn 
+
+sconn_successful:
+23c8 449dc007 bpatch patch07_3 ,mem_patch07 
+23c9 20402440 call newconn_init 
+23ca 2040223b call context_new 
+23cb 24628000 nrtn zero 
+23cc 70003100 jam 0 ,mem_mode 
+23cd 20402841 call calc_clke_offset 
+23ce 20202223 branch context_save 
+
+slave_dispatch:
+23cf 449e4007 bpatch patch07_4 ,mem_patch07 
+23d0 20402850 call calc_clke 
+23d1 204023f3 call role_switch_slave 
+23d2 20740000 rtn user 
+
+slave_loop:
+23d3 449ec007 bpatch patch07_5 ,mem_patch07 
+23d4 20402c69 call check_bt_disabled 
+23d5 20406caa call scheduler_process 
+23d6 20402514 call slave_conn_recv_packet 
+23d7 2436a3e2 nbranch slave_notmatch ,match 
+23d8 20402a88 call supervision_flush 
+23d9 20406cc2 call scheduler_tx_l2cap_pkt 
+23da 20402489 call prepare_tx 
+23db 20402757 call slave_conn_send_packet 
+23dc 20402728 call parse_l2cap 
+23dd 20405d08 call parse_lmp 
+23de 6800800b fetch 1 ,mem_slave_rcvcnt 
+23df 1fe0fe01 increase 1 ,pdata 
+23e0 6000800b store 1 ,mem_slave_rcvcnt 
+23e1 20402841 call calc_clke_offset 
+
+slave_notmatch:
+23e2 449f4007 bpatch patch07_6 ,mem_patch07 
+23e3 20402bb1 call lpm_set_mult 
+23e4 20402a7f call supervision_update 
+23e5 202123eb branch slave_disconnect ,positive 
+23e6 204021a7 call check_disconnect_timeout 
+23e7 243423eb nbranch slave_disconnect ,user 
+23e8 204026f3 call check_attempt 
+23e9 243a23d3 nbranch slave_loop ,blank 
+23ea 20600000 rtn 
+
+slave_disconnect:
+23eb 449fc007 bpatch patch07_7 ,mem_patch07 
+23ec 70015100 jam 0 ,mem_tester_emulate 
+23ed 70017f00 jam 0 ,mem_debug_config 
+23ee 2040245d call quit_connection 
+23ef 793f8011 set0 mark_testmode ,mark 
+23f0 20407fb0 call test_enable_white 
+23f1 68008030 fetch 1 ,mem_state 
+23f2 20600000 rtn 
+
+role_switch_slave:
+23f3 44a04008 bpatch patch08_0 ,mem_patch08 
+23f4 204021c9 call role_switch_check 
+23f5 24740000 nrtn user 
+23f6 18820400 copy am_addr ,temp 
+23f7 20402a6f call get_free_amaddr 
+23f8 60008181 store 1 ,mem_fhs_am_addr 
+23f9 18420800 copy temp ,am_addr 
+23fa 70001120 jam param_newconnto ,mem_newconnto_counter 
+
+roles_sendfhs_loop:
+23fb 44a0c008 bpatch patch08_1 ,mem_patch08 
+23fc 20402a4f call rf_setup_time_master_slot 
+23fd 18000202 force type_fhs ,type 
+23fe 2040274f call slave_send_access 
+23ff 1c427e00 deposit clkn_bt 
+2400 60020161 store 4 ,mem_clkn_bt 
+2401 20402762 call transmit_packet 
+2402 20402a4d call rf_setup_time_slave_slot 
+2403 7837fc00 enable user3 
+2404 204024f6 call slave_receive_access 
+2405 202c240d branch roles_got_fhs_reply ,sync 
+2406 204028f9 call shutdown_radio 
+2407 20402455 call new_conn_timeout 
+2408 243a23fb nbranch roles_sendfhs_loop ,blank 
+2409 c6820000 rtnmark0 mark_accept_switch 
+240a 70007c34 jam lmp_slot_offset ,mem_lmo_opcode2 
+240b 79200003 set1 mark_switch_initiated ,mark 
+240c 20600000 rtn 
+
+roles_got_fhs_reply:
+240d 78387c00 enable clknt 
+240e 20402435 call prepare_newconn 
+240f 204028a4 call afh_clear 
+
+roles_newconn_loop:
+2410 44a14008 bpatch patch08_2 ,mem_patch08 
+2411 204022f2 call master_newconn_once 
+2412 202c2419 branch roles_newconn_responded ,sync 
+2413 20402455 call new_conn_timeout 
+2414 243a2410 nbranch roles_newconn_loop ,blank 
+2415 78587c00 disable clknt 
+2416 1d027e00 deposit clke_bt 
+2417 600240ca store 4 ,mem_next_btclk 
+2418 20600000 rtn 
+
+roles_newconn_responded:
+2419 7834fc00 enable master 
+241a c582241f bmark0 mark_accept_switch ,roles_newconn_nolmp 
+241b 793f8004 set0 mark_accept_switch ,mark 
+241c 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+241d 70007d33 jam lmp_host_connection_req ,mem_lmi_opcode2 
+241e 204062f8 call tid_set_reply 
+
+roles_newconn_nolmp:
+241f 18827e00 deposit am_addr 
+2420 60008077 store 1 ,mem_amaddr 
+2421 18007e00 force 0 ,pdata 
+2422 60030038 store 6 ,mem_clk_offset 
+2423 68008031 fetch 1 ,mem_mode 
+2424 79207e01 set1 mode_master ,pdata 
+2425 60008031 store 1 ,mem_mode 
+2426 20402a88 call supervision_flush 
+2427 7854fc00 disable master 
+2428 78347c00 enable user 
+2429 20600000 rtn 
+
+init_rx_packet_flags:
+242a 44a1c008 bpatch patch08_3 ,mem_patch08 
+242b 7856fc00 disable match 
+242c 793f8005 set0 mark_loopback ,mark 
+242d 793f800a set0 mark_am_addr_broadcast ,mark 
+242e 793f8010 set0 mark_longpacket ,mark 
+242f 793f800f set0 mark_old_packet ,mark 
+2430 68008047 fetch 1 ,mem_arq 
+2431 793ffe05 set0 arqnx ,pdata 
+2432 79207e04 set1 flowx ,pdata 
+2433 60008047 store 1 ,mem_arq 
+2434 20600000 rtn 
+
+prepare_newconn:
+2435 44a24008 bpatch patch08_4 ,mem_patch08 
+2436 70001120 jam param_newconnto ,mem_newconnto_counter 
+2437 70004750 jam param_newconn_arq ,mem_arq 
+2438 680140bf fetch 2 ,mem_rx_window_init 
+2439 6001003e store 2 ,mem_rx_window 
+243a 1c427e00 deposit clkn_bt 
+243b 600240ca store 4 ,mem_next_btclk 
+243c 20780000 rtn clknt 
+243d 1d027e00 deposit clke_bt 
+243e 600240ca store 4 ,mem_next_btclk 
+243f 20600000 rtn 
+
+newconn_init:
+2440 44a2c008 bpatch patch08_5 ,mem_patch08 
+2441 20405d04 call init_lmp_reinit 
+2442 20402459 call new_conn_handle 
+2443 60008046 store 1 ,mem_conn_handle 
+2444 58000000 setarg 0 
+2445 6001025d store 2 ,mem_l2cap_rxbuff1_len 
+2446 58001c80 setarg param_supervision_to 
+2447 60010051 store 2 ,mem_supervision_to 
+2448 68008030 fetch 1 ,mem_state 
+2449 79207e00 set1 state_inconn ,pdata 
+244a 60008030 store 1 ,mem_state 
+244b 70004b00 jam 0 ,mem_op 
+244c 70004c00 jam 0 ,mem_state_map 
+244d 7000a000 jam 0 ,mem_lpm_current_mult 
+244e 20202a88 branch supervision_flush 
+
+clear_linkkey:
+244f 44a34008 bpatch patch08_6 ,mem_patch08 
+2450 18007e00 force 0 ,pdata 
+2451 600441be store 8 ,mem_link_key 
+2452 e0a40000 istore 8 ,contw 
+2453 204021c5 call clear_linkstate 
+2454 20202254 branch context_traverse_linkkey 
+
+new_conn_timeout:
+2455 68008011 fetch 1 ,mem_newconnto_counter 
+2456 1fe0ffff increase -1 ,pdata 
+2457 60008011 store 1 ,mem_newconnto_counter 
+2458 20600000 rtn 
+
+new_conn_handle:
+2459 6800c0cf fetch 1 ,mem_handle_num 
+245a 1fe0fe01 increase 1 ,pdata 
+245b 6000c0cf store 1 ,mem_handle_num 
+245c 20600000 rtn 
+
+quit_connection:
+245d 44a3c008 bpatch patch08_7 ,mem_patch08 
+245e 6800c1ce fetch 1 ,mem_hci_cmd 
+245f c001a462 beq hci_cmd_remote_name_req ,quit_connection_name 
+2460 68008048 fetch 1 ,mem_lmp_to_send 
+2461 c080a466 bne lmp_name_req ,quit_connection_cont 
+
+quit_connection_name:
+2462 20404d06 call cmd_check_plap 
+2463 2422a466 nbranch quit_connection_cont ,zero 
+2464 204021a4 call master_name_error 
+2465 7041ce00 jam 0 ,mem_hci_cmd 
+
+quit_connection_cont:
+2466 44a44009 bpatch patch09_0 ,mem_patch09 
+2467 204033af call app_disconn_reason_collect_bt 
+2468 204026e9 call sniff_exit 
+2469 700a9902 jam bt_evt_bb_disconnected ,mem_fifo_temp 
+246a 20407d86 call ui_ipc_send_event 
+246b 20405cf7 call init_lmp_work 
+246c 20404d6b call l2cap_init_work 
+246d 2040757d call sp_initialize 
+246e 68008030 fetch 1 ,mem_state 
+246f 793ffe00 set0 state_inconn 
+2470 60008030 store 1 ,mem_state 
+2471 70468100 jam 0 ,memui_reconnect_mode 
+2472 6800804c fetch 1 ,mem_state_map 
+2473 2fe18000 compare 0x0 ,pdata ,0xc0 
+2474 2020a476 branch quit_connection_not_clear_mark ,true 
+2475 793f8001 set0 mark_rxbuf_inuse ,mark 
+
+quit_connection_not_clear_mark:
+2476 68008047 fetch 1 ,mem_arq 
+2477 c301a478 bbit0 wack ,quit_connection_not_clear_tx 
+
+quit_connection_not_clear_tx:
+2478 6800804b fetch 1 ,mem_op 
+2479 c4030000 rtnbit0 op_txl2cap 
+247a 793f8002 set0 mark_tx_l2cap ,mark 
+247b 20600000 rtn 
+
+slave_newconn_once:
+247c 44a4c009 bpatch patch09_1 ,mem_patch09 
+247d 68008174 fetch 1 ,extm_newconn_am_addr 
+247e 207a0000 rtn blank 
+247f 1fe20800 icopy am_addr 
+2480 20402514 call slave_conn_recv_packet 
+2481 24768000 nrtn match 
+2482 18000200 force type_null ,type 
+2483 20402757 call slave_conn_send_packet 
+2484 18827e00 deposit am_addr 
+2485 60008077 store 1 ,mem_amaddr 
+2486 18007e00 force 0 ,pdata 
+2487 60008174 store 1 ,extm_newconn_am_addr 
+2488 20600000 rtn 
+
+prepare_tx:
+2489 44a54009 bpatch patch09_2 ,mem_patch09 
+248a 68008030 fetch 1 ,mem_state 
+248b c3012496 bbit0 state_insco ,prepare_tx_not_sco 
+248c 18000207 force type_hv3 ,type 
+248d c583a495 bmark0 mark_esco ,prepare_tx_not_esco 
+248e 20402725 call check_esco_amaddr 
+248f 2420a496 nbranch prepare_tx_not_sco ,true 
+2490 20372496 branch prepare_tx_not_sco ,attempt 
+2491 204024c1 call set_wait_ack 
+2492 58000002 setarg 2 
+2493 600140c8 store 2 ,mem_retransmission_cnt 
+2494 20600000 rtn 
+
+prepare_tx_not_esco:
+2495 24770000 nrtn attempt 
+
+prepare_tx_not_sco:
+2496 44a5c009 bpatch patch09_3 ,mem_patch09 
+2497 20402243 call context_check_all_wack 
+2498 2422a4a7 nbranch prepare_tx_no_retransmit ,zero 
+2499 68008047 fetch 1 ,mem_arq 
+249a c301a4b0 bbit0 wack ,prepare_tx_pollnull 
+
+prepare_tx_retransmit:
+249b c502a4b4 bmark1 mark_loopback ,prepare_tx_loopback 
+249c 6800817f fetch 1 ,mem_debug_config 
+249d c28324ba bbit1 debug_tx_pattern ,prepare_tx_txpat 
+249e 680140c8 fetch 2 ,mem_retransmission_cnt 
+249f 1fe0ffff increase -1 ,pdata 
+24a0 600140c8 store 2 ,mem_retransmission_cnt 
+24a1 203a24a5 branch prepare_tx_nomore_retransmit ,blank 
+24a2 6800c0c5 fetch 1 ,mem_last_type 
+24a3 98000200 iforce type 
+24a4 20600000 rtn 
+
+prepare_tx_nomore_retransmit:
+24a5 44a64009 bpatch patch09_4 ,mem_patch09 
+24a6 20402687 call clear_got_tx 
+
+prepare_tx_no_retransmit:
+24a7 20402725 call check_esco_amaddr 
+24a8 2020a4b0 branch prepare_tx_pollnull ,true 
+24a9 2040600a call send_lmp 
+24aa 203424be branch prepare_tx_sendlmp ,user 
+24ab 6800804b fetch 1 ,mem_op 
+24ac c28324c0 bbit1 op_txl2cap ,prepare_tx_sendl2cap 
+24ad c502a4b4 bmark1 mark_loopback ,prepare_tx_loopback 
+24ae 6800817f fetch 1 ,mem_debug_config 
+24af c28324ba bbit1 debug_tx_pattern ,prepare_tx_txpat 
+
+prepare_tx_pollnull:
+24b0 18000201 force type_poll ,type 
+24b1 20748000 rtn master 
+24b2 18000200 force type_null ,type 
+24b3 20600000 rtn 
+
+prepare_tx_loopback:
+24b4 44a6c009 bpatch patch09_5 ,mem_patch09 
+24b5 68008019 fetch 1 ,mem_rx_type 
+24b6 98000200 iforce type 
+24b7 c1808000 rtnne 1 
+24b8 18000200 force type_null ,type 
+24b9 20600000 rtn 
+
+prepare_tx_txpat:
+24ba 68008158 fetch 1 ,test_mode_packet_type 
+24bb 1fe1020f and pdata ,0xf ,type 
+24bc 79200005 set1 mark_loopback ,mark 
+24bd 20600000 rtn 
+
+prepare_tx_sendlmp:
+24be 18000213 force type_lmp ,type 
+24bf 202024c1 branch set_wait_ack 
+
+prepare_tx_sendl2cap:
+24c0 204024ca call tx_l2cap_type 
+
+set_wait_ack:
+24c1 44a74009 bpatch patch09_6 ,mem_patch09 
+24c2 68088047 fetcht 1 ,mem_arq 
+24c3 79200403 set1 wack ,temp 
+24c4 60088047 storet 1 ,mem_arq 
+24c5 18227e00 deposit type 
+24c6 6000c0c5 store 1 ,mem_last_type 
+24c7 5800ffff setarg 0xffff 
+24c8 600140c8 store 2 ,mem_retransmission_cnt 
+24c9 20600000 rtn 
+
+tx_l2cap_type:
+24ca 44a7c009 bpatch patch09_7 ,mem_patch09 
+24cb 6800804c fetch 1 ,mem_state_map 
+24cc 2feffe05 isolate1 smap_edr ,pdata 
+24cd 680141dc fetch 2 ,mem_tx_len 
+24ce 2020a4e0 branch tx_l2cap_type_edr ,true 
+24cf 18000203 force type_dm1 ,type 
+24d0 1fe67c11 sub pdata ,17 ,null 
+24d1 20610000 rtn positive 
+24d2 18000204 force type_dh1 ,type 
+24d3 1fe67c1b sub pdata ,27 ,null 
+24d4 20610000 rtn positive 
+24d5 1800020a force type_dm3 ,type 
+24d6 1fe67c79 sub pdata ,121 ,null 
+24d7 20610000 rtn positive 
+24d8 1800020b force type_dh3 ,type 
+24d9 1fe67cb7 sub pdata ,183 ,null 
+24da 20610000 rtn positive 
+24db 1800020e force type_dm5 ,type 
+24dc 1fe67ce0 sub pdata ,224 ,null 
+24dd 20610000 rtn positive 
+24de 1800020f force type_dh5 ,type 
+24df 20600000 rtn 
+
+tx_l2cap_type_edr:
+24e0 18000203 force type_dm1 ,type 
+24e1 1fe67c11 sub pdata ,17 ,null 
+24e2 20610000 rtn positive 
+24e3 18000204 force type_dh1 ,type 
+24e4 1fe67c36 sub pdata ,54 ,null 
+24e5 20610000 rtn positive 
+24e6 1800020a force type_dm3 ,type 
+24e7 d840016f arg 367 ,temp 
+24e8 98467c00 isub temp ,null 
+24e9 24610000 nrtn positive 
+24ea 1800020e force type_dm5 ,type 
+24eb d84002a7 arg 679 ,temp 
+24ec 98467c00 isub temp ,null 
+24ed 24610000 nrtn positive 
+24ee 1800020f force type_dh5 ,type 
+24ef 20600000 rtn 
+
+slave_receive_master_slot:
+24f0 68008030 fetch 1 ,mem_state 
+24f1 c300a4f5 bbit0 state_insniff ,slave_receive_notsniff 
+24f2 68010032 fetch 2 ,mem_tsniff 
+24f3 203a24f5 branch slave_receive_notsniff ,blank 
+24f4 243724f7 nbranch slave_receive_sniff ,attempt 
+
+slave_receive_notsniff:
+24f5 20402a4f call rf_setup_time_master_slot 
+
+slave_receive_access:
+24f6 1d00c201 add clke_bt ,1 ,bt_clk 
+
+slave_receive_sniff:
+24f7 78287c00 enable swfine 
+24f8 6801003e fetch 2 ,mem_rx_window 
+24f9 1fe37e00 rshift pdata ,pdata 
+24fa d8400500 arg param_pll_setup ,temp 
+24fb 9840fe00 iadd temp ,pdata 
+24fc 20402a24 call ahead_window 
+24fd 204028ea call fetch_extm_bt_adr 
+24fe 18004803 force 0x03 ,freq_mode 
+24ff 204028cc call rx_radio_freq 
+2500 2040242a call init_rx_packet_flags 
+2501 204029f1 call prep_crypt 
+2502 44a8400a bpatch patch0a_0 ,mem_patch0a 
+2503 6801003e fetch 2 ,mem_rx_window 
+2504 1fe37e00 rshift pdata ,pdata 
+2505 20402a24 call ahead_window 
+2506 204029eb call start_receiver 
+2507 7826fc00 enable decode_fec0 
+2508 6801003e fetch 2 ,mem_rx_window 
+2509 d84003bb arg param_clke_cal ,temp 
+250a 9840b600 iadd temp ,stop_watch 
+250b 37c18400 correlate null ,timeout 
+250c 1b420400 copy clke ,temp 
+250d 600b009a storet 6 ,mem_sync_clke 
+250e 7846fc00 disable decode_fec0 
+250f 246c0000 nrtn sync 
+2510 dd2003bb arg param_clke_cal ,clke_rt 
+2511 1c225000 copy bt_clk ,clke_bt 
+2512 2035ab05 branch lpm_adjust_clk ,wake 
+2513 20600000 rtn 
+
+slave_conn_recv_packet:
+2514 44a8c00a bpatch patch0a_1 ,mem_patch0a 
+2515 204024f0 call slave_receive_master_slot 
+2516 242c28f9 nbranch shutdown_radio ,sync 
+2517 204029bb call save_rssi 
+2518 c588a51c bmark0 mark_testmode ,receive_packet 
+2519 680100f6 fetch 2 ,mem_tst_pktcnt_sync 
+251a 1fe0fe01 increase 1 ,pdata 
+251b 600100f6 store 2 ,mem_tst_pktcnt_sync 
+
+receive_packet:
+251c 1c230400 rshift bt_clk ,temp 
+251d 18419c40 or temp ,0x40 ,white_init 
+
+receive_packet_whitened:
+251e 44a9400a bpatch patch0a_2 ,mem_patch0a 
+251f 7823fc00 enable enable_white 
+2520 78257c00 enable enable_hec 
+2521 7825fc00 enable decode_fec1 
+2522 09800003 parse demod ,bucket ,3 
+2523 198cfe00 rshift8 pwindow ,pdata 
+2524 6000815d store 1 ,mem_temp_am_addr 
+2525 09800004 parse demod ,bucket ,4 
+2526 08008007 inject bucket ,7 
+2527 19827e00 copy pwindow ,pdata 
+2528 60008019 store 1 ,mem_rx_type 
+2529 09800003 parse demod ,bucket ,3 
+252a 198cfe00 rshift8 pwindow ,pdata 
+252b 6000815e store 1 ,mem_temp_arq 
+252c 68008019 fetch 1 ,mem_rx_type 
+252d 1fe67c03 sub pdata ,3 ,null 
+252e 20212533 branch receive_packet_noedr ,positive 
+252f c003a533 beq 7 ,receive_packet_noedr 
+2530 6800804c fetch 1 ,mem_state_map 
+2531 2feffe05 isolate1 smap_edr ,pdata 
+2532 7920aa01 setflag true ,psk ,radio_ctrl 
+
+receive_packet_noedr:
+2533 44a9c00a bpatch patch0a_3 ,mem_patch0a 
+2534 09800008 parse demod ,bucket ,8 
+2535 7845fc00 disable decode_fec1 
+2536 78457c00 disable enable_hec 
+2537 20232631 branch error_header ,crc_failed 
+2538 c588a53c bmark0 mark_testmode ,receive_packet_amchk 
+2539 680100f8 fetch 2 ,mem_tst_pktcnt_hec 
+253a 1fe0fe01 increase 1 ,pdata 
+253b 600100f8 store 2 ,mem_tst_pktcnt_hec 
+
+receive_packet_amchk:
+253c 44aa400a bpatch patch0a_4 ,mem_patch0a 
+253d 6800815d fetch 1 ,mem_temp_am_addr 
+253e 2fe00e00 compare 0 ,pdata ,0x07 
+253f 7920800a setflag true ,mark_am_addr_broadcast ,mark 
+2540 2020a54c branch am_addr_ok ,true 
+2541 a8800e00 icompare 0x07 ,am_addr 
+2542 2020a54b branch am_addr_match ,true 
+2543 c583a64d bmark0 mark_esco ,end_of_packet 
+2544 680880b0 fetcht 1 ,mem_saved_amaddr 
+2545 a8400e00 icompare 0x7 ,temp 
+2546 2420a64d nbranch end_of_packet ,true 
+2547 68008047 fetch 1 ,mem_arq 
+2548 793ffe05 set0 arqnx ,pdata 
+2549 79207e04 set1 flowx ,pdata 
+254a 60008047 store 1 ,mem_arq 
+
+am_addr_match:
+254b 7836fc00 enable match 
+
+am_addr_ok:
+254c 44aac00a bpatch patch0a_5 ,mem_patch0a 
+254d 68008019 fetch 1 ,mem_rx_type 
+254e 1fe20200 icopy type 
+254f c505255b bmark1 mark_am_addr_broadcast ,arqn_bypass 
+2550 6808815e fetcht 1 ,mem_temp_arq 
+2551 68008047 fetch 1 ,mem_arq 
+2552 793ffe00 set0 flow ,pdata 
+2553 284ffe00 isolate1 flow ,temp 
+2554 7920fe00 setflag true ,flow ,pdata 
+2555 284ffe01 isolate1 arqn ,temp 
+2556 7920fe01 setflag true ,arqn ,pdata 
+2557 60008047 store 1 ,mem_arq 
+2558 284c0001 isolate0 arqn ,temp 
+2559 2020a55b branch arqn_bypass ,true 
+255a 20402687 call clear_got_tx 
+
+arqn_bypass:
+255b 44ab400a bpatch patch0a_6 ,mem_patch0a 
+255c d8400000 arg 0 ,temp 
+255d 20402a1c call reserve_slot 
+255e 18217e0f and type ,0xf ,pdata 
+255f c000a587 beq type_poll ,process_poll 
+2560 c000264d beq type_null ,end_of_packet 
+2561 c0012659 beq type_fhs ,process_fhs 
+2562 6808815e fetcht 1 ,mem_temp_arq 
+2563 68008047 fetch 1 ,mem_arq 
+2564 a8400800 icompare 0x04 ,temp 
+2565 2420a569 nbranch rx_type_dispatch ,true 
+2566 c5852568 bmark0 mark_am_addr_broadcast ,failed_seqn 
+2567 c303a569 bbit0 bcast1 ,rx_type_dispatch 
+
+failed_seqn:
+2568 7920000f set1 mark_old_packet ,mark 
+
+rx_type_dispatch:
+2569 44abc00a bpatch patch0a_7 ,mem_patch0a 
+256a 18227e00 deposit type 
+256b c001a589 beq type_dm1 ,process_dm1 
+256c c002258d beq type_dh1 ,process_dh1 
+256d c003a578 beq type_hv3 ,process_hev 
+256e c004258c beq type_3dh1 ,process_3dh1 
+256f d8400004 arg 4 ,temp 
+2570 20402a1c call reserve_slot 
+2571 c0052588 beq type_dm3 ,process_dm3 
+2572 c005a58b beq type_dh3 ,process_dh3 
+2573 d8400008 arg 8 ,temp 
+2574 20402a1c call reserve_slot 
+2575 c0072588 beq type_dm5 ,process_dm5 
+2576 c007a58b beq type_dh5 ,process_dh5 
+2577 20600000 rtn 
+
+process_hev:
+2578 44ac400b bpatch patch0b_0 ,mem_patch0b 
+2579 7826fc00 enable decode_fec0 
+257a 7824fc00 enable enable_crc 
+257b 78277c00 enable encrypt 
+257c d8a000d1 arg mem_sco_ibuf ,contw 
+257d 1800721e force 30 ,loopcnt 
+
+process_hev_loop:
+257e 09800008 parse demod ,bucket ,8 
+257f 19897e00 rshift3 pwindow ,pdata 
+2580 e0a08000 istore 1 ,contw 
+2581 c200257e loop process_hev_loop 
+2582 c583a64d bmark0 mark_esco ,end_of_packet 
+2583 09800010 parse demod ,bucket ,16 
+2584 7d230008 nsetflag crc_failed ,mark_esco_rxok ,mark 
+2585 2023263d branch error_payload ,crc_failed 
+2586 20202620 branch ack_payload 
+
+process_poll:
+2587 2020264d branch end_of_packet 
+
+process_dm3:
+
+process_dm5:
+2588 79200010 set1 mark_longpacket ,mark 
+
+process_dm1:
+2589 78267c00 enable decode_fec2 
+258a 2020258e branch process_dmh 
+
+process_dh3:
+
+process_dh5:
+258b 79200010 set1 mark_longpacket ,mark 
+
+process_3dh1:
+258c 79202a02 set1 psk3m ,radio_ctrl 
+
+process_dh1:
+258d 7826fc00 enable decode_fec0 
+
+process_dmh:
+258e 44acc00b bpatch patch0b_1 ,mem_patch0b 
+258f c500a64d bmark1 mark_rxbuf_inuse ,end_of_packet 
+2590 2aac0001 isolate0 psk ,radio_ctrl 
+2591 2020a59a branch process_dmh_noedr ,true 
+2592 7843fc00 disable enable_white 
+2593 7826fc00 enable decode_fec0 
+2594 78467c00 disable decode_fec2 
+2595 1c409602 add clkn_bt ,2 ,timeup 
+2596 34530400 correlate clkn_bt ,meet 
+2597 242c263d nbranch error_payload ,sync 
+2598 79200010 set1 mark_longpacket ,mark 
+2599 7823fc00 enable enable_white 
+
+process_dmh_noedr:
+259a 44ad400b bpatch patch0b_2 ,mem_patch0b 
+259b 78277c00 enable encrypt 
+259c 7824fc00 enable enable_crc 
+259d 09800003 parse demod ,bucket ,3 
+259e 198cfe00 rshift8 pwindow ,pdata 
+259f 60008180 store 1 ,mem_lch_code 
+25a0 09800005 parse demod ,bucket ,5 
+25a1 c50825a5 bmark1 mark_longpacket ,process_dmh_long 
+25a2 19897200 rshift3 pwindow ,loopcnt 
+25a3 1f297200 rshift3 loopcnt ,loopcnt 
+25a4 202025a8 branch process_dmh_common 
+
+process_dmh_long:
+25a5 09800005 parse demod ,bucket ,5 
+25a6 19837200 rshift pwindow ,loopcnt 
+25a7 09800003 parse demod ,bucket ,3 
+
+process_dmh_common:
+25a8 44adc00b bpatch patch0b_3 ,mem_patch0b 
+25a9 1f227e00 deposit loopcnt 
+25aa 6001015f store 2 ,mem_len 
+25ab 203a25e8 branch process_dmh_data_end ,blank 
+25ac 9ea67c00 isub mask3ff ,null 
+25ad 2021263d branch error_payload ,positive 
+25ae 44ae400b bpatch patch0b_4 ,mem_patch0b 
+25af 793f8000 set0 mark_fhs_eir ,mark 
+25b0 68008180 fetch 1 ,mem_lch_code 
+25b1 1fe17e03 and_into 0x03 ,pdata 
+25b2 d8a00551 arg mem_rxbuf ,contw 
+25b3 c001a5ba beq llid_lmp ,process_lmp 
+25b4 c508a5e4 bmark1 mark_testmode ,process_dmh_data 
+25b5 68008180 fetch 1 ,mem_lch_code 
+25b6 1fe17e03 and_into 0x03 ,pdata 
+25b7 c00125bf beq llid_l2cap_start ,process_dmh_data_l2cap_start_pkt 
+25b8 c000a5d3 beq llid_l2cap_cont ,process_dmh_data_l2cap_continue_pkt 
+25b9 2020263d branch error_payload 
+
+process_lmp:
+25ba 6801015f fetch 2 ,mem_len 
+25bb 1fe67c70 sub pdata ,0x70 ,null 
+25bc 2421263d nbranch error_payload ,positive 
+25bd c507a620 bmark1 mark_old_packet ,ack_payload 
+25be 202025e4 branch process_dmh_data 
+
+process_dmh_data_l2cap_start_pkt:
+25bf 44aec00b bpatch patch0b_5 ,mem_patch0b 
+25c0 c507a620 bmark1 mark_old_packet ,ack_payload 
+25c1 6801015f fetch 2 ,mem_len 
+25c2 d84002e0 arg 0x2e0 ,temp 
+25c3 98467c00 isub temp ,null 
+25c4 2021263d branch error_payload ,positive 
+25c5 68008263 fetch 1 ,mem_l2cap_rxbuff_inuse 
+25c6 c30025c9 bbit0 l2cap_inuse_buff1 ,process_dmh_data_into_buff1 
+25c7 c300a5ce bbit0 l2cap_inuse_buff2 ,process_dmh_data_into_buff2 
+25c8 2020264d branch end_of_packet 
+
+process_dmh_data_into_buff1:
+25c9 70026101 jam 1 ,mem_l2cap_rxbuff_new 
+25ca 6801025d fetch 2 ,mem_l2cap_rxbuff1_len 
+25cb c080264d bne 0 ,end_of_packet 
+25cc d8a01000 arg mem_l2cap_rxbuff1 ,contw 
+25cd 202025e4 branch process_dmh_data 
+
+process_dmh_data_into_buff2:
+25ce 70026102 jam 2 ,mem_l2cap_rxbuff_new 
+25cf 6801025f fetch 2 ,mem_l2cap_rxbuff2_len 
+25d0 c080264d bne 0 ,end_of_packet 
+25d1 d8a01400 arg mem_l2cap_rxbuff2 ,contw 
+25d2 202025e4 branch process_dmh_data 
+
+process_dmh_data_l2cap_continue_pkt:
+25d3 44af400b bpatch patch0b_6 ,mem_patch0b 
+25d4 c507a620 bmark1 mark_old_packet ,ack_payload 
+25d5 6801015f fetch 2 ,mem_len 
+25d6 d84002e0 arg 0x2e0 ,temp 
+25d7 98467c00 isub temp ,null 
+25d8 2021263d branch error_payload ,positive 
+25d9 68008261 fetch 1 ,mem_l2cap_rxbuff_new 
+25da c000a5dd beq 1 ,process_dmh_data_l2cap_continue_pkt1 
+25db c00125e1 beq 2 ,process_dmh_data_l2cap_continue_pkt2 
+25dc 2020264d branch end_of_packet 
+
+process_dmh_data_l2cap_continue_pkt1:
+25dd d8a01000 arg mem_l2cap_rxbuff1 ,contw 
+25de 6801025d fetch 2 ,mem_l2cap_rxbuff1_len 
+25df 98a08a00 iadd contw ,contw 
+25e0 202025e4 branch process_dmh_data 
+
+process_dmh_data_l2cap_continue_pkt2:
+25e1 d8a01400 arg mem_l2cap_rxbuff2 ,contw 
+25e2 6801025f fetch 2 ,mem_l2cap_rxbuff2_len 
+25e3 98a08a00 iadd contw ,contw 
+
+process_dmh_data:
+25e4 09800008 parse demod ,bucket ,8 
+25e5 19897e00 rshift3 pwindow ,pdata 
+25e6 e0a08000 istore 1 ,contw 
+25e7 c20025e4 loop process_dmh_data 
+
+process_dmh_data_end:
+25e8 44afc00b bpatch patch0b_7 ,mem_patch0b 
+25e9 09800010 parse demod ,bucket ,16 
+25ea 20232637 branch error_payload_crc ,crc_failed 
+25eb 6800c363 fetch 1 ,mem_l2cap_flow_ctrl_flag 
+25ec c000a64d beq l2cap_flow_ctrl_enable ,end_of_packet 
+25ed c508a60d bmark1 mark_testmode ,process_dmh_cont 
+25ee c507a64a bmark1 mark_old_packet ,redundant_payload 
+25ef 68008180 fetch 1 ,mem_lch_code 
+25f0 2fe00603 compare 3 ,pdata ,3 
+25f1 2020a60d branch process_dmh_cont ,true 
+25f2 6801015f fetch 2 ,mem_len 
+25f3 203a260d branch process_dmh_cont ,blank 
+25f4 44b0400c bpatch patch0c_0 ,mem_patch0c 
+25f5 68008261 fetch 1 ,mem_l2cap_rxbuff_new 
+25f6 c000a5f9 beq 1 ,process_l2cap_pass_crc_buff1 
+25f7 c0012603 beq 2 ,process_l2cap_pass_crc_buff2 
+25f8 20202a8c branch assert 
+
+process_l2cap_pass_crc_buff1:
+25f9 6801025d fetch 2 ,mem_l2cap_rxbuff1_len 
+25fa 6809015f fetcht 2 ,mem_len 
+25fb 9840fe00 iadd temp ,pdata 
+25fc 6001025d store 2 ,mem_l2cap_rxbuff1_len 
+25fd c0002a8c beq 0 ,assert 
+25fe 68091000 fetcht 2 ,mem_l2cap_rxbuff1 
+25ff 18408404 increase 4 ,temp 
+2600 98467c00 isub temp ,null 
+2601 2042a747 call l2cap_buff1_inuse ,zero 
+2602 2020260d branch process_dmh_cont 
+
+process_l2cap_pass_crc_buff2:
+2603 6801025f fetch 2 ,mem_l2cap_rxbuff2_len 
+2604 6809015f fetcht 2 ,mem_len 
+2605 9840fe00 iadd temp ,pdata 
+2606 6001025f store 2 ,mem_l2cap_rxbuff2_len 
+2607 c0002a8c beq 0 ,assert 
+2608 68091400 fetcht 2 ,mem_l2cap_rxbuff2 
+2609 18408404 add temp ,4 ,temp 
+260a 98467c00 isub temp ,null 
+260b 2042a74b call l2cap_buff2_inuse ,zero 
+260c 2020260d branch process_dmh_cont 
+
+process_dmh_cont:
+260d 44b0c00c bpatch patch0c_1 ,mem_patch0c 
+260e 6808804c fetcht 1 ,mem_state_map 
+260f 68008180 fetch 1 ,mem_lch_code 
+2610 2fe00603 compare 3 ,pdata ,0x03 
+2611 79208406 setflag true ,smap_rxlmp ,temp 
+2612 7d208407 nsetflag true ,smap_rxl2cap ,temp 
+2613 6008804c storet 1 ,mem_state_map 
+2614 2420a616 nbranch process_dmh_cont_rxbuf_not_use ,true 
+2615 79200001 set1 mark_rxbuf_inuse ,mark 
+
+process_dmh_cont_rxbuf_not_use:
+2616 c588a620 bmark0 mark_testmode ,ack_payload 
+2617 284ffe06 isolate1 smap_rxlmp ,temp 
+2618 2020a620 branch ack_payload ,true 
+2619 680100fa fetch 2 ,mem_tst_pktcnt_crc 
+261a 1fe0fe01 increase 1 ,pdata 
+261b 600100fa store 2 ,mem_tst_pktcnt_crc 
+261c 79200005 set1 mark_loopback ,mark 
+261d 793f8407 set0 smap_rxl2cap ,temp 
+261e 793f8001 set0 mark_rxbuf_inuse ,mark 
+261f 6008804c storet 1 ,mem_state_map 
+
+ack_payload:
+2620 44b1400c bpatch patch0c_2 ,mem_patch0c 
+2621 6808815e fetcht 1 ,mem_temp_arq 
+2622 68008047 fetch 1 ,mem_arq 
+2623 79207e05 set1 arqnx ,pdata 
+2624 284ffe02 isolate1 seqn ,temp 
+2625 7920fe02 setflag true ,seqn ,pdata 
+2626 280ffe0a isolate1 mark_am_addr_broadcast ,mark 
+2627 7920fe07 setflag true ,bcast1 ,pdata 
+2628 60008047 store 1 ,mem_arq 
+2629 6801015f fetch 2 ,mem_len 
+262a 243a264d nbranch end_of_packet ,blank 
+262b 6800804c fetch 1 ,mem_state_map 
+262c 793ffe07 set0 smap_rxl2cap ,pdata 
+262d 6000804c store 1 ,mem_state_map 
+262e 68008180 fetch 1 ,mem_lch_code 
+262f 2fe00e01 compare 0x01 ,pdata ,0x07 
+2630 2020264d branch end_of_packet 
+
+error_header:
+2631 44b1c00c bpatch patch0c_3 ,mem_patch0c 
+2632 7856fc00 disable match 
+2633 6801001a fetch 2 ,mem_rx_hec_err 
+2634 1fe0fe01 increase 1 ,pdata 
+2635 6001001a store 2 ,mem_rx_hec_err 
+2636 2020264d branch end_of_packet 
+
+error_payload_crc:
+2637 6801001c fetch 2 ,mem_rx_crc_err 
+2638 1fe0fe01 increase 1 ,pdata 
+2639 6001001c store 2 ,mem_rx_crc_err 
+263a 2040263e call discard_pkt 
+263b c588a63d bmark0 mark_testmode ,error_payload 
+263c 79200005 set1 mark_loopback ,mark 
+
+error_payload:
+263d 2020264d branch end_of_packet 
+
+discard_pkt:
+263e 44b2400c bpatch patch0c_4 ,mem_patch0c 
+263f 68008180 fetch 1 ,mem_lch_code 
+2640 2fe00603 compare 3 ,pdata ,0x03 
+2641 2420a646 nbranch discard_pkt_l2cap ,true 
+
+discard_pkt_lmp:
+2642 6808804c fetcht 1 ,mem_state_map 
+2643 793f8406 set0 smap_rxlmp ,temp 
+2644 6008804c storet 1 ,mem_state_map 
+2645 20600000 rtn 
+
+discard_pkt_l2cap:
+2646 6808804c fetcht 1 ,mem_state_map 
+2647 793f8407 set0 smap_rxl2cap ,temp 
+2648 6008804c storet 1 ,mem_state_map 
+2649 20204c0b branch h4_send_acl_trigger_clear 
+
+redundant_payload:
+264a 68008047 fetch 1 ,mem_arq 
+264b 79207e05 set1 arqnx ,pdata 
+264c 60008047 store 1 ,mem_arq 
+
+end_of_packet:
+264d 44b2c00c bpatch patch0c_5 ,mem_patch0c 
+264e 784efc00 disable encode_fec0 
+264f 784e7c00 disable encode_fec2 
+2650 7846fc00 disable decode_fec0 
+2651 78467c00 disable decode_fec2 
+2652 7844fc00 disable enable_crc 
+2653 78477c00 disable encrypt 
+2654 7843fc00 disable enable_white 
+2655 2030a8f9 branch shutdown_radio ,is_rx 
+2656 37d38200 until null ,tx_clear 
+2657 20000064 nop 100 
+2658 202028f9 branch shutdown_radio 
+
+process_fhs:
+2659 44b3400c bpatch patch0c_6 ,mem_patch0c 
+265a 7824fc00 enable enable_crc 
+265b 78267c00 enable decode_fec2 
+265c 09800048 parse demod ,bucket ,72 
+265d 2feffe3a isolate1 58 ,pdata 
+265e 79208000 setflag true ,mark_fhs_eir ,mark 
+265f 1c020400 copy bt_adr ,temp 
+2660 57e04000 ialigned bt_adr 
+2661 57e03c00 ialigned fhs0 
+2662 782afc00 pulse recalc 
+2663 380bffff setsect 2 ,0xfffff 
+2664 380cffff setsect 3 ,0x0ffff 
+2665 20000020 nop 32 
+2666 29a80000 iverify fhs_parity 
+2667 1d827e00 deposit lap 
+2668 60018178 store 3 ,extm_lap 
+2669 1da27e00 deposit uap 
+266a 6000817b store 1 ,extm_uap 
+266b 18424000 copy temp ,bt_adr 
+266c 2020a66e branch fhs_parity_ok ,true 
+266d 2020263d branch error_payload 
+
+fhs_parity_ok:
+266e 44b3c00c bpatch patch0c_7 ,mem_patch0c 
+266f 09800048 parse demod ,bucket ,72 
+2670 57e03e00 ialigned fhs1 
+2671 57e00800 ialigned am_addr 
+2672 57e05c00 ialigned nap 
+2673 57e02400 ialigned regb 
+2674 18007e00 force 0 ,pdata 
+2675 09800010 parse demod ,bucket ,16 
+2676 2023263d branch error_payload ,crc_failed 
+2677 5ffffffc setarg 0x0ffffffc 
+2678 9a417e00 iand regb ,pdata 
+2679 60020165 store 4 ,mem_clke_bt 
+267a 1ba27e00 deposit fhs_class 
+267b 60018175 store 3 ,extm_class 
+267c 1b827e00 deposit fhs_misc 
+267d 60008173 store 1 ,extm_fhs_misc 
+267e 18827e00 deposit am_addr 
+267f 60008174 store 1 ,extm_newconn_am_addr 
+2680 1dc27e00 deposit nap 
+2681 6001017c store 2 ,extm_nap 
+2682 1c227e00 deposit bt_clk 
+2683 08008220 inject rxf ,32 
+2684 28201e02 compare type_fhs ,type ,0x0f 
+2685 7920800b setflag true ,mark_fhs_already_good ,mark 
+2686 2020264d branch end_of_packet 
+
+clear_got_tx:
+2687 44b4400d bpatch patch0d_0 ,mem_patch0d 
+2688 68008047 fetch 1 ,mem_arq 
+2689 c4018000 rtnbit0 wack 
+268a 793ffe03 set0 wack ,pdata 
+268b 79407e06 setflip seqnx ,pdata 
+268c 60008047 store 1 ,mem_arq 
+268d 6800c0c5 fetch 1 ,mem_last_type 
+268e c009a69c beq type_lmp ,clear_got_txlmp 
+268f c1038000 rtneq type_hv3 
+2690 6800804b fetch 1 ,mem_op 
+2691 c4030000 rtnbit0 op_txl2cap ,pdata 
+2692 793ffe06 set0 op_txl2cap ,pdata 
+2693 79207e07 set1 op_pkt_comp ,pdata 
+2694 6000804b store 1 ,mem_op 
+2695 793f8002 set0 mark_tx_l2cap ,mark 
+2696 68014246 fetch 2 ,mem_l2cap_tx_multi_offset 
+2697 247a0000 nrtn blank 
+2698 6800804b fetch 1 ,mem_op 
+2699 793ffe07 set0 op_pkt_comp ,pdata 
+269a 6000804b store 1 ,mem_op 
+269b 2020525d branch l2cap_malloc_free 
+
+clear_got_txlmp:
+269c 44b4c00d bpatch patch0d_1 ,mem_patch0d 
+269d 680084b7 fetch 1 ,mem_lmo_header_opcode 
+269e 1fe37e00 rshift pdata ,pdata 
+269f c008a6b8 beq lmp_start_encryption_req ,start_encryption 
+26a0 c00926c0 beq lmp_stop_encryption_req ,stop_encryption 
+26a1 c00c26e9 beq lmp_unsniff_req ,sniff_exit 
+26a2 c03fa6a8 beq lmp_escape ,clear_lmp_escape 
+26a3 c1818000 rtnne lmp_accepted 
+26a4 680084b8 fetch 1 ,mem_lmo_payload 
+26a5 c015a6b0 beq lmp_sco_link_req ,sco_link_req_by_slave 
+26a6 c008a6ab beq lmp_start_encryption_req ,clear_send_setup_complete 
+26a7 20600000 rtn 
+
+clear_lmp_escape:
+26a8 680084b8 fetch 1 ,mem_lmo_payload 
+26a9 79207e07 set1 7 ,pdata 
+26aa 20600000 rtn 
+
+clear_send_setup_complete:
+26ab 20748000 rtn master 
+26ac 68008030 fetch 1 ,mem_state 
+26ad c3820000 rtnbit1 state_conn_comp 
+26ae 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+26af 20600000 rtn 
+
+sco_link_req_by_slave:
+26b0 20748000 rtn master 
+26b1 68008031 fetch 1 ,mem_mode 
+26b2 2feffe04 isolate1 send_sco_when_slave ,pdata 
+26b3 2020a6b5 branch clean_mem_mode ,true 
+26b4 20600000 rtn 
+
+clean_mem_mode:
+26b5 793ffe04 set0 send_sco_when_slave ,pdata 
+26b6 60008031 store 1 ,mem_mode 
+26b7 20600000 rtn 
+
+start_encryption:
+26b8 44b5400d bpatch patch0d_2 ,mem_patch0d 
+26b9 6800804c fetch 1 ,mem_state_map 
+26ba 79207e02 set1 smap_encryption ,pdata 
+26bb 6000804c store 1 ,mem_state_map 
+26bc 70801101 jam 1 ,core_encrypt 
+26bd 68008030 fetch 1 ,mem_state 
+26be 2feffe04 isolate1 state_conn_comp ,pdata 
+26bf 20600000 rtn 
+
+stop_encryption:
+26c0 44b5c00d bpatch patch0d_3 ,mem_patch0d 
+26c1 6800804c fetch 1 ,mem_state_map 
+26c2 793ffe02 set0 smap_encryption ,pdata 
+26c3 6000804c store 1 ,mem_state_map 
+26c4 70801100 jam 0 ,core_encrypt 
+26c5 20600000 rtn 
+
+sniff_init:
+26c6 44b6400d bpatch patch0d_4 ,mem_patch0d 
+26c7 1c427e00 copy clkn_bt ,pdata 
+26c8 6002420c store 4 ,mem_lpm_delay_after_sniff 
+26c9 1c40a203 add clkn_bt ,3 ,rega 
+26ca 2034a6cc branch sniff_init_master ,master 
+26cb 1d00a203 add clke_bt ,3 ,rega 
+
+sniff_init_master:
+26cc 68090032 fetcht 2 ,mem_tsniff 
+26cd 1a227e00 deposit rega 
+26ce 793ffe1b set0 27 ,pdata 
+26cf 9846fc00 idiv temp 
+26d0 68010075 fetch 2 ,mem_dsniff 
+26d1 20407f86 call wait_div_end 
+26d2 18072600 remainder regc 
+26d3 9a667e00 isub regc ,pdata 
+26d4 202126d6 branch sniff_init_nowrap ,positive 
+26d5 9840fe00 iadd temp ,pdata 
+
+sniff_init_nowrap:
+26d6 9a20fe00 iadd rega ,pdata 
+26d7 60020034 store 4 ,mem_sniff_anchor 
+26d8 70455b00 jam switch_flag_init ,mem_switch_flag 
+26d9 68008030 fetch 1 ,mem_state 
+26da 79207e01 set1 state_insniff ,pdata 
+26db 60008030 store 1 ,mem_state 
+26dc 68008073 fetch 1 ,mem_sniff_attempt 
+26dd 6000808a store 1 ,mem_current_sniff_attempt 
+26de 58000000 setarg 0 
+26df 6001c169 store 3 ,mem_sniff_rcv 
+26e0 6001c16c store 3 ,mem_sniff_lost 
+26e1 6000c159 store 1 ,mem_sniff_unint_lost 
+26e2 700a990b jam bt_evt_enter_sniff ,mem_fifo_temp 
+26e3 20407d86 call ui_ipc_send_event 
+26e4 680140c1 fetch 2 ,mem_rx_window_sniff 
+26e5 6001003e store 2 ,mem_rx_window 
+26e6 24748000 nrtn master 
+26e7 18808fff add am_addr ,-1 ,queue 
+26e8 20600000 rtn 
+
+sniff_exit:
+26e9 44b6c00d bpatch patch0d_5 ,mem_patch0d 
+26ea 68008030 fetch 1 ,mem_state 
+26eb c4008000 rtnbit0 state_insniff 
+26ec 793ffe01 set0 state_insniff ,pdata 
+26ed 60008030 store 1 ,mem_state 
+26ee 680140bf fetch 2 ,mem_rx_window_init 
+26ef 6001003e store 2 ,mem_rx_window 
+26f0 7855fc00 disable wake 
+26f1 700a990c jam bt_evt_exit_sniff ,mem_fifo_temp 
+26f2 20207d86 branch ui_ipc_send_event 
+
+check_attempt:
+26f3 44b7400d bpatch patch0d_6 ,mem_patch0d 
+26f4 78377c00 enable attempt 
+26f5 68008030 fetch 1 ,mem_state 
+26f6 c280a700 bbit1 state_insniff ,check_attempt_sniff 
+26f7 c6088000 rtnmark1 mark_testmode 
+26f8 68008047 fetch 1 ,mem_arq 
+26f9 c3818000 rtnbit1 wack 
+26fa 68008048 fetch 1 ,mem_lmp_to_send 
+26fb 247a0000 nrtn blank 
+26fc 6800804b fetch 1 ,mem_op 
+26fd c3830000 rtnbit1 op_txl2cap 
+
+check_attempt_nomore:
+26fe 18007e00 force 0 ,pdata 
+26ff 20600000 rtn 
+
+check_attempt_sniff:
+2700 c301270f bbit0 state_insco ,check_attempt_not_sco 
+2701 6800808a fetch 1 ,mem_current_sniff_attempt 
+2702 c0012706 beq 2 ,check_attempt_sniff_restore_sco 
+2703 68008047 fetch 1 ,mem_arq 
+2704 c281a718 bbit1 wack ,check_attempt_notimeout 
+2705 c5842718 bmark0 mark_esco_rxok ,check_attempt_notimeout 
+
+check_attempt_sniff_restore_sco:
+2706 2434a718 nbranch check_attempt_notimeout ,master 
+2707 68008048 fetch 1 ,mem_lmp_to_send 
+2708 243a2718 nbranch check_attempt_notimeout ,blank 
+
+check_attempt_sco_master:
+2709 680080ef fetch 1 ,mem_sco_poll 
+270a 1fe0ffff increase -1 ,pdata 
+270b 600080ef store 1 ,mem_sco_poll 
+270c 243a26fe nbranch check_attempt_nomore ,blank 
+270d 7000ef10 jam param_sco_poll ,mem_sco_poll 
+270e 20202718 branch check_attempt_notimeout 
+
+check_attempt_not_sco:
+270f 6800808a fetch 1 ,mem_current_sniff_attempt 
+2710 c080a718 bne 1 ,check_attempt_notimeout 
+2711 6800808b fetch 1 ,mem_current_sniff_timeout 
+2712 203a2718 branch check_attempt_notimeout ,blank 
+2713 1fe0ffff increase -1 ,pdata 
+2714 6000808b store 1 ,mem_current_sniff_timeout 
+2715 68008047 fetch 1 ,mem_arq 
+2716 c3818000 rtnbit1 wack 
+2717 24768000 nrtn match 
+
+check_attempt_notimeout:
+2718 6800808a fetch 1 ,mem_current_sniff_attempt 
+2719 1fe0ffff increase -1 ,pdata 
+271a 6000808a store 1 ,mem_current_sniff_attempt 
+271b 20600000 rtn 
+
+sniff_check_window:
+271c 44b7c00d bpatch patch0d_7 ,mem_patch0d 
+271d 78487c00 disable swfine 
+271e 18423600 copy temp ,stop_watch 
+271f 20402260 call context_search_sniff_window 
+2720 78547c00 disable user 
+2721 24628000 nrtn zero 
+2722 18003600 force 0 ,stop_watch 
+2723 78347c00 enable user 
+2724 20600000 rtn 
+
+check_esco_amaddr:
+2725 6800c158 fetch 1 ,mem_esco_addr 
+2726 a881fe00 icompare 0xff ,am_addr 
+2727 20600000 rtn 
+
+parse_l2cap:
+2728 44b8400e bpatch patch0e_0 ,mem_patch0e 
+2729 793f8001 set0 mark_rxbuf_inuse ,mark 
+
+parse_l2cap_cont:
+272a 70026a00 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+272b 68008263 fetch 1 ,mem_l2cap_rxbuff_inuse 
+272c 207a0000 rtn blank 
+272d 2feffe00 isolate1 l2cap_inuse_buff1 ,pdata 
+272e d8c01000 arg mem_l2cap_rxbuff1 ,contr 
+272f 2040cd79 call process_rx_l2cap_pkt ,true 
+2730 44b8c00e bpatch patch0e_1 ,mem_patch0e 
+2731 6800826a fetch 1 ,mem_l2cap_rx_done 
+2732 c000a73b beq l2cap_rx_done ,parse_l2cap_release_buff1 
+2733 70026a00 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+2734 68008263 fetch 1 ,mem_l2cap_rxbuff_inuse 
+2735 c4008000 rtnbit0 l2cap_inuse_buff2 
+2736 d8c01400 arg mem_l2cap_rxbuff2 ,contr 
+2737 20404d79 call process_rx_l2cap_pkt 
+2738 6800826a fetch 1 ,mem_l2cap_rx_done 
+2739 c000a741 beq l2cap_rx_done ,parse_l2cap_release_buff2 
+273a 20600000 rtn 
+
+parse_l2cap_release_buff1:
+273b 68008263 fetch 1 ,mem_l2cap_rxbuff_inuse 
+273c 793ffe00 set0 l2cap_inuse_buff1 ,pdata 
+273d 60008263 store 1 ,mem_l2cap_rxbuff_inuse 
+273e 58000000 setarg 0 
+273f 6001025d store 2 ,mem_l2cap_rxbuff1_len 
+2740 20600000 rtn 
+
+parse_l2cap_release_buff2:
+2741 68008263 fetch 1 ,mem_l2cap_rxbuff_inuse 
+2742 793ffe01 set0 l2cap_inuse_buff2 ,pdata 
+2743 60008263 store 1 ,mem_l2cap_rxbuff_inuse 
+2744 58000000 setarg 0 
+2745 6001025f store 2 ,mem_l2cap_rxbuff2_len 
+2746 20600000 rtn 
+
+l2cap_buff1_inuse:
+2747 68008263 fetch 1 ,mem_l2cap_rxbuff_inuse 
+2748 79207e00 set1 l2cap_inuse_buff1 ,pdata 
+2749 60008263 store 1 ,mem_l2cap_rxbuff_inuse 
+274a 20600000 rtn 
+
+l2cap_buff2_inuse:
+274b 68008263 fetch 1 ,mem_l2cap_rxbuff_inuse 
+274c 79207e01 set1 l2cap_inuse_buff2 ,pdata 
+274d 60008263 store 1 ,mem_l2cap_rxbuff_inuse 
+274e 20600000 rtn 
+
+slave_send_access:
+274f 44b9400e bpatch patch0e_2 ,mem_patch0e 
+2750 1d00c201 add clke_bt ,1 ,bt_clk 
+2751 204028ea call fetch_extm_bt_adr 
+2752 18004803 force 0x03 ,freq_mode 
+2753 204028d2 call tx_radio_freq 
+2754 20402a51 call start_transmitter 
+2755 20402a5f call start_tx_external 
+2756 20202a64 branch send_access_word 
+
+slave_conn_send_packet:
+2757 44b9c00e bpatch patch0e_3 ,mem_patch0e 
+2758 20402a4d call rf_setup_time_slave_slot 
+2759 1d027e00 deposit clke_bt 
+275a 680a40ca fetcht 4 ,mem_next_btclk 
+275b 98467e00 isub temp ,pdata 
+275c c1808000 rtnne 1 
+275d 28203e00 compare type_null ,type ,0x1f 
+275e 2420a761 nbranch slave_conn_send_access ,true 
+275f 68008019 fetch 1 ,mem_rx_type 
+2760 207a0000 rtn blank 
+
+slave_conn_send_access:
+2761 2040274f call slave_send_access 
+
+transmit_packet:
+2762 28203e10 compare type_id ,type ,0x1f 
+2763 2020a64d branch end_of_packet ,true 
+2764 1c230400 rshift bt_clk ,temp 
+2765 18419c40 or temp ,0x40 ,white_init 
+
+transmit_packet_whitened:
+2766 44ba400e bpatch patch0e_4 ,mem_patch0e 
+2767 7823fc00 enable enable_white 
+2768 78257c00 enable enable_hec 
+2769 782dfc00 enable encode_fec1 
+276a 793f8010 set0 mark_longpacket ,mark 
+276b 18827e00 deposit am_addr 
+276c 08008603 inject mod ,3 
+276d 18227e00 deposit type 
+276e 08008604 inject mod ,4 
+276f 68008047 fetch 1 ,mem_arq 
+2770 08008004 inject bucket ,4 
+2771 08008603 inject mod ,3 
+2772 78247c00 enable enable_parity 
+2773 08008608 inject mod ,8 
+2774 784dfc00 disable encode_fec1 
+2775 78447c00 disable enable_parity 
+2776 78457c00 disable enable_hec 
+2777 793faa02 set0 psk3m ,radio_ctrl 
+2778 d8400000 arg 0 ,temp 
+2779 20402a1c call reserve_slot 
+277a 44bac00e bpatch patch0e_5 ,mem_patch0e 
+277b 18217e1f and type ,0x1f ,pdata 
+277c c009a7b4 beq type_lmp ,transmit_lmp 
+277d c000264d beq type_null ,end_of_packet 
+277e c000a64d beq type_poll ,end_of_packet 
+277f c0012797 beq type_fhs ,transmit_fhs 
+2780 c001a7c5 beq type_dm1 ,transmit_dm1 
+2781 c00227cb beq type_dh1 ,transmit_dh1 
+2782 c003a78c beq type_hv3 ,transmit_hev 
+2783 c00427ca beq type_3dh1 ,transmit_3dh1 
+2784 d8400004 arg 4 ,temp 
+2785 20402a1c call reserve_slot 
+2786 c00527c7 beq type_dm3 ,transmit_dm3 
+2787 c005a7cd beq type_dh3 ,transmit_dh3 
+2788 d8400008 arg 8 ,temp 
+2789 20402a1c call reserve_slot 
+278a c007a7cd beq type_dh5 ,transmit_dh5 
+278b 202027c7 branch transmit_dm5 
+
+transmit_hev:
+278c 44bb400e bpatch patch0e_6 ,mem_patch0e 
+278d 782efc00 enable encode_fec0 
+278e 7824fc00 enable enable_crc 
+278f 78277c00 enable encrypt 
+2790 1800721e force 30 ,loopcnt 
+2791 d8c000b3 arg mem_sco_obuf ,contr 
+
+transmit_ev_loop:
+2792 e8c08000 ifetch 1 ,contr 
+2793 08008608 inject mod ,8 
+2794 c2002792 loop transmit_ev_loop 
+2795 c503a7f7 bmark1 mark_esco ,transmit_end 
+2796 2020264d branch end_of_packet 
+
+transmit_fhs:
+2797 44bbc00e bpatch patch0e_7 ,mem_patch0e 
+2798 68008181 fetch 1 ,mem_fhs_am_addr 
+2799 1fe20800 icopy am_addr 
+279a 68008090 fetch 1 ,mem_fhs_misc 
+279b 1fe23800 icopy fhs_misc 
+279c 6801c0aa fetch 3 ,mem_class 
+279d 1fe23a00 icopy fhs_class 
+279e 680140a4 fetch 2 ,mem_nap 
+279f 1fe25c00 icopy nap 
+27a0 7824fc00 enable enable_crc 
+27a1 782e7c00 enable encode_fec2 
+27a2 1c022200 copy bt_adr ,rega 
+27a3 204028e2 call fetch_self_bt_adr 
+27a4 782afc00 pulse recalc 
+27a5 20000020 nop 32 
+27a6 1c221600 copy bt_clk ,timeup 
+27a7 68020161 fetch 4 ,mem_clkn_bt 
+27a8 1fe24200 icopy bt_clk 
+27a9 53c07e00 preload fhs0 
+27aa 79207e3a set1 58 ,pdata 
+27ab 08008648 inject mod ,72 
+27ac 53e07e00 preload fhs1 
+27ad 08008648 inject mod ,72 
+27ae 19624200 copy timeup ,bt_clk 
+27af 1a224000 copy rega ,bt_adr 
+27b0 78247c00 enable enable_parity 
+27b1 08008610 inject mod ,16 
+27b2 78447c00 disable enable_parity 
+27b3 2020264d branch end_of_packet 
+
+transmit_lmp:
+27b4 44bc400f bpatch patch0f_0 ,mem_patch0f 
+27b5 78277c00 enable encrypt 
+27b6 7824fc00 enable enable_crc 
+27b7 782e7c00 enable encode_fec2 
+27b8 680084b6 fetch 1 ,mem_lmo_header_length 
+27b9 1fe105f8 and pdata ,0x1f8 ,temp 
+27ba d8c004b6 arg mem_lmo_header_length ,contr 
+27bb 18408408 increase 8 ,temp 
+
+transmit_lmp_loop:
+27bc 1840a7b8 add temp ,-72 ,regc 
+27bd 242127c2 nbranch transmit_lmp_finish ,positive 
+27be e8c48000 ifetch 9 ,contr 
+27bf 08008648 inject mod ,72 
+27c0 1a620400 copy regc ,temp 
+27c1 202027bc branch transmit_lmp_loop 
+
+transmit_lmp_finish:
+27c2 e8c48000 ifetch 9 ,contr 
+27c3 08418600 iinject mod ,temp 
+27c4 202027f7 branch transmit_end 
+
+transmit_dm1:
+27c5 782e7c00 enable encode_fec2 
+27c6 202027d0 branch transmit_dmh 
+
+transmit_dm3:
+
+transmit_dm5:
+27c7 782e7c00 enable encode_fec2 
+27c8 79200010 set1 mark_longpacket ,mark 
+27c9 202027d0 branch transmit_dmh 
+
+transmit_3dh1:
+27ca 79202a02 set1 psk3m ,radio_ctrl 
+
+transmit_dh1:
+27cb 782efc00 enable encode_fec0 
+27cc 202027d0 branch transmit_dmh 
+
+transmit_dh3:
+
+transmit_dh5:
+27cd 79202a02 set1 psk3m ,radio_ctrl 
+27ce 782efc00 enable encode_fec0 
+27cf 79200010 set1 mark_longpacket ,mark 
+
+transmit_dmh:
+27d0 44bcc00f bpatch patch0f_1 ,mem_patch0f 
+27d1 6800804c fetch 1 ,mem_state_map 
+27d2 c302a7e5 bbit0 smap_edr ,transmit_noedr 
+27d3 18267c03 sub type ,3 ,null 
+27d4 202127e5 branch transmit_noedr ,positive 
+27d5 78477c00 disable encrypt 
+27d6 784e7c00 disable encode_fec2 
+27d7 782efc00 enable encode_fec0 
+27d8 7843fc00 disable enable_white 
+27d9 79202a01 set1 psk ,radio_ctrl 
+27da 2aaffe02 isolate1 psk3m ,radio_ctrl 
+27db 2020a7df branch transmit_edr3m ,true 
+27dc 580abeee setarg 0xabeee 
+27dd 08008614 inject mod ,20 
+27de 202027e3 branch transmit_edr_sync_end 
+
+transmit_edr3m:
+27df 585faeba setarg 0x5faeba 
+27e0 08008618 inject mod ,24 
+27e1 58000012 setarg 0x12 
+27e2 08008606 inject mod ,6 
+
+transmit_edr_sync_end:
+27e3 7823fc00 enable enable_white 
+27e4 79200010 set1 mark_longpacket ,mark 
+
+transmit_noedr:
+27e5 78277c00 enable encrypt 
+27e6 7824fc00 enable enable_crc 
+27e7 c502a800 bmark1 mark_loopback ,transmit_loopback 
+27e8 6800c1db fetch 1 ,mem_tx_lch 
+27e9 08008603 inject mod ,3 
+27ea 680141dc fetch 2 ,mem_tx_len 
+27eb 98007200 iforce loopcnt 
+27ec c50827ef bmark1 mark_longpacket ,transmit_long 
+27ed 08008605 inject mod ,5 
+27ee 202027f0 branch transmit_stuff 
+
+transmit_long:
+27ef 0800860d inject mod ,13 
+
+transmit_stuff:
+27f0 1f227e00 deposit loopcnt 
+27f1 203a27f7 branch transmit_end ,blank 
+27f2 6801016f fetch 2 ,mem_txptr 
+27f3 98000c00 iforce contr 
+
+transmit_stuff_loop:
+27f4 e8c08000 ifetch 1 ,contr 
+27f5 08008608 inject mod ,8 
+27f6 c20027f4 loop transmit_stuff_loop 
+
+transmit_end:
+27f7 78247c00 enable enable_parity 
+27f8 08008610 inject mod ,16 
+27f9 78447c00 disable enable_parity 
+27fa 204024c1 call set_wait_ack 
+27fb 6800804c fetch 1 ,mem_state_map 
+27fc c302a64d bbit0 smap_edr ,end_of_packet 
+27fd 18007e00 force 0 ,pdata 
+27fe 08008606 inject mod ,6 
+27ff 2020264d branch end_of_packet 
+
+transmit_loopback:
+2800 44bd400f bpatch patch0f_2 ,mem_patch0f 
+2801 c5082808 bmark1 mark_longpacket ,transmit_loopback_long 
+
+transmit_loopback_short:
+2802 68008180 fetch 1 ,mem_lch_code 
+2803 08008603 inject mod ,3 
+2804 6800815f fetch 1 ,mem_len 
+2805 98002600 iforce regc 
+2806 08008605 inject mod ,5 
+2807 2020280d branch transmit_loopback_cont 
+
+transmit_loopback_long:
+2808 68008180 fetch 1 ,mem_lch_code 
+2809 08008603 inject mod ,3 
+280a 6801015f fetch 2 ,mem_len 
+280b 98002600 iforce regc 
+280c 0800860d inject mod ,13 
+
+transmit_loopback_cont:
+280d d8c00551 arg mem_rxbuf ,contr 
+
+transmit_loopback_loop:
+280e 1a627c00 copy regc ,null 
+280f 2022a814 branch transmit_loopback_end ,zero 
+2810 e8c08000 ifetch 1 ,contr 
+2811 08008608 inject mod ,8 
+2812 1a60a7ff increase -1 ,regc 
+2813 2020280e branch transmit_loopback_loop 
+
+transmit_loopback_end:
+2814 680100fc fetch 2 ,mem_tst_pktcnt_dmh 
+2815 1fe0fe01 increase 1 ,pdata 
+2816 600100fc store 2 ,mem_tst_pktcnt_dmh 
+2817 202027f7 branch transmit_end 
+
+apply_switch_clke:
+2818 68020165 fetch 4 ,mem_clke_bt 
+2819 1fe0a207 add pdata ,7 ,rega 
+281a 68010171 fetch 2 ,mem_slot_offset 
+281b 243a281e nbranch apply_switch_nozero ,blank 
+281c 1a20a3fd increase -3 ,rega 
+281d 20202826 branch apply_switch_wait_loop 
+
+apply_switch_nozero:
+281e 1feffe0c mul32 pdata ,12 ,pdata 
+281f 68190040 hfetcht 2 ,core_halfslot 
+2820 18408401 increase 1 ,temp 
+
+apply_switch_loop:
+2821 98467e00 isub temp ,pdata 
+2822 24212825 nbranch apply_switch_bt ,positive 
+2823 1a20a3ff increase -1 ,rega 
+2824 20202821 branch apply_switch_loop 
+
+apply_switch_bt:
+2825 1fe67e00 sub pdata ,0 ,pdata 
+
+apply_switch_wait_loop:
+2826 37d18200 until null ,oneslot 
+2827 2c400600 compare 0 ,clkn_bt ,3 
+2828 2420a826 nbranch apply_switch_wait_loop ,true 
+2829 98005200 iforce clke_rt 
+282a 1a225000 copy rega ,clke_bt 
+282b 98005200 iforce clke_rt 
+282c 20600000 rtn 
+
+calc_slot_offset:
+282d 44bdc00f bpatch patch0f_3 ,mem_patch0f 
+282e 37d10200 until null ,halfslot 
+282f 1b427e00 deposit clke 
+2830 98000c00 iforce contr 
+2831 1ff17e00 rshift16 ,pdata ,pdata 
+2832 9c467200 isub clkn_bt ,loopcnt 
+2833 1f217203 and_into 3 ,loopcnt 
+2834 2422a837 nbranch calc_bt_portion ,zero 
+2835 18007e00 force 0 ,pdata 
+2836 2020283b branch calc_skip_bt 
+
+calc_bt_portion:
+2837 d8400ea6 arg 3750 ,temp 
+2838 18007e00 force 0 ,pdata 
+
+calc_slot_offset_loop:
+2839 9840fe00 iadd temp ,pdata 
+283a c2002839 loop calc_slot_offset_loop 
+
+calc_skip_bt:
+283b 98c0fe00 iadd contr ,pdata 
+283c 1fe6fc0c div pdata ,12 
+283d 20407f86 call wait_div_end 
+283e 1807fe00 quotient pdata 
+283f 60010171 store 2 ,mem_slot_offset 
+2840 20600000 rtn 
+
+calc_clke_offset:
+2841 44be400f bpatch patch0f_4 ,mem_patch0f 
+2842 1b427e00 deposit clke 
+2843 1b220400 copy clkn ,temp 
+2844 98467c00 isub temp ,null 
+2845 7d217e2c nsetflag positive ,44 ,pdata 
+2846 98460400 isub temp ,temp 
+2847 58000ea6 setarg 3750 
+2848 284c000f isolate0 15 ,temp 
+2849 2020a84c branch calc_clke_pos ,true 
+284a 5fff0ea6 setarg -61786 
+284b 98408400 iadd temp ,temp 
+
+calc_clke_pos:
+284c 600b0447 storet 6 ,mem_le_clk_offset 
+284d 207b0000 rtn le 
+284e 600b0038 storet 6 ,mem_clk_offset 
+284f 20600000 rtn 
+
+calc_clke:
+2850 78587c00 disable clknt 
+2851 68030447 fetch 6 ,mem_le_clk_offset 
+2852 203b2854 branch calc_clke2 ,le 
+2853 68030038 fetch 6 ,mem_clk_offset 
+
+calc_clke2:
+2854 9b20e000 iadd clkn ,alarm 
+2855 1e00e00a increase 10 ,alarm 
+2856 58000ea6 setarg 3750 
+2857 9e067e00 isub alarm ,pdata 
+2858 2fec000f isolate0 15 ,pdata 
+2859 2020a85e branch calc_clke_pos_adj ,true 
+285a 5800f15a setarg 0xf15a 
+285b 9e00e000 iadd alarm ,alarm 
+
+calc_clke_pos2:
+285c 1e023400 copy alarm ,clke 
+285d 20600000 rtn 
+
+calc_clke_pos_adj:
+285e 18007c00 force 0 ,null 
+285f 2020285c branch calc_clke_pos2 
+
+calc_radio_freq:
+2860 44bec00f bpatch patch0f_5 ,mem_patch0f 
+2861 20402918 call set_sync_on 
+2862 1c227e00 copy bt_clk ,pdata 
+2863 1fe17f80 and_into 0x180 ,pdata 
+2864 2c800e03 compare 3 ,freq_mode ,0x07 
+2865 2420a869 nbranch freq_not_connection ,true 
+2866 1fe97e00 rshift3 pdata ,pdata 
+2867 9ae0fe00 iadd freq_index ,pdata 
+2868 2020286a branch do_hop_mod_now 
+
+freq_not_connection:
+2869 1ae27e00 copy freq_index ,pdata 
+
+do_hop_mod_now:
+286a 1fe6fc4f div pdata ,79 
+286b 782afc00 pulse recalc 
+286c 20407f86 call wait_div_end 
+286d 18072200 remainder rega 
+286e 1a2085d8 add rega ,-40 ,temp 
+286f 20212872 branch odd_half ,positive 
+2870 1a238400 lshift rega ,temp 
+2871 20202874 branch freq_result 
+
+odd_half:
+2872 18438400 lshift temp ,temp 
+2873 18408401 increase 1 ,temp 
+
+freq_result:
+2874 44bf400f bpatch patch0f_6 ,mem_patch0f 
+2875 68008031 fetch 1 ,mem_mode 
+2876 c301a885 bbit0 afh_change ,afh_process_con 
+
+afh_process_0:
+2877 680240d2 fetch 4 ,mem_afh_instant 
+2878 9c267c00 isub bt_clk ,null 
+2879 20212885 branch afh_process_con ,positive 
+287a 204028a4 call afh_clear 
+287b 6800c0d9 fetch 1 ,mem_afh_new_mod 
+287c 207a0000 rtn blank 
+287d 68008031 fetch 1 ,mem_mode 
+287e 79207e02 set1 afh_enable ,pdata 
+287f 60008031 store 1 ,mem_mode 
+2880 6802c0e7 fetch 5 ,mem_afh_map_new 
+2881 6002c0da store 5 ,mem_afh_map_lo 
+2882 e8c28000 ifetch 5 ,contr 
+2883 6002c0df store 5 ,mem_afh_map_hi 
+2884 204028a9 call afh_process_freq_map 
+
+afh_process_con:
+2885 68008031 fetch 1 ,mem_mode 
+2886 c4010000 rtnbit0 afh_enable 
+2887 2c2ffe01 isolate1 1 ,bt_clk 
+2888 2020a8a1 branch afh_same_channel ,true 
+2889 18492200 rshift3 temp ,rega 
+288a 18410e07 and temp ,7 ,queue 
+288b 580040da setarg mem_afh_map_lo 
+288c 9a20a200 iadd rega ,rega 
+288d ea208000 ifetch 1 ,rega 
+288e afec0000 qisolate0 pdata 
+288f 2020a892 branch afh_process_1 ,true 
+2890 18427e00 deposit temp 
+2891 2020289e branch afh_process_end 
+
+afh_process_1:
+2892 6800c0e4 fetch 1 ,mem_afh_used 
+2893 98002400 iforce regb 
+2894 1c227e00 deposit bt_clk 
+2895 1fe17f80 and_into 0x180 ,pdata 
+2896 1fe97e00 rshift3 pdata ,pdata 
+2897 9ae0fe00 iadd freq_index ,pdata 
+2898 9a46fc00 idiv regb 
+2899 580040f2 setarg mem_afh_map 
+289a 20407f86 call wait_div_end 
+289b 18072200 remainder rega 
+289c 9a208c00 iadd rega ,contr 
+289d e8c08000 ifetch 1 ,contr 
+
+afh_process_end:
+289e 6000c0e5 store 1 ,mem_afh_index 
+289f 98000400 iforce temp 
+28a0 20600000 rtn 
+
+afh_same_channel:
+28a1 6800c0e5 fetch 1 ,mem_afh_index 
+28a2 98000400 iforce temp 
+28a3 20600000 rtn 
+
+afh_clear:
+28a4 68008031 fetch 1 ,mem_mode 
+28a5 793ffe02 set0 afh_enable ,pdata 
+28a6 793ffe03 set0 afh_change ,pdata 
+28a7 60008031 store 1 ,mem_mode 
+28a8 20600000 rtn 
+
+afh_process_freq_map:
+28a9 44bfc00f bpatch patch0f_7 ,mem_patch0f 
+28aa d8a040f2 arg mem_afh_map ,contw 
+28ab 1800720a force 10 ,loopcnt 
+28ac 20407ec6 call memset0 
+28ad d8a040f2 arg mem_afh_map ,contw 
+28ae 18002600 force 0 ,regc 
+28af 18000e02 force 2 ,queue 
+
+process_freq_3:
+28b0 6802c0da fetch 5 ,mem_afh_map_lo 
+28b1 98000400 iforce temp 
+28b2 28e1fe02 compare 2 ,queue ,0xff 
+28b3 2020a8b5 branch process_freq_1 ,true 
+28b4 18430400 rshift temp ,temp 
+
+process_freq_1:
+28b5 284c0000 isolate0 0 ,temp 
+28b6 2020a8b9 branch process_freq_0 ,true 
+28b7 1a627e00 deposit regc 
+28b8 e0a08000 istore 1 ,contw 
+
+process_freq_0:
+28b9 184b0400 rshift2 temp ,temp 
+28ba 1a60a602 increase 2 ,regc 
+28bb 2a61fc28 compare 40 ,regc ,0xfe 
+28bc 2420a8c2 nbranch process_freq_2 ,true 
+28bd 6802c0df fetch 5 ,mem_afh_map_hi 
+28be 98000400 iforce temp 
+28bf 28e1fe02 compare 2 ,queue ,0xff 
+28c0 2020a8c2 branch process_freq_2 ,true 
+28c1 18430400 rshift temp ,temp 
+
+process_freq_2:
+28c2 1a667c4e sub regc ,78 ,null 
+28c3 202128b5 branch process_freq_1 ,positive 
+28c4 18002601 force 1 ,regc 
+28c5 18e08fff increase -1 ,queue 
+28c6 2422a8b0 nbranch process_freq_3 ,zero 
+28c7 da2040f2 arg mem_afh_map ,rega 
+28c8 18a27e00 deposit contw 
+28c9 9a267e00 isub rega ,pdata 
+28ca 6000c0e4 store 1 ,mem_afh_used 
+28cb 20600000 rtn 
+
+rx_radio_freq:
+28cc 44c04010 bpatch patch10_0 ,mem_patch10 
+28cd 20402860 call calc_radio_freq 
+28ce 6800817f fetch 1 ,mem_debug_config 
+28cf c302a8d1 bbit0 debug_rx_fixed_freq ,rx_radio_freq_now 
+28d0 680884cc fetcht 1 ,mem_rx_fixed_freq 
+
+rx_radio_freq_now:
+28d1 2020291f branch set_freq_rx 
+
+tx_radio_freq:
+28d2 44c0c010 bpatch patch10_1 ,mem_patch10 
+28d3 20402860 call calc_radio_freq 
+28d4 6800817f fetch 1 ,mem_debug_config 
+28d5 c30228d7 bbit0 debug_tx_fixed_freq ,tx_radio_freq_now 
+28d6 680884cb fetcht 1 ,mem_tx_fixed_freq 
+
+tx_radio_freq_now:
+28d7 20202933 branch set_freq_tx 
+
+fetch_giac:
+28d8 18005a00 force 0 ,uap 
+28d9 6801c0a7 fetch 3 ,mem_glap 
+28da 98005800 iforce lap 
+28db 20600000 rtn 
+
+fetch_page_bt_adr:
+28dc 44c14010 bpatch patch10_2 ,mem_patch10 
+28dd 6800c1d3 fetch 1 ,mem_hci_puap 
+28de 1fe25a00 icopy uap 
+28df 6801c1d0 fetch 3 ,mem_hci_plap 
+28e0 1fe25800 icopy lap 
+28e1 20600000 rtn 
+
+fetch_self_bt_adr:
+28e2 44c1c010 bpatch patch10_3 ,mem_patch10 
+28e3 680140a4 fetch 2 ,mem_nap 
+28e4 1fe25c00 icopy nap 
+28e5 6800c0a3 fetch 1 ,mem_uap 
+28e6 1fe25a00 icopy uap 
+28e7 6801c0a0 fetch 3 ,mem_lap 
+28e8 1fe25800 icopy lap 
+28e9 20600000 rtn 
+
+fetch_extm_bt_adr:
+28ea 44c24010 bpatch patch10_4 ,mem_patch10 
+28eb 68010044 fetch 2 ,mem_pnap 
+28ec 1fe25c00 icopy nap 
+28ed 68008043 fetch 1 ,mem_puap 
+28ee 1fe25a00 icopy uap 
+28ef 68018040 fetch 3 ,mem_plap 
+28f0 1fe25800 icopy lap 
+28f1 20600000 rtn 
+
+fetch_diac:
+28f2 c51028f5 bmark1 mark_all_diac ,fetch_diac_do 
+28f3 c68e8000 rtnmark0 mark_inquiry_state 
+28f4 c68f8000 rtnmark0 mark_periodical_diac 
+
+fetch_diac_do:
+28f5 1d815900 and_into -256 ,lap 
+28f6 782afc00 pulse recalc 
+28f7 20000020 nop 32 
+28f8 20600000 rtn 
+
+shutdown_radio:
+28f9 44c2c010 bpatch patch10_5 ,mem_patch10 
+28fa 2030a90a branch shutdown_radio0 ,is_rx 
+28fb 708955d4 jam 0xd4 ,rf_tx_pa_ib 
+28fc 20000004 nop 4 
+28fd 708955d2 jam 0xd2 ,rf_tx_pa_ib 
+28fe 20000004 nop 4 
+28ff 708955d1 jam 0xd1 ,rf_tx_pa_ib 
+2900 20000004 nop 4 
+2901 6800c1de fetch 1 ,mem_tx_power 
+2902 c0002908 beq tx_power_0db ,shutdown_radio_0db 
+2903 c000a915 beq tx_power_3db ,shutdown_radio_3db 
+2904 c0012908 beq tx_power_5db ,shutdown_radio_5db 
+2905 c001a915 beq tx_power_f3db ,shutdown_radio_f3db 
+2906 c0022915 beq tx_power_f5db ,shutdown_radio_f5db 
+2907 c0102915 beq tx_power_pair ,shutdown_radio_pair 
+
+shutdown_radio_5db:
+
+shutdown_radio_0db:
+2908 708955d0 jam 0xd0 ,rf_tx_pa_ib 
+2909 708956e0 jam 0xe0 ,rf_tx_pa_gc 
+
+shutdown_radio0:
+290a 18002a00 force 0 ,radio_ctrl 
+290b 7850fc00 disable is_rx 
+290c 78507c00 disable is_tx 
+290d 782f7c00 pulse packet_end 
+290e 70890200 jam 0x0 ,rfen_mdm 
+290f 70890100 jam 0x0 ,rfen_tx 
+2910 70890000 jam 0x0 ,rfen_rx 
+2911 70890300 jam 0 ,rfen_sn 
+2912 70890470 jam 0x70 ,rfen_msc 
+2913 70890600 jam 0x0 ,rfen_adc 
+2914 20600000 rtn 
+
+shutdown_radio_pair:
+
+shutdown_radio_f5db:
+
+shutdown_radio_f3db:
+
+shutdown_radio_3db:
+2915 708955d0 jam 0xd0 ,rf_tx_pa_ib 
+2916 708956c0 jam 0xc0 ,rf_tx_pa_gc 
+2917 2020290a branch shutdown_radio0 
+
+set_sync_on:
+2918 44c34010 bpatch patch10_6 ,mem_patch10 
+2919 70890200 jam 0x0 ,rfen_mdm 
+291a 70890100 jam 0x0 ,rfen_tx 
+291b 70890018 jam 0x18 ,rfen_rx 
+291c 708903a7 jam 0xa7 ,rfen_sn 
+291d 7089047f jam 0x7f ,rfen_msc 
+291e 20600000 rtn 
+
+set_freq_rx:
+291f 44c3c010 bpatch patch10_7 ,mem_patch10 
+2920 60088017 storet 1 ,mem_last_freq 
+2921 1840a204 add temp ,rx_freq_offset ,rega 
+2922 70896d07 jam 0x07 ,rf_balun_ctrim 
+2923 20202981 branch rf_write_freq 
+
+rf_rx_enable:
+2924 44c44011 bpatch patch11_0 ,mem_patch11 
+2925 708901cf jam 0xcf ,rfen_tx 
+2926 2000000a nop 10 
+2927 708900ff jam 0xff ,rfen_rx 
+2928 708903af jam 0xaf ,rfen_sn 
+2929 708904ff jam 0xff ,rfen_msc 
+292a 2000000a nop 10 
+292b 708902a0 jam 0xa0 ,rfen_mdm 
+292c 20600000 rtn 
+
+set_freq_tx_offset:
+292d 6800c1e0 fetch 1 ,mem_250k_freq_enable 
+292e 203a2931 branch set_freq_tx_2m_offset ,blank 
+
+set_freq_tx_0m_offset:
+292f 1840a202 add temp ,2 ,rega 
+2930 20600000 rtn 
+
+set_freq_tx_2m_offset:
+2931 1840a200 add temp ,0 ,rega 
+2932 20600000 rtn 
+
+set_freq_tx:
+2933 44c4c011 bpatch patch11_1 ,mem_patch11 
+2934 60088017 storet 1 ,mem_last_freq 
+2935 2040292d call set_freq_tx_offset 
+2936 20402981 call rf_write_freq 
+2937 58000500 setarg param_pll_setup 
+2938 20402a8f call sleep 
+
+txon:
+2939 70890601 jam 0x1 ,rfen_adc 
+293a 7089003c jam 0x3c ,rfen_rx 
+293b 708901e0 jam 0xe0 ,rfen_tx 
+293c 70896d12 jam 0x12 ,rf_balun_ctrim 
+293d 2000000a nop 10 
+293e 70890201 jam 0x01 ,rfen_mdm 
+293f 7089023d jam 0x3d ,rfen_mdm 
+2940 2000000a nop 10 
+2941 708903b7 jam 0xb7 ,rfen_sn 
+2942 2000000a nop 10 
+2943 7089027f jam 0x7f ,rfen_mdm 
+
+txon_power_select:
+2944 6800c1de fetch 1 ,mem_tx_power 
+2945 c000294b beq tx_power_0db ,set_tx_power_0db 
+2946 c000a94f beq tx_power_3db ,set_tx_power_3db 
+2947 c0012953 beq tx_power_5db ,set_tx_power_5db 
+2948 c001a957 beq tx_power_f3db ,set_tx_power_f3db 
+2949 c002295b beq tx_power_f5db ,set_tx_power_f5db 
+294a c010295f beq tx_power_pair ,set_tx_power_pair 
+
+set_tx_power_0db:
+294b 708956f0 jam 0xf0 ,rf_tx_pa_gc 
+294c 20402965 call txon_common 
+294d 708955d8 jam 0xd8 ,rf_tx_pa_ib 
+294e 20600000 rtn 
+
+set_tx_power_3db:
+294f 708956df jam 0xdf ,rf_tx_pa_gc 
+2950 20402965 call txon_common 
+2951 708955df jam 0xdf ,rf_tx_pa_ib 
+2952 20600000 rtn 
+
+set_tx_power_5db:
+2953 708956ff jam 0xff ,rf_tx_pa_gc 
+2954 20402965 call txon_common 
+2955 708955df jam 0xdf ,rf_tx_pa_ib 
+2956 20600000 rtn 
+
+set_tx_power_f3db:
+2957 708956ce jam 0xce ,rf_tx_pa_gc 
+2958 20402965 call txon_common 
+2959 708955d8 jam 0xd8 ,rf_tx_pa_ib 
+295a 20600000 rtn 
+
+set_tx_power_f5db:
+295b 708956cb jam 0xcb ,rf_tx_pa_gc 
+295c 20402965 call txon_common 
+295d 708955d8 jam 0xd8 ,rf_tx_pa_ib 
+295e 20600000 rtn 
+
+set_tx_power_pair:
+295f 708955d0 jam 0xd0 ,rf_tx_pa_ib 
+2960 708956c0 jam 0xc0 ,rf_tx_pa_gc 
+2961 7089574c jam 0x4c ,0x8957 
+2962 7089586c jam 0x6c ,0x8958 
+2963 70895950 jam 0x50 ,0x8959 
+2964 20600000 rtn 
+
+txon_common:
+2965 20000004 nop 4 
+2966 708955d1 jam 0xd1 ,rf_tx_pa_ib 
+2967 20000004 nop 4 
+2968 708955d2 jam 0xd2 ,rf_tx_pa_ib 
+2969 20000004 nop 4 
+296a 708955d4 jam 0xd4 ,rf_tx_pa_ib 
+296b 20600000 rtn 
+
+initialize_radio:
+296c 70804206 jam clksel_rc ,core_clksel 
+
+initialize_radio_wait:
+296d 680140c3 fetch 2 ,mem_rf_init_ptr 
+296e c307296d bbit0 14 ,initialize_radio_wait 
+296f 98000c00 iforce contr 
+2970 d8408900 arg 0x8900 ,temp 
+
+initialize_radio_loop:
+2971 e8c08000 ifetch 1 ,contr 
+2972 c07fa977 beq 0xff ,initialize_radio_cont 
+2973 98418a00 ior temp ,contw 
+2974 e8c08000 ifetch 1 ,contr 
+2975 e0a08000 istore 1 ,contw 
+2976 20202971 branch initialize_radio_loop 
+
+initialize_radio_cont:
+2977 44c54011 bpatch patch11_2 ,mem_patch11 
+2978 20402be5 call lpm_cal_xtal_startup 
+2979 204029c9 call switchto_dpllclk 
+297a 580007d0 setarg param_dpll_start_delay 
+297b 9c40fe00 iadd clkn_bt ,pdata 
+297c 60020169 store 4 ,mem_dpll_clkn 
+297d 79202a03 set1 reset ,radio_ctrl 
+297e 18002a00 force 0 ,radio_ctrl 
+297f 2455a998 ncall do_rccal ,wake 
+2980 202029ab branch set_rccal 
+
+rf_write_freq:
+2981 44c5c011 bpatch patch11_3 ,mem_patch11 
+2982 58000960 setarg 2400 
+2983 9a208400 iadd rega ,temp 
+2984 6800c0bd fetch 1 ,mem_fcomp_mul 
+2985 70895f04 jam 0x04 ,rf_pll_rstn 
+2986 984ffe00 imul32 temp ,pdata 
+2987 6808c0be fetcht 1 ,mem_fcomp_div 
+2988 9846fc00 idiv temp 
+2989 20407f86 call wait_div_end 
+298a 1807a200 quotient rega 
+298b 18077e00 remainder pdata 
+298c 1ff07e00 lshift16 pdata ,pdata 
+298d 1ff27e00 lshift4 pdata ,pdata 
+298e 9846fc00 idiv temp 
+298f 20407f86 call wait_div_end 
+2990 1807fe00 quotient pdata 
+2991 1fed7e00 lshift8 pdata ,pdata 
+2992 1fe3fe00 lshift pdata ,pdata 
+2993 9a21fe00 ior rega ,pdata 
+2994 60120960 hstore 4 ,rf_pll_intg 
+2995 70895f44 jam 0x44 ,rf_pll_rstn 
+2996 70895fc4 jam 0xc4 ,rf_pll_rstn 
+2997 20600000 rtn 
+
+do_rccal:
+2998 44c64011 bpatch patch11_4 ,mem_patch11 
+2999 70890602 jam 0x02 ,rfen_adc 
+299a 5803d090 setarg 250000 
+299b 20402a8f call sleep 
+299c 7089007f jam 0x7f ,rfen_rx 
+299d 20000082 nop 130 
+299e 70895230 jam 0x30 ,rf_rccal_ctrl 
+299f 708901d0 jam 0xd0 ,rfen_tx 
+29a0 70895270 jam 0x70 ,rf_rccal_ctrl 
+29a1 708952f0 jam 0xf0 ,rf_rccal_ctrl 
+29a2 18007232 force 50 ,loopcnt 
+
+do_rccal_loop:
+29a3 68108980 hfetch 1 ,rf_rccal_result 
+29a4 c282a9a6 bbit1 5 ,do_rccal_end 
+29a5 c20029a3 loop do_rccal_loop 
+
+do_rccal_end:
+29a6 6000c0ce store 1 ,mem_rf_rccal 
+29a7 70890100 jam 0 ,rfen_tx 
+29a8 70890000 jam 0 ,rfen_rx 
+29a9 70890600 jam 0x00 ,rfen_adc 
+29aa 20600000 rtn 
+
+set_rccal:
+29ab 44c6c011 bpatch patch11_5 ,mem_patch11 
+29ac 6800c0ce fetch 1 ,mem_rf_rccal 
+29ad 79207e05 set1 5 ,pdata 
+29ae 60108952 hstore 1 ,rf_rccal_ctrl 
+29af 68188950 hfetcht 1 ,rf_bpf_ctrim 
+29b0 18410407 and_into 7 ,temp 
+29b1 1fe9fe00 lshift3 pdata ,pdata 
+29b2 9841fe00 ior temp ,pdata 
+29b3 60108950 hstore 1 ,rf_bpf_ctrim 
+29b4 68108951 hfetch 1 ,rf_bpf_ib 
+29b5 793ffe00 set0 bpf_rccal ,pdata 
+29b6 60108951 hstore 1 ,rf_bpf_ib 
+29b7 68108952 hfetch 1 ,rf_adc_rccal 
+29b8 793ffe05 set0 adc_rccal ,pdata 
+29b9 60108952 hstore 1 ,rf_adc_rccal 
+29ba 20600000 rtn 
+
+save_rssi:
+29bb 44c74011 bpatch patch11_6 ,mem_patch11 
+29bc 68110981 hfetch 2 ,rf_afc_d2a 
+29bd 1ff1fe00 rshift4 pdata ,pdata 
+29be 1fe97e00 rshift3 pdata ,pdata 
+29bf 1fe67e00 sub pdata ,0 ,pdata 
+
+bcd:
+29c0 1fe17eff and_into 0xff ,pdata 
+29c1 1fe6fc0a div pdata ,10 
+29c2 20407f86 call wait_div_end 
+29c3 1807fe00 quotient pdata 
+29c4 1ff27e00 lshift4 pdata ,pdata 
+29c5 18070400 remainder temp 
+29c6 9841fe00 ior temp ,pdata 
+29c7 60008018 store 1 ,mem_rssi 
+29c8 20600000 rtn 
+
+switchto_dpllclk:
+29c9 70804206 jam clksel_rc ,core_clksel 
+29ca 6810896b hfetch 1 ,rf_clkpll_frac + 2 
+29cb 793ffe04 set0 4 ,pdata 
+29cc 793ffe05 set0 5 ,pdata 
+29cd 6010896b hstore 1 ,rf_clkpll_frac + 2 
+29ce 70890500 jam 0x00 ,rfen_ck 
+29cf 70890400 jam 0x00 ,rfen_msc 
+29d0 70890470 jam 0x70 ,rfen_msc 
+29d1 708905ff jam 0xff ,rfen_ck 
+29d2 6810896b hfetch 1 ,rf_clkpll_frac + 2 
+29d3 79207e04 set1 4 ,pdata 
+29d4 79207e05 set1 5 ,pdata 
+29d5 6010896b hstore 1 ,rf_clkpll_frac + 2 
+29d6 204029e9 call init_lpm_ctrl 
+29d7 68108968 hfetch 1 ,rf_clkpll_int 
+29d8 79207e07 set1 7 ,pdata 
+29d9 60108968 hstore 1 ,rf_clkpll_int 
+29da 793ffe07 set0 7 ,pdata 
+29db 60108968 hstore 1 ,rf_clkpll_int 
+29dc 79207e07 set1 7 ,pdata 
+29dd 60108968 hstore 1 ,rf_clkpll_int 
+29de 70804205 jam clksel_dpll ,core_clksel 
+29df 20000001 nop 1 
+29e0 70804204 jam clksel_xtal ,core_clksel 
+29e1 6810896b hfetch 1 ,rf_clkpll_frac + 2 
+29e2 1fe17ecf and_into 0xcf ,pdata 
+29e3 6010896b hstore 1 ,rf_clkpll_frac + 2 
+29e4 1fe1fe30 or_into 0x30 ,pdata 
+29e5 6010896b hstore 1 ,rf_clkpll_frac + 2 
+29e6 20600000 rtn 
+
+xtal_fast_wake:
+29e7 58000f0f setarg 0xf0f 
+29e8 20202c18 branch lpm_write_config 
+
+init_lpm_ctrl:
+29e9 5800080f setarg 0x80f 
+29ea 20202c18 branch lpm_write_config 
+
+start_receiver:
+29eb 44c7c011 bpatch patch11_7 ,mem_patch11 
+29ec 20402924 call rf_rx_enable 
+29ed 78507c00 disable is_tx 
+29ee 7830fc00 enable is_rx 
+29ef 782b7c00 pulse init_encrypt 
+29f0 20600000 rtn 
+
+prep_crypt:
+29f1 44c84012 bpatch patch12_0 ,mem_patch12 
+29f2 6800804c fetch 1 ,mem_state_map 
+29f3 2feffe02 isolate1 smap_encryption ,pdata 
+29f4 7920fe00 setflag true ,0 ,pdata 
+29f5 60108011 hstore 1 ,core_encrypt 
+29f6 d8c00062 arg mem_kc ,contr 
+29f7 e8c48000 ifetch 9 ,contr 
+29f8 98006400 iforce kc_ls 
+29f9 e8c38000 ifetch 7 ,contr 
+29fa 98006600 iforce kc_ms 
+29fb 68008054 fetch 1 ,mem_key_size 
+29fc 1fe0e9ff add pdata ,-1 ,g1l 
+29fd 782d7c00 pulse kc_p_activate 
+29fe 20600000 rtn 
+
+wait_access_end:
+29ff 1b427e00 deposit clke 
+2a00 6003009a store 6 ,mem_sync_clke 
+2a01 7846fc00 disable decode_fec0 
+2a02 242c28f9 nbranch shutdown_radio ,sync 
+2a03 dd2003bb arg param_clke_cal ,clke_rt 
+2a04 1d00d001 increase 1 ,clke_bt 
+2a05 1d0151fc and_into 0x1fc ,clke_bt 
+2a06 20600000 rtn 
+
+wait_access_mhalfbnd:
+2a07 7826fc00 enable decode_fec0 
+
+wait_access_mhalfbnd_correlate:
+2a08 37cb8400 correlate null ,mhalfbnd 
+2a09 202c29ff branch wait_access_end ,sync 
+2a0a 2d000402 compare 0x02 ,clke_bt ,0x02 
+2a0b 2420aa08 nbranch wait_access_mhalfbnd_correlate ,true 
+2a0c 202029ff branch wait_access_end 
+
+wait_access_clkn_rt:
+2a0d 44c8c012 bpatch patch12_1 ,mem_patch12 
+2a0e d9600600 arg param_conn_access ,timeup 
+2a0f 7826fc00 enable decode_fec0 
+2a10 34730400 correlate clkn_rt ,meet 
+2a11 7846fc00 disable decode_fec0 
+2a12 242c28f9 nbranch shutdown_radio ,sync 
+2a13 20600000 rtn 
+
+wait_access_forever:
+2a14 44c94012 bpatch patch12_2 ,mem_patch12 
+2a15 7826fc00 enable decode_fec0 
+2a16 37c18400 correlate null ,timeout 
+2a17 7846fc00 disable decode_fec0 
+2a18 242c28f9 nbranch shutdown_radio ,sync 
+2a19 dd2003bb arg param_clke_cal ,clke_rt 
+2a1a 1d0151fc and_into 0x1fc ,clke_bt 
+2a1b 20600000 rtn 
+
+reserve_slot:
+2a1c 44c9c012 bpatch patch12_3 ,mem_patch12 
+2a1d 98002200 iforce rega 
+2a1e 1c227e00 deposit bt_clk 
+2a1f 98409600 iadd temp ,timeup 
+2a20 19627e00 copy timeup ,pdata 
+2a21 600240ca store 4 ,mem_next_btclk 
+2a22 1a227e00 deposit rega 
+2a23 20600000 rtn 
+
+ahead_window:
+2a24 1fe20400 copy pdata ,temp 
+2a25 44ca4012 bpatch patch12_4 ,mem_patch12 
+2a26 18427e00 copy temp ,pdata 
+2a27 20407f50 call clk2bt 
+2a28 1c307e00 lshift16 bt_clk ,pdata 
+2a29 79207e2c set1 44 ,pdata 
+2a2a 20407f39 call clk_diff 
+2a2b 793ffe2c set0 44 ,pdata 
+2a2c 20402a77 call get_clk 
+2a2d 20407f39 call clk_diff 
+2a2e 20740000 rtn user 
+2a2f 20407f43 call clk2rt 
+2a30 98003600 iforce stop_watch 
+2a31 37c18200 until null ,timeout 
+2a32 20600000 rtn 
+
+setup_clk:
+2a33 44cac012 bpatch patch12_5 ,mem_patch12 
+2a34 20382a38 branch setup_clkn ,clknt 
+2a35 35330200 until clke_rt ,meet 
+
+skip_setup_clke:
+2a36 1d020400 copy clke_bt ,temp 
+2a37 20202a3b branch setup_clknbt 
+
+setup_clkn:
+2a38 20372a3a branch skip_setup_clkn ,attempt 
+2a39 34730200 until clkn_rt ,meet 
+
+skip_setup_clkn:
+2a3a 1c420400 copy clkn_bt ,temp 
+
+setup_clknbt:
+2a3b 20342a47 branch setup_clk11 ,user 
+2a3c 28400601 compare 1 ,temp ,3 
+2a3d 2420aa33 nbranch setup_clk ,true 
+
+setup_complete:
+2a3e 44cb4012 bpatch patch12_6 ,mem_patch12 
+2a3f 68008030 fetch 1 ,mem_state 
+2a40 c4000000 rtnbit0 state_inconn 
+2a41 680240ca fetch 4 ,mem_next_btclk 
+2a42 98467e00 isub temp ,pdata 
+2a43 24610000 nrtn positive 
+2a44 1fe67cff sub pdata ,0xff ,null 
+2a45 20212a33 branch setup_clk ,positive 
+2a46 20600000 rtn 
+
+setup_clk11:
+2a47 28400603 compare 3 ,temp ,3 
+2a48 2420aa33 nbranch setup_clk ,true 
+2a49 20202a3e branch setup_complete 
+
+rf_setup_time:
+2a4a 44cbc012 bpatch patch12_7 ,mem_patch12 
+2a4b d9600600 arg param_rf_setup ,timeup 
+2a4c 20202a33 branch setup_clk 
+
+rf_setup_time_slave_slot:
+2a4d 78547c00 disable user 
+2a4e 20202a4a branch rf_setup_time 
+
+rf_setup_time_master_slot:
+2a4f 78347c00 enable user 
+2a50 20202a4a branch rf_setup_time 
+
+start_transmitter:
+2a51 44cc4013 bpatch patch13_0 ,mem_patch13 
+2a52 204029f1 call prep_crypt 
+2a53 7850fc00 disable is_rx 
+2a54 78307c00 enable is_tx 
+2a55 20600000 rtn 
+
+start_tx_native:
+2a56 44ccc013 bpatch patch13_1 ,mem_patch13 
+2a57 d9600e43 arg param_tx_setup ,timeup 
+2a58 34730200 until clkn_rt ,meet 
+2a59 782b7c00 pulse init_encrypt 
+2a5a 20600000 rtn 
+
+start_rx_native:
+2a5b 44cd4013 bpatch patch13_2 ,mem_patch13 
+2a5c d9600d00 arg param_rx_setup ,timeup 
+2a5d 34730200 until clkn_rt ,meet 
+2a5e 20600000 rtn 
+
+start_tx_external:
+2a5f 44cdc013 bpatch patch13_3 ,mem_patch13 
+2a60 d9600e43 arg param_tx_setup ,timeup 
+2a61 35330200 until clke_rt ,meet 
+2a62 782b7c00 pulse init_encrypt 
+2a63 20600000 rtn 
+
+send_access_word:
+2a64 44ce4013 bpatch patch13_4 ,mem_patch13 
+2a65 51207e00 preload access 
+2a66 782efc00 enable encode_fec0 
+2a67 79202a00 set1 txgfsk ,radio_ctrl 
+2a68 08008648 inject mod ,72 
+2a69 784efc00 disable encode_fec0 
+2a6a 20600000 rtn 
+
+scan_mode_whiten:
+2a6b 1ca20400 copy xin ,temp 
+2a6c 18418460 or_into 0x60 ,temp 
+2a6d 18421c00 copy temp ,white_init 
+2a6e 20600000 rtn 
+
+get_free_amaddr:
+2a6f 44cec013 bpatch patch13_5 ,mem_patch13 
+2a70 6800c090 fetch 1 ,mem_current_amaddr 
+2a71 1fe0fe01 increase 1 ,pdata 
+2a72 c083aa74 bne param_esco_addr ,get_free_amaddr_cont 
+2a73 18007e01 force 1 ,pdata 
+
+get_free_amaddr_cont:
+2a74 6000c090 store 1 ,mem_current_amaddr 
+2a75 98000800 iforce am_addr 
+2a76 20600000 rtn 
+
+get_clk:
+2a77 1b220400 copy clkn ,temp 
+2a78 20748000 rtn master 
+2a79 1b420400 copy clke ,temp 
+2a7a 20600000 rtn 
+
+get_clkbt:
+2a7b 1c427e00 deposit clkn_bt 
+2a7c 20748000 rtn master 
+2a7d 1d027e00 deposit clke_bt 
+2a7e 20600000 rtn 
+
+supervision_update:
+2a7f 44cf4013 bpatch patch13_6 ,mem_patch13 
+2a80 680a004d fetcht 4 ,mem_supervision_timer 
+2a81 20402a7b call get_clkbt 
+2a82 98461600 isub temp ,timeup 
+2a83 19627e00 deposit timeup 
+2a84 68090051 fetcht 2 ,mem_supervision_to 
+2a85 18438400 lshift temp ,temp 
+2a86 98467e00 isub temp ,pdata 
+2a87 20600000 rtn 
+
+supervision_flush:
+2a88 44cfc013 bpatch patch13_7 ,mem_patch13 
+2a89 20402a7b call get_clkbt 
+2a8a 6002004d store 4 ,mem_supervision_timer 
+2a8b 20600000 rtn 
+
+assert:
+2a8c 44d04014 bpatch patch14_0 ,mem_patch14 
+2a8d 20202a8c branch assert 
+
+loop:
+2a8e 20202a8e branch loop 
+
+sleep:
+2a8f 207a0000 rtn blank 
+2a90 1fe37e00 rshift pdata ,pdata 
+2a91 1fe0fffd increase -3 ,pdata 
+
+sleep_loop:
+2a92 1fe0ffff increase -1 ,pdata 
+2a93 2422aa92 nbranch sleep_loop ,zero 
+2a94 18007e00 force 0 ,pdata 
+2a95 20600000 rtn 
+
+init_param:
+2a96 df200010 arg 0x10 ,loopcnt 
+2a97 d8a00000 arg 0 ,contw 
+2a98 20407ec6 call memset0 
+2a99 d8a0043f arg mem_le_state ,contw 
+2a9a df20000a arg 10 ,loopcnt 
+2a9b 20407ec6 call memset0 
+2a9c 7009b200 jam 0 ,mem_sp_calc 
+2a9d 700a9900 jam 0 ,mem_fifo_temp 
+2a9e 70048c00 jam 0 ,mem_le_testtype 
+2a9f 70017f00 jam 0 ,mem_debug_config 
+2aa0 7004d100 jam 0 ,mem_lmp_conn_state 
+2aa1 44d0c014 bpatch patch14_1 ,mem_patch14 
+2aa2 70016d00 jam 0 ,mem_connection_options 
+2aa3 70015100 jam 0 ,mem_tester_emulate 
+2aa4 70015c00 jam 0 ,mem_tester_cnt 
+2aa5 589e8b33 setarg param_glap 
+2aa6 6001c0a7 store 3 ,mem_glap 
+2aa7 58000153 setarg param_acl_pktlen 
+2aa8 60010083 store 2 ,mem_acl_pktlen 
+2aa9 7000851e jam param_sco_pktlen ,mem_sco_pktlen 
+2aaa 70008601 jam param_acl_pktcnt ,mem_acl_pktcnt 
+2aab 70008807 jam param_sco_pktcnt ,mem_sco_pktcnt 
+2aac 5812e904 setarg param_hci_version 
+2aad 60018080 store 3 ,mem_hci_version 
+2aae 70009060 jam 0x60 ,mem_fhs_misc 
+2aaf 7040d005 jam param_max_slot ,mem_max_slot 
+2ab0 70001402 jam 0x02 ,mem_fw_ver 
+2ab1 6800c65a fetch 1 ,mem_ssp_enable 
+2ab2 245a74c1 ncall init_memp ,blank 
+2ab3 6800c4be fetch 1 ,mem_le_secure_connect_enable 
+2ab4 245a7518 ncall init_memp_256 ,blank 
+2ab5 44d14014 bpatch patch14_2 ,mem_patch14 
+2ab6 20758000 rtn wake 
+2ab7 58000000 setarg 0 
+2ab8 600141dc store 2 ,mem_tx_len 
+2ab9 1c437e00 rshift clkn_bt ,pdata 
+2aba 60024094 store 4 ,mem_last_clkn 
+2abb 20600000 rtn 
+
+lpmstate:
+2abc 5800ee21 setarg 0xee21 
+2abd 60110050 hstore 2 ,core_clkoff 
+2abe 6812011c hfetch 4 ,core_gpio_in 
+2abf 60020abe store 4 ,mem_saved_gpio_in 
+2ac0 6810813e hfetch 1 ,core_lpm_ldocnt 
+2ac1 60008abd store 1 ,mem_wakup_from_power_flag 
+2ac2 c301e45b bbit0 gpio_latch ,loadcode 
+2ac3 7835fc00 enable wake 
+2ac4 c303aacc bbit0 cold_wake ,lpmwake 
+2ac5 7855fc00 disable wake 
+2ac6 1ce27e00 deposit auxcnt 
+2ac7 243a2acc nbranch lpmwake ,blank 
+2ac8 6810813b hfetch 1 ,core_lpm_ctrl + 3 
+2ac9 c2812acc bbit1 reload_code ,lpmwake 
+2aca d85fffff arg param_hibernate_clks ,temp 
+2acb 20202b3c branch lpm_enter_sleep 
+
+lpmwake:
+2acc 6811813c hfetch 3 ,core_lpm_xtalcnt 
+2acd 6011804c hstore 3 ,core_lpm_reg 
+2ace e8c08000 ifetch 1 ,contr 
+2acf 1fe1feef or_into isogate_mask ,pdata 
+2ad0 e0a08000 istore 1 ,contw 
+2ad1 20402c23 call lpm_write_ctrl2 
+2ad2 6810804f hfetch 1 ,core_lpm_isogate 
+2ad3 79207e04 set1 enable_retmem ,pdata 
+2ad4 6010804f hstore 1 ,core_lpm_isogate 
+2ad5 20402c23 call lpm_write_ctrl2 
+2ad6 2055aadf call lpm_load_context ,wake 
+2ad7 6810804e hfetch 1 ,core_lpm_reg + 2 
+2ad8 793ffe03 set0 gpio_latch ,pdata 
+2ad9 6010804e hstore 1 ,core_lpm_reg + 2 
+2ada 20402c23 call lpm_write_ctrl2 
+2adb 2435e45b nbranch loadcode ,wake 
+2adc c6958000 rtnmark0 mark_otp_encrypt 
+2add 70800608 jam lock_otp ,core_misc_ctrl 
+2ade 20600000 rtn 
+
+lpm_load_context:
+2adf 6800c198 fetch 1 ,mem_saved_spidctrl 
+2ae0 60108086 hstore 1 ,core_spid_ctrl 
+2ae1 6801c18d fetch 3 ,mem_saved_gsel 
+2ae2 60118080 hstore 3 ,core_gpio_sel 
+2ae3 68024181 fetch 4 ,mem_saved_gpio + 4 
+2ae4 60120074 hstore 4 ,core_gpio_out0 
+2ae5 6802417d fetch 4 ,mem_saved_gpio 
+2ae6 60120070 hstore 4 ,core_gpio_oe0 
+2ae7 68044185 fetch 8 ,mem_saved_gpio + 8 
+2ae8 60140078 hstore 8 ,core_gpio_pu0 
+2ae9 68044190 fetch 8 ,mem_saved_mark 
+2aea 98000000 iforce mark 
+2aeb 68140140 hfetch 8 ,core_gpio_wakeup_low 
+2aec 600400a1 store 8 ,mem_gpio_wakeup_low 
+2aed 204064ca call load_ucode 
+2aee 20600000 rtn 
+
+lpm_save_context:
+2aef 18027e00 deposit mark 
+2af0 60044190 store 8 ,mem_saved_mark 
+2af1 68140070 hfetch 8 ,core_gpio_oe0 
+2af2 6004417d store 8 ,mem_saved_gpio 
+2af3 e8c40000 ifetch 8 ,contr 
+2af4 e0a40000 istore 8 ,contw 
+2af5 68118080 hfetch 3 ,core_gpio_sel 
+2af6 6001c18d store 3 ,mem_saved_gsel 
+2af7 68108086 hfetch 1 ,core_spid_ctrl 
+2af8 6000c198 store 1 ,mem_saved_spidctrl 
+2af9 20202c29 branch lpm_write_gpio_wakeup 
+
+lpo_calibration:
+2afa 68108063 hfetch 1 ,core_bist_ctrl 
+2afb 243a2b00 nbranch lpo_cal_inited ,blank 
+2afc 6801c16f fetch 3 ,mem_clks_per_lpo 
+2afd 247a0000 nrtn blank 
+2afe 708063c0 jam 0xc0 ,core_bist_ctrl 
+2aff 70800680 jam ccnt_start ,core_misc_ctrl 
+
+lpo_cal_inited:
+2b00 6810812d hfetch 1 ,core_perf_status 
+2b01 c4008000 rtnbit0 1 
+2b02 68118149 hfetch 3 ,core_clk_counter 
+2b03 6001c16f store 3 ,mem_clks_per_lpo 
+2b04 20600000 rtn 
+
+lpm_adjust_clk:
+2b05 44d1c014 bpatch patch14_3 ,mem_patch14 
+2b06 1b427e00 deposit clke 
+2b07 20407f37 call clk_diff_rt 
+2b08 680a415f fetcht 4 ,mem_sleep_counter_all 
+2b09 18467cff sub temp ,0xff ,null 
+2b0a 20610000 rtn positive 
+2b0b 1fed7e00 lshift8 pdata ,pdata 
+2b0c 1ff27e00 lshift4 pdata ,pdata 
+2b0d 9846fc00 idiv temp 
+2b0e 20407f86 call wait_div_end 
+2b0f 1807fe00 quotient pdata 
+2b10 d84000c8 arg param_lpm_adjmax ,temp 
+2b11 20407f91 call ceiling 
+2b12 60008099 store 1 ,mem_lpm_adjust 
+2b13 24342b15 nbranch lpm_adjust_positive ,user 
+2b14 1fe67e00 sub pdata ,0 ,pdata 
+
+lpm_adjust_positive:
+2b15 6809c16f fetcht 3 ,mem_clks_per_lpo 
+2b16 9840fe00 iadd temp ,pdata 
+2b17 6001c16f store 3 ,mem_clks_per_lpo 
+
+lpm_clear_counter:
+2b18 58000000 setarg 0 
+2b19 6002415f store 4 ,mem_sleep_counter_all 
+2b1a 20600000 rtn 
+
+lpm_doze:
+2b1b 6800c177 fetch 1 ,mem_lpm_config + 2 
+2b1c 79207e02 set1 reload_code ,pdata 
+2b1d 6000c177 store 1 ,mem_lpm_config + 2 
+2b1e 20202b23 branch lpm_hibernate_normal 
+
+lpm_hibernate:
+2b1f d85fffff arg param_hibernate_clks ,temp 
+2b20 6800c176 fetch 1 ,mem_lpm_config + 1 
+2b21 793ffe07 set0 7 ,pdata 
+2b22 6000c176 store 1 ,mem_lpm_config + 1 
+
+lpm_hibernate_normal:
+2b23 44d24014 bpatch patch14_4 ,mem_patch14 
+2b24 20402c29 call lpm_write_gpio_wakeup 
+2b25 6800c157 fetch 1 ,mem_lpm_hibernate_switch 
+2b26 6000c17c store 1 ,mem_lpm_xtalcnt + 4 
+2b27 6800c17a fetch 1 ,mem_lpm_xtalcnt + 2 
+2b28 79207e07 set1 cold_wake ,pdata 
+2b29 6000c17a store 1 ,mem_lpm_xtalcnt + 2 
+
+lpm_sleep:
+2b2a 44d2c014 bpatch patch14_5 ,mem_patch14 
+2b2b 204029e7 call xtal_fast_wake 
+2b2c 6802415f fetch 4 ,mem_sleep_counter_all 
+2b2d 9840fe00 iadd temp ,pdata 
+2b2e 6002415f store 4 ,mem_sleep_counter_all 
+2b2f 20402aef call lpm_save_context 
+2b30 6802c178 fetch 5 ,mem_lpm_xtalcnt 
+2b31 6012004c hstore 4 ,core_lpm_reg 
+2b32 1fef2200 rshift32 pdata ,rega 
+2b33 37d98200 until null ,lpo_edge 
+2b34 1b227e00 deposit clkn 
+2b35 60034163 store 6 ,mem_sleep_clkn 
+2b36 70800502 jam lpmreg_sel_ctrl2 ,core_lpm_wr 
+2b37 37d98200 until null ,lpo_edge 
+2b38 37d98200 until null ,lpo_edge 
+2b39 1a227e00 deposit rega 
+2b3a 6010804f hstore 1 ,core_lpm_isogate 
+2b3b 70800502 jam lpmreg_sel_ctrl2 ,core_lpm_wr 
+
+lpm_enter_sleep:
+2b3c 37d98200 until null ,lpo_edge 
+2b3d 37d98200 until null ,lpo_edge 
+2b3e 601a004c hstoret 4 ,core_lpm_reg 
+2b3f 70800510 jam lpmreg_sel_counter ,core_lpm_wr 
+2b40 37df8200 until null ,never 
+
+lpm_recover_clk:
+2b41 44d34014 bpatch patch14_6 ,mem_patch14 
+2b42 58000000 setarg 0 
+2b43 1ce27c00 copy auxcnt ,null 
+2b44 2022ab4c branch lpm_recover_timeout ,zero 
+2b45 6810813c hfetch 1 ,core_lpm_xtalcnt 
+2b46 6818813d hfetcht 1 ,core_lpm_buckcnt 
+2b47 98467c00 isub temp ,null 
+2b48 20212b4a branch lpm_recover_xtal ,positive 
+2b49 18427e00 deposit temp 
+
+lpm_recover_xtal:
+2b4a 9ce67e00 isub auxcnt ,pdata 
+2b4b 1fe0fe01 increase 1 ,pdata 
+
+lpm_recover_timeout:
+2b4c 1fe0fe08 increase 8 ,pdata 
+2b4d 37d98200 until null ,lpo_edge 
+2b4e 9e20fe00 iadd lpo_time ,pdata 
+2b4f 680a415b fetcht 4 ,mem_sleep_counter 
+2b50 9840fe00 iadd temp ,pdata 
+2b51 6809c16f fetcht 3 ,mem_clks_per_lpo 
+2b52 984ffe00 imul32 temp ,pdata 
+2b53 1fecfe00 rshift8 pdata ,pdata 
+2b54 1ff1fe00 rshift4 pdata ,pdata 
+2b55 1fe0fe6e increase param_lpm_fix ,pdata 
+2b56 d8400ea6 arg 3750 ,temp 
+2b57 9846fc00 idiv temp 
+2b58 20407f86 call wait_div_end 
+2b59 1807fe00 quotient pdata 
+2b5a 1ff07e00 lshift16 pdata ,pdata 
+2b5b 18070400 remainder temp 
+2b5c 9841fe00 ior temp ,pdata 
+2b5d 680b4163 fetcht 6 ,mem_sleep_clkn 
+2b5e 20407f2c call clk_add 
+2b5f 18423200 copy temp ,clkn 
+2b60 68034048 fetch 6 ,mem_context + coffset_clk_offset 
+2b61 20402854 call calc_clke2 
+2b62 1b427e00 deposit clke 
+2b63 60030a9a store 6 ,mem_pdatatemp 
+2b64 1ce27e00 deposit auxcnt 
+2b65 e0a08000 istore 1 ,contw 
+2b66 6810811d hfetch 1 ,core_gpio_in1 
+2b67 1fe1fef0 or_into 0xf0 ,pdata 
+2b68 e0a08000 istore 1 ,contw 
+2b69 20600000 rtn 
+
+lpm_dispatch:
+2b6a 44d3c014 bpatch patch14_7 ,mem_patch14 
+2b6b 20402afa call lpo_calibration 
+2b6c 6801c16f fetch 3 ,mem_clks_per_lpo 
+2b6d 207a0000 rtn blank 
+2b6e 6800c091 fetch 1 ,mem_lpm_mode 
+2b6f 207a0000 rtn blank 
+2b70 6800c65a fetch 1 ,mem_ssp_enable 
+2b71 203a2b74 branch lpm_dispatch_next ,blank 
+2b72 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+2b73 207a0000 rtn blank 
+
+lpm_dispatch_next:
+2b74 6800c4c0 fetch 1 ,mem_le_sc_calc 
+2b75 247a0000 nrtn blank 
+2b76 20402c3a call lpm_check_wake_lock 
+2b77 247a0000 nrtn blank 
+2b78 6800c040 fetch 1 ,mem_context 
+2b79 2fe00e03 compare 3 ,pdata ,0x7 
+2b7a 2420ab9d nbranch lpm_dispatch_unconn ,true 
+2b7b 68014042 fetch 2 ,mem_context + coffset_tsniff 
+2b7c 207a0000 rtn blank 
+2b7d 20758000 rtn wake 
+2b7e 44d44015 bpatch patch15_0 ,mem_patch15 
+
+lpm_dispatch_next2:
+2b7f 680880a0 fetcht 1 ,mem_lpm_current_mult 
+2b80 68014042 fetch 2 ,mem_context + coffset_tsniff 
+2b81 984ffe00 imul32 temp ,pdata 
+2b82 18518400 rshift4 temp ,temp 
+2b83 184b0400 rshift2 temp ,temp 
+2b84 98467e00 isub temp ,pdata 
+2b85 680a4044 fetcht 4 ,mem_context + coffset_sniff_anchor 
+2b86 9840fe00 iadd temp ,pdata 
+2b87 6808c156 fetcht 1 ,mem_lpm_overhead 
+2b88 98467e00 isub temp ,pdata 
+2b89 1ff06000 lshift16 pdata ,alarm 
+2b8a 44d4c015 bpatch patch15_1 ,mem_patch15 
+2b8b 6801404e fetch 2 ,mem_context + coffset_rx_window 
+2b8c 1fe37e00 rshift pdata ,pdata 
+2b8d 20407f50 call clk2bt 
+2b8e 1e027e00 deposit alarm 
+2b8f 20407f39 call clk_diff 
+2b90 1b420400 copy clke ,temp 
+2b91 20407f37 call clk_diff_rt 
+2b92 20740000 rtn user 
+
+lpm_dispatch_sleep:
+2b93 20407f49 call clk2lpo 
+
+lpm_dispatch_lpo:
+2b94 44d54015 bpatch patch15_2 ,mem_patch15 
+2b95 6800c178 fetch 1 ,mem_lpm_xtalcnt 
+2b96 98467c00 isub temp ,null 
+2b97 20212b18 branch lpm_clear_counter ,positive 
+2b98 600a415b storet 4 ,mem_sleep_counter 
+2b99 20403328 call app_will_enter_lpm 
+2b9a 204052fb call l2cap_lpm_save_txbuf 
+2b9b 680a415b fetcht 4 ,mem_sleep_counter 
+2b9c 20202b2a branch lpm_sleep 
+
+lpm_dispatch_unconn:
+2b9d 44d5c015 bpatch patch15_3 ,mem_patch15 
+2b9e 6800c040 fetch 1 ,mem_context 
+2b9f c3800000 rtnbit1 state_inconn 
+2ba0 c3818000 rtnbit1 state_inpage 
+2ba1 6800c65a fetch 1 ,mem_ssp_enable 
+2ba2 203a2ba5 branch lpm_unconn_nossp ,blank 
+2ba3 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+2ba4 207a0000 rtn blank 
+
+lpm_unconn_nossp:
+2ba5 44d64015 bpatch patch15_4 ,mem_patch15 
+2ba6 6800c36e fetch 1 ,mem_le_adv_enable 
+2ba7 243a2baa nbranch lpm_unconn_cont ,blank 
+2ba8 6800c093 fetch 1 ,mem_scan_mode 
+2ba9 207a0000 rtn blank 
+
+lpm_unconn_cont:
+2baa 68014154 fetch 2 ,mem_lpm_interval 
+2bab 207a0000 rtn blank 
+
+lpm_sleep_btclk:
+2bac 6808c156 fetcht 1 ,mem_lpm_overhead 
+2bad 98467e00 isub temp ,pdata 
+2bae d8401d4c arg 7500 ,temp 
+2baf 984ffe00 imul32 temp ,pdata 
+2bb0 20202b93 branch lpm_dispatch_sleep 
+
+lpm_set_mult:
+2bb1 44d6c015 bpatch patch15_5 ,mem_patch15 
+2bb2 7855fc00 disable wake 
+2bb3 68008030 fetch 1 ,mem_state 
+2bb4 c4008000 rtnbit0 state_insniff 
+2bb5 2436abd0 nbranch lpm_not_match ,match 
+2bb6 20402bcb call lpm_match 
+2bb7 680140c1 fetch 2 ,mem_rx_window_sniff 
+2bb8 6001003e store 2 ,mem_rx_window 
+2bb9 68008047 fetch 1 ,mem_arq 
+2bba c281abde bbit1 wack ,lpm_mult_short 
+2bbb c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+2bbc 20405274 call l2cap_malloc_is_fifo_empty 
+2bbd 243a2bde nbranch lpm_mult_short ,blank 
+2bbe 6800c55c fetch 1 ,mem_classic_bt_flag 
+2bbf c280abde bbit1 short_mult_flag ,lpm_mult_short 
+
+lpm_mult_wait_timeout:
+2bc0 7000a000 jam 0 ,mem_lpm_current_mult 
+2bc1 c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+2bc2 6800c174 fetch 1 ,mem_lpm_mult_cnt 
+2bc3 203a2be2 branch lpm_mult_long ,blank 
+2bc4 1fe0ffff increase -1 ,pdata 
+2bc5 6000c174 store 1 ,mem_lpm_mult_cnt 
+2bc6 20600000 rtn 
+
+classic_bt_set_mult_short_flag:
+2bc7 d8e00001 arg short_mult_flag ,queue 
+2bc8 202060cd branch classic_bluetooth_set_flag 
+
+classic_bt_clr_mult_short_flag:
+2bc9 d8e00001 arg short_mult_flag ,queue 
+2bca 202060d1 branch classic_bluetooth_clr_flag 
+
+lpm_match:
+2bcb 70415900 jam 0 ,mem_sniff_unint_lost 
+2bcc 6801c169 fetch 3 ,mem_sniff_rcv 
+2bcd 1fe0fe01 increase 1 ,pdata 
+2bce 6001c169 store 3 ,mem_sniff_rcv 
+2bcf 20600000 rtn 
+
+lpm_not_match:
+2bd0 44d74015 bpatch patch15_6 ,mem_patch15 
+2bd1 680940c1 fetcht 2 ,mem_rx_window_sniff 
+2bd2 18430400 rshift temp ,temp 
+2bd3 6801003e fetch 2 ,mem_rx_window 
+2bd4 9840fe00 iadd temp ,pdata 
+2bd5 6001003e store 2 ,mem_rx_window 
+
+lpm_lost:
+2bd6 7000a000 jam 0 ,mem_lpm_current_mult 
+2bd7 6801c16c fetch 3 ,mem_sniff_lost 
+2bd8 1fe0fe01 increase 1 ,pdata 
+2bd9 6001c16c store 3 ,mem_sniff_lost 
+2bda 6800c159 fetch 1 ,mem_sniff_unint_lost 
+2bdb 1fe0fe01 increase 1 ,pdata 
+2bdc 6000c159 store 1 ,mem_sniff_unint_lost 
+2bdd 20600000 rtn 
+
+lpm_mult_short:
+2bde 7000a000 jam 0 ,mem_lpm_current_mult 
+2bdf 6800c173 fetch 1 ,mem_lpm_mult_timeout 
+2be0 6000c174 store 1 ,mem_lpm_mult_cnt 
+2be1 20600000 rtn 
+
+lpm_mult_long:
+2be2 6808c172 fetcht 1 ,mem_lpm_mult 
+2be3 600880a0 storet 1 ,mem_lpm_current_mult 
+2be4 20600000 rtn 
+
+lpm_cal_xtal_startup:
+2be5 44d7c015 bpatch patch15_7 ,mem_patch15 
+2be6 6800c178 fetch 1 ,mem_lpm_xtalcnt 
+2be7 247a0000 nrtn blank 
+2be8 70804206 jam clksel_rc ,core_clksel 
+2be9 58000f0c setarg 0xf0c 
+2bea 20402c18 call lpm_write_config 
+2beb 58030d40 setarg 200000 
+2bec 20402a8f call sleep 
+2bed 37d98200 until null ,lpo_edge 
+2bee 1e226000 copy lpo_time ,alarm 
+2bef 204029e7 call xtal_fast_wake 
+2bf0 70804204 jam clksel_xtal ,core_clksel 
+2bf1 2000000a nop 10 
+2bf2 37d98200 until null ,lpo_edge 
+2bf3 1e227e00 deposit lpo_time 
+2bf4 9e067e00 isub alarm ,pdata 
+2bf5 1fe0fe30 increase 0x30 ,pdata 
+2bf6 d84000ff arg 0xff ,temp 
+2bf7 20407f91 call ceiling 
+2bf8 6000c178 store 1 ,mem_lpm_xtalcnt 
+2bf9 20007530 nop 30000 
+2bfa 20007530 nop 30000 
+2bfb 20007530 nop 30000 
+2bfc 20600000 rtn 
+
+lpm_cal_xtal_startup_by_snooze:
+2bfd 6800c178 fetch 1 ,mem_lpm_xtalcnt 
+2bfe 247a0000 nrtn blank 
+2bff 708044ff jam 0xff ,core_xtal_stable_time 
+2c00 70804206 jam clksel_rc ,core_clksel 
+2c01 204029e7 call xtal_fast_wake 
+2c02 580003e8 setarg 1000 
+2c03 9e20e000 iadd lpo_time ,alarm 
+2c04 07e00000 snooze 
+2c05 1e227e00 deposit lpo_time 
+2c06 20002ee0 nop 12000 
+2c07 20002ee0 nop 12000 
+2c08 20002ee0 nop 12000 
+2c09 20002ee0 nop 12000 
+2c0a 20002ee0 nop 12000 
+2c0b 20002ee0 nop 12000 
+2c0c 20002ee0 nop 12000 
+2c0d 20002ee0 nop 12000 
+2c0e 20002ee0 nop 12000 
+2c0f 9e067e00 isub alarm ,pdata 
+2c10 1fe0fe30 add pdata ,0x30 ,pdata 
+2c11 d84000ff arg 0xff ,temp 
+2c12 20407f91 call ceiling 
+2c13 6000c178 store 1 ,mem_lpm_xtalcnt 
+2c14 20007530 nop 30000 
+2c15 20007530 nop 30000 
+2c16 20007530 nop 30000 
+2c17 20600000 rtn 
+
+lpm_write_config:
+2c18 d8a00fff arg 0xfff ,contw 
+2c19 98a10a00 iand contw ,contw 
+2c1a 6800c175 fetch 1 ,mem_lpm_config 
+2c1b 1fe17ef0 and_into 0xf0 ,pdata 
+2c1c 1fed7e00 lshift8 pdata ,pdata 
+2c1d 98a1fe00 ior contw ,pdata 
+2c1e 6011004c hstore 2 ,core_lpm_reg 
+2c1f e8c10000 ifetch 2 ,contr 
+2c20 e0a10000 istore 2 ,contw 
+
+lpm_write_ctrl:
+2c21 58000001 setarg lpmreg_sel_ctrl 
+2c22 20202c24 branch lpm_write 
+
+lpm_write_ctrl2:
+2c23 58000002 setarg lpmreg_sel_ctrl2 
+
+lpm_write:
+2c24 37d98200 until null ,lpo_edge 
+2c25 60108005 hstore 1 ,core_lpm_wr 
+2c26 37d98200 until null ,lpo_edge 
+2c27 37d98200 until null ,lpo_edge 
+2c28 20600000 rtn 
+
+lpm_write_gpio_wakeup:
+2c29 44d84016 bpatch patch16_0 ,mem_patch16 
+2c2a 680200a1 fetch 4 ,mem_gpio_wakeup_low 
+2c2b 6012004c hstore 4 ,core_lpm_reg 
+2c2c 58000004 setarg lpmreg_sel_gpiolow 
+2c2d 20402c24 call lpm_write 
+2c2e 680200a5 fetch 4 ,mem_gpio_wakeup_high 
+2c2f 6012004c hstore 4 ,core_lpm_reg 
+2c30 58000008 setarg lpmreg_sel_gpiohigh 
+2c31 20202c24 branch lpm_write 
+
+lpm_get_wake_lock:
+2c32 68014152 fetch 2 ,mem_lpm_wake_lock 
+2c33 f9207e00 qset1 pdata 
+2c34 60014152 store 2 ,mem_lpm_wake_lock 
+2c35 20600000 rtn 
+
+lpm_put_wake_lock:
+2c36 68014152 fetch 2 ,mem_lpm_wake_lock 
+2c37 f93ffe00 qset0 pdata 
+2c38 60014152 store 2 ,mem_lpm_wake_lock 
+2c39 20600000 rtn 
+
+lpm_check_wake_lock:
+2c3a 44d8c016 bpatch patch16_1 ,mem_patch16 
+2c3b 20403326 call app_check_wake_lock 
+2c3c 68014152 fetch 2 ,mem_lpm_wake_lock 
+2c3d 1fe22200 copy pdata ,rega 
+2c3e 6800804c fetch 1 ,mem_state_map 
+2c3f 2feffe06 isolate1 smap_rxlmp ,pdata 
+2c40 7920a20b setflag true ,wake_lock_lmp_rx ,rega 
+2c41 68008078 fetch 1 ,mem_lmo_opcode1 
+2c42 6808807c fetcht 1 ,mem_lmo_opcode2 
+2c43 9840fe00 iadd temp ,pdata 
+2c44 68088048 fetcht 1 ,mem_lmp_to_send 
+2c45 9840fe00 iadd temp ,pdata 
+2c46 7d3a220a nsetflag blank ,wake_lock_lmp_tx ,rega 
+2c47 6800c4ff fetch 1 ,mem_le_tx_buff_used 
+2c48 7d3a2201 nsetflag blank ,wake_lock_ble_tx ,rega 
+2c49 6801025d fetch 2 ,mem_l2cap_rxbuff1_len 
+2c4a 6809025f fetcht 2 ,mem_l2cap_rxbuff2_len 
+2c4b 9840fe00 iadd temp ,pdata 
+2c4c 7d3a220d nsetflag blank ,wake_lock_l2cap_rx ,rega 
+2c4d 68044668 fetch util_fifo_len ,mem_ipc_fifo_bt2c51 
+2c4e 7d3a220f nsetflag blank ,wake_lock_ipc_bt2c51 ,rega 
+2c4f 68044670 fetch util_fifo_len ,mem_ipc_fifo_c512bt 
+2c50 7d3a220e nsetflag blank ,wake_lock_ipc_c512bt ,rega 
+2c51 6800c1ce fetch 1 ,mem_hci_cmd 
+2c52 7d3a2208 nsetflag blank ,wake_lock_cmd ,rega 
+2c53 6800c092 fetch 1 ,mem_device_option 
+2c54 2fe1fe0a compare dvc_op_module ,pdata ,0xff 
+2c55 2040ac5b call lpm_uart_wake_lock ,true 
+2c56 5ffffff8 setarg -8 
+2c57 9a212200 iand rega ,rega 
+2c58 1a227e00 copy rega ,pdata 
+2c59 60014152 store 2 ,mem_lpm_wake_lock 
+2c5a 20600000 rtn 
+
+lpm_uart_wake_lock:
+2c5b 68110112 hfetch 2 ,core_uart_rxitems 
+2c5c 7d3a2206 nsetflag blank ,wake_lock_uart_rx ,rega 
+2c5d 6811010e hfetch 2 ,core_uart_txitems 
+2c5e 7d3a2205 nsetflag blank ,wake_lock_uart_tx ,rega 
+2c5f 20600000 rtn 
+
+lpm_shut_down:
+2c60 68120138 hfetch 4 ,core_lpm_ctrl 
+2c61 793ffe1b set0 27 ,pdata 
+2c62 6012004c hstore 4 ,core_lpm_reg 
+2c63 20402c21 call lpm_write_ctrl 
+2c64 20202a8c branch assert 
+
+lpm_disable_exen_output:
+2c65 6812013c hfetch 4 ,core_lpm_xtalcnt 
+2c66 793ffe14 set0 20 ,pdata 
+2c67 6012004c hstore 4 ,core_lpm_reg 
+2c68 20202c23 branch lpm_write_ctrl2 
+
+check_bt_disabled:
+2c69 68014150 fetch 2 ,mem_chip_functions 
+2c6a c2802a8c bbit1 bt_disabled ,assert 
+2c6b 20600000 rtn 
+
+check_ble_disabled:
+2c6c 68014150 fetch 2 ,mem_chip_functions 
+2c6d c280aa8c bbit1 ble_disabled ,assert 
+2c6e 20600000 rtn 
+
+check_module_disabled:
+2c6f 68014150 fetch 2 ,mem_chip_functions 
+2c70 c2812a8c bbit1 module_disable ,assert 
+2c71 20600000 rtn 
+
+g24_dispatch:
+2c72 44d94016 bpatch patch16_2 ,mem_patch16 
+2c73 20402c7a call g24_head_ptr2regc 
+2c74 1a60a4cd add regc ,offset_24g_mode ,regb 
+2c75 ea408000 ifetch 1 ,regb 
+2c76 c1000000 rtneq disable_24g 
+2c77 c000ad06 beq tx_24g ,g24_transmit_process 
+2c78 c0012c7f beq rx_24g ,g24_receive_process 
+2c79 20600000 rtn 
+
+g24_head_ptr2regc:
+2c7a 68094241 fetcht 2 ,mem_24g_head_ptr 
+2c7b 18422600 copy temp ,regc 
+2c7c 20600000 rtn 
+
+g24_receive_process_init:
+2c7d 20402f3d call g24_receive_init 
+2c7e 2020307d branch g24_mode_switch_init 
+
+g24_receive_process:
+2c7f 20403084 call g24_mode_switch 
+2c80 2040305a call g24_dongle_work_mode_auto 
+2c81 2040305e call g24_dongle_bind_mode_auto 
+2c82 202030a2 branch g24_dongle_search_mode_auto 
+
+g24_pair_init:
+2c83 20403231 call g24_set0_mem_pid 
+2c84 5800004e setarg g24_pair_ch 
+2c85 2040322f call g24_store_mem_ch 
+2c86 204032ba call g24_store_mem_pair_txpower 
+2c87 1a60a292 add regc ,offset_24g_paring_addr ,rega 
+2c88 ea220000 ifetch 4 ,rega 
+2c89 2020322c branch g24_store_mem_addr 
+
+g24_ch:
+2c8a 20402c7a call g24_head_ptr2regc 
+2c8b 1a60a491 add regc ,offset_24g_current_ch_number ,regb 
+2c8c ea488000 ifetcht 1 ,regb 
+2c8d 20402c90 call g24_ch_temp_incre_size4 
+2c8e 1a608a91 add regc ,offset_24g_current_ch_number ,contw 
+2c8f 20202e56 branch g24_contw_istoret_1byte 
+
+g24_ch_temp_incre_size4:
+2c90 20402c94 call g24_ch_calc 
+2c91 18408401 increase 1 ,temp 
+2c92 18410403 and_into 3 ,temp 
+2c93 20600000 rtn 
+
+g24_ch_calc:
+2c94 1a60a4ae add regc ,offset_24g_addr ,regb 
+2c95 ea408000 ifetch 1 ,regb 
+2c96 1fe17e03 and_into 0x03 ,pdata 
+2c97 1fefa204 mul32 pdata ,4 ,rega 
+2c98 1a60fe97 add regc ,offset_24g_ch_map1 ,pdata 
+2c99 9a20fe00 iadd rega ,pdata 
+2c9a 98408c00 iadd temp ,contr 
+2c9b e8c08000 ifetch 1 ,contr 
+2c9c 2020322f branch g24_store_mem_ch 
+
+g24_set_device_addr:
+2c9d 2040326c call g24_store_mem_tx_power_temp 
+2c9e 2040666a call otp_enable_chgpump 
+2c9f 580007e2 setarg 0x7e2 
+2ca0 da200aa2 arg mem_temp ,rega 
+2ca1 d8400004 arg 4 ,temp 
+2ca2 204066b3 call otpd_read_data 
+2ca3 2040666d call otp_disable_chgpump 
+2ca4 68020aa2 fetch 4 ,mem_temp 
+2ca5 20403227 call g24_store_mem_device_addr 
+2ca6 247a0000 nrtn blank 
+2ca7 680240a0 fetch 4 ,mem_lap 
+2ca8 20203227 branch g24_store_mem_device_addr 
+
+g24_transmit_rf_sta_init:
+2ca9 20403241 call g24_set1_mem_rf_last_sta 
+2caa 58000000 setarg 0 
+2cab 2040323f call g24_store_mem_sync_cnt 
+
+g24_transmit_rf_ctrl_clear:
+2cac 2040323a call g24_fetch_mem_data_type 
+2cad 1fe17e07 and_into bits_data ,pdata 
+2cae 2020323c branch g24_store_mem_data_type 
+
+g24_hop_ch_enable:
+2caf 2040323a call g24_fetch_mem_data_type 
+2cb0 79207e04 set1 bit_hop ,pdata 
+2cb1 2040323c call g24_store_mem_data_type 
+2cb2 20203235 branch g24_store_mem_txpayload 
+
+g24_transmit_hop_pac_fail:
+2cb3 2040325d call g24_fetch_mem_rf_work_stage 
+2cb4 c000acb7 beq 1 ,g24_transmit_hop_pac_fail_wo_hop 
+2cb5 c0012cbc beq 2 ,g24_transmit_hop_pac_fail_hop_stage2 
+2cb6 20600000 rtn 
+
+g24_transmit_hop_pac_fail_wo_hop:
+2cb7 2040323e call g24_set2_mem_sync_cnt 
+
+g24_transmit_hop_pac_fail_stage1:
+2cb8 1a608ad1 add regc ,offset_24g_hop_pac_retry ,contw 
+2cb9 204032d6 call g24_mem_set0 
+2cba 20403242 call g24_store_mem_rf_last_sta 
+2cbb 20202cac branch g24_transmit_rf_ctrl_clear 
+
+g24_transmit_hop_pac_fail_hop_stage2:
+2cbc 2040325a call g24_set0_mem_rf_hop_ch 
+2cbd 20202cb8 branch g24_transmit_hop_pac_fail_stage1 
+
+g24_transmit_pac_fail_hop_stage3:
+2cbe 1a60a28c add regc ,offset_24g_txfail_cnt ,rega 
+2cbf ea208000 ifetch 1 ,rega 
+2cc0 1fe0fe01 increase 1 ,pdata 
+2cc1 1a608a8c add regc ,offset_24g_txfail_cnt ,contw 
+2cc2 e0a08000 istore 1 ,contw 
+2cc3 c0102dd2 beq 0x20 ,g24_tx_attempt_fail 
+2cc4 20403258 call g24_fetch_mem_rf_hop_ch 
+2cc5 c000acca beq 1 ,g24_rf_hop_fastly 
+2cc6 58000001 setarg 1 
+2cc7 2040325b call g24_store_mem_rf_hop_ch 
+
+g24_rf_hop_attemp_again:
+2cc8 20403258 call g24_fetch_mem_rf_hop_ch 
+2cc9 c080acac bne 1 ,g24_transmit_rf_ctrl_clear 
+
+g24_rf_hop_fastly:
+2cca 1a60a2d3 add regc ,offset_24g_hop_fastly_cnt ,rega 
+2ccb ea208000 ifetch 1 ,rega 
+2ccc 1fe0fe01 increase 1 ,pdata 
+2ccd 20402cd5 call g24_store_mem_hop_fastly_cnt 
+2cce c0022cd2 beq 4 ,g24_rf_hop_fastly_exit 
+2ccf 20402c8a call g24_ch 
+2cd0 20402d04 call g24_set2_mem_max_retry 
+2cd1 20202d8f branch g24_transmit_packet 
+
+g24_rf_hop_fastly_exit:
+2cd2 20402cd4 call g24_set0_mem_hop_fastly_cnt 
+2cd3 20202cac branch g24_transmit_rf_ctrl_clear 
+
+g24_set0_mem_hop_fastly_cnt:
+2cd4 58000000 setarg 0 
+
+g24_store_mem_hop_fastly_cnt:
+2cd5 1a608ad3 add regc ,offset_24g_hop_fastly_cnt ,contw 
+2cd6 202032b4 branch g24_contw_istore_1byte 
+
+g24_transmit_hop_pac_succ_wo_hop:
+2cd7 2040323e call g24_set2_mem_sync_cnt 
+
+g24_transmit_hop_pac_succ:
+2cd8 2040325a call g24_set0_mem_rf_hop_ch 
+2cd9 20403241 call g24_set1_mem_rf_last_sta 
+2cda 20202cac branch g24_transmit_rf_ctrl_clear 
+
+g24_transmit_succ_rf_config:
+2cdb 2040325d call g24_fetch_mem_rf_work_stage 
+2cdc c001acd8 beq 3 ,g24_transmit_hop_pac_succ 
+2cdd 2040323a call g24_fetch_mem_data_type 
+2cde 2fec0004 isolate0 bit_hop ,pdata 
+2cdf 2020aca9 branch g24_transmit_rf_sta_init ,true 
+2ce0 2040325d call g24_fetch_mem_rf_work_stage 
+2ce1 c000acd7 beq 1 ,g24_transmit_hop_pac_succ_wo_hop 
+2ce2 c0012cd8 beq 2 ,g24_transmit_hop_pac_succ 
+2ce3 20600000 rtn 
+
+g24_rf_sta_check:
+2ce4 20403253 call g24_fetch_mem_pairing_sm 
+2ce5 c1ff8000 rtnne state_24g_pairing_success 
+2ce6 20402ce9 call g24_rf_laststa_synccnt_check 
+2ce7 24562cf4 ncall g24_rf_sync_cnt_check ,user2 
+2ce8 20600000 rtn 
+
+g24_rf_laststa_synccnt_check:
+2ce9 78567c00 disable user2 
+2cea 1a60a2ce add regc ,offset_24g_rf_last_sta ,rega 
+2ceb ea208000 ifetch 1 ,rega 
+2cec c1808000 rtnne 1 
+2ced 1a60a2d0 add regc ,offset_24g_sync_cnt ,rega 
+2cee ea208000 ifetch 1 ,rega 
+2cef c1800000 rtnne 0 
+2cf0 58000001 setarg 1 
+2cf1 20402cfd call g24_store_mem_rf_work_stage 
+2cf2 20403237 call g24_set4_mem_max_retry 
+2cf3 20207feb branch enable_user2 
+
+g24_rf_sync_cnt_check:
+2cf4 1a60a2d0 add regc ,offset_24g_sync_cnt ,rega 
+2cf5 ea208000 ifetch 1 ,rega 
+2cf6 203a2cff branch g24_rf_hop_attemp ,blank 
+2cf7 1fe0ffff increase -1 ,pdata 
+2cf8 2040323f call g24_store_mem_sync_cnt 
+2cf9 58000002 setarg 2 
+2cfa 20402cfd call g24_store_mem_rf_work_stage 
+2cfb 20402c8a call g24_ch 
+2cfc 20203237 branch g24_set4_mem_max_retry 
+
+g24_store_mem_rf_work_stage:
+2cfd 1a608ad2 add regc ,offset_24g_rf_work_stage ,contw 
+2cfe 202032b4 branch g24_contw_istore_1byte 
+
+g24_rf_hop_attemp:
+2cff 58000003 setarg 3 
+2d00 20402cfd call g24_store_mem_rf_work_stage 
+2d01 20403258 call g24_fetch_mem_rf_hop_ch 
+2d02 243a2cc8 nbranch g24_rf_hop_attemp_again ,blank 
+2d03 20402c8a call g24_ch 
+
+g24_set2_mem_max_retry:
+2d04 58000002 setarg 2 
+2d05 20203238 branch g24_store_mem_max_retry 
+
+g24_transmit_process:
+2d06 c6930000 rtnmark0 mark_24g 
+2d07 79200027 set1 mark_24g_conext ,mark 
+2d08 44d9c016 bpatch patch16_3 ,mem_patch16 
+2d09 1a60a28e add regc ,offset_24g_tx_without_int ,rega 
+2d0a ea208000 ifetch 1 ,rega 
+2d0b c000ad0f beq 1 ,g24_transmit_without_int 
+2d0c 2040306a call g24_timer_check 
+2d0d 24342d16 nbranch g24_transmit_exit ,user 
+2d0e 20402d1b call g24_interval_calibrate 
+
+g24_transmit_without_int:
+2d0f 1a608a8e add regc ,offset_24g_tx_without_int ,contw 
+2d10 204032d6 call g24_mem_set0 
+2d11 20402d2c call g24_txdata_prep 
+2d12 24342d7d nbranch g24_enter_lpm ,user 
+2d13 20402ce4 call g24_rf_sta_check 
+
+g24_transmit_start:
+2d14 20402d8f call g24_transmit_packet 
+2d15 20402e7a call g24_power_ctrl 
+
+g24_transmit_exit:
+2d16 793f8027 set0 mark_24g_conext ,mark 
+2d17 20600000 rtn 
+
+g24_timer_timeout:
+2d18 20628000 rtn zero 
+2d19 79207e1c set1 28 ,pdata 
+2d1a 20600000 rtn 
+
+g24_interval_calibrate:
+2d1b 1a60a2c2 add regc ,offset_24g_pac_index ,rega 
+2d1c ea208000 ifetch 1 ,rega 
+2d1d 1fe0fe01 increase 1 ,pdata 
+2d1e 1a608ac2 add regc ,offset_24g_pac_index ,contw 
+2d1f e0a08000 istore 1 ,contw 
+2d20 c0022d23 beq 4 ,g24_interval_max 
+2d21 c002ad27 beq 5 ,g24_interval_min 
+2d22 20600000 rtn 
+
+g24_interval_max:
+2d23 1a60a2ad add regc ,offset_24g_interval_max ,rega 
+2d24 ea208000 ifetch 1 ,rega 
+
+g24_interval_update:
+2d25 1a608aab add regc ,offset_24g_interval ,contw 
+2d26 202032b4 branch g24_contw_istore_1byte 
+
+g24_interval_min:
+2d27 1a608ac2 add regc ,offset_24g_pac_index ,contw 
+2d28 204032d6 call g24_mem_set0 
+2d29 1a60a2ac add regc ,offset_24g_interval_min ,rega 
+2d2a ea208000 ifetch 1 ,rega 
+2d2b 20202d25 branch g24_interval_update 
+
+g24_txdata_prep:
+2d2c 20403253 call g24_fetch_mem_pairing_sm 
+2d2d c0ffaeb1 bne state_24g_pairing_success ,g24_pairing_sm 
+2d2e 44da4016 bpatch patch16_4 ,mem_patch16 
+2d2f 20402d3a call g24_package_data 
+2d30 24342d36 nbranch g24_txdata_last_pac ,user 
+2d31 20402d53 call g24_transmit_prep 
+2d32 20402e71 call g24_power_ctrl_pac_incrs 
+
+g24_txdata_enable_tx:
+2d33 58000001 setarg ensure_on_24g 
+
+g24_store_mem_ensure:
+2d34 1a608a8b add regc ,offset_24g_ensure ,contw 
+2d35 202032b4 branch g24_contw_istore_1byte 
+
+g24_txdata_last_pac:
+2d36 1a60a28b add regc ,offset_24g_ensure ,rega 
+2d37 ea208000 ifetch 1 ,rega 
+2d38 c000ffe7 beq ensure_on_24g ,enable_user 
+2d39 20600000 rtn 
+
+g24_package_data:
+2d3a 1a6084d8 add regc ,offset_24g_cb_data ,temp 
+2d3b e8410000 ifetch 2 ,temp 
+2d3c 20407f9c call callback_func 
+2d3d 24740000 nrtn user 
+2d3e 1a227e00 copy rega ,pdata 
+2d3f 60008aae store 1 ,mem_rega 
+2d40 1a608ab2 add regc ,offset_24g_abort_pac ,contw 
+2d41 204032d6 call g24_mem_set0 
+2d42 20402cac call g24_transmit_rf_ctrl_clear 
+2d43 6000919e store 1 ,mem_24g_common_temp 
+2d44 68008aae fetch 1 ,mem_rega 
+2d45 1fe22200 copy pdata ,rega 
+2d46 1a208401 add rega ,1 ,temp 
+2d47 d8a0119f arg mem_24g_common_temp + 1 ,contw 
+2d48 1a227200 copy rega ,loopcnt 
+2d49 1a420c00 copy regb ,contr 
+2d4a 20407f01 call memcpy 
+2d4b da20119e arg mem_24g_common_temp ,rega 
+
+g24_put_data_in_buff:
+2d4c c6938000 rtnmark0 mark_24g_conext 
+2d4d 1a608a86 add regc ,offset_24g_datalen ,contw 
+2d4e e0a88000 istoret 1 ,contw 
+2d4f 18427200 copy temp ,loopcnt 
+2d50 1a608a22 add regc ,offset_24g_txbuf ,contw 
+2d51 1a220c00 copy rega ,contr 
+2d52 20207f01 branch memcpy 
+
+g24_transmit_prep:
+2d53 1a60a286 add regc ,offset_24g_datalen ,rega 
+2d54 ea208000 ifetch 1 ,rega 
+2d55 1fe0fe02 increase 2 ,pdata 
+2d56 1a608a88 add regc ,offset_24g_txlen ,contw 
+2d57 e0a08000 istore 1 ,contw 
+2d58 2040323a call g24_fetch_mem_data_type 
+2d59 20403235 call g24_store_mem_txpayload 
+2d5a 1a60a286 add regc ,offset_24g_datalen ,rega 
+2d5b ea208000 ifetch 1 ,rega 
+2d5c 1fe9fe00 lshift3 pdata ,pdata 
+2d5d 1a60a285 add regc ,offset_24g_pid ,rega 
+2d5e ea288000 ifetcht 1 ,rega 
+2d5f 18410403 and temp ,0x03 ,temp 
+2d60 18438400 lshift temp ,temp 
+2d61 9841fe00 ior temp ,pdata 
+2d62 1a60a2c3 add regc ,offset_24g_no_ack ,rega 
+2d63 ea288000 ifetcht 1 ,rega 
+2d64 9840fe00 iadd temp ,pdata 
+2d65 e0a08000 istore 1 ,contw 
+2d66 1a60a286 add regc ,offset_24g_datalen ,rega 
+2d67 ea208000 ifetch 1 ,rega 
+2d68 98007200 iforce loopcnt 
+2d69 1a608c22 add regc ,offset_24g_txbuf ,contr 
+2d6a 20207f01 branch memcpy 
+
+g24_send_abort_packet:
+2d6b 2040324f call g24_set1_mem_abort_pac 
+2d6c 2040325a call g24_set0_mem_rf_hop_ch 
+2d6d 20402e6d call g24_power_ctrl_reinit 
+2d6e 20402cac call g24_transmit_rf_ctrl_clear 
+2d6f 6000919e store 1 ,mem_24g_common_temp 
+2d70 20402d77 call g24_put_data_in_buff_pre 
+2d71 2040323a call g24_fetch_mem_data_type 
+2d72 79207e03 set1 bit_abort ,pdata 
+2d73 2040323c call g24_store_mem_data_type 
+2d74 20402d53 call g24_transmit_prep 
+2d75 20402d33 call g24_txdata_enable_tx 
+2d76 20202d14 branch g24_transmit_start 
+
+g24_put_data_in_buff_pre:
+2d77 6000919f store 1 ,mem_24g_common_temp + 1 
+2d78 20403224 call g24_fetch_mem_device_addr 
+2d79 600211a0 store 4 ,mem_24g_common_temp + 2 
+2d7a d8400006 arg 6 ,temp 
+2d7b da20119e arg mem_24g_common_temp ,rega 
+2d7c 20202d4c branch g24_put_data_in_buff 
+
+g24_enter_lpm:
+2d7d 1a60a2b2 add regc ,offset_24g_abort_pac ,rega 
+2d7e ea208000 ifetch 1 ,rega 
+2d7f 203a2d6b branch g24_send_abort_packet ,blank 
+
+g24_enter_lpm_prepare:
+2d80 1a60a2da add regc ,offset_24g_cb_lpm_prepare ,rega 
+2d81 ea210000 ifetch 2 ,rega 
+2d82 20207f9c branch callback_func 
+
+g24_lpm_long_sleep:
+2d83 20402c7a call g24_head_ptr2regc 
+2d84 20402afa call lpo_calibration 
+2d85 6801c16f fetch 3 ,mem_clks_per_lpo 
+2d86 207a0000 rtn blank 
+2d87 1a6084dc add regc ,offset_24g_cb_lpm_before ,temp 
+2d88 e8410000 ifetch 2 ,temp 
+2d89 20407f9c call callback_func 
+2d8a 1a6084b6 add regc ,offset_24g_enter_hibernate ,temp 
+2d8b e8440000 ifetch 8 ,temp 
+2d8c 20407f49 call clk2lpo 
+2d8d 600a415b storet 4 ,mem_sleep_counter 
+2d8e 20202b2a branch lpm_sleep 
+
+g24_transmit_packet:
+2d8f 20402c7a call g24_head_ptr2regc 
+2d90 1a608a8f add regc ,offset_24g_retry ,contw 
+2d91 204032d6 call g24_mem_set0 
+
+g24_transmit_loop:
+2d92 20402da4 call g24_transmit_receive_ack 
+2d93 242c2dae nbranch g24_retransmit ,sync 
+2d94 2437adae nbranch g24_retransmit ,user3 
+2d95 20402dd6 call g24_ackpayload_parse 
+2d96 20402e75 call g24_power_ctrl_ack_incrs 
+
+g24_transmit_next_packet:
+2d97 20402c7a call g24_head_ptr2regc 
+2d98 1a60a285 add regc ,offset_24g_pid ,rega 
+2d99 ea208000 ifetch 1 ,rega 
+2d9a 1fe0fe01 increase 1 ,pdata 
+2d9b 20403232 call g24_store_mem_pid 
+2d9c 20403253 call g24_fetch_mem_pairing_sm 
+2d9d c0ffaed0 bne state_24g_pairing_success ,g24_paring_mode 
+2d9e 20402cdb call g24_transmit_succ_rf_config 
+
+g24_transmit_abandon:
+2d9f 58000000 setarg 0 
+2da0 1a608a8c add regc ,offset_24g_txfail_cnt ,contw 
+2da1 e0a10000 istore 2 ,contw 
+2da2 58000000 setarg ensure_off_24g 
+2da3 20202d34 branch g24_store_mem_ensure 
+
+g24_transmit_receive_ack:
+2da4 7857fc00 disable user3 
+2da5 20402df7 call g24_transmit 
+2da6 20402c7a call g24_head_ptr2regc 
+2da7 1a60a2c3 add regc ,offset_24g_no_ack ,rega 
+2da8 ea208000 ifetch 1 ,rega 
+2da9 c000adac beq no_ack_24g ,g24_transmit_no_ack 
+2daa 20402e11 call g24_receive_packet 
+2dab 20202e45 branch g24_end_of_packet 
+
+g24_transmit_no_ack:
+2dac 20402e45 call g24_end_of_packet 
+2dad 20202d97 branch g24_transmit_next_packet 
+
+g24_retransmit:
+2dae 44dac016 bpatch patch16_5 ,mem_patch16 
+2daf 1a60a28d add regc ,offset_24g_get_ack_fail ,rega 
+2db0 ea208000 ifetch 1 ,rega 
+2db1 1fe0fe01 increase 1 ,pdata 
+2db2 1a608a8d add regc ,offset_24g_get_ack_fail ,contw 
+2db3 e0a08000 istore 1 ,contw 
+2db4 20403253 call g24_fetch_mem_pairing_sm 
+2db5 c0ffadcc bne state_24g_pairing_success ,g24_tx_paring_retry 
+2db6 1a60a28f add regc ,offset_24g_retry ,rega 
+2db7 ea288000 ifetcht 1 ,rega 
+2db8 18408401 increase 1 ,temp 
+2db9 1a608a8f add regc ,offset_24g_retry ,contw 
+2dba e0a88000 istoret 1 ,contw 
+2dbb 1a60a2cc add regc ,offset_24g_max_retry ,rega 
+2dbc ea208000 ifetch 1 ,rega 
+2dbd 98467e00 isub temp ,pdata 
+2dbe 243a2d92 nbranch g24_transmit_loop ,blank 
+2dbf 44db4016 bpatch patch16_6 ,mem_patch16 
+2dc0 2040325d call g24_fetch_mem_rf_work_stage 
+2dc1 c001acbe beq 3 ,g24_transmit_pac_fail_hop_stage3 
+2dc2 1a60a2d1 add regc ,offset_24g_hop_pac_retry ,rega 
+2dc3 ea208000 ifetch 1 ,rega 
+2dc4 1fe0fe01 increase 1 ,pdata 
+2dc5 1a608ad1 add regc ,offset_24g_hop_pac_retry ,contw 
+2dc6 e0a08000 istore 1 ,contw 
+2dc7 c0012cb3 beq 2 ,g24_transmit_hop_pac_fail 
+2dc8 20402caf call g24_hop_ch_enable 
+2dc9 58000001 setarg 1 
+2dca 20403238 call g24_store_mem_max_retry 
+2dcb 20202d8f branch g24_transmit_packet 
+
+g24_tx_paring_retry:
+2dcc 1a60a28d add regc ,offset_24g_get_ack_fail ,rega 
+2dcd ea208000 ifetch 1 ,rega 
+2dce c1ff8000 rtnne 0xff 
+2dcf 1a608a8d add regc ,offset_24g_get_ack_fail ,contw 
+2dd0 204032d6 call g24_mem_set0 
+2dd1 20202dd4 branch g24_stop_24g_mode 
+
+g24_tx_attempt_fail:
+2dd2 1a608a8c add regc ,offset_24g_txfail_cnt ,contw 
+2dd3 204032d6 call g24_mem_set0 
+
+g24_stop_24g_mode:
+2dd4 700a993a jam bt_evt_24g_attempt_fail ,mem_fifo_temp 
+2dd5 20207d86 branch ui_ipc_send_event 
+
+g24_ackpayload_parse:
+2dd6 20402dde call g24_read_len_pid_crc 
+2dd7 1a60a284 add regc ,offset_24g_rxdata_length ,rega 
+2dd8 ea208000 ifetch 1 ,rega 
+2dd9 207a0000 rtn blank 
+2dda 98007200 iforce loopcnt 
+2ddb 1a608c02 add regc ,offset_24g_rxbuf_add2 ,contr 
+2ddc 1a608a64 add regc ,offset_24g_rxpayload ,contw 
+2ddd 20207f01 branch memcpy 
+
+g24_read_len_pid_crc:
+2dde 2040325f call g24_fetch_mem_rxbuf_add1 
+2ddf 1fe97e00 rshift3 pdata ,pdata 
+2de0 1a608a84 add regc ,offset_24g_rxdata_length ,contw 
+2de1 e0a08000 istore 1 ,contw 
+2de2 1fe0fe01 increase 1 ,pdata 
+2de3 1a608c01 add regc ,offset_24g_rxbuf_add1 ,contr 
+2de4 98c08c00 iadd contr ,contr 
+2de5 e8c18000 ifetch 3 ,contr 
+2de6 1a608ac4 add regc ,offset_24g_sta_crc ,contw 
+2de7 e0a18000 istore 3 ,contw 
+2de8 2040325f call g24_fetch_mem_rxbuf_add1 
+2de9 1fe37e00 rshift pdata ,pdata 
+2dea 1fe17e03 and pdata ,0x03 ,pdata 
+2deb 1a608aca add regc ,offset_24g_sta_pid ,contw 
+2dec e0a08000 istore 1 ,contw 
+2ded 20600000 rtn 
+
+g24_prep:
+2dee 7844fc00 disable enable_crc 
+2def 7843fc00 disable enable_white 
+2df0 58555555 setarg 0x555555 
+2df1 98001e00 iforce crc24_init 
+2df2 20600000 rtn 
+
+g24_set_freq_tx:
+2df3 20402918 call set_sync_on 
+2df4 1a60a290 add regc ,offset_24g_ch ,rega 
+2df5 ea288000 ifetcht 1 ,rega 
+2df6 20202933 branch set_freq_tx 
+
+g24_transmit:
+2df7 20402dee call g24_prep 
+2df8 20402df3 call g24_set_freq_tx 
+2df9 79202a00 set1 txgfsk ,radio_ctrl 
+2dfa 782efc00 enable encode_fec0 
+2dfb 78307c00 enable is_tx 
+2dfc 7850fc00 disable is_rx 
+2dfd 204053c4 call le_enable 
+2dfe 2040322a call g24_fetch_mem_addr 
+2dff 98001200 iforce access 
+2e00 08008620 inject mod ,32 
+2e01 7824fc00 enable enable_crc 
+2e02 1a60a288 add regc ,offset_24g_txlen ,rega 
+2e03 ea208000 ifetch 1 ,rega 
+2e04 98007200 iforce loopcnt 
+2e05 1a608c42 add regc ,offset_24g_txpayload ,contr 
+
+g24tr_loop:
+2e06 e8c08000 ifetch 1 ,contr 
+2e07 08008608 inject mod ,8 
+2e08 c2002e06 loop g24tr_loop 
+2e09 78247c00 enable enable_parity 
+2e0a 08008618 inject mod ,24 
+2e0b 78447c00 disable enable_parity 
+2e0c 37d38200 until null ,tx_clear 
+2e0d 44dbc016 bpatch patch16_7 ,mem_patch16 
+2e0e 20000064 nop 100 
+2e0f 784efc00 disable encode_fec0 
+2e10 20600000 rtn 
+
+g24_receive_packet:
+2e11 7857fc00 disable user3 
+2e12 18002a00 force 0 ,radio_ctrl 
+2e13 1a60a290 add regc ,offset_24g_ch ,rega 
+2e14 ea288000 ifetcht 1 ,rega 
+2e15 2040291f call set_freq_rx 
+2e16 20402924 call rf_rx_enable 
+
+g24_receive_rxon:
+2e17 20402dee call g24_prep 
+2e18 7826fc00 enable decode_fec0 
+2e19 7830fc00 enable is_rx 
+2e1a 78507c00 disable is_tx 
+2e1b 204053c4 call le_enable 
+2e1c 2040322a call g24_fetch_mem_addr 
+2e1d 98001200 iforce access 
+2e1e 78287c00 enable swfine 
+2e1f 1a60a289 add regc ,offset_24g_rx_window ,rega 
+2e20 ea210000 ifetch 2 ,rega 
+2e21 98003600 iforce stop_watch 
+2e22 37c18400 correlate null ,timeout 
+2e23 242c2e4d nbranch g24_sync_timeout ,sync 
+2e24 7824fc00 enable enable_crc 
+2e25 09800008 parse demod ,bucket ,8 
+2e26 19897e00 rshift3 pwindow ,pdata 
+2e27 1a608a00 add regc ,offset_24g_rxbuf ,contw 
+2e28 e0a08000 istore 1 ,contw 
+2e29 1a60a2cd add regc ,offset_24g_mode ,rega 
+2e2a ea208000 ifetch 1 ,rega 
+2e2b c0012e33 beq rx_24g ,g24_receive_skip 
+2e2c 44dc4017 bpatch patch17_0 ,mem_patch17 
+2e2d 1a60a200 add regc ,offset_24g_rxbuf ,rega 
+2e2e ea208000 ifetch 1 ,rega 
+2e2f 1a60a287 add regc ,offset_24g_data_type ,rega 
+2e30 ea288000 ifetcht 1 ,rega 
+2e31 a8400e00 icompare bits_data ,temp 
+2e32 2420ae45 nbranch g24_end_of_packet ,true 
+
+g24_receive_skip:
+2e33 09800008 parse demod ,bucket ,8 
+2e34 19897e00 rshift3 pwindow ,pdata 
+2e35 e0a08000 istore 1 ,contw 
+2e36 1fe97e00 rshift3 pdata ,pdata 
+2e37 1fe1721f and pdata ,0x1f ,loopcnt 
+2e38 2022ae3d branch g24rx_nopayload ,zero 
+
+g24rx_loop:
+2e39 09800008 parse demod ,bucket ,8 
+2e3a 19897e00 rshift3 pwindow ,pdata 
+2e3b e0a08000 istore 1 ,contw 
+2e3c c2002e39 loop g24rx_loop 
+
+g24rx_nopayload:
+2e3d 09800018 parse demod ,bucket ,24 
+2e3e 1fef7e00 rshift32 pdata ,pdata 
+2e3f 1ff17e00 rshift16 pdata ,pdata 
+2e40 e0a18000 istore 3 ,contw 
+2e41 20232e45 branch g24_end_of_packet ,crc_failed 
+2e42 7837fc00 enable user3 
+2e43 7846fc00 disable decode_fec0 
+2e44 20600000 rtn 
+
+g24_end_of_packet:
+2e45 784efc00 disable encode_fec0 
+2e46 7846fc00 disable decode_fec0 
+2e47 7844fc00 disable enable_crc 
+2e48 7843fc00 disable enable_white 
+2e49 2030a8f9 branch shutdown_radio ,is_rx 
+2e4a 37d38200 until null ,tx_clear 
+2e4b 20000064 nop 100 
+2e4c 202028f9 branch shutdown_radio 
+
+g24_sync_timeout:
+2e4d 20402e4f call rssi_noise 
+2e4e 20202e45 branch g24_end_of_packet 
+
+rssi_noise:
+2e4f 204029bb call save_rssi 
+2e50 207a0000 rtn blank 
+2e51 1a60a2ea add regc ,offset_rssi_noise_index ,rega 
+2e52 ea288000 ifetcht 1 ,rega 
+2e53 da200d9e arg mem_rssi_noise_buffer ,rega 
+2e54 20402e58 call rssi_noise_store 
+2e55 1a608aea add regc ,offset_rssi_noise_index ,contw 
+
+g24_contw_istoret_1byte:
+2e56 e0a88000 istoret 1 ,contw 
+2e57 20600000 rtn 
+
+rssi_noise_store:
+2e58 da4000ff arg rssi_buf_len_noise ,regb 
+2e59 20202e5a branch rssi_store 
+
+rssi_store:
+2e5a 1a227e00 copy rega ,pdata 
+2e5b 98408a00 iadd temp ,contw 
+2e5c 68008018 fetch 1 ,mem_rssi 
+2e5d e0a08000 istore 1 ,contw 
+2e5e 18408401 increase 1 ,temp 
+2e5f 1a427e00 copy regb ,pdata 
+2e60 98410400 iand_into temp 
+2e61 20600000 rtn 
+
+rssi_average:
+2e62 d8400000 arg 0 ,temp 
+2e63 1a220c00 copy rega ,contr 
+
+rssi_average_loop:
+2e64 e8c08000 ifetch 1 ,contr 
+2e65 98408400 iadd temp ,temp 
+2e66 c2002e64 loop rssi_average_loop 
+2e67 184c8400 rshift8 temp ,temp 
+2e68 20600000 rtn 
+
+g24_power_ctrl_init:
+2e69 20402c7a call g24_head_ptr2regc 
+2e6a 20402e9f call g24_power_ctrl_incrs_level1 
+2e6b 58000001 setarg 1 
+2e6c 20403272 call g24_store_mem_power_ctrl_level 
+
+g24_power_ctrl_reinit:
+2e6d 58000000 setarg 0 
+2e6e 20402e73 call g24_store_mem_power_ctrl_pac 
+2e6f e0a08000 istore 1 ,contw 
+2e70 20600000 rtn 
+
+g24_power_ctrl_pac_incrs:
+2e71 20403270 call g24_fetch_mem_power_ctrl_pac 
+2e72 1fe0fe01 increase 1 ,pdata 
+
+g24_store_mem_power_ctrl_pac:
+2e73 1a608afc add regc ,offset_power_ctrl_packet_cnt ,contw 
+2e74 202032b4 branch g24_contw_istore_1byte 
+
+g24_power_ctrl_ack_incrs:
+2e75 1a60a2fd add regc ,offset_power_ctrl_ack_cnt ,rega 
+2e76 ea208000 ifetch 1 ,rega 
+2e77 1fe0fe01 increase 1 ,pdata 
+2e78 1a608afd add regc ,offset_power_ctrl_ack_cnt ,contw 
+2e79 202032b4 branch g24_contw_istore_1byte 
+
+g24_power_ctrl:
+2e7a 44dcc017 bpatch patch17_1 ,mem_patch17 
+2e7b 20403270 call g24_fetch_mem_power_ctrl_pac 
+2e7c 1fe67c7c sub pdata ,power_ctrl_max_packet_cnt ,null 
+2e7d 20610000 rtn positive 
+2e7e 1a60a2fd add regc ,offset_power_ctrl_ack_cnt ,rega 
+2e7f ea288000 ifetcht 1 ,rega 
+2e80 98460400 isub temp ,temp 
+2e81 20402e6d call g24_power_ctrl_reinit 
+2e82 58000102 setarg offset_power_ctrl_threshold_up 
+2e83 9a60a200 iadd regc ,rega 
+2e84 ea208000 ifetch 1 ,rega 
+2e85 98467c00 isub temp ,null 
+2e86 24212e8d nbranch g24_power_ctrl_incrs ,positive 
+2e87 58000103 setarg offset_power_ctrl_threshold_down 
+2e88 9a60a200 iadd regc ,rega 
+2e89 ea208000 ifetch 1 ,rega 
+2e8a 98467c00 isub temp ,null 
+2e8b 20212e99 branch g24_power_ctrl_decrs ,positive 
+2e8c 20600000 rtn 
+
+g24_power_ctrl_incrs:
+2e8d 1a60a2fe add regc ,offset_power_ctrl_level ,rega 
+2e8e ea208000 ifetch 1 ,rega 
+2e8f c0012e93 beq 2 ,g24_power_ctrl_incrs_level2 
+2e90 1fe0fe01 increase 1 ,pdata 
+2e91 20403272 call g24_store_mem_power_ctrl_level 
+2e92 c000ae9f beq 1 ,g24_power_ctrl_incrs_level1 
+
+g24_power_ctrl_incrs_level2:
+2e93 5800000a setarg power_ctrl_losspac_thresh_up2 
+2e94 204032b0 call g24_store_mem_power_ctrl_threshold_up 
+2e95 58000000 setarg power_ctrl_losspac_thresh_down2 
+2e96 204032b2 call g24_store_mem_power_ctrl_threshold_down 
+2e97 1a60a2ff add regc ,offset_power_ctrl_txpwr_level2 ,rega 
+2e98 20202ea5 branch g24_ifetch_rega_store_mem_txpower 
+
+g24_power_ctrl_decrs:
+2e99 1a60a2fe add regc ,offset_power_ctrl_level ,rega 
+2e9a ea208000 ifetch 1 ,rega 
+2e9b c0002ea7 beq 0 ,g24_power_ctrl_decrs_level0 
+2e9c 1fe0ffff increase -1 ,pdata 
+2e9d 20403272 call g24_store_mem_power_ctrl_level 
+2e9e c0002ea7 beq 0 ,g24_power_ctrl_decrs_level0 
+
+g24_power_ctrl_decrs_level1:
+
+g24_power_ctrl_incrs_level1:
+2e9f 58000005 setarg power_ctrl_losspac_thresh_up1 
+2ea0 204032b0 call g24_store_mem_power_ctrl_threshold_up 
+2ea1 58000000 setarg power_ctrl_losspac_thresh_down1 
+2ea2 204032b2 call g24_store_mem_power_ctrl_threshold_down 
+2ea3 58000100 setarg offset_power_ctrl_txpwr_level1 
+
+g24_iadd_offset_mem_txpower:
+2ea4 9a60a200 iadd regc ,rega 
+
+g24_ifetch_rega_store_mem_txpower:
+2ea5 ea208000 ifetch 1 ,rega 
+2ea6 2020326a branch g24_store_mem_txpower 
+
+g24_power_ctrl_decrs_level0:
+2ea7 58000002 setarg power_ctrl_losspac_thresh_up0 
+2ea8 204032b0 call g24_store_mem_power_ctrl_threshold_up 
+2ea9 58000000 setarg power_ctrl_losspac_thresh_down0 
+2eaa 204032b2 call g24_store_mem_power_ctrl_threshold_down 
+2eab 58000101 setarg offset_power_ctrl_txpwr_level0 
+2eac 20202ea4 branch g24_iadd_offset_mem_txpower 
+
+g24_start_pairing_sm1:
+2ead 79200026 set1 mark_24g ,mark 
+2eae 20402c83 call g24_pair_init 
+
+g24_set_pairing_sm_1:
+2eaf 58000001 setarg state_24g_pairing_1 
+2eb0 20203256 branch g24_store_mem_pairing_sm 
+
+g24_pairing_sm:
+2eb1 1a60a28b add regc ,offset_24g_ensure ,rega 
+2eb2 ea208000 ifetch 1 ,rega 
+2eb3 c000ffe7 beq ensure_on_24g ,enable_user 
+2eb4 20403253 call g24_fetch_mem_pairing_sm 
+2eb5 c000aeb9 beq state_24g_pairing_1 ,g24_pairing_sm_1 
+2eb6 c0012ebd beq state_24g_pairing_2 ,g24_pairing_sm_2 
+2eb7 c001aec1 beq state_24g_pairing_3 ,g24_pairing_sm_3 
+2eb8 20202a8c branch assert 
+
+g24_pairing_sm_1:
+2eb9 58000011 setarg state_24g_pairing_1_waiting_ack 
+2eba 20403256 call g24_store_mem_pairing_sm 
+2ebb 70119eaa jam 0xaa ,mem_24g_common_temp 
+2ebc 20202ec4 branch g24_pairing_sm_common 
+
+g24_pairing_sm_2:
+2ebd 58000012 setarg state_24g_pairing_2_waiting_ack 
+2ebe 20403256 call g24_store_mem_pairing_sm 
+2ebf 70119e55 jam 0x55 ,mem_24g_common_temp 
+2ec0 20202ec4 branch g24_pairing_sm_common 
+
+g24_pairing_sm_3:
+2ec1 58000013 setarg state_24g_pairing_3_waiting_ack 
+2ec2 20403256 call g24_store_mem_pairing_sm 
+2ec3 70119e22 jam 0x22 ,mem_24g_common_temp 
+
+g24_pairing_sm_common:
+2ec4 2040323a call g24_fetch_mem_data_type 
+2ec5 1fe17e07 and_into bits_data ,pdata 
+2ec6 6000919f store 1 ,mem_24g_common_temp + 1 
+2ec7 20403224 call g24_fetch_mem_device_addr 
+2ec8 600211a0 store 4 ,mem_24g_common_temp + 2 
+
+g24_put_pairing_data_in_buff:
+2ec9 7011a400 jam 0 ,mem_24g_common_temp + 6 
+2eca da20119e arg mem_24g_common_temp ,rega 
+2ecb d8400007 arg 7 ,temp 
+2ecc 20402d4c call g24_put_data_in_buff 
+2ecd 20402d53 call g24_transmit_prep 
+2ece 20402d33 call g24_txdata_enable_tx 
+2ecf 20207fe7 branch enable_user 
+
+g24_paring_mode:
+2ed0 20403253 call g24_fetch_mem_pairing_sm 
+2ed1 c17f8000 rtneq state_24g_pairing_success 
+2ed2 c008aed6 beq state_24g_pairing_1_waiting_ack ,g24_pairing_sm_1_waiting_ack 
+2ed3 c0092ed9 beq state_24g_pairing_2_waiting_ack ,g24_pairing_sm_2_waiting_ack 
+2ed4 c009aedc beq state_24g_pairing_3_waiting_ack ,g24_pairing_sm_3_waiting_ack 
+2ed5 20600000 rtn 
+
+g24_pairing_sm_1_waiting_ack:
+2ed6 58000002 setarg state_24g_pairing_2 
+2ed7 20403256 call g24_store_mem_pairing_sm 
+2ed8 20202d9f branch g24_transmit_abandon 
+
+g24_pairing_sm_2_waiting_ack:
+2ed9 58000003 setarg state_24g_pairing_3 
+2eda 20403256 call g24_store_mem_pairing_sm 
+2edb 20202d9f branch g24_transmit_abandon 
+
+g24_pairing_sm_3_waiting_ack:
+2edc 580000ff setarg state_24g_pairing_success 
+2edd 20403256 call g24_store_mem_pairing_sm 
+2ede 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+2edf 20407d86 call ui_ipc_send_event 
+2ee0 1a60a266 add regc ,offset_24g_rxpayload_add2 ,rega 
+2ee1 ea220000 ifetch 4 ,rega 
+2ee2 2040322c call g24_store_mem_addr 
+2ee3 20202d9f branch g24_transmit_abandon 
+
+g24_auto_pair_start:
+2ee4 793f8026 set0 mark_24g ,mark 
+2ee5 20402f08 call g24_auto_pair_set_device_info 
+2ee6 20402f22 call g24_tx_attemp_data_prep 
+
+g24_auto_pair_restart:
+2ee7 20403263 call g24_set0_mem_check_dongle_times 
+
+g24_auto_pair_start_loop:
+2ee8 200007d0 nop 2000 
+2ee9 20403261 call g24_fetch_mem_check_dongle_times 
+2eea c07fadd4 beq 0xff ,g24_stop_24g_mode 
+2eeb 20402da4 call g24_transmit_receive_ack 
+2eec 242c2efa nbranch g24_auto_pair_retry ,sync 
+2eed 2437aefa nbranch g24_auto_pair_retry ,user3 
+2eee 20402dd6 call g24_ackpayload_parse 
+2eef 20402c7a call g24_head_ptr2regc 
+2ef0 1a60a292 add regc ,offset_24g_paring_addr ,rega 
+2ef1 ea2a0000 ifetcht 4 ,rega 
+2ef2 204030be call g24_fetch_mem_addr_isub_temp 
+2ef3 2022aead branch g24_start_pairing_sm1 ,zero 
+2ef4 20402c7a call g24_head_ptr2regc 
+2ef5 1a60a266 add regc ,offset_24g_rxpayload_add2 ,rega 
+2ef6 ea220000 ifetch 4 ,rega 
+2ef7 c0002ee7 beq 0 ,g24_auto_pair_restart 
+2ef8 2040322c call g24_store_mem_addr 
+2ef9 20202f1c branch g24_tx_attemp_dongle_succ 
+
+g24_auto_pair_retry:
+2efa 20403261 call g24_fetch_mem_check_dongle_times 
+2efb 1fe0fe01 increase 1 ,pdata 
+2efc 20403264 call g24_store_mem_check_dongle_times 
+2efd 20402f04 call g24_fetch_mem_auto_paring_switch 
+2efe 1fe0fe01 increase 1 ,pdata 
+2eff 1fe17e01 and_into 1 ,pdata 
+2f00 20402f06 call g24_store_mem_auto_paring_switch 
+2f01 c0002f0c beq 0 ,g24_auto_pair_device_attemp 
+2f02 c000af0e beq 1 ,g24_auto_pair_pair_attemp 
+2f03 20600000 rtn 
+
+g24_fetch_mem_auto_paring_switch:
+2f04 5800018b setarg offset_24g_auto_pair_switch 
+2f05 202032d0 branch g24_set_rega_ifetch_1byte 
+
+g24_store_mem_auto_paring_switch:
+2f06 da20018b arg offset_24g_auto_pair_switch ,rega 
+2f07 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_auto_pair_set_device_info:
+2f08 20403267 call g24_store_mem_tx_power 
+2f09 20403224 call g24_fetch_mem_device_addr 
+2f0a 2040322c call g24_store_mem_addr 
+2f0b 20202c8a branch g24_ch 
+
+g24_auto_pair_device_attemp:
+2f0c 20402f08 call g24_auto_pair_set_device_info 
+2f0d 20202ee8 branch g24_auto_pair_start_loop 
+
+g24_auto_pair_pair_attemp:
+2f0e 20402c83 call g24_pair_init 
+2f0f 20202ee8 branch g24_auto_pair_start_loop 
+
+g24_start_24g_mode:
+2f10 793f8026 set0 mark_24g ,mark 
+2f11 20402c8a call g24_ch 
+2f12 20403253 call g24_fetch_mem_pairing_sm 
+2f13 c1ff8000 rtnne state_24g_pairing_success 
+2f14 20402f22 call g24_tx_attemp_data_prep 
+2f15 20403263 call g24_set0_mem_check_dongle_times 
+
+g24_tx_attemp_dongle_loop:
+2f16 200007d0 nop 2000 
+2f17 20403261 call g24_fetch_mem_check_dongle_times 
+2f18 c07fadd4 beq 0xff ,g24_stop_24g_mode 
+2f19 20402da4 call g24_transmit_receive_ack 
+2f1a 242c2f27 nbranch g24_attemp_txdata_retry ,sync 
+2f1b 2437af27 nbranch g24_attemp_txdata_retry ,user3 
+
+g24_tx_attemp_dongle_succ:
+2f1c 79200026 set1 mark_24g ,mark 
+2f1d 20403263 call g24_set0_mem_check_dongle_times 
+2f1e 580000ff setarg state_24g_pairing_success 
+2f1f 20403256 call g24_store_mem_pairing_sm 
+2f20 700a993c jam bt_evt_24g_attempt_success ,mem_fifo_temp 
+2f21 20207d86 branch ui_ipc_send_event 
+
+g24_tx_attemp_data_prep:
+2f22 79200027 set1 mark_24g_conext ,mark 
+2f23 70119eff jam 0xff ,mem_24g_common_temp 
+2f24 2040323a call g24_fetch_mem_data_type 
+2f25 20402d77 call g24_put_data_in_buff_pre 
+2f26 20202d53 branch g24_transmit_prep 
+
+g24_attemp_txdata_retry:
+2f27 20403261 call g24_fetch_mem_check_dongle_times 
+2f28 1fe0fe01 increase 1 ,pdata 
+2f29 20403264 call g24_store_mem_check_dongle_times 
+2f2a 20402c8a call g24_ch 
+2f2b 20202f16 branch g24_tx_attemp_dongle_loop 
+
+g24_check_51cmd_start_24g:
+2f2c 20403267 call g24_store_mem_tx_power 
+2f2d 580000ff setarg state_24g_pairing_success 
+2f2e 20403256 call g24_store_mem_pairing_sm 
+2f2f 20202f10 branch g24_start_24g_mode 
+
+dongle_init:
+2f30 44dd4017 bpatch patch17_2 ,mem_patch17 
+2f31 20402c7a call g24_head_ptr2regc 
+2f32 580031b0 setarg dongle_rxdata_type1 
+2f33 1a608ade add regc ,offset_24g_cb_rxdata_type1 ,contw 
+2f34 e0a10000 istore 2 ,contw 
+2f35 20402f3d call g24_receive_init 
+2f36 204048ea call usb_init 
+2f37 204032b6 call g24_fetch_mem_pair_mode 
+2f38 44ddc017 bpatch patch17_3 ,mem_patch17 
+2f39 c0003055 beq 0x00 ,dongle_auto_bind 
+2f3a c000af45 beq 0x01 ,dongle_pc_bind 
+2f3b c007af41 beq 0x0f ,dongle_all_powerful 
+2f3c 20202a8c branch assert 
+
+g24_receive_init:
+2f3d 2040326c call g24_store_mem_tx_power_temp 
+2f3e df200080 arg 0x80 ,loopcnt 
+2f3f d8a00d9e arg mem_rssi_noise_buffer ,contw 
+2f40 20207ec6 branch memset0 
+
+dongle_all_powerful:
+2f41 20402f4c call dongle_check_mode 
+
+dongle_all_powerful_loop:
+2f42 20402f4f call g24_dongle_work_mode 
+2f43 204048d3 call usb_isr 
+2f44 20202f42 branch dongle_all_powerful_loop 
+
+dongle_pc_bind:
+2f45 44de4017 bpatch patch17_4 ,mem_patch17 
+2f46 20402f4c call dongle_check_mode 
+
+dongle_pc_bind_loop:
+2f47 20402f4f call g24_dongle_work_mode 
+2f48 20402fbd call g24_dongle_bind_mode 
+2f49 204048d3 call usb_isr 
+2f4a 20403019 call dongle_usb_dispatch 
+2f4b 20202f47 branch dongle_pc_bind_loop 
+
+dongle_check_mode:
+2f4c 20403291 call g24_set_work_mem_dongle_work_mode 
+2f4d 20403296 call g24_set0_mem_dongle_mode_init 
+2f4e 20203299 branch g24_set0_mem_ackpayload_enable 
+
+g24_dongle_work_mode:
+2f4f 2040328f call g24_fetch_mem_dongle_work_mode 
+2f50 c1800000 rtnne dongle_work 
+
+g24_dongle_work_mode_start:
+2f51 20402f55 call g24_dongle_work_init 
+2f52 20402f65 call g24_ch_process 
+2f53 2040316b call g24_receive_packet_start 
+2f54 20202f96 branch g24_blank_data_process 
+
+g24_dongle_work_init:
+2f55 20403294 call g24_fetch_mem_dongle_mode_init 
+2f56 c3800000 rtnbit1 dongle_work 
+2f57 79207e00 set1 dongle_work ,pdata 
+2f58 20403297 call g24_store_mem_dongle_mode_init 
+2f59 20403267 call g24_store_mem_tx_power 
+2f5a 20403299 call g24_set0_mem_ackpayload_enable 
+2f5b 700d3800 jam 0 ,mem_usb_tx_enable 
+2f5c 2040324f call g24_set1_mem_abort_pac 
+2f5d 20402f61 call g24_dongle_init 
+
+g24_rx_interrupt_clear:
+2f5e 1a608a00 add regc ,offset_24g_rxbuf ,contw 
+2f5f df200042 arg 66 ,loopcnt 
+2f60 20207ed4 branch clear_mem 
+
+g24_dongle_init:
+2f61 20403231 call g24_set0_mem_pid 
+2f62 2040327d call g24_fetch_mem_rx_addr 
+2f63 2040322c call g24_store_mem_addr 
+2f64 20202c8a branch g24_ch 
+
+g24_ch_process:
+2f65 44dec017 bpatch patch17_5 ,mem_patch17 
+2f66 2040324c call g24_fetch_mem_abort_pac 
+2f67 c000af8d beq 1 ,g24_noise_rssi 
+2f68 20403245 call g24_fetch_mem_hop_pac 
+2f69 c000ac8a beq 1 ,g24_ch 
+2f6a 58000136 setarg offset_24g_hop_btclk 
+2f6b 9a60a200 iadd regc ,rega 
+2f6c ea2a0000 ifetcht 4 ,rega 
+2f6d 1c427e00 copy clkn_bt ,pdata 
+2f6e 98467c00 isub temp ,null 
+2f6f 24412d18 ncall g24_timer_timeout ,positive 
+2f70 1fe22400 copy pdata ,regb 
+2f71 58000136 setarg offset_24g_hop_btclk 
+2f72 9a60a200 iadd regc ,rega 
+2f73 ea220000 ifetch 4 ,rega 
+2f74 1fe20400 copy pdata ,temp 
+2f75 5800013a setarg offset_24g_hop_interval 
+2f76 9a60a200 iadd regc ,rega 
+2f77 18427e00 copy temp ,pdata 
+2f78 ea288000 ifetcht 1 ,rega 
+2f79 98408400 iadd temp ,temp 
+2f7a 1a427e00 copy regb ,pdata 
+2f7b 98467c00 isub temp ,null 
+2f7c 24610000 nrtn positive 
+2f7d 793ffe1c set0 28 ,pdata 
+2f7e 58000136 setarg offset_24g_hop_btclk 
+2f7f 9a608a00 iadd regc ,contw 
+2f80 e0a20000 istore 4 ,contw 
+
+g24_ch_update:
+2f81 20402c8a call g24_ch 
+2f82 20403278 call g24_fetch_mem_rf_laststa 
+2f83 1fe0fe01 increase 1 ,pdata 
+2f84 2040327b call g24_store_mem_rf_laststa 
+2f85 c1810000 rtnne 2 
+2f86 2040327a call g24_set0_mem_rf_laststa 
+2f87 2020324f branch g24_set1_mem_abort_pac 
+
+g24_ch_timer_reinit:
+2f88 1c427e00 copy clkn_bt ,pdata 
+2f89 da200136 arg offset_24g_hop_btclk ,rega 
+2f8a 204032bf call g24_set_contw_with_temp 
+2f8b e0a20000 istore 4 ,contw 
+2f8c 2020327a branch g24_set0_mem_rf_laststa 
+
+g24_noise_rssi:
+2f8d da200d9e arg mem_rssi_noise_buffer ,rega 
+2f8e 20402f94 call g24_noise_rssi_average 
+2f8f 1a608aeb add regc ,offset_rssi_noise_avg ,contw 
+2f90 e0a88000 istoret 1 ,contw 
+2f91 18467c50 sub temp ,rssi_thresh_noise ,null 
+2f92 24610000 nrtn positive 
+2f93 20202c8a branch g24_ch 
+
+g24_noise_rssi_average:
+2f94 df200100 arg rssi_buf_len_noise + 1 ,loopcnt 
+2f95 20202e62 branch rssi_average 
+
+g24_blank_data_process:
+2f96 20402f99 call g24_ms_blank_data 
+2f97 20402fa5 call g24_kb_blank_data 
+2f98 20202fb1 branch g24_kb_mul_blank_data 
+
+g24_ms_blank_data:
+2f99 58000180 setarg offset_24g_ms_blank_data_enable 
+2f9a 204032d0 call g24_set_rega_ifetch_1byte 
+2f9b 207a0000 rtn blank 
+2f9c d8e0000b arg timer_ms_blank ,queue 
+2f9d 20407f16 call timer_check 
+2f9e 247a0000 nrtn blank 
+2f9f 204032a7 call g24_set0_mem_ms_blank_data_enable 
+
+g24_ms_blank_data_2usb:
+2fa0 58000001 setarg ms_report_id 
+2fa1 60008d54 store 1 ,mem_usb_mouse_data 
+2fa2 58000000 setarg 0 
+2fa3 e0a38000 istore 7 ,contw 
+2fa4 202031b8 branch g24_data_type1_usbtx_enable 
+
+g24_kb_blank_data:
+2fa5 5800017e setarg offset_24g_kb_blank_data_enable 
+2fa6 204032d0 call g24_set_rega_ifetch_1byte 
+2fa7 207a0000 rtn blank 
+2fa8 d8e0000e arg timer_kb_blank ,queue 
+2fa9 20407f16 call timer_check 
+2faa 247a0000 nrtn blank 
+2fab 204032aa call g24_set0_mem_kb_blank_data_enable 
+
+g24_kb_blank_data_2usb:
+2fac d8a00d64 arg mem_usb_kb_data ,contw 
+2fad df200002 arg 2 ,loopcnt 
+2fae 20407ec6 call memset0 
+2faf 700d6400 jam kb_normal_report_id ,mem_usb_kb_data 
+2fb0 202031ed branch g24_kb_data_into_ep1_fifo 
+
+g24_kb_mul_blank_data:
+2fb1 5800017f setarg offset_24g_kb_mul_blank_data_enable 
+2fb2 204032d0 call g24_set_rega_ifetch_1byte 
+2fb3 207a0000 rtn blank 
+2fb4 d8e0000c arg timer_kb_mul_blank ,queue 
+2fb5 20407f16 call timer_check 
+2fb6 247a0000 nrtn blank 
+2fb7 204032ad call g24_set0_mem_kb_mul_blank_data_enable 
+
+g24_kb_mul_blank_data_2usb:
+2fb8 d8a00d74 arg mem_usb_kb_multikey ,contw 
+2fb9 df200002 arg 2 ,loopcnt 
+2fba 20407ec6 call memset0 
+2fbb 700d7403 jam kb_multikey_report_id ,mem_usb_kb_multikey 
+2fbc 20203207 branch g24_kb_mul_data_into_ep2_fifo 
+
+g24_dongle_bind_mode:
+2fbd 2040328f call g24_fetch_mem_dongle_work_mode 
+2fbe c1808000 rtnne dongle_bind 
+2fbf 20402fc1 call g24_dongle_bind_init 
+2fc0 20202fcb branch g24_dongle_bind_data_process 
+
+g24_dongle_bind_init:
+2fc1 20403294 call g24_fetch_mem_dongle_mode_init 
+2fc2 c3808000 rtnbit1 dongle_bind 
+2fc3 79207e01 set1 dongle_bind ,pdata 
+2fc4 20403297 call g24_store_mem_dongle_mode_init 
+2fc5 2040329c call g24_set1_mem_ackpayload_enable 
+2fc6 20402c83 call g24_pair_init 
+2fc7 58000000 setarg 0 
+2fc8 da200106 arg offset_dongle_ms_bind_step ,rega 
+2fc9 204032bf call g24_set_contw_with_temp 
+2fca 202032c5 branch g24_contw_istore_3byte 
+
+g24_dongle_bind_data_process:
+2fcb 2040316e call g24_receive_transmit_ack 
+2fcc 2437af5e nbranch g24_rx_interrupt_clear ,user3 
+2fcd 1a608c00 add regc ,offset_24g_rxbuf ,contr 
+2fce 58000109 setarg offset_24g_rxdata_temp 
+2fcf 9a608a00 iadd regc ,contw 
+2fd0 df200008 arg 8 ,loopcnt 
+2fd1 20407f01 call memcpy 
+2fd2 5800010b setarg offset_24g_rxdata_temp_add2 
+2fd3 204032d0 call g24_set_rega_ifetch_1byte 
+2fd4 c0552fd9 beq datatype_bind ,g24_dongle_bind_first_step 
+2fd5 c02aafed beq datatype_config ,g24_dongle_bind_second_step 
+2fd6 c0113001 beq datatype_ok ,g24_dongle_bind_third_step 
+2fd7 c07fb212 beq 0xff ,g24_data_attemp 
+2fd8 20202f5e branch g24_rx_interrupt_clear 
+
+g24_dongle_bind_first_step:
+2fd9 204032bd call g24_fetch_mem_rxdata_temp_add3_1byte 
+2fda c000afdd beq bind_mouse ,g24_dongle_bind_first_step_mouse 
+2fdb c0012fe8 beq bind_keyboard ,g24_dongle_bind_first_step_keyboard 
+2fdc 20600000 rtn 
+
+g24_dongle_bind_first_step_mouse:
+2fdd 58000001 setarg 1 
+2fde 20402ff7 call g24_store_mem_ms_bind_step 
+
+g24_dongle_bind_ms_payload_cfg:
+2fdf 58000001 setarg datatype_mouse 
+2fe0 20403289 call g24_store_mem_bind_payload 
+
+g24_dongle_bind_payload_cfg:
+2fe1 58000080 setarg 0x80 
+2fe2 da200130 arg offset_24g_bind_payload_add1 ,rega 
+2fe3 204032b3 call g24_set_contw_with_regb_store_1byte 
+2fe4 2040327d call g24_fetch_mem_rx_addr 
+2fe5 da200131 arg offset_24g_bind_payload_add2 ,rega 
+2fe6 204032bf call g24_set_contw_with_temp 
+2fe7 2020322d branch g24_contw_istore_4byte 
+
+g24_dongle_bind_first_step_keyboard:
+2fe8 58000001 setarg 1 
+2fe9 20402fff call g24_store_mem_kb_bind_step 
+
+g24_dongle_bind_kb_payload_cfg:
+2fea 58000002 setarg datatype_keyboard 
+2feb 20403289 call g24_store_mem_bind_payload 
+2fec 20202fe1 branch g24_dongle_bind_payload_cfg 
+
+g24_dongle_bind_second_step:
+2fed 204032bd call g24_fetch_mem_rxdata_temp_add3_1byte 
+2fee c000aff1 beq bind_mouse ,g24_dongle_bind_second_step_mouse 
+2fef c0012ff9 beq bind_keyboard ,g24_dongle_bind_second_step_keyboard 
+2ff0 20600000 rtn 
+
+g24_dongle_bind_second_step_mouse:
+2ff1 20402fdf call g24_dongle_bind_ms_payload_cfg 
+2ff2 58000106 setarg offset_dongle_ms_bind_step 
+2ff3 204032d0 call g24_set_rega_ifetch_1byte 
+2ff4 c000aff6 beq 1 ,g24_dongle_ms_bind_step_set2 
+2ff5 20600000 rtn 
+
+g24_dongle_ms_bind_step_set2:
+2ff6 58000002 setarg 2 
+
+g24_store_mem_ms_bind_step:
+2ff7 da200106 arg offset_dongle_ms_bind_step ,rega 
+2ff8 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_dongle_bind_second_step_keyboard:
+2ff9 20402fea call g24_dongle_bind_kb_payload_cfg 
+2ffa 58000107 setarg offset_dongle_kb_bind_step 
+2ffb 204032d0 call g24_set_rega_ifetch_1byte 
+2ffc c000affe beq 1 ,g24_dongle_kb_bind_step_set2 
+2ffd 20600000 rtn 
+
+g24_dongle_kb_bind_step_set2:
+2ffe 58000002 setarg 2 
+
+g24_store_mem_kb_bind_step:
+2fff da200107 arg offset_dongle_kb_bind_step ,rega 
+3000 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_dongle_bind_third_step:
+3001 204032bd call g24_fetch_mem_rxdata_temp_add3_1byte 
+3002 c000b005 beq bind_mouse ,g24_dongle_bind_third_step_mouse 
+3003 c0013011 beq bind_keyboard ,g24_dongle_bind_third_step_keyboard 
+3004 20600000 rtn 
+
+g24_dongle_bind_third_step_mouse:
+3005 58000106 setarg offset_dongle_ms_bind_step 
+3006 204032d0 call g24_set_rega_ifetch_1byte 
+3007 c0013009 beq 2 ,g24_dongle_ms_bind_step_success 
+3008 20600000 rtn 
+
+g24_dongle_ms_bind_step_success:
+3009 2040328b call g24_fetch_mem_bind_device_status 
+300a 1fe1fe01 or_into 0x01 ,pdata 
+300b 2040328d call g24_store_mem_bind_device_status 
+
+g24_dongle_bind_exit:
+300c 58000000 setarg 0 
+300d 58000106 setarg offset_dongle_ms_bind_step 
+300e 9a608a00 iadd regc ,contw 
+300f e0a10000 istore 2 ,contw 
+3010 20202f5e branch g24_rx_interrupt_clear 
+
+g24_dongle_bind_third_step_keyboard:
+3011 58000107 setarg offset_dongle_kb_bind_step 
+3012 204032d0 call g24_set_rega_ifetch_1byte 
+3013 c0803015 bne 0 ,g24_dongle_kb_bind_step_success 
+3014 20600000 rtn 
+
+g24_dongle_kb_bind_step_success:
+3015 2040328b call g24_fetch_mem_bind_device_status 
+3016 1fe1fe02 or_into 0x02 ,pdata 
+3017 2040328d call g24_store_mem_bind_device_status 
+3018 2020300c branch g24_dongle_bind_exit 
+
+dongle_usb_dispatch:
+3019 68008d50 fetch 1 ,mem_usb0_get_set_report 
+301a 207a0000 rtn blank 
+301b 700d5000 jam 0 ,mem_usb0_get_set_report 
+301c 68010d4e fetch 2 ,mem_usb_setup_bvalue_temp 
+301d d84002ba arg pc_set_report ,temp 
+301e 98467c00 isub temp ,null 
+301f 24628000 nrtn zero 
+3020 68008cb6 fetch 1 ,mem_usb0_set_report_data 
+3021 c1dd0000 rtnne pc_report_id 
+3022 68008cb7 fetch 1 ,mem_usb0_set_report_data + 1 
+3023 44df4017 bpatch patch17_6 ,mem_patch17 
+3024 c050303b beq command_mode ,dongle_dispose_cmd_mode 
+3025 c050b02c beq command_bind ,dongle_dispose_cmd_bind 
+3026 c0533041 beq command_current_project ,dongle_dispose_cmd_current_project 
+3027 c053b043 beq command_current_mode ,dongle_dispose_cmd_current_mode 
+3028 c054b049 beq command_current_fw_version ,dongle_dispose_cmd_current_fw_version 
+3029 c058304d beq command_user_defined ,dongle_dispose_cmd_user_defined 
+
+usb0_data_ready_report_set0:
+302a 700d4200 jam 0 ,mem_usb0_data_ready_report 
+302b 20600000 rtn 
+
+dongle_dispose_cmd_bind:
+302c 68008cb8 fetch 1 ,mem_usb0_set_report_data + 2 
+302d c000b031 beq com_bind_get ,dongle_dispose_cmd_get_bind 
+302e c0423034 beq com_bind_exit ,dongle_dispose_cmd_exit_bind 
+302f c053b039 beq com_read_mode ,dongle_dispose_cmd_read_mode 
+3030 2020302a branch usb0_data_ready_report_set0 
+
+dongle_dispose_cmd_get_bind:
+3031 2040328b call g24_fetch_mem_bind_device_status 
+3032 60008cf7 store 1 ,mem_usb0_get_report_data + 1 
+3033 2020303f branch usb0_data_ready_report_set1 
+
+dongle_dispose_cmd_exit_bind:
+3034 20403291 call g24_set_work_mem_dongle_work_mode 
+3035 20403296 call g24_set0_mem_dongle_mode_init 
+3036 2040328b call g24_fetch_mem_bind_device_status 
+3037 60008cf7 store 1 ,mem_usb0_get_report_data + 1 
+3038 2020303f branch usb0_data_ready_report_set1 
+
+dongle_dispose_cmd_read_mode:
+
+dongle_dispose_in_bind_mode:
+3039 700cf7a1 jam command_bind ,mem_usb0_get_report_data + 1 
+303a 2020303f branch usb0_data_ready_report_set1 
+
+dongle_dispose_cmd_mode:
+303b 68008cb8 fetch 1 ,mem_usb0_set_report_data + 2 
+303c c040b03e beq com_mode_bind ,dongle_enter_bind_mode 
+303d 2020302a branch usb0_data_ready_report_set0 
+
+dongle_enter_bind_mode:
+303e 20403090 call g24_bind_mode_enable 
+
+usb0_data_ready_report_set1:
+303f 700d4201 jam 1 ,mem_usb0_data_ready_report 
+3040 20600000 rtn 
+
+dongle_dispose_cmd_current_project:
+3041 700cf715 jam product_id ,mem_usb0_get_report_data + 1 
+3042 2020303f branch usb0_data_ready_report_set1 
+
+dongle_dispose_cmd_current_mode:
+3043 2040328f call g24_fetch_mem_dongle_work_mode 
+3044 c0003047 beq dongle_work ,dongle_dispose_in_work_mode 
+3045 c000b039 beq dongle_bind ,dongle_dispose_in_bind_mode 
+3046 20600000 rtn 
+
+dongle_dispose_in_work_mode:
+3047 700cf7a0 jam command_mode ,mem_usb0_get_report_data + 1 
+3048 2020303f branch usb0_data_ready_report_set1 
+
+dongle_dispose_cmd_current_fw_version:
+3049 700cf700 jam fw_version0 ,mem_usb0_get_report_data + 1 
+304a 700cf800 jam fw_version1 ,mem_usb0_get_report_data + 2 
+304b 700cf901 jam fw_version2 ,mem_usb0_get_report_data + 3 
+304c 2020303f branch usb0_data_ready_report_set1 
+
+dongle_dispose_cmd_user_defined:
+304d 2040329c call g24_set1_mem_ackpayload_enable 
+304e 68008cb8 fetch 1 ,mem_usb0_set_report_data + 2 
+304f 1fe0fe02 increase 2 ,pdata 
+3050 1fe27200 copy pdata ,loopcnt 
+3051 d8c00cb6 arg mem_usb0_set_report_data ,contr 
+3052 5800013c setarg offset_24g_ackpayload 
+3053 9a608a00 iadd regc ,contw 
+3054 20207f01 branch memcpy 
+
+dongle_auto_bind:
+3055 44dfc017 bpatch patch17_7 ,mem_patch17 
+3056 2040307d call g24_mode_switch_init 
+
+dongle_auto_bind_loop:
+3057 20402c7f call g24_receive_process 
+3058 204048d3 call usb_isr 
+3059 20203057 branch dongle_auto_bind_loop 
+
+g24_dongle_work_mode_auto:
+305a 2040328f call g24_fetch_mem_dongle_work_mode 
+305b c1800000 rtnne dongle_work 
+305c 20402f51 call g24_dongle_work_mode_start 
+305d 20203098 branch g24_rx_nodata_process 
+
+g24_dongle_bind_mode_auto:
+305e 2040328f call g24_fetch_mem_dongle_work_mode 
+305f c1808000 rtnne dongle_bind 
+3060 20402fc1 call g24_dongle_bind_init 
+3061 20402fcb call g24_dongle_bind_data_process 
+3062 2040328b call g24_fetch_mem_bind_device_status 
+3063 207a0000 rtn blank 
+3064 20403286 call g24_set0_mem_mode_switch 
+3065 20402f4c call dongle_check_mode 
+3066 20403093 call g24_enable_nodata_timer 
+
+g24_timer_init:
+3067 58000000 setarg 0 
+3068 1a608aa7 add regc ,offset_24g_tx_btclk ,contw 
+3069 2020322d branch g24_contw_istore_4byte 
+
+g24_timer_check:
+306a 20407fe9 call disable_user 
+306b 1a60a2a7 add regc ,offset_24g_tx_btclk ,rega 
+306c ea2a0000 ifetcht 4 ,rega 
+306d 1c427e00 copy clkn_bt ,pdata 
+306e 98467c00 isub temp ,null 
+306f 24412d18 ncall g24_timer_timeout ,positive 
+3070 1fe22400 copy pdata ,regb 
+3071 1a60a2a7 add regc ,offset_24g_tx_btclk ,rega 
+3072 ea220000 ifetch 4 ,rega 
+3073 1a60a2ab add regc ,offset_24g_interval ,rega 
+3074 ea288000 ifetcht 1 ,rega 
+3075 98408400 iadd temp ,temp 
+3076 1a427e00 copy regb ,pdata 
+3077 98467c00 isub temp ,null 
+3078 24610000 nrtn positive 
+3079 793ffe1c set0 28 ,pdata 
+307a 1a608aa7 add regc ,offset_24g_tx_btclk ,contw 
+307b e0a20000 istore 4 ,contw 
+307c 20207fe7 branch enable_user 
+
+g24_mode_switch_init:
+307d 58000001 setarg 1 
+307e 20403287 call g24_store_mem_mode_switch 
+307f 20403283 call g24_set0_mem_time_slice 
+3080 580000ff setarg 0xff 
+3081 1a608aab add regc ,offset_24g_interval ,contw 
+3082 e0a08000 istore 1 ,contw 
+3083 20203067 branch g24_timer_init 
+
+g24_mode_switch:
+3084 5800015c setarg offset_24g_mode_switch 
+3085 204032d0 call g24_set_rega_ifetch_1byte 
+3086 207a0000 rtn blank 
+3087 2040306a call g24_timer_check 
+3088 24740000 nrtn user 
+3089 20403281 call g24_fetch_mem_time_slice 
+308a 1fe0fe01 increase 1 ,pdata 
+308b 1fe17e01 and_into 1 ,pdata 
+308c 20403284 call g24_store_mem_time_slice 
+308d c0002f4c beq 0 ,dongle_check_mode 
+308e c000b090 beq 1 ,g24_bind_mode_enable 
+308f 20600000 rtn 
+
+g24_bind_mode_enable:
+3090 58000001 setarg dongle_bind 
+3091 20403292 call g24_store_mem_dongle_work_mode 
+3092 20203296 branch g24_set0_mem_dongle_mode_init 
+
+g24_enable_nodata_timer:
+3093 58000001 setarg 1 
+3094 204032a5 call g24_store_mem_nodata_timer_enable 
+
+g24_enable_nodata_timer_init:
+3095 58000280 setarg timer_nodata_delay 
+3096 d8e00008 arg timer_nodata ,queue 
+3097 20207f08 branch timer_init 
+
+g24_rx_nodata_process:
+3098 204032a2 call g24_fetch_mem_nodata_timer_enable 
+3099 207a0000 rtn blank 
+309a d8e00008 arg timer_nodata ,queue 
+309b 20407f16 call timer_check 
+309c 247a0000 nrtn blank 
+309d 204032a4 call g24_set0_mem_nodata_timer_enable 
+309e 58000007 setarg dongle_search 
+309f 20403292 call g24_store_mem_dongle_work_mode 
+30a0 20403296 call g24_set0_mem_dongle_mode_init 
+30a1 20202f5e branch g24_rx_interrupt_clear 
+
+g24_dongle_search_mode_auto:
+30a2 44e04018 bpatch patch18_0 ,mem_patch18 
+30a3 2040328f call g24_fetch_mem_dongle_work_mode 
+30a4 c1838000 rtnne dongle_search 
+30a5 204030cb call g24_dongle_search_mode_init 
+30a6 204030e0 call g24_rx_auto_addr_ch_search 
+30a7 2040316e call g24_receive_transmit_ack 
+30a8 2437af5e nbranch g24_rx_interrupt_clear ,user3 
+30a9 204030bc call g24_dongle_search_addr_check 
+30aa 2042b172 call g24_receive_packet_parse ,zero 
+30ab 20402f4c call dongle_check_mode 
+30ac 20403294 call g24_fetch_mem_dongle_mode_init 
+30ad 79207e00 set1 dongle_work ,pdata 
+30ae 20403297 call g24_store_mem_dongle_mode_init 
+30af 20402f5e call g24_rx_interrupt_clear 
+30b0 20403093 call g24_enable_nodata_timer 
+30b1 204030bc call g24_dongle_search_addr_check 
+30b2 2022b0c1 branch g24_dg_ch_num_reinit ,zero 
+30b3 58000164 setarg offset_24g_kb_addr 
+30b4 204032d3 call g24_set_rega_ifetcht_4byte 
+30b5 204030be call g24_fetch_mem_addr_isub_temp 
+30b6 2022b0c5 branch g24_kb_ch_num_reinit ,zero 
+30b7 58000160 setarg offset_24g_mouse_addr 
+30b8 204032d3 call g24_set_rega_ifetcht_4byte 
+30b9 204030be call g24_fetch_mem_addr_isub_temp 
+30ba 2022b0c8 branch g24_ms_ch_num_reinit ,zero 
+30bb 20600000 rtn 
+
+g24_dongle_search_addr_check:
+30bc 5800012b setarg offset_24g_rx_addr 
+30bd 204032d3 call g24_set_rega_ifetcht_4byte 
+
+g24_fetch_mem_addr_isub_temp:
+30be 2040322a call g24_fetch_mem_addr 
+30bf 98467c00 isub temp ,null 
+30c0 20600000 rtn 
+
+g24_dg_ch_num_reinit:
+30c1 58000182 setarg offset_24g_dg_ch_number 
+30c2 204032d0 call g24_set_rega_ifetch_1byte 
+
+g24_current_ch_num_reinit:
+30c3 1a608a91 add regc ,offset_24g_current_ch_number ,contw 
+30c4 202032b4 branch g24_contw_istore_1byte 
+
+g24_kb_ch_num_reinit:
+30c5 58000185 setarg offset_24g_kb_ch_number 
+30c6 204032d0 call g24_set_rega_ifetch_1byte 
+30c7 202030c3 branch g24_current_ch_num_reinit 
+
+g24_ms_ch_num_reinit:
+30c8 58000188 setarg offset_24g_ms_ch_number 
+30c9 204032d0 call g24_set_rega_ifetch_1byte 
+30ca 202030c3 branch g24_current_ch_num_reinit 
+
+g24_dongle_search_mode_init:
+30cb 20403294 call g24_fetch_mem_dongle_mode_init 
+30cc c3838000 rtnbit1 dongle_search 
+30cd 79207e07 set1 dongle_search ,pdata 
+30ce 20403297 call g24_store_mem_dongle_mode_init 
+30cf 20403283 call g24_set0_mem_time_slice 
+30d0 2040329c call g24_set1_mem_ackpayload_enable 
+30d1 58000000 setarg 0 
+30d2 1a608af5 add regc ,offset_rssi_noise_dg_index ,contw 
+30d3 e0a18000 istore 3 ,contw 
+30d4 da200183 arg offset_24g_dg_config_ch_once ,rega 
+30d5 204032bf call g24_set_contw_with_temp 
+30d6 e0a38000 istore 7 ,contw 
+30d7 204030bc call g24_dongle_search_addr_check 
+30d8 24628000 nrtn zero 
+30d9 1a60a291 add regc ,offset_24g_current_ch_number ,rega 
+30da ea208000 ifetch 1 ,rega 
+30db da200182 arg offset_24g_dg_ch_number ,rega 
+30dc 204032b3 call g24_set_contw_with_regb_store_1byte 
+30dd 1a60a290 add regc ,offset_24g_ch ,rega 
+30de ea208000 ifetch 1 ,rega 
+30df 2020314a branch g24_store_mem_dg_last_ch 
+
+g24_rx_auto_addr_ch_search:
+30e0 44e0c018 bpatch patch18_1 ,mem_patch18 
+30e1 20403281 call g24_fetch_mem_time_slice 
+30e2 1fe0fe01 increase 1 ,pdata 
+30e3 1fe17e03 and_into 3 ,pdata 
+30e4 20403284 call g24_store_mem_time_slice 
+30e5 c000310e beq 0 ,g24_rx_auto_bind_config_kb 
+30e6 c000b132 beq 1 ,g24_rx_auto_bind_config_dongle 
+30e7 c00130ea beq 2 ,g24_rx_auto_bind_config_mouse 
+30e8 c001b132 beq 3 ,g24_rx_auto_bind_config_dongle 
+30e9 20600000 rtn 
+
+g24_rx_auto_bind_config_mouse:
+30ea 20402fdf call g24_dongle_bind_ms_payload_cfg 
+30eb 58000160 setarg offset_24g_mouse_addr 
+30ec 2040327e call g24_set_rega_ifetch_4byte 
+30ed 203a30e0 branch g24_rx_auto_addr_ch_search ,blank 
+30ee 2040322c call g24_store_mem_addr 
+30ef 58000189 setarg offset_24g_ms_config_ch_once 
+30f0 204032d0 call g24_set_rega_ifetch_1byte 
+30f1 205a3108 call g24_ms_config_ch_once ,blank 
+30f2 58000187 setarg offset_24g_ms_last_ch 
+30f3 204032d0 call g24_set_rega_ifetch_1byte 
+30f4 2040322f call g24_store_mem_ch 
+30f5 1a60a2f7 add regc ,offset_rssi_noise_ms_index ,rega 
+30f6 ea288000 ifetcht 1 ,rega 
+30f7 da200f9e arg mem_rssi_noise_ms_buffer ,rega 
+30f8 20402e58 call rssi_noise_store 
+30f9 1a608af7 add regc ,offset_rssi_noise_ms_index ,contw 
+30fa e0a88000 istoret 1 ,contw 
+30fb 20402f94 call g24_noise_rssi_average 
+30fc 1a608afa add regc ,offset_rssi_noise_ms_avg ,contw 
+30fd e0a88000 istoret 1 ,contw 
+30fe 18467c50 sub temp ,rssi_thresh_noise ,null 
+30ff 24610000 nrtn positive 
+3100 58000188 setarg offset_24g_ms_ch_number 
+3101 20403275 call g24_set_rega_ifetcht_1byte 
+3102 20402c90 call g24_ch_temp_incre_size4 
+3103 da200188 arg offset_24g_ms_ch_number ,rega 
+3104 204032c8 call g24_set_contw_with_regb2 
+3105 e0a88000 istoret 1 ,contw 
+
+g24_store_mem_ms_last_ch:
+3106 da200187 arg offset_24g_ms_last_ch ,rega 
+3107 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_ms_config_ch_once:
+3108 58000001 setarg 1 
+3109 da200189 arg offset_24g_ms_config_ch_once ,rega 
+310a 204032b3 call g24_set_contw_with_regb_store_1byte 
+310b d8400000 arg 0 ,temp 
+310c 20402c94 call g24_ch_calc 
+310d 20203106 branch g24_store_mem_ms_last_ch 
+
+g24_rx_auto_bind_config_kb:
+310e 20402fea call g24_dongle_bind_kb_payload_cfg 
+310f 58000164 setarg offset_24g_kb_addr 
+3110 2040327e call g24_set_rega_ifetch_4byte 
+3111 203a30e0 branch g24_rx_auto_addr_ch_search ,blank 
+3112 2040322c call g24_store_mem_addr 
+3113 58000186 setarg offset_24g_kb_config_ch_once 
+3114 204032d0 call g24_set_rega_ifetch_1byte 
+3115 205a312c call g24_kb_config_ch_once ,blank 
+3116 58000184 setarg offset_24g_kb_last_ch 
+3117 204032d0 call g24_set_rega_ifetch_1byte 
+3118 2040322f call g24_store_mem_ch 
+3119 1a60a2f6 add regc ,offset_rssi_noise_kb_index ,rega 
+311a ea288000 ifetcht 1 ,rega 
+311b da20109e arg mem_rssi_noise_kb_buffer ,rega 
+311c 20402e58 call rssi_noise_store 
+311d 1a608af6 add regc ,offset_rssi_noise_kb_index ,contw 
+311e e0a88000 istoret 1 ,contw 
+311f 20402f94 call g24_noise_rssi_average 
+3120 1a608af9 add regc ,offset_rssi_noise_kb_avg ,contw 
+3121 e0a88000 istoret 1 ,contw 
+3122 18467c50 sub temp ,rssi_thresh_noise ,null 
+3123 24610000 nrtn positive 
+3124 58000185 setarg offset_24g_kb_ch_number 
+3125 20403275 call g24_set_rega_ifetcht_1byte 
+3126 20402c90 call g24_ch_temp_incre_size4 
+3127 da200185 arg offset_24g_kb_ch_number ,rega 
+3128 204032c8 call g24_set_contw_with_regb2 
+3129 e0a88000 istoret 1 ,contw 
+
+g24_store_mem_kb_last_ch:
+312a da200184 arg offset_24g_kb_last_ch ,rega 
+312b 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_kb_config_ch_once:
+312c 58000001 setarg 1 
+312d da200186 arg offset_24g_kb_config_ch_once ,rega 
+312e 204032b3 call g24_set_contw_with_regb_store_1byte 
+312f d8400000 arg 0 ,temp 
+3130 20402c94 call g24_ch_calc 
+3131 2020312a branch g24_store_mem_kb_last_ch 
+
+g24_rx_auto_bind_config_dongle:
+3132 20402fdf call g24_dongle_bind_ms_payload_cfg 
+3133 2040327d call g24_fetch_mem_rx_addr 
+3134 2040322c call g24_store_mem_addr 
+3135 58000183 setarg offset_24g_dg_config_ch_once 
+3136 204032d0 call g24_set_rega_ifetch_1byte 
+3137 205a314c call g24_dg_config_ch_once ,blank 
+3138 2040314f call g24_dg_store_config_ch 
+3139 1a60a2f5 add regc ,offset_rssi_noise_dg_index ,rega 
+313a ea288000 ifetcht 1 ,rega 
+313b da200e9e arg mem_rssi_noise_dg_buffer ,rega 
+313c 20402e58 call rssi_noise_store 
+313d 1a608af5 add regc ,offset_rssi_noise_dg_index ,contw 
+313e e0a88000 istoret 1 ,contw 
+313f 20402f94 call g24_noise_rssi_average 
+3140 1a608af8 add regc ,offset_rssi_noise_dg_avg ,contw 
+3141 e0a88000 istoret 1 ,contw 
+3142 18467c50 sub temp ,rssi_thresh_noise ,null 
+3143 24610000 nrtn positive 
+3144 58000182 setarg offset_24g_dg_ch_number 
+3145 20403275 call g24_set_rega_ifetcht_1byte 
+3146 20402c90 call g24_ch_temp_incre_size4 
+3147 da200182 arg offset_24g_dg_ch_number ,rega 
+3148 204032c8 call g24_set_contw_with_regb2 
+3149 e0a88000 istoret 1 ,contw 
+
+g24_store_mem_dg_last_ch:
+314a da200181 arg offset_24g_dg_last_ch ,rega 
+314b 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_dg_config_ch_once:
+314c 58000001 setarg 1 
+314d da200183 arg offset_24g_dg_config_ch_once ,rega 
+314e 204032b3 call g24_set_contw_with_regb_store_1byte 
+
+g24_dg_store_config_ch:
+314f 58000181 setarg offset_24g_dg_last_ch 
+3150 204032d0 call g24_set_rega_ifetch_1byte 
+3151 2020322f branch g24_store_mem_ch 
+
+g24_transmit_ack:
+3152 1a60a200 add regc ,offset_24g_rxbuf ,rega 
+3153 ea208000 ifetch 1 ,rega 
+3154 2040323c call g24_store_mem_data_type 
+3155 20402dde call g24_read_len_pid_crc 
+3156 2040325f call g24_fetch_mem_rxbuf_add1 
+3157 2feffe00 isolate1 bit_ack_24g ,pdata 
+3158 2020b15c branch g24tx_no_ack ,true 
+
+g24tx_with_ack:
+3159 2040315d call g24_ackpayload_prep 
+315a 20402d53 call g24_transmit_prep 
+315b 20402df7 call g24_transmit 
+
+g24tx_no_ack:
+315c 20202e45 branch g24_end_of_packet 
+
+g24_ackpayload_prep:
+315d 44e14018 bpatch patch18_2 ,mem_patch18 
+315e 1a608a86 add regc ,offset_24g_datalen ,contw 
+315f 204032d6 call g24_mem_set0 
+3160 5800013b setarg offset_24g_ackpayload_enable 
+3161 204032d0 call g24_set_rega_ifetch_1byte 
+3162 207a0000 rtn blank 
+3163 58000006 setarg 0x06 
+3164 1a608a86 add regc ,offset_24g_datalen ,contw 
+3165 e0a08000 istore 1 ,contw 
+3166 df200006 arg 0x06 ,loopcnt 
+3167 5800012f setarg offset_24g_bind_payload 
+3168 9a608c00 iadd regc ,contr 
+3169 1a608a22 add regc ,offset_24g_txbuf ,contw 
+316a 20207f01 branch memcpy 
+
+g24_receive_packet_start:
+316b 2040316e call g24_receive_transmit_ack 
+316c 2437af5e nbranch g24_rx_interrupt_clear ,user3 
+316d 20203172 branch g24_receive_packet_parse 
+
+g24_receive_transmit_ack:
+316e 20402f5e call g24_rx_interrupt_clear 
+316f 20402e11 call g24_receive_packet 
+3170 24778000 nrtn user3 
+3171 20203152 branch g24_transmit_ack 
+
+g24_receive_packet_parse:
+3172 44e1c018 bpatch patch18_3 ,mem_patch18 
+3173 20403188 call g24_receive_packet_parse_pid_crc 
+3174 24342f5e nbranch g24_rx_interrupt_clear ,user 
+3175 1a60a284 add regc ,offset_24g_rxdata_length ,rega 
+3176 ea208000 ifetch 1 ,rega 
+3177 203a2f5e branch g24_rx_interrupt_clear ,blank 
+3178 1fe0fe02 increase 2 ,pdata 
+3179 98007200 iforce loopcnt 
+317a 1a608c00 add regc ,offset_24g_rxbuf ,contr 
+317b 58000109 setarg offset_24g_rxdata_temp 
+317c 9a608a00 iadd regc ,contw 
+317d 20407f01 call memcpy 
+317e 20403286 call g24_set0_mem_mode_switch 
+317f 204032b6 call g24_fetch_mem_pair_mode 
+3180 205a3093 call g24_enable_nodata_timer ,blank 
+3181 5800010b setarg offset_24g_rxdata_temp_add2 
+3182 204032d0 call g24_set_rega_ifetch_1byte 
+3183 c000b19e beq 0x01 ,g24_data_type1 
+3184 c00131c6 beq 0x02 ,g24_data_type2 
+3185 c001b1f2 beq 0x03 ,g24_data_type3 
+3186 c07fb212 beq 0xff ,g24_data_attemp 
+3187 20202f5e branch g24_rx_interrupt_clear 
+
+g24_receive_packet_parse_pid_crc:
+3188 20402c7a call g24_head_ptr2regc 
+3189 20407fe9 call disable_user 
+318a 1a60a2ca add regc ,offset_24g_sta_pid ,rega 
+318b ea208000 ifetch 1 ,rega 
+318c 1a60a2cb add regc ,offset_24g_last_pid ,rega 
+318d ea288000 ifetcht 1 ,rega 
+318e 98467c00 isub temp ,null 
+318f 2442ffe7 ncall enable_user ,zero 
+3190 1a60a2ca add regc ,offset_24g_sta_pid ,rega 
+3191 ea208000 ifetch 1 ,rega 
+3192 1a608acb add regc ,offset_24g_last_pid ,contw 
+3193 e0a08000 istore 1 ,contw 
+3194 1a60a2c4 add regc ,offset_24g_sta_crc ,rega 
+3195 ea218000 ifetch 3 ,rega 
+3196 1a60a2c7 add regc ,offset_24g_last_crc ,rega 
+3197 ea298000 ifetcht 3 ,rega 
+3198 98467c00 isub temp ,null 
+3199 2442ffe7 ncall enable_user ,zero 
+319a 1a60a2c4 add regc ,offset_24g_sta_crc ,rega 
+319b ea218000 ifetch 3 ,rega 
+319c 1a608ac7 add regc ,offset_24g_last_crc ,contw 
+319d 202032c5 branch g24_contw_istore_3byte 
+
+g24_data_type1:
+319e 20402f88 call g24_ch_timer_reinit 
+319f 2040324c call g24_fetch_mem_abort_pac 
+31a0 60008aa2 store 1 ,mem_temp 
+31a1 20403274 call g24_fetcht_mem_rxdata_temp 
+31a2 68008aa2 fetch 1 ,mem_temp 
+31a3 284ffe03 isolate1 bit_abort ,temp 
+31a4 7920fe00 setflag true ,0 ,pdata 
+31a5 1a608ab2 add regc ,offset_24g_abort_pac ,contw 
+31a6 e0a08000 istore 1 ,contw 
+31a7 c000b216 beq 1 ,g24_data_attemp_mouse 
+31a8 20403245 call g24_fetch_mem_hop_pac 
+31a9 20403274 call g24_fetcht_mem_rxdata_temp 
+31aa 284ffe04 isolate1 bit_hop ,temp 
+31ab 7920fe00 setflag true ,0 ,pdata 
+31ac 20403249 call g24_store_mem_hop_pac 
+31ad 1a60a2de add regc ,offset_24g_cb_rxdata_type1 ,rega 
+31ae ea210000 ifetch 2 ,rega 
+31af 20207f9c branch callback_func 
+
+dongle_rxdata_type1:
+31b0 58000001 setarg ms_report_id 
+31b1 60008d54 store 1 ,mem_usb_mouse_data 
+31b2 2040329e call g24_fetch_mem_rxdata_temp_add3_7byte 
+31b3 e0a38000 istore 7 ,contw 
+31b4 2040329e call g24_fetch_mem_rxdata_temp_add3_7byte 
+31b5 245a31bd ncall g24_ms_enable_blank_data_forcibly ,blank 
+31b6 2040329e call g24_fetch_mem_rxdata_temp_add3_7byte 
+31b7 205a31c2 call g24_ms_disable_blank_data_forcibly ,blank 
+
+g24_data_type1_usbtx_enable:
+31b8 700d5220 jam usb_ep2_ms ,mem_usb_ep2_data 
+
+g24_data_type1_usbtx_enable_ep2:
+31b9 68008d38 fetch 1 ,mem_usb_tx_enable 
+31ba 79207e02 set1 2 ,pdata 
+31bb 60008d38 store 1 ,mem_usb_tx_enable 
+31bc 20600000 rtn 
+
+g24_ms_enable_blank_data_forcibly:
+31bd 58000001 setarg 1 
+31be 204032a8 call g24_store_mem_ms_blank_data_enable 
+
+g24_ms_enable_blank_data_timer:
+31bf 58000140 setarg timer_ms_blank_delay 
+31c0 d8e0000b arg timer_ms_blank ,queue 
+31c1 20207f08 branch timer_init 
+
+g24_ms_disable_blank_data_forcibly:
+31c2 204032a7 call g24_set0_mem_ms_blank_data_enable 
+
+g24_ms_disable_blank_data_timer:
+31c3 58000000 setarg 0 
+31c4 d8e0000b arg timer_ms_blank ,queue 
+31c5 20207f08 branch timer_init 
+
+g24_data_type2:
+31c6 20403274 call g24_fetcht_mem_rxdata_temp 
+31c7 284ffe03 isolate1 bit_abort ,temp 
+31c8 2020b21b branch g24_data_attemp_kbd ,true 
+31c9 d8a00d64 arg mem_usb_kb_data ,contw 
+31ca 204031e0 call g24_data_type2_reverse_data 
+31cb 68040d64 fetch 8 ,mem_usb_kb_data 
+31cc 245a31e4 ncall g24_kb_enable_blank_data_forcibly ,blank 
+31cd 68040d64 fetch 8 ,mem_usb_kb_data 
+31ce 205a31e9 call g24_kb_disable_blank_data_forcibly ,blank 
+31cf 20402c7a call g24_head_ptr2regc 
+31d0 68040d64 fetch 8 ,mem_usb_kb_data 
+31d1 da200168 arg offset_24g_kb_data_sta_data ,rega 
+31d2 204032bf call g24_set_contw_with_temp 
+31d3 e0a40000 istore 8 ,contw 
+31d4 58000170 setarg offset_24g_kb_data_last_data 
+31d5 9a60a200 iadd regc ,rega 
+31d6 ea2c0000 ifetcht 8 ,rega 
+31d7 98467c00 isub temp ,null 
+31d8 2442b1ed ncall g24_kb_data_dispose ,zero 
+31d9 58000168 setarg offset_24g_kb_data_sta_data 
+31da 9a60a200 iadd regc ,rega 
+31db ea240000 ifetch 8 ,rega 
+31dc da200170 arg offset_24g_kb_data_last_data ,rega 
+31dd 204032bf call g24_set_contw_with_temp 
+31de e0a40000 istore 8 ,contw 
+31df 20202f5e branch g24_rx_interrupt_clear 
+
+g24_data_type2_reverse_data:
+31e0 5800010b setarg offset_24g_rxdata_temp_add2 
+31e1 9a608c00 iadd regc ,contr 
+31e2 df200009 arg 9 ,loopcnt 
+31e3 20207ff3 branch reverse_byte 
+
+g24_kb_enable_blank_data_forcibly:
+31e4 58000001 setarg 1 
+31e5 204032ab call g24_store_mem_kb_blank_data_enable 
+
+g24_kb_enable_blank_data_timer:
+31e6 58000140 setarg timer_kb_blank_delay 
+31e7 d8e0000e arg timer_kb_blank ,queue 
+31e8 20207f08 branch timer_init 
+
+g24_kb_disable_blank_data_forcibly:
+31e9 204032aa call g24_set0_mem_kb_blank_data_enable 
+
+g24_kb_disable_blank_data_timer:
+31ea 58000000 setarg 0 
+31eb d8e0000e arg timer_kb_blank ,queue 
+31ec 20207f08 branch timer_init 
+
+g24_kb_data_dispose:
+
+g24_kb_data_into_ep1_fifo:
+31ed 700d5110 jam usb_ep1_kb ,mem_usb_ep1_data 
+31ee 68008d38 fetch 1 ,mem_usb_tx_enable 
+31ef 79207e01 set1 1 ,pdata 
+31f0 60008d38 store 1 ,mem_usb_tx_enable 
+31f1 20600000 rtn 
+
+g24_data_type3:
+31f2 d8a00d74 arg mem_usb_kb_multikey ,contw 
+31f3 204031e0 call g24_data_type2_reverse_data 
+31f4 68010d75 fetch 2 ,mem_usb_kb_multikey + 1 
+31f5 245a3209 ncall g24_kb_mul_enable_blank_data_forcibly ,blank 
+31f6 68010d75 fetch 2 ,mem_usb_kb_multikey + 1 
+31f7 205a320e call g24_kb_mul_disable_blank_data_forcibly ,blank 
+31f8 20402c7a call g24_head_ptr2regc 
+31f9 68018d74 fetch 3 ,mem_usb_kb_multikey 
+31fa da200178 arg offset_24g_kb_multikey_sta_data ,rega 
+31fb 204032c4 call g24_set_contw_with_temp_store_3byte 
+31fc 5800017b setarg offset_24g_kb_multikey_last_data 
+31fd 9a60a200 iadd regc ,rega 
+31fe ea298000 ifetcht 3 ,rega 
+31ff 98467c00 isub temp ,null 
+3200 2442b207 ncall g24_kb_mul_data_into_ep2_fifo ,zero 
+3201 58000178 setarg offset_24g_kb_multikey_sta_data 
+3202 9a60a200 iadd regc ,rega 
+3203 ea218000 ifetch 3 ,rega 
+3204 da20017b arg offset_24g_kb_multikey_last_data ,rega 
+3205 204032c4 call g24_set_contw_with_temp_store_3byte 
+3206 20202f5e branch g24_rx_interrupt_clear 
+
+g24_kb_mul_data_into_ep2_fifo:
+3207 700d5221 jam usb_ep2_multikey ,mem_usb_ep2_data 
+3208 202031b9 branch g24_data_type1_usbtx_enable_ep2 
+
+g24_kb_mul_enable_blank_data_forcibly:
+3209 58000001 setarg 1 
+320a 204032ae call g24_store_mem_kb_mul_blank_data_enable 
+
+g24_kb_mul_enable_blank_data_timer:
+320b 58000140 setarg timer_kb_mul_blank_delay 
+320c d8e0000c arg timer_kb_mul_blank ,queue 
+320d 20207f08 branch timer_init 
+
+g24_kb_mul_disable_blank_data_forcibly:
+320e 204032ad call g24_set0_mem_kb_mul_blank_data_enable 
+
+g24_kb_mul_disable_blank_data_timer:
+320f 58000000 setarg 0 
+3210 d8e0000c arg timer_kb_mul_blank ,queue 
+3211 20207f08 branch timer_init 
+
+g24_data_attemp:
+3212 204032bd call g24_fetch_mem_rxdata_temp_add3_1byte 
+3213 c000b216 beq datatype_mouse ,g24_data_attemp_mouse 
+3214 c001321b beq datatype_keyboard ,g24_data_attemp_kbd 
+3215 20600000 rtn 
+
+g24_data_attemp_mouse:
+3216 5800010d setarg offset_24g_rxdata_temp_add4 
+3217 2040327e call g24_set_rega_ifetch_4byte 
+3218 da200160 arg offset_24g_mouse_addr ,rega 
+3219 204032bf call g24_set_contw_with_temp 
+321a 2020322d branch g24_contw_istore_4byte 
+
+g24_data_attemp_kbd:
+321b 5800010d setarg offset_24g_rxdata_temp_add4 
+321c 2040327e call g24_set_rega_ifetch_4byte 
+321d da200164 arg offset_24g_kb_addr ,rega 
+321e 204032bf call g24_set_contw_with_temp 
+321f 2020322d branch g24_contw_istore_4byte 
+
+g24_store_mem_24g_mode:
+3220 20402c7a call g24_head_ptr2regc 
+3221 1a608acd add regc ,offset_24g_mode ,contw 
+3222 e0a08000 istore 1 ,contw 
+3223 20600000 rtn 
+
+g24_fetch_mem_device_addr:
+3224 20402c7a call g24_head_ptr2regc 
+3225 1a60a2be add regc ,offset_24g_device_addr ,rega 
+3226 2020327f branch g24_rega_ifetch_4byte 
+
+g24_store_mem_device_addr:
+3227 20402c7a call g24_head_ptr2regc 
+3228 1a608abe add regc ,offset_24g_device_addr ,contw 
+3229 2020322d branch g24_contw_istore_4byte 
+
+g24_fetch_mem_addr:
+322a 1a60a2ae add regc ,offset_24g_addr ,rega 
+322b 2020327f branch g24_rega_ifetch_4byte 
+
+g24_store_mem_addr:
+322c 1a608aae add regc ,offset_24g_addr ,contw 
+
+g24_contw_istore_4byte:
+322d e0a20000 istore 4 ,contw 
+322e 20600000 rtn 
+
+g24_store_mem_ch:
+322f 1a608a90 add regc ,offset_24g_ch ,contw 
+3230 202032b4 branch g24_contw_istore_1byte 
+
+g24_set0_mem_pid:
+3231 58000000 setarg 0 
+
+g24_store_mem_pid:
+3232 20402c7a call g24_head_ptr2regc 
+3233 1a608a85 add regc ,offset_24g_pid ,contw 
+3234 202032b4 branch g24_contw_istore_1byte 
+
+g24_store_mem_txpayload:
+3235 1a608a42 add regc ,offset_24g_txpayload ,contw 
+3236 202032b4 branch g24_contw_istore_1byte 
+
+g24_set4_mem_max_retry:
+3237 58000004 setarg 4 
+
+g24_store_mem_max_retry:
+3238 1a608acc add regc ,offset_24g_max_retry ,contw 
+3239 202032b4 branch g24_contw_istore_1byte 
+
+g24_fetch_mem_data_type:
+323a 1a60a287 add regc ,offset_24g_data_type ,rega 
+323b 202032d1 branch g24_rega_ifetch_1byte 
+
+g24_store_mem_data_type:
+323c 1a608a87 add regc ,offset_24g_data_type ,contw 
+323d 202032b4 branch g24_contw_istore_1byte 
+
+g24_set2_mem_sync_cnt:
+323e 58000002 setarg 2 
+
+g24_store_mem_sync_cnt:
+323f 1a608ad0 add regc ,offset_24g_sync_cnt ,contw 
+3240 202032b4 branch g24_contw_istore_1byte 
+
+g24_set1_mem_rf_last_sta:
+3241 58000001 setarg 1 
+
+g24_store_mem_rf_last_sta:
+3242 20402c7a call g24_head_ptr2regc 
+3243 1a608ace add regc ,offset_24g_rf_last_sta ,contw 
+3244 202032b4 branch g24_contw_istore_1byte 
+
+g24_fetch_mem_hop_pac:
+3245 20402c7a call g24_head_ptr2regc 
+3246 1a60a2b4 add regc ,offset_24g_hop_pac ,rega 
+3247 202032d1 branch g24_rega_ifetch_1byte 
+
+g24_set1_mem_hop_pac:
+3248 58000001 setarg 1 
+
+g24_store_mem_hop_pac:
+3249 20402c7a call g24_head_ptr2regc 
+324a 1a608ab4 add regc ,offset_24g_hop_pac ,contw 
+324b 202032b4 branch g24_contw_istore_1byte 
+
+g24_fetch_mem_abort_pac:
+324c 20402c7a call g24_head_ptr2regc 
+324d 1a60a2b2 add regc ,offset_24g_abort_pac ,rega 
+324e 202032d1 branch g24_rega_ifetch_1byte 
+
+g24_set1_mem_abort_pac:
+324f 58000001 setarg 1 
+
+g24_store_mem_abort_pac:
+3250 20402c7a call g24_head_ptr2regc 
+3251 1a608ab2 add regc ,offset_24g_abort_pac ,contw 
+3252 202032b4 branch g24_contw_istore_1byte 
+
+g24_fetch_mem_pairing_sm:
+3253 20402c7a call g24_head_ptr2regc 
+3254 1a60a296 add regc ,offset_24g_pairing_sm ,rega 
+3255 202032d1 branch g24_rega_ifetch_1byte 
+
+g24_store_mem_pairing_sm:
+3256 1a608a96 add regc ,offset_24g_pairing_sm ,contw 
+3257 202032b4 branch g24_contw_istore_1byte 
+
+g24_fetch_mem_rf_hop_ch:
+3258 1a60a2cf add regc ,offset_24g_rf_hop_ch ,rega 
+3259 202032d1 branch g24_rega_ifetch_1byte 
+
+g24_set0_mem_rf_hop_ch:
+325a 58000000 setarg 0 
+
+g24_store_mem_rf_hop_ch:
+325b 1a608acf add regc ,offset_24g_rf_hop_ch ,contw 
+325c 202032b4 branch g24_contw_istore_1byte 
+
+g24_fetch_mem_rf_work_stage:
+325d 1a60a2d2 add regc ,offset_24g_rf_work_stage ,rega 
+325e 202032d1 branch g24_rega_ifetch_1byte 
+
+g24_fetch_mem_rxbuf_add1:
+325f 1a60a201 add regc ,offset_24g_rxbuf_add1 ,rega 
+3260 202032d1 branch g24_rega_ifetch_1byte 
+
+g24_fetch_mem_check_dongle_times:
+3261 1a60a2b5 add regc ,offset_24g_check_dongle_times ,rega 
+3262 202032d1 branch g24_rega_ifetch_1byte 
+
+g24_set0_mem_check_dongle_times:
+3263 58000000 setarg 0 
+
+g24_store_mem_check_dongle_times:
+3264 20402c7a call g24_head_ptr2regc 
+3265 1a608ab5 add regc ,offset_24g_check_dongle_times ,contw 
+3266 202032b4 branch g24_contw_istore_1byte 
+
+g24_store_mem_tx_power:
+3267 20402c7a call g24_head_ptr2regc 
+3268 1a60a2fb add regc ,offset_tx_power_temp ,rega 
+3269 ea208000 ifetch 1 ,rega 
+
+g24_store_mem_txpower:
+326a 6000c1de store 1 ,mem_tx_power 
+326b 20600000 rtn 
+
+g24_store_mem_tx_power_temp:
+326c 20402c7a call g24_head_ptr2regc 
+326d 6800c1de fetch 1 ,mem_tx_power 
+326e 1a608afb add regc ,offset_tx_power_temp ,contw 
+326f 202032b4 branch g24_contw_istore_1byte 
+
+g24_fetch_mem_power_ctrl_pac:
+3270 1a60a2fc add regc ,offset_power_ctrl_packet_cnt ,rega 
+3271 202032d1 branch g24_rega_ifetch_1byte 
+
+g24_store_mem_power_ctrl_level:
+3272 1a608afe add regc ,offset_power_ctrl_level ,contw 
+3273 202032b4 branch g24_contw_istore_1byte 
+
+g24_fetcht_mem_rxdata_temp:
+3274 58000109 setarg offset_24g_rxdata_temp 
+
+g24_set_rega_ifetcht_1byte:
+3275 9a60a200 iadd regc ,rega 
+3276 ea288000 ifetcht 1 ,rega 
+3277 20600000 rtn 
+
+g24_fetch_mem_rf_laststa:
+3278 58000135 setarg offset_24g_rf_laststa 
+3279 202032d0 branch g24_set_rega_ifetch_1byte 
+
+g24_set0_mem_rf_laststa:
+327a 58000000 setarg 0 
+
+g24_store_mem_rf_laststa:
+327b da200135 arg offset_24g_rf_laststa ,rega 
+327c 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_fetch_mem_rx_addr:
+327d 5800012b setarg offset_24g_rx_addr 
+
+g24_set_rega_ifetch_4byte:
+327e 204032cd call g24_set_rega 
+
+g24_rega_ifetch_4byte:
+327f ea220000 ifetch 4 ,rega 
+3280 20600000 rtn 
+
+g24_fetch_mem_time_slice:
+3281 5800015f setarg offset_24g_time_slice 
+3282 202032d0 branch g24_set_rega_ifetch_1byte 
+
+g24_set0_mem_time_slice:
+3283 58000000 setarg 0 
+
+g24_store_mem_time_slice:
+3284 da20015f arg offset_24g_time_slice ,rega 
+3285 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_set0_mem_mode_switch:
+3286 58000000 setarg 0 
+
+g24_store_mem_mode_switch:
+3287 da20015c arg offset_24g_mode_switch ,rega 
+3288 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_store_mem_bind_payload:
+3289 da20012f arg offset_24g_bind_payload ,rega 
+328a 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_fetch_mem_bind_device_status:
+328b 58000108 setarg offset_dongle_bind_device_status 
+328c 202032d0 branch g24_set_rega_ifetch_1byte 
+
+g24_store_mem_bind_device_status:
+328d da200108 arg offset_dongle_bind_device_status ,rega 
+328e 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_fetch_mem_dongle_work_mode:
+328f 58000105 setarg offset_dongle_work_mode 
+3290 202032d0 branch g24_set_rega_ifetch_1byte 
+
+g24_set_work_mem_dongle_work_mode:
+3291 58000000 setarg dongle_work 
+
+g24_store_mem_dongle_work_mode:
+3292 da200105 arg offset_dongle_work_mode ,rega 
+3293 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_fetch_mem_dongle_mode_init:
+3294 58000104 setarg offset_dongle_mode_init 
+3295 202032d0 branch g24_set_rega_ifetch_1byte 
+
+g24_set0_mem_dongle_mode_init:
+3296 58000000 setarg clear_init 
+
+g24_store_mem_dongle_mode_init:
+3297 da200104 arg offset_dongle_mode_init ,rega 
+3298 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_set0_mem_ackpayload_enable:
+3299 58000000 setarg 0 
+
+g24_store_mem_ackpayload_enable:
+329a da20013b arg offset_24g_ackpayload_enable ,rega 
+329b 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_set1_mem_ackpayload_enable:
+329c 58000001 setarg 1 
+329d 2020329a branch g24_store_mem_ackpayload_enable 
+
+g24_fetch_mem_rxdata_temp_add3_7byte:
+329e 5800010c setarg offset_24g_rxdata_temp_add3 
+329f 204032cd call g24_set_rega 
+32a0 ea238000 ifetch 7 ,rega 
+32a1 20600000 rtn 
+
+g24_fetch_mem_nodata_timer_enable:
+32a2 5800015e setarg offset_24g_nodata_timer_enable 
+32a3 202032d0 branch g24_set_rega_ifetch_1byte 
+
+g24_set0_mem_nodata_timer_enable:
+32a4 58000000 setarg 0 
+
+g24_store_mem_nodata_timer_enable:
+32a5 da20015e arg offset_24g_nodata_timer_enable ,rega 
+32a6 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_set0_mem_ms_blank_data_enable:
+32a7 58000000 setarg 0 
+
+g24_store_mem_ms_blank_data_enable:
+32a8 da200180 arg offset_24g_ms_blank_data_enable ,rega 
+32a9 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_set0_mem_kb_blank_data_enable:
+32aa 58000000 setarg 0 
+
+g24_store_mem_kb_blank_data_enable:
+32ab da20017e arg offset_24g_kb_blank_data_enable ,rega 
+32ac 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_set0_mem_kb_mul_blank_data_enable:
+32ad 58000000 setarg 0 
+
+g24_store_mem_kb_mul_blank_data_enable:
+32ae da20017f arg offset_24g_kb_mul_blank_data_enable ,rega 
+32af 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_store_mem_power_ctrl_threshold_up:
+32b0 da200102 arg offset_power_ctrl_threshold_up ,rega 
+32b1 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_store_mem_power_ctrl_threshold_down:
+32b2 da200103 arg offset_power_ctrl_threshold_down ,rega 
+
+g24_set_contw_with_regb_store_1byte:
+32b3 204032c7 call g24_set_contw_with_regb 
+
+g24_contw_istore_1byte:
+32b4 e0a08000 istore 1 ,contw 
+32b5 20600000 rtn 
+
+g24_fetch_mem_pair_mode:
+32b6 5800015d setarg offset_24g_pair_mode 
+32b7 202032d0 branch g24_set_rega_ifetch_1byte 
+
+g24_store_mem_pair_mode:
+32b8 da20015d arg offset_24g_pair_mode ,rega 
+32b9 202032b3 branch g24_set_contw_with_regb_store_1byte 
+
+g24_store_mem_pair_txpower:
+32ba 5800018a setarg offset_24g_pair_txpower 
+32bb 204032d0 call g24_set_rega_ifetch_1byte 
+32bc 2020326a branch g24_store_mem_txpower 
+
+g24_fetch_mem_rxdata_temp_add3_1byte:
+32bd 5800010c setarg offset_24g_rxdata_temp_add3 
+32be 202032d0 branch g24_set_rega_ifetch_1byte 
+
+g24_set_contw_with_temp:
+32bf 1fe20400 copy pdata ,temp 
+32c0 1a227e00 copy rega ,pdata 
+32c1 9a608a00 iadd regc ,contw 
+32c2 18427e00 copy temp ,pdata 
+32c3 20600000 rtn 
+
+g24_set_contw_with_temp_store_3byte:
+32c4 204032bf call g24_set_contw_with_temp 
+
+g24_contw_istore_3byte:
+32c5 e0a18000 istore 3 ,contw 
+32c6 20600000 rtn 
+
+g24_set_contw_with_regb:
+32c7 20402c7a call g24_head_ptr2regc 
+
+g24_set_contw_with_regb2:
+32c8 1fe22400 copy pdata ,regb 
+32c9 1a227e00 copy rega ,pdata 
+32ca 9a608a00 iadd regc ,contw 
+32cb 1a427e00 copy regb ,pdata 
+32cc 20600000 rtn 
+
+g24_set_rega:
+32cd 20402c7a call g24_head_ptr2regc 
+32ce 9a60a200 iadd regc ,rega 
+32cf 20600000 rtn 
+
+g24_set_rega_ifetch_1byte:
+32d0 204032cd call g24_set_rega 
+
+g24_rega_ifetch_1byte:
+32d1 ea208000 ifetch 1 ,rega 
+32d2 20600000 rtn 
+
+g24_set_rega_ifetcht_4byte:
+32d3 204032cd call g24_set_rega 
+32d4 ea2a0000 ifetcht 4 ,rega 
+32d5 20600000 rtn 
+
+g24_mem_set0:
+32d6 58000000 setarg 0 
+32d7 202032b4 branch g24_contw_istore_1byte 
+
+app_init:
+32d8 44e24018 bpatch patch18_4 ,mem_patch18 
+32d9 6800c092 fetch 1 ,mem_device_option 
+32da 203a32d8 branch app_init ,blank 
+32db c0022f30 beq dvc_op_dongle ,dongle_init 
+32dc c007b436 beq dvc_op_antilost ,antilost_init 
+32dd c004c5de beq dvc_op_shutter ,shutter_init 
+32de c005392a beq dvc_op_module ,module_init 
+32df c00735bf beq dvc_op_car ,car_init 
+32e0 c00844a4 beq dvc_op_remote_car ,remote_car_init 
+32e1 c2833d00 bbit1 dvc_op_mouse ,mouse_init 
+32e2 20600000 rtn 
+
+app_lpm_init:
+32e3 44e2c018 bpatch patch18_5 ,mem_patch18 
+32e4 70015100 jam 0 ,mem_tester_emulate 
+32e5 70017f00 jam 0 ,mem_debug_config 
+32e6 70018000 jam 0 ,mem_lch_code 
+32e7 58000000 setarg 0 
+32e8 600289ae store 5 ,mem_sp_state_start 
+32e9 6800c092 fetch 1 ,mem_device_option 
+32ea 203a32e3 branch app_lpm_init ,blank 
+32eb c0053962 beq dvc_op_module ,module_lpm_init 
+
+app_lpm_init0:
+32ec 20600000 rtn 
+
+app_process_idle:
+32ed 20407cd1 call ui_dispatch 
+32ee 20407d9c call check_51cmd 
+32ef 204032f6 call app_process_bb_event 
+32f0 680141f3 fetch 2 ,mem_cb_idle_process 
+32f1 20207f9c branch callback_func 
+
+app_process_bt:
+32f2 680141f1 fetch 2 ,mem_cb_bt_process 
+32f3 20207f9c branch callback_func 
+
+app_process_ble:
+32f4 680141ef fetch 2 ,mem_cb_le_process 
+32f5 20207f9c branch callback_func 
+
+app_process_bb_event:
+32f6 44e34018 bpatch patch18_6 ,mem_patch18 
+32f7 da204668 arg mem_ipc_fifo_bt2c51 ,rega 
+32f8 20407fc4 call fifo_out 
+32f9 207a0000 rtn blank 
+32fa 1fe22600 copy pdata ,regc 
+32fb 204032ff call app_event_normal_process 
+32fc 20203324 branch app_process_bb_event_priority 
+
+app_discard_event:
+32fd da600000 arg 0 ,regc 
+32fe 20600000 rtn 
+
+app_event_normal_process:
+32ff c000b311 beq bt_evt_bb_connected ,app_evt_bt_conn 
+3300 c0083357 beq bt_evt_button_long_pressed ,app_evt_button_long_pressed 
+3301 c002b335 beq bt_evt_setup_complete ,app_evt_setup_complete 
+3302 c009333c beq bt_evt_hid_handshake ,app_evt_hid_handshake 
+3303 c0033353 beq bt_evt_hid_connected ,app_bb_event_hid_connected 
+3304 c0023394 beq bt_evt_reconn_failed ,app_bb_event_reconn_failed 
+3305 c0013399 beq bt_evt_bb_disconnected ,app_bb_event_bb_disconn 
+3306 c009b394 beq bt_evt_reconn_page_timeout ,app_bb_event_reconn_failed 
+3307 c00a334b beq bt_evt_le_connected ,app_le_event_bb_connected 
+3308 c00ab34f beq bt_evt_le_disconnected ,app_le_event_bb_disconn 
+3309 c001b32e beq bt_evt_reconn_started ,app_event_reconn_start 
+330a c005b340 beq bt_evt_enter_sniff ,app_event_enter_sniff 
+330b c0063347 beq bt_evt_exit_sniff ,app_event_exit_sniff 
+330c c00b335b beq bt_evt_ml2cap_conn_refused ,app_event_ml2cap_conn_refused 
+330d c00c332a beq bt_evt_linkkey_generate ,app_event_linkkey_generate 
+330e c015331a beq bt_evt_switch_fail_master ,app_event_switch_fail_master 
+330f c015b318 beq bt_evt_switch_success_master ,app_event_switch_success 
+3310 20600000 rtn 
+
+app_evt_bt_conn:
+3311 68014682 fetch 2 ,mem_ui_state_map 
+3312 79207e00 set1 ui_state_bt_connected ,pdata 
+3313 60014682 store 2 ,mem_ui_state_map 
+3314 6801420a fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3315 793ffe00 set0 app_disc_by_button ,pdata 
+3316 6001420a store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3317 20600000 rtn 
+
+app_event_switch_success:
+3318 70022900 jam 0 ,mem_switch_fail_master_count 
+3319 20600000 rtn 
+
+app_event_switch_fail_master:
+331a 68008229 fetch 1 ,mem_switch_fail_master_count 
+331b 1fe0fe01 increase 1 ,pdata 
+331c 60008229 store 1 ,mem_switch_fail_master_count 
+331d 1fe67c01 sub pdata ,1 ,null 
+331e 202133df branch app_bt_role_switch ,positive 
+331f 70022900 jam 0 ,mem_switch_fail_master_count 
+3320 6801420a fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3321 79207e09 set1 app_disc_switch_fail ,pdata 
+3322 6001420a store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3323 202033e9 branch app_bt_disconnect 
+
+app_process_bb_event_priority:
+3324 680141f5 fetch 2 ,mem_cb_bb_event_process 
+3325 20207f9c branch callback_func 
+
+app_check_wake_lock:
+3326 680141e9 fetch 2 ,mem_cb_check_wakelock 
+3327 20207f9c branch callback_func 
+
+app_will_enter_lpm:
+3328 680141ed fetch 2 ,mem_cb_before_lpm 
+3329 20207f9c branch callback_func 
+
+app_event_linkkey_generate:
+332a 6801420a fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+332b 79207e01 set1 app_disc_after_pairing ,pdata 
+332c 6001420a store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+332d 20203412 branch app_bt_store_reconn_info 
+
+app_event_reconn_start:
+332e 68014682 fetch 2 ,mem_ui_state_map 
+332f 79207e07 set1 ui_state_bt_reconnect ,pdata 
+3330 60014682 store 2 ,mem_ui_state_map 
+3331 6801420a fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3332 79207e02 set1 app_disc_after_reconn ,pdata 
+3333 6001420a store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3334 20600000 rtn 
+
+app_evt_setup_complete:
+3335 68014682 fetch 2 ,mem_ui_state_map 
+3336 79207e01 set1 ui_state_bt_setup_complete ,pdata 
+3337 60014682 store 2 ,mem_ui_state_map 
+3338 6801420a fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3339 79207e04 set1 app_disc_after_setup_done ,pdata 
+333a 6001420a store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+333b 20600000 rtn 
+
+app_evt_hid_handshake:
+333c 68014682 fetch 2 ,mem_ui_state_map 
+333d 79207e03 set1 ui_state_bt_hid_handshake ,pdata 
+333e 60014682 store 2 ,mem_ui_state_map 
+333f 20600000 rtn 
+
+app_event_enter_sniff:
+3340 68014682 fetch 2 ,mem_ui_state_map 
+3341 79207e05 set1 ui_state_bt_sniff ,pdata 
+3342 60014682 store 2 ,mem_ui_state_map 
+3343 6801420a fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3344 79207e03 set1 app_disc_after_sniff ,pdata 
+3345 6001420a store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3346 20600000 rtn 
+
+app_event_exit_sniff:
+3347 68014682 fetch 2 ,mem_ui_state_map 
+3348 793ffe05 set0 ui_state_bt_sniff ,pdata 
+3349 60014682 store 2 ,mem_ui_state_map 
+334a 20600000 rtn 
+
+app_le_event_bb_connected:
+334b 68014682 fetch 2 ,mem_ui_state_map 
+334c 79207e09 set1 ui_state_ble_connected ,pdata 
+334d 60014682 store 2 ,mem_ui_state_map 
+334e 20600000 rtn 
+
+app_le_event_bb_disconn:
+334f 68014682 fetch 2 ,mem_ui_state_map 
+3350 793ffe09 set0 ui_state_ble_connected ,pdata 
+3351 60014682 store 2 ,mem_ui_state_map 
+3352 20203418 branch app_lpm_mult_disable 
+
+app_bb_event_hid_connected:
+3353 68014682 fetch 2 ,mem_ui_state_map 
+3354 79207e02 set1 ui_state_bt_hid_conn ,pdata 
+3355 60014682 store 2 ,mem_ui_state_map 
+3356 20600000 rtn 
+
+app_evt_button_long_pressed:
+3357 6801420a fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3358 79207e00 set1 app_disc_by_button ,pdata 
+3359 6001420a store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+335a 20600000 rtn 
+
+app_event_ml2cap_conn_refused:
+335b 6801420a fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+335c 79207e08 set1 app_disc_l2cap_refused ,pdata 
+335d 6001420a store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+335e 202033e9 branch app_bt_disconnect 
+
+app_evt_timer:
+335f 44e3c018 bpatch patch18_7 ,mem_patch18 
+3360 6000822a store 1 ,mem_app_evt_timer_count 
+
+app_evt_100ms_loop:
+3361 6800822a fetch 1 ,mem_app_evt_timer_count 
+3362 207a0000 rtn blank 
+3363 1fe0ffff increase -1 ,pdata 
+3364 6000822a store 1 ,mem_app_evt_timer_count 
+3365 20407cdd call ui_button_polling 
+3366 204033d6 call app_lpm_wake_auto_lock_timer 
+3367 20403387 call app_unsniff_delay_timer 
+3368 2040338d call app_discovery_timer 
+3369 2040651b call flash_write_spi_sm_timer 
+336a 680141fd fetch 2 ,mem_cb_event_timer 
+336b 20407f9c call callback_func 
+336c 20203361 branch app_evt_100ms_loop 
+
+timer_single_step:
+336d ea608000 ifetch 1 ,regc 
+336e 207a0000 rtn blank 
+336f 1fe0ffff pincrease -1 
+3370 e2608000 istore 1 ,regc 
+3371 247a0000 nrtn blank 
+3372 1a427e00 copy regb ,pdata 
+3373 20207f9c branch callback_func 
+
+timer_single_step_2b:
+3374 ea610000 ifetch 2 ,regc 
+3375 207a0000 rtn blank 
+3376 1fe0ffff pincrease -1 
+3377 e2610000 istore 2 ,regc 
+3378 247a0000 nrtn blank 
+3379 1a427e00 copy regb ,pdata 
+337a 20207f9c branch callback_func 
+
+app_power_timer:
+337b 6809423f fetcht 2 ,mem_power_param_ptr 
+337c 1840a601 add temp ,power_timer_offset ,regc 
+337d da40337f arg app_power_timer_timeout ,regb 
+337e 2020336d branch timer_single_step 
+
+app_power_timer_timeout:
+337f 2040342d call app_got_power_state_common 
+3380 c000b382 beq power_starting ,app_enter_power_stanby_state 
+
+app_enter_power_off_state:
+3381 2020340a branch app_enter_hibernate 
+
+app_enter_power_stanby_state:
+3382 58000002 setarg power_standby 
+3383 e2608000 istore 1 ,regc 
+3384 1840a408 add temp ,power_standby_cb_offset ,regb 
+
+app_power_cb_common:
+3385 ea410000 ifetch 2 ,regb 
+3386 20207f9c branch callback_func 
+
+app_unsniff_delay_timer:
+3387 da604205 arg mem_unsniff2sniff_timer_count ,regc 
+3388 da40338a arg app_unsniff_delay_timeout ,regb 
+3389 2020336d branch timer_single_step 
+
+app_unsniff_delay_timeout:
+338a 20402252 call context_check_idle 
+338b 2022b40e branch app_bt_enter_sniff ,zero 
+338c 20600000 rtn 
+
+app_discovery_timer:
+338d da60467e arg mem_discovery_timeout_timer_count ,regc 
+338e da403390 arg app_discovery_timeout ,regb 
+338f 20203374 branch timer_single_step_2b 
+
+app_discovery_timeout:
+3390 204033f0 call app_bt_stop_discovery 
+3391 20403408 call app_led_off 
+3392 680141f7 fetch 2 ,mem_cb_discovry_timeout 
+3393 20207f9c branch callback_func 
+
+app_bb_event_reconn_failed:
+3394 204033ac call app_disconn_reason_flag_clear 
+
+app_clear_reconnect_flag:
+3395 68014682 fetch 2 ,mem_ui_state_map 
+3396 793ffe07 set0 ui_state_bt_reconnect ,pdata 
+3397 60014682 store 2 ,mem_ui_state_map 
+3398 20600000 rtn 
+
+app_bb_event_bb_disconn:
+3399 70420500 jam 0 ,mem_unsniff2sniff_timer_count 
+339a 68014682 fetch 2 ,mem_ui_state_map 
+339b c283b39e bbit1 ui_state_bt_reconnect ,app_bb_event_bb_reconn_disconn 
+339c 2fec0001 isolate0 ui_state_bt_setup_complete ,pdata 
+339d 2040b2fd call app_discard_event ,true 
+
+app_bb_event_bb_reconn_disconn:
+339e 44e44019 bpatch patch19_0 ,mem_patch19 
+339f 68014682 fetch 2 ,mem_ui_state_map 
+33a0 793ffe00 set0 ui_state_bt_connected ,pdata 
+33a1 793ffe01 set0 ui_state_bt_setup_complete ,pdata 
+33a2 793ffe02 set0 ui_state_bt_hid_conn ,pdata 
+33a3 793ffe03 set0 ui_state_bt_hid_handshake ,pdata 
+33a4 793ffe07 set0 ui_state_bt_reconnect ,pdata 
+33a5 60014682 store 2 ,mem_ui_state_map 
+33a6 20203418 branch app_lpm_mult_disable 
+
+app_bb_hibernate:
+33a7 204033a9 call app_disconn_reason_clear 
+33a8 2020340a branch app_enter_hibernate 
+
+app_disconn_reason_clear:
+33a9 58000000 setarg 0 
+33aa 60014208 store app_disc_rsn_size ,mem_app_disconn_reason 
+33ab 20600000 rtn 
+
+app_disconn_reason_flag_clear:
+33ac 58000000 setarg 0 
+33ad 6001420a store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+33ae 20600000 rtn 
+
+app_disconn_reason_collect_bt:
+33af 6801420a fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+33b0 60014208 store app_disc_rsn_size ,mem_app_disconn_reason 
+33b1 58000000 setarg 0 
+33b2 6001420a store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+33b3 20600000 rtn 
+
+app_disconn_reason_collect_ble:
+33b4 6801420a fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+33b5 79207e07 set1 app_disc_ble ,pdata 
+33b6 60014208 store app_disc_rsn_size ,mem_app_disconn_reason 
+33b7 58000000 setarg 0 
+33b8 6001420a store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+33b9 20600000 rtn 
+
+app_check_sniff:
+33ba 6800c682 fetch 1 ,mem_ui_state_map 
+33bb 2feffe05 isolate1 ui_state_bt_sniff ,pdata 
+33bc 20600000 rtn 
+
+app_initflag_store:
+33bd 5800aa55 setarg eeprom_init_flag 
+
+app_flag_store:
+33be 60010aaa store 2 ,mem_timeup 
+33bf 44e4c019 bpatch patch19_1 ,mem_patch19 
+33c0 d8400002 arg 2 ,temp 
+33c1 da200aaa arg mem_timeup ,rega 
+33c2 da4000c3 arg eeprom_module_init_flag ,regb 
+33c3 20206606 branch iicd_write_eep_data 
+
+app_initflag_check:
+33c4 44e54019 bpatch patch19_2 ,mem_patch19 
+33c5 d8400002 arg 2 ,temp 
+33c6 da200a9a arg mem_pdatatemp ,rega 
+33c7 da4000c3 arg eeprom_module_init_flag ,regb 
+33c8 204065df call iicd_read_eep_data 
+33c9 68010a9a fetch 2 ,mem_pdatatemp 
+33ca d840aa55 arg eeprom_init_flag ,temp 
+33cb 98467c00 isub temp ,null 
+33cc 20600000 rtn 
+
+app_start_auto_sniff:
+33cd 6800c55a fetch 1 ,mem_unsniff2sniff_timer 
+33ce 6000c205 store 1 ,mem_unsniff2sniff_timer_count 
+33cf 20600000 rtn 
+
+app_get_lpm_wake_lock:
+33d0 d8e00009 arg wake_lock_app ,queue 
+33d1 20202c32 branch lpm_get_wake_lock 
+
+app_put_lpm_wake_lock:
+33d2 d8e00009 arg wake_lock_app ,queue 
+33d3 20202c36 branch lpm_put_wake_lock 
+
+app_lpm_wake_auto_lock:
+33d4 70420605 jam lpm_wake_up_delay_timer ,mem_wake_up_delay_timer 
+33d5 202033d0 branch app_get_lpm_wake_lock 
+
+app_lpm_wake_auto_lock_timer:
+33d6 da604206 arg mem_wake_up_delay_timer ,regc 
+33d7 da4033d2 arg app_put_lpm_wake_lock ,regb 
+33d8 2020336d branch timer_single_step 
+
+app_l2cap_flow_control_enable:
+33d9 70436301 jam l2cap_flow_ctrl_enable ,mem_l2cap_flow_ctrl_flag 
+33da 20600000 rtn 
+
+app_l2cap_flow_control_disable:
+33db 70436300 jam l2cap_flow_ctrl_disable ,mem_l2cap_flow_ctrl_flag 
+33dc 20600000 rtn 
+
+app_bt_set_pincode:
+33dd 700a990a jam bt_cmd_set_pin_code ,mem_fifo_temp 
+33de 20207d8f branch ui_ipc_send_cmd 
+
+app_bt_role_switch:
+33df 700a991d jam bt_cmd_role_switch ,mem_fifo_temp 
+33e0 20207d8f branch ui_ipc_send_cmd 
+
+app_bt_start_reconnect:
+33e1 44e5c019 bpatch patch19_3 ,mem_patch19 
+33e2 6800c207 fetch 1 ,mem_app_connection_options 
+33e3 6000816d store 1 ,mem_connection_options 
+33e4 70022801 jam app_flag_reconnect ,mem_reconnect_flag 
+33e5 700a9903 jam bt_cmd_reconnect ,mem_fifo_temp 
+33e6 20207d8f branch ui_ipc_send_cmd 
+
+app_bt_reconnect_cancel:
+33e7 700a991e jam bt_cmd_bb_reconn_cancel ,mem_fifo_temp 
+33e8 20207d8f branch ui_ipc_send_cmd 
+
+app_bt_disconnect:
+33e9 700a9904 jam bt_cmd_disconnect ,mem_fifo_temp 
+33ea 20207d8f branch ui_ipc_send_cmd 
+
+app_bt_start_discovery_short:
+33eb 68014687 fetch 2 ,mem_discovery_timeout 
+33ec 6001467e store 2 ,mem_discovery_timeout_timer_count 
+
+app_bt_start_discovery_led_blink:
+33ed 20403404 call app_led_start_blink 
+
+app_bt_start_discovery:
+33ee 700a9901 jam bt_cmd_start_discovery ,mem_fifo_temp 
+33ef 20207d8f branch ui_ipc_send_cmd 
+
+app_bt_stop_discovery:
+33f0 58000000 setarg 0 
+33f1 6001467e store 2 ,mem_discovery_timeout_timer_count 
+33f2 700a9902 jam bt_cmd_stop_discovery ,mem_fifo_temp 
+33f3 20207d8f branch ui_ipc_send_cmd 
+
+app_ble_start_direct_adv:
+33f4 700a990f jam bt_cmd_start_direct_adv ,mem_fifo_temp 
+33f5 20207d8f branch ui_ipc_send_cmd 
+
+app_ble_stop_direct_adv:
+33f6 700a9910 jam bt_cmd_stop_direct_adv ,mem_fifo_temp 
+33f7 20207d8f branch ui_ipc_send_cmd 
+
+app_ble_stop_adv:
+33f8 700a990e jam bt_cmd_stop_adv ,mem_fifo_temp 
+33f9 20207d8f branch ui_ipc_send_cmd 
+
+app_ble_start_adv:
+33fa 700a990d jam bt_cmd_start_adv ,mem_fifo_temp 
+33fb 20207d8f branch ui_ipc_send_cmd 
+
+app_ble_start_scan:
+33fc 700a9917 jam bt_cmd_le_start_scan ,mem_fifo_temp 
+33fd 20207d8f branch ui_ipc_send_cmd 
+
+app_ble_stop_scan:
+33fe 700a9918 jam bt_cmd_le_stop_scan ,mem_fifo_temp 
+33ff 20207d8f branch ui_ipc_send_cmd 
+
+app_ble_start_conn:
+3400 700a9916 jam bt_cmd_le_start_conn ,mem_fifo_temp 
+3401 20207d8f branch ui_ipc_send_cmd 
+
+app_ble_disconnect:
+3402 700a9911 jam bt_cmd_le_disconnect ,mem_fifo_temp 
+3403 20207d8f branch ui_ipc_send_cmd 
+
+app_led_start_blink:
+3404 700a9915 jam bt_cmd_led_blink ,mem_fifo_temp 
+3405 20207d8f branch ui_ipc_send_cmd 
+
+app_led_on:
+3406 700a9914 jam bt_cmd_led_on ,mem_fifo_temp 
+3407 20207d8f branch ui_ipc_send_cmd 
+
+app_led_stop_blink:
+
+app_led_off:
+3408 700a9913 jam bt_cmd_led_off ,mem_fifo_temp 
+3409 20207d8f branch ui_ipc_send_cmd 
+
+app_enter_hibernate:
+340a 700a9919 jam bt_cmd_enter_hibernate ,mem_fifo_temp 
+340b 20207d8f branch ui_ipc_send_cmd 
+
+app_bt_sniff_exit:
+340c 700a9906 jam bt_cmd_exit_sniff ,mem_fifo_temp 
+340d 20207d8f branch ui_ipc_send_cmd 
+
+app_bt_enter_sniff:
+340e 700a9905 jam bt_cmd_enter_sniff ,mem_fifo_temp 
+340f 20207d8f branch ui_ipc_send_cmd 
+
+app_ble_store_reconn_info:
+3410 700a991f jam bt_cmd_store_reconn_info_le ,mem_fifo_temp 
+3411 20207d8f branch ui_ipc_send_cmd 
+
+app_bt_store_reconn_info:
+3412 700a9920 jam bt_cmd_store_reconn_info_bt ,mem_fifo_temp 
+3413 20207d8f branch ui_ipc_send_cmd 
+
+app_store_reconn_info:
+3414 700a9925 jam bt_cmd_store_reconn_info ,mem_fifo_temp 
+3415 20207d8f branch ui_ipc_send_cmd 
+
+app_lpm_mult_enable:
+3416 7920000d set1 mark_lpm_mult_enable ,mark 
+3417 20600000 rtn 
+
+app_lpm_mult_disable:
+3418 793f800d set0 mark_lpm_mult_enable ,mark 
+3419 20600000 rtn 
+
+app_button_long_pressed:
+341a 2040342d call app_got_power_state_common 
+341b c0013424 beq power_standby ,app_power_shutting_down 
+
+app_power_starting:
+341c 58000001 setarg power_starting 
+341d e2608000 istore 1 ,regc 
+341e 1840a203 add temp ,power_starting_timeout_offset ,rega 
+341f 1840a406 add temp ,power_starting_cb_offset ,regb 
+
+app_power_common:
+3420 ea288000 ifetcht 1 ,rega 
+3421 1a60a601 increase 1 ,regc 
+3422 e2688000 istoret 1 ,regc 
+3423 20203385 branch app_power_cb_common 
+
+app_power_shutting_down:
+3424 58000000 setarg power_off 
+3425 e2608000 istore 1 ,regc 
+3426 68014682 fetch 2 ,mem_ui_state_map 
+3427 c304b429 bbit0 ui_state_ble_connected ,app_power_off_end 
+3428 20403402 call app_ble_disconnect 
+
+app_power_off_end:
+3429 6809423f fetcht 2 ,mem_power_param_ptr 
+342a 1840a202 add temp ,power_off_timeout_offset ,rega 
+342b 1840a404 add temp ,power_off_cb_offset ,regb 
+342c 20203420 branch app_power_common 
+
+app_got_power_state_common:
+342d 6809423f fetcht 2 ,mem_power_param_ptr 
+342e 1840a600 add temp ,power_state_offset ,regc 
+342f ea608000 ifetch 1 ,regc 
+3430 20600000 rtn 
+
+app_event_button_up:
+3431 2040342d call app_got_power_state_common 
+3432 c0803434 bne power_off ,app_power_release 
+3433 2020340a branch app_enter_hibernate 
+
+app_power_release:
+3434 1840a40a add temp ,ui_butten_up_cb_offset ,regb 
+3435 20203385 branch app_power_cb_common 
+
+antilost_init:
+3436 20758000 rtn wake 
+3437 70808100 jam 0x00 ,core_gpio_sel1 
+3438 58003463 setarg antilost_le_before_hibernate 
+3439 600141eb store 2 ,mem_cb_before_hibernate 
+343a 5800696c setarg keyscan_process_lpm_before 
+343b 600141ed store 2 ,mem_cb_before_lpm 
+343c 580034f5 setarg antilost_idle_process 
+343d 600141f3 store 2 ,mem_cb_idle_process 
+343e 580034f4 setarg antilost_le_conn_process 
+343f 600141ef store 2 ,mem_cb_le_process 
+3440 5800347e setarg antilost_bb_event_process 
+3441 600141f5 store 2 ,mem_cb_bb_event_process 
+3442 580034b2 setarg antilost_le_bb_event_timer 
+3443 600141fd store 2 ,mem_cb_event_timer 
+3444 58003465 setarg antilost_le_notification 
+3445 600141fb store 2 ,mem_cb_ble_transmit 
+3446 58003470 setarg antilost_lpm_lock_process 
+3447 600141e9 store 2 ,mem_cb_check_wakelock 
+3448 58003501 setarg antilost_le_receive_data_process 
+3449 600141f9 store 2 ,mem_cb_att_write 
+344a 44e64019 bpatch patch19_4 ,mem_patch19 
+344b 2040359b call antilost_buzzer_pwm_init 
+344c 20406948 call keyscan_key_init 
+344d 204035ad call antilost_adc_init 
+344e 20407d08 call ui_led_init_global 
+344f 20407cd3 call ui_button_init 
+3450 5800350b setarg antilost_key_up_down 
+3451 60014766 store 2 ,mem_cb_antl_key 
+3452 580034fc setarg antilost_power_off_cb 
+3453 6001475d store 2 ,mem_antl_power_off_cb 
+3454 580034f8 setarg antilost_power_starting_cb 
+3455 6001475f store 2 ,mem_antl_power_starting_cb 
+3456 5800346c setarg antilost_power_standby_cb 
+3457 60014761 store 2 ,mem_antl_power_standby_cb 
+3458 580035a2 setarg antilost_led_on_cb 
+3459 600146a9 store 2 ,mem_antl_led_cb_on 
+345a 580035a4 setarg antilost_led_off_cb 
+345b 600146ab store 2 ,mem_antl_led_cb_off 
+345c 580035a9 setarg antilost_buzzer_on 
+345d 600146b4 store 2 ,mem_antl_buzzer_cb_on 
+345e 580035a6 setarg antilost_buzzer_off 
+345f 600146b6 store 2 ,mem_antl_buzzer_cb_off 
+3460 68014682 fetch 2 ,mem_ui_state_map 
+3461 c3860000 rtnbit1 ui_state_btn_down 
+3462 2020340a branch app_enter_hibernate 
+
+antilost_le_before_hibernate:
+3463 20403586 call antilost_led_buzzer_stop_blink 
+3464 2020340a branch app_enter_hibernate 
+
+antilost_le_notification:
+3465 20405892 call le_fifo_check_nearly_full 
+3466 247a0000 nrtn blank 
+3467 da200b06 arg mem_temp_block5 ,rega 
+3468 20407e54 call queue_pop 
+3469 24740000 nrtn user 
+346a d8c00b06 arg mem_temp_block5 ,contr 
+346b 20204746 branch le_send_notify_from_list 
+
+antilost_power_standby_cb:
+346c 68014797 fetch 2 ,mem_antl_le_sleep_timeout 
+346d 60014791 store 2 ,mem_antl_le_sleep_timer 
+346e 70475301 jam 1 ,mem_antl_key_scan_enable 
+346f 2020358f branch antilost_fast_adv_start 
+
+antilost_lpm_lock_process:
+3470 6800c79d fetch 1 ,mem_antl_key_state 
+3471 c000b479 beq 1 ,antilost_lpm_ctrl_for_led_buzzer 
+3472 68014682 fetch 2 ,mem_ui_state_map 
+3473 c304b479 bbit0 ui_state_ble_connected ,antilost_lpm_ctrl_for_led_buzzer 
+3474 6800c79e fetch 1 ,mem_antl_lost_mode 
+3475 c000b3d0 beq 1 ,app_get_lpm_wake_lock 
+3476 6800c700 fetch 1 ,mem_antl_queue_curr_num 
+3477 243a33d0 nbranch app_get_lpm_wake_lock ,blank 
+3478 202033d2 branch app_put_lpm_wake_lock 
+
+antilost_lpm_ctrl_for_led_buzzer:
+3479 6800c79b fetch 1 ,mem_antl_led_state 
+347a 6808c79c fetcht 1 ,mem_antl_buzzer_state 
+347b 9841fe00 ior temp ,pdata 
+347c c000b3d0 beq 1 ,app_get_lpm_wake_lock 
+347d 202033d2 branch app_put_lpm_wake_lock 
+
+antilost_bb_event_process:
+347e 1a627e00 copy regc ,pdata 
+347f c016b431 beq bt_evt_button_up ,app_event_button_up 
+3480 c008341a beq bt_evt_button_long_pressed ,app_button_long_pressed 
+3481 c00a34df beq bt_evt_le_connected ,antilost_le_process_conn 
+3482 c00ab4e8 beq bt_evt_le_disconnected ,antilost_le_process_discon 
+3483 c0203485 beq bt_evt_le_parse_conn_papa_update_rsp ,antilost_le_conn_param_update_rsp_recieved 
+3484 20600000 rtn 
+
+antilost_le_conn_param_update_rsp_recieved:
+3485 68014509 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+3486 c000b48c beq ble_signaling_connect_parameter_update_rejected ,antilost_le_conn_param_rejected 
+
+antilost_le_conn_param_accepted:
+3487 680143d8 fetch 2 ,mem_le_new_connslavelatency 
+3488 203a34a2 branch antilost_master_nonsupport_latency ,blank 
+
+antilost_le_conn_param_updata_procedure_sucsess:
+3489 70478a02 jam conn_param_updata_procedure_complete ,mem_antl_conn_updata_procedure_state 
+348a 70478f3c jam 60 ,mem_antl_conn_update_timer 
+348b 20600000 rtn 
+
+antilost_le_conn_param_rejected:
+348c 6801449a fetch 2 ,mem_le_latency 
+348d 203a34a0 branch antilost_conn_param_updata_procedure_faild ,blank 
+
+antilost_conn_param_retransimiting:
+348e 70478a01 jam conn_param_updata_procedure_starting ,mem_antl_conn_updata_procedure_state 
+348f 680947b4 fetcht 2 ,mem_interval_increment 
+3490 68014496 fetch 2 ,mem_le_interval_min 
+3491 9840fe00 iadd temp ,pdata 
+3492 60014496 store 2 ,mem_le_interval_min 
+3493 1fe22200 copy pdata ,rega 
+3494 68014498 fetch 2 ,mem_le_interval_max 
+3495 9840fe00 iadd temp ,pdata 
+3496 60014498 store 2 ,mem_le_interval_max 
+3497 9a20fe00 iadd rega ,pdata 
+3498 1fe30400 rshift pdata ,temp 
+3499 680147c0 fetch 2 ,mem_antl_le_unnormal_interval_max 
+349a 9846fc00 idiv temp 
+349b 20407f86 call wait_div_end 
+349c 1807fe00 quotient pdata 
+349d 6001449a store 2 ,mem_le_latency 
+349e 70479001 jam 1 ,mem_antl_send_updata_le_param_timer 
+349f 20600000 rtn 
+
+antilost_conn_param_updata_procedure_faild:
+34a0 70478a03 jam conn_param_updata_procedure_faild ,mem_antl_conn_updata_procedure_state 
+34a1 20600000 rtn 
+
+antilost_master_nonsupport_latency:
+34a2 70417200 jam 0 ,mem_lpm_mult 
+34a3 70479000 jam 0 ,mem_antl_send_updata_le_param_timer 
+34a4 680143d6 fetch 2 ,mem_le_new_conninterval 
+34a5 680947be fetcht 2 ,mem_antl_le_unnormal_interval_min 
+34a6 98467c00 isub temp ,null 
+34a7 79212200 setflag positive ,0 ,rega 
+34a8 680147c0 fetch 2 ,mem_antl_le_unnormal_interval_max 
+34a9 680943d6 fetcht 2 ,mem_le_new_conninterval 
+34aa 98467e00 isub temp ,pdata 
+34ab 79212201 setflag positive ,1 ,rega 
+34ac 2a200603 compare 0x03 ,rega ,0x03 
+34ad 20608000 rtn true 
+34ae 680447be fetch 8 ,mem_antl_le_unnormal_interval_min 
+34af 60044496 store 8 ,mem_le_interval_min 
+34b0 70479001 jam 1 ,mem_antl_send_updata_le_param_timer 
+34b1 20600000 rtn 
+
+antilost_le_bb_event_timer:
+34b2 2040337b call app_power_timer 
+34b3 204034b9 call antilost_double_click_timer 
+34b4 204034be call antilost_le_fast_adv_timer 
+34b5 204034d5 call antilost_le_sleep_timer 
+34b6 204034ca call antilost_app_updata_le_param_timer 
+34b7 204034c4 call antilost_conn_update_timer 
+34b8 202034d9 branch antilost_adc_check_timer 
+
+antilost_double_click_timer:
+34b9 da604799 arg mem_double_click_timer ,regc 
+34ba da4034bc arg antilost_double_click_timeout ,regb 
+34bb 2020336d branch timer_single_step 
+
+antilost_double_click_timeout:
+34bc 70479a00 jam 0 ,mem_butten_click_cnt 
+34bd 20600000 rtn 
+
+antilost_le_fast_adv_timer:
+34be da604793 arg mem_antl_fast_adv_timer ,regc 
+34bf da4034c1 arg antilost_le_fast_adv_timeout ,regb 
+34c0 20203374 branch timer_single_step_2b 
+
+antilost_le_fast_adv_timeout:
+34c1 da6046bf arg mem_antl_slow_adv_led_style ,regc 
+34c2 da40469e arg mem_antl_slow_adv_lpm_interval ,regb 
+34c3 20203591 branch antilost_adv_start_common 
+
+antilost_conn_update_timer:
+34c4 da60478f arg mem_antl_conn_update_timer ,regc 
+34c5 da4034c7 arg antilost_conn_update_timer_time_out ,regb 
+34c6 2020336d branch timer_single_step 
+
+antilost_conn_update_timer_time_out:
+34c7 6801449a fetch 2 ,mem_le_latency 
+34c8 6000c172 store 1 ,mem_lpm_mult 
+34c9 20600000 rtn 
+
+antilost_app_updata_le_param_timer:
+34ca da604790 arg mem_antl_send_updata_le_param_timer ,regc 
+34cb da4034cd arg antilost_app_updata_le_param_timeout ,regb 
+34cc 2020336d branch timer_single_step 
+
+antilost_app_updata_le_param_timeout:
+34cd 6800843f fetch 1 ,mem_le_state 
+34ce 2fe0c000 compare 0 ,pdata ,0x60 
+34cf 2420b4d3 nbranch antilost_wait_for_updata_param_instant_expire ,true 
+34d0 70478a01 jam conn_param_updata_procedure_starting ,mem_antl_conn_updata_procedure_state 
+34d1 20403416 call app_lpm_mult_enable 
+34d2 20205abf branch le_l2cap_tx_update_req 
+
+antilost_wait_for_updata_param_instant_expire:
+34d3 70479001 jam 1 ,mem_antl_send_updata_le_param_timer 
+34d4 20600000 rtn 
+
+antilost_le_sleep_timer:
+34d5 da604791 arg mem_antl_le_sleep_timer ,regc 
+34d6 da4034d8 arg antilost_le_sleep_timer_timeout ,regb 
+34d7 20203374 branch timer_single_step_2b 
+
+antilost_le_sleep_timer_timeout:
+34d8 2020341a branch app_button_long_pressed 
+
+antilost_adc_check_timer:
+34d9 da60478d arg mem_adc_timer ,regc 
+34da da4034dc arg antilost_adc_check_timer_timeout ,regb 
+34db 20203374 branch timer_single_step_2b 
+
+antilost_adc_check_timer_timeout:
+34dc 680147a7 fetch 2 ,mem_adc_timeout 
+34dd 6001478d store 2 ,mem_adc_timer 
+34de 202035af branch antilost_battery_process 
+
+antilost_le_process_conn:
+34df 680147a7 fetch 2 ,mem_adc_timeout 
+34e0 6001478d store 2 ,mem_adc_timer 
+34e1 58000000 setarg 0 
+34e2 60014793 store 2 ,mem_antl_fast_adv_timer 
+34e3 60014791 store 2 ,mem_antl_le_sleep_timer 
+34e4 2040355c call antilost_alert_off 
+34e5 20403586 call antilost_led_buzzer_stop_blink 
+34e6 70417200 jam 0 ,mem_lpm_mult 
+34e7 202033f8 branch app_ble_stop_adv 
+
+antilost_le_process_discon:
+34e8 58000000 setarg 0 
+34e9 6002478d store 4 ,mem_adc_timer 
+34ea 6001c78a store 3 ,mem_antl_conn_updata_procedure_state 
+34eb 60014509 store 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+34ec 7047a001 jam 1 ,mem_alarm_config_notfy_cnt 
+34ed 68014797 fetch 2 ,mem_antl_le_sleep_timeout 
+34ee 60014791 store 2 ,mem_antl_le_sleep_timer 
+34ef 20407e38 call queue_init 
+34f0 6800c759 fetch 1 ,mem_antl_power_state 
+34f1 c1000000 rtneq power_off 
+34f2 2040358f call antilost_fast_adv_start 
+34f3 2020356e branch antilost_on_off_alarm_after_disconn 
+
+antilost_le_conn_process:
+34f4 20203508 branch antilost_key_process 
+
+antilost_idle_process:
+34f5 6800c759 fetch 1 ,mem_antl_power_state 
+34f6 c1810000 rtnne power_standby 
+34f7 20203508 branch antilost_key_process 
+
+antilost_power_starting_cb:
+34f8 da6046cd arg mem_antl_power_starting_buzzer_style ,regc 
+34f9 20403582 call antilost_buzzer_configuration 
+34fa da6046c6 arg mem_antl_power_starting_led_style ,regc 
+
+antilost_power_common:
+34fb 20203584 branch antilost_led_configuration 
+
+antilost_power_off_cb:
+34fc 70436e00 jam off ,mem_le_adv_enable 
+34fd da6046db arg mem_antl_power_off_buzzer_style ,regc 
+34fe 20403582 call antilost_buzzer_configuration 
+34ff da6046d4 arg mem_antl_power_off_led_style ,regc 
+3500 202034fb branch antilost_power_common 
+
+antilost_le_receive_data_process:
+3501 68008477 fetch 1 ,mem_le_att_opcode 
+3502 c0093504 beq attop_write_request ,antilost_le_parse_att_write_request 
+3503 20600000 rtn 
+
+antilost_le_parse_att_write_request:
+3504 68010478 fetch 2 ,mem_le_att_handle 
+3505 c006b536 beq new_spec_write_handle ,antilost_cmd_parse_for_application 
+3506 c005b571 beq new_spec_notification_enable_handle ,antilost_notify_alarm_config_first_time 
+3507 20600000 rtn 
+
+antilost_key_process:
+3508 6800c753 fetch 1 ,mem_antl_key_scan_enable 
+3509 207a0000 rtn blank 
+350a 20206978 branch keyscan_key_process 
+
+antilost_key_up_down:
+350b 1a227e00 copy rega ,pdata 
+350c 203a3510 branch antilost_key_is_up ,blank 
+
+antilost_key_is_down:
+350d 18e27e00 copy queue ,pdata 
+350e c0003513 beq 0 ,antilost_key0_down 
+350f 20600000 rtn 
+
+antilost_key_is_up:
+3510 18e27e00 copy queue ,pdata 
+3511 c000351b beq 0 ,antilost_key0_up 
+3512 20600000 rtn 
+
+antilost_key0_down:
+3513 70479d01 jam 1 ,mem_antl_key_state 
+3514 da6046f7 arg mem_antl_key_buzzer_style ,regc 
+3515 20403582 call antilost_buzzer_configuration 
+3516 da6046f0 arg mem_antl_key_led_style ,regc 
+3517 20403584 call antilost_led_configuration 
+3518 68014682 fetch 2 ,mem_ui_state_map 
+3519 c304b532 bbit0 ui_state_ble_connected ,antilost_butten_down_while_disconn 
+351a 20203521 branch antilost_butten_down_after_conn 
+
+antilost_key0_up:
+351b 70479d00 jam 0 ,mem_antl_key_state 
+351c 2020351d branch antilost_double_click_timer_init 
+
+antilost_double_click_timer_init:
+351d 6800c79a fetch 1 ,mem_butten_click_cnt 
+351e c1808000 rtnne 1 
+351f 70479905 jam 5 ,mem_double_click_timer 
+3520 20600000 rtn 
+
+antilost_butten_down_after_conn:
+3521 6800c79a fetch 1 ,mem_butten_click_cnt 
+3522 1fe0fe01 pincrease 1 
+3523 6000c79a store 1 ,mem_butten_click_cnt 
+3524 c000b527 beq 1 ,antilost_click_once 
+3525 c001352b beq 2 ,antilost_click_twice 
+3526 20600000 rtn 
+
+antilost_click_once:
+3527 2040355c call antilost_alert_off 
+3528 70477101 jam opcode1_butten_click_once ,mem_antl_key0_press + 5 
+3529 da60476c arg mem_antl_key0_press ,regc 
+352a 20203544 branch antilost_prepare_data_and_send 
+
+antilost_click_twice:
+352b 70479a00 jam 0 ,mem_butten_click_cnt 
+352c 70477102 jam opcode2_butten_double_click ,mem_antl_key0_press + 5 
+352d da60476c arg mem_antl_key0_press ,regc 
+352e 20403544 call antilost_prepare_data_and_send 
+352f 6800c79e fetch 1 ,mem_antl_lost_mode 
+3530 c000b551 beq 1 ,antilost_alert_on 
+3531 20600000 rtn 
+
+antilost_butten_down_while_disconn:
+3532 68014797 fetch 2 ,mem_antl_le_sleep_timeout 
+3533 60014791 store 2 ,mem_antl_le_sleep_timer 
+3534 2040355c call antilost_alert_off 
+3535 2020358f branch antilost_fast_adv_start 
+
+antilost_cmd_parse_for_application:
+3536 44e6c019 bpatch patch19_5 ,mem_patch19 
+3537 204036fc call le_app_receive_data 
+3538 ea208000 ifetch 1 ,rega 
+3539 c001b53c beq opcode3_antl_start_alram ,antilost_on_of_alram 
+353a c003b540 beq opcode7_antl_config_alram ,antilost_configuration_for_alram 
+353b 20600000 rtn 
+
+antilost_on_of_alram:
+353c 6800c79e fetch 1 ,mem_antl_lost_mode 
+353d c0003551 beq anti_le_alarm_off ,antilost_alert_on 
+353e c000b55c beq anti_le_alarm_on ,antilost_alert_off 
+353f 20600000 rtn 
+
+antilost_configuration_for_alram:
+3540 ea408000 ifetch 1 ,regb 
+3541 c000b564 beq 1 ,antilost_set_start_alarm_after_disconn 
+3542 c0003569 beq 0 ,antilost_set_no_alarm_after_disconn 
+3543 20600000 rtn 
+
+antilost_prepare_data_and_send:
+3544 44e74019 bpatch patch19_6 ,mem_patch19 
+3545 6800c78b fetch 1 ,mem_client_characteristic_configuration_descriptor 
+3546 2feffe00 isolate1 notification_enable_bit ,pdata 
+3547 24608000 nrtn true 
+3548 1a608c06 add regc ,6 ,contr 
+3549 e8c10000 ifetch 2 ,contr 
+354a 1ff0fe00 byteswap pdata ,pdata 
+354b 1fe0f205 add pdata ,5 ,loopcnt 
+354c 1a608c03 add regc ,3 ,contr 
+354d 204036f0 call calc_check_sum_start 
+354e e0c08000 istore 1 ,contr 
+354f 1a622200 copy regc ,rega 
+3550 20207e3d branch queue_push 
+
+antilost_alert_on:
+3551 6800c759 fetch 1 ,mem_antl_power_state 
+3552 207a0000 rtn blank 
+3553 70479e01 jam 1 ,mem_antl_lost_mode 
+3554 da6046e9 arg mem_antl_alert_buzzer_stlye ,regc 
+3555 20403582 call antilost_buzzer_configuration 
+3556 da6046e2 arg mem_antl_alert_led_stlye ,regc 
+3557 20403584 call antilost_led_configuration 
+3558 70478004 jam opcode4_current_alarm_state ,mem_antl_key0_release + 5 
+3559 70478301 jam 1 ,mem_antl_key0_release + 8 
+355a da60477b arg mem_antl_key0_release ,regc 
+355b 20203544 branch antilost_prepare_data_and_send 
+
+antilost_alert_off:
+355c 6800c79e fetch 1 ,mem_antl_lost_mode 
+355d 207a0000 rtn blank 
+355e 70479e00 jam 0 ,mem_antl_lost_mode 
+355f 20403586 call antilost_led_buzzer_stop_blink 
+3560 70478004 jam opcode4_current_alarm_state ,mem_antl_key0_release + 5 
+3561 70478300 jam 0 ,mem_antl_key0_release + 8 
+3562 da60477b arg mem_antl_key0_release ,regc 
+3563 20203544 branch antilost_prepare_data_and_send 
+
+antilost_set_start_alarm_after_disconn:
+3564 70479f01 jam 1 ,mem_alarm_config 
+3565 70478007 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+3566 70478301 jam 1 ,mem_antl_key0_release + 8 
+3567 da60477b arg mem_antl_key0_release ,regc 
+3568 20203544 branch antilost_prepare_data_and_send 
+
+antilost_set_no_alarm_after_disconn:
+3569 70479f00 jam 0 ,mem_alarm_config 
+356a 70478007 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+356b 70478300 jam 0 ,mem_antl_key0_release + 8 
+356c da60477b arg mem_antl_key0_release ,regc 
+356d 20203544 branch antilost_prepare_data_and_send 
+
+antilost_on_off_alarm_after_disconn:
+356e 6800c79f fetch 1 ,mem_alarm_config 
+356f 207a0000 rtn blank 
+3570 20203551 branch antilost_alert_on 
+
+antilost_notify_alarm_config_first_time:
+3571 ea210000 ifetch 2 ,rega 
+3572 6001478b store 2 ,mem_client_characteristic_configuration_descriptor 
+3573 2feffe00 isolate1 notification_enable_bit ,pdata 
+3574 24608000 nrtn true 
+3575 6800c7a0 fetch 1 ,mem_alarm_config_notfy_cnt 
+3576 207a0000 rtn blank 
+3577 7047a000 jam 0 ,mem_alarm_config_notfy_cnt 
+3578 680447b6 fetch 8 ,mem_antl_le_interval_min 
+3579 60044496 store 8 ,mem_le_interval_min 
+357a 70479002 jam 2 ,mem_antl_send_updata_le_param_timer 
+357b 204035af call antilost_battery_process 
+357c 204035b9 call antilost_battery_calculate_end 
+357d 70478007 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+357e 6800c79f fetch 1 ,mem_alarm_config 
+357f 6000c783 store 1 ,mem_antl_key0_release + 8 
+3580 da60477b arg mem_antl_key0_release ,regc 
+3581 20203544 branch antilost_prepare_data_and_send 
+
+antilost_buzzer_configuration:
+3582 da200001 arg 1 ,rega 
+3583 20203585 branch antilost_configuration_common 
+
+antilost_led_configuration:
+3584 da200000 arg 0 ,rega 
+
+antilost_configuration_common:
+3585 2020358c branch antilost_led_buzzer_style_configuration 
+
+antilost_led_buzzer_stop_blink:
+3586 da200000 arg 0 ,rega 
+3587 20407d19 call ui_led_blink_stop_global 
+3588 da200001 arg 1 ,rega 
+3589 20407d19 call ui_led_blink_stop_global 
+358a 6800c7a1 fetch 1 ,mem_buzzer_pwm_conf 
+358b 202069d7 branch pwm_disable 
+
+antilost_led_buzzer_style_configuration:
+358c 20407d04 call calc_curr_struct_prt 
+358d df200007 arg 7 ,loopcnt 
+358e 20207d26 branch ui_led_set_style_global + 2 
+
+antilost_fast_adv_start:
+358f da6046b8 arg mem_antl_fast_adv_led_style ,regc 
+3590 da40469a arg mem_antl_lpm_interval ,regb 
+
+antilost_adv_start_common:
+3591 20403596 call antilost_adv_interval_lpm_interval_set 
+3592 20403584 call antilost_led_configuration 
+3593 68014795 fetch 2 ,mem_antl_fast_adv_timeout 
+3594 60014793 store 2 ,mem_antl_fast_adv_timer 
+3595 202033fa branch app_ble_start_adv 
+
+antilost_adv_interval_lpm_interval_set:
+3596 ea410000 ifetch 2 ,regb 
+3597 60014154 store 2 ,mem_lpm_interval 
+3598 e8c10000 ifetch 2 ,contr 
+3599 60014482 store 2 ,mem_le_adv_interval 
+359a 20600000 rtn 
+
+antilost_buzzer_pwm_init:
+359b da200000 arg 0 ,rega 
+359c 204069a6 call pwm_init 
+359d 680347a1 fetch 6 ,mem_buzzer_pwm_conf 
+359e 60030a9a store 6 ,mem_pdatatemp 
+359f 204069ae call pwm_out_set 
+35a0 6800c7a1 fetch 1 ,mem_buzzer_pwm_conf 
+35a1 202069d7 branch pwm_disable 
+
+antilost_led_on_cb:
+35a2 70479b01 jam 1 ,mem_antl_led_state 
+35a3 20600000 rtn 
+
+antilost_led_off_cb:
+35a4 70479b00 jam 0 ,mem_antl_led_state 
+35a5 20600000 rtn 
+
+antilost_buzzer_off:
+35a6 70479c00 jam 0 ,mem_antl_buzzer_state 
+35a7 6800c7a1 fetch 1 ,mem_buzzer_pwm_conf 
+35a8 202069d7 branch pwm_disable 
+
+antilost_buzzer_on:
+35a9 70479c01 jam 1 ,mem_antl_buzzer_state 
+35aa 680347a1 fetch 6 ,mem_buzzer_pwm_conf 
+35ab 60030a9a store 6 ,mem_pdatatemp 
+35ac 202069ae branch pwm_out_set 
+
+antilost_adc_init:
+35ad 70422d00 jam 0 ,mem_adc_config_flag 
+35ae 202068a8 branch adc_init_data 
+
+antilost_battery_process:
+35af 204068eb call adc_set_mode 
+35b0 20406908 call vdd_calculate_by_mode 
+35b1 600147b0 store 2 ,mem_battery_current_voltage 
+35b2 da2047aa arg mem_battery_calculate_set ,rega 
+35b3 20406930 call adc_bat_percent_lowpower_out 
+35b4 6000c7a9 store 1 ,mem_voltage_remain_percent 
+35b5 c00035be beq 0 ,antilost_low_battery 
+35b6 1fe67c64 sub pdata ,0x64 ,null 
+35b7 242135bc nbranch antilost_full_battery ,positive 
+35b8 6000c783 store 1 ,mem_antl_key0_release + 8 
+
+antilost_battery_calculate_end:
+35b9 70478005 jam opcode5_batter_information ,mem_antl_key0_release + 5 
+35ba da60477b arg mem_antl_key0_release ,regc 
+35bb 20203544 branch antilost_prepare_data_and_send 
+
+antilost_full_battery:
+35bc 70478364 jam 100 ,mem_antl_key0_release + 8 
+35bd 202035b9 branch antilost_battery_calculate_end 
+
+antilost_low_battery:
+35be 2020341a branch app_button_long_pressed 
+
+car_init:
+35bf 20758000 rtn wake 
+35c0 68108081 hfetch 1 ,core_gpio_sel1 
+35c1 1fe17ef0 and_into 0xf0 ,pdata 
+35c2 60108081 hstore 1 ,core_gpio_sel1 
+35c3 58003631 setarg car_le_before_hibernate 
+35c4 600141eb store 2 ,mem_cb_before_hibernate 
+35c5 58003633 setarg car_le_process_lpm_before 
+35c6 600141ed store 2 ,mem_cb_before_lpm 
+35c7 5800340a setarg app_enter_hibernate 
+35c8 600141f7 store 2 ,mem_cb_discovry_timeout 
+35c9 58003635 setarg car_scale_process_idle 
+35ca 600141f3 store 2 ,mem_cb_idle_process 
+35cb 5800364b setarg car_scale_process_bb_event 
+35cc 600141f5 store 2 ,mem_cb_bb_event_process 
+35cd 580033d0 setarg app_get_lpm_wake_lock 
+35ce 600141e9 store 2 ,mem_cb_check_wakelock 
+35cf 580036f6 setarg car_le_receive_data 
+35d0 600141f9 store 2 ,mem_cb_att_write 
+35d1 5800367a setarg car_le_bb_event_timer 
+35d2 600141fd store 2 ,mem_cb_event_timer 
+35d3 20402c7a call g24_head_ptr2regc 
+35d4 58003722 setarg car_24g_receive_data 
+35d5 1a608ade add regc ,offset_24g_cb_rxdata_type1 ,contw 
+35d6 e0a10000 istore 2 ,contw 
+35d7 580035ed setarg car_power_off_signal 
+35d8 6001475b store 2 ,mem_remote_car_power_off_cb 
+35d9 580035ef setarg car_soft_switch_power_on_signal 
+35da 6001475f store 2 ,mem_remote_car_power_standby_cb 
+35db 44e7c019 bpatch patch19_7 ,mem_patch19 
+35dc 20403628 call car_init_environment 
+35dd 20407e38 call queue_init 
+35de 70417202 jam 2 ,mem_lpm_mult 
+35df 7049f600 jam power_on ,mem_car_24g_received_pac 
+35e0 6800c7cb fetch 1 ,mem_car_config_soft_switch_enable 
+35e1 6000c69a store 1 ,mem_car_hard_soft_switch 
+35e2 c00035ee beq hard_switch ,car_hard_switch_power_on_signal 
+35e3 6800c7cc fetch 1 ,mem_car_config_soft_switch_gpio 
+35e4 6000c686 store 1 ,mem_ui_button_gpio 
+35e5 70436e00 jam off ,mem_le_adv_enable 
+
+car_soft_switch_power_on_init:
+35e6 2040360f call car_ui_led_init 
+35e7 20407cd3 call ui_button_init 
+35e8 20407cdd call ui_button_polling 
+35e9 7047f301 jam power_starting ,mem_car_power_state 
+35ea 68014682 fetch 2 ,mem_ui_state_map 
+35eb c3860000 rtnbit1 ui_state_btn_down 
+35ec 2020340a branch app_enter_hibernate 
+
+car_power_off_signal:
+35ed 2020360f branch car_ui_led_init 
+
+car_hard_switch_power_on_signal:
+35ee 7047f302 jam power_standby ,mem_car_power_state 
+
+car_soft_switch_power_on_signal:
+35ef 70436e01 jam on ,mem_le_adv_enable 
+35f0 2040360f call car_ui_led_init 
+35f1 da200000 arg 0 ,rega 
+35f2 20407d1e call ui_led_blink_start_global 
+35f3 58000020 setarg fast_adv_interval_value_car 
+35f4 204046f0 call shutter_ble_adv_interval_set 
+
+car_le_modified_name_adv:
+35f5 d8a043b7 arg mem_le_name + 7 ,contw 
+35f6 6800c4a0 fetch 1 ,mem_le_lap 
+
+car_name_loop:
+35f7 1fe104f0 and pdata ,0xF0 ,temp 
+35f8 18518400 rshift4 temp ,temp 
+35f9 20403609 call car_hex_to_ascii 
+35fa e0a88000 istoret 1 ,contw 
+35fb 1fe1040f and pdata ,0x0F ,temp 
+35fc 20403609 call car_hex_to_ascii 
+35fd e0a88000 istoret 1 ,contw 
+35fe 204057a6 call le_modified_name_att_list 
+35ff 6808c3af fetcht 1 ,mem_le_name_len 
+3600 18427200 copy temp ,loopcnt 
+3601 d8a04372 arg mem_le_adv_data + 2 ,contw 
+3602 d8c043b0 arg mem_le_name ,contr 
+3603 20407f01 call memcpy 
+
+car_le_modified_name_scan:
+3604 6808c3af fetcht 1 ,mem_le_name_len 
+3605 18427200 copy temp ,loopcnt 
+3606 d8a04392 arg mem_le_scan_data + 2 ,contw 
+3607 d8c043b0 arg mem_le_name ,contr 
+3608 20207f01 branch memcpy 
+
+car_hex_to_ascii:
+3609 18467c09 sub temp ,9 ,null 
+360a 2021360d branch car_hex_num ,positive 
+360b 18408437 add temp ,55 ,temp 
+360c 20600000 rtn 
+
+car_hex_num:
+360d 18408430 add temp ,48 ,temp 
+360e 20600000 rtn 
+
+car_ui_led_init:
+360f 6800c7c0 fetch 1 ,mem_car_config_blood_led1_gpio 
+3610 c0ffb621 bne invalid_pin_num ,car_blood_led_gpio_set 
+
+car_ui_led_init_1:
+3611 6800c7be fetch 1 ,mem_car_config_pairing_led_gpio 
+3612 c0ffb624 bne invalid_pin_num ,car_pairing_led_gpio_set 
+
+car_ui_led_init_2:
+3613 6800c7c9 fetch 1 ,mem_car_config_low_voltage_led_gpio 
+3614 c0ffb626 bne invalid_pin_num ,car_low_voltage_led_gpio_set 
+
+car_ui_led_init_3:
+3615 6800c72c fetch 1 ,mem_car_led_num 
+3616 1fe27200 copy pdata ,loopcnt 
+3617 5800472d setarg mem_car_led_map 
+3618 1fe22200 copy pdata ,rega 
+
+car_in_lp1:
+3619 1a220c00 copy rega ,contr 
+361a e8c08000 ifetch 1 ,contr 
+361b 18c22200 copy contr ,rega 
+361c c07fb61f beq invalid_pin_num ,car_in_lp1_end 
+361d 1fe20400 copy pdata ,temp 
+361e 2040680e call gpio_config_output 
+
+car_in_lp1_end:
+361f c2003619 loop car_in_lp1 
+
+car_ui_led_init_end:
+3620 20600000 rtn 
+
+car_blood_led_gpio_set:
+3621 680447c0 fetch 8 ,mem_car_config_blood_led1_gpio 
+3622 6004472f store 8 ,mem_car_led_map + 2 
+3623 20203611 branch car_ui_led_init_1 
+
+car_pairing_led_gpio_set:
+3624 6000c72d store 1 ,mem_car_led_map 
+3625 20203613 branch car_ui_led_init_2 
+
+car_low_voltage_led_gpio_set:
+3626 6000c72e store 1 ,mem_car_led_map + 1 
+3627 20203615 branch car_ui_led_init_3 
+
+car_init_environment:
+3628 da200000 arg 0 ,rega 
+3629 204069a6 call pwm_init 
+362a 204037e4 call car_ir_rx_init 
+362b 20402c7d call g24_receive_process_init 
+362c 2020362d branch car_init_adc_hvin 
+
+car_init_adc_hvin:
+362d 7047cf64 jam 100 ,mem_car_notify_vdd_value_last 
+362e 6800c7c9 fetch 1 ,mem_car_config_low_voltage_led_gpio 
+362f 6000c744 store 1 ,mem_car_style2_struct_led_gpio 
+3630 202068a8 branch adc_init_data 
+
+car_le_before_hibernate:
+3631 20406835 call gpio_set_before_lpm_common 
+3632 2020696c branch keyscan_process_lpm_before 
+
+car_le_process_lpm_before:
+3633 2020696c branch keyscan_process_lpm_before 
+
+car_key_scan_process:
+3634 20206978 branch keyscan_key_process 
+
+car_scale_process_idle:
+3635 20403642 call car_le_send_packet 
+3636 204037ee call car_ir_receive_process 
+3637 20403639 call car_g24_status_process 
+3638 20203634 branch car_key_scan_process 
+
+car_g24_status_process:
+3639 68014682 fetch 2 ,mem_ui_state_map 
+363a c3848000 rtnbit1 ui_state_ble_connected 
+363b 6800c9f6 fetch 1 ,mem_car_24g_received_pac 
+363c c000b63e beq work_paired ,car_g24_connected_event 
+363d 20600000 rtn 
+
+car_g24_connected_event:
+363e 6800c7ea fetch 1 ,mem_car_24g_status 
+363f c1008000 rtneq work_paired 
+3640 7047ea01 jam work_paired ,mem_car_24g_status 
+3641 20203654 branch car_g24_connected 
+
+car_le_send_packet:
+3642 68014682 fetch 2 ,mem_ui_state_map 
+3643 c4048000 rtnbit0 ui_state_ble_connected 
+3644 20405892 call le_fifo_check_nearly_full 
+3645 247a0000 nrtn blank 
+3646 da204718 arg mem_car_pop_queue_buff ,rega 
+3647 20407e54 call queue_pop 
+3648 24740000 nrtn user 
+3649 d8c04718 arg mem_car_pop_queue_buff ,contr 
+364a 20204746 branch le_send_notify_from_list 
+
+car_scale_process_bb_event:
+364b 1a627e00 copy regc ,pdata 
+364c c016b431 beq bt_evt_button_up ,app_event_button_up 
+364d c008341a beq bt_evt_button_long_pressed ,app_button_long_pressed 
+364e c00a3651 beq bt_evt_le_connected ,car_scale_event_le_conn 
+364f c00ab660 beq bt_evt_le_disconnected ,car_scale_event_le_discon 
+3650 20600000 rtn 
+
+car_scale_event_le_conn:
+3651 58000000 setarg disable_24g 
+3652 20403220 call g24_store_mem_24g_mode 
+3653 20203656 branch car_scale_process_conn 
+
+car_g24_connected:
+3654 680147eb fetch 2 ,mem_car_24g_no_data_timeout_count 
+3655 600147ed store 2 ,mem_car_24g_no_data_timeout_timer 
+
+car_scale_process_conn:
+3656 7047ce14 jam 0x14 ,mem_car_notify_vdd_timer 
+3657 70409100 jam 0 ,mem_lpm_mode 
+3658 204033f8 call app_ble_stop_adv 
+3659 20403416 call app_lpm_mult_enable 
+365a 6800c7bd fetch 1 ,mem_car_config_pairing_led_conn_status 
+365b c000b65e beq 0x01 ,car_pairing_led_conn_status_setting 
+
+car_scale_process_conn_next:
+365c da200000 arg 0 ,rega 
+365d 20207d14 branch ui_led_on_global 
+
+car_pairing_led_conn_status_setting:
+365e da200000 arg 0 ,rega 
+365f 20207d19 branch ui_led_blink_stop_global 
+
+car_scale_event_le_discon:
+3660 58000002 setarg rx_24g 
+3661 20403220 call g24_store_mem_24g_mode 
+
+car_g24_disconnect:
+3662 58000000 setarg 0 
+3663 6002c79c store 5 ,mem_car_led_control 
+3664 58000004 setarg 4 
+3665 204069d7 call pwm_disable 
+3666 58000005 setarg 5 
+3667 204069d7 call pwm_disable 
+3668 58000014 setarg 20 
+3669 204069d7 call pwm_disable 
+366a 58000015 setarg 21 
+366b 204069d7 call pwm_disable 
+366c 58000016 setarg 22 
+366d 204069d7 call pwm_disable 
+366e 58000007 setarg 7 
+366f 204069d7 call pwm_disable 
+3670 20407e38 call queue_init 
+3671 70475e0a jam 10 ,mem_motor1_speed 
+3672 7047600a jam 10 ,mem_motor2_speed 
+3673 7047620a jam 10 ,mem_motor3_speed 
+3674 70417202 jam 2 ,mem_lpm_mult 
+3675 da200000 arg 0 ,rega 
+3676 20407d1e call ui_led_blink_start_global 
+3677 58000020 setarg fast_adv_interval_value_car 
+3678 204046f0 call shutter_ble_adv_interval_set 
+3679 202033fa branch app_ble_start_adv 
+
+car_le_bb_event_timer:
+367a 2040373b call car_moto1_blank_data_timer 
+367b 2040373e call car_moto2_blank_data_timer 
+367c 20403741 call car_moto3_blank_data_timer 
+367d 2040337b call app_power_timer 
+367e 204036c8 call car_led_control_timer 
+367f 204036a1 call car_notify_vdd_timer 
+3680 2040368a call car_24g_no_data_timeout_timer 
+3681 20403683 call car_ir_breakdown_timer 
+3682 2020368f branch car_attack_shake_timer 
+
+car_ir_breakdown_timer:
+3683 da60479a arg mem_car_ir_breakdown_check_timer ,regc 
+3684 da403686 arg car_ir_breakdown_timeout ,regb 
+3685 2020336d branch timer_single_step 
+
+car_ir_breakdown_timeout:
+3686 20403847 call car_ir_gpio_get_status 
+3687 24608000 nrtn true 
+3688 70479b01 jam 1 ,mem_car_ir_breakdown_flag 
+3689 20600000 rtn 
+
+car_24g_no_data_timeout_timer:
+368a da6047ed arg mem_car_24g_no_data_timeout_timer ,regc 
+368b da40368d arg car_24g_no_data_timer_timeout ,regb 
+368c 20203374 branch timer_single_step_2b 
+
+car_24g_no_data_timer_timeout:
+368d 7047ea02 jam work_search ,mem_car_24g_status 
+368e 20203662 branch car_g24_disconnect 
+
+car_attack_shake_timer:
+368f da6047f1 arg mem_car_attack_shake_timer ,regc 
+3690 da403692 arg car_attack_shake ,regb 
+3691 2020336d branch timer_single_step 
+
+car_attack_shake:
+3692 6800c7f2 fetch 1 ,mem_car_attack_shake_flag 
+3693 203a369e branch car_attack_shake_stop ,blank 
+3694 7047f102 jam 2 ,mem_car_attack_shake_timer 
+3695 7047f200 jam 0 ,mem_car_attack_shake_flag 
+3696 58000a02 setarg 0x0a02 
+3697 60014752 store 2 ,mem_le_receive_payload 
+3698 6800c7b9 fetch 1 ,mem_car_config_device_select 
+3699 c001b69b beq device_battle_tank ,car_attack_shake_front_battle_tank 
+
+car_attack_shake_front_battle_car:
+369a 20203762 branch car_motor_control 
+
+car_attack_shake_front_battle_tank:
+369b 58000a02 setarg 0x0a02 
+369c 60014754 store 2 ,mem_le_receive_payload + 2 
+369d 20203762 branch car_motor_control 
+
+car_attack_shake_stop:
+369e 58000000 setarg 0 
+369f 60024752 store 4 ,mem_le_receive_payload 
+36a0 20203762 branch car_motor_control 
+
+car_notify_vdd_timer:
+36a1 6800c7c8 fetch 1 ,mem_car_config_bat_notify_enable 
+36a2 207a0000 rtn blank 
+36a3 68014682 fetch 2 ,mem_ui_state_map 
+36a4 c304b6c6 bbit0 ui_state_ble_connected ,car_low_bat_led_off 
+36a5 da6047ce arg mem_car_notify_vdd_timer ,regc 
+36a6 da4036a8 arg car_notify_vdd ,regb 
+36a7 2020336d branch timer_single_step 
+
+car_notify_vdd:
+36a8 6800c7cd fetch 1 ,mem_car_notify_vdd_count 
+36a9 6000c7ce store 1 ,mem_car_notify_vdd_timer 
+36aa 6800c7d1 fetch 1 ,mem_car_working_flag 
+36ab 247a0000 nrtn blank 
+
+car_read_hvin:
+36ac 204068eb call adc_set_mode 
+36ad 20406908 call vdd_calculate_by_mode 
+36ae 600147e8 store 2 ,mem_vdd_now_vol 
+36af da2047e2 arg mem_vdd_calculate_set ,rega 
+36b0 20406930 call adc_bat_percent_lowpower_out 
+36b1 6808c7cf fetcht 1 ,mem_car_notify_vdd_value_last 
+36b2 98467c00 isub temp ,null 
+36b3 202136b6 branch car_notify_vdd_next2 ,positive 
+36b4 6000c7cf store 1 ,mem_car_notify_vdd_value_last 
+36b5 1fe20400 copy pdata ,temp 
+
+car_notify_vdd_next2:
+36b6 6008c7d0 storet 1 ,mem_car_notify_vdd_percent 
+36b7 6800c7ca fetch 1 ,mem_car_config_low_voltage_percent 
+36b8 98467c00 isub temp ,null 
+36b9 204136c1 call car_enter_low_bat ,positive 
+36ba 6008c7db storet 1 ,mem_notify_bat_payload 
+36bb df200006 arg 6 ,loopcnt 
+36bc d8c047d6 arg mem_notify_bat_head ,contr 
+36bd 204036f0 call calc_check_sum_start 
+36be 6000c7dc store 1 ,mem_notify_bat_check_sum 
+36bf da2047d3 arg mem_notify_bat_packet ,rega 
+36c0 20207e3d branch queue_push 
+
+car_enter_low_bat:
+36c1 6800c7d2 fetch 1 ,mem_low_bat_flag 
+36c2 247a0000 nrtn blank 
+36c3 7047d201 jam 1 ,mem_low_bat_flag 
+36c4 da200001 arg 1 ,rega 
+36c5 20207d1e branch ui_led_blink_start_global 
+
+car_low_bat_led_off:
+36c6 da200001 arg 1 ,rega 
+36c7 20207d19 branch ui_led_blink_stop_global 
+
+car_led_control_timer:
+36c8 da6047a4 arg mem_car_led_control_timer ,regc 
+36c9 da4036cb arg car_led_control ,regb 
+36ca 2020336d branch timer_single_step 
+
+car_led_control:
+36cb 7047a405 jam 5 ,mem_car_led_control_timer 
+36cc 7047a600 jam 0 ,mem_car_led_no 
+36cd 6800c7a5 fetch 1 ,mem_car_led_blink_status 
+36ce c000b6ee beq led_on ,car_led_control_blink_off 
+36cf c00036ec beq led_off ,car_led_control_blink_on 
+
+car_led_control_set:
+36d0 d8c0479c arg mem_car_led_control ,contr 
+36d1 18c22200 copy contr ,rega 
+36d2 df200008 arg 8 ,loopcnt 
+
+car_led_control_timer_next:
+36d3 1a220c00 copy rega ,contr 
+36d4 e8c08000 ifetch 1 ,contr 
+36d5 18c22200 copy contr ,rega 
+36d6 c00036e3 beq led_off ,car_led_control_off 
+36d7 c000b6e6 beq led_on ,car_led_control_on 
+36d8 c00136e9 beq led_blink ,car_led_control_blink 
+
+car_led_control_timer_next_2:
+36d9 6800c7a6 fetch 1 ,mem_car_led_no 
+36da 1fe0fe01 increase 1 ,pdata 
+36db 6000c7a6 store 1 ,mem_car_led_no 
+36dc c20036d3 loop car_led_control_timer_next 
+36dd 20600000 rtn 
+
+car_led_switch:
+36de 6800c7a6 fetch 1 ,mem_car_led_no 
+36df da4047c0 arg mem_car_config_blood_led_gpio ,regb 
+36e0 9a40a400 iadd regb ,regb 
+36e1 ea488000 ifetcht 1 ,regb 
+36e2 20600000 rtn 
+
+car_led_control_off:
+36e3 204036de call car_led_switch 
+36e4 20406825 call gpio_out_inactive 
+36e5 202036d9 branch car_led_control_timer_next_2 
+
+car_led_control_on:
+36e6 204036de call car_led_switch 
+36e7 20406829 call gpio_out_active 
+36e8 202036d9 branch car_led_control_timer_next_2 
+
+car_led_control_blink:
+36e9 6800c7a5 fetch 1 ,mem_car_led_blink_status 
+36ea c000b6e3 beq led_on ,car_led_control_off 
+36eb 202036e6 branch car_led_control_on 
+
+car_led_control_blink_on:
+36ec 7047a501 jam led_on ,mem_car_led_blink_status 
+36ed 202036d0 branch car_led_control_set 
+
+car_led_control_blink_off:
+36ee 7047a500 jam led_off ,mem_car_led_blink_status 
+36ef 202036d0 branch car_led_control_set 
+
+calc_check_sum_start:
+36f0 da200000 arg 0 ,rega 
+
+calc_check_sum_loop:
+36f1 e8c08000 ifetch 1 ,contr 
+36f2 9a20a200 iadd rega ,rega 
+36f3 c20036f1 loop calc_check_sum_loop 
+
+calc_check_sum_and:
+36f4 1a217eff and rega ,0xff ,pdata 
+36f5 20600000 rtn 
+
+car_le_receive_data:
+36f6 68008477 fetch 1 ,mem_le_att_opcode 
+36f7 c00936f9 beq attop_write_request ,car_le_parse_att_write_request 
+36f8 20600000 rtn 
+
+car_le_parse_att_write_request:
+36f9 68010478 fetch 2 ,mem_le_att_handle 
+36fa c00a3710 beq att_car_control_handle ,car_control_le_receive 
+36fb 20600000 rtn 
+
+le_app_receive_data:
+36fc 44e8401a bpatch patch1a_0 ,mem_patch1a 
+36fd ea228000 ifetch 5 ,rega 
+36fe 60028b12 store 5 ,mem_app_receive_temp 
+36ff 68010b12 fetch 2 ,mem_app_receive_temp 
+3700 d8406b5a arg le_receive_packet_head ,temp 
+3701 98467c00 isub temp ,null 
+3702 24628000 nrtn zero 
+3703 68010b15 fetch 2 ,mem_app_receive_temp + 3 
+3704 1ff0fe00 byteswap pdata ,pdata 
+3705 60010b15 store 2 ,mem_app_receive_temp + 3 
+3706 1fe27200 copy pdata ,loopcnt 
+3707 1a20a205 increase 5 ,rega 
+3708 1a220c00 copy rega ,contr 
+3709 d8a00b17 arg mem_app_receive_temp + 5 ,contw 
+370a 20407f01 call memcpy 
+370b e8c08000 ifetch 1 ,contr 
+370c 60008b21 store 1 ,mem_app_receive_temp + 15 
+370d da200b14 arg mem_app_receive_temp + 2 ,rega 
+370e da400b17 arg mem_app_receive_temp + 5 ,regb 
+370f 20600000 rtn 
+
+car_control_le_receive:
+3710 58000000 setarg 0 
+3711 6002c752 store 5 ,mem_le_receive_payload 
+3712 6002c757 store 5 ,mem_le_receive_payload + 5 
+3713 204036fc call le_app_receive_data 
+3714 1a420c00 copy regb ,contr 
+3715 d8a04752 arg mem_le_receive_payload ,contw 
+3716 df20000a arg 10 ,loopcnt 
+3717 20407f01 call memcpy 
+
+car_receive_cmd_select:
+3718 44e8c01a bpatch patch1a_1 ,mem_patch1a 
+3719 ea208000 ifetch 1 ,rega 
+371a c001374a beq car_cmd_old_car_control ,car_drive_old 
+371b c001b75c beq car_cmd_old_speed_control ,car_speed_set_old 
+371c c0023762 beq car_cmd_l_r_motor_control ,car_motor_control 
+371d c002b762 beq car_cmd_f_b_motor_control ,car_motor_control 
+371e c00337b1 beq car_cmd_ir_control ,car_ir_data_rx_from_app 
+371f c003b849 beq car_cmd_led_control ,car_led_control_receive 
+3720 c004384c beq car_cmd_device_info ,car_info_request 
+3721 20600000 rtn 
+
+car_24g_receive_data:
+3722 68014682 fetch 2 ,mem_ui_state_map 
+3723 c3848000 rtnbit1 ui_state_ble_connected 
+3724 680147eb fetch 2 ,mem_car_24g_no_data_timeout_count 
+3725 600147ed store 2 ,mem_car_24g_no_data_timeout_timer 
+3726 7049f601 jam work_paired ,mem_car_24g_received_pac 
+3727 5800010c setarg offset_24g_rxdata_temp_add3 
+3728 204032cd call g24_set_rega 
+3729 20403710 call car_control_le_receive 
+372a 68008b14 fetch 1 ,mem_app_receive_temp + 2 
+372b c002372e beq car_cmd_l_r_motor_control ,car_24g_receive_data_next 
+372c c002b72e beq car_cmd_f_b_motor_control ,car_24g_receive_data_next 
+372d 20600000 rtn 
+
+car_24g_receive_data_next:
+372e 6800c752 fetch 1 ,mem_le_receive_payload 
+372f 245a3735 ncall car_moto1_enable_blank_data_timer ,blank 
+3730 6800c754 fetch 1 ,mem_le_receive_payload + 2 
+3731 245a3737 ncall car_moto2_enable_blank_data_timer ,blank 
+3732 6800c756 fetch 1 ,mem_le_receive_payload + 4 
+3733 245a3739 ncall car_moto3_enable_blank_data_timer ,blank 
+3734 20600000 rtn 
+
+car_moto1_enable_blank_data_timer:
+3735 7049f305 jam 5 ,mem_car_moto1_blank_timer 
+3736 20600000 rtn 
+
+car_moto2_enable_blank_data_timer:
+3737 7049f405 jam 5 ,mem_car_moto2_blank_timer 
+3738 20600000 rtn 
+
+car_moto3_enable_blank_data_timer:
+3739 7049f505 jam 5 ,mem_car_moto3_blank_timer 
+373a 20600000 rtn 
+
+car_moto1_blank_data_timer:
+373b da6049f3 arg mem_car_moto1_blank_timer ,regc 
+373c da403744 arg car_moto1_blank_data ,regb 
+373d 2020336d branch timer_single_step 
+
+car_moto2_blank_data_timer:
+373e da6049f4 arg mem_car_moto2_blank_timer ,regc 
+373f da403746 arg car_moto2_blank_data ,regb 
+3740 2020336d branch timer_single_step 
+
+car_moto3_blank_data_timer:
+3741 da6049f5 arg mem_car_moto3_blank_timer ,regc 
+3742 da403748 arg car_moto3_blank_data ,regb 
+3743 2020336d branch timer_single_step 
+
+car_moto1_blank_data:
+3744 70475200 jam 0 ,mem_le_receive_payload 
+3745 20203762 branch car_motor_control 
+
+car_moto2_blank_data:
+3746 70475400 jam 0 ,mem_le_receive_payload + 2 
+3747 20203762 branch car_motor_control 
+
+car_moto3_blank_data:
+3748 70475600 jam 0 ,mem_le_receive_payload + 4 
+3749 20203762 branch car_motor_control 
+
+car_drive_old:
+374a 2040374c call car_left_right_control_old 
+374b 2020374f branch car_front_back_control_old 
+
+car_left_right_control_old:
+374c 6800c752 fetch 1 ,mem_le_receive_payload 
+374d 6000c75f store 1 ,mem_motor2_status 
+374e 20203773 branch car_motor2_control 
+
+car_front_back_control_old:
+374f 6800c75e fetch 1 ,mem_motor1_speed 
+3750 20403754 call car_reset_old_speed 
+3751 6800c753 fetch 1 ,mem_le_receive_payload + 1 
+3752 6000c75d store 1 ,mem_motor1_status 
+3753 20203770 branch car_motor1_control 
+
+car_reset_old_speed:
+3754 c0013758 beq speed_level_2 ,car_reset_old_speed2 
+3755 c001b75a beq speed_level_3 ,car_reset_old_speed3 
+3756 6000c75e store 1 ,mem_motor1_speed 
+3757 20600000 rtn 
+
+car_reset_old_speed2:
+3758 70475e05 jam speed_level_5 ,mem_motor1_speed 
+3759 20600000 rtn 
+
+car_reset_old_speed3:
+375a 70475e0a jam speed_level_10 ,mem_motor1_speed 
+375b 20600000 rtn 
+
+car_speed_set_old:
+375c 6800c752 fetch 1 ,mem_le_receive_payload 
+375d 20403754 call car_reset_old_speed 
+375e 6800c75e fetch 1 ,mem_motor1_speed 
+375f 2040379e call car_motor_speed_duty_setting 
+3760 204037a1 call car_motor_speed_duty_transform 
+3761 202069c4 branch pwm_pwm0_duty_set 
+
+car_motor_control:
+3762 6800c7f0 fetch 1 ,mem_car_24g_go_die_flag 
+3763 247a0000 nrtn blank 
+3764 68034752 fetch 6 ,mem_le_receive_payload 
+3765 6003475d store 6 ,mem_motor1_status 
+3766 6800c75e fetch 1 ,mem_motor1_speed 
+3767 6808c760 fetcht 1 ,mem_motor2_speed 
+3768 98417e00 iand temp ,pdata 
+3769 6808c762 fetcht 1 ,mem_motor3_speed 
+376a 98417e00 iand temp ,pdata 
+376b 205a3779 call car_motor_working_flag ,blank 
+376c 44e9401a bpatch patch1a_2 ,mem_patch1a 
+376d 20403770 call car_motor1_control 
+376e 20403773 call car_motor2_control 
+376f 20203776 branch car_motor3_control 
+
+car_motor1_control:
+3770 da404763 arg mem_motor1_pwm_set ,regb 
+3771 d8c0475d arg mem_motor1_status ,contr 
+3772 2020377b branch car_motor_status_select 
+
+car_motor2_control:
+3773 da40476b arg mem_motor2_pwm_set ,regb 
+3774 d8c0475f arg mem_motor2_status ,contr 
+3775 2020377b branch car_motor_status_select 
+
+car_motor3_control:
+3776 da404773 arg mem_motor3_pwm_set ,regb 
+3777 d8c04761 arg mem_motor3_status ,contr 
+3778 2020377b branch car_motor_status_select 
+
+car_motor_working_flag:
+3779 7047d100 jam 0 ,mem_car_working_flag 
+377a 20600000 rtn 
+
+car_motor_status_select:
+377b e8c08000 ifetch 1 ,contr 
+377c c0003787 beq motor_stop ,car_motor_stop 
+377d c000b780 beq go_front ,car_motor_positive 
+377e c0013782 beq go_back ,car_motor_negative 
+377f 20600000 rtn 
+
+car_motor_positive:
+3780 70477b00 jam 0 ,mem_motor_select_p_n 
+3781 20203783 branch car_motor_negative + 1 
+
+car_motor_negative:
+3782 70477b01 jam 1 ,mem_motor_select_p_n 
+3783 e8c08000 ifetch 1 ,contr 
+3784 6000c77d store 1 ,mem_car_motor_speed 
+3785 ea440000 ifetch 8 ,regb 
+3786 2020378c branch car_motor_work 
+
+car_motor_stop:
+3787 ea408000 ifetch 1 ,regb 
+3788 204069d7 call pwm_disable 
+3789 1a40a401 increase 1 ,regb 
+378a ea408000 ifetch 1 ,regb 
+378b 202069d7 branch pwm_disable 
+
+car_motor_work:
+378c 6004477e store 8 ,mem_motor_pwm_pin1_set 
+378d 7047d101 jam 1 ,mem_car_working_flag 
+378e 6800c77b fetch 1 ,mem_motor_select_p_n 
+378f c000379a beq 0 ,car_motor_select_positive 
+
+car_motor_select_negative:
+3790 6800c77f fetch 1 ,mem_motor_pwm_pin2_set 
+3791 6000c780 store 1 ,mem_motor_pwm_pin_set 
+3792 6800c77e fetch 1 ,mem_motor_pwm_pin1_set 
+
+car_motor_work_next:
+3793 204069d7 call pwm_disable 
+3794 6800c77d fetch 1 ,mem_car_motor_speed 
+3795 2040379e call car_motor_speed_duty_setting 
+3796 6000c785 store 1 ,mem_motor_pwm_dute_set 
+3797 68034780 fetch 6 ,mem_motor_pwm_pin_set 
+3798 60030a9a store 6 ,mem_pdatatemp 
+3799 202069ae branch pwm_out_set 
+
+car_motor_select_positive:
+379a 6800c77e fetch 1 ,mem_motor_pwm_pin1_set 
+379b 6000c780 store 1 ,mem_motor_pwm_pin_set 
+379c 6800c77f fetch 1 ,mem_motor_pwm_pin2_set 
+379d 20203793 branch car_motor_work_next 
+
+car_motor_speed_duty_setting:
+379e 1feffe05 mul32 pdata ,5 ,pdata 
+379f 1fe0fe32 add pdata ,50 ,pdata 
+37a0 20600000 rtn 
+
+car_motor_speed_duty_transform:
+37a1 d8402ee0 arg 12000 ,temp 
+37a2 984ffe00 imul32 temp ,pdata 
+37a3 1fe6fc64 div pdata ,100 
+37a4 20407f86 call wait_div_end 
+37a5 18078400 quotient temp 
+37a6 18422200 copy temp ,rega 
+37a7 58002ee0 setarg 12000 
+37a8 98462400 isub temp ,regb 
+37a9 20600000 rtn 
+
+car_ir_init:
+37aa 68108082 hfetch 1 ,core_gpio_sel2 
+37ab 79207e02 set1 2 ,pdata 
+37ac 60108082 hstore 1 ,core_gpio_sel2 
+37ad 5800009e setarg 158 
+37ae 60110068 hstore 2 ,core_pwm_pcnt4 
+37af 6011006a hstore 2 ,core_pwm_ncnt4 
+37b0 20600000 rtn 
+
+car_ir_data_rx_from_app:
+37b1 6800c7f0 fetch 1 ,mem_car_24g_go_die_flag 
+37b2 247a0000 nrtn blank 
+37b3 68014752 fetch 2 ,mem_le_receive_payload 
+37b4 60014787 store 2 ,mem_ir_data 
+37b5 6800c7ea fetch 1 ,mem_car_24g_status 
+37b6 c080b7b9 bne work_paired ,car_ir_data_tx 
+37b7 680144a0 fetch 2 ,mem_le_lap 
+37b8 60014787 store 2 ,mem_ir_data 
+
+car_ir_data_tx:
+37b9 44e9c01a bpatch patch1a_3 ,mem_patch1a 
+37ba 204037aa call car_ir_init 
+37bb 204037dc call car_ir_enable 
+37bc 5800bb80 setarg 48000 
+37bd 20402a8f call sleep 
+37be 204037e0 call car_ir_disable 
+37bf 58001c20 setarg 7200 
+37c0 20402a8f call sleep 
+37c1 df200010 arg 16 ,loopcnt 
+
+car_ir_send_loop:
+37c2 204037dc call car_ir_enable 
+37c3 68014787 fetch 2 ,mem_ir_data 
+37c4 c28037c9 bbit1 0 ,car_ir_is_bit1 
+37c5 58001c20 setarg 7200 
+37c6 20402a8f call sleep 
+37c7 204037e0 call car_ir_disable 
+37c8 202037cc branch car_ir_wait_finish 
+
+car_ir_is_bit1:
+37c9 58003840 setarg 14400 
+37ca 20402a8f call sleep 
+37cb 204037e0 call car_ir_disable 
+
+car_ir_wait_finish:
+37cc 58001c20 setarg 7200 
+37cd 20402a8f call sleep 
+37ce 68014787 fetch 2 ,mem_ir_data 
+37cf 1fe37e00 rshift pdata ,pdata 
+37d0 60014787 store 2 ,mem_ir_data 
+37d1 c20037c2 loop car_ir_send_loop 
+37d2 7047f102 jam 2 ,mem_car_attack_shake_timer 
+37d3 7047f201 jam 1 ,mem_car_attack_shake_flag 
+37d4 58000a01 setarg 0x0a01 
+37d5 60014752 store 2 ,mem_le_receive_payload 
+37d6 6800c7b9 fetch 1 ,mem_car_config_device_select 
+37d7 c001b7d9 beq device_battle_tank ,car_attack_shake_back_battle_tank 
+
+car_attack_shake_back_battle_car:
+37d8 20203762 branch car_motor_control 
+
+car_attack_shake_back_battle_tank:
+37d9 58000a01 setarg 0x0a01 
+37da 60014754 store 2 ,mem_le_receive_payload + 2 
+37db 20203762 branch car_motor_control 
+
+car_ir_enable:
+37dc 68108085 hfetch 1 ,core_gpio_key2 
+37dd 1fe1fe40 or_into 0x40 ,pdata 
+37de 60108085 hstore 1 ,core_gpio_key2 
+37df 20600000 rtn 
+
+car_ir_disable:
+37e0 68108085 hfetch 1 ,core_gpio_key2 
+37e1 1fe17ebf and_into 0xbf ,pdata 
+37e2 60108085 hstore 1 ,core_gpio_key2 
+37e3 20600000 rtn 
+
+car_ir_rx_init:
+37e4 6800c7bb fetch 1 ,mem_car_config_ir_enable 
+37e5 c1000000 rtneq 0x00 
+37e6 20402c65 call lpm_disable_exen_output 
+37e7 6808c7bc fetcht 1 ,mem_car_config_ir_rx_gpio 
+37e8 6008c786 storet 1 ,mem_ir_rx_gpio 
+37e9 204067fb call gpio_config_input 
+37ea 20403847 call car_ir_gpio_get_status 
+37eb 24608000 nrtn true 
+37ec 70479a01 jam 1 ,mem_car_ir_breakdown_check_timer 
+37ed 20600000 rtn 
+
+car_ir_receive_process:
+37ee 6800c7bb fetch 1 ,mem_car_config_ir_enable 
+37ef c1000000 rtneq flag_ir_disable 
+37f0 6800c79b fetch 1 ,mem_car_ir_breakdown_flag 
+37f1 247a0000 nrtn blank 
+37f2 68014682 fetch 2 ,mem_ui_state_map 
+37f3 c284b7f6 bbit1 ui_state_ble_connected ,car_ir_receive_process_next 
+37f4 6800c7ea fetch 1 ,mem_car_24g_status 
+37f5 c1808000 rtnne work_paired 
+
+car_ir_receive_process_next:
+37f6 44ea401a bpatch patch1a_4 ,mem_patch1a 
+37f7 20403847 call car_ir_gpio_get_status 
+37f8 24608000 nrtn true 
+37f9 58008ca0 setarg 36000 
+37fa 20402a8f call sleep 
+37fb 20403847 call car_ir_gpio_get_status 
+37fc 24608000 nrtn true 
+37fd 2040383f call car_ir_clk_get 
+
+car_ir_packet_head_wait_end:
+37fe 20403842 call car_ir_clk_check 
+37ff 24610000 nrtn positive 
+3800 20403847 call car_ir_gpio_get_status 
+3801 2020b7fe branch car_ir_packet_head_wait_end ,true 
+3802 da200000 arg 0 ,rega 
+3803 df200010 arg 16 ,loopcnt 
+3804 2040383f call car_ir_clk_get 
+
+car_ir_receive_process_loop:
+3805 20403842 call car_ir_clk_check 
+3806 24610000 nrtn positive 
+3807 20403847 call car_ir_gpio_get_status 
+3808 2420b805 nbranch car_ir_receive_process_loop ,true 
+3809 58002a30 setarg 10800 
+380a 20402a8f call sleep 
+380b 20403847 call car_ir_gpio_get_status 
+380c 2020b812 branch car_ir_get_bit1 ,true 
+
+car_ir_get_bit0:
+380d 58000000 setarg 0 
+380e 1a232200 rshift rega ,rega 
+380f 9a21a200 ior rega ,rega 
+3810 c2003805 loop car_ir_receive_process_loop 
+3811 2020381b branch car_ir_receive_process_end 
+
+car_ir_get_bit1:
+3812 58008000 setarg 0x8000 
+3813 1a232200 rshift rega ,rega 
+3814 9a21a200 ior rega ,rega 
+3815 2040383f call car_ir_clk_get 
+
+car_ir_get_bit1_wait_low_end:
+3816 20403842 call car_ir_clk_check 
+3817 24610000 nrtn positive 
+3818 20403847 call car_ir_gpio_get_status 
+3819 2020b816 branch car_ir_get_bit1_wait_low_end ,true 
+381a c2003805 loop car_ir_receive_process_loop 
+
+car_ir_receive_process_end:
+381b 44eac01a bpatch patch1a_5 ,mem_patch1a 
+381c 1a227e00 copy rega ,pdata 
+381d 60014789 store 2 ,mem_ir_rx_buf 
+381e 60014797 store 2 ,mem_ir_notify_data + 8 
+381f 6800c7ea fetch 1 ,mem_car_24g_status 
+3820 c000b827 beq work_paired ,car_ir_24g_receive_attack 
+
+car_ir_data_notify:
+3821 df200007 arg 0x07 ,loopcnt 
+3822 d8c04792 arg mem_ir_notify_data_head ,contr 
+3823 204036f0 call calc_check_sum_start 
+3824 6000c799 store 1 ,mem_ir_notify_data_check_sum 
+3825 da20478f arg mem_ir_notify_data ,rega 
+3826 20207e3d branch queue_push 
+
+car_ir_24g_receive_attack:
+3827 6800c7ef fetch 1 ,mem_car_24g_ir_receive_attack_count 
+3828 1fe0fe01 increase 1 ,pdata 
+3829 6000c7ef store 1 ,mem_car_24g_ir_receive_attack_count 
+382a 1fe6fc02 div pdata ,2 
+382b 20407f86 call wait_div_end 
+382c 18078400 quotient temp 
+382d 18077e00 remainder pdata 
+382e 243a3838 nbranch car_ir_24g_receive_attack_blink ,blank 
+
+car_ir_24g_receive_attack_off:
+382f 6800c7bf fetch 1 ,mem_car_config_led_num 
+3830 98467c00 isub temp ,null 
+3831 2042b83d call car_ir_24g_go_die ,zero 
+3832 dfe0479c arg mem_car_led_control ,pdata 
+3833 184085ff increase -1 ,temp 
+3834 9840a200 iadd temp ,rega 
+3835 dfe00000 arg 0 ,pdata 
+3836 e2208000 istore 1 ,rega 
+3837 20600000 rtn 
+
+car_ir_24g_receive_attack_blink:
+3838 dfe0479c arg mem_car_led_control ,pdata 
+3839 9840a200 iadd temp ,rega 
+383a dfe00002 arg 2 ,pdata 
+383b e2208000 istore 1 ,rega 
+383c 20600000 rtn 
+
+car_ir_24g_go_die:
+383d 7047f001 jam 1 ,mem_car_24g_go_die_flag 
+383e 20600000 rtn 
+
+car_ir_clk_get:
+383f 1c427e00 copy clkn_bt ,pdata 
+3840 6002478b store 4 ,mem_ir_receive_clkn 
+3841 20600000 rtn 
+
+car_ir_clk_check:
+3842 1c427e00 copy clkn_bt ,pdata 
+3843 680a478b fetcht 4 ,mem_ir_receive_clkn 
+3844 98467e00 isub temp ,pdata 
+3845 1fe67cc8 sub pdata ,200 ,null 
+3846 20600000 rtn 
+
+car_ir_gpio_get_status:
+3847 6808c786 fetcht 1 ,mem_ir_rx_gpio 
+3848 2020681d branch gpio_get_bit 
+
+car_led_control_receive:
+3849 68044752 fetch 8 ,mem_le_receive_payload 
+384a 6004479c store 8 ,mem_car_led_control 
+384b 20600000 rtn 
+
+car_info_request:
+384c 6800c7b9 fetch 1 ,mem_car_config_device_select 
+384d 6000c7af store 1 ,mem_car_info_request_payload 
+384e 6800c7ba fetch 1 ,mem_car_config_motor_layout 
+384f 6000c7b0 store 1 ,mem_car_info_request_payload + 1 
+3850 6800c7bb fetch 1 ,mem_car_config_ir_enable 
+3851 6000c7b1 store 1 ,mem_car_info_request_payload + 2 
+3852 df20000d arg 13 ,loopcnt 
+3853 d8c047aa arg mem_car_info_request_head ,contr 
+3854 204036f0 call calc_check_sum_start 
+3855 6000c7b7 store 1 ,mem_car_info_request_checksum 
+3856 da2047a7 arg mem_car_info_request ,rega 
+3857 20207e3d branch queue_push 
+
+light_init:
+3858 204065c2 call clear_eeprom_size_2k 
+3859 7046f67a jam 0x7a ,mem_curr_packet_num 
+385a 2040386d call light_load_controler_list 
+385b 20403867 call light_init_crr_cmd_count 
+385c 58003860 setarg light_pairing_timer 
+385d 600141fd store 2 ,mem_cb_event_timer 
+385e da200000 arg 0 ,rega 
+385f 202069a6 branch pwm_init 
+
+light_pairing_timer:
+3860 680146a1 fetch 2 ,mem_light_pairing_timer 
+3861 207a0000 rtn blank 
+3862 1fe0ffff increase -1 ,pdata 
+3863 600146a1 store 2 ,mem_light_pairing_timer 
+3864 c1800000 rtnne 0 
+3865 7046a000 jam 0 ,mem_light_pairing_enable 
+3866 20600000 rtn 
+
+light_init_crr_cmd_count:
+3867 44eb401a bpatch patch1a_6 ,mem_patch1a 
+3868 6800c6a4 fetch 1 ,mem_light_next_record 
+3869 1fe67c28 sub pdata ,40 ,null 
+386a 20610000 rtn positive 
+386b 7046a400 jam 0 ,mem_light_next_record 
+386c 20600000 rtn 
+
+light_load_controler_list:
+386d da2046a4 arg mem_light_next_record ,rega 
+386e da400000 arg 0 ,regb 
+386f d8400051 arg 81 ,temp 
+3870 202065df branch iicd_read_eep_data 
+
+light_find_controler_pairing:
+3871 78547c00 disable user 
+3872 6800c6a3 fetch 1 ,mem_light_cnum 
+3873 1fe27200 copy pdata ,loopcnt 
+3874 da2046a5 arg mem_light_clist ,rega 
+3875 1a622400 copy regc ,regb 
+
+light_find_controler_pairing_loop:
+3876 44ebc01a bpatch patch1a_7 ,mem_patch1a 
+3877 2040387c call light_compare_addr_record 
+3878 2022ffe7 branch enable_user ,zero 
+
+light_find_single_pairing_diff:
+3879 1a20a204 increase 4 ,rega 
+387a c2003876 loop light_find_controler_pairing_loop 
+387b 20600000 rtn 
+
+light_compare_addr_record:
+387c 44ec401b bpatch patch1b_0 ,mem_patch1b 
+387d ea218000 ifetch 3 ,rega 
+387e ea498000 ifetcht 3 ,regb 
+387f 98467c00 isub temp ,null 
+3880 20600000 rtn 
+
+light_compare_single_record:
+3881 44ecc01b bpatch patch1b_1 ,mem_patch1b 
+3882 ea218000 ifetch 3 ,rega 
+3883 ea498000 ifetcht 3 ,regb 
+3884 98467c00 isub temp ,null 
+3885 24628000 nrtn zero 
+3886 e8c08000 ifetch 1 ,contr 
+3887 1fe67c00 sub pdata ,0 ,null 
+3888 20628000 rtn zero 
+3889 1a208c03 add rega ,3 ,contr 
+388a e8c88000 ifetcht 1 ,contr 
+388b 98467c00 isub temp ,null 
+388c 20600000 rtn 
+
+light_find_controler_cmd:
+388d 44ed401b bpatch patch1b_2 ,mem_patch1b 
+388e 78547c00 disable user 
+388f 6800c6a3 fetch 1 ,mem_light_cnum 
+3890 1fe27200 copy pdata ,loopcnt 
+3891 da2046a5 arg mem_light_clist ,rega 
+3892 1a622400 copy regc ,regb 
+
+light_find_controler_cmd_loop:
+3893 20403881 call light_compare_single_record 
+3894 2022ffe7 branch enable_user ,zero 
+3895 1a20a204 increase 4 ,rega 
+3896 c2003893 loop light_find_controler_cmd_loop 
+3897 20600000 rtn 
+
+light_recv_adv:
+3898 68008004 fetch 1 ,mem_le_scanrsp_rcv 
+3899 1fe0fe01 increase 1 ,pdata 
+389a 60008004 store 1 ,mem_le_scanrsp_rcv 
+389b da6002e5 arg mem_le_rxbuf + 12 ,regc 
+
+light_anylize_command:
+389c ea610000 ifetch 2 ,regc 
+389d d84055aa arg 0x55aa ,temp 
+389e 98467c00 isub temp ,null 
+389f 24628000 nrtn zero 
+38a0 18c22600 copy contr ,regc 
+38a1 ea698000 ifetcht 3 ,regc 
+38a2 58ffffff setarg 0xffffff 
+38a3 98467c00 isub temp ,null 
+38a4 2022b8a8 branch light_parse_cmd ,zero 
+38a5 2040388d call light_find_controler_cmd 
+38a6 203438a8 branch light_parse_cmd ,user 
+38a7 20600000 rtn 
+
+light_parse_cmd:
+38a8 44edc01b bpatch patch1b_3 ,mem_patch1b 
+38a9 1a60a604 increase 4 ,regc 
+38aa ea608000 ifetch 1 ,regc 
+38ab 6808c6f6 fetcht 1 ,mem_curr_packet_num 
+38ac 98467c00 isub temp ,null 
+38ad 20628000 rtn zero 
+38ae 6000c6f6 store 1 ,mem_curr_packet_num 
+38af 68008003 fetch 1 ,mem_le_req_rcv 
+38b0 1fe0fe01 increase 1 ,pdata 
+38b1 60008003 store 1 ,mem_le_req_rcv 
+38b2 1a60a601 increase 1 ,regc 
+38b3 ea608000 ifetch 1 ,regc 
+38b4 6000c6f5 store 1 ,mem_light_crr_cmd_count 
+38b5 1fe27200 copy pdata ,loopcnt 
+38b6 207a0000 rtn blank 
+
+light_parse_cmd_loop:
+38b7 e8c08000 ifetch 1 ,contr 
+38b8 c00038c2 beq light_cmd_pwm0 ,light_parse_cmd_pwm0 
+38b9 c000b8cf beq light_cmd_pwm1 ,light_parse_cmd_pwm1 
+38ba c00138d4 beq light_cmd_pwm2 ,light_parse_cmd_pwm2 
+38bb c001b8d9 beq light_cmd_pwm3 ,light_parse_cmd_pwm3 
+38bc c00238de beq light_cmd_pwm4 ,light_parse_cmd_pwm4 
+38bd c002b8e3 beq light_cmd_pwm5 ,light_parse_cmd_pwm5 
+38be c00338e8 beq light_cmd_auto_mode ,light_parse_auto_mode 
+38bf c07fb8ea beq light_cmd_pairing ,light_parse_pairing 
+38c0 c20038b7 loop light_parse_cmd_loop 
+38c1 20600000 rtn 
+
+light_parse_cmd_pwm0:
+38c2 18c22600 copy contr ,regc 
+38c3 6800c69a fetch 1 ,mem_light_pwm0 
+38c4 60008a9a store 1 ,mem_pdatatemp 
+38c5 d8400000 arg 0 ,temp 
+
+light_parse_cmd_pwm_common:
+38c6 60088a9b storet 1 ,mem_pdatatemp + 1 
+38c7 58002710 setarg 10000 
+38c8 60018a9c store 3 ,mem_pdatatemp + 2 
+38c9 ea608000 ifetch 1 ,regc 
+38ca 60008a9f store 1 ,mem_pdatatemp + 5 
+38cb 204069ae call pwm_out_set 
+38cc 1a610c01 and regc ,1 ,contr 
+38cd c20038b7 loop light_parse_cmd_loop 
+38ce 20600000 rtn 
+
+light_parse_cmd_pwm1:
+38cf 1a620c00 copy regc ,contr 
+38d0 6800c69b fetch 1 ,mem_light_pwm1 
+38d1 60008a9a store 1 ,mem_pdatatemp 
+38d2 d8400001 arg 1 ,temp 
+38d3 202038c6 branch light_parse_cmd_pwm_common 
+
+light_parse_cmd_pwm2:
+38d4 1a620c00 copy regc ,contr 
+38d5 6800c69c fetch 1 ,mem_light_pwm2 
+38d6 60008a9a store 1 ,mem_pdatatemp 
+38d7 d8400002 arg 2 ,temp 
+38d8 202038c6 branch light_parse_cmd_pwm_common 
+
+light_parse_cmd_pwm3:
+38d9 1a620c00 copy regc ,contr 
+38da 6800c69d fetch 1 ,mem_light_pwm3 
+38db 60008a9a store 1 ,mem_pdatatemp 
+38dc d8400003 arg 3 ,temp 
+38dd 202038c6 branch light_parse_cmd_pwm_common 
+
+light_parse_cmd_pwm4:
+38de 1a620c00 copy regc ,contr 
+38df 6800c69e fetch 1 ,mem_light_pwm4 
+38e0 60008a9a store 1 ,mem_pdatatemp 
+38e1 d8400004 arg 4 ,temp 
+38e2 202038c6 branch light_parse_cmd_pwm_common 
+
+light_parse_cmd_pwm5:
+38e3 1a620c00 copy regc ,contr 
+38e4 6800c69f fetch 1 ,mem_light_pwm5 
+38e5 60008a9a store 1 ,mem_pdatatemp 
+38e6 d8400005 arg 5 ,temp 
+38e7 202038c6 branch light_parse_cmd_pwm_common 
+
+light_parse_auto_mode:
+38e8 e8c08000 ifetch 1 ,contr 
+38e9 20600000 rtn 
+
+light_parse_pairing:
+38ea 18c22600 copy contr ,regc 
+38eb 6800c6a0 fetch 1 ,mem_light_pairing_enable 
+38ec c080b8ee bne 1 ,light_parse_pairing_abandon 
+38ed 204038f0 call update_controler_list 
+
+light_parse_pairing_abandon:
+38ee 1a610c04 and regc ,4 ,contr 
+38ef 20600000 rtn 
+
+update_controler_list:
+38f0 44ee401b bpatch patch1b_4 ,mem_patch1b 
+38f1 20403871 call light_find_controler_pairing 
+38f2 203438fe branch update_conrtoler_list_found ,user 
+38f3 6800c6a4 fetch 1 ,mem_light_next_record 
+38f4 1fe20400 copy pdata ,temp 
+38f5 1fe0fe01 increase 1 ,pdata 
+38f6 6000c6a4 store 1 ,mem_light_next_record 
+38f7 20403867 call light_init_crr_cmd_count 
+38f8 184b8400 lshift2 temp ,temp 
+38f9 580046a5 setarg mem_light_clist 
+38fa 98408a00 iadd temp ,contw 
+38fb ea620000 ifetch 4 ,regc 
+38fc e0a20000 istore 4 ,contw 
+38fd 20203903 branch update_conrtoler_store_list 
+
+update_conrtoler_list_found:
+38fe 1a608c03 add regc ,3 ,contr 
+38ff e8c08000 ifetch 1 ,contr 
+3900 207a0000 rtn blank 
+3901 ea620000 ifetch 4 ,regc 
+3902 e2220000 istore 4 ,rega 
+
+update_conrtoler_store_list:
+3903 da2046a4 arg mem_light_next_record ,rega 
+3904 da400000 arg 0 ,regb 
+3905 d8400051 arg 81 ,temp 
+3906 20206606 branch iicd_write_eep_data 
+
+lightc_init:
+3907 6808c69a fetcht 1 ,mem_lightc_led_gpio 
+3908 20406825 call gpio_out_inactive 
+3909 20600000 rtn 
+
+lightc_dispatch:
+390a 6808c69a fetcht 1 ,mem_lightc_led_gpio 
+390b 20406829 call gpio_out_active 
+390c 6808c69a fetcht 1 ,mem_lightc_led_gpio 
+390d 20406825 call gpio_out_inactive 
+390e 2040391d call lightc_start_adv 
+390f 6800c6a7 fetch 1 ,mem_adv_time 
+3910 247a0000 nrtn blank 
+3911 20402c29 call lpm_write_gpio_wakeup 
+3912 68120138 hfetch 4 ,core_lpm_ctrl 
+3913 793ffe0f set0 15 ,pdata 
+3914 6012004c hstore 4 ,core_lpm_reg 
+3915 20402c21 call lpm_write_ctrl 
+3916 d85fffff arg param_hibernate_clks ,temp 
+3917 20202b2a branch lpm_sleep 
+
+lightc_adv:
+3918 6800c6a7 fetch 1 ,mem_adv_time 
+3919 203a56f9 branch le_adv_loop_tx ,blank 
+391a 1fe0ffff increase -1 ,pdata 
+391b 6000c6a7 store 1 ,mem_adv_time 
+391c 202056f9 branch le_adv_loop_tx 
+
+lightc_start_adv:
+391d 1feffe14 mul32 pdata ,20 ,pdata 
+391e d8c046a8 arg mem_cmd0_string ,contr 
+391f 98c08c00 iadd contr ,contr 
+3920 e8c08000 ifetch 1 ,contr 
+3921 207a0000 rtn blank 
+3922 1fe22200 copy pdata ,rega 
+3923 1a227200 copy rega ,loopcnt 
+3924 d8a04372 arg mem_le_adv_data + 2 ,contw 
+3925 20407f01 call memcpy 
+3926 1a227e00 copy rega ,pdata 
+3927 1fe0fe02 increase 2 ,pdata 
+3928 6000c36f store 1 ,mem_le_adv_data_len 
+3929 20600000 rtn 
+
+module_init:
+392a 20758000 rtn wake 
+392b 204057a3 call le_modified_name 
+392c 204068a8 call adc_init_data 
+392d 58003982 setarg module_process_idle 
+392e 600141f3 store 2 ,mem_cb_idle_process 
+392f 5800396e setarg module_bt_conn_process 
+3930 600141f1 store 2 ,mem_cb_bt_process 
+3931 58003986 setarg module_process_bb_event 
+3932 600141f5 store 2 ,mem_cb_bb_event_process 
+3933 5800396d setarg module_le_conn_process 
+3934 600141ef store 2 ,mem_cb_le_process 
+3935 58003969 setarg module_lpm_lock 
+3936 600141e9 store 2 ,mem_cb_check_wakelock 
+3937 58003ab7 setarg module_hci_cmd_transmit_le_notify 
+3938 600141fb store 2 ,mem_cb_ble_transmit 
+3939 58003c32 setarg module_hci_event_receive_spp_data 
+393a 6001456f store 2 ,mem_cb_receive_spp_data 
+393b 58003cc2 setarg module_le_receive_data 
+393c 600141f9 store 2 ,mem_cb_att_write 
+393d 58003cd7 setarg module_bb_event_timer 
+393e 600141fd store 2 ,mem_cb_event_timer 
+393f 2040397f call module_spp_clear_last_transmite_clock 
+3940 44eec01b bpatch patch1b_5 ,mem_patch1b 
+3941 20403945 call module_lpm_uart_init 
+3942 20403964 call module_gpio_init 
+3943 20402c6f call check_module_disabled 
+3944 20203c48 branch module_hci_event_enter_standby_mode 
+
+module_lpm_uart_init:
+3945 680246aa fetch 4 ,mem_module_uart_rx_buffer 
+3946 60120054 hstore 4 ,core_uart_rsaddr 
+3947 680246ae fetch 4 ,mem_module_uart_tx_buffer 
+3948 6012005a hstore 4 ,core_uart_tsaddr 
+3949 68108081 hfetch 1 ,core_gpio_sel1 
+394a 1fe1fe04 or_into 0x04 ,pdata 
+394b 1fe17efc and_into 0xfc ,pdata 
+394c 60108081 hstore 1 ,core_gpio_sel1 
+394d 70806200 jam 0x00 ,core_uart_ctrl 
+394e 680146aa fetch 2 ,mem_module_uart_rx_buffer 
+394f 60110058 hstore 2 ,core_uart_rrptr 
+3950 680146ae fetch 2 ,mem_module_uart_tx_buffer 
+3951 6011005e hstore 2 ,core_uart_twptr 
+3952 60110060 hstore 2 ,core_uart_trptrp 
+3953 68120078 hfetch 4 ,core_gpio_pu0 
+3954 79207e07 set1 7 ,pdata 
+3955 60120078 hstore 4 ,core_gpio_pu0 
+3956 68110050 hfetch 2 ,core_clkoff 
+3957 793ffe0f set0 clock_off_uart ,pdata 
+3958 60110050 hstore 2 ,core_clkoff 
+3959 204066ce call uart_set_baud_by_mem 
+395a 70804300 jam uartclk_crystal ,core_uart_clksel 
+395b 70806281 jam uart_ctrl_h4 ,core_uart_ctrl 
+395c 6800c6bf fetch 1 ,mem_module_flag 
+395d 2feffe00 isolate1 module_flag_uart_flow_control ,pdata 
+395e 68188062 hfetcht 1 ,core_uart_ctrl 
+395f 79208404 setflag true ,4 ,temp 
+3960 60188062 hstoret 1 ,core_uart_ctrl 
+3961 20600000 rtn 
+
+module_lpm_init:
+3962 2040397f call module_spp_clear_last_transmite_clock 
+3963 20203945 branch module_lpm_uart_init 
+
+module_gpio_init:
+3964 6808c69e fetcht 1 ,mem_module_connect_state_gpio 
+3965 2040680e call gpio_config_output 
+3966 204039e6 call module_set_conn_pin_low 
+3967 6808c69c fetcht 1 ,mem_module_wake_up_gpio 
+3968 202067fb branch gpio_config_input 
+
+module_lpm_lock:
+3969 6808c69c fetcht 1 ,mem_module_wake_up_gpio 
+396a 2040681d call gpio_get_bit 
+396b 2420b3d2 nbranch app_put_lpm_wake_lock ,true 
+396c 202033d0 branch app_get_lpm_wake_lock 
+
+module_le_conn_process:
+396d 20600000 rtn 
+
+module_bt_conn_process:
+396e 20403970 call module_spp_enter_sniff 
+396f 20203ce9 branch module_control_air_flow 
+
+module_spp_enter_sniff:
+3970 6800c682 fetch 1 ,mem_ui_state_map 
+3971 c302397f bbit0 ui_state_bt_spp_conn ,module_spp_clear_last_transmite_clock 
+3972 44ef401b bpatch patch1b_6 ,mem_patch1b 
+3973 58003eff setarg 0x3eff 
+3974 680a46c5 fetcht 4 ,mem_last_transmite_clock 
+3975 98408400 iadd temp ,temp 
+3976 1c427e00 copy clkn_bt ,pdata 
+3977 98467c00 isub temp ,null 
+3978 24610000 nrtn positive 
+3979 68014682 fetch 2 ,mem_ui_state_map 
+397a c282b97f bbit1 ui_state_bt_sniff ,module_spp_clear_last_transmite_clock 
+397b 6800c6bf fetch 1 ,mem_module_flag 
+397c c3830000 rtnbit1 moudle_task_sniff 
+397d 20403cec call module_set_sniff_task_flag 
+397e 2040340e call app_bt_enter_sniff 
+
+module_spp_clear_last_transmite_clock:
+397f 1c427e00 copy clkn_bt ,pdata 
+3980 600246c5 store 4 ,mem_last_transmite_clock 
+3981 20600000 rtn 
+
+module_process_idle:
+3982 20403ce9 call module_control_air_flow 
+3983 2040526e call l2cap_malloc_is_fifo_full 
+3984 247a0000 nrtn blank 
+3985 202039eb branch module_process 
+
+module_process_bb_event:
+3986 1a627e00 copy regc ,pdata 
+3987 c000b9d4 beq bt_evt_bb_connected ,module_process_bb_conn 
+3988 c00139a3 beq bt_evt_bb_disconnected ,module_process_bb_event_disconned 
+3989 c00239d7 beq bt_evt_reconn_failed ,module_process_reconn_fail 
+398a c002b9c4 beq bt_evt_setup_complete ,module_process_setup_complete 
+398b c00439aa beq bt_evt_spp_connected ,module_process_spp_connected 
+398c c004b9b1 beq bt_evt_spp_disconnected ,module_process_spp_disconnected 
+398d c00539c9 beq bt_evt_pincode_req ,module_process_evt_pincode_req 
+398e c005b9b6 beq bt_evt_enter_sniff ,module_process_enter_sniff 
+398f c00639c2 beq bt_evt_exit_sniff ,module_process_exit_sniff 
+3990 c009b9d7 beq bt_evt_reconn_page_timeout ,module_process_page_time_out 
+3991 c00a39cf beq bt_evt_le_connected ,module_process_le_conn 
+3992 c00ab9c6 beq bt_evt_le_disconnected ,module_process_bb_even_le_disconn 
+3993 c010b9ca beq bt_evt_sniff_not_accept ,module_process_sniff_not_accept 
+3994 c011b9cb beq bt_evt_unsniff_accept ,module_process_unsniff_accept 
+3995 c01239ce beq bt_evt_unsniff_not_accept ,module_process_unsniff_not_accept 
+3996 c0183c8a beq bt_evt_le_pairing_fail ,module_hci_event_le_pairing_fail 
+3997 c018bc8c beq bt_evt_le_pairing_success ,module_hci_event_le_pairing_success 
+3998 c0193c9a beq bt_evt_le_start_enc ,module_hci_event_start_enc 
+3999 c019bc98 beq bt_evt_le_pause_enc ,module_hci_event_pause_enc 
+399a c01a3c84 beq bt_evt_le_tk_generate ,module_hci_event_le_tk 
+399b c01abc73 beq bt_evt_bt_gkey_generate ,module_hci_event_gkey_generate 
+399c c01b3c82 beq bt_evt_bt_get_passkey ,module_hci_event_passkey_entry_mode 
+399d c01bbc8e beq bt_evt_bt_pairing_fail ,module_hci_event_bt_pairing_fail 
+399e c01c3c90 beq bt_evt_bt_pairing_success ,module_hci_event_bt_pairing_success 
+399f c01dbca1 beq bt_evt_le_gkey_generate ,module_hci_event_le_gkey 
+39a0 c01ebc6a beq bt_evt_store_nvram ,module_hci_event_store_device 
+39a1 c020b9d9 beq bt_evt_le_ltk_lost ,module_process_ble_ltk_lost 
+39a2 20600000 rtn 
+
+module_process_bb_event_disconned:
+39a3 2040397f call module_spp_clear_last_transmite_clock 
+39a4 6800c665 fetch 1 ,mem_flag_pairing_state 
+39a5 245a3c8e ncall module_hci_event_bt_pairing_fail ,blank 
+39a6 204039d7 call module_disconn_start 
+39a7 68014682 fetch 2 ,mem_ui_state_map 
+39a8 c4020000 rtnbit0 ui_state_bt_spp_conn 
+39a9 202039b1 branch module_spp_disconnected 
+
+module_process_spp_connected:
+39aa 68014682 fetch 2 ,mem_ui_state_map 
+39ab 79207e04 set1 ui_state_bt_spp_conn ,pdata 
+39ac 60014682 store 2 ,mem_ui_state_map 
+39ad 6800c6a7 fetch 1 ,mem_module_spp_lpm_mult 
+39ae 6000c172 store 1 ,mem_lpm_mult 
+39af 204039e6 call module_set_conn_pin_low 
+39b0 20203c1d branch module_hci_event_spp_connect 
+
+module_process_spp_disconnected:
+
+module_spp_disconnected:
+39b1 68014682 fetch 2 ,mem_ui_state_map 
+39b2 c4020000 rtnbit0 ui_state_bt_spp_conn 
+39b3 793ffe04 set0 ui_state_bt_spp_conn ,pdata 
+39b4 60014682 store 2 ,mem_ui_state_map 
+39b5 20203c21 branch module_hci_event_spp_disconnect 
+
+module_process_enter_sniff:
+
+module_sniff_param_check:
+39b6 2040397f call module_spp_clear_last_transmite_clock 
+39b7 68014042 fetch 2 ,mem_context + coffset_tsniff 
+39b8 1fe37e00 rshift pdata ,pdata 
+39b9 680941e3 fetcht 2 ,mem_sniff_param_interval 
+39ba 98467c00 isub temp ,null 
+39bb 2422b9bd nbranch module_sniff_param_check_unsniff ,zero 
+39bc 20203416 branch app_lpm_mult_enable 
+
+module_sniff_param_check_unsniff:
+39bd 6800c6bf fetch 1 ,mem_module_flag 
+39be c3828000 rtnbit1 moudle_task_unsniff 
+39bf 68110112 hfetch 2 ,core_uart_rxitems 
+39c0 245a3cf0 ncall module_set_unsniff_task_flag ,blank 
+39c1 2020340c branch app_bt_sniff_exit 
+
+module_process_exit_sniff:
+39c2 20403cee call module_clear_sniff_task_flag 
+39c3 20203418 branch app_lpm_mult_disable 
+
+module_process_setup_complete:
+39c4 2040397f call module_spp_clear_last_transmite_clock 
+39c5 202039dd branch module_conn_start 
+
+module_process_bb_even_le_disconn:
+39c6 20405816 call le_clr_config_more_data 
+39c7 204039d7 call module_disconn_start 
+39c8 20203c23 branch module_hci_event_le_disconnect 
+
+module_process_evt_pincode_req:
+39c9 202033dd branch app_bt_set_pincode 
+
+module_process_sniff_not_accept:
+39ca 20203cee branch module_clear_sniff_task_flag 
+
+module_process_unsniff_accept:
+39cb 6800c6bf fetch 1 ,mem_module_flag 
+39cc c302b40e bbit0 moudle_task_unsniff ,app_bt_enter_sniff 
+39cd 20203cf2 branch module_clear_unsniff_task_flag 
+
+module_process_unsniff_not_accept:
+39ce 20203cf2 branch module_clear_unsniff_task_flag 
+
+module_process_le_conn:
+39cf 204058ba call le_send_att_exchange_mtu_requset 
+39d0 204039dd call module_conn_start 
+39d1 6800c6a8 fetch 1 ,mem_module_le_lpm_mult 
+39d2 6000c172 store 1 ,mem_lpm_mult 
+39d3 20203c1f branch module_hci_event_le_connect 
+
+module_process_bb_conn:
+39d4 70466100 jam 0 ,mem_flag_mode_ssp_pin 
+39d5 20403cee call module_clear_sniff_task_flag 
+39d6 20203cf2 branch module_clear_unsniff_task_flag 
+
+module_process_page_time_out:
+
+module_process_reconn_fail:
+
+module_disconn_start:
+39d7 20403a52 call module_start_adv_discovery_by_command 
+39d8 202039db branch module_set_conn_pin_high 
+
+module_process_ble_ltk_lost:
+39d9 20405cc9 call le_send_reject_ind 
+39da 20205b02 branch le_send_smp_security_request 
+
+module_set_conn_pin_high:
+39db 6808c69e fetcht 1 ,mem_module_connect_state_gpio 
+39dc 20206829 branch gpio_out_active 
+
+module_conn_start:
+39dd 204039df call module_stop_adv_discovery 
+39de 202039e6 branch module_set_conn_pin_low 
+
+module_stop_adv_discovery:
+39df 6800c6a1 fetch 1 ,mem_module_state 
+39e0 2feffe00 isolate1 moudle_state_bt_bit ,pdata 
+39e1 2040b3f0 call app_bt_stop_discovery ,true 
+39e2 6800c6a1 fetch 1 ,mem_module_state 
+39e3 2feffe01 isolate1 moudle_state_ble_bit ,pdata 
+39e4 2040b3f8 call app_ble_stop_adv ,true 
+39e5 20600000 rtn 
+
+module_set_conn_pin_low:
+39e6 6808c69e fetcht 1 ,mem_module_connect_state_gpio 
+39e7 20206825 branch gpio_out_inactive 
+
+module_process_with_credit:
+39e8 6800c56b fetch 1 ,mem_credit_flag 
+39e9 c1000000 rtneq credit_disable 
+39ea 20206c28 branch rfcomm_send_uih_without_payload 
+
+module_process:
+39eb 6810810c hfetch 1 ,core_uart_status 
+39ec c281b9e8 bbit1 uart_status_rx_fifo_empty ,module_process_with_credit 
+39ed 204066cb call uartd_prepare_rx 
+39ee e8608000 ifetch 1 ,contru 
+39ef c080ba01 bne 0x01 ,module_hci_in_excp 
+39f0 68110112 hfetch 2 ,core_uart_rxitems 
+39f1 1fe67c02 sub pdata ,2 ,null 
+39f2 20610000 rtn positive 
+39f3 e8608000 ifetch 1 ,contru 
+39f4 60008b03 store 1 ,mem_module_uart_opcode 
+39f5 e8688000 ifetcht 1 ,contru 
+39f6 18622200 copy contru ,rega 
+39f7 60088b04 storet 1 ,mem_module_uart_len 
+39f8 18408403 add temp ,3 ,temp 
+39f9 68110112 hfetch 2 ,core_uart_rxitems 
+39fa 98460400 isub temp ,temp 
+39fb 24610000 nrtn positive 
+39fc 700b0501 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+39fd 20403a17 call module_hci_cmd_control 
+39fe 68008b05 fetch 1 ,mem_module_temp_nl_discard_packet 
+39ff c1000000 rtneq hci_not_discard_packet 
+3a00 20203a12 branch module_hci_dicard_packet 
+
+module_hci_in_excp:
+3a01 20407ec1 call delay_10ms 
+3a02 20403c79 call module_hci_event_invalid_packet 
+3a03 20203a04 branch module_hci_release_except 
+
+module_hci_release_except:
+3a04 44efc01b bpatch patch1b_7 ,mem_patch1b 
+3a05 68110112 hfetch 2 ,core_uart_rxitems 
+3a06 207a0000 rtn blank 
+3a07 204066cb call uartd_prepare_rx 
+3a08 e8608000 ifetch 1 ,contru 
+3a09 1fe67c01 sub pdata ,0x01 ,null 
+3a0a 2442ba16 ncall module_hci_dicard_bytes ,zero 
+3a0b 2422ba04 nbranch module_hci_release_except ,zero 
+3a0c e8608000 ifetch 1 ,contru 
+3a0d c1028000 rtneq hci_cmd_spp_data_req 
+3a0e c1148000 rtneq hci_cmd_set_credit_given 
+3a0f 186087ff increase -1 ,contru 
+3a10 20403a16 call module_hci_dicard_bytes 
+3a11 20203a04 branch module_hci_release_except 
+
+module_hci_dicard_packet:
+3a12 204066cb call uartd_prepare_rx 
+3a13 18608602 increase 2 ,contru 
+3a14 e8608000 ifetch 1 ,contru 
+3a15 98608600 iadd contru ,contru 
+
+module_hci_dicard_bytes:
+3a16 202066c8 branch uartd_rxdone 
+
+module_hci_cmd_control:
+3a17 44f0401c bpatch patch1c_0 ,mem_patch1c 
+3a18 68008b03 fetch 1 ,mem_module_uart_opcode 
+3a19 c0003a3f beq hci_cmd_set_bt_addr_req ,module_hci_cmd_set_bt_addr 
+3a1a c000ba44 beq hci_cmd_set_le_addr_req ,module_hci_cmd_set_le_addr 
+3a1b c0013a49 beq hci_cmd_set_visibility_req ,module_hci_cmd_set_visibility 
+3a1c c001ba5f beq hci_cmd_set_bt_name_req ,module_hci_cmd_set_bt_name 
+3a1d c0023a6b beq hci_cmd_set_le_name_req ,module_hci_cmd_set_le_name 
+3a1e c002ba75 beq hci_cmd_spp_data_req ,module_hci_cmd_receive_spp_data 
+3a1f c004ba9a beq hci_cmd_le_data_req ,module_hci_cmd_receive_le_data 
+3a20 c005bad7 beq hci_cmd_status_irq ,module_hci_cmd_inquire_status 
+3a21 c0063ad8 beq hci_cmd_set_pairing_req ,module_hci_cmd_set_pairing_mode 
+3a22 c006baec beq hci_cmd_set_pincode_req ,module_hci_cmd_set_pincode 
+3a23 c0073af4 beq hci_cmd_set_uartcontrol_req ,module_hci_cmd_set_uart_control_mode 
+3a24 c007bafa beq hci_cmd_set_uart_baud_req ,module_hci_cmd_set_uart_baud 
+3a25 c0083b06 beq hci_cmd_version_req ,module_hci_cmd_version_request 
+3a26 c008bb0e beq hci_cmd_bt_disconnect ,module_hci_cmd_bt_disconnect 
+3a27 c0093b12 beq hci_cmd_ble_disconnect ,module_hci_cmd_ble_disconnect 
+3a28 c0133b16 beq hci_cmd_set_nvram_req ,module_hci_cmd_set_nvram 
+3a29 c0143b1d beq hci_cmd_confirm_gkey ,module_hci_cmd_confirm_gkey 
+3a2a c014bb2d beq hci_cmd_set_credit_given ,module_hci_cmd_set_credit_given 
+3a2b c0153b36 beq hci_cmd_auto_adv_scan ,module_hci_cmd_auto_adv 
+3a2c c015bb69 beq hci_cmd_power_req ,module_hci_cmd_power_request 
+3a2d c0163b6f beq hci_cmd_power_set ,module_hci_cmd_power_set 
+3a2e c0183b76 beq hci_cmd_passkey_entry ,module_hci_cmd_passkey_entry 
+3a2f c018bb7c beq hci_cmd_set_gpio ,module_hci_cmd_set_gpio 
+3a30 c0193b90 beq hci_cmd_read_gpio ,module_hci_cmd_read_gpio 
+3a31 c019bb98 beq hci_cmd_le_set_pairing ,module_hci_cmd_le_set_pairing_mode 
+3a32 c01a3bbb beq hci_cmd_le_set_adv_data ,module_hci_cmd_le_set_adv_data 
+3a33 c01abbc4 beq hci_cmd_le_set_scan_data ,module_hci_cmd_le_set_scan_data 
+3a34 c01b3bcd beq hci_cmd_le_send_conn_update_req ,module_hci_cmd_le_send_conn_update_req 
+3a35 c01bbbd7 beq hci_cmd_le_set_adv_parm ,module_hci_cmd_set_le_adv_parameter 
+3a36 c01c3bda beq hci_cmd_le_start_pairing ,module_hci_cmd_le_start_pairing 
+3a37 c0203be2 beq hci_cmd_set_wake_gpio ,module_hci_cmd_set_wake_gpio 
+3a38 c0213bec beq hci_cmd_set_tx_power ,module_hci_cmd_set_tx_power 
+3a39 c0243bf1 beq hci_cmd_le_confirm_gkey ,module_hci_cmd_le_confirm_gkey 
+3a3a c024bbfc beq hci_cmd_reject_justwork ,module_hci_cmd_set_reject_justwork_flag 
+3a3b c028bc02 beq hci_cmd_reset_chip_req ,module_hci_cmd_reset_chip 
+3a3c c030bc06 beq hci_cmd_le_set_fixed_passkey ,module_hci_cmd_le_set_fixed_passkey 
+3a3d c07fbc15 beq hci_test_cmd_close_lpm ,module_hci_test_cmde_close_lpm 
+3a3e 20203c17 branch module_hci_event_receive_invalid_cmd 
+
+module_hci_cmd_set_bt_addr:
+3a3f 68008b04 fetch 1 ,mem_module_uart_len 
+3a40 c0833c17 bne 6 ,module_hci_event_receive_invalid_cmd 
+3a41 e8630000 ifetch 6 ,contru 
+3a42 600340a0 store 6 ,mem_lap 
+3a43 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_le_addr:
+3a44 68008b04 fetch 1 ,mem_module_uart_len 
+3a45 c0833c17 bne 6 ,module_hci_event_receive_invalid_cmd 
+3a46 e8630000 ifetch 6 ,contru 
+3a47 600344a0 store 6 ,mem_le_lap 
+3a48 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_visibility:
+3a49 68008b04 fetch 1 ,mem_module_uart_len 
+3a4a c080bc17 bne 1 ,module_hci_event_receive_invalid_cmd 
+3a4b 1a220600 copy rega ,contru 
+3a4c 20403c1a call module_hci_event_receive_valid_cmd 
+3a4d e8688000 ifetcht 1 ,contru 
+3a4e 6008c6a9 storet 1 ,mem_module_bluetooth_stauts_by_command 
+3a4f 68014682 fetch 2 ,mem_ui_state_map 
+3a50 c3848000 rtnbit1 ui_state_ble_connected 
+3a51 c3800000 rtnbit1 ui_state_bt_connected 
+
+module_start_adv_discovery_by_command:
+3a52 6800c6a1 fetch 1 ,mem_module_state 
+3a53 2feffe00 isolate1 moudle_state_bt_bit ,pdata 
+3a54 2420ba58 nbranch moudle_start_adv_by_command ,true 
+3a55 6808c6a9 fetcht 1 ,mem_module_bluetooth_stauts_by_command 
+3a56 18417e03 and temp ,0x03 ,pdata 
+3a57 6000c093 store 1 ,mem_scan_mode 
+
+moudle_start_adv_by_command:
+3a58 6800c6a1 fetch 1 ,mem_module_state 
+3a59 2feffe01 isolate1 moudle_state_ble_bit ,pdata 
+3a5a 24608000 nrtn true 
+3a5b 6808c6a9 fetcht 1 ,mem_module_bluetooth_stauts_by_command 
+3a5c 284ffe02 isolate1 2 ,temp 
+3a5d 2020b3fa branch app_ble_start_adv ,true 
+3a5e 202033f8 branch app_ble_stop_adv 
+
+module_hci_cmd_set_bt_name:
+3a5f 68008b04 fetch 1 ,mem_module_uart_len 
+3a60 1fe67c43 sub pdata ,67 ,null 
+3a61 24213c17 nbranch module_hci_event_receive_invalid_cmd ,positive 
+3a62 6000c515 store 1 ,mem_local_name_length 
+3a63 df200008 arg 8 ,loopcnt 
+3a64 20407ec6 call memset0 
+3a65 68008b04 fetch 1 ,mem_module_uart_len 
+3a66 1fe27200 copy pdata ,loopcnt 
+3a67 1a220600 copy rega ,contru 
+3a68 d8a04516 arg mem_local_name ,contw 
+3a69 204066ea call uart_copy_rx_bytes_fast 
+3a6a 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_le_name:
+3a6b 68008b04 fetch 1 ,mem_module_uart_len 
+3a6c 1fe67c1d sub pdata ,29 ,null 
+3a6d 24213c17 nbranch module_hci_event_receive_invalid_cmd ,positive 
+3a6e 6000c3af store 1 ,mem_le_name_len 
+3a6f 1fe27200 copy pdata ,loopcnt 
+3a70 1a220600 copy rega ,contru 
+3a71 d8a043b0 arg mem_le_name ,contw 
+3a72 204066ea call uart_copy_rx_bytes_fast 
+3a73 204057a3 call le_modified_name 
+3a74 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_receive_spp_data:
+3a75 6800c682 fetch 1 ,mem_ui_state_map 
+3a76 c3023c17 bbit0 ui_state_bt_spp_conn ,module_hci_event_receive_invalid_cmd 
+3a77 204033ba call app_check_sniff 
+3a78 2020ba86 branch module_hci_cmd_spp_exit_sniff ,true 
+3a79 700b0500 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+3a7a 2040397f call module_spp_clear_last_transmite_clock 
+3a7b 6800c568 fetch 1 ,mem_remote_credits 
+3a7c 207a0000 rtn blank 
+3a7d 68014573 fetch 2 ,mem_nl_rx_len_all 
+3a7e c0803a84 bne 0 ,module_hci_cmd_pass_init_ng_rx_len_all 
+3a7f 68008b04 fetch 1 ,mem_module_uart_len 
+3a80 60014573 store 2 ,mem_nl_rx_len_all 
+3a81 1a220600 copy rega ,contru 
+3a82 18627e00 copy contru ,pdata 
+3a83 60014571 store 2 ,mem_nl_rx_data_src 
+
+module_hci_cmd_pass_init_ng_rx_len_all:
+3a84 20403a88 call module_hci_cmd_get_current_packet_len_and_remain_len 
+3a85 20206c4d branch spp_tx_rfcomm_packet 
+
+module_hci_cmd_spp_exit_sniff:
+3a86 700b0500 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+3a87 20203cd1 branch module_exit_sniff 
+
+module_hci_cmd_get_current_packet_len_and_remain_len:
+3a88 20403a8e call module_hci_cmd_get_current_patcket_len 
+3a89 68014573 fetch 2 ,mem_nl_rx_len_all 
+3a8a 6809469f fetcht 2 ,mem_current_packet_length 
+3a8b 98467e00 isub temp ,pdata 
+3a8c 60014573 store 2 ,mem_nl_rx_len_all 
+3a8d 20600000 rtn 
+
+module_hci_cmd_get_current_patcket_len:
+3a8e 68014573 fetch 2 ,mem_nl_rx_len_all 
+3a8f d840006e arg dm_refcom_buff_len ,temp 
+3a90 20407fdd call not_greater_than 
+3a91 6809456c fetcht 2 ,mem_rfcomm_max_frame_size 
+3a92 20407fdd call not_greater_than 
+3a93 6809455e fetcht 2 ,mem_pn_max_frame_size 
+3a94 20407fdd call not_greater_than 
+3a95 6001469f store 2 ,mem_current_packet_length 
+3a96 20600000 rtn 
+
+module_hci_command_tx_spp_tx_complete:
+3a97 700b0501 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+3a98 700b0305 jam hci_cmd_spp_data_req ,mem_module_uart_opcode 
+3a99 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_receive_le_data:
+3a9a 68014682 fetch 2 ,mem_ui_state_map 
+3a9b c304bc17 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+3a9c 20403ad4 call module_check_ble_encrypt_state 
+3a9d 20343c17 branch module_hci_event_receive_invalid_cmd ,user 
+3a9e 700b0500 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+3a9f 6800c6bf fetch 1 ,mem_module_flag 
+3aa0 c2823ab4 bbit1 module_flag_ble_data_finish ,module_hci_cmd_receive_le_data_finish 
+3aa1 6800c6c0 fetch 1 ,mem_module_hci_notify_len 
+3aa2 247a0000 nrtn blank 
+3aa3 700b0501 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+3aa4 e8610000 ifetch 2 ,contru 
+3aa5 600146c1 store 2 ,mem_module_hci_notify_handle 
+3aa6 18627e00 copy contru ,pdata 
+3aa7 600146c3 store 2 ,mem_module_hci_nofiy_addr 
+3aa8 68008b04 fetch 1 ,mem_module_uart_len 
+3aa9 1fe0fffe pincrease -2 
+3aaa 24213c17 nbranch module_hci_event_receive_invalid_cmd ,positive 
+3aab 2022bc17 branch module_hci_event_receive_invalid_cmd ,zero 
+3aac 6000c6c0 store 1 ,mem_module_hci_notify_len 
+3aad 700b0500 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+3aae 20405814 call le_set_config_more_data 
+3aaf 20403ab7 call module_hci_cmd_transmit_le_notify 
+3ab0 20403ab7 call module_hci_cmd_transmit_le_notify 
+3ab1 20403ab7 call module_hci_cmd_transmit_le_notify 
+3ab2 6800c6bf fetch 1 ,mem_module_flag 
+3ab3 c4020000 rtnbit0 module_flag_ble_data_finish 
+
+module_hci_cmd_receive_le_data_finish:
+3ab4 700b0501 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+3ab5 20403cf6 call module_clear_le_tx_data_flag 
+3ab6 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_transmit_le_notify:
+3ab7 6800c6c0 fetch 1 ,mem_module_hci_notify_len 
+3ab8 207a0000 rtn blank 
+3ab9 20405892 call le_fifo_check_nearly_full 
+3aba 247a0000 nrtn blank 
+3abb 20403acf call module_get_le_remote_mtu 
+3abc 44f0c01c bpatch patch1c_1 ,mem_patch1c 
+3abd 1840fffd add temp ,-3 ,pdata 
+3abe 6808c6c0 fetcht 1 ,mem_module_hci_notify_len 
+3abf 20407fdd call not_greater_than 
+3ac0 1fe22200 copy pdata ,rega 
+3ac1 18427e00 copy temp ,pdata 
+3ac2 9a267e00 isub rega ,pdata 
+3ac3 6000c6c0 store 1 ,mem_module_hci_notify_len 
+3ac4 680946c1 fetcht 2 ,mem_module_hci_notify_handle 
+3ac5 20405a64 call le_att_malloc_tx_notify 
+3ac6 680146c3 fetch 2 ,mem_module_hci_nofiy_addr 
+3ac7 1fe20600 copy pdata ,contru 
+3ac8 1a227200 copy rega ,loopcnt 
+3ac9 204066ea call uart_copy_rx_bytes_fast 
+3aca 18627e00 copy contru ,pdata 
+3acb 600146c3 store 2 ,mem_module_hci_nofiy_addr 
+3acc 6800c6c0 fetch 1 ,mem_module_hci_notify_len 
+3acd 247a0000 nrtn blank 
+3ace 20203cf4 branch module_set_le_tx_data_flag 
+
+module_get_le_remote_mtu:
+3acf d8400017 arg 0x17 ,temp 
+3ad0 6800c6bf fetch 1 ,mem_module_flag 
+3ad1 c3808000 rtnbit1 module_flag_ble_send_mtu23 
+3ad2 680944a8 fetcht 2 ,mem_le_remote_mtu 
+3ad3 20600000 rtn 
+
+module_check_ble_encrypt_state:
+3ad4 6800c6bf fetch 1 ,mem_module_flag 
+3ad5 c2815a42 bbit1 module_flag_ble_data_encrypt ,le_check_encrypt_state 
+3ad6 20207fe9 branch disable_user 
+
+module_hci_cmd_inquire_status:
+3ad7 20203c4c branch module_hci_event_status_res 
+
+module_hci_cmd_set_pairing_mode:
+3ad8 1a220600 copy rega ,contru 
+3ad9 e8608000 ifetch 1 ,contru 
+3ada c0003adf beq pairing_pincode ,module_hci_pairing_pincode_mode 
+3adb c000bae2 beq pairing_justwork ,module_hci_pairing_just_work_mode 
+3adc c0013ae8 beq pairing_passkey ,module_hci_pairing_passkey 
+3add c001baea beq pairing_confirm ,module_hci_pairing_numeric_comparison 
+3ade 20203c17 branch module_hci_event_receive_invalid_cmd 
+
+module_hci_pairing_pincode_mode:
+3adf 2040612b call ssp_disable 
+3ae0 70465a00 jam 0 ,mem_ssp_enable 
+3ae1 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_pairing_just_work_mode:
+3ae2 58040003 setarg ssp_mode_just_work_io_cap_data 
+
+module_hci_sspairing_mode:
+3ae3 6001c65b store 3 ,mem_sp_iocap_local 
+3ae4 6000c662 store 1 ,mem_ssp_mode_flag 
+3ae5 20406124 call ssp_enable 
+3ae6 70465a01 jam 1 ,mem_ssp_enable 
+3ae7 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_pairing_passkey:
+3ae8 58040002 setarg ssp_mode_passkey_io_cap_data 
+3ae9 20203ae3 branch module_hci_sspairing_mode 
+
+module_hci_pairing_numeric_comparison:
+3aea 58040001 setarg ssp_mode_ssp_pin_io_cap_data 
+3aeb 20203ae3 branch module_hci_sspairing_mode 
+
+module_hci_cmd_set_pincode:
+3aec 68008b04 fetch 1 ,mem_module_uart_len 
+3aed 1fe67c10 sub pdata ,16 ,null 
+3aee 24213c17 nbranch module_hci_event_receive_invalid_cmd ,positive 
+3aef 6000c689 store 1 ,mem_pin_length 
+3af0 1fe27200 copy pdata ,loopcnt 
+3af1 d8a0468a arg mem_pin ,contw 
+3af2 204066fd call uart_copy_rx_bytes 
+3af3 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_uart_control_mode:
+3af4 1a220600 copy rega ,contru 
+3af5 e8608000 ifetch 1 ,contru 
+3af6 68188062 hfetcht 1 ,core_uart_ctrl 
+3af7 7d3a0404 nsetflag blank ,4 ,temp 
+3af8 60188062 hstoret 1 ,core_uart_ctrl 
+3af9 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_uart_baud:
+3afa 68008b04 fetch 1 ,mem_module_uart_len 
+3afb 1fe27200 copy pdata ,loopcnt 
+3afc 1a220600 copy rega ,contru 
+3afd 20407f58 call string2dec_from_uart 
+3afe 596e3600 setarg uart_clk_24 
+3aff 9846fc00 idiv temp 
+3b00 20407f86 call wait_div_end 
+3b01 1807fe00 quotient pdata 
+
+module_hci_cmd_set_uart_baud_ok:
+3b02 60014243 store uart_baud_len ,mem_baud 
+3b03 20403c1a call module_hci_event_receive_valid_cmd 
+3b04 20407f9e call wait_uarttx 
+3b05 202066ce branch uart_set_baud_by_mem 
+
+module_hci_cmd_version_request:
+3b06 da200002 arg 2 ,rega 
+3b07 da40469a arg mem_soft_version_num ,regb 
+3b08 d8400000 arg 0 ,temp 
+3b09 20203c25 branch module_hci_event_set_cmd 
+
+module_hci_event_set_cmd_send_response:
+3b0a 60010ac2 store 2 ,mem_event_cmd_response_content 
+3b0b da400ac2 arg mem_event_cmd_response_content ,regb 
+3b0c d8400000 arg 0 ,temp 
+3b0d 20203c25 branch module_hci_event_set_cmd 
+
+module_hci_cmd_bt_disconnect:
+3b0e 68014682 fetch 2 ,mem_ui_state_map 
+3b0f c3003c17 bbit0 ui_state_bt_connected ,module_hci_event_receive_invalid_cmd 
+
+module_hci_cmd_bt_disconnect_doing:
+3b10 20403c1a call module_hci_event_receive_valid_cmd 
+3b11 202033e9 branch app_bt_disconnect 
+
+module_hci_cmd_ble_disconnect:
+3b12 68014682 fetch 2 ,mem_ui_state_map 
+3b13 c304bc17 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+
+module_hci_cmd_ble_disconnect_doing:
+3b14 20403c1a call module_hci_event_receive_valid_cmd 
+3b15 20203402 branch app_ble_disconnect 
+
+module_hci_cmd_set_nvram:
+3b16 68008b04 fetch 1 ,mem_module_uart_len 
+3b17 1fe27200 copy pdata ,loopcnt 
+3b18 1a220600 copy rega ,contru 
+3b19 68014215 fetch 2 ,mem_nv_data_ptr 
+3b1a 1fe20a00 icopy contw 
+3b1b 204066ea call uart_copy_rx_bytes_fast 
+3b1c 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_confirm_gkey:
+3b1d 6800c682 fetch 1 ,mem_ui_state_map 
+3b1e c3003c17 bbit0 ui_state_bt_connected ,module_hci_event_receive_invalid_cmd 
+3b1f e8608000 ifetch 1 ,contru 
+3b20 6808c661 fetcht 1 ,mem_flag_mode_ssp_pin 
+3b21 793a0400 setflag blank ,flag_mode_ssp_pin_comparison_result_bit ,temp 
+3b22 79200407 set1 flag_mode_ssp_pin_reviceve_comparison_bit ,temp 
+3b23 6008c661 storet 1 ,mem_flag_mode_ssp_pin 
+3b24 20403c1a call module_hci_event_receive_valid_cmd 
+3b25 6800c661 fetch 1 ,mem_flag_mode_ssp_pin 
+3b26 c2833b2b bbit1 flag_mode_ssp_pin_recieve_dhkey_bit ,module_hci_cmd_spp_number_comparison_result_is1 
+3b27 20600000 rtn 
+
+dhkey_not_accept:
+3b28 70466100 jam 0 ,mem_flag_mode_ssp_pin 
+3b29 700a9921 jam bt_cmd_dhkey_not_accept ,mem_fifo_temp 
+3b2a 20207d8f branch ui_ipc_send_cmd 
+
+module_hci_cmd_spp_number_comparison_result_is1:
+3b2b c2805f95 bbit1 flag_mode_ssp_pin_comparison_result_bit ,number_comparison_successed 
+3b2c 20203b28 branch dhkey_not_accept 
+
+module_hci_cmd_set_credit_given:
+3b2d 6800c682 fetch 1 ,mem_ui_state_map 
+3b2e c4020000 rtnbit0 ui_state_bt_spp_conn 
+3b2f 6800c56b fetch 1 ,mem_credit_flag 
+3b30 c1000000 rtneq credit_disable 
+3b31 e8608000 ifetch 1 ,contru 
+3b32 6808c569 fetcht 1 ,mem_credit_given 
+3b33 98408400 iadd temp ,temp 
+3b34 6008c569 storet 1 ,mem_credit_given 
+3b35 20600000 rtn 
+
+module_hci_cmd_auto_adv:
+3b36 df200040 arg 0x40 ,loopcnt 
+3b37 d8a0436f arg mem_le_adv_data_len ,contw 
+3b38 20407ed4 call clear_mem 
+3b39 58000000 setarg 0 
+3b3a 60008ab2 store 1 ,mem_regb 
+3b3b 1a220600 copy rega ,contru 
+
+module_hci_cmd_auto_adv_loop:
+3b3c 18627e00 copy contru ,pdata 
+3b3d 60010ab6 store 2 ,mem_regc 
+3b3e 20403b64 call module_hci_cmd_auto_adv_adv_analys 
+3b3f 68008ab2 fetch 1 ,mem_regb 
+3b40 68088aa2 fetcht 1 ,mem_temp 
+3b41 18408401 increase 1 ,temp 
+3b42 9840fe00 iadd temp ,pdata 
+3b43 60008ab2 store 1 ,mem_regb 
+3b44 1fe67c1f sub pdata ,31 ,null 
+3b45 24213b50 nbranch module_hci_cmd_auto_adv_store_scan ,positive 
+
+module_hci_cmd_auto_adv_store_adv:
+3b46 6808c36f fetcht 1 ,mem_le_adv_data_len 
+3b47 58004370 setarg mem_le_adv_data 
+3b48 9840fe00 iadd temp ,pdata 
+3b49 60010abb store 2 ,mem_contw 
+3b4a 68088aa2 fetcht 1 ,mem_temp 
+3b4b 18408401 increase 1 ,temp 
+3b4c 6800c36f fetch 1 ,mem_le_adv_data_len 
+3b4d 9840fe00 iadd temp ,pdata 
+3b4e 6000c36f store 1 ,mem_le_adv_data_len 
+3b4f 20203b59 branch module_hci_cmd_auto_adv_store_common 
+
+module_hci_cmd_auto_adv_store_scan:
+3b50 6808c38f fetcht 1 ,mem_le_scan_data_len 
+3b51 58004390 setarg mem_le_scan_data 
+3b52 9840fe00 iadd temp ,pdata 
+3b53 60010abb store 2 ,mem_contw 
+3b54 68088aa2 fetcht 1 ,mem_temp 
+3b55 18408401 increase 1 ,temp 
+3b56 6800c38f fetch 1 ,mem_le_scan_data_len 
+3b57 9840fe00 iadd temp ,pdata 
+3b58 6000c38f store 1 ,mem_le_scan_data_len 
+
+module_hci_cmd_auto_adv_store_common:
+3b59 68010abb fetch 2 ,mem_contw 
+3b5a 1fe20a00 copy pdata ,contw 
+3b5b 68010ab6 fetch 2 ,mem_regc 
+3b5c 1fe20600 copy pdata ,contru 
+3b5d 18427200 copy temp ,loopcnt 
+3b5e 204066ea call uart_copy_rx_bytes_fast 
+3b5f 68008b04 fetch 1 ,mem_module_uart_len 
+3b60 68088ab2 fetcht 1 ,mem_regb 
+3b61 98467c00 isub temp ,null 
+3b62 2422bb3c nbranch module_hci_cmd_auto_adv_loop ,zero 
+3b63 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_auto_adv_adv_analys:
+3b64 e8608000 ifetch 1 ,contru 
+3b65 60008aa2 store 1 ,mem_temp 
+3b66 e8608000 ifetch 1 ,contru 
+3b67 60008aae store 1 ,mem_rega 
+3b68 20600000 rtn 
+
+module_hci_cmd_power_request:
+3b69 d8400000 arg 0 ,temp 
+3b6a da200002 arg 2 ,rega 
+3b6b 680146b4 fetch 2 ,mem_module_vdd_quotient 
+3b6c 60010ac2 store 2 ,mem_event_cmd_response_content 
+3b6d da400ac2 arg mem_event_cmd_response_content ,regb 
+3b6e 20203c25 branch module_hci_event_set_cmd 
+
+module_hci_cmd_power_set:
+3b6f 68008b04 fetch 1 ,mem_module_uart_len 
+3b70 c080bc17 bne 1 ,module_hci_event_receive_invalid_cmd 
+3b71 e8608000 ifetch 1 ,contru 
+3b72 6000c6b2 store 1 ,mem_module_read_vdd_flag 
+3b73 58000000 setarg 0x00 
+3b74 600146b4 store 2 ,mem_module_vdd_quotient 
+3b75 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_passkey_entry:
+3b76 e8620000 ifetch 4 ,contru 
+3b77 6002468a store 4 ,mem_pin 
+3b78 70468904 jam 4 ,mem_pin_length 
+3b79 70466300 jam 0 ,mem_authentication_passkey_times 
+3b7a 20403c1a call module_hci_event_receive_valid_cmd 
+3b7b 20205f31 branch authentication_passkey 
+
+module_hci_cmd_set_gpio:
+3b7c 68008b04 fetch 1 ,mem_module_uart_len 
+3b7d c081bc17 bne 3 ,module_hci_event_receive_invalid_cmd 
+3b7e e8608000 ifetch 1 ,contru 
+3b7f c0003b82 beq hci_cmd_config_gpio_input ,module_set_gpio_input 
+3b80 c000bb8a beq hci_cmd_config_gpio_output ,module_set_gpio_output 
+3b81 20203c17 branch module_hci_event_receive_invalid_cmd 
+
+module_set_gpio_input:
+3b82 e8688000 ifetcht 1 ,contru 
+3b83 e8608000 ifetch 1 ,contru 
+3b84 c0013b88 beq gpio_input_high_impedance ,module_set_gpio_high_impedance 
+3b85 7d3a0407 nsetflag blank ,7 ,temp 
+3b86 204067fb call gpio_config_input 
+3b87 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_set_gpio_high_impedance:
+3b88 20406806 call gpio_set_high_impedance 
+3b89 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_set_gpio_output:
+3b8a e8688000 ifetcht 1 ,contru 
+3b8b 20406812 call gpio_config_output0 
+3b8c e8608000 ifetch 1 ,contru 
+3b8d 2feffe00 isolate1 0 ,pdata 
+3b8e 2040682c call gpio_out_flag 
+3b8f 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_read_gpio:
+3b90 68008b04 fetch 1 ,mem_module_uart_len 
+3b91 c080bc17 bne 1 ,module_hci_event_receive_invalid_cmd 
+3b92 e8688000 ifetcht 1 ,contru 
+3b93 2040681d call gpio_get_bit 
+3b94 58000000 setarg 0x0 
+3b95 7d20fe00 nsetflag true ,0 ,pdata 
+3b96 da200001 arg 1 ,rega 
+3b97 20203b0a branch module_hci_event_set_cmd_send_response 
+
+module_hci_cmd_le_set_pairing_mode:
+3b98 1a220600 copy rega ,contru 
+3b99 e8608000 ifetch 1 ,contru 
+3b9a 1fe20400 copy pdata ,temp 
+3b9b c040bba3 beq le_pairing_mode_secure_connect_justwork ,module_le_set_pairing_mode_secure_justwork 
+3b9c c0413ba8 beq le_pairing_mode_secure_connect_numeric ,module_le_set_pairing_mode_secure_numeric 
+3b9d c041bbae beq le_pairing_mode_secure_connect_passkey ,module_le_set_pairing_mode_secure_passkey 
+3b9e 6000c4c6 store 1 ,mem_le_pairing_mode 
+3b9f c0003bb3 beq le_pairing_mode_none ,module_le_set_no_pairing 
+3ba0 c000bbb6 beq le_pairing_mode_lagacy_justwork ,module_le_set_pairing_mode_lagacy_just_work 
+3ba1 c0013bb8 beq le_pairing_mode_lagacy_passkey ,module_le_set_pairing_mode_lagacy_passkey 
+3ba2 20203c17 branch module_hci_event_receive_invalid_cmd 
+
+module_le_set_pairing_mode_secure_justwork:
+3ba3 6800c4be fetch 1 ,mem_le_secure_connect_enable 
+3ba4 203a3c17 branch module_hci_event_receive_invalid_cmd ,blank 
+3ba5 6008c4c6 storet 1 ,mem_le_pairing_mode 
+3ba6 7044560d jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+3ba7 20203bb4 branch module_le_set_noinputnooutput 
+
+module_le_set_pairing_mode_secure_numeric:
+3ba8 6800c4be fetch 1 ,mem_le_secure_connect_enable 
+3ba9 203a3c17 branch module_hci_event_receive_invalid_cmd ,blank 
+3baa 6008c4c6 storet 1 ,mem_le_pairing_mode 
+3bab 7044560d jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+3bac 70445401 jam flag_iocap_displayyesno ,mem_le_pres_iocap 
+3bad 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_le_set_pairing_mode_secure_passkey:
+3bae 6800c4be fetch 1 ,mem_le_secure_connect_enable 
+3baf 203a3c17 branch module_hci_event_receive_invalid_cmd ,blank 
+3bb0 6008c4c6 storet 1 ,mem_le_pairing_mode 
+3bb1 7044560d jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+3bb2 20203bb9 branch module_le_set_displayonly 
+
+module_le_set_no_pairing:
+3bb3 70445600 jam flag_le_no_bonding_no_mitm ,mem_le_pres_auth 
+
+module_le_set_noinputnooutput:
+3bb4 70445403 jam flag_iocap_noinputnooutput ,mem_le_pres_iocap 
+3bb5 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_le_set_pairing_mode_lagacy_just_work:
+3bb6 70445605 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+3bb7 20203bb4 branch module_le_set_noinputnooutput 
+
+module_le_set_pairing_mode_lagacy_passkey:
+3bb8 70445605 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+
+module_le_set_displayonly:
+3bb9 70445400 jam flag_iocap_displayonly ,mem_le_pres_iocap 
+3bba 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_le_set_adv_data:
+3bbb 68008b04 fetch 1 ,mem_module_uart_len 
+3bbc 1fe67c1f sub pdata ,31 ,null 
+3bbd 24213c17 nbranch module_hci_event_receive_invalid_cmd ,positive 
+3bbe 6000c36f store 1 ,mem_le_adv_data_len 
+3bbf 1fe27200 copy pdata ,loopcnt 
+3bc0 1a220600 copy rega ,contru 
+3bc1 d8a04370 arg mem_le_adv_data ,contw 
+3bc2 204066ea call uart_copy_rx_bytes_fast 
+3bc3 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_le_set_scan_data:
+3bc4 68008b04 fetch 1 ,mem_module_uart_len 
+3bc5 1fe67c1f sub pdata ,31 ,null 
+3bc6 24213c17 nbranch module_hci_event_receive_invalid_cmd ,positive 
+3bc7 6000c38f store 1 ,mem_le_scan_data_len 
+3bc8 1fe27200 copy pdata ,loopcnt 
+3bc9 1a220600 copy rega ,contru 
+3bca d8a04390 arg mem_le_scan_data ,contw 
+3bcb 204066ea call uart_copy_rx_bytes_fast 
+3bcc 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_le_send_conn_update_req:
+3bcd 68014682 fetch 2 ,mem_ui_state_map 
+3bce c304bc17 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+3bcf 68008b04 fetch 1 ,mem_module_uart_len 
+3bd0 c0843c17 bne 0x08 ,module_hci_event_receive_invalid_cmd 
+3bd1 1a220600 copy rega ,contru 
+3bd2 e8640000 ifetch 8 ,contru 
+3bd3 60044496 store 8 ,mem_le_interval_min 
+3bd4 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+3bd5 20407d8f call ui_ipc_send_cmd 
+3bd6 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_le_adv_parameter:
+3bd7 e8610000 ifetch 2 ,contru 
+3bd8 60014482 store 2 ,mem_le_adv_interval 
+3bd9 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_le_start_pairing:
+3bda 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+3bdb 203a3c17 branch module_hci_event_receive_invalid_cmd ,blank 
+3bdc 6800c4c4 fetch 1 ,mem_le_pairing_state 
+3bdd c0803c17 bne flag_le_pairing_null ,module_hci_event_receive_invalid_cmd 
+3bde 6800c4c5 fetch 1 ,mem_le_enc_state 
+3bdf c0803c17 bne flag_le_enc_null ,module_hci_event_receive_invalid_cmd 
+3be0 20407e25 call check_51cmd_le_smp_sec_req 
+3be1 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_wake_gpio:
+3be2 68008b04 fetch 1 ,mem_module_uart_len 
+3be3 c082bc17 bne 5 ,module_hci_event_receive_invalid_cmd 
+3be4 e8608000 ifetch 1 ,contru 
+3be5 6000c6a2 store 1 ,mem_module_mcu_wake_pin 
+3be6 e8620000 ifetch 4 ,contru 
+3be7 600246a3 store 4 ,mem_module_mcu_wake_delay_us 
+3be8 6808c6a2 fetcht 1 ,mem_module_mcu_wake_pin 
+3be9 2040680e call gpio_config_output 
+3bea 20403cbc call module_set_mcu_wake_pin_low 
+3beb 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_tx_power:
+3bec 68008b04 fetch 1 ,mem_module_uart_len 
+3bed c080bc17 bne 0x01 ,module_hci_event_receive_invalid_cmd 
+3bee e8608000 ifetch 1 ,contru 
+3bef 6000c1de store 1 ,mem_tx_power 
+3bf0 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_le_confirm_gkey:
+3bf1 e8608000 ifetch 1 ,contru 
+3bf2 c000bbfa beq 0x01 ,module_hci_cmd_le_confirm_gkey_fail 
+3bf3 6800c4c1 fetch 1 ,mem_le_secure_connect_state 
+3bf4 c001bbf8 beq le_sc_stat_send_public_key ,module_hci_cmd_le_confirm_gkey_ok 
+3bf5 c0033bf8 beq le_sc_stat_receive_dhkey ,module_hci_cmd_le_confirm_gkey_ok 
+3bf6 c003bbf8 beq le_sc_stat_wait_confirm_gkey ,module_hci_cmd_le_confirm_gkey_ok 
+3bf7 20203c17 branch module_hci_event_receive_invalid_cmd 
+
+module_hci_cmd_le_confirm_gkey_ok:
+3bf8 7044c201 jam flag_le_sc_confrim_gkey_ok ,mem_le_sc_confirm_gkey_flag 
+3bf9 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_le_confirm_gkey_fail:
+3bfa 20405b53 call le_send_pairing_confirm_value_failed 
+3bfb 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_reject_justwork_flag:
+3bfc 68008b04 fetch 1 ,mem_module_uart_len 
+3bfd c080bc17 bne 0x01 ,module_hci_event_receive_invalid_cmd 
+3bfe 20403c1a call module_hci_event_receive_valid_cmd 
+3bff e8608000 ifetch 1 ,contru 
+3c00 203a60cb branch classic_bt_clr_reject_justwork_flag ,blank 
+3c01 202060c9 branch classic_bt_set_reject_justwork_flag 
+
+module_hci_cmd_reset_chip:
+3c02 20403c1a call module_hci_event_receive_valid_cmd 
+3c03 20407f9e call wait_uarttx 
+3c04 70801001 jam 0x01 ,core_reset 
+3c05 20202a8e branch loop 
+
+module_hci_cmd_le_set_fixed_passkey:
+3c06 68008b04 fetch 1 ,mem_module_uart_len 
+3c07 c0003c17 beq 0 ,module_hci_event_receive_invalid_cmd 
+3c08 e8608000 ifetch 1 ,contru 
+3c09 203a3c13 branch module_hci_cmd_le_set_random_passkey ,blank 
+3c0a 68008b04 fetch 1 ,mem_module_uart_len 
+3c0b c082bc17 bne 5 ,module_hci_event_receive_invalid_cmd 
+3c0c e8620000 ifetch 4 ,contru 
+3c0d d84f4240 arg 1000000 ,temp 
+3c0e 98467c00 isub temp ,null 
+3c0f 20213c17 branch module_hci_event_receive_invalid_cmd ,positive 
+3c10 600244c7 store 4 ,mem_le_tk 
+3c11 2040580c call le_set_config_fixed_tk 
+3c12 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_le_set_random_passkey:
+3c13 2040580e call le_clr_config_fixed_tk 
+3c14 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_test_cmde_close_lpm:
+3c15 70409100 jam 0 ,mem_lpm_mode 
+3c16 20203c1a branch module_hci_event_receive_valid_cmd 
+
+module_hci_event_receive_invalid_cmd:
+3c17 d8400001 arg 1 ,temp 
+3c18 da200000 arg 0 ,rega 
+3c19 20203c25 branch module_hci_event_set_cmd 
+
+module_hci_event_receive_valid_cmd:
+3c1a d8400000 arg 0 ,temp 
+3c1b da200000 arg 0 ,rega 
+3c1c 20203c25 branch module_hci_event_set_cmd 
+
+module_hci_event_spp_connect:
+3c1d 700b0300 jam hci_event_spp_conn_rep ,mem_module_uart_opcode 
+3c1e 20203c49 branch module_hci_event_enter_standby_mode_len0 
+
+module_hci_event_le_connect:
+3c1f 700b0302 jam hci_event_le_conn_rep ,mem_module_uart_opcode 
+3c20 20203c49 branch module_hci_event_enter_standby_mode_len0 
+
+module_hci_event_spp_disconnect:
+3c21 700b0303 jam hci_event_spp_dis_rep ,mem_module_uart_opcode 
+3c22 20203c49 branch module_hci_event_enter_standby_mode_len0 
+
+module_hci_event_le_disconnect:
+3c23 700b0305 jam hci_event_le_dis_rep ,mem_module_uart_opcode 
+3c24 20203c49 branch module_hci_event_enter_standby_mode_len0 
+
+module_hci_event_set_cmd:
+3c25 68008b03 fetch 1 ,mem_module_uart_opcode 
+3c26 1fe22600 copy pdata ,regc 
+3c27 700b0306 jam hci_event_cmd_res ,mem_module_uart_opcode 
+3c28 58000002 setarg 2 
+3c29 9a20fe00 iadd rega ,pdata 
+3c2a 20403ca7 call module_hci_prepare_tx 
+3c2b 1a627e00 copy regc ,pdata 
+3c2c e1408000 istore 1 ,contwu 
+3c2d e1488000 istoret 1 ,contwu 
+3c2e 1a227200 copy rega ,loopcnt 
+3c2f 1a420c00 copy regb ,contr 
+3c30 204066e4 call uart_copy_tx_bytes 
+3c31 202066c5 branch uartd_send 
+
+module_hci_event_receive_spp_data:
+3c32 2040397f call module_spp_clear_last_transmite_clock 
+3c33 700b0307 jam hci_event_spp_data_rep ,mem_module_uart_opcode 
+3c34 680084ff fetch 1 ,mem_current_length 
+3c35 207a0000 rtn blank 
+3c36 20403ca7 call module_hci_prepare_tx 
+3c37 680084ff fetch 1 ,mem_current_length 
+3c38 1fe27200 copy pdata ,loopcnt 
+3c39 68010501 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+3c3a 1fe20c00 copy pdata ,contr 
+3c3b 204066d1 call uart_copy_tx_bytes_fast 
+3c3c 202066c5 branch uartd_send 
+
+module_hci_event_receive_le_data:
+3c3d 700b0308 jam hci_event_le_data_rep ,mem_module_uart_opcode 
+3c3e 6800c6b6 fetch 1 ,mem_module_le_rx_data_len 
+3c3f 1fe27200 icopy loopcnt 
+3c40 1fe0fe02 increase 2 ,pdata 
+3c41 20403ca7 call module_hci_prepare_tx 
+3c42 680146b9 fetch 2 ,mem_module_le_rx_data_handle 
+3c43 e1410000 istore 2 ,contwu 
+3c44 680146b7 fetch 2 ,mem_module_le_rx_data_address 
+3c45 1fe20c00 icopy contr 
+3c46 204066d1 call uart_copy_tx_bytes_fast 
+3c47 202066c5 branch uartd_send 
+
+module_hci_event_enter_standby_mode:
+3c48 700b0309 jam hci_event_standby_rep ,mem_module_uart_opcode 
+
+module_hci_event_enter_standby_mode_len0:
+3c49 58000000 setarg 0 
+3c4a 20403ca7 call module_hci_prepare_tx 
+3c4b 202066c5 branch uartd_send 
+
+module_hci_event_status_res:
+3c4c 700b030a jam hci_event_status_res ,mem_module_uart_opcode 
+3c4d 58000001 setarg 1 
+3c4e 20403ca7 call module_hci_prepare_tx 
+3c4f 20403c5d call module_hci_read_bt_status 
+3c50 68014682 fetch 2 ,mem_ui_state_map 
+3c51 d8e00002 arg ui_state_bt_hid_conn ,queue 
+3c52 afefffff qisolate1 pdata 
+3c53 79208403 setflag true ,3 ,temp 
+3c54 d8e00009 arg ui_state_ble_connected ,queue 
+3c55 afefffff qisolate1 pdata 
+3c56 79208405 setflag true ,5 ,temp 
+3c57 6800c682 fetch 1 ,mem_ui_state_map 
+3c58 d8e00004 arg ui_state_bt_spp_conn ,queue 
+3c59 afefffff qisolate1 pdata 
+3c5a 79208404 setflag true ,4 ,temp 
+3c5b e1488000 istoret 1 ,contwu 
+3c5c 202066c5 branch uartd_send 
+
+module_hci_read_bt_status:
+3c5d d8400000 arg 0 ,temp 
+3c5e 6800c093 fetch 1 ,mem_scan_mode 
+3c5f d8e00000 arg inq_scan_mode ,queue 
+3c60 afefffff qisolate1 pdata 
+3c61 79208400 setflag true ,0 ,temp 
+3c62 d8e00001 arg page_scan_mode ,queue 
+3c63 afefffff qisolate1 pdata 
+3c64 79208401 setflag true ,1 ,temp 
+3c65 6800c36e fetch 1 ,mem_le_adv_enable 
+3c66 d8e00000 arg 0 ,queue 
+3c67 afefffff qisolate1 pdata 
+3c68 79208402 setflag true ,2 ,temp 
+3c69 20600000 rtn 
+
+module_hci_event_store_device:
+3c6a 700b030d jam hci_event_nvram_rep ,mem_module_uart_opcode 
+3c6b 6800c217 fetch 1 ,mem_nv_data_number 
+3c6c 1feffe22 mul32 pdata ,34 ,pdata 
+3c6d 1fe27200 icopy loopcnt 
+3c6e 20403ca7 call module_hci_prepare_tx 
+3c6f 68014215 fetch 2 ,mem_nv_data_ptr 
+3c70 1fe20c00 icopy contr 
+3c71 204066d1 call uart_copy_tx_bytes_fast 
+3c72 202066c5 branch uartd_send 
+
+module_hci_event_gkey_generate:
+3c73 700b030e jam hci_event_gkey ,mem_module_uart_opcode 
+3c74 58000004 setarg 4 
+3c75 20403ca7 call module_hci_prepare_tx 
+3c76 680209ba fetch 4 ,mem_gkey 
+3c77 e1420000 istore 4 ,contwu 
+3c78 202066c5 branch uartd_send 
+
+module_hci_event_invalid_packet:
+3c79 700b030f jam hci_event_invalid_packet ,mem_module_uart_opcode 
+3c7a 68110112 hfetch 2 ,core_uart_rxitems 
+3c7b d84000ff arg 0xff ,temp 
+3c7c 20407fdd call not_greater_than 
+3c7d 1fe27200 copy pdata ,loopcnt 
+3c7e 20403ca7 call module_hci_prepare_tx 
+3c7f 204066cb call uartd_prepare_rx 
+3c80 20406703 call uart_copy_rx2tx 
+3c81 202066c5 branch uartd_send 
+
+module_hci_event_passkey_entry_mode:
+3c82 700b0310 jam hci_event_get_passkey ,mem_module_uart_opcode 
+3c83 20203c49 branch module_hci_event_enter_standby_mode_len0 
+
+module_hci_event_le_tk:
+3c84 700b0311 jam hci_event_le_tk ,mem_module_uart_opcode 
+3c85 58000004 setarg 4 
+3c86 20403ca7 call module_hci_prepare_tx 
+3c87 680244c7 fetch 4 ,mem_le_tk 
+3c88 e1420000 istore 4 ,contwu 
+3c89 202066c5 branch uartd_send 
+
+module_hci_event_le_pairing_fail:
+3c8a da200180 arg flag_ble_pairing_fail ,rega 
+3c8b 20203c91 branch module_hci_event_pairing_completed 
+
+module_hci_event_le_pairing_success:
+3c8c da200080 arg flag_ble_pairing_success ,rega 
+3c8d 20203c91 branch module_hci_event_pairing_completed 
+
+module_hci_event_bt_pairing_fail:
+3c8e da200101 arg flag_bt_pairing_fail ,rega 
+3c8f 20203c91 branch module_hci_event_pairing_completed 
+
+module_hci_event_bt_pairing_success:
+3c90 da200001 arg flag_bt_pairing_success ,rega 
+
+module_hci_event_pairing_completed:
+3c91 70466100 jam 0 ,mem_flag_mode_ssp_pin 
+3c92 700b0314 jam hci_event_le_pairing_state ,mem_module_uart_opcode 
+3c93 58000002 setarg 2 
+3c94 20403ca7 call module_hci_prepare_tx 
+3c95 1a227e00 copy rega ,pdata 
+3c96 e1410000 istore 2 ,contwu 
+3c97 202066c5 branch uartd_send 
+
+module_hci_event_pause_enc:
+3c98 da600000 arg flag_event_pause_enc ,regc 
+3c99 20203c9b branch module_hci_event_enc 
+
+module_hci_event_start_enc:
+3c9a da600001 arg flag_event_start_enc ,regc 
+
+module_hci_event_enc:
+3c9b 700b0315 jam hci_event_le_encryption_state ,mem_module_uart_opcode 
+3c9c 58000001 setarg 1 
+3c9d 20403ca7 call module_hci_prepare_tx 
+3c9e 1a627e00 copy regc ,pdata 
+3c9f e1408000 istore 1 ,contwu 
+3ca0 202066c5 branch uartd_send 
+
+module_hci_event_le_gkey:
+3ca1 700b031d jam hci_event_le_gkey ,mem_module_uart_opcode 
+3ca2 58000004 setarg 4 
+3ca3 20403ca7 call module_hci_prepare_tx 
+3ca4 680209ba fetch 4 ,mem_gkey 
+3ca5 e1420000 istore 4 ,contwu 
+3ca6 202066c5 branch uartd_send 
+
+module_hci_prepare_tx:
+3ca7 700b0202 jam 0x02 ,mem_module_uart_cmd 
+3ca8 60008b04 store 1 ,mem_module_uart_len 
+3ca9 600c0aa2 storet 8 ,mem_temp 
+3caa 44f1401c bpatch patch1c_2 ,mem_patch1c 
+3cab 20403cb1 call module_set_mcu_wake_pin_high_delay 
+3cac 680c0aa2 fetcht 8 ,mem_temp 
+3cad 204066c2 call uartd_prepare_tx 
+3cae 68018b02 fetch 3 ,mem_module_uart_cmd 
+3caf e1418000 istore 3 ,contwu 
+3cb0 20600000 rtn 
+
+module_set_mcu_wake_pin_high_delay:
+3cb1 20403cba call module_check_mcu_wake_pin_high 
+3cb2 20608000 rtn true 
+
+module_set_mcu_wake_pin_h_delay:
+3cb3 20403cb8 call module_set_mcu_wake_pin_high 
+3cb4 680246a3 fetch 4 ,mem_module_mcu_wake_delay_us 
+3cb5 1feb7e00 rshift2 pdata ,pdata 
+3cb6 207a0000 rtn blank 
+3cb7 20203cbe branch delay 
+
+module_set_mcu_wake_pin_high:
+3cb8 6808c6a2 fetcht 1 ,mem_module_mcu_wake_pin 
+3cb9 20206829 branch gpio_out_active 
+
+module_check_mcu_wake_pin_high:
+3cba 6808c6a2 fetcht 1 ,mem_module_mcu_wake_pin 
+3cbb 2020681b branch gpio_check_active 
+
+module_set_mcu_wake_pin_low:
+3cbc 6808c6a2 fetcht 1 ,mem_module_mcu_wake_pin 
+3cbd 20206825 branch gpio_out_inactive 
+
+delay:
+3cbe 1fe0ffff increase -1 ,pdata 
+3cbf 20000026 nop 38 
+3cc0 243a3cbe nbranch delay ,blank 
+3cc1 20600000 rtn 
+
+module_le_receive_data:
+3cc2 20403ad4 call module_check_ble_encrypt_state 
+3cc3 20740000 rtn user 
+3cc4 1a227e00 copy rega ,pdata 
+3cc5 600146b7 store 2 ,mem_module_le_rx_data_address 
+3cc6 1a427e00 copy regb ,pdata 
+3cc7 6000c6b6 store 1 ,mem_module_le_rx_data_len 
+3cc8 68010478 fetch 2 ,mem_le_att_handle 
+3cc9 680946bb fetcht 2 ,mem_module_data_write_handle 
+3cca 98467c00 isub temp ,null 
+3ccb 2022bccf branch module_le_receive_data_ok ,zero 
+3ccc 680946bd fetcht 2 ,mem_module_data_write_handle2 
+3ccd 98467c00 isub temp ,null 
+3cce 24628000 nrtn zero 
+
+module_le_receive_data_ok:
+3ccf 600146b9 store 2 ,mem_module_le_rx_data_handle 
+3cd0 20203c3d branch module_hci_event_receive_le_data 
+
+module_exit_sniff:
+3cd1 6800c6bf fetch 1 ,mem_module_flag 
+3cd2 c3828000 rtnbit1 moudle_task_unsniff 
+3cd3 20403cf0 call module_set_unsniff_task_flag 
+3cd4 2020340c branch app_bt_sniff_exit 
+
+module_set_lpm_mult_2:
+3cd5 70417202 jam 2 ,mem_lpm_mult 
+3cd6 20600000 rtn 
+
+module_bb_event_timer:
+3cd7 20203cd8 branch module_read_vdd_timer 
+
+module_read_vdd_timer:
+3cd8 6800c6b2 fetch 1 ,mem_module_read_vdd_flag 
+3cd9 207a0000 rtn blank 
+3cda 6800c6b3 fetch 1 ,mem_module_read_vdd_count 
+3cdb 207a0000 rtn blank 
+3cdc 1fe0ffff increase -1 ,pdata 
+3cdd 6000c6b3 store 1 ,mem_module_read_vdd_count 
+3cde 247a0000 nrtn blank 
+3cdf 7046b30a jam flag_module_read_vdd_count ,mem_module_read_vdd_count 
+3ce0 204068eb call adc_set_mode 
+3ce1 20406908 call vdd_calculate_by_mode 
+3ce2 1fe6fc64 div pdata ,0x64 
+3ce3 20407f86 call wait_div_end 
+3ce4 1807fe00 quotient pdata 
+3ce5 18070400 remainder temp 
+3ce6 6000c6b4 store 1 ,mem_module_vdd_quotient 
+3ce7 6008c6b5 storet 1 ,mem_module_vdd_remainder 
+3ce8 20600000 rtn 
+
+module_control_air_flow:
+3ce9 20407fb4 call check_uart_tx_buff 
+3cea 202133d9 branch app_l2cap_flow_control_enable ,positive 
+3ceb 202033db branch app_l2cap_flow_control_disable 
+
+module_set_sniff_task_flag:
+3cec d8e00006 arg moudle_task_sniff ,queue 
+3ced 20203cfc branch module_set_state 
+
+module_clear_sniff_task_flag:
+3cee d8e00006 arg moudle_task_sniff ,queue 
+3cef 20203cf8 branch module_clr_state 
+
+module_set_unsniff_task_flag:
+3cf0 d8e00005 arg moudle_task_unsniff ,queue 
+3cf1 20203cfc branch module_set_state 
+
+module_clear_unsniff_task_flag:
+3cf2 d8e00005 arg moudle_task_unsniff ,queue 
+3cf3 20203cf8 branch module_clr_state 
+
+module_set_le_tx_data_flag:
+3cf4 d8e00004 arg module_flag_ble_data_finish ,queue 
+3cf5 20203cfc branch module_set_state 
+
+module_clear_le_tx_data_flag:
+3cf6 d8e00004 arg module_flag_ble_data_finish ,queue 
+3cf7 20203cf8 branch module_clr_state 
+
+module_clr_state:
+3cf8 6800c6bf fetch 1 ,mem_module_flag 
+3cf9 f93ffe00 qset0 pdata 
+3cfa 6000c6bf store 1 ,mem_module_flag 
+3cfb 20600000 rtn 
+
+module_set_state:
+3cfc 6800c6bf fetch 1 ,mem_module_flag 
+3cfd f9207e00 qset1 pdata 
+3cfe 6000c6bf store 1 ,mem_module_flag 
+3cff 20600000 rtn 
+
+mouse_init:
+3d00 20403d39 call mouse_setting_config 
+3d01 2040640f call spi_ncs_enable 
+3d02 204040c6 call mouse_init_sunt 
+3d03 20403d66 call mouse_dpi_config 
+3d04 20406411 call spi_ncs_disable 
+3d05 20758000 rtn wake 
+3d06 20403d16 call mouse_cheak_enable_usb 
+3d07 20403d19 call mouse_cb_fuction 
+3d08 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3d09 c3880000 rtnbit1 mouse_enable_usb 
+3d0a 20403d4e call mouse_wakeup_from_power 
+3d0b c6130000 rtnmark1 mark_24g 
+3d0c 68014682 fetch 2 ,mem_ui_state_map 
+3d0d c28642b0 bbit1 ui_state_btn_down ,mouse_start_discovery 
+3d0e 202042a2 branch mouse_check_reconn_target 
+
+mouse_delay_4s:
+3d0f 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3d10 c40d8000 rtnbit0 mouse_enable_init_delay 
+3d11 df200014 arg 20 ,loopcnt 
+
+mouse_delay_20ms:
+3d12 58030d40 setarg 200000 
+3d13 20402a8f call sleep 
+3d14 c2007ec1 loop delay_10ms 
+3d15 20600000 rtn 
+
+mouse_cheak_enable_usb:
+3d16 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3d17 c4080000 rtnbit0 mouse_enable_usb 
+3d18 202048ea branch usb_init 
+
+mouse_cb_fuction:
+3d19 5800416d setarg mouse_le 
+3d1a 600141ef store 2 ,mem_cb_le_process 
+3d1b 58003f77 setarg mouse_send_process 
+3d1c 600141f1 store 2 ,mem_cb_bt_process 
+3d1d 58003ebb setarg mouse_process_lpm_before 
+3d1e 600141ed store 2 ,mem_cb_before_lpm 
+3d1f 5800417c setarg mouse_priority_bb_event 
+3d20 600141f5 store 2 ,mem_cb_bb_event_process 
+3d21 58003de3 setarg mouse_idle 
+3d22 600141f3 store 2 ,mem_cb_idle_process 
+3d23 58003eb3 setarg mouse_before_hibernate 
+3d24 600141eb store 2 ,mem_cb_before_hibernate 
+3d25 58003d5b setarg le_mouse_bb_event_connect_complete 
+3d26 600141f9 store 2 ,mem_cb_att_write 
+3d27 20402c7a call g24_head_ptr2regc 
+3d28 58004401 setarg mouse_g24_package_data 
+3d29 1a608ad8 add regc ,offset_24g_cb_data ,contw 
+3d2a e0a10000 istore 2 ,contw 
+3d2b 58004406 setarg mouse_g24_enter_lpm 
+3d2c 1a608ada add regc ,offset_24g_cb_lpm_prepare ,contw 
+3d2d e0a10000 istore 2 ,contw 
+3d2e 58003ebf setarg mouse_lpm_before_common 
+3d2f 1a608adc add regc ,offset_24g_cb_lpm_before ,contw 
+3d30 e0a10000 istore 2 ,contw 
+3d31 580041f9 setarg mouse_bb_event_timer 
+3d32 600141fd store 2 ,mem_cb_event_timer 
+3d33 58003d36 setarg mouse_spi_write_flash_cb 
+3d34 60014201 store 2 ,mem_cb_spi_flash_write_complate 
+3d35 20600000 rtn 
+
+mouse_spi_write_flash_cb:
+
+mouse_spi_init:
+3d36 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3d37 c30964d7 bbit0 mouse_enable_spi2 ,spid_init 
+3d38 202064da branch spid_init2 
+
+mouse_setting_config:
+3d39 20758000 rtn wake 
+3d3a 20402c9d call g24_set_device_addr 
+3d3b 20403e6e call mouse_gpio_init 
+3d3c 20403e1e call mouse_param_init 
+3d3d 20403e54 call mouse_adc_init 
+3d3e 20405810 call le_set_config_fixed_ltk 
+3d3f 20405839 call le_set_justwork 
+3d40 2040582c call le_set_fixed_ltk 
+3d41 20405818 call le_set_config_read_authentication 
+3d42 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3d43 c28a3d46 bbit1 mouse_enable_eeprom ,mouse_init_iic 
+3d44 c289c414 bbit1 mouse_enable_flash ,mouse_load_flash_info_cheak 
+3d45 20600000 rtn 
+
+mouse_init_iic:
+3d46 2040659c call iic_init_390k 
+3d47 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3d48 2feffe19 isolate1 mouse_enable_2k_eeprom ,pdata 
+3d49 2440e5c2 ncall clear_eeprom_size_2k ,true 
+3d4a 2040443f call mouse_load_eeprom_dpi 
+3d4b 20403dc9 call mouse_init_environment 
+3d4c 204041aa call mouse_set_24g_addr_eeprom 
+3d4d 202065df branch iicd_read_eep_data 
+
+mouse_wakeup_from_power:
+3d4e 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3d4f c30f3d53 bbit0 mouse_enable_wakeup_from_power ,mouse_wakeup_no_from_power 
+3d50 68008abd fetch 1 ,mem_wakup_from_power_flag 
+3d51 2fec0003 isolate0 gpio_latch ,pdata 
+3d52 24608000 nrtn true 
+
+mouse_wakeup_no_from_power:
+3d53 6800c71f fetch 1 ,mem_reconn_times_init 
+3d54 6000c71e store 1 ,mem_reconn_times 
+3d55 6800c6f5 fetch 1 ,mem_config_function_enable 
+3d56 c3830000 rtnbit1 enable_select_device_by_switch 
+
+mouse_start_24g_mode:
+3d57 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3d58 c4088000 rtnbit0 mouse_enable_24g 
+3d59 c28eaee4 bbit1 mouse_enable_auto_24g_paring ,g24_auto_pair_start 
+3d5a 20202f2c branch g24_check_51cmd_start_24g 
+
+le_mouse_bb_event_connect_complete:
+3d5b 68008478 fetch 1 ,mem_le_att_handle 
+3d5c 1fe67e1a sub pdata ,26 ,pdata 
+3d5d 24628000 nrtn zero 
+3d5e 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+3d5f 20407d8f call ui_ipc_send_cmd 
+
+mouse_le_write_enable:
+3d60 d8e00000 arg write_req_enable_flag ,queue 
+3d61 202041b9 branch mouse_le_enable_connect_flag 
+
+mouse_dpi_up:
+3d62 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+3d63 c1008000 rtneq dpi_button_state_up 
+3d64 7046b601 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+3d65 20600000 rtn 
+
+mouse_dpi_config:
+3d66 6800c6e1 fetch 1 ,mem_config_sensor_motion 
+3d67 1fe17e0f and pdata ,0x0f ,pdata 
+3d68 6000c77a store 1 ,mem_mouse_dpi 
+3d69 20203d80 branch mouse_seting_dpi + 2 
+
+mouse_dpi_cheak:
+3d6a 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+3d6b 2040681d call gpio_get_bit 
+3d6c 2420bd62 nbranch mouse_dpi_up ,true 
+
+mouse_dpi_down:
+3d6d 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+3d6e c1000000 rtneq dpi_button_state_down 
+3d6f 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+3d70 6800c77a fetch 1 ,mem_mouse_dpi 
+3d71 1fe0fe01 increase 1 ,pdata 
+3d72 1fe17e03 and pdata ,0x03 ,pdata 
+3d73 6000c77a store 1 ,mem_mouse_dpi 
+3d74 20403d7e call mouse_seting_dpi 
+3d75 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3d76 c28a443b bbit1 mouse_enable_eeprom ,mouse_store_eerpom_dpi 
+3d77 c289bd79 bbit1 mouse_enable_flash ,mouse_before_store_flash_cpi 
+3d78 20600000 rtn 
+
+mouse_before_store_flash_cpi:
+3d79 d840001e arg mouse_spi2_clk_gpio ,temp 
+3d7a 2040680e call gpio_config_output 
+3d7b d840001f arg mouse_spi2_sdio_gpio ,temp 
+3d7c 2040680e call gpio_config_output 
+3d7d 20204435 branch mouse_store_flash_device_info 
+
+mouse_seting_dpi:
+3d7e 44f1c01c bpatch patch1c_3 ,mem_patch1c 
+3d7f 2040424a call mosue_dpi_led_blink_init 
+3d80 6800c6e0 fetch 1 ,mem_config_sensor_type 
+3d81 c002bdaa beq p3610 ,mouse_seting_3610_dpi 
+3d82 c0023d96 beq p3212 ,mouse_seting_3212_dpi 
+3d83 6800c77a fetch 1 ,mem_mouse_dpi 
+3d84 c0003d8a beq mouse_dpi_level1 ,mouse_set_cpi1 
+3d85 c000bd88 beq mouse_dpi_level2 ,mouse_set_cpi2 
+3d86 c0013d8c beq mouse_dpi_level3 ,mouse_set_cpi3 
+3d87 c001bd8e beq mouse_dpi_level4 ,mouse_set_cpi4 
+
+mouse_set_cpi2:
+3d88 6800c780 fetch 1 ,mem_320x_dpi_2 
+3d89 20203dbe branch mouse_p3205_dpi 
+
+mouse_set_cpi1:
+3d8a 6800c77f fetch 1 ,mem_320x_dpi_1 
+3d8b 20203dbe branch mouse_p3205_dpi 
+
+mouse_set_cpi3:
+3d8c 6800c781 fetch 1 ,mem_320x_dpi_3 
+3d8d 20203dbe branch mouse_p3205_dpi 
+
+mouse_set_cpi4:
+3d8e 6800c782 fetch 1 ,mem_320x_dpi_4 
+3d8f 20203dbe branch mouse_p3205_dpi 
+
+moue_seting_cpi_count:
+3d90 6800c6e0 fetch 1 ,mem_config_sensor_type 
+3d91 c1030000 rtneq p3065_xy 
+3d92 6800c6b5 fetch 1 ,mem_mouse_cpi_count 
+3d93 1fe0fe01 increase 1 ,pdata 
+3d94 6000c6b5 store 1 ,mem_mouse_cpi_count 
+3d95 20600000 rtn 
+
+mouse_seting_3212_dpi:
+3d96 6800c77a fetch 1 ,mem_mouse_dpi 
+3d97 c0003d9d beq mouse_dpi_level1 ,mouse_set_p3212_cpi1 
+3d98 c000bd9b beq mouse_dpi_level2 ,mouse_set_p3212_cpi2 
+3d99 c0013d9f beq mouse_dpi_level3 ,mouse_set_p3212_cpi3 
+3d9a c001bda1 beq mouse_dpi_level4 ,mouse_set_p3212_cpi4 
+
+mouse_set_p3212_cpi2:
+3d9b 6800c784 fetch 1 ,mem_3212_dpi_2 
+3d9c 20203da2 branch mouse_p3212_dpi 
+
+mouse_set_p3212_cpi1:
+3d9d 6800c783 fetch 1 ,mem_3212_dpi_1 
+3d9e 20203da2 branch mouse_p3212_dpi 
+
+mouse_set_p3212_cpi3:
+3d9f 6800c785 fetch 1 ,mem_3212_dpi_3 
+3da0 20203da2 branch mouse_p3212_dpi 
+
+mouse_set_p3212_cpi4:
+3da1 6800c786 fetch 1 ,mem_3212_dpi_4 
+
+mouse_p3212_dpi:
+3da2 6000c6b5 store 1 ,mem_mouse_cpi_count 
+3da3 1fed7e00 lshift8 pdata ,pdata 
+3da4 1fe22200 copy pdata ,rega 
+3da5 1fe0fe0d add pdata ,mouse_p3212_dpi_xaddress ,pdata 
+3da6 20406413 call twspi_write 
+3da7 1a227e00 copy rega ,pdata 
+3da8 1fe0fe0e add pdata ,mouse_p3212_dpi_yaddress ,pdata 
+3da9 20206413 branch twspi_write 
+
+mouse_seting_3610_dpi:
+3daa 6800c77a fetch 1 ,mem_mouse_dpi 
+3dab c0003db1 beq mouse_dpi_level1 ,mouse_set_p3610_cpi1 
+3dac c000bdaf beq mouse_dpi_level2 ,mouse_set_p3610_cpi2 
+3dad c0013db3 beq mouse_dpi_level3 ,mouse_set_p3610_cpi3 
+3dae c001bdb5 beq mouse_dpi_level4 ,mouse_set_p3610_cpi4 
+
+mouse_set_p3610_cpi2:
+3daf 6800c788 fetch 1 ,mem_3610_dpi_2 
+3db0 20203db6 branch mouse_p3610_dpi 
+
+mouse_set_p3610_cpi1:
+3db1 6800c787 fetch 1 ,mem_3610_dpi_1 
+3db2 20203db6 branch mouse_p3610_dpi 
+
+mouse_set_p3610_cpi3:
+3db3 6800c789 fetch 1 ,mem_3610_dpi_3 
+3db4 20203db6 branch mouse_p3610_dpi 
+
+mouse_set_p3610_cpi4:
+3db5 6800c78a fetch 1 ,mem_3610_dpi_4 
+
+mouse_p3610_dpi:
+3db6 6000c6b5 store 1 ,mem_mouse_cpi_count 
+3db7 204040c0 call mouse_spi_sdio_gpio_pollup 
+3db8 6800c6b5 fetch 1 ,mem_mouse_cpi_count 
+
+mouse_reset_p3610_dpi:
+3db9 1fe0fe80 add pdata ,0x80 ,pdata 
+3dba 1fed7e00 lshift8 pdata ,pdata 
+3dbb 1fe0fe05 add pdata ,mouse_p3610_dpi_address ,pdata 
+3dbc 1fe22200 copy pdata ,rega 
+3dbd 2020415a branch mouse_set_sensor_reg 
+
+mouse_p3205_dpi:
+3dbe 6000c6b5 store 1 ,mem_mouse_cpi_count 
+3dbf 20403d90 call moue_seting_cpi_count 
+3dc0 6800c6b5 fetch 1 ,mem_mouse_cpi_count 
+3dc1 58000006 setarg mouse_dpi_address 
+3dc2 20406414 call twspi_read 
+3dc3 1fe104f8 and pdata ,0xf8 ,temp 
+3dc4 6800c6b5 fetch 1 ,mem_mouse_cpi_count 
+3dc5 9840fe00 iadd temp ,pdata 
+3dc6 1fed7e00 lshift8 pdata ,pdata 
+3dc7 1fe0fe06 add pdata ,mouse_dpi_address ,pdata 
+3dc8 20206413 branch twspi_write 
+
+mouse_init_environment:
+3dc9 204033c4 call app_initflag_check 
+3dca 2022c316 branch mouse_eeprom_load_recon_info ,zero 
+3dcb 2040441c call mouse_ble_init_address 
+3dcc 204042e4 call mouse_store_eeprom_device_info 
+3dcd 202033bd branch app_initflag_store 
+
+mouse_24g_pairing_button:
+3dce 68014707 fetch 2 ,mem_24g_pairing_timer_count 
+3dcf 207a0000 rtn blank 
+3dd0 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3dd1 c4088000 rtnbit0 mouse_enable_24g 
+3dd2 c3818000 rtnbit1 mosue_24g_pairing_flag 
+3dd3 c6130000 rtnmark1 mark_24g 
+3dd4 20404083 call mouse_check_key_gpio 
+3dd5 c1838000 rtnne mouse_lmr_button 
+3dd6 20404482 call mouse_devce_led_off 
+3dd7 d8e00003 arg mosue_24g_pairing_flag ,queue 
+3dd8 204043ce call mouse_enable_function_flag 
+3dd9 58000000 setarg 0 
+3dda 600146ae store 2 ,mem_mouse_direct_timer 
+3ddb 6000c6b4 store 1 ,mem_mouse_send_blank_timer 
+3ddc 20403263 call g24_set0_mem_check_dongle_times 
+3ddd 68014682 fetch 2 ,mem_ui_state_map 
+3dde c283c392 bbit1 ui_state_bt_reconnect ,mouse_cancel_reconnect 
+3ddf c284b402 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+3de0 c28033e9 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+3de1 204042ca call mouse_stop_discovery 
+3de2 20202ead branch g24_start_pairing_sm1 
+
+mouse_idle:
+3de3 20403dce call mouse_24g_pairing_button 
+3de4 20407e34 call ui_check_paring_button 
+3de5 20403d6a call mouse_dpi_cheak 
+3de6 20403de9 call mouse_usb_isr 
+3de7 20403ee0 call mouse_wheel_check 
+3de8 20203df7 branch mouse_usb_mode 
+
+mouse_usb_isr:
+3de9 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3dea c4080000 rtnbit0 mouse_enable_usb 
+3deb 204048d3 call usb_isr 
+3dec 202048fd branch usb_offline_state 
+
+mouse_cheak_usb:
+3ded 68108a04 hfetch 1 ,core_usb_addr 
+3dee c303bdf1 bbit0 7 ,mouse_usb_no_exsit 
+3def c283bdf4 bbit1 7 ,mouse_usb_exsit 
+3df0 20600000 rtn 
+
+mouse_usb_no_exsit:
+3df1 6800c6ff fetch 1 ,mem_usb_addr 
+3df2 c4038000 rtnbit0 7 
+3df3 2020659a branch soft_reset_chip 
+
+mouse_usb_exsit:
+3df4 6800c6ff fetch 1 ,mem_usb_addr 
+3df5 c3838000 rtnbit1 7 
+3df6 20204381 branch mouse_stop_bluetooth_mode 
+
+mouse_usb_mode:
+3df7 20403ded call mouse_cheak_usb 
+3df8 68108a04 hfetch 1 ,core_usb_addr 
+3df9 6000c6ff store 1 ,mem_usb_addr 
+3dfa c4038000 rtnbit0 7 
+3dfb 20403e07 call mouse_clkn_check 
+3dfc 680246f9 fetch 4 ,mem_btclk_sensor 
+3dfd 6808c6fd fetcht 1 ,mem_wire_usb_interval 
+3dfe 98408400 iadd temp ,temp 
+3dff 1c427e00 copy clkn_bt ,pdata 
+3e00 98467c00 isub temp ,null 
+3e01 24610000 nrtn positive 
+3e02 600246f9 store 4 ,mem_btclk_sensor 
+3e03 20403f97 call mouse_motion 
+3e04 24740000 nrtn user 
+3e05 700d3804 jam 4 ,mem_usb_tx_enable 
+3e06 20203e0f branch mouse_wired_to_usb 
+
+mouse_clkn_check:
+3e07 680a46f9 fetcht 4 ,mem_btclk_sensor 
+3e08 1c427e00 copy clkn_bt ,pdata 
+3e09 98467c00 isub temp ,null 
+3e0a 24413e0c ncall mouse_clkn_timeout ,positive 
+3e0b 20600000 rtn 
+
+mouse_clkn_timeout:
+3e0c 58000000 setarg 0 
+3e0d 600246f9 store 4 ,mem_btclk_sensor 
+3e0e 20600000 rtn 
+
+mouse_wired_to_usb:
+3e0f 68008d38 fetch 1 ,mem_usb_tx_enable 
+3e10 c4010000 rtnbit0 2 
+3e11 20203e12 branch mouse_data_push 
+
+mouse_data_push:
+3e12 68108a04 hfetch 1 ,core_usb_addr 
+3e13 c4038000 rtnbit0 7 
+3e14 700d5220 jam usb_ep2_ms ,mem_usb_ep2_data 
+3e15 58000001 setarg ms_report_id 
+3e16 60008d54 store 1 ,mem_usb_mouse_data 
+3e17 6803c69a fetch 7 ,mem_mouse_key 
+3e18 e0a38000 istore 7 ,contw 
+3e19 20600000 rtn 
+
+mouse_enable_clock_qdecoder:
+3e1a 68110050 hfetch 2 ,core_clkoff 
+3e1b 793ffe0b set0 clock_off_qdecoder ,pdata 
+3e1c 60110050 hstore 2 ,core_clkoff 
+3e1d 20600000 rtn 
+
+mouse_param_init:
+3e1e 58008c00 setarg 0x8c00 
+3e1f 60014575 store 2 ,mem_ui_uuid_table 
+3e20 58008e7a setarg 0x8e7a 
+3e21 600144bc store 2 ,mem_ui_le_uuid_table 
+3e22 58002402 setarg 0x2402 
+3e23 600140bd store 2 ,mem_fcomp_mul 
+3e24 58002580 setarg 0x2580 
+3e25 6001c0aa store 3 ,mem_class 
+3e26 70417303 jam 3 ,mem_lpm_mult_timeout 
+3e27 70415608 jam 8 ,mem_lpm_overhead 
+3e28 7046d901 jam dpi_button_state_up ,mem_select_device_button_statue 
+3e29 58000200 setarg 0x0200 
+3e2a 60014154 store 2 ,mem_lpm_interval 
+3e2b 7044a617 jam 0x17 ,mem_le_local_mtu 
+3e2c 7044a817 jam 0x17 ,mem_le_remote_mtu 
+3e2d 58000a77 setarg 0x0a77 
+3e2e 60014212 store 2 ,mem_spi_init_clk 
+3e2f 38000306 setsect 0 ,0x306 
+3e30 38044440 setsect 1 ,0x4440 
+3e31 38090000 setsect 2 ,0x10000 
+3e32 380c4408 setsect 3 ,0x4408 
+3e33 6004c577 store 9 ,mem_all_uuid_16bits 
+3e34 38001224 setsect 0 ,0x1224 
+3e35 38044000 setsect 1 ,0x4000 
+3e36 38080000 setsect 2 ,0x0 
+3e37 e0a28000 istore 5 ,contw 
+3e38 3803ffff setsect 0 ,0x3ffff 
+3e39 3806fe23 setsect 1 ,0x2fe23 
+3e3a 380999d9 setsect 2 ,0x199d9 
+3e3b 380c020d setsect 3 ,0x20d 
+3e3c 60044098 store 8 ,mem_features 
+3e3d 5800012c setarg 0x012c 
+3e3e 60014707 store 2 ,mem_24g_pairing_timer_count 
+3e3f 204057a3 call le_modified_name 
+3e40 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3e41 c40f8000 rtnbit0 mouse_enable_gpio_control_adc_sensor 
+3e42 20403e44 call mouse_sensor_set_angle 
+3e43 20203e4c branch mouse_select_adc 
+
+mouse_sensor_set_angle:
+3e44 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
+3e45 204067fb call gpio_config_input 
+3e46 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
+3e47 2040681d call gpio_get_bit 
+3e48 7046f603 jam mouse_3clk_angle ,mem_config_sensor_angle 
+3e49 20608000 rtn true 
+3e4a 7046f602 jam mouse_12clk_angle ,mem_config_sensor_angle 
+3e4b 20600000 rtn 
+
+mouse_select_adc:
+3e4c 6808c6f8 fetcht 1 ,mem_select_adc_gpio 
+3e4d 204067fb call gpio_config_input 
+3e4e 6808c6f8 fetcht 1 ,mem_select_adc_gpio 
+3e4f 2040681d call gpio_get_bit 
+3e50 70422d00 jam adc_config_vinlpm ,mem_adc_config_flag 
+3e51 20608000 rtn true 
+3e52 70422d02 jam adc_config_gpio ,mem_adc_config_flag 
+3e53 20600000 rtn 
+
+mouse_adc_init:
+3e54 6800c22d fetch 1 ,mem_adc_config_flag 
+3e55 c0003e59 beq adc_config_vinlpm ,mouse_adc_init_data_vinlpm 
+3e56 c000be62 beq adc_config_hvin ,mouse_adc_init_data_hvin 
+3e57 c0013e6b beq adc_config_gpio ,mouse_adc_init_data_io 
+3e58 20203e59 branch mouse_adc_init_data_vinlpm 
+
+mouse_adc_init_data_vinlpm:
+3e59 68094221 fetcht 2 ,mem_2v_adc_vinlpm_data 
+3e5a 68014227 fetch 2 ,mem_3v_adc_vinlpm_data 
+3e5b 98467e00 isub temp ,pdata 
+3e5c 1feffe14 mul32 pdata ,20 ,pdata 
+3e5d 1fe6fc64 div pdata ,100 
+3e5e 20407f86 call wait_div_end 
+3e5f 1807fe00 quotient pdata 
+3e60 600146d0 store 2 ,mem_adc_reference_voltage 
+3e61 20600000 rtn 
+
+mouse_adc_init_data_hvin:
+3e62 6809421f fetcht 2 ,mem_1v_adc_hvin_data 
+3e63 68014225 fetch 2 ,mem_5v_adc_hvin_data 
+3e64 98467e00 isub temp ,pdata 
+3e65 1feffee6 mul32 pdata ,230 ,pdata 
+3e66 1fe6fd90 div pdata ,400 
+3e67 20407f86 call wait_div_end 
+3e68 1807fe00 quotient pdata 
+3e69 600146d0 store 2 ,mem_adc_reference_voltage 
+3e6a 20600000 rtn 
+
+mouse_adc_init_data_io:
+3e6b 68014223 fetch 2 ,mem_1v_adc_io_data 
+3e6c 600146d0 store 2 ,mem_adc_reference_voltage 
+3e6d 20600000 rtn 
+
+mouse_gpio_init:
+3e6e 6808c23a fetcht 1 ,mem_eeprom_wp_gpio 
+3e6f 2040680e call gpio_config_output 
+3e70 204048fb call usb_offline_check_init 
+3e71 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+3e72 204067fb call gpio_config_input 
+3e73 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+3e74 204067fb call gpio_config_input 
+3e75 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+3e76 204067fb call gpio_config_input 
+3e77 6808c6f3 fetcht 1 ,mem_sensor_data_gpio 
+3e78 204067fb call gpio_config_input 
+3e79 6808c6dc fetcht 1 ,mem_sensor_reset_gpio 
+3e7a 2040680e call gpio_config_output 
+3e7b 6808c6e8 fetcht 1 ,mem_whee_a_data_gpio 
+3e7c 204067fb call gpio_config_input 
+3e7d 6808c6e9 fetcht 1 ,mem_whee_b_data_gpio 
+3e7e 204067fb call gpio_config_input 
+3e7f 6808c6ea fetcht 1 ,mem_whee_ta_data_gpio 
+3e80 204067fb call gpio_config_input 
+3e81 6808c6eb fetcht 1 ,mem_whee_tb_data_gpio 
+3e82 204067fb call gpio_config_input 
+3e83 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+3e84 204067fb call gpio_config_input 
+3e85 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+3e86 204067fb call gpio_config_input 
+3e87 6808c6ef fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+3e88 2040680e call gpio_config_output 
+3e89 6808c6f0 fetcht 1 ,mem_config_device1_led_gpio 
+3e8a 2040680e call gpio_config_output 
+3e8b 6808c6f1 fetcht 1 ,mem_config_device2_led_gpio 
+3e8c 2040680e call gpio_config_output 
+3e8d 6808c6f2 fetcht 1 ,mem_config_device3_led_gpio 
+3e8e 2040680e call gpio_config_output 
+3e8f 6808c6f4 fetcht 1 ,mem_dpi_led_gpio 
+3e90 2040680e call gpio_config_output 
+3e91 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+3e92 204067fb call gpio_config_input 
+3e93 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
+3e94 204067fb call gpio_config_input 
+3e95 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+3e96 202067fb branch gpio_config_input 
+
+mouse_wheel_gpio_set_wake:
+3e97 6808c6e8 fetcht 1 ,mem_whee_a_data_gpio 
+3e98 204067dd call gpio_set_wake_by_current_state 
+3e99 6808c6e9 fetcht 1 ,mem_whee_b_data_gpio 
+3e9a 204067dd call gpio_set_wake_by_current_state 
+3e9b 6808c6ea fetcht 1 ,mem_whee_ta_data_gpio 
+3e9c 204067dd call gpio_set_wake_by_current_state 
+3e9d 6808c6eb fetcht 1 ,mem_whee_tb_data_gpio 
+3e9e 202067dd branch gpio_set_wake_by_current_state 
+
+mouse_before_hibernate_wheel_gpio_set:
+3e9f 6808c6e8 fetcht 1 ,mem_whee_a_data_gpio 
+3ea0 20403ea7 call mouse_gpio_set_pupd_by_input 
+3ea1 6808c6e9 fetcht 1 ,mem_whee_b_data_gpio 
+3ea2 20403ea7 call mouse_gpio_set_pupd_by_input 
+3ea3 6808c6ea fetcht 1 ,mem_whee_ta_data_gpio 
+3ea4 20403ea7 call mouse_gpio_set_pupd_by_input 
+3ea5 6808c6eb fetcht 1 ,mem_whee_tb_data_gpio 
+3ea6 20203ea7 branch mouse_gpio_set_pupd_by_input 
+
+mouse_gpio_set_pupd_by_input:
+3ea7 18467cff sub temp ,ui_button_gpio_disable ,null 
+3ea8 20628000 rtn zero 
+3ea9 18410e7f and temp ,0x7f ,queue 
+3eaa 6812011c hfetch 4 ,core_gpio_in 
+3eab afefffff qisolate1 pdata 
+3eac 68120078 hfetch 4 ,core_gpio_pu0 
+3ead f920fe00 qsetflag true ,pdata 
+3eae 60120078 hstore 4 ,core_gpio_pu0 
+3eaf 6812007c hfetch 4 ,core_gpio_pd0 
+3eb0 fd20fe00 nqsetflag true ,pdata 
+3eb1 6012007c hstore 4 ,core_gpio_pd0 
+3eb2 20600000 rtn 
+
+mouse_before_hibernate:
+3eb3 78347c00 enable user 
+3eb4 68120138 hfetch 4 ,0x8138 
+3eb5 79347e1a setflag user ,26 ,pdata 
+3eb6 6012004c hstore 4 ,core_lpm_reg 
+3eb7 20402c21 call lpm_write_ctrl 
+3eb8 20404482 call mouse_devce_led_off 
+3eb9 20403e9f call mouse_before_hibernate_wheel_gpio_set 
+3eba 20203ebf branch mouse_lpm_before_common 
+
+mouse_process_lpm_before:
+3ebb 20403ebf call mouse_lpm_before_common 
+3ebc 680080a0 fetch 1 ,mem_lpm_current_mult 
+3ebd 247a0000 nrtn blank 
+3ebe 202067ed branch gpio_clr_wake 
+
+mouse_lpm_before_common:
+3ebf 20403ee0 call mouse_wheel_check 
+3ec0 d8400019 arg mouse_spi1_clk_gpio ,temp 
+3ec1 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3ec2 2feffe12 isolate1 mouse_enable_spi2 ,pdata 
+3ec3 2040bede call mouse_spi_clk_gpio ,true 
+3ec4 2040680e call gpio_config_output 
+3ec5 204063ee call twspi_disable 
+3ec6 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+3ec7 204067dd call gpio_set_wake_by_current_state 
+3ec8 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+3ec9 204067dd call gpio_set_wake_by_current_state 
+3eca 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+3ecb 204067dd call gpio_set_wake_by_current_state 
+3ecc 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+3ecd 204067dd call gpio_set_wake_by_current_state 
+3ece 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+3ecf 204067dd call gpio_set_wake_by_current_state 
+3ed0 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+3ed1 204067dd call gpio_set_wake_by_current_state 
+3ed2 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+3ed3 204067dd call gpio_set_wake_by_current_state 
+3ed4 6808c6e8 fetcht 1 ,mem_whee_a_data_gpio 
+3ed5 204067dd call gpio_set_wake_by_current_state 
+3ed6 6808c6e9 fetcht 1 ,mem_whee_b_data_gpio 
+3ed7 204067dd call gpio_set_wake_by_current_state 
+3ed8 6808c6ea fetcht 1 ,mem_whee_ta_data_gpio 
+3ed9 204067dd call gpio_set_wake_by_current_state 
+3eda 6808c6eb fetcht 1 ,mem_whee_tb_data_gpio 
+3edb 204067dd call gpio_set_wake_by_current_state 
+3edc 6808c6f3 fetcht 1 ,mem_sensor_data_gpio 
+3edd 202067e1 branch gpio_set_wake 
+
+mouse_spi_clk_gpio:
+3ede d840001e arg mouse_spi2_clk_gpio ,temp 
+3edf 20600000 rtn 
+
+mouse_wheel_check:
+3ee0 44f2401c bpatch patch1c_4 ,mem_patch1c 
+3ee1 20403eee call mouse_t_wheel_scan 
+3ee2 20403f36 call mouse_wheel_scan 
+3ee3 6800c6b8 fetch 1 ,mem_wheel_tb_new_pinlevel 
+3ee4 6808c6b7 fetcht 1 ,mem_wheel_tb_old_pinlevel 
+3ee5 6000c6b7 store 1 ,mem_wheel_tb_old_pinlevel 
+3ee6 98467c00 isub temp ,null 
+3ee7 2422b3d4 nbranch app_lpm_wake_auto_lock ,zero 
+3ee8 6800c6be fetch 1 ,mem_mwheel_b_new_pinlevel 
+3ee9 6808c6bd fetcht 1 ,mem_mwheel_b_old_pinlevel 
+3eea 6000c6bd store 1 ,mem_mwheel_b_old_pinlevel 
+3eeb 98467c00 isub temp ,null 
+3eec 2422b3d4 nbranch app_lpm_wake_auto_lock ,zero 
+3eed 20600000 rtn 
+
+mouse_t_wheel_scan:
+3eee 6800c6ea fetch 1 ,mem_whee_ta_data_gpio 
+3eef c17f8000 rtneq gpio_disable 
+3ef0 da200000 arg 0 ,rega 
+3ef1 6808c6ea fetcht 1 ,mem_whee_ta_data_gpio 
+3ef2 2040681d call gpio_get_bit 
+3ef3 7920a200 setflag true ,0 ,rega 
+3ef4 6808c6eb fetcht 1 ,mem_whee_tb_data_gpio 
+3ef5 2040681d call gpio_get_bit 
+3ef6 7920a201 setflag true ,1 ,rega 
+3ef7 1a227e00 copy rega ,pdata 
+3ef8 6000c6b8 store 1 ,mem_wheel_tb_new_pinlevel 
+3ef9 c000befe beq 0x01 ,mouse_t_wheel_scan_judge1 
+3efa c0013f02 beq 0x02 ,mouse_t_wheel_scan_judge2 
+3efb 6800c6b9 fetch 1 ,mem_wheel_tog 
+3efc c283bf0e bbit1 7 ,mouse_t_wheel_scan_judge3 
+3efd 20600000 rtn 
+
+mouse_t_wheel_scan_judge1:
+3efe 6800c6b7 fetch 1 ,mem_wheel_tb_old_pinlevel 
+3eff c0003f06 beq 0 ,mouse_t_wheel_scan_judge11 
+3f00 c001bf08 beq 3 ,mouse_t_wheel_scan_judge12 
+3f01 20600000 rtn 
+
+mouse_t_wheel_scan_judge2:
+3f02 6800c6b7 fetch 1 ,mem_wheel_tb_old_pinlevel 
+3f03 c0003f0a beq 0 ,mouse_t_wheel_scan_judge21 
+3f04 c001bf0c beq 3 ,mouse_t_wheel_scan_judge22 
+3f05 20600000 rtn 
+
+mouse_t_wheel_scan_judge11:
+3f06 7046b982 jam 0x82 ,mem_wheel_tog 
+3f07 20600000 rtn 
+
+mouse_t_wheel_scan_judge12:
+3f08 7046b981 jam 0x81 ,mem_wheel_tog 
+3f09 20600000 rtn 
+
+mouse_t_wheel_scan_judge21:
+3f0a 7046b980 jam 0x80 ,mem_wheel_tog 
+3f0b 20600000 rtn 
+
+mouse_t_wheel_scan_judge22:
+3f0c 7046b983 jam 0x83 ,mem_wheel_tog 
+3f0d 20600000 rtn 
+
+mouse_t_wheel_scan_judge3:
+3f0e 6800c6b9 fetch 1 ,mem_wheel_tog 
+3f0f 793ffe07 set0 7 ,pdata 
+3f10 6000c6b9 store 1 ,mem_wheel_tog 
+3f11 c0003f16 beq 0 ,mouse_t_wheel_scan_judge30 
+3f12 c000bf19 beq 1 ,mouse_t_wheel_scan_judge31 
+3f13 c0013f1c beq 2 ,mouse_t_wheel_scan_judge32 
+3f14 c001bf1f beq 3 ,mouse_t_wheel_scan_judge33 
+3f15 20600000 rtn 
+
+mouse_t_wheel_scan_judge30:
+3f16 6800c6b8 fetch 1 ,mem_wheel_tb_new_pinlevel 
+3f17 c001bf22 beq 3 ,mouse_wheel_t_forward 
+3f18 20600000 rtn 
+
+mouse_t_wheel_scan_judge31:
+3f19 6800c6b8 fetch 1 ,mem_wheel_tb_new_pinlevel 
+3f1a c0003f22 beq 0 ,mouse_wheel_t_forward 
+3f1b 20600000 rtn 
+
+mouse_t_wheel_scan_judge32:
+3f1c 6800c6b8 fetch 1 ,mem_wheel_tb_new_pinlevel 
+3f1d c001bf2c beq 3 ,mouse_wheel_t_back 
+3f1e 20600000 rtn 
+
+mouse_t_wheel_scan_judge33:
+3f1f 6800c6b8 fetch 1 ,mem_wheel_tb_new_pinlevel 
+3f20 c0003f2c beq 0 ,mouse_wheel_t_back 
+3f21 20600000 rtn 
+
+mouse_wheel_t_forward:
+3f22 6800c6bc fetch 1 ,mem_mouse_tz_data_count1 
+3f23 1fe0fe01 increase 1 ,pdata 
+3f24 6000c6bc store 1 ,mem_mouse_tz_data_count1 
+3f25 1fe67c01 sub pdata ,1 ,null 
+3f26 20610000 rtn positive 
+3f27 7046bc00 jam 0 ,mem_mouse_tz_data_count1 
+3f28 6800c6ba fetch 1 ,mem_mouse_tz_data 
+3f29 1fe0fe01 increase 1 ,pdata 
+3f2a 6000c6ba store 1 ,mem_mouse_tz_data 
+3f2b 20600000 rtn 
+
+mouse_wheel_t_back:
+3f2c 6800c6bb fetch 1 ,mem_mouse_tz_data_count 
+3f2d 1fe0fe01 increase 1 ,pdata 
+3f2e 6000c6bb store 1 ,mem_mouse_tz_data_count 
+3f2f 1fe67c01 sub pdata ,1 ,null 
+3f30 20610000 rtn positive 
+3f31 7046bb00 jam 0 ,mem_mouse_tz_data_count 
+3f32 6800c6ba fetch 1 ,mem_mouse_tz_data 
+3f33 1fe0ffff increase -1 ,pdata 
+3f34 6000c6ba store 1 ,mem_mouse_tz_data 
+3f35 20600000 rtn 
+
+mouse_wheel_scan:
+3f36 6800c6e8 fetch 1 ,mem_whee_a_data_gpio 
+3f37 c17f8000 rtneq gpio_disable 
+3f38 da200000 arg 0 ,rega 
+3f39 6808c6e8 fetcht 1 ,mem_whee_a_data_gpio 
+3f3a 2040681d call gpio_get_bit 
+3f3b 7920a200 setflag true ,0 ,rega 
+3f3c 6808c6e9 fetcht 1 ,mem_whee_b_data_gpio 
+3f3d 2040681d call gpio_get_bit 
+3f3e 7920a201 setflag true ,1 ,rega 
+3f3f 1a227e00 copy rega ,pdata 
+3f40 6000c6be store 1 ,mem_mwheel_b_new_pinlevel 
+3f41 c000bf46 beq 0x01 ,mouse_wheel_scan_judge1 
+3f42 c0013f4a beq 0x02 ,mouse_wheel_scan_judge2 
+3f43 6800c6bf fetch 1 ,mem_mwheel_tog 
+3f44 c283bf56 bbit1 7 ,mouse_wheel_scan_judge3 
+3f45 20600000 rtn 
+
+mouse_wheel_scan_judge1:
+3f46 6800c6bd fetch 1 ,mem_mwheel_b_old_pinlevel 
+3f47 c0003f4e beq 0 ,mouse_wheel_scan_judge11 
+3f48 c001bf50 beq 3 ,mouse_wheel_scan_judge12 
+3f49 20600000 rtn 
+
+mouse_wheel_scan_judge2:
+3f4a 6800c6bd fetch 1 ,mem_mwheel_b_old_pinlevel 
+3f4b c0003f52 beq 0 ,mouse_wheel_scan_judge21 
+3f4c c001bf54 beq 3 ,mouse_wheel_scan_judge22 
+3f4d 20600000 rtn 
+
+mouse_wheel_scan_judge11:
+3f4e 7046bf82 jam 0x82 ,mem_mwheel_tog 
+3f4f 20600000 rtn 
+
+mouse_wheel_scan_judge12:
+3f50 7046bf81 jam 0x81 ,mem_mwheel_tog 
+3f51 20600000 rtn 
+
+mouse_wheel_scan_judge21:
+3f52 7046bf80 jam 0x80 ,mem_mwheel_tog 
+3f53 20600000 rtn 
+
+mouse_wheel_scan_judge22:
+3f54 7046bf83 jam 0x83 ,mem_mwheel_tog 
+3f55 20600000 rtn 
+
+mouse_wheel_scan_judge3:
+3f56 6800c6bf fetch 1 ,mem_mwheel_tog 
+3f57 793ffe07 set0 7 ,pdata 
+3f58 6000c6bf store 1 ,mem_mwheel_tog 
+3f59 c0003f5e beq 0 ,mouse_wheel_scan_judge30 
+3f5a c000bf61 beq 1 ,mouse_wheel_scan_judge31 
+3f5b c0013f64 beq 2 ,mouse_wheel_scan_judge32 
+3f5c c001bf67 beq 3 ,mouse_wheel_scan_judge33 
+3f5d 20600000 rtn 
+
+mouse_wheel_scan_judge30:
+3f5e 6800c6be fetch 1 ,mem_mwheel_b_new_pinlevel 
+3f5f c001bf6a beq 3 ,mouse_wheel_forward 
+3f60 20600000 rtn 
+
+mouse_wheel_scan_judge31:
+3f61 6800c6be fetch 1 ,mem_mwheel_b_new_pinlevel 
+3f62 c0003f6a beq 0 ,mouse_wheel_forward 
+3f63 20600000 rtn 
+
+mouse_wheel_scan_judge32:
+3f64 6800c6be fetch 1 ,mem_mwheel_b_new_pinlevel 
+3f65 c001bf6f beq 3 ,mouse_wheel_back 
+3f66 20600000 rtn 
+
+mouse_wheel_scan_judge33:
+3f67 6800c6be fetch 1 ,mem_mwheel_b_new_pinlevel 
+3f68 c0003f6f beq 0 ,mouse_wheel_back 
+3f69 20600000 rtn 
+
+mouse_wheel_forward:
+3f6a 7046c200 jam 0 ,mem_mouse_z_data_count1 
+3f6b 6800c6c0 fetch 1 ,mem_mouse_z_data 
+3f6c 1fe0fe01 increase 1 ,pdata 
+3f6d 6000c6c0 store 1 ,mem_mouse_z_data 
+3f6e 20600000 rtn 
+
+mouse_wheel_back:
+3f6f 7046c100 jam 0 ,mem_mouse_z_data_count 
+3f70 6800c6c0 fetch 1 ,mem_mouse_z_data 
+3f71 1fe0ffff increase -1 ,pdata 
+3f72 6000c6c0 store 1 ,mem_mouse_z_data 
+3f73 20600000 rtn 
+
+mouse_hid_connected:
+3f74 58000002 setarg hid_handshake_timeout 
+3f75 6000c680 store 1 ,mem_hid_handshake_timer_count 
+3f76 20600000 rtn 
+
+mouse_send_process:
+3f77 6800c1e2 fetch 1 ,mem_app_handshake_flag 
+3f78 207a0000 rtn blank 
+3f79 20405271 call l2cap_malloc_is_fifo_nearly_full 
+3f7a 247a0000 nrtn blank 
+3f7b 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+3f7c c281bf8a bbit1 mosue_24g_pairing_flag ,mouse_send_empty_data 
+3f7d c2803f8a bbit1 mouse_select_device_flag ,mouse_send_empty_data 
+3f7e c282bf8a bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
+3f7f 20403f97 call mouse_motion 
+3f80 24740000 nrtn user 
+
+mouse_send_data:
+3f81 da200009 arg 9 ,rega 
+3f82 20404d63 call hid_malloc_tx_buff 
+3f83 6801424e fetch 2 ,mem_hid_int_remote_cid 
+3f84 e0a10000 istore 2 ,contw 
+3f85 580002a1 setarg 0x02a1 
+3f86 e0a10000 istore 2 ,contw 
+3f87 6803c69a fetch 7 ,mem_mouse_key 
+3f88 e0a38000 istore 7 ,contw 
+3f89 20600000 rtn 
+
+mouse_send_empty_data:
+3f8a 58000000 setarg 0 
+3f8b 6003c69a store 7 ,mem_mouse_key 
+3f8c 20203f81 branch mouse_send_data 
+
+mouse_no_data_timer_init:
+3f8d 680146aa fetch 2 ,mem_mouse_no_data_timeout 
+3f8e 600146b0 store 2 ,mem_mouse_no_data_timer 
+3f8f 20600000 rtn 
+
+mouse_fill_data_le:
+3f90 44f2c01c bpatch patch1c_5 ,mem_patch1c 
+3f91 da200007 arg 7 ,rega 
+3f92 6809446f fetcht 2 ,mem_le_notify_handle 
+3f93 20405a64 call le_att_malloc_tx_notify 
+3f94 6803c69a fetch 7 ,mem_mouse_key 
+3f95 e0a38000 istore 7 ,contw 
+3f96 20600000 rtn 
+
+mouse_motion:
+3f97 44f3401c bpatch patch1c_6 ,mem_patch1c 
+3f98 78547c00 disable user 
+3f99 58000000 setarg 0 
+3f9a 6003469b store 6 ,mem_mouse_x 
+3f9b 20403fb5 call mouse_cheak_sensor_data 
+3f9c 20404079 call mouse_zwheel 
+3f9d 2040407e call mouse_t_zwheel 
+3f9e 20404099 call mouse_key 
+3f9f 24740000 nrtn user 
+3fa0 20403f8d call mouse_no_data_timer_init 
+3fa1 d8e00008 arg mouse_statue_up_flag ,queue 
+3fa2 202043ce branch mouse_enable_function_flag 
+
+motion_6clk_direction_dispose:
+3fa3 6801469b fetch 2 ,mem_mouse_x 
+3fa4 1fe67e00 sub pdata ,0 ,pdata 
+3fa5 6001469b store 2 ,mem_mouse_x 
+3fa6 20207fe7 branch enable_user 
+
+motion_12clk_direction_dispose:
+3fa7 6801469d fetch 2 ,mem_mouse_y 
+3fa8 1fe67e00 sub pdata ,0 ,pdata 
+3fa9 6001469d store 2 ,mem_mouse_y 
+3faa 20207fe7 branch enable_user 
+
+motion_9clk_direction_dispose:
+3fab 6801469d fetch 2 ,mem_mouse_y 
+3fac 1fe67e00 sub pdata ,0 ,pdata 
+3fad 6001469d store 2 ,mem_mouse_y 
+3fae 6801469b fetch 2 ,mem_mouse_x 
+3faf 1fe67e00 sub pdata ,0 ,pdata 
+3fb0 6001469b store 2 ,mem_mouse_x 
+3fb1 20404002 call mouse_sensor_data_swap_places 
+3fb2 20207fe7 branch enable_user 
+
+motion_3clk_direction_dispose:
+3fb3 20404002 call mouse_sensor_data_swap_places 
+3fb4 20207fe7 branch enable_user 
+
+mouse_cheak_sensor_data:
+3fb5 6800c239 fetch 1 ,mem_spi_write_flash_sm 
+3fb6 c1800000 rtnne flash_sm_no_buys 
+3fb7 6800c6e0 fetch 1 ,mem_config_sensor_type 
+3fb8 c0003fe2 beq p3205 ,mouse_p32xx_sensor_motion 
+3fb9 c000bfe2 beq p3065 ,mouse_p32xx_sensor_motion 
+3fba c0013fe2 beq ka8 ,mouse_p32xx_sensor_motion 
+3fbb c001bfe2 beq p3204 ,mouse_p32xx_sensor_motion 
+3fbc c0023fc4 beq p3212 ,mouse_p3212_sensor_motion 
+3fbd c002c010 beq p3610 ,mouse_p3610_sensor_motion 
+3fbe c0033fe2 beq p3065_xy ,mouse_p32xx_sensor_motion 
+3fbf 20203fe2 branch mouse_p32xx_sensor_motion 
+
+mouse_clear_sensor_data:
+3fc0 6800c6a7 fetch 1 ,mem_mouse_move_flag 
+3fc1 205a405d call mouse_read_sensor_common ,blank 
+3fc2 7046a701 jam 1 ,mem_mouse_move_flag 
+3fc3 20600000 rtn 
+
+mouse_p3212_sensor_motion:
+3fc4 20403fc0 call mouse_clear_sensor_data 
+3fc5 6808c6f3 fetcht 1 ,mem_sensor_data_gpio 
+3fc6 2040681d call gpio_get_bit 
+3fc7 24608000 nrtn true 
+
+mouse_p3212_sensor_motion_1:
+3fc8 58000000 setarg pan_reg_pid_l 
+3fc9 20406414 call twspi_read 
+3fca c09840d1 bne p32xx_id1 ,mouse_twspi_reset 
+3fcb 58000002 setarg pan_reg_motion_staus 
+3fcc 20406414 call twspi_read 
+3fcd c4038000 rtnbit0 7 
+3fce 2040405d call mouse_read_sensor_common 
+3fcf 20403fde call mouse_read_3212sensor_xy_high 
+3fd0 6000c6a1 store 1 ,mem_mouse_xy_h 
+3fd1 1ff1fe00 rshift4 pdata ,pdata 
+3fd2 20404169 call extsign_bit3 
+3fd3 6000c69c store 1 ,mem_mouse_x + 1 
+3fd4 6800c6a1 fetch 1 ,mem_mouse_xy_h 
+3fd5 1fe17e0f and pdata ,0x0f ,pdata 
+3fd6 20404169 call extsign_bit3 
+3fd7 6000c69e store 1 ,mem_mouse_y + 1 
+3fd8 6800c6f6 fetch 1 ,mem_config_sensor_angle 
+3fd9 c0003fa3 beq mouse_6clk_angle ,motion_6clk_direction_dispose 
+3fda c000bfab beq mouse_9clk_angle ,motion_9clk_direction_dispose 
+3fdb c0013fa7 beq mouse_12clk_angle ,motion_12clk_direction_dispose 
+3fdc c001bfb3 beq mouse_3clk_angle ,motion_3clk_direction_dispose 
+3fdd 20600000 rtn 
+
+mouse_read_3212sensor_xy_high:
+3fde 58000012 setarg 0x12 
+3fdf 20206414 branch twspi_read 
+
+mouse_p3065_judge:
+3fe0 c018bfea beq p3065_id1 ,mouse_p32xx_sensor_motion_1 
+3fe1 202040d1 branch mouse_twspi_reset 
+
+mouse_p32xx_sensor_motion:
+3fe2 20403fc0 call mouse_clear_sensor_data 
+3fe3 78547c00 disable user 
+3fe4 6808c6f3 fetcht 1 ,mem_sensor_data_gpio 
+3fe5 2040681d call gpio_get_bit 
+3fe6 24608000 nrtn true 
+
+mouse_p32xx_sensor_motion_2:
+3fe7 58000000 setarg pan_reg_pid_l 
+3fe8 20406414 call twspi_read 
+3fe9 c0983fe0 bne p32xx_id1 ,mouse_p3065_judge 
+
+mouse_p32xx_sensor_motion_1:
+3fea 58000002 setarg pan_reg_motion_staus 
+3feb 20406414 call twspi_read 
+3fec c4038000 rtnbit0 7 
+3fed 2040405d call mouse_read_sensor_common 
+3fee 6800c69b fetch 1 ,mem_mouse_x 
+3fef 20404165 call extsign 
+3ff0 6001469b store 2 ,mem_mouse_x 
+3ff1 6800c69d fetch 1 ,mem_mouse_y 
+3ff2 20404165 call extsign 
+3ff3 6001469d store 2 ,mem_mouse_y 
+3ff4 6800c6f6 fetch 1 ,mem_config_sensor_angle 
+3ff5 c0003ffa beq mouse_6clk_angle ,motion32xx_6clk_direction_selection 
+3ff6 c000bffc beq mouse_9clk_angle ,motion32xx_9clk_direction_selection 
+3ff7 c0013ffe beq mouse_12clk_angle ,motion32xx_12clk_direction_selection 
+3ff8 c001c000 beq mouse_3clk_angle ,motion32xx_3clk_direction_selection 
+3ff9 20600000 rtn 
+
+motion32xx_6clk_direction_selection:
+3ffa 20403fa3 call motion_6clk_direction_dispose 
+3ffb 202040b3 branch mouse_sensor_sdio_low 
+
+motion32xx_9clk_direction_selection:
+3ffc 20403fab call motion_9clk_direction_dispose 
+3ffd 202040b3 branch mouse_sensor_sdio_low 
+
+motion32xx_12clk_direction_selection:
+3ffe 20403fa7 call motion_12clk_direction_dispose 
+3fff 202040b3 branch mouse_sensor_sdio_low 
+
+motion32xx_3clk_direction_selection:
+4000 20403fb3 call motion_3clk_direction_dispose 
+4001 202040b3 branch mouse_sensor_sdio_low 
+
+mouse_sensor_data_swap_places:
+4002 6801469d fetch 2 ,mem_mouse_y 
+4003 6809469b fetcht 2 ,mem_mouse_x 
+4004 6001469b store 2 ,mem_mouse_x 
+4005 6009469d storet 2 ,mem_mouse_y 
+4006 20600000 rtn 
+
+mouse_p3610sensor_read:
+4007 2040640f call spi_ncs_enable 
+4008 20000064 nop 100 
+4009 1a427e00 copy regb ,pdata 
+400a 20406414 call twspi_read 
+400b 1fe22400 copy pdata ,regb 
+400c 20406411 call spi_ncs_disable 
+400d 20000064 nop 100 
+400e 1a427e00 copy regb ,pdata 
+400f 20600000 rtn 
+
+mouse_p3610_sensor_motion:
+4010 78547c00 disable user 
+4011 6808c6f3 fetcht 1 ,mem_sensor_data_gpio 
+4012 2040681d call gpio_get_bit 
+4013 24608000 nrtn true 
+4014 da400002 arg pan_reg_motion_staus ,regb 
+4015 20404007 call mouse_p3610sensor_read 
+4016 c4038000 rtnbit0 7 
+4017 da400000 arg pan_reg_pid_l ,regb 
+4018 20404007 call mouse_p3610sensor_read 
+4019 6000c6dd store 1 ,mem_sensor_id1 
+401a c09f4145 bne p3610_id1 ,mouse_init_3610sensor_reset 
+401b 6800c6a7 fetch 1 ,mem_mouse_move_flag 
+401c 205a4039 call mouse_read_sensor3610_data ,blank 
+401d 7046a701 jam 1 ,mem_mouse_move_flag 
+401e 20404039 call mouse_read_sensor3610_data 
+401f 6800c6a1 fetch 1 ,mem_mouse_xy_h 
+4020 1ff1fe00 rshift4 pdata ,pdata 
+4021 20404169 call extsign_bit3 
+4022 6000c69c store 1 ,mem_mouse_x + 1 
+4023 6800c6a1 fetch 1 ,mem_mouse_xy_h 
+4024 1fe17e0f and pdata ,0x0f ,pdata 
+4025 20404169 call extsign_bit3 
+4026 6000c69e store 1 ,mem_mouse_y + 1 
+4027 6800c6f6 fetch 1 ,mem_config_sensor_angle 
+4028 c0004031 beq 0 ,motion3610_6clk_direction_selection 
+4029 c000c035 beq 1 ,motion3610_9clk_direction_selection 
+402a c0014033 beq 2 ,motion3610_12clk_direction_selection 
+402b c001c037 beq 3 ,motion3610_3clk_direction_selection 
+402c 20600000 rtn 
+
+mouse_3610_smart_select:
+402d 6800c6a4 fetch 1 ,mem_sensor_smart_flag 
+402e c0004051 beq p3610_smart_enable ,mouse_3610_smart_disable 
+402f c000c045 beq p3610_smart_disable ,mouse_3610_smart_enable 
+4030 20600000 rtn 
+
+motion3610_6clk_direction_selection:
+4031 20403fa3 call motion_6clk_direction_dispose 
+4032 2020402d branch mouse_3610_smart_select 
+
+motion3610_12clk_direction_selection:
+4033 20403fa7 call motion_12clk_direction_dispose 
+4034 2020402d branch mouse_3610_smart_select 
+
+motion3610_9clk_direction_selection:
+4035 20403fab call motion_9clk_direction_dispose 
+4036 2020402d branch mouse_3610_smart_select 
+
+motion3610_3clk_direction_selection:
+4037 20403fb3 call motion_3clk_direction_dispose 
+4038 2020402d branch mouse_3610_smart_select 
+
+mouse_read_sensor3610_data:
+4039 2040640f call spi_ncs_enable 
+403a 2040405d call mouse_read_sensor_common 
+403b dfe00005 arg 5 ,pdata 
+403c 20406414 call twspi_read 
+403d 6000c6a1 store 1 ,mem_mouse_xy_h 
+403e dfe00007 arg 7 ,pdata 
+403f 20406414 call twspi_read 
+4040 6000c6a2 store 1 ,mem_sensor_shutter_hi 
+4041 dfe00008 arg 8 ,pdata 
+4042 20406414 call twspi_read 
+4043 6000c6a3 store 1 ,mem_sensor_shutter_lo 
+4044 20206411 branch spi_ncs_disable 
+
+mouse_3610_smart_enable:
+4045 6800c6a2 fetch 1 ,mem_sensor_shutter_hi 
+4046 c1800000 rtnne 0 
+4047 6800c6a3 fetch 1 ,mem_sensor_shutter_lo 
+4048 1fe67c2d sub pdata ,45 ,null 
+4049 20610000 rtn positive 
+404a 7046a400 jam p3610_smart_enable ,mem_sensor_smart_flag 
+404b 5800ba41 setarg 0xba41 
+404c 20406405 call sensor_write 
+404d 58000032 setarg 0x0032 
+404e 20406405 call sensor_write 
+404f 5800b541 setarg 0xb541 
+4050 20206405 branch sensor_write 
+
+mouse_3610_smart_disable:
+4051 6800c6a2 fetch 1 ,mem_sensor_shutter_hi 
+4052 c1800000 rtnne 0 
+4053 6800c6a3 fetch 1 ,mem_sensor_shutter_lo 
+4054 1fe67c2d sub pdata ,45 ,null 
+4055 24610000 nrtn positive 
+4056 7046a401 jam p3610_smart_disable ,mem_sensor_smart_flag 
+4057 5800ba41 setarg 0xba41 
+4058 20406405 call sensor_write 
+4059 58008032 setarg 0x8032 
+405a 20406405 call sensor_write 
+405b 5800b541 setarg 0xb541 
+405c 20206405 branch sensor_write 
+
+mouse_read_sensor_common:
+405d dfe00003 arg pan_reg_delta_x ,pdata 
+405e 20406414 call twspi_read 
+405f 6001469b store 2 ,mem_mouse_x 
+4060 dfe00004 arg pan_reg_delta_y ,pdata 
+4061 20406414 call twspi_read 
+4062 6001469d store 2 ,mem_mouse_y 
+4063 20600000 rtn 
+
+mouse_set_qdecoder_x:
+4064 d840001b arg mouse_default_xa_gpio ,temp 
+4065 204067fb call gpio_config_input 
+4066 d840001b arg mouse_default_xa_gpio ,temp 
+4067 2040681d call gpio_get_bit 
+4068 20608000 rtn true 
+4069 68108109 hfetch 1 ,core_qdec_cntx 
+406a 79207e04 set1 4 ,pdata 
+406b 60108109 hstore 1 ,core_qdec_cntx 
+406c 20600000 rtn 
+
+mouse_hardware_zwheel:
+406d 6808c6c0 fetcht 1 ,mem_mouse_z_data 
+406e 68108109 hfetch 1 ,core_qdec_cntx 
+406f 9840fe00 iadd temp ,pdata 
+4070 207a0000 rtn blank 
+4071 6000c69f store 1 ,mem_mouse_z 
+4072 7046c000 jam 0 ,mem_mouse_z_data 
+4073 20207fe7 branch enable_user 
+
+mouse_hardware_zwheel_beforelpm:
+4074 6808c6c0 fetcht 1 ,mem_mouse_z_data 
+4075 68108109 hfetch 1 ,core_qdec_cntx 
+4076 9840fe00 iadd temp ,pdata 
+4077 6000c6c0 store 1 ,mem_mouse_z_data 
+4078 20600000 rtn 
+
+mouse_zwheel:
+4079 6800c6c0 fetch 1 ,mem_mouse_z_data 
+407a 207a0000 rtn blank 
+407b 6000c69f store 1 ,mem_mouse_z 
+407c 7046c000 jam 0 ,mem_mouse_z_data 
+407d 20207fe7 branch enable_user 
+
+mouse_t_zwheel:
+407e 6800c6ba fetch 1 ,mem_mouse_tz_data 
+407f 207a0000 rtn blank 
+4080 6000c6a0 store 1 ,mem_mouse_tz 
+4081 7046ba00 jam 0 ,mem_mouse_tz_data 
+4082 20207fe7 branch enable_user 
+
+mouse_check_key_gpio:
+4083 da200000 arg 0 ,rega 
+4084 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+4085 2040681d call gpio_get_bit 
+4086 7920a200 setflag true ,0 ,rega 
+4087 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+4088 2040681d call gpio_get_bit 
+4089 7920a201 setflag true ,1 ,rega 
+408a 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+408b 2040681d call gpio_get_bit 
+408c 7920a202 setflag true ,2 ,rega 
+408d 20404090 call mouse_check_s_key_gpio 
+408e 1a227e00 copy rega ,pdata 
+408f 20600000 rtn 
+
+mouse_check_s_key_gpio:
+4090 6800c6e5 fetch 1 ,mem_bk_button_gpio 
+4091 c17f8000 rtneq gpio_disable 
+4092 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+4093 2040681d call gpio_get_bit 
+4094 7920a203 setflag true ,3 ,rega 
+4095 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+4096 2040681d call gpio_get_bit 
+4097 7920a204 setflag true ,4 ,rega 
+4098 20600000 rtn 
+
+mouse_key:
+4099 20404083 call mouse_check_key_gpio 
+409a 204040a8 call mouse_set_mult 
+409b 204040a3 call mouse_24g_key 
+409c 1a227e00 copy rega ,pdata 
+409d 6808c69a fetcht 1 ,mem_mouse_key 
+409e 6000c69a store 1 ,mem_mouse_key 
+409f 9842fe00 ixor temp ,pdata 
+40a0 1fe67c00 sub pdata ,0 ,null 
+40a1 20628000 rtn zero 
+40a2 20207fe7 branch enable_user 
+
+mouse_24g_key:
+40a3 c6930000 rtnmark0 mark_24g 
+40a4 1a227e00 copy rega ,pdata 
+40a5 207a0000 rtn blank 
+40a6 6000c69a store 1 ,mem_mouse_key 
+40a7 20207fe7 branch enable_user 
+
+mouse_set_mult:
+40a8 68014682 fetch 2 ,mem_ui_state_map 
+40a9 c284c0ad bbit1 ui_state_ble_connected ,mouse_set_ble_mult 
+40aa 68014682 fetch 2 ,mem_ui_state_map 
+40ab c28040b0 bbit1 ui_state_bt_connected ,mouse_set_bt_mult 
+40ac 20600000 rtn 
+
+mouse_set_ble_mult:
+40ad 1a227e00 copy rega ,pdata 
+40ae 243a5820 nbranch le_set_config_short_mult ,blank 
+40af 20205822 branch le_clr_config_short_mult 
+
+mouse_set_bt_mult:
+40b0 1a227e00 copy rega ,pdata 
+40b1 243a2bc7 nbranch classic_bt_set_mult_short_flag ,blank 
+40b2 20202bc9 branch classic_bt_clr_mult_short_flag 
+
+mouse_sensor_sdio_low:
+40b3 44f3c01c bpatch patch1c_7 ,mem_patch1c 
+40b4 d840001a arg mouse_spi1_sdio_gpio ,temp 
+40b5 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+40b6 2feffe12 isolate1 mouse_enable_spi2 ,pdata 
+40b7 2040c0be call mouse_sensor_sdio_low2 ,true 
+40b8 2040681d call gpio_get_bit 
+40b9 20608000 rtn true 
+40ba 5800000a setarg 0x0a 
+40bb 20406414 call twspi_read 
+40bc 200003e8 nop 1000 
+40bd 202040b3 branch mouse_sensor_sdio_low 
+
+mouse_sensor_sdio_low2:
+40be d840001f arg mouse_spi2_sdio_gpio ,temp 
+40bf 20600000 rtn 
+
+mouse_spi_sdio_gpio_pollup:
+40c0 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+40c1 c28940c4 bbit1 mouse_enable_spi2 ,mouse_spi2_sdio_gpio_pollup 
+
+mouse_spi1_sdio_gpio_pollup:
+40c2 d840001a arg mouse_spi1_sdio_gpio ,temp 
+40c3 202067fe branch gpio_config_input_without_wake 
+
+mouse_spi2_sdio_gpio_pollup:
+40c4 d840001f arg mouse_spi2_sdio_gpio ,temp 
+40c5 202067fe branch gpio_config_input_without_wake 
+
+mouse_init_sunt:
+40c6 20403d36 call mouse_spi_init 
+40c7 20758000 rtn wake 
+40c8 204040c0 call mouse_spi_sdio_gpio_pollup 
+40c9 6800c6e0 fetch 1 ,mem_config_sensor_type 
+40ca c002c0d5 beq p3610 ,mouse_init_3610sensor 
+
+mouse_init_sensor:
+40cb 204040d9 call mouse_read_sensor_id 
+40cc c01840e0 beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
+40cd c018c0ea beq p3065_id1 ,mouse_p3065_init_param 
+40ce 204040d1 call mouse_twspi_reset 
+40cf 200003e8 nop 1000 
+40d0 202040cb branch mouse_init_sensor 
+
+mouse_twspi_reset:
+40d1 44f4401d bpatch patch1d_0 ,mem_patch1d 
+40d2 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+40d3 c28963e0 bbit1 mouse_enable_spi2 ,twspi_reset2 
+40d4 202063d1 branch twspi_reset 
+
+mouse_init_3610sensor:
+40d5 204040d9 call mouse_read_sensor_id 
+40d6 c01f414b beq p3610_id1 ,mouse_init_p3610 
+40d7 20404145 call mouse_init_3610sensor_reset 
+40d8 202040d5 branch mouse_init_3610sensor 
+
+mouse_read_sensor_id:
+40d9 58000001 setarg pan_reg_pid_h 
+40da 20406414 call twspi_read 
+40db 6000c6de store 1 ,mem_sensor_id2 
+40dc 58000000 setarg pan_reg_pid_l 
+40dd 20406414 call twspi_read 
+40de 6000c6dd store 1 ,mem_sensor_id1 
+40df 20600000 rtn 
+
+mouse_init_p32xx_id2_judge:
+40e0 6800c6de fetch 1 ,mem_sensor_id2 
+40e1 c068c139 beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
+40e2 c06940f8 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
+40e3 c00140ee beq p3212_id2 ,mouse_3212_init_param 
+40e4 c02a40e6 beq pka8_id2 ,mouse_ka8_init_param 
+40e5 20600000 rtn 
+
+mouse_ka8_init_param:
+40e6 7046e002 jam ka8 ,mem_config_sensor_type 
+40e7 20600000 rtn 
+
+mouse_p3065xy_init_param:
+40e8 7046e006 jam p3065_xy ,mem_config_sensor_type 
+40e9 20600000 rtn 
+
+mouse_p3065_init_param:
+40ea 6800c6de fetch 1 ,mem_sensor_id2 
+40eb c03840e8 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
+40ec 7046e001 jam p3065 ,mem_config_sensor_type 
+40ed 20600000 rtn 
+
+mouse_3212_init_param:
+40ee 7046e004 jam p3212 ,mem_config_sensor_type 
+40ef 204040f6 call mouse_sensor_disable_wp 
+40f0 58003426 setarg 0x3426 
+40f1 20406413 call twspi_write 
+40f2 58000419 setarg 0x0419 
+40f3 20406413 call twspi_write 
+
+mouse_sensor_enable_wp:
+40f4 58000009 setarg 0x0009 
+40f5 20206413 branch twspi_write 
+
+mouse_sensor_disable_wp:
+40f6 58005a09 setarg 0x5a09 
+40f7 20206413 branch twspi_write 
+
+mouse_3204_3l_init_param:
+40f8 7046e003 jam p3204 ,mem_config_sensor_type 
+40f9 204040f6 call mouse_sensor_disable_wp 
+40fa 58000f0d setarg 0x0f0d 
+40fb 20406413 call twspi_write 
+40fc 5800e31d setarg 0xe31d 
+40fd 20406413 call twspi_write 
+40fe 5800d27d setarg 0xd27d 
+40ff 20406413 call twspi_write 
+4100 20404102 call mouse_32xx_init_param 
+4101 2020411a branch mouse_32xx_init_param_1 
+
+mouse_32xx_init_param:
+4102 5800351b setarg 0x351b 
+4103 20406413 call twspi_write 
+4104 5800b428 setarg 0xb428 
+4105 20406413 call twspi_write 
+4106 58004629 setarg 0x4629 
+4107 20406413 call twspi_write 
+4108 5800962a setarg 0x962a 
+4109 20406413 call twspi_write 
+410a 58008c2b setarg 0x8c2b 
+410b 20406413 call twspi_write 
+410c 58006e2c setarg 0x6e2c 
+410d 20406413 call twspi_write 
+410e 5800642d setarg 0x642d 
+410f 20406413 call twspi_write 
+4110 58005f38 setarg 0x5f38 
+4111 20406413 call twspi_write 
+4112 58000f39 setarg 0x0f39 
+4113 20406413 call twspi_write 
+4114 5800323a setarg 0x323a 
+4115 20406413 call twspi_write 
+4116 5800473b setarg 0x473b 
+4117 20406413 call twspi_write 
+4118 58001042 setarg 0x1042 
+4119 20206413 branch twspi_write 
+
+mouse_32xx_init_param_1:
+411a 58002e54 setarg 0x2e54 
+411b 20406413 call twspi_write 
+411c 5800f255 setarg 0xf255 
+411d 20406413 call twspi_write 
+411e 5800f461 setarg 0xf461 
+411f 20406413 call twspi_write 
+4120 58007063 setarg 0x7063 
+4121 20406413 call twspi_write 
+4122 58005275 setarg 0x5275 
+4123 20406413 call twspi_write 
+4124 58004176 setarg 0x4176 
+4125 20406413 call twspi_write 
+4126 5800ed77 setarg 0xed77 
+4127 20406413 call twspi_write 
+4128 58002378 setarg 0x2378 
+4129 20406413 call twspi_write 
+412a 58004679 setarg 0x4679 
+412b 20406413 call twspi_write 
+412c 5800e57a setarg 0xe57a 
+412d 20406413 call twspi_write 
+412e 5800487c setarg 0x487c 
+412f 20406413 call twspi_write 
+4130 5800777e setarg 0x777e 
+4131 20406413 call twspi_write 
+4132 5800017f setarg 0x017f 
+4133 20406413 call twspi_write 
+4134 5800000b setarg 0x000b 
+4135 20406413 call twspi_write 
+4136 5800007f setarg 0x007f 
+4137 20406413 call twspi_write 
+4138 202040f4 branch mouse_sensor_enable_wp 
+
+mouse_3205_3t_init_param:
+4139 7046e000 jam p3205 ,mem_config_sensor_type 
+413a 204040f6 call mouse_sensor_disable_wp 
+413b 5800100d setarg 0x100d 
+413c 20406413 call twspi_write 
+413d 5800ed1d setarg 0xed1d 
+413e 20406413 call twspi_write 
+413f 5800807d setarg 0x807d 
+4140 20406413 call twspi_write 
+4141 20404102 call mouse_32xx_init_param 
+4142 58000943 setarg 0x0943 
+4143 20406413 call twspi_write 
+4144 2020411a branch mouse_32xx_init_param_1 
+
+mouse_init_3610sensor_reset:
+4145 6808c6dc fetcht 1 ,mem_sensor_reset_gpio 
+4146 20406829 call gpio_out_active 
+4147 20407ec1 call delay_10ms 
+4148 6808c6dc fetcht 1 ,mem_sensor_reset_gpio 
+4149 20406825 call gpio_out_inactive 
+414a 20207ec1 branch delay_10ms 
+
+mouse_init_p3610:
+414b 7046e005 jam p3610 ,mem_config_sensor_type 
+414c 5800ba41 setarg 0xba41 
+414d 20406405 call sensor_write 
+414e 58000d11 setarg 0x0d11 
+414f 20406405 call sensor_write 
+4150 5800041b setarg 0x041b 
+4151 20406405 call sensor_write 
+4152 5800041c setarg 0x041c 
+4153 20406405 call sensor_write 
+4154 58000f1d setarg 0x0f1d 
+4155 20406405 call sensor_write 
+4156 58000032 setarg 0x0032 
+4157 20406405 call sensor_write 
+4158 5800b541 setarg 0xb541 
+4159 20206405 branch sensor_write 
+
+mouse_set_sensor_reg:
+415a 5800ba41 setarg 0xba41 
+415b 20406405 call sensor_write 
+415c 20000fa0 nop 4000 
+415d 5800ff7f setarg 0xff7f 
+415e 20406405 call sensor_write 
+415f 1a227e00 copy rega ,pdata 
+4160 20406405 call sensor_write 
+4161 5800007f setarg 0x007f 
+4162 20406405 call sensor_write 
+4163 5800b541 setarg 0xb541 
+4164 20206405 branch sensor_write 
+
+extsign:
+4165 c4038000 rtnbit0 7 
+4166 d840ff00 arg 0xff00 ,temp 
+4167 9841fe00 ior temp ,pdata 
+4168 20600000 rtn 
+
+extsign_bit3:
+4169 c4018000 rtnbit0 3 
+416a d84000f0 arg 0xf0 ,temp 
+416b 9841fe00 ior temp ,pdata 
+416c 20600000 rtn 
+
+mouse_le:
+416d 20405892 call le_fifo_check_nearly_full 
+416e 247a0000 nrtn blank 
+416f 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+4170 1fe17e03 and pdata ,0x03 ,pdata 
+4171 c1818000 rtnne 0x03 
+4172 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+4173 c281c179 bbit1 mosue_24g_pairing_flag ,mouse_le_send_empty_packet 
+4174 c2804179 bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
+4175 c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+4176 20403f97 call mouse_motion 
+4177 24740000 nrtn user 
+4178 20203f90 branch mouse_fill_data_le 
+
+mouse_le_send_empty_packet:
+4179 58000000 setarg 0 
+417a 6003c69a store 7 ,mem_mouse_key 
+417b 20203f90 branch mouse_fill_data_le 
+
+mouse_priority_bb_event:
+417c 1a627e00 copy regc ,pdata 
+417d c00a41c3 beq bt_evt_le_connected ,mouse_le_bb_event_connected 
+417e c000c2ca beq bt_evt_bb_connected ,mouse_stop_discovery 
+417f c00ac1d9 beq bt_evt_le_disconnected ,mouse_bb_disconnected 
+4180 c00141d9 beq bt_evt_bb_disconnected ,mouse_bb_disconnected 
+4181 c002c1d6 beq bt_evt_setup_complete ,mouse_bt_event_setup_complete 
+4182 c008426c beq bt_evt_button_long_pressed ,mouse_bb_event_discovery_btn 
+4183 c009429b beq bt_evt_hid_handshake ,mouse_bt_hid_handshake 
+4184 c00341d5 beq bt_evt_hid_connected ,mouse_bt_hid_connected 
+4185 c00241cc beq bt_evt_reconn_failed ,mouse_bb_event_reconn_failed 
+4186 c009c1cc beq bt_evt_reconn_page_timeout ,mouse_bb_event_reconn_timeout 
+4187 c00541ca beq bt_evt_pincode_req ,mouse_bb_event_pincode 
+4188 c01733cd beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+4189 c018c1b4 beq bt_evt_le_pairing_success ,mouse_le_pairing_success 
+418a c01941b6 beq bt_evt_le_start_enc ,mouse_le_ll_start_encryt 
+418b c01f4191 beq bt_evt_le_pairing_complete ,mouse_le_pairing_complete 
+418c c013c38e beq bt_evt_virtual_cable_unplug ,mouse_irtual_cable_unplug 
+418d c01cc19c beq bt_evt_24g_pairing_complete ,mouse_24g_pairing_complete 
+418e c01d4192 beq bt_evt_24g_attempt_fail ,mouse_24g_attempt_fail 
+418f c01e419a beq bt_evt_24g_attempt_success ,mouse_24g_attempt_success 
+4190 20600000 rtn 
+
+mouse_le_pairing_complete:
+4191 20203410 branch app_ble_store_reconn_info 
+
+mouse_24g_attempt_fail:
+4192 70478b01 jam 1 ,mem_mouse_24g_enter_lpm_enable 
+4193 6800c71e fetch 1 ,mem_reconn_times 
+4194 243a4492 nbranch mouse_polling_device ,blank 
+4195 6800c720 fetch 1 ,mem_device_flag 
+4196 6808c703 fetcht 1 ,mem_24g_device_number 
+4197 98467c00 isub temp ,null 
+4198 2022b40a branch app_enter_hibernate ,zero 
+4199 20600000 rtn 
+
+mouse_24g_attempt_success:
+419a 70478b01 jam 1 ,mem_mouse_24g_enter_lpm_enable 
+419b 20600000 rtn 
+
+mouse_24g_pairing_complete:
+419c 70478b01 jam 1 ,mem_mouse_24g_enter_lpm_enable 
+419d d8e00003 arg mosue_24g_pairing_flag ,queue 
+419e 204043d2 call mouse_disable_function_flag 
+419f 58000000 setarg 0 
+41a0 60014707 store 2 ,mem_24g_pairing_timer_count 
+41a1 7046a700 jam 0 ,mem_mouse_move_flag 
+41a2 6800c6e0 fetch 1 ,mem_config_sensor_type 
+41a3 1fe67c05 sub pdata ,p3610 ,null 
+41a4 2042c039 call mouse_read_sensor3610_data ,zero 
+41a5 2442c05d ncall mouse_read_sensor_common ,zero 
+41a6 68008004 fetch 1 ,mouse_flag_len ,mem_mouse_flag 
+41a7 c289c1af bbit1 mouse_enable_flash ,mouse_store_flash_24g_address 
+41a8 204041aa call mouse_set_24g_addr_eeprom 
+41a9 202065d1 branch iicd_write_protect_eep_data 
+
+mouse_set_24g_addr_eeprom:
+41aa 20402c7a call g24_head_ptr2regc 
+41ab 1a60a2ae add regc ,offset_24g_addr ,rega 
+41ac da40005b arg mouse_g24_addr_eeprom_offect ,regb 
+41ad d8400004 arg 4 ,temp 
+41ae 20600000 rtn 
+
+mouse_store_flash_24g_address:
+41af 20402c7a call g24_head_ptr2regc 
+41b0 1a60a4ae add regc ,offset_24g_addr ,regb 
+41b1 ea408000 ifetch 1 ,regb 
+41b2 6000c77b store 1 ,mem_mouse_24g_addr 
+41b3 20204435 branch mouse_store_flash_device_info 
+
+mouse_le_pairing_success:
+41b4 d8e00002 arg ll_pairing_success_flag ,queue 
+41b5 202041b9 branch mouse_le_enable_connect_flag 
+
+mouse_le_ll_start_encryt:
+41b6 7046c602 jam 2 ,mem_le_start_encrypt_timer 
+41b7 d8e00001 arg ll_start_enc_flag ,queue 
+41b8 202041b9 branch mouse_le_enable_connect_flag 
+
+mouse_le_enable_connect_flag:
+41b9 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+41ba f9207e00 qset1 pdata 
+41bb 6000c6c5 store 1 ,mem_le_connect_status_flag 
+41bc 20600000 rtn 
+
+mouse_le_disable_connect_flag:
+41bd 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+41be f93ffe00 qset0 pdata 
+41bf 6000c6c5 store 1 ,mem_le_connect_status_flag 
+41c0 20600000 rtn 
+
+mouse_le_clean_connect_flag:
+41c1 7046c500 jam 0 ,mem_le_connect_status_flag 
+41c2 20600000 rtn 
+
+mouse_le_bb_event_connected:
+41c3 6801420a fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+41c4 793ffe00 set0 app_disc_by_button ,pdata 
+41c5 6001420a store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+41c6 58000000 setarg 0 
+41c7 600146ae store 2 ,mem_mouse_direct_timer 
+41c8 20403f8d call mouse_no_data_timer_init 
+41c9 202042ca branch mouse_stop_discovery 
+
+mouse_bb_event_pincode:
+41ca 204063cb call pincode_reinit 
+41cb 202033dd branch app_bt_set_pincode 
+
+mouse_bb_event_reconn_timeout:
+
+mouse_bb_event_reconn_failed:
+41cc 6800c71e fetch 1 ,mem_reconn_times 
+41cd 243a4492 nbranch mouse_polling_device ,blank 
+41ce 68014682 fetch 2 ,mem_ui_state_map 
+41cf c28642b0 bbit1 ui_state_btn_down ,mouse_start_discovery 
+41d0 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+41d1 c28041d7 bbit1 mouse_select_device_flag ,mouse_soft_reset 
+41d2 c282c2b0 bbit1 mouse_bt_discovery_button_down_flag ,mouse_start_discovery 
+41d3 c281aead bbit1 mosue_24g_pairing_flag ,g24_start_pairing_sm1 
+41d4 202033a7 branch app_bb_hibernate 
+
+mouse_bt_hid_connected:
+41d5 20203f74 branch mouse_hid_connected 
+
+mouse_bt_event_setup_complete:
+41d6 20600000 rtn 
+
+mouse_soft_reset:
+41d7 204043c0 call mouse_select_device_enable 
+41d8 2020659a branch soft_reset_chip 
+
+mouse_bb_disconnected:
+41d9 44f4c01d bpatch patch1d_1 ,mem_patch1d 
+41da 204041e7 call mouse_bb_discon_clear_stack 
+41db 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+41dc c28041d7 bbit1 mouse_select_device_flag ,mouse_soft_reset 
+41dd c281aead bbit1 mosue_24g_pairing_flag ,g24_start_pairing_sm1 
+41de 6800c71e fetch 1 ,mem_reconn_times 
+41df 243a4492 nbranch mouse_polling_device ,blank 
+41e0 68014208 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+41e1 c283c1f5 bbit1 app_disc_ble ,mouse4_0_event_bb_disconn 
+41e2 c28033a9 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+41e3 c280c1ef bbit1 app_disc_after_pairing ,mouse_event_light_state_pairing 
+41e4 c28141f2 bbit1 app_disc_after_reconn ,mouse_event_light_state_hibernate 
+41e5 c281c1f2 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+41e6 202042b0 branch mouse_start_discovery 
+
+mouse_bb_discon_clear_stack:
+41e7 58000000 setarg 0 
+41e8 600446b7 store 8 ,mem_wheel_tb_old_pinlevel 
+41e9 e0a20000 istore 4 ,contw 
+41ea 7046b400 jam 0 ,mem_mouse_send_blank_timer 
+41eb 7046a700 jam 0 ,mem_mouse_move_flag 
+41ec 7041e200 jam app_handshake_null ,mem_app_handshake_flag 
+41ed 70442900 jam 0 ,mem_ltk_exists 
+41ee 20600000 rtn 
+
+mouse_event_light_state_pairing:
+41ef c282c1f2 bbit1 app_disc_after_handshake ,mouse_event_light_state_hibernate 
+41f0 c281c1f2 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+41f1 202042b0 branch mouse_start_discovery 
+
+mouse_event_light_state_hibernate:
+41f2 68014682 fetch 2 ,mem_ui_state_map 
+41f3 c28642b0 bbit1 ui_state_btn_down ,mouse_start_discovery 
+41f4 202033a7 branch app_bb_hibernate 
+
+mouse4_0_event_bb_disconn:
+41f5 204041c1 call mouse_le_clean_connect_flag 
+41f6 68014208 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+41f7 c28033a9 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+41f8 202033a7 branch app_bb_hibernate 
+
+mouse_bb_event_timer:
+41f9 204043d6 call mouse_adc_read 
+41fa 20404243 call mouse_24g_delay_timer 
+41fb 20404246 call mouse_ban_24g_pairing_timer 
+41fc 20404250 call mouse_dpi_led_blink_delay_timer 
+41fd 2040445d call mouse_statue_up_timer 
+41fe 20404443 call mouse_statue_cheak_timer 
+41ff 20404333 call mouse_select_device 
+4200 204043a5 call mouse_bt_discovery_cheak 
+4201 204043eb call mouse_low_voltage_led_timer 
+4202 20404209 call mouse_sensor_led_contrl_timer 
+4203 20404231 call mouse_check_hid_handshake_timer 
+4204 20404234 call mouse_check_discovery_timeout_timer 
+4205 20404237 call mouse_check_direct_timeout_timer 
+4206 2040423a call mouse_check_no_data_timeout_timer 
+4207 2040423d call mouse_check_mouse_state_timer 
+4208 20204240 branch mouse_le_enable_att_list_timer 
+
+mouse_sensor_led_contrl_timer:
+4209 6800c711 fetch 1 ,mem_mouse_sensor_timer_count 
+420a 207a0000 rtn blank 
+420b 1fe0ffff increase -1 ,pdata 
+420c 6000c711 store 1 ,mem_mouse_sensor_timer_count 
+420d 247a0000 nrtn blank 
+420e 2020420f branch mouse_sensor_led_contrl 
+
+mouse_sensor_led_contrl:
+420f 6800c712 fetch 1 ,mem_sensor_led_style 
+4210 c1000000 rtneq ui_led_state_blink_stop 
+4211 c002c216 beq ui_led_state_blink_darking ,mouse_sensor_led_blink_state_darking 
+
+mouse_sensor_led_blink_state_lighting:
+4212 20404225 call mouse_sensor_led_on 
+4213 70471205 jam ui_led_state_blink_darking ,mem_sensor_led_style 
+4214 70471105 jam led_sensor_blink_cnt ,mem_mouse_sensor_timer_count 
+4215 20600000 rtn 
+
+mouse_sensor_led_blink_state_darking:
+4216 2040422c call mouse_sensor_led_off 
+4217 70471204 jam ui_led_state_blink_lighting ,mem_sensor_led_style 
+4218 70471105 jam led_sensor_blink_cnt ,mem_mouse_sensor_timer_count 
+4219 20600000 rtn 
+
+mouse_sensor_led_blink_stop:
+
+mouse_sensor_reset:
+421a 58008006 setarg 0x8006 
+421b 20406413 call twspi_write 
+421c 200003e8 nop 1000 
+421d 70471100 jam 0x00 ,mem_mouse_sensor_timer_count 
+421e 70471200 jam ui_led_state_blink_stop ,mem_sensor_led_style 
+421f 202040e0 branch mouse_init_p32xx_id2_judge 
+
+mouse_p3212sensor_led_on:
+4220 5800a006 setarg 0xa006 
+4221 20406413 call twspi_write 
+4222 5800a005 setarg 0xa005 
+4223 20206413 branch twspi_write 
+
+mouse_sensor_led_on_global:
+4224 70471100 jam 0 ,mem_mouse_sensor_timer_count 
+
+mouse_sensor_led_on:
+4225 6800c6e0 fetch 1 ,mem_config_sensor_type 
+4226 c0024220 beq p3212 ,mouse_p3212sensor_led_on 
+4227 58000106 setarg 0x0106 
+4228 20406413 call twspi_write 
+4229 5800a105 setarg 0xa105 
+422a 20206413 branch twspi_write 
+
+mouse_sensor_led_off_global:
+422b 70471100 jam 0 ,mem_mouse_sensor_timer_count 
+
+mouse_sensor_led_off:
+422c 58000906 setarg 0x0906 
+422d 20206413 branch twspi_write 
+
+mouse_sensor_start_blink:
+422e 70471105 jam led_sensor_blink_cnt ,mem_mouse_sensor_timer_count 
+422f 70471201 jam ui_led_state_blink_start ,mem_sensor_led_style 
+4230 20600000 rtn 
+
+mouse_check_hid_handshake_timer:
+4231 da604680 arg mem_hid_handshake_timer_count ,regc 
+4232 da40429b arg mouse_bt_hid_handshake ,regb 
+4233 2020336d branch timer_single_step 
+
+mouse_check_discovery_timeout_timer:
+4234 da6046ac arg mem_mouse_discovery_timer ,regc 
+4235 da404264 arg mouse_check_discovery_timeout ,regb 
+4236 20203374 branch timer_single_step_2b 
+
+mouse_check_direct_timeout_timer:
+4237 da6046ae arg mem_mouse_direct_timer ,regc 
+4238 da404266 arg mouse_check_direct_timeout ,regb 
+4239 20203374 branch timer_single_step_2b 
+
+mouse_check_no_data_timeout_timer:
+423a da6046b0 arg mem_mouse_no_data_timer ,regc 
+423b da40426a arg mouse_check_no_data_timeout ,regb 
+423c 20203374 branch timer_single_step_2b 
+
+mouse_check_mouse_state_timer:
+423d da6046c4 arg mem_mouse_statue_led_timer ,regc 
+423e da404478 arg mouse_statue_led_off ,regb 
+423f 2020336d branch timer_single_step 
+
+mouse_le_enable_att_list_timer:
+4240 da6046c6 arg mem_le_start_encrypt_timer ,regc 
+4241 da40425e arg mouse_le_enable_att_list ,regb 
+4242 2020336d branch timer_single_step 
+
+mouse_24g_delay_timer:
+4243 da604704 arg mem_24g_enter_lpm_timer ,regc 
+4244 da404249 arg mouse_24g_delay ,regb 
+4245 2020336d branch timer_single_step 
+
+mouse_ban_24g_pairing_timer:
+4246 da604707 arg mem_24g_pairing_timer_count ,regc 
+4247 da404249 arg mouse_ban_24g_pairing ,regb 
+4248 20203374 branch timer_single_step_2b 
+
+mouse_ban_24g_pairing:
+
+mouse_24g_delay:
+4249 20600000 rtn 
+
+mosue_dpi_led_blink_init:
+424a 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+424b c40b8000 rtnbit0 mouse_enable_dpi_led_blink 
+424c 7046df0a jam 10 ,mem_mouse_dpi_led_delay_count 
+424d 6800c6f4 fetch 1 ,mem_dpi_led_gpio 
+424e 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+424f 20600000 rtn 
+
+mouse_dpi_led_blink_delay_timer:
+4250 da6046df arg mem_mouse_dpi_led_delay_count ,regc 
+4251 da404253 arg mouse_dpi_led_setting ,regb 
+4252 2020336d branch timer_single_step 
+
+mouse_dpi_led_setting:
+4253 6800c6f4 fetch 1 ,mem_dpi_led_gpio 
+4254 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+4255 58000190 setarg led_dpi_blink 
+4256 60014716 store 2 ,mem_mouse_on_time 
+4257 60014718 store 2 ,mem_mouse_off_time 
+4258 da200000 arg 0 ,rega 
+4259 6808c77a fetcht 1 ,mem_mouse_dpi 
+425a 18408401 increase 1 ,temp 
+425b 6008c714 storet 1 ,mem_mouse_blink_count 
+425c 70471301 jam ui_led_state_blink_start ,mem_mouse_led_type 
+425d 20600000 rtn 
+
+mouse_le_enable_att_list:
+425e 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+425f c3810000 rtnbit1 ll_pairing_success_flag 
+4260 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+4261 20407d8f call ui_ipc_send_cmd 
+4262 d8e00000 arg write_req_enable_flag ,queue 
+4263 202041b9 branch mouse_le_enable_connect_flag 
+
+mouse_check_discovery_timeout:
+4264 204042ca call mouse_stop_discovery 
+4265 2020340a branch app_enter_hibernate 
+
+mouse_check_direct_timeout:
+4266 204033f6 call app_ble_stop_direct_adv 
+4267 6800c71e fetch 1 ,mem_reconn_times 
+4268 243a4492 nbranch mouse_polling_device ,blank 
+4269 2020340a branch app_enter_hibernate 
+
+mouse_check_no_data_timeout:
+426a c5137e1d bmark1 mark_24g ,check_51cmd_hibernate 
+426b 20204386 branch mouse_disconnect 
+
+mouse_bb_event_discovery_btn:
+426c 44f5401d bpatch patch1d_2 ,mem_patch1d 
+426d 7046b400 jam 0 ,mem_mouse_send_blank_timer 
+426e 20404386 call mouse_disconnect 
+426f 204041c1 call mouse_le_clean_connect_flag 
+4270 202042b0 branch mouse_start_discovery 
+
+mouse3_0_check_reconn_target:
+4271 680341d0 fetch 6 ,mem_hci_plap 
+4272 203a33eb branch app_bt_start_discovery_short ,blank 
+4273 2040427e call mouse_reconn_setting_led_gpio 
+4274 70016d17 jam 0x17 ,mem_connection_options 
+4275 6800c65a fetch 1 ,mem_ssp_enable 
+4276 243a33e1 nbranch app_bt_start_reconnect ,blank 
+4277 70016d04 jam 0x04 ,mem_connection_options 
+4278 202033e1 branch app_bt_start_reconnect 
+
+mouse4_0_check_reconn_target:
+4279 680146a8 fetch 2 ,mem_mouse_direct_timeout 
+427a 600146ae store 2 ,mem_mouse_direct_timer 
+427b 2040427e call mouse_reconn_setting_led_gpio 
+427c 20403418 call app_lpm_mult_disable 
+427d 20207df4 branch check_51cmd_adv 
+
+mouse_reconn_setting_led_gpio:
+427e 580000c8 setarg led_reconnect_blink 
+427f 60014716 store 2 ,mem_mouse_on_time 
+4280 60014718 store 2 ,mem_mouse_off_time 
+4281 20204285 branch mouse_setting_led_gpio_comman 
+
+mouse_discover_setting_led_gpio:
+4282 580003e8 setarg led_discovery_blink 
+4283 60014716 store 2 ,mem_mouse_on_time 
+4284 60014718 store 2 ,mem_mouse_off_time 
+
+mouse_setting_led_gpio_comman:
+4285 6800c720 fetch 1 ,mem_device_flag 
+4286 c000c28a beq mode_bt_device1 ,mouse_device_led1 
+4287 c001428c beq mode_bt_device2 ,mouse_device_led2 
+4288 c001c28e beq mode_bt_device3 ,mouse_device_led3 
+4289 20600000 rtn 
+
+mouse_device_led1:
+428a 6800c6f0 fetch 1 ,mem_config_device1_led_gpio 
+428b 2020428f branch mouse_led_blink 
+
+mouse_device_led2:
+428c 6800c6f1 fetch 1 ,mem_config_device2_led_gpio 
+428d 2020428f branch mouse_led_blink 
+
+mouse_device_led3:
+428e 6800c6f2 fetch 1 ,mem_config_device3_led_gpio 
+
+mouse_led_blink:
+428f 60008aa2 store 1 ,mem_temp 
+4290 20404482 call mouse_devce_led_off 
+4291 68008aa2 fetch 1 ,mem_temp 
+4292 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+4293 da200000 arg 0 ,rega 
+4294 70471301 jam ui_led_state_blink_start ,mem_mouse_led_type 
+4295 20207d1e branch ui_led_blink_start_global 
+
+mouse_led_off:
+4296 da200000 arg 0 ,rega 
+4297 20207d19 branch ui_led_off_global 
+
+mouse_led_on:
+4298 da200000 arg 0 ,rega 
+4299 20207d14 branch ui_led_on_global 
+
+mouse4_0_bb_event_discovery_btn:
+429a 202041c1 branch mouse_le_clean_connect_flag 
+
+mouse_bt_hid_handshake:
+429b 7041e201 jam app_handshake_done ,mem_app_handshake_flag 
+429c 20403416 call app_lpm_mult_enable 
+429d 20403412 call app_bt_store_reconn_info 
+429e 58000000 setarg 0 
+429f 6001467e store 2 ,mem_discovery_timeout_timer_count 
+42a0 6000c680 store 1 ,mem_hid_handshake_timer_count 
+42a1 2020340e branch app_bt_enter_sniff 
+
+mouse_check_reconn_target:
+42a2 2040435f call mouse_cheak_select_device_by_switch 
+42a3 6800c720 fetch 1 ,mem_device_flag 
+42a4 6808c703 fetcht 1 ,mem_24g_device_number 
+42a5 98467c00 isub temp ,null 
+42a6 2022c2ab branch mouse_connect_24g_mode ,zero 
+42a7 6800c210 fetch 1 ,mem_xrecord_mode 
+42a8 c019c271 beq rec_3_mode ,mouse3_0_check_reconn_target 
+42a9 c01a4279 beq rec_4_mode ,mouse4_0_check_reconn_target 
+42aa 202042b0 branch mouse_start_discovery 
+
+mouse_connect_24g_mode:
+42ab 20403d57 call mouse_start_24g_mode 
+42ac c6130000 rtnmark1 mark_24g 
+42ad 6800c71e fetch 1 ,mem_reconn_times 
+42ae 243a4492 nbranch mouse_polling_device ,blank 
+42af 20600000 rtn 
+
+mouse_start_discovery:
+42b0 44f5c01d bpatch patch1d_3 ,mem_patch1d 
+42b1 68014682 fetch 2 ,mem_ui_state_map 
+42b2 c285c2b7 bbit1 ui_state_ble_adv ,mouse_start_discovery_norandom 
+42b3 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+42b4 c30c42b7 bbit0 mouse_enable_ble_random_addre ,mouse_start_discovery_norandom 
+42b5 180a7e00 random pdata 
+42b6 6000c4a1 store 1 ,mem_le_lap + 1 
+
+mouse_start_discovery_norandom:
+42b7 20403418 call app_lpm_mult_disable 
+42b8 68014687 fetch 2 ,mem_discovery_timeout 
+42b9 600146ac store 2 ,mem_mouse_discovery_timer 
+42ba 70016d06 jam 6 ,mem_connection_options 
+42bb 58000000 setarg 0 
+42bc 600146b0 store 2 ,mem_mouse_no_data_timer 
+42bd 600146ae store 2 ,mem_mouse_direct_timer 
+42be d8e00007 arg mouse_store_eeprom_flag ,queue 
+42bf 204043ce call mouse_enable_function_flag 
+42c0 204043ca call mouse_bt_discovery_button_down_disable 
+42c1 6800c092 fetch 1 ,mem_device_option 
+42c2 2feffe01 isolate1 mode_4_mouse ,pdata 
+42c3 2040fdf4 call check_51cmd_adv ,true 
+42c4 6800c092 fetch 1 ,mem_device_option 
+42c5 2feffe00 isolate1 mode_3_mouse ,pdata 
+42c6 2040fddd call check_51cmd_start_discovery ,true 
+42c7 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+42c8 c28e422e bbit1 mouse_enable_discovery_sensor_led ,mouse_sensor_start_blink 
+42c9 20204282 branch mouse_discover_setting_led_gpio 
+
+mouse_stop_discovery:
+42ca 44f6401d bpatch patch1d_4 ,mem_patch1d 
+42cb 6800c092 fetch 1 ,mem_device_option 
+42cc 2feffe01 isolate1 mode_4_mouse ,pdata 
+42cd 2040c2d4 call mouse_stop_le_adv ,true 
+42ce 6800c092 fetch 1 ,mem_device_option 
+42cf 2feffe00 isolate1 mode_3_mouse ,pdata 
+42d0 2040c2d7 call mouse_stop_bt3_discovery ,true 
+42d1 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+42d2 c28e421a bbit1 mouse_enable_discovery_sensor_led ,mouse_sensor_led_blink_stop 
+42d3 20204482 branch mouse_devce_led_off 
+
+mouse_stop_le_adv:
+42d4 58000000 setarg 0 
+42d5 600146ae store 2 ,mem_mouse_direct_timer 
+42d6 20207dfa branch check_51cmd_stop_adv 
+
+mouse_stop_bt3_discovery:
+42d7 58000000 setarg 0 
+42d8 600146ac store 2 ,mem_mouse_discovery_timer 
+42d9 20207de2 branch check_51cmd_stop_discovery 
+
+mouse_store_remote_bdaddr:
+42da 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+42db c4038000 rtnbit0 mouse_store_eeprom_flag 
+42dc d8e00007 arg mouse_store_eeprom_flag ,queue 
+42dd 204043d2 call mouse_disable_function_flag 
+42de 204042e8 call mouse_check_device_addr 
+
+mouse_unplug_clean_bdaddr:
+42df 204042fb call mouse_before_store_reconn_info 
+42e0 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+42e1 c289c435 bbit1 mouse_enable_flash ,mouse_store_flash_device_info 
+42e2 c28a42e4 bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
+42e3 20600000 rtn 
+
+mouse_store_eeprom_device_info:
+42e4 d8400058 arg 88 ,temp 
+42e5 da204720 arg mem_device_flag ,rega 
+42e6 da400000 arg mouse_info_eeprom_offect ,regb 
+42e7 202065d1 branch iicd_write_protect_eep_data 
+
+mouse_check_device_addr:
+42e8 68008185 fetch 1 ,mem_record_bt_mode 
+42e9 c01a42ec beq rec_4_mode ,mouse_check_le_device_addr 
+42ea c019c2ef beq rec_3_mode ,mouse_check_bt_device_addr 
+42eb 20600000 rtn 
+
+mouse_check_le_device_addr:
+42ec 6000c6c7 store 1 ,mem_device_addr_temp 
+42ed 6803044f fetch 6 ,mem_le_plap 
+42ee 202042f1 branch mouse_check_bt_device_addr_common 
+
+mouse_check_bt_device_addr:
+42ef 6000c6c7 store 1 ,mem_device_addr_temp 
+42f0 68030040 fetch 6 ,mem_plap 
+
+mouse_check_bt_device_addr_common:
+42f1 600346c8 store 6 ,mem_device_addr_temp + 1 
+42f2 6803c6c7 fetch 7 ,mem_device_addr_temp 
+42f3 d8c04721 arg mem_device1_type ,contr 
+42f4 df200003 arg 3 ,loopcnt 
+
+mouse_check_device_addr_end:
+42f5 e8cb8000 ifetcht 7 ,contr 
+42f6 98467c00 isub temp ,null 
+42f7 2022c310 branch mouse_clean_addr ,zero 
+42f8 18c08c16 increase 22 ,contr 
+42f9 c20042f5 loop mouse_check_device_addr_end 
+42fa 20600000 rtn 
+
+mouse_before_store_reconn_info:
+42fb da204721 arg mem_device1_type ,rega 
+42fc 6800c720 fetch 1 ,mem_device_flag 
+42fd 1fe0ffff increase -1 ,pdata 
+42fe 1feffe1d mul32 pdata ,29 ,pdata 
+42ff 9a20a200 iadd rega ,rega 
+4300 68008185 fetch 1 ,mem_record_bt_mode 
+4301 e2208000 istore 1 ,rega 
+4302 c01a4305 beq rec_4_mode ,mouse_store_le_device 
+4303 c019c30c beq rec_3_mode ,mouse_store_bt_device 
+4304 20600000 rtn 
+
+mouse_store_le_device:
+4305 6803044f fetch 6 ,mem_le_plap 
+4306 e0a30000 istore 6 ,contw 
+4307 d8c04419 arg mem_le_ltk ,contr 
+4308 20407ebf call memcpy16 
+4309 680344a0 fetch 6 ,mem_le_lap 
+430a e0a30000 istore 6 ,contw 
+430b 20600000 rtn 
+
+mouse_store_bt_device:
+430c 68030040 fetch 6 ,mem_plap 
+430d e0a30000 istore 6 ,contw 
+430e d8c041be arg mem_link_key ,contr 
+430f 20207ebf branch memcpy16 
+
+mouse_clean_addr:
+4310 18c08dfa increase -6 ,contr 
+4311 18c20a00 copy contr ,contw 
+4312 680b46c8 fetcht 6 ,mem_device_addr_temp + 1 
+4313 18408403 increase 3 ,temp 
+4314 e0ab0000 istoret 6 ,contw 
+4315 20600000 rtn 
+
+mouse_eeprom_load_recon_info:
+4316 d8400058 arg 88 ,temp 
+4317 da204720 arg mem_device_flag ,rega 
+4318 da400000 arg mouse_info_eeprom_offect ,regb 
+4319 204065df call iicd_read_eep_data 
+
+mouse_select_reconn_device:
+431a da204721 arg mem_device1_type ,rega 
+431b 6800c720 fetch 1 ,mem_device_flag 
+431c 6808c703 fetcht 1 ,mem_24g_device_number 
+431d 98467c00 isub temp ,null 
+431e 20628000 rtn zero 
+431f 1fe0ffff increase -1 ,pdata 
+4320 1feffe1d mul32 pdata ,29 ,pdata 
+4321 9a20a200 iadd rega ,rega 
+4322 ea208000 ifetch 1 ,rega 
+4323 6000c210 store 1 ,mem_xrecord_mode 
+4324 c019c327 beq rec_3_mode ,mouse_load_bt_device 
+4325 c01a432c beq rec_4_mode ,mouse_load_le_device 
+4326 20600000 rtn 
+
+mouse_load_bt_device:
+4327 e8c30000 ifetch 6 ,contr 
+
+mouse_load_bt_device_end:
+4328 600341d0 store 6 ,mem_hci_plap 
+4329 d8a041be arg mem_link_key ,contw 
+432a 20407ebf call memcpy16 
+432b 202067d7 branch check_link_key_load 
+
+mouse_load_le_device:
+432c e8c30000 ifetch 6 ,contr 
+
+mouse_load_le_device_end:
+432d 600341d0 store 6 ,mem_hci_plap 
+432e d8a04419 arg mem_le_ltk ,contw 
+432f 20407ebf call memcpy16 
+4330 e8c30000 ifetch 6 ,contr 
+4331 600344a0 store 6 ,mem_le_lap 
+4332 20600000 rtn 
+
+mouse_select_device:
+4333 6800c6f5 fetch 1 ,mem_config_function_enable 
+4334 c282c349 bbit1 enable_select_device_by_gpio_button ,mouse_select_device_by_button 
+4335 c2834359 bbit1 enable_select_device_by_switch ,mouse_select_device_by_switch 
+4336 20204337 branch mouse_select_device_by_combination_key 
+
+mouse_select_device_by_combination_key:
+4337 20404083 call mouse_check_key_gpio 
+4338 c003433e beq mouse_rm_button ,mouse_select_device_commbination_key_down 
+
+mouse_select_device_commbination_key_up:
+4339 7046d81e jam 30 ,mem_combination_select_device_count 
+433a 6800c6d9 fetch 1 ,mem_select_device_button_statue 
+433b c1008000 rtneq dpi_button_state_up 
+433c 7046d901 jam dpi_button_state_up ,mem_select_device_button_statue 
+433d 20600000 rtn 
+
+mouse_select_device_commbination_key_down:
+433e 20404343 call mouse_combination_select_device_timer 
+433f 6800c6d9 fetch 1 ,mem_select_device_button_statue 
+4340 c1000000 rtneq dpi_button_state_down 
+4341 7046d900 jam dpi_button_state_down ,mem_select_device_button_statue 
+4342 202043c0 branch mouse_select_device_enable 
+
+mouse_combination_select_device_timer:
+4343 6800c6d8 fetch 1 ,mem_combination_select_device_count 
+4344 207a0000 rtn blank 
+4345 1fe0ffff pincrease -1 
+4346 6000c6d8 store 1 ,mem_combination_select_device_count 
+4347 247a0000 nrtn blank 
+4348 20204370 branch mouse_ready_reconnection_by_button 
+
+mouse_select_device_by_button:
+4349 6800c6ed fetch 1 ,mem_config_select_device_button_gpio 
+434a c17f8000 rtneq gpio_disable 
+434b 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+434c 2040681d call gpio_get_bit 
+434d 2020c354 branch mouse_select_device_button_down ,true 
+
+mouse_select_device_button_up:
+434e 6800c6d9 fetch 1 ,mem_select_device_button_statue 
+434f c1008000 rtneq dpi_button_state_up 
+4350 7046d901 jam dpi_button_state_up ,mem_select_device_button_statue 
+4351 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+4352 c3830000 rtnbit1 mouse_long_bt_button_flag 
+4353 20204370 branch mouse_ready_reconnection_by_button 
+
+mouse_select_device_button_down:
+4354 6800c6d9 fetch 1 ,mem_select_device_button_statue 
+4355 c1000000 rtneq dpi_button_state_down 
+4356 7046d900 jam dpi_button_state_down ,mem_select_device_button_statue 
+4357 d8e00006 arg mouse_long_bt_button_flag ,queue 
+4358 202043d2 branch mouse_disable_function_flag 
+
+mouse_select_device_by_switch:
+4359 68008004 fetch 1 ,mouse_flag_len ,mem_mouse_flag 
+435a c4030000 rtnbit0 enable_select_device_by_switch 
+435b 6800c720 fetch 1 ,mem_device_flag 
+435c c000c369 beq mode_bt_device1 ,mouse_select1_device 
+435d c001436c beq mode_24g_device ,mouse_select2_device 
+435e 20600000 rtn 
+
+mouse_cheak_select_device_by_switch:
+435f 68008004 fetch 1 ,mouse_flag_len ,mem_mouse_flag 
+4360 c4030000 rtnbit0 enable_select_device_by_switch 
+4361 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+4362 2040681d call gpio_get_bit 
+4363 2020c366 branch mouse_cheak_select_24gdevice ,true 
+
+mouse_select_btdevice:
+4364 70472001 jam mode_bt_device1 ,mem_device_flag 
+4365 20600000 rtn 
+
+mouse_cheak_select_24gdevice:
+4366 6800c703 fetch 1 ,mem_24g_device_number 
+4367 6000c720 store 1 ,mem_device_flag 
+4368 20600000 rtn 
+
+mouse_select1_device:
+4369 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+436a 2420c370 nbranch mouse_ready_reconnection_by_button ,true 
+436b 20600000 rtn 
+
+mouse_select2_device:
+436c 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+436d 2040681d call gpio_get_bit 
+436e 2020c354 branch mouse_select_device_button_down ,true 
+436f 20600000 rtn 
+
+mouse_ready_reconnection_by_button:
+4370 6808c720 fetcht 1 ,mem_device_flag 
+4371 18408401 increase 1 ,temp 
+4372 6800c6d2 fetch 1 ,mem_device_number 
+4373 98467c00 isub temp ,null 
+4374 244143cc ncall mouse_select_device_count_clean ,positive 
+4375 6008c720 storet 1 ,mem_device_flag 
+4376 7041bd00 jam 0 ,mem_link_key_exists 
+4377 2040437a call mouse_store_device_number2eeprom 
+4378 204043c0 call mouse_select_device_enable 
+4379 2020437e branch mouse_set_reconnection 
+
+mouse_store_device_number2eeprom:
+437a d8400001 arg 1 ,temp 
+437b da204720 arg mem_device_flag ,rega 
+437c da400000 arg 0 ,regb 
+437d 20206606 branch iicd_write_eep_data 
+
+mouse_set_reconnection:
+437e 20404381 call mouse_stop_bluetooth_mode 
+437f 204043c2 call mouse_select_device_disable 
+4380 202041d7 branch mouse_soft_reset 
+
+mouse_stop_bluetooth_mode:
+4381 68014682 fetch 2 ,mem_ui_state_map 
+4382 c283c392 bbit1 ui_state_bt_reconnect ,mouse_cancel_reconnect 
+4383 c284b402 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+4384 c28033e9 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+4385 202042ca branch mouse_stop_discovery 
+
+mouse_disconnect:
+4386 44f6c01d bpatch patch1d_5 ,mem_patch1d 
+4387 58000000 setarg 0 
+4388 600146b0 store 2 ,mem_mouse_no_data_timer 
+4389 68014682 fetch 2 ,mem_ui_state_map 
+438a c284b402 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+438b 68014682 fetch 2 ,mem_ui_state_map 
+438c c28033e9 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+438d 20600000 rtn 
+
+mouse_irtual_cable_unplug:
+438e 58000001 setarg 0x01 
+438f 60030040 store 6 ,mem_plap 
+4390 70018533 jam rec_3_mode ,mem_record_bt_mode 
+4391 202042df branch mouse_unplug_clean_bdaddr 
+
+mouse_cancel_reconnect:
+4392 204043c4 call mouse_bt_cannel_reconn_enable 
+4393 20207e2f branch check_51cmd_bb_reconn_cancel 
+
+mouse_bt_discovery_by_button:
+4394 6800c6ec fetch 1 ,mem_config_bt_button_gpio 
+4395 c17f8000 rtneq gpio_disable 
+4396 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
+4397 2040681d call gpio_get_bit 
+4398 2020c39f branch mouse_bt_discovery_button_down ,true 
+
+mouse_bt_discovery_button_up:
+4399 6800c685 fetch 1 ,mem_ui_button_timeout 
+439a 6000c6da store 1 ,mem_combination_ui_button_count 
+439b 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
+439c c1008000 rtneq dpi_button_state_up 
+439d 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
+439e 202043ca branch mouse_bt_discovery_button_down_disable 
+
+mouse_bt_discovery_button_down:
+439f 204043b5 call mouse_bt_discovry_timer 
+43a0 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
+43a1 c1000000 rtneq dpi_button_state_down 
+43a2 7046db00 jam dpi_button_state_down ,mem_bt_discovey_button_statue 
+43a3 20407e2f call check_51cmd_bb_reconn_cancel 
+43a4 202043c8 branch mouse_bt_discovery_button_down_enable 
+
+mouse_bt_discovery_cheak:
+43a5 6800c6f5 fetch 1 ,mem_config_function_enable 
+43a6 c2824394 bbit1 enable_bt_button ,mouse_bt_discovery_by_button 
+
+mouse_bt_discovery_commbination_key:
+43a7 20404083 call mouse_check_key_gpio 
+43a8 c003c3af beq mouse_lmr_button ,mouse_bt_discovery_commbination_key_down 
+
+mouse_bt_discovery_commbination_key_up:
+43a9 6800c685 fetch 1 ,mem_ui_button_timeout 
+43aa 6000c6da store 1 ,mem_combination_ui_button_count 
+43ab 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
+43ac c1008000 rtneq dpi_button_state_up 
+43ad 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
+43ae 202043ca branch mouse_bt_discovery_button_down_disable 
+
+mouse_bt_discovery_commbination_key_down:
+43af 204043b5 call mouse_bt_discovry_timer 
+43b0 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
+43b1 c1000000 rtneq dpi_button_state_down 
+43b2 7046db00 jam dpi_button_state_down ,mem_bt_discovey_button_statue 
+43b3 20407e2f call check_51cmd_bb_reconn_cancel 
+43b4 202043c8 branch mouse_bt_discovery_button_down_enable 
+
+mouse_bt_discovry_timer:
+43b5 da6046da arg mem_combination_ui_button_count ,regc 
+43b6 da4043b8 arg mouse_long_button_bt_discovry ,regb 
+43b7 2020336d branch timer_single_step 
+
+mouse_long_button_bt_discovry:
+43b8 d8e00006 arg mouse_long_bt_button_flag ,queue 
+43b9 204043ce call mouse_enable_function_flag 
+43ba 20403357 call app_evt_button_long_pressed 
+43bb 2020426c branch mouse_bb_event_discovery_btn 
+
+mouse_cpi_enable:
+43bc d8e00001 arg mouse_cpi_flag ,queue 
+43bd 202043ce branch mouse_enable_function_flag 
+
+mouse_cpi_disable:
+43be d8e00001 arg mouse_cpi_flag ,queue 
+43bf 202043d2 branch mouse_disable_function_flag 
+
+mouse_select_device_enable:
+43c0 d8e00000 arg mouse_select_device_flag ,queue 
+43c1 202043ce branch mouse_enable_function_flag 
+
+mouse_select_device_disable:
+43c2 d8e00000 arg mouse_select_device_flag ,queue 
+43c3 202043d2 branch mouse_disable_function_flag 
+
+mouse_bt_cannel_reconn_enable:
+43c4 d8e00002 arg mouse_bt_cannel_reconn_flag ,queue 
+43c5 202043ce branch mouse_enable_function_flag 
+
+mouse_bt_cannel_reconn_disable:
+43c6 d8e00002 arg mouse_bt_cannel_reconn_flag ,queue 
+43c7 202043d2 branch mouse_disable_function_flag 
+
+mouse_bt_discovery_button_down_enable:
+43c8 d8e00005 arg mouse_bt_discovery_button_down_flag ,queue 
+43c9 202043ce branch mouse_enable_function_flag 
+
+mouse_bt_discovery_button_down_disable:
+43ca d8e00005 arg mouse_bt_discovery_button_down_flag ,queue 
+43cb 202043d2 branch mouse_disable_function_flag 
+
+mouse_select_device_count_clean:
+43cc d8400001 arg 1 ,temp 
+43cd 20600000 rtn 
+
+mouse_enable_function_flag:
+43ce 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+43cf f9207e00 qset1 pdata 
+43d0 600246d3 store mouse_flag_len ,mem_mouse_flag 
+43d1 20600000 rtn 
+
+mouse_disable_function_flag:
+43d2 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+43d3 f93ffe00 qset0 pdata 
+43d4 600246d3 store mouse_flag_len ,mem_mouse_flag 
+43d5 20600000 rtn 
+
+mouse_adc_read:
+43d6 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+43d7 c40d0000 rtnbit0 mouse_enable_adc 
+43d8 6800c6ce fetch 1 ,mem_adc_read_timer 
+43d9 1fe0fe01 increase 1 ,pdata 
+43da 6000c6ce store 1 ,mem_adc_read_timer 
+43db 1fe67c0a sub pdata ,10 ,null 
+43dc 20610000 rtn positive 
+43dd 7046ce00 jam 0 ,mem_adc_read_timer 
+43de 204068eb call adc_set_mode 
+43df 20406908 call vdd_calculate_by_mode 
+43e0 6001470f store 2 ,mem_mouse_vdd_now_vol 
+43e1 da204709 arg mem_mouse_vdd_calculate_set ,rega 
+43e2 20406930 call adc_bat_percent_lowpower_out 
+43e3 6800c231 fetch 1 ,mem_adc_power_flag 
+43e4 c280c4a0 bbit1 1 ,mouse_power_down 
+43e5 c30043e9 bbit0 0 ,mouse_adc_no_low_voltage 
+43e6 202043e7 branch mouse_adc_low_voltage 
+
+mouse_adc_low_voltage:
+43e7 d8e00004 arg mouse_low_voltage_flag ,queue 
+43e8 202043ce branch mouse_enable_function_flag 
+
+mouse_adc_no_low_voltage:
+43e9 d8e00004 arg mouse_low_voltage_flag ,queue 
+43ea 202043d2 branch mouse_disable_function_flag 
+
+mouse_low_voltage_led_timer:
+43eb 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+43ec c4020000 rtnbit0 mouse_low_voltage_flag 
+43ed 6800c6ef fetch 1 ,mem_config_low_voltage_alarm_gpio 
+43ee 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+43ef 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
+43f0 1fe0fe01 pincrease 1 
+43f1 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
+43f2 1fe67c14 sub pdata ,20 ,null 
+43f3 244143f9 ncall mouse_adc_low_volatage_led_timer_count_clean ,positive 
+43f4 c00143fb beq 2 ,mouse_low_voltage_led_on 
+43f5 c00243fe beq 4 ,mouse_low_voltage_led_off 
+43f6 c00343fb beq 6 ,mouse_low_voltage_led_on 
+43f7 c00443fe beq 8 ,mouse_low_voltage_led_off 
+43f8 20600000 rtn 
+
+mouse_adc_low_volatage_led_timer_count_clean:
+43f9 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
+43fa 202043fe branch mouse_low_voltage_led_off 
+
+mouse_low_voltage_led_on:
+43fb da200000 arg 0 ,rega 
+43fc 70471302 jam ui_led_state_lighting ,mem_mouse_led_type 
+43fd 20207d14 branch ui_led_on_global 
+
+mouse_low_voltage_led_off:
+43fe da200000 arg 0 ,rega 
+43ff 70471302 jam ui_led_state_lighting ,mem_mouse_led_type 
+4400 20207d19 branch ui_led_off_global 
+
+mouse_g24_package_data:
+4401 20403f97 call mouse_motion 
+4402 24740000 nrtn user 
+4403 da200007 arg 7 ,rega 
+4404 da40469a arg mem_mouse_key ,regb 
+4405 20600000 rtn 
+
+mouse_g24_enter_lpm:
+4406 6800c78b fetch 1 ,mem_mouse_24g_enter_lpm_enable 
+4407 207a0000 rtn blank 
+4408 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+4409 2040681d call gpio_get_bit 
+440a 2040c410 call mouse_24g_dpi_delay_init ,true 
+440b 6800c704 fetch 1 ,mem_24g_enter_lpm_timer 
+440c 247a0000 nrtn blank 
+440d 20404083 call mouse_check_key_gpio 
+440e 247a0000 nrtn blank 
+440f 20202d83 branch g24_lpm_long_sleep 
+
+mouse_24g_dpi_delay_init:
+4410 6800c6e7 fetch 1 ,mem_dpi_button_gpio 
+4411 c17f8000 rtneq ui_button_gpio_disable 
+4412 7047040a jam 10 ,mem_24g_enter_lpm_timer 
+4413 20600000 rtn 
+
+mouse_load_flash_info_cheak:
+4414 20404423 call mouse_load_flash_flag 
+4415 68014778 fetch 2 ,mem_store_flag 
+4416 d840aa55 arg eeprom_init_flag ,temp 
+4417 98467c00 isub temp ,null 
+4418 2022c42b branch mouse_load_flash_device_info ,zero 
+4419 60094778 storet 2 ,mem_store_flag 
+441a 2040441c call mouse_ble_init_address 
+441b 20204435 branch mouse_store_flash_device_info 
+
+mouse_ble_init_address:
+441c 680344a0 fetch 6 ,mem_le_lap 
+441d 60034738 store 6 ,mem_device1_locall_addr 
+441e 1fe0ff00 add pdata ,0x0100 ,pdata 
+441f 60034755 store 6 ,mem_device2_locall_addr 
+4420 1fe0ff00 add pdata ,0x0100 ,pdata 
+4421 60034772 store 6 ,mem_device3_locall_addr 
+4422 20600000 rtn 
+
+mouse_load_flash_flag:
+4423 58004778 setarg mem_store_flag 
+4424 d8404720 arg mem_mouse_information_start ,temp 
+4425 98460400 isub temp ,temp 
+4426 6801c700 fetch 3 ,mem_flash_base 
+4427 9840fe00 iadd temp ,pdata 
+4428 d8400002 arg 2 ,temp 
+4429 da204778 arg mem_store_flag ,rega 
+442a 20206562 branch spid_read_flash 
+
+mouse_load_flash_device_info:
+442b 5800477f setarg mem_mouse_information_end 
+442c d8404720 arg mem_mouse_information_start ,temp 
+442d 98460400 isub temp ,temp 
+442e 6801c700 fetch 3 ,mem_flash_base 
+442f da204720 arg mem_mouse_information_start ,rega 
+4430 20406562 call spid_read_flash 
+4431 2040431a call mouse_select_reconn_device 
+4432 6802477b fetch 4 ,mem_mouse_24g_addr 
+4433 20402c7a call g24_head_ptr2regc 
+4434 2020322c branch g24_store_mem_addr 
+
+mouse_store_flash_device_info:
+4435 5800477f setarg mem_mouse_information_end 
+4436 d8404720 arg mem_mouse_information_start ,temp 
+4437 98460400 isub temp ,temp 
+4438 da204720 arg mem_mouse_information_start ,rega 
+4439 6801c700 fetch 3 ,mem_flash_base 
+443a 20206514 branch flash_write 
+
+mouse_store_eerpom_dpi:
+443b d8400001 arg 1 ,temp 
+443c da20477a arg mem_mouse_dpi ,rega 
+443d da40005a arg mouse_dpi_eeprom_offect ,regb 
+443e 202065d1 branch iicd_write_protect_eep_data 
+
+mouse_load_eeprom_dpi:
+443f d8400001 arg 1 ,temp 
+4440 da20477a arg mem_mouse_dpi ,rega 
+4441 da40005a arg mouse_dpi_eeprom_offect ,regb 
+4442 202065df branch iicd_read_eep_data 
+
+mouse_statue_cheak_timer:
+4443 c6130000 rtnmark1 mark_24g 
+4444 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+4445 c40b0000 rtnbit0 mouse_enable_statue_up 
+4446 6800c705 fetch 1 ,mem_mouse_1step_up_count 
+4447 1fe0fe01 pincrease 1 
+4448 1fe17e07 and pdata ,0x07 ,pdata 
+4449 6000c705 store 1 ,mem_mouse_1step_up_count 
+444a c1838000 rtnne 0x07 
+444b 68014682 fetch 2 ,mem_ui_state_map 
+444c c280444f bbit1 ui_state_bt_connected ,mouse_check_statue_up 
+444d c284c44f bbit1 ui_state_ble_connected ,mouse_check_statue_up 
+444e 20600000 rtn 
+
+mouse_check_statue_up:
+444f 44f7401d bpatch patch1d_6 ,mem_patch1d 
+4450 6800c706 fetch 1 ,mem_mouse_2step_up_count 
+4451 247a0000 nrtn blank 
+4452 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+4453 c4040000 rtnbit0 mouse_statue_up_flag 
+4454 6800c6a5 fetch 1 ,mem_sensor_squal_reg 
+4455 204063fb call sensor_read 
+4456 6000c6a6 store 1 ,mem_sensor_iqc 
+4457 1fe67c10 sub pdata ,0x10 ,null 
+4458 2021445b branch mouse_statue_up_timer_init ,positive 
+4459 70470600 jam 0 ,mem_mouse_2step_up_count 
+445a 20600000 rtn 
+
+mouse_statue_up_timer_init:
+445b 7047061e jam 30 ,mem_mouse_2step_up_count 
+445c 20600000 rtn 
+
+mouse_statue_up_timer:
+445d da604706 arg mem_mouse_2step_up_count ,regc 
+445e da404460 arg mouse_statue_up ,regb 
+445f 2020336d branch timer_single_step 
+
+mouse_statue_up:
+4460 6800c6a5 fetch 1 ,mem_sensor_squal_reg 
+4461 20406414 call twspi_read 
+4462 1fe67c10 sub pdata ,0x10 ,null 
+4463 24610000 nrtn positive 
+4464 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+4465 c4040000 rtnbit0 mouse_statue_up_flag 
+4466 d8e00008 arg mouse_statue_up_flag ,queue 
+4467 204043d2 call mouse_disable_function_flag 
+4468 70417200 jam 0 ,mem_lpm_mult 
+4469 7046c41e jam 30 ,mem_mouse_statue_led_timer 
+446a 20404482 call mouse_devce_led_off 
+446b 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+446c c28ac471 bbit1 mouse_enable_statue_up_three_led ,mouse_three_device_statue_up 
+
+mouse_two_device_statue_up:
+446d 6800c720 fetch 1 ,mem_device_flag 
+446e c000c489 beq mode_bt_device1 ,mouse_device1_led_on 
+446f c0014476 beq mode_bt_device2 ,mouse_device_blink_led_init 
+4470 20600000 rtn 
+
+mouse_three_device_statue_up:
+4471 6800c720 fetch 1 ,mem_device_flag 
+4472 c000c489 beq mode_bt_device1 ,mouse_device1_led_on 
+4473 c001448c beq mode_bt_device2 ,mouse_device2_led_on 
+4474 c001c48f beq mode_bt_device3 ,mouse_device3_led_on 
+4475 20600000 rtn 
+
+mouse_device_blink_led_init:
+4476 6800c6f0 fetch 1 ,mem_config_device1_led_gpio 
+4477 2020428f branch mouse_led_blink 
+
+mouse_statue_led_off:
+4478 70417220 jam 0x20 ,mem_lpm_mult 
+4479 20204482 branch mouse_devce_led_off 
+
+mouse_devce1_led_off:
+447a 6800c6f0 fetch 1 ,mem_config_device1_led_gpio 
+447b c17f8000 rtneq gpio_disable 
+447c 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+447d 20204296 branch mouse_led_off 
+
+mouse_devce2_led_off:
+447e 6800c6f1 fetch 1 ,mem_config_device2_led_gpio 
+447f c17f8000 rtneq gpio_disable 
+4480 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+4481 20204296 branch mouse_led_off 
+
+mouse_devce_led_off:
+4482 20404296 call mouse_led_off 
+4483 2040447a call mouse_devce1_led_off 
+4484 2040447e call mouse_devce2_led_off 
+
+mouse_devce3_led_off:
+4485 6800c6f2 fetch 1 ,mem_config_device3_led_gpio 
+4486 c17f8000 rtneq gpio_disable 
+4487 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+4488 20204296 branch mouse_led_off 
+
+mouse_device1_led_on:
+4489 6800c6f0 fetch 1 ,mem_config_device1_led_gpio 
+448a 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+448b 20204298 branch mouse_led_on 
+
+mouse_device2_led_on:
+448c 6800c6f1 fetch 1 ,mem_config_device2_led_gpio 
+448d 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+448e 20204298 branch mouse_led_on 
+
+mouse_device3_led_on:
+448f 6800c6f2 fetch 1 ,mem_config_device3_led_gpio 
+4490 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+4491 20204298 branch mouse_led_on 
+
+mouse_polling_device:
+4492 44f7c01d bpatch patch1d_7 ,mem_patch1d 
+4493 6800c71e fetch 1 ,mem_reconn_times 
+4494 1fe0ffff increase -1 ,pdata 
+4495 6000c71e store 1 ,mem_reconn_times 
+4496 6808c720 fetcht 1 ,mem_device_flag 
+4497 18408401 increase 1 ,temp 
+4498 6800c6d2 fetch 1 ,mem_device_number 
+4499 98467c00 isub temp ,null 
+449a 244143cc ncall mouse_select_device_count_clean ,positive 
+449b 6008c720 storet 1 ,mem_device_flag 
+449c 7041bd00 jam 0 ,mem_link_key_exists 
+449d 2040437a call mouse_store_device_number2eeprom 
+449e 204042fb call mouse_before_store_reconn_info 
+449f 202042a2 branch mouse_check_reconn_target 
+
+mouse_power_down:
+44a0 20404482 call mouse_devce_led_off 
+44a1 58000000 setarg 0 
+44a2 600400a1 store 8 ,mem_gpio_wakeup_low 
+44a3 20202b1f branch lpm_hibernate 
+
+remote_car_init:
+44a4 20758000 rtn wake 
+44a5 68108081 hfetch 1 ,core_gpio_sel1 
+44a6 1fe17ef0 and_into 0xf0 ,pdata 
+44a7 60108081 hstore 1 ,core_gpio_sel1 
+44a8 20406948 call keyscan_key_init 
+44a9 580044e6 setarg remote_car_le_before_hibernate 
+44aa 600141eb store 2 ,mem_cb_before_hibernate 
+44ab 580044e9 setarg remote_car_process_lpm_before 
+44ac 600141ed store 2 ,mem_cb_before_lpm 
+44ad 580044ef setarg remote_car_scale_process_idle 
+44ae 600141f3 store 2 ,mem_cb_idle_process 
+44af 580044f2 setarg remote_car_scale_process_bb_event 
+44b0 600141f5 store 2 ,mem_cb_bb_event_process 
+44b1 580033d0 setarg app_get_lpm_wake_lock 
+44b2 600141e9 store 2 ,mem_cb_check_wakelock 
+44b3 20402c7a call g24_head_ptr2regc 
+44b4 580045c2 setarg remote_car_g24_package_data 
+44b5 1a608ad8 add regc ,offset_24g_cb_data ,contw 
+44b6 e0a10000 istore 2 ,contw 
+44b7 580044ea setarg remote_car_g24_enter_lpm 
+44b8 1a608ada add regc ,offset_24g_cb_lpm_prepare ,contw 
+44b9 e0a10000 istore 2 ,contw 
+44ba 580044e9 setarg remote_car_process_lpm_before 
+44bb 1a608adc add regc ,offset_24g_cb_lpm_before ,contw 
+44bc e0a10000 istore 2 ,contw 
+44bd 5800450e setarg remote_car_event_timer 
+44be 600141fd store 2 ,mem_cb_event_timer 
+44bf 580044da setarg remote_car_power_off_signal 
+44c0 6001475b store 2 ,mem_remote_car_power_off_cb 
+44c1 580044d6 setarg remote_car_soft_switch_power_on_signal 
+44c2 6001475f store 2 ,mem_remote_car_power_standby_cb 
+44c3 58004560 setarg remote_car_send_key_data 
+44c4 6001470f store 2 ,mem_cb_remote_car_keyscan 
+44c5 44f8401e bpatch patch1e_0 ,mem_patch1e 
+44c6 204044e2 call remote_car_init_environment 
+44c7 20407e38 call queue_init 
+44c8 70417202 jam 2 ,mem_lpm_mult 
+44c9 6800c72b fetch 1 ,mem_remote_car_config_soft_switch_enable 
+44ca 6000c69a store 1 ,mem_remote_car_hard_soft_switch 
+44cb c00044d5 beq hard_switch ,remote_car_hard_switch_power_on_signal 
+44cc 6800c72c fetch 1 ,mem_remote_car_config_soft_switch_gpio 
+44cd 6000c686 store 1 ,mem_ui_button_gpio 
+
+remote_car_soft_switch_power_on_init:
+44ce 204044db call remote_car_ui_led_init 
+44cf 20407cd3 call ui_button_init 
+44d0 20407cdd call ui_button_polling 
+44d1 70475701 jam power_starting ,mem_remote_car_power_state 
+44d2 68014682 fetch 2 ,mem_ui_state_map 
+44d3 c3860000 rtnbit1 ui_state_btn_down 
+44d4 2020340a branch app_enter_hibernate 
+
+remote_car_hard_switch_power_on_signal:
+44d5 70475702 jam power_standby ,mem_remote_car_power_state 
+
+remote_car_soft_switch_power_on_signal:
+44d6 204044db call remote_car_ui_led_init 
+44d7 da200000 arg 0 ,rega 
+44d8 20407d1e call ui_led_blink_start_global 
+
+remote_car_connect_24g_mode:
+44d9 20202ee4 branch g24_auto_pair_start 
+
+remote_car_power_off_signal:
+44da 202044db branch remote_car_ui_led_init 
+
+remote_car_ui_led_init:
+44db 44f8c01e bpatch patch1e_1 ,mem_patch1e 
+44dc 6800c729 fetch 1 ,mem_remote_car_config_connect_led_gpio 
+44dd c0ffc4e0 bne invalid_pin_num ,remote_car_pairing_led_gpio_set 
+
+remote_car_ui_led_init_1:
+44de 6808c706 fetcht 1 ,mem_remote_car_led_map 
+44df 2020680e branch gpio_config_output 
+
+remote_car_pairing_led_gpio_set:
+44e0 6000c706 store 1 ,mem_remote_car_led_map 
+44e1 202044de branch remote_car_ui_led_init_1 
+
+remote_car_init_environment:
+44e2 20402c9d call g24_set_device_addr 
+44e3 68014753 fetch 2 ,mem_remote_car_no_data_timeout 
+44e4 60014755 store 2 ,mem_remote_car_no_data_timer 
+44e5 20204515 branch remote_car_get_adc_default_data 
+
+remote_car_le_before_hibernate:
+
+remote_car_in_enter_hibernate:
+44e6 20406835 call gpio_set_before_lpm_common 
+44e7 204044e9 call remote_car_process_lpm_before 
+44e8 2020340a branch app_enter_hibernate 
+
+remote_car_process_lpm_before:
+44e9 2020696c branch keyscan_process_lpm_before 
+
+remote_car_g24_enter_lpm:
+44ea 6800c765 fetch 1 ,mem_remote_car_24g_enter_lpm_enable 
+44eb 207a0000 rtn blank 
+44ec 20202d83 branch g24_lpm_long_sleep 
+
+remote_car_process_auto_pair_exit:
+44ed 20600000 rtn 
+
+remote_car_key_scan_process:
+44ee 20206978 branch keyscan_key_process 
+
+remote_car_scale_process_idle:
+44ef 20404544 call remote_car_rocker_process 
+44f0 20404503 call remote_car_24g_status_process 
+44f1 202044ee branch remote_car_key_scan_process 
+
+remote_car_scale_process_bb_event:
+44f2 1a627e00 copy regc ,pdata 
+44f3 c016b431 beq bt_evt_button_up ,app_event_button_up 
+44f4 c008341a beq bt_evt_button_long_pressed ,app_button_long_pressed 
+44f5 c01cc4fb beq bt_evt_24g_pairing_complete ,remote_car_24g_pairing_complete 
+44f6 c01e44ff beq bt_evt_24g_attempt_success ,remote_car_24g_attempt_success 
+44f7 c01d44f9 beq bt_evt_24g_attempt_fail ,remote_car_24g_attempt_fail 
+44f8 20600000 rtn 
+
+remote_car_24g_attempt_fail:
+44f9 70476501 jam 1 ,mem_remote_car_24g_enter_lpm_enable 
+44fa 20600000 rtn 
+
+remote_car_24g_pairing_complete:
+44fb 70476501 jam 1 ,mem_remote_car_24g_enter_lpm_enable 
+44fc 70476301 jam work_paired ,mem_remote_car_24g_auto_work_step 
+44fd 70476401 jam work_paired ,mem_remote_car_24g_pair_success_flag 
+44fe 20600000 rtn 
+
+remote_car_24g_attempt_success:
+44ff 70476501 jam 1 ,mem_remote_car_24g_enter_lpm_enable 
+4500 70476301 jam work_paired ,mem_remote_car_24g_auto_work_step 
+4501 70476401 jam work_paired ,mem_remote_car_24g_pair_success_flag 
+4502 20600000 rtn 
+
+remote_car_24g_status_process:
+4503 6800c763 fetch 1 ,mem_remote_car_24g_auto_work_step 
+4504 c1000000 rtneq power_on 
+4505 6800c762 fetch 1 ,mem_remote_car_24g_status 
+4506 c1008000 rtneq work_paired 
+4507 70476201 jam work_paired ,mem_remote_car_24g_status 
+
+remote_car_scale_process_paired:
+4508 da200000 arg 0 ,rega 
+4509 20207d19 branch ui_led_off_global 
+
+remote_car_scale_process_shutdown:
+450a da200000 arg 0 ,rega 
+450b 20407d19 call ui_led_off_global 
+450c 204044db call remote_car_ui_led_init 
+450d 2020340a branch app_enter_hibernate 
+
+remote_car_event_timer:
+450e 2040337b call app_power_timer 
+450f 20204510 branch remote_car_no_data_timer 
+
+remote_car_no_data_timer:
+4510 6800c72d fetch 1 ,mem_remote_car_config_timeout_shutdown_enable 
+4511 207a0000 rtn blank 
+4512 da604755 arg mem_remote_car_no_data_timer ,regc 
+4513 da40450a arg remote_car_scale_process_shutdown ,regb 
+4514 20203374 branch timer_single_step_2b 
+
+remote_car_get_adc_default_data:
+4515 2040451a call remote_car_rocker_get_x 
+4516 6009471a storet 2 ,mem_current_vdd_value_default_mid_x 
+4517 2040451f call remote_car_rocker_get_y 
+4518 6009471c storet 2 ,mem_current_vdd_value_default_mid_y 
+4519 20600000 rtn 
+
+remote_car_rocker_data_get:
+
+remote_car_rocker_get_x:
+451a 6801471a fetch 2 ,mem_current_vdd_value_default_mid_x 
+451b 6001471e store 2 ,mem_current_vdd_value_default_mid_temp 
+451c 20404540 call remote_car_get_adc_from_gpio6 
+451d 20404525 call remote_car_rocker_get_value 
+451e 6000c724 store 1 ,mem_rocker_status 
+
+remote_car_rocker_get_y:
+451f 6801471c fetch 2 ,mem_current_vdd_value_default_mid_y 
+4520 6001471e store 2 ,mem_current_vdd_value_default_mid_temp 
+4521 20404542 call remote_car_get_adc_from_gpio7 
+4522 20404525 call remote_car_rocker_get_value 
+4523 6000c725 store 1 ,mem_rocker_status + 1 
+4524 20600000 rtn 
+
+remote_car_rocker_get_value:
+4525 68014720 fetch 2 ,mem_current_vdd_default_range 
+4526 1fe22200 copy pdata ,rega 
+4527 6801471e fetch 2 ,mem_current_vdd_value_default_mid_temp 
+4528 2040452e call remote_car_rocker_mid_value_adjust 
+4529 6800c719 fetch 1 ,mem_rocker_work_status 
+452a 243a4537 nbranch remote_car_rocker_translate_key ,blank 
+452b 24610000 nrtn positive 
+452c 6809471e fetcht 2 ,mem_current_vdd_value_default_mid_temp 
+452d 20600000 rtn 
+
+remote_car_rocker_mid_value_adjust:
+452e 98467e00 isub temp ,pdata 
+452f 20214534 branch remote_car_rocker_mid_adjust_positive ,positive 
+4530 1fe67e00 sub pdata ,0 ,pdata 
+4531 70471801 jam 1 ,mem_rocker_negative_flag 
+4532 9a267c00 isub rega ,null 
+4533 20600000 rtn 
+
+remote_car_rocker_mid_adjust_positive:
+4534 70471800 jam 0 ,mem_rocker_negative_flag 
+4535 9a267c00 isub rega ,null 
+4536 20600000 rtn 
+
+remote_car_rocker_translate_key:
+4537 2421453e nbranch remote_car_rocker_middle_key ,positive 
+4538 6800c718 fetch 1 ,mem_rocker_negative_flag 
+4539 243a453c nbranch remote_car_rocker_negative_key ,blank 
+
+remote_car_rocker_positive_key:
+453a 58000001 setarg rocker_positive_key 
+453b 20600000 rtn 
+
+remote_car_rocker_negative_key:
+453c 58000002 setarg rocker_negative_key 
+453d 20600000 rtn 
+
+remote_car_rocker_middle_key:
+453e 58000000 setarg rocker_middle_key 
+453f 20600000 rtn 
+
+remote_car_get_adc_from_gpio6:
+4540 70422e33 jam 0x33 ,mem_adc_channel 
+4541 202068eb branch adc_set_mode 
+
+remote_car_get_adc_from_gpio7:
+4542 70422e34 jam 0x34 ,mem_adc_channel 
+4543 202068eb branch adc_set_mode 
+
+remote_car_rocker_process:
+4544 6800c72a fetch 1 ,mem_remote_car_config_check_way 
+4545 c1808000 rtnne car_remote_check_rocker 
+
+remote_car_read_rocker_check_start:
+4546 44f9401e bpatch patch1e_2 ,mem_patch1e 
+4547 70471901 jam 1 ,mem_rocker_work_status 
+4548 2040451a call remote_car_rocker_data_get 
+4549 68014724 fetch 2 ,mem_rocker_status 
+454a 68094722 fetcht 2 ,mem_rocker_last_status 
+454b 98467c00 isub temp ,null 
+454c 20628000 rtn zero 
+454d 60014722 store 2 ,mem_rocker_last_status 
+454e 20404550 call remote_car_rocker_x_to_key 
+454f 20204554 branch remote_car_rocker_y_to_key 
+
+remote_car_rocker_x_to_key:
+4550 6800c724 fetch 1 ,mem_rocker_x_status 
+4551 203a455a branch rocker_to_queue_set_0 ,blank 
+4552 1fe0ffff increase -1 ,pdata 
+4553 20204557 branch remote_car_rocker_to_key 
+
+remote_car_rocker_y_to_key:
+4554 6800c725 fetch 1 ,mem_rocker_y_status 
+4555 203a455d branch rocker_to_queue_set_2 ,blank 
+4556 1fe0fe01 increase 1 ,pdata 
+
+remote_car_rocker_to_key:
+4557 1fe20e00 copy pdata ,queue 
+4558 da200001 arg 1 ,rega 
+4559 20204560 branch remote_car_send_key_data 
+
+rocker_to_queue_set_0:
+455a d8e00000 arg 0 ,queue 
+455b da200000 arg 0 ,rega 
+455c 20204560 branch remote_car_send_key_data 
+
+rocker_to_queue_set_2:
+455d d8e00002 arg 2 ,queue 
+455e da200000 arg 0 ,rega 
+455f 20204560 branch remote_car_send_key_data 
+
+remote_car_send_key_data:
+4560 1a227e00 copy rega ,pdata 
+4561 6000c761 store 1 ,mem_remote_key_status 
+4562 6800c763 fetch 1 ,mem_remote_car_24g_auto_work_step 
+4563 c0002ee4 beq power_on ,g24_auto_pair_start 
+4564 68014753 fetch 2 ,mem_remote_car_no_data_timeout 
+4565 60014755 store 2 ,mem_remote_car_no_data_timer 
+4566 6800c761 fetch 1 ,mem_remote_key_status 
+4567 203a4580 branch remote_car_key_is_release ,blank 
+
+remote_car_key_is_press:
+4568 44f9c01e bpatch patch1e_3 ,mem_patch1e 
+4569 da200000 arg 0 ,rega 
+456a 20407d14 call ui_led_on_global 
+
+remote_car_attack_key_press:
+456b 18e27e00 copy queue ,pdata 
+456c c00245a3 beq 4 ,remote_car_send_attack_key4_press 
+456d c002c5a5 beq 5 ,remote_car_send_attack_key5_press 
+456e c00345a7 beq 6 ,remote_car_send_fire_key6_press 
+
+remote_car_motor_key_press:
+456f 2040458b call remote_car_device_layout_select 
+4570 c0004574 beq control_f_b_ten ,remote_car_single_motor_key_is_press 
+4571 c001457a beq control_l_r_ten ,remote_car_double_motor_key_press 
+4572 c001c574 beq control_l_r_lr ,remote_car_single_motor_key_is_press 
+4573 20600000 rtn 
+
+remote_car_single_motor_key_is_press:
+4574 18e27e00 copy queue ,pdata 
+4575 c000458f beq 0 ,remote_car_send_motor1_key0_press 
+4576 c000c591 beq 1 ,remote_car_send_motor1_key1_press 
+4577 c0014593 beq 2 ,remote_car_send_motor2_key2_press 
+4578 c001c595 beq 3 ,remote_car_send_motor2_key3_press 
+4579 20600000 rtn 
+
+remote_car_double_motor_key_press:
+457a 18e27e00 copy queue ,pdata 
+457b c0004597 beq 0 ,remote_car_send_double_motor_key0_press 
+457c c000c59a beq 1 ,remote_car_send_double_motor_key1_press 
+457d c001459d beq 2 ,remote_car_send_double_motor_key2_press 
+457e c001c5a0 beq 3 ,remote_car_send_double_motor_key3_press 
+457f 20600000 rtn 
+
+remote_car_key_is_release:
+4580 44fa401e bpatch patch1e_4 ,mem_patch1e 
+4581 da200000 arg 0 ,rega 
+4582 20407d19 call ui_led_off_global 
+
+remote_car_attack_key_release:
+4583 18e27e00 copy queue ,pdata 
+4584 c00245bc beq 4 ,remote_car_send_attack_key4_rel 
+4585 c002c5bc beq 5 ,remote_car_send_attack_key5_rel 
+
+remote_car_motor_key_release:
+4586 2040458b call remote_car_device_layout_select 
+4587 c00045a9 beq control_f_b_ten ,remote_car_single_motor_key_rel 
+4588 c00145af beq control_l_r_ten ,remote_car_double_motor_key_rel 
+4589 c001c5a9 beq control_l_r_lr ,remote_car_single_motor_key_rel 
+458a 20600000 rtn 
+
+remote_car_device_layout_select:
+458b 6800c728 fetch 1 ,mem_remote_car_config_layout 
+458c 6808c727 fetcht 1 ,mem_remote_car_config_key_map 
+458d 9841fe00 ior temp ,pdata 
+458e 20600000 rtn 
+
+remote_car_send_motor1_key0_press:
+458f 70473401 jam motor_positive ,mem_remote_car_24g_motor1_payload 
+4590 202045be branch remote_car_send_key 
+
+remote_car_send_motor1_key1_press:
+4591 70473402 jam motor_negative ,mem_remote_car_24g_motor1_payload 
+4592 202045be branch remote_car_send_key 
+
+remote_car_send_motor2_key2_press:
+4593 70473601 jam motor_positive ,mem_remote_car_24g_motor2_payload 
+4594 202045be branch remote_car_send_key 
+
+remote_car_send_motor2_key3_press:
+4595 70473602 jam motor_negative ,mem_remote_car_24g_motor2_payload 
+4596 202045be branch remote_car_send_key 
+
+remote_car_send_double_motor_key0_press:
+4597 70473401 jam motor_positive ,mem_remote_car_24g_motor1_payload 
+4598 70473601 jam motor_positive ,mem_remote_car_24g_motor2_payload 
+4599 202045be branch remote_car_send_key 
+
+remote_car_send_double_motor_key1_press:
+459a 70473402 jam motor_negative ,mem_remote_car_24g_motor1_payload 
+459b 70473602 jam motor_negative ,mem_remote_car_24g_motor2_payload 
+459c 202045be branch remote_car_send_key 
+
+remote_car_send_double_motor_key2_press:
+459d 70473402 jam motor_negative ,mem_remote_car_24g_motor1_payload 
+459e 70473601 jam motor_positive ,mem_remote_car_24g_motor2_payload 
+459f 202045be branch remote_car_send_key 
+
+remote_car_send_double_motor_key3_press:
+45a0 70473401 jam motor_positive ,mem_remote_car_24g_motor1_payload 
+45a1 70473602 jam motor_negative ,mem_remote_car_24g_motor2_payload 
+45a2 202045be branch remote_car_send_key 
+
+remote_car_send_attack_key4_press:
+45a3 70473801 jam motor_positive ,mem_remote_car_24g_motor3_payload 
+45a4 202045be branch remote_car_send_key 
+
+remote_car_send_attack_key5_press:
+45a5 70473802 jam motor_negative ,mem_remote_car_24g_motor3_payload 
+45a6 202045be branch remote_car_send_key 
+
+remote_car_send_fire_key6_press:
+45a7 70474101 jam 0x01 ,mem_remote_car_24g_fire_send_payload 
+45a8 202045c0 branch remote_car_send_attack 
+
+remote_car_single_motor_key_rel:
+45a9 18e27e00 copy queue ,pdata 
+45aa c00045b5 beq 0 ,remote_car_send_motor1_key0_rel 
+45ab c000c5b5 beq 1 ,remote_car_send_motor1_key1_rel 
+45ac c00145b7 beq 2 ,remote_car_send_motor2_key2_rel 
+45ad c001c5b7 beq 3 ,remote_car_send_motor2_key3_rel 
+45ae 20600000 rtn 
+
+remote_car_double_motor_key_rel:
+45af 18e27e00 copy queue ,pdata 
+45b0 c00045b9 beq 0 ,remote_car_send_double_motor_key0_rel 
+45b1 c000c5b9 beq 1 ,remote_car_send_double_motor_key1_rel 
+45b2 c00145b9 beq 2 ,remote_car_send_double_motor_key2_rel 
+45b3 c001c5b9 beq 3 ,remote_car_send_double_motor_key3_rel 
+45b4 20600000 rtn 
+
+remote_car_send_motor1_key0_rel:
+
+remote_car_send_motor1_key1_rel:
+45b5 70473400 jam motor_stop ,mem_remote_car_24g_motor1_payload 
+45b6 202045be branch remote_car_send_key 
+
+remote_car_send_motor2_key2_rel:
+
+remote_car_send_motor2_key3_rel:
+45b7 70473600 jam motor_stop ,mem_remote_car_24g_motor2_payload 
+45b8 202045be branch remote_car_send_key 
+
+remote_car_send_double_motor_key0_rel:
+
+remote_car_send_double_motor_key1_rel:
+
+remote_car_send_double_motor_key2_rel:
+
+remote_car_send_double_motor_key3_rel:
+45b9 70473400 jam motor_stop ,mem_remote_car_24g_motor1_payload 
+45ba 70473600 jam motor_stop ,mem_remote_car_24g_motor2_payload 
+45bb 202045be branch remote_car_send_key 
+
+remote_car_send_attack_key4_rel:
+
+remote_car_send_attack_key5_rel:
+45bc 70473800 jam motor_stop ,mem_remote_car_24g_motor3_payload 
+45bd 202045be branch remote_car_send_key 
+
+remote_car_send_key:
+45be da20472e arg mem_remote_car_24g_motor_packet ,rega 
+45bf 20207e3d branch queue_push 
+
+remote_car_send_attack:
+45c0 da20473b arg mem_remote_car_24g_fire_packet ,rega 
+45c1 20207e3d branch queue_push 
+
+remote_car_g24_package_data:
+45c2 6800c764 fetch 1 ,mem_remote_car_24g_pair_success_flag 
+45c3 c000c5cc beq work_paired ,remote_car_g24_send_empty 
+45c4 da204744 arg mem_remote_car_24g_tx_temp ,rega 
+45c5 20407e54 call queue_pop 
+45c6 243445d1 nbranch remote_car_moto_data ,user 
+
+remote_car_g24_package_data_continue:
+45c7 d8c04744 arg mem_remote_car_24g_tx_temp ,contr 
+45c8 e8c08000 ifetch 1 ,contr 
+45c9 1fe22200 copy pdata ,rega 
+45ca da404745 arg mem_remote_car_24g_tx_temp + 1 ,regb 
+45cb 20600000 rtn 
+
+remote_car_g24_send_empty:
+45cc 70476400 jam 0 ,mem_remote_car_24g_pair_success_flag 
+45cd 78347c00 enable user 
+45ce da200001 arg 1 ,rega 
+45cf da404766 arg mem_remote_car_empty_packet ,regb 
+45d0 20600000 rtn 
+
+remote_car_moto_data:
+45d1 6800c747 fetch 1 ,mem_remote_car_24g_tx_temp + 3 
+45d2 c00245d5 beq car_cmd_l_r_motor_control ,remote_car_moto_data_next 
+45d3 c002c5d5 beq car_cmd_f_b_motor_control ,remote_car_moto_data_next 
+45d4 20600000 rtn 
+
+remote_car_moto_data_next:
+45d5 6800c74a fetch 1 ,mem_remote_car_24g_tx_temp + 6 
+45d6 243a45dc nbranch remote_car_moto_data_enable_user ,blank 
+45d7 6800c74c fetch 1 ,mem_remote_car_24g_tx_temp + 8 
+45d8 243a45dc nbranch remote_car_moto_data_enable_user ,blank 
+45d9 6800c74e fetch 1 ,mem_remote_car_24g_tx_temp + 10 
+45da 243a45dc nbranch remote_car_moto_data_enable_user ,blank 
+45db 20600000 rtn 
+
+remote_car_moto_data_enable_user:
+45dc 78347c00 enable user 
+45dd 202045c7 branch remote_car_g24_package_data_continue 
+
+shutter_init:
+45de 20758000 rtn wake 
+45df 68108081 hfetch 1 ,core_gpio_sel1 
+45e0 1fe17efc and_into 0xfc ,pdata 
+45e1 60108081 hstore 1 ,core_gpio_sel1 
+45e2 580046b4 setarg shutter_le_before_hibernate 
+45e3 600141eb store 2 ,mem_cb_before_hibernate 
+45e4 580046b3 setarg shutter_process_lpm_before 
+45e5 600141ed store 2 ,mem_cb_before_lpm 
+45e6 5800340a setarg app_enter_hibernate 
+45e7 600141f7 store 2 ,mem_cb_discovry_timeout 
+45e8 580046b1 setarg shutter_process_idle 
+45e9 600141f3 store 2 ,mem_cb_idle_process 
+45ea 58004612 setarg shutter_process_bb_event 
+45eb 600141f5 store 2 ,mem_cb_bb_event_process 
+45ec 5800460c setarg shutter_le_scale_lpm_lock 
+45ed 600141e9 store 2 ,mem_cb_check_wakelock 
+45ee 5800476a setarg ble_shutter_receive_data 
+45ef 600141f9 store 2 ,mem_cb_att_write 
+45f0 58004686 setarg shutter_le_bb_event_timer 
+45f1 600141fd store 2 ,mem_cb_event_timer 
+45f2 58004729 setarg shutter_key_change 
+45f3 600146e7 store 2 ,mem_cb_shutter_keycan 
+45f4 58004806 setarg shutter_soft_swtich_power_on 
+45f5 600146e2 store 2 ,mem_shutter_soft_switch_poweron_callback_function 
+45f6 58004807 setarg shutter_soft_swtich_power_off 
+45f7 600146e4 store 2 ,mem_shutter_soft_switch_poweroff_callback_function 
+45f8 204057a3 call le_modified_name 
+45f9 204047da call shutter_load_bluetooth_config_by_user_config 
+45fa 20404788 call shutter_init_bluetooth_config 
+45fb 2040476d call shutter_init_param 
+45fc 20406948 call keyscan_key_init 
+45fd 2040477a call shutter_load_buffer_config_form_datarom 
+45fe 20407e38 call queue_init 
+45ff 20407d08 call ui_led_init_global 
+4600 20404793 call shutter_load_bluetooth_config 
+4601 204047c7 call shutter_load_bluetooth_config_by_eeprom 
+4602 44fac01e bpatch patch1e_5 ,mem_patch1e 
+4603 2040464f call classic_shutter_load_reconn_info 
+4604 6800c6dd fetch 1 ,mem_shutter_hard_soft_switch_case 
+4605 c0004609 beq hard_switch ,shutter_hart_swtich_power_on 
+4606 6800c6de fetch 1 ,mem_shutter_soft_switch_button_gpio 
+4607 6000c686 store 1 ,mem_ui_button_gpio 
+4608 2020480e branch ui_soft_swtich_init 
+
+shutter_hart_swtich_power_on:
+4609 704686ff jam ui_button_gpio_disable ,mem_ui_button_gpio 
+460a 7046df01 jam ss_state_power_on ,mem_shutter_soft_switch_power_state 
+460b 202046d9 branch shutter_start_reconnect 
+
+shutter_le_scale_lpm_lock:
+460c 6800c6df fetch 1 ,mem_shutter_soft_switch_power_state 
+460d c00133d0 beq ss_state_power_off ,app_get_lpm_wake_lock 
+460e 2040527e call l2cap_malloc_get_full_map 
+460f 6800c256 fetch 1 ,mem_used_map 
+4610 243a33d0 nbranch app_get_lpm_wake_lock ,blank 
+4611 202033d2 branch app_put_lpm_wake_lock 
+
+shutter_process_bb_event:
+4612 1a627e00 copy regc ,pdata 
+4613 c000c626 beq bt_evt_bb_connected ,classic_shutter_process_baseband_connect 
+4614 c0014629 beq bt_evt_bb_disconnected ,classic_shutter_process_baseband_disconnect 
+4615 c0024631 beq bt_evt_reconn_failed ,classic_shutter_process_reconnect_failed 
+4616 c002c633 beq bt_evt_setup_complete ,classic_shutter_process_setup_complete 
+4617 c0034635 beq bt_evt_hid_connected ,classic_shutter_process_hid_connect 
+4618 c003c638 beq bt_evt_hid_disconnected ,classic_shutter_process_hid_disconnect 
+4619 c009463c beq bt_evt_hid_handshake ,classic_shutter_process_hid_handshake 
+461a c009c644 beq bt_evt_reconn_page_timeout ,classic_shutter_process_reconnect_page_timeout 
+461b c013c645 beq bt_evt_virtual_cable_unplug ,classic_shutter_process_virtual_cable_unplug 
+461c c0174648 beq bt_evt_remote_unsniff ,classic_shutter_process_remote_unsniff 
+461d c01ec649 beq bt_evt_store_nvram ,classic_shutter_process_store_reconnect_information 
+461e c00a4658 beq bt_evt_le_connected ,ble_shutter_process_baseband_connect 
+461f c00ac65c beq bt_evt_le_disconnected ,ble_shutter_process_baseband_disconnect 
+4620 c01fc65f beq bt_evt_le_reconnect_complete ,ble_shutter_process_reconnect_complete 
+4621 c0204665 beq bt_evt_le_parse_conn_papa_update_rsp ,ble_shutter_process_parse_connect_parameter_update_response 
+4622 c008466b beq bt_evt_button_long_pressed ,shutter_process_soft_swtich_button_long_press 
+4623 c016466c beq bt_evt_button_down ,shutter_process_soft_swtich_button_down 
+4624 c016c677 beq bt_evt_button_up ,shutter_process_soft_swtich_button_up 
+4625 20600000 rtn 
+
+classic_shutter_process_baseband_connect:
+4626 7046ad00 jam 0 ,mem_classic_shutter_hid_disconn_count 
+4627 7046ac00 jam 0 ,mem_classic_shutter_cable_unplug_conut 
+4628 20600000 rtn 
+
+classic_shutter_process_baseband_disconnect:
+4629 2040462b call classic_shutter_disconnect_clear_flag 
+462a 20204631 branch classic_shutter_process_reconnect_failed 
+
+classic_shutter_disconnect_clear_flag:
+462b 7041e200 jam app_handshake_null ,mem_app_handshake_flag 
+462c 70468000 jam 0 ,mem_hid_handshake_timer_count 
+462d 70420500 jam 0 ,mem_unsniff2sniff_timer_count 
+462e 7046ac00 jam 0 ,mem_classic_shutter_cable_unplug_conut 
+462f 7046ad00 jam 0 ,mem_classic_shutter_hid_disconn_count 
+4630 20207e38 branch queue_init 
+
+classic_shutter_process_reconnect_failed:
+4631 204033a9 call app_disconn_reason_clear 
+4632 202046c2 branch shutter_start_bluetooth_discovery 
+
+classic_shutter_process_setup_complete:
+4633 204046b6 call shutter_stop_bluetooth_discovery 
+4634 20203408 branch app_led_stop_blink 
+
+classic_shutter_process_hid_connect:
+4635 58000002 setarg hid_handshake_timeout 
+4636 6000c680 store 1 ,mem_hid_handshake_timer_count 
+4637 20600000 rtn 
+
+classic_shutter_process_hid_disconnect:
+4638 7046ac00 jam 0 ,mem_classic_shutter_cable_unplug_conut 
+4639 58000001 setarg flag_shutter_hid_disconn_timeout 
+463a 6000c6ad store 1 ,mem_classic_shutter_hid_disconn_count 
+463b 20600000 rtn 
+
+classic_shutter_process_hid_handshake:
+463c 6800c1e2 fetch 1 ,mem_app_handshake_flag 
+463d c1008000 rtneq app_handshake_done 
+463e 7041e201 jam app_handshake_done ,mem_app_handshake_flag 
+463f 20403416 call app_lpm_mult_enable 
+4640 20403414 call app_store_reconn_info 
+4641 204046b6 call shutter_stop_bluetooth_discovery 
+4642 20403408 call app_led_off 
+4643 2020340e branch app_bt_enter_sniff 
+
+classic_shutter_process_reconnect_page_timeout:
+4644 20204631 branch classic_shutter_process_reconnect_failed 
+
+classic_shutter_process_virtual_cable_unplug:
+4645 58000005 setarg flag_shutter_cable_unplug_timeout 
+4646 6000c6ac store 1 ,mem_classic_shutter_cable_unplug_conut 
+4647 20600000 rtn 
+
+classic_shutter_process_remote_unsniff:
+4648 202033cd branch app_start_auto_sniff 
+
+classic_shutter_process_store_reconnect_information:
+4649 da400000 arg nvram_eeprom_offset ,regb 
+464a 6800c217 fetch 1 ,mem_nv_data_number 
+464b 1fef8422 mul32 pdata ,34 ,temp 
+464c 68014215 fetch 2 ,mem_nv_data_ptr 
+464d 1fe22200 copy pdata ,rega 
+464e 20206606 branch iicd_write_eep_data 
+
+classic_shutter_load_reconn_info:
+464f da400000 arg nvram_eeprom_offset ,regb 
+4650 6800c69a fetch 1 ,mem_shutter_bluetooth_type 
+4651 c4008000 rtnbit0 classic_shutter 
+4652 6800c217 fetch 1 ,mem_nv_data_number 
+4653 207a0000 rtn blank 
+4654 1fef8422 mul32 pdata ,34 ,temp 
+4655 68014215 fetch 2 ,mem_nv_data_ptr 
+4656 1fe22200 copy pdata ,rega 
+4657 202065df branch iicd_read_eep_data 
+
+ble_shutter_process_baseband_connect:
+4658 204046b6 call shutter_stop_bluetooth_discovery 
+4659 58000000 setarg 0 
+465a 600146b7 store 2 ,mem_ble_shutter_reconn_timer 
+465b 20203408 branch app_led_off 
+
+ble_shutter_process_baseband_disconnect:
+465c 20407e38 call queue_init 
+465d 7046b000 jam 0 ,mem_ble_shutter_enable_notify 
+465e 202046d9 branch shutter_start_reconnect 
+
+ble_shutter_process_reconnect_complete:
+465f 20407e38 call queue_init 
+4660 7046b001 jam 1 ,mem_ble_shutter_enable_notify 
+4661 680446c1 fetch 8 ,mem_ble_shutter_interval_min 
+4662 60044496 store 8 ,mem_le_interval_min 
+4663 20403416 call app_lpm_mult_enable 
+4664 20205abf branch le_l2cap_tx_update_req 
+
+ble_shutter_process_parse_connect_parameter_update_response:
+4665 68014509 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+4666 c1000000 rtneq ble_signaling_connect_parameter_update_accepted 
+4667 680446c9 fetch 8 ,mem_ble_shutter_interval_min_new 
+4668 207a0000 rtn blank 
+4669 60044496 store 8 ,mem_le_interval_min 
+466a 20205abf branch le_l2cap_tx_update_req 
+
+shutter_process_soft_swtich_button_long_press:
+466b 2020481f branch ui_soft_switch_botton_long_press 
+
+shutter_process_soft_swtich_button_down:
+466c 6800c6dd fetch 1 ,mem_shutter_hard_soft_switch_case 
+466d c1000000 rtneq hard_switch 
+466e 6800c6df fetch 1 ,mem_shutter_soft_switch_power_state 
+466f c1808000 rtnne ss_state_power_on 
+4670 20404672 call shutter_store_currenct_led_state 
+4671 20203406 branch app_led_on 
+
+shutter_store_currenct_led_state:
+4672 7048df01 jam 1 ,mem_shutter_soft_swtich_botton_down 
+4673 df20000b arg 11 ,loopcnt 
+4674 d8a048e0 arg mem_shutter_soft_swtich_led_struct_temp ,contw 
+4675 d8c048c9 arg mem_shutter_led_struct_app_led ,contr 
+4676 20207f01 branch memcpy 
+
+shutter_process_soft_swtich_button_up:
+4677 6800c6dd fetch 1 ,mem_shutter_hard_soft_switch_case 
+4678 c1000000 rtneq hard_switch 
+4679 6800c6df fetch 1 ,mem_shutter_soft_switch_power_state 
+467a c000c67c beq ss_state_power_on ,shutter_load_currenct_led_state 
+467b 2020481b branch ui_soft_switch_botton_up 
+
+shutter_load_currenct_led_state:
+467c 6800c8df fetch 1 ,mem_shutter_soft_swtich_botton_down 
+467d c1808000 rtnne 1 
+467e 7048df00 jam 0 ,mem_shutter_soft_swtich_botton_down 
+467f 68014682 fetch 2 ,mem_ui_state_map 
+4680 c2803408 bbit1 ui_state_bt_connected ,app_led_off 
+4681 c284b408 bbit1 ui_state_ble_connected ,app_led_off 
+4682 df20000b arg 11 ,loopcnt 
+4683 d8c048e0 arg mem_shutter_soft_swtich_led_struct_temp ,contr 
+4684 d8a048c9 arg mem_shutter_led_struct_app_led ,contw 
+4685 20207f01 branch memcpy 
+
+shutter_le_bb_event_timer:
+4686 2040468c call shutter_check_sleep_timer 
+4687 20404693 call shutter_check_power_off_timer 
+4688 2040469e call classic_shutter_check_unplug_timer 
+4689 204046a6 call classic_shutter_hid_handshake_timer 
+468a 204046a9 call classic_shutter_hid_disconn_timer 
+468b 202046ac branch ble_shutter_reconn_timer 
+
+shutter_check_sleep_timer:
+468c da6046db arg mem_shutter_sleep_timer ,regc 
+468d da40468f arg shutter_sleep_timeout ,regb 
+468e 20203374 branch timer_single_step_2b 
+
+shutter_sleep_timeout:
+468f 7046df02 jam ss_state_power_off ,mem_shutter_soft_switch_power_state 
+4690 20403408 call app_led_off 
+4691 204046f4 call shutter_disconnect_current_connection 
+4692 2020480b branch shutter_wait_power_off 
+
+shutter_check_power_off_timer:
+4693 da6048ec arg mem_shutter_power_off_timer ,regc 
+4694 da404696 arg shutter_check_power_off_timeout ,regb 
+4695 2020336d branch timer_single_step 
+
+shutter_check_power_off_timeout:
+4696 68014682 fetch 2 ,mem_ui_state_map 
+4697 c284c80b bbit1 ui_state_ble_connected ,shutter_wait_power_off 
+4698 c280480b bbit1 ui_state_bt_connected ,shutter_wait_power_off 
+4699 6800c8c9 fetch 1 ,mem_shutter_led_struct_app_led_type 
+469a c000c80b beq ui_led_state_blink_start ,shutter_wait_power_off 
+469b c002480b beq ui_led_state_blink_lighting ,shutter_wait_power_off 
+469c c002c80b beq ui_led_state_blink_darking ,shutter_wait_power_off 
+469d 2020340a branch app_enter_hibernate 
+
+classic_shutter_check_unplug_timer:
+469e da6046ac arg mem_classic_shutter_cable_unplug_conut ,regc 
+469f da4046a1 arg classic_shutter_unplug_timeout ,regb 
+46a0 2020336d branch timer_single_step 
+
+classic_shutter_unplug_timeout:
+46a1 6800827f fetch 1 ,mem_control_tasks 
+46a2 79207e00 set1 l2cap_disconnect_interrupt ,pdata 
+46a3 79207e07 set1 l2cap_disconnect_control ,pdata 
+46a4 6000827f store 1 ,mem_control_tasks 
+46a5 20600000 rtn 
+
+classic_shutter_hid_handshake_timer:
+46a6 da604680 arg mem_hid_handshake_timer_count ,regc 
+46a7 da40463c arg classic_shutter_process_hid_handshake ,regb 
+46a8 2020336d branch timer_single_step 
+
+classic_shutter_hid_disconn_timer:
+46a9 da6046ad arg mem_classic_shutter_hid_disconn_count ,regc 
+46aa da4033e9 arg app_bt_disconnect ,regb 
+46ab 2020336d branch timer_single_step 
+
+ble_shutter_reconn_timer:
+46ac 6800c6df fetch 1 ,mem_shutter_soft_switch_power_state 
+46ad c1808000 rtnne ss_state_power_on 
+46ae da6046b7 arg mem_ble_shutter_reconn_timer ,regc 
+46af da4046c2 arg shutter_start_bluetooth_discovery ,regb 
+46b0 20203374 branch timer_single_step_2b 
+
+shutter_process_idle:
+46b1 2040473a call shutter_send_data_to_master 
+46b2 20206978 branch keyscan_key_process 
+
+shutter_process_lpm_before:
+46b3 2020696c branch keyscan_process_lpm_before 
+
+shutter_le_before_hibernate:
+46b4 20406835 call gpio_set_before_lpm_common 
+46b5 202046b3 branch shutter_process_lpm_before 
+
+shutter_stop_bluetooth_discovery:
+46b6 6800c69a fetch 1 ,mem_shutter_bluetooth_type 
+46b7 c280c6be bbit1 classic_shutter ,classic_shutter_stop_bluetooth_discovery 
+46b8 c28046ba bbit1 ble_shutter ,ble_shutter_stop_bluetooth_discovery 
+46b9 20600000 rtn 
+
+ble_shutter_stop_bluetooth_discovery:
+46ba 680146d7 fetch 2 ,mem_ble_shutter_connect_timeout 
+46bb 600146d9 store 2 ,mem_shutter_sleep_timeout 
+46bc 600146db store 2 ,mem_shutter_sleep_timer 
+46bd 202033f8 branch app_ble_stop_adv 
+
+classic_shutter_stop_bluetooth_discovery:
+46be 680146d3 fetch 2 ,mem_classic_shutter_connect_timeout 
+46bf 600146d9 store 2 ,mem_shutter_sleep_timeout 
+46c0 600146db store 2 ,mem_shutter_sleep_timer 
+46c1 202033f0 branch app_bt_stop_discovery 
+
+shutter_start_bluetooth_discovery:
+46c2 6800c6df fetch 1 ,mem_shutter_soft_switch_power_state 
+46c3 c1808000 rtnne ss_state_power_on 
+46c4 6800c69a fetch 1 ,mem_shutter_bluetooth_type 
+46c5 c280c6c8 bbit1 classic_shutter ,classic_shutter_start_discovery 
+46c6 c28046cc bbit1 ble_shutter ,ble_shutter_start_discovery 
+46c7 20600000 rtn 
+
+classic_shutter_start_discovery:
+46c8 680146d1 fetch 2 ,mem_classic_shutter_discovery_timeout ,
+46c9 600146d9 store 2 ,mem_shutter_sleep_timeout 
+46ca 600146db store 2 ,mem_shutter_sleep_timer 
+46cb 202033eb branch app_bt_start_discovery_short 
+
+ble_shutter_start_discovery:
+46cc 68014682 fetch 2 ,mem_ui_state_map 
+46cd c3848000 rtnbit1 ui_state_ble_connected 
+46ce 680146d5 fetch 2 ,mem_ble_shutter_discovery_timeout 
+46cf 600146d9 store 2 ,mem_shutter_sleep_timeout 
+46d0 600146db store 2 ,mem_shutter_sleep_timer 
+46d1 680146b3 fetch 2 ,mem_ble_shutter_discovery_adv_interval 
+46d2 204046f0 call shutter_ble_adv_interval_set 
+46d3 20403404 call app_led_start_blink 
+46d4 680246bd fetch 4 ,mem_ble_shutter_discovery_blink_on_time 
+46d5 600248cc store 4 ,mem_shutter_led_struct_app_led_on_time 
+46d6 68014682 fetch 2 ,mem_ui_state_map 
+46d7 c3858000 rtnbit1 ui_state_ble_adv 
+46d8 202033fa branch app_ble_start_adv 
+
+shutter_start_reconnect:
+46d9 6800c6df fetch 1 ,mem_shutter_soft_switch_power_state 
+46da c1808000 rtnne ss_state_power_on 
+46db 6800c69a fetch 1 ,mem_shutter_bluetooth_type 
+46dc c280c6df bbit1 classic_shutter ,classic_shutter_start_reconnect 
+46dd c28046e4 bbit1 ble_shutter ,ble_shutter_start_reconnect 
+46de 20600000 rtn 
+
+classic_shutter_start_reconnect:
+46df 204046f8 call app_check_reconn_target 
+46e0 203a46c2 branch shutter_start_bluetooth_discovery ,blank 
+46e1 20403406 call app_led_on 
+46e2 204033f0 call app_bt_stop_discovery 
+46e3 202033e1 branch app_bt_start_reconnect 
+
+ble_shutter_start_reconnect:
+46e4 680146b7 fetch 2 ,mem_ble_shutter_reconn_timer 
+46e5 680946b5 fetcht 2 ,mem_ble_shutter_reconn_timeout 
+46e6 600946b7 storet 2 ,mem_ble_shutter_reconn_timer 
+46e7 247a0000 nrtn blank 
+46e8 680146b1 fetch 2 ,mem_ble_shutter_reconn_dav_interval 
+46e9 204046f0 call shutter_ble_adv_interval_set 
+46ea 20403404 call app_led_start_blink 
+46eb 680246b9 fetch 4 ,mem_ble_shutter_reconn_blink_on_time 
+46ec 600248cc store 4 ,mem_shutter_led_struct_app_led_on_time 
+46ed 68014682 fetch 2 ,mem_ui_state_map 
+46ee c3858000 rtnbit1 ui_state_ble_adv 
+46ef 202033fa branch app_ble_start_adv 
+
+shutter_ble_adv_interval_set:
+46f0 60014154 store 2 ,mem_lpm_interval 
+46f1 1fe0fffc increase -4 ,pdata 
+46f2 60014482 store 2 ,mem_le_adv_interval 
+46f3 20600000 rtn 
+
+shutter_disconnect_current_connection:
+46f4 68014682 fetch 2 ,mem_ui_state_map 
+46f5 c284b402 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+46f6 c28033e9 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+46f7 202046b6 branch shutter_stop_bluetooth_discovery 
+
+app_check_reconn_target:
+46f8 6800c217 fetch 1 ,mem_nv_data_number 
+46f9 1fe27200 copy pdata ,loopcnt 
+46fa 68014215 fetch 2 ,mem_nv_data_ptr 
+46fb 1fe22200 copy pdata ,rega 
+
+app_check_reconn_target_loop:
+46fc ea210000 ifetch 2 ,rega 
+46fd c0004701 beq 0 ,found_reconn_device 
+46fe 1a20a222 increase nv_data_len ,rega 
+46ff c20046fc loop app_check_reconn_target_loop 
+4700 20207ff1 branch enable_blank 
+
+found_reconn_device:
+4701 e8c30000 ifetch 6 ,contr 
+4702 600341d0 store 6 ,mem_hci_plap 
+4703 18c08c0a increase 10 ,contr 
+4704 d8a041be arg mem_link_key ,contw 
+4705 20407ebf call memcpy16 
+4706 204067d7 call check_link_key_load 
+4707 20207fef branch disable_blank 
+
+shutter_check_data_enable:
+4708 20407fe9 call disable_user 
+4709 68014682 fetch 2 ,mem_ui_state_map 
+470a c280470d bbit1 ui_state_bt_connected ,shutter_check_bt_data_enable 
+470b c284c710 bbit1 ui_state_ble_connected ,shutter_check_ble_data_enable 
+470c 20600000 rtn 
+
+shutter_check_bt_data_enable:
+470d 6800c253 fetch 1 ,mem_hid_interrupt_state 
+470e c19f8000 rtnne 0x3f 
+470f 20207fe7 branch enable_user 
+
+shutter_check_ble_data_enable:
+4710 6800c6b0 fetch 1 ,mem_ble_shutter_enable_notify 
+4711 207a0000 rtn blank 
+4712 20207fe7 branch enable_user 
+
+shutter_check_bluetooth_conn:
+4713 20407fe9 call disable_user 
+4714 68014682 fetch 2 ,mem_ui_state_map 
+4715 c3800000 rtnbit1 ui_state_bt_connected 
+4716 c3848000 rtnbit1 ui_state_ble_connected 
+4717 20207fe7 branch enable_user 
+
+shutter_change_bluetooth_status_bt_disconn:
+4718 6800c69a fetch 1 ,mem_shutter_bluetooth_type 
+4719 c280c71c bbit1 classic_shutter ,classic_shutter_change_bluetooth_status_bt_disconn 
+471a c280471f bbit1 ble_shutter ,ble_shutter_change_bluetooth_status_bt_disconn 
+471b 20600000 rtn 
+
+classic_shutter_change_bluetooth_status_bt_disconn:
+471c 6800c093 fetch 1 ,mem_scan_mode 
+471d c1818000 rtnne 0x03 
+471e 202046d9 branch shutter_start_reconnect 
+
+ble_shutter_change_bluetooth_status_bt_disconn:
+471f 202046d9 branch shutter_start_reconnect 
+
+shutter_check_send_data:
+4720 78567c00 disable user2 
+4721 680146d9 fetch 2 ,mem_shutter_sleep_timeout 
+4722 600146db store 2 ,mem_shutter_sleep_timer 
+4723 20404713 call shutter_check_bluetooth_conn 
+4724 20344718 branch shutter_change_bluetooth_status_bt_disconn ,user 
+4725 20404708 call shutter_check_data_enable 
+4726 24740000 nrtn user 
+4727 78367c00 enable user2 
+4728 20600000 rtn 
+
+shutter_key_change:
+4729 20404720 call shutter_check_send_data 
+472a 24760000 nrtn user2 
+472b 1a227e00 deposit rega 
+472c 203a4730 branch shutter_key_release ,blank 
+
+shutter_key_press:
+472d 20403406 call app_led_on 
+472e da6046f1 arg mem_key0_press ,regc 
+472f 20204732 branch push_queue_press_or_release 
+
+shutter_key_release:
+4730 20403408 call app_led_off 
+4731 da604719 arg mem_key0_release ,regc 
+
+push_queue_press_or_release:
+4732 dfe00005 arg max_queue_num ,pdata 
+4733 98effe00 imul32 queue ,pdata 
+4734 9a60a600 iadd regc ,regc 
+
+push_buffer_in_queue:
+4735 ea608000 ifetch 1 ,regc 
+4736 207a0000 rtn blank 
+4737 20404762 call queue_push_one_byte 
+4738 1a60a601 increase 1 ,regc 
+4739 20204735 branch push_buffer_in_queue 
+
+shutter_send_data_to_master:
+473a 68014682 fetch 2 ,mem_ui_state_map 
+473b c284c73e bbit1 ui_state_ble_connected ,pop_queue_to_ble_data 
+473c c280474e bbit1 ui_state_bt_connected ,pop_queue_to_classic_data 
+473d 20600000 rtn 
+
+pop_queue_to_ble_data:
+473e 20405892 call le_fifo_check_nearly_full 
+473f 247a0000 nrtn blank 
+4740 20404765 call queue_pop_one_byte 
+4741 24740000 nrtn user 
+4742 1fe0ffff pincrease -1 
+4743 1feffe05 mul32 pdata ,shutter_ble_data_buffer ,pdata 
+4744 d8404741 arg mem_ble_data_buffer1 ,temp 
+4745 98408c00 iadd temp ,contr 
+
+le_send_notify_from_list:
+4746 e8c08000 ifetch 1 ,contr 
+4747 1fe22200 copy pdata ,rega 
+4748 e8c90000 ifetcht 2 ,contr 
+4749 20407ea5 call store_contr 
+474a 20405a64 call le_att_malloc_tx_notify 
+474b 1a227200 copy rega ,loopcnt 
+474c 20407e9f call get_contr 
+474d 20207f01 branch memcpy 
+
+pop_queue_to_classic_data:
+474e 20405271 call l2cap_malloc_is_fifo_nearly_full 
+474f 247a0000 nrtn blank 
+4750 20404765 call queue_pop_one_byte 
+4751 24740000 nrtn user 
+4752 1fe0ffff pincrease -1 
+4753 1feffe05 mul32 pdata ,shutter_classic_data_buffer ,pdata 
+4754 d84047a0 arg mem_classic_data_buffer1 ,temp 
+4755 98408c00 iadd temp ,contr 
+4756 e8c28000 ifetch 5 ,contr 
+4757 6002c79b store 5 ,mem_classic_data_buffer 
+
+classic_send_hid_data:
+4758 6800c79b fetch 1 ,mem_classic_data_buffer 
+4759 1fe22200 copy pdata ,rega 
+475a 20404d63 call hid_malloc_tx_buff 
+475b 6801424e fetch 2 ,mem_hid_int_remote_cid 
+475c e0a10000 istore 2 ,contw 
+475d 580000a1 setarg 0xa1 
+475e e0a08000 istore 1 ,contw 
+475f 6802479c fetch 4 ,mem_classic_data_buffer + 1 
+4760 e0a48000 istore 9 ,contw 
+4761 20600000 rtn 
+
+queue_push_one_byte:
+4762 60008a9a store 1 ,mem_pdatatemp 
+4763 da200a9a arg mem_pdatatemp ,rega 
+4764 20207e3d branch queue_push 
+
+queue_pop_one_byte:
+4765 da200a9a arg mem_pdatatemp ,rega 
+4766 20407e54 call queue_pop 
+4767 24740000 nrtn user 
+4768 68008a9a fetch 1 ,mem_pdatatemp 
+4769 20600000 rtn 
+
+ble_shutter_receive_data:
+476a 68010478 fetch 2 ,mem_le_att_handle 
+476b c00c465f beq gatt_keyboard_write_handle ,ble_shutter_process_reconnect_complete 
+476c 20600000 rtn 
+
+shutter_init_param:
+476d 58000002 setarg 0x02 
+476e 6000c8eb store 1 ,mem_shutter_power_off_timeout 
+476f 58200008 setarg 0x00200008 
+4770 600246c1 store 4 ,mem_ble_shutter_interval_min 
+4771 592c0005 setarg 0x012c0005 
+4772 e0a20000 istore 4 ,contw 
+4773 7044a617 jam 0x17 ,mem_le_local_mtu 
+4774 5800001b setarg 0x1b 
+4775 600144fa store 2 ,mem_le_pairing_handle 
+4776 20405810 call le_set_config_fixed_ltk 
+4777 2040582c call le_set_fixed_ltk 
+4778 20405839 call le_set_justwork 
+4779 20205818 branch le_set_config_read_authentication 
+
+shutter_load_buffer_config_form_datarom:
+477a df200028 arg ble_key_value_list_size ,loopcnt 
+477b d8a04741 arg mem_ble_data_buffer1 ,contw 
+477c d8c0949f arg ble_shutter_key_value_list ,contr 
+477d 20407ef4 call memcpy_fast 
+477e df200028 arg bt_key_value_list_size ,loopcnt 
+477f d8a047a0 arg mem_classic_data_buffer1 ,contw 
+4780 d8c094c7 arg classic_shutter_key_value_list ,contr 
+4781 20207ef4 branch memcpy_fast 
+
+shutter_load_ble_gatt_form_datarom:
+4782 df20017e arg ble_gatt_list_size ,loopcnt 
+4783 d8c0913a arg ble_shutter_gatt_list ,contr 
+4784 20207ef4 branch memcpy_fast 
+
+shutter_load_bt_sdp_form_datarom:
+4785 df2001e7 arg bt_sdp_list_size ,loopcnt 
+4786 d8c092b8 arg classic_shutter_sdp_list ,contr 
+4787 20207ef4 branch memcpy_fast 
+
+shutter_init_bluetooth_config:
+4788 204047ae call shutter_check_load_config_flag 
+4789 24740000 nrtn user 
+478a 6800c69f fetch 1 ,mem_shutter_config_select_gpio1 
+478b 20404790 call shutter_init_bluetooth_config_gpio_input 
+478c 6800c6a0 fetch 1 ,mem_shutter_config_select_gpio2 
+478d 20404790 call shutter_init_bluetooth_config_gpio_input 
+478e 6800c6a1 fetch 1 ,mem_shutter_config_select_gpio3 
+478f 20204790 branch shutter_init_bluetooth_config_gpio_input 
+
+shutter_init_bluetooth_config_gpio_input:
+4790 207a0000 rtn blank 
+4791 1fe18480 or pdata ,0x80 ,temp 
+4792 202067f9 branch gpio_config_input_nowake 
+
+shutter_load_bluetooth_config:
+4793 204047ae call shutter_check_load_config_flag 
+4794 24740000 nrtn user 
+4795 20404797 call shutter_load_bluetooth_config_label 
+4796 202047b4 branch shutter_load_bluetooth_config_by_otp 
+
+shutter_load_bluetooth_config_label:
+4797 da200000 arg 0 ,rega 
+4798 6800c69f fetch 1 ,mem_shutter_config_select_gpio1 
+4799 204047a9 call shutter_load_bluetooth_config_read_gpio_input 
+479a 7d3a2200 nsetflag blank ,0 ,rega 
+479b 6800c6a0 fetch 1 ,mem_shutter_config_select_gpio2 
+479c 204047a9 call shutter_load_bluetooth_config_read_gpio_input 
+479d 7d3a2201 nsetflag blank ,1 ,rega 
+479e 6800c6a1 fetch 1 ,mem_shutter_config_select_gpio3 
+479f 204047a9 call shutter_load_bluetooth_config_read_gpio_input 
+47a0 7d3a2202 nsetflag blank ,2 ,rega 
+47a1 1a227e00 copy rega ,pdata 
+47a2 6000c6a9 store 1 ,mem_shutter_config_label 
+47a3 6800c69e fetch 1 ,mem_shutter_config_size 
+47a4 9a2ffe00 imul32 rega ,pdata 
+47a5 6809469c fetcht 2 ,mem_shutter_config_otp_base_address 
+47a6 9840fe00 iadd temp ,pdata 
+47a7 600146aa store 2 ,mem_shutter_config_otp_addr 
+47a8 20600000 rtn 
+
+shutter_load_bluetooth_config_read_gpio_input:
+47a9 207a0000 rtn blank 
+47aa 1fe18480 or pdata ,0x80 ,temp 
+47ab 2040681d call gpio_get_bit 
+47ac 2420fff1 nbranch enable_blank ,true 
+47ad 20207fef branch disable_blank 
+
+shutter_check_load_config_flag:
+47ae 20407fe9 call disable_user 
+47af 6800c6a8 fetch 1 ,mem_shutter_config_user_size 
+47b0 247a0000 nrtn blank 
+47b1 6800c69b fetch 1 ,mem_shutter_config_enable 
+47b2 207a0000 rtn blank 
+47b3 20207fe7 branch enable_user 
+
+shutter_load_bluetooth_config_by_otp:
+47b4 2040666a call otp_enable_chgpump 
+47b5 680146aa fetch 2 ,mem_shutter_config_otp_addr 
+47b6 da200ac2 arg mem_shutter_config_data_temp ,rega 
+47b7 6808c69e fetcht 1 ,mem_shutter_config_size 
+47b8 204066b3 call otpd_read_data 
+47b9 2040666d call otp_disable_chgpump 
+
+shutter_load_bluetooth_config_store_name:
+47ba 68008ac2 fetch 1 ,mem_shutter_config_data_temp 
+47bb 1fe27200 copy pdata ,loopcnt 
+47bc 6000c3af store 1 ,mem_le_name_len 
+47bd 20407ef4 call memcpy_fast 
+47be 68008ac2 fetch 1 ,mem_shutter_config_data_temp 
+47bf 1fe27200 copy pdata ,loopcnt 
+47c0 6000c515 store 1 ,mem_local_name_length 
+47c1 20407ef4 call memcpy_fast 
+47c2 e8c08000 ifetch 1 ,contr 
+47c3 6000c6e6 store 1 ,mem_shutter_key_num 
+47c4 e8c08000 ifetch 1 ,contr 
+47c5 6000c6dd store 1 ,mem_shutter_hard_soft_switch_case 
+47c6 20600000 rtn 
+
+shutter_load_bluetooth_config_by_eeprom:
+47c7 6800c69a fetch 1 ,mem_shutter_bluetooth_type 
+47c8 c4008000 rtnbit0 classic_shutter 
+47c9 d8400003 arg 3 ,temp 
+47ca 680146a4 fetch 2 ,mem_shutter_config_eeprom_offset_addr 
+47cb 1fe22400 copy pdata ,regb 
+47cc da2046a6 arg mem_shutter_config_eeprom_start_flag ,rega 
+47cd 204065df call iicd_read_eep_data 
+47ce 680946a6 fetcht 2 ,mem_shutter_config_eeprom_start_flag 
+47cf 58001b3a setarg shutter_eeprom_config_crc 
+47d0 98467c00 isub temp ,null 
+47d1 24628000 nrtn zero 
+47d2 6800c6a8 fetch 1 ,mem_shutter_config_user_size 
+47d3 207a0000 rtn blank 
+47d4 1fe20400 copy pdata ,temp 
+47d5 680146a4 fetch 2 ,mem_shutter_config_eeprom_offset_addr 
+47d6 1fe0a403 add pdata ,3 ,regb 
+47d7 da200ac2 arg mem_shutter_config_data_temp ,rega 
+47d8 204065df call iicd_read_eep_data 
+47d9 202047e8 branch shutter_store_config 
+
+shutter_load_bluetooth_config_by_user_config:
+47da 680146a2 fetch 2 ,mem_shutter_config_user_otp_address 
+47db 207a0000 rtn blank 
+47dc 2040666a call otp_enable_chgpump 
+47dd d8400001 arg 1 ,temp 
+47de da2046a8 arg mem_shutter_config_user_size ,rega 
+47df 204066b3 call otpd_read_data 
+47e0 6800c6a8 fetch 1 ,mem_shutter_config_user_size 
+47e1 207a0000 rtn blank 
+47e2 680146a2 fetch 2 ,mem_shutter_config_user_otp_address 
+47e3 1fe0fe01 pincrease 1 
+47e4 da200ac2 arg mem_shutter_config_data_temp ,rega 
+47e5 6808c6a8 fetcht 1 ,mem_shutter_config_user_size 
+47e6 204066b3 call otpd_read_data 
+47e7 2040666d call otp_disable_chgpump 
+
+shutter_store_config:
+47e8 204047ba call shutter_load_bluetooth_config_store_name 
+
+shutter_load_bluetooth_config_custom:
+47e9 e8c10000 ifetch 2 ,contr 
+47ea 207a0000 rtn blank 
+47eb 1fe20a00 copy pdata ,contw 
+47ec e8c88000 ifetcht 1 ,contr 
+47ed 18427200 copy temp ,loopcnt 
+47ee 20407f01 call memcpy 
+47ef 202047e9 branch shutter_load_bluetooth_config_custom 
+
+shutter_random_mac_addr:
+47f0 6800c69a fetch 1 ,mem_shutter_bluetooth_type 
+47f1 c4008000 rtnbit0 classic_shutter 
+47f2 680146ae fetch 2 ,mem_classic_shutter_random_mac_offset_addr 
+47f3 1fe22400 copy pdata ,regb 
+47f4 d8400004 arg 4 ,temp 
+47f5 da200ac2 arg mem_shutter_random_mac_data_temp ,rega 
+47f6 204065df call iicd_read_eep_data 
+47f7 68008ac2 fetch 1 ,mem_shutter_random_mac_data_temp 
+47f8 c080c7f9 bne 1 ,shutter_write_random_mac_addr_to_eeprom 
+
+shutter_write_random_mac_addr_to_eeprom:
+47f9 58000001 setarg 1 
+47fa 60008ac2 store 1 ,mem_shutter_random_mac_data_temp 
+47fb 18007203 force 3 ,loopcnt 
+47fc 2040630d call generate_random_loop 
+47fd 680146ae fetch 2 ,mem_classic_shutter_random_mac_offset_addr 
+47fe 1fe22400 copy pdata ,regb 
+47ff d8400004 arg 4 ,temp 
+4800 da200ac2 arg mem_shutter_random_mac_data_temp ,rega 
+4801 20406606 call iicd_write_eep_data 
+
+shutter_write_random_mac_addr:
+4802 68018ac3 fetch 3 ,mem_shutter_random_mac_data_temp + 1 
+4803 6001c0a0 store 3 ,mem_lap 
+4804 6001c4a0 store 3 ,mem_le_lap 
+4805 20600000 rtn 
+
+shutter_soft_swtich_power_on:
+4806 202046d9 branch shutter_start_reconnect 
+
+shutter_soft_swtich_power_off:
+4807 da200000 arg 0 ,rega 
+4808 da6048d4 arg mem_shutter_power_off_led_style ,regc 
+4809 20407d24 call ui_led_set_style_global 
+480a 204046f4 call shutter_disconnect_current_connection 
+
+shutter_wait_power_off:
+480b 6800c8eb fetch 1 ,mem_shutter_power_off_timeout 
+480c 6000c8ec store 1 ,mem_shutter_power_off_timer 
+480d 20600000 rtn 
+
+ui_soft_swtich_init:
+480e 58000000 setarg ss_state_power_up 
+480f 20404816 call ui_soft_swtich_init_power_on_time 
+4810 70467901 jam ui_button_state_up ,mem_ui_button_last_state 
+4811 20407cd3 call ui_button_init 
+4812 20407cdd call ui_button_polling 
+4813 68014682 fetch 2 ,mem_ui_state_map 
+4814 c3860000 rtnbit1 ui_state_btn_down 
+4815 2020340a branch app_enter_hibernate 
+
+ui_soft_swtich_init_power_on_time:
+4816 6809423f fetcht 2 ,mem_power_param_ptr 
+4817 e0408000 istore 1 ,temp 
+4818 e8a08000 ifetch 1 ,contw 
+4819 6000c685 store 1 ,mem_ui_button_timeout 
+481a 20600000 rtn 
+
+ui_soft_switch_botton_up:
+481b 6801423f fetch 2 ,mem_power_param_ptr 
+481c efe08000 ifetch 1 ,pdata 
+481d c1800000 rtnne ss_state_power_up 
+481e 2020340a branch app_enter_hibernate 
+
+ui_soft_switch_botton_long_press:
+481f 6809423f fetcht 2 ,mem_power_param_ptr 
+4820 e8408000 ifetch 1 ,temp 
+4821 c000c82a beq ss_state_power_on ,ui_soft_switch_power_off 
+
+ui_soft_switch_power_on:
+4822 58000001 setarg ss_state_power_on 
+4823 6809423f fetcht 2 ,mem_power_param_ptr 
+4824 e0408000 istore 1 ,temp 
+4825 18408c02 add temp ,ss_power_off_time ,contr 
+4826 e8c08000 ifetch 1 ,contr 
+4827 e0a08000 istore 1 ,mem_ui_button_timeout 
+4828 e8c10000 ifetch 2 ,contr 
+4829 20207f9c branch callback_func 
+
+ui_soft_switch_power_off:
+482a 58000002 setarg ss_state_power_off 
+482b 20404816 call ui_soft_swtich_init_power_on_time 
+482c 18408c05 add temp ,ss_power_off_cb ,contr 
+482d e8c10000 ifetch 2 ,contr 
+482e 203a340a branch app_enter_hibernate ,blank 
+482f 20207f9c branch callback_func 
+
+shutter_byteswap:
+4830 60030101 store 6 ,mem_tmp_buffer 
+4831 68008101 fetch 1 ,mem_tmp_buffer 
+4832 6000810c store 1 ,mem_tmp_buffer + 11 
+4833 e8c08000 ifetch 1 ,contr 
+4834 6000810b store 1 ,mem_tmp_buffer + 10 
+4835 e8c08000 ifetch 1 ,contr 
+4836 6000810a store 1 ,mem_tmp_buffer + 9 
+4837 e8c08000 ifetch 1 ,contr 
+4838 60008109 store 1 ,mem_tmp_buffer + 8 
+4839 e8c08000 ifetch 1 ,contr 
+483a 60008108 store 1 ,mem_tmp_buffer + 7 
+483b e8c08000 ifetch 1 ,contr 
+483c 60008107 store 1 ,mem_tmp_buffer + 6 
+483d 68030107 fetch 6 ,mem_tmp_buffer + 6 
+483e 20600000 rtn 
+
+shutter_random_addr_by_otp:
+483f 204068a2 call load_adc_init 
+4840 6800c223 fetch 1 ,mem_1v_adc_io_data 
+4841 6000c4a0 store 1 ,mem_le_lap 
+4842 6800c225 fetch 1 ,mem_5v_adc_hvin_data 
+4843 e0a08000 istore 1 ,contw 
+4844 6800c227 fetch 1 ,mem_3v_adc_vinlpm_data 
+4845 e0a08000 istore 1 ,contw 
+4846 6801c4a0 fetch 3 ,mem_le_lap 
+4847 6001c0a0 store 3 ,mem_lap 
+4848 20600000 rtn 
+
+sim_iic_read_eep_data:
+4849 68014203 fetch 2 ,mem_eeprom_base 
+484a 9a40fe00 iadd regb ,pdata 
+484b 1ff0fe00 byteswap pdata ,pdata 
+484c 600101f7 store 2 ,mem_addr_mi 
+484d 18422400 copy temp ,regb 
+484e 2040489b call sim_iic_start 
+484f 580000a0 setarg 0xa0 
+4850 2040488d call sim_iic_send_byte 
+4851 680081f7 fetch 1 ,mem_addr_mi 
+4852 2040488d call sim_iic_send_byte 
+4853 c5144856 bmark1 mark_eeprom_size ,sim_iic_read_eep_data_2k 
+4854 680081f8 fetch 1 ,mem_addr_mi + 1 
+4855 2040488d call sim_iic_send_byte 
+
+sim_iic_read_eep_data_2k:
+4856 204048a1 call sim_iic_stop 
+4857 2040489b call sim_iic_start 
+4858 580000a1 setarg 0xa1 
+4859 2040488d call sim_iic_send_byte 
+
+sim_iic_read_eep_data_loop:
+485a 2040487f call sim_iic_read_byte 
+485b e2208000 istore 1 ,rega 
+485c 1a20a201 increase 1 ,rega 
+485d 1a40a5ff increase -1 ,regb 
+485e 2422c85a nbranch sim_iic_read_eep_data_loop ,zero 
+485f 202048a1 branch sim_iic_stop 
+
+sim_iic_write_eep_data:
+4860 1a50fe00 byteswap regb ,pdata 
+4861 600101f7 store 2 ,mem_addr_mi 
+4862 18422400 copy temp ,regb 
+4863 2040489b call sim_iic_start 
+4864 580000a0 setarg 0xa0 
+4865 2040488d call sim_iic_send_byte 
+4866 680081f7 fetch 1 ,mem_addr_mi 
+4867 2040488d call sim_iic_send_byte 
+4868 c514486b bmark1 mark_eeprom_size ,sim_iic_write_eep_data_loop 
+4869 680081f8 fetch 1 ,mem_addr_mi + 1 
+486a 2040488d call sim_iic_send_byte 
+
+sim_iic_write_eep_data_loop:
+486b ea208000 ifetch 1 ,rega 
+486c 2040488d call sim_iic_send_byte 
+486d 1a20a201 increase 1 ,rega 
+486e 1a40a5ff increase -1 ,regb 
+486f 2422c86b nbranch sim_iic_write_eep_data_loop ,zero 
+4870 202048a1 branch sim_iic_stop 
+
+sim_iic_wait_ack:
+4871 df20000a arg 10 ,loopcnt 
+4872 204048be call sim_iic_release_sda 
+4873 204048a6 call sim_iic_scl_output_high 
+4874 204048d2 call sim_iic_delay 
+
+sim_iic_wait_ack_loop:
+4875 204048c7 call sim_iic_read_sda_level 
+4876 203a48a9 branch sim_iic_scl_output_low ,blank 
+4877 c2004875 loop sim_iic_wait_ack_loop 
+4878 202048a9 branch sim_iic_scl_output_low 
+
+sim_iic_ack_slave:
+4879 204048a9 call sim_iic_scl_output_low 
+487a 204048af call sim_iic_sda_output_low 
+487b 204048d2 call sim_iic_delay 
+487c 204048a6 call sim_iic_scl_output_high 
+487d 204048d2 call sim_iic_delay 
+487e 202048a9 branch sim_iic_scl_output_low 
+
+sim_iic_read_byte:
+487f df200008 arg 8 ,loopcnt 
+4880 da600000 arg 0 ,regc 
+4881 204048be call sim_iic_release_sda 
+
+sim_iic_read_byte_loop:
+4882 204048a6 call sim_iic_scl_output_high 
+4883 204048d2 call sim_iic_delay 
+4884 1a63a600 lshift regc ,regc 
+4885 204048c7 call sim_iic_read_sda_level 
+4886 9a60a600 iadd regc ,regc 
+4887 204048d2 call sim_iic_delay 
+4888 204048a9 call sim_iic_scl_output_low 
+4889 c2004882 loop sim_iic_read_byte_loop 
+488a 20404879 call sim_iic_ack_slave 
+488b 1a627e00 copy regc ,pdata 
+488c 20600000 rtn 
+
+sim_iic_send_byte:
+488d df200008 arg 8 ,loopcnt 
+488e 1fe22600 copy pdata ,regc 
+488f 204048a9 call sim_iic_scl_output_low 
+
+sim_iic_send_byte_loop:
+4890 2a6ffe07 isolate1 7 ,regc 
+4891 2040c8ac call sim_iic_sda_output_high ,true 
+4892 2440c8af ncall sim_iic_sda_output_low ,true 
+4893 1a63a600 lshift regc ,regc 
+4894 204048d2 call sim_iic_delay 
+4895 204048a6 call sim_iic_scl_output_high 
+4896 204048d2 call sim_iic_delay 
+4897 204048a9 call sim_iic_scl_output_low 
+4898 204048d2 call sim_iic_delay 
+4899 c2004890 loop sim_iic_send_byte_loop 
+489a 20204871 branch sim_iic_wait_ack 
+
+sim_iic_start:
+489b 204048ac call sim_iic_sda_output_high 
+489c 204048a6 call sim_iic_scl_output_high 
+489d 204048d2 call sim_iic_delay 
+489e 204048af call sim_iic_sda_output_low 
+489f 204048d2 call sim_iic_delay 
+48a0 202048a9 branch sim_iic_scl_output_low 
+
+sim_iic_stop:
+48a1 204048af call sim_iic_sda_output_low 
+48a2 204048a6 call sim_iic_scl_output_high 
+48a3 204048d2 call sim_iic_delay 
+48a4 204048ac call sim_iic_sda_output_high 
+48a5 202048d2 branch sim_iic_delay 
+
+sim_iic_scl_output_high:
+48a6 78347c00 enable user 
+48a7 6800cffe fetch 1 ,sim_iic_scl_gpio_num 
+48a8 202048b2 branch sim_iic_config_gpio 
+
+sim_iic_scl_output_low:
+48a9 78547c00 disable user 
+48aa 6800cffe fetch 1 ,sim_iic_scl_gpio_num 
+48ab 202048b2 branch sim_iic_config_gpio 
+
+sim_iic_sda_output_high:
+48ac 78347c00 enable user 
+48ad 6800cfff fetch 1 ,sim_iic_sda_gpio_num 
+48ae 202048b2 branch sim_iic_config_gpio 
+
+sim_iic_sda_output_low:
+48af 78547c00 disable user 
+48b0 6800cfff fetch 1 ,sim_iic_sda_gpio_num 
+48b1 202048b2 branch sim_iic_config_gpio 
+
+sim_iic_config_gpio:
+48b2 1fe10e07 and pdata ,0x07 ,queue 
+48b3 1fe97e00 rshift3 pdata ,pdata 
+48b4 d8408070 arg core_gpio_oe0 ,temp 
+48b5 98408400 iadd temp ,temp 
+48b6 e8408000 ifetch 1 ,temp 
+48b7 f9207e00 qset1 pdata 
+48b8 e0408000 istore 1 ,temp 
+48b9 18408404 increase 4 ,temp 
+48ba e8408000 ifetch 1 ,temp 
+48bb f9347e00 qsetflag user ,pdata 
+48bc e0408000 istore 1 ,temp 
+48bd 20600000 rtn 
+
+sim_iic_release_sda:
+48be 6800cfff fetch 1 ,sim_iic_sda_gpio_num 
+48bf 1fe10e07 and pdata ,0x07 ,queue 
+48c0 1fe97e00 rshift3 pdata ,pdata 
+48c1 d8408070 arg core_gpio_oe0 ,temp 
+48c2 98408400 iadd temp ,temp 
+48c3 e8408000 ifetch 1 ,temp 
+48c4 f93ffe00 qset0 pdata 
+48c5 e0408000 istore 1 ,temp 
+48c6 20600000 rtn 
+
+sim_iic_read_sda_level:
+48c7 20000004 nop 4 
+48c8 6800cfff fetch 1 ,sim_iic_sda_gpio_num 
+48c9 1fe10e07 and pdata ,0x07 ,queue 
+48ca 1fe97e00 rshift3 pdata ,pdata 
+48cb d840811c arg core_gpio_in ,temp 
+48cc 98408400 iadd temp ,temp 
+48cd 58000000 setarg 0 
+48ce e8488000 ifetcht 1 ,temp 
+48cf a84fffff qisolate1 temp 
+48d0 7920fe00 setflag true ,0 ,pdata 
+48d1 20600000 rtn 
+
+sim_iic_delay:
+48d2 20600000 rtn 
+
+usb_isr:
+48d3 44fb401e bpatch patch1e_6 ,mem_patch1e 
+48d4 68108a26 hfetch 1 ,core_usb_status 
+48d5 2feffe07 isolate1 7 ,pdata 
+48d6 2040c8ea call usb_init ,true 
+48d7 2040492e call usb_nak_state_judge 
+48d8 68108a26 hfetch 1 ,core_usb_status 
+48d9 60008b22 store 1 ,mem_usb_status 
+48da 68108a27 hfetch 1 ,core_usb_fifo_empty 
+48db 60008b23 store 1 ,mem_usb_fifo_empty 
+48dc 60108a27 hstore 1 ,core_usb_fifo_empty 
+48dd 1fe47e00 pinvert 
+48de 68088d37 fetcht 1 ,mem_usb_tx_wait 
+48df 98417e00 iand temp ,pdata 
+48e0 60008d37 store 1 ,mem_usb_tx_wait 
+48e1 708a26e0 jam 0xe0 ,core_usb_status 
+48e2 68008b23 fetch 1 ,mem_usb_fifo_empty 
+48e3 2fe00201 compare 0x1 ,pdata ,0x1 
+48e4 2040c941 call usb0_fifo_empty ,true 
+48e5 68008b22 fetch 1 ,mem_usb_status 
+48e6 2fe00201 compare 0x1 ,pdata ,0x1 
+48e7 2040c94a call usb_status1 ,true 
+48e8 20404b61 call usb_tx 
+48e9 20204903 branch usb_nak_state 
+
+usb_init:
+48ea 44fbc01e bpatch patch1e_7 ,mem_patch1e 
+48eb 20404919 call usb_init_param 
+48ec 708a0000 jam 0x00 ,core_usb_config 
+48ed 20002710 nop 10000 
+48ee 708a10c0 jam 0xc0 ,core_usb_trig 
+48ef 68110050 hfetch 2 ,core_clkoff 
+48f0 793ffe0a set0 clock_off_usb ,pdata 
+48f1 60110050 hstore 2 ,core_clkoff 
+48f2 708a003c jam 0x3c ,core_usb_config 
+48f3 708a26ff jam 0xff ,core_usb_status 
+48f4 708a27ff jam 0xff ,core_usb_fifo_empty 
+48f5 708a0400 jam 0 ,core_usb_addr 
+48f6 700c6b02 jam dev_default ,mem_usb0_state 
+48f7 58000d9d setarg mem_usb_clear_mem_end 
+48f8 d8a00c6e arg mem_usb_clear_mem_start ,contw 
+48f9 98a67200 isub contw ,loopcnt 
+48fa 20207ed4 branch clear_mem 
+
+usb_offline_check_init:
+48fb 68088c6c fetcht 1 ,mem_usb_offline_check_gpio 
+48fc 202067fb branch gpio_config_input 
+
+usb_offline_state:
+48fd 68008d45 fetch 1 ,mem_usb_device_enumeration_endflag 
+48fe 207a0000 rtn blank 
+48ff 68088c6c fetcht 1 ,mem_usb_offline_check_gpio 
+4900 2040681d call gpio_get_bit 
+4901 2020c8ea branch usb_init ,true 
+4902 20600000 rtn 
+
+usb_nak_state:
+4903 d8e00000 arg timer_nak ,queue 
+4904 20407f16 call timer_check 
+4905 247a0000 nrtn blank 
+4906 68008d46 fetch 1 ,mem_usb_wakestate_onetime_flag 
+4907 247a0000 nrtn blank 
+4908 68008d45 fetch 1 ,mem_usb_device_enumeration_endflag 
+4909 245a4bb7 ncall usb_mac_wakeup_judge ,blank 
+490a 20600000 rtn 
+
+usb_mem_devicedesc_init:
+490b d8a00b68 arg mem_devicedesc ,contw 
+490c 38011212 setsect 0 ,0x11212 
+490d 38048000 setsect 1 ,0x8000 
+490e 38080000 setsect 2 ,0x0 
+490f 380d0000 setsect 3 ,0x10000 
+4910 e0a48000 istore 9 ,contw 
+4911 38022412 setsect 0 ,0x22412 
+4912 38048604 setsect 1 ,0x8604 
+4913 38081000 setsect 2 ,0x1000 
+4914 380c0008 setsect 3 ,0x8 
+4915 e0a48000 istore 9 ,contw 
+4916 38000001 setsect 0 ,0x1 
+4917 e0a08000 istore 1 ,contw 
+4918 20600000 rtn 
+
+usb_init_param:
+4919 700c6b02 jam 2 ,mem_usb0_state 
+491a 58000000 setarg 0x0 
+491b 60008b67 store 1 ,mem_remain 
+491c 60010c65 store 2 ,mem_usb_zero_packet 
+491d 1fe0fe01 pincrease 1 
+491e 60010c67 store 2 ,mem_usb_ones_packet 
+491f 1fe0fe01 pincrease 1 
+4920 60010c69 store 2 ,mem_usb_two_packet 
+4921 58008ffa setarg hid_kbdata_addr 
+4922 60010b7c store 2 ,mem_hidreportdesc_kb 
+4923 5800903a setarg hid_msdata_addr 
+4924 60010b7e store 2 ,mem_hidreportdesc_m 
+4925 d8a00b80 arg mem_confdesc ,contw 
+4926 d8c090fe arg hid_confdata_addr ,contr 
+4927 20407eb3 call memcpy64 
+4928 68008c6d fetch 1 ,mem_usb_tx_interval 
+4929 245a492b ncall usb_tx_interval_config ,blank 
+492a 2020490b branch usb_mem_devicedesc_init 
+
+usb_tx_interval_config:
+492b 60008ba2 store 1 ,mem_confdesc + 34 
+492c 60008bbb store 1 ,mem_confdesc + 59 
+492d 20600000 rtn 
+
+usb_nak_state_judge:
+492e 68108a26 hfetch 1 ,core_usb_status 
+492f c2834931 bbit1 usb_status_nak ,usb_nak_state_timer_init 
+4930 20600000 rtn 
+
+usb_nak_state_timer_init:
+4931 20404936 call usb0_attached_state_judge 
+4932 20407f15 call timer_reinit 
+4933 58000280 setarg timer_nak_delay 
+4934 d8e00000 arg timer_nak ,queue 
+4935 20207f08 branch timer_init 
+
+usb0_attached_state_judge:
+4936 68008d36 fetch 1 ,mem_usb_state 
+4937 c081493b bne usb_connected ,usb_clear_halt_dispose 
+4938 700d4600 jam 0 ,mem_usb_wakestate_onetime_flag 
+4939 700d4700 jam 0 ,mem_usb_mac_wakeup_trig 
+493a 20600000 rtn 
+
+usb_clear_halt_dispose:
+493b 68008d53 fetch 1 ,mem_usb_clear_halt 
+493c 207a0000 rtn blank 
+493d 700d5300 jam 0 ,mem_usb_clear_halt 
+493e 700d3602 jam usb_connected ,mem_usb_state 
+493f 700d4501 jam 1 ,mem_usb_device_enumeration_endflag 
+4940 20600000 rtn 
+
+usb0_fifo_empty:
+4941 708a2701 jam 0x1 ,core_usb_fifo_empty 
+4942 20204b37 branch usb0_tx 
+
+usb_rx_no_data:
+4943 68008b22 fetch 1 ,mem_usb_status 
+4944 c2824955 bbit1 usb_status_setup ,usb_class_type 
+4945 20600000 rtn 
+
+usb_rx_read:
+4946 68108a18 hfetch 1 ,core_usb_ep 
+4947 e0a08000 istore 1 ,contw 
+4948 c2004946 loop usb_rx_read 
+4949 20600000 rtn 
+
+usb_status1:
+494a 44fc401f bpatch patch1f_0 ,mem_patch1f 
+494b 708a2611 jam 0x11 ,core_usb_status 
+494c 68108a20 hfetch 1 ,core_usb_ep_len 
+494d 60008b24 store 1 ,mem_usb_read_len 
+494e 1fe27200 copy pdata ,loopcnt 
+494f 203a4943 branch usb_rx_no_data ,blank 
+4950 d8a00c6e arg mem_usb_setup ,contw 
+4951 20404946 call usb_rx_read 
+4952 68008b24 fetch 1 ,mem_usb_read_len 
+4953 1fe67c07 sub pdata ,7 ,null 
+4954 20610000 rtn positive 
+
+usb_class_type:
+4955 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+4956 1fe17e80 and_into 0x80 ,pdata 
+4957 c040495a beq in_device ,usb_in_device 
+4958 c0004962 beq out_device ,usb_out_device 
+4959 20202a8c branch assert 
+
+usb_in_device:
+495a 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+495b 1ff1fe00 rshift4 pdata ,pdata 
+495c 1fe37e00 rshift pdata ,pdata 
+495d 1fe17e03 and_into 0x03 ,pdata 
+495e c000496a beq standard_req ,usb_in_standard_req 
+495f c000c970 beq class_req ,usb_in_class_req 
+4960 c0014975 beq manufacturer_req ,usb_in_manufacturer_req 
+4961 20202a8c branch assert 
+
+usb_out_device:
+4962 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+4963 1ff1fe00 rshift4 pdata ,pdata 
+4964 1fe37e00 rshift pdata ,pdata 
+4965 1fe17e03 and_into 0x03 ,pdata 
+4966 c0004976 beq standard_req ,usb_out_standard_req 
+4967 c000c97e beq class_req ,usb_out_class_req 
+4968 c0014983 beq manufacturer_req ,usb_out_manufacturer_req 
+4969 20202a8c branch assert 
+
+usb_in_standard_req:
+496a 68008c6f fetch 1 ,mem_usb_setup_brequest 
+496b c004498a beq get_configuration ,usb0_request_get_configuration 
+496c c00349a0 beq get_descriptor ,usb0_request_get_descriptor 
+496d c00549ea beq get_interface ,usb0_request_get_interface 
+496e c00049fc beq get_status ,usb0_request_get_status 
+496f 20204984 branch usb0_force_stall 
+
+usb_in_class_req:
+4970 68008c6f fetch 1 ,mem_usb_setup_brequest 
+4971 c0014a2f beq get_idle ,usb_get_idle 
+4972 c000ca33 beq get_report ,usb_get_report 
+4973 c001ca45 beq get_protocol ,usb_get_protocol_req 
+4974 20204984 branch usb0_force_stall 
+
+usb_in_manufacturer_req:
+4975 20204984 branch usb0_force_stall 
+
+usb_out_standard_req:
+4976 68008c6f fetch 1 ,mem_usb_setup_brequest 
+4977 c000ca4f beq clear_feature ,usb0_request_clear_feature 
+4978 c001ca79 beq set_feature ,usb0_request_set_feature 
+4979 c002caa3 beq set_address ,usb0_request_set_address 
+497a c004cabc beq set_configuration ,usb0_request_set_configuration 
+497b c005cad7 beq set_interface ,usb0_request_set_interface 
+497c c003c984 beq set_descriptor ,usb0_force_stall 
+497d 20204984 branch usb0_force_stall 
+
+usb_out_class_req:
+497e 68008c6f fetch 1 ,mem_usb_setup_brequest 
+497f c0054ae8 beq set_idle ,usb_set_idle 
+4980 c004caf9 beq set_report ,usb_set_report 
+4981 c005cb11 beq set_protocol ,usb_set_protocol_req 
+4982 20204984 branch usb0_force_stall 
+
+usb_out_manufacturer_req:
+4983 20204984 branch usb0_force_stall 
+
+usb0_force_stall:
+4984 68108a11 hfetch 1 ,core_usb_stall 
+4985 79207e00 set1 0 ,pdata 
+4986 60108a11 hstore 1 ,core_usb_stall 
+4987 20204988 branch usb0_reply_zerolen 
+
+usb0_reply_zerolen:
+4988 708a1240 jam 0x40 ,core_usb_clear 
+4989 20600000 rtn 
+
+usb0_request_get_configuration:
+498a 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+498b c0c04984 bne in_device ,usb0_force_stall 
+498c 68008c72 fetch 1 ,mem_usb_setup_windex 
+498d c0804984 bne 0 ,usb0_force_stall 
+498e 68008c73 fetch 1 ,mem_usb_setup_windex + 1 
+498f c0804984 bne 0 ,usb0_force_stall 
+4990 68008c74 fetch 1 ,mem_usb_setup_blength 
+4991 c080c984 bne 1 ,usb0_force_stall 
+4992 68008c75 fetch 1 ,mem_usb_setup_blengthh 
+4993 c0804984 bne 0 ,usb0_force_stall 
+4994 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+4995 c0804984 bne 0 ,usb0_force_stall 
+4996 68008c71 fetch 1 ,mem_usb_setup_bvalue + 1 
+4997 c0804984 bne 0 ,usb0_force_stall 
+4998 68008c6b fetch 1 ,mem_usb0_state 
+4999 c002499c beq dev_configured ,usb0_request_get_cfg_dev_cfg 
+499a c001c99e beq dev_address ,usb0_request_get_cfg_dev_addr 
+499b 20204984 branch usb0_force_stall 
+
+usb0_request_get_cfg_dev_cfg:
+499c da400001 arg 1 ,regb 
+499d 20204a14 branch usb_send_ones_packet 
+
+usb0_request_get_cfg_dev_addr:
+499e da400001 arg 1 ,regb 
+499f 20204a12 branch usb_send_zero_packet 
+
+usb0_request_get_descriptor:
+49a0 44fcc01f bpatch patch1f_1 ,mem_patch1f 
+49a1 793f8023 set0 mark_isstr ,mark 
+49a2 68008c71 fetch 1 ,mem_usb_setup_bvalueh 
+49a3 c000c9b6 beq dsc_device ,dsc_device_info 
+49a4 c00149cf beq dsc_config ,dsc_config_info 
+49a5 c001c9d2 beq dsc_string ,dsc_string_info 
+49a6 c010c9a9 beq dsc_hid ,dsc_hid_info 
+49a7 c01149e0 beq dsc_hid_report ,dsc_hid_report_info 
+49a8 20204984 branch usb0_force_stall 
+
+dsc_hid_info:
+49a9 700d4b00 jam 0 ,mem_usb_get_protocol_flag 
+49aa 68008c72 fetch 1 ,mem_usb_setup_windex 
+49ab c00049ae beq 0 ,dsc_hid_info_interface0 
+49ac c000c9b2 beq 1 ,dsc_hid_info_interface1 
+49ad 20204984 branch usb0_force_stall 
+
+dsc_hid_info_interface0:
+49ae da200b93 arg mem_confdesc + 19 ,rega 
+49af ea208000 ifetch 1 ,rega 
+49b0 98002400 iforce regb 
+49b1 20204b21 branch usb0_respond 
+
+dsc_hid_info_interface1:
+49b2 da200bac arg mem_confdesc + 44 ,rega 
+49b3 ea208000 ifetch 1 ,rega 
+49b4 98002400 iforce regb 
+49b5 20204b21 branch usb0_respond 
+
+dsc_device_info:
+49b6 68008d48 fetch 1 ,mem_usb_set_high_addr_flag 
+49b7 245a49c7 ncall usb_set_high_addr ,blank 
+49b8 58000b68 setarg mem_devicedesc 
+49b9 68088b68 fetcht 1 ,mem_devicedesc 
+
+dsc_info_set_data_len:
+49ba 60010d3f store 2 ,mem_dsc_info_data_pointer 
+49bb 60088d41 storet 1 ,mem_dsc_info_len 
+49bc 68008c74 fetch 1 ,mem_usb_setup_blength 
+49bd 98467c00 isub temp ,null 
+49be 242149c5 nbranch dsc_info_set_current_data_len ,positive 
+
+dsc_info_set_initial_data_len:
+49bf 68008d41 fetch 1 ,mem_dsc_info_len 
+
+dsc_info_set_data_size_completed:
+49c0 98002400 iforce regb 
+49c1 68010d3f fetch 2 ,mem_dsc_info_data_pointer 
+49c2 1fe0fe01 add pdata ,1 ,pdata 
+49c3 98002200 iforce rega 
+49c4 20204b21 branch usb0_respond 
+
+dsc_info_set_current_data_len:
+49c5 68008c74 fetch 1 ,mem_usb_setup_blength 
+49c6 202049c0 branch dsc_info_set_data_size_completed 
+
+usb_set_high_addr:
+49c7 68108a04 hfetch 1 ,core_usb_addr 
+49c8 245a49cb ncall usb0_set_addr ,blank 
+49c9 700d4800 jam 0 ,mem_usb_set_high_addr_flag 
+49ca 20600000 rtn 
+
+usb0_set_addr:
+49cb 68108a04 hfetch 1 ,core_usb_addr 
+49cc 79207e07 set1 7 ,pdata 
+49cd 60108a04 hstore 1 ,core_usb_addr 
+49ce 20600000 rtn 
+
+dsc_config_info:
+49cf 58000b80 setarg mem_confdesc 
+49d0 68088b80 fetcht 1 ,mem_confdesc 
+49d1 202049ba branch dsc_info_set_data_len 
+
+dsc_string_info:
+49d2 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+49d3 1fe67c03 sub pdata ,3 ,null 
+49d4 24214984 nbranch usb0_force_stall ,positive 
+49d5 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+49d6 da200be4 arg mem_string0 ,rega 
+49d7 c0004b1e beq 0 ,usb0_respond_length 
+49d8 79200023 set1 mark_isstr ,mark 
+49d9 da200be9 arg mem_string1 ,rega 
+49da c000cb1e beq 1 ,usb0_respond_length 
+49db da200c07 arg mem_string2 ,rega 
+49dc c0014b1e beq 2 ,usb0_respond_length 
+49dd da200c47 arg mem_string3 ,rega 
+49de c001cb1e beq 3 ,usb0_respond_length 
+49df 20600000 rtn 
+
+dsc_hid_report_info:
+49e0 68010c72 fetch 2 ,mem_usb_setup_windex 
+49e1 c000c9e5 beq 1 ,dsc_hid_report_info0 
+49e2 68010b7c fetch 2 ,mem_hidreportdesc_kb 
+49e3 1fe22200 copy pdata ,rega 
+49e4 20204b1e branch usb0_respond_length 
+
+dsc_hid_report_info0:
+49e5 700d4501 jam 1 ,mem_usb_device_enumeration_endflag 
+49e6 700d3601 jam usb_got_report_req ,mem_usb_state 
+49e7 68010b7e fetch 2 ,mem_hidreportdesc_m 
+49e8 1fe22200 copy pdata ,rega 
+49e9 20204b1e branch usb0_respond_length 
+
+usb0_request_get_interface:
+49ea 68008c6b fetch 1 ,mem_usb0_state 
+49eb c0824984 bne dev_configured ,usb0_force_stall 
+49ec 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+49ed c0c0c984 bne in_interface ,usb0_force_stall 
+49ee 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+49ef c0804984 bne 0 ,usb0_force_stall 
+49f0 68008c71 fetch 1 ,mem_usb_setup_bvalueh 
+49f1 c0804984 bne 0 ,usb0_force_stall 
+49f2 68008c74 fetch 1 ,mem_usb_setup_blength 
+49f3 c080c984 bne 1 ,usb0_force_stall 
+49f4 68008c75 fetch 1 ,mem_usb_setup_blengthh 
+49f5 c0804984 bne 0 ,usb0_force_stall 
+49f6 68008c72 fetch 1 ,mem_usb_setup_windex 
+49f7 c0804984 bne 0 ,usb0_force_stall 
+49f8 68008c73 fetch 1 ,mem_usb_setup_windex + 1 
+49f9 c0804984 bne 0 ,usb0_force_stall 
+49fa da400001 arg 1 ,regb 
+49fb 20204a12 branch usb_send_zero_packet 
+
+usb0_request_get_status:
+49fc 68008c6b fetch 1 ,mem_usb0_state 
+49fd c0014984 beq dev_default ,usb0_force_stall 
+49fe 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+49ff c0804984 bne 0 ,usb0_force_stall 
+4a00 68008c71 fetch 1 ,mem_usb_setup_bvalueh 
+4a01 c0804984 bne 0 ,usb0_force_stall 
+4a02 68008c74 fetch 1 ,mem_usb_setup_blength 
+4a03 c0814984 bne 2 ,usb0_force_stall 
+4a04 68008c75 fetch 1 ,mem_usb_setup_blengthh 
+4a05 c0804984 bne 0 ,usb0_force_stall 
+4a06 68008c73 fetch 1 ,mem_usb_setup_windex + 1 
+4a07 c0804984 bne 0 ,usb0_force_stall 
+4a08 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+4a09 c0404a0d beq in_device ,usb0_get_status_in_device 
+4a0a c040ca18 beq in_interface ,usb0_get_status_in_interface 
+4a0b c0414a1c beq in_endpoint ,usb0_get_status_in_endpoint 
+4a0c 20204984 branch usb0_force_stall 
+
+usb0_get_status_in_device:
+4a0d 68008c72 fetch 1 ,mem_usb_setup_windex 
+4a0e c0804984 bne 0 ,usb0_force_stall 
+4a0f da400002 arg 2 ,regb 
+4a10 68008d39 fetch 1 ,mem_usb_remote_wakeup 
+4a11 c000ca16 beq 0x01 ,usb_send_two_packet 
+
+usb_send_zero_packet:
+4a12 da200c65 arg mem_usb_zero_packet ,rega 
+4a13 20204b21 branch usb0_respond 
+
+usb_send_ones_packet:
+4a14 da200c67 arg mem_usb_ones_packet ,rega 
+4a15 20204b21 branch usb0_respond 
+
+usb_send_two_packet:
+4a16 da200c69 arg mem_usb_two_packet ,rega 
+4a17 20204b21 branch usb0_respond 
+
+usb0_get_status_in_interface:
+4a18 68008c6b fetch 1 ,mem_usb0_state 
+4a19 c0824984 bne dev_configured ,usb0_force_stall 
+4a1a da400002 arg 2 ,regb 
+4a1b 20204a12 branch usb_send_zero_packet 
+
+usb0_get_status_in_endpoint:
+4a1c 68008c6b fetch 1 ,mem_usb0_state 
+4a1d c0824984 bne dev_configured ,usb0_force_stall 
+4a1e 68008c72 fetch 1 ,mem_usb_setup_windex 
+4a1f c040ca29 beq in_ep1 ,usb0_get_status_in_ep_in_ep1 
+4a20 c0414a2b beq in_ep2 ,usb0_get_status_in_ep_in_ep2 
+4a21 c041ca2d beq in_ep3 ,usb0_get_status_in_ep_in_ep3 
+4a22 1fe17e7f and_into 0x7f ,pdata 
+4a23 c0004a25 beq 0x00 ,usb0_get_status_in_ep_in_ep0 
+4a24 20204984 branch usb0_force_stall 
+
+usb0_get_status_in_ep_in_ep0:
+4a25 68008d3b fetch 1 ,mem_usb_ep0_stall_status 
+
+usb0_get_status_in_ep_in_ack:
+4a26 da400002 arg 2 ,regb 
+4a27 c000ca14 beq 1 ,usb_send_ones_packet 
+4a28 20204a12 branch usb_send_zero_packet 
+
+usb0_get_status_in_ep_in_ep1:
+4a29 68008d3c fetch 1 ,mem_usb_ep1_stall_status 
+4a2a 20204a26 branch usb0_get_status_in_ep_in_ack 
+
+usb0_get_status_in_ep_in_ep2:
+4a2b 68008d3d fetch 1 ,mem_usb_ep2_stall_status 
+4a2c 20204a26 branch usb0_get_status_in_ep_in_ack 
+
+usb0_get_status_in_ep_in_ep3:
+4a2d 68008d3e fetch 1 ,mem_usb_ep3_stall_status 
+4a2e 20204a26 branch usb0_get_status_in_ep_in_ack 
+
+usb_get_idle:
+4a2f 700d4c01 jam 1 ,mem_usb_idle_flag 
+4a30 da200d4d arg mem_usb_idle_rate ,rega 
+4a31 da400001 arg 1 ,regb 
+4a32 20204b21 branch usb0_respond 
+
+usb_get_report:
+4a33 68010c70 fetch 2 ,mem_usb_setup_bvalue 
+4a34 d84001ba arg pc_get_report ,temp 
+4a35 98467c00 isub temp ,null 
+4a36 2422c984 nbranch usb0_force_stall ,zero 
+4a37 793f8023 set0 mark_isstr ,mark 
+
+usb_get_report_dispose:
+4a38 68008d42 fetch 1 ,mem_usb0_data_ready_report 
+4a39 243a4a42 nbranch usb_get_report_data_success ,blank 
+4a3a 700cf600 jam pc_get_nondata ,mem_usb0_get_report_data 
+
+usb_get_report_send_data:
+4a3b 68008c74 fetch 1 ,mem_usb_setup_blength 
+4a3c 98002400 iforce regb 
+4a3d da200cf6 arg mem_usb0_get_report_data ,rega 
+4a3e 20404b21 call usb0_respond 
+
+usb_get_report_data_release:
+4a3f d8a00cf6 arg mem_usb0_get_report_data ,contw 
+4a40 df200008 arg 8 ,loopcnt 
+4a41 20207ec6 branch memset0 
+
+usb_get_report_data_success:
+4a42 700d4200 jam 0 ,mem_usb0_data_ready_report 
+4a43 700cf601 jam pc_get_data ,mem_usb0_get_report_data 
+4a44 20204a3b branch usb_get_report_send_data 
+
+usb_get_protocol_req:
+4a45 68008c74 fetch 1 ,mem_usb_setup_blength 
+4a46 c080c984 bne 1 ,usb0_force_stall 
+4a47 700d4b01 jam 1 ,mem_usb_get_protocol_flag 
+4a48 da400001 arg 1 ,regb 
+4a49 68008d49 fetch 1 ,mem_usb_set_protocol_value 
+4a4a c0004a4d beq 0 ,usb_get_report_protocol 
+4a4b c000ca4e beq 1 ,usb_get_boot_protocol 
+4a4c 20204a12 branch usb_send_zero_packet 
+
+usb_get_report_protocol:
+4a4d 20204a14 branch usb_send_ones_packet 
+
+usb_get_boot_protocol:
+4a4e 20204a12 branch usb_send_zero_packet 
+
+usb0_request_clear_feature:
+4a4f 68008c6b fetch 1 ,mem_usb0_state 
+4a50 c0824984 bne dev_configured ,usb0_force_stall 
+4a51 68008c74 fetch 1 ,mem_usb_setup_blength 
+4a52 c0804984 bne 0 ,usb0_force_stall 
+4a53 68008c75 fetch 1 ,mem_usb_setup_blengthh 
+4a54 c0804984 bne 0 ,usb0_force_stall 
+4a55 68008c71 fetch 1 ,mem_usb_setup_bvalueh 
+4a56 c0804984 bne 0 ,usb0_force_stall 
+4a57 68008c73 fetch 1 ,mem_usb_setup_windex + 1 
+4a58 c0804984 bne 0 ,usb0_force_stall 
+4a59 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+4a5a c0004a5e beq out_device ,usb0_request_clear_feature_out_device 
+4a5b c000ca66 beq out_interface ,usb0_request_clear_feature_out_interface 
+4a5c c0014a67 beq out_endpoint ,usb0_request_clear_feature_out_endpoint 
+4a5d 20204984 branch usb0_force_stall 
+
+usb0_request_clear_feature_out_device:
+4a5e 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+4a5f c080c984 bne device_remote_wakeup ,usb0_force_stall 
+4a60 68108a00 hfetch 1 ,core_usb_config 
+4a61 793ffe07 set0 7 ,pdata 
+4a62 60108a00 hstore 1 ,core_usb_config 
+4a63 700d3900 jam 0 ,mem_usb_remote_wakeup 
+4a64 700d3a01 jam 1 ,mem_usb_clear_remote_wakeup 
+4a65 20204988 branch usb0_reply_zerolen 
+
+usb0_request_clear_feature_out_interface:
+4a66 20204984 branch usb0_force_stall 
+
+usb0_request_clear_feature_out_endpoint:
+4a67 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+4a68 c0804984 bne endpoint_halt ,usb0_force_stall 
+4a69 68008c72 fetch 1 ,mem_usb_setup_windex 
+4a6a c040ca72 beq in_ep1 ,usb0_force_stall_ep1_in_off 
+4a6b c0414a75 beq in_ep2 ,usb0_force_stall_ep2_in_off 
+4a6c c041ca77 beq in_ep3 ,usb0_force_stall_ep3_in_off 
+4a6d 1fe17e7f and_into 0x7f ,pdata 
+4a6e c0004a70 beq 0x00 ,usb0_force_stall_ep0_in_off 
+4a6f 20204984 branch usb0_force_stall 
+
+usb0_force_stall_ep0_in_off:
+4a70 700d3b00 jam 0 ,mem_usb_ep0_stall_status 
+4a71 20204988 branch usb0_reply_zerolen 
+
+usb0_force_stall_ep1_in_off:
+4a72 700d3c00 jam 0 ,mem_usb_ep1_stall_status 
+
+usb0_force_stall_ep1_in_off_reply:
+4a73 700d5301 jam 1 ,mem_usb_clear_halt 
+4a74 20204988 branch usb0_reply_zerolen 
+
+usb0_force_stall_ep2_in_off:
+4a75 700d3d00 jam 0 ,mem_usb_ep2_stall_status 
+4a76 20204a73 branch usb0_force_stall_ep1_in_off_reply 
+
+usb0_force_stall_ep3_in_off:
+4a77 700d3e00 jam 0 ,mem_usb_ep3_stall_status 
+4a78 20204a73 branch usb0_force_stall_ep1_in_off_reply 
+
+usb0_request_set_feature:
+4a79 68008c74 fetch 1 ,mem_usb_setup_blength 
+4a7a c0804984 bne 0 ,usb0_force_stall 
+4a7b 68008c75 fetch 1 ,mem_usb_setup_blengthh 
+4a7c c0804984 bne 0 ,usb0_force_stall 
+4a7d 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+4a7e c0004a82 beq out_device ,usb0_request_set_feature_out_device 
+4a7f c000ca8f beq out_interface ,usb0_request_set_feature_out_interface 
+4a80 c0014a90 beq out_endpoint ,usb0_request_set_feature_out_endpoint 
+4a81 20204984 branch usb0_force_stall 
+
+usb0_request_set_feature_out_device:
+4a82 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+4a83 c080c984 bne device_remote_wakeup ,usb0_force_stall 
+4a84 68108a00 hfetch 1 ,core_usb_config 
+4a85 79207e07 set1 7 ,pdata 
+4a86 60108a00 hstore 1 ,core_usb_config 
+4a87 700d3901 jam 1 ,mem_usb_remote_wakeup 
+4a88 700d3603 jam usb_sleep ,mem_usb_state 
+4a89 700d4300 jam 0 ,mem_usb_tx_win_enable 
+4a8a 20404988 call usb0_reply_zerolen 
+
+usb_wakeup_timer_reinit:
+4a8b 20407f15 call timer_reinit 
+4a8c 58001388 setarg timer_wakeup_delay 
+4a8d d8e0000f arg timer_wakeup ,queue 
+4a8e 20207f08 branch timer_init 
+
+usb0_request_set_feature_out_interface:
+4a8f 20204984 branch usb0_force_stall 
+
+usb0_request_set_feature_out_endpoint:
+4a90 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+4a91 c0804984 bne endpoint_halt ,usb0_force_stall 
+4a92 68008c71 fetch 1 ,mem_usb_setup_bvalueh 
+4a93 c0804984 bne 0 ,usb0_force_stall 
+4a94 68008c72 fetch 1 ,mem_usb_setup_windex 
+4a95 c040ca9d beq in_ep1 ,usb0_force_stall_ep1_in_on 
+4a96 c0414a9f beq in_ep2 ,usb0_force_stall_ep2_in_on 
+4a97 c041caa1 beq in_ep3 ,usb0_force_stall_ep3_in_on 
+4a98 1fe17e7f and_into 0x7f ,pdata 
+4a99 c0004a9b beq 0x00 ,usb0_force_stall_ep0_in_on 
+4a9a 20204984 branch usb0_force_stall 
+
+usb0_force_stall_ep0_in_on:
+4a9b 700d3b01 jam 1 ,mem_usb_ep0_stall_status 
+4a9c 20204988 branch usb0_reply_zerolen 
+
+usb0_force_stall_ep1_in_on:
+4a9d 700d3c01 jam 1 ,mem_usb_ep1_stall_status 
+4a9e 20204988 branch usb0_reply_zerolen 
+
+usb0_force_stall_ep2_in_on:
+4a9f 700d3d01 jam 1 ,mem_usb_ep2_stall_status 
+4aa0 20204988 branch usb0_reply_zerolen 
+
+usb0_force_stall_ep3_in_on:
+4aa1 700d3e01 jam 1 ,mem_usb_ep3_stall_status 
+4aa2 20204988 branch usb0_reply_zerolen 
+
+usb0_request_set_address:
+4aa3 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+4aa4 c0804984 bne out_device ,usb0_force_stall 
+4aa5 68008c72 fetch 1 ,mem_usb_setup_windex 
+4aa6 c0804984 bne 0 ,usb0_force_stall 
+4aa7 68008c73 fetch 1 ,mem_usb_setup_windex + 1 
+4aa8 c0804984 bne 0 ,usb0_force_stall 
+4aa9 68008c74 fetch 1 ,mem_usb_setup_blength 
+4aaa c0804984 bne 0 ,usb0_force_stall 
+4aab 68008c75 fetch 1 ,mem_usb_setup_blengthh 
+4aac c0804984 bne 0 ,usb0_force_stall 
+4aad 68008c71 fetch 1 ,mem_usb_setup_bvalueh 
+4aae c0804984 bne 0 ,usb0_force_stall 
+4aaf 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+4ab0 1fe17e80 and_into 0x80 ,pdata 
+4ab1 c0804984 bne 0 ,usb0_force_stall 
+4ab2 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+4ab3 c0804aba bne 0 ,usb_usb0_state_set_dev_addr 
+
+usb_usb0_state_set_dev_default:
+4ab4 700c6b02 jam dev_default ,mem_usb0_state 
+
+usb0_request_set_wait_address:
+4ab5 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+4ab6 60108a04 hstore 1 ,core_usb_addr 
+4ab7 20404988 call usb0_reply_zerolen 
+4ab8 700d4801 jam 1 ,mem_usb_set_high_addr_flag 
+4ab9 20600000 rtn 
+
+usb_usb0_state_set_dev_addr:
+4aba 700c6b03 jam dev_address ,mem_usb0_state 
+4abb 20204ab5 branch usb0_request_set_wait_address 
+
+usb0_request_set_configuration:
+4abc 68008c6b fetch 1 ,mem_usb0_state 
+4abd c0014984 beq dev_default ,usb0_force_stall 
+4abe 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+4abf c0804984 bne out_device ,usb0_force_stall 
+4ac0 68008c72 fetch 1 ,mem_usb_setup_windex 
+4ac1 c0804984 bne 0 ,usb0_force_stall 
+4ac2 68008c73 fetch 1 ,mem_usb_setup_windex + 1 
+4ac3 c0804984 bne 0 ,usb0_force_stall 
+4ac4 68008c74 fetch 1 ,mem_usb_setup_blength 
+4ac5 c0804984 bne 0 ,usb0_force_stall 
+4ac6 68008c75 fetch 1 ,mem_usb_setup_blengthh 
+4ac7 c0804984 bne 0 ,usb0_force_stall 
+4ac8 68008c71 fetch 1 ,mem_usb_setup_bvalue + 1 
+4ac9 c0804984 bne 0 ,usb0_force_stall 
+4aca 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+4acb 1fe67c01 sub pdata ,usb_max_num_cfg ,null 
+4acc 24214984 nbranch usb0_force_stall ,positive 
+4acd 68008c6b fetch 1 ,mem_usb0_state 
+4ace c001cad1 beq dev_address ,usb0_request_set_cfg_addr_state 
+4acf c0024ad1 beq dev_configured ,usb0_request_set_cfg_cfg_state 
+4ad0 20204984 branch usb0_force_stall 
+
+usb0_request_set_cfg_addr_state:
+
+usb0_request_set_cfg_cfg_state:
+4ad1 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+4ad2 c0004ad5 beq 0 ,usb0_request_set_cfg_stay_addr_state 
+4ad3 700c6b04 jam dev_configured ,mem_usb0_state 
+4ad4 20204988 branch usb0_reply_zerolen 
+
+usb0_request_set_cfg_stay_addr_state:
+4ad5 700c6b03 jam dev_address ,mem_usb0_state 
+4ad6 20204988 branch usb0_reply_zerolen 
+
+usb0_request_set_interface:
+4ad7 68008c6b fetch 1 ,mem_usb0_state 
+4ad8 c0824984 bne dev_configured ,usb0_force_stall 
+4ad9 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+4ada c080c984 bne out_interface ,usb0_force_stall 
+4adb 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+4adc c0804984 bne 0 ,usb0_force_stall 
+4add 68008c71 fetch 1 ,mem_usb_setup_bvalueh 
+4ade c0804984 bne 0 ,usb0_force_stall 
+4adf 68008c74 fetch 1 ,mem_usb_setup_blength 
+4ae0 c0804984 bne 0 ,usb0_force_stall 
+4ae1 68008c75 fetch 1 ,mem_usb_setup_blengthh 
+4ae2 c0804984 bne 0 ,usb0_force_stall 
+4ae3 68008c72 fetch 1 ,mem_usb_setup_windex 
+4ae4 c0804984 bne 0 ,usb0_force_stall 
+4ae5 68008c73 fetch 1 ,mem_usb_setup_windex + 1 
+4ae6 c0804984 bne 0 ,usb0_force_stall 
+4ae7 20204988 branch usb0_reply_zerolen 
+
+usb_set_idle:
+4ae8 700d4c01 jam 1 ,mem_usb_idle_flag 
+4ae9 68008c71 fetch 1 ,mem_usb_setup_bvalueh 
+4aea 60008d4d store 1 ,mem_usb_idle_rate 
+4aeb 68008c72 fetch 1 ,mem_usb_setup_windex 
+4aec 1fe67c01 sub pdata ,1 ,null 
+4aed 2042caf5 call usb_clear_remote_wakeup_set0 ,zero 
+4aee 68008d36 fetch 1 ,mem_usb_state 
+4aef c0824988 bne usb_resume ,usb0_reply_zerolen 
+4af0 700d3602 jam usb_connected ,mem_usb_state 
+4af1 20404988 call usb0_reply_zerolen 
+4af2 20007530 nop 30000 
+4af3 20007530 nop 30000 
+4af4 20600000 rtn 
+
+usb_clear_remote_wakeup_set0:
+4af5 700d4501 jam 1 ,mem_usb_device_enumeration_endflag 
+4af6 700d3a00 jam 0 ,mem_usb_clear_remote_wakeup 
+4af7 700d3604 jam usb_resume ,mem_usb_state 
+4af8 20600000 rtn 
+
+usb_set_report:
+4af9 700d5001 jam 1 ,mem_usb0_get_set_report 
+4afa 20404b03 call usb_set_report_resume_judge 
+4afb 68010c70 fetch 2 ,mem_usb_setup_bvalue 
+4afc 60010d4e store 2 ,mem_usb_setup_bvalue_temp 
+4afd 68008c74 fetch 1 ,mem_usb_setup_blength 
+4afe 98007200 iforce loopcnt 
+4aff d8c00c76 arg mem_usb0_setup ,contr 
+4b00 d8a00cb6 arg mem_usb0_set_report_data ,contw 
+4b01 20407f01 call memcpy 
+4b02 20204988 branch usb0_reply_zerolen 
+
+usb_set_report_resume_judge:
+4b03 68010c70 fetch 2 ,mem_usb_setup_bvalue 
+4b04 d8400200 arg pc_set_report_bvalue ,temp 
+4b05 98467c00 isub temp ,null 
+4b06 24628000 nrtn zero 
+4b07 68010c72 fetch 2 ,mem_usb_setup_windex 
+4b08 d8400000 arg pc_set_report_windex ,temp 
+4b09 98467c00 isub temp ,null 
+4b0a 24628000 nrtn zero 
+4b0b 68010c74 fetch 2 ,mem_usb_setup_blength 
+4b0c d8400001 arg pc_set_report_blength ,temp 
+4b0d 98467c00 isub temp ,null 
+4b0e 24628000 nrtn zero 
+4b0f 700d4301 jam 1 ,mem_usb_tx_win_enable 
+4b10 20600000 rtn 
+
+usb_set_protocol_req:
+4b11 68008c74 fetch 1 ,mem_usb_setup_blength 
+4b12 c0804984 bne 0 ,usb0_force_stall 
+4b13 68008c70 fetch 1 ,mem_usb_setup_bvalue 
+4b14 c0004b17 beq boot_protocol ,usb_set_boot_protocol 
+4b15 c000cb1a beq report_protocol ,usb_set_report_protocol 
+4b16 20204984 branch usb0_force_stall 
+
+usb_set_boot_protocol:
+4b17 700d4a00 jam 0 ,mem_usb_set_protocol_status 
+4b18 700d4901 jam 1 ,mem_usb_set_protocol_value 
+4b19 20204988 branch usb0_reply_zerolen 
+
+usb_set_report_protocol:
+4b1a 700d4401 jam 1 ,mem_usb_tx_mac_enable 
+4b1b 700d4a01 jam 1 ,mem_usb_set_protocol_status 
+4b1c 700d4900 jam 0 ,mem_usb_set_protocol_value 
+4b1d 20204988 branch usb0_reply_zerolen 
+
+usb0_respond_length:
+4b1e ea208000 ifetch 1 ,rega 
+4b1f 98002400 iforce regb 
+4b20 1a20a201 increase 1 ,rega 
+
+usb0_respond:
+4b21 44fd401f bpatch patch1f_2 ,mem_patch1f 
+4b22 c591cb2c bmark0 mark_isstr ,usb0_respond0 
+4b23 1a40fe01 add regb ,1 ,pdata 
+4b24 1fe3fe00 lshift pdata ,pdata 
+4b25 60108a18 hstore 1 ,core_usb_dfifo0 
+4b26 708a1803 jam 3 ,core_usb_dfifo0 
+4b27 68008c74 fetch 1 ,mem_usb_setup_blength 
+4b28 1fe0fffe increase -2 ,pdata 
+4b29 1fe37e00 rshift pdata ,pdata 
+4b2a 60008c74 store 1 ,mem_usb_setup_blength 
+4b2b c0004b35 beq 0 ,usb_no_respond_data 
+
+usb0_respond0:
+4b2c 68010c74 fetch 2 ,mem_usb_setup_blength 
+4b2d 9a467c00 isub regb ,null 
+4b2e 20214b30 branch usb0_respond1 ,positive 
+4b2f 1fe22400 copy pdata ,regb 
+
+usb0_respond1:
+4b30 1a227e00 deposit rega 
+4b31 60010b65 store 2 ,mem_bufptr 
+4b32 1a427e00 deposit regb 
+4b33 60008b67 store 1 ,mem_remain 
+4b34 20204b37 branch usb0_tx 
+
+usb_no_respond_data:
+4b35 d8e00000 arg 0 ,queue 
+4b36 20204b57 branch usb_trig 
+
+usb0_tx:
+4b37 44fdc01f bpatch patch1f_3 ,mem_patch1f 
+4b38 68008b67 fetch 1 ,mem_remain 
+4b39 207a0000 rtn blank 
+4b3a 1fe27200 copy pdata ,loopcnt 
+4b3b 1fe67c40 sub pdata ,ep0_packet_size ,null 
+4b3c 20214b3e branch usb0_tx_info ,positive 
+4b3d df200040 arg ep0_packet_size ,loopcnt 
+
+usb0_tx_info:
+4b3e 68008b67 fetch 1 ,mem_remain 
+4b3f 9f267e00 isub loopcnt ,pdata 
+4b40 60008b67 store 1 ,mem_remain 
+4b41 68010b65 fetch 2 ,mem_bufptr 
+4b42 1fe20c00 copy pdata ,contr 
+
+usb0_tx0:
+4b43 e8c08000 ifetch 1 ,contr 
+4b44 60108a18 hstore 1 ,core_usb_dfifo0 
+4b45 c591cb47 bmark0 mark_isstr ,usb0_tx1 
+4b46 708a1800 jam 0 ,core_usb_dfifo0 
+
+usb0_tx1:
+4b47 c2004b43 loop usb0_tx0 
+4b48 18c27e00 copy contr ,pdata 
+4b49 60010b65 store 2 ,mem_bufptr 
+4b4a d8e00000 arg 0 ,queue 
+4b4b 20404b57 call usb_trig 
+4b4c 68008b67 fetch 1 ,mem_remain 
+4b4d 247a0000 nrtn blank 
+4b4e 68008d36 fetch 1 ,mem_usb_state 
+4b4f c1808000 rtnne usb_got_report_req 
+4b50 700d3602 jam usb_connected ,mem_usb_state 
+4b51 20600000 rtn 
+
+usb_tx_ep1:
+4b52 da208a19 arg core_usb_dfifo1 ,rega 
+4b53 d8e00001 arg 1 ,queue 
+
+usb_tx_loop:
+4b54 e8c08000 ifetch 1 ,contr 
+4b55 e2208000 istore 1 ,rega 
+4b56 c2004b54 loop usb_tx_loop 
+
+usb_trig:
+4b57 58000000 setarg 0 
+4b58 f9207e00 qset1 pdata 
+4b59 60108a10 hstore 1 ,core_usb_trig 
+4b5a 68088d37 fetcht 1 ,mem_usb_tx_wait 
+4b5b 9841fe00 ior temp ,pdata 
+4b5c 60008d37 store 1 ,mem_usb_tx_wait 
+4b5d 20600000 rtn 
+
+usb_tx_ep2:
+4b5e d8e00002 arg 2 ,queue 
+4b5f da208a1a arg core_usb_dfifo2 ,rega 
+4b60 20204b54 branch usb_tx_loop 
+
+usb_tx:
+4b61 44fe401f bpatch patch1f_4 ,mem_patch1f 
+4b62 68008d38 fetch 1 ,mem_usb_tx_enable 
+4b63 207a0000 rtn blank 
+4b64 68008d37 fetch 1 ,mem_usb_tx_wait 
+4b65 243a4bac nbranch usb_inwake_state_tx_dispose ,blank 
+4b66 68008d45 fetch 1 ,mem_usb_device_enumeration_endflag 
+4b67 203a4b86 branch usb_tx_fifo_release ,blank 
+4b68 68008d36 fetch 1 ,mem_usb_state 
+4b69 c001cbbf beq usb_sleep ,usb_windows_wakeup 
+4b6a c0814b86 bne usb_connected ,usb_tx_fifo_release 
+4b6b 68008d3a fetch 1 ,mem_usb_clear_remote_wakeup 
+4b6c 243a4b86 nbranch usb_tx_fifo_release ,blank 
+4b6d 20404b6f call usb_tx_data_ep1 
+4b6e 20204b7a branch usb_tx_data_ep2 
+
+usb_tx_data_ep1:
+4b6f 68008d38 fetch 1 ,mem_usb_tx_enable 
+4b70 c4008000 rtnbit0 1 
+4b71 68008d37 fetch 1 ,mem_usb_tx_wait 
+4b72 c3808000 rtnbit1 1 
+4b73 68008d38 fetch 1 ,mem_usb_tx_enable 
+4b74 793ffe01 set0 1 ,pdata 
+4b75 60008d38 store 1 ,mem_usb_tx_enable 
+4b76 68008d51 fetch 1 ,mem_usb_ep1_data 
+4b77 207a0000 rtn blank 
+4b78 c0084ba8 beq usb_ep1_kb ,usb_tx_kb_normal_data 
+4b79 20202a8c branch assert 
+
+usb_tx_data_ep2:
+4b7a 68008d38 fetch 1 ,mem_usb_tx_enable 
+4b7b c4010000 rtnbit0 2 
+4b7c 68008d37 fetch 1 ,mem_usb_tx_wait 
+4b7d c3810000 rtnbit1 2 
+4b7e 68008d38 fetch 1 ,mem_usb_tx_enable 
+4b7f 793ffe02 set0 2 ,pdata 
+4b80 60008d38 store 1 ,mem_usb_tx_enable 
+4b81 68008d52 fetch 1 ,mem_usb_ep2_data 
+4b82 207a0000 rtn blank 
+4b83 c0104b89 beq usb_ep2_ms ,usb_tx_ms_data 
+4b84 c010cba4 beq usb_ep2_multikey ,usb_tx_kb_multikey_data 
+4b85 20202a8c branch assert 
+
+usb_tx_fifo_release:
+4b86 d8a00d54 arg mem_usb_mouse_data ,contw 
+4b87 df200006 arg 6 ,loopcnt 
+4b88 20207ec6 branch memset0 
+
+usb_tx_ms_data:
+4b89 68008d4c fetch 1 ,mem_usb_idle_flag 
+4b8a 68088d4b fetcht 1 ,mem_usb_get_protocol_flag 
+4b8b 98417e00 iand temp ,pdata 
+4b8c 203a4ba0 branch usb_tx_ms_data_normal_mode ,blank 
+4b8d 68088d4a fetcht 1 ,mem_usb_set_protocol_status 
+4b8e 9840fe00 iadd temp ,pdata 
+4b8f c000cb91 beq mac_boot_mode ,usb_tx_ms_data_mac_boot_mode 
+4b90 20204ba0 branch usb_tx_ms_data_normal_mode 
+
+usb_tx_ms_data_mac_boot_mode:
+4b91 700d5200 jam 0 ,mem_usb_ep2_data 
+
+usb_tx_ms_data_mac_boot_regroup:
+4b92 68008d55 fetch 1 ,mem_usb_mouse_data + 1 
+4b93 c0014ba1 beq r_key ,usb_tx_mac_boot_ms_regroup_r_or_lrkey 
+4b94 c001cba1 beq lr_key ,usb_tx_mac_boot_ms_regroup_r_or_lrkey 
+4b95 68008d55 fetch 1 ,mem_usb_mouse_data + 1 
+4b96 60008d54 store 1 ,mem_usb_mouse_data 
+4b97 68008d56 fetch 1 ,mem_usb_mouse_data + 2 
+4b98 e0a08000 istore 1 ,contw 
+4b99 68008d58 fetch 1 ,mem_usb_mouse_data + 4 
+4b9a e0a08000 istore 1 ,contw 
+4b9b 68008d5a fetch 1 ,mem_usb_mouse_data + 6 
+4b9c e0a08000 istore 1 ,contw 
+4b9d df200004 arg 4 ,loopcnt 
+4b9e d8c00d54 arg mem_usb_mouse_data ,contr 
+4b9f 20204b5e branch usb_tx_ep2 
+
+usb_tx_ms_data_normal_mode:
+4ba0 700d5200 jam 0 ,mem_usb_ep2_data 
+
+usb_tx_mac_boot_ms_regroup_r_or_lrkey:
+4ba1 df200008 arg 8 ,loopcnt 
+4ba2 d8c00d54 arg mem_usb_mouse_data ,contr 
+4ba3 20204b5e branch usb_tx_ep2 
+
+usb_tx_kb_multikey_data:
+4ba4 700d5200 jam 0 ,mem_usb_ep2_data 
+4ba5 df200003 arg 3 ,loopcnt 
+4ba6 d8c00d74 arg mem_usb_kb_multikey ,contr 
+4ba7 20204b5e branch usb_tx_ep2 
+
+usb_tx_kb_normal_data:
+4ba8 700d5100 jam 0 ,mem_usb_ep1_data 
+4ba9 df200008 arg 8 ,loopcnt 
+4baa d8c00d64 arg mem_usb_kb_data ,contr 
+4bab 20204b52 branch usb_tx_ep1 
+
+usb_inwake_state_tx_dispose:
+4bac 68008d36 fetch 1 ,mem_usb_state 
+4bad c001cbb0 beq usb_sleep ,usb_clear_tx_wait 
+4bae c0014bb2 beq usb_connected ,usb_mac_wakeup_trig 
+4baf 20600000 rtn 
+
+usb_clear_tx_wait:
+4bb0 700d3700 jam 0 ,mem_usb_tx_wait 
+4bb1 20600000 rtn 
+
+usb_mac_wakeup_trig:
+4bb2 68108a00 hfetch 1 ,core_usb_config 
+4bb3 79207e07 set1 7 ,pdata 
+4bb4 60108a00 hstore 1 ,core_usb_config 
+4bb5 700d4701 jam 1 ,mem_usb_mac_wakeup_trig 
+4bb6 20600000 rtn 
+
+usb_mac_wakeup_judge:
+4bb7 68008d36 fetch 1 ,mem_usb_state 
+4bb8 c1018000 rtneq usb_sleep 
+4bb9 c0014bbb beq usb_connected ,usb_mac_wakeup 
+4bba 20600000 rtn 
+
+usb_mac_wakeup:
+4bbb 68008d47 fetch 1 ,mem_usb_mac_wakeup_trig 
+4bbc 207a0000 rtn blank 
+4bbd 700d4601 jam 1 ,mem_usb_wakestate_onetime_flag 
+4bbe 20204bc2 branch usb_wakeup 
+
+usb_windows_wakeup:
+4bbf d8e0000f arg timer_wakeup ,queue 
+4bc0 20407f16 call timer_check 
+4bc1 247a0000 nrtn blank 
+
+usb_wakeup:
+4bc2 68108a00 hfetch 1 ,core_usb_config 
+4bc3 c4038000 rtnbit0 7 
+4bc4 708a00fc jam 0xfc ,core_usb_config 
+4bc5 20007530 nop 30000 
+4bc6 708a003c jam 0x3c ,core_usb_config 
+4bc7 20600000 rtn 
+
+hci_rx_h4:
+4bc8 44fec01f bpatch patch1f_5 ,mem_patch1f 
+4bc9 6800c1ce fetch 1 ,mem_hci_cmd 
+4bca 247a0000 nrtn blank 
+
+hci_rx_h4_1:
+4bcb 20404bce call hci_h4_parse_packet 
+4bcc 24544be6 ncall h4_rx_discard_packet ,user 
+4bcd 20600000 rtn 
+
+hci_h4_parse_packet:
+4bce 44ff401f bpatch patch1f_6 ,mem_patch1f 
+4bcf 18622200 copy contru ,rega 
+4bd0 d8400004 arg 4 ,temp 
+4bd1 e8608000 ifetch 1 ,contru 
+4bd2 c000cbd8 beq hci_h4_type_cmd ,hci_h4_parse_packet_wait_len 
+4bd3 18408401 increase 1 ,temp 
+4bd4 c0014bd8 beq hci_h4_type_acl ,hci_h4_parse_packet_wait_len 
+4bd5 18627e00 copy contru ,pdata 
+4bd6 60110058 hstore 2 ,core_uart_rrptr 
+4bd7 20600000 rtn 
+
+hci_h4_parse_packet_wait_len:
+4bd8 68110112 hfetch 2 ,core_uart_rxitems 
+4bd9 98467c00 isub temp ,null 
+4bda 24214bd8 nbranch hci_h4_parse_packet_wait_len ,positive 
+4bdb 78547c00 disable user 
+4bdc 1a220600 copy rega ,contru 
+4bdd 20404bee call h4_get_rx_payload_len 
+4bde 98408400 iadd temp ,temp 
+
+hci_h4_parse_packet_wait:
+4bdf 68110112 hfetch 2 ,core_uart_rxitems 
+4be0 98467c00 isub temp ,null 
+4be1 24214bdf nbranch hci_h4_parse_packet_wait ,positive 
+4be2 1a220600 copy rega ,contru 
+4be3 e8608000 ifetch 1 ,contru 
+4be4 c000cc3f beq hci_h4_type_cmd ,process_hci_cmd 
+4be5 20202a8c branch assert 
+
+h4_rx_discard_packet:
+4be6 44ffc01f bpatch patch1f_7 ,mem_patch1f 
+4be7 68110058 hfetch 2 ,core_uart_rrptr 
+4be8 98000600 iforce contru 
+4be9 20404bee call h4_get_rx_payload_len 
+4bea 98608600 iadd contru ,contru 
+4beb 18627e00 deposit contru 
+4bec 60110058 hstore 2 ,core_uart_rrptr 
+4bed 20600000 rtn 
+
+h4_get_rx_payload_len:
+4bee e8608000 ifetch 1 ,contru 
+4bef 18608602 increase 2 ,contru 
+4bf0 c0014bf3 beq hci_h4_type_acl ,h4_get_rx_payload_len_acl 
+4bf1 e8608000 ifetch 1 ,contru 
+4bf2 20600000 rtn 
+
+h4_get_rx_payload_len_acl:
+4bf3 e8610000 ifetch 2 ,contru 
+4bf4 20600000 rtn 
+
+h4_get_tx_ptr:
+4bf5 6811005e hfetch 2 ,core_uart_twptr 
+4bf6 194095fb increase -5 ,contwu 
+4bf7 99409400 iadd contwu ,contwu 
+4bf8 20600000 rtn 
+
+h4_send_packet_event:
+4bf9 d8400004 arg hci_h4_type_event ,temp 
+4bfa 20204bfc branch h4_send_packet 
+
+h4_send_packet_acl:
+4bfb d8400002 arg hci_h4_type_acl ,temp 
+
+h4_send_packet:
+4bfc 47004020 bpatchx patch20_0 ,mem_patch20 
+4bfd 1f20f201 increase 1 ,loopcnt 
+4bfe 6811005e hfetch 2 ,core_uart_twptr 
+4bff 1fe21400 copy pdata ,contwu 
+4c00 1f227e00 copy loopcnt ,pdata 
+4c01 e1488000 istoret 1 ,contwu 
+4c02 1fe0ffff increase -1 ,pdata 
+4c03 99409400 iadd contwu ,contwu 
+4c04 19427e00 copy contwu ,pdata 
+4c05 60010258 store 2 ,mem_hci_acl_tx_trigger_wptr 
+4c06 18427e00 copy temp ,pdata 
+4c07 c1010000 rtneq hci_h4_type_acl 
+4c08 68010258 fetch 2 ,mem_hci_acl_tx_trigger_wptr 
+4c09 6011005e hstore 2 ,core_uart_twptr 
+4c0a 20204c0b branch h4_send_acl_trigger_clear 
+
+h4_send_acl_trigger_clear:
+4c0b 58000000 setarg 0 
+4c0c 60010258 store 2 ,mem_hci_acl_tx_trigger_wptr 
+4c0d 20600000 rtn 
+
+hci_init:
+4c0e 20758000 rtn wake 
+4c0f 58004d28 setarg hci_idle_dispatch 
+4c10 600141f3 store 2 ,mem_cb_idle_process 
+4c11 580001a0 setarg uart_baud_115200 
+4c12 60014243 store uart_baud_len ,mem_baud 
+
+hci_lpm_init:
+4c13 58001800 setarg mem_h5rx_buf 
+4c14 60110054 hstore 2 ,core_uart_rsaddr 
+4c15 58001bff setarg mem_h5rx_buf_end 
+4c16 60110056 hstore 2 ,core_uart_readdr 
+4c17 58001c00 setarg mem_h5tx_buf 
+4c18 6011005a hstore 2 ,core_uart_tsaddr 
+4c19 20404c28 call hci_sel_init 
+
+hci_reinit:
+4c1a 70806200 jam 0x0 ,core_uart_ctrl 
+4c1b 58001c00 setarg mem_h5tx_buf 
+4c1c 6011005e hstore 2 ,core_uart_twptr 
+4c1d 60110060 hstore 2 ,core_uart_trptrp 
+4c1e 58001800 setarg mem_h5rx_buf 
+4c1f 60110058 hstore 2 ,core_uart_rrptr 
+4c20 60010244 store 2 ,mem_h5rx_rptr 
+
+hci_init_common:
+4c21 68110050 hfetch 2 ,core_clkoff 
+4c22 793ffe0f set0 clock_off_uart ,pdata 
+4c23 60110050 hstore 2 ,core_clkoff 
+4c24 204066ce call uart_set_baud_by_mem 
+4c25 70804301 jam uartclk_dpll ,core_uart_clksel 
+4c26 70806281 jam uart_ctrl_h4 ,core_uart_ctrl 
+4c27 20600000 rtn 
+
+hci_sel_init:
+4c28 58001fff setarg mem_h5tx_buf_end 
+4c29 6011005c hstore 2 ,core_uart_teaddr 
+4c2a 68108081 hfetch 1 ,core_gpio_sel1 
+4c2b 1fe1fe07 or_into 0x07 ,pdata 
+4c2c 60108081 hstore 1 ,core_gpio_sel1 
+4c2d 20600000 rtn 
+
+hci_rx_packet:
+4c2e 4700c020 bpatchx patch20_1 ,mem_patch20 
+4c2f 6810810c hfetch 1 ,core_uart_status 
+4c30 98002400 iforce regb 
+4c31 c301cc37 bbit0 uart_status_rx_fifo_empty ,hci_rx_packet_cont 
+4c32 68110112 hfetch 2 ,core_uart_rxitems 
+4c33 98002600 iforce regc 
+4c34 d840044f arg 0x44f ,temp 
+4c35 98467c00 isub temp ,null 
+4c36 24628000 nrtn zero 
+
+hci_rx_packet_cont:
+4c37 68110058 hfetch 2 ,core_uart_rrptr 
+4c38 98000600 iforce contru 
+4c39 20204bc8 branch hci_rx_h4 
+
+uart_send_byte:
+4c3a 6818810c hfetcht 1 ,core_uart_status 
+4c3b 284ffe06 isolate1 6 ,temp 
+4c3c 2020cc3a branch uart_send_byte ,true 
+4c3d 60108015 hstore 1 ,core_uart_txd 
+4c3e 20600000 rtn 
+
+process_hci_cmd:
+4c3f 47014020 bpatchx patch20_2 ,mem_patch20 
+4c40 6800c1ce fetch 1 ,mem_hci_cmd 
+4c41 203a4c44 branch process_hci_cmd_cont ,blank 
+4c42 78347c00 enable user 
+4c43 20600000 rtn 
+
+process_hci_cmd_cont:
+4c44 e8610000 ifetch 2 ,contru 
+4c45 98006000 iforce alarm 
+4c46 98000e00 iforce queue 
+4c47 e8608000 ifetch 1 ,contru 
+4c48 98000400 iforce temp 
+4c49 1e0b7e00 rshift2 alarm ,pdata 
+4c4a 1fecfe00 rshift8 pdata ,pdata 
+4c4b c01fcc4d beq hci_ogf_vendor_specific ,phci_grp_vendor_specific 
+4c4c 20600000 rtn 
+
+phci_grp_vendor_specific:
+4c4d 4701c020 bpatchx patch20_3 ,mem_patch20 
+4c4e 18e27e00 deposit queue 
+4c4f c0004cdc beq hci_vendor_cmd_reset ,hci_normal_reply 
+4c50 c000cc66 beq hci_vendor_cmd_chipid ,phci_grp_vendor_chipid 
+4c51 c0014c6b beq hci_vendor_cmd_baud ,phci_grp_vendor_baud 
+4c52 c001cc7a beq hci_vendor_cmd_patch ,phci_grp_vendor_patch 
+4c53 c0024cb3 beq hci_vendor_cmd_patch_done ,phci_grp_vendor_done 
+4c54 c002ccdc beq hci_vendor_cmd_echo ,hci_normal_reply 
+4c55 c0034cc6 beq hci_vendor_cmd_bdaddr ,phci_grp_vendor_bdaddr 
+4c56 c003cc5c beq hci_vendor_cmd_enter_lpm ,phci_grp_vendor_enter_lpm 
+4c57 c0084cc9 beq hci_vendor_cmd_mem ,phci_grp_vendor_mem 
+4c58 c008ccd1 beq hci_vendor_cmd_eep ,phci_grp_vendor_eep 
+4c59 c0094ca5 beq hci_vendor_cmd_patch_sec_init ,phci_grp_vendor_patch_sec_init 
+4c5a c009cc85 beq hci_vendor_cmd_patch_sec ,phci_grp_vendor_patch_sec 
+4c5b 20204cdc branch hci_normal_reply 
+
+phci_grp_vendor_enter_lpm:
+4c5c 20404cdc call hci_normal_reply 
+4c5d 20407f9e call wait_uarttx 
+4c5e 2040688c call gpio_pu_uart_tx 
+
+hci_enter_lpm:
+4c5f 204033d2 call app_put_lpm_wake_lock 
+4c60 204033d9 call app_l2cap_flow_control_enable 
+4c61 2020688f branch gpio_rx_config_input_with_pu 
+
+hci_exit_lpm:
+4c62 70424500 jam hci_rx_ready ,mem_hci_lt_rx_state 
+4c63 204033d0 call app_get_lpm_wake_lock 
+4c64 20404c13 call hci_lpm_init 
+4c65 202033db branch app_l2cap_flow_control_disable 
+
+phci_grp_vendor_chipid:
+4c66 20404cf2 call hci_get_cmd_complete_ptr 
+4c67 68110000 hfetch 2 ,core_chipid 
+4c68 e1410000 istore 2 ,contwu 
+4c69 18007206 force 6 ,loopcnt 
+4c6a 20204cdd branch hci_command_complete 
+
+phci_grp_vendor_baud:
+4c6b e8610000 ifetch 2 ,contru 
+4c6c 60014243 store 2 ,mem_baud 
+4c6d 60110052 hstore 2 ,core_uart_baud 
+4c6e 20600000 rtn 
+
+phci_grp_vendor_patch_common:
+4c6f e8608000 ifetch 1 ,contru 
+4c70 1fe20400 copy pdata ,temp 
+4c71 60108024 hstore 1 ,core_ucode_low 
+4c72 e8608000 ifetch 1 ,contru 
+4c73 98408400 iadd temp ,temp 
+4c74 79207e07 set1 7 ,pdata 
+4c75 60108023 hstore 1 ,core_ucode_ctrl 
+4c76 e8608000 ifetch 1 ,contru 
+4c77 98408400 iadd temp ,temp 
+4c78 1fe27200 copy pdata ,loopcnt 
+4c79 20600000 rtn 
+
+phci_grp_vendor_patch:
+4c7a c515ccc4 bmark1 mark_otp_encrypt ,phci_grp_vendor_patch_bad 
+4c7b 20404c6f call phci_grp_vendor_patch_common 
+
+phci_grp_vendor_patch_loop:
+4c7c e8608000 ifetch 1 ,contru 
+4c7d 60108025 hstore 1 ,core_ucode_data 
+4c7e 98408400 iadd temp ,temp 
+4c7f c2004c7c loop phci_grp_vendor_patch_loop 
+
+phci_grp_vendor_patch_check_sum:
+4c80 184104ff and temp ,0xff ,temp 
+4c81 e8608000 ifetch 1 ,contru 
+4c82 98467c00 isub temp ,null 
+4c83 2422ccc4 nbranch phci_grp_vendor_patch_bad ,zero 
+4c84 20204cdc branch hci_normal_reply 
+
+phci_grp_vendor_patch_sec:
+4c85 c595ccc4 bmark0 mark_otp_encrypt ,phci_grp_vendor_patch_bad 
+4c86 20404c6f call phci_grp_vendor_patch_common 
+4c87 60040a9a store 8 ,mem_pdatatemp 
+
+phci_grp_vendor_patch_sec_loop:
+4c88 20407422 call do_aes_cbc 
+4c89 df200010 arg 16 ,loopcnt 
+4c8a d8a00ac2 arg mem_temp_block0 ,contw 
+4c8b 20404ca0 call load_uart_sum_loop 
+4c8c 600c0aa2 storet 8 ,mem_temp 
+4c8d d8a00ad2 arg mem_temp_block2 ,contw 
+4c8e 20407497 call store_aes_result 
+4c8f da200ad2 arg mem_temp_block2 ,rega 
+4c90 da400ac2 arg mem_temp_block0 ,regb 
+4c91 d8a00ae2 arg mem_temp_block3 ,contw 
+4c92 20407352 call xor16 
+4c93 df200010 arg 16 ,loopcnt 
+4c94 d8c00ae2 arg mem_temp_block3 ,contr 
+4c95 20404c9c call load_ucode_only_loop 
+4c96 680c0aa2 fetcht 8 ,mem_temp 
+4c97 68040a9a fetch 8 ,mem_pdatatemp 
+4c98 1fe0fff0 increase -16 ,pdata 
+4c99 60040a9a store 8 ,mem_pdatatemp 
+4c9a 243a4c88 nbranch phci_grp_vendor_patch_sec_loop ,blank 
+4c9b 20204c80 branch phci_grp_vendor_patch_check_sum 
+
+load_ucode_only_loop:
+4c9c e8c08000 ifetch 1 ,contr 
+4c9d 60108025 hstore 1 ,core_ucode_data 
+4c9e c2004c9c loop load_ucode_only_loop 
+4c9f 20600000 rtn 
+
+load_uart_sum_loop:
+4ca0 e8608000 ifetch 1 ,contru 
+4ca1 e0a08000 istore 1 ,contw 
+4ca2 98408400 iadd temp ,temp 
+4ca3 c2004ca0 loop load_uart_sum_loop 
+4ca4 20600000 rtn 
+
+phci_grp_vendor_patch_sec_init:
+4ca5 c595ccc4 bmark0 mark_otp_encrypt ,phci_grp_vendor_patch_bad 
+4ca6 d8400000 arg 0 ,temp 
+4ca7 df200010 arg 16 ,loopcnt 
+4ca8 d8a00ac2 arg mem_temp_block0 ,contw 
+4ca9 20404ca0 call load_uart_sum_loop 
+4caa 68108085 hfetch 1 ,core_gpio_key2 
+4cab 1fe17efd and_into 0xfd ,pdata 
+4cac 60108085 hstore 1 ,core_gpio_key2 
+4cad d8c00ac2 arg mem_temp_block0 ,contr 
+4cae df200010 arg 16 ,loopcnt 
+4caf 20407478 call aes_load_data 
+4cb0 20407428 call aes_init 
+4cb1 20407491 call aes_clear_data 
+4cb2 20204c80 branch phci_grp_vendor_patch_check_sum 
+
+phci_grp_vendor_done:
+4cb3 df200020 arg 0x20 ,loopcnt 
+4cb4 d8a04000 arg mem_patch00 ,contw 
+4cb5 d8400000 arg 0 ,temp 
+
+phci_grp_vendor_done_loop:
+4cb6 e8608000 ifetch 1 ,contru 
+4cb7 e0a08000 istore 1 ,contw 
+4cb8 98408400 iadd temp ,temp 
+4cb9 c2004cb6 loop phci_grp_vendor_done_loop 
+4cba 184104ff and temp ,0xff ,temp 
+4cbb e8608000 ifetch 1 ,contru 
+4cbc 98467c00 isub temp ,null 
+4cbd 2422ccc4 nbranch phci_grp_vendor_patch_bad ,zero 
+4cbe 70802300 jam 0 ,core_ucode_ctrl 
+4cbf 20404cdc call hci_normal_reply 
+4cc0 20404be6 call h4_rx_discard_packet 
+4cc1 204064a3 call clear_key_buf 
+4cc2 20407f9e call wait_uarttx 
+4cc3 20202001 branch soft_reset 
+
+phci_grp_vendor_patch_bad:
+4cc4 70802300 jam 0 ,core_ucode_ctrl 
+4cc5 20202000 branch start 
+
+phci_grp_vendor_bdaddr:
+4cc6 e8630000 ifetch 6 ,contru 
+4cc7 600340a0 store 6 ,mem_lap 
+4cc8 20204cdc branch hci_normal_reply 
+
+phci_grp_vendor_mem:
+4cc9 e8608000 ifetch 1 ,contru 
+4cca 6000825a store 1 ,mem_hci_curr_len 
+4ccb 1fe27200 copy pdata ,loopcnt 
+4ccc e8610000 ifetch 2 ,contru 
+4ccd 6001025b store 2 ,mem_hci_curr_target 
+4cce 1fe20a00 copy pdata ,contw 
+4ccf 204066fd call uart_copy_rx_bytes 
+4cd0 20204cdc branch hci_normal_reply 
+
+phci_grp_vendor_eep:
+4cd1 e8608000 ifetch 1 ,contru 
+4cd2 6000825a store 1 ,mem_hci_curr_len 
+4cd3 1fe27200 copy pdata ,loopcnt 
+4cd4 e8610000 ifetch 2 ,contru 
+4cd5 6001025b store 2 ,mem_hci_curr_target 
+4cd6 d8a01000 arg mem_l2cap_rxbuff1 ,contw 
+4cd7 204066fd call uart_copy_rx_bytes 
+4cd8 6808825a fetcht 1 ,mem_hci_curr_len 
+4cd9 da201000 arg mem_l2cap_rxbuff1 ,rega 
+4cda 6801025b fetch 2 ,mem_hci_curr_target 
+4cdb 20206608 branch iicd_write_ota_data 
+
+hci_normal_reply:
+4cdc 18007204 force 4 ,loopcnt 
+
+hci_command_complete:
+4cdd 20404cf4 call hci_get_payload_ptr 
+4cde 18007e01 force 0x1 ,pdata 
+4cdf e1408000 istore 1 ,contwu 
+4ce0 1e027e00 deposit alarm 
+4ce1 e1418000 istore 3 ,contwu 
+4ce2 18000e0e force hci_event_command_complete ,queue 
+
+hci_send_event:
+4ce3 47024020 bpatchx patch20_4 ,mem_patch20 
+4ce4 20404cf6 call hci_get_packet_ptr 
+4ce5 18e27e00 deposit queue 
+4ce6 e1408000 istore 1 ,contwu 
+4ce7 1f227e00 deposit loopcnt 
+4ce8 e1408000 istore 1 ,contwu 
+
+hci_send_event_raw:
+4ce9 18000e05 force 5 ,queue 
+4cea 1f20f202 increase 2 ,loopcnt 
+
+hci_send_packet:
+4ceb 20204bf9 branch h4_send_packet_event 
+
+hci_send_commu_ready_event:
+4cec 18000eff force hci_event_vendor_specific ,queue 
+4ced 20404cf4 call hci_get_payload_ptr 
+4cee 58000001 setarg hci_vendor_event_commu_ready 
+4cef e1408000 istore 1 ,contwu 
+4cf0 18007201 force 1 ,loopcnt 
+4cf1 20204ce3 branch hci_send_event 
+
+hci_get_cmd_complete_ptr:
+4cf2 1800140c force 12 ,contwu 
+4cf3 20204cf7 branch hci_get_tx_ptr 
+
+hci_get_payload_ptr:
+4cf4 18001408 force 8 ,contwu 
+4cf5 20204cf7 branch hci_get_tx_ptr 
+
+hci_get_packet_ptr:
+4cf6 18001406 force 6 ,contwu 
+
+hci_get_tx_ptr:
+4cf7 20204bf5 branch h4_get_tx_ptr 
+
+calc_tx_crc16:
+4cf8 7827fc00 pulse crc16 
+4cf9 7824fc00 enable enable_crc 
+
+crcloop:
+4cfa e9408000 ifetch 1 ,contwu 
+4cfb 08008008 inject bucket ,8 
+4cfc c2004cfa loop crcloop 
+4cfd 78247c00 enable enable_parity 
+4cfe 08008010 inject bucket ,16 
+4cff 78447c00 disable enable_parity 
+4d00 7844fc00 disable enable_crc 
+4d01 7847fc00 disable crc16 
+4d02 1ff0fe00 byteswap pdata ,pdata 
+4d03 20600000 rtn 
+
+cmd_exit:
+4d04 7041ce00 jam 0 ,mem_hci_cmd 
+4d05 20600000 rtn 
+
+cmd_check_plap:
+4d06 680341d0 fetch 6 ,mem_hci_plap 
+4d07 680b0040 fetcht 6 ,mem_plap 
+4d08 98467c00 isub temp ,null 
+4d09 20600000 rtn 
+
+cmd_pair:
+4d0a 6800804b fetch 1 ,mem_op 
+4d0b c2814d0f bbit1 op_inrand_req ,cmd_pair_passive 
+4d0c 204062ef call tid_initiate 
+4d0d 70007c08 jam lmp_in_rand ,mem_lmo_opcode2 
+4d0e 20204d04 branch cmd_exit 
+
+cmd_pair_passive:
+4d0f 793ffe02 set0 op_inrand_req ,pdata 
+4d10 6000804b store 1 ,mem_op 
+4d11 20406001 call lmp_accept_inrand 
+4d12 58000000 setarg 0 
+4d13 7934fe01 setflag master ,smap_lmptid ,pdata 
+4d14 6000807f store 1 ,mem_lmo_tid2 
+4d15 20204d04 branch cmd_exit 
+4d16 20600000 rtn 
+
+cmd_in_sniff:
+4d17 70007c17 jam lmp_sniff_req ,mem_lmo_opcode2 
+4d18 d8a004d9 arg mem_sniff_payload ,contw 
+4d19 58000000 setarg 0 
+4d1a 2d0ffe1b isolate1 27 ,clke_bt 
+4d1b 7920fe01 setflag true ,1 ,pdata 
+4d1c e0a08000 istore 1 ,contw 
+4d1d 58000000 setarg 0 
+4d1e e0a10000 istore 2 ,contw 
+4d1f 680141e3 fetch 2 ,mem_sniff_param_interval 
+4d20 e0a10000 istore 2 ,contw 
+4d21 6800c1e5 fetch 1 ,mem_sniff_param_attempt 
+4d22 e0a10000 istore 2 ,contw 
+4d23 6800c1e7 fetch 1 ,mem_sniff_param_timeout 
+4d24 e0a10000 istore 2 ,contw 
+4d25 20204d04 branch cmd_exit 
+
+cmd_exit_sniff:
+4d26 70007c18 jam lmp_unsniff_req ,mem_lmo_opcode2 
+4d27 20204d04 branch cmd_exit 
+
+hci_idle_dispatch:
+4d28 20406899 call gpio_check_uart_state 
+4d29 20608000 rtn true 
+4d2a d8400007 arg uart_wakeup_rx ,temp 
+4d2b 2040681d call gpio_get_bit 
+4d2c 2420cd2f nbranch uart_wake_up ,true 
+4d2d 70424501 jam hci_rx_wake ,mem_hci_lt_rx_state 
+4d2e 20600000 rtn 
+
+uart_wake_up:
+4d2f 6800c245 fetch 1 ,mem_hci_lt_rx_state 
+4d30 c1808000 rtnne hci_rx_wake 
+4d31 20404c62 call hci_exit_lpm 
+4d32 20204cec branch hci_send_commu_ready_event 
+
+hid_rx_process:
+4d33 4702c020 bpatchx patch20_5 ,mem_patch20 
+4d34 68010264 fetch 2 ,mem_l2cap_payload_ptr 
+4d35 1fe20c00 copy pdata ,contr 
+4d36 e8c08000 ifetch 1 ,contr 
+4d37 1fe1040f and pdata ,0x0f ,temp 
+4d38 1ff1fe00 rshift4 pdata ,pdata 
+4d39 c004cd53 beq hid_type_set_idle ,hid_rx_process_handshake 
+4d3a c003cd53 beq hid_type_set_protocol ,hid_rx_process_handshake 
+4d3b c0054d5f beq hid_type_data ,hid_rx_process_data 
+4d3c c002cd4b beq hid_type_set_report ,hid_rx_process_set_report 
+4d3d c000cd3f beq hid_type_control ,hid_rx_process_hid_control 
+4d3e 20600000 rtn 
+
+hid_rx_process_hid_control:
+4d3f 18427e00 copy temp ,pdata 
+4d40 c002cd43 beq hid_control_p_virtualcableunplug ,hid_rx_process_virtual_cable_unplug 
+4d41 c001cd4a beq hid_control_p_suspend ,hid_rx_process_suspend 
+4d42 20600000 rtn 
+
+hid_rx_process_virtual_cable_unplug:
+4d43 700a9927 jam bt_evt_virtual_cable_unplug ,mem_fifo_temp 
+4d44 20407d86 call ui_ipc_send_event 
+4d45 6800c092 fetch 1 ,mem_device_option 
+4d46 c4030000 rtnbit0 dvc_op_mouse 
+4d47 18427e00 copy temp ,pdata 
+4d48 c002c38e beq hid_control_p_virtualcableunplug ,mouse_irtual_cable_unplug 
+4d49 20600000 rtn 
+
+hid_rx_process_suspend:
+4d4a 20600000 rtn 
+
+hid_rx_process_set_report:
+4d4b 20404d5f call hid_rx_process_data 
+4d4c da200001 arg 0x01 ,rega 
+4d4d 20404d63 call hid_malloc_tx_buff 
+4d4e 6801424c fetch 2 ,mem_hid_ctrl_remote_cid 
+4d4f e0a10000 istore 2 ,contw 
+4d50 58000000 setarg 0x00 
+4d51 e0a08000 istore 1 ,contw 
+4d52 20600000 rtn 
+
+hid_rx_process_handshake:
+4d53 da200001 arg 1 ,rega 
+4d54 20404d63 call hid_malloc_tx_buff 
+4d55 6801424c fetch 2 ,mem_hid_ctrl_remote_cid 
+4d56 e0a10000 istore 2 ,contw 
+4d57 58000000 setarg 0 
+4d58 e0a08000 istore 1 ,contw 
+4d59 700a8e01 jam 1 ,mem_ui_data_txbuff_length 
+4d5a 6800c252 fetch 1 ,mem_hid_control_state 
+4d5b 79207e06 set1 l2cap_channel_hid_handshake_done 
+4d5c 6000c252 store 1 ,mem_hid_control_state 
+4d5d 700a9912 jam bt_evt_hid_handshake ,mem_fifo_temp 
+4d5e 20207d86 branch ui_ipc_send_event 
+
+hid_rx_process_data:
+4d5f e8c08000 ifetch 1 ,contr 
+4d60 c000cd62 beq hid_report_id_kb ,hid_rx_process_data_hid_kb 
+4d61 20600000 rtn 
+
+hid_rx_process_data_hid_kb:
+4d62 20600000 rtn 
+
+hid_malloc_tx_buff:
+4d63 20405240 call l2cap_malloc 
+4d64 1a220400 copy rega ,temp 
+4d65 60088a8e storet 1 ,mem_ui_data_txbuff_length 
+4d66 1fe20a00 copy pdata ,contw 
+4d67 1a227e00 copy rega ,pdata 
+4d68 e0a10000 istore 2 ,contw 
+4d69 20600000 rtn 
+
+l2cap_init:
+4d6a 2035cd6f branch l2cap_init_wake ,wake 
+
+l2cap_init_work:
+4d6b 58004365 setarg mem_l2cap_xmem_end 
+4d6c d8a04246 arg mem_l2cap_xmem_start ,contw 
+4d6d 98a67200 isub contw ,loopcnt 
+4d6e 20407ed4 call clear_mem 
+
+l2cap_init_wake:
+4d6f 47034020 bpatchx patch20_6 ,mem_patch20 
+4d70 58000551 setarg mem_sdp_mem_end 
+4d71 d8a00511 arg mem_sdp_mem_start ,contw 
+4d72 98a67200 isub contw ,loopcnt 
+4d73 20407ed4 call clear_mem 
+4d74 580002c9 setarg mem_l2cap_mem_end 
+4d75 d8a0025d arg mem_l2cap_mem_start ,contw 
+4d76 98a67200 isub contw ,loopcnt 
+4d77 20407ed4 call clear_mem 
+4d78 20205318 branch l2cap_lpm_load_txbuf 
+
+process_rx_l2cap_pkt:
+4d79 4703c020 bpatchx patch20_7 ,mem_patch20 
+4d7a 18c20400 copy contr ,temp 
+4d7b 18420c00 copy temp ,contr 
+4d7c e8c10000 ifetch 2 ,contr 
+4d7d 60010266 store 2 ,mem_l2cap_rx_pkt_length 
+4d7e e8c10000 ifetch 2 ,contr 
+4d7f 60010268 store 2 ,mem_l2cap_rx_cid 
+4d80 18c27e00 deposit contr 
+4d81 60010264 store 2 ,mem_l2cap_payload_ptr 
+4d82 6800c681 fetch 1 ,memui_reconnect_mode 
+4d83 c0004d85 beq no_reconnection ,l2cap_rx_multiplexing 
+4d84 202050ef branch ml2cap_rx_multiplexing 
+
+l2cap_rx_multiplexing:
+4d85 68010266 fetch 2 ,mem_l2cap_rx_pkt_length 
+4d86 203a4dfc branch l2cap_rx_reset_state ,blank 
+4d87 47044021 bpatchx patch21_0 ,mem_patch21 
+4d88 68008268 fetch 1 ,mem_l2cap_rx_cid 
+4d89 c000cd9d beq l2cap_signal_channel ,l2cap_call_proc_signal 
+
+l2cap_rx_multiplexing0:
+4d8a c0284de0 beq l2cap_sdp_channel ,l2cap_call_proc_sdp 
+4d8b c028cdf5 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+4d8c c0294df3 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+4d8d c029cdf3 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+4d8e 20204dfc branch l2cap_rx_reset_state 
+
+l2cap_check_map:
+4d8f 4704c021 bpatchx patch21_1 ,mem_patch21 
+4d90 2040527e call l2cap_malloc_get_full_map 
+4d91 6800c256 fetch 1 ,mem_used_map 
+4d92 c0004d9b beq 0 ,set_pdata_0 
+4d93 c000cd9b beq 1 ,set_pdata_0 
+4d94 c0014d9b beq 2 ,set_pdata_0 
+4d95 c001cd9b beq 3 ,set_pdata_0 
+4d96 c040cd9b beq 0x81 ,set_pdata_0 
+4d97 c0604d9b beq 0xc0 ,set_pdata_0 
+4d98 c0404d9b beq 0x80 ,set_pdata_0 
+4d99 c0204d9b beq 0x40 ,set_pdata_0 
+4d9a 20600000 rtn 
+
+set_pdata_0:
+4d9b 58000000 setarg 0 
+4d9c 20600000 rtn 
+
+l2cap_call_proc_signal:
+4d9d 20404d8f call l2cap_check_map 
+4d9e 247a0000 nrtn blank 
+
+l2cap_call_proc_signal0:
+4d9f 204052b8 call l2cap_malloc_signal_channel 
+4da0 20404e01 call l2cap_process_signal_pkt 
+4da1 6809026f fetcht 2 ,mem_l2cap_signal_tx_length 
+4da2 203a4dfb branch l2cap_call_proc_no_reply ,blank 
+4da3 204052c1 call l2cap_get_signal_tx_buff 
+4da4 6801026f fetch 2 ,mem_l2cap_signal_tx_length 
+4da5 e0a10000 istore 2 ,contw 
+4da6 18007e01 force l2cap_signal_channel ,pdata 
+4da7 e0a10000 istore 2 ,contw 
+4da8 20204dfc branch l2cap_rx_reset_state 
+
+l2cap_call_proc_sigal_pending:
+4da9 6800c364 fetch 1 ,mem_l2cap_pending_item 
+4daa 207a0000 rtn blank 
+4dab 1fe22200 copy pdata ,rega 
+4dac 47054021 bpatchx patch21_2 ,mem_patch21 
+4dad 680202d5 fetch 4 ,mem_l2cap_sdpres_delay_time 
+4dae d8400100 arg 0x100 ,temp 
+4daf 98408400 iadd temp ,temp 
+4db0 1c427e00 copy clkn_bt ,pdata 
+4db1 98467c00 isub temp ,null 
+4db2 24610000 nrtn positive 
+4db3 70436400 jam 0 ,mem_l2cap_pending_item 
+4db4 1a227e00 copy rega ,pdata 
+4db5 c0284db7 beq l2cap_sdp_channel ,l2cap_sdp_conn_succ 
+4db6 20202a8c branch assert 
+
+l2cap_sdp_conn_succ:
+4db7 d9000000 arg 0 ,debug 
+4db8 204052b8 call l2cap_malloc_signal_channel 
+4db9 20404e7a call restore_l2cap_req_param 
+4dba 204052c3 call l2cap_get_signal_tx_payload 
+4dbb 20407ea8 call save_cont_pointers 
+4dbc 20404ead call send_connection_sdp_res 
+4dbd 204052c1 call l2cap_get_signal_tx_buff 
+4dbe 5800000c setarg 0x000c 
+4dbf e0a10000 istore 2 ,contw 
+4dc0 18007e01 force l2cap_signal_channel ,pdata 
+4dc1 e0a10000 istore 2 ,contw 
+4dc2 20204dfc branch l2cap_rx_reset_state 
+
+l2cap_reset_sdp_map:
+4dc3 4705c021 bpatchx patch21_3 ,mem_patch21 
+4dc4 68010275 fetch 2 ,mem_sdp_tx_pkt_length 
+4dc5 1fe0fe04 increase 4 ,pdata 
+4dc6 1ff1fe00 rshift4 pdata ,pdata 
+4dc7 1fe97e00 rshift3 pdata ,pdata 
+4dc8 1fe08401 add pdata ,1 ,temp 
+4dc9 d8c04260 arg mem_tx_fifo3 ,contr 
+4dca e8c18000 ifetch 3 ,contr 
+4dcb 207a0000 rtn blank 
+4dcc 60018ac2 store 3 ,mem_tx_fifo_map_temp 
+4dcd 68008ac2 fetch 1 ,mem_tx_fifo_map_temp 
+4dce 1fe22200 copy pdata ,rega 
+4dcf 20404dd3 call check_l2cap_map 
+4dd0 1a427e00 copy regb ,pdata 
+4dd1 6000c260 store 1 ,mem_tx_fifo3 
+4dd2 20600000 rtn 
+
+check_l2cap_map:
+4dd3 d8e00000 arg 0 ,queue 
+4dd4 da400000 arg 0 ,regb 
+
+check_l2cap_map_loop:
+4dd5 18e67c07 sub queue ,7 ,null 
+4dd6 24610000 nrtn positive 
+4dd7 aa2fffff qisolate1 rega 
+4dd8 2020cdda branch check_l2cap_map_used ,true 
+4dd9 20204dde branch check_l2cap_map_used2 
+
+check_l2cap_map_used:
+4dda 18427e00 copy temp ,pdata 
+4ddb 203a4dde branch check_l2cap_map_used2 ,blank 
+4ddc f9202400 qset1 regb 
+4ddd 184085ff increase -1 ,temp 
+
+check_l2cap_map_used2:
+4dde 18e08e01 increase 1 ,queue 
+4ddf 20204dd5 branch check_l2cap_map_loop 
+
+l2cap_call_proc_sdp:
+4de0 20405274 call l2cap_malloc_is_fifo_empty 
+4de1 247a0000 nrtn blank 
+4de2 20404d8f call l2cap_check_map 
+4de3 247a0000 nrtn blank 
+4de4 204052c5 call l2cap_malloc_sdp_channel 
+4de5 20406e11 call sdp_process 
+4de6 20404dc3 call l2cap_reset_sdp_map 
+4de7 20204dec branch l2cap_call_proc_sdp_common 
+
+ml2cap_call_proc_sdp:
+4de8 20405274 call l2cap_malloc_is_fifo_empty 
+4de9 247a0000 nrtn blank 
+4dea 204052c5 call l2cap_malloc_sdp_channel 
+4deb 20406e11 call sdp_process 
+
+l2cap_call_proc_sdp_common:
+4dec 204052ce call l2cap_get_sdp_tx_buff 
+4ded 68010275 fetch 2 ,mem_sdp_tx_pkt_length 
+4dee 203a4dfb branch l2cap_call_proc_no_reply ,blank 
+4def e0a10000 istore 2 ,contw 
+4df0 68014248 fetch 2 ,mem_sdp_remote_cid 
+4df1 e0a10000 istore 2 ,contw 
+4df2 20204dfc branch l2cap_rx_reset_state 
+
+l2cap_call_proc_hid:
+4df3 20404d33 call hid_rx_process 
+4df4 20204dfc branch l2cap_rx_reset_state 
+
+l2cap_call_proc_rfcomm:
+4df5 47064021 bpatchx patch21_4 ,mem_patch21 
+4df6 70028400 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+4df7 20406a8a call rfcomm_rx_process 
+4df8 68008284 fetch 1 ,mem_rfcomm_malloc_fail_flag 
+4df9 c1008000 rtneq rfcomm_malloc_fail 
+4dfa 20204dfc branch l2cap_rx_reset_state 
+
+l2cap_call_proc_no_reply:
+4dfb 20405264 call l2cap_malloc_discard 
+
+l2cap_rx_reset_state:
+4dfc 58000000 setarg 0 
+4dfd 60010266 store 2 ,mem_l2cap_rx_pkt_length 
+4dfe 60010268 store 2 ,mem_l2cap_rx_cid 
+4dff 70026a01 jam l2cap_rx_done ,mem_l2cap_rx_done 
+4e00 20600000 rtn 
+
+l2cap_process_signal_pkt:
+4e01 4706c021 bpatchx patch21_5 ,mem_patch21 
+4e02 204052c3 call l2cap_get_signal_tx_payload 
+4e03 18002400 force 0 ,regb 
+4e04 68010266 fetch 2 ,mem_l2cap_rx_pkt_length 
+4e05 1fe22600 copy pdata ,regc 
+4e06 68010264 fetch 2 ,mem_l2cap_payload_ptr 
+4e07 98000c00 iforce contr 
+
+l2cap_process_signal_pkt_loop:
+4e08 20404e10 call l2cap_process_one_signal 
+4e09 1a627e00 deposit regc 
+4e0a 1a60a7fc increase -4 ,regc 
+4e0b 1fe0fffc increase -4 ,pdata 
+4e0c 243a4e08 nbranch l2cap_process_signal_pkt_loop ,blank 
+4e0d 1a427e00 copy regb ,pdata 
+4e0e 6001026f store 2 ,mem_l2cap_signal_tx_length 
+4e0f 20600000 rtn 
+
+l2cap_process_one_signal:
+4e10 47074021 bpatchx patch21_6 ,mem_patch21 
+4e11 e8c08000 ifetch 1 ,contr 
+4e12 c000ce49 beq signal_cmd_reject ,l2cap_proc_signal_cmd_reject 
+4e13 c0014e51 beq signal_connect_req ,l2cap_proc_signal_connect_req 
+4e14 c001ced5 beq signal_connect_rsp ,l2cap_proc_signal_connect_rsp 
+4e15 c0024f05 beq signal_config_req ,l2cap_proc_signal_config_req 
+4e16 c002cfa2 beq signal_config_rsp ,l2cap_proc_signal_config_rsp 
+4e17 c0034fcb beq signal_disconnect_req ,l2cap_proc_signal_disconnect_req 
+4e18 c003d01b beq signal_disconnect_rsp ,l2cap_proc_signal_disconnect_rsp 
+4e19 c0045050 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+4e1a c004d060 beq signal_echo_rsp ,l2cap_proc_signal_echo_rsp 
+4e1b c0054e1f beq signal_info_req ,l2cap_proc_signal_info_req 
+4e1c c005d061 beq signal_info_rsp ,l2cap_proc_signal_info_rsp 
+4e1d 20405062 call l2cap_reject_command 
+
+l2cap_process_one_signal_rtn:
+4e1e 20600000 rtn 
+
+l2cap_proc_signal_info_req:
+4e1f e8c08000 ifetch 1 ,contr 
+4e20 1fe20e00 copy pdata ,queue 
+4e21 e8c10000 ifetch 2 ,contr 
+4e22 1fe22200 copy pdata ,rega 
+4e23 1a627e00 copy regc ,pdata 
+4e24 9a262600 isub rega ,regc 
+4e25 5800000b setarg signal_info_rsp 
+4e26 e0a08000 istore 1 ,contw 
+4e27 18e27e00 copy queue ,pdata 
+4e28 e0a08000 istore 1 ,contw 
+4e29 e8c10000 ifetch 2 ,contr 
+
+l2cap_proc_signal_info_req_reply:
+4e2a c0014e2d beq l2cap_sig_ext_featrue ,l2cap_proc_signal_info_req_ext 
+4e2b c001ce33 beq l2cap_sig_fix_featrue ,l2cap_proc_signal_info_req_fix 
+4e2c 20600000 rtn 
+
+l2cap_proc_signal_info_req_ext:
+4e2d 58020008 setarg 0x020008 
+4e2e e0a30000 istore 6 ,contw 
+4e2f 58000280 setarg 0x0280 
+4e30 e0a20000 istore 4 ,contw 
+4e31 18007e0c force 12 ,pdata 
+4e32 20204e38 branch l2cap_proc_signal_info_req_common 
+
+l2cap_proc_signal_info_req_fix:
+4e33 5803000c setarg 0x3000c 
+4e34 e0a30000 istore 6 ,contw 
+4e35 58000006 setarg 0x0006 
+4e36 e0a40000 istore 8 ,contw 
+4e37 18007e10 force 16 ,pdata 
+
+l2cap_proc_signal_info_req_common:
+4e38 9a40a400 iadd regb ,regb 
+4e39 20204e1e branch l2cap_process_one_signal_rtn 
+
+ml2cap_proc_signal_info_req:
+4e3a e8c08000 ifetch 1 ,contr 
+4e3b 1fe20e00 copy pdata ,queue 
+4e3c e8c10000 ifetch 2 ,contr 
+4e3d 1fe22200 copy pdata ,rega 
+4e3e e8c10000 ifetch 2 ,contr 
+4e3f 60010aa2 store 2 ,mem_temp 
+4e40 1a627e00 copy regc ,pdata 
+4e41 9a262600 isub rega ,regc 
+4e42 204052c3 call l2cap_get_signal_tx_payload 
+4e43 5800000b setarg signal_info_rsp 
+4e44 e0a08000 istore 1 ,contw 
+4e45 18e27e00 copy queue ,pdata 
+4e46 e0a08000 istore 1 ,contw 
+4e47 68010aa2 fetch 2 ,mem_temp 
+4e48 20204e2a branch l2cap_proc_signal_info_req_reply 
+
+l2cap_proc_signal_cmd_reject:
+4e49 e8c08000 ifetch 1 ,contr 
+4e4a 1fe20e00 copy pdata ,queue 
+4e4b e8c10000 ifetch 2 ,contr 
+4e4c 1fe22200 copy pdata ,rega 
+4e4d 98c08c00 iadd contr ,contr 
+4e4e 1a627e00 copy regc ,pdata 
+4e4f 9a262600 isub rega ,regc 
+
+l2cap_proc_signal_cmd_reject_rtn:
+4e50 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_connect_req:
+4e51 20407ea8 call save_cont_pointers 
+4e52 20407ead call load_cont_pointers 
+4e53 d9000000 arg 0 ,debug 
+4e54 e8c08000 ifetch 1 ,contr 
+4e55 1fe20e00 copy pdata ,queue 
+4e56 e8c10000 ifetch 2 ,contr 
+4e57 1fe22200 copy pdata ,rega 
+4e58 e8c10000 ifetch 2 ,contr 
+4e59 1fe20400 copy pdata ,temp 
+4e5a e8c10000 ifetch 2 ,contr 
+4e5b 1fe21600 copy pdata ,timeup 
+4e5c 4707c021 bpatchx patch21_7 ,mem_patch21 
+4e5d 18427e00 copy temp ,pdata 
+4e5e c000ce64 beq psm_sdp ,l2cap_proc_signal_connect_req_sdp 
+4e5f c001ce86 beq psm_rfcomm ,l2cap_proc_signal_connect_req_rfcomm 
+4e60 c008ce92 beq psm_hid_control ,l2cap_proc_signal_connect_req_hid_ctrl 
+4e61 c009ce9d beq psm_hid_interrupt ,l2cap_proc_signal_connect_req_hid_int 
+4e62 20405062 call l2cap_reject_command 
+4e63 20204ed4 branch l2cap_proc_signal_connect_req_rtn 
+
+l2cap_proc_signal_connect_req_sdp:
+4e64 20407ea8 call save_cont_pointers 
+4e65 d8400050 arg l2cap_sdp_channel ,temp 
+4e66 68014248 fetch 2 ,mem_sdp_remote_cid 
+4e67 243a4ece nbranch already_connected ,blank 
+4e68 19627e00 copy timeup ,pdata 
+4e69 60014248 store 2 ,mem_sdp_remote_cid 
+4e6a 1c427e00 copy clkn_bt ,pdata 
+4e6b 600202d5 store 4 ,mem_l2cap_sdpres_delay_time 
+4e6c 20404e6e call store_l2cap_req_param 
+4e6d 20204ea9 branch send_connection_pending 
+
+store_l2cap_req_param:
+4e6e 600902d3 storet 2 ,mem_psm 
+4e6f 19627e00 deposit timeup 
+4e70 600102c9 store 2 ,mem_scid 
+4e71 1a227e00 deposit rega 
+4e72 600102cb store 2 ,mem_cmd_length 
+4e73 1a427e00 deposit regb 
+4e74 600102cd store 2 ,mem_tt2 
+4e75 1a627e00 deposit regc 
+4e76 600102cf store 2 ,mem_tt3 
+4e77 18e27e00 deposit queue 
+4e78 600102d1 store 2 ,mem_id 
+4e79 20600000 rtn 
+
+restore_l2cap_req_param:
+4e7a 680902d3 fetcht 2 ,mem_psm 
+4e7b 680102c9 fetch 2 ,mem_scid 
+4e7c 1fe21600 copy pdata ,timeup 
+4e7d 680102cb fetch 2 ,mem_cmd_length 
+4e7e 1fe22200 copy pdata ,rega 
+4e7f 680102cd fetch 2 ,mem_tt2 
+4e80 1fe22400 copy pdata ,regb 
+4e81 680102cf fetch 2 ,mem_tt3 
+4e82 1fe22600 copy pdata ,regc 
+4e83 680102d1 fetch 2 ,mem_id 
+4e84 1fe20e00 copy pdata ,queue 
+4e85 20600000 rtn 
+
+l2cap_proc_signal_connect_req_rfcomm:
+4e86 20407ea8 call save_cont_pointers 
+4e87 58000051 setarg l2cap_rfcomm_channel 
+4e88 d8400051 arg l2cap_rfcomm_channel ,temp 
+4e89 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+4e8a 243a4ece nbranch already_connected ,blank 
+4e8b 19627e00 copy timeup ,pdata 
+4e8c 6001424a store 2 ,mem_rfcomm_remote_cid 
+4e8d 6800c251 fetch 1 ,mem_rfcomm_state 
+4e8e 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+4e8f 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4e90 6000c251 store 1 ,mem_rfcomm_state 
+4e91 20204eb1 branch send_connection_res 
+
+l2cap_proc_signal_connect_req_hid_ctrl:
+4e92 20407ea8 call save_cont_pointers 
+4e93 d8400052 arg l2cap_hid_control_channel ,temp 
+4e94 6801424c fetch 2 ,mem_hid_ctrl_remote_cid 
+4e95 243a4ece nbranch already_connected ,blank 
+4e96 19627e00 copy timeup ,pdata 
+4e97 6001424c store 2 ,mem_hid_ctrl_remote_cid 
+4e98 6800c252 fetch 1 ,mem_hid_control_state 
+4e99 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+4e9a 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4e9b 6000c252 store 1 ,mem_hid_control_state 
+4e9c 20204eb1 branch send_connection_res 
+
+l2cap_proc_signal_connect_req_hid_int:
+4e9d 20407ea8 call save_cont_pointers 
+4e9e 1b427e00 deposit clke 
+4e9f d8400053 arg l2cap_hid_interrupt_channel ,temp 
+4ea0 6801424e fetch 2 ,mem_hid_int_remote_cid 
+4ea1 243a4ece nbranch already_connected ,blank 
+4ea2 19627e00 copy timeup ,pdata 
+4ea3 6001424e store 2 ,mem_hid_int_remote_cid 
+4ea4 6800c253 fetch 1 ,mem_hid_interrupt_state 
+4ea5 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+4ea6 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4ea7 6000c253 store 1 ,mem_hid_interrupt_state 
+4ea8 20204eb1 branch send_connection_res 
+
+send_connection_pending:
+4ea9 58000001 setarg l2cap_connect_pending 
+4eaa 6001027d store 2 ,meml2cap_t1 
+4eab 70436450 jam l2cap_sdp_channel ,mem_l2cap_pending_item 
+4eac 20204eb3 branch send_connection_res0 
+
+send_connection_sdp_res:
+4ead 6800c250 fetch 1 ,mem_sdp_state 
+4eae 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+4eaf 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4eb0 6000c250 store 1 ,mem_sdp_state 
+
+send_connection_res:
+4eb1 58000000 setarg l2cap_connect_successful 
+4eb2 6001027d store 2 ,meml2cap_t1 
+
+send_connection_res0:
+4eb3 47084022 bpatchx patch22_0 ,mem_patch22 
+4eb4 20407ead call load_cont_pointers 
+4eb5 58000003 setarg signal_connect_rsp 
+4eb6 e0a08000 istore 1 ,contw 
+4eb7 18e27e00 copy queue ,pdata 
+4eb8 e0a08000 istore 1 ,contw 
+4eb9 58000008 setarg 0x0008 
+4eba e0a10000 istore 2 ,contw 
+4ebb 18427e00 copy temp ,pdata 
+4ebc e0a10000 istore 2 ,contw 
+4ebd 19627e00 copy timeup ,pdata 
+4ebe e0a10000 istore 2 ,contw 
+4ebf 6801027d fetch 2 ,meml2cap_t1 
+4ec0 c000cec9 beq l2cap_connect_pending ,connect_pending 
+4ec1 290c0000 isolate0 0 ,debug 
+4ec2 2020cec4 branch connect_suc ,true 
+4ec3 58000004 setarg l2cap_connect_refused_no_resources 
+
+connect_suc:
+4ec4 e0a10000 istore 2 ,contw 
+4ec5 18007e00 force 0x0000 ,pdata 
+4ec6 e0a10000 istore 2 ,contw 
+4ec7 5800000c setarg 12 
+4ec8 20204ed0 branch connect_req_update_byte_counts 
+
+connect_pending:
+4ec9 e0a10000 istore 2 ,contw 
+4eca 18007e02 force 0x0002 ,pdata 
+4ecb e0a10000 istore 2 ,contw 
+4ecc 5800000c setarg 12 
+4ecd 20204ed0 branch connect_req_update_byte_counts 
+
+already_connected:
+4ece 79201000 set1 0 ,debug 
+4ecf 20204eb1 branch send_connection_res 
+
+connect_req_update_byte_counts:
+4ed0 9a40a400 iadd regb ,regb 
+4ed1 1a627e00 copy regc ,pdata 
+4ed2 9a262600 isub rega ,regc 
+4ed3 20204ed4 branch l2cap_proc_signal_connect_req_rtn 
+
+l2cap_proc_signal_connect_req_rtn:
+4ed4 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_connect_rsp:
+4ed5 e8c08000 ifetch 1 ,contr 
+4ed6 1fe20e00 copy pdata ,queue 
+4ed7 e8c10000 ifetch 2 ,contr 
+4ed8 1fe22200 copy pdata ,rega 
+4ed9 1a627e00 copy regc ,pdata 
+4eda 9a262600 isub rega ,regc 
+4edb e8c10000 ifetch 2 ,contr 
+4edc 1fe21600 copy pdata ,timeup 
+4edd e8c10000 ifetch 2 ,contr 
+4ede 1fe20400 copy pdata ,temp 
+4edf 4708c022 bpatchx patch22_1 ,mem_patch22 
+4ee0 58000050 setarg l2cap_sdp_channel 
+4ee1 98467c00 isub temp ,null 
+4ee2 2022ceed branch l2cap_proc_signal_connect_rsp_sdp ,zero 
+4ee3 58000051 setarg l2cap_rfcomm_channel 
+4ee4 98467c00 isub temp ,null 
+4ee5 2022cef3 branch l2cap_proc_signal_connect_rsp_rfcomm ,zero 
+4ee6 58000052 setarg l2cap_hid_control_channel 
+4ee7 98467c00 isub temp ,null 
+4ee8 2022ceff branch l2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+4ee9 58000053 setarg l2cap_hid_interrupt_channel 
+4eea 98467c00 isub temp ,null 
+4eeb 2022cef9 branch l2cap_proc_signal_connect_rsp_hid_int ,zero 
+4eec 20600000 rtn 
+
+l2cap_proc_signal_connect_rsp_sdp:
+4eed 19627e00 copy timeup ,pdata 
+4eee 60014248 store 2 ,mem_sdp_remote_cid 
+4eef 6800c250 fetch 1 ,mem_sdp_state 
+4ef0 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4ef1 6000c250 store 1 ,mem_sdp_state 
+4ef2 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_connect_rsp_rfcomm:
+4ef3 19627e00 copy timeup ,pdata 
+4ef4 6001424a store 2 ,mem_rfcomm_remote_cid 
+4ef5 6800c251 fetch 1 ,mem_rfcomm_state 
+4ef6 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4ef7 6000c251 store 1 ,mem_rfcomm_state 
+4ef8 20600000 rtn 
+
+l2cap_proc_signal_connect_rsp_hid_int:
+4ef9 19627e00 copy timeup ,pdata 
+4efa 6001424c store 2 ,mem_hid_ctrl_remote_cid 
+4efb 6800c253 fetch 1 ,mem_hid_interrupt_state 
+4efc 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4efd 6000c253 store 1 ,mem_hid_interrupt_state 
+4efe 20600000 rtn 
+
+l2cap_proc_signal_connect_rsp_hid_ctrl:
+4eff 19627e00 copy timeup ,pdata 
+4f00 6001424e store 2 ,mem_hid_int_remote_cid 
+4f01 6800c252 fetch 1 ,mem_hid_control_state 
+4f02 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4f03 6000c252 store 1 ,mem_hid_control_state 
+4f04 20600000 rtn 
+
+l2cap_proc_signal_config_req:
+4f05 e8c08000 ifetch 1 ,contr 
+4f06 1fe20e00 copy pdata ,queue 
+4f07 e8c10000 ifetch 2 ,contr 
+4f08 1fe22200 copy pdata ,rega 
+4f09 1a627e00 copy regc ,pdata 
+4f0a 9a262600 isub rega ,regc 
+4f0b e8c10000 ifetch 2 ,contr 
+4f0c 1fe20400 copy pdata ,temp 
+4f0d 18422200 copy temp ,rega 
+4f0e 47094022 bpatchx patch22_2 ,mem_patch22 
+4f0f 58000050 setarg l2cap_sdp_channel 
+4f10 98467c00 isub temp ,null 
+4f11 2022cf1c branch l2cap_proc_signal_config_req_sdp ,zero 
+4f12 58000051 setarg l2cap_rfcomm_channel 
+4f13 98467c00 isub temp ,null 
+4f14 2022cf3a branch l2cap_proc_signal_config_req_rfcomm ,zero 
+4f15 58000052 setarg l2cap_hid_control_channel 
+4f16 98467c00 isub temp ,null 
+4f17 2022cf26 branch l2cap_proc_signal_config_req_hid_ctrl ,zero 
+4f18 58000053 setarg l2cap_hid_interrupt_channel 
+4f19 98467c00 isub temp ,null 
+4f1a 2022cf30 branch l2cap_proc_signal_config_req_hid_int ,zero 
+4f1b 20205062 branch l2cap_reject_command 
+
+l2cap_proc_signal_config_req_sdp:
+4f1c 18a21600 copy contw ,timeup 
+4f1d 6800c250 fetch 1 ,mem_sdp_state 
+4f1e 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+4f1f 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+4f20 6000c250 store 1 ,mem_sdp_state 
+4f21 19620a00 copy timeup ,contw 
+4f22 d9600050 arg l2cap_sdp_channel ,timeup 
+4f23 68014248 fetch 2 ,mem_sdp_remote_cid 
+4f24 1fe20400 copy pdata ,temp 
+4f25 20204f43 branch l2cap_send_config_rsp 
+
+l2cap_proc_signal_config_req_hid_ctrl:
+4f26 18a21600 copy contw ,timeup 
+4f27 6800c252 fetch 1 ,mem_hid_control_state 
+4f28 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+4f29 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+4f2a 6000c252 store 1 ,mem_hid_control_state 
+4f2b 19620a00 copy timeup ,contw 
+4f2c d9600052 arg l2cap_hid_control_channel ,timeup 
+4f2d 6801424c fetch 2 ,mem_hid_ctrl_remote_cid 
+4f2e 1fe20400 copy pdata ,temp 
+4f2f 20204f43 branch l2cap_send_config_rsp 
+
+l2cap_proc_signal_config_req_hid_int:
+4f30 18a21600 copy contw ,timeup 
+4f31 6800c253 fetch 1 ,mem_hid_interrupt_state 
+4f32 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+4f33 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+4f34 6000c253 store 1 ,mem_hid_interrupt_state 
+4f35 19620a00 copy timeup ,contw 
+4f36 d9600053 arg l2cap_hid_interrupt_channel ,timeup 
+4f37 6801424e fetch 2 ,mem_hid_int_remote_cid 
+4f38 1fe20400 copy pdata ,temp 
+4f39 20204f43 branch l2cap_send_config_rsp 
+
+l2cap_proc_signal_config_req_rfcomm:
+4f3a 18a21600 copy contw ,timeup 
+4f3b 6800c251 fetch 1 ,mem_rfcomm_state 
+4f3c 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+4f3d 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+4f3e 6000c251 store 1 ,mem_rfcomm_state 
+4f3f 19620a00 copy timeup ,contw 
+4f40 d9600051 arg l2cap_rfcomm_channel ,timeup 
+4f41 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+4f42 1fe20400 copy pdata ,temp 
+
+l2cap_send_config_rsp:
+4f43 4709c022 bpatchx patch22_3 ,mem_patch22 
+4f44 58000005 setarg signal_config_rsp 
+4f45 e0a08000 istore 1 ,contw 
+4f46 18e27e00 copy queue ,pdata 
+4f47 e0a08000 istore 1 ,contw 
+4f48 58000006 setarg 0x0006 
+4f49 e0a10000 istore 2 ,contw 
+4f4a 18427e00 copy temp ,pdata 
+4f4b e0a10000 istore 2 ,contw 
+4f4c 18007e00 force 0x00 ,pdata 
+4f4d e0a10000 istore 2 ,contw 
+4f4e 18007e00 force l2cap_config_success ,pdata 
+4f4f e0a10000 istore 2 ,contw 
+4f50 18007e0a force 10 ,pdata 
+4f51 9a40a400 iadd regb ,regb 
+4f52 60090282 storet 2 ,mem_config_req_dest_cid 
+4f53 18e27e00 copy queue ,pdata 
+4f54 60008281 store 1 ,mem_config_identifier 
+4f55 18007e50 force l2cap_sdp_channel ,pdata 
+4f56 a961fe00 icompare 0xff ,timeup 
+4f57 2020cf59 branch l2cap_send_config_rsp_is_sdp ,true 
+4f58 1fe0fe01 increase 1 ,pdata 
+
+l2cap_send_config_rsp_is_sdp:
+4f59 20600000 rtn 
+
+l2cap_check_channel_state:
+4f5a 78547c00 disable user 
+4f5b c3810000 rtnbit1 l2cap_channel_state_snd_cfg_req ,pdata 
+4f5c c4000000 rtnbit0 l2cap_channel_state_conn_req ,pdata 
+4f5d c4008000 rtnbit0 l2cap_channel_state_conn_res ,pdata 
+4f5e 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+4f5f 18c20a00 copy contr ,contw 
+4f60 18a08bff increase -1 ,contw 
+4f61 e0a08000 istore 1 ,contw 
+4f62 78347c00 enable user 
+4f63 20600000 rtn 
+
+l2cap_send_config_req:
+
+l2cap_send_config_req_sdp:
+4f64 6800c250 fetch 1 ,mem_sdp_state 
+4f65 20404f5a call l2cap_check_channel_state 
+4f66 24344f6b nbranch l2cap_send_config_req_rfcomm ,user 
+4f67 70028050 jam l2cap_sdp_channel ,mem_send_config_req 
+4f68 68014248 fetch 2 ,mem_sdp_remote_cid 
+4f69 60010282 store 2 ,mem_config_req_dest_cid 
+4f6a 20204f7f branch l2cap_generate_config_req 
+
+l2cap_send_config_req_rfcomm:
+4f6b 6800c251 fetch 1 ,mem_rfcomm_state 
+4f6c 20404f5a call l2cap_check_channel_state 
+4f6d 24344f72 nbranch l2cap_send_config_req_hid_ctrl ,user 
+4f6e 70028051 jam l2cap_rfcomm_channel ,mem_send_config_req 
+4f6f 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+4f70 60010282 store 2 ,mem_config_req_dest_cid 
+4f71 20204f7f branch l2cap_generate_config_req 
+
+l2cap_send_config_req_hid_ctrl:
+4f72 6800c252 fetch 1 ,mem_hid_control_state 
+4f73 20404f5a call l2cap_check_channel_state 
+4f74 24344f79 nbranch l2cap_send_config_req_hid_int ,user 
+4f75 70028052 jam l2cap_hid_control_channel ,mem_send_config_req 
+4f76 6801424c fetch 2 ,mem_hid_ctrl_remote_cid 
+4f77 60010282 store 2 ,mem_config_req_dest_cid 
+4f78 20204f7f branch l2cap_generate_config_req 
+
+l2cap_send_config_req_hid_int:
+4f79 6800c253 fetch 1 ,mem_hid_interrupt_state 
+4f7a 20404f5a call l2cap_check_channel_state 
+4f7b 24740000 nrtn user 
+4f7c 70028053 jam l2cap_hid_interrupt_channel ,mem_send_config_req 
+4f7d 6801424e fetch 2 ,mem_hid_int_remote_cid 
+4f7e 60010282 store 2 ,mem_config_req_dest_cid 
+
+l2cap_generate_config_req:
+4f7f 470a4022 bpatchx patch22_4 ,mem_patch22 
+4f80 2040523a call l2cap_get_req_id 
+4f81 204052b8 call l2cap_malloc_signal_channel 
+4f82 18002400 force 0 ,regb 
+4f83 204052c3 call l2cap_get_signal_tx_payload 
+4f84 18007e04 force signal_config_req ,pdata 
+4f85 e0a08000 istore 1 ,contw 
+4f86 6800c255 fetch 1 ,mem_ml2cap_comm_id 
+4f87 e0a08000 istore 1 ,contw 
+4f88 58000008 setarg 0x0008 
+4f89 e0a10000 istore 2 ,contw 
+4f8a 68010282 fetch 2 ,mem_config_req_dest_cid 
+4f8b e0a10000 istore 2 ,contw 
+4f8c 58000000 setarg 0x0000 
+4f8d e0a10000 istore 2 ,contw 
+4f8e 18007e01 force 1 ,pdata 
+4f8f e0a08000 istore 1 ,contw 
+4f90 18007e02 force 2 ,pdata 
+4f91 e0a08000 istore 1 ,contw 
+4f92 68008280 fetch 1 ,mem_send_config_req 
+4f93 c028cf97 beq l2cap_rfcomm_channel ,l2cap_generate_config_req_rfcomm 
+4f94 58000030 setarg l2cap_config_mtu_sdp 
+4f95 e0a10000 istore 2 ,contw 
+4f96 20204f99 branch l2cap_generate_config_req_done 
+
+l2cap_generate_config_req_rfcomm:
+4f97 580003e3 setarg l2cap_config_mtu_rfcomm 
+4f98 e0a10000 istore 2 ,contw 
+
+l2cap_generate_config_req_done:
+4f99 d840000c arg 0x0c ,temp 
+4f9a 6009026f storet 2 ,mem_l2cap_signal_tx_length 
+4f9b 204052c1 call l2cap_get_signal_tx_buff 
+4f9c 6801026f fetch 2 ,mem_l2cap_signal_tx_length 
+4f9d e0a10000 istore 2 ,contw 
+4f9e 18007e01 force l2cap_signal_channel ,pdata 
+4f9f e0a10000 istore 2 ,contw 
+4fa0 70028000 jam 0 ,mem_send_config_req 
+
+l2cap_proc_signal_config_req_rtn:
+4fa1 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp:
+4fa2 18c08c01 increase 1 ,contr 
+4fa3 e8c10000 ifetch 2 ,contr 
+4fa4 1fe22200 copy pdata ,rega 
+4fa5 1a627e00 copy regc ,pdata 
+4fa6 9a262600 isub rega ,regc 
+4fa7 e8c10000 ifetch 2 ,contr 
+4fa8 1fe22200 copy pdata ,rega 
+4fa9 470ac022 bpatchx patch22_5 ,mem_patch22 
+4faa 58000050 setarg l2cap_sdp_channel 
+4fab 9a267c00 isub rega ,null 
+4fac 2022cfba branch l2cap_proc_signal_config_rsp_sdp ,zero 
+4fad 58000051 setarg l2cap_rfcomm_channel 
+4fae 9a267c00 isub rega ,null 
+4faf 2022cfbe branch l2cap_proc_signal_config_rsp_rfcomm ,zero 
+4fb0 58000052 setarg l2cap_hid_control_channel 
+4fb1 9a267c00 isub rega ,null 
+4fb2 2022cfc2 branch l2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+4fb3 58000053 setarg l2cap_hid_interrupt_channel 
+4fb4 9a267c00 isub rega ,null 
+4fb5 2022cfc6 branch l2cap_proc_signal_config_rsp_hid_int ,zero 
+4fb6 18c08c02 increase 2 ,contr 
+4fb7 e8c10000 ifetch 2 ,contr 
+4fb8 98007c00 iforce null 
+4fb9 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp_sdp:
+4fba 6800c250 fetch 1 ,mem_sdp_state 
+4fbb 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+4fbc 6000c250 store 1 ,mem_sdp_state 
+4fbd 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp_rfcomm:
+4fbe 6800c251 fetch 1 ,mem_rfcomm_state 
+4fbf 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+4fc0 6000c251 store 1 ,mem_rfcomm_state 
+4fc1 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp_hid_ctrl:
+4fc2 6800c252 fetch 1 ,mem_hid_control_state 
+4fc3 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+4fc4 6000c252 store 1 ,mem_hid_control_state 
+4fc5 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp_hid_int:
+4fc6 6800c253 fetch 1 ,mem_hid_interrupt_state 
+4fc7 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+4fc8 6000c253 store 1 ,mem_hid_interrupt_state 
+4fc9 700a9906 jam bt_evt_hid_connected ,mem_fifo_temp 
+4fca 20207d86 branch ui_ipc_send_event 
+
+l2cap_proc_signal_disconnect_req:
+4fcb e8c08000 ifetch 1 ,contr 
+4fcc 1fe20e00 copy pdata ,queue 
+4fcd e8c10000 ifetch 2 ,contr 
+4fce 1fe22200 copy pdata ,rega 
+4fcf 1a627e00 copy regc ,pdata 
+4fd0 9a262600 isub rega ,regc 
+4fd1 e8c10000 ifetch 2 ,contr 
+4fd2 1fe22200 copy pdata ,rega 
+4fd3 e8c10000 ifetch 2 ,contr 
+4fd4 1fe21600 copy pdata ,timeup 
+4fd5 1a220400 copy rega ,temp 
+4fd6 20407ea8 call save_cont_pointers 
+4fd7 470b4022 bpatchx patch22_6 ,mem_patch22 
+4fd8 58000050 setarg l2cap_sdp_channel 
+4fd9 98467c00 isub temp ,null 
+4fda 2022cff2 branch l2cap_proc_signal_disconnect_req_sdp ,zero 
+4fdb 58000051 setarg l2cap_rfcomm_channel 
+4fdc 98467c00 isub temp ,null 
+4fdd 2022d002 branch l2cap_proc_signal_disconnect_req_rfcomm ,zero 
+4fde 58000052 setarg l2cap_hid_control_channel 
+4fdf 98467c00 isub temp ,null 
+4fe0 2022cfe6 branch l2cap_proc_signal_disconnect_req_hid_ctrl ,zero 
+4fe1 58000053 setarg l2cap_hid_interrupt_channel 
+4fe2 98467c00 isub temp ,null 
+4fe3 2022cfec branch l2cap_proc_signal_disconnect_req_hid_int ,zero 
+4fe4 20405062 call l2cap_reject_command 
+4fe5 20205017 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_proc_signal_disconnect_req_hid_ctrl:
+4fe6 19620400 copy timeup ,temp 
+4fe7 6801424c fetch 2 ,mem_hid_ctrl_remote_cid 
+4fe8 98467c00 isub temp ,null 
+4fe9 2022cff8 branch l2cap_disconnect_hid_control_now ,zero 
+4fea 20405062 call l2cap_reject_command 
+4feb 20205017 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_proc_signal_disconnect_req_hid_int:
+4fec 19620400 copy timeup ,temp 
+4fed 6801424e fetch 2 ,mem_hid_int_remote_cid 
+4fee 98467c00 isub temp ,null 
+4fef 2022cffa branch l2cap_disconnect_hid_interrupt_now ,zero 
+4ff0 20405062 call l2cap_reject_command 
+4ff1 20205017 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_proc_signal_disconnect_req_sdp:
+4ff2 19620400 copy timeup ,temp 
+4ff3 68014248 fetch 2 ,mem_sdp_remote_cid 
+4ff4 98467c00 isub temp ,null 
+4ff5 2022cffe branch l2cap_disconnect_sdp_now ,zero 
+4ff6 20405062 call l2cap_reject_command 
+4ff7 20205017 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_disconnect_hid_control_now:
+4ff8 20405079 call l2cap_reset_hid_ctrl_state 
+4ff9 2020500a branch l2cap_send_disconnect_rsp_pkt 
+
+l2cap_disconnect_hid_interrupt_now:
+4ffa 2040507f call l2cap_reset_hid_int_state 
+4ffb 6801424c fetch 2 ,mem_hid_ctrl_remote_cid 
+4ffc 203a500a branch l2cap_send_disconnect_rsp_pkt ,blank 
+4ffd 2020500a branch l2cap_send_disconnect_rsp_pkt 
+
+l2cap_disconnect_sdp_now:
+4ffe 20405074 call l2cap_reset_sdp_channel_state 
+4fff 68008288 fetch 1 ,mem_upper_sm_ss 
+5000 243a500a nbranch l2cap_send_disconnect_rsp_pkt ,blank 
+5001 2020500a branch l2cap_send_disconnect_rsp_pkt 
+
+l2cap_proc_signal_disconnect_req_rfcomm:
+5002 19620400 copy timeup ,temp 
+5003 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+5004 98467c00 isub temp ,null 
+5005 2022d008 branch l2cap_disconnect_rfcomm_now ,zero 
+5006 20405062 call l2cap_reject_command 
+5007 20205017 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_disconnect_rfcomm_now:
+5008 2040506f call l2cap_reset_rfcomm_channel_state 
+5009 2020500a branch l2cap_send_disconnect_rsp_pkt 
+
+l2cap_send_disconnect_rsp_pkt:
+500a 20407ead call load_cont_pointers 
+500b 58000007 setarg signal_disconnect_rsp 
+500c e0a08000 istore 1 ,contw 
+500d 18e27e00 copy queue ,pdata 
+500e e0a08000 istore 1 ,contw 
+500f 58000004 setarg 0x0004 
+5010 e0a10000 istore 2 ,contw 
+5011 1a227e00 copy rega ,pdata 
+5012 e0a10000 istore 2 ,contw 
+5013 19627e00 copy timeup ,pdata 
+5014 e0a10000 istore 2 ,contw 
+5015 18007e08 force 8 ,pdata 
+5016 20205019 branch l2cap_proc_signal_disconnect_req_rtn 
+
+l2cap_proc_signal_disconnect_req_err_rtn:
+5017 20407ead call load_cont_pointers 
+5018 20205019 branch l2cap_proc_signal_disconnect_req_rtn 
+
+l2cap_proc_signal_disconnect_req_rtn:
+5019 9a40a400 iadd regb ,regb 
+501a 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_disconnect_rsp:
+501b e8c08000 ifetch 1 ,contr 
+501c 1fe20e00 copy pdata ,queue 
+501d e8c10000 ifetch 2 ,contr 
+501e 1fe22200 copy pdata ,rega 
+501f 1a627e00 copy regc ,pdata 
+5020 9a262600 isub rega ,regc 
+5021 e8c10000 ifetch 2 ,contr 
+5022 1fe21600 copy pdata ,timeup 
+5023 e8c10000 ifetch 2 ,contr 
+5024 1fe20400 copy pdata ,temp 
+5025 20407ea8 call save_cont_pointers 
+5026 470bc022 bpatchx patch22_7 ,mem_patch22 
+5027 58000050 setarg l2cap_sdp_channel 
+5028 98467c00 isub temp ,null 
+5029 2022d035 branch l2cap_proc_signal_disconnect_rsp_sdp ,zero 
+502a 58000051 setarg l2cap_rfcomm_channel 
+502b 98467c00 isub temp ,null 
+502c 2022d03b branch l2cap_proc_signal_disconnect_rsp_rfcomm ,zero 
+502d 58000052 setarg l2cap_hid_control_channel 
+502e 98467c00 isub temp ,null 
+502f 2022d041 branch l2cap_proc_signal_disconnect_rsp_hid_ctrl ,zero 
+5030 58000053 setarg l2cap_hid_interrupt_channel 
+5031 98467c00 isub temp ,null 
+5032 2022d047 branch l2cap_proc_signal_disconnect_rsp_hid_int ,zero 
+5033 20405062 call l2cap_reject_command 
+5034 2020504f branch l2cap_proc_signal_disconnect_rsp_err_rtn 
+
+l2cap_proc_signal_disconnect_rsp_sdp:
+5035 18422200 copy temp ,rega 
+5036 19620400 copy timeup ,temp 
+5037 68014248 fetch 2 ,mem_sdp_remote_cid 
+5038 98467c00 isub temp ,null 
+5039 2042d074 call l2cap_reset_sdp_channel_state ,zero 
+503a 2020504d branch l2cap_proc_signal_disconnect_rsp_rtn 
+
+l2cap_proc_signal_disconnect_rsp_rfcomm:
+503b 18422200 copy temp ,rega 
+503c 19620400 copy timeup ,temp 
+503d 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+503e 98467c00 isub temp ,null 
+503f 2042d06f call l2cap_reset_rfcomm_channel_state ,zero 
+5040 2020504d branch l2cap_proc_signal_disconnect_rsp_rtn 
+
+l2cap_proc_signal_disconnect_rsp_hid_ctrl:
+5041 18422200 copy temp ,rega 
+5042 19620400 copy timeup ,temp 
+5043 6801424c fetch 2 ,mem_hid_ctrl_remote_cid 
+5044 98467c00 isub temp ,null 
+5045 2042d079 call l2cap_reset_hid_ctrl_state ,zero 
+5046 2020504d branch l2cap_proc_signal_disconnect_rsp_rtn 
+
+l2cap_proc_signal_disconnect_rsp_hid_int:
+5047 18422200 copy temp ,rega 
+5048 19620400 copy timeup ,temp 
+5049 6801424e fetch 2 ,mem_hid_int_remote_cid 
+504a 98467c00 isub temp ,null 
+504b 2042d07f call l2cap_reset_hid_int_state ,zero 
+504c 2020504d branch l2cap_proc_signal_disconnect_rsp_rtn 
+
+l2cap_proc_signal_disconnect_rsp_rtn:
+504d 20407ead call load_cont_pointers 
+504e 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_disconnect_rsp_err_rtn:
+504f 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_echo_req:
+5050 e8c08000 ifetch 1 ,contr 
+5051 1fe20e00 copy pdata ,queue 
+5052 e8c10000 ifetch 2 ,contr 
+5053 1fe22200 copy pdata ,rega 
+5054 98c08c00 iadd contr ,contr 
+5055 58000009 setarg 9 
+5056 e0a08000 istore 1 ,contw 
+5057 18e27e00 copy queue ,pdata 
+5058 e0a08000 istore 1 ,contw 
+5059 18007e00 force 0x0000 ,pdata 
+505a e0a10000 istore 2 ,contw 
+505b 18007e04 force 4 ,pdata 
+505c 9a40a400 iadd regb ,regb 
+505d 1a627e00 copy regc ,pdata 
+505e 9a262600 isub rega ,regc 
+505f 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_echo_rsp:
+5060 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_info_rsp:
+5061 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_reject_command:
+5062 18002400 force 0 ,regb 
+5063 204052c3 call l2cap_get_signal_tx_payload 
+5064 58000001 setarg signal_cmd_reject 
+5065 e0a08000 istore 1 ,contw 
+5066 18e27e00 copy queue ,pdata 
+5067 e0a08000 istore 1 ,contw 
+5068 58000002 setarg 2 
+5069 e0a10000 istore 2 ,contw 
+506a 58000000 setarg cmd_not_understood 
+506b e0a10000 istore 2 ,contw 
+506c 1a40a406 increase 6 ,regb 
+506d da600004 arg 4 ,regc 
+506e 20204e1e branch l2cap_process_one_signal_rtn 
+
+l2cap_reset_rfcomm_channel_state:
+506f 58000000 setarg 0 
+5070 6001027b store 2 ,mem_rfcomm_tx_pkt_length 
+5071 6001424a store 2 ,mem_rfcomm_remote_cid 
+5072 70425100 jam 0 ,mem_rfcomm_state 
+5073 20600000 rtn 
+
+l2cap_reset_sdp_channel_state:
+5074 58000000 setarg 0 
+5075 60010275 store 2 ,mem_sdp_tx_pkt_length 
+5076 60014248 store 2 ,mem_sdp_remote_cid 
+5077 70425000 jam 0 ,mem_sdp_state 
+5078 20600000 rtn 
+
+l2cap_reset_hid_ctrl_state:
+5079 58000000 setarg 0 
+507a 6001424c store 2 ,mem_hid_ctrl_remote_cid 
+507b 70425200 jam 0 ,mem_hid_control_state 
+507c 6800c253 fetch 1 ,mem_hid_interrupt_state 
+507d c0005085 beq 0 ,l2cap_reset_hid_disconnected 
+507e 20600000 rtn 
+
+l2cap_reset_hid_int_state:
+507f 58000000 setarg 0 
+5080 6001424e store 2 ,mem_hid_int_remote_cid 
+5081 70425300 jam 0 ,mem_hid_interrupt_state 
+5082 6800c252 fetch 1 ,mem_hid_control_state 
+5083 c0005085 beq 0 ,l2cap_reset_hid_disconnected 
+5084 20600000 rtn 
+
+l2cap_reset_hid_disconnected:
+5085 700a9907 jam bt_evt_hid_disconnected ,mem_fifo_temp 
+5086 20207d86 branch ui_ipc_send_event 
+
+l2cap_disconnect_interrupt_req:
+5087 6800827f fetch 1 ,mem_control_tasks 
+5088 793ffe00 set0 l2cap_disconnect_interrupt ,pdata 
+5089 6000827f store 1 ,mem_control_tasks 
+508a 6801424e fetch 2 ,mem_hid_int_remote_cid 
+508b 207a0000 rtn blank 
+508c 204052b8 call l2cap_malloc_signal_channel 
+508d 6801424e fetch 2 ,mem_hid_int_remote_cid 
+508e 1fe22200 copy pdata ,rega 
+508f 18002453 force l2cap_hid_interrupt_channel ,regb 
+5090 2020509a branch l2cap_generate_disconnect_req 
+
+l2cap_disconnect_control_req:
+5091 6800827f fetch 1 ,mem_control_tasks 
+5092 793ffe07 set0 l2cap_disconnect_control ,pdata 
+5093 6000827f store 1 ,mem_control_tasks 
+5094 6801424c fetch 2 ,mem_hid_ctrl_remote_cid 
+5095 207a0000 rtn blank 
+5096 204052b8 call l2cap_malloc_signal_channel 
+5097 6801424c fetch 2 ,mem_hid_ctrl_remote_cid 
+5098 1fe22200 copy pdata ,rega 
+5099 18002452 force l2cap_hid_control_channel ,regb 
+
+l2cap_generate_disconnect_req:
+509a 2040523a call l2cap_get_req_id 
+509b 204052c3 call l2cap_get_signal_tx_payload 
+509c 18007e06 force signal_disconnect_req ,pdata 
+509d e0a08000 istore 1 ,contw 
+509e 6800c255 fetch 1 ,mem_ml2cap_comm_id 
+509f e0a08000 istore 1 ,contw 
+50a0 58000004 setarg 0x0004 
+50a1 e0a10000 istore 2 ,contw 
+50a2 1a227e00 copy rega ,pdata 
+50a3 e0a10000 istore 2 ,contw 
+50a4 1a427e00 copy regb ,pdata 
+50a5 e0a10000 istore 2 ,contw 
+50a6 18000408 force 0x08 ,temp 
+50a7 202050de branch ml2cap_send_signal 
+
+ml2cap_send_signal_connect_req:
+50a8 470c4023 bpatchx patch23_0 ,mem_patch23 
+50a9 2040523a call l2cap_get_req_id 
+50aa 204052c3 call l2cap_get_signal_tx_payload 
+50ab 58000002 setarg signal_connect_req 
+50ac e0a08000 istore 1 ,contw 
+50ad 6800c255 fetch 1 ,mem_ml2cap_comm_id 
+50ae e0a08000 istore 1 ,contw 
+50af 58000004 setarg 0x0004 
+50b0 e0a10000 istore 2 ,contw 
+50b1 18427e00 copy temp ,pdata 
+50b2 e0a10000 istore 2 ,contw 
+50b3 19627e00 copy timeup ,pdata 
+50b4 e0a10000 istore 2 ,contw 
+50b5 d8400008 arg 8 ,temp 
+50b6 202050de branch ml2cap_send_signal 
+
+ml2cap_send_signal_config_req:
+50b7 470cc023 bpatchx patch23_1 ,mem_patch23 
+50b8 2040523a call l2cap_get_req_id 
+50b9 204052c3 call l2cap_get_signal_tx_payload 
+50ba 58000004 setarg signal_config_req 
+50bb e0a08000 istore 1 ,contw 
+50bc 6800c255 fetch 1 ,mem_ml2cap_comm_id 
+50bd e0a08000 istore 1 ,contw 
+50be 58000008 setarg 0x0008 
+50bf e0a10000 istore 2 ,contw 
+50c0 18427e00 copy temp ,pdata 
+50c1 e0a10000 istore 2 ,contw 
+50c2 58000000 setarg 0x0000 
+50c3 e0a10000 istore 2 ,contw 
+50c4 58000001 setarg 0x01 
+50c5 e0a08000 istore 1 ,contw 
+50c6 58000002 setarg 0x02 
+50c7 e0a08000 istore 1 ,contw 
+50c8 580003e3 setarg l2cap_config_mtu_rfcomm 
+50c9 e0a10000 istore 2 ,contw 
+50ca d840000c arg 0xc ,temp 
+50cb 202050de branch ml2cap_send_signal 
+
+ml2cap_send_signal_disconn_req:
+50cc 470d4023 bpatchx patch23_2 ,mem_patch23 
+50cd 2040523a call l2cap_get_req_id 
+50ce 204052c3 call l2cap_get_signal_tx_payload 
+50cf 58000006 setarg signal_disconnect_req 
+50d0 e0a08000 istore 1 ,contw 
+50d1 6800c255 fetch 1 ,mem_ml2cap_comm_id 
+50d2 1fe0fe01 increase 1 ,pdata 
+50d3 18a22200 copy contw ,rega 
+50d4 6000c255 store 1 ,mem_ml2cap_comm_id 
+50d5 1a220a00 copy rega ,contw 
+50d6 e0a08000 istore 1 ,contw 
+50d7 58000004 setarg 0x0004 
+50d8 e0a10000 istore 2 ,contw 
+50d9 18427e00 copy temp ,pdata 
+50da e0a10000 istore 2 ,contw 
+50db 19627e00 copy timeup ,pdata 
+50dc e0a10000 istore 2 ,contw 
+50dd d8400008 arg 0x8 ,temp 
+
+ml2cap_send_signal:
+50de 6009026f storet 2 ,mem_l2cap_signal_tx_length 
+50df 18427e00 copy temp ,pdata 
+50e0 203a5264 branch l2cap_malloc_discard ,blank 
+50e1 204052c1 call l2cap_get_signal_tx_buff 
+50e2 6801026f fetch 2 ,mem_l2cap_signal_tx_length 
+50e3 e0a10000 istore 2 ,contw 
+50e4 18007e01 force l2cap_signal_channel ,pdata 
+50e5 e0a10000 istore 2 ,contw 
+50e6 20600000 rtn 
+
+msdp_send_req_done:
+50e7 68010275 fetch 2 ,mem_sdp_tx_pkt_length 
+50e8 203a2a8c branch assert ,blank 
+50e9 204052ce call l2cap_get_sdp_tx_buff 
+50ea 68010275 fetch 2 ,mem_sdp_tx_pkt_length 
+50eb e0a10000 istore 2 ,contw 
+50ec 68014248 fetch 2 ,mem_sdp_remote_cid 
+50ed e0a10000 istore 2 ,contw 
+50ee 20600000 rtn 
+
+ml2cap_rx_multiplexing:
+50ef 68010266 fetch 2 ,mem_l2cap_rx_pkt_length 
+50f0 203a4dfc branch l2cap_rx_reset_state ,blank 
+50f1 470dc023 bpatchx patch23_3 ,mem_patch23 
+50f2 68008268 fetch 1 ,mem_l2cap_rx_cid 
+50f3 c000d0f9 beq l2cap_signal_channel ,ml2cap_call_proc_signal 
+50f4 c0284de8 beq l2cap_sdp_channel ,ml2cap_call_proc_sdp 
+50f5 c028cdf5 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+50f6 c0294df3 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+50f7 c029cdf3 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+50f8 20204dfc branch l2cap_rx_reset_state 
+
+ml2cap_call_proc_signal:
+50f9 470e4023 bpatchx patch23_4 ,mem_patch23 
+50fa 204052b8 call l2cap_malloc_signal_channel 
+50fb 18002400 force 0 ,regb 
+50fc 204052c3 call l2cap_get_signal_tx_payload 
+50fd 1fe20a00 copy pdata ,contw 
+50fe 68010266 fetch 2 ,mem_l2cap_rx_pkt_length 
+50ff 1fe22600 copy pdata ,regc 
+5100 68010264 fetch 2 ,mem_l2cap_payload_ptr 
+5101 98000c00 iforce contr 
+
+ml2cap_proc_one_comm_loop:
+5102 20405108 call ml2cap_proc_one_comm 
+5103 1a60a7fc increase -4 ,regc 
+5104 2422d102 nbranch ml2cap_proc_one_comm_loop ,zero 
+5105 1a420400 copy regb ,temp 
+5106 204050de call ml2cap_send_signal 
+5107 20204dfc branch l2cap_rx_reset_state 
+
+ml2cap_proc_one_comm:
+5108 e8c08000 ifetch 1 ,contr 
+5109 c0015113 beq signal_connect_req ,ml2cap_proc_signal_connect_req 
+510a c000d116 beq signal_cmd_reject ,ml2cap_proc_signal_cmd_reject 
+510b c001d120 beq signal_connect_rsp ,ml2cap_proc_signal_connect_rsp 
+510c c002d15c beq signal_config_rsp ,ml2cap_proc_signal_config_rsp 
+510d c002518e beq signal_config_req ,ml2cap_proc_signal_config_req 
+510e c003d213 beq signal_disconnect_rsp ,ml2cap_proc_signal_disconn_rsp 
+510f c00351e1 beq signal_disconnect_req ,ml2cap_proc_signal_disconn_req 
+5110 c0045050 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+5111 c0054e3a beq signal_info_req ,ml2cap_proc_signal_info_req 
+5112 2020522e branch ml2cap_proc_send_reject 
+
+ml2cap_proc_signal_connect_req:
+5113 20407ea8 call save_cont_pointers 
+5114 20407ead call load_cont_pointers 
+5115 20204e51 branch l2cap_proc_signal_connect_req 
+
+ml2cap_proc_signal_cmd_reject:
+5116 e8c08000 ifetch 1 ,contr 
+5117 1fe20e00 copy pdata ,queue 
+5118 e8c10000 ifetch 2 ,contr 
+5119 1fe22200 copy pdata ,rega 
+511a 1a627e00 copy regc ,pdata 
+511b 9a262600 isub rega ,regc 
+
+mvptr:
+511c e8c08000 ifetch 1 ,contr 
+511d 1a20a3ff increase -1 ,rega 
+511e 2422d11c nbranch mvptr ,zero 
+511f 20600000 rtn 
+
+ml2cap_proc_signal_connect_rsp:
+5120 e8c08000 ifetch 1 ,contr 
+5121 1fe20e00 copy pdata ,queue 
+5122 e8c10000 ifetch 2 ,contr 
+5123 1fe22200 copy pdata ,rega 
+5124 e8c10000 ifetch 2 ,contr 
+5125 1fe21600 copy pdata ,timeup 
+5126 e8c10000 ifetch 2 ,contr 
+5127 1fe20400 copy pdata ,temp 
+5128 e8c10000 ifetch 2 ,contr 
+5129 1fe67c00 sub pdata ,0 ,null 
+512a 2022d132 branch ml2cap_proc_signal_connect_rsp_sucessful ,zero 
+512b c001512e beq l2cap_connect_refused_psm_unsupported ,ml2cap_proc_signal_connect_refused_result 
+512c c002512e beq l2cap_connect_refused_no_resources ,ml2cap_proc_signal_connect_refused_result 
+512d 20205130 branch ml2cap_proc_signal_connect_rsp_mnosucc 
+
+ml2cap_proc_signal_connect_refused_result:
+512e 700a9916 jam bt_evt_ml2cap_conn_refused ,mem_fifo_temp 
+512f 20407d86 call ui_ipc_send_event 
+
+ml2cap_proc_signal_connect_rsp_mnosucc:
+5130 e8c10000 ifetch 2 ,contr 
+5131 20205159 branch mnosucc 
+
+ml2cap_proc_signal_connect_rsp_sucessful:
+5132 20407ea8 call save_cont_pointers 
+5133 470ec023 bpatchx patch23_5 ,mem_patch23 
+5134 58000050 setarg l2cap_sdp_channel 
+5135 98467c00 isub temp ,null 
+5136 2022d141 branch ml2cap_proc_signal_connect_rsp_sdp ,zero 
+5137 58000051 setarg l2cap_rfcomm_channel 
+5138 98467c00 isub temp ,null 
+5139 2022d147 branch ml2cap_proc_signal_connect_rsp_rfcomm ,zero 
+513a 58000053 setarg l2cap_hid_interrupt_channel 
+513b 98467c00 isub temp ,null 
+513c 2022d153 branch ml2cap_proc_signal_connect_rsp_hid_int ,zero 
+513d 58000052 setarg l2cap_hid_control_channel 
+513e 98467c00 isub temp ,null 
+513f 2022d14d branch ml2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+5140 20205159 branch mnosucc 
+
+ml2cap_proc_signal_connect_rsp_sdp:
+5141 19627e00 copy timeup ,pdata 
+5142 60014248 store 2 ,mem_sdp_remote_cid 
+5143 6800c250 fetch 1 ,mem_sdp_state 
+5144 79207e01 set1 l2cap_channel_state_conn_res 
+5145 6000c250 store 1 ,mem_sdp_state 
+5146 20205158 branch mnosucc1 
+
+ml2cap_proc_signal_connect_rsp_rfcomm:
+5147 19627e00 copy timeup ,pdata 
+5148 6001424a store 2 ,mem_rfcomm_remote_cid 
+5149 6800c251 fetch 1 ,mem_rfcomm_state 
+514a 79207e01 set1 l2cap_channel_state_conn_res 
+514b 6000c251 store 1 ,mem_rfcomm_state 
+514c 20205158 branch mnosucc1 
+
+ml2cap_proc_signal_connect_rsp_hid_ctrl:
+514d 19627e00 copy timeup ,pdata 
+514e 6001424c store 2 ,mem_hid_ctrl_remote_cid 
+514f 6800c252 fetch 1 ,mem_hid_control_state 
+5150 79207e01 set1 l2cap_channel_state_conn_res 
+5151 6000c252 store 1 ,mem_hid_control_state 
+5152 20205158 branch mnosucc1 
+
+ml2cap_proc_signal_connect_rsp_hid_int:
+5153 19627e00 copy timeup ,pdata 
+5154 6001424e store 2 ,mem_hid_int_remote_cid 
+5155 6800c253 fetch 1 ,mem_hid_interrupt_state 
+5156 79207e01 set1 l2cap_channel_state_conn_res 
+5157 6000c253 store 1 ,mem_hid_interrupt_state 
+
+mnosucc1:
+5158 20407ead call load_cont_pointers 
+
+mnosucc:
+5159 1a627e00 copy regc ,pdata 
+515a 9a262600 isub rega ,regc 
+515b 20600000 rtn 
+
+ml2cap_proc_signal_config_rsp:
+515c e8c08000 ifetch 1 ,contr 
+515d 1fe20e00 copy pdata ,queue 
+515e e8c10000 ifetch 2 ,contr 
+515f 1fe22200 copy pdata ,rega 
+5160 1a627e00 copy regc ,pdata 
+5161 9a262600 isub rega ,regc 
+5162 e8c10000 ifetch 2 ,contr 
+5163 1fe21600 copy pdata ,timeup 
+5164 e8c10000 ifetch 2 ,contr 
+5165 e8c10000 ifetch 2 ,contr 
+5166 243a5188 nbranch mcrsdone1 ,blank 
+5167 20407ea8 call save_cont_pointers 
+5168 19620400 copy timeup ,temp 
+5169 470f4023 bpatchx patch23_6 ,mem_patch23 
+516a 58000050 setarg l2cap_sdp_channel 
+516b 98467c00 isub temp ,null 
+516c 2022d176 branch ml2cap_proc_signal_config_rsp_sdp ,zero 
+516d 58000051 setarg l2cap_rfcomm_channel 
+516e 98467c00 isub temp ,null 
+516f 2022d17a branch ml2cap_proc_signal_config_rsp_rfcomm ,zero 
+5170 58000052 setarg l2cap_hid_control_channel 
+5171 98467c00 isub temp ,null 
+5172 2022d17e branch ml2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+5173 58000053 setarg l2cap_hid_interrupt_channel 
+5174 98467c00 isub temp ,null 
+5175 2022d182 branch ml2cap_proc_signal_config_rsp_hid_int ,zero 
+
+ml2cap_proc_signal_config_rsp_sdp:
+5176 6800c250 fetch 1 ,mem_sdp_state 
+5177 79207e05 set1 l2cap_channel_state_rcv_cfg_res 
+5178 6000c250 store 1 ,mem_sdp_state 
+5179 20600000 rtn 
+
+ml2cap_proc_signal_config_rsp_rfcomm:
+517a 6800c251 fetch 1 ,mem_rfcomm_state 
+517b 79207e05 set1 l2cap_channel_state_rcv_cfg_res 
+517c 6000c251 store 1 ,mem_rfcomm_state 
+517d 20600000 rtn 
+
+ml2cap_proc_signal_config_rsp_hid_ctrl:
+517e 6800c252 fetch 1 ,mem_hid_control_state 
+517f 79207e05 set1 l2cap_channel_state_rcv_cfg_res 
+5180 6000c252 store 1 ,mem_hid_control_state 
+5181 20600000 rtn 
+
+ml2cap_proc_signal_config_rsp_hid_int:
+5182 6800c253 fetch 1 ,mem_hid_interrupt_state 
+5183 79207e05 set1 l2cap_channel_state_rcv_cfg_res 
+5184 6000c253 store 1 ,mem_hid_interrupt_state 
+5185 700a9906 jam bt_evt_hid_connected ,mem_fifo_temp 
+5186 20207d86 branch ui_ipc_send_event 
+
+mcfrsdone:
+5187 20407ead call load_cont_pointers 
+
+mcrsdone1:
+5188 1a20a3fa increase -6 ,rega 
+
+mloop2:
+5189 2022d18d branch mcrsdone ,zero 
+518a 18c08c01 increase 1 ,contr 
+518b 1a20a3ff increase -1 ,rega 
+518c 20205189 branch mloop2 
+
+mcrsdone:
+518d 20600000 rtn 
+
+ml2cap_proc_signal_config_req:
+518e e8c08000 ifetch 1 ,contr 
+518f 1fe20e00 copy pdata ,queue 
+5190 e8c10000 ifetch 2 ,contr 
+5191 1fe22200 copy pdata ,rega 
+5192 1a627e00 copy regc ,pdata 
+5193 9a262600 isub rega ,regc 
+5194 e8c10000 ifetch 2 ,contr 
+5195 18c08c02 increase 2 ,contr 
+5196 1fe20400 copy pdata ,temp 
+5197 58000005 setarg signal_config_rsp 
+5198 e0a08000 istore 1 ,contw 
+5199 18e27e00 copy queue ,pdata 
+519a e0a08000 istore 1 ,contw 
+519b 1a20a202 increase 2 ,rega 
+519c 1a227e00 copy rega ,pdata 
+519d e0a10000 istore 2 ,contw 
+519e 20407ea8 call save_cont_pointers 
+519f 470fc023 bpatchx patch23_7 ,mem_patch23 
+51a0 58000050 setarg l2cap_sdp_channel 
+51a1 98467c00 isub temp ,null 
+51a2 2022d1ad branch ml2cap_proc_signal_config_req_sdp ,zero 
+51a3 58000051 setarg l2cap_rfcomm_channel 
+51a4 98467c00 isub temp ,null 
+51a5 2022d1be branch ml2cap_proc_signal_config_req_rfcomm ,zero 
+51a6 58000052 setarg l2cap_hid_control_channel 
+51a7 98467c00 isub temp ,null 
+51a8 2022d1c4 branch ml2cap_proc_signal_config_req_hid_ctrl ,zero 
+51a9 58000053 setarg l2cap_hid_interrupt_channel 
+51aa 98467c00 isub temp ,null 
+51ab 2022d1ca branch ml2cap_proc_signal_config_req_hid_int ,zero 
+51ac 202051cf branch mcfgrq_done 
+
+ml2cap_proc_signal_config_req_sdp:
+51ad 6800c250 fetch 1 ,mem_sdp_state 
+51ae 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+51af 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+51b0 6000c250 store 1 ,mem_sdp_state 
+51b1 c28151bb bbit1 l2cap_channel_state_snd_cfg_req ,ml2cap_proc_signal_config_req_sdp_nsndreq 
+51b2 6808827f fetcht 1 ,mem_control_tasks 
+51b3 79200406 set1 l2cap_init_config_req ,temp 
+51b4 6008827f storet 1 ,mem_control_tasks 
+51b5 18e27e00 copy queue ,pdata 
+51b6 1fe0fe01 increase 1 ,pdata 
+51b7 60008281 store 1 ,mem_config_identifier 
+51b8 6800c250 fetch 1 ,mem_sdp_state 
+51b9 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+51ba 6000c250 store 1 ,mem_sdp_state 
+
+ml2cap_proc_signal_config_req_sdp_nsndreq:
+51bb 68014248 fetch 2 ,mem_sdp_remote_cid 
+51bc 60010282 store 2 ,mem_config_req_dest_cid 
+51bd 202051cf branch mcfgrq_done 
+
+ml2cap_proc_signal_config_req_rfcomm:
+51be 6800c251 fetch 1 ,mem_rfcomm_state 
+51bf 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+51c0 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+51c1 6000c251 store 1 ,mem_rfcomm_state 
+51c2 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+51c3 202051cf branch mcfgrq_done 
+
+ml2cap_proc_signal_config_req_hid_ctrl:
+51c4 6800c252 fetch 1 ,mem_hid_control_state 
+51c5 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+51c6 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+51c7 6000c252 store 1 ,mem_hid_control_state 
+51c8 6801424c fetch 2 ,mem_hid_ctrl_remote_cid 
+51c9 202051cf branch mcfgrq_done 
+
+ml2cap_proc_signal_config_req_hid_int:
+51ca 6800c253 fetch 1 ,mem_hid_interrupt_state 
+51cb 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+51cc 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+51cd 6000c253 store 1 ,mem_hid_interrupt_state 
+51ce 6801424e fetch 2 ,mem_hid_int_remote_cid 
+
+mcfgrq_done:
+51cf 1fe21600 copy pdata ,timeup 
+51d0 20407ead call load_cont_pointers 
+51d1 19627e00 copy timeup ,pdata 
+51d2 e0a10000 istore 2 ,contw 
+51d3 18007e00 force 0x0000 ,pdata 
+51d4 e0a10000 istore 2 ,contw 
+51d5 18007e00 force 0x0000 ,pdata 
+51d6 e0a10000 istore 2 ,contw 
+51d7 18007e0a force 10 ,pdata 
+51d8 9a40a400 iadd regb ,regb 
+51d9 1a20a3fa increase -6 ,rega 
+
+mloop1:
+51da 2022d1e0 branch mcrqdone ,zero 
+51db e8c08000 ifetch 1 ,contr 
+51dc e0a08000 istore 1 ,contw 
+51dd 1a40a401 increase 1 ,regb 
+51de 1a20a3ff increase -1 ,rega 
+51df 202051da branch mloop1 
+
+mcrqdone:
+51e0 20600000 rtn 
+
+ml2cap_proc_signal_disconn_req:
+51e1 e8c08000 ifetch 1 ,contr 
+51e2 1fe20e00 copy pdata ,queue 
+51e3 e8c10000 ifetch 2 ,contr 
+51e4 1fe22200 copy pdata ,rega 
+51e5 1a627e00 copy regc ,pdata 
+51e6 9a262600 isub rega ,regc 
+51e7 e8c10000 ifetch 2 ,contr 
+51e8 1fe22200 copy pdata ,rega 
+51e9 e8c10000 ifetch 2 ,contr 
+51ea 1fe21600 copy pdata ,timeup 
+51eb 20407ea8 call save_cont_pointers 
+51ec 47104024 bpatchx patch24_0 ,mem_patch24 
+51ed 58000050 setarg l2cap_sdp_channel 
+51ee 1a220400 copy rega ,temp 
+51ef 98467c00 isub temp ,null 
+51f0 2022d1fa branch ml2cap_proc_signal_disconn_sdp ,zero 
+51f1 58000052 setarg l2cap_hid_control_channel 
+51f2 1a220400 copy rega ,temp 
+51f3 98467c00 isub temp ,null 
+51f4 2022d1ff branch ml2cap_proc_signal_disconn_hid_ctrl ,zero 
+51f5 58000053 setarg l2cap_hid_interrupt_channel 
+51f6 1a220400 copy rega ,temp 
+51f7 98467c00 isub temp ,null 
+51f8 2022d201 branch ml2cap_proc_signal_disconn_hid_int ,zero 
+51f9 20205203 branch mclsrfc 
+
+ml2cap_proc_signal_disconn_sdp:
+51fa 58000000 setarg 0x0000 
+51fb 60010275 store 2 ,mem_sdp_tx_pkt_length 
+51fc 60014248 store 2 ,mem_sdp_remote_cid 
+51fd 6000c250 store 1 ,mem_sdp_state 
+51fe 20205205 branch mclssdp 
+
+ml2cap_proc_signal_disconn_hid_ctrl:
+51ff 20405079 call l2cap_reset_hid_ctrl_state 
+5200 20205205 branch mclssdp 
+
+ml2cap_proc_signal_disconn_hid_int:
+5201 2040507f call l2cap_reset_hid_int_state 
+5202 20205205 branch mclssdp 
+
+mclsrfc:
+5203 58000000 setarg 0x0000 
+5204 6001027b store 2 ,mem_rfcomm_tx_pkt_length 
+
+mclssdp:
+5205 20407ead call load_cont_pointers 
+5206 58000007 setarg signal_disconnect_rsp 
+5207 e0a08000 istore 1 ,contw 
+5208 18e27e00 copy queue ,pdata 
+5209 e0a08000 istore 1 ,contw 
+520a 58000004 setarg 0x0004 
+520b e0a10000 istore 2 ,contw 
+520c 1a227e00 copy rega ,pdata 
+520d e0a10000 istore 2 ,contw 
+520e 19627e00 copy timeup ,pdata 
+520f e0a10000 istore 2 ,contw 
+5210 18007e08 force 8 ,pdata 
+5211 9a40a400 iadd regb ,regb 
+5212 20600000 rtn 
+
+ml2cap_proc_signal_disconn_rsp:
+5213 e8c08000 ifetch 1 ,contr 
+5214 1fe20e00 copy pdata ,queue 
+5215 e8c10000 ifetch 2 ,contr 
+5216 1fe22200 copy pdata ,rega 
+5217 e8c10000 ifetch 2 ,contr 
+5218 1fe21600 copy pdata ,timeup 
+5219 e8c10000 ifetch 2 ,contr 
+521a 1fe20400 copy pdata ,temp 
+521b 20407ea8 call save_cont_pointers 
+521c 4710c024 bpatchx patch24_1 ,mem_patch24 
+521d 6800c255 fetch 1 ,mem_ml2cap_comm_id 
+521e a8e1fe00 icompare 0xff ,queue 
+521f 2420d22a nbranch mdisdone ,true 
+5220 58000050 setarg l2cap_sdp_channel 
+5221 98467c00 isub temp ,null 
+5222 2022d227 branch ml2cap_proc_signal_disconn_rsp_sdp ,zero 
+5223 58000051 setarg l2cap_rfcomm_channel 
+5224 98467c00 isub temp ,null 
+5225 2022d22a branch ml2cap_proc_signal_disconn_rsp_rfcomm ,zero 
+5226 2020522a branch mdisdone 
+
+ml2cap_proc_signal_disconn_rsp_sdp:
+5227 70424800 jam 0 ,mem_sdp_remote_cid 
+5228 70425000 jam 0 ,mem_sdp_state 
+5229 2020522a branch mdisdone 
+
+ml2cap_proc_signal_disconn_rsp_rfcomm:
+
+mdisdone:
+522a 20407ead call load_cont_pointers 
+522b 1a627e00 copy regc ,pdata 
+522c 9a262600 isub rega ,regc 
+522d 20600000 rtn 
+
+ml2cap_proc_send_reject:
+522e 58000001 setarg signal_cmd_reject 
+522f e0a08000 istore 1 ,contw 
+5230 e8c08000 ifetch 1 ,contr 
+5231 e0a08000 istore 1 ,contw 
+5232 58000002 setarg 0x0002 
+5233 e0a10000 istore 2 ,contw 
+5234 58000000 setarg 0x0000 
+5235 e0a10000 istore 2 ,contw 
+5236 58000006 setarg 0x0006 
+5237 9a40a400 iadd regb ,regb 
+5238 18002604 force 4 ,regc 
+5239 20600000 rtn 
+
+l2cap_get_req_id:
+523a 6800c255 fetch 1 ,mem_ml2cap_comm_id 
+523b 1fe0fe01 increase 1 ,pdata 
+523c c080523e bne 0 ,l2cap_get_req_id_ok 
+523d 1fe0fe01 increase 1 ,pdata 
+
+l2cap_get_req_id_ok:
+523e 6000c255 store 1 ,mem_ml2cap_comm_id 
+523f 20600000 rtn 
+
+l2cap_malloc:
+5240 47114024 bpatchx patch24_2 ,mem_patch24 
+5241 da400000 arg 0 ,regb 
+5242 2040526e call l2cap_malloc_is_fifo_full 
+5243 243a2a8c nbranch assert ,blank 
+5244 2040527e call l2cap_malloc_get_full_map 
+5245 da401800 arg mem_tx_buff0 ,regb 
+5246 d8e00000 arg 0 ,queue 
+
+l2cap_malloc_loop:
+5247 6808c256 fetcht 1 ,mem_used_map 
+5248 a84fffff qisolate1 temp 
+5249 2020d24f branch l2cap_malloc_next ,true 
+524a 204052a0 call l2cap_malloc_enough 
+524b 19667c00 sub timeup ,0 ,null 
+524c 2021524f branch l2cap_malloc_next ,positive 
+524d 20405288 call l2cap_malloc_into_fifo 
+524e 20205255 branch l2cap_malloc_rtn 
+
+l2cap_malloc_next:
+524f 1a40a480 increase 128 ,regb 
+5250 18e08e01 increase 1 ,queue 
+5251 58000008 setarg 8 
+5252 98e67c00 isub queue ,null 
+5253 20215247 branch l2cap_malloc_loop ,positive 
+5254 da400000 arg 0 ,regb 
+
+l2cap_malloc_rtn:
+5255 1a427e00 copy regb ,pdata 
+5256 203a2a8c branch assert ,blank 
+5257 20600000 rtn 
+
+l2cap_malloc_fifo_out:
+5258 4711c024 bpatchx patch24_3 ,mem_patch24 
+5259 20405277 call l2cap_malloc_fifo_get_first_ptr 
+525a 18c08c01 increase 1 ,contr 
+525b e8c10000 ifetch 2 ,contr 
+525c 20600000 rtn 
+
+l2cap_malloc_free:
+525d 47124024 bpatchx patch24_4 ,mem_patch24 
+525e 20405277 call l2cap_malloc_fifo_get_first_ptr 
+525f 18c20a00 copy contr ,contw 
+5260 18c20400 copy contr ,temp 
+5261 58000000 setarg 0 
+5262 e0a18000 istore 3 ,contw 
+5263 20600000 rtn 
+
+l2cap_malloc_discard:
+5264 4712c024 bpatchx patch24_5 ,mem_patch24 
+5265 20405274 call l2cap_malloc_is_fifo_empty 
+5266 203a2a8c branch assert ,blank 
+5267 6801c25d fetch 3 ,mem_tx_fifo2 
+5268 6001c260 store 3 ,mem_tx_fifo3 
+5269 6801c25a fetch 3 ,mem_tx_fifo1 
+526a 6001c25d store 3 ,mem_tx_fifo2 
+526b 6801c257 fetch 3 ,mem_tx_fifo0 
+526c 6001c25a store 3 ,mem_tx_fifo1 
+526d 20600000 rtn 
+
+l2cap_malloc_is_fifo_full:
+526e 47134024 bpatchx patch24_6 ,mem_patch24 
+526f 6801c257 fetch 3 ,mem_tx_fifo0 
+5270 20600000 rtn 
+
+l2cap_malloc_is_fifo_nearly_full:
+5271 4713c024 bpatchx patch24_7 ,mem_patch24 
+5272 6801c25a fetch 3 ,mem_tx_fifo1 
+5273 20600000 rtn 
+
+l2cap_malloc_is_fifo_empty:
+5274 47144025 bpatchx patch25_0 ,mem_patch25 
+5275 6801c260 fetch 3 ,mem_tx_fifo3 
+5276 20600000 rtn 
+
+l2cap_malloc_fifo_get_first_ptr:
+5277 20405274 call l2cap_malloc_is_fifo_empty 
+5278 203a2a8c branch assert ,blank 
+5279 d8c04257 arg mem_tx_fifo0 ,contr 
+
+l2cap_malloc_free_loop:
+527a e8c18000 ifetch 3 ,contr 
+527b 203a527a branch l2cap_malloc_free_loop ,blank 
+527c 18c08dfd increase -3 ,contr 
+527d 20600000 rtn 
+
+l2cap_malloc_get_full_map:
+527e 4714c025 bpatchx patch25_1 ,mem_patch25 
+527f df200004 arg 4 ,loopcnt 
+5280 d8c04257 arg mem_tx_fifo0_map ,contr 
+5281 d8400000 arg 0 ,temp 
+
+l2cap_malloc_get_full_map_loop:
+5282 e8c18000 ifetch 3 ,contr 
+5283 1fe17eff and pdata ,0xff ,pdata 
+5284 98418400 ior temp ,temp 
+5285 c2005282 loop l2cap_malloc_get_full_map_loop 
+5286 6008c256 storet 1 ,mem_used_map 
+5287 20600000 rtn 
+
+l2cap_malloc_into_fifo:
+5288 47154025 bpatchx patch25_2 ,mem_patch25 
+5289 2040526e call l2cap_malloc_is_fifo_full 
+528a 243a2a8c nbranch assert ,blank 
+528b 20405274 call l2cap_malloc_is_fifo_empty 
+528c 203a5295 branch l2cap_malloc_into_fifo_no_push ,blank 
+528d 6801c25a fetch 3 ,mem_tx_fifo1 
+528e 6001c257 store 3 ,mem_tx_fifo0 
+528f e8c18000 ifetch 3 ,contr 
+5290 e0a18000 istore 3 ,contw 
+5291 e8c18000 ifetch 3 ,contr 
+5292 e0a18000 istore 3 ,contw 
+5293 58000000 setarg 0 
+5294 e0a18000 istore 3 ,contw 
+
+l2cap_malloc_into_fifo_no_push:
+5295 d8400000 arg 0 ,temp 
+5296 19627e00 copy timeup ,pdata 
+5297 98e0fe00 iadd queue ,pdata 
+
+l2cap_malloc_into_fifo_loop:
+5298 f9200400 qset1 temp 
+5299 18e08e01 increase 1 ,queue 
+529a 98e67c00 isub queue ,null 
+529b 2422d298 nbranch l2cap_malloc_into_fifo_loop ,zero 
+529c 1a4d7e00 lshift8 regb ,pdata 
+529d 9841fe00 ior temp ,pdata 
+529e 6001c260 store 3 ,mem_tx_fifo3 
+529f 20600000 rtn 
+
+l2cap_malloc_enough:
+52a0 4715c025 bpatchx patch25_3 ,mem_patch25 
+52a1 2040527e call l2cap_malloc_get_full_map 
+52a2 18e22600 copy queue ,regc 
+52a3 d8400000 arg 0 ,temp 
+52a4 d9600000 arg 0 ,timeup 
+
+l2cap_malloc_enough_loop:
+52a5 18e27e00 copy queue ,pdata 
+52a6 c00452b0 beq 8 ,l2cap_malloc_enough_end 
+52a7 6800c256 fetch 1 ,mem_used_map 
+52a8 afefffff qisolate1 pdata 
+52a9 2020d2b0 branch l2cap_malloc_enough_end ,true 
+52aa 18408480 increase 128 ,temp 
+52ab 18e08e01 increase 1 ,queue 
+52ac 1a227e00 copy rega ,pdata 
+52ad 98467c00 isub temp ,null 
+52ae 2022d2b0 branch l2cap_malloc_enough_end ,zero 
+52af 202152a5 branch l2cap_malloc_enough_loop ,positive 
+
+l2cap_malloc_enough_end:
+52b0 18427e00 copy temp ,pdata 
+52b1 9a267c00 isub rega ,null 
+52b2 242152b6 nbranch l2cap_malloc_enough_rtn ,positive 
+52b3 18e27e00 copy queue ,pdata 
+52b4 1a620400 copy regc ,temp 
+52b5 98461600 isub temp ,timeup 
+
+l2cap_malloc_enough_rtn:
+52b6 1a620e00 copy regc ,queue 
+52b7 20600000 rtn 
+
+l2cap_malloc_signal_channel:
+52b8 47164025 bpatchx patch25_4 ,mem_patch25 
+52b9 da20007f arg l2cap_signal_malloc_size ,rega 
+52ba 20405240 call l2cap_malloc 
+52bb 6001026b store 2 ,mem_l2cap_signal_tx_buff_ptr 
+52bc 1fe0fe04 increase 4 ,pdata 
+52bd 6001026d store 2 ,mem_l2cap_signal_tx_payload_ptr 
+52be 58000000 setarg 0 
+52bf 6001026f store 2 ,mem_l2cap_signal_tx_length 
+52c0 20600000 rtn 
+
+l2cap_get_signal_tx_buff:
+52c1 6801026b fetch 2 ,mem_l2cap_signal_tx_buff_ptr 
+52c2 202052e2 branch l2cap_util_pdata_to_contw 
+
+l2cap_get_signal_tx_payload:
+52c3 6801026d fetch 2 ,mem_l2cap_signal_tx_payload_ptr 
+52c4 202052e2 branch l2cap_util_pdata_to_contw 
+
+l2cap_malloc_sdp_channel:
+52c5 4716c025 bpatchx patch25_5 ,mem_patch25 
+52c6 da2000fa arg sdp_malloc_size ,rega 
+52c7 20405240 call l2cap_malloc 
+52c8 60010271 store 2 ,mem_sdp_tx_buff_ptr 
+52c9 1fe0fe04 increase 4 ,pdata 
+52ca 60010273 store 2 ,mem_sdp_tx_payload_ptr 
+52cb 58000000 setarg 0 
+52cc 60010275 store 2 ,mem_sdp_tx_pkt_length 
+52cd 20600000 rtn 
+
+l2cap_get_sdp_tx_buff:
+52ce 68010271 fetch 2 ,mem_sdp_tx_buff_ptr 
+52cf 202052e2 branch l2cap_util_pdata_to_contw 
+
+l2cap_get_sdp_tx_payload:
+52d0 68010273 fetch 2 ,mem_sdp_tx_payload_ptr 
+52d1 202052e2 branch l2cap_util_pdata_to_contw 
+
+l2cap_malloc_rfcomm_channel:
+52d2 47174025 bpatchx patch25_6 ,mem_patch25 
+52d3 20407e7c call push_stack 
+52d4 70028401 jam rfcomm_malloc_fail ,mem_rfcomm_malloc_fail_flag 
+52d5 2040526e call l2cap_malloc_is_fifo_full 
+52d6 247a0000 nrtn blank 
+52d7 da20007f arg rfcomm_malloc_size ,rega 
+52d8 20405240 call l2cap_malloc 
+52d9 60010277 store 2 ,mem_rfcomm_tx_buff_ptr 
+52da 1fe0fe04 increase 4 ,pdata 
+52db 60010279 store 2 ,mem_rfcomm_tx_payload_ptr 
+52dc 58000000 setarg 0 
+52dd 6001027b store 2 ,mem_rfcomm_tx_pkt_length 
+52de 70028400 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+52df 20207e8c branch pop_stack 
+
+l2cap_get_rfcomm_tx_buff:
+52e0 68010277 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+52e1 202052e2 branch l2cap_util_pdata_to_contw 
+
+l2cap_util_pdata_to_contw:
+52e2 203a2a8c branch assert ,blank 
+52e3 1fe20a00 copy pdata ,contw 
+52e4 20600000 rtn 
+
+l2cap_lpm_save_calc_len:
+52e5 4717c025 bpatchx patch25_7 ,mem_patch25 
+52e6 da400000 arg 0 ,regb 
+52e7 da204257 arg mem_tx_fifo0_map ,rega 
+52e8 1a20a3fe increase -2 ,rega 
+
+l2cap_lpm_save_calc_len_loop:
+52e9 1a20a202 increase 2 ,rega 
+52ea 58004263 setarg mem_tx_fifo_end 
+52eb 9a267c00 isub rega ,null 
+52ec 2022d2f5 branch l2cap_lpm_save_calc_len_end ,zero 
+52ed ea208000 ifetch 1 ,rega 
+52ee 1a20a201 increase 1 ,rega 
+52ef 203a52e9 branch l2cap_lpm_save_calc_len_loop ,blank 
+52f0 ea290000 ifetcht 2 ,rega 
+52f1 e8410000 ifetch 2 ,temp 
+52f2 9a40a400 iadd regb ,regb 
+52f3 1a40a404 increase 4 ,regb 
+52f4 202052e9 branch l2cap_lpm_save_calc_len_loop 
+
+l2cap_lpm_save_calc_len_end:
+52f5 1a427e00 copy regb ,pdata 
+52f6 20600000 rtn 
+
+l2cap_lpm_get_wake_lock:
+52f7 d8e0000c arg wake_lock_l2cap_tx ,queue 
+52f8 20202c32 branch lpm_get_wake_lock 
+
+l2cap_lpm_put_wake_lock:
+52f9 d8e0000c arg wake_lock_l2cap_tx ,queue 
+52fa 20202c36 branch lpm_put_wake_lock 
+
+l2cap_lpm_save_txbuf:
+52fb 47184026 bpatchx patch26_0 ,mem_patch26 
+52fc 2040527e call l2cap_malloc_get_full_map 
+52fd 6800c256 fetch 1 ,mem_used_map 
+52fe 207a0000 rtn blank 
+52ff 204052e5 call l2cap_lpm_save_calc_len 
+5300 d8400100 arg l2cap_lpm_txbuf_len ,temp 
+5301 98467c00 isub temp ,null 
+5302 202152f7 branch l2cap_lpm_get_wake_lock ,positive 
+5303 204052f9 call l2cap_lpm_put_wake_lock 
+5304 d8a04263 arg mem_l2cap_lpm_txbuf ,contw 
+5305 da204257 arg mem_tx_fifo0 ,rega 
+
+l2cap_lpm_save_txbuf_loop:
+5306 58004263 setarg mem_tx_fifo_end 
+5307 9a267c00 isub rega ,null 
+5308 20628000 rtn zero 
+5309 ea208000 ifetch 1 ,rega 
+530a 1a20a201 increase 1 ,rega 
+530b 243a530f nbranch l2cap_lpm_save_txbuf_nempty ,blank 
+530c e0a10000 istore 2 ,contw 
+530d 1a20a202 increase 2 ,rega 
+530e 20205306 branch l2cap_lpm_save_txbuf_loop 
+
+l2cap_lpm_save_txbuf_nempty:
+530f ea210000 ifetch 2 ,rega 
+5310 1a20a202 increase 2 ,rega 
+5311 1fe20c00 copy pdata ,contr 
+5312 e8c10000 ifetch 2 ,contr 
+5313 e0a10000 istore 2 ,contw 
+5314 1fe27200 copy pdata ,loopcnt 
+5315 1f20f202 increase 2 ,loopcnt 
+5316 20407f01 call memcpy 
+5317 20205306 branch l2cap_lpm_save_txbuf_loop 
+
+l2cap_lpm_load_txbuf:
+5318 4718c026 bpatchx patch26_1 ,mem_patch26 
+5319 2040527e call l2cap_malloc_get_full_map 
+531a 6800c256 fetch 1 ,mem_used_map 
+531b 207a0000 rtn blank 
+531c da204258 arg mem_tx_fifo0_ptr ,rega 
+531d 1a20a3fd increase -3 ,rega 
+531e d8c04263 arg mem_l2cap_lpm_txbuf ,contr 
+
+l2cap_lpm_load_txbuf_loop:
+531f 1a20a203 increase 3 ,rega 
+5320 58004264 setarg mem_tx_fifo_end + 1 
+5321 9a267c00 isub rega ,null 
+5322 20628000 rtn zero 
+5323 e8c10000 ifetch 2 ,contr 
+5324 203a531f branch l2cap_lpm_load_txbuf_loop ,blank 
+5325 1fe0fe04 increase 4 ,pdata 
+5326 1fe27200 copy pdata ,loopcnt 
+5327 18c22400 copy contr ,regb 
+5328 ea210000 ifetch 2 ,rega 
+5329 1fe20a00 copy pdata ,contw 
+532a 1a420c00 copy regb ,contr 
+532b 18c08dfe increase -2 ,contr 
+532c 20407f01 call memcpy 
+532d 2020531f branch l2cap_lpm_load_txbuf_loop 
+
+le_init_conn:
+532e 47194026 bpatchx patch26_2 ,mem_patch26 
+532f 7855fc00 disable wake 
+5330 70045501 jam 1 ,mem_le_conn_handle 
+5331 70043f03 jam 3 ,mem_le_state 
+5332 70045601 jam 1 ,mem_le_arq 
+5333 5fffffff setarg -1 
+5334 60010459 store 2 ,mem_le_event_count 
+5335 18007e00 force 0 ,pdata 
+5336 60008457 store 1 ,mem_le_ch 
+5337 60008462 store 1 ,mem_le_op 
+5338 6001c169 store 3 ,mem_sniff_rcv 
+5339 6001c16c store 3 ,mem_sniff_lost 
+533a 6002c403 store 5 ,mem_le_pcnt_tx 
+533b 79207e27 set1 39 ,pdata 
+533c 6002c408 store 5 ,mem_le_pcnt_rx 
+533d 7043dc01 jam 1 ,mem_le_txheader 
+533e 7043dd00 jam 0 ,mem_le_txlen 
+533f 202056ed branch le_supervision_flush 
+
+le_init_master:
+5340 4719c026 bpatchx patch26_3 ,mem_patch26 
+5341 7834fc00 enable master 
+5342 70044003 jam lemode_master ,mem_le_mode 
+5343 70047801 jam 1 ,mem_le_att_handle 
+5344 70445a01 jam 1 ,mem_le_search_handle_start 
+5345 5800ffff setarg 0xffff 
+5346 6001445c store 2 ,mem_le_search_handle_end 
+5347 18007e00 force 0 ,pdata 
+5348 6002c408 store 5 ,mem_le_pcnt_rx 
+5349 79207e27 set1 39 ,pdata 
+534a 6002c403 store 5 ,mem_le_pcnt_tx 
+534b 2020532e branch le_init_conn 
+
+le_init_slave:
+534c 471a4026 bpatchx patch26_4 ,mem_patch26 
+534d 7854fc00 disable master 
+534e 58000017 setarg 0x17 
+534f 600144a8 store 2 ,mem_le_remote_mtu 
+5350 70044001 jam lemode_slave ,mem_le_mode 
+5351 70436e00 jam 0 ,mem_le_adv_enable 
+5352 7000a000 jam 0 ,mem_lpm_current_mult 
+5353 7044c400 jam flag_le_pairing_null ,mem_le_pairing_state 
+5354 7044c500 jam flag_le_enc_null ,mem_le_enc_state 
+5355 6801046d fetch 2 ,mem_le_superto 
+5356 600144ba store 2 ,mem_le_init_superto 
+5357 68010441 fetch 2 ,mem_le_tsniff 
+5358 1feffe05 mul32 pdata ,5 ,pdata 
+5359 1ff1fe00 rshift4 pdata ,pdata 
+535a 6001046d store 2 ,mem_le_superto 
+535b 2020532e branch le_init_conn 
+
+le_dispatch:
+535c 204053c4 call le_enable 
+535d 204055e8 call le_scan 
+535e 204056f0 call le_adv 
+535f 202053ce branch le_disable 
+
+le_conn_dispatch:
+5360 471ac026 bpatchx patch26_5 ,mem_patch26 
+5361 204053c4 call le_enable 
+5362 204032f4 call app_process_ble 
+5363 68008440 fetch 1 ,mem_le_mode 
+5364 c001d366 beq lemode_master ,le_master_dispatch 
+5365 2020537a branch le_slave_dispatch 
+
+le_master_dispatch:
+5366 471b4026 bpatchx patch26_6 ,mem_patch26 
+5367 7834fc00 enable master 
+5368 204056e4 call le_supervision_update 
+5369 20215377 branch le_master_disconn ,positive 
+536a 20402c6c call check_ble_disabled 
+536b 20405413 call le_setup 
+536c 2040561e call le_prepare_tx 
+536d 7856fc00 disable match 
+536e 204054bf call le_transmit_receive_sifs 
+536f 24768000 nrtn match 
+5370 471bc026 bpatchx patch26_7 ,mem_patch26 
+5371 68008005 fetch 1 ,mem_le_conn_rcv 
+5372 1fe0fe01 increase 1 ,pdata 
+5373 60008005 store 1 ,mem_le_conn_rcv 
+5374 204055aa call le_acknowledge 
+5375 7854fc00 disable master 
+5376 20600000 rtn 
+
+le_master_disconn:
+5377 204053a9 call le_disconnect 
+5378 7854fc00 disable master 
+5379 20600000 rtn 
+
+le_slave_dispatch:
+537a 471c4027 bpatchx patch27_0 ,mem_patch27 
+537b 70450f00 jam 0 ,mem_le_md_count 
+537c 20407aaf call sp_calc_sequence_256 
+537d 20405c18 call le_secure_connect_sm 
+537e 78577c00 disable attempt 
+537f 204056e4 call le_supervision_update 
+5380 202153a9 branch le_slave_disconn ,positive 
+5381 20402c6c call check_ble_disabled 
+5382 20405413 call le_setup 
+5383 20405489 call le_receive_slave 
+5384 242c539b nbranch le_slave_unsync ,sync 
+5385 204053b7 call le_got_first_packet 
+5386 2036d388 branch le_slave_match ,match 
+5387 20205395 branch le_slave_cont 
+
+le_slave_match:
+5388 471cc027 bpatchx patch27_1 ,mem_patch27 
+5389 6800c50f fetch 1 ,mem_le_md_count 
+538a 1fe0fe01 pincrease 1 
+538b 6000c50f store 1 ,mem_le_md_count 
+538c c0065395 beq le_md_max_count ,le_slave_cont 
+538d 204055aa call le_acknowledge 
+538e 2040561e call le_prepare_tx 
+538f 204054c7 call le_transmit_norx 
+5390 2040567e call le_parse 
+5391 680141fb fetch 2 ,mem_cb_ble_transmit 
+5392 20407f9c call callback_func 
+5393 204053a0 call le_check_md 
+5394 203453a4 branch le_slave_more_data ,user 
+
+le_slave_cont:
+5395 471d4027 bpatchx patch27_2 ,mem_patch27 
+5396 20405be4 call le_pairing_sm 
+5397 20405bdb call le_check_paring_time 
+5398 20407d9c call check_51cmd 
+5399 68008462 fetch 1 ,mem_le_op 
+539a c281d3a9 bbit1 op_disconn ,le_slave_disconn 
+
+le_slave_unsync:
+539b 471dc027 bpatchx patch27_3 ,mem_patch27 
+539c 204057f4 call le_lpm_set_mult 
+539d 2040559d call le_update_channel_map 
+539e 20405575 call le_update_param 
+539f 20202841 branch calc_clke_offset 
+
+le_check_md:
+53a0 78547c00 disable user 
+53a1 c5157fe7 bmark1 mark_ble_rx_md ,enable_user 
+53a2 c514ffe7 bmark1 mark_ble_tx_md ,enable_user 
+53a3 20600000 rtn 
+
+le_slave_more_data:
+53a4 471e4027 bpatchx patch27_4 ,mem_patch27 
+53a5 78377c00 enable attempt 
+53a6 204054c1 call le_transmit_receive_sifs_notx 
+53a7 2036d388 branch le_slave_match ,match 
+53a8 20205395 branch le_slave_cont 
+
+le_slave_disconn:
+
+le_disconnect:
+53a9 471ec027 bpatchx patch27_5 ,mem_patch27 
+53aa 204053af call le_clear_connection_info 
+53ab 204033b4 call app_disconn_reason_collect_ble 
+53ac 20407a77 call sp_initialize_256 
+53ad 700a9915 jam bt_evt_le_disconnected ,mem_fifo_temp 
+53ae 20207d86 branch ui_ipc_send_event 
+
+le_clear_connection_info:
+53af 58000000 setarg 0 
+53b0 6004c4ff store 9 ,mem_le_tx_buff_used 
+53b1 70045500 jam 0 ,mem_le_conn_handle 
+53b2 70044000 jam lemode_idle ,mem_le_mode 
+53b3 70043f00 jam 0 ,mem_le_state 
+53b4 7044c500 jam flag_le_enc_null ,mem_le_enc_state 
+53b5 7044c400 jam flag_le_pairing_null ,mem_le_pairing_state 
+53b6 20600000 rtn 
+
+le_got_first_packet:
+53b7 471f4027 bpatchx patch27_6 ,mem_patch27 
+53b8 68008005 fetch 1 ,mem_le_conn_rcv 
+53b9 1fe0fe01 increase 1 ,pdata 
+53ba 60008005 store 1 ,mem_le_conn_rcv 
+53bb 6800843f fetch 1 ,mem_le_state 
+53bc c3818000 rtnbit1 lestate_got_first_packet 
+53bd 79207e03 set1 lestate_got_first_packet 
+53be 6000843f store 1 ,mem_le_state 
+53bf 680144ba fetch 2 ,mem_le_init_superto 
+53c0 6001046d store 2 ,mem_le_superto 
+53c1 58000000 setarg 0 
+53c2 600244e5 store 4 ,mem_le_transmit_window 
+53c3 20600000 rtn 
+
+le_enable:
+53c4 471fc027 bpatchx patch27_7 ,mem_patch27 
+53c5 70890f36 jam 0x36 ,rf_adc_goff 
+53c6 70890b5f jam 0x5f ,rf_agc_nsat 
+53c7 783b7c00 enable le 
+53c8 70891407 jam 7 ,rfen_ulp 
+53c9 20402c6c call check_ble_disabled 
+53ca 6800c1e0 fetch 1 ,mem_250k_freq_enable 
+53cb 207a0000 rtn blank 
+53cc 70890ab8 jam 0xb8 ,rf_iq_gain 
+53cd 20600000 rtn 
+
+le_disable:
+53ce 47204028 bpatchx patch28_0 ,mem_patch28 
+53cf 70890f2e jam 0x2e ,rf_adc_goff 
+53d0 70890bff jam 0xff ,rf_agc_nsat 
+53d1 785b7c00 disable le 
+53d2 70891403 jam 3 ,rfen_ulp 
+53d3 db600000 arg 0 ,stop_watch 
+53d4 20600000 rtn 
+
+le_prep:
+53d5 7844fc00 disable enable_crc 
+53d6 7843fc00 disable enable_white 
+53d7 68018467 fetch 3 ,mem_le_crcinit 
+53d8 98001e00 iforce crc24_init 
+53d9 68008016 fetch 1 ,mem_le_ch_mapped 
+53da 1fed8400 reverse pdata ,temp 
+53db 79200401 set1 1 ,temp 
+53dc 18431c00 rshift temp ,white_init 
+53dd 20600000 rtn 
+
+lerx_setfreq:
+53de 204053e6 call le_setfreq 
+53df 2040291f call set_freq_rx 
+53e0 58000500 setarg param_pll_setup 
+53e1 20402a8f call sleep 
+53e2 20202924 branch rf_rx_enable 
+
+letx_setfreq:
+53e3 2036a939 branch txon ,match 
+
+letx_setfreq0:
+53e4 204053e6 call le_setfreq 
+53e5 20202933 branch set_freq_tx 
+
+le_setfreq:
+53e6 4720c028 bpatchx patch28_1 ,mem_patch28 
+53e7 20402918 call set_sync_on 
+53e8 6800848c fetch 1 ,mem_le_testtype 
+53e9 243a53f9 nbranch le_ctf_test ,blank 
+53ea 68008016 fetch 1 ,mem_le_ch_mapped 
+53eb 1fe67c24 sub pdata ,36 ,null 
+53ec 202153f3 branch le_ctf_normal ,positive 
+53ed 18000400 force 0 ,temp 
+53ee c1128000 rtneq 37 
+53ef 18000418 force 24 ,temp 
+53f0 c1130000 rtneq 38 
+53f1 1800044e force 78 ,temp 
+53f2 20600000 rtn 
+
+le_ctf_normal:
+53f3 1fe67c0a sub pdata ,10 ,null 
+53f4 202153f6 branch le_ctf_low ,positive 
+53f5 1fe0fe01 increase 1 ,pdata 
+
+le_ctf_low:
+53f6 1fe3fe00 lshift pdata ,pdata 
+53f7 1fe08402 add pdata ,2 ,temp 
+53f8 20600000 rtn 
+
+le_ctf_test:
+53f9 68008016 fetch 1 ,mem_le_ch_mapped 
+53fa 1fe38400 lshift pdata ,temp 
+53fb 20600000 rtn 
+
+le_sca_map:
+53fc d84001f4 arg 500 ,temp 
+53fd 207a0000 rtn blank 
+53fe d84000fa arg 250 ,temp 
+53ff c1008000 rtneq 1 
+5400 d8400096 arg 150 ,temp 
+5401 c1010000 rtneq 2 
+5402 d8400064 arg 100 ,temp 
+5403 c1018000 rtneq 3 
+5404 d840004b arg 75 ,temp 
+5405 c1020000 rtneq 4 
+5406 d8400032 arg 50 ,temp 
+5407 c1028000 rtneq 5 
+5408 d8400028 arg 40 ,temp 
+5409 c1030000 rtneq 6 
+540a d8400014 arg 20 ,temp 
+540b 20600000 rtn 
+
+le_adv_access:
+540c 588e89be setarg 0x8e89be 
+540d 1fed7e00 lshift8 pdata ,pdata 
+540e 1fe1fed6 or_into 0xd6 ,pdata 
+540f 98001200 iforce access 
+5410 58555555 setarg 0x555555 
+5411 60018467 store 3 ,mem_le_crcinit 
+5412 20600000 rtn 
+
+le_setup:
+5413 47214028 bpatchx patch28_2 ,mem_patch28 
+5414 78287c00 enable swfine 
+5415 68020463 fetch 4 ,mem_le_access 
+5416 98001200 iforce access 
+5417 20405466 call le_map_channel 
+5418 58000200 setarg 0x200 
+5419 2034d41c branch le_setup_master ,master 
+541a 6801044d fetch 2 ,mem_le_receive_window 
+541b 1fe37e00 rshift pdata ,pdata 
+
+le_setup_master:
+541c d8400500 arg param_pll_setup ,temp 
+541d 9840fe00 iadd temp ,pdata 
+541e 20402a24 call ahead_window 
+541f 1b427e00 deposit clke 
+5420 60030491 store 6 ,mem_le_rxon_ts 
+5421 20600000 rtn 
+
+le_next_adv_channel:
+5422 4721c028 bpatchx patch28_3 ,mem_patch28 
+5423 68008016 fetch 1 ,mem_le_ch_mapped 
+5424 c012d428 beq 37 ,le_next_adv_channel_curr_channel_37 
+5425 c013542e beq 38 ,le_next_adv_channel_curr_channel_38 
+5426 c013d434 beq 39 ,le_next_adv_channel_curr_channel_39 
+5427 20205434 branch le_next_adv_channel_curr_channel_39 
+
+le_next_adv_channel_curr_channel_37:
+5428 6808c48d fetcht 1 ,mem_le_adv_channel_map 
+5429 284ffe01 isolate1 bit_adv_channel_map_38 ,temp 
+542a 2020d43f branch set_le_next_adv_channel_38 ,true 
+542b 284ffe02 isolate1 bit_adv_channel_map_39 ,temp 
+542c 2020d444 branch set_le_next_adv_channel_39 ,true 
+542d 2020543a branch set_le_next_adv_channel_37 
+
+le_next_adv_channel_curr_channel_38:
+542e 6808c48d fetcht 1 ,mem_le_adv_channel_map 
+542f 284ffe02 isolate1 bit_adv_channel_map_39 ,temp 
+5430 2020d444 branch set_le_next_adv_channel_39 ,true 
+5431 284ffe00 isolate1 bit_adv_channel_map_37 ,temp 
+5432 2020d43a branch set_le_next_adv_channel_37 ,true 
+5433 2020543f branch set_le_next_adv_channel_38 
+
+le_next_adv_channel_curr_channel_39:
+5434 6808c48d fetcht 1 ,mem_le_adv_channel_map 
+5435 284ffe00 isolate1 bit_adv_channel_map_37 ,temp 
+5436 2020d43a branch set_le_next_adv_channel_37 ,true 
+5437 284ffe01 isolate1 bit_adv_channel_map_38 ,temp 
+5438 2020d43f branch set_le_next_adv_channel_38 ,true 
+5439 20205444 branch set_le_next_adv_channel_39 
+
+set_le_next_adv_channel_37:
+543a 70001625 jam 37 ,mem_le_ch_mapped 
+543b 68008ac2 fetch 1 ,mem_le_adv_channel_map_temp 
+543c 79207e00 set1 bit_adv_channel_map_37 ,pdata 
+543d 60008ac2 store 1 ,mem_le_adv_channel_map_temp 
+543e 20600000 rtn 
+
+set_le_next_adv_channel_38:
+543f 70001626 jam 38 ,mem_le_ch_mapped 
+5440 68008ac2 fetch 1 ,mem_le_adv_channel_map_temp 
+5441 79207e01 set1 bit_adv_channel_map_38 ,pdata 
+5442 60008ac2 store 1 ,mem_le_adv_channel_map_temp 
+5443 20600000 rtn 
+
+set_le_next_adv_channel_39:
+5444 70001627 jam 39 ,mem_le_ch_mapped 
+5445 68008ac2 fetch 1 ,mem_le_adv_channel_map_temp 
+5446 79207e02 set1 bit_adv_channel_map_39 ,pdata 
+5447 60008ac2 store 1 ,mem_le_adv_channel_map_temp 
+5448 20600000 rtn 
+
+le_context_nexthop:
+5449 47224028 bpatchx patch28_4 ,mem_patch28 
+544a 1a208c01 add rega ,coffset_mode ,contr 
+544b e8c08000 ifetch 1 ,contr 
+544c c4000000 rtnbit0 mode_le 
+544d 1a208a1a add rega ,coffset_le_event_cnt ,contw 
+544e e8a10000 ifetch 2 ,contw 
+544f 1fe0fe01 increase 1 ,pdata 
+5450 e0a10000 istore 2 ,contw 
+5451 1a208c19 add rega ,coffset_le_hop ,contr 
+5452 e8c08000 ifetch 1 ,contr 
+5453 1a208a18 add rega ,coffset_le_ch ,contw 
+5454 e8a88000 ifetcht 1 ,contw 
+5455 9840fe00 iadd temp ,pdata 
+5456 1fe67c24 sub pdata ,36 ,null 
+5457 20215459 branch le_nexthop_nowrap ,positive 
+5458 1fe0ffdb increase -37 ,pdata 
+
+le_nexthop_nowrap:
+5459 e0a08000 istore 1 ,contw 
+545a 20600000 rtn 
+
+le_calc_channel_map:
+545b 4722c028 bpatchx patch28_5 ,mem_patch28 
+545c 6802846f fetch 5 ,mem_le_channel_map 
+545d 18000400 force 0 ,temp 
+545e 18007225 force 37 ,loopcnt 
+
+le_count_channels_loop:
+545f c3005461 bbit0 0 ,le_count_channels_notused 
+5460 18408401 increase 1 ,temp 
+
+le_count_channels_notused:
+5461 1fe37e00 rshift pdata ,pdata 
+5462 c200545f loop le_count_channels_loop 
+5463 1840ffff add temp ,-1 ,pdata 
+5464 60008461 store 1 ,mem_le_channels 
+5465 20600000 rtn 
+
+le_map_channel:
+5466 47234028 bpatchx patch28_6 ,mem_patch28 
+5467 68008457 fetch 1 ,mem_le_ch 
+5468 98000e00 iforce queue 
+5469 680a846f fetcht 5 ,mem_le_channel_map 
+546a a84fffff qisolate1 temp 
+546b 2020d47c branch le_map_channel_end ,true 
+
+le_map_channel_next:
+546c 4723c028 bpatchx patch28_7 ,mem_patch28 
+546d 68008461 fetch 1 ,mem_le_channels 
+546e 98e67e00 isub queue ,pdata 
+546f 20215472 branch le_map_channel_cont ,positive 
+5470 1fe60fff sub pdata ,-1 ,queue 
+5471 2020546c branch le_map_channel_next 
+
+le_map_channel_cont:
+5472 18e27200 copy queue ,loopcnt 
+5473 18000e00 force 0 ,queue 
+
+le_map_channel_loop:
+5474 a84fffff qisolate1 temp 
+5475 2020d477 branch le_map_channel_skip ,true 
+5476 1f20f201 increase 1 ,loopcnt 
+
+le_map_channel_skip:
+5477 1f227e00 deposit loopcnt 
+5478 203a547c branch le_map_channel_end ,blank 
+5479 18e08e01 increase 1 ,queue 
+547a 1f20f3ff increase -1 ,loopcnt 
+547b 20205474 branch le_map_channel_loop 
+
+le_map_channel_end:
+547c 18e27e00 deposit queue 
+547d 60008016 store 1 ,mem_le_ch_mapped 
+547e 20600000 rtn 
+
+le_wait_tx:
+547f 2034d482 branch le_wait_master ,master 
+5480 37c18200 until null ,timeout 
+5481 20600000 rtn 
+
+le_wait_master:
+5482 d9600ea0 arg 0xea0 ,timeup 
+5483 34730200 until clkn_rt ,meet 
+5484 20600000 rtn 
+
+le_receive_adv:
+5485 78487c00 disable swfine 
+5486 6801436c fetch 2 ,mem_le_scan_window 
+5487 1fe21600 copy pdata ,timeup 
+5488 2020548e branch le_receive_packet 
+
+le_receive_slave:
+5489 47244029 bpatchx patch29_0 ,mem_patch29 
+548a 78287c00 enable swfine 
+548b 6801044d fetch 2 ,mem_le_receive_window 
+548c 680a44e5 fetcht 4 ,mem_le_transmit_window 
+548d 98409600 iadd temp ,timeup 
+
+le_receive_packet:
+548e 204053de call lerx_setfreq 
+
+le_receive_rxon:
+548f 4724c029 bpatchx patch29_1 ,mem_patch29 
+5490 204053d5 call le_prep 
+5491 7856fc00 disable match 
+5492 7826fc00 enable decode_fec0 
+5493 7830fc00 enable is_rx 
+5494 78507c00 disable is_tx 
+5495 19623600 copy timeup ,stop_watch 
+5496 37c18400 correlate null ,timeout 
+5497 2037549a branch le_receive_on_attempt ,attempt 
+5498 1b420400 copy clke ,temp 
+5499 600b009a storet 6 ,mem_sync_clke 
+
+le_receive_on_attempt:
+549a 242c264d nbranch end_of_packet ,sync 
+549b 203754a1 branch le_receive_skip ,attempt 
+549c dd2001e0 arg param_clke_cal_le ,clke_rt 
+549d 1c225000 copy bt_clk ,clke_bt 
+549e 6800843f fetch 1 ,mem_le_state 
+549f c301d4a1 bbit0 lestate_got_first_packet ,le_receive_skip 
+54a0 2055ab05 call lpm_adjust_clk ,wake 
+
+le_receive_skip:
+54a1 47254029 bpatchx patch29_2 ,mem_patch29 
+54a2 204029bb call save_rssi 
+54a3 7823fc00 enable enable_white 
+54a4 7824fc00 enable enable_crc 
+54a5 09800008 parse demod ,bucket ,8 
+54a6 19897e00 rshift3 pwindow ,pdata 
+54a7 600082d9 store 1 ,mem_le_rxbuf 
+54a8 09800008 parse demod ,bucket ,8 
+54a9 19897e00 rshift3 pwindow ,pdata 
+54aa e0a08000 istore 1 ,contw 
+54ab 1fe1723f and pdata ,0x3f ,loopcnt 
+54ac 2022d4b1 branch lerx_nopayload ,zero 
+
+lerx_loop:
+54ad 09800008 parse demod ,bucket ,8 
+54ae 19897e00 rshift3 pwindow ,pdata 
+54af e0a08000 istore 1 ,contw 
+54b0 c20054ad loop lerx_loop 
+
+lerx_nopayload:
+54b1 4725c029 bpatchx patch29_3 ,mem_patch29 
+54b2 09800018 parse demod ,bucket ,24 
+54b3 78287c00 enable swfine 
+54b4 db600664 arg param_sifs ,stop_watch 
+54b5 1fef7e00 rshift32 pdata ,pdata 
+54b6 1ff17e00 rshift16 pdata ,pdata 
+54b7 e0a18000 istore 3 ,contw 
+54b8 2023264d branch end_of_packet ,crc_failed 
+54b9 7836fc00 enable match 
+54ba 68008017 fetch 1 ,mem_last_freq 
+54bb 1fe0a200 add pdata ,0 ,rega 
+54bc 20402981 call rf_write_freq 
+54bd 7846fc00 disable decode_fec0 
+54be 20202918 branch set_sync_on 
+
+le_transmit_receive_sifs:
+54bf 47264029 bpatchx patch29_4 ,mem_patch29 
+54c0 204054c9 call le_transmit 
+
+le_transmit_receive_sifs_notx:
+54c1 68088017 fetcht 1 ,mem_last_freq 
+54c2 2040291f call set_freq_rx 
+54c3 20402924 call rf_rx_enable 
+54c4 78287c00 enable swfine 
+54c5 d960157c arg 5500 ,timeup 
+54c6 2020548f branch le_receive_rxon 
+
+le_transmit_norx:
+54c7 204054c9 call le_transmit 
+54c8 2020264d branch end_of_packet 
+
+le_transmit:
+54c9 4726c029 bpatchx patch29_5 ,mem_patch29 
+54ca 204053d5 call le_prep 
+54cb 204053e3 call letx_setfreq 
+54cc 202054cd branch le_transmit0 
+
+le_transmit0:
+54cd 79202a00 set1 txgfsk ,radio_ctrl 
+54ce 782efc00 enable encode_fec0 
+54cf 78307c00 enable is_tx 
+54d0 7850fc00 disable is_rx 
+54d1 2040547f call le_wait_tx 
+54d2 19317e00 rshift16 access ,pdata 
+54d3 1fecfe00 rshift8 pdata ,pdata 
+54d4 1ff1fe00 rshift4 pdata ,pdata 
+54d5 08008628 inject mod ,40 
+54d6 7823fc00 enable enable_white 
+54d7 7824fc00 enable enable_crc 
+54d8 47274029 bpatchx patch29_6 ,mem_patch29 
+54d9 6800c3dc fetch 1 ,mem_le_txheader 
+54da 08008608 inject mod ,8 
+54db e8c08000 ifetch 1 ,contr 
+54dc 1fe1723f and pdata ,0x3f ,loopcnt 
+54dd 08008608 inject mod ,8 
+54de 2022d4e2 branch letr_nopayload ,zero 
+
+letr_loop:
+54df e8c08000 ifetch 1 ,contr 
+54e0 08008608 inject mod ,8 
+54e1 c20054df loop letr_loop 
+
+letr_nopayload:
+54e2 78247c00 enable enable_parity 
+54e3 08008618 inject mod ,24 
+54e4 78447c00 disable enable_parity 
+54e5 37d38200 until null ,tx_clear 
+54e6 20000064 nop 100 
+54e7 784efc00 disable encode_fec0 
+54e8 20600000 rtn 
+
+le_send_adv_ind:
+54e9 4727c029 bpatchx patch29_7 ,mem_patch29 
+54ea 6800c484 fetch 1 ,mem_le_adv_type 
+54eb c000d4f9 beq adv_direct_ind ,le_send_adv_direct_ind 
+54ec 6800c485 fetch 1 ,mem_le_adv_own_addr_type 
+54ed 1ff27e00 lshift4 pdata ,pdata 
+54ee 1febfe00 lshift2 pdata ,pdata 
+54ef 6000c3dc store 1 ,mem_le_txheader 
+54f0 6808c36f fetcht 1 ,mem_le_adv_data_len 
+54f1 1840fe06 add temp ,6 ,pdata 
+54f2 6000c3dd store 1 ,mem_le_txlen 
+54f3 680344a0 fetch 6 ,mem_le_lap 
+54f4 600343de store 6 ,mem_le_txpayload 
+54f5 18427200 copy temp ,loopcnt 
+54f6 d8c04370 arg mem_le_adv_data ,contr 
+54f7 20407ef4 call memcpy_fast 
+54f8 20205504 branch le_send_adv_transmit 
+
+le_send_adv_direct_ind:
+54f9 6800c486 fetch 1 ,mem_le_adv_direct_addr_type 
+54fa 1ff27e00 lshift4 pdata ,pdata 
+54fb 1febfe00 lshift2 pdata ,pdata 
+54fc 1fe0fe01 increase 1 ,pdata 
+54fd 6000c3dc store 1 ,mem_le_txheader 
+54fe 5800000c setarg 12 
+54ff 6000c3dd store 1 ,mem_le_txlen 
+5500 680344a0 fetch 6 ,mem_le_lap 
+5501 600343de store 6 ,mem_le_txpayload 
+5502 680341d0 fetch 6 ,mem_hci_plap 
+5503 e0a30000 istore 6 ,contw 
+
+le_send_adv_transmit:
+5504 4728402a bpatchx patch2a_0 ,mem_patch2a 
+5505 68008000 fetch 1 ,mem_le_adv_transmit 
+5506 1fe0fe01 increase 1 ,pdata 
+5507 60008000 store 1 ,mem_le_adv_transmit 
+5508 db600708 arg 1800 ,stop_watch 
+5509 7856fc00 disable match 
+550a 202054bf branch le_transmit_receive_sifs 
+
+le_send_scan_request:
+550b 4728c02a bpatchx patch2a_1 ,mem_patch2a 
+550c 6800c49e fetch 1 ,mem_le_scan_type 
+550d c1808000 rtnne le_scan_type_active 
+550e 68008000 fetch 1 ,mem_le_adv_transmit 
+550f 1fe0fe01 increase 1 ,pdata 
+5510 60008000 store 1 ,mem_le_adv_transmit 
+5511 d8400c03 arg 0x0c03 ,temp 
+5512 6800c49f fetch 1 ,mem_le_scan_own_addr_type 
+5513 7d3a0406 nsetflag blank ,le_sender_addr_bit ,temp 
+5514 1a227e00 copy rega ,pdata 
+5515 7d3a0407 nsetflag blank ,le_receiver_addr_bit ,temp 
+5516 600943dc storet 2 ,mem_le_txheader 
+5517 680344a0 fetch 6 ,mem_le_lap 
+5518 e0a30000 istore 6 ,contw 
+5519 6803044f fetch 6 ,mem_le_plap 
+551a e0a30000 istore 6 ,contw 
+551b 202054bf branch le_transmit_receive_sifs 
+
+le_send_scan_response:
+551c 4729402a bpatchx patch2a_2 ,mem_patch2a 
+551d d8400004 arg scan_rsp ,temp 
+551e 6800c485 fetch 1 ,mem_le_adv_own_addr_type 
+551f 7d3a0406 nsetflag blank ,le_sender_addr_bit ,temp 
+5520 6008c3dc storet 1 ,mem_le_txheader 
+5521 6808c38f fetcht 1 ,mem_le_scan_data_len 
+5522 1840fe06 add temp ,6 ,pdata 
+5523 6000c3dd store 1 ,mem_le_txlen 
+5524 680344a0 fetch 6 ,mem_le_lap 
+5525 600343de store 6 ,mem_le_txpayload 
+5526 d8c04390 arg mem_le_scan_data ,contr 
+5527 18427200 copy temp ,loopcnt 
+5528 20407ef4 call memcpy_fast 
+5529 204054c7 call le_transmit_norx 
+552a 20205706 branch le_adv_not_match 
+
+le_connect_request:
+552b 4729c02a bpatchx patch2a_3 ,mem_patch2a 
+552c 18007fff force -1 ,pdata 
+552d 38080001 setsect 2 ,1 
+552e 6002846f store 5 ,mem_le_channel_map 
+552f 2040545b call le_calc_channel_map 
+5530 18007204 force 4 ,loopcnt 
+5531 d8a00463 arg mem_le_access ,contw 
+5532 2040630d call generate_random_loop 
+5533 6801449c fetch 2 ,mem_le_timeout 
+5534 6001046d store 2 ,mem_le_superto 
+
+le_con_req_hop_retry:
+5535 180a7e00 random pdata 
+5536 1fe17e0f and_into 0xf ,pdata 
+5537 1fe67c04 sub pdata ,4 ,null 
+5538 20215535 branch le_con_req_hop_retry ,positive 
+5539 60008458 store 1 ,mem_le_hop 
+553a 600086e6 store 1 ,mem_tmp1 
+553b 472a402a bpatchx patch2a_4 ,mem_patch2a 
+553c 68094367 fetcht 2 ,mem_le_conn_interval 
+553d 60090441 storet 2 ,mem_le_tsniff 
+553e 18422600 copy temp ,regc 
+553f 1c40fe07 add clkn_bt ,7 ,pdata 
+5540 9a66fc00 idiv regc 
+5541 20407f86 call wait_div_end 
+5542 18072200 remainder rega 
+5543 9a267e00 isub rega ,pdata 
+5544 9a60fe00 iadd regc ,pdata 
+5545 68094365 fetcht 2 ,mem_le_dsniff 
+5546 9840fe00 iadd temp ,pdata 
+5547 60020443 store 4 ,mem_le_anchor 
+5548 9c462200 isub clkn_bt ,rega 
+5549 1a20a3fa increase -6 ,rega 
+554a da402205 arg 0x2205 ,regb 
+554b 6800c495 fetch 1 ,mem_le_conn_own_addr_type 
+554c 7d3a2406 nsetflag blank ,le_sender_addr_bit ,regb 
+554d 6800c48e fetch 1 ,mem_le_conn_peer_addr_type 
+554e 7d3a2407 nsetflag blank ,le_receiver_addr_bit ,regb 
+554f 1a427e00 copy regb ,pdata 
+5550 600143dc store 2 ,mem_le_txheader 
+5551 680344a0 fetch 6 ,mem_le_lap 
+5552 e0a30000 istore 6 ,contw 
+5553 6803044f fetch 6 ,mem_le_plap 
+5554 e0a30000 istore 6 ,contw 
+5555 68020463 fetch 4 ,mem_le_access 
+5556 e0a20000 istore 4 ,contw 
+5557 180a7e00 random pdata 
+5558 e0a10000 istore 2 ,contw 
+5559 180a7e00 random pdata 
+555a e0a08000 istore 1 ,contw 
+555b 18007e02 force 2 ,pdata 
+555c e0a08000 istore 1 ,contw 
+555d 1a2b7e00 rshift2 rega ,pdata 
+555e e0a10000 istore 2 ,contw 
+555f 1a6b7e00 rshift2 regc ,pdata 
+5560 e0a10000 istore 2 ,contw 
+5561 472ac02a bpatchx patch2a_5 ,mem_patch2a 
+5562 58000000 setarg 0 
+5563 e0a10000 istore 2 ,contw 
+5564 6801449c fetch 2 ,mem_le_timeout 
+5565 e0a10000 istore 2 ,contw 
+5566 6802846f fetch 5 ,mem_le_channel_map 
+5567 e0a28000 istore 5 ,contw 
+5568 68008458 fetch 1 ,mem_le_hop 
+5569 d84000a0 arg param_le_sca ,temp 
+556a 9841fe00 ior temp ,pdata 
+556b e0a08000 istore 1 ,contw 
+556c 204054c7 call le_transmit_norx 
+556d 580043dc setarg mem_le_txheader 
+556e 1fe08c12 add pdata ,18 ,contr 
+556f e8c18000 ifetch 3 ,contr 
+5570 60018467 store 3 ,mem_le_crcinit 
+5571 20600000 rtn 
+
+le_init_adv:
+5572 472b402a bpatchx patch2a_6 ,mem_patch2a 
+5573 7854fc00 disable master 
+5574 2020540c branch le_adv_access 
+
+le_update_param:
+5575 6800843f fetch 1 ,mem_le_state 
+5576 c4028000 rtnbit0 lestate_update_param 
+5577 68010459 fetch 2 ,mem_le_event_count 
+5578 6809045f fetcht 2 ,mem_le_instant 
+5579 98467e00 isub temp ,pdata 
+557a 24610000 nrtn positive 
+557b 60010a9a store 2 ,mem_pdatatemp 
+557c 472bc02a bpatchx patch2a_7 ,mem_patch2a 
+557d 6800843f fetch 1 ,mem_le_state 
+557e 793ffe05 set0 lestate_update_param ,pdata 
+557f 793ffe03 set0 lestate_got_first_packet ,pdata 
+5580 6000843f store 1 ,mem_le_state 
+5581 68020443 fetch 4 ,mem_le_anchor 
+5582 68090441 fetcht 2 ,mem_le_tsniff 
+5583 60090aa2 storet 2 ,mem_temp 
+5584 98462200 isub temp ,rega 
+5585 472c402b bpatchx patch2b_0 ,mem_patch2b 
+5586 6800c3d3 fetch 1 ,mem_le_new_param 
+5587 6000846a store 1 ,mem_le_window_size 
+5588 e8c90000 ifetcht 2 ,contr 
+5589 e8c10000 ifetch 2 ,contr 
+558a 1febfe00 lshift2 pdata ,pdata 
+558b 60010441 store 2 ,mem_le_tsniff 
+558c 184b8400 lshift2 temp ,temp 
+558d 9840fe00 iadd temp ,pdata 
+558e e8ca0000 ifetcht 4 ,contr 
+558f 600a046b storet 4 ,mem_le_slave_latency 
+5590 9a20fe00 iadd rega ,pdata 
+5591 1fe22800 copy pdata ,regab 
+5592 68010441 fetch 2 ,mem_le_tsniff 
+5593 68090aa2 fetcht 2 ,mem_temp 
+5594 98467e00 isub temp ,pdata 
+5595 68090a9a fetcht 2 ,mem_pdatatemp 
+5596 984ffe00 imul32 temp ,pdata 
+5597 9a80fe00 iadd regab ,pdata 
+5598 60020443 store 4 ,mem_le_anchor 
+5599 20405713 call le_receive_window_size 
+559a 6801046d fetch 2 ,mem_le_superto 
+559b 600144ba store 2 ,mem_le_init_superto 
+559c 20600000 rtn 
+
+le_update_channel_map:
+559d 472cc02b bpatchx patch2b_1 ,mem_patch2b 
+559e 6800843f fetch 1 ,mem_le_state 
+559f c4030000 rtnbit0 lestate_update_map 
+55a0 68010459 fetch 2 ,mem_le_event_count 
+55a1 6809045f fetcht 2 ,mem_le_instant 
+55a2 98467e00 isub temp ,pdata 
+55a3 24610000 nrtn positive 
+55a4 6800843f fetch 1 ,mem_le_state 
+55a5 793ffe06 set0 lestate_update_map ,pdata 
+55a6 6000843f store 1 ,mem_le_state 
+55a7 6802c3ce fetch 5 ,mem_le_new_map 
+55a8 6002846f store 5 ,mem_le_channel_map 
+55a9 2020545b branch le_calc_channel_map 
+
+le_acknowledge:
+55aa 472d402b bpatchx patch2b_2 ,mem_patch2b 
+55ab 204056ed call le_supervision_flush 
+55ac 204055c0 call le_check_wak 
+55ad 680082d9 fetch 1 ,mem_le_rxbuf 
+55ae 2feffe04 isolate1 md ,pdata 
+55af 7920802a setflag true ,mark_ble_rx_md ,mark 
+55b0 1fe37e00 rshift pdata ,pdata 
+55b1 9842fe00 ixor temp ,pdata 
+55b2 2feffe02 isolate1 nesn ,pdata 
+55b3 7920800f setflag true ,mark_old_packet ,mark 
+55b4 c6078000 rtnmark1 mark_old_packet 
+55b5 680082da fetch 1 ,mem_le_rxbuf + 1 
+55b6 203a55bc branch le_ack_unenc ,blank 
+55b7 6800843f fetch 1 ,mem_le_state 
+55b8 c30255bc bbit0 lestate_encryption ,le_ack_unenc 
+55b9 2040748d call load_sk 
+55ba 204073fb call le_decrypt 
+55bb 247a0000 nrtn blank 
+
+le_ack_unenc:
+55bc 68088456 fetcht 1 ,mem_le_arq 
+55bd 79400402 setflip nesn ,temp 
+55be 60088456 storet 1 ,mem_le_arq 
+55bf 20600000 rtn 
+
+le_check_wak:
+55c0 472dc02b bpatchx patch2b_3 ,mem_patch2b 
+55c1 68088456 fetcht 1 ,mem_le_arq 
+55c2 284c0005 isolate0 wak ,temp 
+55c3 20608000 rtn true 
+55c4 680082d9 fetch 1 ,mem_le_rxbuf 
+55c5 1fe3fe00 lshift pdata ,pdata 
+55c6 9842fe00 ixor temp ,pdata 
+55c7 c4018000 rtnbit0 sn 
+55c8 793f8405 set0 wak ,temp 
+55c9 79400403 setflip sn ,temp 
+55ca 60088456 storet 1 ,mem_le_arq 
+55cb 28400603 compare 3 ,temp ,3 
+55cc 24608000 nrtn true 
+55cd 6800c3de fetch 1 ,mem_le_txpayload 
+55ce c002d5d2 beq ll_start_enc_req ,le_set_enc 
+55cf 6800c4c5 fetch 1 ,mem_le_enc_state 
+55d0 c00155d6 beq flag_le_enc_pause ,le_clear_enc 
+55d1 20600000 rtn 
+
+le_set_enc:
+55d2 6800843f fetch 1 ,mem_le_state 
+55d3 79207e04 set1 lestate_encryption ,pdata 
+55d4 6000843f store 1 ,mem_le_state 
+55d5 20600000 rtn 
+
+le_clear_enc:
+55d6 472e402b bpatchx patch2b_4 ,mem_patch2b 
+55d7 7044c500 jam flag_le_enc_null ,mem_le_enc_state 
+55d8 dfe00000 arg 0 ,pdata 
+55d9 6002440d store 4 ,mem_le_last_mic 
+55da 6002c403 store 5 ,mem_le_pcnt_tx 
+55db 79207e27 set1 39 ,pdata 
+55dc 6002c408 store 5 ,mem_le_pcnt_rx 
+55dd 6800843f fetch 1 ,mem_le_state 
+55de 793ffe04 set0 lestate_encryption ,pdata 
+55df 6000843f store 1 ,mem_le_state 
+55e0 20600000 rtn 
+
+le_wait_adv:
+55e1 472ec02b bpatchx patch2b_5 ,mem_patch2b 
+55e2 20405422 call le_next_adv_channel 
+55e3 20405485 call le_receive_adv 
+55e4 68008001 fetch 1 ,mem_le_adv_waitcnt 
+55e5 1fe0fe01 increase 1 ,pdata 
+55e6 60008001 store 1 ,mem_le_adv_waitcnt 
+55e7 20600000 rtn 
+
+le_scan:
+55e8 472f402b bpatchx patch2b_6 ,mem_patch2b 
+55e9 6800c369 fetch 1 ,mem_le_scan_enable 
+55ea c1808000 rtnne le_scan_enable 
+55eb d8e00002 arg le_scan_interval_timer ,queue 
+55ec 20407f16 call timer_check 
+55ed 247a0000 nrtn blank 
+55ee 6801436a fetch 2 ,mem_le_scan_interval 
+55ef 6809436c fetcht 2 ,mem_le_scan_window 
+55f0 98467e00 isub temp ,pdata 
+55f1 d8e00002 arg le_scan_interval_timer ,queue 
+55f2 20407f08 call timer_init 
+55f3 7854fc00 disable master 
+55f4 20405572 call le_init_adv 
+55f5 204055e1 call le_wait_adv 
+55f6 24768000 nrtn match 
+55f7 472fc02b bpatchx patch2b_7 ,mem_patch2b 
+55f8 680302db fetch 6 ,mem_le_rxbuf + 2 
+55f9 6003044f store 6 ,mem_le_plap 
+55fa 68008002 fetch 1 ,mem_le_adv_rcv 
+55fb 1fe0fe01 increase 1 ,pdata 
+55fc 60008002 store 1 ,mem_le_adv_rcv 
+55fd 20405608 call le_create_conn 
+55fe 20748000 rtn master 
+55ff 2040550b call le_send_scan_request 
+5600 24768000 nrtn match 
+5601 4730402c bpatchx patch2c_0 ,mem_patch2c 
+5602 68008004 fetch 1 ,mem_le_scanrsp_rcv 
+5603 1fe0fe01 increase 1 ,pdata 
+5604 60008004 store 1 ,mem_le_scanrsp_rcv 
+5605 680482e1 fetch 9 ,mem_le_rxbuf + 8 
+5606 60048101 store 9 ,mem_tmp_buffer 
+5607 20600000 rtn 
+
+le_create_conn:
+5608 4730c02c bpatchx patch2c_1 ,mem_patch2c 
+5609 6800849b fetch 1 ,mem_cmd_le_create_conn 
+560a c18d8000 rtnne hci_cmd_le_create_conn 
+560b 6803044f fetch 6 ,mem_le_plap 
+560c 680b448f fetcht 6 ,mem_le_conn_peer_addr 
+560d 98467c00 isub temp ,null 
+560e 24628000 nrtn zero 
+560f 2040223b call context_new 
+5610 24628000 nrtn zero 
+5611 2040552b call le_connect_request 
+5612 20405340 call le_init_master 
+5613 4731402c bpatchx patch2c_2 ,mem_patch2c 
+5614 7041ce00 jam 0 ,mem_hci_cmd 
+5615 70047600 jam 0 ,mem_le_peer_sca 
+5616 70436900 jam 0 ,mem_le_scan_enable 
+5617 70049b00 jam 0 ,mem_cmd_le_create_conn 
+5618 20202223 branch context_save 
+
+le_scan_check_sender_addr_type:
+5619 da200001 arg 1 ,rega 
+561a 680082d9 fetch 1 ,mem_le_rxbuf 
+561b c3830000 rtnbit1 le_sender_addr_bit 
+561c da200000 arg 0 ,rega 
+561d 20600000 rtn 
+
+le_prepare_tx:
+561e 4731c02c bpatchx patch2c_3 ,mem_patch2c 
+561f 68008456 fetch 1 ,mem_le_arq 
+5620 c3828000 rtnbit1 wak 
+5621 20405642 call le_check_tx_md 
+5622 20405873 call le_fifo_get_first_tx_ptr 
+5623 203a5664 branch le_send_empty ,blank 
+5624 e8c08000 ifetch 1 ,contr 
+5625 e8c88000 ifetcht 1 ,contr 
+5626 18422200 copy temp ,rega 
+5627 9a267e00 isub rega ,pdata 
+5628 d840001b arg le_max_paket_len ,temp 
+5629 20407fdd call not_greater_than 
+562a 1fe20400 copy pdata ,temp 
+562b e8c08000 ifetch 1 ,contr 
+562c 1fe20200 copy pdata ,type 
+562d 1a227e00 copy rega ,pdata 
+562e 98c08c00 iadd contr ,contr 
+562f d8a043de arg mem_le_txpayload ,contw 
+5630 18427200 copy temp ,loopcnt 
+5631 20407f01 call memcpy 
+5632 20405654 call le_update_tx_type 
+5633 20405666 call le_send_packet 
+5634 20405873 call le_fifo_get_first_tx_ptr 
+5635 e8c08000 ifetch 1 ,contr 
+5636 1fe22200 copy pdata ,rega 
+5637 18c22600 copy contr ,regc 
+5638 e8c88000 ifetcht 1 ,contr 
+5639 18422400 copy temp ,regb 
+563a 9a467e00 isub regb ,pdata 
+563b d840001b arg le_max_paket_len ,temp 
+563c 20407fdd call not_greater_than 
+563d 9a40fe00 iadd regb ,pdata 
+563e e2608000 istore 1 ,regc 
+563f 9a267c00 isub rega ,null 
+5640 24628000 nrtn zero 
+5641 20205896 branch le_fifo_release_first_node 
+
+le_check_tx_md:
+5642 20405649 call le_check_continue 
+5643 c6148000 rtnmark1 mark_ble_tx_md 
+5644 6800c4e9 fetch 1 ,mem_le_configuration 
+5645 c3015652 bbit0 bit_ble_transmit_packet_by_md ,le_clear_md 
+5646 20405876 call le_fifo_get_second_tx_ptr 
+5647 203a5652 branch le_clear_md ,blank 
+5648 20205650 branch le_set_md 
+
+le_check_continue:
+5649 20405873 call le_fifo_get_first_tx_ptr 
+564a 203a5652 branch le_clear_md ,blank 
+564b e8c08000 ifetch 1 ,contr 
+564c e8c88000 ifetcht 1 ,contr 
+564d 98467e00 isub temp ,pdata 
+564e 1fe67c1b sub pdata ,le_max_paket_len ,null 
+564f 20215652 branch le_clear_md ,positive 
+
+le_set_md:
+5650 79200029 set1 mark_ble_tx_md ,mark 
+5651 20600000 rtn 
+
+le_clear_md:
+5652 793f8029 set0 mark_ble_tx_md ,mark 
+5653 20600000 rtn 
+
+le_update_tx_type:
+5654 1a227e00 copy rega ,pdata 
+5655 207a0000 rtn blank 
+5656 d8200001 arg llid_continue ,type 
+5657 20600000 rtn 
+
+le_att_check_notification_enable:
+5658 4732402c bpatchx patch2c_4 ,mem_patch2c 
+5659 18408401 increase 1 ,temp 
+565a 2040576a call le_att_get_handle_ptr 
+565b 18c08dfe increase -2 ,contr 
+565c e8c10000 ifetch 2 ,contr 
+565d d8402902 arg client_charactertic_configuration ,temp 
+565e 98467c00 isub temp ,null 
+565f 24628000 nrtn zero 
+5660 18c08c01 increase 1 ,contr 
+5661 18c22200 copy contr ,rega 
+5662 e8c08000 ifetch 1 ,contr 
+5663 20600000 rtn 
+
+le_send_empty:
+5664 18000400 force 0 ,temp 
+5665 18000201 force 1 ,type 
+
+le_send_packet:
+5666 4732c02c bpatchx patch2c_5 ,mem_patch2c 
+5667 6008c3dd storet 1 ,mem_le_txlen 
+5668 68088456 fetcht 1 ,mem_le_arq 
+5669 79200405 set1 wak ,temp 
+566a 18417efc and temp ,0xfc ,pdata 
+566b 9821fe00 ior type ,pdata 
+566c 60008456 store 1 ,mem_le_arq 
+566d 1fe17e1f and_into 0x1f ,pdata 
+566e 280ffe29 isolate1 mark_ble_tx_md ,mark 
+566f 7920fe04 setflag true ,md ,pdata 
+5670 6000c3dc store 1 ,mem_le_txheader 
+5671 6800c3dc fetch 1 ,mem_le_txheader 
+5672 28200601 compare 1 ,type ,3 
+5673 2420d676 nbranch le_send_no_txlen ,true 
+5674 6800c3dd fetch 1 ,mem_le_txlen 
+5675 207a0000 rtn blank 
+
+le_send_no_txlen:
+5676 6800843f fetch 1 ,mem_le_state 
+5677 c4020000 rtnbit0 lestate_encryption 
+5678 2040748d call load_sk 
+5679 202073e3 branch le_encrypt 
+
+get_lpm_wake_ble_rx_lock:
+567a d8e00000 arg wake_lock_ble_rx ,queue 
+567b 20202c32 branch lpm_get_wake_lock 
+
+put_lpm_wake_ble_rx_lock:
+567c d8e00000 arg wake_lock_ble_rx ,queue 
+567d 20202c36 branch lpm_put_wake_lock 
+
+le_parse:
+567e 4733402c bpatchx patch2c_6 ,mem_patch2c 
+567f c6078000 rtnmark1 mark_old_packet 
+5680 20405890 call le_fifo_check_full 
+5681 247a0000 nrtn blank 
+5682 680082d9 fetch 1 ,mem_le_rxbuf 
+5683 1fe17e03 and pdata ,0x3 ,pdata 
+5684 6000c50c store 1 ,mem_le_packet_llid 
+5685 e8c08000 ifetch 1 ,contr 
+5686 1fe17e1f and pdata ,0x1f ,pdata 
+5687 6000c50b store 1 ,mem_le_packet_size 
+5688 207a0000 rtn blank 
+5689 18c27e00 copy contr ,pdata 
+568a 6001450d store 2 ,mem_le_payload_ptr 
+568b 6800c50c fetch 1 ,mem_le_packet_llid 
+568c c001dc64 beq llid_le_ll ,le_parse_ll 
+
+le_parse_l2cap:
+568d 2040569a call le_check_l2cap_complete 
+568e 2434567a nbranch get_lpm_wake_ble_rx_lock ,user 
+568f 2040567c call put_lpm_wake_ble_rx_lock 
+5690 6801450d fetch 2 ,mem_le_payload_ptr 
+5691 1fe20c00 copy pdata ,contr 
+5692 e8c10000 ifetch 2 ,contr 
+5693 600144fc store 2 ,mem_le_l2cap_size 
+5694 4733c02c bpatchx patch2c_7 ,mem_patch2c 
+5695 e8c10000 ifetch 2 ,contr 
+5696 c00258ab beq le_l2cap_cid_att ,le_parse_att 
+5697 c0035af4 beq le_l2cap_cid_smp ,le_parse_smp 
+5698 c002dab6 beq le_l2cap_cid_signal ,le_parse_signaling 
+5699 20600000 rtn 
+
+le_check_l2cap_complete:
+569a 6800c50c fetch 1 ,mem_le_packet_llid 
+569b c00156a9 beq llid_start ,le_check_l2cap_llid_start 
+569c c000d6c1 beq llid_continue ,le_check_l2cap_llid_continue 
+569d 20600000 rtn 
+
+le_check_l2cap_cid_legal:
+569e 20407fe7 call enable_user 
+569f d8400004 arg le_l2cap_cid_att ,temp 
+56a0 9fe67c00 isub pdata ,null 
+56a1 20628000 rtn zero 
+56a2 d8400005 arg le_l2cap_cid_signal ,temp 
+56a3 9fe67c00 isub pdata ,null 
+56a4 20628000 rtn zero 
+56a5 d8400006 arg le_l2cap_cid_smp ,temp 
+56a6 9fe67c00 isub pdata ,null 
+56a7 20628000 rtn zero 
+56a8 20207fe9 branch disable_user 
+
+le_check_l2cap_llid_start:
+56a9 6801450d fetch 2 ,mem_le_payload_ptr 
+56aa 1fe20c00 copy pdata ,contr 
+56ab e8c10000 ifetch 2 ,contr 
+56ac 600144fc store 2 ,mem_le_l2cap_size 
+56ad e8c10000 ifetch 2 ,contr 
+56ae 2040569e call le_check_l2cap_cid_legal 
+56af 24740000 nrtn user 
+56b0 6808c50b fetcht 1 ,mem_le_packet_size 
+56b1 6008c4fe storet 1 ,mem_le_packet_len_recved 
+56b2 680144fc fetch 2 ,mem_le_l2cap_size 
+56b3 1fe0fe04 increase 4 ,pdata 
+56b4 98467c00 isub temp ,null 
+56b5 2022ffe7 branch enable_user ,zero 
+56b6 6800c50b fetch 1 ,mem_le_packet_size 
+56b7 1fe27200 copy pdata ,loopcnt 
+56b8 d8a00311 arg mem_le_l2capbuf ,contw 
+56b9 6801450d fetch 2 ,mem_le_payload_ptr 
+56ba 1fe20c00 copy pdata ,contr 
+56bb 20407f01 call memcpy 
+56bc 20207fe9 branch disable_user 
+
+le_check_l2cap_continue_legal:
+56bd 20407fe7 call enable_user 
+56be 6800c4fe fetch 1 ,mem_le_packet_len_recved 
+56bf 247a0000 nrtn blank 
+56c0 20207fe9 branch disable_user 
+
+le_check_l2cap_llid_continue:
+56c1 204056bd call le_check_l2cap_continue_legal 
+56c2 24740000 nrtn user 
+56c3 6800c4fe fetch 1 ,mem_le_packet_len_recved 
+56c4 d8a00311 arg mem_le_l2capbuf ,contw 
+56c5 98a0a200 iadd contw ,rega 
+56c6 6808c50b fetcht 1 ,mem_le_packet_size 
+56c7 9840fe00 iadd temp ,pdata 
+56c8 6000c4fe store 1 ,mem_le_packet_len_recved 
+56c9 6800c50b fetch 1 ,mem_le_packet_size 
+56ca 1fe27200 copy pdata ,loopcnt 
+56cb 1a220a00 copy rega ,contw 
+56cc 6801450d fetch 2 ,mem_le_payload_ptr 
+56cd 1fe20c00 copy pdata ,contr 
+56ce 20407ef4 call memcpy_fast 
+56cf 58000311 setarg mem_le_l2capbuf 
+56d0 6001450d store 2 ,mem_le_payload_ptr 
+56d1 680144fc fetch 2 ,mem_le_l2cap_size 
+56d2 1fe0fe04 increase 4 ,pdata 
+56d3 6808c4fe fetcht 1 ,mem_le_packet_len_recved 
+56d4 98467c00 isub temp ,null 
+56d5 2022ffe7 branch enable_user ,zero 
+56d6 20207fe9 branch disable_user 
+
+le_get_search_att_type:
+56d7 20407ea5 call store_contr 
+56d8 d8a0445e arg mem_le_search_att_type_length ,contw 
+
+le_get_search_common:
+56d9 680144fc fetch 2 ,mem_le_l2cap_size 
+56da 1fe0fffb increase -5 ,pdata 
+
+le_get_search_common2:
+56db e0a08000 istore 1 ,contw 
+56dc 1fe27200 copy pdata ,loopcnt 
+56dd 20407e9f call get_contr 
+56de 20207ef4 branch memcpy_fast 
+
+le_get_search_att_uuid:
+56df 20407ea5 call store_contr 
+56e0 d8a04471 arg mem_le_search_uuid_length ,contw 
+56e1 202056d9 branch le_get_search_common 
+
+le_writeatt_cb:
+56e2 680141f9 fetch 2 ,mem_cb_att_write 
+56e3 20207f9c branch callback_func 
+
+le_supervision_update:
+56e4 680a045b fetcht 4 ,mem_le_supervision_timer 
+56e5 20402a7b call get_clkbt 
+56e6 98461600 isub temp ,timeup 
+56e7 19627e00 deposit timeup 
+56e8 6809046d fetcht 2 ,mem_le_superto 
+56e9 18520400 lshift4 temp ,temp 
+56ea 18438400 lshift temp ,temp 
+56eb 98467e00 isub temp ,pdata 
+56ec 20600000 rtn 
+
+le_supervision_flush:
+56ed 20402a7b call get_clkbt 
+56ee 6002045b store 4 ,mem_le_supervision_timer 
+56ef 20600000 rtn 
+
+le_adv:
+56f0 70001624 jam 36 ,mem_le_ch_mapped 
+56f1 700ac200 jam 0 ,mem_le_adv_channel_map_temp 
+
+le_adv_loop:
+56f2 4734402d bpatchx patch2d_0 ,mem_patch2d 
+56f3 6800c36e fetch 1 ,mem_le_adv_enable 
+56f4 207a0000 rtn blank 
+56f5 d8e00000 arg le_adv_interval_timer ,queue 
+56f6 20407f16 call timer_check 
+56f7 247a0000 nrtn blank 
+56f8 4734c02d bpatchx patch2d_1 ,mem_patch2d 
+
+le_adv_loop_tx:
+56f9 7854fc00 disable master 
+56fa 78287c00 enable swfine 
+56fb 20405572 call le_init_adv 
+56fc 20405422 call le_next_adv_channel 
+56fd 204054e9 call le_send_adv_ind 
+56fe 2436d706 nbranch le_adv_not_match ,match 
+56ff 68008003 fetch 1 ,mem_le_req_rcv 
+5700 1fe0fe01 increase 1 ,pdata 
+5701 60008003 store 1 ,mem_le_req_rcv 
+5702 680082d9 fetch 1 ,mem_le_rxbuf 
+5703 1fe17e0f and pdata ,0x0f ,pdata 
+5704 c001d51c beq scan_req ,le_send_scan_response 
+5705 c002d728 beq connect_req ,le_parse_connect_req 
+
+le_adv_not_match:
+5706 4735402d bpatchx patch2d_2 ,mem_patch2d 
+5707 180a7e00 random pdata 
+5708 d84001ff arg 0x1ff ,temp 
+5709 98417e00 iand temp ,pdata 
+570a 1fe0fefa add pdata ,250 ,pdata 
+570b 20403cbe call delay 
+570c 68008ac2 fetch 1 ,mem_le_adv_channel_map_temp 
+570d 6808c48d fetcht 1 ,mem_le_adv_channel_map 
+570e 98467c00 isub temp ,null 
+570f 2422d6f2 nbranch le_adv_loop ,zero 
+5710 d8e00000 arg le_adv_interval_timer ,queue 
+5711 68014482 fetch 2 ,mem_le_adv_interval 
+5712 20207f08 branch timer_init 
+
+le_receive_window_size:
+5713 4735c02d bpatchx patch2d_3 ,mem_patch2d 
+5714 68008476 fetch 1 ,mem_le_peer_sca 
+5715 204053fc call le_sca_map 
+5716 68010441 fetch 2 ,mem_le_tsniff 
+5717 984ffe00 imul32 temp ,pdata 
+5718 d8400177 arg 375 ,temp 
+5719 984ffe00 imul32 temp ,pdata 
+571a d84186a0 arg 100000 ,temp 
+571b 9846fc00 idiv temp 
+571c 6800846a fetch 1 ,mem_le_window_size 
+571d d8404e20 arg 20000 ,temp 
+571e 984ffe00 imul32 temp ,pdata 
+571f 9840fe00 iadd temp ,pdata 
+5720 600244e5 store 4 ,mem_le_transmit_window 
+5721 4736402d bpatchx patch2d_4 ,mem_patch2d 
+5722 680140c1 fetch 2 ,mem_rx_window_sniff 
+5723 20407f86 call wait_div_end 
+5724 18078400 quotient temp 
+5725 9840fe00 iadd temp ,pdata 
+5726 6001044d store 2 ,mem_le_receive_window 
+5727 20600000 rtn 
+
+le_parse_connect_req:
+5728 4736c02d bpatchx patch2d_5 ,mem_patch2d 
+5729 680302e1 fetch 6 ,mem_le_rxbuf + 8 
+572a 680b44a0 fetcht 6 ,mem_le_lap 
+572b 98467c00 isub temp ,null 
+572c 24628000 nrtn zero 
+572d 20405619 call le_scan_check_sender_addr_type 
+572e 1a227e00 copy rega ,pdata 
+572f 6000c48e store 1 ,mem_le_conn_peer_addr_type 
+5730 680382ee fetch 7 ,mem_le_rxbuf + 21 
+5731 60038101 store 7 ,mem_tmp_buffer 
+5732 e8c40000 ifetch 8 ,contr 
+5733 e0a40000 istore 8 ,contw 
+5734 680302db fetch 6 ,mem_le_rxbuf + 2 
+5735 6003044f store 6 ,mem_le_plap 
+5736 18c08c06 increase 6 ,contr 
+5737 e8c40000 ifetch 8 ,contr 
+5738 60040463 store 8 ,mem_le_access 
+5739 e8c90000 ifetcht 2 ,contr 
+573a 4737402d bpatchx patch2d_6 ,mem_patch2d 
+573b 184b8400 lshift2 temp ,temp 
+573c e8c10000 ifetch 2 ,contr 
+573d 1febfe00 lshift2 pdata ,pdata 
+573e 60010441 store 2 ,mem_le_tsniff 
+573f 60020443 store 4 ,mem_le_anchor 
+5740 98467e00 isub temp ,pdata 
+5741 1fe0d1fe add pdata ,-2 ,clke_bt 
+5742 e8c48000 ifetch 9 ,contr 
+5743 6004846b store 9 ,mem_le_slave_latency 
+5744 4737c02d bpatchx patch2d_7 ,mem_patch2d 
+5745 e8c08000 ifetch 1 ,contr 
+5746 1ff18400 rshift4 pdata ,temp 
+5747 18430400 rshift temp ,temp 
+5748 60088476 storet 1 ,mem_le_peer_sca 
+5749 1fe17e1f and_into 0x1f ,pdata 
+574a 60008458 store 1 ,mem_le_hop 
+574b 20405713 call le_receive_window_size 
+574c 2040545b call le_calc_channel_map 
+574d 2040534c call le_init_slave 
+574e 2040223b call context_new 
+574f 24628000 nrtn zero 
+5750 4738402e bpatchx patch2e_0 ,mem_patch2e 
+5751 20402841 call calc_clke_offset 
+5752 20405ad3 call le_l2cap_reset_signaling_identifier 
+5753 700a9914 jam bt_evt_le_connected ,mem_fifo_temp 
+5754 20407d86 call ui_ipc_send_event 
+5755 20202223 branch context_save 
+
+le_init_attlist_search:
+5756 4738c02e bpatchx patch2e_1 ,mem_patch2e 
+5757 6801445a fetch 2 ,mem_le_search_handle_start 
+5758 98002400 iforce regb 
+5759 6801445c fetch 2 ,mem_le_search_handle_end 
+575a 98002600 iforce regc 
+575b 680144bc fetch 2 ,mem_ui_le_uuid_table 
+575c 98000c00 iforce contr 
+575d 78347c00 enable user 
+575e 20600000 rtn 
+
+le_att_handle_inrange:
+575f e8c10000 ifetch 2 ,contr 
+5760 207a0000 rtn blank 
+5761 9a467c00 isub regb ,null 
+5762 24610000 nrtn positive 
+5763 9a667c00 isub regc ,null 
+5764 20628000 rtn zero 
+5765 20215768 branch le_att_handle_blank ,positive 
+5766 18007c01 force 1 ,null 
+5767 20600000 rtn 
+
+le_att_handle_blank:
+5768 18007e00 force 0 ,pdata 
+5769 20600000 rtn 
+
+le_att_get_handle_ptr:
+576a 2040576d call le_att_get_handle_ptr2 
+576b 2022d779 branch le_att_get_handle_ptr_found ,zero 
+576c 20600000 rtn 
+
+le_att_get_handle_ptr2:
+576d 4739402e bpatchx patch2e_2 ,mem_patch2e 
+576e 680144bc fetch 2 ,mem_ui_le_uuid_table 
+576f 98000c00 iforce contr 
+
+le_att_get_handle_loop1:
+5770 e8c10000 ifetch 2 ,contr 
+5771 207a0000 rtn blank 
+5772 98467c00 isub temp ,null 
+5773 20628000 rtn zero 
+5774 e8c08000 ifetch 1 ,contr 
+5775 98c08c00 iadd contr ,contr 
+5776 e8c08000 ifetch 1 ,contr 
+5777 98c08c00 iadd contr ,contr 
+5778 20205770 branch le_att_get_handle_loop1 
+
+le_att_get_handle_ptr_found:
+5779 e8c08000 ifetch 1 ,contr 
+577a 98c08c00 iadd contr ,contr 
+577b 20600000 rtn 
+
+le_att_get_short_uuid_ptr:
+577c 4739c02e bpatchx patch2e_3 ,mem_patch2e 
+577d 680144bc fetch 2 ,mem_ui_le_uuid_table 
+577e 98000c00 iforce contr 
+
+le_att_get_short_uuid_loop:
+577f e8c10000 ifetch 2 ,contr 
+5780 207a0000 rtn blank 
+5781 e8c08000 ifetch 1 ,contr 
+5782 98c08c00 iadd contr ,contr 
+5783 18c08dfe increase -2 ,contr 
+5784 e8c10000 ifetch 2 ,contr 
+5785 98467c00 isub temp ,null 
+5786 20628000 rtn zero 
+5787 e8c08000 ifetch 1 ,contr 
+5788 98c08c00 iadd contr ,contr 
+5789 2020577f branch le_att_get_short_uuid_loop 
+
+le_att_get_handle_info_from_ptr:
+578a 6801049c fetch 2 ,mem_le_cur_attlist_start_ptr 
+578b 2020578e branch le_att_get_handle_info_fast 
+
+le_att_get_handle_info:
+578c 473a402e bpatchx patch2e_4 ,mem_patch2e 
+578d 680144bc fetch 2 ,mem_ui_le_uuid_table 
+
+le_att_get_handle_info_fast:
+578e 98000c00 iforce contr 
+578f 18422200 copy temp ,rega 
+
+le_att_get_handle_loop:
+5790 e8c10000 ifetch 2 ,contr 
+5791 203a5799 branch le_att_unfind_handle ,blank 
+5792 9a267c00 isub rega ,null 
+5793 2022d79a branch le_att_finded_handle ,zero 
+5794 e8c08000 ifetch 1 ,contr 
+5795 98c08c00 iadd contr ,contr 
+5796 e8c08000 ifetch 1 ,contr 
+5797 98c08c00 iadd contr ,contr 
+5798 20205790 branch le_att_get_handle_loop 
+
+le_att_unfind_handle:
+5799 20207fef branch disable_blank 
+
+le_att_finded_handle:
+579a e8c08000 ifetch 1 ,contr 
+579b 600084a2 store 1 ,mem_le_cur_uuid_length 
+579c 1fe27200 copy pdata ,loopcnt 
+579d d8a004a3 arg mem_le_cur_uuid ,contw 
+579e 20407ef4 call memcpy_fast 
+579f e8c08000 ifetch 1 ,contr 
+57a0 600084b3 store 1 ,mem_le_curr_att_len 
+57a1 20407ea5 call store_contr 
+57a2 20207ff1 branch enable_blank 
+
+le_modified_name:
+57a3 473ac02e bpatchx patch2e_5 ,mem_patch2e 
+57a4 204057a6 call le_modified_name_att_list 
+57a5 202057b8 branch le_modified_name_adv 
+
+le_modified_name_att_list:
+57a6 d8402a00 arg uuid_chrctr_device_name ,temp 
+57a7 2040577c call le_att_get_short_uuid_ptr 
+57a8 207a0000 rtn blank 
+57a9 e8c08000 ifetch 1 ,contr 
+57aa 18c20a00 copy contr ,contw 
+57ab 6808c3af fetcht 1 ,mem_le_name_len 
+57ac 18427200 copy temp ,loopcnt 
+57ad 98467c00 isub temp ,null 
+57ae 242157b5 nbranch le_name_length_longer_than_att ,positive 
+57af 98460400 isub temp ,temp 
+57b0 d8c043b0 arg mem_le_name ,contr 
+57b1 20407f01 call memcpy 
+57b2 18427200 copy temp ,loopcnt 
+57b3 2442d7f0 ncall memcpy_empty ,zero 
+57b4 20600000 rtn 
+
+le_name_length_longer_than_att:
+57b5 1fe27200 copy pdata ,loopcnt 
+57b6 d8c043b0 arg mem_le_name ,contr 
+57b7 20207ef4 branch memcpy_fast 
+
+le_modified_name_adv:
+57b8 da60438f arg mem_le_adv_data_len + 32 ,regc 
+57b9 da204370 arg mem_le_adv_data ,rega 
+57ba 204057c5 call le_modified_name_adv_and_scan 
+57bb 58000000 setarg 0 
+57bc 79347e00 setflag user ,0 ,pdata 
+57bd 60008a9a store 1 ,mem_pdatatemp 
+57be da6043af arg mem_le_scan_data_len + 32 ,regc 
+57bf da204390 arg mem_le_scan_data ,rega 
+57c0 204057c5 call le_modified_name_adv_and_scan 
+57c1 20740000 rtn user 
+57c2 68008a9a fetch 1 ,mem_pdatatemp 
+57c3 203a2a8c branch assert ,blank 
+57c4 20600000 rtn 
+
+le_modified_name_adv_and_scan:
+57c5 473b402e bpatchx patch2e_6 ,mem_patch2e 
+57c6 20407fe7 call enable_user 
+57c7 20407eda call clear_temp_block 
+57c8 da400000 arg 0 ,regb 
+57c9 d8a00ac3 arg mem_le_data_temp ,contw 
+57ca 204057df call le_modified_name_adv_loop 
+57cb 6800c3af fetch 1 ,mem_le_name_len 
+57cc 1fe08401 add pdata ,1 ,temp 
+57cd 9a40a200 iadd regb ,rega 
+57ce 1a20a202 increase 2 ,rega 
+57cf 1a267c1f sub rega ,0x1f ,null 
+57d0 242157dd nbranch le_modified_name_adv_and_scan_name_overflow ,positive 
+57d1 e0a88000 istoret 1 ,contw 
+57d2 d8400009 arg gap_adtype_local_name_complete ,temp 
+57d3 e0a88000 istoret 1 ,contw 
+57d4 98007200 iforce loopcnt 
+57d5 20407ef4 call memcpy_fast 
+57d6 1a222400 copy rega ,regb 
+
+le_modified_name_adv_and_scan_store_data:
+57d7 1a427e00 deposit regb 
+57d8 60008ac2 store 1 ,mem_le_data_len_temp 
+57d9 d8c00ac2 arg mem_le_data_len_temp ,contr 
+57da 5fffffe0 setarg -32 
+57db 9a608a00 iadd regc ,contw 
+57dc 20207ebd branch memcpy32 
+
+le_modified_name_adv_and_scan_name_overflow:
+57dd 20407fe9 call disable_user 
+57de 202057d7 branch le_modified_name_adv_and_scan_store_data 
+
+le_modified_name_adv_loop:
+57df ea208000 ifetch 1 ,rega 
+57e0 207a0000 rtn blank 
+57e1 1fe0fe01 pincrease 1 
+57e2 e8c88000 ifetcht 1 ,contr 
+57e3 18467c09 sub temp ,gap_adtype_local_name_complete ,null 
+57e4 2022d7ee branch le_modified_name_adv_found_name ,zero 
+57e5 9a40a400 iadd regb ,regb 
+57e6 1a220c00 copy rega ,contr 
+57e7 98007200 iforce loopcnt 
+57e8 20407ef4 call memcpy_fast 
+57e9 18c22200 copy contr ,rega 
+
+le_modified_name_adv_loop2:
+57ea 1a227e00 deposit rega 
+57eb 9a667c00 isub regc ,null 
+57ec 20610000 rtn positive 
+57ed 202057df branch le_modified_name_adv_loop 
+
+le_modified_name_adv_found_name:
+57ee 9a20a200 iadd rega ,rega 
+57ef 202057ea branch le_modified_name_adv_loop2 
+
+memcpy_empty:
+57f0 58000020 setarg space 
+57f1 e0a08000 istore 1 ,contw 
+57f2 c20057f0 loop memcpy_empty 
+57f3 20600000 rtn 
+
+le_lpm_set_mult:
+57f4 473bc02e bpatchx patch2e_7 ,mem_patch2e 
+57f5 7855fc00 disable wake 
+57f6 203757f8 branch le_lpm_set_mult_attempt ,attempt 
+57f7 2436d806 nbranch le_lpm_lost ,match 
+
+le_lpm_set_mult_attempt:
+57f8 20402bcb call lpm_match 
+57f9 680140c1 fetch 2 ,mem_rx_window_sniff 
+57fa 6001044d store 2 ,mem_le_receive_window 
+57fb 2436abde nbranch lpm_mult_short ,match 
+57fc c507abde bmark1 mark_old_packet ,lpm_mult_short 
+57fd 6800c50b fetch 1 ,mem_le_packet_size 
+57fe 243a2bde nbranch lpm_mult_short ,blank 
+57ff 6800c3dd fetch 1 ,mem_le_txlen 
+5800 243a2bde nbranch lpm_mult_short ,blank 
+5801 6800c4e9 fetch 1 ,mem_le_configuration 
+5802 c282abde bbit1 bit_ble_short_mult ,lpm_mult_short 
+5803 6800843f fetch 1 ,mem_le_state 
+5804 c282abde bbit1 lestate_update_param ,lpm_mult_short 
+5805 20202bc0 branch lpm_mult_wait_timeout 
+
+le_lpm_lost:
+5806 680940c1 fetcht 2 ,mem_rx_window_sniff 
+5807 18430400 rshift temp ,temp 
+5808 6801044d fetch 2 ,mem_le_receive_window 
+5809 9840fe00 iadd temp ,pdata 
+580a 6001044d store 2 ,mem_le_receive_window 
+580b 20202bd6 branch lpm_lost 
+
+le_set_config_fixed_tk:
+580c d8e00000 arg bit_ble_passkey_fixed_key ,queue 
+580d 20205824 branch le_set_config 
+
+le_clr_config_fixed_tk:
+580e d8e00000 arg bit_ble_passkey_fixed_key ,queue 
+580f 20205828 branch le_clr_config 
+
+le_set_config_fixed_ltk:
+5810 d8e00001 arg bit_ble_pairing_fixed_ltk ,queue 
+5811 20205824 branch le_set_config 
+
+le_clr_config_fixed_ltk:
+5812 d8e00001 arg bit_ble_pairing_fixed_ltk ,queue 
+5813 20205828 branch le_clr_config 
+
+le_set_config_more_data:
+5814 d8e00002 arg bit_ble_transmit_packet_by_md ,queue 
+5815 20205824 branch le_set_config 
+
+le_clr_config_more_data:
+5816 d8e00002 arg bit_ble_transmit_packet_by_md ,queue 
+5817 20205828 branch le_clr_config 
+
+le_set_config_read_authentication:
+5818 d8e00003 arg bit_ble_read_auth ,queue 
+5819 20205824 branch le_set_config 
+
+le_clr_config_read_authentication:
+581a d8e00003 arg bit_ble_read_auth ,queue 
+581b 20205828 branch le_clr_config 
+
+le_set_config_write_authentication:
+581c d8e00004 arg bit_ble_write_auth ,queue 
+581d 20205824 branch le_set_config 
+
+le_clr_config_write_authentication:
+581e d8e00004 arg bit_ble_write_auth ,queue 
+581f 20205828 branch le_clr_config 
+
+le_set_config_short_mult:
+5820 d8e00005 arg bit_ble_short_mult ,queue 
+5821 20205824 branch le_set_config 
+
+le_clr_config_short_mult:
+5822 d8e00005 arg bit_ble_short_mult ,queue 
+5823 20205828 branch le_clr_config 
+
+le_set_config:
+5824 6800c4e9 fetch 1 ,mem_le_configuration 
+5825 f9207e00 qset1 pdata 
+5826 6000c4e9 store 1 ,mem_le_configuration 
+5827 20600000 rtn 
+
+le_clr_config:
+5828 6800c4e9 fetch 1 ,mem_le_configuration 
+5829 f93ffe00 qset0 pdata 
+582a 6000c4e9 store 1 ,mem_le_configuration 
+582b 20600000 rtn 
+
+le_set_fixed_ltk:
+582c 58112233 setarg 0x112233 
+582d 6001c4ea store 3 ,mem_le_fixed_ltk 
+582e 58445566 setarg 0x445566 
+582f e0a18000 istore 3 ,contw 
+5830 58778899 setarg 0x778899 
+5831 e0a18000 istore 3 ,contw 
+5832 58001122 setarg 0x001122 
+5833 e0a18000 istore 3 ,contw 
+5834 58334455 setarg 0x334455 
+5835 e0a18000 istore 3 ,contw 
+5836 58000066 setarg 0x66 
+5837 e0a08000 istore 1 ,contw 
+5838 20600000 rtn 
+
+le_set_justwork:
+5839 59000302 setarg 0x01000302 
+583a 60024453 store 4 ,mem_le_pres 
+583b 58010010 setarg 0x010010 
+583c 6001c457 store 3 ,mem_le_pres_max_keysize 
+583d 7044c601 jam 1 ,mem_le_pairing_mode 
+583e 20600000 rtn 
+
+le_fifo_malloc_tx_empty:
+583f da200000 arg 0 ,rega 
+5840 d8200001 arg llid_empty ,type 
+5841 20205850 branch le_fifo_malloc_tx 
+
+le_fifo_malloc_tx_ll:
+5842 d8200003 arg llid_le_ll ,type 
+5843 20405850 call le_fifo_malloc_tx 
+5844 1a427e00 copy regb ,pdata 
+5845 e0a08000 istore 1 ,contw 
+5846 20600000 rtn 
+
+le_fifo_malloc_tx_l2cap:
+5847 18000202 force llid_l2cap_start ,type 
+5848 1a20a204 increase 4 ,rega 
+5849 20405850 call le_fifo_malloc_tx 
+584a 1a20a3fc increase -4 ,rega 
+584b 1a227e00 copy rega ,pdata 
+584c e0a10000 istore 2 ,contw 
+584d 1a427e00 copy regb ,pdata 
+584e e0a10000 istore 2 ,contw 
+584f 20600000 rtn 
+
+le_fifo_malloc_tx:
+5850 1a267cf0 sub rega ,240 ,null 
+5851 24212a8c nbranch assert ,positive 
+5852 6800c4ff fetch 1 ,mem_le_tx_buff_used 
+5853 d8400001 arg 1 ,temp 
+5854 df200004 arg le_tx_buff_count ,loopcnt 
+
+le_fifo_malloc_tx_loop:
+5855 98417c00 iand temp ,null 
+5856 2022d85a branch le_fifo_malloc_tx_got_empty ,zero 
+5857 18438400 lshift temp ,temp 
+5858 c2005855 loop le_fifo_malloc_tx_loop 
+5859 20202a8c branch assert 
+
+le_fifo_malloc_tx_got_empty:
+585a 9842fe00 ixor temp ,pdata 
+585b 6000c4ff store 1 ,mem_le_tx_buff_used 
+585c 1f267e04 sub loopcnt ,le_tx_buff_count ,pdata 
+585d 1ff27e00 lshift4 pdata ,pdata 
+585e 1ff27e00 lshift4 pdata ,pdata 
+585f d8401800 arg mem_le_tx_buffer0 ,temp 
+5860 98408400 iadd temp ,temp 
+
+le_fifo_tx_find_empty_ptr:
+5861 df200000 arg 0 ,loopcnt 
+5862 d8c04500 arg mem_le_tx_ptr0 ,contr 
+
+le_fifo_tx_find_empty_ptr_loop:
+5863 e8c10000 ifetch 2 ,contr 
+5864 203a5869 branch le_fifo_tx_found_empty_ptr ,blank 
+5865 1f227e00 copy loopcnt ,pdata 
+5866 1f20f201 increase 1 ,loopcnt 
+5867 c0825863 bne le_tx_buff_count ,le_fifo_tx_find_empty_ptr_loop 
+5868 20202a8c branch assert 
+
+le_fifo_tx_found_empty_ptr:
+5869 18c08dfe increase -2 ,contr 
+586a e0c90000 istoret 2 ,contr 
+586b 18420a00 copy temp ,contw 
+586c 1a227e00 copy rega ,pdata 
+586d e0a08000 istore 1 ,contw 
+586e 58000000 setarg 0 
+586f e0a08000 istore 1 ,contw 
+5870 18227e00 copy type ,pdata 
+5871 e0a08000 istore 1 ,contw 
+5872 20600000 rtn 
+
+le_fifo_get_first_tx_ptr:
+5873 68014500 fetch 2 ,mem_le_tx_ptr0 
+5874 1fe20c00 copy pdata ,contr 
+5875 20600000 rtn 
+
+le_fifo_get_second_tx_ptr:
+5876 68014502 fetch 2 ,mem_le_tx_ptr1 
+5877 1fe20c00 copy pdata ,contr 
+5878 20600000 rtn 
+
+le_fifo_get_last_tx_ptr:
+5879 2040587c call le_fifo_get_last_tx_ptr0 
+587a 1fe20c00 copy pdata ,contr 
+587b 20600000 rtn 
+
+le_fifo_get_last_tx_ptr0:
+587c 68014506 fetch 2 ,mem_le_tx_ptr3 
+587d 247a0000 nrtn blank 
+587e 68014504 fetch 2 ,mem_le_tx_ptr2 
+587f 247a0000 nrtn blank 
+5880 68014502 fetch 2 ,mem_le_tx_ptr1 
+5881 247a0000 nrtn blank 
+5882 68014500 fetch 2 ,mem_le_tx_ptr0 
+5883 20600000 rtn 
+
+le_fifo_get_first_l2cap_ptr:
+5884 20405873 call le_fifo_get_first_tx_ptr 
+5885 18c08c03 increase 3 ,contr 
+5886 20600000 rtn 
+
+le_fifo_get_first_att_ptr:
+5887 20405873 call le_fifo_get_first_tx_ptr 
+5888 18c08c07 increase 7 ,contr 
+5889 20600000 rtn 
+
+le_fifo_get_last_att_ptr:
+588a 20405879 call le_fifo_get_last_tx_ptr 
+588b 18c08c07 increase 7 ,contr 
+588c 20600000 rtn 
+
+le_fifo_get_last_l2cap_ptr:
+588d 20405879 call le_fifo_get_last_tx_ptr 
+588e 18c08c03 increase 3 ,contr 
+588f 20600000 rtn 
+
+le_fifo_check_full:
+5890 68014506 fetch 2 ,mem_le_tx_ptr3 
+5891 20600000 rtn 
+
+le_fifo_check_nearly_full:
+5892 68014504 fetch 2 ,mem_le_tx_ptr2 
+5893 20600000 rtn 
+
+le_fifo_check_empty:
+5894 68014500 fetch 2 ,mem_le_tx_ptr0 
+5895 20600000 rtn 
+
+le_fifo_release_first_node:
+5896 68014500 fetch 2 ,mem_le_tx_ptr0 
+5897 d8401800 arg mem_le_tx_buffer0 ,temp 
+5898 98467e00 isub temp ,pdata 
+5899 1ff1fe00 rshift4 pdata ,pdata 
+589a 1ff18e00 rshift4 pdata ,queue 
+589b 6800c4ff fetch 1 ,mem_le_tx_buff_used 
+589c f93ffe00 qset0 pdata 
+589d 6000c4ff store 1 ,mem_le_tx_buff_used 
+589e df200000 arg 0 ,loopcnt 
+
+le_fifo_release_first_node_loop:
+589f 1f23fe00 lshift loopcnt ,pdata 
+58a0 d8404502 arg mem_le_tx_ptr1 ,temp 
+58a1 98408400 iadd temp ,temp 
+58a2 e8410000 ifetch 2 ,temp 
+58a3 184085fe increase -2 ,temp 
+58a4 e0410000 istore 2 ,temp 
+58a5 1f227e00 copy loopcnt ,pdata 
+58a6 1f20f201 increase 1 ,loopcnt 
+58a7 c081d89f bne le_tx_buff_update_loopcnt ,le_fifo_release_first_node_loop 
+58a8 58000000 setarg 0 
+58a9 e0410000 istore 2 ,temp 
+58aa 20600000 rtn 
+
+le_parse_att:
+58ab e8c18000 ifetch 3 ,contr 
+58ac 60018477 store 3 ,mem_le_att_opcode 
+58ad c00158c1 beq attop_exchange_mtu_request ,le_parse_att_exchange_mtu_request 
+58ae c001d8c9 beq attop_exchange_mtu_response ,le_parse_att_exchange_mtu_response 
+58af c00258cc beq attop_find_information_request ,le_parse_att_find_information_request 
+58b0 c00358f2 beq attop_find_by_type_value_request ,le_parse_att_find_by_type_value_request 
+58b1 c004593f beq attop_read_by_type_request ,le_parse_att_read_by_type_request 
+58b2 c00559bc beq attop_read_request ,le_parse_att_read_request 
+58b3 c00659e4 beq attop_read_blob_request ,le_parse_att_read_blob_request 
+58b4 c00859fa beq attop_read_by_group_type_request ,le_parse_att_read_by_group_type_request 
+58b5 c0095a2f beq attop_write_request ,le_parse_att_write_request 
+58b6 c00b5a48 beq attop_prepare_write_request ,le_parse_att_prepare_write_request 
+58b7 c00c5a5b beq attop_execute_write_request ,le_parse_att_execute_write_request 
+58b8 c0295a60 beq attop_write_command ,le_parse_att_write_command 
+58b9 20600000 rtn 
+
+le_send_att_exchange_mtu_requset:
+58ba 18002203 force 3 ,rega 
+58bb 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+58bc 58000002 setarg attop_exchange_mtu_request 
+58bd e0a08000 istore 1 ,contw 
+58be 680144a6 fetch 2 ,mem_le_local_mtu 
+58bf e0a10000 istore 2 ,contw 
+58c0 20600000 rtn 
+
+le_parse_att_exchange_mtu_request:
+58c1 204058c9 call le_parse_att_exchange_mtu_response 
+
+le_send_att_exchange_mtu_response:
+58c2 18002203 force 3 ,rega 
+58c3 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+58c4 58000003 setarg attop_exchange_mtu_response 
+58c5 e0a08000 istore 1 ,contw 
+58c6 680144a6 fetch 2 ,mem_le_local_mtu 
+58c7 e0a10000 istore 2 ,contw 
+58c8 20600000 rtn 
+
+le_parse_att_exchange_mtu_response:
+58c9 1fecfe00 rshift8 pdata ,pdata 
+58ca 600144a8 store 2 ,mem_le_remote_mtu 
+58cb 20600000 rtn 
+
+le_parse_att_find_information_request:
+58cc 20405ab1 call le_get_search_handle_start_end_common 
+58cd 20407fe7 call enable_user 
+58ce 202058cf branch le_send_att_find_information_response 
+
+le_send_att_find_information_response:
+58cf d9600003 arg 3 ,timeup 
+58d0 20405756 call le_init_attlist_search 
+
+le_send_att_find_information_res_loop:
+58d1 2040575f call le_att_handle_inrange 
+58d2 203a58f0 branch le_send_att_find_information_res_end ,blank 
+58d3 242158ed nbranch le_send_att_find_information_res_next ,positive 
+58d4 18c08dfe increase -2 ,contr 
+58d5 20407ea5 call store_contr 
+58d6 20407e9c call get_contw 
+58d7 243458e1 nbranch le_send_att_find_information_res_store_info ,user 
+58d8 20407e85 call push_stack_rega_b_c 
+58d9 20407fe9 call disable_user 
+58da 18002214 force 20 ,rega 
+58db 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+58dc 20407e95 call pop_stack_rega_b_c 
+58dd 58000005 setarg attop_find_information_response 
+58de e0a08000 istore 1 ,contw 
+58df 58000001 setarg uuid_size_16bit 
+58e0 e0a08000 istore 1 ,contw 
+
+le_send_att_find_information_res_store_info:
+58e1 20407e9f call get_contr 
+58e2 e8c10000 ifetch 2 ,contr 
+58e3 e0a10000 istore 2 ,contw 
+58e4 e8c08000 ifetch 1 ,contr 
+58e5 1fe27200 copy pdata ,loopcnt 
+58e6 20407f01 call memcpy 
+58e7 20407ea2 call store_contw 
+58e8 196097ff increase -1 ,timeup 
+58e9 2022d8f0 branch le_send_att_find_information_res_end ,zero 
+
+le_send_att_find_information_res_cont:
+58ea e8c08000 ifetch 1 ,contr 
+58eb 98c08c00 iadd contr ,contr 
+58ec 202058d1 branch le_send_att_find_information_res_loop 
+
+le_send_att_find_information_res_next:
+58ed e8c08000 ifetch 1 ,contr 
+58ee 98c08c00 iadd contr ,contr 
+58ef 202058ea branch le_send_att_find_information_res_cont 
+
+le_send_att_find_information_res_end:
+58f0 20345a76 branch le_send_att_error_response_notfound ,user 
+58f1 20205aa5 branch le_send_auto_len_by_mem 
+
+le_parse_att_find_by_type_value_request:
+58f2 20405ab1 call le_get_search_handle_start_end_common 
+58f3 e8c10000 ifetch 2 ,contr 
+58f4 60014472 store 2 ,mem_le_search_uuid 
+58f5 20407ea5 call store_contr 
+58f6 d8a0445e arg mem_le_search_att_type_length ,contw 
+58f7 680144fc fetch 2 ,mem_le_l2cap_size 
+58f8 1fe0fff9 increase -7 ,pdata 
+58f9 204056db call le_get_search_common2 
+58fa 20205905 branch le_send_att_find_by_type_value_response 
+
+le_start_end_handle_check_1:
+58fb 78547c00 disable user 
+58fc 6809445a fetcht 2 ,mem_le_search_handle_start 
+58fd 6801445c fetch 2 ,mem_le_search_handle_end 
+58fe 98467c00 isub temp ,null 
+58ff 24215902 nbranch le_start_end_handle_check_1_fail ,positive 
+5900 18427e00 deposit temp 
+5901 c1800000 rtnne 0 
+
+le_start_end_handle_check_1_fail:
+5902 78347c00 enable user 
+5903 70047a01 jam att_err_invalid_handle ,mem_le_err_code 
+5904 20205a77 branch le_send_att_error_response 
+
+le_send_att_find_by_type_value_response:
+5905 204058fb call le_start_end_handle_check_1 
+5906 20740000 rtn user 
+5907 68094472 fetcht 2 ,mem_le_search_uuid 
+5908 58002800 setarg uuid_gatt_primary_service 
+5909 98467c00 isub temp ,null 
+590a 2022d90c branch le_send_att_find_by_type_value_res_primary ,zero 
+590b 20205a76 branch le_send_att_error_response_notfound 
+
+le_send_att_find_by_type_value_res_primary:
+590c 7004b400 jam le_find_by_type_val_res_not_found ,mem_le_search_res 
+590d 6809445a fetcht 2 ,mem_le_search_handle_start 
+590e 60090aa2 storet 2 ,mem_temp 
+590f 2040578c call le_att_get_handle_info 
+5910 243a5a76 nbranch le_send_att_error_response_notfound ,blank 
+
+le_send_att_find_primary_search_loop:
+5911 68090aa2 fetcht 2 ,mem_temp 
+5912 2040578c call le_att_get_handle_info 
+5913 243a5925 nbranch le_send_att_error_response_notfound2 ,blank 
+5914 18c22200 copy contr ,rega 
+5915 680084b3 fetch 1 ,mem_le_curr_att_len 
+5916 1fe27200 copy pdata ,loopcnt 
+5917 6808c45e fetcht 1 ,mem_le_search_att_type_length 
+5918 98467c00 isub temp ,null 
+5919 2422d921 nbranch le_send_att_find_primary_search_loop1 ,zero 
+591a da40445f arg mem_le_search_att_type ,regb 
+591b 20407f88 call string_compare 
+591c 2022d928 branch le_send_att_find_primary_search_end_start_handle_found ,zero 
+591d 680104a3 fetch 2 ,mem_le_cur_uuid 
+591e 68094472 fetcht 2 ,mem_le_search_uuid 
+591f 98467c00 isub temp ,null 
+5920 2022d930 branch le_send_att_find_primary_search_end_ending_handle_found ,zero 
+
+le_send_att_find_primary_search_loop1:
+5921 68010aa2 fetch 2 ,mem_temp 
+5922 1fe0fe01 increase 1 ,pdata 
+5923 60010aa2 store 2 ,mem_temp 
+5924 20205911 branch le_send_att_find_primary_search_loop 
+
+le_send_att_error_response_notfound2:
+5925 680084b4 fetch 1 ,mem_le_search_res 
+5926 c000d930 beq le_find_by_type_val_res_found_starting_handle ,le_send_att_find_primary_search_end_ending_handle_found 
+5927 20205a76 branch le_send_att_error_response_notfound 
+
+le_send_att_find_primary_search_end_start_handle_found:
+5928 680104a3 fetch 2 ,mem_le_cur_uuid 
+5929 68094472 fetcht 2 ,mem_le_search_uuid 
+592a 98467c00 isub temp ,null 
+592b 2422d921 nbranch le_send_att_find_primary_search_loop1 ,zero 
+592c 7004b401 jam le_find_by_type_val_res_found_starting_handle ,mem_le_search_res 
+592d 68090aa2 fetcht 2 ,mem_temp 
+592e 6009049e storet 2 ,mem_le_cur_handle_start 
+592f 20205921 branch le_send_att_find_primary_search_loop1 
+
+le_send_att_find_primary_search_end_ending_handle_found:
+5930 680084b4 fetch 1 ,mem_le_search_res 
+5931 c0005921 beq le_find_by_type_val_res_not_found ,le_send_att_find_primary_search_loop1 
+5932 7004b402 jam le_find_by_type_val_res_found_ending_handle ,mem_le_search_res 
+5933 68090aa2 fetcht 2 ,mem_temp 
+5934 184085ff increase -1 ,temp 
+5935 600904a0 storet 2 ,mem_le_cur_handle_end 
+
+le_send_att_find_primary_search_end:
+5936 da200005 arg 5 ,rega 
+5937 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+5938 58000007 setarg attop_find_by_type_value_response 
+5939 e0a08000 istore 1 ,contw 
+593a 6801049e fetch 2 ,mem_le_cur_handle_start 
+593b e0a10000 istore 2 ,contw 
+593c 680104a0 fetch 2 ,mem_le_cur_handle_end 
+593d e0a10000 istore 2 ,contw 
+593e 20600000 rtn 
+
+le_parse_att_read_by_type_request:
+593f 20405ab1 call le_get_search_handle_start_end_common 
+5940 204056df call le_get_search_att_uuid 
+5941 20205942 branch le_send_att_read_by_type_response 
+
+le_send_att_read_by_type_response:
+5942 6809445a fetcht 2 ,mem_le_search_handle_start 
+5943 60090aa2 storet 2 ,mem_temp 
+5944 20405756 call le_init_attlist_search 
+5945 2040576d call le_att_get_handle_ptr2 
+5946 18c08dfe increase -2 ,contr 
+5947 18c27e00 copy contr ,pdata 
+5948 6001049c store 2 ,mem_le_cur_attlist_start_ptr 
+5949 68094472 fetcht 2 ,mem_le_search_uuid 
+594a 58002a00 setarg uuid_chrctr_device_name 
+594b 98467c00 isub temp ,null 
+594c 2022d9a8 branch le_send_att_read_by_type_res_device_name ,zero 
+594d 58002803 setarg uuid_gatt_characteristic 
+594e 98467c00 isub temp ,null 
+594f 2422d990 nbranch le_send_att_read_by_type_res_not_characteristic ,zero 
+5950 d9600002 arg 2 ,timeup 
+
+le_send_att_read_by_type_response_loop:
+5951 20405a88 call le_att_check_handle_end 
+5952 2421596d nbranch le_send_att_read_by_type_response_end ,positive 
+5953 68090aa2 fetcht 2 ,mem_temp 
+5954 2040578a call le_att_get_handle_info_from_ptr 
+5955 c000d96d beq 1 ,le_send_att_read_by_type_response_end 
+5956 20405a94 call le_att_same_uuid 
+5957 2422d96b nbranch le_send_att_read_by_type_response_next_handle ,zero 
+5958 2434596f nbranch le_send_att_read_by_type_res_found_next ,user 
+5959 78547c00 disable user 
+595a da200014 arg 20 ,rega 
+595b 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+595c 58000009 setarg attop_read_by_type_response 
+595d e0a08000 istore 1 ,contw 
+595e 18a26000 copy contw ,alarm 
+595f 18a08a01 increase 1 ,contw 
+5960 2040597d call le_send_att_read_by_type_write_properties 
+5961 20405a84 call le_att_next_handle 
+5962 2040578a call le_att_get_handle_info_from_ptr 
+5963 20405984 call le_send_att_read_by_type_write_uuid 
+5964 680084a2 fetch 1 ,mem_le_cur_uuid_length 
+5965 1fe0fe05 increase 5 ,pdata 
+5966 e6008000 istore 1 ,alarm 
+5967 680084a2 fetch 1 ,mem_le_cur_uuid_length 
+5968 c008596d beq 16 ,le_send_att_read_by_type_response_end 
+5969 196097ff increase -1 ,timeup 
+596a 2022d96d branch le_send_att_read_by_type_response_end ,zero 
+
+le_send_att_read_by_type_response_next_handle:
+596b 20405a84 call le_att_next_handle 
+596c 20205951 branch le_send_att_read_by_type_response_loop 
+
+le_send_att_read_by_type_response_end:
+596d 20345a76 branch le_send_att_error_response_notfound ,user 
+596e 20205aa5 branch le_send_auto_len_by_mem 
+
+le_send_att_read_by_type_res_found_next:
+596f 20405a97 call le_store_att_record 
+5970 20405a84 call le_att_next_handle 
+5971 2040578a call le_att_get_handle_info_from_ptr 
+5972 680084a2 fetch 1 ,mem_le_cur_uuid_length 
+5973 c008596d beq 16 ,le_send_att_read_by_type_response_end 
+5974 20407e9c call get_contw 
+5975 68010aa2 fetch 2 ,mem_temp 
+5976 1fe0ffff increase -1 ,pdata 
+5977 e0a10000 istore 2 ,contw 
+5978 20405aa1 call le_write_att_record_common 
+5979 20405984 call le_send_att_read_by_type_write_uuid 
+597a 196097ff increase -1 ,timeup 
+597b 2022d96d branch le_send_att_read_by_type_response_end ,zero 
+597c 2020596b branch le_send_att_read_by_type_response_next_handle 
+
+le_send_att_read_by_type_write_properties:
+597d 68010aa2 fetch 2 ,mem_temp 
+597e e0a10000 istore 2 ,contw 
+597f 680084b3 fetch 1 ,mem_le_curr_att_len 
+5980 1fe27200 copy pdata ,loopcnt 
+5981 20407e9f call get_contr 
+5982 20407ef4 call memcpy_fast 
+5983 20207ea2 branch store_contw 
+
+le_send_att_read_by_type_write_uuid:
+5984 20407e9c call get_contw 
+5985 68010aa2 fetch 2 ,mem_temp 
+5986 e0a10000 istore 2 ,contw 
+5987 20407ea2 call store_contw 
+5988 680084a2 fetch 1 ,mem_le_cur_uuid_length 
+5989 1fe27200 copy pdata ,loopcnt 
+598a 20407e9c call get_contw 
+598b 20407e9f call get_contr 
+598c 9f260c00 isub loopcnt ,contr 
+598d 18c08dff increase -1 ,contr 
+598e 20407ef4 call memcpy_fast 
+598f 20207ea2 branch store_contw 
+
+le_send_att_read_by_type_res_not_characteristic:
+5990 6809445a fetcht 2 ,mem_le_search_handle_start 
+5991 60090aa2 storet 2 ,mem_temp 
+
+le_send_att_read_by_type_res_not_char_loop:
+5992 20405a88 call le_att_check_handle_end 
+5993 24215a76 nbranch le_send_att_error_response_notfound ,positive 
+5994 2040578a call le_att_get_handle_info_from_ptr 
+5995 c000da76 beq 1 ,le_send_att_error_response_notfound 
+5996 20405a94 call le_att_same_uuid 
+5997 2422d9a6 nbranch le_send_att_read_by_type_res_not_char_next ,zero 
+
+le_send_att_read_by_type_res_not_char_common:
+5998 da200014 arg 20 ,rega 
+5999 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+599a 58000009 setarg attop_read_by_type_response 
+599b e0a08000 istore 1 ,contw 
+599c 680084b3 fetch 1 ,mem_le_curr_att_len 
+599d 1fe27200 copy pdata ,loopcnt 
+599e 1fe0fe02 increase 2 ,pdata 
+599f e0a08000 istore 1 ,contw 
+59a0 68010aa2 fetch 2 ,mem_temp 
+59a1 e0a10000 istore 2 ,contw 
+59a2 20407e9f call get_contr 
+59a3 20407ef4 call memcpy_fast 
+59a4 20407ea2 call store_contw 
+59a5 20205aa5 branch le_send_auto_len_by_mem 
+
+le_send_att_read_by_type_res_not_char_next:
+59a6 20405a84 call le_att_next_handle 
+59a7 20205992 branch le_send_att_read_by_type_res_not_char_loop 
+
+le_send_att_read_by_type_res_device_name:
+59a8 d8402a00 arg uuid_chrctr_device_name ,temp 
+59a9 2040577c call le_att_get_short_uuid_ptr 
+59aa 207a0000 rtn blank 
+59ab 18c08dfb increase -5 ,contr 
+59ac e8c10000 ifetch 2 ,contr 
+59ad 60010aa2 store 2 ,mem_temp 
+59ae da200014 arg 20 ,rega 
+59af 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+59b0 58000009 setarg attop_read_by_type_response 
+59b1 e0a08000 istore 1 ,contw 
+59b2 6800c3af fetch 1 ,mem_le_name_len 
+59b3 1fe27200 copy pdata ,loopcnt 
+59b4 1fe0fe02 increase 2 ,pdata 
+59b5 e0a08000 istore 1 ,contw 
+59b6 68010aa2 fetch 2 ,mem_temp 
+59b7 e0a10000 istore 2 ,contw 
+59b8 d8c043b0 arg mem_le_name ,contr 
+59b9 20407ef4 call memcpy_fast 
+59ba 20407ea2 call store_contw 
+59bb 20205aa5 branch le_send_auto_len_by_mem 
+
+le_parse_att_read_request:
+59bc 68090478 fetcht 2 ,mem_le_att_handle 
+59bd 6800c4e9 fetch 1 ,mem_le_configuration 
+59be c281d9dd bbit1 bit_ble_read_auth ,le_send_att_read_response_check_auth 
+
+le_send_att_read_response:
+59bf 2040576a call le_att_get_handle_ptr 
+59c0 203a5a76 branch le_send_att_error_response_notfound ,blank 
+59c1 18c08dfe increase -2 ,contr 
+59c2 e8c10000 ifetch 2 ,contr 
+59c3 d8402a00 arg uuid_chrctr_device_name ,temp 
+59c4 98467c00 isub temp ,null 
+59c5 2022d9d3 branch le_send_device_name ,zero 
+59c6 e8c08000 ifetch 1 ,contr 
+59c7 1fe67c16 sub pdata ,22 ,null 
+59c8 202159ca branch le_send_att_read_response_less ,positive 
+59c9 18007e16 force 22 ,pdata 
+
+le_send_att_read_response_less:
+59ca 1fe22600 copy pdata ,regc 
+59cb 20407ea5 call store_contr 
+59cc 1a60a201 add regc ,1 ,rega 
+59cd 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+59ce 5800000b setarg attop_read_response 
+59cf e0a08000 istore 1 ,contw 
+59d0 1a627200 copy regc ,loopcnt 
+59d1 20407e9f call get_contr 
+59d2 20207f01 branch memcpy 
+
+le_send_device_name:
+59d3 20407ea5 call store_contr 
+59d4 6800c3af fetch 1 ,mem_le_name_len 
+59d5 1fe0a201 add pdata ,1 ,rega 
+59d6 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+59d7 5800000b setarg attop_read_response 
+59d8 e0a08000 istore 1 ,contw 
+59d9 6800c3af fetch 1 ,mem_le_name_len 
+59da 1fe27200 copy pdata ,loopcnt 
+59db d8c043b0 arg mem_le_name ,contr 
+59dc 20207f01 branch memcpy 
+
+le_send_att_read_response_check_auth:
+59dd 680144fa fetch 2 ,mem_le_pairing_handle 
+59de 98467c00 isub temp ,null 
+59df 2422d9bf nbranch le_send_att_read_response ,zero 
+59e0 20405a42 call le_check_encrypt_state 
+59e1 243459bf nbranch le_send_att_read_response ,user 
+59e2 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
+59e3 20205a77 branch le_send_att_error_response 
+
+le_parse_att_read_blob_request:
+59e4 e8c10000 ifetch 2 ,contr 
+59e5 6001445e store 2 ,mem_le_att_offset 
+
+le_send_att_read_blob_response:
+59e6 da200014 arg 20 ,rega 
+59e7 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+59e8 5800000d setarg attop_read_blob_response 
+59e9 e0a08000 istore 1 ,contw 
+59ea 6801445e fetch 2 ,mem_le_att_offset 
+59eb 98002200 iforce rega 
+59ec 68090478 fetcht 2 ,mem_le_att_handle 
+59ed 2040576a call le_att_get_handle_ptr 
+59ee 203a5a76 branch le_send_att_error_response_notfound ,blank 
+59ef e8c08000 ifetch 1 ,contr 
+59f0 9a267200 isub rega ,loopcnt 
+59f1 24215a76 nbranch le_send_att_error_response_notfound ,positive 
+59f2 1f267c16 sub loopcnt ,22 ,null 
+59f3 202159f5 branch le_send_att_read_blob_response_less ,positive 
+59f4 18007216 force 22 ,loopcnt 
+
+le_send_att_read_blob_response_less:
+59f5 1a227e00 deposit rega 
+59f6 98c08c00 iadd contr ,contr 
+59f7 20407ef4 call memcpy_fast 
+59f8 20407ea2 call store_contw 
+59f9 20205aa5 branch le_send_auto_len_by_mem 
+
+le_parse_att_read_by_group_type_request:
+59fa 20405ab1 call le_get_search_handle_start_end_common 
+59fb 204056d7 call le_get_search_att_type 
+59fc 202059fd branch le_send_att_read_by_group_type_response 
+
+le_send_att_read_by_group_type_response:
+59fd d9600002 arg 2 ,timeup 
+59fe 6809445a fetcht 2 ,mem_le_search_handle_start 
+59ff 60090aa2 storet 2 ,mem_temp 
+5a00 20405756 call le_init_attlist_search 
+5a01 2040576d call le_att_get_handle_ptr2 
+5a02 18c08dfe increase -2 ,contr 
+5a03 18c27e00 copy contr ,pdata 
+5a04 6001049c store 2 ,mem_le_cur_attlist_start_ptr 
+
+le_send_att_read_by_group_type_response_loop:
+5a05 20405a88 call le_att_check_handle_end 
+5a06 24215a25 nbranch le_send_att_read_by_group_type_end0 ,positive 
+5a07 68090aa2 fetcht 2 ,mem_temp 
+5a08 2040578a call le_att_get_handle_info_from_ptr 
+5a09 c000da28 beq 1 ,le_send_att_read_by_group_type_end1 
+5a0a 20405a8c call le_att_same_type 
+5a0b 2422da23 nbranch le_send_att_read_by_group_type_next_handle ,zero 
+5a0c 19627e00 copy timeup ,pdata 
+5a0d c0005a28 beq 0 ,le_send_att_read_by_group_type_end1 
+5a0e 24345a19 nbranch le_send_att_read_by_group_type_store_write_record ,user 
+5a0f 78547c00 disable user 
+5a10 da200014 arg 20 ,rega 
+5a11 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+5a12 58000011 setarg attop_read_by_group_type_response 
+5a13 e0a08000 istore 1 ,contw 
+5a14 680084b3 fetch 1 ,mem_le_curr_att_len 
+5a15 1fe0fe04 increase 4 ,pdata 
+5a16 e0a08000 istore 1 ,contw 
+5a17 20407ea2 call store_contw 
+5a18 20205a1f branch le_send_att_read_by_group_type_store_record 
+
+le_send_att_read_by_group_type_store_write_record:
+5a19 680084b3 fetch 1 ,mem_le_curr_att_len 
+5a1a c0085a28 beq 16 ,le_send_att_read_by_group_type_end1 
+5a1b 68010aa2 fetch 2 ,mem_temp 
+5a1c 1fe0ffff increase -1 ,pdata 
+5a1d 600104a0 store 2 ,mem_le_cur_handle_end 
+5a1e 20405a9c call le_write_att_record 
+
+le_send_att_read_by_group_type_store_record:
+5a1f 68010aa2 fetch 2 ,mem_temp 
+5a20 6001049e store 2 ,mem_le_cur_handle_start 
+5a21 20405a97 call le_store_att_record 
+5a22 196097ff increase -1 ,timeup 
+
+le_send_att_read_by_group_type_next_handle:
+5a23 20405a84 call le_att_next_handle 
+5a24 20205a05 branch le_send_att_read_by_group_type_response_loop 
+
+le_send_att_read_by_group_type_end0:
+5a25 68010aa2 fetch 2 ,mem_temp 
+5a26 600104a0 store 2 ,mem_le_cur_handle_end 
+5a27 20205a2c branch le_send_att_read_by_group_type_end_common 
+
+le_send_att_read_by_group_type_end1:
+5a28 68010aa2 fetch 2 ,mem_temp 
+5a29 1fe0ffff increase -1 ,pdata 
+5a2a 600104a0 store 2 ,mem_le_cur_handle_end 
+5a2b 20205a2c branch le_send_att_read_by_group_type_end_common 
+
+le_send_att_read_by_group_type_end_common:
+5a2c 20345a76 branch le_send_att_error_response_notfound ,user 
+5a2d 20405a9c call le_write_att_record 
+5a2e 20205aa5 branch le_send_auto_len_by_mem 
+
+le_parse_att_write_request:
+5a2f 18c22200 copy contr ,rega 
+5a30 680144fc fetch 2 ,mem_le_l2cap_size 
+5a31 1fe0a5fd add pdata ,-3 ,regb 
+5a32 204056e2 call le_writeatt_cb 
+
+le_send_att_write_response_check_auth:
+5a33 6800c4e9 fetch 1 ,mem_le_configuration 
+5a34 c3025a3d bbit0 bit_ble_write_auth ,le_send_att_write_response 
+5a35 68090478 fetcht 2 ,mem_le_att_handle 
+5a36 680144fa fetch 2 ,mem_le_pairing_handle 
+5a37 98467c00 isub temp ,null 
+5a38 2422da3d nbranch le_send_att_write_response ,zero 
+5a39 20405a42 call le_check_encrypt_state 
+5a3a 24345a3d nbranch le_send_att_write_response ,user 
+5a3b 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
+5a3c 20205a77 branch le_send_att_error_response 
+
+le_send_att_write_response:
+5a3d 18002201 force 1 ,rega 
+5a3e 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+5a3f 58000013 setarg attop_write_response 
+5a40 e0a08000 istore 1 ,contw 
+5a41 20600000 rtn 
+
+le_check_encrypt_state:
+5a42 20407fe9 call disable_user 
+5a43 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5a44 c1000000 rtneq le_pairing_mode_none 
+5a45 6800c040 fetch 1 ,mem_context 
+5a46 c3820000 rtnbit1 lestate_encryption 
+5a47 20207fe7 branch enable_user 
+
+le_parse_att_prepare_write_request:
+5a48 18c0a202 add contr ,2 ,rega 
+5a49 680144fc fetch 2 ,mem_le_l2cap_size 
+5a4a 1fe0a5fb add pdata ,-5 ,regb 
+5a4b 204056e2 call le_writeatt_cb 
+5a4c 20205a4d branch le_send_att_prepare_write_response 
+
+le_send_att_prepare_write_response:
+5a4d 680144fc fetch 2 ,mem_le_l2cap_size 
+5a4e 1fe22200 copy pdata ,rega 
+5a4f 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+5a50 58000017 setarg attop_prepare_write_response 
+5a51 e0a08000 istore 1 ,contw 
+5a52 68010478 fetch 2 ,mem_le_att_handle 
+5a53 e0a10000 istore 2 ,contw 
+5a54 680144fc fetch 2 ,mem_le_l2cap_size 
+5a55 1fe0f3fb add pdata ,-5 ,loopcnt 
+5a56 6801450d fetch 2 ,mem_le_payload_ptr 
+5a57 1fe08c07 add pdata ,7 ,contr 
+5a58 e8c10000 ifetch 2 ,contr 
+5a59 e0a10000 istore 2 ,contw 
+5a5a 20207ef4 branch memcpy_fast 
+
+le_parse_att_execute_write_request:
+
+le_send_att_execute_write_response:
+5a5b 18002201 force 1 ,rega 
+5a5c 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+5a5d 58000019 setarg attop_execute_write_response 
+5a5e e0a08000 istore 1 ,contw 
+5a5f 20600000 rtn 
+
+le_parse_att_write_command:
+5a60 18c22200 copy contr ,rega 
+5a61 680144fc fetch 2 ,mem_le_l2cap_size 
+5a62 1fe0a5fd add pdata ,-3 ,regb 
+5a63 202056e2 branch le_writeatt_cb 
+
+le_att_malloc_tx_notify:
+5a64 18422600 copy temp ,regc 
+5a65 1a20a203 increase 3 ,rega 
+5a66 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+5a67 1a20a3fd increase -3 ,rega 
+5a68 5800001b setarg attop_handle_value_notification 
+5a69 e0a08000 istore 1 ,contw 
+5a6a 1a620400 copy regc ,temp 
+5a6b e0a90000 istoret 2 ,contw 
+5a6c 20600000 rtn 
+
+le_att_malloc_tx_indication:
+5a6d 18422600 copy temp ,regc 
+5a6e 1a20a203 increase 3 ,rega 
+5a6f 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+5a70 1a20a3fd increase -3 ,rega 
+5a71 5800001d setarg attop_handle_value_indication 
+5a72 e0a08000 istore 1 ,contw 
+5a73 1a620400 copy regc ,temp 
+5a74 e0a90000 istoret 2 ,contw 
+5a75 20600000 rtn 
+
+le_send_att_error_response_notfound:
+5a76 70047a0a jam att_err_attribute_not_found ,mem_le_err_code 
+
+le_send_att_error_response:
+5a77 18002205 force 5 ,rega 
+5a78 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+5a79 58000001 setarg attop_error_response 
+5a7a e0a08000 istore 1 ,contw 
+5a7b 68008477 fetch 1 ,mem_le_att_opcode 
+5a7c e0a08000 istore 1 ,contw 
+5a7d 68010478 fetch 2 ,mem_le_att_handle 
+5a7e e0a10000 istore 2 ,contw 
+5a7f 6800847a fetch 1 ,mem_le_err_code 
+5a80 e0a08000 istore 1 ,contw 
+5a81 20600000 rtn 
+
+le_fifo_malloc_tx_l2cap_gatt:
+5a82 18002404 force le_l2cap_cid_att ,regb 
+5a83 20205847 branch le_fifo_malloc_tx_l2cap 
+
+le_att_next_handle:
+5a84 68090aa2 fetcht 2 ,mem_temp 
+5a85 18408401 increase 1 ,temp 
+5a86 60090aa2 storet 2 ,mem_temp 
+5a87 20600000 rtn 
+
+le_att_check_handle_end:
+5a88 68090aa2 fetcht 2 ,mem_temp 
+5a89 6801445c fetch 2 ,mem_le_search_handle_end 
+5a8a 98467c00 isub temp ,null 
+5a8b 20600000 rtn 
+
+le_att_same_type:
+5a8c 6808c45e fetcht 1 ,mem_le_search_att_type_length 
+5a8d da20445f arg mem_le_search_att_type ,rega 
+
+le_att_check_same_common:
+5a8e 680084a2 fetch 1 ,mem_le_cur_uuid_length 
+5a8f 1fe27200 copy pdata ,loopcnt 
+5a90 98467c00 isub temp ,null 
+5a91 24628000 nrtn zero 
+5a92 da4004a3 arg mem_le_cur_uuid ,regb 
+5a93 20207f88 branch string_compare 
+
+le_att_same_uuid:
+5a94 6808c471 fetcht 1 ,mem_le_search_uuid_length 
+5a95 da204472 arg mem_le_search_uuid ,rega 
+5a96 20205a8e branch le_att_check_same_common 
+
+le_store_att_record:
+5a97 680084b3 fetch 1 ,mem_le_curr_att_len 
+5a98 60008101 store 1 ,mem_tmp_buffer 
+5a99 1fe27200 copy pdata ,loopcnt 
+5a9a 20407e9f call get_contr 
+5a9b 20207ef4 branch memcpy_fast 
+
+le_write_att_record:
+5a9c 20407e9c call get_contw 
+5a9d 6801049e fetch 2 ,mem_le_cur_handle_start 
+5a9e e0a10000 istore 2 ,contw 
+5a9f 680104a0 fetch 2 ,mem_le_cur_handle_end 
+5aa0 e0a10000 istore 2 ,contw 
+
+le_write_att_record_common:
+5aa1 68008101 fetch 1 ,mem_tmp_buffer 
+5aa2 1fe27200 copy pdata ,loopcnt 
+5aa3 20407ef4 call memcpy_fast 
+5aa4 20207ea2 branch store_contw 
+
+le_send_auto_len_by_mem:
+5aa5 20407e9c call get_contw 
+5aa6 2040588a call le_fifo_get_last_att_ptr 
+5aa7 18a27e00 copy contw ,pdata 
+5aa8 98c62200 isub contr ,rega 
+5aa9 2040588d call le_fifo_get_last_l2cap_ptr 
+5aaa 1a227e00 copy rega ,pdata 
+5aab e0c10000 istore 2 ,contr 
+5aac 1a20a204 increase 4 ,rega 
+5aad 20405879 call le_fifo_get_last_tx_ptr 
+5aae 1a227e00 copy rega ,pdata 
+5aaf e0c08000 istore 1 ,contr 
+5ab0 20600000 rtn 
+
+le_get_search_handle_start_end_common:
+5ab1 1fecfe00 rshift8 pdata ,pdata 
+5ab2 6001445a store 2 ,mem_le_search_handle_start 
+5ab3 e8c10000 ifetch 2 ,contr 
+5ab4 6001445c store 2 ,mem_le_search_handle_end 
+5ab5 20600000 rtn 
+
+le_parse_signaling:
+5ab6 e8c08000 ifetch 1 ,contr 
+5ab7 e8c88000 ifetcht 1 ,contr 
+5ab8 e8c90000 ifetcht 2 ,contr 
+5ab9 c009dabb beq l2cap_connection_parameter_update_response ,le_l2cap_parse_conn_parameter_update_rsp 
+5aba 20600000 rtn 
+
+le_l2cap_parse_conn_parameter_update_rsp:
+5abb e8c10000 ifetch 2 ,contr 
+5abc 60014509 store 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+5abd 700a9940 jam bt_evt_le_parse_conn_papa_update_rsp ,mem_fifo_temp 
+5abe 20207d86 branch ui_ipc_send_event 
+
+le_l2cap_tx_update_req:
+5abf da20000c arg 0x0c ,rega 
+5ac0 da600012 arg l2cap_connection_parameter_update_request ,regc 
+5ac1 20405ac7 call le_fifo_malloc_tx_l2cap_signaling 
+5ac2 58000008 setarg 0x08 
+5ac3 e0a10000 istore 2 ,contw 
+5ac4 68044496 fetch 8 ,mem_le_interval_min 
+5ac5 e0a40000 istore 8 ,contw 
+5ac6 20600000 rtn 
+
+le_fifo_malloc_tx_l2cap_signaling:
+5ac7 20405acf call le_l2cap_update_signaling_identifier 
+5ac8 da400005 arg le_l2cap_cid_signal ,regb 
+5ac9 20405847 call le_fifo_malloc_tx_l2cap 
+5aca 1a627e00 copy regc ,pdata 
+5acb e0a08000 istore 1 ,contw 
+5acc 6800c508 fetch 1 ,mem_le_signaling_identifier 
+5acd e0a08000 istore 1 ,contw 
+5ace 20600000 rtn 
+
+le_l2cap_update_signaling_identifier:
+5acf 6800c508 fetch 1 ,mem_le_signaling_identifier 
+5ad0 1fe0fe01 pincrease 1 
+5ad1 6000c508 store 1 ,mem_le_signaling_identifier 
+5ad2 c1800000 rtnne 0 
+
+le_l2cap_reset_signaling_identifier:
+5ad3 70450801 jam 1 ,mem_le_signaling_identifier 
+5ad4 20600000 rtn 
+
+le_pairing_mode_init:
+5ad5 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5ad6 c0005ae4 beq le_pairing_mode_none ,le_set_no_pairing 
+5ad7 c000dae7 beq le_pairing_mode_lagacy_justwork ,le_set_pairing_mode_lagacy_just_work 
+5ad8 c0015ae9 beq le_pairing_mode_lagacy_passkey ,le_set_pairing_mode_lagacy_passkey 
+5ad9 c040dadd beq le_pairing_mode_secure_connect_justwork ,le_set_pairing_mode_secure_justwork 
+5ada c0415adf beq le_pairing_mode_secure_connect_numeric ,le_set_pairing_mode_secure_numeric 
+5adb c041dae2 beq le_pairing_mode_secure_connect_passkey ,le_set_pairing_mode_secure_passkey 
+5adc 20600000 rtn 
+
+le_set_pairing_mode_secure_justwork:
+5add 7044560d jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+5ade 20205ae5 branch le_set_noinputnooutput 
+
+le_set_pairing_mode_secure_numeric:
+5adf 7044560d jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+5ae0 70445401 jam flag_iocap_displayyesno ,mem_le_pres_iocap 
+5ae1 20600000 rtn 
+
+le_set_pairing_mode_secure_passkey:
+5ae2 7044560d jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+5ae3 20205aea branch le_set_displayonly 
+
+le_set_no_pairing:
+5ae4 70445600 jam flag_le_no_bonding_no_mitm ,mem_le_pres_auth 
+
+le_set_noinputnooutput:
+5ae5 70445403 jam flag_iocap_noinputnooutput ,mem_le_pres_iocap 
+5ae6 20600000 rtn 
+
+le_set_pairing_mode_lagacy_just_work:
+5ae7 70445605 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+5ae8 20205ae5 branch le_set_noinputnooutput 
+
+le_set_pairing_mode_lagacy_passkey:
+5ae9 70445605 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+
+le_set_displayonly:
+5aea 70445400 jam flag_iocap_displayonly ,mem_le_pres_iocap 
+5aeb 20600000 rtn 
+
+le_secure_connection_enable:
+5aec 6800c456 fetch 1 ,mem_le_pres_auth 
+5aed 79207e03 set1 le_auth_secure_connection_pairing_bit ,pdata 
+5aee 6000c456 store 1 ,mem_le_pres_auth 
+5aef 20600000 rtn 
+
+le_secure_connection_disable:
+5af0 6800c456 fetch 1 ,mem_le_pres_auth 
+5af1 793ffe03 set0 le_auth_secure_connection_pairing_bit ,pdata 
+5af2 6000c456 store 1 ,mem_le_pres_auth 
+5af3 20600000 rtn 
+
+le_parse_smp:
+5af4 e8c08000 ifetch 1 ,contr 
+5af5 c000db09 beq smp_pairing_request ,le_parse_smp_pairing_request 
+5af6 c001db30 beq smp_pairing_confirm ,le_parse_smp_pairing_confirm 
+5af7 c0025b4d beq smp_pairing_random ,le_parse_smp_pairing_random 
+5af8 c002db5a beq smp_pairing_failed ,le_parse_smp_pairing_failed 
+5af9 c0035b80 beq smp_encryption_information ,le_parse_smp_encryption_information 
+5afa c003dbc4 beq smp_master_identification ,le_parse_smp_master_identification 
+5afb c0045baf beq smp_identity_information ,le_parse_smp_identity_information 
+5afc c004dbc0 beq smp_identity_address_information ,le_parse_smp_identity_address_information 
+5afd c0055bc4 beq smp_signing_information ,le_parse_smp_signing_information 
+5afe c005dbc4 beq smp_security_request ,le_parse_smp_security_request 
+5aff c0065bc5 beq smp_pairing_public_key ,le_parse_smp_public_key 
+5b00 c006dbca beq smp_pairing_dhkey_check ,le_parse_smp_dhkey_check 
+5b01 20600000 rtn 
+
+le_send_smp_security_request:
+5b02 18002202 force 2 ,rega 
+5b03 20405c62 call le_fifo_malloc_tx_l2cap_smp 
+5b04 5800000b setarg smp_security_request 
+5b05 e0a08000 istore 1 ,contw 
+5b06 6800c456 fetch 1 ,mem_le_pres_auth 
+5b07 e0a08000 istore 1 ,contw 
+5b08 20600000 rtn 
+
+le_parse_smp_pairing_request:
+5b09 6000c44c store 1 ,mem_le_preq 
+5b0a e8c30000 ifetch 6 ,contr 
+5b0b e0a30000 istore 6 ,contw 
+5b0c 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5b0d c0005b5f beq le_pairing_mode_none ,le_smp_pairing_fail_reason_not_support_pairing 
+5b0e 20405b2b call le_send_smp_pairing_response 
+5b0f 20405b26 call le_check_master_support_secure_connect 
+5b10 7044c403 jam flag_le_pairing_rcv_pairing_req ,mem_le_pairing_state 
+5b11 6800c44d fetch 1 ,mem_le_preq_iocap 
+5b12 c0005b18 beq flag_iocap_displayonly ,le_set_tk_0 
+5b13 c000db18 beq flag_iocap_displayyesno ,le_set_tk_0 
+5b14 c001db18 beq flag_iocap_noinputnooutput ,le_set_tk_0 
+5b15 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5b16 c0015b1b beq le_pairing_mode_lagacy_passkey ,le_parse_smp_pairing_req_passkey 
+5b17 c1418000 rtneq le_pairing_mode_secure_connect_passkey 
+
+le_set_tk_0:
+5b18 dfe00000 arg 0 ,pdata 
+5b19 600244c7 store 4 ,mem_le_tk 
+5b1a 20600000 rtn 
+
+le_parse_smp_pairing_req_passkey:
+5b1b 6800c4e9 fetch 1 ,mem_le_configuration 
+5b1c c2805b24 bbit1 bit_ble_passkey_fixed_key ,le_parse_smp_pairing_req_fixed_passkey 
+
+le_genernate_tk:
+5b1d da2044c7 arg mem_le_tk ,rega 
+5b1e 1a220a00 copy rega ,contw 
+5b1f df200003 arg 3 ,loopcnt 
+5b20 2040630d call generate_random_loop 
+5b21 680144c9 fetch 2 ,mem_le_tk + 2 
+5b22 1fe17e07 and_into 0x7 ,pdata 
+5b23 600144c9 store 2 ,mem_le_tk + 2 
+
+le_parse_smp_pairing_req_fixed_passkey:
+5b24 700a9934 jam bt_evt_le_tk_generate ,mem_fifo_temp 
+5b25 20207d86 branch ui_ipc_send_event 
+
+le_check_master_support_secure_connect:
+5b26 6800c44f fetch 1 ,mem_le_preq_auth 
+5b27 c3818000 rtnbit1 le_auth_secure_connection_pairing_bit 
+5b28 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5b29 c4038000 rtnbit0 le_pairing_mode_secure_connect_bit 
+5b2a 20203402 branch app_ble_disconnect 
+
+le_send_smp_pairing_response:
+5b2b 18002207 force 7 ,rega 
+5b2c 20405c62 call le_fifo_malloc_tx_l2cap_smp 
+5b2d 6803c453 fetch 7 ,mem_le_pres 
+5b2e e0a38000 istore 7 ,contw 
+5b2f 20600000 rtn 
+
+le_parse_smp_pairing_confirm:
+5b30 18c22200 copy contr ,rega 
+5b31 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5b32 c041db37 beq le_pairing_mode_secure_connect_passkey ,le_parse_smp_pairing_confirm_secure_passkey 
+5b33 1a220c00 copy rega ,contr 
+5b34 d8a0442a arg mem_le_rconfirm ,contw 
+5b35 20407ebf call memcpy16 
+5b36 20205b3d branch le_send_smp_pairing_confirm 
+
+le_parse_smp_pairing_confirm_secure_passkey:
+5b37 1a220c00 copy rega ,contr 
+5b38 d8a0442a arg mem_le_rconfirm ,contw 
+5b39 20407ebf call memcpy16 
+5b3a 7044bf02 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+5b3b 7044c108 jam le_sc_stat_passkey_wait_confirm ,mem_le_secure_connect_state 
+5b3c 20600000 rtn 
+
+le_send_smp_pairing_confirm:
+5b3d 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5b3e c283db45 bbit1 le_pairing_mode_secure_connect_bit ,le_send_smp_pairing_confirm_sc 
+5b3f 2040739c call generate_confirm 
+5b40 18002211 force 17 ,rega 
+5b41 20405c62 call le_fifo_malloc_tx_l2cap_smp 
+5b42 58000003 setarg smp_pairing_confirm 
+5b43 e0a08000 istore 1 ,contw 
+5b44 20207497 branch store_aes_result 
+
+le_send_smp_pairing_confirm_sc:
+5b45 d8a0443a arg mem_le_srand ,contw 
+5b46 2040630c call generate_random 
+5b47 204071c5 call function_f4_cb 
+5b48 18002211 force 17 ,rega 
+5b49 20405c62 call le_fifo_malloc_tx_l2cap_smp 
+5b4a 58000003 setarg smp_pairing_confirm 
+5b4b e0a08000 istore 1 ,contw 
+5b4c 20207201 branch load_inverse_result 
+
+le_parse_smp_pairing_random:
+5b4d 18c22200 copy contr ,rega 
+5b4e 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5b4f c283db61 bbit1 le_pairing_mode_secure_connect_bit ,le_parse_smp_pairing_random_sc 
+5b50 1a220c00 copy rega ,contr 
+5b51 20407394 call authenticate_rconfirm 
+5b52 2022db75 branch le_parse_smp_pairing_random_success ,zero 
+
+le_send_pairing_confirm_value_failed:
+5b53 70047b04 jam pairing_failed_confirm_value_failed ,mem_le_ll_pairing_fail_reason 
+
+le_send_pairing_failed:
+5b54 18002202 force 2 ,rega 
+5b55 20405c62 call le_fifo_malloc_tx_l2cap_smp 
+5b56 58000005 setarg smp_pairing_failed 
+5b57 e0a08000 istore 1 ,contw 
+5b58 6800847b fetch 1 ,mem_le_ll_pairing_fail_reason 
+5b59 e0a08000 istore 1 ,contw 
+
+le_parse_smp_pairing_failed:
+5b5a 18000e0a force smp_pairing_timer ,queue 
+5b5b 20407f07 call timer_stop 
+5b5c 7044c400 jam flag_le_pairing_null ,mem_le_pairing_state 
+5b5d 700a9930 jam bt_evt_le_pairing_fail ,mem_fifo_temp 
+5b5e 20207d86 branch ui_ipc_send_event 
+
+le_smp_pairing_fail_reason_not_support_pairing:
+5b5f 70047b05 jam pairing_failed_pairing_not_supported ,mem_le_ll_pairing_fail_reason 
+5b60 20205b54 branch le_send_pairing_failed 
+
+le_parse_smp_pairing_random_sc:
+5b61 d8a0042f arg mem_le_mrand ,contw 
+5b62 1a220c00 copy rega ,contr 
+5b63 20407ebf call memcpy16 
+5b64 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5b65 c041db6c beq le_pairing_mode_secure_connect_passkey ,le_parse_smp_pairing_random_sc_passkey 
+5b66 2040714f call function_g2 
+5b67 20405b7a call le_send_smp_pairing_random 
+5b68 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5b69 c1c10000 rtnne le_pairing_mode_secure_connect_numeric 
+5b6a 700a993b jam bt_evt_le_gkey_generate ,mem_fifo_temp 
+5b6b 20207d86 branch ui_ipc_send_event 
+
+le_parse_smp_pairing_random_sc_passkey:
+5b6c 204071ba call function_f4_ca 
+5b6d d8a00af2 arg mem_aes_cmac_temp ,contw 
+5b6e 20407201 call load_inverse_result 
+5b6f da200af2 arg mem_aes_cmac_temp ,rega 
+5b70 da40442a arg mem_le_rconfirm ,regb 
+5b71 df200010 arg 16 ,loopcnt 
+5b72 20407f88 call string_compare 
+5b73 2422db53 nbranch le_send_pairing_confirm_value_failed ,zero 
+5b74 20205b7a branch le_send_smp_pairing_random 
+
+le_parse_smp_pairing_random_success:
+5b75 20407390 call generate_stk 
+5b76 700a9931 jam bt_evt_le_pairing_success ,mem_fifo_temp 
+5b77 20407d86 call ui_ipc_send_event 
+5b78 70442901 jam 1 ,mem_ltk_exists 
+5b79 7044c405 jam flag_le_pairing_after_auth ,mem_le_pairing_state 
+
+le_send_smp_pairing_random:
+5b7a 18002211 force 17 ,rega 
+5b7b 20405c62 call le_fifo_malloc_tx_l2cap_smp 
+5b7c 58000004 setarg smp_pairing_random 
+5b7d e0a08000 istore 1 ,contw 
+5b7e d8c0443a arg mem_le_srand ,contr 
+5b7f 20207ebf branch memcpy16 
+
+le_parse_smp_encryption_information:
+5b80 d8a0041f arg mem_le_peer_ltk ,contw 
+5b81 20207ebf branch memcpy16 
+
+le_send_smp_encryption_information:
+5b82 18002211 force 17 ,rega 
+5b83 20405c62 call le_fifo_malloc_tx_l2cap_smp 
+5b84 58000006 setarg smp_encryption_information 
+5b85 e0a08000 istore 1 ,contw 
+5b86 6800c4e9 fetch 1 ,mem_le_configuration 
+5b87 c280db8a bbit1 bit_ble_pairing_fixed_ltk ,le_send_fixed_ltk 
+5b88 d8c04419 arg mem_le_ltk ,contr 
+5b89 20207ebf branch memcpy16 
+
+le_send_fixed_ltk:
+5b8a d8c044ea arg mem_le_fixed_ltk ,contr 
+5b8b 20207ebf branch memcpy16 
+
+le_send_smp_master_identification:
+5b8c d8a044cb arg mem_le_ediv ,contw 
+5b8d 1800720a force 10 ,loopcnt 
+5b8e 2040630d call generate_random_loop 
+5b8f 1800220b force 11 ,rega 
+5b90 20405c62 call le_fifo_malloc_tx_l2cap_smp 
+5b91 58000007 setarg smp_master_identification 
+5b92 e0a08000 istore 1 ,contw 
+5b93 680144cb fetch 2 ,mem_le_ediv 
+5b94 e0a10000 istore 2 ,contw 
+5b95 680444cd fetch 8 ,mem_le_rand 
+5b96 e0a40000 istore 8 ,contw 
+5b97 20600000 rtn 
+
+le_send_smp_identity_information:
+5b98 18002211 force 17 ,rega 
+5b99 20405c62 call le_fifo_malloc_tx_l2cap_smp 
+5b9a 58000008 setarg smp_identity_information 
+5b9b e0a08000 istore 1 ,contw 
+5b9c 58000000 setarg 0 
+5b9d e0a40000 istore 8 ,contw 
+5b9e e0a40000 istore 8 ,contw 
+5b9f 20600000 rtn 
+
+le_send_smp_identity_address_information:
+5ba0 18002208 force 8 ,rega 
+5ba1 20405c62 call le_fifo_malloc_tx_l2cap_smp 
+5ba2 58000009 setarg smp_identity_address_information 
+5ba3 e0a08000 istore 1 ,contw 
+5ba4 6800c495 fetch 1 ,mem_le_conn_own_addr_type 
+5ba5 e0a08000 istore 1 ,contw 
+5ba6 680344a0 fetch 6 ,mem_le_lap 
+5ba7 e0a30000 istore 6 ,contw 
+5ba8 20600000 rtn 
+
+le_send_pairing_fail_unspecified_reason:
+5ba9 70047b08 jam pairing_failed_unspecified_reason ,mem_le_ll_pairing_fail_reason 
+5baa 20205b54 branch le_send_pairing_failed 
+
+le_check_init_key_distribution:
+5bab 6800c458 fetch 1 ,mem_le_pres_init_key_distribution 
+5bac 6808c458 fetcht 1 ,mem_le_pres_init_key_distribution 
+5bad 98417e00 iand temp ,pdata 
+5bae 20600000 rtn 
+
+le_parse_smp_identity_information:
+5baf d8a044d5 arg mem_le_irk ,contw 
+5bb0 20407ebf call memcpy16 
+5bb1 20405bab call le_check_init_key_distribution 
+5bb2 2fec0001 isolate0 le_initator_irk_bit ,pdata 
+5bb3 2020dba9 branch le_send_pairing_fail_unspecified_reason ,true 
+5bb4 6800c092 fetch 1 ,mem_device_option 
+5bb5 c1850000 rtnne dvc_op_module 
+5bb6 20405bb9 call le_check_master_addr_type 
+5bb7 24740000 nrtn user 
+5bb8 20203410 branch app_ble_store_reconn_info 
+
+le_check_master_addr_type:
+5bb9 20407fe9 call disable_user 
+5bba 6800c48e fetch 1 ,mem_le_conn_peer_addr_type 
+5bbb c1000000 rtneq master_public_addr 
+5bbc 68008454 fetch 1 ,mem_le_plap + 5 
+5bbd 2fe180c0 compare 0xc0 ,pdata ,0xc0 
+5bbe 20608000 rtn true 
+5bbf 20207fe7 branch enable_user 
+
+le_parse_smp_identity_address_information:
+5bc0 20405bab call le_check_init_key_distribution 
+5bc1 2fec0001 isolate0 le_initator_irk_bit ,pdata 
+5bc2 2020dba9 branch le_send_pairing_fail_unspecified_reason ,true 
+5bc3 20600000 rtn 
+
+le_parse_smp_master_identification:
+
+le_parse_smp_signing_information:
+
+le_parse_smp_security_request:
+5bc4 20600000 rtn 
+
+le_parse_smp_public_key:
+5bc5 d8a009be arg mem_le_pubkey_remote_x_256 ,contw 
+5bc6 20407eb3 call memcpy64 
+5bc7 7044bf02 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+5bc8 7044c101 jam le_sc_stat_receive_public_key ,mem_le_secure_connect_state 
+5bc9 20600000 rtn 
+
+le_parse_smp_dhkey_check:
+5bca d8a00a6e arg mem_sp_confirm_remote ,contw 
+5bcb 20407ebf call memcpy16 
+5bcc 7044c106 jam le_sc_stat_receive_dhkey ,mem_le_secure_connect_state 
+5bcd 7044bf02 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+5bce 20600000 rtn 
+
+le_send_smp_pairing_public_key:
+5bcf 18002241 force 65 ,rega 
+5bd0 20405c62 call le_fifo_malloc_tx_l2cap_smp 
+5bd1 5800000c setarg smp_pairing_public_key 
+5bd2 e0a08000 istore 1 ,contw 
+5bd3 d8c045d2 arg mem_le_pubkey_local_x_256 ,contr 
+5bd4 20207eb3 branch memcpy64 
+
+le_send_smp_pairing_dhkey_check:
+5bd5 20407166 call function_f6_eb 
+5bd6 18002211 force 17 ,rega 
+5bd7 20405c62 call le_fifo_malloc_tx_l2cap_smp 
+5bd8 5800000d setarg smp_pairing_dhkey_check 
+5bd9 e0a08000 istore 1 ,contw 
+5bda 20207201 branch load_inverse_result 
+
+le_check_paring_time:
+5bdb 6800c4c4 fetch 1 ,mem_le_pairing_state 
+5bdc c17f8000 rtneq flag_le_pairing_end 
+5bdd d8400003 arg flag_le_pairing_rcv_pairing_req ,temp 
+5bde 98467c00 isub temp ,null 
+5bdf 24610000 nrtn positive 
+5be0 d8e0000a arg smp_pairing_timer ,queue 
+5be1 20407f16 call timer_check 
+5be2 247a0000 nrtn blank 
+5be3 20205ba9 branch le_send_pairing_fail_unspecified_reason 
+
+le_pairing_sm:
+5be4 473c402f bpatchx patch2f_0 ,mem_patch2f 
+5be5 6800c4c4 fetch 1 ,mem_le_pairing_state 
+5be6 c0005bef beq flag_le_pairing_null ,le_pairing_sm_null 
+5be7 c000dbf5 beq flag_le_pairing_start ,le_pairing_sm_start 
+5be8 c0015bef beq flag_le_pairing_send_recurity_req ,le_pairing_sm_send_sec_req 
+5be9 c001dbf7 beq flag_le_pairing_rcv_pairing_req ,le_pairing_sm_rcv_pairing_req 
+5bea c002dbfb beq flag_le_pairing_after_auth ,le_pairing_sm_after_auth 
+5beb c003dc07 beq flag_le_paring_send_enc_information ,le_pairng_sm_send_enc_information 
+5bec c0045c09 beq flag_le_paring_send_master_identification ,le_pairng_sm_send_master_indentification 
+5bed c004dc10 beq flag_le_paring_send_indentity_information ,le_pairng_sm_send_indentity_information 
+5bee 20600000 rtn 
+
+le_pairing_sm_null:
+
+le_pairing_sm_send_sec_req:
+5bef 6800c4c5 fetch 1 ,mem_le_enc_state 
+5bf0 c1820000 rtnne flag_le_send_start_enc_rsp 
+5bf1 7044c5ff jam flag_le_enc_end ,mem_le_enc_state 
+5bf2 7044c4ff jam flag_le_pairing_end ,mem_le_pairing_state 
+5bf3 700a993f jam bt_evt_le_reconnect_complete ,mem_fifo_temp 
+5bf4 20207d86 branch ui_ipc_send_event 
+
+le_pairing_sm_start:
+5bf5 7044c402 jam flag_le_pairing_send_recurity_req ,mem_le_pairing_state 
+5bf6 20205b02 branch le_send_smp_security_request 
+
+le_pairing_sm_rcv_pairing_req:
+5bf7 7044c404 jam flag_le_pairing_auth ,mem_le_pairing_state 
+5bf8 58017700 setarg timer_smp_pairing_timeout 
+5bf9 d8e0000a arg smp_pairing_timer ,queue 
+5bfa 20207f08 branch timer_init 
+
+le_pairing_sm_after_auth:
+5bfb 6800c4c5 fetch 1 ,mem_le_enc_state 
+5bfc c0025bfe beq flag_le_send_start_enc_rsp ,le_pairing_sm_after_auth_start_enc 
+5bfd 20600000 rtn 
+
+le_pairing_sm_after_auth_start_enc:
+5bfe 7044c407 jam flag_le_paring_send_enc_information ,mem_le_pairing_state 
+5bff 700a9929 jam bt_evt_le_enc_info ,mem_fifo_temp 
+5c00 20407d86 call ui_ipc_send_event 
+5c01 20405b82 call le_send_smp_encryption_information 
+5c02 6800c092 fetch 1 ,mem_device_option 
+5c03 c1850000 rtnne dvc_op_module 
+5c04 20405bb9 call le_check_master_addr_type 
+5c05 20740000 rtn user 
+5c06 20203410 branch app_ble_store_reconn_info 
+
+le_pairng_sm_send_enc_information:
+5c07 7044c408 jam flag_le_paring_send_master_identification ,mem_le_pairing_state 
+5c08 20205b8c branch le_send_smp_master_identification 
+
+le_pairng_sm_send_master_indentification:
+5c09 6800c452 fetch 1 ,mem_le_preq_resp_key_distribution 
+5c0a 6808c459 fetcht 1 ,mem_le_pres_resp_key_distribution 
+5c0b 98417e00 iand temp ,pdata 
+5c0c 2fec0001 isolate0 le_initator_irk_bit ,pdata 
+5c0d 2020dc12 branch le_parse_start_enc_rsp_after_auth_end ,true 
+5c0e 7044c409 jam flag_le_paring_send_indentity_information ,mem_le_pairing_state 
+5c0f 20205b98 branch le_send_smp_identity_information 
+
+le_pairng_sm_send_indentity_information:
+5c10 20405ba0 call le_send_smp_identity_address_information 
+5c11 20205c12 branch le_parse_start_enc_rsp_after_auth_end 
+
+le_parse_start_enc_rsp_after_auth_end:
+5c12 18000e0a force smp_pairing_timer ,queue 
+5c13 20407f07 call timer_stop 
+5c14 7044c5ff jam flag_le_enc_end ,mem_le_enc_state 
+5c15 7044c4ff jam flag_le_pairing_end ,mem_le_pairing_state 
+5c16 700a993e jam bt_evt_le_pairing_complete ,mem_fifo_temp 
+5c17 20207d86 branch ui_ipc_send_event 
+
+le_secure_connect_sm:
+5c18 473cc02f bpatchx patch2f_1 ,mem_patch2f 
+5c19 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5c1a c4038000 rtnbit0 le_pairing_mode_secure_connect_bit 
+5c1b 6800c4bf fetch 1 ,mem_le_secure_connect_flag 
+5c1c c1810000 rtnne le_sp_flag_commit_256 
+5c1d 7044bf00 jam sp_flag_standby ,mem_le_secure_connect_flag 
+5c1e 6800c4c1 fetch 1 ,mem_le_secure_connect_state 
+5c1f c000dc58 beq le_sc_stat_receive_public_key ,le_sc_sm_receive_public_key 
+5c20 c0015c5f beq le_sc_stat_wait_send_public_key ,le_sc_sm_wait_send_public_key 
+5c21 c001dc52 beq le_sc_stat_send_public_key ,le_sc_sm_send_public_key 
+5c22 c0035c39 beq le_sc_stat_receive_dhkey ,le_sc_sm_receive_dhkey 
+5c23 c003dc30 beq le_sc_stat_wait_confirm_gkey ,le_sc_sm_wait_confirm_gkey 
+5c24 c0045c26 beq le_sc_stat_passkey_wait_confirm ,le_sc_sm_passkey_wait_confirm 
+5c25 20600000 rtn 
+
+le_sc_sm_passkey_wait_confirm:
+5c26 6800c663 fetch 1 ,mem_authentication_passkey_times 
+5c27 1fe20e00 copy pdata ,queue 
+5c28 1fe0fe01 increase 1 ,pdata 
+5c29 6000c663 store 1 ,mem_authentication_passkey_times 
+5c2a 680244c7 fetch 4 ,mem_le_tk 
+5c2b afefffff qisolate1 pdata 
+5c2c 58000080 setarg 0x80 
+5c2d 7920fe00 setflag true ,0 ,pdata 
+5c2e 6000c664 store 1 ,mem_passkey_1bit 
+5c2f 20205c55 branch le_sc_sm_ready_send_pairing_confirm 
+
+le_sc_sm_wait_confirm_gkey:
+5c30 6800c4c2 fetch 1 ,mem_le_sc_confirm_gkey_flag 
+5c31 7044c200 jam flag_le_sc_confrim_null ,mem_le_sc_confirm_gkey_flag 
+5c32 c000dc35 beq flag_le_sc_confrim_gkey_ok ,le_sc_confirm_gkey_ok 
+5c33 7044bf02 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+5c34 20600000 rtn 
+
+le_sc_confirm_gkey_ok:
+5c35 700a9931 jam bt_evt_le_pairing_success ,mem_fifo_temp 
+5c36 20407d86 call ui_ipc_send_event 
+5c37 7044c405 jam flag_le_pairing_after_auth ,mem_le_pairing_state 
+5c38 20205bd5 branch le_send_smp_pairing_dhkey_check 
+
+le_sc_sm_receive_dhkey:
+5c39 680089b9 fetch 1 ,mem_sp_dhkey_invalid 
+5c3a c001dc3d beq sp_key_valid_256 ,le_dhkey_ready 
+5c3b 7044bf02 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+5c3c 20600000 rtn 
+
+le_dhkey_ready:
+5c3d 2040718d call function_f5 
+5c3e 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5c3f c041dc41 beq le_pairing_mode_secure_connect_passkey ,le_dhkey_ready_common 
+5c40 20405b18 call le_set_tk_0 
+
+le_dhkey_ready_common:
+5c41 2040717a call function_f6_ea 
+5c42 da200af2 arg mem_aes_cmac_temp ,rega 
+5c43 da400a6e arg mem_sp_confirm_remote ,regb 
+5c44 df200010 arg 16 ,loopcnt 
+5c45 20407f88 call string_compare 
+5c46 2022dc49 branch le_dhkey_check_ok ,zero 
+
+le_dhkey_check_fail:
+5c47 70047b0b jam pairing_failed_dhkey_check_failed ,mem_le_ll_pairing_fail_reason 
+5c48 20205b54 branch le_send_pairing_failed 
+
+le_dhkey_check_ok:
+5c49 20407595 call sp_calc_check_publickey_256 
+5c4a 2422dc47 nbranch le_dhkey_check_fail ,zero 
+5c4b 70442901 jam 1 ,mem_ltk_exists 
+5c4c 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5c4d c040dc35 beq le_pairing_mode_secure_connect_justwork ,le_sc_confirm_gkey_ok 
+5c4e c041dc35 beq le_pairing_mode_secure_connect_passkey ,le_sc_confirm_gkey_ok 
+5c4f 7044bf02 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+5c50 7044c107 jam le_sc_stat_wait_confirm_gkey ,mem_le_secure_connect_state 
+5c51 20600000 rtn 
+
+le_sc_sm_send_public_key:
+5c52 6800c4c6 fetch 1 ,mem_le_pairing_mode 
+5c53 c041dc56 beq le_pairing_mode_secure_connect_passkey ,le_sc_sm_send_public_key_passkey 
+5c54 70466400 jam 0 ,mem_passkey_1bit 
+
+le_sc_sm_ready_send_pairing_confirm:
+5c55 20205b3d branch le_send_smp_pairing_confirm 
+
+le_sc_sm_send_public_key_passkey:
+5c56 70466300 jam 0 ,mem_authentication_passkey_times 
+5c57 20205b1b branch le_parse_smp_pairing_req_passkey 
+
+le_sc_sm_receive_public_key:
+5c58 7044bf02 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+5c59 6800c4c3 fetch 1 ,mem_le_sc_local_key_invalid 
+5c5a c001dc5c beq sp_key_valid_256 ,le_public_key_ready 
+5c5b 20600000 rtn 
+
+le_public_key_ready:
+5c5c 7044c102 jam le_sc_stat_wait_send_public_key ,mem_le_secure_connect_state 
+5c5d 7009b900 jam sp_key_invalid ,mem_sp_dhkey_invalid 
+5c5e 20207a99 branch sp_dhkey_calc_256 
+
+le_sc_sm_wait_send_public_key:
+5c5f 7044bf02 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+5c60 7044c103 jam le_sc_stat_send_public_key ,mem_le_secure_connect_state 
+5c61 20205bcf branch le_send_smp_pairing_public_key 
+
+le_fifo_malloc_tx_l2cap_smp:
+5c62 18002406 force le_l2cap_cid_smp ,regb 
+5c63 20205847 branch le_fifo_malloc_tx_l2cap 
+
+le_parse_ll:
+5c64 680082db fetch 1 ,mem_le_rxbuf + 2 
+5c65 c0005c7b beq ll_connection_update_req ,le_parse_connection_update_req 
+5c66 c000dc83 beq ll_channel_map_req ,le_parse_channel_map_req 
+5c67 c0015c8e beq ll_terminate_ind ,le_parse_terminate_ind 
+5c68 c001dcaa beq ll_enc_req ,le_parse_enc_req 
+5c69 c0025ce1 beq ll_enc_rsp ,le_parse_enc_rsp 
+5c6a c002dce6 beq ll_start_enc_req ,le_parse_start_enc_req 
+5c6b c0035cea beq ll_start_enc_rsp ,le_parse_start_enc_rsp 
+5c6c c003dcf5 beq ll_unknown_rsp ,le_parse_unknown_rsp 
+5c6d c0045c99 beq ll_feature_req ,le_parse_feature_req 
+5c6e c004dcf5 beq ll_feature_rsp ,le_parse_feature_rsp 
+5c6f c0055cef beq ll_pause_enc_req ,le_parse_pause_enc_req 
+5c70 c005dcf5 beq ll_pause_enc_rsp ,le_parse_pause_enc_rsp 
+5c71 c0065c9f beq ll_version_ind ,le_parse_version_ind 
+5c72 c006dcf5 beq ll_reject_ind ,le_parse_reject_ind 
+5c73 c0095ca6 beq ll_ping_req ,le_parse_ping_req 
+5c74 c009dcf5 beq ll_ping_rsp ,le_parse_ping_rsp 
+5c75 da200002 arg 2 ,rega 
+5c76 da400007 arg ll_unknown_rsp ,regb 
+5c77 20405842 call le_fifo_malloc_tx_ll 
+5c78 680082db fetch 1 ,mem_le_rxbuf + 2 
+5c79 e0a08000 istore 1 ,contw 
+5c7a 20600000 rtn 
+
+le_parse_connection_update_req:
+5c7b e8c48000 ifetch 9 ,contr 
+5c7c 6004c3d3 store 9 ,mem_le_new_param 
+5c7d e8c10000 ifetch 2 ,contr 
+5c7e 6001045f store 2 ,mem_le_instant 
+5c7f 6800843f fetch 1 ,mem_le_state 
+5c80 79207e05 set1 lestate_update_param ,pdata 
+5c81 6000843f store 1 ,mem_le_state 
+5c82 20600000 rtn 
+
+le_parse_channel_map_req:
+5c83 e8c28000 ifetch 5 ,contr 
+5c84 6002c3ce store 5 ,mem_le_new_map 
+5c85 e8c10000 ifetch 2 ,contr 
+5c86 6001045f store 2 ,mem_le_instant 
+5c87 68090459 fetcht 2 ,mem_le_event_count 
+5c88 98467c00 isub temp ,null 
+5c89 24215c8e nbranch le_parse_terminate_ind ,positive 
+5c8a 6800843f fetch 1 ,mem_le_state 
+5c8b 79207e06 set1 lestate_update_map ,pdata 
+5c8c 6000843f store 1 ,mem_le_state 
+5c8d 20600000 rtn 
+
+le_parse_terminate_ind:
+5c8e 58000014 setarg 20 
+5c8f 6001046d store 2 ,mem_le_superto 
+5c90 600144ba store 2 ,mem_le_init_superto 
+5c91 20600000 rtn 
+
+le_send_terminate_ind_user_terminated:
+5c92 da600013 arg error_remote_user_terminated_connection ,regc 
+
+le_send_terminate_ind:
+5c93 da200002 arg 2 ,rega 
+5c94 da400002 arg ll_terminate_ind ,regb 
+5c95 20405842 call le_fifo_malloc_tx_ll 
+5c96 1a627e00 copy regc ,pdata 
+5c97 e0a08000 istore 1 ,contw 
+5c98 20600000 rtn 
+
+le_parse_feature_req:
+
+le_send_feature_rsp:
+5c99 da200009 arg 9 ,rega 
+5c9a da400009 arg ll_feature_rsp ,regb 
+5c9b 20405842 call le_fifo_malloc_tx_ll 
+5c9c 58000001 setarg param_le_features 
+5c9d e0a40000 istore 8 ,contw 
+5c9e 20600000 rtn 
+
+le_parse_version_ind:
+5c9f 20748000 rtn master 
+
+le_send_version_ind:
+5ca0 da200006 arg 6 ,rega 
+5ca1 da40000c arg ll_version_ind ,regb 
+5ca2 20405842 call le_fifo_malloc_tx_ll 
+5ca3 6802c510 fetch 5 ,mem_lmp_version 
+5ca4 e0a28000 istore 5 ,contw 
+5ca5 20600000 rtn 
+
+le_parse_ping_req:
+5ca6 da400013 arg ll_ping_rsp ,regb 
+5ca7 20205ca8 branch le_send_ll_one_lenth 
+
+le_send_ll_one_lenth:
+5ca8 da200001 arg 1 ,rega 
+5ca9 20205842 branch le_fifo_malloc_tx_ll 
+
+le_parse_enc_req:
+5caa e8c40000 ifetch 8 ,contr 
+5cab 600444cd store 8 ,mem_le_rand 
+5cac e8c10000 ifetch 2 ,contr 
+5cad 600144cb store 2 ,mem_le_ediv 
+5cae e8c40000 ifetch 8 ,contr 
+5caf 600444aa store 8 ,mem_le_skdm 
+5cb0 e8c20000 ifetch 4 ,contr 
+5cb1 60024411 store 4 ,mem_le_ivm 
+5cb2 20405ccf call le_send_enc_rsp 
+5cb3 473d402f bpatchx patch2f_2 ,mem_patch2f 
+5cb4 6800c4c4 fetch 1 ,mem_le_pairing_state 
+5cb5 c002dcbc beq flag_le_pairing_after_auth ,le_parse_enc_req_after_auth 
+5cb6 6800c4e9 fetch 1 ,mem_le_configuration 
+5cb7 c280dcbf bbit1 bit_ble_pairing_fixed_ltk ,le_parse_enc_req_fixed_ltk 
+5cb8 6800c217 fetch 1 ,mem_nv_data_number 
+5cb9 245a67be ncall load_device_list_mode_4 ,blank 
+5cba 6800c429 fetch 1 ,mem_ltk_exists 
+5cbb c0005cc4 beq 0 ,le_ltk_lost 
+
+le_parse_enc_req_after_auth:
+5cbc 7044c501 jam flag_le_rcv_enc_start ,mem_le_enc_state 
+5cbd 20405cdd call le_send_start_enc_req 
+5cbe 202073a2 branch generate_sk 
+
+le_parse_enc_req_fixed_ltk:
+5cbf 70442901 jam 1 ,mem_ltk_exists 
+5cc0 d8c044ea arg mem_le_fixed_ltk ,contr 
+5cc1 d8a04419 arg mem_le_ltk ,contw 
+5cc2 20407ebf call memcpy16 
+5cc3 20205cbc branch le_parse_enc_req_after_auth 
+
+le_ltk_lost:
+5cc4 473dc02f bpatchx patch2f_3 ,mem_patch2f 
+5cc5 7044c500 jam flag_le_enc_null ,mem_le_enc_state 
+5cc6 7044c400 jam flag_le_enc_null ,mem_le_pairing_state 
+5cc7 700a9941 jam bt_evt_le_ltk_lost ,mem_fifo_temp 
+5cc8 20207d86 branch ui_ipc_send_event 
+
+le_send_reject_ind:
+5cc9 da200002 arg 2 ,rega 
+5cca da40000d arg ll_reject_ind ,regb 
+5ccb 20405842 call le_fifo_malloc_tx_ll 
+5ccc 58000006 setarg le_err_pin_or_key_missing 
+5ccd e0a08000 istore 1 ,contw 
+5cce 20600000 rtn 
+
+le_send_enc_rsp:
+5ccf d8a044b2 arg mem_le_skds ,contw 
+5cd0 18007208 force 8 ,loopcnt 
+5cd1 2040630d call generate_random_loop 
+5cd2 d8a04415 arg mem_le_ivs ,contw 
+5cd3 18007204 force 4 ,loopcnt 
+5cd4 2040630d call generate_random_loop 
+5cd5 da20000d arg 13 ,rega 
+5cd6 da400004 arg ll_enc_rsp ,regb 
+5cd7 20405842 call le_fifo_malloc_tx_ll 
+5cd8 680444b2 fetch 8 ,mem_le_skds 
+5cd9 e0a40000 istore 8 ,contw 
+5cda 68024415 fetch 4 ,mem_le_ivs 
+5cdb e0a20000 istore 4 ,contw 
+5cdc 20600000 rtn 
+
+le_send_start_enc_req:
+5cdd da400005 arg ll_start_enc_req ,regb 
+5cde 20205ca8 branch le_send_ll_one_lenth 
+
+le_send_start_enc_rsp:
+5cdf da400006 arg ll_start_enc_rsp ,regb 
+5ce0 20205ca8 branch le_send_ll_one_lenth 
+
+le_parse_enc_rsp:
+5ce1 e8c40000 ifetch 8 ,contr 
+5ce2 600444b2 store 8 ,mem_le_skds 
+5ce3 e8c20000 ifetch 4 ,contr 
+5ce4 60024415 store 4 ,mem_le_ivs 
+5ce5 202073a2 branch generate_sk 
+
+le_parse_start_enc_req:
+5ce6 6800843f fetch 1 ,mem_le_state 
+5ce7 79207e04 set1 lestate_encryption ,pdata 
+5ce8 6000843f store 1 ,mem_le_state 
+5ce9 20600000 rtn 
+
+le_parse_start_enc_rsp:
+5cea 20748000 rtn master 
+5ceb 700a9932 jam bt_evt_le_start_enc ,mem_fifo_temp 
+5cec 20407d86 call ui_ipc_send_event 
+5ced 7044c504 jam flag_le_send_start_enc_rsp ,mem_le_enc_state 
+5cee 20205cdf branch le_send_start_enc_rsp 
+
+le_parse_pause_enc_req:
+5cef 7044c502 jam flag_le_enc_pause ,mem_le_enc_state 
+5cf0 20405cf3 call le_send_pause_enc_rsp 
+5cf1 700a9933 jam bt_evt_le_pause_enc ,mem_fifo_temp 
+5cf2 20207d86 branch ui_ipc_send_event 
+
+le_send_pause_enc_rsp:
+5cf3 da40000b arg ll_pause_enc_rsp ,regb 
+5cf4 20205ca8 branch le_send_ll_one_lenth 
+
+le_parse_feature_rsp:
+
+le_parse_unknown_rsp:
+
+le_parse_pause_enc_rsp:
+
+le_parse_reject_ind:
+
+le_parse_ping_rsp:
+5cf5 20600000 rtn 
+
+init_lmp:
+5cf6 20758000 rtn wake 
+
+init_lmp_work:
+5cf7 473e402f bpatchx patch2f_4 ,mem_patch2f 
+5cf8 58000000 setarg 0 
+5cf9 60008048 store 1 ,mem_lmp_to_send 
+5cfa 60008055 store 1 ,mem_conn_sm 
+5cfb 60008078 store 1 ,mem_lmo_opcode1 
+5cfc 6000807c store 1 ,mem_lmo_opcode2 
+5cfd 6000c158 store 1 ,mem_esco_addr 
+5cfe 600084d7 store 1 ,mem_auth_enable 
+5cff 6000816d store 1 ,mem_connection_options 
+5d00 600089b5 store 1 ,mem_pairing_auth 
+5d01 70455b00 jam switch_flag_init ,mem_switch_flag 
+5d02 70022900 jam 0 ,mem_switch_fail_master_count 
+5d03 7004d800 jam null_encryp ,mem_wait_encryption 
+
+init_lmp_reinit:
+5d04 7009b500 jam 0 ,mem_pairing_auth 
+5d05 7009b400 jam 0 ,mem_sp_localsm 
+5d06 7004d100 jam 0 ,mem_lmp_conn_state 
+
+parse_rx_done:
+5d07 20600000 rtn 
+
+parse_lmp:
+5d08 473ec02f bpatchx patch2f_5 ,mem_patch2f 
+5d09 2054e2ff call setlocalsm_master ,master 
+5d0a 2454e303 ncall setlocalsm_slave ,master 
+5d0b 204062bc call lmo_fifo_check 
+5d0c 247a0000 nrtn blank 
+5d0d 6800804c fetch 1 ,mem_state_map 
+5d0e c4030000 rtnbit0 smap_rxlmp 
+5d0f 793ffe06 set0 smap_rxlmp ,pdata 
+5d10 793f8001 set0 mark_rxbuf_inuse ,mark 
+5d11 6000804c store 1 ,mem_state_map 
+5d12 68008551 fetch 1 ,mem_rxbuf 
+5d13 6808804c fetcht 1 ,mem_state_map 
+5d14 2feffe00 isolate1 smap_lmptidinit ,pdata 
+5d15 79208401 setflag true ,smap_lmptid ,temp 
+5d16 6008804c storet 1 ,mem_state_map 
+5d17 18410402 and_into 0x2 ,temp 
+5d18 6008807f storet 1 ,mem_lmo_tid2 
+5d19 6808804c fetcht 1 ,mem_state_map 
+5d1a 1fe37e00 rshift pdata ,pdata 
+5d1b 6000807d store 1 ,mem_lmi_opcode2 
+5d1c 473f402f bpatchx patch2f_6 ,mem_patch2f 
+5d1d 6800807d fetch 1 ,mem_lmi_opcode2 
+5d1e c03fdd66 beq lmp_escape ,parse_lmp_escape 
+5d1f c001ddb1 beq lmp_accepted ,parse_lmp_accepted 
+5d20 c0025dc2 beq lmp_not_accepted ,parse_lmp_not_accepted 
+5d21 c01e5d59 beq lmp_set_afh ,parse_lmp_set_afh 
+5d22 c002dd55 beq lmp_clkoffset_req ,parse_lmp_clkoffset_req 
+5d23 c007dfa8 beq lmp_encryption_mode_req ,parse_lmp_encryption_mode_req 
+5d24 c0085e24 beq lmp_encryption_key_size_req ,parse_lmp_crypt_key 
+5d25 c011de42 beq lmp_auto_rate ,parse_lmp_auto_rate 
+5d26 c01cdfc1 beq lmp_test_control ,parse_lmp_test_control 
+5d27 c01c5fbc beq lmp_test_activate ,parse_lmp_test_activate 
+5d28 c018de27 beq lmp_setup_complete ,parse_lmp_setup_complete 
+5d29 c01bdeb0 beq lmp_supervision_timeout ,parse_lmp_supervision_timeout 
+5d2a c013deac beq lmp_features_req ,parse_lmp_features_req 
+5d2b c019dea9 beq lmp_host_connection_req ,parse_lmp_conn_req 
+5d2c c012deae beq lmp_version_req ,parse_lmp_version_req 
+5d2d c0135e3e beq lmp_version_res ,parse_lmp_version_res 
+5d2e c003de36 beq lmp_detach ,parse_lmp_detach 
+5d2f c016de2d beq lmp_max_slot ,parse_lmp_max_slot 
+5d30 c0175e2e beq lmp_max_slot_req ,parse_lmp_max_slot_req 
+5d31 c000dea5 beq lmp_name_req ,parse_lmp_name_req 
+5d32 c0015e90 beq lmp_name_res ,parse_lmp_name_res 
+5d33 c0145fb3 beq lmp_features_res ,parse_lmp_features_res 
+5d34 c004de86 beq lmp_comb_key ,parse_lmp_comb_key 
+5d35 c005de5f beq lmp_au_rand ,parse_lmp_au_rand 
+5d36 c0045e43 beq lmp_in_rand ,parse_lmp_in_rand 
+5d37 c0065e6a beq lmp_sres ,parse_lmp_sres 
+5d38 c00fde3a beq lmp_incr_power_req ,parse_lmp_incr_power 
+5d39 c0105e3c beq lmp_decr_power_req ,parse_lmp_decr_power 
+5d3a c010deca beq lmp_max_power ,parse_lmp_max_power 
+5d3b c0115eca beq lmp_min_power ,parse_lmp_min_power 
+5d3c c01adecb beq lmp_page_mode_req ,parse_lmp_page_mode_req 
+5d3d c01b5ecc beq lmp_page_scan_mode_req ,parse_lmp_page_scan_mode_req 
+5d3e c0125eca beq lmp_preferred_rate ,parse_lmp_preferred_rate 
+5d3f c01a5ecd beq lmp_slot_offset ,parse_lmp_slot_offset 
+5d40 c00bded6 beq lmp_sniff_req ,parse_lmp_sniff_req 
+5d41 c008def2 beq lmp_start_encryption_req ,parse_lmp_start_encryption_req 
+5d42 c0095ef6 beq lmp_stop_encryption_req ,parse_lmp_stop_encryption_req 
+5d43 c009def8 beq lmp_switch_req ,parse_lmp_switch_req 
+5d44 c006df0a beq lmp_temp_rand ,parse_lmp_temp_rand 
+5d45 c0075f0a beq lmp_temp_key ,parse_lmp_temp_key 
+5d46 c017deaa beq lmp_timing_accuracy_req ,parse_lmp_timing_accuracy_req 
+5d47 c0185f0a beq lmp_timing_accuracy_res ,parse_lmp_timing_accuracy_res 
+5d48 c0055f0a beq lmp_unit_key ,parse_lmp_unit_key 
+5d49 c00c5f0b beq lmp_unsniff_req ,parse_lmp_unsniff_req 
+5d4a c0195f0a beq lmp_use_semi_permanent_key ,parse_lmp_use_semi_permanend_key 
+5d4b c01edf10 beq lmp_encapsulated_header ,parse_lmp_encapsulated_header 
+5d4c c01f5f51 beq lmp_encapsulated_payload ,parse_lmp_encapsulated_payload 
+5d4d c01fdf4b beq lmp_simple_pairing_confirm ,parse_simple_pairing_confirm 
+5d4e c0205f78 beq lmp_simple_pairing_number ,parse_lmp_simple_pairing_number 
+5d4f c020df8a beq lmp_dhkey_check ,parse_dhkey_check 
+5d50 c0035fa7 beq lmp_clkoffset_res ,parse_lmp_clkoffset_res 
+5d51 c01d5d57 beq lmp_enc_key_size_mask_req ,parse_enc_key_size_mask_req 
+
+reject_unknown_packet:
+5d52 70007e19 jam unknown_lmp_pdu ,mem_lmo_reason2 
+
+reject_lmp_packet:
+5d53 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+5d54 20600000 rtn 
+
+parse_lmp_clkoffset_req:
+5d55 70007c06 jam lmp_clkoffset_res ,mem_lmo_opcode2 
+5d56 20600000 rtn 
+
+parse_enc_key_size_mask_req:
+5d57 70007c3b jam lmp_enc_key_size_mask_res ,mem_lmo_opcode2 
+5d58 20600000 rtn 
+
+parse_lmp_set_afh:
+5d59 68020552 fetch 4 ,mem_rxbuf + 1 
+5d5a 1fe3fe00 lshift pdata ,pdata 
+5d5b 600240d2 store 4 ,mem_afh_instant 
+5d5c 68008556 fetch 1 ,mem_rxbuf + 5 
+5d5d 6000c0d9 store 1 ,mem_afh_new_mod 
+5d5e 68028557 fetch 5 ,mem_rxbuf + 6 
+5d5f 6002c0e7 store 5 ,mem_afh_map_new 
+5d60 6802855c fetch 5 ,mem_rxbuf + 11 
+5d61 e0a28000 istore 5 ,contw 
+5d62 68008031 fetch 1 ,mem_mode 
+5d63 79207e03 set1 afh_change ,pdata 
+5d64 60008031 store 1 ,mem_mode 
+5d65 20600000 rtn 
+
+parse_lmp_escape:
+5d66 473fc02f bpatchx patch2f_7 ,mem_patch2f 
+5d67 68008552 fetch 1 ,mem_rxbuf + 1 
+5d68 79207e07 set1 7 ,pdata 
+5d69 6000807d store 1 ,mem_lmi_opcode2 
+5d6a c040dd88 beq lmp_ext_accepted ,parse_lmpext_accepted 
+5d6b c0415d8d beq lmp_not_accepted_ext ,parse_lmpext_not_accepted 
+5d6c c04adeb1 beq lmp_sniff_subrating_req ,parse_lmp_sniff_subrating_req 
+5d6d c04b5eca beq lmp_sniff_subrating_res ,parse_lmp_sniff_subrating_res 
+5d6e c045debf beq lmp_packet_type_table_req ,parse_lmpext_packet_type_table_req 
+5d6f c041dda5 beq lmp_ext_features_req ,parse_lmpext_features_req 
+5d70 c0425da7 beq lmp_ext_features_res ,parse_lmpext_features_res 
+5d71 c0485d7a beq lmp_ext_chn_classification_req ,parse_lmpext_chn_classification_req 
+5d72 c04bdd9e beq lmp_pause_encryption_req ,parse_lmpext_pause_encrypt 
+5d73 c04c5da3 beq lmp_resume_encryption_req ,parse_lmpext_resume_encrypt 
+5d74 c04cdd7d beq lmp_io_cap_req ,parse_lmpext_iocap_req 
+5d75 c04d5d80 beq lmp_io_cap_res ,parse_lmpext_iocap_res 
+5d76 c1420000 rtneq lmp_ext_features_res 
+
+reject_unknown_ext_packet:
+5d77 70007c82 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+5d78 70007e19 jam unknown_lmp_pdu ,mem_lmo_reason2 
+5d79 20600000 rtn 
+
+parse_lmpext_chn_classification_req:
+5d7a 70007c82 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+5d7b 70007e2e jam not_support_chn_classification ,mem_lmo_reason2 
+5d7c 20600000 rtn 
+
+parse_lmpext_iocap_req:
+5d7d 20405d82 call iocap_lmpext_load 
+5d7e 70007c9a jam lmp_io_cap_res ,mem_lmo_opcode2 
+5d7f 20600000 rtn 
+
+parse_lmpext_iocap_res:
+5d80 20405d82 call iocap_lmpext_load 
+5d81 20205d86 branch iocap_lmpext_common 
+
+iocap_lmpext_load:
+5d82 d8a0465e arg mem_sp_iocap_remote ,contw 
+5d83 68018553 fetch 3 ,mem_rxbuf + 2 
+5d84 e0a18000 istore 3 ,contw 
+5d85 20600000 rtn 
+
+iocap_lmpext_common:
+5d86 2020f6d8 branch master_set_mem_master_sp_flag ,true 
+5d87 20600000 rtn 
+
+parse_lmpext_accepted:
+5d88 68008554 fetch 1 ,mem_rxbuf + 3 
+5d89 79207e07 set1 7 ,pdata 
+5d8a 600084c9 store 1 ,mem_lmi_accepted_opcode 
+5d8b c045dd92 beq lmp_packet_type_table_req ,parse_lmpext_accepted_ptt 
+5d8c 20600000 rtn 
+
+parse_lmpext_not_accepted:
+5d8d 68008554 fetch 1 ,mem_rxbuf + 3 
+5d8e 79207e07 set1 7 ,pdata 
+5d8f 600084c9 store 1 ,mem_lmi_accepted_opcode 
+5d90 c045dd96 beq lmp_packet_type_table_req ,parse_lmpext_not_accepted_ptt 
+5d91 20600000 rtn 
+
+parse_lmpext_accepted_ptt:
+5d92 6800c15a fetch 1 ,mem_ptt 
+5d93 6808804c fetcht 1 ,mem_state_map 
+5d94 7d3a0405 nsetflag blank ,smap_edr ,temp 
+5d95 6008804c storet 1 ,mem_state_map 
+
+parse_lmpext_not_accepted_ptt:
+5d96 68008030 fetch 1 ,mem_state 
+5d97 c4028000 rtnbit0 state_init_seq 
+5d98 793ffe05 set0 state_init_seq ,pdata 
+5d99 60008030 store 1 ,mem_state 
+5d9a 680084d7 fetch 1 ,mem_auth_enable 
+5d9b 247a0000 nrtn blank 
+5d9c 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+5d9d 20600000 rtn 
+
+parse_lmpext_pause_encrypt:
+5d9e 2434dda1 nbranch parse_lmpext_pause_encrypt_slave ,master 
+5d9f 70007c12 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+5da0 202062eb branch tid_reply 
+
+parse_lmpext_pause_encrypt_slave:
+5da1 70007c97 jam lmp_pause_encryption_req ,mem_lmo_opcode2 
+5da2 20600000 rtn 
+
+parse_lmpext_resume_encrypt:
+5da3 204062eb call tid_reply 
+5da4 20205ffe branch lmp_start_encryption 
+
+parse_lmpext_features_req:
+5da5 70007c84 jam lmp_ext_features_res ,mem_lmo_opcode2 
+5da6 20600000 rtn 
+
+parse_lmpext_features_res:
+5da7 68088555 fetcht 1 ,mem_rxbuf + 4 
+5da8 18410401 and temp ,0x1 ,temp 
+5da9 600884d0 storet 1 ,mem_remote_sppcap 
+5daa 6800c1ce fetch 1 ,mem_hci_cmd 
+5dab c0a8ddad bne hci_cmd_wait_remote_ext_feature ,parse_lmpext_features_res_not_hci 
+5dac 7041ce00 jam 0 ,mem_hci_cmd 
+
+parse_lmpext_features_res_not_hci:
+5dad 68008055 fetch 1 ,mem_conn_sm 
+5dae c18a8000 rtnne conn_sm_wait_features_ext 
+5daf 70005504 jam conn_sm_send_conn_req ,mem_conn_sm 
+5db0 2020631b branch process_conn_sm 
+
+parse_lmp_accepted:
+5db1 47404030 bpatchx patch30_0 ,mem_patch30 
+5db2 68008552 fetch 1 ,mem_rxbuf + 1 
+5db3 600084c9 store 1 ,mem_lmi_accepted_opcode 
+5db4 c019ddd8 beq lmp_host_connection_req ,parse_lmp_accepted_hostconn 
+5db5 c0045de7 beq lmp_in_rand ,parse_lmp_accepted_inrand 
+5db6 c007ddee beq lmp_encryption_mode_req ,parse_lmp_accepted_enc_mode 
+5db7 c0085df4 beq lmp_encryption_key_size_req ,parse_lmp_accepted_enc_keysize 
+5db8 c008ddf5 beq lmp_start_encryption_req ,parse_lmp_accepted_start_enc 
+5db9 c0095dfd beq lmp_stop_encryption_req ,parse_lmp_accepted_stop_enc 
+5dba c00c5e13 beq lmp_unsniff_req ,parse_lmp_accepted_unsniff_req 
+5dbb c00bde16 beq lmp_sniff_req ,parse_lmp_accepted_sniff_req 
+5dbc c009ddcf beq lmp_switch_req ,parse_lmp_accepted_switch 
+5dbd c01edf1e beq lmp_encapsulated_header ,parse_lmp_accepted_encapsulated_header 
+5dbe c01f5f6a beq lmp_encapsulated_payload ,parse_lmp_accepted_encapsulated_payload 
+5dbf c0205f20 beq lmp_simple_pairing_number ,parse_lmp_accepted_simple_pairing_number 
+5dc0 c020df3d beq lmp_dhkey_check ,parse_lmp_accepted_dhkey_check 
+5dc1 20600000 rtn 
+
+parse_lmp_not_accepted:
+5dc2 4740c030 bpatchx patch30_1 ,mem_patch30 
+5dc3 68008552 fetch 1 ,mem_rxbuf + 1 
+5dc4 600084c9 store 1 ,mem_lmi_accepted_opcode 
+5dc5 c000de0a beq lmp_name_req ,parse_lmp_not_accepted_name_req 
+5dc6 c019dde2 beq lmp_host_connection_req ,parse_lmp_not_accepted_hostconn 
+5dc7 c005ddfe beq lmp_au_rand ,parse_lmp_not_accepted_aurand 
+5dc8 c0045e01 beq lmp_in_rand ,parse_lmp_not_accepted_inrand 
+5dc9 c009ddd2 beq lmp_switch_req ,parse_lmp_not_accepted_switch 
+5dca c0205e0b beq lmp_simple_pairing_number ,parse_lmp_not_accepted_simple_pairing_number 
+5dcb c020de0e beq lmp_dhkey_check ,parse_lmp_not_accepted_dhkey_check 
+5dcc c00c5e11 beq lmp_unsniff_req ,parse_lmp_not_accepted_unsniff_req 
+5dcd c00bde22 beq lmp_sniff_req ,parse_lmp_not_acdcept_sniff_req 
+5dce 20600000 rtn 
+
+parse_lmp_accepted_switch:
+5dcf 700a9920 jam bt_evt_switch_accept ,mem_fifo_temp 
+5dd0 20407d86 call ui_ipc_send_event 
+5dd1 202021dc branch role_switch_prepare0 
+
+parse_lmp_not_accepted_switch:
+5dd2 700a9919 jam bt_evt_switch_not_accept ,mem_fifo_temp 
+5dd3 20407d86 call ui_ipc_send_event 
+5dd4 70455b02 jam switch_flag_not_accept ,mem_switch_flag 
+5dd5 58000050 setarg timer_switch_waite 
+5dd6 d8e00006 arg switch_wait_timer ,queue 
+5dd7 20207f08 branch timer_init 
+
+parse_lmp_accepted_hostconn:
+5dd8 680084d1 fetch 1 ,mem_lmp_conn_state 
+5dd9 79207e00 set1 received_conn_req ,pdata 
+5dda 600084d1 store 1 ,mem_lmp_conn_state 
+5ddb 700a9901 jam bt_evt_bb_connected ,mem_fifo_temp 
+5ddc 20407d86 call ui_ipc_send_event 
+5ddd 70007c8b jam lmp_packet_type_table_req ,mem_lmo_opcode2 
+
+parse_lmp_accepted_hostconn_ctn:
+5dde 68008055 fetch 1 ,mem_conn_sm 
+5ddf c082dd07 bne conn_sm_wait_conn_accept ,parse_rx_done 
+5de0 70005506 jam conn_sm_auth_pair ,mem_conn_sm 
+5de1 20600000 rtn 
+
+parse_lmp_not_accepted_hostconn:
+5de2 7004ca0b jam acl_connection_already_exists ,mem_disconn_reason_send 
+5de3 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5de4 70005500 jam conn_sm_standby ,mem_conn_sm 
+5de5 2020dd07 branch parse_rx_done ,true 
+5de6 20600000 rtn 
+
+parse_lmp_accepted_inrand:
+5de7 6800c1bd fetch 1 ,mem_link_key_exists 
+5de8 247a0000 nrtn blank 
+5de9 2040244f call clear_linkkey 
+5dea 20405ffc call lmp_generate_key 
+5deb 20748000 rtn master 
+5dec 79200021 set1 mark_slave_in_rand_accepted ,mark 
+5ded 20600000 rtn 
+
+parse_lmp_accepted_enc_mode:
+5dee 24748000 nrtn master 
+5def 70007c10 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+5df0 6800804c fetch 1 ,mem_state_map 
+5df1 c4010000 rtnbit0 smap_encryption 
+5df2 70007c12 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+5df3 20600000 rtn 
+
+parse_lmp_accepted_enc_keysize:
+5df4 20205ffe branch lmp_start_encryption 
+
+parse_lmp_accepted_start_enc:
+5df5 20406059 call send_create_conn_start_l2cap_timer_sm 
+5df6 68008030 fetch 1 ,mem_state 
+5df7 c3820000 rtnbit1 state_conn_comp 
+5df8 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+5df9 68008055 fetch 1 ,mem_conn_sm 
+5dfa c1850000 rtnne conn_sm_encrypt_wait 
+5dfb 7000550b jam conn_sm_encrypt_wait_clear ,mem_conn_sm 
+5dfc 20600000 rtn 
+
+parse_lmp_accepted_stop_enc:
+5dfd 20600000 rtn 
+
+parse_lmp_not_accepted_aurand:
+
+parse_lmp_not_accepted_aurand_send_detach:
+5dfe 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5dff 7004ca13 jam other_end_terminated ,mem_disconn_reason_send 
+5e00 20600000 rtn 
+
+parse_lmp_not_accepted_inrand:
+5e01 68008553 fetch 1 ,mem_rxbuf + 2 
+5e02 c0035e07 beq key_missing ,parse_lmp_inrand_key_missing 
+5e03 c18c0000 rtnne pairing_not_allowed 
+5e04 7004ca18 jam pairing_not_allowed ,mem_disconn_reason_send 
+5e05 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5e06 20600000 rtn 
+
+parse_lmp_inrand_key_missing:
+5e07 7004ca06 jam key_missing ,mem_disconn_reason_send 
+5e08 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5e09 20600000 rtn 
+
+parse_lmp_not_accepted_name_req:
+5e0a 20600000 rtn 
+
+parse_lmp_not_accepted_simple_pairing_number:
+5e0b 7009ae00 jam sp_stat_null ,mem_sp_state 
+5e0c 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5e0d 20205d07 branch parse_rx_done 
+
+parse_lmp_not_accepted_dhkey_check:
+5e0e 7009ae00 jam sp_stat_null ,mem_sp_state 
+5e0f 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5e10 20205d07 branch parse_rx_done 
+
+parse_lmp_not_accepted_unsniff_req:
+5e11 700a9924 jam bt_evt_unsniff_not_accept ,mem_fifo_temp 
+5e12 20207d86 branch ui_ipc_send_event 
+
+parse_lmp_accepted_unsniff_req:
+5e13 700a9923 jam bt_evt_unsniff_accept ,mem_fifo_temp 
+5e14 20407d86 call ui_ipc_send_event 
+5e15 202026e9 branch sniff_exit 
+
+parse_lmp_accepted_sniff_req:
+5e16 700a9922 jam bt_evt_sniff_accept ,mem_fifo_temp 
+5e17 20407d86 call ui_ipc_send_event 
+5e18 58000000 setarg 0 
+5e19 60010075 store 2 ,mem_dsniff 
+5e1a 680141e3 fetch 2 ,mem_sniff_param_interval 
+5e1b 1fe3fe00 lshift pdata ,pdata 
+5e1c 60010032 store 2 ,mem_tsniff 
+5e1d 6800c1e5 fetch 1 ,mem_sniff_param_attempt 
+5e1e 60008073 store 1 ,mem_sniff_attempt 
+5e1f 6800c1e7 fetch 1 ,mem_sniff_param_timeout 
+5e20 60008074 store 1 ,mem_sniff_timeout 
+5e21 202026c6 branch sniff_init 
+
+parse_lmp_not_acdcept_sniff_req:
+5e22 700a9921 jam bt_evt_sniff_not_accept ,mem_fifo_temp 
+5e23 20207d86 branch ui_ipc_send_event 
+
+parse_lmp_crypt_key:
+5e24 68088552 fetcht 1 ,mem_rxbuf + 1 
+5e25 60088054 storet 1 ,mem_key_size 
+5e26 20205e38 branch accept_lmp_msg 
+
+parse_lmp_setup_complete:
+5e27 680084d1 fetch 1 ,mem_lmp_conn_state 
+5e28 79207e02 set1 received_setup_complete ,pdata 
+5e29 600084d1 store 1 ,mem_lmp_conn_state 
+5e2a c3818000 rtnbit1 sent_setup_complete 
+5e2b 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+5e2c 20205d07 branch parse_rx_done 
+
+parse_lmp_max_slot:
+5e2d 20600000 rtn 
+
+parse_lmp_max_slot_req:
+5e2e 6800c0d0 fetch 1 ,mem_max_slot 
+5e2f 68088552 fetcht 1 ,mem_rxbuf + 1 
+5e30 98467c00 isub temp ,null 
+5e31 20215e38 branch accept_lmp_msg ,positive 
+5e32 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+5e33 70007e1f jam unspecified_error ,mem_lmo_reason2 
+5e34 70007d2e jam lmp_max_slot_req ,mem_lmi_opcode2 
+5e35 20600000 rtn 
+
+parse_lmp_detach:
+5e36 20406157 call prepare_disconnect 
+5e37 20205e38 branch accept_lmp_msg 
+
+accept_lmp_msg:
+5e38 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5e39 20600000 rtn 
+
+parse_lmp_incr_power:
+5e3a 70007c21 jam lmp_max_power ,mem_lmo_opcode2 
+5e3b 20600000 rtn 
+
+parse_lmp_decr_power:
+5e3c 70007c22 jam lmp_min_power ,mem_lmo_opcode2 
+5e3d 20600000 rtn 
+
+parse_lmp_version_res:
+5e3e 68008055 fetch 1 ,mem_conn_sm 
+5e3f c1098000 rtneq conn_sm_wait_version 
+5e40 70005502 jam conn_sm_send_features ,mem_conn_sm 
+5e41 20600000 rtn 
+
+parse_lmp_auto_rate:
+5e42 20600000 rtn 
+
+parse_lmp_in_rand:
+5e43 20405ff9 call lmp_copy_rand 
+5e44 7004d401 jam pincode_state_wait_pincode ,mem_pincode_state 
+5e45 700a990a jam bt_evt_pincode_req ,mem_fifo_temp 
+5e46 20407d86 call ui_ipc_send_event 
+5e47 204062f3 call tid_check 
+5e48 2420e001 nbranch lmp_accept_inrand ,true 
+5e49 2434de4e nbranch parse_lmp_inrand_res ,master 
+5e4a 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+5e4b 70007d08 jam lmp_in_rand ,mem_lmi_opcode2 
+5e4c 70007e23 jam transaction_collision ,mem_lmo_reason2 
+5e4d 20600000 rtn 
+
+parse_lmp_inrand_res:
+5e4e 6800804b fetch 1 ,mem_op 
+5e4f 79207e02 set1 op_inrand_req ,pdata 
+5e50 6000804b store 1 ,mem_op 
+5e51 20600000 rtn 
+
+pop_tid_follow:
+5e52 6808804c fetcht 1 ,mem_state_map 
+5e53 7d3a0401 nsetflag blank ,smap_lmptid ,temp 
+5e54 6008804c storet 1 ,mem_state_map 
+5e55 20600000 rtn 
+
+push_tid_follow:
+5e56 6800807f fetch 1 ,mem_lmo_tid2 
+5e57 1fe37e00 rshift pdata ,pdata 
+5e58 1fe17e01 and_into 1 ,pdata 
+5e59 20600000 rtn 
+
+parse_lmp_au_rand_moudle:
+5e5a 6800c217 fetch 1 ,mem_nv_data_number 
+5e5b 207a0000 rtn blank 
+5e5c 680089b5 fetch 1 ,mem_pairing_auth 
+5e5d 205a67b2 call load_device_list ,blank 
+5e5e 20600000 rtn 
+
+parse_lmp_au_rand:
+5e5f 20405e5a call parse_lmp_au_rand_moudle 
+5e60 20405e56 call push_tid_follow 
+5e61 600084d5 store 1 ,mem_sres_tid 
+5e62 20405ff9 call lmp_copy_rand 
+5e63 70007c0c jam lmp_sres ,mem_lmo_opcode2 
+5e64 6800c1bd fetch 1 ,mem_link_key_exists 
+5e65 247a0000 nrtn blank 
+5e66 68008030 fetch 1 ,mem_state 
+5e67 c3830000 rtnbit1 state_combkey 
+5e68 70007e06 jam key_missing ,mem_lmo_reason2 
+5e69 20205d53 branch reject_lmp_packet 
+
+parse_lmp_sres:
+5e6a da200040 arg mem_plap ,rega 
+5e6b 20407288 call function_e1 
+5e6c 68020552 fetch 4 ,mem_rxbuf + 1 
+5e6d 680a0592 fetcht 4 ,mem_input_store 
+5e6e 98467c00 isub temp ,null 
+5e6f 2022de73 branch authentication_ok ,zero 
+5e70 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5e71 7004ca05 jam authentication_failure_error ,mem_disconn_reason_send 
+5e72 20600000 rtn 
+
+authentication_ok:
+5e73 20405e77 call authentication_ok_common 
+5e74 6800c65a fetch 1 ,mem_ssp_enable 
+5e75 203a5f3e branch pairing_success ,blank 
+5e76 20600000 rtn 
+
+authentication_ok_common:
+5e77 20407386 call copy_aco 
+5e78 204021b2 call linkkey_ready 
+5e79 6800804b fetch 1 ,mem_op 
+5e7a 2feffe01 isolate1 op_auth_req ,pdata 
+5e7b 793ffe01 set0 op_auth_req ,pdata 
+5e7c 6000804b store 1 ,mem_op 
+5e7d 68008055 fetch 1 ,mem_conn_sm 
+5e7e c00cde81 beq conn_sm_auth_wait ,authentication_ok_conn_sm 
+5e7f c00c5e81 beq conn_sm_pairing_wait ,authentication_ok_conn_sm 
+5e80 20600000 rtn 
+
+authentication_ok_conn_sm:
+5e81 680089b5 fetch 1 ,mem_pairing_auth 
+5e82 c1800000 rtnne defalt_pairing_auth 
+5e83 6800804c fetch 1 ,mem_state_map 
+5e84 c3810000 rtnbit1 smap_encryption 
+5e85 202063b1 branch host_create_conn_encrypt 
+
+parse_lmp_comb_key:
+5e86 da200552 arg mem_rxbuf + 1 ,rega 
+5e87 da400582 arg mem_kinit ,regb 
+5e88 d8a00562 arg mem_random_number ,contw 
+5e89 20407352 call xor16 
+5e8a da200040 arg mem_plap ,rega 
+5e8b 20406311 call generate_linkkey 
+5e8c 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+5e8d 68008030 fetch 1 ,mem_state 
+5e8e c3035ffc bbit0 state_combkey ,lmp_generate_key 
+5e8f 20600000 rtn 
+
+parse_lmp_name_res:
+5e90 6801015f fetch 2 ,mem_len 
+5e91 1fe0f3fd add pdata ,-3 ,loopcnt 
+5e92 68088552 fetcht 1 ,mem_rxbuf + 1 
+5e93 58000101 setarg mem_tmp_buffer 
+5e94 98408a00 iadd temp ,contw 
+5e95 d8c00554 arg mem_rxbuf + 3 ,contr 
+5e96 20407f01 call memcpy 
+5e97 68088053 fetcht 1 ,mem_name_offset 
+5e98 68008553 fetch 1 ,mem_rxbuf + 2 
+5e99 98467e00 isub temp ,pdata 
+5e9a 1fe67c0e sub pdata ,14 ,null 
+5e9b 20215ea0 branch parse_lmp_name_res_end ,positive 
+5e9c 1840fe0e add temp ,14 ,pdata 
+5e9d 60008053 store 1 ,mem_name_offset 
+5e9e 70007c01 jam lmp_name_req ,mem_lmo_opcode2 
+5e9f 20600000 rtn 
+
+parse_lmp_name_res_end:
+5ea0 6800804c fetch 1 ,mem_state_map 
+5ea1 79207e03 set1 smap_name_res ,pdata 
+5ea2 6000804c store 1 ,mem_state_map 
+5ea3 c2826006 bbit1 smap_name_req ,lmp_disconnect 
+5ea4 20600000 rtn 
+
+parse_lmp_name_req:
+5ea5 68008552 fetch 1 ,mem_rxbuf + 1 
+5ea6 6000807d store 1 ,mem_lmi_opcode2 
+5ea7 70007c02 jam lmp_name_res ,mem_lmo_opcode2 
+5ea8 20600000 rtn 
+
+parse_lmp_conn_req:
+5ea9 20205e38 branch accept_lmp_msg 
+
+parse_lmp_timing_accuracy_req:
+5eaa 70007c30 jam lmp_timing_accuracy_res ,mem_lmo_opcode2 
+5eab 20600000 rtn 
+
+parse_lmp_features_req:
+5eac 70007c28 jam lmp_features_res ,mem_lmo_opcode2 
+5ead 20600000 rtn 
+
+parse_lmp_version_req:
+5eae 70007c26 jam lmp_version_res ,mem_lmo_opcode2 
+5eaf 20600000 rtn 
+
+parse_lmp_supervision_timeout:
+5eb0 20600000 rtn 
+
+parse_lmp_sniff_subrating_req:
+5eb1 68010032 fetch 2 ,mem_tsniff 
+5eb2 98000400 iforce temp 
+5eb3 68008553 fetch 1 ,mem_rxbuf + 2 
+5eb4 60008095 store 1 ,mem_subsniff_rate 
+5eb5 984f8400 imul32 temp ,temp 
+5eb6 68010554 fetch 2 ,mem_rxbuf + 3 
+5eb7 1fe3fe00 lshift pdata ,pdata 
+5eb8 60010096 store 2 ,mem_subsniff_tcmax 
+5eb9 68020556 fetch 4 ,mem_rxbuf + 5 
+5eba 1fe3fe00 lshift pdata ,pdata 
+5ebb 60020091 store 4 ,mem_subsniff_instant 
+5ebc 18427e00 deposit temp 
+5ebd 60010098 store 2 ,mem_subsniff_tsniff 
+5ebe 20600000 rtn 
+
+parse_lmpext_packet_type_table_req:
+5ebf 6808c15a fetcht 1 ,mem_ptt 
+5ec0 68008553 fetch 1 ,mem_rxbuf + 2 
+5ec1 9842fc00 ixor temp ,null 
+5ec2 2422dd77 nbranch reject_unknown_ext_packet ,zero 
+5ec3 2feffe00 isolate1 0 ,pdata 
+5ec4 6800804c fetch 1 ,mem_state_map 
+5ec5 7920fe05 setflag true ,smap_edr ,pdata 
+5ec6 6000804c store 1 ,mem_state_map 
+5ec7 70007c81 jam lmp_ext_accepted ,mem_lmo_opcode2 
+5ec8 70007d8b jam lmp_packet_type_table_req ,mem_lmi_opcode2 
+5ec9 20600000 rtn 
+
+parse_lmp_sniff_subrating_res:
+
+parse_lmp_preferred_rate:
+
+parse_lmp_max_power:
+
+parse_lmp_min_power:
+5eca 20600000 rtn 
+
+parse_lmp_page_mode_req:
+5ecb 20205e38 branch accept_lmp_msg 
+
+parse_lmp_page_scan_mode_req:
+5ecc 20205e38 branch accept_lmp_msg 
+
+parse_lmp_slot_offset:
+5ecd 68010552 fetch 2 ,mem_rxbuf + 1 
+5ece 60010171 store 2 ,mem_slot_offset 
+5ecf 20600000 rtn 
+
+parse_lmp_sniff_req_check_sniff_para:
+5ed0 68010555 fetch 2 ,mem_rxbuf + 4 
+5ed1 6808c172 fetcht 1 ,mem_lpm_mult 
+5ed2 984ffe00 imul32 temp ,pdata 
+5ed3 d8400640 arg 0x640 ,temp 
+5ed4 98467c00 isub temp ,null 
+5ed5 20600000 rtn 
+
+parse_lmp_sniff_req:
+5ed6 68010557 fetch 2 ,mem_rxbuf + 6 
+5ed7 203a5ef0 branch lmp_reject_sniff ,blank 
+5ed8 20405ed0 call parse_lmp_sniff_req_check_sniff_para 
+5ed9 20215ef0 branch lmp_reject_sniff ,positive 
+5eda 6800c092 fetch 1 ,mem_device_option 
+5edb 1fe67c0a sub pdata ,dvc_op_module ,null 
+5edc 2042bcd5 call module_set_lpm_mult_2 ,zero 
+5edd 68008030 fetch 1 ,mem_state 
+5ede c280def0 bbit1 state_insniff ,lmp_reject_sniff 
+5edf 68010553 fetch 2 ,mem_rxbuf + 2 
+5ee0 1fe3fe00 lshift pdata ,pdata 
+5ee1 60010075 store 2 ,mem_dsniff 
+5ee2 68010555 fetch 2 ,mem_rxbuf + 4 
+5ee3 1fe3fe00 lshift pdata ,pdata 
+5ee4 60010032 store 2 ,mem_tsniff 
+5ee5 68010557 fetch 2 ,mem_rxbuf + 6 
+5ee6 60008073 store 1 ,mem_sniff_attempt 
+5ee7 98000400 iforce temp 
+5ee8 68010559 fetch 2 ,mem_rxbuf + 8 
+5ee9 60008074 store 1 ,mem_sniff_timeout 
+5eea 98467c00 isub temp ,null 
+5eeb 24215eed nbranch set_big_value_to_attempt ,positive 
+5eec 60008073 store 1 ,mem_sniff_attempt 
+
+set_big_value_to_attempt:
+5eed 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5eee 70007d17 jam lmp_sniff_req ,mem_lmi_opcode2 
+5eef 20600000 rtn 
+
+lmp_reject_sniff:
+5ef0 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+5ef1 20205d53 branch reject_lmp_packet 
+
+parse_lmp_start_encryption_req:
+5ef2 20405e38 call accept_lmp_msg 
+5ef3 20405ff9 call lmp_copy_rand 
+5ef4 2040728b call function_e3 
+5ef5 202026b8 branch start_encryption 
+
+parse_lmp_stop_encryption_req:
+5ef6 20405e38 call accept_lmp_msg 
+5ef7 202026c0 branch stop_encryption 
+
+parse_lmp_switch_req:
+5ef8 68020552 fetch 4 ,mem_rxbuf + 1 
+5ef9 1fe3fe00 lshift pdata ,pdata 
+5efa 2034df04 branch parse_lmp_switch_accept ,master 
+5efb 6808c1bd fetcht 1 ,mem_link_key_exists 
+5efc 243a5f01 nbranch parse_lmp_switch_req_clear_mark ,blank 
+
+parse_lmp_switch_req_not_accept:
+5efd 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+5efe 70007d13 jam lmp_switch_req ,mem_lmi_opcode2 
+5eff 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+5f00 20600000 rtn 
+
+parse_lmp_switch_req_clear_mark:
+5f01 70007c34 jam lmp_slot_offset ,mem_lmo_opcode2 
+5f02 70005500 jam 0 ,mem_conn_sm 
+5f03 202021d9 branch role_switch_prepare 
+
+parse_lmp_switch_accept:
+5f04 204021d9 call role_switch_prepare 
+5f05 79200022 set1 mark_reconn_recieve_switch ,mark 
+5f06 6800816d fetch 1 ,mem_connection_options 
+5f07 793ffe02 set0 connection_switch ,pdata 
+5f08 6000816d store 1 ,mem_connection_options 
+5f09 20205e38 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:
+5f0a 20600000 rtn 
+
+parse_lmp_unsniff_req:
+5f0b 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5f0c 70007d18 jam lmp_unsniff_req ,mem_lmi_opcode2 
+5f0d 700a992e jam bt_evt_remote_unsniff ,mem_fifo_temp 
+5f0e 20407d86 call ui_ipc_send_event 
+5f0f 202026e9 branch sniff_exit 
+
+parse_lmp_encapsulated_header:
+5f10 68008552 fetch 1 ,mem_rxbuf + 1 
+5f11 c080df1c bne encapsulated_major_type_p192 ,parse_lmp_encapsulated_header_reject 
+5f12 68008553 fetch 1 ,mem_rxbuf + 2 
+5f13 c080df1c bne encapsulated_minor_type_p192 ,parse_lmp_encapsulated_header_reject 
+5f14 68008554 fetch 1 ,mem_rxbuf + 3 
+5f15 c0985f1c bne encapsulated_len_p192 ,parse_lmp_encapsulated_header_reject 
+5f16 204062fc call check_localsm 
+5f17 2020df19 branch parse_lmp_encapsulated_header_master ,true 
+5f18 7009ae01 jam sp_stat_key_recv ,mem_sp_state 
+
+parse_lmp_encapsulated_header_master:
+5f19 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5f1a 70007d3d jam lmp_encapsulated_header ,mem_lmi_opcode2 
+5f1b 20205d07 branch parse_rx_done 
+
+parse_lmp_encapsulated_header_reject:
+5f1c 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+5f1d 20205d53 branch reject_lmp_packet 
+
+parse_lmp_accepted_encapsulated_header:
+5f1e 70007c3e jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+5f1f 20600000 rtn 
+
+parse_lmp_accepted_simple_pairing_number:
+5f20 6800c662 fetch 1 ,mem_ssp_mode_flag 
+5f21 c000df27 beq ssp_mode_ssp_pin_flag ,parse_lmp_accepted_simple_pairing_number_ssp_pin 
+5f22 c0015f2b beq ssp_mode_passkey_entry_flag ,parse_lmp_accepted_simple_pairing_number_passkey 
+
+parse_lmp_accepted_simple_pairing_number_common:
+5f23 204062fc call check_localsm 
+5f24 20608000 rtn true 
+5f25 7009ae08 jam sp_stat_confirm_recv ,mem_sp_state 
+5f26 20600000 rtn 
+
+parse_lmp_accepted_simple_pairing_number_ssp_pin:
+5f27 20407962 call g_noninit_number_confirm 
+5f28 700a9935 jam bt_evt_bt_gkey_generate ,mem_fifo_temp 
+5f29 20407d86 call ui_ipc_send_event 
+5f2a 20205f23 branch parse_lmp_accepted_simple_pairing_number_common 
+
+parse_lmp_accepted_simple_pairing_number_passkey:
+5f2b 204062fc call check_localsm 
+5f2c 20608000 rtn true 
+5f2d 6800c663 fetch 1 ,mem_authentication_passkey_times 
+5f2e c009df3b beq 19 ,authentication_passkey_end 
+5f2f 1fe0fe01 increase 1 ,pdata 
+5f30 6000c663 store 1 ,mem_authentication_passkey_times 
+
+authentication_passkey:
+5f31 7009b001 jam sp_flag_commit ,mem_sp_flag 
+5f32 7009ae04 jam sp_stat_commit_calc ,mem_sp_state 
+5f33 6800c663 fetch 1 ,mem_authentication_passkey_times 
+5f34 1fe20e00 copy pdata ,queue 
+5f35 6803468a fetch 6 ,mem_pin 
+5f36 afefffff qisolate1 pdata 
+5f37 58000080 setarg 0x80 
+5f38 7920fe00 setflag true ,0 ,pdata 
+5f39 6000c664 store 1 ,mem_passkey_1bit 
+5f3a 20600000 rtn 
+
+authentication_passkey_end:
+5f3b 7009ae08 jam sp_stat_confirm_recv ,mem_sp_state 
+5f3c 20600000 rtn 
+
+parse_lmp_accepted_dhkey_check:
+5f3d 20405f43 call parse_lmp_accepted_dhkey_check_common 
+
+pairing_success:
+5f3e 6800c665 fetch 1 ,mem_flag_pairing_state 
+5f3f 207a0000 rtn blank 
+5f40 70466500 jam flag_pairing_state_not_pairing ,mem_flag_pairing_state 
+5f41 700a9938 jam bt_evt_bt_pairing_success ,mem_fifo_temp 
+5f42 20207d86 branch ui_ipc_send_event 
+
+parse_lmp_accepted_dhkey_check_common:
+5f43 204062fc call check_localsm 
+5f44 2440f965 ncall g_noninit ,true 
+5f45 2040f975 call g_init ,true 
+5f46 204062fc call check_localsm 
+5f47 20608000 rtn true 
+5f48 7009ae0c jam sp_stat_link_key_calc ,mem_sp_state 
+5f49 7009b001 jam sp_flag_commit ,mem_sp_flag 
+5f4a 20600000 rtn 
+
+parse_simple_pairing_confirm:
+5f4b d8a00a6e arg mem_sp_confirm_remote ,contw 
+5f4c d8c00552 arg mem_rxbuf + 1 ,contr 
+5f4d 20407ebf call memcpy16 
+5f4e 6800c662 fetch 1 ,mem_ssp_mode_flag 
+5f4f c1010000 rtneq ssp_mode_passkey_entry_flag 
+5f50 202076d8 branch master_set_mem_master_sp_flag 
+
+parse_lmp_encapsulated_payload:
+5f51 680089af fetch 1 ,mem_master_sp_state 
+5f52 c003df55 beq sp_stat_random_send ,parse_encapsulated_payload_master 
+5f53 680089ae fetch 1 ,mem_sp_state 
+5f54 c080df68 bne sp_stat_key_recv ,parse_lmp_encapsulated_payload_reject 
+
+parse_encapsulated_payload_master:
+5f55 680089b7 fetch 1 ,mem_sp_remote_key_recv_count 
+5f56 1fe60a20 sub pdata ,0x20 ,contw 
+5f57 24215f68 nbranch parse_lmp_encapsulated_payload_reject ,positive 
+5f58 d8a009c6 arg mem_sp_pubkey_remote ,contw 
+5f59 98a08a00 iadd contw ,contw 
+5f5a 68040552 fetch 8 ,mem_rxbuf + 1 
+5f5b e0a40000 istore 8 ,contw 
+5f5c 6804055a fetch 8 ,mem_rxbuf + 9 
+5f5d e0a40000 istore 8 ,contw 
+5f5e 680089b7 fetch 1 ,mem_sp_remote_key_recv_count 
+5f5f 1fe0fe10 increase 16 ,pdata 
+5f60 600089b7 store 1 ,mem_sp_remote_key_recv_count 
+5f61 c0985e38 bne encapsulated_len_p192 ,accept_lmp_msg 
+
+parse_lmp_encapsulated_payload_completed:
+5f62 204062fc call check_localsm 
+5f63 2020de38 branch accept_lmp_msg ,true 
+5f64 7009b801 jam sp_key_valid ,mem_sp_remote_key_invalid 
+5f65 7009ae02 jam sp_stat_key_generate ,mem_sp_state 
+5f66 7009b001 jam sp_flag_commit ,mem_sp_flag 
+5f67 20205e38 branch accept_lmp_msg 
+
+parse_lmp_encapsulated_payload_reject:
+5f68 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+5f69 20205d53 branch reject_lmp_packet 
+
+parse_lmp_accepted_encapsulated_payload:
+5f6a 680089b6 fetch 1 ,mem_sp_local_key_send_count 
+5f6b c0185f6e beq encapsulated_len_p192 ,parse_lmp_encapsulated_payload_all_accepted 
+5f6c 70007c3e jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+5f6d 20205d07 branch parse_rx_done 
+
+parse_lmp_encapsulated_payload_all_accepted:
+5f6e 204062fc call check_localsm 
+5f6f 2020df77 branch parse_lmp_encapsulated_payload_all_accepted_master ,true 
+5f70 6800c662 fetch 1 ,mem_ssp_mode_flag 
+5f71 c0015f75 beq ssp_mode_passkey_entry_flag ,parse_lmp_encapsulated_payload_all_accepted_get_passkey 
+5f72 7009b001 jam sp_flag_commit ,mem_sp_flag 
+5f73 7009ae04 jam sp_stat_commit_calc ,mem_sp_state 
+5f74 20205d07 branch parse_rx_done 
+
+parse_lmp_encapsulated_payload_all_accepted_get_passkey:
+5f75 700a9936 jam bt_evt_bt_get_passkey ,mem_fifo_temp 
+5f76 20207d86 branch ui_ipc_send_event 
+
+parse_lmp_encapsulated_payload_all_accepted_master:
+5f77 20205d07 branch parse_rx_done 
+
+parse_lmp_simple_pairing_number:
+5f78 680089af fetch 1 ,mem_master_sp_state 
+5f79 c003df7c beq sp_stat_random_send ,parse_lmp_simple_pairing_number_master 
+5f7a 680089ae fetch 1 ,mem_sp_state 
+5f7b c0835f88 bne sp_stat_random_recv ,parse_lmp_simple_pairing_number_reject 
+
+parse_lmp_simple_pairing_number_master:
+5f7c d8a00a2e arg mem_sp_random_remote ,contw 
+5f7d 68040552 fetch 8 ,mem_rxbuf + 1 
+5f7e e0a40000 istore 8 ,contw 
+5f7f 6804055a fetch 8 ,mem_rxbuf + 9 
+5f80 e0a40000 istore 8 ,contw 
+5f81 204062fc call check_localsm 
+5f82 2020df86 branch parse_lmp_simple_pairing_number_master0 ,true 
+5f83 7009ae07 jam sp_stat_random_send ,mem_sp_state 
+5f84 7009b001 jam sp_flag_commit ,mem_sp_flag 
+5f85 20205e38 branch accept_lmp_msg 
+
+parse_lmp_simple_pairing_number_master0:
+5f86 7009af04 jam sp_stat_commit_calc ,mem_master_sp_state 
+5f87 202076d8 branch master_set_mem_master_sp_flag 
+
+parse_lmp_simple_pairing_number_reject:
+5f88 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+5f89 20205d53 branch reject_lmp_packet 
+
+parse_dhkey_check:
+5f8a 680089af fetch 1 ,mem_master_sp_state 
+5f8b c005df8e beq sp_stat_confirm_send ,parse_dhkey_check_master 
+5f8c 680089ae fetch 1 ,mem_sp_state 
+5f8d c0845f9d bne sp_stat_confirm_recv ,parse_lmp_dhkey_check_reject 
+
+parse_dhkey_check_master:
+5f8e d8a00a5e arg mem_sp_check_result ,contw 
+5f8f d8c00552 arg mem_rxbuf + 1 ,contr 
+5f90 20407ebf call memcpy16 
+5f91 204062fc call check_localsm 
+5f92 2020df9a branch parse_dhkey_check_master0 ,true 
+5f93 6800c662 fetch 1 ,mem_ssp_mode_flag 
+5f94 c000df9f beq ssp_mode_ssp_pin_flag ,number_comparison_mode 
+
+number_comparison_successed:
+5f95 70466100 jam 0 ,mem_flag_mode_ssp_pin 
+5f96 7009ae09 jam sp_stat_confirm_check ,mem_sp_state 
+5f97 7009b001 jam sp_flag_commit ,mem_sp_flag 
+5f98 70007d41 jam lmp_dhkey_check ,mem_lmi_opcode2 
+5f99 20205d07 branch parse_rx_done 
+
+parse_dhkey_check_master0:
+5f9a 7009af09 jam sp_stat_confirm_check ,mem_master_sp_state 
+5f9b 7009b101 jam sp_flag_commit ,mem_master_sp_flag 
+5f9c 20205d07 branch parse_rx_done 
+
+parse_lmp_dhkey_check_reject:
+5f9d 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+5f9e 20205d53 branch reject_lmp_packet 
+
+number_comparison_mode:
+5f9f 6800c661 fetch 1 ,mem_flag_mode_ssp_pin 
+5fa0 c283dfa4 bbit1 flag_mode_ssp_pin_reviceve_comparison_bit ,comparison_result 
+5fa1 79207e06 set1 flag_mode_ssp_pin_recieve_dhkey_bit ,pdata 
+5fa2 6000c661 store 1 ,mem_flag_mode_ssp_pin 
+5fa3 20600000 rtn 
+
+comparison_result:
+5fa4 c2805f95 bbit1 flag_mode_ssp_pin_comparison_result_bit ,number_comparison_successed 
+5fa5 70466100 jam 0 ,mem_flag_mode_ssp_pin 
+5fa6 20205f9d branch parse_lmp_dhkey_check_reject 
+
+parse_lmp_clkoffset_res:
+5fa7 20205d07 branch parse_rx_done 
+
+parse_lmp_encryption_mode_req:
+5fa8 6800816d fetch 1 ,mem_connection_options 
+5fa9 793ffe01 set0 connection_encrypt 
+5faa 6000816d store 1 ,mem_connection_options 
+5fab 20405e38 call accept_lmp_msg 
+5fac 24748000 nrtn master 
+5fad 68008552 fetch 1 ,mem_rxbuf + 1 
+5fae 6808804b fetcht 1 ,mem_op 
+5faf 793a0404 setflag blank ,op_stop_enc ,temp 
+5fb0 7d3a0405 nsetflag blank ,op_start_enc ,temp 
+5fb1 6008804b storet 1 ,mem_op 
+5fb2 20600000 rtn 
+
+parse_lmp_features_res:
+5fb3 680c0552 fetcht 8 ,mem_rxbuf + 1 
+
+parse_lmp_features_res_not_hci:
+5fb4 68008055 fetch 1 ,mem_conn_sm 
+5fb5 c1818000 rtnne conn_sm_wait_features_res 
+5fb6 6800816d fetch 1 ,mem_connection_options 
+5fb7 c3025fba bbit0 connection_feature_ext ,parse_lmp_send_conn 
+5fb8 70005514 jam conn_sm_send_features_ext ,mem_conn_sm 
+5fb9 20600000 rtn 
+
+parse_lmp_send_conn:
+5fba 70005504 jam conn_sm_send_conn_req ,mem_conn_sm 
+5fbb 20600000 rtn 
+
+parse_lmp_test_activate:
+5fbc 6800817f fetch 1 ,mem_debug_config 
+5fbd 6000815b store 1 ,mem_test_mode_old_debug_config 
+5fbe 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5fbf 70007d38 jam lmp_test_activate ,mem_lmi_opcode2 
+5fc0 20600000 rtn 
+
+parse_lmp_test_control:
+5fc1 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5fc2 70007d39 jam lmp_test_control ,mem_lmi_opcode2 
+5fc3 18007209 force 9 ,loopcnt 
+5fc4 d8c00552 arg mem_rxbuf + 1 ,contr 
+5fc5 d8a00152 arg mem_temp_payload ,contw 
+
+parse_lmp_test_xor:
+5fc6 e8c08000 ifetch 1 ,contr 
+5fc7 1fe2fe55 xor_into 0x55 ,pdata 
+5fc8 e0a08000 istore 1 ,contw 
+5fc9 c2005fc6 loop parse_lmp_test_xor 
+5fca 68008152 fetch 1 ,test_mode_scenario 
+5fcb 68088151 fetcht 1 ,mem_tester_emulate 
+5fcc 793f8407 set0 tester_no_whitening ,temp 
+5fcd 793f8404 set0 tester_pattern_test ,temp 
+5fce c07fdfda beq exit_test_mode ,parse_lmp_test_control_exit 
+5fcf c0005ff3 beq pause_test_mode ,parse_lmp_test_control_pause 
+5fd0 c002dfe7 beq closed_loop_back_acl ,parse_lmp_test_control_loopback 
+5fd1 c003dfe6 beq acl_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+5fd2 c0035fe7 beq closed_loop_back_sco ,parse_lmp_test_control_loopback 
+5fd3 c0045fe6 beq sco_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+5fd4 c000dfdf beq zero_pattern ,parse_lmp_test_control_pattern 
+5fd5 c0015fdf beq one_pattern ,parse_lmp_test_control_pattern 
+5fd6 c001dfdf beq alt_pattern ,parse_lmp_test_control_pattern 
+5fd7 c004dfdf beq alt2_pattern ,parse_lmp_test_control_pattern 
+5fd8 c0025fdf beq pseudorandom ,parse_lmp_test_control_pattern 
+5fd9 20600000 rtn 
+
+parse_lmp_test_control_exit:
+5fda 68008151 fetch 1 ,mem_tester_emulate 
+5fdb 79207e03 set1 tester_exit ,pdata 
+5fdc 79207e02 set1 tester_change ,pdata 
+5fdd 60008151 store 1 ,mem_tester_emulate 
+5fde 20600000 rtn 
+
+parse_lmp_test_control_pattern:
+5fdf 79200404 set1 tester_pattern_test ,temp 
+5fe0 70018005 jam 5 ,mem_lch_code 
+5fe1 68010159 fetch 2 ,test_mode_data_length 
+5fe2 98007200 iforce loopcnt 
+5fe3 6001015f store 2 ,mem_len 
+5fe4 d8a00551 arg mem_rxbuf ,contw 
+5fe5 20407f73 call pn9 
+
+parse_lmp_test_control_loopback_nowhite:
+5fe6 79200407 set1 tester_no_whitening ,temp 
+
+parse_lmp_test_control_loopback:
+5fe7 79200402 set1 tester_change ,temp 
+5fe8 18007e00 force 0 ,pdata 
+5fe9 6000800b store 1 ,mem_slave_rcvcnt 
+5fea 600100fa store 2 ,mem_tst_pktcnt_crc 
+5feb 600100fc store 2 ,mem_tst_pktcnt_dmh 
+5fec 600100f8 store 2 ,mem_tst_pktcnt_hec 
+5fed 600100f6 store 2 ,mem_tst_pktcnt_sync 
+5fee 68008153 fetch 1 ,test_mode_hopping_mode 
+5fef 2fe1fe00 compare fixed_freq ,pdata ,0xff 
+5ff0 79208406 setflag true ,tester_fixed_freq ,temp 
+5ff1 60088151 storet 1 ,mem_tester_emulate 
+5ff2 20600000 rtn 
+
+parse_lmp_test_control_pause:
+5ff3 793f8011 set0 mark_testmode ,mark 
+5ff4 70015100 jam 0 ,mem_tester_emulate 
+5ff5 6800817f fetch 1 ,mem_debug_config 
+5ff6 793ffe06 set0 debug_tx_pattern ,pdata 
+5ff7 6000817f store 1 ,mem_debug_config 
+5ff8 20600000 rtn 
+
+lmp_copy_rand:
+5ff9 d8c00552 arg mem_rxbuf + 1 ,contr 
+5ffa d8a00562 arg mem_random_number ,contw 
+5ffb 20207ebf branch memcpy16 
+
+lmp_generate_key:
+5ffc 70007c09 jam lmp_comb_key ,mem_lmo_opcode2 
+5ffd 20600000 rtn 
+
+lmp_start_encryption:
+5ffe 24748000 nrtn master 
+5fff 70007c11 jam lmp_start_encryption_req ,mem_lmo_opcode2 
+6000 20600000 rtn 
+
+lmp_accept_inrand:
+6001 da2040a0 arg mem_lap ,rega 
+6002 20407255 call generate_kinit 
+6003 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+6004 70007d08 jam lmp_in_rand ,mem_lmi_opcode2 
+6005 20600000 rtn 
+
+lmp_disconnect:
+6006 7000720a jam 10 ,mem_conn_timer 
+6007 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+6008 7004ca16 jam local_host ,mem_disconn_reason_send 
+6009 20600000 rtn 
+
+send_lmp:
+600a 47414030 bpatchx patch30_2 ,mem_patch30 
+600b 78547c00 disable user 
+600c 204062c1 call lmo_fifo_process 
+600d 68008048 fetch 1 ,mem_lmp_to_send 
+600e 207a0000 rtn blank 
+600f c283e03f bbit1 7 ,send_lmp_escape 
+
+send_lmp0:
+6010 c000e16f beq lmp_name_req ,send_lmp_name_req 
+6011 c00160e4 beq lmp_name_res ,send_lmp_name_res 
+6012 c001e04a beq lmp_accepted ,send_lmp_accepted 
+6013 c0026060 beq lmp_not_accepted ,send_lmp_not_accepted 
+6014 c013e1db beq lmp_features_req ,send_lmp_features_req 
+6015 c0146108 beq lmp_features_res ,send_lmp_features_res 
+6016 c01860f4 beq lmp_timing_accuracy_res ,send_lmp_timing_accuracy_res 
+6017 c012e1d6 beq lmp_version_req ,send_lmp_version_req 
+6018 c0136103 beq lmp_version_res ,send_lmp_version_res 
+6019 c018e1c3 beq lmp_setup_complete ,send_lmp_setup_complete 
+601a c01be16a beq lmp_supervision_timeout ,send_lmp_superto 
+601b c019e15c beq lmp_host_connection_req ,send_lmp_no_payload 
+601c c0046259 beq lmp_in_rand ,send_lmp_inrand 
+601d c004e24f beq lmp_comb_key ,send_lmp_comb_key 
+601e c005e264 beq lmp_au_rand ,send_lmp_aurand 
+601f c006626d beq lmp_sres ,send_lmp_sres 
+6020 c007e162 beq lmp_encryption_mode_req ,send_lmp_encryption_mode_req 
+6021 c0086292 beq lmp_encryption_key_size_req ,send_lmp_encryption_key_size_req 
+6022 c008e288 beq lmp_start_encryption_req ,send_lmp_start_encryption 
+6023 c003e152 beq lmp_detach ,send_lmp_detach 
+6024 c015617e beq lmp_quality_of_service_req ,send_lmp_quality_of_service_req 
+6025 c005617f beq lmp_unit_key ,send_lmp_unit_key 
+6026 c00fe1bc beq lmp_incr_power_req ,send_lmp_inc_power 
+6027 c00360f9 beq lmp_clkoffset_res ,send_lmp_clkoffset_res 
+6028 c010e15f beq lmp_max_power ,send_lmp_nopayload_reply 
+6029 c016e1b2 beq lmp_max_slot ,send_lmp_max_slot 
+602a c01761b7 beq lmp_max_slot_req ,send_lmp_max_slot_req 
+602b c011615f beq lmp_min_power ,send_lmp_nopayload_reply 
+602c c01a6180 beq lmp_slot_offset ,send_lmp_slot_offset 
+602d c009e195 beq lmp_switch_req ,send_lmp_switch_req 
+602e c00be1a4 beq lmp_sniff_req ,send_lmp_sniff_req 
+602f c009628f beq lmp_stop_encryption_req ,send_lmp_stop_encryption_req 
+6030 c017e1aa beq lmp_timing_accuracy_req ,send_lmp_timing_accuracy_req 
+6031 c00c61af beq lmp_unsniff_req ,send_lmp_unsniff_req 
+6032 c01ee1ff beq lmp_encapsulated_header ,send_lmp_encapsulated_header 
+6033 c01f620b beq lmp_encapsulated_payload ,send_lmp_encapsulated_payload 
+6034 c01fe21d beq lmp_simple_pairing_confirm ,send_lmp_simple_pairing_comfirm 
+6035 c0206227 beq lmp_simple_pairing_number ,send_lmp_simple_pairing_number 
+6036 c020e23c beq lmp_dhkey_check ,send_lmp_dhkey_check 
+6037 c011e24b beq lmp_auto_rate ,send_lmp_auto_rate 
+6038 c01de246 beq lmp_enc_key_size_mask_res ,send_lmp_enc_key_size_mask_res 
+6039 c002e24c beq lmp_clkoffset_req ,send_lmp_clkoffset_req 
+603a c014e24d beq lmp_quality_of_service ,send_lmp_quality_of_service 
+603b c01c624e beq lmp_test_activate ,send_lmp_test_activate 
+603c c01ce175 beq lmp_test_control ,send_lmp_test_control 
+
+send_lmp_error:
+603d 20202a8c branch assert 
+603e 20600000 rtn 
+
+send_lmp_escape:
+603f c040e06d beq lmp_ext_accepted ,send_lmpext_accepted 
+6040 c0426099 beq lmp_ext_features_res ,send_lmpext_features_res 
+6041 c0416076 beq lmp_not_accepted_ext ,send_lmpext_not_accepted 
+6042 c041e10d beq lmp_ext_features_req ,send_lmpext_features_req 
+6043 c045e118 beq lmp_packet_type_table_req ,send_lmpext_packet_type_table_req 
+6044 c04be14e beq lmp_pause_encryption_req ,send_lmpext_pause_encryption_req 
+6045 c04ce0d5 beq lmp_io_cap_req ,send_lmp_io_cap_req 
+6046 c04d60a4 beq lmp_io_cap_res ,send_lmpext_io_cap_res 
+6047 c04ae0da beq lmp_sniff_subrating_req ,send_lmpext_sniff_subrating_req 
+6048 c04b60db beq lmp_sniff_subrating_res ,send_lmpext_sniff_subrating_res 
+6049 20202a8c branch assert 
+
+send_lmp_accepted:
+604a 18007e02 force 2 ,pdata 
+604b 20406298 call msg_send_lmp 
+604c 68008049 fetch 1 ,mem_lmi_opcode 
+604d e0a08000 istore 1 ,contw 
+604e 204062a7 call send_lmp_follow 
+604f 4741c030 bpatchx patch30_3 ,mem_patch30 
+6050 68008049 fetch 1 ,mem_lmi_opcode 
+6051 c0046080 beq lmp_in_rand ,send_lmp_accepted_inrand 
+6052 c007e084 beq lmp_encryption_mode_req ,send_lmp_accepted_enc_mode 
+6053 c008608f beq lmp_encryption_key_size_req ,send_lmp_accepted_enc_key 
+6054 c00be05f beq lmp_sniff_req ,send_lmp_accept_sniff_req 
+6055 c019e092 beq lmp_host_connection_req ,send_lmp_accepted_connection 
+6056 c020e098 beq lmp_dhkey_check ,send_lmp_accept_dhkey_check 
+6057 c008e059 beq lmp_start_encryption_req ,send_create_conn_start_l2cap_timer_sm 
+6058 20600000 rtn 
+
+send_create_conn_start_l2cap_timer_sm:
+6059 68008055 fetch 1 ,mem_conn_sm 
+605a 207a0000 rtn blank 
+605b 7000551b jam conn_sm_wait_done ,mem_conn_sm 
+605c 5800000c setarg timer_enpt_waite 
+605d d8e00007 arg enpt_delay_timer ,queue 
+605e 20207f08 branch timer_init 
+
+send_lmp_accept_sniff_req:
+605f 202026c6 branch sniff_init 
+
+send_lmp_not_accepted:
+6060 18007e03 force 3 ,pdata 
+6061 20406298 call msg_send_lmp 
+6062 68008049 fetch 1 ,mem_lmi_opcode 
+6063 c005e068 beq lmp_au_rand ,send_not_accept_aurand 
+6064 e0a08000 istore 1 ,contw 
+6065 6800804a fetch 1 ,mem_lmo_reason 
+6066 e0a08000 istore 1 ,contw 
+6067 202062a7 branch send_lmp_follow 
+
+send_not_accept_aurand:
+6068 e0a08000 istore 1 ,contw 
+6069 6800804a fetch 1 ,mem_lmo_reason 
+606a e0a08000 istore 1 ,contw 
+606b d84004d5 arg mem_sres_tid ,temp 
+606c 202062e2 branch special_tid_store 
+
+send_lmpext_accepted:
+606d 18000e04 force 4 ,queue 
+606e 204062a0 call send_lmpext 
+606f 5800007f setarg lmp_escape 
+6070 e0a08000 istore 1 ,contw 
+6071 68008049 fetch 1 ,mem_lmi_opcode 
+6072 793ffe07 set0 7 ,pdata 
+6073 e0a08000 istore 1 ,contw 
+6074 68008049 fetch 1 ,mem_lmi_opcode 
+6075 202062a7 branch send_lmp_follow 
+
+send_lmpext_not_accepted:
+6076 18000e05 force 5 ,queue 
+6077 204062a0 call send_lmpext 
+6078 5800007f setarg lmp_escape 
+6079 e0a08000 istore 1 ,contw 
+607a 68008049 fetch 1 ,mem_lmi_opcode 
+607b 793ffe07 set0 7 ,pdata 
+607c e0a08000 istore 1 ,contw 
+607d 6800804a fetch 1 ,mem_lmo_reason 
+607e e0a08000 istore 1 ,contw 
+607f 202062a7 branch send_lmp_follow 
+
+send_lmp_accepted_inrand:
+6080 2040244f call clear_linkkey 
+6081 204062f3 call tid_check 
+6082 20608000 rtn true 
+6083 20205ffc branch lmp_generate_key 
+
+send_lmp_accepted_enc_mode:
+6084 6800804b fetch 1 ,mem_op 
+6085 c282e08b bbit1 op_start_enc ,send_lmp_accepted_enc_start 
+6086 c4020000 rtnbit0 op_stop_enc 
+6087 70007c12 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+6088 793ffe04 set0 op_stop_enc ,pdata 
+6089 204062eb call tid_reply 
+608a 2020608d branch send_lmp_accepted_enc_exit 
+
+send_lmp_accepted_enc_start:
+608b 70007c10 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+608c 793ffe05 set0 op_start_enc ,pdata 
+
+send_lmp_accepted_enc_exit:
+608d 6000804b store 1 ,mem_op 
+608e 20600000 rtn 
+
+send_lmp_accepted_enc_key:
+608f 204062fc call check_localsm 
+6090 2020dffe branch lmp_start_encryption ,true 
+6091 20600000 rtn 
+
+send_lmp_accepted_connection:
+6092 70007c8b jam lmp_packet_type_table_req ,mem_lmo_opcode2 
+6093 680084d1 fetch 1 ,mem_lmp_conn_state 
+6094 79207e00 set1 received_conn_req ,pdata 
+6095 600084d1 store 1 ,mem_lmp_conn_state 
+6096 700a9901 jam bt_evt_bb_connected ,mem_fifo_temp 
+6097 20207d86 branch ui_ipc_send_event 
+
+send_lmp_accept_dhkey_check:
+6098 20600000 rtn 
+
+send_lmpext_features_res:
+6099 18000e0c force 12 ,queue 
+609a 204062a0 call send_lmpext 
+609b 58000001 setarg 0x01 
+609c e0a08000 istore 1 ,contw 
+609d 680104ce fetch 2 ,mem_lmpext_ssp_enable 
+609e e0a10000 istore 2 ,contw 
+609f 58000000 setarg 0 
+60a0 e0a18000 istore 3 ,contw 
+60a1 58000000 setarg 0x00 
+60a2 e0a20000 istore 4 ,contw 
+60a3 202062b0 branch send_lmp_reply 
+
+send_lmpext_io_cap_res:
+60a4 18000e05 force 5 ,queue 
+60a5 204062a0 call send_lmpext 
+60a6 6801c65b fetch 3 ,mem_sp_iocap_local 
+60a7 e0a18000 istore 3 ,contw 
+60a8 204062b0 call send_lmp_reply 
+60a9 70466501 jam flag_pairing_state_pairing ,mem_flag_pairing_state 
+60aa 6800c65b fetch 1 ,mem_sp_iocap_local 
+60ab c000e0b5 beq display_yesno ,responder_iocap_display_yesno 
+60ac c00160af beq keyboard_only ,responder_iocap_keyboard_only 
+60ad c001e0bb beq no_input_no_output ,responder_iocap_no_input_no_output 
+60ae 20600000 rtn 
+
+responder_iocap_keyboard_only:
+60af 6800c65e fetch 1 ,mem_sp_iocap_remote 
+60b0 c00060c7 beq display_only ,responder_iocap_keyboard_only_initiator_iocap_display_only 
+60b1 c000e0c7 beq display_yesno ,responder_iocap_keyboard_only_initiator_iocap_display_yesno 
+60b2 c00160c7 beq keyboard_only ,responder_iocap_keyboard_only_initiator_iocap_keyboard_only 
+60b3 c001e0c1 beq no_input_no_output ,responder_iocap_keyboard_only_initiator_iocap_no_input_no_output 
+60b4 20600000 rtn 
+
+responder_iocap_display_yesno:
+60b5 6800c65e fetch 1 ,mem_sp_iocap_remote 
+60b6 c00060c1 beq display_only ,responder_iocap_display_yesno_initiator_iocap_display_only 
+60b7 c000e0c5 beq display_yesno ,responder_iocap_display_yesno_initiator_iocap_display_yesno 
+60b8 c00160c7 beq keyboard_only ,responder_iocap_display_yesno_initiator_iocap_keyboard_only 
+60b9 c001e0c1 beq no_input_no_output ,responder_iocap_display_yesno_initiator_iocap_no_input_no_output 
+60ba 20600000 rtn 
+
+responder_iocap_no_input_no_output:
+60bb 6800c65e fetch 1 ,mem_sp_iocap_remote 
+60bc c00060c1 beq display_only ,responder_iocap_no_input_no_output_initiator_iocap_display_only 
+60bd c000e0c1 beq display_yesno ,responder_iocap_no_input_no_output_initiator_iocap_display_yesno 
+60be c00160c1 beq keyboard_only ,responder_iocap_no_input_no_output_initiator_iocap_keyboard_only 
+60bf c001e0c1 beq no_input_no_output ,responder_iocap_no_input_no_output_initiator_iocap_no_input_no_output 
+60c0 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:
+60c1 70466203 jam ssp_mode_just_work_flag ,mem_ssp_mode_flag 
+60c2 6800c55c fetch 1 ,mem_classic_bt_flag 
+60c3 c28033e9 bbit1 flag_ssp_reject_justwork ,app_bt_disconnect 
+60c4 20600000 rtn 
+
+responder_iocap_display_yesno_initiator_iocap_display_yesno:
+
+set_ssp_mode_numeric_comparison:
+60c5 70466201 jam ssp_mode_ssp_pin_flag ,mem_ssp_mode_flag 
+60c6 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:
+60c7 70466202 jam ssp_mode_passkey_entry_flag ,mem_ssp_mode_flag 
+60c8 20600000 rtn 
+
+classic_bt_set_reject_justwork_flag:
+60c9 d8e00000 arg flag_ssp_reject_justwork ,queue 
+60ca 202060cd branch classic_bluetooth_set_flag 
+
+classic_bt_clr_reject_justwork_flag:
+60cb d8e00000 arg flag_ssp_reject_justwork ,queue 
+60cc 202060d1 branch classic_bluetooth_clr_flag 
+
+classic_bluetooth_set_flag:
+60cd 6800c55c fetch 1 ,mem_classic_bt_flag 
+60ce f9207e00 qset1 pdata 
+60cf 6000c55c store 1 ,mem_classic_bt_flag 
+60d0 20600000 rtn 
+
+classic_bluetooth_clr_flag:
+60d1 6800c55c fetch 1 ,mem_classic_bt_flag 
+60d2 f93ffe00 qset0 pdata 
+60d3 6000c55c store 1 ,mem_classic_bt_flag 
+60d4 20600000 rtn 
+
+send_lmp_io_cap_req:
+60d5 18000e05 force 5 ,queue 
+60d6 204062a0 call send_lmpext 
+60d7 6801c65b fetch 3 ,mem_sp_iocap_local 
+60d8 e0a18000 istore 3 ,contw 
+60d9 202062b2 branch send_lmp_request 
+
+send_lmpext_sniff_subrating_req:
+60da 20600000 rtn 
+
+send_lmpext_sniff_subrating_res:
+60db 18000e09 force 9 ,queue 
+60dc 204062a0 call send_lmpext 
+60dd 68008095 fetch 1 ,mem_subsniff_rate 
+60de e0a08000 istore 1 ,contw 
+60df 68010096 fetch 2 ,mem_subsniff_tcmax 
+60e0 e0a10000 istore 2 ,contw 
+60e1 68020091 fetch 4 ,mem_subsniff_instant 
+60e2 e0a20000 istore 4 ,contw 
+60e3 202062b0 branch send_lmp_reply 
+
+send_lmp_name_res:
+60e4 18007e11 force 17 ,pdata 
+60e5 20406298 call msg_send_lmp 
+60e6 68008049 fetch 1 ,mem_lmi_opcode 
+60e7 1fe20400 copy pdata ,temp 
+60e8 c00060ec beq 0x00 ,send_lmp_name_res_offset_ok 
+60e9 c00760ec beq 0x0e ,send_lmp_name_res_offset_ok 
+60ea c00e60ec beq 0x1c ,send_lmp_name_res_offset_ok 
+60eb 20600000 rtn 
+
+send_lmp_name_res_offset_ok:
+60ec e0a08000 istore 1 ,contw 
+60ed 6800c515 fetch 1 ,mem_local_name_length 
+60ee e0a08000 istore 1 ,contw 
+60ef df20000e arg 14 ,loopcnt 
+60f0 58004516 setarg mem_local_name 
+60f1 98408c00 iadd temp ,contr 
+60f2 20407f01 call memcpy 
+60f3 202062b0 branch send_lmp_reply 
+
+send_lmp_timing_accuracy_res:
+60f4 18007e03 force 3 ,pdata 
+60f5 20406298 call msg_send_lmp 
+60f6 58000114 setarg 0x0114 
+60f7 e0a10000 istore 2 ,contw 
+60f8 202062b0 branch send_lmp_reply 
+
+send_lmp_clkoffset_res:
+60f9 18007e03 force 3 ,pdata 
+60fa 20406298 call msg_send_lmp 
+60fb 68020165 fetch 4 ,mem_clke_bt 
+60fc 9c467e00 isub clkn_bt ,pdata 
+60fd 2034e0ff branch send_lmp_clkoffset_res_master ,master 
+60fe 1fe67e00 sub pdata ,0 ,pdata 
+
+send_lmp_clkoffset_res_master:
+60ff 1feb7e00 rshift2 pdata ,pdata 
+6100 793ffe0f set0 15 ,pdata 
+6101 e0a10000 istore 2 ,contw 
+6102 202062b0 branch send_lmp_reply 
+
+send_lmp_version_res:
+6103 18007e06 force 6 ,pdata 
+6104 20406298 call msg_send_lmp 
+6105 6802c510 fetch 5 ,mem_lmp_version 
+6106 e0a28000 istore 5 ,contw 
+6107 202062b0 branch send_lmp_reply 
+
+send_lmp_features_res:
+6108 18007e09 force 9 ,pdata 
+6109 20406298 call msg_send_lmp 
+610a 68044098 fetch 8 ,mem_features 
+610b e0a40000 istore 8 ,contw 
+610c 202062b0 branch send_lmp_reply 
+
+send_lmpext_features_req:
+610d 18000e0c force 12 ,queue 
+610e 204062a0 call send_lmpext 
+610f 58000001 setarg 0x01 
+6110 e0a08000 istore 1 ,contw 
+6111 680104ce fetch 2 ,mem_lmpext_ssp_enable 
+6112 e0a10000 istore 2 ,contw 
+6113 58000000 setarg 0 
+6114 e0a18000 istore 3 ,contw 
+6115 58000000 setarg 0x00 
+6116 e0a20000 istore 4 ,contw 
+6117 202062b2 branch send_lmp_request 
+
+send_lmpext_packet_type_table_req:
+6118 18000e03 force 3 ,queue 
+6119 204062a0 call send_lmpext 
+611a 6800c15a fetch 1 ,mem_ptt 
+611b e0a08000 istore 1 ,contw 
+611c 78547c00 disable user 
+611d 204062b2 call send_lmp_request 
+611e 24740000 nrtn user 
+611f 24748000 nrtn master 
+6120 6800c0d8 fetch 1 ,mem_afh_cfg 
+6121 c4000000 rtnbit0 afh_cfg_on 
+6122 20406132 call afh_init 
+6123 2020613c branch afh_open_all_channels 
+
+ssp_enable:
+6124 47424030 bpatchx patch30_4 ,mem_patch30 
+6125 6800c09e fetch 1 ,mem_features + 6 
+6126 79207e03 set1 param_featrue_ssp ,pdata 
+6127 6000c09e store 1 ,mem_features + 6 
+6128 58000101 setarg param_lmpext_ssp_enable 
+6129 600104ce store 2 ,mem_lmpext_ssp_enable 
+612a 20600000 rtn 
+
+ssp_disable:
+612b 4742c030 bpatchx patch30_5 ,mem_patch30 
+612c 6800c09e fetch 1 ,mem_features + 6 
+612d 793ffe03 set0 param_featrue_ssp ,pdata 
+612e 6000c09e store 1 ,mem_features + 6 
+612f 58000000 setarg 0 
+6130 600104ce store 2 ,mem_lmpext_ssp_enable 
+6131 20600000 rtn 
+
+afh_init:
+6132 7040d803 jam 0x3 ,mem_afh_cfg 
+6133 58000000 setarg 0 
+6134 60024142 store 4 ,mem_afh_timer 
+6135 d8a040da arg mem_afh_map_lo ,contw 
+6136 20406140 call afh_reset_map 
+6137 d8a040e7 arg mem_afh_map_new ,contw 
+6138 20406140 call afh_reset_map 
+6139 d8a04146 arg mem_afh_classify_channel_map ,contw 
+613a 20406140 call afh_reset_map 
+613b 20206147 branch afh_clear_error_counter 
+
+afh_open_all_channels:
+613c d8a040e7 arg mem_afh_map_new ,contw 
+613d 20406140 call afh_reset_map 
+613e 20406147 call afh_clear_error_counter 
+613f 2020614a branch afh_set_send_flag 
+
+afh_reset_map:
+6140 58ffffff setarg 0xffffff 
+6141 e0a18000 istore 3 ,contw 
+6142 e0a18000 istore 3 ,contw 
+6143 e0a18000 istore 3 ,contw 
+6144 5800007f setarg 0x7f 
+6145 e0a08000 istore 1 ,contw 
+6146 20600000 rtn 
+
+afh_clear_error_counter:
+6147 58000000 setarg 0 
+6148 600140d6 store 2 ,mem_afh_error_total 
+6149 20600000 rtn 
+
+afh_set_send_flag:
+614a 6800c0d8 fetch 1 ,mem_afh_cfg 
+614b 79207e02 set1 send_lmp_set_afh ,pdata 
+614c 6000c0d8 store 1 ,mem_afh_cfg 
+614d 20600000 rtn 
+
+send_lmpext_pause_encryption_req:
+614e 18000e02 force 2 ,queue 
+614f 204062a0 call send_lmpext 
+6150 2434e2b0 nbranch send_lmp_reply ,master 
+6151 202062b2 branch send_lmp_request 
+
+send_lmp_detach:
+6152 18007e02 force 2 ,pdata 
+6153 20406298 call msg_send_lmp 
+6154 680084ca fetch 1 ,mem_disconn_reason_send 
+6155 e0a08000 istore 1 ,contw 
+6156 204062b2 call send_lmp_request 
+
+prepare_disconnect:
+6157 6800804b fetch 1 ,mem_op 
+6158 79207e03 set1 op_disconn ,pdata 
+6159 6000804b store 1 ,mem_op 
+615a 70007232 jam 50 ,mem_conn_timer 
+615b 20600000 rtn 
+
+send_lmp_no_payload:
+615c 18007e01 force 1 ,pdata 
+615d 20406298 call msg_send_lmp 
+615e 202062b2 branch send_lmp_request 
+
+send_lmp_nopayload_reply:
+615f 18007e01 force 1 ,pdata 
+6160 20406298 call msg_send_lmp 
+6161 202062b0 branch send_lmp_reply 
+
+send_lmp_encryption_mode_req:
+6162 18007e02 force 2 ,pdata 
+6163 20406298 call msg_send_lmp 
+6164 6800804c fetch 1 ,mem_state_map 
+6165 2fec0002 isolate0 smap_encryption ,pdata 
+6166 7920fe00 setflag true ,0 ,pdata 
+6167 1fe17e01 and_into 1 ,pdata 
+6168 e0a08000 istore 1 ,contw 
+6169 202062b2 branch send_lmp_request 
+
+send_lmp_superto:
+616a 18007e03 force 3 ,pdata 
+616b 20406298 call msg_send_lmp 
+616c 68010051 fetch 2 ,mem_supervision_to 
+616d e0a10000 istore 2 ,contw 
+616e 202062b2 branch send_lmp_request 
+
+send_lmp_name_req:
+616f 700072fa jam 250 ,mem_conn_timer 
+6170 18007e02 force 2 ,pdata 
+6171 20406298 call msg_send_lmp 
+6172 68008053 fetch 1 ,mem_name_offset 
+6173 e0a08000 istore 1 ,contw 
+6174 202062b2 branch send_lmp_request 
+
+send_lmp_test_control:
+6175 18007e0a force 10 ,pdata 
+6176 20406298 call msg_send_lmp 
+6177 d8c00152 arg mem_temp_payload ,contr 
+6178 18007209 force 9 ,loopcnt 
+
+send_lmp_test_control_loop:
+6179 e8c08000 ifetch 1 ,contr 
+617a 1fe2fe55 xor_into 0x55 ,pdata 
+617b e0a08000 istore 1 ,contw 
+617c c2006179 loop send_lmp_test_control_loop 
+617d 202062b2 branch send_lmp_request 
+
+send_lmp_quality_of_service_req:
+617e 202062b2 branch send_lmp_request 
+
+send_lmp_unit_key:
+617f 202062b2 branch send_lmp_request 
+
+send_lmp_slot_offset:
+6180 20748000 rtn master 
+6181 2040282d call calc_slot_offset 
+6182 18007e09 force 9 ,pdata 
+6183 20406298 call msg_send_lmp 
+6184 68010171 fetch 2 ,mem_slot_offset 
+6185 e0a10000 istore 2 ,contw 
+6186 6801c0a0 fetch 3 ,mem_lap 
+6187 e0a18000 istore 3 ,contw 
+6188 6800c0a3 fetch 1 ,mem_uap 
+6189 e0a08000 istore 1 ,contw 
+618a 680140a4 fetch 2 ,mem_nap 
+618b e0a10000 istore 2 ,contw 
+618c c581e191 bmark0 mark_switch_initiated ,send_lmp_slot_offset_reply 
+618d 793f8003 set0 mark_switch_initiated ,mark 
+618e 204062b2 call send_lmp_request 
+618f 70007c13 jam lmp_switch_req ,mem_lmo_opcode2 
+6190 20600000 rtn 
+
+send_lmp_slot_offset_reply:
+6191 204062b0 call send_lmp_reply 
+6192 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+6193 70007d13 jam lmp_switch_req ,mem_lmi_opcode2 
+6194 20600000 rtn 
+
+send_lmp_switch_req:
+6195 d8400200 arg 0x200 ,temp 
+6196 2034e199 branch switch_on_native ,master 
+6197 1d027e00 deposit clke_bt 
+6198 2020619a branch switch_slack 
+
+switch_on_native:
+6199 1c427e00 deposit clkn_bt 
+
+switch_slack:
+619a 1c227e00 deposit bt_clk 
+619b 9840fe00 iadd temp ,pdata 
+619c 1fe17ffc and_into 0x1fc ,pdata 
+619d 60020034 store 4 ,mem_sniff_anchor 
+619e 18007e05 force 5 ,pdata 
+619f 20406298 call msg_send_lmp 
+61a0 68020034 fetch 4 ,mem_sniff_anchor 
+61a1 1fe37e00 rshift pdata ,pdata 
+61a2 e0a20000 istore 4 ,contw 
+61a3 202062b2 branch send_lmp_request 
+
+send_lmp_sniff_req:
+61a4 18007e0a force 10 ,pdata 
+61a5 20406298 call msg_send_lmp 
+61a6 d8c004d9 arg mem_sniff_payload ,contr 
+61a7 e8c48000 ifetch 9 ,contr 
+61a8 e0a48000 istore 9 ,contw 
+61a9 202062b2 branch send_lmp_request 
+
+send_lmp_timing_accuracy_req:
+61aa 18007e03 force 3 ,pdata 
+61ab 20406298 call msg_send_lmp 
+61ac 58000114 setarg 0x0114 
+61ad e0a10000 istore 2 ,contw 
+61ae 202062b2 branch send_lmp_request 
+
+send_lmp_unsniff_req:
+61af 18007e01 force 1 ,pdata 
+61b0 20406298 call msg_send_lmp 
+61b1 202062b2 branch send_lmp_request 
+
+send_lmp_max_slot:
+61b2 18007e02 force 2 ,pdata 
+61b3 20406298 call msg_send_lmp 
+61b4 6800c0d0 fetch 1 ,mem_max_slot 
+61b5 e0a08000 istore 1 ,contw 
+61b6 202062b2 branch send_lmp_request 
+
+send_lmp_max_slot_req:
+61b7 18007e02 force 2 ,pdata 
+61b8 20406298 call msg_send_lmp 
+61b9 58000005 setarg 0x05 
+61ba e0a08000 istore 1 ,contw 
+61bb 202062b2 branch send_lmp_request 
+
+send_lmp_inc_power:
+61bc 18007e02 force 2 ,pdata 
+61bd 20406298 call msg_send_lmp 
+61be 58000000 setarg 0x00 
+61bf e0a08000 istore 1 ,contw 
+61c0 202062b2 branch send_lmp_request 
+
+send_lmp_setup_complete_by_module:
+61c1 70007c2e jam lmp_max_slot_req ,mem_lmo_opcode2 
+61c2 20600000 rtn 
+
+send_lmp_setup_complete:
+61c3 6800c092 fetch 1 ,mem_device_option 
+61c4 1fe67c0a sub pdata ,dvc_op_module ,null 
+61c5 2042e1c1 call send_lmp_setup_complete_by_module ,zero 
+61c6 68008030 fetch 1 ,mem_state 
+61c7 79207e04 set1 state_conn_comp ,pdata 
+61c8 60008030 store 1 ,mem_state 
+61c9 1c427e00 copy clkn_bt ,pdata 
+61ca 600204e9 store 4 ,mem_aurand_send_delay_time 
+61cb 680084d1 fetch 1 ,mem_lmp_conn_state 
+61cc c281e1d4 bbit1 sent_setup_complete ,send_lmp_setup_complete_has_sent 
+61cd 79207e03 set1 sent_setup_complete ,pdata 
+61ce 600084d1 store 1 ,mem_lmp_conn_state 
+61cf 700a9905 jam bt_evt_setup_complete ,mem_fifo_temp 
+61d0 20407d86 call ui_ipc_send_event 
+61d1 18007e01 force 1 ,pdata 
+61d2 20406298 call msg_send_lmp 
+61d3 202062b2 branch send_lmp_request 
+
+send_lmp_setup_complete_has_sent:
+61d4 70004800 jam 0 ,mem_lmp_to_send 
+61d5 20600000 rtn 
+
+send_lmp_version_req:
+61d6 18007e06 force 6 ,pdata 
+61d7 20406298 call msg_send_lmp 
+61d8 6802c510 fetch 5 ,mem_lmp_version 
+61d9 e0a28000 istore 5 ,contw 
+61da 202062b2 branch send_lmp_request 
+
+send_lmp_features_req:
+61db 18007e09 force 9 ,pdata 
+61dc 20406298 call msg_send_lmp 
+61dd 68044098 fetch 8 ,mem_features 
+61de e0a40000 istore 8 ,contw 
+61df 202062b2 branch send_lmp_request 
+
+sp_master_send_io_cap_get:
+61e0 7009b101 jam sp_flag_commit ,mem_master_sp_flag 
+61e1 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+61e2 c1808000 rtnne sp_key_valid 
+61e3 7009af13 jam sp_master_stat_start_done ,mem_master_sp_state 
+61e4 20600000 rtn 
+
+sp_master_send_io_cap_send:
+61e5 204062ef call tid_initiate 
+61e6 70007c99 jam lmp_io_cap_req ,mem_lmo_opcode2 
+61e7 7009af03 jam sp_stat_key_send ,mem_master_sp_state 
+61e8 20600000 rtn 
+
+sp_master_send_lmp_encapsulated_header:
+61e9 204062ef call tid_initiate 
+61ea 70007c3d jam lmp_encapsulated_header ,mem_lmo_opcode2 
+61eb 7009af07 jam sp_stat_random_send ,mem_master_sp_state 
+61ec 20600000 rtn 
+
+sp_master_commitment_compare:
+61ed da200a4e arg mem_sp_calc_result_high ,rega 
+61ee da400a6e arg mem_sp_confirm_remote ,regb 
+61ef df200010 arg 16 ,loopcnt 
+61f0 20407f88 call string_compare 
+61f1 2022e1f7 branch sp_master_commitment_compare_success ,zero 
+61f2 7009af00 jam sp_stat_null ,mem_master_sp_state 
+61f3 204076da call master_clear_mem_master_sp_flag 
+61f4 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+61f5 70007d40 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+61f6 20205d53 branch reject_lmp_packet 
+
+sp_master_commitment_compare_success:
+61f7 7009af0a jam sp_stat_confirm_calc ,mem_master_sp_state 
+61f8 204076d8 call master_set_mem_master_sp_flag 
+61f9 70007d40 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+61fa 20205e38 branch accept_lmp_msg 
+
+sp_master_send_lmp_simple_pairing_number:
+61fb 70007c40 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+61fc 20600000 rtn 
+
+sp_send_lmp_encapsulated_header:
+61fd 70007c3d jam lmp_encapsulated_header ,mem_lmo_opcode2 
+61fe 20600000 rtn 
+
+send_lmp_encapsulated_header:
+61ff 7009b600 jam 0 ,mem_sp_local_key_send_count 
+6200 18007e04 force 4 ,pdata 
+6201 20406298 call msg_send_lmp 
+6202 18007e01 force encapsulated_major_type_p192 ,pdata 
+6203 e0a08000 istore 1 ,contw 
+6204 18007e01 force encapsulated_minor_type_p192 ,pdata 
+6205 e0a08000 istore 1 ,contw 
+6206 18007e30 force encapsulated_len_p192 ,pdata 
+6207 e0a08000 istore 1 ,contw 
+6208 204062fc call check_localsm 
+6209 2020e2b2 branch send_lmp_request ,true 
+620a 202062b0 branch send_lmp_reply 
+
+send_lmp_encapsulated_payload:
+620b 18007e11 force 17 ,pdata 
+620c 20406298 call msg_send_lmp 
+620d 680089b6 fetch 1 ,mem_sp_local_key_send_count 
+620e d8c0462a arg mem_sp_pubkey_local ,contr 
+620f 98c08c00 iadd contr ,contr 
+6210 e8c40000 ifetch 8 ,contr 
+6211 e0a40000 istore 8 ,contw 
+6212 e8c40000 ifetch 8 ,contr 
+6213 e0a40000 istore 8 ,contw 
+6214 680089b6 fetch 1 ,mem_sp_local_key_send_count 
+6215 1fe0fe10 increase 16 ,pdata 
+6216 600089b6 store 1 ,mem_sp_local_key_send_count 
+6217 204062fc call check_localsm 
+6218 2020e2b2 branch send_lmp_request ,true 
+6219 202062b0 branch send_lmp_reply 
+
+sp_send_lmp_simple_pairing_comfirm:
+621a 7009ae06 jam sp_stat_random_recv ,mem_sp_state 
+621b 70007c3f jam lmp_simple_pairing_confirm ,mem_lmo_opcode2 
+621c 20600000 rtn 
+
+send_lmp_simple_pairing_comfirm:
+621d 18007e11 force 17 ,pdata 
+621e 20406298 call msg_send_lmp 
+621f d8c00a4e arg mem_sp_calc_result_high ,contr 
+6220 e8c40000 ifetch 8 ,contr 
+6221 e0a40000 istore 8 ,contw 
+6222 e8c40000 ifetch 8 ,contr 
+6223 e0a40000 istore 8 ,contw 
+6224 202062b0 branch send_lmp_reply 
+
+sp_send_lmp_simple_pairing_number:
+6225 70007c40 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+6226 20600000 rtn 
+
+send_lmp_simple_pairing_number:
+6227 204062fc call check_localsm 
+6228 2040f612 call sp_local_random_key_generator ,true 
+6229 18007e11 force 17 ,pdata 
+622a 20406298 call msg_send_lmp 
+622b d8c00a1e arg mem_sp_random_local ,contr 
+622c e8c40000 ifetch 8 ,contr 
+622d e0a40000 istore 8 ,contw 
+622e e8c40000 ifetch 8 ,contr 
+622f e0a40000 istore 8 ,contw 
+6230 204062fc call check_localsm 
+6231 2420e2b0 nbranch send_lmp_reply ,true 
+6232 2020e2b2 branch send_lmp_request ,true 
+
+master_sp_sm_end:
+6233 7009af0f jam sp_stat_done ,mem_master_sp_state 
+
+sp_aurand_send:
+6234 204062ef call tid_initiate 
+6235 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+6236 20406307 call check_localsm_master 
+6237 2020f64e branch sp_master_key_prarm_push ,true 
+6238 20207658 branch sp_link_key_prarm_push 
+
+master_sp_send_lmp_dhkey_check:
+6239 204062eb call tid_reply 
+
+sp_send_lmp_dhkey_check:
+623a 70007c41 jam lmp_dhkey_check ,mem_lmo_opcode2 
+623b 20600000 rtn 
+
+send_lmp_dhkey_check:
+623c 18007e11 force 17 ,pdata 
+623d 20406298 call msg_send_lmp 
+623e d8c00a4e arg mem_sp_calc_result_high ,contr 
+623f e8c40000 ifetch 8 ,contr 
+6240 e0a40000 istore 8 ,contw 
+6241 e8c40000 ifetch 8 ,contr 
+6242 e0a40000 istore 8 ,contw 
+6243 204062fc call check_localsm 
+6244 2420e2b0 nbranch send_lmp_reply ,true 
+6245 2020e2b2 branch send_lmp_request ,true 
+
+send_lmp_enc_key_size_mask_res:
+6246 18007e03 force 3 ,pdata 
+6247 20406298 call msg_send_lmp 
+6248 5800fffe setarg 0xfffe 
+6249 e0a10000 istore 2 ,contw 
+624a 202062b0 branch send_lmp_reply 
+
+send_lmp_auto_rate:
+624b 202062b2 branch send_lmp_request 
+
+send_lmp_clkoffset_req:
+624c 202062b2 branch send_lmp_request 
+
+send_lmp_quality_of_service:
+624d 202062b2 branch send_lmp_request 
+
+send_lmp_test_activate:
+624e 202062b2 branch send_lmp_request 
+
+send_lmp_comb_key:
+624f 2040630b call generate_random_number 
+6250 da2040a0 arg mem_lap ,rega 
+6251 20406311 call generate_linkkey 
+6252 18007e11 force 17 ,pdata 
+6253 20406298 call msg_send_lmp 
+6254 da200582 arg mem_kinit ,rega 
+6255 da400562 arg mem_random_number ,regb 
+6256 20407352 call xor16 
+6257 2434e2a7 nbranch send_lmp_follow ,master 
+6258 202062ad branch send_lmp_tid 
+
+send_lmp_inrand:
+6259 2040630b call generate_random_number 
+625a da200040 arg mem_plap ,rega 
+625b 20407255 call generate_kinit 
+
+send_lmp_rand:
+625c 18007e11 force 17 ,pdata 
+625d 20406298 call msg_send_lmp 
+625e d8c00562 arg mem_random_number ,contr 
+625f 20407ebf call memcpy16 
+6260 68008055 fetch 1 ,mem_conn_sm 
+6261 c00ce2b2 beq conn_sm_auth_wait ,send_lmp_request 
+6262 c00c62b2 beq conn_sm_pairing_wait ,send_lmp_request 
+6263 202062ad branch send_lmp_tid 
+
+send_lmp_aurand:
+6264 680089b5 fetch 1 ,mem_pairing_auth 
+6265 203a626a branch send_lmp_aurand_notpairing ,blank 
+6266 204062fc call check_localsm 
+6267 2040e2ef call tid_initiate ,true 
+6268 2440e2eb ncall tid_reply ,true 
+6269 2020626b branch send_lmp_aurand_common 
+
+send_lmp_aurand_notpairing:
+626a 204062ef call tid_initiate 
+
+send_lmp_aurand_common:
+626b 2040630b call generate_random_number 
+626c 2020625c branch send_lmp_rand 
+
+send_lmp_sres:
+626d da2040a0 arg mem_lap ,rega 
+626e 20407288 call function_e1 
+626f 18007e05 force 5 ,pdata 
+6270 20406298 call msg_send_lmp 
+6271 68020592 fetch 4 ,mem_input_store 
+6272 e0a20000 istore 4 ,contw 
+6273 d84004d5 arg mem_sres_tid ,temp 
+6274 204062e2 call special_tid_store 
+6275 20407386 call copy_aco 
+6276 204062fc call check_localsm 
+6277 2020e27c branch send_lmp_sres_master ,true 
+6278 7004d801 jam done_encryp ,mem_wait_encryption 
+6279 680089b5 fetch 1 ,mem_pairing_auth 
+627a 207a0000 rtn blank 
+627b 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+
+send_lmp_sres_master:
+627c 6800c1bd fetch 1 ,mem_link_key_exists 
+627d 207a0000 rtn blank 
+
+send_lmp_sres_startenc:
+627e 204062fc call check_localsm 
+627f 2420e284 nbranch send_lmp_sres_startenc_slave ,true 
+6280 680084d7 fetch 1 ,mem_auth_enable 
+6281 207a0000 rtn blank 
+6282 70007c0f jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+6283 20600000 rtn 
+
+send_lmp_sres_startenc_slave:
+6284 c6908000 rtnmark0 mark_slave_in_rand_accepted 
+6285 793f8021 set0 mark_slave_in_rand_accepted ,mark 
+6286 70007c0f jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+6287 20600000 rtn 
+
+send_lmp_start_encryption:
+6288 2040630b call generate_random_number 
+6289 2040728b call function_e3 
+628a 18007e11 force 17 ,pdata 
+628b 20406298 call msg_send_lmp 
+628c d8c00562 arg mem_random_number ,contr 
+628d 20407ebf call memcpy16 
+628e 202062ad branch send_lmp_tid 
+
+send_lmp_stop_encryption_req:
+628f 18007e01 force 1 ,pdata 
+6290 20406298 call msg_send_lmp 
+6291 202062ad branch send_lmp_tid 
+
+send_lmp_encryption_key_size_req:
+6292 18007e02 force 2 ,pdata 
+6293 20406298 call msg_send_lmp 
+6294 18007e10 force 16 ,pdata 
+6295 e0a08000 istore 1 ,contw 
+6296 60008054 store 1 ,mem_key_size 
+6297 202062ad branch send_lmp_tid 
+
+msg_send_lmp:
+6298 1fe9fe00 lshift3 pdata ,pdata 
+6299 1fe1fe07 or_into 0x07 ,pdata 
+629a 600084b6 store 1 ,mem_lmo_header_length 
+629b df200011 arg 17 ,loopcnt 
+629c d8a004b8 arg mem_lmo_payload ,contw 
+629d 20407ed4 call clear_mem 
+629e d8a004b8 arg mem_lmo_payload ,contw 
+629f 20600000 rtn 
+
+send_lmpext:
+62a0 1fe1227f and pdata ,0x7f ,rega 
+62a1 7000487f jam lmp_escape ,mem_lmp_to_send 
+62a2 18e27e00 deposit queue 
+62a3 20406298 call msg_send_lmp 
+62a4 1a227e00 deposit rega 
+62a5 e0a08000 istore 1 ,contw 
+62a6 20600000 rtn 
+
+send_lmp_follow:
+62a7 68008048 fetch 1 ,mem_lmp_to_send 
+62a8 1fe3fe00 lshift pdata ,pdata 
+62a9 6808804c fetcht 1 ,mem_state_map 
+62aa 284ffe01 isolate1 smap_lmptid ,temp 
+62ab 7920fe00 setflag true ,0 ,pdata 
+62ac 202062b7 branch send_lmp_exit 
+
+send_lmp_tid:
+62ad 6808804c fetcht 1 ,mem_state_map 
+62ae 18410401 and_into 1 ,temp 
+62af 202062b3 branch send_lmp_end 
+
+send_lmp_reply:
+62b0 18000400 force 0 ,temp 
+62b1 202062b3 branch send_lmp_end 
+
+send_lmp_request:
+62b2 18000401 force 1 ,temp 
+
+send_lmp_end:
+62b3 68008048 fetch 1 ,mem_lmp_to_send 
+62b4 1fe3fe00 lshift pdata ,pdata 
+62b5 7934fe00 setflag master ,0 ,pdata 
+62b6 9842fe00 ixor temp ,pdata 
+
+send_lmp_exit:
+62b7 600084b7 store 1 ,mem_lmo_header_opcode 
+62b8 70004800 jam 0 ,mem_lmp_to_send 
+62b9 204062c7 call lmo_fifo_process_lmo0empty 
+62ba 78347c00 enable user 
+62bb 20600000 rtn 
+
+lmo_fifo_check:
+62bc 6800807c fetch 1 ,mem_lmo_opcode2 
+62bd 207a0000 rtn blank 
+62be 204062c1 call lmo_fifo_process 
+62bf 6800807c fetch 1 ,mem_lmo_opcode2 
+62c0 20600000 rtn 
+
+lmo_fifo_process:
+62c1 47434030 bpatchx patch30_6 ,mem_patch30 
+62c2 68008048 fetch 1 ,mem_lmp_to_send 
+62c3 203a62c7 branch lmo_fifo_process_lmo0empty ,blank 
+62c4 68008078 fetch 1 ,mem_lmo_opcode1 
+62c5 247a0000 nrtn blank 
+62c6 202062d1 branch lmo_fifo_process_lmo2to1 
+
+lmo_fifo_process_lmo0empty:
+62c7 68008078 fetch 1 ,mem_lmo_opcode1 
+62c8 203a62d7 branch lmo_fifo_process_lmo1_empty ,blank 
+62c9 68018078 fetch 3 ,mem_lmo_opcode1 
+62ca 60018048 store 3 ,mem_lmp_to_send 
+62cb 6808807b fetcht 1 ,mem_lmo_tid1 
+62cc 6800804c fetch 1 ,mem_state_map 
+62cd 793ffe01 set0 smap_lmptid ,pdata 
+62ce 9841fe00 ior temp ,pdata 
+62cf 6000804c store 1 ,mem_state_map 
+62d0 70007800 jam 0 ,mem_lmo_opcode1 
+
+lmo_fifo_process_lmo2to1:
+62d1 6800807c fetch 1 ,mem_lmo_opcode2 
+62d2 207a0000 rtn blank 
+62d3 6802007c fetch 4 ,mem_lmo_opcode2 
+62d4 60020078 store 4 ,mem_lmo_opcode1 
+62d5 70007c00 jam 0 ,mem_lmo_opcode2 
+62d6 20600000 rtn 
+
+lmo_fifo_process_lmo1_empty:
+62d7 6800807c fetch 1 ,mem_lmo_opcode2 
+62d8 207a0000 rtn blank 
+62d9 6801807c fetch 3 ,mem_lmo_opcode2 
+62da 60018048 store 3 ,mem_lmp_to_send 
+62db 6808807f fetcht 1 ,mem_lmo_tid2 
+62dc 6800804c fetch 1 ,mem_state_map 
+62dd 793ffe01 set0 smap_lmptid ,pdata 
+62de 9841fe00 ior temp ,pdata 
+62df 6000804c store 1 ,mem_state_map 
+62e0 70007c00 jam 0 ,mem_lmo_opcode2 
+62e1 20600000 rtn 
+
+special_tid_store:
+62e2 4743c030 bpatchx patch30_7 ,mem_patch30 
+62e3 6800804c fetch 1 ,mem_state_map 
+62e4 1fe22600 copy pdata ,regc 
+62e5 e8408000 ifetch 1 ,temp 
+62e6 20405e52 call pop_tid_follow 
+62e7 204062a7 call send_lmp_follow 
+62e8 1a627e00 copy regc ,pdata 
+62e9 6000804c store 1 ,mem_state_map 
+62ea 20600000 rtn 
+
+tid_reply:
+62eb 6808804c fetcht 1 ,mem_state_map 
+62ec 793f8400 set0 smap_lmptidinit ,temp 
+62ed 6008804c storet 1 ,mem_state_map 
+62ee 20600000 rtn 
+
+tid_initiate:
+62ef 6808804c fetcht 1 ,mem_state_map 
+62f0 79200400 set1 smap_lmptidinit ,temp 
+62f1 6008804c storet 1 ,mem_state_map 
+62f2 20600000 rtn 
+
+tid_check:
+62f3 7d34fe01 nsetflag master ,smap_lmptid ,pdata 
+62f4 6808804c fetcht 1 ,mem_state_map 
+62f5 9842fe00 ixor temp ,pdata 
+62f6 2feffe01 isolate1 smap_lmptid ,pdata 
+62f7 20600000 rtn 
+
+tid_set_reply:
+62f8 6800804c fetch 1 ,mem_state_map 
+62f9 7934fe01 setflag master ,smap_lmptid ,pdata 
+62fa 6000804c store 1 ,mem_state_map 
+62fb 20600000 rtn 
+
+check_localsm:
+62fc 680089b4 fetch 1 ,mem_sp_localsm 
+62fd 2fe0fe01 compare local_statemachine ,pdata ,0x7f 
+62fe 20600000 rtn 
+
+setlocalsm_master:
+62ff 680089b4 fetch 1 ,mem_sp_localsm 
+6300 79207e07 set1 7 ,pdata 
+6301 600089b4 store 1 ,mem_sp_localsm 
+6302 20600000 rtn 
+
+setlocalsm_slave:
+6303 680089b4 fetch 1 ,mem_sp_localsm 
+6304 793ffe07 set0 7 ,pdata 
+6305 600089b4 store 1 ,mem_sp_localsm 
+6306 20600000 rtn 
+
+check_localsm_master:
+6307 680089b4 fetch 1 ,mem_sp_localsm 
+6308 2feffe07 isolate1 7 ,pdata 
+6309 600089b4 store 1 ,mem_sp_localsm 
+630a 20600000 rtn 
+
+generate_random_number:
+630b d8a00562 arg mem_random_number ,contw 
+
+generate_random:
+630c 18007210 force 16 ,loopcnt 
+
+generate_random_another:
+
+generate_random_loop:
+630d 180a7e00 random pdata 
+630e e0a08000 istore 1 ,contw 
+630f c200630d loop generate_random_another 
+6310 20600000 rtn 
+
+generate_linkkey:
+6311 20407259 call function_e21 
+6312 da2041be arg mem_link_key ,rega 
+6313 da400592 arg mem_input_store ,regb 
+6314 ea240000 ifetch 8 ,rega 
+6315 68088030 fetcht 1 ,mem_state 
+6316 7d3a0406 nsetflag blank ,state_combkey ,temp 
+6317 60088030 storet 1 ,mem_state 
+6318 1a220a00 copy rega ,contw 
+6319 20407352 call xor16 
+631a 202021c4 branch generate_linkkey_continue 
+
+process_conn_sm:
+631b 47444031 bpatchx patch31_0 ,mem_patch31 
+631c 204062bc call lmo_fifo_check 
+631d 247a0000 nrtn blank 
+
+process_conn_sm_continue:
+631e 68008055 fetch 1 ,mem_conn_sm 
+631f 207a0000 rtn blank 
+6320 c002636f beq conn_sm_send_conn_req ,host_create_conn_send_conn_req 
+6321 c002e374 beq conn_sm_wait_conn_accept ,host_create_conn_wait_accept 
+6322 c0016366 beq conn_sm_send_features ,host_create_conn_send_features 
+6323 c001e37c beq conn_sm_wait_features_res ,host_create_conn_waiting 
+6324 c0076369 beq conn_sm_send_switch ,host_create_conn_send_switch 
+6325 c0036398 beq conn_sm_auth_pair ,host_create_conn_auth_pair 
+6326 c003e3b0 beq conn_sm_auth_pair_wait ,host_create_conn_auth_pair_wait 
+6327 c004e3b1 beq conn_sm_encrypt ,host_create_conn_encrypt 
+6328 c00563ba beq conn_sm_encrypt_wait ,host_create_conn_encrypt_wait 
+6329 c005e3be beq conn_sm_encrypt_wait_clear ,host_create_conn_encrypt_wait_clear 
+632a c0066386 beq conn_sm_send_setup_complete ,host_create_conn_send_setup_complete 
+632b c006e389 beq conn_sm_wait_setup_complete ,host_create_conn_wait_setup_complete 
+632c c007e38f beq conn_sm_detach_delay ,host_create_conn_master_detach 
+632d c0096359 beq conn_sm_send_version ,host_create_conn_send_version 
+632e c009e37c beq conn_sm_wait_version ,host_create_conn_waiting 
+632f c008635c beq conn_sm_wait_switch_after_host_connection ,host_creat_conn_wait_switch 
+6330 c00a6356 beq conn_sm_send_features_ext ,host_creat_conn_send_feat_ext 
+6331 c00ae37c beq conn_sm_wait_features_ext ,host_create_conn_waiting 
+6332 c00b6350 beq conn_sm_pairing ,host_create_conn_pairing 
+6333 c00c6355 beq conn_sm_pairing_wait ,host_create_conn_pairing_wait 
+6334 c00be349 beq conn_sm_auth ,host_create_conn_auth 
+6335 c00ce34f beq conn_sm_auth_wait ,host_create_conn_auth_wait 
+6336 c00d633a beq conn_sm_done ,host_create_conn_done 
+6337 c00de344 beq conn_sm_wait_done ,host_create_conn_done_wait 
+6338 70005500 jam conn_sm_standby ,mem_conn_sm 
+6339 20600000 rtn 
+
+host_create_conn_done:
+633a 680084d1 fetch 1 ,mem_lmp_conn_state 
+633b c4010000 rtnbit0 received_setup_complete 
+633c c4018000 rtnbit0 sent_setup_complete 
+633d 70005500 jam conn_sm_standby ,mem_conn_sm 
+633e 20406340 call host_conn_judge_encrypt 
+633f 20206cef branch scheduler_start_upper_sm 
+
+host_conn_judge_encrypt:
+6340 6800816d fetch 1 ,mem_connection_options 
+6341 c4008000 rtnbit0 connection_encrypt 
+6342 7000550a jam conn_sm_encrypt_wait ,mem_conn_sm 
+6343 20600000 rtn 
+
+host_create_conn_done_wait:
+6344 d8e00007 arg enpt_delay_timer ,queue 
+6345 20407f16 call timer_check 
+6346 247a0000 nrtn blank 
+6347 7000551a jam conn_sm_done ,mem_conn_sm 
+6348 20600000 rtn 
+
+host_create_conn_auth:
+6349 6800816d fetch 1 ,mem_connection_options 
+634a 793ffe00 set0 connection_auth ,pdata 
+634b 6000816d store 1 ,mem_connection_options 
+634c 70005519 jam conn_sm_auth_wait ,mem_conn_sm 
+634d 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+634e 20600000 rtn 
+
+host_create_conn_auth_wait:
+634f 20600000 rtn 
+
+host_create_conn_pairing:
+6350 680084d4 fetch 1 ,mem_pincode_state 
+6351 c1810000 rtnne pincode_state_pincode_ready 
+6352 204063c0 call host_auth 
+6353 70005518 jam conn_sm_pairing_wait ,mem_conn_sm 
+6354 20600000 rtn 
+
+host_create_conn_pairing_wait:
+6355 20600000 rtn 
+
+host_creat_conn_send_feat_ext:
+6356 70005515 jam conn_sm_wait_features_ext ,mem_conn_sm 
+6357 70007c83 jam lmp_ext_features_req ,mem_lmo_opcode2 
+6358 20600000 rtn 
+
+host_create_conn_send_version:
+6359 70005513 jam conn_sm_wait_version ,mem_conn_sm 
+635a 70007c25 jam lmp_version_req ,mem_lmo_opcode2 
+635b 20600000 rtn 
+
+host_creat_conn_wait_switch:
+635c 6800c55b fetch 1 ,mem_switch_flag 
+635d c1000000 rtneq switch_flag_init 
+635e c000e364 beq switch_flag_accept ,host_create_conn_switch_accept 
+635f d8e00006 arg switch_wait_timer ,queue 
+6360 20407f16 call timer_check 
+6361 247a0000 nrtn blank 
+6362 70455b00 jam switch_flag_init ,mem_switch_flag 
+6363 2020637d branch host_create_conn_switch 
+
+host_create_conn_switch_accept:
+6364 20748000 rtn master 
+6365 20206398 branch host_create_conn_auth_pair 
+
+host_create_conn_send_features:
+6366 70005503 jam conn_sm_wait_features_res ,mem_conn_sm 
+6367 70007c27 jam lmp_features_req ,mem_lmo_opcode2 
+6368 20600000 rtn 
+
+host_create_conn_send_switch:
+6369 70007c13 jam lmp_switch_req ,mem_lmo_opcode2 
+636a 79200003 set1 mark_switch_initiated ,mark 
+636b 70005505 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+636c 580001ff setarg 0x1ff 
+636d 600104d2 store 2 ,mem_soft_timer 
+636e 20600000 rtn 
+
+host_create_conn_send_conn_req:
+636f 70005505 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+6370 7004d2ff jam 0xff ,mem_soft_timer 
+6371 793f8022 set0 mark_reconn_recieve_switch ,mark 
+6372 70007c33 jam lmp_host_connection_req ,mem_lmo_opcode2 
+6373 20205d04 branch init_lmp_reinit 
+
+host_create_conn_wait_accept:
+6374 c6110000 rtnmark1 mark_reconn_recieve_switch 
+6375 680104d2 fetch 2 ,mem_soft_timer 
+6376 1fe67e01 sub pdata ,1 ,pdata 
+6377 2022e37a branch host_create_conn_resend ,zero 
+6378 600104d2 store 2 ,mem_soft_timer 
+6379 20600000 rtn 
+
+host_create_conn_resend:
+637a 7000550e jam conn_sm_send_switch ,mem_conn_sm 
+637b 20600000 rtn 
+
+host_create_conn_waiting:
+637c 20600000 rtn 
+
+host_create_conn_switch:
+637d 680084d1 fetch 1 ,mem_lmp_conn_state 
+637e c4018000 rtnbit0 sent_setup_complete 
+637f c4010000 rtnbit0 received_setup_complete 
+6380 6800816d fetch 1 ,mem_connection_options 
+6381 793ffe02 set0 connection_switch ,pdata 
+6382 6000816d store 1 ,mem_connection_options 
+6383 70007c13 jam lmp_switch_req ,mem_lmo_opcode2 
+6384 70005510 jam conn_sm_wait_switch_after_host_connection ,mem_conn_sm 
+6385 20600000 rtn 
+
+host_create_conn_send_setup_complete:
+6386 7000550d jam conn_sm_wait_setup_complete ,mem_conn_sm 
+6387 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+6388 20600000 rtn 
+
+host_create_conn_wait_setup_complete:
+6389 680084d1 fetch 1 ,mem_lmp_conn_state 
+638a c4010000 rtnbit0 received_setup_complete 
+638b 70005500 jam conn_sm_standby ,mem_conn_sm 
+638c 20600000 rtn 
+
+host_create_conn_wait_setup_complete_rtn:
+638d 70005506 jam conn_sm_auth_pair ,mem_conn_sm 
+638e 20600000 rtn 
+
+host_create_conn_master_detach:
+638f 680084d2 fetch 1 ,mem_soft_timer 
+6390 1fe0ffff increase -1 ,pdata 
+6391 203a6394 branch host_create_conn_send_detach ,blank 
+6392 600084d2 store 1 ,mem_soft_timer 
+6393 20600000 rtn 
+
+host_create_conn_send_detach:
+6394 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+6395 7004ca16 jam local_host ,mem_disconn_reason_send 
+6396 70005500 jam 0 ,mem_conn_sm 
+6397 20600000 rtn 
+
+host_create_conn_auth_pair:
+6398 6800816d fetch 1 ,mem_connection_options 
+6399 c281637d bbit1 connection_switch ,host_create_conn_switch 
+639a c280639d bbit1 connection_auth ,host_create_conn_auth_pair_true 
+
+host_create_conn_sm_done:
+639b 7000551a jam conn_sm_done ,mem_conn_sm 
+639c 20600000 rtn 
+
+host_create_conn_auth_pair_true:
+639d 6800c1bd fetch 1 ,mem_link_key_exists 
+639e 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
+639f 680084d1 fetch 1 ,mem_lmp_conn_state 
+63a0 c4018000 rtnbit0 sent_setup_complete 
+63a1 c4010000 rtnbit0 received_setup_complete 
+63a2 680204e9 fetch 4 ,mem_aurand_send_delay_time 
+63a3 d8400064 arg 100 ,temp 
+63a4 98408400 iadd temp ,temp 
+63a5 1c427e00 copy clkn_bt ,pdata 
+63a6 98467c00 isub temp ,null 
+63a7 24610000 nrtn positive 
+63a8 20206349 branch host_create_conn_auth 
+
+host_create_conn_auth_pair_nokey:
+63a9 70005516 jam conn_sm_pairing ,mem_conn_sm 
+63aa 70468904 jam 4 ,mem_pin_length 
+63ab 58003030 setarg 0x3030 
+63ac 6001468a store 2 ,mem_pin 
+63ad e0a10000 istore 2 ,contw 
+63ae 7004d402 jam pincode_state_pincode_ready ,mem_pincode_state 
+63af 20206350 branch host_create_conn_pairing 
+
+host_create_conn_auth_pair_wait:
+63b0 20600000 rtn 
+
+host_create_conn_encrypt:
+63b1 6800816d fetch 1 ,mem_connection_options 
+63b2 c280e3b5 bbit1 connection_encrypt ,host_create_conn_encrypt_start 
+63b3 7000551a jam conn_sm_done ,mem_conn_sm 
+63b4 20600000 rtn 
+
+host_create_conn_encrypt_start:
+63b5 6800816d fetch 1 ,mem_connection_options 
+63b6 793ffe01 set0 connection_encrypt ,pdata 
+63b7 6000816d store 1 ,mem_connection_options 
+63b8 70007c0f jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+63b9 20600000 rtn 
+
+host_create_conn_encrypt_wait:
+63ba 680084d8 fetch 1 ,mem_wait_encryption 
+63bb 207a0000 rtn blank 
+63bc 70005500 jam conn_sm_standby ,mem_conn_sm 
+63bd 202063b5 branch host_create_conn_encrypt_start 
+
+host_create_conn_encrypt_wait_clear:
+63be 7000550c jam conn_sm_send_setup_complete ,mem_conn_sm 
+63bf 20600000 rtn 
+
+host_auth:
+63c0 6800804b fetch 1 ,mem_op 
+63c1 c28163c5 bbit1 op_inrand_req ,remote_auth 
+63c2 204062ef call tid_initiate 
+63c3 70007c08 jam lmp_in_rand ,mem_lmo_opcode2 
+63c4 20204d04 branch cmd_exit 
+
+remote_auth:
+63c5 6800804b fetch 1 ,mem_op 
+63c6 793ffe02 set0 op_inrand_req ,pdata 
+63c7 6000804b store 1 ,mem_op 
+63c8 20406001 call lmp_accept_inrand 
+63c9 204062f8 call tid_set_reply 
+63ca 20204d04 branch cmd_exit 
+
+pincode_reinit:
+63cb 58000004 setarg 4 
+63cc 6000c689 store 1 ,mem_pin_length 
+63cd 58003030 setarg 0x3030 
+63ce e0a10000 istore 2 ,contw 
+63cf e0a10000 istore 2 ,contw 
+63d0 20600000 rtn 
+
+twspi_reset:
+63d1 47464031 bpatchx patch31_4 ,mem_patch31 
+63d2 68108073 hfetch 1 ,core_gpio_oe3 
+63d3 d8400006 arg 0x06 ,temp 
+63d4 9841fe00 ior temp ,pdata 
+63d5 60108073 hstore 1 ,core_gpio_oe3 
+63d6 68108077 hfetch 1 ,core_gpio_out3 
+63d7 9841fe00 ior temp ,pdata 
+63d8 60108077 hstore 1 ,core_gpio_out3 
+63d9 204063ee call twspi_disable 
+63da 68108077 hfetch 1 ,core_gpio_out3 
+63db 793ffe01 set0 1 ,pdata 
+63dc 793ffe02 set0 2 ,pdata 
+63dd 60108077 hstore 1 ,core_gpio_out3 
+63de 2000001e nop 30 
+63df 202063f2 branch twspi_enable 
+
+twspi_reset2:
+63e0 68108073 hfetch 1 ,core_gpio_oe3 
+63e1 d84000c0 arg 0xc0 ,temp 
+63e2 9841fe00 ior temp ,pdata 
+63e3 60108073 hstore 1 ,core_gpio_oe3 
+63e4 68108077 hfetch 1 ,core_gpio_out3 
+63e5 9841fe00 ior temp ,pdata 
+63e6 60108077 hstore 1 ,core_gpio_out3 
+63e7 204063ee call twspi_disable 
+63e8 68108077 hfetch 1 ,core_gpio_out3 
+63e9 793ffe06 set0 6 ,pdata 
+63ea 793ffe07 set0 7 ,pdata 
+63eb 60108077 hstore 1 ,core_gpio_out3 
+63ec 2000001e nop 30 
+63ed 202063f6 branch twspi_enable2 
+
+twspi_disable:
+63ee 68108081 hfetch 1 ,core_gpio_sel1 
+63ef 1fe17efc and pdata ,0xfc ,pdata 
+63f0 60108081 hstore 1 ,core_gpio_sel1 
+63f1 20600000 rtn 
+
+twspi_enable:
+63f2 68108081 hfetch 1 ,core_gpio_sel1 
+63f3 1fe1fe01 or pdata ,0x01 ,pdata 
+63f4 60108081 hstore 1 ,core_gpio_sel1 
+63f5 20600000 rtn 
+
+twspi_enable2:
+63f6 68108081 hfetch 1 ,core_gpio_sel1 
+63f7 1fe1fe03 or pdata ,0x03 ,pdata 
+63f8 793ffe04 set0 4 ,pdata 
+63f9 60108081 hstore 1 ,core_gpio_sel1 
+63fa 20600000 rtn 
+
+sensor_read:
+63fb 1fe22400 copy pdata ,regb 
+63fc 2040640f call spi_ncs_enable 
+63fd 20000064 nop 100 
+63fe 1a427e00 copy regb ,pdata 
+63ff 20406414 call twspi_read 
+6400 1fe22400 copy pdata ,regb 
+6401 20406411 call spi_ncs_disable 
+6402 20000064 nop 100 
+6403 1a427e00 copy regb ,pdata 
+6404 20600000 rtn 
+
+sensor_write:
+6405 1fe22400 copy pdata ,regb 
+6406 2040640f call spi_ncs_enable 
+6407 20000064 nop 100 
+6408 1a427e00 copy regb ,pdata 
+6409 20406413 call twspi_write 
+640a 20406411 call spi_ncs_disable 
+640b 20000064 nop 100 
+640c 20600000 rtn 
+
+spi_ncs_gpio_init:
+640d 6808c214 fetcht 1 ,mem_spi_ncs_gpio 
+640e 2020680e branch gpio_config_output 
+
+spi_ncs_enable:
+640f 6808c214 fetcht 1 ,mem_spi_ncs_gpio 
+6410 20206829 branch gpio_out_active 
+
+spi_ncs_disable:
+6411 6808c214 fetcht 1 ,mem_spi_ncs_gpio 
+6412 20206825 branch gpio_out_inactive 
+
+twspi_write:
+6413 202064ec branch spid_write_reg 
+
+twspi_read:
+6414 202064f3 branch spid_read_reg 
+
+read_function_aes:
+6415 24346419 nbranch read_function ,user 
+6416 68108085 hfetch 1 ,core_gpio_key2 
+6417 1fe1fe02 or_into 0x2 ,pdata 
+6418 60108085 hstore 1 ,core_gpio_key2 
+
+read_function:
+6419 18427c00 copy temp ,null 
+641a 2022e41c branch read_fuction_zero ,zero 
+641b 1a627a00 copy regc ,pc 
+
+read_fuction_zero:
+641c 2fcc0000 isolate0 0 ,null 
+641d 202064b9 branch set_ucode_status 
+
+get_block_header:
+641e 18000404 force 4 ,temp 
+
+get_block_header0:
+641f da2001fe arg mem_ucode_buf ,rega 
+6420 68108085 hfetch 1 ,core_gpio_key2 
+6421 1fe17efd and_into 0xfd ,pdata 
+6422 60108085 hstore 1 ,core_gpio_key2 
+6423 20406419 call read_function 
+6424 da2055aa arg 0x55aa ,rega 
+6425 680101fe fetch 2 ,mem_ucode_buf 
+6426 e8c90000 ifetcht 2 ,contr 
+6427 9a267c00 isub rega ,null 
+6428 20600000 rtn 
+
+read_first_block:
+6429 d8400002 arg 2 ,temp 
+642a da200204 arg mem_ucode_ptr ,rega 
+642b 20406419 call read_function 
+642c 68010204 fetch 2 ,mem_ucode_ptr 
+642d 600101f7 store 2 ,mem_addr_mi 
+642e 20546430 call get_iv ,user 
+642f 20600000 rtn 
+
+get_iv:
+6430 d8400010 arg 16 ,temp 
+6431 da200206 arg mem_ucode_keybuf ,rega 
+6432 68108085 hfetch 1 ,core_gpio_key2 
+6433 1fe17efd and_into 0xfd ,pdata 
+6434 60108085 hstore 1 ,core_gpio_key2 
+6435 20406419 call read_function 
+6436 d8c00206 arg mem_ucode_keybuf ,contr 
+6437 df200010 arg 16 ,loopcnt 
+6438 20407478 call aes_load_data 
+6439 20407428 call aes_init 
+643a 20407491 call aes_clear_data 
+643b 20207422 branch do_aes_cbc 
+
+load_storage:
+643c 7856fc00 disable match 
+643d 2040641e call get_block_header 
+643e 24628000 nrtn zero 
+643f 7836fc00 enable match 
+6440 70802380 jam 0x80 ,core_ucode_ctrl 
+6441 70802200 jam 0 ,core_ucode_hi 
+6442 70802400 jam 0 ,core_ucode_low 
+6443 da208025 arg core_ucode_data ,rega 
+6444 20406415 call read_function_aes 
+6445 70802300 jam 0x0 ,core_ucode_ctrl 
+
+load_storage_loop:
+6446 d8400006 arg 6 ,temp 
+6447 2040641f call get_block_header0 
+6448 24628000 nrtn zero 
+6449 e8c10000 ifetch 2 ,contr 
+644a 98002200 iforce rega 
+644b 20406419 call read_function 
+644c 20206446 branch load_storage_loop 
+
+reload_eeprom:
+644d 20407f99 call clean_mem 
+644e 58001000 setarg 0x1000 
+644f 600101f7 store 2 ,mem_addr_mi 
+6450 da6065e5 arg iicd_read_eep ,regc 
+6451 df200002 arg 2 ,loopcnt 
+
+reload_eeprom_loop:
+6452 2040641e call get_block_header 
+6453 24628000 nrtn zero 
+6454 680101f7 fetch 2 ,mem_addr_mi 
+6455 1ff0fe00 byteswap pdata ,pdata 
+6456 9840fe00 iadd temp ,pdata 
+6457 1ff0fe00 byteswap pdata ,pdata 
+6458 600101f7 store 2 ,mem_addr_mi 
+6459 c2006452 loop reload_eeprom_loop 
+645a 20206446 branch load_storage_loop 
+
+loadcode:
+645b 20407f99 call clean_mem 
+645c 78547c00 disable user 
+645d 2040666a call otp_enable_chgpump 
+645e 58000000 setarg otp_ucode_flag 
+645f da2001f3 arg mem_otp_ucode_flag ,rega 
+6460 d8400002 arg 2 ,temp 
+6461 204066b3 call otpd_read_data 
+6462 680101f3 fetch 2 ,mem_otp_ucode_flag 
+6463 c303e46e bbit0 otp_uflag_aes ,loadcode_otp 
+6464 70805025 jam 0x25 ,core_clkoff 
+6465 580007f0 setarg otp_ucode_aeskey 
+6466 da200206 arg mem_ucode_keybuf ,rega 
+6467 d8400010 arg 16 ,temp 
+6468 204066b3 call otpd_read_data 
+6469 70800608 jam lock_otp ,core_misc_ctrl 
+646a 7920002b set1 mark_otp_encrypt ,mark 
+646b d8c00206 arg mem_ucode_keybuf ,contr 
+646c 20407484 call load_key 
+646d 78347c00 enable user 
+
+loadcode_otp:
+646e 7041da00 jam 0 ,mem_loadcode_times 
+
+loadcode_otp_2:
+646f 204064b0 call loadcode_check_times 
+6470 680101f3 fetch 2 ,mem_otp_ucode_flag 
+6471 1ff0fe00 byteswap pdata ,pdata 
+6472 d84007ff arg 0x7ff ,temp 
+6473 98417e00 iand temp ,pdata 
+6474 2022e47b branch loadcode_iic ,zero 
+6475 2040666f call otp_set_addr 
+6476 da6066b8 arg otpd_read_code ,regc 
+6477 20546430 call get_iv ,user 
+6478 2040643c call load_storage 
+6479 680081f2 fetch 1 ,mem_ucode_status 
+647a c300646f bbit0 0 ,loadcode_otp_2 
+
+loadcode_iic:
+647b 2040666d call otp_disable_chgpump 
+647c 7041da00 jam 0 ,mem_loadcode_times 
+
+loadcode_iic_2:
+647d 204064b0 call loadcode_check_times 
+647e 204065c2 call clear_eeprom_size_2k 
+647f 680081f3 fetch 1 ,mem_otp_ucode_flag 
+6480 c283648e bbit1 otp_uflag_skip_eep ,loadcode_spi 
+6481 204064aa call loadcode_iic_by_eeprom 
+6482 2436e486 nbranch loadcode_iic_eeprom_2k ,match 
+6483 680081f2 fetch 1 ,mem_ucode_status 
+6484 c300647d bbit0 0 ,loadcode_iic_2 
+6485 2020649b branch loadcode_hci 
+
+loadcode_iic_eeprom_2k:
+6486 204065bf call set_eeprom_size_2k 
+6487 680081f3 fetch 1 ,mem_otp_ucode_flag 
+6488 c283648e bbit1 otp_uflag_skip_eep ,loadcode_spi 
+6489 204064aa call loadcode_iic_by_eeprom 
+648a 2436e48e nbranch loadcode_spi ,match 
+648b 680081f2 fetch 1 ,mem_ucode_status 
+648c c300647d bbit0 0 ,loadcode_iic_2 
+648d 2020649b branch loadcode_hci 
+
+loadcode_spi:
+648e 7041da00 jam 0 ,mem_loadcode_times 
+
+loadcode_spi_2:
+648f 204064b0 call loadcode_check_times 
+6490 680081f3 fetch 1 ,mem_otp_ucode_flag 
+6491 c282e49b bbit1 otp_uflag_skip_flash ,loadcode_hci 
+6492 58000000 setarg 0x0 
+6493 600181f6 store 3 ,mem_addr_hi 
+6494 20406502 call spid_init_flash 
+6495 da606578 arg spid_load_flash ,regc 
+6496 20406429 call read_first_block 
+6497 2040643c call load_storage 
+6498 2436e49b nbranch loadcode_hci ,match 
+6499 680081f2 fetch 1 ,mem_ucode_status 
+649a c300648f bbit0 0 ,loadcode_spi_2 
+
+loadcode_hci:
+649b c515e49d bmark1 mark_otp_encrypt ,loadcode_hci_enc 
+649c 204064a3 call clear_key_buf 
+
+loadcode_hci_enc:
+649d 680081f3 fetch 1 ,mem_otp_ucode_flag 
+649e c30264a3 bbit0 otp_uflag_hci ,clear_key_buf 
+649f 70805021 jam 0x21 ,core_clkoff 
+64a0 20404c0e call hci_init 
+
+loadcode_hci_loop:
+64a1 20404c2e call hci_rx_packet 
+64a2 202064a1 branch loadcode_hci_loop 
+
+clear_key_buf:
+64a3 58000000 setarg 0 
+64a4 60040206 store 8 ,mem_ucode_keybuf 
+64a5 6004020e store 8 ,mem_ucode_keybuf + 8 
+64a6 18007004 force regidx_key ,regext_index 
+64a7 20407492 call aes_clear 
+64a8 70805021 jam 0x21 ,core_clkoff 
+64a9 20600000 rtn 
+
+loadcode_iic_by_eeprom:
+64aa 58000000 setarg 0x0 
+64ab 600101f7 store 2 ,mem_addr_mi 
+64ac da6065e5 arg iicd_read_eep ,regc 
+64ad 204065a3 call iicd_init_12m 
+64ae 20406429 call read_first_block 
+64af 2020643c branch load_storage 
+
+loadcode_check_times:
+64b0 6800c1da fetch 1 ,mem_loadcode_times 
+64b1 1fe0fe01 increase 1 ,pdata 
+64b2 1fe67c03 sub pdata ,3 ,null 
+64b3 242164b6 nbranch loadcode_error ,positive 
+64b4 6000c1da store 1 ,mem_loadcode_times 
+64b5 20600000 rtn 
+
+loadcode_error:
+64b6 204064a3 call clear_key_buf 
+64b7 20407fa1 call ice_break 
+64b8 20600000 rtn 
+
+set_ucode_status:
+64b9 680081f2 fetch 1 ,mem_ucode_status 
+64ba 1fe3fe00 lshift pdata ,pdata 
+64bb 7920fe00 setflag true ,0 ,pdata 
+64bc 2a2c000f isolate0 15 ,rega 
+64bd 20608000 rtn true 
+64be 600081f2 store 1 ,mem_ucode_status 
+64bf 20600000 rtn 
+
+decrypt_code:
+64c0 68108085 hfetch 1 ,core_gpio_key2 
+64c1 c4008000 rtnbit0 1 
+64c2 202064c6 branch decrypt_code_skip 
+
+decrypt_code_loop:
+64c3 6810812c hfetch 1 ,core_dma_status 
+64c4 afefffff qisolate1 pdata 
+64c5 20608000 rtn true 
+
+decrypt_code_skip:
+64c6 68108108 hfetch 1 ,core_misc_status 
+64c7 c300e4c3 bbit0 1 ,decrypt_code_loop 
+64c8 20407422 call do_aes_cbc 
+64c9 202064c3 branch decrypt_code_loop 
+
+load_ucode:
+64ca 68014199 fetch 2 ,mem_patch_ptr 
+64cb 207a0000 rtn blank 
+64cc 70802380 jam 0x80 ,core_ucode_ctrl 
+64cd 70802200 jam 0 ,core_ucode_hi 
+64ce 70802400 jam 0 ,core_ucode_low 
+64cf 6809419b fetcht 2 ,mem_patch_len 
+64d0 184bf200 lshift2 temp ,loopcnt 
+64d1 98000c00 iforce contr 
+
+load_ucode_loop:
+64d2 e8c08000 ifetch 1 ,contr 
+64d3 60108025 hstore 1 ,core_ucode_data 
+64d4 c20064d2 loop load_ucode_loop 
+64d5 70802300 jam 0x0 ,core_ucode_ctrl 
+64d6 20600000 rtn 
+
+spid_init:
+64d7 4746c031 bpatchx patch31_5 ,mem_patch31 
+64d8 204064dd call spid_init_common 
+64d9 202063f2 branch twspi_enable 
+
+spid_init2:
+64da 204064dd call spid_init_common 
+64db 204063ee call twspi_disable 
+64dc 202063f6 branch twspi_enable2 
+
+spid_init_common:
+64dd 6800c212 fetch 1 ,mem_spi_init_clk 
+64de 60108086 hstore 1 ,core_spid_ctrl 
+64df 6800c213 fetch 1 ,mem_spi_init_delay_time 
+64e0 60108087 hstore 1 ,core_spid_delay 
+64e1 580001f5 setarg mem_spid_tbuf 
+64e2 6011008a hstore 2 ,core_spid_txaddr 
+64e3 580001fa setarg mem_spid_rbuf 
+64e4 6011008c hstore 2 ,core_spid_rxaddr 
+64e5 202063ee branch twspi_disable 
+
+spid_reset:
+64e6 68108086 hfetch 1 ,core_spid_ctrl 
+64e7 79207e07 set1 7 ,pdata 
+64e8 60108086 hstore 1 ,core_spid_ctrl 
+64e9 793ffe07 set0 7 ,pdata 
+64ea 60108086 hstore 1 ,core_spid_ctrl 
+64eb 20600000 rtn 
+
+spid_write_reg:
+64ec 79207e07 set1 7 ,pdata 
+64ed 600101f5 store 2 ,mem_spid_tbuf 
+64ee 47474031 bpatchx patch31_6 ,mem_patch31 
+64ef 70808802 jam 2 ,core_spid_txlen 
+64f0 70808e00 jam 0 ,core_spid_rxlen 
+64f1 70800602 jam spid_start ,core_misc_ctrl 
+64f2 202064fc branch wait_spid_done 
+
+spid_read_reg:
+64f3 18000401 force 1 ,temp 
+
+spid_read_regs:
+64f4 600081f5 store 1 ,mem_spid_tbuf 
+64f5 4747c031 bpatchx patch31_7 ,mem_patch31 
+64f6 70808801 jam 1 ,core_spid_txlen 
+64f7 6019008e hstoret 2 ,core_spid_rxlen 
+64f8 70800602 jam spid_start ,core_misc_ctrl 
+64f9 204064fc call wait_spid_done 
+64fa 680081fa fetch 1 ,mem_spid_rbuf 
+64fb 20600000 rtn 
+
+wait_spid_done:
+64fc 680140d6 fetch 2 ,mem_afh_error_total 
+64fd 1fe0fe01 increase 1 ,pdata 
+64fe 600140d6 store 2 ,mem_afh_error_total 
+64ff 6810812c hfetch 1 ,core_dma_status 
+6500 c301e4fc bbit0 spid_done ,wait_spid_done 
+6501 20600000 rtn 
+
+spid_init_flash:
+6502 70808640 jam 0x40 ,core_spid_ctrl 
+6503 70808700 jam 0x0 ,core_spid_delay 
+6504 68108081 hfetch 1 ,core_gpio_sel1 
+6505 793ffe00 set0 0 ,pdata 
+6506 79207e01 set1 1 ,pdata 
+6507 60108081 hstore 1 ,core_gpio_sel1 
+6508 58000000 setarg 0 
+6509 600201f5 store 4 ,mem_spid_tbuf 
+650a 20600000 rtn 
+
+spid_unlock_flash:
+650b 58000000 setarg 0 
+650c 6011008e hstore 2 ,core_spid_rxlen 
+650d 58000001 setarg 1 
+650e 60110088 hstore 2 ,core_spid_txlen 
+650f 580001f5 setarg mem_spid_tbuf 
+6510 6011008a hstore 2 ,core_spid_txaddr 
+6511 7001f506 jam 6 ,mem_spid_tbuf 
+6512 70800602 jam spid_start ,core_misc_ctrl 
+6513 202064fc branch wait_spid_done 
+
+flash_write:
+6514 78547c00 disable user 
+6515 1fe22400 copy pdata ,regb 
+6516 6800c239 fetch 1 ,mem_spi_write_flash_sm 
+6517 c1800000 rtnne flash_sm_no_buys 
+6518 78347c00 enable user 
+6519 1a427e00 copy regb ,pdata 
+651a 20206522 branch flash_write_start 
+
+flash_write_spi_sm_timer:
+651b 6800c239 fetch 1 ,mem_spi_write_flash_sm 
+651c c000e522 beq flash_sm_start ,flash_write_start 
+651d c0016528 beq flash_sm_erase_sector ,flash_erase_sector 
+651e c001e530 beq flash_sm_wait_erase_sector ,flash_wait_erase_sector 
+651f c0026537 beq flash_sm_write_data ,flash_write_data 
+6520 c002e53d beq flash_sm_wait_write_data ,flash_wait_write_data 
+6521 20600000 rtn 
+
+flash_write_start:
+6522 6001c232 store 3 ,mem_spi_write_addr 
+6523 1a227e00 copy rega ,pdata 
+6524 60014235 store 2 ,mem_spi_write_ptr 
+6525 60094237 storet 2 ,mem_spi_write_len 
+6526 70423902 jam flash_sm_erase_sector ,mem_spi_write_flash_sm 
+6527 20206502 branch spid_init_flash 
+
+flash_erase_sector:
+6528 20406502 call spid_init_flash 
+6529 70423903 jam flash_sm_wait_erase_sector ,mem_spi_write_flash_sm 
+652a 2040650b call spid_unlock_flash 
+652b da2001f5 arg mem_spid_tbuf ,rega 
+652c 6801c232 fetch 3 ,mem_spi_write_addr 
+652d 70808804 jam 4 ,core_spid_txlen 
+652e d8400020 arg flash_command_sector_erase ,temp 
+652f 20206556 branch spid_write_flash_common 
+
+flash_wait_erase_sector:
+6530 20406502 call spid_init_flash 
+6531 2040650b call spid_unlock_flash 
+6532 58000005 setarg flash_read_satus 
+6533 204064f3 call spid_read_reg 
+6534 c3800000 rtnbit1 flash_status_wip 
+6535 70423904 jam flash_sm_write_data ,mem_spi_write_flash_sm 
+6536 20600000 rtn 
+
+flash_write_data:
+6537 20406502 call spid_init_flash 
+6538 70423905 jam flash_sm_wait_write_data ,mem_spi_write_flash_sm 
+6539 2040650b call spid_unlock_flash 
+653a 2040654a call flash_data_preserve 
+653b 20406552 call spid_write_flash 
+653c 20206545 branch flash_data_recover 
+
+flash_wait_write_data:
+653d 20406502 call spid_init_flash 
+653e 2040650b call spid_unlock_flash 
+653f 58000005 setarg flash_read_satus 
+6540 204064f3 call spid_read_reg 
+6541 c3800000 rtnbit1 flash_status_wip 
+6542 70423900 jam flash_sm_no_buys ,mem_spi_write_flash_sm 
+6543 68014201 fetch 2 ,mem_cb_spi_flash_write_complate 
+6544 20207f9c branch callback_func 
+
+flash_data_recover:
+6545 68020aa2 fetch 4 ,mem_temp 
+6546 68094235 fetcht 2 ,mem_spi_write_ptr 
+6547 184085fc increase -4 ,temp 
+6548 e0420000 istore 4 ,temp 
+6549 20600000 rtn 
+
+flash_data_preserve:
+654a 68094235 fetcht 2 ,mem_spi_write_ptr 
+654b 18422200 copy temp ,rega 
+654c 184085fc increase -4 ,temp 
+654d e8420000 ifetch 4 ,temp 
+654e 60020aa2 store 4 ,mem_temp 
+654f 68094237 fetcht 2 ,mem_spi_write_len 
+6550 6801c232 fetch 3 ,mem_spi_write_addr 
+6551 20600000 rtn 
+
+spid_write_flash:
+6552 18408404 increase 4 ,temp 
+6553 60190088 hstoret 2 ,core_spid_txlen 
+6554 d8400002 arg flash_command_write_data ,temp 
+6555 1a20a3fc increase -4 ,rega 
+
+spid_write_flash_common:
+6556 e2288000 istoret 1 ,rega 
+6557 1ff10400 rshift16 pdata ,temp 
+6558 e0a88000 istoret 1 ,contw 
+6559 1fec8400 rshift8 pdata ,temp 
+655a e0a88000 istoret 1 ,contw 
+655b e0a08000 istore 1 ,contw 
+655c 1a227e00 deposit rega 
+655d 6011008a hstore 2 ,core_spid_txaddr 
+655e 58000000 setarg 0 
+655f 6011008e hstore 2 ,core_spid_rxlen 
+6560 70800602 jam spid_start ,core_misc_ctrl 
+6561 202064fc branch wait_spid_done 
+
+spid_read_flash:
+6562 6019008e hstoret 2 ,core_spid_rxlen 
+6563 1ff10400 rshift16 pdata ,temp 
+6564 600881f6 storet 1 ,mem_addr_hi 
+6565 1fec8400 rshift8 pdata ,temp 
+6566 600881f7 storet 1 ,mem_addr_mi 
+6567 600081f8 store 1 ,mem_addr_lo 
+6568 58000004 setarg 4 
+6569 60110088 hstore 2 ,core_spid_txlen 
+656a 7001f503 jam flash_command_read_data ,mem_spid_tbuf 
+656b 580001f5 setarg mem_spid_tbuf 
+656c 6011008a hstore 2 ,core_spid_txaddr 
+656d 1a227e00 deposit rega 
+656e 6011008c hstore 2 ,core_spid_rxaddr 
+656f 68108086 hfetch 1 ,core_spid_ctrl 
+6570 2a2c000f isolate0 15 ,rega 
+6571 7920fe06 setflag true ,6 ,pdata 
+6572 60108086 hstore 1 ,core_spid_ctrl 
+6573 70800602 jam spid_start ,core_misc_ctrl 
+
+spi_read_flash_wait:
+6574 6810812c hfetch 1 ,core_dma_status 
+6575 c283e574 bbit1 7 ,spi_read_flash_wait 
+6576 d8e00003 arg spid_done ,queue 
+6577 202064fc branch wait_spid_done 
+
+spid_load_flash:
+6578 6019008e hstoret 2 ,core_spid_rxlen 
+6579 58000004 setarg 4 
+657a 60110088 hstore 2 ,core_spid_txlen 
+657b 7001f503 jam 3 ,mem_spid_tbuf 
+657c 580001f5 setarg mem_spid_tbuf 
+657d 6011008a hstore 2 ,core_spid_txaddr 
+657e 1a227e00 deposit rega 
+657f 6011008c hstore 2 ,core_spid_rxaddr 
+6580 68108086 hfetch 1 ,core_spid_ctrl 
+6581 2a2c000f isolate0 15 ,rega 
+6582 7920fe06 setflag true ,6 ,pdata 
+6583 60108086 hstore 1 ,core_spid_ctrl 
+6584 70800602 jam spid_start ,core_misc_ctrl 
+
+spi_load_flash_wait:
+6585 6810812c hfetch 1 ,core_dma_status 
+6586 c283e585 bbit1 7 ,spi_load_flash_wait 
+6587 d8e00003 arg spid_done ,queue 
+6588 204064c0 call decrypt_code 
+6589 204064fc call wait_spid_done 
+658a 2feffe02 isolate1 spid_crcok ,pdata 
+658b 204064b9 call set_ucode_status 
+658c 680081f6 fetch 1 ,mem_addr_hi 
+658d 1ff02400 lshift16 pdata ,regb 
+658e 680081f7 fetch 1 ,mem_addr_mi 
+658f 1fed7e00 lshift8 pdata ,pdata 
+6590 9a41a400 ior regb ,regb 
+6591 680081f8 fetch 1 ,mem_addr_lo 
+6592 9a41fe00 ior regb ,pdata 
+6593 9840fe00 iadd temp ,pdata 
+6594 600081f8 store 1 ,mem_addr_lo 
+6595 1fecfe00 rshift8 pdata ,pdata 
+6596 600081f7 store 1 ,mem_addr_mi 
+6597 1fecfe00 rshift8 pdata ,pdata 
+6598 600081f6 store 1 ,mem_addr_hi 
+6599 20600000 rtn 
+
+soft_reset_chip:
+659a 70801001 jam 1 ,core_reset 
+659b 20600000 rtn 
+
+iic_init_390k:
+659c 7080910c jam 12 ,core_iicd_scl_low 
+659d 7080920d jam 13 ,core_iicd_scl_high 
+659e 7080930d jam 13 ,core_iicd_start_setup 
+659f 7080940d jam 13 ,core_iicd_start_hold 
+65a0 7080950d jam 13 ,core_iicd_stop_setup 
+65a1 7080960c jam 12 ,core_iicd_data_setup 
+65a2 202065a9 branch iicd_init_gpio 
+
+iicd_init_12m:
+65a3 70809105 jam 5 ,core_iicd_scl_low 
+65a4 70809207 jam 7 ,core_iicd_scl_high 
+65a5 70809307 jam 7 ,core_iicd_start_setup 
+65a6 70809407 jam 7 ,core_iicd_start_hold 
+65a7 70809507 jam 7 ,core_iicd_stop_setup 
+65a8 70809605 jam 5 ,core_iicd_data_setup 
+
+iicd_init_gpio:
+65a9 6810807b hfetch 1 ,core_gpio_pu3 
+65aa 1fe1fec0 or_into 0xc0 ,pdata 
+65ab 6010807b hstore 1 ,core_gpio_pu3 
+65ac 68108081 hfetch 1 ,core_gpio_sel1 
+65ad 1fe1fe10 or_into 0x10 ,pdata 
+65ae 60108081 hstore 1 ,core_gpio_sel1 
+65af 20600000 rtn 
+
+wait_iicd_done:
+65b0 6810812c hfetch 1 ,core_dma_status 
+65b1 c302e5b0 bbit0 iicd_done ,wait_iicd_done 
+65b2 20600000 rtn 
+
+iicd_read_data:
+65b3 60110098 hstore 2 ,core_iicd_txlen 
+65b4 1a227e00 deposit rega 
+65b5 6011009a hstore 2 ,core_iicd_txaddr 
+65b6 1a427e00 deposit regb 
+65b7 6011009c hstore 2 ,core_iicd_rxaddr 
+65b8 18427e00 deposit temp 
+65b9 6011009e hstore 2 ,core_iicd_rxlen 
+65ba d8400001 arg 1 ,temp 
+65bb 7d3a0401 nsetflag blank ,1 ,temp 
+65bc 60108090 hstore 1 ,core_iicd_ctrl 
+65bd 70800604 jam iicd_start ,core_misc_ctrl 
+65be 202065b0 branch wait_iicd_done 
+
+set_eeprom_size_2k:
+65bf 79200028 set1 mark_eeprom_size ,mark 
+65c0 70421108 jam 0x08 ,mem_eeprom_block_size 
+65c1 20600000 rtn 
+
+clear_eeprom_size_2k:
+65c2 793f8028 set0 mark_eeprom_size ,mark 
+65c3 70421120 jam 0x20 ,mem_eeprom_block_size 
+65c4 20600000 rtn 
+
+iicd_read_eep_data_size_2k:
+65c5 6800c203 fetch 1 ,mem_eeprom_base 
+65c6 9a40fe00 iadd regb ,pdata 
+65c7 600081f7 store 1 ,mem_addr_mi 
+65c8 202065cc branch iicd_read_eep_size_2k 
+
+iicd_read_eep_size_2k_lcadcode:
+65c9 680101f7 fetch 2 ,mem_addr_mi 
+65ca 1ff0fe00 byteswap pdata ,pdata 
+65cb 600081f7 store 1 ,mem_addr_mi 
+
+iicd_read_eep_size_2k:
+65cc 58000003 setarg 3 
+65cd 60110098 hstore 2 ,core_iicd_txlen 
+65ce 7001f6a0 jam 0xa0 ,mem_iicd_tbuf 
+65cf 7001f8a1 jam 0xa1 ,mem_iicd_tbuf + 2 
+65d0 202065eb branch iicd_read_eep_common 
+
+iicd_write_protect_eep_data:
+65d1 60090aa2 storet 2 ,mem_temp 
+65d2 204065d6 call iicd_eeprom_write_enable 
+65d3 68090aa2 fetcht 2 ,mem_temp 
+65d4 20406606 call iicd_write_eep_data 
+65d5 202065dd branch iicd_eeprom_write_disable 
+
+iicd_eeprom_write_enable:
+65d6 6800c23a fetch 1 ,mem_eeprom_wp_gpio 
+65d7 c17f8000 rtneq gpio_disable 
+65d8 c30365db bbit0 6 ,iicd_wp_gpio_output_low 
+65d9 580249f0 setarg 150000 
+65da 20402a8f call sleep 
+
+iicd_wp_gpio_output_low:
+65db 6808c23a fetcht 1 ,mem_eeprom_wp_gpio 
+65dc 20206829 branch gpio_out_active 
+
+iicd_eeprom_write_disable:
+65dd 6808c23a fetcht 1 ,mem_eeprom_wp_gpio 
+65de 20206825 branch gpio_out_inactive 
+
+iicd_read_eep_data:
+65df 47484032 bpatchx patch32_0 ,mem_patch32 
+65e0 c51465c5 bmark1 mark_eeprom_size ,iicd_read_eep_data_size_2k 
+65e1 68014203 fetch 2 ,mem_eeprom_base 
+65e2 9a40fe00 iadd regb ,pdata 
+65e3 1ff0fe00 byteswap pdata ,pdata 
+65e4 600101f7 store 2 ,mem_addr_mi 
+
+iicd_read_eep:
+65e5 4748c032 bpatchx patch32_1 ,mem_patch32 
+65e6 c51465c9 bmark1 mark_eeprom_size ,iicd_read_eep_size_2k_lcadcode 
+65e7 58000004 setarg 4 
+65e8 60110098 hstore 2 ,core_iicd_txlen 
+65e9 7001f6a0 jam 0xa0 ,mem_iicd_tbuf 
+65ea 7001f9a1 jam 0xa1 ,mem_iicd_tbuf + 3 
+
+iicd_read_eep_common:
+65eb 580001f6 setarg mem_iicd_tbuf 
+65ec 6011009a hstore 2 ,core_iicd_txaddr 
+65ed 6019009e hstoret 2 ,core_iicd_rxlen 
+65ee 1a227e00 deposit rega 
+65ef 6011009c hstore 2 ,core_iicd_rxaddr 
+65f0 58000002 setarg 2 
+65f1 2a2c000f isolate0 15 ,rega 
+65f2 7920fe00 setflag true ,0 ,pdata 
+65f3 60108090 hstore 1 ,core_iicd_ctrl 
+65f4 70800604 jam iicd_start ,core_misc_ctrl 
+65f5 d8e00005 arg iicd_done ,queue 
+65f6 204064c0 call decrypt_code 
+65f7 204065b0 call wait_iicd_done 
+65f8 2feffe04 isolate1 iicd_crcok ,pdata 
+65f9 204064b9 call set_ucode_status 
+65fa c5146601 bmark1 mark_eeprom_size ,iicd_read_eep_load_code_size_2k 
+65fb 680101f7 fetch 2 ,mem_addr_mi 
+65fc 1ff0fe00 byteswap pdata ,pdata 
+65fd 9840fe00 iadd temp ,pdata 
+65fe 1ff0fe00 byteswap pdata ,pdata 
+65ff 600101f7 store 2 ,mem_addr_mi 
+6600 20600000 rtn 
+
+iicd_read_eep_load_code_size_2k:
+6601 680081f7 fetch 1 ,mem_addr_mi 
+6602 9840fe00 iadd temp ,pdata 
+6603 1ff0fe00 byteswap pdata ,pdata 
+6604 600101f7 store 2 ,mem_addr_mi 
+6605 20600000 rtn 
+
+iicd_write_eep_data:
+6606 68014203 fetch 2 ,mem_eeprom_base 
+6607 9a40fe00 iadd regb ,pdata 
+
+iicd_write_ota_data:
+6608 60010a9a store 2 ,mem_pdatatemp 
+6609 47494032 bpatchx patch32_2 ,mem_patch32 
+660a 60090aa2 storet 2 ,mem_temp 
+660b 1a227e00 copy rega ,pdata 
+660c 60010ab9 store 2 ,mem_contr 
+
+iicd_write_eep_loop:
+660d 2040661d call iicd_eep_transparency 
+660e 68090ab2 fetcht 2 ,mem_regb 
+660f 68010ab9 fetch 2 ,mem_contr 
+6610 1fe22200 copy pdata ,rega 
+6611 68010a9a fetch 2 ,mem_pdatatemp 
+6612 2040663d call iicd_write_eep 
+6613 68010ab2 fetch 2 ,mem_regb 
+6614 68090ab9 fetcht 2 ,mem_contr 
+6615 98408400 iadd temp ,temp 
+6616 60090ab9 storet 2 ,mem_contr 
+6617 68090a9a fetcht 2 ,mem_pdatatemp 
+6618 98408400 iadd temp ,temp 
+6619 60090a9a storet 2 ,mem_pdatatemp 
+661a 68010aa2 fetch 2 ,mem_temp 
+661b 243a660d nbranch iicd_write_eep_loop ,blank 
+661c 20600000 rtn 
+
+iicd_eep_transparency:
+661d 4749c032 bpatchx patch32_3 ,mem_patch32 
+661e 6800c211 fetch 1 ,mem_eeprom_block_size 
+661f 1fe0ffff increase -1 ,pdata 
+6620 68090a9a fetcht 2 ,mem_pdatatemp 
+6621 9841fe00 ior temp ,pdata 
+6622 1fe0fe01 increase 1 ,pdata 
+6623 60018ab6 store 3 ,mem_regc 
+6624 68010aa2 fetch 2 ,mem_temp 
+6625 9840fe00 iadd temp ,pdata 
+6626 68098ab6 fetcht 3 ,mem_regc 
+6627 98467e00 isub temp ,pdata 
+6628 2421662f nbranch iicd_eep_deal_short_packet ,positive 
+6629 60010aa2 store 2 ,mem_temp 
+662a 68018ab6 fetch 3 ,mem_regc 
+662b 68090a9a fetcht 2 ,mem_pdatatemp 
+662c 98467e00 isub temp ,pdata 
+662d 60010ab2 store 2 ,mem_regb 
+662e 20600000 rtn 
+
+iicd_eep_deal_short_packet:
+662f 68010aa2 fetch 2 ,mem_temp 
+6630 60010ab2 store 2 ,mem_regb 
+6631 58000000 setarg 0 
+6632 60010aa2 store 2 ,mem_temp 
+6633 20600000 rtn 
+
+iicd_write_eep_size_2k:
+6634 18408402 increase 2 ,temp 
+6635 60190098 hstoret 2 ,core_iicd_txlen 
+6636 1a20a3fe increase -2 ,rega 
+6637 ea298000 ifetcht 3 ,rega 
+6638 18422400 copy temp ,regb 
+6639 d84000a0 arg 0xa0 ,temp 
+663a e2288000 istoret 1 ,rega 
+663b e0a08000 istore 1 ,contw 
+663c 2020664a branch iicd_write_eep_common 
+
+iicd_write_eep:
+663d 1fe22400 copy pdata ,regb 
+663e 474a4032 bpatchx patch32_4 ,mem_patch32 
+663f c5146634 bmark1 mark_eeprom_size ,iicd_write_eep_size_2k 
+6640 1a427e00 copy regb ,pdata 
+6641 18408403 increase 3 ,temp 
+6642 60190098 hstoret 2 ,core_iicd_txlen 
+6643 1a20a3fd increase -3 ,rega 
+6644 ea298000 ifetcht 3 ,rega 
+6645 18422400 copy temp ,regb 
+6646 d84000a0 arg 0xa0 ,temp 
+6647 e2288000 istoret 1 ,rega 
+6648 1ff0fe00 byteswap pdata ,pdata 
+6649 e0a10000 istore 2 ,contw 
+
+iicd_write_eep_common:
+664a 1a227e00 deposit rega 
+664b 6011009a hstore 2 ,core_iicd_txaddr 
+664c 58000000 setarg 0 
+664d 6011009e hstore 2 ,core_iicd_rxlen 
+664e 70809001 jam 1 ,core_iicd_ctrl 
+664f 70800604 jam iicd_start ,core_misc_ctrl 
+6650 204065b0 call wait_iicd_done 
+6651 1a427e00 copy regb ,pdata 
+6652 e2218000 istore 3 ,rega 
+
+iic_check_eeprom_standby:
+6653 474ac032 bpatchx patch32_5 ,mem_patch32 
+6654 7001f900 jam 0 ,mem_iicd_tbuf + 3 
+
+iic_check_eeprom_standby_wait:
+6655 58000001 setarg 1 
+6656 60110098 hstore 2 ,core_iicd_txlen 
+6657 7001f6a0 jam 0xa0 ,mem_iicd_tbuf 
+6658 580001f6 setarg mem_iicd_tbuf 
+6659 6011009a hstore 2 ,core_iicd_txaddr 
+665a 58000000 setarg 0 
+665b 6011009e hstore 2 ,core_iicd_rxlen 
+665c 6011009c hstore 2 ,core_iicd_rxaddr 
+665d 58000003 setarg 3 
+665e 60108090 hstore 1 ,core_iicd_ctrl 
+665f 70800604 jam iicd_start ,core_misc_ctrl 
+6660 204065b0 call wait_iicd_done 
+6661 6810812c hfetch 1 ,core_dma_status 
+6662 c4030000 rtnbit0 iicd_ack 
+6663 200005dc nop 1500 
+6664 680081f9 fetch 1 ,mem_iicd_tbuf + 3 
+6665 1fe0fe01 increase 1 ,pdata 
+6666 600081f9 store 1 ,mem_iicd_tbuf + 3 
+6667 1fe67c28 sub pdata ,40 ,null 
+6668 24610000 nrtn positive 
+6669 20206655 branch iic_check_eeprom_standby_wait 
+
+otp_enable_chgpump:
+666a 70897370 jam 0x70 ,rfen_chgpump 
+666b 20000bb8 nop param_chgpump_delay 
+666c 20600000 rtn 
+
+otp_disable_chgpump:
+666d 70897330 jam 0x30 ,rfen_chgpump 
+666e 20600000 rtn 
+
+otp_set_addr:
+666f 1fe9fe00 lshift3 pdata ,pdata 
+6670 60110045 hstore 2 ,core_otp_addr 
+6671 70804b00 jam 0 ,core_otpd_ctrl 
+6672 20600000 rtn 
+
+otp_write:
+6673 2040666f call otp_set_addr 
+6674 204066a0 call otp_ce 
+
+otp_program:
+6675 ea288000 ifetcht 1 ,rega 
+6676 1a20a201 increase 1 ,rega 
+6677 18000e00 force 0 ,queue 
+
+otp_program_bit:
+6678 a84c0000 qisolate0 temp 
+6679 2020e697 branch otp_skip_0 ,true 
+667a 68108046 hfetch 1 ,core_otp_din 
+667b 79207e06 set1 6 ,pdata 
+667c 79207e07 set1 7 ,pdata 
+667d 60108046 hstore 1 ,core_otp_din 
+667e 70804702 jam 0x02 ,core_otp_ctrl 
+667f 70804782 jam 0x82 ,core_otp_ctrl 
+6680 793ffe07 set0 7 ,pdata 
+6681 60108046 hstore 1 ,core_otp_din 
+6682 7080478a jam 0x8a ,core_otp_ctrl 
+6683 2000000b nop 11 
+6684 708047ca jam 0xca ,core_otp_ctrl 
+6685 20000021 nop 33 
+6686 7080474a jam 0x4a ,core_otp_ctrl 
+6687 2000002c nop 44 
+6688 708047ca jam 0xca ,core_otp_ctrl 
+6689 20000016 nop 22 
+668a 7080478a jam 0x8a ,core_otp_ctrl 
+668b 20000021 nop 33 
+668c 70804782 jam 0x82 ,core_otp_ctrl 
+668d 20000001 nop 1 
+668e 70804792 jam 0x92 ,core_otp_ctrl 
+668f 2000000a nop 10 
+6690 708047b2 jam 0xb2 ,core_otp_ctrl 
+6691 68108007 hfetch 1 ,core_otp_rdata 
+6692 70804792 jam 0x92 ,core_otp_ctrl 
+6693 20000001 nop 1 
+6694 70804782 jam 0x82 ,core_otp_ctrl 
+6695 afec0000 qisolate0 pdata 
+6696 2020e678 branch otp_program_bit ,true 
+
+otp_skip_0:
+6697 68110045 hfetch 2 ,core_otp_addr 
+6698 1fe0fe01 increase 1 ,pdata 
+6699 60110045 hstore 2 ,core_otp_addr 
+669a 18e08e01 increase 1 ,queue 
+669b 28e01e08 compare 8 ,queue ,0xf 
+669c 2420e678 nbranch otp_program_bit ,true 
+669d c2006675 loop otp_program 
+669e 70804783 jam 0x83 ,core_otp_ctrl 
+669f 20600000 rtn 
+
+otp_ce:
+66a0 70804782 jam 0x82 ,core_otp_ctrl 
+66a1 2000000c nop 12 
+66a2 70804780 jam 0x80 ,core_otp_ctrl 
+66a3 70804782 jam 0x82 ,core_otp_ctrl 
+66a4 20000096 nop 150 
+66a5 20600000 rtn 
+
+otpd_read_init:
+66a6 204066a0 call otp_ce 
+66a7 708047a2 jam 0xa2 ,core_otp_ctrl 
+66a8 1a227e00 deposit rega 
+66a9 60110048 hstore 2 ,core_otpd_addr 
+66aa 7920040b set1 11 ,temp 
+66ab 2fec000f isolate0 15 ,pdata 
+66ac 7920840f setflag true ,15 ,temp 
+66ad 6019004a hstoret 2 ,core_otpd_len 
+66ae 70800601 jam otpd_start ,core_misc_ctrl 
+66af 20600000 rtn 
+
+otpd_wait_end:
+66b0 6810812c hfetch 1 ,core_dma_status 
+66b1 c300e6b0 bbit0 otpd_done ,otpd_wait_end 
+66b2 20600000 rtn 
+
+otpd_read_data:
+66b3 2040666f call otp_set_addr 
+66b4 204066a6 call otpd_read_init 
+66b5 204066b0 call otpd_wait_end 
+66b6 70804783 jam 0x83 ,core_otp_ctrl 
+66b7 20600000 rtn 
+
+otpd_read_code:
+66b8 68110124 hfetch 2 ,core_current_otp_addr 
+66b9 60110045 hstore 2 ,core_otp_addr 
+66ba 204066a6 call otpd_read_init 
+66bb d8e00001 arg otpd_done ,queue 
+66bc 204064c0 call decrypt_code 
+66bd 204066b0 call otpd_wait_end 
+66be 2feffe00 isolate1 otpd_crcok ,pdata 
+66bf 204064b9 call set_ucode_status 
+66c0 70804783 jam 0x83 ,core_otp_ctrl 
+66c1 20600000 rtn 
+
+uartd_prepare_tx:
+66c2 6811005e hfetch 2 ,core_uart_twptr 
+66c3 98001400 iforce contwu 
+66c4 20600000 rtn 
+
+uartd_send:
+66c5 19427e00 deposit contwu 
+66c6 6011005e hstore 2 ,core_uart_twptr 
+66c7 20600000 rtn 
+
+uartd_rxdone:
+66c8 18627e00 deposit contru 
+66c9 60110058 hstore 2 ,core_uart_rrptr 
+66ca 20600000 rtn 
+
+uartd_prepare_rx:
+66cb 68110058 hfetch 2 ,core_uart_rrptr 
+66cc 1fe20600 copy pdata ,contru 
+66cd 20600000 rtn 
+
+uart_set_baud_by_mem:
+66ce 68014243 fetch uart_baud_len ,mem_baud 
+66cf 60110052 hstore uart_baud_len ,core_uart_baud 
+66d0 20600000 rtn 
+
+uart_copy_tx_bytes_fast:
+66d1 1f227e00 deposit loopcnt 
+66d2 207a0000 rtn blank 
+
+uart_copy_tx_bytes_fast_loop:
+66d3 1f20f3f8 increase -8 ,loopcnt 
+66d4 204166de call uart_tx_8_bytes ,positive 
+66d5 20628000 rtn zero 
+66d6 202166d3 branch uart_copy_tx_bytes_fast_loop ,positive 
+66d7 1f20f208 increase 8 ,loopcnt 
+
+uart_copy_tx_bytes_fast_loop_four:
+66d8 1f20f3fc increase -4 ,loopcnt 
+66d9 204166e1 call uart_tx_4_bytes ,positive 
+66da 20628000 rtn zero 
+66db 202166d8 branch uart_copy_tx_bytes_fast_loop_four ,positive 
+66dc 1f20f204 increase 4 ,loopcnt 
+66dd 202066e4 branch uart_copy_tx_bytes 
+
+uart_tx_8_bytes:
+66de e8c40000 ifetch 8 ,contr 
+66df e1440000 istore 8 ,contwu 
+66e0 20600000 rtn 
+
+uart_tx_4_bytes:
+66e1 e8c20000 ifetch 4 ,contr 
+66e2 e1420000 istore 4 ,contwu 
+66e3 20600000 rtn 
+
+uart_copy_tx_bytes:
+66e4 1f227e00 deposit loopcnt 
+66e5 207a0000 rtn blank 
+
+uart_copy_tx_bytes_loop:
+66e6 e8c08000 ifetch 1 ,contr 
+66e7 e1408000 istore 1 ,contwu 
+66e8 c20066e6 loop uart_copy_tx_bytes_loop 
+66e9 20600000 rtn 
+
+uart_copy_rx_bytes_fast:
+66ea 1f227e00 deposit loopcnt 
+66eb 207a0000 rtn blank 
+
+uart_copy_rx_bytes_fast_loop:
+66ec 1f20f3f8 increase -8 ,loopcnt 
+66ed 204166f7 call uart_rx_8_bytes ,positive 
+66ee 20628000 rtn zero 
+66ef 202166ec branch uart_copy_rx_bytes_fast_loop ,positive 
+66f0 1f20f208 increase 8 ,loopcnt 
+
+uart_copy_rx_bytes_fast_loop_four:
+66f1 1f20f3fc increase -4 ,loopcnt 
+66f2 204166fa call uart_rx_4_bytes ,positive 
+66f3 20628000 rtn zero 
+66f4 202166f1 branch uart_copy_rx_bytes_fast_loop_four ,positive 
+66f5 1f20f204 increase 4 ,loopcnt 
+66f6 202066fd branch uart_copy_rx_bytes 
+
+uart_rx_8_bytes:
+66f7 e8640000 ifetch 8 ,contru 
+66f8 e0a40000 istore 8 ,contw 
+66f9 20600000 rtn 
+
+uart_rx_4_bytes:
+66fa e8620000 ifetch 4 ,contru 
+66fb e0a20000 istore 4 ,contw 
+66fc 20600000 rtn 
+
+uart_copy_rx_bytes:
+66fd 1f227e00 deposit loopcnt 
+66fe 207a0000 rtn blank 
+
+uart_copy_rx_bytes_loop:
+66ff e8608000 ifetch 1 ,contru 
+6700 e0a08000 istore 1 ,contw 
+6701 c20066ff loop uart_copy_rx_bytes_loop 
+6702 20600000 rtn 
+
+uart_copy_rx2tx:
+6703 1f227e00 deposit loopcnt 
+6704 207a0000 rtn blank 
+
+uart_copy_rx2tx_loop:
+6705 e8608000 ifetch 1 ,contru 
+6706 e1408000 istore 1 ,contwu 
+6707 c2006705 loop uart_copy_rx2tx_loop 
+6708 20600000 rtn 
+
+app_store_nvram_event:
+6709 700a993d jam bt_evt_store_nvram ,mem_fifo_temp 
+670a 20207d86 branch ui_ipc_send_event 
+
+check_51cmd_store_reconn_info:
+
+check_51cmd_update_device_record:
+670b 474b4032 bpatchx patch32_6 ,mem_patch32 
+670c 6800c217 fetch 1 ,mem_nv_data_number 
+670d 207a0000 rtn blank 
+670e 204067a3 call check_nvram 
+670f 2042e7a9 call init_device_list ,zero 
+6710 2040673e call nvram_find_addr_from_bd_list 
+
+write_device_record:
+6711 6800c217 fetch 1 ,mem_nv_data_number 
+6712 1fe22600 icopy regc 
+6713 68094215 fetcht 2 ,mem_nv_data_ptr 
+6714 6009018c storet 2 ,mem_list_item_ptr 
+
+write_device_loop_find:
+6715 1a627e00 copy regc ,pdata 
+6716 203a6709 branch app_store_nvram_event ,blank 
+6717 1a60a7ff increase -1 ,regc 
+6718 18422200 copy temp ,rega 
+6719 ea208000 ifetch 1 ,rega 
+671a 68088184 fetcht 1 ,mem_select_list_item 
+671b 98467c00 isub temp ,null 
+671c 2042e725 call set_index_finded_device ,zero 
+671d 20216721 branch write_device_loop_find0 ,positive 
+671e ea208000 ifetch 1 ,rega 
+671f 1fe0fe01 increase 1 ,pdata 
+6720 e2208000 istore 1 ,rega 
+
+write_device_loop_find0:
+6721 6809018c fetcht 2 ,mem_list_item_ptr 
+6722 18408422 increase nv_data_len ,temp 
+6723 6009018c storet 2 ,mem_list_item_ptr 
+6724 20206715 branch write_device_loop_find 
+
+set_index_finded_device:
+6725 58000000 setarg 0 
+6726 e2208000 istore 1 ,rega 
+6727 68008185 fetch 1 ,mem_temp_reconn_record 
+6728 e0a08000 istore 1 ,contw 
+6729 c099e733 bne rec_3_mode ,set_index_finded_device_ble_mode 
+672a da4041be arg mem_link_key ,regb 
+
+set_index_find_device_master_addr:
+672b e8c30000 ifetch 6 ,contr 
+672c e0a40000 istore 8 ,contw 
+672d 58000000 setarg 0 
+672e e0a40000 istore 8 ,contw 
+672f 1a420c00 copy regb ,contr 
+
+store_rec_data_common:
+6730 20407ebf call memcpy16 
+6731 18007c01 force 1 ,null 
+6732 20600000 rtn 
+
+set_index_finded_device_ble_mode:
+6733 c01b6737 beq rec_4_mode_random_resolvable_private_address ,set_index_finded_device_irk 
+6734 c01be73b beq rec_4_mode_random_non_resolvable_private_address ,set_index_finded_device_ediv 
+6735 da404419 arg mem_le_ltk ,regb 
+6736 2020672b branch set_index_find_device_master_addr 
+
+set_index_finded_device_irk:
+6737 d8c044d5 arg mem_le_irk ,contr 
+6738 20407ebf call memcpy16 
+
+store_ble_rec_data_common:
+6739 d8c04419 arg mem_le_ltk ,contr 
+673a 20206730 branch store_rec_data_common 
+
+set_index_finded_device_ediv:
+673b d8c044cd arg mem_le_rand ,contr 
+673c 20407ebf call memcpy16 
+673d 20206739 branch store_ble_rec_data_common 
+
+nvram_find_addr_from_bd_list:
+673e 20407fe9 call disable_user 
+673f 6800c217 fetch 1 ,mem_nv_data_number 
+6740 207a0000 rtn blank 
+6741 68014682 fetch 2 ,mem_ui_state_map 
+6742 c2806754 bbit1 ui_state_bt_connected ,find_addr_from_bd_list_spp_mode 
+
+find_addr_from_bd_list_ble_mode:
+6743 474bc032 bpatchx patch32_7 ,mem_patch32 
+6744 6800c48e fetch 1 ,mem_le_conn_peer_addr_type 
+6745 c000674d beq master_public_addr ,find_addr_from_bd_list_static_addr 
+6746 68008454 fetch 1 ,mem_le_plap + 5 
+6747 2fe180c0 compare 0xc0 ,pdata ,0xc0 
+6748 2020e74d branch find_addr_from_bd_list_static_addr ,true 
+6749 2fe18040 compare 0x40 ,pdata ,0xc0 
+674a 2020e752 branch find_addr_from_bd_list_random_addr ,true 
+674b 2fe18000 compare 0x00 ,pdata ,0xc0 
+674c 2020e750 branch find_addr_from_bd_list_random_non_resolvable_private_address ,true 
+
+find_addr_from_bd_list_static_addr:
+674d 70018535 jam rec_4_mode_static_address ,mem_temp_reconn_record 
+674e 6803044f fetch 6 ,mem_le_plap 
+674f 20206757 branch find_addr_from_bd_list_common 
+
+find_addr_from_bd_list_random_non_resolvable_private_address:
+6750 70018537 jam rec_4_mode_random_non_resolvable_private_address ,mem_temp_reconn_record 
+6751 20206757 branch find_addr_from_bd_list_common 
+
+find_addr_from_bd_list_random_addr:
+6752 70018536 jam rec_4_mode_random_resolvable_private_address ,mem_temp_reconn_record 
+6753 20206757 branch find_addr_from_bd_list_common 
+
+find_addr_from_bd_list_spp_mode:
+6754 474c4033 bpatchx patch33_0 ,mem_patch33 
+6755 70018533 jam rec_3_mode ,mem_temp_reconn_record 
+6756 68030040 fetch 6 ,mem_plap 
+
+find_addr_from_bd_list_common:
+6757 60030186 store 6 ,mem_temp_reconn_record + 1 
+6758 68014215 fetch 2 ,mem_nv_data_ptr 
+6759 efe88000 ifetcht 1 ,pdata 
+675a 1fe0fe01 pincrease 1 
+675b 6001018c store 2 ,mem_list_item_ptr 
+675c 60088184 storet 1 ,mem_select_list_item 
+675d 6800c217 fetch 1 ,mem_nv_data_number 
+675e 1fe22600 icopy regc 
+
+nvram_find_addr_from_list:
+675f 6801018c fetch 2 ,mem_list_item_ptr 
+6760 1fe22200 copy pdata ,rega 
+6761 2040676f call nvram_find_addr_from_list_compare 
+6762 20740000 rtn user 
+6763 6809018c fetcht 2 ,mem_list_item_ptr 
+6764 18408422 increase nv_data_len ,temp 
+6765 6009018c storet 2 ,mem_list_item_ptr 
+6766 184085ff increase -1 ,temp 
+6767 e8408000 ifetch 1 ,temp 
+6768 60008184 store 1 ,mem_select_list_item 
+6769 1a60a7ff increase -1 ,regc 
+676a 2422e75f nbranch nvram_find_addr_from_list ,zero 
+676b 6800c217 fetch 1 ,mem_nv_data_number 
+676c 1fe0ffff pincrease decreased_one 
+676d 60008184 store 1 ,mem_select_list_item 
+676e 20600000 rtn 
+
+nvram_find_addr_from_list_compare:
+676f 68008185 fetch 1 ,mem_temp_reconn_record 
+6770 c099e776 bne rec_3_mode ,find_addr_from_list_compare_ble_mode 
+
+find_master_addr_from_list_compare:
+6771 da400185 arg mem_temp_reconn_record ,regb 
+6772 df200007 arg 7 ,loopcnt 
+6773 20407f88 call string_compare 
+6774 2022ffe7 branch enable_user ,zero 
+6775 20600000 rtn 
+
+find_addr_from_list_compare_ble_mode:
+6776 c01b6779 beq rec_4_mode_random_resolvable_private_address ,find_irk_form_list_compare 
+6777 c01be794 beq rec_4_mode_random_non_resolvable_private_address ,find_ediv_form_list_compare 
+6778 20206771 branch find_master_addr_from_list_compare 
+
+find_irk_form_list_compare:
+6779 ea288000 ifetcht 1 ,rega 
+677a 98467c00 isub temp ,null 
+677b 24628000 nrtn zero 
+677c d8a00ac2 arg mem_le_prand ,contw 
+677d df200010 arg 16 ,loopcnt 
+677e 20407ed4 call clear_mem 
+677f 68018452 fetch 3 ,mem_le_plap + 3 
+6780 60018ac2 store 3 ,mem_le_prand 
+6781 2040678b call genernate_master_macaddress 
+6782 68010adf fetch 2 ,mem_le_aes_128 + 13 
+6783 1ff0fe00 byteswap pdata ,pdata 
+6784 1fed0400 lshift8 pdata ,temp 
+6785 e8c08000 ifetch 1 ,contr 
+6786 9840fe00 iadd temp ,pdata 
+6787 6809844f fetcht 3 ,mem_le_plap 
+6788 98467c00 isub temp ,null 
+6789 2022ffe7 branch enable_user ,zero 
+678a 20600000 rtn 
+
+genernate_master_macaddress:
+678b d8c00ac2 arg mem_le_prand ,contr 
+678c 20407486 call load_data128 
+678d ea208000 ifetch 1 ,rega 
+678e 20407487 call load_regext 
+678f 18006c38 force 0x38 ,aes_ctrl 
+6790 18006c00 force 0x0 ,aes_ctrl 
+6791 2040741d call wait_aes 
+6792 d8a00ad2 arg mem_le_aes_128 ,contw 
+6793 20207497 branch store_aes_result 
+
+find_ediv_form_list_compare:
+6794 ea288000 ifetcht 1 ,rega 
+6795 98467c00 isub temp ,null 
+6796 24628000 nrtn zero 
+6797 18c22200 copy contr ,rega 
+6798 18c0a608 add contr ,8 ,regc 
+6799 da4044cd arg mem_le_rand ,regb 
+679a df200008 arg 8 ,loopcnt 
+679b 20407f88 call string_compare 
+679c 2022ffe7 branch enable_user ,zero 
+679d 1a622200 copy regc ,rega 
+679e da4044d5 arg mem_le_irk ,regb 
+679f df200008 arg 8 ,loopcnt 
+67a0 20407f88 call string_compare 
+67a1 2022ffe7 branch enable_user ,zero 
+67a2 20600000 rtn 
+
+check_nvram:
+67a3 68014215 fetch 2 ,mem_nv_data_ptr 
+67a4 efe88000 ifetcht 1 ,pdata 
+67a5 1fe0fe22 pincrease nv_data_len 
+67a6 efe08000 ifetch 1 ,pdata 
+67a7 98467c00 isub temp ,null 
+67a8 20600000 rtn 
+
+init_device_list:
+67a9 6800c217 fetch 1 ,mem_nv_data_number 
+67aa 1fe27200 icopy loopcnt 
+67ab 68094215 fetcht 2 ,mem_nv_data_ptr 
+67ac 58000000 setarg 0 
+
+init_device_list_loop:
+67ad e0408000 istore 1 ,temp 
+67ae 18408422 increase nv_data_len ,temp 
+67af 1fe0fe01 pincrease 1 
+67b0 c20067ad loop init_device_list_loop 
+67b1 20600000 rtn 
+
+load_device_list:
+67b2 474cc033 bpatchx patch33_1 ,mem_patch33 
+67b3 2040673e call nvram_find_addr_from_bd_list 
+67b4 68008030 fetch 1 ,mem_state 
+67b5 79347e06 setflag user ,state_combkey ,pdata 
+67b6 60008030 store 1 ,mem_state 
+67b7 243467bc nbranch clear_key_exists ,user 
+67b8 1a208c0a add rega ,10 ,contr 
+67b9 d8a041be arg mem_link_key ,contw 
+67ba 20407ebf call memcpy16 
+67bb 202067d7 branch check_link_key_load 
+
+clear_key_exists:
+67bc 7041bd00 jam 0 ,mem_link_key_exists 
+67bd 20600000 rtn 
+
+load_device_list_mode_4:
+67be 6804c4cb fetch 9 ,mem_le_ediv 
+67bf 203a67ca branch clear_ltk_exists ,blank 
+67c0 2040673e call nvram_find_addr_from_bd_list 
+67c1 243467ca nbranch clear_ltk_exists ,user 
+67c2 6801018c fetch 2 ,mem_list_item_ptr 
+67c3 1fe08c01 add pdata ,1 ,contr 
+67c4 d8a044d5 arg mem_le_irk ,contw 
+67c5 20407ebf call memcpy16 
+67c6 d8a04419 arg mem_le_ltk ,contw 
+67c7 20407ebf call memcpy16 
+67c8 70442901 jam 1 ,mem_ltk_exists 
+67c9 20600000 rtn 
+
+clear_ltk_exists:
+67ca 70442900 jam 0 ,mem_ltk_exists 
+67cb 20600000 rtn 
+
+eeprom_store_le_reconn_info:
+67cc 6803044f fetch 6 ,mem_le_plap 
+67cd 60030186 store 6 ,mem_temp_lap 
+67ce 70018534 jam rec_4_mode ,mem_record_bt_mode 
+67cf 202067d3 branch eeprom_store_reconn_info 
+
+eeprom_store_bd_reconn_info:
+67d0 68030040 fetch 6 ,mem_plap 
+67d1 60030186 store 6 ,mem_temp_lap 
+67d2 70018533 jam rec_3_mode ,mem_record_bt_mode 
+
+eeprom_store_reconn_info:
+67d3 6800c092 fetch 1 ,mem_device_option 
+67d4 c005670b beq dvc_op_module ,check_51cmd_update_device_record 
+67d5 c28342da bbit1 dvc_op_mouse ,mouse_store_remote_bdaddr 
+67d6 20600000 rtn 
+
+check_link_key_load:
+67d7 680441be fetch 8 ,mem_link_key 
+67d8 680c41c6 fetcht 8 ,mem_link_key + 8 
+67d9 9841fe00 ior temp ,pdata 
+67da 207a0000 rtn blank 
+67db 7041bd01 jam 1 ,mem_link_key_exists 
+67dc 20600000 rtn 
+
+gpio_set_wake_by_current_state:
+67dd 474d4033 bpatchx patch33_2 ,mem_patch33 
+67de 79200407 set1 7 ,temp 
+67df 2040681d call gpio_get_bit 
+67e0 7d208407 nsetflag true ,7 ,temp 
+
+gpio_set_wake:
+67e1 474dc033 bpatchx patch33_3 ,mem_patch33 
+67e2 18467cff sub temp ,ui_button_gpio_disable ,null 
+67e3 20628000 rtn zero 
+67e4 284c0007 isolate0 7 ,temp 
+67e5 18410e1f and temp ,0x1f ,queue 
+67e6 680200a1 fetch 4 ,mem_gpio_wakeup_low 
+67e7 f920fe00 qsetflag true ,pdata 
+67e8 600200a1 store 4 ,mem_gpio_wakeup_low 
+67e9 680200a5 fetch 4 ,mem_gpio_wakeup_high 
+67ea fd20fe00 nqsetflag true ,pdata 
+67eb 600200a5 store 4 ,mem_gpio_wakeup_high 
+67ec 20600000 rtn 
+
+gpio_clr_wake:
+67ed 474e4033 bpatchx patch33_4 ,mem_patch33 
+67ee 18467cff sub temp ,ui_button_gpio_disable ,null 
+67ef 20628000 rtn zero 
+67f0 284c0007 isolate0 7 ,temp 
+67f1 18410e1f and temp ,0x1f ,queue 
+67f2 680200a1 fetch 4 ,mem_gpio_wakeup_low 
+67f3 f93ffe00 qset0 pdata 
+67f4 600200a1 store 4 ,mem_gpio_wakeup_low 
+67f5 680200a5 fetch 4 ,mem_gpio_wakeup_high 
+67f6 f93ffe00 qset0 pdata 
+67f7 600200a5 store 4 ,mem_gpio_wakeup_high 
+67f8 20600000 rtn 
+
+gpio_config_input_nowake:
+67f9 204067ed call gpio_clr_wake 
+67fa 202067fe branch gpio_config_input_without_wake 
+
+gpio_config_input:
+67fb 18467cff sub temp ,ui_button_gpio_disable ,null 
+67fc 20628000 rtn zero 
+67fd 2455e7e1 ncall gpio_set_wake ,wake 
+
+gpio_config_input_without_wake:
+67fe d8a0807c arg core_gpio_pd0 ,contw 
+67ff 20406830 call gpio_set_bit 
+6800 79400407 setflip gpio_active_bit ,temp 
+6801 d8a08078 arg core_gpio_pu0 ,contw 
+6802 20406830 call gpio_set_bit 
+6803 793f8407 set0 gpio_active_bit ,temp 
+6804 d8a08070 arg core_gpio_oe0 ,contw 
+6805 20206830 branch gpio_set_bit 
+
+gpio_set_high_impedance:
+6806 d8a0807c arg core_gpio_pd0 ,contw 
+6807 20406830 call gpio_set_bit 
+6808 793f8407 set0 gpio_active_bit ,temp 
+6809 d8a08078 arg core_gpio_pu0 ,contw 
+680a 20406830 call gpio_set_bit 
+680b 793f8407 set0 gpio_active_bit ,temp 
+680c d8a08070 arg core_gpio_oe0 ,contw 
+680d 20206830 branch gpio_set_bit 
+
+gpio_config_output:
+680e 18467cff sub temp ,ui_button_gpio_disable ,null 
+680f 20628000 rtn zero 
+6810 79400407 setflip gpio_active_bit ,temp 
+6811 2040682f call gpio_out 
+
+gpio_config_output0:
+6812 79200407 set1 gpio_active_bit ,temp 
+6813 d8a08070 arg core_gpio_oe0 ,contw 
+6814 20206830 branch gpio_set_bit 
+
+gpio_common:
+6815 18410e07 and temp ,0x07 ,queue 
+6816 18497e00 rshift3 temp ,pdata 
+6817 1fe17e03 and_into 3 ,pdata 
+6818 98a08a00 iadd contw ,contw 
+6819 e8a08000 ifetch 1 ,contw 
+681a 20600000 rtn 
+
+gpio_check_active:
+681b d8a08074 arg core_gpio_out0 ,contw 
+681c 2020681e branch get_bit_common 
+
+gpio_get_bit:
+681d d8a0811c arg core_gpio_in ,contw 
+
+get_bit_common:
+681e 20406815 call gpio_common 
+681f 284ffe07 isolate1 gpio_active_bit ,temp 
+6820 2020e823 branch gpio_get_bit_reverse ,true 
+6821 afec0000 qisolate0 pdata 
+6822 20600000 rtn 
+
+gpio_get_bit_reverse:
+6823 afefffff qisolate1 pdata 
+6824 20600000 rtn 
+
+gpio_out_inactive:
+6825 18467cff sub temp ,ui_button_gpio_disable ,null 
+6826 20628000 rtn zero 
+6827 2fcffe07 isolate1 7 ,null 
+6828 2020682c branch gpio_out_flag 
+
+gpio_out_active:
+6829 18467cff sub temp ,ui_button_gpio_disable ,null 
+682a 20628000 rtn zero 
+682b 2fcc0007 isolate0 7 ,null 
+
+gpio_out_flag:
+682c 58000000 setarg 0 
+682d 7d20fe07 nsetflag true ,gpio_active_bit ,pdata 
+682e 98428400 ixor temp ,temp 
+
+gpio_out:
+682f d8a08074 arg core_gpio_out0 ,contw 
+
+gpio_set_bit:
+6830 20406815 call gpio_common 
+6831 284ffe07 isolate1 gpio_active_bit ,temp 
+6832 f920fe00 qsetflag true ,pdata 
+6833 e0a08000 istore 1 ,contw 
+6834 20600000 rtn 
+
+gpio_set_before_lpm_common:
+6835 da3fffff arg -1 ,rega 
+6836 68108081 hfetch 1 ,core_gpio_sel1 
+6837 2fe00602 compare 0x02 ,pdata ,0x03 
+6838 2040e878 call neglact4_from_23_pin ,true 
+6839 2fe00601 compare 0x01 ,pdata ,0x03 
+683a 2040e87a call neglact2_form_25_pin ,true 
+683b 2fe00603 compare 0x03 ,pdata ,0x03 
+683c 2040e87a call neglact2_form_25_pin ,true 
+683d 2feffe02 isolate1 2 ,pdata 
+683e 2040e874 call neglect2_from_6_pin ,true 
+683f 2feffe03 isolate1 3 ,pdata 
+6840 2040e876 call neglect4_from_9_pin ,true 
+6841 2feffe04 isolate1 4 ,pdata 
+6842 2040e87c call neglact2_form_30_pin ,true 
+6843 2feffe06 isolate1 6 ,pdata 
+6844 7d20a204 nsetflag true ,04 ,rega 
+6845 2feffe07 isolate1 7 ,pdata 
+6846 7d20a205 nsetflag true ,05 ,rega 
+6847 68108082 hfetch 1 ,core_gpio_sel2 
+6848 2feffe00 isolate1 0 ,pdata 
+6849 7d20a21b nsetflag true ,27 ,rega 
+684a 2feffe01 isolate1 1 ,pdata 
+684b 7d20a21c nsetflag true ,28 ,rega 
+684c 2feffe02 isolate1 2 ,pdata 
+684d 7d20a203 nsetflag true ,03 ,rega 
+684e 2feffe03 isolate1 3 ,pdata 
+684f 7d20a208 nsetflag true ,08 ,rega 
+6850 2feffe04 isolate1 4 ,pdata 
+6851 7d20a214 nsetflag true ,20 ,rega 
+6852 2feffe05 isolate1 5 ,pdata 
+6853 7d20a215 nsetflag true ,21 ,rega 
+6854 2feffe06 isolate1 6 ,pdata 
+6855 7d20a216 nsetflag true ,22 ,rega 
+6856 2feffe07 isolate1 7 ,pdata 
+6857 7d20a217 nsetflag true ,23 ,rega 
+6858 68108080 hfetch 1 ,core_gpio_sel 
+6859 2feffe00 isolate1 0 ,pdata 
+685a 7d20a205 nsetflag true ,05 ,rega 
+685b 2feffe01 isolate1 1 ,pdata 
+685c 7d20a206 nsetflag true ,06 ,rega 
+685d 2feffe02 isolate1 2 ,pdata 
+685e 7d20a207 nsetflag true ,07 ,rega 
+685f 2feffe03 isolate1 3 ,pdata 
+6860 7d20a212 nsetflag true ,18 ,rega 
+6861 2feffe04 isolate1 4 ,pdata 
+6862 7d20a213 nsetflag true ,19 ,rega 
+6863 2feffe05 isolate1 5 ,pdata 
+6864 7d20a214 nsetflag true ,20 ,rega 
+6865 2feffe06 isolate1 6 ,pdata 
+6866 7d20a215 nsetflag true ,21 ,rega 
+6867 2feffe07 isolate1 7 ,pdata 
+6868 7d20a216 nsetflag true ,22 ,rega 
+6869 68108062 hfetch 1 ,core_uart_ctrl 
+686a 2feffe04 isolate1 4 ,pdata 
+686b 2040e87e call neglact2_form_2_pin ,true 
+686c 474ec033 bpatchx patch33_5 ,mem_patch33 
+686d 68120078 hfetch 4 ,core_gpio_pu0 
+686e 681a007c hfetcht 4 ,core_gpio_pd0 
+686f 9841fe00 ior temp ,pdata 
+6870 1fe47e00 invert pdata ,pdata 
+6871 9a217e00 iand rega ,pdata 
+6872 60120070 hstore 4 ,core_gpio_oe0 
+6873 20600000 rtn 
+
+neglect2_from_6_pin:
+6874 d8e00006 arg 6 ,queue 
+6875 20206884 branch neglect_2_pin 
+
+neglect4_from_9_pin:
+6876 d8e00009 arg 9 ,queue 
+6877 20206882 branch neglact_4_pin 
+
+neglact4_from_23_pin:
+6878 d8e00017 arg 23 ,queue 
+6879 20206882 branch neglact_4_pin 
+
+neglact2_form_25_pin:
+687a d8e00019 arg 25 ,queue 
+687b 20206884 branch neglect_2_pin 
+
+neglact2_form_30_pin:
+687c d8e0001e arg 30 ,queue 
+687d 20206884 branch neglect_2_pin 
+
+neglact2_form_2_pin:
+687e d8e00002 arg 2 ,queue 
+687f 20206884 branch neglect_2_pin 
+
+neglact_1_pin:
+6880 df200001 arg 1 ,loopcnt 
+6881 20206885 branch neglect_pin_loop 
+
+neglact_4_pin:
+6882 df200004 arg 4 ,loopcnt 
+6883 20206885 branch neglect_pin_loop 
+
+neglect_2_pin:
+6884 df200002 arg 2 ,loopcnt 
+
+neglect_pin_loop:
+6885 f93fa200 qset0 rega 
+6886 18e08e01 increase 1 ,queue 
+6887 c2006885 loop neglect_pin_loop 
+6888 20600000 rtn 
+
+gpio_cfg_uart_tx_output:
+6889 20406895 call gpio_uart2gpio 
+688a d8400006 arg uart_wakeup_tx ,temp 
+688b 2020680e branch gpio_config_output 
+
+gpio_pu_uart_tx:
+688c 20406889 call gpio_cfg_uart_tx_output 
+688d d8400006 arg uart_wakeup_tx ,temp 
+688e 20206825 branch gpio_out_inactive 
+
+gpio_rx_config_input_with_pu:
+688f 20406895 call gpio_uart2gpio 
+6890 68108078 hfetch 1 ,core_gpio_pu0 
+6891 79207e07 set1 uart_wakeup_rx ,pdata 
+6892 60108078 hstore 1 ,core_gpio_pu0 
+6893 d8400007 arg uart_wakeup_rx ,temp 
+6894 202067fb branch gpio_config_input 
+
+gpio_uart2gpio:
+6895 68108081 hfetch 1 ,core_gpio_sel1 
+6896 1fe17efb and_into 0xfb ,pdata 
+6897 60108081 hstore 1 ,core_gpio_sel1 
+6898 20600000 rtn 
+
+gpio_check_uart_state:
+6899 68108081 hfetch 1 ,core_gpio_sel1 
+689a 2feffe02 isolate1 2 ,pdata 
+689b 20600000 rtn 
+
+load_chip_option:
+689c 2040666a call otp_enable_chgpump 
+689d 580007e0 setarg otp_chip_functions 
+689e da204150 arg mem_chip_functions ,rega 
+689f d8400002 arg 0x02 ,temp 
+68a0 204066b3 call otpd_read_data 
+68a1 2020666d branch otp_disable_chgpump 
+
+load_adc_init:
+68a2 2040666a call otp_enable_chgpump 
+68a3 580007e2 setarg otp_adc_io_0_5v_addr 
+68a4 da20421d arg mem_0_5_adc_io_data ,rega 
+68a5 d840000e arg 14 ,temp 
+68a6 204066b3 call otpd_read_data 
+68a7 2020666d branch otp_disable_chgpump 
+
+adc_init_data:
+68a8 474f4033 bpatchx patch33_6 ,mem_patch33 
+68a9 204068a2 call load_adc_init 
+68aa 6800c22d fetch 1 ,mem_adc_config_flag 
+68ab c00068af beq adc_config_vinlpm ,adc_init_data_vinlpm 
+68ac c000e8c3 beq adc_config_hvin ,adc_init_data_hvin 
+68ad c00168d7 beq adc_config_gpio ,adc_init_data_io 
+68ae 20600000 rtn 
+
+adc_init_data_vinlpm:
+68af 68094229 fetcht 2 ,mem_otp_adc_flag 
+68b0 5800aa55 setarg otp_adc_flag 
+68b1 98467c00 isub temp ,null 
+68b2 2022e8b8 branch adc_check_data_vinlpm ,zero 
+68b3 58004dfa setarg 0x4dfa 
+68b4 60014227 store 2 ,mem_3v_adc_vinlpm_data 
+68b5 58004894 setarg 0x4894 
+68b6 60014221 store 2 ,mem_2v_adc_vinlpm_data 
+68b7 202068c0 branch set_vdd_reference_voltage_1v 
+
+adc_check_data_vinlpm:
+68b8 68014227 fetch 2 ,mem_3v_adc_vinlpm_data 
+68b9 243a68bc nbranch adc_check_2v_vinlpm ,blank 
+68ba 58004dfa setarg 0x4dfa 
+68bb 60014227 store 2 ,mem_3v_adc_vinlpm_data 
+
+adc_check_2v_vinlpm:
+68bc 68014221 fetch 2 ,mem_2v_adc_vinlpm_data 
+68bd 243a68c0 nbranch set_vdd_reference_voltage_1v ,blank 
+68be 58004894 setarg 0x4894 
+68bf 60014221 store 2 ,mem_2v_adc_vinlpm_data 
+
+set_vdd_reference_voltage_1v:
+68c0 58000064 setarg 100 
+68c1 6001422b store 2 ,mem_reference_voltage 
+68c2 20600000 rtn 
+
+adc_init_data_hvin:
+68c3 68094229 fetcht 2 ,mem_otp_adc_flag 
+68c4 5800aa55 setarg otp_adc_flag 
+68c5 98467c00 isub temp ,null 
+68c6 2022e8cc branch adc_check_data_hvin ,zero 
+68c7 58005932 setarg 0x5932 
+68c8 60014225 store 2 ,mem_5v_adc_hvin_data 
+68c9 58004323 setarg 0x4323 
+68ca 6001421f store 2 ,mem_1v_adc_hvin_data 
+68cb 202068d4 branch set_vdd_reference_voltage_4v 
+
+adc_check_data_hvin:
+68cc 68014225 fetch 2 ,mem_5v_adc_hvin_data 
+68cd 243a68d0 nbranch adc_check_1v_hvin ,blank 
+68ce 58005932 setarg 0x5932 
+68cf 60014225 store 2 ,mem_5v_adc_hvin_data 
+
+adc_check_1v_hvin:
+68d0 6801421f fetch 2 ,mem_1v_adc_hvin_data 
+68d1 243a68d4 nbranch set_vdd_reference_voltage_4v ,blank 
+68d2 58004323 setarg 0x4323 
+68d3 6001421f store 2 ,mem_1v_adc_hvin_data 
+
+set_vdd_reference_voltage_4v:
+68d4 58000190 setarg 400 
+68d5 6001422b store 2 ,mem_reference_voltage 
+68d6 20600000 rtn 
+
+adc_init_data_io:
+68d7 68094229 fetcht 2 ,mem_otp_adc_flag 
+68d8 5800aa55 setarg otp_adc_flag 
+68d9 98467c00 isub temp ,null 
+68da 2022e8e0 branch adc_check_data_io ,zero 
+68db 58006946 setarg 0x6946 
+68dc 60014223 store 2 ,mem_1v_adc_io_data 
+68dd 58005377 setarg 0x5377 
+68de 6001421d store 2 ,mem_0_5_adc_io_data 
+68df 202068e8 branch set_vdd_reference_voltage_0_5v 
+
+adc_check_data_io:
+68e0 68014223 fetch 2 ,mem_1v_adc_io_data 
+68e1 243a68e4 nbranch adc_check_0_5v_io ,blank 
+68e2 58006946 setarg 0x6946 
+68e3 60014223 store 2 ,mem_1v_adc_io_data 
+
+adc_check_0_5v_io:
+68e4 6801421d fetch 2 ,mem_0_5_adc_io_data 
+68e5 243a68e8 nbranch set_vdd_reference_voltage_0_5v ,blank 
+68e6 58005377 setarg 0x5377 
+68e7 6001421d store 2 ,mem_0_5_adc_io_data 
+
+set_vdd_reference_voltage_0_5v:
+68e8 58000032 setarg 50 
+68e9 6001422b store 2 ,mem_reference_voltage 
+68ea 20600000 rtn 
+
+adc_set_mode:
+68eb 6800c22d fetch 1 ,mem_adc_config_flag 
+68ec c00068f0 beq adc_config_vinlpm ,adc_check_vinlpm 
+68ed c000e8f2 beq adc_config_hvin ,adc_check_hvin 
+68ee c00168f4 beq adc_config_gpio ,adc_check_gpio 
+68ef 20600000 rtn 
+
+adc_check_vinlpm:
+68f0 708971bf jam 0xbf ,rf_adc_mode 
+68f1 202068f8 branch read_adc 
+
+adc_check_hvin:
+68f2 708971af jam 0xaf ,rf_adc_mode 
+68f3 202068f8 branch read_adc 
+
+adc_check_gpio:
+68f4 7089718f jam 0x8f ,rf_adc_mode 
+68f5 6800c22e fetch 1 ,mem_adc_channel 
+68f6 60108973 hstore 1 ,rf_adc_ch 
+68f7 202068f8 branch read_adc 
+
+read_adc:
+68f8 474fc033 bpatchx patch33_7 ,mem_patch33 
+68f9 68108053 hfetch 1 ,core_uart_baud + 1 
+68fa 79207e07 set1 7 ,pdata 
+68fb 60108053 hstore 1 ,core_uart_baud + 1 
+68fc 68108973 hfetch 1 ,rf_adc_ch 
+68fd 1fe1fe30 or_into 0x30 ,pdata 
+68fe 60108973 hstore 1 ,rf_adc_ch 
+68ff 7089067c jam 0x7c ,rfen_adc 
+6900 708972aa jam 0xaa ,rf_adc_gc 
+6901 20001388 nop 5000 
+6902 68190150 hfetcht 2 ,core_adc_sum 
+6903 68108053 hfetch 1 ,core_uart_baud + 1 
+6904 793ffe07 set0 7 ,pdata 
+6905 60108053 hstore 1 ,core_uart_baud + 1 
+6906 6009422f storet 2 ,mem_adc_current_value 
+6907 20600000 rtn 
+
+vdd_calculate_by_mode:
+6908 47504034 bpatchx patch34_0 ,mem_patch34 
+6909 6800c22d fetch 1 ,mem_adc_config_flag 
+690a c000690e beq adc_config_vinlpm ,vdd_calculate_vinlpm 
+690b c000e912 beq adc_config_hvin ,vdd_calculate_hvin 
+690c c0016916 beq adc_config_gpio ,vdd_calculate_io 
+690d 20600000 rtn 
+
+vdd_calculate_vinlpm:
+690e 68014227 fetch 2 ,mem_3v_adc_vinlpm_data 
+690f 68094221 fetcht 2 ,mem_2v_adc_vinlpm_data 
+6910 da6000c8 arg 200 ,regc 
+6911 2020691a branch vdd_calculate 
+
+vdd_calculate_hvin:
+6912 68014225 fetch 2 ,mem_5v_adc_hvin_data 
+6913 6809421f fetcht 2 ,mem_1v_adc_hvin_data 
+6914 da600064 arg 100 ,regc 
+6915 2020691a branch vdd_calculate 
+
+vdd_calculate_io:
+6916 68014223 fetch 2 ,mem_1v_adc_io_data 
+6917 6809421d fetcht 2 ,mem_0_5_adc_io_data 
+6918 da600032 arg 50 ,regc 
+6919 2020691a branch vdd_calculate 
+
+vdd_calculate:
+691a 98462200 isub temp ,rega 
+691b 6801422f fetch 2 ,mem_adc_current_value 
+691c 98467e00 isub temp ,pdata 
+691d 24216927 nbranch vdd_calculate1 ,positive 
+691e 6809422b fetcht 2 ,mem_reference_voltage 
+691f 984fa400 imul32 temp ,regb 
+6920 1a627e00 copy regc ,pdata 
+6921 9a2ffe00 imul32 rega ,pdata 
+6922 9a40fe00 iadd regb ,pdata 
+
+vdd_calculate2:
+6923 9a26fc00 idiv rega 
+6924 20407f86 call wait_div_end 
+6925 1807fe00 quotient pdata 
+6926 20600000 rtn 
+
+vdd_calculate1:
+6927 18427e00 copy temp ,pdata 
+6928 6809422f fetcht 2 ,mem_adc_current_value 
+6929 98467e00 isub temp ,pdata 
+692a 6809422b fetcht 2 ,mem_reference_voltage 
+692b 984fa400 imul32 temp ,regb 
+692c 1a627e00 copy regc ,pdata 
+692d 9a2ffe00 imul32 rega ,pdata 
+692e 9a467e00 isub regb ,pdata 
+692f 20206923 branch vdd_calculate2 
+
+adc_bat_percent_lowpower_out:
+6930 ea240000 ifetch 8 ,rega 
+6931 60040a9a store 8 ,mem_pdatatemp 
+6932 68010a9a fetch 2 ,mem_pdatatemp 
+6933 68090a9c fetcht 2 ,mem_pdatatemp + 2 
+6934 98462200 isub temp ,rega 
+6935 68010aa0 fetch 2 ,mem_pdatatemp + 6 
+6936 98462400 isub temp ,regb 
+6937 68090a9e fetcht 2 ,mem_pdatatemp + 4 
+6938 98467c00 isub temp ,null 
+6939 24416940 ncall adc_set_low_power_flag ,positive 
+693a 1a4ffe64 mul32 regb ,100 ,pdata 
+693b 9a26fc00 idiv rega 
+693c 20407f86 call wait_div_end 
+693d 1807fe00 quotient pdata 
+693e 205a6944 call adc_set_no_power_flag ,blank 
+693f 20600000 rtn 
+
+adc_set_low_power_flag:
+6940 6800c231 fetch 1 ,mem_adc_power_flag 
+6941 79207e00 set1 0 ,pdata 
+6942 6000c231 store 1 ,mem_adc_power_flag 
+6943 20600000 rtn 
+
+adc_set_no_power_flag:
+6944 6808c231 fetcht 1 ,mem_adc_power_flag 
+6945 79200401 set1 1 ,temp 
+6946 6008c231 storet 1 ,mem_adc_power_flag 
+6947 20600000 rtn 
+
+keyscan_key_init:
+6948 6801423d fetch 2 ,mem_key_num_ptr 
+6949 efe08000 ifetch 1 ,pdata 
+
+keyscan_key_init_next:
+694a 207a0000 rtn blank 
+694b 1fe27200 copy pdata ,loopcnt 
+694c 6801423d fetch 2 ,mem_keyscan_ptr 
+694d 1fe0fe03 increase 3 ,pdata 
+694e 1fe22200 copy pdata ,rega 
+
+keyscan_key_init_lp1:
+694f ea288000 ifetcht 1 ,rega 
+6950 204067fb call gpio_config_input 
+6951 1a20a201 increase key_conf_struct_len ,rega 
+6952 c200694f loop keyscan_key_init_lp1 
+
+keyscan_key_init_end:
+6953 20600000 rtn 
+
+keyscan_scan_key:
+6954 6801423d fetch 2 ,mem_keyscan_ptr 
+6955 1fe0fe03 increase 3 ,pdata 
+6956 1fe22200 copy pdata ,rega 
+6957 18002400 force 0 ,regb 
+6958 700b1200 jam 0 ,mem_key_value_temp 
+
+keyscan_scan_key_lp1:
+6959 ea288000 ifetcht 1 ,rega 
+695a 2040681d call gpio_get_bit 
+695b 4750c034 bpatchx patch34_1 ,mem_patch34 
+695c 68010b12 fetch 2 ,mem_key_value_temp 
+695d 1a420e00 copy regb ,queue 
+695e f920fe00 qsetflag true ,pdata 
+695f 60010b12 store 2 ,mem_key_value_temp 
+6960 1a20a201 increase key_conf_struct_len ,rega 
+6961 1a40a401 increase 1 ,regb 
+6962 6801423d fetch 2 ,mem_key_num_ptr 
+6963 efe08000 ifetch 1 ,pdata 
+
+keyscan_scan_key_lp1_next:
+6964 9a42fc00 ixor regb ,null 
+6965 2422e959 nbranch keyscan_scan_key_lp1 ,zero 
+6966 68010b12 fetch 2 ,mem_key_value_temp 
+6967 68090b14 fetcht 2 ,mem_key_value 
+6968 9842fc00 ixor temp ,null 
+6969 20628000 rtn zero 
+696a 78347c00 enable user 
+696b 20600000 rtn 
+
+keyscan_process_lpm_before:
+696c 6801423d fetch 2 ,mem_key_num_ptr 
+696d efe08000 ifetch 1 ,pdata 
+
+keyscan_process_lpm_before_next:
+696e 207a0000 rtn blank 
+696f 1fe27200 copy pdata ,loopcnt 
+6970 6801423d fetch 2 ,mem_keyscan_ptr 
+6971 1fe0fe03 increase 3 ,pdata 
+6972 1fe22200 copy pdata ,rega 
+
+keyscan_process_lpm_before_lp1:
+6973 ea288000 ifetcht 1 ,rega 
+6974 204067dd call gpio_set_wake_by_current_state 
+6975 1a20a201 increase key_conf_struct_len ,rega 
+6976 c2006973 loop keyscan_process_lpm_before_lp1 
+
+keyscan_process_lpm_before_end:
+6977 20600000 rtn 
+
+keyscan_key_process:
+6978 d8e00009 arg key_scan_timer ,queue 
+6979 20407f16 call timer_check 
+697a 247a0000 nrtn blank 
+697b 58000020 setarg 0x20 
+697c d8e00009 arg key_scan_timer ,queue 
+697d 20407f08 call timer_init 
+697e 78547c00 disable user 
+697f 2040696c call keyscan_process_lpm_before 
+6980 47514034 bpatchx patch34_2 ,mem_patch34 
+6981 6801423d fetch 2 ,mem_key_num_ptr 
+6982 efe08000 ifetch 1 ,pdata 
+
+keyscan_key_process_next:
+6983 207a0000 rtn blank 
+6984 20406954 call keyscan_scan_key 
+6985 24347d02 nbranch lpm_button_clean_wake_lock ,user 
+6986 20407d00 call lpm_button_get_wake_lock 
+6987 78547c00 disable user 
+6988 68010b12 fetch 2 ,mem_key_value_temp 
+6989 60010b19 store 2 ,mem_key_value_temp4 
+698a 700b1b00 jam 0 ,mem_key_value_temp6 
+698b 18000e00 force 0 ,queue 
+
+keyscan_key_lp1:
+698c 68010b14 fetch 2 ,mem_key_value 
+698d 1fe30400 rshift pdata ,temp 
+698e 60090b14 storet 2 ,mem_key_value 
+698f 1fe17e01 and pdata ,0x01 ,pdata 
+6990 68090b19 fetcht 2 ,mem_key_value_temp4 
+6991 18412201 and temp ,0x01 ,rega 
+6992 18430400 rshift temp ,temp 
+6993 60090b19 storet 2 ,mem_key_value_temp4 
+6994 9a22fc00 ixor rega ,null 
+6995 2442e9a1 ncall keyscan_send_key_data ,zero 
+6996 6801423d fetch 2 ,mem_key_num_ptr 
+6997 efe08000 ifetch 1 ,pdata 
+
+keyscan_key_lp1_next:
+6998 68088b1b fetcht 1 ,mem_key_value_temp6 
+6999 18408401 increase 1 ,temp 
+699a 60088b1b storet 1 ,mem_key_value_temp6 
+699b 18420e00 copy temp ,queue 
+699c 98e2fc00 ixor queue ,null 
+699d 2422e98c nbranch keyscan_key_lp1 ,zero 
+699e 68010b12 fetch 2 ,mem_key_value_temp 
+699f 60010b14 store 2 ,mem_key_value 
+69a0 20600000 rtn 
+
+keyscan_send_key_data:
+69a1 4751c034 bpatchx patch34_3 ,mem_patch34 
+69a2 6801423d fetch 2 ,mem_keyscan_ptr 
+69a3 1fe0fe01 increase 1 ,pdata 
+69a4 efe10000 ifetch 2 ,pdata 
+69a5 20207f9c branch callback_func 
+
+pwm_init:
+69a6 68108042 hfetch 1 ,core_clksel 
+69a7 9a21fe00 ior rega ,pdata 
+69a8 60108042 hstore 1 ,core_clksel 
+69a9 68110050 hfetch 2 ,core_clkoff 
+69aa 793ffe0d set0 clock_off_pwm ,pdata 
+69ab 60110050 hstore 2 ,core_clkoff 
+69ac 20000064 nop 100 
+69ad 20600000 rtn 
+
+pwm_out_set:
+69ae 68098a9c fetcht 3 ,mem_pdatatemp + 2 
+69af 58b71b00 setarg pwm_12mhz 
+69b0 9846fc00 idiv temp 
+69b1 20407f86 call wait_div_end 
+69b2 18078400 quotient temp 
+69b3 68008a9f fetch 1 ,mem_pdatatemp + 5 
+69b4 984ffe00 imul32 temp ,pdata 
+69b5 1fe6fc64 div pdata ,100 
+69b6 20407f86 call wait_div_end 
+69b7 1807a200 quotient rega 
+69b8 18427e00 copy temp ,pdata 
+69b9 9a262400 isub rega ,regb 
+69ba 68008a9b fetch 1 ,mem_pdatatemp + 1 
+69bb 204069be call pwm_duty_cycle_set 
+69bc 68008a9a fetch 1 ,mem_pdatatemp 
+69bd 202069d5 branch pwm_enable 
+
+pwm_duty_cycle_set:
+69be c00069c4 beq 0 ,pwm_pwm0_duty_set 
+69bf c000e9c6 beq 1 ,pwm_pwm1_duty_set 
+69c0 c00169c8 beq 2 ,pwm_pwm2_duty_set 
+69c1 c001e9ca beq 3 ,pwm_pwm3_duty_set 
+69c2 c00269cc beq 4 ,pwm_pwm4_duty_set 
+69c3 c002e9ce beq 5 ,pwm_pwm5_duty_set 
+
+pwm_pwm0_duty_set:
+69c4 d8a080a0 arg core_pwm_pcnt0 ,contw 
+69c5 202069d0 branch pwm_set_pncnt 
+
+pwm_pwm1_duty_set:
+69c6 d8a080a4 arg core_pwm_pcnt1 ,contw 
+69c7 202069d0 branch pwm_set_pncnt 
+
+pwm_pwm2_duty_set:
+69c8 d8a080a8 arg core_pwm_pcnt2 ,contw 
+69c9 202069d0 branch pwm_set_pncnt 
+
+pwm_pwm3_duty_set:
+69ca d8a08064 arg core_pwm_pcnt3 ,contw 
+69cb 202069d0 branch pwm_set_pncnt 
+
+pwm_pwm4_duty_set:
+69cc d8a08068 arg core_pwm_pcnt4 ,contw 
+69cd 202069d0 branch pwm_set_pncnt 
+
+pwm_pwm5_duty_set:
+69ce d8a0806c arg core_pwm_pcnt5 ,contw 
+69cf 202069d0 branch pwm_set_pncnt 
+
+pwm_set_pncnt:
+69d0 1a227e00 copy rega ,pdata 
+69d1 e0a10000 istore 2 ,contw 
+69d2 1a427e00 copy regb ,pdata 
+69d3 e0a10000 istore 2 ,contw 
+69d4 20600000 rtn 
+
+pwm_enable:
+69d5 78347c00 enable user 
+69d6 202069d8 branch pwm_gpio_set 
+
+pwm_disable:
+69d7 78547c00 disable user 
+
+pwm_gpio_set:
+69d8 c00269e3 beq 4 ,pwm_gpio4_set 
+69d9 c002e9e5 beq 5 ,pwm_gpio5_set 
+69da c00de9e7 beq 27 ,pwm_gpio27_set 
+69db c00e69e9 beq 28 ,pwm_gpio28_set 
+69dc c001e9eb beq 3 ,pwm_gpio3_set 
+69dd c00469ed beq 8 ,pwm_gpio8_set 
+69de c00a69ef beq 20 ,pwm_gpio20_set 
+69df c00ae9f1 beq 21 ,pwm_gpio21_set 
+69e0 c00b69f3 beq 22 ,pwm_gpio22_set 
+69e1 c00be9f5 beq 23 ,pwm_gpio23_set 
+69e2 20600000 rtn 
+
+pwm_gpio4_set:
+69e3 d8e00006 arg 6 ,queue 
+69e4 202069ff branch pwm_one_set_select 
+
+pwm_gpio5_set:
+69e5 d8e00007 arg 7 ,queue 
+69e6 202069ff branch pwm_one_set_select 
+
+pwm_gpio27_set:
+69e7 d8e00008 arg 8 ,queue 
+69e8 202069ff branch pwm_one_set_select 
+
+pwm_gpio28_set:
+69e9 d8e00009 arg 9 ,queue 
+69ea 202069ff branch pwm_one_set_select 
+
+pwm_gpio3_set:
+69eb d8e0000a arg 10 ,queue 
+69ec 202069ff branch pwm_one_set_select 
+
+pwm_gpio8_set:
+69ed d8e0000b arg 11 ,queue 
+69ee 202069ff branch pwm_one_set_select 
+
+pwm_gpio20_set:
+69ef d8e0000c arg 12 ,queue 
+69f0 20206a01 branch pwm_tw0_set_select 
+
+pwm_gpio21_set:
+69f1 d8e0000d arg 13 ,queue 
+69f2 20206a01 branch pwm_tw0_set_select 
+
+pwm_gpio22_set:
+69f3 d8e0000e arg 14 ,queue 
+69f4 20206a01 branch pwm_tw0_set_select 
+
+pwm_gpio23_set:
+69f5 d8e0000f arg 15 ,queue 
+69f6 20206a01 branch pwm_tw0_set_select 
+
+pwm_set_select:
+69f7 68110081 hfetch 2 ,core_gpio_sel1 
+69f8 f9347e00 qsetflag user ,pdata 
+69f9 60110081 hstore 2 ,core_gpio_sel1 
+69fa 1a220e00 copy rega ,queue 
+69fb 68108085 hfetch 1 ,core_gpio_key2 
+69fc f9347e00 qsetflag user ,pdata 
+69fd 60108085 hstore 1 ,core_gpio_key2 
+69fe 20600000 rtn 
+
+pwm_one_set_select:
+69ff 18e0a3fc add queue ,-4 ,rega 
+6a00 202069f7 branch pwm_set_select 
+
+pwm_tw0_set_select:
+6a01 18e0a3f6 add queue ,-10 ,rega 
+6a02 202069f7 branch pwm_set_select 
+
+rfcomm_init:
+6a03 20758000 rtn wake 
+6a04 70456700 jam 0 ,mem_rfcomm_send_more_pkt 
+6a05 7004ed03 jam bits9600 ,memremoterpnbitrate 
+6a06 7004ee03 jam databits8 ,memremoteprndatabits 
+6a07 7004f211 jam 0x11 ,memremoteprnxon 
+6a08 7004f313 jam 0x13 ,memremoteprnxoff 
+6a09 58000000 setarg 0 
+6a0a 600184ef store 3 ,memremoteprnstopbit 
+6a0b 6000c254 store 1 ,mem_spp_state 
+6a0c 70468100 jam 0 ,memui_reconnect_mode 
+
+rfcomm_init_spp:
+6a0d 47524034 bpatchx patch34_4 ,mem_patch34 
+6a0e 58000000 setarg 0 
+6a0f 6000c254 store 1 ,mem_spp_state 
+6a10 6000c564 store 1 ,mem_remote_spp_channel 
+6a11 6000c55d store 1 ,mem_pn_dlci 
+6a12 6800c56b fetch 1 ,mem_credit_flag 
+6a13 c000ea16 beq credit_enable ,rfcomm_init_spp_with_credit 
+6a14 70456950 jam 0x50 ,mem_credit_given 
+6a15 20600000 rtn 
+
+rfcomm_init_spp_with_credit:
+6a16 70456900 jam 0x00 ,mem_credit_given 
+6a17 20600000 rtn 
+
+set_cr_bit:
+6a18 18418402 or_into 0x02 ,temp 
+6a19 20600000 rtn 
+
+rfcomm_calculate_fcs_sabm:
+6a1a 18427e00 copy temp ,pdata 
+6a1b 1fedfe00 reverse pdata ,pdata 
+6a1c 6000c562 store 1 ,memfcstemp3 
+6a1d 18007e3f force ini_tx_sabm ,pdata 
+6a1e 1fedfe00 reverse pdata ,pdata 
+6a1f 6000c561 store 1 ,memfcstemp2 
+6a20 18007e01 force 0x01 ,pdata 
+6a21 1fedfe00 reverse pdata ,pdata 
+6a22 6000c560 store 1 ,memfcstemp1 
+6a23 20406a50 call caculate_fcs 
+6a24 18427e00 copy temp ,pdata 
+6a25 20600000 rtn 
+
+rfcomm_calculate_fcs_ua:
+6a26 1fedfe00 reverse pdata ,pdata 
+6a27 6000c562 store 1 ,memfcstemp3 
+6a28 18007e73 force rsp_tx_ua ,pdata 
+6a29 1fedfe00 reverse pdata ,pdata 
+6a2a 6000c561 store 1 ,memfcstemp2 
+6a2b 18007e01 force 0x01 ,pdata 
+6a2c 1fedfe00 reverse pdata ,pdata 
+6a2d 6000c560 store 1 ,memfcstemp1 
+6a2e 20206a50 branch caculate_fcs 
+
+rfcomm_calculate_fcs_dlci0:
+6a2f 6800c563 fetch 1 ,mem_rfcomm_initiator 
+6a30 203a6a33 branch rfcomm_calculate_fcs_dlci0_res ,blank 
+6a31 58000070 setarg 0x70 
+6a32 20600000 rtn 
+
+rfcomm_calculate_fcs_dlci0_res:
+6a33 580000aa setarg 0xaa 
+6a34 20600000 rtn 
+
+rfcomm_save_fcs_uih:
+6a35 1fedfe00 reverse pdata ,pdata 
+6a36 6000c562 store 1 ,memfcstemp3 
+6a37 18007eef force rsp_rx_uih ,pdata 
+6a38 20406a44 call caculate_uihdata_fcs 
+6a39 680904f7 fetcht 2 ,mem_contw_temp 
+6a3a 18420a00 copy temp ,contw 
+6a3b e0a08000 istore 1 ,contw 
+6a3c 18a20400 copy contw ,temp 
+6a3d 600904f7 storet 2 ,mem_contw_temp 
+6a3e 18007eff force rsp_rx_uih_wdata ,pdata 
+6a3f 20406a44 call caculate_uihdata_fcs 
+6a40 680904f7 fetcht 2 ,mem_contw_temp 
+6a41 18420a00 copy temp ,contw 
+6a42 e0a08000 istore 1 ,contw 
+6a43 20600000 rtn 
+
+caculate_uihdata_fcs:
+6a44 1fedfe00 reverse pdata ,pdata 
+6a45 6000c561 store 1 ,memfcstemp2 
+6a46 68014561 fetch 2 ,memfcstemp2 
+6a47 1fed7e00 lshift8 pdata ,pdata 
+6a48 600184f4 store 3 ,mem_mod2div_temp 
+6a49 da200107 arg 0x107 ,rega 
+6a4a da40000f arg 0xf ,regb 
+6a4b 20406a5d call mod2div 
+6a4c 1fe2fed7 xor_into 0xd7 ,pdata 
+6a4d 1fe47e00 invert pdata ,pdata 
+6a4e 1fedfe00 reverse pdata ,pdata 
+6a4f 20600000 rtn 
+
+caculate_fcs:
+6a50 6801c560 fetch 3 ,memfcstemp1 
+6a51 600184f4 store 3 ,mem_mod2div_temp 
+6a52 da200107 arg 0x107 ,rega 
+6a53 da40000f arg 0xf ,regb 
+6a54 20406a5d call mod2div 
+6a55 1fed7e00 lshift8 pdata ,pdata 
+6a56 da400007 arg 0x7 ,regb 
+6a57 20406a5d call mod2div 
+6a58 1fe2fe2b xor_into 0x2b ,pdata 
+6a59 1fe47e00 invert pdata ,pdata 
+6a5a 1fedfe00 reverse pdata ,pdata 
+6a5b 1fe20400 copy pdata ,temp 
+6a5c 20600000 rtn 
+
+mod2div:
+6a5d da600000 arg 0 ,regc 
+6a5e 1a427200 copy regb ,loopcnt 
+6a5f 20407e71 call right_shift_n 
+6a60 1fe20400 icopy temp 
+
+mod2div_loop:
+6a61 18427e00 copy temp ,pdata 
+6a62 1a63a600 lshift regc ,regc 
+6a63 c3046a66 bbit0 8 ,mod2div_not_enough_reduction 
+6a64 9a228400 ixor rega ,temp 
+6a65 1a60a601 increase 1 ,regc 
+
+mod2div_not_enough_reduction:
+6a66 18438400 lshift temp ,temp 
+6a67 680184f4 fetch 3 ,mem_mod2div_temp 
+6a68 1a40a5ff increase -1 ,regb 
+6a69 2a41feff compare 0xff ,regb ,0xff 
+6a6a 2020ea70 branch mod2div_end ,true 
+6a6b 1a427200 copy regb ,loopcnt 
+6a6c 20407e71 call right_shift_n 
+6a6d 2feffe00 isolate1 0 ,pdata 
+6a6e 79208400 setflag true ,0 ,temp 
+6a6f 20206a61 branch mod2div_loop 
+
+mod2div_end:
+6a70 18437e00 rshift temp ,pdata 
+6a71 20600000 rtn 
+
+get_rfcomm_snd_adss:
+6a72 6808c55d fetcht 1 ,mem_pn_dlci 
+
+dlci_to_address_cmd:
+6a73 184b8400 lshift2 temp ,temp 
+6a74 79200400 set1 rfcomm_address_ext_len ,temp 
+6a75 6800c563 fetch 1 ,mem_rfcomm_initiator 
+6a76 245a6a18 ncall set_cr_bit ,blank 
+6a77 6008850d storet 1 ,mem_rfcomm_send_adss 
+6a78 20600000 rtn 
+
+channel_to_dlci:
+6a79 18438400 lshift temp ,temp 
+6a7a 6800c563 fetch 1 ,mem_rfcomm_initiator 
+6a7b 793a0400 setflag blank ,0 ,temp 
+6a7c 20600000 rtn 
+
+rfcomm_rx_process_dlci0_sabm:
+6a7d 680884fc fetcht 1 ,mem_current_channel 
+6a7e 7004fed7 jam 0xd7 ,mem_current_fcs 
+6a7f 20406bb6 call rfcomm_send_ua 
+6a80 6800c251 fetch 1 ,mem_rfcomm_state 
+6a81 79207e06 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+6a82 79207e07 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+6a83 6000c251 store 1 ,mem_rfcomm_state 
+6a84 70456300 jam 0 ,mem_rfcomm_initiator 
+6a85 20206b97 branch rfcomm_rx_process_end 
+
+rfcomm_rx_process_dlci0_ua:
+6a86 6800c251 fetch 1 ,mem_rfcomm_state 
+6a87 79207e07 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+6a88 6000c251 store 1 ,mem_rfcomm_state 
+6a89 20206b97 branch rfcomm_rx_process_end 
+
+rfcomm_rx_process:
+6a8a 4752c034 bpatchx patch34_5 ,mem_patch34 
+6a8b 6800c681 fetch 1 ,memui_reconnect_mode 
+6a8c c0006a8e beq no_reconnection ,rfcomm_rx_process_remote_page 
+6a8d 20206b4c branch rfcomm_rx_process_reconn 
+
+rfcomm_rx_process_remote_page:
+6a8e 68010264 fetch 2 ,mem_l2cap_payload_ptr 
+6a8f 1fe20c00 copy pdata ,contr 
+6a90 20406ab8 call get_rfcomm_head_struct 
+6a91 680084fc fetch 1 ,mem_current_channel 
+6a92 c0006a94 beq 0 ,parse_dlci0_rp 
+6a93 20206b18 branch parse_uih_rp 
+
+parse_dlci0_rp:
+6a94 47534034 bpatchx patch34_6 ,mem_patch34 
+6a95 680084fd fetch 1 ,mem_current_frame_type 
+6a96 c01fea7d beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+6a97 c039ea86 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+6a98 c077ea9b beq rfcomm_frame_type_uih ,parse_dlci0_rp_uih 
+6a99 c029eb44 beq rfcomm_frame_type_disconn ,parse_uih_rp_spp_disconn_send_event 
+6a9a 20600000 rtn 
+
+parse_dlci0_rp_uih:
+6a9b 68010501 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+6a9c 1fe20c00 copy pdata ,contr 
+6a9d 20406ac3 call get_rfcomm_uih_head_struct 
+6a9e 68008503 fetch 1 ,mem_uih_cmd_type 
+6a9f c020eaa5 beq uih_param_neg_cmd ,parse_dlci0_rp_uih_pn_cmd 
+6aa0 c0206aad beq uih_param_neg_res ,parse_dlci0_rp_uih_pn_res 
+6aa1 c038eae6 beq uih_modem_status_cmd ,parse_dlci0_rp_uih_ms_cmd 
+6aa2 c0386af2 beq uih_modem_status_res ,parse_dlci0_rp_uih_ms_res 
+6aa3 c024eafd beq uih_param_cmd_remove_port ,parse_dlci0_rp_uih_cmd_port 
+6aa4 20206b97 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_pn_cmd:
+6aa5 20406aaf call parse_dlci0_rp_uih_pn_res_common 
+6aa6 20206aa7 branch parse_dlci0_rp_uih_pn_cmd_spp 
+
+parse_dlci0_rp_uih_pn_cmd_spp:
+6aa7 6800c254 fetch 1 ,mem_spp_state 
+6aa8 79207e00 set1 rfcomm_channel_state_pn_cmd ,pdata 
+6aa9 79207e01 set1 rfcomm_channel_state_pn_res ,pdata 
+6aaa 6000c254 store 1 ,mem_spp_state 
+6aab 20406be0 call rfcomm_send_param_neg_res 
+6aac 20206b97 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_pn_res:
+6aad 20406aaf call parse_dlci0_rp_uih_pn_res_common 
+6aae 20206b97 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_pn_res_common:
+6aaf 20406acb call get_param_payload_ptr 
+6ab0 20206ad7 branch get_rfcomm_prarmer_negotiation 
+
+get_rfcomm_param_modem_status:
+6ab1 20406acb call get_param_payload_ptr 
+6ab2 e8c08000 ifetch 1 ,contr 
+6ab3 1fe97e00 rshift3 pdata ,pdata 
+6ab4 6000c56a store 1 ,mem_ms_channel 
+6ab5 e8c08000 ifetch 1 ,contr 
+6ab6 60008508 store 1 ,mem_ms_param 
+6ab7 20600000 rtn 
+
+get_rfcomm_head_struct:
+6ab8 e8c08000 ifetch 1 ,contr 
+6ab9 600084fb store 1 ,mem_current_adss 
+6aba 1fe97e00 rshift3 pdata ,pdata 
+6abb 600084fc store 1 ,mem_current_channel 
+6abc e8c08000 ifetch 1 ,contr 
+6abd 600084fd store 1 ,mem_current_frame_type 
+
+get_rfcomm_current_length:
+6abe 20406ace call get_rfcomm_length_common 
+6abf 600904ff storet 2 ,mem_current_length 
+6ac0 18c27e00 copy contr ,pdata 
+6ac1 60010501 store 2 ,mem_rfcomm_uih_payload_ptr 
+6ac2 20600000 rtn 
+
+get_rfcomm_uih_head_struct:
+6ac3 e8c08000 ifetch 1 ,contr 
+6ac4 1fe37e00 rshift pdata ,pdata 
+6ac5 60008503 store 1 ,mem_uih_cmd_type 
+6ac6 20406ace call get_rfcomm_length_common 
+6ac7 60090504 storet 2 ,mem_uih_length 
+6ac8 18c27e00 copy contr ,pdata 
+6ac9 60010506 store 2 ,mem_param_payload_ptr 
+6aca 20600000 rtn 
+
+get_param_payload_ptr:
+6acb 68010506 fetch 2 ,mem_param_payload_ptr 
+6acc 1fe20c00 copy pdata ,contr 
+6acd 20600000 rtn 
+
+get_rfcomm_length_common:
+6ace e8c08000 ifetch 1 ,contr 
+6acf 1fe20400 copy pdata ,temp 
+6ad0 18430400 rshift temp ,temp 
+6ad1 c3800000 rtnbit1 0 
+6ad2 e8c08000 ifetch 1 ,contr 
+6ad3 1fe9fe00 lshift3 pdata ,pdata 
+6ad4 1ff27e00 lshift4 pdata ,pdata 
+6ad5 98408400 iadd temp ,temp 
+6ad6 20600000 rtn 
+
+get_rfcomm_prarmer_negotiation:
+6ad7 e8c08000 ifetch 1 ,contr 
+6ad8 6000c55d store 1 ,mem_pn_dlci 
+6ad9 e8c08000 ifetch 1 ,contr 
+6ada 60008509 store 1 ,mem_pn_credit_flow_type_info 
+6adb e8c08000 ifetch 1 ,contr 
+6adc 6000850a store 1 ,mem_pn_priority 
+6add e8c08000 ifetch 1 ,contr 
+6ade 6000850b store 1 ,mem_pn_acknowledg_timer 
+6adf e8c10000 ifetch 2 ,contr 
+6ae0 6001455e store 2 ,mem_pn_max_frame_size 
+6ae1 e8c08000 ifetch 1 ,contr 
+6ae2 6000850c store 1 ,mem_pn_max_retrans 
+6ae3 e8c08000 ifetch 1 ,contr 
+6ae4 6000c568 store 1 ,mem_remote_credits 
+6ae5 20600000 rtn 
+
+parse_dlci0_rp_uih_ms_cmd:
+6ae6 20406ab1 call get_rfcomm_param_modem_status 
+6ae7 20206ae8 branch parse_dlci0_rp_uih_ms_cmd_spp 
+
+parse_dlci0_rp_uih_ms_cmd_spp:
+6ae8 6800c254 fetch 1 ,mem_spp_state 
+6ae9 79207e05 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+6aea 79207e06 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+6aeb 6000c254 store 1 ,mem_spp_state 
+6aec 6808c55d fetcht 1 ,mem_pn_dlci 
+6aed 184b8400 lshift2 temp ,temp 
+6aee 18418403 or_into 3 ,temp 
+6aef 20406c11 call rfcomm_send_modem_status_res 
+6af0 70456703 jam more_pkt_msc_cmd_spp ,mem_rfcomm_send_more_pkt 
+6af1 20206b97 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_ms_res:
+6af2 700a9908 jam bt_evt_spp_connected ,mem_fifo_temp 
+6af3 20407d86 call ui_ipc_send_event 
+6af4 20406ab1 call get_rfcomm_param_modem_status 
+6af5 6800c56a fetch 1 ,mem_ms_channel 
+6af6 1fe67c01 sub pdata ,1 ,null 
+6af7 2022eaf9 branch parse_dlci0_rp_uih_ms_res_spp ,zero 
+6af8 20202a8c branch assert 
+
+parse_dlci0_rp_uih_ms_res_spp:
+6af9 6800c254 fetch 1 ,mem_spp_state 
+6afa 79207e07 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+6afb 6000c254 store 1 ,mem_spp_state 
+6afc 20206b97 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_cmd_port:
+6afd 20406acb call get_param_payload_ptr 
+6afe e8c08000 ifetch 1 ,contr 
+6aff 60008ac2 store 1 ,mem_rpn_dlci 
+6b00 204052d2 call l2cap_malloc_rfcomm_channel 
+6b01 204052e0 call l2cap_get_rfcomm_tx_buff 
+6b02 5800000e setarg 0x000e 
+6b03 e0a10000 istore 2 ,contw 
+6b04 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+6b05 e0a10000 istore 2 ,contw 
+6b06 6800c563 fetch 1 ,mem_rfcomm_initiator 
+6b07 1fe3fe00 lshift pdata ,pdata 
+6b08 79207e00 set1 0 ,pdata 
+6b09 e0a08000 istore 1 ,contw 
+6b0a 4753c034 bpatchx patch34_7 ,mem_patch34 
+6b0b 580015ef setarg 0x15ef 
+6b0c e0a10000 istore 2 ,contw 
+6b0d 58001191 setarg 0x1191 
+6b0e e0a10000 istore 2 ,contw 
+6b0f 68008ac2 fetch 1 ,mem_rpn_dlci 
+6b10 e0a08000 istore 1 ,contw 
+6b11 58000007 setarg 0x000007 
+6b12 e0a28000 istore 5 ,contw 
+6b13 58000001 setarg 0x01 
+6b14 e0a10000 istore 2 ,contw 
+6b15 20406a2f call rfcomm_calculate_fcs_dlci0 
+6b16 e0a08000 istore 1 ,contw 
+6b17 20600000 rtn 
+
+parse_uih_rp:
+6b18 20206b19 branch parse_uih_rp_spp 
+
+parse_uih_rp_spp:
+6b19 47544035 bpatchx patch35_0 ,mem_patch35 
+6b1a 680084fd fetch 1 ,mem_current_frame_type 
+6b1b c039eb21 beq rfcomm_frame_type_ua ,parse_uih_rp_spp_ua 
+6b1c c01feb25 beq rfcomm_frame_type_sabm ,parse_uih_rp_spp_sabm 
+6b1d c077eb3f beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+6b1e c07feb37 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+6b1f c029eb46 beq rfcomm_frame_type_disconn ,parse_uih_rp_spp_disconn 
+6b20 20600000 rtn 
+
+parse_uih_rp_spp_ua:
+6b21 6800c254 fetch 1 ,mem_spp_state 
+6b22 79207e03 set1 rfcomm_channel_state_ua ,pdata 
+6b23 6000c254 store 1 ,mem_spp_state 
+6b24 20206b97 branch rfcomm_rx_process_end 
+
+parse_uih_rp_spp_sabm:
+6b25 6800c254 fetch 1 ,mem_spp_state 
+6b26 79207e03 set1 rfcomm_channel_state_ua ,pdata 
+6b27 79207e02 set1 rfcomm_channel_state_sabm ,pdata 
+6b28 6000c254 store 1 ,mem_spp_state 
+6b29 680084fb fetch 1 ,mem_current_adss 
+6b2a 20406a26 call rfcomm_calculate_fcs_ua 
+6b2b 600084fe store 1 ,mem_current_fcs 
+6b2c 20406bb6 call rfcomm_send_ua 
+6b2d 680084fb fetch 1 ,mem_current_adss 
+6b2e 1feb7e00 rshift2 pdata ,pdata 
+6b2f 6000c55d store 1 ,mem_pn_dlci 
+6b30 1febfe00 lshift2 pdata ,pdata 
+6b31 793ffe01 set0 rfcomm_address_cr ,pdata 
+6b32 79207e00 set1 rfcomm_address_ext_len ,pdata 
+6b33 d8404565 arg mem_hiufcs_spp ,temp 
+6b34 600904f7 storet 2 ,mem_contw_temp 
+6b35 20406a35 call rfcomm_save_fcs_uih 
+6b36 20206b97 branch rfcomm_rx_process_end 
+
+parse_uih_spp_uih_credits:
+6b37 68010501 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+6b38 1fe20c00 copy pdata ,contr 
+6b39 1fe0fe01 increase 1 ,pdata 
+6b3a 60010501 store 2 ,mem_rfcomm_uih_payload_ptr 
+6b3b e8c08000 ifetch 1 ,contr 
+6b3c 6808c568 fetcht 1 ,mem_remote_credits 
+6b3d 9840fe00 iadd temp ,pdata 
+6b3e 6000c568 store 1 ,mem_remote_credits 
+
+parse_uih_spp_uih:
+6b3f 20406c42 call rfcomm_increase_credit_given 
+
+parse_uih_spp_uih_cont:
+6b40 20406a72 call get_rfcomm_snd_adss 
+6b41 20406c28 call rfcomm_send_uih_without_payload 
+6b42 20406c4b call spp_process_rx_data 
+6b43 20206b97 branch rfcomm_rx_process_end 
+
+parse_uih_rp_spp_disconn_send_event:
+6b44 700a9909 jam bt_evt_spp_disconnected ,mem_fifo_temp 
+6b45 20407d86 call ui_ipc_send_event 
+
+parse_uih_rp_spp_disconn:
+6b46 20406a0d call rfcomm_init_spp 
+6b47 680084fb fetch 1 ,mem_current_adss 
+6b48 20406a26 call rfcomm_calculate_fcs_ua 
+6b49 600084fe store 1 ,mem_current_fcs 
+6b4a 20406bb6 call rfcomm_send_ua 
+6b4b 20206b97 branch rfcomm_rx_process_end 
+
+rfcomm_rx_process_reconn:
+6b4c 68010264 fetch 2 ,mem_l2cap_payload_ptr 
+6b4d 1fe20c00 copy pdata ,contr 
+6b4e 20406ab8 call get_rfcomm_head_struct 
+6b4f 680084fc fetch 1 ,mem_current_channel 
+6b50 c0006b52 beq 0 ,parse_dlci0_reconn 
+6b51 20206b86 branch parse_uih_reconn 
+
+parse_dlci0_reconn:
+6b52 4754c035 bpatchx patch35_1 ,mem_patch35 
+6b53 680084fd fetch 1 ,mem_current_frame_type 
+6b54 c01fea7d beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+6b55 c039ea86 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+6b56 c077eb58 beq rfcomm_frame_type_uih ,parse_dlci0_reconn_uih 
+6b57 20206b97 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih:
+6b58 68010501 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+6b59 1fe20c00 copy pdata ,contr 
+6b5a 20406ac3 call get_rfcomm_uih_head_struct 
+6b5b 68008503 fetch 1 ,mem_uih_cmd_type 
+6b5c c020eb61 beq uih_param_neg_cmd ,parse_dlci0_reconn_uih_pn_cmd 
+6b5d c0206b61 beq uih_param_neg_res ,parse_dlci0_reconn_uih_pn_cmd 
+6b5e c038eb6c beq uih_modem_status_cmd ,parse_dlci0_reconn_uih_ms_cmd 
+6b5f c0386b7c beq uih_modem_status_res ,parse_dlci0_reconn_uih_ms_res 
+6b60 20206b97 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih_pn_cmd:
+6b61 20406aaf call parse_dlci0_rp_uih_pn_res_common 
+6b62 6800c55d fetch 1 ,mem_pn_dlci 
+6b63 1fe37e00 rshift pdata ,pdata 
+6b64 6808c564 fetcht 1 ,mem_remote_spp_channel 
+6b65 98467c00 isub temp ,null 
+6b66 2022eb68 branch parse_dlci0_reconn_uih_pn_cmd_spp ,zero 
+6b67 20202a8c branch assert 
+
+parse_dlci0_reconn_uih_pn_cmd_spp:
+6b68 6800c254 fetch 1 ,mem_spp_state 
+6b69 79207e01 set1 rfcomm_channel_state_pn_res ,pdata 
+6b6a 6000c254 store 1 ,mem_spp_state 
+6b6b 20206b97 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih_ms_cmd:
+6b6c 20406ab1 call get_rfcomm_param_modem_status 
+6b6d 6800c56a fetch 1 ,mem_ms_channel 
+6b6e 6808c564 fetcht 1 ,mem_remote_spp_channel 
+6b6f 98467c00 isub temp ,null 
+6b70 2022eb73 branch parse_dlci0_reconn_uih_ms_cmd_spp ,zero 
+6b71 20202a8c branch assert 
+6b72 20206b97 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih_ms_cmd_spp:
+6b73 6800c254 fetch 1 ,mem_spp_state 
+6b74 79207e05 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+6b75 79207e06 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+6b76 6000c254 store 1 ,mem_spp_state 
+6b77 6808c55d fetcht 1 ,mem_pn_dlci 
+6b78 184b8400 lshift2 temp ,temp 
+6b79 18418403 or_into 3 ,temp 
+6b7a 20406c11 call rfcomm_send_modem_status_res 
+6b7b 20206b97 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih_ms_res:
+6b7c 20406ab1 call get_rfcomm_param_modem_status 
+6b7d 6800c56a fetch 1 ,mem_ms_channel 
+6b7e 6808c564 fetcht 1 ,mem_remote_spp_channel 
+6b7f 98467c00 isub temp ,null 
+6b80 2022eb82 branch parse_dlci0_reconn_uih_ms_res_spp ,zero 
+6b81 20202a8c branch assert 
+
+parse_dlci0_reconn_uih_ms_res_spp:
+6b82 6800c254 fetch 1 ,mem_spp_state 
+6b83 79207e07 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+6b84 6000c254 store 1 ,mem_spp_state 
+6b85 20206b97 branch rfcomm_rx_process_end 
+
+parse_uih_reconn:
+6b86 680084fc fetch 1 ,mem_current_channel 
+6b87 6808c564 fetcht 1 ,mem_remote_spp_channel 
+6b88 98467c00 isub temp ,null 
+6b89 2022eb8c branch parse_uih_reconn_spp ,zero 
+6b8a 20202a8c branch assert 
+6b8b 20206b97 branch rfcomm_rx_process_end 
+
+parse_uih_reconn_spp:
+6b8c 680084fd fetch 1 ,mem_current_frame_type 
+6b8d c039eb91 beq rfcomm_frame_type_ua ,parse_uih_reconn_spp_ua 
+6b8e c077eb3f beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+6b8f c07feb37 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+6b90 c029eb96 beq rfcomm_frame_type_disconn ,parse_uih_reconn_spp_disconn 
+
+parse_uih_reconn_spp_ua:
+6b91 6800c254 fetch 1 ,mem_spp_state 
+6b92 79207e03 set1 rfcomm_channel_state_ua ,pdata 
+6b93 6000c254 store 1 ,mem_spp_state 
+6b94 20206b97 branch rfcomm_rx_process_end 
+
+parse_uih_reconn_spp_sabm:
+6b95 20206b95 branch parse_uih_reconn_spp_sabm 
+
+parse_uih_reconn_spp_disconn:
+6b96 20206b46 branch parse_uih_rp_spp_disconn 
+
+rfcomm_rx_process_end:
+6b97 20600000 rtn 
+
+rfcomm_send_more_pkt:
+6b98 6800c567 fetch 1 ,mem_rfcomm_send_more_pkt 
+6b99 207a0000 rtn blank 
+6b9a c001eb9c beq more_pkt_msc_cmd_spp ,rfcomm_send_more_pkt_msc_cmd_spp 
+6b9b 20202a8c branch assert 
+
+rfcomm_send_more_pkt_msc_cmd_spp:
+6b9c 70456700 jam 0 ,mem_rfcomm_send_more_pkt 
+6b9d 204052d2 call l2cap_malloc_rfcomm_channel 
+6b9e d8400001 arg spp_slave_channel ,temp 
+6b9f 6808c55d fetcht 1 ,mem_pn_dlci 
+6ba0 184b8400 lshift2 temp ,temp 
+
+rfcomm_send_more_pkt_msc_cmd_spp0:
+6ba1 18418403 or_into 0x03 ,temp 
+6ba2 da2000aa arg 0xaa ,rega 
+6ba3 20406bfc call rfcomm_send_modem_status_cmd 
+6ba4 204052e0 call l2cap_get_rfcomm_tx_buff 
+6ba5 18a20c00 copy contw ,contr 
+6ba6 e8c10000 ifetch 2 ,contr 
+6ba7 203a2a8c branch assert ,blank 
+6ba8 20600000 rtn 
+
+rfcomm_send_sabm:
+6ba9 204052e0 call l2cap_get_rfcomm_tx_buff 
+6baa 58000004 setarg 0x0004 
+6bab e0a10000 istore 2 ,contw 
+6bac 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+6bad e0a10000 istore 2 ,contw 
+6bae 680084fb fetch 1 ,mem_current_adss 
+6baf e0a08000 istore 1 ,contw 
+6bb0 47554035 bpatchx patch35_2 ,mem_patch35 
+6bb1 5800013f setarg 0x013f 
+6bb2 e0a10000 istore 2 ,contw 
+6bb3 680084fe fetch 1 ,mem_current_fcs 
+6bb4 e0a08000 istore 1 ,contw 
+6bb5 20600000 rtn 
+
+rfcomm_send_ua:
+6bb6 204052d2 call l2cap_malloc_rfcomm_channel 
+6bb7 204052e0 call l2cap_get_rfcomm_tx_buff 
+6bb8 58000004 setarg 0x0004 
+6bb9 e0a10000 istore 2 ,contw 
+6bba 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+6bbb e0a10000 istore 2 ,contw 
+6bbc 680084fb fetch 1 ,mem_current_adss 
+6bbd e0a08000 istore 1 ,contw 
+6bbe 4755c035 bpatchx patch35_3 ,mem_patch35 
+6bbf 58000173 setarg 0x0173 
+6bc0 e0a10000 istore 2 ,contw 
+6bc1 680084fe fetch 1 ,mem_current_fcs 
+6bc2 e0a08000 istore 1 ,contw 
+6bc3 20600000 rtn 
+
+rfcomm_send_param_neg_cmd:
+6bc4 204052e0 call l2cap_get_rfcomm_tx_buff 
+6bc5 5800000e setarg 0x000e 
+6bc6 e0a10000 istore 2 ,contw 
+6bc7 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+6bc8 e0a10000 istore 2 ,contw 
+6bc9 6800c563 fetch 1 ,mem_rfcomm_initiator 
+6bca 1fe3fe00 lshift pdata ,pdata 
+6bcb 79207e00 set1 0 ,pdata 
+6bcc e0a08000 istore 1 ,contw 
+6bcd 47564035 bpatchx patch35_4 ,mem_patch35 
+6bce 580015ef setarg 0x15ef 
+6bcf e0a10000 istore 2 ,contw 
+6bd0 58001183 setarg 0x1183 
+6bd1 e0a10000 istore 2 ,contw 
+6bd2 18427e00 copy temp ,pdata 
+6bd3 e0a08000 istore 1 ,contw 
+6bd4 580000f0 setarg 0x0000f0 
+6bd5 e0a18000 istore 3 ,contw 
+6bd6 5800007f setarg rfcomm_max_frame_size 
+6bd7 e0a10000 istore 2 ,contw 
+6bd8 58000000 setarg 0 
+6bd9 e0a08000 istore 1 ,contw 
+6bda 58000001 setarg 0x01 
+6bdb e0a08000 istore 1 ,contw 
+6bdc 20406a2f call rfcomm_calculate_fcs_dlci0 
+6bdd e0a08000 istore 1 ,contw 
+6bde 70456910 jam 0x10 ,mem_credit_given 
+6bdf 20600000 rtn 
+
+rfcomm_send_param_neg_res:
+6be0 204052d2 call l2cap_malloc_rfcomm_channel 
+6be1 204052e0 call l2cap_get_rfcomm_tx_buff 
+6be2 5800000e setarg 0x000e 
+6be3 e0a10000 istore 2 ,contw 
+6be4 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+6be5 e0a10000 istore 2 ,contw 
+6be6 6800c563 fetch 1 ,mem_rfcomm_initiator 
+6be7 1fe3fe00 lshift pdata ,pdata 
+6be8 79207e00 set1 0 ,pdata 
+6be9 e0a08000 istore 1 ,contw 
+6bea 4756c035 bpatchx patch35_5 ,mem_patch35 
+6beb 580015ef setarg 0x15ef 
+6bec e0a10000 istore 2 ,contw 
+6bed 58001181 setarg 0x1181 
+6bee e0a10000 istore 2 ,contw 
+6bef 6800c55d fetch 1 ,mem_pn_dlci 
+6bf0 e0a08000 istore 1 ,contw 
+6bf1 580000e0 setarg 0x0000e0 
+6bf2 e0a18000 istore 3 ,contw 
+6bf3 6801456c fetch 2 ,mem_rfcomm_max_frame_size 
+6bf4 e0a10000 istore 2 ,contw 
+6bf5 58000000 setarg 0x00 
+6bf6 e0a08000 istore 1 ,contw 
+6bf7 6800c56e fetch 1 ,mem_rfcomm_credit_init_data 
+6bf8 e0a08000 istore 1 ,contw 
+6bf9 20406a2f call rfcomm_calculate_fcs_dlci0 
+6bfa e0a08000 istore 1 ,contw 
+6bfb 20600000 rtn 
+
+rfcomm_send_modem_status_cmd:
+6bfc 204052e0 call l2cap_get_rfcomm_tx_buff 
+6bfd 58000008 setarg 0x0008 
+6bfe e0a10000 istore 2 ,contw 
+6bff 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+6c00 e0a10000 istore 2 ,contw 
+6c01 6800c563 fetch 1 ,mem_rfcomm_initiator 
+6c02 1fe3fe00 lshift pdata ,pdata 
+6c03 79207e00 set1 0 ,pdata 
+6c04 e0a08000 istore 1 ,contw 
+6c05 47574035 bpatchx patch35_6 ,mem_patch35 
+6c06 580009ef setarg 0x09ef 
+6c07 e0a10000 istore 2 ,contw 
+6c08 580005e3 setarg 0x05e3 
+6c09 e0a10000 istore 2 ,contw 
+6c0a 18427e00 copy temp ,pdata 
+6c0b e0a08000 istore 1 ,contw 
+6c0c 5800008d setarg 0x8d 
+6c0d e0a08000 istore 1 ,contw 
+6c0e 20406a2f call rfcomm_calculate_fcs_dlci0 
+6c0f e0a08000 istore 1 ,contw 
+6c10 20600000 rtn 
+
+rfcomm_send_modem_status_res:
+6c11 204052d2 call l2cap_malloc_rfcomm_channel 
+6c12 204052e0 call l2cap_get_rfcomm_tx_buff 
+6c13 58000008 setarg 0x0008 
+6c14 e0a10000 istore 2 ,contw 
+6c15 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+6c16 e0a10000 istore 2 ,contw 
+6c17 18421600 copy temp ,timeup 
+6c18 6800c563 fetch 1 ,mem_rfcomm_initiator 
+6c19 1fe3fe00 lshift pdata ,pdata 
+6c1a 79207e00 set1 0 ,pdata 
+6c1b e0a08000 istore 1 ,contw 
+6c1c 4757c035 bpatchx patch35_7 ,mem_patch35 
+6c1d 580009ef setarg 0x09ef 
+6c1e e0a10000 istore 2 ,contw 
+6c1f 580005e1 setarg 0x05e1 
+6c20 e0a10000 istore 2 ,contw 
+6c21 19627e00 copy timeup ,pdata 
+6c22 e0a08000 istore 1 ,contw 
+6c23 5800008d setarg 0x8d 
+6c24 e0a08000 istore 1 ,contw 
+6c25 20406a2f call rfcomm_calculate_fcs_dlci0 
+6c26 e0a08000 istore 1 ,contw 
+6c27 20600000 rtn 
+
+rfcomm_send_uih_without_payload:
+6c28 47584036 bpatchx patch36_0 ,mem_patch36 
+6c29 6800c569 fetch 1 ,mem_credit_given 
+6c2a 207a0000 rtn blank 
+6c2b 68110112 hfetch 2 ,core_uart_rxitems 
+6c2c 247a0000 nrtn blank 
+6c2d 1a227e00 copy rega ,pdata 
+6c2e 60008a9b store 1 ,mem_pdatatemp + 1 
+6c2f 60088a9a storet 1 ,mem_pdatatemp 
+6c30 2040526e call l2cap_malloc_is_fifo_full 
+6c31 247a0000 nrtn blank 
+6c32 204052d2 call l2cap_malloc_rfcomm_channel 
+6c33 204052e0 call l2cap_get_rfcomm_tx_buff 
+6c34 58000005 setarg 0x05 
+6c35 e0a10000 istore 2 ,contw 
+6c36 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+6c37 e0a10000 istore 2 ,contw 
+6c38 6800850d fetch 1 ,mem_rfcomm_send_adss 
+6c39 e0a08000 istore 1 ,contw 
+6c3a 580001ff setarg 0x01ff 
+6c3b e0a10000 istore 2 ,contw 
+6c3c 6800c569 fetch 1 ,mem_credit_given 
+6c3d e0a08000 istore 1 ,contw 
+6c3e 6800c566 fetch 1 ,mem_hiufcs_spp_wcredits 
+6c3f e0a08000 istore 1 ,contw 
+6c40 70456900 jam 0 ,mem_credit_given 
+6c41 20600000 rtn 
+
+rfcomm_increase_credit_given:
+6c42 4758c036 bpatchx patch36_1 ,mem_patch36 
+6c43 6800c56b fetch 1 ,mem_credit_flag 
+6c44 c1008000 rtneq credit_enable 
+6c45 680104ff fetch 2 ,mem_current_length 
+6c46 207a0000 rtn blank 
+6c47 6800c569 fetch 1 ,mem_credit_given 
+6c48 1fe0fe01 increase 1 ,pdata 
+6c49 6000c569 store 1 ,mem_credit_given 
+6c4a 20600000 rtn 
+
+spp_process_rx_data:
+6c4b 6801456f fetch 2 ,mem_cb_receive_spp_data 
+6c4c 20207f9c branch callback_func 
+
+spp_tx_rfcomm_packet:
+6c4d 47594036 bpatchx patch36_2 ,mem_patch36 
+6c4e 6800c568 fetch 1 ,mem_remote_credits 
+6c4f 207a0000 rtn blank 
+6c50 1fe0ffff increase -1 ,pdata 
+6c51 6000c568 store 1 ,mem_remote_credits 
+6c52 6801455e fetch 2 ,mem_pn_max_frame_size 
+6c53 6809469f fetcht 2 ,mem_current_packet_length 
+6c54 98467c00 isub temp ,null 
+6c55 20216c57 branch ssp_tx_rfcomm_from_uart ,positive 
+6c56 6001469f store 2 ,mem_current_packet_length 
+
+ssp_tx_rfcomm_from_uart:
+6c57 6800c569 fetch 1 ,mem_credit_given 
+6c58 203a6c5f branch ssp_tx_rfcomm_from_uart_without_credit ,blank 
+6c59 70051001 jam 1 ,mem_rfcomm_send_offset 
+6c5a 6800c566 fetch 1 ,mem_hiufcs_spp_wcredits 
+6c5b 6000850f store 1 ,mem_rfcomm_send_fcs 
+6c5c 580000ff setarg rsp_rx_uih_wdata 
+6c5d 6000850e store 1 ,mem_rfcomm_send_frame_type 
+6c5e 20206c64 branch ssp_tx_rfcomm_from_uart_common 
+
+ssp_tx_rfcomm_from_uart_without_credit:
+6c5f 70051000 jam 0 ,mem_rfcomm_send_offset 
+6c60 6800c565 fetch 1 ,mem_hiufcs_spp 
+6c61 6000850f store 1 ,mem_rfcomm_send_fcs 
+6c62 580000ef setarg rsp_tx_uih 
+6c63 6000850e store 1 ,mem_rfcomm_send_frame_type 
+
+ssp_tx_rfcomm_from_uart_common:
+6c64 4759c036 bpatchx patch36_3 ,mem_patch36 
+6c65 6801469f fetch 2 ,mem_current_packet_length 
+6c66 1fe67c7f sub pdata ,127 ,null 
+6c67 20216c6b branch ssp_tx_rfcomm_from_uart_common0 ,positive 
+6c68 68008510 fetch 1 ,mem_rfcomm_send_offset 
+6c69 1fe0fe01 increase 1 ,pdata 
+6c6a 60008510 store 1 ,mem_rfcomm_send_offset 
+
+ssp_tx_rfcomm_from_uart_common0:
+6c6b 20406a72 call get_rfcomm_snd_adss 
+6c6c 6801469f fetch 2 ,mem_current_packet_length 
+6c6d 1fe0fe08 increase 8 ,pdata 
+6c6e 68088510 fetcht 1 ,mem_rfcomm_send_offset 
+6c6f 9840a200 iadd temp ,rega 
+6c70 20405240 call l2cap_malloc 
+6c71 60010277 store 2 ,mem_rfcomm_tx_buff_ptr 
+6c72 1fe0fe04 increase 4 ,pdata 
+6c73 60010279 store 2 ,mem_rfcomm_tx_payload_ptr 
+6c74 1fe20a00 copy pdata ,contw 
+6c75 6800850d fetch 1 ,mem_rfcomm_send_adss 
+6c76 e0a08000 istore 1 ,contw 
+6c77 6800850e fetch 1 ,mem_rfcomm_send_frame_type 
+6c78 e0a08000 istore 1 ,contw 
+6c79 20406c95 call ssp_tx_write_length 
+6c7a 20406ca6 call ssp_tx_write_given_credit 
+6c7b 475a4036 bpatchx patch36_4 ,mem_patch36 
+6c7c 68014571 fetch 2 ,mem_nl_rx_data_src 
+6c7d 1fe20600 copy pdata ,contru 
+6c7e 6801469f fetch 2 ,mem_current_packet_length 
+6c7f 1fe27200 copy pdata ,loopcnt 
+6c80 204066ea call uart_copy_rx_bytes_fast 
+6c81 18a20400 copy contw ,temp 
+6c82 18627e00 copy contru ,pdata 
+6c83 60014571 store 2 ,mem_nl_rx_data_src 
+6c84 18420a00 copy temp ,contw 
+6c85 6800850f fetch 1 ,mem_rfcomm_send_fcs 
+6c86 e0a08000 istore 1 ,contw 
+6c87 68010277 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+6c88 1fe20a00 copy pdata ,contw 
+6c89 6801469f fetch 2 ,mem_current_packet_length 
+6c8a 68088510 fetcht 1 ,mem_rfcomm_send_offset 
+6c8b 9840fe00 iadd temp ,pdata 
+6c8c 1fe0fe04 increase 4 ,pdata 
+6c8d e0a10000 istore 2 ,contw 
+6c8e 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+6c8f e0a10000 istore 2 ,contw 
+6c90 70456900 jam 0 ,mem_credit_given 
+6c91 68014573 fetch 2 ,mem_nl_rx_len_all 
+6c92 c0003a97 beq 0 ,module_hci_command_tx_spp_tx_complete 
+6c93 700b0500 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+6c94 20600000 rtn 
+
+ssp_tx_write_length:
+6c95 475ac036 bpatchx patch36_5 ,mem_patch36 
+6c96 6801469f fetch 2 ,mem_current_packet_length 
+6c97 1fe67c7f sub pdata ,0x7f ,null 
+6c98 24216c9d nbranch ssp_tx_write_long_packet ,positive 
+6c99 1fe3fe00 lshift pdata ,pdata 
+6c9a 79207e00 set1 0 ,pdata 
+6c9b e0a08000 istore 1 ,contw 
+6c9c 20600000 rtn 
+
+ssp_tx_write_long_packet:
+6c9d 6801469f fetch 2 ,mem_current_packet_length 
+6c9e 1fe97e00 rshift3 pdata ,pdata 
+6c9f 1ff18400 rshift4 pdata ,temp 
+6ca0 1fe17e7f and_into 0x7f ,pdata 
+6ca1 1fe3fe00 lshift pdata ,pdata 
+6ca2 793ffe00 set0 0 ,pdata 
+6ca3 e0a08000 istore 1 ,contw 
+6ca4 e0a88000 istoret 1 ,contw 
+6ca5 20600000 rtn 
+
+ssp_tx_write_given_credit:
+6ca6 6800c569 fetch 1 ,mem_credit_given 
+6ca7 207a0000 rtn blank 
+6ca8 e0a08000 istore 1 ,contw 
+6ca9 20600000 rtn 
+
+scheduler_process:
+6caa 475b4036 bpatchx patch36_6 ,mem_patch36 
+6cab 20407d9c call check_51cmd 
+6cac 204032f6 call app_process_bb_event 
+6cad 2040631b call process_conn_sm 
+6cae 475bc036 bpatchx patch36_7 ,mem_patch36 
+6caf 204076dc call sp_calc_sequence 
+6cb0 204076b5 call simple_pairing_sequence 
+6cb1 204076c6 call master_simple_paring_sequence 
+6cb2 2040526e call l2cap_malloc_is_fifo_full 
+6cb3 247a0000 nrtn blank 
+6cb4 20404da9 call l2cap_call_proc_sigal_pending 
+6cb5 2040526e call l2cap_malloc_is_fifo_full 
+6cb6 247a0000 nrtn blank 
+6cb7 475c4037 bpatchx patch37_0 ,mem_patch37 
+6cb8 20406cf5 call process_upper_sm 
+6cb9 20404f64 call l2cap_send_config_req 
+6cba 20406b98 call rfcomm_send_more_pkt 
+
+scheduler_process0:
+6cbb 20406cbe call scheduler_tx_disconnect_hid 
+6cbc 475cc037 bpatchx patch37_1 ,mem_patch37 
+6cbd 202032f2 branch app_process_bt 
+
+scheduler_tx_disconnect_hid:
+6cbe 6800827f fetch 1 ,mem_control_tasks 
+6cbf c2805087 bbit1 l2cap_disconnect_interrupt ,l2cap_disconnect_interrupt_req 
+6cc0 c283d091 bbit1 l2cap_disconnect_control ,l2cap_disconnect_control_req 
+6cc1 20600000 rtn 
+
+scheduler_tx_l2cap_pkt:
+6cc2 475d4037 bpatchx patch37_2 ,mem_patch37 
+6cc3 20405274 call l2cap_malloc_is_fifo_empty 
+6cc4 207a0000 rtn blank 
+6cc5 6800804b fetch 1 ,mem_op 
+6cc6 c3830000 rtnbit1 op_txl2cap 
+6cc7 20405258 call l2cap_malloc_fifo_out 
+6cc8 6001016f store 2 ,mem_txptr 
+6cc9 1fe20c00 copy pdata ,contr 
+6cca e8c10000 ifetch 2 ,contr 
+6ccb 1fe0fe04 increase 4 ,pdata 
+6ccc 600141dc store 2 ,mem_tx_len 
+6ccd 7041db06 jam 6 ,mem_tx_lch 
+6cce 475dc037 bpatchx patch37_3 ,mem_patch37 
+6ccf 68014246 fetch 2 ,mem_l2cap_tx_multi_offset 
+6cd0 203a6cdd branch scheduler_tx_l2cap_start_pkt ,blank 
+6cd1 6800804b fetch 1 ,mem_op 
+6cd2 c4038000 rtnbit0 op_pkt_comp 
+6cd3 793ffe07 set0 op_pkt_comp ,pdata 
+6cd4 6000804b store 1 ,mem_op 
+6cd5 7041db05 jam 5 ,mem_tx_lch 
+6cd6 68094246 fetcht 2 ,mem_l2cap_tx_multi_offset 
+6cd7 6801016f fetch 2 ,mem_txptr 
+6cd8 9840fe00 iadd temp ,pdata 
+6cd9 6001016f store 2 ,mem_txptr 
+6cda 680141dc fetch 2 ,mem_tx_len 
+6cdb 98467e00 isub temp ,pdata 
+6cdc 600141dc store 2 ,mem_tx_len 
+
+scheduler_tx_l2cap_start_pkt:
+6cdd 475e4037 bpatchx patch37_4 ,mem_patch37 
+6cde 680141dc fetch 2 ,mem_tx_len 
+6cdf 203a2a8c branch assert ,blank 
+6ce0 d8400104 arg l2cap_max_pkt_len ,temp 
+6ce1 98467e00 isub temp ,pdata 
+6ce2 24216ce9 nbranch scheduler_tx_l2cap_last_pkt ,positive 
+6ce3 475ec037 bpatchx patch37_5 ,mem_patch37 
+6ce4 600941dc storet 2 ,mem_tx_len 
+6ce5 68014246 fetch 2 ,mem_l2cap_tx_multi_offset 
+6ce6 9840fe00 iadd temp ,pdata 
+6ce7 60014246 store 2 ,mem_l2cap_tx_multi_offset 
+6ce8 20206ceb branch scheduler_tx_l2cap_pkt_end 
+
+scheduler_tx_l2cap_last_pkt:
+6ce9 58000000 setarg 0 
+6cea 60014246 store 2 ,mem_l2cap_tx_multi_offset 
+
+scheduler_tx_l2cap_pkt_end:
+6ceb 6800804b fetch 1 ,mem_op 
+6cec 79207e06 set1 op_txl2cap ,pdata 
+6ced 6000804b store 1 ,mem_op 
+6cee 20600000 rtn 
+
+scheduler_start_upper_sm:
+6cef 6800c684 fetch 1 ,mem_ui_profile_supported 
+6cf0 c2806cf3 bbit1 support_hid ,scheduler_start_upper_sm_hid 
+6cf1 70028701 jam uppersm_reconn_sdp_conn ,mem_upper_sm_reconn 
+6cf2 20600000 rtn 
+
+scheduler_start_upper_sm_hid:
+6cf3 7002870f jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+6cf4 20600000 rtn 
+
+process_upper_sm:
+6cf5 6800c681 fetch 1 ,memui_reconnect_mode 
+6cf6 243a6cfb nbranch process_upper_sm_reconn ,blank 
+
+process_upper_sm_remote_page:
+6cf7 68008286 fetch 1 ,mem_upper_sm_remote_page 
+6cf8 207a0000 rtn blank 
+6cf9 70028600 jam 0 ,mem_upper_sm_remote_page 
+
+process_upper_sm_rp_wait:
+6cfa 20600000 rtn 
+
+process_upper_sm_reconn:
+6cfb 475f4037 bpatchx patch37_6 ,mem_patch37 
+6cfc 68008287 fetch 1 ,mem_upper_sm_reconn 
+6cfd 207a0000 rtn blank 
+6cfe c000ed1b beq uppersm_reconn_sdp_conn ,process_upper_sm_reconn_sdp_conn 
+6cff c0016d74 beq uppersm_reconn_sdp_conn_wait ,process_upper_sm_reconn_sdp_conn_wait 
+6d00 c001ed21 beq uppersm_reconn_sdp_cfg ,process_upper_sm_reconn_sdp_cfg 
+6d01 c0026d78 beq uppersm_reconn_sdp_cfg_wait ,process_upper_sm_reconn_sdp_cfg_wait 
+6d02 c01ded2b beq uppersm_reconn_ss_spp ,process_upper_sm_reconn_ss_spp 
+6d03 c01e6d7b beq uppersm_reconn_ss_spp_wait ,process_upper_sm_reconn_ss_spp_wait 
+6d04 c006ed30 beq uppersm_reconn_sdp_disconn ,process_upper_sm_reconn_sdp_disconn 
+6d05 c0076d80 beq uppersm_reconn_sdp_disconn_wait ,process_upper_sm_reconn_sdp_disconn_wait 
+6d06 c007ed33 beq uppersm_reconn_hid_ctrl_conn ,process_upper_sm_reconn_hid_ctrl_conn 
+6d07 c0086d86 beq uppersm_reconn_hid_ctrl_conn_wait ,process_upper_sm_reconn_hid_ctrl_conn_wait 
+6d08 c008ed39 beq uppersm_reconn_hid_ctrl_cfg ,process_upper_sm_reconn_hid_ctrl_cfg 
+6d09 c0096d8a beq uppersm_reconn_hid_ctrl_cfg_wait ,process_upper_sm_reconn_hid_ctrl_cfg_wait 
+6d0a c009ed3f beq uppersm_reconn_hid_int_conn ,process_upper_sm_reconn_hid_int_conn 
+6d0b c00a6d8e beq uppersm_reconn_hid_int_conn_wait ,process_upper_sm_reconn_hid_int_conn_wait 
+6d0c c00aed45 beq uppersm_reconn_hid_int_cfg ,process_upper_sm_reconn_hid_int_cfg 
+6d0d c00b6d92 beq uppersm_reconn_hid_int_cfg_wait ,process_upper_sm_reconn_hid_int_cfg_wait 
+6d0e c00bed4b beq uppersm_reconn_rfcomm_conn ,process_upper_sm_reconn_rfcomm_conn 
+6d0f c00c6d97 beq uppersm_reconn_rfcomm_conn_wait ,process_upper_sm_reconn_rfcomm_conn_wait 
+6d10 c00ced51 beq uppersm_reconn_rfcomm_cfg ,process_upper_sm_reconn_rfcomm_cfg 
+6d11 c00d6d9b beq uppersm_reconn_rfcomm_cfg_wait ,process_upper_sm_reconn_rfcomm_cfg_wait 
+6d12 c00ded57 beq uppersm_reconn_rfcomm_sabm ,process_upper_sm_reconn_rfcomm_sabm 
+6d13 c00e6d9f beq uppersm_reconn_rfcomm_sabm_wait ,process_upper_sm_reconn_rfcomm_sabm_wait 
+6d14 c00eed5d beq uppersm_reconn_spp_cmd_pn ,process_upper_sm_reconn_spp_cmd_pn 
+6d15 c00f6da4 beq uppersm_reconn_spp_cmd_pn_wait ,process_upper_sm_reconn_spp_cmd_pn_wait 
+6d16 c00fed63 beq uppersm_reconn_spp_sabm ,process_upper_sm_reconn_spp_sabm 
+6d17 c0106da8 beq uppersm_reconn_spp_sabm_wait ,process_upper_sm_reconn_spp_sabm_wait 
+6d18 c010ed6e beq uppersm_reconn_spp_cmd_ms ,process_upper_sm_reconn_spp_cmd_ms 
+6d19 c0116dac beq uppersm_reconn_spp_cmd_ms_wait ,process_upper_sm_reconn_spp_cmd_ms_wait 
+
+process_upper_sm_reconn_wait:
+6d1a 20600000 rtn 
+
+process_upper_sm_reconn_sdp_conn:
+6d1b 20406db7 call upper_sm_send_sdp_conn 
+6d1c 70028702 jam uppersm_reconn_sdp_conn_wait ,mem_upper_sm_reconn 
+6d1d 6800c250 fetch 1 ,mem_sdp_state 
+6d1e 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+6d1f 6000c250 store 1 ,mem_sdp_state 
+6d20 20600000 rtn 
+
+process_upper_sm_reconn_sdp_cfg:
+6d21 70028704 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+6d22 6800c250 fetch 1 ,mem_sdp_state 
+6d23 c3810000 rtnbit1 l2cap_channel_state_snd_cfg_req 
+6d24 70028703 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+6d25 20406dbe call upper_sm_send_sdp_cfg 
+6d26 70028704 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+6d27 6800c250 fetch 1 ,mem_sdp_state 
+6d28 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+6d29 6000c250 store 1 ,mem_sdp_state 
+6d2a 20600000 rtn 
+
+process_upper_sm_reconn_ss_spp:
+6d2b 20405274 call l2cap_malloc_is_fifo_empty 
+6d2c 247a0000 nrtn blank 
+6d2d 20406dcd call upper_sm_send_ss_spp 
+6d2e 7002873c jam uppersm_reconn_ss_spp_wait ,mem_upper_sm_reconn 
+6d2f 20600000 rtn 
+
+process_upper_sm_reconn_sdp_disconn:
+6d30 20406dc3 call upper_sm_send_sdp_disconn 
+6d31 7002870e jam uppersm_reconn_sdp_disconn_wait ,mem_upper_sm_reconn 
+6d32 20600000 rtn 
+
+process_upper_sm_reconn_hid_ctrl_conn:
+6d33 20406ddd call upper_sm_send_hid_ctrl_conn 
+6d34 70028710 jam uppersm_reconn_hid_ctrl_conn_wait ,mem_upper_sm_reconn 
+6d35 6800c252 fetch 1 ,mem_hid_control_state 
+6d36 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+6d37 6000c252 store 1 ,mem_hid_control_state 
+6d38 20600000 rtn 
+
+process_upper_sm_reconn_hid_ctrl_cfg:
+6d39 20406de4 call upper_sm_send_hid_ctrl_cfg 
+6d3a 70028712 jam uppersm_reconn_hid_ctrl_cfg_wait ,mem_upper_sm_reconn 
+6d3b 6800c252 fetch 1 ,mem_hid_control_state 
+6d3c 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+6d3d 6000c252 store 1 ,mem_hid_control_state 
+6d3e 20600000 rtn 
+
+process_upper_sm_reconn_hid_int_conn:
+6d3f 20406de9 call upper_sm_send_hid_int_conn 
+6d40 70028714 jam uppersm_reconn_hid_int_conn_wait ,mem_upper_sm_reconn 
+6d41 6800c253 fetch 1 ,mem_hid_interrupt_state 
+6d42 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+6d43 6000c253 store 1 ,mem_hid_interrupt_state 
+6d44 20600000 rtn 
+
+process_upper_sm_reconn_hid_int_cfg:
+6d45 20406df0 call upper_sm_send_hid_int_cfg 
+6d46 70028716 jam uppersm_reconn_hid_int_cfg_wait ,mem_upper_sm_reconn 
+6d47 6800c253 fetch 1 ,mem_hid_interrupt_state 
+6d48 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+6d49 6000c253 store 1 ,mem_hid_interrupt_state 
+6d4a 20600000 rtn 
+
+process_upper_sm_reconn_rfcomm_conn:
+6d4b 20406dd1 call upper_sm_send_rfcomm_conn 
+6d4c 70028718 jam uppersm_reconn_rfcomm_conn_wait ,mem_upper_sm_reconn 
+6d4d 6800c251 fetch 1 ,mem_rfcomm_state 
+6d4e 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+6d4f 6000c251 store 1 ,mem_rfcomm_state 
+6d50 20600000 rtn 
+
+process_upper_sm_reconn_rfcomm_cfg:
+6d51 20406dd8 call upper_sm_send_rfcomm_cfg 
+6d52 7002871a jam uppersm_reconn_rfcomm_cfg_wait ,mem_upper_sm_reconn 
+6d53 6800c251 fetch 1 ,mem_rfcomm_state 
+6d54 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+6d55 6000c251 store 1 ,mem_rfcomm_state 
+6d56 20600000 rtn 
+
+process_upper_sm_reconn_rfcomm_sabm:
+6d57 20406df5 call upper_sm_send_rfcomm_sabm 
+6d58 7002871c jam uppersm_reconn_rfcomm_sabm_wait ,mem_upper_sm_reconn 
+6d59 6800c251 fetch 1 ,mem_rfcomm_state 
+6d5a 79207e06 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+6d5b 6000c251 store 1 ,mem_rfcomm_state 
+6d5c 20600000 rtn 
+
+process_upper_sm_reconn_spp_cmd_pn:
+6d5d 20406dfc call upper_sm_send_spp_cmd_pn 
+6d5e 6800c254 fetch 1 ,mem_spp_state 
+6d5f 79207e00 set1 rfcomm_channel_state_pn_cmd 
+6d60 6000c254 store 1 ,mem_spp_state 
+6d61 7002871e jam uppersm_reconn_spp_cmd_pn_wait ,mem_upper_sm_reconn 
+6d62 20600000 rtn 
+
+process_upper_sm_reconn_spp_sabm:
+6d63 20406e02 call upper_sm_send_spp_sabm 
+6d64 6800c254 fetch 1 ,mem_spp_state 
+6d65 79207e02 set1 rfcomm_channel_state_sabm 
+6d66 6000c254 store 1 ,mem_spp_state 
+6d67 70028720 jam uppersm_reconn_spp_sabm_wait ,mem_upper_sm_reconn 
+6d68 6800c564 fetch 1 ,mem_remote_spp_channel 
+6d69 1fe9fe00 lshift3 pdata ,pdata 
+6d6a 1fe1fe03 or_into 3 ,pdata 
+6d6b d8404565 arg mem_hiufcs_spp ,temp 
+6d6c 600904f7 storet 2 ,mem_contw_temp 
+6d6d 20206a35 branch rfcomm_save_fcs_uih 
+
+process_upper_sm_reconn_spp_cmd_ms:
+6d6e 20406e0c call upper_sm_send_spp_cmd_ms 
+6d6f 6800c254 fetch 1 ,mem_spp_state 
+6d70 79207e04 set1 rfcomm_channel_state_snd_ms_cmd 
+6d71 6000c254 store 1 ,mem_spp_state 
+6d72 70028722 jam uppersm_reconn_spp_cmd_ms_wait ,mem_upper_sm_reconn 
+6d73 20600000 rtn 
+
+process_upper_sm_reconn_sdp_conn_wait:
+6d74 6800c250 fetch 1 ,mem_sdp_state 
+6d75 c4008000 rtnbit0 l2cap_channel_state_conn_res 
+6d76 70028703 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+6d77 20206cfb branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_sdp_cfg_wait:
+6d78 6800c250 fetch 1 ,mem_sdp_state 
+6d79 c19f8000 rtnne l2cap_channel_setup_complete 
+6d7a 7002873b jam uppersm_reconn_ss_spp ,mem_upper_sm_reconn 
+
+process_upper_sm_reconn_ss_spp_wait:
+6d7b 68008285 fetch 1 ,mem_message_to_uppersm 
+6d7c c18b8000 rtnne recieve_ss_reasult_hf 
+6d7d 70028500 jam 0 ,mem_message_to_uppersm 
+6d7e 7002870d jam uppersm_reconn_sdp_disconn ,mem_upper_sm_reconn 
+6d7f 20206cfb branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_sdp_disconn_wait:
+6d80 6800c250 fetch 1 ,mem_sdp_state 
+6d81 247a0000 nrtn blank 
+6d82 6800c684 fetch 1 ,mem_ui_profile_supported 
+6d83 c2806daf bbit1 support_hid ,process_upper_sm_reconn_setup_hid 
+6d84 c2836db1 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+6d85 20206db5 branch process_upper_sm_reconn_termination 
+
+process_upper_sm_reconn_hid_ctrl_conn_wait:
+6d86 6800c252 fetch 1 ,mem_hid_control_state 
+6d87 c4008000 rtnbit0 l2cap_channel_state_conn_res 
+6d88 70028711 jam uppersm_reconn_hid_ctrl_cfg ,mem_upper_sm_reconn 
+6d89 20206cfb branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_hid_ctrl_cfg_wait:
+6d8a 6800c252 fetch 1 ,mem_hid_control_state 
+6d8b c19f8000 rtnne l2cap_channel_setup_complete 
+6d8c 70028713 jam uppersm_reconn_hid_int_conn ,mem_upper_sm_reconn 
+6d8d 20206cfb branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_hid_int_conn_wait:
+6d8e 6800c253 fetch 1 ,mem_hid_interrupt_state 
+6d8f c4008000 rtnbit0 l2cap_channel_state_conn_res 
+6d90 70028715 jam uppersm_reconn_hid_int_cfg ,mem_upper_sm_reconn 
+6d91 20206cfb branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_hid_int_cfg_wait:
+6d92 6800c253 fetch 1 ,mem_hid_interrupt_state 
+6d93 c19f8000 rtnne l2cap_channel_setup_complete 
+6d94 6800c684 fetch 1 ,mem_ui_profile_supported 
+6d95 c2836db1 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+6d96 20206db5 branch process_upper_sm_reconn_termination 
+
+process_upper_sm_reconn_rfcomm_conn_wait:
+6d97 6800c251 fetch 1 ,mem_rfcomm_state 
+6d98 c4008000 rtnbit0 l2cap_channel_state_conn_res 
+6d99 70028719 jam uppersm_reconn_rfcomm_cfg ,mem_upper_sm_reconn 
+6d9a 20206cfb branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_rfcomm_cfg_wait:
+6d9b 6800c251 fetch 1 ,mem_rfcomm_state 
+6d9c c19f8000 rtnne l2cap_channel_setup_complete 
+6d9d 7002871b jam uppersm_reconn_rfcomm_sabm ,mem_upper_sm_reconn 
+6d9e 20206cfb branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_rfcomm_sabm_wait:
+6d9f 6800c251 fetch 1 ,mem_rfcomm_state 
+6da0 c1ff8000 rtnne l2cap_channel_rfcomm_dlci0_opened 
+6da1 6800c684 fetch 1 ,mem_ui_profile_supported 
+6da2 c2836db3 bbit1 support_spp ,process_upper_sm_reconn_setup_spp 
+6da3 20206db5 branch process_upper_sm_reconn_termination 
+
+process_upper_sm_reconn_spp_cmd_pn_wait:
+6da4 6800c254 fetch 1 ,mem_spp_state 
+6da5 c4008000 rtnbit0 rfcomm_channel_state_pn_res 
+6da6 7002871f jam uppersm_reconn_spp_sabm ,mem_upper_sm_reconn 
+6da7 20206cfb branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_spp_sabm_wait:
+6da8 6800c254 fetch 1 ,mem_spp_state 
+6da9 c4018000 rtnbit0 rfcomm_channel_state_ua 
+6daa 70028721 jam uppersm_reconn_spp_cmd_ms ,mem_upper_sm_reconn 
+6dab 20206cfb branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_spp_cmd_ms_wait:
+6dac 6800c254 fetch 1 ,mem_spp_state 
+6dad c1ff8000 rtnne rfcomm_channel_setup_complete 
+6dae 20206db5 branch process_upper_sm_reconn_termination 
+
+process_upper_sm_reconn_setup_hid:
+6daf 7002870f jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+6db0 20206cfb branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_setup_rfcomm:
+6db1 70028717 jam uppersm_reconn_rfcomm_conn ,mem_upper_sm_reconn 
+6db2 20206cfb branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_setup_spp:
+6db3 7002871d jam uppersm_reconn_spp_cmd_pn ,mem_upper_sm_reconn 
+6db4 20206cfb branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_termination:
+6db5 70028700 jam 0 ,mem_upper_sm_reconn 
+6db6 20600000 rtn 
+
+upper_sm_send_sdp_conn:
+6db7 475fc037 bpatchx patch37_7 ,mem_patch37 
+6db8 204052b8 call l2cap_malloc_signal_channel 
+6db9 58000001 setarg psm_sdp 
+6dba 1fe20400 copy pdata ,temp 
+6dbb 58000050 setarg l2cap_sdp_channel 
+6dbc 1fe21600 copy pdata ,timeup 
+6dbd 202050a8 branch ml2cap_send_signal_connect_req 
+
+upper_sm_send_sdp_cfg:
+6dbe 47604038 bpatchx patch38_0 ,mem_patch38 
+6dbf 204052b8 call l2cap_malloc_signal_channel 
+6dc0 68014248 fetch 2 ,mem_sdp_remote_cid 
+6dc1 1fe20400 copy pdata ,temp 
+6dc2 202050b7 branch ml2cap_send_signal_config_req 
+
+upper_sm_send_sdp_disconn:
+6dc3 4760c038 bpatchx patch38_1 ,mem_patch38 
+6dc4 204052b8 call l2cap_malloc_signal_channel 
+6dc5 68014248 fetch 2 ,mem_sdp_remote_cid 
+6dc6 1fe20400 copy pdata ,temp 
+6dc7 d9600050 arg l2cap_sdp_channel ,timeup 
+6dc8 204050cc call ml2cap_send_signal_disconn_req 
+6dc9 6800c250 fetch 1 ,mem_sdp_state 
+6dca 793ffe05 set0 l2cap_channel_state_rcv_cfg_res ,pdata 
+6dcb 6000c250 store 1 ,mem_sdp_state 
+6dcc 20600000 rtn 
+
+upper_sm_send_ss_spp:
+6dcd 47614038 bpatchx patch38_2 ,mem_patch38 
+6dce 204052c5 call l2cap_malloc_sdp_channel 
+6dcf 20407138 call sdp_send_spp_request 
+6dd0 202050e7 branch msdp_send_req_done 
+
+upper_sm_send_rfcomm_conn:
+6dd1 4761c038 bpatchx patch38_3 ,mem_patch38 
+6dd2 204052b8 call l2cap_malloc_signal_channel 
+6dd3 58000003 setarg psm_rfcomm 
+6dd4 1fe20400 copy pdata ,temp 
+6dd5 58000051 setarg l2cap_rfcomm_channel 
+6dd6 1fe21600 copy pdata ,timeup 
+6dd7 202050a8 branch ml2cap_send_signal_connect_req 
+
+upper_sm_send_rfcomm_cfg:
+6dd8 47624038 bpatchx patch38_4 ,mem_patch38 
+6dd9 204052b8 call l2cap_malloc_signal_channel 
+6dda 6801424a fetch 2 ,mem_rfcomm_remote_cid 
+6ddb 1fe20400 copy pdata ,temp 
+6ddc 202050b7 branch ml2cap_send_signal_config_req 
+
+upper_sm_send_hid_ctrl_conn:
+6ddd 4762c038 bpatchx patch38_5 ,mem_patch38 
+6dde 204052b8 call l2cap_malloc_signal_channel 
+6ddf 58000011 setarg psm_hid_control 
+6de0 1fe20400 copy pdata ,temp 
+6de1 58000052 setarg l2cap_hid_control_channel 
+6de2 1fe21600 copy pdata ,timeup 
+6de3 202050a8 branch ml2cap_send_signal_connect_req 
+
+upper_sm_send_hid_ctrl_cfg:
+6de4 47634038 bpatchx patch38_6 ,mem_patch38 
+6de5 204052b8 call l2cap_malloc_signal_channel 
+6de6 6801424c fetch 2 ,mem_hid_ctrl_remote_cid 
+6de7 1fe20400 copy pdata ,temp 
+6de8 202050b7 branch ml2cap_send_signal_config_req 
+
+upper_sm_send_hid_int_conn:
+6de9 4763c038 bpatchx patch38_7 ,mem_patch38 
+6dea 204052b8 call l2cap_malloc_signal_channel 
+6deb 58000013 setarg psm_hid_interrupt 
+6dec 1fe20400 copy pdata ,temp 
+6ded 58000053 setarg l2cap_hid_interrupt_channel 
+6dee 1fe21600 copy pdata ,timeup 
+6def 202050a8 branch ml2cap_send_signal_connect_req 
+
+upper_sm_send_hid_int_cfg:
+6df0 47644039 bpatchx patch39_0 ,mem_patch39 
+6df1 204052b8 call l2cap_malloc_signal_channel 
+6df2 6801424e fetch 2 ,mem_hid_int_remote_cid 
+6df3 1fe20400 copy pdata ,temp 
+6df4 202050b7 branch ml2cap_send_signal_config_req 
+
+upper_sm_send_rfcomm_sabm:
+6df5 4764c039 bpatchx patch39_1 ,mem_patch39 
+6df6 204052d2 call l2cap_malloc_rfcomm_channel 
+6df7 7004fb03 jam 3 ,mem_current_adss 
+6df8 7004fe1c jam 0x1c ,mem_current_fcs 
+6df9 20406ba9 call rfcomm_send_sabm 
+6dfa 70456301 jam 1 ,mem_rfcomm_initiator 
+6dfb 20600000 rtn 
+
+upper_sm_send_spp_cmd_pn:
+6dfc 47654039 bpatchx patch39_2 ,mem_patch39 
+6dfd 204052d2 call l2cap_malloc_rfcomm_channel 
+6dfe 6808c564 fetcht 1 ,mem_remote_spp_channel 
+6dff 20406a79 call channel_to_dlci 
+6e00 6008c55d storet 1 ,mem_pn_dlci 
+6e01 20206bc4 branch rfcomm_send_param_neg_cmd 
+
+upper_sm_send_spp_sabm:
+6e02 4765c039 bpatchx patch39_3 ,mem_patch39 
+6e03 204052d2 call l2cap_malloc_rfcomm_channel 
+6e04 6808c55d fetcht 1 ,mem_pn_dlci 
+6e05 20406a73 call dlci_to_address_cmd 
+6e06 20406a1a call rfcomm_calculate_fcs_sabm 
+6e07 600084fe store 1 ,mem_current_fcs 
+6e08 6808c55d fetcht 1 ,mem_pn_dlci 
+6e09 20406a73 call dlci_to_address_cmd 
+6e0a 600884fb storet 1 ,mem_current_adss 
+6e0b 20206ba9 branch rfcomm_send_sabm 
+
+upper_sm_send_spp_cmd_ms:
+6e0c 47664039 bpatchx patch39_4 ,mem_patch39 
+6e0d 204052d2 call l2cap_malloc_rfcomm_channel 
+6e0e 6808c55d fetcht 1 ,mem_pn_dlci 
+6e0f 20406a73 call dlci_to_address_cmd 
+6e10 20206bfc branch rfcomm_send_modem_status_cmd 
+
+sdp_process:
+6e11 4766c039 bpatchx patch39_5 ,mem_patch39 
+6e12 68010264 fetch 2 ,mem_l2cap_payload_ptr 
+6e13 98000c00 iforce contr 
+6e14 e8c08000 ifetch 1 ,contr 
+6e15 1fe22400 copy pdata ,regb 
+6e16 6000851b store 1 ,mem_sdp_pduid 
+6e17 e8c10000 ifetch 2 ,contr 
+6e18 6001051c store 2 ,mem_sdp_transactionid 
+6e19 e8c08000 ifetch 1 ,contr 
+6e1a 1fed1600 lshift8 pdata ,timeup 
+6e1b e8c08000 ifetch 1 ,contr 
+6e1c 99609600 iadd timeup ,timeup 
+6e1d 47674039 bpatchx patch39_6 ,mem_patch39 
+6e1e 18c20400 copy contr ,temp 
+6e1f df200004 arg 4 ,loopcnt 
+6e20 d8a0052a arg mem_sdp_handle_list ,contw 
+6e21 20407ec6 call memset0 
+6e22 18420c00 copy temp ,contr 
+6e23 1a427e00 deposit regb 
+6e24 c000efba beq sdp_error_res ,sdp_process_error_res 
+6e25 c0016e2c beq sdp_search_req ,sdp_process_ss_req 
+6e26 c001efba beq sdp_search_res ,sdp_process_ss_res 
+6e27 c0026e54 beq sdp_attribute_req ,sdp_process_sa_req 
+6e28 c002efba beq sdp_attribute_res ,sdp_process_sa_res 
+6e29 c0036f02 beq sdp_searchattrib_req ,sdp_process_ssa_req 
+6e2a c003efba beq sdp_searchattrib_res ,sdp_process_ssa_res 
+6e2b 20206fc1 branch sdp_insufficient_resource 
+
+sdp_process_ss_req:
+6e2c 4767c039 bpatchx patch39_7 ,mem_patch39 
+6e2d 20406fd0 call ask_serviceclassid 
+6e2e 2841fe01 compare 1 ,temp ,0xff 
+6e2f 2020f040 branch ss_empty_rsp ,true 
+6e30 2841feff compare 0xff ,temp ,0xff 
+6e31 2020efc4 branch sdp_invalid_request_syntax ,true 
+6e32 e8c10000 ifetch 2 ,contr 
+6e33 60010522 store 2 ,mem_sdp_record_maxcnt 
+6e34 196097fe increase -2 ,timeup 
+6e35 196097ff increase -1 ,timeup 
+6e36 2422efbe nbranch sdp_invalid_pdu_size ,zero 
+6e37 d9600511 arg mem_sdp_uuid_search_ptr ,timeup 
+6e38 e9610000 ifetch 2 ,timeup 
+6e39 207a0000 rtn blank 
+6e3a 20407082 call search_all_uuid 
+6e3b 204052d0 call l2cap_get_sdp_tx_payload 
+6e3c 18007e03 force 3 ,pdata 
+6e3d e0a08000 istore 1 ,contw 
+6e3e 6801051c fetch 2 ,mem_sdp_transactionid 
+6e3f e0a10000 istore 2 ,contw 
+6e40 18ebfe00 lshift2 queue ,pdata 
+6e41 1fe0fe05 add pdata ,5 ,pdata 
+6e42 1fe0a605 add pdata ,5 ,regc 
+6e43 1ff0fe00 byteswap pdata ,pdata 
+6e44 e0a10000 istore 2 ,contw 
+6e45 18e27e00 deposit queue 
+6e46 1ff0fe00 byteswap pdata ,pdata 
+6e47 e0a10000 istore 2 ,contw 
+6e48 e0a10000 istore 2 ,contw 
+6e49 d8c0052a arg mem_sdp_handle_list ,contr 
+6e4a 18e27200 copy queue ,loopcnt 
+6e4b 2022ee4f branch ss_req_blank ,zero 
+
+ss_req_loop:
+6e4c e8c20000 ifetch 4 ,contr 
+6e4d e0a20000 istore 4 ,contw 
+6e4e c2006e4c loop ss_req_loop 
+
+ss_req_blank:
+6e4f 18007e00 force 0 ,pdata 
+6e50 e0a08000 istore 1 ,contw 
+6e51 1a627e00 deposit regc 
+6e52 60010275 store 2 ,mem_sdp_tx_pkt_length 
+6e53 20600000 rtn 
+
+sdp_process_sa_req:
+6e54 4768403a bpatchx patch3a_0 ,mem_patch3a 
+6e55 e8c20000 ifetch 4 ,contr 
+6e56 60020524 store 4 ,mem_sdp_record_handle 
+6e57 196097fc increase -4 ,timeup 
+6e58 20406f2e call sdp_store_maxbyte 
+6e59 60010520 store 2 ,mem_sdp_attribute_maxbyte 
+6e5a 196097fe increase -2 ,timeup 
+6e5b 20407028 call dataelementtype6 
+6e5c 2022efc4 branch sdp_invalid_request_syntax ,zero 
+6e5d 2a21fe05 compare 5 ,rega ,0xff 
+6e5e 2020ee62 branch sa_judge_wholerange ,true 
+
+sa_isnot_wholerange:
+6e5f d8a0052a arg mem_sdp_attrib_list ,contw 
+6e60 18000e00 force 0 ,queue 
+6e61 20206e71 branch sa_req_loop 
+
+sa_judge_wholerange:
+6e62 e8c08000 ifetch 1 ,contr 
+6e63 c0856fc4 bne sdp_attribute_range ,sdp_invalid_request_syntax 
+6e64 e8c10000 ifetch 2 ,contr 
+6e65 243a6e6f nbranch sa_judge_wholerange_false1 ,blank 
+6e66 e8c08000 ifetch 1 ,contr 
+6e67 c0ffee6d bne 0xff ,sa_judge_wholerange_false2 
+6e68 e8c08000 ifetch 1 ,contr 
+6e69 c0ffee6b bne 0xff ,sa_judge_wholerange_false3 
+6e6a 20206eb8 branch sa_req_all 
+
+sa_judge_wholerange_false3:
+6e6b 18c08dfb increase -5 ,contr 
+6e6c 20206e5f branch sa_isnot_wholerange 
+
+sa_judge_wholerange_false2:
+6e6d 18c08dfc increase -4 ,contr 
+6e6e 20206e5f branch sa_isnot_wholerange 
+
+sa_judge_wholerange_false1:
+6e6f 18c08dfd increase -3 ,contr 
+6e70 20206e5f branch sa_isnot_wholerange 
+
+sa_req_loop:
+6e71 e8c08000 ifetch 1 ,contr 
+6e72 c004ee86 beq sdp_attribute_id ,sa_req_one_id 
+6e73 c0056e74 beq sdp_attribute_range ,sa_req_range 
+
+sa_req_range:
+6e74 e8c10000 ifetch 2 ,contr 
+6e75 e0a10000 istore 2 ,contw 
+6e76 18e08e01 increase 1 ,queue 
+6e77 1ff0a400 byteswap pdata ,regb 
+6e78 e8c10000 ifetch 2 ,contr 
+6e79 1ff0fe00 byteswap pdata ,pdata 
+
+sa_req_range_id_increase:
+6e7a 1a40a401 increase 1 ,regb 
+6e7b 9a467c00 isub regb ,null 
+6e7c 24216e83 nbranch sa_req_range_id_finish ,positive 
+6e7d 1fe22600 copy pdata ,regc 
+6e7e 1a50fe00 byteswap regb ,pdata 
+6e7f e0a10000 istore 2 ,contw 
+6e80 18e08e01 increase 1 ,queue 
+6e81 1a627e00 copy regc ,pdata 
+6e82 20206e7a branch sa_req_range_id_increase 
+
+sa_req_range_id_finish:
+6e83 196097fb increase -5 ,timeup 
+6e84 1a20a3fb increase -5 ,rega 
+6e85 20206e8b branch sa_req_check_next_id 
+
+sa_req_one_id:
+6e86 e8c10000 ifetch 2 ,contr 
+6e87 e0a10000 istore 2 ,contw 
+6e88 18e08e01 increase 1 ,queue 
+6e89 196097fd increase -3 ,timeup 
+6e8a 1a20a3fd increase -3 ,rega 
+
+sa_req_check_next_id:
+6e8b 24216fc4 nbranch sdp_invalid_request_syntax ,positive 
+6e8c 2422ee71 nbranch sa_req_loop ,zero 
+6e8d 196097ff increase -1 ,timeup 
+6e8e 2422efc4 nbranch sdp_invalid_request_syntax ,zero 
+6e8f 204052d0 call l2cap_get_sdp_tx_payload 
+6e90 18a08a0a increase 10 ,contw 
+6e91 da20052a arg mem_sdp_attrib_list ,rega 
+
+sa_req_handle_attributelist_next:
+6e92 18e27e00 copy queue ,pdata 
+6e93 203a6ea5 branch sa_req_handle_attributelist_end ,blank 
+6e94 ea210000 ifetch 2 ,rega 
+6e95 203a6ea5 branch sa_req_handle_attributelist_end ,blank 
+6e96 98002400 iforce regb 
+6e97 68020524 fetch 4 ,mem_sdp_record_handle 
+6e98 98000400 iforce temp 
+6e99 204070e7 call search_handle_attrib 
+6e9a 18c27e00 copy contr ,pdata 
+6e9b 203a6ea2 branch sa_req_handle_attributelist_notfound ,blank 
+6e9c 18c08dfd increase -3 ,contr 
+6e9d e8c18000 ifetch 3 ,contr 
+6e9e e0a18000 istore 3 ,contw 
+6e9f 2040705b call sdp_data_len 
+6ea0 98007200 iforce loopcnt 
+6ea1 20407f01 call memcpy 
+
+sa_req_handle_attributelist_notfound:
+6ea2 1a20a202 increase 2 ,rega 
+6ea3 18e08fff increase -1 ,queue 
+6ea4 20206e92 branch sa_req_handle_attributelist_next 
+
+sa_req_handle_attributelist_end:
+6ea5 da200005 arg sdp_attribute_res ,rega 
+6ea6 20406f84 call ssa_req_range_lastfreg_common 
+6ea7 68010275 fetch 2 ,mem_sdp_tx_pkt_length 
+6ea8 c005f043 beq 11 ,sa_empty_rsp 
+6ea9 20206f9a branch ssa_req_range_attrbutes_length_no_continue 
+
+sdp_store_continue_common:
+6eaa e8c08000 ifetch 1 ,contr 
+6eab c0006eae beq 0 ,sdp_store_continue_0byte 
+6eac c000eeb0 beq 1 ,sdp_store_continue_1byte 
+6ead c0016eb3 beq 2 ,sdp_store_continue_2byte 
+
+sdp_store_continue_0byte:
+6eae 196097ff increase -1 ,timeup 
+6eaf 20206eb6 branch sdp_store_continue_end 
+
+sdp_store_continue_1byte:
+6eb0 e8c08000 ifetch 1 ,contr 
+6eb1 196097fe increase -2 ,timeup 
+6eb2 20206eb6 branch sdp_store_continue_end 
+
+sdp_store_continue_2byte:
+6eb3 e8c10000 ifetch 2 ,contr 
+6eb4 1ff0fe00 byteswap pdata ,pdata 
+6eb5 196097fd increase -3 ,timeup 
+
+sdp_store_continue_end:
+6eb6 60010519 store 2 ,mem_sdp_continue_byte 
+6eb7 20600000 rtn 
+
+sa_req_all:
+6eb8 196097fb increase -5 ,timeup 
+6eb9 20406eaa call sdp_store_continue_common 
+6eba 2422efbe nbranch sdp_invalid_pdu_size ,zero 
+6ebb 680a0524 fetcht 4 ,mem_sdp_record_handle 
+6ebc 204070b1 call search_handle 
+6ebd 2422efbb nbranch sdp_invalid_service_record_handle ,zero 
+6ebe 18c22200 copy contr ,rega 
+6ebf 204052d0 call l2cap_get_sdp_tx_payload 
+6ec0 1a220c00 copy rega ,contr 
+6ec1 18a08a03 increase 3 ,contw 
+6ec2 18c21600 copy contr ,timeup 
+6ec3 20407062 call sdp_get_data 
+6ec4 1fe22200 copy pdata ,rega 
+6ec5 68010519 fetch 2 ,mem_sdp_continue_byte 
+6ec6 1fe22400 copy pdata ,regb 
+6ec7 1a227e00 copy rega ,pdata 
+6ec8 9a462400 isub regb ,regb 
+6ec9 68010520 fetch 2 ,mem_sdp_attribute_maxbyte 
+6eca 9a467c00 isub regb ,null 
+6ecb 24216ee7 nbranch sa_req_all_fragment_sdp ,positive 
+6ecc 78547c00 disable user 
+6ecd 68010519 fetch 2 ,mem_sdp_continue_byte 
+6ece 203a6eda branch sa_req_all_fisrt_fragment ,blank 
+6ecf 99608c00 iadd timeup ,contr 
+6ed0 1a40a403 increase 3 ,regb 
+6ed1 1a427200 copy regb ,loopcnt 
+6ed2 1f227e00 copy loopcnt ,pdata 
+6ed3 1fe0fe03 increase 3 ,pdata 
+6ed4 1ff0fe00 byteswap pdata ,pdata 
+6ed5 e0a10000 istore 2 ,contw 
+6ed6 1f227e00 copy loopcnt ,pdata 
+6ed7 1ff0fe00 byteswap pdata ,pdata 
+6ed8 e0a10000 istore 2 ,contw 
+6ed9 20206ef5 branch sa_req_all_answer_attributelist_full_loop 
+
+sa_req_all_fisrt_fragment:
+6eda 1a20f206 add rega ,6 ,loopcnt 
+6edb 20346ede branch sa_req_all_parlength_continue_byte ,user 
+6edc 1f30fe00 byteswap loopcnt ,pdata 
+6edd 20206ee1 branch sa_req_all_parlength_continue_byte_end 
+
+sa_req_all_parlength_continue_byte:
+6ede 1f227e00 copy loopcnt ,pdata 
+6edf 1fe0fe02 increase 2 ,pdata 
+6ee0 1ff0fe00 byteswap pdata ,pdata 
+
+sa_req_all_parlength_continue_byte_end:
+6ee1 e0a10000 istore 2 ,contw 
+6ee2 1f20f3fd increase -3 ,loopcnt 
+6ee3 1f30fe00 byteswap loopcnt ,pdata 
+6ee4 e0a10000 istore 2 ,contw 
+6ee5 19620c00 copy timeup ,contr 
+6ee6 20206ef5 branch sa_req_all_answer_attributelist_full_loop 
+
+sa_req_all_fragment_sdp:
+6ee7 78347c00 enable user 
+6ee8 68010520 fetch 2 ,mem_sdp_attribute_maxbyte 
+6ee9 1fe22200 copy pdata ,rega 
+6eea 1a227200 copy rega ,loopcnt 
+6eeb 68010519 fetch 2 ,mem_sdp_continue_byte 
+6eec 203a6eda branch sa_req_all_fisrt_fragment ,blank 
+6eed 99608c00 iadd timeup ,contr 
+6eee 1a227e00 copy rega ,pdata 
+6eef 1fe0fe05 increase 5 ,pdata 
+6ef0 1ff0fe00 byteswap pdata ,pdata 
+6ef1 e0a10000 istore 2 ,contw 
+6ef2 1a227e00 copy rega ,pdata 
+6ef3 1ff0fe00 byteswap pdata ,pdata 
+6ef4 e0a10000 istore 2 ,contw 
+
+sa_req_all_answer_attributelist_full_loop:
+6ef5 20407f01 call memcpy 
+6ef6 24346efe nbranch sa_req_all_last_frag_continue ,user 
+6ef7 18007e02 force 2 ,pdata 
+6ef8 e0a08000 istore 1 ,contw 
+6ef9 18c27e00 copy contr ,pdata 
+6efa 99667e00 isub timeup ,pdata 
+6efb 1ff0fe00 byteswap pdata ,pdata 
+6efc e0a10000 istore 2 ,contw 
+6efd 20206f00 branch sa_req_all_frag_end 
+
+sa_req_all_last_frag_continue:
+6efe 18007e00 force 0 ,pdata 
+6eff e0a08000 istore 1 ,contw 
+
+sa_req_all_frag_end:
+6f00 da200005 arg sdp_attribute_res ,rega 
+6f01 20206fb0 branch ssa_req_range_common 
+
+sdp_process_ssa_req:
+6f02 4768c03a bpatchx patch3a_1 ,mem_patch3a 
+6f03 20406fd0 call ask_serviceclassid 
+6f04 2841feff compare 0xff ,temp ,0xff 
+6f05 2020efc4 branch sdp_invalid_request_syntax ,true 
+6f06 20406f2e call sdp_store_maxbyte 
+6f07 60010520 store 2 ,mem_sdp_attribute_maxbyte 
+6f08 196097fe increase -2 ,timeup 
+6f09 20407028 call dataelementtype6 
+6f0a d8a0052a arg mem_sdp_attrib_list ,contw 
+6f0b 18000e00 force 0 ,queue 
+
+ssa_req_loop:
+6f0c e8c08000 ifetch 1 ,contr 
+6f0d c0056f36 beq sdp_attribute_range ,ssa_req_range 
+6f0e e8c10000 ifetch 2 ,contr 
+6f0f e0a10000 istore 2 ,contw 
+6f10 18e08e01 increase 1 ,queue 
+6f11 196097fd increase -3 ,timeup 
+6f12 1a20a3fd increase -3 ,rega 
+6f13 24216fc4 nbranch sdp_invalid_request_syntax ,positive 
+6f14 2422ef0c nbranch ssa_req_loop ,zero 
+6f15 196097ff increase -1 ,timeup 
+6f16 2422efc4 nbranch sdp_invalid_request_syntax ,zero 
+6f17 204052d0 call l2cap_get_sdp_tx_payload 
+6f18 18a08a0d increase 13 ,contw 
+6f19 68010511 fetch 2 ,mem_sdp_uuid_search_ptr 
+6f1a 98002600 iforce regc 
+6f1b da20052a arg mem_sdp_attrib_list ,rega 
+
+ssa_req_attributelist_next:
+6f1c ea210000 ifetch 2 ,rega 
+6f1d 203a6f29 branch ssa_req_attributelist_end ,blank 
+6f1e 98002400 iforce regb 
+6f1f 204070c6 call search_attrib 
+6f20 203a6f27 branch ssa_req_attributelist_notfound ,blank 
+6f21 18c08dfd increase -3 ,contr 
+6f22 e8c18000 ifetch 3 ,contr 
+6f23 e0a18000 istore 3 ,contw 
+6f24 2040705b call sdp_data_len 
+6f25 98007200 iforce loopcnt 
+6f26 20407f01 call memcpy 
+
+ssa_req_attributelist_notfound:
+6f27 1a20a202 increase 2 ,rega 
+6f28 20206f1c branch ssa_req_attributelist_next 
+
+ssa_req_attributelist_end:
+6f29 20406f83 call ssa_req_range_lastfreg 
+6f2a 68010275 fetch 2 ,mem_sdp_tx_pkt_length 
+6f2b c0077046 beq 14 ,ssa_empty_rsp 
+6f2c 20406f9a call ssa_req_range_attrbutes_length_no_continue 
+6f2d 20206f9a branch ssa_req_range_attrbutes_length_no_continue 
+
+sdp_store_maxbyte:
+6f2e e8c10000 ifetch 2 ,contr 
+6f2f 1ff0fe00 byteswap pdata ,pdata 
+6f30 1fe0fffd increase -3 ,pdata 
+6f31 d84000c8 arg 200 ,temp 
+6f32 98467c00 isub temp ,null 
+6f33 24610000 nrtn positive 
+6f34 580000c8 setarg 200 
+6f35 20600000 rtn 
+
+ssa_req_range:
+6f36 18c08c04 increase 4 ,contr 
+6f37 196097fb increase -5 ,timeup 
+6f38 1a20a3fb increase -5 ,rega 
+6f39 2422efc4 nbranch sdp_invalid_request_syntax ,zero 
+6f3a 20406eaa call sdp_store_continue_common 
+6f3b 2422efbe nbranch sdp_invalid_pdu_size ,zero 
+6f3c d9600511 arg mem_sdp_uuid_search_ptr ,timeup 
+6f3d 20407082 call search_all_uuid 
+6f3e 18e27e00 deposit queue 
+6f3f 203a7046 branch ssa_empty_rsp ,blank 
+6f40 6000854e store 1 ,mem_handle_humber 
+6f41 1a427e00 copy regb ,pdata 
+6f42 6001054c store 2 ,mem_sdp_all_length 
+6f43 d8e00000 arg 0 ,queue 
+6f44 da200000 arg 0 ,rega 
+6f45 204052d0 call l2cap_get_sdp_tx_payload 
+6f46 18a08a0a increase 10 ,contw 
+
+ssa_req_range_find_handle:
+6f47 20406f6c call ssa_req_range_get_length 
+6f48 24342a8c nbranch assert ,user 
+6f49 18c21600 copy contr ,timeup 
+6f4a 1fe22600 copy pdata ,regc 
+6f4b 9a20a200 iadd rega ,rega 
+6f4c 68010519 fetch 2 ,mem_sdp_continue_byte 
+6f4d 1fe22400 copy pdata ,regb 
+6f4e 203a6f75 branch ssa_req_range_first_freg ,blank 
+
+ssa_req_range_later_freg_with_continue:
+6f4f 1a227e00 copy rega ,pdata 
+6f50 9a462400 isub regb ,regb 
+6f51 2022ef67 branch ssa_req_range_next_handle ,zero 
+6f52 24216f67 nbranch ssa_req_range_next_handle ,positive 
+6f53 68010520 fetch 2 ,mem_sdp_attribute_maxbyte 
+6f54 9a467c00 isub regb ,null 
+6f55 2022ef5e branch ssa_req_range_maxbyte_with_continue ,zero 
+6f56 24216f5e nbranch ssa_req_range_maxbyte_with_continue ,positive 
+
+ssa_req_range_send_not_maxbyte:
+6f57 1a427200 copy regb ,loopcnt 
+6f58 20406f61 call ssa_req_range_maxbyte_with_continue_cpy 
+6f59 6800854e fetch 1 ,mem_handle_humber 
+6f5a 18e08e01 increase 1 ,queue 
+6f5b 98e67c00 isub queue ,null 
+6f5c 2022ef83 branch ssa_req_range_lastfreg ,zero 
+6f5d 20206fa0 branch ssa_req_range_freg_with_continue 
+
+ssa_req_range_maxbyte_with_continue:
+6f5e 1fe27200 copy pdata ,loopcnt 
+6f5f 20406f61 call ssa_req_range_maxbyte_with_continue_cpy 
+6f60 20206fa0 branch ssa_req_range_freg_with_continue 
+
+ssa_req_range_maxbyte_with_continue_cpy:
+6f61 18a08bfd increase -3 ,contw 
+6f62 1f220400 copy loopcnt ,temp 
+6f63 1a627e00 copy regc ,pdata 
+6f64 9a467e00 isub regb ,pdata 
+6f65 99608c00 iadd timeup ,contr 
+6f66 20207f01 branch memcpy 
+
+ssa_req_range_next_handle:
+6f67 6800854e fetch 1 ,mem_handle_humber 
+6f68 18e08e01 increase 1 ,queue 
+6f69 98e67c00 isub queue ,null 
+6f6a 20628000 rtn zero 
+6f6b 20206f47 branch ssa_req_range_find_handle 
+
+ssa_req_range_get_length:
+6f6c 20407fe9 call disable_user 
+6f6d d8c0052a arg mem_sdp_handle_list ,contr 
+6f6e 18ebfe00 lshift2 queue ,pdata 
+6f6f 98c08c00 iadd contr ,contr 
+6f70 e8ca0000 ifetcht 4 ,contr 
+6f71 204070b1 call search_handle 
+6f72 24628000 nrtn zero 
+6f73 2040705b call sdp_data_len 
+6f74 20207fe7 branch enable_user 
+
+ssa_req_range_first_freg:
+6f75 68010520 fetch 2 ,mem_sdp_attribute_maxbyte 
+6f76 9a267c00 isub rega ,null 
+6f77 24216f8f nbranch ssa_req_range_firstfreg_maxbyte_with_continue ,positive 
+6f78 1a227200 copy rega ,loopcnt 
+6f79 1f220400 copy loopcnt ,temp 
+6f7a 19620c00 copy timeup ,contr 
+6f7b 20407f01 call memcpy 
+6f7c 6801054c fetch 2 ,mem_sdp_all_length 
+6f7d 9a267c00 isub rega ,null 
+6f7e 2022ef81 branch ssa_req_range_freg_no_continue ,zero 
+
+ssa_req_range_firstfreg_not_maxbyte_with_continue:
+6f7f 20406fa0 call ssa_req_range_freg_with_continue 
+6f80 20206f94 branch ssa_req_range_attrbutes_length 
+
+ssa_req_range_freg_no_continue:
+6f81 20406f83 call ssa_req_range_lastfreg 
+6f82 20206f94 branch ssa_req_range_attrbutes_length 
+
+ssa_req_range_lastfreg:
+6f83 da200007 arg sdp_searchattrib_res ,rega 
+
+ssa_req_range_lastfreg_common:
+6f84 18007e00 force 0 ,pdata 
+6f85 e0a08000 istore 1 ,contw 
+6f86 20406fb0 call ssa_req_range_common 
+6f87 68090275 fetcht 2 ,mem_sdp_tx_pkt_length 
+6f88 184085fb increase -5 ,temp 
+6f89 1850fe00 byteswap temp ,pdata 
+6f8a e0a10000 istore 2 ,contw 
+6f8b 184085fd increase -3 ,temp 
+6f8c 1850fe00 byteswap temp ,pdata 
+6f8d e0a10000 istore 2 ,contw 
+6f8e 20600000 rtn 
+
+ssa_req_range_firstfreg_maxbyte_with_continue:
+6f8f 1fe27200 copy pdata ,loopcnt 
+6f90 1f220400 copy loopcnt ,temp 
+6f91 19620c00 copy timeup ,contr 
+6f92 20407f01 call memcpy 
+6f93 20406fa0 call ssa_req_range_freg_with_continue 
+
+ssa_req_range_attrbutes_length:
+6f94 58000036 setarg 0x36 
+6f95 e0a08000 istore 1 ,contw 
+6f96 6801054c fetch 2 ,mem_sdp_all_length 
+6f97 1ff0fe00 byteswap pdata ,pdata 
+6f98 e0a10000 istore 2 ,contw 
+6f99 20600000 rtn 
+
+ssa_req_range_attrbutes_length_no_continue:
+6f9a 58000036 setarg 0x36 
+6f9b e0a08000 istore 1 ,contw 
+6f9c 184085fd increase -3 ,temp 
+6f9d 1850fe00 byteswap temp ,pdata 
+6f9e e0a10000 istore 2 ,contw 
+6f9f 20600000 rtn 
+
+ssa_req_range_freg_with_continue:
+6fa0 da200007 arg sdp_searchattrib_res ,rega 
+6fa1 58000002 setarg 2 
+6fa2 e0a08000 istore 1 ,contw 
+6fa3 68010519 fetch 2 ,mem_sdp_continue_byte 
+6fa4 98408400 iadd temp ,temp 
+6fa5 1850fe00 byteswap temp ,pdata 
+6fa6 e0a10000 istore 2 ,contw 
+6fa7 20406fb0 call ssa_req_range_common 
+6fa8 68090275 fetcht 2 ,mem_sdp_tx_pkt_length 
+6fa9 184085fb increase -5 ,temp 
+6faa 1850fe00 byteswap temp ,pdata 
+6fab e0a10000 istore 2 ,contw 
+6fac 184085fb increase -5 ,temp 
+6fad 1850fe00 byteswap temp ,pdata 
+6fae e0a10000 istore 2 ,contw 
+6faf 20600000 rtn 
+
+ssa_req_range_common:
+6fb0 68010273 fetch 2 ,mem_sdp_tx_payload_ptr 
+6fb1 98a67e00 isub contw ,pdata 
+6fb2 1fe67e00 sub pdata ,0 ,pdata 
+6fb3 60010275 store 2 ,mem_sdp_tx_pkt_length 
+6fb4 204052d0 call l2cap_get_sdp_tx_payload 
+6fb5 1a227e00 copy rega ,pdata 
+6fb6 e0a08000 istore 1 ,contw 
+6fb7 6801051c fetch 2 ,mem_sdp_transactionid 
+6fb8 e0a10000 istore 2 ,contw 
+6fb9 20600000 rtn 
+
+sdp_process_ssa_res:
+
+sdp_process_ss_res:
+
+sdp_process_sa_res:
+
+sdp_process_error_res:
+6fba 20600000 rtn 
+
+sdp_invalid_service_record_handle:
+6fbb 58000200 setarg 0x0200 
+6fbc 6001054a store 2 ,mem_sdp_error_code 
+6fbd 20206fc6 branch sdp_error_response 
+
+sdp_invalid_pdu_size:
+6fbe 58000400 setarg 0x0400 
+6fbf 6001054a store 2 ,mem_sdp_error_code 
+6fc0 20206fc6 branch sdp_error_response 
+
+sdp_insufficient_resource:
+6fc1 58000600 setarg 0x0600 
+6fc2 6001054a store 2 ,mem_sdp_error_code 
+6fc3 20206fc6 branch sdp_error_response 
+
+sdp_invalid_request_syntax:
+6fc4 58000300 setarg 0x0300 
+6fc5 6001054a store 2 ,mem_sdp_error_code 
+
+sdp_error_response:
+6fc6 204052d0 call l2cap_get_sdp_tx_payload 
+6fc7 e0a08000 istore 1 ,contw 
+6fc8 6801051c fetch 2 ,mem_sdp_transactionid 
+6fc9 e0a10000 istore 2 ,contw 
+6fca 58000200 setarg 0x0200 
+6fcb e0a10000 istore 2 ,contw 
+6fcc 6801054a fetch 2 ,mem_sdp_error_code 
+6fcd e0a10000 istore 2 ,contw 
+6fce 70027507 jam 7 ,mem_sdp_tx_pkt_length 
+6fcf 20600000 rtn 
+
+ask_serviceclassid:
+6fd0 da400000 arg 0 ,regb 
+6fd1 18000400 force 0 ,temp 
+6fd2 d8a00511 arg mem_sdp_uuid_search_ptr ,contw 
+6fd3 20407028 call dataelementtype6 
+6fd4 2022f026 branch asksrv_error ,zero 
+
+classidloop:
+6fd5 1a40a401 increase 1 ,regb 
+6fd6 e8c08000 ifetch 1 ,contr 
+6fd7 1a20a3ff increase -1 ,rega 
+6fd8 196097ff increase -1 ,timeup 
+6fd9 2fe1f018 compare 0x18 ,pdata ,0xf8 
+6fda 2420f026 nbranch asksrv_error ,true 
+6fdb 2fe00e04 compare 0x04 ,pdata ,0x07 
+6fdc 2420eff3 nbranch cmp032 ,true 
+6fdd 18000401 force 1 ,temp 
+
+skip2bytes:
+6fde e8c08000 ifetch 1 ,contr 
+6fdf 1a20a3ff increase -1 ,rega 
+6fe0 196097ff increase -1 ,timeup 
+6fe1 c0806fe7 bne 0x00 ,frstbwrong 
+6fe2 e8c08000 ifetch 1 ,contr 
+6fe3 1a20a3ff increase -1 ,rega 
+6fe4 196097ff increase -1 ,timeup 
+6fe5 c0006ff8 beq 0x00 ,cmpuuid 
+6fe6 20206fea branch scndbwrong 
+
+frstbwrong:
+6fe7 18c08c01 increase 1 ,contr 
+6fe8 1a20a3ff increase -1 ,rega 
+6fe9 196097ff increase -1 ,timeup 
+
+scndbwrong:
+6fea 18c08c02 increase 2 ,contr 
+6feb 1a20a3fe increase -2 ,rega 
+6fec 196097fe increase -2 ,timeup 
+6fed 2841fe00 compare 0x00 ,temp ,0xff 
+6fee 2020f020 branch loopornot ,true 
+6fef 18c08c0c increase 12 ,contr 
+6ff0 1a20a3f4 increase -12 ,rega 
+6ff1 196097f4 increase -12 ,timeup 
+6ff2 20207020 branch loopornot 
+
+cmp032:
+6ff3 2fe00e02 compare 0x02 ,pdata ,0x07 
+6ff4 2420eff6 nbranch cmp016 ,true 
+6ff5 20206fde branch skip2bytes 
+
+cmp016:
+6ff6 2fe00e01 compare 0x01 ,pdata ,0x07 
+6ff7 2420f026 nbranch asksrv_error ,true 
+
+cmpuuid:
+6ff8 1a20a3fe increase -2 ,rega 
+6ff9 196097fe increase -2 ,timeup 
+6ffa e8c10000 ifetch 2 ,contr 
+6ffb 1a467c04 sub regb ,4 ,null 
+6ffc 2022effe branch uuidsize ,zero 
+6ffd e0a10000 istore 2 ,contw 
+
+uuidsize:
+6ffe 2841fe00 compare 0x00 ,temp ,0xff 
+6fff 2020f020 branch loopornot ,true 
+7000 18c20400 copy contr ,temp 
+7001 e8c08000 ifetch 1 ,contr 
+7002 c0807019 bne 0x00 ,wrong12b 
+7003 e8c08000 ifetch 1 ,contr 
+7004 c0807019 bne 0x00 ,wrong12b 
+7005 e8c08000 ifetch 1 ,contr 
+7006 c0887019 bne 0x10 ,wrong12b 
+7007 e8c08000 ifetch 1 ,contr 
+7008 c0807019 bne 0x00 ,wrong12b 
+7009 e8c08000 ifetch 1 ,contr 
+700a c0c07019 bne 0x80 ,wrong12b 
+700b e8c08000 ifetch 1 ,contr 
+700c c0807019 bne 0x00 ,wrong12b 
+700d e8c08000 ifetch 1 ,contr 
+700e c0807019 bne 0x00 ,wrong12b 
+700f e8c08000 ifetch 1 ,contr 
+7010 c0c07019 bne 0x80 ,wrong12b 
+7011 e8c08000 ifetch 1 ,contr 
+7012 c0aff019 bne 0x5f ,wrong12b 
+7013 e8c08000 ifetch 1 ,contr 
+7014 c0cdf019 bne 0x9b ,wrong12b 
+7015 e8c08000 ifetch 1 ,contr 
+7016 c09a7019 bne 0x34 ,wrong12b 
+7017 e8c08000 ifetch 1 ,contr 
+7018 c07df01e beq 0xfb ,chck12dn 
+
+wrong12b:
+7019 18420c00 copy temp ,contr 
+
+wrong12b1:
+701a 18c08c0c increase 12 ,contr 
+701b 18000e00 force 0x00 ,queue 
+701c 18000400 force 0x00 ,temp 
+701d 2020701e branch chck12dn 
+
+chck12dn:
+701e 196097f4 increase -12 ,timeup 
+701f 1a20a3f4 increase -12 ,rega 
+
+loopornot:
+7020 18000400 force 0x00 ,temp 
+7021 2a21fe00 compare 0x00 ,rega ,0xff 
+7022 2420efd5 nbranch classidloop ,true 
+7023 18007e00 force 0 ,pdata 
+7024 e0a10000 istore 2 ,contw 
+7025 20600000 rtn 
+
+asksrv_error:
+7026 d84000ff arg 0xff ,temp 
+7027 20600000 rtn 
+
+dataelementtype6:
+7028 476a403a bpatchx patch3a_4 ,mem_patch3a 
+7029 e8c08000 ifetch 1 ,contr 
+702a 196097ff increase -1 ,timeup 
+702b 2fe1f030 compare 0x30 ,pdata ,0xf8 
+702c 2420f03e nbranch dsize_error ,true 
+702d 2fe00e07 compare 0x07 ,pdata ,0x07 
+702e 2020f037 branch dsize32 ,true 
+702f 2fe00e06 compare 0x06 ,pdata ,0x07 
+7030 2020f039 branch dsize16 ,true 
+7031 2fe00e05 compare 0x05 ,pdata ,0x07 
+7032 2420f03e nbranch dsize_error ,true 
+7033 e8c08000 ifetch 1 ,contr 
+7034 1fe22200 copy pdata ,rega 
+7035 196097ff increase -1 ,timeup 
+7036 2020703c branch dsize 
+
+dsize32:
+7037 18c08c02 increase 2 ,contr 
+7038 196097fe increase -2 ,timeup 
+
+dsize16:
+7039 e8c10000 ifetch 2 ,contr 
+703a 1ff0a200 byteswap pdata ,rega 
+703b 196097fe increase -2 ,timeup 
+
+dsize:
+703c 18007e01 force 0x01 ,pdata 
+703d 20600000 rtn 
+
+dsize_error:
+703e 18007e00 force 0x00 ,pdata 
+703f 20600000 rtn 
+
+ss_empty_rsp:
+7040 58000003 setarg sdp_search_res 
+7041 6000851b store 1 ,mem_sdp_pduid 
+7042 20207048 branch empty_response 
+
+sa_empty_rsp:
+7043 58000005 setarg sdp_attribute_res 
+7044 6000851b store 1 ,mem_sdp_pduid 
+7045 20207048 branch empty_response 
+
+ssa_empty_rsp:
+7046 58000007 setarg sdp_searchattrib_res 
+7047 6000851b store 1 ,mem_sdp_pduid 
+
+empty_response:
+7048 204052d0 call l2cap_get_sdp_tx_payload 
+7049 6800851b fetch 1 ,mem_sdp_pduid 
+704a 1fe22400 copy pdata ,regb 
+704b e0a08000 istore 1 ,contw 
+704c 6801051c fetch 2 ,mem_sdp_transactionid 
+704d e0a10000 istore 2 ,contw 
+704e 58000500 setarg 0x0500 
+704f e0a10000 istore 2 ,contw 
+7050 2a41fe05 compare sdp_attribute_res ,regb ,0xff 
+7051 2020f057 branch fullsearch ,true 
+7052 2a41fe07 compare sdp_searchattrib_res ,regb ,0xff 
+7053 2020f057 branch fullsearch ,true 
+7054 58000000 setarg 0x000000 
+7055 e0a28000 istore 5 ,contw 
+7056 20207059 branch outempty 
+
+fullsearch:
+7057 58350200 setarg 0x350200 
+7058 e0a28000 istore 5 ,contw 
+
+outempty:
+7059 7002750a jam 10 ,mem_sdp_tx_pkt_length 
+705a 20600000 rtn 
+
+sdp_data_len:
+705b 20407ea2 call store_contw 
+705c 20407ea5 call store_contr 
+705d 20407062 call sdp_get_data 
+705e 20407e9c call get_contw 
+705f 20407e9f call get_contr 
+7060 18427e00 copy temp ,pdata 
+7061 20600000 rtn 
+
+sdp_get_data:
+7062 e8c08000 ifetch 1 ,contr 
+7063 1fe17207 and pdata ,0x7 ,loopcnt 
+7064 1fe97e00 rshift3 pdata ,pdata 
+7065 c080706c bne 0 ,sdp_get_data_type_not0 
+
+sdp_get_data_type0:
+7066 18007e01 force 1 ,pdata 
+7067 18000401 force 1 ,temp 
+7068 20600000 rtn 
+
+sdp_get_data_type_not0_sizeindex01234:
+7069 20407e76 call left_shift_n 
+706a 1fe08401 add pdata ,1 ,temp 
+706b 20600000 rtn 
+
+sdp_get_data_type_not0:
+706c 1f227e00 deposit loopcnt 
+706d 1fe67c04 sub pdata ,4 ,null 
+706e 20217069 branch sdp_get_data_type_not0_sizeindex01234 ,positive 
+706f c002f073 beq 5 ,sdp_get_data_type_not0_sizeindex5 
+7070 c0037076 beq 6 ,sdp_get_data_type_not0_sizeindex6 
+7071 c003f07a beq 7 ,sdp_get_data_type_not0_sizeindex7 
+7072 20600000 rtn 
+
+sdp_get_data_type_not0_sizeindex5:
+7073 e8c08000 ifetch 1 ,contr 
+7074 1fe08402 add pdata ,2 ,temp 
+7075 20600000 rtn 
+
+sdp_get_data_type_not0_sizeindex6:
+7076 e8c10000 ifetch 2 ,contr 
+7077 1ff0fe00 byteswap pdata ,pdata 
+7078 1fe08403 add pdata ,3 ,temp 
+7079 20600000 rtn 
+
+sdp_get_data_type_not0_sizeindex7:
+707a e8c10000 ifetch 2 ,contr 
+707b 1ff0fe00 byteswap pdata ,pdata 
+707c e8c90000 ifetcht 2 ,contr 
+707d 18508400 byteswap temp ,temp 
+707e 18500400 lshift16 temp ,temp 
+707f 9840fe00 iadd temp ,pdata 
+7080 1fe08405 add pdata ,5 ,temp 
+7081 20600000 rtn 
+
+search_all_uuid:
+7082 476ac03a bpatchx patch3a_5 ,mem_patch3a 
+7083 18000e00 force 0 ,queue 
+7084 da400000 arg 0 ,regb 
+7085 d8a0052a arg mem_sdp_handle_list ,contw 
+
+search_all_uuid_llop:
+7086 e9610000 ifetch 2 ,timeup 
+7087 207a0000 rtn blank 
+7088 2040708d call search_uuid 
+7089 18e27e00 copy queue ,pdata 
+708a c1038000 rtneq sdp_max_handle_number 
+708b 19609602 increase 2 ,timeup 
+708c 20207086 branch search_all_uuid_llop 
+
+search_uuid:
+708d 98002600 iforce regc 
+708e 68014575 fetch 2 ,mem_ui_uuid_table 
+708f 98000c00 iforce contr 
+
+search_uuid_next:
+7090 18e27e00 copy queue ,pdata 
+7091 c1038000 rtneq sdp_max_handle_number 
+7092 78547c00 disable user 
+7093 e8c08000 ifetch 1 ,contr 
+7094 207a0000 rtn blank 
+7095 98007200 iforce loopcnt 
+
+search_uuid_loop:
+7096 e8c10000 ifetch 2 ,contr 
+7097 9a667c00 isub regc ,null 
+7098 2422f09a nbranch search_uuid_not_found ,zero 
+7099 78347c00 enable user 
+
+search_uuid_not_found:
+709a c2007096 loop search_uuid_loop 
+709b e8ca0000 ifetcht 4 ,contr 
+709c 18c22200 copy contr ,rega 
+709d 243470ad nbranch search_uuid_nomatch ,user 
+709e d8c0052a arg mem_sdp_handle_list ,contr 
+709f df200007 arg sdp_max_handle_number ,loopcnt 
+
+search_uuid_check_same_handle:
+70a0 e8c20000 ifetch 4 ,contr 
+70a1 203a70a6 branch search_uuid_store_handle ,blank 
+70a2 98467c00 isub temp ,null 
+70a3 2022f0ad branch search_uuid_nomatch ,zero 
+70a4 c20070a0 loop search_uuid_check_same_handle 
+70a5 20600000 rtn 
+
+search_uuid_store_handle:
+70a6 e0aa0000 istoret 4 ,contw 
+70a7 18e08e01 increase 1 ,queue 
+70a8 1a220c00 copy rega ,contr 
+70a9 2040705b call sdp_data_len 
+70aa 9a40a400 iadd regb ,regb 
+70ab 98c08c00 iadd contr ,contr 
+70ac 20207090 branch search_uuid_next 
+
+search_uuid_nomatch:
+70ad 1a220c00 copy rega ,contr 
+70ae 20407062 call sdp_get_data 
+70af 98c08c00 iadd contr ,contr 
+70b0 20207090 branch search_uuid_next 
+
+search_handle:
+70b1 476b403a bpatchx patch3a_6 ,mem_patch3a 
+70b2 68014575 fetch 2 ,mem_ui_uuid_table 
+70b3 98000c00 iforce contr 
+
+search_handle_loop:
+70b4 e8c08000 ifetch 1 ,contr 
+70b5 203a7fe3 branch disable_zero ,blank 
+70b6 1fe3fe00 lshift pdata ,pdata 
+70b7 98c08c00 iadd contr ,contr 
+70b8 e8c20000 ifetch 4 ,contr 
+70b9 98467c00 isub temp ,null 
+70ba 20628000 rtn zero 
+70bb 18a27e00 deposit contw 
+70bc 60010abb store 2 ,mem_contw 
+70bd 600c0aa2 storet 8 ,mem_temp 
+70be 20407062 call sdp_get_data 
+70bf 98c08c00 iadd contr ,contr 
+70c0 18c27e00 copy contr ,pdata 
+70c1 68090abb fetcht 2 ,mem_contw 
+70c2 18420a00 copy temp ,contw 
+70c3 680c0aa2 fetcht 8 ,mem_temp 
+70c4 1fe20c00 copy pdata ,contr 
+70c5 202070b4 branch search_handle_loop 
+
+search_attrib:
+70c6 476bc03a bpatchx patch3a_7 ,mem_patch3a 
+70c7 68014575 fetch 2 ,mem_ui_uuid_table 
+70c8 98000c00 iforce contr 
+
+search_attrib_next:
+70c9 e8c08000 ifetch 1 ,contr 
+70ca 203a70e4 branch search_attrib_end ,blank 
+70cb 98007200 iforce loopcnt 
+
+search_attrib_loop:
+70cc e8c10000 ifetch 2 ,contr 
+70cd 9a667c00 isub regc ,null 
+70ce 2022f0d4 branch search_attrib_found_uuid ,zero 
+70cf c20070cc loop search_attrib_loop 
+70d0 18c08c04 increase 4 ,contr 
+70d1 20407062 call sdp_get_data 
+70d2 98c08c00 iadd contr ,contr 
+70d3 202070c9 branch search_attrib_next 
+
+search_attrib_found_uuid:
+70d4 1f20f3ff increase -1 ,loopcnt 
+70d5 1f23fe00 lshift loopcnt ,pdata 
+70d6 98c08c00 iadd contr ,contr 
+70d7 18c08c04 increase 4 ,contr 
+70d8 20407062 call sdp_get_data 
+70d9 98c09600 iadd contr ,timeup 
+
+search_attrib_loop_attribs:
+70da 18c08c01 increase 1 ,contr 
+70db e8c10000 ifetch 2 ,contr 
+70dc 9a467c00 isub regb ,null 
+70dd 2022ffef branch disable_blank ,zero 
+70de 2040705b call sdp_data_len 
+70df 98c08c00 iadd contr ,contr 
+70e0 19627e00 deposit timeup 
+70e1 98c67c00 isub contr ,null 
+70e2 2022f0e4 branch search_attrib_end ,zero 
+70e3 202070da branch search_attrib_loop_attribs 
+
+search_attrib_end:
+70e4 18000c00 force 0 ,contr 
+70e5 18007e00 force 0 ,pdata 
+70e6 20600000 rtn 
+
+search_handle_attrib:
+70e7 476c403b bpatchx patch3b_0 ,mem_patch3b 
+70e8 68014575 fetch 2 ,mem_ui_uuid_table 
+70e9 98000c00 iforce contr 
+
+search_handle_attrib_next:
+70ea e8c08000 ifetch 1 ,contr 
+70eb 203a7100 branch search_handle_attrib_end ,blank 
+70ec 1fe3fe00 lshift pdata ,pdata 
+70ed 98c08c00 iadd contr ,contr 
+70ee e8c20000 ifetch 4 ,contr 
+70ef 98467c00 isub temp ,null 
+70f0 2022f0f4 branch search_handl_attrib_found_handle ,zero 
+70f1 20407062 call sdp_get_data 
+70f2 98c08c00 iadd contr ,contr 
+70f3 202070ea branch search_handle_attrib_next 
+
+search_handl_attrib_found_handle:
+70f4 20407062 call sdp_get_data 
+70f5 98c09600 iadd contr ,timeup 
+
+search_handle_attrib_loop_attribs:
+70f6 18c08c01 increase 1 ,contr 
+70f7 e8c10000 ifetch 2 ,contr 
+70f8 9a467c00 isub regb ,null 
+70f9 20628000 rtn zero 
+70fa 2040705b call sdp_data_len 
+70fb 98c08c00 iadd contr ,contr 
+70fc 19627e00 deposit timeup 
+70fd 98c67c00 isub contr ,null 
+70fe 2022f100 branch search_handle_attrib_end ,zero 
+70ff 202070f6 branch search_handle_attrib_loop_attribs 
+
+search_handle_attrib_end:
+7100 18000c00 force 0 ,contr 
+7101 20600000 rtn 
+
+search_rfcomm_cn:
+7102 da400400 arg 0x0400 ,regb 
+7103 204070f4 call search_handl_attrib_found_handle 
+7104 da400300 arg 0x0300 ,regb 
+7105 2040710d call search_uuid_in_data 
+7106 24740000 nrtn user 
+7107 1a267c03 sub rega ,3 ,null 
+7108 20217fe9 branch disable_user ,positive 
+7109 e8c08000 ifetch 1 ,contr 
+710a c0847fe9 bne 0x08 ,disable_user 
+710b e8c08000 ifetch 1 ,contr 
+710c 20600000 rtn 
+
+search_uuid_in_data:
+710d 476cc03b bpatchx patch3b_1 ,mem_patch3b 
+710e 20407062 call sdp_get_data 
+710f 1fe22200 copy pdata ,rega 
+
+search_uuid_in_data_loop:
+7110 e8c08000 ifetch 1 ,contr 
+7111 1fe17207 and pdata ,0x7 ,loopcnt 
+7112 1fe97e00 rshift3 pdata ,pdata 
+7113 1fe67c03 sub pdata ,3 ,null 
+7114 2022f129 branch search_uuid_in_data_found_uuid ,zero 
+7115 1f227e00 copy loopcnt ,pdata 
+7116 c002f120 beq 5 ,search_uuid_in_data_found_element_index5 
+7117 c0037123 beq 6 ,search_uuid_in_data_found_element_index6 
+7118 c003f126 beq 7 ,search_uuid_in_data_found_element_index7 
+7119 18c08dff increase -1 ,contr 
+711a 20407062 call sdp_get_data 
+711b 98c08c00 iadd contr ,contr 
+711c 1a227e00 copy rega ,pdata 
+711d 98462200 isub temp ,rega 
+711e 2022ffe9 branch disable_user ,zero 
+711f 20207110 branch search_uuid_in_data_loop 
+
+search_uuid_in_data_found_element_index5:
+7120 1a20a3fe increase -2 ,rega 
+7121 18c08c01 increase 1 ,contr 
+7122 20207110 branch search_uuid_in_data_loop 
+
+search_uuid_in_data_found_element_index6:
+7123 1a20a3fd increase -3 ,rega 
+7124 18c08c02 increase 2 ,contr 
+7125 20207110 branch search_uuid_in_data_loop 
+
+search_uuid_in_data_found_element_index7:
+7126 1a20a3fb increase -5 ,rega 
+7127 18c08c04 increase 4 ,contr 
+7128 20207110 branch search_uuid_in_data_loop 
+
+search_uuid_in_data_found_uuid:
+7129 1a20a3ff increase -1 ,rega 
+712a 1f227e00 copy loopcnt ,pdata 
+712b c000f132 beq 1 ,search_uuid_in_data_type_uuid_16 
+712c c0017130 beq 2 ,search_uuid_in_data_type_uuid_32 
+712d c002712f beq 4 ,search_uuid_in_data_type_uuid_128 
+712e 20207fe9 branch disable_user 
+
+search_uuid_in_data_type_uuid_128:
+712f 1a20a3f4 increase -12 ,rega 
+
+search_uuid_in_data_type_uuid_32:
+7130 e8c10000 ifetch 2 ,contr 
+7131 1a20a3fe increase -2 ,rega 
+
+search_uuid_in_data_type_uuid_16:
+7132 e8c10000 ifetch 2 ,contr 
+7133 9a467c00 isub regb ,null 
+7134 2022ffe7 branch enable_user ,zero 
+7135 1a20a3fe increase -2 ,rega 
+7136 2022ffe9 branch disable_user ,zero 
+7137 20207110 branch search_uuid_in_data_loop 
+
+sdp_send_spp_request:
+7138 204052d0 call l2cap_get_sdp_tx_payload 
+7139 1fe20a00 copy pdata ,contw 
+713a 58000006 setarg 6 
+713b e0a08000 istore 1 ,contw 
+713c 5800006e setarg sdp_tid_spp 
+713d e0a10000 istore 2 ,contw 
+713e 58000f00 setarg 0x0f00 
+713f e0a10000 istore 2 ,contw 
+7140 581a0535 setarg 0x1a0535 
+7141 e0a18000 istore 3 ,contw 
+7142 58000111 setarg 0x0111 
+7143 1ff07e00 lshift16 pdata ,pdata 
+7144 e0a20000 istore 4 ,contw 
+7145 58002600 setarg 0x2600 
+7146 e0a10000 istore 2 ,contw 
+7147 58000335 setarg 0x0335 
+7148 e0a10000 istore 2 ,contw 
+7149 58000009 setarg 0x0009 
+714a e0a10000 istore 2 ,contw 
+714b 58000004 setarg 0x0004 
+714c e0a10000 istore 2 ,contw 
+714d 70027514 jam 0x14 ,mem_sdp_tx_pkt_length 
+714e 20600000 rtn 
+
+function_g2:
+714f 476d403b bpatchx patch3b_2 ,mem_patch3b 
+7150 7005e550 jam 80 ,mem_aes_cmac_data_length 
+7151 d8a005e6 arg memdat ,contw 
+7152 d8c0443a arg mem_le_srand ,contr 
+7153 20407ebf call memcpy16 
+7154 d8c045d2 arg mem_le_pubkey_local_x_256 ,contr 
+7155 20407ebd call memcpy32 
+7156 d8c009be arg mem_le_pubkey_remote_x_256 ,contr 
+7157 20407ebd call memcpy32 
+7158 2040720a call inverse_memdat 
+7159 d8c0042f arg mem_le_mrand ,contr 
+715a 20407205 call store_inverse_k 
+715b 204071d0 call function_aes_cmac 
+715c d8a00af2 arg mem_aes_cmac_temp ,contw 
+715d 20407201 call load_inverse_result 
+715e 580f4240 setarg 1000000 
+715f 1fe22200 copy pdata ,rega 
+7160 68020af2 fetch 4 ,mem_aes_cmac_temp 
+7161 9a26fc00 idiv rega 
+7162 20407f86 call wait_div_end 
+7163 18077e00 remainder pdata 
+7164 600209ba store 4 ,mem_gkey 
+7165 20600000 rtn 
+
+function_f6_eb:
+7166 7005e541 jam 65 ,mem_aes_cmac_data_length 
+7167 d8a005e6 arg memdat ,contw 
+7168 204071b5 call store_addr_common_a 
+7169 204071b0 call store_addr_common_b 
+716a 6801c454 fetch 3 ,mem_le_pres + 1 
+716b e0a18000 istore 3 ,contw 
+716c 20407176 call get_r 
+716d d8c0042f arg mem_le_mrand ,contr 
+716e 20407ebf call memcpy16 
+716f d8c0443a arg mem_le_srand ,contr 
+7170 20407ebf call memcpy16 
+7171 2040720a call inverse_memdat 
+7172 d8c00b12 arg mem_le_mackey ,contr 
+7173 d8a00ac2 arg mem_aes_cmac_k ,contw 
+7174 20407ebf call memcpy16 
+7175 202071d0 branch function_aes_cmac 
+
+get_r:
+7176 680244c7 fetch 4 ,mem_le_tk 
+7177 e0a20000 istore 4 ,contw 
+7178 20407ecd call memset0_4 
+7179 20207eca branch memset0_8 
+
+function_f6_ea:
+717a 476dc03b bpatchx patch3b_3 ,mem_patch3b 
+717b 7005e541 jam 65 ,mem_aes_cmac_data_length 
+717c d8a005e6 arg memdat ,contw 
+717d 204071b0 call store_addr_common_b 
+717e 204071b5 call store_addr_common_a 
+717f 6801c44d fetch 3 ,mem_le_preq + 1 
+7180 e0a18000 istore 3 ,contw 
+7181 20407176 call get_r 
+7182 d8c0443a arg mem_le_srand ,contr 
+7183 20407ebf call memcpy16 
+7184 d8c0042f arg mem_le_mrand ,contr 
+7185 20407ebf call memcpy16 
+7186 2040720a call inverse_memdat 
+7187 d8c00b12 arg mem_le_mackey ,contr 
+7188 d8a00ac2 arg mem_aes_cmac_k ,contw 
+7189 20407ebf call memcpy16 
+718a 204071d0 call function_aes_cmac 
+718b d8a00af2 arg mem_aes_cmac_temp ,contw 
+718c 20207201 branch load_inverse_result 
+
+function_f5:
+718d 7005e520 jam 32 ,mem_aes_cmac_data_length 
+718e d8c009fe arg mem_le_dhkey_256 ,contr 
+718f d8a005e6 arg memdat ,contw 
+7190 20407ebd call memcpy32 
+7191 2040720a call inverse_memdat 
+7192 d8c0099e arg mem_le_slat ,contr 
+7193 20407205 call store_inverse_k 
+7194 204071d0 call function_aes_cmac 
+7195 d8a00ac2 arg mem_aes_cmac_k ,contw 
+7196 20407497 call store_aes_result 
+7197 d8400001 arg 1 ,temp 
+7198 2040719f call function_f5_common 
+7199 d8a04419 arg mem_le_ltk ,contw 
+719a 20407201 call load_inverse_result 
+719b d8400000 arg 0 ,temp 
+719c 2040719f call function_f5_common 
+719d d8a00b12 arg mem_le_mackey ,contw 
+719e 20207497 branch store_aes_result 
+
+function_f5_common:
+719f 476e403b bpatchx patch3b_4 ,mem_patch3b 
+71a0 7005e535 jam 53 ,mem_aes_cmac_data_length 
+71a1 58000100 setarg 0x100 
+71a2 600105e6 store 2 ,memdat 
+71a3 204071b0 call store_addr_common_b 
+71a4 204071b5 call store_addr_common_a 
+71a5 d8c0443a arg mem_le_srand ,contr 
+71a6 20407ebf call memcpy16 
+71a7 d8c0042f arg mem_le_mrand ,contr 
+71a8 20407ebf call memcpy16 
+71a9 58006c65 setarg 0x6c65 
+71aa e0a10000 istore 2 ,contw 
+71ab 58006274 setarg 0x6274 
+71ac e0a10000 istore 2 ,contw 
+71ad e0a88000 istoret 1 ,contw 
+71ae 2040720a call inverse_memdat 
+71af 202071d0 branch function_aes_cmac 
+
+store_addr_common_b:
+71b0 680344a0 fetch 6 ,mem_le_lap 
+71b1 e0a30000 istore 6 ,contw 
+71b2 6800c495 fetch 1 ,mem_le_conn_own_addr_type 
+71b3 e0a08000 istore 1 ,contw 
+71b4 20600000 rtn 
+
+store_addr_common_a:
+71b5 6803044f fetch 6 ,mem_le_plap 
+71b6 e0a30000 istore 6 ,contw 
+71b7 6800c48e fetch 1 ,mem_le_conn_peer_addr_type 
+71b8 e0a08000 istore 1 ,contw 
+71b9 20600000 rtn 
+
+function_f4_ca:
+71ba 7005e541 jam 65 ,mem_aes_cmac_data_length 
+71bb 6800c664 fetch 1 ,mem_passkey_1bit 
+71bc 600085e6 store 1 ,memdat 
+71bd d8c045d2 arg mem_le_pubkey_local_x_256 ,contr 
+71be 20407ebd call memcpy32 
+71bf d8c009be arg mem_le_pubkey_remote_x_256 ,contr 
+71c0 20407ebd call memcpy32 
+71c1 2040720a call inverse_memdat 
+71c2 d8c0042f arg mem_le_mrand ,contr 
+71c3 20407205 call store_inverse_k 
+71c4 202071d0 branch function_aes_cmac 
+
+function_f4_cb:
+71c5 7005e541 jam 65 ,mem_aes_cmac_data_length 
+71c6 6800c664 fetch 1 ,mem_passkey_1bit 
+71c7 600085e6 store 1 ,memdat 
+71c8 d8c009be arg mem_le_pubkey_remote_x_256 ,contr 
+71c9 20407ebd call memcpy32 
+71ca d8c045d2 arg mem_le_pubkey_local_x_256 ,contr 
+71cb 20407ebd call memcpy32 
+71cc 2040720a call inverse_memdat 
+71cd d8c0443a arg mem_le_srand ,contr 
+71ce 20407205 call store_inverse_k 
+71cf 202071d0 branch function_aes_cmac 
+
+function_aes_cmac:
+71d0 476ec03b bpatchx patch3b_5 ,mem_patch3b 
+71d1 2040721f call function_aes_cmac_generate_subkey 
+71d2 680085e5 fetch 1 ,mem_aes_cmac_data_length 
+71d3 1fe20400 copy pdata ,temp 
+
+function_ceil16:
+71d4 1fe0fe0f increase 15 ,pdata 
+71d5 1ff1fe00 rshift4 pdata ,pdata 
+71d6 1fe22400 copy pdata ,regb 
+71d7 203a71e2 branch function_aes_cmac_set_flag_0_balnk ,blank 
+71d8 18417e0f and temp ,0x0f ,pdata 
+71d9 243a71e5 nbranch function_aes_cmac_set_flag_0 ,blank 
+71da da600ad2 arg mem_aes_cmac_k1 ,regc 
+71db dfe005e6 arg memdat ,pdata 
+71dc 1fe0fff0 increase -16 ,pdata 
+71dd 9840a200 iadd temp ,rega 
+71de d8a00b02 arg mem_aes_cmac_m_last ,contw 
+71df df200004 arg 4 ,loopcnt 
+71e0 20407edd call xor_loop 
+71e1 202071f0 branch function_aes_cmac_aes 
+
+function_aes_cmac_set_flag_0_balnk:
+71e2 da400001 arg 1 ,regb 
+71e3 da200000 arg 0 ,rega 
+71e4 202071e6 branch function_aes_cmac_set_flag_0_common 
+
+function_aes_cmac_set_flag_0:
+71e5 1841220f and temp ,0x0f ,rega 
+
+function_aes_cmac_set_flag_0_common:
+71e6 dfe005e6 arg memdat ,pdata 
+71e7 9840fe00 iadd temp ,pdata 
+71e8 9a260c00 isub rega ,contr 
+71e9 d8a00af2 arg mem_aes_cmac_temp ,contw 
+71ea 20407245 call function_aes_cmac_padding 
+71eb da600ae2 arg mem_aes_cmac_k2 ,regc 
+71ec da200af2 arg mem_aes_cmac_temp ,rega 
+71ed d8a00b02 arg mem_aes_cmac_m_last ,contw 
+71ee df200004 arg 4 ,loopcnt 
+71ef 20407edd call xor_loop 
+
+function_aes_cmac_aes:
+71f0 20407491 call aes_clear_data 
+71f1 20407428 call aes_init 
+71f2 d8c005e6 arg memdat ,contr 
+
+function_aes_cmac_aes_loop:
+71f3 1a40a5ff increase -1 ,regb 
+71f4 1a427e00 deposit regb 
+71f5 203a71f9 branch function_aes_cmac_aes_loop_end ,blank 
+71f6 20407486 call load_data128 
+71f7 20407422 call do_aes_cbc 
+71f8 202071f3 branch function_aes_cmac_aes_loop 
+
+function_aes_cmac_aes_loop_end:
+71f9 d8a00af2 arg mem_aes_cmac_temp ,contw 
+71fa 20407497 call store_aes_result 
+71fb d8c00b02 arg mem_aes_cmac_m_last ,contr 
+71fc 20407486 call load_data128 
+71fd 20407428 call aes_init 
+71fe d8c00af2 arg mem_aes_cmac_temp ,contr 
+71ff 20407486 call load_data128 
+7200 20207422 branch do_aes_cbc 
+
+load_inverse_result:
+7201 18a22200 copy contw ,rega 
+7202 20407497 call store_aes_result 
+7203 df200010 arg 16 ,loopcnt 
+7204 20207ee5 branch inverse_data 
+
+store_inverse_k:
+7205 d8a00ac2 arg mem_aes_cmac_k ,contw 
+7206 20407ebf call memcpy16 
+
+inverse_k:
+7207 df200010 arg 16 ,loopcnt 
+7208 da200ac2 arg mem_aes_cmac_k ,rega 
+7209 20207ee5 branch inverse_data 
+
+inverse_memdat:
+720a 680085e5 fetch 1 ,mem_aes_cmac_data_length 
+720b 1fe27200 copy pdata ,loopcnt 
+720c da2005e6 arg memdat ,rega 
+720d 20207ee5 branch inverse_data 
+
+bn_lshift_0_inverse:
+720e ea208000 ifetch 1 ,rega 
+720f 1fe3fe00 lshift pdata ,pdata 
+7210 2a6ffe00 isolate1 0 ,regc 
+7211 7920fe00 setflag true ,0 ,pdata 
+7212 2feffe08 isolate1 8 ,pdata 
+7213 7920a600 setflag true ,0 ,regc 
+7214 e2208000 istore 1 ,rega 
+7215 1a20a3ff increase -1 ,rega 
+7216 c200720e loop bn_lshift_0_inverse 
+7217 20600000 rtn 
+
+function_aes_cmac_k1_inverse:
+7218 da200ad2 arg mem_aes_cmac_k1 ,rega 
+
+function_aes_cmac_inverse_common:
+7219 1a20a20f increase 15 ,rega 
+721a 18007210 force 16 ,loopcnt 
+721b 18002600 force 0 ,regc 
+721c 2020720e branch bn_lshift_0_inverse 
+
+function_aes_cmac_k2_inverse:
+721d da200ae2 arg mem_aes_cmac_k2 ,rega 
+721e 20207219 branch function_aes_cmac_inverse_common 
+
+function_aes_cmac_generate_subkey:
+721f d8c00ac2 arg mem_aes_cmac_k ,contr 
+7220 20407484 call load_key 
+7221 18007008 force regidx_xor ,regext_index 
+7222 20407492 call aes_clear 
+7223 20407491 call aes_clear_data 
+7224 2040741f call do_aes_ocb 
+7225 d8a00ad2 arg mem_aes_cmac_k1 ,contw 
+7226 20407497 call store_aes_result 
+
+function_aes_cmac_k1:
+7227 476f403b bpatchx patch3b_6 ,mem_patch3b 
+7228 68008ad2 fetch 1 ,mem_aes_cmac_k1 
+7229 2feffe07 isolate1 7 ,pdata 
+722a 2420f230 nbranch function_aes_cmac_k1_0 ,true 
+722b 20407218 call function_aes_cmac_k1_inverse 
+722c da600ad2 arg mem_aes_cmac_k1 ,regc 
+722d d8a00ad2 arg mem_aes_cmac_k1 ,contw 
+722e 2040723a call function_aes_cmac_xor_rb 
+722f 20207231 branch function_aes_cmac_k2 
+
+function_aes_cmac_k1_0:
+7230 20407218 call function_aes_cmac_k1_inverse 
+
+function_aes_cmac_k2:
+7231 d8c00ad2 arg mem_aes_cmac_k1 ,contr 
+7232 d8a00ae2 arg mem_aes_cmac_k2 ,contw 
+7233 20407ebf call memcpy16 
+7234 68008ae2 fetch 1 ,mem_aes_cmac_k2 
+7235 2feffe07 isolate1 7 ,pdata 
+7236 2420f21d nbranch function_aes_cmac_k2_inverse ,true 
+7237 2040721d call function_aes_cmac_k2_inverse 
+7238 da600ae2 arg mem_aes_cmac_k2 ,regc 
+7239 d8a00ae2 arg mem_aes_cmac_k2 ,contw 
+
+function_aes_cmac_xor_rb:
+723a df200003 arg 3 ,loopcnt 
+
+function_aes_cmac_xor_rb_loop:
+723b d8400000 arg 0 ,temp 
+723c 20407241 call function_aes_cmac_xor_loop_common 
+723d 1a60a604 increase 4 ,regc 
+723e c200723b loop function_aes_cmac_xor_rb_loop 
+723f d8408700 arg 0x8700 ,temp 
+7240 18500400 lshift16 temp ,temp 
+
+function_aes_cmac_xor_loop_common:
+7241 ea620000 ifetch 4 ,regc 
+7242 9842fe00 ixor temp ,pdata 
+7243 e0a20000 istore 4 ,contw 
+7244 20600000 rtn 
+
+function_aes_cmac_padding:
+7245 476fc03b bpatchx patch3b_7 ,mem_patch3b 
+7246 df200010 arg 16 ,loopcnt 
+7247 dfe00000 arg 0 ,pdata 
+
+function_aes_cmac_padding_loop:
+7248 9a267c00 isub rega ,null 
+7249 2022f250 branch function_aes_cmac_padding_beq_length ,zero 
+724a 20217253 branch function_aes_cmac_padding_big_length ,positive 
+724b e8c88000 ifetcht 1 ,contr 
+724c e0a88000 istoret 1 ,contw 
+
+function_aes_cmac_padding_loop2:
+724d 1fe0fe01 increase 1 ,pdata 
+724e c2007248 loop function_aes_cmac_padding_loop 
+724f 20600000 rtn 
+
+function_aes_cmac_padding_beq_length:
+7250 d8400080 arg 0x80 ,temp 
+
+function_aes_cmac_padding_common:
+7251 e0a88000 istoret 1 ,contw 
+7252 2020724d branch function_aes_cmac_padding_loop2 
+
+function_aes_cmac_padding_big_length:
+7253 d8400000 arg 0 ,temp 
+7254 20207251 branch function_aes_cmac_padding_common 
+
+generate_kinit:
+7255 20407268 call function_e22 
+7256 d8c00592 arg mem_input_store ,contr 
+7257 d8a00582 arg mem_kinit ,contw 
+7258 20207ebf branch memcpy16 
+
+function_e21:
+7259 78547c00 disable user 
+725a 2040735f call function_expand 
+725b d8c00562 arg mem_random_number ,contr 
+725c d8a005a2 arg mem_x ,contw 
+725d 1800720f force 15 ,loopcnt 
+725e 20407f01 call memcpy 
+725f e8c08000 ifetch 1 ,contr 
+7260 1fe2fe06 xor_into 6 ,pdata 
+7261 e0a08000 istore 1 ,contw 
+7262 580005b2 setarg mem_y 
+7263 600105d6 store 2 ,memp_ar_input 
+7264 580005a2 setarg mem_x 
+7265 600105d4 store 2 ,memp_ar_key 
+7266 79200012 set1 mark_ar2 ,mark 
+7267 202072a8 branch function_ar 
+
+function_e22:
+7268 6808c689 fetcht 1 ,mem_pin_length 
+7269 18002410 force 16 ,regb 
+726a 1840a606 add temp ,6 ,regc 
+726b 1a667c10 sub regc ,16 ,null 
+726c 2021726e branch function_e22_pin_init ,positive 
+726d 18002610 force 16 ,regc 
+
+function_e22_pin_init:
+726e d8a005a2 arg mem_x ,contw 
+
+function_e22_genx_pin:
+726f d8c0468a arg mem_pin ,contr 
+7270 18427200 copy temp ,loopcnt 
+7271 78547c00 disable user 
+
+function_e22_genx_loop:
+7272 e8c08000 ifetch 1 ,contr 
+7273 e0a08000 istore 1 ,contw 
+7274 1a40a5ff increase -1 ,regb 
+7275 2022f27c branch function_e22_genx_end ,zero 
+7276 c2007272 loop function_e22_genx_loop 
+7277 2034726f branch function_e22_genx_pin ,user 
+7278 78347c00 enable user 
+7279 18007206 force 6 ,loopcnt 
+727a 1a220c00 copy rega ,contr 
+727b 20207272 branch function_e22_genx_loop 
+
+function_e22_genx_end:
+727c d8c00562 arg mem_random_number ,contr 
+727d d8a005b2 arg mem_y ,contw 
+727e 20407ebf call memcpy16 
+727f 680085c1 fetch 1 ,mem_y15 
+7280 9a62fe00 ixor regc ,pdata 
+7281 600085c1 store 1 ,mem_y15 
+7282 580005b2 setarg mem_y 
+7283 600105d6 store 2 ,memp_ar_input 
+7284 580005a2 setarg mem_x 
+7285 600105d4 store 2 ,memp_ar_key 
+7286 79200012 set1 mark_ar2 ,mark 
+7287 202072a8 branch function_ar 
+
+function_e1:
+7288 78547c00 disable user 
+7289 2040735f call function_expand 
+728a 20207292 branch function_hash 
+
+function_e3:
+728b da200056 arg mem_aco ,rega 
+728c 78347c00 enable user 
+728d 2040735f call function_expand 
+728e 20407292 call function_hash 
+728f d8c00592 arg mem_input_store ,contr 
+7290 d8a00062 arg mem_kc ,contw 
+7291 20207ebf branch memcpy16 
+
+function_hash:
+7292 58000562 setarg mem_random_number 
+7293 600105d6 store 2 ,memp_ar_input 
+7294 580041be setarg mem_link_key 
+7295 600105d4 store 2 ,memp_ar_key 
+7296 793f8012 set0 mark_ar2 ,mark 
+7297 204072a8 call function_ar 
+7298 da200592 arg mem_input_store ,rega 
+7299 da400562 arg mem_random_number ,regb 
+729a d8a005a2 arg mem_x ,contw 
+729b 20407352 call xor16 
+729c da2005a2 arg mem_x ,rega 
+729d da4005b2 arg mem_y ,regb 
+729e 1a420a00 copy regb ,contw 
+729f 78347c00 enable user 
+72a0 20407350 call add16 
+72a1 2040736a call key_offset 
+72a2 580005b2 setarg mem_y 
+72a3 600105d6 store 2 ,memp_ar_input 
+72a4 580005a2 setarg mem_x 
+72a5 600105d4 store 2 ,memp_ar_key 
+72a6 79200012 set1 mark_ar2 ,mark 
+72a7 202072a8 branch function_ar 
+
+function_ar:
+72a8 7005d800 jam 0 ,mem_ar_hround 
+72a9 680105d4 fetch 2 ,memp_ar_key 
+72aa 98000c00 iforce contr 
+72ab d8a005c2 arg mem_key_store ,contw 
+72ac 20407ebf call memcpy16 
+72ad 680105d6 fetch 2 ,memp_ar_input 
+72ae 98000c00 iforce contr 
+72af d8a00592 arg mem_input_store ,contw 
+72b0 20407ebf call memcpy16 
+
+function_ar_loop:
+72b1 204072cf call key_scheduling 
+72b2 78547c00 disable user 
+72b3 c58972b9 bmark0 mark_ar2 ,function_ar_original 
+72b4 680085d8 fetch 1 ,mem_ar_hround 
+72b5 c08272b9 bne 4 ,function_ar_original 
+72b6 680105d6 fetch 2 ,memp_ar_input 
+72b7 98002400 iforce regb 
+72b8 20407301 call xor_mod32_ar2 
+
+function_ar_original:
+72b9 20407300 call xor_mod32 
+72ba 20407313 call el_boxes 
+72bb 680085d8 fetch 1 ,mem_ar_hround 
+72bc 1fe0fe01 increase 1 ,pdata 
+72bd 600085d8 store 1 ,mem_ar_hround 
+72be 204072cf call key_scheduling 
+72bf 78347c00 enable user 
+72c0 20407300 call xor_mod32 
+72c1 20407322 call pht 
+72c2 20407331 call permute 
+72c3 20407322 call pht 
+72c4 20407331 call permute 
+72c5 20407322 call pht 
+72c6 20407331 call permute 
+72c7 20407322 call pht 
+72c8 680085d8 fetch 1 ,mem_ar_hround 
+72c9 1fe0fe01 increase 1 ,pdata 
+72ca 600085d8 store 1 ,mem_ar_hround 
+72cb c08872b1 bne 16 ,function_ar_loop 
+72cc 204072cf call key_scheduling 
+72cd 78547c00 disable user 
+72ce 20207300 branch xor_mod32 
+
+key_scheduling:
+72cf 680085d8 fetch 1 ,mem_ar_hround 
+72d0 d8c005c2 arg mem_key_store ,contr 
+72d1 203a72f6 branch key_sched_zero ,blank 
+72d2 98002400 iforce regb 
+72d3 18007211 force 17 ,loopcnt 
+72d4 18c20a00 copy contr ,contw 
+
+key_rotateloop:
+72d5 e8c08000 ifetch 1 ,contr 
+72d6 1fe98400 lshift3 pdata ,temp 
+72d7 1feb7e00 rshift2 pdata ,pdata 
+72d8 1fe97e00 rshift3 pdata ,pdata 
+72d9 9841fe00 ior temp ,pdata 
+72da e0a08000 istore 1 ,contw 
+72db c20072d5 loop key_rotateloop 
+72dc 580005c2 setarg mem_key_store 
+72dd 9a408c00 iadd regb ,contr 
+72de 18007210 force 16 ,loopcnt 
+72df d8a00572 arg mem_round_key ,contw 
+
+key_select_octet_loop:
+72e0 e8c08000 ifetch 1 ,contr 
+72e1 e0a08000 istore 1 ,contw 
+72e2 28c1ffd3 compare mem_key_store_end ,contr ,0xff 
+72e3 2420f2e5 nbranch key_select_octet_nwrap ,true 
+72e4 18c08def increase -17 ,contr 
+
+key_select_octet_nwrap:
+72e5 c20072e0 loop key_select_octet_loop 
+72e6 18002200 force 0 ,rega 
+72e7 1a40a7ff add regb ,-1 ,regc 
+72e8 1a6ba600 lshift2 regc ,regc 
+72e9 1a6ba600 lshift2 regc ,regc 
+72ea 204074b9 call enable_authrom 
+72eb 58008400 setarg mem_b_box 
+72ec 9a60a600 iadd regc ,regc 
+72ed d8a00572 arg mem_round_key ,contw 
+72ee 18007210 force 16 ,loopcnt 
+
+bias_round_key_loop:
+72ef ea688000 ifetcht 1 ,regc 
+72f0 e8a08000 ifetch 1 ,contw 
+72f1 9840fe00 iadd temp ,pdata 
+72f2 e0a08000 istore 1 ,contw 
+72f3 1a60a601 increase 1 ,regc 
+72f4 c20072ef loop bias_round_key_loop 
+72f5 202074bd branch disable_authrom 
+
+key_sched_zero:
+72f6 18007210 force 16 ,loopcnt 
+72f7 18000400 force 0 ,temp 
+
+create_byte_16_loop:
+72f8 e8c08000 ifetch 1 ,contr 
+72f9 98428400 ixor temp ,temp 
+72fa c20072f8 loop create_byte_16_loop 
+72fb 18427e00 deposit temp 
+72fc e0c08000 istore 1 ,contr 
+72fd d8c005c2 arg mem_key_store ,contr 
+72fe d8a00572 arg mem_round_key ,contw 
+72ff 20207ebf branch memcpy16 
+
+xor_mod32:
+7300 da400572 arg mem_round_key ,regb 
+
+xor_mod32_ar2:
+7301 18007210 force 16 ,loopcnt 
+7302 da200592 arg mem_input_store ,rega 
+7303 1a220a00 copy rega ,contw 
+
+xor_mod32_loop:
+7304 ea288000 ifetcht 1 ,rega 
+7305 ea408000 ifetch 1 ,regb 
+7306 9842e000 ixor temp ,alarm 
+7307 1f212603 and loopcnt ,3 ,regc 
+7308 2434730a nbranch xor_mod32_invert ,user 
+7309 1a62a603 xor_into 3 ,regc 
+
+xor_mod32_invert:
+730a 1a662601 sub regc ,1 ,regc 
+730b 2021730d branch xor_even ,positive 
+730c 9840e000 iadd temp ,alarm 
+
+xor_even:
+730d 1e027e00 deposit alarm 
+730e e0a08000 istore 1 ,contw 
+730f 1a20a201 increase 1 ,rega 
+7310 1a40a401 increase 1 ,regb 
+7311 c2007304 loop xor_mod32_loop 
+7312 20600000 rtn 
+
+el_boxes:
+7313 204074b9 call enable_authrom 
+7314 18007210 force 16 ,loopcnt 
+7315 da200592 arg mem_input_store ,rega 
+
+el_box_loop:
+7316 ea208000 ifetch 1 ,rega 
+7317 d8c08500 arg mem_e_box ,contr 
+7318 1f212603 and loopcnt ,3 ,regc 
+7319 1a667c01 sub regc ,1 ,null 
+731a 2021731c branch e_boxes ,positive 
+731b d8c08600 arg mem_l_box ,contr 
+
+e_boxes:
+731c 98c08c00 iadd contr ,contr 
+731d e8c08000 ifetch 1 ,contr 
+731e e2208000 istore 1 ,rega 
+731f 1a20a201 increase 1 ,rega 
+7320 c2007316 loop el_box_loop 
+7321 202074bd branch disable_authrom 
+
+pht:
+7322 18007208 force 8 ,loopcnt 
+7323 d8c00592 arg mem_input_store ,contr 
+7324 18c20a00 copy contr ,contw 
+
+pht_loop:
+7325 e8c08000 ifetch 1 ,contr 
+7326 98002200 iforce rega 
+7327 e8c08000 ifetch 1 ,contr 
+7328 98002400 iforce regb 
+7329 1a23fe00 lshift rega ,pdata 
+732a 9a40fe00 iadd regb ,pdata 
+732b e0a08000 istore 1 ,contw 
+732c 1a227e00 deposit rega 
+732d 9a40fe00 iadd regb ,pdata 
+732e e0a08000 istore 1 ,contw 
+732f c2007325 loop pht_loop 
+7330 20600000 rtn 
+
+permute:
+7331 588ae42c setarg 0x8ae42c 
+7332 98000400 iforce temp 
+7333 18007207 force 7 ,loopcnt 
+7334 20407340 call permute_exchange 
+7335 580d751b setarg 0xd751b 
+7336 98000400 iforce temp 
+7337 18007205 force 5 ,loopcnt 
+7338 20407340 call permute_exchange 
+7339 680085a1 fetch 1 ,mem_input_store + 15 
+733a 98002200 iforce rega 
+733b 68008595 fetch 1 ,mem_input_store + 3 
+733c 600085a1 store 1 ,mem_input_store + 15 
+733d 1a227e00 deposit rega 
+733e 60008595 store 1 ,mem_input_store + 3 
+733f 20600000 rtn 
+
+permute_exchange:
+7340 1841240f and temp ,0xf ,regb 
+
+permute_loop:
+7341 18417e0f and temp ,0xf ,pdata 
+7342 d8a00592 arg mem_input_store ,contw 
+7343 98a08a00 iadd contw ,contw 
+7344 e8a08000 ifetch 1 ,contw 
+7345 98002600 iforce regc 
+7346 1a227e00 deposit rega 
+7347 e0a08000 istore 1 ,contw 
+7348 1a622200 copy regc ,rega 
+7349 18518400 rshift4 temp ,temp 
+734a c2007341 loop permute_loop 
+734b 58000592 setarg mem_input_store 
+734c 9a408a00 iadd regb ,contw 
+734d 1a227e00 deposit rega 
+734e e0a08000 istore 1 ,contw 
+734f 20600000 rtn 
+
+add16:
+7350 78347c00 enable user 
+7351 20207353 branch xor_add16 
+
+xor16:
+7352 78547c00 disable user 
+
+xor_add16:
+7353 18007210 force 16 ,loopcnt 
+
+xoradd_loop:
+7354 ea288000 ifetcht 1 ,rega 
+7355 ea408000 ifetch 1 ,regb 
+7356 20347359 branch xoradd_add ,user 
+7357 9842fe00 ixor temp ,pdata 
+7358 2020735a branch xoradd_store 
+
+xoradd_add:
+7359 9840fe00 iadd temp ,pdata 
+
+xoradd_store:
+735a e0a08000 istore 1 ,contw 
+735b 1a20a201 increase 1 ,rega 
+735c 1a40a401 increase 1 ,regb 
+735d c2007354 loop xoradd_loop 
+735e 20600000 rtn 
+
+function_expand:
+735f d8a005b2 arg mem_y ,contw 
+7360 ea230000 ifetch 6 ,rega 
+7361 e0a30000 istore 6 ,contw 
+7362 20347365 branch expand_12 ,user 
+7363 ea230000 ifetch 6 ,rega 
+7364 20207366 branch expand_cont 
+
+expand_12:
+7365 e8c30000 ifetch 6 ,contr 
+
+expand_cont:
+7366 e0a30000 istore 6 ,contw 
+7367 ea220000 ifetch 4 ,rega 
+7368 e0a20000 istore 4 ,contw 
+7369 20600000 rtn 
+
+key_offset:
+736a d8c041be arg mem_link_key ,contr 
+736b d8a005a2 arg mem_x ,contw 
+736c d8400000 arg 0 ,temp 
+736d 588395a7 setarg 0x8395a7 
+736e 2040738b call concatenate_temp24 
+736f 58b3c1df setarg 0xb3c1df 
+7370 2040738b call concatenate_temp24 
+7371 5800e5e9 setarg 0xe5e9 
+7372 2040738c call concatenate_temp16 
+7373 18422800 copy temp ,regab 
+7374 78547c00 disable user 
+7375 20407379 call key_addxor 
+7376 1a820400 copy regab ,temp 
+7377 78347c00 enable user 
+7378 20207379 branch key_addxor 
+
+key_addxor:
+7379 18007208 force 8 ,loopcnt 
+
+key_addxor_loop:
+737a e8c08000 ifetch 1 ,contr 
+737b 2f200201 compare 1 ,loopcnt ,1 
+737c 20347380 branch key_high ,user 
+737d 2020f381 branch key_xor ,true 
+
+key_add:
+737e 9840fe00 iadd temp ,pdata 
+737f 20207382 branch key_store 
+
+key_high:
+7380 2020f37e branch key_add ,true 
+
+key_xor:
+7381 9842fe00 ixor temp ,pdata 
+
+key_store:
+7382 e0a08000 istore 1 ,contw 
+7383 184c8400 rshift8 temp ,temp 
+7384 c200737a loop key_addxor_loop 
+7385 20600000 rtn 
+
+copy_aco:
+7386 68030596 fetch 6 ,mem_input_store + 4 
+7387 60030056 store 6 ,mem_aco 
+7388 e8c30000 ifetch 6 ,contr 
+7389 e0a30000 istore 6 ,contw 
+738a 20600000 rtn 
+
+concatenate_temp24:
+738b 184d0400 lshift8 temp ,temp 
+
+concatenate_temp16:
+738c 18500400 lshift16 temp ,temp 
+738d 98418400 ior temp ,temp 
+738e 20600000 rtn 
+
+loop1:
+738f 2020738f branch loop1 
+
+generate_stk:
+7390 4770403c bpatchx patch3c_0 ,mem_patch3c 
+7391 2040742b call function_s1 
+7392 d8a04419 arg mem_le_ltk ,contw 
+7393 20207497 branch store_aes_result 
+
+authenticate_rconfirm:
+7394 d8a0443a arg mem_le_srand ,contw 
+7395 2034f397 branch authenticate_mconfirm ,master 
+7396 d8a0042f arg mem_le_mrand ,contw 
+
+authenticate_mconfirm:
+7397 18c22200 copy contr ,rega 
+7398 20407ebf call memcpy16 
+7399 20407440 call function_c1 
+739a d8c0442a arg mem_le_rconfirm ,contr 
+739b 202074b0 branch compare_res 
+
+generate_confirm:
+739c da20042f arg mem_le_mrand ,rega 
+739d 2034f39f branch generate_mrand ,master 
+739e da20443a arg mem_le_srand ,rega 
+
+generate_mrand:
+739f 1a220a00 copy rega ,contw 
+73a0 2040630c call generate_random 
+73a1 20207440 branch function_c1 
+
+generate_sk:
+73a2 d8c044aa arg mem_le_skdm ,contr 
+73a3 20407486 call load_data128 
+73a4 d8c04419 arg mem_le_ltk ,contr 
+73a5 20407487 call load_regext 
+73a6 18006c38 force 0x38 ,aes_ctrl 
+73a7 18006c00 force 0x0 ,aes_ctrl 
+73a8 2040741d call wait_aes 
+73a9 d8a0047c arg mem_le_sk ,contw 
+73aa 20207497 branch store_aes_result 
+
+first_block_counter:
+73ab 18007e49 force 0x49 ,pdata 
+73ac 202073ae branch first_block 
+
+first_block_data:
+73ad 18007e01 force 1 ,pdata 
+
+first_block:
+73ae 18007000 force regidx_data ,regext_index 
+73af 184d5e00 lshift8 temp ,regext 
+73b0 9de1de00 ior regext ,regext 
+73b1 1f00f001 increase 1 ,regext_index 
+73b2 184cde00 rshift8 temp ,regext 
+73b3 1df15e00 rshift16 regext ,regext 
+73b4 68014411 fetch 2 ,mem_le_ivm 
+73b5 1ff07e00 lshift16 ,pdata ,pdata 
+73b6 9de1de00 ior regext ,regext 
+73b7 1f00f001 increase 1 ,regext_index 
+73b8 e8c20000 ifetch 4 ,contr 
+73b9 98005e00 iforce regext 
+73ba 1f00f001 increase 1 ,regext_index 
+73bb e8c10000 ifetch 2 ,contr 
+73bc 1a30de00 byteswap rega ,regext 
+73bd 1df05e00 lshift16 regext ,regext 
+73be 9de1de00 ior regext ,regext 
+73bf 1f00f001 increase 1 ,regext_index 
+73c0 20600000 rtn 
+
+generate_mic:
+73c1 1a608c01 add regc ,1 ,contr 
+73c2 e8c08000 ifetch 1 ,contr 
+73c3 98002200 iforce rega 
+73c4 204073ab call first_block_counter 
+73c5 2040741f call do_aes_ocb 
+73c6 18007000 force regidx_data ,regext_index 
+73c7 ea608000 ifetch 1 ,regc 
+73c8 1fe17e03 and_into 0x3 ,pdata 
+73c9 1ff05e00 lshift16 pdata ,regext 
+73ca 79205e08 set1 8 ,regext 
+73cb 2040748f call clear_hidata 
+73cc 20407422 call do_aes_cbc 
+73cd 1a227200 copy rega ,loopcnt 
+73ce 1a608c02 add regc ,2 ,contr 
+73cf 2040746e call padding_data 
+
+generate_mic_loop:
+73d0 20407478 call aes_load_data 
+73d1 20407422 call do_aes_cbc 
+73d2 1f227e00 deposit loopcnt 
+73d3 203a73d5 branch generate_mic_end ,blank 
+73d4 202073d0 branch generate_mic_loop 
+
+generate_mic_end:
+73d5 1800700c force regidx_result ,regext_index 
+73d6 1de27e00 deposit regext 
+73d7 60020417 store 4 ,mem_le_mic 
+73d8 20600000 rtn 
+
+aes_crypt_data:
+73d9 1a20a201 increase 1 ,rega 
+73da 204073ad call first_block_data 
+73db 1a620c00 copy regc ,contr 
+73dc 20407482 call aes_load_xor 
+73dd 20407425 call do_aes_ctr 
+73de 2040749e call store_enc_data 
+73df 1a60a610 increase 16 ,regc 
+73e0 1a40a5f0 increase -16 ,regb 
+73e1 202173d9 branch aes_crypt_data ,positive 
+73e2 20600000 rtn 
+
+le_encrypt:
+73e3 4770c03c bpatchx patch3c_1 ,mem_patch3c 
+73e4 da6043dc arg mem_le_txheader ,regc 
+73e5 680ac403 fetcht 5 ,mem_le_pcnt_tx 
+73e6 204073c1 call generate_mic 
+73e7 18007008 force regidx_xor ,regext_index 
+73e8 98005e00 iforce regext 
+73e9 18002200 force 0 ,rega 
+73ea 204073ad call first_block_data 
+73eb 20407425 call do_aes_ctr 
+73ec da6043de arg mem_le_txpayload ,regc 
+73ed 6800c3dd fetch 1 ,mem_le_txlen 
+73ee 1fe0a5ff add pdata ,-1 ,regb 
+73ef 9a608a00 iadd regc ,contw 
+73f0 1800700c force regidx_result ,regext_index 
+73f1 1de27e00 deposit regext 
+73f2 e0a20000 istore 4 ,contw 
+73f3 204073d9 call aes_crypt_data 
+73f4 6800c3dd fetch 1 ,mem_le_txlen 
+73f5 1fe0fe04 increase 4 ,pdata 
+73f6 6000c3dd store 1 ,mem_le_txlen 
+73f7 680ac403 fetcht 5 ,mem_le_pcnt_tx 
+73f8 18408401 increase 1 ,temp 
+73f9 600ac403 storet 5 ,mem_le_pcnt_tx 
+73fa 20600000 rtn 
+
+le_decrypt:
+73fb 4771403c bpatchx patch3c_2 ,mem_patch3c 
+73fc 680082da fetch 1 ,mem_le_rxbuf + 1 
+73fd 1fe67c14 sub pdata ,20 ,null 
+73fe 202173ff branch le_dec_cont ,positive 
+
+le_dec_cont:
+73ff da6002db arg mem_le_rxbuf + 2 ,regc 
+7400 1fe0a5ff add pdata ,-1 ,regb 
+7401 1fe0fffc increase -4 ,pdata 
+7402 600082da store 1 ,mem_le_rxbuf + 1 
+7403 9a608c00 iadd regc ,contr 
+7404 e8c20000 ifetch 4 ,contr 
+7405 18007008 force regidx_xor ,regext_index 
+7406 98005e00 iforce regext 
+7407 18002200 force 0 ,rega 
+7408 680ac408 fetcht 5 ,mem_le_pcnt_rx 
+7409 204073ad call first_block_data 
+740a 20407425 call do_aes_ctr 
+740b 1800700c force regidx_result ,regext_index 
+740c 1de27e00 deposit regext 
+740d 6002041b store 4 ,mem_le_peer_mic 
+740e 204073d9 call aes_crypt_data 
+740f da6002d9 arg mem_le_rxbuf ,regc 
+7410 204073c1 call generate_mic 
+7411 680a041b fetcht 4 ,mem_le_peer_mic 
+7412 98467e00 isub temp ,pdata 
+7413 247a0000 nrtn blank 
+7414 6802440d fetch 4 ,mem_le_last_mic 
+7415 98467e00 isub temp ,pdata 
+7416 207a0000 rtn blank 
+7417 600a440d storet 4 ,mem_le_last_mic 
+7418 6802c408 fetch 5 ,mem_le_pcnt_rx 
+7419 1fe0fe01 increase 1 ,pdata 
+741a 6002c408 store 5 ,mem_le_pcnt_rx 
+741b 18007e00 force 0 ,pdata 
+741c 20600000 rtn 
+
+wait_aes:
+741d 243bf41d nbranch wait_aes ,aes_ready 
+741e 20600000 rtn 
+
+do_aes_ocb:
+741f 18006c30 force 0x30 ,aes_ctrl 
+7420 18006c00 force 0x0 ,aes_ctrl 
+7421 2020741d branch wait_aes 
+
+do_aes_cbc:
+7422 18006c32 force 0x32 ,aes_ctrl 
+7423 18006c02 force 0x2 ,aes_ctrl 
+7424 2020741d branch wait_aes 
+
+do_aes_ctr:
+7425 18006c34 force 0x34 ,aes_ctrl 
+7426 18006c04 force 0x4 ,aes_ctrl 
+7427 2020741d branch wait_aes 
+
+aes_init:
+7428 18006c01 force 1 ,aes_ctrl 
+7429 18006c00 force 0 ,aes_ctrl 
+742a 20600000 rtn 
+
+function_s1:
+742b 18007000 force regidx_data ,regext_index 
+742c 6802042f fetch 4 ,mem_le_mrand 
+742d 98005e00 iforce regext 
+742e 1f00f001 increase 1 ,regext_index 
+742f e8c20000 ifetch 4 ,contr 
+7430 98005e00 iforce regext 
+7431 1f00f001 increase 1 ,regext_index 
+7432 6802443a fetch 4 ,mem_le_srand 
+7433 98005e00 iforce regext 
+7434 1f00f001 increase 1 ,regext_index 
+7435 e8c20000 ifetch 4 ,contr 
+7436 98005e00 iforce regext 
+7437 1f00f001 increase 1 ,regext_index 
+7438 20407492 call aes_clear 
+7439 1f00f1fc increase -4 ,regext_index 
+743a 680244c7 fetch 4 ,mem_le_tk 
+743b 1fe25e00 copy pdata ,regext 
+743c 1f00f004 increase 4 ,regext_index 
+743d 18006c38 force 0x38 ,aes_ctrl 
+743e 18006c08 force 0x8 ,aes_ctrl 
+743f 2020741d branch wait_aes 
+
+function_c1:
+7440 4771c03c bpatchx patch3c_3 ,mem_patch3c 
+7441 680344a0 fetch 6 ,mem_le_lap 
+7442 680b044f fetcht 6 ,mem_le_plap 
+7443 2034f446 branch function_c1_master ,master 
+7444 6803044f fetch 6 ,mem_le_plap 
+7445 680b44a0 fetcht 6 ,mem_le_lap 
+
+function_c1_master:
+7446 18007008 force regidx_xor ,regext_index 
+7447 18425e00 copy temp ,regext 
+7448 1f00f001 increase 1 ,regext_index 
+7449 184f5e00 rshift32 temp ,regext 
+744a 1ff07e00 lshift16 pdata ,pdata 
+744b 9de1de00 ior regext ,regext 
+744c 1f00f001 increase 1 ,regext_index 
+744d 1fef5e00 rshift32 pdata ,regext 
+744e 1f00f001 increase 1 ,regext_index 
+744f 18005e00 force 0 ,regext 
+7450 18007e00 force 0 ,pdata 
+7451 6800c48e fetch 1 ,mem_le_conn_peer_addr_type 
+7452 6808c485 fetcht 1 ,mem_le_adv_own_addr_type 
+7453 2434f456 nbranch function_c1_irat ,master 
+7454 6800c495 fetch 1 ,mem_le_conn_own_addr_type 
+7455 6808c48e fetcht 1 ,mem_le_conn_peer_addr_type 
+
+function_c1_irat:
+7456 6000c44a store 1 ,mem_le_iat 
+7457 6008c44b storet 1 ,mem_le_rat 
+7458 18007000 force regidx_data ,regext_index 
+7459 da40444a arg mem_le_iat ,regb 
+745a 18007204 force 4 ,loopcnt 
+
+function_c1_loop1:
+745b ea220000 ifetch 4 ,rega 
+745c ea4a0000 ifetcht 4 ,regb 
+745d 9842de00 ixor temp ,regext 
+745e 1f00f001 increase 1 ,regext_index 
+745f 1a20a204 increase 4 ,rega 
+7460 1a40a404 increase 4 ,regb 
+7461 c200745b loop function_c1_loop1 
+7462 20407492 call aes_clear 
+7463 1f00f1fc increase -4 ,regext_index 
+7464 680244c7 fetch 4 ,mem_le_tk 
+7465 1fe25e00 copy pdata ,regext 
+7466 1f00f004 increase 4 ,regext_index 
+7467 18006c38 force 0x38 ,aes_ctrl 
+7468 18006c0c force 0xc ,aes_ctrl 
+7469 2040741d call wait_aes 
+746a 20407491 call aes_clear_data 
+746b 18006c3a force 0x3a ,aes_ctrl 
+746c 18006c08 force 0x8 ,aes_ctrl 
+746d 2020741d branch wait_aes 
+
+padding_data:
+746e 2f200600 compare 0 ,loopcnt ,3 
+746f 20608000 rtn true 
+7470 18c27e00 deposit contr 
+7471 9f208a00 iadd loopcnt ,contw 
+7472 18007e00 force 0 ,pdata 
+
+padding_loop:
+7473 e0a08000 istore 1 ,contw 
+7474 1f20f201 increase 1 ,loopcnt 
+7475 2f200600 compare 0 ,loopcnt ,3 
+7476 20608000 rtn true 
+7477 20207473 branch padding_loop 
+
+aes_load_data:
+7478 18007000 force regidx_data ,regext_index 
+
+load_data_loop:
+7479 1f227e00 deposit loopcnt 
+747a 203a747d branch load_data_padding ,blank 
+747b e8c20000 ifetch 4 ,contr 
+747c 1f20f3fc increase -4 ,loopcnt 
+
+load_data_padding:
+747d 98005e00 iforce regext 
+747e 1f00f001 increase 1 ,regext_index 
+747f 2f001e04 compare regidx_key ,regext_index ,0xf 
+7480 20608000 rtn true 
+7481 20207479 branch load_data_loop 
+
+aes_load_xor:
+7482 18007008 force regidx_xor ,regext_index 
+7483 20207487 branch load_regext 
+
+load_key:
+7484 18007004 force regidx_key ,regext_index 
+7485 20207487 branch load_regext 
+
+load_data128:
+7486 18007000 force regidx_data ,regext_index 
+
+load_regext:
+7487 18007204 force 4 ,loopcnt 
+
+load_regext_loop:
+7488 e8c20000 ifetch 4 ,contr 
+7489 98005e00 iforce regext 
+748a 1f00f001 increase 1 ,regext_index 
+748b c2007488 loop load_regext_loop 
+748c 20600000 rtn 
+
+load_sk:
+748d d8c0047c arg mem_le_sk ,contr 
+748e 20207484 branch load_key 
+
+clear_hidata:
+748f 18007204 force 4 ,loopcnt 
+7490 20207494 branch clear_data_rest 
+
+aes_clear_data:
+7491 18007000 force regidx_data ,regext_index 
+
+aes_clear:
+7492 18007204 force 4 ,loopcnt 
+
+clear_loop:
+7493 18005e00 force 0 ,regext 
+
+clear_data_rest:
+7494 1f00f001 increase 1 ,regext_index 
+7495 c2007493 loop clear_loop 
+7496 20600000 rtn 
+
+store_aes_result:
+7497 1800700c force regidx_result ,regext_index 
+7498 18007204 force 4 ,loopcnt 
+
+send_aes_result_loop:
+7499 1de27e00 deposit regext 
+749a e0a20000 istore 4 ,contw 
+749b 1f00f001 increase 1 ,regext_index 
+749c c2007499 loop send_aes_result_loop 
+749d 20600000 rtn 
+
+store_enc_data:
+749e 1800700c force regidx_result ,regext_index 
+749f 1a620a00 copy regc ,contw 
+74a0 1a40f201 add regb ,1 ,loopcnt 
+74a1 1f267c0f sub loopcnt ,15 ,null 
+74a2 202174a4 branch store_enc_loop ,positive 
+74a3 18007210 force 16 ,loopcnt 
+
+store_enc_loop:
+74a4 1de27e00 deposit regext 
+74a5 1f267c03 sub loopcnt ,3 ,null 
+74a6 202174ac branch store_enc_byte ,positive 
+74a7 e0a20000 istore 4 ,contw 
+74a8 1f20f3fc increase -4 ,loopcnt 
+74a9 20628000 rtn zero 
+74aa 1f00f001 increase 1 ,regext_index 
+74ab 202074a4 branch store_enc_loop 
+
+store_enc_byte:
+74ac e0a08000 istore 1 ,contw 
+74ad 1fecfe00 rshift8 pdata ,pdata 
+74ae c20074ac loop store_enc_byte 
+74af 20600000 rtn 
+
+compare_res:
+74b0 1800700c force regidx_result ,regext_index 
+74b1 18007204 force 4 ,loopcnt 
+
+compare_res_loop:
+74b2 e8c20000 ifetch 4 ,contr 
+74b3 9de67c00 isub regext ,null 
+74b4 24628000 nrtn zero 
+74b5 1f00f001 increase 1 ,regext_index 
+74b6 c20074b2 loop compare_res_loop 
+74b7 18007c00 force 0 ,null 
+74b8 20600000 rtn 
+
+enable_authrom:
+74b9 68108050 hfetch 1 ,core_clkoff 
+74ba 793ffe00 set0 clock_off_auth_rom ,pdata 
+74bb 60108050 hstore 1 ,core_clkoff 
+74bc 20600000 rtn 
+
+disable_authrom:
+74bd 68108050 hfetch 1 ,core_clkoff 
+74be 79207e00 set1 clock_off_auth_rom ,pdata 
+74bf 60108050 hstore 1 ,core_clkoff 
+74c0 20600000 rtn 
+
+init_memp:
+74c1 d8a00886 arg mem_p ,contw 
+74c2 3803ffff setsect 0 ,0x3ffff 
+74c3 3807ffff setsect 1 ,0x3ffff 
+74c4 380bffff setsect 2 ,0x3ffff 
+74c5 380ffbff setsect 3 ,0x3fbff 
+74c6 e0a48000 istore 9 ,contw 
+74c7 3803ffff setsect 0 ,0x3ffff 
+74c8 3807ffff setsect 1 ,0x3ffff 
+74c9 380bffff setsect 2 ,0x3ffff 
+74ca 380fffff setsect 3 ,0x3ffff 
+74cb e0a48000 istore 9 ,contw 
+74cc 3803ffff setsect 0 ,0x3ffff 
+74cd 3807ffff setsect 1 ,0x3ffff 
+74ce 380bcfff setsect 2 ,0x3cfff 
+74cf 380fffff setsect 3 ,0x3ffff 
+74d0 e0a48000 istore 9 ,contw 
+74d1 3803ffff setsect 0 ,0x3ffff 
+74d2 3807ffff setsect 1 ,0x3ffff 
+74d3 380bffef setsect 2 ,0x3ffef 
+74d4 380fffff setsect 3 ,0x3ffff 
+74d5 e0a48000 istore 9 ,contw 
+74d6 3803ffff setsect 0 ,0x3ffff 
+74d7 3807ffff setsect 1 ,0x3ffff 
+74d8 380bffff setsect 2 ,0x3ffff 
+74d9 380fffff setsect 3 ,0x3ffff 
+74da e0a48000 istore 9 ,contw 
+74db 3803ffff setsect 0 ,0x3ffff 
+74dc 38066c7f setsect 1 ,0x26c7f 
+74dd 3808146b setsect 2 ,0x146b 
+74de 380f7bb3 setsect 3 ,0x37bb3 
+74df e0a48000 istore 9 ,contw 
+74e0 3801feb8 setsect 0 ,0x1feb8 
+74e1 38050c12 setsect 1 ,0x10c12 
+74e2 380ab722 setsect 2 ,0x2b722 
+74e3 380e9fa6 setsect 3 ,0x29fa6 
+74e4 e0a48000 istore 9 ,contw 
+74e5 3800e70f setsect 0 ,0xe70f 
+74e6 38056720 setsect 1 ,0x16720 
+74e7 3808519e setsect 2 ,0x519e 
+74e8 380d9084 setsect 3 ,0x19084 
+74e9 e0a48000 istore 9 ,contw 
+74ea 38031012 setsect 0 ,0x31012 
+74eb 380760bf setsect 1 ,0x360bf 
+74ec 380bf0af setsect 2 ,0x3f0af 
+74ed 380c03d3 setsect 3 ,0x3d3 
+74ee e0a48000 istore 9 ,contw 
+74ef 3803a188 setsect 0 ,0x3a188 
+74f0 38043ad0 setsect 1 ,0x3ad0 
+74f1 380bcbf2 setsect 2 ,0x3cbf2 
+74f2 380e43d9 setsect 3 ,0x243d9 
+74f3 e0a48000 istore 9 ,contw 
+74f4 3802b030 setsect 0 ,0x2b030 
+74f5 38076a03 setsect 1 ,0x36a03 
+74f6 38091188 setsect 2 ,0x11188 
+74f7 380de520 setsect 3 ,0x1e520 
+74f8 e0a48000 istore 9 ,contw 
+74f9 3803a11e setsect 0 ,0x3a11e 
+74fa 3804fe5d setsect 1 ,0xfe5d 
+74fb 3808dd57 setsect 2 ,0xdd57 
+74fc 380dac93 setsect 3 ,0x1ac93 
+74fd e0a48000 istore 9 ,contw 
+74fe 380011ed setsect 0 ,0x11ed 
+74ff 380618c4 setsect 1 ,0x218c4 
+7500 38088da7 setsect 2 ,0x8da7 
+7501 380e57ff setsect 3 ,0x257ff 
+7502 e0a48000 istore 9 ,contw 
+7503 3803192b setsect 0 ,0x3192b 
+7504 38074641 setsect 1 ,0x34641 
+7505 3809be0c setsect 2 ,0x1be0c 
+7506 380f66ad setsect 3 ,0x366ad 
+7507 e0a48000 istore 9 ,contw 
+7508 38001f83 setsect 0 ,0x1f83 
+7509 38055a23 setsect 1 ,0x15a23 
+750a 380bf9b0 setsect 2 ,0x3f9b0 
+750b 380c3949 setsect 3 ,0x3949 
+750c e0a48000 istore 9 ,contw 
+750d 38013a51 setsect 0 ,0x13a51 
+750e 380553fd setsect 1 ,0x153fd 
+750f 380b372a setsect 2 ,0x3372a 
+7510 380cf1bb setsect 3 ,0xf1bb 
+7511 e0a48000 istore 9 ,contw 
+7512 3803ae85 setsect 0 ,0x3ae85 
+7513 3805eed9 setsect 1 ,0x1eed9 
+7514 38089e66 setsect 2 ,0x9e66 
+7515 380c01a8 setsect 3 ,0x1a8 
+7516 e0a40000 istore 8 ,contw 
+7517 20600000 rtn 
+
+init_memp_256:
+7518 d8a0091e arg mem_p_256 ,contw 
+7519 3803ffff setsect 0 ,0x3ffff 
+751a 3807ffff setsect 1 ,0x3ffff 
+751b 380bffff setsect 2 ,0x3ffff 
+751c 380fffff setsect 3 ,0x3ffff 
+751d e0a48000 istore 9 ,contw 
+751e 3803ffff setsect 0 ,0x3ffff 
+751f 3804003f setsect 1 ,0x3f 
+7520 38080000 setsect 2 ,0x0 
+7521 380c0000 setsect 3 ,0x0 
+7522 e0a48000 istore 9 ,contw 
+7523 38000000 setsect 0 ,0x0 
+7524 38040000 setsect 1 ,0x0 
+7525 38081000 setsect 2 ,0x1000 
+7526 380c0000 setsect 3 ,0x0 
+7527 e0a48000 istore 9 ,contw 
+7528 3803ff00 setsect 0 ,0x3ff00 
+7529 3807ffff setsect 1 ,0x3ffff 
+752a 380bffcf setsect 2 ,0x3ffcf 
+752b 380fffff setsect 3 ,0x3ffff 
+752c e0a48000 istore 9 ,contw 
+752d 3803ffff setsect 0 ,0x3ffff 
+752e 3807ffff setsect 1 ,0x3ffff 
+752f 380bffff setsect 2 ,0x3ffff 
+7530 380c03ff setsect 3 ,0x3ff 
+7531 e0a48000 istore 9 ,contw 
+7532 38000000 setsect 0 ,0x0 
+7533 38040000 setsect 1 ,0x0 
+7534 38080000 setsect 2 ,0x0 
+7535 380c0000 setsect 3 ,0x0 
+7536 e0a48000 istore 9 ,contw 
+7537 38010000 setsect 0 ,0x10000 
+7538 38040000 setsect 1 ,0x0 
+7539 380bf000 setsect 2 ,0x3f000 
+753a 380fffff setsect 3 ,0x3ffff 
+753b e0a48000 istore 9 ,contw 
+753c 380296ff setsect 0 ,0x296ff 
+753d 38062630 setsect 1 ,0x22630 
+753e 380b945d setsect 2 ,0x3945d 
+753f 380fd284 setsect 3 ,0x3d284 
+7540 e0a48000 istore 9 ,contw 
+7541 380333a0 setsect 0 ,0x333a0 
+7542 38044b7a setsect 1 ,0x4b7a 
+7543 380837d8 setsect 2 ,0x37d8 
+7544 380fc9dc setsect 3 ,0x3c9dc 
+7545 e0a48000 istore 9 ,contw 
+7546 3803a440 setsect 0 ,0x3a440 
+7547 3805b958 setsect 1 ,0x1b958 
+7548 380b8bce setsect 2 ,0x38bce 
+7549 380d091f setsect 3 ,0x1091f 
+754a e0a48000 istore 9 ,contw 
+754b 3802e12c setsect 0 ,0x2e12c 
+754c 3805f47c setsect 1 ,0x1f47c 
+754d 380b56b1 setsect 2 ,0x356b1 
+754e 380efd47 setsect 3 ,0x2fd47 
+754f e0a48000 istore 9 ,contw 
+7550 38006837 setsect 0 ,0x6837 
+7551 3806ed90 setsect 1 ,0x2ed90 
+7552 3809ecec setsect 2 ,0x1ecec 
+7553 380dacc5 setsect 3 ,0x1acc5 
+7554 e0a48000 istore 9 ,contw 
+7555 38023357 setsect 0 ,0x23357 
+7556 38058af3 setsect 1 ,0x18af3 
+7557 3808f9e1 setsect 2 ,0xf9e1 
+7558 380d29f0 setsect 3 ,0x129f0 
+7559 e0a48000 istore 9 ,contw 
+755a 3802e7eb setsect 0 ,0x2e7eb 
+755b 3807e6e3 setsect 1 ,0x3e6e3 
+755c 380be1a7 setsect 2 ,0x3e1a7 
+755d 380d0b8b setsect 3 ,0x10b8b 
+755e e0a48000 istore 9 ,contw 
+755f 38024fe3 setsect 0 ,0x24fe3 
+7560 380420ef setsect 1 ,0x20ef 
+7561 3809b5a6 setsect 2 ,0x1b5a6 
+7562 380cdc2f setsect 3 ,0xdc2f 
+7563 e0a48000 istore 9 ,contw 
+7564 38013860 setsect 0 ,0x13860 
+7565 3806bd69 setsect 1 ,0x2bd69 
+7566 3808391a setsect 2 ,0x391a 
+7567 380db222 setsect 3 ,0x1b222 
+7568 e0a48000 istore 9 ,contw 
+7569 20600000 rtn 
+
+publickey_init:
+756a 6800c65a fetch 1 ,mem_ssp_enable 
+756b 243a757d nbranch sp_initialize ,blank 
+756c 20207a77 branch sp_initialize_256 
+
+sp_calc_sequence_256_check:
+756d 4772403c bpatchx patch3c_4 ,mem_patch3c 
+756e 6800c65a fetch 1 ,mem_ssp_enable 
+756f 207a0000 rtn blank 
+7570 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+7571 c1808000 rtnne sp_key_valid 
+7572 6800c4be fetch 1 ,mem_le_secure_connect_enable 
+7573 207a0000 rtn blank 
+7574 6800c4c3 fetch 1 ,mem_le_sc_local_key_invalid 
+7575 c1018000 rtneq sp_key_valid_256 
+7576 68014682 fetch 2 ,mem_ui_state_map 
+7577 c280757b bbit1 ui_state_bt_connected ,stop_publickey_calc_256 
+7578 6800c4c0 fetch 1 ,mem_le_sc_calc 
+7579 c0007a77 beq sp_calc_standby ,sp_initialize_256 
+757a 20600000 rtn 
+
+stop_publickey_calc_256:
+757b 7044c000 jam sp_calc_standby ,mem_le_sc_calc 
+757c 20600000 rtn 
+
+sp_initialize:
+757d 4772c03c bpatchx patch3c_5 ,mem_patch3c 
+757e 6800c65a fetch 1 ,mem_ssp_enable 
+757f 203a612b branch ssp_disable ,blank 
+7580 20406124 call ssp_enable 
+7581 20407583 call sp_clear_flags 
+7582 2020766d branch sp_pubkey_calc 
+
+sp_clear_flags:
+7583 58000000 setarg 0 
+7584 600409ae store 8 ,mem_sp_state_start 
+7585 600209b6 store 4 ,mem_sp_flag_start 
+7586 6003c65e store 7 ,mem_sp_iocap_remote 
+7587 20600000 rtn 
+
+sp_generate_local_key:
+7588 7009b001 jam sp_flag_commit ,mem_sp_flag 
+7589 2020758d branch sp_generate_local_key0 
+
+sp_master_generate_local_key:
+758a 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+758b c000f68a beq sp_key_valid ,sp_dhkey_calc 
+758c 20202a8c branch assert 
+
+sp_generate_local_key0:
+758d 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+758e c000f590 beq sp_key_valid ,sp_start_send_pubkey 
+758f 2020766d branch sp_pubkey_calc 
+
+sp_start_send_pubkey:
+7590 2040768a call sp_dhkey_calc 
+7591 680089af fetch 1 ,mem_master_sp_state 
+7592 247a0000 nrtn blank 
+7593 7009ae03 jam sp_stat_key_send ,mem_sp_state 
+7594 20600000 rtn 
+
+sp_calc_check_publickey_256:
+7595 204075b0 call sp_calc_b256 
+7596 da2009de arg mem_le_pubkey_remote_y_256 ,rega 
+7597 d8a00866 arg mem_t7_256 ,contw 
+7598 20407c79 call bn_sqrmod_256 
+7599 da2009be arg mem_le_pubkey_remote_x_256 ,rega 
+759a d8a00826 arg mem_t2_256 ,contw 
+759b 20407c79 call bn_sqrmod_256 
+759c da200826 arg mem_t2_256 ,rega 
+759d da4009be arg mem_le_pubkey_remote_x_256 ,regb 
+759e d8a00826 arg mem_t2_256 ,contw 
+759f 20407be1 call bn_mulmod_256 
+75a0 da20093e arg mem_a_256 ,rega 
+75a1 da4009be arg mem_le_pubkey_remote_x_256 ,regb 
+75a2 d8a00846 arg mem_t3_256 ,contw 
+75a3 20407be1 call bn_mulmod_256 
+75a4 da200846 arg mem_t3_256 ,rega 
+75a5 da400826 arg mem_t2_256 ,regb 
+75a6 d8a00826 arg mem_t2_256 ,contw 
+75a7 20407c7d call bn_addmod_256 
+75a8 da200806 arg mem_t0_256 ,rega 
+75a9 da400826 arg mem_t2_256 ,regb 
+75aa d8a00806 arg mem_t0_256 ,contw 
+75ab 20407c7d call bn_addmod_256 
+75ac df200020 arg 32 ,loopcnt 
+75ad da200866 arg mem_t7_256 ,rega 
+75ae da400806 arg mem_t0_256 ,regb 
+75af 20207f88 branch string_compare 
+
+sp_calc_b256:
+75b0 da20097e arg mem_gy_256 ,rega 
+75b1 d8a00806 arg mem_t0_256 ,contw 
+75b2 20407c79 call bn_sqrmod_256 
+75b3 da20095e arg mem_gx_256 ,rega 
+75b4 d8a00826 arg mem_t2_256 ,contw 
+75b5 20407c79 call bn_sqrmod_256 
+75b6 da200826 arg mem_t2_256 ,rega 
+75b7 da40095e arg mem_gx_256 ,regb 
+75b8 d8a00826 arg mem_t2_256 ,contw 
+75b9 20407be1 call bn_mulmod_256 
+75ba da20093e arg mem_a_256 ,rega 
+75bb da40095e arg mem_gx_256 ,regb 
+75bc d8a00846 arg mem_t3_256 ,contw 
+75bd 20407be1 call bn_mulmod_256 
+75be da200846 arg mem_t3_256 ,rega 
+75bf da400826 arg mem_t2_256 ,regb 
+75c0 d8a00826 arg mem_t2_256 ,contw 
+75c1 20407c7d call bn_addmod_256 
+75c2 da200806 arg mem_t0_256 ,rega 
+75c3 da400826 arg mem_t2_256 ,regb 
+75c4 d8a00806 arg mem_t0_256 ,contw 
+75c5 20207c96 branch bn_submod_256 
+
+sp_calc_check_publickey:
+75c6 204075e1 call sp_calc_b 
+75c7 da2009e6 arg mem_sp_pubkey_remote_y ,rega 
+75c8 d8a00866 arg mem_t7_256 ,contw 
+75c9 204077a8 call bn_sqrmod 
+75ca da2009c6 arg mem_sp_pubkey_remote_x ,rega 
+75cb d8a00826 arg mem_t2_256 ,contw 
+75cc 204077a8 call bn_sqrmod 
+75cd da200826 arg mem_t2_256 ,rega 
+75ce da4009c6 arg mem_sp_pubkey_remote_x ,regb 
+75cf d8a00826 arg mem_t2_256 ,contw 
+75d0 20407786 call bn_mulmod 
+75d1 da20089e arg mem_a ,rega 
+75d2 da4009c6 arg mem_sp_pubkey_remote_x ,regb 
+75d3 d8a00846 arg mem_t3_256 ,contw 
+75d4 20407786 call bn_mulmod 
+75d5 da200846 arg mem_t3_256 ,rega 
+75d6 da400826 arg mem_t2_256 ,regb 
+75d7 d8a00826 arg mem_t2_256 ,contw 
+75d8 20407755 call bn_addmod 
+75d9 da200806 arg mem_t0_256 ,rega 
+75da da400826 arg mem_t2_256 ,regb 
+75db d8a00806 arg mem_t0_256 ,contw 
+75dc 20407755 call bn_addmod 
+75dd df200018 arg 24 ,loopcnt 
+75de da200866 arg mem_t7_256 ,rega 
+75df da400806 arg mem_t0_256 ,regb 
+75e0 20207f88 branch string_compare 
+
+sp_calc_b:
+75e1 da2008e6 arg mem_gy ,rega 
+75e2 d8a00806 arg mem_t0_256 ,contw 
+75e3 204077a8 call bn_sqrmod 
+75e4 da2008ce arg mem_gx ,rega 
+75e5 d8a00826 arg mem_t2_256 ,contw 
+75e6 204077a8 call bn_sqrmod 
+75e7 da200826 arg mem_t2_256 ,rega 
+75e8 da4008ce arg mem_gx ,regb 
+75e9 d8a00826 arg mem_t2_256 ,contw 
+75ea 20407786 call bn_mulmod 
+75eb da20089e arg mem_a ,rega 
+75ec da4008ce arg mem_gx ,regb 
+75ed d8a00846 arg mem_t3_256 ,contw 
+75ee 20407786 call bn_mulmod 
+75ef da200846 arg mem_t3_256 ,rega 
+75f0 da400826 arg mem_t2_256 ,regb 
+75f1 d8a00826 arg mem_t2_256 ,contw 
+75f2 20407755 call bn_addmod 
+75f3 da200806 arg mem_t0_256 ,rega 
+75f4 da400826 arg mem_t2_256 ,regb 
+75f5 d8a00806 arg mem_t0_256 ,contw 
+75f6 20207758 branch bn_submod 
+
+sp_calculate_commitment:
+75f7 680089b2 fetch 1 ,mem_sp_calc 
+75f8 c0807615 bne sp_calc_standby ,sp_calculate_commitment_wait_dhkey_calc 
+75f9 20407612 call sp_local_random_key_generator 
+75fa d8a00a7e arg mem_sp_prarm_stack ,contw 
+75fb 58000a2e setarg mem_sp_random_local_end 
+75fc e0a10000 istore 2 ,contw 
+75fd 58004642 setarg mem_sp_pubkey_local_x_end 
+75fe e0a10000 istore 2 ,contw 
+75ff 580009de setarg mem_sp_pubkey_remote_x_end 
+7600 e0a10000 istore 2 ,contw 
+7601 20207609 branch sp_calculate_commitment0 
+
+master_sp_calculate_commitment:
+7602 d8a00a7e arg mem_sp_prarm_stack ,contw 
+7603 58000a3e setarg mem_sp_random_remote_end 
+7604 e0a10000 istore 2 ,contw 
+7605 580009de setarg mem_sp_pubkey_remote_x_end 
+7606 e0a10000 istore 2 ,contw 
+7607 58004642 setarg mem_sp_pubkey_local_x_end 
+7608 e0a10000 istore 2 ,contw 
+
+sp_calculate_commitment0:
+7609 204079a0 call function_f1 
+760a 680089af fetch 1 ,mem_master_sp_state 
+760b c002760f beq sp_stat_commit_calc ,master_sp_calculate_commitment0 
+760c 7009b001 jam sp_flag_commit ,mem_sp_flag 
+760d 7009ae05 jam sp_stat_commit_send ,mem_sp_state 
+760e 20600000 rtn 
+
+master_sp_calculate_commitment0:
+760f 7009af14 jam sp_stat_commitment_compare ,mem_master_sp_state 
+7610 2040758a call sp_master_generate_local_key 
+7611 202076d8 branch master_set_mem_master_sp_flag 
+
+sp_local_random_key_generator:
+7612 d8a00a1e arg mem_sp_random_local ,contw 
+7613 18000e08 force 8 ,queue 
+7614 202076a2 branch random_generator 
+
+sp_calculate_commitment_wait_dhkey_calc:
+7615 7009b001 jam sp_flag_commit ,mem_sp_flag 
+7616 20600000 rtn 
+
+sp_confirm_check:
+7617 4773403c bpatchx patch3c_6 ,mem_patch3c 
+7618 d8a00727 arg mem_addr_value ,contw 
+7619 680340a0 fetch 6 ,mem_lap 
+761a e0a30000 istore 6 ,contw 
+761b 68030040 fetch 6 ,mem_plap 
+761c e0a30000 istore 6 ,contw 
+761d 6801c65e fetch 3 ,mem_sp_iocap_remote 
+761e e0a18000 istore 3 ,contw 
+761f 20407a0d call function_f3a 
+7620 da200a4e arg mem_sp_calc_result_high ,rega 
+7621 da400a5e arg mem_sp_check_result ,regb 
+7622 18000e04 force 4 ,queue 
+7623 204076a7 call compare4 
+7624 2420f631 nbranch sp_confirm_check_failed ,true 
+7625 20407628 call sp_confirm_check_success 
+7626 70007d41 jam lmp_dhkey_check ,mem_lmi_opcode2 
+7627 202062f8 branch tid_set_reply 
+
+sp_confirm_check_success:
+7628 680089af fetch 1 ,mem_master_sp_state 
+7629 c004f62e beq sp_stat_confirm_check ,sp_confirm_check_success_master 
+762a 7009ae0a jam sp_stat_confirm_calc ,mem_sp_state 
+762b 7009b001 jam sp_flag_commit ,mem_sp_flag 
+762c 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+762d 20600000 rtn 
+
+sp_confirm_check_success_master:
+762e 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+762f 7009af15 jam sp_state_end ,mem_master_sp_state 
+7630 202076d8 branch master_set_mem_master_sp_flag 
+
+sp_confirm_check_failed:
+7631 680089af fetch 1 ,mem_master_sp_state 
+7632 c004f637 beq sp_stat_confirm_check ,sp_confirm_check_failed_master 
+7633 7009ae00 jam sp_stat_null ,mem_sp_state 
+7634 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+7635 70007e05 jam authentication_failure_error ,mem_lmo_reason2 
+7636 20600000 rtn 
+
+sp_confirm_check_failed_master:
+7637 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+7638 7009af00 jam sp_stat_null ,mem_master_sp_state 
+7639 20600000 rtn 
+
+sp_confirm_calc:
+763a 680089b3 fetch 1 ,mem_sp_dh_ready 
+763b c000f63e beq sp_flag_commit ,sp_confirm_calc_ready 
+763c 7009af0a jam sp_stat_confirm_calc ,mem_master_sp_state 
+763d 202076d8 branch master_set_mem_master_sp_flag 
+
+sp_confirm_calc_ready:
+763e d8a00727 arg mem_addr_value ,contw 
+763f 68030040 fetch 6 ,mem_plap 
+7640 e0a30000 istore 6 ,contw 
+7641 680340a0 fetch 6 ,mem_lap 
+7642 e0a30000 istore 6 ,contw 
+7643 6801c65b fetch 3 ,mem_sp_iocap_local 
+7644 e0a18000 istore 3 ,contw 
+7645 20407a24 call function_f3b 
+7646 680089af fetch 1 ,mem_master_sp_state 
+7647 c005764b beq sp_stat_confirm_calc ,sp_confirm_calc_master 
+7648 7009ae0b jam sp_stat_confirm_send ,mem_sp_state 
+7649 7009b001 jam sp_flag_commit ,mem_sp_flag 
+764a 20600000 rtn 
+
+sp_confirm_calc_master:
+764b 7009af0b jam sp_stat_confirm_send ,mem_master_sp_state 
+764c 7009b101 jam sp_flag_commit ,mem_master_sp_flag 
+764d 20600000 rtn 
+
+sp_master_key_prarm_push:
+764e d8a00a7e arg mem_sp_prarm_stack ,contw 
+764f 68030040 fetch 6 ,mem_plap 
+7650 e0a30000 istore 6 ,contw 
+7651 680340a0 fetch 6 ,mem_lap 
+7652 e0a30000 istore 6 ,contw 
+7653 58000a2e setarg mem_sp_random_local_end 
+7654 e0a10000 istore 2 ,contw 
+7655 58000a3e setarg mem_sp_random_remote_end 
+7656 e0a10000 istore 2 ,contw 
+7657 20207662 branch sp_link_key_calc 
+
+sp_link_key_prarm_push:
+7658 7009ae0f jam sp_stat_done ,mem_sp_state 
+7659 d8a00a7e arg mem_sp_prarm_stack ,contw 
+765a 680340a0 fetch 6 ,mem_lap 
+765b e0a30000 istore 6 ,contw 
+765c 68030040 fetch 6 ,mem_plap 
+765d e0a30000 istore 6 ,contw 
+765e 58000a3e setarg mem_sp_random_remote_end 
+765f e0a10000 istore 2 ,contw 
+7660 58000a2e setarg mem_sp_random_local_end 
+7661 e0a10000 istore 2 ,contw 
+
+sp_link_key_calc:
+7662 d8a00727 arg mem_addr_value ,contw 
+7663 68030a7e fetch 6 ,mem_sp_prarm_stack 
+7664 e0a30000 istore 6 ,contw 
+7665 68030a84 fetch 6 ,mem_sp_prarm_stack + 6 
+7666 e0a30000 istore 6 ,contw 
+7667 204079d7 call function_f2 
+7668 7041bd01 jam 1 ,mem_link_key_exists 
+7669 d8a041be arg mem_link_key ,contw 
+766a d8c00a4e arg mem_sp_calc_result_high ,contr 
+766b 20407ebf call memcpy16 
+766c 202021c4 branch generate_linkkey_continue 
+
+sp_pubkey_calc:
+766d 4773c03c bpatchx patch3c_7 ,mem_patch3c 
+766e 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+766f c1800000 rtnne sp_key_invalid 
+7670 680089b2 fetch 1 ,mem_sp_calc 
+7671 c1800000 rtnne sp_calc_standby 
+7672 d8a04612 arg mem_sp_private_key ,contw 
+7673 18000e0b force 11 ,queue 
+7674 204076a2 call random_generator 
+7675 180a7e00 random pdata 
+7676 1fe37e00 rshift pdata ,pdata 
+7677 e0a10000 istore 2 ,contw 
+7678 d8a006be arg mem_k ,contw 
+7679 d8c04612 arg mem_sp_private_key ,contr 
+767a 20407ebe call memcpy24 
+767b d8a005e6 arg mem_ax ,contw 
+767c d8c008ce arg mem_gx ,contr 
+767d 20407ebc call memcpy48 
+767e d8a00616 arg mem_az ,contw 
+767f 20407ec5 call bn_zero 
+7680 70061601 jam 1 ,mem_az 
+7681 20407a5d call eckp_calc_init 
+7682 7009b201 jam sp_calc_pubkey ,mem_sp_calc 
+7683 20600000 rtn 
+
+sp_pubkey_generated:
+7684 d8a0462a arg mem_sp_pubkey_local ,contw 
+7685 d8c0062e arg mem_bx ,contr 
+7686 20407ebc call memcpy48 
+7687 7045b101 jam sp_key_valid ,mem_sp_local_key_invalid 
+7688 7009b200 jam sp_calc_standby ,mem_sp_calc 
+7689 20600000 rtn 
+
+sp_dhkey_calc:
+768a 4774403d bpatchx patch3d_0 ,mem_patch3d 
+768b 680089b9 fetch 1 ,mem_sp_dhkey_invalid 
+768c c1800000 rtnne sp_key_invalid 
+768d 680089b2 fetch 1 ,mem_sp_calc 
+768e c1800000 rtnne sp_calc_standby 
+768f d8a006be arg mem_k ,contw 
+7690 d8c04612 arg mem_sp_private_key ,contr 
+7691 20407ebe call memcpy24 
+7692 d8a005e6 arg mem_ax ,contw 
+7693 d8c009c6 arg mem_sp_pubkey_remote ,contr 
+7694 20407ebc call memcpy48 
+7695 d8a00616 arg mem_az ,contw 
+7696 20407ec5 call bn_zero 
+7697 70061601 jam 1 ,mem_az 
+7698 20407a5d call eckp_calc_init 
+7699 7009b202 jam sp_calc_dhkey ,mem_sp_calc 
+769a 20600000 rtn 
+
+sp_dhkey_generated:
+769b 7009b301 jam sp_flag_commit ,mem_sp_dh_ready 
+769c d8a00a06 arg mem_sp_dhkey ,contw 
+769d d8c0062e arg mem_bx ,contr 
+769e 20407ebe call memcpy24 
+769f 7009b901 jam sp_key_valid ,mem_sp_dhkey_invalid 
+76a0 7009b200 jam sp_calc_standby ,mem_sp_calc 
+76a1 20600000 rtn 
+
+random_generator:
+76a2 18e08fff increase -1 ,queue 
+76a3 24610000 nrtn positive 
+76a4 180a7e00 random pdata 
+76a5 e0a10000 istore 2 ,contw 
+76a6 202076a2 branch random_generator 
+
+compare4:
+76a7 18e08fff increase -1 ,queue 
+76a8 242176b3 nbranch compare4_success ,positive 
+76a9 ea220000 ifetch 4 ,rega 
+76aa 1fe20400 copy pdata ,temp 
+76ab ea420000 ifetch 4 ,regb 
+76ac 9842fe00 iflip temp ,pdata 
+76ad 2422f6b1 nbranch compare4_failed ,zero 
+76ae 1a20a204 increase 4 ,rega 
+76af 1a40a404 increase 4 ,regb 
+76b0 202076a7 branch compare4 
+
+compare4_failed:
+76b1 7840fc00 disable true 
+76b2 20600000 rtn 
+
+compare4_success:
+76b3 7820fc00 enable true 
+76b4 20600000 rtn 
+
+simple_pairing_sequence:
+76b5 4774c03d bpatchx patch3d_1 ,mem_patch3d 
+76b6 680089b0 fetch 1 ,mem_sp_flag 
+76b7 207a0000 rtn blank 
+76b8 204062bc call lmo_fifo_check 
+76b9 247a0000 nrtn blank 
+76ba 7009b000 jam sp_flag_standby ,mem_sp_flag 
+76bb 680089ae fetch 1 ,mem_sp_state 
+76bc c001e1fd beq sp_stat_key_send ,sp_send_lmp_encapsulated_header 
+76bd c002e21a beq sp_stat_commit_send ,sp_send_lmp_simple_pairing_comfirm 
+76be c003e225 beq sp_stat_random_send ,sp_send_lmp_simple_pairing_number 
+76bf c005e23a beq sp_stat_confirm_send ,sp_send_lmp_dhkey_check 
+76c0 c0017588 beq sp_stat_key_generate ,sp_generate_local_key 
+76c1 c00275f7 beq sp_stat_commit_calc ,sp_calculate_commitment 
+76c2 c004f617 beq sp_stat_confirm_check ,sp_confirm_check 
+76c3 c005763a beq sp_stat_confirm_calc ,sp_confirm_calc 
+76c4 c0067658 beq sp_stat_link_key_calc ,sp_link_key_prarm_push 
+76c5 20600000 rtn 
+
+master_simple_paring_sequence:
+76c6 4775403d bpatchx patch3d_2 ,mem_patch3d 
+76c7 680089b1 fetch 1 ,mem_master_sp_flag 
+76c8 207a0000 rtn blank 
+76c9 204062bc call lmo_fifo_check 
+76ca 247a0000 nrtn blank 
+76cb 7009b100 jam sp_flag_standby ,mem_master_sp_flag 
+76cc 680089af fetch 1 ,mem_master_sp_state 
+76cd c00961e0 beq sp_master_stat_start_skip ,sp_master_send_io_cap_get 
+76ce c009e1e5 beq sp_master_stat_start_done ,sp_master_send_io_cap_send 
+76cf c001e1e9 beq sp_stat_key_send ,sp_master_send_lmp_encapsulated_header 
+76d0 c0027602 beq sp_stat_commit_calc ,master_sp_calculate_commitment 
+76d1 c00a61ed beq sp_stat_commitment_compare ,sp_master_commitment_compare 
+76d2 c003e1fb beq sp_stat_random_send ,sp_master_send_lmp_simple_pairing_number 
+76d3 c005763a beq sp_stat_confirm_calc ,sp_confirm_calc 
+76d4 c005e239 beq sp_stat_confirm_send ,master_sp_send_lmp_dhkey_check 
+76d5 c004f617 beq sp_stat_confirm_check ,sp_confirm_check 
+76d6 c00ae233 beq sp_state_end ,master_sp_sm_end 
+76d7 20600000 rtn 
+
+master_set_mem_master_sp_flag:
+76d8 7009b101 jam sp_flag_commit ,mem_master_sp_flag 
+76d9 20600000 rtn 
+
+master_clear_mem_master_sp_flag:
+76da 7009b100 jam sp_flag_standby ,mem_master_sp_flag 
+76db 20600000 rtn 
+
+sp_calc_sequence:
+76dc 4775c03d bpatchx patch3d_3 ,mem_patch3d 
+76dd 6800c65a fetch 1 ,mem_ssp_enable 
+76de 207a0000 rtn blank 
+76df 680089b2 fetch 1 ,mem_sp_calc 
+76e0 207a0000 rtn blank 
+76e1 1fe0fe80 increase 0x80 ,pdata 
+76e2 600089b2 store 1 ,mem_sp_calc 
+76e3 c3838000 rtnbit1 7 
+76e4 680085e3 fetch 1 ,mem_ec_loopc 
+76e5 203a76e7 branch sp_calc_sequence_done ,blank 
+76e6 20207a68 branch eckp_calc 
+
+sp_calc_sequence_done:
+76e7 204078d3 call ecunmapz 
+76e8 680089b2 fetch 1 ,mem_sp_calc 
+76e9 c000f684 beq sp_calc_pubkey ,sp_pubkey_generated 
+76ea c001769b beq sp_calc_dhkey ,sp_dhkey_generated 
+76eb 20600000 rtn 
+
+bn_testbit:
+76ec 1fe10e07 and pdata ,7 ,queue 
+76ed 1fe97e00 rshift3 pdata ,pdata 
+76ee 98c08c00 iadd contr ,contr 
+76ef e8c08000 ifetch 1 ,contr 
+76f0 afec0000 qisolate0 pdata 
+76f1 20600000 rtn 
+
+ec_copy:
+76f2 20407ebe call memcpy24 
+76f3 20407ebe call memcpy24 
+76f4 20207ebe branch memcpy24 
+
+bn_eq_zero:
+76f5 e8c40000 ifetch 8 ,contr 
+76f6 247a0000 nrtn blank 
+76f7 e8c40000 ifetch 8 ,contr 
+76f8 247a0000 nrtn blank 
+76f9 e8c40000 ifetch 8 ,contr 
+76fa 20600000 rtn 
+
+bn_eq_0:
+76fb ea220000 ifetch 4 ,rega 
+76fc 98000400 iforce temp 
+76fd ea420000 ifetch 4 ,regb 
+76fe 98467c00 isub temp ,null 
+76ff 24628000 nrtn zero 
+7700 1a20a204 increase 4 ,rega 
+7701 1a40a404 increase 4 ,regb 
+7702 c20076fb loop bn_eq_0 
+7703 20600000 rtn 
+
+bn_bigeq:
+7704 18007206 force 6 ,loopcnt 
+7705 1a20a214 increase 20 ,rega 
+7706 1a40a414 increase 20 ,regb 
+
+bn_bigeq_0:
+7707 ea420000 ifetch 4 ,regb 
+7708 98000400 iforce temp 
+7709 ea220000 ifetch 4 ,rega 
+770a 98467e00 isub temp ,pdata 
+770b 24610000 nrtn positive 
+770c 247a0000 nrtn blank 
+770d 1a20a3fc increase -4 ,rega 
+770e 1a40a5fc increase -4 ,regb 
+770f c2007707 loop bn_bigeq_0 
+7710 20600000 rtn 
+
+bn_add:
+7711 18007206 force 6 ,loopcnt 
+7712 18002600 force 0 ,regc 
+
+bn_add_0:
+7713 ea220000 ifetch 4 ,rega 
+7714 98000400 iforce temp 
+7715 ea420000 ifetch 4 ,regb 
+7716 9840fe00 iadd temp ,pdata 
+7717 9a60fe00 iadd regc ,pdata 
+7718 e0a20000 istore 4 ,contw 
+7719 2feffe20 isolate1 32 ,pdata 
+771a 7920a600 setflag true ,0 ,regc 
+771b 1a20a204 increase 4 ,rega 
+771c 1a40a404 increase 4 ,regb 
+771d c2007713 loop bn_add_0 
+771e 20600000 rtn 
+
+bn_sub:
+771f 18007206 force 6 ,loopcnt 
+7720 18002600 force 0 ,regc 
+
+bn_sub_0:
+7721 ea420000 ifetch 4 ,regb 
+7722 98000400 iforce temp 
+7723 ea220000 ifetch 4 ,rega 
+7724 98467e00 isub temp ,pdata 
+7725 9a667e00 isub regc ,pdata 
+7726 e0a20000 istore 4 ,contw 
+7727 2feffe20 isolate1 32 ,pdata 
+7728 7920a600 setflag true ,0 ,regc 
+7729 1a20a204 increase 4 ,rega 
+772a 1a40a404 increase 4 ,regb 
+772b c2007721 loop bn_sub_0 
+772c 20600000 rtn 
+
+bn_rshift6:
+772d 18007206 force 6 ,loopcnt 
+772e 1a20a214 increase 20 ,rega 
+
+bn_rshift:
+772f 18002600 force 0 ,regc 
+
+bn_rshift_0:
+7730 ea220000 ifetch 4 ,rega 
+7731 2feffe00 isolate1 0 ,pdata 
+7732 7920a601 setflag true ,1 ,regc 
+7733 1fe37e00 rshift pdata ,pdata 
+7734 2a6ffe00 isolate1 0 ,regc 
+7735 7920fe1f setflag true ,31 ,pdata 
+7736 e2220000 istore 4 ,rega 
+7737 1a20a3fc increase -4 ,rega 
+7738 1a632600 rshift regc ,regc 
+7739 c2007730 loop bn_rshift_0 
+773a 20600000 rtn 
+
+bn_lshift:
+773b 18007206 force 6 ,loopcnt 
+773c 18002600 force 0 ,regc 
+
+bn_lshift_0:
+773d ea220000 ifetch 4 ,rega 
+773e 2feffe1f isolate1 31 ,pdata 
+773f 7920a601 setflag true ,1 ,regc 
+7740 1fe3fe00 lshift pdata ,pdata 
+7741 2a6ffe00 isolate1 0 ,regc 
+7742 7920fe00 setflag true ,0 ,pdata 
+7743 e2220000 istore 4 ,rega 
+7744 1a20a204 increase 4 ,rega 
+7745 1a632600 rshift regc ,regc 
+7746 c200773d loop bn_lshift_0 
+7747 20600000 rtn 
+
+bn_lshiftmod:
+7748 2040773b call bn_lshift 
+
+bn_lshiftmod_ismod:
+7749 2a6ffe00 isolate1 0 ,regc 
+774a 2020f751 branch bn_lshiftmod_0 ,true 
+774b da400886 arg mem_p ,regb 
+774c 1a222600 copy rega ,regc 
+774d 1a20a3e8 increase -24 ,rega 
+774e 20407704 call bn_bigeq 
+774f 24610000 nrtn positive 
+7750 1a622200 copy regc ,rega 
+
+bn_lshiftmod_0:
+7751 1a20a3e8 increase -24 ,rega 
+7752 da400886 arg mem_p ,regb 
+7753 1a220a00 copy rega ,contw 
+7754 2020771f branch bn_sub 
+
+bn_addmod:
+7755 20407711 call bn_add 
+7756 18a22200 copy contw ,rega 
+7757 20207749 branch bn_lshiftmod_ismod 
+
+bn_submod:
+7758 2040771f call bn_sub 
+7759 2a6c0000 isolate0 0 ,regc 
+775a 20608000 rtn true 
+775b da400886 arg mem_p ,regb 
+775c 18a0a3e8 add contw ,-24 ,rega 
+775d 1a220a00 copy rega ,contw 
+775e 20207711 branch bn_add 
+
+bn_p192mod:
+775f 18a21600 copy contw ,timeup 
+7760 1a226000 copy rega ,alarm 
+7761 da400716 arg mem_tmp2 ,regb 
+7762 1a420a00 copy regb ,contw 
+7763 1a208c18 add rega ,24 ,contr 
+7764 e8c40000 ifetch 8 ,contr 
+7765 e0a40000 istore 8 ,contw 
+7766 e0a40000 istore 8 ,contw 
+7767 18007e00 force 0 ,pdata 
+7768 e0a40000 istore 8 ,contw 
+7769 19620a00 copy timeup ,contw 
+776a 20407755 call bn_addmod 
+776b da400716 arg mem_tmp2 ,regb 
+776c 1a420a00 copy regb ,contw 
+776d 18007e00 force 0 ,pdata 
+776e e0a40000 istore 8 ,contw 
+776f 1e008c20 add alarm ,32 ,contr 
+7770 e8c40000 ifetch 8 ,contr 
+7771 e0a40000 istore 8 ,contw 
+7772 e0a40000 istore 8 ,contw 
+7773 19622200 copy timeup ,rega 
+7774 1a220a00 copy rega ,contw 
+7775 20407755 call bn_addmod 
+7776 da400716 arg mem_tmp2 ,regb 
+7777 1a420a00 copy regb ,contw 
+7778 1e008c28 add alarm ,40 ,contr 
+7779 e8c40000 ifetch 8 ,contr 
+777a e0a40000 istore 8 ,contw 
+777b e0a40000 istore 8 ,contw 
+777c e0a40000 istore 8 ,contw 
+777d 19622200 copy timeup ,rega 
+777e 1a220a00 copy rega ,contw 
+777f 20207755 branch bn_addmod 
+
+bn_load:
+7780 18007206 force 6 ,loopcnt 
+
+bn_load_0:
+7781 e8c20000 ifetch 4 ,contr 
+7782 98005e00 iforce regext 
+7783 1f00f001 increase 1 ,regext_index 
+7784 c2007781 loop bn_load_0 
+7785 20600000 rtn 
+
+bn_mulmod:
+7786 18a21600 copy contw ,timeup 
+7787 d8a006e6 arg mem_tmp1 ,contw 
+7788 20407ec5 call bn_zero 
+7789 d8a006e6 arg mem_tmp1 ,contw 
+778a 1a220c00 copy rega ,contr 
+778b 18007000 force 0 ,regext_index 
+778c 20407780 call bn_load 
+778d 1a420c00 copy regb ,contr 
+778e 20407780 call bn_load 
+778f 18002400 force 0 ,regb 
+
+bn_mulmod_1:
+7790 18000400 force 0 ,temp 
+7791 18002606 force 6 ,regc 
+
+bn_mulmod_0:
+7792 e8a20000 ifetch 4 ,contw 
+7793 98002200 iforce rega 
+7794 1a427000 copy regb ,regext_index 
+7795 1de27e00 deposit regext 
+7796 1a627000 copy regc ,regext_index 
+7797 9deffe00 imul32 regext ,pdata 
+7798 9a20fe00 iadd rega ,pdata 
+7799 9840fe00 iadd temp ,pdata 
+779a e0a20000 istore 4 ,contw 
+779b 1fef0400 rshift32 pdata ,temp 
+779c 1a60a601 increase 1 ,regc 
+779d 2a61fe0c compare 12 ,regc ,0xff 
+779e 2420f792 nbranch bn_mulmod_0 ,true 
+779f 18427e00 deposit temp 
+77a0 e0a20000 istore 4 ,contw 
+77a1 18a08be8 increase -24 ,contw 
+77a2 1a40a401 increase 1 ,regb 
+77a3 2a41fe06 compare 6 ,regb ,0xff 
+77a4 2420f790 nbranch bn_mulmod_1 ,true 
+77a5 da2006e6 arg mem_tmp1 ,rega 
+77a6 19620a00 copy timeup ,contw 
+77a7 2020775f branch bn_p192mod 
+
+bn_sqrmod:
+77a8 1a222400 copy rega ,regb 
+77a9 20207786 branch bn_mulmod 
+
+bn_rshifteven:
+77aa 1a226000 copy rega ,alarm 
+
+bn_rshifteven_1:
+77ab 1e022200 copy alarm ,rega 
+77ac ea208000 ifetch 1 ,rega 
+77ad 2feffe00 isolate1 0 ,pdata 
+77ae 20608000 rtn true 
+77af 2040772d call bn_rshift6 
+77b0 ea408000 ifetch 1 ,regb 
+77b1 2fec0000 isolate0 0 ,pdata 
+77b2 2020f7ba branch bn_rshifteven_0 ,true 
+77b3 da200886 arg mem_p ,rega 
+77b4 1a420a00 copy regb ,contw 
+77b5 20407711 call bn_add 
+77b6 ea408000 ifetch 1 ,regb 
+77b7 9a60fe00 iadd regc ,pdata 
+77b8 e2408000 istore 1 ,regb 
+77b9 1a40a5e8 increase -24 ,regb 
+
+bn_rshifteven_0:
+77ba 1a40a218 add regb ,24 ,rega 
+77bb 18007207 force 7 ,loopcnt 
+77bc 2040772f call bn_rshift 
+77bd 202077ab branch bn_rshifteven_1 
+
+bn_invmod:
+77be 18a21600 copy contw ,timeup 
+77bf d8a00746 arg mem_tmp0 ,contw 
+77c0 20407ec5 call bn_zero 
+77c1 18007e00 force 0 ,pdata 
+77c2 600206fe store 4 ,mem_tmp5 
+77c3 6002075e store 4 ,mem_t2 
+77c4 70074601 jam 1 ,mem_tmp0 
+77c5 d8a006e6 arg mem_tmp1 ,contw 
+77c6 20407ec5 call bn_zero 
+77c7 d8c00886 arg mem_p ,contr 
+77c8 d8a00716 arg mem_tmp2 ,contw 
+77c9 20407ebe call memcpy24 
+77ca 1a220c00 copy rega ,contr 
+77cb d8a0072e arg mem_tmp3 ,contw 
+77cc 20407ebe call memcpy24 
+
+bn_invmod_2:
+77cd d8c0072e arg mem_tmp3 ,contr 
+77ce 204076f5 call bn_eq_zero 
+77cf 203a77f6 branch bn_invmod_0 ,blank 
+77d0 da20072e arg mem_tmp3 ,rega 
+77d1 da400746 arg mem_tmp0 ,regb 
+77d2 204077aa call bn_rshifteven 
+77d3 da200716 arg mem_tmp2 ,rega 
+77d4 da4006e6 arg mem_tmp1 ,regb 
+77d5 204077aa call bn_rshifteven 
+77d6 da20072e arg mem_tmp3 ,rega 
+77d7 da400716 arg mem_tmp2 ,regb 
+77d8 20407704 call bn_bigeq 
+77d9 202177e8 branch bn_invmod_1 ,positive 
+77da da200716 arg mem_tmp2 ,rega 
+77db da40072e arg mem_tmp3 ,regb 
+77dc 1a220a00 copy rega ,contw 
+77dd 2040771f call bn_sub 
+77de da200746 arg mem_tmp0 ,rega 
+77df da4006e6 arg mem_tmp1 ,regb 
+77e0 1a420a00 copy regb ,contw 
+77e1 20407711 call bn_add 
+77e2 ea208000 ifetch 1 ,rega 
+77e3 9a60a600 iadd regc ,regc 
+77e4 ea408000 ifetch 1 ,regb 
+77e5 9a60fe00 iadd regc ,pdata 
+77e6 e2408000 istore 1 ,regb 
+77e7 202077cd branch bn_invmod_2 
+
+bn_invmod_1:
+77e8 da20072e arg mem_tmp3 ,rega 
+77e9 da400716 arg mem_tmp2 ,regb 
+77ea 1a220a00 copy rega ,contw 
+77eb 2040771f call bn_sub 
+77ec da2006e6 arg mem_tmp1 ,rega 
+77ed da400746 arg mem_tmp0 ,regb 
+77ee 1a420a00 copy regb ,contw 
+77ef 20407711 call bn_add 
+77f0 ea208000 ifetch 1 ,rega 
+77f1 9a60a600 iadd regc ,regc 
+77f2 ea408000 ifetch 1 ,regb 
+77f3 9a60fe00 iadd regc ,pdata 
+77f4 e2408000 istore 1 ,regb 
+77f5 202077cd branch bn_invmod_2 
+
+bn_invmod_0:
+77f6 d8a00746 arg mem_tmp0 ,contw 
+77f7 20407ec5 call bn_zero 
+77f8 680086fe fetch 1 ,mem_tmp5 
+77f9 60008746 store 1 ,mem_tmp0 
+77fa 6000874e store 1 ,mem_tmp0a 
+77fb da200746 arg mem_tmp0 ,rega 
+77fc da4006e6 arg mem_tmp1 ,regb 
+77fd 1a420a00 copy regb ,contw 
+77fe 20407755 call bn_addmod 
+77ff da200886 arg mem_p ,rega 
+7800 da4006e6 arg mem_tmp1 ,regb 
+7801 19620a00 copy timeup ,contw 
+7802 20207758 branch bn_submod 
+
+ecdbl:
+7803 da2006a6 arg mem_cz ,rega 
+7804 d8a0075e arg mem_t2 ,contw 
+7805 204077a8 call bn_sqrmod 
+7806 da20075e arg mem_t2 ,rega 
+7807 d8a00776 arg mem_t3 ,contw 
+7808 204077a8 call bn_sqrmod 
+7809 da20089e arg mem_a ,rega 
+780a da400776 arg mem_t3 ,regb 
+780b d8a00776 arg mem_t3 ,contw 
+780c 20407786 call bn_mulmod 
+780d da200676 arg mem_cx ,rega 
+780e d8a0075e arg mem_t2 ,contw 
+780f 204077a8 call bn_sqrmod 
+7810 d8c0075e arg mem_t2 ,contr 
+7811 d8a0072e arg mem_t1 ,contw 
+7812 20407ebe call memcpy24 
+7813 da20072e arg mem_t1 ,rega 
+7814 20407748 call bn_lshiftmod 
+7815 da20075e arg mem_t2 ,rega 
+7816 da40072e arg mem_t1 ,regb 
+7817 d8a0075e arg mem_t2 ,contw 
+7818 20407755 call bn_addmod 
+7819 da20075e arg mem_t2 ,rega 
+781a da400776 arg mem_t3 ,regb 
+781b d8a0075e arg mem_t2 ,contw 
+781c 20407755 call bn_addmod 
+781d d8c00676 arg mem_cx ,contr 
+781e d8a0072e arg mem_t1 ,contw 
+781f 20407ebe call memcpy24 
+7820 da20068e arg mem_cy ,rega 
+7821 d8a00776 arg mem_t3 ,contw 
+7822 204077a8 call bn_sqrmod 
+7823 da20072e arg mem_t1 ,rega 
+7824 20407748 call bn_lshiftmod 
+7825 da20072e arg mem_t1 ,rega 
+7826 20407748 call bn_lshiftmod 
+7827 da20072e arg mem_t1 ,rega 
+7828 da400776 arg mem_t3 ,regb 
+7829 d8a0072e arg mem_t1 ,contw 
+782a 20407786 call bn_mulmod 
+782b da200776 arg mem_t3 ,rega 
+782c d8a00746 arg mem_t0 ,contw 
+782d 204077a8 call bn_sqrmod 
+782e da200746 arg mem_t0 ,rega 
+782f 20407748 call bn_lshiftmod 
+7830 da200746 arg mem_t0 ,rega 
+7831 20407748 call bn_lshiftmod 
+7832 da200746 arg mem_t0 ,rega 
+7833 20407748 call bn_lshiftmod 
+7834 d8c0068e arg mem_cy ,contr 
+7835 d8a00776 arg mem_t3 ,contw 
+7836 20407ebe call memcpy24 
+7837 da200776 arg mem_t3 ,rega 
+7838 20407748 call bn_lshiftmod 
+7839 da200776 arg mem_t3 ,rega 
+783a da4006a6 arg mem_cz ,regb 
+783b d8a006a6 arg mem_cz ,contw 
+783c 20407786 call bn_mulmod 
+783d da20075e arg mem_t2 ,rega 
+783e d8a00776 arg mem_t3 ,contw 
+783f 204077a8 call bn_sqrmod 
+7840 da200776 arg mem_t3 ,rega 
+7841 da40072e arg mem_t1 ,regb 
+7842 d8a00776 arg mem_t3 ,contw 
+7843 20407758 call bn_submod 
+7844 da200776 arg mem_t3 ,rega 
+7845 da40072e arg mem_t1 ,regb 
+7846 d8a00676 arg mem_cx ,contw 
+7847 20407758 call bn_submod 
+7848 da20072e arg mem_t1 ,rega 
+7849 da400676 arg mem_cx ,regb 
+784a d8a00776 arg mem_t3 ,contw 
+784b 20407758 call bn_submod 
+784c da200776 arg mem_t3 ,rega 
+784d da40075e arg mem_t2 ,regb 
+784e d8a00776 arg mem_t3 ,contw 
+784f 20407786 call bn_mulmod 
+7850 da200776 arg mem_t3 ,rega 
+7851 da400746 arg mem_t0 ,regb 
+7852 d8a0068e arg mem_cy ,contw 
+7853 20207758 branch bn_submod 
+
+ecadd:
+7854 da200616 arg mem_az ,rega 
+7855 d8a0078e arg mem_t7 ,contw 
+7856 204077a8 call bn_sqrmod 
+7857 da200676 arg mem_cx ,rega 
+7858 da40078e arg mem_t7 ,regb 
+7859 d8a00746 arg mem_t0 ,contw 
+785a 20407786 call bn_mulmod 
+785b da200616 arg mem_az ,rega 
+785c da40078e arg mem_t7 ,regb 
+785d d8a0078e arg mem_t7 ,contw 
+785e 20407786 call bn_mulmod 
+785f da20068e arg mem_cy ,rega 
+7860 da40078e arg mem_t7 ,regb 
+7861 d8a0072e arg mem_t1 ,contw 
+7862 20407786 call bn_mulmod 
+7863 da2006a6 arg mem_cz ,rega 
+7864 d8a0078e arg mem_t7 ,contw 
+7865 204077a8 call bn_sqrmod 
+7866 da2005e6 arg mem_ax ,rega 
+7867 da40078e arg mem_t7 ,regb 
+7868 d8a0075e arg mem_t2 ,contw 
+7869 20407786 call bn_mulmod 
+786a da2006a6 arg mem_cz ,rega 
+786b da40078e arg mem_t7 ,regb 
+786c d8a0078e arg mem_t7 ,contw 
+786d 20407786 call bn_mulmod 
+786e da2005fe arg mem_ay ,rega 
+786f da40078e arg mem_t7 ,regb 
+7870 d8a00776 arg mem_t3 ,contw 
+7871 20407786 call bn_mulmod 
+7872 da200746 arg mem_t0 ,rega 
+7873 da40075e arg mem_t2 ,regb 
+7874 d8a0078e arg mem_t7 ,contw 
+7875 20407758 call bn_submod 
+7876 da200746 arg mem_t0 ,rega 
+7877 da40075e arg mem_t2 ,regb 
+7878 d8a00746 arg mem_t0 ,contw 
+7879 20407755 call bn_addmod 
+787a da20072e arg mem_t1 ,rega 
+787b da400776 arg mem_t3 ,regb 
+787c d8a0075e arg mem_t2 ,contw 
+787d 20407758 call bn_submod 
+787e da20072e arg mem_t1 ,rega 
+787f da400776 arg mem_t3 ,regb 
+7880 d8a0072e arg mem_t1 ,contw 
+7881 20407755 call bn_addmod 
+7882 da20072e arg mem_t1 ,rega 
+7883 da40078e arg mem_t7 ,regb 
+7884 d8a0072e arg mem_t1 ,contw 
+7885 20407786 call bn_mulmod 
+7886 da2006a6 arg mem_cz ,rega 
+7887 da400616 arg mem_az ,regb 
+7888 d8a00776 arg mem_t3 ,contw 
+7889 20407786 call bn_mulmod 
+788a da200776 arg mem_t3 ,rega 
+788b da40078e arg mem_t7 ,regb 
+788c d8a006a6 arg mem_cz ,contw 
+788d 20407786 call bn_mulmod 
+788e da20078e arg mem_t7 ,rega 
+788f d8a0078e arg mem_t7 ,contw 
+7890 204077a8 call bn_sqrmod 
+7891 da20078e arg mem_t7 ,rega 
+7892 da400746 arg mem_t0 ,regb 
+7893 d8a00776 arg mem_t3 ,contw 
+7894 20407786 call bn_mulmod 
+7895 da20078e arg mem_t7 ,rega 
+7896 da40072e arg mem_t1 ,regb 
+7897 d8a0072e arg mem_t1 ,contw 
+7898 20407786 call bn_mulmod 
+7899 da20075e arg mem_t2 ,rega 
+789a d8a00676 arg mem_cx ,contw 
+789b 204077a8 call bn_sqrmod 
+789c da200676 arg mem_cx ,rega 
+789d da400776 arg mem_t3 ,regb 
+789e d8a00676 arg mem_cx ,contw 
+789f 20407758 call bn_submod 
+78a0 d8c00676 arg mem_cx ,contr 
+78a1 d8a0078e arg mem_t7 ,contw 
+78a2 20407ebe call memcpy24 
+78a3 da20078e arg mem_t7 ,rega 
+78a4 20407748 call bn_lshiftmod 
+78a5 da200776 arg mem_t3 ,rega 
+78a6 da40078e arg mem_t7 ,regb 
+78a7 d8a00776 arg mem_t3 ,contw 
+78a8 20407758 call bn_submod 
+78a9 da200776 arg mem_t3 ,rega 
+78aa da40075e arg mem_t2 ,regb 
+78ab d8a0075e arg mem_t2 ,contw 
+78ac 20407786 call bn_mulmod 
+78ad da20075e arg mem_t2 ,rega 
+78ae da40072e arg mem_t1 ,regb 
+78af d8a0068e arg mem_cy ,contw 
+78b0 20407758 call bn_submod 
+78b1 da20068e arg mem_cy ,rega 
+78b2 da400886 arg mem_p ,regb 
+78b3 d8a0068e arg mem_cy ,contw 
+78b4 18002600 force 0 ,regc 
+78b5 6800868e fetch 1 ,mem_cy 
+78b6 2feffe00 isolate1 0 ,pdata 
+78b7 2040f711 call bn_add ,true 
+78b8 1a626000 copy regc ,alarm 
+78b9 da20068e arg mem_cy ,rega 
+78ba 2040772d call bn_rshift6 
+78bb 680086a5 fetch 1 ,mem_cy5 
+78bc 2e0ffe00 isolate1 0 ,alarm 
+78bd 7920fe07 setflag true ,7 ,pdata 
+78be 600086a5 store 1 ,mem_cy5 
+78bf 20600000 rtn 
+
+eckp_0:
+78c0 680085e3 fetch 1 ,mem_ec_loopc 
+78c1 1fe0ffff increase -1 ,pdata 
+78c2 24610000 nrtn positive 
+78c3 600085e3 store 1 ,mem_ec_loopc 
+78c4 680085e2 fetch 1 ,mem_ec_infinite 
+78c5 205a7803 call ecdbl ,blank 
+78c6 680085e3 fetch 1 ,mem_ec_loopc 
+78c7 d8c006be arg mem_k ,contr 
+78c8 204076ec call bn_testbit 
+78c9 2020f8c0 branch eckp_0 ,true 
+78ca 680085e2 fetch 1 ,mem_ec_infinite 
+78cb 243a78ce nbranch eckp_1 ,blank 
+78cc 20407854 call ecadd 
+78cd 202078c0 branch eckp_0 
+
+eckp_1:
+78ce 7005e200 jam 0 ,mem_ec_infinite 
+78cf d8c005e6 arg mem_ax ,contr 
+78d0 d8a00676 arg mem_cx ,contw 
+78d1 204076f2 call ec_copy 
+78d2 202078c0 branch eckp_0 
+
+ecunmapz:
+78d3 da2006a6 arg mem_cz ,rega 
+78d4 d8a00776 arg mem_t3 ,contw 
+78d5 204077be call bn_invmod 
+78d6 da200776 arg mem_t3 ,rega 
+78d7 d8a0072e arg mem_t1 ,contw 
+78d8 204077a8 call bn_sqrmod 
+78d9 da200676 arg mem_cx ,rega 
+78da da40072e arg mem_t1 ,regb 
+78db d8a0062e arg mem_bx ,contw 
+78dc 20407786 call bn_mulmod 
+78dd da200776 arg mem_t3 ,rega 
+78de da40072e arg mem_t1 ,regb 
+78df d8a0075e arg mem_t2 ,contw 
+78e0 20407786 call bn_mulmod 
+78e1 da20068e arg mem_cy ,rega 
+78e2 da40075e arg mem_t2 ,regb 
+78e3 d8a00646 arg mem_by ,contw 
+78e4 20207786 branch bn_mulmod 
+
+sha_endian_swap2:
+78e5 e8c20000 ifetch 4 ,contr 
+78e6 18002204 force 4 ,rega 
+78e7 18a08a03 increase 3 ,contw 
+
+sha_endian_loop:
+78e8 e0a08000 istore 1 ,contw 
+78e9 1fecfe00 rshift8 pdata ,pdata 
+78ea 18a08bfe increase -2 ,contw 
+78eb 1a20a3ff increase -1 ,rega 
+78ec 2422f8e8 nbranch sha_endian_loop ,zero 
+78ed 18a08a05 increase 5 ,contw 
+78ee c20078e5 loop sha_endian_swap2 
+78ef 20600000 rtn 
+
+sha_getw:
+78f0 18ebfe00 lshift2 queue ,pdata 
+78f1 99608c00 iadd timeup ,contr 
+78f2 e8c20000 ifetch 4 ,contr 
+78f3 20600000 rtn 
+
+sha_r:
+78f4 18006010 force 16 ,alarm 
+78f5 d96005e6 arg memdat ,timeup 
+
+sha_r_loop:
+78f6 1e008ff9 add alarm ,-7 ,queue 
+78f7 204078f0 call sha_getw 
+78f8 98000400 iforce temp 
+78f9 1e008ff0 add alarm ,-16 ,queue 
+78fa 204078f0 call sha_getw 
+78fb 98408400 iadd temp ,temp 
+78fc 1e008ffe add alarm ,-2 ,queue 
+78fd 204078f0 call sha_getw 
+78fe 1fee7e01 shasx pdata ,1 ,pdata 
+78ff 98408400 iadd temp ,temp 
+7900 1e008ff1 add alarm ,-15 ,queue 
+7901 204078f0 call sha_getw 
+7902 1fee7e00 shasx pdata ,0 ,pdata 
+7903 98408400 iadd temp ,temp 
+7904 1e0bfe00 lshift2 alarm ,pdata 
+7905 99608a00 iadd timeup ,contw 
+7906 e0aa0000 istoret 4 ,contw 
+7907 1e00e001 increase 1 ,alarm 
+7908 2e01fe40 compare 64 ,alarm ,0xff 
+7909 2420f8f6 nbranch sha_r_loop ,true 
+790a 20600000 rtn 
+
+sha_init:
+790b d8c008fe arg memh0 ,contr 
+790c 18007007 force 7 ,regext_index 
+
+sha_init_0:
+790d e8c20000 ifetch 4 ,contr 
+790e 98005e00 iforce regext 
+790f 1f00f1ff increase -1 ,regext_index 
+7910 2021790d branch sha_init_0 ,positive 
+7911 20600000 rtn 
+
+sha:
+7912 4776403d bpatchx patch3d_4 ,mem_patch3d 
+7913 204078f4 call sha_r 
+7914 d8a006e6 arg memahbak ,contw 
+7915 18007000 force 0 ,regext_index 
+
+sha_0:
+7916 1de27e00 deposit regext 
+7917 e0a20000 istore 4 ,contw 
+7918 1f00f001 increase 1 ,regext_index 
+7919 2f01fe08 compare 8 ,regext_index ,0xff 
+791a 2420f916 nbranch sha_0 ,true 
+791b 204074b9 call enable_authrom 
+791c d9608700 arg memk ,timeup 
+791d de0005e6 arg memdat ,alarm 
+791e 18007240 force 64 ,loopcnt 
+
+sha_loop:
+791f ee0a0000 ifetcht 4 ,alarm 
+7920 e9620000 ifetch 4 ,timeup 
+7921 19609604 increase 4 ,timeup 
+7922 1e00e004 increase 4 ,alarm 
+7923 9840fe00 iadd temp ,pdata 
+7924 18007007 force 7 ,regext_index 
+7925 9de08400 iadd regext ,temp 
+7926 18007004 force 4 ,regext_index 
+7927 1dee7e03 shasx regext ,3 ,pdata 
+7928 98408400 iadd temp ,temp 
+7929 18007005 force 5 ,regext_index 
+792a 1de27e00 deposit regext 
+792b 18007006 force 6 ,regext_index 
+792c 9de2fe00 ixor regext ,pdata 
+792d 18007004 force 4 ,regext_index 
+792e 9de17e00 iand regext ,pdata 
+792f 18007006 force 6 ,regext_index 
+7930 9de2fe00 ixor regext ,pdata 
+7931 98408400 iadd temp ,temp 
+7932 18007007 force 7 ,regext_index 
+7933 18425e00 copy temp ,regext 
+7934 18007003 force 3 ,regext_index 
+7935 1de27e00 deposit regext 
+7936 9840de00 iadd temp ,regext 
+7937 18007000 force 0 ,regext_index 
+7938 1de27e00 deposit regext 
+7939 18007001 force 1 ,regext_index 
+793a 9de10400 iand regext ,temp 
+793b 9de1fe00 ior regext ,pdata 
+793c 18007002 force 2 ,regext_index 
+793d 9de17e00 iand regext ,pdata 
+793e 98418400 ior temp ,temp 
+793f 18007000 force 0 ,regext_index 
+7940 1dee7e02 shasx regext ,2 ,pdata 
+7941 9840fe00 iadd temp ,pdata 
+7942 18007007 force 7 ,regext_index 
+7943 9de0de00 iadd regext ,regext 
+7944 980efc00 regexrot 
+7945 c200791f loop sha_loop 
+7946 d8c006e6 arg memahbak ,contr 
+7947 18007000 force 0 ,regext_index 
+
+sha_1:
+7948 e8c20000 ifetch 4 ,contr 
+7949 9de0de00 iadd regext ,regext 
+794a 1f00f001 increase 1 ,regext_index 
+794b 2f01fe08 compare 8 ,regext_index ,0xff 
+794c 2420f948 nbranch sha_1 ,true 
+794d 202074bd branch disable_authrom 
+
+sha_result:
+794e d8a00a3e arg memresult ,contw 
+794f 18007007 force 7 ,regext_index 
+
+sha_regext_save:
+7950 1de27e00 deposit regext 
+7951 e0a20000 istore 4 ,contw 
+7952 1f00f1ff increase -1 ,regext_index 
+7953 20217950 branch sha_regext_save ,positive 
+7954 20600000 rtn 
+
+pad_xor:
+7955 d8a005e6 arg memdat ,contw 
+7956 18c08dfc increase -4 ,contr 
+7957 1f262210 sub loopcnt ,16 ,rega 
+
+pad_xor_0:
+7958 e8c20000 ifetch 4 ,contr 
+7959 9842fe00 ixor temp ,pdata 
+795a e0a20000 istore 4 ,contw 
+795b 18c08df8 increase -8 ,contr 
+795c c2007958 loop pad_xor_0 
+795d 1a227200 copy rega ,loopcnt 
+795e 18427e00 deposit temp 
+
+pad_xor_1:
+795f e0a20000 istore 4 ,contw 
+7960 c200795f loop pad_xor_1 
+7961 20600000 rtn 
+
+g_noninit_number_confirm:
+7962 20407967 call g_noninit0 
+7963 2040794e call sha_result 
+7964 2020798d branch g_common0 
+
+g_noninit:
+7965 20407967 call g_noninit0 
+7966 2020798d branch g_common0 
+
+g_noninit0:
+7967 d8c009de arg mem_sp_pubkey_remote_x_end ,contr 
+7968 d8a005e6 arg memdat ,contw 
+7969 18007206 force 6 ,loopcnt 
+796a 20407a71 call memcpy_dword_swap 
+796b d8c04642 arg mem_sp_pubkey_local_x_end ,contr 
+796c 18007206 force 6 ,loopcnt 
+796d 20407a71 call memcpy_dword_swap 
+796e d8c00a3e arg mem_sp_random_remote_end ,contr 
+796f 20407a70 call memcpy_dword_swap4 
+7970 2040790b call sha_init 
+7971 20407912 call sha 
+7972 d8c00a2e arg mem_sp_random_local_end ,contr 
+7973 d8a005e6 arg memdat ,contw 
+7974 20207984 branch g_common 
+
+g_init:
+7975 d8c04642 arg mem_sp_pubkey_local_x_end ,contr 
+7976 d8a005e6 arg memdat ,contw 
+7977 18007206 force 6 ,loopcnt 
+7978 20407a71 call memcpy_dword_swap 
+7979 d8c009de arg mem_sp_pubkey_remote_x_end ,contr 
+797a 18007206 force 6 ,loopcnt 
+797b 20407a71 call memcpy_dword_swap 
+797c d8c00a2e arg mem_sp_random_local_end ,contr 
+797d 20407a70 call memcpy_dword_swap4 
+797e 2040790b call sha_init 
+797f 20407912 call sha 
+7980 d8c00a3e arg mem_sp_random_remote_end ,contr 
+7981 d8a005e6 arg memdat ,contw 
+7982 20407984 call g_common 
+7983 2020798d branch g_common0 
+
+g_common:
+7984 20407a70 call memcpy_dword_swap4 
+7985 58800000 setarg 0x800000 
+7986 1fed7e00 lshift8 pdata ,pdata 
+7987 e0a20000 istore 4 ,contw 
+7988 18007205 force 5 ,loopcnt 
+7989 20407ec6 call memset0 
+798a 58000280 setarg 640 
+798b e0a20000 istore 4 ,contw 
+798c 20207912 branch sha 
+
+g_common0:
+798d 68020a3e fetch 4 ,memresult 
+798e da2003e8 arg 1000 ,rega 
+798f 9a26fc00 idiv rega 
+7990 20407f86 call wait_div_end 
+7991 18077e00 remainder pdata 
+7992 600209ba store 4 ,mem_gkey 
+7993 1807fe00 quotient pdata 
+7994 da2003e8 arg 1000 ,rega 
+7995 9a26fc00 idiv rega 
+7996 20407f86 call wait_div_end 
+7997 18077e00 remainder pdata 
+7998 da2003e8 arg 1000 ,rega 
+7999 9a2ffe00 imul32 rega ,pdata 
+799a 680a09ba fetcht 4 ,mem_gkey 
+799b 9840fe00 iadd temp ,pdata 
+799c 600209ba store 4 ,mem_gkey 
+799d 20600000 rtn 
+
+function_f1_no_key:
+799e 70466400 jam 0 ,mem_passkey_1bit 
+799f 202079a2 branch function_f1_common 
+
+function_f1:
+79a0 6800c662 fetch 1 ,mem_ssp_mode_flag 
+79a1 c081799e bne ssp_mode_passkey_entry_flag ,function_f1_no_key 
+
+function_f1_common:
+79a2 4776c03d bpatchx patch3d_5 ,mem_patch3d 
+79a3 58363636 setarg 0x363636 
+79a4 1fed0400 lshift8 pdata ,temp 
+79a5 18418436 or_into 0x36 ,temp 
+79a6 68010a7e fetch 2 ,mem_sp_prarm_stack 
+79a7 1fe20c00 copy pdata ,contr 
+79a8 18007204 force 4 ,loopcnt 
+79a9 20407955 call pad_xor 
+79aa 2040790b call sha_init 
+79ab 20407912 call sha 
+79ac 68010a80 fetch 2 ,mem_sp_prarm_stack + 2 
+79ad 1fe20c00 copy pdata ,contr 
+79ae d8a005e6 arg memdat ,contw 
+79af 18007206 force 6 ,loopcnt 
+79b0 20407a71 call memcpy_dword_swap 
+79b1 68010a82 fetch 2 ,mem_sp_prarm_stack + 4 
+79b2 1fe20c00 copy pdata ,contr 
+79b3 18007206 force 6 ,loopcnt 
+79b4 20407a71 call memcpy_dword_swap 
+79b5 58800000 setarg 0x800000 
+79b6 e0a18000 istore 3 ,contw 
+79b7 6800c664 fetch 1 ,mem_passkey_1bit 
+79b8 e0a08000 istore 1 ,contw 
+79b9 18007e00 force 0 ,pdata 
+79ba e0a40000 istore 8 ,contw 
+79bb 58000388 setarg 0x0388 
+79bc e0a20000 istore 4 ,contw 
+79bd 20407912 call sha 
+79be 2040794e call sha_result 
+79bf d8c00a3e arg memresult ,contr 
+79c0 d8a00706 arg memahsave ,contw 
+79c1 20407ebd call memcpy32 
+79c2 585c5c5c setarg 0x5c5c5c 
+79c3 1fed0400 lshift8 pdata ,temp 
+79c4 1841845c or_into 0x5c ,temp 
+79c5 68010a7e fetch 2 ,mem_sp_prarm_stack 
+79c6 1fe20c00 copy pdata ,contr 
+79c7 18007204 force 4 ,loopcnt 
+79c8 20407955 call pad_xor 
+79c9 2040790b call sha_init 
+79ca 20407912 call sha 
+79cb d8c00726 arg memahsave_end ,contr 
+79cc d8a005e6 arg memdat ,contw 
+79cd 18007208 force 8 ,loopcnt 
+79ce 20407a71 call memcpy_dword_swap 
+79cf 58800000 setarg 0x800000 
+79d0 1fed7e00 lshift8 pdata ,pdata 
+79d1 e0a20000 istore 4 ,contw 
+79d2 20407ec5 call bn_zero 
+79d3 58000300 setarg 0x0300 
+79d4 e0a20000 istore 4 ,contw 
+79d5 20407912 call sha 
+79d6 2020794e branch sha_result 
+
+function_f2:
+79d7 58363636 setarg 0x363636 
+79d8 1fed0400 lshift8 pdata ,temp 
+79d9 18418436 or_into 0x36 ,temp 
+79da d8c00a1e arg mem_sp_dhkey_end ,contr 
+79db 18007206 force 6 ,loopcnt 
+79dc 20407955 call pad_xor 
+79dd 2040790b call sha_init 
+79de 20407912 call sha 
+79df 68010a8a fetch 2 ,mem_sp_prarm_stack + 12 
+79e0 1fe20c00 copy pdata ,contr 
+79e1 d8a005e6 arg memdat ,contw 
+79e2 20407a70 call memcpy_dword_swap4 
+79e3 68010a8c fetch 2 ,mem_sp_prarm_stack + 14 
+79e4 1fe20c00 copy pdata ,contr 
+79e5 20407a70 call memcpy_dword_swap4 
+79e6 5862746c setarg 0x62746c 
+79e7 1fed7e00 lshift8 pdata ,pdata 
+79e8 1fe1fe6b or_into 0x6b ,pdata 
+79e9 e0a20000 istore 4 ,contw 
+79ea d8c00733 arg mem_addr_value_end ,contr 
+79eb 18007203 force 3 ,loopcnt 
+79ec 20407a71 call memcpy_dword_swap 
+79ed 58800000 setarg 0x800000 
+79ee 1fed7e00 lshift8 pdata ,pdata 
+79ef e0a20000 istore 4 ,contw 
+79f0 18007e00 force 0 ,pdata 
+79f1 e0a40000 istore 8 ,contw 
+79f2 58000380 setarg 0x0380 
+79f3 e0a20000 istore 4 ,contw 
+79f4 20407912 call sha 
+79f5 2040794e call sha_result 
+79f6 d8c00a3e arg memresult ,contr 
+79f7 d8a00706 arg memahsave ,contw 
+79f8 20407ebd call memcpy32 
+79f9 585c5c5c setarg 0x5c5c5c 
+79fa 1fed0400 lshift8 pdata ,temp 
+79fb 1841845c or_into 0x5c ,temp 
+79fc d8c00a1e arg mem_sp_dhkey_end ,contr 
+79fd 18007206 force 6 ,loopcnt 
+79fe 20407955 call pad_xor 
+79ff 2040790b call sha_init 
+7a00 20407912 call sha 
+7a01 d8c00726 arg memahsave_end ,contr 
+7a02 d8a005e6 arg memdat ,contw 
+7a03 18007208 force 8 ,loopcnt 
+7a04 20407a71 call memcpy_dword_swap 
+7a05 58800000 setarg 0x800000 
+7a06 1fed7e00 lshift8 pdata ,pdata 
+7a07 e0a20000 istore 4 ,contw 
+7a08 20407ec5 call bn_zero 
+7a09 58000300 setarg 0x0300 
+7a0a e0a20000 istore 4 ,contw 
+7a0b 20407912 call sha 
+7a0c 2020794e branch sha_result 
+
+function_f3a:
+7a0d 6800c662 fetch 1 ,mem_ssp_mode_flag 
+7a0e c0817a1e bne ssp_mode_passkey_entry_flag ,function_f3a_no_pin 
+
+function_f3a_common:
+7a0f 4777403d bpatchx patch3d_6 ,mem_patch3d 
+7a10 58363636 setarg 0x363636 
+7a11 1fed0400 lshift8 pdata ,temp 
+7a12 18418436 or_into 0x36 ,temp 
+7a13 d8c00a1e arg mem_sp_dhkey_end ,contr 
+7a14 18007206 force 6 ,loopcnt 
+7a15 20407955 call pad_xor 
+7a16 2040790b call sha_init 
+7a17 20407912 call sha 
+7a18 d8c00a3e arg mem_sp_random_remote_end ,contr 
+7a19 d8a005e6 arg memdat ,contw 
+7a1a 20407a70 call memcpy_dword_swap4 
+7a1b d8c00a2e arg mem_sp_random_local_end ,contr 
+7a1c 20407a70 call memcpy_dword_swap4 
+7a1d 20207a33 branch function_f3_common 
+
+function_f3a_no_pin:
+7a1e 58000000 setarg 0 
+7a1f 6002468a store 4 ,mem_pin 
+7a20 20207a0f branch function_f3a_common 
+
+function_f3b_no_pin:
+7a21 58000000 setarg 0 
+7a22 6002468a store 4 ,mem_pin 
+7a23 20207a26 branch function_f3b_common 
+
+function_f3b:
+7a24 6800c662 fetch 1 ,mem_ssp_mode_flag 
+7a25 c0817a21 bne ssp_mode_passkey_entry_flag ,function_f3b_no_pin 
+
+function_f3b_common:
+7a26 58363636 setarg 0x363636 
+7a27 1fed0400 lshift8 pdata ,temp 
+7a28 18418436 or_into 0x36 ,temp 
+7a29 d8c00a1e arg mem_sp_dhkey_end ,contr 
+7a2a 18007206 force 6 ,loopcnt 
+7a2b 20407955 call pad_xor 
+7a2c 2040790b call sha_init 
+7a2d 20407912 call sha 
+7a2e d8c00a2e arg mem_sp_random_local_end ,contr 
+7a2f d8a005e6 arg memdat ,contw 
+7a30 20407a70 call memcpy_dword_swap4 
+7a31 d8c00a3e arg mem_sp_random_remote_end ,contr 
+7a32 20407a70 call memcpy_dword_swap4 
+
+function_f3_common:
+7a33 58000000 setarg 0x0 
+7a34 e0a40000 istore 8 ,contw 
+7a35 e0a20000 istore 4 ,contw 
+7a36 6802468a fetch 4 ,mem_pin 
+7a37 e0a20000 istore 4 ,contw 
+7a38 18a20400 copy contw ,temp 
+7a39 70072680 jam 0x80 ,mem_addr_padding 
+7a3a 18420a00 copy temp ,contw 
+7a3b d8c00736 arg mem_addr_iocap_end ,contr 
+7a3c 20407a70 call memcpy_dword_swap4 
+7a3d 20407912 call sha 
+7a3e d8a005e6 arg memdat ,contw 
+7a3f 18007207 force 7 ,loopcnt 
+7a40 20407ec6 call memset0 
+7a41 e0a20000 istore 4 ,contw 
+7a42 580003f8 setarg 0x03F8 
+7a43 e0a20000 istore 4 ,contw 
+7a44 20407912 call sha 
+7a45 2040794e call sha_result 
+7a46 d8c00a3e arg memresult ,contr 
+7a47 d8a00706 arg memahsave ,contw 
+7a48 20407ebd call memcpy32 
+7a49 585c5c5c setarg 0x5c5c5c 
+7a4a 1fed0400 lshift8 pdata ,temp 
+7a4b 1841845c or_into 0x5c ,temp 
+7a4c d8c00a1e arg mem_sp_dhkey_end ,contr 
+7a4d 18007206 force 6 ,loopcnt 
+7a4e 20407955 call pad_xor 
+7a4f 2040790b call sha_init 
+7a50 20407912 call sha 
+7a51 d8c00726 arg memahsave_end ,contr 
+7a52 d8a005e6 arg memdat ,contw 
+7a53 18007208 force 8 ,loopcnt 
+7a54 20407a71 call memcpy_dword_swap 
+7a55 58800000 setarg 0x800000 
+7a56 1fed7e00 lshift8 pdata ,pdata 
+7a57 e0a20000 istore 4 ,contw 
+7a58 20407ec5 call bn_zero 
+7a59 58000300 setarg 0x0300 
+7a5a e0a20000 istore 4 ,contw 
+7a5b 20407912 call sha 
+7a5c 2020794e branch sha_result 
+
+eckp_calc_init:
+7a5d 7005e3c0 jam 192 ,mem_ec_loopc 
+
+eckp_calc_init_1:
+7a5e 680085e3 fetch 1 ,mem_ec_loopc 
+7a5f 207a0000 rtn blank 
+7a60 1fe0ffff increase -1 ,pdata 
+7a61 600085e3 store 1 ,mem_ec_loopc 
+7a62 d8c006be arg mem_k ,contr 
+7a63 204076ec call bn_testbit 
+7a64 2020fa5e branch eckp_calc_init_1 ,true 
+7a65 d8c005e6 arg mem_ax ,contr 
+7a66 d8a00676 arg mem_cx ,contw 
+7a67 202076f2 branch ec_copy 
+
+eckp_calc:
+7a68 20407803 call ecdbl 
+7a69 680085e3 fetch 1 ,mem_ec_loopc 
+7a6a 1fe0ffff increase -1 ,pdata 
+7a6b 600085e3 store 1 ,mem_ec_loopc 
+7a6c d8c006be arg mem_k ,contr 
+7a6d 204076ec call bn_testbit 
+7a6e 20608000 rtn true 
+7a6f 20207854 branch ecadd 
+
+memcpy_dword_swap4:
+7a70 18007204 force 4 ,loopcnt 
+
+memcpy_dword_swap:
+7a71 18c08dfc increase -4 ,contr 
+
+memcpy_dword_swap_loop:
+7a72 e8c20000 ifetch 4 ,contr 
+7a73 e0a20000 istore 4 ,contw 
+7a74 18c08df8 increase -8 ,contr 
+7a75 c2007a72 loop memcpy_dword_swap_loop 
+7a76 20600000 rtn 
+
+sp_initialize_256:
+7a77 4777c03d bpatchx patch3d_7 ,mem_patch3d 
+7a78 6800c4be fetch 1 ,mem_le_secure_connect_enable 
+7a79 203a5af0 branch le_secure_connection_disable ,blank 
+7a7a 20405aec call le_secure_connection_enable 
+7a7b 20407583 call sp_clear_flags 
+7a7c 20207a7d branch sp_pubkey_calc_256 
+
+sp_pubkey_calc_256:
+7a7d 6800c4c3 fetch 1 ,mem_le_sc_local_key_invalid 
+7a7e c1800000 rtnne sp_key_invalid 
+7a7f 6800c4c0 fetch 1 ,mem_le_sc_calc 
+7a80 c1800000 rtnne sp_calc_standby 
+7a81 d8a045b2 arg mem_le_private_key_256 ,contw 
+7a82 18000e0f force 15 ,queue 
+7a83 204076a2 call random_generator 
+7a84 180a7e00 random pdata 
+7a85 1fe37e00 rshift pdata ,pdata 
+7a86 e0a10000 istore 2 ,contw 
+7a87 d8a00766 arg mem_k_256 ,contw 
+7a88 d8c045b2 arg mem_le_private_key_256 ,contr 
+7a89 20407ebd call memcpy32 
+7a8a d8a00646 arg mem_ax_256 ,contw 
+7a8b d8c0095e arg mem_gx_256 ,contr 
+7a8c 20407eb3 call memcpy64 
+7a8d d8a00686 arg mem_az_256 ,contw 
+7a8e 20407ed0 call clear_mem_256 
+7a8f 70068601 jam 1 ,mem_az_256 
+7a90 20407ac7 call eckp_calc_init_256 
+7a91 7044c003 jam sp_calc_pubkey_256 ,mem_le_sc_calc 
+7a92 20600000 rtn 
+
+sp_pubkey_generated_256:
+7a93 d8a045d2 arg mem_le_pubkey_local_x_256 ,contw 
+7a94 d8c006a6 arg mem_bx_256 ,contr 
+7a95 20407eb3 call memcpy64 
+7a96 7044c303 jam sp_key_valid_256 ,mem_le_sc_local_key_invalid 
+7a97 7044c000 jam sp_calc_standby ,mem_le_sc_calc 
+7a98 20600000 rtn 
+
+sp_dhkey_calc_256:
+7a99 680089b9 fetch 1 ,mem_sp_dhkey_invalid 
+7a9a c1800000 rtnne sp_key_invalid 
+7a9b 6800c4c0 fetch 1 ,mem_le_sc_calc 
+7a9c c1800000 rtnne sp_calc_standby 
+7a9d d8a00766 arg mem_k_256 ,contw 
+7a9e d8c045b2 arg mem_le_private_key_256 ,contr 
+7a9f 20407ebd call memcpy32 
+7aa0 d8a00646 arg mem_ax_256 ,contw 
+7aa1 d8c009be arg mem_le_pubkey_remote_x_256 ,contr 
+7aa2 20407eb3 call memcpy64 
+7aa3 d8a00686 arg mem_az_256 ,contw 
+7aa4 20407ed0 call clear_mem_256 
+7aa5 70068601 jam 1 ,mem_az_256 
+7aa6 20407ac7 call eckp_calc_init_256 
+7aa7 7044c004 jam sp_calc_dhkey_256 ,mem_le_sc_calc 
+7aa8 20600000 rtn 
+
+sp_dhkey_generated_256:
+7aa9 d8a009fe arg mem_le_dhkey_256 ,contw 
+7aaa d8c006a6 arg mem_bx_256 ,contr 
+7aab 20407ebd call memcpy32 
+7aac 7009b903 jam sp_key_valid_256 ,mem_sp_dhkey_invalid 
+7aad 7044c000 jam sp_calc_standby ,mem_le_sc_calc 
+7aae 20600000 rtn 
+
+sp_calc_sequence_256:
+7aaf 6800c4be fetch 1 ,mem_le_secure_connect_enable 
+7ab0 207a0000 rtn blank 
+7ab1 6800c4c0 fetch 1 ,mem_le_sc_calc 
+7ab2 207a0000 rtn blank 
+7ab3 1fe0fe80 increase 0x80 ,pdata 
+7ab4 6000c4c0 store 1 ,mem_le_sc_calc 
+7ab5 c3838000 rtnbit1 7 
+7ab6 680105e3 fetch 2 ,mem_ec_loopc 
+7ab7 203a7ab9 branch sp_calc_sequence_done_256 ,blank 
+7ab8 20207abf branch eckp_calc_256 
+
+sp_calc_sequence_done_256:
+7ab9 4778403e bpatchx patch3e_0 ,mem_patch3e 
+7aba 20407ad4 call ecunmapz_256 
+7abb 6800c4c0 fetch 1 ,mem_le_sc_calc 
+7abc c001fa93 beq sp_calc_pubkey_256 ,sp_pubkey_generated_256 
+7abd c0027aa9 beq sp_calc_dhkey_256 ,sp_dhkey_generated_256 
+7abe 20600000 rtn 
+
+eckp_calc_256:
+7abf 20407ae6 call ecdbl_256 
+7ac0 680105e3 fetch 2 ,mem_ec_loopc 
+7ac1 1fe0ffff increase -1 ,pdata 
+7ac2 600105e3 store 2 ,mem_ec_loopc 
+7ac3 d8c00766 arg mem_k_256 ,contr 
+7ac4 204076ec call bn_testbit 
+7ac5 20608000 rtn true 
+7ac6 20207b37 branch ecadd_256 
+
+eckp_calc_init_256:
+7ac7 4778c03e bpatchx patch3e_1 ,mem_patch3e 
+7ac8 58000100 setarg 256 ,pdata 
+7ac9 600105e3 store 2 ,mem_ec_loopc 
+
+eckp_calc_init_256_1:
+7aca 680105e3 fetch 2 ,mem_ec_loopc 
+7acb 207a0000 rtn blank 
+7acc 1fe0ffff increase -1 ,pdata 
+7acd 600105e3 store 2 ,mem_ec_loopc 
+7ace d8c00766 arg mem_k_256 ,contr 
+7acf 204076ec call bn_testbit 
+7ad0 2020faca branch eckp_calc_init_256_1 ,true 
+7ad1 d8c00646 arg mem_ax_256 ,contr 
+7ad2 d8a00706 arg mem_cx_256 ,contw 
+7ad3 20207eb2 branch memcpy96 
+
+ecunmapz_256:
+7ad4 da200746 arg mem_cz_256 ,rega 
+7ad5 d8a00846 arg mem_t3_256 ,contw 
+7ad6 20407ba3 call bn_invmod_256 
+7ad7 da200846 arg mem_t3_256 ,rega 
+7ad8 d8a007e6 arg mem_t1_256 ,contw 
+7ad9 20407c79 call bn_sqrmod_256 
+7ada da200706 arg mem_cx_256 ,rega 
+7adb da4007e6 arg mem_t1_256 ,regb 
+7adc d8a006a6 arg mem_bx_256 ,contw 
+7add 20407be1 call bn_mulmod_256 
+7ade da200846 arg mem_t3_256 ,rega 
+7adf da4007e6 arg mem_t1_256 ,regb 
+7ae0 d8a00826 arg mem_t2_256 ,contw 
+7ae1 20407be1 call bn_mulmod_256 
+7ae2 da200726 arg mem_cy_256 ,rega 
+7ae3 da400826 arg mem_t2_256 ,regb 
+7ae4 d8a006c6 arg mem_by_256 ,contw 
+7ae5 20207be1 branch bn_mulmod_256 
+
+ecdbl_256:
+7ae6 da200746 arg mem_cz_256 ,rega 
+7ae7 d8a00826 arg mem_t2_256 ,contw 
+7ae8 20407c79 call bn_sqrmod_256 
+7ae9 da200826 arg mem_t2_256 ,rega 
+7aea d8a00846 arg mem_t3_256 ,contw 
+7aeb 20407c79 call bn_sqrmod_256 
+7aec da20093e arg mem_a_256 ,rega 
+7aed da400846 arg mem_t3_256 ,regb 
+7aee d8a00846 arg mem_t3_256 ,contw 
+7aef 20407be1 call bn_mulmod_256 
+7af0 da200706 arg mem_cx_256 ,rega 
+7af1 d8a00826 arg mem_t2_256 ,contw 
+7af2 20407c79 call bn_sqrmod_256 
+7af3 d8c00826 arg mem_t2_256 ,contr 
+7af4 d8a007e6 arg mem_t1_256 ,contw 
+7af5 20407ebd call memcpy32 
+7af6 da2007e6 arg mem_t1_256 ,rega 
+7af7 20407c80 call bn_lshiftmod_256 
+7af8 da200826 arg mem_t2_256 ,rega 
+7af9 da4007e6 arg mem_t1_256 ,regb 
+7afa d8a00826 arg mem_t2_256 ,contw 
+7afb 20407c7d call bn_addmod_256 
+7afc da200826 arg mem_t2_256 ,rega 
+7afd da400846 arg mem_t3_256 ,regb 
+7afe d8a00826 arg mem_t2_256 ,contw 
+7aff 20407c7d call bn_addmod_256 
+7b00 d8c00706 arg mem_cx_256 ,contr 
+7b01 d8a007e6 arg mem_t1_256 ,contw 
+7b02 20407ebd call memcpy32 
+7b03 da200726 arg mem_cy_256 ,rega 
+7b04 d8a00846 arg mem_t3_256 ,contw 
+7b05 20407c79 call bn_sqrmod_256 
+7b06 da2007e6 arg mem_t1_256 ,rega 
+7b07 20407c80 call bn_lshiftmod_256 
+7b08 da2007e6 arg mem_t1_256 ,rega 
+7b09 20407c80 call bn_lshiftmod_256 
+7b0a da2007e6 arg mem_t1_256 ,rega 
+7b0b da400846 arg mem_t3_256 ,regb 
+7b0c d8a007e6 arg mem_t1_256 ,contw 
+7b0d 20407be1 call bn_mulmod_256 
+7b0e da200846 arg mem_t3_256 ,rega 
+7b0f d8a00806 arg mem_t0_256 ,contw 
+7b10 20407c79 call bn_sqrmod_256 
+7b11 da200806 arg mem_t0_256 ,rega 
+7b12 20407c80 call bn_lshiftmod_256 
+7b13 da200806 arg mem_t0_256 ,rega 
+7b14 20407c80 call bn_lshiftmod_256 
+7b15 da200806 arg mem_t0_256 ,rega 
+7b16 20407c80 call bn_lshiftmod_256 
+7b17 d8c00726 arg mem_cy_256 ,contr 
+7b18 d8a00846 arg mem_t3_256 ,contw 
+7b19 20407ebd call memcpy32 
+7b1a da200846 arg mem_t3_256 ,rega 
+7b1b 20407c80 call bn_lshiftmod_256 
+7b1c da200846 arg mem_t3_256 ,rega 
+7b1d da400746 arg mem_cz_256 ,regb 
+7b1e d8a00746 arg mem_cz_256 ,contw 
+7b1f 20407be1 call bn_mulmod_256 
+7b20 da200826 arg mem_t2_256 ,rega 
+7b21 d8a00846 arg mem_t3_256 ,contw 
+7b22 20407c79 call bn_sqrmod_256 
+7b23 da200846 arg mem_t3_256 ,rega 
+7b24 da4007e6 arg mem_t1_256 ,regb 
+7b25 d8a00846 arg mem_t3_256 ,contw 
+7b26 20407c96 call bn_submod_256 
+7b27 da200846 arg mem_t3_256 ,rega 
+7b28 da4007e6 arg mem_t1_256 ,regb 
+7b29 d8a00706 arg mem_cx_256 ,contw 
+7b2a 20407c96 call bn_submod_256 
+7b2b da2007e6 arg mem_t1_256 ,rega 
+7b2c da400706 arg mem_cx_256 ,regb 
+7b2d d8a00846 arg mem_t3_256 ,contw 
+7b2e 20407c96 call bn_submod_256 
+7b2f da200846 arg mem_t3_256 ,rega 
+7b30 da400826 arg mem_t2_256 ,regb 
+7b31 d8a00846 arg mem_t3_256 ,contw 
+7b32 20407be1 call bn_mulmod_256 
+7b33 da200846 arg mem_t3_256 ,rega 
+7b34 da400806 arg mem_t0_256 ,regb 
+7b35 d8a00726 arg mem_cy_256 ,contw 
+7b36 20207c96 branch bn_submod_256 
+
+ecadd_256:
+7b37 da200686 arg mem_az_256 ,rega 
+7b38 d8a00866 arg mem_t7_256 ,contw 
+7b39 20407c79 call bn_sqrmod_256 
+7b3a da200706 arg mem_cx_256 ,rega 
+7b3b da400866 arg mem_t7_256 ,regb 
+7b3c d8a00806 arg mem_t0_256 ,contw 
+7b3d 20407be1 call bn_mulmod_256 
+7b3e da200686 arg mem_az_256 ,rega 
+7b3f da400866 arg mem_t7_256 ,regb 
+7b40 d8a00866 arg mem_t7_256 ,contw 
+7b41 20407be1 call bn_mulmod_256 
+7b42 da200726 arg mem_cy_256 ,rega 
+7b43 da400866 arg mem_t7_256 ,regb 
+7b44 d8a007e6 arg mem_t1_256 ,contw 
+7b45 20407be1 call bn_mulmod_256 
+7b46 da200746 arg mem_cz_256 ,rega 
+7b47 d8a00866 arg mem_t7_256 ,contw 
+7b48 20407c79 call bn_sqrmod_256 
+7b49 da200646 arg mem_ax_256 ,rega 
+7b4a da400866 arg mem_t7_256 ,regb 
+7b4b d8a00826 arg mem_t2_256 ,contw 
+7b4c 20407be1 call bn_mulmod_256 
+7b4d da200746 arg mem_cz_256 ,rega 
+7b4e da400866 arg mem_t7_256 ,regb 
+7b4f d8a00866 arg mem_t7_256 ,contw 
+7b50 20407be1 call bn_mulmod_256 
+7b51 da200666 arg mem_ay_256 ,rega 
+7b52 da400866 arg mem_t7_256 ,regb 
+7b53 d8a00846 arg mem_t3_256 ,contw 
+7b54 20407be1 call bn_mulmod_256 
+7b55 da400806 arg mem_t0_256 ,regb 
+7b56 da200826 arg mem_t2_256 ,rega 
+7b57 d8a00866 arg mem_t7_256 ,contw 
+7b58 20407c96 call bn_submod_256 
+7b59 da200806 arg mem_t0_256 ,rega 
+7b5a da400826 arg mem_t2_256 ,regb 
+7b5b d8a00806 arg mem_t0_256 ,contw 
+7b5c 20407c7d call bn_addmod_256 
+7b5d da4007e6 arg mem_t1_256 ,regb 
+7b5e da200846 arg mem_t3_256 ,rega 
+7b5f d8a00826 arg mem_t2_256 ,contw 
+7b60 20407c96 call bn_submod_256 
+7b61 da2007e6 arg mem_t1_256 ,rega 
+7b62 da400846 arg mem_t3_256 ,regb 
+7b63 d8a007e6 arg mem_t1_256 ,contw 
+7b64 20407c7d call bn_addmod_256 
+7b65 da2007e6 arg mem_t1_256 ,rega 
+7b66 da400866 arg mem_t7_256 ,regb 
+7b67 d8a007e6 arg mem_t1_256 ,contw 
+7b68 20407be1 call bn_mulmod_256 
+7b69 da200746 arg mem_cz_256 ,rega 
+7b6a da400686 arg mem_az_256 ,regb 
+7b6b d8a00846 arg mem_t3_256 ,contw 
+7b6c 20407be1 call bn_mulmod_256 
+7b6d da200846 arg mem_t3_256 ,rega 
+7b6e da400866 arg mem_t7_256 ,regb 
+7b6f d8a00746 arg mem_cz_256 ,contw 
+7b70 20407be1 call bn_mulmod_256 
+7b71 da200866 arg mem_t7_256 ,rega 
+7b72 d8a00866 arg mem_t7_256 ,contw 
+7b73 20407c79 call bn_sqrmod_256 
+7b74 da200866 arg mem_t7_256 ,rega 
+7b75 da400806 arg mem_t0_256 ,regb 
+7b76 d8a00846 arg mem_t3_256 ,contw 
+7b77 20407be1 call bn_mulmod_256 
+7b78 da200866 arg mem_t7_256 ,rega 
+7b79 da4007e6 arg mem_t1_256 ,regb 
+7b7a d8a007e6 arg mem_t1_256 ,contw 
+7b7b 20407be1 call bn_mulmod_256 
+7b7c da200826 arg mem_t2_256 ,rega 
+7b7d d8a00706 arg mem_cx_256 ,contw 
+7b7e 20407c79 call bn_sqrmod_256 
+7b7f da200706 arg mem_cx_256 ,rega 
+7b80 da400846 arg mem_t3_256 ,regb 
+7b81 d8a00706 arg mem_cx_256 ,contw 
+7b82 20407c96 call bn_submod_256 
+7b83 d8c00706 arg mem_cx_256 ,contr 
+7b84 d8a00866 arg mem_t7_256 ,contw 
+7b85 20407ebd call memcpy32 
+7b86 da200866 arg mem_t7_256 ,rega 
+7b87 20407c80 call bn_lshiftmod_256 
+7b88 da200846 arg mem_t3_256 ,rega 
+7b89 da400866 arg mem_t7_256 ,regb 
+7b8a d8a00846 arg mem_t3_256 ,contw 
+7b8b 20407c96 call bn_submod_256 
+7b8c da200846 arg mem_t3_256 ,rega 
+7b8d da400826 arg mem_t2_256 ,regb 
+7b8e d8a00826 arg mem_t2_256 ,contw 
+7b8f 20407be1 call bn_mulmod_256 
+7b90 da200826 arg mem_t2_256 ,rega 
+7b91 da4007e6 arg mem_t1_256 ,regb 
+7b92 d8a00726 arg mem_cy_256 ,contw 
+7b93 20407c96 call bn_submod_256 
+7b94 da200726 arg mem_cy_256 ,rega 
+7b95 da40091e arg mem_p_256 ,regb 
+7b96 d8a00726 arg mem_cy_256 ,contw 
+7b97 18002600 force 0 ,regc 
+7b98 68008726 fetch 1 ,mem_cy_256 
+7b99 2feffe00 isolate1 0 ,pdata 
+7b9a 2040fc7b call bn_add_256 ,true 
+7b9b 1a626000 copy regc ,alarm 
+7b9c da200726 arg mem_cy_256 ,rega 
+7b9d 20407cab call bn_rshift_256 
+7b9e 68008745 fetch 1 ,mem_cy5_256 
+7b9f 2e0ffe00 isolate1 0 ,alarm 
+7ba0 7920fe07 setflag true ,7 ,pdata 
+7ba1 60008745 store 1 ,mem_cy5_256 
+7ba2 20600000 rtn 
+
+bn_invmod_256:
+7ba3 18a21600 copy contw ,timeup 
+7ba4 d8a00806 arg mem_tmp0_256 ,contw 
+7ba5 20407ed0 call clear_mem_256 
+7ba6 18007e00 force 0 ,pdata 
+7ba7 60020826 store 4 ,mem_t2_256 
+7ba8 70080601 jam 1 ,mem_tmp0_256 
+7ba9 d8a00786 arg mem_tmp1_256 ,contw 
+7baa 20407ed2 call clear_mem_512 
+7bab d8c0091e arg mem_p_256 ,contr 
+7bac d8a007c6 arg mem_tmp2_256 ,contw 
+7bad 20407ebd call memcpy32 
+7bae 1a220c00 copy rega ,contr 
+7baf d8a007e6 arg mem_tmp3_256 ,contw 
+7bb0 20407ebd call memcpy32 
+
+bn_invmod_256_2:
+7bb1 d8c007e6 arg mem_tmp3_256 ,contr 
+7bb2 20407cb5 call bn_eq_zero_256 
+7bb3 203a7bda branch bn_invmod_256_0 ,blank 
+7bb4 da2007e6 arg mem_tmp3_256 ,rega 
+7bb5 da400806 arg mem_tmp0_256 ,regb 
+7bb6 20407cb8 call bn_rshifteven_256 
+7bb7 da2007c6 arg mem_tmp2_256 ,rega 
+7bb8 da400786 arg mem_tmp1_256 ,regb 
+7bb9 20407cb8 call bn_rshifteven_256 
+7bba da2007e6 arg mem_tmp3_256 ,rega 
+7bbb da4007c6 arg mem_tmp2_256 ,regb 
+7bbc 20407cb1 call bn_bigeq_256 
+7bbd 20217bcc branch bn_invmod_256_1 ,positive 
+7bbe da2007c6 arg mem_tmp2_256 ,rega 
+7bbf da4007e6 arg mem_tmp3_256 ,regb 
+7bc0 1a220a00 copy rega ,contw 
+7bc1 20407ca9 call bn_sub_256 
+7bc2 da200806 arg mem_tmp0_256 ,rega 
+7bc3 da400786 arg mem_tmp1_256 ,regb 
+7bc4 1a420a00 copy regb ,contw 
+7bc5 20407c7b call bn_add_256 
+7bc6 ea208000 ifetch 1 ,rega 
+7bc7 9a60a600 iadd regc ,regc 
+7bc8 ea408000 ifetch 1 ,regb 
+7bc9 9a60fe00 iadd regc ,pdata 
+7bca e2408000 istore 1 ,regb 
+7bcb 20207bb1 branch bn_invmod_256_2 
+
+bn_invmod_256_1:
+7bcc da2007e6 arg mem_tmp3_256 ,rega 
+7bcd da4007c6 arg mem_tmp2_256 ,regb 
+7bce 1a220a00 copy rega ,contw 
+7bcf 20407ca9 call bn_sub_256 
+7bd0 da200786 arg mem_tmp1_256 ,rega 
+7bd1 da400806 arg mem_tmp0_256 ,regb 
+7bd2 1a420a00 copy regb ,contw 
+7bd3 20407c7b call bn_add_256 
+7bd4 ea208000 ifetch 1 ,rega 
+7bd5 9a60a600 iadd regc ,regc 
+7bd6 ea408000 ifetch 1 ,regb 
+7bd7 9a60fe00 iadd regc ,pdata 
+7bd8 e2408000 istore 1 ,regb 
+7bd9 20207bb1 branch bn_invmod_256_2 
+
+bn_invmod_256_0:
+7bda da200786 arg mem_tmp1_256 ,rega 
+7bdb 19620a00 copy timeup ,contw 
+7bdc 20407c0a call bn_p256mod 
+7bdd da20091e arg mem_p_256 ,rega 
+7bde 19622400 copy timeup ,regb 
+7bdf 19620a00 copy timeup ,contw 
+7be0 20207c96 branch bn_submod_256 
+
+bn_mulmod_256:
+7be1 18a21600 copy contw ,timeup 
+7be2 18007000 force 0 ,regext_index 
+7be3 d8a00786 arg mem_tmp1_256 ,contw 
+7be4 20407ed2 call clear_mem_512 
+7be5 d8a00ad2 arg mem_regext ,contw 
+7be6 20407ed2 call clear_mem_512 
+7be7 1a220c00 copy rega ,contr 
+7be8 700ad200 jam 0 ,mem_regext 
+7be9 58000000 setarg 0 
+7bea 20407c73 call bn_load_mem 
+7beb 1a420c00 copy regb ,contr 
+7bec 20407c77 call bn_load_256 
+7bed 18000e00 force 0 ,queue 
+7bee d8a00786 arg mem_tmp1_256 ,contw 
+
+bn_mulmod_256_1:
+7bef d8400ad2 arg mem_regext ,temp 
+7bf0 18e22400 copy queue ,regb 
+7bf1 1a4bfe00 lshift2 regb ,pdata 
+7bf2 9840a400 iadd temp ,regb 
+7bf3 18000400 force 0 ,temp 
+7bf4 18002600 force 0 ,regc 
+
+bn_mulmod_256_0:
+7bf5 e8a20000 ifetch 4 ,contw 
+7bf6 98002200 iforce rega 
+7bf7 ea420000 ifetch 4 ,regb 
+7bf8 1a627000 copy regc ,regext_index 
+7bf9 9deffe00 imul32 regext ,pdata 
+7bfa 9a20fe00 iadd rega ,pdata 
+7bfb 9840fe00 iadd temp ,pdata 
+7bfc e0a20000 istore 4 ,contw 
+7bfd 1fef0400 rshift32 pdata ,temp 
+7bfe 1a60a601 increase 1 ,regc 
+7bff 2a61fe08 compare 8 ,regc ,0xff 
+7c00 2420fbf5 nbranch bn_mulmod_256_0 ,true 
+7c01 18427e00 deposit temp 
+7c02 e0a20000 istore 4 ,contw 
+7c03 18a08be0 increase -32 ,contw 
+7c04 18e08e01 increase 1 ,queue 
+7c05 28e1fe08 compare 8 ,queue ,0xff 
+7c06 2420fbef nbranch bn_mulmod_256_1 ,true 
+7c07 da200786 arg mem_tmp1_256 ,rega 
+7c08 19620a00 copy timeup ,contw 
+7c09 20207c0a branch bn_p256mod 
+
+bn_p256mod:
+7c0a 4779403e bpatchx patch3e_2 ,mem_patch3e 
+7c0b 18a21600 copy contw ,timeup 
+7c0c 1a226000 copy rega ,alarm 
+7c0d da4007c6 arg mem_tmp2_256 ,regb 
+7c0e 1a420a00 copy regb ,contw 
+7c0f 20407ecd call memset0_4 
+7c10 e0a40000 istore 8 ,contw 
+7c11 1a208c2c add rega ,44 ,contr 
+7c12 20407eb9 call memcpy8 
+7c13 20407eb5 call memcpy12 
+7c14 1a422200 copy regb ,rega 
+7c15 20407c80 call bn_lshiftmod_256 
+7c16 da4007c6 arg mem_tmp2_256 ,regb 
+7c17 1e022200 copy alarm ,rega 
+7c18 19620a00 copy timeup ,contw 
+7c19 20407c7d call bn_addmod_256 
+7c1a da4007c6 arg mem_tmp2_256 ,regb 
+7c1b 1a420a00 copy regb ,contw 
+7c1c 20407ecd call memset0_4 
+7c1d e0a40000 istore 8 ,contw 
+7c1e 1e008c30 add alarm ,48 ,contr 
+7c1f 20407ebf call memcpy16 
+7c20 20407ecd call memset0_4 
+7c21 1a422200 copy regb ,rega 
+7c22 20407c80 call bn_lshiftmod_256 
+7c23 da4007c6 arg mem_tmp2_256 ,regb 
+7c24 19622200 copy timeup ,rega 
+7c25 1a220a00 copy rega ,contw 
+7c26 20407c7d call bn_addmod_256 
+7c27 da4007c6 arg mem_tmp2_256 ,regb 
+7c28 1a420a00 copy regb ,contw 
+7c29 1e008c20 add alarm ,32 ,contr 
+7c2a 20407eb5 call memcpy12 
+7c2b 20407ecd call memset0_4 
+7c2c e0a40000 istore 8 ,contw 
+7c2d 1e008c38 add alarm ,56 ,contr 
+7c2e 20407eb9 call memcpy8 
+7c2f 19622200 copy timeup ,rega 
+7c30 1a220a00 copy rega ,contw 
+7c31 20407c7d call bn_addmod_256 
+7c32 da4007c6 arg mem_tmp2_256 ,regb 
+7c33 1a420a00 copy regb ,contw 
+7c34 1e008c24 add alarm ,36 ,contr 
+7c35 20407eb5 call memcpy12 
+7c36 1e008c34 add alarm ,52 ,contr 
+7c37 20407eb5 call memcpy12 
+7c38 1e008c34 add alarm ,52 ,contr 
+7c39 20407eb6 call memcpy4 
+7c3a 1e008c20 add alarm ,32 ,contr 
+7c3b 20407eb6 call memcpy4 
+7c3c 19622200 copy timeup ,rega 
+7c3d 1a220a00 copy rega ,contw 
+7c3e 20407c7d call bn_addmod_256 
+7c3f da4007c6 arg mem_tmp2_256 ,regb 
+7c40 1a420a00 copy regb ,contw 
+7c41 1e008c2c add alarm ,44 ,contr 
+7c42 20407eb5 call memcpy12 
+7c43 20407ecd call memset0_4 
+7c44 e0a40000 istore 8 ,contw 
+7c45 1e008c20 add alarm ,32 ,contr 
+7c46 20407eb6 call memcpy4 
+7c47 1e008c28 add alarm ,40 ,contr 
+7c48 20407eb6 call memcpy4 
+7c49 19622200 copy timeup ,rega 
+7c4a 1a220a00 copy rega ,contw 
+7c4b 20407c96 call bn_submod_256 
+7c4c da4007c6 arg mem_tmp2_256 ,regb 
+7c4d 1a420a00 copy regb ,contw 
+7c4e 1e008c30 add alarm ,48 ,contr 
+7c4f 20407eb9 call memcpy8 
+7c50 20407eb9 call memcpy8 
+7c51 18007e00 force 0 ,pdata 
+7c52 e0a40000 istore 8 ,contw 
+7c53 1e008c24 add alarm ,36 ,contr 
+7c54 20407eb6 call memcpy4 
+7c55 1e008c2c add alarm ,44 ,contr 
+7c56 20407eb6 call memcpy4 
+7c57 19622200 copy timeup ,rega 
+7c58 1a220a00 copy rega ,contw 
+7c59 20407c96 call bn_submod_256 
+7c5a da4007c6 arg mem_tmp2_256 ,regb 
+7c5b 1a420a00 copy regb ,contw 
+7c5c 1e008c34 add alarm ,52 ,contr 
+7c5d 20407eb5 call memcpy12 
+7c5e 1e008c20 add alarm ,32 ,contr 
+7c5f 20407eb5 call memcpy12 
+7c60 20407ecd call memset0_4 
+7c61 1e008c30 add alarm ,48 ,contr 
+7c62 20407eb6 call memcpy4 
+7c63 19622200 copy timeup ,rega 
+7c64 1a220a00 copy rega ,contw 
+7c65 20407c96 call bn_submod_256 
+7c66 da4007c6 arg mem_tmp2_256 ,regb 
+7c67 1a420a00 copy regb ,contw 
+7c68 1e008c38 add alarm ,56 ,contr 
+7c69 20407eb9 call memcpy8 
+7c6a 20407ecd call memset0_4 
+7c6b 1e008c24 add alarm ,36 ,contr 
+7c6c 20407eb5 call memcpy12 
+7c6d 20407ecd call memset0_4 
+7c6e 1e008c34 add alarm ,52 ,contr 
+7c6f 20407eb6 call memcpy4 
+7c70 19622200 copy timeup ,rega 
+7c71 1a220a00 copy rega ,contw 
+7c72 20207c96 branch bn_submod_256 
+
+bn_load_mem:
+7c73 18007220 force 32 ,loopcnt 
+7c74 d8a00ad2 arg mem_regext ,contw 
+7c75 98a08a00 iadd contw ,contw 
+7c76 20207f01 branch memcpy 
+
+bn_load_256:
+7c77 18007208 force 8 ,loopcnt 
+7c78 20207781 branch bn_load_0 
+
+bn_sqrmod_256:
+7c79 1a222400 copy rega ,regb 
+7c7a 20207be1 branch bn_mulmod_256 
+
+bn_add_256:
+7c7b 18007208 force 8 ,loopcnt 
+7c7c 20207712 branch bn_add + 1 
+
+bn_addmod_256:
+7c7d 20407c7b call bn_add_256 
+7c7e 18a22200 copy contw ,rega 
+7c7f 20207c81 branch bn_lshiftmod_ismod_256 
+
+bn_lshiftmod_256:
+7c80 20407cae call bn_lshift_256 
+
+bn_lshiftmod_ismod_256:
+7c81 2a6ffe00 isolate1 0 ,regc 
+7c82 2020fc8a branch bn_lshiftmod_p_256 ,true 
+7c83 da40091e arg mem_p_256 ,regb 
+7c84 1a222600 copy rega ,regc 
+7c85 1a20a3e0 increase -32 ,rega 
+7c86 20407cb1 call bn_bigeq_256 
+7c87 24610000 nrtn positive 
+7c88 1a622200 copy regc ,rega 
+7c89 20207c92 branch sub_p2_256 
+
+bn_lshiftmod_p_256:
+7c8a 20407c92 call sub_p2_256 
+7c8b 1a222600 copy rega ,regc 
+7c8c 1a20a3e0 increase -32 ,rega 
+7c8d da40091e arg mem_p_256 ,regb 
+7c8e 20407cb1 call bn_bigeq_256 
+7c8f 24610000 nrtn positive 
+7c90 1a622200 copy regc ,rega 
+7c91 20207c92 branch sub_p2_256 
+
+sub_p2_256:
+7c92 1a20a3e0 increase -32 ,rega 
+7c93 da40091e arg mem_p_256 ,regb 
+7c94 1a220a00 copy rega ,contw 
+7c95 20207ca9 branch bn_sub_256 
+
+bn_submod_256:
+7c96 20407ca9 call bn_sub_256 
+7c97 2020fca0 branch bn_submod_256_np ,true 
+7c98 18a0a3e0 add contw ,-32 ,rega 
+7c99 da40091e arg mem_p_256 ,regb 
+7c9a 20407cb1 call bn_bigeq_256 
+7c9b 24610000 nrtn positive 
+7c9c da40091e arg mem_p_256 ,regb 
+7c9d 18a0a3e0 add contw ,-32 ,rega 
+7c9e 1a220a00 copy rega ,contw 
+7c9f 20207ca9 branch bn_sub_256 
+
+bn_submod_256_np:
+7ca0 18a0a3e0 add contw ,-32 ,rega 
+7ca1 da40091e arg mem_p_256 ,regb 
+7ca2 1a220a00 copy rega ,contw 
+7ca3 20407c7b call bn_add_256 
+7ca4 20608000 rtn true 
+7ca5 18a0a3e0 add contw ,-32 ,rega 
+7ca6 da40091e arg mem_p_256 ,regb 
+7ca7 1a220a00 copy rega ,contw 
+7ca8 20207c7b branch bn_add_256 
+
+bn_sub_256:
+7ca9 18007208 force 8 ,loopcnt 
+7caa 20207720 branch bn_sub + 1 
+
+bn_rshift_256:
+7cab 18007208 force 8 ,loopcnt 
+7cac 1a20a21c increase 28 ,rega 
+7cad 2020772f branch bn_rshift 
+
+bn_lshift_256:
+7cae 18007208 force 8 ,loopcnt 
+7caf 18002600 force 0 ,regc 
+7cb0 2020773d branch bn_lshift_0 
+
+bn_bigeq_256:
+7cb1 18007208 force 8 ,loopcnt 
+7cb2 1a20a21c increase 28 ,rega 
+7cb3 1a40a41c increase 28 ,regb 
+7cb4 20207707 branch bn_bigeq_0 
+
+bn_eq_zero_256:
+7cb5 e8c40000 ifetch 8 ,contr 
+7cb6 247a0000 nrtn blank 
+7cb7 202076f5 branch bn_eq_zero 
+
+bn_rshifteven_256:
+7cb8 1a226000 copy rega ,alarm 
+
+bn_rshifteven_256_1:
+7cb9 1e022200 copy alarm ,rega 
+7cba ea208000 ifetch 1 ,rega 
+7cbb 2feffe00 isolate1 0 ,pdata 
+7cbc 20608000 rtn true 
+7cbd 20407cab call bn_rshift_256 
+7cbe ea408000 ifetch 1 ,regb 
+7cbf 2fec0000 isolate0 0 ,pdata 
+7cc0 2020fcc8 branch bn_rshifteven_256_0 ,true 
+7cc1 da20091e arg mem_p_256 ,rega 
+7cc2 1a420a00 copy regb ,contw 
+7cc3 20407c7b call bn_add_256 
+7cc4 ea408000 ifetch 1 ,regb 
+7cc5 9a60fe00 iadd regc ,pdata 
+7cc6 e2408000 istore 1 ,regb 
+7cc7 1a40a5e0 increase -32 ,regb 
+
+bn_rshifteven_256_0:
+7cc8 1a40a220 add regb ,32 ,rega 
+7cc9 18007209 force 9 ,loopcnt 
+7cca 2040772f call bn_rshift 
+7ccb 20207cb9 branch bn_rshifteven_256_1 
+
+ui_init:
+7ccc 20402c65 call lpm_disable_exen_output 
+7ccd 20758000 rtn wake 
+7cce 20407cd3 call ui_button_init 
+7ccf 20407d75 call ui_timer_init 
+7cd0 20207d08 branch ui_led_init_global 
+
+ui_dispatch:
+7cd1 20407d29 call ui_led_dispatch 
+7cd2 20207d64 branch ui_timer_check 
+
+ui_button_init:
+7cd3 6800c686 fetch 1 ,mem_ui_button_gpio 
+7cd4 c17f8000 rtneq ui_button_gpio_disable 
+7cd5 98000400 iforce temp 
+7cd6 2040680e call gpio_config_output 
+7cd7 6808c686 fetcht 1 ,mem_ui_button_gpio 
+7cd8 20406825 call gpio_out_inactive 
+7cd9 20000064 nop 100 
+7cda 6808c686 fetcht 1 ,mem_ui_button_gpio 
+7cdb 204067fb call gpio_config_input 
+7cdc 20207cdd branch ui_button_polling 
+
+ui_button_polling:
+7cdd 4779c03e bpatchx patch3e_3 ,mem_patch3e 
+7cde 6800c686 fetch 1 ,mem_ui_button_gpio 
+7cdf c17f8000 rtneq ui_button_gpio_disable 
+7ce0 1fe20400 copy pdata ,temp 
+7ce1 2040681d call gpio_get_bit 
+7ce2 2420fcef nbranch ui_button_up ,true 
+
+ui_button_down:
+7ce3 20407cf9 call ui_button_check_long_press 
+7ce4 68014682 fetch 2 ,mem_ui_state_map 
+7ce5 79207e0c set1 ui_state_btn_down 
+7ce6 60014682 store 2 ,mem_ui_state_map 
+7ce7 6800c679 fetch 1 ,mem_ui_button_last_state 
+7ce8 c1000000 rtneq ui_button_state_down 
+7ce9 70467900 jam ui_button_state_down ,mem_ui_button_last_state 
+7cea 6800c685 fetch 1 ,mem_ui_button_timeout 
+7ceb 6000c678 store 1 ,mem_ui_button_timer 
+7cec 20407d00 call lpm_button_get_wake_lock 
+7ced 700a992c jam bt_evt_button_down ,mem_fifo_temp 
+7cee 20207d86 branch ui_ipc_send_event 
+
+ui_button_up:
+7cef 68014682 fetch 2 ,mem_ui_state_map 
+7cf0 793ffe0c set0 ui_state_btn_down 
+7cf1 60014682 store 2 ,mem_ui_state_map 
+7cf2 6800c679 fetch 1 ,mem_ui_button_last_state 
+7cf3 c1008000 rtneq ui_button_state_up 
+7cf4 70467901 jam ui_button_state_up ,mem_ui_button_last_state 
+7cf5 70467800 jam 0 ,mem_ui_button_timer 
+7cf6 20407d02 call lpm_button_clean_wake_lock 
+7cf7 700a992d jam bt_evt_button_up ,mem_fifo_temp 
+7cf8 20207d86 branch ui_ipc_send_event 
+
+ui_button_check_long_press:
+7cf9 6800c678 fetch 1 ,mem_ui_button_timer 
+7cfa 207a0000 rtn blank 
+7cfb 1fe0ffff increase -1 ,pdata 
+7cfc 6000c678 store 1 ,mem_ui_button_timer 
+7cfd 247a0000 nrtn blank 
+7cfe 700a9910 jam bt_evt_button_long_pressed ,mem_fifo_temp 
+7cff 20207d86 branch ui_ipc_send_event 
+
+lpm_button_get_wake_lock:
+7d00 d8e00007 arg wake_lock_button ,queue 
+7d01 20202c32 branch lpm_get_wake_lock 
+
+lpm_button_clean_wake_lock:
+7d02 d8e00007 arg wake_lock_button ,queue 
+7d03 20202c36 branch lpm_put_wake_lock 
+
+calc_curr_struct_prt:
+7d04 6801421b fetch 2 ,mem_ui_led_struct_ptr 
+7d05 1a2fa40b mul32 rega ,led_offset_length ,regb 
+7d06 9a40a400 iadd regb ,regb 
+7d07 20600000 rtn 
+
+ui_led_init_global:
+7d08 6800c21a fetch 1 ,mem_ui_led_struct_num 
+7d09 207a0000 rtn blank 
+7d0a 1fe27200 copy pdata ,loopcnt 
+7d0b 6801421b fetch 2 ,mem_ui_led_struct_ptr 
+7d0c 1fe22400 copy pdata ,regb 
+
+ui_led_init_loop:
+7d0d 1a40a602 add regb ,led_offset_led_gpio ,regc 
+7d0e ea688000 ifetcht 1 ,regc 
+7d0f 2040680e call gpio_config_output 
+7d10 20407d32 call ui_led_off_static 
+7d11 1a40a40b increase led_offset_length ,regb 
+7d12 c2007d0d loop ui_led_init_loop 
+7d13 20600000 rtn 
+
+ui_led_on_global:
+7d14 20407d04 call calc_curr_struct_prt 
+7d15 58000002 setarg ui_led_state_lighting 
+7d16 e2408000 istore 1 ,regb 
+7d17 20407d5e call ui_led_stop_timer 
+7d18 20207d35 branch ui_led_on_static 
+
+ui_led_blink_stop_global:
+
+ui_led_off_global:
+7d19 20407d04 call calc_curr_struct_prt 
+7d1a 58000003 setarg ui_led_state_darking 
+7d1b e2408000 istore 1 ,regb 
+7d1c 20407d5e call ui_led_stop_timer 
+7d1d 20207d32 branch ui_led_off_static 
+
+ui_led_blink_start_global:
+7d1e 20407d04 call calc_curr_struct_prt 
+7d1f 58000001 setarg ui_led_state_blink_start 
+7d20 e2408000 istore 1 ,regb 
+7d21 580000ff setarg led_infinite_flash_num 
+7d22 e0a08000 istore 1 ,contw 
+7d23 20207d32 branch ui_led_off_static 
+
+ui_led_set_style_global:
+7d24 20407d04 call calc_curr_struct_prt 
+7d25 df20000b arg led_offset_length ,loopcnt 
+7d26 1a620c00 copy regc ,contr 
+7d27 1a420a00 copy regb ,contw 
+7d28 20207ef4 branch memcpy_fast 
+
+ui_led_dispatch:
+7d29 6800c21a fetch 1 ,mem_ui_led_struct_num 
+7d2a 207a0000 rtn blank 
+7d2b da200000 arg 0 ,rega 
+
+ui_led_blink_polling:
+7d2c 20407d38 call ui_led_change_style_by_type 
+7d2d 1a20a201 increase 1 ,rega 
+7d2e 6800c21a fetch 1 ,mem_ui_led_struct_num 
+7d2f 9a267c00 isub rega ,null 
+7d30 20628000 rtn zero 
+7d31 20207d2c branch ui_led_blink_polling 
+
+ui_led_off_static:
+7d32 1a40a602 add regb ,led_offset_led_gpio ,regc 
+7d33 ea688000 ifetcht 1 ,regc 
+7d34 20206825 branch gpio_out_inactive 
+
+ui_led_on_static:
+7d35 1a40a602 add regb ,led_offset_led_gpio ,regc 
+7d36 ea688000 ifetcht 1 ,regc 
+7d37 20206829 branch gpio_out_active 
+
+ui_led_change_style_by_type:
+7d38 1a208e0b add rega ,ui_led_blink ,queue 
+7d39 20407f16 call timer_check 
+7d3a 247a0000 nrtn blank 
+7d3b 20407d04 call calc_curr_struct_prt 
+7d3c ea408000 ifetch 1 ,regb 
+7d3d c0017d35 beq ui_led_state_lighting ,ui_led_on_static 
+7d3e c001fd32 beq ui_led_state_darking ,ui_led_off_static 
+7d3f c0007d32 beq ui_led_state_blink_stop ,ui_led_off_static 
+7d40 c002fd4c beq ui_led_state_blink_darking ,ui_led_blink_state_darking 
+
+ui_led_blink_state_lighting:
+7d41 20407d35 call ui_led_on_static 
+7d42 1a40a607 add regb ,led_offset_cb_ledon ,regc 
+7d43 20407e7c call push_stack 
+7d44 ea610000 ifetch 2 ,regc 
+7d45 20407f9c call callback_func 
+7d46 20407e8c call pop_stack 
+7d47 58000005 setarg ui_led_state_blink_darking 
+7d48 e2408000 istore 1 ,regb 
+7d49 1a40a603 add regb ,led_offset_on_time ,regc 
+7d4a ea610000 ifetch 2 ,regc 
+7d4b 20207d5c branch ui_led_blink_timer_start 
+
+ui_led_blink_state_darking:
+7d4c 20407d32 call ui_led_off_static 
+7d4d 1a40a609 add regb ,led_offset_cb_ledoff ,regc 
+7d4e 20407e7c call push_stack 
+7d4f ea610000 ifetch 2 ,regc 
+7d50 20407f9c call callback_func 
+7d51 20407e8c call pop_stack 
+7d52 1a40a601 add regb ,led_offset_blink_count ,regc 
+7d53 ea608000 ifetch 1 ,regc 
+7d54 c07ffd58 beq led_infinite_flash_num ,ui_led_blink_infinite 
+7d55 1fe0ffff increase -1 ,pdata 
+7d56 e2608000 istore 1 ,regc 
+7d57 203a7d19 branch ui_led_blink_stop_global ,blank 
+
+ui_led_blink_infinite:
+7d58 58000004 setarg ui_led_state_blink_lighting 
+7d59 e2408000 istore 1 ,regb 
+7d5a 1a40a605 add regb ,led_offset_off_time ,regc 
+7d5b ea610000 ifetch 2 ,regc 
+
+ui_led_blink_timer_start:
+7d5c 1a208e0b add rega ,ui_led_blink ,queue 
+7d5d 20207f08 branch timer_init 
+
+ui_led_stop_timer:
+7d5e 58000000 setarg 0 
+7d5f 20207d5c branch ui_led_blink_timer_start 
+
+ui_timer_timeout:
+7d60 58001000 setarg 0x1000 
+7d61 1ff07e00 lshift16 pdata ,pdata 
+7d62 9a40a400 iadd regb ,regb 
+7d63 20600000 rtn 
+
+ui_timer_check:
+7d64 477a403e bpatchx patch3e_4 ,mem_patch3e 
+7d65 da200000 arg 0 ,rega 
+7d66 680a467a fetcht 4 ,mem_ui_timer_last_btclk 
+7d67 1c422400 copy clkn_bt ,regb 
+7d68 1a427e00 copy regb ,pdata 
+7d69 98467c00 isub temp ,null 
+7d6a 24417d60 ncall ui_timer_timeout ,positive 
+
+ui_timer_check_loop:
+7d6b 1a427e00 copy regb ,pdata 
+7d6c 184084a0 increase 160 ,temp 
+7d6d 184084a0 increase 160 ,temp 
+7d6e 98467c00 isub temp ,null 
+7d6f 24217d78 nbranch ui_timer_check_end ,positive 
+7d70 1a20a201 increase 1 ,rega 
+7d71 1a217e0f and rega ,0x0f ,pdata 
+7d72 243a7d6b nbranch ui_timer_check_loop ,blank 
+7d73 da200000 arg 0 ,rega 
+7d74 20407d7f call ui_timer_check_send_evt 
+
+ui_timer_init:
+7d75 1c427e00 copy clkn_bt ,pdata 
+7d76 6002467a store 4 ,mem_ui_timer_last_btclk 
+7d77 20600000 rtn 
+
+ui_timer_check_end:
+7d78 477ac03e bpatchx patch3e_5 ,mem_patch3e 
+7d79 1a227e00 copy rega ,pdata 
+7d7a 207a0000 rtn blank 
+7d7b 18408560 increase -160 ,temp 
+7d7c 18408560 increase -160 ,temp 
+7d7d 793f841c set0 28 ,temp 
+7d7e 600a467a storet 4 ,mem_ui_timer_last_btclk 
+
+ui_timer_check_send_evt:
+7d7f 2020335f branch app_evt_timer 
+
+ui_ipc_get_lock:
+7d80 70466601 jam 1 ,mem_ipc_lock_bt 
+
+ui_ipc_get_lock_wait:
+7d81 6800c667 fetch 1 ,mem_ipc_lock_c51 
+7d82 243a7d81 nbranch ui_ipc_get_lock_wait ,blank 
+7d83 20600000 rtn 
+
+ui_ipc_put_lock:
+7d84 70466600 jam 0 ,mem_ipc_lock_bt 
+7d85 20600000 rtn 
+
+ui_ipc_send_event:
+7d86 477b403e bpatchx patch3e_6 ,mem_patch3e 
+7d87 20407d80 call ui_ipc_get_lock 
+7d88 1a227e00 copy rega ,pdata 
+7d89 60020a91 store 4 ,mem_ipc_rega_temp 
+7d8a da204668 arg mem_ipc_fifo_bt2c51 ,rega 
+7d8b 20407fb8 call fifo_in 
+7d8c 68020a91 fetch 4 ,mem_ipc_rega_temp 
+7d8d 1fe22200 copy pdata ,rega 
+7d8e 20207d84 branch ui_ipc_put_lock 
+
+ui_ipc_send_cmd:
+7d8f 477bc03e bpatchx patch3e_7 ,mem_patch3e 
+7d90 20407d80 call ui_ipc_get_lock 
+7d91 1a227e00 copy rega ,pdata 
+7d92 60020a91 store 4 ,mem_ipc_rega_temp 
+7d93 da204670 arg mem_ipc_fifo_c512bt ,rega 
+7d94 20407fb8 call fifo_in 
+7d95 68020a91 fetch 4 ,mem_ipc_rega_temp 
+7d96 1fe22200 copy pdata ,rega 
+7d97 20207d84 branch ui_ipc_put_lock 
+
+ui_ipc_clean_all_fifo:
+7d98 58000000 setarg 0 
+7d99 60044670 store util_fifo_len ,mem_ipc_fifo_c512bt 
+7d9a 60044668 store util_fifo_len ,mem_ipc_fifo_bt2c51 
+7d9b 20600000 rtn 
+
+check_51cmd:
+7d9c 477c403f bpatchx patch3f_0 ,mem_patch3f 
+7d9d 6800c1ce fetch 1 ,mem_hci_cmd 
+7d9e 247a0000 nrtn blank 
+7d9f da204670 arg mem_ipc_fifo_c512bt ,rega 
+7da0 20407fd0 call fifo_is_empty 
+7da1 207a0000 rtn blank 
+7da2 700a9000 jam ipc_continue_process ,mem_ipc_skip_continue_proc 
+7da3 20407da7 call check_51cmd_once 
+7da4 68008a90 fetch 1 ,mem_ipc_skip_continue_proc 
+7da5 203a7d9c branch check_51cmd ,blank 
+7da6 20600000 rtn 
+
+check_51cmd_once:
+7da7 20407d80 call ui_ipc_get_lock 
+7da8 da204670 arg mem_ipc_fifo_c512bt ,rega 
+7da9 20407fc4 call fifo_out 
+7daa 1fe20400 copy pdata ,temp 
+7dab 20407d84 call ui_ipc_put_lock 
+7dac 477cc03f bpatchx patch3f_1 ,mem_patch3f 
+7dad 18427e00 copy temp ,pdata 
+7dae 207a0000 rtn blank 
+7daf c000fddd beq bt_cmd_start_discovery ,check_51cmd_start_discovery 
+7db0 c0017de2 beq bt_cmd_stop_discovery ,check_51cmd_stop_discovery 
+7db1 c001fde8 beq bt_cmd_reconnect ,check_51cmd_reconnect 
+7db2 c003fded beq bt_cmd_enter_sniff_subrating ,check_51cmd_enter_sniff_subrating 
+7db3 c0047dee beq bt_cmd_exit_sniff_subrating ,check_51cmd_exit_sniff_subrating 
+7db4 c004fdef beq bt_cmd_sniff_test ,check_51cmd_sniff_test 
+7db5 c005fdf2 beq bt_cmd_start_inquiry ,check_51cmd_inq 
+7db6 c0067df3 beq bt_cmd_stop_inquiry ,check_51cmd_stop_inq 
+7db7 c006fdf4 beq bt_cmd_start_adv ,check_51cmd_adv 
+7db8 c0077dfa beq bt_cmd_stop_adv ,check_51cmd_stop_adv 
+7db9 c007fdff beq bt_cmd_start_direct_adv ,check_51cmd_direct_adv 
+7dba c0087e05 beq bt_cmd_stop_direct_adv ,check_51cmd_stop_direct_adv 
+7dbb c009fe0f beq bt_cmd_led_off ,check_51cmd_led_off 
+7dbc c00a7e11 beq bt_cmd_led_on ,check_51cmd_led_on 
+7dbd c00afe13 beq bt_cmd_led_blink ,check_51cmd_led_start_blink 
+7dbe c00b7e15 beq bt_cmd_le_start_conn ,check_51cmd_le_start_con 
+7dbf c00bfe18 beq bt_cmd_le_start_scan ,check_51cmd_start_scan 
+7dc0 c00c7e1a beq bt_cmd_le_stop_scan ,check_51cmd_stop_scan 
+7dc1 c00cfe1d beq bt_cmd_enter_hibernate ,check_51cmd_hibernate 
+7dc2 c00dfe25 beq bt_cmd_le_smp_security_request ,check_51cmd_le_smp_sec_req 
+7dc3 c00f7e2f beq bt_cmd_bb_reconn_cancel ,check_51cmd_bb_reconn_cancel 
+7dc4 60008a99 store 1 ,mem_fifo_temp 
+7dc5 477d403f bpatchx patch3f_2 ,mem_patch3f 
+7dc6 204062bc call lmo_fifo_check 
+7dc7 243a7ddb nbranch check_51cmd_restore ,blank 
+
+check_51cmd_once_continue:
+7dc8 68008a99 fetch 1 ,mem_fifo_temp 
+7dc9 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+7dca c0027dea beq bt_cmd_disconnect ,check_51cmd_disconnect 
+7dcb c002cd17 beq bt_cmd_enter_sniff ,cmd_in_sniff 
+7dcc c0034d26 beq bt_cmd_exit_sniff ,cmd_exit_sniff 
+7dcd c0057df0 beq bt_cmd_set_pin_code ,check_51cmd_pincode 
+7dce c008fe0a beq bt_cmd_le_disconnect ,check_51cmd_le_disconnect 
+7dcf c0097e0e beq bt_cmd_le_update_conn ,check_51cmd_ble_update_connect_param 
+7dd0 c00efe26 beq bt_cmd_role_switch ,check_51cmd_role_switch 
+7dd1 c00fe7cc beq bt_cmd_store_reconn_info_le ,eeprom_store_le_reconn_info 
+7dd2 c01067d0 beq bt_cmd_store_reconn_info_bt ,eeprom_store_bd_reconn_info 
+7dd3 c010fe31 beq bt_cmd_dhkey_not_accept ,check_51cmd_dhkey_not_accept 
+7dd4 c012e70b beq bt_cmd_store_reconn_info ,check_51cmd_store_reconn_info 
+7dd5 20600000 rtn 
+
+check_51cmd_check_idle:
+7dd6 60008a99 store 1 ,mem_fifo_temp 
+7dd7 20402252 call context_check_idle 
+7dd8 2022fddb branch check_51cmd_restore ,zero 
+7dd9 2040225a call context_search_plap 
+7dda 24628000 nrtn zero 
+
+check_51cmd_restore:
+7ddb 700a9001 jam ipc_skip_continue_process ,mem_ipc_skip_continue_proc 
+7ddc 20207d8f branch ui_ipc_send_cmd 
+
+check_51cmd_start_discovery:
+7ddd 68014682 fetch 2 ,mem_ui_state_map 
+7dde 79207e06 set1 ui_state_bt_discovery 
+7ddf 60014682 store 2 ,mem_ui_state_map 
+7de0 70409303 jam 3 ,mem_scan_mode 
+7de1 20600000 rtn 
+
+check_51cmd_stop_discovery:
+7de2 70468000 jam 0 ,mem_hid_handshake_timer_count 
+7de3 70409300 jam 0 ,mem_scan_mode 
+7de4 68014682 fetch 2 ,mem_ui_state_map 
+7de5 793ffe06 set0 ui_state_bt_discovery 
+7de6 60014682 store 2 ,mem_ui_state_map 
+7de7 20600000 rtn 
+
+check_51cmd_reconnect:
+7de8 7041ce05 jam hci_cmd_create_conn ,mem_hci_cmd 
+7de9 20600000 rtn 
+
+check_51cmd_disconnect:
+7dea 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+7deb 7004ca13 jam other_end_terminated ,mem_disconn_reason_send 
+7dec 20600000 rtn 
+
+check_51cmd_enter_sniff_subrating:
+7ded 20600000 rtn 
+
+check_51cmd_exit_sniff_subrating:
+7dee 20600000 rtn 
+
+check_51cmd_sniff_test:
+7def 20600000 rtn 
+
+check_51cmd_pincode:
+7df0 7004d402 jam pincode_state_pincode_ready ,mem_pincode_state 
+7df1 20204d0a branch cmd_pair 
+
+check_51cmd_inq:
+7df2 20600000 rtn 
+
+check_51cmd_stop_inq:
+7df3 20600000 rtn 
+
+check_51cmd_adv:
+7df4 70436e01 jam on ,mem_le_adv_enable 
+7df5 70448400 jam adv_ind ,mem_le_adv_type 
+7df6 68014682 fetch 2 ,mem_ui_state_map 
+7df7 79207e0b set1 ui_state_ble_adv ,pdata 
+7df8 60014682 store 2 ,mem_ui_state_map 
+7df9 20600000 rtn 
+
+check_51cmd_stop_adv:
+7dfa 68014682 fetch 2 ,mem_ui_state_map 
+7dfb 793ffe0b set0 ui_state_ble_adv ,pdata 
+7dfc 60014682 store 2 ,mem_ui_state_map 
+7dfd 70436e00 jam off ,mem_le_adv_enable 
+7dfe 20600000 rtn 
+
+check_51cmd_direct_adv:
+7dff 70436e01 jam on ,mem_le_adv_enable 
+7e00 70448401 jam adv_direct_ind ,mem_le_adv_type 
+7e01 68014682 fetch 2 ,mem_ui_state_map 
+7e02 79207e0b set1 ui_state_ble_adv ,pdata 
+7e03 60014682 store 2 ,mem_ui_state_map 
+7e04 20600000 rtn 
+
+check_51cmd_stop_direct_adv:
+7e05 68014682 fetch 2 ,mem_ui_state_map 
+7e06 793ffe0b set0 ui_state_ble_adv ,pdata 
+7e07 60014682 store 2 ,mem_ui_state_map 
+7e08 70436e00 jam off ,mem_le_adv_enable 
+7e09 20600000 rtn 
+
+check_51cmd_le_disconnect:
+7e0a 58000014 setarg 20 
+7e0b 6001046d store 2 ,mem_le_superto 
+7e0c 600144ba store 2 ,mem_le_init_superto 
+7e0d 20205c92 branch le_send_terminate_ind_user_terminated 
+
+check_51cmd_ble_update_connect_param:
+7e0e 20205abf branch le_l2cap_tx_update_req 
+
+check_51cmd_led_off:
+7e0f da200000 arg 0 ,rega 
+7e10 20207d19 branch ui_led_off_global 
+
+check_51cmd_led_on:
+7e11 da200000 arg 0 ,rega 
+7e12 20207d14 branch ui_led_on_global 
+
+check_51cmd_led_start_blink:
+7e13 da200000 arg 0 ,rega 
+7e14 20207d1e branch ui_led_blink_start_global 
+
+check_51cmd_le_start_con:
+7e15 70436901 jam on ,mem_le_scan_enable 
+7e16 7041ce1b jam hci_cmd_le_create_conn ,mem_hci_cmd 
+7e17 20600000 rtn 
+
+check_51cmd_start_scan:
+7e18 70436901 jam on ,mem_le_scan_enable 
+7e19 20600000 rtn 
+
+check_51cmd_stop_scan:
+7e1a 70436900 jam off ,mem_le_scan_enable 
+7e1b 7041ce00 jam 0 ,mem_hci_cmd 
+7e1c 20600000 rtn 
+
+check_51cmd_hibernate:
+7e1d 680141eb fetch 2 ,mem_cb_before_hibernate 
+7e1e 20407f9c call callback_func 
+7e1f 6800c686 fetch 1 ,mem_ui_button_gpio 
+7e20 c07ffe23 beq ui_button_gpio_disable ,check_51cmd_hibernate_btn_disabled 
+7e21 1fe20400 copy pdata ,temp 
+7e22 204067fb call gpio_config_input 
+
+check_51cmd_hibernate_btn_disabled:
+7e23 20407d98 call ui_ipc_clean_all_fifo 
+7e24 20202b1f branch lpm_hibernate 
+
+check_51cmd_le_smp_sec_req:
+7e25 20205b02 branch le_send_smp_security_request 
+
+check_51cmd_role_switch:
+7e26 70007c34 jam lmp_slot_offset ,mem_lmo_opcode2 
+7e27 79200003 set1 mark_switch_initiated ,mark 
+7e28 24748000 nrtn master 
+7e29 70455b00 jam switch_flag_init ,mem_switch_flag 
+7e2a 70007c13 jam lmp_switch_req ,mem_lmo_opcode2 
+7e2b 6800816d fetch 1 ,mem_connection_options 
+7e2c 793ffe02 set0 connection_switch ,pdata 
+7e2d 6000816d store 1 ,mem_connection_options 
+7e2e 20600000 rtn 
+
+check_51cmd_bb_reconn_cancel:
+7e2f 18000e03 force page_length_timer ,queue 
+7e30 20207f07 branch timer_stop 
+
+check_51cmd_dhkey_not_accept:
+7e31 204062f8 call tid_set_reply 
+7e32 70007d41 jam lmp_dhkey_check ,mem_lmi_opcode2 
+7e33 20205f9d branch parse_lmp_dhkey_check_reject 
+
+ui_check_paring_button:
+7e34 6800c682 fetch 1 ,mem_ui_state_map 
+7e35 c4060000 rtnbit0 ui_state_btn_down 
+7e36 c4038000 rtnbit0 ui_state_bt_reconnect 
+7e37 20207e2f branch check_51cmd_bb_reconn_cancel 
+
+queue_init:
+7e38 68014218 fetch 2 ,mem_queue_ptr 
+7e39 1fe08a02 add pdata ,queue_offset_curr_num ,contw 
+7e3a 58000000 setarg 0 
+7e3b e0a18000 istore 3 ,contw 
+7e3c 20600000 rtn 
+
+queue_push:
+7e3d 20407fe9 call disable_user 
+7e3e 20407e69 call queue_full 
+7e3f 207a0000 rtn blank 
+7e40 68014218 fetch 2 ,mem_queue_ptr 
+7e41 1fe0a402 add pdata ,queue_offset_curr_num ,regb 
+7e42 ea488000 ifetcht 1 ,regb 
+7e43 18408401 increase 1 ,temp 
+7e44 e2488000 istoret 1 ,regb 
+7e45 efe88000 ifetcht 1 ,pdata 
+7e46 18427200 copy temp ,loopcnt 
+7e47 1fe0a404 add pdata ,queue_offset_write_ptr ,regb 
+7e48 ea408000 ifetch 1 ,regb 
+7e49 984ffe00 imul32 temp ,pdata 
+7e4a 98c08a00 iadd contr ,contw 
+7e4b 1a220c00 copy rega ,contr 
+
+calc_queue_next_ptr:
+7e4c 20407f01 call memcpy 
+7e4d 20407e6d call queue_get_size 
+7e4e 1fe0ffff pincrease -1 
+7e4f ea488000 ifetcht 1 ,regb 
+7e50 18408401 increase 1 ,temp 
+7e51 98410400 iand temp ,temp 
+7e52 e2488000 istoret 1 ,regb 
+7e53 20207fe7 branch enable_user 
+
+queue_pop:
+7e54 20407fe9 call disable_user 
+7e55 20407e65 call queue_empty 
+7e56 207a0000 rtn blank 
+7e57 68014218 fetch 2 ,mem_queue_ptr 
+7e58 1fe0a402 add pdata ,queue_offset_curr_num ,regb 
+7e59 ea488000 ifetcht 1 ,regb 
+7e5a 184085ff increase -1 ,temp 
+7e5b e2488000 istoret 1 ,regb 
+7e5c efe88000 ifetcht 1 ,pdata 
+7e5d 18427200 copy temp ,loopcnt 
+7e5e 1fe0a403 add pdata ,queue_offset_read_ptr ,regb 
+7e5f ea408000 ifetch 1 ,regb 
+7e60 984ffe00 imul32 temp ,pdata 
+7e61 98c08c00 iadd contr ,contr 
+7e62 18c08c01 increase 1 ,contr 
+7e63 1a220a00 copy rega ,contw 
+7e64 20207e4c branch calc_queue_next_ptr 
+
+queue_empty:
+7e65 68014218 fetch 2 ,mem_queue_ptr 
+7e66 1fe08c02 add pdata ,queue_offset_curr_num ,contr 
+7e67 e8c08000 ifetch 1 ,contr 
+7e68 20600000 rtn 
+
+queue_full:
+7e69 20407e6d call queue_get_size 
+7e6a e8c88000 ifetcht 1 ,contr 
+7e6b 98467e00 isub temp ,pdata 
+7e6c 20600000 rtn 
+
+queue_get_size:
+7e6d 68014218 fetch 2 ,mem_queue_ptr 
+7e6e 1fe08c01 add pdata ,queue_offset_length ,contr 
+7e6f e8c08000 ifetch 1 ,contr 
+7e70 20600000 rtn 
+
+right_shift_n:
+7e71 1f267c00 sub loopcnt ,0 ,null 
+7e72 20628000 rtn zero 
+
+right_shift_n_loop:
+7e73 1fe37e00 rshift pdata ,pdata 
+7e74 c2007e73 loop right_shift_n_loop 
+7e75 20600000 rtn 
+
+left_shift_n:
+7e76 18007e01 force 1 ,pdata 
+7e77 1f267c00 sub loopcnt ,0 ,null 
+7e78 20628000 rtn zero 
+
+left_shift_n_loop:
+7e79 1fe3fe00 lshift pdata ,pdata 
+7e7a c2007e79 loop left_shift_n_loop 
+7e7b 20600000 rtn 
+
+push_stack:
+7e7c 18a27e00 deposit contw 
+7e7d 60010abb store 2 ,mem_contw 
+7e7e 600c0aa2 storet 8 ,mem_temp 
+7e7f 19627e00 deposit timeup 
+7e80 60020aaa store 4 ,mem_timeup 
+7e81 20407e85 call push_stack_rega_b_c 
+7e82 18c27e00 deposit contr 
+7e83 60010ab9 store 2 ,mem_contr 
+7e84 20600000 rtn 
+
+push_stack_rega_b_c:
+7e85 1a227e00 deposit rega 
+7e86 60020aae store 4 ,mem_rega 
+7e87 1a427e00 deposit regb 
+7e88 60020ab2 store 4 ,mem_regb 
+7e89 1a627e00 deposit regc 
+7e8a 60018ab6 store 3 ,mem_regc 
+7e8b 20600000 rtn 
+
+pop_stack:
+7e8c 680c0aa2 fetcht 8 ,mem_temp 
+7e8d 68020aaa fetch 4 ,mem_timeup 
+7e8e 98001600 iforce timeup 
+7e8f 20407e95 call pop_stack_rega_b_c 
+7e90 68010abb fetch 2 ,mem_contw 
+7e91 98000a00 iforce contw 
+7e92 68010ab9 fetch 2 ,mem_contr 
+7e93 98000c00 iforce contr 
+7e94 20600000 rtn 
+
+pop_stack_rega_b_c:
+7e95 68020aae fetch 4 ,mem_rega 
+7e96 98002200 iforce rega 
+7e97 68020ab2 fetch 4 ,mem_regb 
+7e98 98002400 iforce regb 
+7e99 68018ab6 fetch 3 ,mem_regc 
+7e9a 98002600 iforce regc 
+7e9b 20600000 rtn 
+
+get_contw:
+7e9c 68010abb fetch 2 ,mem_contw 
+7e9d 1fe20a00 copy pdata ,contw 
+7e9e 20600000 rtn 
+
+get_contr:
+7e9f 68010ab9 fetch 2 ,mem_contr 
+7ea0 1fe20c00 copy pdata ,contr 
+7ea1 20600000 rtn 
+
+store_contw:
+7ea2 18a27e00 copy contw ,pdata 
+7ea3 60010abb store 2 ,mem_contw 
+7ea4 20600000 rtn 
+
+store_contr:
+7ea5 18c27e00 copy contr ,pdata 
+7ea6 60010ab9 store 2 ,mem_contr 
+7ea7 20600000 rtn 
+
+save_cont_pointers:
+7ea8 18a27e00 copy contw ,pdata 
+7ea9 60010a97 store 2 ,mem_hold_contw 
+7eaa 18c27e00 copy contr ,pdata 
+7eab 60010a95 store 2 ,mem_hold_contr 
+7eac 20600000 rtn 
+
+load_cont_pointers:
+7ead 68010a97 fetch 2 ,mem_hold_contw 
+7eae 1fe20a00 copy pdata ,contw 
+7eaf 68010a95 fetch 2 ,mem_hold_contr 
+7eb0 1fe20c00 copy pdata ,contr 
+7eb1 20600000 rtn 
+
+memcpy96:
+7eb2 20407ebd call memcpy32 
+
+memcpy64:
+7eb3 20407ebd call memcpy32 
+7eb4 20207ebd branch memcpy32 
+
+memcpy12:
+7eb5 20407eb9 call memcpy8 
+
+memcpy4:
+7eb6 e8c20000 ifetch 4 ,contr 
+7eb7 e0a20000 istore 4 ,contw 
+7eb8 20600000 rtn 
+
+memcpy8:
+7eb9 e8c40000 ifetch 8 ,contr 
+7eba e0a40000 istore 8 ,contw 
+7ebb 20600000 rtn 
+
+memcpy48:
+7ebc 20407ebf call memcpy16 
+
+memcpy32:
+7ebd 20407eb9 call memcpy8 
+
+memcpy24:
+7ebe 20407eb9 call memcpy8 
+
+memcpy16:
+7ebf 20407eb9 call memcpy8 
+7ec0 20207eb9 branch memcpy8 
+
+delay_10ms:
+7ec1 df20000a arg 10 ,loopcnt 
+
+delay_ms_wait:
+7ec2 20002ee0 nop 12000 
+7ec3 c2007ec2 loop delay_ms_wait 
+7ec4 20600000 rtn 
+
+bn_zero:
+7ec5 18007203 force 3 ,loopcnt 
+
+memset0:
+7ec6 18007e00 force 0 ,pdata 
+
+memset8:
+7ec7 e0a40000 istore 8 ,contw 
+7ec8 c2007ec7 loop memset8 
+7ec9 20600000 rtn 
+
+memset0_8:
+7eca 18007e00 force 0 ,pdata 
+7ecb e0a40000 istore 8 ,contw 
+7ecc 20600000 rtn 
+
+memset0_4:
+7ecd 18007e00 force 0 ,pdata 
+7ece e0a20000 istore 4 ,contw 
+7ecf 20600000 rtn 
+
+clear_mem_256:
+7ed0 18007204 force 4 ,loopcnt 
+7ed1 20207ec6 branch memset0 
+
+clear_mem_512:
+7ed2 18007208 force 8 ,loopcnt 
+7ed3 20207ec6 branch memset0 
+
+clear_mem:
+7ed4 1f227e00 deposit loopcnt 
+7ed5 207a0000 rtn blank 
+7ed6 58000000 setarg 0 
+
+clear_mem_loop:
+7ed7 e0a08000 istore 1 ,contw 
+7ed8 c2007ed7 loop clear_mem_loop 
+7ed9 20600000 rtn 
+
+clear_temp_block:
+7eda df200020 arg 32 ,loopcnt 
+7edb d8a00ac2 arg mem_temp_block0 ,contw 
+7edc 20207ed4 branch clear_mem 
+
+xor_loop:
+7edd ea620000 ifetch 4 ,regc 
+7ede ea2a0000 ifetcht 4 ,rega 
+7edf 9842fe00 ixor temp ,pdata 
+7ee0 e0a20000 istore 4 ,contw 
+7ee1 1a20a204 increase 4 ,rega 
+7ee2 1a60a604 increase 4 ,regc 
+7ee3 c2007edd loop xor_loop 
+7ee4 20600000 rtn 
+
+inverse_data:
+7ee5 477dc03f bpatchx patch3f_3 ,mem_patch3f 
+7ee6 1f227e00 copy loopcnt ,pdata 
+7ee7 1fe67c01 sub pdata ,1 ,null 
+7ee8 20610000 rtn positive 
+7ee9 9a20a400 iadd rega ,regb 
+7eea 1a40a5ff increase -1 ,regb 
+7eeb 1f237200 rshift loopcnt ,loopcnt 
+
+inverse_loop:
+7eec ea288000 ifetcht 1 ,rega 
+7eed ea408000 ifetch 1 ,regb 
+7eee e2208000 istore 1 ,rega 
+7eef e2488000 istoret 1 ,regb 
+7ef0 1a40a5ff increase -1 ,regb 
+7ef1 1a20a201 increase 1 ,rega 
+7ef2 c2007eec loop inverse_loop 
+7ef3 20600000 rtn 
+
+memcpy_fast:
+7ef4 1f227e00 deposit loopcnt 
+7ef5 207a0000 rtn blank 
+
+memcpy_fast_loop:
+7ef6 1f20f3f8 increase -8 ,loopcnt 
+7ef7 20417eb9 call memcpy8 ,positive 
+7ef8 20628000 rtn zero 
+7ef9 20217ef6 branch memcpy_fast_loop ,positive 
+7efa 1f20f208 increase 8 ,loopcnt 
+
+memcpy_fast_loop_four:
+7efb 1f20f3fc increase -4 ,loopcnt 
+7efc 20417eb6 call memcpy4 ,positive 
+7efd 20628000 rtn zero 
+7efe 20217efb branch memcpy_fast_loop_four ,positive 
+7eff 1f20f204 increase 4 ,loopcnt 
+7f00 20207f01 branch memcpy 
+
+memcpy:
+7f01 1f227e00 deposit loopcnt 
+7f02 207a0000 rtn blank 
+
+memcpy_loop:
+7f03 e8c08000 ifetch 1 ,contr 
+7f04 e0a08000 istore 1 ,contw 
+7f05 c2007f03 loop memcpy_loop 
+7f06 20600000 rtn 
+
+timer_stop:
+7f07 58000000 setarg 0 
+
+timer_init:
+7f08 1c430400 rshift clkn_bt ,temp 
+7f09 600a4094 storet 4 ,mem_last_clkn 
+7f0a d8a0419d arg mem_timers ,contw 
+7f0b 98000400 iforce temp 
+7f0c 18e3fe00 lshift queue ,pdata 
+7f0d 98a08a00 iadd contw ,contw 
+7f0e e0a90000 istoret 2 ,contw 
+7f0f 477e403f bpatchx patch3f_4 ,mem_patch3f 
+7f10 20600000 rtn 
+
+timer_check_timeout:
+7f11 d9600800 arg 0x800 ,timeup 
+7f12 19701600 lshift16 timeup ,timeup 
+7f13 9960fe00 iadd timeup ,pdata 
+7f14 20600000 rtn 
+
+timer_reinit:
+7f15 d8e00000 arg 0 ,queue 
+
+timer_check:
+7f16 477ec03f bpatchx patch3f_5 ,mem_patch3f 
+7f17 680a4094 fetcht 4 ,mem_last_clkn 
+7f18 1c437e00 rshift clkn_bt ,pdata 
+7f19 60024094 store 4 ,mem_last_clkn 
+7f1a 98467c00 isub temp ,null 
+7f1b 24417f11 ncall timer_check_timeout ,positive 
+7f1c 98461600 isub temp ,timeup 
+7f1d 19620400 copy timeup ,temp 
+7f1e d8c0419d arg mem_timers ,contr 
+7f1f 18c20a00 copy contr ,contw 
+7f20 df200010 arg 16 ,loopcnt 
+
+timer_loop:
+7f21 e8c10000 ifetch 2 ,contr 
+7f22 98467e00 isub temp ,pdata 
+7f23 20217f25 branch timer_counting ,positive 
+7f24 18007e00 force 0 ,pdata 
+
+timer_counting:
+7f25 e0a10000 istore 2 ,contw 
+7f26 c2007f21 loop timer_loop 
+7f27 d8c0419d arg mem_timers ,contr 
+7f28 18e3fe00 lshift queue ,pdata 
+7f29 98c08c00 iadd contr ,contr 
+7f2a e8c10000 ifetch 2 ,contr 
+7f2b 20600000 rtn 
+
+clk_add:
+7f2c 98408400 iadd temp ,temp 
+7f2d 18427200 copy temp ,loopcnt 
+7f2e 58000ea6 setarg 3750 
+7f2f 9f267e00 isub loopcnt ,pdata 
+7f30 20610000 rtn positive 
+7f31 1fe67e00 sub pdata ,0 ,pdata 
+7f32 18510400 rshift16 temp ,temp 
+7f33 18408401 increase 1 ,temp 
+7f34 18500400 lshift16 temp ,temp 
+7f35 98418400 ior temp ,temp 
+7f36 20600000 rtn 
+
+clk_diff_rt:
+7f37 20407f39 call clk_diff 
+7f38 20207f43 branch clk2rt 
+
+clk_diff:
+7f39 78547c00 disable user 
+7f3a 98467e00 isub temp ,pdata 
+7f3b 20217f3e branch clk_diff_pos ,positive 
+7f3c 78347c00 enable user 
+7f3d 1fe67e00 sub pdata ,0 ,pdata 
+
+clk_diff_pos:
+7f3e c4078000 rtnbit0 15 
+7f3f d85f0ea6 arg -61786 ,temp 
+7f40 9840fe00 iadd temp ,pdata 
+7f41 793ffe40 set0 64 ,pdata 
+7f42 20600000 rtn 
+
+clk2rt:
+7f43 98000c00 iforce contr 
+7f44 1ff17e00 rshift16 pdata ,pdata 
+7f45 d8400ea6 arg 3750 ,temp 
+7f46 984ffe00 imul32 temp ,pdata 
+7f47 98c0fe00 iadd contr ,pdata 
+7f48 20600000 rtn 
+
+clk2lpo:
+7f49 1fed7e00 lshift8 pdata ,pdata 
+7f4a 1ff27e00 lshift4 pdata ,pdata 
+7f4b 6809c16f fetcht 3 ,mem_clks_per_lpo 
+7f4c 9846fc00 idiv temp 
+7f4d 20407f86 call wait_div_end 
+7f4e 18078400 quotient temp 
+7f4f 20600000 rtn 
+
+clk2bt:
+7f50 d8400ea6 arg 3750 ,temp 
+7f51 9846fc00 idiv temp 
+7f52 20407f86 call wait_div_end 
+7f53 1807fe00 quotient pdata 
+7f54 1ff07e00 lshift16 pdata ,pdata 
+7f55 18070400 remainder temp 
+7f56 98418400 ior temp ,temp 
+7f57 20600000 rtn 
+
+string2dec_from_uart:
+7f58 d8400000 arg 0 ,temp 
+
+string2dec_from_uart_done:
+7f59 18422600 copy temp ,regc 
+7f5a e8608000 ifetch 1 ,contru 
+7f5b 20407f64 call uchar2dialog 
+7f5c 1a620400 copy regc ,temp 
+7f5d 20407f95 call swap 
+7f5e da40000a arg 10 ,regb 
+7f5f 9a4ffe00 imul32 regb ,pdata 
+7f60 9840fe00 iadd temp ,pdata 
+7f61 1fe20400 copy pdata ,temp 
+7f62 c2007f59 loop string2dec_from_uart_done 
+7f63 20600000 rtn 
+
+uchar2dialog:
+7f64 d840003a arg 0x3a ,temp 
+7f65 98467c00 isub temp ,null 
+7f66 24217f6d nbranch uchar2dialog_number ,positive 
+7f67 d8400061 arg 0x61 ,temp 
+7f68 98467c00 isub temp ,null 
+7f69 20217f70 branch uchar2dialog_a2f ,positive 
+7f6a d8400037 arg 0x37 ,temp 
+7f6b 98467e00 isub temp ,pdata 
+7f6c 20600000 rtn 
+
+uchar2dialog_number:
+7f6d d8400030 arg 0x30 ,temp 
+7f6e 98467e00 isub temp ,pdata 
+7f6f 20600000 rtn 
+
+uchar2dialog_a2f:
+7f70 d8400057 arg 0x57 ,temp 
+7f71 98467e00 isub temp ,pdata 
+7f72 20600000 rtn 
+
+pn9:
+7f73 18426000 copy temp ,alarm 
+7f74 580001ff setarg 0x1ff 
+7f75 18002400 force 0 ,regb 
+
+pn9_loop:
+7f76 1fe92200 rshift3 pdata ,rega 
+7f77 1a232200 rshift rega ,rega 
+7f78 9a22a200 ixor rega ,rega 
+7f79 2a2ffe00 isolate1 0 ,rega 
+7f7a 7920fe09 setflag true ,9 ,pdata 
+7f7b 18430400 rshift temp ,temp 
+7f7c 2feffe00 isolate1 0 ,pdata 
+7f7d 79208407 setflag true ,7 ,temp 
+7f7e 1fe37e00 rshift pdata ,pdata 
+7f7f 1a40a401 increase 1 ,regb 
+7f80 2a400e00 compare 0 ,regb ,0x7 
+7f81 2420ff76 nbranch pn9_loop ,true 
+7f82 e0a88000 istoret 1 ,contw 
+7f83 c2007f76 loop pn9_loop 
+7f84 1e020400 copy alarm ,temp 
+7f85 20600000 rtn 
+
+wait_div_end:
+7f86 207a8000 rtn modone 
+7f87 20207f86 branch wait_div_end 
+
+compare_loop:
+
+string_compare:
+7f88 ea208000 ifetch 1 ,rega 
+7f89 ea488000 ifetcht 1 ,regb 
+7f8a 98467c00 isub temp ,null 
+7f8b 24628000 nrtn zero 
+7f8c 1a20a201 increase 1 ,rega 
+7f8d 1a40a401 increase 1 ,regb 
+7f8e c2007f88 loop string_compare 
+7f8f 18007c00 force 0 ,null 
+7f90 20600000 rtn 
+
+ceiling:
+7f91 98467c00 isub temp ,null 
+7f92 24610000 nrtn positive 
+7f93 18427e00 deposit temp 
+7f94 20600000 rtn 
+
+swap:
+7f95 9840fe00 iadd temp ,pdata 
+7f96 98460400 isub temp ,temp 
+7f97 98467e00 isub temp ,pdata 
+7f98 20600000 rtn 
+
+clean_mem:
+7f99 df200200 arg 0x200 ,loopcnt 
+7f9a d8a04000 arg 0x4000 ,contw 
+7f9b 20207ec6 branch memset0 
+
+callback_func:
+7f9c 207a0000 rtn blank 
+7f9d 1fe27a00 copy pdata ,pc 
+
+wait_uarttx:
+7f9e 6811010e hfetch 2 ,core_uart_txitems 
+7f9f 243a7f9e nbranch wait_uarttx ,blank 
+7fa0 20600000 rtn 
+
+ice_break:
+7fa1 70820301 jam 0x1 ,core_ice_ctrl 
+7fa2 20600000 rtn 
+
+ice_setbp:
+7fa3 60110205 hstore 2 ,core_ice_break0 
+7fa4 68108203 hfetch 1 ,core_ice_ctrl 
+7fa5 79207e04 set1 4 ,pdata 
+7fa6 60108203 hstore 1 ,core_ice_ctrl 
+7fa7 20600000 rtn 
+
+ice_setbp2:
+7fa8 60110207 hstore 2 ,core_ice_break1 
+7fa9 68108203 hfetch 1 ,core_ice_ctrl 
+7faa 79207e06 set1 6 ,pdata 
+7fab 60108203 hstore 1 ,core_ice_ctrl 
+7fac 20600000 rtn 
+
+ice_set_write_bp:
+7fad 60110205 hstore 2 ,core_ice_break0 
+7fae 70820330 jam 0x30 ,core_ice_ctrl 
+7faf 20600000 rtn 
+
+test_enable_white:
+7fb0 68108043 hfetch 1 ,core_config 
+7fb1 793ffe04 set0 whiteoff_bit ,pdata 
+7fb2 60108043 hstore 1 ,core_config 
+7fb3 20600000 rtn 
+
+check_uart_tx_buff:
+7fb4 6811010e hfetch 2 ,core_uart_txitems 
+7fb5 d8400200 arg uart_air_control_threshold ,temp 
+
+pdata_sub_temp:
+7fb6 98467c00 isub temp ,null 
+7fb7 20600000 rtn 
+
+fifo_in:
+7fb8 477f403f bpatchx patch3f_6 ,mem_patch3f 
+7fb9 ea2c0000 ifetcht util_fifo_len ,rega 
+7fba 18417eff and temp ,0xff ,pdata 
+7fbb 243a7fbe nbranch fifo_in_push ,blank 
+7fbc 184cfe00 rshift8 temp ,pdata 
+7fbd e2240000 istore util_fifo_len ,rega 
+
+fifo_in_push:
+7fbe 1a20a207 increase util_fifo_len + util_fifo_offset ,rega 
+7fbf ea208000 ifetch 1 ,rega 
+7fc0 243a2a8c nbranch assert ,blank 
+7fc1 68008a99 fetch 1 ,mem_fifo_temp 
+7fc2 e2208000 istore 1 ,rega 
+7fc3 20600000 rtn 
+
+fifo_out:
+7fc4 477fc03f bpatchx patch3f_7 ,mem_patch3f 
+7fc5 df200008 arg util_fifo_len ,loopcnt 
+7fc6 ea240000 ifetch util_fifo_len ,rega 
+7fc7 207a0000 rtn blank 
+
+fifo_out_loop:
+7fc8 ea208000 ifetch 1 ,rega 
+7fc9 243a7fcd nbranch fifo_out_end ,blank 
+7fca 1a20a201 increase 1 ,rega 
+7fcb c2007fc8 loop fifo_out_loop 
+7fcc 20202a8c branch assert 
+
+fifo_out_end:
+7fcd d8400000 arg 0 ,temp 
+7fce e2288000 istoret 1 ,rega 
+7fcf 20600000 rtn 
+
+fifo_is_empty:
+7fd0 ea240000 ifetch util_fifo_len ,rega 
+7fd1 20600000 rtn 
+
+fifo_is_full:
+7fd2 ea208000 ifetch 1 ,rega 
+7fd3 20600000 rtn 
+
+fifo_is_near_full:
+7fd4 ea210000 ifetch 2 ,rega 
+7fd5 20600000 rtn 
+
+fifo_content_count:
+7fd6 d8400000 arg 0 ,temp 
+
+fifo_content_count_loop:
+7fd7 68008006 fetch 1 ,contr 
+7fd8 c2007fd7 loop fifo_content_count_loop ,blank 
+7fd9 18408401 increase 1 ,temp 
+7fda c2007fd7 loop fifo_content_count_loop 
+7fdb 18427e00 copy temp ,pdata 
+7fdc 20600000 rtn 
+
+not_greater_than:
+7fdd 98467c00 isub temp ,null 
+7fde 24610000 nrtn positive 
+7fdf 18427e00 copy temp ,pdata 
+7fe0 20600000 rtn 
+
+disable_positive:
+7fe1 18007dff force -1 ,null 
+7fe2 20600000 rtn 
+
+enable_positive:
+
+disable_zero:
+7fe3 18007c01 force 1 ,null 
+7fe4 20600000 rtn 
+
+enable_zero:
+7fe5 18007c00 force 0 ,null 
+7fe6 20600000 rtn 
+
+enable_user:
+7fe7 78347c00 enable user 
+7fe8 20600000 rtn 
+
+disable_user:
+7fe9 78547c00 disable user 
+7fea 20600000 rtn 
+
+enable_user2:
+7feb 78367c00 enable user2 
+7fec 20600000 rtn 
+
+disable_user2:
+7fed 78567c00 disable user2 
+7fee 20600000 rtn 
+
+disable_blank:
+7fef 58000001 setarg 1 
+7ff0 20600000 rtn 
+
+enable_blank:
+7ff1 58000000 setarg 0 
+7ff2 20600000 rtn 
+
+reverse_byte:
+7ff3 1f227e00 copy loopcnt ,pdata 
+7ff4 207a0000 rtn blank 
+7ff5 18c27e00 copy contr ,pdata 
+7ff6 9f20fe00 iadd loopcnt ,pdata 
+7ff7 1fe0ffff increase -1 ,pdata 
+7ff8 1fe20c00 copy pdata ,contr 
+
+reverse_loop:
+7ff9 e8c08000 ifetch 1 ,contr 
+7ffa 18c08dfe increase -2 ,contr 
+7ffb e0a08000 istore 1 ,contw 
+7ffc c2007ff9 loop reverse_loop 
+7ffd 20600000 rtn 
+rtn 
Index: HS_24G&BLE_Motion/output/ramcode.rom
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/ramcode.rom	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/ramcode.rom	(working copy)
@@ -0,0 +1,1757 @@
+c2840011
+c04285e9
+c04485ae
+c0008025
+c050802e
+c0540033
+c0588036
+c059003e
+c06200b8
+c064812c
+c0650130
+c07182e9
+c07302a8
+c075032f
+c075833d
+c0760368
+20202a8e
+c01c836d
+c0218375
+c025037b
+c02b837e
+c0318390
+c03383ba
+c03503e3
+c03b83ee
+c04603fe
+20202a8e
+1fe22200
+6808cc50
+58004c57
+98408a00
+1a227e00
+e0a08000
+18408401
+18410407
+6008cc50
+20600000
+d8a009ae
+df20000c
+20407ed4
+204000ac
+20406a03
+20405cf6
+2455ac65
+20407ccd
+2020200c
+58000a06
+6001c510
+58001d87
+60014513
+20202aa2
+6800c806
+247a0000
+20202b7f
+c6130000
+6800c79c
+c0007fef
+6800c7c4
+c000ffef
+68014248
+243a7fef
+20207ff1
+c6930000
+6800ccd5
+c0008053
+20400463
+2434006e
+20400448
+20400487
+6800cba5
+c1ff8000
+204004e6
+6800ccd5
+c1008000
+20402afa
+6801c16f
+207a0000
+6800c091
+207a0000
+20400093
+20400090
+5800ec54
+20202b93
+204005eb
+24740000
+20400065
+6800ccd6
+1fe0fe01
+6000ccd6
+1fe67c19
+2042805c
+20200041
+704cd500
+704cd600
+704bd000
+6800cbbb
+6000cbba
+20600000
+6800cbbc
+6000cbba
+20600000
+6800cbd0
+1fe0fe01
+6000cbd0
+c0020062
+c002805e
+20600000
+704cd501
+704cd600
+20600000
+6800cbc1
+205a007a
+20402afa
+6801c16f
+207a0000
+6800c091
+207a0000
+20400093
+68044bc4
+20407f49
+600a415b
+20202b2a
+704bc101
+704cca00
+20400410
+6000cb31
+58000000
+6003cb32
+68024bcc
+60024b39
+704b950c
+6800cb96
+79207e03
+6000cb96
+20400627
+20400467
+20200044
+c6130000
+2040009f
+20400093
+6800c040
+c3000090
+680080a0
+247a0000
+58000000
+600400a1
+20600000
+2040009c
+20400090
+20403ebf
+68120070
+681a0078
+98418400
+18440400
+601a007c
+20600000
+6800cb03
+207a0000
+202002ea
+d8c01800
+d8a0480a
+204000aa
+d8c01900
+d8a04825
+204000aa
+d8c01a00
+d8a04840
+204000aa
+d8c01b00
+d8a0485b
+df20001b
+20207f01
+d8c0480a
+d8a01800
+204000aa
+d8c04825
+d8a01900
+204000aa
+d8c04840
+d8a01a00
+204000aa
+d8c0485b
+d8a01b00
+202000aa
+20403416
+203580c2
+70807820
+204006c3
+6800c1de
+6000cc4c
+204004d5
+6800c685
+6000c6da
+204043ca
+204000c4
+202074b9
+24558112
+204000f1
+20758000
+2040014d
+204002b2
+c00280df
+20200134
+6800cc4c
+6000c1de
+6800c210
+c01a00d0
+20600000
+70479f01
+680146a8
+600146ae
+20403418
+204000d8
+58000004
+e0c08000
+20207df4
+da204370
+ea208000
+207a0000
+98c0a200
+e8c08000
+c1008000
+202000d9
+680246d3
+c4088000
+c3818000
+c6130000
+20404482
+d8e00003
+204043ce
+58000000
+600146ae
+6000c6b4
+60014bc2
+204042ca
+2020051a
+680246d3
+c30a3d66
+6800c77a
+c07fbd66
+20203d80
+70421276
+20203d36
+204000f1
+204040c0
+6800c6e0
+c002c0d5
+204040d9
+c0180101
+c0188103
+204040d1
+200003e8
+202000f7
+704b0301
+2040640f
+204000f3
+20206411
+20400108
+202040e0
+20400108
+6800c6de
+c03840e8
+7046e001
+20600000
+58008006
+20406413
+20002ee0
+202000ec
+58000006
+20406414
+1fe1fe08
+1fed7e00
+1fe0fe06
+20206413
+2040040a
+68108a00
+793ffe04
+60108a00
+20403e6e
+20400208
+20403e1e
+58000000
+60014154
+20403e54
+20405810
+20405839
+2040582c
+20405818
+2040659c
+680246d3
+2feffe19
+2440e5c2
+2040443f
+20400128
+204001c5
+202065df
+204033c4
+2022c316
+20400335
+20203dcb
+d8400002
+da200aaa
+da400062
+202065d1
+d8400002
+da200a9a
+da400062
+202033c8
+680246d3
+c30f013b
+68008abd
+2fec0003
+2420813b
+204000f3
+2040010c
+6800c71f
+6000c71e
+6800c6f5
+c3830000
+680246d3
+c4088000
+20400144
+20340571
+2020054e
+df200002
+d8c04bbd
+20407fe7
+5800ffff
+e8c90000
+98467c00
+2442ffe9
+c2000148
+20600000
+58000160
+60014cc6
+58000164
+600141ef
+580003f8
+600141f9
+58000089
+600141ed
+5800018c
+600141f5
+58000179
+600141f3
+580001dc
+600141eb
+580001ea
+600141fd
+58003d36
+60014201
+20600000
+20404401
+6801469f
+207a0000
+2020006b
+20405892
+247a0000
+6800c6c5
+1fe17e03
+c1818000
+6800c79c
+205a0176
+680246d3
+c282c179
+20403f97
+24740000
+20400171
+202006c8
+6801469f
+207a0000
+70480601
+70480702
+20600000
+20405814
+70479c01
+20200108
+20407e34
+2040017c
+20203ee0
+6808c6e7
+204002db
+6808c6e7
+2040681d
+2020818a
+204002e4
+6800c6b6
+c1000000
+7046b600
+6800c77a
+1fe0fe01
+1fe17e03
+6000c77a
+20203d74
+204002e4
+20203d62
+1a627e00
+c00a0196
+c00a8199
+c01481a2
+c01901a4
+c02001ab
+c01c81b6
+c01d01c9
+c01e01da
+2020417d
+204000fd
+204006c3
+202041c3
+204001e6
+58000007
+60014496
+60014498
+7047c400
+70479c00
+204006c3
+20405816
+202041d9
+700a9912
+20207d8f
+6800c79f
+c00081a7
+202001a9
+204001a2
+7046c614
+d8e00001
+202041b9
+68014509
+c1000000
+68008441
+1feb7e00
+1fe67c0c
+20610000
+58000009
+60014496
+60014498
+204001a2
+20200384
+204000fd
+70478b01
+d8e00003
+204043d2
+58000000
+60014707
+7046a700
+6800c6e0
+1fe67c05
+2042c039
+2442c05d
+6800cc4c
+6000c1de
+204001c5
+202065d1
+da204bbd
+da40005b
+d8400004
+20600000
+204001e6
+704cd500
+6800cc4c
+6000c1de
+20400598
+6800cb00
+c28001d7
+7041bd00
+20404316
+df200003
+d8c04722
+20400146
+203401d7
+202000cb
+70479d01
+70479e28
+20600000
+204000fd
+20203f8d
+78347c00
+68120138
+79347e1a
+6012004c
+20402c21
+204001e6
+204074bd
+20404482
+20403e9f
+20203ebf
+6800cb03
+207a0000
+704b0300
+2020010c
+2040025d
+20400297
+2040022d
+20400230
+204001f6
+20400254
+20400238
+20404231
+20404234
+20404237
+2040423a
+20200235
+6800cb04
+207a0000
+6800cb0a
+1fe0ffff
+6000cb0a
+247a0000
+6800cb0b
+6000cb0a
+6800cb0d
+203a0204
+6800cb0c
+203a020e
+1fe0ffff
+6000cb0c
+6800cb06
+c0008211
+c000020a
+20600000
+6808cb05
+2020680e
+704b0601
+20400208
+6808cb05
+20206829
+704b0a00
+704b0c00
+704b0d00
+6800cb0c
+243a0215
+704b0400
+704b0700
+704b0800
+704b0600
+6808cb05
+20406825
+6810807c
+79207e05
+6010807c
+20600000
+704b0a01
+704b0b05
+704b0d00
+704b0c01
+704b0401
+704b0701
+20600000
+6800cb08
+247a0000
+6800cb0e
+247a0000
+2020020e
+704b0a01
+704b0b03
+704b0d01
+20200221
+da604809
+da40637a
+2020336d
+da604807
+da400233
+2020336d
+70480600
+20600000
+da6046c6
+da403d60
+2020336d
+6800c6f5
+c2824394
+204002b2
+c0038244
+6800c685
+6000c6da
+6800c6db
+c1008000
+7046db01
+d8e00009
+204043d2
+202043ca
+70479e28
+20400247
+202043b0
+da6046da
+da40024a
+2020336d
+204001e6
+68014682
+2feffe0b
+2040c2d4
+68014682
+2feffe07
+2040c392
+d8e00009
+204043ce
+202043b8
+6800c79d
+207a0000
+6800c79e
+203a025b
+1fe0ffff
+6000c79e
+20600000
+70479d00
+2020340a
+680246d3
+c40d0000
+6800cb0c
+247a0000
+6800cb08
+247a0000
+6800c6ce
+1fe0fe01
+6000c6ce
+1fe67c0a
+20610000
+7046ce00
+20400278
+20406908
+6001470f
+da204709
+20400285
+6800c231
+c280b40a
+c3000273
+704b0201
+202043e7
+204043e9
+6800cb02
+207a0000
+704b0200
+20200211
+6800c22d
+c001027b
+202068ec
+6808cb05
+204067fb
+6810807c
+793ffe05
+6010807c
+68108078
+793ffe05
+60108078
+204068f4
+20600000
+ea240000
+60040a9a
+68090a9c
+68010aa0
+1feffe07
+1fe6fc04
+20407f86
+1807fe00
+1fe0fff6
+98467c00
+24216944
+68090a9e
+98467c00
+24216940
+6800c231
+793ffe00
+6000c231
+20600000
+680246d3
+c4020000
+6800cb0c
+247a0000
+6800cb08
+247a0000
+6800c6cf
+1fe0fe01
+6000c6cf
+1fe67c14
+244102a6
+6800c6cf
+1fe67c0a
+2021020a
+20200211
+7046cf01
+20600000
+78547c00
+58000000
+6003469b
+20403fb5
+20404079
+2040407e
+204002b0
+20203f9f
+204002b2
+2020409a
+da200000
+204002bd
+204002c3
+204002c9
+204002b9
+1a227e00
+20600000
+6800c6e5
+c17f8000
+204002cf
+202002d5
+6808c6e2
+204002e4
+6808c6e2
+2040681d
+7920a200
+20600000
+6808c6e3
+204002e4
+6808c6e3
+2040681d
+7920a201
+20600000
+6808c6e4
+204002e4
+6808c6e4
+2040681d
+7920a202
+20600000
+6808c6e5
+204002db
+6808c6e5
+2040681d
+7d20a203
+202002e4
+6808c6e6
+204002db
+6808c6e6
+2040681d
+7d20a204
+202002e4
+793f8407
+d8a08078
+20406830
+79200407
+d8a0807c
+20406830
+793f8407
+d8a08070
+20206830
+79200407
+d8a08078
+20406830
+793f8407
+202002df
+20400329
+6800c6e0
+c002bdaa
+c0023d96
+c0030300
+c0018300
+6800c77a
+1fe67c01
+204282f8
+6800c77a
+c00002fa
+c000bd88
+c00102fc
+c00182fe
+202002fc
+70477a02
+20600000
+704b0101
+20203d8a
+704b0102
+20203d8c
+704b0103
+20203d8e
+6800c77a
+1fe67c01
+20428309
+6800c77a
+c000030b
+c000830f
+c0010312
+c0018316
+20200312
+70477a02
+20600000
+704b0101
+6800c77f
+1fe0ffff
+20203dbe
+6800c780
+1fe0ffff
+20203dbe
+704b0102
+6800c781
+1fe0ffff
+20203dbe
+704b0103
+6800c782
+1fe0ffff
+20203dbe
+6800c77a
+1fe67c01
+204282f8
+6800c77a
+c0003d9d
+c000bd9b
+c0013d9f
+c001bda1
+20203d9f
+704b0101
+20203d9d
+704b0102
+20203d9f
+704b0103
+20203da1
+680246d3
+c40b8000
+7046df0a
+6800c6f4
+6000c715
+20600000
+70479d00
+70479e00
+c5130333
+2020426d
+20400598
+2020426d
+204068a2
+6801421d
+203a033a
+600147c2
+2020035b
+58001122
+600147c2
+20200339
+6800cc4c
+6000c1de
+70479c00
+68014682
+c285834c
+680246d3
+c30c034c
+2040035f
+680947c2
+18408401
+600947c2
+600944a1
+2040035b
+180a7e00
+6000c4a0
+20403418
+68014687
+600146ac
+70016d06
+58000000
+600146b0
+600146ae
+d8e00007
+204043ce
+204043ca
+6800c092
+2feffe01
+20408363
+204042c4
+2020021d
+d8400002
+da2047c2
+da40005f
+202065d1
+d8400002
+da2047c2
+da40005f
+202065df
+70479f00
+204000d8
+58000005
+e0c08000
+20207df4
+20400224
+58000000
+600146ac
+20400108
+202042cb
+6800c50f
+1fe0fe01
+6000c50f
+c0065395
+204055aa
+2040561e
+204004e6
+2020538f
+68008016
+1fe0fe01
+60008016
+c1940000
+70001625
+20600000
+204029bb
+2040001b
+202054a3
+20400386
+2020557d
+6800c7c5
+6000c172
+7047c400
+20600000
+7047c401
+20600000
+6800c3d6
+1fe67c0c
+24210384
+6800c3d8
+6808c7c5
+98467c00
+20210380
+6800c3d8
+6000c172
+20200382
+68008456
+c28283a4
+204004d8
+6800c78e
+243a039a
+6800843f
+c302039e
+680082da
+203a039e
+20205664
+6800c78e
+1fe0ffff
+6000c78e
+20205664
+6800c4c4
+c08283a1
+70478e03
+20405892
+205a06d0
+20205622
+204003a6
+202003b2
+6800c6c5
+1fe17e03
+c1818000
+6800c7c1
+207a0000
+6800c3dd
+207a0000
+6800c3dc
+79207e04
+6000c3dc
+20405650
+20600000
+202004dc
+6800c79f
+207a0000
+6800c6c5
+1fe17e03
+c1018000
+7046c60a
+20600000
+e8c10000
+c00203be
+c00303db
+20205698
+20407ea5
+204003b3
+20407e9f
+e8c18000
+60018477
+c00803cd
+1fec8400
+18467c24
+202158ad
+d84047c6
+600944bc
+204058ad
+58008e7a
+600144bc
+20600000
+204059fa
+20405879
+18c08c07
+e8c08000
+c1888000
+18c08c05
+e8c10000
+d8401812
+98467c00
+24628000
+18c08dfc
+5800002b
+e0c10000
+20600000
+e8c08000
+c00283de
+20205af5
+20405b5a
+6800843f
+793ffe05
+6000843f
+20205c8e
+68008016
+c093d6f2
+204003e9
+d8e00000
+68014482
+20207f08
+180a7e00
+d84001ff
+98417e00
+1fe0fefa
+20203cbe
+7855fc00
+203703f1
+2436d806
+20402bcb
+680140c1
+6001044d
+6800c6c5
+2fe00603
+2420abde
+202057fb
+6800c79f
+247a0000
+68008478
+1fe67e1a
+24628000
+20203d60
+68108077
+1fe17efd
+60108077
+68188073
+18418402
+60188073
+204063ee
+184104fd
+2000000d
+204063f2
+60188073
+20600000
+204068a8
+680240a0
+60024bcc
+20600000
+704ccb01
+704ccd00
+6800cb96
+1fe17e07
+6000cb96
+20600000
+6800cb96
+79207e04
+6000cb96
+6000cb51
+20600000
+6800cb96
+793ffe04
+6000cb96
+20600000
+204004dc
+6800cccc
+c0008422
+c0010426
+20600000
+704ccd02
+704cc900
+704ccb00
+20200410
+704cca00
+20200423
+68014b9b
+1fe0fe01
+60014b9b
+c28504ca
+6800ccca
+c0008431
+704cca01
+6800ccca
+c0808410
+6800ccc8
+1fe0fe01
+6000ccc8
+c0020438
+20400639
+704bda02
+20200487
+204004dc
+704cc800
+20200410
+704ccd02
+704ccb01
+704cca00
+20200410
+6800cccc
+c001843c
+6800cb96
+2fec0004
+2020840e
+6800cccc
+c000843b
+c001043c
+20600000
+6800cba5
+c1ff8000
+2040044d
+24560455
+20600000
+78567c00
+6800cccb
+c1808000
+6800cccd
+c1800000
+704ccc01
+704bda04
+20207feb
+6800cccd
+203a045d
+1fe0ffff
+6000cccd
+704ccc02
+20400639
+704bda04
+20600000
+704ccc03
+6800ccca
+243a042f
+20400639
+704bda02
+20600000
+6800cba5
+c0ff8523
+20400469
+20400627
+704b9a01
+20600000
+68014cc6
+20407f9c
+2034046f
+6803cb32
+207a0000
+20207fe7
+704bc100
+1a20fe01
+6000cb95
+20400410
+6000cb31
+e8a88000
+ea408000
+9841fe00
+e0a08000
+1a40a401
+df200002
+ea410000
+e0a10000
+1a40a402
+c200047a
+d8a04b37
+df200002
+ea408000
+e8a88000
+9840fe00
+e0a08000
+1a40a401
+c2000480
+20600000
+704b9e00
+d9600d00
+34730200
+204004a3
+6800cbd1
+c1008000
+242c04b2
+243784b2
+2040049e
+204004ce
+204004d8
+6800cb94
+1fe0fe01
+6000cb94
+6800cba5
+c0ff84a1
+2040043f
+58000000
+60014b9b
+6000cb9d
+6000ccc9
+704b9a00
+20600000
+df200004
+d8a04b31
+20207ec6
+204004d5
+2020053e
+7857fc00
+204006a2
+6800cbd1
+c00084b0
+18002a00
+68024bbd
+98001200
+68088017
+2040291f
+20402924
+2040065c
+2057869a
+20600000
+2040069a
+20200492
+6800cb9d
+1fe0fe01
+6000cb9d
+6800cba5
+c0ff84c6
+6808cb9e
+18408401
+6008cb9e
+6800cbda
+98467e00
+243a0488
+6800cccc
+c0018428
+6800ccc9
+1fe0fe01
+6000ccc9
+c001041d
+20400414
+704bda01
+20200487
+6800cb9d
+c1ff8000
+704b9d00
+202004cc
+58000000
+60014b9b
+700a993a
+20207d86
+204005a1
+6800cb93
+207a0000
+98007200
+d8c04b11
+d8a04b73
+20207f01
+704cd101
+704cce00
+20600000
+6800ccce
+1fe0fe01
+6000ccce
+20600000
+6800ccce
+1fe67c02
+244104e4
+6800ccce
+c1000000
+1fe0ffff
+6000ccce
+20600000
+704cce03
+20600000
+68014682
+c3858000
+c3838000
+c3830000
+da204c57
+20400608
+6008cccf
+280ffe26
+204084f8
+244084fc
+98467c00
+24210510
+6800ccce
+1fe67c02
+24210500
+6800ccce
+c0000511
+20600000
+58000082
+20600000
+58000077
+20600000
+58000080
+20600000
+58000075
+20600000
+6800ccce
+c1900000
+704cce00
+6808cccf
+280ffe26
+204084fa
+244084fe
+98467c00
+24610000
+6800ccd1
+c0000518
+1fe0ffff
+6000ccd1
+c0000518
+7041de00
+20600000
+704cce00
+6800ccd1
+c0010516
+1fe0fe01
+6000ccd1
+c000850e
+7041de02
+20600000
+7041de04
+20600000
+79200026
+2040051e
+704ba501
+20600000
+7041de20
+704b9400
+704b9f4e
+68024ba1
+20200619
+6800cb9a
+c000ffe7
+6800cba5
+c000852a
+c001052d
+c0018530
+20202a8c
+704ba511
+70119eaa
+20200532
+704ba512
+70119e55
+20200532
+704ba513
+70119e22
+6800cb96
+1fe17e07
+6000919f
+68024bcc
+600211a0
+7011a400
+da20119e
+d8400007
+2040059c
+20400627
+20400467
+20207fe7
+6800cba5
+c17f8000
+c0088544
+c0090546
+c0098548
+20600000
+704ba502
+20200498
+704ba503
+20200498
+704ba5ff
+700a9939
+20407d86
+68024b75
+20400619
+20200498
+793f8026
+20400592
+6800cba5
+c1ff8000
+20400563
+58000000
+60014bc2
+20402afa
+200007d0
+6800cbc2
+c07f84cc
+204004a3
+242c056c
+2437856c
+79200026
+58000000
+60014bc2
+700a993c
+20407d86
+2040049e
+2020006b
+70119eff
+6800cb96
+6000919f
+68024bcc
+600211a0
+d8400006
+da20119e
+2040059c
+20200627
+68014bc2
+1fe0fe01
+60014bc2
+20400639
+20200555
+793f8026
+2040058e
+20400563
+704bc200
+20402afa
+200007d0
+6800cbc2
+c07f84cc
+204004a3
+242c0584
+24378584
+204004ce
+6800cc4c
+6000c1de
+68024bbd
+680a4ba1
+98467c00
+2022851a
+2020055c
+6800cbc2
+1fe0fe01
+6000cbc2
+6800ccd3
+1fe0fe01
+1fe17e01
+6000ccd3
+c0000594
+c0008596
+20600000
+7041de20
+58000f0f
+60014bbd
+e0a10000
+2040061a
+20200639
+2040058e
+20200575
+2040051e
+20200575
+793f8026
+204053ce
+d8e00003
+202043d2
+6008cb95
+18427200
+d8a04b31
+1a220c00
+20207f01
+6800cb10
+1fe97e00
+6000cb93
+1fe0fe01
+d8c04b10
+98c08c00
+e8c18000
+6001cbd2
+6800cb10
+1fe37e00
+1fe17e03
+6000cbd8
+20600000
+60088017
+1840a200
+20402981
+58000500
+20402a8f
+70890601
+7089003c
+708901e0
+2000000a
+70890201
+7089023d
+2000000a
+708903b7
+2000000a
+7089027d
+6800c1de
+c00005c3
+c00105cb
+c00205d3
+c01005e5
+202005c3
+204005db
+70894bba
+708955d0
+708956e0
+70895788
+7089586c
+70895910
+2020294b
+204005e0
+70894bba
+708955d0
+708956e0
+70895788
+7089583c
+70895910
+20202953
+204005db
+70894bba
+708955d0
+708956c0
+70895788
+7089586c
+70895910
+2020295b
+70894c5b
+70894d96
+70894e2c
+70894f46
+20600000
+70894cfb
+70894def
+70894eec
+70894f5e
+20600000
+70894bba
+708956c2
+708955d0
+20600000
+18002a08
+202028fa
+20407fe9
+680a4bb6
+1c427e00
+98467c00
+24412d18
+1fe22400
+68024bb6
+6808cbba
+98408400
+1a427e00
+98467c00
+24610000
+793ffe1c
+60024bb6
+20207fe7
+204029bb
+207a0000
+6808cc4f
+da200d9e
+20400601
+6008cc4f
+20600000
+1a227e00
+98408a00
+68008018
+e0a08000
+18408401
+18410407
+20600000
+d8400000
+df200008
+1a220c00
+e8c08000
+98408400
+c200060b
+18497e00
+1fe20400
+c6930000
+1fe6fc0a
+20407f86
+1807fe00
+1ff27e00
+18070400
+98418400
+20600000
+20600000
+60024bbd
+da200000
+df200004
+d8c04bbd
+e8c08000
+9a20a200
+c200061d
+1a227e00
+60014c46
+6800cc46
+6808cc47
+9840fe00
+6000cc48
+20600000
+6800cb95
+1fe0fe02
+6000cb97
+6800cb96
+6000cb51
+6800cb95
+1fe9fe00
+6808cb94
+18410403
+18438400
+9841fe00
+6808cbd1
+9840fe00
+e0a08000
+6800cb95
+98007200
+d8c04b31
+20207f01
+6808cba0
+2040063d
+6008cba0
+20600000
+20400641
+18408401
+18410403
+20600000
+6800cbbd
+1fe17e03
+1fefa204
+58004ba6
+9a20fe00
+98408c00
+e8c08000
+6000cb9f
+20600000
+7844fc00
+7843fc00
+58555555
+98001e00
+6800cb9f
+1fed8400
+79200401
+18431c00
+20600000
+204053c4
+68024bbd
+98001200
+20402918
+6808cb9f
+2040291f
+58000500
+20402a8f
+20402924
+2040064a
+7857fc00
+7826fc00
+7830fc00
+78507c00
+78287c00
+68014b98
+98003600
+37c18400
+242c069e
+7846fc00
+7825fc00
+7823fc00
+7824fc00
+09800008
+19897e00
+6000cc49
+6808cc48
+98467c00
+2422869a
+09800008
+19897e00
+6000cb0f
+6800cbdb
+1fe67c02
+2022867a
+6800cb0f
+6808cb96
+a8400e00
+2420869a
+09800008
+19897e00
+e0a08000
+1fe97e00
+1fe1721f
+20228684
+09800008
+19897e00
+e0a08000
+c2000680
+18a22200
+09800008
+19897e00
+6000ccd0
+1a220a00
+09800018
+78287c00
+db600664
+1fef7e00
+1ff17e00
+e0a18000
+7845fc00
+2023069a
+7837fc00
+68008017
+1fe0a200
+20402981
+7846fc00
+20402918
+6800ccd0
+2040001b
+20600000
+784dfc00
+7845fc00
+2040264d
+20600000
+2020069a
+20402918
+6808cb9f
+20202933
+204053c4
+68024bbd
+98001200
+2040064a
+2040069f
+79202a00
+782efc00
+78307c00
+7850fc00
+19317e00
+1fecfe00
+1ff1fe00
+08008628
+784efc00
+782dfc00
+7823fc00
+7824fc00
+6800cc48
+08008608
+6800cb97
+98007200
+d8c04b51
+e8c08000
+08008608
+c20006b8
+78247c00
+08008618
+78447c00
+37d38200
+20000064
+784efc00
+784dfc00
+20600000
+7047a007
+7047a104
+580047a0
+60014218
+20207e38
+da20469a
+20407e3d
+205406cc
+20600000
+6800c7c1
+1fe0fe01
+6000c7c1
+20600000
+da20469a
+20407e54
+203406d4
+20600000
+20405652
+6800c7c1
+1fe67c01
+24415650
+6800c7c1
+207a0000
+1fe0ffff
+6000c7c1
+20203f90
Index: HS_24G&BLE_Motion/output/romcode.rom
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/romcode.rom	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/romcode.rom	(working copy)
@@ -0,0 +1,24576 @@
+20402abc
+44804000
+20800000
+2040640d
+2040296c
+204065a3
+20402a96
+20404d6a
+4480c000
+20406a03
+20405cf6
+20407ccc
+204032d8
+2455e89c
+44814000
+2055b2e3
+2040756a
+2055ab41
+4481c000
+204076dc
+20407aaf
+2040756d
+2040535c
+44824000
+20402038
+204032ed
+2040208f
+204022f8
+2040236a
+20402021
+20402b6a
+20402c72
+20202012
+20402026
+c6848000
+793f8009
+20402223
+202053ce
+4482c000
+2040225e
+2422a02f
+2040220a
+1a208c01
+e8c08000
+c2805360
+c280a166
+202023cf
+2040222b
+1f227c00
+20628000
+2040220a
+68008030
+c281a0d3
+68008031
+c280a166
+202023cf
+6800c1ce
+207a0000
+c000a048
+c001204d
+c001a050
+c002a055
+c00da045
+20402257
+20628000
+2040225a
+20628000
+7041ce00
+20600000
+70049b1b
+7041ce00
+20600000
+7920001c
+793f801e
+70008fff
+70008d1f
+20202043
+793f801c
+18003600
+20202043
+2040225a
+20628000
+18000401
+70016e05
+2020205c
+44834000
+680341d0
+203a2043
+70468101
+70005503
+2020205b
+18000425
+4483c000
+680080f1
+203a2062
+1fe9fe00
+1ff27e00
+1fe0ffff
+6000c0a6
+600080f0
+70008e1f
+793f800c
+2040223b
+2422a083
+20402a6f
+60008077
+6008807c
+680341d0
+60030040
+44844001
+20407f15
+18007e00
+2841fe01
+7d20fe05
+79207e03
+60008030
+700a9903
+20407d86
+18007e00
+7920fe04
+6000804c
+58000000
+79207e01
+60008031
+7834fc00
+20402223
+7854fc00
+18000e03
+680140b9
+20407f08
+20202043
+4484c001
+680341d0
+60030040
+2841fe01
+2020a089
+20202043
+d8a00101
+df200008
+20407ec6
+700a9904
+20407d86
+20202043
+c68e0000
+18000e01
+20407f16
+7d3a001c
+243a2095
+20600000
+44854001
+680940bb
+18000e04
+2040271c
+20740000
+204028a4
+18004800
+20618000
+793f800b
+793f8000
+1c40c201
+280ffe1e
+7920c802
+2c200400
+2420a0be
+4485c001
+68008012
+1fe0fe01
+60008012
+204028d8
+204028d2
+204028f2
+20402a51
+20402a56
+20402a64
+2040264d
+204020b1
+2020209c
+44864001
+6800808d
+1fe0ffff
+6000808d
+20610000
+70008d1f
+6800808f
+1fe0ffff
+6000808f
+20610000
+7940001e
+70008fff
+20600000
+4486c001
+204028d8
+204028cc
+204028f2
+20402a5b
+204029eb
+20402a0d
+202c20c8
+204020b1
+2020209f
+44874001
+204029bb
+20402a6b
+2040251e
+793f8001
+c6858000
+4487c001
+68008013
+1fe0fe01
+60008013
+20600000
+44884002
+7834fc00
+78387c00
+680140b5
+203a20db
+18000e08
+20407f16
+247a0000
+4488c002
+680940b7
+18000e28
+2040271c
+20342114
+18000e03
+20407f16
+243a20f0
+6800804c
+c28220e6
+202020e9
+d8a00101
+df200008
+20407ec6
+44894002
+70003000
+20405cf7
+70468100
+700a9913
+20407d86
+20202114
+4489c002
+18001600
+34730200
+680080f2
+1fe0ffff
+9c42fe00
+2fe00600
+2420a0f0
+18827e00
+60008181
+18004c00
+18004800
+448a4002
+2021a114
+204028dc
+d9600600
+34730200
+448ac002
+680200f2
+98004200
+1fe0fe01
+600200f2
+280ffe0c
+7920c802
+2c200400
+2420a128
+6800800c
+1fe0fe01
+6000800c
+204028d2
+20402a51
+20402a56
+20402a64
+2040264d
+2040211a
+202020fc
+448b4002
+7854fc00
+680140b5
+207a0000
+18000e08
+20207f08
+448bc002
+6800808e
+1fe0ffff
+6000808e
+20610000
+70008e1f
+680080f0
+1fe0ffff
+600080f0
+20610000
+7940000c
+6800c0a6
+600080f0
+20600000
+448c4003
+204028cc
+20402a5b
+204029eb
+20402a0d
+202c2130
+2040211a
+20202101
+2040264d
+6800800d
+1fe0fe01
+6000800d
+18003600
+680200f2
+448cc003
+20402a4f
+204028dc
+1cc0cc01
+1c2143fd
+1c8149fc
+204028d2
+20402a51
+20402a56
+20402a64
+1c427e00
+60020161
+18000800
+18000202
+20402a6b
+20402766
+448d4003
+20402a4d
+1c21c202
+1c8149fc
+204028cc
+20402a5b
+204029eb
+20402a0d
+204c264d
+202c2155
+68008010
+203a20fc
+1fe0ffff
+60008010
+20202136
+448dc003
+6800800e
+1fe0fe01
+6000800e
+20402435
+204022f2
+202c215f
+20402455
+243a215a
+202020fc
+448e4003
+68008030
+793ffe03
+60008030
+20402440
+7854fc00
+20600000
+448ec003
+7834fc00
+78387c00
+204021e1
+20740000
+20402c69
+20402a4f
+1c40c201
+204028e2
+18004803
+20406cc2
+20402489
+204028d2
+20402a51
+20402a56
+20402a64
+20402762
+448f4003
+20405d08
+204022e4
+2436a180
+20402a88
+20402728
+6800800f
+1fe0fe01
+6000800f
+448fc003
+20406caa
+2040218b
+24748000
+204026f3
+243a2188
+7854fc00
+20600000
+20402489
+204022da
+20202177
+2036a18e
+20402a7f
+2021219c
+204021a7
+2434219c
+6800804c
+c4020000
+c3818000
+6800804b
+c3818000
+204021ae
+247a0000
+6800816e
+1fe0ffff
+6000816e
+247a0000
+20206006
+44904004
+2040245d
+7854fc00
+6800804c
+c28221a2
+20600000
+6800804c
+c3818000
+d8a00101
+df200008
+20207ec6
+4490c004
+78347c00
+6800804b
+c4018000
+204021ae
+247a0000
+20207fe9
+68008072
+1fe0ffff
+60008072
+20600000
+44914004
+68008030
+c283a1bb
+680089b5
+203a21bb
+7009b500
+700a9918
+20407d86
+202021bb
+4491c004
+20402254
+68008030
+79207e07
+60008030
+7041bd01
+68008055
+c08b21c3
+20600000
+7009b501
+68008030
+793ffe07
+60008030
+20600000
+44924004
+78547c00
+68010032
+d840ffff
+98467c00
+24628000
+68020034
+203821d3
+9d067e00
+202021d4
+9c467e00
+1fe67c04
+24610000
+18007e00
+60010032
+20207fe7
+1fe20400
+4492c004
+600a0034
+70455b01
+5800ffff
+60010032
+70007301
+20600000
+44934004
+204021c9
+24740000
+78547c00
+70001120
+793f800b
+20402a4f
+204022e6
+c505a1f4
+20402455
+243a21e7
+4493c004
+78547c00
+1c427e00
+600240ca
+78387c00
+7834fc00
+700a992a
+20207d86
+44944005
+20402a4d
+d8200010
+204022dc
+78587c00
+7854fc00
+20402818
+20402435
+4494c005
+2040247c
+2036a202
+20402455
+243a21fc
+202021ec
+68008031
+793ffe01
+60008031
+20402a88
+20402841
+78347c00
+700a992b
+20207d86
+44954005
+79200009
+1a227e00
+6001001e
+18007250
+d8a0043f
+1a208c01
+e8c08000
+1a220c00
+c2807f01
+d8a00030
+20407f01
+78577c00
+68008077
+98000800
+70008a01
+2034a21c
+70008a01
+68008030
+c4008000
+68008073
+6000808a
+68008074
+6000808b
+20600000
+4495c005
+6801001e
+98000a00
+18007250
+d8c0043f
+203b7f01
+d8c00030
+20207f01
+df200001
+68088015
+18408401
+2841fe01
+2420a231
+d8400000
+60088015
+184ffe50
+da204040
+9a20a200
+ea208000
+c280a239
+c3800000
+c3818000
+c200222d
+20600000
+44964005
+da60226a
+20402261
+24628000
+1a227e00
+6001001e
+18007c00
+20600000
+20402725
+2020a24b
+6801001e
+1fe08a17
+68008047
+e0a08000
+da6022aa
+20202261
+68008047
+2feffe03
+2020a250
+18007c01
+20600000
+18007c00
+20600000
+da6022a7
+20202261
+6809001e
+da6022cf
+20202261
+6808c1cf
+da602275
+20202261
+4496c005
+680b41d0
+da60226e
+20202261
+da60227b
+20202261
+da6022c6
+44974005
+da204040
+df200001
+ea208000
+1a627a00
+1a20a250
+c2002264
+18007c01
+20600000
+c2802266
+c281a266
+18007c00
+20600000
+c281a270
+c3002266
+1a208c10
+e8c30000
+98467c00
+20628000
+20202266
+c3002266
+1a208c16
+e8c08000
+98467c00
+20628000
+20202266
+c300a266
+204022b3
+20402297
+98467e00
+1fe0fe01
+20212291
+18c22400
+60048aa2
+6800c4c0
+243a2289
+68048aa2
+1a420c00
+1fe0fe05
+2020228c
+68048aa2
+1a420c00
+1fe0fe14
+24212266
+18424200
+204022bf
+18007c00
+20600000
+98002400
+1a208c02
+e8c10000
+203a228d
+204022bf
+2020227c
+1ff11600
+196c9600
+2022a2a1
+29601e0f
+24608000
+18511600
+196c9600
+24628000
+7920041c
+20600000
+18511600
+196c9600
+29601e0f
+24608000
+79207e1c
+20600000
+c3002266
+18007c00
+20600000
+c3002266
+1a208c01
+e8c08000
+c2802266
+1a208c17
+e8c08000
+c301a266
+18007c00
+20600000
+1a208c01
+e8c88000
+1c427e00
+284ffe01
+1a208c04
+e8ca0000
+20608000
+1a208c08
+e8c30000
+20402854
+1d027e00
+20600000
+1a208c02
+1a208a04
+e8c10000
+98409600
+19627e00
+e0a20000
+20205449
+c300a266
+204022b3
+9b60fe00
+9b60fe00
+98e0fe00
+98467c00
+24212266
+18007c00
+20600000
+c3002266
+18427e00
+9a267c00
+203f2266
+1a208c01
+e8c08000
+c2802266
+ea208000
+793ffe07
+e2208000
+20202266
+4497c005
+20402a4f
+1c40c201
+204028e2
+18004803
+204028d2
+20402a51
+20402a56
+20402a64
+20202762
+44984006
+20402a4d
+1c40c201
+204028e2
+18004803
+204028cc
+2040242a
+204029f1
+20402a5b
+204029eb
+20402a0d
+246c0000
+204029bb
+2020251c
+4498c006
+68008181
+98000800
+18000201
+204022da
+202022e4
+6800c093
+c4000000
+18000e04
+20407f16
+247a0000
+680940ad
+18000e04
+2040271c
+20740000
+20402308
+18000e04
+680140af
+242c7f08
+180a7e00
+9ea17e00
+20207f08
+44994006
+70018100
+78587c00
+78577c00
+204028a4
+1c4143fc
+18004801
+204028d8
+204028cc
+7940001d
+68008006
+1fe0fe01
+60008006
+204028f2
+204029eb
+20402a14
+246c0000
+4499c006
+18003600
+204028f9
+68008007
+1fe0fe01
+60008007
+204028d8
+20402a4d
+1c21c202
+18004801
+204028d2
+204028f2
+20402a51
+20402a5f
+1c427e00
+60020161
+20402a64
+18000202
+18000800
+20402a6b
+20402766
+20402332
+1c2143fd
+1cc0cc01
+20600000
+449a4006
+6800c0d1
+207a0000
+d8a0018e
+6800c515
+1fe27200
+1fe0fe01
+e0a08000
+18a20400
+1fe0fe01
+600141dc
+18420a00
+58000009
+e0a08000
+d8c04516
+20407f01
+da60458d
+df200004
+20402354
+da604577
+df200001
+20402354
+1800020a
+7041db02
+5800018e
+6001016f
+20402a4d
+204028d2
+20402a51
+20402a5f
+20402a64
+20402a6b
+20402766
+20600000
+18a20400
+1a620c00
+e8c08000
+207a0000
+1fe3fe00
+c2002358
+1fe22200
+1fe0fe02
+1fe20e00
+680141dc
+98e0fe00
+600141dc
+18420a00
+1a227e00
+1fe0fe01
+e0a08000
+1a620c00
+e8c08000
+e8c08000
+e0a08000
+1a227200
+20207f01
+6800c093
+c4008000
+18000e05
+20407f16
+247a0000
+680940b1
+18000e28
+2040271c
+20740000
+18000800
+70001008
+793f800b
+2040237a
+18000e05
+680140b3
+20207f08
+449ac006
+78587c00
+204028a4
+68008008
+1fe0fe01
+60008008
+18004c00
+204028e2
+1c40c201
+18004802
+449b4006
+204028cc
+204029eb
+20402a14
+246c0000
+204028f9
+68008009
+1fe0fe01
+60008009
+18003600
+20402a4d
+1c21c202
+18004801
+204028d2
+20402a51
+20402a5f
+20402a64
+2040264d
+18000800
+d9600600
+35330200
+1d01d003
+1c2143fd
+449bc006
+1cc0cc01
+204028cc
+204029eb
+20402a07
+242c23a4
+20402a6b
+2040251e
+c505a3ab
+449c4007
+68008010
+207a0000
+1fe0ffff
+60008010
+20402a4f
+2020239b
+449cc007
+793fd001
+79205000
+6800800a
+1fe0fe01
+6000800a
+20402a4d
+1c21c202
+204028d2
+20402a51
+20402a5f
+20402a64
+2040264d
+2d000603
+2020a3bc
+37cb8200
+202023b8
+68020165
+1fe1fe03
+1fe25000
+449d4007
+68030178
+60030040
+20402435
+2040247c
+2036a3c8
+20402455
+243a23c3
+20600000
+449dc007
+20402440
+2040223b
+24628000
+70003100
+20402841
+20202223
+449e4007
+20402850
+204023f3
+20740000
+449ec007
+20402c69
+20406caa
+20402514
+2436a3e2
+20402a88
+20406cc2
+20402489
+20402757
+20402728
+20405d08
+6800800b
+1fe0fe01
+6000800b
+20402841
+449f4007
+20402bb1
+20402a7f
+202123eb
+204021a7
+243423eb
+204026f3
+243a23d3
+20600000
+449fc007
+70015100
+70017f00
+2040245d
+793f8011
+20407fb0
+68008030
+20600000
+44a04008
+204021c9
+24740000
+18820400
+20402a6f
+60008181
+18420800
+70001120
+44a0c008
+20402a4f
+18000202
+2040274f
+1c427e00
+60020161
+20402762
+20402a4d
+7837fc00
+204024f6
+202c240d
+204028f9
+20402455
+243a23fb
+c6820000
+70007c34
+79200003
+20600000
+78387c00
+20402435
+204028a4
+44a14008
+204022f2
+202c2419
+20402455
+243a2410
+78587c00
+1d027e00
+600240ca
+20600000
+7834fc00
+c582241f
+793f8004
+70007c03
+70007d33
+204062f8
+18827e00
+60008077
+18007e00
+60030038
+68008031
+79207e01
+60008031
+20402a88
+7854fc00
+78347c00
+20600000
+44a1c008
+7856fc00
+793f8005
+793f800a
+793f8010
+793f800f
+68008047
+793ffe05
+79207e04
+60008047
+20600000
+44a24008
+70001120
+70004750
+680140bf
+6001003e
+1c427e00
+600240ca
+20780000
+1d027e00
+600240ca
+20600000
+44a2c008
+20405d04
+20402459
+60008046
+58000000
+6001025d
+58001c80
+60010051
+68008030
+79207e00
+60008030
+70004b00
+70004c00
+7000a000
+20202a88
+44a34008
+18007e00
+600441be
+e0a40000
+204021c5
+20202254
+68008011
+1fe0ffff
+60008011
+20600000
+6800c0cf
+1fe0fe01
+6000c0cf
+20600000
+44a3c008
+6800c1ce
+c001a462
+68008048
+c080a466
+20404d06
+2422a466
+204021a4
+7041ce00
+44a44009
+204033af
+204026e9
+700a9902
+20407d86
+20405cf7
+20404d6b
+2040757d
+68008030
+793ffe00
+60008030
+70468100
+6800804c
+2fe18000
+2020a476
+793f8001
+68008047
+c301a478
+6800804b
+c4030000
+793f8002
+20600000
+44a4c009
+68008174
+207a0000
+1fe20800
+20402514
+24768000
+18000200
+20402757
+18827e00
+60008077
+18007e00
+60008174
+20600000
+44a54009
+68008030
+c3012496
+18000207
+c583a495
+20402725
+2420a496
+20372496
+204024c1
+58000002
+600140c8
+20600000
+24770000
+44a5c009
+20402243
+2422a4a7
+68008047
+c301a4b0
+c502a4b4
+6800817f
+c28324ba
+680140c8
+1fe0ffff
+600140c8
+203a24a5
+6800c0c5
+98000200
+20600000
+44a64009
+20402687
+20402725
+2020a4b0
+2040600a
+203424be
+6800804b
+c28324c0
+c502a4b4
+6800817f
+c28324ba
+18000201
+20748000
+18000200
+20600000
+44a6c009
+68008019
+98000200
+c1808000
+18000200
+20600000
+68008158
+1fe1020f
+79200005
+20600000
+18000213
+202024c1
+204024ca
+44a74009
+68088047
+79200403
+60088047
+18227e00
+6000c0c5
+5800ffff
+600140c8
+20600000
+44a7c009
+6800804c
+2feffe05
+680141dc
+2020a4e0
+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
+68008030
+c300a4f5
+68010032
+203a24f5
+243724f7
+20402a4f
+1d00c201
+78287c00
+6801003e
+1fe37e00
+d8400500
+9840fe00
+20402a24
+204028ea
+18004803
+204028cc
+2040242a
+204029f1
+44a8400a
+6801003e
+1fe37e00
+20402a24
+204029eb
+7826fc00
+6801003e
+d84003bb
+9840b600
+37c18400
+1b420400
+600b009a
+7846fc00
+246c0000
+dd2003bb
+1c225000
+2035ab05
+20600000
+44a8c00a
+204024f0
+242c28f9
+204029bb
+c588a51c
+680100f6
+1fe0fe01
+600100f6
+1c230400
+18419c40
+44a9400a
+7823fc00
+78257c00
+7825fc00
+09800003
+198cfe00
+6000815d
+09800004
+08008007
+19827e00
+60008019
+09800003
+198cfe00
+6000815e
+68008019
+1fe67c03
+20212533
+c003a533
+6800804c
+2feffe05
+7920aa01
+44a9c00a
+09800008
+7845fc00
+78457c00
+20232631
+c588a53c
+680100f8
+1fe0fe01
+600100f8
+44aa400a
+6800815d
+2fe00e00
+7920800a
+2020a54c
+a8800e00
+2020a54b
+c583a64d
+680880b0
+a8400e00
+2420a64d
+68008047
+793ffe05
+79207e04
+60008047
+7836fc00
+44aac00a
+68008019
+1fe20200
+c505255b
+6808815e
+68008047
+793ffe00
+284ffe00
+7920fe00
+284ffe01
+7920fe01
+60008047
+284c0001
+2020a55b
+20402687
+44ab400a
+d8400000
+20402a1c
+18217e0f
+c000a587
+c000264d
+c0012659
+6808815e
+68008047
+a8400800
+2420a569
+c5852568
+c303a569
+7920000f
+44abc00a
+18227e00
+c001a589
+c002258d
+c003a578
+c004258c
+d8400004
+20402a1c
+c0052588
+c005a58b
+d8400008
+20402a1c
+c0072588
+c007a58b
+20600000
+44ac400b
+7826fc00
+7824fc00
+78277c00
+d8a000d1
+1800721e
+09800008
+19897e00
+e0a08000
+c200257e
+c583a64d
+09800010
+7d230008
+2023263d
+20202620
+2020264d
+79200010
+78267c00
+2020258e
+79200010
+79202a02
+7826fc00
+44acc00b
+c500a64d
+2aac0001
+2020a59a
+7843fc00
+7826fc00
+78467c00
+1c409602
+34530400
+242c263d
+79200010
+7823fc00
+44ad400b
+78277c00
+7824fc00
+09800003
+198cfe00
+60008180
+09800005
+c50825a5
+19897200
+1f297200
+202025a8
+09800005
+19837200
+09800003
+44adc00b
+1f227e00
+6001015f
+203a25e8
+9ea67c00
+2021263d
+44ae400b
+793f8000
+68008180
+1fe17e03
+d8a00551
+c001a5ba
+c508a5e4
+68008180
+1fe17e03
+c00125bf
+c000a5d3
+2020263d
+6801015f
+1fe67c70
+2421263d
+c507a620
+202025e4
+44aec00b
+c507a620
+6801015f
+d84002e0
+98467c00
+2021263d
+68008263
+c30025c9
+c300a5ce
+2020264d
+70026101
+6801025d
+c080264d
+d8a01000
+202025e4
+70026102
+6801025f
+c080264d
+d8a01400
+202025e4
+44af400b
+c507a620
+6801015f
+d84002e0
+98467c00
+2021263d
+68008261
+c000a5dd
+c00125e1
+2020264d
+d8a01000
+6801025d
+98a08a00
+202025e4
+d8a01400
+6801025f
+98a08a00
+09800008
+19897e00
+e0a08000
+c20025e4
+44afc00b
+09800010
+20232637
+6800c363
+c000a64d
+c508a60d
+c507a64a
+68008180
+2fe00603
+2020a60d
+6801015f
+203a260d
+44b0400c
+68008261
+c000a5f9
+c0012603
+20202a8c
+6801025d
+6809015f
+9840fe00
+6001025d
+c0002a8c
+68091000
+18408404
+98467c00
+2042a747
+2020260d
+6801025f
+6809015f
+9840fe00
+6001025f
+c0002a8c
+68091400
+18408404
+98467c00
+2042a74b
+2020260d
+44b0c00c
+6808804c
+68008180
+2fe00603
+79208406
+7d208407
+6008804c
+2420a616
+79200001
+c588a620
+284ffe06
+2020a620
+680100fa
+1fe0fe01
+600100fa
+79200005
+793f8407
+793f8001
+6008804c
+44b1400c
+6808815e
+68008047
+79207e05
+284ffe02
+7920fe02
+280ffe0a
+7920fe07
+60008047
+6801015f
+243a264d
+6800804c
+793ffe07
+6000804c
+68008180
+2fe00e01
+2020264d
+44b1c00c
+7856fc00
+6801001a
+1fe0fe01
+6001001a
+2020264d
+6801001c
+1fe0fe01
+6001001c
+2040263e
+c588a63d
+79200005
+2020264d
+44b2400c
+68008180
+2fe00603
+2420a646
+6808804c
+793f8406
+6008804c
+20600000
+6808804c
+793f8407
+6008804c
+20204c0b
+68008047
+79207e05
+60008047
+44b2c00c
+784efc00
+784e7c00
+7846fc00
+78467c00
+7844fc00
+78477c00
+7843fc00
+2030a8f9
+37d38200
+20000064
+202028f9
+44b3400c
+7824fc00
+78267c00
+09800048
+2feffe3a
+79208000
+1c020400
+57e04000
+57e03c00
+782afc00
+380bffff
+380cffff
+20000020
+29a80000
+1d827e00
+60018178
+1da27e00
+6000817b
+18424000
+2020a66e
+2020263d
+44b3c00c
+09800048
+57e03e00
+57e00800
+57e05c00
+57e02400
+18007e00
+09800010
+2023263d
+5ffffffc
+9a417e00
+60020165
+1ba27e00
+60018175
+1b827e00
+60008173
+18827e00
+60008174
+1dc27e00
+6001017c
+1c227e00
+08008220
+28201e02
+7920800b
+2020264d
+44b4400d
+68008047
+c4018000
+793ffe03
+79407e06
+60008047
+6800c0c5
+c009a69c
+c1038000
+6800804b
+c4030000
+793ffe06
+79207e07
+6000804b
+793f8002
+68014246
+247a0000
+6800804b
+793ffe07
+6000804b
+2020525d
+44b4c00d
+680084b7
+1fe37e00
+c008a6b8
+c00926c0
+c00c26e9
+c03fa6a8
+c1818000
+680084b8
+c015a6b0
+c008a6ab
+20600000
+680084b8
+79207e07
+20600000
+20748000
+68008030
+c3820000
+70007c31
+20600000
+20748000
+68008031
+2feffe04
+2020a6b5
+20600000
+793ffe04
+60008031
+20600000
+44b5400d
+6800804c
+79207e02
+6000804c
+70801101
+68008030
+2feffe04
+20600000
+44b5c00d
+6800804c
+793ffe02
+6000804c
+70801100
+20600000
+44b6400d
+1c427e00
+6002420c
+1c40a203
+2034a6cc
+1d00a203
+68090032
+1a227e00
+793ffe1b
+9846fc00
+68010075
+20407f86
+18072600
+9a667e00
+202126d6
+9840fe00
+9a20fe00
+60020034
+70455b00
+68008030
+79207e01
+60008030
+68008073
+6000808a
+58000000
+6001c169
+6001c16c
+6000c159
+700a990b
+20407d86
+680140c1
+6001003e
+24748000
+18808fff
+20600000
+44b6c00d
+68008030
+c4008000
+793ffe01
+60008030
+680140bf
+6001003e
+7855fc00
+700a990c
+20207d86
+44b7400d
+78377c00
+68008030
+c280a700
+c6088000
+68008047
+c3818000
+68008048
+247a0000
+6800804b
+c3830000
+18007e00
+20600000
+c301270f
+6800808a
+c0012706
+68008047
+c281a718
+c5842718
+2434a718
+68008048
+243a2718
+680080ef
+1fe0ffff
+600080ef
+243a26fe
+7000ef10
+20202718
+6800808a
+c080a718
+6800808b
+203a2718
+1fe0ffff
+6000808b
+68008047
+c3818000
+24768000
+6800808a
+1fe0ffff
+6000808a
+20600000
+44b7c00d
+78487c00
+18423600
+20402260
+78547c00
+24628000
+18003600
+78347c00
+20600000
+6800c158
+a881fe00
+20600000
+44b8400e
+793f8001
+70026a00
+68008263
+207a0000
+2feffe00
+d8c01000
+2040cd79
+44b8c00e
+6800826a
+c000a73b
+70026a00
+68008263
+c4008000
+d8c01400
+20404d79
+6800826a
+c000a741
+20600000
+68008263
+793ffe00
+60008263
+58000000
+6001025d
+20600000
+68008263
+793ffe01
+60008263
+58000000
+6001025f
+20600000
+68008263
+79207e00
+60008263
+20600000
+68008263
+79207e01
+60008263
+20600000
+44b9400e
+1d00c201
+204028ea
+18004803
+204028d2
+20402a51
+20402a5f
+20202a64
+44b9c00e
+20402a4d
+1d027e00
+680a40ca
+98467e00
+c1808000
+28203e00
+2420a761
+68008019
+207a0000
+2040274f
+28203e10
+2020a64d
+1c230400
+18419c40
+44ba400e
+7823fc00
+78257c00
+782dfc00
+793f8010
+18827e00
+08008603
+18227e00
+08008604
+68008047
+08008004
+08008603
+78247c00
+08008608
+784dfc00
+78447c00
+78457c00
+793faa02
+d8400000
+20402a1c
+44bac00e
+18217e1f
+c009a7b4
+c000264d
+c000a64d
+c0012797
+c001a7c5
+c00227cb
+c003a78c
+c00427ca
+d8400004
+20402a1c
+c00527c7
+c005a7cd
+d8400008
+20402a1c
+c007a7cd
+202027c7
+44bb400e
+782efc00
+7824fc00
+78277c00
+1800721e
+d8c000b3
+e8c08000
+08008608
+c2002792
+c503a7f7
+2020264d
+44bbc00e
+68008181
+1fe20800
+68008090
+1fe23800
+6801c0aa
+1fe23a00
+680140a4
+1fe25c00
+7824fc00
+782e7c00
+1c022200
+204028e2
+782afc00
+20000020
+1c221600
+68020161
+1fe24200
+53c07e00
+79207e3a
+08008648
+53e07e00
+08008648
+19624200
+1a224000
+78247c00
+08008610
+78447c00
+2020264d
+44bc400f
+78277c00
+7824fc00
+782e7c00
+680084b6
+1fe105f8
+d8c004b6
+18408408
+1840a7b8
+242127c2
+e8c48000
+08008648
+1a620400
+202027bc
+e8c48000
+08418600
+202027f7
+782e7c00
+202027d0
+782e7c00
+79200010
+202027d0
+79202a02
+782efc00
+202027d0
+79202a02
+782efc00
+79200010
+44bcc00f
+6800804c
+c302a7e5
+18267c03
+202127e5
+78477c00
+784e7c00
+782efc00
+7843fc00
+79202a01
+2aaffe02
+2020a7df
+580abeee
+08008614
+202027e3
+585faeba
+08008618
+58000012
+08008606
+7823fc00
+79200010
+78277c00
+7824fc00
+c502a800
+6800c1db
+08008603
+680141dc
+98007200
+c50827ef
+08008605
+202027f0
+0800860d
+1f227e00
+203a27f7
+6801016f
+98000c00
+e8c08000
+08008608
+c20027f4
+78247c00
+08008610
+78447c00
+204024c1
+6800804c
+c302a64d
+18007e00
+08008606
+2020264d
+44bd400f
+c5082808
+68008180
+08008603
+6800815f
+98002600
+08008605
+2020280d
+68008180
+08008603
+6801015f
+98002600
+0800860d
+d8c00551
+1a627c00
+2022a814
+e8c08000
+08008608
+1a60a7ff
+2020280e
+680100fc
+1fe0fe01
+600100fc
+202027f7
+68020165
+1fe0a207
+68010171
+243a281e
+1a20a3fd
+20202826
+1feffe0c
+68190040
+18408401
+98467e00
+24212825
+1a20a3ff
+20202821
+1fe67e00
+37d18200
+2c400600
+2420a826
+98005200
+1a225000
+98005200
+20600000
+44bdc00f
+37d10200
+1b427e00
+98000c00
+1ff17e00
+9c467200
+1f217203
+2422a837
+18007e00
+2020283b
+d8400ea6
+18007e00
+9840fe00
+c2002839
+98c0fe00
+1fe6fc0c
+20407f86
+1807fe00
+60010171
+20600000
+44be400f
+1b427e00
+1b220400
+98467c00
+7d217e2c
+98460400
+58000ea6
+284c000f
+2020a84c
+5fff0ea6
+98408400
+600b0447
+207b0000
+600b0038
+20600000
+78587c00
+68030447
+203b2854
+68030038
+9b20e000
+1e00e00a
+58000ea6
+9e067e00
+2fec000f
+2020a85e
+5800f15a
+9e00e000
+1e023400
+20600000
+18007c00
+2020285c
+44bec00f
+20402918
+1c227e00
+1fe17f80
+2c800e03
+2420a869
+1fe97e00
+9ae0fe00
+2020286a
+1ae27e00
+1fe6fc4f
+782afc00
+20407f86
+18072200
+1a2085d8
+20212872
+1a238400
+20202874
+18438400
+18408401
+44bf400f
+68008031
+c301a885
+680240d2
+9c267c00
+20212885
+204028a4
+6800c0d9
+207a0000
+68008031
+79207e02
+60008031
+6802c0e7
+6002c0da
+e8c28000
+6002c0df
+204028a9
+68008031
+c4010000
+2c2ffe01
+2020a8a1
+18492200
+18410e07
+580040da
+9a20a200
+ea208000
+afec0000
+2020a892
+18427e00
+2020289e
+6800c0e4
+98002400
+1c227e00
+1fe17f80
+1fe97e00
+9ae0fe00
+9a46fc00
+580040f2
+20407f86
+18072200
+9a208c00
+e8c08000
+6000c0e5
+98000400
+20600000
+6800c0e5
+98000400
+20600000
+68008031
+793ffe02
+793ffe03
+60008031
+20600000
+44bfc00f
+d8a040f2
+1800720a
+20407ec6
+d8a040f2
+18002600
+18000e02
+6802c0da
+98000400
+28e1fe02
+2020a8b5
+18430400
+284c0000
+2020a8b9
+1a627e00
+e0a08000
+184b0400
+1a60a602
+2a61fc28
+2420a8c2
+6802c0df
+98000400
+28e1fe02
+2020a8c2
+18430400
+1a667c4e
+202128b5
+18002601
+18e08fff
+2422a8b0
+da2040f2
+18a27e00
+9a267e00
+6000c0e4
+20600000
+44c04010
+20402860
+6800817f
+c302a8d1
+680884cc
+2020291f
+44c0c010
+20402860
+6800817f
+c30228d7
+680884cb
+20202933
+18005a00
+6801c0a7
+98005800
+20600000
+44c14010
+6800c1d3
+1fe25a00
+6801c1d0
+1fe25800
+20600000
+44c1c010
+680140a4
+1fe25c00
+6800c0a3
+1fe25a00
+6801c0a0
+1fe25800
+20600000
+44c24010
+68010044
+1fe25c00
+68008043
+1fe25a00
+68018040
+1fe25800
+20600000
+c51028f5
+c68e8000
+c68f8000
+1d815900
+782afc00
+20000020
+20600000
+44c2c010
+2030a90a
+708955d4
+20000004
+708955d2
+20000004
+708955d1
+20000004
+6800c1de
+c0002908
+c000a915
+c0012908
+c001a915
+c0022915
+c0102915
+708955d0
+708956e0
+18002a00
+7850fc00
+78507c00
+782f7c00
+70890200
+70890100
+70890000
+70890300
+70890470
+70890600
+20600000
+708955d0
+708956c0
+2020290a
+44c34010
+70890200
+70890100
+70890018
+708903a7
+7089047f
+20600000
+44c3c010
+60088017
+1840a204
+70896d07
+20202981
+44c44011
+708901cf
+2000000a
+708900ff
+708903af
+708904ff
+2000000a
+708902a0
+20600000
+6800c1e0
+203a2931
+1840a202
+20600000
+1840a200
+20600000
+44c4c011
+60088017
+2040292d
+20402981
+58000500
+20402a8f
+70890601
+7089003c
+708901e0
+70896d12
+2000000a
+70890201
+7089023d
+2000000a
+708903b7
+2000000a
+7089027f
+6800c1de
+c000294b
+c000a94f
+c0012953
+c001a957
+c002295b
+c010295f
+708956f0
+20402965
+708955d8
+20600000
+708956df
+20402965
+708955df
+20600000
+708956ff
+20402965
+708955df
+20600000
+708956ce
+20402965
+708955d8
+20600000
+708956cb
+20402965
+708955d8
+20600000
+708955d0
+708956c0
+7089574c
+7089586c
+70895950
+20600000
+20000004
+708955d1
+20000004
+708955d2
+20000004
+708955d4
+20600000
+70804206
+680140c3
+c307296d
+98000c00
+d8408900
+e8c08000
+c07fa977
+98418a00
+e8c08000
+e0a08000
+20202971
+44c54011
+20402be5
+204029c9
+580007d0
+9c40fe00
+60020169
+79202a03
+18002a00
+2455a998
+202029ab
+44c5c011
+58000960
+9a208400
+6800c0bd
+70895f04
+984ffe00
+6808c0be
+9846fc00
+20407f86
+1807a200
+18077e00
+1ff07e00
+1ff27e00
+9846fc00
+20407f86
+1807fe00
+1fed7e00
+1fe3fe00
+9a21fe00
+60120960
+70895f44
+70895fc4
+20600000
+44c64011
+70890602
+5803d090
+20402a8f
+7089007f
+20000082
+70895230
+708901d0
+70895270
+708952f0
+18007232
+68108980
+c282a9a6
+c20029a3
+6000c0ce
+70890100
+70890000
+70890600
+20600000
+44c6c011
+6800c0ce
+79207e05
+60108952
+68188950
+18410407
+1fe9fe00
+9841fe00
+60108950
+68108951
+793ffe00
+60108951
+68108952
+793ffe05
+60108952
+20600000
+44c74011
+68110981
+1ff1fe00
+1fe97e00
+1fe67e00
+1fe17eff
+1fe6fc0a
+20407f86
+1807fe00
+1ff27e00
+18070400
+9841fe00
+60008018
+20600000
+70804206
+6810896b
+793ffe04
+793ffe05
+6010896b
+70890500
+70890400
+70890470
+708905ff
+6810896b
+79207e04
+79207e05
+6010896b
+204029e9
+68108968
+79207e07
+60108968
+793ffe07
+60108968
+79207e07
+60108968
+70804205
+20000001
+70804204
+6810896b
+1fe17ecf
+6010896b
+1fe1fe30
+6010896b
+20600000
+58000f0f
+20202c18
+5800080f
+20202c18
+44c7c011
+20402924
+78507c00
+7830fc00
+782b7c00
+20600000
+44c84012
+6800804c
+2feffe02
+7920fe00
+60108011
+d8c00062
+e8c48000
+98006400
+e8c38000
+98006600
+68008054
+1fe0e9ff
+782d7c00
+20600000
+1b427e00
+6003009a
+7846fc00
+242c28f9
+dd2003bb
+1d00d001
+1d0151fc
+20600000
+7826fc00
+37cb8400
+202c29ff
+2d000402
+2420aa08
+202029ff
+44c8c012
+d9600600
+7826fc00
+34730400
+7846fc00
+242c28f9
+20600000
+44c94012
+7826fc00
+37c18400
+7846fc00
+242c28f9
+dd2003bb
+1d0151fc
+20600000
+44c9c012
+98002200
+1c227e00
+98409600
+19627e00
+600240ca
+1a227e00
+20600000
+1fe20400
+44ca4012
+18427e00
+20407f50
+1c307e00
+79207e2c
+20407f39
+793ffe2c
+20402a77
+20407f39
+20740000
+20407f43
+98003600
+37c18200
+20600000
+44cac012
+20382a38
+35330200
+1d020400
+20202a3b
+20372a3a
+34730200
+1c420400
+20342a47
+28400601
+2420aa33
+44cb4012
+68008030
+c4000000
+680240ca
+98467e00
+24610000
+1fe67cff
+20212a33
+20600000
+28400603
+2420aa33
+20202a3e
+44cbc012
+d9600600
+20202a33
+78547c00
+20202a4a
+78347c00
+20202a4a
+44cc4013
+204029f1
+7850fc00
+78307c00
+20600000
+44ccc013
+d9600e43
+34730200
+782b7c00
+20600000
+44cd4013
+d9600d00
+34730200
+20600000
+44cdc013
+d9600e43
+35330200
+782b7c00
+20600000
+44ce4013
+51207e00
+782efc00
+79202a00
+08008648
+784efc00
+20600000
+1ca20400
+18418460
+18421c00
+20600000
+44cec013
+6800c090
+1fe0fe01
+c083aa74
+18007e01
+6000c090
+98000800
+20600000
+1b220400
+20748000
+1b420400
+20600000
+1c427e00
+20748000
+1d027e00
+20600000
+44cf4013
+680a004d
+20402a7b
+98461600
+19627e00
+68090051
+18438400
+98467e00
+20600000
+44cfc013
+20402a7b
+6002004d
+20600000
+44d04014
+20202a8c
+20202a8e
+207a0000
+1fe37e00
+1fe0fffd
+1fe0ffff
+2422aa92
+18007e00
+20600000
+df200010
+d8a00000
+20407ec6
+d8a0043f
+df20000a
+20407ec6
+7009b200
+700a9900
+70048c00
+70017f00
+7004d100
+44d0c014
+70016d00
+70015100
+70015c00
+589e8b33
+6001c0a7
+58000153
+60010083
+7000851e
+70008601
+70008807
+5812e904
+60018080
+70009060
+7040d005
+70001402
+6800c65a
+245a74c1
+6800c4be
+245a7518
+44d14014
+20758000
+58000000
+600141dc
+1c437e00
+60024094
+20600000
+5800ee21
+60110050
+6812011c
+60020abe
+6810813e
+60008abd
+c301e45b
+7835fc00
+c303aacc
+7855fc00
+1ce27e00
+243a2acc
+6810813b
+c2812acc
+d85fffff
+20202b3c
+6811813c
+6011804c
+e8c08000
+1fe1feef
+e0a08000
+20402c23
+6810804f
+79207e04
+6010804f
+20402c23
+2055aadf
+6810804e
+793ffe03
+6010804e
+20402c23
+2435e45b
+c6958000
+70800608
+20600000
+6800c198
+60108086
+6801c18d
+60118080
+68024181
+60120074
+6802417d
+60120070
+68044185
+60140078
+68044190
+98000000
+68140140
+600400a1
+204064ca
+20600000
+18027e00
+60044190
+68140070
+6004417d
+e8c40000
+e0a40000
+68118080
+6001c18d
+68108086
+6000c198
+20202c29
+68108063
+243a2b00
+6801c16f
+247a0000
+708063c0
+70800680
+6810812d
+c4008000
+68118149
+6001c16f
+20600000
+44d1c014
+1b427e00
+20407f37
+680a415f
+18467cff
+20610000
+1fed7e00
+1ff27e00
+9846fc00
+20407f86
+1807fe00
+d84000c8
+20407f91
+60008099
+24342b15
+1fe67e00
+6809c16f
+9840fe00
+6001c16f
+58000000
+6002415f
+20600000
+6800c177
+79207e02
+6000c177
+20202b23
+d85fffff
+6800c176
+793ffe07
+6000c176
+44d24014
+20402c29
+6800c157
+6000c17c
+6800c17a
+79207e07
+6000c17a
+44d2c014
+204029e7
+6802415f
+9840fe00
+6002415f
+20402aef
+6802c178
+6012004c
+1fef2200
+37d98200
+1b227e00
+60034163
+70800502
+37d98200
+37d98200
+1a227e00
+6010804f
+70800502
+37d98200
+37d98200
+601a004c
+70800510
+37df8200
+44d34014
+58000000
+1ce27c00
+2022ab4c
+6810813c
+6818813d
+98467c00
+20212b4a
+18427e00
+9ce67e00
+1fe0fe01
+1fe0fe08
+37d98200
+9e20fe00
+680a415b
+9840fe00
+6809c16f
+984ffe00
+1fecfe00
+1ff1fe00
+1fe0fe6e
+d8400ea6
+9846fc00
+20407f86
+1807fe00
+1ff07e00
+18070400
+9841fe00
+680b4163
+20407f2c
+18423200
+68034048
+20402854
+1b427e00
+60030a9a
+1ce27e00
+e0a08000
+6810811d
+1fe1fef0
+e0a08000
+20600000
+44d3c014
+20402afa
+6801c16f
+207a0000
+6800c091
+207a0000
+6800c65a
+203a2b74
+6800c5b1
+207a0000
+6800c4c0
+247a0000
+20402c3a
+247a0000
+6800c040
+2fe00e03
+2420ab9d
+68014042
+207a0000
+20758000
+44d44015
+680880a0
+68014042
+984ffe00
+18518400
+184b0400
+98467e00
+680a4044
+9840fe00
+6808c156
+98467e00
+1ff06000
+44d4c015
+6801404e
+1fe37e00
+20407f50
+1e027e00
+20407f39
+1b420400
+20407f37
+20740000
+20407f49
+44d54015
+6800c178
+98467c00
+20212b18
+600a415b
+20403328
+204052fb
+680a415b
+20202b2a
+44d5c015
+6800c040
+c3800000
+c3818000
+6800c65a
+203a2ba5
+6800c5b1
+207a0000
+44d64015
+6800c36e
+243a2baa
+6800c093
+207a0000
+68014154
+207a0000
+6808c156
+98467e00
+d8401d4c
+984ffe00
+20202b93
+44d6c015
+7855fc00
+68008030
+c4008000
+2436abd0
+20402bcb
+680140c1
+6001003e
+68008047
+c281abde
+c586abde
+20405274
+243a2bde
+6800c55c
+c280abde
+7000a000
+c586abde
+6800c174
+203a2be2
+1fe0ffff
+6000c174
+20600000
+d8e00001
+202060cd
+d8e00001
+202060d1
+70415900
+6801c169
+1fe0fe01
+6001c169
+20600000
+44d74015
+680940c1
+18430400
+6801003e
+9840fe00
+6001003e
+7000a000
+6801c16c
+1fe0fe01
+6001c16c
+6800c159
+1fe0fe01
+6000c159
+20600000
+7000a000
+6800c173
+6000c174
+20600000
+6808c172
+600880a0
+20600000
+44d7c015
+6800c178
+247a0000
+70804206
+58000f0c
+20402c18
+58030d40
+20402a8f
+37d98200
+1e226000
+204029e7
+70804204
+2000000a
+37d98200
+1e227e00
+9e067e00
+1fe0fe30
+d84000ff
+20407f91
+6000c178
+20007530
+20007530
+20007530
+20600000
+6800c178
+247a0000
+708044ff
+70804206
+204029e7
+580003e8
+9e20e000
+07e00000
+1e227e00
+20002ee0
+20002ee0
+20002ee0
+20002ee0
+20002ee0
+20002ee0
+20002ee0
+20002ee0
+20002ee0
+9e067e00
+1fe0fe30
+d84000ff
+20407f91
+6000c178
+20007530
+20007530
+20007530
+20600000
+d8a00fff
+98a10a00
+6800c175
+1fe17ef0
+1fed7e00
+98a1fe00
+6011004c
+e8c10000
+e0a10000
+58000001
+20202c24
+58000002
+37d98200
+60108005
+37d98200
+37d98200
+20600000
+44d84016
+680200a1
+6012004c
+58000004
+20402c24
+680200a5
+6012004c
+58000008
+20202c24
+68014152
+f9207e00
+60014152
+20600000
+68014152
+f93ffe00
+60014152
+20600000
+44d8c016
+20403326
+68014152
+1fe22200
+6800804c
+2feffe06
+7920a20b
+68008078
+6808807c
+9840fe00
+68088048
+9840fe00
+7d3a220a
+6800c4ff
+7d3a2201
+6801025d
+6809025f
+9840fe00
+7d3a220d
+68044668
+7d3a220f
+68044670
+7d3a220e
+6800c1ce
+7d3a2208
+6800c092
+2fe1fe0a
+2040ac5b
+5ffffff8
+9a212200
+1a227e00
+60014152
+20600000
+68110112
+7d3a2206
+6811010e
+7d3a2205
+20600000
+68120138
+793ffe1b
+6012004c
+20402c21
+20202a8c
+6812013c
+793ffe14
+6012004c
+20202c23
+68014150
+c2802a8c
+20600000
+68014150
+c280aa8c
+20600000
+68014150
+c2812a8c
+20600000
+44d94016
+20402c7a
+1a60a4cd
+ea408000
+c1000000
+c000ad06
+c0012c7f
+20600000
+68094241
+18422600
+20600000
+20402f3d
+2020307d
+20403084
+2040305a
+2040305e
+202030a2
+20403231
+5800004e
+2040322f
+204032ba
+1a60a292
+ea220000
+2020322c
+20402c7a
+1a60a491
+ea488000
+20402c90
+1a608a91
+20202e56
+20402c94
+18408401
+18410403
+20600000
+1a60a4ae
+ea408000
+1fe17e03
+1fefa204
+1a60fe97
+9a20fe00
+98408c00
+e8c08000
+2020322f
+2040326c
+2040666a
+580007e2
+da200aa2
+d8400004
+204066b3
+2040666d
+68020aa2
+20403227
+247a0000
+680240a0
+20203227
+20403241
+58000000
+2040323f
+2040323a
+1fe17e07
+2020323c
+2040323a
+79207e04
+2040323c
+20203235
+2040325d
+c000acb7
+c0012cbc
+20600000
+2040323e
+1a608ad1
+204032d6
+20403242
+20202cac
+2040325a
+20202cb8
+1a60a28c
+ea208000
+1fe0fe01
+1a608a8c
+e0a08000
+c0102dd2
+20403258
+c000acca
+58000001
+2040325b
+20403258
+c080acac
+1a60a2d3
+ea208000
+1fe0fe01
+20402cd5
+c0022cd2
+20402c8a
+20402d04
+20202d8f
+20402cd4
+20202cac
+58000000
+1a608ad3
+202032b4
+2040323e
+2040325a
+20403241
+20202cac
+2040325d
+c001acd8
+2040323a
+2fec0004
+2020aca9
+2040325d
+c000acd7
+c0012cd8
+20600000
+20403253
+c1ff8000
+20402ce9
+24562cf4
+20600000
+78567c00
+1a60a2ce
+ea208000
+c1808000
+1a60a2d0
+ea208000
+c1800000
+58000001
+20402cfd
+20403237
+20207feb
+1a60a2d0
+ea208000
+203a2cff
+1fe0ffff
+2040323f
+58000002
+20402cfd
+20402c8a
+20203237
+1a608ad2
+202032b4
+58000003
+20402cfd
+20403258
+243a2cc8
+20402c8a
+58000002
+20203238
+c6930000
+79200027
+44d9c016
+1a60a28e
+ea208000
+c000ad0f
+2040306a
+24342d16
+20402d1b
+1a608a8e
+204032d6
+20402d2c
+24342d7d
+20402ce4
+20402d8f
+20402e7a
+793f8027
+20600000
+20628000
+79207e1c
+20600000
+1a60a2c2
+ea208000
+1fe0fe01
+1a608ac2
+e0a08000
+c0022d23
+c002ad27
+20600000
+1a60a2ad
+ea208000
+1a608aab
+202032b4
+1a608ac2
+204032d6
+1a60a2ac
+ea208000
+20202d25
+20403253
+c0ffaeb1
+44da4016
+20402d3a
+24342d36
+20402d53
+20402e71
+58000001
+1a608a8b
+202032b4
+1a60a28b
+ea208000
+c000ffe7
+20600000
+1a6084d8
+e8410000
+20407f9c
+24740000
+1a227e00
+60008aae
+1a608ab2
+204032d6
+20402cac
+6000919e
+68008aae
+1fe22200
+1a208401
+d8a0119f
+1a227200
+1a420c00
+20407f01
+da20119e
+c6938000
+1a608a86
+e0a88000
+18427200
+1a608a22
+1a220c00
+20207f01
+1a60a286
+ea208000
+1fe0fe02
+1a608a88
+e0a08000
+2040323a
+20403235
+1a60a286
+ea208000
+1fe9fe00
+1a60a285
+ea288000
+18410403
+18438400
+9841fe00
+1a60a2c3
+ea288000
+9840fe00
+e0a08000
+1a60a286
+ea208000
+98007200
+1a608c22
+20207f01
+2040324f
+2040325a
+20402e6d
+20402cac
+6000919e
+20402d77
+2040323a
+79207e03
+2040323c
+20402d53
+20402d33
+20202d14
+6000919f
+20403224
+600211a0
+d8400006
+da20119e
+20202d4c
+1a60a2b2
+ea208000
+203a2d6b
+1a60a2da
+ea210000
+20207f9c
+20402c7a
+20402afa
+6801c16f
+207a0000
+1a6084dc
+e8410000
+20407f9c
+1a6084b6
+e8440000
+20407f49
+600a415b
+20202b2a
+20402c7a
+1a608a8f
+204032d6
+20402da4
+242c2dae
+2437adae
+20402dd6
+20402e75
+20402c7a
+1a60a285
+ea208000
+1fe0fe01
+20403232
+20403253
+c0ffaed0
+20402cdb
+58000000
+1a608a8c
+e0a10000
+58000000
+20202d34
+7857fc00
+20402df7
+20402c7a
+1a60a2c3
+ea208000
+c000adac
+20402e11
+20202e45
+20402e45
+20202d97
+44dac016
+1a60a28d
+ea208000
+1fe0fe01
+1a608a8d
+e0a08000
+20403253
+c0ffadcc
+1a60a28f
+ea288000
+18408401
+1a608a8f
+e0a88000
+1a60a2cc
+ea208000
+98467e00
+243a2d92
+44db4016
+2040325d
+c001acbe
+1a60a2d1
+ea208000
+1fe0fe01
+1a608ad1
+e0a08000
+c0012cb3
+20402caf
+58000001
+20403238
+20202d8f
+1a60a28d
+ea208000
+c1ff8000
+1a608a8d
+204032d6
+20202dd4
+1a608a8c
+204032d6
+700a993a
+20207d86
+20402dde
+1a60a284
+ea208000
+207a0000
+98007200
+1a608c02
+1a608a64
+20207f01
+2040325f
+1fe97e00
+1a608a84
+e0a08000
+1fe0fe01
+1a608c01
+98c08c00
+e8c18000
+1a608ac4
+e0a18000
+2040325f
+1fe37e00
+1fe17e03
+1a608aca
+e0a08000
+20600000
+7844fc00
+7843fc00
+58555555
+98001e00
+20600000
+20402918
+1a60a290
+ea288000
+20202933
+20402dee
+20402df3
+79202a00
+782efc00
+78307c00
+7850fc00
+204053c4
+2040322a
+98001200
+08008620
+7824fc00
+1a60a288
+ea208000
+98007200
+1a608c42
+e8c08000
+08008608
+c2002e06
+78247c00
+08008618
+78447c00
+37d38200
+44dbc016
+20000064
+784efc00
+20600000
+7857fc00
+18002a00
+1a60a290
+ea288000
+2040291f
+20402924
+20402dee
+7826fc00
+7830fc00
+78507c00
+204053c4
+2040322a
+98001200
+78287c00
+1a60a289
+ea210000
+98003600
+37c18400
+242c2e4d
+7824fc00
+09800008
+19897e00
+1a608a00
+e0a08000
+1a60a2cd
+ea208000
+c0012e33
+44dc4017
+1a60a200
+ea208000
+1a60a287
+ea288000
+a8400e00
+2420ae45
+09800008
+19897e00
+e0a08000
+1fe97e00
+1fe1721f
+2022ae3d
+09800008
+19897e00
+e0a08000
+c2002e39
+09800018
+1fef7e00
+1ff17e00
+e0a18000
+20232e45
+7837fc00
+7846fc00
+20600000
+784efc00
+7846fc00
+7844fc00
+7843fc00
+2030a8f9
+37d38200
+20000064
+202028f9
+20402e4f
+20202e45
+204029bb
+207a0000
+1a60a2ea
+ea288000
+da200d9e
+20402e58
+1a608aea
+e0a88000
+20600000
+da4000ff
+20202e5a
+1a227e00
+98408a00
+68008018
+e0a08000
+18408401
+1a427e00
+98410400
+20600000
+d8400000
+1a220c00
+e8c08000
+98408400
+c2002e64
+184c8400
+20600000
+20402c7a
+20402e9f
+58000001
+20403272
+58000000
+20402e73
+e0a08000
+20600000
+20403270
+1fe0fe01
+1a608afc
+202032b4
+1a60a2fd
+ea208000
+1fe0fe01
+1a608afd
+202032b4
+44dcc017
+20403270
+1fe67c7c
+20610000
+1a60a2fd
+ea288000
+98460400
+20402e6d
+58000102
+9a60a200
+ea208000
+98467c00
+24212e8d
+58000103
+9a60a200
+ea208000
+98467c00
+20212e99
+20600000
+1a60a2fe
+ea208000
+c0012e93
+1fe0fe01
+20403272
+c000ae9f
+5800000a
+204032b0
+58000000
+204032b2
+1a60a2ff
+20202ea5
+1a60a2fe
+ea208000
+c0002ea7
+1fe0ffff
+20403272
+c0002ea7
+58000005
+204032b0
+58000000
+204032b2
+58000100
+9a60a200
+ea208000
+2020326a
+58000002
+204032b0
+58000000
+204032b2
+58000101
+20202ea4
+79200026
+20402c83
+58000001
+20203256
+1a60a28b
+ea208000
+c000ffe7
+20403253
+c000aeb9
+c0012ebd
+c001aec1
+20202a8c
+58000011
+20403256
+70119eaa
+20202ec4
+58000012
+20403256
+70119e55
+20202ec4
+58000013
+20403256
+70119e22
+2040323a
+1fe17e07
+6000919f
+20403224
+600211a0
+7011a400
+da20119e
+d8400007
+20402d4c
+20402d53
+20402d33
+20207fe7
+20403253
+c17f8000
+c008aed6
+c0092ed9
+c009aedc
+20600000
+58000002
+20403256
+20202d9f
+58000003
+20403256
+20202d9f
+580000ff
+20403256
+700a9939
+20407d86
+1a60a266
+ea220000
+2040322c
+20202d9f
+793f8026
+20402f08
+20402f22
+20403263
+200007d0
+20403261
+c07fadd4
+20402da4
+242c2efa
+2437aefa
+20402dd6
+20402c7a
+1a60a292
+ea2a0000
+204030be
+2022aead
+20402c7a
+1a60a266
+ea220000
+c0002ee7
+2040322c
+20202f1c
+20403261
+1fe0fe01
+20403264
+20402f04
+1fe0fe01
+1fe17e01
+20402f06
+c0002f0c
+c000af0e
+20600000
+5800018b
+202032d0
+da20018b
+202032b3
+20403267
+20403224
+2040322c
+20202c8a
+20402f08
+20202ee8
+20402c83
+20202ee8
+793f8026
+20402c8a
+20403253
+c1ff8000
+20402f22
+20403263
+200007d0
+20403261
+c07fadd4
+20402da4
+242c2f27
+2437af27
+79200026
+20403263
+580000ff
+20403256
+700a993c
+20207d86
+79200027
+70119eff
+2040323a
+20402d77
+20202d53
+20403261
+1fe0fe01
+20403264
+20402c8a
+20202f16
+20403267
+580000ff
+20403256
+20202f10
+44dd4017
+20402c7a
+580031b0
+1a608ade
+e0a10000
+20402f3d
+204048ea
+204032b6
+44ddc017
+c0003055
+c000af45
+c007af41
+20202a8c
+2040326c
+df200080
+d8a00d9e
+20207ec6
+20402f4c
+20402f4f
+204048d3
+20202f42
+44de4017
+20402f4c
+20402f4f
+20402fbd
+204048d3
+20403019
+20202f47
+20403291
+20403296
+20203299
+2040328f
+c1800000
+20402f55
+20402f65
+2040316b
+20202f96
+20403294
+c3800000
+79207e00
+20403297
+20403267
+20403299
+700d3800
+2040324f
+20402f61
+1a608a00
+df200042
+20207ed4
+20403231
+2040327d
+2040322c
+20202c8a
+44dec017
+2040324c
+c000af8d
+20403245
+c000ac8a
+58000136
+9a60a200
+ea2a0000
+1c427e00
+98467c00
+24412d18
+1fe22400
+58000136
+9a60a200
+ea220000
+1fe20400
+5800013a
+9a60a200
+18427e00
+ea288000
+98408400
+1a427e00
+98467c00
+24610000
+793ffe1c
+58000136
+9a608a00
+e0a20000
+20402c8a
+20403278
+1fe0fe01
+2040327b
+c1810000
+2040327a
+2020324f
+1c427e00
+da200136
+204032bf
+e0a20000
+2020327a
+da200d9e
+20402f94
+1a608aeb
+e0a88000
+18467c50
+24610000
+20202c8a
+df200100
+20202e62
+20402f99
+20402fa5
+20202fb1
+58000180
+204032d0
+207a0000
+d8e0000b
+20407f16
+247a0000
+204032a7
+58000001
+60008d54
+58000000
+e0a38000
+202031b8
+5800017e
+204032d0
+207a0000
+d8e0000e
+20407f16
+247a0000
+204032aa
+d8a00d64
+df200002
+20407ec6
+700d6400
+202031ed
+5800017f
+204032d0
+207a0000
+d8e0000c
+20407f16
+247a0000
+204032ad
+d8a00d74
+df200002
+20407ec6
+700d7403
+20203207
+2040328f
+c1808000
+20402fc1
+20202fcb
+20403294
+c3808000
+79207e01
+20403297
+2040329c
+20402c83
+58000000
+da200106
+204032bf
+202032c5
+2040316e
+2437af5e
+1a608c00
+58000109
+9a608a00
+df200008
+20407f01
+5800010b
+204032d0
+c0552fd9
+c02aafed
+c0113001
+c07fb212
+20202f5e
+204032bd
+c000afdd
+c0012fe8
+20600000
+58000001
+20402ff7
+58000001
+20403289
+58000080
+da200130
+204032b3
+2040327d
+da200131
+204032bf
+2020322d
+58000001
+20402fff
+58000002
+20403289
+20202fe1
+204032bd
+c000aff1
+c0012ff9
+20600000
+20402fdf
+58000106
+204032d0
+c000aff6
+20600000
+58000002
+da200106
+202032b3
+20402fea
+58000107
+204032d0
+c000affe
+20600000
+58000002
+da200107
+202032b3
+204032bd
+c000b005
+c0013011
+20600000
+58000106
+204032d0
+c0013009
+20600000
+2040328b
+1fe1fe01
+2040328d
+58000000
+58000106
+9a608a00
+e0a10000
+20202f5e
+58000107
+204032d0
+c0803015
+20600000
+2040328b
+1fe1fe02
+2040328d
+2020300c
+68008d50
+207a0000
+700d5000
+68010d4e
+d84002ba
+98467c00
+24628000
+68008cb6
+c1dd0000
+68008cb7
+44df4017
+c050303b
+c050b02c
+c0533041
+c053b043
+c054b049
+c058304d
+700d4200
+20600000
+68008cb8
+c000b031
+c0423034
+c053b039
+2020302a
+2040328b
+60008cf7
+2020303f
+20403291
+20403296
+2040328b
+60008cf7
+2020303f
+700cf7a1
+2020303f
+68008cb8
+c040b03e
+2020302a
+20403090
+700d4201
+20600000
+700cf715
+2020303f
+2040328f
+c0003047
+c000b039
+20600000
+700cf7a0
+2020303f
+700cf700
+700cf800
+700cf901
+2020303f
+2040329c
+68008cb8
+1fe0fe02
+1fe27200
+d8c00cb6
+5800013c
+9a608a00
+20207f01
+44dfc017
+2040307d
+20402c7f
+204048d3
+20203057
+2040328f
+c1800000
+20402f51
+20203098
+2040328f
+c1808000
+20402fc1
+20402fcb
+2040328b
+207a0000
+20403286
+20402f4c
+20403093
+58000000
+1a608aa7
+2020322d
+20407fe9
+1a60a2a7
+ea2a0000
+1c427e00
+98467c00
+24412d18
+1fe22400
+1a60a2a7
+ea220000
+1a60a2ab
+ea288000
+98408400
+1a427e00
+98467c00
+24610000
+793ffe1c
+1a608aa7
+e0a20000
+20207fe7
+58000001
+20403287
+20403283
+580000ff
+1a608aab
+e0a08000
+20203067
+5800015c
+204032d0
+207a0000
+2040306a
+24740000
+20403281
+1fe0fe01
+1fe17e01
+20403284
+c0002f4c
+c000b090
+20600000
+58000001
+20403292
+20203296
+58000001
+204032a5
+58000280
+d8e00008
+20207f08
+204032a2
+207a0000
+d8e00008
+20407f16
+247a0000
+204032a4
+58000007
+20403292
+20403296
+20202f5e
+44e04018
+2040328f
+c1838000
+204030cb
+204030e0
+2040316e
+2437af5e
+204030bc
+2042b172
+20402f4c
+20403294
+79207e00
+20403297
+20402f5e
+20403093
+204030bc
+2022b0c1
+58000164
+204032d3
+204030be
+2022b0c5
+58000160
+204032d3
+204030be
+2022b0c8
+20600000
+5800012b
+204032d3
+2040322a
+98467c00
+20600000
+58000182
+204032d0
+1a608a91
+202032b4
+58000185
+204032d0
+202030c3
+58000188
+204032d0
+202030c3
+20403294
+c3838000
+79207e07
+20403297
+20403283
+2040329c
+58000000
+1a608af5
+e0a18000
+da200183
+204032bf
+e0a38000
+204030bc
+24628000
+1a60a291
+ea208000
+da200182
+204032b3
+1a60a290
+ea208000
+2020314a
+44e0c018
+20403281
+1fe0fe01
+1fe17e03
+20403284
+c000310e
+c000b132
+c00130ea
+c001b132
+20600000
+20402fdf
+58000160
+2040327e
+203a30e0
+2040322c
+58000189
+204032d0
+205a3108
+58000187
+204032d0
+2040322f
+1a60a2f7
+ea288000
+da200f9e
+20402e58
+1a608af7
+e0a88000
+20402f94
+1a608afa
+e0a88000
+18467c50
+24610000
+58000188
+20403275
+20402c90
+da200188
+204032c8
+e0a88000
+da200187
+202032b3
+58000001
+da200189
+204032b3
+d8400000
+20402c94
+20203106
+20402fea
+58000164
+2040327e
+203a30e0
+2040322c
+58000186
+204032d0
+205a312c
+58000184
+204032d0
+2040322f
+1a60a2f6
+ea288000
+da20109e
+20402e58
+1a608af6
+e0a88000
+20402f94
+1a608af9
+e0a88000
+18467c50
+24610000
+58000185
+20403275
+20402c90
+da200185
+204032c8
+e0a88000
+da200184
+202032b3
+58000001
+da200186
+204032b3
+d8400000
+20402c94
+2020312a
+20402fdf
+2040327d
+2040322c
+58000183
+204032d0
+205a314c
+2040314f
+1a60a2f5
+ea288000
+da200e9e
+20402e58
+1a608af5
+e0a88000
+20402f94
+1a608af8
+e0a88000
+18467c50
+24610000
+58000182
+20403275
+20402c90
+da200182
+204032c8
+e0a88000
+da200181
+202032b3
+58000001
+da200183
+204032b3
+58000181
+204032d0
+2020322f
+1a60a200
+ea208000
+2040323c
+20402dde
+2040325f
+2feffe00
+2020b15c
+2040315d
+20402d53
+20402df7
+20202e45
+44e14018
+1a608a86
+204032d6
+5800013b
+204032d0
+207a0000
+58000006
+1a608a86
+e0a08000
+df200006
+5800012f
+9a608c00
+1a608a22
+20207f01
+2040316e
+2437af5e
+20203172
+20402f5e
+20402e11
+24778000
+20203152
+44e1c018
+20403188
+24342f5e
+1a60a284
+ea208000
+203a2f5e
+1fe0fe02
+98007200
+1a608c00
+58000109
+9a608a00
+20407f01
+20403286
+204032b6
+205a3093
+5800010b
+204032d0
+c000b19e
+c00131c6
+c001b1f2
+c07fb212
+20202f5e
+20402c7a
+20407fe9
+1a60a2ca
+ea208000
+1a60a2cb
+ea288000
+98467c00
+2442ffe7
+1a60a2ca
+ea208000
+1a608acb
+e0a08000
+1a60a2c4
+ea218000
+1a60a2c7
+ea298000
+98467c00
+2442ffe7
+1a60a2c4
+ea218000
+1a608ac7
+202032c5
+20402f88
+2040324c
+60008aa2
+20403274
+68008aa2
+284ffe03
+7920fe00
+1a608ab2
+e0a08000
+c000b216
+20403245
+20403274
+284ffe04
+7920fe00
+20403249
+1a60a2de
+ea210000
+20207f9c
+58000001
+60008d54
+2040329e
+e0a38000
+2040329e
+245a31bd
+2040329e
+205a31c2
+700d5220
+68008d38
+79207e02
+60008d38
+20600000
+58000001
+204032a8
+58000140
+d8e0000b
+20207f08
+204032a7
+58000000
+d8e0000b
+20207f08
+20403274
+284ffe03
+2020b21b
+d8a00d64
+204031e0
+68040d64
+245a31e4
+68040d64
+205a31e9
+20402c7a
+68040d64
+da200168
+204032bf
+e0a40000
+58000170
+9a60a200
+ea2c0000
+98467c00
+2442b1ed
+58000168
+9a60a200
+ea240000
+da200170
+204032bf
+e0a40000
+20202f5e
+5800010b
+9a608c00
+df200009
+20207ff3
+58000001
+204032ab
+58000140
+d8e0000e
+20207f08
+204032aa
+58000000
+d8e0000e
+20207f08
+700d5110
+68008d38
+79207e01
+60008d38
+20600000
+d8a00d74
+204031e0
+68010d75
+245a3209
+68010d75
+205a320e
+20402c7a
+68018d74
+da200178
+204032c4
+5800017b
+9a60a200
+ea298000
+98467c00
+2442b207
+58000178
+9a60a200
+ea218000
+da20017b
+204032c4
+20202f5e
+700d5221
+202031b9
+58000001
+204032ae
+58000140
+d8e0000c
+20207f08
+204032ad
+58000000
+d8e0000c
+20207f08
+204032bd
+c000b216
+c001321b
+20600000
+5800010d
+2040327e
+da200160
+204032bf
+2020322d
+5800010d
+2040327e
+da200164
+204032bf
+2020322d
+20402c7a
+1a608acd
+e0a08000
+20600000
+20402c7a
+1a60a2be
+2020327f
+20402c7a
+1a608abe
+2020322d
+1a60a2ae
+2020327f
+1a608aae
+e0a20000
+20600000
+1a608a90
+202032b4
+58000000
+20402c7a
+1a608a85
+202032b4
+1a608a42
+202032b4
+58000004
+1a608acc
+202032b4
+1a60a287
+202032d1
+1a608a87
+202032b4
+58000002
+1a608ad0
+202032b4
+58000001
+20402c7a
+1a608ace
+202032b4
+20402c7a
+1a60a2b4
+202032d1
+58000001
+20402c7a
+1a608ab4
+202032b4
+20402c7a
+1a60a2b2
+202032d1
+58000001
+20402c7a
+1a608ab2
+202032b4
+20402c7a
+1a60a296
+202032d1
+1a608a96
+202032b4
+1a60a2cf
+202032d1
+58000000
+1a608acf
+202032b4
+1a60a2d2
+202032d1
+1a60a201
+202032d1
+1a60a2b5
+202032d1
+58000000
+20402c7a
+1a608ab5
+202032b4
+20402c7a
+1a60a2fb
+ea208000
+6000c1de
+20600000
+20402c7a
+6800c1de
+1a608afb
+202032b4
+1a60a2fc
+202032d1
+1a608afe
+202032b4
+58000109
+9a60a200
+ea288000
+20600000
+58000135
+202032d0
+58000000
+da200135
+202032b3
+5800012b
+204032cd
+ea220000
+20600000
+5800015f
+202032d0
+58000000
+da20015f
+202032b3
+58000000
+da20015c
+202032b3
+da20012f
+202032b3
+58000108
+202032d0
+da200108
+202032b3
+58000105
+202032d0
+58000000
+da200105
+202032b3
+58000104
+202032d0
+58000000
+da200104
+202032b3
+58000000
+da20013b
+202032b3
+58000001
+2020329a
+5800010c
+204032cd
+ea238000
+20600000
+5800015e
+202032d0
+58000000
+da20015e
+202032b3
+58000000
+da200180
+202032b3
+58000000
+da20017e
+202032b3
+58000000
+da20017f
+202032b3
+da200102
+202032b3
+da200103
+204032c7
+e0a08000
+20600000
+5800015d
+202032d0
+da20015d
+202032b3
+5800018a
+204032d0
+2020326a
+5800010c
+202032d0
+1fe20400
+1a227e00
+9a608a00
+18427e00
+20600000
+204032bf
+e0a18000
+20600000
+20402c7a
+1fe22400
+1a227e00
+9a608a00
+1a427e00
+20600000
+20402c7a
+9a60a200
+20600000
+204032cd
+ea208000
+20600000
+204032cd
+ea2a0000
+20600000
+58000000
+202032b4
+44e24018
+6800c092
+203a32d8
+c0022f30
+c007b436
+c004c5de
+c005392a
+c00735bf
+c00844a4
+c2833d00
+20600000
+44e2c018
+70015100
+70017f00
+70018000
+58000000
+600289ae
+6800c092
+203a32e3
+c0053962
+20600000
+20407cd1
+20407d9c
+204032f6
+680141f3
+20207f9c
+680141f1
+20207f9c
+680141ef
+20207f9c
+44e34018
+da204668
+20407fc4
+207a0000
+1fe22600
+204032ff
+20203324
+da600000
+20600000
+c000b311
+c0083357
+c002b335
+c009333c
+c0033353
+c0023394
+c0013399
+c009b394
+c00a334b
+c00ab34f
+c001b32e
+c005b340
+c0063347
+c00b335b
+c00c332a
+c015331a
+c015b318
+20600000
+68014682
+79207e00
+60014682
+6801420a
+793ffe00
+6001420a
+20600000
+70022900
+20600000
+68008229
+1fe0fe01
+60008229
+1fe67c01
+202133df
+70022900
+6801420a
+79207e09
+6001420a
+202033e9
+680141f5
+20207f9c
+680141e9
+20207f9c
+680141ed
+20207f9c
+6801420a
+79207e01
+6001420a
+20203412
+68014682
+79207e07
+60014682
+6801420a
+79207e02
+6001420a
+20600000
+68014682
+79207e01
+60014682
+6801420a
+79207e04
+6001420a
+20600000
+68014682
+79207e03
+60014682
+20600000
+68014682
+79207e05
+60014682
+6801420a
+79207e03
+6001420a
+20600000
+68014682
+793ffe05
+60014682
+20600000
+68014682
+79207e09
+60014682
+20600000
+68014682
+793ffe09
+60014682
+20203418
+68014682
+79207e02
+60014682
+20600000
+6801420a
+79207e00
+6001420a
+20600000
+6801420a
+79207e08
+6001420a
+202033e9
+44e3c018
+6000822a
+6800822a
+207a0000
+1fe0ffff
+6000822a
+20407cdd
+204033d6
+20403387
+2040338d
+2040651b
+680141fd
+20407f9c
+20203361
+ea608000
+207a0000
+1fe0ffff
+e2608000
+247a0000
+1a427e00
+20207f9c
+ea610000
+207a0000
+1fe0ffff
+e2610000
+247a0000
+1a427e00
+20207f9c
+6809423f
+1840a601
+da40337f
+2020336d
+2040342d
+c000b382
+2020340a
+58000002
+e2608000
+1840a408
+ea410000
+20207f9c
+da604205
+da40338a
+2020336d
+20402252
+2022b40e
+20600000
+da60467e
+da403390
+20203374
+204033f0
+20403408
+680141f7
+20207f9c
+204033ac
+68014682
+793ffe07
+60014682
+20600000
+70420500
+68014682
+c283b39e
+2fec0001
+2040b2fd
+44e44019
+68014682
+793ffe00
+793ffe01
+793ffe02
+793ffe03
+793ffe07
+60014682
+20203418
+204033a9
+2020340a
+58000000
+60014208
+20600000
+58000000
+6001420a
+20600000
+6801420a
+60014208
+58000000
+6001420a
+20600000
+6801420a
+79207e07
+60014208
+58000000
+6001420a
+20600000
+6800c682
+2feffe05
+20600000
+5800aa55
+60010aaa
+44e4c019
+d8400002
+da200aaa
+da4000c3
+20206606
+44e54019
+d8400002
+da200a9a
+da4000c3
+204065df
+68010a9a
+d840aa55
+98467c00
+20600000
+6800c55a
+6000c205
+20600000
+d8e00009
+20202c32
+d8e00009
+20202c36
+70420605
+202033d0
+da604206
+da4033d2
+2020336d
+70436301
+20600000
+70436300
+20600000
+700a990a
+20207d8f
+700a991d
+20207d8f
+44e5c019
+6800c207
+6000816d
+70022801
+700a9903
+20207d8f
+700a991e
+20207d8f
+700a9904
+20207d8f
+68014687
+6001467e
+20403404
+700a9901
+20207d8f
+58000000
+6001467e
+700a9902
+20207d8f
+700a990f
+20207d8f
+700a9910
+20207d8f
+700a990e
+20207d8f
+700a990d
+20207d8f
+700a9917
+20207d8f
+700a9918
+20207d8f
+700a9916
+20207d8f
+700a9911
+20207d8f
+700a9915
+20207d8f
+700a9914
+20207d8f
+700a9913
+20207d8f
+700a9919
+20207d8f
+700a9906
+20207d8f
+700a9905
+20207d8f
+700a991f
+20207d8f
+700a9920
+20207d8f
+700a9925
+20207d8f
+7920000d
+20600000
+793f800d
+20600000
+2040342d
+c0013424
+58000001
+e2608000
+1840a203
+1840a406
+ea288000
+1a60a601
+e2688000
+20203385
+58000000
+e2608000
+68014682
+c304b429
+20403402
+6809423f
+1840a202
+1840a404
+20203420
+6809423f
+1840a600
+ea608000
+20600000
+2040342d
+c0803434
+2020340a
+1840a40a
+20203385
+20758000
+70808100
+58003463
+600141eb
+5800696c
+600141ed
+580034f5
+600141f3
+580034f4
+600141ef
+5800347e
+600141f5
+580034b2
+600141fd
+58003465
+600141fb
+58003470
+600141e9
+58003501
+600141f9
+44e64019
+2040359b
+20406948
+204035ad
+20407d08
+20407cd3
+5800350b
+60014766
+580034fc
+6001475d
+580034f8
+6001475f
+5800346c
+60014761
+580035a2
+600146a9
+580035a4
+600146ab
+580035a9
+600146b4
+580035a6
+600146b6
+68014682
+c3860000
+2020340a
+20403586
+2020340a
+20405892
+247a0000
+da200b06
+20407e54
+24740000
+d8c00b06
+20204746
+68014797
+60014791
+70475301
+2020358f
+6800c79d
+c000b479
+68014682
+c304b479
+6800c79e
+c000b3d0
+6800c700
+243a33d0
+202033d2
+6800c79b
+6808c79c
+9841fe00
+c000b3d0
+202033d2
+1a627e00
+c016b431
+c008341a
+c00a34df
+c00ab4e8
+c0203485
+20600000
+68014509
+c000b48c
+680143d8
+203a34a2
+70478a02
+70478f3c
+20600000
+6801449a
+203a34a0
+70478a01
+680947b4
+68014496
+9840fe00
+60014496
+1fe22200
+68014498
+9840fe00
+60014498
+9a20fe00
+1fe30400
+680147c0
+9846fc00
+20407f86
+1807fe00
+6001449a
+70479001
+20600000
+70478a03
+20600000
+70417200
+70479000
+680143d6
+680947be
+98467c00
+79212200
+680147c0
+680943d6
+98467e00
+79212201
+2a200603
+20608000
+680447be
+60044496
+70479001
+20600000
+2040337b
+204034b9
+204034be
+204034d5
+204034ca
+204034c4
+202034d9
+da604799
+da4034bc
+2020336d
+70479a00
+20600000
+da604793
+da4034c1
+20203374
+da6046bf
+da40469e
+20203591
+da60478f
+da4034c7
+2020336d
+6801449a
+6000c172
+20600000
+da604790
+da4034cd
+2020336d
+6800843f
+2fe0c000
+2420b4d3
+70478a01
+20403416
+20205abf
+70479001
+20600000
+da604791
+da4034d8
+20203374
+2020341a
+da60478d
+da4034dc
+20203374
+680147a7
+6001478d
+202035af
+680147a7
+6001478d
+58000000
+60014793
+60014791
+2040355c
+20403586
+70417200
+202033f8
+58000000
+6002478d
+6001c78a
+60014509
+7047a001
+68014797
+60014791
+20407e38
+6800c759
+c1000000
+2040358f
+2020356e
+20203508
+6800c759
+c1810000
+20203508
+da6046cd
+20403582
+da6046c6
+20203584
+70436e00
+da6046db
+20403582
+da6046d4
+202034fb
+68008477
+c0093504
+20600000
+68010478
+c006b536
+c005b571
+20600000
+6800c753
+207a0000
+20206978
+1a227e00
+203a3510
+18e27e00
+c0003513
+20600000
+18e27e00
+c000351b
+20600000
+70479d01
+da6046f7
+20403582
+da6046f0
+20403584
+68014682
+c304b532
+20203521
+70479d00
+2020351d
+6800c79a
+c1808000
+70479905
+20600000
+6800c79a
+1fe0fe01
+6000c79a
+c000b527
+c001352b
+20600000
+2040355c
+70477101
+da60476c
+20203544
+70479a00
+70477102
+da60476c
+20403544
+6800c79e
+c000b551
+20600000
+68014797
+60014791
+2040355c
+2020358f
+44e6c019
+204036fc
+ea208000
+c001b53c
+c003b540
+20600000
+6800c79e
+c0003551
+c000b55c
+20600000
+ea408000
+c000b564
+c0003569
+20600000
+44e74019
+6800c78b
+2feffe00
+24608000
+1a608c06
+e8c10000
+1ff0fe00
+1fe0f205
+1a608c03
+204036f0
+e0c08000
+1a622200
+20207e3d
+6800c759
+207a0000
+70479e01
+da6046e9
+20403582
+da6046e2
+20403584
+70478004
+70478301
+da60477b
+20203544
+6800c79e
+207a0000
+70479e00
+20403586
+70478004
+70478300
+da60477b
+20203544
+70479f01
+70478007
+70478301
+da60477b
+20203544
+70479f00
+70478007
+70478300
+da60477b
+20203544
+6800c79f
+207a0000
+20203551
+ea210000
+6001478b
+2feffe00
+24608000
+6800c7a0
+207a0000
+7047a000
+680447b6
+60044496
+70479002
+204035af
+204035b9
+70478007
+6800c79f
+6000c783
+da60477b
+20203544
+da200001
+20203585
+da200000
+2020358c
+da200000
+20407d19
+da200001
+20407d19
+6800c7a1
+202069d7
+20407d04
+df200007
+20207d26
+da6046b8
+da40469a
+20403596
+20403584
+68014795
+60014793
+202033fa
+ea410000
+60014154
+e8c10000
+60014482
+20600000
+da200000
+204069a6
+680347a1
+60030a9a
+204069ae
+6800c7a1
+202069d7
+70479b01
+20600000
+70479b00
+20600000
+70479c00
+6800c7a1
+202069d7
+70479c01
+680347a1
+60030a9a
+202069ae
+70422d00
+202068a8
+204068eb
+20406908
+600147b0
+da2047aa
+20406930
+6000c7a9
+c00035be
+1fe67c64
+242135bc
+6000c783
+70478005
+da60477b
+20203544
+70478364
+202035b9
+2020341a
+20758000
+68108081
+1fe17ef0
+60108081
+58003631
+600141eb
+58003633
+600141ed
+5800340a
+600141f7
+58003635
+600141f3
+5800364b
+600141f5
+580033d0
+600141e9
+580036f6
+600141f9
+5800367a
+600141fd
+20402c7a
+58003722
+1a608ade
+e0a10000
+580035ed
+6001475b
+580035ef
+6001475f
+44e7c019
+20403628
+20407e38
+70417202
+7049f600
+6800c7cb
+6000c69a
+c00035ee
+6800c7cc
+6000c686
+70436e00
+2040360f
+20407cd3
+20407cdd
+7047f301
+68014682
+c3860000
+2020340a
+2020360f
+7047f302
+70436e01
+2040360f
+da200000
+20407d1e
+58000020
+204046f0
+d8a043b7
+6800c4a0
+1fe104f0
+18518400
+20403609
+e0a88000
+1fe1040f
+20403609
+e0a88000
+204057a6
+6808c3af
+18427200
+d8a04372
+d8c043b0
+20407f01
+6808c3af
+18427200
+d8a04392
+d8c043b0
+20207f01
+18467c09
+2021360d
+18408437
+20600000
+18408430
+20600000
+6800c7c0
+c0ffb621
+6800c7be
+c0ffb624
+6800c7c9
+c0ffb626
+6800c72c
+1fe27200
+5800472d
+1fe22200
+1a220c00
+e8c08000
+18c22200
+c07fb61f
+1fe20400
+2040680e
+c2003619
+20600000
+680447c0
+6004472f
+20203611
+6000c72d
+20203613
+6000c72e
+20203615
+da200000
+204069a6
+204037e4
+20402c7d
+2020362d
+7047cf64
+6800c7c9
+6000c744
+202068a8
+20406835
+2020696c
+2020696c
+20206978
+20403642
+204037ee
+20403639
+20203634
+68014682
+c3848000
+6800c9f6
+c000b63e
+20600000
+6800c7ea
+c1008000
+7047ea01
+20203654
+68014682
+c4048000
+20405892
+247a0000
+da204718
+20407e54
+24740000
+d8c04718
+20204746
+1a627e00
+c016b431
+c008341a
+c00a3651
+c00ab660
+20600000
+58000000
+20403220
+20203656
+680147eb
+600147ed
+7047ce14
+70409100
+204033f8
+20403416
+6800c7bd
+c000b65e
+da200000
+20207d14
+da200000
+20207d19
+58000002
+20403220
+58000000
+6002c79c
+58000004
+204069d7
+58000005
+204069d7
+58000014
+204069d7
+58000015
+204069d7
+58000016
+204069d7
+58000007
+204069d7
+20407e38
+70475e0a
+7047600a
+7047620a
+70417202
+da200000
+20407d1e
+58000020
+204046f0
+202033fa
+2040373b
+2040373e
+20403741
+2040337b
+204036c8
+204036a1
+2040368a
+20403683
+2020368f
+da60479a
+da403686
+2020336d
+20403847
+24608000
+70479b01
+20600000
+da6047ed
+da40368d
+20203374
+7047ea02
+20203662
+da6047f1
+da403692
+2020336d
+6800c7f2
+203a369e
+7047f102
+7047f200
+58000a02
+60014752
+6800c7b9
+c001b69b
+20203762
+58000a02
+60014754
+20203762
+58000000
+60024752
+20203762
+6800c7c8
+207a0000
+68014682
+c304b6c6
+da6047ce
+da4036a8
+2020336d
+6800c7cd
+6000c7ce
+6800c7d1
+247a0000
+204068eb
+20406908
+600147e8
+da2047e2
+20406930
+6808c7cf
+98467c00
+202136b6
+6000c7cf
+1fe20400
+6008c7d0
+6800c7ca
+98467c00
+204136c1
+6008c7db
+df200006
+d8c047d6
+204036f0
+6000c7dc
+da2047d3
+20207e3d
+6800c7d2
+247a0000
+7047d201
+da200001
+20207d1e
+da200001
+20207d19
+da6047a4
+da4036cb
+2020336d
+7047a405
+7047a600
+6800c7a5
+c000b6ee
+c00036ec
+d8c0479c
+18c22200
+df200008
+1a220c00
+e8c08000
+18c22200
+c00036e3
+c000b6e6
+c00136e9
+6800c7a6
+1fe0fe01
+6000c7a6
+c20036d3
+20600000
+6800c7a6
+da4047c0
+9a40a400
+ea488000
+20600000
+204036de
+20406825
+202036d9
+204036de
+20406829
+202036d9
+6800c7a5
+c000b6e3
+202036e6
+7047a501
+202036d0
+7047a500
+202036d0
+da200000
+e8c08000
+9a20a200
+c20036f1
+1a217eff
+20600000
+68008477
+c00936f9
+20600000
+68010478
+c00a3710
+20600000
+44e8401a
+ea228000
+60028b12
+68010b12
+d8406b5a
+98467c00
+24628000
+68010b15
+1ff0fe00
+60010b15
+1fe27200
+1a20a205
+1a220c00
+d8a00b17
+20407f01
+e8c08000
+60008b21
+da200b14
+da400b17
+20600000
+58000000
+6002c752
+6002c757
+204036fc
+1a420c00
+d8a04752
+df20000a
+20407f01
+44e8c01a
+ea208000
+c001374a
+c001b75c
+c0023762
+c002b762
+c00337b1
+c003b849
+c004384c
+20600000
+68014682
+c3848000
+680147eb
+600147ed
+7049f601
+5800010c
+204032cd
+20403710
+68008b14
+c002372e
+c002b72e
+20600000
+6800c752
+245a3735
+6800c754
+245a3737
+6800c756
+245a3739
+20600000
+7049f305
+20600000
+7049f405
+20600000
+7049f505
+20600000
+da6049f3
+da403744
+2020336d
+da6049f4
+da403746
+2020336d
+da6049f5
+da403748
+2020336d
+70475200
+20203762
+70475400
+20203762
+70475600
+20203762
+2040374c
+2020374f
+6800c752
+6000c75f
+20203773
+6800c75e
+20403754
+6800c753
+6000c75d
+20203770
+c0013758
+c001b75a
+6000c75e
+20600000
+70475e05
+20600000
+70475e0a
+20600000
+6800c752
+20403754
+6800c75e
+2040379e
+204037a1
+202069c4
+6800c7f0
+247a0000
+68034752
+6003475d
+6800c75e
+6808c760
+98417e00
+6808c762
+98417e00
+205a3779
+44e9401a
+20403770
+20403773
+20203776
+da404763
+d8c0475d
+2020377b
+da40476b
+d8c0475f
+2020377b
+da404773
+d8c04761
+2020377b
+7047d100
+20600000
+e8c08000
+c0003787
+c000b780
+c0013782
+20600000
+70477b00
+20203783
+70477b01
+e8c08000
+6000c77d
+ea440000
+2020378c
+ea408000
+204069d7
+1a40a401
+ea408000
+202069d7
+6004477e
+7047d101
+6800c77b
+c000379a
+6800c77f
+6000c780
+6800c77e
+204069d7
+6800c77d
+2040379e
+6000c785
+68034780
+60030a9a
+202069ae
+6800c77e
+6000c780
+6800c77f
+20203793
+1feffe05
+1fe0fe32
+20600000
+d8402ee0
+984ffe00
+1fe6fc64
+20407f86
+18078400
+18422200
+58002ee0
+98462400
+20600000
+68108082
+79207e02
+60108082
+5800009e
+60110068
+6011006a
+20600000
+6800c7f0
+247a0000
+68014752
+60014787
+6800c7ea
+c080b7b9
+680144a0
+60014787
+44e9c01a
+204037aa
+204037dc
+5800bb80
+20402a8f
+204037e0
+58001c20
+20402a8f
+df200010
+204037dc
+68014787
+c28037c9
+58001c20
+20402a8f
+204037e0
+202037cc
+58003840
+20402a8f
+204037e0
+58001c20
+20402a8f
+68014787
+1fe37e00
+60014787
+c20037c2
+7047f102
+7047f201
+58000a01
+60014752
+6800c7b9
+c001b7d9
+20203762
+58000a01
+60014754
+20203762
+68108085
+1fe1fe40
+60108085
+20600000
+68108085
+1fe17ebf
+60108085
+20600000
+6800c7bb
+c1000000
+20402c65
+6808c7bc
+6008c786
+204067fb
+20403847
+24608000
+70479a01
+20600000
+6800c7bb
+c1000000
+6800c79b
+247a0000
+68014682
+c284b7f6
+6800c7ea
+c1808000
+44ea401a
+20403847
+24608000
+58008ca0
+20402a8f
+20403847
+24608000
+2040383f
+20403842
+24610000
+20403847
+2020b7fe
+da200000
+df200010
+2040383f
+20403842
+24610000
+20403847
+2420b805
+58002a30
+20402a8f
+20403847
+2020b812
+58000000
+1a232200
+9a21a200
+c2003805
+2020381b
+58008000
+1a232200
+9a21a200
+2040383f
+20403842
+24610000
+20403847
+2020b816
+c2003805
+44eac01a
+1a227e00
+60014789
+60014797
+6800c7ea
+c000b827
+df200007
+d8c04792
+204036f0
+6000c799
+da20478f
+20207e3d
+6800c7ef
+1fe0fe01
+6000c7ef
+1fe6fc02
+20407f86
+18078400
+18077e00
+243a3838
+6800c7bf
+98467c00
+2042b83d
+dfe0479c
+184085ff
+9840a200
+dfe00000
+e2208000
+20600000
+dfe0479c
+9840a200
+dfe00002
+e2208000
+20600000
+7047f001
+20600000
+1c427e00
+6002478b
+20600000
+1c427e00
+680a478b
+98467e00
+1fe67cc8
+20600000
+6808c786
+2020681d
+68044752
+6004479c
+20600000
+6800c7b9
+6000c7af
+6800c7ba
+6000c7b0
+6800c7bb
+6000c7b1
+df20000d
+d8c047aa
+204036f0
+6000c7b7
+da2047a7
+20207e3d
+204065c2
+7046f67a
+2040386d
+20403867
+58003860
+600141fd
+da200000
+202069a6
+680146a1
+207a0000
+1fe0ffff
+600146a1
+c1800000
+7046a000
+20600000
+44eb401a
+6800c6a4
+1fe67c28
+20610000
+7046a400
+20600000
+da2046a4
+da400000
+d8400051
+202065df
+78547c00
+6800c6a3
+1fe27200
+da2046a5
+1a622400
+44ebc01a
+2040387c
+2022ffe7
+1a20a204
+c2003876
+20600000
+44ec401b
+ea218000
+ea498000
+98467c00
+20600000
+44ecc01b
+ea218000
+ea498000
+98467c00
+24628000
+e8c08000
+1fe67c00
+20628000
+1a208c03
+e8c88000
+98467c00
+20600000
+44ed401b
+78547c00
+6800c6a3
+1fe27200
+da2046a5
+1a622400
+20403881
+2022ffe7
+1a20a204
+c2003893
+20600000
+68008004
+1fe0fe01
+60008004
+da6002e5
+ea610000
+d84055aa
+98467c00
+24628000
+18c22600
+ea698000
+58ffffff
+98467c00
+2022b8a8
+2040388d
+203438a8
+20600000
+44edc01b
+1a60a604
+ea608000
+6808c6f6
+98467c00
+20628000
+6000c6f6
+68008003
+1fe0fe01
+60008003
+1a60a601
+ea608000
+6000c6f5
+1fe27200
+207a0000
+e8c08000
+c00038c2
+c000b8cf
+c00138d4
+c001b8d9
+c00238de
+c002b8e3
+c00338e8
+c07fb8ea
+c20038b7
+20600000
+18c22600
+6800c69a
+60008a9a
+d8400000
+60088a9b
+58002710
+60018a9c
+ea608000
+60008a9f
+204069ae
+1a610c01
+c20038b7
+20600000
+1a620c00
+6800c69b
+60008a9a
+d8400001
+202038c6
+1a620c00
+6800c69c
+60008a9a
+d8400002
+202038c6
+1a620c00
+6800c69d
+60008a9a
+d8400003
+202038c6
+1a620c00
+6800c69e
+60008a9a
+d8400004
+202038c6
+1a620c00
+6800c69f
+60008a9a
+d8400005
+202038c6
+e8c08000
+20600000
+18c22600
+6800c6a0
+c080b8ee
+204038f0
+1a610c04
+20600000
+44ee401b
+20403871
+203438fe
+6800c6a4
+1fe20400
+1fe0fe01
+6000c6a4
+20403867
+184b8400
+580046a5
+98408a00
+ea620000
+e0a20000
+20203903
+1a608c03
+e8c08000
+207a0000
+ea620000
+e2220000
+da2046a4
+da400000
+d8400051
+20206606
+6808c69a
+20406825
+20600000
+6808c69a
+20406829
+6808c69a
+20406825
+2040391d
+6800c6a7
+247a0000
+20402c29
+68120138
+793ffe0f
+6012004c
+20402c21
+d85fffff
+20202b2a
+6800c6a7
+203a56f9
+1fe0ffff
+6000c6a7
+202056f9
+1feffe14
+d8c046a8
+98c08c00
+e8c08000
+207a0000
+1fe22200
+1a227200
+d8a04372
+20407f01
+1a227e00
+1fe0fe02
+6000c36f
+20600000
+20758000
+204057a3
+204068a8
+58003982
+600141f3
+5800396e
+600141f1
+58003986
+600141f5
+5800396d
+600141ef
+58003969
+600141e9
+58003ab7
+600141fb
+58003c32
+6001456f
+58003cc2
+600141f9
+58003cd7
+600141fd
+2040397f
+44eec01b
+20403945
+20403964
+20402c6f
+20203c48
+680246aa
+60120054
+680246ae
+6012005a
+68108081
+1fe1fe04
+1fe17efc
+60108081
+70806200
+680146aa
+60110058
+680146ae
+6011005e
+60110060
+68120078
+79207e07
+60120078
+68110050
+793ffe0f
+60110050
+204066ce
+70804300
+70806281
+6800c6bf
+2feffe00
+68188062
+79208404
+60188062
+20600000
+2040397f
+20203945
+6808c69e
+2040680e
+204039e6
+6808c69c
+202067fb
+6808c69c
+2040681d
+2420b3d2
+202033d0
+20600000
+20403970
+20203ce9
+6800c682
+c302397f
+44ef401b
+58003eff
+680a46c5
+98408400
+1c427e00
+98467c00
+24610000
+68014682
+c282b97f
+6800c6bf
+c3830000
+20403cec
+2040340e
+1c427e00
+600246c5
+20600000
+20403ce9
+2040526e
+247a0000
+202039eb
+1a627e00
+c000b9d4
+c00139a3
+c00239d7
+c002b9c4
+c00439aa
+c004b9b1
+c00539c9
+c005b9b6
+c00639c2
+c009b9d7
+c00a39cf
+c00ab9c6
+c010b9ca
+c011b9cb
+c01239ce
+c0183c8a
+c018bc8c
+c0193c9a
+c019bc98
+c01a3c84
+c01abc73
+c01b3c82
+c01bbc8e
+c01c3c90
+c01dbca1
+c01ebc6a
+c020b9d9
+20600000
+2040397f
+6800c665
+245a3c8e
+204039d7
+68014682
+c4020000
+202039b1
+68014682
+79207e04
+60014682
+6800c6a7
+6000c172
+204039e6
+20203c1d
+68014682
+c4020000
+793ffe04
+60014682
+20203c21
+2040397f
+68014042
+1fe37e00
+680941e3
+98467c00
+2422b9bd
+20203416
+6800c6bf
+c3828000
+68110112
+245a3cf0
+2020340c
+20403cee
+20203418
+2040397f
+202039dd
+20405816
+204039d7
+20203c23
+202033dd
+20203cee
+6800c6bf
+c302b40e
+20203cf2
+20203cf2
+204058ba
+204039dd
+6800c6a8
+6000c172
+20203c1f
+70466100
+20403cee
+20203cf2
+20403a52
+202039db
+20405cc9
+20205b02
+6808c69e
+20206829
+204039df
+202039e6
+6800c6a1
+2feffe00
+2040b3f0
+6800c6a1
+2feffe01
+2040b3f8
+20600000
+6808c69e
+20206825
+6800c56b
+c1000000
+20206c28
+6810810c
+c281b9e8
+204066cb
+e8608000
+c080ba01
+68110112
+1fe67c02
+20610000
+e8608000
+60008b03
+e8688000
+18622200
+60088b04
+18408403
+68110112
+98460400
+24610000
+700b0501
+20403a17
+68008b05
+c1000000
+20203a12
+20407ec1
+20403c79
+20203a04
+44efc01b
+68110112
+207a0000
+204066cb
+e8608000
+1fe67c01
+2442ba16
+2422ba04
+e8608000
+c1028000
+c1148000
+186087ff
+20403a16
+20203a04
+204066cb
+18608602
+e8608000
+98608600
+202066c8
+44f0401c
+68008b03
+c0003a3f
+c000ba44
+c0013a49
+c001ba5f
+c0023a6b
+c002ba75
+c004ba9a
+c005bad7
+c0063ad8
+c006baec
+c0073af4
+c007bafa
+c0083b06
+c008bb0e
+c0093b12
+c0133b16
+c0143b1d
+c014bb2d
+c0153b36
+c015bb69
+c0163b6f
+c0183b76
+c018bb7c
+c0193b90
+c019bb98
+c01a3bbb
+c01abbc4
+c01b3bcd
+c01bbbd7
+c01c3bda
+c0203be2
+c0213bec
+c0243bf1
+c024bbfc
+c028bc02
+c030bc06
+c07fbc15
+20203c17
+68008b04
+c0833c17
+e8630000
+600340a0
+20203c1a
+68008b04
+c0833c17
+e8630000
+600344a0
+20203c1a
+68008b04
+c080bc17
+1a220600
+20403c1a
+e8688000
+6008c6a9
+68014682
+c3848000
+c3800000
+6800c6a1
+2feffe00
+2420ba58
+6808c6a9
+18417e03
+6000c093
+6800c6a1
+2feffe01
+24608000
+6808c6a9
+284ffe02
+2020b3fa
+202033f8
+68008b04
+1fe67c43
+24213c17
+6000c515
+df200008
+20407ec6
+68008b04
+1fe27200
+1a220600
+d8a04516
+204066ea
+20203c1a
+68008b04
+1fe67c1d
+24213c17
+6000c3af
+1fe27200
+1a220600
+d8a043b0
+204066ea
+204057a3
+20203c1a
+6800c682
+c3023c17
+204033ba
+2020ba86
+700b0500
+2040397f
+6800c568
+207a0000
+68014573
+c0803a84
+68008b04
+60014573
+1a220600
+18627e00
+60014571
+20403a88
+20206c4d
+700b0500
+20203cd1
+20403a8e
+68014573
+6809469f
+98467e00
+60014573
+20600000
+68014573
+d840006e
+20407fdd
+6809456c
+20407fdd
+6809455e
+20407fdd
+6001469f
+20600000
+700b0501
+700b0305
+20203c1a
+68014682
+c304bc17
+20403ad4
+20343c17
+700b0500
+6800c6bf
+c2823ab4
+6800c6c0
+247a0000
+700b0501
+e8610000
+600146c1
+18627e00
+600146c3
+68008b04
+1fe0fffe
+24213c17
+2022bc17
+6000c6c0
+700b0500
+20405814
+20403ab7
+20403ab7
+20403ab7
+6800c6bf
+c4020000
+700b0501
+20403cf6
+20203c1a
+6800c6c0
+207a0000
+20405892
+247a0000
+20403acf
+44f0c01c
+1840fffd
+6808c6c0
+20407fdd
+1fe22200
+18427e00
+9a267e00
+6000c6c0
+680946c1
+20405a64
+680146c3
+1fe20600
+1a227200
+204066ea
+18627e00
+600146c3
+6800c6c0
+247a0000
+20203cf4
+d8400017
+6800c6bf
+c3808000
+680944a8
+20600000
+6800c6bf
+c2815a42
+20207fe9
+20203c4c
+1a220600
+e8608000
+c0003adf
+c000bae2
+c0013ae8
+c001baea
+20203c17
+2040612b
+70465a00
+20203c1a
+58040003
+6001c65b
+6000c662
+20406124
+70465a01
+20203c1a
+58040002
+20203ae3
+58040001
+20203ae3
+68008b04
+1fe67c10
+24213c17
+6000c689
+1fe27200
+d8a0468a
+204066fd
+20203c1a
+1a220600
+e8608000
+68188062
+7d3a0404
+60188062
+20203c1a
+68008b04
+1fe27200
+1a220600
+20407f58
+596e3600
+9846fc00
+20407f86
+1807fe00
+60014243
+20403c1a
+20407f9e
+202066ce
+da200002
+da40469a
+d8400000
+20203c25
+60010ac2
+da400ac2
+d8400000
+20203c25
+68014682
+c3003c17
+20403c1a
+202033e9
+68014682
+c304bc17
+20403c1a
+20203402
+68008b04
+1fe27200
+1a220600
+68014215
+1fe20a00
+204066ea
+20203c1a
+6800c682
+c3003c17
+e8608000
+6808c661
+793a0400
+79200407
+6008c661
+20403c1a
+6800c661
+c2833b2b
+20600000
+70466100
+700a9921
+20207d8f
+c2805f95
+20203b28
+6800c682
+c4020000
+6800c56b
+c1000000
+e8608000
+6808c569
+98408400
+6008c569
+20600000
+df200040
+d8a0436f
+20407ed4
+58000000
+60008ab2
+1a220600
+18627e00
+60010ab6
+20403b64
+68008ab2
+68088aa2
+18408401
+9840fe00
+60008ab2
+1fe67c1f
+24213b50
+6808c36f
+58004370
+9840fe00
+60010abb
+68088aa2
+18408401
+6800c36f
+9840fe00
+6000c36f
+20203b59
+6808c38f
+58004390
+9840fe00
+60010abb
+68088aa2
+18408401
+6800c38f
+9840fe00
+6000c38f
+68010abb
+1fe20a00
+68010ab6
+1fe20600
+18427200
+204066ea
+68008b04
+68088ab2
+98467c00
+2422bb3c
+20203c1a
+e8608000
+60008aa2
+e8608000
+60008aae
+20600000
+d8400000
+da200002
+680146b4
+60010ac2
+da400ac2
+20203c25
+68008b04
+c080bc17
+e8608000
+6000c6b2
+58000000
+600146b4
+20203c1a
+e8620000
+6002468a
+70468904
+70466300
+20403c1a
+20205f31
+68008b04
+c081bc17
+e8608000
+c0003b82
+c000bb8a
+20203c17
+e8688000
+e8608000
+c0013b88
+7d3a0407
+204067fb
+20203c1a
+20406806
+20203c1a
+e8688000
+20406812
+e8608000
+2feffe00
+2040682c
+20203c1a
+68008b04
+c080bc17
+e8688000
+2040681d
+58000000
+7d20fe00
+da200001
+20203b0a
+1a220600
+e8608000
+1fe20400
+c040bba3
+c0413ba8
+c041bbae
+6000c4c6
+c0003bb3
+c000bbb6
+c0013bb8
+20203c17
+6800c4be
+203a3c17
+6008c4c6
+7044560d
+20203bb4
+6800c4be
+203a3c17
+6008c4c6
+7044560d
+70445401
+20203c1a
+6800c4be
+203a3c17
+6008c4c6
+7044560d
+20203bb9
+70445600
+70445403
+20203c1a
+70445605
+20203bb4
+70445605
+70445400
+20203c1a
+68008b04
+1fe67c1f
+24213c17
+6000c36f
+1fe27200
+1a220600
+d8a04370
+204066ea
+20203c1a
+68008b04
+1fe67c1f
+24213c17
+6000c38f
+1fe27200
+1a220600
+d8a04390
+204066ea
+20203c1a
+68014682
+c304bc17
+68008b04
+c0843c17
+1a220600
+e8640000
+60044496
+700a9912
+20407d8f
+20203c1a
+e8610000
+60014482
+20203c1a
+6800c4c6
+203a3c17
+6800c4c4
+c0803c17
+6800c4c5
+c0803c17
+20407e25
+20203c1a
+68008b04
+c082bc17
+e8608000
+6000c6a2
+e8620000
+600246a3
+6808c6a2
+2040680e
+20403cbc
+20203c1a
+68008b04
+c080bc17
+e8608000
+6000c1de
+20203c1a
+e8608000
+c000bbfa
+6800c4c1
+c001bbf8
+c0033bf8
+c003bbf8
+20203c17
+7044c201
+20203c1a
+20405b53
+20203c1a
+68008b04
+c080bc17
+20403c1a
+e8608000
+203a60cb
+202060c9
+20403c1a
+20407f9e
+70801001
+20202a8e
+68008b04
+c0003c17
+e8608000
+203a3c13
+68008b04
+c082bc17
+e8620000
+d84f4240
+98467c00
+20213c17
+600244c7
+2040580c
+20203c1a
+2040580e
+20203c1a
+70409100
+20203c1a
+d8400001
+da200000
+20203c25
+d8400000
+da200000
+20203c25
+700b0300
+20203c49
+700b0302
+20203c49
+700b0303
+20203c49
+700b0305
+20203c49
+68008b03
+1fe22600
+700b0306
+58000002
+9a20fe00
+20403ca7
+1a627e00
+e1408000
+e1488000
+1a227200
+1a420c00
+204066e4
+202066c5
+2040397f
+700b0307
+680084ff
+207a0000
+20403ca7
+680084ff
+1fe27200
+68010501
+1fe20c00
+204066d1
+202066c5
+700b0308
+6800c6b6
+1fe27200
+1fe0fe02
+20403ca7
+680146b9
+e1410000
+680146b7
+1fe20c00
+204066d1
+202066c5
+700b0309
+58000000
+20403ca7
+202066c5
+700b030a
+58000001
+20403ca7
+20403c5d
+68014682
+d8e00002
+afefffff
+79208403
+d8e00009
+afefffff
+79208405
+6800c682
+d8e00004
+afefffff
+79208404
+e1488000
+202066c5
+d8400000
+6800c093
+d8e00000
+afefffff
+79208400
+d8e00001
+afefffff
+79208401
+6800c36e
+d8e00000
+afefffff
+79208402
+20600000
+700b030d
+6800c217
+1feffe22
+1fe27200
+20403ca7
+68014215
+1fe20c00
+204066d1
+202066c5
+700b030e
+58000004
+20403ca7
+680209ba
+e1420000
+202066c5
+700b030f
+68110112
+d84000ff
+20407fdd
+1fe27200
+20403ca7
+204066cb
+20406703
+202066c5
+700b0310
+20203c49
+700b0311
+58000004
+20403ca7
+680244c7
+e1420000
+202066c5
+da200180
+20203c91
+da200080
+20203c91
+da200101
+20203c91
+da200001
+70466100
+700b0314
+58000002
+20403ca7
+1a227e00
+e1410000
+202066c5
+da600000
+20203c9b
+da600001
+700b0315
+58000001
+20403ca7
+1a627e00
+e1408000
+202066c5
+700b031d
+58000004
+20403ca7
+680209ba
+e1420000
+202066c5
+700b0202
+60008b04
+600c0aa2
+44f1401c
+20403cb1
+680c0aa2
+204066c2
+68018b02
+e1418000
+20600000
+20403cba
+20608000
+20403cb8
+680246a3
+1feb7e00
+207a0000
+20203cbe
+6808c6a2
+20206829
+6808c6a2
+2020681b
+6808c6a2
+20206825
+1fe0ffff
+20000026
+243a3cbe
+20600000
+20403ad4
+20740000
+1a227e00
+600146b7
+1a427e00
+6000c6b6
+68010478
+680946bb
+98467c00
+2022bccf
+680946bd
+98467c00
+24628000
+600146b9
+20203c3d
+6800c6bf
+c3828000
+20403cf0
+2020340c
+70417202
+20600000
+20203cd8
+6800c6b2
+207a0000
+6800c6b3
+207a0000
+1fe0ffff
+6000c6b3
+247a0000
+7046b30a
+204068eb
+20406908
+1fe6fc64
+20407f86
+1807fe00
+18070400
+6000c6b4
+6008c6b5
+20600000
+20407fb4
+202133d9
+202033db
+d8e00006
+20203cfc
+d8e00006
+20203cf8
+d8e00005
+20203cfc
+d8e00005
+20203cf8
+d8e00004
+20203cfc
+d8e00004
+20203cf8
+6800c6bf
+f93ffe00
+6000c6bf
+20600000
+6800c6bf
+f9207e00
+6000c6bf
+20600000
+20403d39
+2040640f
+204040c6
+20403d66
+20406411
+20758000
+20403d16
+20403d19
+680246d3
+c3880000
+20403d4e
+c6130000
+68014682
+c28642b0
+202042a2
+680246d3
+c40d8000
+df200014
+58030d40
+20402a8f
+c2007ec1
+20600000
+680246d3
+c4080000
+202048ea
+5800416d
+600141ef
+58003f77
+600141f1
+58003ebb
+600141ed
+5800417c
+600141f5
+58003de3
+600141f3
+58003eb3
+600141eb
+58003d5b
+600141f9
+20402c7a
+58004401
+1a608ad8
+e0a10000
+58004406
+1a608ada
+e0a10000
+58003ebf
+1a608adc
+e0a10000
+580041f9
+600141fd
+58003d36
+60014201
+20600000
+680246d3
+c30964d7
+202064da
+20758000
+20402c9d
+20403e6e
+20403e1e
+20403e54
+20405810
+20405839
+2040582c
+20405818
+680246d3
+c28a3d46
+c289c414
+20600000
+2040659c
+680246d3
+2feffe19
+2440e5c2
+2040443f
+20403dc9
+204041aa
+202065df
+680246d3
+c30f3d53
+68008abd
+2fec0003
+24608000
+6800c71f
+6000c71e
+6800c6f5
+c3830000
+680246d3
+c4088000
+c28eaee4
+20202f2c
+68008478
+1fe67e1a
+24628000
+700a9912
+20407d8f
+d8e00000
+202041b9
+6800c6b6
+c1008000
+7046b601
+20600000
+6800c6e1
+1fe17e0f
+6000c77a
+20203d80
+6808c6e7
+2040681d
+2420bd62
+6800c6b6
+c1000000
+7046b600
+6800c77a
+1fe0fe01
+1fe17e03
+6000c77a
+20403d7e
+680246d3
+c28a443b
+c289bd79
+20600000
+d840001e
+2040680e
+d840001f
+2040680e
+20204435
+44f1c01c
+2040424a
+6800c6e0
+c002bdaa
+c0023d96
+6800c77a
+c0003d8a
+c000bd88
+c0013d8c
+c001bd8e
+6800c780
+20203dbe
+6800c77f
+20203dbe
+6800c781
+20203dbe
+6800c782
+20203dbe
+6800c6e0
+c1030000
+6800c6b5
+1fe0fe01
+6000c6b5
+20600000
+6800c77a
+c0003d9d
+c000bd9b
+c0013d9f
+c001bda1
+6800c784
+20203da2
+6800c783
+20203da2
+6800c785
+20203da2
+6800c786
+6000c6b5
+1fed7e00
+1fe22200
+1fe0fe0d
+20406413
+1a227e00
+1fe0fe0e
+20206413
+6800c77a
+c0003db1
+c000bdaf
+c0013db3
+c001bdb5
+6800c788
+20203db6
+6800c787
+20203db6
+6800c789
+20203db6
+6800c78a
+6000c6b5
+204040c0
+6800c6b5
+1fe0fe80
+1fed7e00
+1fe0fe05
+1fe22200
+2020415a
+6000c6b5
+20403d90
+6800c6b5
+58000006
+20406414
+1fe104f8
+6800c6b5
+9840fe00
+1fed7e00
+1fe0fe06
+20206413
+204033c4
+2022c316
+2040441c
+204042e4
+202033bd
+68014707
+207a0000
+680246d3
+c4088000
+c3818000
+c6130000
+20404083
+c1838000
+20404482
+d8e00003
+204043ce
+58000000
+600146ae
+6000c6b4
+20403263
+68014682
+c283c392
+c284b402
+c28033e9
+204042ca
+20202ead
+20403dce
+20407e34
+20403d6a
+20403de9
+20403ee0
+20203df7
+680246d3
+c4080000
+204048d3
+202048fd
+68108a04
+c303bdf1
+c283bdf4
+20600000
+6800c6ff
+c4038000
+2020659a
+6800c6ff
+c3838000
+20204381
+20403ded
+68108a04
+6000c6ff
+c4038000
+20403e07
+680246f9
+6808c6fd
+98408400
+1c427e00
+98467c00
+24610000
+600246f9
+20403f97
+24740000
+700d3804
+20203e0f
+680a46f9
+1c427e00
+98467c00
+24413e0c
+20600000
+58000000
+600246f9
+20600000
+68008d38
+c4010000
+20203e12
+68108a04
+c4038000
+700d5220
+58000001
+60008d54
+6803c69a
+e0a38000
+20600000
+68110050
+793ffe0b
+60110050
+20600000
+58008c00
+60014575
+58008e7a
+600144bc
+58002402
+600140bd
+58002580
+6001c0aa
+70417303
+70415608
+7046d901
+58000200
+60014154
+7044a617
+7044a817
+58000a77
+60014212
+38000306
+38044440
+38090000
+380c4408
+6004c577
+38001224
+38044000
+38080000
+e0a28000
+3803ffff
+3806fe23
+380999d9
+380c020d
+60044098
+5800012c
+60014707
+204057a3
+680246d3
+c40f8000
+20403e44
+20203e4c
+6808c6f7
+204067fb
+6808c6f7
+2040681d
+7046f603
+20608000
+7046f602
+20600000
+6808c6f8
+204067fb
+6808c6f8
+2040681d
+70422d00
+20608000
+70422d02
+20600000
+6800c22d
+c0003e59
+c000be62
+c0013e6b
+20203e59
+68094221
+68014227
+98467e00
+1feffe14
+1fe6fc64
+20407f86
+1807fe00
+600146d0
+20600000
+6809421f
+68014225
+98467e00
+1feffee6
+1fe6fd90
+20407f86
+1807fe00
+600146d0
+20600000
+68014223
+600146d0
+20600000
+6808c23a
+2040680e
+204048fb
+6808c6e2
+204067fb
+6808c6e3
+204067fb
+6808c6e4
+204067fb
+6808c6f3
+204067fb
+6808c6dc
+2040680e
+6808c6e8
+204067fb
+6808c6e9
+204067fb
+6808c6ea
+204067fb
+6808c6eb
+204067fb
+6808c6e5
+204067fb
+6808c6e6
+204067fb
+6808c6ef
+2040680e
+6808c6f0
+2040680e
+6808c6f1
+2040680e
+6808c6f2
+2040680e
+6808c6f4
+2040680e
+6808c6ed
+204067fb
+6808c6ec
+204067fb
+6808c6e7
+202067fb
+6808c6e8
+204067dd
+6808c6e9
+204067dd
+6808c6ea
+204067dd
+6808c6eb
+202067dd
+6808c6e8
+20403ea7
+6808c6e9
+20403ea7
+6808c6ea
+20403ea7
+6808c6eb
+20203ea7
+18467cff
+20628000
+18410e7f
+6812011c
+afefffff
+68120078
+f920fe00
+60120078
+6812007c
+fd20fe00
+6012007c
+20600000
+78347c00
+68120138
+79347e1a
+6012004c
+20402c21
+20404482
+20403e9f
+20203ebf
+20403ebf
+680080a0
+247a0000
+202067ed
+20403ee0
+d8400019
+680246d3
+2feffe12
+2040bede
+2040680e
+204063ee
+6808c6e2
+204067dd
+6808c6e3
+204067dd
+6808c6e4
+204067dd
+6808c6e5
+204067dd
+6808c6e6
+204067dd
+6808c6e7
+204067dd
+6808c6ed
+204067dd
+6808c6e8
+204067dd
+6808c6e9
+204067dd
+6808c6ea
+204067dd
+6808c6eb
+204067dd
+6808c6f3
+202067e1
+d840001e
+20600000
+44f2401c
+20403eee
+20403f36
+6800c6b8
+6808c6b7
+6000c6b7
+98467c00
+2422b3d4
+6800c6be
+6808c6bd
+6000c6bd
+98467c00
+2422b3d4
+20600000
+6800c6ea
+c17f8000
+da200000
+6808c6ea
+2040681d
+7920a200
+6808c6eb
+2040681d
+7920a201
+1a227e00
+6000c6b8
+c000befe
+c0013f02
+6800c6b9
+c283bf0e
+20600000
+6800c6b7
+c0003f06
+c001bf08
+20600000
+6800c6b7
+c0003f0a
+c001bf0c
+20600000
+7046b982
+20600000
+7046b981
+20600000
+7046b980
+20600000
+7046b983
+20600000
+6800c6b9
+793ffe07
+6000c6b9
+c0003f16
+c000bf19
+c0013f1c
+c001bf1f
+20600000
+6800c6b8
+c001bf22
+20600000
+6800c6b8
+c0003f22
+20600000
+6800c6b8
+c001bf2c
+20600000
+6800c6b8
+c0003f2c
+20600000
+6800c6bc
+1fe0fe01
+6000c6bc
+1fe67c01
+20610000
+7046bc00
+6800c6ba
+1fe0fe01
+6000c6ba
+20600000
+6800c6bb
+1fe0fe01
+6000c6bb
+1fe67c01
+20610000
+7046bb00
+6800c6ba
+1fe0ffff
+6000c6ba
+20600000
+6800c6e8
+c17f8000
+da200000
+6808c6e8
+2040681d
+7920a200
+6808c6e9
+2040681d
+7920a201
+1a227e00
+6000c6be
+c000bf46
+c0013f4a
+6800c6bf
+c283bf56
+20600000
+6800c6bd
+c0003f4e
+c001bf50
+20600000
+6800c6bd
+c0003f52
+c001bf54
+20600000
+7046bf82
+20600000
+7046bf81
+20600000
+7046bf80
+20600000
+7046bf83
+20600000
+6800c6bf
+793ffe07
+6000c6bf
+c0003f5e
+c000bf61
+c0013f64
+c001bf67
+20600000
+6800c6be
+c001bf6a
+20600000
+6800c6be
+c0003f6a
+20600000
+6800c6be
+c001bf6f
+20600000
+6800c6be
+c0003f6f
+20600000
+7046c200
+6800c6c0
+1fe0fe01
+6000c6c0
+20600000
+7046c100
+6800c6c0
+1fe0ffff
+6000c6c0
+20600000
+58000002
+6000c680
+20600000
+6800c1e2
+207a0000
+20405271
+247a0000
+680246d3
+c281bf8a
+c2803f8a
+c282bf8a
+20403f97
+24740000
+da200009
+20404d63
+6801424e
+e0a10000
+580002a1
+e0a10000
+6803c69a
+e0a38000
+20600000
+58000000
+6003c69a
+20203f81
+680146aa
+600146b0
+20600000
+44f2c01c
+da200007
+6809446f
+20405a64
+6803c69a
+e0a38000
+20600000
+44f3401c
+78547c00
+58000000
+6003469b
+20403fb5
+20404079
+2040407e
+20404099
+24740000
+20403f8d
+d8e00008
+202043ce
+6801469b
+1fe67e00
+6001469b
+20207fe7
+6801469d
+1fe67e00
+6001469d
+20207fe7
+6801469d
+1fe67e00
+6001469d
+6801469b
+1fe67e00
+6001469b
+20404002
+20207fe7
+20404002
+20207fe7
+6800c239
+c1800000
+6800c6e0
+c0003fe2
+c000bfe2
+c0013fe2
+c001bfe2
+c0023fc4
+c002c010
+c0033fe2
+20203fe2
+6800c6a7
+205a405d
+7046a701
+20600000
+20403fc0
+6808c6f3
+2040681d
+24608000
+58000000
+20406414
+c09840d1
+58000002
+20406414
+c4038000
+2040405d
+20403fde
+6000c6a1
+1ff1fe00
+20404169
+6000c69c
+6800c6a1
+1fe17e0f
+20404169
+6000c69e
+6800c6f6
+c0003fa3
+c000bfab
+c0013fa7
+c001bfb3
+20600000
+58000012
+20206414
+c018bfea
+202040d1
+20403fc0
+78547c00
+6808c6f3
+2040681d
+24608000
+58000000
+20406414
+c0983fe0
+58000002
+20406414
+c4038000
+2040405d
+6800c69b
+20404165
+6001469b
+6800c69d
+20404165
+6001469d
+6800c6f6
+c0003ffa
+c000bffc
+c0013ffe
+c001c000
+20600000
+20403fa3
+202040b3
+20403fab
+202040b3
+20403fa7
+202040b3
+20403fb3
+202040b3
+6801469d
+6809469b
+6001469b
+6009469d
+20600000
+2040640f
+20000064
+1a427e00
+20406414
+1fe22400
+20406411
+20000064
+1a427e00
+20600000
+78547c00
+6808c6f3
+2040681d
+24608000
+da400002
+20404007
+c4038000
+da400000
+20404007
+6000c6dd
+c09f4145
+6800c6a7
+205a4039
+7046a701
+20404039
+6800c6a1
+1ff1fe00
+20404169
+6000c69c
+6800c6a1
+1fe17e0f
+20404169
+6000c69e
+6800c6f6
+c0004031
+c000c035
+c0014033
+c001c037
+20600000
+6800c6a4
+c0004051
+c000c045
+20600000
+20403fa3
+2020402d
+20403fa7
+2020402d
+20403fab
+2020402d
+20403fb3
+2020402d
+2040640f
+2040405d
+dfe00005
+20406414
+6000c6a1
+dfe00007
+20406414
+6000c6a2
+dfe00008
+20406414
+6000c6a3
+20206411
+6800c6a2
+c1800000
+6800c6a3
+1fe67c2d
+20610000
+7046a400
+5800ba41
+20406405
+58000032
+20406405
+5800b541
+20206405
+6800c6a2
+c1800000
+6800c6a3
+1fe67c2d
+24610000
+7046a401
+5800ba41
+20406405
+58008032
+20406405
+5800b541
+20206405
+dfe00003
+20406414
+6001469b
+dfe00004
+20406414
+6001469d
+20600000
+d840001b
+204067fb
+d840001b
+2040681d
+20608000
+68108109
+79207e04
+60108109
+20600000
+6808c6c0
+68108109
+9840fe00
+207a0000
+6000c69f
+7046c000
+20207fe7
+6808c6c0
+68108109
+9840fe00
+6000c6c0
+20600000
+6800c6c0
+207a0000
+6000c69f
+7046c000
+20207fe7
+6800c6ba
+207a0000
+6000c6a0
+7046ba00
+20207fe7
+da200000
+6808c6e2
+2040681d
+7920a200
+6808c6e3
+2040681d
+7920a201
+6808c6e4
+2040681d
+7920a202
+20404090
+1a227e00
+20600000
+6800c6e5
+c17f8000
+6808c6e5
+2040681d
+7920a203
+6808c6e6
+2040681d
+7920a204
+20600000
+20404083
+204040a8
+204040a3
+1a227e00
+6808c69a
+6000c69a
+9842fe00
+1fe67c00
+20628000
+20207fe7
+c6930000
+1a227e00
+207a0000
+6000c69a
+20207fe7
+68014682
+c284c0ad
+68014682
+c28040b0
+20600000
+1a227e00
+243a5820
+20205822
+1a227e00
+243a2bc7
+20202bc9
+44f3c01c
+d840001a
+680246d3
+2feffe12
+2040c0be
+2040681d
+20608000
+5800000a
+20406414
+200003e8
+202040b3
+d840001f
+20600000
+680246d3
+c28940c4
+d840001a
+202067fe
+d840001f
+202067fe
+20403d36
+20758000
+204040c0
+6800c6e0
+c002c0d5
+204040d9
+c01840e0
+c018c0ea
+204040d1
+200003e8
+202040cb
+44f4401d
+680246d3
+c28963e0
+202063d1
+204040d9
+c01f414b
+20404145
+202040d5
+58000001
+20406414
+6000c6de
+58000000
+20406414
+6000c6dd
+20600000
+6800c6de
+c068c139
+c06940f8
+c00140ee
+c02a40e6
+20600000
+7046e002
+20600000
+7046e006
+20600000
+6800c6de
+c03840e8
+7046e001
+20600000
+7046e004
+204040f6
+58003426
+20406413
+58000419
+20406413
+58000009
+20206413
+58005a09
+20206413
+7046e003
+204040f6
+58000f0d
+20406413
+5800e31d
+20406413
+5800d27d
+20406413
+20404102
+2020411a
+5800351b
+20406413
+5800b428
+20406413
+58004629
+20406413
+5800962a
+20406413
+58008c2b
+20406413
+58006e2c
+20406413
+5800642d
+20406413
+58005f38
+20406413
+58000f39
+20406413
+5800323a
+20406413
+5800473b
+20406413
+58001042
+20206413
+58002e54
+20406413
+5800f255
+20406413
+5800f461
+20406413
+58007063
+20406413
+58005275
+20406413
+58004176
+20406413
+5800ed77
+20406413
+58002378
+20406413
+58004679
+20406413
+5800e57a
+20406413
+5800487c
+20406413
+5800777e
+20406413
+5800017f
+20406413
+5800000b
+20406413
+5800007f
+20406413
+202040f4
+7046e000
+204040f6
+5800100d
+20406413
+5800ed1d
+20406413
+5800807d
+20406413
+20404102
+58000943
+20406413
+2020411a
+6808c6dc
+20406829
+20407ec1
+6808c6dc
+20406825
+20207ec1
+7046e005
+5800ba41
+20406405
+58000d11
+20406405
+5800041b
+20406405
+5800041c
+20406405
+58000f1d
+20406405
+58000032
+20406405
+5800b541
+20206405
+5800ba41
+20406405
+20000fa0
+5800ff7f
+20406405
+1a227e00
+20406405
+5800007f
+20406405
+5800b541
+20206405
+c4038000
+d840ff00
+9841fe00
+20600000
+c4018000
+d84000f0
+9841fe00
+20600000
+20405892
+247a0000
+6800c6c5
+1fe17e03
+c1818000
+680246d3
+c281c179
+c2804179
+c282c179
+20403f97
+24740000
+20203f90
+58000000
+6003c69a
+20203f90
+1a627e00
+c00a41c3
+c000c2ca
+c00ac1d9
+c00141d9
+c002c1d6
+c008426c
+c009429b
+c00341d5
+c00241cc
+c009c1cc
+c00541ca
+c01733cd
+c018c1b4
+c01941b6
+c01f4191
+c013c38e
+c01cc19c
+c01d4192
+c01e419a
+20600000
+20203410
+70478b01
+6800c71e
+243a4492
+6800c720
+6808c703
+98467c00
+2022b40a
+20600000
+70478b01
+20600000
+70478b01
+d8e00003
+204043d2
+58000000
+60014707
+7046a700
+6800c6e0
+1fe67c05
+2042c039
+2442c05d
+68008004
+c289c1af
+204041aa
+202065d1
+20402c7a
+1a60a2ae
+da40005b
+d8400004
+20600000
+20402c7a
+1a60a4ae
+ea408000
+6000c77b
+20204435
+d8e00002
+202041b9
+7046c602
+d8e00001
+202041b9
+6800c6c5
+f9207e00
+6000c6c5
+20600000
+6800c6c5
+f93ffe00
+6000c6c5
+20600000
+7046c500
+20600000
+6801420a
+793ffe00
+6001420a
+58000000
+600146ae
+20403f8d
+202042ca
+204063cb
+202033dd
+6800c71e
+243a4492
+68014682
+c28642b0
+680246d3
+c28041d7
+c282c2b0
+c281aead
+202033a7
+20203f74
+20600000
+204043c0
+2020659a
+44f4c01d
+204041e7
+680246d3
+c28041d7
+c281aead
+6800c71e
+243a4492
+68014208
+c283c1f5
+c28033a9
+c280c1ef
+c28141f2
+c281c1f2
+202042b0
+58000000
+600446b7
+e0a20000
+7046b400
+7046a700
+7041e200
+70442900
+20600000
+c282c1f2
+c281c1f2
+202042b0
+68014682
+c28642b0
+202033a7
+204041c1
+68014208
+c28033a9
+202033a7
+204043d6
+20404243
+20404246
+20404250
+2040445d
+20404443
+20404333
+204043a5
+204043eb
+20404209
+20404231
+20404234
+20404237
+2040423a
+2040423d
+20204240
+6800c711
+207a0000
+1fe0ffff
+6000c711
+247a0000
+2020420f
+6800c712
+c1000000
+c002c216
+20404225
+70471205
+70471105
+20600000
+2040422c
+70471204
+70471105
+20600000
+58008006
+20406413
+200003e8
+70471100
+70471200
+202040e0
+5800a006
+20406413
+5800a005
+20206413
+70471100
+6800c6e0
+c0024220
+58000106
+20406413
+5800a105
+20206413
+70471100
+58000906
+20206413
+70471105
+70471201
+20600000
+da604680
+da40429b
+2020336d
+da6046ac
+da404264
+20203374
+da6046ae
+da404266
+20203374
+da6046b0
+da40426a
+20203374
+da6046c4
+da404478
+2020336d
+da6046c6
+da40425e
+2020336d
+da604704
+da404249
+2020336d
+da604707
+da404249
+20203374
+20600000
+680246d3
+c40b8000
+7046df0a
+6800c6f4
+6000c715
+20600000
+da6046df
+da404253
+2020336d
+6800c6f4
+6000c715
+58000190
+60014716
+60014718
+da200000
+6808c77a
+18408401
+6008c714
+70471301
+20600000
+6800c6c5
+c3810000
+700a9912
+20407d8f
+d8e00000
+202041b9
+204042ca
+2020340a
+204033f6
+6800c71e
+243a4492
+2020340a
+c5137e1d
+20204386
+44f5401d
+7046b400
+20404386
+204041c1
+202042b0
+680341d0
+203a33eb
+2040427e
+70016d17
+6800c65a
+243a33e1
+70016d04
+202033e1
+680146a8
+600146ae
+2040427e
+20403418
+20207df4
+580000c8
+60014716
+60014718
+20204285
+580003e8
+60014716
+60014718
+6800c720
+c000c28a
+c001428c
+c001c28e
+20600000
+6800c6f0
+2020428f
+6800c6f1
+2020428f
+6800c6f2
+60008aa2
+20404482
+68008aa2
+6000c715
+da200000
+70471301
+20207d1e
+da200000
+20207d19
+da200000
+20207d14
+202041c1
+7041e201
+20403416
+20403412
+58000000
+6001467e
+6000c680
+2020340e
+2040435f
+6800c720
+6808c703
+98467c00
+2022c2ab
+6800c210
+c019c271
+c01a4279
+202042b0
+20403d57
+c6130000
+6800c71e
+243a4492
+20600000
+44f5c01d
+68014682
+c285c2b7
+680246d3
+c30c42b7
+180a7e00
+6000c4a1
+20403418
+68014687
+600146ac
+70016d06
+58000000
+600146b0
+600146ae
+d8e00007
+204043ce
+204043ca
+6800c092
+2feffe01
+2040fdf4
+6800c092
+2feffe00
+2040fddd
+680246d3
+c28e422e
+20204282
+44f6401d
+6800c092
+2feffe01
+2040c2d4
+6800c092
+2feffe00
+2040c2d7
+680246d3
+c28e421a
+20204482
+58000000
+600146ae
+20207dfa
+58000000
+600146ac
+20207de2
+680246d3
+c4038000
+d8e00007
+204043d2
+204042e8
+204042fb
+680246d3
+c289c435
+c28a42e4
+20600000
+d8400058
+da204720
+da400000
+202065d1
+68008185
+c01a42ec
+c019c2ef
+20600000
+6000c6c7
+6803044f
+202042f1
+6000c6c7
+68030040
+600346c8
+6803c6c7
+d8c04721
+df200003
+e8cb8000
+98467c00
+2022c310
+18c08c16
+c20042f5
+20600000
+da204721
+6800c720
+1fe0ffff
+1feffe1d
+9a20a200
+68008185
+e2208000
+c01a4305
+c019c30c
+20600000
+6803044f
+e0a30000
+d8c04419
+20407ebf
+680344a0
+e0a30000
+20600000
+68030040
+e0a30000
+d8c041be
+20207ebf
+18c08dfa
+18c20a00
+680b46c8
+18408403
+e0ab0000
+20600000
+d8400058
+da204720
+da400000
+204065df
+da204721
+6800c720
+6808c703
+98467c00
+20628000
+1fe0ffff
+1feffe1d
+9a20a200
+ea208000
+6000c210
+c019c327
+c01a432c
+20600000
+e8c30000
+600341d0
+d8a041be
+20407ebf
+202067d7
+e8c30000
+600341d0
+d8a04419
+20407ebf
+e8c30000
+600344a0
+20600000
+6800c6f5
+c282c349
+c2834359
+20204337
+20404083
+c003433e
+7046d81e
+6800c6d9
+c1008000
+7046d901
+20600000
+20404343
+6800c6d9
+c1000000
+7046d900
+202043c0
+6800c6d8
+207a0000
+1fe0ffff
+6000c6d8
+247a0000
+20204370
+6800c6ed
+c17f8000
+6808c6ed
+2040681d
+2020c354
+6800c6d9
+c1008000
+7046d901
+680246d3
+c3830000
+20204370
+6800c6d9
+c1000000
+7046d900
+d8e00006
+202043d2
+68008004
+c4030000
+6800c720
+c000c369
+c001436c
+20600000
+68008004
+c4030000
+6808c6ed
+2040681d
+2020c366
+70472001
+20600000
+6800c703
+6000c720
+20600000
+6808c6ed
+2420c370
+20600000
+6808c6ed
+2040681d
+2020c354
+20600000
+6808c720
+18408401
+6800c6d2
+98467c00
+244143cc
+6008c720
+7041bd00
+2040437a
+204043c0
+2020437e
+d8400001
+da204720
+da400000
+20206606
+20404381
+204043c2
+202041d7
+68014682
+c283c392
+c284b402
+c28033e9
+202042ca
+44f6c01d
+58000000
+600146b0
+68014682
+c284b402
+68014682
+c28033e9
+20600000
+58000001
+60030040
+70018533
+202042df
+204043c4
+20207e2f
+6800c6ec
+c17f8000
+6808c6ec
+2040681d
+2020c39f
+6800c685
+6000c6da
+6800c6db
+c1008000
+7046db01
+202043ca
+204043b5
+6800c6db
+c1000000
+7046db00
+20407e2f
+202043c8
+6800c6f5
+c2824394
+20404083
+c003c3af
+6800c685
+6000c6da
+6800c6db
+c1008000
+7046db01
+202043ca
+204043b5
+6800c6db
+c1000000
+7046db00
+20407e2f
+202043c8
+da6046da
+da4043b8
+2020336d
+d8e00006
+204043ce
+20403357
+2020426c
+d8e00001
+202043ce
+d8e00001
+202043d2
+d8e00000
+202043ce
+d8e00000
+202043d2
+d8e00002
+202043ce
+d8e00002
+202043d2
+d8e00005
+202043ce
+d8e00005
+202043d2
+d8400001
+20600000
+680246d3
+f9207e00
+600246d3
+20600000
+680246d3
+f93ffe00
+600246d3
+20600000
+680246d3
+c40d0000
+6800c6ce
+1fe0fe01
+6000c6ce
+1fe67c0a
+20610000
+7046ce00
+204068eb
+20406908
+6001470f
+da204709
+20406930
+6800c231
+c280c4a0
+c30043e9
+202043e7
+d8e00004
+202043ce
+d8e00004
+202043d2
+680246d3
+c4020000
+6800c6ef
+6000c715
+6800c6cf
+1fe0fe01
+6000c6cf
+1fe67c14
+244143f9
+c00143fb
+c00243fe
+c00343fb
+c00443fe
+20600000
+7046cf01
+202043fe
+da200000
+70471302
+20207d14
+da200000
+70471302
+20207d19
+20403f97
+24740000
+da200007
+da40469a
+20600000
+6800c78b
+207a0000
+6808c6e7
+2040681d
+2040c410
+6800c704
+247a0000
+20404083
+247a0000
+20202d83
+6800c6e7
+c17f8000
+7047040a
+20600000
+20404423
+68014778
+d840aa55
+98467c00
+2022c42b
+60094778
+2040441c
+20204435
+680344a0
+60034738
+1fe0ff00
+60034755
+1fe0ff00
+60034772
+20600000
+58004778
+d8404720
+98460400
+6801c700
+9840fe00
+d8400002
+da204778
+20206562
+5800477f
+d8404720
+98460400
+6801c700
+da204720
+20406562
+2040431a
+6802477b
+20402c7a
+2020322c
+5800477f
+d8404720
+98460400
+da204720
+6801c700
+20206514
+d8400001
+da20477a
+da40005a
+202065d1
+d8400001
+da20477a
+da40005a
+202065df
+c6130000
+680246d3
+c40b0000
+6800c705
+1fe0fe01
+1fe17e07
+6000c705
+c1838000
+68014682
+c280444f
+c284c44f
+20600000
+44f7401d
+6800c706
+247a0000
+680246d3
+c4040000
+6800c6a5
+204063fb
+6000c6a6
+1fe67c10
+2021445b
+70470600
+20600000
+7047061e
+20600000
+da604706
+da404460
+2020336d
+6800c6a5
+20406414
+1fe67c10
+24610000
+680246d3
+c4040000
+d8e00008
+204043d2
+70417200
+7046c41e
+20404482
+680246d3
+c28ac471
+6800c720
+c000c489
+c0014476
+20600000
+6800c720
+c000c489
+c001448c
+c001c48f
+20600000
+6800c6f0
+2020428f
+70417220
+20204482
+6800c6f0
+c17f8000
+6000c715
+20204296
+6800c6f1
+c17f8000
+6000c715
+20204296
+20404296
+2040447a
+2040447e
+6800c6f2
+c17f8000
+6000c715
+20204296
+6800c6f0
+6000c715
+20204298
+6800c6f1
+6000c715
+20204298
+6800c6f2
+6000c715
+20204298
+44f7c01d
+6800c71e
+1fe0ffff
+6000c71e
+6808c720
+18408401
+6800c6d2
+98467c00
+244143cc
+6008c720
+7041bd00
+2040437a
+204042fb
+202042a2
+20404482
+58000000
+600400a1
+20202b1f
+20758000
+68108081
+1fe17ef0
+60108081
+20406948
+580044e6
+600141eb
+580044e9
+600141ed
+580044ef
+600141f3
+580044f2
+600141f5
+580033d0
+600141e9
+20402c7a
+580045c2
+1a608ad8
+e0a10000
+580044ea
+1a608ada
+e0a10000
+580044e9
+1a608adc
+e0a10000
+5800450e
+600141fd
+580044da
+6001475b
+580044d6
+6001475f
+58004560
+6001470f
+44f8401e
+204044e2
+20407e38
+70417202
+6800c72b
+6000c69a
+c00044d5
+6800c72c
+6000c686
+204044db
+20407cd3
+20407cdd
+70475701
+68014682
+c3860000
+2020340a
+70475702
+204044db
+da200000
+20407d1e
+20202ee4
+202044db
+44f8c01e
+6800c729
+c0ffc4e0
+6808c706
+2020680e
+6000c706
+202044de
+20402c9d
+68014753
+60014755
+20204515
+20406835
+204044e9
+2020340a
+2020696c
+6800c765
+207a0000
+20202d83
+20600000
+20206978
+20404544
+20404503
+202044ee
+1a627e00
+c016b431
+c008341a
+c01cc4fb
+c01e44ff
+c01d44f9
+20600000
+70476501
+20600000
+70476501
+70476301
+70476401
+20600000
+70476501
+70476301
+70476401
+20600000
+6800c763
+c1000000
+6800c762
+c1008000
+70476201
+da200000
+20207d19
+da200000
+20407d19
+204044db
+2020340a
+2040337b
+20204510
+6800c72d
+207a0000
+da604755
+da40450a
+20203374
+2040451a
+6009471a
+2040451f
+6009471c
+20600000
+6801471a
+6001471e
+20404540
+20404525
+6000c724
+6801471c
+6001471e
+20404542
+20404525
+6000c725
+20600000
+68014720
+1fe22200
+6801471e
+2040452e
+6800c719
+243a4537
+24610000
+6809471e
+20600000
+98467e00
+20214534
+1fe67e00
+70471801
+9a267c00
+20600000
+70471800
+9a267c00
+20600000
+2421453e
+6800c718
+243a453c
+58000001
+20600000
+58000002
+20600000
+58000000
+20600000
+70422e33
+202068eb
+70422e34
+202068eb
+6800c72a
+c1808000
+44f9401e
+70471901
+2040451a
+68014724
+68094722
+98467c00
+20628000
+60014722
+20404550
+20204554
+6800c724
+203a455a
+1fe0ffff
+20204557
+6800c725
+203a455d
+1fe0fe01
+1fe20e00
+da200001
+20204560
+d8e00000
+da200000
+20204560
+d8e00002
+da200000
+20204560
+1a227e00
+6000c761
+6800c763
+c0002ee4
+68014753
+60014755
+6800c761
+203a4580
+44f9c01e
+da200000
+20407d14
+18e27e00
+c00245a3
+c002c5a5
+c00345a7
+2040458b
+c0004574
+c001457a
+c001c574
+20600000
+18e27e00
+c000458f
+c000c591
+c0014593
+c001c595
+20600000
+18e27e00
+c0004597
+c000c59a
+c001459d
+c001c5a0
+20600000
+44fa401e
+da200000
+20407d19
+18e27e00
+c00245bc
+c002c5bc
+2040458b
+c00045a9
+c00145af
+c001c5a9
+20600000
+6800c728
+6808c727
+9841fe00
+20600000
+70473401
+202045be
+70473402
+202045be
+70473601
+202045be
+70473602
+202045be
+70473401
+70473601
+202045be
+70473402
+70473602
+202045be
+70473402
+70473601
+202045be
+70473401
+70473602
+202045be
+70473801
+202045be
+70473802
+202045be
+70474101
+202045c0
+18e27e00
+c00045b5
+c000c5b5
+c00145b7
+c001c5b7
+20600000
+18e27e00
+c00045b9
+c000c5b9
+c00145b9
+c001c5b9
+20600000
+70473400
+202045be
+70473600
+202045be
+70473400
+70473600
+202045be
+70473800
+202045be
+da20472e
+20207e3d
+da20473b
+20207e3d
+6800c764
+c000c5cc
+da204744
+20407e54
+243445d1
+d8c04744
+e8c08000
+1fe22200
+da404745
+20600000
+70476400
+78347c00
+da200001
+da404766
+20600000
+6800c747
+c00245d5
+c002c5d5
+20600000
+6800c74a
+243a45dc
+6800c74c
+243a45dc
+6800c74e
+243a45dc
+20600000
+78347c00
+202045c7
+20758000
+68108081
+1fe17efc
+60108081
+580046b4
+600141eb
+580046b3
+600141ed
+5800340a
+600141f7
+580046b1
+600141f3
+58004612
+600141f5
+5800460c
+600141e9
+5800476a
+600141f9
+58004686
+600141fd
+58004729
+600146e7
+58004806
+600146e2
+58004807
+600146e4
+204057a3
+204047da
+20404788
+2040476d
+20406948
+2040477a
+20407e38
+20407d08
+20404793
+204047c7
+44fac01e
+2040464f
+6800c6dd
+c0004609
+6800c6de
+6000c686
+2020480e
+704686ff
+7046df01
+202046d9
+6800c6df
+c00133d0
+2040527e
+6800c256
+243a33d0
+202033d2
+1a627e00
+c000c626
+c0014629
+c0024631
+c002c633
+c0034635
+c003c638
+c009463c
+c009c644
+c013c645
+c0174648
+c01ec649
+c00a4658
+c00ac65c
+c01fc65f
+c0204665
+c008466b
+c016466c
+c016c677
+20600000
+7046ad00
+7046ac00
+20600000
+2040462b
+20204631
+7041e200
+70468000
+70420500
+7046ac00
+7046ad00
+20207e38
+204033a9
+202046c2
+204046b6
+20203408
+58000002
+6000c680
+20600000
+7046ac00
+58000001
+6000c6ad
+20600000
+6800c1e2
+c1008000
+7041e201
+20403416
+20403414
+204046b6
+20403408
+2020340e
+20204631
+58000005
+6000c6ac
+20600000
+202033cd
+da400000
+6800c217
+1fef8422
+68014215
+1fe22200
+20206606
+da400000
+6800c69a
+c4008000
+6800c217
+207a0000
+1fef8422
+68014215
+1fe22200
+202065df
+204046b6
+58000000
+600146b7
+20203408
+20407e38
+7046b000
+202046d9
+20407e38
+7046b001
+680446c1
+60044496
+20403416
+20205abf
+68014509
+c1000000
+680446c9
+207a0000
+60044496
+20205abf
+2020481f
+6800c6dd
+c1000000
+6800c6df
+c1808000
+20404672
+20203406
+7048df01
+df20000b
+d8a048e0
+d8c048c9
+20207f01
+6800c6dd
+c1000000
+6800c6df
+c000c67c
+2020481b
+6800c8df
+c1808000
+7048df00
+68014682
+c2803408
+c284b408
+df20000b
+d8c048e0
+d8a048c9
+20207f01
+2040468c
+20404693
+2040469e
+204046a6
+204046a9
+202046ac
+da6046db
+da40468f
+20203374
+7046df02
+20403408
+204046f4
+2020480b
+da6048ec
+da404696
+2020336d
+68014682
+c284c80b
+c280480b
+6800c8c9
+c000c80b
+c002480b
+c002c80b
+2020340a
+da6046ac
+da4046a1
+2020336d
+6800827f
+79207e00
+79207e07
+6000827f
+20600000
+da604680
+da40463c
+2020336d
+da6046ad
+da4033e9
+2020336d
+6800c6df
+c1808000
+da6046b7
+da4046c2
+20203374
+2040473a
+20206978
+2020696c
+20406835
+202046b3
+6800c69a
+c280c6be
+c28046ba
+20600000
+680146d7
+600146d9
+600146db
+202033f8
+680146d3
+600146d9
+600146db
+202033f0
+6800c6df
+c1808000
+6800c69a
+c280c6c8
+c28046cc
+20600000
+680146d1
+600146d9
+600146db
+202033eb
+68014682
+c3848000
+680146d5
+600146d9
+600146db
+680146b3
+204046f0
+20403404
+680246bd
+600248cc
+68014682
+c3858000
+202033fa
+6800c6df
+c1808000
+6800c69a
+c280c6df
+c28046e4
+20600000
+204046f8
+203a46c2
+20403406
+204033f0
+202033e1
+680146b7
+680946b5
+600946b7
+247a0000
+680146b1
+204046f0
+20403404
+680246b9
+600248cc
+68014682
+c3858000
+202033fa
+60014154
+1fe0fffc
+60014482
+20600000
+68014682
+c284b402
+c28033e9
+202046b6
+6800c217
+1fe27200
+68014215
+1fe22200
+ea210000
+c0004701
+1a20a222
+c20046fc
+20207ff1
+e8c30000
+600341d0
+18c08c0a
+d8a041be
+20407ebf
+204067d7
+20207fef
+20407fe9
+68014682
+c280470d
+c284c710
+20600000
+6800c253
+c19f8000
+20207fe7
+6800c6b0
+207a0000
+20207fe7
+20407fe9
+68014682
+c3800000
+c3848000
+20207fe7
+6800c69a
+c280c71c
+c280471f
+20600000
+6800c093
+c1818000
+202046d9
+202046d9
+78567c00
+680146d9
+600146db
+20404713
+20344718
+20404708
+24740000
+78367c00
+20600000
+20404720
+24760000
+1a227e00
+203a4730
+20403406
+da6046f1
+20204732
+20403408
+da604719
+dfe00005
+98effe00
+9a60a600
+ea608000
+207a0000
+20404762
+1a60a601
+20204735
+68014682
+c284c73e
+c280474e
+20600000
+20405892
+247a0000
+20404765
+24740000
+1fe0ffff
+1feffe05
+d8404741
+98408c00
+e8c08000
+1fe22200
+e8c90000
+20407ea5
+20405a64
+1a227200
+20407e9f
+20207f01
+20405271
+247a0000
+20404765
+24740000
+1fe0ffff
+1feffe05
+d84047a0
+98408c00
+e8c28000
+6002c79b
+6800c79b
+1fe22200
+20404d63
+6801424e
+e0a10000
+580000a1
+e0a08000
+6802479c
+e0a48000
+20600000
+60008a9a
+da200a9a
+20207e3d
+da200a9a
+20407e54
+24740000
+68008a9a
+20600000
+68010478
+c00c465f
+20600000
+58000002
+6000c8eb
+58200008
+600246c1
+592c0005
+e0a20000
+7044a617
+5800001b
+600144fa
+20405810
+2040582c
+20405839
+20205818
+df200028
+d8a04741
+d8c0949f
+20407ef4
+df200028
+d8a047a0
+d8c094c7
+20207ef4
+df20017e
+d8c0913a
+20207ef4
+df2001e7
+d8c092b8
+20207ef4
+204047ae
+24740000
+6800c69f
+20404790
+6800c6a0
+20404790
+6800c6a1
+20204790
+207a0000
+1fe18480
+202067f9
+204047ae
+24740000
+20404797
+202047b4
+da200000
+6800c69f
+204047a9
+7d3a2200
+6800c6a0
+204047a9
+7d3a2201
+6800c6a1
+204047a9
+7d3a2202
+1a227e00
+6000c6a9
+6800c69e
+9a2ffe00
+6809469c
+9840fe00
+600146aa
+20600000
+207a0000
+1fe18480
+2040681d
+2420fff1
+20207fef
+20407fe9
+6800c6a8
+247a0000
+6800c69b
+207a0000
+20207fe7
+2040666a
+680146aa
+da200ac2
+6808c69e
+204066b3
+2040666d
+68008ac2
+1fe27200
+6000c3af
+20407ef4
+68008ac2
+1fe27200
+6000c515
+20407ef4
+e8c08000
+6000c6e6
+e8c08000
+6000c6dd
+20600000
+6800c69a
+c4008000
+d8400003
+680146a4
+1fe22400
+da2046a6
+204065df
+680946a6
+58001b3a
+98467c00
+24628000
+6800c6a8
+207a0000
+1fe20400
+680146a4
+1fe0a403
+da200ac2
+204065df
+202047e8
+680146a2
+207a0000
+2040666a
+d8400001
+da2046a8
+204066b3
+6800c6a8
+207a0000
+680146a2
+1fe0fe01
+da200ac2
+6808c6a8
+204066b3
+2040666d
+204047ba
+e8c10000
+207a0000
+1fe20a00
+e8c88000
+18427200
+20407f01
+202047e9
+6800c69a
+c4008000
+680146ae
+1fe22400
+d8400004
+da200ac2
+204065df
+68008ac2
+c080c7f9
+58000001
+60008ac2
+18007203
+2040630d
+680146ae
+1fe22400
+d8400004
+da200ac2
+20406606
+68018ac3
+6001c0a0
+6001c4a0
+20600000
+202046d9
+da200000
+da6048d4
+20407d24
+204046f4
+6800c8eb
+6000c8ec
+20600000
+58000000
+20404816
+70467901
+20407cd3
+20407cdd
+68014682
+c3860000
+2020340a
+6809423f
+e0408000
+e8a08000
+6000c685
+20600000
+6801423f
+efe08000
+c1800000
+2020340a
+6809423f
+e8408000
+c000c82a
+58000001
+6809423f
+e0408000
+18408c02
+e8c08000
+e0a08000
+e8c10000
+20207f9c
+58000002
+20404816
+18408c05
+e8c10000
+203a340a
+20207f9c
+60030101
+68008101
+6000810c
+e8c08000
+6000810b
+e8c08000
+6000810a
+e8c08000
+60008109
+e8c08000
+60008108
+e8c08000
+60008107
+68030107
+20600000
+204068a2
+6800c223
+6000c4a0
+6800c225
+e0a08000
+6800c227
+e0a08000
+6801c4a0
+6001c0a0
+20600000
+68014203
+9a40fe00
+1ff0fe00
+600101f7
+18422400
+2040489b
+580000a0
+2040488d
+680081f7
+2040488d
+c5144856
+680081f8
+2040488d
+204048a1
+2040489b
+580000a1
+2040488d
+2040487f
+e2208000
+1a20a201
+1a40a5ff
+2422c85a
+202048a1
+1a50fe00
+600101f7
+18422400
+2040489b
+580000a0
+2040488d
+680081f7
+2040488d
+c514486b
+680081f8
+2040488d
+ea208000
+2040488d
+1a20a201
+1a40a5ff
+2422c86b
+202048a1
+df20000a
+204048be
+204048a6
+204048d2
+204048c7
+203a48a9
+c2004875
+202048a9
+204048a9
+204048af
+204048d2
+204048a6
+204048d2
+202048a9
+df200008
+da600000
+204048be
+204048a6
+204048d2
+1a63a600
+204048c7
+9a60a600
+204048d2
+204048a9
+c2004882
+20404879
+1a627e00
+20600000
+df200008
+1fe22600
+204048a9
+2a6ffe07
+2040c8ac
+2440c8af
+1a63a600
+204048d2
+204048a6
+204048d2
+204048a9
+204048d2
+c2004890
+20204871
+204048ac
+204048a6
+204048d2
+204048af
+204048d2
+202048a9
+204048af
+204048a6
+204048d2
+204048ac
+202048d2
+78347c00
+6800cffe
+202048b2
+78547c00
+6800cffe
+202048b2
+78347c00
+6800cfff
+202048b2
+78547c00
+6800cfff
+202048b2
+1fe10e07
+1fe97e00
+d8408070
+98408400
+e8408000
+f9207e00
+e0408000
+18408404
+e8408000
+f9347e00
+e0408000
+20600000
+6800cfff
+1fe10e07
+1fe97e00
+d8408070
+98408400
+e8408000
+f93ffe00
+e0408000
+20600000
+20000004
+6800cfff
+1fe10e07
+1fe97e00
+d840811c
+98408400
+58000000
+e8488000
+a84fffff
+7920fe00
+20600000
+20600000
+44fb401e
+68108a26
+2feffe07
+2040c8ea
+2040492e
+68108a26
+60008b22
+68108a27
+60008b23
+60108a27
+1fe47e00
+68088d37
+98417e00
+60008d37
+708a26e0
+68008b23
+2fe00201
+2040c941
+68008b22
+2fe00201
+2040c94a
+20404b61
+20204903
+44fbc01e
+20404919
+708a0000
+20002710
+708a10c0
+68110050
+793ffe0a
+60110050
+708a003c
+708a26ff
+708a27ff
+708a0400
+700c6b02
+58000d9d
+d8a00c6e
+98a67200
+20207ed4
+68088c6c
+202067fb
+68008d45
+207a0000
+68088c6c
+2040681d
+2020c8ea
+20600000
+d8e00000
+20407f16
+247a0000
+68008d46
+247a0000
+68008d45
+245a4bb7
+20600000
+d8a00b68
+38011212
+38048000
+38080000
+380d0000
+e0a48000
+38022412
+38048604
+38081000
+380c0008
+e0a48000
+38000001
+e0a08000
+20600000
+700c6b02
+58000000
+60008b67
+60010c65
+1fe0fe01
+60010c67
+1fe0fe01
+60010c69
+58008ffa
+60010b7c
+5800903a
+60010b7e
+d8a00b80
+d8c090fe
+20407eb3
+68008c6d
+245a492b
+2020490b
+60008ba2
+60008bbb
+20600000
+68108a26
+c2834931
+20600000
+20404936
+20407f15
+58000280
+d8e00000
+20207f08
+68008d36
+c081493b
+700d4600
+700d4700
+20600000
+68008d53
+207a0000
+700d5300
+700d3602
+700d4501
+20600000
+708a2701
+20204b37
+68008b22
+c2824955
+20600000
+68108a18
+e0a08000
+c2004946
+20600000
+44fc401f
+708a2611
+68108a20
+60008b24
+1fe27200
+203a4943
+d8a00c6e
+20404946
+68008b24
+1fe67c07
+20610000
+68008c6e
+1fe17e80
+c040495a
+c0004962
+20202a8c
+68008c6e
+1ff1fe00
+1fe37e00
+1fe17e03
+c000496a
+c000c970
+c0014975
+20202a8c
+68008c6e
+1ff1fe00
+1fe37e00
+1fe17e03
+c0004976
+c000c97e
+c0014983
+20202a8c
+68008c6f
+c004498a
+c00349a0
+c00549ea
+c00049fc
+20204984
+68008c6f
+c0014a2f
+c000ca33
+c001ca45
+20204984
+20204984
+68008c6f
+c000ca4f
+c001ca79
+c002caa3
+c004cabc
+c005cad7
+c003c984
+20204984
+68008c6f
+c0054ae8
+c004caf9
+c005cb11
+20204984
+20204984
+68108a11
+79207e00
+60108a11
+20204988
+708a1240
+20600000
+68008c6e
+c0c04984
+68008c72
+c0804984
+68008c73
+c0804984
+68008c74
+c080c984
+68008c75
+c0804984
+68008c70
+c0804984
+68008c71
+c0804984
+68008c6b
+c002499c
+c001c99e
+20204984
+da400001
+20204a14
+da400001
+20204a12
+44fcc01f
+793f8023
+68008c71
+c000c9b6
+c00149cf
+c001c9d2
+c010c9a9
+c01149e0
+20204984
+700d4b00
+68008c72
+c00049ae
+c000c9b2
+20204984
+da200b93
+ea208000
+98002400
+20204b21
+da200bac
+ea208000
+98002400
+20204b21
+68008d48
+245a49c7
+58000b68
+68088b68
+60010d3f
+60088d41
+68008c74
+98467c00
+242149c5
+68008d41
+98002400
+68010d3f
+1fe0fe01
+98002200
+20204b21
+68008c74
+202049c0
+68108a04
+245a49cb
+700d4800
+20600000
+68108a04
+79207e07
+60108a04
+20600000
+58000b80
+68088b80
+202049ba
+68008c70
+1fe67c03
+24214984
+68008c70
+da200be4
+c0004b1e
+79200023
+da200be9
+c000cb1e
+da200c07
+c0014b1e
+da200c47
+c001cb1e
+20600000
+68010c72
+c000c9e5
+68010b7c
+1fe22200
+20204b1e
+700d4501
+700d3601
+68010b7e
+1fe22200
+20204b1e
+68008c6b
+c0824984
+68008c6e
+c0c0c984
+68008c70
+c0804984
+68008c71
+c0804984
+68008c74
+c080c984
+68008c75
+c0804984
+68008c72
+c0804984
+68008c73
+c0804984
+da400001
+20204a12
+68008c6b
+c0014984
+68008c70
+c0804984
+68008c71
+c0804984
+68008c74
+c0814984
+68008c75
+c0804984
+68008c73
+c0804984
+68008c6e
+c0404a0d
+c040ca18
+c0414a1c
+20204984
+68008c72
+c0804984
+da400002
+68008d39
+c000ca16
+da200c65
+20204b21
+da200c67
+20204b21
+da200c69
+20204b21
+68008c6b
+c0824984
+da400002
+20204a12
+68008c6b
+c0824984
+68008c72
+c040ca29
+c0414a2b
+c041ca2d
+1fe17e7f
+c0004a25
+20204984
+68008d3b
+da400002
+c000ca14
+20204a12
+68008d3c
+20204a26
+68008d3d
+20204a26
+68008d3e
+20204a26
+700d4c01
+da200d4d
+da400001
+20204b21
+68010c70
+d84001ba
+98467c00
+2422c984
+793f8023
+68008d42
+243a4a42
+700cf600
+68008c74
+98002400
+da200cf6
+20404b21
+d8a00cf6
+df200008
+20207ec6
+700d4200
+700cf601
+20204a3b
+68008c74
+c080c984
+700d4b01
+da400001
+68008d49
+c0004a4d
+c000ca4e
+20204a12
+20204a14
+20204a12
+68008c6b
+c0824984
+68008c74
+c0804984
+68008c75
+c0804984
+68008c71
+c0804984
+68008c73
+c0804984
+68008c6e
+c0004a5e
+c000ca66
+c0014a67
+20204984
+68008c70
+c080c984
+68108a00
+793ffe07
+60108a00
+700d3900
+700d3a01
+20204988
+20204984
+68008c70
+c0804984
+68008c72
+c040ca72
+c0414a75
+c041ca77
+1fe17e7f
+c0004a70
+20204984
+700d3b00
+20204988
+700d3c00
+700d5301
+20204988
+700d3d00
+20204a73
+700d3e00
+20204a73
+68008c74
+c0804984
+68008c75
+c0804984
+68008c6e
+c0004a82
+c000ca8f
+c0014a90
+20204984
+68008c70
+c080c984
+68108a00
+79207e07
+60108a00
+700d3901
+700d3603
+700d4300
+20404988
+20407f15
+58001388
+d8e0000f
+20207f08
+20204984
+68008c70
+c0804984
+68008c71
+c0804984
+68008c72
+c040ca9d
+c0414a9f
+c041caa1
+1fe17e7f
+c0004a9b
+20204984
+700d3b01
+20204988
+700d3c01
+20204988
+700d3d01
+20204988
+700d3e01
+20204988
+68008c6e
+c0804984
+68008c72
+c0804984
+68008c73
+c0804984
+68008c74
+c0804984
+68008c75
+c0804984
+68008c71
+c0804984
+68008c70
+1fe17e80
+c0804984
+68008c70
+c0804aba
+700c6b02
+68008c70
+60108a04
+20404988
+700d4801
+20600000
+700c6b03
+20204ab5
+68008c6b
+c0014984
+68008c6e
+c0804984
+68008c72
+c0804984
+68008c73
+c0804984
+68008c74
+c0804984
+68008c75
+c0804984
+68008c71
+c0804984
+68008c70
+1fe67c01
+24214984
+68008c6b
+c001cad1
+c0024ad1
+20204984
+68008c70
+c0004ad5
+700c6b04
+20204988
+700c6b03
+20204988
+68008c6b
+c0824984
+68008c6e
+c080c984
+68008c70
+c0804984
+68008c71
+c0804984
+68008c74
+c0804984
+68008c75
+c0804984
+68008c72
+c0804984
+68008c73
+c0804984
+20204988
+700d4c01
+68008c71
+60008d4d
+68008c72
+1fe67c01
+2042caf5
+68008d36
+c0824988
+700d3602
+20404988
+20007530
+20007530
+20600000
+700d4501
+700d3a00
+700d3604
+20600000
+700d5001
+20404b03
+68010c70
+60010d4e
+68008c74
+98007200
+d8c00c76
+d8a00cb6
+20407f01
+20204988
+68010c70
+d8400200
+98467c00
+24628000
+68010c72
+d8400000
+98467c00
+24628000
+68010c74
+d8400001
+98467c00
+24628000
+700d4301
+20600000
+68008c74
+c0804984
+68008c70
+c0004b17
+c000cb1a
+20204984
+700d4a00
+700d4901
+20204988
+700d4401
+700d4a01
+700d4900
+20204988
+ea208000
+98002400
+1a20a201
+44fd401f
+c591cb2c
+1a40fe01
+1fe3fe00
+60108a18
+708a1803
+68008c74
+1fe0fffe
+1fe37e00
+60008c74
+c0004b35
+68010c74
+9a467c00
+20214b30
+1fe22400
+1a227e00
+60010b65
+1a427e00
+60008b67
+20204b37
+d8e00000
+20204b57
+44fdc01f
+68008b67
+207a0000
+1fe27200
+1fe67c40
+20214b3e
+df200040
+68008b67
+9f267e00
+60008b67
+68010b65
+1fe20c00
+e8c08000
+60108a18
+c591cb47
+708a1800
+c2004b43
+18c27e00
+60010b65
+d8e00000
+20404b57
+68008b67
+247a0000
+68008d36
+c1808000
+700d3602
+20600000
+da208a19
+d8e00001
+e8c08000
+e2208000
+c2004b54
+58000000
+f9207e00
+60108a10
+68088d37
+9841fe00
+60008d37
+20600000
+d8e00002
+da208a1a
+20204b54
+44fe401f
+68008d38
+207a0000
+68008d37
+243a4bac
+68008d45
+203a4b86
+68008d36
+c001cbbf
+c0814b86
+68008d3a
+243a4b86
+20404b6f
+20204b7a
+68008d38
+c4008000
+68008d37
+c3808000
+68008d38
+793ffe01
+60008d38
+68008d51
+207a0000
+c0084ba8
+20202a8c
+68008d38
+c4010000
+68008d37
+c3810000
+68008d38
+793ffe02
+60008d38
+68008d52
+207a0000
+c0104b89
+c010cba4
+20202a8c
+d8a00d54
+df200006
+20207ec6
+68008d4c
+68088d4b
+98417e00
+203a4ba0
+68088d4a
+9840fe00
+c000cb91
+20204ba0
+700d5200
+68008d55
+c0014ba1
+c001cba1
+68008d55
+60008d54
+68008d56
+e0a08000
+68008d58
+e0a08000
+68008d5a
+e0a08000
+df200004
+d8c00d54
+20204b5e
+700d5200
+df200008
+d8c00d54
+20204b5e
+700d5200
+df200003
+d8c00d74
+20204b5e
+700d5100
+df200008
+d8c00d64
+20204b52
+68008d36
+c001cbb0
+c0014bb2
+20600000
+700d3700
+20600000
+68108a00
+79207e07
+60108a00
+700d4701
+20600000
+68008d36
+c1018000
+c0014bbb
+20600000
+68008d47
+207a0000
+700d4601
+20204bc2
+d8e0000f
+20407f16
+247a0000
+68108a00
+c4038000
+708a00fc
+20007530
+708a003c
+20600000
+44fec01f
+6800c1ce
+247a0000
+20404bce
+24544be6
+20600000
+44ff401f
+18622200
+d8400004
+e8608000
+c000cbd8
+18408401
+c0014bd8
+18627e00
+60110058
+20600000
+68110112
+98467c00
+24214bd8
+78547c00
+1a220600
+20404bee
+98408400
+68110112
+98467c00
+24214bdf
+1a220600
+e8608000
+c000cc3f
+20202a8c
+44ffc01f
+68110058
+98000600
+20404bee
+98608600
+18627e00
+60110058
+20600000
+e8608000
+18608602
+c0014bf3
+e8608000
+20600000
+e8610000
+20600000
+6811005e
+194095fb
+99409400
+20600000
+d8400004
+20204bfc
+d8400002
+47004020
+1f20f201
+6811005e
+1fe21400
+1f227e00
+e1488000
+1fe0ffff
+99409400
+19427e00
+60010258
+18427e00
+c1010000
+68010258
+6011005e
+20204c0b
+58000000
+60010258
+20600000
+20758000
+58004d28
+600141f3
+580001a0
+60014243
+58001800
+60110054
+58001bff
+60110056
+58001c00
+6011005a
+20404c28
+70806200
+58001c00
+6011005e
+60110060
+58001800
+60110058
+60010244
+68110050
+793ffe0f
+60110050
+204066ce
+70804301
+70806281
+20600000
+58001fff
+6011005c
+68108081
+1fe1fe07
+60108081
+20600000
+4700c020
+6810810c
+98002400
+c301cc37
+68110112
+98002600
+d840044f
+98467c00
+24628000
+68110058
+98000600
+20204bc8
+6818810c
+284ffe06
+2020cc3a
+60108015
+20600000
+47014020
+6800c1ce
+203a4c44
+78347c00
+20600000
+e8610000
+98006000
+98000e00
+e8608000
+98000400
+1e0b7e00
+1fecfe00
+c01fcc4d
+20600000
+4701c020
+18e27e00
+c0004cdc
+c000cc66
+c0014c6b
+c001cc7a
+c0024cb3
+c002ccdc
+c0034cc6
+c003cc5c
+c0084cc9
+c008ccd1
+c0094ca5
+c009cc85
+20204cdc
+20404cdc
+20407f9e
+2040688c
+204033d2
+204033d9
+2020688f
+70424500
+204033d0
+20404c13
+202033db
+20404cf2
+68110000
+e1410000
+18007206
+20204cdd
+e8610000
+60014243
+60110052
+20600000
+e8608000
+1fe20400
+60108024
+e8608000
+98408400
+79207e07
+60108023
+e8608000
+98408400
+1fe27200
+20600000
+c515ccc4
+20404c6f
+e8608000
+60108025
+98408400
+c2004c7c
+184104ff
+e8608000
+98467c00
+2422ccc4
+20204cdc
+c595ccc4
+20404c6f
+60040a9a
+20407422
+df200010
+d8a00ac2
+20404ca0
+600c0aa2
+d8a00ad2
+20407497
+da200ad2
+da400ac2
+d8a00ae2
+20407352
+df200010
+d8c00ae2
+20404c9c
+680c0aa2
+68040a9a
+1fe0fff0
+60040a9a
+243a4c88
+20204c80
+e8c08000
+60108025
+c2004c9c
+20600000
+e8608000
+e0a08000
+98408400
+c2004ca0
+20600000
+c595ccc4
+d8400000
+df200010
+d8a00ac2
+20404ca0
+68108085
+1fe17efd
+60108085
+d8c00ac2
+df200010
+20407478
+20407428
+20407491
+20204c80
+df200020
+d8a04000
+d8400000
+e8608000
+e0a08000
+98408400
+c2004cb6
+184104ff
+e8608000
+98467c00
+2422ccc4
+70802300
+20404cdc
+20404be6
+204064a3
+20407f9e
+20202001
+70802300
+20202000
+e8630000
+600340a0
+20204cdc
+e8608000
+6000825a
+1fe27200
+e8610000
+6001025b
+1fe20a00
+204066fd
+20204cdc
+e8608000
+6000825a
+1fe27200
+e8610000
+6001025b
+d8a01000
+204066fd
+6808825a
+da201000
+6801025b
+20206608
+18007204
+20404cf4
+18007e01
+e1408000
+1e027e00
+e1418000
+18000e0e
+47024020
+20404cf6
+18e27e00
+e1408000
+1f227e00
+e1408000
+18000e05
+1f20f202
+20204bf9
+18000eff
+20404cf4
+58000001
+e1408000
+18007201
+20204ce3
+1800140c
+20204cf7
+18001408
+20204cf7
+18001406
+20204bf5
+7827fc00
+7824fc00
+e9408000
+08008008
+c2004cfa
+78247c00
+08008010
+78447c00
+7844fc00
+7847fc00
+1ff0fe00
+20600000
+7041ce00
+20600000
+680341d0
+680b0040
+98467c00
+20600000
+6800804b
+c2814d0f
+204062ef
+70007c08
+20204d04
+793ffe02
+6000804b
+20406001
+58000000
+7934fe01
+6000807f
+20204d04
+20600000
+70007c17
+d8a004d9
+58000000
+2d0ffe1b
+7920fe01
+e0a08000
+58000000
+e0a10000
+680141e3
+e0a10000
+6800c1e5
+e0a10000
+6800c1e7
+e0a10000
+20204d04
+70007c18
+20204d04
+20406899
+20608000
+d8400007
+2040681d
+2420cd2f
+70424501
+20600000
+6800c245
+c1808000
+20404c62
+20204cec
+4702c020
+68010264
+1fe20c00
+e8c08000
+1fe1040f
+1ff1fe00
+c004cd53
+c003cd53
+c0054d5f
+c002cd4b
+c000cd3f
+20600000
+18427e00
+c002cd43
+c001cd4a
+20600000
+700a9927
+20407d86
+6800c092
+c4030000
+18427e00
+c002c38e
+20600000
+20600000
+20404d5f
+da200001
+20404d63
+6801424c
+e0a10000
+58000000
+e0a08000
+20600000
+da200001
+20404d63
+6801424c
+e0a10000
+58000000
+e0a08000
+700a8e01
+6800c252
+79207e06
+6000c252
+700a9912
+20207d86
+e8c08000
+c000cd62
+20600000
+20600000
+20405240
+1a220400
+60088a8e
+1fe20a00
+1a227e00
+e0a10000
+20600000
+2035cd6f
+58004365
+d8a04246
+98a67200
+20407ed4
+47034020
+58000551
+d8a00511
+98a67200
+20407ed4
+580002c9
+d8a0025d
+98a67200
+20407ed4
+20205318
+4703c020
+18c20400
+18420c00
+e8c10000
+60010266
+e8c10000
+60010268
+18c27e00
+60010264
+6800c681
+c0004d85
+202050ef
+68010266
+203a4dfc
+47044021
+68008268
+c000cd9d
+c0284de0
+c028cdf5
+c0294df3
+c029cdf3
+20204dfc
+4704c021
+2040527e
+6800c256
+c0004d9b
+c000cd9b
+c0014d9b
+c001cd9b
+c040cd9b
+c0604d9b
+c0404d9b
+c0204d9b
+20600000
+58000000
+20600000
+20404d8f
+247a0000
+204052b8
+20404e01
+6809026f
+203a4dfb
+204052c1
+6801026f
+e0a10000
+18007e01
+e0a10000
+20204dfc
+6800c364
+207a0000
+1fe22200
+47054021
+680202d5
+d8400100
+98408400
+1c427e00
+98467c00
+24610000
+70436400
+1a227e00
+c0284db7
+20202a8c
+d9000000
+204052b8
+20404e7a
+204052c3
+20407ea8
+20404ead
+204052c1
+5800000c
+e0a10000
+18007e01
+e0a10000
+20204dfc
+4705c021
+68010275
+1fe0fe04
+1ff1fe00
+1fe97e00
+1fe08401
+d8c04260
+e8c18000
+207a0000
+60018ac2
+68008ac2
+1fe22200
+20404dd3
+1a427e00
+6000c260
+20600000
+d8e00000
+da400000
+18e67c07
+24610000
+aa2fffff
+2020cdda
+20204dde
+18427e00
+203a4dde
+f9202400
+184085ff
+18e08e01
+20204dd5
+20405274
+247a0000
+20404d8f
+247a0000
+204052c5
+20406e11
+20404dc3
+20204dec
+20405274
+247a0000
+204052c5
+20406e11
+204052ce
+68010275
+203a4dfb
+e0a10000
+68014248
+e0a10000
+20204dfc
+20404d33
+20204dfc
+47064021
+70028400
+20406a8a
+68008284
+c1008000
+20204dfc
+20405264
+58000000
+60010266
+60010268
+70026a01
+20600000
+4706c021
+204052c3
+18002400
+68010266
+1fe22600
+68010264
+98000c00
+20404e10
+1a627e00
+1a60a7fc
+1fe0fffc
+243a4e08
+1a427e00
+6001026f
+20600000
+47074021
+e8c08000
+c000ce49
+c0014e51
+c001ced5
+c0024f05
+c002cfa2
+c0034fcb
+c003d01b
+c0045050
+c004d060
+c0054e1f
+c005d061
+20405062
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+5800000b
+e0a08000
+18e27e00
+e0a08000
+e8c10000
+c0014e2d
+c001ce33
+20600000
+58020008
+e0a30000
+58000280
+e0a20000
+18007e0c
+20204e38
+5803000c
+e0a30000
+58000006
+e0a40000
+18007e10
+9a40a400
+20204e1e
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+e8c10000
+60010aa2
+1a627e00
+9a262600
+204052c3
+5800000b
+e0a08000
+18e27e00
+e0a08000
+68010aa2
+20204e2a
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+98c08c00
+1a627e00
+9a262600
+20204e1e
+20407ea8
+20407ead
+d9000000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+e8c10000
+1fe20400
+e8c10000
+1fe21600
+4707c021
+18427e00
+c000ce64
+c001ce86
+c008ce92
+c009ce9d
+20405062
+20204ed4
+20407ea8
+d8400050
+68014248
+243a4ece
+19627e00
+60014248
+1c427e00
+600202d5
+20404e6e
+20204ea9
+600902d3
+19627e00
+600102c9
+1a227e00
+600102cb
+1a427e00
+600102cd
+1a627e00
+600102cf
+18e27e00
+600102d1
+20600000
+680902d3
+680102c9
+1fe21600
+680102cb
+1fe22200
+680102cd
+1fe22400
+680102cf
+1fe22600
+680102d1
+1fe20e00
+20600000
+20407ea8
+58000051
+d8400051
+6801424a
+243a4ece
+19627e00
+6001424a
+6800c251
+79207e00
+79207e01
+6000c251
+20204eb1
+20407ea8
+d8400052
+6801424c
+243a4ece
+19627e00
+6001424c
+6800c252
+79207e00
+79207e01
+6000c252
+20204eb1
+20407ea8
+1b427e00
+d8400053
+6801424e
+243a4ece
+19627e00
+6001424e
+6800c253
+79207e00
+79207e01
+6000c253
+20204eb1
+58000001
+6001027d
+70436450
+20204eb3
+6800c250
+79207e00
+79207e01
+6000c250
+58000000
+6001027d
+47084022
+20407ead
+58000003
+e0a08000
+18e27e00
+e0a08000
+58000008
+e0a10000
+18427e00
+e0a10000
+19627e00
+e0a10000
+6801027d
+c000cec9
+290c0000
+2020cec4
+58000004
+e0a10000
+18007e00
+e0a10000
+5800000c
+20204ed0
+e0a10000
+18007e02
+e0a10000
+5800000c
+20204ed0
+79201000
+20204eb1
+9a40a400
+1a627e00
+9a262600
+20204ed4
+20204e1e
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe21600
+e8c10000
+1fe20400
+4708c022
+58000050
+98467c00
+2022ceed
+58000051
+98467c00
+2022cef3
+58000052
+98467c00
+2022ceff
+58000053
+98467c00
+2022cef9
+20600000
+19627e00
+60014248
+6800c250
+79207e01
+6000c250
+20204e1e
+19627e00
+6001424a
+6800c251
+79207e01
+6000c251
+20600000
+19627e00
+6001424c
+6800c253
+79207e01
+6000c253
+20600000
+19627e00
+6001424e
+6800c252
+79207e01
+6000c252
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe20400
+18422200
+47094022
+58000050
+98467c00
+2022cf1c
+58000051
+98467c00
+2022cf3a
+58000052
+98467c00
+2022cf26
+58000053
+98467c00
+2022cf30
+20205062
+18a21600
+6800c250
+79207e04
+79207e03
+6000c250
+19620a00
+d9600050
+68014248
+1fe20400
+20204f43
+18a21600
+6800c252
+79207e04
+79207e03
+6000c252
+19620a00
+d9600052
+6801424c
+1fe20400
+20204f43
+18a21600
+6800c253
+79207e04
+79207e03
+6000c253
+19620a00
+d9600053
+6801424e
+1fe20400
+20204f43
+18a21600
+6800c251
+79207e04
+79207e03
+6000c251
+19620a00
+d9600051
+6801424a
+1fe20400
+4709c022
+58000005
+e0a08000
+18e27e00
+e0a08000
+58000006
+e0a10000
+18427e00
+e0a10000
+18007e00
+e0a10000
+18007e00
+e0a10000
+18007e0a
+9a40a400
+60090282
+18e27e00
+60008281
+18007e50
+a961fe00
+2020cf59
+1fe0fe01
+20600000
+78547c00
+c3810000
+c4000000
+c4008000
+79207e02
+18c20a00
+18a08bff
+e0a08000
+78347c00
+20600000
+6800c250
+20404f5a
+24344f6b
+70028050
+68014248
+60010282
+20204f7f
+6800c251
+20404f5a
+24344f72
+70028051
+6801424a
+60010282
+20204f7f
+6800c252
+20404f5a
+24344f79
+70028052
+6801424c
+60010282
+20204f7f
+6800c253
+20404f5a
+24740000
+70028053
+6801424e
+60010282
+470a4022
+2040523a
+204052b8
+18002400
+204052c3
+18007e04
+e0a08000
+6800c255
+e0a08000
+58000008
+e0a10000
+68010282
+e0a10000
+58000000
+e0a10000
+18007e01
+e0a08000
+18007e02
+e0a08000
+68008280
+c028cf97
+58000030
+e0a10000
+20204f99
+580003e3
+e0a10000
+d840000c
+6009026f
+204052c1
+6801026f
+e0a10000
+18007e01
+e0a10000
+70028000
+20204e1e
+18c08c01
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe22200
+470ac022
+58000050
+9a267c00
+2022cfba
+58000051
+9a267c00
+2022cfbe
+58000052
+9a267c00
+2022cfc2
+58000053
+9a267c00
+2022cfc6
+18c08c02
+e8c10000
+98007c00
+20204e1e
+6800c250
+79207e05
+6000c250
+20204e1e
+6800c251
+79207e05
+6000c251
+20204e1e
+6800c252
+79207e05
+6000c252
+20204e1e
+6800c253
+79207e05
+6000c253
+700a9906
+20207d86
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe22200
+e8c10000
+1fe21600
+1a220400
+20407ea8
+470b4022
+58000050
+98467c00
+2022cff2
+58000051
+98467c00
+2022d002
+58000052
+98467c00
+2022cfe6
+58000053
+98467c00
+2022cfec
+20405062
+20205017
+19620400
+6801424c
+98467c00
+2022cff8
+20405062
+20205017
+19620400
+6801424e
+98467c00
+2022cffa
+20405062
+20205017
+19620400
+68014248
+98467c00
+2022cffe
+20405062
+20205017
+20405079
+2020500a
+2040507f
+6801424c
+203a500a
+2020500a
+20405074
+68008288
+243a500a
+2020500a
+19620400
+6801424a
+98467c00
+2022d008
+20405062
+20205017
+2040506f
+2020500a
+20407ead
+58000007
+e0a08000
+18e27e00
+e0a08000
+58000004
+e0a10000
+1a227e00
+e0a10000
+19627e00
+e0a10000
+18007e08
+20205019
+20407ead
+20205019
+9a40a400
+20204e1e
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe21600
+e8c10000
+1fe20400
+20407ea8
+470bc022
+58000050
+98467c00
+2022d035
+58000051
+98467c00
+2022d03b
+58000052
+98467c00
+2022d041
+58000053
+98467c00
+2022d047
+20405062
+2020504f
+18422200
+19620400
+68014248
+98467c00
+2042d074
+2020504d
+18422200
+19620400
+6801424a
+98467c00
+2042d06f
+2020504d
+18422200
+19620400
+6801424c
+98467c00
+2042d079
+2020504d
+18422200
+19620400
+6801424e
+98467c00
+2042d07f
+2020504d
+20407ead
+20204e1e
+20204e1e
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+98c08c00
+58000009
+e0a08000
+18e27e00
+e0a08000
+18007e00
+e0a10000
+18007e04
+9a40a400
+1a627e00
+9a262600
+20204e1e
+20204e1e
+20204e1e
+18002400
+204052c3
+58000001
+e0a08000
+18e27e00
+e0a08000
+58000002
+e0a10000
+58000000
+e0a10000
+1a40a406
+da600004
+20204e1e
+58000000
+6001027b
+6001424a
+70425100
+20600000
+58000000
+60010275
+60014248
+70425000
+20600000
+58000000
+6001424c
+70425200
+6800c253
+c0005085
+20600000
+58000000
+6001424e
+70425300
+6800c252
+c0005085
+20600000
+700a9907
+20207d86
+6800827f
+793ffe00
+6000827f
+6801424e
+207a0000
+204052b8
+6801424e
+1fe22200
+18002453
+2020509a
+6800827f
+793ffe07
+6000827f
+6801424c
+207a0000
+204052b8
+6801424c
+1fe22200
+18002452
+2040523a
+204052c3
+18007e06
+e0a08000
+6800c255
+e0a08000
+58000004
+e0a10000
+1a227e00
+e0a10000
+1a427e00
+e0a10000
+18000408
+202050de
+470c4023
+2040523a
+204052c3
+58000002
+e0a08000
+6800c255
+e0a08000
+58000004
+e0a10000
+18427e00
+e0a10000
+19627e00
+e0a10000
+d8400008
+202050de
+470cc023
+2040523a
+204052c3
+58000004
+e0a08000
+6800c255
+e0a08000
+58000008
+e0a10000
+18427e00
+e0a10000
+58000000
+e0a10000
+58000001
+e0a08000
+58000002
+e0a08000
+580003e3
+e0a10000
+d840000c
+202050de
+470d4023
+2040523a
+204052c3
+58000006
+e0a08000
+6800c255
+1fe0fe01
+18a22200
+6000c255
+1a220a00
+e0a08000
+58000004
+e0a10000
+18427e00
+e0a10000
+19627e00
+e0a10000
+d8400008
+6009026f
+18427e00
+203a5264
+204052c1
+6801026f
+e0a10000
+18007e01
+e0a10000
+20600000
+68010275
+203a2a8c
+204052ce
+68010275
+e0a10000
+68014248
+e0a10000
+20600000
+68010266
+203a4dfc
+470dc023
+68008268
+c000d0f9
+c0284de8
+c028cdf5
+c0294df3
+c029cdf3
+20204dfc
+470e4023
+204052b8
+18002400
+204052c3
+1fe20a00
+68010266
+1fe22600
+68010264
+98000c00
+20405108
+1a60a7fc
+2422d102
+1a420400
+204050de
+20204dfc
+e8c08000
+c0015113
+c000d116
+c001d120
+c002d15c
+c002518e
+c003d213
+c00351e1
+c0045050
+c0054e3a
+2020522e
+20407ea8
+20407ead
+20204e51
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c08000
+1a20a3ff
+2422d11c
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+e8c10000
+1fe21600
+e8c10000
+1fe20400
+e8c10000
+1fe67c00
+2022d132
+c001512e
+c002512e
+20205130
+700a9916
+20407d86
+e8c10000
+20205159
+20407ea8
+470ec023
+58000050
+98467c00
+2022d141
+58000051
+98467c00
+2022d147
+58000053
+98467c00
+2022d153
+58000052
+98467c00
+2022d14d
+20205159
+19627e00
+60014248
+6800c250
+79207e01
+6000c250
+20205158
+19627e00
+6001424a
+6800c251
+79207e01
+6000c251
+20205158
+19627e00
+6001424c
+6800c252
+79207e01
+6000c252
+20205158
+19627e00
+6001424e
+6800c253
+79207e01
+6000c253
+20407ead
+1a627e00
+9a262600
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe21600
+e8c10000
+e8c10000
+243a5188
+20407ea8
+19620400
+470f4023
+58000050
+98467c00
+2022d176
+58000051
+98467c00
+2022d17a
+58000052
+98467c00
+2022d17e
+58000053
+98467c00
+2022d182
+6800c250
+79207e05
+6000c250
+20600000
+6800c251
+79207e05
+6000c251
+20600000
+6800c252
+79207e05
+6000c252
+20600000
+6800c253
+79207e05
+6000c253
+700a9906
+20207d86
+20407ead
+1a20a3fa
+2022d18d
+18c08c01
+1a20a3ff
+20205189
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+18c08c02
+1fe20400
+58000005
+e0a08000
+18e27e00
+e0a08000
+1a20a202
+1a227e00
+e0a10000
+20407ea8
+470fc023
+58000050
+98467c00
+2022d1ad
+58000051
+98467c00
+2022d1be
+58000052
+98467c00
+2022d1c4
+58000053
+98467c00
+2022d1ca
+202051cf
+6800c250
+79207e04
+79207e03
+6000c250
+c28151bb
+6808827f
+79200406
+6008827f
+18e27e00
+1fe0fe01
+60008281
+6800c250
+79207e02
+6000c250
+68014248
+60010282
+202051cf
+6800c251
+79207e04
+79207e03
+6000c251
+6801424a
+202051cf
+6800c252
+79207e04
+79207e03
+6000c252
+6801424c
+202051cf
+6800c253
+79207e04
+79207e03
+6000c253
+6801424e
+1fe21600
+20407ead
+19627e00
+e0a10000
+18007e00
+e0a10000
+18007e00
+e0a10000
+18007e0a
+9a40a400
+1a20a3fa
+2022d1e0
+e8c08000
+e0a08000
+1a40a401
+1a20a3ff
+202051da
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe22200
+e8c10000
+1fe21600
+20407ea8
+47104024
+58000050
+1a220400
+98467c00
+2022d1fa
+58000052
+1a220400
+98467c00
+2022d1ff
+58000053
+1a220400
+98467c00
+2022d201
+20205203
+58000000
+60010275
+60014248
+6000c250
+20205205
+20405079
+20205205
+2040507f
+20205205
+58000000
+6001027b
+20407ead
+58000007
+e0a08000
+18e27e00
+e0a08000
+58000004
+e0a10000
+1a227e00
+e0a10000
+19627e00
+e0a10000
+18007e08
+9a40a400
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+e8c10000
+1fe21600
+e8c10000
+1fe20400
+20407ea8
+4710c024
+6800c255
+a8e1fe00
+2420d22a
+58000050
+98467c00
+2022d227
+58000051
+98467c00
+2022d22a
+2020522a
+70424800
+70425000
+2020522a
+20407ead
+1a627e00
+9a262600
+20600000
+58000001
+e0a08000
+e8c08000
+e0a08000
+58000002
+e0a10000
+58000000
+e0a10000
+58000006
+9a40a400
+18002604
+20600000
+6800c255
+1fe0fe01
+c080523e
+1fe0fe01
+6000c255
+20600000
+47114024
+da400000
+2040526e
+243a2a8c
+2040527e
+da401800
+d8e00000
+6808c256
+a84fffff
+2020d24f
+204052a0
+19667c00
+2021524f
+20405288
+20205255
+1a40a480
+18e08e01
+58000008
+98e67c00
+20215247
+da400000
+1a427e00
+203a2a8c
+20600000
+4711c024
+20405277
+18c08c01
+e8c10000
+20600000
+47124024
+20405277
+18c20a00
+18c20400
+58000000
+e0a18000
+20600000
+4712c024
+20405274
+203a2a8c
+6801c25d
+6001c260
+6801c25a
+6001c25d
+6801c257
+6001c25a
+20600000
+47134024
+6801c257
+20600000
+4713c024
+6801c25a
+20600000
+47144025
+6801c260
+20600000
+20405274
+203a2a8c
+d8c04257
+e8c18000
+203a527a
+18c08dfd
+20600000
+4714c025
+df200004
+d8c04257
+d8400000
+e8c18000
+1fe17eff
+98418400
+c2005282
+6008c256
+20600000
+47154025
+2040526e
+243a2a8c
+20405274
+203a5295
+6801c25a
+6001c257
+e8c18000
+e0a18000
+e8c18000
+e0a18000
+58000000
+e0a18000
+d8400000
+19627e00
+98e0fe00
+f9200400
+18e08e01
+98e67c00
+2422d298
+1a4d7e00
+9841fe00
+6001c260
+20600000
+4715c025
+2040527e
+18e22600
+d8400000
+d9600000
+18e27e00
+c00452b0
+6800c256
+afefffff
+2020d2b0
+18408480
+18e08e01
+1a227e00
+98467c00
+2022d2b0
+202152a5
+18427e00
+9a267c00
+242152b6
+18e27e00
+1a620400
+98461600
+1a620e00
+20600000
+47164025
+da20007f
+20405240
+6001026b
+1fe0fe04
+6001026d
+58000000
+6001026f
+20600000
+6801026b
+202052e2
+6801026d
+202052e2
+4716c025
+da2000fa
+20405240
+60010271
+1fe0fe04
+60010273
+58000000
+60010275
+20600000
+68010271
+202052e2
+68010273
+202052e2
+47174025
+20407e7c
+70028401
+2040526e
+247a0000
+da20007f
+20405240
+60010277
+1fe0fe04
+60010279
+58000000
+6001027b
+70028400
+20207e8c
+68010277
+202052e2
+203a2a8c
+1fe20a00
+20600000
+4717c025
+da400000
+da204257
+1a20a3fe
+1a20a202
+58004263
+9a267c00
+2022d2f5
+ea208000
+1a20a201
+203a52e9
+ea290000
+e8410000
+9a40a400
+1a40a404
+202052e9
+1a427e00
+20600000
+d8e0000c
+20202c32
+d8e0000c
+20202c36
+47184026
+2040527e
+6800c256
+207a0000
+204052e5
+d8400100
+98467c00
+202152f7
+204052f9
+d8a04263
+da204257
+58004263
+9a267c00
+20628000
+ea208000
+1a20a201
+243a530f
+e0a10000
+1a20a202
+20205306
+ea210000
+1a20a202
+1fe20c00
+e8c10000
+e0a10000
+1fe27200
+1f20f202
+20407f01
+20205306
+4718c026
+2040527e
+6800c256
+207a0000
+da204258
+1a20a3fd
+d8c04263
+1a20a203
+58004264
+9a267c00
+20628000
+e8c10000
+203a531f
+1fe0fe04
+1fe27200
+18c22400
+ea210000
+1fe20a00
+1a420c00
+18c08dfe
+20407f01
+2020531f
+47194026
+7855fc00
+70045501
+70043f03
+70045601
+5fffffff
+60010459
+18007e00
+60008457
+60008462
+6001c169
+6001c16c
+6002c403
+79207e27
+6002c408
+7043dc01
+7043dd00
+202056ed
+4719c026
+7834fc00
+70044003
+70047801
+70445a01
+5800ffff
+6001445c
+18007e00
+6002c408
+79207e27
+6002c403
+2020532e
+471a4026
+7854fc00
+58000017
+600144a8
+70044001
+70436e00
+7000a000
+7044c400
+7044c500
+6801046d
+600144ba
+68010441
+1feffe05
+1ff1fe00
+6001046d
+2020532e
+204053c4
+204055e8
+204056f0
+202053ce
+471ac026
+204053c4
+204032f4
+68008440
+c001d366
+2020537a
+471b4026
+7834fc00
+204056e4
+20215377
+20402c6c
+20405413
+2040561e
+7856fc00
+204054bf
+24768000
+471bc026
+68008005
+1fe0fe01
+60008005
+204055aa
+7854fc00
+20600000
+204053a9
+7854fc00
+20600000
+471c4027
+70450f00
+20407aaf
+20405c18
+78577c00
+204056e4
+202153a9
+20402c6c
+20405413
+20405489
+242c539b
+204053b7
+2036d388
+20205395
+471cc027
+6800c50f
+1fe0fe01
+6000c50f
+c0065395
+204055aa
+2040561e
+204054c7
+2040567e
+680141fb
+20407f9c
+204053a0
+203453a4
+471d4027
+20405be4
+20405bdb
+20407d9c
+68008462
+c281d3a9
+471dc027
+204057f4
+2040559d
+20405575
+20202841
+78547c00
+c5157fe7
+c514ffe7
+20600000
+471e4027
+78377c00
+204054c1
+2036d388
+20205395
+471ec027
+204053af
+204033b4
+20407a77
+700a9915
+20207d86
+58000000
+6004c4ff
+70045500
+70044000
+70043f00
+7044c500
+7044c400
+20600000
+471f4027
+68008005
+1fe0fe01
+60008005
+6800843f
+c3818000
+79207e03
+6000843f
+680144ba
+6001046d
+58000000
+600244e5
+20600000
+471fc027
+70890f36
+70890b5f
+783b7c00
+70891407
+20402c6c
+6800c1e0
+207a0000
+70890ab8
+20600000
+47204028
+70890f2e
+70890bff
+785b7c00
+70891403
+db600000
+20600000
+7844fc00
+7843fc00
+68018467
+98001e00
+68008016
+1fed8400
+79200401
+18431c00
+20600000
+204053e6
+2040291f
+58000500
+20402a8f
+20202924
+2036a939
+204053e6
+20202933
+4720c028
+20402918
+6800848c
+243a53f9
+68008016
+1fe67c24
+202153f3
+18000400
+c1128000
+18000418
+c1130000
+1800044e
+20600000
+1fe67c0a
+202153f6
+1fe0fe01
+1fe3fe00
+1fe08402
+20600000
+68008016
+1fe38400
+20600000
+d84001f4
+207a0000
+d84000fa
+c1008000
+d8400096
+c1010000
+d8400064
+c1018000
+d840004b
+c1020000
+d8400032
+c1028000
+d8400028
+c1030000
+d8400014
+20600000
+588e89be
+1fed7e00
+1fe1fed6
+98001200
+58555555
+60018467
+20600000
+47214028
+78287c00
+68020463
+98001200
+20405466
+58000200
+2034d41c
+6801044d
+1fe37e00
+d8400500
+9840fe00
+20402a24
+1b427e00
+60030491
+20600000
+4721c028
+68008016
+c012d428
+c013542e
+c013d434
+20205434
+6808c48d
+284ffe01
+2020d43f
+284ffe02
+2020d444
+2020543a
+6808c48d
+284ffe02
+2020d444
+284ffe00
+2020d43a
+2020543f
+6808c48d
+284ffe00
+2020d43a
+284ffe01
+2020d43f
+20205444
+70001625
+68008ac2
+79207e00
+60008ac2
+20600000
+70001626
+68008ac2
+79207e01
+60008ac2
+20600000
+70001627
+68008ac2
+79207e02
+60008ac2
+20600000
+47224028
+1a208c01
+e8c08000
+c4000000
+1a208a1a
+e8a10000
+1fe0fe01
+e0a10000
+1a208c19
+e8c08000
+1a208a18
+e8a88000
+9840fe00
+1fe67c24
+20215459
+1fe0ffdb
+e0a08000
+20600000
+4722c028
+6802846f
+18000400
+18007225
+c3005461
+18408401
+1fe37e00
+c200545f
+1840ffff
+60008461
+20600000
+47234028
+68008457
+98000e00
+680a846f
+a84fffff
+2020d47c
+4723c028
+68008461
+98e67e00
+20215472
+1fe60fff
+2020546c
+18e27200
+18000e00
+a84fffff
+2020d477
+1f20f201
+1f227e00
+203a547c
+18e08e01
+1f20f3ff
+20205474
+18e27e00
+60008016
+20600000
+2034d482
+37c18200
+20600000
+d9600ea0
+34730200
+20600000
+78487c00
+6801436c
+1fe21600
+2020548e
+47244029
+78287c00
+6801044d
+680a44e5
+98409600
+204053de
+4724c029
+204053d5
+7856fc00
+7826fc00
+7830fc00
+78507c00
+19623600
+37c18400
+2037549a
+1b420400
+600b009a
+242c264d
+203754a1
+dd2001e0
+1c225000
+6800843f
+c301d4a1
+2055ab05
+47254029
+204029bb
+7823fc00
+7824fc00
+09800008
+19897e00
+600082d9
+09800008
+19897e00
+e0a08000
+1fe1723f
+2022d4b1
+09800008
+19897e00
+e0a08000
+c20054ad
+4725c029
+09800018
+78287c00
+db600664
+1fef7e00
+1ff17e00
+e0a18000
+2023264d
+7836fc00
+68008017
+1fe0a200
+20402981
+7846fc00
+20202918
+47264029
+204054c9
+68088017
+2040291f
+20402924
+78287c00
+d960157c
+2020548f
+204054c9
+2020264d
+4726c029
+204053d5
+204053e3
+202054cd
+79202a00
+782efc00
+78307c00
+7850fc00
+2040547f
+19317e00
+1fecfe00
+1ff1fe00
+08008628
+7823fc00
+7824fc00
+47274029
+6800c3dc
+08008608
+e8c08000
+1fe1723f
+08008608
+2022d4e2
+e8c08000
+08008608
+c20054df
+78247c00
+08008618
+78447c00
+37d38200
+20000064
+784efc00
+20600000
+4727c029
+6800c484
+c000d4f9
+6800c485
+1ff27e00
+1febfe00
+6000c3dc
+6808c36f
+1840fe06
+6000c3dd
+680344a0
+600343de
+18427200
+d8c04370
+20407ef4
+20205504
+6800c486
+1ff27e00
+1febfe00
+1fe0fe01
+6000c3dc
+5800000c
+6000c3dd
+680344a0
+600343de
+680341d0
+e0a30000
+4728402a
+68008000
+1fe0fe01
+60008000
+db600708
+7856fc00
+202054bf
+4728c02a
+6800c49e
+c1808000
+68008000
+1fe0fe01
+60008000
+d8400c03
+6800c49f
+7d3a0406
+1a227e00
+7d3a0407
+600943dc
+680344a0
+e0a30000
+6803044f
+e0a30000
+202054bf
+4729402a
+d8400004
+6800c485
+7d3a0406
+6008c3dc
+6808c38f
+1840fe06
+6000c3dd
+680344a0
+600343de
+d8c04390
+18427200
+20407ef4
+204054c7
+20205706
+4729c02a
+18007fff
+38080001
+6002846f
+2040545b
+18007204
+d8a00463
+2040630d
+6801449c
+6001046d
+180a7e00
+1fe17e0f
+1fe67c04
+20215535
+60008458
+600086e6
+472a402a
+68094367
+60090441
+18422600
+1c40fe07
+9a66fc00
+20407f86
+18072200
+9a267e00
+9a60fe00
+68094365
+9840fe00
+60020443
+9c462200
+1a20a3fa
+da402205
+6800c495
+7d3a2406
+6800c48e
+7d3a2407
+1a427e00
+600143dc
+680344a0
+e0a30000
+6803044f
+e0a30000
+68020463
+e0a20000
+180a7e00
+e0a10000
+180a7e00
+e0a08000
+18007e02
+e0a08000
+1a2b7e00
+e0a10000
+1a6b7e00
+e0a10000
+472ac02a
+58000000
+e0a10000
+6801449c
+e0a10000
+6802846f
+e0a28000
+68008458
+d84000a0
+9841fe00
+e0a08000
+204054c7
+580043dc
+1fe08c12
+e8c18000
+60018467
+20600000
+472b402a
+7854fc00
+2020540c
+6800843f
+c4028000
+68010459
+6809045f
+98467e00
+24610000
+60010a9a
+472bc02a
+6800843f
+793ffe05
+793ffe03
+6000843f
+68020443
+68090441
+60090aa2
+98462200
+472c402b
+6800c3d3
+6000846a
+e8c90000
+e8c10000
+1febfe00
+60010441
+184b8400
+9840fe00
+e8ca0000
+600a046b
+9a20fe00
+1fe22800
+68010441
+68090aa2
+98467e00
+68090a9a
+984ffe00
+9a80fe00
+60020443
+20405713
+6801046d
+600144ba
+20600000
+472cc02b
+6800843f
+c4030000
+68010459
+6809045f
+98467e00
+24610000
+6800843f
+793ffe06
+6000843f
+6802c3ce
+6002846f
+2020545b
+472d402b
+204056ed
+204055c0
+680082d9
+2feffe04
+7920802a
+1fe37e00
+9842fe00
+2feffe02
+7920800f
+c6078000
+680082da
+203a55bc
+6800843f
+c30255bc
+2040748d
+204073fb
+247a0000
+68088456
+79400402
+60088456
+20600000
+472dc02b
+68088456
+284c0005
+20608000
+680082d9
+1fe3fe00
+9842fe00
+c4018000
+793f8405
+79400403
+60088456
+28400603
+24608000
+6800c3de
+c002d5d2
+6800c4c5
+c00155d6
+20600000
+6800843f
+79207e04
+6000843f
+20600000
+472e402b
+7044c500
+dfe00000
+6002440d
+6002c403
+79207e27
+6002c408
+6800843f
+793ffe04
+6000843f
+20600000
+472ec02b
+20405422
+20405485
+68008001
+1fe0fe01
+60008001
+20600000
+472f402b
+6800c369
+c1808000
+d8e00002
+20407f16
+247a0000
+6801436a
+6809436c
+98467e00
+d8e00002
+20407f08
+7854fc00
+20405572
+204055e1
+24768000
+472fc02b
+680302db
+6003044f
+68008002
+1fe0fe01
+60008002
+20405608
+20748000
+2040550b
+24768000
+4730402c
+68008004
+1fe0fe01
+60008004
+680482e1
+60048101
+20600000
+4730c02c
+6800849b
+c18d8000
+6803044f
+680b448f
+98467c00
+24628000
+2040223b
+24628000
+2040552b
+20405340
+4731402c
+7041ce00
+70047600
+70436900
+70049b00
+20202223
+da200001
+680082d9
+c3830000
+da200000
+20600000
+4731c02c
+68008456
+c3828000
+20405642
+20405873
+203a5664
+e8c08000
+e8c88000
+18422200
+9a267e00
+d840001b
+20407fdd
+1fe20400
+e8c08000
+1fe20200
+1a227e00
+98c08c00
+d8a043de
+18427200
+20407f01
+20405654
+20405666
+20405873
+e8c08000
+1fe22200
+18c22600
+e8c88000
+18422400
+9a467e00
+d840001b
+20407fdd
+9a40fe00
+e2608000
+9a267c00
+24628000
+20205896
+20405649
+c6148000
+6800c4e9
+c3015652
+20405876
+203a5652
+20205650
+20405873
+203a5652
+e8c08000
+e8c88000
+98467e00
+1fe67c1b
+20215652
+79200029
+20600000
+793f8029
+20600000
+1a227e00
+207a0000
+d8200001
+20600000
+4732402c
+18408401
+2040576a
+18c08dfe
+e8c10000
+d8402902
+98467c00
+24628000
+18c08c01
+18c22200
+e8c08000
+20600000
+18000400
+18000201
+4732c02c
+6008c3dd
+68088456
+79200405
+18417efc
+9821fe00
+60008456
+1fe17e1f
+280ffe29
+7920fe04
+6000c3dc
+6800c3dc
+28200601
+2420d676
+6800c3dd
+207a0000
+6800843f
+c4020000
+2040748d
+202073e3
+d8e00000
+20202c32
+d8e00000
+20202c36
+4733402c
+c6078000
+20405890
+247a0000
+680082d9
+1fe17e03
+6000c50c
+e8c08000
+1fe17e1f
+6000c50b
+207a0000
+18c27e00
+6001450d
+6800c50c
+c001dc64
+2040569a
+2434567a
+2040567c
+6801450d
+1fe20c00
+e8c10000
+600144fc
+4733c02c
+e8c10000
+c00258ab
+c0035af4
+c002dab6
+20600000
+6800c50c
+c00156a9
+c000d6c1
+20600000
+20407fe7
+d8400004
+9fe67c00
+20628000
+d8400005
+9fe67c00
+20628000
+d8400006
+9fe67c00
+20628000
+20207fe9
+6801450d
+1fe20c00
+e8c10000
+600144fc
+e8c10000
+2040569e
+24740000
+6808c50b
+6008c4fe
+680144fc
+1fe0fe04
+98467c00
+2022ffe7
+6800c50b
+1fe27200
+d8a00311
+6801450d
+1fe20c00
+20407f01
+20207fe9
+20407fe7
+6800c4fe
+247a0000
+20207fe9
+204056bd
+24740000
+6800c4fe
+d8a00311
+98a0a200
+6808c50b
+9840fe00
+6000c4fe
+6800c50b
+1fe27200
+1a220a00
+6801450d
+1fe20c00
+20407ef4
+58000311
+6001450d
+680144fc
+1fe0fe04
+6808c4fe
+98467c00
+2022ffe7
+20207fe9
+20407ea5
+d8a0445e
+680144fc
+1fe0fffb
+e0a08000
+1fe27200
+20407e9f
+20207ef4
+20407ea5
+d8a04471
+202056d9
+680141f9
+20207f9c
+680a045b
+20402a7b
+98461600
+19627e00
+6809046d
+18520400
+18438400
+98467e00
+20600000
+20402a7b
+6002045b
+20600000
+70001624
+700ac200
+4734402d
+6800c36e
+207a0000
+d8e00000
+20407f16
+247a0000
+4734c02d
+7854fc00
+78287c00
+20405572
+20405422
+204054e9
+2436d706
+68008003
+1fe0fe01
+60008003
+680082d9
+1fe17e0f
+c001d51c
+c002d728
+4735402d
+180a7e00
+d84001ff
+98417e00
+1fe0fefa
+20403cbe
+68008ac2
+6808c48d
+98467c00
+2422d6f2
+d8e00000
+68014482
+20207f08
+4735c02d
+68008476
+204053fc
+68010441
+984ffe00
+d8400177
+984ffe00
+d84186a0
+9846fc00
+6800846a
+d8404e20
+984ffe00
+9840fe00
+600244e5
+4736402d
+680140c1
+20407f86
+18078400
+9840fe00
+6001044d
+20600000
+4736c02d
+680302e1
+680b44a0
+98467c00
+24628000
+20405619
+1a227e00
+6000c48e
+680382ee
+60038101
+e8c40000
+e0a40000
+680302db
+6003044f
+18c08c06
+e8c40000
+60040463
+e8c90000
+4737402d
+184b8400
+e8c10000
+1febfe00
+60010441
+60020443
+98467e00
+1fe0d1fe
+e8c48000
+6004846b
+4737c02d
+e8c08000
+1ff18400
+18430400
+60088476
+1fe17e1f
+60008458
+20405713
+2040545b
+2040534c
+2040223b
+24628000
+4738402e
+20402841
+20405ad3
+700a9914
+20407d86
+20202223
+4738c02e
+6801445a
+98002400
+6801445c
+98002600
+680144bc
+98000c00
+78347c00
+20600000
+e8c10000
+207a0000
+9a467c00
+24610000
+9a667c00
+20628000
+20215768
+18007c01
+20600000
+18007e00
+20600000
+2040576d
+2022d779
+20600000
+4739402e
+680144bc
+98000c00
+e8c10000
+207a0000
+98467c00
+20628000
+e8c08000
+98c08c00
+e8c08000
+98c08c00
+20205770
+e8c08000
+98c08c00
+20600000
+4739c02e
+680144bc
+98000c00
+e8c10000
+207a0000
+e8c08000
+98c08c00
+18c08dfe
+e8c10000
+98467c00
+20628000
+e8c08000
+98c08c00
+2020577f
+6801049c
+2020578e
+473a402e
+680144bc
+98000c00
+18422200
+e8c10000
+203a5799
+9a267c00
+2022d79a
+e8c08000
+98c08c00
+e8c08000
+98c08c00
+20205790
+20207fef
+e8c08000
+600084a2
+1fe27200
+d8a004a3
+20407ef4
+e8c08000
+600084b3
+20407ea5
+20207ff1
+473ac02e
+204057a6
+202057b8
+d8402a00
+2040577c
+207a0000
+e8c08000
+18c20a00
+6808c3af
+18427200
+98467c00
+242157b5
+98460400
+d8c043b0
+20407f01
+18427200
+2442d7f0
+20600000
+1fe27200
+d8c043b0
+20207ef4
+da60438f
+da204370
+204057c5
+58000000
+79347e00
+60008a9a
+da6043af
+da204390
+204057c5
+20740000
+68008a9a
+203a2a8c
+20600000
+473b402e
+20407fe7
+20407eda
+da400000
+d8a00ac3
+204057df
+6800c3af
+1fe08401
+9a40a200
+1a20a202
+1a267c1f
+242157dd
+e0a88000
+d8400009
+e0a88000
+98007200
+20407ef4
+1a222400
+1a427e00
+60008ac2
+d8c00ac2
+5fffffe0
+9a608a00
+20207ebd
+20407fe9
+202057d7
+ea208000
+207a0000
+1fe0fe01
+e8c88000
+18467c09
+2022d7ee
+9a40a400
+1a220c00
+98007200
+20407ef4
+18c22200
+1a227e00
+9a667c00
+20610000
+202057df
+9a20a200
+202057ea
+58000020
+e0a08000
+c20057f0
+20600000
+473bc02e
+7855fc00
+203757f8
+2436d806
+20402bcb
+680140c1
+6001044d
+2436abde
+c507abde
+6800c50b
+243a2bde
+6800c3dd
+243a2bde
+6800c4e9
+c282abde
+6800843f
+c282abde
+20202bc0
+680940c1
+18430400
+6801044d
+9840fe00
+6001044d
+20202bd6
+d8e00000
+20205824
+d8e00000
+20205828
+d8e00001
+20205824
+d8e00001
+20205828
+d8e00002
+20205824
+d8e00002
+20205828
+d8e00003
+20205824
+d8e00003
+20205828
+d8e00004
+20205824
+d8e00004
+20205828
+d8e00005
+20205824
+d8e00005
+20205828
+6800c4e9
+f9207e00
+6000c4e9
+20600000
+6800c4e9
+f93ffe00
+6000c4e9
+20600000
+58112233
+6001c4ea
+58445566
+e0a18000
+58778899
+e0a18000
+58001122
+e0a18000
+58334455
+e0a18000
+58000066
+e0a08000
+20600000
+59000302
+60024453
+58010010
+6001c457
+7044c601
+20600000
+da200000
+d8200001
+20205850
+d8200003
+20405850
+1a427e00
+e0a08000
+20600000
+18000202
+1a20a204
+20405850
+1a20a3fc
+1a227e00
+e0a10000
+1a427e00
+e0a10000
+20600000
+1a267cf0
+24212a8c
+6800c4ff
+d8400001
+df200004
+98417c00
+2022d85a
+18438400
+c2005855
+20202a8c
+9842fe00
+6000c4ff
+1f267e04
+1ff27e00
+1ff27e00
+d8401800
+98408400
+df200000
+d8c04500
+e8c10000
+203a5869
+1f227e00
+1f20f201
+c0825863
+20202a8c
+18c08dfe
+e0c90000
+18420a00
+1a227e00
+e0a08000
+58000000
+e0a08000
+18227e00
+e0a08000
+20600000
+68014500
+1fe20c00
+20600000
+68014502
+1fe20c00
+20600000
+2040587c
+1fe20c00
+20600000
+68014506
+247a0000
+68014504
+247a0000
+68014502
+247a0000
+68014500
+20600000
+20405873
+18c08c03
+20600000
+20405873
+18c08c07
+20600000
+20405879
+18c08c07
+20600000
+20405879
+18c08c03
+20600000
+68014506
+20600000
+68014504
+20600000
+68014500
+20600000
+68014500
+d8401800
+98467e00
+1ff1fe00
+1ff18e00
+6800c4ff
+f93ffe00
+6000c4ff
+df200000
+1f23fe00
+d8404502
+98408400
+e8410000
+184085fe
+e0410000
+1f227e00
+1f20f201
+c081d89f
+58000000
+e0410000
+20600000
+e8c18000
+60018477
+c00158c1
+c001d8c9
+c00258cc
+c00358f2
+c004593f
+c00559bc
+c00659e4
+c00859fa
+c0095a2f
+c00b5a48
+c00c5a5b
+c0295a60
+20600000
+18002203
+20405a82
+58000002
+e0a08000
+680144a6
+e0a10000
+20600000
+204058c9
+18002203
+20405a82
+58000003
+e0a08000
+680144a6
+e0a10000
+20600000
+1fecfe00
+600144a8
+20600000
+20405ab1
+20407fe7
+202058cf
+d9600003
+20405756
+2040575f
+203a58f0
+242158ed
+18c08dfe
+20407ea5
+20407e9c
+243458e1
+20407e85
+20407fe9
+18002214
+20405a82
+20407e95
+58000005
+e0a08000
+58000001
+e0a08000
+20407e9f
+e8c10000
+e0a10000
+e8c08000
+1fe27200
+20407f01
+20407ea2
+196097ff
+2022d8f0
+e8c08000
+98c08c00
+202058d1
+e8c08000
+98c08c00
+202058ea
+20345a76
+20205aa5
+20405ab1
+e8c10000
+60014472
+20407ea5
+d8a0445e
+680144fc
+1fe0fff9
+204056db
+20205905
+78547c00
+6809445a
+6801445c
+98467c00
+24215902
+18427e00
+c1800000
+78347c00
+70047a01
+20205a77
+204058fb
+20740000
+68094472
+58002800
+98467c00
+2022d90c
+20205a76
+7004b400
+6809445a
+60090aa2
+2040578c
+243a5a76
+68090aa2
+2040578c
+243a5925
+18c22200
+680084b3
+1fe27200
+6808c45e
+98467c00
+2422d921
+da40445f
+20407f88
+2022d928
+680104a3
+68094472
+98467c00
+2022d930
+68010aa2
+1fe0fe01
+60010aa2
+20205911
+680084b4
+c000d930
+20205a76
+680104a3
+68094472
+98467c00
+2422d921
+7004b401
+68090aa2
+6009049e
+20205921
+680084b4
+c0005921
+7004b402
+68090aa2
+184085ff
+600904a0
+da200005
+20405a82
+58000007
+e0a08000
+6801049e
+e0a10000
+680104a0
+e0a10000
+20600000
+20405ab1
+204056df
+20205942
+6809445a
+60090aa2
+20405756
+2040576d
+18c08dfe
+18c27e00
+6001049c
+68094472
+58002a00
+98467c00
+2022d9a8
+58002803
+98467c00
+2422d990
+d9600002
+20405a88
+2421596d
+68090aa2
+2040578a
+c000d96d
+20405a94
+2422d96b
+2434596f
+78547c00
+da200014
+20405a82
+58000009
+e0a08000
+18a26000
+18a08a01
+2040597d
+20405a84
+2040578a
+20405984
+680084a2
+1fe0fe05
+e6008000
+680084a2
+c008596d
+196097ff
+2022d96d
+20405a84
+20205951
+20345a76
+20205aa5
+20405a97
+20405a84
+2040578a
+680084a2
+c008596d
+20407e9c
+68010aa2
+1fe0ffff
+e0a10000
+20405aa1
+20405984
+196097ff
+2022d96d
+2020596b
+68010aa2
+e0a10000
+680084b3
+1fe27200
+20407e9f
+20407ef4
+20207ea2
+20407e9c
+68010aa2
+e0a10000
+20407ea2
+680084a2
+1fe27200
+20407e9c
+20407e9f
+9f260c00
+18c08dff
+20407ef4
+20207ea2
+6809445a
+60090aa2
+20405a88
+24215a76
+2040578a
+c000da76
+20405a94
+2422d9a6
+da200014
+20405a82
+58000009
+e0a08000
+680084b3
+1fe27200
+1fe0fe02
+e0a08000
+68010aa2
+e0a10000
+20407e9f
+20407ef4
+20407ea2
+20205aa5
+20405a84
+20205992
+d8402a00
+2040577c
+207a0000
+18c08dfb
+e8c10000
+60010aa2
+da200014
+20405a82
+58000009
+e0a08000
+6800c3af
+1fe27200
+1fe0fe02
+e0a08000
+68010aa2
+e0a10000
+d8c043b0
+20407ef4
+20407ea2
+20205aa5
+68090478
+6800c4e9
+c281d9dd
+2040576a
+203a5a76
+18c08dfe
+e8c10000
+d8402a00
+98467c00
+2022d9d3
+e8c08000
+1fe67c16
+202159ca
+18007e16
+1fe22600
+20407ea5
+1a60a201
+20405a82
+5800000b
+e0a08000
+1a627200
+20407e9f
+20207f01
+20407ea5
+6800c3af
+1fe0a201
+20405a82
+5800000b
+e0a08000
+6800c3af
+1fe27200
+d8c043b0
+20207f01
+680144fa
+98467c00
+2422d9bf
+20405a42
+243459bf
+70047a05
+20205a77
+e8c10000
+6001445e
+da200014
+20405a82
+5800000d
+e0a08000
+6801445e
+98002200
+68090478
+2040576a
+203a5a76
+e8c08000
+9a267200
+24215a76
+1f267c16
+202159f5
+18007216
+1a227e00
+98c08c00
+20407ef4
+20407ea2
+20205aa5
+20405ab1
+204056d7
+202059fd
+d9600002
+6809445a
+60090aa2
+20405756
+2040576d
+18c08dfe
+18c27e00
+6001049c
+20405a88
+24215a25
+68090aa2
+2040578a
+c000da28
+20405a8c
+2422da23
+19627e00
+c0005a28
+24345a19
+78547c00
+da200014
+20405a82
+58000011
+e0a08000
+680084b3
+1fe0fe04
+e0a08000
+20407ea2
+20205a1f
+680084b3
+c0085a28
+68010aa2
+1fe0ffff
+600104a0
+20405a9c
+68010aa2
+6001049e
+20405a97
+196097ff
+20405a84
+20205a05
+68010aa2
+600104a0
+20205a2c
+68010aa2
+1fe0ffff
+600104a0
+20205a2c
+20345a76
+20405a9c
+20205aa5
+18c22200
+680144fc
+1fe0a5fd
+204056e2
+6800c4e9
+c3025a3d
+68090478
+680144fa
+98467c00
+2422da3d
+20405a42
+24345a3d
+70047a05
+20205a77
+18002201
+20405a82
+58000013
+e0a08000
+20600000
+20407fe9
+6800c4c6
+c1000000
+6800c040
+c3820000
+20207fe7
+18c0a202
+680144fc
+1fe0a5fb
+204056e2
+20205a4d
+680144fc
+1fe22200
+20405a82
+58000017
+e0a08000
+68010478
+e0a10000
+680144fc
+1fe0f3fb
+6801450d
+1fe08c07
+e8c10000
+e0a10000
+20207ef4
+18002201
+20405a82
+58000019
+e0a08000
+20600000
+18c22200
+680144fc
+1fe0a5fd
+202056e2
+18422600
+1a20a203
+20405a82
+1a20a3fd
+5800001b
+e0a08000
+1a620400
+e0a90000
+20600000
+18422600
+1a20a203
+20405a82
+1a20a3fd
+5800001d
+e0a08000
+1a620400
+e0a90000
+20600000
+70047a0a
+18002205
+20405a82
+58000001
+e0a08000
+68008477
+e0a08000
+68010478
+e0a10000
+6800847a
+e0a08000
+20600000
+18002404
+20205847
+68090aa2
+18408401
+60090aa2
+20600000
+68090aa2
+6801445c
+98467c00
+20600000
+6808c45e
+da20445f
+680084a2
+1fe27200
+98467c00
+24628000
+da4004a3
+20207f88
+6808c471
+da204472
+20205a8e
+680084b3
+60008101
+1fe27200
+20407e9f
+20207ef4
+20407e9c
+6801049e
+e0a10000
+680104a0
+e0a10000
+68008101
+1fe27200
+20407ef4
+20207ea2
+20407e9c
+2040588a
+18a27e00
+98c62200
+2040588d
+1a227e00
+e0c10000
+1a20a204
+20405879
+1a227e00
+e0c08000
+20600000
+1fecfe00
+6001445a
+e8c10000
+6001445c
+20600000
+e8c08000
+e8c88000
+e8c90000
+c009dabb
+20600000
+e8c10000
+60014509
+700a9940
+20207d86
+da20000c
+da600012
+20405ac7
+58000008
+e0a10000
+68044496
+e0a40000
+20600000
+20405acf
+da400005
+20405847
+1a627e00
+e0a08000
+6800c508
+e0a08000
+20600000
+6800c508
+1fe0fe01
+6000c508
+c1800000
+70450801
+20600000
+6800c4c6
+c0005ae4
+c000dae7
+c0015ae9
+c040dadd
+c0415adf
+c041dae2
+20600000
+7044560d
+20205ae5
+7044560d
+70445401
+20600000
+7044560d
+20205aea
+70445600
+70445403
+20600000
+70445605
+20205ae5
+70445605
+70445400
+20600000
+6800c456
+79207e03
+6000c456
+20600000
+6800c456
+793ffe03
+6000c456
+20600000
+e8c08000
+c000db09
+c001db30
+c0025b4d
+c002db5a
+c0035b80
+c003dbc4
+c0045baf
+c004dbc0
+c0055bc4
+c005dbc4
+c0065bc5
+c006dbca
+20600000
+18002202
+20405c62
+5800000b
+e0a08000
+6800c456
+e0a08000
+20600000
+6000c44c
+e8c30000
+e0a30000
+6800c4c6
+c0005b5f
+20405b2b
+20405b26
+7044c403
+6800c44d
+c0005b18
+c000db18
+c001db18
+6800c4c6
+c0015b1b
+c1418000
+dfe00000
+600244c7
+20600000
+6800c4e9
+c2805b24
+da2044c7
+1a220a00
+df200003
+2040630d
+680144c9
+1fe17e07
+600144c9
+700a9934
+20207d86
+6800c44f
+c3818000
+6800c4c6
+c4038000
+20203402
+18002207
+20405c62
+6803c453
+e0a38000
+20600000
+18c22200
+6800c4c6
+c041db37
+1a220c00
+d8a0442a
+20407ebf
+20205b3d
+1a220c00
+d8a0442a
+20407ebf
+7044bf02
+7044c108
+20600000
+6800c4c6
+c283db45
+2040739c
+18002211
+20405c62
+58000003
+e0a08000
+20207497
+d8a0443a
+2040630c
+204071c5
+18002211
+20405c62
+58000003
+e0a08000
+20207201
+18c22200
+6800c4c6
+c283db61
+1a220c00
+20407394
+2022db75
+70047b04
+18002202
+20405c62
+58000005
+e0a08000
+6800847b
+e0a08000
+18000e0a
+20407f07
+7044c400
+700a9930
+20207d86
+70047b05
+20205b54
+d8a0042f
+1a220c00
+20407ebf
+6800c4c6
+c041db6c
+2040714f
+20405b7a
+6800c4c6
+c1c10000
+700a993b
+20207d86
+204071ba
+d8a00af2
+20407201
+da200af2
+da40442a
+df200010
+20407f88
+2422db53
+20205b7a
+20407390
+700a9931
+20407d86
+70442901
+7044c405
+18002211
+20405c62
+58000004
+e0a08000
+d8c0443a
+20207ebf
+d8a0041f
+20207ebf
+18002211
+20405c62
+58000006
+e0a08000
+6800c4e9
+c280db8a
+d8c04419
+20207ebf
+d8c044ea
+20207ebf
+d8a044cb
+1800720a
+2040630d
+1800220b
+20405c62
+58000007
+e0a08000
+680144cb
+e0a10000
+680444cd
+e0a40000
+20600000
+18002211
+20405c62
+58000008
+e0a08000
+58000000
+e0a40000
+e0a40000
+20600000
+18002208
+20405c62
+58000009
+e0a08000
+6800c495
+e0a08000
+680344a0
+e0a30000
+20600000
+70047b08
+20205b54
+6800c458
+6808c458
+98417e00
+20600000
+d8a044d5
+20407ebf
+20405bab
+2fec0001
+2020dba9
+6800c092
+c1850000
+20405bb9
+24740000
+20203410
+20407fe9
+6800c48e
+c1000000
+68008454
+2fe180c0
+20608000
+20207fe7
+20405bab
+2fec0001
+2020dba9
+20600000
+20600000
+d8a009be
+20407eb3
+7044bf02
+7044c101
+20600000
+d8a00a6e
+20407ebf
+7044c106
+7044bf02
+20600000
+18002241
+20405c62
+5800000c
+e0a08000
+d8c045d2
+20207eb3
+20407166
+18002211
+20405c62
+5800000d
+e0a08000
+20207201
+6800c4c4
+c17f8000
+d8400003
+98467c00
+24610000
+d8e0000a
+20407f16
+247a0000
+20205ba9
+473c402f
+6800c4c4
+c0005bef
+c000dbf5
+c0015bef
+c001dbf7
+c002dbfb
+c003dc07
+c0045c09
+c004dc10
+20600000
+6800c4c5
+c1820000
+7044c5ff
+7044c4ff
+700a993f
+20207d86
+7044c402
+20205b02
+7044c404
+58017700
+d8e0000a
+20207f08
+6800c4c5
+c0025bfe
+20600000
+7044c407
+700a9929
+20407d86
+20405b82
+6800c092
+c1850000
+20405bb9
+20740000
+20203410
+7044c408
+20205b8c
+6800c452
+6808c459
+98417e00
+2fec0001
+2020dc12
+7044c409
+20205b98
+20405ba0
+20205c12
+18000e0a
+20407f07
+7044c5ff
+7044c4ff
+700a993e
+20207d86
+473cc02f
+6800c4c6
+c4038000
+6800c4bf
+c1810000
+7044bf00
+6800c4c1
+c000dc58
+c0015c5f
+c001dc52
+c0035c39
+c003dc30
+c0045c26
+20600000
+6800c663
+1fe20e00
+1fe0fe01
+6000c663
+680244c7
+afefffff
+58000080
+7920fe00
+6000c664
+20205c55
+6800c4c2
+7044c200
+c000dc35
+7044bf02
+20600000
+700a9931
+20407d86
+7044c405
+20205bd5
+680089b9
+c001dc3d
+7044bf02
+20600000
+2040718d
+6800c4c6
+c041dc41
+20405b18
+2040717a
+da200af2
+da400a6e
+df200010
+20407f88
+2022dc49
+70047b0b
+20205b54
+20407595
+2422dc47
+70442901
+6800c4c6
+c040dc35
+c041dc35
+7044bf02
+7044c107
+20600000
+6800c4c6
+c041dc56
+70466400
+20205b3d
+70466300
+20205b1b
+7044bf02
+6800c4c3
+c001dc5c
+20600000
+7044c102
+7009b900
+20207a99
+7044bf02
+7044c103
+20205bcf
+18002406
+20205847
+680082db
+c0005c7b
+c000dc83
+c0015c8e
+c001dcaa
+c0025ce1
+c002dce6
+c0035cea
+c003dcf5
+c0045c99
+c004dcf5
+c0055cef
+c005dcf5
+c0065c9f
+c006dcf5
+c0095ca6
+c009dcf5
+da200002
+da400007
+20405842
+680082db
+e0a08000
+20600000
+e8c48000
+6004c3d3
+e8c10000
+6001045f
+6800843f
+79207e05
+6000843f
+20600000
+e8c28000
+6002c3ce
+e8c10000
+6001045f
+68090459
+98467c00
+24215c8e
+6800843f
+79207e06
+6000843f
+20600000
+58000014
+6001046d
+600144ba
+20600000
+da600013
+da200002
+da400002
+20405842
+1a627e00
+e0a08000
+20600000
+da200009
+da400009
+20405842
+58000001
+e0a40000
+20600000
+20748000
+da200006
+da40000c
+20405842
+6802c510
+e0a28000
+20600000
+da400013
+20205ca8
+da200001
+20205842
+e8c40000
+600444cd
+e8c10000
+600144cb
+e8c40000
+600444aa
+e8c20000
+60024411
+20405ccf
+473d402f
+6800c4c4
+c002dcbc
+6800c4e9
+c280dcbf
+6800c217
+245a67be
+6800c429
+c0005cc4
+7044c501
+20405cdd
+202073a2
+70442901
+d8c044ea
+d8a04419
+20407ebf
+20205cbc
+473dc02f
+7044c500
+7044c400
+700a9941
+20207d86
+da200002
+da40000d
+20405842
+58000006
+e0a08000
+20600000
+d8a044b2
+18007208
+2040630d
+d8a04415
+18007204
+2040630d
+da20000d
+da400004
+20405842
+680444b2
+e0a40000
+68024415
+e0a20000
+20600000
+da400005
+20205ca8
+da400006
+20205ca8
+e8c40000
+600444b2
+e8c20000
+60024415
+202073a2
+6800843f
+79207e04
+6000843f
+20600000
+20748000
+700a9932
+20407d86
+7044c504
+20205cdf
+7044c502
+20405cf3
+700a9933
+20207d86
+da40000b
+20205ca8
+20600000
+20758000
+473e402f
+58000000
+60008048
+60008055
+60008078
+6000807c
+6000c158
+600084d7
+6000816d
+600089b5
+70455b00
+70022900
+7004d800
+7009b500
+7009b400
+7004d100
+20600000
+473ec02f
+2054e2ff
+2454e303
+204062bc
+247a0000
+6800804c
+c4030000
+793ffe06
+793f8001
+6000804c
+68008551
+6808804c
+2feffe00
+79208401
+6008804c
+18410402
+6008807f
+6808804c
+1fe37e00
+6000807d
+473f402f
+6800807d
+c03fdd66
+c001ddb1
+c0025dc2
+c01e5d59
+c002dd55
+c007dfa8
+c0085e24
+c011de42
+c01cdfc1
+c01c5fbc
+c018de27
+c01bdeb0
+c013deac
+c019dea9
+c012deae
+c0135e3e
+c003de36
+c016de2d
+c0175e2e
+c000dea5
+c0015e90
+c0145fb3
+c004de86
+c005de5f
+c0045e43
+c0065e6a
+c00fde3a
+c0105e3c
+c010deca
+c0115eca
+c01adecb
+c01b5ecc
+c0125eca
+c01a5ecd
+c00bded6
+c008def2
+c0095ef6
+c009def8
+c006df0a
+c0075f0a
+c017deaa
+c0185f0a
+c0055f0a
+c00c5f0b
+c0195f0a
+c01edf10
+c01f5f51
+c01fdf4b
+c0205f78
+c020df8a
+c0035fa7
+c01d5d57
+70007e19
+70007c04
+20600000
+70007c06
+20600000
+70007c3b
+20600000
+68020552
+1fe3fe00
+600240d2
+68008556
+6000c0d9
+68028557
+6002c0e7
+6802855c
+e0a28000
+68008031
+79207e03
+60008031
+20600000
+473fc02f
+68008552
+79207e07
+6000807d
+c040dd88
+c0415d8d
+c04adeb1
+c04b5eca
+c045debf
+c041dda5
+c0425da7
+c0485d7a
+c04bdd9e
+c04c5da3
+c04cdd7d
+c04d5d80
+c1420000
+70007c82
+70007e19
+20600000
+70007c82
+70007e2e
+20600000
+20405d82
+70007c9a
+20600000
+20405d82
+20205d86
+d8a0465e
+68018553
+e0a18000
+20600000
+2020f6d8
+20600000
+68008554
+79207e07
+600084c9
+c045dd92
+20600000
+68008554
+79207e07
+600084c9
+c045dd96
+20600000
+6800c15a
+6808804c
+7d3a0405
+6008804c
+68008030
+c4028000
+793ffe05
+60008030
+680084d7
+247a0000
+70007c31
+20600000
+2434dda1
+70007c12
+202062eb
+70007c97
+20600000
+204062eb
+20205ffe
+70007c84
+20600000
+68088555
+18410401
+600884d0
+6800c1ce
+c0a8ddad
+7041ce00
+68008055
+c18a8000
+70005504
+2020631b
+47404030
+68008552
+600084c9
+c019ddd8
+c0045de7
+c007ddee
+c0085df4
+c008ddf5
+c0095dfd
+c00c5e13
+c00bde16
+c009ddcf
+c01edf1e
+c01f5f6a
+c0205f20
+c020df3d
+20600000
+4740c030
+68008552
+600084c9
+c000de0a
+c019dde2
+c005ddfe
+c0045e01
+c009ddd2
+c0205e0b
+c020de0e
+c00c5e11
+c00bde22
+20600000
+700a9920
+20407d86
+202021dc
+700a9919
+20407d86
+70455b02
+58000050
+d8e00006
+20207f08
+680084d1
+79207e00
+600084d1
+700a9901
+20407d86
+70007c8b
+68008055
+c082dd07
+70005506
+20600000
+7004ca0b
+70007c07
+70005500
+2020dd07
+20600000
+6800c1bd
+247a0000
+2040244f
+20405ffc
+20748000
+79200021
+20600000
+24748000
+70007c10
+6800804c
+c4010000
+70007c12
+20600000
+20205ffe
+20406059
+68008030
+c3820000
+70007c31
+68008055
+c1850000
+7000550b
+20600000
+20600000
+70007c07
+7004ca13
+20600000
+68008553
+c0035e07
+c18c0000
+7004ca18
+70007c07
+20600000
+7004ca06
+70007c07
+20600000
+20600000
+7009ae00
+70007c07
+20205d07
+7009ae00
+70007c07
+20205d07
+700a9924
+20207d86
+700a9923
+20407d86
+202026e9
+700a9922
+20407d86
+58000000
+60010075
+680141e3
+1fe3fe00
+60010032
+6800c1e5
+60008073
+6800c1e7
+60008074
+202026c6
+700a9921
+20207d86
+68088552
+60088054
+20205e38
+680084d1
+79207e02
+600084d1
+c3818000
+70007c31
+20205d07
+20600000
+6800c0d0
+68088552
+98467c00
+20215e38
+70007c04
+70007e1f
+70007d2e
+20600000
+20406157
+20205e38
+70007c03
+20600000
+70007c21
+20600000
+70007c22
+20600000
+68008055
+c1098000
+70005502
+20600000
+20600000
+20405ff9
+7004d401
+700a990a
+20407d86
+204062f3
+2420e001
+2434de4e
+70007c04
+70007d08
+70007e23
+20600000
+6800804b
+79207e02
+6000804b
+20600000
+6808804c
+7d3a0401
+6008804c
+20600000
+6800807f
+1fe37e00
+1fe17e01
+20600000
+6800c217
+207a0000
+680089b5
+205a67b2
+20600000
+20405e5a
+20405e56
+600084d5
+20405ff9
+70007c0c
+6800c1bd
+247a0000
+68008030
+c3830000
+70007e06
+20205d53
+da200040
+20407288
+68020552
+680a0592
+98467c00
+2022de73
+70007c07
+7004ca05
+20600000
+20405e77
+6800c65a
+203a5f3e
+20600000
+20407386
+204021b2
+6800804b
+2feffe01
+793ffe01
+6000804b
+68008055
+c00cde81
+c00c5e81
+20600000
+680089b5
+c1800000
+6800804c
+c3810000
+202063b1
+da200552
+da400582
+d8a00562
+20407352
+da200040
+20406311
+70007c0b
+68008030
+c3035ffc
+20600000
+6801015f
+1fe0f3fd
+68088552
+58000101
+98408a00
+d8c00554
+20407f01
+68088053
+68008553
+98467e00
+1fe67c0e
+20215ea0
+1840fe0e
+60008053
+70007c01
+20600000
+6800804c
+79207e03
+6000804c
+c2826006
+20600000
+68008552
+6000807d
+70007c02
+20600000
+20205e38
+70007c30
+20600000
+70007c28
+20600000
+70007c26
+20600000
+20600000
+68010032
+98000400
+68008553
+60008095
+984f8400
+68010554
+1fe3fe00
+60010096
+68020556
+1fe3fe00
+60020091
+18427e00
+60010098
+20600000
+6808c15a
+68008553
+9842fc00
+2422dd77
+2feffe00
+6800804c
+7920fe05
+6000804c
+70007c81
+70007d8b
+20600000
+20600000
+20205e38
+20205e38
+68010552
+60010171
+20600000
+68010555
+6808c172
+984ffe00
+d8400640
+98467c00
+20600000
+68010557
+203a5ef0
+20405ed0
+20215ef0
+6800c092
+1fe67c0a
+2042bcd5
+68008030
+c280def0
+68010553
+1fe3fe00
+60010075
+68010555
+1fe3fe00
+60010032
+68010557
+60008073
+98000400
+68010559
+60008074
+98467c00
+24215eed
+60008073
+70007c03
+70007d17
+20600000
+70007e24
+20205d53
+20405e38
+20405ff9
+2040728b
+202026b8
+20405e38
+202026c0
+68020552
+1fe3fe00
+2034df04
+6808c1bd
+243a5f01
+70007c04
+70007d13
+70007e24
+20600000
+70007c34
+70005500
+202021d9
+204021d9
+79200022
+6800816d
+793ffe02
+6000816d
+20205e38
+20600000
+70007c03
+70007d18
+700a992e
+20407d86
+202026e9
+68008552
+c080df1c
+68008553
+c080df1c
+68008554
+c0985f1c
+204062fc
+2020df19
+7009ae01
+70007c03
+70007d3d
+20205d07
+70007e24
+20205d53
+70007c3e
+20600000
+6800c662
+c000df27
+c0015f2b
+204062fc
+20608000
+7009ae08
+20600000
+20407962
+700a9935
+20407d86
+20205f23
+204062fc
+20608000
+6800c663
+c009df3b
+1fe0fe01
+6000c663
+7009b001
+7009ae04
+6800c663
+1fe20e00
+6803468a
+afefffff
+58000080
+7920fe00
+6000c664
+20600000
+7009ae08
+20600000
+20405f43
+6800c665
+207a0000
+70466500
+700a9938
+20207d86
+204062fc
+2440f965
+2040f975
+204062fc
+20608000
+7009ae0c
+7009b001
+20600000
+d8a00a6e
+d8c00552
+20407ebf
+6800c662
+c1010000
+202076d8
+680089af
+c003df55
+680089ae
+c080df68
+680089b7
+1fe60a20
+24215f68
+d8a009c6
+98a08a00
+68040552
+e0a40000
+6804055a
+e0a40000
+680089b7
+1fe0fe10
+600089b7
+c0985e38
+204062fc
+2020de38
+7009b801
+7009ae02
+7009b001
+20205e38
+70007e24
+20205d53
+680089b6
+c0185f6e
+70007c3e
+20205d07
+204062fc
+2020df77
+6800c662
+c0015f75
+7009b001
+7009ae04
+20205d07
+700a9936
+20207d86
+20205d07
+680089af
+c003df7c
+680089ae
+c0835f88
+d8a00a2e
+68040552
+e0a40000
+6804055a
+e0a40000
+204062fc
+2020df86
+7009ae07
+7009b001
+20205e38
+7009af04
+202076d8
+70007e24
+20205d53
+680089af
+c005df8e
+680089ae
+c0845f9d
+d8a00a5e
+d8c00552
+20407ebf
+204062fc
+2020df9a
+6800c662
+c000df9f
+70466100
+7009ae09
+7009b001
+70007d41
+20205d07
+7009af09
+7009b101
+20205d07
+70007e24
+20205d53
+6800c661
+c283dfa4
+79207e06
+6000c661
+20600000
+c2805f95
+70466100
+20205f9d
+20205d07
+6800816d
+793ffe01
+6000816d
+20405e38
+24748000
+68008552
+6808804b
+793a0404
+7d3a0405
+6008804b
+20600000
+680c0552
+68008055
+c1818000
+6800816d
+c3025fba
+70005514
+20600000
+70005504
+20600000
+6800817f
+6000815b
+70007c03
+70007d38
+20600000
+70007c03
+70007d39
+18007209
+d8c00552
+d8a00152
+e8c08000
+1fe2fe55
+e0a08000
+c2005fc6
+68008152
+68088151
+793f8407
+793f8404
+c07fdfda
+c0005ff3
+c002dfe7
+c003dfe6
+c0035fe7
+c0045fe6
+c000dfdf
+c0015fdf
+c001dfdf
+c004dfdf
+c0025fdf
+20600000
+68008151
+79207e03
+79207e02
+60008151
+20600000
+79200404
+70018005
+68010159
+98007200
+6001015f
+d8a00551
+20407f73
+79200407
+79200402
+18007e00
+6000800b
+600100fa
+600100fc
+600100f8
+600100f6
+68008153
+2fe1fe00
+79208406
+60088151
+20600000
+793f8011
+70015100
+6800817f
+793ffe06
+6000817f
+20600000
+d8c00552
+d8a00562
+20207ebf
+70007c09
+20600000
+24748000
+70007c11
+20600000
+da2040a0
+20407255
+70007c03
+70007d08
+20600000
+7000720a
+70007c07
+7004ca16
+20600000
+47414030
+78547c00
+204062c1
+68008048
+207a0000
+c283e03f
+c000e16f
+c00160e4
+c001e04a
+c0026060
+c013e1db
+c0146108
+c01860f4
+c012e1d6
+c0136103
+c018e1c3
+c01be16a
+c019e15c
+c0046259
+c004e24f
+c005e264
+c006626d
+c007e162
+c0086292
+c008e288
+c003e152
+c015617e
+c005617f
+c00fe1bc
+c00360f9
+c010e15f
+c016e1b2
+c01761b7
+c011615f
+c01a6180
+c009e195
+c00be1a4
+c009628f
+c017e1aa
+c00c61af
+c01ee1ff
+c01f620b
+c01fe21d
+c0206227
+c020e23c
+c011e24b
+c01de246
+c002e24c
+c014e24d
+c01c624e
+c01ce175
+20202a8c
+20600000
+c040e06d
+c0426099
+c0416076
+c041e10d
+c045e118
+c04be14e
+c04ce0d5
+c04d60a4
+c04ae0da
+c04b60db
+20202a8c
+18007e02
+20406298
+68008049
+e0a08000
+204062a7
+4741c030
+68008049
+c0046080
+c007e084
+c008608f
+c00be05f
+c019e092
+c020e098
+c008e059
+20600000
+68008055
+207a0000
+7000551b
+5800000c
+d8e00007
+20207f08
+202026c6
+18007e03
+20406298
+68008049
+c005e068
+e0a08000
+6800804a
+e0a08000
+202062a7
+e0a08000
+6800804a
+e0a08000
+d84004d5
+202062e2
+18000e04
+204062a0
+5800007f
+e0a08000
+68008049
+793ffe07
+e0a08000
+68008049
+202062a7
+18000e05
+204062a0
+5800007f
+e0a08000
+68008049
+793ffe07
+e0a08000
+6800804a
+e0a08000
+202062a7
+2040244f
+204062f3
+20608000
+20205ffc
+6800804b
+c282e08b
+c4020000
+70007c12
+793ffe04
+204062eb
+2020608d
+70007c10
+793ffe05
+6000804b
+20600000
+204062fc
+2020dffe
+20600000
+70007c8b
+680084d1
+79207e00
+600084d1
+700a9901
+20207d86
+20600000
+18000e0c
+204062a0
+58000001
+e0a08000
+680104ce
+e0a10000
+58000000
+e0a18000
+58000000
+e0a20000
+202062b0
+18000e05
+204062a0
+6801c65b
+e0a18000
+204062b0
+70466501
+6800c65b
+c000e0b5
+c00160af
+c001e0bb
+20600000
+6800c65e
+c00060c7
+c000e0c7
+c00160c7
+c001e0c1
+20600000
+6800c65e
+c00060c1
+c000e0c5
+c00160c7
+c001e0c1
+20600000
+6800c65e
+c00060c1
+c000e0c1
+c00160c1
+c001e0c1
+20600000
+70466203
+6800c55c
+c28033e9
+20600000
+70466201
+20600000
+70466202
+20600000
+d8e00000
+202060cd
+d8e00000
+202060d1
+6800c55c
+f9207e00
+6000c55c
+20600000
+6800c55c
+f93ffe00
+6000c55c
+20600000
+18000e05
+204062a0
+6801c65b
+e0a18000
+202062b2
+20600000
+18000e09
+204062a0
+68008095
+e0a08000
+68010096
+e0a10000
+68020091
+e0a20000
+202062b0
+18007e11
+20406298
+68008049
+1fe20400
+c00060ec
+c00760ec
+c00e60ec
+20600000
+e0a08000
+6800c515
+e0a08000
+df20000e
+58004516
+98408c00
+20407f01
+202062b0
+18007e03
+20406298
+58000114
+e0a10000
+202062b0
+18007e03
+20406298
+68020165
+9c467e00
+2034e0ff
+1fe67e00
+1feb7e00
+793ffe0f
+e0a10000
+202062b0
+18007e06
+20406298
+6802c510
+e0a28000
+202062b0
+18007e09
+20406298
+68044098
+e0a40000
+202062b0
+18000e0c
+204062a0
+58000001
+e0a08000
+680104ce
+e0a10000
+58000000
+e0a18000
+58000000
+e0a20000
+202062b2
+18000e03
+204062a0
+6800c15a
+e0a08000
+78547c00
+204062b2
+24740000
+24748000
+6800c0d8
+c4000000
+20406132
+2020613c
+47424030
+6800c09e
+79207e03
+6000c09e
+58000101
+600104ce
+20600000
+4742c030
+6800c09e
+793ffe03
+6000c09e
+58000000
+600104ce
+20600000
+7040d803
+58000000
+60024142
+d8a040da
+20406140
+d8a040e7
+20406140
+d8a04146
+20406140
+20206147
+d8a040e7
+20406140
+20406147
+2020614a
+58ffffff
+e0a18000
+e0a18000
+e0a18000
+5800007f
+e0a08000
+20600000
+58000000
+600140d6
+20600000
+6800c0d8
+79207e02
+6000c0d8
+20600000
+18000e02
+204062a0
+2434e2b0
+202062b2
+18007e02
+20406298
+680084ca
+e0a08000
+204062b2
+6800804b
+79207e03
+6000804b
+70007232
+20600000
+18007e01
+20406298
+202062b2
+18007e01
+20406298
+202062b0
+18007e02
+20406298
+6800804c
+2fec0002
+7920fe00
+1fe17e01
+e0a08000
+202062b2
+18007e03
+20406298
+68010051
+e0a10000
+202062b2
+700072fa
+18007e02
+20406298
+68008053
+e0a08000
+202062b2
+18007e0a
+20406298
+d8c00152
+18007209
+e8c08000
+1fe2fe55
+e0a08000
+c2006179
+202062b2
+202062b2
+202062b2
+20748000
+2040282d
+18007e09
+20406298
+68010171
+e0a10000
+6801c0a0
+e0a18000
+6800c0a3
+e0a08000
+680140a4
+e0a10000
+c581e191
+793f8003
+204062b2
+70007c13
+20600000
+204062b0
+70007c03
+70007d13
+20600000
+d8400200
+2034e199
+1d027e00
+2020619a
+1c427e00
+1c227e00
+9840fe00
+1fe17ffc
+60020034
+18007e05
+20406298
+68020034
+1fe37e00
+e0a20000
+202062b2
+18007e0a
+20406298
+d8c004d9
+e8c48000
+e0a48000
+202062b2
+18007e03
+20406298
+58000114
+e0a10000
+202062b2
+18007e01
+20406298
+202062b2
+18007e02
+20406298
+6800c0d0
+e0a08000
+202062b2
+18007e02
+20406298
+58000005
+e0a08000
+202062b2
+18007e02
+20406298
+58000000
+e0a08000
+202062b2
+70007c2e
+20600000
+6800c092
+1fe67c0a
+2042e1c1
+68008030
+79207e04
+60008030
+1c427e00
+600204e9
+680084d1
+c281e1d4
+79207e03
+600084d1
+700a9905
+20407d86
+18007e01
+20406298
+202062b2
+70004800
+20600000
+18007e06
+20406298
+6802c510
+e0a28000
+202062b2
+18007e09
+20406298
+68044098
+e0a40000
+202062b2
+7009b101
+6800c5b1
+c1808000
+7009af13
+20600000
+204062ef
+70007c99
+7009af03
+20600000
+204062ef
+70007c3d
+7009af07
+20600000
+da200a4e
+da400a6e
+df200010
+20407f88
+2022e1f7
+7009af00
+204076da
+70007e24
+70007d40
+20205d53
+7009af0a
+204076d8
+70007d40
+20205e38
+70007c40
+20600000
+70007c3d
+20600000
+7009b600
+18007e04
+20406298
+18007e01
+e0a08000
+18007e01
+e0a08000
+18007e30
+e0a08000
+204062fc
+2020e2b2
+202062b0
+18007e11
+20406298
+680089b6
+d8c0462a
+98c08c00
+e8c40000
+e0a40000
+e8c40000
+e0a40000
+680089b6
+1fe0fe10
+600089b6
+204062fc
+2020e2b2
+202062b0
+7009ae06
+70007c3f
+20600000
+18007e11
+20406298
+d8c00a4e
+e8c40000
+e0a40000
+e8c40000
+e0a40000
+202062b0
+70007c40
+20600000
+204062fc
+2040f612
+18007e11
+20406298
+d8c00a1e
+e8c40000
+e0a40000
+e8c40000
+e0a40000
+204062fc
+2420e2b0
+2020e2b2
+7009af0f
+204062ef
+70007c0b
+20406307
+2020f64e
+20207658
+204062eb
+70007c41
+20600000
+18007e11
+20406298
+d8c00a4e
+e8c40000
+e0a40000
+e8c40000
+e0a40000
+204062fc
+2420e2b0
+2020e2b2
+18007e03
+20406298
+5800fffe
+e0a10000
+202062b0
+202062b2
+202062b2
+202062b2
+202062b2
+2040630b
+da2040a0
+20406311
+18007e11
+20406298
+da200582
+da400562
+20407352
+2434e2a7
+202062ad
+2040630b
+da200040
+20407255
+18007e11
+20406298
+d8c00562
+20407ebf
+68008055
+c00ce2b2
+c00c62b2
+202062ad
+680089b5
+203a626a
+204062fc
+2040e2ef
+2440e2eb
+2020626b
+204062ef
+2040630b
+2020625c
+da2040a0
+20407288
+18007e05
+20406298
+68020592
+e0a20000
+d84004d5
+204062e2
+20407386
+204062fc
+2020e27c
+7004d801
+680089b5
+207a0000
+70007c0b
+6800c1bd
+207a0000
+204062fc
+2420e284
+680084d7
+207a0000
+70007c0f
+20600000
+c6908000
+793f8021
+70007c0f
+20600000
+2040630b
+2040728b
+18007e11
+20406298
+d8c00562
+20407ebf
+202062ad
+18007e01
+20406298
+202062ad
+18007e02
+20406298
+18007e10
+e0a08000
+60008054
+202062ad
+1fe9fe00
+1fe1fe07
+600084b6
+df200011
+d8a004b8
+20407ed4
+d8a004b8
+20600000
+1fe1227f
+7000487f
+18e27e00
+20406298
+1a227e00
+e0a08000
+20600000
+68008048
+1fe3fe00
+6808804c
+284ffe01
+7920fe00
+202062b7
+6808804c
+18410401
+202062b3
+18000400
+202062b3
+18000401
+68008048
+1fe3fe00
+7934fe00
+9842fe00
+600084b7
+70004800
+204062c7
+78347c00
+20600000
+6800807c
+207a0000
+204062c1
+6800807c
+20600000
+47434030
+68008048
+203a62c7
+68008078
+247a0000
+202062d1
+68008078
+203a62d7
+68018078
+60018048
+6808807b
+6800804c
+793ffe01
+9841fe00
+6000804c
+70007800
+6800807c
+207a0000
+6802007c
+60020078
+70007c00
+20600000
+6800807c
+207a0000
+6801807c
+60018048
+6808807f
+6800804c
+793ffe01
+9841fe00
+6000804c
+70007c00
+20600000
+4743c030
+6800804c
+1fe22600
+e8408000
+20405e52
+204062a7
+1a627e00
+6000804c
+20600000
+6808804c
+793f8400
+6008804c
+20600000
+6808804c
+79200400
+6008804c
+20600000
+7d34fe01
+6808804c
+9842fe00
+2feffe01
+20600000
+6800804c
+7934fe01
+6000804c
+20600000
+680089b4
+2fe0fe01
+20600000
+680089b4
+79207e07
+600089b4
+20600000
+680089b4
+793ffe07
+600089b4
+20600000
+680089b4
+2feffe07
+600089b4
+20600000
+d8a00562
+18007210
+180a7e00
+e0a08000
+c200630d
+20600000
+20407259
+da2041be
+da400592
+ea240000
+68088030
+7d3a0406
+60088030
+1a220a00
+20407352
+202021c4
+47444031
+204062bc
+247a0000
+68008055
+207a0000
+c002636f
+c002e374
+c0016366
+c001e37c
+c0076369
+c0036398
+c003e3b0
+c004e3b1
+c00563ba
+c005e3be
+c0066386
+c006e389
+c007e38f
+c0096359
+c009e37c
+c008635c
+c00a6356
+c00ae37c
+c00b6350
+c00c6355
+c00be349
+c00ce34f
+c00d633a
+c00de344
+70005500
+20600000
+680084d1
+c4010000
+c4018000
+70005500
+20406340
+20206cef
+6800816d
+c4008000
+7000550a
+20600000
+d8e00007
+20407f16
+247a0000
+7000551a
+20600000
+6800816d
+793ffe00
+6000816d
+70005519
+70007c0b
+20600000
+20600000
+680084d4
+c1810000
+204063c0
+70005518
+20600000
+20600000
+70005515
+70007c83
+20600000
+70005513
+70007c25
+20600000
+6800c55b
+c1000000
+c000e364
+d8e00006
+20407f16
+247a0000
+70455b00
+2020637d
+20748000
+20206398
+70005503
+70007c27
+20600000
+70007c13
+79200003
+70005505
+580001ff
+600104d2
+20600000
+70005505
+7004d2ff
+793f8022
+70007c33
+20205d04
+c6110000
+680104d2
+1fe67e01
+2022e37a
+600104d2
+20600000
+7000550e
+20600000
+20600000
+680084d1
+c4018000
+c4010000
+6800816d
+793ffe02
+6000816d
+70007c13
+70005510
+20600000
+7000550d
+70007c31
+20600000
+680084d1
+c4010000
+70005500
+20600000
+70005506
+20600000
+680084d2
+1fe0ffff
+203a6394
+600084d2
+20600000
+70007c07
+7004ca16
+70005500
+20600000
+6800816d
+c281637d
+c280639d
+7000551a
+20600000
+6800c1bd
+203a63a9
+680084d1
+c4018000
+c4010000
+680204e9
+d8400064
+98408400
+1c427e00
+98467c00
+24610000
+20206349
+70005516
+70468904
+58003030
+6001468a
+e0a10000
+7004d402
+20206350
+20600000
+6800816d
+c280e3b5
+7000551a
+20600000
+6800816d
+793ffe01
+6000816d
+70007c0f
+20600000
+680084d8
+207a0000
+70005500
+202063b5
+7000550c
+20600000
+6800804b
+c28163c5
+204062ef
+70007c08
+20204d04
+6800804b
+793ffe02
+6000804b
+20406001
+204062f8
+20204d04
+58000004
+6000c689
+58003030
+e0a10000
+e0a10000
+20600000
+47464031
+68108073
+d8400006
+9841fe00
+60108073
+68108077
+9841fe00
+60108077
+204063ee
+68108077
+793ffe01
+793ffe02
+60108077
+2000001e
+202063f2
+68108073
+d84000c0
+9841fe00
+60108073
+68108077
+9841fe00
+60108077
+204063ee
+68108077
+793ffe06
+793ffe07
+60108077
+2000001e
+202063f6
+68108081
+1fe17efc
+60108081
+20600000
+68108081
+1fe1fe01
+60108081
+20600000
+68108081
+1fe1fe03
+793ffe04
+60108081
+20600000
+1fe22400
+2040640f
+20000064
+1a427e00
+20406414
+1fe22400
+20406411
+20000064
+1a427e00
+20600000
+1fe22400
+2040640f
+20000064
+1a427e00
+20406413
+20406411
+20000064
+20600000
+6808c214
+2020680e
+6808c214
+20206829
+6808c214
+20206825
+202064ec
+202064f3
+24346419
+68108085
+1fe1fe02
+60108085
+18427c00
+2022e41c
+1a627a00
+2fcc0000
+202064b9
+18000404
+da2001fe
+68108085
+1fe17efd
+60108085
+20406419
+da2055aa
+680101fe
+e8c90000
+9a267c00
+20600000
+d8400002
+da200204
+20406419
+68010204
+600101f7
+20546430
+20600000
+d8400010
+da200206
+68108085
+1fe17efd
+60108085
+20406419
+d8c00206
+df200010
+20407478
+20407428
+20407491
+20207422
+7856fc00
+2040641e
+24628000
+7836fc00
+70802380
+70802200
+70802400
+da208025
+20406415
+70802300
+d8400006
+2040641f
+24628000
+e8c10000
+98002200
+20406419
+20206446
+20407f99
+58001000
+600101f7
+da6065e5
+df200002
+2040641e
+24628000
+680101f7
+1ff0fe00
+9840fe00
+1ff0fe00
+600101f7
+c2006452
+20206446
+20407f99
+78547c00
+2040666a
+58000000
+da2001f3
+d8400002
+204066b3
+680101f3
+c303e46e
+70805025
+580007f0
+da200206
+d8400010
+204066b3
+70800608
+7920002b
+d8c00206
+20407484
+78347c00
+7041da00
+204064b0
+680101f3
+1ff0fe00
+d84007ff
+98417e00
+2022e47b
+2040666f
+da6066b8
+20546430
+2040643c
+680081f2
+c300646f
+2040666d
+7041da00
+204064b0
+204065c2
+680081f3
+c283648e
+204064aa
+2436e486
+680081f2
+c300647d
+2020649b
+204065bf
+680081f3
+c283648e
+204064aa
+2436e48e
+680081f2
+c300647d
+2020649b
+7041da00
+204064b0
+680081f3
+c282e49b
+58000000
+600181f6
+20406502
+da606578
+20406429
+2040643c
+2436e49b
+680081f2
+c300648f
+c515e49d
+204064a3
+680081f3
+c30264a3
+70805021
+20404c0e
+20404c2e
+202064a1
+58000000
+60040206
+6004020e
+18007004
+20407492
+70805021
+20600000
+58000000
+600101f7
+da6065e5
+204065a3
+20406429
+2020643c
+6800c1da
+1fe0fe01
+1fe67c03
+242164b6
+6000c1da
+20600000
+204064a3
+20407fa1
+20600000
+680081f2
+1fe3fe00
+7920fe00
+2a2c000f
+20608000
+600081f2
+20600000
+68108085
+c4008000
+202064c6
+6810812c
+afefffff
+20608000
+68108108
+c300e4c3
+20407422
+202064c3
+68014199
+207a0000
+70802380
+70802200
+70802400
+6809419b
+184bf200
+98000c00
+e8c08000
+60108025
+c20064d2
+70802300
+20600000
+4746c031
+204064dd
+202063f2
+204064dd
+204063ee
+202063f6
+6800c212
+60108086
+6800c213
+60108087
+580001f5
+6011008a
+580001fa
+6011008c
+202063ee
+68108086
+79207e07
+60108086
+793ffe07
+60108086
+20600000
+79207e07
+600101f5
+47474031
+70808802
+70808e00
+70800602
+202064fc
+18000401
+600081f5
+4747c031
+70808801
+6019008e
+70800602
+204064fc
+680081fa
+20600000
+680140d6
+1fe0fe01
+600140d6
+6810812c
+c301e4fc
+20600000
+70808640
+70808700
+68108081
+793ffe00
+79207e01
+60108081
+58000000
+600201f5
+20600000
+58000000
+6011008e
+58000001
+60110088
+580001f5
+6011008a
+7001f506
+70800602
+202064fc
+78547c00
+1fe22400
+6800c239
+c1800000
+78347c00
+1a427e00
+20206522
+6800c239
+c000e522
+c0016528
+c001e530
+c0026537
+c002e53d
+20600000
+6001c232
+1a227e00
+60014235
+60094237
+70423902
+20206502
+20406502
+70423903
+2040650b
+da2001f5
+6801c232
+70808804
+d8400020
+20206556
+20406502
+2040650b
+58000005
+204064f3
+c3800000
+70423904
+20600000
+20406502
+70423905
+2040650b
+2040654a
+20406552
+20206545
+20406502
+2040650b
+58000005
+204064f3
+c3800000
+70423900
+68014201
+20207f9c
+68020aa2
+68094235
+184085fc
+e0420000
+20600000
+68094235
+18422200
+184085fc
+e8420000
+60020aa2
+68094237
+6801c232
+20600000
+18408404
+60190088
+d8400002
+1a20a3fc
+e2288000
+1ff10400
+e0a88000
+1fec8400
+e0a88000
+e0a08000
+1a227e00
+6011008a
+58000000
+6011008e
+70800602
+202064fc
+6019008e
+1ff10400
+600881f6
+1fec8400
+600881f7
+600081f8
+58000004
+60110088
+7001f503
+580001f5
+6011008a
+1a227e00
+6011008c
+68108086
+2a2c000f
+7920fe06
+60108086
+70800602
+6810812c
+c283e574
+d8e00003
+202064fc
+6019008e
+58000004
+60110088
+7001f503
+580001f5
+6011008a
+1a227e00
+6011008c
+68108086
+2a2c000f
+7920fe06
+60108086
+70800602
+6810812c
+c283e585
+d8e00003
+204064c0
+204064fc
+2feffe02
+204064b9
+680081f6
+1ff02400
+680081f7
+1fed7e00
+9a41a400
+680081f8
+9a41fe00
+9840fe00
+600081f8
+1fecfe00
+600081f7
+1fecfe00
+600081f6
+20600000
+70801001
+20600000
+7080910c
+7080920d
+7080930d
+7080940d
+7080950d
+7080960c
+202065a9
+70809105
+70809207
+70809307
+70809407
+70809507
+70809605
+6810807b
+1fe1fec0
+6010807b
+68108081
+1fe1fe10
+60108081
+20600000
+6810812c
+c302e5b0
+20600000
+60110098
+1a227e00
+6011009a
+1a427e00
+6011009c
+18427e00
+6011009e
+d8400001
+7d3a0401
+60108090
+70800604
+202065b0
+79200028
+70421108
+20600000
+793f8028
+70421120
+20600000
+6800c203
+9a40fe00
+600081f7
+202065cc
+680101f7
+1ff0fe00
+600081f7
+58000003
+60110098
+7001f6a0
+7001f8a1
+202065eb
+60090aa2
+204065d6
+68090aa2
+20406606
+202065dd
+6800c23a
+c17f8000
+c30365db
+580249f0
+20402a8f
+6808c23a
+20206829
+6808c23a
+20206825
+47484032
+c51465c5
+68014203
+9a40fe00
+1ff0fe00
+600101f7
+4748c032
+c51465c9
+58000004
+60110098
+7001f6a0
+7001f9a1
+580001f6
+6011009a
+6019009e
+1a227e00
+6011009c
+58000002
+2a2c000f
+7920fe00
+60108090
+70800604
+d8e00005
+204064c0
+204065b0
+2feffe04
+204064b9
+c5146601
+680101f7
+1ff0fe00
+9840fe00
+1ff0fe00
+600101f7
+20600000
+680081f7
+9840fe00
+1ff0fe00
+600101f7
+20600000
+68014203
+9a40fe00
+60010a9a
+47494032
+60090aa2
+1a227e00
+60010ab9
+2040661d
+68090ab2
+68010ab9
+1fe22200
+68010a9a
+2040663d
+68010ab2
+68090ab9
+98408400
+60090ab9
+68090a9a
+98408400
+60090a9a
+68010aa2
+243a660d
+20600000
+4749c032
+6800c211
+1fe0ffff
+68090a9a
+9841fe00
+1fe0fe01
+60018ab6
+68010aa2
+9840fe00
+68098ab6
+98467e00
+2421662f
+60010aa2
+68018ab6
+68090a9a
+98467e00
+60010ab2
+20600000
+68010aa2
+60010ab2
+58000000
+60010aa2
+20600000
+18408402
+60190098
+1a20a3fe
+ea298000
+18422400
+d84000a0
+e2288000
+e0a08000
+2020664a
+1fe22400
+474a4032
+c5146634
+1a427e00
+18408403
+60190098
+1a20a3fd
+ea298000
+18422400
+d84000a0
+e2288000
+1ff0fe00
+e0a10000
+1a227e00
+6011009a
+58000000
+6011009e
+70809001
+70800604
+204065b0
+1a427e00
+e2218000
+474ac032
+7001f900
+58000001
+60110098
+7001f6a0
+580001f6
+6011009a
+58000000
+6011009e
+6011009c
+58000003
+60108090
+70800604
+204065b0
+6810812c
+c4030000
+200005dc
+680081f9
+1fe0fe01
+600081f9
+1fe67c28
+24610000
+20206655
+70897370
+20000bb8
+20600000
+70897330
+20600000
+1fe9fe00
+60110045
+70804b00
+20600000
+2040666f
+204066a0
+ea288000
+1a20a201
+18000e00
+a84c0000
+2020e697
+68108046
+79207e06
+79207e07
+60108046
+70804702
+70804782
+793ffe07
+60108046
+7080478a
+2000000b
+708047ca
+20000021
+7080474a
+2000002c
+708047ca
+20000016
+7080478a
+20000021
+70804782
+20000001
+70804792
+2000000a
+708047b2
+68108007
+70804792
+20000001
+70804782
+afec0000
+2020e678
+68110045
+1fe0fe01
+60110045
+18e08e01
+28e01e08
+2420e678
+c2006675
+70804783
+20600000
+70804782
+2000000c
+70804780
+70804782
+20000096
+20600000
+204066a0
+708047a2
+1a227e00
+60110048
+7920040b
+2fec000f
+7920840f
+6019004a
+70800601
+20600000
+6810812c
+c300e6b0
+20600000
+2040666f
+204066a6
+204066b0
+70804783
+20600000
+68110124
+60110045
+204066a6
+d8e00001
+204064c0
+204066b0
+2feffe00
+204064b9
+70804783
+20600000
+6811005e
+98001400
+20600000
+19427e00
+6011005e
+20600000
+18627e00
+60110058
+20600000
+68110058
+1fe20600
+20600000
+68014243
+60110052
+20600000
+1f227e00
+207a0000
+1f20f3f8
+204166de
+20628000
+202166d3
+1f20f208
+1f20f3fc
+204166e1
+20628000
+202166d8
+1f20f204
+202066e4
+e8c40000
+e1440000
+20600000
+e8c20000
+e1420000
+20600000
+1f227e00
+207a0000
+e8c08000
+e1408000
+c20066e6
+20600000
+1f227e00
+207a0000
+1f20f3f8
+204166f7
+20628000
+202166ec
+1f20f208
+1f20f3fc
+204166fa
+20628000
+202166f1
+1f20f204
+202066fd
+e8640000
+e0a40000
+20600000
+e8620000
+e0a20000
+20600000
+1f227e00
+207a0000
+e8608000
+e0a08000
+c20066ff
+20600000
+1f227e00
+207a0000
+e8608000
+e1408000
+c2006705
+20600000
+700a993d
+20207d86
+474b4032
+6800c217
+207a0000
+204067a3
+2042e7a9
+2040673e
+6800c217
+1fe22600
+68094215
+6009018c
+1a627e00
+203a6709
+1a60a7ff
+18422200
+ea208000
+68088184
+98467c00
+2042e725
+20216721
+ea208000
+1fe0fe01
+e2208000
+6809018c
+18408422
+6009018c
+20206715
+58000000
+e2208000
+68008185
+e0a08000
+c099e733
+da4041be
+e8c30000
+e0a40000
+58000000
+e0a40000
+1a420c00
+20407ebf
+18007c01
+20600000
+c01b6737
+c01be73b
+da404419
+2020672b
+d8c044d5
+20407ebf
+d8c04419
+20206730
+d8c044cd
+20407ebf
+20206739
+20407fe9
+6800c217
+207a0000
+68014682
+c2806754
+474bc032
+6800c48e
+c000674d
+68008454
+2fe180c0
+2020e74d
+2fe18040
+2020e752
+2fe18000
+2020e750
+70018535
+6803044f
+20206757
+70018537
+20206757
+70018536
+20206757
+474c4033
+70018533
+68030040
+60030186
+68014215
+efe88000
+1fe0fe01
+6001018c
+60088184
+6800c217
+1fe22600
+6801018c
+1fe22200
+2040676f
+20740000
+6809018c
+18408422
+6009018c
+184085ff
+e8408000
+60008184
+1a60a7ff
+2422e75f
+6800c217
+1fe0ffff
+60008184
+20600000
+68008185
+c099e776
+da400185
+df200007
+20407f88
+2022ffe7
+20600000
+c01b6779
+c01be794
+20206771
+ea288000
+98467c00
+24628000
+d8a00ac2
+df200010
+20407ed4
+68018452
+60018ac2
+2040678b
+68010adf
+1ff0fe00
+1fed0400
+e8c08000
+9840fe00
+6809844f
+98467c00
+2022ffe7
+20600000
+d8c00ac2
+20407486
+ea208000
+20407487
+18006c38
+18006c00
+2040741d
+d8a00ad2
+20207497
+ea288000
+98467c00
+24628000
+18c22200
+18c0a608
+da4044cd
+df200008
+20407f88
+2022ffe7
+1a622200
+da4044d5
+df200008
+20407f88
+2022ffe7
+20600000
+68014215
+efe88000
+1fe0fe22
+efe08000
+98467c00
+20600000
+6800c217
+1fe27200
+68094215
+58000000
+e0408000
+18408422
+1fe0fe01
+c20067ad
+20600000
+474cc033
+2040673e
+68008030
+79347e06
+60008030
+243467bc
+1a208c0a
+d8a041be
+20407ebf
+202067d7
+7041bd00
+20600000
+6804c4cb
+203a67ca
+2040673e
+243467ca
+6801018c
+1fe08c01
+d8a044d5
+20407ebf
+d8a04419
+20407ebf
+70442901
+20600000
+70442900
+20600000
+6803044f
+60030186
+70018534
+202067d3
+68030040
+60030186
+70018533
+6800c092
+c005670b
+c28342da
+20600000
+680441be
+680c41c6
+9841fe00
+207a0000
+7041bd01
+20600000
+474d4033
+79200407
+2040681d
+7d208407
+474dc033
+18467cff
+20628000
+284c0007
+18410e1f
+680200a1
+f920fe00
+600200a1
+680200a5
+fd20fe00
+600200a5
+20600000
+474e4033
+18467cff
+20628000
+284c0007
+18410e1f
+680200a1
+f93ffe00
+600200a1
+680200a5
+f93ffe00
+600200a5
+20600000
+204067ed
+202067fe
+18467cff
+20628000
+2455e7e1
+d8a0807c
+20406830
+79400407
+d8a08078
+20406830
+793f8407
+d8a08070
+20206830
+d8a0807c
+20406830
+793f8407
+d8a08078
+20406830
+793f8407
+d8a08070
+20206830
+18467cff
+20628000
+79400407
+2040682f
+79200407
+d8a08070
+20206830
+18410e07
+18497e00
+1fe17e03
+98a08a00
+e8a08000
+20600000
+d8a08074
+2020681e
+d8a0811c
+20406815
+284ffe07
+2020e823
+afec0000
+20600000
+afefffff
+20600000
+18467cff
+20628000
+2fcffe07
+2020682c
+18467cff
+20628000
+2fcc0007
+58000000
+7d20fe07
+98428400
+d8a08074
+20406815
+284ffe07
+f920fe00
+e0a08000
+20600000
+da3fffff
+68108081
+2fe00602
+2040e878
+2fe00601
+2040e87a
+2fe00603
+2040e87a
+2feffe02
+2040e874
+2feffe03
+2040e876
+2feffe04
+2040e87c
+2feffe06
+7d20a204
+2feffe07
+7d20a205
+68108082
+2feffe00
+7d20a21b
+2feffe01
+7d20a21c
+2feffe02
+7d20a203
+2feffe03
+7d20a208
+2feffe04
+7d20a214
+2feffe05
+7d20a215
+2feffe06
+7d20a216
+2feffe07
+7d20a217
+68108080
+2feffe00
+7d20a205
+2feffe01
+7d20a206
+2feffe02
+7d20a207
+2feffe03
+7d20a212
+2feffe04
+7d20a213
+2feffe05
+7d20a214
+2feffe06
+7d20a215
+2feffe07
+7d20a216
+68108062
+2feffe04
+2040e87e
+474ec033
+68120078
+681a007c
+9841fe00
+1fe47e00
+9a217e00
+60120070
+20600000
+d8e00006
+20206884
+d8e00009
+20206882
+d8e00017
+20206882
+d8e00019
+20206884
+d8e0001e
+20206884
+d8e00002
+20206884
+df200001
+20206885
+df200004
+20206885
+df200002
+f93fa200
+18e08e01
+c2006885
+20600000
+20406895
+d8400006
+2020680e
+20406889
+d8400006
+20206825
+20406895
+68108078
+79207e07
+60108078
+d8400007
+202067fb
+68108081
+1fe17efb
+60108081
+20600000
+68108081
+2feffe02
+20600000
+2040666a
+580007e0
+da204150
+d8400002
+204066b3
+2020666d
+2040666a
+580007e2
+da20421d
+d840000e
+204066b3
+2020666d
+474f4033
+204068a2
+6800c22d
+c00068af
+c000e8c3
+c00168d7
+20600000
+68094229
+5800aa55
+98467c00
+2022e8b8
+58004dfa
+60014227
+58004894
+60014221
+202068c0
+68014227
+243a68bc
+58004dfa
+60014227
+68014221
+243a68c0
+58004894
+60014221
+58000064
+6001422b
+20600000
+68094229
+5800aa55
+98467c00
+2022e8cc
+58005932
+60014225
+58004323
+6001421f
+202068d4
+68014225
+243a68d0
+58005932
+60014225
+6801421f
+243a68d4
+58004323
+6001421f
+58000190
+6001422b
+20600000
+68094229
+5800aa55
+98467c00
+2022e8e0
+58006946
+60014223
+58005377
+6001421d
+202068e8
+68014223
+243a68e4
+58006946
+60014223
+6801421d
+243a68e8
+58005377
+6001421d
+58000032
+6001422b
+20600000
+6800c22d
+c00068f0
+c000e8f2
+c00168f4
+20600000
+708971bf
+202068f8
+708971af
+202068f8
+7089718f
+6800c22e
+60108973
+202068f8
+474fc033
+68108053
+79207e07
+60108053
+68108973
+1fe1fe30
+60108973
+7089067c
+708972aa
+20001388
+68190150
+68108053
+793ffe07
+60108053
+6009422f
+20600000
+47504034
+6800c22d
+c000690e
+c000e912
+c0016916
+20600000
+68014227
+68094221
+da6000c8
+2020691a
+68014225
+6809421f
+da600064
+2020691a
+68014223
+6809421d
+da600032
+2020691a
+98462200
+6801422f
+98467e00
+24216927
+6809422b
+984fa400
+1a627e00
+9a2ffe00
+9a40fe00
+9a26fc00
+20407f86
+1807fe00
+20600000
+18427e00
+6809422f
+98467e00
+6809422b
+984fa400
+1a627e00
+9a2ffe00
+9a467e00
+20206923
+ea240000
+60040a9a
+68010a9a
+68090a9c
+98462200
+68010aa0
+98462400
+68090a9e
+98467c00
+24416940
+1a4ffe64
+9a26fc00
+20407f86
+1807fe00
+205a6944
+20600000
+6800c231
+79207e00
+6000c231
+20600000
+6808c231
+79200401
+6008c231
+20600000
+6801423d
+efe08000
+207a0000
+1fe27200
+6801423d
+1fe0fe03
+1fe22200
+ea288000
+204067fb
+1a20a201
+c200694f
+20600000
+6801423d
+1fe0fe03
+1fe22200
+18002400
+700b1200
+ea288000
+2040681d
+4750c034
+68010b12
+1a420e00
+f920fe00
+60010b12
+1a20a201
+1a40a401
+6801423d
+efe08000
+9a42fc00
+2422e959
+68010b12
+68090b14
+9842fc00
+20628000
+78347c00
+20600000
+6801423d
+efe08000
+207a0000
+1fe27200
+6801423d
+1fe0fe03
+1fe22200
+ea288000
+204067dd
+1a20a201
+c2006973
+20600000
+d8e00009
+20407f16
+247a0000
+58000020
+d8e00009
+20407f08
+78547c00
+2040696c
+47514034
+6801423d
+efe08000
+207a0000
+20406954
+24347d02
+20407d00
+78547c00
+68010b12
+60010b19
+700b1b00
+18000e00
+68010b14
+1fe30400
+60090b14
+1fe17e01
+68090b19
+18412201
+18430400
+60090b19
+9a22fc00
+2442e9a1
+6801423d
+efe08000
+68088b1b
+18408401
+60088b1b
+18420e00
+98e2fc00
+2422e98c
+68010b12
+60010b14
+20600000
+4751c034
+6801423d
+1fe0fe01
+efe10000
+20207f9c
+68108042
+9a21fe00
+60108042
+68110050
+793ffe0d
+60110050
+20000064
+20600000
+68098a9c
+58b71b00
+9846fc00
+20407f86
+18078400
+68008a9f
+984ffe00
+1fe6fc64
+20407f86
+1807a200
+18427e00
+9a262400
+68008a9b
+204069be
+68008a9a
+202069d5
+c00069c4
+c000e9c6
+c00169c8
+c001e9ca
+c00269cc
+c002e9ce
+d8a080a0
+202069d0
+d8a080a4
+202069d0
+d8a080a8
+202069d0
+d8a08064
+202069d0
+d8a08068
+202069d0
+d8a0806c
+202069d0
+1a227e00
+e0a10000
+1a427e00
+e0a10000
+20600000
+78347c00
+202069d8
+78547c00
+c00269e3
+c002e9e5
+c00de9e7
+c00e69e9
+c001e9eb
+c00469ed
+c00a69ef
+c00ae9f1
+c00b69f3
+c00be9f5
+20600000
+d8e00006
+202069ff
+d8e00007
+202069ff
+d8e00008
+202069ff
+d8e00009
+202069ff
+d8e0000a
+202069ff
+d8e0000b
+202069ff
+d8e0000c
+20206a01
+d8e0000d
+20206a01
+d8e0000e
+20206a01
+d8e0000f
+20206a01
+68110081
+f9347e00
+60110081
+1a220e00
+68108085
+f9347e00
+60108085
+20600000
+18e0a3fc
+202069f7
+18e0a3f6
+202069f7
+20758000
+70456700
+7004ed03
+7004ee03
+7004f211
+7004f313
+58000000
+600184ef
+6000c254
+70468100
+47524034
+58000000
+6000c254
+6000c564
+6000c55d
+6800c56b
+c000ea16
+70456950
+20600000
+70456900
+20600000
+18418402
+20600000
+18427e00
+1fedfe00
+6000c562
+18007e3f
+1fedfe00
+6000c561
+18007e01
+1fedfe00
+6000c560
+20406a50
+18427e00
+20600000
+1fedfe00
+6000c562
+18007e73
+1fedfe00
+6000c561
+18007e01
+1fedfe00
+6000c560
+20206a50
+6800c563
+203a6a33
+58000070
+20600000
+580000aa
+20600000
+1fedfe00
+6000c562
+18007eef
+20406a44
+680904f7
+18420a00
+e0a08000
+18a20400
+600904f7
+18007eff
+20406a44
+680904f7
+18420a00
+e0a08000
+20600000
+1fedfe00
+6000c561
+68014561
+1fed7e00
+600184f4
+da200107
+da40000f
+20406a5d
+1fe2fed7
+1fe47e00
+1fedfe00
+20600000
+6801c560
+600184f4
+da200107
+da40000f
+20406a5d
+1fed7e00
+da400007
+20406a5d
+1fe2fe2b
+1fe47e00
+1fedfe00
+1fe20400
+20600000
+da600000
+1a427200
+20407e71
+1fe20400
+18427e00
+1a63a600
+c3046a66
+9a228400
+1a60a601
+18438400
+680184f4
+1a40a5ff
+2a41feff
+2020ea70
+1a427200
+20407e71
+2feffe00
+79208400
+20206a61
+18437e00
+20600000
+6808c55d
+184b8400
+79200400
+6800c563
+245a6a18
+6008850d
+20600000
+18438400
+6800c563
+793a0400
+20600000
+680884fc
+7004fed7
+20406bb6
+6800c251
+79207e06
+79207e07
+6000c251
+70456300
+20206b97
+6800c251
+79207e07
+6000c251
+20206b97
+4752c034
+6800c681
+c0006a8e
+20206b4c
+68010264
+1fe20c00
+20406ab8
+680084fc
+c0006a94
+20206b18
+47534034
+680084fd
+c01fea7d
+c039ea86
+c077ea9b
+c029eb44
+20600000
+68010501
+1fe20c00
+20406ac3
+68008503
+c020eaa5
+c0206aad
+c038eae6
+c0386af2
+c024eafd
+20206b97
+20406aaf
+20206aa7
+6800c254
+79207e00
+79207e01
+6000c254
+20406be0
+20206b97
+20406aaf
+20206b97
+20406acb
+20206ad7
+20406acb
+e8c08000
+1fe97e00
+6000c56a
+e8c08000
+60008508
+20600000
+e8c08000
+600084fb
+1fe97e00
+600084fc
+e8c08000
+600084fd
+20406ace
+600904ff
+18c27e00
+60010501
+20600000
+e8c08000
+1fe37e00
+60008503
+20406ace
+60090504
+18c27e00
+60010506
+20600000
+68010506
+1fe20c00
+20600000
+e8c08000
+1fe20400
+18430400
+c3800000
+e8c08000
+1fe9fe00
+1ff27e00
+98408400
+20600000
+e8c08000
+6000c55d
+e8c08000
+60008509
+e8c08000
+6000850a
+e8c08000
+6000850b
+e8c10000
+6001455e
+e8c08000
+6000850c
+e8c08000
+6000c568
+20600000
+20406ab1
+20206ae8
+6800c254
+79207e05
+79207e06
+6000c254
+6808c55d
+184b8400
+18418403
+20406c11
+70456703
+20206b97
+700a9908
+20407d86
+20406ab1
+6800c56a
+1fe67c01
+2022eaf9
+20202a8c
+6800c254
+79207e07
+6000c254
+20206b97
+20406acb
+e8c08000
+60008ac2
+204052d2
+204052e0
+5800000e
+e0a10000
+6801424a
+e0a10000
+6800c563
+1fe3fe00
+79207e00
+e0a08000
+4753c034
+580015ef
+e0a10000
+58001191
+e0a10000
+68008ac2
+e0a08000
+58000007
+e0a28000
+58000001
+e0a10000
+20406a2f
+e0a08000
+20600000
+20206b19
+47544035
+680084fd
+c039eb21
+c01feb25
+c077eb3f
+c07feb37
+c029eb46
+20600000
+6800c254
+79207e03
+6000c254
+20206b97
+6800c254
+79207e03
+79207e02
+6000c254
+680084fb
+20406a26
+600084fe
+20406bb6
+680084fb
+1feb7e00
+6000c55d
+1febfe00
+793ffe01
+79207e00
+d8404565
+600904f7
+20406a35
+20206b97
+68010501
+1fe20c00
+1fe0fe01
+60010501
+e8c08000
+6808c568
+9840fe00
+6000c568
+20406c42
+20406a72
+20406c28
+20406c4b
+20206b97
+700a9909
+20407d86
+20406a0d
+680084fb
+20406a26
+600084fe
+20406bb6
+20206b97
+68010264
+1fe20c00
+20406ab8
+680084fc
+c0006b52
+20206b86
+4754c035
+680084fd
+c01fea7d
+c039ea86
+c077eb58
+20206b97
+68010501
+1fe20c00
+20406ac3
+68008503
+c020eb61
+c0206b61
+c038eb6c
+c0386b7c
+20206b97
+20406aaf
+6800c55d
+1fe37e00
+6808c564
+98467c00
+2022eb68
+20202a8c
+6800c254
+79207e01
+6000c254
+20206b97
+20406ab1
+6800c56a
+6808c564
+98467c00
+2022eb73
+20202a8c
+20206b97
+6800c254
+79207e05
+79207e06
+6000c254
+6808c55d
+184b8400
+18418403
+20406c11
+20206b97
+20406ab1
+6800c56a
+6808c564
+98467c00
+2022eb82
+20202a8c
+6800c254
+79207e07
+6000c254
+20206b97
+680084fc
+6808c564
+98467c00
+2022eb8c
+20202a8c
+20206b97
+680084fd
+c039eb91
+c077eb3f
+c07feb37
+c029eb96
+6800c254
+79207e03
+6000c254
+20206b97
+20206b95
+20206b46
+20600000
+6800c567
+207a0000
+c001eb9c
+20202a8c
+70456700
+204052d2
+d8400001
+6808c55d
+184b8400
+18418403
+da2000aa
+20406bfc
+204052e0
+18a20c00
+e8c10000
+203a2a8c
+20600000
+204052e0
+58000004
+e0a10000
+6801424a
+e0a10000
+680084fb
+e0a08000
+47554035
+5800013f
+e0a10000
+680084fe
+e0a08000
+20600000
+204052d2
+204052e0
+58000004
+e0a10000
+6801424a
+e0a10000
+680084fb
+e0a08000
+4755c035
+58000173
+e0a10000
+680084fe
+e0a08000
+20600000
+204052e0
+5800000e
+e0a10000
+6801424a
+e0a10000
+6800c563
+1fe3fe00
+79207e00
+e0a08000
+47564035
+580015ef
+e0a10000
+58001183
+e0a10000
+18427e00
+e0a08000
+580000f0
+e0a18000
+5800007f
+e0a10000
+58000000
+e0a08000
+58000001
+e0a08000
+20406a2f
+e0a08000
+70456910
+20600000
+204052d2
+204052e0
+5800000e
+e0a10000
+6801424a
+e0a10000
+6800c563
+1fe3fe00
+79207e00
+e0a08000
+4756c035
+580015ef
+e0a10000
+58001181
+e0a10000
+6800c55d
+e0a08000
+580000e0
+e0a18000
+6801456c
+e0a10000
+58000000
+e0a08000
+6800c56e
+e0a08000
+20406a2f
+e0a08000
+20600000
+204052e0
+58000008
+e0a10000
+6801424a
+e0a10000
+6800c563
+1fe3fe00
+79207e00
+e0a08000
+47574035
+580009ef
+e0a10000
+580005e3
+e0a10000
+18427e00
+e0a08000
+5800008d
+e0a08000
+20406a2f
+e0a08000
+20600000
+204052d2
+204052e0
+58000008
+e0a10000
+6801424a
+e0a10000
+18421600
+6800c563
+1fe3fe00
+79207e00
+e0a08000
+4757c035
+580009ef
+e0a10000
+580005e1
+e0a10000
+19627e00
+e0a08000
+5800008d
+e0a08000
+20406a2f
+e0a08000
+20600000
+47584036
+6800c569
+207a0000
+68110112
+247a0000
+1a227e00
+60008a9b
+60088a9a
+2040526e
+247a0000
+204052d2
+204052e0
+58000005
+e0a10000
+6801424a
+e0a10000
+6800850d
+e0a08000
+580001ff
+e0a10000
+6800c569
+e0a08000
+6800c566
+e0a08000
+70456900
+20600000
+4758c036
+6800c56b
+c1008000
+680104ff
+207a0000
+6800c569
+1fe0fe01
+6000c569
+20600000
+6801456f
+20207f9c
+47594036
+6800c568
+207a0000
+1fe0ffff
+6000c568
+6801455e
+6809469f
+98467c00
+20216c57
+6001469f
+6800c569
+203a6c5f
+70051001
+6800c566
+6000850f
+580000ff
+6000850e
+20206c64
+70051000
+6800c565
+6000850f
+580000ef
+6000850e
+4759c036
+6801469f
+1fe67c7f
+20216c6b
+68008510
+1fe0fe01
+60008510
+20406a72
+6801469f
+1fe0fe08
+68088510
+9840a200
+20405240
+60010277
+1fe0fe04
+60010279
+1fe20a00
+6800850d
+e0a08000
+6800850e
+e0a08000
+20406c95
+20406ca6
+475a4036
+68014571
+1fe20600
+6801469f
+1fe27200
+204066ea
+18a20400
+18627e00
+60014571
+18420a00
+6800850f
+e0a08000
+68010277
+1fe20a00
+6801469f
+68088510
+9840fe00
+1fe0fe04
+e0a10000
+6801424a
+e0a10000
+70456900
+68014573
+c0003a97
+700b0500
+20600000
+475ac036
+6801469f
+1fe67c7f
+24216c9d
+1fe3fe00
+79207e00
+e0a08000
+20600000
+6801469f
+1fe97e00
+1ff18400
+1fe17e7f
+1fe3fe00
+793ffe00
+e0a08000
+e0a88000
+20600000
+6800c569
+207a0000
+e0a08000
+20600000
+475b4036
+20407d9c
+204032f6
+2040631b
+475bc036
+204076dc
+204076b5
+204076c6
+2040526e
+247a0000
+20404da9
+2040526e
+247a0000
+475c4037
+20406cf5
+20404f64
+20406b98
+20406cbe
+475cc037
+202032f2
+6800827f
+c2805087
+c283d091
+20600000
+475d4037
+20405274
+207a0000
+6800804b
+c3830000
+20405258
+6001016f
+1fe20c00
+e8c10000
+1fe0fe04
+600141dc
+7041db06
+475dc037
+68014246
+203a6cdd
+6800804b
+c4038000
+793ffe07
+6000804b
+7041db05
+68094246
+6801016f
+9840fe00
+6001016f
+680141dc
+98467e00
+600141dc
+475e4037
+680141dc
+203a2a8c
+d8400104
+98467e00
+24216ce9
+475ec037
+600941dc
+68014246
+9840fe00
+60014246
+20206ceb
+58000000
+60014246
+6800804b
+79207e06
+6000804b
+20600000
+6800c684
+c2806cf3
+70028701
+20600000
+7002870f
+20600000
+6800c681
+243a6cfb
+68008286
+207a0000
+70028600
+20600000
+475f4037
+68008287
+207a0000
+c000ed1b
+c0016d74
+c001ed21
+c0026d78
+c01ded2b
+c01e6d7b
+c006ed30
+c0076d80
+c007ed33
+c0086d86
+c008ed39
+c0096d8a
+c009ed3f
+c00a6d8e
+c00aed45
+c00b6d92
+c00bed4b
+c00c6d97
+c00ced51
+c00d6d9b
+c00ded57
+c00e6d9f
+c00eed5d
+c00f6da4
+c00fed63
+c0106da8
+c010ed6e
+c0116dac
+20600000
+20406db7
+70028702
+6800c250
+79207e00
+6000c250
+20600000
+70028704
+6800c250
+c3810000
+70028703
+20406dbe
+70028704
+6800c250
+79207e02
+6000c250
+20600000
+20405274
+247a0000
+20406dcd
+7002873c
+20600000
+20406dc3
+7002870e
+20600000
+20406ddd
+70028710
+6800c252
+79207e00
+6000c252
+20600000
+20406de4
+70028712
+6800c252
+79207e02
+6000c252
+20600000
+20406de9
+70028714
+6800c253
+79207e00
+6000c253
+20600000
+20406df0
+70028716
+6800c253
+79207e02
+6000c253
+20600000
+20406dd1
+70028718
+6800c251
+79207e00
+6000c251
+20600000
+20406dd8
+7002871a
+6800c251
+79207e02
+6000c251
+20600000
+20406df5
+7002871c
+6800c251
+79207e06
+6000c251
+20600000
+20406dfc
+6800c254
+79207e00
+6000c254
+7002871e
+20600000
+20406e02
+6800c254
+79207e02
+6000c254
+70028720
+6800c564
+1fe9fe00
+1fe1fe03
+d8404565
+600904f7
+20206a35
+20406e0c
+6800c254
+79207e04
+6000c254
+70028722
+20600000
+6800c250
+c4008000
+70028703
+20206cfb
+6800c250
+c19f8000
+7002873b
+68008285
+c18b8000
+70028500
+7002870d
+20206cfb
+6800c250
+247a0000
+6800c684
+c2806daf
+c2836db1
+20206db5
+6800c252
+c4008000
+70028711
+20206cfb
+6800c252
+c19f8000
+70028713
+20206cfb
+6800c253
+c4008000
+70028715
+20206cfb
+6800c253
+c19f8000
+6800c684
+c2836db1
+20206db5
+6800c251
+c4008000
+70028719
+20206cfb
+6800c251
+c19f8000
+7002871b
+20206cfb
+6800c251
+c1ff8000
+6800c684
+c2836db3
+20206db5
+6800c254
+c4008000
+7002871f
+20206cfb
+6800c254
+c4018000
+70028721
+20206cfb
+6800c254
+c1ff8000
+20206db5
+7002870f
+20206cfb
+70028717
+20206cfb
+7002871d
+20206cfb
+70028700
+20600000
+475fc037
+204052b8
+58000001
+1fe20400
+58000050
+1fe21600
+202050a8
+47604038
+204052b8
+68014248
+1fe20400
+202050b7
+4760c038
+204052b8
+68014248
+1fe20400
+d9600050
+204050cc
+6800c250
+793ffe05
+6000c250
+20600000
+47614038
+204052c5
+20407138
+202050e7
+4761c038
+204052b8
+58000003
+1fe20400
+58000051
+1fe21600
+202050a8
+47624038
+204052b8
+6801424a
+1fe20400
+202050b7
+4762c038
+204052b8
+58000011
+1fe20400
+58000052
+1fe21600
+202050a8
+47634038
+204052b8
+6801424c
+1fe20400
+202050b7
+4763c038
+204052b8
+58000013
+1fe20400
+58000053
+1fe21600
+202050a8
+47644039
+204052b8
+6801424e
+1fe20400
+202050b7
+4764c039
+204052d2
+7004fb03
+7004fe1c
+20406ba9
+70456301
+20600000
+47654039
+204052d2
+6808c564
+20406a79
+6008c55d
+20206bc4
+4765c039
+204052d2
+6808c55d
+20406a73
+20406a1a
+600084fe
+6808c55d
+20406a73
+600884fb
+20206ba9
+47664039
+204052d2
+6808c55d
+20406a73
+20206bfc
+4766c039
+68010264
+98000c00
+e8c08000
+1fe22400
+6000851b
+e8c10000
+6001051c
+e8c08000
+1fed1600
+e8c08000
+99609600
+47674039
+18c20400
+df200004
+d8a0052a
+20407ec6
+18420c00
+1a427e00
+c000efba
+c0016e2c
+c001efba
+c0026e54
+c002efba
+c0036f02
+c003efba
+20206fc1
+4767c039
+20406fd0
+2841fe01
+2020f040
+2841feff
+2020efc4
+e8c10000
+60010522
+196097fe
+196097ff
+2422efbe
+d9600511
+e9610000
+207a0000
+20407082
+204052d0
+18007e03
+e0a08000
+6801051c
+e0a10000
+18ebfe00
+1fe0fe05
+1fe0a605
+1ff0fe00
+e0a10000
+18e27e00
+1ff0fe00
+e0a10000
+e0a10000
+d8c0052a
+18e27200
+2022ee4f
+e8c20000
+e0a20000
+c2006e4c
+18007e00
+e0a08000
+1a627e00
+60010275
+20600000
+4768403a
+e8c20000
+60020524
+196097fc
+20406f2e
+60010520
+196097fe
+20407028
+2022efc4
+2a21fe05
+2020ee62
+d8a0052a
+18000e00
+20206e71
+e8c08000
+c0856fc4
+e8c10000
+243a6e6f
+e8c08000
+c0ffee6d
+e8c08000
+c0ffee6b
+20206eb8
+18c08dfb
+20206e5f
+18c08dfc
+20206e5f
+18c08dfd
+20206e5f
+e8c08000
+c004ee86
+c0056e74
+e8c10000
+e0a10000
+18e08e01
+1ff0a400
+e8c10000
+1ff0fe00
+1a40a401
+9a467c00
+24216e83
+1fe22600
+1a50fe00
+e0a10000
+18e08e01
+1a627e00
+20206e7a
+196097fb
+1a20a3fb
+20206e8b
+e8c10000
+e0a10000
+18e08e01
+196097fd
+1a20a3fd
+24216fc4
+2422ee71
+196097ff
+2422efc4
+204052d0
+18a08a0a
+da20052a
+18e27e00
+203a6ea5
+ea210000
+203a6ea5
+98002400
+68020524
+98000400
+204070e7
+18c27e00
+203a6ea2
+18c08dfd
+e8c18000
+e0a18000
+2040705b
+98007200
+20407f01
+1a20a202
+18e08fff
+20206e92
+da200005
+20406f84
+68010275
+c005f043
+20206f9a
+e8c08000
+c0006eae
+c000eeb0
+c0016eb3
+196097ff
+20206eb6
+e8c08000
+196097fe
+20206eb6
+e8c10000
+1ff0fe00
+196097fd
+60010519
+20600000
+196097fb
+20406eaa
+2422efbe
+680a0524
+204070b1
+2422efbb
+18c22200
+204052d0
+1a220c00
+18a08a03
+18c21600
+20407062
+1fe22200
+68010519
+1fe22400
+1a227e00
+9a462400
+68010520
+9a467c00
+24216ee7
+78547c00
+68010519
+203a6eda
+99608c00
+1a40a403
+1a427200
+1f227e00
+1fe0fe03
+1ff0fe00
+e0a10000
+1f227e00
+1ff0fe00
+e0a10000
+20206ef5
+1a20f206
+20346ede
+1f30fe00
+20206ee1
+1f227e00
+1fe0fe02
+1ff0fe00
+e0a10000
+1f20f3fd
+1f30fe00
+e0a10000
+19620c00
+20206ef5
+78347c00
+68010520
+1fe22200
+1a227200
+68010519
+203a6eda
+99608c00
+1a227e00
+1fe0fe05
+1ff0fe00
+e0a10000
+1a227e00
+1ff0fe00
+e0a10000
+20407f01
+24346efe
+18007e02
+e0a08000
+18c27e00
+99667e00
+1ff0fe00
+e0a10000
+20206f00
+18007e00
+e0a08000
+da200005
+20206fb0
+4768c03a
+20406fd0
+2841feff
+2020efc4
+20406f2e
+60010520
+196097fe
+20407028
+d8a0052a
+18000e00
+e8c08000
+c0056f36
+e8c10000
+e0a10000
+18e08e01
+196097fd
+1a20a3fd
+24216fc4
+2422ef0c
+196097ff
+2422efc4
+204052d0
+18a08a0d
+68010511
+98002600
+da20052a
+ea210000
+203a6f29
+98002400
+204070c6
+203a6f27
+18c08dfd
+e8c18000
+e0a18000
+2040705b
+98007200
+20407f01
+1a20a202
+20206f1c
+20406f83
+68010275
+c0077046
+20406f9a
+20206f9a
+e8c10000
+1ff0fe00
+1fe0fffd
+d84000c8
+98467c00
+24610000
+580000c8
+20600000
+18c08c04
+196097fb
+1a20a3fb
+2422efc4
+20406eaa
+2422efbe
+d9600511
+20407082
+18e27e00
+203a7046
+6000854e
+1a427e00
+6001054c
+d8e00000
+da200000
+204052d0
+18a08a0a
+20406f6c
+24342a8c
+18c21600
+1fe22600
+9a20a200
+68010519
+1fe22400
+203a6f75
+1a227e00
+9a462400
+2022ef67
+24216f67
+68010520
+9a467c00
+2022ef5e
+24216f5e
+1a427200
+20406f61
+6800854e
+18e08e01
+98e67c00
+2022ef83
+20206fa0
+1fe27200
+20406f61
+20206fa0
+18a08bfd
+1f220400
+1a627e00
+9a467e00
+99608c00
+20207f01
+6800854e
+18e08e01
+98e67c00
+20628000
+20206f47
+20407fe9
+d8c0052a
+18ebfe00
+98c08c00
+e8ca0000
+204070b1
+24628000
+2040705b
+20207fe7
+68010520
+9a267c00
+24216f8f
+1a227200
+1f220400
+19620c00
+20407f01
+6801054c
+9a267c00
+2022ef81
+20406fa0
+20206f94
+20406f83
+20206f94
+da200007
+18007e00
+e0a08000
+20406fb0
+68090275
+184085fb
+1850fe00
+e0a10000
+184085fd
+1850fe00
+e0a10000
+20600000
+1fe27200
+1f220400
+19620c00
+20407f01
+20406fa0
+58000036
+e0a08000
+6801054c
+1ff0fe00
+e0a10000
+20600000
+58000036
+e0a08000
+184085fd
+1850fe00
+e0a10000
+20600000
+da200007
+58000002
+e0a08000
+68010519
+98408400
+1850fe00
+e0a10000
+20406fb0
+68090275
+184085fb
+1850fe00
+e0a10000
+184085fb
+1850fe00
+e0a10000
+20600000
+68010273
+98a67e00
+1fe67e00
+60010275
+204052d0
+1a227e00
+e0a08000
+6801051c
+e0a10000
+20600000
+20600000
+58000200
+6001054a
+20206fc6
+58000400
+6001054a
+20206fc6
+58000600
+6001054a
+20206fc6
+58000300
+6001054a
+204052d0
+e0a08000
+6801051c
+e0a10000
+58000200
+e0a10000
+6801054a
+e0a10000
+70027507
+20600000
+da400000
+18000400
+d8a00511
+20407028
+2022f026
+1a40a401
+e8c08000
+1a20a3ff
+196097ff
+2fe1f018
+2420f026
+2fe00e04
+2420eff3
+18000401
+e8c08000
+1a20a3ff
+196097ff
+c0806fe7
+e8c08000
+1a20a3ff
+196097ff
+c0006ff8
+20206fea
+18c08c01
+1a20a3ff
+196097ff
+18c08c02
+1a20a3fe
+196097fe
+2841fe00
+2020f020
+18c08c0c
+1a20a3f4
+196097f4
+20207020
+2fe00e02
+2420eff6
+20206fde
+2fe00e01
+2420f026
+1a20a3fe
+196097fe
+e8c10000
+1a467c04
+2022effe
+e0a10000
+2841fe00
+2020f020
+18c20400
+e8c08000
+c0807019
+e8c08000
+c0807019
+e8c08000
+c0887019
+e8c08000
+c0807019
+e8c08000
+c0c07019
+e8c08000
+c0807019
+e8c08000
+c0807019
+e8c08000
+c0c07019
+e8c08000
+c0aff019
+e8c08000
+c0cdf019
+e8c08000
+c09a7019
+e8c08000
+c07df01e
+18420c00
+18c08c0c
+18000e00
+18000400
+2020701e
+196097f4
+1a20a3f4
+18000400
+2a21fe00
+2420efd5
+18007e00
+e0a10000
+20600000
+d84000ff
+20600000
+476a403a
+e8c08000
+196097ff
+2fe1f030
+2420f03e
+2fe00e07
+2020f037
+2fe00e06
+2020f039
+2fe00e05
+2420f03e
+e8c08000
+1fe22200
+196097ff
+2020703c
+18c08c02
+196097fe
+e8c10000
+1ff0a200
+196097fe
+18007e01
+20600000
+18007e00
+20600000
+58000003
+6000851b
+20207048
+58000005
+6000851b
+20207048
+58000007
+6000851b
+204052d0
+6800851b
+1fe22400
+e0a08000
+6801051c
+e0a10000
+58000500
+e0a10000
+2a41fe05
+2020f057
+2a41fe07
+2020f057
+58000000
+e0a28000
+20207059
+58350200
+e0a28000
+7002750a
+20600000
+20407ea2
+20407ea5
+20407062
+20407e9c
+20407e9f
+18427e00
+20600000
+e8c08000
+1fe17207
+1fe97e00
+c080706c
+18007e01
+18000401
+20600000
+20407e76
+1fe08401
+20600000
+1f227e00
+1fe67c04
+20217069
+c002f073
+c0037076
+c003f07a
+20600000
+e8c08000
+1fe08402
+20600000
+e8c10000
+1ff0fe00
+1fe08403
+20600000
+e8c10000
+1ff0fe00
+e8c90000
+18508400
+18500400
+9840fe00
+1fe08405
+20600000
+476ac03a
+18000e00
+da400000
+d8a0052a
+e9610000
+207a0000
+2040708d
+18e27e00
+c1038000
+19609602
+20207086
+98002600
+68014575
+98000c00
+18e27e00
+c1038000
+78547c00
+e8c08000
+207a0000
+98007200
+e8c10000
+9a667c00
+2422f09a
+78347c00
+c2007096
+e8ca0000
+18c22200
+243470ad
+d8c0052a
+df200007
+e8c20000
+203a70a6
+98467c00
+2022f0ad
+c20070a0
+20600000
+e0aa0000
+18e08e01
+1a220c00
+2040705b
+9a40a400
+98c08c00
+20207090
+1a220c00
+20407062
+98c08c00
+20207090
+476b403a
+68014575
+98000c00
+e8c08000
+203a7fe3
+1fe3fe00
+98c08c00
+e8c20000
+98467c00
+20628000
+18a27e00
+60010abb
+600c0aa2
+20407062
+98c08c00
+18c27e00
+68090abb
+18420a00
+680c0aa2
+1fe20c00
+202070b4
+476bc03a
+68014575
+98000c00
+e8c08000
+203a70e4
+98007200
+e8c10000
+9a667c00
+2022f0d4
+c20070cc
+18c08c04
+20407062
+98c08c00
+202070c9
+1f20f3ff
+1f23fe00
+98c08c00
+18c08c04
+20407062
+98c09600
+18c08c01
+e8c10000
+9a467c00
+2022ffef
+2040705b
+98c08c00
+19627e00
+98c67c00
+2022f0e4
+202070da
+18000c00
+18007e00
+20600000
+476c403b
+68014575
+98000c00
+e8c08000
+203a7100
+1fe3fe00
+98c08c00
+e8c20000
+98467c00
+2022f0f4
+20407062
+98c08c00
+202070ea
+20407062
+98c09600
+18c08c01
+e8c10000
+9a467c00
+20628000
+2040705b
+98c08c00
+19627e00
+98c67c00
+2022f100
+202070f6
+18000c00
+20600000
+da400400
+204070f4
+da400300
+2040710d
+24740000
+1a267c03
+20217fe9
+e8c08000
+c0847fe9
+e8c08000
+20600000
+476cc03b
+20407062
+1fe22200
+e8c08000
+1fe17207
+1fe97e00
+1fe67c03
+2022f129
+1f227e00
+c002f120
+c0037123
+c003f126
+18c08dff
+20407062
+98c08c00
+1a227e00
+98462200
+2022ffe9
+20207110
+1a20a3fe
+18c08c01
+20207110
+1a20a3fd
+18c08c02
+20207110
+1a20a3fb
+18c08c04
+20207110
+1a20a3ff
+1f227e00
+c000f132
+c0017130
+c002712f
+20207fe9
+1a20a3f4
+e8c10000
+1a20a3fe
+e8c10000
+9a467c00
+2022ffe7
+1a20a3fe
+2022ffe9
+20207110
+204052d0
+1fe20a00
+58000006
+e0a08000
+5800006e
+e0a10000
+58000f00
+e0a10000
+581a0535
+e0a18000
+58000111
+1ff07e00
+e0a20000
+58002600
+e0a10000
+58000335
+e0a10000
+58000009
+e0a10000
+58000004
+e0a10000
+70027514
+20600000
+476d403b
+7005e550
+d8a005e6
+d8c0443a
+20407ebf
+d8c045d2
+20407ebd
+d8c009be
+20407ebd
+2040720a
+d8c0042f
+20407205
+204071d0
+d8a00af2
+20407201
+580f4240
+1fe22200
+68020af2
+9a26fc00
+20407f86
+18077e00
+600209ba
+20600000
+7005e541
+d8a005e6
+204071b5
+204071b0
+6801c454
+e0a18000
+20407176
+d8c0042f
+20407ebf
+d8c0443a
+20407ebf
+2040720a
+d8c00b12
+d8a00ac2
+20407ebf
+202071d0
+680244c7
+e0a20000
+20407ecd
+20207eca
+476dc03b
+7005e541
+d8a005e6
+204071b0
+204071b5
+6801c44d
+e0a18000
+20407176
+d8c0443a
+20407ebf
+d8c0042f
+20407ebf
+2040720a
+d8c00b12
+d8a00ac2
+20407ebf
+204071d0
+d8a00af2
+20207201
+7005e520
+d8c009fe
+d8a005e6
+20407ebd
+2040720a
+d8c0099e
+20407205
+204071d0
+d8a00ac2
+20407497
+d8400001
+2040719f
+d8a04419
+20407201
+d8400000
+2040719f
+d8a00b12
+20207497
+476e403b
+7005e535
+58000100
+600105e6
+204071b0
+204071b5
+d8c0443a
+20407ebf
+d8c0042f
+20407ebf
+58006c65
+e0a10000
+58006274
+e0a10000
+e0a88000
+2040720a
+202071d0
+680344a0
+e0a30000
+6800c495
+e0a08000
+20600000
+6803044f
+e0a30000
+6800c48e
+e0a08000
+20600000
+7005e541
+6800c664
+600085e6
+d8c045d2
+20407ebd
+d8c009be
+20407ebd
+2040720a
+d8c0042f
+20407205
+202071d0
+7005e541
+6800c664
+600085e6
+d8c009be
+20407ebd
+d8c045d2
+20407ebd
+2040720a
+d8c0443a
+20407205
+202071d0
+476ec03b
+2040721f
+680085e5
+1fe20400
+1fe0fe0f
+1ff1fe00
+1fe22400
+203a71e2
+18417e0f
+243a71e5
+da600ad2
+dfe005e6
+1fe0fff0
+9840a200
+d8a00b02
+df200004
+20407edd
+202071f0
+da400001
+da200000
+202071e6
+1841220f
+dfe005e6
+9840fe00
+9a260c00
+d8a00af2
+20407245
+da600ae2
+da200af2
+d8a00b02
+df200004
+20407edd
+20407491
+20407428
+d8c005e6
+1a40a5ff
+1a427e00
+203a71f9
+20407486
+20407422
+202071f3
+d8a00af2
+20407497
+d8c00b02
+20407486
+20407428
+d8c00af2
+20407486
+20207422
+18a22200
+20407497
+df200010
+20207ee5
+d8a00ac2
+20407ebf
+df200010
+da200ac2
+20207ee5
+680085e5
+1fe27200
+da2005e6
+20207ee5
+ea208000
+1fe3fe00
+2a6ffe00
+7920fe00
+2feffe08
+7920a600
+e2208000
+1a20a3ff
+c200720e
+20600000
+da200ad2
+1a20a20f
+18007210
+18002600
+2020720e
+da200ae2
+20207219
+d8c00ac2
+20407484
+18007008
+20407492
+20407491
+2040741f
+d8a00ad2
+20407497
+476f403b
+68008ad2
+2feffe07
+2420f230
+20407218
+da600ad2
+d8a00ad2
+2040723a
+20207231
+20407218
+d8c00ad2
+d8a00ae2
+20407ebf
+68008ae2
+2feffe07
+2420f21d
+2040721d
+da600ae2
+d8a00ae2
+df200003
+d8400000
+20407241
+1a60a604
+c200723b
+d8408700
+18500400
+ea620000
+9842fe00
+e0a20000
+20600000
+476fc03b
+df200010
+dfe00000
+9a267c00
+2022f250
+20217253
+e8c88000
+e0a88000
+1fe0fe01
+c2007248
+20600000
+d8400080
+e0a88000
+2020724d
+d8400000
+20207251
+20407268
+d8c00592
+d8a00582
+20207ebf
+78547c00
+2040735f
+d8c00562
+d8a005a2
+1800720f
+20407f01
+e8c08000
+1fe2fe06
+e0a08000
+580005b2
+600105d6
+580005a2
+600105d4
+79200012
+202072a8
+6808c689
+18002410
+1840a606
+1a667c10
+2021726e
+18002610
+d8a005a2
+d8c0468a
+18427200
+78547c00
+e8c08000
+e0a08000
+1a40a5ff
+2022f27c
+c2007272
+2034726f
+78347c00
+18007206
+1a220c00
+20207272
+d8c00562
+d8a005b2
+20407ebf
+680085c1
+9a62fe00
+600085c1
+580005b2
+600105d6
+580005a2
+600105d4
+79200012
+202072a8
+78547c00
+2040735f
+20207292
+da200056
+78347c00
+2040735f
+20407292
+d8c00592
+d8a00062
+20207ebf
+58000562
+600105d6
+580041be
+600105d4
+793f8012
+204072a8
+da200592
+da400562
+d8a005a2
+20407352
+da2005a2
+da4005b2
+1a420a00
+78347c00
+20407350
+2040736a
+580005b2
+600105d6
+580005a2
+600105d4
+79200012
+202072a8
+7005d800
+680105d4
+98000c00
+d8a005c2
+20407ebf
+680105d6
+98000c00
+d8a00592
+20407ebf
+204072cf
+78547c00
+c58972b9
+680085d8
+c08272b9
+680105d6
+98002400
+20407301
+20407300
+20407313
+680085d8
+1fe0fe01
+600085d8
+204072cf
+78347c00
+20407300
+20407322
+20407331
+20407322
+20407331
+20407322
+20407331
+20407322
+680085d8
+1fe0fe01
+600085d8
+c08872b1
+204072cf
+78547c00
+20207300
+680085d8
+d8c005c2
+203a72f6
+98002400
+18007211
+18c20a00
+e8c08000
+1fe98400
+1feb7e00
+1fe97e00
+9841fe00
+e0a08000
+c20072d5
+580005c2
+9a408c00
+18007210
+d8a00572
+e8c08000
+e0a08000
+28c1ffd3
+2420f2e5
+18c08def
+c20072e0
+18002200
+1a40a7ff
+1a6ba600
+1a6ba600
+204074b9
+58008400
+9a60a600
+d8a00572
+18007210
+ea688000
+e8a08000
+9840fe00
+e0a08000
+1a60a601
+c20072ef
+202074bd
+18007210
+18000400
+e8c08000
+98428400
+c20072f8
+18427e00
+e0c08000
+d8c005c2
+d8a00572
+20207ebf
+da400572
+18007210
+da200592
+1a220a00
+ea288000
+ea408000
+9842e000
+1f212603
+2434730a
+1a62a603
+1a662601
+2021730d
+9840e000
+1e027e00
+e0a08000
+1a20a201
+1a40a401
+c2007304
+20600000
+204074b9
+18007210
+da200592
+ea208000
+d8c08500
+1f212603
+1a667c01
+2021731c
+d8c08600
+98c08c00
+e8c08000
+e2208000
+1a20a201
+c2007316
+202074bd
+18007208
+d8c00592
+18c20a00
+e8c08000
+98002200
+e8c08000
+98002400
+1a23fe00
+9a40fe00
+e0a08000
+1a227e00
+9a40fe00
+e0a08000
+c2007325
+20600000
+588ae42c
+98000400
+18007207
+20407340
+580d751b
+98000400
+18007205
+20407340
+680085a1
+98002200
+68008595
+600085a1
+1a227e00
+60008595
+20600000
+1841240f
+18417e0f
+d8a00592
+98a08a00
+e8a08000
+98002600
+1a227e00
+e0a08000
+1a622200
+18518400
+c2007341
+58000592
+9a408a00
+1a227e00
+e0a08000
+20600000
+78347c00
+20207353
+78547c00
+18007210
+ea288000
+ea408000
+20347359
+9842fe00
+2020735a
+9840fe00
+e0a08000
+1a20a201
+1a40a401
+c2007354
+20600000
+d8a005b2
+ea230000
+e0a30000
+20347365
+ea230000
+20207366
+e8c30000
+e0a30000
+ea220000
+e0a20000
+20600000
+d8c041be
+d8a005a2
+d8400000
+588395a7
+2040738b
+58b3c1df
+2040738b
+5800e5e9
+2040738c
+18422800
+78547c00
+20407379
+1a820400
+78347c00
+20207379
+18007208
+e8c08000
+2f200201
+20347380
+2020f381
+9840fe00
+20207382
+2020f37e
+9842fe00
+e0a08000
+184c8400
+c200737a
+20600000
+68030596
+60030056
+e8c30000
+e0a30000
+20600000
+184d0400
+18500400
+98418400
+20600000
+2020738f
+4770403c
+2040742b
+d8a04419
+20207497
+d8a0443a
+2034f397
+d8a0042f
+18c22200
+20407ebf
+20407440
+d8c0442a
+202074b0
+da20042f
+2034f39f
+da20443a
+1a220a00
+2040630c
+20207440
+d8c044aa
+20407486
+d8c04419
+20407487
+18006c38
+18006c00
+2040741d
+d8a0047c
+20207497
+18007e49
+202073ae
+18007e01
+18007000
+184d5e00
+9de1de00
+1f00f001
+184cde00
+1df15e00
+68014411
+1ff07e00
+9de1de00
+1f00f001
+e8c20000
+98005e00
+1f00f001
+e8c10000
+1a30de00
+1df05e00
+9de1de00
+1f00f001
+20600000
+1a608c01
+e8c08000
+98002200
+204073ab
+2040741f
+18007000
+ea608000
+1fe17e03
+1ff05e00
+79205e08
+2040748f
+20407422
+1a227200
+1a608c02
+2040746e
+20407478
+20407422
+1f227e00
+203a73d5
+202073d0
+1800700c
+1de27e00
+60020417
+20600000
+1a20a201
+204073ad
+1a620c00
+20407482
+20407425
+2040749e
+1a60a610
+1a40a5f0
+202173d9
+20600000
+4770c03c
+da6043dc
+680ac403
+204073c1
+18007008
+98005e00
+18002200
+204073ad
+20407425
+da6043de
+6800c3dd
+1fe0a5ff
+9a608a00
+1800700c
+1de27e00
+e0a20000
+204073d9
+6800c3dd
+1fe0fe04
+6000c3dd
+680ac403
+18408401
+600ac403
+20600000
+4771403c
+680082da
+1fe67c14
+202173ff
+da6002db
+1fe0a5ff
+1fe0fffc
+600082da
+9a608c00
+e8c20000
+18007008
+98005e00
+18002200
+680ac408
+204073ad
+20407425
+1800700c
+1de27e00
+6002041b
+204073d9
+da6002d9
+204073c1
+680a041b
+98467e00
+247a0000
+6802440d
+98467e00
+207a0000
+600a440d
+6802c408
+1fe0fe01
+6002c408
+18007e00
+20600000
+243bf41d
+20600000
+18006c30
+18006c00
+2020741d
+18006c32
+18006c02
+2020741d
+18006c34
+18006c04
+2020741d
+18006c01
+18006c00
+20600000
+18007000
+6802042f
+98005e00
+1f00f001
+e8c20000
+98005e00
+1f00f001
+6802443a
+98005e00
+1f00f001
+e8c20000
+98005e00
+1f00f001
+20407492
+1f00f1fc
+680244c7
+1fe25e00
+1f00f004
+18006c38
+18006c08
+2020741d
+4771c03c
+680344a0
+680b044f
+2034f446
+6803044f
+680b44a0
+18007008
+18425e00
+1f00f001
+184f5e00
+1ff07e00
+9de1de00
+1f00f001
+1fef5e00
+1f00f001
+18005e00
+18007e00
+6800c48e
+6808c485
+2434f456
+6800c495
+6808c48e
+6000c44a
+6008c44b
+18007000
+da40444a
+18007204
+ea220000
+ea4a0000
+9842de00
+1f00f001
+1a20a204
+1a40a404
+c200745b
+20407492
+1f00f1fc
+680244c7
+1fe25e00
+1f00f004
+18006c38
+18006c0c
+2040741d
+20407491
+18006c3a
+18006c08
+2020741d
+2f200600
+20608000
+18c27e00
+9f208a00
+18007e00
+e0a08000
+1f20f201
+2f200600
+20608000
+20207473
+18007000
+1f227e00
+203a747d
+e8c20000
+1f20f3fc
+98005e00
+1f00f001
+2f001e04
+20608000
+20207479
+18007008
+20207487
+18007004
+20207487
+18007000
+18007204
+e8c20000
+98005e00
+1f00f001
+c2007488
+20600000
+d8c0047c
+20207484
+18007204
+20207494
+18007000
+18007204
+18005e00
+1f00f001
+c2007493
+20600000
+1800700c
+18007204
+1de27e00
+e0a20000
+1f00f001
+c2007499
+20600000
+1800700c
+1a620a00
+1a40f201
+1f267c0f
+202174a4
+18007210
+1de27e00
+1f267c03
+202174ac
+e0a20000
+1f20f3fc
+20628000
+1f00f001
+202074a4
+e0a08000
+1fecfe00
+c20074ac
+20600000
+1800700c
+18007204
+e8c20000
+9de67c00
+24628000
+1f00f001
+c20074b2
+18007c00
+20600000
+68108050
+793ffe00
+60108050
+20600000
+68108050
+79207e00
+60108050
+20600000
+d8a00886
+3803ffff
+3807ffff
+380bffff
+380ffbff
+e0a48000
+3803ffff
+3807ffff
+380bffff
+380fffff
+e0a48000
+3803ffff
+3807ffff
+380bcfff
+380fffff
+e0a48000
+3803ffff
+3807ffff
+380bffef
+380fffff
+e0a48000
+3803ffff
+3807ffff
+380bffff
+380fffff
+e0a48000
+3803ffff
+38066c7f
+3808146b
+380f7bb3
+e0a48000
+3801feb8
+38050c12
+380ab722
+380e9fa6
+e0a48000
+3800e70f
+38056720
+3808519e
+380d9084
+e0a48000
+38031012
+380760bf
+380bf0af
+380c03d3
+e0a48000
+3803a188
+38043ad0
+380bcbf2
+380e43d9
+e0a48000
+3802b030
+38076a03
+38091188
+380de520
+e0a48000
+3803a11e
+3804fe5d
+3808dd57
+380dac93
+e0a48000
+380011ed
+380618c4
+38088da7
+380e57ff
+e0a48000
+3803192b
+38074641
+3809be0c
+380f66ad
+e0a48000
+38001f83
+38055a23
+380bf9b0
+380c3949
+e0a48000
+38013a51
+380553fd
+380b372a
+380cf1bb
+e0a48000
+3803ae85
+3805eed9
+38089e66
+380c01a8
+e0a40000
+20600000
+d8a0091e
+3803ffff
+3807ffff
+380bffff
+380fffff
+e0a48000
+3803ffff
+3804003f
+38080000
+380c0000
+e0a48000
+38000000
+38040000
+38081000
+380c0000
+e0a48000
+3803ff00
+3807ffff
+380bffcf
+380fffff
+e0a48000
+3803ffff
+3807ffff
+380bffff
+380c03ff
+e0a48000
+38000000
+38040000
+38080000
+380c0000
+e0a48000
+38010000
+38040000
+380bf000
+380fffff
+e0a48000
+380296ff
+38062630
+380b945d
+380fd284
+e0a48000
+380333a0
+38044b7a
+380837d8
+380fc9dc
+e0a48000
+3803a440
+3805b958
+380b8bce
+380d091f
+e0a48000
+3802e12c
+3805f47c
+380b56b1
+380efd47
+e0a48000
+38006837
+3806ed90
+3809ecec
+380dacc5
+e0a48000
+38023357
+38058af3
+3808f9e1
+380d29f0
+e0a48000
+3802e7eb
+3807e6e3
+380be1a7
+380d0b8b
+e0a48000
+38024fe3
+380420ef
+3809b5a6
+380cdc2f
+e0a48000
+38013860
+3806bd69
+3808391a
+380db222
+e0a48000
+20600000
+6800c65a
+243a757d
+20207a77
+4772403c
+6800c65a
+207a0000
+6800c5b1
+c1808000
+6800c4be
+207a0000
+6800c4c3
+c1018000
+68014682
+c280757b
+6800c4c0
+c0007a77
+20600000
+7044c000
+20600000
+4772c03c
+6800c65a
+203a612b
+20406124
+20407583
+2020766d
+58000000
+600409ae
+600209b6
+6003c65e
+20600000
+7009b001
+2020758d
+6800c5b1
+c000f68a
+20202a8c
+6800c5b1
+c000f590
+2020766d
+2040768a
+680089af
+247a0000
+7009ae03
+20600000
+204075b0
+da2009de
+d8a00866
+20407c79
+da2009be
+d8a00826
+20407c79
+da200826
+da4009be
+d8a00826
+20407be1
+da20093e
+da4009be
+d8a00846
+20407be1
+da200846
+da400826
+d8a00826
+20407c7d
+da200806
+da400826
+d8a00806
+20407c7d
+df200020
+da200866
+da400806
+20207f88
+da20097e
+d8a00806
+20407c79
+da20095e
+d8a00826
+20407c79
+da200826
+da40095e
+d8a00826
+20407be1
+da20093e
+da40095e
+d8a00846
+20407be1
+da200846
+da400826
+d8a00826
+20407c7d
+da200806
+da400826
+d8a00806
+20207c96
+204075e1
+da2009e6
+d8a00866
+204077a8
+da2009c6
+d8a00826
+204077a8
+da200826
+da4009c6
+d8a00826
+20407786
+da20089e
+da4009c6
+d8a00846
+20407786
+da200846
+da400826
+d8a00826
+20407755
+da200806
+da400826
+d8a00806
+20407755
+df200018
+da200866
+da400806
+20207f88
+da2008e6
+d8a00806
+204077a8
+da2008ce
+d8a00826
+204077a8
+da200826
+da4008ce
+d8a00826
+20407786
+da20089e
+da4008ce
+d8a00846
+20407786
+da200846
+da400826
+d8a00826
+20407755
+da200806
+da400826
+d8a00806
+20207758
+680089b2
+c0807615
+20407612
+d8a00a7e
+58000a2e
+e0a10000
+58004642
+e0a10000
+580009de
+e0a10000
+20207609
+d8a00a7e
+58000a3e
+e0a10000
+580009de
+e0a10000
+58004642
+e0a10000
+204079a0
+680089af
+c002760f
+7009b001
+7009ae05
+20600000
+7009af14
+2040758a
+202076d8
+d8a00a1e
+18000e08
+202076a2
+7009b001
+20600000
+4773403c
+d8a00727
+680340a0
+e0a30000
+68030040
+e0a30000
+6801c65e
+e0a18000
+20407a0d
+da200a4e
+da400a5e
+18000e04
+204076a7
+2420f631
+20407628
+70007d41
+202062f8
+680089af
+c004f62e
+7009ae0a
+7009b001
+70007c03
+20600000
+70007c03
+7009af15
+202076d8
+680089af
+c004f637
+7009ae00
+70007c04
+70007e05
+20600000
+70007c04
+7009af00
+20600000
+680089b3
+c000f63e
+7009af0a
+202076d8
+d8a00727
+68030040
+e0a30000
+680340a0
+e0a30000
+6801c65b
+e0a18000
+20407a24
+680089af
+c005764b
+7009ae0b
+7009b001
+20600000
+7009af0b
+7009b101
+20600000
+d8a00a7e
+68030040
+e0a30000
+680340a0
+e0a30000
+58000a2e
+e0a10000
+58000a3e
+e0a10000
+20207662
+7009ae0f
+d8a00a7e
+680340a0
+e0a30000
+68030040
+e0a30000
+58000a3e
+e0a10000
+58000a2e
+e0a10000
+d8a00727
+68030a7e
+e0a30000
+68030a84
+e0a30000
+204079d7
+7041bd01
+d8a041be
+d8c00a4e
+20407ebf
+202021c4
+4773c03c
+6800c5b1
+c1800000
+680089b2
+c1800000
+d8a04612
+18000e0b
+204076a2
+180a7e00
+1fe37e00
+e0a10000
+d8a006be
+d8c04612
+20407ebe
+d8a005e6
+d8c008ce
+20407ebc
+d8a00616
+20407ec5
+70061601
+20407a5d
+7009b201
+20600000
+d8a0462a
+d8c0062e
+20407ebc
+7045b101
+7009b200
+20600000
+4774403d
+680089b9
+c1800000
+680089b2
+c1800000
+d8a006be
+d8c04612
+20407ebe
+d8a005e6
+d8c009c6
+20407ebc
+d8a00616
+20407ec5
+70061601
+20407a5d
+7009b202
+20600000
+7009b301
+d8a00a06
+d8c0062e
+20407ebe
+7009b901
+7009b200
+20600000
+18e08fff
+24610000
+180a7e00
+e0a10000
+202076a2
+18e08fff
+242176b3
+ea220000
+1fe20400
+ea420000
+9842fe00
+2422f6b1
+1a20a204
+1a40a404
+202076a7
+7840fc00
+20600000
+7820fc00
+20600000
+4774c03d
+680089b0
+207a0000
+204062bc
+247a0000
+7009b000
+680089ae
+c001e1fd
+c002e21a
+c003e225
+c005e23a
+c0017588
+c00275f7
+c004f617
+c005763a
+c0067658
+20600000
+4775403d
+680089b1
+207a0000
+204062bc
+247a0000
+7009b100
+680089af
+c00961e0
+c009e1e5
+c001e1e9
+c0027602
+c00a61ed
+c003e1fb
+c005763a
+c005e239
+c004f617
+c00ae233
+20600000
+7009b101
+20600000
+7009b100
+20600000
+4775c03d
+6800c65a
+207a0000
+680089b2
+207a0000
+1fe0fe80
+600089b2
+c3838000
+680085e3
+203a76e7
+20207a68
+204078d3
+680089b2
+c000f684
+c001769b
+20600000
+1fe10e07
+1fe97e00
+98c08c00
+e8c08000
+afec0000
+20600000
+20407ebe
+20407ebe
+20207ebe
+e8c40000
+247a0000
+e8c40000
+247a0000
+e8c40000
+20600000
+ea220000
+98000400
+ea420000
+98467c00
+24628000
+1a20a204
+1a40a404
+c20076fb
+20600000
+18007206
+1a20a214
+1a40a414
+ea420000
+98000400
+ea220000
+98467e00
+24610000
+247a0000
+1a20a3fc
+1a40a5fc
+c2007707
+20600000
+18007206
+18002600
+ea220000
+98000400
+ea420000
+9840fe00
+9a60fe00
+e0a20000
+2feffe20
+7920a600
+1a20a204
+1a40a404
+c2007713
+20600000
+18007206
+18002600
+ea420000
+98000400
+ea220000
+98467e00
+9a667e00
+e0a20000
+2feffe20
+7920a600
+1a20a204
+1a40a404
+c2007721
+20600000
+18007206
+1a20a214
+18002600
+ea220000
+2feffe00
+7920a601
+1fe37e00
+2a6ffe00
+7920fe1f
+e2220000
+1a20a3fc
+1a632600
+c2007730
+20600000
+18007206
+18002600
+ea220000
+2feffe1f
+7920a601
+1fe3fe00
+2a6ffe00
+7920fe00
+e2220000
+1a20a204
+1a632600
+c200773d
+20600000
+2040773b
+2a6ffe00
+2020f751
+da400886
+1a222600
+1a20a3e8
+20407704
+24610000
+1a622200
+1a20a3e8
+da400886
+1a220a00
+2020771f
+20407711
+18a22200
+20207749
+2040771f
+2a6c0000
+20608000
+da400886
+18a0a3e8
+1a220a00
+20207711
+18a21600
+1a226000
+da400716
+1a420a00
+1a208c18
+e8c40000
+e0a40000
+e0a40000
+18007e00
+e0a40000
+19620a00
+20407755
+da400716
+1a420a00
+18007e00
+e0a40000
+1e008c20
+e8c40000
+e0a40000
+e0a40000
+19622200
+1a220a00
+20407755
+da400716
+1a420a00
+1e008c28
+e8c40000
+e0a40000
+e0a40000
+e0a40000
+19622200
+1a220a00
+20207755
+18007206
+e8c20000
+98005e00
+1f00f001
+c2007781
+20600000
+18a21600
+d8a006e6
+20407ec5
+d8a006e6
+1a220c00
+18007000
+20407780
+1a420c00
+20407780
+18002400
+18000400
+18002606
+e8a20000
+98002200
+1a427000
+1de27e00
+1a627000
+9deffe00
+9a20fe00
+9840fe00
+e0a20000
+1fef0400
+1a60a601
+2a61fe0c
+2420f792
+18427e00
+e0a20000
+18a08be8
+1a40a401
+2a41fe06
+2420f790
+da2006e6
+19620a00
+2020775f
+1a222400
+20207786
+1a226000
+1e022200
+ea208000
+2feffe00
+20608000
+2040772d
+ea408000
+2fec0000
+2020f7ba
+da200886
+1a420a00
+20407711
+ea408000
+9a60fe00
+e2408000
+1a40a5e8
+1a40a218
+18007207
+2040772f
+202077ab
+18a21600
+d8a00746
+20407ec5
+18007e00
+600206fe
+6002075e
+70074601
+d8a006e6
+20407ec5
+d8c00886
+d8a00716
+20407ebe
+1a220c00
+d8a0072e
+20407ebe
+d8c0072e
+204076f5
+203a77f6
+da20072e
+da400746
+204077aa
+da200716
+da4006e6
+204077aa
+da20072e
+da400716
+20407704
+202177e8
+da200716
+da40072e
+1a220a00
+2040771f
+da200746
+da4006e6
+1a420a00
+20407711
+ea208000
+9a60a600
+ea408000
+9a60fe00
+e2408000
+202077cd
+da20072e
+da400716
+1a220a00
+2040771f
+da2006e6
+da400746
+1a420a00
+20407711
+ea208000
+9a60a600
+ea408000
+9a60fe00
+e2408000
+202077cd
+d8a00746
+20407ec5
+680086fe
+60008746
+6000874e
+da200746
+da4006e6
+1a420a00
+20407755
+da200886
+da4006e6
+19620a00
+20207758
+da2006a6
+d8a0075e
+204077a8
+da20075e
+d8a00776
+204077a8
+da20089e
+da400776
+d8a00776
+20407786
+da200676
+d8a0075e
+204077a8
+d8c0075e
+d8a0072e
+20407ebe
+da20072e
+20407748
+da20075e
+da40072e
+d8a0075e
+20407755
+da20075e
+da400776
+d8a0075e
+20407755
+d8c00676
+d8a0072e
+20407ebe
+da20068e
+d8a00776
+204077a8
+da20072e
+20407748
+da20072e
+20407748
+da20072e
+da400776
+d8a0072e
+20407786
+da200776
+d8a00746
+204077a8
+da200746
+20407748
+da200746
+20407748
+da200746
+20407748
+d8c0068e
+d8a00776
+20407ebe
+da200776
+20407748
+da200776
+da4006a6
+d8a006a6
+20407786
+da20075e
+d8a00776
+204077a8
+da200776
+da40072e
+d8a00776
+20407758
+da200776
+da40072e
+d8a00676
+20407758
+da20072e
+da400676
+d8a00776
+20407758
+da200776
+da40075e
+d8a00776
+20407786
+da200776
+da400746
+d8a0068e
+20207758
+da200616
+d8a0078e
+204077a8
+da200676
+da40078e
+d8a00746
+20407786
+da200616
+da40078e
+d8a0078e
+20407786
+da20068e
+da40078e
+d8a0072e
+20407786
+da2006a6
+d8a0078e
+204077a8
+da2005e6
+da40078e
+d8a0075e
+20407786
+da2006a6
+da40078e
+d8a0078e
+20407786
+da2005fe
+da40078e
+d8a00776
+20407786
+da200746
+da40075e
+d8a0078e
+20407758
+da200746
+da40075e
+d8a00746
+20407755
+da20072e
+da400776
+d8a0075e
+20407758
+da20072e
+da400776
+d8a0072e
+20407755
+da20072e
+da40078e
+d8a0072e
+20407786
+da2006a6
+da400616
+d8a00776
+20407786
+da200776
+da40078e
+d8a006a6
+20407786
+da20078e
+d8a0078e
+204077a8
+da20078e
+da400746
+d8a00776
+20407786
+da20078e
+da40072e
+d8a0072e
+20407786
+da20075e
+d8a00676
+204077a8
+da200676
+da400776
+d8a00676
+20407758
+d8c00676
+d8a0078e
+20407ebe
+da20078e
+20407748
+da200776
+da40078e
+d8a00776
+20407758
+da200776
+da40075e
+d8a0075e
+20407786
+da20075e
+da40072e
+d8a0068e
+20407758
+da20068e
+da400886
+d8a0068e
+18002600
+6800868e
+2feffe00
+2040f711
+1a626000
+da20068e
+2040772d
+680086a5
+2e0ffe00
+7920fe07
+600086a5
+20600000
+680085e3
+1fe0ffff
+24610000
+600085e3
+680085e2
+205a7803
+680085e3
+d8c006be
+204076ec
+2020f8c0
+680085e2
+243a78ce
+20407854
+202078c0
+7005e200
+d8c005e6
+d8a00676
+204076f2
+202078c0
+da2006a6
+d8a00776
+204077be
+da200776
+d8a0072e
+204077a8
+da200676
+da40072e
+d8a0062e
+20407786
+da200776
+da40072e
+d8a0075e
+20407786
+da20068e
+da40075e
+d8a00646
+20207786
+e8c20000
+18002204
+18a08a03
+e0a08000
+1fecfe00
+18a08bfe
+1a20a3ff
+2422f8e8
+18a08a05
+c20078e5
+20600000
+18ebfe00
+99608c00
+e8c20000
+20600000
+18006010
+d96005e6
+1e008ff9
+204078f0
+98000400
+1e008ff0
+204078f0
+98408400
+1e008ffe
+204078f0
+1fee7e01
+98408400
+1e008ff1
+204078f0
+1fee7e00
+98408400
+1e0bfe00
+99608a00
+e0aa0000
+1e00e001
+2e01fe40
+2420f8f6
+20600000
+d8c008fe
+18007007
+e8c20000
+98005e00
+1f00f1ff
+2021790d
+20600000
+4776403d
+204078f4
+d8a006e6
+18007000
+1de27e00
+e0a20000
+1f00f001
+2f01fe08
+2420f916
+204074b9
+d9608700
+de0005e6
+18007240
+ee0a0000
+e9620000
+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
+c200791f
+d8c006e6
+18007000
+e8c20000
+9de0de00
+1f00f001
+2f01fe08
+2420f948
+202074bd
+d8a00a3e
+18007007
+1de27e00
+e0a20000
+1f00f1ff
+20217950
+20600000
+d8a005e6
+18c08dfc
+1f262210
+e8c20000
+9842fe00
+e0a20000
+18c08df8
+c2007958
+1a227200
+18427e00
+e0a20000
+c200795f
+20600000
+20407967
+2040794e
+2020798d
+20407967
+2020798d
+d8c009de
+d8a005e6
+18007206
+20407a71
+d8c04642
+18007206
+20407a71
+d8c00a3e
+20407a70
+2040790b
+20407912
+d8c00a2e
+d8a005e6
+20207984
+d8c04642
+d8a005e6
+18007206
+20407a71
+d8c009de
+18007206
+20407a71
+d8c00a2e
+20407a70
+2040790b
+20407912
+d8c00a3e
+d8a005e6
+20407984
+2020798d
+20407a70
+58800000
+1fed7e00
+e0a20000
+18007205
+20407ec6
+58000280
+e0a20000
+20207912
+68020a3e
+da2003e8
+9a26fc00
+20407f86
+18077e00
+600209ba
+1807fe00
+da2003e8
+9a26fc00
+20407f86
+18077e00
+da2003e8
+9a2ffe00
+680a09ba
+9840fe00
+600209ba
+20600000
+70466400
+202079a2
+6800c662
+c081799e
+4776c03d
+58363636
+1fed0400
+18418436
+68010a7e
+1fe20c00
+18007204
+20407955
+2040790b
+20407912
+68010a80
+1fe20c00
+d8a005e6
+18007206
+20407a71
+68010a82
+1fe20c00
+18007206
+20407a71
+58800000
+e0a18000
+6800c664
+e0a08000
+18007e00
+e0a40000
+58000388
+e0a20000
+20407912
+2040794e
+d8c00a3e
+d8a00706
+20407ebd
+585c5c5c
+1fed0400
+1841845c
+68010a7e
+1fe20c00
+18007204
+20407955
+2040790b
+20407912
+d8c00726
+d8a005e6
+18007208
+20407a71
+58800000
+1fed7e00
+e0a20000
+20407ec5
+58000300
+e0a20000
+20407912
+2020794e
+58363636
+1fed0400
+18418436
+d8c00a1e
+18007206
+20407955
+2040790b
+20407912
+68010a8a
+1fe20c00
+d8a005e6
+20407a70
+68010a8c
+1fe20c00
+20407a70
+5862746c
+1fed7e00
+1fe1fe6b
+e0a20000
+d8c00733
+18007203
+20407a71
+58800000
+1fed7e00
+e0a20000
+18007e00
+e0a40000
+58000380
+e0a20000
+20407912
+2040794e
+d8c00a3e
+d8a00706
+20407ebd
+585c5c5c
+1fed0400
+1841845c
+d8c00a1e
+18007206
+20407955
+2040790b
+20407912
+d8c00726
+d8a005e6
+18007208
+20407a71
+58800000
+1fed7e00
+e0a20000
+20407ec5
+58000300
+e0a20000
+20407912
+2020794e
+6800c662
+c0817a1e
+4777403d
+58363636
+1fed0400
+18418436
+d8c00a1e
+18007206
+20407955
+2040790b
+20407912
+d8c00a3e
+d8a005e6
+20407a70
+d8c00a2e
+20407a70
+20207a33
+58000000
+6002468a
+20207a0f
+58000000
+6002468a
+20207a26
+6800c662
+c0817a21
+58363636
+1fed0400
+18418436
+d8c00a1e
+18007206
+20407955
+2040790b
+20407912
+d8c00a2e
+d8a005e6
+20407a70
+d8c00a3e
+20407a70
+58000000
+e0a40000
+e0a20000
+6802468a
+e0a20000
+18a20400
+70072680
+18420a00
+d8c00736
+20407a70
+20407912
+d8a005e6
+18007207
+20407ec6
+e0a20000
+580003f8
+e0a20000
+20407912
+2040794e
+d8c00a3e
+d8a00706
+20407ebd
+585c5c5c
+1fed0400
+1841845c
+d8c00a1e
+18007206
+20407955
+2040790b
+20407912
+d8c00726
+d8a005e6
+18007208
+20407a71
+58800000
+1fed7e00
+e0a20000
+20407ec5
+58000300
+e0a20000
+20407912
+2020794e
+7005e3c0
+680085e3
+207a0000
+1fe0ffff
+600085e3
+d8c006be
+204076ec
+2020fa5e
+d8c005e6
+d8a00676
+202076f2
+20407803
+680085e3
+1fe0ffff
+600085e3
+d8c006be
+204076ec
+20608000
+20207854
+18007204
+18c08dfc
+e8c20000
+e0a20000
+18c08df8
+c2007a72
+20600000
+4777c03d
+6800c4be
+203a5af0
+20405aec
+20407583
+20207a7d
+6800c4c3
+c1800000
+6800c4c0
+c1800000
+d8a045b2
+18000e0f
+204076a2
+180a7e00
+1fe37e00
+e0a10000
+d8a00766
+d8c045b2
+20407ebd
+d8a00646
+d8c0095e
+20407eb3
+d8a00686
+20407ed0
+70068601
+20407ac7
+7044c003
+20600000
+d8a045d2
+d8c006a6
+20407eb3
+7044c303
+7044c000
+20600000
+680089b9
+c1800000
+6800c4c0
+c1800000
+d8a00766
+d8c045b2
+20407ebd
+d8a00646
+d8c009be
+20407eb3
+d8a00686
+20407ed0
+70068601
+20407ac7
+7044c004
+20600000
+d8a009fe
+d8c006a6
+20407ebd
+7009b903
+7044c000
+20600000
+6800c4be
+207a0000
+6800c4c0
+207a0000
+1fe0fe80
+6000c4c0
+c3838000
+680105e3
+203a7ab9
+20207abf
+4778403e
+20407ad4
+6800c4c0
+c001fa93
+c0027aa9
+20600000
+20407ae6
+680105e3
+1fe0ffff
+600105e3
+d8c00766
+204076ec
+20608000
+20207b37
+4778c03e
+58000100
+600105e3
+680105e3
+207a0000
+1fe0ffff
+600105e3
+d8c00766
+204076ec
+2020faca
+d8c00646
+d8a00706
+20207eb2
+da200746
+d8a00846
+20407ba3
+da200846
+d8a007e6
+20407c79
+da200706
+da4007e6
+d8a006a6
+20407be1
+da200846
+da4007e6
+d8a00826
+20407be1
+da200726
+da400826
+d8a006c6
+20207be1
+da200746
+d8a00826
+20407c79
+da200826
+d8a00846
+20407c79
+da20093e
+da400846
+d8a00846
+20407be1
+da200706
+d8a00826
+20407c79
+d8c00826
+d8a007e6
+20407ebd
+da2007e6
+20407c80
+da200826
+da4007e6
+d8a00826
+20407c7d
+da200826
+da400846
+d8a00826
+20407c7d
+d8c00706
+d8a007e6
+20407ebd
+da200726
+d8a00846
+20407c79
+da2007e6
+20407c80
+da2007e6
+20407c80
+da2007e6
+da400846
+d8a007e6
+20407be1
+da200846
+d8a00806
+20407c79
+da200806
+20407c80
+da200806
+20407c80
+da200806
+20407c80
+d8c00726
+d8a00846
+20407ebd
+da200846
+20407c80
+da200846
+da400746
+d8a00746
+20407be1
+da200826
+d8a00846
+20407c79
+da200846
+da4007e6
+d8a00846
+20407c96
+da200846
+da4007e6
+d8a00706
+20407c96
+da2007e6
+da400706
+d8a00846
+20407c96
+da200846
+da400826
+d8a00846
+20407be1
+da200846
+da400806
+d8a00726
+20207c96
+da200686
+d8a00866
+20407c79
+da200706
+da400866
+d8a00806
+20407be1
+da200686
+da400866
+d8a00866
+20407be1
+da200726
+da400866
+d8a007e6
+20407be1
+da200746
+d8a00866
+20407c79
+da200646
+da400866
+d8a00826
+20407be1
+da200746
+da400866
+d8a00866
+20407be1
+da200666
+da400866
+d8a00846
+20407be1
+da400806
+da200826
+d8a00866
+20407c96
+da200806
+da400826
+d8a00806
+20407c7d
+da4007e6
+da200846
+d8a00826
+20407c96
+da2007e6
+da400846
+d8a007e6
+20407c7d
+da2007e6
+da400866
+d8a007e6
+20407be1
+da200746
+da400686
+d8a00846
+20407be1
+da200846
+da400866
+d8a00746
+20407be1
+da200866
+d8a00866
+20407c79
+da200866
+da400806
+d8a00846
+20407be1
+da200866
+da4007e6
+d8a007e6
+20407be1
+da200826
+d8a00706
+20407c79
+da200706
+da400846
+d8a00706
+20407c96
+d8c00706
+d8a00866
+20407ebd
+da200866
+20407c80
+da200846
+da400866
+d8a00846
+20407c96
+da200846
+da400826
+d8a00826
+20407be1
+da200826
+da4007e6
+d8a00726
+20407c96
+da200726
+da40091e
+d8a00726
+18002600
+68008726
+2feffe00
+2040fc7b
+1a626000
+da200726
+20407cab
+68008745
+2e0ffe00
+7920fe07
+60008745
+20600000
+18a21600
+d8a00806
+20407ed0
+18007e00
+60020826
+70080601
+d8a00786
+20407ed2
+d8c0091e
+d8a007c6
+20407ebd
+1a220c00
+d8a007e6
+20407ebd
+d8c007e6
+20407cb5
+203a7bda
+da2007e6
+da400806
+20407cb8
+da2007c6
+da400786
+20407cb8
+da2007e6
+da4007c6
+20407cb1
+20217bcc
+da2007c6
+da4007e6
+1a220a00
+20407ca9
+da200806
+da400786
+1a420a00
+20407c7b
+ea208000
+9a60a600
+ea408000
+9a60fe00
+e2408000
+20207bb1
+da2007e6
+da4007c6
+1a220a00
+20407ca9
+da200786
+da400806
+1a420a00
+20407c7b
+ea208000
+9a60a600
+ea408000
+9a60fe00
+e2408000
+20207bb1
+da200786
+19620a00
+20407c0a
+da20091e
+19622400
+19620a00
+20207c96
+18a21600
+18007000
+d8a00786
+20407ed2
+d8a00ad2
+20407ed2
+1a220c00
+700ad200
+58000000
+20407c73
+1a420c00
+20407c77
+18000e00
+d8a00786
+d8400ad2
+18e22400
+1a4bfe00
+9840a400
+18000400
+18002600
+e8a20000
+98002200
+ea420000
+1a627000
+9deffe00
+9a20fe00
+9840fe00
+e0a20000
+1fef0400
+1a60a601
+2a61fe08
+2420fbf5
+18427e00
+e0a20000
+18a08be0
+18e08e01
+28e1fe08
+2420fbef
+da200786
+19620a00
+20207c0a
+4779403e
+18a21600
+1a226000
+da4007c6
+1a420a00
+20407ecd
+e0a40000
+1a208c2c
+20407eb9
+20407eb5
+1a422200
+20407c80
+da4007c6
+1e022200
+19620a00
+20407c7d
+da4007c6
+1a420a00
+20407ecd
+e0a40000
+1e008c30
+20407ebf
+20407ecd
+1a422200
+20407c80
+da4007c6
+19622200
+1a220a00
+20407c7d
+da4007c6
+1a420a00
+1e008c20
+20407eb5
+20407ecd
+e0a40000
+1e008c38
+20407eb9
+19622200
+1a220a00
+20407c7d
+da4007c6
+1a420a00
+1e008c24
+20407eb5
+1e008c34
+20407eb5
+1e008c34
+20407eb6
+1e008c20
+20407eb6
+19622200
+1a220a00
+20407c7d
+da4007c6
+1a420a00
+1e008c2c
+20407eb5
+20407ecd
+e0a40000
+1e008c20
+20407eb6
+1e008c28
+20407eb6
+19622200
+1a220a00
+20407c96
+da4007c6
+1a420a00
+1e008c30
+20407eb9
+20407eb9
+18007e00
+e0a40000
+1e008c24
+20407eb6
+1e008c2c
+20407eb6
+19622200
+1a220a00
+20407c96
+da4007c6
+1a420a00
+1e008c34
+20407eb5
+1e008c20
+20407eb5
+20407ecd
+1e008c30
+20407eb6
+19622200
+1a220a00
+20407c96
+da4007c6
+1a420a00
+1e008c38
+20407eb9
+20407ecd
+1e008c24
+20407eb5
+20407ecd
+1e008c34
+20407eb6
+19622200
+1a220a00
+20207c96
+18007220
+d8a00ad2
+98a08a00
+20207f01
+18007208
+20207781
+1a222400
+20207be1
+18007208
+20207712
+20407c7b
+18a22200
+20207c81
+20407cae
+2a6ffe00
+2020fc8a
+da40091e
+1a222600
+1a20a3e0
+20407cb1
+24610000
+1a622200
+20207c92
+20407c92
+1a222600
+1a20a3e0
+da40091e
+20407cb1
+24610000
+1a622200
+20207c92
+1a20a3e0
+da40091e
+1a220a00
+20207ca9
+20407ca9
+2020fca0
+18a0a3e0
+da40091e
+20407cb1
+24610000
+da40091e
+18a0a3e0
+1a220a00
+20207ca9
+18a0a3e0
+da40091e
+1a220a00
+20407c7b
+20608000
+18a0a3e0
+da40091e
+1a220a00
+20207c7b
+18007208
+20207720
+18007208
+1a20a21c
+2020772f
+18007208
+18002600
+2020773d
+18007208
+1a20a21c
+1a40a41c
+20207707
+e8c40000
+247a0000
+202076f5
+1a226000
+1e022200
+ea208000
+2feffe00
+20608000
+20407cab
+ea408000
+2fec0000
+2020fcc8
+da20091e
+1a420a00
+20407c7b
+ea408000
+9a60fe00
+e2408000
+1a40a5e0
+1a40a220
+18007209
+2040772f
+20207cb9
+20402c65
+20758000
+20407cd3
+20407d75
+20207d08
+20407d29
+20207d64
+6800c686
+c17f8000
+98000400
+2040680e
+6808c686
+20406825
+20000064
+6808c686
+204067fb
+20207cdd
+4779c03e
+6800c686
+c17f8000
+1fe20400
+2040681d
+2420fcef
+20407cf9
+68014682
+79207e0c
+60014682
+6800c679
+c1000000
+70467900
+6800c685
+6000c678
+20407d00
+700a992c
+20207d86
+68014682
+793ffe0c
+60014682
+6800c679
+c1008000
+70467901
+70467800
+20407d02
+700a992d
+20207d86
+6800c678
+207a0000
+1fe0ffff
+6000c678
+247a0000
+700a9910
+20207d86
+d8e00007
+20202c32
+d8e00007
+20202c36
+6801421b
+1a2fa40b
+9a40a400
+20600000
+6800c21a
+207a0000
+1fe27200
+6801421b
+1fe22400
+1a40a602
+ea688000
+2040680e
+20407d32
+1a40a40b
+c2007d0d
+20600000
+20407d04
+58000002
+e2408000
+20407d5e
+20207d35
+20407d04
+58000003
+e2408000
+20407d5e
+20207d32
+20407d04
+58000001
+e2408000
+580000ff
+e0a08000
+20207d32
+20407d04
+df20000b
+1a620c00
+1a420a00
+20207ef4
+6800c21a
+207a0000
+da200000
+20407d38
+1a20a201
+6800c21a
+9a267c00
+20628000
+20207d2c
+1a40a602
+ea688000
+20206825
+1a40a602
+ea688000
+20206829
+1a208e0b
+20407f16
+247a0000
+20407d04
+ea408000
+c0017d35
+c001fd32
+c0007d32
+c002fd4c
+20407d35
+1a40a607
+20407e7c
+ea610000
+20407f9c
+20407e8c
+58000005
+e2408000
+1a40a603
+ea610000
+20207d5c
+20407d32
+1a40a609
+20407e7c
+ea610000
+20407f9c
+20407e8c
+1a40a601
+ea608000
+c07ffd58
+1fe0ffff
+e2608000
+203a7d19
+58000004
+e2408000
+1a40a605
+ea610000
+1a208e0b
+20207f08
+58000000
+20207d5c
+58001000
+1ff07e00
+9a40a400
+20600000
+477a403e
+da200000
+680a467a
+1c422400
+1a427e00
+98467c00
+24417d60
+1a427e00
+184084a0
+184084a0
+98467c00
+24217d78
+1a20a201
+1a217e0f
+243a7d6b
+da200000
+20407d7f
+1c427e00
+6002467a
+20600000
+477ac03e
+1a227e00
+207a0000
+18408560
+18408560
+793f841c
+600a467a
+2020335f
+70466601
+6800c667
+243a7d81
+20600000
+70466600
+20600000
+477b403e
+20407d80
+1a227e00
+60020a91
+da204668
+20407fb8
+68020a91
+1fe22200
+20207d84
+477bc03e
+20407d80
+1a227e00
+60020a91
+da204670
+20407fb8
+68020a91
+1fe22200
+20207d84
+58000000
+60044670
+60044668
+20600000
+477c403f
+6800c1ce
+247a0000
+da204670
+20407fd0
+207a0000
+700a9000
+20407da7
+68008a90
+203a7d9c
+20600000
+20407d80
+da204670
+20407fc4
+1fe20400
+20407d84
+477cc03f
+18427e00
+207a0000
+c000fddd
+c0017de2
+c001fde8
+c003fded
+c0047dee
+c004fdef
+c005fdf2
+c0067df3
+c006fdf4
+c0077dfa
+c007fdff
+c0087e05
+c009fe0f
+c00a7e11
+c00afe13
+c00b7e15
+c00bfe18
+c00c7e1a
+c00cfe1d
+c00dfe25
+c00f7e2f
+60008a99
+477d403f
+204062bc
+243a7ddb
+68008a99
+c584fdd6
+c0027dea
+c002cd17
+c0034d26
+c0057df0
+c008fe0a
+c0097e0e
+c00efe26
+c00fe7cc
+c01067d0
+c010fe31
+c012e70b
+20600000
+60008a99
+20402252
+2022fddb
+2040225a
+24628000
+700a9001
+20207d8f
+68014682
+79207e06
+60014682
+70409303
+20600000
+70468000
+70409300
+68014682
+793ffe06
+60014682
+20600000
+7041ce05
+20600000
+70007c07
+7004ca13
+20600000
+20600000
+20600000
+20600000
+7004d402
+20204d0a
+20600000
+20600000
+70436e01
+70448400
+68014682
+79207e0b
+60014682
+20600000
+68014682
+793ffe0b
+60014682
+70436e00
+20600000
+70436e01
+70448401
+68014682
+79207e0b
+60014682
+20600000
+68014682
+793ffe0b
+60014682
+70436e00
+20600000
+58000014
+6001046d
+600144ba
+20205c92
+20205abf
+da200000
+20207d19
+da200000
+20207d14
+da200000
+20207d1e
+70436901
+7041ce1b
+20600000
+70436901
+20600000
+70436900
+7041ce00
+20600000
+680141eb
+20407f9c
+6800c686
+c07ffe23
+1fe20400
+204067fb
+20407d98
+20202b1f
+20205b02
+70007c34
+79200003
+24748000
+70455b00
+70007c13
+6800816d
+793ffe02
+6000816d
+20600000
+18000e03
+20207f07
+204062f8
+70007d41
+20205f9d
+6800c682
+c4060000
+c4038000
+20207e2f
+68014218
+1fe08a02
+58000000
+e0a18000
+20600000
+20407fe9
+20407e69
+207a0000
+68014218
+1fe0a402
+ea488000
+18408401
+e2488000
+efe88000
+18427200
+1fe0a404
+ea408000
+984ffe00
+98c08a00
+1a220c00
+20407f01
+20407e6d
+1fe0ffff
+ea488000
+18408401
+98410400
+e2488000
+20207fe7
+20407fe9
+20407e65
+207a0000
+68014218
+1fe0a402
+ea488000
+184085ff
+e2488000
+efe88000
+18427200
+1fe0a403
+ea408000
+984ffe00
+98c08c00
+18c08c01
+1a220a00
+20207e4c
+68014218
+1fe08c02
+e8c08000
+20600000
+20407e6d
+e8c88000
+98467e00
+20600000
+68014218
+1fe08c01
+e8c08000
+20600000
+1f267c00
+20628000
+1fe37e00
+c2007e73
+20600000
+18007e01
+1f267c00
+20628000
+1fe3fe00
+c2007e79
+20600000
+18a27e00
+60010abb
+600c0aa2
+19627e00
+60020aaa
+20407e85
+18c27e00
+60010ab9
+20600000
+1a227e00
+60020aae
+1a427e00
+60020ab2
+1a627e00
+60018ab6
+20600000
+680c0aa2
+68020aaa
+98001600
+20407e95
+68010abb
+98000a00
+68010ab9
+98000c00
+20600000
+68020aae
+98002200
+68020ab2
+98002400
+68018ab6
+98002600
+20600000
+68010abb
+1fe20a00
+20600000
+68010ab9
+1fe20c00
+20600000
+18a27e00
+60010abb
+20600000
+18c27e00
+60010ab9
+20600000
+18a27e00
+60010a97
+18c27e00
+60010a95
+20600000
+68010a97
+1fe20a00
+68010a95
+1fe20c00
+20600000
+20407ebd
+20407ebd
+20207ebd
+20407eb9
+e8c20000
+e0a20000
+20600000
+e8c40000
+e0a40000
+20600000
+20407ebf
+20407eb9
+20407eb9
+20407eb9
+20207eb9
+df20000a
+20002ee0
+c2007ec2
+20600000
+18007203
+18007e00
+e0a40000
+c2007ec7
+20600000
+18007e00
+e0a40000
+20600000
+18007e00
+e0a20000
+20600000
+18007204
+20207ec6
+18007208
+20207ec6
+1f227e00
+207a0000
+58000000
+e0a08000
+c2007ed7
+20600000
+df200020
+d8a00ac2
+20207ed4
+ea620000
+ea2a0000
+9842fe00
+e0a20000
+1a20a204
+1a60a604
+c2007edd
+20600000
+477dc03f
+1f227e00
+1fe67c01
+20610000
+9a20a400
+1a40a5ff
+1f237200
+ea288000
+ea408000
+e2208000
+e2488000
+1a40a5ff
+1a20a201
+c2007eec
+20600000
+1f227e00
+207a0000
+1f20f3f8
+20417eb9
+20628000
+20217ef6
+1f20f208
+1f20f3fc
+20417eb6
+20628000
+20217efb
+1f20f204
+20207f01
+1f227e00
+207a0000
+e8c08000
+e0a08000
+c2007f03
+20600000
+58000000
+1c430400
+600a4094
+d8a0419d
+98000400
+18e3fe00
+98a08a00
+e0a90000
+477e403f
+20600000
+d9600800
+19701600
+9960fe00
+20600000
+d8e00000
+477ec03f
+680a4094
+1c437e00
+60024094
+98467c00
+24417f11
+98461600
+19620400
+d8c0419d
+18c20a00
+df200010
+e8c10000
+98467e00
+20217f25
+18007e00
+e0a10000
+c2007f21
+d8c0419d
+18e3fe00
+98c08c00
+e8c10000
+20600000
+98408400
+18427200
+58000ea6
+9f267e00
+20610000
+1fe67e00
+18510400
+18408401
+18500400
+98418400
+20600000
+20407f39
+20207f43
+78547c00
+98467e00
+20217f3e
+78347c00
+1fe67e00
+c4078000
+d85f0ea6
+9840fe00
+793ffe40
+20600000
+98000c00
+1ff17e00
+d8400ea6
+984ffe00
+98c0fe00
+20600000
+1fed7e00
+1ff27e00
+6809c16f
+9846fc00
+20407f86
+18078400
+20600000
+d8400ea6
+9846fc00
+20407f86
+1807fe00
+1ff07e00
+18070400
+98418400
+20600000
+d8400000
+18422600
+e8608000
+20407f64
+1a620400
+20407f95
+da40000a
+9a4ffe00
+9840fe00
+1fe20400
+c2007f59
+20600000
+d840003a
+98467c00
+24217f6d
+d8400061
+98467c00
+20217f70
+d8400037
+98467e00
+20600000
+d8400030
+98467e00
+20600000
+d8400057
+98467e00
+20600000
+18426000
+580001ff
+18002400
+1fe92200
+1a232200
+9a22a200
+2a2ffe00
+7920fe09
+18430400
+2feffe00
+79208407
+1fe37e00
+1a40a401
+2a400e00
+2420ff76
+e0a88000
+c2007f76
+1e020400
+20600000
+207a8000
+20207f86
+ea208000
+ea488000
+98467c00
+24628000
+1a20a201
+1a40a401
+c2007f88
+18007c00
+20600000
+98467c00
+24610000
+18427e00
+20600000
+9840fe00
+98460400
+98467e00
+20600000
+df200200
+d8a04000
+20207ec6
+207a0000
+1fe27a00
+6811010e
+243a7f9e
+20600000
+70820301
+20600000
+60110205
+68108203
+79207e04
+60108203
+20600000
+60110207
+68108203
+79207e06
+60108203
+20600000
+60110205
+70820330
+20600000
+68108043
+793ffe04
+60108043
+20600000
+6811010e
+d8400200
+98467c00
+20600000
+477f403f
+ea2c0000
+18417eff
+243a7fbe
+184cfe00
+e2240000
+1a20a207
+ea208000
+243a2a8c
+68008a99
+e2208000
+20600000
+477fc03f
+df200008
+ea240000
+207a0000
+ea208000
+243a7fcd
+1a20a201
+c2007fc8
+20202a8c
+d8400000
+e2288000
+20600000
+ea240000
+20600000
+ea208000
+20600000
+ea210000
+20600000
+d8400000
+68008006
+c2007fd7
+18408401
+c2007fd7
+18427e00
+20600000
+98467c00
+24610000
+18427e00
+20600000
+18007dff
+20600000
+18007c01
+20600000
+18007c00
+20600000
+78347c00
+20600000
+78547c00
+20600000
+78367c00
+20600000
+78567c00
+20600000
+58000001
+20600000
+58000000
+20600000
+1f227e00
+207a0000
+18c27e00
+9f20fe00
+1fe0ffff
+1fe20c00
+e8c08000
+18c08dfe
+e0a08000
+c2007ff9
+20600000
+00000000
+0000a447
Index: HS_24G&BLE_Motion/output/sched.rom
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/sched.rom	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/output/sched.rom	(working copy)
@@ -0,0 +1,961 @@
+
+mem_lpm_config:8f 1b ca	#4khz
+mem_lpm_xtalcnt:00 0a 0b ef 07
+mem_lpm_hibernate_switch:00
+mem_gpio_wakeup_low:00 00 00 00 00 00 00 00
+mem_fcomp_mul:02
+mem_fcomp_div:24
+mem_iscan_window:12 00
+mem_iscan_interval:00 02
+mem_pscan_window:12 00
+mem_pscan_interval:00 02
+mem_inq_window:20 00
+mem_page_window:20 00
+mem_page_to:00 40
+mem_rx_window_init:80 04
+mem_rx_window_sniff:00 08
+
+mem_seqi:00
+
+#write to null
+mem_24g_head_ptr:00 84
+
+
+mem_tx_power:00#0dbm
+mem_rf_init_data_new:
+# tx power
+4b ba
+55 d0
+56 e0
+57 88
+58 6c
+59 10
+ff
+mem_rf_init_ptr:mem_rf_init_data_new
+
+
+
+mem_patch00:02
+#mem_patch03:00
+#mem_patch09:00
+#mem_patch0a:00
+#mem_patch0b:00
+mem_patch10:20
+mem_patch11:02
+mem_patch14:02
+mem_patch15:01
+mem_patch16:06
+mem_patch18:10
+mem_patch19:06
+mem_patch1c:48
+mem_patch1d:1c
+mem_patch27:02
+mem_patch28:08
+mem_patch29:04
+mem_patch2a:80
+mem_patch2c:88
+mem_patch2d:04
+mem_patch2e:80
+#mem_patch30:00
+mem_patch31:10
+#mem_patch39:00
+
+#debug
+#mem_patch31:11
+#mem_patch2f:40
+#mem_patch37:40
+#mem_patch3e:c0
+
+
+mem_device_option:42
+mem_lpm_mode:01
+mem_lpm_mult:20
+mem_lpm_mult_init:20
+mem_lpm_interval:00 00
+
+mem_mouse_function_enable:
+#bit0 MOUSE_ENABLE_USB
+#bit1 MOUSE_ENABLE_24G
+#bit2 MOUSE_ENABLE_SPI2
+#bit3 MOUSE_ENABLE_FLASH
+#bit4 MOUSE_ENABLE_EEPROM
+#bit5 MOUSE_ENABLE_STATUE_UP_THREE_LED
+#bit6 MOUSE_ENABLE_STATUE_UP
+#bit7 MOUSE_ENABLE_DPI_LED_BLINK
+92
+#bit0 MOUSE_ENABLE_BLE_RANDOM_ADDRE
+#bit1 MOUSE_ENABLE_2K_EEPROM
+#bit2 MOUSE_ENABLE_ADC
+#bit3 MOUSE_ENABLE_INIT_DELAY
+#bit4 MOUSE_ENABLE_DISCOVERY_SENSOR_LED
+#bit5 MOUSE_ENABLE_AUTO_24G_PARING
+#bit6 MOUSE_ENABLE_WAKEUP_FROM_POWER
+#bit7 MOUSE_ENABLE_GPIO_CONTROL_ADC_SENSOR
+45
+
+mem_mouse_mode_config:
+#bit0 MOUSE_24G_ONLY
+#bit1 MOUSE_BLE_ONLY
+#bit2 MOUSE_BT_ONLY
+#bit3 MOUSE_BLE_24G_ENABLE
+#bit4 MOUSE_BT_BLE_24G_ENABLE
+08
+
+mem_app_connection_options:06
+mem_lap:26 10 19 20 18 10
+#mem_local_name_length:
+#'BT 3.0 Mouse
+#mem_sniff_param_interval:
+#0e 00 
+#01 00 ##mem_sniff_param_attempt:01 00
+#02##mem_sniff_param_timeout:00 00
+
+
+mem_unsniff2sniff_timer:0a
+mem_ssp_mode_flag:03
+mem_ssp_enable:01
+##mem_all_uuid_16bits:
+##06
+##03#Type: Complete list of 16-bit UUIDs
+##0011 0100 1002 1124  1200  0001
+mem_all_uuid_128bits:00
+mem_ptt:00
+
+
+mem_sp_iocap_local:03 00 04
+mem_ui_profile_supported:01
+mem_eir_enable:01
+
+mem_le_adv_data_len:1f
+mem_le_adv_data:
+#appearance
+03 19 c2 03
+
+#flag 
+02 01 05
+
+#uuid
+03 03 12 18
+
+#name
+'\09BT 5.0 Mouse
+
+mem_le_scan_data_len:1f
+mem_le_scan_data:
+#name
+'\09BT 5.0 Mouse
+
+
+#max 20bytes, att list data rom limits
+mem_le_name_len:
+'BT 5.0 Mouse
+
+
+mem_le_interval_min:
+07 00 #min interval
+07 00 #max interval
+20 00 #latency
+2c 01 #timeout
+
+
+mem_le_adv_interval:00 00
+mem_le_adv_type:00 
+mem_le_adv_own_addr_type:00
+mem_le_adv_channel_map:07 
+
+mem_le_lap:8e b1 3a 0e 8e ed
+
+mem_le_transmit_window:50
+
+mem_le_notify_handle:19 00
+mem_le_pairing_handle:22 00
+
+
+mem_discovery_timeout:08 07#3min
+mem_mouse_direct_timeout:50 00#8s
+mem_mouse_no_data_timeout:70 17 #10min
+
+
+mem_spi_ncs_gpio:ff
+mem_ui_button_gpio:ff
+mem_ui_button_timeout:1e
+
+mem_device_number:02 #max device number
+mem_24g_device_number:02 #devie 2 :24g mode
+mem_adc_config_flag:02 #0 vinlpm 1 hvin 2 gpio
+mem_adc_channel:32 #gpio5
+mem_mouse_vdd_full_vol:96 00#1.5v
+5a 00#mem_mouse_vdd_empty_vol:5a 00#0.9v
+64 00#mem_mouse_vdd_low_vol:64 00  #1v
+
+mem_config_sensor_type:00
+02 #mem_config_sensor_motion:02
+06 #mem_lbutton_gpio:04
+08 #mem_rbutton_gpio:1b
+04 #mem_mbutton_gpio:17
+06#mem_bk_button_gpio:ff
+04 #mem_fw_button_gpio:ff
+08 #mem_dpi_button_gpio:06
+1b #mem_whee_a_data_gpio:02
+1c #mem_whee_b_data_gpio:03
+ff #mem_whee_ta_data_gpio:ff
+ff #mem_whee_tb_data_gpio:ff
+ff #mem_config_bt_button_gpio:ff
+ff #mem_config_select_device_button_gpio:ff
+ff #mem_config_paraing_led_gpio:ff
+ff #mem_config_low_voltage_alarm_gpio:08
+ff #mem_config_device1_led_gpio:08
+ff #mem_config_device2_led_gpio:ff
+ff #mem_config_device3_led_gpio:ff
+03 #mem_sensor_data_gpio:18
+ff #mem_dpi_led_gpio:08
+04 #mem_config_function_enable:04
+00 #mem_config_sensor_angle:00
+ff #mem_select_sensor_angle_gpio:ff
+ff #mem_select_adc_gpio:ff
+
+mem_mouse_multi_led_gpio:85
+mem_mouse_multi_led_blink_timer_init:05
+
+mem_eeprom_wp_gpio:14
+mem_sensor_reset_gpio:ff
+mem_sensor_squal_reg:07# 07:3205         	06:3610
+mem_usb_offline_check_gpio:ff
+mem_wire_usb_interval:19 #128
+
+mem_config_function_enable:
+#bit0 ENABLE_BT_DISCOVERY_BY_GPIO_LED
+#bit1 ENABLE_MODE_LED
+#bit2 ENABLE_LOW_VOLTAGE_LED
+#bit3 ENABLE_DEVICE_LED
+#bit4 ENABLE_BT_BUTTON
+#bit5 ENABLE_SELECT_DEVICE_BY_GPIO_BUTTON
+#bit6 ENABLE_SELECT_DEVICE_BY_SWITCH
+#bit7 ENABLE_SENSOR_MOTION_PIN
+04
+
+mem_mouse_dpi_seting:
+01##mem_320x_dpi_1
+02##mem_320x_dpi_2
+03##mem_320x_dpi_3
+04##mem_320x_dpi_4
+
+20##mem_3212_dpi_1#1200
+2a##mem_3212_dpi_2#1000
+22##mem_3212_dpi_3#1600
+2a##mem_3212_dpi_4#2400
+
+04##mem_3610_dpi_1
+05##mem_3610_dpi_2
+07##mem_3610_dpi_3
+08##mem_3610_dpi_4
+
+mem_mouse_dpi_blink_count:00
+
+
+mem_ui_led_struct_ptr:mem_mouse_led_type
+mem_ui_led_struct_num:01
+
+
+mem_mouse_le_uuid_sup:
+25 00 02 03 28 01 12 
+26 00 02 4d 2a 07 00 00 00 00 00 00 00 
+27 00 02 02 29 02 00 00
+28 00 02 08 29 02 11 01
+29 00 02 03 28 01 0e 
+2a 00 02 4d 2a 07 00 00 00 00 00 00 00
+2b 00 02 08 29 02 11 02
+
+  
+#24g init
+mem_24g_mode:01#tx
+mem_24g_data_type:01        #mouse 1,kb 2
+mem_24g_max_retry:04#max tx retry
+mem_24g_no_ack:00#with ack
+mem_24g_rx_window:c0 12     #400us
+mem_24g_interval:19
+mem_24g_interval_min:19
+mem_24g_interval_max:1c
+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_pairing_sm:ff
+mem_24g_paring_addr:20 15 10 05
+mem_24g_common_temp:00 00 00 00 00 00 00 00 00 00
+mem_24g_enter_hibernate:00 48 60 00 00 00 00 00#10 min
+
+mem_device_flag:
+01
+ff
+ff ff ff ff ff ff
+mem_device2_type:
+34
+11 22 33 44 55 66
+mem_device3_type:
+34
+11 22 33 44 55 66
+
+
+mem_flash_base:00 70 00
+mem_eeprom_base:90 1f
+mem_eeprom_block_size:80
+mem_reconn_times_init:00
+mem_bt_discovey_button_statue:01#default: button up
+mem_empty_count:03
+
+
+#yichip sdp
+#04 0011 0100 1002 1124
+#00 01 00 00
+#36 01 6d
+#09
+#00
+#00
+#0a
+#00
+#01
+#00
+#00
+#09
+#00
+#01
+#35
+#03
+#19
+#11
+#24
+#09
+#00
+#04
+#35
+#0d
+#35
+#06
+#19
+#01
+#00
+#09
+#00
+#11
+#35
+#03
+#19
+#00
+#11
+#09
+#00
+#05
+#35
+#03
+#19
+#10
+#02
+#09
+#00
+#06
+#35
+#09
+#09
+#65
+#6e
+#09
+#00
+#6a
+#09
+#01
+#00
+#09
+#00
+#09
+#35
+#08
+#35
+#06
+#19
+#11
+#24
+#09
+#01
+#00
+#09
+#00
+#0d
+#35
+#0f
+#35
+#0d
+#35
+#06
+#19
+#01
+#00
+#09
+#00
+#13
+#35
+#03
+#19
+#00
+#11
+#09
+#01
+#00
+#25
+#16
+#59
+#69
+#43
+#68
+#69
+#70
+#20
+#42
+#6c
+#75
+#65
+#74
+#6f
+#6f
+#74
+#68
+#20
+#4d
+#6f
+#75
+#73
+#65
+#09
+#01
+#01
+#25
+#05
+#4d
+#6f
+#75
+#73
+#65
+#09
+#01
+#02
+#25
+#06
+#59
+#69
+#43
+#68
+#69
+#70
+#09
+#02
+#00
+#09
+#01
+#00
+#09
+#02
+#01
+#09
+#01
+#11
+#09
+#02
+#02
+#08
+#80
+#09
+#02
+#03
+#08
+#21
+#09
+#02
+#04
+#28
+#01
+#09
+#02
+#05
+#28
+#01
+#09
+#02
+#06
+#35
+#81
+#35
+#7f
+#08
+#22
+#25
+#7b
+#05
+#01
+#09
+#02
+#a1
+#01
+#85
+#02
+#09
+#01
+#a1
+#00
+#05
+#09
+#19
+#01
+#29
+#08
+#15
+#00
+#25
+#01
+#75
+#01
+#95
+#08
+#81
+#02
+#05
+#01
+#09
+#30
+#09
+#31
+#16
+#01
+#f8
+#26
+#ff
+#07
+#75
+#10
+#95
+#02
+#81
+#06
+#09
+#38
+#15
+#81
+#25
+#7f
+#75
+#08
+#95
+#01
+#81
+#06
+#05
+#0c
+#0a
+#38
+#02
+#75
+#08
+#95
+#01
+#81
+#06
+#c0
+#c0
+#05
+#0c
+#09
+#01
+#a1
+#01
+#85
+#03
+#75
+#10
+#95
+#02
+#15
+#01
+#26
+#8c
+#02
+#19
+#01
+#2a
+#8c
+#02
+#81
+#60
+#c0
+#06
+#00
+#ff
+#09
+#01
+#a1
+#01
+#85
+#10
+#75
+#08
+#95
+#06
+#15
+#00
+#26
+#ff
+#00
+#09
+#01
+#81
+#00
+#09
+#01
+#91
+#00
+#c0
+#09
+#02
+#07
+#35
+#08
+#35
+#06
+#09
+#04
+#09
+#09
+#01
+#00
+#09
+#02
+#08
+#28
+#00
+#09
+#02
+#09
+#28
+#01
+#09
+#02
+#0a
+#28
+#01
+#09
+#02
+#0b
+#09
+#01
+#00
+#09
+#02
+#0c
+#09
+#1f
+#40
+#09
+#02
+#0d
+#28
+#00
+#09
+#02
+#0e
+#28
+#01
+#09
+#02
+#0f
+#09
+#00
+#12
+#09
+#02
+#10
+#09
+#00
+#00
+#
+#04 1002 1200 0100 0001
+#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
+#04
+#6d
+#09
+#02
+#02
+#09
+#b0
+#16
+#09
+#02
+#03
+#09
+#01
+#29
+#09
+#02
+#04
+#28
+#01
+#09
+#02
+#05
+#09
+#00
+#02
+#00
+#00
+#
+#01 0001
+#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
+#00
+#09
+#02
+#01
+#09
+#05
+#ac
+#09
+#02
+#02
+#09
+#02
+#39
+#09
+#02
+#03
+#09
+#00
+#44
+#09
+#02
+#04
+#28
+#01
+#09
+#02
+#05
+#09
+#00
+#02
+#
+#03 1101 0003 0100
+#00 01 00 02
+#36 00 2f
+#09
+#00
+#00
+#0a
+#00
+#01
+#00
+#02
+#09
+#00
+#01
+#35
+#03
+#19
+#11
+#01
+#09
+#00
+#04
+#35
+#0c
+#35
+#03
+#19
+#01
+#00
+#35
+#05
+#19
+#00
+#03
+#08
+#01
+#09
+#01
+#00
+#25
+#09
+#53
+#50
+#50
+#20
+#73
+
+
+
+#logi sdp
+#04 1000 0100 0001 1002
+#00 00 00 00
+#36 00 92 
+#09 00 00 0a 00 00 00 00 09 00 01 35 03 19 10 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 06 35 
+#09 09 65 6e 09 00 6a 09 01 00 09 00 09 35 08 35 06 19 01 00 09 01 00 
+#09 01 00 25 2c 4c 6f 67 69 74 65 63 68 20 42 6c 75 65 74 6f 6f 74 68 20 
+#57 69 72 65 6c 65 73 73 20 4d 6f 75 73 65 20 53 44 50 20 53 65 72 76 65 
+#72 09 01 01 25 0f 42 6c 75 65 74 6f 6f 74 68 20 4d 6f 75 73 65 09 02 00 35 03 09 01 00
+
+#04 1124 0100 0011 1002
+#00 01 00 00
+#36 01 ee 
+#09 00 00 0a 00 01 00 00 09 00 01 35 03 19 11 24 09 00 04 35 
+#0d 35 06 19 01 00 09 00 11 35 03 19 00 11 09 00 05 35 03 19 10 02 
+#09 00 06 35 09 09 65 6e 09 00 6a 09 01 00 09 00 09 35 08 35 06 19 11 24 
+#09 01 01 09 00 0d 35 0f 35 0d 35 06 19 01 00 09 00 13 35 03 19 00 11 09 01 
+#00 25 21 4c 6f 67 69 74 65 63 68 20 42 6c 75 65 74 6f 6f 74 68 20 57 69 72 65 6c 
+#65 73 73 20 4d 6f 75 73 65 09 01 01 25 0f 42 6c 75 65 74 6f 6f 74 68 20 4d 6f 75 
+#73 65 09 01 02 25 08 4c 6f 67 69 74 65 63 68 09 02 01 09 01 11 09 02 02 08 80 09 02 
+#03 08 21 09 02 04 28 01 09 02 05 28 01 09 02 06 35 fc 35 fa 08 22 25 f6 05 01 09 02 a1 01 
+#85 02 09 01 a1 00 05 09 19 01 29 08 15 00 25 01 75 01 95 08 81 02 05 01 09 30 09 31 16 01 
+#f8 26 ff 07 75 0c 95 02 81 06 09 38 15 81 25 7f 75 08 95 01 81 06 05 0c 0a 38 02 75 08 95 01 81 
+#06 c0 c0 05 0c 09 01 a1 01 85 03 05 06 09 20 15 00 26 64 00 75 08 95 01 81 02 c0 06 00 ff 09 01 
+#a1 01 85 10 75 08 95 06 15 00 26 ff 00 09 01 81 00 09 01 91 00 c0 06 00 ff 09 02 a1 01 85 11 75 
+#08 95 13 15 00 26 ff 00 09 02 81 00 09 02 91 00 c0 05 01 09 06 a1 01 85 04 75 01 95 08 05 07 
+#19 e0 29 e7 15 00 25 01 81 02 95 01 75 08 81 03 95 05 75 01 05 08 19 01 29 05 91 02 95 01 
+#75 03 91 03 95 06 75 08 15 00 26 ff 00 05 07 19 00 29 ff 81 00 c0 05 0c 09 01 a1 01 85 05 
+#15 00 25 01 75 01 95 02 0a 25 02 0a 24 02 81 02 95 01 75 06 81 03 c0 09 02 07 35 08 35 
+#06 09 04 09 09 01 00 09 02 09 28 01 09 02 0a 28 01 09 02 0c 09 1f 40 09 02 0d 28 00 09 
+#02 0e 28 01 09 02 0f 09 00 12 09 02 10 09 00 00
+
+#04 1200 0100 0001 1002
+#00 01 00 01
+#36 00 ad 
+#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 06 35 09 09 65 
+#6e 09 00 6a 09 01 00 09 00 09 35 08 35 06 19 12 00 09 01 00 09 01 00 
+#25 2c 4c 6f 67 69 74 65 63 68 20 42 6c 75 65 74 6f 6f 74 68 20 57 69 72 
+#65 6c 65 73 73 20 4d 6f 75 73 65 20 50 6e 50 20 53 65 72 76 65 72 09 01 
+#01 25 0f 42 6c 75 65 74 6f 6f 74 68 20 4d 6f 75 73 65 09 02 00 09 01 03 09 
+#02 01 09 04 6d 09 02 02 09 b0 16 09 02 03 09 12 03 09 02 04 28 01 09 02 05 09 00 02 00
+
+
Index: HS_24G&BLE_Motion/program/24g.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/24g.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/24g.prog	(working copy)
@@ -0,0 +1,2647 @@
+ifdef COMPILE_24G
+
+g24_dispatch:
+	bpatch patch16_2,mem_patch16
+	call g24_head_ptr2regc
+	add regc,offset_24g_mode,regb
+	ifetch 1,regb
+	//fetch 1,mem_24g_mode
+	rtneq disable_24g
+	beq tx_24g,g24_transmit_process
+	beq rx_24g,g24_receive_process
+	rtn
+
+g24_head_ptr2regc:
+	fetcht 2,mem_24g_head_ptr
+	copy temp,regc
+	rtn
+
+g24_receive_process_init:
+	call g24_receive_init
+	branch g24_mode_switch_init
+
+g24_receive_process:
+	call g24_mode_switch
+	call g24_dongle_work_mode_auto
+	call g24_dongle_bind_mode_auto
+	branch g24_dongle_search_mode_auto
+	
+
+g24_pair_init:
+	//jam 0,mem_24g_pid
+	//jam G24_PAIR_CH,mem_24g_ch
+	call g24_set0_mem_pid
+	setarg G24_PAIR_CH
+	call g24_store_mem_ch
+	call g24_store_mem_pair_txpower
+	//fetch 4,mem_24g_paring_addr
+	//store 4,mem_24g_addr
+	add regc,offset_24g_paring_addr,rega
+	ifetch 4,rega
+	branch g24_store_mem_addr
+		
+g24_ch:
+	call g24_head_ptr2regc
+	add regc,offset_24g_current_ch_number,regb
+	ifetcht 1,regb
+	//fetcht 1,mem_24g_current_ch_number
+	call g24_ch_temp_incre_size4 //map size =4
+	add regc,offset_24g_current_ch_number,contw
+	//storet 1,mem_24g_current_ch_number
+	branch g24_contw_istoret_1byte
+
+g24_ch_temp_incre_size4:
+	call g24_ch_calc
+	increase 1,temp
+	and_into 3,temp
+	rtn
+
+g24_ch_calc:
+	add regc,offset_24g_addr,regb
+	ifetch 1,regb
+	//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
+	add regc,offset_24g_ch_map1,pdata
+	//setarg mem_24g_ch_map1
+	iadd rega,pdata
+	iadd temp,contr
+	ifetch 1,contr
+	//store 1,mem_24g_ch
+	branch g24_store_mem_ch
+
+g24_set_device_addr:
+	call g24_store_mem_tx_power_temp
+	call otp_enable_chgpump
+	setarg 0x7e2
+	arg mem_temp,rega
+	arg 4,temp
+	call otpd_read_data
+	call otp_disable_chgpump
+	fetch 4,mem_temp	//adc data from otp
+	call g24_store_mem_device_addr
+	//store 4,mem_24g_device_addr	
+	nrtn blank
+	fetch 4,mem_lap
+	//store 4,mem_24g_device_addr
+	branch g24_store_mem_device_addr
+
+g24_transmit_rf_sta_init:
+	call g24_set1_mem_rf_last_sta
+	//jam 1,mem_24g_rf_last_sta
+	setarg 0
+	call g24_store_mem_sync_cnt
+	//jam 0,mem_24g_sync_cnt
+g24_transmit_rf_ctrl_clear:	
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	and_into bits_data,pdata
+	//store 1,mem_24g_data_type
+	branch g24_store_mem_data_type
+	
+g24_hop_ch_enable:
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	set1 bit_hop,pdata
+	call g24_store_mem_data_type
+	//store 1,mem_24g_data_type
+	//store 1,mem_24g_txpayload
+	branch g24_store_mem_txpayload
+	
+g24_transmit_hop_pac_fail:
+	call g24_fetch_mem_rf_work_stage
+	//fetch 1,mem_24g_rf_work_stage
+	beq 1,g24_transmit_hop_pac_fail_wo_hop
+	beq 2,g24_transmit_hop_pac_fail_hop_stage2
+	rtn
+	
+g24_transmit_hop_pac_fail_wo_hop:
+	call g24_set2_mem_sync_cnt
+	//jam 2,mem_24g_sync_cnt
+g24_transmit_hop_pac_fail_stage1:
+	add regc,offset_24g_hop_pac_retry,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_hop_pac_retry
+	call g24_store_mem_rf_last_sta
+	//jam 0,mem_24g_rf_last_sta
+	branch g24_transmit_rf_ctrl_clear
+
+g24_transmit_hop_pac_fail_hop_stage2:
+	call g24_set0_mem_rf_hop_ch
+	//jam 0,mem_24g_rf_hop_ch
+	branch g24_transmit_hop_pac_fail_stage1
+
+g24_transmit_pac_fail_hop_stage3:
+	add regc,offset_24g_txfail_cnt,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_txfail_cnt
+	increase 1,pdata
+	add regc,offset_24g_txfail_cnt,contw
+	istore 1,contw
+	//store 1,mem_24g_txfail_cnt
+	beq 0x20,g24_tx_attempt_fail
+	call g24_fetch_mem_rf_hop_ch
+	//fetch 1,mem_24g_rf_hop_ch
+	beq 1,g24_rf_hop_fastly
+	setarg 1
+	call g24_store_mem_rf_hop_ch
+	//jam 1,mem_24g_rf_hop_ch
+g24_rf_hop_attemp_again:
+	call g24_fetch_mem_rf_hop_ch
+	//fetch 1,mem_24g_rf_hop_ch
+	bne 1,g24_transmit_rf_ctrl_clear
+g24_rf_hop_fastly:
+	add regc,offset_24g_hop_fastly_cnt,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_hop_fastly_cnt
+	increase 1,pdata
+	call g24_store_mem_hop_fastly_cnt
+	//store 1,mem_24g_hop_fastly_cnt
+	beq 4,g24_rf_hop_fastly_exit
+	call g24_ch
+	call g24_set2_mem_max_retry
+	//jam 2,mem_24g_max_retry
+	branch g24_transmit_packet
+
+g24_rf_hop_fastly_exit:
+	call g24_set0_mem_hop_fastly_cnt
+	//jam 0,mem_24g_hop_fastly_cnt
+	branch g24_transmit_rf_ctrl_clear
+
+g24_set0_mem_hop_fastly_cnt:
+	setarg 0
+g24_store_mem_hop_fastly_cnt:
+	add regc,offset_24g_hop_fastly_cnt,contw
+	branch g24_contw_istore_1byte
+
+g24_transmit_hop_pac_succ_wo_hop:
+	call g24_set2_mem_sync_cnt
+	//jam 2,mem_24g_sync_cnt
+g24_transmit_hop_pac_succ:
+	call g24_set0_mem_rf_hop_ch
+	//jam 0,mem_24g_rf_hop_ch
+	call g24_set1_mem_rf_last_sta
+	//jam 1,mem_24g_rf_last_sta
+	branch g24_transmit_rf_ctrl_clear
+
+g24_transmit_succ_rf_config:
+	call g24_fetch_mem_rf_work_stage
+	//fetch 1,mem_24g_rf_work_stage
+	beq 3,g24_transmit_hop_pac_succ
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	isolate0 bit_hop,pdata
+	branch g24_transmit_rf_sta_init,true
+	call g24_fetch_mem_rf_work_stage
+	//fetch 1,mem_24g_rf_work_stage
+	beq 1,g24_transmit_hop_pac_succ_wo_hop
+	beq 2,g24_transmit_hop_pac_succ
+	rtn
+
+g24_rf_sta_check:
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+	call g24_rf_laststa_synccnt_check
+	ncall g24_rf_sync_cnt_check,user2
+	rtn
+
+g24_rf_laststa_synccnt_check:
+	disable user2
+	add regc,offset_24g_rf_last_sta,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_rf_last_sta
+	rtnne 1
+	add regc,offset_24g_sync_cnt,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_sync_cnt
+	rtnne 0
+	setarg 1
+	call g24_store_mem_rf_work_stage
+	//jam 1,mem_24g_rf_work_stage
+	call g24_set4_mem_max_retry
+	//jam 4,mem_24g_max_retry
+	branch enable_user2
+
+g24_rf_sync_cnt_check:
+	add regc,offset_24g_sync_cnt,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_sync_cnt
+	branch g24_rf_hop_attemp,blank
+	increase -1,pdata
+	call g24_store_mem_sync_cnt
+	//store 1,mem_24g_sync_cnt
+	setarg 2
+	call g24_store_mem_rf_work_stage
+	//jam 2,mem_24g_rf_work_stage
+	call g24_ch
+	//jam 4,mem_24g_max_retry
+	branch g24_set4_mem_max_retry
+
+g24_store_mem_rf_work_stage:
+	add regc,offset_24g_rf_work_stage,contw
+	branch g24_contw_istore_1byte
+
+
+g24_rf_hop_attemp:
+	setarg 3
+	call g24_store_mem_rf_work_stage
+	//jam 3,mem_24g_rf_work_stage
+	call g24_fetch_mem_rf_hop_ch
+	//fetch 1,mem_24g_rf_hop_ch
+	nbranch g24_rf_hop_attemp_again,blank
+	call g24_ch
+	//jam 2,mem_24g_max_retry
+g24_set2_mem_max_retry:	
+	setarg 2
+	branch g24_store_mem_max_retry
+
+g24_transmit_process:
+	rtnmark0 mark_24g
+	set1 mark_24g_conext,mark
+	bpatch patch16_3,mem_patch16
+	add regc,offset_24g_tx_without_int,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_tx_without_int
+	beq 1,g24_transmit_without_int
+	call g24_timer_check
+	nbranch g24_transmit_exit,user
+	call g24_interval_calibrate
+g24_transmit_without_int:
+	add regc,offset_24g_tx_without_int,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_tx_without_int
+	call g24_txdata_prep
+	nbranch g24_enter_lpm,user
+	call g24_rf_sta_check
+g24_transmit_start:
+	call g24_transmit_packet
+	call g24_power_ctrl
+g24_transmit_exit:
+	set0 mark_24g_conext,mark
+	rtn
+
+g24_timer_timeout:
+	rtn zero
+	set1 28,pdata
+	rtn
+
+g24_interval_calibrate:
+	add regc,offset_24g_pac_index,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_pac_index
+	increase 1,pdata
+	add regc,offset_24g_pac_index,contw
+	istore 1,contw
+	//store 1,mem_24g_pac_index
+	beq 4,g24_interval_max
+	beq 5,g24_interval_min
+	rtn
+g24_interval_max:
+	add regc,offset_24g_interval_max,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_interval_max
+g24_interval_update:	
+	//store 1,mem_24g_interval
+	add regc,offset_24g_interval,contw
+	branch g24_contw_istore_1byte
+
+g24_interval_min:
+	add regc,offset_24g_pac_index,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_pac_index
+	add regc,offset_24g_interval_min,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_interval_min
+	branch g24_interval_update
+
+g24_txdata_prep:
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,g24_pairing_sm
+	bpatch patch16_4,mem_patch16
+	call g24_package_data
+	nbranch g24_txdata_last_pac,user
+	call g24_transmit_prep
+	call g24_power_ctrl_pac_incrs
+g24_txdata_enable_tx:
+	//jam ENSURE_ON_24G,mem_24g_ensure
+	setarg ENSURE_ON_24G
+g24_store_mem_ensure:	
+	add regc,offset_24g_ensure,contw
+	branch g24_contw_istore_1byte
+
+g24_txdata_last_pac:
+	add regc,offset_24g_ensure,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_ensure
+	beq ENSURE_ON_24G,enable_user
+	rtn
+
+g24_package_data:
+	//rega:length,regb:contr
+	add regc,offset_24g_cb_data,temp
+	ifetch 2,temp
+	//fetch 2,mem_24g_cb_data
+	call callback_func
+	nrtn user
+	copy rega,pdata
+	store 1,mem_rega
+	add regc,offset_24g_abort_pac,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_abort_pac
+	call g24_transmit_rf_ctrl_clear
+	store 1,mem_24g_common_temp
+	fetch 1,mem_rega
+	copy pdata,rega
+	add rega,1,temp
+	arg mem_24g_common_temp+1,contw
+	copy rega,loopcnt
+	copy regb,contr
+	call memcpy
+	arg mem_24g_common_temp,rega
+g24_put_data_in_buff:
+	rtnmark0 mark_24g_conext
+	add regc,offset_24g_datalen,contw
+	istoret 1,contw
+	//storet 1,mem_24g_datalen
+	copy temp,loopcnt
+	add regc,offset_24g_txbuf,contw
+	//arg mem_24g_txbuf,contw
+	copy rega,contr
+	branch memcpy
+
+g24_transmit_prep:
+// total length
+	add regc,offset_24g_datalen,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_datalen
+	increase 2,pdata
+	add regc,offset_24g_txlen,contw
+	istore 1,contw
+	//store 1,mem_24g_txlen
+// data type
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	call g24_store_mem_txpayload
+	//store 1,mem_24g_txpayload
+//prepare 5bit payload length, 2bit PID, 1bit NO_ACK
+	add regc,offset_24g_datalen,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_datalen
+	lshift3 pdata,pdata
+	add regc,offset_24g_pid,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_pid
+	and temp,0x03,temp
+	lshift temp,temp
+	ior temp,pdata
+	add regc,offset_24g_no_ack,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_no_ack
+	iadd temp,pdata
+	istore 1,contw
+//prepare payload data
+	add regc,offset_24g_datalen,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_datalen
+	iforce loopcnt
+	add regc,offset_24g_txbuf,contr
+	//arg mem_24g_txbuf,contr
+	branch memcpy
+
+g24_send_abort_packet:
+	call g24_set1_mem_abort_pac
+	//jam 1,mem_24g_abort_pac
+	call g24_set0_mem_rf_hop_ch
+	//jam 0,mem_24g_rf_hop_ch
+	call g24_power_ctrl_reinit
+	call g24_transmit_rf_ctrl_clear
+	store 1,mem_24g_common_temp
+	call g24_put_data_in_buff_pre
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	set1 bit_abort,pdata
+	call g24_store_mem_data_type
+	//store 1,mem_24g_data_type
+	call g24_transmit_prep
+	call g24_txdata_enable_tx
+	branch g24_transmit_start
+
+g24_put_data_in_buff_pre:
+	store 1,mem_24g_common_temp+1
+	call g24_fetch_mem_device_addr
+	//fetch 4,mem_24g_device_addr
+	store 4,mem_24g_common_temp+2
+	arg 6,temp
+	arg mem_24g_common_temp,rega
+	branch g24_put_data_in_buff
+
+g24_enter_lpm:
+	add regc,offset_24g_abort_pac,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_abort_pac
+	branch g24_send_abort_packet,blank
+g24_enter_lpm_prepare:
+ 	// some thing need to do and do not enter 24g long sleep
+	add regc,offset_24g_cb_lpm_prepare,rega
+	ifetch 2,rega
+	//fetch 2,mem_24g_cb_lpm_prepare
+	branch callback_func
+
+g24_lpm_long_sleep:
+	call g24_head_ptr2regc
+	//fetch 8,mem_24g_enter_hibernate
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	add regc,offset_24g_cb_lpm_before,temp
+	ifetch 2,temp
+	//fetch 2,mem_24g_cb_lpm_before
+	call callback_func
+	add regc,offset_24g_enter_hibernate,temp
+	ifetch 8,temp
+	call clk2lpo
+	storet 4,mem_sleep_counter
+  	branch lpm_sleep
+
+g24_transmit_packet:
+	call g24_head_ptr2regc
+	add regc,offset_24g_retry,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_retry
+g24_transmit_loop:
+	call g24_transmit_receive_ack
+	nbranch g24_retransmit,sync
+	nbranch g24_retransmit,user3
+	call g24_ackpayload_parse
+	call g24_power_ctrl_ack_incrs
+g24_transmit_next_packet:
+	call g24_head_ptr2regc
+	add regc,offset_24g_pid,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_pid
+	increase 1,pdata
+	call g24_store_mem_pid
+	//store 1,mem_24g_pid
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,g24_paring_mode
+	call g24_transmit_succ_rf_config
+g24_transmit_abandon:
+	setarg 0
+	add regc,offset_24g_txfail_cnt,contw
+	istore 2,contw	//include mem_24g_get_ack_fail
+	//store 1,mem_24g_txfail_cnt
+	//store 1,mem_24g_get_ack_fail
+	//jam ENSURE_OFF_24G,mem_24g_ensure
+	setarg ENSURE_OFF_24G
+	branch g24_store_mem_ensure
+
+	
+g24_transmit_receive_ack:
+	disable user3
+	call g24_transmit
+	call g24_head_ptr2regc
+	add regc,offset_24g_no_ack,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_no_ack
+	beq no_ack_24g,g24_transmit_no_ack	//tx no ack
+	call g24_receive_packet
+	branch g24_end_of_packet
+g24_transmit_no_ack:
+	call g24_end_of_packet
+	branch g24_transmit_next_packet
+
+
+g24_retransmit:
+	bpatch patch16_5,mem_patch16
+	add regc,offset_24g_get_ack_fail,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_get_ack_fail
+	increase 1,pdata
+	add regc,offset_24g_get_ack_fail,contw
+	istore 1,contw
+	//store 1,mem_24g_get_ack_fail
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,g24_tx_paring_retry
+	add regc,offset_24g_retry,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_retry
+	increase 1,temp
+	add regc,offset_24g_retry,contw
+	istoret 1,contw
+	//storet 1,mem_24g_retry
+	add regc,offset_24g_max_retry,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_max_retry
+	isub temp,pdata
+	nbranch g24_transmit_loop,blank
+	bpatch patch16_6,mem_patch16
+	call g24_fetch_mem_rf_work_stage
+	//fetch 1,mem_24g_rf_work_stage
+	beq 3,g24_transmit_pac_fail_hop_stage3
+	add regc,offset_24g_hop_pac_retry,rega
+	ifetch 1,rega	
+	//fetch 1,mem_24g_hop_pac_retry
+	increase 1,pdata
+	add regc,offset_24g_hop_pac_retry,contw
+	istore 1,contw
+	//store 1,mem_24g_hop_pac_retry
+	beq 2,g24_transmit_hop_pac_fail
+	call g24_hop_ch_enable
+	setarg 1
+	call g24_store_mem_max_retry
+	//jam 1,mem_24g_max_retry
+	branch g24_transmit_packet
+
+g24_tx_paring_retry:
+	add regc,offset_24g_get_ack_fail,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_get_ack_fail
+	rtnne 0xff
+	add regc,offset_24g_get_ack_fail,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_get_ack_fail
+	branch g24_stop_24g_mode
+
+g24_tx_attempt_fail:
+	add regc,offset_24g_txfail_cnt,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_txfail_cnt
+g24_stop_24g_mode:
+	jam BT_EVT_24G_ATTEMPT_FAIL,mem_fifo_temp
+	branch ui_ipc_send_event
+
+g24_ackpayload_parse:
+	call g24_read_len_pid_crc
+	add regc,offset_24g_rxdata_length,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_rxdata_length	//ack payload length 
+	rtn blank
+	iforce loopcnt
+	add regc,offset_24g_rxbuf_add2,contr
+	//arg mem_24g_rxbuf+2,contr
+	add regc,offset_24g_rxpayload,contw	
+	//arg mem_24g_rxpayload,contw	//ack payload buffer 
+	branch memcpy
+
+
+g24_read_len_pid_crc:
+//read control
+	call g24_fetch_mem_rxbuf_add1
+	//fetch 1,mem_24g_rxbuf+1
+	rshift3 pdata,pdata
+	add regc,offset_24g_rxdata_length,contw
+	istore 1,contw
+	//store 1,mem_24g_rxdata_length
+//get crc
+	increase 1,pdata
+	add regc,offset_24g_rxbuf_add1,contr
+	//arg mem_24g_rxbuf+1,contr
+	iadd contr,contr
+	ifetch 3,contr
+	add regc,offset_24g_sta_crc,contw
+	istore 3,contw
+	//store 3,mem_24g_sta_crc
+//read pid
+	call g24_fetch_mem_rxbuf_add1
+	//fetch 1,mem_24g_rxbuf+1
+	rshift pdata,pdata
+	and pdata,0x03,pdata
+	add regc,offset_24g_sta_pid,contw
+	istore 1,contw
+	//store 1,mem_24g_sta_pid
+	rtn
+
+g24_prep:
+	disable enable_crc
+	disable enable_white
+	setarg 0x555555
+	iforce crc24_init
+	rtn
+
+g24_set_freq_tx:
+	call set_sync_on
+	add regc,offset_24g_ch,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_ch
+	branch set_freq_tx
+
+g24_transmit:
+	call g24_prep
+	call g24_set_freq_tx
+	set1 TXGFSK,radio_ctrl
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+	call le_enable
+	call g24_fetch_mem_addr
+	//fetch 4,mem_24g_addr
+	iforce access
+	inject mod,32
+	enable enable_crc
+	add regc,offset_24g_txlen,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_txlen
+	iforce loopcnt
+	add regc,offset_24g_txpayload,contr
+	//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
+	until null,tx_clear
+	bpatch patch16_7,mem_patch16
+	nop 100
+	disable encode_fec0
+	rtn
+
+g24_receive_packet:
+	disable user3
+	force 0,radio_ctrl
+	add regc,offset_24g_ch,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_ch
+	call set_freq_rx
+	call rf_rx_enable
+g24_receive_rxon:
+	call g24_prep
+	enable decode_fec0
+	enable is_rx
+	disable is_tx
+	call le_enable
+	call g24_fetch_mem_addr
+	//fetch 4,mem_24g_addr
+	iforce access
+	enable swfine
+	add regc,offset_24g_rx_window,rega
+	ifetch 2,rega
+	//fetch 2,mem_24g_rx_window
+	iforce stop_watch
+	correlate null,timeout
+	nbranch g24_sync_timeout,sync
+	enable enable_crc
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	add regc,offset_24g_rxbuf,contw
+	istore 1,contw	
+	//store 1,mem_24g_rxbuf	//device id
+	add regc,offset_24g_mode,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_mode
+	beq rx_24g,g24_receive_skip
+	bpatch patch17_0,mem_patch17
+	add regc,offset_24g_rxbuf,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_rxbuf
+	add regc,offset_24g_data_type,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_data_type
+	icompare bits_data,temp
+	nbranch g24_end_of_packet,true
+g24_receive_skip:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	rshift3 pdata,pdata
+	and pdata,0x1f,loopcnt	//max payload: 32bytes
+	branch g24rx_nopayload,zero
+g24rx_loop:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	loop g24rx_loop
+g24rx_nopayload:
+	parse demod,bucket,24
+	rshift32 pdata,pdata
+	rshift16 pdata,pdata
+	istore 3,contw
+	branch g24_end_of_packet,crc_failed
+	enable user3
+	disable decode_fec0
+	rtn
+//	branch rssi_signal
+
+g24_end_of_packet:
+	disable encode_fec0
+	disable decode_fec0
+	disable enable_crc
+	disable enable_white
+	branch shutdown_radio,is_rx
+	until null,tx_clear
+	nop 100          /* flush out the last bit */
+	branch shutdown_radio
+
+g24_sync_timeout:
+	call rssi_noise
+	branch g24_end_of_packet
+
+rssi_noise:
+	call save_rssi
+	rtn blank
+	add regc,offset_rssi_noise_index,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_rssi_noise_index
+	arg mem_rssi_noise_buffer,rega
+	//arg mem_rssi_noise_buf,rega
+	call rssi_noise_store
+	add regc,offset_rssi_noise_index,contw
+	//storet 1,mem_rssi_noise_index
+g24_contw_istoret_1byte:	
+	istoret 1,contw
+	rtn
+
+rssi_noise_store:
+	arg RSSI_BUF_LEN_NOISE,regb
+	branch rssi_store
+	
+/*	
+rssi_signal:
+	call save_rssi
+	rtn blank
+	add regc,offset_rssi_signal_index,rega
+	ifetcht 1,rega	
+	//fetcht 1,mem_rssi_signal_index
+	add regc,offset_rssi_signal_buf,rega
+	//arg mem_rssi_signal_buf,rega
+	arg RSSI_BUF_LEN_SIGNAL,regb
+	call rssi_store
+	add regc,offset_rssi_signal_index,contw
+	istoret 1,contw	
+	//storet 1,mem_rssi_signal_index
+	rtn
+*/	
+rssi_store:	
+	copy rega,pdata
+	iadd temp,contw
+	fetch 1,mem_rssi
+	istore 1,contw
+	increase 1,temp
+	copy regb,pdata
+	iand_into temp
+	rtn
+	
+rssi_average:
+	arg 0,temp
+	copy rega,contr
+rssi_average_loop:	
+	ifetch 1,contr
+	iadd temp,temp
+	loop rssi_average_loop
+	rshift8 temp,temp
+	rtn
+
+g24_power_ctrl_init:
+	call g24_head_ptr2regc
+	call g24_power_ctrl_incrs_level1
+	setarg 1
+	call g24_store_mem_power_ctrl_level
+	//jam 1,mem_power_ctrl_level
+g24_power_ctrl_reinit:
+	setarg 0
+	call g24_store_mem_power_ctrl_pac
+	//jam 0,mem_power_ctrl_packet_cnt
+	istore 1,contw
+	//jam 0,mem_power_ctrl_ack_cnt
+	rtn
+
+g24_power_ctrl_pac_incrs:
+	call g24_fetch_mem_power_ctrl_pac
+	//fetch 1,mem_power_ctrl_packet_cnt
+	increase 1,pdata
+g24_store_mem_power_ctrl_pac:	
+	//store 1,mem_power_ctrl_packet_cnt
+	add regc,offset_power_ctrl_packet_cnt,contw
+	branch g24_contw_istore_1byte
+
+g24_power_ctrl_ack_incrs:
+	//fetch 1,mem_power_ctrl_ack_cnt
+	//store 1,mem_power_ctrl_ack_cnt
+	add regc,offset_power_ctrl_ack_cnt,rega
+	ifetch 1,rega
+	increase 1,pdata
+	add regc,offset_power_ctrl_ack_cnt,contw
+	branch g24_contw_istore_1byte
+
+g24_power_ctrl:
+	bpatch patch17_1,mem_patch17
+	call g24_fetch_mem_power_ctrl_pac
+	//fetch 1,mem_power_ctrl_packet_cnt
+	sub pdata,POWER_CTRL_MAX_PACKET_CNT,null
+	rtn positive
+	add regc,offset_power_ctrl_ack_cnt,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_power_ctrl_ack_cnt
+	isub temp,temp	//loss packet cnt
+	call g24_power_ctrl_reinit
+	setarg offset_power_ctrl_threshold_up
+	iadd regc,rega
+	ifetch 1,rega
+	//fetch 1,mem_power_ctrl_threshold_up
+	isub temp,null
+	nbranch g24_power_ctrl_incrs,positive
+	setarg offset_power_ctrl_threshold_down
+	iadd regc,rega
+	ifetch 1,rega	
+	//fetch 1,mem_power_ctrl_threshold_down
+	isub temp,null
+	branch g24_power_ctrl_decrs,positive
+	rtn
+
+g24_power_ctrl_incrs:	
+	add regc,offset_power_ctrl_level,rega
+	ifetch 1,rega
+	//fetch 1,mem_power_ctrl_level
+	beq 2,g24_power_ctrl_incrs_level2
+	increase 1,pdata
+	call g24_store_mem_power_ctrl_level
+	//store 1,mem_power_ctrl_level
+	beq 1,g24_power_ctrl_incrs_level1
+g24_power_ctrl_incrs_level2:
+	setarg POWER_CTRL_LOSSPAC_THRESH_UP2
+	call g24_store_mem_power_ctrl_threshold_up
+	//jam POWER_CTRL_LOSSPAC_THRESH_UP2,mem_power_ctrl_threshold_up
+	setarg POWER_CTRL_LOSSPAC_THRESH_DOWN2
+	call g24_store_mem_power_ctrl_threshold_down
+	//jam POWER_CTRL_LOSSPAC_THRESH_DOWN2,mem_power_ctrl_threshold_down
+//	jam POWER_CTRL_RSSI_THRESH_DOWN2,mem_rssi_ctrl_threshold_down
+	add regc,offset_power_ctrl_txpwr_level2,rega
+	//fetch 1,mem_power_ctrl_txpwr_level2
+	branch g24_ifetch_rega_store_mem_txpower
+
+g24_power_ctrl_decrs:
+	add regc,offset_power_ctrl_level,rega
+	ifetch 1,rega
+	//fetch 1,mem_power_ctrl_level
+	beq 0,g24_power_ctrl_decrs_level0
+	increase -1,pdata
+	call g24_store_mem_power_ctrl_level
+	//store 1,mem_power_ctrl_level
+	beq 0,g24_power_ctrl_decrs_level0
+g24_power_ctrl_decrs_level1:
+//	call rssi_check_distance
+//	nrtn user
+g24_power_ctrl_incrs_level1:
+	setarg POWER_CTRL_LOSSPAC_THRESH_UP1
+	call g24_store_mem_power_ctrl_threshold_up
+	//jam POWER_CTRL_LOSSPAC_THRESH_UP1,mem_power_ctrl_threshold_up
+	setarg POWER_CTRL_LOSSPAC_THRESH_DOWN1
+	call g24_store_mem_power_ctrl_threshold_down
+	//jam POWER_CTRL_LOSSPAC_THRESH_DOWN1,mem_power_ctrl_threshold_down
+//	jam POWER_CTRL_RSSI_THRESH_DOWN1,mem_rssi_ctrl_threshold_down
+	setarg offset_power_ctrl_txpwr_level1
+g24_iadd_offset_mem_txpower:	
+	iadd regc,rega
+g24_ifetch_rega_store_mem_txpower:	
+	ifetch 1,rega
+	//fetch 1,mem_power_ctrl_txpwr_level1
+	branch g24_store_mem_txpower
+	
+g24_power_ctrl_decrs_level0:
+//	call rssi_check_distance
+//	nrtn user
+	setarg POWER_CTRL_LOSSPAC_THRESH_UP0
+	call g24_store_mem_power_ctrl_threshold_up
+	//jam POWER_CTRL_LOSSPAC_THRESH_UP0,mem_power_ctrl_threshold_up
+	setarg POWER_CTRL_LOSSPAC_THRESH_DOWN0
+	call g24_store_mem_power_ctrl_threshold_down
+	//jam POWER_CTRL_LOSSPAC_THRESH_DOWN0,mem_power_ctrl_threshold_down
+//	jam POWER_CTRL_RSSI_THRESH_DOWN0,mem_rssi_ctrl_threshold_down
+	setarg offset_power_ctrl_txpwr_level0
+	//fetch 1,mem_power_ctrl_txpwr_level0
+	branch g24_iadd_offset_mem_txpower
+
+/*
+rssi_check_distance:
+	disable user
+	arg mem_rssi_signal_buf,rega
+	arg RSSI_BUF_LEN_SIGNAL+1,loopcnt
+	call rssi_average
+	storet 1,mem_rssi_signal_avg
+	fetch 1,mem_rssi_ctrl_threshold_down
+	isub temp,null
+	branch enable_user,positive
+	rtn
+*/
+g24_start_pairing_sm1:
+	set1 mark_24g,mark
+	call g24_pair_init
+g24_set_pairing_sm_1:
+	//jam STATE_24G_PAIRING_1,mem_24g_pairing_sm
+	setarg STATE_24G_PAIRING_1
+	branch g24_store_mem_pairing_sm
+
+g24_pairing_sm:
+	add regc,offset_24g_ensure,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_ensure
+	beq ENSURE_ON_24G,enable_user
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	beq STATE_24G_PAIRING_1,g24_pairing_sm_1
+	beq STATE_24G_PAIRING_2,g24_pairing_sm_2
+	beq STATE_24G_PAIRING_3,g24_pairing_sm_3
+	branch assert
+
+g24_pairing_sm_1:
+	setarg STATE_24G_PAIRING_1_WAITING_ACK
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_1_WAITING_ACK,mem_24g_pairing_sm
+	jam 0xaa,mem_24g_common_temp
+	branch g24_pairing_sm_common
+g24_pairing_sm_2:
+	setarg STATE_24G_PAIRING_2_WAITING_ACK
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_2_WAITING_ACK,mem_24g_pairing_sm
+	jam 0x55,mem_24g_common_temp
+	branch g24_pairing_sm_common
+g24_pairing_sm_3:
+	setarg STATE_24G_PAIRING_3_WAITING_ACK
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_3_WAITING_ACK,mem_24g_pairing_sm
+	jam 0x22,mem_24g_common_temp
+g24_pairing_sm_common:
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	and_into bits_data,pdata
+	store 1,mem_24g_common_temp+1
+	call g24_fetch_mem_device_addr
+	//fetch 4,mem_24g_device_addr
+	store 4,mem_24g_common_temp+2
+g24_put_pairing_data_in_buff:
+	jam 0,mem_24g_common_temp+6
+	arg mem_24g_common_temp,rega
+	arg 7,temp
+	call g24_put_data_in_buff	
+	call g24_transmit_prep
+	call g24_txdata_enable_tx
+	branch enable_user
+
+g24_paring_mode:
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	rtneq STATE_24G_PAIRING_SUCCESS
+	beq STATE_24G_PAIRING_1_WAITING_ACK,g24_pairing_sm_1_waiting_ack
+	beq STATE_24G_PAIRING_2_WAITING_ACK,g24_pairing_sm_2_waiting_ack
+	beq STATE_24G_PAIRING_3_WAITING_ACK,g24_pairing_sm_3_waiting_ack
+	rtn
+
+g24_pairing_sm_1_waiting_ack:
+	setarg STATE_24G_PAIRING_2
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_2,mem_24g_pairing_sm
+	branch g24_transmit_abandon
+g24_pairing_sm_2_waiting_ack:
+	setarg STATE_24G_PAIRING_3
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_3,mem_24g_pairing_sm
+	branch g24_transmit_abandon
+g24_pairing_sm_3_waiting_ack:
+	setarg STATE_24G_PAIRING_SUCCESS
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_SUCCESS,mem_24g_pairing_sm
+	jam BT_EVT_24G_PAIRING_COMPLETE,mem_fifo_temp
+	call ui_ipc_send_event
+	add regc,offset_24g_rxpayload_add2,rega
+	ifetch 4,rega
+	//fetch 4,mem_24g_rxpayload+2
+	call g24_store_mem_addr
+	//store 4,mem_24g_addr
+	branch g24_transmit_abandon
+
+g24_auto_pair_start:
+	set0 mark_24g,mark
+	call g24_auto_pair_set_device_info
+	call g24_tx_attemp_data_prep
+g24_auto_pair_restart:	
+	call g24_set0_mem_check_dongle_times
+g24_auto_pair_start_loop:
+	nop 2000
+	call g24_fetch_mem_check_dongle_times
+	beq 0xff,g24_stop_24g_mode
+	call g24_transmit_receive_ack
+	nbranch g24_auto_pair_retry,sync
+	nbranch g24_auto_pair_retry,user3
+	call g24_ackpayload_parse
+	call g24_head_ptr2regc
+	add regc,offset_24g_paring_addr,rega
+	ifetcht 4,rega
+	call g24_fetch_mem_addr_isub_temp
+	branch g24_start_pairing_sm1,zero
+	call g24_head_ptr2regc
+	add regc,offset_24g_rxpayload_add2,rega
+	ifetch 4,rega
+	beq 0,g24_auto_pair_restart
+	call g24_store_mem_addr
+	branch g24_tx_attemp_dongle_succ
+
+g24_auto_pair_retry:
+	call g24_fetch_mem_check_dongle_times
+	increase 1,pdata
+	call g24_store_mem_check_dongle_times
+
+	call g24_fetch_mem_auto_paring_switch
+	increase 1,pdata
+	and_into 1,pdata
+	call g24_store_mem_auto_paring_switch
+	beq 0,g24_auto_pair_device_attemp
+	beq 1,g24_auto_pair_pair_attemp
+	rtn
+
+g24_fetch_mem_auto_paring_switch:
+	setarg offset_24g_auto_pair_switch
+	branch g24_set_rega_ifetch_1byte
+g24_store_mem_auto_paring_switch:
+	arg offset_24g_auto_pair_switch,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_auto_pair_set_device_info:
+	call g24_store_mem_tx_power
+	call g24_fetch_mem_device_addr
+	call g24_store_mem_addr
+	branch g24_ch
+
+g24_auto_pair_device_attemp:
+	call g24_auto_pair_set_device_info
+	branch g24_auto_pair_start_loop
+
+g24_auto_pair_pair_attemp:
+	call g24_pair_init
+	branch g24_auto_pair_start_loop
+
+
+g24_start_24g_mode:
+	set0 mark_24g,mark
+	call g24_ch
+	call g24_fetch_mem_pairing_sm
+	//fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+	call g24_tx_attemp_data_prep
+	call g24_set0_mem_check_dongle_times
+	//jam 0,mem_24g_check_dongle_times
+g24_tx_attemp_dongle_loop:
+	nop 2000
+	call g24_fetch_mem_check_dongle_times
+	//fetch 1,mem_24g_check_dongle_times
+	beq 0xff,g24_stop_24g_mode
+	call g24_transmit_receive_ack
+	nbranch g24_attemp_txdata_retry,sync
+	nbranch g24_attemp_txdata_retry,user3
+g24_tx_attemp_dongle_succ:	
+	set1 mark_24g,mark
+	call g24_set0_mem_check_dongle_times
+	setarg STATE_24G_PAIRING_SUCCESS
+	call g24_store_mem_pairing_sm
+	//jam 0,mem_24g_check_dongle_times
+	jam BT_EVT_24G_ATTEMPT_SUCCESS,mem_fifo_temp
+	branch ui_ipc_send_event
+
+g24_tx_attemp_data_prep:
+	set1 mark_24g_conext,mark
+	jam 0xff,mem_24g_common_temp
+	call g24_fetch_mem_data_type
+	//fetch 1,mem_24g_data_type
+	call g24_put_data_in_buff_pre
+	branch g24_transmit_prep
+	
+g24_attemp_txdata_retry:
+	call g24_fetch_mem_check_dongle_times
+	//fetch 1,mem_24g_check_dongle_times
+	increase 1,pdata
+	call g24_store_mem_check_dongle_times
+	//store 1,mem_24g_check_dongle_times
+	call g24_ch
+	branch g24_tx_attemp_dongle_loop
+
+g24_check_51cmd_start_24g:
+	call g24_store_mem_tx_power
+	//fetch 1,mem_tx_power_temp
+	//store 1,mem_tx_power
+	setarg STATE_24G_PAIRING_SUCCESS
+	call g24_store_mem_pairing_sm
+	//jam STATE_24G_PAIRING_SUCCESS,mem_24g_pairing_sm
+	branch g24_start_24g_mode
+/*	
+g24_check_51cmd_stop_24g:
+	call g24_store_mem_tx_power
+	set0 mark_24g,mark
+	branch le_disable
+*/
+
+
+dongle_init:
+	bpatch patch17_2,mem_patch17
+	call g24_head_ptr2regc
+	setarg dongle_rxdata_type1
+	add regc,offset_24g_cb_rxdata_type1,contw
+	istore 2,contw
+	//store 2,mem_24g_cb_rxdata_type1
+	call g24_receive_init
+	call usb_init
+	call g24_fetch_mem_pair_mode
+	//fetch 1,mem_24g_pair_mode
+	bpatch patch17_3,mem_patch17
+	beq 0x00,dongle_auto_bind
+	beq 0x01,dongle_pc_bind
+	beq 0x0f,dongle_all_powerful
+	branch assert
+
+g24_receive_init:
+	call g24_store_mem_tx_power_temp
+	arg 0x80,loopcnt
+	arg mem_rssi_noise_buffer,contw
+	branch memset0
+
+dongle_all_powerful:
+	call dongle_check_mode
+dongle_all_powerful_loop:
+	call g24_dongle_work_mode
+	call usb_isr
+	branch dongle_all_powerful_loop
+
+dongle_pc_bind:
+	bpatch patch17_4,mem_patch17
+	call dongle_check_mode
+dongle_pc_bind_loop:	
+	call g24_dongle_work_mode
+	call g24_dongle_bind_mode
+	call usb_isr
+	call dongle_usb_dispatch
+	branch dongle_pc_bind_loop
+
+dongle_check_mode:
+	//jam DONGLE_WORK,mem_dongle_work_mode
+	//jam CLEAR_INIT,mem_dongle_mode_init
+	//jam 0,mem_24g_ackpayload_enable
+	call g24_set_work_mem_dongle_work_mode
+	call g24_set0_mem_dongle_mode_init
+	branch g24_set0_mem_ackpayload_enable
+	
+g24_dongle_work_mode:
+	call g24_fetch_mem_dongle_work_mode
+	//fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_WORK
+g24_dongle_work_mode_start:
+	call g24_dongle_work_init
+	call g24_ch_process
+	call g24_receive_packet_start
+	branch g24_blank_data_process
+
+g24_dongle_work_init:
+	call g24_fetch_mem_dongle_mode_init
+	//fetch 1,mem_dongle_mode_init
+	rtnbit1 DONGLE_WORK
+	set1 DONGLE_WORK,pdata
+	call g24_store_mem_dongle_mode_init
+	//store 1,mem_dongle_mode_init
+	call g24_store_mem_tx_power
+	//fetch 1,mem_tx_power_temp
+	//store 1,mem_tx_power
+	call g24_set0_mem_ackpayload_enable
+	//jam 0,mem_24g_ackpayload_enable
+	jam 0,mem_usb_tx_enable
+	call g24_set1_mem_abort_pac
+	//jam 1,mem_24g_abort_pac
+	call g24_dongle_init
+g24_rx_interrupt_clear:
+	add regc,offset_24g_rxbuf,contw
+	//arg mem_24g_rxbuf,contw
+	arg 66,loopcnt
+	branch clear_mem
+
+g24_dongle_init:
+	call g24_set0_mem_pid
+	//jam 0,mem_24g_pid
+	call g24_fetch_mem_rx_addr
+	//fetch 4,mem_24g_rx_addr
+	call g24_store_mem_addr
+	//store 4,mem_24g_addr
+	branch g24_ch
+
+g24_ch_process:
+	bpatch patch17_5,mem_patch17
+	call g24_fetch_mem_abort_pac
+	//fetch 1,mem_24g_abort_pac
+	beq 1,g24_noise_rssi
+	call g24_fetch_mem_hop_pac
+	//fetch 1,mem_24g_hop_pac
+	beq 1,g24_ch	
+	setarg offset_24g_hop_btclk
+	iadd regc,rega
+	ifetcht 4,rega
+	//fetcht 4,mem_24g_hop_btclk
+	copy clkn_bt,pdata
+	isub temp,null
+	ncall g24_timer_timeout,positive
+	copy pdata,regb
+	setarg offset_24g_hop_btclk
+	iadd regc,rega
+	ifetch 4,rega
+	copy pdata,temp
+	//fetch 4,mem_24g_hop_btclk
+	setarg offset_24g_hop_interval
+	iadd regc,rega
+	copy temp,pdata
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_hop_interval
+	iadd temp,temp
+	copy regb,pdata
+	isub temp,null
+	nrtn positive
+	set0 28,pdata
+	setarg offset_24g_hop_btclk
+	iadd regc,contw
+	istore 4,contw
+	//store 4,mem_24g_hop_btclk
+g24_ch_update:
+	call g24_ch
+	call g24_fetch_mem_rf_laststa
+	//fetch 1,mem_24g_rf_laststa
+	increase 1,pdata
+	call g24_store_mem_rf_laststa
+	//store 1,mem_24g_rf_laststa
+	rtnne 2
+	call g24_set0_mem_rf_laststa
+	//jam 0,mem_24g_rf_laststa
+	//jam 1,mem_24g_abort_pac
+	//rtn
+	branch g24_set1_mem_abort_pac
+	
+g24_ch_timer_reinit:
+	copy clkn_bt,pdata
+	arg offset_24g_hop_btclk,rega
+	call g24_set_contw_with_temp
+	istore 4,contw
+	//store 4,mem_24g_hop_btclk
+	//jam 0,mem_24g_rf_laststa
+	//rtn
+	branch g24_set0_mem_rf_laststa
+
+g24_noise_rssi:
+	arg mem_rssi_noise_buffer,rega
+	call g24_noise_rssi_average
+	add regc,offset_rssi_noise_avg,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive	
+	branch g24_ch
+
+g24_noise_rssi_average:
+	arg RSSI_BUF_LEN_NOISE+1,loopcnt
+	branch rssi_average
+
+g24_blank_data_process:
+	call g24_ms_blank_data
+	call g24_kb_blank_data
+	branch g24_kb_mul_blank_data
+
+g24_ms_blank_data:
+	setarg offset_24g_ms_blank_data_enable
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_ms_blank_data_enable
+	rtn blank
+	arg TIMER_MS_BLANK,queue
+	call timer_check
+	nrtn blank
+	call g24_set0_mem_ms_blank_data_enable
+	//jam 0,mem_24g_ms_blank_data_enable
+g24_ms_blank_data_2usb:
+	setarg MS_REPORT_ID
+	store 1,mem_usb_mouse_data
+	setarg 0
+	istore 7,contw
+	branch g24_data_type1_usbtx_enable
+
+g24_kb_blank_data:
+	setarg offset_24g_kb_blank_data_enable
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_kb_blank_data_enable
+	rtn blank
+	arg TIMER_KB_BLANK,queue
+	call timer_check
+	nrtn blank
+	call g24_set0_mem_kb_blank_data_enable
+	//jam 0,mem_24g_kb_blank_data_enable
+g24_kb_blank_data_2usb:	
+	arg mem_usb_kb_data,contw
+	arg 2,loopcnt
+	call memset0
+	jam KB_NORMAL_REPORT_ID,mem_usb_kb_data
+	branch g24_kb_data_into_ep1_fifo
+
+g24_kb_mul_blank_data:
+	setarg offset_24g_kb_mul_blank_data_enable
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_kb_mul_blank_data_enable
+	rtn blank
+	arg TIMER_KB_MUL_BLANK,queue
+	call timer_check
+	nrtn blank
+	call g24_set0_mem_kb_mul_blank_data_enable
+	//jam 0,mem_24g_kb_mul_blank_data_enable
+g24_kb_mul_blank_data_2usb:
+	arg mem_usb_kb_multikey,contw
+	arg 2,loopcnt
+	call memset0
+	jam KB_MULTIKEY_REPORT_ID,mem_usb_kb_multikey
+	branch g24_kb_mul_data_into_ep2_fifo
+
+g24_dongle_bind_mode:
+	call g24_fetch_mem_dongle_work_mode
+	//fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_BIND
+	call g24_dongle_bind_init
+	branch g24_dongle_bind_data_process
+
+g24_dongle_bind_init:
+	call g24_fetch_mem_dongle_mode_init
+	//fetch 1,mem_dongle_mode_init
+	rtnbit1 DONGLE_BIND
+	set1 DONGLE_BIND,pdata
+	call g24_store_mem_dongle_mode_init
+	//store 1,mem_dongle_mode_init
+	call g24_set1_mem_ackpayload_enable
+	//jam 1,mem_24g_ackpayload_enable
+	call g24_pair_init
+	setarg 0
+	arg offset_dongle_ms_bind_step,rega
+	call g24_set_contw_with_temp
+	//store 3,mem_dongle_ms_bind_step
+	branch g24_contw_istore_3byte
+
+g24_dongle_bind_data_process:
+	call g24_receive_transmit_ack
+	nbranch g24_rx_interrupt_clear,user3	
+	add regc,offset_24g_rxbuf,contr
+	setarg offset_24g_rxdata_temp
+	iadd regc,contw
+	arg 8,loopcnt
+	call memcpy
+	setarg offset_24g_rxdata_temp_add2
+	call g24_set_rega_ifetch_1byte
+	beq DATATYPE_BIND,g24_dongle_bind_first_step	//bind step 1
+	beq DATATYPE_CONFIG,g24_dongle_bind_second_step
+	beq DATATYPE_OK,g24_dongle_bind_third_step
+	beq 0xff,g24_data_attemp
+	branch g24_rx_interrupt_clear
+
+g24_dongle_bind_first_step:
+	call g24_fetch_mem_rxdata_temp_add3_1byte
+	beq BIND_MOUSE,g24_dongle_bind_first_step_mouse
+	beq BIND_KEYBOARD,g24_dongle_bind_first_step_keyboard
+	rtn
+g24_dongle_bind_first_step_mouse:
+	setarg 1
+	call g24_store_mem_ms_bind_step
+	//jam 1,mem_dongle_ms_bind_step
+g24_dongle_bind_ms_payload_cfg:
+	setarg DATATYPE_MOUSE
+	call g24_store_mem_bind_payload
+	//jam DATATYPE_MOUSE,mem_24g_bind_payload
+g24_dongle_bind_payload_cfg:	
+	setarg 0x80
+	arg offset_24g_bind_payload_add1,rega
+	call g24_set_contw_with_regb_store_1byte
+	//jam 0x80,mem_24g_bind_payload+1
+	call g24_fetch_mem_rx_addr
+	//fetch 4,mem_24g_rx_addr
+	arg offset_24g_bind_payload_add2,rega
+	call g24_set_contw_with_temp
+	//store 4,mem_24g_bind_payload+2
+	branch g24_contw_istore_4byte
+
+g24_dongle_bind_first_step_keyboard:
+	setarg 1
+	call g24_store_mem_kb_bind_step
+	//jam 1,mem_dongle_kb_bind_step
+g24_dongle_bind_kb_payload_cfg:
+	setarg DATATYPE_KEYBOARD
+	call g24_store_mem_bind_payload
+	//jam DATATYPE_KEYBOARD,mem_24g_bind_payload
+	branch g24_dongle_bind_payload_cfg
+		
+g24_dongle_bind_second_step:
+	call g24_fetch_mem_rxdata_temp_add3_1byte
+	beq BIND_MOUSE,g24_dongle_bind_second_step_mouse
+	beq BIND_KEYBOARD,g24_dongle_bind_second_step_keyboard
+	rtn
+g24_dongle_bind_second_step_mouse:
+	call g24_dongle_bind_ms_payload_cfg
+	setarg offset_dongle_ms_bind_step
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_dongle_ms_bind_step
+	beq 1,g24_dongle_ms_bind_step_set2
+	rtn
+g24_dongle_ms_bind_step_set2:
+	setarg 2
+	//jam 2,mem_dongle_ms_bind_step
+g24_store_mem_ms_bind_step:
+	arg offset_dongle_ms_bind_step,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_dongle_bind_second_step_keyboard:
+	call g24_dongle_bind_kb_payload_cfg
+	setarg offset_dongle_kb_bind_step
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_dongle_kb_bind_step
+	beq 1,g24_dongle_kb_bind_step_set2
+	rtn
+g24_dongle_kb_bind_step_set2:
+	setarg 2
+	//jam 2,mem_dongle_kb_bind_step
+g24_store_mem_kb_bind_step:
+	arg offset_dongle_kb_bind_step,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_dongle_bind_third_step:
+	call g24_fetch_mem_rxdata_temp_add3_1byte
+	beq BIND_MOUSE,g24_dongle_bind_third_step_mouse
+	beq BIND_KEYBOARD,g24_dongle_bind_third_step_keyboard
+	rtn
+g24_dongle_bind_third_step_mouse:
+	setarg offset_dongle_ms_bind_step
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_dongle_ms_bind_step
+	beq 2,g24_dongle_ms_bind_step_success
+	rtn
+g24_dongle_ms_bind_step_success:
+	call g24_fetch_mem_bind_device_status
+	//fetch 1,mem_dongle_bind_device_status
+	or_into 0x01,pdata
+	call g24_store_mem_bind_device_status
+	//store 1,mem_dongle_bind_device_status
+g24_dongle_bind_exit:	
+	setarg 0
+	setarg offset_dongle_ms_bind_step
+	iadd regc,contw
+	istore 2,contw
+	branch g24_rx_interrupt_clear
+
+g24_dongle_bind_third_step_keyboard:
+	setarg offset_dongle_kb_bind_step
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_dongle_kb_bind_step
+	bne 0,g24_dongle_kb_bind_step_success
+	rtn
+g24_dongle_kb_bind_step_success:
+	call g24_fetch_mem_bind_device_status
+	//fetch 1,mem_dongle_bind_device_status
+	or_into 0x02,pdata
+	call g24_store_mem_bind_device_status
+	//store 1,mem_dongle_bind_device_status
+	branch g24_dongle_bind_exit
+
+	
+dongle_usb_dispatch:
+	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
+	bpatch patch17_6,mem_patch17
+	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
+usb0_data_ready_report_set0:
+	jam 0,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 usb0_data_ready_report_set0
+dongle_dispose_cmd_get_bind:
+	call g24_fetch_mem_bind_device_status
+	//fetch 1,mem_dongle_bind_device_status
+	store 1,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+dongle_dispose_cmd_exit_bind:
+	call g24_set_work_mem_dongle_work_mode
+	//jam DONGLE_WORK,mem_dongle_work_mode
+	call g24_set0_mem_dongle_mode_init
+	//jam CLEAR_INIT,mem_dongle_mode_init
+	call g24_fetch_mem_bind_device_status
+	//fetch 1,mem_dongle_bind_device_status
+	store 1,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+
+dongle_dispose_cmd_read_mode:
+dongle_dispose_in_bind_mode:
+	jam COMMAND_BIND,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+
+dongle_dispose_cmd_mode:
+	fetch 1,mem_usb0_set_report_data+2
+	beq COM_MODE_BIND,dongle_enter_bind_mode
+//	beq COM_MODE_TEST,dongle_enter_test_mode
+	branch usb0_data_ready_report_set0
+dongle_enter_bind_mode:
+	//jam DONGLE_BIND,mem_dongle_work_mode
+	//jam CLEAR_INIT,mem_dongle_mode_init
+	call g24_bind_mode_enable
+usb0_data_ready_report_set1:
+	jam 1,mem_usb0_data_ready_report
+	rtn
+//dongle_enter_test_mode:
+//	jam DONGLE_TEST,mem_dongle_work_mode
+//	branch usb0_data_ready_report_set1
+
+dongle_dispose_cmd_current_project:
+	jam PRODUCT_ID,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+
+dongle_dispose_cmd_current_mode:
+	call g24_fetch_mem_dongle_work_mode
+	//fetch 1,mem_dongle_work_mode
+	beq DONGLE_WORK,dongle_dispose_in_work_mode
+	beq DONGLE_BIND,dongle_dispose_in_bind_mode
+//	beq DONGLE_TEST,dongle_dispose_in_test_mode
+	rtn
+dongle_dispose_in_work_mode:
+	jam COMMAND_MODE,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+//dongle_dispose_in_test_mode:
+//	jam COMMAND_TEST,mem_usb0_get_report_data+1
+//	branch 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
+	branch usb0_data_ready_report_set1
+
+dongle_dispose_cmd_user_defined:
+	//report_id|cmd|data_len|data
+	call g24_set1_mem_ackpayload_enable
+	fetch 1,mem_usb0_set_report_data+2	//data_len:max 30bytes
+	increase 2,pdata
+	copy pdata,loopcnt
+	arg mem_usb0_set_report_data,contr
+	setarg offset_24g_ackpayload
+	iadd regc,contw
+	branch memcpy
+
+
+dongle_auto_bind:
+	bpatch patch17_7,mem_patch17
+	call g24_mode_switch_init
+dongle_auto_bind_loop:
+	call g24_receive_process
+	call usb_isr
+	branch dongle_auto_bind_loop
+
+g24_dongle_work_mode_auto:
+	call g24_fetch_mem_dongle_work_mode
+	//fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_WORK
+	call g24_dongle_work_mode_start
+	branch g24_rx_nodata_process
+
+g24_dongle_bind_mode_auto:
+	call g24_fetch_mem_dongle_work_mode
+	//fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_BIND
+	call g24_dongle_bind_init
+	call g24_dongle_bind_data_process
+	call g24_fetch_mem_bind_device_status
+	//fetch 1,mem_dongle_bind_device_status
+	rtn blank
+	call g24_set0_mem_mode_switch
+	//jam 0,mem_24g_mode_switch
+	call dongle_check_mode
+	call g24_enable_nodata_timer
+g24_timer_init:
+	setarg 0
+	add regc,offset_24g_tx_btclk,contw
+	//store 4,mem_24g_tx_btclk
+	branch g24_contw_istore_4byte
+
+g24_timer_check:
+	call disable_user
+	add regc,offset_24g_tx_btclk,rega
+	ifetcht 4,rega	
+	//fetcht 4,mem_24g_tx_btclk
+	copy clkn_bt,pdata
+	isub temp,null
+	ncall g24_timer_timeout,positive
+	copy pdata,regb
+	add regc,offset_24g_tx_btclk,rega
+	ifetch 4,rega
+	//fetch 4,mem_24g_tx_btclk
+	add regc,offset_24g_interval,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_24g_interval
+	iadd temp,temp
+	copy regb,pdata
+	isub temp,null
+	nrtn positive
+	set0 28,pdata
+	add regc,offset_24g_tx_btclk,contw
+	istore 4,contw
+	//store 4,mem_24g_tx_btclk
+	branch enable_user
+
+g24_mode_switch_init:
+	setarg 1
+	call g24_store_mem_mode_switch
+	//jam 1,mem_24g_mode_switch
+	call g24_set0_mem_time_slice
+	//jam 0,mem_24g_time_slice
+	setarg 0xff
+	add regc,offset_24g_interval,contw
+	istore 1,contw
+	//jam 0xff,mem_24g_interval
+	branch g24_timer_init
+
+g24_mode_switch:
+	setarg offset_24g_mode_switch
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_mode_switch
+	rtn blank
+	call g24_timer_check
+	nrtn user
+	call g24_fetch_mem_time_slice
+	//fetch 1,mem_24g_time_slice
+	increase 1,pdata
+	and_into 1,pdata
+	call g24_store_mem_time_slice
+	//store 1,mem_24g_time_slice
+	beq 0,dongle_check_mode
+	beq 1,g24_bind_mode_enable
+	rtn
+
+g24_bind_mode_enable:
+	//jam DONGLE_BIND,mem_dongle_work_mode
+	//jam CLEAR_INIT,mem_dongle_mode_init
+	//rtn
+	setarg DONGLE_BIND
+	call g24_store_mem_dongle_work_mode
+	branch g24_set0_mem_dongle_mode_init
+
+g24_enable_nodata_timer:
+	setarg 1
+	call g24_store_mem_nodata_timer_enable
+	//jam 1,mem_24g_nodata_timer_enable
+g24_enable_nodata_timer_init:
+	setarg TIMER_NODATA_DELAY
+	arg TIMER_NODATA,queue
+	branch timer_init
+
+g24_rx_nodata_process:
+	call g24_fetch_mem_nodata_timer_enable
+	//fetch 1,mem_24g_nodata_timer_enable
+	rtn blank
+	arg TIMER_NODATA,queue
+	call timer_check
+	nrtn blank
+	call g24_set0_mem_nodata_timer_enable
+	//jam 0,mem_24g_nodata_timer_enable
+	//no data for more than 100ms,then go to search
+	setarg DONGLE_SEARCH
+	call g24_store_mem_dongle_work_mode	
+	//jam DONGLE_SEARCH,mem_dongle_work_mode
+	call g24_set0_mem_dongle_mode_init
+	//jam CLEAR_INIT,mem_dongle_mode_init
+	branch g24_rx_interrupt_clear
+
+g24_dongle_search_mode_auto:
+	bpatch patch18_0,mem_patch18
+	call g24_fetch_mem_dongle_work_mode
+	//fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_SEARCH
+	call g24_dongle_search_mode_init
+	call g24_rx_auto_addr_ch_search
+	call g24_receive_transmit_ack
+	nbranch g24_rx_interrupt_clear,user3
+	//dongle addr,then parse rxdata
+	call g24_dongle_search_addr_check
+	call g24_receive_packet_parse,zero
+	//receive data,then go to paired
+	//jam DONGLE_WORK,mem_dongle_work_mode
+	//jam 0,mem_24g_ackpayload_enable
+	call dongle_check_mode
+	call g24_fetch_mem_dongle_mode_init
+	//fetch 1,mem_dongle_mode_init
+	set1 DONGLE_WORK,pdata
+	call g24_store_mem_dongle_mode_init
+	//store 1,mem_dongle_mode_init
+	call g24_rx_interrupt_clear
+	call g24_enable_nodata_timer
+	call g24_dongle_search_addr_check
+	branch g24_dg_ch_num_reinit,zero
+	setarg offset_24g_kb_addr
+	call g24_set_rega_ifetcht_4byte
+	//fetcht 4,mem_24g_kb_addr
+	call g24_fetch_mem_addr_isub_temp
+	branch g24_kb_ch_num_reinit,zero		
+	setarg offset_24g_mouse_addr
+	call g24_set_rega_ifetcht_4byte
+	//fetcht 4,mem_24g_mouse_addr
+	call g24_fetch_mem_addr_isub_temp
+	branch g24_ms_ch_num_reinit,zero
+	rtn
+
+g24_dongle_search_addr_check:
+	setarg offset_24g_rx_addr
+	call g24_set_rega_ifetcht_4byte
+	//fetcht 4,mem_24g_rx_addr
+g24_fetch_mem_addr_isub_temp:
+	call g24_fetch_mem_addr
+	//fetch 4,mem_24g_addr
+	isub temp,null
+	rtn
+
+g24_dg_ch_num_reinit:
+	setarg offset_24g_dg_ch_number
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_dg_ch_number
+g24_current_ch_num_reinit:
+	//store 1,mem_24g_current_ch_number
+	add regc,offset_24g_current_ch_number,contw
+	branch g24_contw_istore_1byte
+
+g24_kb_ch_num_reinit:
+	setarg offset_24g_kb_ch_number
+	call g24_set_rega_ifetch_1byte	
+	//fetch 1,mem_24g_kb_ch_number
+	branch g24_current_ch_num_reinit
+g24_ms_ch_num_reinit:
+	setarg offset_24g_ms_ch_number
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_ms_ch_number
+	branch g24_current_ch_num_reinit
+
+g24_dongle_search_mode_init:
+	call g24_fetch_mem_dongle_mode_init
+	//fetch 1,mem_dongle_mode_init
+	rtnbit1 DONGLE_SEARCH
+	set1 DONGLE_SEARCH,pdata
+	call g24_store_mem_dongle_mode_init
+	//store 1,mem_dongle_mode_init
+	call g24_set0_mem_time_slice
+	//jam 0,mem_24g_time_slice
+	call g24_set1_mem_ackpayload_enable
+	//jam 1,mem_24g_ackpayload_enable
+	setarg 0
+	add regc,offset_rssi_noise_dg_index,contw
+	istore 3,contw
+	//store 3,mem_rssi_noise_dg_index
+	arg offset_24g_dg_config_ch_once,rega
+	call g24_set_contw_with_temp
+	istore 7,contw
+	//store 7,mem_24g_dg_config_ch_once
+
+	call g24_dongle_search_addr_check
+	nrtn zero
+	add regc,offset_24g_current_ch_number,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_current_ch_number
+	arg offset_24g_dg_ch_number,rega
+	call g24_set_contw_with_regb_store_1byte
+	//store 1,mem_24g_dg_ch_number
+	add regc,offset_24g_ch,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_ch
+	//store 1,mem_24g_dg_last_ch
+	branch g24_store_mem_dg_last_ch
+
+g24_rx_auto_addr_ch_search:
+	bpatch patch18_1,mem_patch18
+	call g24_fetch_mem_time_slice
+	//fetch 1,mem_24g_time_slice
+	increase 1,pdata
+	and_into 3,pdata
+	call g24_store_mem_time_slice
+	//store 1,mem_24g_time_slice
+	//pairing address and channel come first
+	beq 0,g24_rx_auto_bind_config_kb
+	beq 1,g24_rx_auto_bind_config_dongle
+	beq 2,g24_rx_auto_bind_config_mouse
+	beq 3,g24_rx_auto_bind_config_dongle
+	rtn
+
+g24_rx_auto_bind_config_mouse:
+	call g24_dongle_bind_ms_payload_cfg
+	setarg offset_24g_mouse_addr
+	call g24_set_rega_ifetch_4byte
+	//fetch 4,mem_24g_mouse_addr
+	branch g24_rx_auto_addr_ch_search,blank
+	call g24_store_mem_addr
+	//store 4,mem_24g_addr
+	setarg offset_24g_ms_config_ch_once
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_ms_config_ch_once
+	call g24_ms_config_ch_once,blank
+	setarg offset_24g_ms_last_ch
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_ms_last_ch
+	call g24_store_mem_ch
+	//store 1,mem_24g_ch
+	add regc,offset_rssi_noise_ms_index,rega
+	ifetcht 1,rega
+	//fetcht 1,mem_rssi_noise_ms_index
+	arg mem_rssi_noise_ms_buffer,rega
+	call rssi_noise_store
+	add regc,offset_rssi_noise_ms_index,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_ms_index
+	call g24_noise_rssi_average
+	add regc,offset_rssi_noise_ms_avg,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_ms_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	setarg offset_24g_ms_ch_number	
+	call g24_set_rega_ifetcht_1byte
+	//fetcht 1,mem_24g_ms_ch_number
+	call g24_ch_temp_incre_size4 //map size =4
+	arg offset_24g_ms_ch_number,rega
+	call g24_set_contw_with_regb2
+	istoret 1,contw
+	//storet 1,mem_24g_ms_ch_number
+g24_store_mem_ms_last_ch:
+	//store 1,mem_24g_ms_last_ch
+	arg offset_24g_ms_last_ch,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_ms_config_ch_once:
+	setarg 1
+	arg offset_24g_ms_config_ch_once,rega
+	call g24_set_contw_with_regb_store_1byte
+	//jam 1,mem_24g_ms_config_ch_once
+	arg 0,temp
+	call g24_ch_calc
+	//store 1,mem_24g_ms_last_ch
+	//rtn
+	branch g24_store_mem_ms_last_ch
+	
+g24_rx_auto_bind_config_kb:
+	call g24_dongle_bind_kb_payload_cfg
+	setarg offset_24g_kb_addr
+	call g24_set_rega_ifetch_4byte
+	//fetch 4,mem_24g_kb_addr
+	branch g24_rx_auto_addr_ch_search,blank
+	call g24_store_mem_addr
+	//store 4,mem_24g_addr
+	setarg offset_24g_kb_config_ch_once
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_kb_config_ch_once
+	call g24_kb_config_ch_once,blank
+	setarg offset_24g_kb_last_ch
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_kb_last_ch
+	call g24_store_mem_ch
+	//store 1,mem_24g_ch
+	add regc,offset_rssi_noise_kb_index,rega
+	ifetcht 1,rega	
+	//fetcht 1,mem_rssi_noise_kb_index
+	arg mem_rssi_noise_kb_buffer,rega
+	call rssi_noise_store
+	add regc,offset_rssi_noise_kb_index,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_kb_index
+	call g24_noise_rssi_average
+	add regc,offset_rssi_noise_kb_avg,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_kb_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	setarg offset_24g_kb_ch_number	
+	call g24_set_rega_ifetcht_1byte	
+	//fetcht 1,mem_24g_kb_ch_number
+	call g24_ch_temp_incre_size4 //map size =4
+	arg offset_24g_kb_ch_number,rega
+	call g24_set_contw_with_regb2	
+	istoret 1,contw
+	//storet 1,mem_24g_kb_ch_number
+g24_store_mem_kb_last_ch:
+	//store 1,mem_24g_kb_last_ch
+	arg offset_24g_kb_last_ch,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_kb_config_ch_once:
+	setarg 1
+	arg offset_24g_kb_config_ch_once,rega
+	call g24_set_contw_with_regb_store_1byte
+	//jam 1,mem_24g_kb_config_ch_once
+	arg 0,temp
+	call g24_ch_calc
+	//store 1,mem_24g_kb_last_ch
+	//rtn
+	branch g24_store_mem_kb_last_ch
+
+g24_rx_auto_bind_config_dongle:
+	call g24_dongle_bind_ms_payload_cfg
+	call g24_fetch_mem_rx_addr
+	//fetch 4,mem_24g_rx_addr
+	call g24_store_mem_addr
+	//store 4,mem_24g_addr
+	setarg offset_24g_dg_config_ch_once
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_dg_config_ch_once
+	call g24_dg_config_ch_once,blank
+	call g24_dg_store_config_ch
+	add regc,offset_rssi_noise_dg_index,rega
+	ifetcht 1,rega	
+	//fetcht 1,mem_rssi_noise_dg_index
+	arg mem_rssi_noise_dg_buffer,rega
+	call rssi_noise_store
+	add regc,offset_rssi_noise_dg_index,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_dg_index
+	call g24_noise_rssi_average
+	add regc,offset_rssi_noise_dg_avg,contw
+	istoret 1,contw
+	//storet 1,mem_rssi_noise_dg_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	setarg offset_24g_dg_ch_number	
+	call g24_set_rega_ifetcht_1byte	
+	//fetcht 1,mem_24g_dg_ch_number
+	call g24_ch_temp_incre_size4 //map size =4
+	arg offset_24g_dg_ch_number,rega
+	call g24_set_contw_with_regb2
+	istoret 1,contw
+	//storet 1,mem_24g_dg_ch_number
+g24_store_mem_dg_last_ch:
+	//store 1,mem_24g_dg_last_ch
+	//rtn
+	arg offset_24g_dg_last_ch,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+
+g24_dg_config_ch_once:
+	//jam 1,mem_24g_dg_config_ch_once
+	//fetch 1,mem_24g_dg_last_ch
+	//store 1,mem_24g_ch
+	//rtn
+	setarg 1
+	arg offset_24g_dg_config_ch_once,rega
+	call g24_set_contw_with_regb_store_1byte
+g24_dg_store_config_ch:
+	setarg offset_24g_dg_last_ch
+	call g24_set_rega_ifetch_1byte
+	branch g24_store_mem_ch
+
+
+g24_transmit_ack:
+//data type
+	add regc,offset_24g_rxbuf,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_rxbuf
+	call g24_store_mem_data_type
+	//store 1,mem_24g_data_type
+//read len pid crc
+	call g24_read_len_pid_crc
+//read ack
+	call g24_fetch_mem_rxbuf_add1
+	//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_ackpayload_prep:
+	bpatch patch18_2,mem_patch18
+	add regc,offset_24g_datalen,contw
+	call g24_mem_set0
+	//jam 0,mem_24g_datalen
+	setarg offset_24g_ackpayload_enable
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_ackpayload_enable
+	rtn blank
+	setarg 0x06
+	add regc,offset_24g_datalen,contw
+	istore 1,contw
+	//jam 0x06,mem_24g_datalen
+	arg 0x06,loopcnt
+	setarg offset_24g_bind_payload
+	iadd regc,contr
+	//arg mem_24g_bind_payload,contr
+	add regc,offset_24g_txbuf,contw
+	//arg mem_24g_txbuf,contw
+	branch memcpy
+
+
+g24_receive_packet_start:
+	call g24_receive_transmit_ack
+	nbranch g24_rx_interrupt_clear,user3
+	branch g24_receive_packet_parse
+
+g24_receive_transmit_ack:
+	call g24_rx_interrupt_clear
+	call g24_receive_packet
+	nrtn user3
+	branch g24_transmit_ack
+
+g24_receive_packet_parse:
+	bpatch patch18_3,mem_patch18
+	call g24_receive_packet_parse_pid_crc
+	nbranch g24_rx_interrupt_clear,user
+	add regc,offset_24g_rxdata_length,rega
+	ifetch 1,rega
+	//fetch 1,mem_24g_rxdata_length
+	branch g24_rx_interrupt_clear,blank
+	increase 2,pdata
+	iforce loopcnt
+	add regc,offset_24g_rxbuf,contr
+	//arg mem_24g_rxbuf,contr
+	setarg offset_24g_rxdata_temp
+	iadd regc,contw
+	//arg mem_24g_rxdata_temp,contw
+	call memcpy
+	call g24_set0_mem_mode_switch
+	//jam 0,mem_24g_mode_switch
+	call g24_fetch_mem_pair_mode
+	//fetch 1,mem_24g_pair_mode
+	call g24_enable_nodata_timer,blank
+	setarg offset_24g_rxdata_temp_add2
+	call g24_set_rega_ifetch_1byte
+	//fetch 1,mem_24g_rxdata_temp+2
+	beq 0x01,g24_data_type1
+	beq 0x02,g24_data_type2
+	beq 0x03,g24_data_type3
+	beq 0xff,g24_data_attemp
+	branch g24_rx_interrupt_clear
+
+g24_receive_packet_parse_pid_crc:
+	call g24_head_ptr2regc
+	call disable_user
+	add regc,offset_24g_sta_pid,rega
+	ifetch 1,rega		
+	//fetch 1,mem_24g_sta_pid
+	add regc,offset_24g_last_pid,rega
+	ifetcht 1,rega		
+	//fetcht 1,mem_24g_last_pid
+	isub temp,null
+	ncall enable_user,zero
+	add regc,offset_24g_sta_pid,rega
+	ifetch 1,rega	
+	//fetch 1,mem_24g_sta_pid
+	add regc,offset_24g_last_pid,contw
+	istore 1,contw	
+	//store 1,mem_24g_last_pid
+	add regc,offset_24g_sta_crc,rega
+	ifetch 3,rega	
+	//fetch 3,mem_24g_sta_crc
+	add regc,offset_24g_last_crc,rega
+	ifetcht 3,rega	
+	//fetcht 3,mem_24g_last_crc
+	isub temp,null
+	ncall enable_user,zero
+	add regc,offset_24g_sta_crc,rega
+	ifetch 3,rega
+	//fetch 3,mem_24g_sta_crc
+	add regc,offset_24g_last_crc,contw
+	//store 3,mem_24g_last_crc
+	branch g24_contw_istore_3byte
+
+g24_data_type1:
+	call g24_ch_timer_reinit
+	call g24_fetch_mem_abort_pac
+	store 1,mem_temp
+	//fetch 1,mem_24g_abort_pac
+	call g24_fetcht_mem_rxdata_temp
+	fetch 1,mem_temp
+	//fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_abort,temp
+	setflag true,0,pdata
+	add regc,offset_24g_abort_pac,contw
+	istore 1,contw
+	//store 1,mem_24g_abort_pac
+	beq 1,g24_data_attemp_mouse
+	call g24_fetch_mem_hop_pac
+	//fetch 1,mem_24g_hop_pac
+	call g24_fetcht_mem_rxdata_temp
+	//fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_hop,temp
+	setflag true,0,pdata
+	call g24_store_mem_hop_pac
+	//store 1,mem_24g_hop_pac
+	add regc,offset_24g_cb_rxdata_type1,rega
+	ifetch 2,rega
+	//fetch 2,mem_24g_cb_rxdata_type1
+	branch callback_func
+
+dongle_rxdata_type1:
+	setarg MS_REPORT_ID
+	store 1,mem_usb_mouse_data	//report id
+	call g24_fetch_mem_rxdata_temp_add3_7byte
+	//fetch 7,mem_24g_rxdata_temp+3	//key
+	istore 7,contw
+	call g24_fetch_mem_rxdata_temp_add3_7byte
+	//fetch 7,mem_24g_rxdata_temp+3	//key
+	ncall g24_ms_enable_blank_data_forcibly,blank//get kb data
+	call g24_fetch_mem_rxdata_temp_add3_7byte
+	//fetch 7,mem_24g_rxdata_temp+3	//key
+	call g24_ms_disable_blank_data_forcibly,blank
+g24_data_type1_usbtx_enable:
+	jam USB_EP2_MS,mem_usb_ep2_data
+g24_data_type1_usbtx_enable_ep2:	
+	fetch 1,mem_usb_tx_enable
+	set1 2,pdata
+	store 1,mem_usb_tx_enable
+	rtn
+	
+g24_ms_enable_blank_data_forcibly:
+	setarg 1
+	call g24_store_mem_ms_blank_data_enable	
+	//jam 1,mem_24g_ms_blank_data_enable
+g24_ms_enable_blank_data_timer:
+	setarg TIMER_MS_BLANK_DELAY
+	arg TIMER_MS_BLANK,queue
+	branch timer_init
+g24_ms_disable_blank_data_forcibly:
+	call g24_set0_mem_ms_blank_data_enable
+	//jam 0,mem_24g_ms_blank_data_enable
+g24_ms_disable_blank_data_timer:	
+	setarg 0
+	arg TIMER_MS_BLANK,queue
+	branch timer_init
+	
+g24_data_type2:
+	call g24_fetcht_mem_rxdata_temp
+	//fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_abort,temp
+	branch g24_data_attemp_kbd,true
+	arg mem_usb_kb_data,contw
+	call g24_data_type2_reverse_data
+	fetch 8,mem_usb_kb_data
+	ncall g24_kb_enable_blank_data_forcibly,blank//get kb data
+	fetch 8,mem_usb_kb_data
+	call g24_kb_disable_blank_data_forcibly,blank
+	call g24_head_ptr2regc
+	fetch 8,mem_usb_kb_data
+	arg offset_24g_kb_data_sta_data,rega
+	call g24_set_contw_with_temp
+	istore 8,contw
+	//store 8,mem_24g_kb_data_sta_data
+	setarg offset_24g_kb_data_last_data
+	iadd regc,rega
+	ifetcht 8,rega
+	//fetcht 8,mem_24g_kb_data_last_data
+	isub temp,null
+	ncall g24_kb_data_dispose,zero
+	setarg offset_24g_kb_data_sta_data
+	iadd regc,rega
+	ifetch 8,rega
+	//fetch 8,mem_24g_kb_data_sta_data
+	arg offset_24g_kb_data_last_data,rega
+	call g24_set_contw_with_temp
+	istore 8,contw
+	//store 8,mem_24g_kb_data_last_data
+	branch g24_rx_interrupt_clear
+
+g24_data_type2_reverse_data:
+	setarg offset_24g_rxdata_temp_add2
+	iadd regc,contr
+	//arg mem_24g_rxdata_temp+2,contr
+	arg 9,loopcnt
+	branch reverse_byte
+
+g24_kb_enable_blank_data_forcibly:
+	setarg 1
+	call g24_store_mem_kb_blank_data_enable
+	//jam 1,mem_24g_kb_blank_data_enable
+g24_kb_enable_blank_data_timer:	
+	setarg TIMER_KB_BLANK_DELAY
+	arg TIMER_KB_BLANK,queue
+	branch timer_init
+
+g24_kb_disable_blank_data_forcibly:
+	call g24_set0_mem_kb_blank_data_enable
+	//jam 0,mem_24g_kb_blank_data_enable
+g24_kb_disable_blank_data_timer:	
+	setarg 0
+	arg TIMER_KB_BLANK,queue
+	branch timer_init
+
+g24_kb_data_dispose:
+g24_kb_data_into_ep1_fifo:
+	jam USB_EP1_KB,mem_usb_ep1_data
+	fetch 1,mem_usb_tx_enable
+	set1 1,pdata
+	store 1,mem_usb_tx_enable
+	rtn
+
+g24_data_type3:
+	arg mem_usb_kb_multikey,contw
+	call g24_data_type2_reverse_data
+	fetch 2,mem_usb_kb_multikey+1
+	ncall g24_kb_mul_enable_blank_data_forcibly,blank//get multikey data
+	fetch 2,mem_usb_kb_multikey+1
+	call g24_kb_mul_disable_blank_data_forcibly,blank
+	call g24_head_ptr2regc
+	fetch 3,mem_usb_kb_multikey
+	arg offset_24g_kb_multikey_sta_data,rega
+	call g24_set_contw_with_temp_store_3byte
+	//store 3,mem_24g_kb_multikey_sta_data
+	setarg offset_24g_kb_multikey_last_data
+	iadd regc,rega
+	ifetcht 3,rega
+	//fetcht 3,mem_24g_kb_multikey_last_data
+	isub temp,null
+	ncall g24_kb_mul_data_into_ep2_fifo,zero
+	setarg offset_24g_kb_multikey_sta_data
+	iadd regc,rega
+	ifetch 3,rega
+	//fetch 3,mem_24g_kb_multikey_sta_data
+	arg offset_24g_kb_multikey_last_data,rega
+	call g24_set_contw_with_temp_store_3byte
+	//store 3,mem_24g_kb_multikey_last_data
+	branch g24_rx_interrupt_clear
+
+g24_kb_mul_data_into_ep2_fifo:
+	jam USB_EP2_MULTIKEY,mem_usb_ep2_data
+	branch g24_data_type1_usbtx_enable_ep2
+
+g24_kb_mul_enable_blank_data_forcibly:
+	setarg 1
+	call g24_store_mem_kb_mul_blank_data_enable
+	//jam 1,mem_24g_kb_mul_blank_data_enable
+g24_kb_mul_enable_blank_data_timer:	
+	setarg TIMER_KB_MUL_BLANK_DELAY
+	arg TIMER_KB_MUL_BLANK,queue
+	branch timer_init
+
+g24_kb_mul_disable_blank_data_forcibly:
+	call g24_set0_mem_kb_mul_blank_data_enable
+	//jam 0,mem_24g_kb_mul_blank_data_enable
+g24_kb_mul_disable_blank_data_timer:	
+	setarg 0
+	arg TIMER_KB_MUL_BLANK,queue
+	branch timer_init
+	
+g24_data_attemp:
+	call g24_fetch_mem_rxdata_temp_add3_1byte
+	//fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_MOUSE,g24_data_attemp_mouse
+	beq DATATYPE_KEYBOARD,g24_data_attemp_kbd
+	rtn
+g24_data_attemp_mouse:
+	setarg offset_24g_rxdata_temp_add4
+	call g24_set_rega_ifetch_4byte
+	arg offset_24g_mouse_addr,rega
+	call g24_set_contw_with_temp
+	//fetch 4,mem_24g_rxdata_temp+4
+	//store 4,mem_24g_mouse_addr
+	branch g24_contw_istore_4byte
+
+g24_data_attemp_kbd:
+	setarg offset_24g_rxdata_temp_add4
+	call g24_set_rega_ifetch_4byte
+	arg offset_24g_kb_addr,rega
+	call g24_set_contw_with_temp
+	//fetch 4,mem_24g_rxdata_temp+4
+	//store 4,mem_24g_kb_addr
+	branch g24_contw_istore_4byte
+
+g24_store_mem_24g_mode:
+	call g24_head_ptr2regc
+	add regc,offset_24g_mode,contw
+	istore 1,contw
+	rtn
+
+g24_fetch_mem_device_addr:
+	call g24_head_ptr2regc
+	add regc,offset_24g_device_addr,rega
+	branch g24_rega_ifetch_4byte
+g24_store_mem_device_addr:
+	call g24_head_ptr2regc
+	add regc,offset_24g_device_addr,contw
+	branch g24_contw_istore_4byte
+
+g24_fetch_mem_addr:
+	add regc,offset_24g_addr,rega
+	branch g24_rega_ifetch_4byte
+g24_store_mem_addr:
+	add regc,offset_24g_addr,contw
+g24_contw_istore_4byte:	
+	istore 4,contw
+	rtn
+
+g24_store_mem_ch:
+	add regc,offset_24g_ch,contw
+	branch g24_contw_istore_1byte
+
+g24_set0_mem_pid:
+	setarg 0
+g24_store_mem_pid:
+	call g24_head_ptr2regc
+	add regc,offset_24g_pid,contw
+	branch g24_contw_istore_1byte
+
+g24_store_mem_txpayload:
+	add regc,offset_24g_txpayload,contw
+	branch g24_contw_istore_1byte
+
+g24_set4_mem_max_retry:
+	setarg 4
+g24_store_mem_max_retry:
+	add regc,offset_24g_max_retry,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_data_type:
+	add regc,offset_24g_data_type,rega
+	branch g24_rega_ifetch_1byte
+g24_store_mem_data_type:
+	add regc,offset_24g_data_type,contw
+	branch g24_contw_istore_1byte
+
+g24_set2_mem_sync_cnt:
+	setarg 2
+g24_store_mem_sync_cnt:
+	add regc,offset_24g_sync_cnt,contw
+	branch g24_contw_istore_1byte
+
+g24_set1_mem_rf_last_sta:
+	setarg 1
+g24_store_mem_rf_last_sta:
+	call g24_head_ptr2regc
+	add regc,offset_24g_rf_last_sta,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_hop_pac:
+	call g24_head_ptr2regc
+	add regc,offset_24g_hop_pac,rega
+	branch g24_rega_ifetch_1byte
+g24_set1_mem_hop_pac:
+	setarg 1
+g24_store_mem_hop_pac:
+	call g24_head_ptr2regc
+	add regc,offset_24g_hop_pac,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_abort_pac:
+	call g24_head_ptr2regc
+	add regc,offset_24g_abort_pac,rega
+	branch g24_rega_ifetch_1byte
+g24_set1_mem_abort_pac:
+	setarg 1
+g24_store_mem_abort_pac:
+	call g24_head_ptr2regc
+	add regc,offset_24g_abort_pac,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_pairing_sm:
+	call g24_head_ptr2regc
+	add regc,offset_24g_pairing_sm,rega
+	branch g24_rega_ifetch_1byte
+g24_store_mem_pairing_sm:
+	add regc,offset_24g_pairing_sm,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_rf_hop_ch:
+	add regc,offset_24g_rf_hop_ch,rega
+	branch g24_rega_ifetch_1byte
+g24_set0_mem_rf_hop_ch:
+	setarg 0
+g24_store_mem_rf_hop_ch:
+	add regc,offset_24g_rf_hop_ch,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_rf_work_stage:
+	add regc,offset_24g_rf_work_stage,rega
+	branch g24_rega_ifetch_1byte
+	
+g24_fetch_mem_rxbuf_add1:
+	add regc,offset_24g_rxbuf_add1,rega
+	branch g24_rega_ifetch_1byte
+
+g24_fetch_mem_check_dongle_times:
+	add regc,offset_24g_check_dongle_times,rega
+	branch g24_rega_ifetch_1byte
+g24_set0_mem_check_dongle_times:
+	setarg 0
+g24_store_mem_check_dongle_times:
+	call g24_head_ptr2regc
+	add regc,offset_24g_check_dongle_times,contw
+	branch g24_contw_istore_1byte
+
+g24_store_mem_tx_power:
+	call g24_head_ptr2regc
+	add regc,offset_tx_power_temp,rega
+	ifetch 1,rega
+g24_store_mem_txpower:
+	store 1,mem_tx_power
+	rtn
+
+g24_store_mem_tx_power_temp:
+	call g24_head_ptr2regc
+	fetch 1,mem_tx_power
+	//store 1,mem_tx_power_temp
+	add regc,offset_tx_power_temp,contw
+	branch g24_contw_istore_1byte
+
+g24_fetch_mem_power_ctrl_pac:	
+	add regc,offset_power_ctrl_packet_cnt,rega
+	branch g24_rega_ifetch_1byte
+
+g24_store_mem_power_ctrl_level:
+	add regc,offset_power_ctrl_level,contw
+	branch g24_contw_istore_1byte
+
+g24_fetcht_mem_rxdata_temp:
+	setarg offset_24g_rxdata_temp
+g24_set_rega_ifetcht_1byte:	
+	iadd regc,rega
+	ifetcht 1,rega
+	rtn
+
+g24_fetch_mem_rf_laststa:
+	setarg offset_24g_rf_laststa
+	branch g24_set_rega_ifetch_1byte
+g24_set0_mem_rf_laststa:
+	setarg 0
+g24_store_mem_rf_laststa:
+	arg offset_24g_rf_laststa,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_fetch_mem_rx_addr:
+	setarg offset_24g_rx_addr
+g24_set_rega_ifetch_4byte:	
+	call g24_set_rega
+g24_rega_ifetch_4byte:
+	ifetch 4,rega
+	rtn
+
+g24_fetch_mem_time_slice:
+	setarg offset_24g_time_slice
+	branch g24_set_rega_ifetch_1byte
+g24_set0_mem_time_slice:
+	setarg 0
+g24_store_mem_time_slice:
+	arg offset_24g_time_slice,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_set0_mem_mode_switch:
+	setarg 0
+g24_store_mem_mode_switch:
+	arg offset_24g_mode_switch,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_store_mem_bind_payload:
+	arg offset_24g_bind_payload,rega
+	branch g24_set_contw_with_regb_store_1byte	
+	
+g24_fetch_mem_bind_device_status:
+	setarg offset_dongle_bind_device_status
+	branch g24_set_rega_ifetch_1byte
+g24_store_mem_bind_device_status:
+	arg offset_dongle_bind_device_status,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_fetch_mem_dongle_work_mode:
+	setarg offset_dongle_work_mode
+	branch g24_set_rega_ifetch_1byte
+g24_set_work_mem_dongle_work_mode:
+	setarg DONGLE_WORK
+g24_store_mem_dongle_work_mode:
+	arg offset_dongle_work_mode,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_fetch_mem_dongle_mode_init:
+	setarg offset_dongle_mode_init
+	branch g24_set_rega_ifetch_1byte
+g24_set0_mem_dongle_mode_init:
+	setarg CLEAR_INIT
+g24_store_mem_dongle_mode_init:
+	arg offset_dongle_mode_init,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_set0_mem_ackpayload_enable:
+	setarg 0
+g24_store_mem_ackpayload_enable:
+	arg offset_24g_ackpayload_enable,rega
+	branch g24_set_contw_with_regb_store_1byte
+g24_set1_mem_ackpayload_enable:
+	setarg 1
+	branch g24_store_mem_ackpayload_enable
+
+g24_fetch_mem_rxdata_temp_add3_7byte:
+	setarg offset_24g_rxdata_temp_add3
+	call g24_set_rega
+	ifetch 7,rega
+	rtn
+
+g24_fetch_mem_nodata_timer_enable:
+	setarg offset_24g_nodata_timer_enable
+	branch g24_set_rega_ifetch_1byte
+g24_set0_mem_nodata_timer_enable:
+	setarg 0
+g24_store_mem_nodata_timer_enable:
+	arg offset_24g_nodata_timer_enable,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_set0_mem_ms_blank_data_enable:
+	setarg 0
+g24_store_mem_ms_blank_data_enable:
+	arg offset_24g_ms_blank_data_enable,rega
+	branch g24_set_contw_with_regb_store_1byte
+
+g24_set0_mem_kb_blank_data_enable:
+	setarg 0
+g24_store_mem_kb_blank_data_enable:
+	arg offset_24g_kb_blank_data_enable,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_set0_mem_kb_mul_blank_data_enable:
+	setarg 0
+g24_store_mem_kb_mul_blank_data_enable:
+	arg offset_24g_kb_mul_blank_data_enable,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_store_mem_power_ctrl_threshold_up:
+	arg offset_power_ctrl_threshold_up,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_store_mem_power_ctrl_threshold_down:
+	arg offset_power_ctrl_threshold_down,rega
+g24_set_contw_with_regb_store_1byte:
+	call g24_set_contw_with_regb
+g24_contw_istore_1byte:
+	istore 1,contw
+	rtn
+
+g24_fetch_mem_pair_mode:
+	setarg offset_24g_pair_mode
+	branch g24_set_rega_ifetch_1byte
+
+g24_store_mem_pair_mode:
+	arg offset_24g_pair_mode,rega
+	branch g24_set_contw_with_regb_store_1byte
+	
+g24_store_mem_pair_txpower:
+	setarg offset_24g_pair_txpower
+	call g24_set_rega_ifetch_1byte
+	branch g24_store_mem_txpower
+
+g24_fetch_mem_rxdata_temp_add3_1byte:
+	setarg offset_24g_rxdata_temp_add3
+	branch g24_set_rega_ifetch_1byte
+
+g24_set_contw_with_temp:
+	copy pdata,temp
+	copy rega,pdata
+	iadd regc,contw
+	copy temp,pdata
+	rtn
+	
+g24_set_contw_with_temp_store_3byte:
+	call g24_set_contw_with_temp
+g24_contw_istore_3byte:	
+	istore 3,contw
+	rtn
+
+g24_set_contw_with_regb:
+	call g24_head_ptr2regc
+g24_set_contw_with_regb2:
+	copy pdata,regb
+	copy rega,pdata
+	iadd regc,contw
+	copy regb,pdata
+	rtn
+
+g24_set_rega:
+	call g24_head_ptr2regc
+	iadd regc,rega
+	rtn
+
+g24_set_rega_ifetch_1byte:
+	call g24_set_rega
+g24_rega_ifetch_1byte:
+	ifetch 1,rega
+	rtn
+
+g24_set_rega_ifetcht_4byte:
+	call g24_set_rega
+	ifetcht 4,rega
+	rtn
+
+g24_mem_set0:
+	setarg 0
+	branch g24_contw_istore_1byte
+
+endif
+
+
Index: HS_24G&BLE_Motion/program/app.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app.prog	(working copy)
@@ -0,0 +1,576 @@
+app_init:
+	bpatch patch18_4,mem_patch18
+	fetch 1,mem_device_option
+	branch app_init,blank				/* wait ram to be initialized */
+//	beq dvc_op_ukey,le_ukey_init
+	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
+	bbit1 dvc_op_mouse,mouse_init
+	rtn
+	
+app_lpm_init:
+	bpatch patch18_5,mem_patch18
+	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_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 patch18_6,mem_patch18
+	//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
+	rtn
+
+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:
+	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:
+	bpatch patch18_7,mem_patch18
+	store 1,mem_app_evt_timer_count
+app_evt_100ms_loop:
+	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 patch19_0,mem_patch19
+	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_clearflag_store:
+//	setarg 0
+//	branch app_flag_store
+app_initflag_store:
+	setarg EEPROM_INIT_FLAG
+app_flag_store:
+	store 2,mem_timeup
+	bpatch patch19_1,mem_patch19
+	arg 2,temp
+	arg mem_timeup,rega
+	arg eeprom_module_init_flag,regb
+	branch iicd_write_eep_data
+
+//initflag is in eeprom to sure is eeprom nead to init
+app_initflag_check:
+	bpatch patch19_2,mem_patch19
+	arg 2,temp
+	arg mem_pdatatemp,rega
+	arg eeprom_module_init_flag,regb
+	call iicd_read_eep_data
+	fetch 2,mem_pdatatemp
+	arg EEPROM_INIT_FLAG,temp
+	isub  temp,null
+	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 patch19_3,mem_patch19
+	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 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
+
Index: HS_24G&BLE_Motion/program/app_antiLost.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_antiLost.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_antiLost.prog	(working copy)
@@ -0,0 +1,565 @@
+ifdef COMPILE_AntiLost
+antilost_init:
+	rtn wake	
+	jam 0x00,core_gpio_sel1//1: GPIO[26:25] is two wire SPI, 2: GPIO[26:23] is SPI, 3: GPIO[26:23] is PCM
+	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 patch19_4,mem_patch19
+	call antilost_buzzer_pwm_init
+	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_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
+	rtn
+antilost_le_conn_param_update_rsp_recieved:
+	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_accepted:
+	fetch 2,mem_le_new_connslavelatency
+	branch antilost_master_nonsupport_latency,blank
+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_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 wait_div_end
+	quotient pdata
+	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 ui_button_check_long_press
+	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
+	branch antilost_adc_check_timer
+
+
+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:
+	//fetch 1,mem_antl_power_timer
+	//rtneq SHUTTER_POWER_OFF
+	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 1,mem_hci_curr_len
+	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
+	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 patch19_5,mem_patch19
+	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 patch19_6,mem_patch19
+	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 2,mem_antl_send_updata_le_param_timer
+	call antilost_battery_process
+	call antilost_battery_calculate_end //send twice to combat the failure of reception first time
+	jam OPCODE7_ANTL_CONFIG_ALRAM,mem_antl_key0_release+5
+	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 1,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 1,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 1,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
+	branch adc_init_data
+
+antilost_battery_process:
+	call adc_set_mode
+	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
+	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
+endif
+
+
Index: HS_24G&BLE_Motion/program/app_car.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_car.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_car.prog	(working copy)
@@ -0,0 +1,888 @@
+ifdef COMPILE_CAR
+
+car_init:
+	rtn wake	
+	hfetch 1,core_gpio_sel1
+	and_into 0xf0,pdata
+	hstore 1,core_gpio_sel1
+	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
+	
+	call g24_head_ptr2regc
+	setarg car_24g_receive_data
+	add regc,offset_24g_cb_rxdata_type1,contw
+	istore 2,contw
+
+	setarg car_power_off_signal
+	store 2,mem_remote_car_power_off_cb
+	
+	setarg car_soft_switch_power_on_signal
+	store 2,mem_remote_car_power_standby_cb
+	
+	bpatch patch19_7,mem_patch19
+	call car_init_environment
+	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 car_ui_led_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
+	call car_ui_led_init
+	arg 0,rega
+	call ui_led_blink_start_global
+	
+	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:
+	arg 0,rega
+	call pwm_init
+	call car_ir_rx_init
+	call g24_receive_process_init
+	branch car_init_adc_hvin
+
+car_init_adc_hvin:
+	jam 100,mem_car_notify_vdd_value_last
+	fetch 1,mem_car_config_low_voltage_led_gpio
+	store 1,mem_car_style2_struct_led_gpio
+	branch adc_init_data
+	
+car_le_before_hibernate:
+	call gpio_set_before_lpm_common
+	branch keyscan_process_lpm_before
+
+car_le_process_lpm_before:
+	branch keyscan_process_lpm_before
+
+car_key_scan_process:
+//	fetch 1,mem_enable_key_scan
+//	rtn blank
+	branch keyscan_key_process
+
+car_scale_process_idle:
+	call car_le_send_packet
+	call car_ir_receive_process
+	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
+	branch car_g24_connected
+
+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:
+	setarg disable_24g
+	call g24_store_mem_24g_mode
+	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
+	call app_lpm_mult_enable
+	fetch 1,mem_car_config_pairing_led_conn_status
+	beq 0x01,car_pairing_led_conn_status_setting
+car_scale_process_conn_next:
+	arg 0,rega
+	branch ui_led_on_global
+car_pairing_led_conn_status_setting:
+	arg 0,rega
+	branch ui_led_blink_stop_global
+
+car_scale_event_le_discon:
+	setarg rx_24g
+	call g24_store_mem_24g_mode
+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
+	arg 0,rega
+	call ui_led_blink_start_global
+
+	setarg FAST_ADV_INTERVAL_VALUE_CAR
+	call shutter_ble_adv_interval_set
+	branch app_ble_start_adv
+
+car_le_bb_event_timer:
+//	call car_ui_power_timeout_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_led_control_timer
+	call car_notify_vdd_timer
+	call car_24g_no_data_timeout_timer
+	call car_ir_breakdown_timer
+	branch car_attack_shake_timer
+
+car_ir_breakdown_timer:
+	arg mem_car_ir_breakdown_check_timer,regc
+	arg car_ir_breakdown_timeout,regb
+	branch timer_single_step
+car_ir_breakdown_timeout:
+	call car_ir_gpio_get_status
+	nrtn true
+	jam 1,mem_car_ir_breakdown_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
+	branch car_g24_disconnect
+
+car_attack_shake_timer:
+	arg mem_car_attack_shake_timer,regc
+	arg car_attack_shake,regb
+	branch timer_single_step
+car_attack_shake:
+	fetch 1, mem_car_attack_shake_flag
+	branch car_attack_shake_stop,blank
+	jam 2,mem_car_attack_shake_timer
+	jam 0, mem_car_attack_shake_flag
+	setarg 0x0a02
+	store 2,mem_le_receive_payload
+	fetch 1,mem_car_config_device_select
+	beq DEVICE_BATTLE_TANK,car_attack_shake_front_battle_tank
+car_attack_shake_front_battle_car:
+	branch car_motor_control
+car_attack_shake_front_battle_tank:
+	setarg 0x0a02
+	store 2,mem_le_receive_payload+2
+	branch car_motor_control
+car_attack_shake_stop:
+	setarg 0
+	store 4,mem_le_receive_payload
+	branch car_motor_control
+
+car_notify_vdd_timer:
+	fetch 1,mem_car_config_bat_notify_enable
+	rtn blank
+ 	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,car_low_bat_led_off
+	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 adc_set_mode
+	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
+
+car_led_control_timer:
+	arg mem_car_led_control_timer,regc
+	arg car_led_control,regb
+	branch timer_single_step
+car_led_control:
+	jam 5,mem_car_led_control_timer
+	jam 0,mem_car_led_no
+	fetch 1,mem_car_led_blink_status
+	beq LED_ON,car_led_control_blink_off
+	beq LED_OFF,car_led_control_blink_on
+car_led_control_set:
+	arg mem_car_led_control,contr
+	copy contr,rega
+	arg 8,loopcnt
+car_led_control_timer_next:
+	copy rega,contr
+	ifetch 1,contr
+	copy contr,rega
+	beq LED_OFF,car_led_control_off
+	beq LED_ON,car_led_control_on
+	beq LED_BLINK,car_led_control_blink
+car_led_control_timer_next_2:
+	fetch 1,mem_car_led_no
+	increase 1,pdata
+	store 1,mem_car_led_no
+	loop car_led_control_timer_next
+	rtn
+car_led_switch:
+	fetch 1,mem_car_led_no
+	arg mem_car_config_blood_led_gpio,regb
+	iadd regb,regb
+	ifetcht 1,regb
+	rtn
+car_led_control_off:
+	call car_led_switch
+	call gpio_out_inactive
+	branch car_led_control_timer_next_2
+car_led_control_on:
+	call car_led_switch
+	call gpio_out_active
+	branch car_led_control_timer_next_2
+car_led_control_blink:
+	fetch 1,mem_car_led_blink_status
+	beq LED_ON,car_led_control_off
+	branch car_led_control_on
+car_led_control_blink_on:
+	jam LED_ON,mem_car_led_blink_status
+	branch car_led_control_set
+car_led_control_blink_off:
+	jam LED_OFF,mem_car_led_blink_status
+	branch car_led_control_set
+	
+////////////////////////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 patch1a_0,mem_patch1a
+	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 patch1a_1,mem_patch1a
+	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:
+	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
+	
+	setarg offset_24g_rxdata_temp_add3
+	call g24_set_rega
+	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:	
+	call car_left_right_control_old
+	branch car_front_back_control_old
+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
+	branch pwm_pwm0_duty_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
+	bpatch patch1a_2,mem_patch1a
+	call car_motor1_control
+	call car_motor2_control
+	branch car_motor3_control
+car_motor1_control:
+	arg mem_motor1_pwm_set,regb
+	arg mem_motor1_status,contr
+	branch car_motor_status_select
+car_motor2_control:
+	arg mem_motor2_pwm_set,regb
+	arg mem_motor2_status,contr
+	branch car_motor_status_select
+car_motor3_control:
+	arg mem_motor3_pwm_set,regb
+	arg mem_motor3_status,contr
+	branch car_motor_status_select
+car_motor_working_flag:
+	jam 0,mem_car_working_flag
+	rtn
+
+car_motor_status_select:
+	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
+
+/////////////////////IR PROCESS/////////////////////
+car_ir_init:
+	hfetch 1,core_gpio_sel2		// select GPIO3 as pwm4
+	set1 2,pdata
+	hstore 1,core_gpio_sel2
+	setarg 158
+	hstore 2,core_pwm_pcnt4
+	hstore 2,core_pwm_ncnt4
+	rtn
+
+car_ir_data_rx_from_app:
+	fetch 1,mem_car_24g_go_die_flag
+	nrtn blank
+	fetch 2,mem_le_receive_payload
+	store 2,mem_ir_data
+	fetch 1,mem_car_24g_status
+	bne WORK_PAIRED,car_ir_data_tx
+	fetch 2,mem_le_lap
+	store 2,mem_ir_data
+car_ir_data_tx:
+	bpatch patch1a_3,mem_patch1a
+	call car_ir_init
+	call car_ir_enable
+	setarg 48000
+	call sleep
+	call car_ir_disable
+	setarg 7200
+	call sleep
+	arg 16,loopcnt
+car_ir_send_loop:
+	call car_ir_enable
+	fetch 2,mem_ir_data
+	bbit1 0,car_ir_is_bit1
+	setarg 7200
+	call sleep
+	call car_ir_disable
+	branch car_ir_wait_finish
+	
+car_ir_is_bit1:
+	setarg 14400
+	call sleep
+	call car_ir_disable
+car_ir_wait_finish:
+	setarg 7200
+	call sleep
+	fetch 2,mem_ir_data
+	rshift pdata,pdata	
+	store 2,mem_ir_data
+	loop car_ir_send_loop
+
+	jam 2,mem_car_attack_shake_timer
+	jam 1, mem_car_attack_shake_flag
+	setarg 0x0a01
+	store 2,mem_le_receive_payload
+	fetch 1,mem_car_config_device_select
+	beq DEVICE_BATTLE_TANK,car_attack_shake_back_battle_tank
+car_attack_shake_back_battle_car:
+	branch car_motor_control
+car_attack_shake_back_battle_tank:
+	setarg 0x0a01
+	store 2,mem_le_receive_payload+2
+	branch car_motor_control
+	
+car_ir_enable:
+	hfetch 1,core_gpio_key2			// PWM4_enable
+	or_into 0x40,pdata
+	hstore 1,core_gpio_key2	
+	rtn
+car_ir_disable:
+	hfetch 1,core_gpio_key2			// PWM4_disable
+	and_into 0xbf,pdata
+	hstore 1,core_gpio_key2
+	rtn
+	
+car_ir_rx_init:
+	fetch 1,mem_car_config_ir_enable
+	rtneq 0x00
+	call lpm_disable_exen_output
+	fetcht 1,mem_car_config_ir_rx_gpio
+	storet 1,mem_ir_rx_gpio
+	call gpio_config_input
+	call car_ir_gpio_get_status
+	nrtn true
+	jam 1,mem_car_ir_breakdown_check_timer
+	rtn
+
+car_ir_receive_process:
+	fetch 1,mem_car_config_ir_enable
+	rtneq FLAG_IR_DISABLE	
+	fetch 1,mem_car_ir_breakdown_flag
+	nrtn blank
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,car_ir_receive_process_next
+	fetch 1,mem_car_24g_status
+	rtnne WORK_PAIRED
+car_ir_receive_process_next:
+	bpatch patch1a_4,mem_patch1a
+	call car_ir_gpio_get_status
+	nrtn true
+	setarg 36000
+	call sleep
+	call car_ir_gpio_get_status
+	nrtn true
+	call car_ir_clk_get
+car_ir_packet_head_wait_end:
+	call car_ir_clk_check
+	nrtn positive
+	call car_ir_gpio_get_status
+	branch car_ir_packet_head_wait_end,true
+	arg 0,rega
+	arg 16,loopcnt
+	call car_ir_clk_get
+car_ir_receive_process_loop:
+	call car_ir_clk_check
+	nrtn positive
+	call car_ir_gpio_get_status
+	nbranch car_ir_receive_process_loop,true
+	setarg 10800
+	call sleep
+	call car_ir_gpio_get_status
+	branch car_ir_get_bit1,true
+car_ir_get_bit0:
+	setarg 0
+ 	rshift rega,rega
+	ior rega,rega
+	loop car_ir_receive_process_loop
+	branch car_ir_receive_process_end
+car_ir_get_bit1:
+	setarg 0x8000
+	rshift rega,rega
+	ior rega,rega
+	call car_ir_clk_get
+car_ir_get_bit1_wait_low_end:
+	call car_ir_clk_check
+	nrtn positive
+	call car_ir_gpio_get_status
+	branch car_ir_get_bit1_wait_low_end,true
+	loop car_ir_receive_process_loop
+car_ir_receive_process_end:
+	bpatch patch1a_5,mem_patch1a
+	copy rega,pdata
+	store 2,mem_ir_rx_buf
+	store 2,mem_ir_notify_data+8
+	fetch 1,mem_car_24g_status
+	beq WORK_PAIRED,car_ir_24g_receive_attack
+car_ir_data_notify:
+	arg 0x07,loopcnt
+	arg mem_ir_notify_data_head,contr
+	call calc_check_sum_start
+	store 1,mem_ir_notify_data_check_sum
+	arg mem_ir_notify_data,rega
+	branch queue_push
+
+car_ir_24g_receive_attack:
+	fetch 1,mem_car_24g_ir_receive_attack_count
+	increase 1,pdata
+	store 1,mem_car_24g_ir_receive_attack_count
+	div pdata,2
+	call wait_div_end
+	quotient temp
+	remainder pdata
+	nbranch car_ir_24g_receive_attack_blink,blank
+car_ir_24g_receive_attack_off:
+	fetch 1,mem_car_config_led_num
+	isub temp,null
+	call car_ir_24g_go_die,zero
+	arg mem_car_led_control,pdata
+	increase -1,temp
+	iadd temp,rega
+	arg 0,pdata
+	istore 1,rega
+	rtn
+car_ir_24g_receive_attack_blink:
+	arg mem_car_led_control,pdata
+	iadd temp,rega
+	arg 2,pdata
+	istore 1,rega
+	rtn
+car_ir_24g_go_die:
+	jam 1,mem_car_24g_go_die_flag
+	rtn
+car_ir_clk_get:
+	copy clkn_bt,pdata
+	store 4,mem_ir_receive_clkn
+	rtn
+car_ir_clk_check:
+	copy clkn_bt,pdata
+	fetcht 4,mem_ir_receive_clkn
+	isub temp,pdata
+	sub pdata,200,null
+	rtn
+
+car_ir_gpio_get_status:
+	fetcht 1,mem_ir_rx_gpio
+	branch gpio_get_bit
+
+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
+    
+endif
+
+
+
Index: HS_24G&BLE_Motion/program/app_light.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_light.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_light.prog	(working copy)
@@ -0,0 +1,227 @@
+
+light_init:
+	call clear_eeprom_size_2k
+	jam 0x7a,mem_curr_packet_num
+	call light_load_controler_list
+	call light_init_crr_cmd_count
+	setarg light_pairing_timer
+	store 2,mem_cb_event_timer
+	arg 0,rega
+	branch pwm_init
+
+light_pairing_timer:
+	fetch 2,mem_light_pairing_timer
+	rtn blank
+	increase -1,pdata
+	store 2,mem_light_pairing_timer
+	rtnne 0
+	jam 0,mem_light_pairing_enable
+	rtn
+
+light_init_crr_cmd_count:
+	bpatch patch1a_6,mem_patch1a
+	fetch 1,mem_light_next_record
+	sub pdata,40,null
+	rtn positive
+	jam 0,mem_light_next_record
+	rtn
+
+light_load_controler_list:
+	arg mem_light_next_record,rega
+	arg 0,regb
+	arg 81,temp
+	branch iicd_read_eep_data
+
+//output user:group record find
+light_find_controler_pairing:
+	disable user
+	fetch 1,mem_light_cnum
+	copy pdata,loopcnt
+	
+	arg mem_light_clist,rega
+	copy regc,regb
+light_find_controler_pairing_loop:
+	bpatch patch1a_7,mem_patch1a
+	call light_compare_addr_record
+	branch enable_user,zero
+light_find_single_pairing_diff:
+	increase 4,rega
+	loop light_find_controler_pairing_loop
+	rtn
+
+//rega: regb:
+light_compare_addr_record:
+	bpatch patch1b_0,mem_patch1b
+	ifetch 3,rega
+	ifetcht 3,regb
+	isub temp,null
+	rtn
+//rega: regb:
+light_compare_single_record:
+	bpatch patch1b_1,mem_patch1b
+	ifetch 3,rega
+	ifetcht 3,regb
+	isub temp,null
+	nrtn zero
+	ifetch 1,contr
+	sub pdata,0,null //0 zero
+	rtn zero
+	add rega,3,contr
+	ifetcht 1,contr
+	isub temp,null
+	rtn
+
+//output:find single controler
+light_find_controler_cmd:
+	bpatch patch1b_2,mem_patch1b
+	disable user
+	fetch 1,mem_light_cnum
+	copy pdata,loopcnt
+	
+	arg mem_light_clist,rega
+	copy regc,regb
+light_find_controler_cmd_loop:
+	call light_compare_single_record
+	branch enable_user,zero
+	increase 4,rega
+	loop light_find_controler_cmd_loop
+	rtn
+
+//regc
+light_recv_adv:
+	fetch 1,mem_le_scanrsp_rcv
+	increase 1,pdata
+	store 1,mem_le_scanrsp_rcv
+	arg mem_le_rxbuf+12,regc
+
+light_anylize_command:
+	ifetch 2,regc
+	arg 0x55aa,temp
+	isub temp,null
+	nrtn zero
+	copy contr,regc
+	ifetcht 3,regc
+	setarg 0xffffff
+	isub temp,null
+	branch light_parse_cmd,zero
+	call light_find_controler_cmd
+	branch light_parse_cmd,user
+	rtn
+
+light_parse_cmd:
+	bpatch patch1b_3,mem_patch1b
+	increase 4,regc
+	ifetch 1,regc
+	fetcht 1,mem_curr_packet_num
+	isub temp,null
+	rtn zero
+	store 1,mem_curr_packet_num
+	fetch 1,mem_le_req_rcv
+	increase 1,pdata
+	store 1,mem_le_req_rcv
+	
+	increase 1,regc
+	ifetch 1,regc
+	store 1,mem_light_crr_cmd_count
+	copy pdata,loopcnt
+	rtn blank
+light_parse_cmd_loop:
+	ifetch 1,contr
+	beq LIGHT_CMD_PWM0,light_parse_cmd_pwm0
+	beq LIGHT_CMD_PWM1,light_parse_cmd_pwm1
+	beq LIGHT_CMD_PWM2,light_parse_cmd_pwm2
+	beq LIGHT_CMD_PWM3,light_parse_cmd_pwm3
+	beq LIGHT_CMD_PWM4,light_parse_cmd_pwm4
+	beq LIGHT_CMD_PWM5,light_parse_cmd_pwm5
+	beq LIGHT_CMD_AUTO_MODE,light_parse_auto_mode
+	beq LIGHT_CMD_PAIRING,light_parse_pairing
+	loop light_parse_cmd_loop
+	rtn
+
+light_parse_cmd_pwm0:
+	copy contr,regc
+	fetch 1,mem_light_pwm0
+	store 1,mem_pdatatemp
+	arg 0,temp
+light_parse_cmd_pwm_common:
+	storet 1,mem_pdatatemp+1
+	setarg 10000
+	store 3,mem_pdatatemp+2
+	ifetch 1,regc
+	store 1,mem_pdatatemp+5
+	call  pwm_out_set
+	and regc,1,contr
+	loop light_parse_cmd_loop
+	rtn
+light_parse_cmd_pwm1:
+	copy regc,contr
+	fetch 1,mem_light_pwm1
+	store 1,mem_pdatatemp
+	arg 1,temp
+	branch light_parse_cmd_pwm_common
+light_parse_cmd_pwm2:
+	copy regc,contr
+	fetch 1,mem_light_pwm2
+	store 1,mem_pdatatemp
+	arg 2,temp
+	branch light_parse_cmd_pwm_common
+light_parse_cmd_pwm3:
+	copy regc,contr
+	fetch 1,mem_light_pwm3
+	store 1,mem_pdatatemp
+	arg 3,temp
+	branch light_parse_cmd_pwm_common
+light_parse_cmd_pwm4:
+	copy regc,contr
+	fetch 1,mem_light_pwm4
+	store 1,mem_pdatatemp
+	arg 4,temp
+	branch light_parse_cmd_pwm_common
+light_parse_cmd_pwm5:
+	copy regc,contr
+	fetch 1,mem_light_pwm5
+	store 1,mem_pdatatemp
+	arg 5,temp
+	branch light_parse_cmd_pwm_common
+
+light_parse_auto_mode:
+	ifetch 1,contr
+	rtn
+
+light_parse_pairing:
+	copy contr,regc
+	fetch 1,mem_light_pairing_enable
+	bne 1,light_parse_pairing_abandon
+	call update_controler_list
+light_parse_pairing_abandon:
+	and regc,4,contr
+	rtn
+update_controler_list:
+	bpatch patch1b_4,mem_patch1b
+	call light_find_controler_pairing
+	branch update_conrtoler_list_found,user
+	fetch 1,mem_light_next_record
+	copy pdata,temp
+	increase 1,pdata
+	store 1,mem_light_next_record
+	call light_init_crr_cmd_count
+	lshift2 temp,temp
+	setarg mem_light_clist
+	iadd temp,contw
+	ifetch 4,regc
+	istore 4,contw
+	branch update_conrtoler_store_list
+update_conrtoler_list_found:
+	add regc,3,contr
+	ifetch 1,contr
+	rtn blank
+	ifetch 4,regc
+	istore 4,rega
+update_conrtoler_store_list:
+	arg mem_light_next_record,rega
+	arg 0,regb
+	arg 81,temp
+	branch iicd_write_eep_data
+
+
+
Index: HS_24G&BLE_Motion/program/app_lightC.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_lightC.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_lightC.prog	(working copy)
@@ -0,0 +1,55 @@
+lightc_init:
+	//key scan init
+
+	//gpio init
+	fetcht 1,mem_lightc_led_gpio
+	call gpio_out_inactive
+	rtn
+
+
+lightc_dispatch:
+	//key scan 
+	
+	fetcht 1,mem_lightc_led_gpio
+	call gpio_out_active
+
+
+	fetcht 1,mem_lightc_led_gpio
+	call gpio_out_inactive
+
+	//
+	call lightc_start_adv
+
+	fetch 1,mem_adv_time
+	nrtn blank
+	//sleep 
+	call lpm_write_gpio_wakeup
+	hfetch 4,core_lpm_ctrl
+	set0 15,pdata						/* lowest lpo */
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+	arg param_hibernate_clks,temp
+	branch lpm_sleep
+
+lightc_adv:
+	fetch 1,mem_adv_time
+	branch le_adv_loop_tx,blank
+	increase -1,pdata
+	store 1,mem_adv_time
+	branch le_adv_loop_tx
+
+lightc_start_adv:
+	mul32 pdata,20,pdata
+	arg mem_cmd0_string,contr
+	iadd contr,contr
+	ifetch 1,contr
+	rtn blank
+	copy pdata,rega
+	copy rega,loopcnt
+	arg mem_le_adv_data+2,contw
+	call memcpy
+	copy rega,pdata
+	increase 2,pdata
+	store 1,mem_le_adv_data_len
+	rtn
+
Index: HS_24G&BLE_Motion/program/app_module.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_module.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_module.prog	(working copy)
@@ -0,0 +1,1506 @@
+
+ifdef COMPILE_MODULE
+
+
+
+
+module_init:
+	
+	rtn wake
+	call le_modified_name
+	call adc_init_data
+	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_le_conn_process
+	store 2,mem_cb_le_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 patch1b_5,mem_patch1b
+	call module_lpm_uart_init
+	call module_gpio_init
+	call check_module_disabled
+	branch module_hci_event_enter_standby_mode
+
+
+module_lpm_uart_init:
+	fetch 4,mem_module_uart_rx_buffer
+	hstore 4,core_uart_rsaddr
+
+	fetch 4,mem_module_uart_tx_buffer
+	hstore 4,core_uart_tsaddr
+
+	hfetch 1,core_gpio_sel1
+	or_into 0x04,pdata
+	and_into 0xfc,pdata
+	hstore 1,core_gpio_sel1
+	jam 0x00,core_uart_ctrl
+
+	fetch 2,mem_module_uart_rx_buffer
+	hstore 2,core_uart_rrptr
+	fetch 2,mem_module_uart_tx_buffer
+	hstore 2,core_uart_twptr
+	hstore 2,core_uart_trptrp
+
+	hfetch 4,core_gpio_pu0
+	set1 7,pdata
+	hstore 4,core_gpio_pu0
+	
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_UART,pdata
+	hstore 2,core_clkoff
+	call uart_set_baud_by_mem
+	jam uartclk_crystal,core_uart_clksel
+	jam uart_ctrl_h4,core_uart_ctrl
+
+	fetch 1,mem_module_flag
+	isolate1 MODULE_FLAG_UART_FLOW_CONTROL,pdata
+	hfetcht 1,core_uart_ctrl
+	setflag true,4,temp
+	hstoret 1,core_uart_ctrl
+	rtn
+	
+
+
+module_lpm_init:
+	call module_spp_clear_last_transmite_clock
+	branch module_lpm_uart_init
+//	branch module_gpio_init
+	
+module_gpio_init:
+	//module state pin
+//	call ui_led_init	
+//	call app_led_start_blink
+	//module conn state pin
+	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_le_conn_process:
+	rtn
+
+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
+	bpatch patch1b_6,mem_patch1b
+	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 1,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
+
+	
+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_le_gkey
+endif
+	beq BT_EVT_STORE_NVRAM,module_hci_event_store_device
+	beq BT_EVT_LE_LTK_LOST,module_process_ble_ltk_lost
+	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 1,mem_module_flag
+	rtnbit1 MOUDLE_TASK_UNSNIFF
+	hfetch 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
+	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 1,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_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_credit_flag
+	rtneq CREDIT_DISABLE
+	branch rfcomm_send_uih_without_payload
+
+module_process:
+	hfetch 1,core_uart_status
+	bbit1 uart_status_rx_fifo_empty,module_process_with_credit  //rx no data
+	call uartd_prepare_rx
+	ifetch 1,contru
+	bne 0x01,module_hci_in_excp
+	hfetch 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
+	hfetch 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 patch1b_7,mem_patch1b
+	hfetch 2,core_uart_rxitems
+	rtn blank
+	call uartd_prepare_rx
+	ifetch 1,contru
+	sub pdata,0x01,null
+	ncall module_hci_dicard_bytes,zero
+	nbranch module_hci_release_except,zero
+	ifetch 1,contru
+	rtneq HCI_CMD_SPP_DATA_REQ
+	rtneq HCI_CMD_SET_CREDIT_GIVEN
+	increase -1,contru
+	call module_hci_dicard_bytes
+	branch module_hci_release_except
+
+module_hci_dicard_packet:
+	call uartd_prepare_rx
+	increase 2,contru
+	ifetch 1,contru
+	iadd contru,contru
+module_hci_dicard_bytes:
+	branch uartd_rxdone
+	
+/*********************HCI CONTROL*********************/
+module_hci_cmd_control:
+	bpatch patch1c_0,mem_patch1c
+	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_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_TEST_CMD_CLOSE_LPM,module_hci_test_cmde_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
+	copy rega,contru
+	call module_hci_event_receive_valid_cmd
+	ifetcht 1,contru
+	storet 1,mem_module_bluetooth_stauts_by_command
+	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
+	fetch 1,mem_module_uart_len
+	copy pdata,loopcnt
+	copy rega,contru
+	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:
+	fetch 1,mem_module_uart_len
+	sub pdata,29,null
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	store 1,mem_le_name_len
+	copy pdata,loopcnt
+	copy rega,contru
+	arg mem_le_name,contw
+	call uart_copy_rx_bytes_fast
+	call le_modified_name
+	branch module_hci_event_receive_valid_cmd
+
+
+//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 p_nl_clear_last_transmite_clock
+	call module_spp_clear_last_transmite_clock
+	fetch 1,mem_remote_credits
+	rtn blank
+	fetch 2,mem_nl_rx_len_all
+	bne 0,module_hci_cmd_pass_init_ng_rx_len_all
+	fetch 1,mem_module_uart_len
+	store 2,mem_nl_rx_len_all
+
+	copy rega,contru
+//	ifetch 2,contru
+//	store 2,mem_nl_rx_handle
+	copy contru,pdata
+	store 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
+	arg DM_REFCOM_BUFF_LEN,temp
+	call not_greater_than
+	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 1,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
+	copy contru,pdata
+	store 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
+	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 1,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_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 patch1c_1,mem_patch1c
+	add temp,-3,pdata		//sub handle and opcode
+	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
+	fetcht 2,mem_module_hci_notify_handle
+	call le_att_malloc_tx_notify
+	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
+
+
+//output: temp is master mtu
+module_get_le_remote_mtu:
+	arg 0x17,temp
+	fetch 1,mem_module_flag
+	rtnbit1 MODULE_FLAG_BLE_SEND_MTU23
+	fetcht 2,mem_le_remote_mtu
+	rtn
+
+module_check_ble_encrypt_state:
+	fetch 1,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:
+	copy rega,contru
+	ifetch 1,contru
+	beq PAIRING_PINCODE,module_hci_pairing_pincode_mode
+	beq PAIRING_JUSTWORK,module_hci_pairing_just_work_mode
+	beq PAIRING_PASSKEY,module_hci_pairing_passkey
+	beq PAIRING_CONFIRM,module_hci_pairing_numeric_comparison
+	branch module_hci_event_receive_invalid_cmd
+module_hci_pairing_pincode_mode:
+	call ssp_disable
+	jam 0,mem_ssp_enable
+	branch module_hci_event_receive_valid_cmd
+module_hci_pairing_just_work_mode:
+	setarg SSP_MODE_JUST_WORK_IO_CAP_DATA
+module_hci_sspairing_mode:	
+	store 3,mem_sp_iocap_local
+	store 1,mem_ssp_mode_flag
+	call ssp_enable
+	jam 1,mem_ssp_enable
+	branch module_hci_event_receive_valid_cmd
+module_hci_pairing_passkey:
+	setarg SSP_MODE_PASSKEY_IO_CAP_DATA
+	branch module_hci_sspairing_mode
+
+module_hci_pairing_numeric_comparison:
+	setarg SSP_MODE_SSP_PIN_IO_CAP_DATA
+	branch module_hci_sspairing_mode
+
+//command opcode 0x0d
+module_hci_cmd_set_pincode:
+	fetch 1,mem_module_uart_len
+	sub pdata,16,null
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	store 1,mem_pin_length
+	copy pdata,loopcnt
+	arg mem_pin,contw
+	call uart_copy_rx_bytes
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x0e
+module_hci_cmd_set_uart_control_mode:
+	copy rega,contru
+	ifetch 1,contru
+	hfetcht 1,core_uart_ctrl
+	nsetflag blank,4,temp
+	hstoret 1,core_uart_ctrl
+ 	branch module_hci_event_receive_valid_cmd
+
+ 	
+//command opcode 0x0f
+module_hci_cmd_set_uart_baud:
+	fetch 1,mem_module_uart_len
+	copy pdata,loopcnt
+	copy rega,contru
+	call string2dec_from_uart
+	setarg uart_clk_24
+	idiv temp
+	call wait_div_end
+	quotient pdata
+module_hci_cmd_set_uart_baud_ok:
+	store uart_baud_len,mem_baud
+	call module_hci_event_receive_valid_cmd
+	call wait_uarttx
+	branch uart_set_baud_by_mem
+
+
+//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
+module_hci_event_set_cmd_send_response:
+	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 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 0x26
+module_hci_cmd_set_nvram:
+	fetch 1,mem_module_uart_len
+	copy pdata,loopcnt
+	copy rega,contru
+	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 1,mem_ui_state_map
+	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
+
+dhkey_not_accept:
+	jam 0,mem_flag_mode_ssp_pin
+	jam BT_CMD_DHKEY_NOT_ACCEPT,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+
+module_hci_cmd_spp_number_comparison_result_is1:
+	bbit1 FLAG_MODE_SSP_PIN_COMPARISON_RESULT_BIT,number_comparison_successed
+	branch dhkey_not_accept	
+
+
+//command opcode 0x29
+module_hci_cmd_set_credit_given:
+	fetch 1,mem_ui_state_map
+	rtnbit0 UI_STATE_BT_SPP_CONN
+	fetch 1,mem_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:
+	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:
+	ifetcht 1,contru
+	ifetch 1,contru
+	beq GPIO_INPUT_HIGH_IMPEDANCE,module_set_gpio_high_impedance
+	nsetflag blank,7,temp
+	call gpio_config_input
+	branch module_hci_event_receive_valid_cmd
+
+module_set_gpio_high_impedance:
+	call gpio_set_high_impedance
+	branch module_hci_event_receive_valid_cmd
+	
+module_set_gpio_output:
+	ifetcht 1,contru
+	call gpio_config_output0
+	ifetch 1,contru	
+	isolate1 0,pdata
+	call gpio_out_flag
+	branch module_hci_event_receive_valid_cmd
+
+
+//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
+	branch module_hci_event_set_cmd_send_response
+
+
+//command opcode 0x33
+module_hci_cmd_le_set_pairing_mode:
+	copy rega,contru
+	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
+endif
+	store 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
+	branch module_hci_event_receive_invalid_cmd
+		
+ifdef SECURE_CONNECTION	
+module_le_set_pairing_mode_secure_justwork:
+	fetch 1,mem_le_secure_connect_enable
+	branch module_hci_event_receive_invalid_cmd,blank
+	storet 1,mem_le_pairing_mode
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch module_le_set_noinputnooutput
+module_le_set_pairing_mode_secure_numeric:
+	fetch 1,mem_le_secure_connect_enable
+	branch module_hci_event_receive_invalid_cmd,blank
+	storet 1,mem_le_pairing_mode
+	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:	
+	fetch 1,mem_le_secure_connect_enable
+	branch module_hci_event_receive_invalid_cmd,blank
+	storet 1,mem_le_pairing_mode
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch module_le_set_displayonly
+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_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
+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:
+	fetch 1,mem_module_uart_len
+	sub pdata,31,null
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	store 1,mem_le_adv_data_len
+	copy pdata,loopcnt
+	copy rega,contru
+	arg mem_le_adv_data,contw
+	call uart_copy_rx_bytes_fast
+	branch module_hci_event_receive_valid_cmd
+	
+
+//command opcode 0x35
+module_hci_cmd_le_set_scan_data:
+	fetch 1,mem_module_uart_len
+	sub pdata,31,null
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	store 1,mem_le_scan_data_len
+	copy pdata,loopcnt
+	copy rega,contru
+	arg mem_le_scan_data,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
+	copy rega,contru
+	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 0xff
+module_hci_test_cmde_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 uartd_send
+
+
+//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 uartd_send
+
+
+//event opcode 0x08
+module_hci_event_receive_le_data:
+	jam HCI_EVENT_LE_DATA_REP,mem_module_uart_opcode
+	fetch 1,mem_module_le_rx_data_len
+	icopy loopcnt
+	increase 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
+	branch uartd_send
+
+
+//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 uartd_send
+
+
+//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 uartd_send
+
+//	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 uartd_send
+
+
+//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 uartd_send
+
+
+//event opcode 0x0f
+module_hci_event_invalid_packet:
+	jam HCI_EVENT_INVALID_PACKET,mem_module_uart_opcode
+	hfetch 2,core_uart_rxitems
+	arg 0xff,temp
+	call not_greater_than
+	copy pdata,loopcnt
+	call module_hci_prepare_tx
+	call uartd_prepare_rx
+	call uart_copy_rx2tx
+	branch uartd_send
+
+
+//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 uartd_send
+
+
+//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 uartd_send
+
+
+//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 uartd_send
+
+
+//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 uartd_send
+
+
+//****************************************************************//
+	//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 patch1c_2,mem_patch1c
+	call module_set_mcu_wake_pin_high_delay
+	fetcht 8,mem_temp
+	call uartd_prepare_tx
+	fetch 3,mem_module_uart_cmd
+	istore 3,contwu
+	rtn
+
+
+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:
+	//call ice_break
+	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
+
+
+delay:
+	increase -1,pdata
+	nop 38
+	nbranch delay,blank
+	rtn
+
+/*********************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:
+	call module_check_ble_encrypt_state
+	rtn user
+	copy rega,pdata
+	store 2,mem_module_le_rx_data_address
+	copy regb,pdata
+	store 1,mem_module_le_rx_data_len
+	fetch 2,mem_le_att_handle
+	fetcht 2,mem_module_data_write_handle
+	isub temp,null
+	branch module_le_receive_data_ok,zero
+	fetcht 2,mem_module_data_write_handle2
+	isub temp,null
+	nrtn zero
+module_le_receive_data_ok:	
+	store 2,mem_module_le_rx_data_handle
+	branch module_hci_event_receive_le_data
+
+
+/*********************hci ble receive data end*********************/
+
+module_exit_sniff:
+	fetch 1,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 adc_set_mode
+	call vdd_calculate_by_mode
+	div pdata,0x64
+	call wait_div_end
+	quotient pdata
+	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 1,mem_module_flag
+	qset0 pdata
+	store 1,mem_module_flag
+	rtn
+
+module_set_state:
+	fetch 1,mem_module_flag
+	qset1 pdata
+	store 1,mem_module_flag
+	rtn
+	
+/**************module state end*******************/
+
+
+else
+
+endif
Index: HS_24G&BLE_Motion/program/app_mouse.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_mouse.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_mouse.prog	(working copy)
@@ -0,0 +1,2660 @@
+
+
+//define FPGA_DEBUG
+
+
+ifdef COMPILE_MOUSE
+mouse_init:
+	call mouse_setting_config
+	call spi_ncs_enable
+	call mouse_init_sunt
+	call mouse_dpi_config
+	call spi_ncs_disable
+	rtn wake
+	call mouse_cheak_enable_usb
+	call mouse_cb_fuction
+//	fetch 1,mem_wakup_from_power_flag
+//	isolate0 gpio_latch,pdata
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_USB
+	call mouse_wakeup_from_power//,true	// enter 
+ifdef FPGA_DEBUG
+	arg MOUSE_FPGA_DEBUG_GPIO,temp
+	call gpio_config_output
+	arg MOUSE_FPGA_RF_WORK_DEBUG_GPIO,temp
+	call gpio_config_output
+	arg MOUSE_FPGA_DEBUG_GPIO,temp
+	call gpio_out_active
+endif
+	rtnmark1 mark_24g
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
+	branch mouse_check_reconn_target
+
+
+mouse_delay_4s:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_INIT_DELAY
+	arg 20,loopcnt
+mouse_delay_20ms:
+	setarg 200000
+	call sleep
+	loop delay_10ms
+	rtn
+
+	
+mouse_cheak_enable_usb:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_USB
+	branch usb_init
+	
+
+mouse_cb_fuction:
+	setarg mouse_le
+	store 2,mem_cb_le_process
+	setarg mouse_send_process
+	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 le_mouse_bb_event_connect_complete
+	store 2,mem_cb_att_write
+
+	call g24_head_ptr2regc
+	setarg mouse_g24_package_data
+	add regc,offset_24g_cb_data,contw
+	istore 2,contw
+	setarg mouse_g24_enter_lpm
+	add regc,offset_24g_cb_lpm_prepare,contw
+	istore 2,contw
+	setarg mouse_lpm_before_common
+	add regc,offset_24g_cb_lpm_before,contw
+	istore 2,contw
+	
+	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
+	rtn
+mouse_spi_write_flash_cb:
+mouse_spi_init:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_SPI2,spid_init
+	branch spid_init2
+
+mouse_setting_config:
+	rtn wake
+	call g24_set_device_addr
+	call mouse_gpio_init
+	call mouse_param_init
+	call mouse_adc_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_init_iic
+	bbit1 MOUSE_ENABLE_FLASH,mouse_load_flash_info_cheak
+	rtn
+
+mouse_init_iic:
+	call iic_init_390k
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	isolate1 MOUSE_ENABLE_2K_EEPROM,pdata
+	ncall clear_eeprom_size_2k,true
+	call mouse_load_eeprom_dpi
+	call mouse_init_environment
+	call mouse_set_24g_addr_eeprom
+	branch iicd_read_eep_data
+
+mouse_wakeup_from_power:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_WAKEUP_FROM_POWER,mouse_wakeup_no_from_power
+	fetch 1,mem_wakup_from_power_flag
+	isolate0 gpio_latch,pdata
+	nrtn true
+mouse_wakeup_no_from_power:
+	fetch 1,mem_reconn_times_init
+	store 1,mem_reconn_times
+	fetch 1,mem_config_function_enable
+	rtnbit1 ENABLE_SELECT_DEVICE_BY_SWITCH
+mouse_start_24g_mode:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G
+	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,g24_auto_pair_start
+	branch g24_check_51cmd_start_24g
+le_mouse_bb_event_connect_complete:
+	fetch 1,mem_le_att_handle
+	sub pdata,26,pdata
+	nrtn zero
+	jam BT_CMD_LE_UPDATE_CONN,mem_fifo_temp
+	call ui_ipc_send_cmd
+mouse_le_write_enable:	
+	arg WRITE_REQ_ENABLE_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+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
+	rtn
+mouse_dpi_config:
+	fetch 1,mem_config_sensor_motion
+	and pdata,0x0f,pdata
+	store 1,mem_mouse_dpi
+	branch mouse_seting_dpi+2
+
+
+mouse_dpi_cheak:
+	fetcht 1,mem_dpi_button_gpio
+	call gpio_get_bit
+	nbranch mouse_dpi_up,true
+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 1,mem_mouse_dpi
+	increase 1,pdata
+	and pdata,0x03,pdata
+	store 1,mem_mouse_dpi
+	call mouse_seting_dpi
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_EEPROM,mouse_store_eerpom_dpi
+	bbit1 MOUSE_ENABLE_FLASH,mouse_before_store_flash_cpi
+	rtn
+mouse_before_store_flash_cpi:
+	arg MOUSE_SPI2_CLK_GPIO,temp
+	call gpio_config_output				//hold high
+	arg MOUSE_SPI2_SDIO_GPIO,temp
+	call gpio_config_output 			//hold high 
+	branch mouse_store_flash_device_info
+
+mouse_seting_dpi:
+	bpatch patch1c_3,mem_patch1c
+	call mosue_dpi_led_blink_init
+	fetch 1,mem_config_sensor_type
+	beq P3610,mouse_seting_3610_dpi
+	beq P3212,mouse_seting_3212_dpi
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_cpi1
+	beq MOUSE_DPI_LEVEL2,mouse_set_cpi2
+	beq MOUSE_DPI_LEVEL3,mouse_set_cpi3
+	beq MOUSE_DPI_LEVEL4,mouse_set_cpi4
+mouse_set_cpi2:
+	fetch 1,mem_320x_dpi_2
+	branch mouse_p3205_dpi
+mouse_set_cpi1:
+	fetch 1,mem_320x_dpi_1
+	branch mouse_p3205_dpi
+mouse_set_cpi3:
+	fetch 1,mem_320x_dpi_3
+	branch mouse_p3205_dpi
+mouse_set_cpi4:
+	fetch 1,mem_320x_dpi_4
+	branch mouse_p3205_dpi
+moue_seting_cpi_count:
+	fetch 1,mem_config_sensor_type
+	rtneq P3065_XY
+	fetch 1 ,mem_mouse_cpi_count
+	increase 1,pdata
+	store 1,mem_mouse_cpi_count
+	rtn
+
+mouse_seting_3212_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_p3212_cpi1
+	beq MOUSE_DPI_LEVEL2,mouse_set_p3212_cpi2
+	beq MOUSE_DPI_LEVEL3,mouse_set_p3212_cpi3
+	beq MOUSE_DPI_LEVEL4,mouse_set_p3212_cpi4
+mouse_set_p3212_cpi2:
+	fetch 1,mem_3212_dpi_2
+	branch mouse_p3212_dpi
+mouse_set_p3212_cpi1:
+	fetch 1,mem_3212_dpi_1
+	branch mouse_p3212_dpi
+mouse_set_p3212_cpi3:
+	fetch 1,mem_3212_dpi_3
+	branch mouse_p3212_dpi
+mouse_set_p3212_cpi4:
+	fetch 1,mem_3212_dpi_4
+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_3610_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_p3610_cpi1
+	beq MOUSE_DPI_LEVEL2,mouse_set_p3610_cpi2
+	beq MOUSE_DPI_LEVEL3,mouse_set_p3610_cpi3
+	beq MOUSE_DPI_LEVEL4,mouse_set_p3610_cpi4
+mouse_set_p3610_cpi2:
+	fetch 1,mem_3610_dpi_2
+	branch mouse_p3610_dpi
+mouse_set_p3610_cpi1:
+	fetch 1,mem_3610_dpi_1
+	branch mouse_p3610_dpi
+mouse_set_p3610_cpi3:
+	fetch 1,mem_3610_dpi_3
+	branch mouse_p3610_dpi
+mouse_set_p3610_cpi4:
+	fetch 1,mem_3610_dpi_4
+mouse_p3610_dpi:
+	store 1,mem_mouse_cpi_count
+	call mouse_spi_sdio_gpio_pollup
+	fetch 1,mem_mouse_cpi_count
+mouse_reset_p3610_dpi:
+	add pdata,0x80,pdata
+	lshift8 pdata,pdata
+	add pdata,MOUSE_P3610_DPI_ADDRESS,pdata
+	copy pdata,rega
+	branch mouse_set_sensor_reg
+	
+mouse_p3205_dpi:
+	store 1,mem_mouse_cpi_count
+	call moue_seting_cpi_count
+	fetch 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_init_environment:
+	call app_initflag_check
+	branch mouse_eeprom_load_recon_info,zero
+	call mouse_ble_init_address
+	call mouse_store_eeprom_device_info
+	branch app_initflag_store
+
+
+mouse_24g_pairing_button:
+	fetch 2,mem_24g_pairing_timer_count
+	rtn blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G
+	rtnbit1 MOSUE_24G_PAIRING_FLAG
+	rtnmark1 mark_24g
+	call mouse_check_key_gpio
+	rtnne MOUSE_LMR_BUTTON
+	call mouse_devce_led_off
+	arg MOSUE_24G_PAIRING_FLAG,queue
+	call mouse_enable_function_flag
+	setarg 0
+	store 2,mem_mouse_direct_timer
+	store 1,mem_mouse_send_blank_timer
+	call g24_set0_mem_check_dongle_times
+	
+	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
+	call mouse_stop_discovery
+	branch g24_start_pairing_sm1
+	
+ifdef FPGA_DEBUG
+mouse_fpga_rf_working_normal:
+	fetch 1,mem_le_req_rcv
+	and pdata,0xfe,pdata
+	call mouse_fpga_working_fail,blank
+	fetch 1,mem_le_req_rcv
+	and pdata,0xfe,pdata
+	ncall mouse_fpga_working_normal,blank
+//	fetch 1,mem_inquiryscan_rcvcnt
+//	and pdata,0xfe,pdata
+//	call mouse_fpga_working_fail,blank
+//	fetch 1,mem_inquiryscan_rcvcnt
+//	and pdata,0xfe,pdata
+//	ncall mouse_fpga_working_normal,blank
+	rtn
+
+mouse_fpga_working_fail:
+	arg MOUSE_FPGA_RF_WORK_DEBUG_GPIO,temp
+	branch gpio_out_inactive
+
+mouse_fpga_working_normal:
+	arg MOUSE_FPGA_RF_WORK_DEBUG_GPIO,temp
+	branch gpio_out_active
+
+
+
+endif
+
+mouse_idle:
+ifdef FPGA_DEBUG
+	call mouse_fpga_rf_working_normal
+endif
+	call mouse_24g_pairing_button
+	call ui_check_paring_button
+	call mouse_dpi_cheak
+	call mouse_usb_isr
+	call mouse_wheel_check
+	branch mouse_usb_mode
+mouse_usb_isr:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_USB
+	call usb_isr	
+	branch usb_offline_state
+
+mouse_cheak_usb:
+	hfetch 1,core_usb_addr
+	bbit0 7,mouse_usb_no_exsit
+	bbit1 7,mouse_usb_exsit
+	rtn
+mouse_usb_no_exsit:
+	fetch 1,mem_usb_addr
+	rtnbit0 7
+	branch soft_reset_chip
+mouse_usb_exsit:
+	fetch 1,mem_usb_addr
+	rtnbit1 7
+	branch mouse_stop_bluetooth_mode
+	
+mouse_usb_mode:
+	call mouse_cheak_usb
+	hfetch 1,core_usb_addr
+	store 1,mem_usb_addr
+	rtnbit0 7
+	call mouse_clkn_check 
+	fetch 4,mem_btclk_sensor
+	fetcht 1,mem_wire_usb_interval
+	iadd temp,temp
+	copy clkn_bt,pdata
+	isub temp,null
+	nrtn positive
+	store 4,mem_btclk_sensor
+	call mouse_motion
+	nrtn user
+	jam 4,mem_usb_tx_enable
+	branch mouse_wired_to_usb
+
+mouse_clkn_check:
+	fetcht 4,mem_btclk_sensor
+	copy clkn_bt,pdata
+	isub temp,null
+	ncall mouse_clkn_timeout,positive
+	rtn
+mouse_clkn_timeout:
+	setarg 0
+	store 4,mem_btclk_sensor
+	rtn
+
+
+	
+mouse_wired_to_usb:
+	fetch 1,mem_usb_tx_enable
+	rtnbit0 2
+	branch mouse_data_push
+mouse_data_push:
+	hfetch 1,core_usb_addr
+	rtnbit0 7
+	jam USB_EP2_MS,mem_usb_ep2_data
+	setarg MS_REPORT_ID
+	store 1,mem_usb_mouse_data	
+	fetch 7,mem_mouse_key
+	istore 7,contw
+	rtn
+
+
+mouse_enable_clock_qdecoder:
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_QDECODER,pdata
+	hstore 2,core_clkoff
+	rtn
+
+mouse_param_init:
+	setarg 0x8c00				//bt sdp start address
+	store 2,mem_ui_uuid_table
+	setarg 0x8e7a				//ble attlist start address
+	store 2,mem_ui_le_uuid_table
+	setarg 0x2402
+	store 2,mem_fcomp_mul
+	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
+	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
+//===========default bt reconnect address===================	
+//	jam 1,mem_device_flag
+//	setarg 0x332211
+//	store 3,mem_device1_addr
+//	store 3,mem_device2_addr
+//	store 3,mem_device3_addr
+//	setarg 0x665544
+//	store 3,mem_device1_addr+3
+//	store 3,mem_device2_addr+3
+//	store 3,mem_device3_addr+3
+//	setarg 0x34
+//	store 1,mem_device1_type
+//	store 1,mem_device2_type
+//	store 1,mem_device3_type
+//===========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 0x012c  				//24g ban pairing timer init
+	store 2,mem_24g_pairing_timer_count
+	call le_modified_name
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
+	rtnbit0 MOUSE_ENABLE_GPIO_CONTROL_ADC_SENSOR
+	call mouse_sensor_set_angle
+	branch mouse_select_adc
+
+mouse_sensor_set_angle:
+	fetcht 1,mem_select_sensor_angle_gpio
+	call gpio_config_input
+	fetcht 1,mem_select_sensor_angle_gpio
+	call gpio_get_bit
+	jam MOUSE_3CLK_ANGLE,mem_config_sensor_angle
+	rtn true
+	jam MOUSE_12CLK_ANGLE,mem_config_sensor_angle
+	rtn
+
+mouse_select_adc:
+	fetcht 1,mem_select_adc_gpio
+	call gpio_config_input
+	fetcht 1,mem_select_adc_gpio
+	call gpio_get_bit
+	jam ADC_CONFIG_VINLPM,mem_adc_config_flag
+	rtn true
+	jam ADC_CONFIG_GPIO,mem_adc_config_flag
+	rtn
+	
+	
+mouse_adc_init:
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_VINLPM,mouse_adc_init_data_vinlpm
+	beq ADC_CONFIG_HVIN,mouse_adc_init_data_hvin
+	beq ADC_CONFIG_GPIO,mouse_adc_init_data_io
+	branch mouse_adc_init_data_vinlpm
+	
+mouse_adc_init_data_vinlpm:
+	fetcht 2,mem_2v_adc_vinlpm_data
+	fetch 2,mem_3v_adc_vinlpm_data
+	isub temp,pdata
+	mul32 pdata,20,pdata 
+	div pdata,100
+	call wait_div_end
+	quotient pdata
+	store 2,mem_adc_reference_voltage //vinlpm :2v2 low alter
+	rtn
+mouse_adc_init_data_hvin:
+	fetcht 2,mem_1v_adc_hvin_data
+	fetch 2,mem_5v_adc_hvin_data
+	isub temp,pdata
+	mul32 pdata,230,pdata 
+	div pdata,400
+	call wait_div_end
+	quotient pdata
+	store 2,mem_adc_reference_voltage //hvin :3v3 low alter
+	rtn
+mouse_adc_init_data_io:
+	fetch 2,mem_1v_adc_io_data
+	store 2,mem_adc_reference_voltage  //vio :1v low alter
+	rtn
+mouse_gpio_init:
+	fetcht 1,mem_eeprom_wp_gpio
+	call gpio_config_output
+	call usb_offline_check_init
+	fetcht 1,mem_lbutton_gpio
+	call gpio_config_input
+	fetcht 1,mem_rbutton_gpio
+	call gpio_config_input
+	fetcht 1,mem_mbutton_gpio
+	call gpio_config_input
+	fetcht 1,mem_sensor_data_gpio
+	call gpio_config_input
+
+	fetcht 1,mem_sensor_reset_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_whee_a_data_gpio
+	call gpio_config_input
+
+	fetcht 1,mem_whee_b_data_gpio
+	call gpio_config_input
+
+	fetcht 1,mem_whee_ta_data_gpio
+	call gpio_config_input
+	fetcht 1,mem_whee_tb_data_gpio
+	call gpio_config_input
+
+	fetcht 1,mem_bk_button_gpio
+	call gpio_config_input
+	fetcht 1,mem_fw_button_gpio
+	call gpio_config_input
+
+	fetcht 1,mem_config_low_voltage_alarm_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_config_device1_led_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_config_device2_led_gpio
+	call gpio_config_output
+	
+	fetcht 1,mem_config_device3_led_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_dpi_led_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_config_select_device_button_gpio
+	call gpio_config_input
+	
+	fetcht 1,mem_config_bt_button_gpio
+	call gpio_config_input	
+
+	fetcht 1,mem_dpi_button_gpio
+	branch gpio_config_input
+
+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_gpio_set_pupd_by_input:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	and temp,0x7f,queue
+	hfetch 4,core_gpio_in
+	qisolate1 pdata
+	hfetch 4,core_gpio_pu0
+	qsetflag true,pdata
+	hstore 4,core_gpio_pu0
+	hfetch 4,core_gpio_pd0
+	nqsetflag true,pdata
+	hstore 4,core_gpio_pd0
+	rtn
+	
+mouse_before_hibernate:
+	enable user
+	hfetch 4,0x8138
+	setflag user,26,pdata
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+	call mouse_devce_led_off
+	call mouse_before_hibernate_wheel_gpio_set
+//	call gpio_set_before_lpm_common
+	branch mouse_lpm_before_common
+
+
+	
+mouse_process_lpm_before:
+	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:
+	call mouse_wheel_check
+	arg MOUSE_SPI1_CLK_GPIO,temp					// set sclk high
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	isolate1 MOUSE_ENABLE_SPI2,pdata
+	call mouse_spi_clk_gpio,true
+	call gpio_config_output
+	call twspi_disable
+
+
+
+	fetcht 1,mem_lbutton_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_rbutton_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_mbutton_gpio
+	call gpio_set_wake_by_current_state
+
+	fetcht 1,mem_bk_button_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_fw_button_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_dpi_button_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_config_select_device_button_gpio
+	call gpio_set_wake_by_current_state
+	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_data_gpio
+	branch gpio_set_wake
+	
+
+	
+mouse_spi_clk_gpio:
+	arg MOUSE_SPI2_CLK_GPIO,temp
+	rtn
+
+mouse_wheel_check:
+	bpatch patch1c_4,mem_patch1c
+	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_count1
+	increase 1,pdata
+	store 1,mem_mouse_tz_data_count1
+	sub pdata,1,null
+	rtn positive
+	jam 0,mem_mouse_tz_data_count1
+	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_count
+	increase 1,pdata
+	store 1,mem_mouse_tz_data_count
+	sub pdata,1,null
+	rtn positive
+	jam 0,mem_mouse_tz_data_count
+	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:
+	jam 0,mem_mouse_z_data_count1
+	fetch 1,mem_mouse_z_data
+	increase 1,pdata
+	store 1,mem_mouse_z_data
+	rtn
+mouse_wheel_back:
+	jam 0,mem_mouse_z_data_count
+	fetch 1,mem_mouse_z_data
+	increase -1,pdata
+	store 1,mem_mouse_z_data
+	rtn
+	
+	
+mouse_hid_connected:
+	setarg HID_HANDSHAKE_TIMEOUT
+	store 1,mem_hid_handshake_timer_count
+	rtn
+	
+mouse_send_process:
+	fetch 1,mem_app_handshake_flag
+	rtn blank
+	call l2cap_malloc_is_fifo_nearly_full
+	nrtn blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOSUE_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
+	call mouse_motion
+	nrtn user
+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_empty_data:
+	setarg 0
+	store 7,mem_mouse_key
+	branch mouse_send_data
+
+
+mouse_no_data_timer_init:
+	fetch 2,mem_mouse_no_data_timeout
+	store 2,mem_mouse_no_data_timer
+	rtn
+
+	
+mouse_fill_data_le:
+	bpatch patch1c_5,mem_patch1c
+	arg 7,rega //len
+	fetcht 2,mem_le_notify_handle
+	call le_att_malloc_tx_notify
+	fetch 7,mem_mouse_key
+	istore 7,contw
+	rtn
+
+mouse_motion:
+	bpatch patch1c_6,mem_patch1c
+	disable user
+	setarg 0
+	store 6,mem_mouse_x
+	call mouse_cheak_sensor_data
+	call mouse_zwheel
+	call mouse_t_zwheel
+	call mouse_key
+	nrtn user
+	call mouse_no_data_timer_init
+	arg MOUSE_STATUE_UP_FLAG,queue
+	branch mouse_enable_function_flag
+	
+motion_6clk_direction_dispose:
+	fetch 2,mem_mouse_x
+	sub pdata,0,pdata
+	store 2,mem_mouse_x
+	branch enable_user
+motion_12clk_direction_dispose:
+	fetch 2,mem_mouse_y
+	sub pdata,0,pdata
+	store 2,mem_mouse_y
+	branch enable_user
+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
+motion_3clk_direction_dispose:
+	call mouse_sensor_data_swap_places
+	branch enable_user
+mouse_cheak_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 P3610,mouse_p3610_sensor_motion
+	beq P3065_xy,mouse_p32xx_sensor_motion
+	branch mouse_p32xx_sensor_motion
+	
+mouse_clear_sensor_data:
+	fetch 1,mem_mouse_move_flag
+	call mouse_read_sensor_common,blank
+	jam 1,mem_mouse_move_flag
+	rtn
+
+
+mouse_p3212_sensor_motion:
+	call mouse_clear_sensor_data
+	fetcht 1,mem_sensor_data_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
+	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 extsign_bit3
+	store 1,mem_mouse_x+1
+	fetch 1,mem_mouse_xy_h
+	and pdata,0x0f,pdata
+	call extsign_bit3
+	store 1,mem_mouse_y+1
+	fetch 1,mem_config_sensor_angle
+	beq MOUSE_6CLK_ANGLE,motion_6clk_direction_dispose
+	beq MOUSE_9CLK_ANGLE,motion_9clk_direction_dispose
+	beq MOUSE_12CLK_ANGLE,motion_12clk_direction_dispose
+	beq MOUSE_3CLK_ANGLE,motion_3clk_direction_dispose
+	rtn
+
+mouse_read_3212sensor_xy_high:
+	setarg 0x12
+	branch twspi_read
+	
+mouse_p3065_judge:
+	beq P3065_ID1,mouse_p32xx_sensor_motion_1
+	branch mouse_twspi_reset
+	
+mouse_p32xx_sensor_motion:
+	call mouse_clear_sensor_data
+	disable user
+	fetcht 1,mem_sensor_data_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 extsign
+	store 2,mem_mouse_x
+	fetch 1,mem_mouse_y
+	call extsign
+	store 2,mem_mouse_y
+	fetch 1,mem_config_sensor_angle
+	beq MOUSE_6CLK_ANGLE,motion32xx_6clk_direction_selection
+	beq MOUSE_9CLK_ANGLE,motion32xx_9clk_direction_selection
+	beq MOUSE_12CLK_ANGLE,motion32xx_12clk_direction_selection
+	beq MOUSE_3CLK_ANGLE,motion32xx_3clk_direction_selection
+	rtn
+	
+motion32xx_6clk_direction_selection:
+	call motion_6clk_direction_dispose
+	branch mouse_sensor_sdio_low
+motion32xx_9clk_direction_selection:
+	call motion_9clk_direction_dispose
+	branch mouse_sensor_sdio_low
+motion32xx_12clk_direction_selection:
+	call motion_12clk_direction_dispose
+	branch mouse_sensor_sdio_low
+motion32xx_3clk_direction_selection:
+	call motion_3clk_direction_dispose
+	branch mouse_sensor_sdio_low
+	
+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
+//input regb  output:pdata
+mouse_p3610sensor_read:
+	call spi_ncs_enable
+	nop 100
+	copy regb,pdata
+	call twspi_read
+	copy pdata,regb
+	call spi_ncs_disable
+	nop 100
+	copy regb,pdata
+	rtn	
+mouse_p3610_sensor_motion:
+	disable user
+	fetcht 1,mem_sensor_data_gpio
+	call gpio_get_bit
+	nrtn true
+	arg PAN_REG_MOTION_STAUS,regb
+	call mouse_p3610sensor_read
+	rtnbit0 7
+	arg PAN_REG_PID_L,regb
+	call mouse_p3610sensor_read
+	store 1,mem_sensor_id1
+	bne P3610_ID1,mouse_init_3610sensor_reset
+	fetch 1,mem_mouse_move_flag
+	call mouse_read_sensor3610_data,blank
+	jam 1,mem_mouse_move_flag
+	call mouse_read_sensor3610_data
+	fetch 1,mem_mouse_xy_h
+	rshift4 pdata,pdata
+	call extsign_bit3
+	store 1,mem_mouse_x+1
+	fetch 1,mem_mouse_xy_h
+	and pdata,0x0f,pdata
+	call extsign_bit3
+	store 1,mem_mouse_y+1
+	fetch 1,mem_config_sensor_angle
+	beq 0,motion3610_6clk_direction_selection
+	beq 1,motion3610_9clk_direction_selection
+	beq 2,motion3610_12clk_direction_selection
+	beq 3,motion3610_3clk_direction_selection
+	rtn
+
+mouse_3610_smart_select:
+	fetch 1,mem_sensor_smart_flag
+	beq P3610_SMART_ENABLE,mouse_3610_smart_disable
+	beq P3610_SMART_DISABLE,mouse_3610_smart_enable
+	rtn
+
+
+motion3610_6clk_direction_selection:
+	call motion_6clk_direction_dispose
+	branch mouse_3610_smart_select
+	
+motion3610_12clk_direction_selection:
+	call motion_12clk_direction_dispose
+	branch mouse_3610_smart_select
+	
+motion3610_9clk_direction_selection:
+	call motion_9clk_direction_dispose
+	branch mouse_3610_smart_select
+	
+motion3610_3clk_direction_selection:
+	call motion_3clk_direction_dispose
+	branch mouse_3610_smart_select
+	
+mouse_read_sensor3610_data:
+	call spi_ncs_enable
+	call mouse_read_sensor_common
+	arg 5,pdata
+	call twspi_read
+	store 1,mem_mouse_xy_h
+	arg 7,pdata
+	call twspi_read
+	store 1,mem_sensor_shutter_hi
+	arg 8,pdata
+	call twspi_read
+	store 1,mem_sensor_shutter_lo
+	branch spi_ncs_disable
+
+
+mouse_3610_smart_enable:
+	fetch 1,mem_sensor_shutter_hi
+	rtnne 0
+	fetch 1,mem_sensor_shutter_lo
+	sub pdata,45,null
+	rtn positive
+	jam P3610_SMART_ENABLE,mem_sensor_smart_flag
+	setarg 0xba41
+	call sensor_write
+	setarg 0x0032
+	call sensor_write
+	setarg 0xb541
+	branch sensor_write
+mouse_3610_smart_disable:
+	fetch 1,mem_sensor_shutter_hi
+	rtnne 0
+	fetch 1,mem_sensor_shutter_lo
+	sub pdata,45,null
+	nrtn positive
+	jam P3610_SMART_DISABLE,mem_sensor_smart_flag
+	setarg 0xba41
+	call sensor_write
+	setarg 0x8032
+	call sensor_write
+	setarg 0xb541
+	branch sensor_write
+
+
+
+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_set_qdecoder_x:
+	arg MOUSE_DEFAULT_XA_GPIO,temp
+	call gpio_config_input
+	arg MOUSE_DEFAULT_XA_GPIO,temp
+	call gpio_get_bit
+	rtn true
+	hfetch 1,core_qdec_cntx
+	set1 4,pdata
+	hstore 1,core_qdec_cntx
+	rtn
+
+mouse_hardware_zwheel:
+	fetcht 1,mem_mouse_z_data
+	hfetch 1,core_qdec_cntx
+	iadd temp,pdata
+	rtn blank
+	store 1,mem_mouse_z
+	jam 0,mem_mouse_z_data
+	branch enable_user
+mouse_hardware_zwheel_beforelpm:
+	fetcht 1,mem_mouse_z_data
+	hfetch 1,core_qdec_cntx
+	iadd temp,pdata
+	store 1,mem_mouse_z_data
+	rtn
+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_check_key_gpio:
+	arg 0,rega
+	fetcht 1,mem_lbutton_gpio
+	call gpio_get_bit
+	setflag true,0,rega
+	fetcht 1,mem_rbutton_gpio
+	call gpio_get_bit
+	setflag true,1,rega
+	fetcht 1,mem_mbutton_gpio
+	call gpio_get_bit
+	setflag true,2,rega
+	call mouse_check_s_key_gpio
+	copy rega,pdata
+	rtn
+mouse_check_s_key_gpio:
+	fetch 1,mem_bk_button_gpio
+	rtneq GPIO_DISABLE
+	fetcht 1,mem_bk_button_gpio
+	call gpio_get_bit
+	setflag true,3,rega
+	fetcht 1,mem_fw_button_gpio
+	call gpio_get_bit
+	setflag true,4,rega
+	rtn
+
+mouse_key:
+	call mouse_check_key_gpio
+	call mouse_set_mult
+	call mouse_24g_key
+	copy rega,pdata
+	fetcht 1,mem_mouse_key
+	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
+
+//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
+	
+	/* sdio high will cost extra 9mA */
+mouse_sensor_sdio_low:
+	bpatch patch1c_7,mem_patch1c
+	arg MOUSE_SPI1_SDIO_GPIO,temp
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	isolate1 MOUSE_ENABLE_SPI2,pdata
+	call mouse_sensor_sdio_low2,true
+	call gpio_get_bit
+	rtn true
+	setarg 0x0a
+	call twspi_read
+	nop 1000
+	branch mouse_sensor_sdio_low
+mouse_sensor_sdio_low2:
+	arg MOUSE_SPI2_SDIO_GPIO,temp
+	rtn
+
+mouse_spi_sdio_gpio_pollup:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SPI2,mouse_spi2_sdio_gpio_pollup
+mouse_spi1_sdio_gpio_pollup:
+	arg MOUSE_SPI1_SDIO_GPIO,temp
+	branch gpio_config_input_without_wake
+mouse_spi2_sdio_gpio_pollup:
+	arg MOUSE_SPI2_SDIO_GPIO,temp
+	branch gpio_config_input_without_wake
+
+	
+mouse_init_sunt:
+	call mouse_spi_init
+	rtn wake
+	call mouse_spi_sdio_gpio_pollup
+	fetch 1,mem_config_sensor_type
+	beq P3610,mouse_init_3610sensor
+mouse_init_sensor:
+	call mouse_read_sensor_id
+	beq P32XX_ID1,mouse_init_p32xx_id2_judge
+	beq P3065_ID1,mouse_p3065_init_param
+	call mouse_twspi_reset
+	nop 1000
+	branch mouse_init_sensor
+mouse_twspi_reset:
+	bpatch patch1d_0,mem_patch1d
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SPI2,twspi_reset2
+	branch twspi_reset
+
+mouse_init_3610sensor:
+	call mouse_read_sensor_id
+	beq P3610_ID1,mouse_init_p3610
+	call mouse_init_3610sensor_reset
+	branch mouse_init_3610sensor
+	
+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 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
+	rtn
+mouse_ka8_init_param:
+	jam KA8,mem_config_sensor_type
+	rtn
+mouse_p3065xy_init_param:
+	jam P3065_XY,mem_config_sensor_type
+	rtn
+mouse_p3065_init_param:
+	fetch 1,mem_sensor_id2
+	beq P3065_XY_ID2,mouse_p3065xy_init_param
+	jam P3065,mem_config_sensor_type
+	rtn
+mouse_3212_init_param:
+	jam P3212,mem_config_sensor_type
+	call mouse_sensor_disable_wp
+	setarg 0x3426
+	call twspi_write
+	setarg 0x0419
+	call twspi_write
+mouse_sensor_enable_wp:
+	setarg 0x0009
+	branch twspi_write
+mouse_sensor_disable_wp:
+	setarg 0x5a09
+	branch twspi_write
+
+mouse_3204_3l_init_param:
+	jam P3204,mem_config_sensor_type
+	call mouse_sensor_disable_wp
+	setarg 0x0f0d//
+	call twspi_write
+	setarg 0xe31d//
+	call twspi_write
+	setarg 0xd27d
+	call twspi_write
+	call mouse_32xx_init_param
+	branch mouse_32xx_init_param_1
+	
+mouse_32xx_init_param:
+	setarg 0x351b
+	call twspi_write
+	setarg 0xb428
+	call twspi_write
+	setarg 0x4629
+	call twspi_write
+	setarg 0x962a
+	call twspi_write
+	setarg 0x8c2b
+	call twspi_write
+	setarg 0x6e2c
+	call twspi_write
+	setarg 0x642d
+	call twspi_write
+	setarg 0x5f38
+	call twspi_write
+	setarg 0x0f39
+	call twspi_write
+	setarg 0x323a
+	call twspi_write
+	setarg 0x473b
+	call twspi_write
+	setarg 0x1042
+	branch twspi_write
+mouse_32xx_init_param_1:	
+	setarg 0x2e54
+	call twspi_write
+	setarg 0xf255
+	call twspi_write
+	setarg 0xf461
+	call twspi_write
+	setarg 0x7063
+	call twspi_write
+	setarg 0x5275
+	call twspi_write
+	setarg 0x4176
+	call twspi_write
+	setarg 0xed77
+	call twspi_write
+	setarg 0x2378
+	call twspi_write
+	setarg 0x4679
+	call twspi_write
+	setarg 0xe57a
+	call twspi_write
+	setarg 0x487c
+	call twspi_write
+	setarg 0x777e
+	call twspi_write
+	setarg 0x017f
+	call twspi_write
+	setarg 0x000b
+	call twspi_write
+	setarg 0x007f
+	call twspi_write
+	branch mouse_sensor_enable_wp
+	
+
+mouse_3205_3t_init_param:
+	jam P3205,mem_config_sensor_type
+	call mouse_sensor_disable_wp
+	setarg 0x100d//
+	call twspi_write
+	setarg 0xed1d//
+	call twspi_write
+	setarg 0x807d
+	call twspi_write
+	call mouse_32xx_init_param
+	setarg 0x0943
+	call twspi_write
+	branch mouse_32xx_init_param_1
+	
+	
+mouse_init_3610sensor_reset:
+	fetcht 1,mem_sensor_reset_gpio
+	call gpio_out_active
+	call delay_10ms
+	fetcht 1,mem_sensor_reset_gpio
+	call gpio_out_inactive
+	branch delay_10ms
+
+mouse_init_p3610:
+	jam P3610,mem_config_sensor_type
+	setarg 0xba41
+	call sensor_write
+	setarg 0x0d11
+	call sensor_write
+	setarg 0x041b
+	call sensor_write
+	setarg 0x041c
+	call sensor_write
+	setarg 0x0f1d
+	call sensor_write
+	setarg 0x0032
+	call sensor_write
+	setarg 0xb541
+	branch sensor_write
+	
+	
+//input-rega
+mouse_set_sensor_reg:
+	setarg 0xba41
+	call sensor_write
+	nop 4000
+	setarg 0xff7f
+	call sensor_write
+	copy rega,pdata
+	call sensor_write
+	setarg 0x007f
+	call sensor_write
+	setarg 0xb541
+	branch sensor_write
+
+extsign:
+	rtnbit0 7
+	arg 0xff00,temp
+	ior temp,pdata
+	rtn
+
+extsign_bit3:
+	rtnbit0 3
+	arg 0xf0,temp
+	ior temp,pdata
+	rtn
+
+
+mouse_le:
+	call le_fifo_check_nearly_full
+	nrtn blank
+	fetch 1,mem_le_connect_status_flag
+	and pdata,0x03,pdata
+	rtnne 0x03
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOSUE_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
+	call mouse_motion
+	nrtn user
+	branch mouse_fill_data_le
+
+mouse_le_send_empty_packet:
+	setarg 0
+	store 7,mem_mouse_key
+	branch mouse_fill_data_le
+
+mouse_priority_bb_event:	
+	copy regc,pdata
+	beq BT_EVT_LE_CONNECTED,mouse_le_bb_event_connected
+	beq BT_EVT_BB_CONNECTED,mouse_stop_discovery
+	beq BT_EVT_LE_DISCONNECTED,mouse_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,mouse_bt_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_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_START_ENC,mouse_le_ll_start_encryt
+	beq BT_EVT_LE_PAIRING_COMPLETE,mouse_le_pairing_complete
+	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
+	rtn
+
+
+mouse_le_pairing_complete:
+	branch app_ble_store_reconn_info
+
+mouse_24g_attempt_fail:
+	jam 1,mem_mouse_24g_enter_lpm_enable
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	fetch 1,mem_device_flag
+	fetcht 1,mem_24g_device_number
+	isub temp,null
+	branch app_enter_hibernate,zero
+	rtn
+mouse_24g_attempt_success:
+	jam 1,mem_mouse_24g_enter_lpm_enable
+	rtn
+mouse_24g_pairing_complete:
+	jam 1,mem_mouse_24g_enter_lpm_enable
+	arg MOSUE_24G_PAIRING_FLAG,queue
+	call mouse_disable_function_flag
+	setarg 0
+	store 2,mem_24g_pairing_timer_count
+	jam 0,mem_mouse_move_flag
+	
+	fetch 1,mem_config_sensor_type
+	sub pdata,P3610,null
+	call mouse_read_sensor3610_data,zero
+	ncall mouse_read_sensor_common,zero
+
+	fetch 1,MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_FLASH,mouse_store_flash_24g_address
+	call mouse_set_24g_addr_eeprom	//store rx dongle addr to eeprom
+	branch iicd_write_protect_eep_data
+
+mouse_set_24g_addr_eeprom:
+	call g24_head_ptr2regc
+	add regc,offset_24g_addr,rega
+	arg MOUSE_G24_ADDR_EEPROM_OFFECT,regb
+	arg 4,temp
+	rtn
+
+mouse_store_flash_24g_address:
+	call g24_head_ptr2regc
+	add regc,offset_24g_addr,regb
+	ifetch 1,regb
+	store 1,mem_mouse_24g_addr
+	branch mouse_store_flash_device_info
+	
+
+mouse_le_pairing_success:
+	arg LL_PAIRING_SUCCESS_FLAG,queue
+	branch mouse_le_enable_connect_flag
+mouse_le_ll_start_encryt:
+	jam 2,mem_le_start_encrypt_timer
+	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_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_bb_event_connected:
+	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
+	setarg 0
+	store 2,mem_mouse_direct_timer
+	call mouse_no_data_timer_init
+	branch mouse_stop_discovery
+
+mouse_bb_event_pincode:
+	call pincode_reinit
+	branch app_bt_set_pincode
+mouse_bb_event_reconn_timeout:
+ifdef FPGA_DEBUG
+	arg MOUSE_FPGA_DEBUG_GPIO,temp
+	call gpio_config_output
+	arg MOUSE_FPGA_DEBUG_GPIO,temp
+	call gpio_out_inactive
+endif
+mouse_bb_event_reconn_failed:
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_SELECT_DEVICE_FLAG,mouse_soft_reset
+	bbit1 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG,mouse_start_discovery
+	bbit1 MOSUE_24G_PAIRING_FLAG,g24_start_pairing_sm1
+	branch app_bb_hibernate
+
+	
+mouse_bt_hid_connected:
+	branch mouse_hid_connected
+
+mouse_bt_event_setup_complete:
+	rtn
+
+mouse_soft_reset:
+	call mouse_select_device_enable
+	branch soft_reset_chip
+
+mouse_bb_disconnected:
+	bpatch patch1d_1,mem_patch1d
+	call mouse_bb_discon_clear_stack
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_SELECT_DEVICE_FLAG,mouse_soft_reset
+	bbit1 MOSUE_24G_PAIRING_FLAG,g24_start_pairing_sm1
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	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_send_blank_timer
+	jam 0,mem_mouse_move_flag
+	jam APP_HANDSHAKE_NULL,mem_app_handshake_flag
+	jam 0,mem_ltk_exists
+	rtn
+
+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
+	branch app_bb_hibernate
+
+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 app_bb_hibernate
+
+mouse_bb_event_timer:
+	call mouse_adc_read
+	call mouse_24g_delay_timer
+	call mouse_ban_24g_pairing_timer
+	call mouse_dpi_led_blink_delay_timer
+	call mouse_statue_up_timer
+	//poll
+	call mouse_statue_cheak_timer
+	call mouse_select_device
+	call mouse_bt_discovery_cheak
+	call mouse_low_voltage_led_timer
+	call mouse_sensor_led_contrl_timer
+	call mouse_check_hid_handshake_timer
+	call mouse_check_discovery_timeout_timer
+	call mouse_check_direct_timeout_timer
+	call mouse_check_no_data_timeout_timer
+	call mouse_check_mouse_state_timer
+	branch mouse_le_enable_att_list_timer
+
+
+
+mouse_sensor_led_contrl_timer:
+	fetch 1,mem_mouse_sensor_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_mouse_sensor_timer_count
+	nrtn blank
+	branch mouse_sensor_led_contrl
+mouse_sensor_led_contrl:
+	fetch 1,mem_sensor_led_style
+	rtneq UI_LED_STATE_BLINK_STOP
+	beq UI_LED_STATE_BLINK_DARKING,mouse_sensor_led_blink_state_darking
+mouse_sensor_led_blink_state_lighting:
+	call mouse_sensor_led_on
+	jam UI_LED_STATE_BLINK_DARKING,mem_sensor_led_style
+	jam LED_SENSOR_BLINK_CNT,mem_mouse_sensor_timer_count
+	rtn
+mouse_sensor_led_blink_state_darking:
+	call mouse_sensor_led_off
+	jam UI_LED_STATE_BLINK_LIGHTING,mem_sensor_led_style
+	jam LED_SENSOR_BLINK_CNT,mem_mouse_sensor_timer_count
+	rtn
+	
+mouse_sensor_led_blink_stop:
+mouse_sensor_reset:
+	setarg 0x8006
+	call twspi_write
+    nop 1000
+	jam 0x00,mem_mouse_sensor_timer_count
+	jam UI_LED_STATE_BLINK_STOP,mem_sensor_led_style
+	branch mouse_init_p32xx_id2_judge
+	
+mouse_p3212sensor_led_on:
+	setarg 0xa006
+	call twspi_write
+	setarg 0xa005
+	branch twspi_write
+mouse_sensor_led_on_global:
+	jam 0,mem_mouse_sensor_timer_count
+mouse_sensor_led_on:
+	fetch 1,mem_config_sensor_type
+	beq P3212,mouse_p3212sensor_led_on
+	setarg 0x0106
+	call twspi_write
+	setarg 0xa105
+	branch twspi_write
+	
+mouse_sensor_led_off_global:
+	jam 0,mem_mouse_sensor_timer_count	
+mouse_sensor_led_off:
+	setarg 0x0906
+	branch twspi_write
+mouse_sensor_start_blink:
+	jam LED_SENSOR_BLINK_CNT,mem_mouse_sensor_timer_count
+	jam UI_LED_STATE_BLINK_START,mem_sensor_led_style
+	rtn
+	
+mouse_check_hid_handshake_timer:
+	arg mem_hid_handshake_timer_count,regc
+	arg mouse_bt_hid_handshake,regb
+	branch timer_single_step
+
+mouse_check_discovery_timeout_timer:	
+	arg mem_mouse_discovery_timer,regc
+	arg mouse_check_discovery_timeout,regb
+	branch timer_single_step_2B
+
+mouse_check_direct_timeout_timer:	
+	arg mem_mouse_direct_timer,regc
+	arg mouse_check_direct_timeout,regb
+	branch timer_single_step_2B
+	
+mouse_check_no_data_timeout_timer:	
+	arg mem_mouse_no_data_timer,regc
+	arg mouse_check_no_data_timeout,regb
+	branch timer_single_step_2B
+	
+mouse_check_mouse_state_timer:
+	arg mem_mouse_statue_led_timer,regc
+	arg mouse_statue_led_off,regb
+	branch timer_single_step
+
+
+
+mouse_le_enable_att_list_timer:
+	arg mem_le_start_encrypt_timer,regc
+	arg mouse_le_enable_att_list,regb
+	branch timer_single_step
+
+mouse_24g_delay_timer:
+	arg mem_24g_enter_lpm_timer,regc
+	arg mouse_24g_delay,regb
+	branch timer_single_step
+
+mouse_ban_24g_pairing_timer:
+	arg mem_24g_pairing_timer_count,regc
+	arg mouse_ban_24g_pairing,regb
+	branch timer_single_step_2B
+mouse_ban_24g_pairing:
+mouse_24g_delay:
+	rtn
+
+
+mosue_dpi_led_blink_init:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_DPI_LED_BLINK
+	jam 10,mem_mouse_dpi_led_delay_count  //delay 1s led blink
+	fetch 1,mem_dpi_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	rtn
+
+
+mouse_dpi_led_blink_delay_timer:
+	arg mem_mouse_dpi_led_delay_count,regc
+	arg mouse_dpi_led_setting,regb
+	branch timer_single_step	
+mouse_dpi_led_setting:
+	fetch 1,mem_dpi_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	setarg LED_DPI_BLINK
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time
+	arg 0,rega
+	fetcht 1,mem_mouse_dpi
+	increase 1,temp
+	storet 1,mem_mouse_blink_count
+	jam UI_LED_STATE_BLINK_START,mem_mouse_led_type
+	rtn
+	
+mouse_le_enable_att_list:	
+	fetch 1,mem_le_connect_status_flag
+	rtnbit1 LL_PAIRING_SUCCESS_FLAG
+	jam BT_CMD_LE_UPDATE_CONN,mem_fifo_temp
+	call ui_ipc_send_cmd
+	arg WRITE_REQ_ENABLE_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+
+mouse_check_discovery_timeout:
+	call mouse_stop_discovery
+	branch app_enter_hibernate
+
+mouse_check_direct_timeout:
+	call app_ble_stop_direct_adv
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	branch app_enter_hibernate
+
+mouse_check_no_data_timeout:
+	bmark1 mark_24g,check_51cmd_hibernate
+	branch mouse_disconnect
+
+	
+
+mouse_bb_event_discovery_btn:
+	bpatch patch1d_2,mem_patch1d
+	jam 0,mem_mouse_send_blank_timer
+	call mouse_disconnect
+	call mouse_le_clean_connect_flag
+	branch mouse_start_discovery
+
+
+
+mouse3_0_check_reconn_target:
+	fetch 6,mem_hci_plap
+	branch app_bt_start_discovery_short,blank
+	call mouse_reconn_setting_led_gpio
+	jam 0x17,mem_connection_options  //ssp
+	fetch 1,mem_ssp_enable
+	nbranch app_bt_start_reconnect,blank
+	jam 0x04,mem_connection_options  //no ssp
+	branch app_bt_start_reconnect
+	
+mouse4_0_check_reconn_target:
+	fetch 2,mem_mouse_direct_timeout
+	store 2,mem_mouse_direct_timer
+	call mouse_reconn_setting_led_gpio
+	call app_lpm_mult_disable
+	branch check_51cmd_adv
+
+mouse_reconn_setting_led_gpio:
+	setarg LED_RECONNECT_BLINK
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time
+	branch mouse_setting_led_gpio_comman
+	
+mouse_discover_setting_led_gpio:
+	setarg LED_DISCOVERY_BLINK
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time	
+mouse_setting_led_gpio_comman:
+	fetch 1,mem_device_flag
+	beq MODE_BT_DEVICE1,mouse_device_led1
+	beq MODE_BT_DEVICE2,mouse_device_led2
+	beq MODE_BT_DEVICE3,mouse_device_led3
+	rtn
+mouse_device_led1:
+	fetch 1,mem_config_device1_led_gpio
+	branch mouse_led_blink
+mouse_device_led2:
+	fetch 1,mem_config_device2_led_gpio
+	branch mouse_led_blink
+mouse_device_led3:
+	fetch 1,mem_config_device3_led_gpio
+mouse_led_blink:
+	store 1,mem_temp
+	call mouse_devce_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_led_off:
+	arg 0,rega
+	branch ui_led_off_global
+mouse_led_on:
+	arg 0,rega
+	branch ui_led_on_global
+
+mouse4_0_bb_event_discovery_btn:
+	branch mouse_le_clean_connect_flag
+	
+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
+	branch app_bt_enter_sniff
+
+mouse_check_reconn_target:
+	call mouse_cheak_select_device_by_switch
+	fetch 1,mem_device_flag
+	fetcht 1,mem_24g_device_number
+	isub temp,null
+	branch mouse_connect_24g_mode,zero
+	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_connect_24g_mode:
+	call mouse_start_24g_mode
+	rtnmark1 mark_24g
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	rtn
+	
+mouse_start_discovery:
+	bpatch patch1d_3,mem_patch1d
+	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
+	random pdata					//random ble addr
+	store 1,mem_le_lap+1
+mouse_start_discovery_norandom:
+	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 2,mem_mouse_direct_timer
+	arg MOUSE_STORE_EEPROM_FLAG,queue
+	call mouse_enable_function_flag
+	call mouse_bt_discovery_button_down_disable
+	fetch 1,mem_device_option
+	isolate1 MODE_4_MOUSE,pdata
+	call check_51cmd_adv,true
+	fetch 1,mem_device_option
+	isolate1 MODE_3_MOUSE,pdata
+	call check_51cmd_start_discovery,true
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_DISCOVERY_SENSOR_LED,mouse_sensor_start_blink
+	branch mouse_discover_setting_led_gpio
+
+mouse_stop_discovery:
+	bpatch patch1d_4,mem_patch1d
+	fetch 1,mem_device_option
+	isolate1 MODE_4_MOUSE,pdata
+	call mouse_stop_le_adv,true
+	fetch 1,mem_device_option
+	isolate1 MODE_3_MOUSE,pdata
+	call mouse_stop_bt3_discovery,true
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_DISCOVERY_SENSOR_LED,mouse_sensor_led_blink_stop
+	branch mouse_devce_led_off
+mouse_stop_le_adv:
+	setarg 0
+	store 2,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:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_STORE_EEPROM_FLAG
+	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
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_FLASH,mouse_store_flash_device_info
+	bbit1 MOUSE_ENABLE_EEPROM,mouse_store_eeprom_device_info	
+	rtn
+mouse_store_eeprom_device_info:
+	arg 88,temp
+	arg mem_device_flag,rega
+	arg MOUSE_INFO_EEPROM_OFFECT,regb
+	branch iicd_write_protect_eep_data
+
+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_eeprom_load_recon_info:
+	arg 88,temp
+	arg mem_device_flag,rega
+	arg MOUSE_INFO_EEPROM_OFFECT,regb
+	call iicd_read_eep_data
+mouse_select_reconn_device:
+	arg mem_device1_type,rega
+	fetch 1,mem_device_flag
+	fetcht 1,mem_24g_device_number
+	isub temp,null
+	rtn zero
+	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_select_device:
+	fetch 1,mem_config_function_enable
+	bbit1 ENABLE_SELECT_DEVICE_BY_GPIO_BUTTON,mouse_select_device_by_button
+	bbit1 ENABLE_SELECT_DEVICE_BY_SWITCH,mouse_select_device_by_switch
+	branch mouse_select_device_by_combination_key
+
+mouse_select_device_by_combination_key:
+	call mouse_check_key_gpio
+	beq MOUSE_RM_BUTTON,mouse_select_device_commbination_key_down
+mouse_select_device_commbination_key_up:
+	jam 30,mem_combination_select_device_count	//combination key timer init 
+	fetch 1,mem_select_device_button_statue
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_select_device_button_statue	
+	rtn
+	
+mouse_select_device_commbination_key_down:
+	call mouse_combination_select_device_timer
+	fetch 1,mem_select_device_button_statue
+	rtneq DPI_BUTTON_STATE_DOWN
+	jam DPI_BUTTON_STATE_DOWN,mem_select_device_button_statue
+	branch mouse_select_device_enable
+
+mouse_combination_select_device_timer:
+	fetch 1,mem_combination_select_device_count
+	rtn blank
+	pincrease -1
+	store 1,mem_combination_select_device_count
+	nrtn blank
+	branch mouse_ready_reconnection_by_button
+	
+mouse_select_device_by_button:
+	fetch 1,mem_config_select_device_button_gpio
+	rtneq GPIO_DISABLE
+	fetcht 1,mem_config_select_device_button_gpio
+	call gpio_get_bit
+	branch mouse_select_device_button_down,true
+mouse_select_device_button_up:
+	fetch 1,mem_select_device_button_statue
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_select_device_button_statue	
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_LONG_BT_BUTTON_FLAG
+	branch mouse_ready_reconnection_by_button
+
+mouse_select_device_button_down:
+	fetch 1,mem_select_device_button_statue
+	rtneq DPI_BUTTON_STATE_DOWN
+	jam DPI_BUTTON_STATE_DOWN,mem_select_device_button_statue
+	arg MOUSE_LONG_BT_BUTTON_FLAG,queue
+	branch mouse_disable_function_flag
+
+
+
+mouse_select_device_by_switch:
+	fetch 1,MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 ENABLE_SELECT_DEVICE_BY_SWITCH
+	fetch 1,mem_device_flag
+	beq MODE_BT_DEVICE1,mouse_select1_device
+	beq MODE_24G_DEVICE,mouse_select2_device
+	rtn
+mouse_cheak_select_device_by_switch:
+	fetch 1,MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 ENABLE_SELECT_DEVICE_BY_SWITCH
+	fetcht 1,mem_config_select_device_button_gpio
+	call gpio_get_bit
+	branch mouse_cheak_select_24gdevice,true
+mouse_select_btdevice:
+	jam MODE_BT_DEVICE1,mem_device_flag
+	rtn
+mouse_cheak_select_24gdevice:
+	fetch 1,mem_24g_device_number
+	store 1,mem_device_flag
+	rtn
+mouse_select1_device:
+	fetcht 1,mem_config_select_device_button_gpio
+	nbranch mouse_ready_reconnection_by_button,true
+	rtn
+mouse_select2_device:
+	fetcht 1,mem_config_select_device_button_gpio
+	call gpio_get_bit
+	branch mouse_select_device_button_down,true
+	rtn
+
+
+	
+
+mouse_ready_reconnection_by_button:
+	fetcht 1,mem_device_flag
+	increase 1,temp
+	fetch 1,mem_device_number
+	isub temp,null
+	ncall mouse_select_device_count_clean,positive
+	storet 1,mem_device_flag
+	jam 0,mem_link_key_exists
+	call mouse_store_device_number2eeprom
+	call mouse_select_device_enable
+//	call p_select_reconn_device
+	branch mouse_set_reconnection
+
+mouse_store_device_number2eeprom:
+	arg 1,temp
+	arg mem_device_flag,rega
+	arg 0,regb
+	branch iicd_write_eep_data
+
+mouse_set_reconnection:
+	call mouse_stop_bluetooth_mode
+	call mouse_select_device_disable
+	branch mouse_soft_reset
+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:
+	bpatch patch1d_5,mem_patch1d
+	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_irtual_cable_unplug:
+	setarg 0x01
+	store 6,mem_plap
+	jam REC_3_MODE,mem_record_bt_mode
+	branch mouse_unplug_clean_bdaddr
+
+	
+mouse_cancel_reconnect:
+	call mouse_bt_cannel_reconn_enable
+	branch check_51cmd_bb_reconn_cancel
+
+mouse_bt_discovery_by_button:
+	fetch 1,mem_config_bt_button_gpio
+	rtneq GPIO_DISABLE
+	fetcht 1,mem_config_bt_button_gpio
+	call gpio_get_bit
+	branch mouse_bt_discovery_button_down,true
+mouse_bt_discovery_button_up:
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_combination_ui_button_count	//combination key timer init 	
+	fetch 1,mem_bt_discovey_button_statue
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_bt_discovey_button_statue	
+	branch mouse_bt_discovery_button_down_disable
+mouse_bt_discovery_button_down:
+	call mouse_bt_discovry_timer
+	fetch 1,mem_bt_discovey_button_statue
+	rtneq DPI_BUTTON_STATE_DOWN
+	jam DPI_BUTTON_STATE_DOWN,mem_bt_discovey_button_statue
+	call check_51cmd_bb_reconn_cancel
+	branch mouse_bt_discovery_button_down_enable
+
+	
+mouse_bt_discovery_cheak:
+	fetch 1,mem_config_function_enable
+	bbit1 ENABLE_BT_BUTTON,mouse_bt_discovery_by_button
+mouse_bt_discovery_commbination_key:
+	call mouse_check_key_gpio
+	beq MOUSE_LMR_BUTTON,mouse_bt_discovery_commbination_key_down
+mouse_bt_discovery_commbination_key_up:
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_combination_ui_button_count	//combination key timer init 
+	fetch 1,mem_bt_discovey_button_statue
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_bt_discovey_button_statue	
+	branch mouse_bt_discovery_button_down_disable
+	
+	
+mouse_bt_discovery_commbination_key_down:
+	call mouse_bt_discovry_timer
+	fetch 1,mem_bt_discovey_button_statue
+	rtneq DPI_BUTTON_STATE_DOWN
+	jam DPI_BUTTON_STATE_DOWN,mem_bt_discovey_button_statue
+	call check_51cmd_bb_reconn_cancel
+	branch mouse_bt_discovery_button_down_enable
+
+mouse_bt_discovry_timer:
+	arg mem_combination_ui_button_count,regc
+	arg mouse_long_button_bt_discovry,regb
+	branch timer_single_step
+	
+mouse_long_button_bt_discovry:
+	arg MOUSE_LONG_BT_BUTTON_FLAG,queue
+	call mouse_enable_function_flag
+	call app_evt_button_long_pressed
+	branch mouse_bb_event_discovery_btn
+
+
+mouse_cpi_enable:
+	arg MOUSE_CPI_FLAG,queue
+	branch mouse_enable_function_flag
+mouse_cpi_disable:
+	arg MOUSE_CPI_FLAG,queue
+	branch mouse_disable_function_flag
+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_select_device_count_clean:
+	arg 1,temp
+	rtn
+
+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_adc_read:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_ADC
+	fetch 1,mem_adc_read_timer
+	increase 1,pdata
+	store 1,mem_adc_read_timer
+	sub pdata,10,null              //1s read adc
+	rtn positive
+	jam 0,mem_adc_read_timer
+	call adc_set_mode
+	call vdd_calculate_by_mode
+	store 2,mem_mouse_vdd_now_vol
+	arg mem_mouse_vdd_calculate_set,rega
+	call adc_bat_percent_lowpower_out
+	fetch 1,mem_adc_power_flag
+	bbit1 1,mouse_power_down
+	bbit0 0,mouse_adc_no_low_voltage
+	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
+	branch mouse_disable_function_flag
+
+mouse_low_voltage_led_timer:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_LOW_VOLTAGE_FLAG
+	fetch 1,mem_config_low_voltage_alarm_gpio
+	store 1,mem_mouse_struct_led_gpio
+	fetch 1,mem_adc_low_volatage_led_timer_count
+	pincrease 1
+	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:
+	arg 0,rega
+	jam UI_LED_STATE_LIGHTING,mem_mouse_led_type
+	branch ui_led_on_global
+mouse_low_voltage_led_off:
+	arg 0,rega
+	jam UI_LED_STATE_LIGHTING,mem_mouse_led_type
+	branch ui_led_off_global
+
+mouse_g24_package_data:
+	call mouse_motion
+	nrtn user
+	arg 7,rega	//length
+	arg mem_mouse_key,regb //tx buff
+	rtn
+	
+mouse_g24_enter_lpm:
+	fetch 1,mem_mouse_24g_enter_lpm_enable
+	rtn blank
+	//do not enter lpm when condition is unallowed
+	fetcht 1,mem_dpi_button_gpio
+	call gpio_get_bit
+	call mouse_24g_dpi_delay_init,true
+	fetch 1,mem_24g_enter_lpm_timer
+	nrtn blank
+	call mouse_check_key_gpio
+	nrtn blank
+	branch g24_lpm_long_sleep
+
+mouse_24g_dpi_delay_init:
+	fetch 1,mem_dpi_button_gpio
+	rtneq UI_BUTTON_GPIO_DISABLE
+	jam 10,mem_24g_enter_lpm_timer
+	rtn
+
+	
+mouse_load_flash_info_cheak:
+	call mouse_load_flash_flag
+	fetch 2,mem_store_flag
+	arg EEPROM_INIT_FLAG,temp
+	isub temp,null
+	branch mouse_load_flash_device_info,zero
+	storet 2,mem_store_flag
+	call mouse_ble_init_address
+	branch mouse_store_flash_device_info
+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_load_flash_flag:
+	setarg mem_store_flag
+	arg mem_mouse_information_start,temp
+	isub temp,temp
+	fetch 3,mem_flash_base
+	iadd temp,pdata
+	arg 2,temp
+	arg mem_store_flag,rega
+	branch spid_read_flash
+
+	
+mouse_load_flash_device_info:
+	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
+	call spid_read_flash
+	call mouse_select_reconn_device
+	fetch 4,mem_mouse_24g_addr
+	call g24_head_ptr2regc
+	branch g24_store_mem_addr
+
+mouse_store_flash_device_info:	
+	setarg mem_mouse_information_end
+	arg mem_mouse_information_start,temp
+	isub temp,temp
+	arg mem_mouse_information_start,rega
+	fetch 3,mem_flash_base
+	branch flash_write
+
+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_statue_cheak_timer:
+	rtnmark1 mark_24g
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_STATUE_UP
+	fetch 1,mem_mouse_1step_up_count
+	pincrease 1
+	and pdata,0x07,pdata
+	store 1,mem_mouse_1step_up_count
+	rtnne 0x07         //800ms read sensor
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,mouse_check_statue_up
+	bbit1 UI_STATE_BLE_CONNECTED,mouse_check_statue_up
+	rtn
+
+
+
+//mosue 
+mouse_check_statue_up:
+	bpatch patch1d_6,mem_patch1d
+	fetch 1,mem_mouse_2step_up_count
+	nrtn blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_STATUE_UP_FLAG
+	fetch 1,mem_sensor_squal_reg
+	call sensor_read
+	store 1,mem_sensor_iqc
+	sub pdata,0x10,null
+	branch mouse_statue_up_timer_init,positive
+	jam 0,mem_mouse_2step_up_count
+	rtn
+
+mouse_statue_up_timer_init:
+	jam 30,mem_mouse_2step_up_count
+	rtn
+mouse_statue_up_timer:
+	arg mem_mouse_2step_up_count,regc
+	arg mouse_statue_up,regb
+	branch timer_single_step
+
+mouse_statue_up:
+	fetch 1,mem_sensor_squal_reg
+	call twspi_read
+	sub pdata,0x10,null
+	nrtn positive
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_STATUE_UP_FLAG
+	arg MOUSE_STATUE_UP_FLAG,queue
+	call mouse_disable_function_flag
+	jam 0,mem_lpm_mult
+	jam 30,mem_mouse_statue_led_timer         // led on3s
+	call mouse_devce_led_off
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_STATUE_UP_THREE_LED,mouse_three_device_statue_up
+mouse_two_device_statue_up:
+	fetch 1,mem_device_flag
+	beq MODE_BT_DEVICE1,mouse_device1_led_on  		//device_1
+	beq MODE_BT_DEVICE2,mouse_device_blink_led_init		//device_2
+	rtn
+mouse_three_device_statue_up:
+	fetch 1,mem_device_flag
+	beq MODE_BT_DEVICE1,mouse_device1_led_on  		//device_1
+	beq MODE_BT_DEVICE2,mouse_device2_led_on		//device_2
+	beq MODE_BT_DEVICE3,mouse_device3_led_on		//device_3
+	rtn
+	
+mouse_device_blink_led_init:
+	fetch 1,mem_config_device1_led_gpio
+	branch mouse_led_blink
+
+
+
+mouse_statue_led_off:
+	jam 0x20,mem_lpm_mult
+	branch mouse_devce_led_off
+
+
+
+mouse_devce1_led_off:
+	fetch 1,mem_config_device1_led_gpio
+	rtneq GPIO_DISABLE
+	store 1,mem_mouse_struct_led_gpio
+	branch mouse_led_off
+
+mouse_devce2_led_off:
+	fetch 1,mem_config_device2_led_gpio
+	rtneq GPIO_DISABLE
+	store 1,mem_mouse_struct_led_gpio
+	branch mouse_led_off
+	
+mouse_devce_led_off:
+	call mouse_led_off
+	call mouse_devce1_led_off
+	call mouse_devce2_led_off
+mouse_devce3_led_off:
+	fetch 1,mem_config_device3_led_gpio
+	rtneq GPIO_DISABLE
+	store 1,mem_mouse_struct_led_gpio
+	branch mouse_led_off
+
+mouse_device1_led_on:
+	fetch 1,mem_config_device1_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	branch mouse_led_on
+mouse_device2_led_on:
+	fetch 1,mem_config_device2_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	branch mouse_led_on
+mouse_device3_led_on:
+	fetch 1,mem_config_device3_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	branch mouse_led_on
+
+
+
+mouse_polling_device:
+	bpatch patch1d_7,mem_patch1d
+	fetch 1,mem_reconn_times
+	increase -1,pdata
+	store 1,mem_reconn_times
+	fetcht 1,mem_device_flag
+	increase 1,temp
+	fetch 1,mem_device_number
+	isub temp,null
+	ncall mouse_select_device_count_clean,positive
+	storet 1,mem_device_flag
+	jam 0,mem_link_key_exists
+	call mouse_store_device_number2eeprom
+	call mouse_before_store_reconn_info
+	branch mouse_check_reconn_target
+	
+mouse_power_down:
+	call mouse_devce_led_off
+	setarg 0
+	store 8,mem_gpio_wakeup_low
+	branch lpm_hibernate
+
+
+
+
+
+
+endif
+
+
+
Index: HS_24G&BLE_Motion/program/app_remote_car.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_remote_car.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_remote_car.prog	(working copy)
@@ -0,0 +1,480 @@
+ifdef COMPILE_REMOTE_CAR
+
+remote_car_init:
+	rtn wake	
+	hfetch 1,core_gpio_sel1
+	and_into 0xf0,pdata
+	hstore 1,core_gpio_sel1
+	call keyscan_key_init
+	setarg remote_car_le_before_hibernate
+	store 2,mem_cb_before_hibernate
+	
+	setarg remote_car_process_lpm_before
+	store 2,mem_cb_before_lpm	
+	
+	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 app_get_lpm_wake_lock
+	store 2,mem_cb_check_wakelock	
+
+	call g24_head_ptr2regc
+	setarg remote_car_g24_package_data
+	add regc,offset_24g_cb_data,contw
+	istore 2,contw
+	
+	setarg remote_car_g24_enter_lpm
+	add regc,offset_24g_cb_lpm_prepare,contw
+	istore 2,contw
+	
+	setarg remote_car_process_lpm_before
+	add regc,offset_24g_cb_lpm_before,contw
+	istore 2,contw
+
+	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
+	
+	setarg remote_car_send_key_data
+	store 2,mem_cb_remote_car_keyscan
+	
+	bpatch patch1e_0,mem_patch1e
+	call remote_car_init_environment
+	call queue_init
+	jam 2,mem_lpm_mult
+	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
+//	fetch 1,mem_remote_car_led_map
+	arg 0,rega
+	call ui_led_blink_start_global
+remote_car_connect_24g_mode:
+	branch g24_auto_pair_start
+
+remote_car_power_off_signal:	
+	branch remote_car_ui_led_init
+	
+remote_car_ui_led_init:
+	bpatch patch1e_1,mem_patch1e
+	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_set_device_addr
+	fetch 2,mem_remote_car_no_data_timeout
+	store 2,mem_remote_car_no_data_timer
+	branch remote_car_get_adc_default_data
+
+remote_car_le_before_hibernate:
+//	call keyscan_scan_key
+//	fetch 2, mem_key_value_temp
+//	branch remote_car_in_enter_hibernate,blank
+//	branch app_enter_hibernate
+remote_car_in_enter_hibernate:	
+	call gpio_set_before_lpm_common
+	call remote_car_process_lpm_before
+	branch app_enter_hibernate
+
+remote_car_process_lpm_before:
+	branch keyscan_process_lpm_before
+
+remote_car_g24_enter_lpm:
+	fetch 1,mem_remote_car_24g_enter_lpm_enable
+	rtn blank
+	//do not enter lpm when condition is unallowed
+	branch g24_lpm_long_sleep
+
+remote_car_process_auto_pair_exit:
+	rtn
+
+remote_car_key_scan_process:
+	branch keyscan_key_process
+
+remote_car_scale_process_idle:
+	call remote_car_rocker_process
+	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:
+	jam 1,mem_remote_car_24g_enter_lpm_enable
+	rtn
+
+remote_car_24g_pairing_complete:
+	jam 1,mem_remote_car_24g_enter_lpm_enable
+	jam WORK_PAIRED,mem_remote_car_24g_auto_work_step
+	jam WORK_PAIRED,mem_remote_car_24g_pair_success_flag
+	rtn
+
+remote_car_24g_attempt_success:
+	jam 1,mem_remote_car_24g_enter_lpm_enable
+	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
+	branch remote_car_no_data_timer
+
+remote_car_no_data_timer:
+	fetch 1,mem_remote_car_config_timeout_shutdown_enable
+	rtn blank
+	arg mem_remote_car_no_data_timer,regc
+	arg remote_car_scale_process_shutdown,regb
+	branch timer_single_step_2B
+	
+////////////////////////////////////rocker/////////////////////////////
+remote_car_get_adc_default_data:
+	call remote_car_rocker_get_x
+	storet 2,mem_current_vdd_value_default_mid_x
+	call remote_car_rocker_get_y
+	storet 2,mem_current_vdd_value_default_mid_y
+	rtn
+remote_car_rocker_data_get:
+remote_car_rocker_get_x:
+	fetch 2,mem_current_vdd_value_default_mid_x
+	store 2,mem_current_vdd_value_default_mid_temp
+	call remote_car_get_adc_from_gpio6
+	call remote_car_rocker_get_value
+	store 1,mem_rocker_status
+remote_car_rocker_get_y:
+	fetch 2,mem_current_vdd_value_default_mid_y
+	store 2,mem_current_vdd_value_default_mid_temp
+	call remote_car_get_adc_from_gpio7
+	call remote_car_rocker_get_value
+	store 1,mem_rocker_status+1
+	rtn
+remote_car_rocker_get_value:
+	fetch 2,mem_current_vdd_default_range
+	copy pdata,rega
+	fetch 2,mem_current_vdd_value_default_mid_temp
+	call remote_car_rocker_mid_value_adjust
+	fetch 1,mem_rocker_work_status
+	nbranch remote_car_rocker_translate_key,blank
+	nrtn positive
+	fetcht 2,mem_current_vdd_value_default_mid_temp
+	rtn	
+remote_car_rocker_mid_value_adjust:
+	isub temp,pdata
+	branch remote_car_rocker_mid_adjust_positive,positive
+	sub pdata,0,pdata		//negative adjust
+	jam 1,mem_rocker_negative_flag
+	isub rega,null
+	rtn
+remote_car_rocker_mid_adjust_positive:
+	jam 0,mem_rocker_negative_flag
+	isub rega,null
+	rtn
+remote_car_rocker_translate_key:
+	nbranch remote_car_rocker_middle_key,positive
+	fetch 1,mem_rocker_negative_flag
+	nbranch remote_car_rocker_negative_key,blank
+remote_car_rocker_positive_key:	
+	setarg ROCKER_POSITIVE_KEY
+	rtn
+remote_car_rocker_negative_key:
+	setarg ROCKER_NEGATIVE_KEY
+	rtn
+remote_car_rocker_middle_key:
+	setarg ROCKER_MIDDLE_KEY
+	rtn
+remote_car_get_adc_from_gpio6:
+	jam 0x33,mem_adc_channel
+	branch adc_set_mode
+remote_car_get_adc_from_gpio7:
+	jam 0x34,mem_adc_channel
+	branch adc_set_mode
+
+
+remote_car_rocker_process:
+	fetch 1,mem_remote_car_config_check_way
+	rtnne CAR_REMOTE_CHECK_ROCKER	
+remote_car_read_rocker_check_start:
+	bpatch patch1e_2,mem_patch1e
+	jam 1,mem_rocker_work_status
+	call remote_car_rocker_data_get
+	fetch 2,mem_rocker_status
+	fetcht 2,mem_rocker_last_status
+	isub temp,null
+	rtn zero
+	store 2,mem_rocker_last_status
+	call remote_car_rocker_x_to_key
+	branch remote_car_rocker_y_to_key
+	
+remote_car_rocker_x_to_key:
+	fetch 1,mem_rocker_x_status
+	branch rocker_to_queue_set_0,blank
+	increase -1,pdata
+	branch remote_car_rocker_to_key
+remote_car_rocker_y_to_key:
+	fetch 1,mem_rocker_y_status
+	branch rocker_to_queue_set_2,blank
+	increase 1,pdata
+remote_car_rocker_to_key:
+	copy pdata,queue
+	arg 1,rega
+	branch remote_car_send_key_data
+	
+rocker_to_queue_set_0:
+	arg 0,queue
+	arg 0,rega
+	branch remote_car_send_key_data
+rocker_to_queue_set_2:
+	arg 2,queue
+	arg 0,rega
+	branch remote_car_send_key_data
+	
+remote_car_send_key_data:
+	copy rega,pdata
+	store 1,mem_remote_key_status
+	fetch 1,mem_remote_car_24g_auto_work_step
+	beq POWER_ON,g24_auto_pair_start
+	fetch 2,mem_remote_car_no_data_timeout
+	store 2,mem_remote_car_no_data_timer
+	fetch 1,mem_remote_key_status
+	branch remote_car_key_is_release,blank
+remote_car_key_is_press:
+	bpatch patch1e_3,mem_patch1e
+	arg 0,rega
+	call ui_led_on_global
+remote_car_attack_key_press:
+	copy queue,pdata
+	beq 4,remote_car_send_attack_key4_press
+	beq 5,remote_car_send_attack_key5_press
+	beq 6,remote_car_send_fire_key6_press
+//	fetch 1,mem_remote_car_config_check_way
+//	rtneq CAR_REMOTE_CHECK_ROCKER
+remote_car_motor_key_press:
+	call remote_car_device_layout_select
+	beq CONTROL_F_B_TEN,remote_car_single_motor_key_is_press
+	beq CONTROL_L_R_TEN,remote_car_double_motor_key_press
+	beq CONTROL_L_R_LR,remote_car_single_motor_key_is_press
+	rtn
+	
+remote_car_single_motor_key_is_press:
+	copy queue,pdata
+	beq 0,remote_car_send_motor1_key0_press
+	beq 1,remote_car_send_motor1_key1_press
+	beq 2,remote_car_send_motor2_key2_press
+	beq 3,remote_car_send_motor2_key3_press
+	rtn
+	
+remote_car_double_motor_key_press:
+	copy queue,pdata
+	beq 0,remote_car_send_double_motor_key0_press
+	beq 1,remote_car_send_double_motor_key1_press
+	beq 2,remote_car_send_double_motor_key2_press
+	beq 3,remote_car_send_double_motor_key3_press
+	rtn
+
+remote_car_key_is_release:
+	bpatch patch1e_4,mem_patch1e
+	arg 0,rega
+	call ui_led_off_global
+remote_car_attack_key_release:
+	copy queue,pdata
+	beq 4,remote_car_send_attack_key4_rel
+	beq 5,remote_car_send_attack_key5_rel
+//	fetch 1,mem_remote_car_config_check_way
+//	rtneq CAR_REMOTE_CHECK_ROCKER
+remote_car_motor_key_release:
+	call remote_car_device_layout_select
+	beq CONTROL_F_B_TEN,remote_car_single_motor_key_rel
+	beq CONTROL_L_R_TEN,remote_car_double_motor_key_rel
+	beq CONTROL_L_R_LR,remote_car_single_motor_key_rel
+	rtn
+
+remote_car_device_layout_select:
+	fetch 1,mem_remote_car_config_layout
+	fetcht 1,mem_remote_car_config_key_map
+	ior temp,pdata
+	rtn
+
+//cross key,control front-back motor layout
+remote_car_send_motor1_key0_press:	//front
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor1_payload
+	branch remote_car_send_key
+remote_car_send_motor1_key1_press:	//back
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor1_payload
+	branch remote_car_send_key
+remote_car_send_motor2_key2_press:	//left
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+remote_car_send_motor2_key3_press:	//right
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+
+//cross key,control left-right motor layout
+remote_car_send_double_motor_key0_press:	//front
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor1_payload
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+remote_car_send_double_motor_key1_press:	//back
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor1_payload
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+remote_car_send_double_motor_key2_press:	//left
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor1_payload
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+remote_car_send_double_motor_key3_press:	//right
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor1_payload
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+	
+//attack motor control
+remote_car_send_attack_key4_press:	//attack left
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor3_payload
+	branch remote_car_send_key
+remote_car_send_attack_key5_press:	//attack right
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor3_payload
+	branch remote_car_send_key
+
+remote_car_send_fire_key6_press:
+	jam 0x01,mem_remote_car_24g_fire_send_payload
+	branch remote_car_send_attack
+
+remote_car_single_motor_key_rel:
+	copy queue,pdata
+	beq 0,remote_car_send_motor1_key0_rel
+	beq 1,remote_car_send_motor1_key1_rel
+	beq 2,remote_car_send_motor2_key2_rel
+	beq 3,remote_car_send_motor2_key3_rel
+	rtn
+
+remote_car_double_motor_key_rel:
+	copy queue,pdata
+	beq 0,remote_car_send_double_motor_key0_rel
+	beq 1,remote_car_send_double_motor_key1_rel
+	beq 2,remote_car_send_double_motor_key2_rel
+	beq 3,remote_car_send_double_motor_key3_rel
+	rtn
+
+remote_car_send_motor1_key0_rel:
+remote_car_send_motor1_key1_rel:
+	jam MOTOR_STOP,mem_remote_car_24g_motor1_payload
+	branch remote_car_send_key
+remote_car_send_motor2_key2_rel:
+remote_car_send_motor2_key3_rel:
+	jam MOTOR_STOP,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+	
+remote_car_send_double_motor_key0_rel:
+remote_car_send_double_motor_key1_rel:
+remote_car_send_double_motor_key2_rel:
+remote_car_send_double_motor_key3_rel:
+	jam MOTOR_STOP,mem_remote_car_24g_motor1_payload
+	jam MOTOR_STOP,mem_remote_car_24g_motor2_payload
+	branch remote_car_send_key
+	
+remote_car_send_attack_key4_rel:
+remote_car_send_attack_key5_rel:
+	jam MOTOR_STOP,mem_remote_car_24g_motor3_payload
+	branch remote_car_send_key
+
+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
+
+endif
+
+
+
+
Index: HS_24G&BLE_Motion/program/app_shutter.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_shutter.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_shutter.prog	(working copy)
@@ -0,0 +1,1170 @@
+
+ifdef COMPILE_SHUTTER
+
+shutter_init:
+	rtn wake	
+	hfetch 1,core_gpio_sel1
+	and_into 0xfc,pdata
+	hstore 1,core_gpio_sel1
+	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 le_modified_name
+	call shutter_load_bluetooth_config_by_user_config
+	call shutter_init_bluetooth_config
+	call shutter_init_param	
+	call keyscan_key_init
+	call shutter_load_buffer_config_form_DataRom
+	call queue_init
+	call ui_led_init_global
+	call shutter_load_bluetooth_config
+	call shutter_load_bluetooth_config_by_eeprom
+	
+	bpatch patch1e_5,mem_patch1e
+	call classic_shutter_load_reconn_info
+	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
+
+/**************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
+/**************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,classic_shutter_process_hid_connect
+	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
+/**************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
+/****************************/
+
+
+/******************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_connect:
+	setarg HID_HANDSHAKE_TIMEOUT
+	store 1,mem_hid_handshake_timer_count
+	rtn	
+
+
+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
+/**************************************/
+
+/******************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
+/************************************/
+/**************classic shutter timer**********************/
+	call classic_shutter_check_unplug_timer
+	call classic_shutter_hid_handshake_timer
+	call classic_shutter_hid_disconn_timer
+/************************************/
+/**************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
+/************************************/
+
+/**************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
+
+/************************************/
+
+/**************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:
+	branch keyscan_process_lpm_before
+
+shutter_le_before_hibernate:
+	call gpio_set_before_lpm_common
+	branch shutter_process_lpm_before
+
+//////////////////////////////////////////////////////////////////////////////////////////
+
+
+/****************shutter bluetooth control**********************/
+shutter_stop_bluetooth_discovery:
+	fetch 1,mem_shutter_bluetooth_type
+	bbit1 CLASSIC_SHUTTER,classic_shutter_stop_bluetooth_discovery
+	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
+	
+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
+
+shutter_start_bluetooth_discovery:
+	fetch 1,mem_shutter_soft_switch_power_state
+	rtnne SS_STATE_POWER_ON
+	fetch 1,mem_shutter_bluetooth_type
+	bbit1 CLASSIC_SHUTTER,classic_shutter_start_discovery
+	bbit1 BLE_SHUTTER,ble_shutter_start_discovery
+	rtn
+	
+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
+
+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 CLASSIC_SHUTTER,classic_shutter_start_reconnect
+	bbit1 BLE_SHUTTER,ble_shutter_start_reconnect
+	rtn
+
+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	
+
+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_dav_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
+
+//pdata:adv interval value
+shutter_ble_adv_interval_set:
+	store 2,mem_lpm_interval
+	increase -4,pdata
+	store 2,mem_le_adv_interval
+	rtn
+
+
+shutter_disconnect_current_connection:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,app_ble_disconnect
+	bbit1 UI_STATE_BT_CONNECTED,app_bt_disconnect
+	branch shutter_stop_bluetooth_discovery
+/**************************************/
+
+/******************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
+	
+/**************************************/
+
+/////////////////////////////////////////////////////////////////////////
+//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_BT_CONNECTED,shutter_check_bt_data_enable
+	bbit1 UI_STATE_BLE_CONNECTED,shutter_check_ble_data_enable
+	rtn
+
+shutter_check_bt_data_enable:
+	fetch 1,mem_hid_interrupt_state
+	rtnne 0x3f	
+	branch enable_user
+
+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 CLASSIC_SHUTTER,classic_shutter_change_bluetooth_status_bt_disconn
+	bbit1 BLE_SHUTTER,ble_shutter_change_bluetooth_status_bt_disconn
+	rtn
+	
+classic_shutter_change_bluetooth_status_bt_disconn:
+	fetch 1,mem_scan_mode
+	rtnne 0x03
+	branch shutter_start_reconnect
+	
+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
+	bbit1 UI_STATE_BT_CONNECTED,pop_queue_to_classic_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
+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
+
+
+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
+
+///////////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
+	call memcpy_fast
+	arg BT_KEY_VALUE_LIST_SIZE,loopcnt
+	arg mem_classic_data_buffer1,contw
+	arg CLASSIC_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_load_bt_sdp_form_DataRom:
+	arg BT_SDP_LIST_SIZE,loopcnt
+	arg CLASSIC_SHUTTER_SDP_LIST,contr
+	branch memcpy_fast
+	
+
+///////////////////////////////gpio config////////////////////////////////////
+shutter_init_bluetooth_config:
+	call shutter_check_load_config_flag
+	nrtn user
+	fetch 1,mem_shutter_config_select_gpio1
+	call shutter_init_bluetooth_config_gpio_input
+	fetch 1,mem_shutter_config_select_gpio2
+	call shutter_init_bluetooth_config_gpio_input
+	fetch 1,mem_shutter_config_select_gpio3
+	branch shutter_init_bluetooth_config_gpio_input
+	
+shutter_init_bluetooth_config_gpio_input:
+	rtn blank
+	or pdata,0x80,temp
+	branch gpio_config_input_nowake
+	
+
+shutter_load_bluetooth_config:
+	call shutter_check_load_config_flag
+	nrtn user
+	call shutter_load_bluetooth_config_label
+	branch shutter_load_bluetooth_config_by_otp
+
+shutter_load_bluetooth_config_label:
+	arg 0,rega
+	fetch 1,mem_shutter_config_select_gpio1
+	call shutter_load_bluetooth_config_read_gpio_input
+	nsetflag blank,0,rega
+	fetch 1,mem_shutter_config_select_gpio2
+	call shutter_load_bluetooth_config_read_gpio_input
+	nsetflag blank,1,rega
+	fetch 1,mem_shutter_config_select_gpio3
+	call shutter_load_bluetooth_config_read_gpio_input
+	nsetflag blank,2,rega
+	copy rega,pdata
+	store 1,mem_shutter_config_label
+	fetch 1,mem_shutter_config_size
+	imul32 rega,pdata
+	fetcht 2,mem_shutter_config_otp_base_address		//base address
+	iadd temp,pdata
+	store 2,mem_shutter_config_otp_addr
+	rtn
+
+shutter_load_bluetooth_config_read_gpio_input:
+	rtn blank
+	or pdata,0x80,temp
+	call gpio_get_bit
+	nbranch enable_blank,true
+	branch disable_blank
+	
+
+shutter_check_load_config_flag:
+	call disable_user
+	fetch 1,mem_shutter_config_user_size
+	nrtn blank
+	fetch 1,mem_shutter_config_enable
+	rtn blank
+	branch enable_user
+
+
+shutter_load_bluetooth_config_by_otp:
+	call otp_enable_chgpump
+	fetch 2,mem_shutter_config_otp_addr
+	arg mem_shutter_config_data_temp,rega
+	fetcht 1,mem_shutter_config_size
+	call otpd_read_data
+	call otp_disable_chgpump
+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_load_bluetooth_config_by_user_config:
+	fetch 2,mem_shutter_config_user_otp_address
+	rtn blank
+	call otp_enable_chgpump
+	arg 1,temp
+	arg mem_shutter_config_user_size,rega
+	call otpd_read_data
+	
+	fetch 1,mem_shutter_config_user_size
+	rtn blank
+	
+	fetch 2,mem_shutter_config_user_otp_address
+	pincrease 1
+	arg mem_shutter_config_data_temp,rega
+	fetcht 1,mem_shutter_config_user_size
+	call otpd_read_data
+	call otp_disable_chgpump
+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
+	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
+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
+	
+/////////////////////////////////////////////////////////////////
+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*********************/
+
+
+/*************unkown function*********************/
+shutter_byteswap:
+	store 6,mem_tmp_buffer
+	fetch 1,mem_tmp_buffer
+	store 1,mem_tmp_buffer+11
+	ifetch 1,contr
+	store 1,mem_tmp_buffer+10
+	ifetch 1,contr
+	store 1,mem_tmp_buffer+9
+	ifetch 1,contr
+	store 1,mem_tmp_buffer+8
+	ifetch 1,contr
+	store 1,mem_tmp_buffer+7
+	ifetch 1,contr
+	store 1,mem_tmp_buffer+6
+	fetch 6,mem_tmp_buffer+6
+	rtn
+
+shutter_random_addr_by_otp:
+	call load_adc_init
+	fetch 1,mem_1v_adc_io_data
+	store 1,mem_le_lap
+	fetch 1,mem_5v_adc_hvin_data
+	istore 1,contw
+	fetch 1,mem_3v_adc_vinlpm_data
+	istore 1,contw
+	fetch 3,mem_le_lap
+	store 3,mem_lap
+	rtn
+
+
+
+//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_oe0,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_oe0,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
+
+/**********************************/
+
+
+else
+        branch assert
+	
+endif
Index: HS_24G&BLE_Motion/program/app_usb.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_usb.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/app_usb.prog	(working copy)
@@ -0,0 +1,997 @@
+
+usb_isr:
+	bpatch patch1e_6,mem_patch1e
+	hfetch 1,core_usb_status
+	isolate1 7,pdata
+	call usb_init,true
+	call usb_nak_state_judge
+	hfetch 1,core_usb_status
+	store 1,mem_usb_status
+	hfetch 1,core_usb_fifo_empty
+	store 1,mem_usb_fifo_empty
+	hstore 1,core_usb_fifo_empty
+	pinvert
+	fetcht 1,mem_usb_tx_wait
+	iand temp,pdata
+	store 1,mem_usb_tx_wait
+	jam 0xe0,core_usb_status
+	fetch 1,mem_usb_fifo_empty
+	compare 0x1,pdata,0x1
+	call usb0_fifo_empty,true
+	fetch 1,mem_usb_status	
+	compare 0x1,pdata,0x1  
+	call usb_status1,true
+	call usb_tx
+	branch usb_nak_state
+
+usb_init:
+	bpatch patch1e_7,mem_patch1e
+	call usb_init_param
+	jam 0x00,core_usb_config
+ifndef SIM
+	nop 10000
+endif
+	jam 0xc0,core_usb_trig
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_USB,pdata
+	hstore 2,core_clkoff
+	jam 0x3c,core_usb_config
+	jam 0xff,core_usb_status
+	jam 0xff,core_usb_fifo_empty
+	jam 0,core_usb_addr
+	jam DEV_DEFAULT,mem_usb0_state
+	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_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_mem_devicedesc_init:
+	arg mem_devicedesc,contw
+	setsect 0,0x11212
+	setsect 1,0x8000
+	setsect 2,0x0
+	setsect 3,0x10000
+	istore 9,contw
+	setsect 0,0x22412
+	setsect 1,0x8604
+	setsect 2,0x1000
+	setsect 3,0x8
+	istore 9,contw
+	setsect 0,0x1
+	istore 1,contw
+	rtn
+	
+usb_init_param:
+	jam 2,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
+	setarg HID_KBDATA_ADDR
+	store 2,mem_hidreportdesc_kb
+	setarg HID_MSDATA_ADDR
+	store 2,mem_hidreportdesc_m
+	arg mem_confdesc,contw
+	arg HID_CONFDATA_ADDR,contr
+	call memcpy64
+	fetch 1,mem_usb_tx_interval
+	ncall usb_tx_interval_config,blank
+	branch usb_mem_devicedesc_init
+	
+usb_tx_interval_config:
+	store 1,mem_confdesc+34
+	store 1,mem_confdesc+59
+	rtn
+usb_nak_state_judge:
+	hfetch 1,core_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
+    	
+usb0_fifo_empty:
+	jam 0x1,core_usb_fifo_empty
+	branch usb0_tx
+
+usb_rx_no_data:
+	fetch 1,mem_usb_status
+	bbit1 USB_STATUS_SETUP,usb_class_type
+	rtn
+
+usb_rx_read:
+	hfetch 1,core_usb_ep
+	istore 1,contw
+	loop usb_rx_read
+	rtn
+
+usb_status1:
+	bpatch patch1f_0,mem_patch1f
+	jam 0x11,core_usb_status
+	hfetch 1,core_usb_ep_len
+	store 1,mem_usb_read_len
+	copy pdata,loopcnt
+	branch usb_rx_no_data,blank
+	arg mem_usb_setup,contw
+	call usb_rx_read
+	fetch 1,mem_usb_read_len
+	sub pdata,7,null
+	rtn positive
+usb_class_type:
+	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_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:
+	hfetch 1,core_usb_stall
+	set1 0,pdata
+	hstore 1,core_usb_stall
+	branch usb0_reply_zerolen
+	
+usb0_reply_zerolen:
+	jam 0x40,core_usb_clear
+	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:
+	bpatch patch1f_1,mem_patch1f
+	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:	
+	arg mem_confdesc+19,rega
+	ifetch 1,rega
+	iforce regb
+	branch usb0_respond
+//class_descriptor hid_descriptor--mouse 
+dsc_hid_info_interface1:	
+	arg mem_confdesc+44,rega
+	ifetch 1,rega
+	iforce regb
+	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:
+	hfetch 1,core_usb_addr
+	ncall usb0_set_addr,blank
+	jam 0,mem_usb_set_high_addr_flag
+	rtn
+usb0_set_addr:
+	hfetch 1,core_usb_addr
+   	set1 7,pdata
+	hstore 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
+	fetch 2,mem_hidreportdesc_kb
+	copy pdata,rega
+//	arg mem_hidreportdesc_kb,rega
+	branch usb0_respond_length
+dsc_hid_report_info0:
+	jam 1,mem_usb_device_enumeration_endflag
+	jam USB_GOT_REPORT_REQ,mem_usb_state
+	fetch 2,mem_hidreportdesc_m
+	copy pdata,rega
+//	arg mem_hidreportdesc_m,rega
+	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_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,usb_send_two_packet
+//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
+	hfetch 1,core_usb_config
+	set0 7,pdata
+	hstore 1,core_usb_config
+	jam 0,mem_usb_remote_wakeup
+	jam 1,mem_usb_clear_remote_wakeup
+	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
+	hfetch 1,core_usb_config
+	set1 7,pdata
+	hstore 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
+	hstore 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:
+	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:
+	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
+	fetch 1,mem_usb_setup_bLength	//max 0x40
+	iforce loopcnt
+	arg mem_usb0_setup,contr
+	arg mem_usb0_set_report_data,contw
+	call memcpy
+	branch usb0_reply_zerolen
+	
+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:
+	ifetch 1,rega
+	iforce regb
+	increase 1,rega
+//rega=*buff,reb=size	
+usb0_respond:
+	bpatch patch1f_2,mem_patch1f
+	bmark0 mark_isstr,usb0_respond0
+	add regb,1,pdata
+	lshift pdata,pdata
+	hstore 1,core_usb_dfifo0 
+	jam 3,core_usb_dfifo0
+	fetch 1,mem_usb_setup_bLength
+	increase -2,pdata
+	rshift pdata,pdata
+	store 1,mem_usb_setup_bLength
+	beq 0,usb_no_respond_data
+usb0_respond0:
+	fetch 2,mem_usb_setup_bLength
+	isub regb,null
+	branch usb0_respond1,positive
+	copy pdata,regb	
+usb0_respond1:
+	deposit rega
+	store 2,mem_bufptr
+	deposit regb
+	store 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:
+	bpatch patch1f_3,mem_patch1f
+	fetch 1,mem_remain
+	rtn blank
+	copy pdata,loopcnt
+	sub pdata,EP0_PACKET_SIZE,null
+	branch usb0_tx_info,positive
+	arg EP0_PACKET_SIZE,loopcnt	
+usb0_tx_info:
+	fetch 1,mem_remain
+	isub loopcnt,pdata
+	store 1,mem_remain//mem_remain -= len
+	fetch 2,mem_bufptr
+	copy pdata,contr	
+usb0_tx0:
+	ifetch 1,contr
+	hstore 1,core_usb_dfifo0
+	bmark0 mark_isstr,usb0_tx1
+	jam 0,core_usb_dfifo0
+usb0_tx1:
+	loop usb0_tx0
+	copy contr,pdata
+	store 2,mem_bufptr//mem_bufptr += len
+	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 core_usb_dfifo1,rega
+	arg 1,queue
+usb_tx_loop:
+	ifetch 1,contr
+	istore 1,rega
+	loop usb_tx_loop
+usb_trig:
+	setarg 0
+	qset1 pdata
+	hstore 1,core_usb_trig
+	fetcht 1,mem_usb_tx_wait
+	ior temp,pdata
+	store 1,mem_usb_tx_wait
+	rtn
+
+usb_tx_ep2:
+	arg 2,queue
+	arg core_usb_dfifo2,rega
+	branch usb_tx_loop
+
+usb_tx:
+	bpatch patch1f_4,mem_patch1f
+	fetch 1,mem_usb_tx_enable
+	rtn blank
+	fetch 1,mem_usb_tx_wait
+	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 usb_tx_data_ep1
+	branch usb_tx_data_ep2
+
+usb_tx_data_ep1:
+	fetch 1,mem_usb_tx_enable
+	rtnbit0 1
+	fetch 1,mem_usb_tx_wait
+	rtnbit1 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,mem_usb_tx_enable
+	rtnbit0 2
+	fetch 1,mem_usb_tx_wait
+	rtnbit1 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
+	branch assert
+
+usb_tx_fifo_release:
+	//clear mem_usb_mouse_data/mem_usb_kb_data/mem_usb_kb_multikey
+	arg mem_usb_mouse_data,contw
+	arg 6,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_inwake_state_tx_dispose:
+	fetch 1,mem_usb_state
+	beq USB_SLEEP,usb_clear_tx_wait
+	beq USB_CONNECTED, usb_mac_wakeup_trig
+	rtn
+usb_clear_tx_wait:
+	jam 0,mem_usb_tx_wait
+	rtn	
+usb_mac_wakeup_trig:
+	hfetch 1,core_usb_config
+	set1 7,pdata
+	hstore 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:
+	hfetch 1,core_usb_config
+	rtnbit0 7	//endpoint wakeup enable
+	jam 0xfc,core_usb_config
+	nop 30000
+	jam 0x3c,core_usb_config
+	rtn
+
+
+
Index: HS_24G&BLE_Motion/program/bt.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/bt.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/bt.prog	(working copy)
@@ -0,0 +1,4175 @@
+define REVD
+//define FPGA
+define ROMCODE
+define PATCH
+define ADC
+//define RAM_VERSION
+//define CLK24M
+//define DEBUG_MALLOC
+//define DEBUG_H4LOG_ENABLE
+//define DEBUG_LIGHT_STATE
+//define E2_LOG
+//define LMP_DBG
+//define ACL_DEBUG
+//define DCDC
+define NVRAM
+define RELEASE
+define SECURE_CONNECTION
+define DEBUG_RF_INIT
+//define SPI_SIMULATE
+//define ROM_RESPIN_OPTIONAL
+
+define SIMPLE_PAIRING
+define COMPILE_RFCOMM
+define COMPILE_SHUTTER
+define COMPILE_AntiLost
+//define COMPILE_IR
+define COMPILE_KEYBOARD
+define COMPILE_MOUSE
+define COMPILE_MODULE
+//define COMPILE_AT
+//define COMPILE_PRCP
+//define COMPILE_USB
+//define COMPILE_DONGLE
+define COMPILE_LE
+define COMPILE_24G
+define COMPILE_CAR
+define COMPILE_REMOTE_CAR
+
+
+INCLUDE "bt_format"
+
+org 0x0000		// start from patch ram address start
+ifdef SIM
+include sim.prog
+else
+include patch.prog
+endif
+
+/******************************************/
+/***********   ROM Start   ***************/
+/******************************************/
+
+org 0x2000		// start from rom address start
+start:
+	call lpmstate
+
+soft_reset:
+	bpatch patch00_0,mem_patch00
+	clear_stack
+	call spi_ncs_gpio_init  // 0xff disable spi ncs gpio init
+	call initialize_radio
+	call iicd_init_12m
+	call init_param
+	call l2cap_init
+	bpatch patch00_1,mem_patch00
+	call rfcomm_init
+	call init_lmp
+	call ui_init
+	call app_init
+	ncall load_chip_option,wake
+	bpatch patch00_2,mem_patch00
+	call app_lpm_init,wake
+ifdef SIMPLE_PAIRING
+	call publickey_init
+else
+	call ssp_disable
+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_dispatch
+	bpatch patch00_4,mem_patch00
+	call idle_dispatch
+	call app_process_idle
+	call inquiry_dispatch
+	call inquiry_scan_dispatch
+	call page_scan_dispatch
+	call connection_dispatch
+	call lpm_dispatch
+	call g24_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
+	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
+	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:
+	bpatch patch01_7,mem_patch01
+inquiry_receive_eir_rtn:
+	fetch 1,mem_inquiry_rcv
+	increase 1,pdata
+	store 1,mem_inquiry_rcv
+	rtn
+		
+/******************************************/
+/**************  Master Dispatch  *************/
+/******************************************/
+
+
+
+master_page:
+	bpatch patch02_0,mem_patch02
+	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_1,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_2,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_3,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_4,mem_patch02
+	branch page_exit,timeout
+	call fetch_page_bt_adr
+	arg param_rf_setup, timeup
+	until clkn_rt,meet         /* wait for the start_receiver time against native real clk  */
+page_rx_restart:
+	bpatch patch02_5,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_6,mem_patch02
+	disable master
+	fetch 2,mem_page_interval      
+	rtn blank
+	force page_interval_timer,queue
+	branch timer_init              
+
+page_check_train:
+	bpatch patch02_7,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 patch03_0,mem_patch03
+	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_1,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_2,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_3,mem_patch03
+	fetch 1, mem_page_rcv_fhs
+	increase 1,pdata
+	store 1, mem_page_rcv_fhs
+	call prepare_newconn
+master_newconn_loop:
+	call master_newconn_once
+	branch newconn_poll_responded,sync
+	call new_conn_timeout
+	nbranch master_newconn_loop,blank
+	branch page_restart
+
+newconn_poll_responded:
+	bpatch patch03_4,mem_patch03
+	fetch 1,mem_state
+	set0 state_inpage,pdata
+	store 1,mem_state
+	call newconn_init
+	disable master
+	rtn
+	
+
+master_dispatch:
+	bpatch patch03_5,mem_patch03
+	enable master
+	enable clknt
+	call role_switch_master
+	rtn user
+	call check_bt_disabled
+	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_6,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_7,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 patch04_0,mem_patch04
+	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_1,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_2,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_3,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_4,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
+	bpatch patch04_5,mem_patch04
+	storet 4,mem_sniff_anchor
+role_switch_prepare0:
+	jam SWITCH_FLAG_ACCEPT,mem_switch_flag
+	setarg 0xffff
+	store 2,mem_tsniff
+	jam 1,mem_sniff_attempt
+	rtn
+
+
+role_switch_master:
+	bpatch patch04_6,mem_patch04
+	call role_switch_check
+	nrtn user
+	disable user
+	jam param_newconnto,mem_newconnto_counter
+	set0 mark_fhs_already_good,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
+role_switch_fail_master:
+	bpatch patch04_7,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 patch05_0,mem_patch05
+	call rf_setup_time_slave_slot
+	arg type_id,type
+	call master_send_packet
+	disable clknt
+	disable master
+	call apply_switch_clke
+	call prepare_newconn
+roles_newconns_loop:
+	bpatch patch05_1,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_2,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_3,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_4,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_5,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_6,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_le_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_nexthop
+	
+
+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_7,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 patch06_0,mem_patch06
+	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_1,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_2,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_3,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_4,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_5,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_6,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
+	arg param_rf_setup, timeup
+	until clke_rt,meet
+	or_into 0x03,clke_bt
+	and_into 0x1fd,bt_clk
+page_scan_wait_fhs_restart:
+	bpatch patch06_7,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 patch07_0,mem_patch07
+	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_1,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_2,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_3,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_4,mem_patch07
+	call calc_clke
+	call role_switch_slave
+	rtn user
+slave_loop:
+	bpatch patch07_5,mem_patch07
+	call check_bt_disabled
+	call scheduler_process
+	call slave_conn_recv_packet	/* go listen for a packet */
+	nbranch slave_notmatch,match
+	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_6,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_7,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:
+	bpatch patch08_0,mem_patch08
+	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 patch08_1,mem_patch08
+	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_2,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_3,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_4,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_5,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_6,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_7,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 patch09_0,mem_patch09
+	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_initialize
+endif
+	fetch 1,mem_state
+	set0 state_inconn
+	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 patch09_1,mem_patch09
+	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_2,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_3,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_4,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_5,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
+	branch set_wait_ack
+prepare_tx_sendl2cap:
+	call tx_l2cap_type
+
+set_wait_ack:
+	bpatch patch09_6,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_7,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
+	arg param_pll_setup,temp
+	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 patch0a_0,mem_patch0a
+	fetch 2,mem_rx_window
+	rshift pdata,pdata
+	call ahead_window
+	call start_receiver
+	enable decode_fec0
+	fetch 2,mem_rx_window
+	arg param_clke_cal,temp
+	iadd temp,stop_watch
+	correlate null,timeout
+	copy clke,temp
+	storet 6,mem_sync_clke
+	disable decode_fec0
+	nrtn sync
+	arg param_clke_cal,clke_rt
+	copy bt_clk,clke_bt
+	branch lpm_adjust_clk,wake
+	rtn
+	
+
+slave_conn_recv_packet:
+	bpatch patch0a_1,mem_patch0a
+	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:
+	rshift bt_clk,temp
+	or temp,0x40,white_init
+receive_packet_whitened:
+	bpatch patch0a_2,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_3,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_4,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
+	fetcht 1,mem_saved_amaddr
+	icompare 0x7,temp
+	nbranch end_of_packet,true
+	fetch 1,mem_arq    /* mem_arq + am_addr */
+	set0 arqnx,pdata
+	set1 flowx,pdata
+	store 1,mem_arq
+am_addr_match:
+	enable match
+am_addr_ok:
+	bpatch patch0a_5,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_6,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_7,mem_patch0a
+	deposit type
+	beq type_dm1, process_dm1
+	beq type_dh1, process_dh1
+	beq type_hv3, process_hev
+	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_hev:
+	bpatch patch0b_0,mem_patch0b
+	enable decode_fec0
+	enable enable_crc
+	enable encrypt
+	arg mem_sco_ibuf,contw
+	force 30,loopcnt
+process_hev_loop:	
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	loop process_hev_loop
+	bmark0 mark_esco,end_of_packet
+	parse demod,bucket,16  /* cycle through the crc */
+	nsetflag crc_failed,mark_esco_rxok,mark
+	branch error_payload,crc_failed
+	branch ack_payload
+
+
+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 patch0b_1,mem_patch0b
+	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 patch0b_2,mem_patch0b
+	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_3,mem_patch0b
+	deposit loopcnt
+	store 2,mem_len
+	branch process_dmh_data_end,blank
+	isub mask3ff,null
+	branch error_payload,positive	/* packet too large, discard */
+	bpatch patch0b_4,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_data
+	//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_lmp:
+	fetch 2,mem_len
+	sub pdata,0x70,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_5,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_6,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_7,mem_patch0b
+	parse demod,bucket,16  /* cycle through the crc */
+	branch error_payload_crc,crc_failed
+	fetch 1,mem_l2cap_flow_ctrl_flag
+	beq L2CAP_FLOW_CTRL_ENABLE,end_of_packet
+	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 patch0c_0,mem_patch0c
+	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
+	beq 0,assert
+	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
+	beq 0,assert
+	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 patch0c_1,mem_patch0c
+	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 patch0c_2,mem_patch0c
+	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_3,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
+	
+discard_pkt:
+	bpatch patch0c_4,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
+	branch  h4_send_acl_trigger_clear
+
+redundant_payload:
+	fetch 1,mem_arq
+	set1 arqnx,pdata
+	store 1,mem_arq
+end_of_packet:
+	bpatch patch0c_5,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_6,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_7,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
+	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 patch0d_0,mem_patch0d
+	fetch 1,mem_arq
+	rtnbit0 wack
+	set0 wack,pdata
+	setflip seqnx,pdata
+	store 1,mem_arq
+	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 patch0d_1,mem_patch0d
+	fetch 1,mem_lmo_header_opcode
+	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_SCO_LINK_REQ,sco_link_req_by_slave
+	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
+	
+// nokia BH-105  CALLING when reconnection
+sco_link_req_by_slave:
+	rtn master
+	fetch 1,mem_mode
+	isolate1 send_sco_when_slave,pdata
+	branch clean_mem_mode,true
+	//jam LMP_REMOVE_SCO_LINK_REQ,mem_lmo_opcode2
+	rtn
+clean_mem_mode:
+	set0 send_sco_when_slave,pdata
+	store 1,mem_mode
+	rtn
+	
+start_encryption:
+	bpatch patch0d_2,mem_patch0d
+	fetch 1,mem_state_map
+	set1 smap_encryption,pdata
+	store 1,mem_state_map
+	jam 1,core_encrypt
+	fetch 1,mem_state
+	isolate1 state_conn_comp,pdata
+	rtn
+
+stop_encryption:
+	bpatch patch0d_3,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_4,mem_patch0d
+	copy clkn_bt,pdata
+	store 4,mem_lpm_delay_after_sniff
+	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_5,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_6,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:
+	fetch 1,mem_sco_poll
+	increase -1,pdata
+	store 1,mem_sco_poll
+	nbranch check_attempt_nomore,blank
+	jam param_sco_poll,mem_sco_poll
+	branch check_attempt_notimeout
+
+
+
+
+
+	
+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_7,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 patch0e_0,mem_patch0e
+	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 patch0e_1,mem_patch0e
+	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 patch0e_2,mem_patch0e
+	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_3,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_4,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_5,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_hv3, transmit_hev
+	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_hev:
+	bpatch patch0e_6,mem_patch0e
+	enable encode_fec0
+	enable enable_crc
+	enable encrypt
+	force 30,loopcnt
+	arg mem_sco_obuf,contr
+transmit_ev_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop transmit_ev_loop
+	bmark1 mark_esco,transmit_end
+	branch end_of_packet
+	
+transmit_fhs:
+	bpatch patch0e_7,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:    /* expect the payload ready as in bb spec */
+	bpatch patch0f_0,mem_patch0f
+	enable encrypt
+	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 */
+transmit_lmp_loop:
+	add temp,-72,regc   /* regc is remainder */
+	nbranch transmit_lmp_finish,positive
+	ifetch 9,contr
+	inject mod,72
+	copy regc,temp
+	branch transmit_lmp_loop
+transmit_lmp_finish:
+	ifetch 9,contr
+	iinject mod,temp
+	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 patch0f_1,mem_patch0f
+	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:
+	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 patch0f_2,mem_patch0f
+	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_rxbuf,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
+	hfetcht 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_3,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:
+	arg 3750,temp
+	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 wait_div_end
+	quotient pdata
+	store 2,mem_slot_offset
+	rtn
+
+calc_clke_offset:
+	bpatch patch0f_4,mem_patch0f
+	deposit clke
+	copy clkn,temp
+	isub temp,null
+	nsetflag positive,44,pdata
+	isub temp,temp
+	setarg 3750
+	isolate0 15,temp
+	branch calc_clke_pos,true
+	setarg -61786
+	iadd temp,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
+	setarg 3750
+	isub alarm,pdata
+	isolate0 15,pdata
+	branch calc_clke_pos_adj,true
+	setarg 0xf15a
+	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_radio_freq:
+	bpatch patch0f_5,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_6,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_7,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 patch10_0,mem_patch10
+	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 patch10_1,mem_patch10
+	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 patch10_2,mem_patch10
+	fetch 1,mem_hci_puap
+	icopy uap
+	fetch 3,mem_hci_plap
+	icopy lap
+	rtn
+
+fetch_self_bt_adr:
+	bpatch patch10_3,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_4,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_5,mem_patch10
+	branch shutdown_radio0,is_rx
+	jam 0xd4, rf_tx_pa_ib
+	nop 4
+	jam 0xd2, rf_tx_pa_ib
+	nop 4
+	jam 0xd1, rf_tx_pa_ib
+	nop 4	
+	fetch 1,mem_tx_power
+	beq TX_POWER_0DB,shutdown_radio_0db
+	beq TX_POWER_3DB,shutdown_radio_3db
+	beq TX_POWER_5DB,shutdown_radio_5db
+	beq TX_POWER_f3DB,shutdown_radio_f3db
+	beq TX_POWER_f5DB,shutdown_radio_f5db
+	beq TX_POWER_PAIR,shutdown_radio_pair
+shutdown_radio_5db:	
+shutdown_radio_0db:
+	jam 0xd0, rf_tx_pa_ib
+	jam 0xe0, rf_tx_pa_gc
+shutdown_radio0:
+	force 0,radio_ctrl
+	disable is_rx
+	disable is_tx
+	pulse packet_end
+	jam 0x0,rfen_mdm
+	jam 0x0,rfen_tx
+	jam 0x0,rfen_rx
+	jam 0,rfen_sn
+	jam 0x70,rfen_msc
+	jam 0x0,rfen_adc
+	rtn
+	
+shutdown_radio_pair:
+shutdown_radio_f5db:
+shutdown_radio_f3db:
+shutdown_radio_3db:
+	jam 0xd0,rf_tx_pa_ib
+	jam 0xc0,rf_tx_pa_gc
+	branch shutdown_radio0
+
+set_sync_on:
+	bpatch patch10_6,mem_patch10
+	jam 0x0,rfen_mdm					/* if called from tx or rx */
+	jam 0x0,rfen_tx
+	jam 0x18,rfen_rx
+	jam 0xa7,rfen_sn
+	jam 0x7f,rfen_msc
+	rtn
+
+set_freq_rx:
+	bpatch patch10_7,mem_patch10
+		/* IF is +2MHz */
+	storet 1,mem_last_freq
+	add temp,rx_freq_offset,rega			/* index to frequency */
+	jam 0x07,rf_balun_ctrim                                         /*Max added, for best sensitivity*/
+	branch rf_write_freq
+rf_rx_enable:
+	bpatch patch11_0,mem_patch11
+	jam 0xcf,rfen_tx
+	nop 10					/* wait adc clk48 ready */
+	jam 0xff,rfen_rx
+	jam 0xaf,rfen_sn
+	jam 0xff,rfen_msc
+	nop 10
+	jam 0xa0,rfen_mdm
+	rtn
+	
+set_freq_tx_offset:
+	fetch 1,mem_250k_freq_enable	//default: 0
+	branch set_freq_tx_2M_offset,blank
+set_freq_tx_0M_offset:
+	add temp,2,rega			//250k
+	rtn
+set_freq_tx_2M_offset:
+	add temp,0,rega			// bt 2M Medium Frequency
+	rtn
+
+set_freq_tx:
+	bpatch patch11_1,mem_patch11
+	storet 1,mem_last_freq
+	call set_freq_tx_offset
+	call rf_write_freq
+	setarg param_pll_setup
+	call sleep
+txon:	
+	jam 0x1,rfen_adc
+	jam 0x3c,rfen_rx
+	jam 0xe0,rfen_tx
+	jam 0x12,rf_balun_ctrim
+	nop 10
+	jam 0x01,rfen_mdm
+	jam 0x3d,rfen_mdm
+	nop 10
+	jam 0xb7,rfen_sn
+	nop 10
+	jam 0x7f, rfen_mdm
+txon_power_select:	
+	fetch 1,mem_tx_power
+	beq TX_POWER_0DB,set_tx_power_0db
+	beq TX_POWER_3DB,set_tx_power_3db	
+	beq TX_POWER_5DB,set_tx_power_5db
+	beq TX_POWER_f3DB,set_tx_power_f3db	
+	beq TX_POWER_f5DB,set_tx_power_f5db
+	beq TX_POWER_PAIR,set_tx_power_pair
+set_tx_power_0db:	
+	jam 0xf0,rf_tx_pa_gc
+	call txon_common
+	jam 0xd8,rf_tx_pa_ib
+	rtn
+
+set_tx_power_3db:
+	jam 0xdf,rf_tx_pa_gc
+	call txon_common
+	jam 0xdf,rf_tx_pa_ib
+	rtn
+
+set_tx_power_5db:
+	jam 0xff,rf_tx_pa_gc
+	call txon_common
+	jam 0xdf,rf_tx_pa_ib
+	rtn
+set_tx_power_f3db:
+	jam 0xce,rf_tx_pa_gc
+	call txon_common
+	jam 0xd8,rf_tx_pa_ib
+	rtn
+
+set_tx_power_f5db:
+	jam 0xcb,rf_tx_pa_gc
+	call txon_common
+	jam 0xd8,rf_tx_pa_ib
+	rtn
+
+set_tx_power_pair:
+	jam 0xd0,rf_tx_pa_ib
+	jam 0xc0,rf_tx_pa_gc
+	jam 0x4c,0x8957
+	jam 0x6c,0x8958
+	jam 0x50,0x8959
+	rtn
+
+txon_common:
+	nop 4
+	jam 0xd1,rf_tx_pa_ib
+	nop 4
+	jam 0xd2,rf_tx_pa_ib
+	nop 4
+	jam 0xd4,rf_tx_pa_ib
+	rtn
+
+
+initialize_radio:
+	jam clksel_rc,core_clksel
+initialize_radio_wait:
+	fetch 2,mem_rf_init_ptr
+	bbit0 14,initialize_radio_wait
+	iforce contr
+	arg 0x8900,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_2,mem_patch11
+	call lpm_cal_xtal_startup
+	call switchto_dpllclk
+//	ncall check_dpll,wake
+	setarg param_dpll_start_delay
+	iadd clkn_bt,pdata
+	store 4,mem_dpll_clkn
+	set1 RESET,radio_ctrl
+	force 0,radio_ctrl
+	ncall do_rccal,wake
+	branch set_rccal
+
+	/* rega is frequency, 00=2400Mhz */
+rf_write_freq:
+	bpatch patch11_3,mem_patch11
+	setarg 2400
+	iadd rega,temp
+	fetch 1,mem_fcomp_mul
+	jam 0x04,rf_pll_rstn
+	imul32 temp,pdata
+	fetcht 1,mem_fcomp_div
+	idiv temp
+	call wait_div_end
+	quotient rega			/* rega is FLOOR(FVCO/fcomp) */
+	remainder pdata		
+	lshift16 pdata,pdata
+	lshift4 pdata,pdata		/* pdata is frac * 2^20 */
+	idiv temp
+	call wait_div_end
+	quotient pdata		/* pdata is frac *2^20/fcomp */
+	lshift8 pdata,pdata
+	lshift pdata,pdata
+	ior rega,pdata
+	hstore 4,rf_pll_intg
+	jam 0x44,rf_pll_rstn
+	jam 0xc4,rf_pll_rstn
+	rtn
+
+	
+do_rccal:
+	bpatch patch11_4,mem_patch11
+	jam 0x02,rfen_adc
+	setarg 250000
+	call sleep					/* wait clkpll&xtal stable */
+	jam 0x7f,rfen_rx
+	nop 130
+	jam 0x30,rf_rccal_ctrl
+	jam 0xd0,rfen_tx
+	jam 0x70,rf_rccal_ctrl
+	jam 0xf0,rf_rccal_ctrl
+	force 50,loopcnt
+do_rccal_loop:
+	hfetch 1,rf_rccal_result
+	bbit1 5,do_rccal_end
+	loop do_rccal_loop
+do_rccal_end:
+	store 1,mem_rf_rccal
+	jam 0,rfen_tx
+	jam 0,rfen_rx
+	jam 0x00,rfen_adc
+	rtn
+
+set_rccal:
+	bpatch patch11_5,mem_patch11
+	fetch 1,mem_rf_rccal
+	set1 5,pdata
+	hstore 1,rf_rccal_ctrl
+	hfetcht 1,rf_bpf_ctrim
+	and_into 7,temp
+	lshift3 pdata,pdata
+	ior temp,pdata
+	hstore 1,rf_bpf_ctrim
+	hfetch 1,rf_bpf_ib
+	set0 bpf_rccal,pdata
+	hstore 1,rf_bpf_ib
+	hfetch 1,rf_adc_rccal
+	set0 adc_rccal,pdata
+	hstore 1,rf_adc_rccal
+	rtn
+
+save_rssi:
+	bpatch patch11_6,mem_patch11
+	hfetch 2,rf_afc_d2a
+	rshift4 pdata,pdata
+	rshift3 pdata,pdata
+	sub pdata,0,pdata
+bcd:
+	and_into 0xff,pdata
+	div pdata,10
+	call wait_div_end
+	quotient pdata
+	lshift4 pdata,pdata
+	remainder temp
+	ior temp,pdata
+	store 1,mem_rssi			/* bcd value */
+	rtn
+
+	
+switchto_dpllclk:
+	jam clksel_rc,core_clksel
+	hfetch 1,rf_clkpll_frac+2
+	set0 4,pdata
+	set0 5,pdata
+	hstore 1,rf_clkpll_frac+2
+	jam 0x00,rfen_ck
+	jam 0x00,rfen_msc
+	jam 0x70,rfen_msc
+	jam 0xff,rfen_ck
+	hfetch 1,rf_clkpll_frac+2
+	set1 4,pdata
+	set1 5,pdata
+	hstore 1,rf_clkpll_frac+2
+	call init_lpm_ctrl
+	hfetch 1,rf_clkpll_int
+	set1 7,pdata
+	hstore 1,rf_clkpll_int
+	set0 7,pdata
+	hstore 1,rf_clkpll_int
+	set1 7,pdata
+	hstore 1,rf_clkpll_int
+	jam clksel_dpll,core_clksel
+	nop 1
+	jam clksel_xtal,core_clksel
+	hfetch 1,rf_clkpll_frac+2
+	and_into 0xcf,pdata
+	hstore 1,rf_clkpll_frac+2
+	or_into 0x30,pdata
+	hstore 1,rf_clkpll_frac+2
+	rtn
+
+	
+xtal_fast_wake:
+	setarg 0xf0f
+	branch lpm_write_config
+
+init_lpm_ctrl:
+	setarg 0x80f
+	branch lpm_write_config
+
+
+
+start_receiver:
+	bpatch patch11_7,mem_patch11
+	call rf_rx_enable
+	disable is_tx
+	enable is_rx
+	pulse init_encrypt
+	rtn
+
+prep_crypt:
+	bpatch patch12_0,mem_patch12
+	fetch 1,mem_state_map
+	isolate1 smap_encryption,pdata
+	setflag true,0,pdata
+	hstore 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
+	
+wait_access_end:
+	deposit clke
+	store 6,mem_sync_clke
+	disable decode_fec0
+	nbranch shutdown_radio,sync
+	arg param_clke_cal,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 patch12_1,mem_patch12
+	arg param_conn_access,timeup	/* 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_2,mem_patch12
+	enable decode_fec0
+	correlate null,timeout    /* keep correlating until sync is found, or timeout */
+	disable decode_fec0
+	nbranch shutdown_radio,sync
+	arg param_clke_cal,clke_rt
+	and_into 0x1fc,clke_bt
+	rtn
+
+	/* reserve slots for mult-slot packet */
+reserve_slot:
+	bpatch patch12_3,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_4,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_5,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_6,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_7,mem_patch12
+	arg param_rf_setup,timeup
+	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 patch13_0,mem_patch13
+	call prep_crypt
+	disable is_rx
+	enable is_tx
+	rtn
+
+
+
+start_tx_native:
+	bpatch patch13_1,mem_patch13
+	arg param_tx_setup,timeup
+	until clkn_rt,meet         /* wait until start_tx time */
+	pulse init_encrypt
+	rtn
+
+start_rx_native:
+	bpatch patch13_2,mem_patch13
+	arg param_rx_setup,timeup
+	until clkn_rt,meet
+	rtn
+
+
+start_tx_external:
+	bpatch patch13_3,mem_patch13
+	arg param_tx_setup,timeup
+	until clke_rt,meet         /* wait until start_tx time */
+	pulse init_encrypt
+	rtn
+
+send_access_word:
+	bpatch patch13_4,mem_patch13
+	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_5,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_6,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_7,mem_patch13
+	call get_clkbt
+	store 4,mem_supervision_timer
+	rtn
+
+assert:
+	bpatch patch14_0,mem_patch14
+	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
+	bpatch patch14_1,mem_patch14
+	jam 0,mem_connection_options
+	jam 0,mem_tester_emulate
+	jam 0,mem_tester_cnt
+	setarg param_glap
+	store 3,mem_glap
+	setarg param_acl_pktlen
+	store 2,mem_acl_pktlen
+	jam param_sco_pktlen,mem_sco_pktlen
+	jam param_acl_pktcnt,mem_acl_pktcnt
+	jam param_sco_pktcnt,mem_sco_pktcnt
+	setarg param_hci_version
+	store 3,mem_hci_version
+//	setarg param_lmp_version
+//	store 3,mem_lmp_version
+//	setarg param_lmp_subversion
+//	store 2,mem_lmp_subversion
+	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 */
+ifdef SIMPLE_PAIRING
+	fetch 1,mem_ssp_enable
+	ncall init_memp,blank
+endif
+ifdef SECURE_CONNECTION
+	fetch 1,mem_le_secure_connect_enable
+	ncall init_memp_256,blank
+endif
+	bpatch patch14_2,mem_patch14
+	rtn wake
+	setarg 0
+	store 2,mem_tx_len
+	rshift clkn_bt,pdata
+	store 4,mem_last_clkn
+	rtn
+
+
+
+
+/*****************************************LPO************************************************/
+
+lpmstate:
+	setarg 0xee21
+	hstore 2,core_clkoff			// disable unused peripherals
+	hfetch 4,core_gpio_in
+	store 4,mem_saved_gpio_in
+	hfetch 1,core_lpm_ldocnt
+	store 1,mem_wakup_from_power_flag
+	bbit0 gpio_latch,loadcode		// power up boot
+	enable wake
+	bbit0 cold_wake,lpmwake		
+	disable wake
+	deposit auxcnt
+	nbranch lpmwake,blank		// sleep interrupted, wakeup
+	hfetch 1,core_lpm_ctrl + 3
+	bbit1 reload_code,lpmwake
+	arg param_hibernate_clks,temp
+	branch lpm_enter_sleep
+lpmwake:
+	hfetch 3,core_lpm_xtalcnt
+	hstore 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
+	hfetch 1,core_lpm_isogate
+	set1 enable_retmem,pdata
+	hstore 1,core_lpm_isogate
+	call lpm_write_ctrl2
+	call lpm_load_context,wake
+	hfetch 1,core_lpm_reg+2
+	set0 gpio_latch,pdata			// enable gpio fuction
+	hstore 1,core_lpm_reg+2
+	call lpm_write_ctrl2
+	nbranch loadcode,wake		// wakeup from hibernate
+	rtnmark0 mark_otp_encrypt
+	jam lock_otp,core_misc_ctrl	// disable further read/write of key
+	rtn 
+
+lpm_load_context:
+	fetch 1,mem_saved_spidctrl
+	hstore 1,core_spid_ctrl
+	fetch 3,mem_saved_gsel
+	hstore 3,core_gpio_sel
+	fetch 4,mem_saved_gpio+4
+	hstore 4,core_gpio_out0
+	fetch 4,mem_saved_gpio
+	hstore 4,core_gpio_oe0
+	fetch 8,mem_saved_gpio+8
+	hstore 8,core_gpio_pu0	
+	fetch 8,mem_saved_mark
+	iforce mark
+	hfetch 8,core_gpio_wakeup_low
+	store 8,mem_gpio_wakeup_low
+	call load_ucode
+	rtn
+
+lpm_save_context:
+	deposit mark
+	store 8,mem_saved_mark
+	hfetch 8,core_gpio_oe0
+	store 8,mem_saved_gpio
+	ifetch 8,contr
+	istore 8,contw
+	hfetch 3,core_gpio_sel
+	store 3,mem_saved_gsel
+	hfetch 1,core_spid_ctrl
+	store 1,mem_saved_spidctrl
+	branch lpm_write_gpio_wakeup
+
+lpo_calibration:
+	hfetch 1,core_bist_ctrl
+	nbranch lpo_cal_inited,blank
+	fetch 3,mem_clks_per_lpo
+	nrtn blank
+	jam 0xc0,core_bist_ctrl
+	jam ccnt_start,core_misc_ctrl
+lpo_cal_inited:
+	hfetch 1,core_perf_status
+	rtnbit0 1
+	hfetch 3,core_clk_counter
+	store 3,mem_clks_per_lpo
+	rtn
+
+
+	/* temp is synced clke */
+lpm_adjust_clk:
+	bpatch patch14_3,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 wait_div_end
+	quotient pdata
+	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_4,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_5,mem_patch14
+	call xtal_fast_wake
+	fetch 4,mem_sleep_counter_all
+	iadd temp,pdata
+	store 4,mem_sleep_counter_all
+	call lpm_save_context
+	fetch 5,mem_lpm_xtalcnt
+	hstore 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
+	hstore 1,core_lpm_isogate
+	jam lpmreg_sel_ctrl2,core_lpm_wr
+lpm_enter_sleep:
+	until null,lpo_edge
+	until null,lpo_edge
+	hstoret 4,core_lpm_reg
+	jam lpmreg_sel_counter,core_lpm_wr
+	until null,never
+
+
+
+
+lpm_recover_clk:
+	bpatch patch14_6,mem_patch14
+	setarg 0
+	copy auxcnt,null
+	branch lpm_recover_timeout,zero
+	hfetch 1,core_lpm_xtalcnt
+	hfetcht 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 8,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
+	arg 3750,temp
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	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
+	hfetch 1,core_gpio_in1
+	or_into 0xf0,pdata
+	istore 1,contw
+	rtn
+	
+lpm_dispatch:
+	bpatch patch14_7,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_le_sc_calc
+	nrtn blank	
+	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
+	rtn blank										/* role switch */
+	rtn wake
+	bpatch patch15_0,mem_patch15
+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 patch15_1,mem_patch15
+	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 patch15_2,mem_patch15
+	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_3,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:
+	bpatch patch15_4,mem_patch15
+	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_5,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:
+	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_6,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:
+	bpatch patch15_7,mem_patch15
+	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
+	hstore 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
+	hstore 1,core_lpm_wr
+	until null,lpo_edge
+	until null,lpo_edge
+	rtn
+
+
+lpm_write_gpio_wakeup:
+	bpatch patch16_0,mem_patch16
+	fetch 4,mem_gpio_wakeup_low
+	hstore 4,core_lpm_reg
+	setarg lpmreg_sel_gpiolow
+	call lpm_write
+	fetch 4,mem_gpio_wakeup_high
+	hstore 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 patch16_1,mem_patch16
+	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 1,mem_le_tx_buff_used
+	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
+	setarg -8
+	iand rega,rega
+	copy rega,pdata
+	store 2,mem_lpm_wake_lock
+	rtn
+
+lpm_uart_wake_lock:
+	hfetch 2,core_uart_rxitems
+	nsetflag blank,wake_lock_uart_rx ,rega
+	hfetch 2,core_uart_txitems
+	nsetflag blank,wake_lock_uart_tx ,rega
+	rtn
+
+lpm_shut_down:
+	hfetch 4,core_lpm_ctrl
+	set0 27,pdata
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+	branch assert
+	
+lpm_disable_exen_output:
+	hfetch 4,core_lpm_xtalcnt
+	set0 20,pdata
+	hstore 4,core_lpm_reg
+	branch lpm_write_ctrl2
+
+check_bt_disabled:
+	fetch 2,mem_chip_functions
+	bbit1 bt_disabled,assert
+	rtn
+check_ble_disabled:
+	fetch 2,mem_chip_functions
+	bbit1 ble_disabled,assert
+	rtn
+check_module_disabled:
+	fetch 2,mem_chip_functions
+	bbit1 module_disable,assert
+	rtn
+
+
+
+
+
+
+
+//p_check_attempt_sniff:
+//	bbit0 state_insco,p_check_attempt_not_sco
+//	fetch 1,mem_current_sniff_attempt
+//	beq 2,p_check_attempt_sniff_restore_sco
+//	fetch 1,mem_arq
+//	bbit1 wack,p_check_attempt_notimeout
+//	bmark0 mark_esco_rxok,p_check_attempt_notimeout
+//p_check_attempt_sniff_restore_sco:
+//	nbranch p_check_attempt_notimeout,master
+//	fetch 1,mem_lmp_to_send
+//	nbranch p_check_attempt_notimeout,blank
+//p_check_attempt_sco_master:
+//	fetch 1,mem_sco_poll
+//	increase -1,pdata
+//	store 1,mem_sco_poll
+//	nbranch check_attempt_nomore,blank
+//	jam param_sco_poll,mem_sco_poll
+//	branch check_attempt_notimeout
+//p_check_attempt_not_sco:
+//	compare type_null,type,0x1f
+//	branch check_timeout,true
+//	compare type_poll,type,0x1f
+//	branch check_timeout,true
+//	branch check_anchor_end
+//p_check_attempt_notimeout:
+//check_atttemp_decrease:
+//	fetch 1,mem_current_sniff_attempt
+//	increase -1,pdata
+//	store 1,mem_current_sniff_attempt
+//	rtn
+//check_timeout:
+//	fetch 1,mem_sniff_timeout_temp
+//	increase 1,pdata
+//	store 1,mem_sniff_timeout_temp
+//check_anchor_end:
+//	fetch 1,mem_current_sniff_attempt
+//	branch check_anchor_end_attempt0,blank
+//	call check_atttemp_decrease
+//	nrtn blank
+//check_anchor_end_attempt0:  
+//	fetch 1,mem_sniff_timeout_temp
+//	fetcht 1,mem_current_sniff_timeout
+//	isub temp,null
+//	branch p_blank,positive
+//	arg 1,pdata
+//	rtn
+//p_blank:
+//	arg 0,pdata
+//	rtn
+
+
+
Index: HS_24G&BLE_Motion/program/hci_h4.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/hci_h4.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/hci_h4.prog	(working copy)
@@ -0,0 +1,138 @@
+
+ifdef DEBUG_H4LOG_ENABLE
+hci_log:
+	copy regc,pdata
+	rtneq 0x11
+	fetch 1,mem_hci_log
+	increase 1,pdata
+	sub pdata,hci_log_cnt,null
+	branch hci_log_calc_ptr,positive
+	setarg 0
+hci_log_calc_ptr:
+	store 1,mem_hci_log
+	arg hci_log_size,temp
+	imul32 temp,pdata
+	arg mem_hci_log+hci_log_size,contw
+	iadd contw,contw
+hci_log_write_content:
+	fetch 1,mem_hci_log
+	istore 1,contw//counter
+	copy regb,pdata
+	istore 1,contw
+	fetch 2,mem_le_event_count
+	istore 1,contw
+	copy clke_bt,pdata
+	istore 3,contw
+	fetch 1,mem_last_freq
+	istore 1,contw
+	fetch 1,mem_le_rxbuf
+	istore 1,contw
+	rtn
+else
+
+endif
+
+hci_rx_h4:
+	bpatch patch1f_5,mem_patch1f
+	fetch 1,mem_hci_cmd
+	nrtn blank
+hci_rx_h4_1:
+	call hci_h4_parse_packet
+	ncall h4_rx_discard_packet,user
+	rtn
+	
+hci_h4_parse_packet:
+	bpatch patch1f_6,mem_patch1f
+	copy contru,rega
+	arg 4,temp
+	ifetch 1,contru //type
+	beq HCI_H4_TYPE_CMD,hci_h4_parse_packet_wait_len
+	increase 1,temp //acl packet has 2 bytes for length
+	beq HCI_H4_TYPE_ACL,hci_h4_parse_packet_wait_len
+	copy contru,pdata
+	hstore 2,core_uart_rrptr
+	rtn
+hci_h4_parse_packet_wait_len:
+	hfetch 2,core_uart_rxitems
+	isub temp,null
+	nbranch hci_h4_parse_packet_wait_len,positive // while(rxitems >= 4 or 5);
+	//Make sure length has been recieved.
+	disable user
+	copy rega,contru
+	call h4_get_rx_payload_len
+	iadd temp,temp
+hci_h4_parse_packet_wait:
+	hfetch 2,core_uart_rxitems
+	isub temp,null
+	nbranch hci_h4_parse_packet_wait,positive//wait for rcv a complete packet
+	copy rega,contru
+	ifetch 1,contru //HCI packet type
+	beq  HCI_H4_TYPE_CMD,process_hci_cmd
+	branch assert
+	
+h4_rx_discard_packet:
+	bpatch patch1f_7,mem_patch1f
+	hfetch 2,core_uart_rrptr
+	iforce contru
+	call h4_get_rx_payload_len
+	iadd contru,contru
+	deposit contru
+	hstore 2,core_uart_rrptr
+	rtn
+
+
+//contru = pointer to packet start
+//return len via pdata
+h4_get_rx_payload_len:
+	ifetch 1,contru
+	increase 2,contru
+	beq HCI_H4_TYPE_ACL,h4_get_rx_payload_len_acl
+	ifetch 1,contru
+	rtn
+h4_get_rx_payload_len_acl:
+	ifetch 2,contru
+	rtn
+
+h4_get_tx_ptr:
+	hfetch 2,core_uart_twptr
+	increase -5,contwu
+	iadd contwu,contwu
+	rtn
+
+h4_send_packet_event:
+	arg HCI_H4_TYPE_EVENT,temp //type
+	branch h4_send_packet
+h4_send_packet_acl: //upgoing ACL
+	arg HCI_H4_TYPE_ACL,temp //type
+h4_send_packet:
+	bpatchx patch20_0,mem_patch20
+	increase 1,loopcnt
+	hfetch 2,core_uart_twptr
+	copy pdata,contwu
+	copy loopcnt,pdata //length
+	istoret 1,contwu //packet type in temp
+	increase -1,pdata
+	iadd contwu,contwu
+	copy contwu,pdata
+	store 2,mem_hci_acl_tx_trigger_wptr
+	copy temp,pdata
+ifdef ACL_DEBUG
+	beq HCI_H4_TYPE_EVENT,h4_send_packet0
+	hfetch 1,core_uart_txitems
+	ncall ice_break,blank
+	
+h4_send_packet0:	
+	copy temp,pdata
+endif
+	rtneq HCI_H4_TYPE_ACL //not send acl packet immediately
+	fetch 2,mem_hci_acl_tx_trigger_wptr
+	hstore 2,core_uart_twptr
+	branch h4_send_acl_trigger_clear
+	
+	
+h4_send_acl_trigger_clear:
+	setarg 0
+	store 2,mem_hci_acl_tx_trigger_wptr
+	rtn
+
+	
Index: HS_24G&BLE_Motion/program/hci_main.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/hci_main.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/hci_main.prog	(working copy)
@@ -0,0 +1,400 @@
+/*********************************/
+/**********   HCI  *****************/
+/*********************************/
+
+hci_init:
+	rtn wake
+	setarg hci_idle_dispatch
+	store 2,mem_cb_idle_process
+
+	setarg uart_baud_115200
+	store uart_baud_len,mem_baud
+hci_lpm_init:
+	setarg mem_h5rx_buf
+	hstore 2,core_uart_rsaddr
+	setarg mem_h5rx_buf_end
+	hstore 2,core_uart_readdr
+	setarg mem_h5tx_buf
+	hstore 2,core_uart_tsaddr
+	call hci_sel_init
+hci_reinit:
+	jam 0x0,core_uart_ctrl
+ 	setarg mem_h5tx_buf
+	hstore 2,core_uart_twptr
+	hstore 2,core_uart_trptrp
+	setarg mem_h5rx_buf
+	hstore 2,core_uart_rrptr
+	store 2,mem_h5rx_rptr
+hci_init_common:
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_UART,pdata
+	hstore 2,core_clkoff
+	call uart_set_baud_by_mem
+	jam uartclk_dpll,core_uart_clksel
+	jam uart_ctrl_h4,core_uart_ctrl
+	rtn
+
+hci_sel_init:
+	setarg mem_h5tx_buf_end
+	hstore 2,core_uart_teaddr
+	hfetch 1,core_gpio_sel1
+	or_into 0x07,pdata
+	hstore 1,core_gpio_sel1
+	rtn
+	
+	
+hci_rx_packet:
+	bpatchx patch20_1,mem_patch20
+	hfetch 1,core_uart_status
+	iforce regb
+	bbit0 uart_status_rx_fifo_empty,hci_rx_packet_cont
+	hfetch 2,core_uart_rxitems
+	iforce regc
+	arg 0x44f,temp
+	isub temp,null
+	nrtn zero
+hci_rx_packet_cont:
+	hfetch 2,core_uart_rrptr
+	iforce contru
+	branch hci_rx_h4
+	
+uart_send_byte:
+	hfetcht 1,core_uart_status
+	isolate1 6,temp
+	branch uart_send_byte,true
+	hstore 1,core_uart_txd
+	rtn
+	
+process_hci_cmd:
+	bpatchx patch20_2,mem_patch20
+	fetch 1,mem_hci_cmd
+	branch process_hci_cmd_cont,blank
+	enable user					/* last command still there */
+	rtn
+process_hci_cmd_cont:
+	ifetch 2,contru
+	iforce alarm				/* alarm is used for sending */
+	iforce queue				/* queue is OCF */
+	ifetch 1,contru		/* skip hci length */
+	iforce temp			/* temp has the length */
+	rshift2 alarm,pdata
+	rshift8 pdata,pdata
+	beq HCI_OGF_VENDOR_SPECIFIC,phci_grp_vendor_specific
+	rtn
+
+
+phci_grp_vendor_specific:
+	bpatchx patch20_3,mem_patch20
+	deposit queue
+	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_BDADDR,phci_grp_vendor_bdaddr
+	beq HCI_VENDOR_CMD_ENTER_LPM,phci_grp_vendor_enter_lpm
+	
+	beq HCI_VENDOR_CMD_MEM,phci_grp_vendor_mem
+	beq HCI_VENDOR_CMD_EEP,phci_grp_vendor_eep
+	beq HCI_VENDOR_CMD_PATCH_SEC_INIT,phci_grp_vendor_patch_sec_init
+	beq HCI_VENDOR_CMD_PATCH_SEC,phci_grp_vendor_patch_sec
+	branch hci_normal_reply
+
+phci_grp_vendor_enter_lpm:
+	call hci_normal_reply
+	call wait_uarttx
+	call gpio_pu_uart_tx
+hci_enter_lpm:
+	call app_put_lpm_wake_lock
+	call app_l2cap_flow_control_enable
+	branch gpio_rx_config_input_with_pu
+
+hci_exit_lpm:
+	jam HCI_RX_READY,mem_hci_lt_rx_state
+	call app_get_lpm_wake_lock
+	call hci_lpm_init
+	branch app_l2cap_flow_control_disable
+	
+phci_grp_vendor_chipid:
+	call hci_get_cmd_complete_ptr
+	hfetch 2,core_chipid
+	istore 2,contwu
+	force 6,loopcnt
+	branch hci_command_complete
+	
+phci_grp_vendor_baud:
+	ifetch 2,contru
+	store 2,mem_baud
+	hstore 2,core_uart_baud
+	rtn
+
+
+phci_grp_vendor_patch_common:
+	//jam 0x80,core_ucode_ctrl
+	ifetch 1,contru
+	copy pdata,temp //check sum via temp
+	hstore 1,core_ucode_low
+	ifetch 1,contru
+	iadd temp,temp
+	set1 7,pdata
+	hstore 1,core_ucode_ctrl
+	ifetch 1,contru
+	iadd temp,temp
+	copy pdata,loopcnt
+	rtn
+	
+phci_grp_vendor_patch:
+	bmark1 mark_otp_encrypt ,phci_grp_vendor_patch_bad
+	call phci_grp_vendor_patch_common
+phci_grp_vendor_patch_loop:
+	ifetch 1,contru
+	hstore 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,contru
+	isub temp,null
+	nbranch phci_grp_vendor_patch_bad,zero
+	branch hci_normal_reply
+
+	
+phci_grp_vendor_patch_sec:
+	bmark0 mark_otp_encrypt ,phci_grp_vendor_patch_bad
+	call phci_grp_vendor_patch_common
+	store 8,mem_pdatatemp
+phci_grp_vendor_patch_sec_loop:
+	call do_aes_cbc	
+	arg 16,loopcnt
+	arg mem_temp_block0,contw
+	call load_uart_sum_loop
+	storet 8,mem_temp
+	arg mem_temp_block2,contw
+	call store_aes_result
+	arg mem_temp_block2,rega
+	arg mem_temp_block0,regb
+	arg mem_temp_block3,contw
+	call xor16	
+	arg 16,loopcnt
+	arg mem_temp_block3,contr
+	call load_ucode_only_loop
+	fetcht 8,mem_temp
+	fetch 8,mem_pdatatemp
+	increase -16,pdata
+	store 8,mem_pdatatemp
+	nbranch phci_grp_vendor_patch_sec_loop,blank
+	branch phci_grp_vendor_patch_check_sum	
+	
+load_ucode_only_loop:
+	ifetch 1,contr
+	hstore 1,core_ucode_data
+	loop load_ucode_only_loop
+	rtn
+
+load_uart_sum_loop:
+	ifetch 1,contru
+	istore 1,contw
+	iadd temp,temp
+	loop load_uart_sum_loop
+	rtn
+
+phci_grp_vendor_patch_sec_init:
+	bmark0 mark_otp_encrypt ,phci_grp_vendor_patch_bad
+	arg 0,temp
+	arg 16,loopcnt
+	arg mem_temp_block0,contw
+	call load_uart_sum_loop
+	hfetch 1,core_gpio_key2
+	and_into 0xfd,pdata   // disable aes for iv
+	hstore 1,core_gpio_key2
+	arg mem_temp_block0,contr
+	arg 16,loopcnt
+	call aes_load_data
+	call aes_init
+	call aes_clear_data
+	branch phci_grp_vendor_patch_check_sum
+
+
+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,contru
+	istore 1,contw
+	iadd temp,temp
+	loop phci_grp_vendor_done_loop
+	and temp,0xff,temp
+	ifetch 1,contru
+	isub temp,null
+	nbranch phci_grp_vendor_patch_bad,zero
+	jam 0,core_ucode_ctrl
+	call hci_normal_reply
+	call h4_rx_discard_packet
+	call clear_key_buf
+	call wait_uarttx
+	branch soft_reset
+
+phci_grp_vendor_patch_bad:
+	jam 0,core_ucode_ctrl
+	branch start
+	
+phci_grp_vendor_bdaddr:
+	ifetch 6,contru
+	store 6,mem_lap
+	branch hci_normal_reply
+
+
+phci_grp_vendor_mem:
+	ifetch 1,contru
+	store 1,mem_hci_curr_len
+	copy pdata,loopcnt
+	ifetch 2,contru
+	store 2,mem_hci_curr_target
+	copy pdata,contw
+	call uart_copy_rx_bytes
+	branch hci_normal_reply
+
+
+phci_grp_vendor_eep:
+	ifetch 1,contru
+	store 1,mem_hci_curr_len
+	copy pdata,loopcnt
+	ifetch 2,contru
+	store 2,mem_hci_curr_target
+	arg mem_l2cap_rxbuff1,contw
+	call uart_copy_rx_bytes
+	fetcht 1,mem_hci_curr_len
+	arg mem_l2cap_rxbuff1,rega
+	fetch 2,mem_hci_curr_target
+	branch iicd_write_ota_data
+	
+	
+
+	
+hci_normal_reply:
+	force 4,loopcnt
+hci_command_complete:	/* loopcnt is hci length */
+	call hci_get_payload_ptr
+	force 0x1,pdata
+	istore 1,contwu
+	deposit alarm
+	istore 3,contwu
+	force HCI_EVENT_COMMAND_COMPLETE,queue
+hci_send_event:		/* queue:event code, loopcnt: length */
+	bpatchx patch20_4,mem_patch20
+	call hci_get_packet_ptr
+	deposit queue
+	istore 1,contwu
+	deposit loopcnt
+	istore 1,contwu
+hci_send_event_raw:
+	force 5,queue
+	increase 2,loopcnt
+hci_send_packet:
+	branch h4_send_packet_event
+
+hci_send_commu_ready_event:
+	force HCI_EVENT_VENDOR_SPECIFIC,queue
+	call hci_get_payload_ptr
+	setarg HCI_VENDOR_EVENT_COMMU_READY
+	istore 1,contwu
+	force 1,loopcnt
+	branch hci_send_event
+
+hci_get_cmd_complete_ptr:
+	force 12,contwu
+	branch hci_get_tx_ptr
+
+hci_get_payload_ptr:
+	force 8,contwu
+	branch hci_get_tx_ptr
+
+hci_get_packet_ptr:
+	force 6,contwu
+hci_get_tx_ptr:
+	branch h4_get_tx_ptr
+
+	
+
+calc_tx_crc16:
+	pulse crc16
+	enable enable_crc
+crcloop:
+	ifetch 1,contwu
+	inject bucket,8
+	loop crcloop
+	enable enable_parity
+	inject bucket,16
+	disable enable_parity
+	disable enable_crc
+	disable crc16
+	byteswap pdata,pdata
+	rtn
+
+
+
+cmd_exit:
+	jam 0,mem_hci_cmd
+	rtn
+cmd_check_plap:
+	fetch 6,mem_hci_plap
+	fetcht 6,mem_plap
+	isub temp,null
+	rtn
+
+	
+	
+//enable ssp master sm
+cmd_pair:
+	fetch 1,mem_op
+	bbit1 op_inrand_req,cmd_pair_passive
+	call tid_initiate
+	jam LMP_IN_RAND,mem_lmo_opcode2
+	branch cmd_exit
+cmd_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
+	branch cmd_exit
+	rtn
+cmd_in_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 2,mem_sniff_param_interval	/* tsniff */
+	istore 2,contw
+	fetch 1,mem_sniff_param_attempt	/* attempt */
+	istore 2,contw
+	fetch 1,mem_sniff_param_timeout	/* timeout */
+	istore 2,contw
+	branch cmd_exit
+	
+cmd_exit_sniff:
+	jam LMP_UNSNIFF_REQ,mem_lmo_opcode2
+	branch cmd_exit
+
+hci_idle_dispatch:
+	call gpio_check_uart_state
+	rtn true
+	arg UART_WAKEUP_RX,temp
+	call gpio_get_bit
+	nbranch uart_wake_up,true
+	jam HCI_RX_WAKE,mem_hci_lt_rx_state
+	rtn
+uart_wake_up:
+	fetch 1,mem_hci_lt_rx_state
+	rtnne HCI_RX_WAKE
+	call hci_exit_lpm
+	branch hci_send_commu_ready_event
+	
+	
Index: HS_24G&BLE_Motion/program/hid.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/hid.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/hid.prog	(working copy)
@@ -0,0 +1,84 @@
+/**
+* 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:
+	bpatchx patch20_5,mem_patch20
+	fetch 2,mem_l2cap_payload_ptr
+	copy pdata,contr
+	ifetch 1,contr
+	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
+	rtnbit0 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
+	store 1,mem_hid_control_state
+	jam BT_EVT_HID_HANDSHAKE,mem_fifo_temp
+	branch ui_ipc_send_event
+
+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: HS_24G&BLE_Motion/program/kscan_peipherals.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/kscan_peipherals.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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: HS_24G&BLE_Motion/program/l2cap.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/l2cap.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/l2cap.prog	(working copy)
@@ -0,0 +1,1929 @@
+/************************************/
+/*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:	
+	bpatchx patch20_6,mem_patch20
+	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:
+	bpatchx patch20_7,mem_patch20
+	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
+	bpatchx patch21_0,mem_patch21
+	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
+	bpatchx patch21_1,mem_patch21
+	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
+
+set_pdata_0:
+	setarg 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
+	bpatchx patch21_2,mem_patch21
+	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:
+	bpatchx patch21_3,mem_patch21
+	fetch 2,mem_sdp_tx_pkt_length
+	increase 4,pdata
+	rshift4 pdata,pdata
+	rshift3 pdata,pdata
+	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 sdp_process
+	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 sdp_process
+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:
+	bpatchx patch21_4,mem_patch21
+	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:
+	bpatchx patch21_5,mem_patch21
+	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:
+	bpatchx patch21_6,mem_patch21
+	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
+	bpatchx patch21_7,mem_patch21
+	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:
+	bpatchx patch22_0,mem_patch22
+	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
+	bpatchx patch22_1,mem_patch22
+	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
+	bpatchx patch22_2,mem_patch22
+	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:
+	bpatchx patch22_3,mem_patch22
+	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:
+	bpatchx patch22_4,mem_patch22
+	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
+	bpatchx patch22_5,mem_patch22
+	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
+	bpatchx patch22_6,mem_patch22
+	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
+	bpatchx patch22_7,mem_patch22
+	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:
+	bpatchx patch23_0,mem_patch23
+	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:
+	bpatchx patch23_1,mem_patch23
+	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:
+	bpatchx patch23_2,mem_patch23
+	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
+	bpatchx patch23_3,mem_patch23
+	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:
+	bpatchx patch23_4,mem_patch23
+	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
+	bpatchx patch23_5,mem_patch23
+	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
+	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
+	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
+	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
+	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
+	bpatchx patch23_6,mem_patch23
+	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
+	store 1,mem_sdp_state
+	rtn
+ml2cap_proc_signal_config_rsp_rfcomm:
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES
+	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
+	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
+	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 patch23_7,mem_patch23
+	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 patch24_0,mem_patch24
+	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 patch24_1,mem_patch24
+	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:
+	bpatchx patch24_2,mem_patch24
+	arg 0,regb
+	call l2cap_malloc_is_fifo_full
+	nbranch assert,blank//assert when fifo full
+	call l2cap_malloc_get_full_map
+ifdef DEBUG_MALLOC
+	call l2cap_malloc_log_get_ptr
+	copy regA,pdata
+	istore 2,contw
+	sub pdata,1024,null
+	branch assert,positive
+	branch assert,blank
+endif
+	arg mem_tx_buff0,regB//pbuff = buff0;
+	arg 0,queue // i = 0;
+l2cap_malloc_loop:
+	fetcht 1,mem_used_map
+	qisolate1 temp
+	branch l2cap_malloc_next,true//if(1 == (used_map & (1 << i)))goto next;
+	call l2cap_malloc_enough
+	sub timeup,0,null// (0 - timeup)
+	branch l2cap_malloc_next,positive//if(buff_cnt <= 0)goto next;
+	call l2cap_malloc_into_fifo
+	branch l2cap_malloc_rtn//return (pbuff);
+l2cap_malloc_next:
+	increase 128,regB//pbuff += BUFF_SIZE;//point to next buff
+	increase 1,queue
+	setarg 8//BUFF_MAX_COUNT
+	isub queue,null //BUFF_MAX_COUNT - i
+	branch l2cap_malloc_loop,positive//while(i < buff_max_count)
+	arg 0,regB//return NULL
+l2cap_malloc_rtn:
+ifdef DEBUG_MALLOC
+	call l2cap_malloc_log_get_ptr
+	copy regB,pdata
+	istore 2,contw
+endif
+	copy regB,pdata
+	branch assert,blank
+	rtn//return pointer via pdata
+	
+/*********************************************************/
+//void* l2cap_malloc_fifo_out(void)
+//output:len -> temp
+//output:ptr ->pdata
+//only get ptr,not free
+/*********************************************************/
+l2cap_malloc_fifo_out:
+	bpatchx patch24_3,mem_patch24
+	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 patch24_4,mem_patch24
+	call l2cap_malloc_fifo_get_first_ptr
+	copy contr,contw
+	copy contr,temp
+	setarg 0
+	istore 3,contw
+ifdef DEBUG_MALLOC
+	call l2cap_malloc_log_get_ptr
+	setarg 0xaa
+	istore 1,contw
+	istoret 1,contw
+endif
+	rtn
+/*********************************************************/
+//void l2cap_malloc_discard(void)
+//discard the latest malloc
+/*********************************************************/
+l2cap_malloc_discard:
+	bpatchx patch24_5,mem_patch24
+	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 patch24_6,mem_patch24
+	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 patch24_7,mem_patch24
+	fetch 3,mem_tx_fifo1
+	rtn
+/*********************************************************/
+//bool fifo_is_empty(void)
+//blank == 1: empty
+//blank == 0: not empty
+/*********************************************************/
+l2cap_malloc_is_fifo_empty:
+	bpatchx patch25_0,mem_patch25
+	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 assert,blank // fifo is empty
+	arg mem_tx_fifo0,contr
+ifdef DEBUG_MALLOC
+	arg 5,loopcnt
+l2cap_malloc_free_loop:
+	increase -1,loopcnt
+	copy loopcnt,pdata
+	branch assert,blank
+else
+l2cap_malloc_free_loop:
+endif
+	ifetch 3,contr
+	branch l2cap_malloc_free_loop,blank
+	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 patch25_1,mem_patch25
+	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
+/*********************************************************/
+//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)
+/*********************************************************/
+l2cap_malloc_into_fifo:
+	bpatchx patch25_2,mem_patch25
+	call l2cap_malloc_is_fifo_full
+	nbranch assert,blank //fifo full
+	call l2cap_malloc_is_fifo_empty
+	branch l2cap_malloc_into_fifo_no_push,blank//fifo empty, no need to push
+	fetch 3,mem_tx_fifo1
+	store 3,mem_tx_fifo0
+	ifetch 3,contr//mem_tx_fifo2
+	istore 3,contw//mem_tx_fifo1
+	ifetch 3,contr//mem_tx_fifo3
+	istore 3,contw//mem_tx_fifo2
+	setarg 0
+	istore 3,contw//mem_tx_fifo3
+l2cap_malloc_into_fifo_no_push:
+	arg 0,temp
+	copy timeup,pdata
+	iadd queue,pdata
+l2cap_malloc_into_fifo_loop:
+	qset1 temp//fifo->map |= 1 << i;
+	increase 1,queue
+	isub queue,null
+	nbranch l2cap_malloc_into_fifo_loop,zero
+	//map in temp
+	lshift8 regB,pdata
+	ior temp,pdata
+	store 3,mem_tx_fifo3
+	rtn
+
+/*********************************************************/
+//char is_size_enough(char buff_index, short len)
+//input: regA -> len
+//input: queue -> buff_index
+//rtn: timeup -> buff_cnt
+//val: max_size_fom_buff_index -> temp
+//val: i -> loopcnt
+/*********************************************************/
+l2cap_malloc_enough:
+	bpatchx patch25_3,mem_patch25
+	call l2cap_malloc_get_full_map
+	copy queue,regC//restore buff_index to regC
+	arg 0,temp
+	arg 0,timeup//default return val
+	//increase 1,queue
+l2cap_malloc_enough_loop:
+	copy queue,pdata
+	beq 8,l2cap_malloc_enough_end
+	fetch 1,mem_used_map
+	qisolate1 pdata
+	branch l2cap_malloc_enough_end,true
+	increase 128,temp
+	increase 1,queue
+	copy regA,pdata
+	isub temp,null
+	branch l2cap_malloc_enough_end,zero//(max_size_fom_buff_index ==  len)
+	branch l2cap_malloc_enough_loop,positive//(max_size_fom_buff_index <  len)
+l2cap_malloc_enough_end:
+	copy temp,pdata
+	isub regA,null
+	nbranch l2cap_malloc_enough_rtn,positive// max_size_fom_buff_index - len > 0
+	copy queue,pdata//i
+	copy regC,temp//buff_index
+	isub temp,timeup//return (i - buff_index)
+l2cap_malloc_enough_rtn:
+	copy regC,queue//restore buff_index to queue
+	rtn
+	
+ifdef DEBUG_MALLOC
+l2cap_malloc_log_get_ptr:
+	fetch 2,mem_tx_malloc_log
+	increase 2,pdata
+	store 2,mem_tx_malloc_log
+	sub pdata,62,null
+	nbranch l2cap_malloc_log_clean,positive
+	increase -2,pdata
+	iadd contw,contw
+	rtn
+l2cap_malloc_log_clean:
+	jam 0x00,mem_tx_malloc_log
+	branch l2cap_malloc_log_get_ptr	
+endif
+
+l2cap_malloc_signal_channel:
+	bpatchx patch25_4,mem_patch25
+	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 patch25_5,mem_patch25
+	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 patch25_6,mem_patch25
+	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 patch25_7,mem_patch25
+	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 patch26_0,mem_patch26
+	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 patch26_1,mem_patch26
+	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: HS_24G&BLE_Motion/program/le.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/le.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/le.prog	(working copy)
@@ -0,0 +1,1839 @@
+ifdef COMPILE_LE
+//******************************************//
+//*************LE INIT ****************//
+//******************************************//
+
+
+le_init_conn:
+	bpatchx patch26_2,mem_patch26
+	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
+	store 5,mem_le_pcnt_tx
+	set1 39,pdata
+	store 5,mem_le_pcnt_rx
+	jam 1,mem_le_txheader
+	jam 0,mem_le_txlen
+	branch le_supervision_flush
+
+le_init_master:
+	bpatchx patch26_3,mem_patch26
+	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_le_pcnt_rx
+	set1 39,pdata
+	store 5,mem_le_pcnt_tx	
+	branch le_init_conn
+
+
+le_init_slave:
+	bpatchx patch26_4,mem_patch26
+	disable master
+ 	setarg 0x17
+ 	store 2,mem_le_remote_mtu
+	jam lemode_slave,mem_le_mode
+	jam 0,mem_le_adv_enable
+	jam 0,mem_lpm_current_mult
+	jam FLAG_LE_PAIRING_NULL,mem_le_pairing_state
+	jam FLAG_LE_ENC_NULL,mem_le_enc_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_dispatch:
+	call le_enable
+	call le_scan
+	call le_adv
+	branch le_disable
+
+le_conn_dispatch:
+	bpatchx patch26_5,mem_patch26
+	call le_enable
+	call app_process_ble
+	fetch 1,mem_le_mode
+	beq lemode_master,le_master_dispatch
+	branch le_slave_dispatch
+	
+//******************************************//
+//***********LE master process*********//
+//******************************************//
+	
+le_master_dispatch:
+	bpatchx patch26_6,mem_patch26
+	enable master
+	call le_supervision_update
+	branch le_master_disconn,positive
+	call check_ble_disabled
+	call le_setup
+	call le_prepare_tx
+	disable match
+	call le_transmit_receive_sifs
+	nrtn match
+	bpatchx patch26_7,mem_patch26
+	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 patch27_0,mem_patch27
+	jam 0,mem_le_md_count
+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
+	call check_ble_disabled
+	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
+	branch le_slave_cont
+	
+
+le_slave_match:
+	bpatchx patch27_1,mem_patch27
+	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
+	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 patch27_2,mem_patch27
+	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 patch27_3,mem_patch27
+	call le_lpm_set_mult
+	call le_update_channel_map
+	call le_update_param
+	branch calc_clke_offset
+
+
+le_check_md:
+	disable user
+	bmark1 mark_ble_rx_md,enable_user
+	bmark1 mark_ble_tx_md,enable_user
+	rtn
+
+
+le_slave_more_data:
+	bpatchx patch27_4,mem_patch27
+	enable attempt
+	call le_transmit_receive_sifs_notx
+	branch le_slave_match,match
+	branch le_slave_cont
+
+le_slave_disconn:
+
+	//fall through
+le_disconnect:
+	bpatchx patch27_5,mem_patch27
+	call le_clear_connection_info
+	call app_disconn_reason_collect_ble
+ifdef SECURE_CONNECTION
+	call sp_initialize_256
+endif
+	jam BT_EVT_LE_DISCONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event
+
+le_clear_connection_info:
+	setarg 0
+	store 9,mem_le_tx_buff_used
+	jam 0,mem_le_conn_handle
+	jam lemode_idle,mem_le_mode
+	jam 0,mem_le_state
+	jam FLAG_LE_ENC_NULL,mem_le_enc_state
+	jam FLAG_LE_PAIRING_NULL,mem_le_pairing_state
+	rtn
+	
+le_got_first_packet:
+	bpatchx patch27_6,mem_patch27
+	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
+	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
+
+
+le_enable:
+	bpatchx patch27_7,mem_patch27
+	jam 0x36,rf_adc_goff        /*For BLE, tune AGC_gain_offset, Max added*/
+	jam 0x5f,rf_agc_nsat        //for BLE
+	enable le
+	jam 7,rfen_ulp			/* enable ulp */
+	call check_ble_disabled
+	fetch 1,mem_250k_freq_enable	//default: 0
+	rtn blank
+	jam 0xb8,rf_iq_gain
+	rtn
+	
+le_disable:
+	bpatchx patch28_0,mem_patch28
+	jam 0x2e,rf_adc_goff        /*For BR/EDR, tune AGC_gain_offset, Max added*/
+	jam 0xff,rf_agc_nsat         //for EDR&BR
+	disable le
+	jam 3,rfen_ulp
+	arg 0,stop_watch
+	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
+	
+
+lerx_setfreq:
+	call le_setfreq
+	call set_freq_rx
+	setarg param_pll_setup
+	call sleep
+	branch rf_rx_enable
+
+letx_setfreq:
+	branch txon,match
+letx_setfreq0:
+	call le_setfreq
+	branch set_freq_tx
+le_setfreq:
+	bpatchx patch28_1,mem_patch28
+	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_adv_access:
+	setarg 0x8e89be
+	lshift8 pdata,pdata
+	or_into 0xd6,pdata
+	iforce access
+	setarg 0x555555
+	store 3,mem_le_crcinit
+	rtn
+
+le_setup:
+	bpatchx patch28_2,mem_patch28
+	enable swfine
+	fetch 4,mem_le_access
+	iforce access
+	call le_map_channel
+	setarg 0x200
+	branch le_setup_master,master
+	fetch 2,mem_le_receive_window
+	rshift pdata,pdata
+le_setup_master:
+	arg param_pll_setup,temp
+	iadd temp,pdata
+	call ahead_window
+	deposit clke
+	store 6,mem_le_rxon_ts
+	rtn
+
+le_next_adv_channel:
+	bpatchx patch28_3,mem_patch28
+	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_context_nexthop:
+	bpatchx patch28_4,mem_patch28
+	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
+	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
+
+
+le_calc_channel_map:
+	bpatchx patch28_5,mem_patch28
+	fetch 5,mem_le_channel_map
+	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
+	store 1,mem_le_channels
+	rtn
+
+le_map_channel:
+	bpatchx patch28_6,mem_patch28
+	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:
+	bpatchx patch28_7,mem_patch28
+	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 patch29_0,mem_patch29
+	enable swfine
+	fetch 2,mem_le_receive_window
+	fetcht 4,mem_le_transmit_window
+	iadd temp,timeup
+le_receive_packet:
+	call lerx_setfreq
+le_receive_rxon:
+	bpatchx patch29_1,mem_patch29
+	call le_prep
+	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 end_of_packet,sync
+	branch le_receive_skip,attempt
+	arg param_clke_cal_le,clke_rt
+	copy bt_clk,clke_bt
+	fetch 1,mem_le_state
+	bbit0 lestate_got_first_packet,le_receive_skip
+	call lpm_adjust_clk,wake
+le_receive_skip:
+	bpatchx patch29_2,mem_patch29
+	call save_rssi
+	enable enable_white
+	enable enable_crc
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	store 1,mem_le_rxbuf
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	and pdata,0x3f,loopcnt
+	branch lerx_nopayload,zero
+	
+lerx_loop:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	loop lerx_loop
+	
+lerx_nopayload:
+	bpatchx patch29_3,mem_patch29
+	parse demod,bucket,24	
+	enable swfine
+	arg param_sifs,stop_watch		// start SIFS timer after last bit of crc
+	rshift32 pdata,pdata
+	rshift16 pdata,pdata
+	istore 3,contw
+	branch end_of_packet,crc_failed
+	enable match
+	fetch 1,mem_last_freq
+	add pdata,0,rega				// ble 2M Medium Frequency
+	call rf_write_freq				/* set frequency to tx mode freq */
+	disable decode_fec0
+	branch set_sync_on
+
+le_transmit_receive_sifs:
+	bpatchx patch29_4,mem_patch29
+	call le_transmit
+le_transmit_receive_sifs_notx:
+	fetcht 1,mem_last_freq
+	call set_freq_rx
+	call rf_rx_enable
+	enable swfine
+	arg 5500,timeup 
+	branch le_receive_rxon
+
+le_transmit_norx:
+	call le_transmit
+	branch end_of_packet
+	
+le_transmit:
+	bpatchx patch29_5,mem_patch29
+	call le_prep
+	call letx_setfreq
+	branch le_transmit0
+	
+le_transmit0:
+	set1 TXGFSK,radio_ctrl
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+	call le_wait_tx
+	rshift16 access,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,pdata
+	inject mod,40
+	enable enable_white
+	enable enable_crc
+	bpatchx patch29_6,mem_patch29
+	fetch 1,mem_le_txheader
+	inject mod,8
+	ifetch 1,contr
+	and pdata,0x3f,loopcnt
+	inject mod,8
+	branch letr_nopayload,zero
+letr_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop letr_loop
+	
+letr_nopayload:
+	enable enable_parity
+	inject mod,24
+	disable enable_parity
+	until null,tx_clear
+	nop 100          /* flush out the last bit */
+	disable encode_fec0
+	rtn
+	
+le_send_adv_ind:
+	bpatchx patch29_7,mem_patch29
+	fetch 1,mem_le_adv_type
+	beq ADV_DIRECT_IND,le_send_adv_direct_ind
+	fetch 1,mem_le_adv_own_addr_type
+	lshift4 pdata,pdata
+	lshift2 pdata,pdata
+	store 1,mem_le_txheader
+	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:
+	fetch 1,mem_le_adv_direct_addr_type
+	lshift4 pdata,pdata
+	lshift2 pdata,pdata
+	increase 1,pdata
+	store 1,mem_le_txheader
+	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 patch2a_0,mem_patch2a
+	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
+	
+le_send_scan_request:
+	bpatchx patch2a_1,mem_patch2a
+	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
+
+
+le_send_scan_response:
+	bpatchx patch2a_2,mem_patch2a
+	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_connect_request:
+	bpatchx patch2a_3,mem_patch2a
+	force -1,pdata
+	setsect 2,1
+	store 5,mem_le_channel_map
+	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 patch2a_4,mem_patch2a
+	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 patch2a_5,mem_patch2a
+	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_init_adv:
+	bpatchx patch2a_6,mem_patch2a
+	disable master
+	branch le_adv_access
+	
+
+
+le_update_param:
+	fetch 1,mem_le_state
+	rtnbit0 lestate_update_param
+	fetch 2,mem_le_event_count
+	fetcht 2,mem_le_instant
+	isub temp,pdata
+	nrtn positive
+	store 2,mem_pdatatemp
+	bpatchx patch2a_7,mem_patch2a
+	fetch 1,mem_le_state
+	set0 lestate_update_param,pdata
+	set0 lestate_got_first_packet,pdata
+	store 1,mem_le_state
+	fetch 4,mem_le_anchor
+	fetcht 2,mem_le_tsniff
+	storet 2,mem_temp
+	isub temp,rega
+	bpatchx patch2b_0,mem_patch2b
+	fetch 1,mem_le_new_param
+	store 1,mem_le_window_size
+	ifetcht 2,contr
+	ifetch 2,contr
+	lshift2 pdata,pdata
+	store 2,mem_le_tsniff
+	lshift2 temp,temp
+	iadd temp,pdata
+	ifetcht 4,contr
+	storet 4,mem_le_slave_latency	// and superTO
+	iadd rega,pdata
+	copy pdata,regab
+	fetch 2,mem_le_tsniff
+	fetcht 2,mem_temp	//last sniff
+	isub temp,pdata		//last sniff - new sniff
+	fetcht 2,mem_pdatatemp
+	imul32 temp,pdata
+	iadd regab,pdata
+	store 4,mem_le_anchor
+	call le_receive_window_size
+	fetch 2,mem_le_superto
+	store 2,mem_le_init_superto
+	rtn
+
+
+le_update_channel_map:
+	bpatchx patch2b_1,mem_patch2b
+	fetch 1,mem_le_state
+	rtnbit0 lestate_update_map
+	fetch 2,mem_le_event_count
+	fetcht 2,mem_le_instant
+	isub temp,pdata
+	nrtn positive
+	fetch 1,mem_le_state
+	set0 lestate_update_map,pdata
+	store 1,mem_le_state
+ 	fetch 5,mem_le_new_map
+	store 5,mem_le_channel_map
+	branch le_calc_channel_map	
+	
+	
+le_acknowledge:
+	bpatchx patch2b_2,mem_patch2b
+	call le_supervision_flush
+	call le_check_wak
+	fetch 1,mem_le_rxbuf
+	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+1			
+	branch le_ack_unenc,blank		/* empty packet, no decryption */
+	fetch 1,mem_le_state
+	bbit0 lestate_encryption,le_ack_unenc
+	call load_sk
+	call le_decrypt
+	nrtn blank
+le_ack_unenc:
+	fetcht 1,mem_le_arq
+	setflip nesn,temp
+	storet 1,mem_le_arq
+	rtn
+
+	
+le_check_wak:
+	bpatchx patch2b_3,mem_patch2b
+	fetcht 1,mem_le_arq
+	isolate0 wak,temp
+	rtn true
+	fetch 1,mem_le_rxbuf
+	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
+	fetch 1,mem_le_txpayload
+	beq LL_START_ENC_REQ,le_set_enc
+	fetch 1,mem_le_enc_state
+	beq FLAG_LE_ENC_PAUSE,le_clear_enc
+	rtn
+	
+
+le_set_enc:
+	fetch 1,mem_le_state
+	set1 lestate_encryption,pdata
+	store 1,mem_le_state
+	rtn	
+	
+le_clear_enc:
+	bpatchx patch2b_4,mem_patch2b
+	jam FLAG_LE_ENC_NULL,mem_le_enc_state
+	arg 0,pdata
+	store 4,mem_le_last_mic
+	store 5,mem_le_pcnt_tx
+	set1 39,pdata
+	store 5,mem_le_pcnt_rx
+	fetch 1,mem_le_state
+	set0 lestate_encryption,pdata
+	store 1,mem_le_state
+	rtn
+
+
+le_wait_adv:
+	bpatchx patch2b_5,mem_patch2b
+	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_scan:
+	bpatchx patch2b_6,mem_patch2b
+	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 patch2b_7,mem_patch2b
+	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
+	bpatchx patch2c_0,mem_patch2c
+	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_create_conn:
+	bpatchx patch2c_1,mem_patch2c
+	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
+	bpatchx patch2c_2,mem_patch2c
+	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_scan_check_sender_addr_type:
+	arg 1,rega// sender_addr_type
+	fetch 1,mem_le_rxbuf
+	rtnbit1 LE_SENDER_ADDR_BIT
+	arg 0,rega
+	rtn
+
+
+
+le_prepare_tx:
+	bpatchx patch2c_3,mem_patch2c
+	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 1,contr
+	ifetcht 1,contr
+	copy temp,rega
+	isub rega,pdata
+	arg LE_MAX_PAKET_LEN,temp
+	call not_greater_than
+	copy pdata,temp
+	ifetch 1,contr
+	copy pdata,type
+	copy rega,pdata
+	iadd contr,contr
+	arg mem_le_txpayload,contw
+	copy temp,loopcnt
+	call memcpy
+	call le_update_tx_type
+	call le_send_packet
+	
+	call le_fifo_get_first_tx_ptr
+	ifetch 1,contr
+	copy pdata,rega
+	copy contr,regc
+	ifetcht 1,contr
+	copy temp,regb
+	isub regb,pdata
+	arg LE_MAX_PAKET_LEN,temp
+	call not_greater_than
+	iadd regb,pdata
+	istore 1,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 1,contr				//pdata:length
+	ifetcht 1,contr				//temp:offest
+	isub temp,pdata			//pdata:length - offset
+	sub pdata,LE_MAX_PAKET_LEN,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 patch2c_4,mem_patch2c
+	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 patch2c_5,mem_patch2c
+	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:	
+	fetch 1,mem_le_state
+	rtnbit0 lestate_encryption
+	call load_sk
+	branch le_encrypt
+
+
+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 patch2c_6,mem_patch2c
+	rtnmark1 mark_old_packet
+	call le_fifo_check_full
+	nrtn blank
+	fetch 1,mem_le_rxbuf
+	and pdata,0x3,pdata
+	store 1,mem_le_packet_llid
+	ifetch 1,contr
+	and pdata,0x1f,pdata
+	store 1,mem_le_packet_size
+	rtn blank							//empty rtn
+	copy contr,pdata
+	store 2,mem_le_payload_ptr
+	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
+	fetch 2,mem_le_payload_ptr
+	copy pdata,contr
+	ifetch 2,contr	//l2cap len
+	store 2,mem_le_l2cap_size
+	bpatchx patch2c_7,mem_patch2c
+	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
+	fetcht 1,mem_le_packet_size
+	storet 1,mem_le_packet_len_recved
+	fetch 2,mem_le_l2cap_size
+	increase 4,pdata
+	isub temp,null
+	branch enable_user,zero
+	fetch 1,mem_le_packet_size
+	copy pdata,loopcnt
+	arg mem_le_l2capbuf,contw
+	fetch 2,mem_le_payload_ptr
+	copy pdata,contr
+	call memcpy
+	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 1,mem_le_packet_len_recved
+	nrtn blank
+	branch disable_user
+
+le_check_l2cap_llid_continue:
+	call le_check_l2cap_continue_legal
+	nrtn user
+	fetch 1,mem_le_packet_len_recved
+	arg mem_le_l2capbuf,contw
+	iadd contw,rega
+	fetcht 1,mem_le_packet_size
+	iadd temp,pdata
+	store 1,mem_le_packet_len_recved
+	fetch 1,mem_le_packet_size
+	copy pdata,loopcnt
+	copy rega,contw
+	fetch 2,mem_le_payload_ptr
+	copy pdata,contr
+	call memcpy_fast
+	setarg mem_le_l2capbuf
+	store 2,mem_le_payload_ptr		//update ptr->mem_le_l2capbuff
+	fetch 2,mem_le_l2cap_size
+	increase 4,pdata
+	fetcht 1,mem_le_packet_len_recved
+	isub temp,null
+	branch enable_user,zero
+	branch disable_user
+
+
+
+
+	
+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_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
+
+
+le_adv:
+	jam 36,mem_le_ch_mapped
+	jam 0,mem_le_adv_channel_map_temp
+le_adv_loop:
+	bpatchx patch2d_0,mem_patch2d
+	fetch 1,mem_le_adv_enable
+	rtn blank
+	arg le_adv_interval_timer,queue
+	call timer_check
+	nrtn blank
+	bpatchx patch2d_1,mem_patch2d
+le_adv_loop_tx:
+	disable master
+	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
+	and pdata,0x0f,pdata
+	beq SCAN_REQ,le_send_scan_response
+	beq CONNECT_REQ,le_parse_connect_req
+le_adv_not_match:
+	bpatchx patch2d_2,mem_patch2d
+	random pdata 
+	arg 0x1ff,temp
+	iand temp,pdata
+	add pdata,250,pdata
+	call delay
+	fetch 1,mem_le_adv_channel_map_temp
+	fetcht 1,mem_le_adv_channel_map
+	isub temp,null
+	nbranch le_adv_loop,zero
+	arg le_adv_interval_timer,queue
+	fetch 2,mem_le_adv_interval
+	branch timer_init
+	
+
+le_receive_window_size:
+	bpatchx patch2d_3,mem_patch2d
+	fetch 1,mem_le_peer_sca
+	call le_sca_map
+	fetch 2,mem_le_tsniff
+	imul32 temp,pdata
+	arg 375,temp
+	imul32 temp,pdata
+	arg 100000,temp
+	idiv temp
+	fetch 1,mem_le_window_size
+	arg 20000,temp
+	imul32 temp,pdata
+	iadd temp,pdata
+	store 4,mem_le_transmit_window
+	bpatchx patch2d_4,mem_patch2d
+	fetch 2,mem_rx_window_sniff
+	call wait_div_end
+	quotient temp
+	iadd temp,pdata
+	store 2,mem_le_receive_window
+	rtn
+
+le_parse_connect_req:
+	bpatchx patch2d_5,mem_patch2d
+	fetch 6,mem_le_rxbuf+8
+	fetcht 6,mem_le_lap
+	isub temp,null
+	nrtn zero
+	call le_scan_check_sender_addr_type
+	copy rega,pdata
+	store 1,mem_le_conn_peer_addr_type
+	fetch 7,mem_le_rxbuf+21
+	store 7,mem_tmp_buffer
+	ifetch 8,contr
+	istore 8,contw
+	fetch 6,mem_le_rxbuf+2
+	store 6,mem_le_plap
+	increase 6,contr
+	ifetch 8,contr
+	store 8,mem_le_access 	// and crcinit & window size
+	ifetcht 2,contr				// transmit offset
+	bpatchx patch2d_6,mem_patch2d
+	lshift2 temp,temp			
+	ifetch 2,contr				// connInterval
+	lshift2 pdata,pdata
+	store 2,mem_le_tsniff
+	store 4,mem_le_anchor
+	isub temp,pdata
+	add pdata,-2,clke_bt
+	ifetch 9,contr
+	store 9,mem_le_slave_latency// and super to & channel map
+	bpatchx patch2d_7,mem_patch2d
+	ifetch 1,contr
+	rshift4 pdata,temp
+	rshift temp,temp
+	storet 1,mem_le_peer_sca
+	and_into 0x1f,pdata
+	store 1,mem_le_hop
+	call le_receive_window_size
+	call le_calc_channel_map
+	call le_init_slave
+	call context_new
+	nrtn zero
+	bpatchx patch2e_0,mem_patch2e
+	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_init_attlist_search:
+	bpatchx patch2e_1,mem_patch2e
+	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
+	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 patch2e_2,mem_patch2e
+	fetch 2,mem_ui_le_uuid_table
+	iforce contr
+le_att_get_handle_loop1:
+	ifetch 2,contr
+	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 patch2e_3,mem_patch2e
+	fetch 2,mem_ui_le_uuid_table
+	iforce contr
+le_att_get_short_uuid_loop:
+	ifetch 2,contr
+	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	
+
+
+
+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 patch2e_4,mem_patch2e
+	fetch 2,mem_ui_le_uuid_table
+le_att_get_handle_info_fast:
+	iforce contr
+	copy temp,rega
+le_att_get_handle_loop:
+	ifetch 2,contr
+	branch le_att_unfind_handle,blank
+	isub rega,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 patch2e_5,mem_patch2e
+	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
+	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 patch2e_6,mem_patch2e
+	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 patch2e_7,mem_patch2e
+	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
+
+	nbranch lpm_mult_short,match
+	bmark1 mark_old_packet,lpm_mult_short
+
+	fetch 1,mem_le_packet_size
+	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_L2CAP_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:
+	sub rega,240,null			//check max len
+	nbranch assert,positive
+	fetch 1,mem_le_tx_buff_used
+	arg 1,temp
+	arg LE_TX_BUFF_COUNT,loopcnt
+le_fifo_malloc_tx_loop:
+	iand temp,null
+	branch le_fifo_malloc_tx_got_empty,zero
+	lshift temp,temp
+	loop le_fifo_malloc_tx_loop
+	branch assert				//no empty buff
+le_fifo_malloc_tx_got_empty:
+	ixor temp,pdata
+	store 1,mem_le_tx_buff_used
+	sub loopcnt,LE_TX_BUFF_COUNT,pdata
+	lshift4 pdata,pdata
+	lshift4 pdata,pdata
+	arg mem_le_tx_buffer0,temp
+	iadd temp,temp
+le_fifo_tx_find_empty_ptr:
+	arg 0,loopcnt
+	arg mem_le_tx_ptr0,contr
+le_fifo_tx_find_empty_ptr_loop:
+	ifetch 2,contr
+	branch le_fifo_tx_found_empty_ptr,blank
+	copy loopcnt,pdata
+	increase 1,loopcnt
+	bne LE_TX_BUFF_COUNT,le_fifo_tx_find_empty_ptr_loop
+	branch assert
+
+	
+le_fifo_tx_found_empty_ptr:
+	increase -2,contr
+	istoret 2,contr
+	copy temp,contw
+	copy rega,pdata
+	istore 1,contw				//lengh
+	setarg 0
+	istore 1,contw				//offset
+	copy type,pdata
+	istore 1,contw				//LLID
+	rtn
+
+
+
+le_fifo_get_first_tx_ptr:
+	fetch 2,mem_le_tx_ptr0
+	copy pdata,contr
+	rtn
+
+le_fifo_get_second_tx_ptr:
+	fetch 2,mem_le_tx_ptr1
+	copy pdata,contr
+	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_le_tx_ptr3
+	nrtn blank
+	fetch 2,mem_le_tx_ptr2
+	nrtn blank
+	fetch 2,mem_le_tx_ptr1
+	nrtn blank
+	fetch 2,mem_le_tx_ptr0
+	rtn
+
+le_fifo_get_first_l2cap_ptr:
+	call le_fifo_get_first_tx_ptr
+	increase 3,contr
+	rtn
+
+le_fifo_get_first_att_ptr:
+	call le_fifo_get_first_tx_ptr
+	increase 7,contr
+	rtn
+
+le_fifo_get_last_att_ptr:
+	call le_fifo_get_last_tx_ptr
+	increase 7,contr
+	rtn
+
+le_fifo_get_last_l2cap_ptr:
+	call le_fifo_get_last_tx_ptr
+	increase 3,contr
+	rtn
+
+	
+
+le_fifo_check_full:
+	fetch 2,mem_le_tx_ptr3
+	rtn
+
+
+le_fifo_check_nearly_full:
+	fetch 2,mem_le_tx_ptr2
+	rtn
+
+	
+le_fifo_check_empty:
+	fetch 2,mem_le_tx_ptr0
+	rtn
+
+
+le_fifo_release_first_node:
+	fetch 2,mem_le_tx_ptr0
+	arg mem_le_tx_buffer0,temp
+	isub temp,pdata
+	rshift4 pdata,pdata
+	rshift4 pdata,queue
+	fetch 1,mem_le_tx_buff_used
+	qset0 pdata
+	store 1,mem_le_tx_buff_used
+	arg 0,loopcnt
+le_fifo_release_first_node_loop:
+	lshift loopcnt,pdata
+	arg mem_le_tx_ptr1,temp
+	iadd temp,temp
+	ifetch 2,temp
+	increase -2,temp
+	istore 2,temp
+	copy loopcnt,pdata
+	increase 1,loopcnt
+	bne LE_TX_BUFF_UPDATE_LOOPCNT,le_fifo_release_first_node_loop
+	setarg 0
+	istore 2,temp
+	rtn
+
+
+
Index: HS_24G&BLE_Motion/program/le_l2cap_att.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/le_l2cap_att.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/le_l2cap_att.prog	(working copy)
@@ -0,0 +1,713 @@
+
+
+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_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
+	force 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	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
+	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_uuid
+	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_uuid
+	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
+	beq 1,le_send_att_read_by_type_response_end
+	call le_att_same_uuid
+	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
+	increase 5,pdata
+	istore 1,alarm
+	fetch 1,mem_le_cur_uuid_length
+	beq 16,le_send_att_read_by_type_response_end
+	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
+	fetch 1,mem_le_cur_uuid_length
+	beq 16,le_send_att_read_by_type_response_end
+	
+	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:
+	fetcht 2,mem_le_search_handle_start
+	storet 2,mem_temp
+le_send_att_read_by_type_res_not_char_loop:
+	call le_att_check_handle_end
+	nbranch le_send_att_error_response_notfound,positive
+	call le_att_get_handle_info_from_ptr
+	beq 1,le_send_att_error_response_notfound
+	call le_att_same_uuid
+	nbranch le_send_att_read_by_type_res_not_char_next,zero
+
+le_send_att_read_by_type_res_not_char_common:
+	arg 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_BY_TYPE_RESPONSE
+	istore 1,contw
+	fetch 1,mem_le_curr_att_len
+	copy pdata,loopcnt
+	increase 2,pdata
+	istore 1,contw
+	fetch 2,mem_temp
+	istore 2,contw
+	call get_contr
+	call memcpy_fast
+	call store_contw
+	branch le_send_auto_len_by_mem
+	
+le_send_att_read_by_type_res_not_char_next:
+ 	call le_att_next_handle
+	branch le_send_att_read_by_type_res_not_char_loop
+
+
+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:
+	fetcht 2,mem_le_att_handle
+	fetch 1,mem_le_configuration
+	bbit1 BIT_BLE_READ_AUTH,le_send_att_read_response_check_auth
+
+le_send_att_read_response:
+	call le_att_get_handle_ptr
+	branch le_send_att_error_response_notfound,blank
+	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
+//le_send_att_read_response_error_insufficient_auth:
+	call le_check_encrypt_state
+	nbranch le_send_att_read_response,user
+	jam ATT_ERR_INSUFFICIENT_AUTHENTICATION,mem_le_err_code
+	branch le_send_att_error_response
+
+
+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
+
+
+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
+//	arg 23,pdata
+//	isub temp,null
+//	call ice_break,zero
+	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
+le_send_att_read_by_group_type_response_loop:
+	call le_att_check_handle_end
+	nbranch le_send_att_read_by_group_type_end0,positive
+	fetcht 2,mem_temp
+	call le_att_get_handle_info_from_ptr
+	beq 1,le_send_att_read_by_group_type_end1
+
+	call le_att_same_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
+	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
+	increase 4,pdata
+	istore 1,contw
+	call store_contw
+	branch le_send_att_read_by_group_type_store_record
+le_send_att_read_by_group_type_store_write_record:
+	fetch 1,mem_le_curr_att_len
+	beq 16,le_send_att_read_by_group_type_end1
+	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_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:
+	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
+	jam ATT_ERR_INSUFFICIENT_AUTHENTICATION,mem_le_err_code
+	branch le_send_att_error_response
+
+le_send_att_write_response:
+	force 1,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_WRITE_RESPONSE
+	istore 1,contw
+	rtn
+
+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_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:
+	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:
+	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
+
+
Index: HS_24G&BLE_Motion/program/le_l2cap_signalling.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/le_l2cap_signalling.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/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: HS_24G&BLE_Motion/program/le_l2cap_smp.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/le_l2cap_smp.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/le_l2cap_smp.prog	(working copy)
@@ -0,0 +1,594 @@
+
+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_le_pres_auth
+	set1 LE_AUTH_SECURE_CONNECTION_PAIRING_BIT,pdata
+	store 1,mem_le_pres_auth
+	rtn
+le_secure_connection_disable:
+	fetch 1,mem_le_pres_auth
+	set0 LE_AUTH_SECURE_CONNECTION_PAIRING_BIT,pdata
+	store 1,mem_le_pres_auth
+	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
+	call le_check_master_support_secure_connect
+	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_check_master_support_secure_connect:
+	fetch 1,mem_le_preq_auth
+	rtnbit1  LE_AUTH_SECURE_CONNECTION_PAIRING_BIT
+	fetch 1,mem_le_pairing_mode
+	rtnbit0 LE_PAIRING_MODE_SECURE_CONNECT_BIT
+	branch app_ble_disconnect	
+
+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
+	copy contr,rega
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY,le_parse_smp_pairing_confirm_secure_passkey
+	copy rega,contr
+endif
+	arg mem_le_rconfirm,contw
+	call memcpy16
+	branch le_send_smp_pairing_confirm
+ifdef SECURE_CONNECTION
+le_parse_smp_pairing_confirm_secure_passkey:
+	copy rega,contr
+	arg mem_le_rconfirm,contw
+	call memcpy16
+	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_send_smp_pairing_confirm:
+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
+	call function_g2
+//	jam LE_SC_STAT_RECEIVE_RANDOM,mem_le_secure_connect_state
+//	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	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_parse_smp_encryption_information:
+	arg mem_le_peer_ltk,contw
+	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_plap+5
+	compare 0xc0,pdata,0xc0
+	rtn true
+	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_le_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 patch2f_0,mem_patch2f
+	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_AUTH,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:
+	jam FLAG_LE_PARING_SEND_ENC_INFORMATION,mem_le_pairing_state
+	jam BT_EVT_LE_ENC_INFO,mem_fifo_temp
+	call ui_ipc_send_event
+	call le_send_smp_encryption_information
+	fetch 1,mem_device_option
+	rtnne dvc_op_module
+	call le_check_master_addr_type
+	rtn user
+	branch app_ble_store_reconn_info
+
+
+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 patch2f_1,mem_patch2f
+	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_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
+//	arg mem_le_r,contw
+//	force 2,loopcnt
+//	call memset0
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY ,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	
+	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
+	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 LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+//	jam LE_SC_STAT_PASSKEY_WAIT_CONFIRM,mem_le_secure_connect_state	
+//	branch p_ng_event_le_get_passkey
+	jam 0,mem_authentication_passkey_times
+	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_le_sc_local_key_invalid
+	beq SP_KEY_VALID_256,le_public_key_ready
+//	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	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: HS_24G&BLE_Motion/program/le_ll.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/le_ll.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/le_ll.prog	(working copy)
@@ -0,0 +1,212 @@
+
+le_parse_ll:
+	fetch 1,mem_le_rxbuf+2
+	beq LL_CONNECTION_UPDATE_REQ,le_parse_connection_update_req
+	beq LL_CHANNEL_MAP_REQ,le_parse_channel_map_req
+	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
+	arg 2,rega
+	arg LL_UNKNOWN_RSP,regb
+	call le_fifo_malloc_tx_ll
+	fetch 1,mem_le_rxbuf+2
+	istore 1,contw
+	rtn	
+
+
+le_parse_connection_update_req:
+	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
+
+le_parse_channel_map_req:
+	ifetch 5,contr
+	store 5,mem_le_new_map
+	ifetch 2,contr
+	store 2,mem_le_instant
+	fetcht 2,mem_le_event_count
+	isub temp,null
+	nbranch le_parse_terminate_ind,positive
+	fetch 1,mem_le_state
+	set1 lestate_update_map,pdata
+	store 1,mem_le_state
+	rtn
+
+
+le_parse_terminate_ind:
+	setarg 20 // 200ms
+	store 2,mem_le_superto
+	store 2,mem_le_init_superto
+	rtn
+
+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
+
+le_parse_feature_req:
+
+le_send_feature_rsp:
+	arg 9,rega
+	arg LL_FEATURE_RSP,regb
+	call le_fifo_malloc_tx_ll
+	setarg param_le_features
+	istore 8,contw
+	rtn
+
+
+le_parse_version_ind:
+	rtn master
+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
+
+
+le_parse_ping_req:
+	arg LL_PING_RSP,regb
+	branch le_send_ll_one_lenth
+
+//regb:ll opcode
+le_send_ll_one_lenth:
+	arg 1,rega
+	branch le_fifo_malloc_tx_ll
+
+	
+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_le_ivm
+	call le_send_enc_rsp
+	bpatchx patch2f_2,mem_patch2f
+	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 patch2f_3,mem_patch2f
+	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
+
+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		
+	
+le_send_enc_rsp:
+	arg mem_le_skds,contw
+	force 8,loopcnt
+	call generate_random_loop
+	arg mem_le_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_le_ivs
+	istore 4,contw
+	rtn
+
+le_send_start_enc_req:
+	arg LL_START_ENC_REQ,regb
+	branch le_send_ll_one_lenth
+
+le_send_start_enc_rsp:
+	arg LL_START_ENC_RSP,regb
+	branch le_send_ll_one_lenth
+	
+	
+le_parse_enc_rsp:
+	ifetch 8,contr
+	store 8,mem_le_skds
+	ifetch 4,contr
+	store 4,mem_le_ivs
+	branch generate_sk
+	
+le_parse_start_enc_req:
+	fetch 1,mem_le_state
+	set1 lestate_encryption,pdata
+	store 1,mem_le_state
+	rtn
+	
+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
+	
+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	
+
+le_send_pause_enc_rsp:
+	arg LL_PAUSE_ENC_RSP,regb
+	branch le_send_ll_one_lenth	
+			
+
+le_parse_feature_rsp:
+le_parse_unknown_rsp:
+le_parse_pause_enc_rsp:
+le_parse_reject_ind:
+le_parse_ping_rsp:
+	rtn
+
+
Index: HS_24G&BLE_Motion/program/lmp.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/lmp.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/lmp.prog	(working copy)
@@ -0,0 +1,2521 @@
+	
+/******************************************/
+/*************   LMP Parse   **************/
+/******************************************/
+init_lmp:
+	rtn wake
+init_lmp_work:
+	bpatchx patch2f_4,mem_patch2f
+	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_auth_enable
+	store 1,mem_connection_options
+	store 1,mem_pairing_auth
+	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 patch2f_5,mem_patch2f
+	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 patch2f_6,mem_patch2f
+  	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
+/* 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_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 patch2f_7,mem_patch2f
+	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
+	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_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
+	fetch 1,mem_auth_enable
+	nrtn blank
+	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:
+	jam LMP_EXT_FEATURES_RES,mem_lmo_opcode2
+	rtn
+
+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 patch30_0,mem_patch30
+	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 patch30_1,mem_patch30
+	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:	
+	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:
+ifdef LMP_DBG
+	call ice_break
+endif
+	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
+	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:
+	call prepare_disconnect
+	branch accept_lmp_msg
+	
+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:
+	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
+	//fetch 1,mem_auth_enable
+	nbranch parse_lmp_inrand_res,master // ignore this because of not ssp temporary
+	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
+	call lmp_copy_rand
+	jam LMP_SRES,mem_lmo_opcode2
+	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_sres:	
+	arg mem_plap,rega
+	call function_e1
+	fetch 4,mem_rxbuf+1
+	fetcht 4,mem_input_store
+	isub temp,null
+	branch authentication_ok,zero
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam AUTHENTICATION_FAILURE_ERROR,mem_disconn_reason_send	
+	rtn
+authentication_ok:
+	call authentication_ok_common
+	fetch 1,mem_ssp_enable
+	branch  pairing_success,blank
+	rtn
+
+	
+authentication_ok_common:
+	call copy_aco
+	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_sniff,positive
+	rtn
+	
+parse_lmp_sniff_req:
+	fetch 2,mem_rxbuf+6
+	branch lmp_reject_sniff,blank
+	call parse_lmp_sniff_req_check_sniff_para
+	branch lmp_reject_sniff,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_sniff
+	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
+
+lmp_reject_sniff:
+	jam PDU_NOT_ALLOWED,mem_lmo_reason2
+	branch reject_lmp_packet
+
+parse_lmp_start_encryption_req:
+	call accept_lmp_msg
+	call lmp_copy_rand
+	call function_e3
+	branch start_encryption
+	
+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_NOT_ACCEPTED,mem_lmo_opcode2
+	jam LMP_SWITCH_REQ,mem_lmi_opcode2
+	jam PDU_NOT_ALLOWED,mem_lmo_reason2
+	rtn
+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:
+	fetch 1,mem_rxbuf+1
+	bne ENCAPSULATED_MAJOR_TYPE_P192,parse_lmp_encapsulated_header_reject
+	fetch 1,mem_rxbuf+2
+	bne ENCAPSULATED_MINOR_TYPE_P192,parse_lmp_encapsulated_header_reject
+	fetch 1,mem_rxbuf+3
+	bne ENCAPSULATED_LEN_P192,parse_lmp_encapsulated_header_reject
+	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_encapsulated_header_reject:
+	jam      PDU_NOT_ALLOWED,mem_lmo_reason2
+	branch   reject_lmp_packet
+	
+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:
+	//here must be change***  shyd
+	call check_localsm
+ifdef SIMPLE_PAIRING
+	ncall g_noninit,true	//when be master  call g_init
+	call g_init,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
+	
+parse_lmp_encapsulated_payload:
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_RANDOM_SEND,parse_encapsulated_payload_master
+	fetch    1,mem_sp_state
+	bne SP_STAT_KEY_RECV,parse_lmp_encapsulated_payload_reject
+parse_encapsulated_payload_master:
+	fetch    1,mem_sp_remote_key_recv_count
+	sub      pdata,0x20,contw
+	nbranch  parse_lmp_encapsulated_payload_reject,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_encapsulated_payload_reject:
+	jam      PDU_NOT_ALLOWED,mem_lmo_reason2
+	branch   reject_lmp_packet	
+parse_lmp_accepted_encapsulated_payload: 
+	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
+	branch   parse_rx_done 
+	
+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,parse_lmp_simple_pairing_number_reject
+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
+	//jam LMP_SIMPLE_PAIRING_NUMBER,mem_lmi_opcode2
+	//branch accept_lmp_msg  
+parse_lmp_simple_pairing_number_reject:
+	jam      PDU_NOT_ALLOWED,mem_lmo_reason2
+	branch reject_lmp_packet
+	
+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,parse_lmp_dhkey_check_reject
+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
+parse_lmp_dhkey_check_reject:
+	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 parse_lmp_dhkey_check_reject
+
+	
+parse_lmp_clkoffset_res:
+	branch parse_rx_done
+		
+parse_lmp_encryption_mode_req:
+	fetch 1,mem_connection_options
+	set0 CONNECTION_ENCRYPT
+	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 patch30_2,mem_patch30
+	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_RES,send_lmpext_features_res
+	beq LMP_NOT_ACCEPTED_EXT,send_lmpext_not_accepted
+	beq LMP_EXT_FEATURES_REQ,send_lmpext_features_req
+	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
+	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 patch30_3,mem_patch30
+	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_features_res:
+	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_reply
+send_lmpext_io_cap_res:     
+	force 5,queue
+         call send_lmpext
+       	fetch 3,mem_sp_iocap_local
+         istore 3,contw
+	call send_lmp_reply
+	jam FLAG_PAIRING_STATE_PAIRING,mem_flag_pairing_state
+	fetch 1,mem_sp_iocap_local
+	beq DISPLAY_YESNO,responder_iocap_display_yesno
+	beq KEYBOARD_ONLY,responder_iocap_keyboard_only
+	beq NO_INPUT_NO_OUTPUT,responder_iocap_no_input_no_output
+	rtn
+
+responder_iocap_keyboard_only:
+	fetch 1,mem_sp_iocap_remote
+	beq DISPLAY_ONLY,responder_iocap_keyboard_only_initiator_iocap_display_only
+	beq DISPLAY_YESNO,responder_iocap_keyboard_only_initiator_iocap_display_yesno
+	beq KEYBOARD_ONLY,responder_iocap_keyboard_only_initiator_iocap_keyboard_only
+	beq 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 DISPLAY_ONLY,responder_iocap_display_yesno_initiator_iocap_display_only
+	beq DISPLAY_YESNO,responder_iocap_display_yesno_initiator_iocap_display_yesno
+	beq KEYBOARD_ONLY,responder_iocap_display_yesno_initiator_iocap_keyboard_only
+	beq 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 DISPLAY_ONLY,responder_iocap_no_input_no_output_initiator_iocap_display_only
+	beq DISPLAY_YESNO,responder_iocap_no_input_no_output_initiator_iocap_display_yesno
+	beq KEYBOARD_ONLY,responder_iocap_no_input_no_output_initiator_iocap_keyboard_only
+	beq 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_sp_iocap_local
+	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:
+	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
+	
+//default:featrue is enable,extfeature is disable
+ssp_enable:
+	bpatchx patch30_4,mem_patch30
+	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
+
+ssp_disable:
+	bpatchx patch30_5,mem_patch30
+	fetch 1,mem_features+6
+	set0 param_featrue_ssp,pdata
+	store 1,mem_features+6
+	setarg 0
+	store 2,mem_lmpext_ssp_enable
+	rtn
+	
+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   PDU_NOT_ALLOWED,mem_lmo_reason2
+	jam 	LMP_SIMPLE_PAIRING_NUMBER,mem_lmi_opcode2 
+ifdef LMP_DBG
+	call ice_break
+endif
+	branch reject_lmp_packet
+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
+	force ENCAPSULATED_MAJOR_TYPE_P192,pdata
+	istore 1,contw
+	force ENCAPSULATED_MINOR_TYPE_P192,pdata
+	istore 1,contw  
+	force ENCAPSULATED_LEN_P192,pdata
+	istore 1,contw 
+	call check_localsm
+	branch send_lmp_request,true
+	branch send_lmp_reply
+
+send_lmp_encapsulated_payload:
+	//jam      TID_PAIRING,mem_lmp_tid
+	 force 17,pdata
+	call msg_send_lmp
+	fetch 1,mem_sp_local_key_send_count
+	arg mem_sp_pubkey_local,contr
+	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_pairing_auth
+	branch send_lmp_aurand_notpairing,blank
+	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_sres:
+	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
+	fetch 1,mem_auth_enable
+	rtn blank
+	jam LMP_ENCRYPTION_MODE_REQ, mem_lmo_opcode2
+	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_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
+	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 patch30_6,mem_patch30
+	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 patch30_7,mem_patch30
+	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 patch31_0,mem_patch31
+
+	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
+	jam 0xff,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
+	sub pdata,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 1, mem_soft_timer
+	increase -1,pdata
+	branch host_create_conn_send_detach,blank//detach
+	store 1, 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: HS_24G&BLE_Motion/program/patch.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/patch.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/patch.prog	(working copy)
@@ -0,0 +1,4210 @@
+//define DONGLE
+define MOUSE
+define BLE
+//define CLASSIC_BT
+define ADC_ENABLE
+//define P24G_LOG
+//define RF_DEBUG
+
+//define DEBUGLOG
+//define DEBUGLOG_CALLBACK
+//define DEBUGLOG_EVENT
+//define DEBUGLOG_CMD
+//define DEBUGLOG_MISC
+//define DEBUGLOG_STATUS
+//define DEBUGLOG_PARSE_LMP
+//define DEBUGLOG_SEND_LMP
+//define DEBUGLOG_CONN_SM
+//define DEBUGLOG_UPPER_SM
+
+ifdef PATCH
+	bbit1 8,pf_patch_ext	
+	beq patch10_5,p_shutdown_radio
+	beq patch11_1,p_set_freq_tx
+ifdef DONGLE
+	beq patch11_6,p_save_rssi
+	beq patch18_4,p_app_init
+	beq patch1f_0,p_usb_status1
+endif
+ifdef MOUSE
+	beq patch00_1,p_soft_reset_1
+ifdef CLASSIC_BT
+	beq patch03_3,p_page_wait_fhs_reply_ok
+	beq patch09_2,p_prepare_tx
+ 	beq patch0b_1,p_process_dmh
+	beq patch0a_1,p_slave_conn_recv_packet
+	beq patch14_7,p_lpm_dispatch
+	beq patch19_3,p_app_bt_start_reconnect
+	beq patch1d_1,p_mouse_bb_disconnected
+endif	
+	beq patch14_1,p_init_param
+	beq patch15_0,p_lpm_dispatch_next2
+	beq patch16_1,p_lpm_check_wake_lock
+	beq patch16_2,p_g24_dispatch
+	beq patch18_4,p_device_init
+	beq patch19_1,p_app_flag_store
+	beq patch19_2,p_app_initflag_check
+	beq patch1c_3,p_mouse_seting_dpi
+	beq patch1c_6,p_mouse_motion
+	beq patch1d_2,p_mouse_bb_event_discovery_btn
+	beq patch1d_3,p_mouse_start_discovery
+	beq patch1d_4,p_mouse_stop_discovery
+endif
+	branch loop
+pf_patch_ext:
+ifdef MOUSE
+ifdef BLE
+	beq patch27_1,p_le_slave_match
+	beq patch28_3,p_le_next_adv_channel
+	beq patch29_2,p_le_receive_skip
+	beq patch2a_7,p_le_update_param
+	beq patch2c_3,p_le_prepare_tx
+	beq patch2c_7,p_le_parse_l2cap
+	beq patch2d_2,p_le_adv_not_match
+	beq patch2e_7,p_le_lpm_setmult
+endif	
+ifdef CLASSIC_BT
+	beq patch30_2,p_send_lmp
+	beq patch39_5,p_sdp_process
+endif
+	beq patch31_4,p_twspi_reset
+ifdef DEBUGLOG
+	beq patch2f_6,p_parse_lmp_opcode
+	beq patch31_0,p_process_conn_sm
+	beq patch37_6,p_process_upper_sm_reconn
+	beq patch3e_6,p_ui_ipc_send_event
+	beq patch3e_7,p_ui_ipc_send_cmd
+endif
+endif
+	branch loop
+
+
+ifdef DONGLE
+p_save_rssi:
+	hfetch 2,rf_afc_d2a
+	rshift4 pdata,pdata
+	rshift3 pdata,pdata
+	sub pdata,0,pdata
+	and_into 0xff,pdata
+	store 1,mem_rssi_hex
+	branch save_rssi+6
+
+p_usb_status1:
+	jam 0x11,core_usb_status
+	hfetch 1,core_usb_ep_len
+	store 1,mem_usb_read_len
+	copy pdata,loopcnt
+	branch usb_rx_no_data,blank
+	arg mem_usb_setup,contw
+	call usb_rx_read
+	fetch 1,mem_usb_read_len
+	sub pdata,7,null
+	rtn positive 
+	fetch 1,mem_usb_setup_bmRequestType
+	and_into 0x80,pdata
+	beq OUT_DEVICE,p_usb_out_device
+	branch usb_class_type+2
+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:
+	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
+	nop 15000	//delay 1ms
+	hfetch 1,core_usb_ep_len
+	ncall p_usb_set_report_rxdata,blank
+	branch usb_set_report+4
+p_usb_set_report_rxdata:
+	copy pdata,loopcnt
+	arg mem_usb0_setup,contw
+	branch usb_rx_read
+
+p_app_init:
+	call enable_authrom
+	call p_dongle_init
+	call p_g24_queue_init
+	fetch 1,mem_24g_pair_mode
+	beq 0x00,p_dongle_auto_bind
+	beq 0x01,p_dongle_pc_bind
+	beq 0x0f,p_dongle_all_powerful
+	branch assert
+
+p_dongle_init:
+	fetch 1,mem_tx_power
+	store 1,mem_tx_power_temp
+	arg 0x80,loopcnt
+	arg mem_rssi_noise_buffer,contw
+	call memset0
+	branch usb_init
+
+p_dongle_all_powerful:
+	call p_dongle_check_mode
+p_dongle_all_powerful_loop:
+	call p_g24_dongle_work_mode
+	call usb_isr
+	branch p_dongle_all_powerful_loop
+
+p_dongle_pc_bind:
+	call p_dongle_check_mode
+p_dongle_pc_bind_loop:	
+	call p_g24_dongle_work_mode
+	call p_g24_dongle_bind_mode
+	call p_dongle_usb_dispatch
+	branch p_dongle_pc_bind_loop
+
+p_dongle_check_mode:
+	jam 0,mem_24g_ackpayload_enable
+p_dongle_work_mode_enable:
+	jam DONGLE_WORK,mem_dongle_work_mode
+	jam CLEAR_INIT,mem_dongle_mode_init	
+	rtn
+
+p_g24_dongle_work_mode:
+	fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_WORK
+p_g24_dongle_work_mode_start:	
+	call p_g24_dongle_work_init
+	call p_g24_ch_process
+	call p_g24_receive_packet_start
+	branch p_g24_blank_data_process
+
+p_g24_dongle_work_init:
+	fetch 1,mem_dongle_mode_init
+	rtnbit1 DONGLE_WORK
+	set1 DONGLE_WORK,pdata
+	store 1,mem_dongle_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_24g_rx_addr
+	call p_g24_update_addr_and_synccrc8
+	call p_g24_ch
+	branch p_g24_rx_interrupt_clear
+
+p_g24_ch_process:
+	fetch 1,mem_24g_abort_packet
+	beq 1,p_g24_noise_rssi
+	fetch 1,mem_24g_hop_packet
+	beq 1,p_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 p_g24_ch
+
+p_g24_ch_receive_hop_pac:
+	jam 0,mem_24g_hop_packet
+	branch p_g24_ch
+
+p_g24_ch_timer_reinit:
+	copy clkn_bt,pdata
+	store 4,mem_24g_hop_btclk
+	jam 0,mem_24g_rf_laststa
+	rtn
+
+p_g24_noise_rssi:
+	arg mem_rssi_noise_buffer,rega
+	call p_rssi_average
+	storet 1,mem_rssi_noise_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	branch p_g24_ch
+
+p_g24_blank_data_process:
+	call p_g24_ms_blank_data
+	call p_g24_kb_blank_data
+	branch p_g24_kb_mul_blank_data
+
+p_g24_ms_blank_data:
+	fetch 1,mem_24g_ms_blank_data_enable
+	rtn blank
+	arg TIMER_MS_BLANK,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_24g_ms_blank_data_enable
+	branch g24_ms_blank_data_2usb
+
+p_g24_kb_blank_data:
+	fetch 1,mem_24g_kb_blank_data_enable
+	rtn blank
+	arg TIMER_KB_BLANK,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_24g_kb_blank_data_enable
+	branch g24_kb_blank_data_2usb
+
+p_g24_kb_mul_blank_data:
+	fetch 1,mem_24g_kb_mul_blank_data_enable
+	rtn blank
+	arg TIMER_KB_MUL_BLANK,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_24g_kb_mul_blank_data_enable
+	branch g24_kb_mul_blank_data_2usb
+
+p_g24_dongle_bind_mode:
+	fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_BIND
+	call p_g24_dongle_bind_init
+	branch p_g24_dongle_bind_data_process
+
+p_g24_dongle_bind_init:
+	fetch 1,mem_dongle_mode_init
+	rtnbit1 DONGLE_BIND
+	set1 DONGLE_BIND,pdata
+	store 1,mem_dongle_mode_init
+	setarg 0
+	store 3,mem_dongle_ms_bind_step
+	jam TX_POWER_f5DB,mem_tx_power
+	jam 1,mem_24g_ackpayload_enable
+	jam 0,mem_24g_pid
+	jam G24_PAIR_CH,mem_24g_ch	//2480MHz
+	fetch 4,mem_24g_paring_addr	//Address
+	branch p_g24_update_addr_and_synccrc8
+
+p_g24_dongle_bind_data_process:
+	call p_g24_receive_transmit_ack
+	nbranch p_g24_rx_interrupt_clear,user3
+	arg mem_24g_rxbuf,contr
+	arg mem_24g_rxdata_temp,contw
+	arg 8,loopcnt
+	call memcpy
+	fetch 1,mem_24g_rxdata_temp+2
+	beq DATATYPE_BIND,p_g24_dongle_bind_first_step	//bind step 1
+	beq DATATYPE_CONFIG,p_g24_dongle_bind_second_step
+	beq DATATYPE_OK,p_g24_dongle_bind_third_step
+	beq 0xff,p_g24_data_attemp_bind
+p_g24_rx_interrupt_clear:
+	arg mem_24g_rxbuf,contw
+	arg 66,loopcnt
+	branch clear_mem
+
+p_g24_dongle_bind_first_step:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq BIND_MOUSE,p_g24_dongle_bind_first_step_mouse
+	beq BIND_KEYBOARD,p_g24_dongle_bind_first_step_keyboard
+	rtn
+p_g24_dongle_bind_first_step_mouse:
+	jam 1,mem_dongle_ms_bind_step
+p_g24_dongle_bind_ms_payload_cfg:
+	jam DATATYPE_MOUSE,mem_24g_bind_payload
+p_g24_dongle_bind_payload_cfg:	
+	jam 0x80,mem_24g_bind_payload+1
+	fetch 6,mem_24g_rx_addr
+	store 6,mem_24g_bind_payload+2
+	rtn
+
+p_g24_dongle_bind_first_step_keyboard:
+	jam 1,mem_dongle_kb_bind_step
+p_g24_dongle_bind_kb_payload_cfg:
+	jam DATATYPE_KEYBOARD,mem_24g_bind_payload
+	branch p_g24_dongle_bind_payload_cfg
+
+p_g24_dongle_bind_second_step:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq BIND_MOUSE,p_g24_dongle_bind_second_step_mouse
+	beq BIND_KEYBOARD,p_g24_dongle_bind_second_step_keyboard
+	rtn
+p_g24_dongle_bind_second_step_mouse:
+	call p_g24_dongle_bind_ms_payload_cfg
+	fetch 1,mem_dongle_ms_bind_step
+	beq 1,p_g24_dongle_ms_bind_step_set2
+	rtn
+p_g24_dongle_ms_bind_step_set2:
+	jam 2,mem_dongle_ms_bind_step
+	rtn
+p_g24_dongle_bind_second_step_keyboard:
+	call p_g24_dongle_bind_kb_payload_cfg	
+	fetch 1,mem_dongle_kb_bind_step
+	beq 1,p_g24_dongle_kb_bind_step_set2
+	rtn
+p_g24_dongle_kb_bind_step_set2:
+	jam 2,mem_dongle_kb_bind_step
+	rtn
+
+p_g24_dongle_bind_third_step:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq BIND_MOUSE,p_g24_dongle_bind_third_step_mouse
+	beq BIND_KEYBOARD,p_g24_dongle_bind_third_step_keyboard
+	rtn
+p_g24_dongle_bind_third_step_mouse:
+	fetch 1,mem_dongle_ms_bind_step
+	beq 2,p_g24_dongle_ms_bind_step_success
+	rtn
+p_g24_dongle_ms_bind_step_success:
+	fetch 1,mem_dongle_bind_device_status
+	or_into 0x01,pdata
+	store 1,mem_dongle_bind_device_status
+p_g24_dongle_bind_exit:	
+	setarg 0
+	store 2,mem_dongle_ms_bind_step
+	branch p_g24_rx_interrupt_clear
+	
+p_g24_dongle_bind_third_step_keyboard:
+	fetch 1,mem_dongle_kb_bind_step
+	bne 0,p_g24_dongle_kb_bind_step_success
+	rtn
+p_g24_dongle_kb_bind_step_success:
+	fetch 1,mem_dongle_bind_device_status
+	or_into 0x02,pdata
+	store 1,mem_dongle_bind_device_status
+	branch p_g24_dongle_bind_exit
+
+p_g24_data_attemp_bind:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_MOUSE,p_g24_data_attemp_mouse_bind
+	beq DATATYPE_KEYBOARD,p_g24_data_attemp_kbd_bind
+	rtn
+p_g24_data_attemp_mouse_bind:
+	fetch 4,mem_24g_rxdata_temp+4
+p_g24_store_mouse_addr:
+	store 4,mem_24g_ms_addr
+	rtn
+p_g24_data_attemp_kbd_bind:
+	fetch 4,mem_24g_rxdata_temp+4
+p_g24_store_kbd_addr:	
+	store 4,mem_24g_kb_addr
+	rtn
+
+p_g24_queue_init:
+	jam 0,mem_queue_ele_num
+	setarg mem_queue_start
+	store 2, mem_queue_read
+	store 2, mem_queue_write
+	rtn
+	
+p_g24_queue_put:
+	arg 0x1f,loopcnt
+	arg mem_usb0_set_report_data,temp
+	fetch 2, mem_queue_write
+	copy pdata,contw
+	copy temp,contr
+	call memcpy
+	fetch 1,mem_queue_ele_num
+	increase 1,pdata
+	store 1,mem_queue_ele_num
+	setarg mem_queue_write
+p_g24_queue_increase:
+	copy pdata,rega
+	arg mem_queue_end,temp
+	ifetch 2,rega
+	increase QUEUE_ELE_LENGTH,pdata
+	isub temp,null
+	nbranch p_g24_queue_put_end,positive
+	setarg mem_queue_start
+p_g24_queue_put_end:
+	istore 2,rega
+	rtn
+
+p_g24_queue_read_point:
+	disable user
+	fetch 1,mem_queue_ele_num
+	rtn blank
+	enable user
+	fetch 2,mem_queue_read
+	rtn
+
+p_dongle_usb_dispatch:
+	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,p_dongle_dispose_cmd_mode
+	beq COMMAND_BIND,p_dongle_dispose_cmd_bind
+	beq COMMAND_CURRENT_PROJECT,dongle_dispose_cmd_current_project
+	beq COMMAND_CURRENT_MODE,p_dongle_dispose_cmd_current_mode
+	beq COMMAND_CURRENT_FW_VERSION,p_dongle_dispose_cmd_current_fw_version
+	beq COMMAND_USER_DEFINED,p_dongle_dispose_cmd_user_defined
+	branch usb0_data_ready_report_set0
+
+p_dongle_dispose_cmd_bind:
+	fetch 1,mem_usb0_set_report_data+2
+	beq COM_BIND_GET,p_dongle_dispose_cmd_get_bind
+	beq COM_BIND_EXIT,p_dongle_dispose_cmd_exit_bind
+	beq COM_READ_MODE,dongle_dispose_cmd_read_mode
+	branch usb0_data_ready_report_set0
+p_dongle_dispose_cmd_get_bind:
+	fetch 1,mem_dongle_bind_device_status
+	store 1,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+p_dongle_dispose_cmd_exit_bind:
+	call p_dongle_work_mode_enable
+	branch p_dongle_dispose_cmd_get_bind
+ 
+p_dongle_dispose_cmd_mode:
+	fetch 1,mem_usb0_set_report_data+2
+	beq COM_MODE_BIND,p_dongle_enter_bind_mode
+	branch usb0_data_ready_report_set0
+p_dongle_enter_bind_mode:
+	call p_g24_bind_mode_enable
+	branch usb0_data_ready_report_set1
+
+p_dongle_dispose_cmd_current_mode:
+	fetch 1,mem_dongle_work_mode
+	beq DONGLE_WORK,p_dongle_dispose_in_work_mode
+	beq DONGLE_BIND,dongle_dispose_in_bind_mode
+	rtn
+p_dongle_dispose_in_work_mode:
+	jam COMMAND_MODE,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+	
+p_dongle_dispose_cmd_current_fw_version:
+	jam FW_VERSION3,mem_usb0_get_report_data+4
+	branch dongle_dispose_cmd_current_fw_version
+
+p_dongle_dispose_cmd_user_defined:
+	fetch 1,mem_usb0_set_report_data+2
+	beq 0xff,soft_reset_chip
+p_dongle_dispose_cmd_ota:
+	jam 2,mem_24g_ackpayload_enable
+	fetch 1,mem_queue_ele_num
+	beq QUEUE_ELE_COUNT,p_user_defined_queue_buff_full
+	call p_g24_queue_put
+	fetch 1,mem_queue_ele_num
+	beq QUEUE_ELE_COUNT,p_user_defined_queue_buff_full
+p_user_defined_queue_buff_free:
+	jam 0,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+
+p_user_defined_queue_buff_full:
+	jam 1,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+
+p_dongle_auto_bind:
+	call p_g24_mode_switch_init
+p_dongle_auto_bind_loop:
+	call p_g24_mode_switch
+	call p_g24_dongle_work_mode_auto
+	call p_g24_dongle_bind_mode_auto
+	call p_g24_dongle_search_mode_auto
+	call p_dongle_usb_dispatch
+	branch p_dongle_auto_bind_loop
+
+p_g24_dongle_work_mode_auto:
+	fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_WORK
+	call p_g24_dongle_work_mode_start
+	branch p_g24_rx_nodata_process
+
+p_g24_dongle_bind_mode_auto:
+	fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_BIND
+	call p_g24_dongle_bind_init
+	call p_g24_dongle_bind_data_process
+	fetch 1,mem_dongle_bind_device_status
+	rtn blank
+	jam 0,mem_24g_mode_switch
+	call p_dongle_check_mode
+	call p_g24_enable_nodata_timer
+	branch p_g24_timer_init
+	
+p_g24_mode_switch_init:
+	jam 1,mem_24g_mode_switch
+	jam 0,mem_24g_time_slice
+	jam 0xff,mem_24g_interval
+p_g24_timer_init:
+	setarg 0
+	store 4,mem_24g_tx_btclk
+	rtn
+	
+p_g24_mode_switch:
+	fetch 1,mem_24g_mode_switch
+	rtn blank
+	call p_g24_timer_check
+	nrtn user
+	fetch 1,mem_24g_time_slice
+	increase 1,pdata
+	and_into 1,pdata
+	store 1,mem_24g_time_slice
+	beq 0,p_dongle_check_mode
+	beq 1,p_g24_bind_mode_enable
+	rtn
+
+p_g24_bind_mode_enable:
+	jam DONGLE_BIND,mem_dongle_work_mode
+	jam CLEAR_INIT,mem_dongle_mode_init
+	rtn
+
+p_g24_enable_nodata_timer:
+	jam 1,mem_24g_nodata_timer_enable
+	branch g24_enable_nodata_timer_init
+
+p_g24_rx_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
+	//no data for more than 100ms,then go to search
+	jam DONGLE_SEARCH,mem_dongle_work_mode
+	jam CLEAR_INIT,mem_dongle_mode_init
+	branch p_g24_rx_interrupt_clear
+
+p_g24_receive_transmit_ack:
+	call p_g24_rx_interrupt_clear
+	call p_g24_receive_packet
+	nrtn user3
+	branch p_g24_transmit_ack
+
+
+p_g24_dongle_search_mode_auto:
+	fetch 1,mem_dongle_work_mode
+	rtnne DONGLE_SEARCH
+	call p_g24_dongle_search_mode_init
+	call p_g24_rx_auto_addr_ch_search
+	call p_g24_receive_transmit_ack
+	nbranch p_g24_rx_interrupt_clear,user3
+	//dongle addr,then parse rxdata
+	call p_g24_rx_addr_check
+	call p_g24_receive_packet_parse,zero
+	//receive data,then go to paired
+	jam DONGLE_WORK,mem_dongle_work_mode
+	fetch 1,mem_dongle_mode_init
+	set1 DONGLE_WORK,pdata
+	store 1,mem_dongle_mode_init
+
+	fetch 1,mem_24g_ackpayload_enable
+	sub pdata,2,null
+	ncall p_g24_ackpayload_disable,zero
+
+	call p_g24_rx_interrupt_clear
+	call p_g24_enable_nodata_timer
+	call p_g24_rx_addr_check
+	branch p_g24_dg_ch_num_reinit,zero
+	fetch 4,mem_24g_addr
+	fetcht 4,mem_24g_kb_addr
+	isub temp,null
+	branch p_g24_kb_ch_num_reinit,zero		
+	fetch 4,mem_24g_addr
+	fetcht 4,mem_24g_ms_addr
+	isub temp,null
+	branch p_g24_ms_ch_num_reinit,zero
+	rtn
+
+p_g24_ackpayload_disable:
+	jam 0,mem_24g_ackpayload_enable
+	rtn
+
+p_g24_dg_ch_num_reinit:
+	fetch 1,mem_24g_dg_ch_number
+p_g24_current_ch_num_reinit:
+	store 1,mem_24g_current_ch_number
+	rtn
+p_g24_kb_ch_num_reinit:
+	fetch 1,mem_24g_kb_ch_number
+	branch p_g24_current_ch_num_reinit
+p_g24_ms_ch_num_reinit:
+	fetch 1,mem_24g_ms_ch_number
+	branch p_g24_current_ch_num_reinit
+
+p_g24_dongle_search_mode_init:
+	fetch 1,mem_dongle_mode_init
+	rtnbit1 DONGLE_SEARCH
+	set1 DONGLE_SEARCH,pdata
+	store 1,mem_dongle_mode_init
+	jam 0,mem_24g_time_slice
+	jam 1,mem_24g_ackpayload_enable
+	setarg 0
+	store 3,mem_rssi_noise_dg_index
+	store 7,mem_24g_dg_config_ch_once
+	call p_g24_rx_addr_check
+	nrtn zero
+	fetch 1,mem_24g_current_ch_number
+	store 1,mem_24g_dg_ch_number
+	fetch 1,mem_24g_ch
+	store 1,mem_24g_dg_last_ch
+	rtn
+
+p_g24_rx_addr_check:
+	fetch 4,mem_24g_addr
+	fetcht 4,mem_24g_rx_addr
+	isub temp,null
+	rtn
+
+p_g24_rx_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,p_g24_rx_auto_bind_config_kb
+	beq 1,p_g24_rx_auto_bind_config_dongle
+	beq 2,p_g24_rx_auto_bind_config_mouse
+	beq 3,p_g24_rx_auto_bind_config_dongle
+	rtn
+
+p_g24_rx_auto_bind_config_mouse:
+	call p_g24_dongle_bind_ms_payload_cfg
+	fetch 4,mem_24g_ms_addr
+	branch p_g24_rx_auto_addr_ch_search,blank
+	call p_g24_update_addr_and_synccrc8
+	fetch 1,mem_24g_ms_config_ch_once
+	call p_g24_ms_config_ch_once,blank
+	fetch 1,mem_24g_ms_last_ch
+	store 1,mem_24g_ch
+	fetcht 1,mem_rssi_noise_ms_index
+	arg mem_rssi_noise_ms_buffer,rega
+	call p_rssi_store
+	storet 1,mem_rssi_noise_ms_index
+	call p_rssi_average
+	storet 1,mem_rssi_noise_ms_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	fetcht 1,mem_24g_ms_ch_number
+	call p_g24_ch_map_size
+	storet 1,mem_24g_ms_ch_number
+	store 1,mem_24g_ms_last_ch
+	rtn
+
+p_g24_ms_config_ch_once:
+	jam 1,mem_24g_ms_config_ch_once
+	arg 0,temp
+	call p_g24_ch_calc
+	store 1,mem_24g_ms_last_ch
+	rtn
+	
+p_g24_rx_auto_bind_config_kb:
+	call p_g24_dongle_bind_kb_payload_cfg
+	fetch 4,mem_24g_kb_addr
+	branch p_g24_rx_auto_addr_ch_search,blank
+	call p_g24_update_addr_and_synccrc8
+	fetch 1,mem_24g_kb_config_ch_once
+	call p_g24_kb_config_ch_once,blank
+	fetch 1,mem_24g_kb_last_ch
+	store 1,mem_24g_ch	
+	fetcht 1,mem_rssi_noise_kb_index
+	arg mem_rssi_noise_kb_buffer,rega
+	call p_rssi_store
+	storet 1,mem_rssi_noise_kb_index
+	call p_rssi_average
+	storet 1,mem_rssi_noise_kb_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	fetcht 1,mem_24g_kb_ch_number
+	call p_g24_ch_map_size
+	storet 1,mem_24g_kb_ch_number
+	store 1,mem_24g_kb_last_ch
+	rtn
+
+p_g24_kb_config_ch_once:
+	jam 1,mem_24g_kb_config_ch_once
+	arg 0,temp
+	call p_g24_ch_calc
+	store 1,mem_24g_kb_last_ch
+	rtn	
+
+p_g24_rx_auto_bind_config_dongle:
+	call p_g24_dongle_bind_ms_payload_cfg
+	fetch 4,mem_24g_rx_addr
+	call p_g24_update_addr_and_synccrc8	
+	fetch 1,mem_24g_dg_config_ch_once
+	call p_g24_dg_config_ch_once,blank
+	fetch 1,mem_24g_dg_last_ch
+	store 1,mem_24g_ch
+	fetcht 1,mem_rssi_noise_dg_index
+	arg mem_rssi_noise_dg_buffer,rega
+	call p_rssi_store
+	storet 1,mem_rssi_noise_dg_index
+	call p_rssi_average
+	storet 1,mem_rssi_noise_dg_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	fetcht 1,mem_24g_dg_ch_number
+	call p_g24_ch_map_size
+	storet 1,mem_24g_dg_ch_number
+	store 1,mem_24g_dg_last_ch
+	rtn
+
+p_g24_dg_config_ch_once:
+	jam 1,mem_24g_dg_config_ch_once
+	fetch 1,mem_24g_dg_last_ch
+	store 1,mem_24g_ch
+	rtn
+
+
+
+p_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
+
+p_g24_transmit_ack:
+//data type
+	fetch 1,mem_24g_rxbuf
+	store 1,mem_24g_data_type
+//read len pid crc
+	call p_g24_read_len_pid_crc
+//read ack
+	fetch 1,mem_24g_rxbuf+1
+	isolate1 bit_ack_24g,pdata
+	branch p_g24tx_no_ack,true
+p_g24tx_with_ack:
+	call p_g24_ackpayload_prep
+	call p_g24_transmit_prep
+	call p_g24_transmit
+p_g24tx_no_ack:
+	branch p_g24_end_of_packet
+
+p_g24_ackpayload_prep:
+	jam 0,mem_24g_datalen
+	fetch 1,mem_24g_ackpayload_enable
+	rtn blank
+	beq BIND_ACKPAYLOAD,p_g24_bind_ackpayload_prep
+	beq USER_ACKPAYLOAD,p_g24_user_ackpayload_prep
+	rtn
+
+p_g24_bind_ackpayload_prep:
+	jam 0x08,mem_24g_datalen
+	arg 0x08,loopcnt
+	arg mem_24g_bind_payload,contr
+	arg mem_24g_txbuf,contw
+	branch memcpy
+
+p_g24_user_ackpayload_prep:
+	call p_g24_queue_read_point
+	nrtn user
+	jam 0x1f,mem_24g_datalen
+	arg 0x1f,loopcnt
+	copy pdata,contr
+	arg mem_24g_txbuf,contw
+	call memcpy
+	fetch 2,mem_24g_txbuf+3	//pac id
+	store 2,mem_24g_ota_sta_pid
+	rtn
+
+p_g24_receive_packet_start:
+	call p_g24_receive_transmit_ack
+	nbranch p_g24_rx_interrupt_clear,user3
+	branch p_g24_receive_packet_parse
+
+p_g24_receive_packet_parse:
+	call p_g24_receive_packet_parse_pid_crc
+	nbranch p_g24_rx_interrupt_clear,user
+	fetch 1,mem_24g_rxdata_length
+	branch p_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 p_g24_enable_nodata_timer,blank
+	fetch 1,mem_24g_rxdata_temp+2
+	beq 0x01,p_g24_data_type1
+	beq 0x02,p_g24_data_type2
+	beq 0x03,p_g24_data_type3
+	beq 0xff,p_g24_data_attemp
+	branch p_g24_rx_interrupt_clear
+
+p_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
+
+p_g24_data_type1:
+	call p_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,p_g24_data_attemp_mouse_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 1,mem_24g_rxdata_temp+3	//OTA
+	beq CMD_OTA,p_g24_ota_process
+	
+	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 p_g24_ms_enable_blank_data_forcibly,blank//get kb data
+	fetch 1,mem_24g_rxdata_temp+3	//key
+	call p_g24_ms_disable_blank_data_forcibly,blank
+	branch g24_data_type1_usbtx_enable
+
+p_g24_ms_enable_blank_data_forcibly:
+	jam 1,mem_24g_ms_blank_data_enable
+	branch g24_ms_enable_blank_data_timer
+p_g24_ms_disable_blank_data_forcibly:
+	jam 0,mem_24g_ms_blank_data_enable
+	branch g24_ms_disable_blank_data_timer
+
+p_g24_data_type2:
+	fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_abort,temp
+	branch p_g24_data_attemp_kbd_abort,true
+	arg mem_usb_kb_data,contw
+	call p_g24_data_type2_reverse_data
+	fetch 8,mem_usb_kb_data
+	ncall p_g24_kb_enable_blank_data_forcibly,blank//get kb data
+	fetch 8,mem_usb_kb_data	
+	call p_g24_kb_disable_blank_data_forcibly,blank
+	fetch 8,mem_usb_kb_data
+	store 8,mem_24g_kb_data_sta_data
+	fetcht 8,mem_24g_kb_data_last_data
+	isub temp,null
+	ncall g24_kb_data_into_ep1_fifo,zero
+	fetch 8,mem_24g_kb_data_sta_data
+	store 8,mem_24g_kb_data_last_data
+	branch p_g24_rx_interrupt_clear
+
+p_g24_data_type2_reverse_data:
+	arg mem_24g_rxdata_temp+2,contr
+	arg 9,loopcnt
+	branch reverse_byte
+
+p_g24_kb_enable_blank_data_forcibly:
+	jam 1,mem_24g_kb_blank_data_enable
+	branch g24_kb_enable_blank_data_timer
+
+p_g24_kb_disable_blank_data_forcibly:
+	jam 0,mem_24g_kb_blank_data_enable
+	branch g24_kb_disable_blank_data_timer
+
+
+p_g24_data_type3:
+	arg mem_usb_kb_multikey,contw
+	call p_g24_data_type2_reverse_data
+	fetch 2,mem_usb_kb_multikey+1
+	ncall p_g24_kb_mul_enable_blank_data_forcibly,blank//get multikey data
+	fetch 2,mem_usb_kb_multikey+1
+	call p_g24_kb_mul_disable_blank_data_forcibly,blank
+	fetch 3,mem_usb_kb_multikey
+	store 3,mem_24g_kb_multikey_sta_data
+	fetcht 3,mem_24g_kb_multikey_last_data
+	isub temp,null
+	ncall g24_kb_mul_data_into_ep2_fifo,zero
+	fetch 3,mem_24g_kb_multikey_sta_data
+	store 3,mem_24g_kb_multikey_last_data
+	branch p_g24_rx_interrupt_clear
+
+p_g24_kb_mul_enable_blank_data_forcibly:
+	jam 1,mem_24g_kb_mul_blank_data_enable
+	branch g24_kb_mul_enable_blank_data_timer
+
+p_g24_kb_mul_disable_blank_data_forcibly:
+	jam 0,mem_24g_kb_mul_blank_data_enable
+	branch g24_kb_mul_disable_blank_data_timer
+
+	
+p_g24_data_attemp:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_MOUSE,p_g24_data_attemp_mouse
+	beq DATATYPE_KEYBOARD,p_g24_data_attemp_kbd
+	rtn
+p_g24_data_attemp_mouse:
+	fetch 4,mem_24g_rxdata_temp+4
+	branch p_g24_store_mouse_addr
+p_g24_data_attemp_kbd:
+	fetch 4,mem_24g_rxdata_temp+4
+	branch p_g24_store_kbd_addr
+p_g24_data_attemp_mouse_abort:
+	fetch 4,mem_24g_rxdata_temp+10
+	branch p_g24_store_mouse_addr
+p_g24_data_attemp_kbd_abort:
+	fetch 4,mem_24g_rxdata_temp+10
+	branch p_g24_store_kbd_addr
+
+p_g24_ota_process:
+	fetch 2,mem_24g_rxdata_temp+5	//ackpayload pid
+	fetcht 2,mem_24g_ota_sta_pid
+	isub temp,null
+	branch p_g24_ota_next_pac,zero
+	rtn
+	
+p_g24_ota_next_pac:
+	fetch 1,mem_24g_rxdata_temp+4	//OTA TYPE
+	beq CMD_OTA_EXIT,p_g24_ota_exit_process
+	fetch 1,mem_queue_ele_num
+	rtn blank	
+	setarg mem_queue_read
+	call p_g24_queue_increase
+	fetch 1,mem_queue_ele_num
+	increase -1,pdata
+	store 1,mem_queue_ele_num
+	fetch 1,mem_24g_rxdata_temp+4	//OTA TYPE
+	beq CMD_OTA_DATA,p_user_defined_queue_buff_free
+	beq CMD_OTA_EXIT,p_g24_ota_exit_process
+	rtn
+
+p_g24_ota_exit_process:
+	setarg 0
+	store 2,mem_24g_ota_sta_pid
+	store 1,mem_24g_ackpayload_enable
+	call p_g24_queue_init
+	fetch 1,mem_24g_rxdata_temp+7	//ackpayload pid
+	beq OTA_STA_SUCCESS,p_g24_ota_exit_success
+	beq OTA_STA_FAIL,p_g24_ota_exit_fail
+	rtn
+p_g24_ota_exit_success:
+	jam 2,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+p_g24_ota_exit_fail:
+	jam 3,mem_usb0_get_report_data+1
+	branch usb0_data_ready_report_set1
+endif
+
+
+
+ifdef MOUSE
+p_rssi_signal:
+	copy pdata,rega
+	fetcht 1,mem_rssi_signal_index
+	setarg mem_rssi_signal_buf
+	iadd temp,contw
+	copy rega,pdata
+	istore 1,contw
+	increase 1,temp
+	and_into RSSI_BUF_LEN_SIGNAL,temp
+	storet 1,mem_rssi_signal_index
+	rtn
+
+p_soft_reset_1:
+	arg mem_sp_state,contw
+	arg 12,loopcnt
+	call clear_mem
+	call p_mouse_le_txbuff_load
+	call rfcomm_init
+	call init_lmp
+	ncall lpm_disable_exen_output,wake
+	call ui_init+1
+	branch soft_reset+11
+
+
+p_init_param:
+	setarg param_le_version
+	store 3,mem_lmp_version
+	setarg param_le_subversion
+	store 2,mem_lmp_version+3
+	branch init_param+12
+
+p_lpm_dispatch_next2:
+	fetch 1,mem_mouse_wheel_trigger
+	nrtn blank
+	branch lpm_dispatch_next2
+
+p_lpm_check_wake_lock:
+	rtnmark1 mark_24g
+	fetch 1,mem_mouse_clear_sensor_data_flag
+	beq 0,disable_blank
+	fetch 1,mem_mouse_le_conn_param_reject
+	beq LE_LPM_DISABLE,disable_blank
+	fetch 2,mem_sdp_remote_cid
+	nbranch disable_blank,blank
+	branch enable_blank
+
+p_g24_dispatch:
+	rtnmark0 mark_24g
+	fetch 1,mem_24g_transmit_by_interrupt
+	beq G24_TX_TIMER_INT_ENABLE,p_g24_transmit_by_interrupt
+p_g24_transmit_process:
+	call p_g24_txdata_prep
+	nbranch p_g24_nodata_transmit,user
+	call p_g24_rf_sta_check
+p_g24_transmit_start:
+	call p_g24_transmit_packet
+	fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+	call power_ctrl_start
+	//call g24_long_sleep_shorter_param_update
+	fetch 1,mem_24g_transmit_by_interrupt
+	rtneq G24_TX_TIMER_INT_ENABLE
+p_g24_short_sleep:
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+	call p_mouse_setgpio_lpm
+	call p_clear_wake
+	setarg 60500	
+	branch lpm_dispatch_sleep
+p_g24_transmit_by_interrupt:
+	call p_g24_timer_check
+	nrtn user
+	call p_g24_interval_calibrate	
+	fetch 1,mem_24g_transmit_by_interrupt_exit_count
+	increase 1,pdata
+	store 1,mem_24g_transmit_by_interrupt_exit_count
+	sub pdata,25,null	//200ms
+	call p_g24_transmit_by_interrupt_exit,zero
+	branch p_g24_transmit_process
+p_g24_transmit_by_interrupt_exit:
+	jam G24_TX_TIMER_INT_DISABLE,mem_24g_transmit_by_interrupt
+	jam 0,mem_24g_transmit_by_interrupt_exit_count
+p_g24_interval_min:
+	jam 0,mem_24g_pac_index
+	fetch 1,mem_24g_interval_min
+	store 1,mem_24g_interval
+	rtn
+p_g24_interval_max:
+	fetch 1,mem_24g_interval_max
+	store 1,mem_24g_interval
+	rtn	
+p_g24_interval_calibrate:
+	fetch 1,mem_24g_pac_index
+	increase 1,pdata
+	store 1,mem_24g_pac_index
+	beq 4,p_g24_interval_max
+	beq 5,p_g24_interval_min
+	rtn
+p_g24_transmit_by_interrupt_enable:
+	jam G24_TX_TIMER_INT_ENABLE,mem_24g_transmit_by_interrupt
+	jam 0,mem_24g_transmit_by_interrupt_exit_count
+	rtn
+
+p_g24_nodata_transmit:
+	fetch 1,mem_24g_abort_pac
+	call p_g24_send_abort_packet,blank
+p_g24_long_sleep:
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+	call p_mouse_setgpio_lpm
+	fetch 8,mem_24g_enter_hibernate
+	call clk2lpo
+	storet 4,mem_sleep_counter
+  	branch lpm_sleep
+
+p_g24_send_abort_packet:
+	jam 1,mem_24g_abort_pac
+	jam 0,mem_24g_rf_hop_ch
+	call p_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 p_g24_transmit_prep
+	call p_g24_txdata_enable_tx
+	branch p_g24_transmit_start
+
+
+p_mouse_before_lpm:
+	rtnmark1 mark_24g
+	call p_mouse_le_txbuff_save
+	call p_mouse_setgpio_lpm
+	fetch 1,mem_context
+	bbit0 state_inconn,p_clear_wake
+	fetch 1,mem_lpm_current_mult
+	nrtn blank
+p_clear_wake:
+	setarg 0
+	store 8,mem_gpio_wakeup_low
+	rtn
+
+p_mouse_setgpio_lpm:
+	call p_mouse_set_sdio_high
+	call p_clear_wake
+	call mouse_lpm_before_common
+	hfetch 4,core_gpio_oe0
+	hfetcht 4,core_gpio_pu0
+	ior temp,temp
+	invert temp,temp
+	hstoret 4,core_gpio_pd0
+	rtn
+
+p_mouse_set_sdio_high:
+	fetch 1,mem_mouse_init_sensor_reset_flag
+	rtn blank
+	branch p_mouse_seting_dpi+1	// make sdio high to make 100uA less	
+
+p_mouse_le_txbuff_save:
+	arg mem_le_tx_buffer0,contr
+	arg mem_le_tx_buffer0_omemalloc,contw
+	call p_mouse_le_txbuff_copy
+	arg mem_le_tx_buffer1,contr
+	arg mem_le_tx_buffer1_omemalloc,contw
+	call p_mouse_le_txbuff_copy
+	arg mem_le_tx_buffer2,contr
+	arg mem_le_tx_buffer2_omemalloc,contw
+	call p_mouse_le_txbuff_copy
+	arg mem_le_tx_buffer3,contr
+	arg mem_le_tx_buffer3_omemalloc,contw
+p_mouse_le_txbuff_copy:	
+	arg 27,loopcnt
+	branch memcpy
+
+p_mouse_le_txbuff_load:
+	arg mem_le_tx_buffer0_omemalloc,contr
+	arg mem_le_tx_buffer0,contw
+	call p_mouse_le_txbuff_copy
+	arg mem_le_tx_buffer1_omemalloc,contr
+	arg mem_le_tx_buffer1,contw
+	call p_mouse_le_txbuff_copy
+	arg mem_le_tx_buffer2_omemalloc,contr
+	arg mem_le_tx_buffer2,contw
+	call p_mouse_le_txbuff_copy
+	arg mem_le_tx_buffer3_omemalloc,contr
+	arg mem_le_tx_buffer3,contw
+	branch p_mouse_le_txbuff_copy
+
+p_device_init:
+ifdef DEBUGLOG
+	call debuglog_init
+ifdef DEBUGLOG_STATUS
+	setarg DEBUGLOG_DTYPE_STATUS
+	store 2,mem_debuglog_datatype
+	setarg STATUS_LPM_WAKE
+	store 2,mem_debuglog_dataval
+	call debuglog_push	
+endif
+endif
+	call app_lpm_mult_enable
+	branch p_device_init_common,wake
+ifdef DEBUGLOG
+ifdef DEBUGLOG_STATUS
+	setarg DEBUGLOG_DTYPE_STATUS
+	store 2,mem_debuglog_datatype
+	setarg STATUS_CODE_WAKE
+	store 2,mem_debuglog_dataval
+	call debuglog_push
+endif
+endif
+	jam 0x20,core_gpio_pu0
+
+	call p_mouse_data_init
+	fetch 1,mem_tx_power
+	store 1,mem_tx_power_temp
+	call power_ctrl_pac_succ_cnt_init
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_combination_ui_button_count	//combination key timer init
+	call mouse_bt_discovery_button_down_disable
+p_device_init_common:
+	call p_mouse_init
+	branch enable_authrom
+
+p_mouse_init:
+	ncall p_mouse_setting_config,wake
+	call p_mouse_spi_init
+	rtn wake
+ifdef RF_DEBUG
+	call test_gpio_init
+endif
+	call p_mouse_cb_fuction
+	call p_mouse_check_key_gpio
+	beq MOUSE_LM_BUTTON,p_mouse_24g_pairing_button
+	branch p_mouse_wakeup_from_power
+
+p_mouse_check_reconn_target:
+	fetch 1,mem_tx_power_temp
+	store 1,mem_tx_power
+	fetch 1,mem_xrecord_mode
+ifdef CLASSIC_BT	
+	beq REC_3_MODE,p_mouse3_0_check_reconn_target
+endif	
+	beq REC_4_MODE,p_mouse4_0_check_reconn_target
+	rtn
+
+
+ifdef CLASSIC_BT
+p_mouse3_0_check_reconn_target:
+	fetch 6,mem_hci_plap
+	branch app_bt_start_discovery_short,blank
+	branch mouse3_0_check_reconn_target+3
+endif
+
+p_mouse4_0_check_reconn_target:
+	jam 1,mem_mouse_le_reconnect_flag
+	fetch 2,mem_mouse_direct_timeout
+	store 2,mem_mouse_direct_timer
+	call app_lpm_mult_disable
+	call p_le_check_adv_flag
+	setarg ADV_FLAG_BREDR_NOT_SUPPORTED
+	istore 1,contr
+	branch check_51cmd_adv
+
+p_le_check_adv_flag:
+	arg mem_le_adv_data,rega
+p_le_check_adv_flag_loop:
+	ifetch 1,rega	//length
+	rtn blank
+	iadd contr,rega
+	ifetch 1,contr	//type
+	rtneq 0x01
+	branch p_le_check_adv_flag_loop
+
+p_mouse_24g_pairing_button:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G
+	rtnbit1 MOSUE_24G_PAIRING_FLAG
+	rtnmark1 mark_24g
+	call mouse_devce_led_off
+	arg MOSUE_24G_PAIRING_FLAG,queue
+	call mouse_enable_function_flag
+	setarg 0
+	store 2,mem_mouse_direct_timer
+	store 1,mem_mouse_send_blank_timer
+	store 2,mem_24g_check_dongle_times
+	call mouse_stop_discovery
+	branch p_g24_start_pairing_sm1
+
+p_mouse_dpi_config:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_EEPROM,mouse_dpi_config
+	fetch 1,mem_mouse_dpi
+	beq 0xff,mouse_dpi_config
+	branch mouse_seting_dpi+2
+
+p_mouse_spi_init:
+	jam 0x76,mem_spi_init_clk
+	branch mouse_spi_init
+	
+p_mouse_init_sunt:
+	call p_mouse_spi_init
+	call mouse_spi_sdio_gpio_pollup
+	fetch 1,mem_config_sensor_type
+	beq P3610,mouse_init_3610sensor
+p_mouse_init_sensor:
+	call mouse_read_sensor_id
+	beq P32XX_ID1,p_mouse_init_p32xx_id2_judge
+	beq P3065_ID1,p_mouse_p3065_init_param
+	call mouse_twspi_reset
+	nop 1000
+	branch p_mouse_init_sensor
+
+p_mouse_init_sensor_reset:
+	jam 1,mem_mouse_init_sensor_reset_flag
+	call spi_ncs_enable
+	call p_mouse_init_sunt
+	branch spi_ncs_disable
+
+p_mouse_init_p32xx_id2_judge:
+	call p_mouse_sensor_poweron
+	branch mouse_init_p32xx_id2_judge
+
+
+p_mouse_p3065_init_param:
+	call p_mouse_sensor_poweron
+	fetch 1,mem_sensor_id2
+	beq P3065_XY_ID2,mouse_p3065xy_init_param
+	jam P3065,mem_config_sensor_type
+	rtn
+
+p_mouse_sensor_poweron:
+	setarg 0x8006	// reset to factory settings
+	call twspi_write
+	nop 12000
+	branch p_mouse_dpi_config
+p_mouse_sensor_powerdown:
+	setarg 0x06
+	call twspi_read
+	or pdata,0x08,pdata
+	lshift8 pdata,pdata
+	add pdata,0x06,pdata
+	branch twspi_write	//make sdio high
+
+p_mouse_setting_config:
+	call p_g24_set_device_addr
+	//disable usb function
+	hfetch 1,core_usb_config
+	set0 4,pdata
+	hstore 1,core_usb_config
+	call mouse_gpio_init
+	call p_mouse_multi_led_init
+	call mouse_param_init
+ifdef CLASSIC_BT	
+	call p_mouse_bt_sdp_update
+endif	
+	setarg 0
+	store 2,mem_lpm_interval	
+	call mouse_adc_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,p_mouse_init_iic
+//	bbit1 MOUSE_ENABLE_FLASH,p_mouse_load_flash_info_cheak
+//	rtn
+p_mouse_init_iic:
+	call iic_init_390k
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	isolate1 MOUSE_ENABLE_2K_EEPROM,pdata
+	ncall clear_eeprom_size_2k,true
+	call mouse_load_eeprom_dpi
+	//call ice_break
+	call p_mouse_init_environment
+	call p_mouse_set_24g_addr_eeprom
+	branch iicd_read_eep_data
+	
+ifdef CLASSIC_BT
+p_mouse_bt_sdp_update:
+	call enable_authrom
+	arg 0x8c00,contr
+	arg mem_mouse_uuid_list,contw
+	arg 369,loopcnt
+	call memcpy
+	//Attribute: HID SSR Host Max Latency
+	setarg 0x0f0209
+	istore 3,contw
+	setarg 0x120009
+	istore 3,contw
+	//Attribute: HID SSR Host Min Timeout
+	setarg 0x100209
+	istore 3,contw
+	setarg 0x000009
+	istore 3,contw
+	arg 0x8d71,contr
+	arg 265,loopcnt
+	call memcpy
+	
+	jam 0,mem_mouse_uuid_list+23	//Service Record Handle: 0x 00 01 00 00
+	jam 0x6d,mem_mouse_uuid_list+15	//total length
+	setarg 0x401f
+	store 2,mem_mouse_uuid_list+357	//timeout
+	setarg 0x6d04
+	store 2,mem_mouse_uuid_list+462	//VID
+	setarg 0x16b0
+	store 2,mem_mouse_uuid_list+468	//PID
+
+	setarg mem_mouse_uuid_list				//bt sdp start address
+	store 2,mem_ui_uuid_table
+	rtn
+endif
+
+p_mouse_init_environment:
+	call app_initflag_check
+	branch mouse_eeprom_load_recon_info,zero
+	call p_le_addr_random_config
+	branch mouse_init_environment+2
+
+p_app_flag_store:
+	//call ice_break
+
+	arg 2,temp
+	//setarg 0xaa55
+	//store 2,mem_timeup
+	arg mem_timeup,rega
+	arg MOUSE_EEPROM_MODULE_INIT_FLAG,regb
+	branch iicd_write_protect_eep_data
+
+p_app_initflag_check:
+	arg 2,temp
+	arg mem_pdatatemp,rega
+	arg MOUSE_EEPROM_MODULE_INIT_FLAG,regb
+	branch app_initflag_check+4
+
+/*
+p_mouse_load_flash_info_cheak:
+	call mouse_load_flash_flag
+	fetch 2,mem_store_flag
+	arg EEPROM_INIT_FLAG,temp
+	isub temp,null
+	branch p_mouse_load_flash_device_info,zero
+	storet 2,mem_store_flag
+	call mouse_ble_init_address
+	branch mouse_store_flash_device_info
+
+p_mouse_load_flash_device_info:
+	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
+	call spid_read_flash
+	call mouse_select_reconn_device
+	fetch 4,mem_mouse_24g_addr
+	store 4,mem_24g_addr
+	rtn
+*/
+
+
+p_mouse_wakeup_from_power:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_WAKEUP_FROM_POWER,p_mouse_wakeup_no_from_power
+	fetch 1,mem_wakup_from_power_flag
+	isolate0 gpio_latch,pdata
+	nbranch p_mouse_wakeup_no_from_power,true
+	call p_mouse_init_sunt
+	call p_mouse_sensor_powerdown
+p_mouse_wakeup_no_from_power:
+	fetch 1,mem_reconn_times_init
+	store 1,mem_reconn_times
+	fetch 1,mem_config_function_enable
+	rtnbit1 ENABLE_SELECT_DEVICE_BY_SWITCH
+p_mouse_start_24g_mode:	
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G
+	call p_g24_factory_check
+	branch p_g24_auto_pair_start,user
+	branch p_g24_start_24g_mode
+
+p_g24_factory_check:
+	arg 2,loopcnt
+	arg mem_24g_addr,contr
+p_pdata_0xff_check:
+	call enable_user
+	setarg 0xffff
+p_pdata_0xff_check_loop:
+	ifetcht 2,contr
+	isub temp,null
+	ncall disable_user,zero
+	loop p_pdata_0xff_check_loop
+	rtn
+
+p_mouse_cb_fuction:
+	setarg p_mouse_g24_package_data
+	store 2,mem_cb_24g_data
+ifdef BLE
+	setarg p_mouse_le
+	store 2,mem_cb_le_process
+	setarg p_le_mouse_bb_event_connect_complete
+	store 2,mem_cb_att_write
+endif	
+ifdef CLASSIC_BT
+	setarg p_mouse_bt
+	store 2,mem_cb_bt_process
+endif
+	setarg p_mouse_before_lpm
+	store 2,mem_cb_before_lpm
+	setarg p_mouse_priority_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg p_mouse_idle
+	store 2,mem_cb_idle_process
+	setarg p_mouse_before_hibernate
+	store 2,mem_cb_before_hibernate
+	setarg p_mouse_bb_event_timer
+	store 2,mem_cb_event_timer
+	setarg mouse_spi_write_flash_cb
+	store 2,mem_cb_spi_flash_write_complate
+	rtn
+
+p_mouse_g24_package_data:
+	call mouse_g24_package_data
+	fetch 2,mem_mouse_z
+	rtn blank
+	branch p_g24_transmit_by_interrupt_enable
+	
+ifdef BLE	
+p_mouse_le:
+	call le_fifo_check_nearly_full
+	nrtn blank
+	fetch 1,mem_le_connect_status_flag
+	and pdata,0x03,pdata
+	rtnne 0x03
+	fetch 1,mem_mouse_clear_sensor_data_flag
+	call p_mouse_clear_sensor_data,blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+//	bbit1 MOSUE_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
+	call mouse_motion
+	nrtn user
+
+	call p_mouse_wheel_trigger
+	branch p_mouse_data_push
+endif
+
+
+p_mouse_wheel_trigger:
+	fetch 2,mem_mouse_z
+	rtn blank
+	jam 1,mem_mouse_wheel_trigger
+	jam 2,mem_mouse_wheel_trigger_timer
+	rtn
+	
+ifdef CLASSIC_BT
+p_mouse_bt:
+	rtn attempt
+	fetch 1,mem_app_handshake_flag
+	rtn blank
+	call l2cap_malloc_is_fifo_nearly_full
+	nrtn blank
+	fetch 1,mem_mouse_clear_sensor_data_flag
+	call p_mouse_clear_sensor_data,blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+//	bbit1 MOSUE_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
+	nrtn user
+	call p_mouse_wheel_trigger
+	branch mouse_send_data
+endif
+
+p_mouse_clear_sensor_data:
+	call le_set_config_more_data
+	jam 1,mem_mouse_clear_sensor_data_flag
+	branch p_mouse_sensor_poweron
+
+p_mouse_idle:
+//	call p_mouse_24g_pairing_button
+	call ui_check_paring_button
+	call p_mouse_dpi_check
+	branch mouse_wheel_check
+
+p_mouse_dpi_check:
+	fetcht 1,mem_dpi_button_gpio
+	call p_gpio_set_input_pd
+	fetcht 1,mem_dpi_button_gpio
+	call gpio_get_bit
+	branch p_mouse_dpi_up,true
+	call p_gpio_set_input_pu
+	branch mouse_dpi_down
+/*p_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 1,mem_mouse_dpi
+	increase 1,pdata
+	and pdata,0x03,pdata
+	store 1,mem_mouse_dpi
+	//increase 2,pdata
+	//store 2,mem_mouse_multi_led_blink_count
+	//call p_mouse_dpi_multi_led_blink
+	branch mouse_dpi_down+7*/
+
+p_mouse_dpi_up:
+	call p_gpio_set_input_pu
+	branch mouse_dpi_up
+
+	
+/*
+//pc bind api
+p_mouse_24g_pairing_button:
+	fetch 2,mem_24g_pairing_timer_count
+	rtn blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G
+	rtnbit1 MOSUE_24G_PAIRING_FLAG
+	rtnmark1 mark_24g
+	call mouse_check_key_gpio
+	rtnne MOUSE_LMR_BUTTON
+	call mouse_devce_led_off
+	arg MOSUE_24G_PAIRING_FLAG,queue
+	call mouse_enable_function_flag
+	setarg 0
+	store 2,mem_mouse_direct_timer
+	store 1,mem_mouse_send_blank_timer
+	store 2,mem_24g_check_dongle_times
+	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
+	call mouse_stop_discovery
+	branch p_g24_start_pairing_sm1
+*/
+p_mouse_priority_bb_event:
+	copy regc,pdata
+ifdef BLE	
+	beq BT_EVT_LE_CONNECTED,p_mouse_le_bb_event_connected
+	beq BT_EVT_LE_DISCONNECTED,p_mouse_le_bb_disconnected
+	beq BT_EVT_LE_ENC_INFO,p_mouse_le_enc_info
+	beq BT_EVT_LE_START_ENC,p_mouse_le_ll_start_encryt
+	beq BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,p_mouse_le_conn_param_update_rsp_recieved
+endif
+ifdef CLASSIC_BT
+	beq BT_EVT_RECONN_FAILED,p_mouse_bb_event_reconn_failed
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,p_mouse_bb_event_reconn_timeout
+	beq BT_EVT_VIRTUAL_CABLE_UNPLUG,p_mouse_irtual_cable_unplug
+	beq BT_EVT_SWITCH_NOT_ACCEPT,app_bt_role_switch	
+	beq BT_EVT_SNIFF_NOT_ACCEPT,p_mouse_sniff_not_accept
+	beq BT_EVT_BB_CONNECTED,p_mouse_bb_event_connected
+	beq BT_EVT_BB_DISCONNECTED,p_mouse_bb_event_disconnected
+	beq BT_EVT_SWITCH_SUCCESS_MASTER,p_mouse_enter_sniff_check
+	//beq BT_EVT_HID_HANDSHAKE,p_mouse_bt_hid_handshake
+endif
+	beq BT_EVT_24G_PAIRING_COMPLETE,p_mouse_24g_pairing_complete
+	beq BT_EVT_24G_ATTEMPT_FAIL,p_mouse_24g_attempt_fail
+	beq BT_EVT_24G_ATTEMPT_SUCCESS,p_mouse_24g_attempt_success
+	branch mouse_priority_bb_event+1
+
+ifdef BLE
+p_mouse_le_bb_event_connected:
+//	jam 0,mem_mouse_long_mult_flag
+	call p_mouse_init_sensor_reset
+	call p_mouse_data_init
+	//call p_app_flag_store
+	branch mouse_le_bb_event_connected
+
+p_mouse_le_bb_disconnected:
+	call p_mouse_sensor_powerdown_check
+	setarg LE_INTERVAL_8_75MS
+	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 p_mouse_data_init
+	call le_clr_config_more_data
+	branch mouse_bb_disconnected
+
+p_mouse_le_enc_info:
+p_app_updata_le_param:
+	jam BT_CMD_LE_UPDATE_CONN,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+p_mouse_le_ll_start_encryt:
+	fetch 1,mem_mouse_le_reconnect_flag
+	beq 1,p_mouse_le_ll_reconn_start_encryt
+	branch p_mouse_le_ll_enable_start_enc_flag
+
+p_mouse_le_ll_reconn_start_encryt:
+	call p_app_updata_le_param
+	jam 20,mem_le_start_encrypt_timer
+p_mouse_le_ll_enable_start_enc_flag:
+	arg LL_START_ENC_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+p_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 p_app_updata_le_param
+	branch p_mouse_le_conn_param_lpm_disable
+endif
+
+
+ifdef CLASSIC_BT
+p_mouse_bb_event_reconn_timeout:
+p_mouse_bb_event_reconn_failed:
+	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_SELECT_DEVICE_FLAG,mouse_soft_reset
+//	bbit1 MOSUE_24G_PAIRING_FLAG,p_g24_start_pairing_sm1
+	branch app_bb_hibernate
+
+p_mouse_irtual_cable_unplug:
+	call mouse_irtual_cable_unplug
+	branch app_bb_hibernate
+
+p_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
+	branch app_bt_enter_sniff
+
+p_mouse_bb_event_connected:
+	jam 0,mem_mouse_send_switch_req_timer
+	call p_mouse_init_sensor_reset
+	branch mouse_stop_discovery
+
+p_mouse_bb_event_disconnected:
+	call p_mouse_sensor_powerdown_check
+	branch mouse_bb_disconnected
+
+p_mouse_enter_sniff_check:
+	fetch 1,mem_mouse_enter_sniff_count
+	rtnne 2
+	jam 0,mem_mouse_enter_sniff_count
+	jam 0x0e,mem_sniff_param_interval	//89Hz
+	branch app_bt_enter_sniff
+
+
+	
+endif
+
+p_mouse_24g_pairing_complete:
+	call p_mouse_init_sensor_reset
+
+	jam 1,mem_mouse_24g_enter_lpm_enable
+	arg MOSUE_24G_PAIRING_FLAG,queue
+	call mouse_disable_function_flag
+	setarg 0
+	store 2,mem_24g_pairing_timer_count
+	jam 0,mem_mouse_move_flag
+	
+	fetch 1,mem_config_sensor_type
+	sub pdata,P3610,null
+	call mouse_read_sensor3610_data,zero
+	ncall mouse_read_sensor_common,zero
+
+	fetch 1,mem_tx_power_temp
+	store 1,mem_tx_power
+
+//	fetch 1,MOUSE_FLAG_LEN,mem_mouse_flag
+//	bbit1 MOUSE_ENABLE_FLASH,p_mouse_store_flash_24g_address
+	call p_mouse_set_24g_addr_eeprom	//store rx dongle addr to eeprom
+	branch iicd_write_protect_eep_data
+
+p_mouse_set_24g_addr_eeprom:
+	arg mem_24g_addr,rega
+	arg MOUSE_G24_ADDR_EEPROM_OFFECT,regb
+	arg 4,temp
+	rtn
+
+//p_mouse_store_flash_24g_address:
+//	arg mem_24g_addr,regb
+//	ifetch 4,regb
+//	store 4,mem_mouse_24g_addr
+//	branch mouse_store_flash_device_info
+
+p_mouse_24g_attempt_fail:
+	call p_mouse_sensor_powerdown_check
+	jam G24_TX_TIMER_INT_DISABLE,mem_24g_transmit_by_interrupt
+	fetch 1,mem_tx_power_temp
+	store 1,mem_tx_power
+	call p_g24_check_51cmd_stop_24g
+	fetch 1,mem_mouse_mode_config
+	bbit1 MOUSE_24G_ONLY,p_mouse_null_enter_hibernate_enable
+	jam 0,mem_link_key_exists
+	call mouse_eeprom_load_recon_info	
+	arg 3,loopcnt
+	arg mem_device1_addr,contr
+	call p_pdata_0xff_check
+	branch p_mouse_null_enter_hibernate_enable,user
+	branch p_mouse_check_reconn_target
+
+p_mouse_null_enter_hibernate_enable:	//ble never connected
+	jam 1,mem_mouse_null_enter_hibernate_flag
+	jam 40,mem_mouse_null_enter_hibernate_timer	//lmr 3s
+	rtn
+
+p_mouse_24g_attempt_success:
+	call p_mouse_init_sensor_reset
+	branch mouse_no_data_timer_init
+	
+p_mouse_before_hibernate:
+	enable user
+	hfetch 4,0x8138
+	setflag user,26,pdata
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+	call p_mouse_sensor_powerdown_check
+	call disable_authrom
+	call mouse_devce_led_off
+	call mouse_before_hibernate_wheel_gpio_set
+	branch mouse_lpm_before_common
+	
+p_mouse_sensor_powerdown_check:
+	fetch 1,mem_mouse_init_sensor_reset_flag
+	rtn blank
+	jam 0,mem_mouse_init_sensor_reset_flag
+	branch p_mouse_sensor_powerdown
+
+
+p_mouse_bb_event_timer:
+ifdef ADC_ENABLE	
+	call p_mouse_adc_read
+	call p_mouse_low_voltage_led_timer
+endif
+	call p_mouse_send_switch_req_timer
+	call p_mouse_wheel_trigger_timer
+	//call p_mouse_dpi_led_blink_delay_timer
+	call p_mouse_multi_led_blink_timer
+	call p_mouse_null_enter_hibernate_timer
+	call p_mouse_bt_discovery_check
+	call mouse_check_hid_handshake_timer
+	call mouse_check_discovery_timeout_timer
+	call mouse_check_direct_timeout_timer
+	call mouse_check_no_data_timeout_timer
+	branch p_mouse_le_enable_att_list_timer
+
+p_mouse_multi_led_blink_timer:
+	fetch 1,mem_mouse_multi_led_blink_enable
+	rtn blank
+	//fetch 1,mem_mouse_multi_led_type
+	//beq MULTI_LED_ON,p_mouse_multi_led_type_on
+	//beq MULTI_LED_BLINK,p_mouse_multi_led_type_blink
+	//rtn
+/*p_mouse_multi_led_type_on:
+	call p_mouse_multi_led_on
+	fetch 1,mem_mouse_multi_led_on_timer
+	increase 1,pdata
+	store 1,mem_mouse_multi_led_on_timer
+	fetcht 1,mem_mouse_multi_led_on_timer_init
+	isub temp,null
+	call p_mouse_multi_led_off_poweron2s,zero
+	rtn
+p_mouse_multi_led_off_poweron2s:
+	jam 0,mem_mouse_multi_led_on_poweron2s_flag
+	branch p_mouse_multi_led_off*/
+
+p_mouse_multi_led_type_blink:
+	fetch 1,mem_mouse_multi_led_blink_timer
+	increase -1,pdata
+	store 1,mem_mouse_multi_led_blink_timer
+	nrtn blank
+	fetch 1,mem_mouse_multi_led_blink_timer_init
+	store 1,mem_mouse_multi_led_blink_timer
+	fetch 1,mem_mouse_multi_led_blink_count_limited
+	branch p_mouse_multi_led_blink_count_no_limited,blank
+	fetch 1,mem_mouse_multi_led_blink_count
+	branch p_mouse_multi_led_blink_off,blank
+	increase -1,pdata
+	store 1,mem_mouse_multi_led_blink_count
+p_mouse_multi_led_blink_count_no_limited:
+	fetch 1,mem_mouse_multi_led_state
+	beq ON,p_mouse_multi_led_off
+	beq OFF,p_mouse_multi_led_on
+	rtn
+p_mouse_multi_led_init:
+	fetcht 1,mem_mouse_multi_led_gpio
+	branch gpio_config_output
+p_mouse_multi_led_on:
+	jam ON,mem_mouse_multi_led_state
+	call p_mouse_multi_led_init
+	fetcht 1,mem_mouse_multi_led_gpio
+	branch gpio_out_active
+	
+p_mouse_multi_led_blink_off:
+	jam 0,mem_mouse_multi_led_blink_timer
+	jam 0,mem_mouse_multi_led_blink_count
+	jam 0,mem_mouse_multi_led_blink_count_limited
+p_mouse_multi_led_off:
+	fetch 1,mem_mouse_multi_led_blink_count
+	nbranch p_mouse_multi_led_off_wait_blink_over,blank
+	jam 0,mem_mouse_multi_led_blink_enable
+	jam 0,mem_mouse_multi_led_type
+p_mouse_multi_led_off_wait_blink_over:
+	jam 0,mem_mouse_multi_led_on_timer
+	jam OFF,mem_mouse_multi_led_state
+p_mouse_multi_led_off2:	
+	fetcht 1,mem_mouse_multi_led_gpio
+	call gpio_out_inactive
+	hfetch 1,core_gpio_pd0	//gpio5 pull down enable
+	set1 5,pdata
+	hstore 1,core_gpio_pd0
+	rtn
+/*
+p_mouse_mode_bt_device1_multi_led_on:
+p_mouse_mode_24g_device_multi_led_on:
+	jam 1,mem_mouse_multi_led_on_poweron2s_flag
+	jam ON,mem_mouse_multi_led_blink_enable
+	jam MULTI_LED_ON,mem_mouse_multi_led_type
+	jam 0,mem_mouse_multi_led_on_timer
+	rtn*/
+p_mouse_discovery_multi_led_blink:
+	jam 1,mem_mouse_multi_led_blink_timer
+	jam 5,mem_mouse_multi_led_blink_timer_init	//500ms
+	jam 0,mem_mouse_multi_led_blink_count_limited
+	jam 1,mem_mouse_multi_led_blink_count//0 will clear mem_mouse_multi_led_blink_enable/mem_mouse_multi_led_type
+p_mouse_multi_led_blink_enable:
+	jam ON,mem_mouse_multi_led_blink_enable
+	jam MULTI_LED_BLINK,mem_mouse_multi_led_type
+	rtn
+
+p_mouse_discovey_led_blink_off:
+	fetch 1,mem_mouse_multi_led_on_timer
+	nrtn blank
+	fetch 1,mem_mouse_multi_led_on_poweron2s_flag
+	nrtn blank
+	branch p_mouse_multi_led_blink_off
+		
+p_mouse_dpi_multi_led_blink:
+	jam 1,mem_mouse_multi_led_blink_timer
+	jam 3,mem_mouse_multi_led_blink_timer_init	//300ms
+	jam 1,mem_mouse_multi_led_blink_count_limited
+	branch p_mouse_multi_led_blink_enable
+
+	
+p_mouse_send_switch_req_timer:
+	arg mem_mouse_send_switch_req_timer,regc
+	arg host_create_conn_resend,regb
+	branch timer_single_step
+
+p_mouse_wheel_trigger_timer:
+	arg mem_mouse_wheel_trigger_timer,regc
+	arg p_mouse_wheel_trigger_disable,regb
+	branch timer_single_step
+p_mouse_wheel_trigger_disable:
+	jam 0,mem_mouse_wheel_trigger
+	rtn
+
+p_mouse_le_enable_att_list_timer:
+	arg mem_le_start_encrypt_timer,regc
+	arg mouse_le_write_enable,regb
+	branch timer_single_step	
+
+p_mouse_bt_discovery_check:
+	fetch 1,mem_config_function_enable
+	bbit1 ENABLE_BT_BUTTON,mouse_bt_discovery_by_button
+p_mouse_bt_discovery_commbination_key:
+	call p_mouse_check_key_gpio
+	beq MOUSE_LMR_BUTTON,p_mouse_bt_discovery_commbination_key_down
+p_mouse_bt_discovery_commbination_key_up:
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_combination_ui_button_count	//combination key timer init 
+	fetch 1,mem_bt_discovey_button_statue
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_bt_discovey_button_statue
+	arg MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,queue
+	call mouse_disable_function_flag
+	branch mouse_bt_discovery_button_down_disable
+p_mouse_bt_discovery_commbination_key_down:
+	jam 40,mem_mouse_null_enter_hibernate_timer
+	call p_mouse_bt_discovery_timer
+	branch mouse_bt_discovery_commbination_key_down+1
+
+p_mouse_bt_discovery_timer:
+	arg mem_combination_ui_button_count,regc
+	arg p_mouse_long_button_bt_discovery,regb
+	branch timer_single_step
+	
+p_mouse_long_button_bt_discovery:
+	call p_mouse_sensor_powerdown_check
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BLE_ADV,pdata
+	call mouse_stop_le_adv,true		//reconnect adv
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BT_RECONNECT,pdata
+	call mouse_cancel_reconnect,true
+	arg MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,queue
+	call mouse_enable_function_flag
+	branch mouse_long_button_bt_discovry
+
+p_mouse_null_enter_hibernate_timer:
+	fetch 1,mem_mouse_null_enter_hibernate_flag
+	rtn blank
+	fetch 1,mem_mouse_null_enter_hibernate_timer
+	branch p_mouse_null_enter_hibernate,blank
+	increase -1,pdata
+	store 1,mem_mouse_null_enter_hibernate_timer
+	rtn
+p_mouse_null_enter_hibernate:
+	jam 0,mem_mouse_null_enter_hibernate_flag
+	branch app_enter_hibernate
+
+	
+ifdef ADC_ENABLE
+p_mouse_adc_read:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_ADC
+
+	fetch 1,mem_mouse_multi_led_blink_count
+	nrtn blank
+	fetch 1,mem_mouse_multi_led_on_timer
+	nrtn blank
+	
+	fetch 1,mem_adc_read_timer
+	increase 1,pdata
+	store 1,mem_adc_read_timer
+	sub pdata,10,null              //1s read adc
+	rtn positive
+	jam 0,mem_adc_read_timer
+	call p_adc_set_mode
+	call vdd_calculate_by_mode
+	store 2,mem_mouse_vdd_now_vol
+	arg mem_mouse_vdd_calculate_set,rega
+	call p_adc_bat_percent_lowpower_out
+	fetch 1,mem_adc_power_flag
+	bbit1 1,app_enter_hibernate
+	bbit0 0,p_mouse_adc_no_low_voltage
+	jam 1,mem_mouse_adc_last_low_voltage_flag
+	branch mouse_adc_low_voltage
+p_mouse_adc_no_low_voltage:
+	call mouse_adc_no_low_voltage
+	fetch 1,mem_mouse_adc_last_low_voltage_flag
+	rtn blank
+	jam 0,mem_mouse_adc_last_low_voltage_flag
+	//fetch 1,mem_config_low_voltage_alarm_gpio
+	//store 1,mem_mouse_struct_led_gpio
+	branch p_mouse_multi_led_off
+	
+p_adc_set_mode:
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_GPIO,p_adc_check_gpio
+	branch adc_set_mode+1
+p_adc_check_gpio:
+	fetcht 1,mem_mouse_multi_led_gpio
+	call gpio_config_input
+	hfetch 1,core_gpio_pd0	//gpio5 pull down disable
+	set0 5,pdata
+	hstore 1,core_gpio_pd0
+
+	hfetch 1,core_gpio_pu0	//gpio5 pull up disable
+	set0 5,pdata
+	hstore 1,core_gpio_pu0
+	call adc_check_gpio
+	//hfetch 1,core_gpio_pu0	//gpio5 pull up enable
+	//set1 5,pdata
+	//hstore 1,core_gpio_pu0
+	rtn
+
+p_adc_bat_percent_lowpower_out:
+	ifetch 8,rega
+	store 8,mem_pdatatemp
+	fetcht 2,mem_pdatatemp+2	//shutdown voltage 0.9v
+	fetch 2,mem_pdatatemp+6		//now voltage
+	mul32 pdata,7,pdata
+	div pdata,4
+	call wait_div_end
+	quotient pdata
+	pincrease -10
+	isub temp,null
+	nbranch adc_set_no_power_flag,positive
+	fetcht 2,mem_pdatatemp+4	//low voltage 1.0v
+	isub temp,null
+	nbranch adc_set_low_power_flag,positive
+p_adc_clear_low_power_flag:
+	fetch 1,mem_adc_power_flag
+	set0 0,pdata
+	store 1,mem_adc_power_flag
+	rtn
+
+p_mouse_low_voltage_led_timer:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_LOW_VOLTAGE_FLAG
+
+	fetch 1,mem_mouse_multi_led_blink_count
+	nrtn blank
+	fetch 1,mem_mouse_multi_led_on_timer
+	nrtn blank
+	
+	//fetch 1,mem_config_low_voltage_alarm_gpio
+	//store 1,mem_mouse_struct_led_gpio
+	fetch 1,mem_adc_low_volatage_led_timer_count
+	pincrease 1
+	store 1,mem_adc_low_volatage_led_timer_count
+	sub pdata,20,null
+	ncall p_mouse_adc_low_volatage_led_timer_count_clean,positive
+	fetch 1,mem_adc_low_volatage_led_timer_count
+	sub pdata,10,null
+	branch p_mouse_multi_led_on,positive
+	branch p_mouse_multi_led_off
+p_mouse_adc_low_volatage_led_timer_count_clean:
+	jam 1,mem_adc_low_volatage_led_timer_count
+	rtn
+
+endif
+p_mouse_motion:
+	disable user
+	setarg 0
+	store 6,mem_mouse_x
+	call mouse_cheak_sensor_data
+	call mouse_zwheel
+	call mouse_t_zwheel
+	call p_mouse_key
+	branch mouse_motion+8
+
+p_mouse_key:
+	call p_mouse_check_key_gpio
+	branch mouse_key+1
+p_mouse_check_key_gpio:
+	arg 0,rega
+	call p_mouse_check_lkey_gpio
+	call p_mouse_check_rkey_gpio
+	call p_mouse_check_mkey_gpio
+	call p_mouse_check_skey_gpio
+	copy rega,pdata
+	rtn
+p_mouse_check_skey_gpio:
+	fetch 1,mem_bk_button_gpio
+	rtneq GPIO_DISABLE
+	call p_mouse_check_bk_key_gpio
+	branch p_mouse_check_fw_key_gpio
+	
+p_mouse_check_lkey_gpio:
+	fetcht 1,mem_lbutton_gpio
+	call p_gpio_set_input_pu
+	fetcht 1,mem_lbutton_gpio
+	call gpio_get_bit
+	setflag true,0,rega			//true = 1,input low level
+	rtn
+p_mouse_check_rkey_gpio:
+	fetcht 1,mem_rbutton_gpio
+	call p_gpio_set_input_pu
+	fetcht 1,mem_rbutton_gpio
+	call gpio_get_bit
+	setflag true,1,rega			//true = 1,input low level
+	rtn
+p_mouse_check_mkey_gpio:
+	fetcht 1,mem_mbutton_gpio
+	call p_gpio_set_input_pu
+	fetcht 1,mem_mbutton_gpio
+	call gpio_get_bit
+	setflag true,2,rega			//true = 1,input low level
+	rtn
+p_mouse_check_bk_key_gpio:
+	fetcht 1,mem_bk_button_gpio
+	call p_gpio_set_input_pd
+	fetcht 1,mem_bk_button_gpio
+	call gpio_get_bit
+	nsetflag true,3,rega
+	branch p_gpio_set_input_pu
+p_mouse_check_fw_key_gpio:
+	fetcht 1,mem_fw_button_gpio
+	call p_gpio_set_input_pd
+	fetcht 1,mem_fw_button_gpio
+	call gpio_get_bit
+	nsetflag true,4,rega
+	branch p_gpio_set_input_pu
+p_gpio_set_input_pd:
+	set0 gpio_active_bit,temp
+	arg core_gpio_pu0,contw
+	call gpio_set_bit
+	set1 gpio_active_bit,temp
+	arg core_gpio_pd0,contw
+	call gpio_set_bit
+	set0 gpio_active_bit,temp
+	arg core_gpio_oe0,contw
+	branch gpio_set_bit
+
+p_gpio_set_input_pu:
+	set1 gpio_active_bit,temp
+	arg core_gpio_pu0,contw
+	call gpio_set_bit
+	set0 gpio_active_bit,temp
+	branch p_gpio_set_input_pd+4
+	
+/*
+p_mouse_dpi_led_blink_delay_timer:
+	arg mem_mouse_dpi_led_delay_count,regc
+	arg p_mouse_dpi_led_setting,regb
+	branch timer_single_step	
+
+p_mouse_dpi_led_setting:
+	fetch 1,mem_dpi_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	setarg LED_DPI_BLINK_FIXED
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time
+	arg 0,rega
+	fetcht 1,mem_mouse_dpi_blink_count
+	//increase 1,temp
+	storet 1,mem_mouse_blink_count
+	jam UI_LED_STATE_BLINK_START,mem_mouse_led_type
+	rtn
+*/
+p_mouse_seting_dpi:
+	call p_mosue_dpi_led_blink_init
+	fetch 1,mem_config_sensor_type
+	beq P3610,mouse_seting_3610_dpi
+	beq P3212,mouse_seting_3212_dpi
+	beq P3065_XY,p_mouse_seting_3065XY_dpi
+	beq P3204,p_mouse_seting_3065XY_dpi
+p_mouse_seting_3205_dpi:
+	fetch 1,mem_mouse_dpi
+	sub pdata,MOUSE_DPI_LEVEL2,null
+	call p_mouse_3205_dpi_recount,zero
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,p_mouse_set_cpi1
+	beq MOUSE_DPI_LEVEL2,mouse_set_cpi2
+	beq MOUSE_DPI_LEVEL3,p_mouse_set_cpi3
+	beq MOUSE_DPI_LEVEL4,p_mouse_set_cpi4
+	branch p_mouse_set_cpi3
+p_mouse_3205_dpi_recount:
+	jam MOUSE_DPI_LEVEL3,mem_mouse_dpi
+	rtn
+
+p_mouse_set_cpi1:
+	jam 1,mem_mouse_dpi_blink_count
+	branch mouse_set_cpi1
+p_mouse_set_cpi3:
+	jam 2,mem_mouse_dpi_blink_count
+	branch mouse_set_cpi3
+p_mouse_set_cpi4:
+	jam 3,mem_mouse_dpi_blink_count
+	branch mouse_set_cpi4
+
+p_mouse_seting_3065XY_dpi:
+	fetch 1,mem_mouse_dpi
+	sub pdata,MOUSE_DPI_LEVEL2,null
+	call p_mouse_3065xy_dpi_recount,zero
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,p_mouse_3065xy_set_cpi1
+	beq MOUSE_DPI_LEVEL2,p_mouse_3065xy_set_cpi2
+	beq MOUSE_DPI_LEVEL3,p_mouse_3065xy_set_cpi3
+	beq MOUSE_DPI_LEVEL4,p_mouse_3065xy_set_cpi4
+	branch p_mouse_3065xy_set_cpi3
+p_mouse_3065xy_dpi_recount:
+	jam MOUSE_DPI_LEVEL3,mem_mouse_dpi
+	rtn
+p_mouse_3065xy_set_cpi1:
+	jam 1,mem_mouse_dpi_blink_count
+	fetch 1,mem_320x_dpi_1
+	increase -1,pdata
+	branch mouse_p3205_dpi
+p_mouse_3065xy_set_cpi2:
+	fetch 1,mem_320x_dpi_2
+	increase -1,pdata	
+	branch mouse_p3205_dpi	
+p_mouse_3065xy_set_cpi3:
+	jam 2,mem_mouse_dpi_blink_count
+	fetch 1,mem_320x_dpi_3
+	increase -1,pdata
+	branch mouse_p3205_dpi
+p_mouse_3065xy_set_cpi4:
+	jam 3,mem_mouse_dpi_blink_count
+	fetch 1,mem_320x_dpi_4
+	increase -1,pdata
+	branch mouse_p3205_dpi
+
+p_mouse_seting_3212_dpi:
+	fetch 1,mem_mouse_dpi
+	sub pdata,MOUSE_DPI_LEVEL2,null
+	call p_mouse_3205_dpi_recount,zero
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_p3212_cpi1
+	beq MOUSE_DPI_LEVEL2,mouse_set_p3212_cpi2
+	beq MOUSE_DPI_LEVEL3,mouse_set_p3212_cpi3
+	beq MOUSE_DPI_LEVEL4,mouse_set_p3212_cpi4
+	branch mouse_set_p3212_cpi3
+
+p_mouse_set_p3212_cpi1:
+	jam 1,mem_mouse_dpi_blink_count
+	branch mouse_set_p3212_cpi1
+p_mouse_set_p3212_cpi3:
+	jam 2,mem_mouse_dpi_blink_count
+	branch mouse_set_p3212_cpi3
+p_mouse_set_p3212_cpi4:
+	jam 3,mem_mouse_dpi_blink_count
+	branch mouse_set_p3212_cpi4
+p_mosue_dpi_led_blink_init:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_DPI_LED_BLINK
+	jam 10,mem_mouse_dpi_led_delay_count  //delay 1s led blink
+	fetch 1,mem_dpi_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	rtn
+
+p_mouse_bb_event_discovery_btn:
+	jam 0,mem_mouse_null_enter_hibernate_flag
+	jam 0,mem_mouse_null_enter_hibernate_timer
+	bmark1 mark_24g,p_mouse_switch_to_bt
+	branch mouse_bb_event_discovery_btn+1
+p_mouse_switch_to_bt:
+	call p_g24_check_51cmd_stop_24g
+	branch mouse_bb_event_discovery_btn+1
+
+
+p_le_addr_random_config:
+	call load_adc_init
+	fetch 2,mem_0_5_adc_io_data	//adc data from otp
+	branch p_le_otp_adc_empty,blank
+	store 2,mem_random_addr_increase_count
+p_le_addr_random_store:
+	branch p_mouse_store_eerpom_random_addr_increase_count
+
+p_le_otp_adc_empty:
+	setarg 0x1122
+	store 2,mem_random_addr_increase_count
+	branch p_le_addr_random_store
+
+p_mouse_start_discovery:
+	fetch 1,mem_tx_power_temp
+	store 1,mem_tx_power
+	jam 0,mem_mouse_clear_sensor_data_flag
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_ADV,p_mouse_start_discovery_norandom
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_BLE_RANDOM_ADDRE,p_mouse_start_discovery_norandom
+
+	call p_mouse_load_eeprom_random_addr_increase_count
+	fetcht 2,mem_random_addr_increase_count
+	increase 1,temp
+	storet 2,mem_random_addr_increase_count
+	storet 2,mem_le_lap+1
+	call p_mouse_store_eerpom_random_addr_increase_count
+	random pdata
+	store 1,mem_le_lap
+
+p_mouse_start_discovery_norandom:
+	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 2,mem_mouse_direct_timer
+	arg MOUSE_STORE_EEPROM_FLAG,queue
+	call mouse_enable_function_flag
+	call mouse_bt_discovery_button_down_disable
+	fetch 1,mem_device_option
+	isolate1 MODE_4_MOUSE,pdata
+	call p_check_51cmd_adv,true
+	call mouse_start_discovery_norandom+13
+	branch p_mouse_discovery_multi_led_blink
+
+p_mouse_store_eerpom_random_addr_increase_count:
+	arg 2,temp
+	arg mem_random_addr_increase_count,rega
+	arg MOUSE_RANDOM_ADDR_COUNT_EEPROM_OFFSET,regb
+	branch iicd_write_protect_eep_data
+	
+p_mouse_load_eeprom_random_addr_increase_count:
+	arg 2,temp
+	arg mem_random_addr_increase_count,rega
+	arg MOUSE_RANDOM_ADDR_COUNT_EEPROM_OFFSET,regb
+	branch iicd_read_eep_data
+
+p_check_51cmd_adv:
+	jam 0,mem_mouse_le_reconnect_flag
+	call p_le_check_adv_flag
+	setarg ADV_FLAG_BREDR_NOT_SUPPORTED |ADV_FLAG_LIMITED_DISCOVERABLE
+	istore 1,contr
+	branch check_51cmd_adv
+
+p_mouse_stop_discovery:
+	call p_mouse_discovey_led_blink_off
+	setarg 0
+	store 2,mem_mouse_discovery_timer
+	call p_mouse_sensor_poweron		//clear sensor data,confirm the motion pin high
+	branch mouse_stop_discovery+1
+
+ifdef BLE
+p_le_slave_match:
+	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
+	call power_ctrl_start
+	branch le_slave_match+7
+
+p_le_next_adv_channel:
+	fetch 1,mem_le_ch_mapped
+	increase 1,pdata
+	store 1,mem_le_ch_mapped
+	rtnne 40
+	jam 37,mem_le_ch_mapped
+	rtn
+
+p_le_receive_skip:
+	call save_rssi
+	call p_rssi_signal
+	branch le_receive_skip+2
+
+p_le_update_param:
+	call p_mouse_le_conn_param_check
+	branch le_update_param+8
+p_mouse_le_lpm_mult_reinit:
+	fetch 1,mem_lpm_mult_init
+	store 1,mem_lpm_mult
+p_mouse_le_conn_param_lpm_enable:
+	jam LE_LPM_ENABLE,mem_mouse_le_conn_param_reject
+	rtn
+p_mouse_le_conn_param_lpm_disable:
+	jam LE_LPM_DISABLE,mem_mouse_le_conn_param_reject
+	rtn
+p_mouse_le_conn_param_check:
+	fetch 1,mem_le_new_conninterval
+	sub pdata,LE_INTERVAL_15MS,null
+	nbranch p_mouse_le_conn_param_lpm_disable,positive
+	fetch 1,mem_le_new_connslavelatency
+	fetcht 1,mem_lpm_mult_init
+	isub temp,null
+	branch p_mouse_le_lpm_mult_reinit,positive
+	fetch 1,mem_le_new_connslavelatency
+	store 1,mem_lpm_mult
+	branch p_mouse_le_conn_param_lpm_enable
+
+p_le_prepare_tx:
+	fetch 1,mem_le_arq
+	bbit1 wak,p_le_prepare_tx_wak
+	call power_ctrl_pac_succ_incrs	
+	fetch 1,mem_empty_count
+	nbranch p_le_send_empyt,blank
+	fetch 1,mem_le_state 
+	bbit0 lestate_encryption,p_le_tx_4
+	fetch 1,mem_le_rxbuf+1  
+	branch p_le_tx_4,blank  
+	branch le_send_empty      // send empty data when got non empty packet
+p_le_send_empyt:
+	fetch 1,mem_empty_count
+	increase -1,pdata
+	store 1,mem_empty_count
+	branch le_send_empty
+p_le_tx_4:	
+	fetch 1,mem_le_pairing_state
+	bne FLAG_LE_PAIRING_AFTER_AUTH,p_in_le_tx_4
+	jam 3,mem_empty_count
+p_in_le_tx_4:
+	call le_fifo_check_nearly_full
+	call p_mouse_data_pull,blank
+	branch le_prepare_tx+4
+
+p_le_prepare_tx_wak:
+	call p_le_check_tx_retransmit_setmd
+	branch p_le_power_ctrl_pac_succ_decrs
+
+p_le_check_tx_retransmit_setmd:
+	fetch 1,mem_le_connect_status_flag
+	and pdata,0x03,pdata
+	rtnne 0x03
+	fetch 1,mem_mouse_data_queue_num
+	rtn blank
+	fetch 1,mem_le_txlen
+	rtn blank
+	fetch 1,mem_le_txheader
+	set1 md,pdata
+	store 1,mem_le_txheader
+	call le_set_md
+ifdef DEBUGLOG
+ifdef DEBUGLOG_MISC
+	setarg DEBUGLOG_DTYPE_MISC
+	store 2,mem_debuglog_datatype
+	setarg MISC_LE_RETRANSMIT_MD
+	store 2,mem_debuglog_dataval
+	call debuglog_push	
+endif
+endif
+	rtn
+
+	
+	
+p_le_power_ctrl_pac_succ_decrs:
+ifdef DEBUGLOG
+ifdef DEBUGLOG_MISC
+	setarg DEBUGLOG_DTYPE_MISC
+	store 2,mem_debuglog_datatype
+	setarg MISC_LE_RETRANSMIT
+	store 2,mem_debuglog_dataval
+	call debuglog_push	
+endif
+endif
+	branch power_ctrl_pac_succ_decrs
+
+p_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 10,mem_le_start_encrypt_timer
+	rtn
+
+p_le_parse_l2cap:
+	ifetch 2,contr
+	beq LE_L2CAP_CID_ATT,p_le_parse_att
+	beq LE_L2CAP_CID_SMP,p_le_parse_smp
+	branch le_parse_l2cap+11
+p_le_parse_att:
+	call store_contr
+	call p_mouse_le_reconn_write_enable_timer_reinit
+	call get_contr
+	ifetch 3,contr
+	store 3,mem_le_att_opcode
+	beq ATTOP_READ_BY_GROUP_TYPE_REQUEST,p_le_parse_att_read_by_group_type_request
+	rshift8 pdata,temp
+	sub temp,0x24,null
+	branch le_parse_att+2,positive
+	arg mem_mouse_le_uuid_sup,temp
+	storet 2,mem_ui_le_uuid_table
+	call le_parse_att+2
+	setarg 0x8e7a
+	store 2,mem_ui_le_uuid_table
+	rtn
+
+p_le_parse_att_read_by_group_type_request:
+	call le_parse_att_read_by_group_type_request
+	call le_fifo_get_last_tx_ptr
+	increase 7,contr
+	ifetch 1,contr
+	rtnne ATTOP_READ_BY_GROUP_TYPE_RESPONSE
+	increase 5,contr
+	ifetch 2,contr
+	arg UUID_SERVICE_HIDS,temp
+	isub temp,null
+	nrtn zero
+	increase -4,contr
+	setarg 0x2b
+	istore 2,contr
+	rtn
+
+p_le_parse_smp:
+	ifetch 1,contr
+	beq SMP_PAIRING_FAILED,p_le_parse_smp_pairing_failed
+	branch le_parse_smp+1
+p_le_parse_smp_pairing_failed:
+	call le_parse_smp_pairing_failed
+	fetch 1,mem_le_state	//disable update conn param
+	set0 lestate_update_param,pdata
+	store 1,mem_le_state
+	branch le_parse_terminate_ind
+
+p_le_adv_not_match:
+	fetch 1,mem_le_ch_mapped
+	bne 39,le_adv_loop
+	call p_le_adv_random_delay
+	arg le_adv_interval_timer,queue
+	fetch 2,mem_le_adv_interval
+	branch timer_init
+p_le_adv_random_delay:
+	random pdata
+	arg 0x1ff,temp
+	iand temp,pdata
+	add pdata,250,pdata
+	branch delay
+
+p_le_lpm_setmult:
+	disable wake
+	branch p_le_lpm_set_mult_attempt,attempt
+	nbranch le_lpm_lost,match
+p_le_lpm_set_mult_attempt:
+	call lpm_match
+	fetch 2,mem_rx_window_sniff
+	store 2,mem_le_receive_window
+	fetch 1,mem_le_connect_status_flag
+	compare 3,pdata,3
+	nbranch lpm_mult_short,true
+	branch le_lpm_set_mult_attempt+3
+
+p_le_mouse_bb_event_connect_complete:
+	fetch 1,mem_mouse_le_reconnect_flag
+	nrtn blank
+	fetch 1,mem_le_att_handle
+	sub pdata,26,pdata
+	nrtn zero
+	branch mouse_le_write_enable
+endif
+
+p_twspi_reset:
+	hfetch 1,core_gpio_out3
+	and_into 0xfd,pdata
+	hstore 1,core_gpio_out3
+	hfetcht 1,core_gpio_oe3
+	or_into 0x2,temp
+	hstoret 1,core_gpio_oe3
+	call twspi_disable
+	and_into 0xfd,temp
+	nop 13
+	call twspi_enable
+	hstoret 1,core_gpio_oe3
+	rtn
+
+
+
+ifdef CLASSIC_BT
+
+p_page_wait_fhs_reply_ok:
+ 	fetch 1, mem_page_rcv_fhs
+	increase 1,pdata
+	store 1, mem_page_rcv_fhs
+	call prepare_newconn
+p_master_newconn_loop:
+ 	set1 mark_first_packet,mark
+	call master_newconn_once
+	branch p_newconn_poll_responded,sync
+	set0 mark_first_packet,mark
+	call new_conn_timeout
+	nbranch p_master_newconn_loop,blank
+	branch page_restart	
+
+p_newconn_poll_responded:
+	set0 mark_first_packet,mark
+	branch newconn_poll_responded
+
+p_process_dmh:
+	bmark1 mark_first_packet,end_of_packet			
+	branch process_dmh+1
+ 
+
+p_prepare_tx:
+	fetch 1,mem_state
+	isolate1 state_inconn,pdata
+	call p_bt_power_ctrl,true
+	branch prepare_tx+1
+p_bt_power_ctrl:
+	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
+
+p_slave_conn_recv_packet:
+	call slave_receive_master_slot
+	nbranch shutdown_radio,sync
+	call save_rssi
+	call p_rssi_signal
+	branch slave_conn_recv_packet+4
+
+
+p_lpm_dispatch:
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+	fetch 1,mem_ssp_enable
+	branch p_lpm_dispatch_next,blank
+	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
+	rtn blank
+p_lpm_dispatch_next:
+	fetch 1,mem_le_sc_calc
+	nrtn blank
+	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 
+	arg 0xffff,temp
+	isub temp,null
+	rtn zero
+	branch lpm_dispatch_next+9
+
+
+p_app_bt_start_reconnect:
+	branch app_bt_start_reconnect+3
+
+
+p_mouse_bb_disconnected:
+	jam 0,mem_mouse_enter_sniff_count
+	jam 0x0e,mem_sniff_param_interval	//115Hz
+	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,p_mouse_event_light_state_pairing
+	bbit1 APP_DISC_AFTER_RECONN,p_mouse_event_light_state_hibernate
+	bbit1 APP_DISC_AFTER_SNIFF,p_mouse_event_light_state_hibernate
+	branch mouse_start_discovery
+p_mouse_event_light_state_pairing:
+	bbit1 APP_DISC_AFTER_HANDSHAKE,p_mouse_event_light_state_hibernate
+	bbit1 APP_DISC_AFTER_SNIFF,p_mouse_event_light_state_hibernate
+	branch mouse_start_discovery
+p_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 p_mouse_check_key_gpio
+	beq MOUSE_LMR_BUTTON,p_mouse_null_enter_hibernate_enable
+	branch app_bb_hibernate
+
+
+p_send_lmp:
+	disable user
+	call lmo_fifo_process
+
+ifdef DEBUGLOG
+ifdef DEBUGLOG_SEND_LMP
+	setarg DEBUGLOG_DTYPE_SEND_LMP
+	store 2,mem_debuglog_datatype
+//	fetch 1,mem_lmi_opcode
+//	store 1,mem_debuglog_dataval+1
+//	fetch 1,mem_lmp_to_send
+//	store 1,mem_debuglog_dataval
+	fetch 1,mem_lmp_to_send
+	store 2,mem_debuglog_dataval
+	ncall debuglog_push,blank
+endif
+endif
+	
+	fetch 1,mem_lmp_to_send
+	rtn blank
+	bbit1 7,p_send_lmp_escape
+	beq LMP_ACCEPTED,p_send_lmp_accepted
+	branch send_lmp0
+p_send_lmp_escape:
+	beq LMP_EXT_FEATURES_RES,p_send_lmpext_features_res
+	beq LMP_EXT_FEATURES_REQ,p_send_lmpext_features_req	
+	branch send_lmp_escape
+p_send_lmpext_features_res:
+	call p_check_ssp_enable
+	fetch 1,mem_lmp_to_send
+	branch send_lmpext_features_res
+p_send_lmpext_features_req:
+	call p_check_ssp_enable
+	fetch 1,mem_lmp_to_send
+	branch send_lmpext_features_req
+p_check_ssp_enable:
+	fetch 1,mem_ssp_enable 
+	branch ssp_disable,blank
+	branch ssp_enable
+
+p_sdp_process:
+	call enable_authrom
+	branch sdp_process+1
+
+p_send_lmp_accepted:
+	force 2,pdata
+	call msg_send_lmp
+	fetch 1,mem_lmi_opcode
+	istore 1,contw
+	store 1,mem_lmi_opcode_temp
+	call send_lmp_follow
+ifdef DEBUGLOG
+ifdef DEBUGLOG_MISC
+	setarg DEBUGLOG_DTYPE_MISC
+	store 2,mem_debuglog_datatype
+	fetch 1,mem_lmi_opcode_temp
+	store 1,mem_debuglog_dataval
+	call debuglog_push	
+endif
+endif
+	fetch 1,mem_lmi_opcode_temp
+	branch send_lmp_accepted+7
+ifdef DEBUGLOG
+p_parse_lmp_opcode:
+ifdef DEBUGLOG
+ifdef DEBUGLOG_PARSE_LMP
+	setarg DEBUGLOG_DTYPE_PARSE_LMP
+	store 2,mem_debuglog_datatype
+//	fetch 1,mem_rxbuf+1
+//	store 1,mem_debuglog_dataval+1 
+//	fetch 1,mem_lmi_opcode2
+//	store 1,mem_debuglog_dataval
+	fetch 1,mem_lmi_opcode2
+	store 2,mem_debuglog_dataval
+	call debuglog_push 
+endif
+endif
+	branch parse_lmp+21
+
+p_process_conn_sm:
+	//nrtn master
+	call lmo_fifo_check
+	nrtn blank
+p_process_conn_sm_continue:
+	fetch 1,mem_conn_sm
+	rtn blank
+ifdef DEBUGLOG
+ifdef DEBUGLOG_CONN_SM
+	call pdata_push
+	setarg DEBUGLOG_DTYPE_CONN_SM
+	store 2,mem_debuglog_datatype
+	fetch 1,mem_conn_sm
+	store 2,mem_debuglog_dataval
+	call pdata_pull
+	call debuglog_push	
+endif
+endif
+	beq CONN_SM_SEND_CONN_REQ, p_host_create_conn_send_conn_req
+	branch process_conn_sm_continue+2
+
+p_host_create_conn_send_conn_req:
+	jam 20,mem_mouse_send_switch_req_timer
+	branch host_create_conn_send_conn_req	
+
+p_process_upper_sm_reconn:
+	fetch 1,mem_upper_sm_reconn
+	rtn blank
+ifdef DEBUGLOG
+ifdef DEBUGLOG_UPPER_SM
+	call pdata_push
+	setarg DEBUGLOG_DTYPE_UPPER_SM
+	store 2,mem_debuglog_datatype
+	fetch 1,mem_upper_sm_reconn
+	store 2,mem_debuglog_dataval
+	call pdata_pull
+	call debuglog_push	
+endif
+endif
+	branch process_upper_sm_reconn+3
+
+endif	
+
+endif
+	
+ifdef DEBUGLOG
+p_ui_ipc_send_event:
+ifdef DEBUGLOG
+ifdef DEBUGLOG_EVENT
+	call pdata_push
+	setarg DEBUGLOG_DTYPE_EVENT
+	store 2,mem_debuglog_datatype
+	fetch 1,mem_fifo_temp
+	store 2,mem_debuglog_dataval
+	call pdata_pull
+	call debuglog_push	
+endif
+endif
+	branch ui_ipc_send_event+1
+
+p_ui_ipc_send_cmd:
+ifdef DEBUGLOG
+ifdef DEBUGLOG_CMD
+	call pdata_push
+	setarg DEBUGLOG_DTYPE_CMD
+	store 2,mem_debuglog_datatype
+	fetch 1,mem_fifo_temp
+	store 2,mem_debuglog_dataval
+	call pdata_pull
+	call debuglog_push
+endif
+endif
+	branch ui_ipc_send_cmd+1
+endif
+	
+p_g24_set_device_addr:
+	call adc_init_data
+//	fetch 4,mem_0_5_adc_io_data	//adc data from otp
+//	store 4,mem_24g_device_addr	
+//	nrtn blank
+	fetch 4,mem_lap
+	store 4,mem_24g_device_addr
+	rtn
+
+
+p_g24_transmit_rf_sta_init:
+	jam 1,mem_24g_rf_last_sta
+	jam 0,mem_24g_sync_cnt
+p_g24_transmit_rf_ctrl_clear:	
+	fetch 1,mem_24g_data_type
+	and_into bits_data,pdata
+	store 1,mem_24g_data_type
+	rtn
+	
+p_g24_hop_ch_enable:
+	fetch 1,mem_24g_data_type
+	set1 bit_hop,pdata
+	store 1,mem_24g_data_type
+	//update txpayload
+	store 1,mem_24g_txpayload
+	rtn
+p_g24_hop_ch_disable:
+	fetch 1,mem_24g_data_type
+	set0 bit_hop,pdata
+	store 1,mem_24g_data_type
+	rtn	
+
+p_g24_transmit_hop_pac_fail:
+	call power_ctrl_pac_succ_decrs
+	fetch 1,mem_24g_rf_work_stage
+	beq 1,p_g24_transmit_hop_pac_fail_wo_hop
+	beq 2,p_g24_transmit_hop_pac_fail_hop_stage2
+	rtn
+p_g24_transmit_hop_pac_fail_wo_hop:
+	jam 2,mem_24g_sync_cnt
+p_g24_transmit_hop_pac_fail_stage1:	
+	jam 0,mem_24g_hop_pac_retry
+	jam 0,mem_24g_rf_last_sta
+	branch p_g24_transmit_rf_ctrl_clear
+
+p_g24_transmit_hop_pac_fail_hop_stage2:
+	jam 0,mem_24g_rf_hop_ch
+	branch p_g24_transmit_hop_pac_fail_stage1
+
+	
+p_g24_transmit_pac_fail_hop_stage3:
+	fetch 2,mem_24g_txfail_cnt
+	increase 1,pdata
+	store 2,mem_24g_txfail_cnt
+	bbit1 10,p_g24_tx_attempt_fail	//1024ms * 8
+	fetch 1,mem_24g_rf_hop_ch
+	beq 1,p_g24_rf_hop_fastly
+	jam 1,mem_24g_rf_hop_ch
+p_g24_rf_hop_attemp_again:
+	fetch 1,mem_24g_rf_hop_ch
+	bne 1,p_g24_transmit_rf_ctrl_clear
+p_g24_rf_hop_fastly:
+	fetch 1,mem_24g_hop_fastly_cnt
+	increase 1,pdata
+	store 1,mem_24g_hop_fastly_cnt
+	beq 4,p_g24_rf_hop_fastly_exit
+	call p_g24_ch
+	jam 2,mem_24g_max_retry
+	branch p_g24_transmit_packet
+
+p_g24_rf_hop_fastly_exit:
+	call power_ctrl_pac_succ_decrs
+	jam 0,mem_24g_hop_fastly_cnt
+	branch p_g24_transmit_rf_ctrl_clear
+
+p_g24_transmit_hop_pac_succ_wo_hop:
+	jam 2,mem_24g_sync_cnt
+p_g24_transmit_hop_pac_succ:
+	jam 1,mem_24g_rf_last_sta
+	jam 0,mem_24g_rf_hop_ch
+	branch p_g24_transmit_rf_ctrl_clear
+
+p_g24_transmit_succ_rf_config:
+	fetch 1,mem_24g_rf_work_stage
+	beq 3,p_g24_transmit_hop_pac_succ
+	fetch 1,mem_24g_data_type
+	isolate0 bit_hop,pdata
+	branch p_g24_transmit_rf_sta_init,true
+	fetch 1,mem_24g_rf_work_stage
+	beq 1,p_g24_transmit_hop_pac_succ_wo_hop
+	beq 2,p_g24_transmit_hop_pac_succ
+	rtn
+
+p_g24_rf_sta_check:
+	fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+	call p_g24_rf_laststa_synccnt_check
+	ncall p_g24_rf_sync_cnt_check,user2
+	rtn
+
+p_g24_rf_laststa_synccnt_check:
+	disable user2
+	fetch 1,mem_24g_rf_last_sta
+	rtnne 1
+	fetch 1,mem_24g_sync_cnt
+	rtnne 0
+	jam 1,mem_24g_rf_work_stage
+	jam 4,mem_24g_max_retry
+	branch enable_user2
+
+p_g24_rf_sync_cnt_check:
+	fetch 1,mem_24g_sync_cnt
+	branch p_g24_rf_hop_attemp,blank
+	increase -1,pdata
+	store 1,mem_24g_sync_cnt
+	jam 2,mem_24g_rf_work_stage
+	call p_g24_ch
+	jam 4,mem_24g_max_retry
+	rtn
+
+p_g24_rf_hop_attemp:
+	jam 3,mem_24g_rf_work_stage
+	fetch 1,mem_24g_rf_hop_ch
+	nbranch p_g24_rf_hop_attemp_again,blank
+	call p_g24_ch
+	jam 2,mem_24g_max_retry
+	rtn
+
+p_g24_txdata_prep:
+	fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_g24_pairing_sm	
+p_g24_txdata_prep_packeage_data:
+	call p_g24_package_data
+	call p_g24_transmit_prep
+p_g24_txdata_enable_tx:
+	jam ENSURE_ON_24G,mem_24g_ensure
+	rtn
+
+p_g24_package_data:
+	fetch 2,mem_cb_24g_data
+	call callback_func
+	branch p_g24_accumulate_mouse_data,user
+	fetch 7,mem_24g_txbuf+1	//mouse data
+	rtn blank
+	branch enable_user	// retransmit
+p_g24_accumulate_mouse_data:
+	jam 0,mem_24g_abort_pac
+	add rega,1,pdata
+	store 1,mem_24g_datalen
+	call p_g24_transmit_rf_ctrl_clear
+	store 1,mem_24g_txbuf
+	ifetcht 1,contw
+	ifetch 1,regb
+	ior temp,pdata
+	istore 1,contw
+	increase 1,regb
+	arg 2,loopcnt
+p_g24_accumulation_loop:
+	ifetch 2,regb
+//	ifetcht 2,contw
+//	iadd temp,pdata
+	istore 2,contw
+	increase 2,regb
+	loop p_g24_accumulation_loop
+	arg mem_24g_txbuf+6,contw
+	arg 2,loopcnt
+p_g24_accumulation_loop2:
+	ifetch 1,regb
+	ifetcht 1,contw
+	iadd temp,pdata
+	istore 1,contw
+	increase 1,regb
+	loop p_g24_accumulation_loop2
+	rtn
+
+p_g24_transmit_packet:
+	jam 0,mem_24g_retry
+p_g24_transmit_loop:
+	arg param_rx_setup,timeup
+	until clkn_rt,meet
+	call p_g24_transmit_receive_ack
+	fetch 1,mem_24g_no_ack	//tx noack
+	rtneq no_ack_24g
+	nbranch p_g24_retransmit,sync
+	nbranch p_g24_retransmit,user3
+	call p_g24_txbuf_clear
+	call p_g24_ackpayload_parse
+	call power_ctrl_pac_succ_incrs
+p_g24_transmit_next_packet:
+	fetch 1,mem_24g_pid
+	increase 1,pdata
+	store 1,mem_24g_pid
+	fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_g24_paring_mode_start
+	call p_g24_transmit_succ_rf_config
+p_g24_transmit_abandon:
+	setarg 0
+	store 2,mem_24g_txfail_cnt
+	store 1,mem_24g_get_ack_fail
+	store 1,mem_24g_hop_pac_retry
+	jam ENSURE_OFF_24G,mem_24g_ensure
+	rtn
+
+p_g24_txbuf_clear:
+	arg 4,loopcnt
+	arg mem_24g_txbuf,contw
+	branch memset0
+
+p_g24_paring_mode_start:
+	call power_ctrl_pac_succ_cnt_init
+	branch p_g24_paring_mode
+
+p_g24_transmit_receive_ack:
+	disable user3
+	call p_g24_transmit
+	
+ifdef RF_DEBUG
+	call test_gpio_low
+endif
+
+	fetch 1,mem_24g_no_ack
+	beq no_ack_24g,p_g24_transmit_no_ack	//tx no ack
+	force 0,radio_ctrl
+	fetch 4,mem_24g_addr
+	iforce access
+	fetcht 1,mem_last_freq
+	call set_freq_rx
+	call rf_rx_enable
+	call p_g24_receive_rxon
+	call p_g24_end_of_packet,user3
+	rtn
+p_g24_transmit_no_ack:
+	call p_g24_end_of_packet
+	branch p_g24_transmit_next_packet
+
+p_g24_retransmit:
+	fetch 1,mem_24g_get_ack_fail
+	increase 1,pdata
+	store 1,mem_24g_get_ack_fail
+	fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_g24_tx_paring_retry
+	fetcht 1,mem_24g_retry
+	increase 1,temp
+	storet 1,mem_24g_retry
+	fetch 1,mem_24g_max_retry
+	isub temp,pdata
+	nbranch p_g24_transmit_loop,blank
+	fetch 1,mem_24g_rf_work_stage
+	beq 3,p_g24_transmit_pac_fail_hop_stage3
+	fetch 1,mem_24g_hop_pac_retry
+	increase 1,pdata
+	store 1,mem_24g_hop_pac_retry
+	beq 2,p_g24_transmit_hop_pac_fail
+	call p_g24_hop_ch_enable
+	jam 1,mem_24g_max_retry
+	branch p_g24_transmit_packet
+
+p_g24_tx_paring_retry:
+	fetch 1,mem_24g_get_ack_fail
+	rtnne 0xff
+	jam 0,mem_24g_get_ack_fail
+	branch p_g24_stop_g24_mode
+
+p_g24_tx_attempt_fail:
+	setarg 0
+	store 2,mem_24g_txfail_cnt
+p_g24_stop_g24_mode:
+	jam BT_EVT_24G_ATTEMPT_FAIL,mem_fifo_temp
+	branch ui_ipc_send_event
+
+p_g24_ackpayload_parse:
+	call p_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
+
+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
+
+power_ctrl_start:
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_ADV
+	rtnbit1 UI_STATE_BT_RECONNECT
+	rtnbit1 UI_STATE_BT_DISCOVERY
+	
+	arg mem_rssi_signal_buf,rega
+	call p_rssi_average
+	storet 1,mem_rssi_avg_received
+
+ifdef DEBUGLOG
+ifdef DEBUGLOG_MISC
+	setarg DEBUGLOG_DTYPE_MISC
+	store 2,mem_debuglog_datatype
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	store 1,mem_debuglog_dataval
+	fetch 1,mem_rssi_avg_received
+	store 1,mem_debuglog_dataval+1
+	call debuglog_push	
+endif
+endif
+	
+	isolate1 mark_24g,mark
+	call power_ctrl_24g_dis_max,true
+	ncall power_ctrl_le_dis_max,true
+	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_24g_dis_max:
+	setarg RSSI_DIS_MAX_24G
+	rtn
+power_ctrl_24g_dis_min:
+	setarg RSSI_DIS_MIN_24G
+	rtn	
+power_ctrl_le_dis_max:
+	setarg RSSI_DIS_MAX_BLE
+	rtn
+power_ctrl_le_dis_min:
+	setarg RSSI_DIS_MIN_BLE
+	rtn
+	
+power_ctrl_txpower_decrs_check:
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	rtnne 32
+	jam 0,mem_power_ctrl_pac_succ_cnt
+power_ctrl_txpower_decrs:
+	fetcht 1,mem_rssi_avg_received
+	isolate1 mark_24g,mark
+	call power_ctrl_24g_dis_min,true
+	ncall power_ctrl_le_dis_min,true
+	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
+ifdef DEBUGLOG
+ifdef DEBUGLOG_MISC
+	setarg DEBUGLOG_DTYPE_MISC
+	store 2,mem_debuglog_datatype
+	setarg MISC_TXPOWER_1
+	store 2,mem_debuglog_dataval
+	call debuglog_push
+endif
+endif
+	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
+ifdef DEBUGLOG
+ifdef DEBUGLOG_MISC
+	setarg DEBUGLOG_DTYPE_MISC
+	store 2,mem_debuglog_datatype
+	setarg MISC_TXPOWER_2
+	store 2,mem_debuglog_dataval
+	call debuglog_push
+endif
+endif
+
+	jam TX_POWER_5DB,mem_tx_power
+	rtn
+	
+power_ctrl_decrs_level0: //-5dBm
+ifdef DEBUGLOG
+ifdef DEBUGLOG_MISC
+	setarg DEBUGLOG_DTYPE_MISC
+	store 2,mem_debuglog_datatype
+	setarg MISC_TXPOWER_0
+	store 2,mem_debuglog_dataval
+	call debuglog_push
+endif
+endif
+
+	jam TX_POWER_f5DB,mem_tx_power
+	rtn
+	
+p_g24_start_pairing_sm1:
+	set1 mark_24g,mark
+	call p_g24_pair_init
+p_g24_set_pairing_sm_1:
+	jam STATE_24G_PAIRING_1,mem_24g_pairing_sm
+	rtn
+
+p_g24_pair_init:
+	jam TX_POWER_PAIR,mem_tx_power
+	jam 0,mem_24g_pid
+	jam G24_PAIR_CH,mem_24g_ch
+	fetch 4,mem_24g_paring_addr
+	branch p_g24_update_addr_and_synccrc8
+
+p_g24_pairing_sm:
+	fetch 1,mem_24g_ensure
+	beq ENSURE_ON_24G,enable_user
+	fetch 1,mem_24g_pairing_sm
+	beq STATE_24G_PAIRING_1,p_g24_pairing_sm_1
+	beq STATE_24G_PAIRING_2,p_g24_pairing_sm_2
+	beq STATE_24G_PAIRING_3,p_g24_pairing_sm_3
+	branch assert
+
+p_g24_pairing_sm_1:
+	jam STATE_24G_PAIRING_1_WAITING_ACK,mem_24g_pairing_sm
+	jam 0xaa,mem_24g_common_temp
+	branch p_g24_pairing_sm_common
+p_g24_pairing_sm_2:
+	jam STATE_24G_PAIRING_2_WAITING_ACK,mem_24g_pairing_sm
+	jam 0x55,mem_24g_common_temp
+	branch p_g24_pairing_sm_common
+p_g24_pairing_sm_3:
+	jam STATE_24G_PAIRING_3_WAITING_ACK,mem_24g_pairing_sm
+	jam 0x22,mem_24g_common_temp
+p_g24_pairing_sm_common:
+	fetch 1,mem_24g_data_type
+	and_into bits_data,pdata
+	store 1,mem_24g_common_temp+1
+	fetch 4,mem_24g_device_addr
+	store 4,mem_24g_common_temp+2
+p_g24_put_pairing_data_in_buff:
+	jam 0,mem_24g_common_temp+6
+	arg mem_24g_common_temp,rega
+	arg 7,temp
+	call p_g24_put_data_in_buff
+	call p_g24_transmit_prep
+	call p_g24_txdata_enable_tx
+	branch enable_user
+
+p_g24_paring_mode:
+	fetch 1,mem_24g_pairing_sm
+	rtneq STATE_24G_PAIRING_SUCCESS
+	beq STATE_24G_PAIRING_1_WAITING_ACK,p_g24_pairing_sm_1_waiting_ack
+	beq STATE_24G_PAIRING_2_WAITING_ACK,p_g24_pairing_sm_2_waiting_ack
+	beq STATE_24G_PAIRING_3_WAITING_ACK,p_g24_pairing_sm_3_waiting_ack
+	rtn
+
+
+p_g24_pairing_sm_1_waiting_ack:
+	jam STATE_24G_PAIRING_2,mem_24g_pairing_sm
+	branch p_g24_transmit_abandon
+p_g24_pairing_sm_2_waiting_ack:
+	jam STATE_24G_PAIRING_3,mem_24g_pairing_sm
+	branch p_g24_transmit_abandon
+p_g24_pairing_sm_3_waiting_ack:
+	jam STATE_24G_PAIRING_SUCCESS,mem_24g_pairing_sm
+	jam BT_EVT_24G_PAIRING_COMPLETE,mem_fifo_temp
+	call ui_ipc_send_event	
+	fetch 4,mem_24g_rxpayload+2
+	call p_g24_update_addr_and_synccrc8
+	branch p_g24_transmit_abandon
+
+p_g24_start_24g_mode:
+	set0 mark_24g,mark
+	call p_g24_ch_syncword_crc8_init
+	fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+	call p_g24_tx_attemp_data_prep
+p_g24_tx_attemp_dongle:
+	setarg 0
+	store 2,mem_24g_check_dongle_times
+p_g24_tx_attemp_dongle_loop:
+	call lpo_calibration
+	nop 2000
+	fetch 1,mem_24g_check_dongle_times
+	beq 0xff,p_g24_stop_g24_mode
+	call p_g24_transmit_receive_ack
+	nbranch p_g24_attemp_txdata_retry,sync
+	nbranch p_g24_attemp_txdata_retry,user3
+p_g24_tx_attemp_dongle_succ:
+	set1 mark_24g,mark
+	setarg 0
+	store 2,mem_24g_check_dongle_times
+	jam BT_EVT_24G_ATTEMPT_SUCCESS,mem_fifo_temp
+	call ui_ipc_send_event
+	call p_g24_txbuf_clear
+	branch p_g24_transmit_by_interrupt_enable
+
+p_g24_tx_attemp_data_prep:
+	jam 0xff,mem_24g_common_temp
+	fetch 1,mem_24g_data_type
+	store 1,mem_24g_common_temp+1
+	fetch 4,mem_24g_device_addr
+	store 4,mem_24g_common_temp+2
+	arg 6,temp
+	arg mem_24g_common_temp,rega
+	call p_g24_put_data_in_buff
+	branch p_g24_transmit_prep
+	
+p_g24_attemp_txdata_retry:
+	fetch 2,mem_24g_check_dongle_times
+	increase 1,pdata
+	store 2,mem_24g_check_dongle_times
+	call p_g24_ch
+	branch p_g24_tx_attemp_dongle_loop
+
+p_g24_auto_pair_start:
+	set0 mark_24g,mark
+	call p_g24_auto_pair_all_powerful
+	call p_g24_tx_attemp_data_prep
+p_g24_auto_pair_restart:
+	jam 0,mem_24g_check_dongle_times
+p_g24_auto_pair_start_loop:
+	call lpo_calibration
+	nop 2000
+	fetch 1,mem_24g_check_dongle_times
+	beq 0xff,p_g24_stop_g24_mode
+	call p_g24_transmit_receive_ack
+	nbranch p_g24_auto_pair_retry,sync
+	nbranch p_g24_auto_pair_retry,user3
+	call p_g24_ackpayload_parse
+	fetch 1,mem_tx_power_temp
+	store 1,mem_tx_power
+	fetch 4,mem_24g_addr
+	fetcht 4,mem_24g_paring_addr
+	isub temp,null
+	branch p_g24_start_pairing_sm1,zero
+	branch p_g24_tx_attemp_dongle_succ
+
+p_g24_auto_pair_retry:
+	fetch 1,mem_24g_check_dongle_times
+	increase 1,pdata
+	store 1,mem_24g_check_dongle_times
+	fetch 1,mem_24g_auto_paring_switch
+	increase 1,pdata
+	and_into 1,pdata
+	store 1,mem_24g_auto_paring_switch
+	beq 0,p_g24_auto_pair_device_attemp
+	beq 1,p_g24_auto_pair_pair_attemp
+	rtn
+	
+p_g24_auto_pair_all_powerful:
+	jam TX_POWER_PAIR,mem_tx_power
+	setarg 0x0f0f
+	store 2,mem_24g_addr
+	istore 2,contw
+p_g24_ch_syncword_crc8_init:	
+	call p_g24_syncword_crc8
+	branch p_g24_ch
+
+p_g24_auto_pair_device_attemp:
+	call p_g24_auto_pair_all_powerful
+	branch p_g24_auto_pair_start_loop
+
+p_g24_auto_pair_pair_attemp:
+	call p_g24_pair_init
+	branch p_g24_auto_pair_start_loop
+
+p_g24_check_51cmd_stop_24g:
+	set0 mark_24g,mark
+	call le_disable
+p_mouse_disable_g24_pairing_flag:
+	arg MOSUE_24G_PAIRING_FLAG,queue
+	branch mouse_disable_function_flag
+
+p_g24_put_data_in_buff:
+	storet 1,mem_24g_datalen
+	copy temp,loopcnt
+	arg mem_24g_txbuf,contw
+	copy rega,contr
+	branch memcpy
+
+p_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
+
+endif
+
+p_set_freq_tx:
+	storet 1,mem_last_freq
+	add temp,0,rega			/* index to frequency */
+	call rf_write_freq
+	setarg param_pll_setup	//128us
+	call sleep
+p_rf_tx_enable:
+	jam 0x1,rfen_adc
+	jam 0x3c,rfen_rx
+	jam 0xe0,rfen_tx
+	nop 10 /* wait LDOs to turn ON*/
+	jam 0x01, rfen_mdm
+	jam 0x3d, rfen_mdm
+	nop 10 /* wait tx blocks to turn ON*/
+	jam 0xb7,rfen_sn
+	nop 10 /* wait tx lo buffer to turn ON*/
+	jam 0x7d, rfen_mdm
+	fetch 1,mem_tx_power
+	beq TX_POWER_0DB,p_set_tx_power_0db
+	//beq TX_POWER_3DB,p_set_tx_power_3db	
+	beq TX_POWER_5DB,p_set_tx_power_5db
+//	beq TX_POWER_f3DB,p_set_tx_power_f3db	
+	beq TX_POWER_f5DB,p_set_tx_power_f5db
+	beq TX_POWER_PAIR,p_set_tx_power_pair
+	branch p_set_tx_power_0db
+
+p_set_tx_power_0db:
+	call p_rx_low_sens
+	jam 0xba,0x894b
+	jam 0xd0,0x8955
+	jam 0xe0,0x8956
+	jam 0x88,0x8957
+	jam 0x6c,0x8958
+	jam 0x10,0x8959
+	branch set_tx_power_0db	
+/*
+p_set_tx_power_3db:
+	call p_rx_high_sens
+	jam 0xba,0x894b
+	jam 0xd0,0x8955
+	jam 0xe0,0x8956
+	jam 0x88,0x8957
+	jam 0x3c,0x8958
+	jam 0x10,0x8959
+	branch set_tx_power_3db
+*/	
+p_set_tx_power_5db:
+	call p_rx_high_sens
+	jam 0xba,0x894b
+	jam 0xd0,0x8955
+	jam 0xe0,0x8956
+	jam 0x88,0x8957
+	jam 0x3c,0x8958
+	jam 0x10,0x8959
+	branch set_tx_power_5db
+
+//p_set_tx_power_f3db:
+//	call p_rx_low_sens
+//	jam 0xba,0x894b
+//	jam 0xd0,0x8955
+//	jam 0xc0,0x8956
+//	jam 0x88,0x8957
+//	jam 0x6c,0x8958
+//	jam 0x10,0x8959
+//	branch set_tx_power_f3db
+	
+p_set_tx_power_f5db:
+	call p_rx_low_sens
+	jam 0xba,0x894b
+	jam 0xd0,0x8955
+	jam 0xc0,0x8956
+	jam 0x88,0x8957
+	jam 0x6c,0x8958
+	jam 0x10,0x8959
+	branch set_tx_power_f5db
+
+p_rx_low_sens:
+	jam 0x5b,0x894c
+	jam 0x96,0x894d
+	jam 0x2c,0x894e 
+	jam 0x46,0x894f
+	rtn
+
+p_rx_high_sens:
+	jam 0xfb,0x894c 
+	jam 0xef,0x894d
+	jam 0xec,0x894e 
+	jam 0x5e,0x894f
+	rtn
+		
+p_set_tx_power_pair:	//50-100cm distance
+	jam 0xba,0x894b
+ 	jam 0xc2,0x8956
+ 	jam 0xd0,0x8955
+	rtn	
+
+p_shutdown_radio:
+	force 8,radio_ctrl
+	branch shutdown_radio+1
+
+/* ================================== 24g common functions ============================= */
+p_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
+
+p_rssi_noise:
+	call save_rssi
+	rtn blank
+	fetcht 1,mem_rssi_noise_index
+	arg mem_rssi_noise_buffer,rega
+	call p_rssi_store
+	storet 1,mem_rssi_noise_index
+	rtn
+	
+p_rssi_store:
+	copy rega,pdata
+	iadd temp,contw
+	fetch 1,mem_rssi
+	istore 1,contw
+	increase 1,temp
+ifdef DONGLE
+	and_into RSSI_BUF_LEN_NOISE,temp
+endif
+ifdef MOUSE
+	and_into RSSI_BUF_LEN_SIGNAL,temp
+endif
+	rtn
+p_rssi_average:
+	arg 0,temp
+ifdef DONGLE
+	arg RSSI_BUF_LEN_NOISE+1,loopcnt
+endif
+ifdef MOUSE
+	arg RSSI_BUF_LEN_SIGNAL+1,loopcnt
+endif
+	copy rega,contr
+ifdef DONGLE
+	branch rssi_average_loop
+endif
+ifdef MOUSE
+p_rssi_average_loop:
+	ifetch 1,contr
+	iadd temp,temp
+	loop p_rssi_average_loop
+	rshift3 temp,pdata
+	copy pdata,temp
+	rtnmark0 mark_24g
+	//2BCD
+	div pdata,10
+	call wait_div_end
+	quotient pdata
+	lshift4 pdata,pdata
+	remainder temp
+	ior temp,temp
+	rtn
+endif
+	rtn
+
+p_g24_update_addr_and_synccrc8:	
+	store 4,mem_24g_addr
+
+//output: 1BYTE crc8
+p_g24_syncword_crc8:
+	arg 0,rega
+	arg 4,loopcnt
+	arg mem_24g_addr,contr
+p_g24_syncword_crc8_loop:
+	ifetch 1,contr
+	iadd rega,rega
+	loop p_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
+
+
+p_g24_transmit_prep:
+ifdef P24G_LOG
+	fetch 1,mem_24g_paccnt
+	increase 1,pdata
+	store 1,mem_24g_paccnt
+endif
+
+// total length
+	fetch 1,mem_24g_datalen
+	increase 2,pdata
+	store 1,mem_24g_txlen
+// data type
+	fetch 1,mem_24g_data_type
+	store 1,mem_24g_txpayload
+//prepare 5bit payload length, 2bit PID, 1bit NO_ACK
+	fetch 1,mem_24g_datalen
+	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
+	branch memcpy
+
+p_g24_ch:
+	fetcht 1,mem_24g_current_ch_number
+	call p_g24_ch_map_size
+	storet 1,mem_24g_current_ch_number
+	rtn
+
+p_g24_ch_map_size:
+	call p_g24_ch_calc
+	increase 1,temp
+	and_into 3,temp //map size =4
+	rtn
+	
+p_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
+
+p_g24_prep:
+	disable enable_crc
+	disable enable_white
+	setarg 0x555555
+	iforce crc24_init
+	fetch 1,mem_24g_ch
+	reverse pdata,temp
+	set1 1,temp
+	rshift temp,white_init
+	rtn
+
+p_g24_receive_packet:
+	call le_enable
+	fetch 4,mem_24g_addr
+	iforce access
+	call set_sync_on
+	fetcht 1,mem_24g_ch
+	call set_freq_rx
+	setarg param_pll_setup
+	call sleep
+	call rf_rx_enable
+p_g24_receive_rxon:
+
+ifdef RF_DEBUG
+	call test_h_l_h
+endif
+
+	call p_g24_prep
+	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 p_g24_sync_timeout,sync
+
+ifdef RF_DEBUG
+	call test_gpio_low
+	call test_gpio_high
+endif
+
+	disable decode_fec0
+	enable decode_fec1
+	enable enable_white
+	enable enable_crc
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	store 1,mem_24g_get_syncword_crc8
+	fetcht 1,mem_24g_syncword_crc8
+	isub temp,null
+	nbranch p_g24_end_of_packet,zero
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	store 1,mem_24g_rxbuf	//device id
+	fetch 1,mem_24g_mode
+	sub pdata,rx_24g,null
+	branch p_g24_receive_skip,zero
+	fetch 1,mem_24g_rxbuf
+	fetcht 1,mem_24g_data_type
+	icompare bits_data,temp
+	nbranch p_g24_end_of_packet,true
+p_g24_receive_skip:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	rshift3 pdata,pdata
+	and pdata,0x1f,loopcnt	//max payload: 32bytes
+	branch p_g24rx_nopayload,zero
+p_g24rx_loop:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	loop p_g24rx_loop
+p_g24rx_nopayload:
+ifdef MOUSE
+	//receive rssi hex
+	copy contw,rega
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	store 1,mem_rssi_hex_received
+	copy rega,contw
+endif
+	parse demod,bucket,24
+	enable swfine
+	arg param_sifs,stop_watch	
+	rshift32 pdata,pdata
+	rshift16 pdata,pdata
+	istore 3,contw
+	disable decode_fec1
+ifdef DONGLE
+	call save_rssi
+endif	
+	branch p_g24_end_of_packet,crc_failed
+
+ifdef RF_DEBUG
+	call test_gpio_low
+	call test_gpio_high
+endif
+
+	enable user3
+	fetch 1,mem_last_freq
+	add pdata,0,rega
+	call rf_write_freq
+	disable decode_fec0
+	call set_sync_on
+ifdef DONGLE
+	rtn
+endif
+ifdef MOUSE
+	fetch 1,mem_rssi_hex_received
+	call p_rssi_signal
+endif
+	rtn
+	
+p_g24_end_of_packet:
+	disable encode_fec1
+	disable decode_fec1
+	call end_of_packet
+ifdef RF_DEBUG
+	call test_gpio_low
+endif
+	rtn
+
+p_g24_sync_timeout:
+ifdef DONGLE
+	call p_rssi_noise
+endif
+	branch p_g24_end_of_packet
+
+p_g24_set_freq_tx:
+	call set_sync_on
+	fetcht 1,mem_24g_ch
+	branch set_freq_tx
+
+p_g24_transmit:
+	call le_enable
+	fetch 4,mem_24g_addr
+	iforce access
+	call p_g24_prep
+	call p_g24_set_freq_tx
+	set1 TXGFSK,radio_ctrl
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+
+ifdef RF_DEBUG
+	call test_gpio_high
+endif
+	
+	rshift16 access,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,pdata
+	inject mod,40
+	disable encode_fec0
+	enable encode_fec1
+	enable enable_white
+	enable enable_crc
+	fetch 1,mem_24g_syncword_crc8
+	inject mod,8
+	fetch 1,mem_24g_txlen
+	iforce loopcnt
+	arg mem_24g_txpayload,contr
+p_g24tr_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop p_g24tr_loop
+ifdef DONGLE
+	fetch 1,mem_rssi_hex
+	inject mod,8
+endif
+
+ifdef P24G_LOG	
+	fetch 1,mem_tx_power
+	inject mod,8
+	fetch 1,mem_rssi_avg_received
+	inject mod,8
+	fetch 1,mem_24g_paccnt
+	inject mod,8
+endif
+
+	enable enable_parity
+	inject mod,24	//crc
+	disable enable_parity
+	until null,tx_clear
+	nop 100
+	disable encode_fec0
+	disable encode_fec1
+	rtn
+
+
+ifdef RF_DEBUG
+test_gpio_init:
+	arg TEST_GPIO,temp
+	call gpio_config_output
+test_gpio_low:
+	arg TEST_GPIO,temp
+	call gpio_out_active
+	nop 10
+	rtn
+test_gpio_high:
+	arg TEST_GPIO,temp
+	call gpio_out_inactive
+	nop 10
+	rtn
+
+test_h_l:
+	call test_gpio_high
+	branch test_gpio_low
+test_h_l_h:
+	call test_gpio_high
+	call test_gpio_low	
+	branch test_gpio_high
+endif
+
+p_mouse_data_init:
+	jam 7,mem_mouse_data_queue	//data length
+	jam 4,mem_mouse_data_queue+1	//fifo depth
+	setarg mem_mouse_data_queue
+	store 2,mem_queue_ptr
+	branch queue_init
+
+p_mouse_data_push:
+	arg mem_mouse_key,rega
+	call queue_push
+	call p_mouse_queue_increase,user
+	
+ifdef DEBUGLOG
+ifdef DEBUGLOG_MISC
+	setarg DEBUGLOG_DTYPE_MISC
+	store 2,mem_debuglog_datatype
+	setarg MISC_LOST_MOUSEDATA
+	store 2,mem_debuglog_dataval
+	nbranch debuglog_push,user
+
+	setarg MISC_PUSH_MOUSEDATA
+	store 2,mem_debuglog_dataval
+	call debuglog_push
+endif
+endif
+	rtn
+p_mouse_queue_increase:
+	fetch 1,mem_mouse_data_queue_num
+	increase 1,pdata
+	store 1, mem_mouse_data_queue_num
+	rtn
+	
+p_mouse_data_pull:
+	arg mem_mouse_key,rega
+	call queue_pop
+	branch p_mouse_fill_data_le,user
+	rtn
+
+p_mouse_fill_data_le:
+ifdef DEBUGLOG
+ifdef DEBUGLOG_MISC
+	setarg DEBUGLOG_DTYPE_MISC
+	store 2,mem_debuglog_datatype
+	setarg MISC_PULL_MOUSEDATA
+	store 2,mem_debuglog_dataval
+	call debuglog_push
+
+	setarg DEBUGLOG_DTYPE_MISC
+	store 2,mem_debuglog_datatype
+	fetch 1,mem_mouse_x
+	store 1,mem_debuglog_dataval
+	fetch 1,mem_mouse_y
+	store 1,mem_debuglog_dataval+1
+	call debuglog_push	
+endif
+endif
+	call le_clear_md
+	fetch 1,mem_mouse_data_queue_num
+	sub pdata,1,null
+	ncall le_set_md,positive
+	fetch 1,mem_mouse_data_queue_num
+	rtn blank
+	increase -1,pdata
+	store 1, mem_mouse_data_queue_num
+	branch mouse_fill_data_le
+
+ifdef DEBUGLOG 
+pdata_push:
+	store 8,mem_debuglog_pdata
+	rtn
+
+pdata_pull:
+	fetch 8,mem_debuglog_pdata
+	rtn
+	
+debuglog_init:
+	call pdata_push
+	call debuglog_uart_init
+	call debuglog_mem_init
+	branch pdata_pull
+ 
+debuglog_uart_init:
+	/*step1:SET IO TX:GPIO6	RX:GPIO7*/
+	hfetch 1,core_gpio_sel1
+	set1 2,pdata
+	hstore 1,core_gpio_sel1 //Open UARTGPIO MUX
+	hfetch 4,core_gpio_pu0	 //RX pull up
+	set1 7,pdata
+	hstore 4,core_gpio_pu0
+	
+	/*step2:sel UARTclk bit0	=0:crystal	 =1:48M*/
+	hfetch 1,core_uart_clksel
+	set1 0,pdata
+	hstore 1,core_uart_clksel
+
+	/*step3:Enable uart clk
+	core_clkoff(0x8050)bit15 = 0,Enable uart clk*/
+	hfetch 2,core_clkoff
+	set0 0x0f,pdata
+	hstore 2,core_clkoff
+
+	/*step3:Set Ring Buffer*/
+	setarg mem_module_rx_buf		//RX buf Start Addr
+	hstore 2,core_uart_rsaddr
+
+	setarg mem_module_rx_buf_end	//RX buf End Addr
+	hstore 2,core_uart_readdr
+
+	setarg mem_module_tx_buf		//TX BUF Start Addr
+	hstore 2,core_uart_tsaddr
+
+	setarg mem_module_tx_buf_end	//TX buf End Addr
+	hstore 2,core_uart_teaddr
+	
+	setarg mem_module_rx_buf		//RX buf RPTR
+	hstore 2,core_uart_rrptr
+
+	setarg mem_module_tx_buf		//TX buf WPTR
+	hstore 2,core_uart_twptr
+
+	hstore 2,core_uart_trptrp		//TX buf RPTR
+
+	/*step4:SET baud*/
+	//hstore 2,mem_baud
+	setarg 0x34
+	hstore 2,core_uart_baud
+
+	/*step5:SET DataLen,parity bit,flow control and enable UART
+	RW	0	Enable UART
+	RW	1	1: odd parity; 0: even parity
+	RW	2	UART Data length 1: 9 bits; 0: 8 bits
+	RW	3	1: HCI uart SLIP protocol
+	RW	4	1: enable RTS/CTS flow control
+	RW	5	1: enable 7816 smart card protocol
+	RW	6	1: enable half duplex single line UART
+	RW	7	1: Use baud settings 0:auto detect baud rate*/
+	jam 0x00,core_uart_ctrl
+	jam 0x81,core_uart_ctrl
+	rtn 
+
+debuglog_mem_init:
+	jam DEBUGLOG_HEAD,mem_debuglog_temp
+	jam DEBUGLOG_TYPE,mem_debuglog_type
+	jam DEBUGLOG_LEN ,mem_debuglog_datalen
+	jam DEBUGLOG_TAIL,mem_debuglog_tail
+	rtn	
+
+debuglog_push:
+	call pdata_push
+	hfetch 1,core_uart_status
+	rtnbit1 uart_status_tx_fifo_full
+	call uartd_prepare_tx
+	fetch 8,mem_debuglog_temp
+	istore 8,contwu
+	call uartd_send
+	branch pdata_pull 
+endif	
+/*
+p_le_savelist:
+	fetch 1,mem_mouse_key
+	bbit0 0,p_le_savelist1
+	fetch 1,mem_lpm_mode
+	bbit1 1,p_le_savelist1
+	jam 0,mem_seqi
+p_le_savelist1:
+	fetch 4,mem_sync_clke
+	store 4,mem_pdatatemp
+	deposit auxcnt
+	istore 1,contw
+	fetch 1,mem_le_ch_mapped
+	istore 1,contw
+	fetch 2,mem_le_event_count
+	arg 0x0fff,contr
+	iand contr,pdata
+	setflag match,15,pdata
+	setflag wake,14,pdata
+	setflag sync,13,pdata
+	setflag attempt,12,pdata
+	istore 2,contw
+
+
+p_save1:
+	call p_savelist1
+	fetch 1,mem_context
+	rtnbit0 state_inconn
+	fetch 1,mem_lpm_mode
+	rtnbit1 1
+	fetch 1,mem_mouse_z
+	rtn blank
+	jam 3,mem_lpm_mode
+	jam 0,mem_seqi
+	rtn
+
+
+p_savelist:
+	store 8,mem_pdatatemp
+p_savelist1:
+	fetch 1,mem_seqi
+	rtneq 0x7f
+	and_into 0x7f,pdata
+	lshift3 pdata,pdata
+	arg 0x4c00,contw
+	iadd contw,contw
+	fetch 8,mem_pdatatemp
+	istore 8,contw
+	fetch 1,mem_seqi
+	isolate1 7,pdata
+	increase 1,pdata
+	and_into 0x7f,pdata
+	setflag true,7,pdata
+	store 1,mem_seqi
+	fetch 8,mem_pdatatemp
+	rtn	
+
+
+p_hci_log:
+	fetch 1,0x4c00
+	increase 1,pdata
+	sub pdata,50,null
+	branch p_hci_log_calc_ptr,positive
+	setarg 0
+p_hci_log_calc_ptr:
+	store 1,0x4c00
+	arg 8,temp
+	imul32 temp,pdata
+	arg 0x4c08,contw
+	iadd contw,contw
+p_hci_log_write_content:
+	fetch 1,0x4c00
+	istore 1,contw//counter
+	fetch 4,mem_24g_txbuf+2
+	istore 4,contw
+	rtn
+*/
+
+
+endif
+
Index: HS_24G&BLE_Motion/program/peripherals.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/peripherals.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/peripherals.prog	(working copy)
@@ -0,0 +1,2440 @@
+
+/* ===================== two wire SPI gpio ======================= */
+
+twspi_reset:
+	bpatchx patch31_4,mem_patch31
+	hfetch 1,core_gpio_oe3
+	arg 0x06,temp
+	ior temp,pdata
+	hstore 1,core_gpio_oe3
+	hfetch 1,core_gpio_out3
+	ior temp,pdata
+	hstore 1,core_gpio_out3
+	call twspi_disable
+	hfetch 1,core_gpio_out3
+	set0 1,pdata
+	set0 2,pdata
+	hstore 1,core_gpio_out3	
+	nop 30  
+	branch twspi_enable
+
+twspi_reset2:
+	hfetch 1,core_gpio_oe3
+	arg 0xc0,temp
+	ior temp,pdata
+	hstore 1,core_gpio_oe3
+	hfetch 1,core_gpio_out3
+	ior temp,pdata
+	hstore 1,core_gpio_out3
+	call twspi_disable
+	hfetch 1,core_gpio_out3
+	set0 6,pdata
+	set0 7,pdata
+	hstore 1,core_gpio_out3	
+	nop 30  
+	branch twspi_enable2
+
+twspi_disable:
+	hfetch 1,core_gpio_sel1
+	and pdata,0xfc,pdata
+	hstore 1,core_gpio_sel1  //disable spi
+	rtn
+twspi_enable:
+	hfetch 1,core_gpio_sel1
+	or pdata,0x01,pdata
+	hstore 1,core_gpio_sel1  //enable spi
+	rtn
+twspi_enable2:
+	hfetch 1,core_gpio_sel1
+	or pdata,0x03,pdata
+	set0 4,pdata
+	hstore 1,core_gpio_sel1  //enable spi2
+	rtn
+
+// input read reg number: pdata 
+//output reg data: pdata
+sensor_read:
+	copy pdata,regb
+	call spi_ncs_enable
+	nop 100
+	copy regb,pdata
+	call twspi_read
+	copy pdata,regb
+	call spi_ncs_disable
+	nop 100
+	copy regb,pdata
+	rtn
+// input write reg number: pdata 
+sensor_write:
+	copy pdata,regb
+	call spi_ncs_enable
+	nop 100
+	copy regb,pdata
+	call twspi_write
+	call spi_ncs_disable
+	nop 100
+	rtn
+//spi gpio init .
+//0xff :disable spi ncs gpio init
+spi_ncs_gpio_init:
+	fetcht 1,mem_spi_ncs_gpio
+	branch gpio_config_output
+
+//nsc gpio ouput low
+spi_ncs_enable:
+	fetcht 1,mem_spi_ncs_gpio
+	branch gpio_out_active
+
+//ncs gpio output high
+spi_ncs_disable:
+	fetcht 1,mem_spi_ncs_gpio
+	branch gpio_out_inactive
+
+
+twspi_write:
+	branch spid_write_reg
+	
+twspi_read:
+	branch spid_read_reg
+
+
+
+/* ===================== code loading ======================= */
+
+
+read_function_aes:
+	nbranch read_function,user
+	hfetch 1,core_gpio_key2
+	or_into 0x2,pdata   	// enable aes 
+	hstore 1,core_gpio_key2
+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
+	hfetch 1,core_gpio_key2
+	and_into 0xfd,pdata   	// disable aes for header
+	hstore 1,core_gpio_key2
+	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
+	hfetch 1,core_gpio_key2
+	and_into 0xfd,pdata   // disable aes for iv
+	hstore 1,core_gpio_key2
+	call read_function
+	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:
+	disable match
+	call get_block_header
+	nrtn zero
+	enable match
+	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
+	nrtn zero
+	ifetch 2,contr
+	iforce rega
+	call read_function
+	branch load_storage_loop
+
+	
+	/* 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
+	
+loadcode:
+	call clean_mem
+	disable user
+	call otp_enable_chgpump
+	setarg otp_ucode_flag
+	arg mem_otp_ucode_flag,rega
+	arg 2,temp
+	call otpd_read_data
+	fetch 2,mem_otp_ucode_flag
+	bbit0 otp_uflag_aes, loadcode_otp
+	jam 0x25,core_clkoff			// disable debug uart
+	setarg otp_ucode_aeskey
+	arg mem_ucode_keybuf,rega
+	arg 16,temp
+	call otpd_read_data
+	jam lock_otp,core_misc_ctrl	// disable further read/write of key
+	set1 mark_otp_encrypt,mark	
+	arg mem_ucode_keybuf,contr
+	call load_key
+	enable user					// set user for aes
+loadcode_otp:
+	jam 0,mem_loadcode_times
+loadcode_otp_2:
+	call loadcode_check_times
+	fetch 2,mem_otp_ucode_flag
+	byteswap pdata,pdata
+	arg 0x7ff,temp
+	iand temp,pdata
+	branch loadcode_iic, zero
+	call otp_set_addr
+	arg otpd_read_code,regc
+	call get_iv,user
+	call load_storage
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_otp_2			// crc error, try again
+	
+loadcode_iic:
+	call otp_disable_chgpump
+	jam 0,mem_loadcode_times
+loadcode_iic_2:	
+	call loadcode_check_times
+	call clear_eeprom_size_2k
+	fetch 1,mem_otp_ucode_flag
+	bbit1 otp_uflag_skip_eep,loadcode_spi
+	call loadcode_iic_by_eeprom
+	nbranch loadcode_iic_eeprom_2k,match
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_iic_2			// crc error, try again
+	branch loadcode_hci
+loadcode_iic_eeprom_2k:
+	call set_eeprom_size_2k
+	fetch 1,mem_otp_ucode_flag
+	bbit1 otp_uflag_skip_eep,loadcode_spi
+	call loadcode_iic_by_eeprom
+	nbranch loadcode_spi,match
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_iic_2			// crc error, try again
+	branch loadcode_hci
+	
+loadcode_spi:
+	jam 0,mem_loadcode_times
+loadcode_spi_2:
+	call loadcode_check_times
+	fetch 1,mem_otp_ucode_flag
+	bbit1 otp_uflag_skip_flash, loadcode_hci
+	setarg 0x0
+	store 3,mem_addr_hi
+	call spid_init_flash
+	arg spid_load_flash,regc
+	call read_first_block
+	call load_storage
+	nbranch loadcode_hci,match
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_spi_2			// crc error, try again
+
+loadcode_hci:
+	bmark1 mark_otp_encrypt,loadcode_hci_enc
+	call clear_key_buf
+loadcode_hci_enc:
+	fetch 1,mem_otp_ucode_flag
+	bbit0 otp_uflag_hci,clear_key_buf
+	jam 0x21,core_clkoff			// enable debug uart
+	call hci_init
+loadcode_hci_loop:
+	call hci_rx_packet
+	branch loadcode_hci_loop
+
+clear_key_buf:
+	setarg 0
+	store 8,mem_ucode_keybuf
+	store 8,mem_ucode_keybuf+8
+	force regidx_key,regext_index
+	call aes_clear
+	jam 0x21,core_clkoff		// enable debug uart
+	rtn
+	
+
+loadcode_iic_by_eeprom:
+	setarg 0x0
+	store 2,mem_addr_mi
+	arg iicd_read_eep,regc
+	call iicd_init_12m
+	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
+	call ice_break
+	rtn
+
+
+/* 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:
+	hfetch 1,core_gpio_key2
+	rtnbit0 1
+	branch decrypt_code_skip	/* skip to key generation at first for speed */
+decrypt_code_loop:
+	hfetch 1,core_dma_status
+	qisolate1 pdata
+	rtn true
+decrypt_code_skip:
+	hfetch 1,core_misc_status
+	bbit0 1,decrypt_code_loop
+	call do_aes_cbc
+	branch decrypt_code_loop
+
+
+
+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
+	hstore 1,core_ucode_data
+	loop load_ucode_loop
+	jam 0x0, core_ucode_ctrl
+	rtn
+
+
+/* ===================== SPI dma ======================= */
+
+spid_init:
+	bpatchx patch31_5,mem_patch31
+	call spid_init_common
+	branch twspi_enable
+
+spid_init2:
+	call spid_init_common
+	call twspi_disable
+	branch twspi_enable2
+	
+spid_init_common:
+	fetch 1,mem_spi_init_clk
+	hstore 1,core_spid_ctrl	// A7530 should at least 34, or write fail
+	fetch 1,mem_spi_init_delay_time
+	hstore 1,core_spid_delay	// 4us delay
+	setarg mem_spid_tbuf
+	hstore 2,core_spid_txaddr
+	setarg mem_spid_rbuf
+	hstore 2,core_spid_rxaddr
+	branch twspi_disable
+	
+spid_reset:
+	hfetch 1,core_spid_ctrl
+	set1 7,pdata
+	hstore 1,core_spid_ctrl
+	set0 7,pdata
+	hstore 1,core_spid_ctrl
+	rtn
+
+
+/* pdata 6:0 is reg address, 15:8 is data to write */
+spid_write_reg:
+	set1 7,pdata
+	store 2,mem_spid_tbuf
+	bpatchx patch31_6,mem_patch31
+	jam 2,core_spid_txlen
+	jam 0,core_spid_rxlen
+	jam spid_start,core_misc_ctrl
+	branch wait_spid_done
+
+/* pdata 6:0 is reg address */
+spid_read_reg:
+	force 1,temp
+/* pdata 6:0 is burst reg address, temp is bytes to read */
+spid_read_regs:
+//	nop 100
+	store 1,mem_spid_tbuf
+	bpatchx patch31_7,mem_patch31
+	jam 1,core_spid_txlen
+	hstoret 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
+	hfetch 1,core_dma_status
+	bbit0 spid_done,wait_spid_done
+	rtn
+
+spid_init_flash:
+	jam 0x40,core_spid_ctrl
+	jam 0x0,core_spid_delay
+	hfetch 1,core_gpio_sel1
+	set0 0,pdata
+	set1 1,pdata
+	hstore 1,core_gpio_sel1
+	setarg 0
+	store 4,mem_spid_tbuf
+	rtn
+
+
+spid_unlock_flash:
+	setarg 0
+	hstore 2,core_spid_rxlen
+	setarg 1
+	hstore 2,core_spid_txlen
+	setarg mem_spid_tbuf
+	hstore 2,core_spid_txaddr
+	jam 6,mem_spid_tbuf
+	jam spid_start,core_misc_ctrl
+	branch wait_spid_done
+
+
+/**
+ ******************************************************************************
+ ** \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 flash_write_start
+
+
+flash_write_spi_sm_timer:
+	fetch 1,mem_spi_write_flash_sm 	
+	beq FLASH_SM_START,flash_write_start
+	beq FLASH_SM_ERASE_SECTOR,flash_erase_sector
+	beq FLASH_SM_WAIT_ERASE_SECTOR,flash_wait_erase_sector
+	beq FLASH_SM_WRITE_DATA,flash_write_data
+	beq FLASH_SM_WAIT_WRITE_DATA,flash_wait_write_data
+	rtn
+
+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
+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
+	fetch 3,mem_spi_write_addr
+	jam 4,core_spid_txlen
+	arg FLASH_COMMAND_SECTOR_ERASE,temp
+	branch spid_write_flash_common
+	
+flash_wait_erase_sector:
+	call spid_init_flash
+	call spid_unlock_flash
+	setarg FLASH_READ_SATUS
+	call spid_read_reg
+	rtnbit1 FLASH_STATUS_WIP
+	jam FLASH_SM_WRITE_DATA,mem_spi_write_flash_sm
+	rtn
+flash_write_data:
+	call spid_init_flash
+	jam FLASH_SM_WAIT_WRITE_DATA,mem_spi_write_flash_sm
+	call spid_unlock_flash
+	call flash_data_preserve
+	call spid_write_flash
+	branch flash_data_recover
+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
+flash_data_recover:
+	fetch 4,mem_temp
+	fetcht 2,mem_spi_write_ptr
+	increase -4,temp
+	istore 4,temp
+	rtn
+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
+
+
+/* pdata is flash address, rega pointers to txdata(4 ahead bytes should be left), temp is length */
+spid_write_flash:
+	increase 4,temp
+	hstoret 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
+	hstore 2,core_spid_txaddr
+	setarg 0
+	hstore 2,core_spid_rxlen
+	jam spid_start,core_misc_ctrl
+	branch wait_spid_done
+
+
+/* temp is length, rega pointers to buf   */
+spid_read_flash:
+	hstoret 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
+	hstore 2,core_spid_txlen
+	jam FLASH_COMMAND_READ_DATA,mem_spid_tbuf
+	setarg mem_spid_tbuf
+	hstore 2,core_spid_txaddr
+	deposit rega
+	hstore 2,core_spid_rxaddr
+	hfetch 1,core_spid_ctrl
+	isolate0 15,rega
+	setflag true,6,pdata
+	hstore 1,core_spid_ctrl
+	jam spid_start,core_misc_ctrl
+spi_read_flash_wait:
+	hfetch 1,core_dma_status
+	bbit1 7,spi_read_flash_wait			// waiting for spid write
+	arg spid_done,queue
+	branch wait_spid_done
+
+
+/* temp is length, rega pointers to buf  */
+spid_load_flash:
+	hstoret 2,core_spid_rxlen
+	setarg 4
+	hstore 2,core_spid_txlen
+	jam 3,mem_spid_tbuf
+	setarg mem_spid_tbuf
+	hstore 2,core_spid_txaddr
+	deposit rega
+	hstore 2,core_spid_rxaddr
+	hfetch 1,core_spid_ctrl
+	isolate0 15,rega
+	setflag true,6,pdata
+	hstore 1,core_spid_ctrl
+	jam spid_start,core_misc_ctrl
+spi_load_flash_wait:
+	hfetch 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
+
+/*****************************************************************************
+*soft reset chip
+*****************************************************************************/
+soft_reset_chip:
+	jam 1,core_reset
+	rtn
+
+
+
+/* ===================== I2C dma ======================= */
+
+iic_init_390k:	//390khz
+	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
+  	branch iicd_init_gpio	
+
+
+iicd_init_12m:
+	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
+iicd_init_gpio:	
+	hfetch 1,core_gpio_pu3
+	or_into 0xc0,pdata
+	hstore 1,core_gpio_pu3
+	hfetch 1,core_gpio_sel1
+	or_into 0x10,pdata
+	hstore 1,core_gpio_sel1
+	rtn
+
+
+
+wait_iicd_done:
+	hfetch 1,core_dma_status
+	bbit0 iicd_done,wait_iicd_done
+	rtn
+
+/*
+pdata is tx length
+rega is points to tx buffer
+regb is points to rx buffer
+temp is rx length
+*/
+iicd_read_data:
+	hstore 2,core_iicd_txlen
+	deposit rega
+	hstore 2,core_iicd_txaddr	
+	deposit regb
+	hstore 2,core_iicd_rxaddr
+	deposit temp	
+	hstore 2,core_iicd_rxlen
+	arg 1,temp
+	nsetflag blank,1,temp
+	hstore 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
+	hstore 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 patch32_0,mem_patch32
+	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 patch32_1,mem_patch32
+	bmark1 mark_eeprom_size,iicd_read_eep_size_2k_lcadcode
+	setarg 4
+	hstore 2,core_iicd_txlen
+	jam 0xa0,mem_iicd_tbuf
+	jam 0xa1,mem_iicd_tbuf+3
+iicd_read_eep_common:	
+	setarg mem_iicd_tbuf
+	hstore 2,core_iicd_txaddr
+	hstoret 2,core_iicd_rxlen
+	deposit rega
+	hstore 2,core_iicd_rxaddr
+	setarg 2
+	isolate0 15,rega
+	setflag true,0,pdata
+	hstore 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 patch32_2,mem_patch32
+	storet 2,mem_temp	//len
+	copy rega,pdata
+	store 2,mem_contr
+iicd_write_eep_loop:
+	call iicd_eep_transparency
+
+	fetcht 2,mem_regb
+	fetch 2,mem_contr
+	copy pdata,rega
+	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 patch32_3,mem_patch32
+	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:
+	increase 2,temp
+	hstoret 2,core_iicd_txlen
+	increase -2,rega
+	ifetcht 3,rega
+	copy temp,regb
+	arg 0xa0,temp
+	istoret 1,rega
+//	byteswap pdata,pdata
+	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 patch32_4,mem_patch32
+	bmark1 mark_eeprom_size,iicd_write_eep_size_2k
+	copy regb,pdata
+	increase 3,temp
+	hstoret 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:	
+	deposit rega
+	hstore 2,core_iicd_txaddr
+	setarg 0
+	hstore 2,core_iicd_rxlen
+	jam 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+	copy regb,pdata
+	istore 3,rega
+	
+iic_check_eeprom_standby:
+	bpatchx patch32_5,mem_patch32
+	jam 0,mem_iicd_tbuf+3
+iic_check_eeprom_standby_wait:
+	setarg 1
+	hstore 2,core_iicd_txlen
+	jam 0xa0,mem_iicd_tbuf
+	setarg mem_iicd_tbuf
+	hstore 2,core_iicd_txaddr
+	setarg 0
+	hstore 2,core_iicd_rxlen
+	hstore 2,core_iicd_rxaddr
+	setarg 3
+	hstore 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+	hfetch 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
+
+/* ===================== OTP ======================= */
+
+otp_enable_chgpump:
+	jam 0x70,rfen_chgpump
+	nop param_chgpump_delay
+	rtn
+
+otp_disable_chgpump:
+	jam 0x30,rfen_chgpump
+	rtn
+	
+otp_set_addr:
+	lshift3 pdata,pdata
+	hstore 2,core_otp_addr
+	jam 0,core_otpd_ctrl
+	rtn	
+
+/* pdata = otp address, rega pointers data, loopcnt is count */
+otp_write:
+	call otp_set_addr
+	call otp_ce
+otp_program:
+	ifetcht 1,rega
+	increase 1,rega
+	force 0,queue
+otp_program_bit:
+	qisolate0 temp
+	branch otp_skip_0,true
+	hfetch 1,core_otp_din
+	set1 6,pdata				/* din */
+	set1 7,pdata				/* dle */
+	hstore 1,core_otp_din
+	jam 0x02,core_otp_ctrl	/* web */
+	jam 0x82,core_otp_ctrl
+	set0 7,pdata				/* dle */
+	hstore 1,core_otp_din
+	jam 0x8a,core_otp_ctrl	/* pgmen */
+	nop 11
+	jam 0xca,core_otp_ctrl	/* vppen */
+	nop 33
+	jam 0x4a,core_otp_ctrl	/* web 2nd */
+	nop 44
+	jam 0xca,core_otp_ctrl	/* release web */
+	nop 22
+	jam 0x8a,core_otp_ctrl	/* release vppen */
+	nop 33
+	jam 0x82,core_otp_ctrl	/* release pgmen */
+	nop 1
+	jam 0x92,core_otp_ctrl	/* pgmvfy */
+	nop 10
+	jam 0xb2,core_otp_ctrl	/* readen */
+	hfetch 1,core_otp_rdata
+	jam 0x92,core_otp_ctrl	/* release readen */
+	nop 1
+	jam 0x82,core_otp_ctrl	/* release pgmvfy */
+	qisolate0 pdata
+	branch otp_program_bit,true	/* program error */
+otp_skip_0:
+	hfetch 2,core_otp_addr
+	increase 1,pdata
+	hstore 2,core_otp_addr
+	increase 1,queue
+	compare 8,queue,0xf
+	nbranch otp_program_bit,true
+	loop otp_program
+	jam 0x83,core_otp_ctrl
+	rtn
+
+otp_ce:
+	jam 0x82,core_otp_ctrl	/* ceb */
+	nop 12
+	jam 0x80,core_otp_ctrl	/* rstn */
+	jam 0x82,core_otp_ctrl	/* release rstn */
+	nop 150					/* waiting for vdd25 stable */
+	rtn
+
+	/* rega points to data, temp is count */
+otpd_read_init:
+	call otp_ce
+	jam 0xa2,core_otp_ctrl	/* readen */
+	deposit rega
+	hstore 2,core_otpd_addr
+	set1 11,temp
+	isolate0 15,pdata
+	setflag true,15,temp
+	hstoret 2,core_otpd_len
+	jam otpd_start,core_misc_ctrl
+	rtn
+
+otpd_wait_end:
+	hfetch 1,core_dma_status
+	bbit0 otpd_done,otpd_wait_end
+	rtn
+	
+	/* pdata=otp address, rega points to data, temp is count */
+otpd_read_data:
+	call otp_set_addr
+	call otpd_read_init
+	call otpd_wait_end
+	jam 0x83,core_otp_ctrl	/* release ceb */
+	rtn
+
+
+
+/* rega pointers to buf, temp is length */
+otpd_read_code:	
+	hfetch 2,core_current_otp_addr
+	hstore 2,core_otp_addr
+	call otpd_read_init
+	arg otpd_done,queue
+	call decrypt_code
+	call otpd_wait_end
+	isolate1 otpd_crcok,pdata	
+	call set_ucode_status
+	jam 0x83,core_otp_ctrl	/* release ceb */
+	rtn
+
+/* ===================== uart dma ======================= */
+uartd_prepare_tx:
+	hfetch 2,core_uart_twptr
+	iforce contwu
+	rtn
+
+uartd_send:
+	deposit contwu
+	hstore 2,core_uart_twptr
+	rtn
+
+uartd_rxdone:
+	deposit contru
+	hstore 2,core_uart_rrptr
+	rtn
+
+uartd_prepare_rx:
+	hfetch 2,core_uart_rrptr
+	copy pdata,contru
+	rtn
+
+uart_set_baud_by_mem:
+	fetch uart_baud_len,mem_baud
+	hstore uart_baud_len,core_uart_baud
+	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_8_bytes:
+	ifetch 8,contr
+	istore 8,contwu
+	rtn
+
+uart_tx_4_bytes:
+	ifetch 4,contr
+	istore 4,contwu
+	rtn
+
+uart_copy_tx_bytes:
+	deposit loopcnt
+	rtn blank
+uart_copy_tx_bytes_loop:
+	ifetch 1,contr
+	istore 1,contwu
+	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_8_bytes:
+	ifetch 8,contru
+	istore 8,contw
+	rtn
+
+uart_rx_4_bytes:
+	ifetch 4,contru
+	istore 4,contw
+	rtn
+
+
+uart_copy_rx_bytes:
+	deposit loopcnt
+	rtn blank
+uart_copy_rx_bytes_loop:
+	ifetch 1,contru
+	istore 1,contw
+	loop uart_copy_rx_bytes_loop
+	rtn
+
+
+uart_copy_rx2tx:
+	deposit loopcnt
+	rtn blank
+uart_copy_rx2tx_loop:
+	ifetch 1,contru
+	istore 1,contwu
+	loop uart_copy_rx2tx_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 patch32_6,mem_patch32
+	fetch 1,mem_nv_data_number
+	rtn blank		// not nv data
+	call check_nvram
+	call init_device_list,zero
+	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
+
+
+nvram_find_addr_from_bd_list:
+	call disable_user
+	fetch 1,mem_nv_data_number
+	rtn blank		// not nv data
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,find_addr_from_bd_list_SPP_mode
+find_addr_from_bd_list_ble_mode:
+	bpatchx patch32_7,mem_patch32
+	fetch 1,mem_le_conn_peer_addr_type
+	beq MASTER_PUBLIC_ADDR,find_addr_from_bd_list_static_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
+	compare 0x00,pdata,0xc0
+	branch find_addr_from_bd_list_random_non_resolvable_private_address,true
+find_addr_from_bd_list_static_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:
+	bpatchx patch33_0,mem_patch33
+	jam REC_3_MODE,mem_temp_reconn_record
+	fetch 6,mem_plap
+find_addr_from_bd_list_common:
+	store 6,mem_temp_reconn_record+1
+	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 patch33_1,mem_patch33
+	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
+//	copy rega,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 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:
+	fetch 6,mem_le_plap
+	store 6,mem_temp_lap
+	jam REC_4_MODE,mem_record_bt_mode
+	branch eeprom_store_reconn_info
+eeprom_store_bd_reconn_info:
+	fetch 6,mem_plap
+	store 6,mem_temp_lap
+	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
+	bbit1 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 patch33_2,mem_patch33
+	set1 7,temp
+	call gpio_get_bit
+	nsetflag true,7,temp
+	//branch gpio_set_wake
+	//fall through
+	
+	//temp [4:0]=GPIO number, 0-31, [7]=0, low active
+gpio_set_wake:
+	bpatchx patch33_3,mem_patch33
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate0 7,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 patch33_4,mem_patch33
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate0 7,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:
+	arg core_gpio_pd0,contw
+	call gpio_set_bit
+	setflip gpio_active_bit,temp
+	arg core_gpio_pu0,contw
+	call gpio_set_bit
+	set0 gpio_active_bit,temp
+	arg core_gpio_oe0,contw
+	branch gpio_set_bit
+
+
+gpio_set_high_impedance:
+	arg core_gpio_pd0,contw
+	call gpio_set_bit
+	set0 gpio_active_bit,temp
+	arg core_gpio_pu0,contw
+	call gpio_set_bit
+	set0 gpio_active_bit,temp
+	arg core_gpio_oe0,contw
+	branch gpio_set_bit
+
+
+	//temp [4:0]=GPIO number, 0-31, [7]=0, low active. set gpio to inactive state
+gpio_config_output:	
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	setflip gpio_active_bit,temp
+	call gpio_out
+gpio_config_output0:
+	set1 gpio_active_bit,temp
+	arg core_gpio_oe0,contw
+	branch gpio_set_bit
+	
+gpio_common:
+	and temp,0x07,queue
+	rshift3 temp,pdata
+	and_into 3,pdata
+	iadd contw,contw
+	ifetch 1,contw
+	rtn
+
+gpio_check_active:
+	arg core_gpio_out0,contw
+	branch get_bit_common
+
+	
+	/* temp is gpio number, return true if gpio active */
+gpio_get_bit:
+	arg core_gpio_in,contw
+get_bit_common:
+	call gpio_common
+	isolate1 gpio_active_bit,temp
+	branch gpio_get_bit_reverse,true
+	qisolate0 pdata
+	rtn
+gpio_get_bit_reverse:
+	qisolate1 pdata
+	rtn
+
+gpio_out_inactive:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate1 7,null
+	branch gpio_out_flag
+
+gpio_out_active:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate0 7,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:
+	arg core_gpio_out0,contw
+
+	//temp [4:0]=GPIO number, 0-31, [7]=bit value; contw is gpio reg base
+gpio_set_bit:
+	call gpio_common
+	isolate1 gpio_active_bit,temp
+	qsetflag true,pdata
+	istore 1,contw
+	rtn
+
+gpio_set_before_lpm_common:
+	arg -1,rega
+	hfetch 1,core_gpio_sel1
+	compare 0x02,pdata,0x03
+	call neglact4_from_23_pin,true	//spi
+
+	compare 0x01,pdata,0x03
+	call neglact2_form_25_pin,true	//two spi gpio25 26
+
+	compare 0x03,pdata,0x03
+	call neglact2_form_25_pin,true	//two spi gpio30 31
+	 	 
+	isolate1 2,pdata
+	call neglect2_from_6_pin,true	//uart
+	 
+	isolate1 3,pdata
+	call neglect4_from_9_pin,true	//spi
+
+	isolate1 4,pdata
+	call neglact2_form_30_pin,true	//IIC GPIO30 31
+
+	isolate1 6,pdata
+	nsetflag true,04,rega			//pwm0 gpio4
+
+	isolate1 7,pdata
+	nsetflag true,05,rega			//pwm1 gpio5
+
+	hfetch 1,core_gpio_sel2
+	isolate1 0,pdata
+	nsetflag true,27,rega			//pwm2 gpio27
+	isolate1 1,pdata
+	nsetflag true,28,rega			//pwm3 gpio28
+	isolate1 2,pdata
+	nsetflag true,03,rega			//pwm4 gpio03
+	isolate1 3,pdata
+	nsetflag true,08,rega			//pwm5 gpio08
+	isolate1 4,pdata
+	nsetflag true,20,rega			//pwm0 gpio20
+	isolate1 5,pdata
+	nsetflag true,21,rega			//pwm1 gpio21
+	isolate1 6,pdata
+	nsetflag true,22,rega			//pwm2 gpio22
+	isolate1 7,pdata
+	nsetflag true,23,rega			//pwm3 gpio23
+		
+	hfetch 1,core_gpio_sel
+	isolate1 0,pdata
+	nsetflag true,05,rega			//ADC GPIO05
+	isolate1 1,pdata
+	nsetflag true,06,rega			//ADC GPIO06
+	isolate1 2,pdata
+	nsetflag true,07,rega			//ADC GPIO07
+	isolate1 3,pdata
+	nsetflag true,18,rega			//ADC GPIO18
+	isolate1 4,pdata
+	nsetflag true,19,rega			//ADC GPIO19
+	isolate1 5,pdata
+	nsetflag true,20,rega			//ADC GPIO20
+	isolate1 6,pdata
+	nsetflag true,21,rega			//ADC GPIO21
+	isolate1 7,pdata
+	nsetflag true,22,rega			//ADC GPIO22
+	
+	hfetch 1,core_uart_ctrl
+	isolate1 4,pdata
+	call neglact2_form_2_pin,true
+	bpatchx patch33_5,mem_patch33
+
+	hfetch 4,core_gpio_pu0
+	hfetcht 4,core_gpio_pd0
+	ior temp,pdata
+	invert pdata,pdata
+	iand rega,pdata
+	//set0 4,pdata //revc
+	hstore 4,core_gpio_oe0
+	rtn
+	
+	
+neglect2_from_6_pin: //uart
+	 arg 6,queue
+	 branch neglect_2_pin
+neglect4_from_9_pin:
+	 arg 9,queue
+	 branch neglact_4_pin
+neglact4_from_23_pin:
+	 arg 23,queue
+	 branch neglact_4_pin
+neglact2_form_25_pin:
+	 arg 25,queue
+	 branch neglect_2_pin
+neglact2_form_30_pin:
+	 arg 30,queue
+	 branch neglect_2_pin
+neglact2_form_2_pin:
+	 arg 2,queue
+	 branch neglect_2_pin
+neglact_1_pin:
+	arg 1,loopcnt
+	branch neglect_pin_loop
+neglact_4_pin:
+	 arg 4,loopcnt
+	 branch neglect_pin_loop
+neglect_2_pin:
+	 arg 2,loopcnt
+neglect_pin_loop:
+	 qset0 rega
+	 increase 1,queue
+	 loop neglect_pin_loop
+	 rtn
+
+
+
+
+
+
+/* ===================== sniff GPIO CONTROL ======================= */
+gpio_cfg_uart_tx_output:
+	call gpio_uart2gpio
+	arg UART_WAKEUP_TX,temp
+	branch gpio_config_output
+
+gpio_pu_uart_tx:
+	call gpio_cfg_uart_tx_output
+	arg UART_WAKEUP_TX,temp
+	branch gpio_out_inactive
+
+
+
+gpio_rx_config_input_with_pu:
+	call gpio_uart2gpio
+	hfetch 1, core_gpio_pu0
+	set1 UART_WAKEUP_RX,pdata
+	hstore 1,core_gpio_pu0
+	arg UART_WAKEUP_RX,temp
+	branch gpio_config_input
+	
+gpio_uart2gpio:
+	hfetch 1,core_gpio_sel1
+	and_into 0xfb,pdata
+	hstore 1,core_gpio_sel1
+	rtn
+
+gpio_check_uart_state:
+	hfetch 1,core_gpio_sel1
+	isolate1 2,pdata
+	rtn
+
+load_chip_option:
+	call otp_enable_chgpump
+	setarg OTP_CHIP_FUNCTIONS
+	arg mem_chip_functions,rega
+	arg 0x02,temp
+	call otpd_read_data
+	branch otp_disable_chgpump
+
+
+load_adc_init:
+	call otp_enable_chgpump
+	setarg otp_adc_io_0_5V_addr
+	arg mem_0_5_adc_io_data,rega
+	arg 14,temp
+	call otpd_read_data
+	branch otp_disable_chgpump
+
+
+//mem_adc_config_flag 0:vinlpm 1:Hvin 2: GPIO
+adc_init_data:
+	bpatchx patch33_6,mem_patch33
+
+	call load_adc_init
+	
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_VINLPM,adc_init_data_vinlpm
+	beq ADC_CONFIG_HVIN,adc_init_data_hvin
+	beq ADC_CONFIG_GPIO,adc_init_data_io
+	rtn	
+
+adc_init_data_vinlpm:
+	fetcht 2,mem_otp_adc_flag
+	setarg OTP_ADC_FLAG
+	isub temp,null
+	branch adc_check_data_vinlpm,zero
+	setarg 0x4dfa
+	store 2,mem_3v_adc_vinlpm_data	
+	setarg 0x4894
+	store 2,mem_2v_adc_vinlpm_data
+	branch set_vdd_reference_voltage_1v
+
+adc_check_data_vinlpm:
+	fetch 2,mem_3v_adc_vinlpm_data
+	nbranch adc_check_2v_vinlpm,blank
+	setarg 0x4dfa
+	store 2,mem_3v_adc_vinlpm_data
+adc_check_2v_vinlpm:	
+	fetch 2,mem_2v_adc_vinlpm_data
+	nbranch set_vdd_reference_voltage_1v,blank
+	setarg 0x4894
+	store 2,mem_2v_adc_vinlpm_data
+set_vdd_reference_voltage_1v:
+	setarg 100
+	store 2,mem_reference_voltage //set reference voltage = 1V
+	rtn		
+
+adc_init_data_hvin:
+	fetcht 2,mem_otp_adc_flag
+	setarg OTP_ADC_FLAG
+	isub temp,null
+	branch adc_check_data_hvin,zero
+	setarg 0x5932
+	store 2,mem_5v_adc_hvin_data	
+	setarg 0x4323
+	store 2,mem_1v_adc_hvin_data
+	branch set_vdd_reference_voltage_4v
+
+adc_check_data_hvin:
+	fetch 2,mem_5v_adc_hvin_data
+	nbranch adc_check_1v_hvin,blank
+	setarg 0x5932
+	store 2,mem_5v_adc_hvin_data
+adc_check_1v_hvin:	
+	fetch 2,mem_1v_adc_hvin_data
+	nbranch set_vdd_reference_voltage_4v,blank
+	setarg 0x4323
+	store 2,mem_1v_adc_hvin_data
+set_vdd_reference_voltage_4v:
+	setarg 400
+	store 2,mem_reference_voltage //set reference voltage = 4V
+	rtn 	
+
+adc_init_data_io:
+	fetcht 2,mem_otp_adc_flag
+	setarg OTP_ADC_FLAG
+	isub temp,null
+	branch adc_check_data_io,zero
+	setarg 0x6946
+	store 2,mem_1v_adc_io_data	
+	setarg 0x5377
+	store 2,mem_0_5_adc_io_data
+	branch set_vdd_reference_voltage_0_5v
+
+adc_check_data_io:
+	fetch 2,mem_1v_adc_io_data
+	nbranch adc_check_0_5v_io,blank
+	setarg 0x6946
+	store 2,mem_1v_adc_io_data
+adc_check_0_5v_io:
+	fetch 2,mem_0_5_adc_io_data
+	nbranch set_vdd_reference_voltage_0_5v,blank
+	setarg 0x5377
+	store 2,mem_0_5_adc_io_data
+set_vdd_reference_voltage_0_5v:
+	setarg 50
+	store 2,mem_reference_voltage //set reference voltage = 0.5V
+	rtn	
+
+
+adc_set_mode:
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_VINLPM,adc_check_vinlpm
+	beq ADC_CONFIG_HVIN,adc_check_hvin
+	beq ADC_CONFIG_GPIO,adc_check_gpio
+	rtn
+adc_check_vinlpm:
+	jam 0xbf,rf_adc_mode	//read VINLPM voltage directly	
+	branch read_adc
+adc_check_hvin:
+	jam 0xaf,rf_adc_mode	//read HVIN voltage directly
+	branch read_adc
+adc_check_gpio:
+	jam 0x8f,rf_adc_mode
+	fetch 1,mem_adc_channel
+	hstore 1,rf_adc_ch
+	branch read_adc
+read_adc:
+	bpatchx patch33_7,mem_patch33
+	hfetch 1,core_uart_baud + 1
+	set1 7,pdata
+	hstore 1,core_uart_baud + 1 
+	hfetch 1,rf_adc_ch
+	or_into 0x30,pdata
+	hstore 1,rf_adc_ch
+	jam 0x7c,rfen_adc
+	jam 0xaa,rf_adc_gc
+	nop 5000
+	hfetcht 2,core_adc_sum
+	hfetch 1,core_uart_baud + 1
+	set0 7,pdata
+	hstore 1,core_uart_baud + 1
+	storet 2,mem_adc_current_value
+	rtn
+
+vdd_calculate_by_mode:
+	bpatchx patch34_0,mem_patch34
+	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:
+	fetch 2,mem_3v_adc_vinlpm_data
+	fetcht 2,mem_2v_adc_vinlpm_data
+	arg 200,regc
+	branch vdd_calculate
+
+vdd_calculate_hvin:
+	fetch 2,mem_5v_adc_hvin_data
+	fetcht 2,mem_1v_adc_hvin_data
+	arg 100,regc
+	branch vdd_calculate
+
+vdd_calculate_io:
+	fetch 2,mem_1v_adc_io_data
+	fetcht 2,mem_0_5_adc_io_data
+	arg 50,regc
+	branch vdd_calculate
+	
+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
+	iadd 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
+	isub 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_set_no_power_flag:
+	fetcht 1,mem_adc_power_flag
+	set1 1,temp
+	storet 1,mem_adc_power_flag
+	rtn
+
+ifdef SPI_SIMULATE
+/******************************simulate spi slave start**********************************/
+
+/*
+// Define SPI struct, gpio config
+mem_spi_simulate_struct:
+02	#cs
+03	#sclk
+04	#mosi
+05	#miso
+08	#motion
+*/
+
+/*
+Brief: spi_simulate_init_slave
+Input: None
+Output: None
+Return: None
+Brief: cs_gpio,sclk_gpio,mosi_gpio : input
+	miso_gpio : output
+*/
+spi_simulate_init_slave:
+	call spi_simulate_variable_release_slave
+	branch spi_simulate_gpio_config_slave
+
+spi_simulate_variable_release_slave:
+	arg mem_spi_simulate_read_byte_slave,contw
+	arg 53,loopcnt
+	call buffer_release
+	arg mem_spi_simulate_write_byte_slave,contw
+	arg 54,loopcnt
+	branch buffer_release
+
+buffer_release:
+	setarg 0
+buffer_release_loop:
+	istore 1,contw
+	loop buffer_release_loop
+	rtn
+	
+spi_simulate_gpio_config_slave:
+	fetcht 1,mem_spi_simulate_cs_gpio
+	call gpio_config_input
+	fetcht 1,mem_spi_simulate_sclk_gpio
+	call gpio_config_input
+	fetcht 1,mem_spi_simulate_mosi_gpio
+	call gpio_config_input
+	fetcht 1,mem_spi_simulate_miso_gpio
+	call gpio_config_output
+	fetcht 1,mem_spi_simulate_motion_gpio
+	call gpio_config_output
+	branch spi_simulate_motion_disable
+
+spi_simulate_motion_enable:
+	fetcht 1,mem_spi_simulate_motion_gpio
+	branch gpio_out_inactive
+spi_simulate_motion_disable:
+	fetcht 1,mem_spi_simulate_motion_gpio
+	branch gpio_out_active
+	
+/*
+Brief: spi_simulate_read_byte_slave
+Input: rega: read length
+Output: mem_spi_simulate_read_byte_slave: read buffer
+Return: None
+Brief: when the cs_gpio is low level,slave reads data from master at the rising edge of the sclk gpio
+*/
+spi_simulate_read_byte_slave:
+	copy rega,pdata
+	store 1,mem_spi_simulate_read_length_slave
+	fetcht 1,mem_spi_simulate_cs_gpio
+	call gpio_get_bit
+	nrtn true
+spi_simulate_read_byte_slave1:	
+	jam 0,mem_spi_simulate_read_byte_slave_temp
+	arg 8,loopcnt
+spi_simulate_read_byte_slave_loop:
+	fetcht 1,mem_spi_simulate_cs_gpio
+	call gpio_get_bit
+	nbranch spi_simulate_read_byte_slave_end,true
+	
+	fetcht 1, mem_spi_simulate_sclk_gpio
+	call gpio_get_bit
+	branch spi_simulate_read_byte_slave_loop,true	
+	fetch 1,mem_spi_simulate_read_byte_slave_temp
+	lshift pdata,pdata
+	store 1,mem_spi_simulate_read_byte_slave_temp
+	fetcht 1, mem_spi_simulate_mosi_gpio
+	call gpio_get_bit
+	ncall spi_simulate_read_byte_or_one,true
+spi_simulate_read_byte_slave_loop1:	
+	fetcht 1,mem_spi_simulate_cs_gpio
+	call gpio_get_bit
+	nbranch spi_simulate_read_byte_slave_end,true
+
+	fetcht 1, mem_spi_simulate_sclk_gpio
+	call gpio_get_bit
+	nbranch spi_simulate_read_byte_slave_loop1,true
+	loop spi_simulate_read_byte_slave_loop
+	
+	fetcht 1,mem_spi_simulate_read_length_slave_temp
+	setarg mem_spi_simulate_read_byte_slave
+	iadd temp,contw
+	copy contw,regb
+	increase 1,temp
+	storet 1,mem_spi_simulate_read_length_slave_temp
+	fetch 1,mem_spi_simulate_read_byte_slave_temp
+	copy regb,contw
+	istore 1,contw
+
+	fetch 1,mem_spi_simulate_read_length_slave
+	increase -1,pdata
+	store 1,mem_spi_simulate_read_length_slave
+	nbranch spi_simulate_read_byte_slave1,blank
+	
+spi_simulate_read_byte_slave_loop2:	
+	fetcht 1, mem_spi_simulate_cs_gpio
+	call gpio_get_bit
+	nbranch spi_simulate_read_byte_slave_loop2,true
+spi_simulate_read_byte_slave_end:	
+	jam 0,mem_spi_simulate_read_length_slave
+	jam 0,mem_spi_simulate_read_length_slave_temp
+	jam 0,mem_spi_simulate_read_byte_slave_temp
+	rtn
+
+spi_simulate_read_byte_or_one:
+	fetch 1,mem_spi_simulate_read_byte_slave_temp
+	or_into 1,pdata
+	store 1,mem_spi_simulate_read_byte_slave_temp
+	rtn
+
+
+/*
+Brief: spi_simulate_write_byte_slave
+Input: rega: write length;  write buffer:mem_spi_simulate_write_byte_slave;
+Output: None
+Return: None
+Brief: when the cs_gpio is low level,slave writes data to master at the falling edge of the sclk gpio
+*/
+spi_simulate_write_byte_slave:
+	copy rega,pdata
+	store 1,mem_spi_simulate_write_length_slave
+	jam 0,mem_spi_simulate_write_length_slave_temp
+	jam 0,mem_spi_simulate_write_byte_slave_temp
+	fetcht 1,mem_spi_simulate_cs_gpio
+	call gpio_get_bit
+	nrtn true
+spi_simulate_write_byte_slave1:
+	fetcht 1,mem_spi_simulate_write_length_slave_temp
+	setarg mem_spi_simulate_write_byte_slave
+	iadd temp,contr
+	copy contr,regb
+	increase 1,temp
+	storet 1,mem_spi_simulate_write_length_slave_temp
+	copy regb,contr
+	ifetch 1,contr
+	store 1,mem_spi_simulate_write_byte_slave_temp
+	
+	arg 8,loopcnt
+spi_simulate_write_byte_slave_loop:
+	fetcht 1,mem_spi_simulate_cs_gpio
+	call gpio_get_bit
+	nbranch spi_simulate_write_byte_slave_end,true
+	fetcht 1, mem_spi_simulate_sclk_gpio
+	call gpio_get_bit
+	branch spi_simulate_write_byte_slave_loop,true
+spi_simulate_write_byte_slave_loop1:
+	fetch 1,mem_spi_simulate_write_byte_slave_temp
+	store 1,mem_spi_simulate_write_byte_slave_temp_temp
+	and_into 0x80,pdata
+	beq 0x80,spi_simulate_set_miso_gpio_high
+	call spi_simulate_set_miso_gpio_low
+spi_simulate_write_byte_slave_loop2:
+	fetcht 1,mem_spi_simulate_cs_gpio
+	call gpio_get_bit
+	nbranch spi_simulate_write_byte_slave_end,true
+	fetcht 1, mem_spi_simulate_sclk_gpio
+	call gpio_get_bit
+	nbranch spi_simulate_write_byte_slave_loop2,true	
+	fetch 1,mem_spi_simulate_write_byte_slave_temp_temp
+	lshift pdata,pdata
+	store 1,mem_spi_simulate_write_byte_slave_temp
+	loop spi_simulate_write_byte_slave_loop
+
+	fetch 1,mem_spi_simulate_write_length_slave
+	increase -1,pdata
+	store 1,mem_spi_simulate_write_length_slave
+	nbranch spi_simulate_write_byte_slave1,blank
+	
+spi_simulate_write_byte_slave_loop3:
+	fetcht 1,mem_spi_simulate_cs_gpio
+	call gpio_get_bit
+	branch spi_simulate_write_byte_slave_loop3,true
+spi_simulate_write_byte_slave_end:	
+	jam 0,mem_spi_simulate_write_length_slave_temp
+	jam 0,mem_spi_simulate_write_byte_slave_temp
+	jam 0,mem_spi_simulate_write_byte_slave_temp_temp
+	rtn
+	
+spi_simulate_set_miso_gpio_high:
+	fetcht 1,mem_spi_simulate_miso_gpio
+	call gpio_out_inactive
+	branch spi_simulate_write_byte_slave_loop2
+spi_simulate_set_miso_gpio_low:
+	fetcht 1,mem_spi_simulate_miso_gpio
+	branch gpio_out_active	
+
+/******************************simulate spi slave end**********************************/
+
+endif  //SPI_SIMULATE
+
+
+/****************************************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
+	jam 0,mem_key_value_temp
+keyscan_scan_key_lp1:
+	ifetcht 1, rega
+	call gpio_get_bit
+	bpatchx patch34_1,mem_patch34
+	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
+	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 patch34_2,mem_patch34
+	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
+	rshift pdata,temp
+	storet 2,mem_key_value
+	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
+	rtn
+keyscan_send_key_data:
+	bpatchx patch34_3,mem_patch34
+	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:
+	hfetch 1,core_clksel
+	ior rega,pdata
+	hstore 1,core_clksel
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_PWM,pdata
+	hstore 2,core_clkoff
+	nop 100
+	rtn
+
+/*	typedef struct
+*	{
+*		uint8 gpio_num
+*		uint8 pwm_channel
+*		uint24 frequency
+*		uint8 duty_cycle   //0-100
+*	}PWM_Style;
+	addr: mem_pdatatemp
+*/
+pwm_out_set:
+	fetcht 3,mem_pdatatemp+2
+	setarg PWM_12MHZ
+	idiv temp
+	call wait_div_end
+	quotient temp
+	fetch 1,mem_pdatatemp+5
+	imul32 temp,pdata
+	div pdata,100
+	call wait_div_end
+	quotient rega
+	copy temp,pdata
+	isub rega,regb	
+	fetch 1,mem_pdatatemp+1
+	call pwm_duty_cycle_set
+	fetch 1,mem_pdatatemp
+	branch pwm_enable
+
+//rega:pcnt ;regb:ncnt ;pdata:pwm channel select
+pwm_duty_cycle_set:
+	beq 0,pwm_pwm0_duty_set
+	beq 1,pwm_pwm1_duty_set
+	beq 2,pwm_pwm2_duty_set
+	beq 3,pwm_pwm3_duty_set
+	beq 4,pwm_pwm4_duty_set
+	beq 5,pwm_pwm5_duty_set
+pwm_pwm0_duty_set:
+	arg core_pwm_pcnt0,contw
+	branch pwm_set_pncnt
+pwm_pwm1_duty_set:
+	arg core_pwm_pcnt1,contw
+	branch pwm_set_pncnt
+pwm_pwm2_duty_set:
+	arg core_pwm_pcnt2,contw
+	branch pwm_set_pncnt
+pwm_pwm3_duty_set:
+	arg core_pwm_pcnt3,contw
+	branch pwm_set_pncnt
+pwm_pwm4_duty_set:
+	arg core_pwm_pcnt4,contw
+	branch pwm_set_pncnt
+pwm_pwm5_duty_set:
+	arg core_pwm_pcnt5,contw
+	branch pwm_set_pncnt
+pwm_set_pncnt:
+	copy rega,pdata
+	istore 2,contw
+	copy regb,pdata
+	istore 2,contw
+	rtn
+
+
+//pdata:gpio select
+pwm_enable:
+	enable user
+	branch pwm_gpio_set
+pwm_disable:
+	disable user
+pwm_gpio_set:
+	beq 4,pwm_gpio4_set
+	beq 5,pwm_gpio5_set
+	beq 27,pwm_gpio27_set
+	beq 28,pwm_gpio28_set
+	beq 3,pwm_gpio3_set
+	beq 8,pwm_gpio8_set
+	beq 20,pwm_gpio20_set
+	beq 21,pwm_gpio21_set
+	beq 22,pwm_gpio22_set
+	beq 23,pwm_gpio23_set
+	rtn
+
+
+pwm_gpio4_set:	//pwm 0
+	arg 6,queue
+	branch pwm_one_set_select
+pwm_gpio5_set:	//pwm 1
+  	arg 7,queue
+	branch pwm_one_set_select
+pwm_gpio27_set:	//pwm 2
+  	arg 8,queue
+	branch pwm_one_set_select
+pwm_gpio28_set:	//pwm 3
+	arg 9,queue
+	branch pwm_one_set_select
+pwm_gpio3_set:	//pwm 4
+ 	arg 10,queue
+	branch pwm_one_set_select
+pwm_gpio8_set:	//pwm 5
+  	arg 11,queue
+	branch pwm_one_set_select
+pwm_gpio20_set:	//pwm 0
+  	arg 12,queue
+	branch pwm_tw0_set_select
+pwm_gpio21_set:	//pwm 1
+  	arg 13,queue
+	branch pwm_tw0_set_select
+pwm_gpio22_set:	//pwm 2
+   	arg 14,queue
+	branch pwm_tw0_set_select
+pwm_gpio23_set:	//pwm 3
+    	arg 15,queue
+	branch pwm_tw0_set_select
+
+pwm_set_select:
+	hfetch 2,core_gpio_sel1
+	qsetflag user,pdata
+	hstore 2,core_gpio_sel1
+	copy rega,queue
+	hfetch 1,core_gpio_key2
+   	qsetflag user,pdata
+   	hstore 1,core_gpio_key2
+	rtn
+
+pwm_one_set_select:
+	add queue,-4,rega
+	branch pwm_set_select
+
+pwm_tw0_set_select:
+	add queue,-10,rega
+	branch pwm_set_select
+
+
+	
Index: HS_24G&BLE_Motion/program/rfcomm.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/rfcomm.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/rfcomm.prog	(working copy)
@@ -0,0 +1,960 @@
+
+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:
+	bpatchx patch34_4,mem_patch34
+	setarg 0
+	store 1,mem_spp_state
+	store 1,mem_remote_spp_channel
+	store 1,mem_pn_dlci
+	fetch 1,mem_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 patch34_5,mem_patch34
+	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 patch34_6,mem_patch34
+	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 patch34_7,mem_patch34
+	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 patch35_0,mem_patch35
+	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 patch35_1,mem_patch35
+	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 patch35_2,mem_patch35
+	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 patch35_3,mem_patch35
+	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 patch35_4,mem_patch35
+	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 patch35_5,mem_patch35
+	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 patch35_6,mem_patch35
+	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 patch35_7,mem_patch35
+	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 patch36_0,mem_patch36
+	fetch 1,mem_credit_given
+	rtn blank
+	hfetch 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 patch36_1,mem_patch36
+	fetch 1,mem_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 patch36_2,mem_patch36
+	//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 patch36_3,mem_patch36
+	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 patch36_4,mem_patch36
+	fetch 2,mem_nl_rx_data_src		//src
+	copy pdata,contru
+	fetch 2,mem_current_packet_length
+	copy pdata,loopcnt
+	call uart_copy_rx_bytes_fast
+	copy contw,temp
+	copy contru,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 patch36_5,mem_patch36
+	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
+
+rfcomm_init:
+	rtn
+rfcomm_init_spp:
+set_CR_bit:
+rfcomm_calculate_FCS_sabm:
+rfcomm_calculate_FCS_ua:
+rfcomm_calculate_FCS_dlci0:
+rfcomm_calculate_FCS_dlci0_res:
+rfcomm_save_FCS_uih:
+caculate_UIHdata_fcs:
+caculate_fcs:
+mod2div:
+mod2div_loop:
+mod2div_not_enough_reduction:
+mod2div_end:
+get_rfcomm_snd_adss:
+dlci_to_address_cmd:
+dlci_to_address_res:
+channel_to_dlci:
+rfcomm_rx_process_DLCI0_sabm:
+rfcomm_rx_process_DLCI0_ua:
+rfcomm_rx_process:
+rfcomm_rx_process_remote_page:
+parse_dlci0_rp:
+parse_DLCI0_rp_uih:
+parse_DLCI0_rp_uih_pn_cmd:
+parse_DLCI0_rp_uih_pn_cmd_spp:
+parse_DLCI0_rp_uih_pn_res:
+parse_DLCI0_rp_uih_pn_res_common:
+get_rfcomm_param_modem_status:
+get_rfcomm_head_struct:
+get_rfcomm_current_length:
+get_rfcomm_uih_head_struct:
+get_param_payload_ptr:
+get_rfcomm_param_length_common:
+get_rfcomm_length_common:
+get_rfcomm_prarmer_negotiation:
+parse_DLCI0_rp_uih_ms_cmd:
+parse_DLCI0_rp_uih_ms_cmd_spp:
+parse_DLCI0_rp_uih_ms_res:
+parse_DLCI0_rp_uih_ms_res_spp:
+parse_uih_rp:
+parse_uih_rp_spp:
+parse_uih_rp_spp_ua:
+parse_uih_rp_spp_sabm:
+parse_uih_spp_uih_credits:
+parse_uih_spp_uih:
+parse_uih_spp_uih_cont:
+parse_uih_rp_spp_disconn:
+rfcomm_rx_process_reconn:
+	branch assert 
+parse_DLCI0_reconn:
+parse_DLCI0_reconn_uih:
+parse_DLCI0_reconn_uih_pn_cmd:
+parse_DLCI0_reconn_uih_pn_cmd_spp:
+parse_DLCI0_reconn_uih_ms_cmd:
+parse_DLCI0_reconn_uih_ms_cmd_spp:
+parse_DLCI0_reconn_uih_ms_res:
+parse_DLCI0_reconn_uih_ms_res_noext:
+parse_DLCI0_reconn_uih_ms_res_spp:
+parse_uih_reconn:
+parse_uih_reconn_spp:
+parse_uih_reconn_spp_ua:
+parse_uih_reconn_spp_sabm:
+parse_uih_reconn_spp_disconn:
+rfcomm_rx_process_end:
+rfcomm_send_more_pkt:
+rfcomm_send_more_pkt_msc_cmd_spp:
+rfcomm_send_sabm:
+rfcomm_send_ua:
+rfcomm_send_param_neg_cmd:
+rfcomm_send_param_neg_res:
+rfcomm_send_modem_status_cmd:
+rfcomm_send_modem_status_res:
+rfcomm_send_uih_without_payload:
+rfcomm_increase_credit_given:
+spp_process_rx_data:
+spp_tx_rfcomm_packet:
+ssp_tx_rfcomm_from_uart:
+ssp_tx_rfcomm_from_uart_without_credit:
+ssp_tx_rfcomm_from_uart_common:
+ssp_tx_rfcomm_from_uart_common0:
+ssp_tx_write_length:
+ssp_tx_write_long_packet:
+ssp_tx_write_given_credit:
+	branch assert
+endif
Index: HS_24G&BLE_Motion/program/scheduler.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/scheduler.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/scheduler.prog	(working copy)
@@ -0,0 +1,461 @@
+scheduler_process:
+	bpatchx patch36_6,mem_patch36
+	call check_51cmd
+	call app_process_bb_event
+	call process_conn_sm
+/* check the connection state sequence byte */
+	bpatchx patch36_7,mem_patch36
+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 patch37_0,mem_patch37
+//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 patch37_1,mem_patch37
+//	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 patch37_2,mem_patch37
+	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 patch37_3,mem_patch37
+	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:
+	bpatchx patch37_4,mem_patch37
+	fetch 2,mem_tx_len
+	branch assert,blank
+	arg l2cap_max_pkt_len,temp //max len of dh3 pkt
+	isub temp,pdata
+	nbranch scheduler_Tx_l2cap_last_pkt,positive
+	bpatchx patch37_5,mem_patch37
+	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 patch37_6,mem_patch37
+	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
+	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
+	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
+	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 patch37_7,mem_patch37
+	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 patch38_0,mem_patch38
+	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 patch38_1,mem_patch38
+	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 patch38_2,mem_patch38
+	call l2cap_malloc_sdp_channel
+	call sdp_send_spp_request
+	branch MSDP_send_req_done
+
+upper_sm_send_rfcomm_conn:
+	bpatchx patch38_3,mem_patch38
+	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 patch38_4,mem_patch38
+	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 patch38_5,mem_patch38
+	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 patch38_6,mem_patch38
+	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 patch38_7,mem_patch38
+	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 patch39_0,mem_patch39
+	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 patch39_1,mem_patch39
+	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 patch39_2,mem_patch39
+	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 patch39_3,mem_patch39
+	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 patch39_4,mem_patch39
+	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: HS_24G&BLE_Motion/program/sdp.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/sdp.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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 patch39_5,mem_patch39
+	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 patch39_6,mem_patch39
+	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 patch39_7,mem_patch39
+	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 patch3a_0,mem_patch3a
+	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 patch3a_1,mem_patch3a
+	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 patch3a_2,mem_patch3a
+	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 patch3a_3,mem_patch3a
+	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 patch3a_4,mem_patch3a
+	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 patch3a_5,mem_patch3a
+	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 patch3a_6,mem_patch3a
+	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 patch3a_7,mem_patch3a
+	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 patch3b_0,mem_patch3b
+	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 patch3b_1,mem_patch3b
+	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: HS_24G&BLE_Motion/program/security.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/security.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/security.prog	(working copy)
@@ -0,0 +1,1642 @@
+
+ifdef SECURE_CONNECTION
+	
+function_g2:
+	bpatchx patch3b_2,mem_patch3b
+	jam 80,mem_AES_CMAC_data_length
+	arg memdat,contw
+	arg mem_le_srand,contr
+	call memcpy16
+	arg mem_le_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 patch3b_3,mem_patch3b
+	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 patch3b_4,mem_patch3b
+	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_le_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_le_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 patch3b_5,mem_patch3b
+	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 patch3b_6,mem_patch3b
+	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 patch3b_7,mem_patch3b
+	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 patch3c_0,mem_patch3c
+	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
+
+	/* 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			/* B0 */
+	lshift8 temp,regext
+	ior regext,regext
+	increase 1,regext_index
+	rshift8 temp,regext
+	rshift16 regext,regext
+	fetch 2,mem_le_ivm
+	lshift16,pdata,pdata
+	ior regext,regext				/* octet3&octet4 of counter and low 16 bit of IV */
+	increase 1,regext_index
+	ifetch 4,contr					/* IV2-IV5 */
+	iforce regext
+	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
+	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
+	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
+	
+le_encrypt:
+	bpatchx patch3c_1,mem_patch3c
+	arg mem_le_txheader,regc
+	fetcht 5,mem_le_pcnt_tx
+	call generate_mic
+	force regidx_xor,regext_index
+	iforce regext
+	force 0,rega					/* rega is block counter */
+	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_le_pcnt_tx
+	increase 1,temp
+	storet 5,mem_le_pcnt_tx
+	rtn
+
+le_decrypt:
+	bpatchx patch3c_2,mem_patch3c
+	fetch 1,mem_le_rxbuf+1
+	sub pdata,20,null
+	branch le_dec_cont,positive
+le_dec_cont:
+	arg mem_le_rxbuf+2,regc
+	add pdata,-1,regb
+	increase -4,pdata				/* mic will be discarded */
+	store 1,mem_le_rxbuf+1
+	iadd regc,contr
+	ifetch 4,contr
+	force regidx_xor,regext_index
+	iforce regext
+	force 0,rega					/* rega is block counter */
+	fetcht 5,mem_le_pcnt_rx
+	call first_block_data
+	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				/* MIC ok? */
+	nrtn blank
+	fetch 4,mem_le_last_mic			/* reduntdant packet? */
+	isub temp,pdata
+	rtn blank
+	storet 4,mem_le_last_mic
+	fetch 5,mem_le_pcnt_rx
+	increase 1,pdata
+	store 5,mem_le_pcnt_rx
+	force 0,pdata
+	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 patch3c_3,mem_patch3c
+	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
+
+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:
+	hfetch 1,core_clkoff
+	set0 CLOCK_OFF_AUTH_ROM,pdata
+	hstore 1,core_clkoff
+	rtn
+
+disable_authrom:
+	hfetch 1,core_clkoff
+	set1 CLOCK_OFF_AUTH_ROM,pdata
+	hstore 1,core_clkoff
+	rtn
+
+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
+
+
+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: HS_24G&BLE_Motion/program/sim.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/sim.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/sim.prog	(working copy)
@@ -0,0 +1,518 @@
+simstart:
+	force 8,radio_ctrl
+	force 0,radio_ctrl
+	jam 0xe0,0x8907			// set if_phase=7 for simulation environment
+	jam 0xe0,0x890a
+	jam 0x25,0x8912
+	jam 0xff,rfen_ck
+	jam 5,core_clksel
+//	call init_24m
+//	branch sim_usb
+//	branch sim_iic
+//	branch sim_clk
+//	call sim_uart
+//	branch sim_lpm
+//	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:
+	hfetch 1,0xffd
+	beq 1,sim_assert
+	branch sim_lpm_do
+	setarg 0
+	set1 31,pdata
+	store 8,mem_gpio_wakeup_low
+	branch lpm_hibernate
+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
+	hfetch 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:
+	hfetch 1,core_misc_status
+	bbit1 6,sim_lpm_loop
+	hfetch 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
+sim_lpm_do:
+	arg 30,temp
+	branch lpm_sleep
+
+sim_assert:
+	branch sim_assert
+
+
+sim_main:
+	call init_param
+	jam 0,core_clkoff
+	hfetch 1,0x17fd
+	beq 1,sim_slave
+
+	arg 3,temp
+	call set_freq_tx
+	nop 500
+	enable encode_fec0
+	disable is_rx
+	enable is_tx
+	set1 TXGFSK,radio_ctrl
+	call sim_access
+	preload access
+	inject mod,72
+	setarg 0x123456
+	inject mod,72
+	set1 PSK,radio_ctrl
+	setarg 0xabeee
+	inject mod,20
+	setarg 0x22aa33
+	inject mod,72
+	branch s_loop
+
+
+	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 0xf,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 700
+	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:
+
+	arg 3,temp
+	call set_freq_rx
+	call rf_rx_enable
+	call sim_access
+	enable is_rx
+	enable decode_fec0
+	correlate null,never
+	set1 PSK,radio_ctrl
+	correlate null,never
+	parse demod,bucket,72
+	branch s_loop
+
+
+	jam 2,mem_scan_mode
+	call page_scan_dispatch
+	branch sim_slave
+
+sim_access:
+	setarg 0x1234567
+	iforce lap
+	pulse recalc
+	nop 32
+	rtn
+
+sim_iic:
+	call iicd_init_12m
+	setarg 3
+	hstore 2,core_iicd_txlen
+	setarg 0x1f051e
+	store 3,mem_iicd_addr
+	setarg mem_iicd_addr
+	hstore 2,core_iicd_txaddr
+	setarg 1
+	hstore 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_usb:
+	call usb_init
+sim_usb_loop:
+	call usb_isr
+	branch sim_usb_loop
+
+init_24m:
+	jam 0x4b,core_halfslot
+	jam 0x1d,core_halfslot + 1
+	jam 1,core_clksel
+	rtn
+
+
+p_transmit_sw:
+	reverse uap,regc				// hec init
+	enable encode_fec0
+	set0 mark_longpacket,mark
+	copy am_addr,temp
+	arg 3,loopcnt
+	call p_head
+	copy type,temp
+	arg 4,loopcnt
+	call p_head
+	fetch 1,mem_arq
+	lshift4 pdata,temp
+	arg 3,loopcnt
+	call p_head
+	copy regc,temp
+	arg 8,loopcnt
+	call p_head
+	reverse uap,regc
+	lshift8 regc,regc				// crc init
+	and type,0x1f,pdata
+	beq type_fhs, p_transmit_fhs
+
+
+
+p_transmit_fhs:
+	call fetch_self_bt_adr
+	pulse recalc
+	enable user
+	call p_fec2_init
+	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
+	copy bt_adr,rega
+	nop 12                    /* 30 cycles after recalc for sync word generation */
+	copy bt_clk,timeup
+	fetch 4,mem_clkn_bt
+	icopy bt_clk
+	preload fhs0
+	iforce temp
+	arg 32,loopcnt
+	call p_fec2
+	preload fhs0
+	set1 58,pdata		/* eir */
+	rshift32 pdata,temp
+	arg 40,loopcnt
+	call p_fec2
+	preload fhs1
+	iforce temp
+	arg 32,loopcnt
+	call p_fec2
+	preload fhs1
+	rshift32 pdata,temp
+	arg 40,loopcnt
+	call p_fec2
+	copy timeup,bt_clk
+	copy rega,bt_adr
+	copy regc,temp
+	arg 16,loopcnt
+	disable user
+	call p_fec2
+	branch end_of_packet
+	
+// hec or crc is in regc
+p_hec:
+	deposit temp
+	ixor regc,pdata
+	rshift regc,regc
+	rtnbit0 0
+	xor_into 0xe5,regc
+	rtn
+
+// hec or crc is in regc
+p_crc:
+	deposit temp
+	ixor regc,pdata
+	rshift regc,regc
+	rtnbit0 0
+	setarg 0x8408
+	ixor regc,regc
+	rtn
+
+
+// white is in debug
+p_white:
+	isolate1 6,debug
+	lshift debug,debug
+	nrtn true
+	xor_into 0x11,debug
+	xor_into 1,temp
+	rtn
+
+// data in temp, length in loopcnt
+p_head:
+	call p_hec
+	call p_white
+	isolate0 0,temp
+	setarg 0
+	branch p_fec1_0,true
+	setarg 7
+p_fec1_0:
+	inject mod,3
+	rshift temp,temp
+	loop p_head
+	rtn
+
+p_fec0:
+	call p_white
+	deposit temp
+	inject mod,1
+	loop p_fec0
+	rtn
+
+p_fec2:
+	call p_crc,user
+	call p_white
+	deposit temp
+	ixor alarm,pdata
+	rshift alarm,alarm
+	bbit0 0,p_fec2_zero
+	xor_into 0x15,alarm
+p_fec2_zero:
+	deposit temp
+	inject mod,1
+	rshift temp,temp
+	increase -1,queue
+	nbranch p_fec2_nf,zero
+	deposit alarm
+	inject mod,5
+	call p_fec2_init
+p_fec2_nf:
+	loop p_fec2	
+	rtn
+
+p_fec2_init:
+	arg 10,queue
+	arg 0,alarm
+	rtn
+
+
+ifdef NULL
+sim_250k:
+	call init_250k
+	hfetch 1,1
+	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_uart:
+	setarg mem_le_test_uart_rxbuf
+	hstore 2,core_uart_tsaddr
+	hstore 2,core_uart_twptr
+	hstore 2,core_uart_trptrp
+	increase 0x80,pdata
+	hstore 2,core_uart_teaddr
+	hstore 2,core_uart_rsaddr
+	hstore 2,core_uart_rrptr
+	increase 0x80,pdata
+	hstore 2,core_uart_readdr
+	increase 1,pdata
+	jam 0x84,core_gpio_sel1
+	jam 0x80,core_gpio_pu2
+	jam 0xe5,core_uart_ctrl
+	setarg 0x30
+	hstore 2,core_uart_baud
+	hfetch 1,1
+	bbit1 7,sim_uart_wait
+	setarg 0x1357d9a
+	store 4,mem_le_test_uart_rxbuf
+	setarg 0x55aa69
+	istore 3,contw
+	setarg 0xfedcb3
+	istore 3,contw
+	deposit contw
+	hstore 2,core_uart_twptr
+sim_uart_wait:
+	nop 20000
+	rtn
+
+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
+	hstore 2,core_iicd_txlen
+	setarg 0x1f051e
+	store 3,mem_iicd_addr
+	setarg mem_iicd_addr
+	hstore 2,core_iicd_txaddr
+	setarg 1
+	hstore 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
+	hstore 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
Index: HS_24G&BLE_Motion/program/simple_pairing.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/simple_pairing.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/simple_pairing.prog	(working copy)
@@ -0,0 +1,2362 @@
+
+publickey_init:
+	fetch 1,mem_ssp_enable
+	nbranch sp_initialize,blank
+	branch sp_initialize_256
+
+sp_calc_sequence_256_check:
+	bpatchx patch3c_4,mem_patch3c
+	fetch 1,mem_ssp_enable
+	rtn blank
+	fetch 1,mem_sp_local_key_invalid
+	rtnne SP_KEY_VALID
+	fetch 1,mem_le_secure_connect_enable
+	rtn blank
+	fetch 1,mem_le_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_le_sc_calc
+	beq SP_CALC_STANDBY,sp_initialize_256
+	rtn
+stop_publickey_calc_256:
+	jam SP_CALC_STANDBY,mem_le_sc_calc	
+	rtn
+	
+ifdef SIMPLE_PAIRING
+
+sp_initialize:
+	bpatchx patch3c_5,mem_patch3c
+	fetch 1,mem_ssp_enable 
+	branch ssp_disable, blank
+	call ssp_enable
+	call sp_clear_flags
+	branch sp_pubkey_calc 
+	
+sp_clear_flags:
+	setarg 0
+	store 8,mem_sp_state_start
+	store 4,mem_sp_flag_start
+	store 7,mem_sp_iocap_remote
+	rtn
+
+sp_generate_local_key:
+	jam SP_FLAG_COMMIT,mem_sp_flag  
+	branch sp_generate_local_key0
+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:
+	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_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
+	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:
+    /* calculate Ea here */
+	bpatchx patch3c_6,mem_patch3c
+	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_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_sp_iocap_local
+	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
+
+    
+sp_pubkey_calc:
+	bpatchx patch3c_7,mem_patch3c
+	fetch    1,mem_sp_local_key_invalid
+	rtnne SP_KEY_INVALID
+	fetch    1,mem_sp_calc
+	rtnne  SP_CALC_STANDBY
+	arg      mem_sp_private_key,contw 
+	force    11,queue
+	call     random_generator
+	random   pdata
+	rshift   pdata,pdata
+	istore   2,contw 
+/* we don't need fixed private key,generate random key instead */ 
+	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 patch3d_0,mem_patch3d
+	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 patch3d_1,mem_patch3d
+         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 patch3d_2,mem_patch3d
+	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 patch3d_3,mem_patch3d
+	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 patch3d_4,mem_patch3d
+	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:
+	call g_noninit0
+	call sha_result
+	branch g_common0
+
+g_noninit:
+	call g_noninit0
+	branch g_common0
+	
+g_noninit0:
+ 	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
+	
+g_init:
+ 	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
+	branch g_common0
+	
+g_common:	
+	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
+
+function_f1_no_key:
+	jam 0,mem_passkey_1bit
+	branch function_f1_common
+	
+function_f1:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f1_no_key
+function_f1_common:
+	bpatchx patch3d_5,mem_patch3d
+	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
+	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:
+	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:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f3a_no_pin
+function_f3a_common:
+	bpatchx patch3d_6,mem_patch3d
+	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:
+	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
+
+else
+sp_initialize:
+	rtn
+
+endif
+	
+
+ifdef SECURE_CONNECTION
+
+sp_initialize_256:	
+	bpatchx patch3d_7,mem_patch3d
+	fetch 1,mem_le_secure_connect_enable
+	branch  le_secure_connection_disable,blank
+	call le_secure_connection_enable
+	call sp_clear_flags
+//	jam SP_KEY_INVALID_256,mem_le_sc_local_key_invalid
+	branch sp_pubkey_calc_256
+    	
+
+
+
+sp_pubkey_calc_256:
+	fetch    1,mem_le_sc_local_key_invalid
+	rtnne SP_KEY_INVALID
+	fetch    1,mem_le_sc_calc
+	rtnne  SP_CALC_STANDBY
+	
+	arg      mem_le_private_key_256,contw 
+	force    15,queue
+	call     random_generator
+	random   pdata
+	rshift   pdata,pdata
+	istore   2,contw 
+
+	arg      mem_k_256,contw
+	arg      mem_le_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_le_sc_calc
+	rtn    
+
+sp_pubkey_generated_256:
+	arg      mem_le_pubkey_local_x_256,contw
+	arg      mem_bx_256,contr
+	call     memcpy64   
+	jam      SP_KEY_VALID_256,mem_le_sc_local_key_invalid
+	jam      SP_CALC_STANDBY,mem_le_sc_calc
+	rtn
+	
+
+
+sp_dhkey_calc_256:
+	fetch    1,mem_sp_dhkey_invalid
+	rtnne  SP_KEY_INVALID
+	fetch    1,mem_le_sc_calc
+	rtnne  SP_CALC_STANDBY
+
+	arg      mem_k_256,contw
+	arg      mem_le_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_le_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_le_sc_calc
+	rtn
+
+
+
+sp_calc_sequence_256:
+	fetch 1,mem_le_secure_connect_enable
+	rtn blank
+	fetch 1,mem_le_sc_calc
+	rtn blank
+	increase 0x80,pdata
+	store    1,mem_le_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 patch3e_0,mem_patch3e
+	call ecunmapz_256
+	fetch 1,mem_le_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 patch3e_1,mem_patch3e
+	setarg 256,pdata
+	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 patch3e_2,mem_patch3e
+	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: HS_24G&BLE_Motion/program/ui.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/ui.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/ui.prog	(working copy)
@@ -0,0 +1,701 @@
+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 patch3e_3,mem_patch3e
+	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
+	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
+	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
+	branch gpio_out_inactive
+
+
+ui_led_on_static:
+	add regb,LED_OFFSET_LED_GPIO,regc
+	ifetcht 1,regc
+	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 patch3e_4,mem_patch3e
+	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
+	//call ice_break
+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:
+	bpatchx patch3e_5,mem_patch3e
+	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 patch3e_6,mem_patch3e
+	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 patch3e_7,mem_patch3e
+	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 patch3f_0,mem_patch3f
+	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 patch3f_1,mem_patch3f
+	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_ENTER_SNIFF_SUBRATING,check_51cmd_enter_sniff_subrating
+  	beq BT_CMD_EXIT_SNIFF_SUBRATING,check_51cmd_exit_sniff_subrating
+  	beq BT_CMD_SNIFF_TEST,check_51cmd_sniff_test
+	beq BT_CMD_START_INQUIRY,check_51cmd_inq
+	beq BT_CMD_STOP_INQUIRY,check_51cmd_stop_inq
+	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_LE_SMP_SECURITY_REQUEST,check_51cmd_le_smp_sec_req
+	beq BT_CMD_BB_RECONN_CANCEL,check_51cmd_bb_reconn_cancel
+	//context related, process in context
+	store 1,mem_fifo_temp
+	bpatchx patch3f_2,mem_patch3f
+	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
+	beq BT_CMD_DISCONNECT,check_51cmd_disconnect
+  	beq BT_CMD_ENTER_SNIFF,cmd_in_sniff
+  	beq BT_CMD_EXIT_SNIFF,cmd_exit_sniff
+  	beq BT_CMD_SET_PIN_CODE,check_51cmd_pincode
+	beq BT_CMD_LE_DISCONNECT,check_51cmd_le_disconnect
+	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
+	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
+	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 0x07
+check_51cmd_enter_sniff_subrating:
+	rtn
+
+
+//command opcode 0x08
+check_51cmd_exit_sniff_subrating:
+	rtn	
+
+
+//command opcode 0x09
+check_51cmd_sniff_test:
+	rtn	
+
+
+//command opcode 0x10
+check_51cmd_pincode:
+	jam pincode_state_pincode_ready,mem_pincode_state
+	branch cmd_pair
+
+
+//command opcode 0x11
+check_51cmd_inq:
+	rtn
+
+
+//command opcode 0x12
+check_51cmd_stop_inq:
+	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
+	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 parse_lmp_dhkey_check_reject	
+
+
+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
+
+
+//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: HS_24G&BLE_Motion/program/utility.prog
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/utility.prog	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/program/utility.prog	(working copy)
@@ -0,0 +1,614 @@
+
+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:
+	deposit contw
+	store 2, mem_contw
+	storet 8,mem_temp
+	deposit timeup
+	store 4,mem_timeup
+	call push_stack_rega_b_c
+	deposit contr
+	store 2, mem_contr
+	rtn
+
+push_stack_rega_b_c:
+	deposit rega
+	store 4, mem_rega
+	deposit regb
+	store 4, mem_regb
+	deposit regc
+	store 3, mem_regc
+	rtn
+
+pop_stack:
+	fetcht 8,mem_temp
+	fetch 4,mem_timeup
+	iforce timeup
+	call pop_stack_rega_b_c
+	fetch 2, mem_contw
+	iforce contw
+	fetch 2, mem_contr
+	iforce contr
+	rtn
+
+pop_stack_rega_b_c:
+	fetch 4, mem_rega
+	iforce rega
+	fetch 4, mem_regb
+	iforce regb
+	fetch 3,mem_regc
+	iforce 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
+
+memcpy96:
+	call memcpy32
+memcpy64:
+	call memcpy32
+	branch memcpy32
+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_10ms:
+	arg 10,loopcnt
+delay_ms_wait:
+	nop 12000
+	loop delay_ms_wait
+	rtn
+
+bn_zero:
+	force 3,loopcnt
+memset0:
+	force 0,pdata
+memset8:
+	istore   8,contw
+	loop   memset8
+	rtn
+
+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 patch3f_3,mem_patch3f
+	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
+
+
+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 patch3f_4,mem_patch3f
+	rtn
+
+timer_check_timeout:
+	arg 0x800,timeup
+	lshift16 timeup,timeup
+	iadd timeup,pdata
+	rtn
+
+
+timer_reinit:
+	arg 0,queue
+timer_check:
+	bpatchx patch3f_5,mem_patch3f
+	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
+	setarg 3750
+	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
+	arg -61786,temp
+	iadd temp,pdata
+	set0 64,pdata
+	rtn
+
+clk2rt:
+	iforce contr
+	rshift16 pdata,pdata
+	arg 3750,temp
+	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:
+	arg 3750,temp
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	lshift16 pdata,pdata
+	remainder temp
+	ior temp,temp
+	rtn
+
+
+
+//input:contru 
+//output:temp
+//used register: temp regc
+string2dec_from_uart:
+	arg 0,temp
+string2dec_from_uart_done:
+         copy temp,regc
+	ifetch 1,contru
+	call uchar2dialog	
+	copy regc,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
+
+
+wait_div_end:	
+	rtn modone
+	branch wait_div_end
+
+
+
+//input:
+//	count:loopcnt str1:rega str2:regb
+//output:
+//	same:set falg true ,diff set falg false
+// 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:
+	hfetch 2,core_uart_txitems
+	nbranch wait_uarttx,blank
+	rtn
+
+ice_break:
+	jam 0x1,core_ice_ctrl
+	rtn
+
+ice_setbp:
+	hstore 2,core_ice_break0
+	hfetch 1,core_ice_ctrl
+	set1 4,pdata
+	hstore 1,core_ice_ctrl
+	rtn
+ice_setbp2:
+	hstore 2,core_ice_break1
+	hfetch 1,core_ice_ctrl
+	set1 6,pdata
+	hstore 1,core_ice_ctrl
+	rtn
+	
+ice_set_write_bp:
+	hstore 2,core_ice_break0
+	jam 0x30,core_ice_ctrl
+	rtn
+	
+
+
+test_enable_white:
+	hfetch 1,core_config
+	set0 whiteoff_bit,pdata
+	hstore 1,core_config			/* whitening on */
+	rtn
+
+check_uart_tx_buff:
+	hfetch 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 patch3f_6,mem_patch3f
+	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 patch3f_7,mem_patch3f
+	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
+	
+not_greater_than:
+	isub temp,null
+	nrtn positive
+	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
+
+disable_blank:
+	setarg 1
+	rtn
+
+enable_blank:
+	setarg 0
+	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
+
+
Index: HS_24G&BLE_Motion/sched/109x.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/109x.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/109x.dat	(working copy)
@@ -0,0 +1,37 @@
+
+mem_lpm_config:8f 1b ca	#4khz
+mem_lpm_xtalcnt:00 0a 0b ef 07
+mem_lpm_hibernate_switch:00
+mem_gpio_wakeup_low:00 00 00 00 00 00 00 00
+mem_fcomp_mul:02
+mem_fcomp_div:24
+mem_iscan_window:12 00
+mem_iscan_interval:00 02
+mem_pscan_window:12 00
+mem_pscan_interval:00 02
+mem_inq_window:20 00
+mem_page_window:20 00
+mem_page_to:00 40
+mem_rx_window_init:80 04
+mem_rx_window_sniff:00 08
+
+mem_seqi:00
+
+#write to null
+mem_24g_head_ptr:00 84
+
+
+mem_tx_power:00#0dbm
+mem_rf_init_data_new:
+# tx power
+4b ba
+55 d0
+56 e0
+57 88
+58 6c
+59 10
+ff
+mem_rf_init_ptr:mem_rf_init_data_new
+
+
+
Index: HS_24G&BLE_Motion/sched/AntiLost.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/AntiLost.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/AntiLost.dat	(working copy)
@@ -0,0 +1,174 @@
+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:08
+mem_ui_button_timeout:1e
+mem_ui_button_last_state:01
+
+mem_antl_fast_adv_timeout:64 00
+mem_antl_le_sleep_timeout:b0 04
+
+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:1b
+mem_antl_buzzer_gpio:83
+
+
+mem_antl_fast_adv_led_style:01 ff 1b 32 00 f0 00
+mem_antl_slow_adv_led_style:01 ff 1b 32 00 4e 0c
+mem_antl_power_starting_led_style:01 03 1b 96 00 96 00
+mem_antl_power_starting_buzzer_style:01 03 83 96 00 96 00
+mem_antl_power_off_led_style:01 01 1b 80 0c 00 00
+mem_antl_power_off_buzzer_style:01 01 83 80 0c 00 00
+mem_antl_alert_led_stlye:01 ff 1b 32 00 0e 06
+mem_antl_alert_buzzer_stlye:01 ff 83 32 00 0e 06
+mem_antl_key_led_style:01 01             1b 32 00 32 00
+mem_antl_key_buzzer_style:01 01              83 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_le_transmit_window:50
+mem_rx_window_sniff_inc:00 40
+mem_le_local_mtu:17
+
+
+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:01
+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:
+1b
+ff
+ff
+ff
+
+
+mem_antl_key_num:01
+mem_antl_key_conf0:
+#0
+08
+#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:
+03	#pwm gpio
+04	#pwm channel
+a0	#three  byte frequency
+0f
+00
+32 #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
+
+
Index: HS_24G&BLE_Motion/sched/DM_module.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/DM_module.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/DM_module.dat	(working copy)
@@ -0,0 +1,435 @@
+
+mem_device_option:0a
+mem_ui_profile_supported:40
+mem_app_connection_options:13
+
+mem_features:
+ff
+ff
+8f
+f8      #fe--EDR  F8--BR
+9b      #AFHclose 83
+9d
+59
+83
+
+##############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_credit_flag:00
+mem_rfcomm_max_frame_size:7f 00
+mem_rfcomm_credit_init_data:07
+#####################################
+
+##############SSP CONFIG##############
+mem_sp_iocap_local:03 00 04
+mem_ssp_enable:01
+mem_pin_length:04  30 30 30 30 30
+#####################################
+
+##############UART CONFIG##############
+mem_baud:D0 00
+mem_module_uart_rx_buffer:00 1c
+mem_module_uart_rx_buffer_end:ff 1f
+mem_module_uart_tx_buffer:00 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
+#bit0 MODULE_FLAG_UART_FLOW_CONTROL
+#bit1 MODULE_FLAG_BLE_SEND_MTU23
+#bit2 MODULE_FLAG_BLE_DATA_ENCRYPT
+
+mem_ui_button_gpio:ff
+mem_lpm_mode:01
+mem_lpm_interval: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 21 31 10 3a
+mem_local_name_length:
+'YichipFPGA
+
+###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_le_secure_connect_enable:00
+mem_le_adv_channel_map:07
+mem_le_pairing_mode:01
+
+mem_module_data_write_handle:2d 00
+mem_module_data_write_handle2:2f 00
+
+
+mem_le_adv_enable:00
+mem_le_adv_interval:f0 00
+mem_module_le_lpm_mult:05
+mem_le_lap:2a 31 00 33 02 3a
+mem_le_name_len:
+'Yichip 1021s Mou
+
+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 1021s Mou
+
+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:b5
+mem_le_remote_mtu:17
+
+
+#####################################
+
+
+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 08 46 6c 61 67 74 72 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 1a
+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
+
+
Index: HS_24G&BLE_Motion/sched/car.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/car.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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_le_lap:56 78 01 98 07 2b
+mem_le_name_len:
+'YC-CAR-aa
+
+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_car_le_att_list:
+
+#Primary service: GATT
+01 00 02 00 28 02 01 18
+#Characteristic: 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 00 00
+
+#Primary Service: GAP
+05 00 02 00 28 02 00 18 
+#Characteristic: Device Name
+06 00 02 03 28 01 02
+07 00 02 00 2a 11 55 43 48 4f 4e 20 30 31 20 20 20 20 20 20 20 20 20
+#Characteristic: Appearance
+08 00 02 03 28 01 02 
+09 00 02 01 2a 02 c8 00 
+#Characteristic: Peripheral Preferred Connection Parameters
+0a 00 02 03 28 01 02
+0b 00 02 04 2a 08 06 00 06 00 64 00 2c 01 # interval 6ms, latency 100, timeout 300
+
+#Primary Service: Device Information
+0c 00 02 00 28 02 0a 18 
+#Characteristic: pnp id
+0d 00 02 03 28 01 02
+0e 00 02 50 2a 07 02 8a 24 66 82 01 00
+
+#Primary Service:Car
+0f 00 02 00 28 02 f0 ff
+#Characteristic: Notify/Read UUID
+10 00 02 03 28 01 12
+11 00 02 f1 ff 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+12 00 02 02 29 02 00 00
+#Characteristic: Write UUID
+13 00 02 03 28 01 08
+14 00 02 f2 ff 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
+#End of Attribute list
+00 00
+
+
+
+mem_ui_le_uuid_table:mem_car_le_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:02
+
+#style:01
+mem_car_style1_blink_count:ff
+mem_car_style1_struct_led_gpio:02
+mem_car_style1_on_time:96 02
+mem_car_style1_off_time:3a 07
+
+#style:02
+mem_car_style2_blink_count:ff
+mem_car_style2_struct_led_gpio:ff
+mem_car_style2_on_time:40 01
+mem_car_style2_off_time:40 01
+
+
+mem_car_led_num:0a
+mem_car_led_map:
+02
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+
+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:07
+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:01
+mem_car_config_motor_layout:03
+mem_car_config_ir_rx_gpio:06
+mem_car_config_led_num:08
+mem_car_config_blood_led_gpio:08 09 0a 0b 0c 0d 0e 0f
+
+
+mem_motor1_speed:0a
+mem_motor2_speed:0a
+mem_motor3_speed:0a
+mem_motor1_pwm_set:04 14 00 00 e8 03 00 00
+mem_motor2_pwm_set:05 15 00 01 e8 03 00 00
+mem_motor3_pwm_set:16 1b 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_24g_no_data_timeout_count:b8 0b
+
+#mem_car_led_control:01 01 01 01 01 01 01 01
+
+
+mem_tx_power:02
+mem_250k_freq_enable:00
+mem_24g_head_ptr:mem_24g_car_head_ptr
+mem_24g_car_head_ptr+394:4#offset_24g_pair_txpower
+mem_24g_car_head_ptr+146:20 15 10 05#offset_24g_paring_addr
+mem_24g_car_head_ptr+151:00 13 2c 42#offset_24g_ch_map1
+mem_24g_car_head_ptr+155:06 15 36 48#offset_24g_ch_map2
+mem_24g_car_head_ptr+159:0f 1a 3a 4c#offset_24g_ch_map3
+mem_24g_car_head_ptr+163:11 23 31 4d#offset_24g_ch_map4
+mem_24g_car_head_ptr+195:00#offset_24g_no_ack
+mem_24g_car_head_ptr+205:02#offset_24g_mode
+mem_24g_car_head_ptr+137:30 75#offset_24g_rx_window
+mem_24g_car_head_ptr+349:00#offset_24g_pair_mode auto pair
+mem_24g_car_head_ptr+314:38#offset_24g_hop_interval
+mem_24g_car_head_ptr+315:00#offset_24g_ackpayload_enable
+mem_24g_car_head_ptr+299:16 16 17 02#offset_24g_rx_addr
+
+
+
Index: HS_24G&BLE_Motion/sched/fpga.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/fpga.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/fpga.dat	(working copy)
@@ -0,0 +1,36 @@
+
+
+
+4010:c0
+4011:0f
+4022:80
+4023:02
+
+mem_fcomp_mul:02
+mem_fcomp_div:24
+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_lpm_xtalcnt:00 0a 1b ef 07
+
+mem_lmp_version:08 0e 05 03 00
+
+mem_eeprom_base:30 ff
+mem_eeprom_block_size:80
+
+mem_context_number:01
+
+mem_rf_init_data:
+ff
+mem_rf_init_ptr:mem_rf_init_data
+
+
Index: HS_24G&BLE_Motion/sched/gatt.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/gatt.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/gatt.dat	(working copy)
@@ -0,0 +1,86 @@
+
+#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_direct_addr_type:01
+mem_le_adv_channel_map:07 
+
+mem_lap:77 11 00 33 00 00
+
Index: HS_24G&BLE_Motion/sched/hci.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/hci.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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: HS_24G&BLE_Motion/sched/hci_boot.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/hci_boot.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/hci_boot.dat	(working copy)
@@ -0,0 +1,11 @@
+
+mem_patch00:01
+mem_lpm_config:8f 10 ca
+mem_le_att_list+485:
+68 e4
+69 00
+6a 00
+6b 30
+ff
+mem_rf_init_ptr:mem_le_att_list+485
+
Index: HS_24G&BLE_Motion/sched/le_prcp.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/le_prcp.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/le_prcp.dat	(working copy)
@@ -0,0 +1,80 @@
+#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_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_fcomp_div:24
+mem_fcomp_mul:02
+mem_le_lap:45 67 78 89 90 56
+
Index: HS_24G&BLE_Motion/sched/le_transmit_uuid.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/le_transmit_uuid.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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: HS_24G&BLE_Motion/sched/light.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/light.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/light.dat	(working copy)
@@ -0,0 +1,18 @@
+mem_patch3a:02
+mem_patch1f:20
+
+mem_light_pwm0:04
+mem_light_pwm1:05
+mem_light_pwm2:1b
+mem_light_pwm3:1c
+mem_light_pwm4:03
+mem_light_pwm5:08
+mem_ui_button_gpio:ff
+
+mem_light_cnum:14
+mem_light_pairing_timer:00 02
+mem_light_pairing_enable:01
+mem_le_scan_enable:01
+mem_le_scan_interval:50 00
+mem_le_scan_window:40 00
+
Index: HS_24G&BLE_Motion/sched/mouse.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/mouse.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/mouse.dat	(working copy)
@@ -0,0 +1,924 @@
+mem_patch00:02
+#mem_patch03:00
+#mem_patch09:00
+#mem_patch0a:00
+#mem_patch0b:00
+mem_patch10:20
+mem_patch11:02
+mem_patch14:02
+mem_patch15:01
+mem_patch16:06
+mem_patch18:10
+mem_patch19:06
+mem_patch1c:48
+mem_patch1d:1c
+mem_patch27:02
+mem_patch28:08
+mem_patch29:04
+mem_patch2a:80
+mem_patch2c:88
+mem_patch2d:04
+mem_patch2e:80
+#mem_patch30:00
+mem_patch31:10
+#mem_patch39:00
+
+#debug
+#mem_patch31:11
+#mem_patch2f:40
+#mem_patch37:40
+#mem_patch3e:c0
+
+
+mem_device_option:42
+mem_lpm_mode:01
+mem_lpm_mult:20
+mem_lpm_mult_init:20
+mem_lpm_interval:00 00
+
+mem_mouse_function_enable:
+#bit0 MOUSE_ENABLE_USB
+#bit1 MOUSE_ENABLE_24G
+#bit2 MOUSE_ENABLE_SPI2
+#bit3 MOUSE_ENABLE_FLASH
+#bit4 MOUSE_ENABLE_EEPROM
+#bit5 MOUSE_ENABLE_STATUE_UP_THREE_LED
+#bit6 MOUSE_ENABLE_STATUE_UP
+#bit7 MOUSE_ENABLE_DPI_LED_BLINK
+92
+#bit0 MOUSE_ENABLE_BLE_RANDOM_ADDRE
+#bit1 MOUSE_ENABLE_2K_EEPROM
+#bit2 MOUSE_ENABLE_ADC
+#bit3 MOUSE_ENABLE_INIT_DELAY
+#bit4 MOUSE_ENABLE_DISCOVERY_SENSOR_LED
+#bit5 MOUSE_ENABLE_AUTO_24G_PARING
+#bit6 MOUSE_ENABLE_WAKEUP_FROM_POWER
+#bit7 MOUSE_ENABLE_GPIO_CONTROL_ADC_SENSOR
+45
+
+mem_mouse_mode_config:
+#bit0 MOUSE_24G_ONLY
+#bit1 MOUSE_BLE_ONLY
+#bit2 MOUSE_BT_ONLY
+#bit3 MOUSE_BLE_24G_ENABLE
+#bit4 MOUSE_BT_BLE_24G_ENABLE
+08
+
+mem_app_connection_options:06
+mem_lap:26 10 19 20 18 10
+#mem_local_name_length:
+#'BT 3.0 Mouse
+#mem_sniff_param_interval:
+#0e 00 
+#01 00 ##mem_sniff_param_attempt:01 00
+#02##mem_sniff_param_timeout:00 00
+
+
+mem_unsniff2sniff_timer:0a
+mem_ssp_mode_flag:03
+mem_ssp_enable:01
+##mem_all_uuid_16bits:
+##06
+##03#Type: Complete list of 16-bit UUIDs
+##0011 0100 1002 1124  1200  0001
+mem_all_uuid_128bits:00
+mem_ptt:00
+
+
+mem_sp_iocap_local:03 00 04
+mem_ui_profile_supported:01
+mem_eir_enable:01
+
+mem_le_adv_data_len:1f
+mem_le_adv_data:
+#appearance
+03 19 c2 03
+
+#flag 
+02 01 05
+
+#uuid
+03 03 12 18
+
+#name
+'\09BT 5.0 Mouse
+
+mem_le_scan_data_len:1f
+mem_le_scan_data:
+#name
+'\09BT 5.0 Mouse
+
+
+#max 20bytes, att list data rom limits
+mem_le_name_len:
+'BT 5.0 Mouse
+
+
+mem_le_interval_min:
+07 00 #min interval
+07 00 #max interval
+20 00 #latency
+2c 01 #timeout
+
+
+mem_le_adv_interval:00 00
+mem_le_adv_type:00 
+mem_le_adv_own_addr_type:00
+mem_le_adv_channel_map:07 
+
+mem_le_lap:8e b1 3a 0e 8e ed
+
+mem_le_transmit_window:50
+
+mem_le_notify_handle:19 00
+mem_le_pairing_handle:22 00
+
+
+mem_discovery_timeout:08 07#3min
+mem_mouse_direct_timeout:50 00#8s
+mem_mouse_no_data_timeout:70 17 #10min
+
+
+mem_spi_ncs_gpio:ff
+mem_ui_button_gpio:ff
+mem_ui_button_timeout:1e
+
+mem_device_number:02 #max device number
+mem_24g_device_number:02 #devie 2 :24g mode
+mem_adc_config_flag:02 #0 vinlpm 1 hvin 2 gpio
+mem_adc_channel:32 #gpio5
+mem_mouse_vdd_full_vol:96 00#1.5v
+5a 00#mem_mouse_vdd_empty_vol:5a 00#0.9v
+64 00#mem_mouse_vdd_low_vol:64 00  #1v
+
+mem_config_sensor_type:00
+02 #mem_config_sensor_motion:02
+06 #mem_lbutton_gpio:04
+08 #mem_rbutton_gpio:1b
+04 #mem_mbutton_gpio:17
+06#mem_bk_button_gpio:ff
+04 #mem_fw_button_gpio:ff
+08 #mem_dpi_button_gpio:06
+1b #mem_whee_a_data_gpio:02
+1c #mem_whee_b_data_gpio:03
+ff #mem_whee_ta_data_gpio:ff
+ff #mem_whee_tb_data_gpio:ff
+ff #mem_config_bt_button_gpio:ff
+ff #mem_config_select_device_button_gpio:ff
+ff #mem_config_paraing_led_gpio:ff
+ff #mem_config_low_voltage_alarm_gpio:08
+ff #mem_config_device1_led_gpio:08
+ff #mem_config_device2_led_gpio:ff
+ff #mem_config_device3_led_gpio:ff
+03 #mem_sensor_data_gpio:18
+ff #mem_dpi_led_gpio:08
+04 #mem_config_function_enable:04
+00 #mem_config_sensor_angle:00
+ff #mem_select_sensor_angle_gpio:ff
+ff #mem_select_adc_gpio:ff
+
+mem_mouse_multi_led_gpio:85
+mem_mouse_multi_led_blink_timer_init:05
+
+mem_eeprom_wp_gpio:14
+mem_sensor_reset_gpio:ff
+mem_sensor_squal_reg:07# 07:3205         	06:3610
+mem_usb_offline_check_gpio:ff
+mem_wire_usb_interval:19 #128
+
+mem_config_function_enable:
+#bit0 ENABLE_BT_DISCOVERY_BY_GPIO_LED
+#bit1 ENABLE_MODE_LED
+#bit2 ENABLE_LOW_VOLTAGE_LED
+#bit3 ENABLE_DEVICE_LED
+#bit4 ENABLE_BT_BUTTON
+#bit5 ENABLE_SELECT_DEVICE_BY_GPIO_BUTTON
+#bit6 ENABLE_SELECT_DEVICE_BY_SWITCH
+#bit7 ENABLE_SENSOR_MOTION_PIN
+04
+
+mem_mouse_dpi_seting:
+01##mem_320x_dpi_1
+02##mem_320x_dpi_2
+03##mem_320x_dpi_3
+04##mem_320x_dpi_4
+
+20##mem_3212_dpi_1#1200
+2a##mem_3212_dpi_2#1000
+22##mem_3212_dpi_3#1600
+2a##mem_3212_dpi_4#2400
+
+04##mem_3610_dpi_1
+05##mem_3610_dpi_2
+07##mem_3610_dpi_3
+08##mem_3610_dpi_4
+
+mem_mouse_dpi_blink_count:00
+
+
+mem_ui_led_struct_ptr:mem_mouse_led_type
+mem_ui_led_struct_num:01
+
+
+mem_mouse_le_uuid_sup:
+25 00 02 03 28 01 12 
+26 00 02 4d 2a 07 00 00 00 00 00 00 00 
+27 00 02 02 29 02 00 00
+28 00 02 08 29 02 11 01
+29 00 02 03 28 01 0e 
+2a 00 02 4d 2a 07 00 00 00 00 00 00 00
+2b 00 02 08 29 02 11 02
+
+  
+#24g init
+mem_24g_mode:01#tx
+mem_24g_data_type:01        #mouse 1,kb 2
+mem_24g_max_retry:04#max tx retry
+mem_24g_no_ack:00#with ack
+mem_24g_rx_window:c0 12     #400us
+mem_24g_interval:19
+mem_24g_interval_min:19
+mem_24g_interval_max:1c
+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_pairing_sm:ff
+mem_24g_paring_addr:20 15 10 05
+mem_24g_common_temp:00 00 00 00 00 00 00 00 00 00
+mem_24g_enter_hibernate:00 48 60 00 00 00 00 00#10 min
+
+mem_device_flag:
+01
+ff
+ff ff ff ff ff ff
+mem_device2_type:
+34
+11 22 33 44 55 66
+mem_device3_type:
+34
+11 22 33 44 55 66
+
+
+mem_flash_base:00 70 00
+mem_eeprom_base:90 1f
+mem_eeprom_block_size:80
+mem_reconn_times_init:00
+mem_bt_discovey_button_statue:01#default: button up
+mem_empty_count:03
+
+
+#yichip sdp
+#04 0011 0100 1002 1124
+#00 01 00 00
+#36 01 6d
+#09
+#00
+#00
+#0a
+#00
+#01
+#00
+#00
+#09
+#00
+#01
+#35
+#03
+#19
+#11
+#24
+#09
+#00
+#04
+#35
+#0d
+#35
+#06
+#19
+#01
+#00
+#09
+#00
+#11
+#35
+#03
+#19
+#00
+#11
+#09
+#00
+#05
+#35
+#03
+#19
+#10
+#02
+#09
+#00
+#06
+#35
+#09
+#09
+#65
+#6e
+#09
+#00
+#6a
+#09
+#01
+#00
+#09
+#00
+#09
+#35
+#08
+#35
+#06
+#19
+#11
+#24
+#09
+#01
+#00
+#09
+#00
+#0d
+#35
+#0f
+#35
+#0d
+#35
+#06
+#19
+#01
+#00
+#09
+#00
+#13
+#35
+#03
+#19
+#00
+#11
+#09
+#01
+#00
+#25
+#16
+#59
+#69
+#43
+#68
+#69
+#70
+#20
+#42
+#6c
+#75
+#65
+#74
+#6f
+#6f
+#74
+#68
+#20
+#4d
+#6f
+#75
+#73
+#65
+#09
+#01
+#01
+#25
+#05
+#4d
+#6f
+#75
+#73
+#65
+#09
+#01
+#02
+#25
+#06
+#59
+#69
+#43
+#68
+#69
+#70
+#09
+#02
+#00
+#09
+#01
+#00
+#09
+#02
+#01
+#09
+#01
+#11
+#09
+#02
+#02
+#08
+#80
+#09
+#02
+#03
+#08
+#21
+#09
+#02
+#04
+#28
+#01
+#09
+#02
+#05
+#28
+#01
+#09
+#02
+#06
+#35
+#81
+#35
+#7f
+#08
+#22
+#25
+#7b
+#05
+#01
+#09
+#02
+#a1
+#01
+#85
+#02
+#09
+#01
+#a1
+#00
+#05
+#09
+#19
+#01
+#29
+#08
+#15
+#00
+#25
+#01
+#75
+#01
+#95
+#08
+#81
+#02
+#05
+#01
+#09
+#30
+#09
+#31
+#16
+#01
+#f8
+#26
+#ff
+#07
+#75
+#10
+#95
+#02
+#81
+#06
+#09
+#38
+#15
+#81
+#25
+#7f
+#75
+#08
+#95
+#01
+#81
+#06
+#05
+#0c
+#0a
+#38
+#02
+#75
+#08
+#95
+#01
+#81
+#06
+#c0
+#c0
+#05
+#0c
+#09
+#01
+#a1
+#01
+#85
+#03
+#75
+#10
+#95
+#02
+#15
+#01
+#26
+#8c
+#02
+#19
+#01
+#2a
+#8c
+#02
+#81
+#60
+#c0
+#06
+#00
+#ff
+#09
+#01
+#a1
+#01
+#85
+#10
+#75
+#08
+#95
+#06
+#15
+#00
+#26
+#ff
+#00
+#09
+#01
+#81
+#00
+#09
+#01
+#91
+#00
+#c0
+#09
+#02
+#07
+#35
+#08
+#35
+#06
+#09
+#04
+#09
+#09
+#01
+#00
+#09
+#02
+#08
+#28
+#00
+#09
+#02
+#09
+#28
+#01
+#09
+#02
+#0a
+#28
+#01
+#09
+#02
+#0b
+#09
+#01
+#00
+#09
+#02
+#0c
+#09
+#1f
+#40
+#09
+#02
+#0d
+#28
+#00
+#09
+#02
+#0e
+#28
+#01
+#09
+#02
+#0f
+#09
+#00
+#12
+#09
+#02
+#10
+#09
+#00
+#00
+#
+#04 1002 1200 0100 0001
+#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
+#04
+#6d
+#09
+#02
+#02
+#09
+#b0
+#16
+#09
+#02
+#03
+#09
+#01
+#29
+#09
+#02
+#04
+#28
+#01
+#09
+#02
+#05
+#09
+#00
+#02
+#00
+#00
+#
+#01 0001
+#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
+#00
+#09
+#02
+#01
+#09
+#05
+#ac
+#09
+#02
+#02
+#09
+#02
+#39
+#09
+#02
+#03
+#09
+#00
+#44
+#09
+#02
+#04
+#28
+#01
+#09
+#02
+#05
+#09
+#00
+#02
+#
+#03 1101 0003 0100
+#00 01 00 02
+#36 00 2f
+#09
+#00
+#00
+#0a
+#00
+#01
+#00
+#02
+#09
+#00
+#01
+#35
+#03
+#19
+#11
+#01
+#09
+#00
+#04
+#35
+#0c
+#35
+#03
+#19
+#01
+#00
+#35
+#05
+#19
+#00
+#03
+#08
+#01
+#09
+#01
+#00
+#25
+#09
+#53
+#50
+#50
+#20
+#73
+
+
+
+#logi sdp
+#04 1000 0100 0001 1002
+#00 00 00 00
+#36 00 92 
+#09 00 00 0a 00 00 00 00 09 00 01 35 03 19 10 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 06 35 
+#09 09 65 6e 09 00 6a 09 01 00 09 00 09 35 08 35 06 19 01 00 09 01 00 
+#09 01 00 25 2c 4c 6f 67 69 74 65 63 68 20 42 6c 75 65 74 6f 6f 74 68 20 
+#57 69 72 65 6c 65 73 73 20 4d 6f 75 73 65 20 53 44 50 20 53 65 72 76 65 
+#72 09 01 01 25 0f 42 6c 75 65 74 6f 6f 74 68 20 4d 6f 75 73 65 09 02 00 35 03 09 01 00
+
+#04 1124 0100 0011 1002
+#00 01 00 00
+#36 01 ee 
+#09 00 00 0a 00 01 00 00 09 00 01 35 03 19 11 24 09 00 04 35 
+#0d 35 06 19 01 00 09 00 11 35 03 19 00 11 09 00 05 35 03 19 10 02 
+#09 00 06 35 09 09 65 6e 09 00 6a 09 01 00 09 00 09 35 08 35 06 19 11 24 
+#09 01 01 09 00 0d 35 0f 35 0d 35 06 19 01 00 09 00 13 35 03 19 00 11 09 01 
+#00 25 21 4c 6f 67 69 74 65 63 68 20 42 6c 75 65 74 6f 6f 74 68 20 57 69 72 65 6c 
+#65 73 73 20 4d 6f 75 73 65 09 01 01 25 0f 42 6c 75 65 74 6f 6f 74 68 20 4d 6f 75 
+#73 65 09 01 02 25 08 4c 6f 67 69 74 65 63 68 09 02 01 09 01 11 09 02 02 08 80 09 02 
+#03 08 21 09 02 04 28 01 09 02 05 28 01 09 02 06 35 fc 35 fa 08 22 25 f6 05 01 09 02 a1 01 
+#85 02 09 01 a1 00 05 09 19 01 29 08 15 00 25 01 75 01 95 08 81 02 05 01 09 30 09 31 16 01 
+#f8 26 ff 07 75 0c 95 02 81 06 09 38 15 81 25 7f 75 08 95 01 81 06 05 0c 0a 38 02 75 08 95 01 81 
+#06 c0 c0 05 0c 09 01 a1 01 85 03 05 06 09 20 15 00 26 64 00 75 08 95 01 81 02 c0 06 00 ff 09 01 
+#a1 01 85 10 75 08 95 06 15 00 26 ff 00 09 01 81 00 09 01 91 00 c0 06 00 ff 09 02 a1 01 85 11 75 
+#08 95 13 15 00 26 ff 00 09 02 81 00 09 02 91 00 c0 05 01 09 06 a1 01 85 04 75 01 95 08 05 07 
+#19 e0 29 e7 15 00 25 01 81 02 95 01 75 08 81 03 95 05 75 01 05 08 19 01 29 05 91 02 95 01 
+#75 03 91 03 95 06 75 08 15 00 26 ff 00 05 07 19 00 29 ff 81 00 c0 05 0c 09 01 a1 01 85 05 
+#15 00 25 01 75 01 95 02 0a 25 02 0a 24 02 81 02 95 01 75 06 81 03 c0 09 02 07 35 08 35 
+#06 09 04 09 09 01 00 09 02 09 28 01 09 02 0a 28 01 09 02 0c 09 1f 40 09 02 0d 28 00 09 
+#02 0e 28 01 09 02 0f 09 00 12 09 02 10 09 00 00
+
+#04 1200 0100 0001 1002
+#00 01 00 01
+#36 00 ad 
+#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 06 35 09 09 65 
+#6e 09 00 6a 09 01 00 09 00 09 35 08 35 06 19 12 00 09 01 00 09 01 00 
+#25 2c 4c 6f 67 69 74 65 63 68 20 42 6c 75 65 74 6f 6f 74 68 20 57 69 72 
+#65 6c 65 73 73 20 4d 6f 75 73 65 20 50 6e 50 20 53 65 72 76 65 72 09 01 
+#01 25 0f 42 6c 75 65 74 6f 6f 74 68 20 4d 6f 75 73 65 09 02 00 09 01 03 09 
+#02 01 09 04 6d 09 02 02 09 b0 16 09 02 03 09 12 03 09 02 04 28 01 09 02 05 09 00 02 00
+
+
Index: HS_24G&BLE_Motion/sched/remote_car.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/remote_car.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/remote_car.dat	(working copy)
@@ -0,0 +1,106 @@
+mem_device_option:10
+
+
+mem_spi_ncs_gpio:ff
+mem_ui_button_gpio:ff
+mem_ui_button_timeout:14
+mem_ui_button_last_state:01
+
+mem_remote_car_queue_each_size:0f 06
+
+mem_queue_ptr:mem_remote_car_queue_each_size
+
+mem_lpm_mode:00
+mem_lpm_overhead:06
+mem_lpm_mult_timeout:02
+mem_remote_car_hard_soft_switch:00
+
+mem_ui_led_struct_ptr:mem_remote_style_led_type
+mem_ui_led_struct_num:01
+
+mem_remote_style_blink_count:ff
+mem_remote_style_struct_led_gpio:1b
+mem_remote_style_on_time:96 02
+mem_remote_style_off_time:3a 07
+
+mem_remote_car_led_num:01
+mem_remote_car_led_map:
+1b
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ 
+mem_power_param_ptr:mem_remote_car_soft_power
+mem_remote_car_power_off_timeout:0c 0c
+
+mem_keyscan_ptr:mem_remote_car_keyscan
+mem_remote_car_key_num:07
+mem_remote_car_key_conf0:
+#0
+03
+#1
+04
+#2
+05
+#3
+06
+#4
+02
+#5
+07
+#6
+17
+
+
+mem_remote_car_config_soft_switch_enable:00
+mem_remote_car_config_connect_led_gpio:ff
+mem_remote_car_config_soft_switch_gpio:19
+mem_remote_car_config_key_map:00				#00:TEN shape	01:L+R shape
+mem_remote_car_config_layout:00					#00:F_B_MOTOR	02:L_R_MOTOR
+mem_remote_car_config_check_way:00				#00:key  01:rocker
+mem_remote_car_config_timeout_shutdown_enable:00	#00:don't shutdown        	;01:timeout to shutdown
+
+mem_current_vdd_value_default_mid_x:55 4e
+mem_current_vdd_value_default_mid_y:55 4e
+mem_current_vdd_default_range:00 07
+
+mem_adc_config_flag:02
+
+mem_remote_car_24g_motor_packet:       0c        5a 6b 04 00 06 00 0a 00 0a 00 0a 00  
+mem_remote_car_24g_fire_packet:08 5a 6b 06 00 02 00 00 00
+
+mem_remote_car_no_data_timeout:b8 0b
+
+mem_lap:01 02 03 04 05 06
+
+mem_tx_power:01#0dbm
+mem_250k_freq_enable:00
+mem_24g_common_temp:00 00 00 00 00 00 00 00 00 00
+mem_24g_head_ptr:mem_24g_RC_head_ptr
+mem_24g_RC_head_ptr+394:4#offset_24g_pair_txpower
+mem_24g_RC_head_ptr+146:20 15 10 05#offset_24g_paring_addr
+mem_24g_RC_head_ptr+151:00 13 2c 42#offset_24g_ch_map1
+mem_24g_RC_head_ptr+155:06 15 36 48#offset_24g_ch_map2
+mem_24g_RC_head_ptr+159:0f 1a 3a 4c#offset_24g_ch_map3
+mem_24g_RC_head_ptr+163:11 23 31 4d#offset_24g_ch_map4
+mem_24g_RC_head_ptr+195:00#offset_24g_no_ack
+mem_24g_RC_head_ptr+205:01#offset_24g_mode
+mem_24g_RC_head_ptr+135:01#offset_24g_data_type 1ms 2kb
+mem_24g_RC_head_ptr+137:c0 12#offset_24g_rx_window
+mem_24g_RC_head_ptr+204:04#offset_24g_max_retry
+mem_24g_RC_head_ptr+171:19#offset_24g_interval
+mem_24g_RC_head_ptr+172:19#offset_24g_interval_min
+mem_24g_RC_head_ptr+173:1c#offset_24g_interval_max
+mem_24g_RC_head_ptr+150:ff#offset_24g_pairing_sm
+mem_24g_RC_head_ptr+182:00 48 60 00 00 00 00 00#offset_24g_enter_hibernate
+mem_24g_RC_head_ptr+257:10#offset_power_ctrl_txpwr_level0-5dbm
+mem_24g_RC_head_ptr+256:01#offset_power_ctrl_txpwr_level1 0dbm
+mem_24g_RC_head_ptr+255:02#offset_power_ctrl_txpwr_level2 3dbm
+
+
+
+
Index: HS_24G&BLE_Motion/sched/rtrivr_uuid.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/rtrivr_uuid.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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: HS_24G&BLE_Motion/sched/shutter.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/shutter.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/shutter.dat	(working copy)
@@ -0,0 +1,229 @@
+
+
+mem_shutter_bluetooth_type:
+01
+
+
+mem_le_lap:72 31 20 98 07 2a
+mem_le_name_len:
+'Shutter 1021s
+
+mem_lap:21 00 24 00 20 00
+mem_local_name_length:#0b
+#mem_local_name:
+'ZRP Shutter
+
+mem_classic_shutter_random_mac_offset_addr:
+30 00
+
+mem_shutter_config_eeprom_offset_addr:
+00 00
+
+mem_shutter_config_enable:
+00
+
+mem_shutter_config_otp_base_address:
+fb 05
+
+mem_shutter_config_size:20
+
+mem_shutter_config_user_otp_address:
+00 00
+#da 05
+
+mem_key0_press:
+01 00
+mem_key0_release:
+06 00
+
+mem_key1_press:
+01 00
+mem_key1_release:
+06 00
+
+mem_key2_press:
+07 00
+mem_key2_release:
+08 00
+
+mem_ui_button_gpio:ff
+mem_shutter_hard_soft_switch_case:00
+mem_shutter_soft_switch_button_gpio:
+08
+mem_power_param_ptr:
+mem_shutter_soft_switch_power_state
+mem_shutter_soft_switch_power_state:
+00 #mem_shutter_soft_switch_power_state
+14 #mem_shutter_soft_switch_poweron_time
+20 #mem_shutter_soft_switch_poweroff_time
+
+
+mem_lpm_mode:01
+mem_lpm_interval:00 01
+mem_lpm_overhead:08
+mem_lpm_mult:05
+mem_lpm_mult_timeout:02
+
+mem_shutter_config_select_gpio1:09 0a 0b
+
+mem_sniff_param_interval:30 00
+01
+00
+mem_unsniff2sniff_timer:0a
+
+mem_ble_shutter_reconn_blink_on_time:
+96 00
+96 00
+
+mem_ble_shutter_discovery_blink_on_time:
+96 02
+96 02
+
+
+mem_ble_shutter_interval_min_new:
+10 00
+20 00
+02 00
+2c 01
+
+mem_ui_led_struct_num:01
+mem_ui_led_struct_ptr:mem_shutter_led_struct_app_led
+
+mem_shutter_led_struct_app_led:
+00		#type:stop blink
+00		#blink count:no blink
+1b		#led gpio number:GPIO01
+a0 01	#led blink light time
+a0 01	#led blink dark time
+00 00	#call back function when light time
+00 00	#call back function when dark time
+
+#mem_shutter_power_off_led_style
+01		#type:start blink
+07		#blink count:no blink
+1b		#led gpio number:GPIO01
+a0 03	#led blink light time
+a0 03	#led blink dark time
+00 00	#call back function when light time
+00 00	#call back function when dark time
+
+
+mem_ble_shutter_reconn_dav_interval:10 00	#100ms
+mem_ble_shutter_discovery_adv_interval:40 01
+mem_le_adv_interval:40 01 
+mem_ble_shutter_reconn_timeout:50 00		#8s
+
+mem_device_option:09
+mem_le_adv_channel_map:07 
+mem_le_adv_enable:00
+
+mem_classic_shutter_discovery_timeout:
+00 FF	#mem_classic_shutter_discovery_timeout
+00 FF	#mem_classic_shutter_connect_timeout
+00 FF	#mem_ble_shutter_discovery_timeout
+00 FF	#mem_ble_shutter_connect_timeout
+	
+
+
+mem_queue_ptr: mem_queue_each_size
+
+mem_queue_each_size:
+01
+20
+
+
+mem_le_adv_data_len:1f
+mem_le_adv_data:
+02 01 05
+03 02 12 18
+03 19 c1 03
+mem_le_scan_data_len:1f
+mem_le_scan_data:
+0d 09 56 30 2d 53 68 75 74 74 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
+
+
+mem_keyscan_ptr:mem_shutter_keyscan
+mem_shutter_key_num:02
+mem_shutter_key_conf0:
+#0
+18
+#1
+05
+#2
+0d
+
+##############NVRAM CONFIG##############
+
+mem_app_connection_options:17
+
+mem_nv_data_ptr:mem_shutter_nv_data
+mem_nv_data_number:05
+
+mem_class: 4025
+
+mem_sp_iocap_local:03 00 04
+mem_ssp_mode_flag:03
+mem_ssp_enable:01
+mem_ui_profile_supported:01
+
+
+mem_ptt:00
+mem_features:
+ff
+ff
+8f
+f8	#openACL3M fe
+9b	#AFHclose 83
+9d
+59
+83
+
+
+#####################################
+
+
+##########BT shutter ################
+
+
+
+
+
+
+
+
+################classic kb val list#######################
+
+################classic kb val list end#######################
+
+################ble kb val list#######################
+
+
+################ble kb val list end#######################
+
+
+##############BLE ATT LIST####################
+
+mem_ui_le_uuid_table:3a 91 #0x913A BLE_SHUTTER_GATT_LIST
+
+
+##############BLE ATT LIST END####################
+
+
+##############BT SDP LIST####################
+
+mem_eir_enable:01
+
+mem_all_uuid_16bits: 
+06
+03#Type: Complete list of 16-bit UUIDs
+1100  0001 0210 2411 0012 0100
+
+mem_all_uuid_128bits:
+00
+
+mem_ui_uuid_table:b8 92 #0x92B8 CLASSIC_SHUTTER_SDP_LIST
+
+##############BT SDP LIST END####################
+
+
Index: HS_24G&BLE_Motion/sched/sim.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/sim.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/sim.dat	(working copy)
@@ -0,0 +1,16 @@
+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_lap:01 02 03
+mem_lpm_xtalcnt:03 0a 1b af 07
+#mem_lpm_hibernate_switch:08
+mem_fcomp_mul:02
+mem_fcomp_div:24
+
+
+mem_patch00:01
+
+4580:ff
+mem_rf_init_ptr:80 45		
Index: HS_24G&BLE_Motion/sched/spp.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/spp.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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: HS_24G&BLE_Motion/sched/ssp.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/ssp.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/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: HS_24G&BLE_Motion/sched/test.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/test.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/test.dat	(working copy)
@@ -0,0 +1,40 @@
+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
+
+
+
+
Index: HS_24G&BLE_Motion/sched/usb.dat
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/usb.dat	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/sched/usb.dat	(working copy)
@@ -0,0 +1,51 @@
+mem_patch10:20 
+mem_patch11:40
+mem_patch18:10
+mem_patch1f:01
+
+
+#usb initial
+mem_devicedesc+9: 12 24#VID
+mem_devicedesc+11: 12 18#PID
+mem_string0:04 04 03 09 04
+mem_string1:
+'YICHIP
+
+#string length less than 32
+mem_string2:
+'Wireless Mouse
+mem_string3:
+'b120300001
+
+mem_usb_tx_interval:00
+#usb initial end
+
+
+#24g rx init
+mem_tx_power:02
+mem_24g_mode:02#rx
+mem_24g_pair_mode:00
+mem_24g_no_ack:00#no ack
+mem_24g_rx_window:30 75#rx
+mem_24g_hop_interval:2a
+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_paring_addr:20 15 10 05
+mem_24g_rx_addr:36 20 04 07
+#24g rx init end
+
+mem_rf_init_data_new:
+# tx power
+4b ba
+55 d0
+56 e0
+57 88
+58 3c
+59 10
+ff
+mem_rf_init_ptr:mem_rf_init_data_new
+
+
Index: HS_24G&BLE_Motion/util/memalloc.pl
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/util/memalloc.pl	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/util/memalloc.pl	(working copy)
@@ -0,0 +1,74 @@
+#!/usr/bin/perl
+$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;$i < @f;$i++) { $cmalloc[$i] = (); }
+for($i = 0;$i < @f;$i++) { 
+	$_ = $f[$i];
+	$start = 1 if(/^\s*memalloc\s*\(\s*$/);
+	$start = 2 if(/^\s*xmemalloc\s*\(\s*$/);
+	$start = 3 if(/^\s*omemalloc\s*\(\s*$/);
+	$start = 10 + $1 if(/^\s*cmemalloc\s+([0-9])\s*\(\s*$/);
+	if($start) {
+		if(/^\s*([0-9]+)\s+([a-zA-Z0-9_]+)\s*(.*)$/) {
+			if($start == 1) {
+				$str = sprintf "0x%04x %s%s\n", $addr, $2, $3;
+				$addr += $1;
+				$bstr .= $str;
+				$sstr .= $str;
+			} elsif($start == 2) {
+				$str = sprintf "0x%04x %s%s\n", $xaddr, $2, $3;
+				$xaddr += $1;
+				$xstr .= $str;
+			} else {
+				push @ostr, $_;
+			}
+		}
+		if(/^\s*\)\s*$/) {
+			if(@ostr > 0) {
+				if($start == 3) {
+					push @omalloc,[@ostr];
+				} elsif($start > 9) {
+					$j = $start - 10;
+					push @{$cmalloc[$j]},@ostr;
+				} 
+			}
+			$start = 0;
+			@ostr = ();
+		}
+	} else {
+		$sstr .= $_;
+	}
+}
+for($i = 0;$i <= $#cmalloc;$i++) {
+	push @omalloc,$cmalloc[$i];
+#	for($j = 0;$j <= $#{$cmalloc[$i]};$j++) {		print $cmalloc[$i][$j];	}
+}
+
+$xend = $xaddr;
+for($i = 0;$i <= $#omalloc;$i++) {
+	for($j = 0, $oaddr = $xaddr;$j <= $#{$omalloc[$i]};$j++) {
+		if($omalloc[$i][$j] =~ /^\s*([0-9]+)\s+([a-zA-Z0-9_]+)\s*(.*)$/) {
+			$str = sprintf "0x%04x %s%s\n", $oaddr, $2, $3;
+			$oaddr += $1;
+			$xstr .= $str;
+		}
+	}
+}
+$xend = $oaddr if($oaddr > $xend);
+print file $xstr, $sstr;
+print file1 $bstr, $xstr;
+close file;
+close file1;
+printf "\nLast allocated address is %04x\n", $addr;
+printf "\nLast allocated xmem address is %04x\n", $xend;
\ No newline at end of file
Index: HS_24G&BLE_Motion/util/mergepatch.pl
===================================================================
--- /branch/mouse_project/HangShi/HS_24G&BLE_Motion/util/mergepatch.pl	(revision 0)
+++ /branch/mouse_project/HangShi/HS_24G&BLE_Motion/util/mergepatch.pl	(working copy)
@@ -0,0 +1,44 @@
+#!/usr/bin/perl
+$defs = "";
+$fmt = 0;
+
+
+sub parseif {
+	my($fname) = @_;
+	open file, $fname;
+	@f = <file>;
+	close file;
+	open file, ">$fname";
+	@valid = (1);
+	for($i = 0;$i < @f;$i++) { 
+		$_ = $f[$i];
+		$defs .= $1 . " " if(/^define\s+(\w+)\s*/);
+		if(/^ifdef\s+(\w+)\s*/) {
+			push @valid, ($defs =~ /(^|\s)$1(\s|$)/ ? 1 : 0) & $valid[$#valid];
+		} elsif(/^ifndef\s+(\w+)\s*/) {
+			push @valid, ($defs =~ /(^|\s)$1(\s|$)/ ? 0 : 1) & $valid[$#valid];
+		} elsif(/^else/) {
+			printf "%s\nelse without if at line %d\n", $f[$i - 3], $i if($#valid == 0);
+			$valid[$#valid] = (1 - $valid[$#valid]) & $valid[$#valid - 1];
+		} elsif(/^endif/) {
+			printf "%s\nendif without if at line %d\n", $_, $i if($#valid == 0);
+			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;
+}
+
+parseif("output/bt_program23.meta");
+$fmt = 1;
+parseif("output/bt_format.meta");
+
+
